feat(amazon): 更新商标筛查界面图标与状态展示- 将商标筛查状态图标从图片替换为 SVG 图标

- 添加了进行中、取消、完成/失败状态的 SVG 图标
-优化任务进度指示器,使用 SVG 并支持旋转动画
- 禁用跟卖许可筛查功能并更新提示文案
- 调整标签页样式和间距,适配不同屏幕尺寸
-修复状态横幅图标显示问题,并统一图标尺寸
- 更新全局样式以提升视觉一致性和用户体验
This commit is contained in:
2025-11-12 15:55:06 +08:00
parent cce281497b
commit cfb9096788
24 changed files with 994 additions and 783 deletions

View File

@@ -1,31 +1,78 @@
<!doctype html>
<html lang="zh-CN">
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>正在启动...</title>
<style>
html, body { height: 100%; margin: 0; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body {
background: #fff; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;
background-image: var(--splash-image, url('./image/splash_screen.png'));
background-repeat: no-repeat;
background-position: center;
background-size: cover;
display: flex;
flex-direction: column;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.image {
flex: 1;
background-image: __SPLASH_IMAGE__;
background-size: cover;
background-position: center;
}
.box {
height: 64px;
padding: 0 30px;
background: #fff;
display: flex;
align-items: center;
gap: 16px;
border-top: 1px solid #e8e8e8;
}
.text {
font-size: 14px;
color: rgba(0,0,0,0.85);
font-weight: 500;
white-space: nowrap;
}
.progress {
flex: 1;
height: 6px;
background: rgba(0,0,0,0.06);
border-radius: 10px;
overflow: hidden;
}
.bar {
height: 100%;
width: 0%;
background: linear-gradient(90deg, #1677ff 0%, #4096ff 100%);
border-radius: 10px;
animation: load 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.btn {
padding: 4px 15px;
background: #fff;
border: 1px solid #d9d9d9;
border-radius: 6px;
font-size: 14px;
color: rgba(0,0,0,0.65);
cursor: pointer;
white-space: nowrap;
transition: all 0.2s;
}
.btn:hover {
color: #1677ff;
border-color: #1677ff;
background: #f0f7ff;
}
@keyframes load {
to { width: 90%; }
}
.box { position: fixed; left: 0; right: 0; bottom: 28px; padding: 0 0; }
.progress { position: relative; width: 100vw; height: 6px; background: rgba(0,0,0,0.08); }
.bar { position: absolute; left: 0; top: 0; height: 100%; width: 20vw; min-width: 120px; background: linear-gradient(90deg, #67C23A, #409EFF); animation: slide 1s ease-in-out infinite alternate; }
@keyframes slide { 0% { left: 0; } 100% { left: calc(100vw - 20vw); } }
</style>
<link rel="icon" href="icon/icon.png">
<link rel="apple-touch-icon" href="icon/icon.png">
<meta name="theme-color" content="#ffffff">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src 'self' data: file: https:; style-src 'self' 'unsafe-inline';">
</head>
<body>
<div class="image"></div>
<div class="box">
<span class="text">正在启动</span>
<div class="progress"><div class="bar"></div></div>
<button class="btn" onclick="require('electron').ipcRenderer.send('quit-app')">退出</button>
</div>
</body>
</html>