|
@@ -20,13 +20,13 @@
|
|
|
<div class="wrap_tittle"> 大家都在搜<span class="line"></span></div>
|
|
|
<template v-if="isPC">
|
|
|
<div class="hot-search">
|
|
|
- <a class="hot-list" v-for="(item,index) in hotlist" :href="item.link"><i class="icon mIcon" :class="item.isHot==1?'hot':''"></i>{{item.name}}</a>
|
|
|
+ <a class="hot-list" v-for="(item,index) in hotlist" :href="item.link"><i class="icon" :class="item.isHot==1?'hot':''"></i>{{item.name}}</a>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<div class="hot-search" :style="showflag?'height:auto':''">
|
|
|
<div class="left-box">
|
|
|
- <a class="hot-list" v-for="(item,index) in hotlist" :href="item.link"><i class="icon mIcon hot"></i>{{item.name}}</a>
|
|
|
+ <a class="hot-list" v-for="(item,index) in hotlist" :href="item.link"><i class="mIcon" :class="item.isHot==1?'hot':''"></i>{{item.name}}</a>
|
|
|
</div>
|
|
|
<div class="right-box" @click="showNav">
|
|
|
<span class="mIcon" :class="showflag?'close':'open'"></span>
|
|
@@ -58,35 +58,41 @@
|
|
|
<div class="price" v-if="pros.listType == 1">
|
|
|
<template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
<!--用户身份 0、个人 1、协销 2、会员机构 3、供应商 4,普通机构-->
|
|
|
- <template v-if="pros.product.price1TextFlag==1">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
- </div>
|
|
|
- <div class="main_price_unde">¥价格未公开</div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
- {{pros.product.promotions.name}}
|
|
|
- <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
- ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
<div class="price_text_tag">
|
|
|
<p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
</div>
|
|
|
- <div class="main_price_unde">¥会员可见</div>
|
|
|
+ <div class="main_price_unde">¥价格未公开</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
- <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_unde">¥会员可见</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
+ <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="main_price_unde" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="main_price_show" v-else>¥{{ pros.product.retailPrice | NumFormat }}</div>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<template v-if="pros.product.productCategory == 1">
|
|
@@ -117,35 +123,41 @@
|
|
|
<div class="price" v-if="pros.listType == 1">
|
|
|
<template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
<!--用户身份 0、个人 1、协销 2、会员机构 3、供应商 4,普通机构-->
|
|
|
- <template v-if="pros.product.price1TextFlag==1">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
- </div>
|
|
|
- <div class="main_price_unde">¥价格未公开</div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
- {{pros.product.promotions.name}}
|
|
|
- <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
- ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
<div class="price_text_tag">
|
|
|
<p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
</div>
|
|
|
- <div class="main_price_unde">¥会员可见</div>
|
|
|
+ <div class="main_price_unde">¥价格未公开</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
- <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_unde">¥会员可见</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
+ <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="main_price_unde" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="main_price_show" v-else>¥{{ pros.product.retailPrice | NumFormat }}</div>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<template v-if="pros.product.productCategory == 1">
|
|
@@ -176,35 +188,41 @@
|
|
|
<div class="price" v-if="pros.listType == 1">
|
|
|
<template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
<!--用户身份 0、个人 1、协销 2、会员机构 3、供应商 4,普通机构-->
|
|
|
- <template v-if="pros.product.price1TextFlag==1">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
- </div>
|
|
|
- <div class="main_price_unde">¥价格未公开</div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
- {{pros.product.promotions.name}}
|
|
|
- <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
- ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
<div class="price_text_tag">
|
|
|
<p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
</div>
|
|
|
- <div class="main_price_unde">¥会员可见</div>
|
|
|
+ <div class="main_price_unde">¥价格未公开</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
- <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_unde">¥会员可见</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
+ <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="main_price_unde" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="main_price_show" v-else>¥{{ pros.product.retailPrice | NumFormat }}</div>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<template v-if="pros.product.productCategory == 1">
|
|
@@ -236,35 +254,41 @@
|
|
|
<div class="price" v-if="pros.listType == 1">
|
|
|
<template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
<!--用户身份 0、个人 1、协销 2、会员机构 3、供应商 4,普通机构-->
|
|
|
- <template v-if="pros.product.price1TextFlag==1">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
- </div>
|
|
|
- <div class="main_price_unde">¥价格未公开</div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
<div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
- {{pros.product.promotions.name}}
|
|
|
- <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
- ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
- <div class="price_text_tag">
|
|
|
<p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
</div>
|
|
|
- <div class="main_price_unde">¥会员可见</div>
|
|
|
+ <div class="main_price_unde">¥价格未公开</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <em>¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
- <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_unde">¥会员可见</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
+ <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="main_price_unde" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="main_price_show" v-else>¥{{ pros.product.retailPrice | NumFormat }}</div>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<template v-if="pros.product.productCategory == 1">
|
|
@@ -294,35 +318,41 @@
|
|
|
<div class="price" v-if="pros.listType == 1">
|
|
|
<template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
<!--用户身份 0、个人 1、协销 2、会员机构 3、供应商 4,普通机构-->
|
|
|
- <template v-if="pros.product.price1TextFlag==1">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
- </div>
|
|
|
- <div class="main_price_unde">¥价格未公开</div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
- {{pros.product.promotions.name}}
|
|
|
- <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
- ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
<div class="price_text_tag">
|
|
|
<p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
</div>
|
|
|
- <div class="main_price_unde">¥会员可见</div>
|
|
|
+ <div class="main_price_unde">¥价格未公开</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
- <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_unde">¥会员可见</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
+ <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="main_price_unde" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="main_price_show" v-else>¥{{ pros.product.retailPrice | NumFormat }}</div>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<template v-if="pros.product.productCategory == 1">
|
|
@@ -351,35 +381,41 @@
|
|
|
<div class="price" v-if="pros.listType == 1">
|
|
|
<template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
<!--用户身份 0、个人 1、协销 2、会员机构 3、供应商 4,普通机构-->
|
|
|
- <template v-if="pros.product.price1TextFlag==1">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
- </div>
|
|
|
- <div class="main_price_unde">¥价格未公开</div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
<div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
- {{pros.product.promotions.name}}
|
|
|
- <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
- ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag " v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
</div>
|
|
|
- <div class="main_price_unde">¥会员可见</div>
|
|
|
+ <div class="main_price_unde">¥价格未公开</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
- <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_unde">¥会员可见</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
+ <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="main_price_unde" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="main_price_show" v-else>¥{{ pros.product.retailPrice | NumFormat }}</div>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<template v-if="pros.product.productCategory == 1">
|
|
@@ -409,35 +445,41 @@
|
|
|
<div class="price" v-if="pros.listType == 1">
|
|
|
<template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
<!--用户身份 0、个人 1、协销 2、会员机构 3、供应商 4,普通机构-->
|
|
|
- <template v-if="pros.product.price1TextFlag==1">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
- </div>
|
|
|
- <div class="main_price_unde">¥价格未公开</div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
- {{pros.product.promotions.name}}
|
|
|
- <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
- ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
<div class="price_text_tag">
|
|
|
<p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
</div>
|
|
|
- <div class="main_price_unde">¥会员可见</div>
|
|
|
+ <div class="main_price_unde">¥价格未公开</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
- <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_unde">¥会员可见</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
+ <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="main_price_unde" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="main_price_show" v-else>¥{{ pros.product.retailPrice | NumFormat }}</div>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<template v-if="pros.product.productCategory == 1">
|
|
@@ -466,35 +508,41 @@
|
|
|
<div class="price" v-if="pros.listType == 1">
|
|
|
<template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
<!--用户身份 0、个人 1、协销 2、会员机构 3、供应商 4,普通机构-->
|
|
|
- <template v-if="pros.product.price1TextFlag==1">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag " v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
- </div>
|
|
|
- <div class="main_price_unde">¥价格未公开</div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
- {{pros.product.promotions.name}}
|
|
|
- <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
- ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
<div class="price_text_tag">
|
|
|
<p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
</div>
|
|
|
- <div class="main_price_unde">¥会员可见</div>
|
|
|
+ <div class="main_price_unde">¥价格未公开</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
- <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ <template v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_show" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ ¥{{ (PromotionsFormat(pros.product.promotions) ? pros.product.price1 : pros.product.retailPrice ) | NumFormat }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="listTag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_unde">¥会员可见</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <em class="bold">¥<i :class="'icon mIcon i'+pros.product.price1Grade"></i></em>
|
|
|
+ <span class="listTag right-box" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="main_price_unde" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="main_price_show" v-else>¥{{ pros.product.retailPrice | NumFormat }}</div>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<template v-if="pros.product.productCategory == 1">
|