Bläddra i källkod

更新竹子热点遗漏的tip逻辑

aamin 1 år sedan
förälder
incheckning
7291812c92
1 ändrade filer med 3 tillägg och 2 borttagningar
  1. 3 2
      src/views/BambooHotView3/index.vue

+ 3 - 2
src/views/BambooHotView3/index.vue

@@ -185,6 +185,7 @@
         class="operation-h"
         text=""
         direction="h"
+        :is-show="isShowOperationTip"
       />
     </div>
   </div>
@@ -334,10 +335,10 @@ const animationFrameTask = () => {
   lastAnimationTimeStamp.value = timeStamp
   animationFrameId.value = requestAnimationFrame(animationFrameTask)
 }
-
+const isShowOperationTip = ref(true)
 const handleTouchstart = (e) => {
   if (hotVisible.value) return
-
+  isShowOperationTip.value = false
   isMouseDown.value = true
   moveSpeed.value = 0
   lastMoveEventTimeStamp.value = 0