diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/gulpfile.js b/fast-develop-web/fast-develop-editor/src/fast-develop/gulpfile.js index 3c8a6df3daa2d9950003f4e0b20e9e8e2ded2939..737d875cb3c0e350e09185b33156d132221dfd60 100644 --- a/fast-develop-web/fast-develop-editor/src/fast-develop/gulpfile.js +++ b/fast-develop-web/fast-develop-editor/src/fast-develop/gulpfile.js @@ -198,7 +198,8 @@ function server(){ }), createProxyMiddleware( '/builder',{ - target: 'http://11.2.251.48:8211' + // target: 'http://11.2.251.48:8211' + target: 'http://11.2.251.48:8210' }), createProxyMiddleware( '/api', { diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/src/compoment/@ztree/ztree_v3/css/zTreeStyle/img/icon_new.png b/fast-develop-web/fast-develop-editor/src/fast-develop/src/compoment/@ztree/ztree_v3/css/zTreeStyle/img/icon_new.png index 91243806e95dc05a49987e37b86202f8fe75f6b0..d961e0d91bc0cd97bf534df06c3565059d9aa033 100644 Binary files a/fast-develop-web/fast-develop-editor/src/fast-develop/src/compoment/@ztree/ztree_v3/css/zTreeStyle/img/icon_new.png and b/fast-develop-web/fast-develop-editor/src/fast-develop/src/compoment/@ztree/ztree_v3/css/zTreeStyle/img/icon_new.png differ diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/src/compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png b/fast-develop-web/fast-develop-editor/src/fast-develop/src/compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png index f3b43cd6e2b39ef924a7c3d81221c204fb99f7bb..629f2f5bd90f4ba44b315fbc6fe885d190d0fea0 100644 Binary files a/fast-develop-web/fast-develop-editor/src/fast-develop/src/compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png and b/fast-develop-web/fast-develop-editor/src/fast-develop/src/compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png differ diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/src/compoment/@ztree/ztree_v3/js/jquery.ztree.extend.js b/fast-develop-web/fast-develop-editor/src/fast-develop/src/compoment/@ztree/ztree_v3/js/jquery.ztree.extend.js index 693c9f9d97d49165b91bf70584398c8e9ab998c4..d1fdf80c05901632af73f30c083f53823a417885 100644 --- a/fast-develop-web/fast-develop-editor/src/fast-develop/src/compoment/@ztree/ztree_v3/js/jquery.ztree.extend.js +++ b/fast-develop-web/fast-develop-editor/src/fast-develop/src/compoment/@ztree/ztree_v3/js/jquery.ztree.extend.js @@ -855,11 +855,14 @@ console.log('setting.view',setting.view) if(setting.view.treeMode === 'menu'){ if(node.open && node.isParent){ - treeObj.expandNode(node, false, true, true); - $('#'+node.tId+'_a').find('.layui-icon').removeClass('layui-icon-down').addClass('layui-icon-right') + treeObj.expandNode(node, false, false, true); + // 抽函数 + view.menuFloderClose(node.tId) + // $('#'+node.tId+'_a').find('.layui-icon').removeClass('layui-icon-down').addClass('layui-icon-right') } else { treeObj.expandNode(node, true, false, true); - $('#'+node.tId+'_a').find('.layui-icon').removeClass('layui-icon-right').addClass('layui-icon-down') + view.menuFloderOpen(node.tId) + // $('#'+node.tId+'_a').find('.layui-icon').removeClass('layui-icon-right').addClass('layui-icon-down') } } // 清除掉所有树的节点激活效果 @@ -984,6 +987,12 @@ }, //method of operate ztree dom view = { + menuFloderClose: function(id){ + $('#'+id+'_a').find('.layui-icon').removeClass('layui-icon-down').addClass('layui-icon-right') + }, + menuFloderOpen: function(id){ + $('#'+id+'_a').find('.layui-icon').removeClass('layui-icon-right').addClass('layui-icon-down') + }, resetStyle: function(setting){ $('#'+setting.treeId+' .treeNodeDiv').each(function(){ var num = $(this).parents('ul').length; @@ -1026,6 +1035,9 @@ view.selectedNextNode(treeObj,selectedNode,setting,event) } else { treeObj.expandNode(selectedNode, true, false, true); + if(setting.view.treeMode === 'menu'){ + view.menuFloderOpen(selectedNode.tId) + } } } else { view.selectedNextNode(treeObj,selectedNode,setting,event) @@ -1039,7 +1051,10 @@ // 高亮该节点的父节点 if(selectedNode.isParent){ // 文件夹 if(selectedNode.open){ - treeObj.expandNode(selectedNode, false, true, true); + treeObj.expandNode(selectedNode, false, false, true); + if(setting.view.treeMode === 'menu'){ + view.menuFloderClose(selectedNode.tId) + } } else { var parentNode = selectedNode.getParentNode() if(!parentNode && selectedNode.getIndex() !== 0){ @@ -1549,7 +1564,7 @@ "' style='", view.makeNodeIcoStyle(setting, node), "'>", name, saveText, ""); - if(node.data.type === 'CATALOG') { + if(node.data.type === 'CATALOG' && node.children) { html.push(' ') } }, diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/icon.css b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/icon.css index db6bf8cb3e6e389d25d86d366628579000d16f93..0d9939cc50458dc4d39dce4f626631bf95873690 100644 --- a/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/icon.css +++ b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/icon.css @@ -37,16 +37,22 @@ } /* 领域模型 */ -#editor .ztree li a span.button.domain_type_ico_close, -#editor .ztree li a span.button.domain_type_ico_open { +/* TODO存疑 */ + +#editor .ztree li a span.button.domain_ico_docu, +#editor .ztree li a span.button.domain_ico_close, +#editor .ztree li a span.button.domain_ico_open, +#editor .ztree li a span.button.modelentity_ico_close, +#editor .ztree li a span.button.modelentity_ico_open, +#editor .ztree li a span.button.modelentity_ico_docu { background-position: -26px -29px; } /* 领域模型类型 */ -#editor .ztree li a span.button.modelentity_ico_close, -#editor .ztree li a span.button.modelentity_ico_open, -#editor .ztree li a span.button.modelentity_ico_docu { +#editor .ztree li a span.button.domain_type_ico_docu, +#editor .ztree li a span.button.domain_type_ico_close, +#editor .ztree li a span.button.domain_type_ico_open { background-position: -55px -29px; } @@ -71,7 +77,7 @@ } /* 页面模型类型 */ -/* TODO */ +#editor .ztree li a span.button.page_type_ico_docu, #editor .ztree li a span.button.page_type_ico_close, #editor .ztree li a span.button.page_type_ico_open { background-position: -119px -111px; @@ -193,6 +199,13 @@ background-position: -240px -138px; } +/* 值对象 */ +#editor .ztree li a span.button.domain_vo_ico_docu, +#editor .ztree li a span.button.domain_vo_ico_close, +#editor .ztree li a span.button.domain_vo_ico_open { + background-position: -27px -193px; +} + /* 流程对象树 */ /* 流程对象 */ #editor .ztree li a span.button.workflow_model_type_ico_docu, @@ -202,12 +215,15 @@ } /* 模型分类关闭 */ -#editor .ztree li a span.button.category_open_ico_close { +#editor .ztree li a span.button.folder_ico_docu, +#editor .ztree li a span.button.folder_ico_close, +#editor .ztree li a span.button.category_ico_close { background-position: -87px -83px; } /* 模型分裂展开 */ -#editor .ztree li a span.button.category_open_ico_open { +#editor .ztree li a span.button.folder_ico_open, +#editor .ztree li a span.button.category_ico_open { background-position: -119px -83px; } @@ -383,12 +399,21 @@ } /* 数据规则 */ -#editor .ztree li a span.button.data_rule_docu, -#editor .ztree li a span.button.data_rule_open, -#editor .ztree li a span.button.data_rule_close { +#editor .ztree li a span.button.data_rule_ico_docu, +#editor .ztree li a span.button.data_rule_ioc_open, +#editor .ztree li a span.button.data_rule_ico_close { background-position: -414px -110px; } +/* 菜单目录 */ +#editor .ztree li a span.button.menu_catalog_ico_docu, +#editor .ztree li a span.button.menu_catalog_ico_open, +#editor .ztree li a span.button.menu_catalog_ico_close { + background-position: -150px -110px; +} + + + /* 规则树 */ /* 规则项目 */ #editor .ztree li a span.button.rule_project_ico_docu, @@ -465,180 +490,4 @@ #editor .ztree li a span.button.rule_variable_ico_open, #editor .ztree li a span.button.rule_variable_ico_close { background-position: -411px -165px; -} - -/* 右键图标 */ -.layui-menu li .icon { - background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png) no-repeat scroll 0 0 transparent; -} - -/* 新增 */ -.layui-menu li .add, -.layui-menu li .create { - background-position: -18px -186px -} - -/* */ -.layui-menu li .edit { - background-position: -54px -186px; -} - -/* */ -.layui-menu li .delete { - background-position: -91px -186px; -} - -/* */ -.layui-menu li .detail { - background-position: -126px -186px; -} - -/* */ -.layui-menu li .download_model { - background-position: -162px -186px; -} - -/* */ -.layui-menu li .import_model { - background-position: -198px -187px; -} - -/* */ -.layui-menu li .gen_domain { - background-position: -234px -187px; -} - -/* */ -.layui-menu li .gen_sql { - background-position: -270px -188px; -} - -/* */ -.layui-menu li .gen_code { - background-position: -305px -187px; -} - -/* */ -.layui-menu li .gen_page { - background-position: -343px -187px; -} - -/* */ -.layui-menu li .gen_json { - background-position: -377px -187px; -} - -/* */ -.layui-menu li .version_publish { - background-position: -414px -187px; -} - -/* */ -.layui-menu li .version_list { - background-position: -18px -223px; -} - -/* */ -.layui-menu li .export_insert_sql { - background-position: -54px -223px; -} - -/* */ -.layui-menu li .his_record { - background-position: -90px -223px; -} - -/* */ -.layui-menu li .copy_url { - background-position: -126px -223px; -} - -/* */ -.layui-menu li .test { - background-position: -162px -223px; -} - -/* */ -.layui-menu li .create_domain { - background-position: -198px -223px; -} - -/* */ -.layui-menu li .create_vo { - background-position: -233px -223px; -} - -/* */ -.layui-menu li .create_domain_field { - background-position: -270px -224px; -} - -/* */ -.layui-menu li .create_page { - background-position: -305px -225px; -} - -/* */ -.layui-menu li .create_flow_form { - background-position: -341px -225px; -} - -/* */ -.layui-menu li .create_folder { - background-position: -378px -225px; -} - -/* */ -.layui-menu li .create_datasource { - background-position: -414px -225px; -} - -/* */ -.layui-menu li .create_value_gen { - background-position: -19px -265px; -} - -/* */ -.layui-menu li .create_dd { - background-position: -53px -265px; -} - -/* */ -.layui-menu li .create_dd_item { - background-position: -89px -256.5px; -} - -/* */ -.layui-menu li .create_mdm { - background-position: -125px -257px; -} - -/* */ -.layui-menu li .create_menu { - background-position: -161px -256px; -} - -/* */ -.layui-menu li .publish { - background-position: -198px -256px; -} - -/* */ -.layui-menu li .suspend { - background-position: -234px -257px; -} - -/* */ -.layui-menu li .recovery { - background-position: -270px -256.5px; -} - -/* */ -.layui-menu li .export { - background-position: -306px -255.5px; -} - -/* */ -.layui-menu li .copy { - background-position: -341px -256px; } \ No newline at end of file diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/jqGride.css b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/jqGride.css new file mode 100644 index 0000000000000000000000000000000000000000..da38b08e5d7dcae91b16c1f0d24b365616568ef8 --- /dev/null +++ b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/jqGride.css @@ -0,0 +1,52 @@ +.pq-grid-cont-inner>table>tbody>tr>td>a { + width: 18px; + height: 18px; + display: inline-block; + margin: 3px 3px 0 3px; +} +.pq-grid-cont-inner>table>tbody>tr>td>a:hover { + background-color: #ddd; +} + +.pq-grid-cont-inner>table>tbody>tr>td>.divider { + width: 0.5px; + height: 17px; + display: inline-block; + background-color: #333; +} + +.pq-grid-cont-inner>table>tbody>tr>td>a>.icon { + + background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png) no-repeat scroll 0 0 transparent; + width: 18px; + height: 18px; + display: inline-block; +} + +.pq-grid-cont-inner>table>tbody>tr>td>a>.create { + background-position: -20px -441px; +} + +.pq-grid-cont-inner>table>tbody>tr>td>a>.delete { + background-position: -89px -440.5px; +} + +.pq-grid-cont-inner>table>tbody>tr>td>a>.edit { + background-position: -54px -441px; +} + +.pq-grid-cont-inner>table>tbody>tr>td>a>.copy { + background-position: -125px -441px; +} + +.pq-grid-cont-inner>table>tbody>tr>td>a>.move_up { + background-position: -160px -442px; +} + +.pq-grid-cont-inner>table>tbody>tr>td>a>.move_down { + background-position: -193px -442px; +} + +.pq-grid-cont-inner>table>tbody>tr>td>a>.setting { + background-position: -227px -442px; +} \ No newline at end of file diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/rightClick.css b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/rightClick.css new file mode 100644 index 0000000000000000000000000000000000000000..8f368c8dfda5fb0fd4371a636ee06c5944a4202c --- /dev/null +++ b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/rightClick.css @@ -0,0 +1,191 @@ +/* 右键图标 */ +.layui-menu li .icon { + background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png) no-repeat scroll 0 0 transparent; +} + +/* 新增 */ +.layui-menu li .add, +.layui-menu li .create { + background-position: -18px -186px +} + +/* */ +.layui-menu li .edit { + background-position: -54px -186px; +} + +/* */ +.layui-menu li .delete { + background-position: -89px -186px; +} + +/* */ +.layui-menu li .detail { + background-position: -126px -186px; +} + +/* */ +.layui-menu li .download_model { + background-position: -162px -186px; +} + +/* */ +.layui-menu li .import_model { + background-position: -198px -187px; +} + +/* */ +.layui-menu li .gen_domain { + background-position: -234px -186px; +} + +/* */ +.layui-menu li .gen_sql { + background-position: -270px -188px; +} + +/* */ +.layui-menu li .gen_code { + background-position: -18px -222px; +} + +/* */ +.layui-menu li .gen_page { + /* -342px -187px */ + background-position: -305px -186px; +} + +/* */ +.layui-menu li .gen_json { + background-position: -341px -187px; +} + +/* 版本发布 */ +.layui-menu li .version_publish { + background-position: -378px -187px; +} + +/* 版本列表 */ +.layui-menu li .version_list { + background-position: -414px -187px; +} + +/* */ +.layui-menu li .export_insert_sql { + background-position: -54px -223px; +} + +/* */ +.layui-menu li .his_record { + background-position: -90px -223px; +} + +/* */ +.layui-menu li .copy_url { + background-position: -127px -223px; +} + +/* */ +.layui-menu li .test { + background-position: -162px -223px; +} + +/* */ +.layui-menu li .create_domain { + background-position: -198px -223px; +} + +/* */ +.layui-menu li .create_vo { + background-position: -234px -223px; +} + +/* */ +.layui-menu li .create_domain_field { + background-position: -270px -224px; +} + +/* */ +.layui-menu li .create_page { + background-position: -305px -225px; +} + +/* */ +.layui-menu li .create_flow_form { + background-position: -341px -225px; +} + +/* */ +.layui-menu li .create_folder { + background-position: -378px -225px; +} + +/* */ +.layui-menu li .create_datasource { + background-position: -414px -225px; +} + +/* */ +.layui-menu li .create_value_gen { + background-position: -19px -265px; +} + +/* */ +.layui-menu li .create_dd { + background-position: -53px -265px; +} + +/* */ +.layui-menu li .create_dd_item { + background-position: -89px -256.5px; +} + +/* */ +.layui-menu li .create_mdm { + background-position: -125px -257px; +} + +/* */ +.layui-menu li .create_menu { + background-position: -161px -256px; +} + +/* */ +.layui-menu li .publish { + background-position: -198px -257px; +} + +/* */ +.layui-menu li .suspend { + background-position: -234px -257px; +} + +/* */ +.layui-menu li .recovery { + background-position: -270px -256.5px; +} + +/* */ +.layui-menu li .export { + background-position: -306px -255.5px; +} + +/* */ +.layui-menu li .copy { + background-position: -341px -256px; +} + +/* 查看版本 */ +.layui-menu li .check_version { + background-position: -414px -256px; +} + +/* 设计 */ +.layui-menu li .page_design { + background-position: -379px -255px; +} + +/* 新增下级 */ +/* .layui-menu li . { + background-position: -341px -256px; +} */ \ No newline at end of file diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/style1.css b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/style1.css index e989703e51925e80ea2d1415969f54675351e96e..79fccf855d90b7ed46cd3ffea3fded63d2dae56b 100644 --- a/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/style1.css +++ b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/style1.css @@ -615,99 +615,7 @@ div.pq-toolbar { padding: 0 10px; } -.layui-layout-right .review { - height: 26px; - width: 26px; - display: inline-block; - background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/icon.png) no-repeat scroll 0 0 transparent; - background-position: -112px -131px; - cursor: pointer; - margin-right: 3px; - /* border-radius: 50%; */ -} - -/* 设计器工具栏 */ -.layui-layout-right>.layui-nav-item>.save { - height: 26px; - width: 26px; - display: inline-block; - background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png) no-repeat scroll 0 0 transparent; - background-position: -15px -20px; - cursor: pointer; - margin-right: 3px; - /* border-radius: 50%; */ -} -.layui-layout-right>.layui-nav-item> .design { - height: 26px; - width: 26px; - display: inline-block; - background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png) no-repeat scroll 0 0 transparent; - background-position: -49px -20px; - cursor: pointer; - margin-right: 3px; - /* border-radius: 50%; */ -} - -.layui-layout-right>.layui-nav-item> .publish { - height: 26px; - width: 26px; - display: inline-block; - background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png) no-repeat scroll 0 0 transparent; - background-position: -85px -20px; - cursor: pointer; - margin-right: 3px; - /* border-radius: 50%; */ -} - -.layui-layout-right>.layui-nav-item> .preview { - height: 26px; - width: 26px; - display: inline-block; - background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png) no-repeat scroll 0 0 transparent; - background-position: -121px -19px; - cursor: pointer; - margin-right: 3px; - /* border-radius: 50%; */ -} - -.layui-layout-right>.layui-nav-item> .run { - height: 26px; - width: 26px; - display: inline-block; - background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png) no-repeat scroll 0 0 transparent; - background-position: -158px -18px; - cursor: pointer; - margin-right: 3px; - /* border-radius: 50%; */ -} - -.layui-layout-right>.layui-nav-item> .debug { - height: 26px; - width: 26px; - display: inline-block; - background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png) no-repeat scroll 0 0 transparent; - background-position: -193px -18px; - cursor: pointer; - margin-right: 3px; - /* border-radius: 50%; */ -} - -.layui-layout-right>.layui-nav-item> .stop { - height: 26px; - width: 26px; - display: inline-block; - background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png) no-repeat scroll 0 0 transparent; - background-position: -229px -18px; - cursor: pointer; - margin-right: 3px; - /* border-radius: 50%; */ -} - - -/* .layui-layout-right>.layui-nav-item>a> .layui-nav-item a:hover{ - color: rgb(0,167,255); -} */ .layui-side .layui-tab-title { height: 65px; padding-top: 0; @@ -983,7 +891,7 @@ ul.layui-menu { display: inline-block; } -.layui-layout-admin .layui-footer { +.layui-layout-admin .footer { position: static; border-top: 1px solid var(--system-main-borderColor); left: 0px; @@ -995,7 +903,7 @@ ul.layui-menu { font-size: 12px; } -.layui-layout-admin .layui-footer span { +.layui-layout-admin .footer span { margin-left: 15px; font-weight: 700; color: #666; @@ -1051,6 +959,14 @@ ul.layui-menu { .layui-layer-btn .layui-layer-btn0:hover { color: #fff; } + .amis-scope .cxd-Crud-selectionClear:hover { background-color: transparent; +} +.layui-tab-brief>.layui-tab-title .layui-this { + color: #fff; + background: rgb(79,158,238); +} +.pear-tab .layui-tab-title .layui-this .pear-tab-active { + background-color: rgb(79,158,238); } \ No newline at end of file diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/tab.css b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/tab.css index b13d5657215d032cef9141adb950f03d580bf9e3..68f73deadf3cb3be117198063ba80ab4d99bae60 100644 --- a/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/tab.css +++ b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/tab.css @@ -67,7 +67,7 @@ } .pear-tab .layui-tab-title .layui-this .pear-tab-active { - background-color: #5FB878; + background-color: rgb(79,158,238); } .pear-tab .layui-tab-title .layui-tab-close:hover { diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/tabBar.css b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/tabBar.css new file mode 100644 index 0000000000000000000000000000000000000000..4d159099e087eedb2798e5c1531053d189fe382e --- /dev/null +++ b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/tabBar.css @@ -0,0 +1,132 @@ +.layui-layout-right .icon { + height: 26px; + width: 26px; + display: inline-block; + background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/right_icon.png) no-repeat scroll 0 0 transparent; + margin-right: 3px; + margin-top: 2px; +} + +/* 激活态鼠标悬浮 */ +.layui-layout-right .save_active:hover, +.layui-layout-right .preview_active:hover, +.layui-layout-right .design_active:hover, +.layui-layout-right .publish_active:hover, +.layui-layout-right .run_active:hover, +.layui-layout-right .debug_active:hover, +.layui-layout-right .debug_active:hover, +.layui-layout-right .stop_active:hover { + background-color: #ddd; +} + +/* 激活态光标 */ +.layui-layout-right .save_active, +.layui-layout-right .preview_active, +.layui-layout-right .design_active, +.layui-layout-right .publish_active, +.layui-layout-right .run_active, +.layui-layout-right .debug_active, +.layui-layout-right .debug_active, +.layui-layout-right .stop_active { + cursor: pointer; +} + +/* 激活态 */ +.layui-layout-right .save_active { + background-position: -15px -51px; +} + +.layui-layout-right .preview_active { + background-position: -123px -51px; +} + +.layui-layout-right .design_active { + background-position: -50px -51px; +} + +.layui-layout-right .publish_active { + background-position: -87px -51px; +} + +.layui-layout-right .run_active { + background-position: -157px -51px; +} + +.layui-layout-right .debug_active { + background-position: -190px -51px; +} + +.layui-layout-right .stop_active { + background-position: -224px -51px; +} + +/* 禁用态光标 */ +.layui-layout-right .save_disabled, +.layui-layout-right .preview_disabled, +.layui-layout-right .design_disabled, +.layui-layout-right .publish_disabled, +.layui-layout-right .run_disabled, +.layui-layout-right .debug_disabled, +.layui-layout-right .debug_disabled, +.layui-layout-right .stop_disabled { + cursor: default; +} + +/* 禁用态 */ +.layui-layout-right .save_disabled { + background-position: -15px -19px; +} + +.layui-layout-right .preview_disabled { + background-position: -123px -18px; +} + +.layui-layout-right .design_disabled { + background-position: -50px -19px; +} + +.layui-layout-right .publish_disabled { + background-position: -87px -19px; +} + +.layui-layout-right .run_disabled { + background-position: -157px -19px; +} + +.layui-layout-right .debug_disabled { + background-position: -190px -19px; +} + +.layui-layout-right .stop_disabled { + background-position: -224px -19px; +} + +/* .layui-layout-right .review { + height: 26px; + width: 26px; + display: inline-block; + background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/icon.png) no-repeat scroll 0 0 transparent; + background-position: -112px -131px; + cursor: pointer; + margin-right: 3px; + border-radius: 50%; +} */ + +/* 设计器工具栏 */ + + + + + + + + + + + + + + +/* .layui-layout-right a> .layui-nav-item a:hover{ + color: rgb(0,167,255); +} */ \ No newline at end of file diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/treeReset.css b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/treeReset.css index 5b535ca6b26f69314a339e825044362e00377192..7f1417caccef728cbf44f507c24a4fac0b66d5d8 100644 --- a/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/treeReset.css +++ b/fast-develop-web/fast-develop-editor/src/fast-develop/src/css/treeReset.css @@ -60,6 +60,7 @@ ul.ztree li>div { width: 100%; } ul.ztree li>div a { + width: 100%; width: calc(100% - 18px); } /* ul.ztree li.menuTree, diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/src/index_gs.html b/fast-develop-web/fast-develop-editor/src/fast-develop/src/index_gs.html index a36ef7021a74527d04c55759d85356530b0fc0a7..ba5f081cea90cd951a143002f77fac1a72c2eb61 100644 --- a/fast-develop-web/fast-develop-editor/src/fast-develop/src/index_gs.html +++ b/fast-develop-web/fast-develop-editor/src/fast-develop/src/index_gs.html @@ -1,10 +1,11 @@ + Fast Develop Designer - + @@ -25,272 +26,276 @@ + -
- +
+ - - - - - + + + + + - + - - - + + - - - + + + + }) + + \ No newline at end of file diff --git a/fast-develop-web/fast-develop-editor/src/fast-develop/src/js/module/app/editor/footer.js b/fast-develop-web/fast-develop-editor/src/fast-develop/src/js/module/app/editor/footer.js index 1a0a1cbf3440703f587dbef1174473ef029d09af..57348d2a8c1eefcdc37e286ba442ff0eba2e1de7 100644 --- a/fast-develop-web/fast-develop-editor/src/fast-develop/src/js/module/app/editor/footer.js +++ b/fast-develop-web/fast-develop-editor/src/fast-develop/src/js/module/app/editor/footer.js @@ -17,7 +17,7 @@ layui.define(['element', 'api','utils','amis'], function(exports) { function addDom(option){ var dom = ` -