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.
65 lines
2.6 KiB
65 lines
2.6 KiB
<titleList-gridNameTitle id="titleList"></titleList-gridNameTitle>
|
|
|
|
<scroll-view class="group-scroll" scroll-y="{{true}}" bindscrolltolower="onReachBottom">
|
|
<view class="group-top">
|
|
<view class="group-top-add" bindtap="createGroup">
|
|
<view class="gruop-top-text"><image src="../../assets/images/group/create.png" /></view>
|
|
<view class="gruop-top-img">
|
|
<image src="../../assets/images/group/add.png" />
|
|
</view>
|
|
</view>
|
|
|
|
<view class="group-tabs">
|
|
<view wx:for="{{tabsList}}"
|
|
wx:key="id"
|
|
data-type="{{item.type}}"
|
|
bind:tap="associationChange"
|
|
class="group-tabs-item {{item.type === associationType && 'group-tabs-item-on'}}">
|
|
<image src="{{item.img}}" />
|
|
<view class="">{{item.name}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<swiper wx:if="{{achieveTipsList&&achieveTipsList.length>0}}" class="group-swiper" circular="{{true}}" autoplay="{{true}}" interval="{{3000}}" vertical="{{true}}">
|
|
<swiper-item wx:for="{{achieveTipsList}}" wx:key="index" data-gid="{{item.groupId}}" bind:tap="handleToGroup">
|
|
<view class="group-swiper-text">{{item.achievementDesc}}</view>
|
|
</swiper-item>
|
|
</swiper>
|
|
|
|
<view class="section group-tabs" style="margin-top: 0rpx; margin-bottom: 0;">
|
|
<my-group-list
|
|
list="{{myGroupList}}"
|
|
noDataVisible="{{noDataVisible}}"
|
|
wx:if="{{associationType === 'my-group'}}" />
|
|
<all-group
|
|
bind:callSomeFun="refreshAll"
|
|
bind:callCreatGroup="createGroup"
|
|
noDataVisible="{{noDataVisible}}"
|
|
list="{{allGroupList}}"
|
|
wx:if="{{associationType === 'all-group'}}" />
|
|
<top-group id="groupTop"
|
|
noDataVisible="{{noDataVisible}}"
|
|
wx:if="{{associationType === 'top-group'}}"
|
|
/>
|
|
<view style="display: {{nomoreVisible ? 'flex' : 'none'}}" class="nomore-tip">没有更多了~</view>
|
|
</view>
|
|
|
|
<load-more wx:if="{{associationType !== 'top-group'}}"
|
|
loadMoreVisible="{{loadMoreVisible}}"
|
|
loadMoreType="{{loadMoreType}}" />
|
|
</scroll-view>
|
|
|
|
<!-- 弹窗 -->
|
|
<view class="complete-info-dialog" hidden="{{!visible}}">
|
|
<view class="content">
|
|
<view class="close-dialog" bindtap="closeDialog">
|
|
<image src="../../assets/images/guanbi.png" />
|
|
</view>
|
|
<view class="tip">只有党员和热心居民才能创建小组,请选择您的身份。</view>
|
|
<view class="btns">
|
|
<button class="confirm" style="height:80rpx" bind:tap="confirm">注册党员</button>
|
|
<button class="confirm" style="height:80rpx" bind:tap="confirm2">申请成为热心居民</button>
|
|
</view>
|
|
</view>
|
|
</view>
|