You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.9 KiB
63 lines
1.9 KiB
<!--pages/user/common/myFavorite/index.wxml-->
|
|
<!-- <view class="title">
|
|
<view class="option" bindtap="refresh" data-type="1">
|
|
<block wx:if="{{type == '1'}}">
|
|
<view class="text active">宣传栏</view>
|
|
</block>
|
|
<block wx:else>
|
|
<view class="text">宣传栏</view>
|
|
</block>
|
|
</view>
|
|
|
|
<view class="option" bindtap="refresh" data-type="2">
|
|
<block wx:if="{{type == '2'}}">
|
|
<view class="text active">通知公告</view>
|
|
</block>
|
|
<block wx:else>
|
|
<view class="text">通知公告</view>
|
|
</block>
|
|
</view>
|
|
|
|
<view class="option" bindtap="refresh" data-type="3">
|
|
<block wx:if="{{type == '3'}}">
|
|
<view class="text active">赋能中心</view>
|
|
</block>
|
|
<block wx:else>
|
|
<view class="text">赋能中心</view>
|
|
</block>
|
|
</view>
|
|
</view> -->
|
|
|
|
<view class="content">
|
|
<block wx:for="{{list}}" wx:key="{{index}}">
|
|
<artice-cell
|
|
cId="{{item.topicId}}"
|
|
title="{{item.title}}"
|
|
image="{{item.topicImg}}"
|
|
time="{{item.time}}"
|
|
type="{{item.type}}"
|
|
bind:clickListItem="clickListItem"/>
|
|
<!-- <block wx:if="{{item.type === '1' || item.type ==='3' || item.type ==='4'}}">
|
|
<artice-cell
|
|
cId="{{item.topicId}}"
|
|
title="{{item.title}}"
|
|
image="{{item.topicImg}}"
|
|
time="{{item.time}}"
|
|
type="{{item.type}}"
|
|
bind:clickListItem="clickListItem"/>
|
|
</block> -->
|
|
<!-- <block wx:else>
|
|
<cell
|
|
topicId="{{item.topicId}}"
|
|
title="{{item.title}}"
|
|
topicImg="{{item.topicImg}}"
|
|
userName="{{item.userName}}"
|
|
time="{{item.time}}"
|
|
commentNum="{{item.commentNum}}"
|
|
type="{{item.type}}"
|
|
userIcon="{{item.userIcon || '/images/topic/avatar.png'}}"
|
|
bind:clickListItem="clickListItem"/>
|
|
</block> -->
|
|
</block>
|
|
<e-empty empty="{{list.length <= 0}}" message="暂无内容"/>
|
|
</view>
|
|
|