{{define "title"}}{{if .UID}}编辑品牌{{else}}新建品牌{{end}} · 管理后台{{end}} {{define "barLabel"}}管理后台 · {{if .UID}}编辑品牌{{else}}新建品牌{{end}}{{end}} {{define "barRight"}}返回列表 · 退出{{end}} {{define "content"}} {{template "bar" .}}

{{if .UID}}编辑品牌{{else}}新建品牌{{end}}

{{if .Error}}
{{.Error}}
{{end}}
{{if .UID}}

抓取历史

每次抓取一条(每品牌保留最近 30 条)。这一层回答「什么时候爬的、爬了几场、哪次没抓到」。

{{if .CrawlLogs}} {{range .CrawlLogs}}{{end}}
时间结果明细耗时执行者
{{.TimeText}} {{.StatusText}} {{.Detail}} {{if .Elapsed}}{{.Elapsed}}{{else}}-{{end}} {{if .Worker}}{{.Worker}}{{else}}-{{end}}
{{else}}

还没有抓取记录。把品牌加入抓取队列后,每次抓取(抓到几场 / 失败原因 / 谁跑的)都会出现在这里。

{{end}}

更新记录

{{if .LastCrawl}}最近抓取:{{.LastCrawl}} · {{.CrawlStatus}}{{else}}还没有抓取记录{{end}} (只显示最近 30 条入库记录;抓取侧每品牌只保留最近一次的状态)

{{if .Records}} {{range .Records}}{{end}}
时间场次结果明细
{{.TimeText}} {{if .Title}}{{.Title}}{{else}}-{{end}} {{.OutcomeText}} {{.Detail}}
{{else}}

还没有入库记录。把品牌加入抓取队列后,每一场的处理结果(新建 / 已存在跳过 / 失败原因)都会出现在这里。

{{end}} {{end}}
{{end}}