|
@@ -2,20 +2,48 @@
|
|
|
<div class="page_target">
|
|
<div class="page_target">
|
|
|
<TargetSubject></TargetSubject>
|
|
<TargetSubject></TargetSubject>
|
|
|
<!-- 错题巩固 -->
|
|
<!-- 错题巩固 -->
|
|
|
|
|
+ <div class="consolidate_item">
|
|
|
|
|
+ <div class="left_tree">
|
|
|
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="right_list">
|
|
|
|
|
+ <div class="question_item" v-for="(item, index) in questionList" :key="index">
|
|
|
|
|
+ <QuestionItem :question="item"></QuestionItem>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="page_jg_20">
|
|
|
|
|
+
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
|
import TargetSubject from "@/views/targetImprove/components/TargetSubject.vue"//顶部筛选科目组件
|
|
import TargetSubject from "@/views/targetImprove/components/TargetSubject.vue"//顶部筛选科目组件
|
|
|
|
|
+import QuestionItem from "@/views/targetImprove/components/QuestionItem.vue"//题目公共组件
|
|
|
import { mapState } from 'vuex'
|
|
import { mapState } from 'vuex'
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
TargetSubject,
|
|
TargetSubject,
|
|
|
|
|
+ QuestionItem
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
-
|
|
|
|
|
|
|
+ questionList: [
|
|
|
|
|
+ {
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ ]
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
computed:{
|
|
computed:{
|
|
@@ -42,5 +70,31 @@ export default {
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
|
+.consolidate_item
|
|
|
|
|
+{
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ height: calc(100% - 50px);
|
|
|
|
|
+
|
|
|
|
|
+ .left_tree
|
|
|
|
|
+ {
|
|
|
|
|
+ width: 200px;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ background: blue;
|
|
|
|
|
+ }
|
|
|
|
|
+ .right_list
|
|
|
|
|
+ {
|
|
|
|
|
+ width: calc(100% - 200px);
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ padding: 20px;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
|
|
+.question_item
|
|
|
|
|
+{
|
|
|
|
|
+ margin-bottom: 20px;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|