This commit is contained in:
杜恒 2021-05-25 10:37:56 +08:00
parent e4ad85875d
commit a6e28f92ec
5 changed files with 7 additions and 6 deletions

View File

@ -156,7 +156,8 @@ document.addEventListener('DOMContentLoaded', () => {
data: ['CPU占用', '内存占用', '系统缓冲', '内存缓冲', '系统负载'] data: ['CPU占用', '内存占用', '系统缓冲', '内存缓冲', '系统负载']
}, },
yAxis: { yAxis: {
type: 'value' type: 'value',
max: 100
}, },
series: { series: {
data: [ data: [
@ -201,7 +202,7 @@ document.addEventListener('DOMContentLoaded', () => {
label: { label: {
show: true, show: true,
color: '#ffffff', color: '#ffffff',
formatter: params => `${params.data.value} %` formatter: params => `${params.data.value}%`
}, },
backgroundStyle: { backgroundStyle: {
color: 'rgba(180, 180, 180, 0.2)' color: 'rgba(180, 180, 180, 0.2)'

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
<?php $this->need('public/include.php'); ?> <?php $this->need('public/include.php'); ?>
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.census.min.css'); ?>"> <link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.census.min.css'); ?>">
<script src="https://cdn.jsdelivr.net/npm/echarts@5.1.1/dist/echarts.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/echarts@5.1.1/dist/echarts.min.js"></script>
<script src="<?php $this->options->themeUrl('assets/js/joe.census.min.js'); ?>"></script> <script src="<?php $this->options->themeUrl('assets/js/joe.census.min.js?v=20210525'); ?>"></script>
</head> </head>
<body> <body>

View File

@ -2,7 +2,7 @@
/* 获取主题当前版本号 */ /* 获取主题当前版本号 */
function _getVersion() function _getVersion()
{ {
return "7.1.3"; return "7.1.4";
}; };
/* 判断是否是手机 */ /* 判断是否是手机 */

View File

@ -1,6 +1,6 @@
{ {
"name": "typecho-joe-next", "name": "typecho-joe-next",
"version": "7.1.3", "version": "7.1.4",
"description": "A Theme Of Typecho", "description": "A Theme Of Typecho",
"main": "index.php", "main": "index.php",
"keywords": [ "keywords": [