first commit
This commit is contained in:
54
衣莎项目/源码/YiShaXiYi/mall/laundryList/laundryList.wxml
Normal file
54
衣莎项目/源码/YiShaXiYi/mall/laundryList/laundryList.wxml
Normal file
@@ -0,0 +1,54 @@
|
||||
<!-- 头部 -->
|
||||
<nav-bar isBack="{{isBack}}" pageTitle="{{pageTitle}}" system="{{system}}"></nav-bar>
|
||||
<!-- mall/laundryList/laundryList.wxml -->
|
||||
<view class="laundryList">
|
||||
<view class="order_tab" style="top:{{system.statusHeight+system.titleHeight+'px'}}">
|
||||
<i-tabs current="{{ current }}" color="#1dbf45" bindchange="handleChange">
|
||||
<i-tab key="0" title="全部"></i-tab>
|
||||
<i-tab key="1" title="待付款"></i-tab>
|
||||
<i-tab key="2" title="待发货"></i-tab>
|
||||
<i-tab key="3" title="待收货"></i-tab>
|
||||
<i-tab key="4" title="已完成"></i-tab>
|
||||
</i-tabs>
|
||||
</view>
|
||||
<view wx:if="{{orderList.length>0}}" class="laundry">
|
||||
<view wx:for="{{orderList}}" wx:key="" class="laundry_row dis-flex1 mb20" data-id="{{item.id}}" bind:tap="openInfo">
|
||||
<view class="laundry_row1 flex-con2 pd30">
|
||||
<view class="flex1 row1-l">{{item.create_time}}</view>
|
||||
<view class="flex1 row1-r">{{item.status_name}}</view>
|
||||
</view>
|
||||
<view class="flex1 flex-con2 laundry_row2 pd30">
|
||||
<scroll-view scroll-x scroll-with-animation class="bg-white nav">
|
||||
<view class="shop_img" wx:for="{{item.image}}" wx:key="" wx:for-item="list">
|
||||
<image lazy-load="{{true}}" src="{{list.image}}" />
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="laundry_row3 flex-con2 pd30">
|
||||
<view class="flex1 row3-l">
|
||||
合计:¥{{item.order_total_price}}
|
||||
<span>共{{item.image.length}}件</span>
|
||||
</view>
|
||||
<view class="flex1 row3-r flex-con5">
|
||||
<span wx:if="{{item.status == 1}}">付款</span>
|
||||
<span wx:if="{{item.status == 2}}" data-id="{{item.id}}" catchtap="applyReturn">
|
||||
申请退款
|
||||
</span>
|
||||
<span wx:if="{{item.status == 3}}" data-id="{{item.id}}" catchtap="recGoods">
|
||||
确认收货
|
||||
</span>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:elif="{{orderList.length<=0}}" class="empty flex-con3">
|
||||
<view>
|
||||
<image class="empty_img" src="/static/img/icon/order-konw-icon.png" />
|
||||
<view>暂无内容</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 加载动画 -->
|
||||
<loading-prog isLoading="{{isLoading}}"></loading-prog>
|
||||
<!-- toasta提示 -->
|
||||
<i-toast id="toast" />
|
||||
Reference in New Issue
Block a user