瀏覽代碼

ios input 颜色和滚动问题

Your Name 2 年之前
父節點
當前提交
9f4088ad09
共有 2 個文件被更改,包括 6 次插入3 次删除
  1. 3 2
      src/App.vue
  2. 3 1
      src/components/DiagCalc.vue

+ 3 - 2
src/App.vue

@@ -145,8 +145,9 @@
   }
   .inputDisable input:disabled {
     background-color: #fff!important;
-    color: #2c3e50!important;
-    text-fill-color:#8d9399!important;
+    color: red;
+    opacity: 1;
+    -webkit-text-fill-color:#000;
   }
   .rowfont{
       font-size:1rem;

+ 3 - 1
src/components/DiagCalc.vue

@@ -63,7 +63,9 @@
     </div>
     <!-- 注射时间t0 -->
     <mt-datetime-picker ref="t0Picker" type="datetime" year-format="{value} 年" month-format="{value} 月"
-      date-format="{value} 日" hourFormat="{value}时" minuteFormat="{value}分" @confirm='changeTime0' :endDate='endDate'>
+      date-format="{value} 日" hourFormat="{value}时" minuteFormat="{value}分" @confirm='changeTime0' :endDate='endDate'
+      @touchmove.native.stop.prevent
+      >
     </mt-datetime-picker>
     <!-- 采血时间t1 -->
     <mt-datetime-picker ref="t1Picker" type="datetime" year-format="{value} 年" month-format="{value} 月"