Browse Source

添加链接地址,以及添加下载简历功能

luyanan 7 years ago
parent
commit
c76d2f236e

+ 1 - 1
cmp-portal/css/cmpindex.css

@ -446,7 +446,7 @@ ul.tagList>li .h2Font{color:#666}
446 446
447 447
.form-need{min-height:130px;}
448 448
.form-need a{display:block;}
449
.itemListBolck .itemListCon .form-need .madiaInfo{padding-left: 0;}
449
.itemListBolck .itemListCon .form-need .madiaInfo{padding-left:10px;}
450 450
.itemListBolck .itemListCon .form-need .madiaEdit{display: block;}
451 451
452 452

+ 1 - 0
cmp-portal/js/public/common.js

@ -502,6 +502,7 @@ var columnType = {
502 502
		shortName:"新闻"
503 503
	}	
504 504
}
505
505 506
 function fillColum(allnum){//填充栏目选项
506 507
	var zCount=allnum+3;
507 508
	for(var i=3;i<zCount;i++){

+ 4 - 1
css/genindex.css

@ -508,7 +508,10 @@ ul.tagList>li .h2Font{color:#666}
508 508
509 509
/*.form-need{min-height:160px;}*/
510 510
.form-need a{display:block;}
511
.itemListBolck .itemListCon .form-need .madiaInfo{padding-left: 0;}
511
.form-need>li{position: relative;}
512
.form-need>li:after{content: "";position: absolute;bottom: 0;left:30px;right: 0;height: 1px;background: #E5E5E5;}
513
.form-need>li:last-child:after{background: transparent;}
514
.itemListBolck .itemListCon .form-need .madiaInfo{padding-left:10px;}
512 515
.itemListBolck .itemListCon .form-need .madiaEdit{display: block;}
513 516
/*.pointSp{position:relative;}
514 517
.pointSp:before{content:"";display: inline-block; width: 0; height: 0;border:2px #999 solid;margin: 2px 6px; border-radius:100%;}

+ 1 - 1
information.html

@ -274,7 +274,7 @@
274 274
				</div>
275 275
				<div class="conItem statisticsBox alignCenter clearfix">
276 276
					<div class="col-w-12">
277
						<a class="goarrow" target="_blank" href="">下载我的简历<em></em></a>
277
						<a class="goarrow" id="downResume" href="">下载我的简历<em></em></a>
278 278
					</div>
279 279
				</div>
280 280
				<div class="conItem statisticsBox alignCenter clearfix" style="padding:30px 10px">

+ 3 - 3
js/cmpInforShow.js

@ -620,7 +620,7 @@ $(function() {
620 620
			sowU='<li><span>浏览量 '+$data.pageViews +'</span></li>'
621 621
		}
622 622
		var strCon='';
623
			strCon+='<a class="" target="_blank" href="" class="madiaInfo">'
623
			strCon+='<a class="" target="_blank" href="demandShow.html?demandId='+$data.id+'" class="madiaInfo">'
624 624
			strCon+='<p class="h1Font ellipsisSty">'+ $data.title +'</p>'
625 625
			strCon+='<ul class="showliTop h3Font clearfix">'
626 626
			strCon+='<li><span>发布于 '+commenTime($data.createTime)+'</span></li>'
@ -630,8 +630,8 @@ $(function() {
630 630
			strCon+='<ul class="showli clearfix h3Font">'
631 631
			
632 632
			if($data.city){ strCon+='<li>所在城市:'+$data.city+'</li>' }
633
			if($data.duration){ strCon+='<li>预期时长:'+demandDuration[$data.duration]+'</li>' }
634
			if($data.cost){ strCon+='<li>费用预算:'+demandCost[$data.cost]+'</li>' }
633
			if($data.duration!=0){ strCon+='<li>预期时长:'+demandDuration[$data.duration]+'</li>' }
634
			if($data.cost!=0){ strCon+='<li>费用预算:'+demandCost[$data.cost]+'</li>' }
635 635
			if($data.invalidDay){ strCon+='<li>有效期至:'+TimeTr($data.invalidDay)+'</li>' }
636 636
			
637 637
			strCon+='</ul>'

+ 1 - 0
js/information.js

@ -10,6 +10,7 @@ $(function() {
10 10
		location.href = "login.html";
11 11
		return;
12 12
	}
13
	$("#downResume").attr("href","/pdf/professor?id="+userid+"&_dl=1");
13 14

14 15
	function getInfo(InfoId) {
15 16
		$.get("/ajax/professor/info/" + InfoId, function($data) {

+ 3 - 3
js/needList.js

@ -4,12 +4,12 @@ $(document).ready(function() {
4 4
	loginStatus();//判断个人是否登录
5 5
	valUser();
6 6
	
7
	demandList(true,10, 1);
7
	demandList(true,5, 1);
8 8
	/*点击搜索*/
9 9
	$(".searchSpan").click(function(){
10 10
		$(".tcdPageCode").remove();
11 11
		$(".aboutRes").append('<div class="tcdPageCode"></div>');
12
		demandList(true,10,1);
12
		demandList(true,5,1);
13 13
	})
14 14
	/*需求列表*/
15 15
	function demandList(isbind, pageSize, pageNo) {
@ -41,7 +41,7 @@ $(document).ready(function() {
41 41
								pageCount: Math.ceil(data.data.total / pageSize),
42 42
								current: data.data.data.pageNo,
43 43
								backFn: function(p) {
44
									demandList(false,10, p);
44
									demandList(false,5, p);
45 45
								}
46 46
							});
47 47
						}

+ 1 - 1
js/userInforShow.js

@ -1215,7 +1215,7 @@ $(function() {
1215 1215
			sowU='<li><span>浏览量 '+$data.pageViews +'</span></li>'
1216 1216
		}
1217 1217
		var strCon='';
1218
			strCon+='<a class="" target="_blank" href="" class="madiaInfo">'
1218
			strCon+='<a class="" target="_blank" href="demandShow.html?demandId='+$data.id+'" class="madiaInfo">'
1219 1219
			strCon+='<p class="h1Font ellipsisSty">'+ $data.title +'</p>'
1220 1220
			strCon+='<ul class="showliTop h3Font clearfix">'
1221 1221
			strCon+='<li><span>发布于 '+commenTime($data.createTime)+'</span></li>'

+ 3 - 3
js/workindex.js

@ -374,14 +374,14 @@ $(function() {
374 374
//			}
375 375
//		});
376 376
//	}
377
//	$("#dett,#searchDemand").click(function(){
378
//		
377
	$("#searchDemand").click(function(){
378
		location.href="myDemand.html"
379 379
//		if(oAuthType==0){
380 380
//			location.href="myDemand.html"
381 381
//		}else if(oAuthType==1){
382 382
//			location.href="needList.html"
383 383
//		}
384
//	})
384
	})
385 385
	/*登录者需求的数量*/
386 386
	function demandNumMy(){
387 387
		$.ajax({