diff --git a/component/pear/module/common.js b/component/pear/module/common.js deleted file mode 100644 index e69de29..0000000 diff --git a/component/pear/module/document.js b/component/pear/module/document.js deleted file mode 100644 index 0d78590..0000000 --- a/component/pear/module/document.js +++ /dev/null @@ -1,13 +0,0 @@ -layui.define(['jquery', 'element'], function(exports) { - "use strict"; - - var MOD_NAME = 'document', - $ = layui.jquery, - element = layui.element; - - var document = function(opt) { - this.option = opt; - }; - - exports(MOD_NAME, new document()); -}) diff --git a/component/pear/module/tab.js b/component/pear/module/tab.js index c5c02e2..071ed62 100644 --- a/component/pear/module/tab.js +++ b/component/pear/module/tab.js @@ -362,7 +362,6 @@ layui.define(['jquery', 'element'], function(exports) { } - function createTab(option) { var type = ""; @@ -440,9 +439,6 @@ layui.define(['jquery', 'element'], function(exports) { title += ''; content += ''; - - // 处 理 工 具 栏 - control += '
关 闭 当 前
' control += '
关 闭 其 他
' control += '
关 闭 全 部
' @@ -507,7 +503,6 @@ layui.define(['jquery', 'element'], function(exports) { }) $("body .layui-tab[lay-filter='" + option.elem + "']").on("click", "#closeAll", function() { - var currentId = $(".layui-tab[lay-filter='" + option.elem + "'] .layui-tab-title .layui-this").attr("lay-id"); var tabtitle = $(".layui-tab[lay-filter='" + option.elem + "'] .layui-tab-title li"); $.each(tabtitle, function(i) { diff --git a/component/pear/pear.all.js b/component/pear/pear.all.js index 586c32f..f2885de 100644 --- a/component/pear/pear.all.js +++ b/component/pear/pear.all.js @@ -14,7 +14,6 @@ layui.config({ echarts: "echarts", echartsTheme: "echartsTheme", hash: "hash", - document: "document", select: "select", drawer: "drawer", notice: "notice", @@ -30,5 +29,6 @@ layui.config({ topBar: "topBar", button: "button", design: "design", - dropdown: "dropdown" + dropdown: "dropdown", + card: "card" }); diff --git a/component/pear/pear.js b/component/pear/pear.js index 257f5c6..f2885de 100644 --- a/component/pear/pear.js +++ b/component/pear/pear.js @@ -14,7 +14,6 @@ layui.config({ echarts: "echarts", echartsTheme: "echartsTheme", hash: "hash", - document: "document", select: "select", drawer: "drawer", notice: "notice",