<van-tabs active="{{ active }}" bind:change="onChange" color='#ab65ff'>
	<van-tab title="投诉">
		<form bindsubmit='formSubmit'>
			<view class="title">投诉问题分类</view>
			<checkbox-group class="parameter-wrap" bindchange="tipsChange" name='type' value='{{form.type}}'>
				<label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" wx:for-index="idx" wx:key="index" wx:for="{{questionArr}}">
					<checkbox value="{{item.value}}" checked="{{item.checked}}" />{{item.value}}
				</label>
			</checkbox-group>
			<view class="title">投诉内容<span style='color:red'>*</span></view>
			<textarea maxlength='200' class="cont" name='neirong' value='{{form.neirong}}' bindinput="neirongChange"></textarea>
			<view class="title">联系方式</view>
			<input class="tel" placeholder="请输入您的电话或邮箱，方便我们联系您" name='tel' value='{{form.tel}}' bindinput="telChange"></input>
			<button form-type="submit" id="sunbmit">提交</button>
		</form>
	</van-tab>
	<van-tab title="记录">
		<view wx:for="{{arr}}" wx:key="index" class="replybox">
			<view class="status">{{item.status}}</view>
			<view class="middle">
				<view style="color:#333333;font-size:30rpx">{{item.title}}</view>
				<view style="color:#666666">{{item.time}}</view>
				<view style="color:#666666">{{item.neirong}}</view>
				<view wx:if='{{item.reply}}' class="reply">
				<view style="height:50rpx"><p style='float:left'>客服回复</p><p style='float:right'>{{item.replyTime}}</p></view>
				{{item.reply}}
				</view>
			</view>
		</view>
		<!-- <van-collapse value="{{ activeNames }}" bind:change="collapseonChange" wx:for="{{arr}}">
			<van-collapse-item title="{{item.status}}-{{item.type}}" value="{{index}}">
				<view>{{item.title}}</view>
				<view>{{item.time}}</view>
				<view style="margin-top:20rpx">{{item.reply}}</view>
				<view>{{item.replyTime}}</view>
			</van-collapse-item>
		</van-collapse> -->
	</van-tab>
</van-tabs>