.media {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 20rpx;
    padding: 0 30rpx;
    box-sizing: border-box;

    .item {
        position: relative;
        width: 158rpx;
        height: 158rpx;
        margin-right: 18rpx;
        margin-bottom: 18rpx;
        border-radius: 8rpx;
        overflow: hidden;

        image {
            width: 100%;
            height: 100%;
        }

        .delete {
            position: absolute;
            width: 40rpx;
            height: 40rpx;
            right: 0;
            top: 0;
        }

        .shade {
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.2);
            top: 0;
            left: 0;
            color: #ffffff;

        }

    }

    .item:nth-child(4n) {
        margin-right: 0;
    }

    .file {
        display: flex;
        flex-direction: column;
        border: 1px solid #CCCCCC;
        box-sizing: border-box;
        align-items: center;

        .name {
            width: 120rpx;
            font-size: 24rpx;
            font-family: PingFang SC-Regular, PingFang SC;
            color: #333333;
            margin-top: 20rpx;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .image {
            height: 58rpx;
            margin-top: 24rpx;
        }
    }
}