<view class='home'>
	<view class="box">
		<view>共<view class="ti">{{index+1}}</view>/{{questionList.length}}题</view>
	</view>
	<view class="question">
		{{questionList[index].QuestStem}}
		{{questionList[index].QuestType == 0?'【单选】':questionList[index].QuestType == 1?'【多选】':questionList[index].QuestType == 2?'【判断】':'【解答】'}}
	</view>
</view>
<view class="qiu-box">
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
	<view class="qiu"></view>
</view>
<radio-group class="parameter-wrap" data-questTypes='{{questionList[index].QuestType}}' data-idx='{{questionList[index].id}}' bindchange="radioChange" wx:if="{{questionList[index].QuestType == 0}}">
	<label class=" radio my-choosebox  {{ item.checked?'checkboxbox':''}}" wx:for-index="idx" wx:for="{{questionList[index].QuestChoice}}" wx:key="{{item.value}}">
		<radio value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
	</label>
</radio-group>
<checkbox-group class="parameter-wrap" data-questTypes='{{questionList[index].QuestType}}' data-idx='{{questionList[index].id}}' bindchange="checkboxChange" wx:if="{{questionList[index].QuestType == 1}}">
	<label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" wx:for-index="idx" wx:key="{{item.value}}" wx:for="{{questionList[index].QuestChoice}}">
		<checkbox value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
	</label>
</checkbox-group>
<radio-group class="parameter-wrap" data-questTypes='{{questionList[index].QuestType}}' data-idx='{{questionList[index].id}}' bindchange="radioChange" wx:if="{{questionList[index].QuestType == 2}}">
	<label class=" radio my-choosebox  {{ item.checked?'checkboxbox':''}}" wx:for-index="idx" wx:for="{{questionList[index].QuestChoice}}" wx:key="{{item.value}}">
		<radio value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
	</label>
</radio-group>
<view wx:if="{{questionList[index].QuestType == 3}}" data-idx='{{questionList[index].id}}'>
	<textarea data-questTypes='{{questionList[index].QuestType}}' data-idx='{{questionList[index].id}}' bindinput='bindTextAreaBlur' value="{{questionList[index].currentAnswer}}" placeholder="请输入答案" />
	</view>
<van-button bindtap='nextSubmit' wx:if="{{index == questionList.length-1}}" round type="default">提交答案</van-button>
<van-button wx:else round type="default" bindtap='nextSubmit'>下一题</van-button>
<van-button wx:if='{{index !=0}}' round type="default" bindtap='upSubmit'>上一题</van-button>