style: adjust table proportions and simplify link text to emoji
This commit is contained in:
+8
-8
@@ -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 ? `
|
||||||
@@ -727,14 +727,14 @@ function render() {
|
|||||||
<table class="config-table">
|
<table class="config-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:80px">图片</th>
|
<th style="width:72px">图片</th>
|
||||||
<th style="width:80px">类型</th>
|
<th style="width:72px">类型</th>
|
||||||
<th style="width:80px">品牌</th>
|
<th style="width:72px">品牌</th>
|
||||||
<th style="width:120px">型号</th>
|
<th style="width:130px">型号</th>
|
||||||
<th>参数</th>
|
<th>参数</th>
|
||||||
<th style="width:100px">价格</th>
|
<th style="width:90px">价格</th>
|
||||||
<th style="width:80px">链接</th>
|
<th style="width:50px">链接</th>
|
||||||
<th style="width:200px">备选</th>
|
<th style="width:220px">备选</th>
|
||||||
${editHeaders}
|
${editHeaders}
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|||||||
Reference in New Issue
Block a user