/* --------------新模块------------------------ */
     html{
            background: #f5f5f5;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            font-size: 14px;
            color: #333;
            background-color: #fff;
            max-width: 500px;
            margin: auto;
            min-height: 100vh;
        }
        .con{
            padding: 0 15px;
        }

        /* 头部样式 */
        .header {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            background-color: #347FFF;
            border-bottom: 1px solid #eee;
        }
        .header .left{
            display: flex;
            align-items: center;
            background: #f5f5f5;
            border-radius: 100px;
            padding: 0 14px 0 0;
            flex: 0 0 auto;
            margin-right: 16px;
        }

        .header-avatar {
            border-radius: 50%;
            margin-right: 6px;
        }
        .header-avatar img{
            width: 32px;
            height: 32px;
            box-shadow: 0 3px 6px 0 rgba(0,0,0,0.1);
            display: block;
            border-radius: 100px;
            border: 2px solid #fff;
        }

        .header-contact {
            font-size: 10px;
            color: #347FFF;
            line-height: 1.2;
        }

        .header-title {
		    width: 100%;
		    white-space: nowrap;
		    overflow: hidden;
		    text-overflow: ellipsis;
		    font-size: 4.800vw;
		    font-weight: bold;
		    color: #fff;
		    text-align: center; /* 居中文本 */
		}


        /* 导航轮播 */
        .nav-swiper-container .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 5px 0;
            color: #fff;
            overflow: hidden;
        }


        .nav-swiper-container .nav-icon {
            width: 40px;
            height: 40px;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
        }
        .nav-swiper-container .nav-icon img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .nav-swiper-container .nav-text {
            font-size: 12px;
            color: #333;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
        }

        .nav-swiper-container {
            position: relative;
            overflow: hidden;
            background-color: #fff;
            margin-bottom: 10px;
        }

        .nav-swiper-container .nav-page {
            display: flex;
            flex-wrap: wrap;
            padding: 2px 0 12px 0;
            overflow: hidden;
        }

        .nav-swiper-container .nav-item {
            width: 20%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 10px 0;
        }
        .nav-swiper-container .swiper-pagination {
            position: absolute;
            bottom: 4px;
            left: 0;
            width: 100%;
            text-align: center;
        }

        .nav-swiper-container .swiper-pagination-bullet {
            display: inline-block;
            width: 8px;
            height: 8px;
            margin: 0 4px;
            border-radius: 50%;
            background-color: #ccc;
            opacity: 0.8;
        }

        .nav-swiper-container .swiper-pagination-bullet-active {
            background-color: #000;
            opacity: 1;
        }

        /* 限时秒杀区域 */
        .seckill-header {
            display: flex;
            align-items: center;
            padding: 4px 0 12px 0;
            color: #fff;
        }

        .seckill-title {
            font-size: 16px;
            font-weight: bold;
            color: #fff;
            border-right: 1px solid rgba(255, 255, 255, 0.4);
            margin-right: 12px;
            padding-right: 16px;
            margin-left: 4px;
        }

        .seckill-countdown {
            display: flex;
            align-items: center;
        }


        .countdown-hours,
        .countdown-minutes,
        .countdown-seconds {
            background-color: #fff;
            color: #346AFC;
            padding: 2px 4px;
            border-radius: 2px;
            font-size: 12px;
            min-width: 18px;
            text-align: center;
        }

        .countdown-colon {
            margin: 0 2px;
            color: #fff;
        }

        .seckill-more {
            margin-left: auto;
            font-size: 12px;
            color: #fff;
        }

        /* 商品轮播 */
        .product-swiper {

            background-color: #fff;
            border-radius: 4px;
        }
        .product-grid{
            display: flex;
            flex-wrap: wrap;
            margin: 0 -4px;
        }

        .product-grid .product-item {
            padding: 0 4px;
            width: 25%;
            box-sizing: border-box;
        }

        .product-image {
            width: 100%;
            padding-bottom: 100%;
            background-color: #f5f5f5;
            margin-bottom: 8px;
            color: #999;
            position: relative;
        }
        .product-image img{
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
        }

        .product-name {
            font-size: 12px;
            color: #333;
            margin-bottom: 5px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            height: 36px;
            line-height: 18px;
        }

        .product-price {
            display: flex;
            margin-bottom: 5px;
        }

        .product-current-price {
            background-image: linear-gradient(to right,#346AFC,#60C9FF);
            color: #fff;
            font-size: 16px;
            width: 100%;
            text-align: center;
            border-radius: 6px 0 0 6px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .product-current-price small{
            font-size: 10px;
        }
        .product-original-price {
            color: #3A363D;
            font-size: 10px;
            text-decoration: line-through;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #FCEE90;
            flex: 0 0 auto;
            border-radius: 0 100px 100px 0;
            padding: 0 4px;
            height: 18px;
        }
        .product-price.v2{
            padding-left: 0;
            line-height: 1;
            align-items: center;
        }
        .product-price.v2 .product-current-price{
            background: none;
            color: #346AFC;
            width: auto;
            height: auto;
        }
        .product-price.v2 .product-original-price{
            background: none;
            text-align: left;
            height: auto;
            color: #999;
        }
        .product-xm{
            background: #346AFC;
            color: #fff;
            font-size: 8px;
            display: flex;
            align-items: center;
            line-height: 1;
            border-radius: 100px;
            margin-bottom: 4px;
        }
        .product-xm img{
            width: 16px;
            height: 16px;
            flex: 0 0 auto;
        }
        .product-xm span{
            width: 100%;
            text-align: center;
        }

        .product-profit {
            color: #fff;
            background: #346AFC;
            font-size: 7px;
            display: flex;
            border-radius: 100px;
            padding: 1px 1px 1px 6px;
            line-height: 16px;
        }
        .product-profit .text1{
            flex: 0 0 auto;
        }
        .product-profit .text2{
            background: #fff;
            color: #346AFC;
            width: 100%;
            border-radius: 0 100px 100px 0;
            text-align: center;
        }

        .product-buy-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #ff6700;
            color: white;
            padding: 5px 0;
            border-radius: 3px;
            margin-top: 8px;
            font-size: 14px;
        }
        .product-swiper .swiper-slide{
            overflow: hidden;
            padding: 10px 10px 20px 10px;
        }

        .buy-icon {
            margin-left: 3px;
            font-size: 12px;
        }
        .index_card{
            background-image: linear-gradient(to right,#346AFC,#60C9FF);
            padding: 8px;
            border-radius: 8px;
            margin-bottom: 8px;
        }

        .product-swiper .swiper-pagination {
            position: absolute;
            bottom: 2px;
            left: 0;
            width: 100%;
            text-align: center;
        }

        .product-swiper .swiper-pagination-bullet {
            display: inline-block;
            width: 4px;
            height: 4px;
            margin: 0 4px;
            border-radius: 50%;
            background-color: #ccc;
            opacity: 0.8;
        }

        .product-swiper .swiper-pagination-bullet-active {
            background-color: #000;
            opacity: 1;
        }

        @media (max-width: 500px) {
            html{
                background: #f5f5f5;
            }
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }

            body {
                font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
                font-size: 3.733vw;
                color: #333;
                background-color: #${empty titleBar.backgroundColor ? 'ff348e' : titleBar.backgroundColor};
                max-width: 133.333vw;
                margin: auto;
                min-height: 100vh;
            }
            .con{
                padding: 0 4.000vw;
            }

            /* 头部样式 */
            .header {
                display: flex;
                align-items: center;
                padding: 2.667vw 0;
                background-color: #${empty titleBar.backgroundColor ? 'ff348e' : titleBar.backgroundColor};
                border-bottom: 0.267vw solid #eee;
            }
            .header .left{
                display: flex;
                align-items: center;
                background: #f5f5f5;
                border-radius: 26.667vw;
                padding: 0 3.733vw 0 0;
                flex: 0 0 auto;
                margin-right: 0.567vw;
            }

            .header-avatar {
                border-radius: 50%;
                margin-right: 1.600vw;
            }
            .header-avatar img{
                width: 8.533vw;
                height: 8.533vw;
                box-shadow: 0 0.800vw 1.600vw 0 rgba(0,0,0,0.1);
                display: block;
                border-radius: 26.667vw;
                border: 0.533vw solid #fff;
            }

            .header-contact {
                font-size: 2.667vw;
                color: #347FFF;
                line-height: 1.2;
            }

            .header-title {
                width: 100%;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                font-size: 4.800vw;
                font-weight: bold;
                color: #fff;
            }

            /* 导航轮播 */
            .nav-swiper-container .nav-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 1.333vw 0;
                color: #fff;
                overflow: hidden;
            }


            .nav-swiper-container .nav-icon {
                width: 10.667vw;
                height: 10.667vw;
                margin-bottom: 1.333vw;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-size: 3.200vw;
            }
            .nav-swiper-container .nav-icon img{
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .nav-swiper-container .nav-text {
                font-size: 3.200vw;
                color: #333;
                text-align: center;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                width: 100%;
            }

            .nav-swiper-container {
                position: relative;
                overflow: hidden;
                background-color: #fff;
                margin-bottom: 2.667vw;
            }

            .nav-swiper-container .nav-page {
                display: flex;
                flex-wrap: wrap;
                padding: 0.533vw 0 3.200vw 0;
                overflow: hidden;
            }

            .nav-swiper-container .nav-item {
                width: 20%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 2.667vw 0;
            }
            .nav-swiper-container .swiper-pagination {
                position: absolute;
                bottom: 1.067vw;
                left: 0;
                width: 100%;
                text-align: center;
            }

            .nav-swiper-container .swiper-pagination-bullet {
                display: inline-block;
                width: 2.133vw;
                height: 2.133vw;
                margin: 0 1.067vw;
                border-radius: 50%;
                background-color: #ccc;
                opacity: 0.8;
            }

            .nav-swiper-container .swiper-pagination-bullet-active {
                background-color: #000;
                opacity: 1;
            }

            /* 限时秒杀区域 */
            .seckill-header {
                display: flex;
                align-items: center;
                padding: 1.067vw 0 3.200vw 0;
                color: #fff;
            }

            .seckill-title {
                font-size: 4.267vw;
                font-weight: bold;
                color: #fff;
                border-right: 0.267vw solid rgba(255, 255, 255, 0.4);
                margin-right: 3.200vw;
                padding-right: 4.267vw;
                margin-left: 1.067vw;
            }

            .seckill-countdown {
                display: flex;
                align-items: center;
            }


            .countdown-hours,
            .countdown-minutes,
            .countdown-seconds {
                background-color: #fff;
                color: #346AFC;
                padding: 0.533vw 1.067vw;
                border-radius: 0.533vw;
                font-size: 3.200vw;
                min-width: 4.800vw;
                text-align: center;
            }

            .countdown-colon {
                margin: 0 0.533vw;
                color: #fff;
            }

            .seckill-more {
                margin-left: auto;
                font-size: 3.200vw;
                color: #fff;
            }

            /* 商品轮播 */
            .product-swiper {

                background-color: #fff;
                border-radius: 1.067vw;
            }
            .product-grid{
                display: flex;
                flex-wrap: wrap;
                margin: 0 -1.067vw;
            }

            .product-grid .product-item {
                padding: 0 1.067vw;
                width: 25%;
                box-sizing: border-box;
            }

            .product-image {
                width: 100%;
                padding-bottom: 100%;
                background-color: #f5f5f5;
                margin-bottom: 2.133vw;
                color: #999;
                position: relative;
            }
            .product-image img{
                position: absolute;
                width: 100%;
                height: 100%;
                left: 0;
                top: 0;
            }

            .product-name {
                font-size: 3.200vw;
                color: #333;
                margin-bottom: 1.333vw;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                height: 9.600vw;
                line-height: 4.800vw;
            }

            .product-price {
                display: flex;
                margin-bottom: 1.333vw;
            }

            .product-current-price {
                background-image: linear-gradient(to right,#346AFC,#60C9FF);
                color: #fff;
                font-size: 1.967vw;
                width: 100%;
                text-align: center;
                border-radius: 1.600vw 0 0 1.600vw;
                height: 4.800vw;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .product-current-price small{
                font-size: 1.807vw;
            }
            .product-original-price {
                color: #3A363D;
                font-size: 1.907vw;
                text-decoration: line-through;
                line-height: 1;
                display: flex;
                align-items: center;
                justify-content: center;
                background: #FCEE90;
                flex: 0 0 auto;
                border-radius: 0 26.667vw 26.667vw 0;
                padding: 0 1.067vw;
                height: 4.800vw;
            }
            .product-price.v2{
                padding-left: 0;
                line-height: 1;
                align-items: center;
            }
            .product-price.v2 .product-current-price{
                background: none;
                color: #346AFC;
                width: auto;
                height: auto;
            }
            .product-price.v2 .product-original-price{
                background: none;
                text-align: left;
                height: auto;
                color: #999;
            }
            .product-xm{
                background: #346AFC;
                color: #fff;
                font-size: 2.133vw;
                display: flex;
                align-items: center;
                line-height: 1;
                border-radius: 26.667vw;
                margin-bottom: 1.067vw;
            }
            .product-xm img{
                width: 4.267vw;
                height: 4.267vw;
                flex: 0 0 auto;
            }
            .product-xm span{
                width: 100%;
                text-align: center;
            }

            .product-profit {
                color: #fff;
                background: #346AFC;
                font-size: 1.867vw;
                display: flex;
                border-radius: 26.667vw;
                padding: 0.267vw 0.267vw 0.267vw 1.600vw;
                line-height: 4.267vw;
            }
            .product-profit .text1{
                flex: 0 0 auto;
            }
            .product-profit .text2{
                background: #fff;
                color: #346AFC;
                width: 100%;
                border-radius: 0 26.667vw 26.667vw 0;
                text-align: center;
            }

            .product-buy-btn {
                display: flex;
                align-items: center;
                justify-content: center;
                background-color: #ff6700;
                color: white;
                padding: 1.333vw 0;
                border-radius: 0.800vw;
                margin-top: 2.133vw;
                font-size: 3.733vw;
            }
            .product-swiper .swiper-slide{
                overflow: hidden;
                padding: 2.667vw 2.667vw 5.333vw 2.667vw;
            }

            .buy-icon {
                margin-left: 0.800vw;
                font-size: 3.200vw;
            }
            .index_card{
                background-image: linear-gradient(to right,#346AFC,#60C9FF);
                padding: 2.133vw;
                border-radius: 2.133vw;
                margin-bottom: 2.133vw;
            }

            .product-swiper .swiper-pagination {
                position: absolute;
                bottom: 0.533vw;
                left: 0;
                width: 100%;
                text-align: center;
            }

            .product-swiper .swiper-pagination-bullet {
                display: inline-block;
                width: 1.067vw;
                height: 1.067vw;
                margin: 0 1.067vw;
                border-radius: 50%;
                background-color: #ccc;
                opacity: 0.8;
            }

            .product-swiper .swiper-pagination-bullet-active {
                background-color: #000;
                opacity: 1;
            }
        }


