Selaa lähdekoodia

bizProgres 业务进度查询

luoyifan 3 vuotta sitten
vanhempi
commit
78a8276055
2 muutettua tiedostoa jossa 13 lisäystä ja 0 poistoa
  1. 4 0
      src/init.ts
  2. 9 0
      src/wotu-ui.css

+ 4 - 0
src/init.ts

@@ -47,6 +47,10 @@ export function init() {
             dateFormat: 'Y-m-d'
         });
     }
+    Ext.form.field.Display.override({
+        cls: 'yvan-display-field',
+        labelAlign: 'right'
+    })
     Ext.define("Ext.locale.zh_CN.picker.Date", {
         override: "Ext.picker.Date",
         format: "Y-m-d",

+ 9 - 0
src/wotu-ui.css

@@ -13,6 +13,15 @@
     display: none;
 }
 
+/** displayField 放大值 **/
+.yvan-display-field .x-form-item-label-inner {
+    margin-top: 7px;
+}
+.yvan-display-field .x-form-display-field {
+    font-size: 24px;
+    margin-top: 12px;
+}
+
 /*== layer提示框==*/
 .yvan-msg {
     min-width: 100px;