From 0c83611409654cfc53c64345ba60b7e1e5fcc5b7 Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期一, 01 九月 2025 14:27:22 +0800 Subject: [PATCH] 调整弹窗样式 --- pages/tabbar/index/home.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/tabbar/index/home.vue b/pages/tabbar/index/home.vue index c0fbd55..56c15b5 100644 --- a/pages/tabbar/index/home.vue +++ b/pages/tabbar/index/home.vue @@ -270,8 +270,8 @@ :activityDesc="activityPopup.desc" :activityImage="activityPopup.image" :endTime="activityPopup.endTime" + :prizeActivityId="activityPopup.prizeActivityId" @close="onClosePopup" - @join="onJoinActivity" /> </view> </template> @@ -519,7 +519,8 @@ title: obj.activityName, desc: obj.activityDes, image: obj.activityCoverUrl, - endTime:new Date(obj.endTime).getTime() + endTime:new Date(obj.endTime).getTime(), + prizeActivityId:obj.id }) }else{ this.hideActivityPopup() @@ -535,11 +536,6 @@ }, ...mapMutations(['showActivityPopup','hideActivityPopup']), // 寮曞叆Vuex鐨勬柟娉� onClosePopup() { - this.hideActivityPopup() - }, - onJoinActivity() { - // 澶勭悊鍙備笌娲诲姩閫昏緫 - console.log('鍏ㄥ眬锛氱敤鎴峰弬涓庢椿鍔�') this.hideActivityPopup() }, replyClick(reply){ @@ -1005,7 +1001,9 @@ this.videoNoMore = true; return; } + if(res.data.code===200){ this.videoQuery.pageNumber++; + } }) }else{ @@ -1033,7 +1031,9 @@ this.videoNoMore = true; return; } - this.videoQuery.pageNumber++; + if(res.data.code===200){ + this.videoQuery.pageNumber++; + } }) } @@ -1467,7 +1467,7 @@ /* 鍟嗗搧閾炬帴鎮寕灞傛牱寮� */ .goods-link-warp { position: absolute; - bottom: 160px; + bottom: 100px; left: 20px; color: #f8f8f8; z-index: 10; -- Gitblit v1.8.0