苹果支付构建版本
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
<view class="cf_radio">
|
||||
<u-radio-group v-model="payType">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<!-- #ifdef APP-ANDROID -->
|
||||
<view style="width: 100%;" >
|
||||
<view v-for="(item, index) in paylist" @click="choseType(item.id)"
|
||||
:class="payType == item.id?'Tab_xf cf_xuanx':'cf_xuanx'">
|
||||
@@ -57,7 +57,7 @@
|
||||
<view>* 我已阅读并同意<span class="highlight" @click="showXieyi">《增值服务协议》</span></view>
|
||||
</view>
|
||||
<view class="char_btn">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<!-- #ifdef APP-ANDROID -->
|
||||
<view @click="kaiChar">立即充值</view>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP-IOS -->
|
||||
@@ -124,7 +124,7 @@
|
||||
}
|
||||
],
|
||||
iosPaylist: [{
|
||||
title: 'IOS支付',
|
||||
title: 'apple pay支付',
|
||||
id: 3,
|
||||
img: '../../static/icon/pay_2.png'
|
||||
}],
|
||||
@@ -191,6 +191,7 @@
|
||||
mask: true
|
||||
})
|
||||
const that = this
|
||||
console.log(that.stepsCj.priceTypeId,88888888)
|
||||
// ['xxxxx'] 是平台申请拿到的内购商品的id
|
||||
that.iapChannel.requestOrder(that.stepsCj.priceTypeId, function(event) {
|
||||
// uni.hideLoading()
|
||||
|
||||
Reference in New Issue
Block a user