mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-28 05:15:04 +08:00
fix: 修改样式bug
This commit is contained in:
parent
078d940ebc
commit
52dd0da4f8
14
frontend/package-lock.json
generated
14
frontend/package-lock.json
generated
@ -17,7 +17,7 @@
|
|||||||
"axios": "^0.27.2",
|
"axios": "^0.27.2",
|
||||||
"echarts": "^5.3.0",
|
"echarts": "^5.3.0",
|
||||||
"echarts-liquidfill": "^3.1.0",
|
"echarts-liquidfill": "^3.1.0",
|
||||||
"element-plus": "^2.2.13",
|
"element-plus": "^2.2.32",
|
||||||
"fit2cloud-ui-plus": "^1.0.4",
|
"fit2cloud-ui-plus": "^1.0.4",
|
||||||
"js-base64": "^3.7.2",
|
"js-base64": "^3.7.2",
|
||||||
"js-md5": "^0.7.3",
|
"js-md5": "^0.7.3",
|
||||||
@ -4316,9 +4316,9 @@
|
|||||||
"integrity": "sha512-g6RQ9zCOV+U5QVHW9OpFR7rdk/V7xfopNXnyAamdpFgCHgZ1sjI8VuR1+zG2YG/TZk+tQ8mpNkug4P8FU0fuOA=="
|
"integrity": "sha512-g6RQ9zCOV+U5QVHW9OpFR7rdk/V7xfopNXnyAamdpFgCHgZ1sjI8VuR1+zG2YG/TZk+tQ8mpNkug4P8FU0fuOA=="
|
||||||
},
|
},
|
||||||
"node_modules/element-plus": {
|
"node_modules/element-plus": {
|
||||||
"version": "2.2.18",
|
"version": "2.2.32",
|
||||||
"resolved": "https://registry.npmjs.org/element-plus/-/element-plus-2.2.18.tgz",
|
"resolved": "https://registry.npmmirror.com/element-plus/-/element-plus-2.2.32.tgz",
|
||||||
"integrity": "sha512-2pK2zmVOwP14eFl3rGoR+3BWJwDyO+DZCvzjQ8L6qjUR+hVKwFhgxIcSkKJatbcHFw5Xui6UyN20jV+gQP7mLg==",
|
"integrity": "sha512-DTJMhYOy6MApbmh6z/95hPTK5WrBiNHGzV4IN+uEkup1WoimQ+Qyt8RxKdTe/X1LWEJ8YgWv/Cl8P4ocrt5z5g==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ctrl/tinycolor": "^3.4.1",
|
"@ctrl/tinycolor": "^3.4.1",
|
||||||
"@element-plus/icons-vue": "^2.0.6",
|
"@element-plus/icons-vue": "^2.0.6",
|
||||||
@ -14149,9 +14149,9 @@
|
|||||||
"integrity": "sha512-g6RQ9zCOV+U5QVHW9OpFR7rdk/V7xfopNXnyAamdpFgCHgZ1sjI8VuR1+zG2YG/TZk+tQ8mpNkug4P8FU0fuOA=="
|
"integrity": "sha512-g6RQ9zCOV+U5QVHW9OpFR7rdk/V7xfopNXnyAamdpFgCHgZ1sjI8VuR1+zG2YG/TZk+tQ8mpNkug4P8FU0fuOA=="
|
||||||
},
|
},
|
||||||
"element-plus": {
|
"element-plus": {
|
||||||
"version": "2.2.18",
|
"version": "2.2.32",
|
||||||
"resolved": "https://registry.npmjs.org/element-plus/-/element-plus-2.2.18.tgz",
|
"resolved": "https://registry.npmmirror.com/element-plus/-/element-plus-2.2.32.tgz",
|
||||||
"integrity": "sha512-2pK2zmVOwP14eFl3rGoR+3BWJwDyO+DZCvzjQ8L6qjUR+hVKwFhgxIcSkKJatbcHFw5Xui6UyN20jV+gQP7mLg==",
|
"integrity": "sha512-DTJMhYOy6MApbmh6z/95hPTK5WrBiNHGzV4IN+uEkup1WoimQ+Qyt8RxKdTe/X1LWEJ8YgWv/Cl8P4ocrt5z5g==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@ctrl/tinycolor": "^3.4.1",
|
"@ctrl/tinycolor": "^3.4.1",
|
||||||
"@element-plus/icons-vue": "^2.0.6",
|
"@element-plus/icons-vue": "^2.0.6",
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
"axios": "^0.27.2",
|
"axios": "^0.27.2",
|
||||||
"echarts": "^5.3.0",
|
"echarts": "^5.3.0",
|
||||||
"echarts-liquidfill": "^3.1.0",
|
"echarts-liquidfill": "^3.1.0",
|
||||||
"element-plus": "^2.2.13",
|
"element-plus": "^2.2.32",
|
||||||
"fit2cloud-ui-plus": "^1.0.4",
|
"fit2cloud-ui-plus": "^1.0.4",
|
||||||
"js-base64": "^3.7.2",
|
"js-base64": "^3.7.2",
|
||||||
"js-md5": "^0.7.3",
|
"js-md5": "^0.7.3",
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="logo flx-center">
|
<div class="logo flx-center">
|
||||||
<img v-show="!isCollapse" :src="getLogoUrl(isCollapse)" alt="" />
|
<img :src="getLogoUrl(isCollapse)" alt="" />
|
||||||
<img v-show="isCollapse" :src="getLogoUrl(isCollapse)" alt="" />
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -26,13 +25,10 @@ const getLogoUrl = (isCollapse: boolean) => {
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
height: 55px;
|
height: 55px;
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
img:first-child {
|
padding: 0 15px;
|
||||||
width: 130px;
|
img {
|
||||||
object-fit: contain;
|
|
||||||
}
|
|
||||||
img:nth-child(2) {
|
|
||||||
height: 45px;
|
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
height: 40px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -109,7 +109,7 @@
|
|||||||
<div
|
<div
|
||||||
v-if="chartOption === 'io'"
|
v-if="chartOption === 'io'"
|
||||||
id="ioChart"
|
id="ioChart"
|
||||||
style="margin-top: 20px; width: 100%; height: 300px"
|
style="margin-top: 40px; width: 100%; height: 300px"
|
||||||
></div>
|
></div>
|
||||||
<div
|
<div
|
||||||
v-if="chartOption === 'network'"
|
v-if="chartOption === 'network'"
|
||||||
|
Loading…
Reference in New Issue
Block a user