fix bugs

完善sample
修复slider
添加dots