diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts index a3a09be..7bbfa57 100644 --- a/src/auto-imports.d.ts +++ b/src/auto-imports.d.ts @@ -133,6 +133,7 @@ declare global { const until: typeof import('@vueuse/core')['until'] const useActiveElement: typeof import('@vueuse/core')['useActiveElement'] const useAnimate: typeof import('@vueuse/core')['useAnimate'] + const useAppStore: typeof import('./stores/app')['useAppStore'] const useArrayDifference: typeof import('@vueuse/core')['useArrayDifference'] const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery'] const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter'] @@ -450,6 +451,7 @@ declare module 'vue' { readonly until: UnwrapRef readonly useActiveElement: UnwrapRef readonly useAnimate: UnwrapRef + readonly useAppStore: UnwrapRef readonly useArrayDifference: UnwrapRef readonly useArrayEvery: UnwrapRef readonly useArrayFilter: UnwrapRef diff --git a/src/pages.json b/src/pages.json index b9d5964..8a4d516 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1,37 +1,45 @@ { - "easycom": { - "autoscan": true, - "custom": { - "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue" - } - }, - "pages": [ - { - "path": "pages/feed-plan/index", - "type": "page" - }, - { - "path": "pages/home/index", - "type": "page" - }, - { - "path": "pages/me/index", - "type": "page" - }, - { - "path": "pages/pet-manual/index", - "type": "page" - } - ], - "globalStyle": { - "backgroundColor": "@bgColor", - "backgroundColorBottom": "@bgColorBottom", - "backgroundColorTop": "@bgColorTop", - "backgroundTextStyle": "@bgTxtStyle", - "navigationBarBackgroundColor": "#000000", - "navigationBarTextStyle": "@navTxtStyle", - "navigationBarTitleText": "Vitesse-Uni", - "navigationStyle": "custom" - }, - "subPackages": [] + "easycom": { + "autoscan": true, + "custom": { + "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue" + } + }, + "pages": [ + { + "path": "pages/feed-plan/index", + "type": "page" + }, + { + "path": "pages/home/index", + "type": "page" + }, + { + "path": "pages/me/index", + "type": "page" + }, + { + "path": "pages/pet-manual/index", + "type": "page" + }, + { + "path": "pages/setting/index", + "type": "page" + }, + { + "path": "pages/userInfo/index", + "type": "page" + } + ], + "globalStyle": { + "backgroundColor": "@bgColor", + "backgroundColorBottom": "@bgColorBottom", + "backgroundColorTop": "@bgColorTop", + "backgroundTextStyle": "@bgTxtStyle", + "navigationBarBackgroundColor": "#000000", + "navigationBarTextStyle": "@navTxtStyle", + "navigationBarTitleText": "Vitesse-Uni", + "navigationStyle": "custom" + }, + "subPackages": [] } \ No newline at end of file diff --git a/src/pages/setting/index.vue b/src/pages/setting/index.vue new file mode 100644 index 0000000..f191978 --- /dev/null +++ b/src/pages/setting/index.vue @@ -0,0 +1,28 @@ + + + + + diff --git a/src/pages/userInfo/index.vue b/src/pages/userInfo/index.vue new file mode 100644 index 0000000..1bfa63c --- /dev/null +++ b/src/pages/userInfo/index.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/src/static/image/user-info/avatar.png b/src/static/image/user-info/avatar.png new file mode 100644 index 0000000..1ec29ec Binary files /dev/null and b/src/static/image/user-info/avatar.png differ diff --git a/src/static/image/user-info/component.png b/src/static/image/user-info/component.png new file mode 100644 index 0000000..a168b61 Binary files /dev/null and b/src/static/image/user-info/component.png differ diff --git a/src/static/image/user-info/union.png b/src/static/image/user-info/union.png new file mode 100644 index 0000000..f6677a6 Binary files /dev/null and b/src/static/image/user-info/union.png differ diff --git a/src/uni-pages.d.ts b/src/uni-pages.d.ts index f9e690a..0ba2f75 100644 --- a/src/uni-pages.d.ts +++ b/src/uni-pages.d.ts @@ -7,7 +7,9 @@ interface NavigateToOptions { url: "/pages/feed-plan/index" | "/pages/home/index" | "/pages/me/index" | - "/pages/pet-manual/index"; + "/pages/pet-manual/index" | + "/pages/setting/index" | + "/pages/userInfo/index"; } interface RedirectToOptions extends NavigateToOptions {}