r_detail.wxml
2.77 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
<view class="manage-top flex-vc">
<view class="manage-date flex-lr" bindtap="selecttime">
<view class="black-font font30r">{{opt.totaldate}}</view>
<image class="manage-date-icon" src="../image/calendar.svg"></image>
</view>
</view>
<block wx:if="{{isloading==true}}">
<view class="manage-info flex-vc">
<view style="margin-top:40rpx;margin-bottom:80rpx;">
<view class="gray-deep-font font26r flex-cc">营业额</view>
<view class="black-font font26r flex-cc" style="margin-top:40rpx;">¥ <text class="font38r font-bold" space="true" decode="true"> {{opt.total_price ? opt.total_price : '0'}}</text></view>
</view>
<view class="flex-lr manage-info-list">
<view class="flex-vc">
<view class="gray-deep-font font26r">订单数</view>
<view class="black-font font34r font-bold margin-top30">{{opt.total_order ? opt.total_order : '0'}}</view>
</view>
<view class="flex-vc">
<view class="gray-deep-font font26r">扫码人数</view>
<view class="black-font font34r font-bold margin-top30">{{opt.total_pnum ? opt.total_pnum : '0'}}</view>
</view>
<view class="flex-vc">
<view class="gray-deep-font font26r">客单价</view>
<view class="black-font font26r margin-top30">¥<text class="font34r font-bold">{{opt.unit_price ? opt.unit_price : '0'}}</text></view>
</view>
</view>
</view>
<view class="cut bg_gray"></view>
<view class="manage-contact">
<view class="manage-contact-list flex-lr">
<block wx:for="{{contactlist}}">
<view class="{{item.isactive==true ? 'green-font border-bottom' : 'gray-font'}} font30r manage-contact-single flex-cc" data-type="{{item.type}}" bindtap="selectform">{{item.title}}</view>
</block>
</view>
<view class="manage-contact-info">
<block wx:for="{{infolist}}">
<block wx:if="{{item.count && item.count!=0}}">
<view class="manage-info-single flex-ll">
<view class="manage-info-react bg_green font26r white-font flex-lr" style="max-width:620rpx;min-width:240rpx;width:{{620*item.per/100}}rpx;">
<view>{{item.name}}</view>
<view>{{item.count}}</view>
</view>
<block wx:if="{{item.per}}">
<view class="black-font font30r" style="margin-left:16rpx;">{{item.per}}%</view>
</block>
</view>
</block>
</block>
</view>
</view>
</block>
<netWork bind:netchange="netchange" id="network"></netWork>