- 新增 /pages/training/metronome 节拍器页面: · 中心大脉冲圆 + 重音变色(绿→金) · 拍号选择 1/4 ~ 6/8,第 1 拍重音视觉指示 · BPM 滑块 (40-240) + 一键 ±1/±5 步进 · Tap Tempo(连续 2-5 次点击自动测速) · 速度术语提示(Largo / Andante / Allegro 等) · 屏幕常亮、切后台自动暂停 - useMetronome 新增 setAccentEvery / tapTempo 方法,支持 accentSrc 重音音色 - 训练页右上角加节拍器入口 - DEV 悬浮按钮升级为可展开菜单(练一练 + 节拍器) Co-authored-by: Cursor <cursoragent@cursor.com>
262 lines
7.0 KiB
JSON
262 lines
7.0 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": "练一练"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/training/metronome",
|
|
"style": {
|
|
"navigationBarTitleText": "节拍器",
|
|
"navigationBarBackgroundColor": "#0f172a",
|
|
"navigationBarTextStyle": "white"
|
|
}
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
}
|