|
@@ -28,8 +28,8 @@
|
|
|
<view class="Legendary-Information" wx:if="{{storeList.length!=0}}">
|
|
|
<block>
|
|
|
<view class="container">
|
|
|
- <block wx:for="{{storeList}}" wx:if="{{index%2==0}}">
|
|
|
- <block wx:if="{{index == 2}}">
|
|
|
+ <block wx:for="{{storeList}}" wx:if="{{(index+1)%2==0}}">
|
|
|
+ <block wx:if="{{index == 3}}">
|
|
|
<view class="picbox">
|
|
|
<view class="pic-2"></view>
|
|
|
<block wx:for="{{3}}">
|
|
@@ -65,7 +65,7 @@
|
|
|
|
|
|
</view>
|
|
|
<view class="container">
|
|
|
- <block wx:for="{{storeList}}" wx:if="{{index%2==1}}">
|
|
|
+ <block wx:for="{{storeList}}" wx:if="{{(index+1)%2==1}}">
|
|
|
<view class="cardbox">
|
|
|
<image class="pic" src="{{item.cover}}" data-id="{{item.objectId}}" data-url="../../pages/homestay/homestay-detail/index" bindtap="gourl"></image>
|
|
|
<view class="textobx">
|