feat(student-portal): 完整实现 student-portal 微前端
包含 src 全部实现、Dockerfile、配置文件、contracts 包等
This commit is contained in:
88
apps/student-portal/src/mocks/fixtures/chapters.json
Normal file
88
apps/student-portal/src/mocks/fixtures/chapters.json
Normal file
@@ -0,0 +1,88 @@
|
||||
[
|
||||
{
|
||||
"id": "ch-001",
|
||||
"textbookId": "tb-001",
|
||||
"name": "第一章 函数与导数",
|
||||
"level": 1,
|
||||
"parentId": null,
|
||||
"order": 1,
|
||||
"children": [
|
||||
{
|
||||
"id": "ch-001-01",
|
||||
"textbookId": "tb-001",
|
||||
"name": "1.1 函数的概念与性质",
|
||||
"level": 2,
|
||||
"parentId": "ch-001",
|
||||
"order": 1,
|
||||
"children": [
|
||||
{
|
||||
"id": "ch-001-01-01",
|
||||
"textbookId": "tb-001",
|
||||
"name": "1.1.1 函数的定义",
|
||||
"level": 3,
|
||||
"parentId": "ch-001-01",
|
||||
"order": 1,
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"id": "ch-001-01-02",
|
||||
"textbookId": "tb-001",
|
||||
"name": "1.1.2 函数的单调性",
|
||||
"level": 3,
|
||||
"parentId": "ch-001-01",
|
||||
"order": 2,
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "ch-001-02",
|
||||
"textbookId": "tb-001",
|
||||
"name": "1.2 导数的概念",
|
||||
"level": 2,
|
||||
"parentId": "ch-001",
|
||||
"order": 2,
|
||||
"children": [
|
||||
{
|
||||
"id": "ch-001-02-01",
|
||||
"textbookId": "tb-001",
|
||||
"name": "1.2.1 导数的定义",
|
||||
"level": 3,
|
||||
"parentId": "ch-001-02",
|
||||
"order": 1,
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "ch-002",
|
||||
"textbookId": "tb-001",
|
||||
"name": "第二章 三角函数",
|
||||
"level": 1,
|
||||
"parentId": null,
|
||||
"order": 2,
|
||||
"children": [
|
||||
{
|
||||
"id": "ch-002-01",
|
||||
"textbookId": "tb-001",
|
||||
"name": "2.1 任意角的三角函数",
|
||||
"level": 2,
|
||||
"parentId": "ch-002",
|
||||
"order": 1,
|
||||
"children": [
|
||||
{
|
||||
"id": "ch-002-01-01",
|
||||
"textbookId": "tb-001",
|
||||
"name": "2.1.1 三角函数定义",
|
||||
"level": 3,
|
||||
"parentId": "ch-002-01",
|
||||
"order": 1,
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user