Commit d1fb8532 authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/xiangwei/educationstu into master

parents 272b0c2c d38e900a
...@@ -9,14 +9,14 @@ ...@@ -9,14 +9,14 @@
>(共{{ data.DetailsList.length }}道,{{ data.GScore }}分)</text >(共{{ data.DetailsList.length }}道,{{ data.GScore }}分)</text
> >
</view> </view>
<view> <view class="ExamIndex_Box">
<text class="Single_Before">{{ ExamIndex }}</text <text class="Single_Before">{{ ExamIndex }}</text
>/<text class="Exam_Total">{{ data.DetailsList.length }}</text> >/<text class="Exam_Total">{{ data.DetailsList.length }}</text>
</view> </view>
<i <!-- <i
class="iconfont icon-caidanzu answerSheet" class="iconfont icon-caidanzu answerSheet"
@click="jumpAnswerSheet" @click="jumpAnswerSheet"
></i> ></i> -->
</view> </view>
<swiper <swiper
class="swiper-box" class="swiper-box"
...@@ -166,7 +166,9 @@ export default { ...@@ -166,7 +166,9 @@ export default {
font-weight: bold; font-weight: bold;
color: #da7878; color: #da7878;
} }
.ExamIndex_Box{
margin-right:20px;
}
.Exam_Total { .Exam_Total {
font-size: 25rpx; font-size: 25rpx;
color: gray; color: gray;
......
...@@ -25,6 +25,11 @@ ...@@ -25,6 +25,11 @@
</van-nav-bar> </van-nav-bar>
<view class="exam-con"> <view class="exam-con">
<view v-for="(item, index) in peaperDetail.Paper.GroupList" :key="index"> <view v-for="(item, index) in peaperDetail.Paper.GroupList" :key="index">
<i
class="iconfont icon-caidanzu answerSheet"
style="position:absolute;right:15px;top:85px;"
@click="jumpAnswerSheet"
></i>
<!-- 数字单选题 --> <!-- 数字单选题 -->
<SingleChoiceNumber <SingleChoiceNumber
:startIndex="item.startIndex" :startIndex="item.startIndex"
...@@ -273,6 +278,8 @@ import { ...@@ -273,6 +278,8 @@ import {
} from "vue"; } from "vue";
import { getSystemInfo } from "../../utils/index"; import { getSystemInfo } from "../../utils/index";
import { getPaperDetail } from "../../api/exam"; import { getPaperDetail } from "../../api/exam";
import { changeNumToHan } from "../../utils/index";
import SingleChoiceNumber from "../../components/subject/SingleChoiceNumber.vue"; import SingleChoiceNumber from "../../components/subject/SingleChoiceNumber.vue";
import SingleChoice from "../../components/subject/SingleChoice.vue"; import SingleChoice from "../../components/subject/SingleChoice.vue";
import MultipleChoice from "../../components/subject/MultipleChoice.vue"; import MultipleChoice from "../../components/subject/MultipleChoice.vue";
...@@ -328,6 +335,7 @@ export default { ...@@ -328,6 +335,7 @@ export default {
isLast: false, //用于判断是否从后往前翻 isLast: false, //用于判断是否从后往前翻
}); });
let methods = { let methods = {
changeNumToHan,
jumpPage() { jumpPage() {
uni.navigateTo({ uni.navigateTo({
url: "/pages/exam/examPaper", url: "/pages/exam/examPaper",
...@@ -361,6 +369,11 @@ export default { ...@@ -361,6 +369,11 @@ export default {
this.changeIndex--; this.changeIndex--;
this.isLast = true; this.isLast = true;
}, },
jumpAnswerSheet() {
uni.navigateTo({
url: "/pages/exam/answerSheet",
});
},
}; };
onMounted(() => { onMounted(() => {
console.log(366, data.peaperDetail); console.log(366, data.peaperDetail);
...@@ -394,4 +407,9 @@ export default { ...@@ -394,4 +407,9 @@ export default {
box-sizing: border-box; box-sizing: border-box;
/* padding: 0 30rpx 30rpx; */ /* padding: 0 30rpx 30rpx; */
} }
.answerSheet {
font-size: 30rpx;
margin-left: 20rpx;
color: #000;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment