|
@@ -56,11 +56,11 @@
|
|
|
<ul class="productList clear mfw">
|
|
|
<li class="productItem mfc" v-for="p in mainProducts">
|
|
|
<div class="item">
|
|
|
- <a class="image" :href="'/product-'+p.id+'.html'">
|
|
|
+ <a class="image" :href="'/product-'+p.productId+'.html'">
|
|
|
<img :src="p.image" :alt="p.name">
|
|
|
<span v-if="p.actType==1||p.actType==2" :class="p.actType==1?'icon mIcon hot':'icon mIcon new'"></span>
|
|
|
</a>
|
|
|
- <a class="name" :href="'/product-'+p.id+'.html'">
|
|
|
+ <a class="name" :href="'/product-'+p.productId+'.html'">
|
|
|
<span v-html="addhtml + p.name" v-if="p.beautyActFlag==1"></span>
|
|
|
<span v-html="p.name" v-else></span>
|
|
|
</a>
|
|
@@ -71,7 +71,7 @@
|
|
|
<em>¥价格未公开</em>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <template v-if="(p.priceFlag==0 && p.userIdentity!=3) || p.userIdentity==2 || (p.userIdentity==3 && p.supplierId==GLOBAL_SHOP_ID)">
|
|
|
+ <template v-if="(p.priceFlag==0 && p.userIdentity!=3) || p.userIdentity==2 || (p.userIdentity==3 && p.shopId==GLOBAL_SHOP_ID)">
|
|
|
<em class="p" v-text="'¥'+parseFloat(p.price).toFixed(2)"></em>
|
|
|
<span class="listTag" v-if="p.actStatus==1">{{p.promotions.name}}</span>
|
|
|
</template>
|
|
@@ -100,7 +100,7 @@
|
|
|
<ul v-if="productLists.length>0" class="productList clear mfw">
|
|
|
<li class="productItem mfc" v-for="p in productLists">
|
|
|
<div class="item">
|
|
|
- <a class="image" :href="'/product-'+p.id+'.html'">
|
|
|
+ <a class="image" :href="'/product-'+p.productId+'.html'">
|
|
|
<img src="/img/base/placeholder.png" :data-original="p.image" :alt="p.name">
|
|
|
<span v-if="p.actType==1||p.actType==2" :class="p.actType==1?'icon mIcon hot':'icon mIcon new'"></span>
|
|
|
</a>
|
|
@@ -115,7 +115,7 @@
|
|
|
<em>¥价格未公开</em>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <template v-if="(p.priceFlag==0 && p.userIdentity!=3) || p.userIdentity==2 || (p.userIdentity==3 && p.supplierId==GLOBAL_SHOP_ID)">
|
|
|
+ <template v-if="(p.priceFlag==0 && p.userIdentity!=3) || p.userIdentity==2 || (p.userIdentity==3 && p.shopId==GLOBAL_SHOP_ID)">
|
|
|
<em class="p" v-text="'¥'+parseFloat(p.price).toFixed(2)"></em>
|
|
|
<span class="listTag" v-if="p.actStatus==1">{{p.promotions.name}}</span>
|
|
|
</template>
|