u-upload.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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. .my-fontsize-normal.data-v-0d33af60 {
  15. font-size: 30rpx;
  16. color: #ffffff;
  17. }
  18. .my-fontsize-Large.data-v-0d33af60 {
  19. font-size: 34rpx;
  20. }
  21. .my-fontsize-Small.data-v-0d33af60 {
  22. font-size: 24rpx;
  23. }
  24. .my-fontsize-title.data-v-0d33af60 {
  25. font-size: 36rpx;
  26. }
  27. .my-flex.data-v-0d33af60 {
  28. display: flex;
  29. justify-content: center;
  30. align-items: center;
  31. }
  32. .flex-column.data-v-0d33af60 {
  33. display: flex;
  34. flex-direction: column;
  35. justify-content: space-between;
  36. align-items: flex-start;
  37. }
  38. .flex-column-center.data-v-0d33af60 {
  39. display: flex;
  40. flex-direction: column;
  41. justify-content: center;
  42. align-items: center;
  43. }
  44. .flex-between.data-v-0d33af60 {
  45. display: flex;
  46. justify-content: space-between;
  47. align-items: center;
  48. }
  49. .flex-around.data-v-0d33af60 {
  50. display: flex;
  51. justify-content: space-around;
  52. align-items: center;
  53. }
  54. .flex-start.data-v-0d33af60 {
  55. display: flex;
  56. justify-content: flex-start;
  57. align-items: center;
  58. }
  59. .flex-end.data-v-0d33af60 {
  60. display: flex;
  61. justify-content: flex-end;
  62. align-items: center;
  63. }
  64. .line.data-v-0d33af60 {
  65. position: relative;
  66. }
  67. .line.data-v-0d33af60::before {
  68. content: '';
  69. position: absolute;
  70. top: 50%;
  71. left: 0;
  72. -webkit-transform: translateY(-50%);
  73. transform: translateY(-50%);
  74. width: 6rpx;
  75. height: 30rpx;
  76. border-radius: 2rpx;
  77. background-color: #3F92F9;
  78. }
  79. /* 颜色变量 */
  80. /* 行为相关颜色 */
  81. /* 文字基本颜色 */
  82. /* 背景颜色 */
  83. /* 边框颜色 */
  84. /* 尺寸变量 */
  85. /* 文字尺寸 */
  86. /* 图片尺寸 */
  87. /* Border Radius */
  88. /* 水平间距 */
  89. /* 垂直间距 */
  90. /* 透明度 */
  91. /* 文章场景相关 */
  92. .u-upload.data-v-0d33af60 {
  93. display: flex;
  94. flex-direction: row;
  95. flex-wrap: wrap;
  96. align-items: center;
  97. }
  98. .u-list-item.data-v-0d33af60 {
  99. width: 200rpx;
  100. height: 200rpx;
  101. overflow: hidden;
  102. margin: 10rpx;
  103. background: #f4f5f6;
  104. position: relative;
  105. border-radius: 10rpx;
  106. display: flex;
  107. align-items: center;
  108. justify-content: center;
  109. }
  110. .u-preview-wrap.data-v-0d33af60 {
  111. border: 1px solid #ebecee;
  112. }
  113. .u-add-wrap.data-v-0d33af60 {
  114. flex-direction: column;
  115. color: #606266;
  116. font-size: 26rpx;
  117. }
  118. .u-add-tips.data-v-0d33af60 {
  119. margin-top: 20rpx;
  120. line-height: 40rpx;
  121. }
  122. .u-add-wrap__hover.data-v-0d33af60 {
  123. background-color: #ebecee;
  124. }
  125. .u-preview-image.data-v-0d33af60 {
  126. display: block;
  127. width: 100%;
  128. height: 100%;
  129. border-radius: 10rpx;
  130. }
  131. .u-delete-icon.data-v-0d33af60 {
  132. position: absolute;
  133. top: 10rpx;
  134. right: 10rpx;
  135. z-index: 10;
  136. background-color: #fa3534;
  137. border-radius: 100rpx;
  138. width: 44rpx;
  139. height: 44rpx;
  140. display: flex;
  141. flex-direction: row;
  142. align-items: center;
  143. justify-content: center;
  144. }
  145. .u-icon.data-v-0d33af60 {
  146. display: flex;
  147. flex-direction: row;
  148. align-items: center;
  149. justify-content: center;
  150. }
  151. .u-progress.data-v-0d33af60 {
  152. position: absolute;
  153. bottom: 10rpx;
  154. left: 8rpx;
  155. right: 8rpx;
  156. z-index: 9;
  157. width: auto;
  158. }
  159. .u-error-btn.data-v-0d33af60 {
  160. color: #ffffff;
  161. background-color: #fa3534;
  162. font-size: 20rpx;
  163. padding: 4px 0;
  164. text-align: center;
  165. position: absolute;
  166. bottom: 0;
  167. left: 0;
  168. right: 0;
  169. z-index: 9;
  170. line-height: 1;
  171. }