diff --git a/src/components/modal/confirm.js b/src/components/modal/confirm.js index 49d9291c..b943dcb3 100644 --- a/src/components/modal/confirm.js +++ b/src/components/modal/confirm.js @@ -19,14 +19,14 @@ Modal.newInstance = properties => {
-
{{{ title }}}
+
{{{ body }}}
@@ -53,8 +53,8 @@ Modal.newInstance = properties => { computed: { iconTypeCls () { return [ - `${prefixCls}-head-icon`, - `${prefixCls}-head-icon-${this.iconType}` + `${prefixCls}-body-icon`, + `${prefixCls}-body-icon-${this.iconType}` ] }, iconNameCls () { diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue index 11e8dcc1..55129c34 100644 --- a/src/components/modal/modal.vue +++ b/src/components/modal/modal.vue @@ -12,7 +12,7 @@
- {{ cancelText }} + {{ cancelText }} {{ okText }}
diff --git a/src/components/poptip/poptip.vue b/src/components/poptip/poptip.vue index 0b85f58a..79b760da 100644 --- a/src/components/poptip/poptip.vue +++ b/src/components/poptip/poptip.vue @@ -21,7 +21,7 @@
{{ title }}
- {{ cancelText }} + {{ cancelText }} {{ okText }}
diff --git a/src/styles/components/button.less b/src/styles/components/button.less index 39ca7f6e..4f27cc1f 100644 --- a/src/styles/components/button.less +++ b/src/styles/components/button.less @@ -66,10 +66,6 @@ .btn-color(@info-color); } - //&-dashed { - // .btn-dashed; - //} - &-circle, &-circle-outline { .btn-circle(@btn-prefix-cls); diff --git a/src/styles/components/modal.less b/src/styles/components/modal.less index 3dacfd4e..4c130957 100644 --- a/src/styles/components/modal.less +++ b/src/styles/components/modal.less @@ -79,15 +79,30 @@ } .@{confirm-prefix-cls} { - padding: 10px 25px 20px; + padding: 0 4px; &-head { - &-icon { + + &-title { display: inline-block; - font-size: 28px; - margin-right: 5px; - padding: 0 1px; - position: relative; - top: 5px; + font-size: @font-size-base; + color: @title-color; + font-weight: 700; + } + } + + &-body{ + margin-top: 6px; + padding-left: 48px; + padding-top: 18px; + font-size: @font-size-small; + color: @text-color; + position: relative; + + &-icon { + font-size: 36px; + position: absolute; + top: 0; + left: 0; &-info { color: @primary-color; @@ -105,24 +120,10 @@ color: @warning-color; } } - - &-title { - display: inline-block; - font-size: @font-size-base; - color: @text-color; - font-weight: 700; - } - } - - &-body{ - margin-left: 35px; - margin-top: 8px; - font-size: 12px; - color: @text-color; } &-footer{ - margin-top: 20px; + margin-top: 40px; text-align: right; button + button { diff --git a/src/styles/mixins/button.less b/src/styles/mixins/button.less index a8fd0b25..045c87b3 100644 --- a/src/styles/mixins/button.less +++ b/src/styles/mixins/button.less @@ -222,7 +222,7 @@ // Text .btn-text() { - .button-variant(@link-color, @btn-ghost-bg, transparent); + .button-variant(@btn-ghost-color, @btn-ghost-bg, transparent); // for disabled &.disabled, diff --git a/test/routers/button.vue b/test/routers/button.vue index 6345778f..cdaa53a7 100644 --- a/test/routers/button.vue +++ b/test/routers/button.vue @@ -7,7 +7,7 @@ 按钮

-
+
按钮


diff --git a/test/routers/message.vue b/test/routers/message.vue index d40a657f..012292c9 100644 --- a/test/routers/message.vue +++ b/test/routers/message.vue @@ -1,41 +1,43 @@