punchInhistory.wxml
2.82 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
77
<view>
<view class="total_count">
<view class="fs35" style="text-align: center;width: 100%;height: 80rpx;line-height: 80rpx;">
总览
</view>
<view class="total_box">
<view class="total_number">
<view class="detail_number ellipsis-2 fs40">{{diffweight||"-"}}</view>
<view class="coo fs24">累计减重(斤)</view>
</view>
<view class="line2"> </view>
<view class="total_number">
<view class="detail_number ellipsis-2 fs40">{{howday||"-"}}</view>
<view class="coo fs24">到店次数</view>
</view>
<view class="line2"> </view>
<view class="total_number">
<view class="detail_number ellipsis-2 fs40">{{standardweight||"-"}}</view>
<view class="coo fs24">目标体重(斤)</view>
</view>
</view>
</view>
<!-- 门店报表 -->
<scroll-view scroll-y="true" bindscrolltolower="get_list()" style="height:{{calc - 300}}rpx" >
<view style="padding:3%">
<view class="card" wx:for="{{list}}">
<view class="card_title" >{{item.fyearmonth}} 减重 <text style="color: rgba(254, 58, 98, 1);margin: 0 10rpx;">{{item.diffweight}}</text> 斤 到店 <text style="color: rgba(254, 58, 98, 1);margin: 0 10rpx;"> {{ item.weightqty }} </text> 次
</view>
<view class="card_box">
<view class="flex " wx:for="{{item.items}}" wx:for-item="item2" style="height: 90rpx;">
<view class="tiny_box1" style="margin: 5rpx 10rpx">
<image src="{{imghost+ '/newmdimg/mdd_img/upcard_jz.png'}}" style="width: 61rpx;height: 61rpx;" mode=""></image>
</view>
<view class="tiny_box2" style="margin: 5rpx 10rpx">
<view class="fs22 coo ellipsis-2">{{item2.billdate}}</view>
<view class="coo" style="display: flex;width: 100%;margin-top: 5rpx;">
<view class="coo fs22 " style="display: flex;width: 45%;text-align: left;">
<text>{{item2.weight}}斤</text>
</view>
<view class="coo fs22" style="display: flex;width: 55%;text-align: right;margin-left: 36rpx;">
<text>减重 <text style="color: rgba(254, 58, 98, 1);margin: 0 5rpx;">{{item2.diffweight}}</text>斤</text>
</view>
</view>
</view>
<view class="tiny_box3" style="margin: 5rpx 10rpx;height: 90rpx;">
<view class="coo ellipsis-22" style="line-height: 35rpx;">{{item2.remark}}</view>
</view>
</view>
</view>
</view>
</view>
<!-- <van-empty description="暂无数据" wx:if="list.length==0" />-->
<!-- <van-divider contentPosition="center" fontSize="12" custom-style="padding: 0 60rpx;"-->
<!-- wx:if="noMore && list.length > 10">已经到底啦-->
<!-- </van-divider>-->
<nodata class="t-c" wx:if="{{list.length == 0 && is_get}}"></nodata>
<view class="noMore" hidden="{{!noMore}}" wx:if="{{list.length !== 0}}">- 已经到底了 -</view>
</scroll-view>
</view>