This commit is contained in:
2025-07-01 11:28:00 +08:00
16 changed files with 106 additions and 41 deletions

View File

@@ -24,13 +24,13 @@
<div class="narskfit" {notempty name="item.link"}onclick="location.href='{$item.link}'"{/notempty}>
<img src="{$item.image}" class="narskico-img" />
<span class="narskf-title">{$item.title}</span>
{notempty name="item.title_short"}
<span class="narskf-sm">{$item.title_short}</span>
{/notempty}
{notempty name="item.desc"}
{if condition="str_contains($item.desc, '<img')"}
<div class="narskfactive-ewm" style="display: none;">{$item.desc|raw}</div>
{/if}
<span class="narskf-sm">{$item.desc|raw}</span>
{/notempty}
{notempty name="item.extra_image"}
<div class="narskfactive-ewm" style="display: none;">
<img src="{$item.extra_image}" alt="" />
</div>
{/notempty}
</div>
{/volist}

View File

@@ -18,8 +18,28 @@
<link rel="stylesheet" href="https://unpkg.com/swiper@9/swiper-bundle.min.css">
<script type="text/javascript" src='https://code.jquery.com/jquery-3.6.0.min.js'></script>
<script type="text/javascript" src="https://unpkg.com/swiper@9.4.1/swiper-bundle.min.js"></script>
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.f2b211.com/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</head>
<body>
<noscript>
<!-- Matomo Image Tracker-->
<img referrerpolicy="no-referrer-when-downgrade" src="https://analytics.f2b211.com/matomo.php?idsite=1&amp;rec=1" style="border:0" alt="" />
<!-- End Matomo -->
</noscript>
{block name="header"}
{include file="public/header"/}
{/block}

View File

@@ -49,8 +49,9 @@
{notempty name="contacts"}
<h1 class="nhlpapp-title">{:lang_i18n('联系我们')}</h1>
<div class="nhlpapp-row">
{assign name="first_section" value=":array_splice($contacts, 0, count($contacts) - 3)"}
<div class="sec-1">
{volist name="contacts" id="co" key="idx" offset="0" length="4"}
{volist name="first_section" id="co"}
<a class="nhlplxwmit" {notempty name="co.link"}href="{$co.link}"{/notempty}>
<img src="{$co.image}" class="lximg">
<span class="t1" {:style(['color'=>$co.title_txt_color])}>{$co.title}</span>
@@ -61,7 +62,7 @@
{/volist}
</div>
<div class="sec-2">
{volist name="contacts" id="co" key="idx" offset="4"}
{volist name="contacts" id="co"}
<a class="nhlplxwmit nhlplxwmit-w1" {notempty name="co.link"}href="{$co.link}"{/notempty}>
<img src="{$co.image}" class="lximg">
<span class="t1" {:style(['color'=>$co.title_txt_color])}>{$co.title}<br></span>