support dark mode
This commit is contained in:
@ -10,6 +10,8 @@
|
||||
"pages/main/moment/index",
|
||||
"pages/main/journal-list/index"
|
||||
],
|
||||
"darkmode": true,
|
||||
"themeLocation": "theme.json",
|
||||
"window": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black",
|
||||
@ -17,40 +19,40 @@
|
||||
},
|
||||
"lazyCodeLoading": "requiredComponents",
|
||||
"tabBar": {
|
||||
"color": "#8a8a8a",
|
||||
"selectedColor": "#07C160",
|
||||
"backgroundColor": "#ffffff",
|
||||
"borderStyle": "white",
|
||||
"color": "@tabBarColor",
|
||||
"selectedColor": "@tabBarSelectedColor",
|
||||
"backgroundColor": "@tabBarBackgroundColor",
|
||||
"borderStyle": "@tabBarBorderStyle",
|
||||
"list": [
|
||||
{
|
||||
"text": "归档",
|
||||
"pagePath": "pages/main/journal/index",
|
||||
"iconPath": "assets/icon/journal.png",
|
||||
"selectedIconPath": "assets/icon/journal_active.png"
|
||||
"iconPath": "@tabBarIconJournal",
|
||||
"selectedIconPath": "@tabBarIconJournalActive"
|
||||
},
|
||||
{
|
||||
"text": "专拍",
|
||||
"pagePath": "pages/main/portfolio/index",
|
||||
"iconPath": "assets/icon/portfolio.png",
|
||||
"selectedIconPath": "assets/icon/portfolio_active.png"
|
||||
"iconPath": "@tabBarIconPortfolio",
|
||||
"selectedIconPath": "@tabBarIconPortfolioActive"
|
||||
},
|
||||
{
|
||||
"text": "瞬间",
|
||||
"pagePath": "pages/main/moment/index",
|
||||
"iconPath": "assets/icon/moment.png",
|
||||
"selectedIconPath": "assets/icon/moment_active.png"
|
||||
"iconPath": "@tabBarIconMoment",
|
||||
"selectedIconPath": "@tabBarIconMomentActive"
|
||||
},
|
||||
{
|
||||
"text": "旅行",
|
||||
"pagePath": "pages/main/travel/index",
|
||||
"iconPath": "assets/icon/travel.png",
|
||||
"selectedIconPath": "assets/icon/travel_active.png"
|
||||
"iconPath": "@tabBarIconTravel",
|
||||
"selectedIconPath": "@tabBarIconTravelActive"
|
||||
},
|
||||
{
|
||||
"text": "关于",
|
||||
"pagePath": "pages/main/about/index",
|
||||
"iconPath": "assets/icon/info.png",
|
||||
"selectedIconPath": "assets/icon/info_active.png"
|
||||
"iconPath": "@tabBarIconInfo",
|
||||
"selectedIconPath": "@tabBarIconInfoActive"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user