.discountCodePage {
    width: 100%;

    .discountCodeBox {
        width: 100%;
        height: calc(100% - 44px);
        overflow: auto;
        // background: #fff url('../../assets/discountCode/pageBg.png') top center no-repeat;
        // background-size: 100%;

        .searchRow {
            width: 90%;
            height: 48px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 1) url("../../assets/home/line.png") bottom center no-repeat;
            background-size: 100%;
            align-items: center;

            .bd3 {
                width: 87px;
                height: 16px;

                .outer4 {
                    width: 20px;
                    height: 26px;
                    background: url("../../assets/discountCode/icon.png") top center no-repeat;
                    background-size: 100%;
                }

                .txt2 {
                    width: 65px;
                    height: 14px;
                    overflow-wrap: break-word;
                    color: rgba(64, 77, 116, 1);
                    font-size: 15px;
                    font-family: PingFangSC-Semibold;
                    text-align: left;
                    white-space: nowrap;
                    line-height: 15px;
                    display: block;
                    font-weight: bold;

                    .discountNumber {
                        font-size: 18px;
                        color: red;
                    }
                }
            }

            .main5 {
                width: auto;
                cursor: pointer;

                .label2 {
                    width: 20px;
                    height: 20px;
                    margin-right: 5px;
                }
            }
        }

        .tabButtomBox {
            width: 100%;
            height: 50px;

            .tabBox {
                width: 40%;
                align-items: center;
                justify-content: space-around;

                .active {
                    color: #2c87c8;
                    position: relative;
                    height: 100%;
                    line-height: 50px;

                    &::after {
                        content: '';
                        width: 100%;
                        height: 3px;
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        background-color: #2c87c8;
                    }
                }
            }

            .buttomBox {
                width: 60%;
                justify-content: flex-end;
                align-items: center;

                .buttonItem {
                    cursor: pointer;
                    width: 55px;
                    line-height: 1.6;
                    font-size: 12px;
                    margin-right: 15px;
                    text-align: center;
                    background-color: #EDF0FC;
                    color: #e16959;
                    border: 1px solid #7b91ea;
                    position: relative;
                }
            }
        }

        .intervalRow {
            width: 100%;
            height: 10px;
            background-color: #f5f5f5;
        }

        .listBox {
            .listItem {
                width: 100%;
                background: url("../../assets/home/line.png") bottom center no-repeat;
                background-size: 100%;
                position: relative;
                display: inline-block;

                .itemBox {
                    width: 92%;
                    margin: 20px auto;
                    font-size: 12px;
                    line-height: 1.64;

                    .itemRow {
                        width: 100%;
                    }

                    .itemTitle {
                        color: #8787a6;
                    }

                    .discount {
                        padding-left: 2em;
                    }
                }

                .tipBox {
                    position: absolute;
                    top: 20px;
                    right: 4%;
                    width: 21%;
                    line-height: 2.2;
                    text-align: center;
                    background-color: #2c87c8;
                    color: #fff;

                    &.isUseTip {
                        background-color: #8787a6;
                    }
                }

                .checkedBox {
                    position: absolute;
                    top: 40px;
                    right: 10%;
                }

            }
        }

    }

    .van-button--primary {
        border-color: #2c87c8;
        background-color: #2c87c8;
    }
}

.discountCodePage {
    .van-field__button {
        width: 150px;
    }

    .van-field {
        width: 100%;
        display: flex;
        align-items: center; //上下对齐
        justify-content: space-between;
    }

    .van-radio__icon--checked .van-icon {
        background-color: #2c87c8;
        border-color: #2c87c8;
    }
}

.codeSearch {
    width: 100%;

    .codeSearchPopup {
        width: 90%;
    }

    .content {
        padding-top: 1em;
    }

    .field .van-field__label {
        width: auto;
    }
}