diff --git a/vue/src/components/FormDialog/index.vue b/vue/src/components/FormDialog/index.vue index 089853e..ae11a7e 100644 --- a/vue/src/components/FormDialog/index.vue +++ b/vue/src/components/FormDialog/index.vue @@ -1,74 +1,54 @@ - - - - - + + + diff --git a/vue/src/components/FormDialog/style.scss b/vue/src/components/FormDialog/style.scss new file mode 100644 index 0000000..cf746bb --- /dev/null +++ b/vue/src/components/FormDialog/style.scss @@ -0,0 +1,29 @@ +.form-dialog { + .el-dialog__body { + padding: 0; + } + + .form-dialog-container { + position: relative; + width: 100%; + + .form-dialog-body { + padding: 24px 24px 0 + } + + .el-form { + padding: 0; + } + + .el-upload.el-upload--picture-card { + height: 100px; + width: 100px; + line-height: 105px; + } + + .el-upload-list .el-upload-list__item { + height: 100px; + width: 100px; + } + } +} diff --git a/vue/src/views/example/stylePage.vue b/vue/src/views/example/stylePage.vue index 155795f..0461da5 100644 --- a/vue/src/views/example/stylePage.vue +++ b/vue/src/views/example/stylePage.vue @@ -23,13 +23,13 @@ - 默认按钮(点击打开dialog) + 默认按钮(点击打开dialog dashed按钮 主要按钮 - 成功按钮 - 信息按钮 - 警告按钮 - 危险按钮 + 成功按钮 + 信息按钮 + 警告按钮 + 危险按钮 @@ -40,13 +40,6 @@ - - - @@ -76,12 +69,6 @@ {name: '老王', address: '中国', tel: '13232423232', age: 18}, {name: '老王', address: '中国', tel: '13232423232', age: 18}, {name: '老王', address: '中国', tel: '13232423232', age: 18} - ], - treeData: [ - { - id: 1, label: '测试', - children: [{id: 2, label: '测试1'}, {id: 3, label: '测试2'}] - } ] } }, @@ -91,9 +78,8 @@ setTimeout(() => { this.$notify({ title: type, - message: '不会自动关闭', - type, - duration: 0 + message: '提示信息', + type }) }, time) }