fileList.acss 2.75 KB
.desc {
    color: rgba(10, 10, 10, 1);
    font-size: 28rpx;
    line-height: 48rpx;
    margin-top: 10rpx;
}

.file-list {
    border: 1rpx solid rgba(10, 10, 10, 0.14);
    border-radius: 16rpx;
    border-radius: 16rpx;
    padding: 24rpx 22rpx 0 22rpx;
    margin-top: 16rpx;
}

.file-list>.file-box {
    position: relative;
    padding-left: 70rpx;
    margin-bottom: 24rpx;
    height: 64rpx;
}

.file-box-close {
    padding-right: 70rpx;
}

.file-box>.file-icon {
    position: absolute;
    width: 50rpx;
    height: 64rpx;
    left: 0rpx;
    top: 0rpx;
    background: url(../../assests/all.png) center /100% 100%;
}

.file-box>.file-title {
    font-size: 28rpx;
    color: rgba(25, 31, 37, 1);
    display: flex;
    line-height: 38rpx;
    max-width: calc(100% - 100rpx);
    overflow: hidden
}

.file-box>.iconfont {
    font-size: 40rpx;
    color: rgba(25, 31, 37, 0.4);
    position: absolute;
    right: 0;
    top: 10rpx;
}

.file-box>.file-title>text:first-child {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.file-box>.file-title>text:last-child {
    white-space: nowrap;
}

.file-box>.file-size {
    color: rgba(25, 31, 37, 0.56);
    font-size: 24rpx;
    line-height: 36rpx;
}

.file-box-mask {
    background: rgba(10, 10, 10, 0.08);
    position: relative;
}

.btns-pop {
    padding: 0;
    display: flex;
    color: white;
    height: 57rpx;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    z-index: 9;
    top: -73rpx;
    left: 50%;
}

.btns-pop>view {
    width: 95rpx;
    line-height: 57rpx;
    text-align: center;
    font-size: 26rpx;
}

.edit {
    border-right: 1rpx solid #fff;
}

.btns-pop .triangle {
    position: absolute;
    bottom: -31rpx;
    width: 0;
    left: 50%;
    margin-left: -16rpx;
    height: 0;
    border-top: 16rpx solid rgba(0, 0, 0, 0.8);
    border-bottom: 16rpx solid rgba(0, 0, 0, 0);
    border-right: 16rpx solid rgba(0, 0, 0, 0);
    border-left: 16rpx solid rgba(0, 0, 0, 0);
}

.pdf {
    background: url(../../assests/pdf.png) center /100% 100% !important;
}

.png, .jpg, .svg, .jpeg, .picture {
    background: url(../../assests/image.png) center /100% 100% !important;
}

.docx, .txt, .doc, .pages, .wps, .file {
    background: url(../../assests/docx.png) center /100% 100% !important;
}

.mov, .mp4 {
    background: url(../../assests/mp4.png) center /100% 100% !important;
}

.pptx, .ppt, .key {
    background: url(../../assests/mp4.png) center /100% 100% !important;
}

.xlsx, .numbers {
    background: url(../../assests/xlsx.png) center /100% 100% !important;
}

.zip, .rar {
    background: url(../../assests/zip.png) center /100% 100% !important;
}

.file-showName {
    position: absolute;
    right: 0px;
    bottom: -8rpx;
    font-size: 24rpx;
}