样式修改

pull/1/head
鲁洪霞 2024-01-25 11:35:41 +08:00
parent 919644d1dd
commit b8006fa5ec
2 changed files with 7 additions and 5 deletions

View File

@ -222,7 +222,6 @@ const fnSignOut = async () => {
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
border-bottom: 1px solid #1f3869;
.el-dropdown { .el-dropdown {
margin-right: 55px; margin-right: 55px;

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="container"> <div id="bi_container">
<div class="map_bg"></div> <div class="map_bg"></div>
<transition <transition
enter-active-class="animate__animated animate__fadeInDown" enter-active-class="animate__animated animate__fadeInDown"
@ -47,7 +47,7 @@
<script setup> <script setup>
import autofit from "autofit.js"; import autofit from "autofit.js";
import { onMounted, ref } from "vue"; import { onBeforeUnmount, onMounted, ref } from "vue";
import RightIco from "./components/rightico.vue"; import RightIco from "./components/rightico.vue";
import BottomOptions from "./components/bottom_options.vue"; import BottomOptions from "./components/bottom_options.vue";
const right_option = ref(true); const right_option = ref(true);
@ -59,14 +59,17 @@ onMounted(() => {
autofit.init({ autofit.init({
designHeight: 1080, designHeight: 1080,
designWidth: 1920, designWidth: 1920,
renderDom: "#container", renderDom: "#bi_container",
resize: true, resize: true,
}); });
transitionKey.value = Math.random(); transitionKey.value = Math.random();
}); });
onBeforeUnmount(() => {
autofit.off();
});
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
#container { #bi_container {
width: 100%; width: 100%;
height: 100%; height: 100%;
color: #ffffff; color: #ffffff;