1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 16:29:17 +08:00

feat: 修改概览样式

This commit is contained in:
wangdan 2023-02-27 18:14:20 +08:00 committed by wangdan-fit2cloud
parent 70e1681bcf
commit 078d940ebc

View File

@ -46,12 +46,12 @@
</div> </div>
</template> </template>
</CardWithHeader> </CardWithHeader>
<CardWithHeader :header="$t('commons.table.status')" style="margin-top: 20px" height="300px"> <CardWithHeader :header="$t('commons.table.status')" style="margin-top: 20px">
<template #body> <template #body>
<Status ref="statuRef" /> <Status ref="statuRef" style="margin-top: -7px" />
</template> </template>
</CardWithHeader> </CardWithHeader>
<CardWithHeader :header="$t('menu.monitor')" style="margin-top: 20px" height="450"> <CardWithHeader :header="$t('menu.monitor')" style="margin-top: 20px">
<template #header-r> <template #header-r>
<el-radio-group <el-radio-group
style="float: right; margin-left: 5px" style="float: right; margin-left: 5px"
@ -109,19 +109,19 @@
<div <div
v-if="chartOption === 'io'" v-if="chartOption === 'io'"
id="ioChart" id="ioChart"
style="margin-top: 20px; width: 100%; height: 324px" style="margin-top: 20px; width: 100%; height: 300px"
></div> ></div>
<div <div
v-if="chartOption === 'network'" v-if="chartOption === 'network'"
id="networkChart" id="networkChart"
style="margin-top: 40px; width: 100%; height: 324px" style="margin-top: 40px; width: 100%; height: 300px"
></div> ></div>
</div> </div>
</template> </template>
</CardWithHeader> </CardWithHeader>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<CardWithHeader :header="$t('home.systemInfo')" height="306px"> <CardWithHeader :header="$t('home.systemInfo')">
<template #body> <template #body>
<el-descriptions :column="1" class="h-systemInfo"> <el-descriptions :column="1" class="h-systemInfo">
<el-descriptions-item class-name="system-content"> <el-descriptions-item class-name="system-content">
@ -176,7 +176,7 @@
</template> </template>
</CardWithHeader> </CardWithHeader>
<CardWithHeader :header="$t('home.app')" style="margin-top: 20px" height="586px"> <CardWithHeader :header="$t('home.app')" style="margin-top: 20px">
<template #body> <template #body>
<App ref="appRef" /> <App ref="appRef" />
</template> </template>