Browse Source

咨询修改

xuchunyang 8 years ago
parent
commit
518f450888
4 changed files with 12 additions and 21 deletions
  1. 0 5
      consult.html
  2. 0 5
      demand.html
  3. 10 9
      js/demand.js
  4. 2 2
      js/information.js

+ 0 - 5
consult.html

8
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
8
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
9
<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet">
9
<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet">
10
<link type="text/css" href="css/reset.css" rel="stylesheet" />
10
<link type="text/css" href="css/reset.css" rel="stylesheet" />
11
<link type="text/css" href="css/webuploader/webuploader.css" rel="stylesheet">
12
<link type="text/css" href="css/common.css" rel="stylesheet">
11
<link type="text/css" href="css/common.css" rel="stylesheet">
13
<link type="text/css" href="css/workspace.css" rel="stylesheet">
12
<link type="text/css" href="css/workspace.css" rel="stylesheet">
14
<link type="text/css" href="css/popup.css" rel="stylesheet">
15
<link type="text/css" href="css/newsciresource.css" rel="stylesheet">
16
</head>
13
</head>
17
<body>
14
<body>
18
<!--头部-->
15
<!--头部-->
131
<script type="text/javascript" src="js/jquery.page.js"></script>
128
<script type="text/javascript" src="js/jquery.page.js"></script>
132
<script type="text/javascript" src="js/common.js"></script>
129
<script type="text/javascript" src="js/common.js"></script>
133
<script type="text/javascript" src="js/index.js"></script>
130
<script type="text/javascript" src="js/index.js"></script>
134
<script type="text/javascript" src="js/popup.js"></script>
135
<script type="text/javascript" src="js/workindex.js"></script>
136
<script type="text/javascript" src="js/consult.js"></script>
131
<script type="text/javascript" src="js/consult.js"></script>
137
<script type="text/javascript">
132
<script type="text/javascript">
138
	//下拉菜单,点击选项和body,下拉菜单你消失
133
	//下拉菜单,点击选项和body,下拉菜单你消失

+ 0 - 5
demand.html

8
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
8
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
9
<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet">
9
<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet">
10
<link type="text/css" href="css/reset.css" rel="stylesheet" />
10
<link type="text/css" href="css/reset.css" rel="stylesheet" />
11
<link type="text/css" href="css/webuploader/webuploader.css" rel="stylesheet">
12
<link type="text/css" href="css/common.css" rel="stylesheet">
11
<link type="text/css" href="css/common.css" rel="stylesheet">
13
<link type="text/css" href="css/workspace.css" rel="stylesheet">
12
<link type="text/css" href="css/workspace.css" rel="stylesheet">
14
<link type="text/css" href="css/popup.css" rel="stylesheet">
15
<link type="text/css" href="css/newsciresource.css" rel="stylesheet">
16
</head>
13
</head>
17
<body>
14
<body>
18
<!--头部-->
15
<!--头部-->
130
<script type="text/javascript" src="js/jquery.page.js"></script>
127
<script type="text/javascript" src="js/jquery.page.js"></script>
131
<script type="text/javascript" src="js/common.js"></script>
128
<script type="text/javascript" src="js/common.js"></script>
132
<script type="text/javascript" src="js/index.js"></script>
129
<script type="text/javascript" src="js/index.js"></script>
133
<script type="text/javascript" src="js/popup.js"></script>
134
<script type="text/javascript" src="js/workindex.js"></script>
135
<script type="text/javascript" src="js/demand.js"></script>
130
<script type="text/javascript" src="js/demand.js"></script>
136
<script type="text/javascript">
131
<script type="text/javascript">
137
	//下拉菜单,点击选项和body,下拉菜单你消失
132
	//下拉菜单,点击选项和body,下拉菜单你消失

+ 10 - 9
js/demand.js

126
				modifyclass = 'authicon authicon-cu';
126
				modifyclass = 'authicon authicon-cu';
127
127
128
			} else { //普通用户
128
			} else { //普通用户
129
				if(data[i]["professor"].authentication == 1) { //科研工作者
130
					modifyclass = "authicon2 authicon-mana";
131
132
				} else if(data[i]["professor"].authentication == 2) { //企业专家
133
					modifyclass = "authicon2 authicon-staff";
134
135
				} else { //学生
136
					modifyclass = "authicon2 authicon-stu";
137
129
				if(data[i]["professor"].authStatus == 3) { 
130
					if(data[i]["professor"].authentication == 1) { //科研工作者
131
						modifyclass = "authicon2 authicon-mana";
132
	
133
					} else if(data[i]["professor"].authentication == 2) { //企业专家
134
						modifyclass = "authicon2 authicon-staff";
135
	
136
					} else { //学生
137
						modifyclass = "authicon2 authicon-stu";
138
					}
138
				}
139
				}
139
			};
140
			};
140
			//未读消息
141
			//未读消息

+ 2 - 2
js/information.js

2080
		}
2080
		}
2081
	});
2081
	});
2082
	$("#enterwork").on("click", function() {
2082
	$("#enterwork").on("click", function() {
2083
			location.href = "workspaces.html?" + userid + "&num=1";
2083
			location.href = "newsciresource.html";
2084
		})
2084
		})
2085
		//到至今选中复选框的操作
2085
		//到至今选中复选框的操作
2086
		/*$(".present").click(function(){
2086
		/*$(".present").click(function(){
2145
		}
2145
		}
2146
	});
2146
	});
2147
	$("#enter1work").on("click", function() {
2147
	$("#enter1work").on("click", function() {
2148
			location.href = "workspaces.html?" + userid + "&num=2";
2148
			location.href = "news-list.html";
2149
		})
2149
		})
2150
		/*ģ��Selectѡ���*/
2150
		/*ģ��Selectѡ���*/
2151
	$(".input_select").click(function() {
2151
	$(".input_select").click(function() {