ReedawFoodApp/unpackage/dist/dev/mp-weixin/body/report/report.wxml

1 line
12 KiB
Plaintext

<view class="content data-v-774e29d0"><view class="date data-v-774e29d0">{{depthInfo.user_data.record_time}}</view><view class="header data-v-774e29d0"><view class="top data-v-774e29d0"><view class="left data-v-774e29d0"><image src="{{depthInfo.user_data.head_pic}}" class="data-v-774e29d0"></image><view class="data-v-774e29d0"><text class="bold size14 name data-v-774e29d0">{{depthInfo.user_data.nickname}}</text><text class="data-v-774e29d0">{{"性别:"+(depthInfo.user_data.gender==2?'女':'男')}}</text></view></view></view><view class="info data-v-774e29d0"><view class="text_l data-v-774e29d0"><text class="data-v-774e29d0">年龄</text><text class="size20 bold data-v-774e29d0">{{depthInfo.user_data.age}}</text></view><view class="line text_c data-v-774e29d0"><text class="data-v-774e29d0">身高</text><text class="size20 bold data-v-774e29d0">{{depthInfo.user_data.height}}</text></view><view class="text_r data-v-774e29d0"><text class="text_c data-v-774e29d0">体重</text><text class="size20 bold data-v-774e29d0">{{depthInfo.user_data.weight}}</text></view></view><view class="right data-v-774e29d0"><view class="rightChart data-v-774e29d0"><block wx:if="{{depthInfo.user_data.score}}"><view class="charts-box data-v-774e29d0"><qiun-data-charts vue-id="72779136-1" type="arcbar" opts="{{opts2}}" canvasId="rightChart209" chartData="{{chartData2}}" canvas2d="{{true}}" class="data-v-774e29d0" bind:__l="__l"></qiun-data-charts></view></block><view class="score data-v-774e29d0"><text class="data-v-774e29d0">{{depthInfo.user_data.score}}</text>健康评分</view></view></view></view><block wx:if="{{depthInfo.heart_rate&&depthInfo.heart_rate.value}}"><view class="data-v-774e29d0"><view class="title data-v-774e29d0"><image src="{{depthInfo.heart_rate.icon}}" class="data-v-774e29d0"></image>{{''+depthInfo.heart_rate.title_name+''}}</view><view class="heartRate bgfff data-v-774e29d0"><view class="stand data-v-774e29d0"><view class="data-v-774e29d0"><text class="data-v-774e29d0">{{depthInfo.heart_rate.value}}</text>{{depthInfo.heart_rate.unit}}</view><view class="bold size16 data-v-774e29d0" style="{{'color:'+(depthInfo.heart_rate.standard_color)+';'}}">{{''+depthInfo.heart_rate.standard+''}}</view></view><image src="/static/31.png" mode="widthFix" class="data-v-774e29d0"></image><view class="report data-v-774e29d0" style="margin-top:-45px;"><view class="Xitem myinfoPage data-v-774e29d0"><view class="box data-v-774e29d0"><view class="desc desc2 data-v-774e29d0"><view class="statuevue data-v-774e29d0"><view class="bi data-v-774e29d0"><view class="peobox data-v-774e29d0" style="{{('left:'+depthInfo.heart_rate.offset+'%')}}"><view class="xx data-v-774e29d0"></view></view><block wx:for="{{$root.l0}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view class="item data-v-774e29d0" style="{{'background-color:'+(ite.$orig.color)+';'}}"><view class="span1 data-v-774e29d0">{{ite.$orig.text}}</view><block wx:if="{{ind<ite.g0-1}}"><view class="span data-v-774e29d0">{{''+ite.$orig.max_val+''}}</view></block></view></block></view></view></view></view></view></view></view></view></block><block wx:if="{{depthInfo.body_data&&depthInfo.body_data.title_name}}"><view class="data-v-774e29d0"><view class="title data-v-774e29d0"><image src="{{depthInfo.body_data.icon}}" class="data-v-774e29d0"></image>{{''+depthInfo.body_data.title_name+''}}</view><view class="info bgfff data-v-774e29d0"><view class="infoTitle data-v-774e29d0"><text class="size16 bold data-v-774e29d0">{{depthInfo.body_data.title}}</text><text class="size12 c999 data-v-774e29d0">{{depthInfo.body_data.description}}</text></view><view class="Qlist data-v-774e29d0"><block wx:for="{{depthInfo.body_data.list}}" wx:for-item="ite" wx:for-index="ind"><view class="QItem data-v-774e29d0"><view class="left data-v-774e29d0"><view class="yuan data-v-774e29d0" style="{{'background-color:'+(ite.color)+';'}}"></view><view class="name data-v-774e29d0"><text class="bold data-v-774e29d0">{{ite.name}}</text><text class="size12 c999 data-v-774e29d0">{{ite.scope}}</text></view></view><view class="size16 bold value data-v-774e29d0">{{ite.value}}</view></view></block></view><view class="huan data-v-774e29d0"><qiun-data-charts vue-id="72779136-2" type="ring" opts="{{opts}}" canvasId="foodCharts209" chartData="{{chartData}}" canvas2d="{{true}}" class="data-v-774e29d0" bind:__l="__l"></qiun-data-charts></view></view></view></block><block wx:if="{{depthInfo.muscle_fat&&depthInfo.muscle_fat.list}}"><view class="data-v-774e29d0"><view class="title data-v-774e29d0"><image src="{{depthInfo.muscle_fat.icon}}" class="data-v-774e29d0"></image>{{''+depthInfo.muscle_fat.title_name+''}}</view><view class="table bgfff report data-v-774e29d0"><view class="Xitem myinfoPage data-v-774e29d0"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index"><view class="box data-v-774e29d0"><view class="data data2 data-v-774e29d0"><view class="name bold data-v-774e29d0">{{''+item.$orig.name+''}}</view><view class="val data-v-774e29d0">{{(item.$orig.value?item.$orig.value:'0')+item.$orig.unit}}</view><view class="level data-v-774e29d0"><view class="{{['btnf','data-v-774e29d0',item.$orig.standard=='异常'?'btnC':'']}}" style="{{'background-color:'+(item.$orig.standard=='异常'?'#FFF':item.$orig.standard_color)+';'}}">{{''+(item.$orig.standard=='异常'?'-':item.$orig.standard)+''}}</view></view></view><view class="desc data-v-774e29d0"><block wx:if="{{item.$orig.description}}"><view class="ming size12 data-v-774e29d0">{{item.$orig.description}}</view></block><block wx:if="{{item.$orig.list}}"><view class="{{['data-v-774e29d0',item.g1?'statuevue':'']}}"><view class="bi data-v-774e29d0"><view class="peobox data-v-774e29d0" style="{{('left:'+item.$orig.offset+'%')}}"><view class="xx data-v-774e29d0"></view></view><block wx:for="{{item.l1}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view class="item data-v-774e29d0" style="{{'background-color:'+(ite.$orig.color)+';'}}"><view class="span1 data-v-774e29d0">{{ite.$orig.text}}</view><block wx:if="{{ind<ite.g2-1}}"><view class="span data-v-774e29d0">{{ite.$orig.max_val+''}}</view></block></view></block></view></view></block></view></view></block></view></view></view></block><block wx:if="{{depthInfo.segment_fat&&depthInfo.segment_fat.list}}"><view class="w100 data-v-774e29d0"><view class="title data-v-774e29d0"><image src="{{depthInfo.segment_fat.icon}}" class="data-v-774e29d0"></image>{{''+depthInfo.segment_fat.title_name+''}}</view><view class="bodyimg bgfff data-v-774e29d0"><image src="{{depthInfo.segment_fat.bg_img}}" class="data-v-774e29d0"></image><block wx:for="{{depthInfo.segment_fat.list}}" wx:for-item="ite" wx:for-index="ind"><view class="L1 data-v-774e29d0">{{''+ite.name+ite.value+ite.unit+''}}</view></block></view></view></block><block wx:if="{{depthInfo.segment_muscle&&depthInfo.segment_muscle.list}}"><view class="w100 data-v-774e29d0"><view class="title data-v-774e29d0"><image src="{{depthInfo.segment_muscle.icon}}" class="data-v-774e29d0"></image>{{''+depthInfo.segment_muscle.title_name+''}}</view><view class="bodyimg bgfff data-v-774e29d0"><image src="{{depthInfo.segment_muscle.bg_img}}" class="data-v-774e29d0"></image><block wx:for="{{depthInfo.segment_muscle.list}}" wx:for-item="ite" wx:for-index="ind"><view class="L1 data-v-774e29d0">{{''+ite.name+ite.value+ite.unit+''}}</view></block></view></view></block><block wx:if="{{depthInfo.fat_analysis}}"><view class="data-v-774e29d0"><view class="title data-v-774e29d0"><image src="{{depthInfo.fat_analysis.icon}}" class="data-v-774e29d0"></image>{{''+depthInfo.fat_analysis.title_name+''}}</view><view class="table bgfff report data-v-774e29d0"><view class="Xitem myinfoPage data-v-774e29d0"><block wx:for="{{$root.l4}}" wx:for-item="item" wx:for-index="index"><view class="box data-v-774e29d0"><view class="data data2 data-v-774e29d0"><view class="name bold data-v-774e29d0">{{''+item.$orig.name+''}}</view><view class="val data-v-774e29d0">{{(item.$orig.value?item.$orig.value:'0')+item.$orig.unit}}</view><view class="level data-v-774e29d0"><view class="{{['btnf','data-v-774e29d0',item.$orig.standard=='异常'?'btnC':'']}}" style="{{'background-color:'+(item.$orig.standard=='异常'?'#FFF':item.$orig.standard_color)+';'}}">{{''+(item.$orig.standard=='异常'?'-':item.$orig.standard)+''}}</view></view></view><view class="desc data-v-774e29d0"><block wx:if="{{item.$orig.description}}"><view class="ming size12 data-v-774e29d0">{{item.$orig.description}}</view></block><block wx:if="{{item.$orig.list}}"><view class="{{['data-v-774e29d0',item.g3?'statuevue':'']}}"><view class="bi data-v-774e29d0"><view class="peobox data-v-774e29d0" style="{{('left:'+item.$orig.offset+'%')}}"><view class="xx data-v-774e29d0"></view></view><block wx:for="{{item.l3}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view class="item data-v-774e29d0" style="{{'background-color:'+(ite.$orig.color)+';'}}"><view class="span1 data-v-774e29d0">{{ite.$orig.text}}</view><block wx:if="{{ind<ite.g4-1}}"><view class="span data-v-774e29d0">{{ite.$orig.max_val+''}}</view></block></view></block></view></view></block></view></view></block></view></view></view></block><block wx:if="{{depthInfo.weight_controller}}"><view class="w100 data-v-774e29d0"><view class="title data-v-774e29d0"><image src="{{depthInfo.weight_controller.icon}}" class="data-v-774e29d0"></image>{{''+depthInfo.weight_controller.title_name+''}}</view><view class="table2 bgfff data-v-774e29d0"><block wx:for="{{depthInfo.weight_controller.list}}" wx:for-item="ite" wx:for-index="ind"><view class="Xlist data-v-774e29d0"><view class="name data-v-774e29d0">{{ite.name}}</view><view class="data-v-774e29d0">{{ite.value}}</view></view></block></view></view></block><block wx:if="{{depthInfo.body_type}}"><view class="w100 data-v-774e29d0"><view class="title data-v-774e29d0"><image src="{{depthInfo.body_type.icon}}" class="data-v-774e29d0"></image>{{''+depthInfo.body_type.title_name+''}}</view><view class="type data-v-774e29d0"><view class="typeItem data-v-774e29d0"><view class="bold data-v-774e29d0">{{depthInfo.body_type.l_line_color.name+''}}</view><view class="Tlist data-v-774e29d0"><view class="line line1 data-v-774e29d0" style="{{'background-image:'+('linear-gradient(to bottom, '+depthInfo.body_type.l_line_color.standard_list[2].color+','+depthInfo.body_type.l_line_color.standard_list[2].color+','+depthInfo.body_type.l_line_color.standard_list[0].color+')')+';'}}"></view><view class="ge data-v-774e29d0"><block wx:for="{{depthInfo.body_type.box_list}}" wx:for-item="ite" wx:for-index="ind"><view class="{{['data-v-774e29d0',depthInfo.body_type.value==ite?'active':'']}}">{{ite}}</view></block></view><view class="line line2 data-v-774e29d0" style="{{'background-image:'+('linear-gradient(to right, '+depthInfo.body_type.r_line_color.standard_list[0].color+','+depthInfo.body_type.r_line_color.standard_list[1].color+','+depthInfo.body_type.r_line_color.standard_list[2].color+')')+';'}}"></view></view><view class="bold text_r data-v-774e29d0">{{depthInfo.body_type.r_line_color.name+''}}</view></view><view class="Tinfo data-v-774e29d0"><view class="bold data-v-774e29d0">{{depthInfo.body_type.r_line_color.name+":"}}</view><block wx:for="{{depthInfo.body_type.r_line_color.standard_list}}" wx:for-item="ite" wx:for-index="ind"><view class="TinfoList data-v-774e29d0"><text style="{{'background-color:'+(ite.color)+';'}}" class="data-v-774e29d0"></text>{{ite.name+''}}</view></block></view><view class="Tinfo data-v-774e29d0"><view class="bold data-v-774e29d0">{{depthInfo.body_type.l_line_color.name+":"}}</view><block wx:for="{{depthInfo.body_type.l_line_color.standard_list}}" wx:for-item="ite" wx:for-index="ind"><view class="TinfoList data-v-774e29d0"><text style="{{'background-color:'+(ite.color)+';'}}" class="data-v-774e29d0"></text>{{ite.name+''}}</view></block></view></view></view></block><block wx:if="{{depthInfo.other_data}}"><view class="w100 data-v-774e29d0"><view class="title data-v-774e29d0"><image src="{{depthInfo.other_data.icon}}" class="data-v-774e29d0"></image>{{''+depthInfo.other_data.title_name+''}}</view><view class="table2 bgfff data-v-774e29d0"><block wx:for="{{depthInfo.other_data.list}}" wx:for-item="ite" wx:for-index="ind"><view class="Xlist data-v-774e29d0"><view class="name data-v-774e29d0">{{ite.name}}</view><view class="data-v-774e29d0">{{ite.value}}</view></view></block></view></view></block></view>