diff --git a/pages.config.ts b/pages.config.ts index b0c3b65..b2e40a3 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -19,22 +19,22 @@ export default defineUniPages({ selectedColor: '@tabSelectedColor', list: [ { - pagePath: 'pages/index', + pagePath: 'pages/home/index', text: '首页', - iconPath: 'static/vite.png', - selectedIconPath: 'static/vite.png', + iconPath: 'static/home.png', + selectedIconPath: 'static/home1.png', }, { - pagePath: 'pages/hi', - text: '我的', - iconPath: 'static/vite.png', - selectedIconPath: 'static/vite.png', + pagePath: 'pages/work/index', + text: '工作', + iconPath: 'static/work.png', + selectedIconPath: 'static/work1.png', }, { - pagePath: 'pages/hi', - text: 'about', - iconPath: 'static/vite.png', - selectedIconPath: 'static/vite.png', + pagePath: 'pages/report/index', + text: '报告', + iconPath: 'static/report.png', + selectedIconPath: 'static/report1.png', }, ], }, diff --git a/src/App.vue b/src/App.vue index 7b05eec..539ad8d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,3 +1,51 @@ + + diff --git a/src/static/home.png b/src/static/home.png new file mode 100644 index 0000000..44972a0 Binary files /dev/null and b/src/static/home.png differ diff --git a/src/static/home1.png b/src/static/home1.png new file mode 100644 index 0000000..c7c0f92 Binary files /dev/null and b/src/static/home1.png differ diff --git a/src/static/report.png b/src/static/report.png new file mode 100644 index 0000000..841ecba Binary files /dev/null and b/src/static/report.png differ diff --git a/src/static/report1.png b/src/static/report1.png new file mode 100644 index 0000000..2909ca7 Binary files /dev/null and b/src/static/report1.png differ diff --git a/src/static/work.png b/src/static/work.png new file mode 100644 index 0000000..d146771 Binary files /dev/null and b/src/static/work.png differ diff --git a/src/static/work1.png b/src/static/work1.png new file mode 100644 index 0000000..405fd33 Binary files /dev/null and b/src/static/work1.png differ diff --git a/src/theme.json b/src/theme.json index 1d9b292..79a399e 100644 --- a/src/theme.json +++ b/src/theme.json @@ -9,7 +9,7 @@ "tabBgColor": "#fcfcfc", "tabBorderStyle": "black", "tabFontColor": "#1f2937", - "tabSelectedColor": "#ff6b00" + "tabSelectedColor": "#4685FD" }, "dark": { "bgColor": "#181818", @@ -21,6 +21,6 @@ "tabBgColor": "#181818", "tabBorderStyle": "white", "tabFontColor": "#f3f4f6", - "tabSelectedColor": "#ff6b00" + "tabSelectedColor": "#4685FD" } } diff --git a/src/uni-pages.d.ts b/src/uni-pages.d.ts index 540713e..80847e5 100644 --- a/src/uni-pages.d.ts +++ b/src/uni-pages.d.ts @@ -14,7 +14,7 @@ interface NavigateToOptions { interface RedirectToOptions extends NavigateToOptions {} interface SwitchTabOptions { - url: "/pages/index" | "/pages/hi" | "/pages/hi" + url: "/pages/home/index" | "/pages/work/index" | "/pages/report/index" } type ReLaunchOptions = NavigateToOptions | SwitchTabOptions;