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

84 lines
1.7 KiB
Vue
Raw Normal View History

2025-09-16 18:09:52 +08:00
<template>
2025-11-25 14:59:45 +08:00
<div class="wrap">
<div id="index" ref="appRef">
<div class="bg" id="app">
<el-row :gutter="0">
<el-col :span="7" :offset="0"><left /></el-col>
<el-col :span="10" :offset="0"><center /></el-col>
<el-col class="right" :span="7" :offset="0"><right /></el-col>
</el-row>
</div>
2025-09-16 18:09:52 +08:00
</div>
</div>
</template>
<script>
2025-11-25 14:59:45 +08:00
import drawMixin from '@/utils/drawMixin2'
2025-09-16 18:09:52 +08:00
import left from './components/left'
import center from './components/center'
import right from './components/right'
export default {
2025-11-25 14:59:45 +08:00
mixins: [drawMixin],
2025-09-16 18:09:52 +08:00
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');
}
2025-11-23 15:06:49 +08:00
@font-face {
font-family: 'Alibaba-PuHuiTi-Regular';
src: url('../../../assets/font-family/alibaba/Alibaba-PuHuiTi-Regular.ttf');
}
2025-11-24 18:27:40 +08:00
@font-face {
font-family: 'DIN';
src: url('../../../assets/font-family/DIN/DIN-Medium.otf');
}
2025-11-25 14:59:45 +08:00
.wrap {
width: 100%;
height: 100%;
background-color: #333;
}
2025-09-16 18:09:52 +08:00
#index {
color: #d3d6dd;
2025-11-24 18:27:40 +08:00
/* width: 100%;
height: 100%; */
width: 1920px;
height: 1080px;
2025-11-25 14:59:45 +08:00
position: absolute;
top: 50%;
2025-09-16 18:09:52 +08:00
left: 50%;
transform: translate(-50%, -50%);
2025-11-25 14:59:45 +08:00
transform-origin: left top;
2025-09-16 18:09:52 +08:00
overflow: hidden;
2025-10-29 16:31:30 +08:00
background-image: url('../../screen/wsScreen/img/bg.jpg');
background-size: 100% 100%;
background-position: center center;
2025-11-23 15:06:49 +08:00
font-family: 'Alibaba-PuHuiTi-Regular';
2025-09-16 18:09:52 +08:00
.bg {
2025-10-29 16:31:30 +08:00
/* width: 100vw;
height: 100vh; */
2025-11-24 18:27:40 +08:00
/* padding: 79px 2% 0 2%; */
padding-top: 79px;
2025-09-16 18:09:52 +08:00
}
}
2025-11-25 11:17:46 +08:00
.right {
// 左移
2025-12-04 09:36:02 +08:00
margin-left: -20px;
2025-11-25 11:17:46 +08:00
}
2025-09-16 18:09:52 +08:00
</style>