新增navcat解密工具、优化后台UI
This commit is contained in:
1 parent
7b3d45b153
commit
bf772046cc
20 files changed
+4409
-2670
No files matched your search
+82
-2
@@ -184,7 +184,7 @@ select { width: auto; min-width: 150px; }
|
||||
/* ---------- 首页顶部组件:空白精简模式(hero_mode=blank) ---------- */
|
||||
.hero-slim { min-height: 0; padding: 16px 0 12px; }
|
||||
|
||||
/* ============ 后台访问信息页 ============ */
|
||||
/* ============ 后台风控管理页 ============ */
|
||||
.vis-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
|
||||
.vis-stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
|
||||
.vis-stat b { display: block; font-size: 22px; line-height: 1.3; font-variant-numeric: tabular-nums; }
|
||||
@@ -471,7 +471,7 @@ a.nav-btn[data-note]:hover::after { opacity: 1; transform: translateX(-50%) tran
|
||||
/* 跨整行的设置卡片(内容较多的底部大卡) */
|
||||
.fieldset-card.col-span-2 { grid-column: 1 / -1; }
|
||||
|
||||
/* 后台导航内容管理 */
|
||||
/* 后台导航管理 */
|
||||
.m-block { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; overflow: hidden; }
|
||||
.m-block-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg-2); flex-wrap: wrap; }
|
||||
.m-block-head input[type=text] { max-width: 320px; }
|
||||
@@ -825,3 +825,83 @@ a.nav-btn[data-note]:hover::after { opacity: 1; transform: translateX(-50%) tran
|
||||
.hp-toast.hide { opacity: 0; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease; }
|
||||
@keyframes hpToastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
|
||||
@media (max-width: 600px) { .hp-toasts { right: 12px; bottom: 12px; left: 12px; align-items: stretch; } .hp-toast { min-width: 0; } }
|
||||
|
||||
/* ---------- 后台侧边栏(原顶部分区栏改为可收缩侧栏,含“本页功能”锚点) ---------- */
|
||||
body.hp-admin-side { padding-left: 232px; transition: padding-left .2s ease; }
|
||||
body.hp-admin-side.hp-side-collapsed { padding-left: 68px; }
|
||||
|
||||
.admin-mobilebar { display: none; }
|
||||
|
||||
.admin-side {
|
||||
position: fixed; top: 0; left: 0; bottom: 0; width: 232px; z-index: 920;
|
||||
display: flex; flex-direction: column; gap: 4px;
|
||||
background: var(--brand-2); color: #fff;
|
||||
padding: 12px 10px 10px; overflow-y: auto; box-sizing: border-box;
|
||||
transition: width .2s ease, transform .2s ease;
|
||||
}
|
||||
.admin-side a { color: rgba(255, 255, 255, .92); }
|
||||
|
||||
.as-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; border-bottom: 1px solid rgba(255, 255, 255, .16); margin-bottom: 8px; }
|
||||
.as-brand { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1 1 auto; }
|
||||
.as-logo { width: 32px; height: 32px; border-radius: 8px; object-fit: contain; background: #fff; padding: 2px; flex: none; }
|
||||
.as-brand-tx { display: flex; flex-direction: column; min-width: 0; font-weight: 700; font-size: 14px; line-height: 1.25; }
|
||||
.as-brand-tx em { font-style: normal; font-weight: 400; font-size: 11px; opacity: .7; }
|
||||
.as-toggle { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
|
||||
.as-toggle:hover { background: rgba(255, 255, 255, .2); }
|
||||
.as-toggle-ic { display: inline-block; transition: transform .2s ease; }
|
||||
|
||||
.as-nav { display: flex; flex-direction: column; gap: 2px; }
|
||||
.as-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14px; white-space: nowrap; }
|
||||
.as-link:hover { background: rgba(255, 255, 255, .12); }
|
||||
.as-link.active { background: rgba(255, 255, 255, .2); font-weight: 700; }
|
||||
.as-ic { flex: none; width: 20px; text-align: center; font-size: 15px; }
|
||||
|
||||
.as-sec { margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 8px; }
|
||||
.as-sec-t { font-size: 11px; letter-spacing: .06em; opacity: .6; padding: 2px 10px 6px; }
|
||||
.as-sec-list { display: flex; flex-direction: column; gap: 1px; }
|
||||
.as-sub { display: block; padding: 6px 10px 6px 12px; border-radius: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 2px solid transparent; }
|
||||
.as-sub:hover { background: rgba(255, 255, 255, .12); color: #fff; }
|
||||
.as-sub.active { background: rgba(255, 255, 255, .18); color: #fff; border-left-color: #fff; font-weight: 600; }
|
||||
|
||||
.as-foot { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 8px; }
|
||||
.as-user { font-size: 13px; opacity: .78; padding: 4px 10px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
|
||||
.admin-side-mask { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 919; }
|
||||
|
||||
/* 滚动定位到区块时预留间距(避免贴顶) */
|
||||
.fieldset-card { scroll-margin-top: 18px; }
|
||||
|
||||
/* 收缩态:仅图标 */
|
||||
body.hp-side-collapsed .as-brand-tx,
|
||||
body.hp-side-collapsed .as-tx { display: none; }
|
||||
body.hp-side-collapsed .admin-side { width: 68px; }
|
||||
body.hp-side-collapsed .as-head { flex-direction: column; gap: 6px; }
|
||||
body.hp-side-collapsed .as-link { justify-content: center; padding: 9px 0; }
|
||||
body.hp-side-collapsed .as-toggle-ic { transform: rotate(180deg); }
|
||||
body.hp-side-collapsed .as-sec { display: none; }
|
||||
|
||||
/* 小屏:侧栏改为抽屉 */
|
||||
@media (max-width: 900px) {
|
||||
body.hp-admin-side { padding-left: 0; }
|
||||
.admin-mobilebar {
|
||||
display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 921;
|
||||
background: var(--brand-2); color: #fff; padding: 8px 12px;
|
||||
}
|
||||
.amb-btn { border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; border-radius: 8px; width: 34px; height: 30px; font-size: 15px; cursor: pointer; }
|
||||
.amb-brand { display: flex; align-items: center; gap: 8px; min-width: 0; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.amb-logo { width: 26px; height: 26px; border-radius: 6px; object-fit: contain; background: #fff; padding: 1px; flex: none; }
|
||||
.amb-out { margin-left: auto; color: rgba(255, 255, 255, .9); font-size: 13px; }
|
||||
.admin-side { width: 240px; transform: translateX(-100%); box-shadow: 2px 0 18px rgba(0, 0, 0, .3); }
|
||||
body.hp-side-open .admin-side { transform: none; }
|
||||
body.hp-side-open .admin-side-mask { display: block; }
|
||||
/* 小屏忽略收缩态(始终保持完整文字) */
|
||||
body.hp-side-collapsed .admin-side { width: 240px; }
|
||||
body.hp-side-collapsed .as-tx { display: block; }
|
||||
body.hp-side-collapsed .as-brand-tx { display: flex; }
|
||||
body.hp-side-collapsed .as-link { justify-content: flex-start; padding: 9px 10px; }
|
||||
body.hp-side-collapsed .as-sec { display: block; }
|
||||
.fieldset-card { scroll-margin-top: 66px; }
|
||||
}
|
||||
|
||||
/* ---------- 风控管理页:筛选 / 翻页局部刷新时的轻量加载态 ---------- */
|
||||
.vis-loading { opacity: .5; pointer-events: none; transition: opacity .15s ease; }
|
||||
Reference in new issue
Block a user