|
|
<!--pages/signIn/Weight/Weight.wxml-->
|
|
|
<text>pages/signIn/Weight/Weight.wxml</text> |
|
|
<!--pages/weight/weight.wxml-->
|
|
|
<view class='z_container'>
|
|
|
<view class='top_watch'>
|
|
|
<view class='todayData'>
|
|
|
<view class='now_data'>孕{{weight_data.pregnant_week}}周+{{weight_data.day}}天</view>
|
|
|
<view class='now_weight'>{{weight_data.weight}}</view>
|
|
|
</view>
|
|
|
<view class='images_box'>
|
|
|
<image src='http://maifuzi.w.bronet.cn/themes/simpleboot3/public/assets/images/aele03@2x.png'></image>
|
|
|
</view>
|
|
|
<!--顶部数据 -->
|
|
|
<view class='data_1 data'>{{weight_data.bashBoard[0]}}Kg</view>
|
|
|
<view class='data_2 data'>{{weight_data.bashBoard[1]}}Kg</view>
|
|
|
<view class='data_3 data'>{{weight_data.bashBoard[2]}}Kg</view>
|
|
|
<view class='data_4 data'>{{weight_data.bashBoard[3]}}Kg</view>
|
|
|
<!--指针 -->
|
|
|
<image src='http://maifuzi.w.bronet.cn/themes/simpleboot3/public/assets/images/zhizhen.png' class='zhizhen' style='transform: rotate({{rote}}deg);'></image>
|
|
|
</view>
|
|
|
<!--topData -->
|
|
|
<view class='top_data'>
|
|
|
<view class='left_data'>
|
|
|
<view class='top_direc'>
|
|
|
{{weight_data.increase}}
|
|
|
<view class='danwei'>kg</view>
|
|
|
</view>
|
|
|
<view class='top_label'>
|
|
|
较孕前增长
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='right_data'>
|
|
|
<view class='top_direc'>
|
|
|
{{weight_data.overplus}}
|
|
|
<view class='danwei'>kg</view>
|
|
|
</view>
|
|
|
<view class='top_label' bindtap='showTips'>
|
|
|
<text>剩余配额</text>
|
|
|
<view class='tips'>!</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='latestips {{show?"show":""}}'>
|
|
|
<view class='tips_box'>为整个孕期目标增长体重与目前已经增长体重的差值。</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
<!--container -->
|
|
|
<view class='record_container'>
|
|
|
<!--添加记录-->
|
|
|
<view class='add_icon' bindtap='addRecord' data->
|
|
|
<image src='http://maifuzi.w.bronet.cn/themes/simpleboot3/public/assets/images/aicon02@2x.png'></image>
|
|
|
</view>
|
|
|
<!--记录列表-->
|
|
|
<view class='record_label'>
|
|
|
<view class='label_item'>孕期</view>
|
|
|
<view class='label_item'>体重 kg</view>
|
|
|
<view class='label_item'>状态 </view>
|
|
|
</view>
|
|
|
<view class='record_lists'>
|
|
|
<block wx:for="{{record}}" wx:key="" >
|
|
|
<view class='record_list'>
|
|
|
<view class='record_list_item'>孕{{weight_data.pregnant_week}}周+{{item.day}}天</view>
|
|
|
<view class='record_list_item'>{{item.weight}}</view>
|
|
|
<view class='record_list_item'>{{item.status}}</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='biaozhu'>注:算法数据来源于美国医学研究所(IOM)</view>
|
|
|
</view>
|
|
|
<view class='mask' wx:if="{{mask}}" bindtap='closefirst'>
|
|
|
<!--初始测量提示框 -->
|
|
|
<view class='tongyi_toast' wx:if="{{showtype==6}}">
|
|
|
<view class='toast_container'>
|
|
|
<view class='shengming'>体重测量的正确姿势:</view>
|
|
|
<view class='detail'>早上起床后;排空大小便;穿同样的衣服;尽量在吃早饭之前。因为这样称体重,受外界影响比较小,会比较准确。</view>
|
|
|
</view>
|
|
|
<view class='liaojie' bindtap='closefirst'>知道了</view>
|
|
|
</view>
|
|
|
|
|
|
<!--正常 -->
|
|
|
<view class='tongyi_toast' wx:if="{{showtype=='3'}}">
|
|
|
<view class='toast_container'>
|
|
|
<view class='detail'>{{sign_mbi}}</view>
|
|
|
</view>
|
|
|
<view class='liaojie' bindtap='closefirst'>知道了</view>
|
|
|
</view>
|
|
|
<!--超轻 -->
|
|
|
<view class='tongyi_toast' wx:if="{{showtype=='1'}}">
|
|
|
<view class='toast_container'>
|
|
|
<view class='detail'>您目前体重过轻,为不影响您和宝宝的健康,需为身体增加能量,加强营养,您可在公众号图文消息中查看孕妇体重过轻如何增重。</view>
|
|
|
</view>
|
|
|
<view class='liaojie' bindtap='closefirst'>知道了</view>
|
|
|
</view>
|
|
|
<!--偏轻 -->
|
|
|
<view class='tongyi_toast' wx:if="{{showtype=='2'}}">
|
|
|
<view class='toast_container'>
|
|
|
<view class='detail'>您目前体重偏低,为不影响您和宝宝的健康,需为身体增加能量,加强营养,您可在公众号图文消息中查看体重偏低如何增重。</view>
|
|
|
</view>
|
|
|
<view class='liaojie' bindtap='closefirst'>知道了</view>
|
|
|
</view>
|
|
|
<!--超重-->
|
|
|
<view class='tongyi_toast' wx:if="{{showtype=='4'}}">
|
|
|
<view class='toast_container'>
|
|
|
<view class='detail'>您目前体重偏重,为了不影响您和宝宝的健康,建议控制体重增长速度,少食多餐适当运动,您可在公众号图文消息中查看孕期如何合理饮食。</view>
|
|
|
</view>
|
|
|
<view class='liaojie' bindtap='closefirst'>知道了</view>
|
|
|
</view>
|
|
|
<view class='tongyi_toast' wx:if="{{showtype=='5'}}">
|
|
|
<view class='toast_container'>
|
|
|
<view class='detail'>您目前体重超重,为了不影响您和宝宝的健康,建议减重,为避免发生妊娠期合并症,适当运动,您可在公众号图文消息中查看孕期如何科学减重。</view>
|
|
|
</view>
|
|
|
<view class='liaojie' bindtap='closefirst'>知道了</view>
|
|
|
</view>
|
|
|
<!--点击提示 -->
|
|
|
<view class='tongyi_toast' wx:if="{{showtype=='8'}}">
|
|
|
<view class='toast_container'>
|
|
|
<view class='detail'>{{sign_mbi}}</view>
|
|
|
</view>
|
|
|
<view class='liaojie' bindtap='closefirst'>知道了</view>
|
|
|
</view>
|
|
|
</view> |
|
|
\ No newline at end of file |
...
|
...
|
|