修改支付跳转修改打包版本
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
},
|
},
|
||||||
"usingComponents" : true,
|
"usingComponents" : true,
|
||||||
"nvueStyleCompiler" : "uni-app",
|
"nvueStyleCompiler" : "uni-app",
|
||||||
"compilerVersion" : 3,
|
"compilerVersion" : 4,
|
||||||
"splashscreen" : {
|
"splashscreen" : {
|
||||||
"alwaysShowBeforeRender" : true,
|
"alwaysShowBeforeRender" : true,
|
||||||
"waiting" : true,
|
"waiting" : true,
|
||||||
@@ -57,8 +57,8 @@
|
|||||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
||||||
],
|
],
|
||||||
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
|
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
|
||||||
"minSdkVersion" : 26,
|
"minSdkVersion" : 28,
|
||||||
"targetSdkVersion" : 28,
|
"targetSdkVersion" : 33,
|
||||||
"schemes" : "com.hnsiyao.duanju"
|
"schemes" : "com.hnsiyao.duanju"
|
||||||
},
|
},
|
||||||
/* ios打包配置 */
|
/* ios打包配置 */
|
||||||
|
|||||||
@@ -618,6 +618,16 @@
|
|||||||
// #endif
|
// #endif
|
||||||
},
|
},
|
||||||
onShow() {
|
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 {
|
try {
|
||||||
this.playType = Number(uni.getStorageSync('playType'))
|
this.playType = Number(uni.getStorageSync('playType'))
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
@@ -51,16 +51,20 @@
|
|||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
},500)
|
},500)
|
||||||
}else{
|
}else{
|
||||||
|
// #ifdef APP
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title:'支付中'
|
title:'支付中'
|
||||||
})
|
})
|
||||||
|
// #endif
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onHide() {
|
onHide() {
|
||||||
clearInterval(this.timer)
|
clearInterval(this.timer)
|
||||||
|
uni.hideLoading()
|
||||||
|
},
|
||||||
|
onUnload() {
|
||||||
|
uni.hideLoading()
|
||||||
},
|
},
|
||||||
onLoad: function(option) {
|
onLoad: function(option) {
|
||||||
console.log(option)
|
console.log(option)
|
||||||
|
|||||||
Reference in New Issue
Block a user