Преглед изворни кода

优化时间选择器的样式

baiyanting пре 1 година
родитељ
комит
a938149bd7

+ 6 - 1
src/assets/styles/form.less

@@ -372,7 +372,11 @@
           }
 
           &.today span {
-            color: @green;
+            color: @blue;
+          }
+          &.today.end-date span,
+          &.today.start-date span {
+            color: #fff;
           }
 
           &.current:not(.disabled) span {
@@ -452,6 +456,7 @@
   .el-month-table td.current:not(.disabled) .cell {
     color: @green;
   }
+  
 }
 
 // .el-input-number {

+ 2 - 0
src/views/IntegratedAlarm/reliability/customAnalyse/index.vue

@@ -110,6 +110,7 @@
               type="datetime"
               placeholder="选择日期"
               value-format="YYYY-MM-DD HH:mm:ss"
+              popper-class="date-select"
             >
             </el-date-picker>
           </div>
@@ -123,6 +124,7 @@
               type="datetime"
               placeholder="选择日期"
               value-format="YYYY-MM-DD HH:mm:ss"
+              popper-class="date-select"
             >
             </el-date-picker>
           </div>

+ 2 - 0
src/views/IntegratedAlarm/reliability/historyAnalyse/index.vue

@@ -114,6 +114,7 @@
               type="datetime"
               placeholder="选择日期"
               value-format="YYYY-MM-DD HH:mm:ss"
+              popper-class="date-select"
             >
             </el-date-picker>
           </div>
@@ -127,6 +128,7 @@
               type="datetime"
               placeholder="选择日期"
               value-format="YYYY-MM-DD HH:mm:ss"
+              popper-class="date-select"
             >
             </el-date-picker>
           </div>

+ 1 - 0
src/views/IntegratedAlarm/safe/customWarning/index.vue

@@ -137,6 +137,7 @@
               value-format="YYYY-MM-DD HH:mm:ss"
               start-placeholder="开始"
               end-placeholder="结束"
+              popper-class="date-select"
             >
             </el-date-picker>
           </div>

+ 1 - 1
src/views/IntegratedAlarm/safe/historyWarning/index.vue

@@ -130,7 +130,7 @@
               format="YYYY-MM-DD HH:mm:ss"
               value-format="YYYY-MM-DD HH:mm:ss"
               start-placeholder="开始"
-              end-placeholder="结束"
+              end-placeholder="结束"   popper-class="date-select"
             >
             </el-date-picker>
           </div>

+ 1 - 0
src/views/IntegratedAlarm/safe/stopQuery/index.vue

@@ -87,6 +87,7 @@
               start-placeholder="开始时间"
               end-placeholder="结束时间"
               @change="getTableData"
+              popper-class="date-select"
             >
             </el-date-picker>
           </div>