diff --git a/component/layui/lay/extends/pearAdmin.js b/component/layui/lay/extends/pearAdmin.js
index 0a419ca..9f286d9 100644
--- a/component/layui/lay/extends/pearAdmin.js
+++ b/component/layui/lay/extends/pearAdmin.js
@@ -438,42 +438,6 @@ layui.define(['table', 'jquery', 'element', 'form', 'pearAuth', 'pearTab', 'pear
html +=
"
"
- // var muiltTab =
- // '';
-
- // var showLogo =
- // '';
-
-
- // var menuType =
- // '';
-
- // html +=
- // '';
-
-
-
html += '"
+ return html;
}
/** 创建指定数量的卡片 */
function createCards(data) {
-
var content = "";
-
$.each(data, function(i, item) {
content += createCard(item);
})
-
content += "
"
-
return content;
-
}
diff --git a/component/layui/lay/extends/pearMenu.js b/component/layui/lay/extends/pearMenu.js
index 10e82a1..84ec4fd 100644
--- a/component/layui/lay/extends/pearMenu.js
+++ b/component/layui/lay/extends/pearMenu.js
@@ -32,7 +32,6 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
}
}
-
// 根 据 请 求 方 式 获 取 数 据
if (option.async) {
option.data = getData(option.url);
@@ -45,7 +44,6 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
if (option.control != false) {
createMenuAndControl(option);
-
} else {
createMenu(option);
}
@@ -298,7 +296,6 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
} else {
-
controlItem = '' + item.title + '';
@@ -427,8 +424,6 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
} else {
content += ' 无 内 容
';
-
- /* 暂 无 数 据 */
}
content += '';
@@ -436,7 +431,6 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
}
function downShow(option) {
-
$("body #" + option.elem).on("click", "a[menu-type='0']", function() {
if (!$("#" + option.elem).is(".pear-nav-mini")) {
@@ -463,8 +457,9 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
});
} else {
+
$(this).parent().addClass("layui-nav-itemed");
-
+
ele.animate({
height: "0px"
}, 200, function() {
@@ -473,7 +468,6 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
});
$(this).parent().removeClass("layui-nav-itemed");
});
-
}
}
})
@@ -515,8 +509,6 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
$(this).children(".layui-nav-child").removeClass("layui-nav-hover");
- //判断当前是dd,还是 layui-nav-item
-
$(this).children(".layui-nav-child").css({
left: '0px'
});
@@ -530,6 +522,5 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
$("#" + option.elem + " dd").off('mouseenter').unbind('mouseleave');
}
}
-
exports(MOD_NAME, new pearMenu());
})
diff --git a/component/layui/lay/extends/pearNotice.js b/component/layui/lay/extends/pearNotice.js
index 0f98c9e..cb459ed 100644
--- a/component/layui/lay/extends/pearNotice.js
+++ b/component/layui/lay/extends/pearNotice.js
@@ -56,9 +56,7 @@ layui.define(['table', 'jquery', 'element'], function(exports) {
function createHtml(option) {
-
-
- var notice = '' +
+ var notice = '' +
'' +
'';