地点库增加是否有图片列,修复批量导入图片时新增类型无法复用

This commit is contained in:
tamakyi
2026-09-18 18:00:28 +08:00
parent ad2531c113
commit dbc5f173ef
4 changed files with 52 additions and 4 deletions
+3 -2
View File
@@ -39,10 +39,10 @@
{{if .Places}}
<div class="tw">
<table class="tb">
<table class="tb places-table">
<thead>
<tr>
<th>地点</th><th>城市</th><th>主要类型</th>
<th>地点</th><th>城市</th><th>主要类型</th><th>图片</th>
<th class="num">到访</th><th class="num">累计停留</th>
<th>首次</th><th>最近</th>
</tr>
@@ -61,6 +61,7 @@
<td>
{{if .TopActivity}}<span class="chip" style="padding:1px 8px"><span class="dot" style="background:{{colorof .TopColor}}"></span>{{.TopActivity}}</span>{{else}}<span class="muted">—</span>{{end}}
</td>
<td>{{if .HasImage}}<span title="有图片">📷</span>{{else}}<span class="muted" title="还没有上传图片">—</span>{{end}}</td>
<td class="num">{{num .VisitCount}}</td>
<td class="num">{{dur .DwellMinutes}}</td>
<td class="muted">{{if .FirstAt}}{{d .FirstAt}}{{else}}—{{end}}</td>