index.module.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. .Z3upFilesRef {
  2. :global {
  3. a {
  4. color: black;
  5. }
  6. .Z3Btn {
  7. & > span {
  8. font-size: 14px;
  9. color: #999;
  10. }
  11. }
  12. .Z3files {
  13. .ZTbox1ImgRow {
  14. display: inline-block;
  15. margin: 15px 20px 10px 0;
  16. width: 100px;
  17. height: 125px;
  18. position: relative;
  19. position: relative;
  20. // 修复图片闪动问题:确保拖拽手柄有固定尺寸
  21. .ZTbox1ImgRowDragHandle {
  22. width: 100px;
  23. height: 100px;
  24. cursor: grab;
  25. &:active {
  26. cursor: grabbing;
  27. }
  28. }
  29. // 第一张作为封面
  30. .ZTbox1ImgRowCover {
  31. font-size: 12px;
  32. line-height: 22px;
  33. position: absolute;
  34. left: 0;
  35. top: 0;
  36. width: 100%;
  37. height: 24px;
  38. background-color: rgba(0, 0, 0, 0.8);
  39. color: #fff;
  40. text-align: center;
  41. pointer-events: none;
  42. }
  43. .ZTbox1ImgRowIcon {
  44. width: 100%;
  45. background-color: rgba(0, 0, 0, 0.6);
  46. color: #fff;
  47. display: flex;
  48. justify-content: space-around;
  49. font-size: 16px;
  50. a {
  51. color: #fff !important;
  52. }
  53. }
  54. .ZTbox1ImgRowX {
  55. cursor: pointer;
  56. position: absolute;
  57. right: -10px;
  58. top: -10px;
  59. z-index: 99;
  60. background-color: rgba(0, 0, 0, 0.8);
  61. width: 20px;
  62. height: 20px;
  63. border-radius: 50%;
  64. font-size: 16px;
  65. color: #fff;
  66. display: flex;
  67. justify-content: center;
  68. align-items: center;
  69. }
  70. }
  71. .Z3filesRow {
  72. width: 100%;
  73. max-width: 786px;
  74. display: flex;
  75. align-items: center;
  76. padding: 0px 12px;
  77. border: 1px solid #d9d9d9;
  78. border-radius: 6px;
  79. margin: 2px;
  80. background: #fff;
  81. transition: all 0.3s;
  82. &:hover {
  83. border-color: #40a9ff;
  84. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  85. }
  86. &.dragging {
  87. opacity: 0.5;
  88. background: #f0f0f0;
  89. }
  90. &.dragOverlay {
  91. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  92. transform: rotate(5deg);
  93. }
  94. .dragHandle {
  95. cursor: grab;
  96. margin-right: 12px;
  97. color: #999;
  98. padding: 4px;
  99. &:active {
  100. cursor: grabbing;
  101. }
  102. &:hover {
  103. color: #40a9ff;
  104. }
  105. }
  106. .Z3files1 {
  107. flex: 1;
  108. overflow: hidden;
  109. text-overflow: ellipsis;
  110. white-space: nowrap;
  111. }
  112. .Z3files2 {
  113. display: flex;
  114. align-items: center;
  115. .anticon {
  116. cursor: pointer;
  117. color: #666;
  118. &:hover {
  119. color: #40a9ff;
  120. }
  121. }
  122. }
  123. }
  124. }
  125. .fileTit {
  126. margin-top: 5px;
  127. color: #666;
  128. font-size: 12px;
  129. .noUpThumb {
  130. display: none;
  131. &.noUpThumbAc {
  132. display: block;
  133. color: #ff4d4f;
  134. }
  135. }
  136. }
  137. }
  138. }