Rorschach 6 years ago
parent
commit
01ae2438de
4 changed files with 11 additions and 3 deletions
  1. 2 1
      compontents/set_grade/set_grade.js
  2. 1 0
      pages/language/language.js
  3. 7 1
      project.config.json
  4. 1 1
      utils/util.js

+ 2 - 1
compontents/set_grade/set_grade.js

@@ -22,7 +22,8 @@ Component({
     gradeData: [
       '一年级',
       '二年级',
-      '三年级'
+      '三年级',
+      '四年级'
     ]
   },
 

+ 1 - 0
pages/language/language.js

@@ -76,6 +76,7 @@ Page({
     })
   },
   onLoad: function (options) {
+    console.log(options)
     if(options.type == "noTv") {
       this.setData({
         loginType: ""

+ 7 - 1
project.config.json

@@ -29,7 +29,7 @@
 			"list": []
 		},
 		"miniprogram": {
-			"current": 9,
+			"current": 10,
 			"list": [
 				{
 					"id": 0,
@@ -99,6 +99,12 @@
 					"pathName": "pages/schedule/scheduleSubject/scheduleSubject",
 					"query": "id=1522213859721074",
 					"scene": "1047"
+				},
+				{
+					"id": -1,
+					"name": "小学王者班",
+					"pathName": "pages/my/my",
+					"query": "ind=0&type=noTV"
 				}
 			]
 		}

+ 1 - 1
utils/util.js

@@ -1,5 +1,5 @@
 //年级显示方法
-let gradeArr = ["学前班", "一年级", "二年级", "三年级"]
+let gradeArr = ["学前班", "一年级", "二年级", "三年级","四年级"]
 const gradeUpper = grade => {
   return gradeArr[grade];
 }