|
@@ -71,15 +71,15 @@
|
|
|
<!--用户身份 0、个人 1、协销 2、会员机构 3、供应商 4,普通机构-->
|
|
|
<em v-if="priceObj.priceFlag==1" v-text="'¥价格未公开'"></em>
|
|
|
<!--SVIP时的划线价格-->
|
|
|
- <!--满足条件:公开价格 && (个人机构 || 资质机构) && 开通SVIP && SVIP优惠商品-->
|
|
|
- <em v-else-if="priceObj.priceFlag != 1 && GLOBAL_VIP_FLAG === 1">
|
|
|
+ <!--满足条件:只有开通会员才显示划线价格-->
|
|
|
+ <em v-else-if="GLOBAL_VIP_FLAG === 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)">
|
|
|
- <em v-if="priceObj.actStatus==1 && promotions && promotions.type==1 && promotions.mode==1"class="p">
|
|
|
+ <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>
|