Commit 7874ec2 1 parent cce310d commit 7874ec2 Copy full SHA for 7874ec2
File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,22 +12,22 @@ npm install vue-lottery --save
12
12
13
13
```
14
14
import lottery from "vue-lottery"
15
- Vue.use(" lottery" )
15
+ Vue.use(lottery)
16
16
```
17
17
18
18
## 调用示例
19
19
20
20
```
21
- <lottery
21
+ <lottery
22
22
@lotteryClick="lotteryClick"
23
23
@lotteryDone = "lotteryDone"
24
24
:lottery-start = "0"
25
25
:lottery-prizenum = "8"
26
26
:lottery-prizeno = "1"
27
- : lottery-bg = "https://venler.github.io/demo/vue-lottery/dist/turnplate-bg.png"
28
- : content-bg = "https://venler.github.io/demo/vue-lottery/dist/turntable.png"
29
- : pointer-bg = "https://venler.github.io/demo/vue-lottery/dist/pointer.png"
30
- :lottery-width = "[85%, 35%]"
27
+ lottery-bg = "https://venler.github.io/demo/vue-lottery/dist/turnplate-bg.png"
28
+ content-bg = "https://venler.github.io/demo/vue-lottery/dist/turntable.png"
29
+ pointer-bg = "https://venler.github.io/demo/vue-lottery/dist/pointer.png"
30
+ :lottery-width = "[' 85%',' 35%' ]"
31
31
>
32
32
</lottery>
33
33
```
You can’t perform that action at this time.
0 commit comments