Commit ba4d63d78677d75ce04582e4fcacede2b84bf130

Authored by zhiyangdu
1 parent 8373615e

优选库bug修改

src/components/goodsItem_2/goodsItem_2.vue
... ... @@ -12,7 +12,7 @@
12 12 <div class="title" :class="{'grey': item.num, 'align-center': pid == '5' || item.num}" v-if="pid == undefined || pid == '1' || pid == '3' || pid == '4' || pid == '5'">{{item.title}}</div>
13 13  
14 14 <!-- 因积分商城不价格所有加上 !item.grade判断 -->
15   - <div class="price-box" v-if="pid != '5' && !item.num">
  15 + <div class="price-box" v-if="pid != '5'">
16 16 <div class="symbol">¥&nbsp;</div>
17 17 <div class="price">{{item.price}}</div>
18 18 <div class="prices" v-if="(pid == '3' || pid == '4') && item.prices && parseFloat(item.prices) > 0 && parseFloat(item.prices) > parseFloat(item.price)">¥{{item.prices}}</div>
... ...
src/pages/pointsMall/pointsMall.vue
... ... @@ -58,7 +58,7 @@
58 58 <!-- 商品展示样式 2 -->
59 59 <goods-item-2 class="item" v-for="(item, index) in goodsLists" :key="index" @jump="toDetail(item)"
60 60 :item="item"
61   - pid="4">
  61 + pid="5">
62 62 </goods-item-2>
63 63 </div>
64 64  
... ...