Browse Source

no message

feature/v1.1
xpz2018 5 years ago
parent
commit
cd3cde2b36
3 changed files with 6 additions and 5 deletions
  1. 5
      pages/process/agent-list/index.js
  2. 4
      pages/process/order-info/index.wxml
  3. 2
      pages/process/payment/index.js

5
pages/process/agent-list/index.js

@ -11,8 +11,9 @@ Page({
tabIndex: 0, tabIndex: 0,
tabList: [ tabList: [
{id: 0, name: '全部', badge: 0, status: '' }, {id: 0, name: '全部', badge: 0, status: '' },
{id: 1, name: '审核中', badge: 0, status: 41 },
{id: 4, name: '已付款', badge: 0, status: 42 }
{id: 1, name: '申请中', badge: 0, status: 41 },
{id: 4, name: '待还款', badge: 0, status: 42 },
{id: 4, name: '已还款', badge: 0, status: 42 }
// {id: 6, name: '已取消', badge: 0, status: 6 } // {id: 6, name: '已取消', badge: 0, status: 6 }
], ],
loading: true, loading: true,

4
pages/process/order-info/index.wxml

@ -15,7 +15,7 @@
</view> </view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 4}}"> <view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 4}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image> <image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">待付款(请前往后台支付)</view>
<view class="text-white text-sg" style="margin-left:12rpx">待付款</view>
</view> </view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 41}}"> <view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 41}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image> <image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>
@ -23,7 +23,7 @@
</view> </view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 42}}"> <view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 42}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image> <image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">待结算(请前往后台支付)</view>
<view class="text-white text-sg" style="margin-left:12rpx">待结算</view>
</view> </view>
<view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 5}}"> <view class="flex flex-center info_status" style="justify-content: flex-start;" wx:elif="{{form.status == 5}}">
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image> <image style="height:42rpx;width:42rpx" src="/assets/image/icon_payfor.png"></image>

2
pages/process/payment/index.js

@ -118,7 +118,7 @@ Page({
this.data.params[e.target.id] = e.detail.value this.data.params[e.target.id] = e.detail.value
}, },
agentPayment: function(settleType){ agentPayment: function(settleType){
if(Number(settleType) != 1 || Number(settleType) != 2){
if(Number(settleType) != 1 && Number(settleType) != 2){
settleType = 3 settleType = 3
} }
wx.showLoading({ title: '正在处理', mask: true }) wx.showLoading({ title: '正在处理', mask: true })

Loading…
Cancel
Save