js代码
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script> <script type="text/javascript"> $( ".button" ).click(function() { $(this).toggleClass( "active" ); $(".icons").toggleClass( "open" ); }); </script>