u-upload.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. .u-upload.data-v-0d33af60 {
  28. display: -webkit-box;
  29. display: -webkit-flex;
  30. display: flex;
  31. -webkit-box-orient: horizontal;
  32. -webkit-box-direction: normal;
  33. -webkit-flex-direction: row;
  34. flex-direction: row;
  35. -webkit-flex-wrap: wrap;
  36. flex-wrap: wrap;
  37. -webkit-box-align: center;
  38. -webkit-align-items: center;
  39. align-items: center;
  40. }
  41. .u-list-item.data-v-0d33af60 {
  42. width: 200rpx;
  43. height: 200rpx;
  44. overflow: hidden;
  45. margin: 10rpx;
  46. background: #f4f5f6;
  47. position: relative;
  48. -webkit-border-radius: 10rpx;
  49. border-radius: 10rpx;
  50. display: -webkit-box;
  51. display: -webkit-flex;
  52. display: flex;
  53. -webkit-box-align: center;
  54. -webkit-align-items: center;
  55. align-items: center;
  56. -webkit-box-pack: center;
  57. -webkit-justify-content: center;
  58. justify-content: center;
  59. }
  60. .u-preview-wrap.data-v-0d33af60 {
  61. border: 1px solid #ebecee;
  62. }
  63. .u-add-wrap.data-v-0d33af60 {
  64. -webkit-box-orient: vertical;
  65. -webkit-box-direction: normal;
  66. -webkit-flex-direction: column;
  67. flex-direction: column;
  68. color: #606266;
  69. font-size: 26rpx;
  70. }
  71. .u-add-tips.data-v-0d33af60 {
  72. margin-top: 20rpx;
  73. line-height: 40rpx;
  74. }
  75. .u-add-wrap__hover.data-v-0d33af60 {
  76. background-color: #ebecee;
  77. }
  78. .u-preview-image.data-v-0d33af60 {
  79. display: block;
  80. width: 100%;
  81. height: 100%;
  82. -webkit-border-radius: 10rpx;
  83. border-radius: 10rpx;
  84. }
  85. .u-delete-icon.data-v-0d33af60 {
  86. position: absolute;
  87. top: 10rpx;
  88. right: 10rpx;
  89. z-index: 10;
  90. background-color: #fa3534;
  91. -webkit-border-radius: 100rpx;
  92. border-radius: 100rpx;
  93. width: 44rpx;
  94. height: 44rpx;
  95. display: -webkit-box;
  96. display: -webkit-flex;
  97. display: flex;
  98. -webkit-box-orient: horizontal;
  99. -webkit-box-direction: normal;
  100. -webkit-flex-direction: row;
  101. flex-direction: row;
  102. -webkit-box-align: center;
  103. -webkit-align-items: center;
  104. align-items: center;
  105. -webkit-box-pack: center;
  106. -webkit-justify-content: center;
  107. justify-content: center;
  108. }
  109. .u-icon.data-v-0d33af60 {
  110. display: -webkit-box;
  111. display: -webkit-flex;
  112. display: flex;
  113. -webkit-box-orient: horizontal;
  114. -webkit-box-direction: normal;
  115. -webkit-flex-direction: row;
  116. flex-direction: row;
  117. -webkit-box-align: center;
  118. -webkit-align-items: center;
  119. align-items: center;
  120. -webkit-box-pack: center;
  121. -webkit-justify-content: center;
  122. justify-content: center;
  123. }
  124. .u-progress.data-v-0d33af60 {
  125. position: absolute;
  126. bottom: 10rpx;
  127. left: 8rpx;
  128. right: 8rpx;
  129. z-index: 9;
  130. width: auto;
  131. }
  132. .u-error-btn.data-v-0d33af60 {
  133. color: #ffffff;
  134. background-color: #fa3534;
  135. font-size: 20rpx;
  136. padding: 4px 0;
  137. text-align: center;
  138. position: absolute;
  139. bottom: 0;
  140. left: 0;
  141. right: 0;
  142. z-index: 9;
  143. line-height: 1;
  144. }