Commit a06728fc authored by 郭志伟's avatar 郭志伟

fix: modal按钮问题修改

parent b30cc2de
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
{{ content }} {{ content }}
</slot> </slot>
</div> </div>
<div class="panel-foot"> <div class="panel-foot" :class="{ split: confirmBtn && cancelBtn }">
<cr-button size="large" block @click="onConcel" v-if="cancelBtn"> <cr-button size="large" block @click="onConcel" v-if="cancelBtn">
{{ cancelBtn }} {{ cancelBtn }}
</cr-button> </cr-button>
...@@ -130,8 +130,10 @@ export default { ...@@ -130,8 +130,10 @@ export default {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: @padding-lg; padding: @padding-lg;
.cr-button { &.split {
width: 48%; .cr-button {
width: 48%;
}
} }
} }
} }
......
...@@ -23,6 +23,16 @@ a { ...@@ -23,6 +23,16 @@ a {
border: 1px solid @button-warning-border-color !important; border: 1px solid @button-warning-border-color !important;
border-radius: @border-radius-md !important; border-radius: @border-radius-md !important;
} }
&--default {
color: @button-default-color !important;
background-color: @button-default-background-color !important;
border: 1px solid @button-default-border-color !important;
border-radius: @border-radius-md !important;
}
&--large {
height: @button-large-height !important;
line-height: @button-large-line-height !important;
}
} }
.cr-tag { .cr-tag {
......
...@@ -80,8 +80,8 @@ ...@@ -80,8 +80,8 @@
@button-default-line-height: 36px; @button-default-line-height: 36px;
@button-default-font-size: @font-size-12; @button-default-font-size: @font-size-12;
@button-default-color: @text-color; @button-default-color: @text-color;
@button-default-background-color: @white; @button-default-background-color: @gray-1;
@button-default-border-color: @gray-2; @button-default-border-color: @gray-1;
@button-primary-color: @blue; @button-primary-color: @blue;
@button-primary-background-color: #f4f5ff; @button-primary-background-color: #f4f5ff;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment