Browse Source

首页穿搭添加点击详情

LXT-NJ\Admin 1 year ago
parent
commit
e4076d4246
2 changed files with 2 additions and 2 deletions
  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>
 						</view>
 						<view style="clear: both;"></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="round-3 shadow-2 overflow pa-10 mt-20"
 							:class="[$tm.vx.state().tmVuetify.black ? 'black' : 'white']">
 							:class="[$tm.vx.state().tmVuetify.black ? 'black' : 'white']">
 							<image class="logo" :src="item.image" mode="widthFix"></image>
 							<image class="logo" :src="item.image" mode="widthFix"></image>

+ 1 - 1
pages/shouye/index.vue

@@ -123,7 +123,7 @@
 							</view>
 							</view>
 						</view>
 						</view>
 						<view style="clear: both;"></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="round-3 shadow-2 overflow pa-10 mt-20"
 							:class="[$tm.vx.state().tmVuetify.black ? 'black' : 'white']">
 							:class="[$tm.vx.state().tmVuetify.black ? 'black' : 'white']">
 							<image class="logo" :src="item.image" mode="widthFix"></image>
 							<image class="logo" :src="item.image" mode="widthFix"></image>