未验证 提交 1b3fb12a 编写于 作者: W wandali2019 提交者: GitHub

Create swiper-item.js

上级 f7e45815
function getSwiperItem (weex) {
return {
name: 'SwiperItem',
props: {
itemId: {
type: String,
default: ''
}
},
render (createElement) {
return createElement('div', this._g({
staticClass: ['uni-swiper-item'],
staticStyle: {
position: 'absolute',
left: 0,
top: 0,
right: 0,
bottom: 0,
overflow: 'hidden'
}
}, this.$listeners), this._t('default'), 2)
}
}
}
export default function init (Vue, weex) {
Vue.component('swiper-item', getSwiperItem(weex))
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册