u-upload.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. /* 水平间距 */
  2. /* 水平间距 */
  3. .u-empty.data-v-cafe0b2a,
  4. .u-empty__wrap.data-v-cafe0b2a,
  5. .u-tabs.data-v-cafe0b2a,
  6. .u-tabs__wrapper.data-v-cafe0b2a,
  7. .u-tabs__wrapper__scroll-view-wrapper.data-v-cafe0b2a,
  8. .u-tabs__wrapper__scroll-view.data-v-cafe0b2a,
  9. .u-tabs__wrapper__nav.data-v-cafe0b2a,
  10. .u-tabs__wrapper__nav__line.data-v-cafe0b2a {
  11. display: flex;
  12. flex-direction: column;
  13. flex-shrink: 0;
  14. flex-grow: 0;
  15. flex-basis: auto;
  16. align-items: stretch;
  17. align-content: flex-start;
  18. }
  19. .u-upload.data-v-cafe0b2a {
  20. display: flex;
  21. flex-direction: column;
  22. flex: 1;
  23. }
  24. .u-upload__wrap.data-v-cafe0b2a {
  25. display: flex;
  26. flex-direction: row;
  27. flex-wrap: wrap;
  28. flex: 1;
  29. }
  30. .u-upload__wrap__preview.data-v-cafe0b2a {
  31. border-radius: 2px;
  32. margin: 0 8px 8px 0;
  33. position: relative;
  34. overflow: hidden;
  35. display: flex;
  36. flex-direction: row;
  37. }
  38. .u-upload__wrap__preview__image.data-v-cafe0b2a {
  39. width: 80px;
  40. height: 80px;
  41. }
  42. .u-upload__wrap__preview__other.data-v-cafe0b2a {
  43. width: 80px;
  44. height: 80px;
  45. background-color: #f2f2f2;
  46. flex: 1;
  47. display: flex;
  48. flex-direction: column;
  49. justify-content: center;
  50. align-items: center;
  51. }
  52. .u-upload__wrap__preview__other__text.data-v-cafe0b2a {
  53. font-size: 11px;
  54. color: #909193;
  55. margin-top: 2px;
  56. }
  57. .u-upload__deletable.data-v-cafe0b2a {
  58. position: absolute;
  59. top: 0;
  60. right: 0;
  61. background-color: #373737;
  62. height: 14px;
  63. width: 14px;
  64. display: flex;
  65. flex-direction: row;
  66. border-bottom-left-radius: 100px;
  67. align-items: center;
  68. justify-content: center;
  69. z-index: 3;
  70. }
  71. .u-upload__deletable__icon.data-v-cafe0b2a {
  72. position: absolute;
  73. transform: scale(0.7);
  74. top: 0px;
  75. right: 0px;
  76. }
  77. .u-upload__success.data-v-cafe0b2a {
  78. position: absolute;
  79. bottom: 0;
  80. right: 0;
  81. display: flex;
  82. flex-direction: row;
  83. border-style: solid;
  84. border-top-color: transparent;
  85. border-left-color: transparent;
  86. border-bottom-color: #5ac725;
  87. border-right-color: #5ac725;
  88. border-width: 9px;
  89. align-items: center;
  90. justify-content: center;
  91. }
  92. .u-upload__success__icon.data-v-cafe0b2a {
  93. position: absolute;
  94. transform: scale(0.7);
  95. bottom: -10px;
  96. right: -10px;
  97. }
  98. .u-upload__status.data-v-cafe0b2a {
  99. position: absolute;
  100. top: 0;
  101. bottom: 0;
  102. left: 0;
  103. right: 0;
  104. background-color: rgba(0, 0, 0, 0.5);
  105. display: flex;
  106. flex-direction: column;
  107. align-items: center;
  108. justify-content: center;
  109. }
  110. .u-upload__status__icon.data-v-cafe0b2a {
  111. position: relative;
  112. z-index: 1;
  113. }
  114. .u-upload__status__message.data-v-cafe0b2a {
  115. font-size: 12px;
  116. color: #FFFFFF;
  117. margin-top: 5px;
  118. }
  119. .u-upload__button.data-v-cafe0b2a {
  120. display: flex;
  121. flex-direction: column;
  122. align-items: center;
  123. justify-content: center;
  124. width: 80px;
  125. height: 80px;
  126. background-color: #f4f5f7;
  127. border-radius: 2px;
  128. margin: 0 8px 8px 0;
  129. box-sizing: border-box;
  130. }
  131. .u-upload__button__text.data-v-cafe0b2a {
  132. font-size: 11px;
  133. color: #909193;
  134. margin-top: 2px;
  135. }
  136. .u-upload__button--hover.data-v-cafe0b2a {
  137. background-color: #e6e7e9;
  138. }
  139. .u-upload__button--disabled.data-v-cafe0b2a {
  140. opacity: 0.5;
  141. }