deliveryList.wxml
3.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!--packageUsedCar/pages/deliveryNote/deliveryList/deliveryList.wxml-->
<view class="main">
<view class="bg"></view>
<view class="to-box">
<view class="search-box">
<view class="search-input">
<image src="{{ IMG_URL }}images/search.png" class="search-icon" />
<input type="text" placeholder="请输入车型/客户姓名/联系方式" class="input" confirm-type="search" value="{{ searchText }}" placeholder-class="input-placeholder" bindinput="input" bindconfirm="search" />
<block wx:if="{{ searchText }}">
<view bindtap="handleReset" class="clearBtn">
<image src="{{ IMG_URL }}images/clear.png" class="search-clear" />
</view>
</block>
</view>
<view class="search text-center" bindtap="showConfirm">
<view class="text-center">
筛选
<image class="search-filter" src="{{IMG_URL}}usedCar/filter.png" />
</view>
</view>
</view>
<view>
<tab-bar tabList="{{ typeList }}" bindclick="tabClick" activeIndex="{{ tabIndex }}" />
</view>
</view>
<view wx:if="{{ flag }}" class="order-box">
<scroll-view scroll-y enable-back-to-top refresher-enabled="{{ true }}" bindrefresherrefresh="search" bindscrolltolower="onBottomRefresh" class="list" scroll-top="{{ scrollTop }}" lower-threshold="400" refresher-threshold="104" refresher-triggered="{{ triggered }}">
<block wx:if="{{ list.length && list[0].length }}">
<view class="top-empty"></view>
<block wx:for="{{ list }}" wx:key="ind" wx:for-item="i" wx:for-index="ind">
<view wx:for="{{ i }}" wx:key="index" bindtap="toDetail" data-target="{{item}}" class="item-box">
<view class="status {{item.paymentStatus == 1 ? 'success-status' : ''}}">{{PAYMENT_STATUS[item.paymentStatus]}}</view>
<image src="{{item.carPhoto}}" class="img"/>
<view class="info">
<view class="title">{{item.vehicleTitle}}</view>
<view class="info-item flex">
<view class="label">客户姓名</view>
<view class="value">{{item.buyerName}}{{item.buyerContact}}</view>
</view>
<view class="info-item flex">
<view class="label">创建时间</view>
<view class="value">{{item.createdDate}}</view>
</view>
<view class="info-item flex">
<view class="label">交付状态</view>
<view class="value blue">{{ORDER_STATUS[item.orderStatus]}}</view>
</view>
</view>
</view>
</block>
<block wx:if="{{ nothing }}">
<view class="list-nothing">到底了~</view>
</block>
</block>
<view class="no-data" wx:else>
<image class="no-data-img" src="{{IMG_URL}}usedCar/empty-icon.png" />
<view class="list-not">暂无交付单</view>
</view>
</scroll-view>
</view>
</view>
<page-container show="{{ show_confirm }}" duration="{{ 0 }}" overlay="{{ false }}" bind:afterleave="containerBack">
<view wx:if="{{ showRendering }}">
<order-screen show="{{ show_confirm }}" navBarHeight="{{ navBarHeight }}" bindconfirm="searchScreen" />
</view>
</page-container>