index.module.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. .GoodsAdd {
  2. position: absolute;
  3. width: 100%;
  4. height: 101%;
  5. top: 0;
  6. left: 0;
  7. z-index: 10;
  8. background-color: #faf0e4;
  9. :global {
  10. .formBox {
  11. margin-top: 15px;
  12. background-color: #fff;
  13. border-radius: 10px;
  14. padding: 20px 0 10px;
  15. width: 100%;
  16. height: calc(100% - 50px);
  17. overflow-y: auto;
  18. .formBoxSon {
  19. width: 800px;
  20. .upImgBox {
  21. display: flex;
  22. flex-wrap: wrap;
  23. &>div {
  24. margin: 0 15px 15px 0;
  25. }
  26. .fileBoxRow_r_img {
  27. position: relative;
  28. .clearCover {
  29. right: -10px;
  30. top: -10px;
  31. transform: translate(0, 0);
  32. background-color: rgba(0, 0, 0, .8);
  33. width: 20px;
  34. height: 20px;
  35. border-radius: 50%;
  36. font-size: 16px;
  37. color: #fff;
  38. // left: 50%;
  39. // right: auto;
  40. // top: auto;
  41. // bottom: -26px;
  42. // transform: translate(-50%,0);
  43. // width: 20px;
  44. // height: 20px;
  45. // font-size: 18px;
  46. // color: var(--themeColor);
  47. }
  48. }
  49. }
  50. .fileBoxRow_up {
  51. color: #a6a6a6;
  52. border-radius: 3px;
  53. cursor: pointer;
  54. font-size: 30px;
  55. width: 100px;
  56. height: 100px;
  57. border: 1px dashed #797979;
  58. display: flex;
  59. justify-content: center;
  60. align-items: center;
  61. }
  62. .fileBoxRow_r_img {
  63. width: 100px;
  64. height: 100px;
  65. position: relative;
  66. .clearCover {
  67. cursor: pointer;
  68. z-index: 10;
  69. position: absolute;
  70. width: 50px;
  71. height: 50px;
  72. top: 50%;
  73. transform: translateY(-50%);
  74. right: -50px;
  75. display: flex;
  76. justify-content: center;
  77. align-items: center;
  78. font-size: 24px;
  79. }
  80. }
  81. .fileBoxRow_tit {
  82. width: 133.33px;
  83. text-align: right;
  84. position: relative;
  85. &::before {
  86. content: '*';
  87. position: absolute;
  88. right: 60px;
  89. top: 2px;
  90. color: #ff4d4f;
  91. z-index: 10;
  92. }
  93. }
  94. .formRow {
  95. margin-top: -28px;
  96. display: flex;
  97. }
  98. .formRow2 {
  99. margin-top: 10px;
  100. display: flex;
  101. .fileBoxRow_tit {
  102. &::before {
  103. right: 74px;
  104. }
  105. }
  106. }
  107. .upFileBox {
  108. margin-top: 15px;
  109. padding-left: 133.33px;
  110. .fileBoxRow_r_tit {
  111. padding-left: 0;
  112. }
  113. .fileRowBox {
  114. display: flex;
  115. align-items: center;
  116. margin-top: 8px;
  117. .clearCover {
  118. cursor: pointer;
  119. font-size: 20px;
  120. margin-left: 24px;
  121. }
  122. }
  123. }
  124. .fileBoxRow_r_tit {
  125. padding-left: 133.33px;
  126. margin-top: 8px;
  127. font-size: 14px;
  128. color: rgb(126, 124, 124);
  129. }
  130. }
  131. }
  132. .formBox::-webkit-scrollbar {
  133. /*滚动条整体样式*/
  134. width: 5px;
  135. /*高宽分别对应横竖滚动条的尺寸*/
  136. height: 1px;
  137. }
  138. .formBox::-webkit-scrollbar-thumb {
  139. /*滚动条里面小方块*/
  140. border-radius: 10px;
  141. -webkit-box-shadow: inset 0 0 5px transparent;
  142. background: var(--themeColor);
  143. }
  144. .formBox::-webkit-scrollbar-track {
  145. /*滚动条里面轨道*/
  146. -webkit-box-shadow: inset 0 0 5px transparent;
  147. border-radius: 10px;
  148. background: transparent;
  149. }
  150. }
  151. }