Browse Source

no message

feature/v2.2
xpz2018 4 years ago
parent
commit
d6f0526386
3 changed files with 26 additions and 15 deletions
  1. 2
      components/tag/index.wxml
  2. 30
      pages/process/index/index.wxml
  3. 9
      pages/process/index/index.wxss

2
components/tag/index.wxml

@ -1,7 +1,7 @@
<wxs src="../wxs/utils.wxs" module="utils" />
<view
class="custom-class {{ utils.bem('tag', [type, size, { mark, plain, round }]) }} {{ plain ? 'van-hairline--surround' : '' }}"
class="{{ utils.bem('tag', [type, size, { mark, plain, round }]) }} {{ plain ? 'van-hairline--surround' : '' }} custom-class"
style="{{ color && !plain ? 'background-color: ' + color + ';' : '' }}{{ textColor || (color && plain) ? 'color: ' + (textColor || color) : '' }}">
<slot />
<van-icon wx:if="{{ closeable }}" name="cross" custom-class="van-tag__close" bind:click="onClose" />

30
pages/process/index/index.wxml

@ -77,34 +77,38 @@
<view class="flex flex-justify" style="padding: 0rpx 28rpx 16rpx 28rpx">
<view class="text-black text-sg text-bold">千鸟代付</view>
<view class="flex flex-center" style="padding:4rpx 0rpx 4rpx 4rpx">
<van-tag plain round type="danger" wx:if="{{totalInfo.isAgencyPaymentOverdue}}">已逾期</van-tag>
<view class="text-gray text-sm" style="margin-right:8rpx;margin-left:16rpx">查看代付详情</view>
<van-icon name="arrow" color="#aaa"/>
</view>
</view>
<view class="flex" style="padding:16rpx 0rpx 12rpx 0rpx">
<view style="flex:1;padding:0rpx 32rpx;margin-right:12rpx">
<view class="flex flex-center" style="justify-content: flex-start">
<view class="flex" style="padding:12rpx 0rpx">
<view style="flex:1;padding:0rpx 32rpx;">
<view class="flex flex-center" style="justify-content: flex-start;padding-top: {{totalInfo.isAgencyPaymentOverdue ? 4 : 0}}rpx;">
<view style="height:24rpx;width:6rpx;background:#007AFF"></view>
<view class="text-black text-sm" style="margin-left: 12rpx">代付额度</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.creditLine || 0}}</view>
<view class="text-xxl text-bold text-blue text-price" style="margin:12rpx 0rpx">{{totalInfo.availableCreditLine || 0}}</view>
<view class="text-gray text-sm">总额度</view>
<view class="text-gray text-sm text-price">{{totalInfo.creditLine || 0}}</view>
</view>
<view style="flex:1;padding:0rpx 32rpx;margin-left:12rpx">
<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:#FF8413"></view>
<view class="text-black text-sm" style="margin-left: 12rpx">剩余代付额度</view>
<view class="text-black text-sm" style="margin-left: 12rpx">今日应还款金额</view>
<van-tag round type="danger" custom-class="over-tag" wx:if="{{totalInfo.isAgencyPaymentOverdue}}">已逾期</van-tag>
</view>
<view class="text-xxl text-bold text-blue text-price" style="margin:12rpx 0rpx">{{totalInfo.availableCreditLine || 0}}</view>
<view class="text-xxl text-bold text-price" style="margin:12rpx 0rpx">{{totalInfo.todayReceivablePrice || 0}}</view>
<view class="text-gray text-sm">总计应还款金额</view>
<view class="text-gray text-sm text-price">{{totalInfo.totalReceivablePrice || 0}}</view>
</view>
</view>
<view class="flex" style="padding:0rpx 0rpx 12rpx 0rpx">
<!-- <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 class="text-black text-sm" style="margin-left: 12rpx">代付额度</view>
</view>
<view class="text-xxl text-bold text-price" style="margin:12rpx 0rpx">{{totalInfo.todayReceivablePrice || 0}}</view>
<view class="text-xxl text-bold text-price" style="margin:12rpx 0rpx">{{totalInfo.creditLine || 0}}</view>
</view>
<view style="flex:1;padding:0rpx 32rpx;margin-left:12rpx">
<view class="flex flex-center" style="justify-content: flex-start">
@ -113,7 +117,7 @@
</view>
<view class="text-xxl text-bold text-blue text-price" style="margin:12rpx 0rpx">{{totalInfo.totalReceivablePrice || 0}}</view>
</view>
</view>
</view> -->
</view>
</view>
<view style="height:24rpx;"></view>

9
pages/process/index/index.wxss

@ -1 +1,8 @@
/* pages/index/index.wxss */
/* pages/index/index.wxss */
.over-tag{
padding: 4rpx;
margin-left: 8rpx;
font-size: 14rpx;
margin-bottom: 4rpx;
border-radius: 16rpx 16rpx 16rpx 0rpx;
}
Loading…
Cancel
Save