mirror of
https://gitee.com/niucloud-team/niucloud.git
synced 2025-12-11 17:42:47 +00:00
update uni-app
This commit is contained in:
parent
4281ac05f9
commit
086549723c
@ -21,10 +21,11 @@
|
||||
|
||||
// #ifdef H5
|
||||
uni.getSystemInfoSync().platform == 'ios' && (uni.setStorageSync('initUrl', location.href))
|
||||
// #endif
|
||||
|
||||
// 缺少站点id,拦截
|
||||
if (getSiteId(uni.getStorageSync('wap_site_id') || import.meta.env.VITE_SITE_ID) === '') return;
|
||||
if (process.env.NODE_ENV == 'development' && (getSiteId(uni.getStorageSync('wap_site_id') || import.meta.env.VITE_SITE_ID) === '')) return;
|
||||
// #endif
|
||||
|
||||
|
||||
const configStore = useConfigStore()
|
||||
configStore.getTabbarConfig()
|
||||
|
||||
@ -3,7 +3,9 @@
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "%pages.index.index%"
|
||||
}
|
||||
},
|
||||
@ -73,15 +75,19 @@
|
||||
{
|
||||
"path": "pages/index/close",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "%pages.index.close%"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/nonexistence",
|
||||
"path": "pages/index/nosite",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "%pages.index.nonexistence%"
|
||||
// #endif
|
||||
"navigationBarTitleText": "%pages.index.nosite%"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -172,20 +178,12 @@
|
||||
},
|
||||
{
|
||||
"path": "pages/member/index",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "%pages.member.index%"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/member/info",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "%pages.member.info%"
|
||||
},
|
||||
"needLogin": true
|
||||
"navigationBarTitleText": "%pages.member.index%"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/member/personal",
|
||||
@ -230,14 +228,18 @@
|
||||
{
|
||||
"path": "pages/pay/browser",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "%pages.pay.browser%"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/pay/result",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "%pages.pay.result%"
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user