Browse Source

节的名称

xuqiaoying 2 years ago
parent
commit
3681af92c7
2 changed files with 4 additions and 1 deletions
  1. 1 0
      components/course/courseSection.vue
  2. 3 1
      pages2/class/questionBank.vue

+ 1 - 0
components/course/courseSection.vue

@@ -171,6 +171,7 @@ export default {
 		}
 		}
 	},
 	},
 	mounted() {
 	mounted() {
+		console.log('节的播放---');
 		this.nowTime = Number(new  Date().getTime()/1000).toFixed(0)
 		this.nowTime = Number(new  Date().getTime()/1000).toFixed(0)
 		this.newId= this.menuItem.sectionId>0?this.menuItem.sectionId:this.menuItem.menuId
 		this.newId= this.menuItem.sectionId>0?this.menuItem.sectionId:this.menuItem.menuId
 		let moduleId = this.menuItem.moduleId || 0;
 		let moduleId = this.menuItem.moduleId || 0;

+ 3 - 1
pages2/class/questionBank.vue

@@ -5,7 +5,7 @@
       @clickLeft="clickLeft"
       @clickLeft="clickLeft"
       left-icon="back"
       left-icon="back"
       :statusBar="true"
       :statusBar="true"
-      title="试卷"
+      :title="examData.examName"
     ></uni-nav-bar>
     ></uni-nav-bar>
     <swiper
     <swiper
       class="swiper"
       class="swiper"
@@ -886,6 +886,7 @@ export default {
       learning: -1, // 1合格,0不合格
       learning: -1, // 1合格,0不合格
       originShowDialog: false,
       originShowDialog: false,
       uploadLock: false, //上传图片
       uploadLock: false, //上传图片
+      examData: {},
     };
     };
   },
   },
   watch: {
   watch: {
@@ -1309,6 +1310,7 @@ export default {
     bankExam() {
     bankExam() {
       this.$api.bankExam(this.id).then((res) => {
       this.$api.bankExam(this.id).then((res) => {
         this.bankType = res.data.data.doType;
         this.bankType = res.data.data.doType;
+        this.examData = res.data.data
         if (this.bankType == 2) {
         if (this.bankType == 2) {
           this.needBack = true;
           this.needBack = true;
         }
         }