En route 1 year ago
parent
commit
f88e747814
2 changed files with 2 additions and 3 deletions
  1. 1 1
      pages/learn/index.vue
  2. 1 2
      pages3/polyv/detail.vue

+ 1 - 1
pages/learn/index.vue

@@ -625,7 +625,7 @@
 					let color = "";
 					if (periodStatus === -1 || educationName == '考前培训') {
 						let index = 0;
-						if (studyStatus == 1) {
+						if (!studyStatus) {
 							index = 0;
 						} else if (stuAllNum + recordNum < secAllNum + examNum) {
 							index = 1;

+ 1 - 2
pages3/polyv/detail.vue

@@ -934,7 +934,6 @@
 						}
 						console.log("showCamera4", this.showCamera)
 						this.refPlv.resumeVideo();
-
 					})
 					.catch((err) => {
 						uni.showToast({
@@ -1620,7 +1619,6 @@
 					);
 				});
 				let data = this.menuAllList[this.curPlayIndex + 1];
-				data.learning = data.learning || data.studyStatus
 				if (!data) {
 					//第二个弹窗
 					uni.showModal({
@@ -1636,6 +1634,7 @@
 						},
 					});
 				} else {
+					data.learning = data.learning || data.studyStatus
 					if (data.doType == 2) {
 						if (data.studyStatus == 1) {
 							uni.showToast({