From dbf5f6678ad0157241dbda08f97bb4cbb97ea8a3 Mon Sep 17 00:00:00 2001 From: Yuanjianghong Date: Mon, 9 Aug 2021 18:14:22 +0800 Subject: [PATCH 1/9] ceshi --- src/App.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/App.vue b/src/App.vue index a0434cf..a44f5d8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,9 +1,21 @@ + + + -
- - + + \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 03c1ed3..8a47312 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,41 +1,17 @@ - - - + \ No newline at end of file diff --git a/src/main.js b/src/main.js index 3c77e64..cf806c4 100644 --- a/src/main.js +++ b/src/main.js @@ -4,9 +4,12 @@ import router from './router' import store from './store' import ElementUI from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; +import VueWechatTitle from 'vue-wechat-title'; Vue.use(ElementUI); +Vue.use(VueWechatTitle); +// 阻止启动生产消息 Vue.config.productionTip = false new Vue({ diff --git a/src/router/index.js b/src/router/index.js index e44cdcd..600697b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,22 +1,14 @@ import Vue from 'vue' import VueRouter from 'vue-router' -import Home from '../views/Home.vue' Vue.use(VueRouter) const routes = [ { path: '/', - name: 'Home', - component: Home - }, - { - path: '/about', - name: 'About', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "about" */ '../views/About.vue') + name: 'Login', + component: () => import('../views/login/index.vue'), + meta: { title: '安全培训 - 登陆' } } ] diff --git a/src/views/About.vue b/src/views/About.vue deleted file mode 100644 index 3fa2807..0000000 --- a/src/views/About.vue +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/src/views/Home.vue b/src/views/Home.vue deleted file mode 100644 index 8bd6c57..0000000 --- a/src/views/Home.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - diff --git a/src/views/login/index.vue b/src/views/login/index.vue new file mode 100644 index 0000000..bcc682e --- /dev/null +++ b/src/views/login/index.vue @@ -0,0 +1,64 @@ + + + \ No newline at end of file From d612488fa11ef6ba1aa532fea854dd6ef296feaf Mon Sep 17 00:00:00 2001 From: qinjie Date: Tue, 10 Aug 2021 10:55:38 +0800 Subject: [PATCH 9/9] login --- src/views/login/index.vue | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index bcc682e..3127309 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -3,24 +3,36 @@ + +