核心功能: - 记账CRUD(支出/收入/分类/备注/日期) - 统计分析(概览/分类占比/每日趋势) - 预算管理(按月设置/进度条/超支提醒) - 数据导出CSV 安全与认证: - HMAC-SHA256签名token认证 - 用户数据隔离 - 输入验证与错误处理 - CORS配置 前端优化: - 骨架屏加载 - 账单按日期分组 - 预算页面重构(快捷预设+Numpad) - SvgIcon组件(H5+微信双端适配) - 下拉刷新 后端优化: - 共享日期工具函数 - 数据库连接池优化 - 健康检查端点 - 优雅关闭处理 技术栈: - 前端:Uni-app (Vue 3 + Pinia) - 后端:Node.js + Express + MySQL
96 lines
2.3 KiB
JSON
96 lines
2.3 KiB
JSON
{
|
|
"pages": [
|
|
{
|
|
"path": "pages/index/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "小菜记账",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/add/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "记一笔"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/stats/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "统计分析",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/bills/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "全部账单",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/profile/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "我的"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/category-manage/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "分类管理"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/budget/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "预算设置"
|
|
}
|
|
}
|
|
],
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarTitleText": "小菜记账",
|
|
"navigationBarBackgroundColor": "#FFF8F0",
|
|
"backgroundColor": "#FFF8F0",
|
|
"backgroundTextStyle": "dark"
|
|
},
|
|
"tabBar": {
|
|
"color": "#BFB3B3",
|
|
"selectedColor": "#FF8C69",
|
|
"backgroundColor": "#FFF8F0",
|
|
"borderStyle": "white",
|
|
"list": [
|
|
{
|
|
"pagePath": "pages/index/index",
|
|
"text": "首页",
|
|
"iconPath": "static/icons/home.png",
|
|
"selectedIconPath": "static/icons/home-active.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/stats/index",
|
|
"text": "统计",
|
|
"iconPath": "static/icons/chart.png",
|
|
"selectedIconPath": "static/icons/chart-active.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/bills/index",
|
|
"text": "账单",
|
|
"iconPath": "static/icons/bill.png",
|
|
"selectedIconPath": "static/icons/bill-active.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/profile/index",
|
|
"text": "我的",
|
|
"iconPath": "static/icons/user.png",
|
|
"selectedIconPath": "static/icons/user-active.png"
|
|
}
|
|
]
|
|
}
|
|
}
|