Blame view

WebRoot/static/js/model.js 728 Bytes
090d8a8b   孙向锦   居然在判断里面添加了逻辑,这代码。...
1
2
  $(".tab1").click(function(){
  	var _this=$(this);
c617106f   孙向锦   添加即时测功能
3
4
5
6
7
8
9
10
11
12
13
14
  	_this.children("ul").slideToggle(function(){
  		if(_this.children("ul").css("display")=="block")
  			_this.find(".right").attr("class","down jiao");
  		else
  			_this.find(".down").attr("class","right jiao");
  	});
  })
  $(".menu_1 li").click(function(event){
  	event.stopPropagation();
  	var _this=$(this);
  	_this.children("ul").slideToggle(function(){
  		if(_this.children("ul").css("display")=="block")
090d8a8b   孙向锦   居然在判断里面添加了逻辑,这代码。...
15
16
17
18
19
20
21
22
23
24
25
  			_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);
  })