diff --git a/src/assets/img/rule_text.png b/src/assets/img/rule_text.png index 6b39929..0fd5a0c 100644 Binary files a/src/assets/img/rule_text.png and b/src/assets/img/rule_text.png differ diff --git a/src/components/Index.vue b/src/components/Index.vue index d943699..6eabef5 100644 --- a/src/components/Index.vue +++ b/src/components/Index.vue @@ -453,13 +453,10 @@ const activityBtn = (item) => { if (item.id == 4) { console.log("牛牛杯"); - let urlTarget = "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_uD5KUL2d"; - - - wx.miniProgram.redirectTo({url:urlTarget,}); - // window.location.href = - // "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_uD5KUL2d"; + + window.location.href = + "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_uD5KUL2d"; // setTimeout(()=>{ // location.replace(location.href) // },1000) diff --git a/src/page/Home/Home.vue b/src/page/Home/Home.vue index dafd7ab..d7a4977 100644 --- a/src/page/Home/Home.vue +++ b/src/page/Home/Home.vue @@ -63,15 +63,6 @@ const getBrithday = () => { process.env.VUE_APP_API + "/cms-activity/cms88/user/isin/birthday", {} ); - // .then((res) => { - // console.log("生日是否处于当月:", res.data.data); - // // store.state.userAccount.isBirthMon = 1 - // store.commit({ - // type: "updateBirthMoon", - // isBirthMon: res.data.data, - // // isBirthMon: 1, - // }); - // }); }; // 查询是否添加了企微: isInActivityDate 0活动前是否存在 1活动期间是否存在 @@ -83,15 +74,6 @@ const getIsAddService = (id) => { isInActivityDate, {} ); - // .then((res) => { - // console.log("是否添加了企微", res.data); - // // store.state.userAccount.isBirthMon = res.data.data - // store.commit({ - // type: "updateIsAddCustomer", - // // isBirthMon:res.data.data, - // isAddCustomer: res.data.data, - // }); - // }); }; // 红包记录 @@ -100,14 +82,6 @@ const getMyPrizeRecored = () => { process.env.VUE_APP_API + "/cms-activity/cms88/prize/list", {} ); - // .then((res) => { - // console.log("红包记录:", res.data); - - // store.commit({ - // type: "updatePrizeList", - // prizeList: res.data.data, - // }); - // }); }; // 查询员工企业-微信二维码 @@ -115,28 +89,14 @@ const gerCardId = (carid) => { return service.get( process.env.VUE_APP_API + "/cms-activity/cms88/card/qrcode/" + carid ); - // .then((res) => { - // console.log("企微二维码:", res.data.data); - // store.commit({ - // type: "updateeEqcodeImg", - // eqcodeImg: res.data.data, - // }); - // }); }; // 获取绑定的资金账号 const getInfo = () => { - // return new Promise((resolve, reject) => { - - // }); - return service.post( process.env.VUE_APP_API + "/cms-activity/cms88/nkh/info", {} ); - // .then((res) => { - // console.log("资金账号:", res.data); - // }); }; // 接口数据处理 @@ -211,14 +171,15 @@ onBeforeMount(() => { if (h5plugin.isWX()) { // console.log("code:", h5plugin.getQueryString("code")); - if (h5plugin.getQueryString("code")) { - // 存在code的话去换取openid - authCode.value = h5plugin.getQueryString("code"); - getOpenId(authCode.value); - } else { - getCode(); - } + // if (h5plugin.getQueryString("code")) { + // // 存在code的话去换取openid + // authCode.value = h5plugin.getQueryString("code"); + // getOpenId(authCode.value); + // } else { + // getCode(); + // } + apiAll(); // 一步授权 // if(h5plugin.getQueryString("openid")){