|
@@ -1,21 +1,25 @@
|
|
|
<template>
|
|
|
- <view>
|
|
|
- <view>
|
|
|
- <uni-icons type="left" size="30" @click="handleBack"></uni-icons>
|
|
|
- <text>单元测试</text>
|
|
|
- <view><text>{{count}}</text>/<text>{{total}}</text></view>
|
|
|
+ <view class="ezy-exam-page">
|
|
|
+ <view class="ezy-navBar-box">
|
|
|
+ <view @click="handleBack" class="nav-bar-icon"></view>
|
|
|
+ <text class="nav-bar-title">单元测试</text>
|
|
|
+ <view class="nav-bar-other"><text class="key-note">{{count}}</text>/<text>{{total}}</text></view>
|
|
|
</view>
|
|
|
- <w-swiper :list="list" :swiperHeight="300" :positionIndex="current">
|
|
|
- <template v-slot:default="{item}">
|
|
|
- <view class="body" v-if="item.mta_show">
|
|
|
- <danxuan :question="item" v-if="item.type == '1'"></danxuan>
|
|
|
- <panduan :question="item" v-if="item.type == '2'"></panduan>
|
|
|
- <!-- <tiankong :question="item" v-if="item.type == '3'"></tiankong> -->
|
|
|
- </view>
|
|
|
- </template>
|
|
|
- </w-swiper>
|
|
|
- <button class="transition-button" v-if="isLast" type="primary"
|
|
|
- @click="handleSubmit(uniPointsRef)">submit</button>
|
|
|
+
|
|
|
+ <view class="exam-body-box">
|
|
|
+ <w-swiper :list="list" :positionIndex="current" class="ezy-exam-swiper">
|
|
|
+ <template v-slot:default="{item}">
|
|
|
+ <view class="body" v-if="item.mta_show">
|
|
|
+ <danxuan :question="item" v-if="item.type == '1'"></danxuan>
|
|
|
+ <panduan :question="item" v-if="item.type == '2'"></panduan>
|
|
|
+ <!-- <tiankong :question="item" v-if="item.type == '3'"></tiankong> -->
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+ </w-swiper>
|
|
|
+ <view class="exam-submit-btn" v-if="isLast"
|
|
|
+ @click="handleSubmit(uniPointsRef)"></view>
|
|
|
+ </view>
|
|
|
+
|
|
|
|
|
|
<!-- 答卷 -->
|
|
|
<chengji ref="chengjiRef" :list="list" :jieId="jieId" :zhangId="zhangId"
|