diff --git a/pages/share/index.vue b/pages/share/index.vue index d11c06e..09f2bba 100644 --- a/pages/share/index.vue +++ b/pages/share/index.vue @@ -98,7 +98,6 @@ import config from '@/commons/config.js'; let data = reactive({ loading:false, - qrcode: false, earning: { inviteMoney: 0, inviteGoldMoney: 0, @@ -122,8 +121,6 @@ bgImg: '', tuiguang: '', invitationCode: uni.getStorageSync('userInfo').invitationCode, - h5SaveImg: '', - haibaoImgH5: '', inviteSignCount:0, canvasW: 350, canvasH: 667, diff --git a/pages/task/index.vue b/pages/task/index.vue index aae4fb2..70c0769 100644 --- a/pages/task/index.vue +++ b/pages/task/index.vue @@ -110,7 +110,7 @@ }) const adRewarded = ref(null); onShow(() => { - $common.init() + // $common.init() // if ( uni.getSystemInfoSync().platform == 'android' ) { // datas.adpid = 1531580352 // } @@ -276,6 +276,10 @@ let res = await state({ extraKey: datas.urlCallback.extra }) + uni.showToast({ + title: '获得' + $common.freeDuration + '分钟免费时长', + icon: 'none' + }) } else { // 播放中途退出 } diff --git a/store/common.js b/store/common.js index 4287913..a61b5c9 100644 --- a/store/common.js +++ b/store/common.js @@ -38,7 +38,8 @@ const $map = { 922: 'withdrawNum', 500: 'payTips', 914: 'goldBili', // 金币比例 - 919: 'isExamine' //是否ios审核中 + 919: 'isExamine', //是否ios审核中 + 921: 'freeDuration' //看广告免费分钟时长 } export const useCommonStore = defineStore("common", {