|
|
@@ -5,7 +5,7 @@
|
|
|
<view class="showtime">
|
|
|
<text class="float_left order-no-text">{{ item.card_name|| '' }}</text>
|
|
|
</view>
|
|
|
- <view class="item-info" v-for="good in item.card">
|
|
|
+ <view class="item-info" v-for="good in item.card" @click="goGoods(good)">
|
|
|
<image :src="good.product.image" mode=""></image>
|
|
|
<view class="info-info">
|
|
|
<view class="clamp2">
|
|
|
@@ -48,6 +48,12 @@
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+ goGoods(item) {
|
|
|
+ console.log(item)
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'/pages/goods_details/index?id=' + item.product_id
|
|
|
+ })
|
|
|
+ },
|
|
|
tabClick(item, index) {
|
|
|
this.tabCurrentIndex = index;
|
|
|
},
|