From 4109bbc6c1ba17b8f0ebbe8a7a8c78852fd9a1b9 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Fri, 18 Aug 2017 17:33:19 +0800 Subject: [PATCH] update ColorPicker --- examples/routers/color-picker.vue | 12 ++++++------ src/components/color-picker/color-picker.vue | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------ src/styles/components/color-picker.less | 1 + 3 files changed, 85 insertions(+), 48 deletions(-) diff --git a/examples/routers/color-picker.vue b/examples/routers/color-picker.vue index b923325..194d75f 100644 --- a/examples/routers/color-picker.vue +++ b/examples/routers/color-picker.vue @@ -2,13 +2,13 @@
{{ color }} - - + + - + - - + +
@@ -17,7 +17,7 @@ props: {}, data () { return { - color: 'rgba(255,255,255,.85)', + color: 'rgba(12,34,255,.85)', color2: '' }; }, diff --git a/src/components/color-picker/color-picker.vue b/src/components/color-picker/color-picker.vue index 817d450..2bfa555 100644 --- a/src/components/color-picker/color-picker.vue +++ b/src/components/color-picker/color-picker.vue @@ -1,56 +1,66 @@