修改支付跳转修改打包版本
This commit is contained in:
parent
f0edf9f419
commit
b344413b2a
|
|
@ -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打包配置 */
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue