|
@@ -4,22 +4,35 @@
|
|
|
<div class="section__body">
|
|
|
<div class="left-box">
|
|
|
<el-tabs v-model="activeName" @tab-click="handelTab">
|
|
|
- <el-tab-pane v-for="tab in newList" :key="tab.paperId" :label="tab.paperName" :name="tab.paperId + ''">
|
|
|
- <div v-if="tab.paperName == '每日一练'" style="background: #f8f8fa; padding: 20px">
|
|
|
+ <el-tab-pane
|
|
|
+ v-for="tab in newList"
|
|
|
+ :key="tab.paperId"
|
|
|
+ :label="tab.paperName"
|
|
|
+ :name="tab.paperId + ''"
|
|
|
+ >
|
|
|
+ <div
|
|
|
+ v-if="tab.paperName == '每日一练'"
|
|
|
+ style="background: #f8f8fa; padding: 20px"
|
|
|
+ >
|
|
|
<template v-if="tab.examInfo">
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="16">
|
|
|
<div class="day-box">
|
|
|
<div>
|
|
|
<p>
|
|
|
- 打卡天数<span>{{ tab.examInfo.recordCount }}</span>天
|
|
|
+ 打卡天数<span>{{ tab.examInfo.recordCount }}</span
|
|
|
+ >天
|
|
|
</p>
|
|
|
<p>
|
|
|
- 打卡进度超过了{{ tab.examInfo.recordPercentage }}的学员
|
|
|
+ 打卡进度超过了{{
|
|
|
+ tab.examInfo.recordPercentage
|
|
|
+ }}的学员
|
|
|
</p>
|
|
|
</div>
|
|
|
<div @click="handelPunchClock(tab)">
|
|
|
- {{ tab.examInfo.examRecord ? "今日已打卡" : "今日打卡" }}
|
|
|
+ {{
|
|
|
+ tab.examInfo.examRecord ? "今日已打卡" : "今日打卡"
|
|
|
+ }}
|
|
|
</div>
|
|
|
<img src="../../../../assets/basket.png" alt="" />
|
|
|
</div>
|
|
@@ -34,12 +47,21 @@
|
|
|
<p class="clock-title">打卡记录</p>
|
|
|
<div class="clock-calendar">
|
|
|
<el-calendar :first-day-of-week="7">
|
|
|
- <template slot="dateCell" slot-scope="{ date, data }">
|
|
|
- <p v-if="!isSelected(data.day)" :class="isToday(data.day) ? 'date-today' : ''">
|
|
|
+ <template
|
|
|
+ slot="dateCell"
|
|
|
+ slot-scope="{ date, data }"
|
|
|
+ >
|
|
|
+ <p
|
|
|
+ v-if="!isSelected(data.day)"
|
|
|
+ :class="isToday(data.day) ? 'date-today' : ''"
|
|
|
+ >
|
|
|
{{ data.day.split("-").slice(2).join("-") }}
|
|
|
</p>
|
|
|
<p v-else class="is-Select">
|
|
|
- <img src="../../../../assets/tick.png" alt="" />
|
|
|
+ <img
|
|
|
+ src="../../../../assets/tick.png"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
</p>
|
|
|
</template>
|
|
|
</el-calendar>
|
|
@@ -51,13 +73,15 @@
|
|
|
<div class="ranki-list">
|
|
|
<p class="ranki-list-title">打卡PK榜</p>
|
|
|
<ul>
|
|
|
- <li style="font-size: 12px;">
|
|
|
+ <li style="font-size: 12px">
|
|
|
<p>排名</p>
|
|
|
<p>用户ID</p>
|
|
|
<p>打卡天数</p>
|
|
|
</li>
|
|
|
- <li v-for="(item, index) in rankiList" :key="index">
|
|
|
- <p>{{ index > 8 ? index + 1 : '0' + (index + 1) }}</p>
|
|
|
+ <li v-for="(item, index) in rankiList" :key="index">
|
|
|
+ <p>
|
|
|
+ {{ index > 8 ? index + 1 : "0" + (index + 1) }}
|
|
|
+ </p>
|
|
|
<p>
|
|
|
<el-image :src="$tools.splitImgHost(item.avatar)">
|
|
|
<div slot="error" class="image-slot">
|
|
@@ -66,13 +90,12 @@
|
|
|
</el-image>
|
|
|
{{ item.userName }}
|
|
|
</p>
|
|
|
- <p style="color: #222222;">{{ item.recordCount }}</p>
|
|
|
+ <p style="color: #222222">{{ item.recordCount }}</p>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
-
|
|
|
</template>
|
|
|
<div class="no-data" v-else>
|
|
|
<div>
|
|
@@ -81,12 +104,19 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-else-if="tab.paperName == '随机练习'" style="background: #f8f8fa; padding: 20px">
|
|
|
+ <div
|
|
|
+ v-else-if="tab.paperName == '随机练习'"
|
|
|
+ style="background: #f8f8fa; padding: 20px"
|
|
|
+ >
|
|
|
<div class="random-box">
|
|
|
<div class="random-box-top">
|
|
|
<p class="random-box-title">试卷情况</p>
|
|
|
<div class="random-box-top-num">
|
|
|
- <img style="margin-right: 12px" src="../../../../assets/testpaper.png" alt="" />
|
|
|
+ <img
|
|
|
+ style="margin-right: 12px"
|
|
|
+ src="../../../../assets/testpaper.png"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
<div>
|
|
|
<p>{{ tab.examInfo ? tab.examInfo.doNum : "-" }}</p>
|
|
|
<p>已完成提数</p>
|
|
@@ -100,13 +130,13 @@
|
|
|
<div>
|
|
|
<p>
|
|
|
{{
|
|
|
- tab.examInfo
|
|
|
- ? toFixed(
|
|
|
+ tab.examInfo
|
|
|
+ ? toFixed(
|
|
|
(tab.examInfo.rightNum /
|
|
|
tab.examInfo.totalNum) *
|
|
|
- 100
|
|
|
+ 100
|
|
|
)
|
|
|
- : "-"
|
|
|
+ : "-"
|
|
|
}}%
|
|
|
</p>
|
|
|
<p>正确率</p>
|
|
@@ -116,12 +146,19 @@
|
|
|
<div class="random-box-bom">
|
|
|
<p class="random-box-title">做题数量</p>
|
|
|
<div class="sle-num-box">
|
|
|
- <div :class="activeNum == val ? 'actvie' : ''" v-for="val in numList" :key="val"
|
|
|
- @click="handelNum(val)">
|
|
|
+ <div
|
|
|
+ :class="activeNum == val ? 'actvie' : ''"
|
|
|
+ v-for="val in numList"
|
|
|
+ :key="val"
|
|
|
+ @click="handelNum(val)"
|
|
|
+ >
|
|
|
{{ val }}
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="random-box-bom-btn" @click="beginExam(tab.examInfo)">
|
|
|
+ <div
|
|
|
+ class="random-box-bom-btn"
|
|
|
+ @click="beginExam(tab.examInfo)"
|
|
|
+ >
|
|
|
开始做题
|
|
|
</div>
|
|
|
</div>
|
|
@@ -129,37 +166,71 @@
|
|
|
</div>
|
|
|
<div class="goods-menu" v-else>
|
|
|
<div class="goods-menu__body">
|
|
|
- <div class="item" v-for="(item, index) in bankList" :key="index">
|
|
|
+ <div
|
|
|
+ class="item"
|
|
|
+ v-for="(item, index) in bankList"
|
|
|
+ :key="index"
|
|
|
+ >
|
|
|
<template v-if="item.type == 1">
|
|
|
<div class="item__title" @click="moduleExam(item)">
|
|
|
{{ item.name }}
|
|
|
- <span style="float: right; color: #99a0a7; font-weight: 400">{{ item.showList ? "收起∧" : "展开∨" }}
|
|
|
+ <span
|
|
|
+ style="float: right; color: #99a0a7; font-weight: 400"
|
|
|
+ >{{ item.showList ? "收起∧" : "展开∨" }}
|
|
|
</span>
|
|
|
</div>
|
|
|
<div class="item__content" v-if="item.showList">
|
|
|
<div class="bank-chapter">
|
|
|
- <div class="bank-chapter__item" v-for="(chapter, chapterIndex) in item.list"
|
|
|
- :key="chapterIndex">
|
|
|
- <div class="bank-chapter__item__text" @click="chapterExam(chapter, item.majorId)">
|
|
|
- <span style="
|
|
|
+ <div
|
|
|
+ class="bank-chapter__item"
|
|
|
+ v-for="(chapter, chapterIndex) in item.list"
|
|
|
+ :key="chapterIndex"
|
|
|
+ >
|
|
|
+ <div
|
|
|
+ class="bank-chapter__item__text"
|
|
|
+ @click="chapterExam(chapter, item.majorId)"
|
|
|
+ >
|
|
|
+ <span
|
|
|
+ style="
|
|
|
margin-left: 21px;
|
|
|
margin-right: 8px;
|
|
|
color: #a7b0b8;
|
|
|
- "><span v-if="chapterIndex + 1 < 10">0{{ chapterIndex + 1 }}</span><span v-else>
|
|
|
+ "
|
|
|
+ ><span v-if="chapterIndex + 1 < 10"
|
|
|
+ >0{{ chapterIndex + 1 }}</span
|
|
|
+ ><span v-else>
|
|
|
{{ chapterIndex + 1 }}
|
|
|
- </span></span>{{ chapter.name }}
|
|
|
- <i v-if="chapter.showList" class="el-icon-arrow-up"
|
|
|
- style="float: right; margin-right: 20px"></i>
|
|
|
- <i v-else class="el-icon-arrow-down" style="float: right; margin-right: 20px"></i>
|
|
|
+ </span></span
|
|
|
+ >{{ chapter.name }}
|
|
|
+ <i
|
|
|
+ v-if="chapter.showList"
|
|
|
+ class="el-icon-arrow-up"
|
|
|
+ style="float: right; margin-right: 20px"
|
|
|
+ ></i>
|
|
|
+ <i
|
|
|
+ v-else
|
|
|
+ class="el-icon-arrow-down"
|
|
|
+ style="float: right; margin-right: 20px"
|
|
|
+ ></i>
|
|
|
</div>
|
|
|
|
|
|
<div class="bank-section" v-if="chapter.showList">
|
|
|
- <div class="bank-section__item" v-for="(section, sectionIndex) in chapter.list"
|
|
|
- :key="sectionIndex">
|
|
|
+ <div
|
|
|
+ class="bank-section__item"
|
|
|
+ v-for="(section, sectionIndex) in chapter.list"
|
|
|
+ :key="sectionIndex"
|
|
|
+ >
|
|
|
<div class="bank-section__item__text">
|
|
|
- <span style="margin-right: 8px; color: #a7b0b8">●</span>
|
|
|
+ <span
|
|
|
+ style="margin-right: 8px; color: #a7b0b8"
|
|
|
+ >●</span
|
|
|
+ >
|
|
|
{{ section.examName }}
|
|
|
- <span v-if="section.newRecordStatus" class="upStudyStyle">上次做到</span>
|
|
|
+ <span
|
|
|
+ v-if="section.newRecordStatus"
|
|
|
+ class="upStudyStyle"
|
|
|
+ >上次做到</span
|
|
|
+ >
|
|
|
</div>
|
|
|
<div class="btn_div">
|
|
|
<!-- 正确率
|
|
@@ -171,44 +242,64 @@
|
|
|
)
|
|
|
}}%</span
|
|
|
> -->
|
|
|
- <span style="margin-left: 6px">题目数: </span><span style="color: blue">{{
|
|
|
- section.doQuestionNum || 0
|
|
|
+ <span style="margin-left: 6px">题目数: </span
|
|
|
+ ><span style="color: blue">{{
|
|
|
+ section.doQuestionNum || 0
|
|
|
}}</span>
|
|
|
/
|
|
|
{{ section.questionNum || 0 }}
|
|
|
</div>
|
|
|
- <el-button v-if="section.recordStatus == -1" type="primary" @click="
|
|
|
- toDo(
|
|
|
- section,
|
|
|
- chapter.chapterExamId,
|
|
|
- item.majorId
|
|
|
- )
|
|
|
- " class="btn">开始做题</el-button>
|
|
|
- <el-button v-if="
|
|
|
- section.recordStatus == 0 &&
|
|
|
- section.doType == 1
|
|
|
- " type="primary" @click="
|
|
|
- continueDo(
|
|
|
- section,
|
|
|
- chapter.chapterExamId,
|
|
|
- item.majorId
|
|
|
- )
|
|
|
-" class="btn">继续做题</el-button>
|
|
|
-
|
|
|
- <el-button v-if="
|
|
|
- section.recordStatus == 1 ||
|
|
|
- (section.recordStatus == 0 &&
|
|
|
- section.doType == 2)
|
|
|
- " :disabled="
|
|
|
- section.answerNum > 0 &&
|
|
|
- section.doNum >= section.answerNum
|
|
|
-" type="primary" @click="
|
|
|
- doRepeat(
|
|
|
- section,
|
|
|
- chapter.chapterExamId,
|
|
|
- item.majorId
|
|
|
- )
|
|
|
-" class="btn">重新做题</el-button>
|
|
|
+ <el-button
|
|
|
+ v-if="section.recordStatus == -1"
|
|
|
+ type="primary"
|
|
|
+ @click="
|
|
|
+ toDo(
|
|
|
+ section,
|
|
|
+ chapter.chapterExamId,
|
|
|
+ item.majorId
|
|
|
+ )
|
|
|
+ "
|
|
|
+ class="btn"
|
|
|
+ >开始做题</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ v-if="
|
|
|
+ section.recordStatus == 0 &&
|
|
|
+ section.doType == 1
|
|
|
+ "
|
|
|
+ type="primary"
|
|
|
+ @click="
|
|
|
+ continueDo(
|
|
|
+ section,
|
|
|
+ chapter.chapterExamId,
|
|
|
+ item.majorId
|
|
|
+ )
|
|
|
+ "
|
|
|
+ class="btn"
|
|
|
+ >继续做题</el-button
|
|
|
+ >
|
|
|
+
|
|
|
+ <el-button
|
|
|
+ v-if="
|
|
|
+ section.recordStatus == 1 ||
|
|
|
+ (section.recordStatus == 0 &&
|
|
|
+ section.doType == 2)
|
|
|
+ "
|
|
|
+ :disabled="
|
|
|
+ section.answerNum > 0 &&
|
|
|
+ section.doNum >= section.answerNum
|
|
|
+ "
|
|
|
+ type="primary"
|
|
|
+ @click="
|
|
|
+ doRepeat(
|
|
|
+ section,
|
|
|
+ chapter.chapterExamId,
|
|
|
+ item.majorId
|
|
|
+ )
|
|
|
+ "
|
|
|
+ class="btn"
|
|
|
+ >重新做题</el-button
|
|
|
+ >
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -220,29 +311,57 @@
|
|
|
<div class="item__content">
|
|
|
<div class="bank-chapter">
|
|
|
<div class="bank-chapter__item">
|
|
|
- <div class="bank-chapter__item__text" @click="chapterExam(item, 0)">
|
|
|
- <span style="
|
|
|
+ <div
|
|
|
+ class="bank-chapter__item__text"
|
|
|
+ @click="chapterExam(item, 0)"
|
|
|
+ >
|
|
|
+ <span
|
|
|
+ style="
|
|
|
margin-left: 21px;
|
|
|
margin-right: 8px;
|
|
|
color: #a7b0b8;
|
|
|
- ">
|
|
|
- <span v-if="index + 1 < 10">0{{ index + 1 }}</span><span v-else>
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <span v-if="index + 1 < 10"
|
|
|
+ >0{{ index + 1 }}</span
|
|
|
+ ><span v-else>
|
|
|
{{ index + 1 }}
|
|
|
- </span> </span>{{ item.name }}
|
|
|
- <i v-if="item.showList" class="el-icon-arrow-up"
|
|
|
- style="float: right; margin-right: 20px"></i>
|
|
|
- <i v-else class="el-icon-arrow-down" style="float: right; margin-right: 20px"></i>
|
|
|
+ </span> </span
|
|
|
+ >{{ item.name }}
|
|
|
+ <i
|
|
|
+ v-if="item.showList"
|
|
|
+ class="el-icon-arrow-up"
|
|
|
+ style="float: right; margin-right: 20px"
|
|
|
+ ></i>
|
|
|
+ <i
|
|
|
+ v-else
|
|
|
+ class="el-icon-arrow-down"
|
|
|
+ style="float: right; margin-right: 20px"
|
|
|
+ ></i>
|
|
|
</div>
|
|
|
|
|
|
<div class="bank-section" v-if="item.showList">
|
|
|
- <div class="bank-section__item" v-for="(section, sectionIndex) in item.list"
|
|
|
- :key="sectionIndex">
|
|
|
+ <div
|
|
|
+ class="bank-section__item"
|
|
|
+ v-for="(section, sectionIndex) in item.list"
|
|
|
+ :key="sectionIndex"
|
|
|
+ >
|
|
|
<div class="bank-section__item__text">
|
|
|
- <span style="margin-right: 8px; color: #a7b0b8">●</span>
|
|
|
+ <span
|
|
|
+ style="margin-right: 8px; color: #a7b0b8"
|
|
|
+ >●</span
|
|
|
+ >
|
|
|
{{ section.examName }}
|
|
|
- <span v-if="section.newRecordStatus" class="upStudyStyle">上次做到</span>
|
|
|
+ <span
|
|
|
+ v-if="section.newRecordStatus"
|
|
|
+ class="upStudyStyle"
|
|
|
+ >上次做到</span
|
|
|
+ >
|
|
|
</div>
|
|
|
- <div style="width: auto; padding: 0px 14px" class="btn_div">
|
|
|
+ <div
|
|
|
+ style="width: auto; padding: 0px 14px"
|
|
|
+ class="btn_div"
|
|
|
+ >
|
|
|
<!-- 正确率
|
|
|
<span style="color: rgb(52, 216, 71)"
|
|
|
>{{
|
|
@@ -252,28 +371,45 @@
|
|
|
)
|
|
|
}}%</span
|
|
|
> -->
|
|
|
- <span style="margin-left: 6px">题目数: </span><span style="color: blue">{{
|
|
|
- section.doQuestionNum || 0
|
|
|
+ <span style="margin-left: 6px">题目数: </span
|
|
|
+ ><span style="color: blue">{{
|
|
|
+ section.doQuestionNum || 0
|
|
|
}}</span>
|
|
|
/
|
|
|
{{ section.questionNum || 0 }}
|
|
|
</div>
|
|
|
- <el-button v-if="section.recordStatus == -1" type="primary"
|
|
|
- @click="toDo(section, item.majorId, 0)" class="btn">开始做题</el-button>
|
|
|
- <el-button v-if="
|
|
|
- section.recordStatus == 0 &&
|
|
|
- section.doType == 1
|
|
|
- " type="primary" @click="continueDo(section, item.majorId, 0)" class="btn">继续做题
|
|
|
+ <el-button
|
|
|
+ v-if="section.recordStatus == -1"
|
|
|
+ type="primary"
|
|
|
+ @click="toDo(section, item.majorId, 0)"
|
|
|
+ class="btn"
|
|
|
+ >开始做题</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ v-if="
|
|
|
+ section.recordStatus == 0 &&
|
|
|
+ section.doType == 1
|
|
|
+ "
|
|
|
+ type="primary"
|
|
|
+ @click="continueDo(section, item.majorId, 0)"
|
|
|
+ class="btn"
|
|
|
+ >继续做题
|
|
|
</el-button>
|
|
|
|
|
|
- <el-button v-if="
|
|
|
- section.recordStatus == 1 ||
|
|
|
- (section.recordStatus == 0 &&
|
|
|
- section.doType == 2)
|
|
|
- " :disabled="
|
|
|
- section.answerNum > 0 &&
|
|
|
- section.doNum >= section.answerNum
|
|
|
-" type="primary" @click="doRepeat(section, item.majorId, 0)" class="btn">重新做题
|
|
|
+ <el-button
|
|
|
+ v-if="
|
|
|
+ section.recordStatus == 1 ||
|
|
|
+ (section.recordStatus == 0 &&
|
|
|
+ section.doType == 2)
|
|
|
+ "
|
|
|
+ :disabled="
|
|
|
+ section.answerNum > 0 &&
|
|
|
+ section.doNum >= section.answerNum
|
|
|
+ "
|
|
|
+ type="primary"
|
|
|
+ @click="doRepeat(section, item.majorId, 0)"
|
|
|
+ class="btn"
|
|
|
+ >重新做题
|
|
|
</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -287,11 +423,20 @@
|
|
|
<div class="bank-section">
|
|
|
<div class="bank-section__item">
|
|
|
<div class="bank-section__item__text">
|
|
|
- <span style="margin-right: 8px; color: #a7b0b8">●</span>
|
|
|
+ <span style="margin-right: 8px; color: #a7b0b8"
|
|
|
+ >●</span
|
|
|
+ >
|
|
|
{{ item.name }}
|
|
|
- <span v-if="item.newRecordStatus" class="upStudyStyle">上次做到</span>
|
|
|
+ <span
|
|
|
+ v-if="item.newRecordStatus"
|
|
|
+ class="upStudyStyle"
|
|
|
+ >上次做到</span
|
|
|
+ >
|
|
|
</div>
|
|
|
- <div style="width: auto; padding: 0px 14px" class="btn_div">
|
|
|
+ <div
|
|
|
+ style="width: auto; padding: 0px 14px"
|
|
|
+ class="btn_div"
|
|
|
+ >
|
|
|
<!-- 正确率
|
|
|
<span style="color: rgb(52, 216, 71)"
|
|
|
>{{
|
|
@@ -301,23 +446,41 @@
|
|
|
)
|
|
|
}}%</span
|
|
|
> -->
|
|
|
- <span style="margin-left: 6px">题目数: </span><span style="color: blue">{{
|
|
|
- item.doQuestionNum || 0
|
|
|
+ <span style="margin-left: 6px">题目数: </span
|
|
|
+ ><span style="color: blue">{{
|
|
|
+ item.doQuestionNum || 0
|
|
|
}}</span>
|
|
|
/ {{ item.questionNum || 0 }}
|
|
|
</div>
|
|
|
- <el-button v-if="item.recordStatus == -1" type="primary" @click="toDo(item, 0, 0)"
|
|
|
- class="btn">开始做题</el-button>
|
|
|
- <el-button v-if="item.recordStatus == 0 && item.doType == 1" type="primary"
|
|
|
- @click="continueDo(item, 0, 0)" class="btn">继续做题</el-button>
|
|
|
-
|
|
|
- <el-button v-if="
|
|
|
- item.recordStatus == 1 ||
|
|
|
- (item.recordStatus == 0 && item.doType == 2)
|
|
|
- " :disabled="
|
|
|
- item.answerNum > 0 &&
|
|
|
- item.doNum >= item.answerNum
|
|
|
-" type="primary" @click="doRepeat(item, 0, 0)" class="btn">重新做题</el-button>
|
|
|
+ <el-button
|
|
|
+ v-if="item.recordStatus == -1"
|
|
|
+ type="primary"
|
|
|
+ @click="toDo(item, 0, 0)"
|
|
|
+ class="btn"
|
|
|
+ >开始做题</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ v-if="item.recordStatus == 0 && item.doType == 1"
|
|
|
+ type="primary"
|
|
|
+ @click="continueDo(item, 0, 0)"
|
|
|
+ class="btn"
|
|
|
+ >继续做题</el-button
|
|
|
+ >
|
|
|
+
|
|
|
+ <el-button
|
|
|
+ v-if="
|
|
|
+ item.recordStatus == 1 ||
|
|
|
+ (item.recordStatus == 0 && item.doType == 2)
|
|
|
+ "
|
|
|
+ :disabled="
|
|
|
+ item.answerNum > 0 &&
|
|
|
+ item.doNum >= item.answerNum
|
|
|
+ "
|
|
|
+ type="primary"
|
|
|
+ @click="doRepeat(item, 0, 0)"
|
|
|
+ class="btn"
|
|
|
+ >重新做题</el-button
|
|
|
+ >
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -365,10 +528,10 @@ export default {
|
|
|
numList: [5, 10, 15, 20, 50, 100],
|
|
|
activeNum: 5,
|
|
|
punchList: [],
|
|
|
- rankiList: []
|
|
|
+ rankiList: [],
|
|
|
};
|
|
|
},
|
|
|
- mounted() { },
|
|
|
+ mounted() {},
|
|
|
computed: {
|
|
|
compyRecommend: function () {
|
|
|
return function (array) {
|
|
@@ -628,9 +791,11 @@ export default {
|
|
|
this.$request.getToDayExam(this.goodsId).then((res) => {
|
|
|
this.$set(item, "examInfo", res.data);
|
|
|
if (res.data) {
|
|
|
- this.$request.getPunchRecord({ goodsId: this.goodsId }).then((res) => {
|
|
|
- this.punchList = res.data;
|
|
|
- });
|
|
|
+ this.$request
|
|
|
+ .getPunchRecord({ goodsId: this.goodsId })
|
|
|
+ .then((res) => {
|
|
|
+ this.punchList = res.data;
|
|
|
+ });
|
|
|
this.$request.getRankiList(this.goodsId).then((res) => {
|
|
|
this.rankiList = res.data;
|
|
|
});
|
|
@@ -1053,7 +1218,6 @@ export default {
|
|
|
|
|
|
&__body {
|
|
|
.left-box {
|
|
|
-
|
|
|
// float: left;
|
|
|
// width: 768px;
|
|
|
.day-box {
|
|
@@ -1117,13 +1281,13 @@ export default {
|
|
|
|
|
|
.ranki-list {
|
|
|
padding: 20px 16px 0;
|
|
|
- background: #FFFFFF;
|
|
|
+ background: #ffffff;
|
|
|
|
|
|
.ranki-list-title {
|
|
|
color: #484848;
|
|
|
font-size: 14px;
|
|
|
font-weight: bold;
|
|
|
- border-bottom: 1px solid #E9E9E9;
|
|
|
+ border-bottom: 1px solid #e9e9e9;
|
|
|
padding-bottom: 14px;
|
|
|
}
|
|
|
|
|
@@ -1134,7 +1298,7 @@ export default {
|
|
|
height: 30px;
|
|
|
line-height: 30px;
|
|
|
display: flex;
|
|
|
- color: #6C7386;
|
|
|
+ color: #6c7386;
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
p {
|
|
@@ -1159,14 +1323,13 @@ export default {
|
|
|
|
|
|
&:nth-of-type(3) {
|
|
|
padding-right: 16px;
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
|
|
|
&:nth-of-type(1) {
|
|
|
height: 40px;
|
|
|
line-height: 40px;
|
|
|
- background: #F8F8FA;
|
|
|
+ background: #f8f8fa;
|
|
|
color: #888691;
|
|
|
margin-bottom: 8px;
|
|
|
|