From fe14fbb369b1c960e4602e084646bd4554a63411 Mon Sep 17 00:00:00 2001
From: guonan <guonan201020@163.com>
Date: 星期五, 18 四月 2025 20:41:41 +0800
Subject: [PATCH] 修改

---
 src/components/menu/TimeLine.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/components/menu/TimeLine.vue b/src/components/menu/TimeLine.vue
index c18c8b1..e24921f 100644
--- a/src/components/menu/TimeLine.vue
+++ b/src/components/menu/TimeLine.vue
@@ -1,7 +1,7 @@
 <template>
   <div class="timeline-container">
     <div class="controls">
-    <!-- <div @click="endSimulate">缁撴潫妯℃嫙</div> -->
+      <!-- <div @click="endSimulate">缁撴潫妯℃嫙</div> -->
       <div class="control-btn" @click="skipBackward">
         <img
           src="@/assets/img/timeline/left.png"
@@ -53,7 +53,6 @@
           :style="{ left: progressPercentage + '%' }"
         ></div>
         <div class="time-markers">
-
           <div
             v-for="(time, index) in timeMarkers"
             :key="index"
@@ -76,7 +75,7 @@
   watch,
   defineProps,
   onBeforeUnmount,
-  inject
+  inject,
 } from "vue";
 import dayjs from "dayjs";
 import { createWaterPrimitive, destoryWaterPrimitive } from "@/utils/water";
@@ -148,6 +147,7 @@
   if (!isPlaying.value && currentTime.value >= duration.value) {
     currentTime.value = 0;
     emit("timeUpdate", progressPercentage.value);
+    // earthCtrl.environment.disableEffect("rain");
   }
 
   isPlaying.value = !isPlaying.value;
@@ -165,6 +165,7 @@
 };
 
 const startPlayback = () => {
+  // earthCtrl.environment.showEffect("rain");
   clearInterval(playInterval);
   playInterval = setInterval(() => {
     currentTime.value += 600 * playbackRate.value;
@@ -186,6 +187,7 @@
 };
 
 const stopPlayback = () => {
+  // earthCtrl.environment.disableEffect("rain");
   clearInterval(playInterval);
 };
 
@@ -299,7 +301,6 @@
   }, delay);
 });
 const { startSimulate, endSimulate } = inject("simulateActions");
-
 </script>
 
 <style scoped>

--
Gitblit v1.9.3