1. 卡券管理 Cards.tsx 完整迁移原版功能: - API类型:URL、请求方法、超时、请求头、请求参数(支持变量插入) - 固定文字类型 - 批量数据类型 - 图片类型(上传功能) - 延时发货时间 - 备注信息(支持变量) - 多规格设置 2. 修复移动端侧边栏 Sidebar.tsx: - 抽屉打开时显示文字标签 - 修复 header、nav、admin section 在移动端的显示 3. 设置页面 AI 测试功能: - 添加账号选择器 - 修改 testAIConnection API 支持指定账号测试 4. 其他修复: - 卡券 API cards.ts 完整定义 CardData 类型 - 修复 vite 代理配置
27 lines
1.0 KiB
HTML
27 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>闲鱼自动回复管理系统</title>
|
|
<!-- 在页面加载前立即设置主题,避免闪白 -->
|
|
<script>
|
|
(function() {
|
|
var theme = localStorage.getItem('theme');
|
|
var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
|
|
if (theme === 'dark' || (!theme && prefersDark)) {
|
|
document.documentElement.classList.add('dark');
|
|
}
|
|
})();
|
|
</script>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|