mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
improve: modal调整
This commit is contained in:
parent
3693d10fa8
commit
03975529b8
@ -716,3 +716,10 @@ body {
|
||||
.pt10 {
|
||||
padding-top: 10px;
|
||||
}
|
||||
.common-form-create-footer{
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
}
|
||||
.common-form-button{
|
||||
margin-right: 10px;
|
||||
}
|
||||
@ -114,7 +114,7 @@ Modal.newInstance = (properties) => {
|
||||
},
|
||||
domProps: {
|
||||
innerHTML: this.title,
|
||||
style: 'margin-bottom: 10px;',
|
||||
style: 'margin-bottom: 20px;border-bottom:1px solid #f2f2f2;padding-bottom:10px;',
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
@ -133,22 +133,39 @@ export default function (formRequestPromise, { width = '700' } = { width: '700'
|
||||
},
|
||||
},
|
||||
}),
|
||||
h(
|
||||
'Button',
|
||||
{
|
||||
class: 'common-form-button',
|
||||
props: {
|
||||
type: 'primary',
|
||||
long: true,
|
||||
},
|
||||
on: {
|
||||
click: () => {
|
||||
fApi.submit();
|
||||
h('div', { class: 'common-form-create-footer' }, [
|
||||
h(
|
||||
'Button',
|
||||
{
|
||||
class: 'common-form-button',
|
||||
props: {
|
||||
long: false,
|
||||
},
|
||||
on: {
|
||||
click: () => {
|
||||
modalInstance.remove();
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
['提交'],
|
||||
),
|
||||
['取消'],
|
||||
),
|
||||
h(
|
||||
'Button',
|
||||
{
|
||||
class: 'common-form-button',
|
||||
props: {
|
||||
type: 'primary',
|
||||
long: false,
|
||||
},
|
||||
on: {
|
||||
click: () => {
|
||||
fApi.submit();
|
||||
},
|
||||
},
|
||||
},
|
||||
['提交'],
|
||||
),
|
||||
]),
|
||||
]);
|
||||
},
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user