Files
zyt/uniapp/src/pages.json
T
longandCursor 275a7a550d feat(uniapp): 新增「练一练」器械跟练模块 MVP
- 节拍器 hook (useMetronome):setInterval + 漂移自校正,60-200 BPM 误差 <30ms
- 训练状态机 hook (useTrainingSession):组数/次数/休息阶段编排
- 语音引导 hook (useVoiceCoach):队列播放,关联节拍回调报数
- BGM hook (useTrainingBgm):训练/休息双音轨手写淡入淡出
- 5 个动作预设:哑铃弯举/推举/侧平举、握力环、健身环卷腹
- CSS 动画组件 exercise-anim:动画时长由 BPM 通过 CSS 变量驱动
- TTS 生成脚本 generate-voice.mjs:调小米 MiMo TTS 自动出 39 段语音
- 静态资源目录占位与素材准备说明

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-25 10:34:45 +08:00

254 lines
6.7 KiB
JSON

{
"pages": [
{
"path": "pages/index/index",
"style": {
// #ifndef H5
"navigationStyle": "custom",
// #endif
// #ifdef H5
"navigationBarTitleText": "首页"
// #endif
}
},
{
"path": "pages/news/news",
"style": {
// #ifndef H5
"navigationStyle": "custom",
// #endif
// #ifdef H5
"navigationBarTitleText": "资讯",
// #endif
"disableScroll": true
}
},
{
"path": "pages/user/user",
"style": {
// #ifndef H5
"navigationStyle": "custom",
// #endif
// #ifdef H5
"navigationBarTitleText": "个人中心"
// #endif
}
},
{
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "登录"
},
"meta": {
"white": true
}
},
{
"path": "pages/register/register",
"style": {
"navigationBarTitleText": "注册"
},
"meta": {
"white": true
}
},
{
"path": "pages/forget_pwd/forget_pwd",
"style": {
"navigationBarTitleText": "忘记密码"
},
"meta": {
"white": true
}
},
{
"path": "pages/customer_service/customer_service",
"style": {
"navigationBarTitleText": "联系客服"
},
"meta": {
"white": true
}
},
{
"path": "pages/news_detail/news_detail",
"style": {
"navigationBarTitleText": "详情"
}
},
{
"path": "pages/user_set/user_set",
"style": {
"navigationBarTitleText": "个人设置"
},
"meta": {
"auth": true
}
},
{
"path": "pages/collection/collection",
"style": {
"navigationBarTitleText": "我的收藏"
},
"meta": {
"auth": true
}
},
{
"path": "pages/as_us/as_us",
"style": {
"navigationBarTitleText": "关于我们"
}
},
{
"path": "pages/agreement/agreement",
"style": {
"navigationBarTitleText": "协议"
}
},
{
"path": "pages/change_password/change_password",
"style": {
"navigationBarTitleText": "修改密码"
},
"meta": {
"auth": true
}
},
{
"path": "pages/user_data/user_data",
"style": {
"navigationBarTitleText": "个人资料"
},
"meta": {
"auth": true
}
},
{
"path": "pages/search/search",
"style": {
"navigationBarTitleText": "搜索"
}
},
{
"path": "pages/webview/webview"
},
{
"path": "pages/bind_mobile/bind_mobile",
"style": {
"navigationBarTitleText": "绑定手机号"
}
},
{
"path": "pages/empty/empty",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/payment_result/payment_result",
"style": {
"navigationBarTitleText": "支付结果"
},
"meta": {
"auth": true
}
},
{
"path": "uni_modules/vk-uview-ui/components/u-avatar-cropper/u-avatar-cropper",
"style": {
"navigationBarTitleText": "头像裁剪",
"navigationBarBackgroundColor": "#000000"
}
},
{
"path": "pages/training/index",
"style": {
"navigationBarTitleText": "练一练"
}
}
],
"subPackages": [{
"root": "packages",
"pages": [
{
"path": "pages/404/404",
"style": {
"navigationBarTitleText": "404"
},
"name": "404",
"meta": {
"white": true
}
},
{
"path": "pages/user_wallet/user_wallet",
"style": {
"navigationBarTitleText": "我的钱包"
},
"meta": {
"auth": true
}
},
{
"path": "pages/recharge/recharge",
"style": {
"navigationBarTitleText": "充值"
},
"meta": {
"auth": true
}
},
{
"path": "pages/recharge_record/recharge_record",
"style": {
"navigationBarTitleText": "充值记录"
},
"meta": {
"auth": true
}
}
]
}],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "商城",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#F8F8F8",
"h5": {
"navigationStyle": "custom"
}
},
"tabBar": {
"custom": true,
"iconWidth": "20px",
"list": [
{
"iconPath": "static/images/tabbar/home.png",
"selectedIconPath": "static/images/tabbar/home_s.png",
"pagePath": "pages/index/index",
"text": "首页"
},
{
"iconPath": "static/images/tabbar/news.png",
"selectedIconPath": "static/images/tabbar/news_s.png",
"pagePath": "pages/news/news",
"text": "资讯"
},
{
"iconPath": "static/images/tabbar/user.png",
"selectedIconPath": "static/images/tabbar/user_s.png",
"pagePath": "pages/user/user",
"text": "我的"
}
]
},
"easycom": {
"custom": {
"router-navigate": "uniapp-router-next/components/router-navigate/router-navigate.vue",
"^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue",
"^w-(.*)": "@/components/widgets/$1/$1.vue"
}
}
}