Commit 41f66b3d authored by zhanghong's avatar zhanghong Committed by 凡昌松

Index.html

parent 7644c80b
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Access-Control-Allow-Origin" content="*">
<meta charset="UTF-8">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>ADC 云</title>
<link rel="icon" href="../images/newIndex/favorite.png"/>
<link rel="stylesheet" href="lib/bootstrap.css">
<link rel="stylesheet" href="./lib/bootstrap_table/bootstrap-table.css">
<link rel="stylesheet" href="./layui-v2.5.4/layui/css/layui.css">
<link rel="stylesheet" href="./newCss/index.css">
</head>
<OBJECT classid="CLSID:A252C809-ACF9-4391-96D7-2C2195FDA660" codebase="/ADC/lib/activex/CAISCOM_x86.dll" height=1
id="CAIS" style="HEIGHT: 1px; LEFT: 10px; TOP: 28px; WIDTH: 1px"
width=1 VIEWASTEXT></OBJECT>
<body>
<input type="hidden" id="hiddenValue">
<input type="hidden" id="hiddenValueId">
<input type="hidden" id="hiddenValueId1">
<!--右下角-->
<div style="position: fixed;bottom: 8vh;right: 15px;z-index: 9999;">
<a href="javascript:;" onclick="this.parentNode.style.display='none'"
style="margin-bottom: 3px;display: inline-block">
<img src="../images/login/close.png" width="14px" style="vertical-align: middle"/><span
style="color:#EF8225;margin-left: 3px">关闭</span>
</a><br>
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2543109041&site=qq&menu=yes">
<div class="qqConcat">
<div>ADC</div>
<div>在线答疑</div>
<div>咨询</div>
</div>
<!-- <img border="0" style="width: 90px; height:90px" src="lib/img/u61.png" alt="点击这里给我发消息" title="点击这里给我发消息" />-->
</a>
</div>
<div class="layout-container">
<div class="layout-header">
<div class="logo">
<img src="../images/newIndex/logo.png" alt="" width="360px">
<div class="header-right">
<div class="searchInput">
<input type="text" placeholder="在此输入您需要的服务" id="keySearch">
<img src="../images/newIndex/search.png" alt="" width="20px" id="searchImg">
</div>
<div class="userInfo" style="display: none">
<div id="userChange">
<div id="exit" class="hover">退出</div>
</div>
<img src="../images/newIndex/touxiang.png" alt="" width="24px">
<span id="username">001</span>
<img src="../images/newIndex/xiayiye.png" alt="" width="20px">
</div>
<div class="userLogin">
<button class="login-btn">登录</button>
<button class="register-btn">注册</button>
</div>
<div style="margin-bottom: 4px">
<div id="shouce" class="hover"
style="text-decoration: underline ;margin-left: 20px;cursor: pointer;color:#EF8225">操作手册
</div>
</div>
</div>
</div>
<div class="nav-bar">
<ul>
<li class="active" data-url="#!dashboard" onclick="Index.menuChange('#!dashboard')">首页</li>
<li data-url="#!enterprisePrivateCloud" onclick="Index.menuChange('#!enterprisePrivateCloud/sjcx')">
企业私有云数据
</li>
<li data-url="#!accessPlatform" onclick="Index.menuChange('#!accessPlatform')">综合准入平台</li>
<li data-url="#!certPrint" onclick="Index.menuChange('#!certPrint/hgz')">证书打印</li>
<li data-url="#!reportAnalysis" onclick="Index.menuChange('#!reportAnalysis')">行业分析报告</li>
<li data-url="#!experienceSharing" onclick="Index.menuChange('#!experienceSharing')">经验共享</li>
<li data-url="#!about" onclick="Index.menuChange('#!about')">关于我们</li>
</ul>
</div>
</div>
<div class="layout-body">
<div class="layout-body-content" style="flex: 1 1 auto">
</div>
<div class="layout-body-footer">
</div>
</div>
</div>
<script src="./lib/browser-polyfill.min.js"></script>
<script src="../js/jquery-1.12.4.min.js" type="text/javascript"></script>
<script src="./lib/layer-v3.1.1/layer/layer.js"></script>
<script src="./layui-v2.5.4/layui/layui.js"></script>
<script src="../js/q.js"></script>
<script src="../js/pandyle.min.js"></script>
<script src="./js/utils.js"></script>
<script src="../js/html/config.js" type="text/javascript"></script>
<script src="./newJs/index.js"></script>
<script type="text/javascript" src="http://127.0.0.1:8365/GSCloudPlugin.js"></script>
<script type="text/javascript" src="http://127.0.0.1:18365/GSCloudPlugin.js"></script>
<script>
$(document).ready(function () {
Index.init();
$(".layout-body-footer").load("newhtml/footer.html");
$("#keySearch").keypress(function (event) {
if (event.keyCode == "13") {
location.href = '#!list/keySearch/' + $(this).val();
}
})
$("#searchImg").click(function () {
location.href = '#!list/keySearch/' + $('#keySearch').val();
})
$("#shouce").click(function () {
location.href = 'lib/czsc.pdf';
})
})
//增加点击量
function addClick(type, id) {
let urlObj = {
zc_lbj: '/api/news/addclick?ID=' + id,
newsOther: '/api/news/clickcount?ID=' + id,
bszn: '/api/workmanage/viewCount?id=' + id,
zcjd: '/api/policymanage/viewCount?id=' + id,
bzyg: '/api/standardmanage/viewCount?id=' + id
};
$.ajax({
url: addr + urlObj[type],
type: 'post',
success: function (res) {
}
})
}
layui.config({
base: '../../../module/',
skin: 'demo-class'
}).extend({
treetable: 'treetable-lay/treetable',
treeSelect: 'treeSelect/treeSelect'
})
let needLoadingRequestCount = 0;
let loadLayer;
function showFullScreenLoading() {
if (needLoadingRequestCount === 0) {
startLoading()
}
needLoadingRequestCount++
}
function startLoading() { // 使用Element loading-start 方法
loadLayer = layer.load();
}
function tryHideFullScreenLoading() {
if (needLoadingRequestCount <= 0) return
needLoadingRequestCount--
if (needLoadingRequestCount === 0) {
endLoading()
}
}
function endLoading() { // 使用Element loading-close 方法
layer.close(loadLayer);
}
$.ajaxSetup({
beforeSend: function (jqXHR, settings) {
if (settings.url.indexOf("/api/vdaims/yzx/modifyPrintStatus") === -1) {
showFullScreenLoading()
}
},
cache: false,
success: function (jqXHR, settings) {
},
error: function (jqXHR, err) {
},
complete: function (jqXHR, textStatus) {
tryHideFullScreenLoading();
if (jqXHR.status === 401 || (jqXHR.responseJSON && (jqXHR.responseJSON.result === '-1' || jqXHR.responseJSON.respCode === '401'))) {
layer.msg('登录状态失效,请登录!', {icon: 7});
localStorage.clear();
endLoading();
setTimeout(function () {
if (window.top != null && window.top.document.URL != document.URL) {
window.top.location.replace(window.top.location.origin + '/login.html?redirect_to=' + window.location.hash);
} else {
location.replace('./login.html?redirect_to=' + window.location.hash);
}
}, 2000);
}
}
});
var browser = {
versions: function () {
var u = navigator.userAgent;
return {
trident: u.indexOf('Trident') > -1, //IE内核
presto: u.indexOf('Presto') > -1, //opera内核
webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
gecko: u.indexOf('Firefox') > -1, //火狐内核Gecko
mobile: !!u.match(/AppleWebKit.*Mobile.*/), //是否为移动终端
ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios
android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android
iPhone: u.indexOf('iPhone') > -1, //iPhone
iPad: u.indexOf('iPad') > -1, //iPad
webApp: u.indexOf('Safari') > -1 //Safari
};
}()
}
if (!browser.versions.trident) {
$(".layout-body-content").css('flex', '1')
}
function checkUserLogin() {
var flag = 'false';
$.ajax({
type: "post",
url: addr + "/api/login/checkUserLogin",
async: false,
success: function (data) {
if (data == true) {
flag = 'true';
} else {
flag = 'false';
}
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
flag = 'false';
}
});
return flag;
}
layui.use(['layer'], function () {
var layer = layui.layer;
var remind = localStorage.getItem("remind");
var name = localStorage.getItem("name");
var date = localStorage.getItem("expire_time");
if (remind) {
layer.open({
title: '温馨提示'
,
content: '<div style="line-height: 2;text-indent: 2em">尊敬的' + name + ',温馨提醒,您正在使用的ADC数据云平台于' + date + '到期!由于整体功能做了调整和部分升级,本着自愿使用的原则,建议您可办理续约继续使用,若已续约或不再使用请忽略!' +
'<br/>' +
'<div style="text-indent: 2em">详情请查看<a href="exe/2020ADCsftz.pdf" style="text-decoration: underline;color:#EF8225">2021-2022年度ADC数据云平台收费通知单</a>进行了解。</div>' +
'<div style="color: #928e8e;text-indent: 2em">如有问题请联系QQ:2543109041,电话:022-60633100转8302</div></div>'
,
offset: 'rb'
,
btn: false
,
area: '500px'
,
skin: 'demo-class'
});
}
})
</script>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment