1.0.4 • Published 6 years ago

kangkang-ui v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Install

npm install kangkang-ui -S

Quick Start

import Vue from 'vue'
import kk from 'kangkang-ui'

Vue.use(kk)

// or
import {
  Button
  // ...
} from 'kangkang-ui'

Vue.component(Button.name, Button)

slide使用方法

<Kk-slider class="homeSlid" :sliderList="sliderList" effect="left" autoPlay=true vis=3></Kk-slider>

data () {
    return {
          sliderList: [
                {
                      img: require('@/assets/slideImg1.jpg'),
                      txt: '效果图1'
                },
                {
                      img: require('@/assets/slideImg2.jpg'),
                      txt: '效果图2'
                },
                {
                      img: require('@/assets/slideImg3.jpg'),
                      txt: '效果图3'
                },
                {
                      img: require('@/assets/slideImg4.jpg'),
                      txt: '效果图4'
                }
          ]
    }
}
<!-- slide使用方法 end-->
1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago