2026-08-06 16:33:45 +08:00
|
|
|
{{define "header"}}<!DOCTYPE html>
|
|
|
|
|
<html lang="zh-CN">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
<title>{{.Title}} · 采集采购管理端</title>
|
|
|
|
|
<link rel="stylesheet" href="/static/css/app.css">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<nav class="nav">
|
|
|
|
|
<span class="nav-brand">采集采购管理端</span>
|
|
|
|
|
<a href="/shopee" class="{{if eq .Active "shopee"}}active{{end}}">蝦皮数据</a>
|
2026-08-07 11:27:06 +08:00
|
|
|
<a href="/pdd" class="{{if eq .Active "pdd"}}active{{end}}">PDD 商品</a>
|
2026-08-06 16:33:45 +08:00
|
|
|
<a href="/syb" class="{{if eq .Active "syb"}}active{{end}}">顺运宝数据</a>
|
2026-08-07 15:16:05 +08:00
|
|
|
<a href="/tasks" class="{{if eq .Active "tasks"}}active{{end}}">采集采购</a>
|
2026-08-06 16:33:45 +08:00
|
|
|
<a href="/clients" class="{{if eq .Active "clients"}}active{{end}}">客户端列表</a>
|
2026-08-09 13:36:41 +08:00
|
|
|
{{if .CurrentUser}}
|
|
|
|
|
<span class="nav-user">{{.CurrentUser.Username}}</span>
|
|
|
|
|
<form class="nav-logout" method="post" action="/logout">
|
|
|
|
|
<input type="hidden" name="csrf_token" value="{{.CSRFToken}}">
|
|
|
|
|
<button type="submit">退出登录</button>
|
|
|
|
|
</form>
|
|
|
|
|
{{end}}
|
2026-08-06 16:33:45 +08:00
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
<main class="page">
|
|
|
|
|
{{end}}
|