发货+兼容苹果

This commit is contained in:
@fawn-nine
2023-10-31 16:50:02 +08:00
parent 0a3bf99719
commit 8da1734b17
13 changed files with 158 additions and 151 deletions

View File

@@ -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'){