123456789101112131415161718 |
- <!--pages/history/history.wxml-->
- <view class="history-page">
- <view id="fixedTop">
- <nav-bar id="navBar" title="最近浏览"></nav-bar>
- <tabs titles="{{ categoryList }}" is-center="{{true}}" bind:tab="handleTabAction"></tabs>
- </view>
- <scroll-view scroll-y="true" scroll-top="{{scrollTop}}" style="height: {{ scrollH }}px;"
- bindscrolltolower="scrollToLower">
- <block wx:if="{{ listData.length }}">
- <block wx:for="{{ listData }}" wx:key="index">
- <post-cell wx:if="{{item.type == 3}}" data="{{ item }}"></post-cell>
- <new-cell wx:else data="{{ item }}"></new-cell>
- </block>
- </block>
- <view wx:if="{{!isEmpty && isEnd}}" class="end-txt">已显示全部内容</view>
- </scroll-view>
- <empty wx:if="{{isEmpty}}" tips="暂无此内容浏览" top="200"></empty>
- </view>
|