Apache
tcp/80
.DS_Store” is an abbreviation for “Desktop Services Store”. These files are created automatically by Apples “Finder” software (which is part of their OS).
They store information about the files within a folder, including display options of folders, such as icon positions and view settings.
It may happen that .DS_Store files inadvertently leak filenames such as database backups or private administration panels.
Severity: low
Fingerprint: 5f32cf5d6962f09c63442d9d63442d9d819fde85819fde85819fde85819fde85
Found 1 files trough .DS_Store spidering: /js
Open service 129.227.251.52:80
2024-11-19 22:40
HTTP/1.1 200 OK Date: Tue, 19 Nov 2024 22:40:21 GMT Server: Apache Upgrade: h2 Connection: Upgrade, close Last-Modified: Fri, 16 Aug 2024 10:37:25 GMT ETag: "c75-61fca8b8a3745" Accept-Ranges: bytes Content-Length: 3189 Vary: Accept-Encoding Content-Type: text/html Page title: Document <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; } .box { max-width: 790px; width: 100%; height: 100%; position: relative; margin: 0 auto; } .box_1 { width: 100%; height: auto; display: block; } .box_22 { width: 80%; height: auto; display: block; position: absolute; top: 80%; left: 50%; transform: translate(-50%, -50%); } .box_2 { width: 100%; height: auto; transform-origin: center center; animation: identifier 1s infinite; border-radius: 10px; } @keyframes identifier { 0% { transform: scale(100%); } 50% { transform: scale(110%); } 5100% { transform: scale(100%); } } </style> </head> <body> <div class="box"> <img src="" class="box_1" id="img1"> <div class="box_22" id="btn"> <img src="" class="box_2" id="img2"> </div> </div> </body> <script src="./js/jquery-1.11.0.min.js"></script> <script src="./js/base.js"></script> <script> var urll = window.location.href; var regExp = /[\?&]id=([^&#]*)/; var regExpC = /[\?&]c=([^&#]*)/; var match = regExp.exec(urll); var matchC = regExpC.exec(urll); if (match && matchC) { var id = Number(decodeURIComponent(match[1].replace(/\+/g, " "))); var c = Number(decodeURIComponent(matchC[1].replace(/\+/g, " "))); ajax({ type: 'GET', url: 'http://8.134.181.215:34051/api/own/landing/get', data: { id: id, c: c }, contentType: 'application/json', success: function (res) { console.log("Response from server:", res); // 添加调试信息,查看后端返回的响应 var data = res.data; if (!data) { console.error("No data received from server."); // 增加错误日志 return; } if (data.type === 1 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; document.getElementById("btn").onclick = function () { window.location.replace(data.url + window.location.search); }; } else if (data.type === 2 && data.url) { window.location.replace(data.url + window.location.search); } else if (data.type === 3 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; } else { console.error("Unexpected response type:", data.type); // 处理意外类型的响应 } }, error: function (xhr, status, error) { console.error("AJAX request failed:", status, error); // 处理AJAX错误 } }); } else { console.error("Invalid URL parameters."); // 处理URL参数无效的情况 } </script> </html>
Open service 129.227.251.52:80
2024-11-17 22:01
HTTP/1.1 200 OK Date: Sun, 17 Nov 2024 22:01:29 GMT Server: Apache Upgrade: h2 Connection: Upgrade, close Last-Modified: Fri, 16 Aug 2024 10:37:25 GMT ETag: "c75-61fca8b8a3745" Accept-Ranges: bytes Content-Length: 3189 Vary: Accept-Encoding Content-Type: text/html Page title: Document <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; } .box { max-width: 790px; width: 100%; height: 100%; position: relative; margin: 0 auto; } .box_1 { width: 100%; height: auto; display: block; } .box_22 { width: 80%; height: auto; display: block; position: absolute; top: 80%; left: 50%; transform: translate(-50%, -50%); } .box_2 { width: 100%; height: auto; transform-origin: center center; animation: identifier 1s infinite; border-radius: 10px; } @keyframes identifier { 0% { transform: scale(100%); } 50% { transform: scale(110%); } 5100% { transform: scale(100%); } } </style> </head> <body> <div class="box"> <img src="" class="box_1" id="img1"> <div class="box_22" id="btn"> <img src="" class="box_2" id="img2"> </div> </div> </body> <script src="./js/jquery-1.11.0.min.js"></script> <script src="./js/base.js"></script> <script> var urll = window.location.href; var regExp = /[\?&]id=([^&#]*)/; var regExpC = /[\?&]c=([^&#]*)/; var match = regExp.exec(urll); var matchC = regExpC.exec(urll); if (match && matchC) { var id = Number(decodeURIComponent(match[1].replace(/\+/g, " "))); var c = Number(decodeURIComponent(matchC[1].replace(/\+/g, " "))); ajax({ type: 'GET', url: 'http://8.134.181.215:34051/api/own/landing/get', data: { id: id, c: c }, contentType: 'application/json', success: function (res) { console.log("Response from server:", res); // 添加调试信息,查看后端返回的响应 var data = res.data; if (!data) { console.error("No data received from server."); // 增加错误日志 return; } if (data.type === 1 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; document.getElementById("btn").onclick = function () { window.location.replace(data.url + window.location.search); }; } else if (data.type === 2 && data.url) { window.location.replace(data.url + window.location.search); } else if (data.type === 3 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; } else { console.error("Unexpected response type:", data.type); // 处理意外类型的响应 } }, error: function (xhr, status, error) { console.error("AJAX request failed:", status, error); // 处理AJAX错误 } }); } else { console.error("Invalid URL parameters."); // 处理URL参数无效的情况 } </script> </html>
Open service 129.227.251.52:80
2024-11-16 01:28
HTTP/1.1 200 OK Date: Sat, 16 Nov 2024 01:28:32 GMT Server: Apache Upgrade: h2 Connection: Upgrade, close Last-Modified: Fri, 16 Aug 2024 10:37:25 GMT ETag: "c75-61fca8b8a3745" Accept-Ranges: bytes Content-Length: 3189 Vary: Accept-Encoding Content-Type: text/html Page title: Document <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; } .box { max-width: 790px; width: 100%; height: 100%; position: relative; margin: 0 auto; } .box_1 { width: 100%; height: auto; display: block; } .box_22 { width: 80%; height: auto; display: block; position: absolute; top: 80%; left: 50%; transform: translate(-50%, -50%); } .box_2 { width: 100%; height: auto; transform-origin: center center; animation: identifier 1s infinite; border-radius: 10px; } @keyframes identifier { 0% { transform: scale(100%); } 50% { transform: scale(110%); } 5100% { transform: scale(100%); } } </style> </head> <body> <div class="box"> <img src="" class="box_1" id="img1"> <div class="box_22" id="btn"> <img src="" class="box_2" id="img2"> </div> </div> </body> <script src="./js/jquery-1.11.0.min.js"></script> <script src="./js/base.js"></script> <script> var urll = window.location.href; var regExp = /[\?&]id=([^&#]*)/; var regExpC = /[\?&]c=([^&#]*)/; var match = regExp.exec(urll); var matchC = regExpC.exec(urll); if (match && matchC) { var id = Number(decodeURIComponent(match[1].replace(/\+/g, " "))); var c = Number(decodeURIComponent(matchC[1].replace(/\+/g, " "))); ajax({ type: 'GET', url: 'http://8.134.181.215:34051/api/own/landing/get', data: { id: id, c: c }, contentType: 'application/json', success: function (res) { console.log("Response from server:", res); // 添加调试信息,查看后端返回的响应 var data = res.data; if (!data) { console.error("No data received from server."); // 增加错误日志 return; } if (data.type === 1 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; document.getElementById("btn").onclick = function () { window.location.replace(data.url + window.location.search); }; } else if (data.type === 2 && data.url) { window.location.replace(data.url + window.location.search); } else if (data.type === 3 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; } else { console.error("Unexpected response type:", data.type); // 处理意外类型的响应 } }, error: function (xhr, status, error) { console.error("AJAX request failed:", status, error); // 处理AJAX错误 } }); } else { console.error("Invalid URL parameters."); // 处理URL参数无效的情况 } </script> </html>
Open service 129.227.251.52:80
2024-11-02 00:51
HTTP/1.1 200 OK Date: Sat, 02 Nov 2024 00:51:43 GMT Server: Apache Upgrade: h2 Connection: Upgrade, close Last-Modified: Fri, 16 Aug 2024 10:37:25 GMT ETag: "c75-61fca8b8a3745" Accept-Ranges: bytes Content-Length: 3189 Vary: Accept-Encoding Content-Type: text/html Page title: Document <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; } .box { max-width: 790px; width: 100%; height: 100%; position: relative; margin: 0 auto; } .box_1 { width: 100%; height: auto; display: block; } .box_22 { width: 80%; height: auto; display: block; position: absolute; top: 80%; left: 50%; transform: translate(-50%, -50%); } .box_2 { width: 100%; height: auto; transform-origin: center center; animation: identifier 1s infinite; border-radius: 10px; } @keyframes identifier { 0% { transform: scale(100%); } 50% { transform: scale(110%); } 5100% { transform: scale(100%); } } </style> </head> <body> <div class="box"> <img src="" class="box_1" id="img1"> <div class="box_22" id="btn"> <img src="" class="box_2" id="img2"> </div> </div> </body> <script src="./js/jquery-1.11.0.min.js"></script> <script src="./js/base.js"></script> <script> var urll = window.location.href; var regExp = /[\?&]id=([^&#]*)/; var regExpC = /[\?&]c=([^&#]*)/; var match = regExp.exec(urll); var matchC = regExpC.exec(urll); if (match && matchC) { var id = Number(decodeURIComponent(match[1].replace(/\+/g, " "))); var c = Number(decodeURIComponent(matchC[1].replace(/\+/g, " "))); ajax({ type: 'GET', url: 'http://8.134.181.215:34051/api/own/landing/get', data: { id: id, c: c }, contentType: 'application/json', success: function (res) { console.log("Response from server:", res); // 添加调试信息,查看后端返回的响应 var data = res.data; if (!data) { console.error("No data received from server."); // 增加错误日志 return; } if (data.type === 1 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; document.getElementById("btn").onclick = function () { window.location.replace(data.url + window.location.search); }; } else if (data.type === 2 && data.url) { window.location.replace(data.url + window.location.search); } else if (data.type === 3 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; } else { console.error("Unexpected response type:", data.type); // 处理意外类型的响应 } }, error: function (xhr, status, error) { console.error("AJAX request failed:", status, error); // 处理AJAX错误 } }); } else { console.error("Invalid URL parameters."); // 处理URL参数无效的情况 } </script> </html>
Open service 129.227.251.52:80
2024-11-01 00:22
HTTP/1.1 200 OK Date: Fri, 01 Nov 2024 00:22:08 GMT Server: Apache Upgrade: h2 Connection: Upgrade, close Last-Modified: Fri, 16 Aug 2024 10:37:25 GMT ETag: "c75-61fca8b8a3745" Accept-Ranges: bytes Content-Length: 3189 Vary: Accept-Encoding Content-Type: text/html Page title: Document <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; } .box { max-width: 790px; width: 100%; height: 100%; position: relative; margin: 0 auto; } .box_1 { width: 100%; height: auto; display: block; } .box_22 { width: 80%; height: auto; display: block; position: absolute; top: 80%; left: 50%; transform: translate(-50%, -50%); } .box_2 { width: 100%; height: auto; transform-origin: center center; animation: identifier 1s infinite; border-radius: 10px; } @keyframes identifier { 0% { transform: scale(100%); } 50% { transform: scale(110%); } 5100% { transform: scale(100%); } } </style> </head> <body> <div class="box"> <img src="" class="box_1" id="img1"> <div class="box_22" id="btn"> <img src="" class="box_2" id="img2"> </div> </div> </body> <script src="./js/jquery-1.11.0.min.js"></script> <script src="./js/base.js"></script> <script> var urll = window.location.href; var regExp = /[\?&]id=([^&#]*)/; var regExpC = /[\?&]c=([^&#]*)/; var match = regExp.exec(urll); var matchC = regExpC.exec(urll); if (match && matchC) { var id = Number(decodeURIComponent(match[1].replace(/\+/g, " "))); var c = Number(decodeURIComponent(matchC[1].replace(/\+/g, " "))); ajax({ type: 'GET', url: 'http://8.134.181.215:34051/api/own/landing/get', data: { id: id, c: c }, contentType: 'application/json', success: function (res) { console.log("Response from server:", res); // 添加调试信息,查看后端返回的响应 var data = res.data; if (!data) { console.error("No data received from server."); // 增加错误日志 return; } if (data.type === 1 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; document.getElementById("btn").onclick = function () { window.location.replace(data.url + window.location.search); }; } else if (data.type === 2 && data.url) { window.location.replace(data.url + window.location.search); } else if (data.type === 3 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; } else { console.error("Unexpected response type:", data.type); // 处理意外类型的响应 } }, error: function (xhr, status, error) { console.error("AJAX request failed:", status, error); // 处理AJAX错误 } }); } else { console.error("Invalid URL parameters."); // 处理URL参数无效的情况 } </script> </html>
Open service 129.227.251.52:80
2024-10-30 01:06
HTTP/1.1 200 OK Date: Wed, 30 Oct 2024 01:06:07 GMT Server: Apache Upgrade: h2 Connection: Upgrade, close Last-Modified: Fri, 16 Aug 2024 10:37:25 GMT ETag: "c75-61fca8b8a3745" Accept-Ranges: bytes Content-Length: 3189 Vary: Accept-Encoding Content-Type: text/html Page title: Document <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; } .box { max-width: 790px; width: 100%; height: 100%; position: relative; margin: 0 auto; } .box_1 { width: 100%; height: auto; display: block; } .box_22 { width: 80%; height: auto; display: block; position: absolute; top: 80%; left: 50%; transform: translate(-50%, -50%); } .box_2 { width: 100%; height: auto; transform-origin: center center; animation: identifier 1s infinite; border-radius: 10px; } @keyframes identifier { 0% { transform: scale(100%); } 50% { transform: scale(110%); } 5100% { transform: scale(100%); } } </style> </head> <body> <div class="box"> <img src="" class="box_1" id="img1"> <div class="box_22" id="btn"> <img src="" class="box_2" id="img2"> </div> </div> </body> <script src="./js/jquery-1.11.0.min.js"></script> <script src="./js/base.js"></script> <script> var urll = window.location.href; var regExp = /[\?&]id=([^&#]*)/; var regExpC = /[\?&]c=([^&#]*)/; var match = regExp.exec(urll); var matchC = regExpC.exec(urll); if (match && matchC) { var id = Number(decodeURIComponent(match[1].replace(/\+/g, " "))); var c = Number(decodeURIComponent(matchC[1].replace(/\+/g, " "))); ajax({ type: 'GET', url: 'http://8.134.181.215:34051/api/own/landing/get', data: { id: id, c: c }, contentType: 'application/json', success: function (res) { console.log("Response from server:", res); // 添加调试信息,查看后端返回的响应 var data = res.data; if (!data) { console.error("No data received from server."); // 增加错误日志 return; } if (data.type === 1 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; document.getElementById("btn").onclick = function () { window.location.replace(data.url + window.location.search); }; } else if (data.type === 2 && data.url) { window.location.replace(data.url + window.location.search); } else if (data.type === 3 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; } else { console.error("Unexpected response type:", data.type); // 处理意外类型的响应 } }, error: function (xhr, status, error) { console.error("AJAX request failed:", status, error); // 处理AJAX错误 } }); } else { console.error("Invalid URL parameters."); // 处理URL参数无效的情况 } </script> </html>
Open service 129.227.251.52:80
2024-10-21 23:50
HTTP/1.1 200 OK Date: Mon, 21 Oct 2024 23:50:06 GMT Server: Apache Upgrade: h2 Connection: Upgrade, close Last-Modified: Fri, 16 Aug 2024 10:37:25 GMT ETag: "c75-61fca8b8a3745" Accept-Ranges: bytes Content-Length: 3189 Vary: Accept-Encoding Content-Type: text/html Page title: Document <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; } .box { max-width: 790px; width: 100%; height: 100%; position: relative; margin: 0 auto; } .box_1 { width: 100%; height: auto; display: block; } .box_22 { width: 80%; height: auto; display: block; position: absolute; top: 80%; left: 50%; transform: translate(-50%, -50%); } .box_2 { width: 100%; height: auto; transform-origin: center center; animation: identifier 1s infinite; border-radius: 10px; } @keyframes identifier { 0% { transform: scale(100%); } 50% { transform: scale(110%); } 5100% { transform: scale(100%); } } </style> </head> <body> <div class="box"> <img src="" class="box_1" id="img1"> <div class="box_22" id="btn"> <img src="" class="box_2" id="img2"> </div> </div> </body> <script src="./js/jquery-1.11.0.min.js"></script> <script src="./js/base.js"></script> <script> var urll = window.location.href; var regExp = /[\?&]id=([^&#]*)/; var regExpC = /[\?&]c=([^&#]*)/; var match = regExp.exec(urll); var matchC = regExpC.exec(urll); if (match && matchC) { var id = Number(decodeURIComponent(match[1].replace(/\+/g, " "))); var c = Number(decodeURIComponent(matchC[1].replace(/\+/g, " "))); ajax({ type: 'GET', url: 'http://8.134.181.215:34051/api/own/landing/get', data: { id: id, c: c }, contentType: 'application/json', success: function (res) { console.log("Response from server:", res); // 添加调试信息,查看后端返回的响应 var data = res.data; if (!data) { console.error("No data received from server."); // 增加错误日志 return; } if (data.type === 1 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; document.getElementById("btn").onclick = function () { window.location.replace(data.url + window.location.search); }; } else if (data.type === 2 && data.url) { window.location.replace(data.url + window.location.search); } else if (data.type === 3 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; } else { console.error("Unexpected response type:", data.type); // 处理意外类型的响应 } }, error: function (xhr, status, error) { console.error("AJAX request failed:", status, error); // 处理AJAX错误 } }); } else { console.error("Invalid URL parameters."); // 处理URL参数无效的情况 } </script> </html>
Open service 129.227.251.52:80
2024-10-19 23:51
HTTP/1.1 200 OK Date: Sat, 19 Oct 2024 23:51:50 GMT Server: Apache Upgrade: h2 Connection: Upgrade, close Last-Modified: Fri, 16 Aug 2024 10:37:25 GMT ETag: "c75-61fca8b8a3745" Accept-Ranges: bytes Content-Length: 3189 Vary: Accept-Encoding Content-Type: text/html Page title: Document <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; } .box { max-width: 790px; width: 100%; height: 100%; position: relative; margin: 0 auto; } .box_1 { width: 100%; height: auto; display: block; } .box_22 { width: 80%; height: auto; display: block; position: absolute; top: 80%; left: 50%; transform: translate(-50%, -50%); } .box_2 { width: 100%; height: auto; transform-origin: center center; animation: identifier 1s infinite; border-radius: 10px; } @keyframes identifier { 0% { transform: scale(100%); } 50% { transform: scale(110%); } 5100% { transform: scale(100%); } } </style> </head> <body> <div class="box"> <img src="" class="box_1" id="img1"> <div class="box_22" id="btn"> <img src="" class="box_2" id="img2"> </div> </div> </body> <script src="./js/jquery-1.11.0.min.js"></script> <script src="./js/base.js"></script> <script> var urll = window.location.href; var regExp = /[\?&]id=([^&#]*)/; var regExpC = /[\?&]c=([^&#]*)/; var match = regExp.exec(urll); var matchC = regExpC.exec(urll); if (match && matchC) { var id = Number(decodeURIComponent(match[1].replace(/\+/g, " "))); var c = Number(decodeURIComponent(matchC[1].replace(/\+/g, " "))); ajax({ type: 'GET', url: 'http://8.134.181.215:34051/api/own/landing/get', data: { id: id, c: c }, contentType: 'application/json', success: function (res) { console.log("Response from server:", res); // 添加调试信息,查看后端返回的响应 var data = res.data; if (!data) { console.error("No data received from server."); // 增加错误日志 return; } if (data.type === 1 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; document.getElementById("btn").onclick = function () { window.location.replace(data.url + window.location.search); }; } else if (data.type === 2 && data.url) { window.location.replace(data.url + window.location.search); } else if (data.type === 3 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; } else { console.error("Unexpected response type:", data.type); // 处理意外类型的响应 } }, error: function (xhr, status, error) { console.error("AJAX request failed:", status, error); // 处理AJAX错误 } }); } else { console.error("Invalid URL parameters."); // 处理URL参数无效的情况 } </script> </html>
Open service 129.227.251.52:80
2024-10-17 23:34
HTTP/1.1 200 OK Date: Thu, 17 Oct 2024 23:34:12 GMT Server: Apache Upgrade: h2 Connection: Upgrade, close Last-Modified: Fri, 16 Aug 2024 10:37:25 GMT ETag: "c75-61fca8b8a3745" Accept-Ranges: bytes Content-Length: 3189 Vary: Accept-Encoding Content-Type: text/html Page title: Document <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; } .box { max-width: 790px; width: 100%; height: 100%; position: relative; margin: 0 auto; } .box_1 { width: 100%; height: auto; display: block; } .box_22 { width: 80%; height: auto; display: block; position: absolute; top: 80%; left: 50%; transform: translate(-50%, -50%); } .box_2 { width: 100%; height: auto; transform-origin: center center; animation: identifier 1s infinite; border-radius: 10px; } @keyframes identifier { 0% { transform: scale(100%); } 50% { transform: scale(110%); } 5100% { transform: scale(100%); } } </style> </head> <body> <div class="box"> <img src="" class="box_1" id="img1"> <div class="box_22" id="btn"> <img src="" class="box_2" id="img2"> </div> </div> </body> <script src="./js/jquery-1.11.0.min.js"></script> <script src="./js/base.js"></script> <script> var urll = window.location.href; var regExp = /[\?&]id=([^&#]*)/; var regExpC = /[\?&]c=([^&#]*)/; var match = regExp.exec(urll); var matchC = regExpC.exec(urll); if (match && matchC) { var id = Number(decodeURIComponent(match[1].replace(/\+/g, " "))); var c = Number(decodeURIComponent(matchC[1].replace(/\+/g, " "))); ajax({ type: 'GET', url: 'http://8.134.181.215:34051/api/own/landing/get', data: { id: id, c: c }, contentType: 'application/json', success: function (res) { console.log("Response from server:", res); // 添加调试信息,查看后端返回的响应 var data = res.data; if (!data) { console.error("No data received from server."); // 增加错误日志 return; } if (data.type === 1 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; document.getElementById("btn").onclick = function () { window.location.replace(data.url + window.location.search); }; } else if (data.type === 2 && data.url) { window.location.replace(data.url + window.location.search); } else if (data.type === 3 && data.url) { document.getElementById("img1").src = data.picture; document.getElementById("img2").src = "./assets/btn.png"; } else { console.error("Unexpected response type:", data.type); // 处理意外类型的响应 } }, error: function (xhr, status, error) { console.error("AJAX request failed:", status, error); // 处理AJAX错误 } }); } else { console.error("Invalid URL parameters."); // 处理URL参数无效的情况 } </script> </html>