<view class="detail_container">

	<swiper indicator-dots="true" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-active-color='#00C085' indicator-color='#BDD8D0'>
		<block wx:for="{{imgUrls}}" wx:key="key">
			<swiper-item>
				<image src="{{item}}" class="slide-image" mode="aspectFill"></image>
			</swiper-item>
		</block>
	</swiper>

	<view class="detail_section">
		<view class="detail_content">
			<view class="detail_top">
				<view class="detail-group">
					<view class="detail-left">
						<view class='detail_iprice'>{{activity.actName}}</view>
						<view class='grey  author'>
							<text class="nam">{{activity.actBeginTime}}</text>
						</view>
					</view>
				</view>
			</view>
		</view>

		<view class="joinForm">
			<form bindsubmit="formSubmit">
				<view wx:if="{{showModel==JOIN_STATUS_NOT_JOIN }}">
					<view class="form-item" wx:for="{{activity.attributes}}" wx:key="id">
						<text>{{item.attrName}}:</text>
						<input name="{{item.attrName}}" />
					</view>
				</view>
				<button formType="submit" wx:if="{{showModel==JOIN_STATUS_NOT_JOIN }}" class='detail_cart detail_pay_big cleanbtn btn-center'>报名参加</button>
				<button wx:if="{{showModel==JOIN_STATUS_Y }}" class='detail_cart detail_pay_big cleanbtn btn-center'>报名成功</button>
				<button wx:if="{{showModel==JOIN_STATUS_ING }}" class='detail_cart detail_pay_big cleanbtn btn-center'>报名确认中...</button>
				<view wx:if="{{showModel==JOIN_STATUS_N }}" class='detail_cart detail_pay_over cleanbtn'>报名失败</view>
				<view wx:if="{{showModel==JOIN_STATUS_END }}" class='detail_cart detail_pay_over cleanbtn'>活动结束</view>
			</form>
		</view>

		<!-- 图文说明 -->
		<view class='detail_imagetext'>
			<view class="imagetext_detail_box">
				<view class="tabs_content">
					<view>
						<rich-text class='price_content' nodes="{{activity.actContent}}"></rich-text>
					</view>
				</view>
			</view>
		</view>
	</view>
</view>



<view class="popup-item" wx:if="{{shareShow}}">
	<view class='popup' bind:tap="popupTap" wx:if="{{popupShow}}"></view>
	<view class="pupup-bottom popup-content">
		<view class="share-container">
			<view class="hr"></view>
			<text class="share-text">分享到</text>
		</view>
		<view class="share-box">
			<button open-type="share" data-index="{{index}}" bind:tap="popupTap">
				<image src="/image/wx.png"></image>
				微信
			</button>
		</view>
		<view class="cancel padding" bind:tap="popupTap">取消</view>
	</view>
</view>

<!-- 回到首页 -->
<view class="index" bind:tap="goIndex" wx:if="{{isShare}}">
	<image src="/image/goIndex.png"></image>
</view>