xuqiaoying 2 gadi atpakaļ
vecāks
revīzija
f100392e3c

+ 1 - 2
components/course/courseModule.vue

@@ -204,7 +204,7 @@ export default {
 						}
 					}
 					this.list = res.data.data
-					console.log('章的列表:', this.list);
+					// console.log('章的列表:', this.list);
 				}
 			});
 			
@@ -213,7 +213,6 @@ export default {
 		 * 去做题
 		 */
 		async toDoModuleExam(id, goodsId = 0, moduleId = 0, chapterId = 0, item, index) {
-			// console.log('===item', item, this.menuAllList);
 			let newRows = []
 			newRows = this.menuAllList.filter(e => e.moduleId == moduleId)
 			let isAllLearn = newRows.every(item => {

+ 0 - 3
components/course/courseSection.vue

@@ -239,7 +239,6 @@ export default {
 			
 		},
 		toDoSectionExam() {
-			// this.$emit('togoBack', 1)
 			if (this.testType == 3) {
 				this.ModuleExam()
 			} else {
@@ -313,7 +312,6 @@ export default {
 			})
 		},
 		getVideo(){
-			console.log('this.this.newMenuAllList:', this.menuAllList);
 			if(this.clickLock) {
 				return;
 			}
@@ -341,7 +339,6 @@ export default {
 					let isAllLearn = newRows.every(item => {
 						return item.studyStatus == 1;
 					})
-					console.log('isAllLearn:', isAllLearn);
 					if(isAllLearn) {
 						this.playVideo();
 					} else {

+ 0 - 77
pages/learn/index.vue

@@ -285,76 +285,6 @@
 					</view>
 				</view>
 
-				<!-- 我的题库 -->
-				<!-- <view class="my_courses">
-					<text class="titles">我的题库</text>
-					<view class="bottoms">
-						<navigator hover-class="none" url="/pages2/subject/collect">
-							<view class="item collect">
-								<view class="text">收藏集<u-icon name="arrow-right"></u-icon></view>
-								<image class="img" src="/static/questionBank_collect.png"></image>
-							</view>
-						</navigator>
-						<view class="item list">
-							<navigator  hover-class="none" url="/pages2/bank/question_record">
-								<view class="list-in">
-									<image class="img" src="/static/questionBank_record.png" ></image>
-									<view class="text">
-										做题记录 <u-icon name="arrow-right"></u-icon>
-									</view>
-									
-								</view>
-							</navigator>
-							
-							<navigator  hover-class="none" url="/pages2/subject/wrong">
-								<view class="list-in">
-									<image class="img" src="/static/questionBank_wrong.png"></image>
-									<view class="text">
-										错题集 <u-icon name="arrow-right"></u-icon>
-									</view>
-								</view>
-							</navigator>
-						</view>
-					</view>
-
-					<template v-if="questionLists.length">
-						<view v-for="(item, indexq) in questionLists" :key="indexq" class="course_item">
-							<view>
-								<view class="cou_titles">{{ item.goodsName }}</view>
-								<view v-if="item.serviceStartTime && item.serviceEndTime" class="learn_ranges">
-									<image class="l_range" src="/static/learn/learn_range.png"></image>
-									学习周期:
-									<text class="l_time">{{ item.serviceStartTime | formate('yyyy.mm.dd') }} - {{ item.serviceEndTime | formate('yyyy.mm.dd') }}</text>
-								</view>
-							</view>
-							<view class="c_downs">
-								<view class="lefts">
-									<image class="lefet_img" :src="$method.splitImgHost(item.coverUrl, true)" mode=""></image>
-								</view>
-								<view class="rights">
-									
-									<view class="learn_progress">
-										<view class="progress_up">
-											<view>
-												学习进度:{{item.doNum}}/{{item.totalNum}}
-											</view>
-											<view class="progress_bar" style="width: 100%;">
-												<u-line-progress :show-percent="false" height="22" active-color="#ff9900" :percent="(item.doNum/item.totalNum)*100"></u-line-progress>
-											</view>
-										</view>
-										<view class="progress_down">
-											
-											<view class="enter_into" @click="studyques(item,index)">进入练习</view>
-										</view>
-
-									</view>
-								</view>
-							</view>
-							
-						</view>
-					</template>
-					
-				</view> -->
 			</view>
 			<!-- 没有学习的课程 -->
 			<view v-if="!allLoading && !allCourse" class="no_datas">
@@ -405,7 +335,6 @@
 				</view>
 			</view>
 		</u-popup>
-		<!-- <select-class :selectClassModal.sync="selectClassModal" :gradeList="gradeList" @okPopup="okPopup()" @closeModal="closeModal()"></select-class> -->
 
 		<u-modal v-model="showUserConfirmInfo" @confirm="confirmUserConfirm"  ref="uModal" :async-close="true" 
 			@cancel="cancelUserConfirm" :confirm-text="'确认' + (confirmCount > 0 ? '('+confirmCount+')' : '')" 
@@ -487,12 +416,6 @@ export default {
 			gradeValue: -1,
 			sysTime: 0,
 			courseLists: [], // 课程列表
-			// questionLists: [], // 题库列表
-			// paramQ: {
-			// 	pageNum: 1,
-			// 	pageSize: 50
-			// },
-			// queitemIndex:'',
 			livingLists: [], // 直播列表
 			allLoading: false, // 加载样式
 			current: 2,

+ 0 - 5
pages3/polyv/detail.vue

@@ -2687,18 +2687,15 @@ export default {
     },
    //播放下一节
     nextSection(){
-    // console.log("放完了",this.menuAllList)
       if(!this.menuAllList.length){
         return
       }
-      // console.log('this.sectionId:', this.sectionId, 'this.chapterId:', this.chapterId, 'this.moduleId:', this.moduleId);      
       this.curPlayIndex = this.menuAllList.findIndex((item) => {
         let i_sectionId = item.sectionId || 0
         let i_chapterId = item.chapterId || 0
         let i_moduleId = item.moduleId || 0
         return i_sectionId == this.playSectionId && i_chapterId == this.chapterId && i_moduleId == this.moduleId
       })
-      // console.log('查找到的curItem:', this.curPlayIndex);
       let data = this.menuAllList[this.curPlayIndex+1];
       if (!data) {
         //第二个弹窗
@@ -2717,7 +2714,6 @@ export default {
           content: '当前节视频已学完,继续学习下一节?',
           success: async (res) => {
             if (res.confirm) {
-              console.log("放下一个", data)
               this.moduleId = data.moduleId
               this.chapterId = data.chapterId
               this.sectionId = data.sectionId
@@ -2830,7 +2826,6 @@ export default {
     },
     // 确定拍照
     async submit() {
-      console.log('this.uploadLock的值:', this.uploadLock)
       if (this.uploadLock) {
         return;
       }