liupeng пре 3 година
родитељ
комит
8c5702a99b
3 измењених фајлова са 263 додато и 1 уклоњено
  1. 245 0
      dist/yvan-ext-mobile.css
  2. 17 0
      dist/yvan-ext-mobile.js
  3. 1 1
      dist/yvan-ext-mobile.js.map

+ 245 - 0
dist/yvan-ext-mobile.css

@@ -308,3 +308,248 @@
     margin-right: 0 !important;
 }
 
+/*样式调整*/
+/**修改表单内的样式*/
+.x-field.x-label-text-align-left > .x-label-el {
+    font-size: 18px;
+    text-align: right;
+}
+
+.x-formpanel .x-field > .x-label-el {
+    color: #666;
+    font-size: 16px;
+}
+
+.x-field.x-no-label-wrap > .x-label-el {
+    overflow: visible;
+}
+
+.x-field.x-no-label-wrap > .x-label-el {
+    overflow: visible;
+}
+
+.x-title.x-form-fieldset-title .x-innerhtml {
+    font-size: 18px;
+}
+
+.x-formpanel .textfieldBold.x-textfield > label {
+    font-size: 18px;
+}
+
+.x-textfield .x-input-el {
+    font-size: 15px;
+    placeholder-color: #ccc;
+    font-family: "Microsoft YaHei UI";
+}
+
+.x-button {
+    color: #fff;
+    font-size: 15px;
+    background: #08a1e7;
+    border-color: #08a1e7;
+    line-height: 19px;
+    border-radius: 4px;
+    font-family: normal;
+}
+
+.x-button .x-inner-el {
+    border-radius: 4px;
+}
+
+.x-button.x-has-text .x-inner-el {
+    padding: 8px 10px;
+}
+
+.x-field > .x-label-el {
+    width: auto;
+    margin: 5px 10px 5px 5px;
+}
+
+.x-field.x-required > .x-label-el:after {
+    color: red;
+    margin-left: 5px;
+}
+
+.x-textfield.x-invalid .x-underline-el:after {
+    height: 1px;
+    background-color: #e2e2e2;
+}
+
+.x-displayfield .x-input-el {
+    font-size: 16px;
+}
+
+/*修改头部按钮样式*/
+.x-panelheader.x-container .x-button {
+    background-color: #2196f3;
+}
+
+/*修改底部按钮样式*/
+.x-layout-hbox .x-button {
+    margin: 0 10px;
+}
+
+.x-layout-hbox .x-button :hover {
+    background: #66biff;
+    border-color: #66biff;
+}
+
+.x-layout-hbox .x-button:first-child {
+    margin-left: 0;
+}
+
+.x-layout-box.x-pack-start {
+    -webkit-box-pack: justify;
+        -ms-flex-pack: justify;
+            justify-content: space-between;
+}
+
+/*将表头超出文本显示省略号改为显示全部*/
+.x-field.x-no-label-wrap > .x-label-el {
+    text-overflow: inherit;
+}
+
+/*修改剔除口异常处理的样式*/
+.x-checkboxfield .x-box-label-el {
+    font-size: 14px;
+    padding: 0;
+    margin-left: 5px;
+    vertical-align: center;
+}
+
+.x-field.x-label-text-align-left > .x-label-el {
+    text-align: right;
+    min-width: 90px;
+}
+
+/*修改Aawesome图标样式*/
+:root .x-body-el.x-panel-body-el.x-container-body-el .x-pack-start .x-component.x-button.x-has-text.x-has-icon.x-icon-align-left.x-arrow-align-right.x-layout-box-item {
+    --base-color: #fff;
+}
+
+/*修改表格内的样式*/
+.x-headercontainer {
+    border-top: 1px solid #e2e2e2;
+}
+
+.double-header-height .x-gridcolumn .x-text-el {
+    overflow: visible;
+}
+
+.x-gridcolumn.x-leaf:last-child .x-header-el,
+.x-column-lines .x-gridcell:last-child {
+    border-right: none;
+}
+
+
+.x-gridcolumn.x-sorted .x-sort-icon-el {
+    height: auto;
+}
+
+.x-gridcolumn > .x-header-el,
+.x-body-el .x-gridcell-body-el {
+    text-align: center;
+    font-size: 16px;
+}
+
+.x-gridcolumn > .x-header-el {
+    position: relative;
+    -webkit-box-pack: center;
+        -ms-flex-pack: center;
+            justify-content: center;
+}
+
+.x-gridcolumn > .x-header-el,
+.x-body-el .x-gridcell-body-el {
+    font-size: 16px;
+}
+
+.x-gridcolumn .x-title-el :last-child {
+    position: absolute;
+    top: 50%;
+    right: 2px;
+    -webkit-transform: translateY(-50%);
+            transform: translateY(-50%);
+}
+
+.x-field > .x-body-wrap-el {
+    -webkit-box-align: center;
+        -ms-flex-align: center;
+            align-items: center;
+    -webkit-box-flex: 1;
+        -ms-flex: 1;
+            flex: 1;
+}
+
+.x-listitem:last-child {
+    border-bottom: 1px solid #e2e2e2;
+}
+
+/*弹出框样调整*/
+.x-mask {
+    opacity: 0.5;
+}
+
+.x-panel .x-dataview-item {
+    font-size: 15px;
+}
+
+.x-actionsheet.x-sheet.x-panel.x-container {
+    border-radius: 8px 8px 0 0;
+    --base-color: #fff;
+}
+
+:root .x-dock,
+:root .x-mask {
+    --base-pressed-color: rgba(255, 152, 0, 0);
+}
+
+.x-dock .x-titlebar {
+    background-color: #fff !important;
+    border-bottom: 1px solid #eee;
+}
+
+.x-dock .x-titlebar .x-center {
+    border-bottom: 1px solid #eee;
+}
+
+.x-dock .x-titlebar .x-body-el.x-picker-body-el {
+    background-color: #fff;
+}
+
+.x-dock .x-titlebar .x-button {
+    background-color: #fff;
+}
+
+.x-dock .x-titlebar .x-button .x-text-el {
+    color: #1677ff !important;
+    font-family: '黑体';
+    font-weight: normal;
+}
+
+.x-sheet.x-panel {
+    border-radius: 8px 8px 0 0;
+}
+
+.x-picker .x-dataview {
+    background: #fff;
+}
+
+.x-picker .x-dataview .x-dataview-item {
+    opacity: 0.3;
+}
+
+.x-picker .x-dataview .x-dataview-item.x-focused {
+    font-size: 16px;
+    opacity: 1;
+    border-top: 1px solid #eee;
+    border-bottom: 1px solid #eee;
+    background-color: #fff;
+}
+
+.x-panel .x-dataview-item .x-list-label {
+    color: #333;
+    font-family: '黑体';
+    font-weight: normal;
+}
+

+ 17 - 0
dist/yvan-ext-mobile.js

@@ -37723,6 +37723,7 @@ define(['exports'], function (exports) { 'use strict';
           }
       });
   }
+  //# sourceMappingURL=lib.js.map
 
   var Scope = /** @class */ (function () {
       function Scope(_a) {
@@ -38086,6 +38087,7 @@ define(['exports'], function (exports) { 'use strict';
       Scope.SHOW_PAGE_STACK = [];
       return Scope;
   }());
+  //# sourceMappingURL=Scope.js.map
 
   var column = {
       menuDisabled: true
@@ -38140,6 +38142,7 @@ define(['exports'], function (exports) { 'use strict';
           flex: 1
       },
   };
+  //# sourceMappingURL=Defaults.js.map
 
   /**
    * 构建所有组件的公共属性
@@ -38186,6 +38189,7 @@ define(['exports'], function (exports) { 'use strict';
       }
       return config;
   }
+  //# sourceMappingURL=base.js.map
 
   function initCols () {
       Ext.define('Yvan.Cols', {
@@ -38202,6 +38206,7 @@ define(['exports'], function (exports) { 'use strict';
           },
       });
   }
+  //# sourceMappingURL=cols.js.map
 
   var PropertyDescription = /** @class */ (function () {
       function PropertyDescription() {
@@ -38243,6 +38248,7 @@ define(['exports'], function (exports) { 'use strict';
       };
       return PropertyDescription;
   }());
+  //# sourceMappingURL=PropertyDescription.js.map
 
   var PropertyDescriptionTable = new Map();
   PropertyDescriptionTable.set('tabCell', new PropertyDescription({
@@ -38574,6 +38580,7 @@ define(['exports'], function (exports) { 'use strict';
           width, height
       ]
   }));
+  //# sourceMappingURL=PropertyDescriptionTable.js.map
 
   /**
    * 全局 ajax 方法
@@ -38671,6 +38678,7 @@ define(['exports'], function (exports) { 'use strict';
       });
       return found >= ws.length;
   }
+  //# sourceMappingURL=config.js.map
 
   function prompt(message, multiLine, value) {
       if (multiLine === void 0) { multiLine = false; }
@@ -38776,6 +38784,7 @@ define(['exports'], function (exports) { 'use strict';
           $w.remove();
       }, 3000);
   }
+  //# sourceMappingURL=message.js.map
 
   var SIMPLE_RE = /^(?:\{(?:(\d+)|([a-z_][\w\.]*))\})$/i;
   /**
@@ -40008,6 +40017,7 @@ define(['exports'], function (exports) { 'use strict';
           err: err
       };
   }
+  //# sourceMappingURL=systemLib.js.map
 
   var SystemLib = /*#__PURE__*/Object.freeze({
     __proto__: null,
@@ -40169,6 +40179,7 @@ define(['exports'], function (exports) { 'use strict';
           }
       });
   }
+  //# sourceMappingURL=stores.js.map
 
   function initGrid () {
       Ext.define('Yvan.Grid', {
@@ -40549,6 +40560,7 @@ define(['exports'], function (exports) { 'use strict';
       }
       // throw new TypeError('无法识别的调用方法')
   }
+  //# sourceMappingURL=grid.js.map
 
   function initGridColumn () {
       var ct = Ext.grid.column.Column.prototype.constructor;
@@ -40581,6 +40593,7 @@ define(['exports'], function (exports) { 'use strict';
       //     }
       // });
   }
+  //# sourceMappingURL=gridcolumn.js.map
 
   function initLocale() {
       Ext.define('Ext.locale.zh_CN.Panel', {
@@ -40624,6 +40637,7 @@ define(['exports'], function (exports) { 'use strict';
       //     }
       // });
   }
+  //# sourceMappingURL=locale-zh_CN.js.map
 
   var FixClass = /** @class */ (function () {
       function FixClass() {
@@ -40666,6 +40680,7 @@ define(['exports'], function (exports) { 'use strict';
       ], FixClass.prototype, "fix", null);
       return FixClass;
   }());
+  //# sourceMappingURL=fix.js.map
 
   function init() {
       /**
@@ -40740,6 +40755,7 @@ define(['exports'], function (exports) { 'use strict';
       initGrid();
       initStores();
   }
+  //# sourceMappingURL=init.js.map
 
   /**
    * 创建一个 Ajax 客户端
@@ -40912,6 +40928,7 @@ define(['exports'], function (exports) { 'use strict';
       };
       xhr.send(formData);
   }
+  //# sourceMappingURL=ajax.js.map
 
   exports.Lib = Lib;
   exports.LibParam = LibParam;

Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
dist/yvan-ext-mobile.js.map