865e3bd0 by 任超

style:dialog样式

1 parent a2eb58ba
......@@ -30,6 +30,7 @@
<script>
export default {
props: {
value: { type: Boolean, default: false, },
activity: {
type: Boolean,
default: false,
......@@ -95,6 +96,11 @@ export default {
scrollerHeight: '',
}
},
watch: {
value (val) {
this.dialogVisible = val
}
},
methods: {
isShow () {
this.dialogVisible = true
......
.dialog_title {
@flex();
@include flex;
justify-content: space-between;
width: 100%;
}
.el-dialog__header {
margin-bottom: 10px;
color: #4A4A4A;
border-bottom: 1px solid #E4EBF4;
}
.el-dialog__body {
padding-top: 10px;
padding-bottom: 0;
}
.el-dialog__headerbtn .el-dialog__close {
color: #6B7A99 !important;
position: relative;
top: -2px;
}
.dialog_footer {
@flex-center();
}
.dialog_footer {}
.el-form-item {
@flex();
@include flex;
width: 100%;
}
.el-dialog__wrapper {
@flex-center();
@include flex-center;
transform: translateX(80px);
}
.el-dialog {
margin: 0;
}
\ No newline at end of file
......
......@@ -48,13 +48,6 @@
}
// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
transform: none;
left: 0;
position: relative;
margin: 0 auto;
}
// refine element ui upload
.upload-container {
.el-upload {
......
......@@ -282,13 +282,6 @@ aside {
font-size: 20PX;
}
// 遮罩层样式设置
.dialog_Style {
.el-dialog {
width: 40% !important;
}
}
.description {
.el-form-item__content {
width: 75%;
......
......@@ -51,6 +51,9 @@
@p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
<dialogBox ref="dialog" title="标题" v-model="isDialog">
**在这里面写弹框内容**
</dialogBox>
</div>
</template>
<script>
......@@ -65,6 +68,7 @@ export default {
},
data () {
return {
isDialog: false,
queryForm: {
ywly: "",
qllx: "",
......@@ -84,9 +88,11 @@ export default {
data: [
{
slsj: "2022-5-12",
ywh: 111111111111
},
{
slsj: "2022-5-13",
ywh: 111111111111
},
],
},
......@@ -97,6 +103,9 @@ export default {
fetchData () { },
handleSort (name, sort) {
console.log(name, sort);
},
openDialog () {
this.isDialog = true
}
}
}
......
......@@ -40,8 +40,14 @@ class data extends filter {
}
},
{
prop: "ywh",
label: "业务号",
render: (h, scope) => {
return (
<div>
<el-link type="primary" onClick={() => { vm.openDialog(scope) }}>{scope.row.ywh}</el-link>
</div>
)
}
},
{
prop: "sqywmc",
......