ReedawFoodApp/unpackage/dist/dev/mp-weixin/pages/index/index.wxml

1 line
5.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="box data-v-57280228"><block wx:if="{{token}}"><view class="header data-v-57280228"><block wx:if="{{$root.g0}}"><view class="top data-v-57280228"><image class="headimg data-v-57280228" src="{{info.head_pic}}" data-event-opts="{{[['tap',[['handleAddUser',[1]]]]]}}" bindtap="__e"></image><view data-event-opts="{{[['tap',[['handleAddUser',[1]]]]]}}" class="info data-v-57280228" bindtap="__e"><view class="size18 bold data-v-57280228">{{info.nickname}}</view><view class="mt-5 data-v-57280228"><text class="mr-10 data-v-57280228">{{$root.m0+""+(info.gender==1?$root.m1:info.gender==2?$root.m2:$root.m3)}}</text><text class="ml-10 data-v-57280228">{{$root.m4+""+info.age+$root.m5}}</text></view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="t-icon t-icon-qiehuan1 data-v-57280228" bindtap="__e"></view></view></block><block wx:else><view data-event-opts="{{[['tap',[['handleAddUser',[2]]]]]}}" class="top top2 data-v-57280228" bindtap="__e"><view class="info data-v-57280228">{{''+$root.m6+'~'}}</view><view class="add data-v-57280228">+</view></view></block><block wx:if="{{$root.g1}}"><view class="{{['bluetooth','data-v-57280228',bleValue.isConnectStatus==1?'activs':'']}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="bleTips data-v-57280228" bindtap="__e">{{''+bleTipsText+''}}</view></view></block></view></block><block wx:else><view data-event-opts="{{[['tap',[['handleLogin',['$event']]]]]}}" class="header data-v-57280228" bindtap="__e"><view class="top top2 data-v-57280228">{{''+$root.m7+''}}</view></view></block><block wx:if="{{$root.g2}}"><view class="body data-v-57280228"><view class="top data-v-57280228"><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-57280228" style="{{'background-color:'+(ite.$orig.bk_color)+';'}}" bindtap="__e"><view class="title data-v-57280228"><view class="bold data-v-57280228">{{ite.$orig.name}}</view><view class="c999 data-v-57280228">{{''+ite.$orig.time+''}}<uni-icons class="ml-10 data-v-57280228" vue-id="{{'8dd740cc-1-'+ind}}" type="right" color="#999" bind:__l="__l"></uni-icons></view></view><view class="weight data-v-57280228"><view class="left data-v-57280228"><view class="number data-v-57280228"><text class="size26 bold data-v-57280228">{{ite.$orig.value}}</text>{{ite.$orig.unit}}</view><view class="standard bold size16 data-v-57280228" style="{{'color:'+(ite.$orig.standard_color)+';'}}">{{ite.$orig.standard+''}}</view></view><block wx:if="{{ite.g3}}"><view class="charts data-v-57280228"><qiun-data-charts vue-id="{{'8dd740cc-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-57280228" bind:__l="__l"></qiun-data-charts></view></block></view><block wx:if="{{ite.$orig.ideal_weight}}"><view class="Ideal c999 data-v-57280228"><text class="data-v-57280228">{{ite.m8+ite.$orig.name}}</text><text class="data-v-57280228">{{ite.$orig.ideal_weight}}</text></view></block></view></block></view><view class="function mt-15 data-v-57280228"><view class="tools_g data-v-57280228"><view data-event-opts="{{[['tap',[['handlerRecord',['$event']]]]]}}" class="gongju data-v-57280228" bindtap="__e"><view class="right mr-15 data-v-57280228"><text class="data-v-57280228">{{$root.m9}}</text>{{''+$root.m10+'>'}}</view></view><view data-event-opts="{{[['tap',[['handReport',['$event']]]]]}}" class="gongju2 data-v-57280228" bindtap="__e"><view class="right mr-15 data-v-57280228"><text class="data-v-57280228">{{$root.m11}}</text>{{''+$root.m12+'>'}}</view></view></view></view><view class="tools data-v-57280228"><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-57280228" bindtap="__e"><view class="top data-v-57280228"><image src="{{ite.icon}}" class="data-v-57280228"></image>{{ite.name+''}}</view><view class="number data-v-57280228"><text class="{{['bold','data-v-57280228',ite.key_name=='body_level'||ite.key_name=='body_type'?'size14':'size20']}}">{{ite.value}}</text>{{ite.unit+''}}</view><view class="bold size14 data-v-57280228" style="{{'color:'+(ite.standard_color)+';'}}">{{ite.standard}}</view></view></block></view></view></block><block wx:else><view class="nolist data-v-57280228"><image src="/static/none.png" class="data-v-57280228"></image><text class="data-v-57280228">{{$root.m13}}</text></view></block><block wx:if="{{$root.g4}}"><view class="f_banner footbox data-v-57280228"><swiper class="swiper data-v-57280228" circular="true"><block wx:for="{{configInfo.banner}}" wx:for-item="ite" wx:for-index="index"><swiper-item data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({ite})}}" bindtap="__e" class="data-v-57280228"><image src="{{ite.pic}}" mode="aspectFit" class="data-v-57280228"></image></swiper-item></block></swiper></view></block><record vue-id="8dd740cc-3" class="data-v-57280228" bind:__l="__l"></record><drawer bind:handleToolsIndex="__e" vue-id="8dd740cc-4" data-event-opts="{{[['^handleToolsIndex',[['handleToolsIndex',[0]]]]]}}" class="data-v-57280228" bind:__l="__l"></drawer></view>