Blame view

WebRoot/static/js/model.js 421 Bytes
090d8a8b   孙向锦   居然在判断里面添加了逻辑,这代码。...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  $(".tab1").click(function(){
  	var _this=$(this);
  	_this.find("ul").slideToggle(function(){
  		if(_this.find("ul").css("display")=="block")
  			_this.find(".right").attr("class","down jiao");
  		else
  			_this.find(".down").attr("class","right jiao");
  	});
  })
  $("#chooseAll").click(function(){
  	if(this.checked)
  		$("input[name='choose']").prop("checked", true);
  	else
  		$("input[name='choose']").prop("checked", false);
  })