From f907dd5adb57a0b9e45f59f922ee4a9c95ca5ebc Mon Sep 17 00:00:00 2001 From: snsd0805 Date: Fri, 9 Jun 2023 22:37:00 +0800 Subject: [PATCH] feat: client main page --- src/assets/ghost-blog.css | 12 ++++ src/components/ClientNav.vue | 74 +++++++++++++++++++++++ src/router/index.js | 26 +++++++- src/views/ClientMainView.vue | 111 +++++++++++++++++++++++++++++++++++ 4 files changed, 222 insertions(+), 1 deletion(-) create mode 100644 src/components/ClientNav.vue create mode 100644 src/views/ClientMainView.vue diff --git a/src/assets/ghost-blog.css b/src/assets/ghost-blog.css index 3d0e653..a8b5c51 100644 --- a/src/assets/ghost-blog.css +++ b/src/assets/ghost-blog.css @@ -39,6 +39,18 @@ hr { background: #060606; color: white; } */ +.panel { + background-color: #F0F0F0; +} + +.panel-heading { + background-color: #5B5B5B; + color: white; +} + +.panel-block { + color: black; +} .box.is-fullwidth h1.title.is-4{ color: #060606; diff --git a/src/components/ClientNav.vue b/src/components/ClientNav.vue new file mode 100644 index 0000000..88c3e59 --- /dev/null +++ b/src/components/ClientNav.vue @@ -0,0 +1,74 @@ + + + diff --git a/src/router/index.js b/src/router/index.js index 50ec220..3dce51e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3,6 +3,10 @@ import HomeView from '../views/HomeView.vue' import SignupView from '../views/SignupView.vue' import LinkSBTView from '../views/LinkSBTView.vue' import CreditView from '../views/CreditView.vue' +import ClientMainView from '../views/ClientMainView.vue' +import ClientInfoView from '../views/ClientInfoView.vue' +import ClientCreditView from '../views/ClientCreditView.vue' +import ClientPayView from '../views/ClientPayView.vue' const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), @@ -26,7 +30,27 @@ const router = createRouter({ path: '/signup/credit', name: 'startcredit', component: CreditView - } + }, + { + path: '/client', + name: 'clientmain', + component: ClientMainView + }, + { + path: '/client/info', + name: 'clientinfo', + component: ClientInfoView + }, + { + path: '/client/credit', + name: 'clientcredit', + component: ClientCreditView + }, + { + path: '/client/pay', + name: 'clientpay', + component: ClientPayView + }, ] }) diff --git a/src/views/ClientMainView.vue b/src/views/ClientMainView.vue new file mode 100644 index 0000000..2b32ca1 --- /dev/null +++ b/src/views/ClientMainView.vue @@ -0,0 +1,111 @@ + + +