Browse Source

跳转路由更改

master
mk 2 years ago
parent
commit
ec12b5e3ef
  1. 20
      src/App.vue

20
src/App.vue

@ -32,9 +32,10 @@ export default {
name: 'App', name: 'App',
methods: { methods: {
jumpTo(page) { jumpTo(page) {
switch(page) { switch (page) {
case '1': case '1':
window.open(window.SITE_CONFIG['baseUrl'] + '/epdc-admin/#/autoLogin?_t=' + new Date().getTime()) window.open(window.SITE_CONFIG['baseUrl'] + '/epdc-admin/#/login?_t=' + new Date().getTime())
// window.open(window.SITE_CONFIG['baseUrl'] + '/epdc-admin/#/autoLogin?_t=' + new Date().getTime())
break break
case '2': case '2':
window.open('http://139.129.119.33:10001/yushan#/home') window.open('http://139.129.119.33:10001/yushan#/home')
@ -63,12 +64,14 @@ body {
overflow: hidden; overflow: hidden;
position: relative; position: relative;
} }
.home-bg { .home-bg {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
position: absolute; position: absolute;
z-index: -1; z-index: -1;
} }
.title { .title {
color: #fff; color: #fff;
font-size: 40px; font-size: 40px;
@ -76,6 +79,7 @@ body {
line-height: 70px; line-height: 70px;
text-align: center; text-align: center;
} }
.menu-box { .menu-box {
width: 100%; width: 100%;
height: 275px; height: 275px;
@ -85,6 +89,7 @@ body {
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
} }
.menu-box .menu-item { .menu-box .menu-item {
width: 181px; width: 181px;
height: 100%; height: 100%;
@ -95,33 +100,40 @@ body {
position: relative; position: relative;
cursor: pointer; cursor: pointer;
} }
.menu-box .menu-item:hover { .menu-box .menu-item:hover {
transform: scale(1.1); transform: scale(1.1);
} }
.menu-box .menu-item:active { .menu-box .menu-item:active {
border: 1px dotted grey; border: 1px dotted grey;
} }
.menu-box .item-1 { .menu-box .item-1 {
margin-top: 33%; margin-top: 33%;
} }
.menu-box .item-2 { .menu-box .item-2 {
margin-top: 23%; margin-top: 23%;
} }
.menu-box .item-3 { .menu-box .item-3 {
margin-top: 18%; margin-top: 18%;
} }
.menu-box .menu-item .menu-icon { .menu-box .menu-item .menu-icon {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: absolute; position: absolute;
} }
.menu-box .menu-item .menu-title { .menu-box .menu-item .menu-title {
color: #fff; color: #fff;
font-size: 16px; font-size: 16px;
width: 140px; width: 140px;
text-align: center; text-align: center;
} }
.menu-box .menu-item .menu-width-100 { .menu-box .menu-item .menu-width-100 {
width: 100%; width: 100%;
} }</style>
</style>

Loading…
Cancel
Save