|
|
@@ -12,8 +12,8 @@
|
|
|
<view class="hot-tag-block">
|
|
|
<view class="hot-tag-title primary-text-color">历史搜索</view>
|
|
|
<view class="hot-tags secondary-text-color">
|
|
|
- <view class="hot-tag" wx:for="{{hotTagData}}" wx:key="tag" wx:for-item="item" data-search-tag="{{item.tag}}"
|
|
|
- bindtap="searchTag">{{item.tag}}</view>
|
|
|
+ <view class="hot-tag" wx:for="{{searchHistory}}" wx:key="*this" wx:for-item="item" data-search-tag="{{item}}"
|
|
|
+ bindtap="searchTag">{{item}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|