Browse Source

信息展示页面资源与文章轮播问题

luyanan 8 years ago
parent
commit
7ee4f5c12a
3 changed files with 9 additions and 9 deletions
  1. 4 4
      information.html
  2. 1 1
      js/information.brow.js
  3. 4 4
      js/information.js

+ 4 - 4
information.html

@ -135,7 +135,7 @@
135 135
								<div class="infor-browse">
136 136
									<div class="shareabout shareabout1" style="margin: 0 30px;">
137 137
										<div class="sharesrcbox" style="width:642px;">
138
											<div class=" Acrollbox">
138
											<div class="sharescrollbox Acrollbox" id="keyanAr">
139 139
												<ul class="shareshow otherRes clearfix" id="reachArticle">
140 140
												
141 141
												</ul>
@ -347,12 +347,12 @@
347 347
							<div class="infor-browse">
348 348
								<div class="shareabout" style="margin: 0 30px;">
349 349
									<div class="sharesrcbox" style="width:642px;">
350
										<div class="sharescrollbox">
350
										<div class="sharescrollbox" id="keyanRe">
351 351

352 352
										</div>
353 353
									</div>
354
									<span class="resouprev resoubtn"></span>
355
									<span class="resounext resoubtn"></span>
354
									<span class="resouprev resoubtn resoubtn2"></span>
355
									<span class="resounext resoubtn resoubtn2"></span>
356 356
								</div>
357 357
							</div>
358 358
						</div>

+ 1 - 1
js/information.brow.js

@ -840,7 +840,7 @@ $(function() {
840 840
						add = "";
841 841
					}
842 842
					//资源轮播
843
					var $content = $(".sharescrollbox");
843
					var $content = $("#sharescrollbox");
844 844
					var childcount = $content.find(".sharesrc").length;
845 845
					Carousel(3, 3, 3, childcount, $content, $(".resoubtn2.resounext"), $(".resoubtn2.resouprev"));
846 846
					//科研资源中点咨询

+ 4 - 4
js/information.js

@ -2053,7 +2053,7 @@ $(function() {
2053 2053
					add += '<p class="briefinfor">应用用途:' + data.data[i].supportedServices + '</p>'
2054 2054
					add += '</div>'
2055 2055
					$add = $(add);
2056
					$(".sharescrollbox").append($add);
2056
					$("#keyanRe").append($add);
2057 2057

2058 2058
					/*$(".resouImage").load(function(){})
2059 2059
							.error(function(){
@ -2069,9 +2069,9 @@ $(function() {
2069 2069
					//add="";
2070 2070
				}
2071 2071
				//资源轮播
2072
				var $content = $(".sharescrollbox");
2072
				var $content = $("#keyanRe");
2073 2073
				var childcount = $content.find(".sharesrc").length;
2074
				Carousel(3, 3, 3, childcount, $content, $(".resounext"), $(".resouprev"));
2074
				Carousel(3, 3, 3, childcount, $content, $(".resoubtn2.resounext"), $(".resoubtn2.resouprev"));
2075 2075
			} else {
2076 2076
				$.MsgBox.Alert("消息", "系统异常!");
2077 2077
			}
@ -2135,7 +2135,7 @@ $(function() {
2135 2135

2136 2136
					}
2137 2137
					//资源轮播
2138
					var $content2 = $(".sharescrollbox.Acrollbox");
2138
					var $content2 = $("#keyanAr");
2139 2139
					var childcount2 = $content2.find(".otherRes.shareshow li").length;
2140 2140
					Carousel(3, 3, 3, childcount2, $content2, $(".articalbtn.resounext"), $(".articalbtn.resouprev"));
2141 2141
				}