|
@@ -33,7 +33,7 @@
|
|
|
<!-- 分类 -->
|
|
|
<view class="fl_content">
|
|
|
<view class="fl_list">
|
|
|
- <view class="fl_item" wx:for="{{classifyList}}" data-type='{{item.type}}' bindtap="toSearch">
|
|
|
+ <view class="fl_item" wx:key="id" wx:for="{{classifyList}}" data-type='{{item.type}}' bindtap="toSearch">
|
|
|
<image wx:if='{{item.icon}}' src="{{item.icon}}"></image>
|
|
|
<text class="fl_name">{{item.title}}</text>
|
|
|
</view>
|
|
@@ -45,14 +45,14 @@
|
|
|
<view class="middleTab">
|
|
|
<view class="middletabContent {{middleEmptyLength==middleTabList.length?'none':''}}">
|
|
|
<view wx:if="{{middleList[item.type].length>0}}" class="middleTabItem {{middleType==item.type?'active':''}}" data-type="{{item.type}}"
|
|
|
- bindtap="changeMiddleTab" wx:for="{{middleTabList}}">
|
|
|
+ bindtap="changeMiddleTab" wx:for="{{middleTabList}}" wx:key="id">
|
|
|
<text>{{item.title}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="middleList" wx:for="{{middleTabList}}" wx:for-item="i" wx:if="{{middleType==i.type && middleList[i.type].length>0 }}">
|
|
|
- <view class="middleList_item" bindtap="middle_gotoWV" data-id="{{j.id}}" wx:for="{{middleList[i.type]}}" wx:for-item="j">
|
|
|
+ <view class="middleList" wx:key="id" wx:for="{{middleTabList}}" wx:for-item="i" wx:if="{{middleType==i.type && middleList[i.type].length>0 }}">
|
|
|
+ <view class="middleList_item" bindtap="middle_gotoWV" data-id="{{j.id}}" wx:key="id" wx:for="{{middleList[i.type]}}" wx:for-item="j">
|
|
|
<view class="middleList_cover">
|
|
|
<image mode="aspectFill" src="{{j.appListPicUrl}}"></image>
|
|
|
</view>
|
|
@@ -68,6 +68,7 @@
|
|
|
<view class="tj_title">为您推荐</view>
|
|
|
<view class="tj_tabbar">
|
|
|
<view class="tj_tabItem {{roomType==item.type?'active':''}}" bindtap="changeRoomType" data-type="{{item.type}}"
|
|
|
+ wx:key="id"
|
|
|
wx:for="{{roomTabList}}">
|
|
|
<text>{{item.title}}</text>
|
|
|
</view>
|
|
@@ -76,7 +77,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="tj_list" wx:if="{{roomList.length!=0}}">
|
|
|
- <view wx:for="{{roomList}}" wx:key class="house-list">
|
|
|
+ <view wx:for="{{roomList}}" wx:key="id" class="house-list">
|
|
|
<roomItem room="{{item}}" bindgotoWV="gotoWV"></roomItem>
|
|
|
</view>
|
|
|
</view>
|