Selaa lähdekoodia

判断了下,自己不能关注自己的问题

xuchunyang 8 vuotta sitten
vanhempi
commit
ef20984195
3 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. 5 5
      information-brow.html
  2. 1 1
      js/information.brow.js
  3. 1 1
      js/resourceInfo.js

+ 5 - 5
information-brow.html

98
				</div>
98
				</div>
99
				<div class="coulstbtn floatL" style="position: absolute;bottom: 20px;">
99
				<div class="coulstbtn floatL" style="position: absolute;bottom: 20px;">
100
					<span id="conbtn">咨询</span>
100
					<span id="conbtn">咨询</span>
101
								<span class="attentBtn" id="attentBtn"><em></em><i>关注</i></span>
102
								<span class="shareWeixin" style="display:inline-block;position: relative;">分享至微信
101
					<span class="attentBtn" id="attentBtn"><em></em><i>关注</i></span>
102
					<span class="shareWeixin" style="display:inline-block;position: relative;">分享至微信
103
						<div class="shareCode">
103
						<div class="shareCode">
104
							<div id="qrcode"></div>
104
							<div id="qrcode"></div>
105
						</div>
105
						</div>
133
							</div>
133
							</div>
134
						</div>
134
						</div>
135
						<div class="content-right">
135
						<div class="content-right">
136
							<div class="right-box introduction yesshow">
136
							<div class="right-box introduction yesshow" style="display: none;">
137
								<div class="right-title"><span>科研文章</span></div>
137
								<div class="right-title"><span>科研文章</span></div>
138
								<div class="infor-browse">
138
								<div class="infor-browse">
139
									<div class="shareabout shareabout1" style="margin: 0 30px;">
139
									<div class="shareabout shareabout1" style="margin: 0 30px;">
262
								<div class="right-title"><span>合作历史及评价</span> </div>
262
								<div class="right-title"><span>合作历史及评价</span> </div>
263
								<div class="infor-browse">
263
								<div class="infor-browse">
264
									<div class="shareabout shareabout2">
264
									<div class="shareabout shareabout2">
265
265
  
266
									</div>
266
									</div>
267
267
268
								</div>
268
								</div>
312
			<div class="science"><span id="foot_prodepar"></span><span id="foot_proorgname"></span ><span class="address" id="foot_proaddress"></span></div>
312
			<div class="science"><span id="foot_prodepar"></span><span id="foot_proorgname"></span ><span class="address" id="foot_proaddress"></span></div>
313
					</div>
313
					</div>
314
					<div class="coulstbtn floatR">
314
					<div class="coulstbtn floatR">
315
						<span id="consultbtn">咨询</span>
315
						<span id="conbtn">咨询</span>
316
						<span class="attentBtn" id="attentBtnFoot"><em></em><i>关注</i></span>
316
						<span class="attentBtn" id="attentBtnFoot"><em></em><i>关注</i></span>
317
					</div>
317
					</div>
318
				</div>
318
				</div>

+ 1 - 1
js/information.brow.js

4
	var professorId = GetQueryString("professorId");
4
	var professorId = GetQueryString("professorId");
5
	var name;
5
	var name;
6
	if(userid == professorId) {
6
	if(userid == professorId) {
7
		$("span:contains('咨询')").hide();
7
		$("#conbtn,.attentBtn").hide();
8
	}
8
	}
9
	if(professorId) {
9
	if(professorId) {
10
10

+ 1 - 1
js/resourceInfo.js

66
						$("#application").text($info.supportedServices);
66
						$("#application").text($info.supportedServices);
67
						professorId = $info.professorId;
67
						professorId = $info.professorId;
68
						if(userid==professorId){
68
						if(userid==professorId){
69
							$("#consultin").hide()
69
							$("#consultin,.attentBtn").hide()
70
						}
70
						}
71
						if($info.subject) {
71
						if($info.subject) {
72
							subjectShow($info.subject)
72
							subjectShow($info.subject)