2025-09-04 17:33:41 +08:00
|
|
|
|
<view class="content data-v-da0e2c1e"><search vue-id="8de3cd70-1" voice="{{true}}" data-ref="search" data-event-opts="{{[['^handleSearch',[['handleSearch']]],['^mic',[['onShowSearchType',[1]]]],['^camera',[['onShowSearchType',[2]]]]]}}" bind:handleSearch="__e" bind:mic="__e" bind:camera="__e" class="data-v-da0e2c1e vue-ref" bind:__l="__l"></search><view class="box menu data-v-da0e2c1e"><view class="tab_list data-v-da0e2c1e"><scroll-view class="scroll-menu data-v-da0e2c1e" style="white-space:nowrap;" scroll-x="true"><block wx:for="{{menuTop}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view data-event-opts="{{[['tap',[['handleToggle',[ind]]]]]}}" class="tabbar data-v-da0e2c1e" bindtap="__e"><view class="{{['data-v-da0e2c1e',index==ind?'active':'']}}">{{ite.name}}</view></view></block></scroll-view></view><view class="left data-v-da0e2c1e"><block wx:for="{{menu2}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view data-event-opts="{{[['tap',[['handleToggleLeft',[ind]]]]]}}" class="{{['name','data-v-da0e2c1e',leftInd==ind?'active':'']}}" bindtap="__e">{{''+ite.name+''}}</view></block></view><view class="right data-v-da0e2c1e"><food-item vue-id="8de3cd70-2" foodList="{{menu3}}" data-event-opts="{{[['^scroll',[['onScrollBottom']]],['^select',[['handleDetail']]]]}}" bind:scroll="__e" bind:select="__e" class="data-v-da0e2c1e" bind:__l="__l"></food-item><block wx:if="{{!$root.g0}}"><view class="nolist data-v-da0e2c1e"><icon class="iconfont icon-wancan data-v-da0e2c1e"></icon><text class="data-v-da0e2c1e">还没有数据哦!</text></view></block></view></view><view class="groupbtn data-v-da0e2c1e"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="che data-v-da0e2c1e" bindtap="__e"><block wx:if="{{$root.g1}}"><text class="data-v-da0e2c1e">{{$root.g2}}</text></block><icon class="t-icon t-icon-canpan data-v-da0e2c1e"></icon></view><view data-event-opts="{{[['tap',[['handlesubbtn',['$event']]]]]}}" class="subbtn data-v-da0e2c1e" bindtap="__e">确定</view></view><block wx:if="{{isShop}}"><view class="wrapper activeList data-v-da0e2c1e"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="bg data-v-da0e2c1e" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="box data-v-da0e2c1e" catchtap="__e"><view class="title data-v-da0e2c1e">{{"共"+$root.g3+"条记录"}}</view><block wx:if="{{$root.g4}}"><view class="list data-v-da0e2c1e"><block wx:for="{{ActiveList}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view class="item data-v-da0e2c1e"><view class="data-v-da0e2c1e"><text class="name data-v-da0e2c1e">{{ite.name}}</text><text class="data-v-da0e2c1e">{{"("+ite.weight+ite.unit+")"}}</text></view><icon data-event-opts="{{[['tap',[['handledelactive',['$0'],[[['ActiveList','',ind]]]]]]]}}" class="iconfont icon-ashbin data-v-da0e2c1e" bindtap="__e"></icon></view></block></view></block><block wx:else><view class="nolist list data-v-da0e2c1e"><icon class="iconfont icon-wancan data-v-da0e2c1e"></icon><text class="data-v-da0e2c1e">还没有记录哦</text></view></block></view></view></view></block><uni-drawer vue-id="8de3cd70-3" mode="right" width="300" data-ref="showRight" data-event-opts="{{[['^change',[['FoodDetailChange']]]]}}" bind:change="__e" class="data-v-da0e2c1e vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view style="height:100%;" scroll-y="true" class="data-v-da0e2c1e"><view class="foodDetail data-v-da0e2c1e"><view class="foodInfo data-v-da0e2c1e"><image src="{{activeFoodDetail.pic_url}}" mode="aspectFill" class="data-v-da0e2c1e"></image><view class="info data-v-da0e2c1e"><view class="name data-v-da0e2c1e">{{activeFoodDetail.name}}</view><view class="kcal data-v-da0e2c1e">{{$root.g5+"千卡"}}</view></view></view><view class="foodContent data-v-da0e2c1e"><view class="title data-v-da0e2c1e">热量和营养</view><view class="progress data-v-da0e2c1e"><view class="chart-wrap _div data-v-da0e2c1e"><qiun-data-charts vue-id="{{('8de3cd70-4')+','+('8de3cd70-3')}}" type="ring" opts="{{opts}}" canvas2d="{{true}}" canvasId="foodCharts" chartData="{{c
|