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

90 lines
3.7 KiB

<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-status="{{item.status}}"
data-groupname="{{item.groupName}}"
bindtap="gotoGroup">
<view class="top">
<view class="title">
<view class="name">
{{item.groupName}}
<text class="name-tag" wx:if="{{item.groupLeaderFlag=='leader'}}">我创建的</text>
</view>
<view class="bottom">
<text>共{{item.totalMember}}人 {{item.totalPartyMember}}名党员</text>
</view>
</view>
<view class="moreout"
wx:if="{{item.status==='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.status==='under_auditting'}}">审核中</view>
<view class="group-sts" wx:if="{{item.status==='rejected'}}">已拒绝</view>
<view class="group-sts" wx:if="{{item.status==='hidden'}}">已屏蔽</view>
<view class="group-sts" wx:if="{{item.status==='closed'}}">已关闭 </view>
<view class="group-sts z-btn"
catch:tap="join"
data-gid="{{item.groupId}}"
wx:if="{{item.status===''}}">加入 </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>
<joinGroup id="joinGroup" />
<request-msg behavior-title="为了不错过加入小组审核结果提醒,请订阅消息推送" behavior-type="申请加入小组" template-type="站内信提醒" id="requestMsg" />