1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| 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))
| }
|
|