feat: 重构后台管理界面样式并新增商户/帖子审核功能

- 重构后台所有管理页面工具栏,移除图标改用纯文字按钮
- 新增商户管理的批量审核功能与商家详情/审核页面
- 新增帖子管理的批量审核/上下架功能与帖子详情/审核页面
- 新增多媒体相册字段的前后台处理逻辑
- 新增微信订阅消息兼容导出层
- 更新站点版本号并优化品牌色变量
- 新增商户/帖子控制器的详情与审核方法
- 新增 .sql 文件忽略规则
这个提交包含在:
2026-10-23 09:26:22 +08:00
父节点 cb12bf5fc8
当前提交 3a2fcf7142
共有 44 个文件被更改,包括 3080 次插入 和 917 次删除

查看文件

@@ -663,3 +663,538 @@ body.inside-header .content {
transition: none !important;
}
}
/* ==========================================================================
FC 模块现代标准模态表单(Modal Form)与审核质检组件样式
遵循 ui-ux-pro-max 设计系统:双列卡片布局、清晰呼吸感、消除多选灰色轰炸
========================================================================== */
/* ---------- 弹窗主体容器 ---------- */
.fc-modal-form {
padding: 12px 18px 70px;
background: #F8FAFC;
}
/* ---------- 表单区块卡片 (Section Card) ---------- */
.fc-form-section {
background: #FFFFFF;
border: 1px solid #E2E8F0;
border-radius: 8px;
margin-bottom: 16px;
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
overflow: hidden;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fc-form-section:hover {
border-color: #CBD5E1;
box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06);
}
.fc-form-section__header {
display: flex;
align-items: center;
padding: 12px 16px;
background: #F8FAFC;
border-bottom: 1px solid #EDF2F7;
}
.fc-form-section__badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
border-radius: 50%;
background: #2563EB;
color: #FFFFFF;
font-size: 12px;
font-weight: 700;
margin-right: 10px;
}
.fc-form-section__title {
font-size: 14px;
font-weight: 700;
color: #1E293B;
letter-spacing: 0.2px;
}
.fc-form-section__body {
padding: 16px 18px 4px;
}
.fc-form-section__body .form-group {
margin-bottom: 14px;
}
.fc-form-section__body .control-label {
color: #334155;
font-weight: 600;
font-size: 13px;
padding-top: 7px;
}
/* ---------- 弹窗底部操作条 (吸底保证) ---------- */
.fc-modal-footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: 12px 24px;
background: #FFFFFF;
border-top: 1px solid #E2E8F0;
box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.05);
margin-bottom: 0 !important;
z-index: 100;
display: flex;
justify-content: flex-end;
align-items: center;
}
.fc-modal-footer .btn {
padding: 7px 20px;
font-size: 14px;
font-weight: 600;
border-radius: 6px;
margin-left: 10px;
}
/* ---------- 动态批量操作工具栏 (Contextual Batch Bar) ---------- */
.fc-batch-bar {
display: inline-flex;
align-items: center;
gap: 8px;
background: #EFF6FF;
border: 1px solid #BFDBFE;
padding: 4px 10px;
border-radius: 6px;
animation: fcBatchFadeIn 0.2s ease-out;
}
@keyframes fcBatchFadeIn {
from {
opacity: 0;
transform: translateY(-4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fc-batch-bar__tag {
font-size: 13px;
color: #1E40AF;
font-weight: 600;
margin-right: 6px;
}
/* ---------- 审核与质检弹窗多图画廊 (Gallery) ---------- */
.fc-inspect-gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
gap: 12px;
margin-top: 10px;
}
.fc-inspect-gallery__item {
position: relative;
display: block;
height: 110px;
border-radius: 6px;
overflow: hidden;
border: 1px solid #E2E8F0;
background: #F1F5F9;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fc-inspect-gallery__item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}
.fc-inspect-gallery__item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.fc-inspect-gallery__zoom {
position: absolute;
inset: 0;
background: rgba(15, 23, 42, 0.45);
color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
font-size: 18px;
transition: opacity 0.2s ease;
}
.fc-inspect-gallery__item:hover .fc-inspect-gallery__zoom {
opacity: 1;
}
.fc-upload-preview {
margin-top: 10px;
}
.fc-upload-preview li {
margin-right: 10px;
margin-bottom: 10px;
}
.fc-upload-preview img {
border-radius: 4px;
border: 1px solid #E2E8F0;
}
/* ==========================================================================
专属【信息审核与质检工作台】样式(纯净只读核验模式,杜绝 input 框反模式)
========================================================================== */
.fc-audit-view {
padding: 18px 22px 90px;
background: #F8FAFC;
min-height: 100%;
}
/* ---------- 顶部送审人画像条 ---------- */
.fc-audit-user-bar {
display: flex;
align-items: center;
background: #FFFFFF;
border: 1px solid #E2E8F0;
border-radius: 8px;
padding: 14px 18px;
margin-bottom: 14px;
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.fc-audit-user-bar__avatar {
width: 48px;
height: 48px;
border-radius: 50%;
object-fit: cover;
margin-right: 14px;
border: 2px solid #E2E8F0;
}
.fc-audit-user-bar__meta {
flex: 1;
}
.fc-audit-user-bar__name {
font-size: 16px;
font-weight: 700;
color: #0F172A;
display: flex;
align-items: center;
gap: 8px;
}
.fc-audit-user-bar__uid {
font-size: 12px;
color: #64748B;
background: #F1F5F9;
padding: 2px 8px;
border-radius: 12px;
font-weight: normal;
}
.fc-audit-user-bar__sub {
font-size: 12px;
color: #64748B;
margin-top: 4px;
}
.fc-audit-badge {
display: inline-flex;
align-items: center;
padding: 5px 12px;
border-radius: 20px;
font-size: 13px;
font-weight: 600;
}
.fc-audit-badge--warning {
background: #FEF3C7;
color: #B45309;
border: 1px solid #FDE68A;
}
.fc-audit-badge--success {
background: #DEF7EC;
color: #03543F;
border: 1px solid #BCF0DA;
}
.fc-audit-badge--danger {
background: #FDE8E8;
color: #9B1C1C;
border: 1px solid #FBD5D5;
}
.fc-audit-reject-alert {
background: #FFF1F2;
border: 1px solid #FECDD3;
color: #BE123C;
padding: 10px 16px;
border-radius: 6px;
margin-bottom: 14px;
font-size: 13px;
display: flex;
align-items: center;
gap: 8px;
}
/* ---------- 送审核心凭据卡片 ---------- */
.fc-audit-card {
background: #FFFFFF;
border: 1px solid #E2E8F0;
border-radius: 8px;
padding: 18px 20px;
margin-bottom: 14px;
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.fc-audit-card__head {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.fc-audit-card__category {
font-size: 13px;
font-weight: 600;
color: #2563EB;
background: #EFF6FF;
padding: 3px 10px;
border-radius: 4px;
}
.fc-audit-card__price {
font-size: 20px;
font-weight: 700;
color: #EA580C;
letter-spacing: -0.5px;
}
.fc-audit-card__price small {
font-size: 12px;
color: #64748B;
font-weight: normal;
}
.fc-audit-card__title {
margin: 0 0 12px;
font-size: 18px;
font-weight: 700;
color: #0F172A;
line-height: 1.4;
}
.fc-audit-card__tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 14px;
}
.fc-audit-tag {
font-size: 12px;
background: #F1F5F9;
color: #334155;
padding: 2px 10px;
border-radius: 4px;
border: 1px solid #E2E8F0;
}
.fc-audit-card__props {
display: flex;
flex-wrap: wrap;
gap: 16px;
padding: 10px 14px;
background: #F8FAFC;
border-radius: 6px;
font-size: 13px;
color: #475569;
margin-bottom: 14px;
}
.fc-audit-prop-item {
display: flex;
align-items: center;
gap: 6px;
}
.fc-audit-card__content-title {
font-size: 13px;
font-weight: 600;
color: #475569;
margin-bottom: 6px;
}
.fc-audit-card__content-box {
background: #F8FAFC;
border: 1px solid #EDF2F7;
border-left: 3px solid #2563EB;
border-radius: 6px;
padding: 14px 16px;
color: #334155;
line-height: 1.7;
font-size: 14px;
white-space: pre-wrap;
max-height: 240px;
overflow-y: auto;
}
/* ---------- 图片画廊质检区 ---------- */
.fc-audit-gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: 12px;
margin-top: 8px;
}
.fc-audit-gallery__card {
position: relative;
display: block;
height: 120px;
border-radius: 8px;
overflow: hidden;
border: 1px solid #E2E8F0;
background: #F1F5F9;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fc-audit-gallery__card:hover {
transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(15, 23, 42, 0.12);
}
.fc-audit-gallery__card img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.fc-audit-gallery__cover-tag {
position: absolute;
top: 6px;
left: 6px;
background: rgba(15, 23, 42, 0.75);
color: #FFFFFF;
font-size: 11px;
padding: 1px 6px;
border-radius: 3px;
}
.fc-audit-gallery__overlay {
position: absolute;
inset: 0;
background: rgba(15, 23, 42, 0.5);
color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
font-weight: 600;
gap: 4px;
opacity: 0;
transition: opacity 0.2s ease;
}
.fc-audit-gallery__card:hover .fc-audit-gallery__overlay {
opacity: 1;
}
.fc-audit-empty-media {
padding: 24px;
text-align: center;
color: #94A3B8;
background: #F8FAFC;
border: 1px dashed #E2E8F0;
border-radius: 6px;
font-size: 13px;
}
/* ---------- 底部审核决策吸底条 ---------- */
.fc-audit-footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: #FFFFFF;
border-top: 1px solid #E2E8F0;
box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
padding: 12px 24px;
z-index: 100;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.fc-audit-footer__reason-box {
display: flex;
align-items: center;
gap: 12px;
flex: 1;
}
.fc-audit-footer__col-tpl {
width: 260px;
}
.fc-audit-footer__col-tpl label,
.fc-audit-footer__col-input label {
font-size: 11px;
color: #64748B;
margin-bottom: 2px;
display: block;
font-weight: 600;
}
.fc-audit-footer__col-input {
flex: 1;
}
.fc-audit-footer__btns {
display: flex;
align-items: center;
gap: 10px;
}
.fc-audit-footer__btns .btn {
padding: 8px 18px;
font-size: 14px;
font-weight: 700;
border-radius: 6px;
}
/* ---------- 列表纯两字按钮精致排版 ---------- */
.bootstrap-table .table > tbody > tr > td .btn-xs {
padding: 3px 8px;
font-size: 12px;
line-height: 1.4;
border-radius: 4px;
margin: 0 2px;
font-weight: 600;
letter-spacing: 0.5px;
}
.toolbar .btn {
font-size: 13px;
font-weight: 600;
border-radius: 6px;
padding: 6px 14px;
}