@@ -12,7 +12,7 @@
:global {
.A1aMain {
width: 100%;
- height: 100%;
+ height: calc(100% - 80px);
overflow-y: auto;
textarea {
@@ -62,11 +62,20 @@
}
.A1abtn {
- position: absolute;
+ display: flex;
+ align-items: center;
+ width: 100%;
+ height: 80px;
+ position: fixed;
+ bottom: 0;
+ background: #fff;
z-index: 10;
- left: 1200px;
- top: 50%;
- transform: translateY(-50%);
+
+ .A1abtnBox {
+ gap: 20px;
+ padding-left: 100px;
+ }
@@ -239,14 +239,12 @@ function A1add({ editInfo, closeFu, addTableFu, editTableFu }: Props) {
{editInfo.txt === '查看' ? (
<Button onClick={closeFu}>返回</Button>
) : (
- <>
+ <div className='A1abtnBox'>
<Button type='primary' htmlType='submit'>
提交
</Button>
- <br />
<MyPopconfirm txtK='取消' onConfirm={closeFu} />
- </>
+ </div>
)}
</Form.Item>
</Form>
.A2aMain {
.A2abtn {
+ .A2abtnBox {
@@ -174,14 +174,12 @@ function A2add({ editInfo, closeFu, addTableFu, editTableFu, type }: Props) {
+ <div className='A2abtnBox'>
.A4aMain {
.A4abtn {
+ .A4abtnBox {
@@ -201,14 +201,12 @@ function A4add({ editInfo, closeFu, addTableFu, editTableFu }: Props) {
+ <div className='A4abtnBox'>
.A5aMain {
@@ -64,11 +64,20 @@
.A5abtn {
+ .A5abtnBox {
@@ -223,14 +223,12 @@ function A5add({ editInfo, closeFu, addTableFu, editTableFu, type }: Props) {
+ <div className='A5abtnBox'>