diff --git a/.vscode/settings.json b/.vscode/settings.json index 03691c14..b2451a12 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,5 +3,6 @@ "src/tmui/locale", "src/tmui/tool/dayjs/locale", "src/tmui/tool/dayjs/esm/locale" - ] + ], + "vue-i18n.i18nPaths": "src\\tmui\\locale,src\\tmui\\tool\\dayjs\\locale,src\\tmui\\tool\\dayjs\\esm\\locale" } \ No newline at end of file diff --git a/src/components/title/index.vue b/src/components/title/index.vue new file mode 100644 index 00000000..3d932009 --- /dev/null +++ b/src/components/title/index.vue @@ -0,0 +1,61 @@ + + + + + \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index 13e20798..346a9031 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,9 +4,11 @@ import tmui from "./tmui"; import App from "./App.vue"; // @ts-ignore import api from "@/http"; +import title from "./components/title/index.vue"; export function createApp() { const app = createSSRApp(App); app.config.globalProperties.$api = api; + app.component("title", title); app.use(tmui, { shareDisable: false } as Tmui.tmuiConfig); return { app, diff --git a/src/pages.json b/src/pages.json index 1c888378..e88fc3f9 100644 --- a/src/pages.json +++ b/src/pages.json @@ -9,6 +9,7 @@ { "path": "pages/login/index", "style": { + "navigationStyle": "custom", "navigationBarTitleText": "", "enablePullDownRefresh": false, "app-plus": { @@ -26,6 +27,27 @@ } } }, + { + "path": "pages/home/index", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false // 禁用原生导航 + } + } + }, + { + "path": "pages/ticket/index", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "", + "enablePullDownRefresh": false + }, + "app-plus":{ + "bounce":"none" + } + }, { "path": "pages/fankui/index", "style": { diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue index ed7d4c3f..bf4d69fd 100644 --- a/src/pages/home/index.vue +++ b/src/pages/home/index.vue @@ -1,15 +1,71 @@ - diff --git a/src/pages/ticket/index.vue b/src/pages/ticket/index.vue new file mode 100644 index 00000000..fbf440fc --- /dev/null +++ b/src/pages/ticket/index.vue @@ -0,0 +1,211 @@ + + + + + \ No newline at end of file diff --git a/src/static/line.png b/src/static/line.png new file mode 100644 index 00000000..4bd304fc Binary files /dev/null and b/src/static/line.png differ