Commit 3ab0f858 by 施宇

11

parent 5aa398d9
Showing with 2 additions and 2 deletions
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<view class="rm_search" wx:if="{{rmList.length}}"> <view class="rm_search" wx:if="{{rmList.length}}">
<text class="title beforeLine">热门搜索</text> <text class="title beforeLine">热门搜索</text>
<view class="rm_ls_content row" > <view class="rm_ls_content row" >
<view class="search-item" wx:for="{{rmList}}" wx:key="*this" bindtap="toSearch" data-title="{{item.title}}">{{item.title}}</view> <view class="search-item" wx:for="{{rmList}}" wx:key="{{index}}" bindtap="toSearch" data-title="{{item.title}}">{{item.title}}</view>
</view> </view>
</view> </view>
<view class="ls_search" wx:if="{{historyList.length}}"> <view class="ls_search" wx:if="{{historyList.length}}">
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<text class="icon iconfont iconiconxiantiaoshouji7" bindtap="deleteHistory"></text> <text class="icon iconfont iconiconxiantiaoshouji7" bindtap="deleteHistory"></text>
</view> </view>
<view class="rm_ls_content row"> <view class="rm_ls_content row">
<view class="search-item" wx:for="{{historyList}}" wx:key="*this" bindtap="toSearch" data-title="{{item}}">{{item}}</view> <view class="search-item" wx:for="{{historyList}}" wx:key="{{index}}" bindtap="toSearch" data-title="{{item}}">{{item}}</view>
</view> </view>
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment