u-upload.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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-49deb6f2 {
  28. display: flex;
  29. flex-direction: row;
  30. flex-wrap: wrap;
  31. align-items: center;
  32. }
  33. .u-list-item.data-v-49deb6f2 {
  34. width: 200rpx;
  35. height: 200rpx;
  36. overflow: hidden;
  37. margin: 10rpx;
  38. background: #f4f5f6;
  39. position: relative;
  40. border-radius: 10rpx;
  41. display: flex;
  42. align-items: center;
  43. justify-content: center;
  44. }
  45. .u-preview-wrap.data-v-49deb6f2 {
  46. border: 1px solid #ebecee;
  47. }
  48. .u-add-wrap.data-v-49deb6f2 {
  49. flex-direction: column;
  50. color: #606266;
  51. font-size: 26rpx;
  52. }
  53. .u-add-tips.data-v-49deb6f2 {
  54. margin-top: 20rpx;
  55. line-height: 40rpx;
  56. }
  57. .u-add-wrap__hover.data-v-49deb6f2 {
  58. background-color: #ebecee;
  59. }
  60. .u-preview-image.data-v-49deb6f2 {
  61. display: block;
  62. width: 100%;
  63. height: 100%;
  64. border-radius: 10rpx;
  65. }
  66. .u-delete-icon.data-v-49deb6f2 {
  67. position: absolute;
  68. top: 10rpx;
  69. right: 10rpx;
  70. z-index: 10;
  71. background-color: #fa3534;
  72. border-radius: 100rpx;
  73. width: 44rpx;
  74. height: 44rpx;
  75. display: flex;
  76. flex-direction: row;
  77. align-items: center;
  78. justify-content: center;
  79. }
  80. .u-icon.data-v-49deb6f2 {
  81. display: flex;
  82. flex-direction: row;
  83. align-items: center;
  84. justify-content: center;
  85. }
  86. .u-progress.data-v-49deb6f2 {
  87. position: absolute;
  88. bottom: 10rpx;
  89. left: 8rpx;
  90. right: 8rpx;
  91. z-index: 9;
  92. width: auto;
  93. }
  94. .u-error-btn.data-v-49deb6f2 {
  95. color: #ffffff;
  96. background-color: #fa3534;
  97. font-size: 20rpx;
  98. padding: 4px 0;
  99. text-align: center;
  100. position: absolute;
  101. bottom: 0;
  102. left: 0;
  103. right: 0;
  104. z-index: 9;
  105. line-height: 1;
  106. }