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

63 lines
1.2 KiB
Vue
Raw Normal View History

2025-09-16 18:09:52 +08:00
<template>
<div id="index" ref="appRef">
<div class="bg">
<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/drawMixin'
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: 3984px;
height: 990px;
// width: 100%;
// height: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
transform-origin: left top;
overflow: hidden;
.bg {
width: 100%;
height: 100%;
padding: 16px 16px 0 16px;
background-image: url('../../../assets/cityScreen/mainBg.png');
background-size: cover;
background-position: center center;
}
}
</style>