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,11 +8,8 @@
8 8
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
9 9
<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet">
10 10
<link type="text/css" href="css/reset.css" rel="stylesheet" />
11
<link type="text/css" href="css/webuploader/webuploader.css" rel="stylesheet">
12 11
<link type="text/css" href="css/common.css" rel="stylesheet">
13 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 13
</head>
17 14
<body>
18 15
<!--头部-->
@ -131,8 +128,6 @@
131 128
<script type="text/javascript" src="js/jquery.page.js"></script>
132 129
<script type="text/javascript" src="js/common.js"></script>
133 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 131
<script type="text/javascript" src="js/consult.js"></script>
137 132
<script type="text/javascript">
138 133
	//下拉菜单,点击选项和body,下拉菜单你消失

+ 0 - 5
demand.html

@ -8,11 +8,8 @@
8 8
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
9 9
<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet">
10 10
<link type="text/css" href="css/reset.css" rel="stylesheet" />
11
<link type="text/css" href="css/webuploader/webuploader.css" rel="stylesheet">
12 11
<link type="text/css" href="css/common.css" rel="stylesheet">
13 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 13
</head>
17 14
<body>
18 15
<!--头部-->
@ -130,8 +127,6 @@
130 127
<script type="text/javascript" src="js/jquery.page.js"></script>
131 128
<script type="text/javascript" src="js/common.js"></script>
132 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 130
<script type="text/javascript" src="js/demand.js"></script>
136 131
<script type="text/javascript">
137 132
	//下拉菜单,点击选项和body,下拉菜单你消失

+ 10 - 9
js/demand.js

@ -126,15 +126,16 @@ function handleData(data, attrParams, btnCls) {
126 126
				modifyclass = 'authicon authicon-cu';
127 127
128 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,7 +2080,7 @@ $(function() {
2080 2080
		}
2081 2081
	});
2082 2082
	$("#enterwork").on("click", function() {
2083
			location.href = "workspaces.html?" + userid + "&num=1";
2083
			location.href = "newsciresource.html";
2084 2084
		})
2085 2085
		//到至今选中复选框的操作
2086 2086
		/*$(".present").click(function(){
@ -2145,7 +2145,7 @@ $(function() {
2145 2145
		}
2146 2146
	});
2147 2147
	$("#enter1work").on("click", function() {
2148
			location.href = "workspaces.html?" + userid + "&num=2";
2148
			location.href = "news-list.html";
2149 2149
		})
2150 2150
		/*ģ��Selectѡ���*/
2151 2151
	$(".input_select").click(function() {