111
This commit is contained in:
49
login.html
49
login.html
@@ -9,12 +9,12 @@
|
|||||||
<!-- 嵌入头部 -->
|
<!-- 嵌入头部 -->
|
||||||
<script type="text/javascript" src="./js/jquery.js"></script>
|
<script type="text/javascript" src="./js/jquery.js"></script>
|
||||||
<script>
|
<script>
|
||||||
// $(function(){
|
$(function(){
|
||||||
// $("#header").load("./header.html");
|
$("#header").load("./header.html");
|
||||||
// });
|
});
|
||||||
// $(function(){
|
$(function(){
|
||||||
// $("#footer").load("./footer.html");
|
$("#footer").load("./footer.html");
|
||||||
// });
|
});
|
||||||
</script>
|
</script>
|
||||||
<body>
|
<body>
|
||||||
<div class="login">
|
<div class="login">
|
||||||
@@ -125,17 +125,21 @@
|
|||||||
<div id="footer"></div>
|
<div id="footer"></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$('#codeImg1').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImagetype=math×tamp=' + Date
|
var time1 = Date.now()
|
||||||
.now());
|
|
||||||
</script>
|
var time2 = ''
|
||||||
<script>
|
|
||||||
|
$('#codeImg1').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImagetype=math×tamp=' + time1);
|
||||||
|
|
||||||
function openPopup() {
|
function openPopup() {
|
||||||
document.getElementById("popup").style.display = "block";
|
document.getElementById("popup").style.display = "block";
|
||||||
document.getElementById("mask").style.display = "block";
|
document.getElementById("mask").style.display = "block";
|
||||||
$('#codeImg2').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImagetype=math×tamp=' +
|
|
||||||
Date
|
var time2 = Date.now()
|
||||||
.now());
|
|
||||||
|
$('#codeImg2').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImagetype=math×tamp=' +time2);
|
||||||
}
|
}
|
||||||
|
|
||||||
function closePopup() {
|
function closePopup() {
|
||||||
@@ -271,13 +275,13 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$.post('http://aos.yyundong.com/ycsafe/website/register', {
|
$.post('http://192.168.0.105:7072/ycsafe/website/register', {
|
||||||
'name': name,
|
'name': name,
|
||||||
'password': password,
|
'password': password,
|
||||||
'telephone': telephone,
|
'telephone': telephone,
|
||||||
'enterpriseName': companyName,
|
'enterpriseName': companyName,
|
||||||
'captcha': captcha,
|
'captcha': captcha,
|
||||||
'timestamp': Date.now(),
|
'timestamp':time2,
|
||||||
}, function(resp) {
|
}, function(resp) {
|
||||||
|
|
||||||
if (!!resp && !!resp.result) {
|
if (!!resp && !!resp.result) {
|
||||||
@@ -291,16 +295,15 @@
|
|||||||
|
|
||||||
function changeCodeImg1() {
|
function changeCodeImg1() {
|
||||||
console.log("changeCodeImg1", Date.now());
|
console.log("changeCodeImg1", Date.now());
|
||||||
$('#codeImg1').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImage?type=math×tamp=' +
|
|
||||||
Date
|
time1 = Date.now()
|
||||||
.now());
|
|
||||||
|
$('#codeImg1').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImage?type=math×tamp=' + time1);
|
||||||
}
|
}
|
||||||
|
|
||||||
function changeCodeImg2() {
|
function changeCodeImg2() {
|
||||||
|
time2 = Date.now()
|
||||||
$('#codeImg2').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImage?type=math×tamp=' +
|
$('#codeImg2').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImage?type=math×tamp=' + time2);
|
||||||
Date
|
|
||||||
.now());
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
14
network.html
14
network.html
@@ -9,12 +9,12 @@
|
|||||||
<!-- 嵌入头部 -->
|
<!-- 嵌入头部 -->
|
||||||
<script type="text/javascript" src="./js/jquery.js"></script>
|
<script type="text/javascript" src="./js/jquery.js"></script>
|
||||||
<script>
|
<script>
|
||||||
// $(function(){
|
$(function(){
|
||||||
// $("#header").load("./header.html");
|
$("#header").load("./header.html");
|
||||||
// });
|
});
|
||||||
// $(function(){
|
$(function(){
|
||||||
// $("#footer").load("./footer.html");
|
$("#footer").load("./footer.html");
|
||||||
// });
|
});
|
||||||
</script>
|
</script>
|
||||||
<body>
|
<body>
|
||||||
<div class="network">
|
<div class="network">
|
||||||
@@ -153,4 +153,4 @@
|
|||||||
$('#codeImg').attr('src', './loulan/captcha/captchaImage?type=math×tamp=' + Date.now());
|
$('#codeImg').attr('src', './loulan/captcha/captchaImage?type=math×tamp=' + Date.now());
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -8,14 +8,14 @@
|
|||||||
</head>
|
</head>
|
||||||
<!-- 嵌入头部 -->
|
<!-- 嵌入头部 -->
|
||||||
<script type="text/javascript" src="./js/jquery.js"></script>
|
<script type="text/javascript" src="./js/jquery.js"></script>
|
||||||
<!-- <script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
$("#header").load("./header.html");
|
$("#header").load("./header.html");
|
||||||
});
|
});
|
||||||
$(function () {
|
$(function () {
|
||||||
$("#footer").load("./footer.html");
|
$("#footer").load("./footer.html");
|
||||||
});
|
});
|
||||||
</script> -->
|
</script>
|
||||||
<body>
|
<body>
|
||||||
<div class="secure">
|
<div class="secure">
|
||||||
<div class="secure-box">
|
<div class="secure-box">
|
||||||
@@ -411,4 +411,4 @@
|
|||||||
.now());
|
.now());
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user