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.
82 lines
3.4 KiB
82 lines
3.4 KiB
2 years ago
|
<view class="m-list" wx:if="{{list.length === 0 && noDataVisible}}">
|
||
|
<wux-skeleton active wux-class="wux-item" wx:for="{{[1,2,3]}}" wx:for-index="index" wx:key="index">
|
||
|
<wux-skeleton-avatar wux-class="wux-avatar" shape="square" />
|
||
|
<wux-skeleton-paragraph wux-class="wux-content" rows="2" />
|
||
|
</wux-skeleton>
|
||
|
</view>
|
||
|
|
||
|
<navigator wx:if="{{false}}" url="/subpages/group/pages/group/myGroup/myGroup">
|
||
|
<view class="mygroup">
|
||
|
<view class="mygrouplabel">我创建的小组</view>
|
||
|
<view class="mygroupicn">
|
||
|
<image src="../../../../assets/images/group/tomygroup.png" />
|
||
|
</view>
|
||
|
</view>
|
||
|
</navigator>
|
||
|
|
||
|
<view class="m-list" wx:if="{{list.length > 0}}">
|
||
|
<view wx:for="{{list}}"
|
||
|
wx:key="id"
|
||
|
wx:for-item="item"
|
||
|
data-state="{{item.groupState}}"
|
||
|
wx:for-index="index"
|
||
|
class="list-item"
|
||
|
data-groupId="{{item.groupId}}"
|
||
|
data-groupname="{{item.groupName}}">
|
||
|
<view class="groupinfo">
|
||
|
<view class="group-side">
|
||
|
<image mode="aspectFill"
|
||
|
class="group-avatar"
|
||
|
data-gid="{{item.groupId}}"
|
||
|
src="{{item.groupHeadPhoto}}"
|
||
|
data-src="{{item.groupHeadPhoto}}"
|
||
|
catchtap="previewImage" />
|
||
|
<view class="group-tag" wx:if="{{item.groupType=='branch'}}">
|
||
|
<text>支部</text>
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
<view class="list-item-content"
|
||
|
data-gid="{{item.groupId}}"
|
||
|
data-sts="{{item.groupState}}"
|
||
|
data-groupname="{{item.groupName}}"
|
||
|
bindtap="gotoGroup">
|
||
|
<view class="top">
|
||
|
<view class="title {{item.groupState==='approved' ? 'z-long':''}}">
|
||
|
<view class="name">
|
||
|
{{item.groupName}}
|
||
|
<text class="name-tag" wx:if="{{item.groupLeaderFlag=='leader'}}">我创建的</text>
|
||
|
</view>
|
||
|
<view class="bottom {{item.lastText!==null && item.lastText!==[] && item.lastText.type=='topic' ? 'z-long':''}}">
|
||
|
<text>共{{item.totalMember}}人 {{item.totalPartyMember}}名党员</text>
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
<view class="moreout"
|
||
|
wx:if="{{item.groupState==='approved'}}"
|
||
|
data-gid="{{item.groupId}}"
|
||
|
catch:tap="gotomanage">
|
||
|
<image class="more" src="/assets/images/group/more.png" mode="widthFix" />
|
||
|
</view>
|
||
|
<view class="group-sts" wx:if="{{item.groupState==='under_auditting'}}">审核中</view>
|
||
|
<view class="group-sts" wx:if="{{item.groupState==='rejected'}}">已拒绝</view>
|
||
|
<view class="group-sts" wx:if="{{item.groupState==='hidden'}}">已屏蔽</view>
|
||
|
<view class="group-sts" wx:if="{{item.groupState==='closed'}}">已关闭 </view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
<view class="latestTopic" wx:if="{{item.lastText!==null && item.lastText!==[] && item.lastText.type=='topic'}}">
|
||
|
<navigator url="/pages/group/topic/topicDetail/topicDetail?tid={{item.lastText.textId}}&gid={{item.groupId}}">
|
||
|
<view class="latestTopic-tit">最新话题</view>
|
||
|
<view class="latestTopic-con">{{item.lastText.topicContent}}</view>
|
||
|
</navigator>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
<view class="no-data" wx:if="{{list.length === 0 && !noDataVisible}}">
|
||
|
<image class="no-data-image" src="../../../../assets/images/group/nodata.png" />
|
||
|
<view class="tip">您还没有加入小组</view>
|
||
|
<view class="tip">在推荐小组内找你感兴趣的小组吧</view>
|
||
|
</view>
|