KELECHUAN 3 年之前
父节点
当前提交
86d4d574fd

+ 1 - 1
components/todayclass-box/todayclass-box.vue

@@ -117,7 +117,7 @@
 						teacher: '开始今日课程',
 						time: '8:30'
 					}]
-					this.before = '完成打卡'
+					this.before = '上学打卡'
 					this.first = '时间:'
 					this.beforeType = 'info'
 					arr.push(this.classList[0])

+ 10 - 1
components/top-box/top-box.vue

@@ -57,12 +57,21 @@
 				default: false
 			}
 		},
+		watch:{
+			setSemesterPicker(newValue){
+				if(newValue === true){
+					uni.hideTabBar({})
+				}
+				if(newValue === false){
+					uni.showTabBar({})
+				}
+			}
+		},
 		created() {
 			this.$getCapsuleSite()
 		},
 		data() {
 			return {
-				show: false,
 				setSemesterPicker: false,
 				//胶囊坐标
 				capsuleBottom: 0,

+ 0 - 3
gradepkg/ability-chart/ability-chart.vue

@@ -109,7 +109,6 @@
 				//大小考试平均成绩
 				this.avgMain = arrSum(mainArr) / mainArr.length
 				this.avgquiz = arrSum(quizArr) / quizArr.length
-				console.log(this.avgMain, this.avgquiz);
 				//标准差函数
 				function standardDeviation(arr) {
 					let length = arr.length;
@@ -128,8 +127,6 @@
 				}
 				this.mainExamUndulate = standardDeviation(mainArr)
 				this.quizExamUndulate = standardDeviation(quizArr)
-				console.log(this.mainExamUndulate);
-				console.log(this.quizExamUndulate);
 			},
 
 		},