feat: 增加商品颜色匹配页面 (#294)

This commit is contained in:
chengma
2026-08-24 00:04:19 +08:00
parent 3cee6cbfaa
commit 8162ae5aca
12 changed files with 697 additions and 1 deletions
+3 -1
View File
@@ -82,6 +82,7 @@
<th>来源</th>
<th>PDD 商品 ID</th>
<th>采集状态</th>
<th>颜色匹配</th>
<th>更新时间</th>
</tr>
</thead>
@@ -103,11 +104,12 @@
<td>{{.SourceText}}</td>
<td{{if .PddMissing}} class="missing"{{end}}>{{if .PddMissing}}未填写{{else}}<span title="{{.PddURL}}">{{.PddGoodsID}}</span>{{end}}</td>
<td>{{.StatusText}}</td>
<td><a href="/shopee/color-mappings?goods_id={{.GoodsID}}&return_to={{$.ReturnToEscaped}}">进入匹配</a></td>
<td>{{.UpdatedAt}}</td>
</tr>
{{else}}
<tr class="empty">
<td colspan="13">
<td colspan="14">
{{if .IsFiltered}}
当前条件下没有商品。请调整状态、分类或关键词。<br>
<small><a href="/shopee?page_size={{.CurrentPageSize}}">清除筛选条件</a></small>