article.wxml 555 B

1234567891011121314
  1. <scroll-view scroll-y='{{true}}' bindscrolltolower='next'>
  2. <view class="up-down">
  3. <navigator wx:for="{{list}}" hover-class="none" url="../detail/detail?id={{item.id}}" >
  4. <view class="article-name">
  5. {{item.name}}
  6. <text>{{item.ctime}}</text>
  7. </view>
  8. <image class="article-img" mode="aspectFill" src="{{item.img}}"></image>
  9. </navigator>
  10. </view>
  11. <block wx:if='{{total >= 20}}'>
  12. <view class='loading' wx:if='{{list.length < total}}'>上拉加载更多...</view>
  13. </block>
  14. </scroll-view>