t_index.wxml
3.37 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
67
68
69
70
71
72
73
74
75
76
<nav backgroundColor="#199095" color="#ffffff">
<view class="flex-ll">
<view class="white-font font24r smooth select-button flex-cc" style="margin-left: -160rpx;" bindtap="totime">自定义查询</view>
<view class="white-font font32r smooth" style="margin-left: 120rpx;">经营中心</view>
</view>
</nav>
<scroll-view scroll-y style="height:{{contentHeight}}px;" bindscrolltolower="getnext">
<view class="report-top white-font bg-green smooth">
<view class="font36r flex-cc" style="margin-bottom:30rpx">
<block wx:if="{{dur}}">
<block wx:if="{{dur.mark}}">{{dur.mark}}</block>
<block wx:else>
<block wx:if="{{dur.start.date!='' && dur.end.date!=''}}">{{dur.start.date+'至'+dur.end.date}}</block>
<block wx:else>
<block wx:if="{{dur.start.date==''}}">截至{{dur.end.date}}</block>
<block wx:else>{{dur.start.date}}至现在</block>
</block>
</block>
</block>
<block wx:else>今天</block>
</view>
<view class="flex-cc report-sum white-font">
<view class="report-single flex-vc">
<view class="font28r font-siny" style="margin-bottom:10rpx">总收入</view>
<view class="font34r"><text class="font24r">¥</text>{{orderinfo.order_price}}</view>
</view>
<view class="report-single flex-vc">
<view class="font28r font-siny" style="margin-bottom:10rpx">总订单</view>
<view class="font34r">{{orderinfo.order_total}}</view>
</view>
<view class="report-single flex-vc">
<view class="font28r font-siny" style="margin-bottom:10rpx">退款订单</view>
<view class="font34r">{{orderinfo.refund_total}}</view>
</view>
</view>
</view>
<view class="order-list">
<view class="order-header flex-lr">
<view class="gray-deep-font font28r flex-ll">订单编号</view>
<view class="gray-deep-font font28r flex-cc">金额</view>
<view class="gray-deep-font font28r flex-cc">下单日期</view>
<view class="gray-deep-font font28r flex-rr" style="padding-right: 0;padding-left: 6rpx;">状态</view>
</view>
<view class="order-content">
<block wx:for="{{orderinfo.orderList}}">
<view class="order-single flex-lr" data-index="{{index}}" bindtap="lookdetail" data-id="{{item.id}}">
<view class="gray-deep-font font30r flex-ll">{{item.row_num}}</view>
<view class="gray-deep-font font30r flex-cc"><text class="font24r">¥</text>{{item.price}}</view>
<view class="gray-deep-font font30r flex-vc">
<view>{{item.showdate}}</view>
<view>{{item.showtime}}</view>
</view>
<view class="green-font font30r flex-rr" style="padding-right: 0;padding-left: 6rpx;">
<block wx:if="{{item.status==0}}">待支付</block>
<block wx:if="{{item.status==1}}">已下单</block>
<block wx:if="{{item.status==2}}">配送中</block>
<block wx:if="{{item.status==3}}">已完成</block>
<block wx:if="{{item.status==4}}">已退款</block>
</view>
</view>
</block>
</view>
</view>
</scroll-view>
<block wx:if="{{sellerid}}">
<view class="fixed-function bg_white flex-lr">
<block wx:for="{{totalfunction}}">
<view class="flex-vc" bindtap="{{index==1 ? 'sellermanage' : ''}}">
<image src="{{item.imgurl}}" class="manage-total-icon"></image>
<view class="{{item.isActive==true ? 'green-font' : 'black-font'}} font24r flex-cc" style="height:28rpx;">{{item.title}}</view>
</view>
</block>
</view>
</block>