Browse Source

工作台问题

luyanan 7 years ago
parent
commit
0edc2eb1d8
2 changed files with 10 additions and 74 deletions
  1. 9 8
      js/workindex.js
  2. 1 66
      workspaces.html

+ 9 - 8
js/workindex.js

29
29
30
	/*点击未读咨询消息查看*/
30
	/*点击未读咨询消息查看*/
31
	$("#lookMyConsult").on("click", function() {
31
	$("#lookMyConsult").on("click", function() {
32
//		if(ifuser.authType2 == 0) {
33
//			window.location.href = "myConsult.html";
34
//		} else {
32
		if(ifuser.authType2 == 0) {
33
			window.location.href = "myConsult.html";
34
		} else {
35
			window.location.href = "consult.html";
35
			window.location.href = "consult.html";
36
//		}
36
		}
37
	})
37
	})
38
	
38
	
39
	/*点击未读咨询消息查看*/
39
	/*点击未读咨询消息查看*/
50
			"success": function(data) {
50
			"success": function(data) {
51
				if(data.success) {
51
				if(data.success) {
52
					oAuthType=data.data.authType;
52
					oAuthType=data.data.authType;
53
//					if(oAuthType==0){
53
					if(oAuthType==0){
54
						$("#ponUm").text("个我正在发布的需求");
54
						$("#ponUm").text("个我正在发布的需求");
55
						$("#searchDemand").text(">>点击查看");
55
						$("#searchDemand").text(">>点击查看");
56
						demandNumMy(); 
56
						demandNumMy(); 
57
//					}else if(oAuthType==1){
57
					}else if(oAuthType==1){
58
						$("#consultf").removeClass("nohide")
58
//						demandNum();
59
//						demandNum();
59
//					}
60
					}
60
					$("#nameS").text(data.data.name);
61
					$("#nameS").text(data.data.name);
61
					$("#allConsultCount").text(data.data.consultCount);
62
					$("#allConsultCount").text(data.data.consultCount);
62
					
63
					
374
//			}
375
//			}
375
//		});
376
//		});
376
//	}
377
//	}
377
	$("#searchDemand").click(function(){
378
	$("#dett,#searchDemand").click(function(){
378
		location.href="myDemand.html"
379
		location.href="myDemand.html"
379
//		if(oAuthType==0){
380
//		if(oAuthType==0){
380
//			location.href="myDemand.html"
381
//			location.href="myDemand.html"

+ 1 - 66
workspaces.html

7
<title>我的工作台-科袖网</title>
7
<title>我的工作台-科袖网</title>
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 rel="stylesheet" type="text/css" href="css/swiper.min.css"/>
11
<link type="text/css" href="css/common.css" rel="stylesheet">
10
<link type="text/css" href="css/common.css" rel="stylesheet">
12
<link type="text/css" href="css/workspace.css" rel="stylesheet">
11
<link type="text/css" href="css/workspace.css" rel="stylesheet">
13
<link type="text/css" href="css/popup.css" rel="stylesheet">
12
<link type="text/css" href="css/popup.css" rel="stylesheet">
18
	#demands>li:after {left: 20px;}
17
	#demands>li:after {left: 20px;}
19
	
18
	
20
	.emspace{letter-spacing: 2em;}
19
	.emspace{letter-spacing: 2em;}
21
	/*.recommendBlock{position:relative;overflow:hidden;background: #FFF;padding:20px 30px;margin-bottom:20px;}
22
	ul.recommendUl li{display: none;}
23
	ul.recommendUl li:first-child{display:block;}
24
	.recommendClose{display:inline-block;position: absolute;right:20px;top:20px;cursor:pointer;width:30px;height:30px;background: url(../images/g_resource_button_guanbi_nor.png);background-size:cover;}
25
	.recommendTit{font-size: 24px;color: #fc7443;margin-bottom: 10px;}
26
	.recommendTit span{font-size:16px;color:#999;margin-left: 20px;}
27
	.recommendCon{}
28
	.recommendCon .madiaHead{position:absolute;border:1px solid #E5E5E5;width:225px;height:160px;background-position: center;background-size: cover;}
29
	.recommendCon .madiaHead.resouseHead{background-image: url(images/default-resource.jpg);border-radius:0;}
30
	.recommendCon .madiaInfo{padding-left:250px;margin:2px 0;min-height: 160px;}
31
	.recommendCon .madiaInfo p{margin-bottom: 8px;}
32
	.recommendCon .madiaInfo .h1Font{font-size:20px;color:#333;line-height:32px;}
33
	.recommendCon .madiaInfo .h2Font{font-size:16px;color:#666;line-height:26px;}
34
	.recommendCon .madiaInfo .ellipsisSty-2{height:54px;}
35
	.recommendBtn{text-align: right;}
36
	.recommendBtn button{border: none;font-size:16px;color:#666;background:none;padding:9px 28px;margin:0 30px;border-radius: 4px;}
37
	.recommendBtn button:focus{box-shadow: none;outline:none;}
38
	.recommendBtn button.btnOk{background: #ff9900;color: #fff;}*/
39
</style>
20
</style>
40
</head>
21
</head>
41
<body>
22
<body>
76
<!--中间-->
57
<!--中间-->
77
<div id="container">
58
<div id="container">
78
	<div class="con-center">
59
	<div class="con-center">
79
		<!--<div class="recommendBlock displayNone">
80
			<span class="recommendClose"></span>
81
			<div class="recommendTit">请确认与您相关的资源 <span>确认后,这个资源将与您关联,企业可以通过该资源找到您。</span></div>
82
			<ul class="recommendUl">	
83
				<li>
84
					<div class="recommendCon">
85
						<div class="madiaHead resouseHead"></div>
86
						<div class="madiaInfo">
87
							<p class="h1Font">资源名称资源名称资源名称</p>
88
							<p class="h2Font ellipsisSty-2"><em class="emspace">用</em>途:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀护;</p>
89
							<p class="h2Font ellipsisSty-2">所属机构:材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护;材料腐蚀护;</p>
90
						</div>
91
					</div>
92
					<div class="recommendBtn">
93
						<button class="btnOk">确认关联</button>
94
						<button class="btnNo">跳过</button>
95
					</div>
96
				</li>
97
				<li>
98
					<div class="recommendCon">
99
						<div class="madiaHead resouseHead"></div>
100
						<div class="madiaInfo">
101
							<p class="h1Font">资源名称资源名称资源名称</p>
102
							<p class="h2Font ellipsisSty-2"><em class="emspace">用</em>途:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀护;</p>
103
							<p class="h2Font ellipsisSty-2">所属机构:材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护;材料腐蚀护;</p>
104
						</div>
105
					</div>
106
					<div class="recommendBtn">
107
						<button class="btnOk">确认关联</button>
108
						<button class="btnNo">跳过</button>
109
					</div>
110
				</li>
111
			</ul>
112
		</div>
113
		<script>
114
			$(".recommendClose").click(function(){
115
				$(".recommendBlock").slideUp();
116
			})
117
			$(".recommendBtn button.btnNo").click(function(){
118
				$(this).parent().parent().slideUp();
119
				$(this).parent().parent().next().slideDown();
120
			})
121
		</script>-->
122
		<!--<div class="workmenu">
123
        	<script src="js/workMenu.js"></script>
124
        </div>-->
125
		<div class="workmenu">
60
		<div class="workmenu">
126
        	<script src="js/workMenu.js"></script>
61
        	<script src="js/workMenu.js"></script>
127
        </div>
62
        </div>
181
						</div>
116
						</div>
182
						<!--最新咨询、最新回复-->
117
						<!--最新咨询、最新回复-->
183
						<div class="workblock">
118
						<div class="workblock">
184
							<div class="floatL worksubblock nohide" style="border-right: 1px solid #d6d6d6;">
119
							<div class="floatL worksubblock nohide" id="consultf" style="border-right: 1px solid #d6d6d6;">
185
								<div class="worktit">最新咨询
120
								<div class="worktit">最新咨询
186
									<a class="worklinkbtn floatR" id="lookAllConsult" href="consult.html">查看全部</a>
121
									<a class="worklinkbtn floatR" id="lookAllConsult" href="consult.html">查看全部</a>
187
								</div>
122
								</div>