index.wxml 571 B

12345678910111213141516
  1. <view class="l-class water-flow-container" wx:if="{{data.length!==0}}">
  2. <view class="water-column" style="margin-right:{{columnGap}}">
  3. <view id="left">
  4. <block wx:for="{{leftData}}" wx:key="index">
  5. <l-water-flow-item data-item="{{item}}" catch:tap="onTapItem" data="{{item}}"/>
  6. </block>
  7. </view>
  8. </view>
  9. <view class="water-column">
  10. <view id="right">
  11. <block wx:for="{{rightData}}" wx:key="index">
  12. <l-water-flow-item data-item="{{item}}" catch:tap="onTapItem" data="{{item}}"/>
  13. </block>
  14. </view>
  15. </view>
  16. </view>