<!--packageE/groupCode/groupCode.wxml-->
<view class="group">
	<view class="playPos {{btnStatus?'lz_one':'lz_two'}}" catchtap="creation">
		<icon class="iconfont icon-qhm_create"></icon>
		<view class="text">创建</view>
	</view>
	<view class="recordPos {{btnStatus?'jl_one':'jl_two'}}" catchtap="record">
		<icon class="iconfont icon-qhm_record"></icon>
		<view class="text">记录</view>
	</view>
	<view class="posBox {{btnStatus?'rotateImg':'normalImg'}}" catchtap="chooseSta">
		<icon class="iconfont icon-jiahao"></icon>
	</view>
	<view class="topimag">
		<image mode="aspectFill" src="{{info.set.applets_background}}"></image>
	</view>
	<view class="topHead">
		<view style="color:#fff;text-align: center;font-size: 36rpx;line-height: 48rpx;margin-bottom:40rpx;">群活码</view>
		<view class="inpBox" catchtap="goSearch">
			<icon class="iconfont icon-all_search_2"></icon>
			<input placeholder="请输入活码名称" placeholder-style="color:#fff;" disabled="{{true}}"></input>
		</view>
		<view class="banner">
			<swiper class="banner_swiper" autoplay="{{true}}" circular="{{true}}" 	indicator-dots="{{true}}" 	indicator-active-color="#fff">
				<swiper-item wx:if="{{info.set.banner1}}" catchtap='tapUrl' data-url="{{info.set.banner1_applets_url}}">
					<image mode="aspectFill" src="{{info.set.banner1}}"></image>
				</swiper-item>
				<swiper-item wx:if="{{info.set.banner2}}"  catchtap='tapUrl' data-url="{{info.set.banner2_applets_url}}">
					<image mode="aspectFill" src="{{info.set.banner2}}"></image>
				</swiper-item>
				<swiper-item wx:if="{{info.set.banner3}}"  catchtap='tapUrl' data-url="{{info.set.banner3_applets_url}}">
					<image mode="aspectFill" src="{{info.set.banner3}}"></image>
				</swiper-item>
			</swiper>
		</view>
	</view>
	<view class="ranking">
		<view class="rangTitle">
			<view class="rank">
				<text style="font-size: 32rpx;">排行榜</text>
				<icon class="iconfont icon-qhm_listtitle"></icon>
			</view>
			<view class="more" catchtap="rankTap">
				<text>更多</text>
				<icon class="iconfont icon-advertise-next"></icon>
			</view>
		</view>
		<view class="rankList">
			<block wx:for="{{info.rankingList}}" wx:key="index">
				<view class="lis">
					<view class="lis_icon">
						<icon class="iconfont icon-qhm_listbg"><text>{{index + 1}}</text></icon>
					</view>
					<view class="headPto">
						<image src="{{item.has_one_member.avatar_image?item.has_one_member.avatar_image:info.shop_log}}"></image>
					</view>
					<text style="font-size: 28rpx;line-height: 48rpx;">{{item.code_name}}</text>
					<view class="addicon" catchtap="toDetails" data-id="{{item.id}}">
						<icon class="iconfont icon-jiahao"></icon>
					</view>
				</view>
			</block>
		</view>
	</view>
	<view class="recommend">
		<view class="rangTitle" style="margin-bottom:32rpx;margin-left: 26rpx;margin-right: 26rpx">
			<view class="rank">
				<text style="font-size: 32rpx;">推荐</text>
				<icon class="iconfont icon-qhm_recommend" style="color:#fd3489;"></icon>
			</view>
			<view class="more">
				<!-- <text>更多</text> -->
				<!-- <icon class="iconfont icon-advertise-next"></icon> -->
			</view>
		</view>
		<view class="recommendList" wx:for="{{info.recommend.data}}" wx:key="ind">
			<view class="reLeft">
				<image src="{{item.has_one_member.avatar_image?item.has_one_member.avatar_image:info.shop_log}}"></image>
			</view>
			<view class="reRight">
				<view class="rigTop">
					<view class="codeName">{{item.code_name}}</view>
					<view class="addBtn" catchtap="toDetails" data-id="{{item.id}}"><text>加入</text></view>
				</view>
				<view class="rigBtm">{{item.code_guide}}</view>
			</view>
		</view>
	</view>
</view>
<shopfoot></shopfoot>

