|
@@ -150,25 +150,25 @@
|
|
|
<span class="tag" v-if="pros.product && pros.product.beautyActFlag == 1">美博会</span>
|
|
|
<span v-text="pros.product && pros.product.name"></span>
|
|
|
</div>
|
|
|
-<!-- <div class="page_main_price">-->
|
|
|
-<!-- <!– 商品价格 –>-->
|
|
|
-<!-- <div class="main_price_text">-->
|
|
|
-<!-- <!– 正常商品 –>-->
|
|
|
-<!-- <template v-if="pros.product && pros.product.productCategory == 1">-->
|
|
|
-<!-- <div class="price_text_tag">-->
|
|
|
-<!-- <p class="couponTag" v-if="pros.product && pros.product.couponsLogo">优惠券</p>-->
|
|
|
-<!-- <!–超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品–>-->
|
|
|
-<!-- <template v-if="pros.product && pros.product.svipProductFlag === 1">-->
|
|
|
-<!-- <div class="svip-tag">-->
|
|
|
-<!-- <div class="svip-icon">SVIP</div>-->
|
|
|
-<!-- <!– 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格–>-->
|
|
|
-<!-- <template v-if="showVipPriceTag(pros.product)">-->
|
|
|
-<!-- <div class="svip-price">-->
|
|
|
-<!-- <span v-html="pros.product && pros.product.svipPriceTag"></span>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </template>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </template>-->
|
|
|
+ <div class="page_main_price">
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <div class="main_price_text">
|
|
|
+ <!-- 正常商品 -->
|
|
|
+ <template v-if="pros.product && pros.product.productCategory == 1">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="couponTag" v-if="pros.product && pros.product.couponsLogo">优惠券</p>
|
|
|
+ <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
|
|
|
+ <template v-if="pros.product && pros.product.svipProductFlag === 1">
|
|
|
+ <div class="svip-tag">
|
|
|
+ <div class="svip-icon">SVIP</div>
|
|
|
+ <!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
|
|
|
+ <template v-if="showVipPriceTag(pros.product)">
|
|
|
+ <div class="svip-price">
|
|
|
+ <span v-html="pros.product && pros.product.svipPriceTag"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
<!-- <template v-else>-->
|
|
|
<!-- <p class="listTag" v-if="pros.product.actStatus ==1 && pros.product.promotions">-->
|
|
|
<!-- <span v-text="pros.promotions.name"></span>-->
|
|
@@ -178,47 +178,47 @@
|
|
|
<!-- </template>-->
|
|
|
<!-- </p>-->
|
|
|
<!-- </template>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="main_price_login">-->
|
|
|
-<!-- <!–priceFlag 0公开价格 1不公开价格 2仅对会员机构公开–>-->
|
|
|
-<!-- <template v-if="pros.product && pros.product.priceFlag == 1">-->
|
|
|
-<!-- <em class="price_grade"><span>¥</span>价格未公开</em>-->
|
|
|
-<!-- </template>-->
|
|
|
-<!-- <!–机构价仅会员可见 && 用户是普通机构–>-->
|
|
|
-<!-- <template v-else-if="pros.product && pros.product.priceFlag==2 && GLOBAL_USER_IDENTITY === 4 && GLOBAL_VIP_FLAG!=1">-->
|
|
|
-<!-- <em class="price_grade_club"><span>¥</span>会员可见</em>-->
|
|
|
-<!-- </template>-->
|
|
|
-<!-- <!–机构价仅医美机构可见–>-->
|
|
|
-<!-- <template v-else-if="pros.product && pros.product.priceFlag==3 && (GLOBAL_CLUB_TYPE !=1)">-->
|
|
|
-<!-- <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.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>-->
|
|
|
-<!-- <!–供应商除自己的商品外,也显示价格等级–>-->
|
|
|
-<!-- <em class="price_grade_shop">-->
|
|
|
-<!-- <span class="bold">¥</span><i :class="'icon mIcon price_grade_'+pros.product.priceGrade"></i>-->
|
|
|
-<!-- </em>-->
|
|
|
-<!-- </template>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </template>-->
|
|
|
-<!-- <!– 二手商品 –>-->
|
|
|
-<!-- <template v-else>-->
|
|
|
-<!-- <div class="main_price_login">-->
|
|
|
-<!-- <div class="price_text_tag"></div>-->
|
|
|
-<!-- <div v-if="pros.product.detailTalkFlag==2" class="main_price_show">¥价格祥聊</div>-->
|
|
|
-<!-- <div v-else class="main_price_show">-->
|
|
|
-<!-- ¥<span class="price_num">{{ pros.product.price | NumFormat }}</span>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </template>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
+ </div>
|
|
|
+ <div class="main_price_login">
|
|
|
+ <!--priceFlag 0公开价格 1不公开价格 2仅对会员机构公开-->
|
|
|
+ <template v-if="pros.product && pros.product.priceFlag == 1">
|
|
|
+ <em class="price_grade"><span>¥</span>价格未公开</em>
|
|
|
+ </template>
|
|
|
+ <!--机构价仅会员可见 && 用户是普通机构-->
|
|
|
+ <template v-else-if="pros.product && pros.product.priceFlag==2 && GLOBAL_USER_IDENTITY === 4 && GLOBAL_VIP_FLAG!=1">
|
|
|
+ <em class="price_grade_club"><span>¥</span>会员可见</em>
|
|
|
+ </template>
|
|
|
+ <!--机构价仅医美机构可见-->
|
|
|
+ <template v-else-if="pros.product && pros.product.priceFlag==3 && (GLOBAL_CLUB_TYPE !=1)">
|
|
|
+ <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.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>
|
|
|
+ <!--供应商除自己的商品外,也显示价格等级-->
|
|
|
+ <em class="price_grade_shop">
|
|
|
+ <span class="bold">¥</span><i :class="'icon mIcon price_grade_'+pros.product.priceGrade"></i>
|
|
|
+ </em>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 二手商品 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="main_price_login">
|
|
|
+ <div class="price_text_tag"></div>
|
|
|
+ <div v-if="pros.product.detailTalkFlag==2" class="main_price_show">¥价格祥聊</div>
|
|
|
+ <div v-else class="main_price_show">
|
|
|
+ ¥<span class="price_num">{{ pros.product.price | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</a>
|
|
|
</div>
|
|
|
<div class="swiper-pagination swiper-pagination-floor hot mfc " :data-id="floor.floorImageList4.length"></div>
|