fix: 修复只读模式下表单tab页出现保存按钮的bug
fix: 根据新UI规范略微调整样式
This commit is contained in:
@ -169,7 +169,7 @@
|
||||
position: relative;
|
||||
|
||||
.@{prefix-cls}-content {
|
||||
margin: 8px 0 8px 8px;
|
||||
margin: 12px 4px 12px 12px;
|
||||
}
|
||||
|
||||
.ant-page-header {
|
||||
|
||||
@ -72,7 +72,6 @@ html[data-theme='light'] {
|
||||
}
|
||||
|
||||
.geg-flow-page {
|
||||
padding: 10px;
|
||||
background-color: #fff;
|
||||
|
||||
.top-toolbar {
|
||||
@ -91,5 +90,6 @@ html[data-theme='light'] {
|
||||
|
||||
.page-bg-wrap {
|
||||
background-color: rgb(246 247 249);
|
||||
padding: 10px;
|
||||
padding: 12px 12px 0 12px;
|
||||
margin: 12px 12px 0 12px;
|
||||
}
|
||||
|
||||
@ -80,7 +80,7 @@
|
||||
}
|
||||
setHeaderHeight(height);
|
||||
return {
|
||||
height: `${height}px`,
|
||||
height: `${height - 10}px`,
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
@ -389,7 +389,7 @@
|
||||
<style lang="less" scoped>
|
||||
.toolbar-defined {
|
||||
:deep(.ant-btn) {
|
||||
margin-left: 5px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
</slot>
|
||||
关闭
|
||||
</a-button>
|
||||
<a-button v-if="mode != 'read'" type="primary" @click="handleSubmit">
|
||||
<a-button v-if="mode != 'view'" type="primary" @click="handleSubmit">
|
||||
<slot name="icon">
|
||||
<check-circle-outlined />
|
||||
</slot>
|
||||
@ -134,8 +134,8 @@ async function saveModal() {
|
||||
}
|
||||
|
||||
.top-toolbar {
|
||||
min-height: 40px;
|
||||
margin-bottom: 8px;
|
||||
min-height: 44px;
|
||||
margin-bottom: 12px;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user