From 0f8af73b78d75a3d5cba0dcfd47d2fcb63e2874b Mon Sep 17 00:00:00 2001 From: red-deng-deng <1924913374@qq.com> Date: Mon, 24 Jan 2022 15:25:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E6=AD=A2=E5=95=86=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=E8=BF=9E=E7=BB=AD=E8=BE=93=E5=85=A5=E8=BF=94?= =?UTF-8?q?=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exchange.html | 8 +++++--- homepage.html | 20 +++++++++++--------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/exchange.html b/exchange.html index b518230..66d22b6 100644 --- a/exchange.html +++ b/exchange.html @@ -160,7 +160,7 @@ this.backAble=goodsCount>1; this.bgcolor = detailsConfig.button_color; this.bgcolor = '#f00' - + this.ftcolor = detailsConfig.font_color; this.describe = detailsConfig.describe; this.goodInfo = JSON.parse(sessionStorage.getItem('goodsInfo')); @@ -180,7 +180,8 @@ backgoodsFn() { let goodsCount=sessionStorage.getItem('goodsCount'); if(goodsCount>1){ - window.location.replace(document.referrer); + // window.location.replace(document.referrer); + window.location.replace('./homepage.html'); }else{ history.go(-2); } @@ -300,7 +301,8 @@ let goodsCount=sessionStorage.getItem('goodsCount'); if(goodsCount>1){ setTimeout(() => { - window.location.replace(document.referrer); + // window.location.replace(document.referrer); + window.location.replace('./homepage.html'); }, 3000); }else{ let backUrl=window.history.length; diff --git a/homepage.html b/homepage.html index e8bb451..34298dd 100644 --- a/homepage.html +++ b/homepage.html @@ -62,7 +62,7 @@