|
@@ -1,35 +1,37 @@
|
|
|
<template>
|
|
|
<div id="app">
|
|
|
- <div class="app_box">
|
|
|
- <navTitle></navTitle>
|
|
|
+ <navTitle></navTitle>
|
|
|
+ <div class="router-view">
|
|
|
<router-view></router-view>
|
|
|
- <navigation></navigation>
|
|
|
</div>
|
|
|
+ <navigation></navigation>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-export default {
|
|
|
- name: 'app'
|
|
|
-}
|
|
|
+ export default {
|
|
|
+ name: 'app'
|
|
|
+ }
|
|
|
</script>
|
|
|
|
|
|
<style>
|
|
|
-#app {
|
|
|
- font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
|
|
- -webkit-font-smoothing: antialiased;
|
|
|
- -moz-osx-font-smoothing: grayscale;
|
|
|
- text-align: center;
|
|
|
- color: #2c3e50;
|
|
|
- background-color: #d3d3d3;
|
|
|
- position: fixed;
|
|
|
- overflow-y:auto;
|
|
|
- width: 100%;
|
|
|
- top:0;
|
|
|
- left: 0;
|
|
|
- bottom: 8.5%;
|
|
|
-}
|
|
|
-.app_box{
|
|
|
- z-index: -1;
|
|
|
-}
|
|
|
+ #app {
|
|
|
+ font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
|
|
+ -webkit-font-smoothing: antialiased;
|
|
|
+ -moz-osx-font-smoothing: grayscale;
|
|
|
+ text-align: center;
|
|
|
+ color: #2c3e50;
|
|
|
+ background-color: #d3d3d3;
|
|
|
+ }
|
|
|
+
|
|
|
+ .router-view {
|
|
|
+ position: absolute;
|
|
|
+ overflow-y: auto;
|
|
|
+ width: 100%;
|
|
|
+ top: 6%;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 10%;
|
|
|
+ background-color: #b0aa99;
|
|
|
+ }
|
|
|
</style>
|