<view class="content data-v-1c5f368e"><view class="content_box data-v-1c5f368e"><view class="box data-v-1c5f368e"><view class="top data-v-1c5f368e"><image src="{{bgimage}}" mode="aspectFill" class="data-v-1c5f368e"></image><view class="name data-v-1c5f368e">{{info.name}}</view><view class="time data-v-1c5f368e">{{time}}</view></view><view class="everyDay data-v-1c5f368e"><view class="title data-v-1c5f368e"><view class="data-v-1c5f368e"><text class="quan data-v-1c5f368e"></text>{{$root.m0}}</view></view><view class="progress data-v-1c5f368e"><view class="chart-wrap _div data-v-1c5f368e"><qiun-data-charts vue-id="6f881c38-1" type="ring" opts="{{opts}}" canvasId="foodCharts" chartData="{{chartData}}" canvas2d="{{true}}" class="data-v-1c5f368e" bind:__l="__l"></qiun-data-charts></view><block wx:if="{{info.nutrients_four}}"><view class="info data-v-1c5f368e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="info-item data-v-1c5f368e"><view class="data-v-1c5f368e"><view class="color data-v-1c5f368e" style="{{'background-color:'+(''+item.color)+';'}}"></view><view class="data-v-1c5f368e">{{item.name}}</view></view><view class="value data-v-1c5f368e"><text class="data-v-1c5f368e">{{item.value+item.unit}}</text><text class="data-v-1c5f368e">|</text><text class="data-v-1c5f368e">{{item.proportion+"%"}}</text></view></view></block></view></block></view></view><view class="foodtools data-v-1c5f368e"><view class="type data-v-1c5f368e"><view class="title data-v-1c5f368e"><view class="data-v-1c5f368e"><text class="quan data-v-1c5f368e"></text>{{$root.m1}}</view></view><block wx:if="{{$root.g0}}"><view class="list data-v-1c5f368e"><uni-swipe-action vue-id="6f881c38-2" class="data-v-1c5f368e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{info.list}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><uni-swipe-action-item vue-id="{{('6f881c38-3-'+ind)+','+('6f881c38-2')}}" right-options="{{actionOptions}}" data-event-opts="{{[['^click',[['delAcitionItem',['$0'],[[['info.list','',ind]]]]]]]}}" bind:click="__e" class="data-v-1c5f368e" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['showFoodDetail',['$0'],[[['info.list','',ind]]]]]]]}}" class="item data-v-1c5f368e" bindtap="__e"><image src="{{ite.pic_url}}" mode="aspectFill" class="data-v-1c5f368e"></image><view class="weight data-v-1c5f368e"><view class="overflow bold data-v-1c5f368e">{{ite.name}}</view><view class="size12 c999 data-v-1c5f368e">{{ite.weight}}<text class="data-v-1c5f368e">|</text>{{ite.val+"kcal"}}</view></view></view></uni-swipe-action-item></block></uni-swipe-action></view></block><block wx:else><view class="nolist data-v-1c5f368e"><image src="/static/none.png" class="data-v-1c5f368e"></image><view class="data-v-1c5f368e">{{$root.m2}}</view></view></block></view></view><view data-event-opts="{{[['tap',[['handleAddFood']]]]}}" class="add data-v-1c5f368e" bindtap="__e"><text class="data-v-1c5f368e">+</text>{{$root.m3+''}}</view></view></view><uni-drawer vue-id="6f881c38-4" mode="right" data-ref="showRight" class="data-v-1c5f368e vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view style="height:100%;" scroll-y="true" class="data-v-1c5f368e"><view class="foodDetail data-v-1c5f368e"><view class="foodInfo data-v-1c5f368e"><image src="{{activeFoodDetail.pic_url}}" mode="aspectFill" class="data-v-1c5f368e"></image><view class="info data-v-1c5f368e"><view class="name data-v-1c5f368e">{{activeFoodDetail.name}}</view><view class="kcal data-v-1c5f368e">{{activeFoodDetail.val+"kcal"}}</view></view></view><view class="foodContent data-v-1c5f368e"><view class="title data-v-1c5f368e">{{$root.m4}}</view><view class="progress data-v-1c5f368e"><view class="chart-wrap _div data-v-1c5f368e"><qiun-data-charts vue-id="{{('6f881c38-5')+','+('6f881c38-4')}}" type="ring" opts="{{opts2}}" chartData="{{chartData2}}" cHeight="{{280}}" cWidth="{{280}}" class="data-v-1c5f368e" bind:__l="__l"></qiun-data-charts></view><block wx:if="{{activeFoodDetail.nutrients_four}}"><view class="info data-v-1c5f368e"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="info-item data-v-1c5f368e"><view class="color data-v-1c5f368e" style="{{'background-color:'+(''+item.color)+';'}}"></view><view class="data-v-1c5f368e">{{item.name+"："+item.proportion+"%"}}</view></view></block></view></block></view><view class="tips data-v-1c5f368e"><text class="data-v-1c5f368e">{{$root.m5}}</text><text class="data-v-1c5f368e">{{activeFoodDetail.weight+$root.m6}}</text></view><view class="foodDetailList data-v-1c5f368e"><block wx:for="{{activeFoodDetail.nutrients_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="foodDetailItem data-v-1c5f368e"><view class="name data-v-1c5f368e">{{item.name_ch}}</view><view class="value data-v-1c5f368e">{{item.value+item.unit}}</view></view></block></view></view></view></scroll-view></uni-drawer></view>