Commit 8e12c8df by 李长胜

弹窗改回自定义高度

1 parent d33a8862
......@@ -2,8 +2,8 @@
<template>
<div>
<el-dialog :title="title" :visible.sync="isVisible" :show-close="showClose" :before-close="handleClose" :close-on-click-modal="false" :modal-append-to-body="false" :width="width">
<div style="height:60vh;overflow:auto">
<el-scrollbar v-if="hasScroll">
<!-- <div style="height:60vh;overflow:auto"> -->
<el-scrollbar v-if="hasScroll">
<span slot="title">
<span class="main-title">{{ title }}</span>
<span class="dialog-sub-title">
......@@ -21,8 +21,7 @@
</span>
<slot></slot>
</template>
</div>
<!-- </div> -->
<div slot="footer">
<slot name="btn-start"></slot>
......@@ -86,6 +85,10 @@ export default {
type:String,
default:''
},
// modalAppendToBody:{
// type: Boolean,
// default: false
// },
width: {
type: String,
default: '580px'
......@@ -93,7 +96,7 @@ export default {
btnSize: {
type: String,
default: 'mini'
},
}
},
methods: {
......@@ -116,8 +119,9 @@ export default {
// border-bottom: 1px solid #e6e6e6;
// padding: 20px 25px;
// }
.el-dialog-div {
height: 60vh;
overflow: auto;
}
// .el-dialog-div {
// height: 60vh;
// overflow: auto;
// }
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!