|
|
|
@ -13,14 +13,14 @@ |
|
|
|
} |
|
|
|
</style> |
|
|
|
<script> |
|
|
|
//H5移动版自适应跳转js |
|
|
|
//H5 Mobile version adaptive jump js |
|
|
|
var mobileAgent = new Array("iphone", "ipod", "ipad", "android", "mini", "mobile", "mobi", "mqqbrowser", "blackberry", "webos", "incognito", "webmate", "bada", "nokia", "symbian", "wp7", "wp8", "lg", "ucweb", "skyfire"); |
|
|
|
var browser = navigator.userAgent.toLowerCase(); |
|
|
|
var _tag = "{$_GET['tag']}"; |
|
|
|
if(_tag != 'web'){ |
|
|
|
for (var i = 0; i < mobileAgent.length; i++) { |
|
|
|
if (browser.indexOf(mobileAgent[i]) != -1) { |
|
|
|
//todo 手机版跳转 |
|
|
|
//todo Mobile version jump |
|
|
|
window.location.href = 'https://app.cxisux.net'; |
|
|
|
break; |
|
|
|
} |
|
|
|
@ -33,21 +33,21 @@ |
|
|
|
} |
|
|
|
</script> |
|
|
|
<!-- <link rel="stylesheet" href="assets/css/style.css"> --> |
|
|
|
<!-- index嵌入资源不是打包插入的,可以在全局直接使用 |
|
|
|
htmlWebpackPlugin模板支持ejs语法 --> |
|
|
|
<!-- index Embedded resources are not packaged and can be directly used globally |
|
|
|
htmlWebpackPlugin Template support ejs syntax --> |
|
|
|
|
|
|
|
<!-- 加载bootstrap样式文件 --> |
|
|
|
<!-- loading bootstrap Style files --> |
|
|
|
<link rel="stylesheet" href="/static/css/bootstrap.min.css"> |
|
|
|
|
|
|
|
<!-- 加载ionicons样式文件 --> |
|
|
|
<!-- loading ionicons Style files --> |
|
|
|
<link rel="stylesheet" href="/static/css/ionicons.min.css"> |
|
|
|
|
|
|
|
<!-- 加载jquery样式文件 --> |
|
|
|
<!-- loading jquery Style files --> |
|
|
|
<link rel="stylesheet" href="/static/css/jquery.mCustomScrollbar.min.css"> |
|
|
|
|
|
|
|
<script src="/static/Kline/charting_library/charting_library.min.js"></script> |
|
|
|
|
|
|
|
<!-- 加载swiper --> |
|
|
|
<!-- loading swiper --> |
|
|
|
<link rel="stylesheet" href="/static/libs/swiper-5.3.8/package/css/swiper.min.css"> |
|
|
|
<script src="/static/libs/swiper-5.3.8/package/js/swiper.min.js"></script> |
|
|
|
</head> |
|
|
|
@ -70,7 +70,7 @@ |
|
|
|
<script src="/static/libs/skroll.min.js"></script> |
|
|
|
<script src="https://www.cxisux.net/newlink/pako.min.js"></script> |
|
|
|
<script> |
|
|
|
window.custom = "light"; // 默认主题 |
|
|
|
window.custom = "light"; // Default theme |
|
|
|
window.api_path = "<%= htmlWebpackPlugin.options.isProduct ? 'https://mgg.cxisux.net/api/sliderVerify' : 'https://mgg.cxisux.net/api/sliderVerify' %>"; |
|
|
|
// window.api_path = "<%= htmlWebpackPlugin.options.isProduct ? 'http://qkladmin2.ruanmeng.top/api/sliderVerify' : 'http://qkladmin2.ruanmeng.top/api/sliderVerify' %>"; |
|
|
|
// window.ws_path = "<%= htmlWebpackPlugin.options.isProduct ? 'wss://guanli.coin.amatak.net/ws1' : 'wss://guanli.coin.amatak.net/ws1' %>"; |
|
|
|
@ -78,7 +78,7 @@ |
|
|
|
|
|
|
|
// window.ws_path = "<%= htmlWebpackPlugin.options.isProduct ? 'ws://qkladmin2.ruanmeng.top:2346' : 'ws://qkladmin2.ruanmeng.top:2346' %>"; |
|
|
|
|
|
|
|
// 修改页面主题 |
|
|
|
// Modify Page Theme |
|
|
|
function changeSightSense() { |
|
|
|
const body = document.body, |
|
|
|
header = document.getElementById("common-header") |
|
|
|
@ -94,11 +94,11 @@ |
|
|
|
custom = "dark"; |
|
|
|
} |
|
|
|
|
|
|
|
// 重新加载tradingView |
|
|
|
// RELOAD tradingView |
|
|
|
renderTV(); |
|
|
|
} |
|
|
|
|
|
|
|
// 窗口内容加载完毕 初始化tv |
|
|
|
// The window content has been loaded and initialized tv |
|
|
|
window.onload = function () { |
|
|
|
// renderTV(); |
|
|
|
}; |
|
|
|
|