<view class="content data-v-4a372e71"><view class="search data-v-4a372e71"><input type="text" placeholder="输入关键字匹配食谱" data-event-opts="{{[['input',[['__set_model',['','search_value','$event',[]]]]]]}}" value="{{search_value}}" bindinput="__e" class="data-v-4a372e71"/><block wx:if="{{search_value}}"><icon data-event-opts="{{[['tap',[['handlecolse',['$event']]]]]}}" class="iconfont icon-error data-v-4a372e71" bindtap="__e"></icon></block><image src="/static/28.png" data-event-opts="{{[['tap',[['handleSearchHistory',['$0'],['search_value']]]]]}}" bindtap="__e" class="data-v-4a372e71"></image></view><view class="content-box data-v-4a372e71"><block wx:if="{{$root.g0}}"><view class="search-history data-v-4a372e71"><view class="title data-v-4a372e71"><view class="quan mr-5 data-v-4a372e71"></view>历史搜索</view><block wx:if="{{$root.g1>8}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="button-container data-v-4a372e71" bindtap="__e"><image src="{{showAll?'/static/arrow-up.png':'/static/arrow-down.png'}}" class="data-v-4a372e71"></image></view></block><view class="history-list data-v-4a372e71"><block wx:for="{{showAll?history_food:$root.g2}}" 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-4a372e71" bindtap="__e">{{''+item.keyword+''}}</view></block></view></view></block><view class="popular-container data-v-4a372e71"><view class="title data-v-4a372e71"><view class="quan mr-5 data-v-4a372e71"></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-4a372e71"><view class="food-title data-v-4a372e71">{{ite.title}}</view><view class="popular-food-inner data-v-4a372e71"><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-4a372e71" bindtap="__e">{{sub_item.name+''}}</text></block></view></view></block></view></view><block wx:if="{{showAutoSearchDlg}}"><view class="auto-search-dialog data-v-4a372e71"><view class="auto-search-inner data-v-4a372e71"><text class="data-v-4a372e71">{{autoSearchContent!=''?'识别到你描述的菜谱为“'+autoSearchContent+'”,是否查找菜谱“'+autoSearchContent+'”':"长安麦克风图标开始说话，松开后结束"}}</text><block wx:if="{{autoSearchContent==''}}"><view data-event-opts="{{[['touchstart',[['onVoiceTouchStart',['$event']]]],['touchend',[['onVoiceTouchEnd',['$event']]]]]}}" class="mic-icon data-v-4a372e71" style="{{'border-color:'+(mic_touch?'#18bc37':'#777777')+';'}}" bindtouchstart="__e" bindtouchend="__e"><uni-icons vue-id="50cad900-1" type="mic-filled" size="80" color="{{mic_touch?'#18bc37':'#777777'}}" class="data-v-4a372e71" bind:__l="__l"></uni-icons></view></block><block wx:else><view class="btn-wrap data-v-4a372e71"><view data-event-opts="{{[['tap',[['retrySearch',['$event']]]]]}}" class="retry data-v-4a372e71" bindtap="__e">重试</view><view data-event-opts="{{[['tap',[['handleSearchHistory',['$0'],['autoSearchContent']]]]]}}" class="confirm data-v-4a372e71" bindtap="__e">确定</view></view></block><uni-icons class="close data-v-4a372e71" vue-id="50cad900-2" type="close" color="#ffffff" size="45" data-event-opts="{{[['^click',[['e2']]]]}}" bind:click="__e" bind:__l="__l"></uni-icons></view></view></block><view class="footBtn data-v-4a372e71"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" bindtap="__e" class="data-v-4a372e71"><uni-icons vue-id="50cad900-3" type="mic-filled" size="22" color="#fff" class="data-v-4a372e71" bind:__l="__l"></uni-icons>语音搜索</view></view></view>