app-uploader.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. @charset "UTF-8";
  2. /***
  3. 全局scss 变量和方法 存放处
  4. */
  5. /* 引入minxin */
  6. /* 颜色变量 */
  7. /*图片地址*/
  8. /* 行为相关颜色 */
  9. /* 文字基本颜色 */
  10. /* 背景颜色 */
  11. /* 边框颜色 */
  12. /* 尺寸变量 */
  13. /* 文字尺寸 */
  14. /* 图片尺寸 */
  15. /* Border Radius */
  16. /* 水平间距 */
  17. /* 垂直间距 */
  18. /* 透明度 */
  19. /* 文章场景相关 */
  20. .uni-system-preview-image.data-v-c775eb56 {
  21. background-color: rgba(0, 0, 0, 0.9);
  22. }
  23. .uni-system-preview-image .uni-preview-image.data-v-c775eb56 {
  24. max-width: 100%;
  25. }
  26. .upload-box.data-v-c775eb56 {
  27. padding: 0 30rpx;
  28. }
  29. .upload-box.data-v-c775eb56:first-child {
  30. padding-left: 0;
  31. }
  32. .upload-box > ._ul.data-v-c775eb56 {
  33. display: inline-block;
  34. display: -webkit-box;
  35. display: -webkit-flex;
  36. display: flex;
  37. -webkit-flex-wrap: wrap;
  38. flex-wrap: wrap;
  39. }
  40. .upload-box > ._ul > ._li.data-v-c775eb56 {
  41. list-style: none;
  42. width: 210rpx;
  43. height: 210rpx;
  44. margin: 0 20rpx 20rpx 0;
  45. position: relative;
  46. background-color: #fff;
  47. }
  48. .upload-box > ._ul > ._li .icondelete.data-v-c775eb56 {
  49. font-size: 25rpx;
  50. z-index: 999;
  51. position: absolute;
  52. right: 0;
  53. bottom: 0;
  54. color: #fff;
  55. padding: 0 2rpx;
  56. background-color: rgba(0, 0, 0, 0.45);
  57. }
  58. .upload-box > ._ul > ._li .main-btn.data-v-c775eb56 {
  59. position: absolute;
  60. top: 0;
  61. left: 0;
  62. z-index: 999;
  63. display: -webkit-box;
  64. display: flex;
  65. display: -webkit-flex;
  66. -webkit-box-align: center;
  67. -webkit-align-items: center;
  68. align-items: center;
  69. -webkit-box-pack: center;
  70. -webkit-justify-content: center;
  71. justify-content: center;
  72. width: 44rpx;
  73. height: 44rpx;
  74. background-color: #ccc;
  75. color: #fff;
  76. }
  77. .upload-box > ._ul > ._li .main-btn.mian.data-v-c775eb56 {
  78. background-color: #3385FF;
  79. color: #fff;
  80. }
  81. .upload-box .list_img > ._img.data-v-c775eb56 {
  82. width: 100%;
  83. height: 100%;
  84. }
  85. .upload-box .uploadImg.data-v-c775eb56 {
  86. border: 1rpx dashed #e5e5e5;
  87. display: -webkit-box;
  88. display: -webkit-flex;
  89. display: flex;
  90. -webkit-box-orient: vertical;
  91. -webkit-box-direction: normal;
  92. -webkit-flex-direction: column;
  93. flex-direction: column;
  94. -webkit-box-align: center;
  95. -webkit-align-items: center;
  96. align-items: center;
  97. -webkit-box-pack: center;
  98. -webkit-justify-content: center;
  99. justify-content: center;
  100. box-sizing: border-box;
  101. }
  102. .upload-box .uploadImg .upload_ipt.data-v-c775eb56 {
  103. position: absolute;
  104. width: 100%;
  105. height: 100%;
  106. /*overflow:hidden;*/
  107. cursor: pointer;
  108. opacity: 0;
  109. }
  110. .upload-box .uploadImg .iconfont.data-v-c775eb56 {
  111. color: #969799;
  112. font-size: 40rpx;
  113. }