.Z3upFilesRef { :global { a { color: black; } .Z3Btn { & > span { font-size: 14px; color: #999; } } .Z3files { .ZTbox1ImgRow { display: inline-block; margin: 15px 20px 10px 0; width: 100px; height: 125px; position: relative; position: relative; // 修复图片闪动问题:确保拖拽手柄有固定尺寸 .ZTbox1ImgRowDragHandle { width: 100px; height: 100px; cursor: grab; &:active { cursor: grabbing; } } // 第一张作为封面 .ZTbox1ImgRowCover { font-size: 12px; line-height: 22px; position: absolute; left: 0; top: 0; width: 100%; height: 24px; background-color: rgba(0, 0, 0, 0.8); color: #fff; text-align: center; pointer-events: none; } .ZTbox1ImgRowIcon { width: 100%; background-color: rgba(0, 0, 0, 0.6); color: #fff; display: flex; justify-content: space-around; font-size: 16px; a { color: #fff !important; } } .ZTbox1ImgRowX { cursor: pointer; position: absolute; right: -10px; top: -10px; z-index: 99; background-color: rgba(0, 0, 0, 0.8); width: 20px; height: 20px; border-radius: 50%; font-size: 16px; color: #fff; display: flex; justify-content: center; align-items: center; } } .Z3filesRow { width: 100%; display: flex; align-items: center; padding: 0px 12px; border: 1px solid #d9d9d9; border-radius: 6px; margin: 2px; background: #fff; transition: all 0.3s; &:hover { border-color: #40a9ff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } &.dragging { opacity: 0.5; background: #f0f0f0; } &.dragOverlay { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transform: rotate(5deg); } .dragHandle { cursor: grab; margin-right: 12px; color: #999; padding: 4px; &:active { cursor: grabbing; } &:hover { color: #40a9ff; } } .Z3files1 { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .Z3files2 { display: flex; align-items: center; .anticon { cursor: pointer; color: #666; &:hover { color: #40a9ff; } } } } } .fileTit { margin-top: 5px; color: #666; font-size: 12px; .noUpThumb { display: none; &.noUpThumbAc { display: block; color: #ff4d4f; } } } } }