shaogen1995 недель назад: 3
Родитель
Сommit
3875a270e4
2 измененных файлов с 6 добавлено и 6 удалено
  1. 3 3
      src/pages/A1atlas/A1add.tsx
  2. 3 3
      src/pages/A1atlas/index.module.scss

+ 3 - 3
src/pages/A1atlas/A1add.tsx

@@ -162,7 +162,7 @@ function A1add({ addInfo, addFu, closeFu }: Props) {
             </div>
             <div className='fromRowrr'>
               <Cascader
-                style={{ width: 658 }}
+                style={{ width: 1002 }}
                 disabled={addInfo.txt === '编辑'}
                 changeOnSelect
                 fieldNames={{ label: 'name', value: 'id', children: 'children' }}
@@ -181,8 +181,8 @@ function A1add({ addInfo, addFu, closeFu }: Props) {
             getValueFromEvent={e => e.target.value.replace(/\s+/g, '')}
           >
             <Input
-              disabled={acCardInfo.preset === '1'}
-              maxLength={30}
+              disabled={acCardInfo.preset === '1' && addInfo.txt === '编辑'}
+              maxLength={10}
               showCount
               placeholder='请输入内容'
             />

+ 3 - 3
src/pages/A1atlas/index.module.scss

@@ -135,7 +135,7 @@
     }
 
     .A1aMain {
-      width: 1100px;
+      width: 1095px;
       padding-top: 15px;
       .fromRow2 {
         position: relative;
@@ -153,7 +153,7 @@
         align-items: center;
         margin-bottom: 24px;
         .fromRowll {
-          width: 94px;
+          width: 92px;
           text-align: right;
           position: relative;
           & > span {
@@ -162,7 +162,7 @@
         }
 
         .fromRowrr {
-          width: calc(100% - 94px);
+          width: calc(100% - 92px);
         }
       }
       .fromRow2 {