var device = '';
var chartDataArr = [];
$(function() {
try{
//分享
var wxShareUrl = "http://finance.qq.com/cross/20171121/x7x6P6I9.html";
if(window.location.host.indexOf('m.')=="0" || wxShareUrl==""){
var wxShareUrl= window.location.href;
wxShareUrl = wxShareUrl.replace(window.location.hash,"");
wxShareUrl = wxShareUrl.replace(window.location.search,"");
}
cbApi.wexin("http://inews.gtimg.com/newsapp_ls/0/2324062258/0",wxShareUrl,"闲置股票账户将被“休眠” 不能交易咋办?|腾讯信息可视化实验室","哪些账户将被休眠?停止交易后还能恢复吗?");
//腾讯直播qqlive app------------------------------
if(isQQLiveApp()){
wxShareUrl += '?';
initQQLiveApp();
}
}catch(e){}
cbTools.tencentNewsLinkFix();
var page = {
init : function(){
requirejs.config({
baseUrl: 'http://mat1.gtimg.com/www/mb/cb2/publish/prj_usual_1/assets/js/', //* Set : base-root :: http://mat1.gtimg.com/www/mb/cb2/publish/prj_usual_1/assets/js/
paths: {
"global-tools": "http://mat1.gtimg.com/www/mb/cb2/global/assets/js/tools" //* Set : my-define-src`
}
});
// Start loading the main app file.
requirejs(['Main_v3.8']);
}
}
page.init();
function isQQLiveApp (){
var u = navigator.userAgent.toLowerCase();
if(u.indexOf('qqlivebrowser') > -1 || u.indexOf('qqlivebroadcast') > -1 ){
return true;
}
return false;
}
function initQQLiveApp(){
//alert(typeof TenvideoJSBridge )
var obj = {
"hasRefresh":false,
"hasShare":true,
"hasFollow":false,
"shareInfo":{
"title":"闲置股票账户将被“休眠” 不能交易咋办?|腾讯信息可视化实验室",
"subTitle":"闲置股票账户将被“休眠” 不能交易咋办?|腾讯信息可视化实验室",
"singleTitle":"闲置股票账户将被“休眠” 不能交易咋办?|腾讯信息可视化实验室",
"content":"哪些账户将被休眠?停止交易后还能恢复吗?",
"contentTail":"",
"imageUrl":"http://inews.gtimg.com/newsapp_ls/0/2324062258/0",
"url":wxShareUrl
}
}
if (typeof TenvideoJSBridge == "object") {
TenvideoJSBridge.invoke("setMoreInfo", obj);
} else {
if(document.addEventListener){
document.addEventListener("onTenvideoJSBridgeReady", function(){
TenvideoJSBridge.invoke("setMoreInfo", obj);
}, false);
} else if(document.attachEvent){
document.attachEvent("onTenvideoJSBridgeReady", function(){
TenvideoJSBridge.invoke("setMoreInfo", obj);
});
}
}
}
});
if(typeof(pgvMain) == 'function') pgvMain();