@@ -22,7 +22,8 @@ Component({
gradeData: [
'一年级',
'二年级',
- '三年级'
+ '三年级',
+ '四年级'
]
},
@@ -76,6 +76,7 @@ Page({
})
onLoad: function (options) {
+ console.log(options)
if(options.type == "noTv") {
this.setData({
loginType: ""
@@ -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,5 +1,5 @@
//年级显示方法
-let gradeArr = ["学前班", "一年级", "二年级", "三年级"]
+let gradeArr = ["学前班", "一年级", "二年级", "三年级","四年级"]
const gradeUpper = grade => {
return gradeArr[grade];