bonus-ui/src/views/screen/wsScreen/index.vue

63 lines
1.3 KiB
Vue

<template>
<div id="index" ref="appRef">
<div class="bg" id="app">
<el-row :gutter="20">
<el-col :span="7" :offset="0"><left /></el-col>
<el-col :span="10" :offset="0"><center /></el-col>
<el-col :span="7" :offset="0"><right /></el-col>
</el-row>
</div>
</div>
</template>
<script>
// import drawMixin from '@/utils/drawMixin2'
import left from './components/left'
import center from './components/center'
import right from './components/right'
export default {
// mixins: [drawMixin],
components: {
left,
center,
right,
},
data() {
return {}
},
mounted() {},
beforeDestroy() {},
methods: {},
}
</script>
<style lang="scss" scoped>
@font-face {
font-family: 'DS-TITle';
src: url('../../../assets/font-family/DS-Digital/DS-TITle.ttf');
}
#index {
color: #d3d6dd;
width: 100%;
height: 100%;
/* width: 1920px;
height: 1080px; */
/* position: absolute; */
/* top: 50%;
left: 50%;
transform: translate(-50%, -50%);
transform-origin: left top; */
overflow: hidden;
background-image: url('../../screen/wsScreen/img/bg.jpg');
background-size: 100% 100%;
background-position: center center;
.bg {
/* width: 100vw;
height: 100vh; */
padding: 79px 2% 0 2%;
}
}
</style>