修复左侧菜单最后一个li样式问题

This commit is contained in:
RuoYi
2019-05-17 20:41:51 +08:00
parent 854b9426b9
commit 4d45edbf52
3 changed files with 15 additions and 18 deletions

View File

@ -12,20 +12,17 @@ $(function() {
})
})
}
// checkbox 事件绑定
if ($(".check-box").length > 0) {
$(".check-box").iCheck({
checkboxClass: 'icheckbox-blue',
radioClass: 'iradio-blue',
})
}
// radio 事件绑定
if ($(".radio-box").length > 0) {
$(".radio-box").iCheck({
checkboxClass: 'icheckbox-blue',
radioClass: 'iradio-blue',
})
// iCheck单选框及复选框事件绑定
if ($.fn.iCheck !== undefined) {
$(".check-box:not(.noicheck),.radio-box:not(.noicheck)").each(function() {
$(this).iCheck({
checkboxClass: 'icheckbox-blue',
radioClass: 'iradio-blue',
})
})
}
// laydate 时间控件绑定
if ($(".select-time").length > 0) {
layui.use('laydate', function() {