修复团购商品详情页面报错

This commit is contained in:
赵毅 2025-08-20 17:49:55 +08:00
parent ab21a6f441
commit 716d94c0d8

View File

@ -14,7 +14,7 @@
</swiper-item> </swiper-item>
</swiper> </swiper>
<view class="NumDot"> <view class="NumDot" v-if="currentGG.goods_carousel && currentGG.goods_carousel.length > 0">
{{ currentIndex }} /{{ currentGG.goods_carousel.length }} {{ currentIndex }} /{{ currentGG.goods_carousel.length }}
</view> </view>
</view> </view>
@ -64,7 +64,7 @@
{{ item.goods_spec }} / {{ item.goods_unit }} {{ item.goods_spec }} / {{ item.goods_unit }}
</view> </view>
</view> </view>
<view class="GG_rigth"> <view class="GG_rigth" v-if="info.commodity_goods_info_list && info.commodity_goods_info_list.length > 0">
{{ info.commodity_goods_info_list.length }}<u-icon size="26rpx" name="arrow-right"></u-icon> {{ info.commodity_goods_info_list.length }}<u-icon size="26rpx" name="arrow-right"></u-icon>
</view> </view>
</view> </view>
@ -262,7 +262,7 @@
</u-popup> --> </u-popup> -->
<!-- 团购记录弹窗 --> <!-- 团购记录弹窗 -->
<u-popup :show="showPurchase" round="20rpx" mode="bottom" @close="closePurchase" @open="open"> <u-popup :show="showPurchase" round="20rpx" mode="bottom" @close="closePurchase">
<view class="purchase-popup"> <view class="purchase-popup">
<view class="popup-header"> <view class="popup-header">
<h3 class="popup-header-h3">团购记录</h3> <h3 class="popup-header-h3">团购记录</h3>
@ -289,7 +289,7 @@
</u-popup> </u-popup>
<!-- 选择款式 --> <!-- 选择款式 -->
<u-popup :show="showSize" round="20rpx" mode="bottom" @close="closeSize" @open="open"> <u-popup :show="showSize" round="20rpx" mode="bottom" @close="closeSize">
<view class="popup-header"> <view class="popup-header">
<h3 class="popup-header-h3">选择款式</h3> <h3 class="popup-header-h3">选择款式</h3>
<view class="popup-header-view" @click="closeSize">取消</view> <view class="popup-header-view" @click="closeSize">取消</view>
@ -369,7 +369,7 @@ export default {
time: "2024-02-04 22:30:35" time: "2024-02-04 22:30:35"
}, },
{ {
avatar: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test2.png", avatar: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test.png",
username: "高*", username: "高*",
amount: 1, amount: 1,
time: "2024-02-04 22:30:35" time: "2024-02-04 22:30:35"
@ -381,7 +381,7 @@ export default {
time: "2024-02-04 22:30:35" time: "2024-02-04 22:30:35"
}, },
{ {
avatar: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test2.png", avatar: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test.png",
username: "高*", username: "高*",
amount: 1, amount: 1,
time: "2024-02-04 22:30:35" time: "2024-02-04 22:30:35"