fix: pc/mobile banner的extra_image取值
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user