From 650d59623397ae7007d2db411dfa02b686364d68 Mon Sep 17 00:00:00 2001 From: MuXia_Firm <504792896@qq.com> Date: Thu, 24 Mar 2022 10:50:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E9=80=82=E9=85=8D=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E6=9B=B4=E6=94=B9=E6=88=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/js/myHelper.js | 6 +++--- src/main/resources/templates/bili/bili-helper-add.html | 9 +++++---- src/main/resources/templates/bili/bili-helper-edit.html | 2 +- src/main/resources/templates/login.html | 3 +++ .../templates/miyoushe/miyoushe-helper-add.html | 2 +- .../templates/miyoushe/miyoushe-helper-edit.html | 2 +- .../resources/templates/myHelper/my-helper-edit.html | 2 +- src/main/resources/templates/myHelper/my-helper.html | 2 +- .../resources/templates/myHelper/webhook-generate.html | 2 +- .../templates/netmusic/netmusic-helper-add.html | 2 +- .../templates/netmusic/netmusic-helper-edit.html | 2 +- src/main/resources/templates/reg.html | 3 +++ 12 files changed, 22 insertions(+), 15 deletions(-) diff --git a/src/main/resources/static/js/myHelper.js b/src/main/resources/static/js/myHelper.js index 367cf59d..f6526880 100644 --- a/src/main/resources/static/js/myHelper.js +++ b/src/main/resources/static/js/myHelper.js @@ -176,7 +176,7 @@ function miyousheHtml(data) { data.forEach(function(miyousheUser) { - _miyousheHtml += '
'; + _miyousheHtml += '
'; _miyousheHtml += '
'; _miyousheHtml += '
' + miyousheUser.name; @@ -257,7 +257,7 @@ function netmusicHtml(data) { data.forEach(function(netmusicUser) { - _netmusicHtml += '
'; + _netmusicHtml += '
'; _netmusicHtml += '
'; _netmusicHtml += '
' + netmusicUser.name; @@ -344,7 +344,7 @@ function bilibiliHtml(data) { data.forEach(function(bilibiliUser) { - _bilibiliHtml += '
'; + _bilibiliHtml += '
'; _bilibiliHtml += '
'; _bilibiliHtml += '
' + bilibiliUser.planName; diff --git a/src/main/resources/templates/bili/bili-helper-add.html b/src/main/resources/templates/bili/bili-helper-add.html index 9419c6c4..032d9409 100644 --- a/src/main/resources/templates/bili/bili-helper-add.html +++ b/src/main/resources/templates/bili/bili-helper-add.html @@ -203,7 +203,7 @@
-
+
@@ -283,7 +283,7 @@ layer.open({ type: 1, title: '扫码后自动填充前三项', - area: ["400px", "443px"], + area: screen() < 2 ? ['65%', '50%'] : ["400px", "443px"], shade: 0.7, id: 'LAY_layuipro', maxmin: false, @@ -291,12 +291,13 @@ content: '
正在获取二维码
', zIndex: layer.zIndex, success: function (layero) { + var width = $("#qrcode").width(); $.get("/api/user/bili/qrcode", {}, function (data) { $('#qrcode').html(""); $('#qrcode').qrcode({ render: "canvas", - width: 375, - height: 375, + width: screen() < 2 ? Math.ceil(width * 0.75) : 375, + height: screen() < 2 ? Math.ceil(width * 0.75) : 375, text: "https://passport.bilibili.com/qrcode/h5/login?oauthKey=" + data.data }); t2 = window.setInterval(function () { diff --git a/src/main/resources/templates/bili/bili-helper-edit.html b/src/main/resources/templates/bili/bili-helper-edit.html index a2936b4c..bde72a51 100644 --- a/src/main/resources/templates/bili/bili-helper-edit.html +++ b/src/main/resources/templates/bili/bili-helper-edit.html @@ -178,7 +178,7 @@
-
+
diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html index f821bcfd..89c66fa5 100644 --- a/src/main/resources/templates/login.html +++ b/src/main/resources/templates/login.html @@ -4,6 +4,9 @@ 登录页面 + + + diff --git a/src/main/resources/templates/miyoushe/miyoushe-helper-add.html b/src/main/resources/templates/miyoushe/miyoushe-helper-add.html index d3353851..d446ceec 100644 --- a/src/main/resources/templates/miyoushe/miyoushe-helper-add.html +++ b/src/main/resources/templates/miyoushe/miyoushe-helper-add.html @@ -74,7 +74,7 @@

关于cookie的说明

-
+
diff --git a/src/main/resources/templates/miyoushe/miyoushe-helper-edit.html b/src/main/resources/templates/miyoushe/miyoushe-helper-edit.html index c034a831..6d42f60e 100644 --- a/src/main/resources/templates/miyoushe/miyoushe-helper-edit.html +++ b/src/main/resources/templates/miyoushe/miyoushe-helper-edit.html @@ -49,7 +49,7 @@
-
+
diff --git a/src/main/resources/templates/myHelper/my-helper-edit.html b/src/main/resources/templates/myHelper/my-helper-edit.html index 7d93ca76..75e4d435 100644 --- a/src/main/resources/templates/myHelper/my-helper-edit.html +++ b/src/main/resources/templates/myHelper/my-helper-edit.html @@ -21,7 +21,7 @@
-
+
diff --git a/src/main/resources/templates/myHelper/webhook-generate.html b/src/main/resources/templates/myHelper/webhook-generate.html index 46701470..60d03ca8 100644 --- a/src/main/resources/templates/myHelper/webhook-generate.html +++ b/src/main/resources/templates/myHelper/webhook-generate.html @@ -148,7 +148,7 @@
-
+
diff --git a/src/main/resources/templates/netmusic/netmusic-helper-add.html b/src/main/resources/templates/netmusic/netmusic-helper-add.html index 3ef5a77a..132f38a2 100644 --- a/src/main/resources/templates/netmusic/netmusic-helper-add.html +++ b/src/main/resources/templates/netmusic/netmusic-helper-add.html @@ -57,7 +57,7 @@
-
+
diff --git a/src/main/resources/templates/netmusic/netmusic-helper-edit.html b/src/main/resources/templates/netmusic/netmusic-helper-edit.html index bf266a51..a9c72012 100644 --- a/src/main/resources/templates/netmusic/netmusic-helper-edit.html +++ b/src/main/resources/templates/netmusic/netmusic-helper-edit.html @@ -41,7 +41,7 @@
-
+
diff --git a/src/main/resources/templates/reg.html b/src/main/resources/templates/reg.html index 2152d683..41e4942e 100644 --- a/src/main/resources/templates/reg.html +++ b/src/main/resources/templates/reg.html @@ -4,6 +4,9 @@ 注册页面 + + +