67223f8950
- F9 新增 useTablePaging composable 并接入 7 个工具页"匹配结果"表(只切渲染窗口, 不加选择语义;每页 100 条)+ 深色分页样式 - F6 历史任务抽屉渲染截断(默认 50 条 + "显示全部/收起"),全选口径改为当前可见条目 - F5 新增 task-progress-polling 适配器:等待任务终态的紧循环走 /tasks/progress/light, 异常或空响应回退重型 batch;已接入跟价/定时匹配的 waitForTaskTerminal - F12 背景图 bg.jpg 251KB → 166KB(1920 宽 + quality 80,image-set 仍优先 webp) - G3 抽出共享纯逻辑 task-queue-state(开始时间表序列化校验 + 记录缺失错误判定), 5 个工具页删除逐字重复实现 - 新增 4 个单测文件(分页切片/历史截断/轻量轮询归一/任务队列纯逻辑)
165 lines
3.4 KiB
CSS
165 lines
3.4 KiB
CSS
@import './tokens.css';
|
|
@import './reset.css';
|
|
|
|
body {
|
|
background: #151a25;
|
|
font-family: var(--font-family-base);
|
|
}
|
|
|
|
html {
|
|
scrollbar-color: rgba(123, 135, 148, 0.7) rgba(255, 255, 255, 0.04);
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
*::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-track {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
background: rgba(123, 135, 148, 0.7);
|
|
border: 2px solid transparent;
|
|
border-radius: 999px;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(148, 163, 184, 0.9);
|
|
border: 2px solid transparent;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
*::-webkit-scrollbar-corner {
|
|
background: transparent;
|
|
}
|
|
|
|
.page-shell {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.module-page > .main-content > .left-panel.left-panel--with-template {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.module-page > .main-content > .left-panel.left-panel--with-template > * {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Match the desktop client shell in web_source/brand.html. */
|
|
@media (min-width: 1101px) {
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#app {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
#app > .page-shell {
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.module-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0 !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.module-page > .top-bar {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.module-page > .main-content {
|
|
flex: 1 1 auto;
|
|
min-height: 0 !important;
|
|
height: auto !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.module-page > .main-content > .left-panel,
|
|
.module-page > .main-content > .right-panel,
|
|
.module-page .task-list-wrap {
|
|
min-height: 0;
|
|
}
|
|
|
|
.module-page > .main-content > .left-panel,
|
|
.module-page .task-list-wrap {
|
|
overscroll-behavior: contain;
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
/* 亚马逊工具台外壳:旧功能页中间区(.main-content)由外壳撑满剩余高度 */
|
|
.amazon-tool-shell > .tool-shell-body > .main-content {
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
}
|
|
|
|
.theme-light {
|
|
background: var(--color-bg-light);
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.theme-dark {
|
|
background: var(--color-bg-dark);
|
|
color: var(--color-text-dark);
|
|
}
|
|
|
|
.theme-dark a {
|
|
color: inherit;
|
|
}
|
|
|
|
.theme-dark .el-tabs__item:focus-visible,
|
|
.theme-dark button:focus-visible,
|
|
.theme-dark a:focus-visible {
|
|
outline: 2px solid rgba(96, 165, 250, 0.9);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/*
|
|
* 上传 / 解析 / 入队拦截弹窗(src/shared/dispatch-guard-ui.ts)。
|
|
* 文案是多行的「问题 + 怎么修」,需要保留换行,并给长文件名留出折行空间。
|
|
*/
|
|
.dispatch-guard-box {
|
|
max-width: 520px;
|
|
width: min(520px, calc(100vw - 32px));
|
|
}
|
|
|
|
.dispatch-guard-box .el-message-box__message {
|
|
white-space: pre-line;
|
|
line-height: 1.65;
|
|
word-break: break-word;
|
|
max-height: 50vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
|
|
/* 匹配结果表分页(F9):风格与深色工具页一致,避免 el-pagination 默认浅色冲突 */
|
|
.matched-pagination {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding: 8px 4px 0;
|
|
--el-pagination-bg-color: transparent;
|
|
--el-pagination-text-color: #c8d2e2;
|
|
--el-pagination-button-color: #c8d2e2;
|
|
--el-pagination-button-bg-color: #242424;
|
|
--el-pagination-button-disabled-color: #6b7789;
|
|
--el-pagination-button-disabled-bg-color: #1e1e1e;
|
|
--el-pagination-hover-color: #4da3ff;
|
|
}
|
|
|
|
.matched-pagination .el-pagination__total {
|
|
color: #9fb0c8;
|
|
font-size: 12px;
|
|
}
|