Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
552d708ff8
3 changed files with 2 additions and 20 deletions
  1. 1
      pages/withdrawal/payment/index.js
  2. 4
      pages/withdrawal/payment/index.json
  3. 17
      pages/withdrawal/payment/index.wxml

1
pages/withdrawal/payment/index.js

@ -99,6 +99,7 @@ Page({
} }
wx.redirectTo({ url: this.data.backUrl }) wx.redirectTo({ url: this.data.backUrl })
} else if(this.data.payType == 2){ } else if(this.data.payType == 2){
wx.showToast({ title: '支付成功', icon: 'success' })
wx.navigateBack({ delta: 1 }) wx.navigateBack({ delta: 1 })
} else if(this.data.payType == 11 || this.data.payType == 14){ } else if(this.data.payType == 11 || this.data.payType == 14){
this.wuxDialog = this.wuxDialog || this.selectComponent('#wux-dialog') this.wuxDialog = this.wuxDialog || this.selectComponent('#wux-dialog')

4
pages/withdrawal/payment/index.json

@ -1,8 +1,6 @@
{ {
"usingComponents": { "usingComponents": {
"wux-button": "/components/button/index", "wux-button": "/components/button/index",
"wux-dialog": "/components/dialog/index",
"wux-cell-group": "/components/cell-group/index",
"wux-cell": "/components/cell/index"
"wux-dialog": "/components/dialog/index"
} }
} }

17
pages/withdrawal/payment/index.wxml

@ -7,23 +7,6 @@
<text class="text-price text-red" style="font-size:80rpx">{{payment}}</text> <text class="text-price text-red" style="font-size:80rpx">{{payment}}</text>
<text class="text-black text-sg" style="margin-top:12rpx">{{payText}}</text> <text class="text-black text-sg" style="margin-top:12rpx">{{payText}}</text>
</view> </view>
<!-- <wux-cell-group>
<wux-cell id="{{1}}" title="余额支付" bind:click="checkRadio">
<view slot="header" class="cuIcon-recharge text-blue" style="width:32rpx;height:32rpx;margin:8rpx 12rpx 0rpx 0rpx"></view>
<text slot="footer" class="cuIcon-{{payIndex==1?'roundcheckfill':'round'}} text-blue" style="font-size:22px"></text>
</wux-cell>
<wux-cell id="{{2}}" title="千鸟支付" bind:click="checkRadio">
<view slot="header" class="cuIcon-vip text-blue" style="width:32rpx;height:32rpx;margin:8rpx 12rpx 0rpx 0rpx"></view>
<text slot="footer" class="cuIcon-{{payIndex==2?'roundcheckfill':'round'}} text-blue" style="font-size:22px"></text>
</wux-cell>
</wux-cell-group>
<view style="padding:24rpx">第三方支付</view>
<wux-cell-group>
<wux-cell id="{{3}}" title="微信支付" bind:click="checkRadio">
<view slot="header" class="cuIcon-weixin text-blue" style="width:32rpx;height:32rpx;margin:8rpx 12rpx 0rpx 0rpx"></view>
<text slot="footer" class="cuIcon-{{payIndex==3?'roundcheckfill':'round'}} text-blue" style="font-size:22px"></text>
</wux-cell>
</wux-cell-group> -->
<view style="padding:96rpx 48rpx"> <view style="padding:96rpx 48rpx">
<wux-button block type="positive" disabled="{{requesting}}" bind:click="submitForm">立即支付</wux-button> <wux-button block type="positive" disabled="{{requesting}}" bind:click="submitForm">立即支付</wux-button>

Loading…
Cancel
Save