index.wxml 2.7 KB

1
  1. <view class="wrapper" style="{{(colorStyle)}}"><scroll-view class="scroll-Y" scroll-top="{{scrollTop}}" scroll-y="true" data-event-opts="{{[['scroll',[['scroll',['$event']]]],['scrolltolower',[['scrollLower',['$event']]]]]}}" bindscroll="__e" bindscrolltolower="__e"><view class="searchGood"><view class="search acea-row row-between-wrapper"><view class="input acea-row row-between-wrapper"><text class="iconfont icon-sousuo"></text><input type="text" focus="{{true}}" placeholder="{{$root.m0}}" placeholder-class="placeholder" data-event-opts="{{[['confirm',[['inputConfirm',['$event']]]],['input',[['__set_model',['','searchValue','$event',[]]],['setValue',['$event']]]]]}}" value="{{searchValue}}" bindconfirm="__e" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['searchBut',['$event']]]]]}}" class="bnt" bindtap="__e">{{$root.m1}}</view></view><block wx:if="{{$root.g0}}"><view class="title acea-row row-between-wrapper"><view>{{$root.m2}}</view><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="iconfont icon-shanchu" bindtap="__e"></view></view><view class="list acea-row"><block wx:for="{{history}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.keyword}}"><view data-event-opts="{{[['tap',[['setHotSearchValue',['$0'],[[['history','',index,'keyword']]]]]]]}}" class="item history-item line1" bindtap="__e">{{item.keyword}}</view></block></block></block></view></block><view class="title">{{$root.m3}}</view><view class="list acea-row"><block wx:for="{{hotSearchList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.val}}"><view data-event-opts="{{[['tap',[['setHotSearchValue',['$0'],[[['hotSearchList','',index,'val']]]]]]]}}" class="item line1" bindtap="__e">{{item.val}}</view></block></block></block></view><block wx:if="{{$root.g1}}"><view class="line"></view></block><block wx:if="{{$root.g2>0}}"><good-list vue-id="74510980-1" bastList="{{bastList}}" bind:__l="__l"></good-list></block><block wx:if="{{$root.g3>0}}"><view class="loadingicon acea-row row-center-wrapper"><text class="loading iconfont icon-jiazai" hidden="{{loading==false}}"></text>{{loadTitle+''}}</view></block></view><view class="noCommodity"><block wx:if="{{$root.g4==0}}"><view class="pictrue"><image src="{{imgHost+'/statics/images/noSearch.png'}}"></image></view></block><block wx:if="{{$root.g5}}"><recommend vue-id="74510980-2" hostProduct="{{hostProduct}}" bind:__l="__l"></recommend></block></view></scroll-view><home vue-id="74510980-3" bind:__l="__l"></home><block wx:if="{{scrollTopShow}}"><view data-event-opts="{{[['tap',[['goTop',['$event']]]]]}}" class="back-top" bindtap="__e"><text class="iconfont icon-xiangshang"></text></view></block></view>