|
@@ -193,20 +193,20 @@
|
|
|
<template v-if="pros.product.priceFlag == 1">
|
|
|
<em class="price_grade"><span>¥</span>价格未公开</em>
|
|
|
</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">
|
|
|
- <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>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
<!--机构价仅会员可见 && 用户是普通机构-->
|
|
|
<template v-else-if="pros.product.priceFlag==2 && GLOBAL_USER_IDENTITY === 4">
|
|
|
<em class="price_grade_club"><span>¥</span>会员可见</em>
|
|
|
</template>
|
|
|
<!--机构价仅医美机构可见-->
|
|
|
<template v-else-if="pros.product.priceFlag==3 && (GLOBAL_CLUB_TYPE !=1)">
|
|
|
- <em class="price_grade_club"><span>¥</span>仅医美机构可见</em>
|
|
|
+ <em class="price_grade_club red"><span>¥</span>仅医美机构可见</em>
|
|
|
+ </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">
|
|
|
+ <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>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<!--供应商除自己的商品外,也显示价格等级-->
|