Browse Source

no message

feature/v2.1
xpz2018 4 years ago
parent
commit
f7cd8a6997
5 changed files with 37 additions and 11 deletions
  1. 5
      pages/process/agent-list/index.js
  2. 14
      pages/process/agent-list/index.wxml
  3. 18
      pages/process/index/index.wxml
  4. 2
      pages/process/order-info/index.wxml
  5. 9
      project.config.json

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

@ -9,10 +9,9 @@ Scene({
height: app.globalData.fragmentHeight - 90,
tabIndex: 0,
tabList: [
{id: 0, name: '全部', badge: 0, status: '' },
// {id: 1, name: '申请中', badge: 0, status: 41 },
{id: 4, name: '待还款', badge: 0, status: 0 },
{id: 4, name: '已还款', badge: 0, status: 1 }
{id: 4, name: '已还款', badge: 0, status: 1 },
{id: 0, name: '全部', badge: 0, status: '' }
],
loading: true,
requesting: false,

14
pages/process/agent-list/index.wxml

@ -3,6 +3,16 @@
<view slot="content">代付订单</view>
</cu-custom>
<!-- <view class="bg-white flex flex-justify van-hairline--top" style="height:90rpx;padding:0rpx 32rpx">
<view class="flex flex-center text-sg">
<text>今日应付金额:</text>
<text class="text-red">85000.00</text>
</view>
<view class="flex flex-center text-sg">
<text>应付总金额:</text>
<text class="text-red">85000.00</text>
</view>
</view> -->
<van-tabs sticky active="{{tabIndex}}" color="#008AFF" bind:change="onTabChange" line-height="2px" swipe-threshold="5" ellipsis="{{false}}">
<van-tab wx:for="{{tabList}}" wx:key="index" title="{{item.name}}" title-style="color:{{tabIndex==index?'#008AFF':'#333333'}}"></van-tab>
</van-tabs>
@ -22,7 +32,7 @@
</view>
<view class="item-content" data-page="{{pageIndex}}" data-index="{{index}}" bindtap="lookItem">
<view class="flex flex-justify">
<text class="text-sg text-black">{{item.customerPersonName}}</text>
<text class="text-sg text-black van-ellipsis text-bold" style="max-width: 560rpx;">{{item.customerPersonName}}</text>
<view class="flex" >
<van-tag plain round type="danger" wx:if="{{item.status == 0 && item.isOverdue == 1}}">已逾期</van-tag>
<view class="text-df" style="color:#FA541C;margin-left:12rpx" wx:if="{{item.status == 0}}">待还款</view>
@ -44,4 +54,6 @@
</van-divider>
</refresh-view>
<notification id="qn-notification"/>

18
pages/process/index/index.wxml

@ -75,7 +75,7 @@
<view style="padding: 0rpx 28rpx;margin-top:24rpx" bindtap="agentList" wx:else>
<view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx 8rpx 0rpx">
<view class="flex flex-justify" style="padding: 0rpx 28rpx 16rpx 28rpx">
<view class="text-black text-sg text-bold">千鸟代付额度</view>
<view class="text-black text-sg text-bold">千鸟代付</view>
<view class="flex flex-center" style="padding:4rpx 0rpx 4rpx 4rpx">
<view class="text-gray text-sm" style="margin-right:8rpx">查看代付详情</view>
<van-icon name="arrow" color="#aaa"/>
@ -97,6 +97,22 @@
<view class="text-xxl text-bold text-blue text-price" style="margin:12rpx 0rpx">{{totalInfo.usedCreditLine || 0}}</view>
</view>
</view>
<view class="flex" style="padding:0rpx 0rpx 12rpx 0rpx">
<view style="flex:1;padding:0rpx 32rpx;margin-right:12rpx">
<view class="flex flex-center" style="justify-content: flex-start">
<view style="height:24rpx;width:6rpx;background:#007AFF"></view>
<view class="text-black text-sm" style="margin-left: 12rpx">今日应还款金额</view>
</view>
<view class="text-xxl text-bold text-price" style="margin:12rpx 0rpx">{{totalInfo.availableCreditLine || 0}}</view>
</view>
<view style="flex:1;padding:0rpx 32rpx;margin-left:12rpx">
<!-- <view class="flex flex-center" style="justify-content: flex-start">
<view style="height:24rpx;width:6rpx;background:#FF8413"></view>
<view class="text-black text-sm" style="margin-left: 12rpx">应还总金额</view>
</view>
<view class="text-xxl text-bold text-blue text-price" style="margin:12rpx 0rpx">{{totalInfo.usedCreditLine || 0}}</view> -->
</view>
</view>
</view>
</view>
<view style="height:24rpx;"></view>

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

@ -2,7 +2,7 @@
<wxs module="formate" src="../../formate.wxs"></wxs>
<import src="../template/index.wxml" />
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">{{title}}</view>
<view slot="content">厂内收货</view>
</cu-custom>
<view wx:if="{{form}}">

9
project.config.json

@ -21,8 +21,8 @@
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useMultiFrameRuntime": false,
"useApiHook": false,
"useApiHostProcess": false,
"babelSetting": {
"ignore": [],
@ -31,12 +31,11 @@
},
"enableEngineNative": false,
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true
"minifyWXSS": true,
"showES6CompileOption": false
},
"compileType": "miniprogram",
"libVersion": "2.18.0",

Loading…
Cancel
Save