待设计待启动,字体

This commit is contained in:
root 2025-04-22 08:43:28 +08:00
parent ff70c92c4b
commit ae515b9ed7
3 changed files with 6 additions and 6 deletions

Binary file not shown.

View File

@ -1,5 +1,5 @@
/* 导航栏 */
@font-face {
font-family: "YouSheBiaoTiHei";
src: url('./youshebiaotihei-2-webfont.woff2');
/* 导航栏 */
@font-face {
font-family: "YouSheBiaoTiHei";
src: url('./YouSheBiaoTiHei-2.ttf');
}

View File

@ -128,8 +128,8 @@ function CardDevops(props) {
<div className="cardBody">
<p>
<div className={`statusIcon developStatus${e.run_data.status}`}></div>
{statusEnum[+e.run_data.status] || (e.file_name ? "待启动" : "待设计")}
{!!e.run_data.index && <span>#{e.run_data.index} &nbsp;&nbsp;&nbsp;{timeAgo(e.run_data.stopped)}&nbsp;执行时长{secondsToTimeFormat(e.run_data.length)}</span>}
{statusEnum[+e.run_data.status] || ((!e.json && !e.yaml) ? "待启动" : "待设计")}
{!!e.run_data.total && <span>#{e.run_data.total} &nbsp;&nbsp;&nbsp;{timeAgo(e.run_data.stopped)}&nbsp;执行时长{secondsToTimeFormat(e.run_data.length)}</span>}
</p>
<p className="mt5"><i className="iconfont icon-a-fenzhi1 font-12 mr4 mb3"></i> 分支{e.branch}</p>
<div className="mt5">{e.run_data.schedule && <span className="scheduleBox mr10">定时</span>}历史共执行{e.run_data.total || 0}成功{e.run_data.success || 0}失败{e.run_data.failure || 0}</div>