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"; + } } /* 红包领取 */