yc-ui2 0.1.0-beta9 → 0.1.1-beta01

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -1,24 +1,30 @@
1
- # yc-ui2
1
+ ### 使用
2
2
 
3
- ## Project setup
4
- ```
5
- npm install
6
3
  ```
4
+ // 安装
5
+ $ npm install yc-ui2
7
6
 
8
- ### Compiles and hot-reloads for development
9
- ```
10
- npm run serve
11
- ```
7
+ // main.js 导入
8
+ import Ycui2 from 'yc-ui2'
12
9
 
13
- ### Compiles and minifies for production
14
- ```
15
- npm run build
10
+ Vue.use(Ycui2)
16
11
  ```
17
12
 
18
- ### Lints and fixes files
13
+ ### 组件
14
+
15
+ > YcSlideVerify
16
+
19
17
  ```
20
- npm run lint
18
+ <yc-slide-verify
19
+ :isShow="isShow"
20
+ @success="handleLogin"
21
+ @close="isShow = false"
22
+ />
21
23
  ```
22
24
 
23
- ### Customize configuration
24
- See [Configuration Reference](https://cli.vuejs.org/config/).
25
+ | Param | Type | Describe |
26
+ | ------- | ---------- | -------- |
27
+ | title | `String` | 滑动验证 |
28
+ | isShow | `Boolean` | 是否显示 |
29
+ | success | `Function` | 成功回调 |
30
+ | close | `Function` | 关闭显示 |