diff --git a/packkey/bm-index.html b/packkey/bm-index.html
index 76dc3d7..1aab8e7 100644
--- a/packkey/bm-index.html
+++ b/packkey/bm-index.html
@@ -296,6 +296,19 @@
window.location.replace("./homepage.html");
}, 300)
} else {
+ // 倒计时
+ let out_time = sessionStorage.getItem("key_expiration_time");
+ if (out_time && Number(out_time) !== 0) {
+ const cls = setInterval(() => {
+ const new_out_time = pageOutTime(out_time);
+ if (new_out_time) {
+ state.outTime = new_out_time;
+ } else {
+ state.outTime = ['00', '00', '00'];
+ clearInterval(cls);
+ }
+ }, 1000);
+ }
state.goodsName = res.data[0].entity.product_name;
state.type = res.data[0].type; // 1商品 2立减金 3红包 4组合商品 -> 兑换码类型