b62b0fdf by 任超

style:弹框组件重构完成

1 parent 5442fa03
.el-dialog {
.dialogBox {
border-radius: 8px;
overflow: hidden;
background: #FFFFFF;
......
<template>
<el-dialog :visible.sync="dialogVisible" :width="width" :fullscreen="fullscreen" top="0" :append-to-body="true"
:lock-scroll="true" :close-on-click-modal="false" :custom-class="isMain ? 'mainCenter' : 'contentCenter'"
:destroy-on-close="true" ref="dialogBox">
:lock-scroll="true" :close-on-click-modal="false"
:custom-class="isMain ? 'mainCenter dialogBox' : 'contentCenter dialogBox'" :destroy-on-close="true"
ref="dialogBox">
<div slot="title" class="dialog_title" ref="dialogTitle">
<b>{{ title }}</b>
<div v-if="isFullscreen" class="dialog_full">
......@@ -27,7 +28,7 @@ export default {
value: { type: Boolean, default: false },
isMain: {
type: Boolean,
default: true
default: false
},
isButton: {
type: Boolean,
......