ios隐藏充值
This commit is contained in:
@@ -120,10 +120,10 @@
|
||||
productid: '',
|
||||
isAndroid: true, // 是否为安卓环境
|
||||
|
||||
payType: 2,
|
||||
// #ifdef APP-IOS
|
||||
payType: 3,
|
||||
// #endif
|
||||
payType: null,
|
||||
// // #ifdef APP-IOS
|
||||
// payType: 3,
|
||||
// // #endif
|
||||
paylist: [{
|
||||
title: '支付宝',
|
||||
id: 2,
|
||||
@@ -143,6 +143,7 @@
|
||||
transaction: { // 成功回调
|
||||
|
||||
},
|
||||
oprateOs:'',
|
||||
};
|
||||
},
|
||||
//第一次加载
|
||||
@@ -150,6 +151,7 @@
|
||||
// 隐藏原生的tabbar
|
||||
uni.hideTabBar();
|
||||
this.chargeOrderSn = e.orderSn
|
||||
this.oprateOs = uni.getSystemInfoSync().platform
|
||||
// console.log(e.orderSn,'orderSn')
|
||||
},
|
||||
//页面显示
|
||||
@@ -401,9 +403,11 @@
|
||||
getDevName() {
|
||||
// 获取使用环境
|
||||
if (uni.getSystemInfoSync().platform === 'android') {
|
||||
this.isAndroid = true
|
||||
this.isAndroid = true
|
||||
this.payType = 1
|
||||
// console.log('运行Android上')
|
||||
} else {
|
||||
this.payType = 4
|
||||
this.isAndroid = false
|
||||
// console.log('运行iOS上')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user