<!--pages/examination/examination.wxml-->
|
|
<import src="examination.skeleton.wxml" />
|
<template is="skeleton" wx:if="{{loading}}" />
|
|
<view
|
class="page"
|
wx:if="{{!loading}}"
|
style="background-color:{{isNight ? '#222' : ''}}"
|
>
|
<view class="page-content" style="background-color:{{isNight ? '#222' : ''}}">
|
<question-schedule
|
wx:if="{{!loading}}"
|
id="countDownRef"
|
isNight="{{isNight}}"
|
answerType="{{answerType}}"
|
countdownTime="{{countdownTime}}"
|
currentIndex="{{currentIndex}}"
|
questionList="{{questionDataList}}"
|
submitStatus="{{submitStatus}}"
|
subjectiveGrade="{{subjectiveGrade}}"
|
subjectiveNum="{{subjectiveNum}}"
|
></question-schedule>
|
<question-list
|
wx:if="{{!loading}}"
|
sliderValue="{{sliderValue}}"
|
isNight="{{isNight}}"
|
answerType="{{answerType}}"
|
currentIndex="{{currentIndex}}"
|
questionList="{{questionDataList}}"
|
submitStatus="{{submitStatus}}"
|
noData="{{noData}}"
|
bind:onChangeRadio="onChangeRadio"
|
bind:onChangeInput="onChangeInput"
|
bind:changeSwiper="changeSwiper"
|
bind:viewParsing="viewParsing"
|
></question-list>
|
</view>
|
|
<!-- 底部区域-->
|
|
<view
|
class="page-bottom"
|
style="background-color:{{isNight ? '#202020' : ''}}"
|
wx:if="{{answerType !== 'errorQuestion' || (answerType == 'errorQuestion' && !loading)}}"
|
>
|
<question-options
|
id="question-options"
|
isShowDialog="{{isShowDialog}}"
|
isNight="{{isNight}}"
|
submitStatus="{{submitStatus}}"
|
answerType="{{answerType}}"
|
countdownTime="{{countdownTime}}"
|
currentIndex="{{currentIndex}}"
|
questionDataList="{{questionDataList}}"
|
cardList="{{cardList}}"
|
subjectiveTotal="{{subjectiveTotal}}"
|
subjectiveNum="{{subjectiveNum}}"
|
subjectiveGrade="{{subjectiveGrade}}"
|
correctNum="{{correctNum}}"
|
mockSumTime="{{mockData.sumTime}}"
|
joinGroup="{{joinGroup}}"
|
showId="{{showId}}"
|
bind:setCollect="setCollect"
|
bind:submitPaper="submitPaper"
|
bind:restart="restart"
|
bind:goQuestion="goQuestion"
|
bind:changeBGColor="changeBGColor"
|
bind:onChangeSlider="onChangeSlider"
|
bind:changeLoadingState="changeLoadingState"
|
bind:changeNavBarColor="changeNavBarColor"
|
></question-options>
|
</view>
|
</view>
|
|
<page-container
|
show="{{showDialog}}"
|
duration="{{false}}"
|
overlay="{{false}}"
|
bind:beforeleave="beforeleave"
|
></page-container>
|
|
<!-- 加入班级弹窗 -->
|
<join-dialog visible="{{visible}}" bind:joinClass="joinClass"> </join-dialog>
|