newPage
newPage
  • 发布:2022-12-30 22:44
  • 更新:2022-12-31 15:39
  • 阅读:138

uni 动画向下移除屏幕

分类:uni-app
            let buttonA = uni.createAnimation({  
                duration: 1000,  
                timingFunction: 'ease-in',  
            })  
            buttonA.translate(0, distance).step()  
            this.buttonAnimation = buttonA.export();  

h5中,这个代码,移动超出屏幕高度之后,界面的高度会变得更高,但是左右移动的动画不会让屏幕的宽度变大

有办法做到view向下移除屏幕吗

2022-12-30 22:44 负责人:无 分享
已邀请:
DCloud_UNI_WZF

DCloud_UNI_WZF

容器设置 max-height 及 overflow:hidden

要回复问题请先登录注册