1 line
3.6 KiB
Plaintext
1 line
3.6 KiB
Plaintext
<view class="data-v-5166ee27"><tm-nav-bar vue-id="49115082-1" left-icon="arrow-left" title="{{desc?$root.m0:$root.m1}}" data-event-opts="{{[['^clickLeft',[['back']]]]}}" bind:clickLeft="__e" class="data-v-5166ee27" bind:__l="__l"></tm-nav-bar><view class="content data-v-5166ee27"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="over data-v-5166ee27" style="margin-top:30rpx;" bindtap="__e"><text class="data-v-5166ee27">日期筛选</text><uni-icons vue-id="49115082-2" type="down" size="24" class="data-v-5166ee27" bind:__l="__l"></uni-icons></view><view hidden="{{!(flag)}}" class="time data-v-5166ee27"><punch-calendar vue-id="49115082-3" errorList="{{errorList}}" successList="{{successList}}" data-ref="calendar" data-event-opts="{{[['^switchMonth',[['switchMonth']]],['^chooseDay',[['chooseDay']]]]}}" bind:switchMonth="__e" bind:chooseDay="__e" class="data-v-5166ee27 vue-ref" bind:__l="__l"></punch-calendar></view><block wx:for="{{dataList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list data-v-5166ee27"><view class="row data-v-5166ee27"><view class="data data-v-5166ee27"><image src="https://img.agrimedia.cn/apptest/%E6%89%8B%E8%A1%A8-%E7%BA%BF%E6%80%A73-0.png" mode="widthFix" class="data-v-5166ee27"></image><block wx:if="{{type=='step'}}"><view class="data-v-5166ee27">{{'步数:'+item.data_msg.stepCount+''}}</view></block><block wx:if="{{type=='bloodPressure'}}"><view class="data-v-5166ee27">{{''+item.data_msg.bloodPressureHigh+"/"+item.data_msg.bloodPressureLow+' mmHg'}}</view></block><block wx:if="{{type=='bloodOxygen'}}"><view class="data-v-5166ee27">{{''+(item.data_msg[0]?item.data_msg[0]+(item.data_msg[1]?' | ':''):'')+"\n\t\t\t\t\t\t"+(item.data_msg[1]?item.data_msg[1]+(item.data_msg[2]?' | ':''):'')+"\n\t\t\t\t\t\t"+(item.data_msg[2]?item.data_msg[2]+(item.data_msg[3]?' | ':''):'')+"\n\t\t\t\t\t\t"+(item.data_msg[3]?item.data_msg[3]+(item.data_msg[4]?' | ':''):'')+"\n\t\t\t\t\t\t"+(item.data_msg[4]?item.data_msg[4]:'')+''}}</view></block><block wx:if="{{type=='bloodGlucose'}}"><view class="data-v-5166ee27">{{''+item.data_msg+'毫摩尔/升'}}</view></block><block wx:if="{{type=='bodyTemperature'}}"><view class="data-v-5166ee27">{{''+item.data_msg+' ℃'}}</view></block><block wx:if="{{type=='pulseReat'}}"><view class="data-v-5166ee27">{{''+(item.data_msg[0]?item.data_msg[0]+(item.data_msg[1]?' | ':''):'')+"\n\t\t\t\t\t\t"+(item.data_msg[1]?item.data_msg[1]+(item.data_msg[2]?' | ':''):'')+"\n\t\t\t\t\t\t"+(item.data_msg[2]?item.data_msg[2]+(item.data_msg[3]?' | ':''):'')+"\n\t\t\t\t\t\t"+(item.data_msg[3]?item.data_msg[3]+(item.data_msg[4]?' | ':''):'')+"\n\t\t\t\t\t\t"+(item.data_msg[4]?item.data_msg[4]:'')+''}}</view></block><block wx:if="{{type=='bloodLiquid'&&desc=='uricAcidVal'}}"><view class="data-v-5166ee27">{{''+item.data_msg.uricAcidVal/10+' 微摩尔/升'}}</view></block><block wx:if="{{type=='meiTuo'}}"><view class="data-v-5166ee27">{{''+item.data_msg[0]/10+' MET'}}</view></block><block wx:if="{{type=='bloodLiquid'&&desc!=='uricAcidVal'}}"><view style="font-size:24rpx;" class="data-v-5166ee27"><view class="data-v-5166ee27">{{"总胆固醇:"+item.data_msg.cholesterol/100+''}}</view><view class="data-v-5166ee27">{{"甘油三脂:"+item.data_msg.triacylglycerol/100+''}}</view><view class="data-v-5166ee27">{{"高密度脂蛋白:"+item.data_msg.highDensity/100}}</view><view class="data-v-5166ee27">{{"低胆固醇:"+item.data_msg.lowDensity/100+''}}</view></view></block></view><view class="time data-v-5166ee27">{{''+item.date_str+" "+item.hour_minute+''}}</view></view></view></block><view style="height:30rpx;" class="data-v-5166ee27"></view></view></view> |