client.scss 4.91 KB
/* pages/tab/output/components/client/client.wxss */
.client {
    padding-top: 20rpx;
    box-sizing: border-box;
    height: calc(100% - 300rpx);
    color: #323436;
    padding-bottom: env(safe-area-inset-bottom) !important;
    padding-bottom: constant(safe-area-inset-bottom) !important;
}

.client-box {
    height: 100%;

    .input-box {
        width: 686rpx;
        height: 64rpx;
        // background: #ffffff7d;
        // border-radius: 12rpx;
        background: #F8F9FC;
        border: 2rpx solid #EEEEEE;
        border-radius: 32rpx;
        margin: 0rpx auto 24rpx;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        padding: 0rpx 24rpx 0rpx 24rpx;

        input {
            flex: 1;
            height: 64rpx;
            line-height: 64rpx;
            margin-left: 15rpx;
        }
    }

    .store-box {
        height: calc(100% - 100rpx);
        background: #ffffff;
        border-top-left-radius: 32rpx;
        border-top-right-radius: 32rpx;
    }
}

.shadow {
    box-shadow: 0 2rpx 20rpx 0 #b4bacc52;
    // box-shadow: 0 2rpx 20rpx 0 red;
}

.output-box {
    margin: 16rpx 0;
}

.flex {
    display: flex;
}

.flex-between {
    display: flex;
    justify-content: space-between;
}

.profit-box {
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 710rpx;
    height: 96rpx;
    background: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/store-assistant-assemble/output/total_bg.png') no-repeat;
    background-size: 100% 100%;
    line-height: 96rpx;
    margin: 20rpx auto 0;
    padding: 0 32rpx;
    font-weight: 600;
    font-size: 28rpx;
    color: #1B233D;

    .price-txt {
        // font-family: 'test';
        font-size: 40rpx;
        margin-left: 16rpx;
        // font-weight: Bold;
        // font-family: 'number';
        // font-size: 26rpx;
    }
    .unit{
        font-size: 28rpx;
        margin-right: 10rpx;
    }
}

.sort-fix {
    box-sizing: border-box;
    position: sticky;
    top: 0;
    left: 16rpx;
}

.price-txt {
    // font-family: 'test';
    font-weight: Bold;
    // font-weight: 600;
    font-size: 26rpx;
    color: #F35251;
}

.box {
    box-sizing: border-box;
    width: 100%;
    background: #FFFFFF;
    border-radius: 8rpx;
    padding: 28rpx 0 32rpx;
    margin-bottom: 16rpx;

    .head {
        position: relative;
        // height: 40rpx;
        line-height: 40rpx;
        font-size: 28rpx;
        color: #323436;
        padding-right: 20rpx;

        &::before {
            position: absolute;
            left: 0;
            top: 4rpx;
            content: '';
            width: 6rpx;
            height: 32rpx;
            background: #3666FE;
            border-radius: 0 4rpx 4rpx 0;
        }

        .name {
            width: 70%;
            margin-left: 32rpx;
            font-weight: bold;
        }

        .price-txt {
            font-size: 26rpx;
        }
    }

    &-content {
        padding: 22rpx 10rpx 0;
    }

    &-bottom {
        margin-top: 20rpx;
        padding: 0 22rpx;

        .tip-blue {
            width: 56rpx;
            height: 28rpx;
            font-weight: 400;
            font-size: 20rpx;
            color: #3E71FE;
            padding: 4rpx 8rpx;
            text-align: center;
            background: rgba(62, 113, 254, 0.12);
            border-radius: 4rpx;
        }

        .bottom-content {
            width: calc(100% - 56rpx);
            margin-left: 16rpx;

            .tip-row {
                font-size: 20rpx;
                color: #323436;
                line-height: 32rpx;

                .tip-link {
                    color: #3E71FE;
                }

                .time {
                    color: #8A8C90;
                    ;
                }
            }
        }
    }
}

.box.share {
    margin-bottom: 0;
}

.box-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    padding: 12rpx 20rpx;
    background: #FFF9F2;
    border-radius: 0 0 8rpx 8rpx;
    margin-bottom: 16rpx;

    .btn-share {
        width: 112rpx;
        height: 56rpx;
        line-height: 56rpx;
        background: #3666FE;
        border-radius: 28rpx;
        font-size: 24rpx;
        color: #FFFFFF;
        text-align: center;
        margin-left: 20rpx;
    }
}

.end-txt {
    font-size: 24rpx;
    text-align: center;
    color: #CCCED1;
    margin-top: 16rpx;
    padding-bottom: 60rpx;
}


@font-face {
    /*  是你封装的名字 */
    font-family: "test";
    /*  你字体包的位置 */
    /* src: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf'); */
    src: url('Gotham-Black.otf');
    /* https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf */

    /*  format('opentype'); */
}

.test {
    font-family: 'test';
}