返回 AiToEarn
agent-zh.hbs
1 <!DOCTYPE html>
2 <html lang="zh-CN">
3 <head>
4 <meta charset="UTF-8" />
5 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 <title>AiToEarn 代理任务执行结果</title>
8 <style>
9 * {
10 margin: 0;
11 padding: 0;
12 box-sizing: border-box;
13 }
14
15 body {
16 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
17 background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
18 min-height: 100vh;
19 display: flex;
20 align-items: center;
21 justify-content: center;
22 padding: 20px;
23 }
24
25 .container {
26 background: white;
27 border-radius: 12px;
28 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
29 padding: 40px;
30 width: 100%;
31 max-width: 600px;
32 text-align: center;
33 animation: fadeIn 0.5s ease-out;
34 }
35
36 @keyframes fadeIn {
37 from {
38 opacity: 0;
39 transform: translateY(-20px);
40 }
41 to {
42 opacity: 1;
43 transform: translateY(0);
44 }
45 }
46
47 .logo {
48 margin-bottom: 30px;
49 }
50
51 .logo-icon {
52 width: 60px;
53 height: 60px;
54 background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
55 border-radius: 50%;
56 display: inline-flex;
57 align-items: center;
58 justify-content: center;
59 margin-bottom: 15px;
60 }
61
62 .logo-icon::before {
63 content: "🤖";
64 font-size: 30px;
65 }
66
67 h1 {
68 color: #333;
69 font-size: 24px;
70 font-weight: 600;
71 margin-bottom: 20px;
72 }
73
74 .message {
75 font-size: 16px;
76 line-height: 1.6;
77 color: #6c757d;
78 margin-bottom: 30px;
79 }
80
81 .info-container {
82 background: #f8f9fa;
83 border-radius: 8px;
84 padding: 25px;
85 margin-bottom: 25px;
86 text-align: left;
87 border-left: 4px solid #667eea;
88 }
89
90 .info-item {
91 margin-bottom: 20px;
92 }
93
94 .info-item:last-child {
95 margin-bottom: 0;
96 }
97
98 .info-label {
99 font-weight: 600;
100 color: #495057;
101 margin-bottom: 8px;
102 display: block;
103 font-size: 14px;
104 letter-spacing: 0.5px;
105 }
106
107 .info-value {
108 color: #333;
109 font-size: 16px;
110 word-break: break-word;
111 }
112
113 .task-id {
114 font-family: 'Courier New', monospace;
115 background: white;
116 padding: 10px;
117 border-radius: 6px;
118 color: #667eea;
119 font-weight: 600;
120 }
121
122 .status {
123 display: inline-block;
124 padding: 8px 16px;
125 border-radius: 20px;
126 font-weight: 600;
127 font-size: 14px;
128 letter-spacing: 0.5px;
129 }
130
131 .status[class*="running"] {
132 background: #e3f2fd;
133 color: #1976d2;
134 }
135
136 .status[class*="completed"] {
137 background: #e8f5e9;
138 color: #2e7d32;
139 }
140
141 .status[class*="requires"] {
142 background: #fff3e0;
143 color: #e65100;
144 }
145
146 .status[class*="error"] {
147 background: #ffebee;
148 color: #c62828;
149 }
150
151 .description {
152 background: white;
153 padding: 15px;
154 border-radius: 6px;
155 line-height: 1.6;
156 white-space: pre-wrap;
157 }
158
159 .footer {
160 margin-top: 25px;
161 font-size: 14px;
162 color: #6c757d;
163 }
164
165 .divider {
166 height: 1px;
167 background: #e0e0e0;
168 margin: 20px 0;
169 }
170 </style>
171 </head>
172 <body>
173 <div class="container">
174 <div class="logo">
175 <div class="logo-icon"></div>
176 </div>
177
178 <h1>AiToEarn:代理任务执行结果</h1>
179
180 <div class="message">
181 您的代理任务已执行完毕,以下是详细信息:
182 </div>
183
184 <div class="info-container">
185 <div class="info-item">
186 <span class="info-label">任务 ID</span>
187 <div class="info-value">
188 <span class="task-id">{{ taskId }}</span>
189 </div>
190 </div>
191
192 <div class="divider"></div>
193
194 <div class="info-item">
195 <span class="info-label">状态</span>
196 <div class="info-value">
197 <span class="status status-{{ status }}">{{ status }}</span>
198 </div>
199 </div>
200
201 <div class="divider"></div>
202
203 <div class="info-item">
204 <span class="info-label">描述</span>
205 <div class="info-value">
206 <div class="description">{{ description }}</div>
207 </div>
208 </div>
209 </div>
210
211 <div class="footer">
212 感谢您使用 AiToEarn。如有任何问题,请联系我们的客服团队。
213 </div>
214 </div>
215 </body>
216 </html>
217
217 lines Plain Text