Commit
c6faec44a8d2940dba82e7fe303079f7ff7c2641
Authored by
梁灏
init ColorPicker
...
|
...
|
@@ -55,6 +55,7 @@ li + li { border-left: solid 1px #bbb; padding-left: 10px; margin-left: 10px; } |
55
|
55
|
<li><router-link to="/message">Message</router-link></li> |
56
|
56
|
<li><router-link to="/notice">Notice</router-link></li> |
57
|
57
|
<li><router-link to="/avatar">Avatar</router-link></li> |
|
58
|
+ <li><router-link to="/color-picker">ColorPicker</router-link></li> |
58
|
59
|
</ul> |
59
|
60
|
</nav> |
60
|
61
|
<router-view></router-view> |
...
|
...
|
|
...
|
...
|
@@ -184,6 +184,10 @@ const router = new VueRouter({ |
184
|
184
|
{ |
185
|
185
|
path: '/avatar', |
186
|
186
|
component: require('./routers/avatar.vue') |
|
187
|
+ }, |
|
188
|
+ { |
|
189
|
+ path: '/color-picker', |
|
190
|
+ component: require('./routers/color-picker.vue') |
187
|
191
|
} |
188
|
192
|
] |
189
|
193
|
}); |
...
|
...
|
|
|
1
|
+<template> |
|
2
|
+ |
|
3
|
+</template> |
|
4
|
+<script> |
|
5
|
+ export default { |
|
6
|
+ props: {}, |
|
7
|
+ data () { |
|
8
|
+ return {}; |
|
9
|
+ }, |
|
10
|
+ computed: {}, |
|
11
|
+ methods: {} |
|
12
|
+ }; |
|
13
|
+</script> |
0
|
14
|
\ No newline at end of file |
...
|
...
|
|
|
1
|
+<template> |
|
2
|
+ |
|
3
|
+</template> |
|
4
|
+<script> |
|
5
|
+ export default { |
|
6
|
+ props: {}, |
|
7
|
+ data () { |
|
8
|
+ return {}; |
|
9
|
+ }, |
|
10
|
+ computed: {}, |
|
11
|
+ methods: {} |
|
12
|
+ }; |
|
13
|
+</script> |
0
|
14
|
\ No newline at end of file |
...
|
...
|
|
|
1
|
+import ColorPicker from './color-picker.vue'; |
|
2
|
+export default ColorPicker; |
0
|
3
|
\ No newline at end of file |
...
|
...
|
|
|
1
|
+@color-picker-prefix-cls: ~"@{css-prefix}color-picker"; |
|
2
|
+ |
|
3
|
+.@{color-picker-prefix-cls} { |
|
4
|
+ |
|
5
|
+} |
0
|
6
|
\ No newline at end of file |
...
|
...
|
|
...
|
...
|
@@ -39,4 +39,5 @@ |
39
|
39
|
@import "rate"; |
40
|
40
|
@import "upload"; |
41
|
41
|
@import "tree"; |
42
|
|
-@import "avatar"; |
43
|
42
|
\ No newline at end of file |
|
43
|
+@import "avatar"; |
|
44
|
+@import "color-picker"; |
44
|
45
|
\ No newline at end of file |
...
|
...
|
|