优化默认语言模型获取

This commit is contained in:
Azmat@qq.com
2026-09-03 16:00:14 +08:00
parent 6a628b0ca7
commit f53b6e1035
6 changed files with 49 additions and 28 deletions
+1 -1
View File
@@ -1314,7 +1314,7 @@ body.sidebar-collapsed .user::after { display: none; }
.chip.active { border-color: var(--heat-40); color: var(--heat); background: var(--heat-12); }
.chip svg { width: 12px; height: 12px; }
/* 清空筛选:幽灵态(无边框/透明底),仅在有筛选时出现,点击重置全部筛选 */
.chip.chip-clear { border-color: transparent; background: transparent; color: var(--black-alpha-48); padding: 0 8px; }
.chip.chip-clear { border-color: transparent; background: transparent; color: var(--black-alpha-48); padding: 0 8px; line-height: 1; white-space: nowrap; }
.chip.chip-clear:hover { background: var(--black-alpha-4); color: var(--accent-black); }
/* ─── Toolbar ─── */
+1 -1
View File
@@ -26,7 +26,7 @@
.library-page .lib-head {
display: flex;
align-items: flex-start;
align-items: center;
justify-content: space-between;
gap: 20px;
margin-bottom: 18px;
+5 -1
View File
@@ -25,7 +25,7 @@
.models-page .ml-head {
display: flex;
align-items: flex-start;
align-items: center;
justify-content: space-between;
gap: 20px;
margin-bottom: 18px;
@@ -91,12 +91,16 @@
.models-page .ml-seg-btn {
height: 32px;
padding: 0 12px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 0;
border-radius: 8px;
color: #50555d;
background: transparent;
font: inherit;
font-size: 13px;
line-height: 1;
cursor: pointer;
}
.models-page .ml-seg-btn:hover { color: var(--accent-black); }
+15 -3
View File
@@ -21,7 +21,7 @@
.pl-head {
display: flex;
align-items: flex-start;
align-items: center;
justify-content: space-between;
gap: 20px;
margin-bottom: 18px;
@@ -134,9 +134,9 @@
flex-wrap: wrap;
}
.pl-select { position: relative; width: 150px; flex: 0 0 150px; z-index: 40; }
.pl-select { position: relative; width: auto; min-width: 132px; flex: 0 0 auto; z-index: 40; }
.pl-select.open { z-index: 50; }
.pl-select[data-key="cat"] { width: 168px; flex-basis: 168px; }
.pl-select[data-key="cat"] { min-width: 148px; }
.pl-select-trigger {
width: 100%;
height: 34px;
@@ -226,14 +226,26 @@
.pl-clear {
height: 34px;
padding: 0 12px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
border: 0;
border-radius: 10px;
color: var(--pl-muted);
background: transparent;
font: inherit;
font-size: 13px;
line-height: 1;
white-space: nowrap;
flex-shrink: 0;
cursor: pointer;
}
.pl-clear svg {
width: 13px;
height: 13px;
flex: 0 0 auto;
}
.pl-clear:hover { color: var(--accent-black); background: rgba(34, 42, 54, 0.06); }
.pl-view {