diff --git a/src/components/hzwlComponents/phone/PhoneScroll.vue b/src/components/hzwlComponents/phone/PhoneScroll.vue index 380484cc2..0d83b6446 100644 --- a/src/components/hzwlComponents/phone/PhoneScroll.vue +++ b/src/components/hzwlComponents/phone/PhoneScroll.vue @@ -85,18 +85,27 @@ export default { this.bs.finishPullUp() }) + this.bs.on('scroll', (x, y ,z) => { + console.log(x,y,z) + }) + } else { this.bs.refresh() } }) }, + scrollTo (x, y ,time, easing) { + if (this.bs) { + this.bs.scrollTo(x, y, time, easing) + } + } } } diff --git a/src/router/index.js b/src/router/index.js index eebcda262..c4165e399 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -114,8 +114,11 @@ const routes = [ { path: '/domesticStand', name: 'domesticStand', + component: () => import('@/pages/phone/domesticStand/index') + /* component: () => import('@/pages/phone/domesticStand') + */ }, { path: '/domesticDetails',