fix bugs and add new features (#25)

* fix bugs and add new features

* add unit test

* fix tab/tag/datetime-picker bugs
This commit is contained in:
TimeTraveler
2017-05-03 10:11:31 +08:00
committed by 张敏
parent 58bd17f142
commit 239d2e1e53
31 changed files with 134 additions and 27 deletions

View File

@@ -35,6 +35,11 @@
type: {
type: String,
default: 'line'
},
// 切换tab的动画时间
duration: {
type: Number,
default: 0.3
}
},
@@ -66,7 +71,8 @@
return {
width: offsetWidth,
transform: `translate3d(${offsetLeft}, 0px, 0px)`
transform: `translate3d(${offsetLeft}, 0px, 0px)`,
transitionDuration: `${this.duration}s`
};
}
},