diff --git a/admin/css/pearCommon.css b/admin/css/pearCommon.css index e1dee67..72b43de 100644 --- a/admin/css/pearCommon.css +++ b/admin/css/pearCommon.css @@ -255,26 +255,26 @@ body::-webkit-scrollbar-corner { } /** 滚动条样式 */ -::-webkit-scrollbar { +body::-webkit-scrollbar { width: 4px; height: 4px; } -::-webkit-scrollbar-track { +body::-webkit-scrollbar-track { background: white; border-radius: 2px; } -::-webkit-scrollbar-thumb { +body::-webkit-scrollbar-thumb { background: #E6E6E6; border-radius: 2px; } -::-webkit-scrollbar-thumb:hover { +body::-webkit-scrollbar-thumb:hover { background: #E6E6E6; } -::-webkit-scrollbar-corner { +body::-webkit-scrollbar-corner { background: #f6f6f6; } diff --git a/admin/css/pearFrame.css b/admin/css/pearFrame.css index 57e712f..bf504a2 100644 --- a/admin/css/pearFrame.css +++ b/admin/css/pearFrame.css @@ -16,33 +16,17 @@ display: inline-block; } - .pear-frame .title{ - position: absolute; - margin-top: 0px; - margin-left: 12px; - color: dimgray; - display: inline-block; - letter-spacing:2px; - } - - .pear-frame .pear-frame-title{ - height: 40px; - line-height: 40px; - background-color: white; - border: whitesmoke 1px solid; - } - + .pear-frame .pear-frame-content{ width: 100%; - height: calc(100% - 45px)!important; + height: 100%!important; } .pear-frame-loading { position: absolute; display: none; width: 100%; - height: calc(100% - 42px); - top: 42px; + height: 100%; z-index: 19; background-color: #fff } diff --git a/component/layui/lay/extends/pearFrame.js b/component/layui/lay/extends/pearFrame.js index 85fd9e0..11fe7e2 100644 --- a/component/layui/lay/extends/pearFrame.js +++ b/component/layui/lay/extends/pearFrame.js @@ -78,8 +78,6 @@ layui.define(['table', 'jquery', 'element'], function (exports) { function createFrameHTML(option){ - var title = "
"+option.title+"
" - var iframe = "" var loading = '
'+ @@ -88,7 +86,7 @@ layui.define(['table', 'jquery', 'element'], function (exports) { '
'+ '
' - $("#"+option.elem).html(title+iframe+loading); + $("#"+option.elem).html(iframe+loading); } exports(MOD_NAME,new pearFrame()); diff --git a/index.html b/index.html index 939e4c7..f55ec0b 100644 --- a/index.html +++ b/index.html @@ -80,7 +80,7 @@ var config = { keepLoad: 2000, // 主 页 加 载 过 度 时 长 可为 false - muiltTab: true, // 是 否 开 启 多 标 签 页 true 开启 false 关闭 + muiltTab: false, // 是 否 开 启 多 标 签 页 true 开启 false 关闭 control: false, // 是 否 开 启 多 系 统 菜 单 true 开启 false 关闭 theme: "dark-theme", // 默 认 主 题 样 式 dark-theme 默认主题 light-theme 亮主题 index: 'view/console/console1.html', // 默 认 加 载 主 页