diff --git a/static/ad-1.html b/static/ad-1.html new file mode 100644 index 0000000..f558226 --- /dev/null +++ b/static/ad-1.html @@ -0,0 +1,88 @@ + + + + + 广告页面 + + + + +

是兄弟就找我,无兄弟不传奇!

+ + 广告图片 + + + + + + + diff --git a/static/ad.html b/static/ad.html index f558226..a5086e5 100644 --- a/static/ad.html +++ b/static/ad.html @@ -1,88 +1,111 @@ - + - - 广告页面 - - /* 居中显示内容 */ - body { - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; - } - - /* 使图片适应手机屏幕 */ - img { - max-width: 100%; - height: auto; - } - - /* 页脚样式 */ - footer { - position: fixed; - bottom: 0; - width: 100%; - background-color: #f0f0f0; - text-align: center; - padding: 5px 0; - } - -

是兄弟就找我,无兄弟不传奇!

- - 广告图片 - +
+

海纳思系统官方广告位招租

+
- +

22000+装机数

+

日活6000+

+

日增约100台

+

要求:符合海纳思服务器的环境需求

+

捐助并投放,与作者共赢!请联系本站

+
+
- + + + +

- // 点击图片时触发的函数,用于向后端发送访问计数请求 - function trackVisit() { - var xhr = new XMLHttpRequest(); - xhr.open('GET', 'ad_visit.php', true); - xhr.onreadystatechange = function() { - if (xhr.readyState === XMLHttpRequest.DONE && xhr.status === 200) { - getVisitCount(); // 更新访问次数显示 - } - }; - xhr.send(); - - // 更新图片的点击链接,可以将其指向实际的广告目标链接 - document.getElementById('adImage').parentNode.href = "https://www.521f.com"; - } - // 页面加载完成后获取并显示访问次数 - window.onload = function() { - getVisitCount(); - }; - diff --git a/static/ad.jpg b/static/ad.jpg index 6a86a3d..0696ad1 100644 Binary files a/static/ad.jpg and b/static/ad.jpg differ diff --git a/static/hongbao.jpg b/static/hongbao.jpg index 6a86a3d..0696ad1 100644 Binary files a/static/hongbao.jpg and b/static/hongbao.jpg differ