绿满眶商城微信小程序-uniapp
peng
2025-10-27 30ad7ef2b8d6298207e8ed24f9016b8e9cff7d71
pages/tabbar/index/home.vue
@@ -265,7 +265,7 @@
import ActivityPopup from '@/pages/ActivityPopup/ActivityPopup.vue'
import { mapState, mapMutations } from 'vuex'
import { setPopupRedisTime, getPopupAcitivty } from '@/api/popup.js'
import { setPopupRedisTime, getPopupAcitivty,hideActivityPopupToday } from '@/api/popup.js'
import { changeCollect } from "@/api/collect.js";
import { saveShare, saveShareClickRecord} from "@/api/share.js";
import { getSessionId, userAction,userShare  } from "@/api/userAction.js";
@@ -596,6 +596,8 @@
      },
      ...mapMutations(['showActivityPopup', 'hideActivityPopup']), // 引入Vuex的方法
      onClosePopup() {
         this.hideActivityPopup()
      },