some modify

This commit is contained in:
jiaming 2018-12-12 18:42:33 +08:00
parent d9e7326451
commit 6e4a8a045b
2 changed files with 49 additions and 5 deletions

View File

@ -1,12 +1,14 @@
<template>
<div id="app" ref="data-root">
<current-data-v />
<div id="app">
<div class="datav-container" ref="data-root">
<current-data-v />
</div>
</div>
</template>
<script>
import currentDataV from './views/electronicFile/index'
// import currentDataV from './views/manageDesk/index'
// import currentDataV from './views/electronicFile/index'
import currentDataV from './views/manageDesk/index'
export default {
name: 'app',
@ -65,8 +67,15 @@ export default {
<style lang="less">
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
transform-origin: left top;
overflow: hidden;
user-select: none;
background-size: 100%;
background-image: url('./assets/img/bg.png');
.datav-container {
width: 100%;
height: 100%;
transform-origin: left top;
}
}
</style>

35
src/temp.vue Normal file
View File

@ -0,0 +1,35 @@
<template>
<div id="app" ref="data-root">
<div class="datav-container">
<demo />
</div>
</div>
</template>
<script>
import demo from './views/demo/index'
export default {
name: 'app',
components: {
demo
}
}
</script>
<style lang="less">
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
width: 100%;
height: 100%;
overflow: scroll;
background-size: 100%;
background-image: url('./assets/img/bg.png');
background-repeat: repeat;
.datav-container {
width: 100%;
height: 100%;
}
}
</style>