diff --git a/index.html b/index.html index a31df33..c9bf3ca 100644 --- a/index.html +++ b/index.html @@ -52,8 +52,8 @@

输入 API KEY

本站不保存 KEY 信息,查询后请自行保存

- + diff --git a/static/css-1.css b/static/css-1.css index edab410..aeca19e 100644 --- a/static/css-1.css +++ b/static/css-1.css @@ -13,11 +13,13 @@ mdui-button { .left-drawer-main{ padding:20px 10px 0 10px; /* background-color: rgba(var(--mdui-color-primary), 0.1); */ - height:calc(100vh - 84px); + /* height:calc(100vh - 84px); */ } .mdui-main-container{ - width:96%; - padding:20px auto 0 auto; + width:92%; + /* padding:20px auto 0 auto; */ + margin-left: auto; + margin-right: auto; } html, body { diff --git a/static/js.js b/static/js.js index 6de431d..dd61e74 100644 --- a/static/js.js +++ b/static/js.js @@ -360,7 +360,11 @@ function sendRequest() { let apiKey = apiKeys[i].trim(); if (queriedApiKeys.includes(apiKey)) { - console.log(`API KEY ${apiKey} 已查询过,跳过此次查询`); + mdui.alert({ + headline: "重复提示", + description: `API KEY ${apiKey} 已查询过,跳过此次查询`, + confirmText: "OK" + }) continue; } queriedApiKeys.push(apiKey);