ios隐藏充值
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- 支付列表 -->
|
||||
<view class="zhif_fangsh" v-if="isAndorid">
|
||||
<view class="zhif_fangsh" >
|
||||
<view class="zhif_radio">
|
||||
<u-radio-group v-model="payType">
|
||||
<view style="width: 100%;">
|
||||
@@ -81,7 +81,7 @@
|
||||
{{item.title}}
|
||||
<span v-if="item.id == 4"
|
||||
style="color: #bbb; margin-left: 10px;">{{userMes.peanutCoin}}天医币可用</span>
|
||||
<span @click.stop="buPoint" style="color: #bf0c0c; margin-left: 10px;" v-if="item.id == 4"
|
||||
<span @click.stop="buPoint" style="color: #bf0c0c; margin-left: 10px;" v-if="item.id == 4 && oprateOs != 'ios'"
|
||||
class="chongBtn">去充值</span>
|
||||
<u-radio :key="index" activeColor="#fe6e09" :name='item.id'
|
||||
style="float: right;margin-top: 5rpx;"></u-radio>
|
||||
@@ -91,7 +91,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- ios支付列表 -->
|
||||
<view class="zhif_fangsh" v-else>
|
||||
<!-- <view class="zhif_fangsh" v-else>
|
||||
<view class="zhif_radio">
|
||||
<u-radio-group v-model="payType">
|
||||
<view style="width: 100%;">
|
||||
@@ -108,7 +108,7 @@
|
||||
</view>
|
||||
</u-radio-group>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="footer">
|
||||
<view class="commodityPrice" v-if="payType != 4">
|
||||
@@ -244,7 +244,7 @@
|
||||
isSend: '0',
|
||||
farePrice: 0,
|
||||
realPrice: 0,
|
||||
payType:null,
|
||||
payType:1,
|
||||
nowClick: true,
|
||||
paylist: [{
|
||||
title: '支付宝',
|
||||
@@ -284,6 +284,7 @@
|
||||
img: '../../static/icon/oder_chong.png'
|
||||
}
|
||||
],
|
||||
oprateOs : ''
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
@@ -322,16 +323,9 @@
|
||||
methods: {
|
||||
// 获得操作系统
|
||||
getOS() {
|
||||
let oprateOs = ''
|
||||
oprateOs = uni.getSystemInfoSync().platform
|
||||
// console.log(oprateOs)
|
||||
if (oprateOs == 'android') {
|
||||
this.isAndorid = true
|
||||
this.payType = 1
|
||||
} else {
|
||||
this.isAndorid = false
|
||||
this.payType = 4
|
||||
}
|
||||
// let oprateOs = ''
|
||||
this.oprateOs = uni.getSystemInfoSync().platform
|
||||
// console.log(oprateOs)
|
||||
},
|
||||
// 充值天医币
|
||||
buPoint() {
|
||||
@@ -585,6 +579,7 @@
|
||||
goBuyJie() {
|
||||
if (this.addressList.length == 0) {
|
||||
this.dizhiShow = true // 如果没有地址信息
|
||||
return
|
||||
}
|
||||
if (!this.nowClick) {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user