goods.js
723 Bytes
/*! dili 2016-01-06 */
define(function(require,exports,module){var _cds=$(".conditions-list"),_cds_height=_cds.height(),limit=64;return 64>=_cds_height?(limit=_cds_height,void $(".conditions .list-more").hide()):(_cds.animate({height:limit},200),$(".list-more .label").text("更多"),$(".list-more i").removeClass("icon-up").addClass("icon-down"),void $(".conditions .list-more").toggle(function(){$(".conditions-list").stop(!1,!0).animate({height:_cds_height},200),$("i",this).removeClass("icon-down").addClass("icon-up"),$(".label",this).text("收起")},function(){$(".conditions-list").stop(!1,!0).animate({height:limit},200),$("i",this).removeClass("icon-up").addClass("icon-down"),$(".label",this).text("更多")}))});