index.module.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. display: flex;
  74. align-items: center;
  75. padding: 0px 12px;
  76. border: 1px solid #d9d9d9;
  77. border-radius: 6px;
  78. margin: 2px;
  79. background: #fff;
  80. transition: all 0.3s;
  81. &:hover {
  82. border-color: #40a9ff;
  83. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  84. }
  85. &.dragging {
  86. opacity: 0.5;
  87. background: #f0f0f0;
  88. }
  89. &.dragOverlay {
  90. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  91. transform: rotate(5deg);
  92. }
  93. .dragHandle {
  94. cursor: grab;
  95. margin-right: 12px;
  96. color: #999;
  97. padding: 4px;
  98. &:active {
  99. cursor: grabbing;
  100. }
  101. &:hover {
  102. color: #40a9ff;
  103. }
  104. }
  105. .Z3files1 {
  106. flex: 1;
  107. overflow: hidden;
  108. text-overflow: ellipsis;
  109. white-space: nowrap;
  110. }
  111. .Z3files2 {
  112. display: flex;
  113. align-items: center;
  114. .anticon {
  115. cursor: pointer;
  116. color: #666;
  117. &:hover {
  118. color: #40a9ff;
  119. }
  120. }
  121. }
  122. }
  123. }
  124. .fileTit {
  125. margin-top: 5px;
  126. color: #666;
  127. font-size: 12px;
  128. .noUpThumb {
  129. display: none;
  130. &.noUpThumbAc {
  131. display: block;
  132. color: #ff4d4f;
  133. }
  134. }
  135. }
  136. }
  137. }