1 line
1.8 KiB
Plaintext
1 line
1.8 KiB
Plaintext
<view class="content data-v-76db4fe6"><view class="kcal data-v-76db4fe6"><view class="set data-v-76db4fe6"><input type="digit" placeholder="请输入" focus="{{focus}}" data-event-opts="{{[['blur',[['handleBlur',['$event']]]],['input',[['__set_model',['','weight','$event',[]]]]]]}}" value="{{weight}}" bindblur="__e" bindinput="__e" class="data-v-76db4fe6"/><block wx:if="{{weight!=''}}"><uni-icons class="uni-iocns data-v-76db4fe6" vue-id="648daace-1" type="close" size="24" color="#999" data-event-opts="{{[['^click',[['handleclear']]]]}}" bind:click="__e" bind:__l="__l"></uni-icons></block><view class="num data-v-76db4fe6">{{''+kcal.suggestion_kcal_unit+''}}</view></view><view class="desc data-v-76db4fe6">{{''+kcal.suggestion_kcal_range_val+''}}</view></view><view class="kcal data-v-76db4fe6"><view class="text data-v-76db4fe6">营养占比</view><block wx:if="{{isShow}}"><view class="slider data-v-76db4fe6"><llt-slider-range vue-id="648daace-2" model-value="{{rangeValue}}" data-event-opts="{{[['^change',[['handleChange']]]]}}" bind:change="__e" class="data-v-76db4fe6" bind:__l="__l"></llt-slider-range></view></block><view class="list data-v-76db4fe6"><block wx:for="{{nutrition.list}}" wx:for-item="ite" wx:for-index="ind"><view class="item data-v-76db4fe6"><icon class="{{['iconfont','data-v-76db4fe6',ite.icon]}}"></icon><text class="data-v-76db4fe6">{{ite.name}}</text><text class="data-v-76db4fe6">{{ite.proportion+"%"}}</text><view class="val data-v-76db4fe6">{{ite.val+ite.unit}}</view></view></block></view></view><view class="num data-v-76db4fe6"><block wx:for="{{nutrition.describe}}" wx:for-item="ite" wx:for-index="ind"><view class="item data-v-76db4fe6"><text class="data-v-76db4fe6">{{ite}}</text></view></block></view><view data-event-opts="{{[['tap',[['handleEditKcal',['$event']]]]]}}" class="subbtn data-v-76db4fe6" bindtap="__e">保存</view></view> |