fix: 修改样式bug

This commit is contained in:
wangdan 2023-02-28 11:12:30 +08:00 committed by wangdan-fit2cloud
parent 078d940ebc
commit 52dd0da4f8
4 changed files with 13 additions and 17 deletions

View file

@ -17,7 +17,7 @@
"axios": "^0.27.2",
"echarts": "^5.3.0",
"echarts-liquidfill": "^3.1.0",
"element-plus": "^2.2.13",
"element-plus": "^2.2.32",
"fit2cloud-ui-plus": "^1.0.4",
"js-base64": "^3.7.2",
"js-md5": "^0.7.3",
@ -4316,9 +4316,9 @@
"integrity": "sha512-g6RQ9zCOV+U5QVHW9OpFR7rdk/V7xfopNXnyAamdpFgCHgZ1sjI8VuR1+zG2YG/TZk+tQ8mpNkug4P8FU0fuOA=="
},
"node_modules/element-plus": {
"version": "2.2.18",
"resolved": "https://registry.npmjs.org/element-plus/-/element-plus-2.2.18.tgz",
"integrity": "sha512-2pK2zmVOwP14eFl3rGoR+3BWJwDyO+DZCvzjQ8L6qjUR+hVKwFhgxIcSkKJatbcHFw5Xui6UyN20jV+gQP7mLg==",
"version": "2.2.32",
"resolved": "https://registry.npmmirror.com/element-plus/-/element-plus-2.2.32.tgz",
"integrity": "sha512-DTJMhYOy6MApbmh6z/95hPTK5WrBiNHGzV4IN+uEkup1WoimQ+Qyt8RxKdTe/X1LWEJ8YgWv/Cl8P4ocrt5z5g==",
"dependencies": {
"@ctrl/tinycolor": "^3.4.1",
"@element-plus/icons-vue": "^2.0.6",
@ -14149,9 +14149,9 @@
"integrity": "sha512-g6RQ9zCOV+U5QVHW9OpFR7rdk/V7xfopNXnyAamdpFgCHgZ1sjI8VuR1+zG2YG/TZk+tQ8mpNkug4P8FU0fuOA=="
},
"element-plus": {
"version": "2.2.18",
"resolved": "https://registry.npmjs.org/element-plus/-/element-plus-2.2.18.tgz",
"integrity": "sha512-2pK2zmVOwP14eFl3rGoR+3BWJwDyO+DZCvzjQ8L6qjUR+hVKwFhgxIcSkKJatbcHFw5Xui6UyN20jV+gQP7mLg==",
"version": "2.2.32",
"resolved": "https://registry.npmmirror.com/element-plus/-/element-plus-2.2.32.tgz",
"integrity": "sha512-DTJMhYOy6MApbmh6z/95hPTK5WrBiNHGzV4IN+uEkup1WoimQ+Qyt8RxKdTe/X1LWEJ8YgWv/Cl8P4ocrt5z5g==",
"requires": {
"@ctrl/tinycolor": "^3.4.1",
"@element-plus/icons-vue": "^2.0.6",

View file

@ -29,7 +29,7 @@
"axios": "^0.27.2",
"echarts": "^5.3.0",
"echarts-liquidfill": "^3.1.0",
"element-plus": "^2.2.13",
"element-plus": "^2.2.32",
"fit2cloud-ui-plus": "^1.0.4",
"js-base64": "^3.7.2",
"js-md5": "^0.7.3",

View file

@ -1,7 +1,6 @@
<template>
<div class="logo flx-center">
<img v-show="!isCollapse" :src="getLogoUrl(isCollapse)" alt="" />
<img v-show="isCollapse" :src="getLogoUrl(isCollapse)" alt="" />
<img :src="getLogoUrl(isCollapse)" alt="" />
</div>
</template>
@ -26,13 +25,10 @@ const getLogoUrl = (isCollapse: boolean) => {
box-sizing: border-box;
height: 55px;
margin: 5px 0;
img:first-child {
width: 130px;
object-fit: contain;
}
img:nth-child(2) {
height: 45px;
padding: 0 15px;
img {
object-fit: contain;
height: 40px;
}
}
</style>

View file

@ -109,7 +109,7 @@
<div
v-if="chartOption === 'io'"
id="ioChart"
style="margin-top: 20px; width: 100%; height: 300px"
style="margin-top: 40px; width: 100%; height: 300px"
></div>
<div
v-if="chartOption === 'network'"