Commit 72f0fdba by 胡悦

修改样式

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