Browse Source

1.新增注册页面、完善登录、密码找回等页面
2.机构信息页面完成数据读取、资源申状态修改

luyanan 8 years ago
parent
commit
c825e19b36

+ 73 - 28
src/main/webapp/css/login.css

@ -4,39 +4,70 @@
4 4
html,body{ cursor:default; margin:0; height:100%;}
5 5
#header{ width:100%; height:50%; background:#db7200; }
6 6
#footer{ width:100%; height:50%; background:#dbdbdb;}
7

8
.inputtxt{ width:100%; height:44px;border:1px #e4e4e4 solid; border-radius:10px;background:url(../images/input-bg.jpg); box-shadow:0px 1px 1px #d6d6d6; margin:4px 0; text-indent:1.4em;box-sizing: content-box;}
9
.inputtxt:focus{ border:1px solid #ff8400;}
10
.input_warning{ border:1px solid red; }
11
.submitBtn {display: block; font-size:16px;width: 100%;cursor:pointer;height: 44px;text-indent:0;line-height: 44px;background: #ff8400;text-align: center;margin: 15px 0px;color: #fff;border:1px solid #ff8400;}
7 12
/*登录邀请码*/
8
.loginbox{ /*width:620px; height:600px;*/ background:#fff; margin:auto; margin-top:35px; padding:0 30px; padding-bottom:60px; position:absolute; left:50%; top:50%; margin-left:-300px; margin-top:-280px; z-index:999; border-radius:10px; border:1px #9f9d9d solid; box-shadow:1px 1px 8px #9f9d9d; }
9
.login-title{ color:#ff8500; height:90px;font:16px/90px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; float:right; cursor:pointer;}
13
.loginbox{ /*width:620px; height:600px;*/ background:#fff; margin:auto; padding:20px;  position:absolute; left:50%; top:50%; margin-left:-300px; margin-top:-280px; z-index:999; border-radius:10px; border:1px #9f9d9d solid; box-shadow:1px 1px 8px #9f9d9d; }
14

15
.login-title{ color:#ff8500;font:16px/86px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; position:absolute;right:20px; top:-10px; cursor:pointer;}
10 16
.login-title a{ color:#ff8500; }
11 17
.back{ display:block; width:24px; height:24px; margin-top:33px; margin-left:8px; background:url(../images/back.png) no-repeat; float:right; cursor:pointer;}
12
.logo{ clear:both;width:145px; height:100px;font:18px/80px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; margin:auto;}
18
.logo{ clear:both;width:145px; height:100px;margin:auto; margin-top:30px;}
13 19
.logo img{ width:100%;}
14
.login-input{ width:438px; /*height:336px;*/margin:auto; position:relative;}
15
input{ width:100%; height:44px; border:1px #e4e4e4 solid; border-radius:10px; padding-left:20px; background:url(../images/input-bg.jpg); box-shadow:0px 1px 1px #d6d6d6; margin-top:26px;}
16
input:focus{ border:1px solid #ff8500;}
17
.input_warning{ border:1px solid red; }
18 20

19
.code{ width:175px; float:left;}
20
.code-pic{ width:140px; height:44px; float:left;border:1px #ddd solid; margin-left:9px; margin-top:26px;border-radius:10px; box-shadow:0px 1px 1px #d6d6d6;}
21
.note{font:14px/44px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#ff8500;padding-left:8px; padding-top:26px; float:left;cursor:pointer;}
22 21

23
.login{clear:both; margin-top:36px; background:#ff8500; color:#fff;font:18px/44px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; box-shadow:none; cursor:pointer;}
24
.forget{ display:block; height:44px;font:14px/44px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#ff8500; float:right;cursor:pointer; position:relative;}
22
.logindown{ overflow:hidden;}
23
.frmlogin{width:100%;}
24
/*左侧登录*/
25
.login-input{ width:436px; /*height:336px;*/margin:10px 20px; position:relative; padding:20px;}
26
.loginleft{ width:300px;}
27

28

29
.forget{ display:block; color:#ff8500; float:right;cursor:pointer; position:relative;}
25 30
.forget:hover{ color:#ff8500;}
26
.prompt{ width:140px; height:100px; position:absolute; left:100%; margin-left:-8px; bottom:-30px; z-index:999; display:none;}
31
.reglinkbox{ font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#666; overflow:hidden;}
32
.reglink{ color:#ff8500;}
33
.prompt{ width:140px; height:100px; position:absolute; left:100%; margin-left:-8px; bottom:-40px; z-index:999; display:none;}
27 34
.triangleR{ display:block; width:0; height:0; border:8px solid transparent; border-right-color:#ff9600; float:left; margin-top:40px;}
28 35
.prompt-con{ display:block; float:left; width:85px; height:50px;font:12px/18px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#fff; background:#ff9600; border-radius:10px; padding:10px;  }
29 36
.tel{ font-weight:bold;}
30
.msg{font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:red; padding-left:30px; background:url(../images/info_warn.png) 10px center no-repeat; }
37
.msg{font:14px/20px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:red; padding-left:30px; margin: 6px 0; background:url(../images/info_warn.png) 10px center no-repeat; }
38
.msg-left{ margin-left:70px;}
39
/*验证码*/
40
.codebox .code{ width:175px; float:left;}
41
.codebox .code-pic{ width:140px; height:44px; float:left;border:1px #ddd solid; margin-left:9px; margin-top:26px;border-radius:10px; box-shadow:0px 1px 1px #d6d6d6;}
42
.codebox .note{font:14px/44px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#ff8500;padding-left:8px; padding-top:26px; float:left;cursor:pointer;}
43
/*中间割线*/
44
.login-line{ padding:20px; position:relative;}
45
.lineb{ width:1px; min-height:240px; margin:20px 10px; border-right:1px dashed #ccc; }
46
.linebb{ min-height:400px;}
47
.wordor{ text-align:center; color:#ccc;background:#fff; line-height:80px; position:absolute; top:50%; margin-top:-40px;}
48
/*登录右侧*/
49
.login-other{ color:#666; margin:20px 10px; width:200px;padding:20px; }
50
.login-other .other-tit{ text-align:left;}
51

52
.loginlinkbox{ text-align:center; padding:10px;margin-bottom:20px;}
53
.loginlink{ color:#ff8400; font-size:16px; line-height:30px; background:url(../images/back.png) right center no-repeat;     padding: 10px 28px;}
54
.login-way{ overflow:hidden; width:120px; margin:16px auto; text-align:center;}
55
.way-icon{ height:22px; display:block; float:left; margin:0 7px;}
56
.way-icon1{ width:27px; background:url(../images/share2.png) no-repeat; background-position:left;}
57
.way-icon2{ width:27px; background:url(../images/share2.png) no-repeat; background-position:-27px 0;}
58
.way-icon3{ width:21px; background:url(../images/share2.png) no-repeat; background-position:-54px 0;}
59
.way-icon4{ width:23px; background:url(../images/share2.png) no-repeat; background-position:right;}
60
.ecode{ text-align:center;}
61
.downcode{ margin:10px auto; width:120px; height:120px;}
31 62
/*首次登录*/
32 63
.login-first{ /*width:466px; height:596px;*/ background:#fff; margin:auto; margin-top:35px; padding:0 30px; padding-bottom:40px; position:absolute; left:50%; top:50%; margin-left:-263px; margin-top:-268px; z-index:999; border-radius:10px; border:1px #9f9d9d solid; box-shadow:1px 1px 8px #9f9d9d;}
33 64
.logos{ clear:both;width:145px; height:100px; margin:auto; padding-top:-40px;}
34 65
.logos img{ width:100%;}
35
.welcome{font:18px/32px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#747474; text-align:center;padding:20px 0;}
66
.welcome{font:16px/32px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#747474; text-align:center;padding:10px 0;}
36 67
.professor{color:#ff8500; }
37 68
.password-input{ /*width:438px; height:264px;*/margin:auto; position:relative;}
38
.password{ width:100%; }
39
.lable{ float:left; display:block;font:18px/44px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#747474; margin-top:26px; margin-right:8px;}
69
.password{ width:100%;overflow:hidden;}
70
.lable{ float:left; display:block;font:18px/60px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#747474;margin-right:8px;}
40 71
.psd{ width:350px; float:left;}
41 72
.forget:hover .prompt{ display:block;}
42 73
/*手机找回密码01*/
@ -50,7 +81,7 @@ input:focus{ border:1px solid #ff8500;}
50 81
.step02{ display:block; width:46px; height:30px; background:url(../images/02.png) no-repeat; background-position:right; overflow:hidden; margin:auto;}
51 82
.line{ width:133px; height:2px; background:#d5d5d5; position:absolute; left:80px; top:35px}
52 83
.sms{ width:254px;}
53
.gain{ width:175px;background:#ff8500; color:#fff;font:16px/44px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; box-shadow:none; float:right; padding-left:0;}
84
.gain{ width:175px;background:#ff8500; color:#fff;font:14px/44px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; box-shadow:none; float:right; padding-left:0;}
54 85
/*手机找回密码02*/
55 86
.phone-find2{/* width:476px; height:525px; */background:#fff; margin:auto; margin-top:35px; padding:0 25px;padding-bottom:60px; position:absolute; left:50%; top:50%; margin-left:-263px; margin-top:-268px; z-index:999; border-radius:10px; border:1px #9f9d9d solid; box-shadow:1px 1px 8px #9f9d9d;}
56 87
.steps2-2{ color:#f59503; float:right;}
@ -68,7 +99,7 @@ input:focus{ border:1px solid #ff8500;}
68 99
.email-find2{/* width:476px; height:440px; */background:#fff; margin:auto; margin-top:35px; padding:0 25px; padding-bottom:60px;position:absolute; left:50%; top:50%; margin-left:-263px; margin-top:-268px; z-index:999; border-radius:10px; border:1px #9f9d9d solid; box-shadow:1px 1px 8px #9f9d9d; }
69 100
.E-steps2-2{ color:#f59503; float:left; margin-left:70px;}
70 101
.E-step02-2{ display:block; width:46px; height:30px; background:url(../images/02.png) no-repeat; background-position:left; overflow:hidden; margin:auto;}
71
.remind{font:14px/20px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#a8a8a8; text-align:center; margin:-15px 0;}
102
.remind{font:14px/20px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#a8a8a8; text-align:center; }
72 103
/*邮箱找回密码03*/
73 104
.email-find3{ /*width:476px; height:525px;*/ background:#fff; margin:auto; margin-top:35px; padding:0 25px; padding-bottom:60px; position:absolute; left:50%; top:50%; margin-left:-263px; margin-top:-268px; z-index:999; border-radius:10px; border:1px #9f9d9d solid; box-shadow:1px 1px 8px #9f9d9d;}
74 105
.steps3-3{ color:#f59503; float:right;}
@ -103,15 +134,29 @@ input:focus{ border:1px solid #ff8500;}
103 134
#back:hover,.close:hover{ background:#ff8400; color:#fff; }
104 135

105 136

106

107

108

109

110

111

112

113

114

137
/*注册*/
138

139

140
.active { color: #ff8400;}
141
.regtab { position: relative;}
142
.regtabcon{ overflow:hidden;}
143
.phone, .mail {float: left;padding: 16px 20px;font-size: 16px; cursor:pointer;}
144
.phone span, .mail span { position: relative;top:0;left: 10px;}
145
.styleline{height: 1px;width: 154px;background: #ff8400; position: relative;}
146
.styleline:before {position: absolute;z-index: 2; top: -12px;left: 50%;margin-left: -5px;content: '';width: 0;height: 0;line-height: 0; border: 6px solid transparent;border-bottom-color: #ff8400;}
147
.styleline:after {position: absolute; z-index: 2;top: -9px; left: 50%;margin-left: -4px; content: '';width: 0; height: 0;line-height: 0; border: 5px solid transparent;border-bottom-color: #fff;}
148

149
.regtablist{ margin:20px 0; min-height:240px;}
150
.regtablist form{ margin:10px 0; display:none; }
151
.regtablist form:first-child{ display:block;}
152
.yzmli { position: relative;}
153
.yzmbox{position:absolute; width:140px; height:44px; top:50%;margin-top:-22px; right:0;}
154
.yzm {position: absolute;height: 44px; width:100px; margin-top:1px;}
155
.reflash {position: absolute;height: 44px; width: 20px; background: url(../images/icon-reflash.png) center center no-repeat;top:0;right: 10px;}
156
.coderli { position: relative;}
157
.getcode { display: inline-block;width: 120px; height: 45px;border-radius:3px 10px 10px 3px;background: #ff8400;line-height: 43px; text-align: center; position: absolute;right:-2px;top:50%; margin-top:-22px;color: #fff;}
158
.agreeNotice em {background: url(../images/check.png) left -12px no-repeat; width: 14px; height: 12px;display: block;float: left;margin-top: 4px; margin-right: 3px;}
159
.agreeNotice,.agreeNotice a{ color:#555; margin-left:4px;}
115 160

116 161

117 162


BIN
src/main/webapp/images/check.png


BIN
src/main/webapp/images/icon-reflash.png


BIN
src/main/webapp/images/mailIcon.png


BIN
src/main/webapp/images/mailIcon2.png


BIN
src/main/webapp/images/phoneIcon.png


BIN
src/main/webapp/images/phoneIcon2.png


BIN
src/main/webapp/images/share2.png


BIN
src/main/webapp/images/yzmimg1.png


+ 1 - 1
src/main/webapp/information-brow.html

@ -62,7 +62,7 @@
62 62
				</div>
63 63

64 64
			</div>
65
			<div class="head-right"><a href="organization-brow.html"><img id="orgImage"></a></div>
65
			<div class="head-right"><a href="" id="organ"><img id="orgImage"></a></div>
66 66
		</div>
67 67
		<div class="information-content">
68 68
			<div class="content-left" >

+ 6 - 5
src/main/webapp/js/information.brow.js

@ -255,6 +255,8 @@ $(function(){
255 255
							$("#name").val($info.name);
256 256
							$("#title").val($info.title);
257 257
							$("#orgId").val($info.orgId);
258
							$("#organ").attr("href","organization-brow.html?orgId="+$info.orgId+"");
259
							console.log($info.orgId);
258 260
							$("#orgName").val($info.orgName);
259 261
							$("#department").val($info.department);
260 262
							$("#descp").val($info.descp);
@ -404,15 +406,14 @@ $(".subsidebar").click(function(){
404 406
		var resourceID=$(this).attr("resourceId");
405 407
		console.log(resourceID);
406 408
		$(".log").text($('.presou').eq(index1).text());
407
		$("#sendre").on("click",function()
408
				{	$(".dealTime").replaceWith(function(){
409
					return '<input type="text">';
410
				});
409
		$("#del").on("click",function()
410
				{	
411 411
					var $data = {};
412 412
					$data.demandId = userid;
413 413
					$data.resourceId=resourceID;
414
					$data.detailDemand=$("#detailDemand").val();
414
					$data.detailDemand=$(".detail").val();
415 415
					$data.dealTime=$(".dealTime").val();
416
					$data.operationStatus=1;
416 417
					$.ajax({
417 418
						"url" : "/ajax/operation",
418 419
						"type" : "POST",

+ 19 - 0
src/main/webapp/js/organization-brow.js

@ -0,0 +1,19 @@
1
$(function(){
2
//loginStatus();	 
3
	 	var id = GetQueryString("orgId");
4
	 	console.log(id);
5
	    $.get("/ajax/org/" + id, function($data) {
6
		    			if ($data.success) 
7
		    			{
8
		    				console.log($data);
9
		    				$info=$data.data;
10
		    				$(".named").text($info.name);		    				
11
		    			}
12
	    			})
13
		$("#hsearch").on("click",function (){
14
	   		var searchContent = $("#hsearchContent").val();
15
	   		location.href = "search.html?searchContent="+searchContent;
16
	  });
17

18
})
19


+ 3 - 3
src/main/webapp/js/popup.js

@ -85,11 +85,11 @@ function ResourceApply(){
85 85
		PopHtml += '<div class="resoutit">资源信息</div>';
86 86
		PopHtml += '<table class="resoutab"><tr class="timelo">';
87 87
		PopHtml += '<th class="resouinfotype" scope="row">合作编号</th>';
88
		PopHtml += '<td>00001109</td>';
88
		PopHtml += '<td class="contration">00001109</td>';
89 89
		PopHtml += '<td rowspan="5"><div class="resouimg" ><img src="" width="100%" height="100%"></div></td>';
90 90
		PopHtml += '</tr>';
91
		PopHtml += '<tr class="timelo"><th class="resouinfotype"  scope="row">申请时间</th><td>2016-08-01</td></tr>';
92
		PopHtml += '<tr><th class="resouinfotype"  scope="row">需求资源</th><td class="log">xxx检测仪</td> </tr>';
91
		PopHtml += '<tr class="timelo"><th class="resouinfotype "  scope="row">申请时间</th><td class="timelog">2016-08-01</td></tr>';
92
		PopHtml += '<tr><th class="resouinfotype "  scope="row">需求资源</th><td class="log">xxx检测仪</td> </tr>';
93 93
		PopHtml += '<tr><th class="resouinfotype"  scope="row">资源发布者</th><td class="namecon">张三 <a href="" class="worktel">联系ta</a></td></tr>';
94 94
		PopHtml += '<tr><th class="resouinfotype"  scope="row">需求方</th><td>';
95 95
        PopHtml += '<select class="frmtype"><option>本人</option><option>所属机构</option></select>';

+ 39 - 0
src/main/webapp/js/register.js

@ -0,0 +1,39 @@
1
// JavaScript Document
2
/**复选框**/
3
  $('.agreeNotice').click(function(){
4
    var formbox = $(this).closest("form");
5
      if(formbox.find('.gree').prop('checked')){
6
        formbox.find('.agreeNotice em').css('background-position','0px 0px');
7
        formbox.find('.gree').prop('checked',false);
8
        formbox.find('.agreeNotice').next('span').show();
9
      }else{
10
        formbox.find('.gree').prop('checked',true);
11
        formbox.find('.agreeNotice').next('span').hide();
12
        formbox.find('.agreeNotice em').css('background-position','0px -12px');
13
          
14
      }
15
  });
16
 
17
//手机、邮箱切换
18
$(".phone").click(function(){
19
  $(this).find("img").attr("src","images/phoneIcon2.png");
20
  $(".mail").find("img").attr("src","images/mailIcon.png");
21
  $(".mail").removeClass("active");
22
  $(this).addClass("active");
23
  $(".styleline").animate({left:"0px"});
24
  $("#mail_form").hide();
25
  $('#phone_form').show();
26
}); 
27
$(".mail").click(function(){
28
  $(this).find("img").attr("src","images/mailIcon2.png");
29
  $(".phone").find("img").attr("src","images/phoneIcon.png");
30
  $(".phone").removeClass("active");
31
  $(this).addClass("active");
32
  $(".styleline").animate({left:"151px"});
33
  $("#phone_form").hide();
34
  $("#mail_form").show();
35
});
36

37
$(".submitBtn").click(function(){
38
  $(this).parent("form").submit();
39
});

+ 34 - 17
src/main/webapp/js/workspace.js

@ -240,6 +240,7 @@ $(function(){
240 240
										}
241 241
									},
242 242
									"data" : resourceID ? JSON.stringify($data) : $data,
243
									"beforeSend":function(){console.log(this.data)},
243 244
									"contentType" : resourceID ? "application/json": "application/x-www-form-urlencoded",
244 245
									dataType : "json"
245 246
								});
@ -374,17 +375,19 @@ $("#consd").on("click",".modification",function(){
374 375
		$(".btnboxdown").css({"display":"block"});
375 376
		$(".applysure").css({"display":"block"});
376 377
		$("#del").click(function(){
377
			var $date = {};		
378
			var $date = {};	
379
			$date.detailDemand=$(".detail").val();
380
			$date.dealTime=$(".dealTime").val();
378 381
			$date.dealPrice = $("#dealPrice").val();
379 382
			$date.payMethod = $("#payMethod").val();
380
			$date.consultContent = $("#consultContent").val();
383
			$date.replyNotes = $("#consultContent").val();
381 384
			$date.operationId=operationId;
382 385
			$date.operationStatus=2;
383 386
			$.ajax({
384 387
				"url" : "/ajax/operation",
385 388
				"type" : "put",
386 389
				"data" :JSON.stringify($date),
387
				"contentType" :"application/x-www-form-urlencoded",
390
				"contentType" :"application/json",
388 391
				"success" : function(data) {
389 392
					if (data.success) {					
390 393
						//location.reload(true);
@ -453,7 +456,7 @@ $.ajax({
453 456
	                    stringContent +='<td> - </td>'        
454 457
	                    stringContent +='<td class="loginStatus">修改申请</td></tr>'
455 458
	                   $(".worktabb").append( stringContent);
456
						$(".loginStatus").eq(i).attr("resourId",data.data[i].resourceId);
459
						$(".loginStatus").eq(i).attr("resourId",data.data[i].resource.resourceId);
457 460
						$(".loginStatus").eq(i).attr("operationStatus",data.data[i].operationStatus);
458 461
						$(".loginStatus").eq(i).attr("operationId",data.data[i].operationId);
459 462
						console.log($(".loginStatus").eq(i).attr("operationId"));
@ -507,15 +510,14 @@ $(".workmysrc").on("click",".loginStatus",function(){
507 510
		//if($(".dealTime").val()!=""&&$(".detail").val()!="")
508 511
		//{
509 512
			$("#del").on("click",function()
510
					{	alert("2");
513
					{	
511 514
						var $data = {};
512
						$data.demandId = userid;
513
						$data.resourceId=resourceId;
514
						$data.consuitContent=$(".detail").val();
515
						$data.deliverTime=$('.dealTime').val();
516
						$data.operationStatus=operationStatus;
515
						$data.operationId=operationId;
516
						$data.detailDemand=$(".detail").val();
517
						$data.dealTime=$(".dealTime").val();
518
						$data.operationStatus=1;
517 519
						$.ajax({
518
							"url" : "../ajax/operation",
520
							"url" : "/ajax/operation",
519 521
							"type" : "put",
520 522
							"success" : function(rdata) {
521 523
								if (rdata.success) {
@ -525,7 +527,8 @@ $(".workmysrc").on("click",".loginStatus",function(){
525 527
								}
526 528
							},
527 529
							"data" :  JSON.stringify($data) ,
528
							"contentType" :  "application/json",
530
							"contentType" :"application/json",
531
							"beforeSend":function(){console.log(this.data)},
529 532
							dataType : "json"
530 533
						});
531 534
				});
@ -558,7 +561,7 @@ $(".workmysrc").on("click",".loginStatus",function(){
558 561
			});
559 562
		})
560 563
		$("#cooperation").click(function(){
561
			upStatus(operationId,4);
564
			upStatus(operationId,3);
562 565
		})
563 566
	}
564 567
	if(flag==1&&operationStatus==3){
@ -580,7 +583,7 @@ $(".workmysrc").on("click",".loginStatus",function(){
580 583
})
581 584
//更新状态
582 585
function upStatus(operationId,n){
583
	$.ajax({"url" : "../ajax/operation/operationStatus",
586
	$.ajax({"url" : "/ajax/operation/operationStatus",
584 587
		"type" : "POST",
585 588
		"success" : function(rdata) 
586 589
		{
@ -594,6 +597,7 @@ function upStatus(operationId,n){
594 597
			}
595 598
		},
596 599
		"data" :{"operationId":operationId,"operationStatus":n},
600
		"beforeSend":function(){console.log(this.data)},
597 601
		"contentType" :"application/x-www-form-urlencoded",
598 602
		dataType : "json"
599 603
	});
@ -604,11 +608,24 @@ function ajaxGet(operationId){
604 608
		"url":"/ajax/operation/"+operationId,
605 609
		"type":"get",
606 610
		"async": true,
607
		"data":{"operationId":operationId},
611

608 612
		"success":function(data){
609 613
			if(data.success)
610
				{	
611
					console.log(data);
614
				{
615
					$(".log").text(data.data.resource.resourceName);
616
					$(".timelog").text(data.data.deliverTime);
617
					$(".contration").text(data.data.operationId);
618
					$(".detail").val(data.data.detailDemand);
619
					$(".dealTime").text(data.data.dealTime);
620
					if(data.data.payMethod){
621
						$("#payMethod").val(data.data.payMethod);
622
					}
623
					if(data.data.dealPrice){
624
						$("#dealPrice").val(data.data.dealPrice);
625
					}
626
					if(data.data.replyNotes){
627
						$("#consultContent").val(data.data.replyNotes);
628
					}
612 629
				}
613 630
				else
614 631
				{

+ 14 - 12
src/main/webapp/login-email-find01.html

@ -1,4 +1,4 @@
1
 <!DOCTYPE>
1
 <!DOCTYPE html>
2 2
<html>
3 3
<head>
4 4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -7,7 +7,7 @@
7 7
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8 8

9 9
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>科袖-登录</title>
10
<title>科袖-密码找回-邮箱</title>
11 11

12 12
<link rel="stylesheet" href="css/reset.css" />
13 13
<link type="text/css" href="css/login.css" rel="stylesheet">
@ -48,18 +48,20 @@
48 48
				
49 49
			</div>
50 50
			<div class="login-input">
51
			<form  name="f1" action="login-email-find02.html" method="post">		
52
				<input type="text" placeholder="请输入您的邮箱地址" id="email" name="uname" onBlur="valEmail()">	
53
				<div class="msg msg1" ><span></span></div>	
54
				<!--<div class="codebox">	
55
				<input type="text" placeholder="请输入验证码" class="code">
56
				<div class="code-pic"></div><span class="note">看不清?换一换</span>
51
			<form  name="f1" action="login-email-find02.html" method="post">
52
                <div class="frmbox">		
53
                    <input class="inputtxt" type="text" placeholder="请输入您的邮箱地址" id="email" name="uname" onBlur="valEmail()">	
54
                    <div class="msg msg1" ><span></span></div>	
55
                    <!--<div class="codebox">	
56
                    <input type="text" placeholder="请输入验证码" class="code">
57
                    <div class="code-pic"></div><span class="note">看不清?换一换</span>
58
                    </div>
59
                    <div class="msg" ><span></span></div>-->
60
                    <input type="submit" value="找回密码" class="inputtxt submitBtn" onClick="findBack()" >
61
					<div class="msg msg2" ><span></span></div>		
57 62
				</div>
58
				<div class="msg" ><span></span></div>-->
59
				
60 63
			</form>	
61
            <input type="submit" value="找回密码" class="login" onClick="findBack()" >
62
			<div class="msg msg2" ><span></span></div>				
64
            		
63 65
			</div>
64 66
		</div>
65 67


+ 5 - 3
src/main/webapp/login-email-find02.html

@ -1,4 +1,4 @@
1
 <!DOCTYPE>
1
 <!DOCTYPE html>
2 2
<html>
3 3
<head>
4 4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -7,7 +7,7 @@
7 7
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8 8

9 9
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>科袖-登录</title>
10
<title>科袖-密码找回-邮箱</title>
11 11

12 12
<link rel="stylesheet" href="css/reset.css" />
13 13
<link type="text/css" href="css/login.css" rel="stylesheet">
@ -54,7 +54,9 @@ $(function (){
54 54
				<div class="welcome">密码重置邮件已发送至您的邮箱:<br><span class="professor" id="email">183****0528@163.com</span></div>
55 55
				<div class="remind">请在10分钟内登录您的邮箱接收邮件,<br>点击链接后即可重置密码</div>
56 56
				<div class="password-input">
57
					<input type="submit" value="登录邮箱并查看" class="login">
57
                	
58
						<input type="submit" value="登录邮箱并查看" class="inputtxt submitBtn">
59
                   
58 60
				</div>	
59 61
				    
60 62
		</div>

+ 10 - 8
src/main/webapp/login-email-find03.html

@ -1,4 +1,4 @@
1
 <!DOCTYPE>
1
 <!DOCTYPE html>
2 2
<html>
3 3
<head>
4 4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -7,7 +7,7 @@
7 7
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8 8

9 9
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>科袖-登录</title>
10
<title>科袖-密码找回-邮箱</title>
11 11

12 12
<link rel="stylesheet" href="css/reset.css" />
13 13
<link type="text/css" href="css/login.css" rel="stylesheet">
@ -45,12 +45,14 @@
45 45
				
46 46
			</div>
47 47
			<div class="login-input">
48
			<form  name="f1" action="login-email-find02.html" method="post">			
49
				<input type="text" placeholder="请输入新密码">
50
				<div class="msg" ><span></span></div>				
51
				<input type="text" placeholder="请再次输入密码">
52
				<div class="msg" ><span></span></div>	
53
				<input type="button" value="重置密码" class="login">
48
			<form  name="f1" action="login-email-find02.html" method="post">
49
                <div class="frmbox">			
50
                    <input class="inputtxt" type="text" placeholder="请输入新密码">
51
                    <div class="msg" ><span></span></div>				
52
                    <input class="inputtxt" type="text" placeholder="请再次输入密码">
53
                    <div class="msg" ><span></span></div>	
54
                    <input type="button" value="重置密码" class="inputtxt submitBtn">
55
                </div>
54 56
			</form>	
55 57
			</div>
56 58
		</div>	

+ 12 - 10
src/main/webapp/login-first.html

@ -1,4 +1,4 @@
1
 <!DOCTYPE>
1
 <!DOCTYPE html>
2 2
<html>
3 3
<head>
4 4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -7,7 +7,7 @@
7 7
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8 8

9 9
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>科袖登录</title>
10
<title>科袖-首次登录</title>
11 11

12 12
<link rel="stylesheet" href="css/reset.css" />
13 13
<link type="text/css" href="css/login.css" rel="stylesheet">
@ -30,14 +30,16 @@
30 30
				
31 31
				<div class="welcome">欢迎<span class="professor" id="name">XXX教授</span>登入科袖网!<br>请您设置密码,方便以后登录。</div>
32 32
				<div class="password-input">
33
				<form  name="f1" action="information-browse.html" method="post">	
34
					<div class="password"><span class="lable">设置密码</span><input type="password"class="psd" id="password" onBlur="valPassword()"></div>
35
					<div class="msg msg1" ><span></span></div>
36
					<div class="password"><span class="lable">确认密码</span><input type="password" class="psd" id="password2" onBlur="valPassword2()"></div>
37
					<div class="msg msg2" ><span></span></div>
38
					<input type="button" value="保存并登录" class="login" onclick="savePassword()">
39
                    <div class="msg msg3" ><span></span></div>
40
					<div class="forget">不是本人?<div class="prompt"><span class="triangleR"></span><span class="prompt-con">请拨打免费电话<br><span class="tel">400-xxx-xxxx</span><br>重新获取邀请码</span></div></div>	
33
				<form  name="f1" action="information-browse.html" method="post">
34
                    <div class="frmbox">	
35
                        <div class="password"><span class="lable">设置密码</span><input type="password" class="inputtxt psd" id="password" onBlur="valPassword()"></div>
36
                        <div class="msg msg-left msg1" ><span></span></div>
37
                        <div class="password"><span class="lable">确认密码</span><input type="password" class="inputtxt psd" id="password2" onBlur="valPassword2()"></div>
38
                        <div class="msg msg-left msg2" ><span></span></div>
39
                        <input type="button" value="保存并登录" class="inputtxt submitBtn" onClick="savePassword()">
40
                        <div class="msg msg3" ><span></span></div>
41
                        <div class="forget">不是本人?<div class="prompt"><span class="triangleR"></span><span class="prompt-con">请拨打免费电话<br><span class="tel">400-xxx-xxxx</span><br>重新获取邀请码</span></div></div>	
42
                    </div>
41 43
				</form>
42 44
				</div>    
43 45
		</div>

+ 17 - 15
src/main/webapp/login-invite-code.html

@ -1,10 +1,10 @@
1
 <!DOCTYPE>
1
 <!DOCTYPE html>
2 2
<html>
3 3
<head>
4 4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 5
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6 6
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
<title>科袖登录</title>
7
<title>科袖-登录-通过手机和邀请码登录</title>
8 8
<link rel="stylesheet" href="css/reset.css" />
9 9
<link type="text/css" href="css/login.css" rel="stylesheet">
10 10
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
@ -23,19 +23,21 @@
23 23
			<a href="index.html"><img src="images/logo.png"></a>
24 24
			</div>
25 25
			<div class="login-input">
26
			<form  name="f1" action="login-first.html" method="post">	
27
				<input type="text" placeholder="请输入您的手机号"  id="phone" value="" onkeydown="restSub()"  onblur="phoneVal()" >
28
				<div class="msg msg1" ><span></span></div>
29
				<input type="text" placeholder="请输入您的邀请码" id="code" value="358FE958561241DA8A8DFC996388893C" onkeydown="restSub()" onblur="codeVal()" >
30
				<div class="msg msg2" ><span></span></div>
31
				<!--<div class="codebox">
32
				<input type="text" placeholder="验证码" class="code">
33
				<div class="code-pic"></div><span class="note">看不清?换一换</span></div>
34
				<div class="msg" ><span></span></div>-->
35
                <input type="button" value="登录" class="login" id="login" onClick="loginSub()">
36
                <div class="msg msg3" ><span></span></div>
37
				<div class="forget">忘记邀请码?<div class="prompt"><span class="triangleR"></span><span class="prompt-con">请拨打免费电话<br><span class="tel">400-xxx-xxxx</span><br>重新获取邀请码</span></div></div>
38
			</form>	
26
                <form  name="f1" action="login-first.html" method="post">	
27
                    <div class="frmbox">
28
                        <input class="inputtxt" type="text" placeholder="请输入您的手机号"  id="phone" value="" onKeyDown="restSub()"  onblur="phoneVal()" >
29
                        <div class="msg msg1" ><span></span></div>
30
                        <input class="inputtxt" type="text" placeholder="请输入您的邀请码" id="code" value="358FE958561241DA8A8DFC996388893C" onKeyDown="restSub()" onBlur="codeVal()" >
31
                        <div class="msg msg2" ><span></span></div>
32
                        <!--<div class="codebox">
33
                        <input type="text" placeholder="验证码" class="code">
34
                        <div class="code-pic"></div><span class="note">看不清?换一换</span></div>
35
                        <div class="msg" ><span></span></div>-->
36
                        <input type="button" value="登录" class="inputtxt submitBtn" id="login" onClick="loginSub()">
37
                        <div class="msg msg3" ><span></span></div>
38
                        <div class="forget">忘记邀请码?<div class="prompt"><span class="triangleR"></span><span class="prompt-con">请拨打免费电话<br><span class="tel">400-xxx-xxxx</span><br>重新获取邀请码</span></div></div>
39
                    </div>
40
                </form>	
39 41
			</div>
40 42
		</div>
41 43
		

+ 20 - 18
src/main/webapp/login-phone-find01.html

@ -1,4 +1,4 @@
1
 <!DOCTYPE>
1
 <!DOCTYPE html>
2 2
<html>
3 3
<head>
4 4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -7,7 +7,7 @@
7 7
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8 8

9 9
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>科袖-登录</title>
10
<title>科袖-密码找回-手机</title>
11 11

12 12
<link rel="stylesheet" href="css/reset.css" />
13 13
<link type="text/css" href="css/login.css" rel="stylesheet">
@ -41,24 +41,26 @@
41 41
				<div class="line"></div>
42 42
			</div>
43 43
			<div class="login-input">
44
			<form  name="f1" action="login-email-find02.html" method="post">			
45
				<input type="text" placeholder="请输入您的手机号" id="phone" onBlur="valPhone()">	
46
				<div class="msg msg1" ><span></span></div>	
47
				<!--<div class="codebox">		
48
				<input type="text" placeholder="请输入验证码" class="code">
49
				<div class="code-pic"></div><span class="note">看不清?换一换</span>
50
				</div>
51
				<div class="msg" ><span></span></div>-->	
44
			<form  name="f1" action="login-phone-find02.html" method="post">
45
                <div class="frmbox">			
46
                    <input class="inputtxt" type="text" placeholder="请输入您的手机号" id="phone" onBlur="valPhone()">	
47
                    <div class="msg msg1" ><span></span></div>	
48
                    <!--<div class="codebox">		
49
                    <input type="text" placeholder="请输入验证码" class="code">
50
                    <div class="code-pic"></div><span class="note">看不清?换一换</span>
51
                    </div>
52
                    <div class="msg" ><span></span></div>-->
53
                    <div class="codebox">
54
                        <input type="text" placeholder="请输入短信验证码" class="inputtxt sms" id="phoneCode" onBlur="valCode()">	
55
                        <input type="submit" value="获取短信验证码" class="inputtxt gain" onClick="sendPhoneCode()">
56
                    </div>
57
                    <div class="msg msg2" ><span></span></div>	
58
                    <input type="submit" value="找回密码" class="inputtxt submitBtn" onClick="submitCodeVal()"/>
59
                    <div class="msg msg3" ><span></span></div>				
60
                </div>	
52 61
			</form>	
53
			<div class="codebox">
54
				<input type="text" placeholder="请输入短信验证码" class="sms" id="phoneCode" onBlur="valCode()">	
55
				<input type="submit" value="获取短信验证码" class="gain" onclick="sendPhoneCode()">
56
			</div>
57
			<div class="msg msg2" ><span></span></div>	
58
			<input type="submit" value="找回密码" class="login" onclick="submitCodeVal()"/>
59
			<div class="msg msg3" ><span></span></div>				
60
			</div>
61 62
		</div>
63
	</div>
62 64
		
63 65
<div id="footer"></div>
64 66
</body>

+ 12 - 9
src/main/webapp/login-phone-find02.html

@ -1,4 +1,4 @@
1
 <!DOCTYPE>
1
 <!DOCTYPE html>
2 2
<html>
3 3
<head>
4 4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -7,7 +7,7 @@
7 7
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8 8

9 9
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>科袖-登录</title>
10
<title>科袖-密码找回-手机</title>
11 11

12 12
<link rel="stylesheet" href="css/reset.css" />
13 13
<link type="text/css" href="css/login.css" rel="stylesheet">
@ -42,13 +42,16 @@
42 42
				<div class="line"></div>
43 43
			</div>
44 44
			<div class="login-input">
45
			<form  name="f1" action="login-email-find02.html" method="post">			
46
				<input type="password" placeholder="请输入新密码" id="password" />
47
				<div class="msg msg1" ><span></span></div>				
48
				<input type="password" placeholder="请再次输入密码" id="password2" />
49
				<div class="msg msg2" ><span></span></div>	
50
			</form>	
51
            <input type="button" value="重置密码" class="login" id="resetPw" />
45
                <form  name="f1" action="login-email-find02.html" method="post">	
46
                     <div class="frmbox">		
47
                        <input class="inputtxt" type="password" placeholder="请输入新密码" id="password" />
48
                        <div class="msg msg1" ><span></span></div>				
49
                        <input class="inputtxt" type="password" placeholder="请再次输入密码" id="password2" />
50
                        <div class="msg msg2" ><span></span></div>
51
                       
52
                     </div>	
53
                </form>	
54
                 <input type="button" value="重置密码" class="inputtxt submitBtn" id="resetPw" />
52 55
			</div>
53 56
		</div>
54 57


+ 1 - 0
src/main/webapp/organization-brow.html

@ -14,6 +14,7 @@
14 14
<script type="text/javascript" src="js/common.js"></script>
15 15
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
16 16
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
17
<script type="text/javascript" src="js/organization-brow.js"></script>
17 18
</head>
18 19

19 20
<body>

+ 125 - 0
src/main/webapp/register.html

@ -0,0 +1,125 @@
1
 <!DOCTYPE html>
2
<html>
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
<title>科袖-登录-通过已验证手机或邮箱登录</title>
8

9
<link rel="stylesheet" href="css/reset.css" />
10
<link type="text/css" href="css/login.css" rel="stylesheet">
11
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
12
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
13
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
14

15
</head>
16

17
<body>
18
<div id="header"></div>
19

20
		<!--登录邀请码!-->
21
		<div class="loginbox">
22
			<div class="login-title"></div>
23
			<div class="logo">
24
				<a href="index.html"><img src="images/logo.png"></a>
25
			</div>
26
            <div class="logindown">
27
            	<table>
28
                    <tr>
29
                        <td>
30
                           <div class="login-input loginleft">
31
                                <div class="regbox">
32
                                    <div class="regtab">
33
                                        <div class="regtabcon">
34
                                            <div class="phone active">
35
                                                <img src="images/phoneIcon2.png"><span>手机号码注册</span>
36
                                            </div>
37
                                            <div class="mail">
38
                                                <img src="images/mailIcon.png"><span>邮箱注册</span>
39
                                            </div>
40
                                        </div>
41
                                        <div class="styleline"></div>
42
                                    </div>
43
                                    <div class="regtablist">
44
                                        <form id="phone_form" method="post" action="javascript:;">
45
                                            <ul>
46
                                                <li><input class="inputtxt" type="text" placeholder="请输入常用手机号码" id="lp_phone" name="phone" autocomplete="off"></li>
47
                                                <li><div class="msg msgphone1"><span></span></div></li>
48
                                                <li class="yzmli">
49
                                                    <input class="inputtxt" type="text" placeholder="请证明你不是机器人" id="lp_yzm" name="yzm" autocomplete="on">
50
                                                    <div class="yzmbox">
51
                                                        <img class="yzm" src="images/yzmimg1.png" width="100%" height="100%">
52
                                                        <a href="javascript:;" class="reflash"></a>
53
                                                    </div>
54
                                                </li>
55
                                                <li><div class="msg msgphone2"><span></span></div></li>
56
                                                <li class="coderli">
57
                                                    <input class="inputtxt" type="text" placeholder="请输入手机验证码" id="lp_coder" name="coder" autocomplete="on">
58
                                                    <span class="getcode">获取验证码</span>
59
                                                </li>
60
                                                <li> <div class="msg msgphone3"><span></span></div></li>
61
                                                <li>
62
                                                    <input class="inputtxt" type="password" placeholder="请设置密码" id="phone_password" name="password" autocomplete="off">
63
                                                </li>
64
                                                <li><div class="msg msgphone4"><span></span></div></li>
65
                                                
66
                                            </ul>
67
                                        </form>
68
                                        <form id="mail_form" method="post" action="javascript:;" >
69
                                            <ul>
70
                                                <li>
71
                                                    <input class="inputtxt" type="text" placeholder="请输入常用邮箱地址" id="lp_email" name="email" autocomplete="off">
72
                                                </li>
73
                                                <li><div class="msg msgema1"><span></span></div></li>
74
                                                <li>
75
                                                    <input class="inputtxt" type="password" placeholder="请输入密码" id="mail_password" name="password" autocomplete="off">
76
                                                </li>
77
                                                <li><div class="msg msgema2"><span></span></div></li>
78
                                            </ul>
79
                                         </form> 
80
                                     </div> 
81
                                     <form>
82
                                         <label for="agreeNotice" class="agreeNotice" checked="true"> 
83
                                             <em style="background-position: 0px -12px;"></em> 
84
                                             <input type="checkbox" name="checkbox" checked="true" class="gree" style="display:none;">我已阅读并同意<a href="" target="_blank" >《科袖网用户协议》</a>
85
                                        </label> 
86
                                        <a href="javascript:void(0);" class="inputtxt submitBtn">注册</a>  
87
                                    </form>
88
                                </div>
89
                            </div> 
90
                        </td>
91
                        <td>
92
                             <div class="login-line">
93
                                <div class="lineb linebb"></div>
94
                                <div class="wordor"> or </div>
95
                            </div>
96
                        </td>
97
                        <td>
98
                            <div class="login-other">
99
                            	<span class="other-tit">已有科袖网账号:</span>
100
                                <p class="loginlinkbox">
101
                                   <a href="login.html" class="loginlink">直接登录</a>
102
                                </p>
103
                                <span class="other-tit">使用以下帐号直接登录:</span>
104
                                <div class="login-way">
105
                                    <a href="" class="way-icon way-icon1" title="使用微信帐号登录"></a>
106
                                    <a href="" class="way-icon way-icon2" title="使用新浪微博帐号登录"></a>
107
                                    <a href="" class="way-icon way-icon3" title="使用腾讯QQ帐号登录"></a>
108
                                </div>
109
                                <div class="ecode">
110
                                    <div class="downcode"><img src="images/code.jpg" width="100%" height="100%"></div>
111
                                    <p>扫描二维码下载科袖APP</p>
112
                                </div>
113
                            </div>
114
                        </td>
115
                    </tr>
116
                </table>
117
                
118
            </div>
119
		</div>
120
		
121

122
<div id="footer"></div>
123
<script type="text/javascript" src="js/register.js"></script>
124
</body>
125
</html>

+ 0 - 185
src/main/webapp/resources.html

@ -1,185 +0,0 @@
1
 <!DOCTYPE html>
2
<html>
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
<title>科袖-浏览专家信息</title>
8
<link href="css/bootstrap.min.css" rel="stylesheet">
9
<link href="css/reset.css" rel="stylesheet" />
10
<link type="text/css" href="css/common.css" rel="stylesheet">
11
<link type="text/css" href="css/workspace.css" rel="stylesheet">
12
<link href="css/jquery.Jcrop.css" rel="stylesheet" type="text/css" />
13

14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
15

16
<script type="text/javascript" src="js/jquery.HeadP.js"> </script>
17
<script type="text/javascript" src="js/jquery.Jcrop.js"> </script>
18
<script type="text/javascript" src="js/basic.js"> </script>
19
<script type="text/javascript" src="/js/ajaxfileupload.js"></script>
20

21
<script type="text/javascript"src="js/jquery.cookie.js"></script>
22
<script type="text/javascript" src="js/common.js"></script>
23
<script type="text/javascript"src="js/jquery.similar.msgbox.js"></script>
24
<script type="text/javascript" src="js/index.js"></script>
25
<script type="text/javascript" src="js/popup.js"></script>
26
<script type="text/javascript" src="js/workspace.js"></script>
27
<script type="text/javascript">
28
$(function (){
29
	var userid = $.cookie("userid");
30
	var cacheImageKey=null;
31
	if(userid){
32
		$("#resouimg").attr("src","/images/resource/"+userid+".jpg");
33
		$('#uploadInput').live('change',function(){ 
34
			$("#jcropdiv").show();
35
			$.ajaxFileUpload({
36
				url:"../ajax/cachedFileUpload",
37
				secureuri:false,
38
				fileElementId:"resouup",
39
				dataType:"json",
40
				success:function($data){
41
					if($data.success){
42
						cacheImageKey =$data.data[0].cacheKey
43
						$("#resouimg").attr("src","/images/tmp/"+cacheImageKey);
44
					}else{
45
						alert($data.msg);
46
					}
47
				},
48
				error:function(){
49
					$.MsgBox.Alert("message","upload error");
50
				}    					
51
			});
52
		});
53
		
54
	}
55
	$("#inputb").on("click",function(){
56
		var x = parseInt($("#x").val()/395*100);
57
		var y = parseInt($("#y").val()/340*100);
58
		var w = parseInt($("#w").val()/395*100);
59
		var h = parseInt($("#h").val()/340*100);
60
		if(cacheImageKey){
61
			$.ajax({
62
				url:"../ajax/image/head",
63
				type:"POST",
64
				data:{"id":id,"fn":cacheImageKey,"x":x,"y":y,"w":w,"h":h},
65
				dataType:"json",
66
				success:function($data){
67
					if($data.success){
68
						alert("上传成功");
69
						location.reload(true);
70
					}else{
71
						alert($data.msg);
72
					}
73
				}
74
			});
75
		}
76
	});
77

78

79
})
80
</script>
81
</head>
82

83
<body>
84
<div id="header">
85
	<a href="index.html" alt="科袖" class="logo"></a>
86
	<div class="searchblock" style="display:block;">
87
		<input type="text" placeholder="搜索专家、研究方向或科研机构" class="search-txt" id="hsearchContent">
88
		<div class="search-btn" id="hsearch"><span class="search-icon"></span></div>
89
	</div>
90
	<div class="header-right"> 
91
        <!--未登录-->
92
        <a href="login-invite-code.html"><div class="unlogin">特邀专家登录</div></a>
93
        <!--已登录-->
94
        <div class="onlogin">
95
	        <div class="head-portrait">
96
	        	<img class="portrait-p" />
97
	            <div class="personal-infor">
98
	                <div class="triangleB"></div>
99
	                <div class="personal-box">
100
	                    <!-- <a href="#"><span class="icon icon1"></span>我的主页</a> -->
101
	                    <a href="information.html"><span class="icon icon2"></span>修改资料</a>
102
	                    <a href="account-set.html"><span class="icon icon3"></span>账户设置</a>
103
	                    <a href="#" onClick="exit()"><span class="icon icon4"></span>退出登录</a>
104
	                </div>
105
	                
106
	            </div>
107
	        </div>
108
	        <a class="myWorkspace" href="resources.html">我的工作台</a>
109
        </div>
110
	</div>
111
</div>
112
<div id="container">
113
	<div class="con-center">
114
        <div class="workmenu">
115
            <div class="workmenutit">我的工作台</div>
116
            <div class="worksubmenu">咨询</div>
117
            <div class="worksubmenu">共享资源</div>
118
        </div>
119
        <div class="workcon">
120
            <div class="workcontit">科研资源</div>
121
            <div class="worksubcon">
122
      <!--// 我的资源-->
123
            	<div class="workmysrc clearfix"id="workmysrc">
124
                	<div class="workmysrctit">我的资源<span class="workbtn resoumag" onclick="ResourceInfo();">发布新资源</span></div>
125
                	<div id="consd"></div>
126
                    
127
                </div>
128
                <!--我的资源 //-->
129
                
130
                <!--// 我的需求-->
131
            	<div class="workmysrc">
132
                	<div class="workmysrctit">我的需求</div>
133
                    <table width="100%" height="60" class="worktab worktabb">
134
                    	<tr class="worktabtit">
135
                            <th width="10%" height="40">申请时间</th>
136
                            <th width="10%">需求资源</th>
137
                            <th width="12%">资源发布者</th>
138
                            <th width="14%">状态</th>
139
                            <th width="10%">交付时间</th>
140
                            <th width="10%">成交金额</th>
141
                            <th width="14%">付款方式</th>
142
                            <th width="10%">付款状态</th>
143
                            <th width="20%">操作</th>
144
                        </tr>
145
                       
146
                        <tr>
147
                        	<td colspan="9">
148
                        		<div class="tcdPageCode"><span class="disabled">上一页</span><span class="current">1</span><a href="javascript:;" class="tcdNumber">2</a><a href="javascript:;" class="tcdNumber">3</a><a href="javascript:;" class="tcdNumber">4</a><span>...</span><a href="javascript:;" class="tcdNumber">26</a><a href="javascript:;" class="nextPage">下一页</a></div>
149
                            </td>
150
                        </tr>
151
                    </table>
152
                </div>
153
                <!--我的需求 //-->
154
            </div>
155
        </div>
156
    </div>
157
</div>
158
<div id="footer">
159
	<div class="footer-top">
160
		<div class="footerL">
161
			<div class="footer-logo"></div>
162
			<div class="link">
163
				<a href="#">入驻科袖</a>|
164
				<a href="#">申请认证</a>|
165
				<a href="#">常见问题</a>|
166
				<a href="#">意见反馈</a>|
167
				<a href="#">关于我们</a>|
168
				<a href="#">加入我们</a>
169
			</div>
170
			<p class="customer">客服电话:<span>400-xxx-xxxx</span></p>
171
			<p class="customer">工作时间:<span>周一至周五09:00-17:00</span></p>
172
		</div>
173
		<div class="footerR">
174
			<div class="code"><img src="images/code.jpg"></div>
175
			<p>欢迎扫码关注微信公众平台</p>
176
			<a href="#" class="foot-icon foot-icon1"></a>
177
			<a href="#" class="foot-icon foot-icon2"></a>
178
			<a href="#" class="foot-icon foot-icon3"></a>
179
			<a href="#" class="foot-icon foot-icon4"></a>
180
		</div>
181
	</div>
182
	<div class="footer-btm">本站由 阿里云 提供计算与安全服务 Copyright © 2016~2017 科袖 | 京ICP备12345678号 | 京ICP证123456号 | 京公网安备11010800011111号 | 网站联盟安全认证</div>
183
</div>
184
</body>
185
 </html>