39 lines
574 B
Vue
39 lines
574 B
Vue
|
|
<template>
|
||
|
|
<div id="layerout">
|
||
|
|
<scale-box>
|
||
|
|
<router-view />
|
||
|
|
</scale-box>
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
import ScaleBox from "@/components/scaleBox.vue";
|
||
|
|
export default {
|
||
|
|
name: 'layout',
|
||
|
|
components: { ScaleBox },
|
||
|
|
data() {
|
||
|
|
return {
|
||
|
|
|
||
|
|
}
|
||
|
|
},
|
||
|
|
mounted() {
|
||
|
|
// console.log(this.$route)
|
||
|
|
localStorage.setItem('token', this.$route.query.token)
|
||
|
|
},
|
||
|
|
methods: {
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style lang="scss">
|
||
|
|
#layerout {
|
||
|
|
width: 100%;
|
||
|
|
height: 100vh;
|
||
|
|
overflow: hidden;
|
||
|
|
position: relative;
|
||
|
|
background-color: #010a3f;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
</style>
|