苹果支付构建版本
This commit is contained in:
@@ -345,7 +345,7 @@
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
top: 130upx;
|
||||
top: 150rpx;
|
||||
|
||||
.top-left {
|
||||
flex: 1;
|
||||
|
||||
@@ -9,23 +9,23 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="home_nar">
|
||||
<view class="hn_cl_tit" @click="onPageJump('../eBook/bookList')">
|
||||
<view class="hn_cl_tit dianzishu" @click="onPageJump('../eBook/bookList')">
|
||||
<image src="../../static/icon/home_bar_1.png" mode="aspectFit"></image>
|
||||
电子书
|
||||
<text>电子书</text>
|
||||
</view>
|
||||
<!-- <view class="hn_cl_tit" @click="onPageJump('../bookShop/bookShopIndex')"> -->
|
||||
<view class="hn_cl_tit" @click="onPageJump('../bookShop/classify')">
|
||||
<view class="hn_cl_tit chaoshi" @click="onPageJump('../bookShop/classify')">
|
||||
<image src="../../static/icon/home_bar_2.png" mode="aspectFit"></image>
|
||||
健康超市
|
||||
<text>健康超市</text>
|
||||
</view>
|
||||
<view class="hn_cl_tit" @click="onGoing()">
|
||||
<!-- <view class="hn_cl_tit" @click="onGoing()">
|
||||
<image src="../../static/icon/home_bar_3.png" mode="aspectFit"></image>
|
||||
讲书
|
||||
</view>
|
||||
<view class="hn_cl_tit" @click="onGoing()">
|
||||
<image src="../../static/icon/home_bar_4.png" mode="aspectFit"></image>
|
||||
论文集
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view class="home_lunbo">
|
||||
@@ -416,18 +416,27 @@
|
||||
margin: 60rpx 50rpx 0 50rpx;
|
||||
display: flex;
|
||||
color: #333;
|
||||
|
||||
.dianzishu{ margin-right:10rpx;
|
||||
background-color: #d6ffda; border: 2px solid #bae9bf;
|
||||
}
|
||||
.chaoshi{background-color:#fff2d8 ; margin-left:10rpx; border: 2px solid #ede6d3; }
|
||||
.hn_cl_tit {
|
||||
width: 25%;
|
||||
text-align: center;
|
||||
|
||||
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
border-radius: 20rpx ; padding-top: 10rpx;
|
||||
// line-height: 110upx;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
image {
|
||||
|
||||
width: 110upx;
|
||||
height: 110upx;
|
||||
margin: 0 auto;
|
||||
display: inline-block;
|
||||
// margin: 0 auto;
|
||||
// margin: 0 20rpx;
|
||||
}
|
||||
text{height: 100upx; display:inline-block; line-height: 100upx; font-size: 34rpx;}
|
||||
}
|
||||
|
||||
.hn_cl_tit:nth-child(1),
|
||||
|
||||
@@ -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