- 添加项目配置文件(.editorconfig, .gitignore) - 创建App.vue主应用文件,包含启动时Mock数据初始化 - 添加index.html和main.js应用入口文件 - 配置manifest.json应用基本信息和权限设置 - 设置pages.json页面路由和全局样式 - 添加uni.promisify.adaptor.js适配器文件 - 创建uni.scss设计令牌系统,定义琥珀夜光主题色彩 - 新增constants.js常量定义,包含酒类分类和品牌数据
73 lines
1.4 KiB
JSON
73 lines
1.4 KiB
JSON
{
|
|
"pages": [
|
|
{
|
|
"path": "pages/index/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/onboarding/onboarding",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/login/login",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/record/record",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/card/card",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/profile/profile",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": ""
|
|
}
|
|
}
|
|
],
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "white",
|
|
"navigationBarTitleText": "喝酒了么",
|
|
"navigationBarBackgroundColor": "#0B0B14",
|
|
"backgroundColor": "#0B0B14",
|
|
"backgroundColorTop": "#0B0B14",
|
|
"backgroundColorBottom": "#0B0B14"
|
|
},
|
|
"uniIdRouter": {}
|
|
}
|
|
{
|
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
|
{
|
|
"path": "pages/index/index",
|
|
"style": {
|
|
"navigationBarTitleText": "uni-app"
|
|
}
|
|
}
|
|
],
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarTitleText": "uni-app",
|
|
"navigationBarBackgroundColor": "#F8F8F8",
|
|
"backgroundColor": "#F8F8F8"
|
|
},
|
|
"uniIdRouter": {}
|
|
}
|