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
786 B
20 lines
786 B
<page-meta>
|
|
<navigation-bar title="搜索{{type_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" size="17"/>
|
|
搜索
|
|
</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">
|
|
<search-item data="{{item}}"/>
|
|
</view>
|
|
</scroll-view> |