文件
fenleixinxi/public/assets/css/backend-theme.css
MiAn cb12bf5fc8 feat: 新增地址选择插件及订阅消息等多项功能优化
- 新增地址选择插件,支持地图位置选择并返回地址和经纬度
- 新增微信订阅消息发送功能,支持审核结果、提现通知等场景
- 新增订单支付状态查询、提现收款人姓名保存等接口
- 新增服务区域管理,支持按省市区划分并同步到信息发布
- 新增资金流水和营收报表导出功能
- 新增可用优惠券查询、订单退款拆分处理等功能
- 优化后台角标显示、首页数据统计、UI配置下发等
- 修复订单支付并发问题、地区管理逻辑等
2026-10-22 17:14:56 +08:00

666 行
12 KiB
CSS

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

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

/**
* 后台列表页样式
* 中性后台风格,不继承小程序品牌色,不影响小程序端
*/
/* ---------- 内容区 ---------- */
body.inside-header .content {
padding: 12px 14px;
}
/* ---------- 面板 ---------- */
.panel {
border: none;
border-radius: 8px;
box-shadow: 0 1px 2px rgba(23, 35, 61, .05), 0 6px 18px rgba(23, 35, 61, .04);
}
.panel-intro {
background: #FFFFFF;
}
.panel-intro > .panel-heading {
background: #FFFFFF;
border-bottom: 1px solid #EDEFF3;
border-radius: 8px 8px 0 0;
padding: 12px 14px;
}
.panel-intro > .panel-body {
padding: 0 14px 14px;
}
.panel-intro > .panel-heading .nav-tabs {
border-bottom: none;
margin-bottom: 0;
}
.panel-intro > .panel-heading .nav-tabs > li > a {
border: 1px solid transparent;
border-radius: 6px;
color: #5A6472;
margin-right: 6px;
padding: 6px 14px;
}
.panel-intro > .panel-heading .nav-tabs > li > a:hover,
.panel-intro > .panel-heading .nav-tabs > li > a:focus {
background: #F5F7FA;
border-color: #EDEFF3;
color: #262C36;
}
.panel-intro > .panel-heading .nav-tabs > li.active > a,
.panel-intro > .panel-heading .nav-tabs > li.active > a:hover,
.panel-intro > .panel-heading .nav-tabs > li.active > a:focus {
background: #444C69;
border-color: #444C69;
color: #FFFFFF;
}
/* ---------- 工具栏 ---------- */
.toolbar {
margin-top: 10px;
margin-bottom: 10px;
}
.toolbar .btn {
margin-right: 6px;
margin-bottom: 4px;
}
/* ---------- 表格 ---------- */
.bootstrap-table .table > thead > tr > th {
background: #F7F8FA;
border-bottom: 1px solid #E5E8EC !important;
color: #262C36;
font-weight: 600;
}
.bootstrap-table .table > tbody > tr > td {
border-color: #EDEFF3;
vertical-align: middle;
}
.table-striped > tbody > tr:nth-of-type(odd) {
background-color: #FBFCFD;
}
.table-hover > tbody > tr:hover {
background-color: #F5F8FC;
}
.bootstrap-table .table > tbody > tr:last-child > td {
border-bottom: 1px solid #EDEFF3;
}
.fc-serial {
color: #8A94A6;
font-variant-numeric: tabular-nums;
}
.table .btn-xs {
padding: 2px 7px;
}
.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span {
background-color: #444C69;
border-color: #444C69;
color: #FFFFFF;
}
/* ---------- 状态徽标 ---------- */
.fc-status {
display: inline-block;
padding: 1px 9px;
border: 1px solid transparent;
border-radius: 999px;
font-size: 12px;
font-weight: 500;
line-height: 20px;
white-space: nowrap;
}
.fc-status-success {
background: #EAF7F0;
border-color: #CDEBDA;
color: #1E7B4F;
}
.fc-status-warning {
background: #FFF6E5;
border-color: #F5E2BC;
color: #8A5A00;
}
.fc-status-danger {
background: #FDECEC;
border-color: #F7D2D2;
color: #A82A2A;
}
.fc-status-info {
background: #EDF4FD;
border-color: #D4E5FA;
color: #1D5F9E;
}
.fc-status-default {
background: #F4F5F7;
border-color: #E3E6EA;
color: #5C6670;
}
/* ---------- 首页分组标题 ---------- */
.fc-section-title {
margin: 20px 0 12px;
color: #262C36;
font-size: 15px;
font-weight: 600;
}
/* =========================================================
业务总览(fc/dashboard)
中性后台风格,作用域限定 .fc-dash
========================================================= */
.fc-dash {
color: #232A38;
font-size: 14px;
}
/* ---------- 页头 ---------- */
.fc-dash__head {
display: flex;
align-items: flex-start;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
padding: 2px 2px 16px;
}
.fc-dash__title {
margin: 0;
color: #232A38;
font-size: 19px;
font-weight: 600;
line-height: 1.4;
}
.fc-dash__desc {
margin: 5px 0 0;
color: #5F6B7A;
font-size: 12px;
line-height: 1.6;
}
.fc-dash__actions {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
/* ---------- 通用按钮 ---------- */
.fc-btn {
display: inline-flex;
align-items: center;
gap: 6px;
height: 34px;
padding: 0 13px;
border: 1px solid #DFE4EC;
border-radius: 6px;
background: #FFFFFF;
color: #3C4453;
font-size: 13px;
line-height: 1;
text-decoration: none;
white-space: nowrap;
cursor: pointer;
transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.fc-btn:hover,
.fc-btn:focus {
background: #F5F7FA;
border-color: #C9D2DF;
color: #232A38;
text-decoration: none;
}
.fc-btn--primary {
background: #444C69;
border-color: #444C69;
color: #FFFFFF;
}
.fc-btn--primary:hover,
.fc-btn--primary:focus {
background: #38405A;
border-color: #38405A;
color: #FFFFFF;
}
.fc-btn:focus-visible,
.fc-kpi__link:focus-visible,
.fc-seg__btn:focus-visible,
.fc-detail__summary:focus-visible {
outline: 2px solid #444C69;
outline-offset: 2px;
}
.fc-btn__badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 18px;
height: 18px;
padding: 0 5px;
border-radius: 9px;
background: #FDECEC;
color: #A82A2A;
font-size: 11px;
font-weight: 600;
line-height: 1;
}
/* ---------- 今日指标 ---------- */
.fc-kpi-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
margin-bottom: 14px;
}
.fc-kpi {
margin: 0;
padding: 15px 16px 13px;
border: 1px solid #E7EBF1;
border-radius: 10px;
background: #FFFFFF;
box-shadow: 0 1px 2px rgba(23, 35, 61, .04);
}
.fc-kpi__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.fc-kpi__label {
color: #6B7684;
font-size: 13px;
}
.fc-kpi__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
border-radius: 8px;
background: #EEF1F7;
color: #444C69;
font-size: 13px;
}
.fc-kpi__icon--gold {
background: #FBF3E3;
color: #9A6A16;
}
.fc-kpi__icon--red {
background: #FDECEC;
color: #A82A2A;
}
.fc-kpi__icon--blue {
background: #EDF4FD;
color: #1D5F9E;
}
.fc-kpi__value {
margin: 8px 0 10px;
color: #232A38;
font-size: 28px;
font-weight: 600;
line-height: 1.15;
letter-spacing: -.3px;
font-variant-numeric: tabular-nums;
}
.fc-kpi__value--money {
color: #9A6A16;
}
.fc-kpi__foot {
display: flex;
align-items: center;
gap: 7px;
min-height: 20px;
margin: 0;
color: #6B7684;
font-size: 12px;
}
.fc-kpi__link {
display: inline-flex;
align-items: center;
gap: 4px;
color: #444C69;
font-size: 12px;
font-weight: 600;
text-decoration: none;
}
.fc-kpi__link:hover,
.fc-kpi__link:focus {
color: #2F3650;
text-decoration: none;
}
.fc-trend {
display: inline-flex;
align-items: center;
gap: 3px;
padding: 1px 7px;
border-radius: 999px;
font-size: 12px;
font-weight: 600;
line-height: 18px;
}
.fc-trend--up {
background: #EAF7F0;
color: #1E7B4F;
}
.fc-trend--down {
background: #FDECEC;
color: #A82A2A;
}
.fc-trend--flat {
background: #F4F5F7;
color: #5C6670;
}
/* ---------- 主体两栏 ---------- */
.fc-dash__main {
display: grid;
grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr);
gap: 14px;
align-items: stretch;
margin-bottom: 14px;
}
.fc-card {
margin: 0;
border: 1px solid #E7EBF1;
border-radius: 10px;
background: #FFFFFF;
box-shadow: 0 1px 2px rgba(23, 35, 61, .04);
}
.fc-card__head {
display: flex;
align-items: flex-start;
justify-content: space-between;
flex-wrap: wrap;
gap: 10px;
padding: 13px 16px;
border-bottom: 1px solid #F0F3F7;
}
.fc-card__head--sub {
border-top: 1px solid #F0F3F7;
border-bottom: none;
padding-top: 12px;
padding-bottom: 4px;
}
.fc-card__title {
margin: 0;
color: #232A38;
font-size: 14px;
font-weight: 600;
line-height: 1.5;
}
.fc-card__desc {
margin: 4px 0 0;
color: #6B7684;
font-size: 12px;
line-height: 1.6;
}
/* ---------- 趋势切换 ---------- */
.fc-seg {
display: inline-flex;
gap: 2px;
padding: 3px;
border-radius: 7px;
background: #F4F6F9;
}
.fc-seg__btn {
padding: 6px 12px;
border: 0;
border-radius: 5px;
background: transparent;
color: #5A6472;
font-size: 12px;
line-height: 1;
cursor: pointer;
transition: background-color .15s ease, color .15s ease;
}
.fc-seg__btn:hover {
color: #232A38;
}
.fc-seg__btn.is-active {
background: #FFFFFF;
color: #232A38;
font-weight: 600;
box-shadow: 0 1px 2px rgba(23, 35, 61, .10);
}
/* ---------- 图表 ---------- */
.fc-chart {
width: 100%;
height: 292px;
padding: 6px 8px 0;
}
.fc-chart__total {
display: flex;
align-items: baseline;
gap: 8px;
margin: 0;
padding: 4px 16px 14px;
color: #6B7684;
font-size: 12px;
}
.fc-chart__total strong {
color: #232A38;
font-size: 15px;
font-weight: 600;
font-variant-numeric: tabular-nums;
}
/* ---------- 累计数据 ---------- */
.fc-stats {
margin: 0;
padding: 6px 16px 10px;
}
.fc-stat {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
padding: 9px 0;
border-bottom: 1px dashed #EDF0F5;
}
.fc-stat:last-child {
border-bottom: none;
}
.fc-stat dt {
color: #6B7684;
font-size: 13px;
font-weight: 400;
}
.fc-stat dd {
margin: 0;
color: #232A38;
font-size: 16px;
font-weight: 600;
font-variant-numeric: tabular-nums;
}
.fc-stat dd.is-money {
color: #9A6A16;
}
.fc-stat dd.is-muted {
color: #5A6472;
font-weight: 500;
}
/* ---------- 明细表 ---------- */
.fc-detail {
overflow: hidden;
}
.fc-detail__summary {
display: flex;
align-items: center;
gap: 10px;
padding: 13px 16px;
cursor: pointer;
list-style: none;
}
.fc-detail__summary::-webkit-details-marker {
display: none;
}
.fc-detail__hint {
margin-left: auto;
color: #6B7684;
font-size: 12px;
}
.fc-detail__hint-close {
display: none;
}
.fc-detail[open] .fc-detail__hint-open {
display: none;
}
.fc-detail[open] .fc-detail__hint-close {
display: inline;
}
.fc-detail__chevron {
color: #8A94A6;
transition: transform .2s ease;
}
.fc-detail[open] .fc-detail__chevron {
transform: rotate(180deg);
}
.fc-detail__body {
padding: 4px 16px 10px;
border-top: 1px solid #F0F3F7;
}
.fc-table-wrap {
overflow-x: auto;
}
.fc-table {
width: 100%;
min-width: 480px;
margin: 0;
border-collapse: collapse;
font-size: 13px;
}
.fc-table th,
.fc-table td {
padding: 9px 10px;
border-bottom: 1px solid #F0F3F7;
}
.fc-table thead th {
background: #FAFBFC;
color: #5F6B7A;
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.fc-table tbody tr:hover {
background: #F8FAFC;
}
.fc-table tbody tr:last-child td {
border-bottom: none;
}
.fc-table .is-num {
text-align: right;
font-variant-numeric: tabular-nums;
}
/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
.fc-kpi-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fc-dash__main {
grid-template-columns: minmax(0, 1fr);
}
}
@media (max-width: 767px) {
.fc-dash__actions {
width: 100%;
}
.fc-chart {
height: 240px;
}
}
@media (max-width: 400px) {
.fc-kpi-grid {
grid-template-columns: minmax(0, 1fr);
}
}
@media (prefers-reduced-motion: reduce) {
.fc-dash *,
.fc-dash *::before,
.fc-dash *::after {
transition: none !important;
animation: none !important;
}
.fc-detail__chevron {
transition: none !important;
}
}