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