From 7d5431d85ae37cee81156a6610fb6a37c6e79d03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Mon, 7 Nov 2016 14:16:20 +0800 Subject: [PATCH] update some style update some style --- src/components/input/input.vue | 17 +++++++----- src/index.js | 1 - src/styles/components/tooltip.less | 2 +- src/styles/mixins/checkbox.less | 4 +-- test/app.vue | 1 + test/main.js | 5 ++++ test/routers/input.vue | 26 ++++++++++++++++++ test/routers/message.vue | 1 - test/routers/poptip.vue | 42 ++++++++++++++++++++++++++++-- 9 files changed, 86 insertions(+), 13 deletions(-) create mode 100644 test/routers/input.vue diff --git a/src/components/input/input.vue b/src/components/input/input.vue index 8735812d..bdc9acde 100644 --- a/src/components/input/input.vue +++ b/src/components/input/input.vue @@ -1,10 +1,12 @@ \ No newline at end of file diff --git a/test/routers/message.vue b/test/routers/message.vue index 632c194f..32d68364 100644 --- a/test/routers/message.vue +++ b/test/routers/message.vue @@ -106,7 +106,6 @@ } }, ready () { - this.info2(); // Message.config({ // top: 50, // duration: 8 diff --git a/test/routers/poptip.vue b/test/routers/poptip.vue index 4958cc8b..1d2448a8 100644 --- a/test/routers/poptip.vue +++ b/test/routers/poptip.vue @@ -27,9 +27,47 @@ padding: 8px 16px; text-align: left; } + .tip{ + width: 24px; + position: fixed; + top: 10px; + right: 10px; + } + .tip-inner{ + width: 24px; + height: 24px; + line-height: 22px; + text-align: center; + background: #fff; + border: 1px solid #3399ff; + color: #3399ff; + border-radius: 50%; + cursor: pointer; + } + .tip-content{ + width: 200px; + height: 100px; + white-space: normal; + }