You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
559 B
27 lines
559 B
$(function(){
|
|
//头部菜单
|
|
$('.classreturn .nav_menu a:last').click(function(e){
|
|
$('.tpnavf').toggle();
|
|
e.stopPropagation();
|
|
});
|
|
//左侧导航
|
|
$('.classlist ul li').click(function(){
|
|
$(this).addClass('red').siblings().removeClass('red');
|
|
});
|
|
});
|
|
|
|
//删除确认框
|
|
function delconfirm(url,des)
|
|
{
|
|
if(!des){des='确定要删除吗?';}
|
|
|
|
//询问框
|
|
layer.open({
|
|
content: des
|
|
,btn: ['确定', '取消']
|
|
,yes: function(index){
|
|
location.href= url;
|
|
layer.close(index);
|
|
}
|
|
});
|
|
}
|