Browse Source

fix[litemall-wx]: data应该设置关键字n内容,而不是关键字项。

Junling Bu 7 years ago
parent
commit
73e183c122
1 changed files with 1 additions and 1 deletions
  1. 1 1
      litemall-wx/pages/search/search.wxml

+ 1 - 1
litemall-wx/pages/search/search.wxml

@@ -14,7 +14,7 @@
       <image class="icon" bindtap="clearHistory" src="http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/del1-93f0a4add4.png"></image>
     </view>
     <view class="b">
-      <view class="item" bindtap="onKeywordTap" data-keyword="{{item}}" wx:for="{{historyKeyword}}" wx:key="keyword" hover-class="navigator-hover">{{item.keyword}}</view>
+      <view class="item" bindtap="onKeywordTap" data-keyword="{{item.keyword}}" wx:for="{{historyKeyword}}" wx:key="keyword" hover-class="navigator-hover">{{item.keyword}}</view>
     </view>
   </view>
   <view class="search-keywords search-hot" wx:if="{{!keyword && hotKeyword.length}}">