Forráskód Böngészése

Merge branch 'fix/qywx_start_process_bug' into 'develop'

办公中心移动端h5下tab重叠的问题

See merge request o2oa/o2oa!549
楼国栋 5 éve
szülő
commit
f369389f7b
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      o2web/source/x_component_process_TaskCenter/Main.js

+ 5 - 0
o2web/source/x_component_process_TaskCenter/Main.js

@@ -140,6 +140,11 @@ MWF.xApplication.process.TaskCenter.Main = new Class({
         this.tabAreaNode = new Element("div", {
             "styles": this.css.tabAreaNode
         }).inject(this.content);
+        debugger;
+        var size = this.content.getSize();
+        if (size && size.x < 400) { //移动端屏幕宽度小的时候 5个tab会重叠
+            this.tabAreaNode.setStyle("height", "80px");
+        }
 
         this.createTabItem(this.lp.task, "task.png", "task", function () {
             this.showTask();