From 643c700e30ee7aa3eea77cf72ae1bca7460306b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Mon, 23 Sep 2019 14:35:16 +0800 Subject: [PATCH] update Notice title --- examples/routers/notice.vue | 4 ++++ src/styles/components/notice.less | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/routers/notice.vue b/examples/routers/notice.vue index f154d914..ffa06710 100644 --- a/examples/routers/notice.vue +++ b/examples/routers/notice.vue @@ -17,24 +17,28 @@ methods: { info (nodesc) { this.$Notice.info({ + duration: 10000, title: 'Notification title', desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. ' }); }, success (nodesc) { this.$Notice.success({ + duration: 10000, title: 'Notification title', desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. ' }); }, warning (nodesc) { this.$Notice.warning({ + duration: 10000, title: 'Notification title', desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. ' }); }, error (nodesc) { this.$Notice.error({ + duration: 10000, title: 'Notification title', desc: nodesc ? '' : 'Here is the notification description. Here is the notification description. ' }); diff --git a/src/styles/components/notice.less b/src/styles/components/notice.less index ae7f62de..058c0ab6 100644 --- a/src/styles/components/notice.less +++ b/src/styles/components/notice.less @@ -68,7 +68,7 @@ white-space: nowrap; } &-with-desc &-title{ - font-weight: bold; + //font-weight: bold; margin-bottom: 8px; }