1 line
8.3 KiB
Plaintext
1 line
8.3 KiB
Plaintext
|
|
<view class="content data-v-415f9e0f"><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-415f9e0f vue-ref" bind:__l="__l"></search><view class="box menu data-v-415f9e0f"><view class="tab_list data-v-415f9e0f"><scroll-view class="scroll-menu data-v-415f9e0f" 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-415f9e0f" bindtap="__e"><view class="{{['data-v-415f9e0f',index==ind?'active':'']}}">{{ite.name}}</view></view></block></scroll-view></view><view class="left data-v-415f9e0f"><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-415f9e0f',leftInd==ind?'active':'']}}" bindtap="__e">{{''+ite.name+''}}</view></block></view><view class="right data-v-415f9e0f"><food-item vue-id="8de3cd70-2" foodList="{{menu3}}" data-event-opts="{{[['^scroll',[['onScrollBottom']]],['^select',[['handleDetail']]]]}}" bind:scroll="__e" bind:select="__e" class="data-v-415f9e0f" bind:__l="__l"></food-item><block wx:if="{{!$root.g0}}"><view class="nolist data-v-415f9e0f"><icon class="iconfont icon-wancan data-v-415f9e0f"></icon><text class="data-v-415f9e0f">还没有数据哦!</text></view></block></view></view><view class="groupbtn data-v-415f9e0f"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="che data-v-415f9e0f" bindtap="__e"><block wx:if="{{$root.g1}}"><text class="data-v-415f9e0f">{{$root.g2}}</text></block><icon class="t-icon t-icon-canpan data-v-415f9e0f"></icon></view><view data-event-opts="{{[['tap',[['handlesubbtn',['$event']]]]]}}" class="subbtn data-v-415f9e0f" bindtap="__e">确定</view></view><block wx:if="{{isShop}}"><view class="wrapper activeList data-v-415f9e0f"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="bg data-v-415f9e0f" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="box data-v-415f9e0f" catchtap="__e"><view class="title data-v-415f9e0f">{{"共"+$root.g3+"条记录"}}</view><block wx:if="{{$root.g4}}"><view class="list data-v-415f9e0f"><block wx:for="{{ActiveList}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view class="item data-v-415f9e0f"><view class="data-v-415f9e0f"><text class="name data-v-415f9e0f">{{ite.name}}</text><text class="data-v-415f9e0f">{{"("+ite.weight+ite.unit+")"}}</text></view><icon data-event-opts="{{[['tap',[['handledelactive',['$0'],[[['ActiveList','',ind]]]]]]]}}" class="iconfont icon-ashbin data-v-415f9e0f" bindtap="__e"></icon></view></block></view></block><block wx:else><view class="nolist list data-v-415f9e0f"><icon class="iconfont icon-wancan data-v-415f9e0f"></icon><text class="data-v-415f9e0f">还没有记录哦</text></view></block></view></view></view></block><block wx:if="{{IsWeight}}"><view class="wrapper data-v-415f9e0f"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="bg data-v-415f9e0f" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="box data-v-415f9e0f" catchtap="__e"><view class="title data-v-415f9e0f"><view data-event-opts="{{[['tap',[['handleWeight']]]]}}" class="weight data-v-415f9e0f" bindtap="__e"><icon class="iconfont icon-lianjie data-v-415f9e0f"></icon>食物秤称重</view><view class="cancel data-v-415f9e0f"><icon data-event-opts="{{[['tap',[['Cancelword']]]]}}" class="iconfont icon-error data-v-415f9e0f" bindtap="__e"></icon></view></view><view class="name data-v-415f9e0f">{{activeType.name}}</view><view class="val data-v-415f9e0f"><text class="data-v-415f9e0f">{{activeType.weight?activeType.weight:'0'}}</text>g</view><view class="mybrankmask data-v-415f9e0f"><view class="MymaskAll data-v-415f9e0f"><view class="MymaskList data-v-415f9e0f"><view data-event-opts="{{[['t
|