slimming.wxml
8.5 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<wxs module="g_filter" src="g_filter.wxs"></wxs>
<view class="pd20 fs30" wx:for="{{portrait_list}}">
<!-- 上 -->
<view class="card pd20 flex jc_sb" style="height: 210rpx;box-sizing: border-box;">
<image style="margin-right: 26rpx;width: 158rpx;height: 158rpx;border-radius: 50%;"
src="{{userInfo.head_pic}}"/>
<view class="flex mgt10" style="width: 70%;flex-direction: column;">
<view class="flex jc_sb fs26 mgb20">
<view style="color: #FE3A62;">{{item.customername || '-'}}</view>
<view style="color: #FE3A62;">{{item.mobiletel || '-'}}</view>
<view style="color: #FE3A62;" class="flex ai_c">{{item.age || '-'}}
<view style="color: #383838;">岁
</view>
</view>
</view>
<view class="flex fs26 mgb20">
<view style="color: #383838;" class="flex ai_c">减重疗程数:
<view style="color: #FE3A62;">
{{item.weightlosscourse || '0'}}
</view>
</view>
<view style="color: #383838;margin-left: 30rpx;" class="flex ai_c">塑身疗程数:
<view style="color: #FE3A62;">{{item.shapecourse || '0'}}</view>
</view>
</view>
<view class="flex fs26 mgb20">
<view style="color: #383838;" class="flex ai_c">购买日期:
<view style="color: #FE3A62;">{{item.signingdate || '-'}}</view>
</view>
</view>
</view>
</view>
<!-- 下 -->
<view class="card mgt20">
<view>
<view class="flex pd20 jc_sb ai_c">
<view style="color: #383838;" class="fs32">日常打卡</view>
<view bindtap="goto" data-url="/packageE/pages/user/punchInhistory/punchInhistory?customerid={{item.id}}&diffweight={{item.diffweight}}&howday={{item.tostoreqty}}&standardweight={{item.ideaweight}}"
style="border: 1.75rpx solid #FE3A62;border-radius: 88rpx;width: 123rpx;height: 48rpx;color:#FE3A62;line-height: 48rpx;text-align: center;"
class="fs26">查看全部
</view>
</view>
<view class="flex pd20 jc_sb ai_c"
style="flex-direction: column;border-bottom: 1rpx solid #F0F0F0;">
<view class="flex" style="margin-right:20rpx;">
<view wx:if="{{item.dayweight>0 }}" class="ellipsis-2"
style="color: #FE3A62;font-size: 84rpx;width: 250rpx;text-align: right;margin-left: 40rpx;">
{{ g_filter.toFixTwo(item.dayweight ) }}
</view>
<view wx:else class="ellipsis-2"
style="color: #FE3A62;font-size: 84rpx;width: 250rpx;text-align: right;margin-left: 40rpx;margin-right: 50rpx;margin-bottom: 20rpx;">
_ _
</view>
<view style="color: #383838;margin-top: 40rpx;" class="fs26">斤</view>
<view style="width: 30rpx;height: 30rpx;margin-top: 20rpx;padding: 20rpx;"
bindtap="goto" data-url="/packageE/pages/punchIn/punchIn?mobiletel={{item.mobiletel}}&iswhere=1&gradenames=true&isMy=1">
<image :src="imghost+'mdd_img/modigoods.png'" style="width: 30rpx;height: 30rpx;" mode=""></image>
</view>
</view>
<view style="color: #383838;" class="fs26">今日体重</view>
</view>
</view>
<view class="flex jc_sa"
style="height: 160rpx;padding: 20rpx 0;box-sizing: border-box;border-bottom: 1rpx solid #F0F0F0;">
<view class="flex txt-center" style="flex-direction: column;width: 33%;">
<view class="flex" style="margin-left: 20rpx;">
<view style="color: #FE3A62;font-size: 52rpx;width: 60%;text-align: right;"
class="ellipsis-2">{{g_filter.toFixTwo(item.ringratioweight)}}
</view>
<view style="color: #383838;text-align: left;" class="fs26 mgt20">斤</view>
</view>
<view style="color: #383838;" class="fs26 mgt20">环比重量</view>
</view>
<view class="flex txt-center" style="flex-direction: column;width: 33%;">
<view class="flex" style="margin-left: 20rpx;">
<view style="color: #FE3A62;font-size: 52rpx;width: 60%;text-align: right;"
class="ellipsis-2">{{ g_filter.toFixTwo(item.actualweight)}}
</view>
<view style="color: #383838;text-align: left;" class="fs26 mgt20">斤
</view>
</view>
<view style="color: #383838;" class="fs26 mgt20">实际减重</view>
</view>
<view class="flex txt-center" style="flex-direction: column;width: 33%;">
<view class="flex" style="margin-left: 20rpx;">
<view style="color: #FE3A62;font-size: 52rpx;width: 60%;text-align: right;"
class="ellipsis-2">{{g_filter.toFixTwo(item.diffweight)}}
</view>
<view style="color: #383838;text-align: left;" class="fs26 mgt20">斤
</view>
</view>
<view style="color: #383838;" class="fs26 mgt20">累计减重</view>
</view>
</view>
<view class="flex jc_sa"
style="height: 160rpx;padding: 20rpx 0;box-sizing: border-box;border-bottom: 1rpx solid #F0F0F0;">
<view class="flex txt-center" style="flex-direction: column;width: 33%;">
<view class="flex" style="margin-left: 20rpx;">
<view style="color: #FE3A62;font-size: 52rpx;width: 60%;text-align: right;;"
class="ellipsis-2">{{item.tostoreqty || '0'}}
</view>
<view style="color: #383838;text-align: left;" class="fs26 mgt20">次
</view>
</view>
<view style="color: #383838;" class="fs26 mgt20">累计到店</view>
</view>
<view class="flex txt-center" style="flex-direction: column;width: 33%;">
<view class="flex" style="margin-left: 20rpx;">
<view style="color: #FE3A62;font-size: 52rpx;width: 60%;text-align: right;"
class="ellipsis-2">{{ g_filter.toFixTwo(item.undeduced)}}
</view>
<view style="color: #383838;text-align: left;" class="fs26 mgt20">斤
</view>
</view>
<view style="color: #383838;" class="fs26 mgt20">未减斤数</view>
</view>
<view class="flex txt-center" style="flex-direction: column;width: 33%;">
<view class="flex" style="margin-left: 20rpx;">
<view style="color: #FE3A62;font-size: 52rpx;width: 60%;text-align: right;"
class="ellipsis-2">{{g_filter.toFixTwo(item.minweight) }}
</view>
<view style="color: #383838;text-align: left;" class="fs26 mgt20">斤</view>
</view>
<view style="color: #383838;" class="fs26 mgt20">最低体重</view>
</view>
</view>
<view class="flex jc_sa"
style="height: 68rpx;border-bottom: 1rpx solid #F0F0F0;padding: 20rpx 0;box-sizing: border-box;">
<view style="color: #383838;" class="fs26 flex ai_c">初始体重<view style="color: #FE3A62;"
class="fs26">{{ g_filter.toFixTwo(item.weight) }}</view>斤
</view>
<view style="color: #383838;" class="fs26 flex ai_c">标准体重<view style="color: #FE3A62;"
class="fs26">{{ g_filter.toFixTwo(item.weight)}}</view>斤
</view>
<view style="color: #383838;" class="fs26 flex ai_c">应减斤数<view style="color: #FE3A62;"
class="fs26">{{g_filter.toFixTwo(item.weight)}}</view>斤
</view>
</view>
<view class="flex jc_sb"
style="height: 68rpx;border-bottom: 1rpx solid #F0F0F0;padding: 20rpx 0;box-sizing: border-box;padding: 0 20rpx;">
<view style="color: #383838;line-height: 68rpx;" class="fs26">减重顾问</view>
<view style="color: #383838;line-height: 68rpx;" class="fs26">{{item.advisername || '-'}}</view>
</view>
<view class="flex jc_sb"
style="height: 68rpx;border-bottom: 1rpx solid #F0F0F0;padding: 20rpx 0;box-sizing: border-box;padding: 0 20rpx;">
<view style="color: #383838;line-height: 68rpx;" class="fs26">减重美体师</view>
<view style="color: #383838;line-height: 68rpx;" class="fs26">{{item.beautyconsultant || '-'}}</view>
</view>
</view>
</view>
<nodata class="t-c" wx:if="{{portrait_list.length == 0 && is_get}}"></nodata>
<view class="noMore" hidden="{{!noMore}}" wx:if="{{portrait_list.length !== 0}}">- 已经到底了 -</view>