diff --git a/index.html b/index.html index 3ff5c41..1b3a0bc 100644 --- a/index.html +++ b/index.html @@ -135,6 +135,15 @@ linkId = parmasResult.length > 0 ? parmasResult[0] : null; //链接携带落地页渲染id keyCode = parmasResult.length > 1 ? parmasResult[1] : null; //链接携带key } + if(linkId.length>10){ + req.axiosGetplan('/plan/plan_theme/' + linkId).then(res => { + if(res.code==200){ + console.log('开始跳转'); + window.location.href=res.data; + return; + } + }) + } req.axiosGetplan('/plan/plan_theme/' + linkId).then(res => { if (res.code == 200) { //内置页顶图 @@ -162,7 +171,7 @@ sessionStorage.setItem('haskey', keyCode); this.promttip = '正在加载商品...'; this.openDialog(); - window.location.replace("./homepage.html"); + //window.location.replace("./homepage.html"); } else { self.maskshow = true; self.tiptext = res.message;