feat: 修改图标

pull/117/head
zhengkunwang223 2 years ago committed by zhengkunwang223
parent 0f7c915ca7
commit be3062be2d

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>loading...</title> <title>loading...</title>
</head> </head>
@ -88,10 +88,15 @@
</style> </style>
<div class="first-loading-wrap"> <div class="first-loading-wrap">
<div class="loading-wrap"> <div class="loading-wrap">
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span> <span class="dot dot-spin">
<i></i>
<i></i>
<i></i>
<i></i>
</span>
</div> </div>
</div> </div>
</div> </div>
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
</body> </body>
</html> </html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

@ -235,6 +235,11 @@ export default {
koInfo: ' Kubernetes ', koInfo: ' Kubernetes ',
kubepiInfo: ' Kubernetes ', kubepiInfo: ' Kubernetes ',
goInstall: '', goInstall: '',
networkCard: '',
disk: '',
allNetworkCard: '',
allDisk: '',
}, },
tabs: { tabs: {
more: '', more: '',

@ -67,7 +67,13 @@
v-model="searchInfo.netOption" v-model="searchInfo.netOption"
style="float: right" style="float: right"
> >
<el-option v-for="item in netOptions" :key="item" :label="item" :value="item" /> <template #prefix>{{ $t('home.networkCard') }}</template>
<el-option
v-for="item in netOptions"
:key="item"
:label="item == 'all' ? $t('home.allNetworkCard') : item"
:value="item"
/>
</el-select> </el-select>
<el-select <el-select
v-if="chartOption === 'io'" v-if="chartOption === 'io'"
@ -75,7 +81,13 @@
@change="onLoadBaseInfo(false, 'io')" @change="onLoadBaseInfo(false, 'io')"
style="float: right" style="float: right"
> >
<el-option v-for="item in ioOptions" :key="item" :label="item" :value="item" /> <template #prefix>{{ $t('home.disk') }}</template>
<el-option
v-for="item in ioOptions"
:key="item"
:label="item == 'all' ? $t('home.allDisk') : item"
:value="item"
/>
</el-select> </el-select>
<div class="monitor-tags" v-if="chartOption === 'network'"> <div class="monitor-tags" v-if="chartOption === 'network'">
<el-tag>{{ $t('monitor.up') }}: {{ currentChartInfo.netBytesSent }} KB/s</el-tag> <el-tag>{{ $t('monitor.up') }}: {{ currentChartInfo.netBytesSent }} KB/s</el-tag>

Loading…
Cancel
Save