countdown.scss 1.21 KB
/* pages/tab/shopMall/pages/discover/components/crowdfunding/components/countdown.wxss */
.flex {
    display: flex;
    align-items: center;
}

.count-down-box {
    width: 235rpx;
    height: 32rpx;
    border: 1rpx solid #FFC7B8;
    border-radius: 3.6rpx;
    margin: 0 auto;
    margin-top: 10rpx;
    box-sizing: border-box;
    width: 0;
    transition: all 1s;
    overflow: hidden;

    .icon {
        margin-right: 10rpx;
        height: 30rpx;
    }

    .type {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: #FFD6C7;
        border: 1rpx solid #FFC7B8;
        border-radius: 3.6rpx 0 0 3.6rpx;
        font-weight: 600;
        font-size: 20rpx;
        color: #FA4632;
    }

    .time {
        margin-left: 4rpx;

        .text {
            min-width: 28rpx;
            height: 32rpx;
            border-radius: 4rpx;
            font-weight: 600;
            font-size: 20rpx;
            color: #EF1C1B;
            transition: all .15s;
            padding: 0 4rpx;
        }
    }

    .unit {
        margin-left: 4rpx;
        font-weight: 400;
        font-size: 20rpx;
        color: #FA4632;
    }
}

.true {
    width: 90%;
}