mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-13 20:51:09 +00:00
- 添加项目配置文件(tsconfig, eslint, prettier等) - 实现基础路由和页面布局 - 添加全局状态管理和API请求封装 - 集成UI组件库和主题系统 - 添加文档网站和示例页面 - 配置CI/CD和工作流
291 lines
6.9 KiB
JSON
291 lines
6.9 KiB
JSON
{
|
|
"globalStyle": {
|
|
"navigationBarBackgroundColor": "@navBgColor",
|
|
"navigationBarTextStyle": "@navTxtStyle",
|
|
"navigationBarTitleText": "Wot Starter",
|
|
"backgroundColor": "@bgColor",
|
|
"backgroundTextStyle": "@bgTxtStyle",
|
|
"backgroundColorTop": "@bgColorTop",
|
|
"backgroundColorBottom": "@bgColorBottom",
|
|
"enablePullDownRefresh": false,
|
|
"onReachBottomDistance": 50,
|
|
"animationType": "pop-in",
|
|
"animationDuration": 300
|
|
},
|
|
"pages": [
|
|
// #ifdef APP || MP-WEIXIN
|
|
{
|
|
"path": "pages/login/index",
|
|
"type": "page"
|
|
},
|
|
// #endif
|
|
{
|
|
"path": "pages/login/index",
|
|
"type": "page",
|
|
"name": "login",
|
|
"style": {
|
|
"navigationBarTitleText": "登录"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/index/index",
|
|
"type": "home",
|
|
"name": "home",
|
|
"layout": "tabbar",
|
|
"style": {
|
|
"navigationBarTitleText": "首页"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/mine/index",
|
|
"type": "page",
|
|
"name": "mine",
|
|
"layout": "tabbar",
|
|
"style": {
|
|
"navigationBarTitleText": "我的"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/work/index",
|
|
"type": "page",
|
|
"name": "work",
|
|
"layout": "tabbar",
|
|
"style": {
|
|
"navigationBarTitleText": "工作台"
|
|
}
|
|
}
|
|
],
|
|
"subPackages": [
|
|
{
|
|
"root": "subPages",
|
|
"pages": [
|
|
// GENERATED BY UNI-PAGES, PLATFORM: APP || H5
|
|
{
|
|
"path": "ci/index",
|
|
"type": "page",
|
|
"name": "ci",
|
|
"style": {
|
|
"navigationBarTitleText": "CI 持续集成"
|
|
}
|
|
},
|
|
{
|
|
"path": "create-uni/index",
|
|
"type": "page",
|
|
"name": "create-uni",
|
|
"style": {
|
|
"navigationBarTitleText": "CreateUni 脚手架"
|
|
}
|
|
},
|
|
{
|
|
"path": "feedback/index",
|
|
"type": "page",
|
|
"name": "feedback",
|
|
"style": {
|
|
"navigationBarTitleText": "全局反馈"
|
|
}
|
|
},
|
|
{
|
|
"path": "icon/index",
|
|
"type": "page",
|
|
"name": "icon",
|
|
"style": {
|
|
"navigationBarTitleText": "图标演示"
|
|
}
|
|
},
|
|
{
|
|
"path": "pinia/index",
|
|
"type": "page",
|
|
"name": "pinia",
|
|
"style": {
|
|
"navigationBarTitleText": "Pinia 演示"
|
|
}
|
|
},
|
|
{
|
|
"path": "request/index",
|
|
"type": "page",
|
|
"name": "request",
|
|
"style": {
|
|
"navigationBarTitleText": "网络请求"
|
|
}
|
|
},
|
|
{
|
|
"path": "router/demo-aftereach",
|
|
"type": "page",
|
|
"name": "demo-aftereach",
|
|
"style": {
|
|
"navigationBarTitleText": "afterEach 钩子演示"
|
|
}
|
|
},
|
|
{
|
|
"path": "router/demo-guard",
|
|
"type": "page",
|
|
"name": "demo-guard",
|
|
"style": {
|
|
"navigationBarTitleText": "导航守卫演示"
|
|
}
|
|
},
|
|
{
|
|
"path": "router/demo-object",
|
|
"type": "page",
|
|
"name": "demo-object",
|
|
"style": {
|
|
"navigationBarTitleText": "对象路径跳转"
|
|
}
|
|
},
|
|
{
|
|
"path": "router/demo-params",
|
|
"type": "page",
|
|
"name": "demo-params",
|
|
"style": {
|
|
"navigationBarTitleText": "参数接收演示"
|
|
}
|
|
},
|
|
{
|
|
"path": "router/demo-protected",
|
|
"type": "page",
|
|
"name": "demo-protected",
|
|
"style": {
|
|
"navigationBarTitleText": "受保护页面"
|
|
}
|
|
},
|
|
{
|
|
"path": "router/demo-query",
|
|
"type": "page",
|
|
"name": "demo-query",
|
|
"style": {
|
|
"navigationBarTitleText": "查询参数接收演示"
|
|
}
|
|
},
|
|
{
|
|
"path": "router/demo-string",
|
|
"type": "page",
|
|
"name": "demo-string",
|
|
"style": {
|
|
"navigationBarTitleText": "字符串路径跳转"
|
|
}
|
|
},
|
|
{
|
|
"path": "router/index",
|
|
"type": "page",
|
|
"name": "router",
|
|
"style": {
|
|
"navigationBarTitleText": "路由管理"
|
|
}
|
|
},
|
|
{
|
|
"path": "styles/index",
|
|
"type": "page",
|
|
"name": "styles",
|
|
"style": {
|
|
"navigationBarTitleText": "UnoCSS 演示"
|
|
}
|
|
},
|
|
{
|
|
"path": "uni-ku-root/index",
|
|
"type": "page",
|
|
"name": "root",
|
|
"style": {
|
|
"navigationBarTitleText": "uni-ku/root"
|
|
}
|
|
},
|
|
// #ifdef H5
|
|
{
|
|
"path": "about/index",
|
|
"type": "page",
|
|
"name": "about",
|
|
"style": {
|
|
"navigationBarTitleText": "关于"
|
|
}
|
|
},
|
|
// #endif
|
|
// #ifdef H5
|
|
{
|
|
"path": "account/index",
|
|
"type": "page",
|
|
"name": "account",
|
|
"style": {
|
|
"navigationBarTitleText": "账号设置"
|
|
}
|
|
},
|
|
// #endif
|
|
// #ifdef H5
|
|
{
|
|
"path": "asyncEcharts/index",
|
|
"type": "page",
|
|
"name": "echartsAsync",
|
|
"style": {
|
|
"navigationBarTitleText": "echarts 异步跨包示例"
|
|
}
|
|
},
|
|
// #endif
|
|
// #ifdef H5
|
|
{
|
|
"path": "echarts/index",
|
|
"type": "page",
|
|
"name": "echarts",
|
|
"style": {
|
|
"navigationBarTitleText": "Echarts 演示"
|
|
}
|
|
},
|
|
// #endif
|
|
// #ifdef H5
|
|
{
|
|
"path": "profile/index",
|
|
"type": "page",
|
|
"name": "profile",
|
|
"style": {
|
|
"navigationBarTitleText": "个人中心"
|
|
}
|
|
},
|
|
// #endif
|
|
// #ifdef H5
|
|
{
|
|
"path": "settings/index",
|
|
"type": "page",
|
|
"name": "settings",
|
|
"style": {
|
|
"navigationBarTitleText": "系统设置"
|
|
}
|
|
},
|
|
// #endif
|
|
// #ifdef H5
|
|
{
|
|
"path": "skills/index",
|
|
"type": "page",
|
|
"name": "skills",
|
|
"layout": "default",
|
|
"style": {
|
|
"navigationBarTitleText": "Agent Skills",
|
|
"navigationBarBackgroundColor": "#f9fafb",
|
|
"navigationBarTextStyle": "black"
|
|
}
|
|
}
|
|
// #endif
|
|
]
|
|
}
|
|
],
|
|
"tabBar": {
|
|
"custom": true,
|
|
"customize": true,
|
|
"overlay": true,
|
|
"height": "0",
|
|
"color": "@tabColor",
|
|
"selectedColor": "@tabSelectedColor",
|
|
"backgroundColor": "@tabBgColor",
|
|
"borderStyle": "@tabBorderStyle",
|
|
"list": [
|
|
// #ifdef APP || H5 || MP-WEIXIN
|
|
{
|
|
"pagePath": "pages/index/index"
|
|
},
|
|
// #endif
|
|
{
|
|
"pagePath": "pages/work/index"
|
|
},
|
|
{
|
|
"pagePath": "pages/mine/index"
|
|
}
|
|
]
|
|
}
|
|
}
|