6 changed files with 52 additions and 6 deletions
@ -0,0 +1,19 @@ |
|||||
|
import Layout from '@/views/layout/Layout' |
||||
|
|
||||
|
const welcome = { |
||||
|
path: '/welcome', |
||||
|
component: Layout, |
||||
|
code: 'XXXX', |
||||
|
meta: {title: '欢迎', icon: '', noCache: true, affix: false}, |
||||
|
children: [ |
||||
|
{ |
||||
|
path: '/welcome/index', |
||||
|
component: () => import('@/views/welcome/index'), |
||||
|
name: '欢迎', |
||||
|
code: '0000', |
||||
|
meta: {title: '欢迎', noCache: false, affix: false} |
||||
|
}, |
||||
|
] |
||||
|
}; |
||||
|
|
||||
|
export default welcome |
@ -0,0 +1,23 @@ |
|||||
|
<template> |
||||
|
<div style="text-align:center;"> |
||||
|
<img class="welcome-img" src="./welcome.png" alt=""> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
name: 'welcome', |
||||
|
data() { |
||||
|
return { |
||||
|
|
||||
|
} |
||||
|
}, |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style scoped> |
||||
|
.welcome-img { |
||||
|
/* height: calc(100vh - 80px); */ |
||||
|
width: calc(200vw - 210px); |
||||
|
} |
||||
|
</style> |
After Width: | Height: | Size: 167 KiB |
Loading…
Reference in new issue