|
@@ -67,7 +67,7 @@
|
|
<div class="new-list">
|
|
<div class="new-list">
|
|
<a href="javascript:void(0)" class="new-li" v-for="(list ,index) in newsList" :key="index" @click="hanldDetails(list.id)">
|
|
<a href="javascript:void(0)" class="new-li" v-for="(list ,index) in newsList" :key="index" @click="hanldDetails(list.id)">
|
|
<span class="new-icon"></span>
|
|
<span class="new-icon"></span>
|
|
- <p>{{ list.title }}</p>
|
|
|
|
|
|
+ <p v-text="list.title"></p>
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<a href="/news.html" class="new-more"> 更多>> </a>
|
|
<a href="/news.html" class="new-more"> 更多>> </a>
|
|
@@ -189,8 +189,8 @@
|
|
<!--固定楼层-->
|
|
<!--固定楼层-->
|
|
<div class="section_page section_page_user hot" v-for="(floor,index) in hotListPageFloor">
|
|
<div class="section_page section_page_user hot" v-for="(floor,index) in hotListPageFloor">
|
|
<div class="section_page_title" >
|
|
<div class="section_page_title" >
|
|
- <h1 data-id="0">{{ floor.title }}</h1>
|
|
|
|
- <p>{{ floor.detail }}</p>
|
|
|
|
|
|
+ <h1 data-id="0" v-text="floor.title"></h1>
|
|
|
|
+ <p v-text="floor.detail"></p>
|
|
<a class="section_page_btn" href="/product/hot.html" target="_blank"></a>
|
|
<a class="section_page_btn" href="/product/hot.html" target="_blank"></a>
|
|
</div>
|
|
</div>
|
|
<div class="swiper-container-floor hotList mySwiper" id="recommendBox">
|
|
<div class="swiper-container-floor hotList mySwiper" id="recommendBox">
|
|
@@ -215,20 +215,21 @@
|
|
<div class="svip-tag">
|
|
<div class="svip-tag">
|
|
<div class="svip-icon">SVIP</div>
|
|
<div class="svip-icon">SVIP</div>
|
|
<!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
|
|
<!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
|
|
- <template v-if="showVipPriceTag(pros.product)">
|
|
|
|
- <div class="svip-price">
|
|
|
|
- <span v-html="pros.product && pros.product.svipPriceTag"></span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <template v-else-if="GLOBAL_USER_IDENTITY === 2 ||
|
|
|
|
+ (pros.product.priceFlag === 0 && GLOBAL_USER_IDENTITY === 4) ||
|
|
|
|
+ (GLOBAL_USER_IDENTITY === 3 && pros.product.shopId==GLOBAL_SHOP_ID) ||
|
|
|
|
+ GLOBAL_VIP_FLAG === 1">
|
|
|
|
+ <template v-if="showVipPriceTag(pros.product)">
|
|
|
|
+ <div class="svip-price">
|
|
|
|
+ <span v-html="pros.product && pros.product.svipPriceTag"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
<p class="listTag" v-if="pros.product.actStatus == 1 && pros.product.promotions">
|
|
<p class="listTag" v-if="pros.product.actStatus == 1 && pros.product.promotions">
|
|
<span v-text="pros.product.promotions && pros.product.promotions.name"></span>
|
|
<span v-text="pros.product.promotions && pros.product.promotions.name"></span>
|
|
- <template v-if="PromotionsFormat(pros.product.promotions)">
|
|
|
|
- <!--单品优惠:优惠价-->
|
|
|
|
- <span class="price_unit">:¥</span><span class="price_num">{{ pros.product.price | NumFormat }}</span>
|
|
|
|
- </template>
|
|
|
|
</p>
|
|
</p>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
@@ -246,16 +247,21 @@
|
|
<em class="price_grade_club red"><span>¥</span>仅医美机构可见</em>
|
|
<em class="price_grade_club red"><span>¥</span>仅医美机构可见</em>
|
|
</template>
|
|
</template>
|
|
<!-- 资质机构 || (价格全部机构可见 && 普通机构) || (供应商 && 商品为供应商下的商品) || 超级会员用户 -->
|
|
<!-- 资质机构 || (价格全部机构可见 && 普通机构) || (供应商 && 商品为供应商下的商品) || 超级会员用户 -->
|
|
- <template v-else-if="GLOBAL_USER_IDENTITY === 2 || (pros.product.priceFlag === 0 && GLOBAL_USER_IDENTITY === 4) || (GLOBAL_USER_IDENTITY === 3 && pros.shopID==GLOBAL_SHOP_ID) || GLOBAL_VIP_FLAG === 1">
|
|
|
|
|
|
+ <template v-else-if="GLOBAL_USER_IDENTITY === 2 ||
|
|
|
|
+ (pros.product.priceFlag === 0 && GLOBAL_USER_IDENTITY === 4) ||
|
|
|
|
+ (GLOBAL_USER_IDENTITY === 3 && pros.product.shopId==GLOBAL_SHOP_ID) ||
|
|
|
|
+ GLOBAL_VIP_FLAG === 1">
|
|
<div class="main_price_show" :class="{none: showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)}">
|
|
<div class="main_price_show" :class="{none: showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)}">
|
|
- ¥<span class="price_num" v-if="showVipPriceTag(pros.product)">{{ pros.product.originalPrice | NumFormat }}</span>
|
|
|
|
- <span class="price_num" v-else>{{ pros.product.price | NumFormat }}</span>
|
|
|
|
|
|
+ ¥
|
|
|
|
+ <span class="price_num" v-if="showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)" v-text="filtersFormat(pros.product.originalPrice)"></span>
|
|
|
|
+ <span class="price_num" v-else v-text="filtersFormat(pros.product.price)"></span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
<!--供应商除自己的商品外,也显示价格等级-->
|
|
<!--供应商除自己的商品外,也显示价格等级-->
|
|
<em class="price_grade_shop">
|
|
<em class="price_grade_shop">
|
|
- <span class="bold">¥</span><i :class="'icon mIcon price_grade_'+pros.product.priceGrade"></i>
|
|
|
|
|
|
+ <span class="bold">¥</span>
|
|
|
|
+ <i :class="'icon mIcon price_grade_'+pros.product.priceGrade"></i>
|
|
</em>
|
|
</em>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
@@ -266,7 +272,7 @@
|
|
<div class="price_text_tag"></div>
|
|
<div class="price_text_tag"></div>
|
|
<div v-if="pros.product.detailTalkFlag==2" class="main_price_show">¥价格祥聊</div>
|
|
<div v-if="pros.product.detailTalkFlag==2" class="main_price_show">¥价格祥聊</div>
|
|
<div v-else class="main_price_show">
|
|
<div v-else class="main_price_show">
|
|
- ¥<span class="price_num">{{ pros.product.price | NumFormat }}</span>
|
|
|
|
|
|
+ ¥<span class="price_num" v-text="filtersFormat(pros.product.price)"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -281,8 +287,8 @@
|
|
<div class="section_page section_page_user" v-for="(floor,index) in homePageFloor">
|
|
<div class="section_page section_page_user" v-for="(floor,index) in homePageFloor">
|
|
<template v-if="floor.floorContent">
|
|
<template v-if="floor.floorContent">
|
|
<div class="section_page_title" >
|
|
<div class="section_page_title" >
|
|
- <h1 :data-id="index+1">{{ floor.title }}</h1>
|
|
|
|
- <p>{{ floor.detail }}</p>
|
|
|
|
|
|
+ <h1 :data-id="index+1" v-text="floor.title"></h1>
|
|
|
|
+ <p v-text="floor.detail"></p>
|
|
</div>
|
|
</div>
|
|
<div :class="floor.floorContent.templateType == 8 ? 'swiper-container-floor mySwiperSlide' : ''"
|
|
<div :class="floor.floorContent.templateType == 8 ? 'swiper-container-floor mySwiperSlide' : ''"
|
|
:id="floor.floorContent.templateType == 8 ? 'recommendBox' : ''"
|
|
:id="floor.floorContent.templateType == 8 ? 'recommendBox' : ''"
|
|
@@ -348,20 +354,21 @@
|
|
<div class="svip-tag">
|
|
<div class="svip-tag">
|
|
<div class="svip-icon">SVIP</div>
|
|
<div class="svip-icon">SVIP</div>
|
|
<!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
|
|
<!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
|
|
- <template v-if="showVipPriceTag(pros.product)">
|
|
|
|
- <div class="svip-price">
|
|
|
|
- <span v-html="pros.product.svipPriceTag"></span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <template v-else-if="GLOBAL_USER_IDENTITY === 2 ||
|
|
|
|
+ (pros.product.priceFlag === 0 && GLOBAL_USER_IDENTITY === 4) ||
|
|
|
|
+ (GLOBAL_USER_IDENTITY === 3 && pros.product.shopId==GLOBAL_SHOP_ID) ||
|
|
|
|
+ GLOBAL_VIP_FLAG === 1">
|
|
|
|
+ <template v-if="showVipPriceTag(pros.product)">
|
|
|
|
+ <div class="svip-price">
|
|
|
|
+ <span v-html="pros.product.svipPriceTag"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
<p class="listTag" v-if="pros.product.actStatus ==1 && pros.product.promotions">
|
|
<p class="listTag" v-if="pros.product.actStatus ==1 && pros.product.promotions">
|
|
<span v-text="pros.product.promotions.name"></span>
|
|
<span v-text="pros.product.promotions.name"></span>
|
|
- <template v-if="PromotionsFormat(pros.product.promotions)">
|
|
|
|
- <!--单品优惠:优惠价-->
|
|
|
|
- <span class="price_unit">:¥</span><span class="price_num">{{ pros.product.price | NumFormat }}</span>
|
|
|
|
- </template>
|
|
|
|
</p>
|
|
</p>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
@@ -379,10 +386,14 @@
|
|
<em class="price_grade_club red"><span>¥</span>仅医美机构可见</em>
|
|
<em class="price_grade_club red"><span>¥</span>仅医美机构可见</em>
|
|
</template>
|
|
</template>
|
|
<!-- 资质机构 || (价格全部机构可见 && 普通机构) || (供应商 && 商品为供应商下的商品) || 超级会员用户 -->
|
|
<!-- 资质机构 || (价格全部机构可见 && 普通机构) || (供应商 && 商品为供应商下的商品) || 超级会员用户 -->
|
|
- <template v-else-if="GLOBAL_USER_IDENTITY === 2 || (pros.product.priceFlag === 0 && GLOBAL_USER_IDENTITY === 4) || (GLOBAL_USER_IDENTITY === 3 && pros.product.shopID==GLOBAL_SHOP_ID) || GLOBAL_VIP_FLAG === 1">
|
|
|
|
|
|
+ <template v-else-if="GLOBAL_USER_IDENTITY === 2 ||
|
|
|
|
+ (pros.product.priceFlag === 0 && GLOBAL_USER_IDENTITY === 4) ||
|
|
|
|
+ (GLOBAL_USER_IDENTITY === 3 && pros.product.shopId==GLOBAL_SHOP_ID) ||
|
|
|
|
+ GLOBAL_VIP_FLAG === 1">
|
|
<div class="main_price_show" :class="{none: showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)}">
|
|
<div class="main_price_show" :class="{none: showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)}">
|
|
- ¥<span class="price_num" v-if="showVipPriceTag(pros.product)">{{ pros.product.originalPrice | NumFormat }}</span>
|
|
|
|
- <span class="price_num" v-else>{{ pros.product.price | NumFormat }}</span>
|
|
|
|
|
|
+ ¥
|
|
|
|
+ <span class="price_num" v-if="showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)" v-text="filtersFormat(pros.product.originalPrice)"></span>
|
|
|
|
+ <span class="price_num" v-else v-text="filtersFormat(pros.product.price)"></span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
@@ -399,7 +410,7 @@
|
|
<div class="price_text_tag"></div>
|
|
<div class="price_text_tag"></div>
|
|
<div v-if="pros.product.detailTalkFlag==2" class="main_price_show">¥价格祥聊</div>
|
|
<div v-if="pros.product.detailTalkFlag==2" class="main_price_show">¥价格祥聊</div>
|
|
<div v-else class="main_price_show">
|
|
<div v-else class="main_price_show">
|
|
- ¥<span class="price_num">{{ pros.product.price | NumFormat }}</span>
|
|
|
|
|
|
+ ¥<span class="price_num" v-text="filtersFormat(pros.product.price)"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|