u-upload.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. view.data-v-0d33af60, scroll-view.data-v-0d33af60, swiper-item.data-v-0d33af60 {
  28. display: flex;
  29. flex-direction: column;
  30. flex-shrink: 0;
  31. flex-grow: 0;
  32. flex-basis: auto;
  33. align-items: stretch;
  34. align-content: flex-start;
  35. }
  36. .u-upload.data-v-0d33af60 {
  37. display: flex;
  38. flex-direction: column;
  39. flex: 1;
  40. }
  41. .u-upload__wrap.data-v-0d33af60 {
  42. display: flex;
  43. flex-direction: row;
  44. flex-wrap: wrap;
  45. flex: 1;
  46. }
  47. .u-upload__wrap__preview.data-v-0d33af60 {
  48. border-radius: 2px;
  49. margin: 0 8px 8px 0;
  50. position: relative;
  51. overflow: hidden;
  52. display: flex;
  53. flex-direction: row;
  54. }
  55. .u-upload__wrap__preview__image.data-v-0d33af60 {
  56. width: 80px;
  57. height: 80px;
  58. }
  59. .u-upload__wrap__preview__other.data-v-0d33af60 {
  60. width: 80px;
  61. height: 80px;
  62. background-color: #f2f2f2;
  63. flex: 1;
  64. display: flex;
  65. flex-direction: column;
  66. justify-content: center;
  67. align-items: center;
  68. }
  69. .u-upload__wrap__preview__other__text.data-v-0d33af60 {
  70. font-size: 11px;
  71. color: #909193;
  72. margin-top: 2px;
  73. }
  74. .u-upload__deletable.data-v-0d33af60 {
  75. position: absolute;
  76. top: 0;
  77. right: 0;
  78. background-color: #373737;
  79. height: 14px;
  80. width: 14px;
  81. display: flex;
  82. flex-direction: row;
  83. border-bottom-left-radius: 100px;
  84. align-items: center;
  85. justify-content: center;
  86. z-index: 3;
  87. }
  88. .u-upload__deletable__icon.data-v-0d33af60 {
  89. position: absolute;
  90. -webkit-transform: scale(0.7);
  91. transform: scale(0.7);
  92. top: 0px;
  93. right: 0px;
  94. }
  95. .u-upload__success.data-v-0d33af60 {
  96. position: absolute;
  97. bottom: 0;
  98. right: 0;
  99. display: flex;
  100. flex-direction: row;
  101. border-style: solid;
  102. border-top-color: transparent;
  103. border-left-color: transparent;
  104. border-bottom-color: #5ac725;
  105. border-right-color: #5ac725;
  106. border-width: 9px;
  107. align-items: center;
  108. justify-content: center;
  109. }
  110. .u-upload__success__icon.data-v-0d33af60 {
  111. position: absolute;
  112. -webkit-transform: scale(0.7);
  113. transform: scale(0.7);
  114. bottom: -10px;
  115. right: -10px;
  116. }
  117. .u-upload__status.data-v-0d33af60 {
  118. position: absolute;
  119. top: 0;
  120. bottom: 0;
  121. left: 0;
  122. right: 0;
  123. background-color: rgba(0, 0, 0, 0.5);
  124. display: flex;
  125. flex-direction: column;
  126. align-items: center;
  127. justify-content: center;
  128. }
  129. .u-upload__status__icon.data-v-0d33af60 {
  130. position: relative;
  131. z-index: 1;
  132. }
  133. .u-upload__status__message.data-v-0d33af60 {
  134. font-size: 12px;
  135. color: #FFFFFF;
  136. margin-top: 5px;
  137. }
  138. .u-upload__button.data-v-0d33af60 {
  139. display: flex;
  140. flex-direction: column;
  141. align-items: center;
  142. justify-content: center;
  143. width: 80px;
  144. height: 80px;
  145. background-color: #f4f5f7;
  146. border-radius: 2px;
  147. margin: 0 8px 8px 0;
  148. box-sizing: border-box;
  149. }
  150. .u-upload__button__text.data-v-0d33af60 {
  151. font-size: 11px;
  152. color: #909193;
  153. margin-top: 2px;
  154. }
  155. .u-upload__button--hover.data-v-0d33af60 {
  156. background-color: #e6e7e9;
  157. }
  158. .u-upload__button--disabled.data-v-0d33af60 {
  159. opacity: 0.5;
  160. }