Fork me on GitHub
摘要: 1.npm install better-scroll 2.引入:import BetterScrol from 'better-scroll' 3. 在需要设置页面滚动的地方添加 ref="xxx" 用来操作dom 4.定义方法: 5.在请求数据完成之后调用该方法 3. 在需要设置页面滚动的地方添 阅读全文
posted @ 2018-09-28 22:26 欢欢11 阅读(157) 评论(0) 推荐(0) 编辑
摘要: .GoodList{ display :table; height :54px; width :56px; line-height: 14px padding: 0 12px .text{ display: table-cell; width: 56px; vertical-align: middl 阅读全文
posted @ 2018-09-28 14:44 欢欢11 阅读(140) 评论(0) 推荐(0) 编辑