Jelajahi Sumber

首页穿搭添加点击详情

LXT-NJ\Admin 1 tahun lalu
induk
melakukan
e4076d4246
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      pages/index/index.vue
  2. 1 1
      pages/shouye/index.vue

+ 1 - 1
pages/index/index.vue

@@ -123,7 +123,7 @@
 							</view>
 						</view>
 						<view style="clear: both;"></view>
-						<view v-for="(item,index) in listdata" v-if="index%2==1"
+						<view @click="tiaodapei(item.id)" v-for="(item,index) in listdata" v-if="index%2==1"
 							class="round-3 shadow-2 overflow pa-10 mt-20"
 							:class="[$tm.vx.state().tmVuetify.black ? 'black' : 'white']">
 							<image class="logo" :src="item.image" mode="widthFix"></image>

+ 1 - 1
pages/shouye/index.vue

@@ -123,7 +123,7 @@
 							</view>
 						</view>
 						<view style="clear: both;"></view>
-						<view v-for="(item,index) in listdata" v-if="index%2==1"
+						<view @click="tiaodapei(item.id)" v-for="(item,index) in listdata" v-if="index%2==1"
 							class="round-3 shadow-2 overflow pa-10 mt-20"
 							:class="[$tm.vx.state().tmVuetify.black ? 'black' : 'white']">
 							<image class="logo" :src="item.image" mode="widthFix"></image>