|
|
@@ -1,177 +1,180 @@
|
|
|
<template>
|
|
|
<div class="shop-pages">
|
|
|
- <div class="shop-head flex-row-start">
|
|
|
- <div class="head-left">
|
|
|
- <div class="left-carousel" v-if="carousel && carousel.length > 0">
|
|
|
- <div v-for="(item, index) in carousel" :key="index" class="carousel-item" :class="carouselIndex == index ? 'hig' : ''">
|
|
|
- <img :src="item" alt="" @click="onCarousel(1, index)" @mouseenter="onCarousel(1, index)" />
|
|
|
+ <div class="shop-bos">
|
|
|
+ <div class="shop-head flex-row-start">
|
|
|
+ <div class="head-left">
|
|
|
+ <div class="left-carousel" v-if="carousel && carousel.length > 0">
|
|
|
+ <div v-for="(item, index) in carousel" :key="index" class="carousel-item" :class="carouselIndex == index ? 'hig' : ''">
|
|
|
+ <img :src="item" alt="" @click="onCarousel(1, index)" @mouseenter="onCarousel(1, index)" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div v-else class="left-carousel"></div>
|
|
|
+ <div class="left-next flex-row-center" @click="onCarousel(2)">
|
|
|
+ <el-icon color="#6A7282" size="15">
|
|
|
+ <ArrowDown />
|
|
|
+ </el-icon>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-else class="left-carousel"></div>
|
|
|
- <div class="left-next flex-row-center" @click="onCarousel(2)">
|
|
|
- <el-icon color="#6A7282" size="15">
|
|
|
- <ArrowDown />
|
|
|
- </el-icon>
|
|
|
+ <img v-if="carousel && carousel.length > 0" :src="carousel[carouselIndex]" alt="" class="carousel-img" />
|
|
|
+ <div v-else class="carousel-img"></div>
|
|
|
+ </div>
|
|
|
+ <div class="nav-bos flex-row-start">
|
|
|
+ <div @click="onNav(index)" v-for="(item, index) in navList" :key="index" :class="navIndex == index ? 'hig' : ''">{{ item.title }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="pcDetail" v-if="navIndex == 0" v-html="dataInfo.pcDetail"></div>
|
|
|
+ <div class="service" v-if="navIndex == 1">
|
|
|
+ <div class="service1">原厂正品保证承诺:</div>
|
|
|
+ <div>(1)所有商品均为符合国家有关商品质量的技术标准、服务标准、环保标准的原厂正品。</div>
|
|
|
+ <div>(2)所有商品保证是全新的货物,且来源于中华人民共和国或与中华人民共和国有正常贸易往来的国家或地区。</div>
|
|
|
+ <div>(3)所有商品均为自营,不涉及任何第三方店铺,充分保证产品来源,保证质量。</div>
|
|
|
+ <div>(4)所有商品均为原厂正品,如有假货,假一罚十。</div>
|
|
|
+ <div>(5)所有产品均严格按照国家三包标准执行。</div>
|
|
|
+ <div>(6)保证所售商品开具机打发票或电子发票。</div>
|
|
|
+ <div class="service1">厂家服务:</div>
|
|
|
+ <div>
|
|
|
+ 本商品质保周期均为厂商对外公布的质保期或优易365对客户承诺的质保期为准。在此时间范围内可提交维修申请,具体请以厂家服务为准。
|
|
|
+ 如因质量问题或故障,凭厂商维修中心或特约维修点的质量检测证明,享受7日内退货,15日内换货,15日以上在质保期内享受免费保修等三包服务!
|
|
|
+ </div>
|
|
|
+ <div>全国统一售后及服务电话:400-111-0027</div>
|
|
|
+ <div>(注:如优易365在商品介绍中有售后保障的说明,则此商品按照说明执行售后保障服务。)</div>
|
|
|
+ <div class="service1">服务承诺:</div>
|
|
|
+ <div>平台销售并发货的商品,均由平台提供发票和相应的售后服务。请您放心购买!</div>
|
|
|
+ <div>优易365确保客户收到的货物与商城图片、产地、附件说明完全一致。均为原厂正货!并且保证与当时市场上同样主流新品一致。</div>
|
|
|
+ <div class="service1">无忧退货:</div>
|
|
|
+ <div>客户购买商品7日内(含7日,自客户收到商品之日起计算),在保证商品完好的前提下,可无理由退货。(部分商品除外,详情请见各商品细则)</div>
|
|
|
+ <div>• 购买运费如何收取?</div>
|
|
|
+ <div class="service2">
|
|
|
+ 单笔订单金额(不含运费)满88元免邮费;不满88元,每单收取10元运费。(港澳台地区需满500元免邮费;不满500元,每单收取30元运费)
|
|
|
+ </div>
|
|
|
+ <div>• 使用什么快递发货?</div>
|
|
|
+ <div class="service2">默认使用顺丰快递发货(个别商品使用其他快递)</div>
|
|
|
+ <div class="service2">配送范围覆盖全国大部分地区(港澳台地区除外)。</div>
|
|
|
+ <div>• 如何申请退货?</div>
|
|
|
+ <div class="service2">1.自收到商品之日起30日内,顾客可申请无忧退货,退款将原路返还,不同的银行处理时间不同,预计1-5个工作日到账;</div>
|
|
|
+ <div class="service2">2.内裤和食品等特殊商品无质量问题不支持退货;</div>
|
|
|
+ <div>3.退货流程:</div>
|
|
|
+ <div class="service2">确认收货-申请退货-客服审核通过-用户寄回商品-仓库签收验货-退款审核-退款完成;</div>
|
|
|
+ <div>
|
|
|
+ 4.因优品汇产生的退货,如质量问题,退货邮费由优品汇承担,退款完成后会以现金券的形式报销。因客户个人原因产生的退货,购买和寄回运费由客户个人承担。
|
|
|
</div>
|
|
|
</div>
|
|
|
- <img v-if="carousel && carousel.length > 0" :src="carousel[carouselIndex]" alt="" class="carousel-img" />
|
|
|
- <div v-else class="carousel-img"></div>
|
|
|
- <el-affix :offset="0">
|
|
|
- <div class="head-right flex-column-between">
|
|
|
- <div>
|
|
|
- <div class="right-title">{{ dataInfo.itemName || '' }}</div>
|
|
|
- <div class="right-price flex-row-between">
|
|
|
- <div class="flex-row-start">
|
|
|
- <div class="price1">
|
|
|
- <span>¥</span>
|
|
|
- <span style="font-size: 24px">{{ dataInfo.standardPrice || 0 }}</span>
|
|
|
- </div>
|
|
|
- <div class="price2">平台价</div>
|
|
|
- <div class="price3">
|
|
|
- <span>¥</span>
|
|
|
- <span style="font-size: 16px">{{ dataInfo.midRangePrice || 0 }}</span>
|
|
|
- </div>
|
|
|
+ <!-- <img class="shop-img" src="@/assets/images/login-background.jpg" alt="" /> -->
|
|
|
+ <div class="shop-more flex-row-between">
|
|
|
+ <div class="flex-row-start">
|
|
|
+ <div class="more1">更多推荐</div>
|
|
|
+ <div class="more2">甄选大牌,优质好品</div>
|
|
|
+ </div>
|
|
|
+ <!-- <div class="flex-row-start">
|
|
|
+ <div class="more3">查看更多</div>
|
|
|
+ <el-icon color="#364153" size="14">
|
|
|
+ <ArrowRight />
|
|
|
+ </el-icon>
|
|
|
+ </div> -->
|
|
|
+ </div>
|
|
|
+ <div class="data-bos">
|
|
|
+ <div
|
|
|
+ v-for="(item, index) in recommendList"
|
|
|
+ :key="index"
|
|
|
+ class="data-list"
|
|
|
+ @click="onPath('/item?id=' + item.id + '&productNo=' + item.productNo)"
|
|
|
+ >
|
|
|
+ <img class="data-img" :src="item.productImage ? item.productImage.split(',')[0] : ''" alt="" />
|
|
|
+ <div class="data-title">{{ item.itemName || '' }}</div>
|
|
|
+ <div class="money">
|
|
|
+ <span class="money1">¥{{ item.memberPrice || '' }}</span>
|
|
|
+ <span class="money2">¥{{ item.marketPrice || '' }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-affix :offset="0">
|
|
|
+ <div class="head-right flex-column-between">
|
|
|
+ <div>
|
|
|
+ <div class="right-title">{{ dataInfo.itemName || '' }}</div>
|
|
|
+ <div class="right-price flex-row-between">
|
|
|
+ <div class="flex-row-start">
|
|
|
+ <div class="price1">
|
|
|
+ <span>¥</span>
|
|
|
+ <span style="font-size: 24px">{{ dataInfo.standardPrice || 0 }}</span>
|
|
|
</div>
|
|
|
- <div class="right-collect flex-row-start" @click="editCollection">
|
|
|
- <el-icon v-if="collection" :size="16" color="#e7000b"><StarFilled /></el-icon>
|
|
|
- <el-icon v-else class="icon-star" :size="16"><Star /></el-icon>
|
|
|
- <!-- <img src="@/assets/images/dark.svg" alt="" /> -->
|
|
|
- <span>{{ collection ? '已收藏' : '收藏' }}</span>
|
|
|
+ <div class="price2">平台价</div>
|
|
|
+ <div class="price3">
|
|
|
+ <span>¥</span>
|
|
|
+ <span style="font-size: 16px">{{ dataInfo.midRangePrice || 0 }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="address flex-row-start">
|
|
|
- <img class="address-img" src="@/assets/images/item1.png" alt="" />
|
|
|
- <div style="margin-right: 10px">配送至</div>
|
|
|
- <el-cascader v-model="regionCodes" :options="regionData as any" :placeholder="'请选择省/市/区'" style="width: 260px" />
|
|
|
- <!-- <el-icon color="#000000" size="15">
|
|
|
+ <div class="right-collect flex-row-start" @click="editCollection">
|
|
|
+ <el-icon v-if="collection" :size="16" color="#e7000b"><StarFilled /></el-icon>
|
|
|
+ <el-icon v-else class="icon-star" :size="16"><Star /></el-icon>
|
|
|
+ <!-- <img src="@/assets/images/dark.svg" alt="" /> -->
|
|
|
+ <span>{{ collection ? '已收藏' : '收藏' }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="address flex-row-start">
|
|
|
+ <img class="address-img" src="@/assets/images/item1.png" alt="" />
|
|
|
+ <div style="margin-right: 10px">配送至</div>
|
|
|
+ <el-cascader v-model="regionCodes" :options="regionData as any" :placeholder="'请选择省/市/区'" style="width: 260px" />
|
|
|
+ <!-- <el-icon color="#000000" size="15">
|
|
|
<ArrowDown />
|
|
|
</el-icon> -->
|
|
|
- </div>
|
|
|
- <div class="specs-bos">
|
|
|
- <div class="specs-list">
|
|
|
- <div>商品编号</div>
|
|
|
- <div class="specs-item hig">
|
|
|
- {{ dataInfo.productNo }}
|
|
|
- </div>
|
|
|
- <div class="specs-box"></div>
|
|
|
- </div>
|
|
|
- <div class="specs-list">
|
|
|
- <div>规格/型号</div>
|
|
|
- <div class="specs-item hig">
|
|
|
- {{ dataInfo.specificationsCode }}
|
|
|
- </div>
|
|
|
- <div class="specs-box"></div>
|
|
|
- </div>
|
|
|
- <div class="specs-list">
|
|
|
- <div>UPC(69)条码</div>
|
|
|
- <div class="specs-item hig">
|
|
|
- {{ dataInfo.upcBarcode }}
|
|
|
- </div>
|
|
|
- <div class="specs-box"></div>
|
|
|
+ </div>
|
|
|
+ <div class="specs-bos">
|
|
|
+ <div class="specs-list">
|
|
|
+ <div>商品编号</div>
|
|
|
+ <div class="specs-item hig">
|
|
|
+ {{ dataInfo.productNo }}
|
|
|
</div>
|
|
|
- <div class="specs-list">
|
|
|
- <div>定制</div>
|
|
|
- <div class="specs-item hig">
|
|
|
- {{ dataInfo.isCustomize == 1 ? '可定制' : '不可定制' }}
|
|
|
- </div>
|
|
|
- <div class="specs-box"></div>
|
|
|
+ <div class="specs-box"></div>
|
|
|
+ </div>
|
|
|
+ <div class="specs-list">
|
|
|
+ <div>规格/型号</div>
|
|
|
+ <div class="specs-item hig">
|
|
|
+ {{ dataInfo.specificationsCode }}
|
|
|
</div>
|
|
|
- <div class="specs-list">
|
|
|
- <div>供货时间</div>
|
|
|
- <div class="specs-item hig">
|
|
|
- {{ dataInfo.deliveryTime || '' }}
|
|
|
- </div>
|
|
|
- <div class="specs-box"></div>
|
|
|
+ <div class="specs-box"></div>
|
|
|
+ </div>
|
|
|
+ <div class="specs-list">
|
|
|
+ <div>UPC(69)条码</div>
|
|
|
+ <div class="specs-item hig">
|
|
|
+ {{ dataInfo.upcBarcode }}
|
|
|
</div>
|
|
|
- <div class="specs-list">
|
|
|
- <div>商品库存</div>
|
|
|
- <div class="specs-item hig">{{ dataInfo.allStock || 0 }} {{ dataInfo.unitName }}</div>
|
|
|
- <div class="specs-box"></div>
|
|
|
+ <div class="specs-box"></div>
|
|
|
+ </div>
|
|
|
+ <div class="specs-list">
|
|
|
+ <div>定制</div>
|
|
|
+ <div class="specs-item hig">
|
|
|
+ {{ dataInfo.isCustomize == 1 ? '可定制' : '不可定制' }}
|
|
|
</div>
|
|
|
+ <div class="specs-box"></div>
|
|
|
</div>
|
|
|
- <div class="number-bos">
|
|
|
- <div>数量</div>
|
|
|
- <div class="flex-row-start number-box">
|
|
|
- <el-input-number v-model="num" :min="dataInfo.minOrderQuantity" :max="dataInfo.allStock" />
|
|
|
- <div style="margin-left: 10px">提示:本产品起订为:{{ dataInfo.minOrderQuantity }}{{ dataInfo.unitName }}</div>
|
|
|
+ <div class="specs-list">
|
|
|
+ <div>供货时间</div>
|
|
|
+ <div class="specs-item hig">
|
|
|
+ {{ dataInfo.deliveryTime || '' }}
|
|
|
</div>
|
|
|
+ <div class="specs-box"></div>
|
|
|
+ </div>
|
|
|
+ <div class="specs-list">
|
|
|
+ <div>商品库存</div>
|
|
|
+ <div class="specs-item hig">{{ dataInfo.allStock || 0 }} {{ dataInfo.unitName }}</div>
|
|
|
+ <div class="specs-box"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="bnt-bos flex-row-start">
|
|
|
- <el-button :disabled="dataInfo.allStock > 0 ? false : true" class="btn" type="primary" @click="onCart">加入购物车</el-button>
|
|
|
- <span v-if="dataInfo.allStock <= 0" class="btn-text">(库存不足)</span>
|
|
|
+ <div class="number-bos">
|
|
|
+ <div>数量</div>
|
|
|
+ <div class="flex-row-start number-box">
|
|
|
+ <el-input-number v-model="num" :min="dataInfo.minOrderQuantity" :max="dataInfo.allStock" />
|
|
|
+ <div style="margin-left: 10px">提示:本产品起订为:{{ dataInfo.minOrderQuantity }}{{ dataInfo.unitName }}</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </el-affix>
|
|
|
- </div>
|
|
|
- <div class="nav-bos flex-row-start">
|
|
|
- <div @click="onNav(index)" v-for="(item, index) in navList" :key="index" :class="navIndex == index ? 'hig' : ''">{{ item.title }}</div>
|
|
|
- </div>
|
|
|
- <div class="pcDetail" v-if="navIndex == 0" v-html="dataInfo.pcDetail"></div>
|
|
|
- <div class="service" v-if="navIndex == 1">
|
|
|
- <div class="service1">原厂正品保证承诺:</div>
|
|
|
- <div>(1)所有商品均为符合国家有关商品质量的技术标准、服务标准、环保标准的原厂正品。</div>
|
|
|
- <div>(2)所有商品保证是全新的货物,且来源于中华人民共和国或与中华人民共和国有正常贸易往来的国家或地区。</div>
|
|
|
- <div>(3)所有商品均为自营,不涉及任何第三方店铺,充分保证产品来源,保证质量。</div>
|
|
|
- <div>(4)所有商品均为原厂正品,如有假货,假一罚十。</div>
|
|
|
- <div>(5)所有产品均严格按照国家三包标准执行。</div>
|
|
|
- <div>(6)保证所售商品开具机打发票或电子发票。</div>
|
|
|
- <div class="service1">厂家服务:</div>
|
|
|
- <div>
|
|
|
- 本商品质保周期均为厂商对外公布的质保期或优易365对客户承诺的质保期为准。在此时间范围内可提交维修申请,具体请以厂家服务为准。
|
|
|
- 如因质量问题或故障,凭厂商维修中心或特约维修点的质量检测证明,享受7日内退货,15日内换货,15日以上在质保期内享受免费保修等三包服务!
|
|
|
- </div>
|
|
|
- <div>全国统一售后及服务电话:400-111-0027</div>
|
|
|
- <div>(注:如优易365在商品介绍中有售后保障的说明,则此商品按照说明执行售后保障服务。)</div>
|
|
|
- <div class="service1">服务承诺:</div>
|
|
|
- <div>平台销售并发货的商品,均由平台提供发票和相应的售后服务。请您放心购买!</div>
|
|
|
- <div>优易365确保客户收到的货物与商城图片、产地、附件说明完全一致。均为原厂正货!并且保证与当时市场上同样主流新品一致。</div>
|
|
|
- <div class="service1">无忧退货:</div>
|
|
|
- <div>客户购买商品7日内(含7日,自客户收到商品之日起计算),在保证商品完好的前提下,可无理由退货。(部分商品除外,详情请见各商品细则)</div>
|
|
|
- <div>• 购买运费如何收取?</div>
|
|
|
- <div class="service2">
|
|
|
- 单笔订单金额(不含运费)满88元免邮费;不满88元,每单收取10元运费。(港澳台地区需满500元免邮费;不满500元,每单收取30元运费)
|
|
|
- </div>
|
|
|
- <div>• 使用什么快递发货?</div>
|
|
|
- <div class="service2">默认使用顺丰快递发货(个别商品使用其他快递)</div>
|
|
|
- <div class="service2">配送范围覆盖全国大部分地区(港澳台地区除外)。</div>
|
|
|
- <div>• 如何申请退货?</div>
|
|
|
- <div class="service2">1.自收到商品之日起30日内,顾客可申请无忧退货,退款将原路返还,不同的银行处理时间不同,预计1-5个工作日到账;</div>
|
|
|
- <div class="service2">2.内裤和食品等特殊商品无质量问题不支持退货;</div>
|
|
|
- <div>3.退货流程:</div>
|
|
|
- <div class="service2">确认收货-申请退货-客服审核通过-用户寄回商品-仓库签收验货-退款审核-退款完成;</div>
|
|
|
- <div>
|
|
|
- 4.因优品汇产生的退货,如质量问题,退货邮费由优品汇承担,退款完成后会以现金券的形式报销。因客户个人原因产生的退货,购买和寄回运费由客户个人承担。
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <!-- <img class="shop-img" src="@/assets/images/login-background.jpg" alt="" /> -->
|
|
|
- <div class="shop-more flex-row-between">
|
|
|
- <div class="flex-row-start">
|
|
|
- <div class="more1">更多推荐</div>
|
|
|
- <div class="more2">甄选大牌,优质好品</div>
|
|
|
- </div>
|
|
|
- <!-- <div class="flex-row-start">
|
|
|
- <div class="more3">查看更多</div>
|
|
|
- <el-icon color="#364153" size="14">
|
|
|
- <ArrowRight />
|
|
|
- </el-icon>
|
|
|
- </div> -->
|
|
|
- </div>
|
|
|
- <div class="data-bos">
|
|
|
- <div
|
|
|
- v-for="(item, index) in recommendList"
|
|
|
- :key="index"
|
|
|
- class="data-list"
|
|
|
- @click="onPath('/item?id=' + item.id + '&productNo=' + item.productNo)"
|
|
|
- >
|
|
|
- <img class="data-img" :src="item.productImage ? item.productImage.split(',')[0] : ''" alt="" />
|
|
|
- <div class="data-title">{{ item.itemName || '' }}</div>
|
|
|
- <div class="money">
|
|
|
- <span class="money1">¥{{ item.memberPrice || '' }}</span>
|
|
|
- <span class="money2">¥{{ item.marketPrice || '' }}</span>
|
|
|
+ <div class="bnt-bos flex-row-start">
|
|
|
+ <el-button :disabled="dataInfo.allStock > 0 ? false : true" class="btn" type="primary" @click="onCart">加入购物车</el-button>
|
|
|
+ <span v-if="dataInfo.allStock <= 0" class="btn-text">(库存不足)</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </el-affix>
|
|
|
+
|
|
|
<!-- 取消收藏 -->
|
|
|
<el-dialog
|
|
|
v-model="dialogVisible"
|
|
|
@@ -202,6 +205,7 @@
|
|
|
import { getToken } from '@/utils/auth';
|
|
|
import { regionData } from 'element-china-area-data';
|
|
|
import { onPath } from '@/utils/siteConfig';
|
|
|
+import figure from '@/assets/images/figure.png';
|
|
|
import {
|
|
|
getProductDetail,
|
|
|
addProductShoppingCart,
|
|
|
@@ -218,7 +222,7 @@ import { getRecommendedCategoryProductList } from '@/api/home/index-mro';
|
|
|
const route = useRoute();
|
|
|
const id = ref<any>(null);
|
|
|
const dataInfo = ref<any>({});
|
|
|
-const carousel = ref<any>([]);
|
|
|
+const carousel = ref<any>([figure]);
|
|
|
const regionCodes = ref<any>([]);
|
|
|
const radio = ref<any>(null);
|
|
|
const favorites = ref<any>([]);
|
|
|
@@ -268,15 +272,15 @@ const getInfoId = () => {
|
|
|
//商品详情-productNo
|
|
|
const getInfoProductNo = () => {
|
|
|
getProductDetailByNo(productNo.value).then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
+ if (res.code == 200 && res.data) {
|
|
|
getInfo(res);
|
|
|
}
|
|
|
});
|
|
|
};
|
|
|
|
|
|
const getInfo = (res: any) => {
|
|
|
- carousel.value = [];
|
|
|
- if (res.data.imageUrl) {
|
|
|
+ carousel.value = [figure];
|
|
|
+ if (res.data && res.data.imageUrl) {
|
|
|
carousel.value = res.data.imageUrl.split(',');
|
|
|
if (carousel.value.length > 5) {
|
|
|
carousel.value = carousel.value.slice(0, 5);
|
|
|
@@ -367,331 +371,331 @@ getRecommendedCategoryProductList({}).then((res) => {
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
.shop-pages {
|
|
|
+ display: flex;
|
|
|
+ gap: 0 15px;
|
|
|
width: 1200px;
|
|
|
margin: 0 auto;
|
|
|
+ .shop-bos {
|
|
|
+ flex: 1;
|
|
|
+ width: 0;
|
|
|
|
|
|
- .shop-head {
|
|
|
- width: 1200px;
|
|
|
+ .shop-head {
|
|
|
+ .head-left {
|
|
|
+ width: 106px;
|
|
|
|
|
|
- .head-left {
|
|
|
- width: 106px;
|
|
|
+ .left-carousel {
|
|
|
+ height: 540px;
|
|
|
+ overflow-y: auto;
|
|
|
|
|
|
- .left-carousel {
|
|
|
- height: 540px;
|
|
|
- overflow-y: auto;
|
|
|
+ .carousel-item {
|
|
|
+ width: 100px;
|
|
|
+ height: 100px;
|
|
|
+ border-radius: 6px;
|
|
|
+ overflow: hidden;
|
|
|
+ margin-top: 10px;
|
|
|
+ cursor: pointer;
|
|
|
+
|
|
|
+ &:nth-of-type(1) {
|
|
|
+ margin-top: 0px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.hig {
|
|
|
+ border: 1.5px solid #e7000b;
|
|
|
+ }
|
|
|
+
|
|
|
+ img {
|
|
|
+ width: 100px;
|
|
|
+ height: 100px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- .carousel-item {
|
|
|
+ .left-next {
|
|
|
width: 100px;
|
|
|
- height: 100px;
|
|
|
- border-radius: 6px;
|
|
|
- overflow: hidden;
|
|
|
+ height: 36px;
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 6px 6px 6px 6px;
|
|
|
margin-top: 10px;
|
|
|
cursor: pointer;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .carousel-img {
|
|
|
+ flex: 1;
|
|
|
+ width: 0;
|
|
|
+ height: 586px;
|
|
|
+ border-radius: 10px;
|
|
|
+ margin-left: 4px;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- &:nth-of-type(1) {
|
|
|
- margin-top: 0px;
|
|
|
- }
|
|
|
+ .nav-bos {
|
|
|
+ width: 100%;
|
|
|
+ height: 48px;
|
|
|
+ background: #f9fafb;
|
|
|
+ border: 1px solid #e5e7eb;
|
|
|
+ margin-top: 20px;
|
|
|
+ gap: 0 32px;
|
|
|
+ padding-left: 32px;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #364153;
|
|
|
|
|
|
- &.hig {
|
|
|
- border: 1.5px solid #e7000b;
|
|
|
- }
|
|
|
+ div {
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
|
|
|
- img {
|
|
|
- width: 100px;
|
|
|
- height: 100px;
|
|
|
- }
|
|
|
- }
|
|
|
+ .hig {
|
|
|
+ color: #101828;
|
|
|
+ font-weight: 600;
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .left-next {
|
|
|
- width: 100px;
|
|
|
- height: 36px;
|
|
|
- background: #ffffff;
|
|
|
- border-radius: 6px 6px 6px 6px;
|
|
|
- margin-top: 10px;
|
|
|
- cursor: pointer;
|
|
|
+ .pcDetail {
|
|
|
+ width: 100%;
|
|
|
+ margin-top: 20px;
|
|
|
+ :deep(img) {
|
|
|
+ width: 100% !important;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .carousel-img {
|
|
|
- width: 586px;
|
|
|
- height: 586px;
|
|
|
+ .service {
|
|
|
+ width: 100%;
|
|
|
+ margin-top: 20px;
|
|
|
+ background: #ffffff;
|
|
|
+ padding: 20px;
|
|
|
border-radius: 10px;
|
|
|
- margin-left: 4px;
|
|
|
- margin-right: 10px;
|
|
|
+ div {
|
|
|
+ margin-bottom: 20px;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+ .service1 {
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ .service2 {
|
|
|
+ color: #999999;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .shop-img {
|
|
|
+ width: 100%;
|
|
|
+ height: 752px;
|
|
|
+ margin-top: 20px;
|
|
|
}
|
|
|
|
|
|
- .head-right {
|
|
|
- width: 494px;
|
|
|
- height: 586px;
|
|
|
- background: #ffffff;
|
|
|
- border-radius: 10px 10px 10px 10px;
|
|
|
- padding: 20px 20px 30px 20px;
|
|
|
+ .shop-more {
|
|
|
+ width: 100%;
|
|
|
+ margin-top: 34px;
|
|
|
|
|
|
- .right-title {
|
|
|
- min-height: 56px;
|
|
|
+ .more1 {
|
|
|
font-weight: 600;
|
|
|
font-size: 20px;
|
|
|
color: #101828;
|
|
|
}
|
|
|
|
|
|
- .right-num {
|
|
|
+ .more2 {
|
|
|
font-size: 14px;
|
|
|
- color: #6a7282;
|
|
|
+ color: #364153;
|
|
|
+ margin-left: 10px;
|
|
|
}
|
|
|
|
|
|
- .right-price {
|
|
|
- margin-top: 10px;
|
|
|
+ .more3 {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #364153;
|
|
|
+ margin-right: 6px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //数据
|
|
|
+ .data-bos {
|
|
|
+ display: flex;
|
|
|
+ gap: 20px;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ margin-bottom: 40px;
|
|
|
+ margin-top: 24px;
|
|
|
+
|
|
|
+ .data-list {
|
|
|
+ width: 224px;
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 10px;
|
|
|
+ padding: 20px 20px 22px 20px;
|
|
|
+ cursor: pointer;
|
|
|
|
|
|
- .price1 {
|
|
|
- font-size: 12px;
|
|
|
- color: #e7000b;
|
|
|
+ .data-img {
|
|
|
+ width: 184px;
|
|
|
+ height: 184px;
|
|
|
+ border-radius: 10px;
|
|
|
}
|
|
|
|
|
|
- .price2 {
|
|
|
- width: 52px;
|
|
|
- height: 21px;
|
|
|
- background: #e7000b;
|
|
|
- border-radius: 2px;
|
|
|
- font-size: 12px;
|
|
|
- color: #ffffff;
|
|
|
- line-height: 21px;
|
|
|
- text-align: center;
|
|
|
- margin: 0 16px 0 8px;
|
|
|
+ .data-title {
|
|
|
+ margin-top: 4px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #101828;
|
|
|
+ height: 40px;
|
|
|
}
|
|
|
|
|
|
- .price3 {
|
|
|
- font-size: 12px;
|
|
|
- color: #6a7282;
|
|
|
- text-decoration: line-through;
|
|
|
- }
|
|
|
+ .money {
|
|
|
+ margin-top: 4px;
|
|
|
|
|
|
- .right-collect {
|
|
|
- font-size: 14px;
|
|
|
- color: #6a7282;
|
|
|
- cursor: pointer;
|
|
|
- .icon-star {
|
|
|
- margin-right: 4px;
|
|
|
+ .money1 {
|
|
|
+ font-size: 16px;
|
|
|
+ color: #e7000b;
|
|
|
}
|
|
|
|
|
|
- img {
|
|
|
- width: 12px;
|
|
|
- height: 12px;
|
|
|
- margin-right: 6px;
|
|
|
+ .money2 {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #99a1af;
|
|
|
+ text-decoration: line-through;
|
|
|
+ padding-left: 6px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .data-cat {
|
|
|
+ width: 86px;
|
|
|
+ height: 26px;
|
|
|
+ background: #e7000b;
|
|
|
+ border-radius: 2px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 26px;
|
|
|
+ text-align: center;
|
|
|
+ margin-top: 16px;
|
|
|
+ }
|
|
|
}
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .head-right {
|
|
|
+ width: 450px;
|
|
|
+ height: 586px;
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 10px 10px 10px 10px;
|
|
|
+ padding: 20px 20px 30px 20px;
|
|
|
|
|
|
- .address {
|
|
|
- height: 44px;
|
|
|
- width: 100%;
|
|
|
- border-top: 1px solid #e5e7eb;
|
|
|
- border-bottom: 1px solid #e5e7eb;
|
|
|
- margin-top: 20px;
|
|
|
- font-size: 14px;
|
|
|
- color: #000000;
|
|
|
+ .right-title {
|
|
|
+ min-height: 56px;
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #101828;
|
|
|
+ }
|
|
|
|
|
|
- .address-img {
|
|
|
- width: 16px;
|
|
|
- height: 16px;
|
|
|
- margin-right: 10px;
|
|
|
- margin-top: 2px;
|
|
|
- }
|
|
|
+ .right-num {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #6a7282;
|
|
|
+ }
|
|
|
|
|
|
- .address-text {
|
|
|
- margin-left: 10px;
|
|
|
- width: 138px;
|
|
|
- }
|
|
|
- }
|
|
|
+ .right-price {
|
|
|
+ margin-top: 10px;
|
|
|
|
|
|
- .specs-bos {
|
|
|
- .specs-list {
|
|
|
- margin-top: 15px;
|
|
|
- font-size: 14px;
|
|
|
- color: #364153;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- .specs-item {
|
|
|
- color: #6a7282;
|
|
|
- margin-left: 10px;
|
|
|
- }
|
|
|
- }
|
|
|
+ .price1 {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #e7000b;
|
|
|
}
|
|
|
|
|
|
- .number-bos {
|
|
|
- margin-top: 20px;
|
|
|
- font-size: 14px;
|
|
|
- color: #364153;
|
|
|
+ .price2 {
|
|
|
+ width: 52px;
|
|
|
+ height: 21px;
|
|
|
+ background: #e7000b;
|
|
|
+ border-radius: 2px;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 21px;
|
|
|
+ text-align: center;
|
|
|
+ margin: 0 16px 0 8px;
|
|
|
+ }
|
|
|
|
|
|
- .number-box {
|
|
|
- font-size: 14px;
|
|
|
- color: #6a7282;
|
|
|
- margin-top: 8px;
|
|
|
- }
|
|
|
+ .price3 {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #6a7282;
|
|
|
+ text-decoration: line-through;
|
|
|
}
|
|
|
|
|
|
- .bnt-bos {
|
|
|
- width: 100%;
|
|
|
- height: 44px;
|
|
|
- overflow: hidden;
|
|
|
- .btn-text {
|
|
|
- font-size: 12px;
|
|
|
- color: #666666;
|
|
|
- margin-left: 10px;
|
|
|
+ .right-collect {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #6a7282;
|
|
|
+ cursor: pointer;
|
|
|
+ .icon-star {
|
|
|
+ margin-right: 4px;
|
|
|
}
|
|
|
|
|
|
- .btn {
|
|
|
- flex: 1;
|
|
|
- height: 44px;
|
|
|
- line-height: 44px;
|
|
|
- max-width: 428px;
|
|
|
-
|
|
|
- &:nth-of-type(1) {
|
|
|
- // background: #fcecf1;
|
|
|
- // color: #e7000b;
|
|
|
- }
|
|
|
-
|
|
|
- &:nth-of-type(2) {
|
|
|
- background: #e7000b;
|
|
|
- color: #ffffff;
|
|
|
- }
|
|
|
+ img {
|
|
|
+ width: 12px;
|
|
|
+ height: 12px;
|
|
|
+ margin-right: 6px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
- .nav-bos {
|
|
|
- width: 696px;
|
|
|
- height: 48px;
|
|
|
- background: #f9fafb;
|
|
|
- border: 1px solid #e5e7eb;
|
|
|
- margin-top: 20px;
|
|
|
- gap: 0 32px;
|
|
|
- padding-left: 32px;
|
|
|
- font-size: 16px;
|
|
|
- color: #364153;
|
|
|
-
|
|
|
- div {
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
-
|
|
|
- .hig {
|
|
|
- color: #101828;
|
|
|
- font-weight: 600;
|
|
|
- }
|
|
|
- }
|
|
|
|
|
|
- .pcDetail {
|
|
|
- width: 696px;
|
|
|
- margin-top: 20px;
|
|
|
- :deep(img) {
|
|
|
- width: 100% !important;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .service {
|
|
|
- width: 696px;
|
|
|
- margin-top: 20px;
|
|
|
- background: #ffffff;
|
|
|
- padding: 20px;
|
|
|
- border-radius: 10px;
|
|
|
- div {
|
|
|
- margin-bottom: 20px;
|
|
|
+ .address {
|
|
|
+ height: 44px;
|
|
|
+ width: 100%;
|
|
|
+ border-top: 1px solid #e5e7eb;
|
|
|
+ border-bottom: 1px solid #e5e7eb;
|
|
|
+ margin-top: 20px;
|
|
|
font-size: 14px;
|
|
|
- }
|
|
|
- .service1 {
|
|
|
- font-weight: 600;
|
|
|
- }
|
|
|
- .service2 {
|
|
|
- color: #999999;
|
|
|
- }
|
|
|
- }
|
|
|
+ color: #000000;
|
|
|
|
|
|
- .shop-img {
|
|
|
- width: 696px;
|
|
|
- height: 752px;
|
|
|
- margin-top: 20px;
|
|
|
- }
|
|
|
-
|
|
|
- .shop-more {
|
|
|
- width: 696px;
|
|
|
- margin-top: 34px;
|
|
|
+ .address-img {
|
|
|
+ width: 16px;
|
|
|
+ height: 16px;
|
|
|
+ margin-right: 10px;
|
|
|
+ margin-top: 2px;
|
|
|
+ }
|
|
|
|
|
|
- .more1 {
|
|
|
- font-weight: 600;
|
|
|
- font-size: 20px;
|
|
|
- color: #101828;
|
|
|
+ .address-text {
|
|
|
+ margin-left: 10px;
|
|
|
+ width: 138px;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- .more2 {
|
|
|
- font-size: 14px;
|
|
|
- color: #364153;
|
|
|
- margin-left: 10px;
|
|
|
+ .specs-bos {
|
|
|
+ .specs-list {
|
|
|
+ margin-top: 15px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #364153;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ .specs-item {
|
|
|
+ color: #6a7282;
|
|
|
+ margin-left: 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- .more3 {
|
|
|
+ .number-bos {
|
|
|
+ margin-top: 20px;
|
|
|
font-size: 14px;
|
|
|
color: #364153;
|
|
|
- margin-right: 6px;
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- //数据
|
|
|
- .data-bos {
|
|
|
- display: flex;
|
|
|
- gap: 20px;
|
|
|
- flex-wrap: wrap;
|
|
|
- margin-bottom: 40px;
|
|
|
- margin-top: 24px;
|
|
|
-
|
|
|
- .data-list {
|
|
|
- width: 224px;
|
|
|
- background: #ffffff;
|
|
|
- border-radius: 10px;
|
|
|
- padding: 20px 20px 22px 20px;
|
|
|
- cursor: pointer;
|
|
|
|
|
|
- .data-img {
|
|
|
- width: 184px;
|
|
|
- height: 184px;
|
|
|
- border-radius: 10px;
|
|
|
+ .number-box {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #6a7282;
|
|
|
+ margin-top: 8px;
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .data-title {
|
|
|
- margin-top: 4px;
|
|
|
- font-size: 14px;
|
|
|
- color: #101828;
|
|
|
- height: 40px;
|
|
|
+ .bnt-bos {
|
|
|
+ width: 100%;
|
|
|
+ height: 44px;
|
|
|
+ overflow: hidden;
|
|
|
+ .btn-text {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #666666;
|
|
|
+ margin-left: 10px;
|
|
|
}
|
|
|
|
|
|
- .money {
|
|
|
- margin-top: 4px;
|
|
|
+ .btn {
|
|
|
+ flex: 1;
|
|
|
+ height: 44px;
|
|
|
+ line-height: 44px;
|
|
|
+ max-width: 428px;
|
|
|
|
|
|
- .money1 {
|
|
|
- font-size: 16px;
|
|
|
- color: #e7000b;
|
|
|
+ &:nth-of-type(1) {
|
|
|
+ // background: #fcecf1;
|
|
|
+ // color: #e7000b;
|
|
|
}
|
|
|
|
|
|
- .money2 {
|
|
|
- font-size: 12px;
|
|
|
- color: #99a1af;
|
|
|
- text-decoration: line-through;
|
|
|
- padding-left: 6px;
|
|
|
+ &:nth-of-type(2) {
|
|
|
+ background: #e7000b;
|
|
|
+ color: #ffffff;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- .data-cat {
|
|
|
- width: 86px;
|
|
|
- height: 26px;
|
|
|
- background: #e7000b;
|
|
|
- border-radius: 2px;
|
|
|
- font-size: 14px;
|
|
|
- color: #ffffff;
|
|
|
- line-height: 26px;
|
|
|
- text-align: center;
|
|
|
- margin-top: 16px;
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
}
|