更新登录模块

This commit is contained in:
2025-06-07 15:30:12 +08:00
parent 7cd3b73df8
commit de2fcc055b
3 changed files with 66 additions and 45 deletions
+64 -43
View File
@@ -1,100 +1,121 @@
{include file="public/header" /}
<style>
.config-container {
padding: 20px;
background-color: #fff;
border-radius: 8px;
/* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); */
}
.config-header {
display: flex;
align-items: center;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 1px solid #eee;
}
.config-header span {
font-size: 18px;
color: #2c3e50;
font-weight: 500;
margin-right: 20px;
}
.config-header a {
text-decoration: none;
}
.config-header a span {
padding: 6px 15px;
background: #f8f9fa;
border-radius: 4px;
color: #606266;
font-size: 14px;
transition: all 0.3s;
}
.config-header a span:hover {
background: #e9ecef;
color: #409EFF;
}
padding: 20px;
background-color: #fff;
border-radius: 8px;
/* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); */
}
.config-header {
display: flex;
align-items: center;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 1px solid #eee;
}
.config-header span {
font-size: 18px;
color: #2c3e50;
font-weight: 500;
margin-right: 20px;
}
.config-header a {
text-decoration: none;
}
.config-header a span {
padding: 6px 15px;
background: #f8f9fa;
border-radius: 4px;
color: #606266;
font-size: 14px;
transition: all 0.3s;
}
.config-header a span:hover {
background: #e9ecef;
color: #409EFF;
}
.action-buttons {
display: flex;
gap: 8px;
margin-bottom: 20px;
}
.layui-btn {
border-radius: 4px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: all 0.3s;
height: 32px;
line-height: 32px;
padding: 0 16px;
}
.layui-btn:hover {
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.layui-btn .layui-icon {
margin-right: 4px;
font-size: 14px;
}
.layui-table {
margin: 15px 0;
border-radius: 4px;
overflow: hidden;
}
.layui-table thead tr {
background-color: #fafafa;
}
.layui-table tbody tr:hover {
background-color: #f5f7fa;
}
.layui-table-cell {
height: 40px;
line-height: 40px;
}
.layui-badge {
padding: 4px 8px;
border-radius: 3px;
font-weight: 500;
height: auto;
}
.layui-badge.layui-bg-green {
background-color: #67C23A !important;
}
.layui-badge.layui-bg-gray {
background-color: #909399 !important;
}
.layui-layer {
border-radius: 8px;
overflow: hidden;
}
.layui-textarea {
width: 80% !important;
}
</style>
<div class="config-container">
<div class="config-header">
<span>站点管理</span>
<!-- <a href="{$config['admin_route']}Yunzer/configvalue">
<span>站点配置</span>
</a> -->
</div>
<span>站点管理</span>
<!-- <a href="{$config['admin_route']}Yunzer/configvalue">
<span>站点配置</span>
</a> -->
</div>
<div class="layui-card-body" style="padding: 0;">
@@ -185,7 +206,7 @@
};
var loadIndex = layer.load(1, {
shade: [0.1,'#fff']
shade: [0.1, '#fff']
});
$.post('{$config["admin_route"]}yunzer/configadd', button, function (res) {
@@ -233,7 +254,7 @@
};
var loadIndex = layer.load(1, {
shade: [0.1,'#fff']
shade: [0.1, '#fff']
});
$.post('{$config["admin_route"]}yunzer/configedit', button, function (res) {
@@ -267,7 +288,7 @@
btn: ['确定', '取消']
}, function () {
var loadIndex = layer.load(1, {
shade: [0.1,'#fff']
shade: [0.1, '#fff']
});
$.post('{$config["admin_route"]}yunzer/configdel', { 'config_id': data[0].config_id }, function (res) {