This commit adds a new "lesson" page along with the necessary components and types. The "lesson" page displays the details of a specific lesson and includes a dynamic route parameter for the lesson name. Additionally, the commit includes updates to the `pages.json` file to configure the navigation bar title for the "lesson" page.
54 lines
950 B
JSON
54 lines
950 B
JSON
{
|
|
"pages": [
|
|
{
|
|
"name": "home",
|
|
"path": "pages/index/index",
|
|
"style": {
|
|
"navigationBarTitleText": "进度查看"
|
|
}
|
|
},
|
|
{
|
|
"name": "my",
|
|
"path": "pages/my/index",
|
|
"style": {
|
|
"navigationBarTitleText": "我的"
|
|
}
|
|
},
|
|
{
|
|
"name": "login",
|
|
"path": "pages/login/index",
|
|
"style": {
|
|
"navigationBarTitleText": "登录"
|
|
}
|
|
},
|
|
{
|
|
"name": "lesson",
|
|
"path": "pages/lesson/index",
|
|
"style": {
|
|
"navigationBarTitleText": "课程进度"
|
|
}
|
|
}
|
|
],
|
|
"tabBar": {
|
|
"custom": true,
|
|
"color": "#bfbfbf",
|
|
"selectedColor": "#0165FF",
|
|
"backgroundColor": "#ffffff",
|
|
"list": [
|
|
{
|
|
"pagePath": "pages/index/index",
|
|
"text": "进度查看"
|
|
},
|
|
{
|
|
"pagePath": "pages/my/index",
|
|
"text": "我的"
|
|
}
|
|
]
|
|
},
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarTitleText": "XSH PPMP",
|
|
"navigationBarBackgroundColor": "#F8F8F8",
|
|
"backgroundColor": "#F8F8F8"
|
|
}
|
|
} |