<view class="header">
    <view class="tabs">
        <view wx:for="{{categories}}" wx:key="categories" class="tabs-item {{listType == item.category_id ? 'show' : ''}}" bindtap="onTabs" data-type="{{item.category_id}}">{{item.title}}</view>
    </view>
</view>

<view class="list" wx:if="{{articlesArr.length > 0}}">
    <navigator hover-class="none" url="/pages/article/info/info?id={{item.favoriteable.article_id}}&type={{name}}" class="item" wx:for="{{articlesArr}}" wx:key="articlesArr">
        <view class="itemCont">
            <view class="nowrap itemCont-name"><text>{{item.favoriteable.categories[0].slug}}</text> | {{item.favoriteable.title}}</view>
            <view class="nowrap itemCont-text">{{item.favoriteable.description}}</view>
            <view class="itemCont-see">
                <view class="itemCont-icon"><image src="http://cdn.siyuankunlun.com/materials/2022/10/11/articleIcon_00.png"></image> {{item.favoriteable.clicks}}</view>
                <view class="itemCont-icon"><image src="http://cdn.siyuankunlun.com/materials/2022/10/11/articleIcon_01.png"></image>{{item.favoriteable.subscribes}}</view>
            </view>
        </view>
        <image class="itemImg" mode="aspectFill" src="{{item.favoriteable.cover}}"></image>
    </navigator>
    <view class="pagesLoding" wx:if="{{lodingStats}}">
        <block wx:if="{{page.has_more}}">
            <image class="pagesLoding-icon" src="/static/icon/refresh_loding.gif" mode="widthFix"></image>加载中...
        </block>
        <block wx:else>
            没有更多了~
        </block>
    </view>
</view>
<view class="pack-center pages-hint" wx:else>
    <image src="/static/imgs/text_null.png"></image>
    <view>暂无数据</view>
</view>