This commit is contained in:
xiaozhiyong
2023-06-01 19:59:47 +08:00
parent 12d19c841d
commit bb00c6ed4a
4 changed files with 104 additions and 126 deletions

View File

@@ -69,7 +69,7 @@
})
}
interstitialAd.onLoad((err) => {
console.log('onLoad event emit', err)
// console.log('onLoad event emit', err)
})
interstitialAd.onError((err) => {
setTimeout(() => {
@@ -77,7 +77,7 @@
uni.switchTab({
url: '/pages/tabbar/home/home',
fail: (err) => {
console.log(err)
// console.log(err)
}
// url:'/BagStation/orderDetail/orderDetail'
})
@@ -87,12 +87,12 @@
})
}
}, 2000)
console.log('onError event emit', err)
// console.log('onError event emit', err)
})
// 在适合的场景显示插屏广告
if (interstitialAd) {
interstitialAd.show().catch((err) => {
console.error(err)
// console.error(err)
})
}
interstitialAd.onClose(res => {
@@ -101,7 +101,7 @@
uni.switchTab({
url: '/pages/tabbar/home/home',
fail: (err) => {
console.log(err)
// console.log(err)
}
// url:'/BagStation/orderDetail/orderDetail'
})
@@ -118,7 +118,7 @@
updateManager.onCheckForUpdate(function(res) {
// 请求完新版本信息的回调
console.log('请求完新版本信息的回调', res.hasUpdate);
// console.log('请求完新版本信息的回调', res.hasUpdate);
});
updateManager.onUpdateReady(function(res) {
@@ -165,7 +165,7 @@
value: item.id
})
})
console.log(channelCodes, productCodes, siteBrands)
// console.log(channelCodes, productCodes, siteBrands)
this.menuList[0].detailList = this.menuList[0].detailList.concat(channelCodes)
this.menuList[1].detailList = this.menuList[1].detailList.concat(productCodes)
this.menuList[2].detailList = this.menuList[2].detailList.concat(siteBrands)