jack 7 years ago
parent
commit
4f4f135d3c
2 changed files with 13 additions and 10 deletions
  1. 5 10
      articalShow.html
  2. 8 0
      js/articalShow.js

+ 5 - 10
articalShow.html

@ -216,16 +216,11 @@
216 216
		makeCode();
217 217
	});
218 218
	//留言分享操作栏	
219
	setTimeout(function() {
220
		var oShareW = $('.share-nav').outerWidth(true);
221
		$('.shareBlock').scrollFix( {
222
	        startTop:'body',
223
	        bottom: '0',
224
	        endPos : '.share-bottom',
225
			width: oShareW ,
226
	        zIndex : 997
227
	    });	
228
	},300);
219
		
220
		
221
	
222

223
	
229 224
</script>
230 225
</body>
231 226
</html>

+ 8 - 0
js/articalShow.js

@ -107,6 +107,14 @@ $(function() {
107 107
				var articletitle = data.data.articleTitle + "-科袖网";
108 108
				window.setTimeout(function() {
109 109
					document.title = articletitle;
110
					var oShareW = $('.share-nav').outerWidth(true);
111
		$('.shareBlock').scrollFix( {
112
	        startTop:'body',
113
	        bottom: '0',
114
	        endPos : '.share-bottom',
115
			width: oShareW ,
116
	        zIndex : 997
117
	    });	
110 118
				}, 500);
111 119
			},
112 120
			"error":function(){