Browse Source

点击事件修改

tanxue 1 month ago
parent
commit
7f6b137673
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pages/chanpinneirong/index.vue

+ 2 - 2
pages/chanpinneirong/index.vue

@@ -35,7 +35,7 @@
 
 				</view>
 				<view class="xx-item-list">
-					<view class="xx-item-box" v-for="section in dagangList" :key="section.jieId">
+					<view class="xx-item-box" v-for="section in dagangList" :key="section.jieId" @click="handlePlay(section,'play')" >
 						<view class="xx-item-status"
 							:class="section.wanchengFlag == 1 ? 'completed-status' : 'uncompleted-status'"> </view>
 						<img :src="section.cover" />
@@ -43,7 +43,7 @@
 							<view>{{ section.jieName }}</view>
 							<view>{{ section.jieIntro }}</view>
 						</view>
-						<view @click="handlePlay(section,'play')" class="xx-item-btn"></view>
+						<view class="xx-item-btn"></view>
 					</view>
 				</view>
 				<!-- 底部占位 -->