瀏覽代碼

Merge branch 'master' of http://47.101.159.18:3000/Muchinfo/MTP2.0_WEB

huangbin 4 年之前
父節點
當前提交
a65f8b9607
共有 2 個文件被更改,包括 7 次插入1 次删除
  1. 5 1
      src/assets/styles/mixin.less
  2. 2 0
      src/views/information/spot-contract/components/add/index.vue

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

@@ -748,10 +748,10 @@
 
 // 日期输入框 @m-grey21
 .commonPicker.ant-calendar-picker {
-    width: 200px !important;
     .ant-input {
         background: @m-grey21;
         border-color: @m-grey14;
+        padding: 0 8px;
         .ant-calendar-range-picker-input {
             color: @m-white0;
             font-size: 14px;
@@ -882,4 +882,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;
 }

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

@@ -316,6 +316,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}"
@@ -347,6 +348,7 @@
             <a-form-item label="保证金">
               <a-input class="dialogInput suffixGrey"
                        placeholder="请输入保证金"
+                       style="width: 200px"
                        :suffix="payCurrencyUnit" />
             </a-form-item>
           </a-col>