From 64b8e38241d7fe03093a4d627fc9fa2608637662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Tue, 3 May 2022 20:26:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 4 +- src/views/login/index.vue | 541 ++----------- src/views/login/index2.vue | 62 -- src/views/login/register.vue | 378 --------- src/views/xm/XmOverview.vue | 1434 +++++++++++++++++++--------------- src/views/xm/XmOverview2.vue | 1163 --------------------------- 6 files changed, 842 insertions(+), 2740 deletions(-) delete mode 100644 src/views/login/index2.vue delete mode 100644 src/views/login/register.vue delete mode 100644 src/views/xm/XmOverview2.vue diff --git a/src/router/index.js b/src/router/index.js index 0992248f..3ee07bcf 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -38,7 +38,7 @@ export { Layout } } **/ export const constantRouterMap = [ - { path: '/login', component: _import('login/index2'), hidden: true }, + { path: '/login', component: _import('login/index'), hidden: true }, { path: '/404', component: _import('errorPage/404'), hidden: true }, { path: '/401', component: _import('errorPage/401'), hidden: true }, { @@ -49,7 +49,7 @@ export const constantRouterMap = [ children: [ { path: 'dashboard', - component: _import('xm/XmOverview2'), + component: _import('xm/XmOverview'), name: '首页', meta: { title: '首页', icon: 'home-page', noCache: true } }, diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 88f74b67..0fc0a62b 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -1,511 +1,62 @@ - - - + + -.login-container { - position:absolute; - height: 100%; - width: 100%; - background-color: $bg; - background-size: 100%; - background:url(../../assets/image/yxin_login_backgroup_pc.png) center center; - .login-form { - position: absolute; - left: 0; - right: 0; - max-width: 520px; - padding: 35px 35px 15px 35px; - margin: 180px auto; - border-radius: 20px; - background-color:#f5f7faee; - } - .tips { - font-size: 14px; - color: #fff; - margin-bottom: 10px; - span { - &:first-of-type { - margin-right: 16px; - } - } - } - .svg-container { - padding: 6px 5px 6px 15px; - color: $dark_gray; - vertical-align: middle; - width: 30px; - display: inline-block; - &_login { - font-size: 20px; - } - } - .title-container { - position: relative; - .title { - font-size: 26px; - font-weight: 400; - color: $light_gray; - margin: 0px auto 40px auto; - text-align: center; - font-weight: bold; - } - .set-language { - color: rgb(95, 41, 221); - position: absolute; - top: 5px; - right: 0px; - } - } - .show-pwd { - position: absolute; - right: 10px; - top: 7px; - font-size: 16px; - color: $dark_gray; - cursor: pointer; - user-select: none; - } - .thirdparty-button { - position: absolute; - right: 35px; - bottom: 28px; - } - .register-button { - position: absolute; - bottom: 28px; - } -} -.logo { - height: 100px; - width: 100%; - // padding: 0 20px; - display: flex; - align-items: left; - justify-content: center; - img { - height: 100%; - } - .logo-text { - display: flex; - align-items: center; - justify-content: center; - color: $light_gray; - .main-title { - font-size: 35px; - font-weight: 400; - color: $light_gray; - text-align: center; - font-weight: bold; - } - } -} - \ No newline at end of file diff --git a/src/views/login/index2.vue b/src/views/login/index2.vue deleted file mode 100644 index 0fc0a62b..00000000 --- a/src/views/login/index2.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - diff --git a/src/views/login/register.vue b/src/views/login/register.vue deleted file mode 100644 index fb879e04..00000000 --- a/src/views/login/register.vue +++ /dev/null @@ -1,378 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/views/xm/XmOverview.vue b/src/views/xm/XmOverview.vue index 6776fd97..c714272d 100644 --- a/src/views/xm/XmOverview.vue +++ b/src/views/xm/XmOverview.vue @@ -1,355 +1,154 @@ - - \ No newline at end of file diff --git a/src/views/xm/XmOverview2.vue b/src/views/xm/XmOverview2.vue deleted file mode 100644 index c714272d..00000000 --- a/src/views/xm/XmOverview2.vue +++ /dev/null @@ -1,1163 +0,0 @@ - - - - -