base.js 690 字节
/**
 * 
 * @authors Your Name (you@example.org)
 * @date    2018-11-09 13:59:47
 * @version $Id$
 */


 
! function (a) {
    function b() {
        var Length = document.documentElement.clientWidth;
		var baseWidth = Length <= 1024 ? Length : 1024 < Length ? 750 : '';
		document.documentElement.style.fontSize = baseWidth / 750 * 100 + 'px';
    }
    window.addEventListener("DOMContentLoaded", function () {
        b()
    }, !1), window.addEventListener("resize", function () {
        b()
    }), b()
}(window);

//回退
window.onload  =  function(){
	var $back = document.getElementsByClassName('back')[0];
	if($back){
		$back.onclick=function(){
		window.history.back()
	}
	}
	
}