文件
yjyf/server/application/admin/view/general/system/index.html
YuanWen c01e8fc7d9 feat: 新增大量服务类图标及相关接口配置
- 新增20+家电维修类图标(电视、空调、冰箱等)
- 新增短信发送、微信手机号登录接口
- 新增服务规格查询接口
- 更新后台配置与菜单结构
- 移除支付插件相关配置
2026-11-03 11:19:24 +08:00

173 行
6.4 KiB
HTML

此文件含有模棱两可的 Unicode 字符

此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。

<style>
.system-stat-card {
background: #ffffff;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
border: 1px solid #e2e8f0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
display: flex;
align-items: center;
}
.system-stat-icon {
width: 52px;
height: 52px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
margin-right: 16px;
flex-shrink: 0;
}
.system-stat-info h3 {
margin: 0 0 4px 0;
font-size: 22px;
font-weight: 700;
color: #0f172a;
font-variant-numeric: tabular-nums;
}
.system-stat-info p {
margin: 0;
color: #64748b;
font-size: 13px;
}
.bg-icon-blue { background: #eff6ff; color: #2563eb; }
.bg-icon-green { background: #f0fdf4; color: #16a34a; }
.bg-icon-purple { background: #faf5ff; color: #9333ea; }
.bg-icon-amber { background: #fffbeb; color: #d97706; }
.system-panel {
background: #ffffff;
border-radius: 8px;
border: 1px solid #e2e8f0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
margin-bottom: 20px;
overflow: hidden;
}
.system-panel-header {
padding: 16px 20px;
border-bottom: 1px solid #f1f5f9;
font-size: 15px;
font-weight: 600;
color: #1e293b;
display: flex;
align-items: center;
justify-content: space-between;
}
.system-panel-body {
padding: 20px;
}
.env-table th {
width: 180px;
color: #64748b;
font-weight: 500;
background: #f8fafc;
}
.env-table td {
color: #0f172a;
font-variant-numeric: tabular-nums;
}
</style>
<div class="panel panel-default panel-intro">
<div class="panel-heading">
{:build_heading(null, false)}
</div>
<div class="panel-body">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="system-stat-card">
<div class="system-stat-icon bg-icon-blue">
<i class="fa fa-database"></i>
</div>
<div class="system-stat-info">
<h3>{$dbtablenums} 张</h3>
<p>数据表总量({$dbsize|format_bytes=###,'',0})</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="system-stat-card">
<div class="system-stat-icon bg-icon-green">
<i class="fa fa-file-text-o"></i>
</div>
<div class="system-stat-info">
<h3>{$attachmentnums} 个</h3>
<p>系统附件占用({$attachmentsize|format_bytes=###,'',0})</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="system-stat-card">
<div class="system-stat-icon bg-icon-purple">
<i class="fa fa-picture-o"></i>
</div>
<div class="system-stat-info">
<h3>{$picturenums} 张</h3>
<p>图片静态资源({$picturesize|format_bytes=###,'',0})</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="system-stat-card">
<div class="system-stat-icon bg-icon-amber">
<i class="fa fa-plug"></i>
</div>
<div class="system-stat-info">
<h3>{$totalworkingaddon} / {$totaladdon}</h3>
<p>运行中扩展插件</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="system-panel">
<div class="system-panel-header">
<span><i class="fa fa-server" style="margin-right: 8px; color: #3b82f6;"></i>服务器环境与运行配置</span>
<span class="label label-success">运行正常</span>
</div>
<div class="system-panel-body no-padding">
<table class="table table-bordered table-striped env-table" style="margin-bottom:0;">
<tbody>
<tr>
<th>操作系统</th>
<td>{$serverInfo.os}</td>
<th>PHP 版本</th>
<td>PHP {$serverInfo.php_version} ({$serverInfo.sapi})</td>
</tr>
<tr>
<th>Web 服务器</th>
<td>{$serverInfo.server_soft}</td>
<th>MySQL 数据库版本</th>
<td>MySQL {$serverInfo.mysql_version}</td>
</tr>
<tr>
<th>最大单文件上传</th>
<td>{$serverInfo.upload_max}</td>
<th>POST 提交最大限制</th>
<td>{$serverInfo.post_max}</td>
</tr>
<tr>
<th>脚本内存限制</th>
<td>{$serverInfo.memory_limit}</td>
<th>最大执行时间</th>
<td>{$serverInfo.max_exec_time}</td>
</tr>
<tr>
<th>服务器时间</th>
<td>{$serverInfo.server_time}</td>
<th>默认时区</th>
<td>{$serverInfo.timezone}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>