发货+兼容苹果
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
优惠券
|
||||
</view>
|
||||
<!-- <b class="chong_btn" @click="onPageJump('../sdkDemo/pay')">充 值</b> -->
|
||||
<b class="chong_btn" @click="onPageJump('./reCharge')">充 值</b>
|
||||
<b class="chong_btn" v-if="platform != 'ios'" @click="onPageJump('./reCharge')">充 值</b>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -132,14 +132,19 @@
|
||||
signShow: false,
|
||||
signContent: '是否要退出登录?',
|
||||
playData:{},
|
||||
isAndorid:true,
|
||||
isAndorid:true,
|
||||
platform : null, // 设备系统
|
||||
};
|
||||
},
|
||||
//第一次加载
|
||||
onLoad(e) {
|
||||
// 隐藏原生的tabbar
|
||||
uni.hideTabBar();
|
||||
this.getOS()
|
||||
uni.hideTabBar();
|
||||
// #ifdef APP-PLUS
|
||||
this.getOS()
|
||||
this.platform = uni.getSystemInfoSync().platform
|
||||
// console.log('操纵系统',this.platform)
|
||||
// #endif
|
||||
},
|
||||
computed: {
|
||||
...mapState(['userInfo'])
|
||||
@@ -157,7 +162,7 @@
|
||||
methods: {
|
||||
// 获得操作系统
|
||||
getOS(){
|
||||
let oprateOs = ''
|
||||
let oprateOs = ''
|
||||
oprateOs = uni.getSystemInfoSync().platform
|
||||
// console.log(oprateOs)
|
||||
if(oprateOs == 'android'){
|
||||
|
||||
Reference in New Issue
Block a user