<view class="page">
	<view class="weui-msg">
		<view class="weui-msg__icon-area" wx:if="{{is_pass}}"><i class="weui-icon-success weui-icon_msg"></i></view>
    <view class="weui-msg__icon-area" wx:else><i class="weui-icon-warn weui-icon_msg"></i></view>
		<view class="weui-msg__text-area">
			<h2 class="weui-msg__title" wx:if="{{is_pass}}">恭喜您,通过考试</h2>
      <h2 class="weui-msg__title" wx:else>很遗憾,下次加油</h2>
			<view class="weui-msg__desc">
      得分
      <span style="color:green;font-weight:bold" wx:if="{{is_pass}}">{{score}}</span>
      <span style="color:red;font-weight:bold" wx:else>{{score}}</span>
      ——满分
      <span style="font-weight:bold">{{total_score}}</span>
      </view>
      <view class="weui-msg__desc">
      用时:
      <span style="color:green;font-weight:bold" wx:if="{{is_pass}}">{{took}}</span>
      <span style="color:red;font-weight:bold" wx:else>{{took}}</span>
      </view>
		</view>
		<view class="weui-msg__opr-area">
			<view class="weui-btn-area">
        <a class="weui-btn weui-btn_primary" bindtap="detail">查看答卷详情</a>
				<a class="weui-btn weui-btn_default" bindtap="back">返回首页</a>
			</view>
		</view>
	</view>
</view>