|
@@ -72,18 +72,18 @@
|
|
|
<em v-if="priceObj.priceFlag==1" v-text="'¥价格未公开'"></em>
|
|
|
<!--SVIP时的划线价格-->
|
|
|
<!--满足条件:只有开通会员才显示划线价格-->
|
|
|
- <em v-else-if="GLOBAL_VIP_FLAG === 1">
|
|
|
+ <em v-else-if="GLOBAL_VIP_FLAG === 1 && priceObj.svipPriceTag === 1">
|
|
|
<del v-text="'¥'+parseFloat(priceObj.originalPrice).toFixed(2)"></del>
|
|
|
</em>
|
|
|
- <!--仅会员可见 -->
|
|
|
- <em v-else-if="priceObj.priceFlag==2 && priceObj.userIdentity==4" v-text="'¥会员可见'"></em>
|
|
|
<!--可见价格 -->
|
|
|
- <template v-else-if="(priceObj.priceFlag==0 && priceObj.userIdentity!=3) || priceObj.userIdentity==2 || (priceObj.userIdentity==3 && priceObj.shopId==GLOBAL_SHOP_ID)">
|
|
|
+ <template v-else-if="(priceObj.priceFlag==0 && priceObj.userIdentity!=3) || priceObj.userIdentity==2 || (priceObj.userIdentity==3 && priceObj.shopId==GLOBAL_SHOP_ID) || GLOBAL_VIP_FLAG === 1">
|
|
|
<em v-if="priceObj.actStatus==1 && promotions && promotions.type==1 && promotions.mode==1" class="p">
|
|
|
<del v-text="'¥'+parseFloat(priceObj.originalPrice).toFixed(2)"></del>
|
|
|
</em>
|
|
|
<em v-else class="p" v-text="'¥'+parseFloat(priceObj.price).toFixed(2)"></em>
|
|
|
</template>
|
|
|
+ <!--仅会员可见 -->
|
|
|
+ <em v-else-if="priceObj.priceFlag==2 && priceObj.userIdentity==4" v-text="'¥会员可见'"></em>
|
|
|
<!--隐藏价格 -->
|
|
|
<em v-else>¥<i th:attr="class=${'icon mIcon i'+product.priceGrade}"></i></em>
|
|
|
<!--SVIP会员标签-->
|