[ABI 5.1] 如何把上面样式大小调整下

10959
3

xiao12 数据达人Lv4

发表于2020-7-30 12:10

悬赏60

已解决

楼主
上面筛选很难看,如何把上面样式大小调整下,代码:

if ((typeof(isInjectionMobileJs) != "undefined") && !isInjectionMobileJs) {
                //不显示钻取等待框
        isShowZqWaitToast = false;

        //固定tab标签页+调整参数框位置
        function adjustWidgetTab(tab) {
                $(".headcontainer").css({
                        "position": "fixed",
                        "top": "60px"
                });
                $(".bodycontainer").css({
                        "position": "fixed",
                        "top": "104px"
                });
                if (g_rptpage.bodyarea) {
                        g_rptpage.bodyarea.style.overflow = "hidden";
                        g_rptpage.bodyarea.style.overflowY = "hidden";
                        g_rptpage.bodyarea.style.position = "fixed";
                }
                g_rptpage.tabactive = tab.active;
                $("#drillpath").css({
                        "z-index": "1000"
                });
        }

        function adjustWidgetTabActive(active) {
                g_rptpage.tabactive = active;

                adjustTabWidgetParamTree();
        }

        //固定tab标签页+调整顶部两个参数框位置
        function adjustWidgetBuilder(bodyarea) {
                $(".headcontainer").css({
                        "position": "fixed",
                        "top": "60px"
                });
                $(".bodycontainer").css({
                        "position": "fixed",
                        "top": "104px"
                });
                bodyarea.style.overflow = "hidden";
                bodyarea.style.position = "fixed";
                bodyarea.style.overflowY = "hidden";
                $("#drillpath").css({
                        "z-index": "1000"
                });
        }

        //渲染完成后,再显示顶部两个参数框,避免显示颜色变化过程
        function adjustWidgetComboxTree_initDom(basedom, pnode, edit, label) {
                var wid = basedom.getAttribute("wid");
                if (wid === 'WidgetParamComboBoxTree50' || wid === 'WidgetParamComboBoxTree70' || wid === 'WidgetParamComboBoxTree43' ||
                        wid === 'WidgetParamComboBoxTree36' || wid === 'WidgetParamComboBoxTree3' || wid === 'WidgetParamComboBoxTree1') {

                        basedom.style.visibility = "hidden";

                }
        }

        //渲染完成后,再显示顶部两个参数框,避免显示颜色变化过程
        function adjustWidgetComboxTree(basedom, pnode, edit, label) {

                var wid = basedom.getAttribute("wid");
                if (wid.indexOf('WidgetParamComboBoxTree') > -1) {


                if (wid === 'WidgetParamComboBoxTree50' || wid === 'WidgetParamComboBoxTree70' || wid === 'WidgetParamComboBoxTree43' ||
                        wid === 'WidgetParamComboBoxTree36' || wid === 'WidgetParamComboBoxTree3' || wid === 'WidgetParamComboBoxTree1') {
                                basedom.style.position = "fixed";

                                adjustFixWidgetParamTree(basedom.id, wid, basedom);
                                basedom.style.visibility = "";
                        }

                        edit.style.backgroundColor = "#212339";
                        edit.style.color = "#1b94ff";
                        edit.style.border = "1px solid #1b94ff";
                }
        }



        function adjustTabWidgetParamTree() {
                var active = g_rptpage.tabactive;

                hideAllWidgetParamTree();
                if (active === 0) {
                        showWidgetParamTree("HHH553");
                } else if (active === 1) {
                        showWidgetParamTree("HHH626");
                } else if (active === 2) {
                        showWidgetParamTree("HHH13");
                } else if (active === 3) {
                        showWidgetParamTree("HHH699");
                } else if (active === 4) {
                        showWidgetParamTree("HHH379");
                } else {
                        showWidgetParamTree("HHH553");
                }
        }

        function hideAllWidgetParamTree() {
                var obj = document.getElementById("HHH553");
                if (obj) {
                        obj.style.display = "none";
                }
                obj = document.getElementById("HHH626");
                if (obj) {
                        obj.style.display = "none";
                }
                obj = document.getElementById("HHH13");
                if (obj) {
                        obj.style.display = "none";
                }
                obj = document.getElementById("HHH699");
                if (obj) {
                        obj.style.display = "none";
                }
                obj = document.getElementById("HHH379");
                if (obj) {
                        obj.style.display = "none";
                }
        }

        function showWidgetParamTree(id) {
                var obj = document.getElementById(id);
                if (obj) {
                        obj.style.top = "35px";
                        obj.style.left = "0px";
                        obj.style.display = "";
                }
        }

        function hideWidgetParamTree(id) {
                var obj = document.getElementById(id);
                if (obj) {
                        obj.style.display = "none";
                }
        }

        function adjustFixWidgetParamTree(id, wid, basedom) {
                if (wid === "WidgetParamComboBoxTree1") {
                        basedom.style.top = "35px";
                } else {
                        adjustTabWidgetParamTree();
                }
        }
}

最近看过此主题的会员

jrjrjr

张名

DJY

zhouxm

esen_4T7UH1V3J8

13407717840

最佳答案

xxxl

发表于2020-7-30 12:10

只看该作者

取消 关注该作者的回复


参数组件的样式修改看这个帖子http://bbs.esensoft.com/thread-134163-1-1.html
3个回答

只看楼主

xxxl 数据领袖Lv6

发表于2020-7-30 12:19

只看该作者

取消 关注该作者的回复

沙发

您是需要改变tab标签页的样式吗

xiao12 数据达人Lv4

发表于2020-7-30 12:21

只看该作者

取消 关注该作者的回复

板凳

xxxl 发表于 2020-7-30 12:19
您是需要改变tab标签页的样式吗

改变筛选样式

xxxl 数据领袖Lv6

发表于2020-7-30 12:10

只看该作者

取消 关注该作者的回复

地板


参数组件的样式修改看这个帖子http://bbs.esensoft.com/thread-134163-1-1.html

登录后可回答问题,请登录注册

快速回复 返回顶部 返回列表

小时

全天响应

分钟

快速处理问题

工程师强势助力

明星产品
解决方案
联系合作

400咨询:400-0011-866

技术支持QQ:400-0011-866(工作日9:00-18:00)

产品建议邮箱yixin@esensoft.com

关注我们

扫TA学习更多干货

一对一专家交流

版权所有© 2006-2024 北京亿信华辰软件有限责任公司 京ICP备07017321号 京公网安备11010802016281号