From 70446f9de4d411d352c25b458c9d94e9700e4e97 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Mon, 5 Feb 2024 11:51:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=80=EF=B8=8F=20fix:=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- order.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/order.html b/order.html index 061eeab..152e779 100644 --- a/order.html +++ b/order.html @@ -209,6 +209,7 @@ } if (item.channel == 1) { if (item.goods.entity.receive_mode === 2) { + item.goods.available = 1; /* H5 领取 */ sessionStorage.setItem( "goodsInfo", @@ -259,6 +260,15 @@ location.replace(data.redirect_url); } } + if (item.channel == 3) { + item.goods.available = 1; + /* H5 领取 */ + sessionStorage.setItem( + "goodsInfo", + JSON.stringify(item.goods) + ); + location.href = "./ysf-reduce.html"; + } } /* 红包领取 */