diff --git a/src/components/Index.vue b/src/components/Index.vue index 6e94735..b24f569 100644 --- a/src/components/Index.vue +++ b/src/components/Index.vue @@ -357,19 +357,19 @@ const getluckyBag = (id) => { // 谢谢参与 LuckyWheelCon.value.showDrawAni(5, true); } - if (res.data.data == 188) { + if (res.data.data == 1.88) { // 1.88元 LuckyWheelCon.value.showDrawAni(1, true); } - if (res.data.data == 268) { + if (res.data.data == 2.68) { // 2.68元 LuckyWheelCon.value.showDrawAni(2, true); } - if (res.data.data == 666) { + if (res.data.data == 6.66) { // 6.66元 LuckyWheelCon.value.showDrawAni(3, true); } - if (res.data.data == 888) { + if (res.data.data == 8.88) { // 6.66元 LuckyWheelCon.value.showDrawAni(4, true); } diff --git a/src/page/Home/Home.vue b/src/page/Home/Home.vue index a5ef7d1..1a39ee0 100644 --- a/src/page/Home/Home.vue +++ b/src/page/Home/Home.vue @@ -193,7 +193,7 @@ const getCode = () => { ).then((res) => { let code = res.data.data - console.log("get code结果2",res); + console.log("get code结果3",res); authCode.value = res.data.data window.location.href = res.data.data }) diff --git a/src/store/index.js b/src/store/index.js index 761fc7a..0fa2c22 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -7,7 +7,7 @@ export default createStore({ // 数据源 state: { userAccount: { - xglOpenid: 'o9B_fvsbOdSIIED6fPHjj_lHL24w', //用户openid + xglOpenid: '', //用户openid token: h5plugin.getQueryString('token'), //用户token cardId: h5plugin.getQueryString('cardId'), //carid nkh: h5plugin.getQueryString('nkh'), //牛卡号