From fab9d57071a7cc1dc1dcce0c9ee4640d20727251 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Sat, 18 Oct 2025 11:06:15 +0800
Subject: [PATCH] 1
---
src/components/otcCircle/index.vue | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/components/otcCircle/index.vue b/src/components/otcCircle/index.vue
index f39f149..a94c3a1 100644
--- a/src/components/otcCircle/index.vue
+++ b/src/components/otcCircle/index.vue
@@ -15,9 +15,11 @@
props: ['time','expireTime'],
data() {
return {
+
// time: 2 * 60 * 1000, // 剩余时间 15分钟,
currentTime: '', // 当前时间
progress: '', // 进度
+
arr: [
{
value: 0,
@@ -89,6 +91,7 @@
}
},
methods: {
+
handleChange(e) {
let restTime = e.minutes * 60 * 1000 + e.seconds * 1000 + e.milliseconds // 剩余毫秒
this.progress = ((restTime / 1000) / this.expireTime * 100).toFixed(0) // 进度
--
Gitblit v1.9.3