Compare commits
3 Commits
884b7e5b38
...
0cac04e0db
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0cac04e0db | ||
|
|
5a97172f36 | ||
|
|
a665e924cc |
@ -18,7 +18,7 @@
|
|||||||
</swiper>
|
</swiper>
|
||||||
|
|
||||||
<view class="NumDot">
|
<view class="NumDot">
|
||||||
{{ currentIndex }} / {{ currentGG.goods_carousel.length }}
|
{{ currentIndex }} / {{ currentGG.goods_carousel ? currentGG.goods_carousel.length : 0 }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="GG_rigth" @click="showSizePopup">
|
<view class="GG_rigth" @click="showSizePopup">
|
||||||
共{{ info.commodity_goods_info_list.length }}款<u-icon size="26rpx" name="arrow-right"></u-icon>
|
共{{ info.commodity_goods_info_list ? info.commodity_goods_info_list.length : 0 }}款<u-icon size="26rpx" name="arrow-right"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
@ -371,6 +371,8 @@ export default {
|
|||||||
const goods = this.goodsDetail.find(g => g.goods_id === param.id);
|
const goods = this.goodsDetail.find(g => g.goods_id === param.id);
|
||||||
if (goods) {
|
if (goods) {
|
||||||
this.$set(param, 'quantity', goods.count);
|
this.$set(param, 'quantity', goods.count);
|
||||||
|
}else{
|
||||||
|
this.$set(param, 'quantity', 0);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -64,7 +64,7 @@ page {
|
|||||||
|
|
||||||
.hot-word-item {
|
.hot-word-item {
|
||||||
height: 50rpx;
|
height: 50rpx;
|
||||||
line-height: 50rpx;
|
line-height: 53rpx;
|
||||||
padding: 0 15rpx;
|
padding: 0 15rpx;
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user