You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
high-mini/unpackage/dist/dev/mp-weixin/pages/goods/HM-search/HM-search.wxml

1 line
1.8 KiB

<view class="content"><view class="search-box"><m-search class="mSearch-input-box" vue-id="8dc12c92-1" mode="{{2}}" button="inside" placeholder="{{defaultKeyword}}" value="{{keyword}}" data-event-opts="{{[['^search',[['doSearch',[false]]]],['^confirm',[['doSearch',[false]]]],['^input',[['__set_model',['','keyword','$event',[]]]]]]}}" bind:search="__e" bind:confirm="__e" bind:input="__e" bind:__l="__l"></m-search></view><view class="search-keyword"><scroll-view hidden="{{!(isShowKeywordList)}}" class="keyword-list-box" scroll-y="{{true}}"><block wx:for="{{keywordList}}" wx:for-item="row" wx:for-index="index" wx:key="index"><block><view class="keyword-entry" hover-class="keyword-entry-tap"><view data-event-opts="{{[['tap',[['doSearch',['$0'],['keywordList.'+index+'.keyword']]]]]}}" class="keyword-text" catchtap="__e"><rich-text nodes="{{row.htmlStr}}"></rich-text></view><view data-event-opts="{{[['tap',[['setKeyword',['$0'],['keywordList.'+index+'.keyword']]]]]}}" class="keyword-img" catchtap="__e"><image src="/static/HM-search/back.png"></image></view></view></block></block></scroll-view><scroll-view hidden="{{!(!isShowKeywordList)}}" class="keyword-box" scroll-y="{{true}}"><view class="product-list mart15"><block wx:for="{{productList}}" wx:for-item="product" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['toGoods',['$0'],[[['productList','id',product.id,'id']]]]]]]}}" class="product" bindtap="__e"><image mode="widthFix" src="{{imageUrl+product.couponImg}}"></image><view class="name">{{product.couponName}}</view><view class="info"><view class="price">{{"¥"+product.discountPrice}}</view><block wx:if="{{product.discountPrice!==product.salesPrice}}"><view class="slogan">{{'¥'+product.salesPrice}}</view></block></view></view></block></view></scroll-view></view><view class="loading-text">{{loadingText}}</view></view>