jack 8 anni fa
parent
commit
69bbdfb0a7
10 ha cambiato i file con 400 aggiunte e 39 eliminazioni
  1. 2 2
      index.html
  2. 58 0
      js/index.js
  3. 229 13
      js/myDemand.js
  4. 4 3
      js/needList.js
  5. 2 2
      js/needSure.js
  6. 12 3
      js/workindex.js
  7. 79 2
      myDemand.html
  8. 7 7
      needShow.html
  9. 5 5
      needSure.html
  10. 2 2
      workspaces.html

+ 2 - 2
index.html

@ -86,7 +86,7 @@
86 86
			  		<div class="link-btn-tip">
87 87
			  			<h2 class="link-tip-tit">发布需求</h2>
88 88
			  			<p>获得专家回复,解决研发难题,研发成本合理化</p>
89
			  			<button type="button" class="btn btn-pro">立即发布</button>
89
			  			<button type="button" class="btn btn-pro" id="postNow">立即发布</button>
90 90
			  		</div>
91 91
			  	</div>
92 92
			  </div>
@ -100,7 +100,7 @@
100 100
			  		<div class="link-btn-tip">
101 101
			  			<h2 class="link-tip-tit">我是专家</h2>
102 102
			  			<p>提升学术声誉,寻找企业合作,科研价值变现</p>
103
			  			<button type="button" class="btn btn-pro">加入科袖</button>
103
			  			<button type="button" class="btn btn-pro" id="JoinKeXiu">加入科袖</button>
104 104
			  		</div>
105 105
			  	</div>
106 106
			  </div>

+ 58 - 0
js/index.js

@ -81,6 +81,64 @@ $(function(){
81 81
			"top": "58%"
82 82
		})
83 83
	})
84
	/*发布需求*/
85
	$("#postNow").click(function(){
86
		if(userid=="null"){
87
			location.href="login.html";
88
		}
89
		$.ajax({
90
			url: "/ajax/professor/auth",
91
			type: "GET",
92
			timeout: 10000,
93
			dataType: "json",
94
			data: {
95
				"id": userid,
96
			},
97
			success: function(data, textState) {
98
				if(data.success) {
99
					var $rta=data.data;
100
					if($rta.authStatus==3){
101
						location.href="myDemand.html";
102
					}else{
103
						location.href="realname-authentication.html"
104
					}
105
					
106
				}
107

108
			},
109
			error: function(XMLHttpRequest, textStats, errorThrown) {
110

111
			}
112
		})
113
	})
114
	/*我是专家*/
115
	$("#JoinKeXiu").click(function(){
116
		if(userid=="null"){
117
			location.href="login.html";
118
		}
119
		$.ajax({
120
			url: "/ajax/professor/auth",
121
			type: "GET",
122
			timeout: 10000,
123
			dataType: "json",
124
			data: {
125
				"id": userid,
126
			},
127
			success: function(data, textState) {
128
				if(data.success) {
129
					var $rta=data.data;
130
					if($rta.authType==1){
131
						location.href="needList.html";
132
					}else{
133
						location.href="expert-authentication.html"
134
					}
135
					
136
				}
84 137

138
			},
139
			error: function(XMLHttpRequest, textStats, errorThrown) {
85 140

141
			}
142
		})
143
	})
86 144
})

+ 229 - 13
js/myDemand.js

@ -2,7 +2,7 @@ $(document).ready(function() {
2 2
	var yesNo = "",
3 3
		oSortType = 0;
4 4
	/*我的需求列表*/
5
	function myDemandList(isbind, page,pageNum,dema,sortType) {
5
	function myDemandList(isbind, page, pageNum, dema, sortType) {
6 6
		$.ajax({
7 7
			url: "/ajax/demand/pqDemander",
8 8
			type: "GET",
@ -18,7 +18,9 @@ $(document).ready(function() {
18 18
			beforeSend: function() {},
19 19
			success: function(data, textState) {
20 20
				if(data.success) {
21
					console.log(data);
21
//					if(data.data.data.length==0){
22
//						return;
23
//					}
22 24
					$(".workselectitem").html(" ");
23 25
					demandHtml(data.data.data);
24 26
					if(isbind == true) {
@ -26,7 +28,7 @@ $(document).ready(function() {
26 28
							pageCount: Math.ceil(data.data.total / pageNum),
27 29
							current: data.data.data.pageNo,
28 30
							backFn: function(p) {
29
								myDemandList(false, p,5,yesNo,oSortType);
31
								myDemandList(false, p, 5, yesNo, oSortType);
30 32
							}
31 33
						});
32 34
					}
@ -85,7 +87,7 @@ $(document).ready(function() {
85 87
			$(".workselectitem").append(oString)
86 88
		}
87 89
	}
88
	myDemandList(true, 1,5,yesNo,oSortType);
90
	myDemandList(true, 1, 5, yesNo, oSortType);
89 91
	/*检索排序*/
90 92
	function selcet(i) {
91 93
		$(".selcet" + i).on('click', function(e) {
@ -101,27 +103,27 @@ $(document).ready(function() {
101 103
					yesNo = "";
102 104
					$(".tcdPageCode").remove();
103 105
					$("#workContainer2").append('<div class="tcdPageCode"></div>');
104
					myDemandList(true, 1,5,yesNo,oSortType);
106
					myDemandList(true, 1, 5, yesNo, oSortType);
105 107
				} else if($(this).text() == "发布中") {
106 108
					yesNo = 1;
107 109
					$(".tcdPageCode").remove();
108 110
					$("#workContainer2").append('<div class="tcdPageCode"></div>');
109
					myDemandList(true, 1,5,yesNo,oSortType);
111
					myDemandList(true, 1, 5, yesNo, oSortType);
110 112
				} else if($(this).text() == "已关闭") {
111 113
					yesNo = 0;
112 114
					$(".tcdPageCode").remove();
113 115
					$("#workContainer2").append('<div class="tcdPageCode"></div>');
114
					myDemandList(true, 1,5,yesNo,oSortType);
116
					myDemandList(true, 1, 5, yesNo, oSortType);
115 117
				} else if($(this).text() == "按最早发布时间排序") {
116 118
					oSortType = 1;
117 119
					$(".tcdPageCode").remove();
118 120
					$("#workContainer2").append('<div class="tcdPageCode"></div>');
119
					myDemandList(true, 1,5,yesNo,oSortType);
121
					myDemandList(true, 1, 5, yesNo, oSortType);
120 122
				} else if($(this).text() == "按最新发布时间排序") {
121 123
					oSortType = 0;
122 124
					$(".tcdPageCode").remove();
123 125
					$("#workContainer2").append('<div class="tcdPageCode"></div>');
124
					myDemandList(true, 1,5,yesNo,oSortType);
126
					myDemandList(true, 1, 5, yesNo, oSortType);
125 127
				}
126 128
				return false;
127 129
			});
@ -136,8 +138,222 @@ $(document).ready(function() {
136 138
	}
137 139
	selcet(1);
138 140
	selcet(4);
139
	$(".workselectitem").on("click",".replybtn",function(){
140
		var de=$(this).attr("demanid");
141
		location.href="needShow.html?demandId="+de
142
	})
141
	$(".workselectitem").on("click", ".replybtn", function() {
142
		var de = $(this).attr("demanid");
143
		location.href = "needShow.html?demandId=" + de
144
	});
145
	/*发布新需求*/
146
	$("#needIssueBtn").click(function() {
147
		$.ajax({
148
			url: "/ajax/professor/auth",
149
			type: "GET",
150
			timeout: 10000,
151
			dataType: "json",
152
			data: {
153
				"id": userid,
154
			},
155
			success: function(data, textState) {
156
				if(data.success) {
157
					var $rta=data.data;
158
					if($rta.authStatus!=3){
159
						location.href="realname-authentication.html";
160
					}else{
161
						$(".blackcover ").show();
162
						$("#induSub").val("");
163
						$("textarea").val("");
164
						$("#demandContent").val("");
165
						$("#navsub").find("li").removeClass("aimedLi");
166
						$("#mutChecked").find("li").removeClass("checkedLi");
167
						
168
					}
169
					
170
				}
171

172
			},
173
			error: function(XMLHttpRequest, textStats, errorThrown) {
174

175
			}
176
		})
177
		
178
	});
179
	$("#workclose2").click(function() {
180
			$(".blackcover ").hide();
181
		})
182
		/*发布新需求目的*/
183
	var consun;
184
	tab("navsub"); //身份切换
185
	function tab(name) {
186
		var oDome = document.getElementById(name);
187
		var oSpan = oDome.getElementsByTagName('ul')[0].childNodes;
188
		for(var i = 0; i < oSpan.length; i++) {
189
			oSpan[i].onclick = function() {
190
				for(var i = 0; i < oSpan.length; i++) {
191
					oSpan[i].className = '';
192
				}
193
				this.className = 'aimedLi';
194
				if(this.getElementsByTagName("span")[0].innerText == "咨询技术难题") {
195
					consun = 1;
196
				} else if(this.getElementsByTagName("span")[0].innerText == "寻求研发资源") {
197
					consun = 2;
198
				} else {
199
					consun = 3;
200
				}
201
			}
202
		}
203
	}
204

205
	/*需求题目限制30个字*/
206
	$("#demandContent").on('keyup', function() {
207
		if(this.value.length > 30) {
208
			this.value = this.value.substring(0, 30);
209
		}
210
	});
211
	/*需求内容限制300个字*/
212
	$("textarea").on('keyup', function() {
213
		var maxChars = 300;
214
		if(this.value.length > maxChars) {
215
			this.value = this.value.substring(0, maxChars);
216
		}
217
		var oCanInput = maxChars - this.value.length;
218
		$("#countNum").text(oCanInput);
219
	});
220
	/*查询应用行业及学术领域*/
221
	function industry(insu) {
222
		$.ajax({
223
			url: "/ajax/dataDict/qaDictCode",
224
			dataType: 'json', //数据格式类型
225
			type: 'GET', //http请求类型
226
			timeout: 10000, //超时设置
227
			data: {
228
				"dictCode": insu
229
			},
230
			success: function(data) {
231
				if(data.success) {
232
					var $data = data.data;
233
					var n;
234
					($data.length > 5) ? n = 5:
235
						n = $data.length
236
					for(var i = 0; i < n; i++) {
237
						var oString = '<li><span>' + $data[i].caption + '</span></li>';
238
						$("#mutChecked").append(oString);
239
					}
240
				}
241
			},
242
			error: function() {
243
				return;
244
			}
245
		});
246
	}
247
	industry("INDUSTRY");
248
	industry("SUBJECT");
249
	/*行业及领域选择*/
250
	$('#mutChecked').on('click', 'li', function() {
251
			if(this.className == "checkedLi") {
252
				this.className = ""
253
			} else {
254
				this.className = "checkedLi"
255
			}
256
		})
257
		/*行业或者领域添加及删除*/
258
	$("#labelshow").on("click", ".removeNu", function() {
259
		$(this).parent().remove();
260
	});
261
	$("#addIndu").click(function() {
262
			var oinduSub = $("#induSub").val();
263
			var oAddNum = $("#labelshow").find("em");
264
			if(!oinduSub.trim()) {
265
				$.MsgBox.Alert("消息", "请先添加内容");
266
				return;
267
			}
268
			if(oAddNum.length == 5) {
269
				$.MsgBox.Alert("消息", "最多添加五条");
270
				return;
271
			}
272
			for(var i = 0; i < oAddNum.length; i++) {
273
				if(oAddNum[i].innerHTML == oinduSub) {
274
					$.MsgBox.Alert("消息", "不能重复添加");
275
					return;
276
				}
277
			}
278
			$("#labelshow").append('<li class="deleteSubject"><em>' + oinduSub + '</em><span class="removeNu"><img src="images/move.png"></span></li>')
279
			$("#induSub").val("");
280
		})
281
		/*发布新需求*/
282
	$("#postDemand").click(function() {
283
		var dd = $("#navsub").find(".aimedLi")
284
		if(dd.length == 0) {
285
			$.MsgBox.Alert("消息", "请选择您发布需求的目的");
286
			return;
287
		}
288
		if(!$("#demandContent").val().trim()) {
289
			$.MsgBox.Alert("消息", "请填写需求主题");
290
			return;
291
		}
292
		if(!$("textarea").val().trim()) {
293
			$.MsgBox.Alert("消息", "请填写需求内容");
294
			return;
295
		}
296
		publish()
297
	});
298

299
	function publish() {
300
		var arr = [];
301
		var oSuin = $(".checkedLi");
302
		var oin = $("#labelshow").find("li");
303
		for(var i = 0; i < oSuin.length; i++) {
304
			arr[i] = oSuin[i].innerText;
305
		}
306
		for(var j = 0; j < oin.length; j++, i++) {
307
			console.log(oin[j].innerText);
308
			arr[i] = oin[j].innerText;
309
		}
310
		$.ajax({
311
			url: '/ajax/demand',
312
			dataType: 'json', //数据格式类型
313
			type: 'post', //http请求类型
314
			timeout: 10000, //超时设置
315
			traditional: true,
316
			data: {
317
				"demander": userid,
318
				"demandAim": consun,
319
				"demandType": 1,
320
				"demandTitle": $("#demandContent").val(),
321
				"demandContent":$("textarea").val(),
322
				"args": arr
323
			},
324
			success: function(data) {
325
				if(data.success) {
326
					myDemandList(true, 1, 5, yesNo, oSortType);
327
					$(".blackcover ").hide();
328
					$.MsgBox.Alert("消息", "需求发布成功!很快会有专家与您联系,您可以在咨询列表中查看专家回复的信息");
329
				}
330
			},
331
			error: function() {
332
				return;
333
			}
334
		});
335
	}
336
	/*判断是否是专家*/
337
	$.ajax({
338
			url: "/ajax/professor/auth",
339
			type: "GET",
340
			timeout: 10000,
341
			dataType: "json",
342
			data: {
343
				"id": userid,
344
			},
345
			success: function(data, textState) {
346
				if(data.success) {
347
					var $rta=data.data;
348
					if($rta.authType==0){
349
						$("#searchDemand").hide();
350
					}
351
					
352
				}
353

354
			},
355
			error: function(XMLHttpRequest, textStats, errorThrown) {
356

357
			}
358
		})
143 359
})

+ 4 - 3
js/needList.js

@ -16,6 +16,7 @@ $(document).ready(function() {
16 16
			beforeSend: function() {},
17 17
			success: function(data, textState) {
18 18
				if(data.success) {
19
					console.log(data);
19 20
					$("#demandList").html(" ");
20 21
					var $info = data.data.data;
21 22
					demandHtml($info);
@ -110,10 +111,10 @@ $(document).ready(function() {
110 111
			}
111 112
		}
112 113
		if(n == 1) {
113
			for(var i = 0; i < arr.length - 1; i++) {
114
				arr2.push(arr1[i]);
114
			for(var i = 0; i < arr.length-1; i++) {
115
				arr2.push(arr[i]);
115 116
			}
116
			return arr2.join() + "|" + arr[arr.length - 1];
117
			return arr2.join()+ " | " + arr[arr.length - 1]; 
117 118
		} else {
118 119
			return arr.join();
119 120
		}

+ 2 - 2
js/needSure.js

@ -95,7 +95,7 @@ $(document).ready(function() {
95 95
					if(data.data == null) {
96 96
						$.MsgBox.Confirm("消息", "确认回复此需求?", createConsult)
97 97
					} else {
98
						alert(3)
98
						location.href="diloags.html?sendId="+userid+"&attrParams=consultId&consultId="+data.data+"&consultStatus=0&assessStatus=0&thanksStatus=0"
99 99
					}
100 100
				}
101 101
			},
@ -120,7 +120,7 @@ $(document).ready(function() {
120 120
			},
121 121
			success: function(data, textState) {
122 122
				if(data.success) {
123

123
					location.href="diloags.html?sendId="+userid+"&attrParams=consultId&consultId="+data.data+"&consultStatus=0&assessStatus=0&thanksStatus=0"	
124 124
				}
125 125
			},
126 126
			error: function(XMLHttpRequest, textStats, errorThrown) {

+ 12 - 3
js/workindex.js

@ -1,7 +1,7 @@
1 1
$(function() {
2 2
	
3 3
	var userid = $.cookie("userid");
4
4
	var oAuthType=0;
5 5
	/*工作台专家的数据*/
6 6
	getProfessorData(userid);
7 7
@ -44,8 +44,10 @@ $(function() {
44 44
			"type": "get",
45 45
			"async": true,
46 46
			"success": function(data) {
47
				//console.log(data.data);
47
				console.log(data.data);
48 48
				if(data.success) {
49
					oAuthType=data.data.authType;
50
					console.log(oAuthType)
49 51
					$("#nameS").text(data.data.name);
50 52
					$("#allConsultCount").text(data.data.consultCount);
51 53
					if(data.data.authType) {
@ -373,5 +375,12 @@ $(function() {
373 375
			}
374 376
		});
375 377
	}
376
378
	$("#dett").click(function(){
379
		
380
		if(oAuthType==0){
381
			location.href="myDemand.html"
382
		}else if(oAuthType==1){
383
			location.href="needList.html"
384
		}
385
	})
377 386
});

+ 79 - 2
myDemand.html

@ -13,6 +13,83 @@
13 13
<link type="text/css" href="css/popup.css" rel="stylesheet">
14 14
</head>
15 15
<body>
16
	<!--needIssue需求发布-->
17
<div class="blackcover displayNone" id="needIssue">
18
	<div class="attentionBox">
19
		<div class="topTit">发布需求</div>
20
		<div class="attentsCon">
21
			<div class="demandBox" style="padding:20px">
22
				<ul class="basicinfo">
23
					<li><label>请选择您发布需求的目的<em class="requiredcon">*</em></label></li>
24
					<li class="divideSpace" id="navsub">
25
						<ul class="boxnav chooseBox demandAim clearfix">
26
							<li><span>咨询技术难题</span></li>
27
							<li><span>寻求研发资源</span></li>
28
							<li><span>其他</span></li>
29
						</ul>
30
					</li>
31
					<li><label>请选择您的需求类型<em class="requiredcon">*</em></label></li>
32
					<li class="divideSpace" id="navsubTo" >
33
						<ul class="boxnav boxnavTo chooseBox clearfix">
34
							<li><span class='checkNow'>个人需求</span></li><!--默认状态是无class 选中状态checkNow-->
35
							<li><span class='checkNo' style="display:none;">企业需求</span></li><!--不可用状态checkNo-->
36
						</ul>
37
						<div class="littipCh">
38
							<div class="littip">注:当企业入住科袖后,企业的关联用户将可以发布企业需求</div>
39
							<div class="littip">注:1、当完成实名认证后,您将可以发布个人需求。
40
								<p>2、当您不再是当前企业的认证用户时,您的企业需求将自动关闭。</p></div>
41
						</div>
42
					</li>
43
					<li class="divideSpace">
44
						<div class="littip"></div>
45
					</li>
46
					<li><label>需求主题<em class="requiredcon">*</em></label></li>
47
					<li class="divideSpace basicfrm"><input type="text" name="comname" placeholder="请用一句话概括您的需求" class="frmtype" id="demandContent"></li>
48
					<li><label>需求内容<em class="requiredcon">*</em></label></li>
49
					<li class="divideSpace">
50
						<textarea class="frmtype" placeholder="请详细描述您遇到的问题,以便为您找到最合适的专家"></textarea>
51
						<div class="limitNum">您还能输入<span id="countNum">300</span> 字</div>
52
					</li>
53
					<li><label>请选择需求涉及的行业或领域(可多选)</label></li>
54
					<li class="divideSpace">
55
						<ul class="chooseBox mutChecked clearfix" id="mutChecked">
56
				       		<!--<li><span>材料检测</span></li>
57
				       		<li><span>防腐蚀</span></li>
58
				       		<li class="checkedLi"><span>金属基复合材料</span></li>
59
				       		<li class="checkedLi"><span>金属基复合材料</span></li>
60
				       		<li><span>微晶金属材料</span></li>
61
				       		<li class="checkedLi"><span>金属基复合材料</span></li>
62
				       		<li><span>微晶金属材料</span></li>
63
				       		<li><span>微晶金属材料</span></li>-->
64
				       </ul>
65
					</li>
66
					<li class="divideSpace">
67
						<div class="addlabel clearfix">
68
							<input type="text" placeholder="您可以输入更多需求所涉及的行业或领域" class="frmtype floatL" style="width:78%" id="induSub">
69
							<div class="basicBtn basicBtngo floatL" id="addIndu">
70
								<span>添加</span>
71
							</div>
72
							<!--<button class="frmtype frmbtn floatL addlabelbtn">添加</button>-->
73
						</div>
74
						<div class="labelarea">
75
                        	<ul class="labelshow chooseBox clearfix" id="labelshow">
76
					       		<!--<li class="deleteSubject"><em>66666</em><span class="removeNu"><img src="images/move.png"></span></li>
77
					       		<li class="deleteSubject"><em>66666</em><span class="removeNu"><img src="images/move.png"></span></li>-->
78
					       	</ul>
79
                        </div>
80
					</li>
81
				</ul>
82
				<div class="linespace"></div>
83
		    	<div class="basicBtn basicBtngo" id="postDemand">
84
			        <span style="padding:6px 60px;">发布</span>        
85
		    	</div>
86
			</div>		
87
		</div>
88
		<div style="height: 20px;"></div>
89
		<span class="workclose" id="workclose2"></span>	
90
	</div>
91
</div>
92
16 93
<!--头部-->
17 94
<div id="header">
18 95
	<a href="index.html" alt="科袖" class="logo"></a>
@ -54,11 +131,11 @@
54 131
            <a class="worksubmenu" id="gozixu">咨询</a>
55 132
            <a href="newsciresource.html"  class="worksubmenu nohide" style="display:none;">资源</a>
56 133
            <a href="news-list.html"  class="worksubmenu nohide" style="display:none;">文章</a>
57
            <a href="needList.html"  class="worksubmenu subcolor">需求</a>
134
            <a href="myDemand.html"  class="worksubmenu subcolor">需求</a>
58 135
        </div>
59 136
        <div class="workcon">
60 137
			<div class="workconitem consublock">
61
    <div class="workcontit">需求<a  href="needList.html" class="worksamlltit worksamlltit3">搜索需求</a><a href="myDemand.html"class="worksamlltit worksamlltit3 worksamlltitnow">我的需求</a></div>
138
    <div class="workcontit">需求<a  href="needList.html" class="worksamlltit worksamlltit3" id="searchDemand">搜索需求</a><a href="myDemand.html"class="worksamlltit worksamlltit3 worksamlltitnow">我的需求</a></div>
62 139
    <div class="worksubcon"> 
63 140
        <div class="workmysrc workmysrc3" id="getReply"style="display:block;"> <!--displayNone-->
64 141
             <div class="workmenubox clearfix">

+ 7 - 7
needShow.html

@ -54,7 +54,7 @@
54 54
            <a class="worksubmenu" id="gozixu">咨询</a>
55 55
            <a href="newsciresource.html"  class="worksubmenu nohide" style="display:none;">资源</a>
56 56
            <a href="news-list.html"  class="worksubmenu nohide" style="display:none;">文章</a>
57
            <a href="needList.html"  class="worksubmenu subcolor">需求</a>
57
            <a href="myDemand.html"  class="worksubmenu subcolor">需求</a>
58 58
        </div>
59 59
        <div class="workcon">
60 60
			<div class="workconitem consublock">
@ -69,30 +69,30 @@
69 69
                <div class="dialoginfotype clearfix">
70 70
	                <span class="floatL dialogtitTopic">需求主题:</span>
71 71
	                <span class="dialogtit dialogtitTopic floatL" id="dialog_consultTitle">
72
	                	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
72
	                	
73 73
	                </span>
74 74
                </div>
75 75
                <div class="dialoginfotype clearfix inline">
76 76
                	<span class="floatL" id="">发起时间:</span>
77
                	<span class="dialogtit floatL" id="dialog_consultTime">2017年3月3日 18:00</span>
77
                	<span class="dialogtit floatL" id="dialog_consultTime"></span>
78 78
                </div>
79 79
                <!--关闭之后显示-->
80 80
                <div class="dialoginfotype clearfix inline displayNone" style="margin-left:50px">
81 81
                	<span class="floatL" id="">关闭时间:</span>
82
                	<span class="dialogtit floatL" id="dialog_consultTime1">2017年3月4日 18:00</span>
82
                	<span class="dialogtit floatL" id="dialog_consultTime1"></span>
83 83
                </div>
84 84
                <div class="dialoginfotype clearfix inline">
85 85
                	<span class="floatL" id="">需求类型:</span>
86
                	<span class="dialogtit floatL" id="dialog_consultType1">个人需求</span>
86
                	<span class="dialogtit floatL" id="dialog_consultType1"></span>
87 87
                </div>
88 88
                <div class="dialoginfotype clearfix inline" style="margin-left:50px;">
89 89
                	<span class="floatL" id="">需求目的:</span>
90
                	<span class="dialogtit floatL" id="dialog_consultType2">技术咨询</span>
90
                	<span class="dialogtit floatL" id="dialog_consultType2"></span>
91 91
                </div>
92 92
                <div class="dialoginfotype clearfix" id="dialog_consultContentContainer">
93 93
                	<div class="floatL" id="dialog_consultContentTitle">需求内容:</div>
94 94
                	<div class="dialogtit floatL" id="dialog_consultContent">
95
                		Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tempor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam fermentum, nulla luctus pharetra vulputate, felis tellus mollis orci, sed rhoncus sapien nunc eget odio.
95
                		
96 96
                	</div>
97 97
                </div>
98 98
            </div>

+ 5 - 5
needSure.html

@ -69,26 +69,26 @@
69 69
                <div class="dialoginfotype clearfix">
70 70
	                <span class="dialogtitTopic floatL">需求主题:</span>
71 71
	                <span class="dialogtit dialogtitTopic floatL" id="dialog_consultTitle">
72
	                	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
72
	                	
73 73
	                </span>
74 74
                </div>
75 75
                <div class="dialoginfotype clearfix inline">
76 76
                	<span class="floatL" id="">发起时间:</span>
77
                	<span class="dialogtit floatL" id="dialog_consultTime">2017年3月3日 18:00</span>
77
                	<span class="dialogtit floatL" id="dialog_consultTime"></span>
78 78
                </div>
79 79
                <div></div>
80 80
                <div class="dialoginfotype clearfix inline">
81 81
                	<span class="floatL" id="">需求类型:</span>
82
                	<span class="dialogtit floatL" id="dialog_consultType">个人需求</span>
82
                	<span class="dialogtit floatL" id="dialog_consultType"></span>
83 83
                </div>
84 84
                <div class="dialoginfotype clearfix inline" style="margin-left:50px">
85 85
                	<span class="floatL" id="">需求目的:</span>
86
                	<span class="dialogtit floatL" id="dialog_consultType">技术咨询</span>
86
                	<span class="dialogtit floatL" id="dialog_consultType"></span>
87 87
                </div>
88 88
                <div class="dialoginfotype clearfix" id="dialog_consultContentContainer">
89 89
                	<div class="floatL" id="dialog_consultContentTitle">需求内容:</div>
90 90
                	<div class="dialogtit floatL" id="dialog_consultContent">
91
                		Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tempor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam fermentum, nulla luctus pharetra vulputate, felis tellus mollis orci, sed rhoncus sapien nunc eget odio.
91
                		
92 92
                	</div>
93 93
                </div>
94 94
            </div>

+ 2 - 2
workspaces.html

@ -78,7 +78,7 @@
78 78
			<a class="worksubmenu" id="gozixu">咨询</a>
79 79
			<a href="newsciresource.html" class="worksubmenu nohide" style="display:none;">资源</a>
80 80
			<a href="news-list.html" class="worksubmenu nohide" style="display:none;">文章</a>
81
			<a href="needList.html" class="worksubmenu">需求</a>
81
			<a class="worksubmenu" id="dett">需求</a>
82 82
		</div>
83 83
		<div class="workcon">
84 84
			<div class="workconitem">
@ -115,7 +115,7 @@
115 115
									</div>
116 116
									<div class="workcount floatL">
117 117
										<p><span class="workcountnum">0</span>个发布中的需求</p>
118
										<a class="worklinkbtn">>>点击搜索</a>
118
										<a href="myDemand.html" class="worklinkbtn">>>点击搜索</a>
119 119
									</div>
120 120
									<!--<div class="workcount floatL">
121 121
					                    <p><span class="workcountnum" id="workcontain"></span>条正在进行的合作</p>