From c8d60887f4aeb2ba6f776247b936fc33e3eaa05a Mon Sep 17 00:00:00 2001 From: Dragon <13925835632@139.com> Date: Wed, 13 Dec 2023 16:42:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E7=B9=81=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/peko/modules/boxActivity/css/index.css | 5 ++-- view/peko/modules/boxActivity/css/index.scss | 5 ++-- view/peko/modules/boxActivity/index.html | 28 ++++++++++---------- view/peko/modules/boxActivity/js/index.js | 6 ++--- 4 files changed, 23 insertions(+), 21 deletions(-) diff --git a/view/peko/modules/boxActivity/css/index.css b/view/peko/modules/boxActivity/css/index.css index c28f441..04fd00b 100644 --- a/view/peko/modules/boxActivity/css/index.css +++ b/view/peko/modules/boxActivity/css/index.css @@ -1,8 +1,9 @@ html, body { width: 100%; - background: url(../images/bg.png) no-repeat; - background-size: 10rem 39.94667rem; + background-image: url(../images/bg.png); + background-size: 100% 39.94667rem; + background-repeat: no-repeat; } .rabbit { diff --git a/view/peko/modules/boxActivity/css/index.scss b/view/peko/modules/boxActivity/css/index.scss index aa47e44..4ca336c 100644 --- a/view/peko/modules/boxActivity/css/index.scss +++ b/view/peko/modules/boxActivity/css/index.scss @@ -5,8 +5,9 @@ html, body { width: 100%; - background: url(../images/bg.png) no-repeat; - background-size: px2rem(750) px2rem(2996); + background-image: url(../images/bg.png); + background-size: 100% px2rem(2996); + background-repeat: no-repeat; } .rabbit { diff --git a/view/peko/modules/boxActivity/index.html b/view/peko/modules/boxActivity/index.html index 58a7cbd..8fe26b8 100644 --- a/view/peko/modules/boxActivity/index.html +++ b/view/peko/modules/boxActivity/index.html @@ -4,7 +4,7 @@ - 宝箱 + 寶箱 @@ -14,15 +14,15 @@
- +
- +
-
宝箱介绍
-
手气榜
+
寶箱介紹
+
手氣榜
- +
@@ -47,32 +47,32 @@
- +
- +
- +
-
+
- +

活動最終解釋權歸Piko Live所有

本活動以及獎勵與Google/蘋果公司無

diff --git a/view/peko/modules/boxActivity/js/index.js b/view/peko/modules/boxActivity/js/index.js index fec230e..052c8b1 100644 --- a/view/peko/modules/boxActivity/js/index.js +++ b/view/peko/modules/boxActivity/js/index.js @@ -54,7 +54,7 @@ $(function () { getRank(); }, 100) }) -// 榜单接口 +// 榜單接口 function getRank () { $('.page2 .div').remove(); showLoading() @@ -96,7 +96,7 @@ function getRank () { } }) } -// 页面切换 +// 頁面切換 $('.tab div').click(function () { var i = $(this).index() + 1; page = i; @@ -108,7 +108,7 @@ $('.tab div').click(function () { getRank(); } }) -// 宝箱切换 +// 寶箱切換 $('.boxTab .box').click(function () { var i = $(this).index(); giftId = boxId[i];