Skip to content

Commit 03b469b

Browse files
孙新刚lichunqiang
authored andcommitted
x-swiper: new component added
1 parent 97e8c9d commit 03b469b

File tree

10 files changed

+7110
-2
lines changed

10 files changed

+7110
-2
lines changed

.eslintignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src/assets/*/*.js
22
src/components/calendar/calendar.js
3-
src/libs/eventor.js
3+
src/libs/eventor.js
4+
src/components/x-swiper/swiper.dom.js
5+
src/components/x-swiper/swiper.js

src/components/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ import Badge from './badge'
6767
import Dialog from './dialog'
6868
import Card from './card'
6969
import Previewer from './previewer'
70+
import { XSwiper, XSwiperItem } from './x-swiper'
7071

7172
const vux = {
7273
Radio,
@@ -139,7 +140,9 @@ const vux = {
139140
Badge,
140141
Dialog,
141142
Card,
142-
Previewer
143+
Previewer,
144+
XSwiper,
145+
XSwiperItem
143146
}
144147

145148
module.exports = vux

src/components/x-swiper/Slide.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<template>
2+
<div class="vux-swiper-slide">
3+
<slot></slot>
4+
</div>
5+
</template>
6+
7+
<script>
8+
export default {
9+
}
10+
</script>

0 commit comments

Comments
 (0)