diff --git a/components.d.ts b/components.d.ts index 0d4714a..2926c62 100644 --- a/components.d.ts +++ b/components.d.ts @@ -17,6 +17,7 @@ declare module 'vue' { IonApp: typeof import('@ionic/vue')['IonApp'] IonAvatar: typeof import('@ionic/vue')['IonAvatar'] IonButton: typeof import('@ionic/vue')['IonButton'] + IonButtons: typeof import('@ionic/vue')['IonButtons'] IonCheckbox: typeof import('@ionic/vue')['IonCheckbox'] IonContent: typeof import('@ionic/vue')['IonContent'] IonDatetime: typeof import('@ionic/vue')['IonDatetime'] @@ -27,6 +28,7 @@ declare module 'vue' { IonInput: typeof import('@ionic/vue')['IonInput'] IonItem: typeof import('@ionic/vue')['IonItem'] IonLabel: typeof import('@ionic/vue')['IonLabel'] + IonList: typeof import('@ionic/vue')['IonList'] IonPage: typeof import('@ionic/vue')['IonPage'] IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet'] IonSpinner: typeof import('@ionic/vue')['IonSpinner'] @@ -48,6 +50,7 @@ declare global { const IonApp: typeof import('@ionic/vue')['IonApp'] const IonAvatar: typeof import('@ionic/vue')['IonAvatar'] const IonButton: typeof import('@ionic/vue')['IonButton'] + const IonButtons: typeof import('@ionic/vue')['IonButtons'] const IonCheckbox: typeof import('@ionic/vue')['IonCheckbox'] const IonContent: typeof import('@ionic/vue')['IonContent'] const IonDatetime: typeof import('@ionic/vue')['IonDatetime'] @@ -58,6 +61,7 @@ declare global { const IonInput: typeof import('@ionic/vue')['IonInput'] const IonItem: typeof import('@ionic/vue')['IonItem'] const IonLabel: typeof import('@ionic/vue')['IonLabel'] + const IonList: typeof import('@ionic/vue')['IonList'] const IonPage: typeof import('@ionic/vue')['IonPage'] const IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet'] const IonSpinner: typeof import('@ionic/vue')['IonSpinner'] diff --git a/src/assets/images/header.jpg b/src/assets/images/header.jpg new file mode 100644 index 0000000..7cb903b Binary files /dev/null and b/src/assets/images/header.jpg differ diff --git a/src/router/index.ts b/src/router/index.ts index 9829d8c..5486d53 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -42,10 +42,22 @@ const routes: Array = [ { path: "/check_in", component: () => import("@/views/check_in/index.vue"), + meta: { requiresAuth: true }, }, { path: "/invite", component: () => import("@/views/invite/index.vue"), + meta: { requiresAuth: true }, + }, + { + path: "/settings", + component: () => import("@/views/settings/index.vue"), + meta: { requiresAuth: true }, + }, + { + path: "/real_name", + component: () => import("@/views/real_name/index.vue"), + meta: { requiresAuth: true }, }, ]; diff --git a/src/theme/ionic.css b/src/theme/ionic.css index 1662e65..a08826a 100644 --- a/src/theme/ionic.css +++ b/src/theme/ionic.css @@ -131,6 +131,7 @@ } */ .ion-toolbar { - --background: var(--ion-color-primary-contrast); - --min-height: 50px; + --background: var(--ion-color-primary); + --min-height: 58px; + --color: white; } \ No newline at end of file diff --git a/src/views/profile/index.ts b/src/views/profile/index.ts index af1f1a9..eeb7b2e 100644 --- a/src/views/profile/index.ts +++ b/src/views/profile/index.ts @@ -6,7 +6,7 @@ export const myApps = [ name: "实名认证", icon: shieldCheckmarkOutline, color: "#c32120", - path: "/real-name", + path: "/real_name", }, { id: "address", @@ -27,7 +27,7 @@ export const myApps = [ name: "在线客服", icon: chatbubblesOutline, color: "#c32120", - path: "/customer-service", + path: "/customer_service", }, { id: "settings", @@ -48,7 +48,7 @@ export const myApps = [ name: "资产明细", icon: listOutline, color: "#c32120", - path: "/asset-details", + path: "/asset_details", }, ] as const; diff --git a/src/views/real_name/index.vue b/src/views/real_name/index.vue new file mode 100644 index 0000000..928b5ad --- /dev/null +++ b/src/views/real_name/index.vue @@ -0,0 +1,396 @@ + + + + + diff --git a/src/views/settings/index.vue b/src/views/settings/index.vue new file mode 100644 index 0000000..0590b15 --- /dev/null +++ b/src/views/settings/index.vue @@ -0,0 +1,87 @@ + + + + +