diff --git a/miniprogram/app.scss b/miniprogram/app.scss index 50e6753..72fb7f3 100644 --- a/miniprogram/app.scss +++ b/miniprogram/app.scss @@ -7,8 +7,8 @@ $theme-color-light-background: #f4f0f1; $theme-color-light-title: rgba(0, 0, 0, .65); $theme-color-light-text: rgba(0, 0, 0, .55); -$theme-color-dark-layout: #191919; -$theme-color-dark-background: #1f1f1f; +$theme-color-dark-layout: #1f1f1f; +$theme-color-dark-background: #181615; $theme-color-dark-title: rgba(255, 255, 255, .65); $theme-color-dark-text: rgba(255, 255, 255, .55); @@ -16,10 +16,13 @@ $black-filter: brightness(0) opacity(.65); $white-filter: brightness(100) opacity(.65); $blue-filter: opacity(.65); - +view.container { + width: 88%; + padding: 0 6%; +} page { - background-color: #f4f0f1; + background-color: $theme-color-light-background; color: $theme-color-light-text; font-weight: 500; font-size: .9em; @@ -28,7 +31,7 @@ page { @media (prefers-color-scheme: dark){ page { - background-color: #1f1f1f; + background-color: $theme-color-dark-background; color: $theme-color-dark-text; } } \ No newline at end of file diff --git a/miniprogram/pages/Account/Account.json b/miniprogram/pages/Account/Account.json index 8835af0..e8c2c06 100644 --- a/miniprogram/pages/Account/Account.json +++ b/miniprogram/pages/Account/Account.json @@ -1,3 +1,4 @@ { - "usingComponents": {} + "usingComponents": {}, + "navigationBarTitleText": "设置" } \ No newline at end of file diff --git a/miniprogram/pages/Account/Account.scss b/miniprogram/pages/Account/Account.scss index e69de29..a003654 100644 --- a/miniprogram/pages/Account/Account.scss +++ b/miniprogram/pages/Account/Account.scss @@ -0,0 +1,9 @@ +view.container { + + // 用户卡片 + view.user-card { + width: 100%; + height: 200px; + background-color: aqua; + } +} \ No newline at end of file diff --git a/miniprogram/pages/Account/Account.wxml b/miniprogram/pages/Account/Account.wxml index 715e00c..788e060 100644 --- a/miniprogram/pages/Account/Account.wxml +++ b/miniprogram/pages/Account/Account.wxml @@ -1 +1,8 @@ - + + + + + + + + \ No newline at end of file diff --git a/miniprogram/pages/Timetable/StatusBar.scss b/miniprogram/pages/Timetable/StatusBar.scss index 3e5863f..c0bca9f 100644 --- a/miniprogram/pages/Timetable/StatusBar.scss +++ b/miniprogram/pages/Timetable/StatusBar.scss @@ -9,7 +9,7 @@ view.status-bar { display: flex; position: fixed; justify-content: space-between; - background-color: #F8F8F8; + background-color: $theme-color-light-layout; view.select { flex: 1; @@ -111,7 +111,7 @@ view.status-bar-blank { } view.status-bar { - background-color: #191919; + background-color: $theme-color-dark-layout; view.select image { filter: $white-filter; diff --git a/miniprogram/theme.json b/miniprogram/theme.json index f7a1521..5be0b04 100644 --- a/miniprogram/theme.json +++ b/miniprogram/theme.json @@ -11,9 +11,9 @@ }, "dark": { - "navigationBarBackgroundColor": "#191919", + "navigationBarBackgroundColor": "#1f1f1f", "navigationBarTextStyle": "white", - "backgroundColor": "#1f1f1f", + "backgroundColor": "#191919", "tabBarColor": "#666666", "tabBarImage0": "image/navBar/0_dark.png", diff --git a/project.private.config.json b/project.private.config.json new file mode 100644 index 0000000..41aae51 --- /dev/null +++ b/project.private.config.json @@ -0,0 +1,23 @@ +{ + "condition": { + "plugin": { + "list": [] + }, + "game": { + "list": [] + }, + "gamePlugin": { + "list": [] + }, + "miniprogram": { + "list": [ + { + "name": "Account", + "pathName": "pages/Account/Account", + "query": "", + "scene": null + } + ] + } + } +} \ No newline at end of file