123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <template>
- <div id="dashboard-container" class="dashboard-container">
- <HeaderSection />
- <div class="dashboard-content">
- <LeftSection />
- <MiddleSection />
- <RightSection />
- </div>
- </div>
- </template>
- <script lang="ts" setup name="videoList">
- import LeftSection from './LeftSection.vue';
- import RightSection from './RightSection/index.vue';
- import MiddleSection from './MiddleSection.vue';
- import autofit from 'autofit.js';
- onMounted(() => {
- autofit.init(
- {
- dw: 8960,
- dh: 2520,
- el: '#dashboard-container',
- resize: false,
- ignore: ['#aMap', '#YztMap', '#selectMap']
- },
- false
- );
- });
- onUnmounted(() => {
- autofit.off();
- });
- </script>
- <style lang="scss" scoped>
- .dashboard-container {
- //width: 100%;
- //height: 100vh;
- width: 8960px;
- height: 2560px;
- background-color: #030526;
- font-size: 74px;
- .dashboard-content {
- padding: 69px;
- display: flex;
- height: calc(2560px - 207px);
- overflow: hidden;
- }
- }
- </style>
|