") && ($.isArray(n.loadingPlugin) ? n.loadingPlugin.forEach(function (t) { t.stop(pathObj.main_domain_path_http + "/maintain/50x_s.html") }) : n.loadingPlugin.stop(pathObj.main_domain_path_http + "/maintain/50x_s.html")) : $.isArray(n.loadingPlugin) ? n.loadingPlugin.forEach(function (t) { t.stop() }) : n.loadingPlugin.stop()) } }; return $.ajax(t), a.promise() } window.util = { fAdd: function (t, e) { var i, n, a, s, o, r = ""; try { i = t.toString().split(".")[1].length } catch (t) { i = 0 } try { n = e.toString().split(".")[1].length } catch (t) { n = 0 } a = Math.max(i, n), o = (s = (t = +(+t).toFixed(a).replace(/\./g, "")) + (e = +(+e).toFixed(a).replace(/\./g, "")) + "").length - a, +s < 0 && o--; for (var l = o; l < 0; l++) r += "0"; return 0 === a ? s : o <= 0 && +s < 0 ? "-0." + r + s.replace(/\-/g, "") : o <= 0 && 0 <= +s ? "0." + r + s : 0 < o && +s < 0 ? "-" + (s = s.replace(/\-/, "")).slice(0, o) + "." + s.slice(-a) : 0 < o && 0 <= +s ? s.slice(0, o) + "." + s.slice(-a) : void 0 }, fSubtract: function (t, e) { var i, n, a, s, o, r = ""; try { i = t.toString().split(".")[1].length } catch (t) { i = 0 } try { n = e.toString().split(".")[1].length } catch (t) { n = 0 } a = Math.max(i, n), o = (s = (t = +(+t).toFixed(a).replace(/\./g, "")) - (e = +(+e).toFixed(a).replace(/\./g, "")) + "").length - a, +s < 0 && o--; for (var l = o; l < 0; l++) r += "0"; return 0 === a ? s : o <= 0 && +s < 0 ? "-0." + r + s.replace(/\-/g, "") : o <= 0 && 0 <= +s ? "0." + r + s : 0 < o && +s < 0 ? "-" + (s = s.replace(/\-/, "")).slice(0, o) + "." + s.slice(-a) : 0 < o && 0 <= +s ? s.slice(0, o) + "." + s.slice(-a) : void 0 }, fRemainder: function (t, e) { var i, n, a; t += ""; var s = /\./ , o = ""; i = s.test(t) ? t.split(".")[1].length : 0; for (var r = a = (n = +t.replace(s, "") % e + "").length - i; r < 0; r++) o += "0"; return 0 === i ? n : a <= 0 ? "0." + o + n : n.slice(0, a) + "." + n.slice(-i) }, fDiv: function (t, e, i) { var n; i = i || 2; try { t.toString().split(".")[1].length } catch (t) { 0 } try { e.toString().split(".")[1].length } catch (t) { 0 } return t = +(+t).toFixed(i).replace(/\./g, ""), e = +(+e).toFixed(i).replace(/\./g, ""), /\./.test(n = t / e + "") ? n.toFixed(i) : n }, getQueryString: function (t) { var e = new RegExp("(^|&)" + t + "=([^&]*)(&|$)") , i = window.location.search.substr(1).match(e); return null != i ? $.trim(decodeURI(i[2]).toString().replace(/<[^>]+>/g, "")) : null }, getHashString: function (t) { var e = new RegExp("(^|&)" + t + "=([^&]*)(&|$)") , i = window.location.hash.substr(1).match(e); return null != i ? $.trim(decodeURI(i[2]).toString().replace(/<[^>]+>/g, "")) : null }, getObjectbyId: function (t, e, i) { for (var n in i) if (i[n][t] == e) return i[n] }, getTextidByCode: function (t, e, i, n) { return this.getObjectbyId(t, e, i)[n] }, getDevice: function () { var t = navigator.userAgent , e = /(?:Windows Phone)/.test(t) , i = /(?:SymbianOS)/.test(t) || e , n = /(?:Android)/.test(t) , a = /(?:Firefox)/.test(t) , s = /(?:Chrome|CriOs)/.test(t) , o = /(?:iPad|PlayBook)/.test(t) || n && !/(?:Mobile)/.test(t) || a && /(?:Tablet)/.test(t) , r = /(?:iPhone)/.test(t) && !o; return { isWindowsPhone: e, isSymbian: i, isAndroid: n, isFireFox: a, isChrome: s, isTablet: o, isPhone: r, isPc: !(r || n || i || o) } }, toThousands: function (t, e) { return (t = e ? (t || 0).toFixed(e).split(".") : (t || 0).toString().split("."))[0].replace(/(\d)(?=(?:\d{3})+$)/g, "$1,") + (t[1] ? "." + t[1] : "") }, toSlice: function (t, e) { if ("number" != typeof e) throw Error(e + " needed be a number"); if (e < 0) throw Error(e + " needed be a positive number "); var i = String(t) , n = i.indexOf("."); return n < 0 ? t.toFixed(e) : e - i.split(".")[1].length <= 0 ? i.slice(0, n + 1 + e) : t.toFixed(e) }, isEnglish: function () { return "English" === this.getOtherSite() || "enydyl" === this.getOtherSite() || "enSzhk" === this.getOtherSite() || "enqfii" === this.getOtherSite() }, isNeedTrueHQData: function () { return "option" === this.getOtherSite() }, getOtherSite: function () { var t = window.location.protocol + "//" + window.location.host , e = window.location.href , i = e.indexOf(e) + t.length + 1; return -1 < e.indexOf("big5.szse.cn") && (i += 9, i = (e = e.substring(i)).indexOf("/") + 1), 0 < (i = (e = e.substring(i)).indexOf("/")) && (e = e.substring(0, i)), e }, handleDocHref: function (t, e, i, n, a) { var s = ""; "disclosure" === t ? "html" != e && "pdf" != e ? s = /txt|bmp|gif|jpeg|jpg|png|xml/i.test(e) ? (i = i.replace(/\/download?/, ""), "_blank") : "_self" : "pdf" !== e && "html" !== e || (i = a.isBond ? pathObj.bond_domain_path_http + "/disclosure/bizanno/pubinfoanno/notice/index.html?" + n : a.isLefu ? pathObj.lefu_domain_path_http + "/disclosure/notice/index.html?" + n : pathObj.main_domain_path_http + "/disclosure/listed/bulletinDetail/index.html?" + n, s = "_blank") : s = /html|pdf|txt|bmp|gif|jpeg|jpg|png|xml|link/i.test(e) ? (i = i.replace(/\/download?/, ""), "_blank") : "_self"; return { href: i, openType: s } } } initElements(), switchChartData(config); var a = 0; setInterval(function () { a = $(".wwj .panel").index($(".wwj .panel.cur")); switch (a) { case 0: case 1: a++; break; case 2: a = a - 2; break; } $(".wwj .panel").eq(a).addClass("cur").siblings().removeClass("cur") $(".wwj1 .tabItem").eq(a).fadeIn().siblings().fadeOut(); }, 30000); var b = 0; setInterval(function () { b = $(".wwj22 .panel").index($(".wwj22 .panel.cur")); switch (b) { case 0: b++; break; case 1: b--; break; } $(".wwj2 .box_text").eq(b).fadeIn().siblings().fadeOut(); }, 30000); $(function () { $(".wwj22 .panel").mouseenter(function () { var index = $(this).parent().children('.panel').index(this); $('.wwj2').children('.box_text').eq(index).show().siblings().hide(); $(this).addClass('cur').siblings('.panel').removeClass('cur') }); }); //填入证券信息 $.ajax({ url:'/get_shares?code=sz002053', type:'get', dataType:'json', success:function(data){ $('.re-left h1').html(data.data.now + '元') var da = '-'; if (data.data.delta < 0) { da = ''; } $('.re-left h3').html(''+data.data.delta+''+data.data.deltaPercent+'%') $('.re-left p').text(data.datetime + ' 已收盘 北京时间') }, }) }) 亚博体育 亚博集团 im电竞 网络赌博 外围足球 皇冠足球 365体育 博彩app 信誠證券 沙巴SB体育 大重庆社区 快乐编织手工编织网 网络赌博平台 新比克斯 中国健康网 澳门新葡京 大南阳社区 影乐酷 上海教育电视台 大发彩票平台 腾讯图片 最言情小说吧 贵州师范大学教务处 我爱卡招商银行信用卡中心 聚利科技 黄记煌官网 安徽人事资料网 华奥星空 竞技体育 罗恩化学试剂 歇后语大全 广州金海绿怡农业发展有限公司官方网站 亚太天能 中国饲料原料信息网 多麦CPS广告联盟 17173Tera专区