绿满眶商城微信小程序-uniapp
peng
2025-09-01 0c83611409654cfc53c64345ba60b7e1e5fcc5b7
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;