- 添加了进行中、取消、完成/失败状态的 SVG 图标 -优化任务进度指示器,使用 SVG 并支持旋转动画 - 禁用跟卖许可筛查功能并更新提示文案 - 调整标签页样式和间距,适配不同屏幕尺寸 -修复状态横幅图标显示问题,并统一图标尺寸 - 更新全局样式以提升视觉一致性和用户体验
81 lines
1.8 KiB
HTML
81 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>正在启动...</title>
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
html, body { height: 100%; overflow: hidden; }
|
|
body {
|
|
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%; }
|
|
}
|
|
</style>
|
|
</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>
|
|
|
|
|