Commit 6e523d66 authored by zhengke's avatar zhengke

parent 2e86549b
Pipeline #61 canceled with stages
...@@ -11,5 +11,7 @@ export default { ...@@ -11,5 +11,7 @@ export default {
</script> </script>
<style> <style>
#app{
height: 100%;
}
</style> </style>
<template>
<div>
</div>
</template>
<script>
export default {
name: 'Login',
data () {
return {
msg: ''
}
}
}
</script>
<style>
</style>
<style>
*{
margin:0;
padding:0;
}
.loginDiv{
width:100%;
height:100%;
background-image:url('../assets/img/loginBack.jpg');
position: relative;
background-size: cover;
background-size:100% 100%;
background-position: center;
}
.loginOpacity{
background-color: rgba(0, 0, 0, 0.15);
height: 100%;
width: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 1;
}
</style>
<template>
<div class="loginDiv">
<!-- <div class="loginOpacity">
</div> -->
</div>
</template>
<script>
export default {
name: 'Login',
data () {
return {
msg: ''
}
}
}
</script>
\ No newline at end of file
import Vue from 'vue' import Vue from 'vue'
import Router from 'vue-router' import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
Vue.use(Router) Vue.use(Router)
export default new Router({ export default new Router({
routes: [ routes: [
{ {
path: '/', path: '/Login',
name: 'HelloWorld', name: 'Login',
component: HelloWorld component: resolve => require(['@/components/Login'], resolve),
}, },
{ {
path: '/homeIndex', path: '/homeIndex',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment