From 77950c307b4b03c6039f11db84f37b9a46e4b965 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Fri, 18 Aug 2017 15:23:00 +0800 Subject: [PATCH] update ColorPicker --- examples/routers/color-picker.vue | 4 ++-- src/components/color-picker/color-picker.vue | 55 ++++++++++++++++++++++++++++++++----------------------- src/styles/components/color-picker.less | 7 ++++++- 3 files changed, 40 insertions(+), 26 deletions(-) diff --git a/examples/routers/color-picker.vue b/examples/routers/color-picker.vue index 445daba..ecddd36 100644 --- a/examples/routers/color-picker.vue +++ b/examples/routers/color-picker.vue @@ -4,7 +4,7 @@ - + @@ -17,7 +17,7 @@ props: {}, data () { return { - color: '', + color: 'rgba(255,255,255,.85)', color2: '' }; }, diff --git a/src/components/color-picker/color-picker.vue b/src/components/color-picker/color-picker.vue index 5c0fc64..9301d4a 100644 --- a/src/components/color-picker/color-picker.vue +++ b/src/components/color-picker/color-picker.vue @@ -1,5 +1,5 @@