소스 검색

样式调整

marymelisa 4 년 전
부모
커밋
66206c2496
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      src/assets/styles/mixin.less
  2. 1 0
      src/views/information/spot-contract/components/add/index.vue

+ 4 - 1
src/assets/styles/mixin.less

@@ -748,7 +748,6 @@
 
 // 日期输入框 @m-grey21
 .commonPicker.ant-calendar-picker {
-    width: 200px !important;
     .ant-input {
         background: @m-grey21;
         border-color: @m-grey14;
@@ -882,4 +881,8 @@
     .ant-calendar-in-range-cell::before {
         background: @m-grey22-hover;
     }
+}
+
+.has-error .ant-input:not(.has-error .ant-input-disabled), -has-error .ant-input:not(.has-error .ant-input-disabled), .has-error .ant-input:not(-has-error .ant-input-disabled), -has-error .ant-input:not(-has-error .ant-input-disabled) {
+    background: @m-grey21;
 }

+ 1 - 0
src/views/information/spot-contract/components/add/index.vue

@@ -337,6 +337,7 @@
             <a-col :span="24">
               <a-form-item label="交收期">
                 <a-range-picker v-model:value="deliveryDate"
+                                style="width: 200px"
                                 class="commonPicker"
                                 :disabled-date="disabledDate"
                                 :show-time="{hideDisabledOptions: true}"