v2.0.0:多上下文长度测试(默认512/2048/8192/32768/131072)+测试前空转预热(不计速度)+解码输出默认128+每长度采样默认2+Excel(xlsx)导出+详情按长度分组+接口输入框图标美化+README文档
This commit is contained in:
@@ -71,6 +71,26 @@ body {
|
||||
.row > select { flex: 1; }
|
||||
.row > input { flex: 1; }
|
||||
|
||||
/* 带图标前缀的输入框(配置名称 / Base URL / 模型名称) */
|
||||
.icon-input { display: flex; align-items: center; gap: 8px; background: var(--panel2); border: 1px solid var(--border); border-radius: 8px; padding: 0 10px; transition: border-color .15s; }
|
||||
.icon-input:focus-within { border-color: var(--accent); }
|
||||
.icon-input .icon { font-size: 14px; flex-shrink: 0; opacity: .9; }
|
||||
.icon-input input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-size: 13px; padding: 8px 0; }
|
||||
|
||||
/* 上下文长度 chips */
|
||||
.chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
|
||||
.chips-empty { color: var(--muted); font-size: 12px; align-self: center; }
|
||||
.chip {
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
padding: 4px 8px 4px 10px; border-radius: 16px; cursor: pointer; user-select: none;
|
||||
background: rgba(79,140,255,.16); border: 1px solid var(--accent); color: var(--accent);
|
||||
font-family: var(--mono); font-size: 12px; transition: .15s;
|
||||
}
|
||||
.chip:hover { filter: brightness(1.15); }
|
||||
.chip.off { background: var(--panel2); border-color: var(--border); color: var(--muted); text-decoration: line-through; }
|
||||
.chip .chip-x { font-size: 11px; line-height: 1; border-radius: 50%; padding: 1px 3px; }
|
||||
.chip .chip-x:hover { background: rgba(255,92,108,.25); color: var(--danger); }
|
||||
|
||||
/* 开关 */
|
||||
.switch-field { display: flex; align-items: center; justify-content: space-between; }
|
||||
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
|
||||
|
||||
Reference in New Issue
Block a user