1***@qq.com
1***@qq.com
  • 发布:2021-12-22 15:20
  • 更新:2021-12-22 15:20
  • 阅读:707

uniapp 如何设置横向滚动条位置

分类:uni-app

父节点设置overflow-x: scroll; 超出横向滚动
如何用点击事件设置横向滚动条滚动位置 50px
ref="parent"
this.$nextTick(()=>{
this.$refs.parent.scrollLeft=-200/200 无反应
})

2021-12-22 15:20 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复