index.scss 3.54 KB
.product-page {
    .product-swiper {
        width: 750px;
        height: 750px;
    }
    
    .swiperNum {
        height: 88px;
        line-height: 88px;
        text-align: right;
        padding-right: 40px;
        font-family: PingFang-SC-Regular;
        font-size: 28px;
        color: #000;
    }

    .swiper-img {
        width: 750px;
        height: 750px;
    }

    .product-ctr {
        width: 670px;
        height: 160px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #000;

        .collect,
        .share {
            width: 50%;
            text-align: center;
            font-family: PingFang-SC-Medium;
            font-size: 20px;
            color: #000;
        }

        .collect-icon {
            width: 48px;
            height: 48px;
        }

        .share-icon {
            width: 48px;
            height: 48px;
        }

        .text {
            display: block;
            margin-top: 16px;
        }
    }

    .product-name {
        width: 600px;
        margin: 0 auto;
        font-family: DINAlternate-Bold;
        font-size: 40px;
        color: #000;
        letter-spacing: 0;
        text-align: center;
        line-height: 56px;
        margin-top: 30px;
    }

    .product-info {
        width: 670px;
        height: 120px;
        margin: 0 auto;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;

        .lable {
            width: 30%;
            text-align: left;
            float: left;
            font-family: PingFang-SC-Regular;
            font-size: 28px;
            color: #999;
        }

        .value {
            width: 70%;
            float: right;
            text-align: right;
            font-family: SFProText-Medium;
            font-size: 28px;
            color: #000;
            text-align: right;
        }
    }

    .product-dec {
        width: 670px;
        height: 100px;
        line-height: 100px;
        text-align: center;
        border: 1px solid #000;
        box-sizing: border-box;
        margin: 60px auto 0;
        font-family: PingFang-SC-Light;
        font-size: 32px;
        color: #000;

        .c:before{
            content: "\00D7";
            display: inline-block;
            margin: 0 8px;
            font-size: 32px;
        }
    }

    .recommend-goods {
        .title {
            width: 100%;
            height: 120px;
            line-height: 120px;
            text-align: center;
            font-family: PingFang-SC-Medium;
            font-size: 40px;
            color: #000;
            text-align: center;
            border-bottom: 1px solid #eee;
            margin-top: 40px;
        }
    }

    .product-buy {
        width: 100%;
        height: 120px;
        border-top: 1px solid #000;
        line-height: 120px;
        display: flex;
        align-items: center;
        position: fixed;
        bottom: 0;
        z-index: 2;

        .sell-btn {
            background: #fff;
            width: 240px;
            font-family: PingFang-SC-Semibold;
            font-size: 28px;
            color: #000;
            text-align: center;
        }

        .buy-btn {
            width: 100%;
            background: #08304B;
            font-family: PingFang-SC-Medium;
            font-size: 28px;
            color: #fff;
            text-align: center;

            .price {
                font-family: DINAlternate-Bold;
                font-size: 32px;
                color: #64AD88;
                text-align: center;
            }
        }
    }
}