Commit 72f0fdba by 胡悦

修改样式

1 parent 9ec86729
<template>
<div>
<el-dialog :title="title" :visible.sync="isVisible" :before-close="handleClose" :close-on-click-modal="false" :width="width" :show-close="isShowCloseBtn" class="app-dialog">
<el-dialog
:title="title"
:visible.sync="isVisible"
:before-close="handleClose"
:close-on-click-modal="false"
:width="width"
:show-close="isShowCloseBtn"
class="app-dialog"
>
<!-- :modal-append-to-body="false"
:append-to-body="true" -->
:append-to-body="true"-->
<div class="container">
<slot></slot>
</div>
<div slot="footer">
<slot name="btn-front"></slot>
<el-button @click="handleClose">取消</el-button>
<el-button type="primary" @click="handleConfirm" :loading="btnLoading">{{ btnOkLabel }}</el-button>
<el-button size="small" @click="handleClose">取消</el-button>
<el-button
type="primary"
size="small"
@click="handleConfirm"
:loading="btnLoading"
>{{ btnOkLabel }}</el-button>
<!-- isShowThirdBtn 产品说暂时不要这个按钮-->
<!-- <el-button v-if="false" @click="btnClick">创建标签</el-button> -->
......@@ -68,17 +81,17 @@ export default {
<style lang="scss">
.app-dialog {
.el-dialog__header {
padding: 20px 20px 10px;
}
.el-dialog__footer {
padding: 15px;
background: #fff;
}
// .el-dialog__header {
// padding: 20px 20px 10px;
// }
// .el-dialog__footer {
// // padding: 15px;
// background: #fff;
// }
.el-dialog__body {
padding: 0;
border-top: 1px solid #eaeefb;
border-bottom: 1px solid #eaeefb;
// border-top: 1px solid #eaeefb;
// border-bottom: 1px solid #eaeefb;
min-height: 250px;
// max-height: 636px;
overflow-y: auto;
......
......@@ -21,54 +21,54 @@
line-height: 28px;
}
.el-dialog__footer {
.el-button+.el-button {
margin-left: 20px;
}
// .el-dialog__footer {
// .el-button+.el-button {
// margin-left: 20px;
// }
.el-button {
font-size: 14px;
font-weight: 400;
padding: 9px 21px;
background: $btnBlue;
border-radius: 4px;
}
// .el-button {
// font-size: 14px;
// font-weight: 400;
// padding: 9px 21px;
// background: $btnBlue;
// border-radius: 4px;
// }
.el-button:first-child {
background: #ffffff;
border-radius: 4px;
border: 1px solid #999999;
box-sizing: border-box;
font-weight: 600;
color: #999999;
&:hover{
border-color: $btnBlue;
color: $btnBlue;
}
}
.el-button:nth-child(2){
// height: 32px;
background: $btnBlue;
border: 1px solid $btnBlue;
color: #fff;
border:1px solid $btnBlue;
&:hover{
background-color: $lightBtnBlue;
border:1px solid $lightBtnBlue;
}
}
.el-button:nth-child(3){
background: #ffffff;
border: 1px solid #999999;
box-sizing: border-box;
font-weight: 600;
color: #999999;
&:hover{
border-color: $btnBlue;
color: $btnBlue;
}
}
}
// .el-button:first-child {
// background: #ffffff;
// border-radius: 4px;
// border: 1px solid #999999;
// box-sizing: border-box;
// font-weight: 600;
// color: #999999;
// &:hover{
// border-color: $btnBlue;
// color: $btnBlue;
// }
// }
// .el-button:nth-child(2){
// // height: 32px;
// background: $btnBlue;
// border: 1px solid $btnBlue;
// color: #fff;
// border:1px solid $btnBlue;
// &:hover{
// background-color: $lightBtnBlue;
// border:1px solid $lightBtnBlue;
// }
// }
// .el-button:nth-child(3){
// background: #ffffff;
// border: 1px solid #999999;
// box-sizing: border-box;
// font-weight: 600;
// color: #999999;
// &:hover{
// border-color: $btnBlue;
// color: $btnBlue;
// }
// }
// }
/deep/ .el-input__inner:focus{border-color:$borderBlue!important;}
/deep/.el-range-editor.is-active,
.el-range-editor.is-active:hover {
......
......@@ -75,7 +75,7 @@
}"
>
<el-button type="primary" @click="handleSubmit">确定</el-button>
<el-button type="primary" @click="handleCancel">取消</el-button>
<el-button @click="handleCancel">取消</el-button>
</div>
<basic-dialog
:title="'选择成员'"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!