style: restore link column width and show label, widen type column

This commit is contained in:
2026-07-18 21:08:32 +08:00
parent c31b041975
commit b457546059
+3 -3
View File
@@ -683,7 +683,7 @@ function render() {
: '<div class="cell-img-placeholder"> </div>'; : '<div class="cell-img-placeholder"> </div>';
const linkCell = opt.link const linkCell = opt.link
? `<a href="${opt.link}" target="_blank" rel="noopener">🔗</a>` ? `<a href="${opt.link}" target="_blank" rel="noopener">🔗链接</a>`
: '-'; : '-';
const altCell = comp.options.length > 1 ? ` const altCell = comp.options.length > 1 ? `
@@ -728,12 +728,12 @@ function render() {
<thead> <thead>
<tr> <tr>
<th style="width:72px">图片</th> <th style="width:72px">图片</th>
<th style="width:72px">类型</th> <th style="width:90px">类型</th>
<th style="width:72px">品牌</th> <th style="width:72px">品牌</th>
<th style="width:130px">型号</th> <th style="width:130px">型号</th>
<th>参数</th> <th>参数</th>
<th style="width:90px">价格</th> <th style="width:90px">价格</th>
<th style="width:50px">链接</th> <th style="width:80px">链接</th>
<th style="width:220px">备选</th> <th style="width:220px">备选</th>
${editHeaders} ${editHeaders}
</tr> </tr>