Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新日志(Changes log) #29

Open
warpcgd opened this issue Nov 21, 2017 · 9 comments
Open

更新日志(Changes log) #29

warpcgd opened this issue Nov 21, 2017 · 9 comments

Comments

@warpcgd
Copy link
Owner

warpcgd commented Nov 21, 2017

V2.2

嗨,拖了这么久才更新版本,实在抱歉,最近抽空做了2.2版本,主要更新内容如下:

  1. 处理了图片异步加载的问题
  2. 优化了css和dom排版
  3. 新增了loading slot,方便大家自定义loading效果
  4. 优化了事件返回的数据
  5. 新增各项配置和事件
  6. 修复反馈的BUG
  7. 制作了一份新的文档

具体的内容大家可以npm下载后查看,也可以进入新的文档查看,感谢大家的支持,有更好的建议欢迎大家留言,peace~

@warpcgd
Copy link
Owner Author

warpcgd commented Nov 29, 2017

V2.3

  1. 添加了fade渐变滑动效果

Repository owner locked and limited conversation to collaborators Nov 29, 2017
@warpcgd warpcgd changed the title v2.2 版本更新 Changes Log Nov 29, 2017
@warpcgd
Copy link
Owner Author

warpcgd commented Dec 21, 2017

V2.4

  1. 添加coverflow滑动效果
  2. 添加coverflow相关的配置

@warpcgd
Copy link
Owner Author

warpcgd commented Mar 2, 2018

V2.4.7

  1. pages添加自定义组件
  2. 整体添加resize事件监听

@warpcgd
Copy link
Owner Author

warpcgd commented Sep 7, 2018

V2.4.8 - V2.5.5

感谢大家的支持,最近组件提交很频繁,v2.5.5应该是v2最后一个版本,很快v3版本会上线,slider将会有更小的体积及更多的效果,尽请期待。

这次频繁的更新给大家带来了更多好的体验,包括:

  1. 新增slideritem组件,可以直接使用slot渲染page
  2. 可以自定义分页,使用renderPagination
  3. 分页显示与否
  4. 修复bug

@warpcgd
Copy link
Owner Author

warpcgd commented Sep 10, 2018

V3

相比V2版本,V3带来了更多体积及api上的改变,具体可以参看document

包括:

  1. 除了coverFlow效果以外,pages参数将没有作用,统一使用slot能达到更好的效果,具体请看demo
  2. 重写renderPage,解决多个组件同时使用的情况
  3. 优化代码逻辑及体积,目前从36KB压缩到了30KB

@warpcgd warpcgd changed the title Changes Log 更新日志(Changes log) Sep 18, 2018
@warpcgd
Copy link
Owner Author

warpcgd commented Sep 18, 2018

V3.1.0

在实际商业使用中发现,会有很多效果的需求,因此在此次更新中,

更新了:
1.当前切换slider-active
2.居中滑动centeredSlides
3.保证平滑滑动的itemAnimation
4.取消了父级事件的阻拦

@warpcgd
Copy link
Owner Author

warpcgd commented Sep 19, 2018

V3.2.0

根据最近的反馈,修改了touch和click事件中的preventDefault,目前逻辑是在touchmove和mousemove中进行判定和阻拦

if (deltaX >= deltaY && this.options.direction !== 'vertical') {
    e.preventDefault()
} else if (deltaX <= deltaY && this.options.direction === 'vertical') {
    e.preventDefault()
}

另外重构了coverflow效果,废弃coverflow组件,功能实现在slideritem组件中,至此,pages参数彻底废弃
例子请看demo

@warpcgd
Copy link
Owner Author

warpcgd commented Nov 5, 2018

V3.3.0

嗨,在这次更新中,新增了几项效果

更新了:
1.nested嵌套滚动效果
2.resize添加属性控制
3.跳转路由的问题,在这个版本得到了解决

@warpcgd
Copy link
Owner Author

warpcgd commented Dec 24, 2018

V3.3.6

最近一个月的更新新增了许多额外的配置,包括

  1. freeze,阻止全部滚动
  2. preventRebound,阻止边界的回弹
  3. slidesPerView,配合centeredSlides,设定每页仅能显示多少slideritem
  4. tap,sliderItem,添加了tap事件,避免使用click事件造成的其他问题

解决了这些问题:

  1. centeredSlides和slidesPerView,配合实现更多效果
  2. fix loop为true时,定时器的问题
  3. fix visibilitychange情况下,报错的问题

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant