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] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=86=E9=A1=B5=E9=98=B2?= =?UTF-8?q?=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) => { // 未进入抽奖禁止揭晓