Commit ba4d63d78677d75ce04582e4fcacede2b84bf130
1 parent
8373615e
优选库bug修改
Showing
2 changed files
with
2 additions
and
2 deletions
src/components/goodsItem_2/goodsItem_2.vue
| @@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
| 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> | 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 | <!-- 因积分商城不价格所有加上 !item.grade判断 --> | 14 | <!-- 因积分商城不价格所有加上 !item.grade判断 --> |
| 15 | - <div class="price-box" v-if="pid != '5' && !item.num"> | 15 | + <div class="price-box" v-if="pid != '5'"> |
| 16 | <div class="symbol">¥ </div> | 16 | <div class="symbol">¥ </div> |
| 17 | <div class="price">{{item.price}}</div> | 17 | <div class="price">{{item.price}}</div> |
| 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> | 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,7 +58,7 @@ | ||
| 58 | <!-- 商品展示样式 2 --> | 58 | <!-- 商品展示样式 2 --> |
| 59 | <goods-item-2 class="item" v-for="(item, index) in goodsLists" :key="index" @jump="toDetail(item)" | 59 | <goods-item-2 class="item" v-for="(item, index) in goodsLists" :key="index" @jump="toDetail(item)" |
| 60 | :item="item" | 60 | :item="item" |
| 61 | - pid="4"> | 61 | + pid="5"> |
| 62 | </goods-item-2> | 62 | </goods-item-2> |
| 63 | </div> | 63 | </div> |
| 64 | 64 |