- <scroll-view scroll-y='{{true}}' bindscrolltolower='next'>
- <view class="up-down">
- <navigator wx:for="{{list}}" hover-class="none" url="../detail/detail?id={{item.id}}" >
- <view class="article-name">
- {{item.name}}
- <text>{{item.ctime}}</text>
- </view>
- <image class="article-img" mode="aspectFill" src="{{item.img}}"></image>
- </navigator>
- </view>
- <block wx:if='{{total >= 20}}'>
- <view class='loading' wx:if='{{list.length < total}}'>上拉加载更多...</view>
- </block>
- </scroll-view>
|