ReedawFoodApp/unpackage/dist/dev/mp-weixin/components/bodyIndex/bodyHome.wxml

1 line
2.8 KiB
Plaintext

<view class="body data-v-85e0660a"><view class="top data-v-85e0660a"><block wx:for="{{$root.l0}}" wx:for-item="ite" wx:for-index="ind"><view data-event-opts="{{[['tap',[['handelCurveDetailed',['$event']]]]]}}" class="info box_shadow data-v-85e0660a" style="{{'background-color:'+(ite.$orig.bk_color)+';'}}" bindtap="__e"><view class="title data-v-85e0660a"><view class="bold data-v-85e0660a">{{ite.$orig.name}}</view><view class="c999 data-v-85e0660a">{{''+ite.$orig.time+''}}<uni-icons class="ml-10 data-v-85e0660a" vue-id="{{'362b592a-1-'+ind}}" type="right" color="#999" bind:__l="__l"></uni-icons></view></view><view class="weight data-v-85e0660a"><view class="left data-v-85e0660a"><view class="number data-v-85e0660a"><text class="size26 bold data-v-85e0660a">{{ite.$orig.value}}</text>{{ite.$orig.unit}}</view><view class="standard bold size16 data-v-85e0660a" style="{{'color:'+(ite.$orig.standard_color)+';'}}">{{ite.$orig.standard}}</view></view><block wx:if="{{ite.g0}}"><view class="charts data-v-85e0660a"><qiun-data-charts vue-id="{{'362b592a-2-'+ind}}" type="area" chartData="{{ite.$orig.curve_list.line}}" Width="{{140}}" Height="{{40}}" canvas2d="{{true}}" canvasId="{{ite.$orig.key_name+ind}}" opts="{{opts}}" tapLegend="{{false}}" tooltipShow="{{false}}" class="data-v-85e0660a" bind:__l="__l"></qiun-data-charts></view></block></view><block wx:if="{{ite.$orig.ideal_weight}}"><view class="Ideal c999 data-v-85e0660a"><text class="data-v-85e0660a">{{"理想"+ite.$orig.name}}</text><text class="data-v-85e0660a">{{ite.$orig.ideal_weight}}</text></view></block></view></block></view><view class="function mt-15 data-v-85e0660a"><view data-event-opts="{{[['tap',[['handlerRecord',['$event']]]]]}}" bindtap="__e" class="data-v-85e0660a"><image src="/static/shoudong.png" mode="widthFix" class="data-v-85e0660a"></image></view><view data-event-opts="{{[['tap',[['handReport',['$event']]]]]}}" bindtap="__e" class="data-v-85e0660a"><image src="/static/shendu.png" mode="widthFix" class="data-v-85e0660a"></image></view></view><view class="tools data-v-85e0660a"><block wx:for="{{Measure.card_list}}" wx:for-item="ite" wx:for-index="ind"><view data-event-opts="{{[['tap',[['handleTools',['$0'],[[['Measure.card_list','',ind,'key_name']]]]]]]}}" class="item box_shadow data-v-85e0660a" bindtap="__e"><view class="top data-v-85e0660a"><image src="{{ite.icon}}" class="data-v-85e0660a"></image>{{ite.name+''}}</view><view class="number data-v-85e0660a"><text class="{{['bold','data-v-85e0660a',ite.key_name=='body_level'||ite.key_name=='body_type'?'size14':'size20']}}">{{ite.value}}</text>{{ite.unit+''}}</view><view class="bold size14 data-v-85e0660a" style="{{'color:'+(ite.standard_color)+';'}}">{{ite.standard}}</view></view></block></view><record vue-id="362b592a-3" class="data-v-85e0660a" bind:__l="__l"></record></view>