Commit 637946d4 by 李嘉林

图片画廊瀑布流

parent 023b0e46
...@@ -23,12 +23,12 @@ ...@@ -23,12 +23,12 @@
</view> </view>
<view wx:elif="{{datas.componentData.style==='waterfall'}}" class="waterfall"> <view wx:elif="{{datas.componentData.style==='waterfall'}}" class="waterfall">
<view class="waterfall-l"> <view class="waterfall-l">
<view wx:for="{{WaterfallFlowListL}}" :wx:key="index" class="item"> <view bindtap="itemClick" data-item="{{item}}" wx:for="{{WaterfallFlowListL}}" :wx:key="index" class="item">
<image src="{{item.imageUrl}}" mode="widthFix"></image> <image src="{{item.imageUrl}}" mode="widthFix"></image>
</view> </view>
</view> </view>
<view class="waterfall-r"> <view class="waterfall-r">
<view wx:for="{{WaterfallFlowListR}}" :wx:key="index" class="item"> <view bindtap="itemClick" data-item="{{item}}" wx:for="{{WaterfallFlowListR}}" :wx:key="index" class="item">
<image src="{{item.imageUrl}}" mode="widthFix"></image> <image src="{{item.imageUrl}}" mode="widthFix"></image>
</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 to comment