<!--pages/member/IntegralGeneralization/IntegralGeneralization.wxml-->
<view class="build_active">
	<view class="content">
		<view class="ul need_active">
			<view class="li">
				<view class="h1">-{{average*personNumber}}<text class="span">{{integral?integral:'积分'}}</text></view>
			</view>
			<view class="li">当前创建活动所需要的{{integral?integral:'积分'}}</view>
		</view>
		<view class="ul active_info">
			<view class="li">
				<view class="span">当前{{integral?integral:'积分'}}：</view>
				<view class="span">{{credit1}}</view>
			</view>
			<view class="li">
				<view class="span">活动名称：</view>
				<input value="{{activityName}}" placeholder="填写名称" bindinput="activityNameinp" />
			</view>
			<view class="li">
				<view class="span">每人赠送：</view>
				<input value="{{average}}" type="number" placeholder="填写数量" bindinput="averageinp" />
			</view>
			<view class="li">
				<view class="span">赠送数量：</view>
				<input value="{{personNumber}}" type="number" placeholder="填写人数" bindinput="personNumberinp" />
			</view>
		</view>
		<view class="buttonGropup">
			<view class="button" catchtap="createActivity">
				确认创建
			</view>
		</view>
	</view>
</view>
