任务观看广告优化

This commit is contained in:
GaoHao 2025-01-17 18:19:11 +08:00
parent 2058c4af58
commit a299b8e846
3 changed files with 7 additions and 5 deletions

View File

@ -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,

View File

@ -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 {
// 退
}

View File

@ -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", {