Browse Source

fix:兼容<3

jinx 3 năm trước cách đây
mục cha
commit
84b5d2622d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pages/index/index.wxml

+ 1 - 1
pages/index/index.wxml

@@ -52,7 +52,7 @@
 		</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_item" bindtap="middle_gotoWV" wx:if="{{index<3}}" data-id="{{j.id}}" wx:for="{{middleList[i.type]}}" wx:for-item="j">
 				<view class="middleList_cover">
 					<image mode="aspectFill" src="{{j.appListPicUrl}}"></image>
 				</view>