Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel
2026-06-10 22:51:29 +08:00
parent 473628a0f7
commit 2838cacef9
3 changed files with 1 additions and 10 deletions
-6
View File
@@ -28,12 +28,6 @@
<body>
<h2>SiYuan</h2>
<div class="fn__clear">
<div>
<svg>
<use xlink:href="#iconCheck2"></use>
</svg>
iconCheck2
</div>
<div>
<svg>
<use xlink:href="#iconCirclePlay"></use>
-3
View File
@@ -1,8 +1,5 @@
document.body.insertAdjacentHTML('afterbegin', `<svg id="iconsLitheness" style="position: absolute; width: 0; height: 0; overflow: hidden;">
<defs>
<symbol id="iconCheck2" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">
<path d="M20 6 9 17l-5-5"/>
</symbol>
<symbol id="iconCirclePlay" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">
<path d="M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z"/><circle cx="12" cy="12" r="10"/>
</symbol>
+1 -1
View File
@@ -239,7 +239,7 @@ export class AgentChat extends Model {
const isSelected = o.id === this.selectedModel;
html += '<div class="agent-chat__model-item b3-menu__item' + (isSelected ? " b3-menu__item--current" : "") + '" data-i="' + i + '" data-id="' + o.id + '">' +
'<span class="b3-menu__label">' + escapeHtml(o.name) + "</span>" +
'<svg class="agent-chat__model-check"><use xlink:href="#iconCheck2"></use></svg>' +
'<svg class="agent-chat__model-check"><use xlink:href="#iconSelect"></use></svg>' +
"</div>";
}
html += "</div>";