101 lines
2.9 KiB
Plaintext
101 lines
2.9 KiB
Plaintext
<!--packageH/circleCommunity/circleMyCircle/circleMyCircle.wxml-->
|
|
|
|
<view class="tabs">
|
|
<view class="tabItem {{tabsIndex==0 ? 'active' : ''}}" bindtap="setTabsIndex" data-index="0">
|
|
我创建的圈子
|
|
</view>
|
|
<view class="tabItem {{tabsIndex==1 ? 'active' : ''}}" bindtap="setTabsIndex" data-index="1">
|
|
我加入的圈子
|
|
</view>
|
|
</view>
|
|
|
|
<block wx:if="{{tabsIndex==0}}">
|
|
<view class="tabStatus">
|
|
<view bindtap="setTabStatusIndex" data-index="0" class="tabStatusItem {{tabStatusIndex==0 ? 'active' : ''}}">审核中</view>
|
|
<view bindtap="setTabStatusIndex" data-index="1" class="tabStatusItem {{tabStatusIndex==1 ? 'active' : ''}}">已发布</view>
|
|
<view bindtap="setTabStatusIndex" data-index="2" class="tabStatusItem {{tabStatusIndex==2 ? 'active' : ''}}">已驳回</view>
|
|
</view>
|
|
|
|
<view class="tablis" wx:if="{{listData.length>0 && networkLoading}}">
|
|
<view class="lis" wx:for="{{listData}}" wx:key="index" data-id="{{item.id}}" bindtap="gotoCircleDetails" >
|
|
<view class="left">
|
|
<view class="circleImg">
|
|
<image src="{{item.circle_img}}" ></image>
|
|
</view>
|
|
<view class="circle">
|
|
<view class="title">{{item.name}}</view>
|
|
<view class="detail">
|
|
<view class="tiezi">
|
|
<icon class="iconfont icon-fontclass-tiezi"></icon>
|
|
<text>帖子:{{item.invitation_count}}</text>
|
|
</view>
|
|
<view class="member">
|
|
<icon class="iconfont icon-fontclass-renshu"></icon>
|
|
<text>会员:{{item.member_count}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="right">
|
|
加入
|
|
</view> -->
|
|
<view class="right_one status1" wx:if="{{tabStatusIndex==0}}">审核中</view>
|
|
<view class="right_one status2" wx:if="{{tabStatusIndex==1}}">已发布</view>
|
|
<view class="right_one status3" wx:if="{{tabStatusIndex==2}}">已驳回</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
|
|
<block wx:if="{{tabsIndex==1}}">
|
|
<view class="tablis" wx:if="{{listData.length>0 && networkLoading}}">
|
|
<view class="lis" wx:for="{{listData}}" wx:key="index" data-id="{{item.id}}" bindtap="gotoCircleDetails" >
|
|
<view class="left">
|
|
<view class="circleImg">
|
|
<image src="{{item.circle_img}}" ></image>
|
|
</view>
|
|
<view class="circle">
|
|
<view class="title">{{item.name}}</view>
|
|
<view class="detail">
|
|
<view class="tiezi">
|
|
<icon class="iconfont icon-fontclass-tiezi"></icon>
|
|
<text>帖子:{{item.invitation_count}}</text>
|
|
</view>
|
|
<view class="member">
|
|
<icon class="iconfont icon-fontclass-renshu"></icon>
|
|
<text>会员:{{item.member_count}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="right" bindtap="outCircle" data-id="{{item.id}}" data-index="{{index}}">退出圈子</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
|
|
|
|
|
|
<view wx:if="{{listData.length==0 && networkLoading}}" class="blank">
|
|
<image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='widthFix' />
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|