A:如果使用了scroll-view,可以使用scrollIntoView,或者scrollTop属性来设置 我们在即将发布的版本也会提供api,可以移动到页面的某一位置。 Q:订阅号里的开发管理页面在哪,上传的小程序版本找不到了呢? A:小程序和订阅号归属于不同的账号下,两者虽有绑定关系,但是小程序的版本管理要使用小程序的账号登录后进行操作,...
that.updatePosition(keyboardHeight) that.editorCtx.scrollIntoView() } }) },duration) }) }, updatePosition(keyboardHeight) { consttoolbarHeight=50 const{windowHeight,platform}=wx.getSystemInfoSync() leteditorHeight=keyboardHeight>0?(windowHeight-keyboardHeight-toolbarHeight) :windowHeight this.setData({e...
--upper-threshold:距顶部/左边多远时(单位px),触发scrolltoup事件默认值:50--!--lower-threshold:距底部/右边多远时(单位px),触发scrolltoup事件默认值:50--viewclass='section'viewclass='section_title'纵向滚动/viewscroll-viewscroll-y="true"bindscrolltoupper="upper"bindsrolltolower="lower"bindscroll="...
// .js // scroll-view 滚动到顶部时触发 bindscrolltoupper() { // 先更新列表数据 this.setData({ recycleList: getnewList() }, () => { // 更新完数据后再设置滚动位置 this.setData({ scrollintoview: scrollintoview }) }) } 为了解决界面跳动的问题,社区上也有通过翻转的方法来解决,将 scroll-...
editorCtx.scrollIntoView() } }) }, duration) }) }, updatePosition(keyboardHeight) { const toolbarHeight = 50 const { windowHeight, platform } = wx.getSystemInfoSync() let editorHeight = keyboardHeight > 0 ? (windowHeight - keyboardHeight - toolbarHeight) : windowHeight this.setData({ ...
that.editorCtx.scrollIntoView() } }) }, duration) }) }, updatePosition(keyboardHeight) { const toolbarHeight = 50 const { windowHeight, platform } = wx.getSystemInfoSync() let editorHeight = keyboardHeight > 0 ? (windowHeight - keyboardHeight - toolbarHeight) : windowHeight ...
that.editorCtx.scrollIntoView() } }) }, duration) }) }, updatePosition(keyboardHeight) { const toolbarHeight = 50 const { windowHeight, platform } = wx.getSystemInfoSync() let editorHeight = keyboardHeight > 0 ? (windowHeight - keyboardHeight - toolbarHeight) : windowHeight ...
that.editorCtx.scrollIntoView() } }) }, duration) }) }, updatePosition(keyboardHeight) { const toolbarHeight = 50 const { windowHeight, platform } = wx.getSystemInfoSync() let editorHeight = keyboardHeight > 0 ? (windowHeight - keyboardHeight - toolbarHeight) : windowHeight ...
that.editorCtx.scrollIntoView() } }) }, duration) }) }, updatePosition(keyboardHeight) { const toolbarHeight = 50 const { windowHeight, platform } = wx.getSystemInfoSync() let editorHeight = keyboardHeight > 0 ? (windowHeight - keyboardHeight - toolbarHeight) : windowHeight ...