|
@@ -1,40 +1,27 @@
|
|
|
<template>
|
|
|
<div class="cell-box">
|
|
|
- <van-cell
|
|
|
- title-class="uni-app-fontsize-paragraph"
|
|
|
- class="cell"
|
|
|
- :title="
|
|
|
- item.placeIssueName ||
|
|
|
- item.classIssueName ||
|
|
|
- item.excellIssueName ||
|
|
|
- item.sequeIssueName
|
|
|
- "
|
|
|
- is-link
|
|
|
- @click="goExercise({
|
|
|
- classIssueName:item.classIssueName,
|
|
|
- classIssue:item.classIssue
|
|
|
- })"
|
|
|
- center
|
|
|
- v-for="(item, index) in classData"
|
|
|
- :key="index"
|
|
|
- :border="false"
|
|
|
- >
|
|
|
+ <van-cell title-class="uni-app-fontsize-paragraph" class="cell" :title="item.title
|
|
|
+ " is-link @click="goExercise({
|
|
|
+
|
|
|
+ columnAll: item.columnId,
|
|
|
+ chapter: item.title
|
|
|
+ })" center v-for="(item, index) in classData" :key="index" :border="false">
|
|
|
<template #icon>
|
|
|
<div class="icon">{{ index + 1 }}</div>
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
- <div style="height:40rpx;width: 750rpx;"></div>
|
|
|
- <m-classify-tip :content="classifyTip"></m-classify-tip>
|
|
|
+ <div style="height:40rpx;width: 750rpx;"></div>
|
|
|
+ <m-classify-tip :content="classifyTip"></m-classify-tip>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
-<script >
|
|
|
+<script>
|
|
|
import api from "@/api/index";
|
|
|
import utils from "@/utils/index";
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- classifyTip:['分类练习,学员可重点学习自己不懂的题目.','建议新学员直接看软件必考题技巧,快速学习'],
|
|
|
+ classifyTip: ['分类练习,学员可重点学习自己不懂的题目.', '建议新学员直接看软件必考题技巧,快速学习'],
|
|
|
classData: [],
|
|
|
query: {},
|
|
|
};
|
|
@@ -51,7 +38,7 @@ export default {
|
|
|
...extraQuery,
|
|
|
};
|
|
|
} else {
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
|
|
|
uni.navigateTo({
|
|
@@ -59,12 +46,18 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
getClassData() {
|
|
|
- api.exam
|
|
|
- .studentQuestionInfoSelectFlQuestionInfo(this.query)
|
|
|
- .then((res) => {
|
|
|
- res.data.shift()
|
|
|
- this.classData = res.data;
|
|
|
- });
|
|
|
+ api.exam.studentQuestion2InfoGetQuestionColumn({
|
|
|
+ subject: `k${this.query.subject}_3`,
|
|
|
+ model: this.query.model
|
|
|
+ }).then(res => {
|
|
|
+ this.classData = res.data;
|
|
|
+ })
|
|
|
+ // api.exam
|
|
|
+ // .studentQuestionInfoSelectFlQuestionInfo(this.query)
|
|
|
+ // .then((res) => {
|
|
|
+ // res.data.shift()
|
|
|
+ // this.classData = res.data;
|
|
|
+ // });
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
@@ -80,14 +73,16 @@ export default {
|
|
|
flex-wrap: wrap;
|
|
|
justify-content: space-between;
|
|
|
background: #fff;
|
|
|
+
|
|
|
.cell {
|
|
|
width: 690rpx;
|
|
|
border-bottom: 2rpx solid #E8E8E8;
|
|
|
// box-shadow: 0rpx 0rpx 20rpx rgba(124, 129, 136, 0.2);
|
|
|
background: #fff;
|
|
|
font-size: 32rpx;
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
+
|
|
|
//地区
|
|
|
.icon {
|
|
|
width: 40rpx;
|