From 4f4a6e4bac9bed0be2f576ea5badc3e183b38884 Mon Sep 17 00:00:00 2001 From: Eling <evanchen486@outlook.com> Date: Wed, 11 Oct 2023 08:17:29 +0800 Subject: [PATCH] fix: car animation --- components/page/index/PageIndexMap.vue | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/page/index/PageIndexMap.vue b/components/page/index/PageIndexMap.vue index 1758970..c2911da 100644 --- a/components/page/index/PageIndexMap.vue +++ b/components/page/index/PageIndexMap.vue @@ -4687,9 +4687,7 @@ export default { const showBeginingTitle = false; const beginingFinished = false; - //const beginingFinished = true; // TODO: 调试用 const showPolyU = false; - //const showPolyU = true; // TODO: 调试用 const enlargeTaxi = false; @@ -4714,7 +4712,6 @@ export default { }; }, mounted() { - ///* TODO: 调试用Start utils.lockScroll(); this.$scrollTo(".home"); window.scrollTo(0, 0); @@ -4910,13 +4907,11 @@ export default { playStartingAnimation(); } }); - //TODO: 调试用End */ this.$Scrollent.events.on( ["percentageChanged", this.$refs.road], (data) => { if (this.beginingFinished) { - console.log(data.to) this.enlargeTaxi = data.to > this.percentTaxi; } } @@ -4926,10 +4921,6 @@ export default { </script> <style lang='scss' scoped> -/*.map-wrap { - opacity: 0 !important; - /*TODO: 调试用 -}*/ .road { position: relative; -- GitLab