From 7fc6bfe900790ec7c92bce85d5b20a95fbc06e65 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Wed, 15 Oct 2025 10:29:30 +0800
Subject: [PATCH] 其他人改的版本
---
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