myGiftBox.less 6.45 KB
.my_gift_box {
    width: 100%;
    // height: calc(100vh-25px);
    background-color: #fff;
    // padding-top: 25px;
    .gift_top {
        width: 100%;
        height: auto;
        background-color: #fff;
        position: fixed;
        left: 0;
        // top: 0;
        z-index: 100;
    }
    .top_box {
        z-index: 10;
        display: flex;
        justify-content: space-between;
        height: 45px;
        margin: 0 30px;
        // padding-top: 30px;
        img {
            width: 37px;
            height: 37px;
            margin: 4px 0;
        }
        .tabs {
            flex: 1;
            margin: 0 134px 0 200px;
            // tab边框
            .van-hairline--top-bottom::after,
            .van-hairline-unset--top-bottom::after {
                border-width: 0;
            }
            .van-tabs__line {
                width: 26px !important;
                height: 5px;
                background: rgba(208, 2, 27, 1);
                border-radius: 3px;
            }
            .van-tab {
                font-size: 32px;
                font-weight: 400;
                color: rgba(153, 153, 153, 1);
                height: 45px;
                line-height: 32px;
            }
            .van-tab--active {
                color: #d0021b;
            }
        }
        .desc {
            width: 114px;
            height: 45px;
            font-size: 26px;
            font-weight: 400;
            color: rgba(153, 153, 153, 1);
            line-height: 45px;
        }
    }
    .tab_btn_list_box {
        display: flex;
        .tab_btn_list {
            flex: 1;
            height: 50px;
            margin: 30px 30px 10px 30px;
            // tab边框
            .van-hairline--top-bottom::after,
            .van-hairline-unset--top-bottom::after {
                border-width: 0;
            }
            .van-tabs__nav--line {
                padding-bottom: 0;
            }
            .van-tabs {
                width: 100%;
            }
            .van-tab {
                margin-right: 30px;
            }
            .van-tab:first-child {
                padding-left: 0px;
            }
            .van-tabs--line .van-tabs__wrap {
                height: 100%;
            }
            .van-tab span {
                display: block;
                width: auto;
                font-size: 26px;
                color: #999999;
                background-color: #f9f9f9;
                border-radius: 8px;
            }
            .van-tab--active span {
                font-weight: 400;
                color: rgba(208, 2, 27, 1);
            }
            .van-tabs__line {
                display: none;
            }
        }
        .box_width {
            width: 580px;
        }
        .screen_box {
            width: 99px;
            padding-left: 24px;
            height: 50px;
            background: rgba(255, 255, 255, 1);
            box-shadow: -7px 0px 7px -7px rgba(0, 0, 0, 0.15);
            margin: 4vw 0 1.33vw 0;
            display: flex;
            align-items: center;
            img {
                width: 17px;
                height: 37px;
            }
            div {
                height: 37px;
                font-size: 26px;
                font-weight: 400;
                color: rgba(208, 2, 27, 1);
                line-height: 37px;
                margin-right: 10px;
            }
        }
    }
    .item_box {
        // height: 100vh;
        padding-bottom: 40px;
        overflow-y: auto;
        box-sizing: border-box;
        overflow: hidden;
        // padding-top: 120px;
        .giftItem_box:first-child {
            margin-top: 20px;
        }
    }
    .screenPopup {
        .screen_box {
            height: calc(100vh-90px);
            overflow-y: auto;
            .title {
                height: 40px;
                font-size: 28px;
                font-family: PingFang-SC-Regular, PingFang-SC;
                font-weight: 400;
                color: rgba(51, 51, 51, 1);
                line-height: 40px;
                text-align: center;
                padding-bottom: 30px;
                border-bottom: solid 1px #f2f2f2;
                margin: 30px 30px 0 30px;
            }
            .tab_box {
                border-bottom: 10px solid #f9f9f9;
                .title_t {
                    margin: 40px 30px 0 30px;
                    height: 33px;
                    font-size: 24px;
                    font-family: PingFangSC-Semibold, PingFang SC;
                    font-weight: 600;
                    color: rgba(51, 51, 51, 1);
                    line-height: 33px;
                }
                .btn_list {
                    margin: 30px 30px 0 30px;
                    display: flex;
                    // justify-content: space-between;
                    padding-bottom: 30px;
                    .btn {
                        padding: 0 32px;
                        background: rgba(249, 249, 249, 1);
                        border-radius: 10px;
                        font-size: 24px;
                        font-weight: 500;
                        color: rgba(102, 102, 102, 1);
                        margin-right: 18px;
                        height: 58px;
                        line-height: 58px;
                    }
                    .active {
                        background: rgba(253, 241, 242, 1);
                        border-radius: 10px;
                        border: 1px solid rgba(208, 2, 27, 1);
                        color: #d0021b;
                    }
                }
            }
        }
        .bottom_btn {
            display: flex;
            text-align: center;
            line-height: 90px;
            width: 100%;
            position: fixed;
            bottom: 0;
            right: 0;
            .reset {
                width: 224px;
                height: 90px;
                background: rgba(249, 249, 249, 1);
                color: #666666;
            }
            .confirm {
                flex: 1;
                height: 90px;
                background: rgba(208, 2, 27, 1);
                color: rgba(255, 255, 255, 1);
            }
        }
    }
    .tip_text {
        text-align: center;
        margin-top: 20px;
        font-size: 26px;
        color: #999;
    }
    .van-picker__cancel,
    .van-picker__confirm {
        font-size: 30px;
    }
    .van-picker-column {
        font-size: 28px;
    }
    .van-picker__toolbar {
        height: 7.87vw;
        line-height: 7.87vw;
    }
}