From e33bdd048fdf4d5b8564aa79f28829eed5805d90 Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Fri, 25 Jul 2025 20:05:46 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=94=B9=E5=AF=86=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E6=94=B9=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- src/views/choujiang/Login.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 7867639..e2d1249 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - Vite + Vue + 弘历周年庆 diff --git a/src/views/choujiang/Login.vue b/src/views/choujiang/Login.vue index ac9994b..ef167d8 100644 --- a/src/views/choujiang/Login.vue +++ b/src/views/choujiang/Login.vue @@ -23,11 +23,11 @@ const handleLogin = () => { alert('请输入密码'); return; } - if (password.value == '000000') { + if (password.value == 'hl2025') { authStore.login(); router.push('/hxlCj'); } else { - if (password.value === '123456') { + if (password.value === 'hl2024') { // 添加登录状态存储 authStore.login(); // 使用Pinia登录方法 router.push('/choujiang'); From 3cd6cdfbca08cc5e84982febe2e32ddfe2051a62 Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Fri, 25 Jul 2025 20:09:10 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E5=A4=A7=E5=B0=8F=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=8E=B7=E5=A5=96=E5=90=8D=E5=8D=95=E7=9A=84=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/choujiang/hxl-cj/cj.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/choujiang/hxl-cj/cj.vue b/src/views/choujiang/hxl-cj/cj.vue index 26da184..bb84784 100644 --- a/src/views/choujiang/hxl-cj/cj.vue +++ b/src/views/choujiang/hxl-cj/cj.vue @@ -1579,7 +1579,7 @@ button { align-items: center; background-color: #ffd283; opacity: 0.8; - margin-left: 2vh; + margin-left: 0.8vh; margin-top: 3.5vh; cursor: pointer; position: relative; @@ -1717,6 +1717,7 @@ button { } .tableFoot { + font-size: 18px; color: #e64f39; display: flex; gap: 10px; @@ -1729,8 +1730,8 @@ button { /* background: linear-gradient(90deg, #ff9800 0%, #ff5722 100%); */ border-radius: 50%; display: flex; - width: 35px; - height: 35px; + width: 30px; + height: 30px; justify-content: center; /* align-items: center; */ } @@ -1741,8 +1742,8 @@ button { background: linear-gradient(90deg, #ff9800 0%, #ff5722 100%); border-radius: 50%; display: flex; - width: 35px; - height: 35px; + width: 30px; + height: 30px; justify-content: center; } From f74faaf131a11df24bb1849630c9be376580b6ce Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Fri, 25 Jul 2025 20:11:31 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E9=98=B2=E6=8A=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/choujiang/hxl-cj/cj.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/views/choujiang/hxl-cj/cj.vue b/src/views/choujiang/hxl-cj/cj.vue index bb84784..192dde9 100644 --- a/src/views/choujiang/hxl-cj/cj.vue +++ b/src/views/choujiang/hxl-cj/cj.vue @@ -93,9 +93,13 @@
- < + < {{ currentPage }}/{{ totalPage }} - > + >
@@ -341,6 +345,11 @@ const leftPage = async (item) => { leftPageBtn.style.background = "#ccc"; } }; + +const throttledleftPage = _.throttle(leftPage, 500, { + trailing: false, +}); + const rightPage = async (item) => { if (currentPage.value == totalPage.value) { return; @@ -370,6 +379,10 @@ const rightPage = async (item) => { } }; +const throttledrightPage = _.throttle(rightPage, 500, { + trailing: false, +}); + //揭示奖品 const lookPrize = async (item) => { // 未进入抽奖禁止揭晓