From bb235c743b37f6097dd81a3c2497d8b07ecbba92 Mon Sep 17 00:00:00 2001 From: chenjingyu Date: Sat, 17 Oct 2020 11:01:29 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9]=E5=8F=96=E6=B6=88=E8=BD=AC?= =?UTF-8?q?=E7=9B=98jquery=E6=96=87=E4=BB=B6=E5=85=A8=E5=B1=80=E5=BC=95?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/ui/luck-draw/luck-draw.component.html | 8 ++------ src/assets/js/zhuanpan.js | 6 +----- src/index.html | 4 ++-- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/src/app/ui/luck-draw/luck-draw.component.html b/src/app/ui/luck-draw/luck-draw.component.html index 7aac6aa..f45809d 100644 --- a/src/app/ui/luck-draw/luck-draw.component.html +++ b/src/app/ui/luck-draw/luck-draw.component.html @@ -4,7 +4,7 @@ * @Author: sueRimn * @Date: 2020-09-25 08:48:50 * @LastEditors: sueRimn - * @LastEditTime: 2020-10-14 09:08:17 + * @LastEditTime: 2020-10-17 10:59:46 --> @@ -49,11 +49,7 @@ - - - +
diff --git a/src/assets/js/zhuanpan.js b/src/assets/js/zhuanpan.js index 4f82521..bcfd817 100644 --- a/src/assets/js/zhuanpan.js +++ b/src/assets/js/zhuanpan.js @@ -20,11 +20,7 @@ $(document).ready(function(){ $("#Reset").on("click",function(){ drawRouletteWheel() $("#clickButton").attr("src", "../../../assets/images/turnplate-pointer.png") - for(var i=0;i<29;i++){ - localStorage.removeItem(i); - $("#endjieguo span").eq(i+1).html("") - $("#chooseZhi img").eq(i).hide() - } + localStorage.clear(); $('.pointer').removeClass("stop") }) for(var i=0;i<14;i++){ diff --git a/src/index.html b/src/index.html index 13afb2d..ba84f31 100644 --- a/src/index.html +++ b/src/index.html @@ -4,7 +4,7 @@ * @Author: sueRimn * @Date: 2020-09-25 08:48:54 * @LastEditors: sueRimn - * @LastEditTime: 2020-10-07 14:13:32 + * @LastEditTime: 2020-10-17 11:00:47 --> @@ -27,5 +27,5 @@ --> - +