From 68d29da2867a063c69162f19aee4e77e41120fe2 Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Thu, 19 Oct 2023 16:08:39 +0800 Subject: [PATCH] 1 --- pages/qianggou/productDetails.vue | 9 +++++++++ unpackage/dist/build/h5/index.html | 2 +- .../static/js/{index.3da1c2cd.js => index.5003f0e6.js} | 2 +- .../static/js/pages-qianggou-productDetails.09433ff3.js | 1 + .../static/js/pages-qianggou-productDetails.3b784f92.js | 1 - 5 files changed, 12 insertions(+), 3 deletions(-) rename unpackage/dist/build/h5/static/js/{index.3da1c2cd.js => index.5003f0e6.js} (99%) create mode 100644 unpackage/dist/build/h5/static/js/pages-qianggou-productDetails.09433ff3.js delete mode 100644 unpackage/dist/build/h5/static/js/pages-qianggou-productDetails.3b784f92.js diff --git a/pages/qianggou/productDetails.vue b/pages/qianggou/productDetails.vue index d896081..1780633 100644 --- a/pages/qianggou/productDetails.vue +++ b/pages/qianggou/productDetails.vue @@ -84,6 +84,15 @@ export default { this.getDetailsHandle(params.id); }, + watch:{ + secondNum(val){ + if(val<=0){ + clearImmediate(this.timer) + this.timer = null; + this.isDeadLine = true; + } + } + }, beforeDestroy(){ clearImmediate(this.timer) this.timer = null; diff --git a/unpackage/dist/build/h5/index.html b/unpackage/dist/build/h5/index.html index e5812a5..502de72 100644 --- a/unpackage/dist/build/h5/index.html +++ b/unpackage/dist/build/h5/index.html @@ -1,2 +1,2 @@