Commit f8b5f2ccd9d91c5185036db8bf5439963976c71c
1 parent
e773366f
锚点定位
Showing
1 changed file
with
1 additions
and
1 deletions
src/pages/pointsMall/pointsMall.vue
| ... | ... | @@ -174,7 +174,7 @@ export default { |
| 174 | 174 | safeDistance += this.$refs.backBox.$el.clientHeight; |
| 175 | 175 | } |
| 176 | 176 | |
| 177 | - document.documentElement.scrollTop = document.body.scrollTop = this.$refs[item.ref].offsetTop - safeDistance - (20 * ((document.documentElement.clientWidth || document.body.clientWidth) / 750)) - 60; | |
| 177 | + document.documentElement.scrollTop = document.body.scrollTop = this.$refs[item.ref].offsetTop - safeDistance - (20 * ((document.documentElement.clientWidth || document.body.clientWidth) / 750)) - 50; | |
| 178 | 178 | } |
| 179 | 179 | } else { |
| 180 | 180 | this.$refs.callApp.callApp; | ... | ... |