fix: 修复只读模式下表单tab页出现保存按钮的bug

fix: 根据新UI规范略微调整样式
This commit is contained in:
gaoyunqi
2024-04-22 09:05:36 +08:00
parent 7f6c829114
commit 8b0174ddb9
5 changed files with 8 additions and 8 deletions

View File

@ -169,7 +169,7 @@
position: relative; position: relative;
.@{prefix-cls}-content { .@{prefix-cls}-content {
margin: 8px 0 8px 8px; margin: 12px 4px 12px 12px;
} }
.ant-page-header { .ant-page-header {

View File

@ -72,7 +72,6 @@ html[data-theme='light'] {
} }
.geg-flow-page { .geg-flow-page {
padding: 10px;
background-color: #fff; background-color: #fff;
.top-toolbar { .top-toolbar {
@ -91,5 +90,6 @@ html[data-theme='light'] {
.page-bg-wrap { .page-bg-wrap {
background-color: rgb(246 247 249); background-color: rgb(246 247 249);
padding: 10px; padding: 12px 12px 0 12px;
margin: 12px 12px 0 12px;
} }

View File

@ -80,7 +80,7 @@
} }
setHeaderHeight(height); setHeaderHeight(height);
return { return {
height: `${height}px`, height: `${height - 10}px`,
}; };
}); });

View File

@ -389,7 +389,7 @@
<style lang="less" scoped> <style lang="less" scoped>
.toolbar-defined { .toolbar-defined {
:deep(.ant-btn) { :deep(.ant-btn) {
margin-left: 5px; margin-left: 8px;
} }
} }

View File

@ -8,7 +8,7 @@
</slot> </slot>
关闭 关闭
</a-button> </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"> <slot name="icon">
<check-circle-outlined /> <check-circle-outlined />
</slot> </slot>
@ -134,8 +134,8 @@ async function saveModal() {
} }
.top-toolbar { .top-toolbar {
min-height: 40px; min-height: 44px;
margin-bottom: 8px; margin-bottom: 12px;
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
} }
</style> </style>