mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 21:02:49 +00:00
no message
This commit is contained in:
parent
7d1979f067
commit
484bc6ea39
@ -136,20 +136,26 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
...mapState(['ws', 'themeConf', 'windowOrientation', 'safeAreaSize', 'isFirstPage', 'mobileTabbar']),
|
...mapState(['ws', 'themeConf', 'windowOrientation', 'safeAreaSize', 'isFirstPage', 'mobileTabbar']),
|
||||||
|
|
||||||
statusColor({routeName}) {
|
statusColor({routeName, windowLandscape}) {
|
||||||
if (!routeName) {
|
if (!routeName) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
if (windowLandscape) {
|
||||||
|
return "#f4f5f7"
|
||||||
|
}
|
||||||
if (['manage-messenger', 'manage-project'].includes(routeName) || routeName.startsWith('manage-setting')) {
|
if (['manage-messenger', 'manage-project'].includes(routeName) || routeName.startsWith('manage-setting')) {
|
||||||
return '#f8f8f8'
|
return '#f8f8f8'
|
||||||
}
|
}
|
||||||
return null
|
return null
|
||||||
},
|
},
|
||||||
|
|
||||||
navigationColor({routeName, mobileTabbar}) {
|
navigationColor({routeName, windowLandscape, mobileTabbar}) {
|
||||||
if (!routeName) {
|
if (!routeName) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
if (windowLandscape) {
|
||||||
|
return "#f4f5f7"
|
||||||
|
}
|
||||||
if (['manage-messenger', 'manage-project', 'manage-setting'].includes(routeName)) {
|
if (['manage-messenger', 'manage-project', 'manage-setting'].includes(routeName)) {
|
||||||
return '#f8f8f8'
|
return '#f8f8f8'
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user