refactor: 健康检查页面微调提示信息样式

#Comment
comment commit:9dcdb699a3cde9c5dcdc062dfe5ec1be28b69baf
This commit is contained in:
Argo Zhang 2019-08-19 08:25:11 +08:00
parent 89cd1be7ae
commit 79154b1915
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@
<li>健康检查接口地址: <a href="~/healths">healths</a></li>
<li>健康检查报表地址: <a href="~/healths-ui">healths-ui</a></li>
</ol>
<div>每项检查结果为:<button class="btn badge-success btn-sm">健康</button> <span class="badge badge-pill badge-warning badge-md">亚健康</span> <span class="badge badge-pill badge-danger badge-md">不健康</span></div>
<div>每项检查结果为:<span class="badge badge-pill badge-success badge-md">健康</span> <span class="badge badge-pill badge-warning badge-md">亚健康</span> <span class="badge badge-pill badge-danger badge-md">不健康</span></div>
</div>
<p>耗时:<span id="checkTotalEplsed">--</span></p>
<table id="tbCheck"></table>

View File

@ -1,5 +1,5 @@
$(function () {
var healthStatus = ['<span class="badge badge-md badge-pill badge-danger">不健康</span>', '<span class="badge badge-md badge-pill badge-warning">亚健康</span>', '<span class="badge badge-md badge-pill badge-success">健康</span>'];
var healthStatus = ['<button class="btn btn-danger">不健康</button>', '<button class="btn btn-warning">亚健康</button>', '<button class="btn btn-success">健康</button>'];
var StatusFormatter = function (value) {
return healthStatus[value];
};