- <template name="search">
- <view class="search-container">
- <view class="search-video">
- <image class="icon" src="../../static/image/search.png"></image>
- <input placeholder="输入关键字" bindinput="focus"/>
- </view>
- <scroll-view class="scroll-view" scroll-y>
- <view class="title">热门搜索</view>
- <view class="hot-video">
- <view class="hot-item" wx:for="{{searchData.searchList}}" wx:key="{{inedex}}" bindtap="details" data-id="{{item.id}}">
- <image src="{{item.iconImg}}"></image>
- </view>
- </view>
- </scroll-view>
- </view>
- </template>
|