diff --git a/component/pear/css/pear-module/frame.css b/component/pear/css/pear-module/frame.css index 8835c21..85bdaf5 100644 --- a/component/pear/css/pear-module/frame.css +++ b/component/pear/css/pear-module/frame.css @@ -40,8 +40,8 @@ position: absolute; display: none; width: 100%; - height: 100%; - top: 0px; + height: calc(100% - 45px) !important; + top: 42px; z-index: 19; background-color: #fff } diff --git a/component/pear/modules/admin.js b/component/pear/modules/admin.js index 419ed95..0e6dc2b 100644 --- a/component/pear/modules/admin.js +++ b/component/pear/modules/admin.js @@ -121,7 +121,7 @@ layui.define(['table', 'jquery', 'element', 'yaml','form', 'tab', 'menu', 'frame } else { bodyFrame = pearFrame.render({ elem: 'content', - title: '工作空间 / 首页', + title: '首页', url: param.tab.index.href, width: '100%', height: '100%' diff --git a/component/pear/modules/frame.js b/component/pear/modules/frame.js index d81a460..6a00864 100644 --- a/component/pear/modules/frame.js +++ b/component/pear/modules/frame.js @@ -53,13 +53,14 @@ layui.define(['table', 'jquery', 'element'], function (exports) { } function createFrameHTML(option){ + var header = "