init
This commit is contained in:
26
src/components/layout/Container.vue
Normal file
26
src/components/layout/Container.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<div class="cn-container">
|
||||
<router-view/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Container',
|
||||
data () {
|
||||
return {
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.cn-container {
|
||||
height: calc(100% - 50px);
|
||||
background-color: #f6f6f6;
|
||||
width: 100%;
|
||||
&>div {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user