日照项目的居民端小程序
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.
 
 
 

92 lines
3.7 KiB

<view bind:tap="handleTapRootNode">
<view class="m-info">
<view class="title">{{ info.groupName }}</view>
<view class="menus" wx:if="{{ info.leaderFlag=='leader' && topics.list.length>0 }}">
<view class="menu-show2" catch:tap="showMoreOperatePanel">
<image mode="aspectFit"
src="/assets/images/topic/more.png" />
</view>
<view class="menu-list a-scale-in-right-up" hidden="{{ !isShowedMoreOperatePanel }}">
<view bind:tap="startBatchSelect">解除屏蔽</view>
</view>
</view>
</view>
<view class="m-fx a-fade-in-up" hidden="{{ !inBatchSelect }}">
<view bind:tap="endBatchSelect" class="btn btn-off">取消</view>
<view bind:tap="relieveShieldTopic" class="btn">解除屏蔽</view>
</view>
<view class="m-hint" wx:if="{{ info.groupName && info.leaderFlag!=='leader' }}">
<view>暂无权限查看。</view>
</view>
<view wx:else class="m-list" wx:else bind:tap="blurTopic">
<view class="list">
<view class="item"
wx:key="topicId"
wx:for="{{ topics.list }}">
<view hidden="{{ !inBatchSelect }}"
bind:tap="shiftSelectTopic"
data-id="{{ item.topicId }}"
class="item-select {{ item.isSelected ? 'z-on' : ''}}">
<image mode="aspectFit"
data-id="{{ item.topicId }}"
src="/assets/images/topic/right.png" />
</view>
<view class="item-bd {{ inBatchSelect ? 'z-ing' : '' }}">
<view class="user">
<image class="user-avatar" mode="aspectFill"
src="{{ item.releaseUserHeadPhoto }}" />
<view class="user-info">
<view class="user-name">
<text>{{ item.releaseUserName }}</text>
<image wx:for="{{item.badgeList}}"
src="{{ item }}"
mode="aspectFill" />
</view>
<view class="user-date">{{ item.releaseTime }}</view>
</view>
</view>
<view class="cnt">
<view wx:if="{{ false && info.leaderFlag=='leader' }}" class="operate {{ item.topicId==focusedTopicId ? 'z-focused' : '' }}">
<view class="btn-more"
data-id="{{ item.topicId }}"
catch:tap="focuseTopic">
<image mode="aspectFit"
data-id="{{ item.topicId }}"
src="/assets/images/topic/more.png" />
</view>
<view class="btn-list">
<view class="btn" catch:tap="repealShieldTopic">屏蔽</view>
</view>
</view>
<image class="pic" mode="aspectFill"
wx:if="{{ false && item.firstPhoto!='' }}"
src="{{ item.firstPhoto }}" />
<view class="tag">话题</view>
<view class="title {{ item.status=='closed' ? 'z-closed' : '' }}">
<view>{{ item.topicContent }}</view>
</view>
<view class="else">
<navigator class="link"
url="/pages/group/topic/topicDetail/topicDetail?tid={{ item.topicId }}&gid={{ groupId }}">查看详情 ></navigator>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="m-more" wx:if="{{ info.groupName && info.leaderFlag=='leader' }}">
<text wx:if="{{ topics.loading }}">正在加载……</text>
<text wx:elif="{{ topics.list.length==0 }}">暂无话题</text>
<text wx:elif="{{ !topics.loading && topics.isNone }}">没有更多了</text>
<text wx:elif="{{ !topics.loading && !topics.isNone }}">上拉查看更多</text>
</view>
<view class="u-bottom-placeholder"></view>
</view>