Sign in

kelude / canrd-patent · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • canrd-patent
  • target
  • patent
  • js
  • index.js
  • 增加前端页面
    7953cd22
    maoyangou authored
    2016-07-12 00:13:15 +0800  
    Browse Code »
index.js 352 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// index.js

;(function(){
	var util = window.exports.util;
	var scroll = window.exports.scroll;
	var  setWrapSize = function  (){
		util.setBannerSize();
		util.setThemeSize();
		scroll.main();
	};

	setWrapSize();
	window.onresize = setWrapSize;

	// window.onscroll = function() {
	// 	console.log('ll');
	// 	// window.scrollTo(0, 647);
	// }

})()