diff --git a/components/home/index.vue b/components/home/index.vue index f1b92622..1fa37eb9 100644 --- a/components/home/index.vue +++ b/components/home/index.vue @@ -2,18 +2,16 @@ - - - + + + - + @@ -34,12 +32,8 @@ computed: mapGetters(["homeActive"]), methods: { setTouchMove(e) { - var that = this; if (e.touches[0].clientY < 545 && e.touches[0].clientY > 66) { - that.top = e.touches[0].clientY - // that.setData({ - // top: e.touches[0].clientY - // }) + this.top = e.touches[0].clientY } }, open: function() { @@ -47,12 +41,9 @@ this.$store.commit("CLOSE_HOME") : this.$store.commit("OPEN_HOME"); } - }, - created() { } }; -