index.module.scss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. .ZupTypes {
  2. padding-top: 3px;
  3. :global {
  4. .ZTboxTit {
  5. margin-left: 10px;
  6. font-size: 14px;
  7. color: rgb(126, 124, 124);
  8. position: relative;
  9. top: 4px;
  10. }
  11. .ZTbox {
  12. margin-top: 20px;
  13. display: flex;
  14. .ZTbox1 {
  15. position: relative;
  16. top: 3px;
  17. width: 60px;
  18. & > span {
  19. color: #ff4d4f;
  20. }
  21. }
  22. .ZTbox2 {
  23. width: calc(100% - 60px);
  24. margin-left: 5px;
  25. display: flex;
  26. font-size: 16px;
  27. align-items: center;
  28. .ZTbox2Look {
  29. margin-left: 20px;
  30. cursor: pointer;
  31. }
  32. .ZTbox2Down {
  33. margin-left: 15px;
  34. color: black;
  35. }
  36. .ZTbox2X {
  37. cursor: pointer;
  38. margin-left: 15px;
  39. }
  40. }
  41. }
  42. // 图片
  43. .ZTboxImgMain {
  44. margin-top: 20px;
  45. .ZTboxImgBox {
  46. display: flex;
  47. .ZTbox1 {
  48. position: relative;
  49. top: 3px;
  50. width: 60px;
  51. & > span {
  52. color: #ff4d4f;
  53. }
  54. }
  55. .ZTbox1Img {
  56. width: calc(100% - 60px);
  57. display: flex;
  58. flex-wrap: wrap;
  59. .ZTbox1ImgIcon {
  60. margin-right: 20px;
  61. color: #a6a6a6;
  62. border-radius: 3px;
  63. cursor: pointer;
  64. font-size: 30px;
  65. width: 100px;
  66. height: 100px;
  67. border: 1px dashed #797979;
  68. display: flex;
  69. justify-content: center;
  70. align-items: center;
  71. }
  72. .ZTbox1ImgRow {
  73. // content-visibility:auto;
  74. margin-right: 20px;
  75. width: 100px;
  76. height: 125px;
  77. position: relative;
  78. margin-bottom: 20px;
  79. cursor: move;
  80. position: relative;
  81. // 第一张作为封面
  82. .ZTbox1ImgRowCover {
  83. font-size: 12px;
  84. line-height: 22px;
  85. position: absolute;
  86. left: 0;
  87. top: 0;
  88. width: 100%;
  89. height: 24px;
  90. background-color: rgba(0, 0, 0, 0.8);
  91. color: #fff;
  92. text-align: center;
  93. pointer-events: none;
  94. }
  95. // 修改图片名字
  96. .ZTbox1ImgRowName {
  97. font-size: 12px;
  98. line-height: 22px;
  99. position: absolute;
  100. left: 0;
  101. bottom: 25px;
  102. width: 100%;
  103. cursor: pointer;
  104. height: 24px;
  105. padding: 0 3px;
  106. background-color: rgba(0, 0, 0, 0.8);
  107. color: #fff;
  108. text-align: center;
  109. overflow: hidden;
  110. text-overflow: ellipsis;
  111. white-space: nowrap;
  112. &:hover {
  113. color: var(--themeColor);
  114. }
  115. }
  116. .ZTbox1ImgRowIcon {
  117. width: 100%;
  118. background-color: rgba(0, 0, 0, 0.6);
  119. color: #fff;
  120. display: flex;
  121. justify-content: space-around;
  122. font-size: 16px;
  123. a {
  124. color: #fff !important;
  125. }
  126. }
  127. .ZTbox1ImgRowX {
  128. cursor: pointer;
  129. position: absolute;
  130. right: -10px;
  131. top: -10px;
  132. z-index: 99;
  133. background-color: rgba(0, 0, 0, 0.8);
  134. width: 20px;
  135. height: 20px;
  136. border-radius: 50%;
  137. font-size: 16px;
  138. color: #fff;
  139. display: flex;
  140. justify-content: center;
  141. align-items: center;
  142. }
  143. }
  144. }
  145. }
  146. }
  147. .ZcheckTxt {
  148. position: relative;
  149. overflow: hidden;
  150. opacity: 0;
  151. transition: top 0.2s;
  152. color: #ff4d4f;
  153. top: -10px;
  154. margin-bottom: 10px;
  155. }
  156. .ZcheckTxtAc {
  157. top: 2px;
  158. opacity: 1;
  159. }
  160. }
  161. }
  162. // 查看情况
  163. .ZupTypesLook {
  164. :global {
  165. .ZTbox1ImgRowName {
  166. cursor: default !important;
  167. color: #fff !important;
  168. }
  169. .ZTbox1ImgRow {
  170. cursor: default !important;
  171. }
  172. .ZTbox1ImgRowX {
  173. display: none !important;
  174. }
  175. }
  176. }
  177. // 修改图片名字的弹窗
  178. .ZupTypesMo {
  179. :global {
  180. .ant-modal-close {
  181. display: none;
  182. }
  183. .ZupTypesMoBtn {
  184. margin-top: 24px;
  185. text-align: center;
  186. }
  187. }
  188. }