<!--packageH/circleCommunity/circleIntroduce/circleIntroduce.wxml-->

<view class="header">
	<view class="face">
		<image src="{{circleInfo.circle_img}}"></image>
	</view>
	<view class="desc">
		<view class="name">{{circleInfo.name}}</view>
		<view class="label">{{circleInfo.category_name}}</view>
	</view>
</view>

<view class="tabs">
	<view class="tabItem {{tabsIndex==0 ? 'active' : ''}}" bindtap="setTabsIndex" data-index="0">简介</view>
	<view style="margin-left:1.59rem;" class="tabItem {{tabsIndex==1 ? 'active' : ''}}" bindtap="setTabsIndex" data-index="1">成员（{{circleInfo.member}}）</view>
</view>

<view class="introduce" wx:if="{{tabsIndex==0}}">
	{{circleInfo.synopsis}}
</view>

<view class="userList" wx:if="{{tabsIndex==1}}">
	<view class="userItem" wx:for="{{listData}}">
		<view class="face">
			<image src="{{item.header_img}}"></image>
		</view>
		<view class="desc">
			<view class="name">{{item.name}}</view>
			<view class="label" wx:if="{{item.circle_master==1}}">圈主</view>
		</view>
		<view class="btns" wx:if="{{item.is_member!=1}}">
			<view class="btn status1" wx:if="{{item.is_attention==0}}" data-id="{{item.member_id}}" data-index="{{index}}" bindtap="followMember" >关注</view>
			<view class="btn status2" wx:if="{{item.is_attention==1}}" data-id="{{item.member_id}}" data-index="{{index}}" bindtap="followMember">已关注</view>
		</view>
	</view>
	<view wx:if="{{circleInfo.is_open_member==0 && circleInfo.is_master!=1}}">圈主未开放成员列表</view>
</view>



<view class="addCircle" bindtap="outCircle" wx:if="{{circleInfo.is_master!=1 && circleInfo.is_exist==1 && circleInfo.member_review==1}}">退出圈子</view>


