Browse Source

fix:修改公共组件位置

temp
zhaohy 3 months ago
parent
commit
5ddc013f38
  1. 12
      hx-ai-intelligent/src/App.vue
  2. 2
      lib/saas/config/form.config.ts

12
hx-ai-intelligent/src/App.vue

@ -1,6 +1,6 @@
<template> <template>
<a-config-provider :locale="locale"> <a-config-provider :locale="locale">
<div style="width:100%;height:100%;"> <div style="width: 100%; height: 100%">
<a-spin :spinning="state.isLoading" size="large"> <a-spin :spinning="state.isLoading" size="large">
<router-view /> <router-view />
</a-spin> </a-spin>
@ -79,7 +79,7 @@
} }
} }
.ns-form-body { .ns-form-body {
max-width: 1000px; max-width: 1650px;
} }
} }
@ -195,13 +195,13 @@
color: rgba(51, 51, 51, 1); color: rgba(51, 51, 51, 1);
} }
} }
:deep(.ant-spin-nested-loading) { :deep(.ant-spin-nested-loading) {
min-height: 100%; min-height: 100%;
height: 100%; height: 100%;
} }
:deep(.ant-spin-container) { :deep(.ant-spin-container) {
min-height: 100%; min-height: 100%;
height: 100%; height: 100%;
} }
</style> </style>

2
lib/saas/config/form.config.ts

@ -38,7 +38,7 @@ export const formConfig = {
class: 'ns-flex-form ns-flex-form-horizontal ns-flexv2-form', class: 'ns-flex-form ns-flex-form-horizontal ns-flexv2-form',
wrapperCol: { span: 24 }, wrapperCol: { span: 24 },
labelCol: { span: 0 }, labelCol: { span: 0 },
span: 6, span: 4,
// sm: 8, //≥576px <=768 // sm: 8, //≥576px <=768
// lg: 6, //>= 768 // lg: 6, //>= 768
gutter: [20, 0], gutter: [20, 0],

Loading…
Cancel
Save