abstract:jQuey手风琴效果 *{margin:0px;padding:0px;font-size:14px;font-weight:'微软雅黑';}
a{text-decoration:none;font-weight:'微软雅黑';font-size:14px;color: #000000}
.nav{width:250px;margin:70px auto;border-bottom:3px solid pink;border-top:3px solid pink;border-left: 1px solid pink;border-right: 1px solid pink;}
.one{width:250px;line-height:50px;line-height:50px;text-align:center;border-bottom:1px /*dashed*/ solid pink;}
.two div{line-height:45px;text-align:center;border-bottom:1px dashed pink;}
$(function(){
$('.two').css('display','none');
var none = $('.none');
var two = $('.two');
$('.one').each(function(i){
$(this).click(function(){
if ($(two[i]).css('display')=='none') {
$(two[i]).slideDown(400);
}else{
$(two[i]).slideUp(400);
}
})
})
})
Correcting teacher:韦小宝Correction time:2019-02-25 11:59:57
Teacher's summary:没事 多练习也是一种好处 没事的时候多多练习吧