From bcadfb6de692c138774688efd7928a973d59860f Mon Sep 17 00:00:00 2001 From: doum <doum> Date: 星期二, 23 九月 2025 13:51:42 +0800 Subject: [PATCH] H5静态化 --- server/src/main/resources/templates/index.html | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/server/src/main/resources/templates/index.html b/server/src/main/resources/templates/index.html index 58796da..c23851c 100644 --- a/server/src/main/resources/templates/index.html +++ b/server/src/main/resources/templates/index.html @@ -500,13 +500,15 @@ <div class="h-content-left-item"> <span>杩愯惀缁忛獙</span> <a href="${webDomain}/dynamics.html?module=1" target="_blank"> - <img alt="${seo.imgalt!''}" src="${bottom.fileDir!''}${yunyingJy.imgurl!''}" /> + <div style="display:block;width: 100%; height: 134px; margin-top: 20px;background-image:url('${bottom.fileDir!''}${yunyingJy.imgurl!''}'); +background-size: 100% auto; background-position: center; background-repeat: no-repeat; "></div> </a> </div> <div class="h-content-left-item"> <span>鍔熻兘浠嬬粛</span> <a href="${webDomain}/dynamics.html?module=2" target="_blank"> - <img alt="${seo.imgalt!''}" src="${bottom.fileDir!''}${gongnengJs.imgurl!''}" /> + <div style="display:block; width: 100%; height: 134px; margin-top: 20px;background-image:url('${bottom.fileDir!''}${gongnengJs.imgurl!''}'); +background-size: 100% auto; background-position: center; background-repeat: no-repeat; "></div> </a> </div> </div> -- Gitblit v1.9.3