HandleScroll () {if (this.$el.scrollTop > document.getelementById ('investment').offsettop-15) {if (this.$el.scrollTop > document.getelementById ('investment').offsettop-15) { this.scrollShow = true } else { this.scrollShow = false } if (this.$el.scrollTop + this.$el.offsetHeight >= this.$el.scrollHeight) { this.getGroupInvestInfo() } },Copy the code
Investment — the element whose ID is