项目中解决方法:
var $choices = $('.z-ser .col:gt(3)');
$choices.hide();
var $toggleBtn = $('.btns .more');
var flag=true;
$toggleBtn.click(function() {
if(flag){
$choices.slideDown(600);
$(this).find('span').text('收起搜索').siblings('i').removeClass('icon-down-arrow').addClass('icon-up-arrow');
flag = false;
}else {
$choices.slideUp(600);
$(this).find('span').text('更多搜索').siblings('i').removeClass('icon-up-arrow').addClass('icon-down-arrow');
flag = true;
}
});