锦水居民端小程序
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.
 

34 lines
1.5 KiB

<view class="command-association-list" wx:if="{{commandAssociationList.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>
<view class="command-association-list"wx:if="{{commandAssociationList.length > 0 }}">
<view class="list-item" wx:for="{{commandAssociationList}}" wx:key="{{item.id}}" wx:for-item="item" wx:for-index="index">
<image class="group-avatar" src="{{item.groupAvatar}}" data-src="{{item.groupAvatar}}" catchtap="previewImage"/>
<view class="list-item-content">
<view class="top">
<view class="title">{{item.groupName}}</view>
<button size="mini" type="warn" hover-class="hover-button" data-id="{{item.id}}" bindtap="joinAssocition">加入</button>
</view>
<view class="bottom">
<text>共{{item.totalNum}}人 {{item.partyMemberNum}}名党员</text>
</view>
</view>
</view>
</view>
<view class="no-data" wx:if="{{commandAssociationList.length === 0 && !noDataVisible}}">
<image class="no-data-image" src="../../../../images/association/commandAssociation_nodata.png" />
<view class="tip">暂无推荐的社群</view>
<view class="tip">如您是党员,创建社群邀请还有加入~</view>
</view>
<complete-info-dialog completeInfoDialogVisible="{{completeInfoDialogVisible}}"></complete-info-dialog>