<!--packageC/video_goods/videoAnswer/videoAnswer.wxml-->

<view class="header">答题赢{{integral_name}}</view>

<view style="padding:0 2rem;">
	<view class="answerContainer" wx:if="{{subject!=null}}">
		<view class="answerTitle">{{subject.title}}</view>
		<view class="answerList">
			<view class="answerItem" wx:for="{{subject.has_many_answer}}" wx:key="id" data-id="{{item.id}}" bindtap="reward" >{{item.content}}</view>
		</view>
	</view>
</view>


<van-popup show="{{successShow}}" custom-style="background:transparent;">
	<view class="successAlert">
		<view class="c1">答题成功</view>
		<view class="c2">恭喜你获得{{integral_name}}</view>
		<view class="c3">{{integral}}</view>
		<view class="btn" bindtap="gotoBack"><image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/videoAnswerSuccess@3x.png" alt=""></image></view>
	</view>
</van-popup>	

<van-popup show="{{errorShow}}" custom-style="background:transparent;">
	<view class="errorAlert">
		<view class="sigh"><image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/videoAnswerTan@3x.png" alt=""></image></view>
		<view class="c1">答题失败</view>
		<view class="c2">
			<text>很遗憾，答错了。请重新</text>
			<text>观看，再接再厉！</text>
		</view>
		<view class="btn" bindtap="gotoBack">我知道了</view>
	</view>
</van-popup>	
