<view class="good-coupon-list-search data-v-7f67348e"><view class="search data-v-7f67348e"><sui-search class="sui-search data-v-7f67348e" vue-id="4940d26d-1" placeholder="请输入商品关键词" radius="{{30}}" focus="{{true}}" value="{{inputValue}}" data-event-opts="{{[['^search',[['searchBlur']]],['^onFocus',[['searchFocus']]],['^clear',[['searchClear']]]]}}" bind:search="__e" bind:onFocus="__e" bind:clear="__e" bind:__l="__l"></sui-search><view data-event-opts="{{[['tap',[['handleSearch',['$event']]]]]}}" class="search-btn data-v-7f67348e" bindtap="__e">搜索</view></view><block wx:if="{{serachRecordList.length>0}}"><view hidden="{{!(resetType)}}" class="history-keywords data-v-7f67348e"><view class="line data-v-7f67348e"></view><view class="row history-title data-v-7f67348e"><view class="title data-v-7f67348e">搜索历史</view><view data-event-opts="{{[['tap',[['handleDetele',['$event']]]]]}}" class="iconfont icon-shanchu delete data-v-7f67348e" bindtap="__e"></view></view><view class="row keyword-list data-v-7f67348e"><block wx:for="{{serachRecordList}}" wx:for-item="keyword" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['keywordsClick',['$0'],[[['serachRecordList','',index]]]]]]]}}" class="keyword data-v-7f67348e" bindtap="__e">{{keyword+''}}</view></block></view></view></block><block wx:if="{{productList.length<=0&&!resetType}}"><cm-empty vue-id="4940d26d-2" message="暂无搜索结果~" image="{{baseUrl+'icon-empty-search.png'}}" offset="{{90}}" class="data-v-7f67348e" bind:__l="__l"></cm-empty></block><view hidden="{{!(!resetType)}}" class="product-list data-v-7f67348e"><block wx:for="{{$root.l0}}" wx:for-item="product" wx:for-index="index" wx:key="index"><view class="product data-v-7f67348e"><image class="product-image data-v-7f67348e" src="{{product.$orig.mainImage}}"></image><view class="product-info data-v-7f67348e"><view class="name tui-ellipsis-2 data-v-7f67348e">{{product.$orig.name}}</view><view class="unit data-v-7f67348e">{{"规格："+product.$orig.unit}}</view><view class="tags data-v-7f67348e"><block wx:if="{{product.$orig.activeStatus===1}}"><text class="tag type2 data-v-7f67348e">活动价</text></block><block wx:if="{{product.$orig.couponsLogo}}"><text class="tag type2 data-v-7f67348e">优惠券</text></block></view><view class="footer data-v-7f67348e"><view class="price data-v-7f67348e">{{"￥"+product.f0}}</view><text data-event-opts="{{[['tap',[['handAddCarts',['$0'],[[['productList','',index]]]]]]]}}" class="carts-add iconfont icon-gouwuche data-v-7f67348e" catchtap="__e"></text></view></view></view></block><block wx:if="{{productList.length>6}}"><tui-loadmore vue-id="4940d26d-3" index="{{2}}" visible="{{isRequest}}" class="data-v-7f67348e" bind:__l="__l"></tui-loadmore><tui-nomore vue-id="4940d26d-4" text="{{loadingText}}" visible="{{!isRequest}}" backgroundColor="#fff" class="data-v-7f67348e" bind:__l="__l"></tui-nomore></block></view><scroll-top vue-id="4940d26d-5" isScrollTop="{{isScrollTop}}" bottom="{{160}}" class="data-v-7f67348e" bind:__l="__l"></scroll-top><cm-drag vue-id="4940d26d-6" cartNum="{{kindCount}}" isDock="{{true}}" existTabBar="{{true}}" data-event-opts="{{[['^btnClick',[['btnClick']]]]}}" bind:btnClick="__e" class="data-v-7f67348e" bind:__l="__l"></cm-drag><tui-modal vue-id="4940d26d-7" show="{{showModal}}" content="{{contentModalText}}" color="#333" size="{{32}}" shape="circle" maskClosable="{{false}}" data-event-opts="{{[['^click',[['handleConfirm']]],['^cancel',[['e0']]]]}}" bind:click="__e" bind:cancel="__e" class="data-v-7f67348e" bind:__l="__l"></tui-modal></view>