| 12345678910111213141516171819202122232425262728293031323334353637 |
- <!--
- - Copyright (C) 2018-2019
- - All rights reserved, Designed By www.joolun.com
- - 注意:
- - 本软件为www.joolun.com开发研制,项目使用请保留此说明
- -->
- <view class="cu-bar search bg-white">
- <view class="search-form round">
- <text class="cuIcon-search"></text>
- <input type="text" placeholder="请输入商品名" confirm-type="search" bindconfirm="searchHandle" focus></input>
- </view>
- </view>
- <view wx:if="{{searchHistory.length > 0}}">
- <view class="cu-bar bg-white">
- <view class="action"><text class="cuIcon-time"></text>历史搜索</view>
- <view class="action">
- <text class="cuIcon-delete lg text-gray" bindtap="clearSearchHistory"></text>
- </view>
- </view>
- <view class="padding-sm flex flex-wrap bg-white">
- <view class="padding-xs" wx:for="{{searchHistory}}" wx:key="index">
- <view class="cu-tag round" bindtap="searchHandle" data-name="{{item.name}}">{{item.name}}</view>
- </view>
- </view>
- </view>
- <view wx:if="{{goodsList}}">
- <view class="cu-bar bg-white">
- <view class="action"><text class="cuIcon-hot text-orange"></text>全网热榜</view>
- </view>
- <view class="cu-list menu card-menu sm-border margin-top-sm">
- <view class="cu-item" wx:for="{{goodsList}}" wx:key="index">
- <navigator hover-class='none' url='/pages/goods/goods-detail/index?id={{item.id}}' class="content overflow-1" data-name="{{item.name}}">
- <text class="margin-right-sm text-bold text-orange">{{index+1}}</text>{{item.name}}
- </navigator>
- </view>
- </view>
- </view>
|