|
@@ -88,6 +88,12 @@
|
|
<div class="cm-tags cm-p-t-2 cm-p-b-2 h20">
|
|
<div class="cm-tags cm-p-t-2 cm-p-b-2 h20">
|
|
<!-- <span class="cm-tag color2" v-if="pros.product.couponsLogo">优惠券</span>-->
|
|
<!-- <span class="cm-tag color2" v-if="pros.product.couponsLogo">优惠券</span>-->
|
|
<span class="cm-tag color3" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
<span class="cm-tag color3" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
|
+ <template v-if="(pros.product.productCategory == 1 && params.userId>0) || GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
|
+ <span class="cm-tag color3" v-if="pros.product.actStatus==1">
|
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
|
+ <span class="red" v-if="pros.priceFlag != 1 && PromotionsFormat(pros.product.promotions)">:¥{{pros.product.price | NumFormat}}</span>
|
|
|
|
+ </span>
|
|
|
|
+ </template>
|
|
</div>
|
|
</div>
|
|
<div class="cm-prodcut-price h24">
|
|
<div class="cm-prodcut-price h24">
|
|
<div class="pro-price" v-if="pros.listType == 1">
|
|
<div class="pro-price" v-if="pros.listType == 1">
|
|
@@ -95,24 +101,13 @@
|
|
<template v-if="pros.product.productCategory==1">
|
|
<template v-if="pros.product.productCategory==1">
|
|
<!-- 样式1 价格未公开-->
|
|
<!-- 样式1 价格未公开-->
|
|
<template v-if="pros.product.priceFlag==1">
|
|
<template v-if="pros.product.priceFlag==1">
|
|
- <div class="price-tag cm-left">
|
|
|
|
- <span class="tag"
|
|
|
|
- v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="price-tag cm-left"></div>
|
|
<div class="price cm-left">¥价格未公开</div>
|
|
<div class="price cm-left">¥价格未公开</div>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
<!-- 样式2-->
|
|
<!-- 样式2-->
|
|
- <template
|
|
|
|
- v-if="(pros.product.priceFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
|
- <div class="price-tag cm-left">
|
|
|
|
- <span class="tag"
|
|
|
|
- v-if="pros.product.actStatus==1">
|
|
|
|
- {{pros.product.promotions.name}}
|
|
|
|
- <span class="red"
|
|
|
|
- v-if="pros.priceFlag != 1 && PromotionsFormat(pros.product.promotions)">:¥{{pros.product.price | NumFormat}}</span>
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <template v-if="(pros.product.priceFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
|
+ <div class="price-tag cm-left"></div>
|
|
<div class="price cm-left"
|
|
<div class="price cm-left"
|
|
:class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
:class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
<span class="red">
|
|
<span class="red">
|
|
@@ -122,24 +117,17 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<!-- 样式3 -->
|
|
<!-- 样式3 -->
|
|
- <template
|
|
|
|
- v-else-if="pros.product.priceFlag==2 && pros.product.userIdentity==4 && GLOBAL_VIP_FLAG!=1">
|
|
|
|
- <div class="price-tag cm-left"
|
|
|
|
- v-if="pros.product.actStatus==1">
|
|
|
|
- <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <template v-else-if="pros.product.priceFlag==2 && pros.product.userIdentity==4 && GLOBAL_VIP_FLAG!=1">
|
|
|
|
+ <div class="price-tag cm-left"></div>
|
|
<div class="price cm-left">
|
|
<div class="price cm-left">
|
|
<span>¥会员可见</span></div>
|
|
<span>¥会员可见</span></div>
|
|
</template>
|
|
</template>
|
|
<!-- 样式4 -->
|
|
<!-- 样式4 -->
|
|
<template v-else>
|
|
<template v-else>
|
|
- <div class="price-tag cm-left"
|
|
|
|
- v-if="pros.product.actStatus==1">
|
|
|
|
- <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
|
- </div>
|
|
|
|
- <div class="price cm-left"><span>¥</span>
|
|
|
|
- <span class="p-icon"
|
|
|
|
- :class="'i'+pros.product.priceGrade"></span>
|
|
|
|
|
|
+ <div class="price-tag cm-left"></div>
|
|
|
|
+ <div class="price cm-left">
|
|
|
|
+ <span>¥</span>
|
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.priceGrade"></span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
@@ -147,9 +135,7 @@
|
|
<!-- 样式5 -->
|
|
<!-- 样式5 -->
|
|
<template v-else>
|
|
<template v-else>
|
|
<div class="price-tag cm-left"></div>
|
|
<div class="price-tag cm-left"></div>
|
|
- <div class="price"
|
|
|
|
- v-if="pros.product.detailTalkFlag == '2'">¥价格详聊
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
<div class="price cm-left" v-else>
|
|
<div class="price cm-left" v-else>
|
|
<span class="red">¥{{ pros.product.price | NumFormat }}</span>
|
|
<span class="red">¥{{ pros.product.price | NumFormat }}</span>
|
|
</div>
|
|
</div>
|
|
@@ -158,15 +144,10 @@
|
|
<template v-else>
|
|
<template v-else>
|
|
<!-- 样式6 -->
|
|
<!-- 样式6 -->
|
|
<template v-if="pros.product.productCategory == 1">
|
|
<template v-if="pros.product.productCategory == 1">
|
|
- <div class="price-tag cm-left"
|
|
|
|
- v-if="params.userId>0">
|
|
|
|
- <span class="tag"
|
|
|
|
- v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="price-tag cm-left" v-if="params.userId>0"></div>
|
|
<div class="price cm-left ">
|
|
<div class="price cm-left ">
|
|
<span>¥</span>
|
|
<span>¥</span>
|
|
- <span class="p-icon"
|
|
|
|
- :class="'i'+pros.product.priceGrade"></span>
|
|
|
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.priceGrade"></span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<!-- 样式7 -->
|
|
<!-- 样式7 -->
|
|
@@ -176,7 +157,6 @@
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -245,6 +225,12 @@
|
|
<div class="cm-tags cm-p-t-2 cm-p-b-2 h20">
|
|
<div class="cm-tags cm-p-t-2 cm-p-b-2 h20">
|
|
<!-- <span class="cm-tag color3" v-if="pros.product.couponsLogo">优惠券</span>-->
|
|
<!-- <span class="cm-tag color3" v-if="pros.product.couponsLogo">优惠券</span>-->
|
|
<span class="cm-tag color2" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
<span class="cm-tag color2" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
|
+ <template v-if="(pros.product.productCategory == 1 && params.userId>0) || GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
|
+ <span class="cm-tag color3" v-if="pros.product.actStatus==1">
|
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
|
+ <span class="red" v-if="pros.priceFlag != 1 && PromotionsFormat(pros.product.promotions)">:¥{{pros.product.price | NumFormat}}</span>
|
|
|
|
+ </span>
|
|
|
|
+ </template>
|
|
</div>
|
|
</div>
|
|
<div class="cm-prodcut-price h24">
|
|
<div class="cm-prodcut-price h24">
|
|
<div class="pro-price cm-clearfix" v-if="pros.listType == 1">
|
|
<div class="pro-price cm-clearfix" v-if="pros.listType == 1">
|
|
@@ -252,26 +238,14 @@
|
|
<template v-if="pros.product.productCategory == 1">
|
|
<template v-if="pros.product.productCategory == 1">
|
|
<!-- 样式1 价格未公开-->
|
|
<!-- 样式1 价格未公开-->
|
|
<template v-if="pros.product.priceFlag == 1">
|
|
<template v-if="pros.product.priceFlag == 1">
|
|
- <div class="price-tag cm-left">
|
|
|
|
- <span class="tag"
|
|
|
|
- v-if="pros.product.actStatus == 1">{{pros.product.promotions.name}}</span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="price-tag cm-left"></div>
|
|
<div class="price cm-left">¥价格未公开</div>
|
|
<div class="price cm-left">¥价格未公开</div>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
<!-- 样式2-->
|
|
<!-- 样式2-->
|
|
- <template
|
|
|
|
- v-if="(pros.product.priceFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
|
- <div class="price-tag cm-left">
|
|
|
|
- <span class="tag"
|
|
|
|
- v-if="pros.product.actStatus==1">
|
|
|
|
- {{pros.product.promotions.name}}
|
|
|
|
- <span class="red"
|
|
|
|
- v-if="pros.priceFlag != 1 && PromotionsFormat(pros.product.promotions)">:¥{{pros.product.price | NumFormat}}</span>
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
- <div class="price cm-left"
|
|
|
|
- :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
|
|
|
+ <template v-if="(pros.product.priceFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
|
+ <div class="price-tag cm-left"></div>
|
|
|
|
+ <div class="price cm-left" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
<span class="red">
|
|
<span class="red">
|
|
¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.originalPrice
|
|
¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.originalPrice
|
|
: pros.product.price) | NumFormat }}
|
|
: pros.product.price) | NumFormat }}
|
|
@@ -279,24 +253,15 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<!-- 样式3 -->
|
|
<!-- 样式3 -->
|
|
- <template
|
|
|
|
- v-else-if="pros.product.priceFlag==2 && pros.product.userIdentity==4 && GLOBAL_VIP_FLAG!=1">
|
|
|
|
- <div class="price-tag cm-left"
|
|
|
|
- v-if="pros.product.actStatus==1">
|
|
|
|
- <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
|
- </div>
|
|
|
|
- <div class="price cm-left"><span>¥会员可见</span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <template v-else-if="pros.product.priceFlag==2 && pros.product.userIdentity==4 && GLOBAL_VIP_FLAG!=1">
|
|
|
|
+ <div class="price-tag cm-left" v-if="pros.product.actStatus==1"></div>
|
|
|
|
+ <div class="price cm-left"><span>¥会员可见</span></div>
|
|
</template>
|
|
</template>
|
|
<!-- 样式4 -->
|
|
<!-- 样式4 -->
|
|
<template v-else>
|
|
<template v-else>
|
|
- <div class="price-tag cm-left"
|
|
|
|
- v-if="pros.product.actStatus==1">
|
|
|
|
- <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="price-tag cm-left" v-if="pros.product.actStatus==1"></div>
|
|
<div class="price cm-left"><span>¥</span>
|
|
<div class="price cm-left"><span>¥</span>
|
|
- <span class="p-icon"
|
|
|
|
- :class="'i'+pros.product.priceGrade"></span>
|
|
|
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.priceGrade"></span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
@@ -304,9 +269,7 @@
|
|
<!-- 样式5 -->
|
|
<!-- 样式5 -->
|
|
<template v-else>
|
|
<template v-else>
|
|
<div class="price-tag cm-left"></div>
|
|
<div class="price-tag cm-left"></div>
|
|
- <div class="price"
|
|
|
|
- v-if="pros.product.detailTalkFlag == '2'">¥价格详聊
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
<div class="price cm-left" v-else>
|
|
<div class="price cm-left" v-else>
|
|
<span class="red">¥{{ pros.product.price | NumFormat }}</span>
|
|
<span class="red">¥{{ pros.product.price | NumFormat }}</span>
|
|
</div>
|
|
</div>
|
|
@@ -315,14 +278,10 @@
|
|
<template v-else>
|
|
<template v-else>
|
|
<!-- 样式6 -->
|
|
<!-- 样式6 -->
|
|
<template v-if="pros.product.productCategory == 1">
|
|
<template v-if="pros.product.productCategory == 1">
|
|
- <div class="price-tag cm-left" v-if="params.userId>0">
|
|
|
|
- <span class="tag"
|
|
|
|
- v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="price-tag cm-left" v-if="params.userId>0"></div>
|
|
<div class="price cm-left ">
|
|
<div class="price cm-left ">
|
|
<span>¥</span>
|
|
<span>¥</span>
|
|
- <span class="p-icon"
|
|
|
|
- :class="'i'+pros.product.priceGrade"></span>
|
|
|
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.priceGrade"></span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<!-- 样式7 -->
|
|
<!-- 样式7 -->
|