From a4ac3fdff37d8369d7143a509c50af3d6353d9cd Mon Sep 17 00:00:00 2001 From: dy <1197793912@qq.com> Date: Tue, 20 Apr 2021 13:39:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=B4=BB=E5=8A=A8=E6=B5=81?= =?UTF-8?q?=E8=BD=AC=E8=B7=AF=E5=BE=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/public/act/guide.html | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/sino-act-web/src/main/resources/public/act/guide.html b/sino-act-web/src/main/resources/public/act/guide.html index cd14fa25b..c81d72aea 100644 --- a/sino-act-web/src/main/resources/public/act/guide.html +++ b/sino-act-web/src/main/resources/public/act/guide.html @@ -149,10 +149,18 @@ var flag = $("#flag").val(); //根据不同玩法跳转不同页面 //todo 添加不同类型跳转页面 - if (flag == "0"){ - window.location.href='qrCode.html?drawCode='+drawCode; - }else{ - window.location.href='scratchcard.html?drawCode='+drawCode; + switch (flag){ + case "1"://大转盘 + window.location.href='../draw/turntable.html?drawCode='+drawCode; + break; + case "2"://刮刮卡 + window.location.href='../draw/scratchcard.html?drawCode='+drawCode; + break; + case "3"://娃娃机 + window.location.href='../doll/index.html?drawCode='+drawCode; + break; + default://暂不选择 + window.location.href='scratchcard.html?drawCode='+drawCode; } } function btn2show(){