feat:给编辑面板标签页替换icon + 编辑页面新增icon
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* 获取 WebView 面板的 HTML 内容
|
||||
*/
|
||||
export function getWebviewContent(): string {
|
||||
export function getWebviewContent(iconUri?: string): string {
|
||||
return `<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
@ -149,7 +149,10 @@ export function getWebviewContent(): string {
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
<h1>IC Coder</h1>
|
||||
<div style="display: flex; align-items: center; justify-content: center; gap: 10px;">
|
||||
<img src="${iconUri}" alt="IC Coder" style="width: 28px; height: 28px;" />
|
||||
<h1 style="margin: 0;">IC Coder</h1>
|
||||
</div>
|
||||
<p>专注于真实FPGA研发的Verilog智能体编程平台</p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user