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.
|
|
|
<view class="issue-list">
|
|
|
|
<view class="search">
|
|
|
|
<!-- <view class="left">
|
|
|
|
<image src="../../../../images/discussion/search.png" />
|
|
|
|
<input bindtap="navigateToSearchDiscussion" disabled placeholder-class="input-placeholder" type="text" placeholder="搜索"/>
|
|
|
|
</view> -->
|
|
|
|
<view class="left-v2">
|
|
|
|
<!-- <button bindtap="onButtonChange" hover-class="hover-btn" data-type="{{item.type}}" id="item-{{ item.type }}" class="{{item.select ? 'font-w' : 'font-b'}}">
|
|
|
|
{{item.name}}
|
|
|
|
</button> -->
|
|
|
|
</view>
|
|
|
|
<view class="right {{issueType === 'hot' ? 'reserve': ''}}" bindtap="changeIssueType">
|
|
|
|
<view class="front">
|
|
|
|
<view class="tip">最新</view>
|
|
|
|
<image class="change-image" src="../../../../images/discussion/ic_dazuixinzuirexiehuan@2x.png" />
|
|
|
|
</view>
|
|
|
|
<view class="back">
|
|
|
|
<image class="change-image" src="../../../../images/discussion/ic_dazuixinzuirexiehuan@2x.png" />
|
|
|
|
<view class="tip" >最热</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<pulldown-refresh id="pulldownrefresh" bind:pullDownRefresh="getIssueList">
|
|
|
|
<view class="issue-list" slot="content">
|
|
|
|
<block wx:if="{{issueList.length === 0 && preloadVisible}}">
|
|
|
|
<preload-issue-item
|
|
|
|
wx:for="{{[1]}}"
|
|
|
|
wx:for-index="index"
|
|
|
|
wx:for-item="item"
|
|
|
|
wx:key="{{index}}">
|
|
|
|
</preload-issue-item>
|
|
|
|
</block>
|
|
|
|
<block wx:if="{{issueList.length > 0}}">
|
|
|
|
<issue-item
|
|
|
|
bind:navigateToIssueDetail="navigateToIssueDetail"
|
|
|
|
wx:for="{{issueList}}"
|
|
|
|
wx:for-index="index"
|
|
|
|
wx:for-item="item"
|
|
|
|
issueObj="{{item}}"
|
|
|
|
wx:key="{{item.id}}">
|
|
|
|
</issue-item>
|
|
|
|
</block>
|
|
|
|
<view class="issue-nodata" wx:if="{{issueList.length === 0 && !preloadVisible}}">
|
|
|
|
<image class="nodata-image" src="../../../../images/mine/topic-nodata.png" />
|
|
|
|
<view class="nodata-tip">暂无议题</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</pulldown-refresh>
|
|
|
|
|
|
|
|
<load-more loadMoreVisible="{{issueLoadMoreVisible}}" loadMoreType="{{loadMoreType}}"></load-more>
|
|
|
|
</view>
|