|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
- <el-dialog title="移动到" :visible.sync="dialogVisible" width="480px" :close-on-click-modal="false">
|
|
|
+ <el-dialog title="移动到" :visible.sync="dialogVisible" width="480px" :close-on-click-modal="false" custom-class="moveDialog">
|
|
|
<div>
|
|
|
- <el-cascader v-model="value" :options="treeData" :props="defaultProps"></el-cascader>
|
|
|
+ <el-cascader v-model="value" :options="treeData" :props="defaultProps" size="small" style="width: 100%"></el-cascader>
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
|
@@ -85,4 +85,24 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
-</script>
|
|
|
+</script>
|
|
|
+<style lang="less">
|
|
|
+.moveDialog {
|
|
|
+ /deep/ .el-dialog__header {
|
|
|
+ border-bottom: 1px solid #f0f1f2ff;
|
|
|
+ }
|
|
|
+ /deep/ .el-dialog__body {
|
|
|
+ padding: 16px 60px;
|
|
|
+ }
|
|
|
+ .el-dialog__footer {
|
|
|
+ padding: 14px 20px 20px;
|
|
|
+ .el-button {
|
|
|
+ padding: 0;
|
|
|
+ width: 80px;
|
|
|
+ height: 32px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|