|
@@ -1,10 +1,18 @@
|
|
-<view class="gradeContainer" catchtouchmove='true' bindtap="closeTranscript">
|
|
|
|
|
|
+<view class="gradeContainer" catchtouchmove='true' wx:if="{{state}}">
|
|
<view class="popBox zoomIn">
|
|
<view class="popBox zoomIn">
|
|
<view class="title">选择支付方式
|
|
<view class="title">选择支付方式
|
|
- <image src="/static/bclose.png" class="close" />
|
|
|
|
|
|
+ <image src="/static/bclose.png" class="close" bindtap="closeTranscript" />
|
|
</view>
|
|
</view>
|
|
- <radio-group bindchange="radioChange" class="group">
|
|
|
|
- <label class="weui-cell" style="border-bottom: 2rpx solid white;">
|
|
|
|
|
|
+ <radio-group catch:change="radioChange" class="group">
|
|
|
|
+ <label class="weui-cell" wx:for="{{items}}" wx:key="value"
|
|
|
|
+ style="border-bottom: 2rpx solid white;">
|
|
|
|
+ <view class="pay-row">
|
|
|
|
+ <image src="/static/{{item.value}}.png" class="{{item.value}}" />
|
|
|
|
+ <view class="name">{{item.name}}支付</view>
|
|
|
|
+ </view>
|
|
|
|
+ <radio value="{{item.value}}" checked="{{item.checked}}" color='#FFAC00' />
|
|
|
|
+ </label>
|
|
|
|
+ <!-- <label class="weui-cell" style="border-bottom: 2rpx solid white;">
|
|
<view class="pay-row">
|
|
<view class="pay-row">
|
|
<image src="/static/wxpay.png" class="wximg" />
|
|
<image src="/static/wxpay.png" class="wximg" />
|
|
<view class="name">微信支付</view>
|
|
<view class="name">微信支付</view>
|
|
@@ -17,13 +25,12 @@
|
|
<view class="name">支付宝支付</view>
|
|
<view class="name">支付宝支付</view>
|
|
</view>
|
|
</view>
|
|
<radio value="alipay" checked="true" color='#FFAC00' />
|
|
<radio value="alipay" checked="true" color='#FFAC00' />
|
|
- </label>
|
|
|
|
|
|
+ </label> -->
|
|
</radio-group>
|
|
</radio-group>
|
|
<view class="paymentBox">
|
|
<view class="paymentBox">
|
|
- <view class="payment">应付款:<view class="num">¥299</view>
|
|
|
|
|
|
+ <view class="payment">应付款:<view class="num">¥{{product.price/100}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="pay" bindtap="toBuy">立即支付</view>
|
|
<view class="pay" bindtap="toBuy">立即支付</view>
|
|
-
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|