From 9057e04efad1b7d61c77a72e5c37a504d0aee935 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 26 九月 2025 09:24:03 +0800
Subject: [PATCH] H5静态化
---
server/src/main/resources/templates/components/footer.html | 102 ++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 92 insertions(+), 10 deletions(-)
diff --git a/server/src/main/resources/templates/components/footer.html b/server/src/main/resources/templates/components/footer.html
index c195ae6..0ecbeb7 100644
--- a/server/src/main/resources/templates/components/footer.html
+++ b/server/src/main/resources/templates/components/footer.html
@@ -1,5 +1,5 @@
<style>
- .footer {
+ .footer {
width: 100%;
display: flex;
flex-direction: column;
@@ -80,6 +80,8 @@
}
.footer-c {
width: 100%;
+ padding-bottom: 10px;
+ box-sizing: border-box;
display: flex;
flex-direction: column;
background: #2E333A;
@@ -161,17 +163,61 @@
}
.footer-c-info {
width: 100%;
- height: 79px;
- line-height: 79px;
+ height: 30px;
+ line-height: 30px;
text-align: center;
font-weight: 400;
- font-size: 14px;
+ font-size: 12px;
color: #7B7F87;
}
.footer-c-info a {
font-weight: 400;
- font-size: 14px;
+ font-size: 12px;
color: #7B7F87;
+ }
+ .footer-c-url {
+ width: 100%;
+ height: 30px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-weight: 400;
+ font-size: 12px;
+ color: #7B7F87;
+ margin-top: 15px;
+ }
+ .footer-c-url a {
+ font-weight: 400;
+ font-size: 12px;
+ color: #7B7F87;
+ }
+ .zixunwin{
+ display:none;
+ z-index:9999;
+ position:fixed;
+ width:100%;
+ height:100%;
+ top:0px;
+ background:#0000005e;
+ .imgdiv{
+ padding-top:40px;
+ font-size:18px;
+ display:flex;
+ width:360px;
+ height:300px;
+ flex-direction: column;
+ position:fixed;
+ top:calc(50% - 120px);
+ left:calc(50% - 180px);
+ background:white;
+ border:solid 5px #FF7900;
+ text-align: center;
+ }
+ .zixunimg{
+ margin-left:80px;
+ width:200px;
+ height:200px;
+ }
}
</style>
<div class="footer">
@@ -216,7 +262,7 @@
<#if bottom.wisdomSystem ??>
<#list bottom.wisdomSystem as item>
<div class="footer-c-n-item-row">
- <#if item.address ?? && item.address!=''> <a href="${item.address!'javascript:void(0)'}"></#if>
+ <#if item.address ?? && item.address!=''> <a href="${item.address!'javascript:void(0)'}" target="_blank"></#if>
${item.name!''}
<#if item.address ?? && item.address!=''> </a></#if>
</div>
@@ -228,9 +274,9 @@
<#if bottom.solveScheme ??>
<#list bottom.solveScheme as item>
<div class="footer-c-n-item-row">
- <#if item.address ?? && item.address!=''> <a href="${item.address!'javascript:void(0)'}"></#if>
+ <#if item.address ?? && item.address!=''> <a href="${item.address!'javascript:void(0)'}" target="_blank"></#if>
${item.name!''}
- <#if item.address ?? && item.address!=''> </a></#if>
+ <#if item.address ?? && item.address!=''></a></#if>
</div>
</#list>
</#if>
@@ -240,7 +286,7 @@
<#if bottom.honors ??>
<#list bottom.honors as item>
<div class="footer-c-n-item-row">
- <#if item.address ?? && item.address!=''> <a href="${item.address!'javascript:void(0)'}"></#if>
+ <#if item.address ?? && item.address!=''> <a href="${item.address!'javascript:void(0)'}" target="_blank"></#if>
${item.name!''}
<#if item.address ?? && item.address!=''> </a></#if>
</div>
@@ -268,17 +314,47 @@
</div>
</div>
</div>
+ <div class="footer-c-url">
+ <#if bottom.yqlinks ??>
+ <#list bottom.yqlinks as item>
+ <#if item.address ?? && item.address!=''> <a href="${item.address!''}" target="_blank"></#if>
+ ${item.name!''}
+ <#if item.address ?? && item.address!=''></a></#if>
+ <#if item_index+1 lt bottom.yqlinks?size>
+ |
+ </#if>
+ </#list>
+ </#if>
+ </div>
<div class="footer-c-info" id="footerInfo">${bottom.footWords!''}</div>
+ <div class="footer-c-info">
+ 濡傛湁闂璇疯仈绯婚偖绠憋細${bottom.qyemail!''}
+ </div>
+ </div>
+ </div>
+ <div class="zixunwin" id="zixunWindow" onclick="closeZixun()">
+ <div class="imgdiv" >
+ <span style="font-weight: bold;">鎵爜鍜ㄨ 鍏嶈垂璇曠敤</span>
+ <img class="zixunimg" src="${bottom.footFullImgUrl2!''}" />
+ <span style="color: #999999;font-size: 16px;">绉佹湁閮ㄧ讲 婧愮爜浜屽紑</span>
</div>
</div>
<script>
+ function goZixun(){
+ console.log('鍜ㄨ璇︽儏')
+ $("#zixunWindow").show();
+ }
+ function closeZixun(){
+ console.log('鍜ㄨ璇︽儏')
+ $("#zixunWindow").hide();
+ }
$(document).ready(function() {
let url = 'http://121.41.112.139:8099'
var product = null
$.ajax({
async: false,
- url: 'http://www.dmtt.run:81/web/productList',
+ url: 'https://www.dmtt.run:8099/web/productList',
type: 'POST',
success: function (res) {
console.log(res)
@@ -345,4 +421,10 @@
});
})
});
+
+ var _hmt = _hmt || [];
+ var hm = document.createElement("script");
+ hm.src = "https://hm.baidu.com/hm.js?cf72f4c5b39afd48ee1313256beed449";
+ var s = document.getElementsByTagName("script")[0];
+ s.parentNode.insertBefore(hm, s);
</script>
\ No newline at end of file
--
Gitblit v1.9.3