From d548d3ab04b84f64949463e8d95e5dc26ab6e64a Mon Sep 17 00:00:00 2001 From: abearxiong Date: Sun, 2 Mar 2025 01:54:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=B7=E6=96=B0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/module/html/create-refresh-html.ts | 191 ++++++++++++++++++++++--- 1 file changed, 174 insertions(+), 17 deletions(-) diff --git a/src/module/html/create-refresh-html.ts b/src/module/html/create-refresh-html.ts index f6c4737..bd927c4 100644 --- a/src/module/html/create-refresh-html.ts +++ b/src/module/html/create-refresh-html.ts @@ -1,24 +1,173 @@ /** * 创建一个刷新页面,定时 * fetch('/api/proxy/refresh?user=user&app=app'), 如果返回200,则刷新页面 - * @param user - * @param app - * @returns + * @param {string} user - 用户名 + * @param {string} app - 应用名 + * @returns {string} - HTML字符串 */ -export const createRefreshHtml = (user: string, app: string) => { +export const createRefreshHtml = (user, app) => { return ` - + App: ${user}/${app} + -

App: ${user}/${app}

-

Loading...

-

如果长时间没有加载出来,请手动 刷新页面

-

loadCount: 0

+
+

+ 📱 + ${user}/${app} +

+ +
+

正在加载应用...

+
+

应用正在启动中,请稍候

+
+ +

如果长时间没有加载出来,请手动 刷新页面

+ +
+ 检查次数: + 0 +
+ + +
+ `; -}; +}; \ No newline at end of file