瀏覽代碼

首页穿搭添加点击详情

LXT-NJ\Admin 1 年之前
父節點
當前提交
e4076d4246
共有 2 個文件被更改,包括 2 次插入2 次删除
  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>