修改支付跳转修改打包版本

This commit is contained in:
YeMingfei666 2024-12-13 16:46:16 +08:00
parent f0edf9f419
commit b344413b2a
3 changed files with 19 additions and 5 deletions

View File

@ -14,7 +14,7 @@
},
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"compilerVersion" : 4,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
@ -57,8 +57,8 @@
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
"minSdkVersion" : 26,
"targetSdkVersion" : 28,
"minSdkVersion" : 28,
"targetSdkVersion" : 33,
"schemes" : "com.hnsiyao.duanju"
},
/* ios */

View File

@ -618,6 +618,16 @@
// #endif
},
onShow() {
console.log('onSHow video');
//
if (this.videoContext) {
this.videoContext.play()
}
const noBuyVideoIndex= uni.getStorageSync('noBuyVideoIndex')
if(noBuyVideoIndex!==null&&noBuyVideoIndex!==undefined){
this.noBuyVideoIndex=noBuyVideoIndex
}
try {
this.playType = Number(uni.getStorageSync('playType'))
} catch (e) {

View File

@ -51,16 +51,20 @@
uni.navigateBack()
},500)
}else{
// #ifdef APP
uni.showLoading({
title:'支付中'
})
// #endif
}
});
},
onHide() {
clearInterval(this.timer)
uni.hideLoading()
},
onUnload() {
uni.hideLoading()
},
onLoad: function(option) {
console.log(option)