kitchendDevice/unpackage/dist/dev/mp-weixin/pageTwo/me/foodlist.wxml

1 line
4.9 KiB
Plaintext

<view class="content data-v-c58b4fba"><view class="serachBox data-v-c58b4fba"><view class="serach-box data-v-c58b4fba"><view class="searchInput data-v-c58b4fba"><input class="city-serach-input data-v-c58b4fba" placeholder="请输入..." data-event-opts="{{[['input',[['__set_model',['','search_value','$event',[]]]]]]}}" value="{{search_value}}" bindinput="__e"/><block wx:if="{{search_value}}"><icon data-event-opts="{{[['tap',[['handlecolse',['$event']]]]]}}" class="iconfont icon-error data-v-c58b4fba" bindtap="__e"></icon></block></view><view class="searchBtn data-v-c58b4fba"><view data-event-opts="{{[['tap',[['handleSerach',['$event']]]]]}}" bindtap="__e" class="data-v-c58b4fba">搜索</view></view></view></view><block wx:if="{{!$root.g0}}"><view class="content-box data-v-c58b4fba"><block wx:if="{{$root.g1}}"><view class="search-history data-v-c58b4fba"><view class="title data-v-c58b4fba"><view class="quan mr-5 data-v-c58b4fba"></view>历史搜索</view><block wx:if="{{$root.g2>8}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="button-container data-v-c58b4fba" bindtap="__e"><image src="{{showAll?'/static/arrow-up.png':'/static/arrow-down.png'}}" class="data-v-c58b4fba"></image></view></block><view class="history-list data-v-c58b4fba"><block wx:for="{{showAll?history_food:$root.g3}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({item})}}" class="history-list-item data-v-c58b4fba" bindtap="__e">{{''+item.keyword+''}}</view></block></view></view></block><view class="popular-container data-v-c58b4fba"><view class="title data-v-c58b4fba"><view class="quan mr-5 data-v-c58b4fba"></view>猜你想搜</view><block wx:for="{{popular_food}}" wx:for-item="ite" wx:for-index="index" wx:key="index"><view class="popular-food-item data-v-c58b4fba"><view class="food-title data-v-c58b4fba">{{ite.title}}</view><view class="popular-food-inner data-v-c58b4fba"><block wx:for="{{ite.list}}" wx:for-item="sub_item" wx:for-index="sub_index" wx:key="sub_index"><text data-event-opts="{{[['tap',[['handleSearchHistory',['$0'],[[['popular_food','',index],['list','',sub_index,'name']]]]]]]}}" class="popular-food-subitem data-v-c58b4fba" bindtap="__e">{{sub_item.name+''}}</text></block></view></view></block></view></view></block><block wx:if="{{$root.g4}}"><view class="search_list data-v-c58b4fba"><block wx:for="{{$root.l0}}" wx:for-item="ite" wx:for-index="ind"><view data-event-opts="{{[['tap',[['handleDetail',['$0',1],[[['search_list','',ind]]]]]]]}}" class="search_list_item data-v-c58b4fba" bindtap="__e"><image src="{{ite.$orig.pic_url}}" class="data-v-c58b4fba"></image><view class="data-v-c58b4fba"><text class="data-v-c58b4fba">{{ite.$orig.name}}</text><text class="data-v-c58b4fba">{{"100g/"+ite.$orig.kcal+"kcal"}}</text></view><block wx:if="{{ite.g5!=-1}}"><view class="dui data-v-c58b4fba"><uni-icons vue-id="{{'0a112d43-1-'+ind}}" type="checkmarkempty" size="22" color="#F7931E" class="data-v-c58b4fba" bind:__l="__l"></uni-icons></view></block></view></block><block wx:if="{{!lastPage||page>=lastPage}}"><view class="endtext data-v-c58b4fba">—— 到底了,看看别的吧 ——</view></block></view></block><view class="groupbtn data-v-c58b4fba"><view class="jilu data-v-c58b4fba"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="che data-v-c58b4fba" bindtap="__e"><text class="data-v-c58b4fba">{{$root.g6}}</text><icon class="t-icon t-icon-canpan data-v-c58b4fba"></icon></view><view data-event-opts="{{[['tap',[['handlesubbtn',['$event']]]]]}}" class="subbtn data-v-c58b4fba" bindtap="__e">确定</view></view><view data-event-opts="{{[['touchstart',[['onVoiceTouchStart',['$event']]]],['touchend',[['onVoiceTouchEnd',['$event']]]]]}}" class="mic-icon data-v-c58b4fba" bindtouchstart="__e" bindtouchend="__e"><uni-icons vue-id="0a112d43-2" type="mic-filled" size="20" color="{{mic_touch?'#777777':'#fff'}}" class="data-v-c58b4fba" bind:__l="__l"></uni-icons>语音搜索</view></view><block wx:if="{{isShop}}"><view class="wrapper activeList data-v-c58b4fba"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="bg data-v-c58b4fba" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="box2 data-v-c58b4fba" catchtap="__e"><block wx:if="{{$root.g7}}"><view class="list data-v-c58b4fba"><block wx:for="{{ActiveList}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view class="item data-v-c58b4fba"><view class="data-v-c58b4fba"><text class="name data-v-c58b4fba">{{ite.name}}</text></view><icon class="iconfont icon-ashbin data-v-c58b4fba" color="red" size="26" data-event-opts="{{[['tap',[['handledelactive',['$0'],[[['ActiveList','',ind]]]]]]]}}" bindtap="__e"></icon></view></block></view></block><block wx:else><view class="nolist list data-v-c58b4fba"><icon class="iconfont icon-wancan data-v-c58b4fba"></icon><text class="data-v-c58b4fba">还没有记录哦</text></view></block></view></view></view></block></view>