D:
/
virtualhost
/
localuser
/
host3914537801
/
www
/
templates
/
default
/
wap
/
web
/
js
/
Upload File
HOME
"use strict"; var change = { design_width: 640, IsPC: function() { for (var t = navigator.userAgent, e = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"], i = !0, n = 0; n < e.length; n++) if (t.indexOf(e[n]) > 0) { i = !1; break } return i }, pc_type: 0, body: document.getElementsByTagName('html')[0], action_flag: !0, action: function(t, e) { change.design_width = t, e && (change.pc_type = e), this.IsPC() ? (this.view_width = document.documentElement.clientWidth > t ? t : document.documentElement.clientWidth, this.pc_type || 1 == this.pc_type ? this.body.classList.add('pc_phone') : this.body.classList.add('pc')) : this.view_width = document.documentElement.clientWidth < 320 ? t / 2 : document.documentElement.clientWidth, this.body.style.opacity = 1, this.body.style.fontSize = 100 * this.view_width / t + 'px', change.action_flag && (change.action_flag = !1, window.addEventListener('resize', function() { change.action(change.design_width) }, !1)) } }; change.action(750);