Commit 8ceef5b4 authored by 郝聪敏's avatar 郝聪敏

Merge branch 'goods-other' into 'master'

fix: modal按钮问题修改

See merge request !23
parents b30cc2de a06728fc
......@@ -19,7 +19,7 @@
{{ content }}
</slot>
</div>
<div class="panel-foot">
<div class="panel-foot" :class="{ split: confirmBtn && cancelBtn }">
<cr-button size="large" block @click="onConcel" v-if="cancelBtn">
{{ cancelBtn }}
</cr-button>
......@@ -130,9 +130,11 @@ export default {
justify-content: space-between;
align-items: center;
padding: @padding-lg;
&.split {
.cr-button {
width: 48%;
}
}
}
}
</style>
......@@ -23,6 +23,16 @@ a {
border: 1px solid @button-warning-border-color !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 {
......
......@@ -80,8 +80,8 @@
@button-default-line-height: 36px;
@button-default-font-size: @font-size-12;
@button-default-color: @text-color;
@button-default-background-color: @white;
@button-default-border-color: @gray-2;
@button-default-background-color: @gray-1;
@button-default-border-color: @gray-1;
@button-primary-color: @blue;
@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