diff --git a/src/assets/img/pop/service_pop_1.png b/src/assets/img/pop/service_pop_1.png index 32c3075..cf54050 100644 Binary files a/src/assets/img/pop/service_pop_1.png and b/src/assets/img/pop/service_pop_1.png differ diff --git a/src/components/Index.vue b/src/components/Index.vue index 0deee03..4b66f5b 100644 --- a/src/components/Index.vue +++ b/src/components/Index.vue @@ -173,9 +173,16 @@ const activityList = reactive([ // 页面挂载前 onBeforeMount(() => { - if (store.state.userAccount.isHasPrize.length != 0) { + + // 判断参与活动红包是否领取 + let arr = store.state.userAccount.prizeList + arr.forEach(element => { + if(element.type == 1){ isDraw.value = true; - } + console.log("222222222222222222222222222222222"); + } + }); + }); // 入场动画 @@ -267,11 +274,8 @@ const activityBtn = (item) => { if (item.id == 3) { console.log("生日专享页面"); - wx.miniProgram.navigateTo({ - url: "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_8rrkjpiS", - }); - // window.location.href = - // "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_8rrkjpiS"; + window.location.href = + "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_8rrkjpiS"; } if (item.id == 4) { diff --git a/src/components/MyPrize.vue b/src/components/MyPrize.vue index 5945d1c..48d0d20 100644 --- a/src/components/MyPrize.vue +++ b/src/components/MyPrize.vue @@ -9,12 +9,7 @@
-
+
{{ item.prizeNum }}元红包
{{ item.spe }}
@@ -22,10 +17,11 @@
@@ -39,6 +35,15 @@
+ +
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/page/Home/Home.vue b/src/page/Home/Home.vue index a37a5bd..d454bbd 100644 --- a/src/page/Home/Home.vue +++ b/src/page/Home/Home.vue @@ -8,143 +8,156 @@