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.

20 lines
797 B

<page-meta>
<navigation-bar title="搜索{{list[current].text}}" loading="{{loading}}"/>
</page-meta>
<form class="header" bindsubmit="onSubmit">
<view class="search">
<input name="keyword" value="{{keyword}}" auto-focus="1" bindconfirm="onConfirm" confirm-type="search"/>
<button form-type="submit" type="main" size="mini">
<view class="button-inner">
<icon type="search" color="white"/>
搜索
</view>
</button>
</view>
</form>
<nav-bar list="{{list}}" current="{{current}}" bindchange="onTapNav"/>
<scroll-view class="body" scroll-y="1" lower-threshold="160" bindscrolltolower="_onReachBottom" scroll-top="{{scrollTop}}">
<view wx:for="{{results}}" class="search-item-wrap" wx:key="id">
<search-item data="{{item}}"/>
</view>
</scroll-view>