Browse Source

input样式调整

zhangguohua 1 năm trước cách đây
mục cha
commit
e37b9e12e3
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      src/views/school/subjectList.vue

+ 2 - 3
src/views/school/subjectList.vue

@@ -75,7 +75,7 @@ const InputRef = ref<HTMLElement | null>(null)
 const AddCourse = () => {
   inputVisible.value = true;
   nextTick(() => {
-    // (InputRef.value as HTMLInputElement).focus()
+    (InputRef.value as HTMLInputElement).focus()
   })
   
 }
@@ -149,7 +149,6 @@ const delSubject = (id) => {
   }
   ::v-deep(.input_item.el-input) {
     width: 74px;
-    // width: auto;
     height: 36px;
     border-radius: 4px;
     border: 1px solid #2E64FA!important;
@@ -164,7 +163,7 @@ const delSubject = (id) => {
       box-shadow: none;  /* 去掉阴影 */
     }
     .el-input-group__append {
-      padding: 0 5px 0 0;
+      padding: 0 10px 0 0;
       background: #fff;
       box-shadow: none;
       cursor: pointer;