Files
orico-official-website/app/index/view/mobile/public/footer.html
2025-07-16 14:07:43 +08:00

113 lines
4.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<footer class="oircoEgapp-foot">
<div class="footer">
<div class="logo-white"><img src="__IMAGES__/logo-white.png"></div>
<div class="foot-cate">
<ul class="clearfix">
{notempty name="header_categorys"}
<li>
<h3>{:lang_i18n('产品')}</h3>
{volist name="header_categorys" id="hc"}
<p><a href="{:url('product/category', ['id' => $hc.id])}">{$hc.name}</a></p>
{/volist}
</li>
{/notempty}
{notempty name="footer_navigation"}
{volist name="footer_navigation" id="fn"}
<li>
<h3>{$fn.name}</h3>
{notempty name="fn.children"}
{volist name="fn.children" id="fnc"}
<p>
<a href="{$fnc.link}" {eq name="fnc.link" value="1"}target="_blank"{/eq} class="inline-block link-faded break-all">
{$fnc.name}
</a>
</p>
{/volist}
{/notempty}
</li>
{/volist}
{/notempty}
<li>
<h3>{:lang_i18n('联系方式')}</h3>
{notempty name="contact_config.website_email"}
<p>{$contact_config.website_email.title} {$contact_config.website_email.value}</p>
{/notempty}
{notempty name="contact_config.website_hotline_office_hours"}
<p>{$contact_config.website_hotline_office_hours.title} {$contact_config.website_hotline_office_hours.value}</p>
{/notempty}
</li>
</ul>
</div>
<div class="foot-wei">
<div class="m_footer text_white m-in-top clearfix">
{notempty name="media_config"}
<div class="left">
{volist name="media_config" id="mc"}
<a href="{$mc.url.value}" target="_blank"><img src="{$mc.image.value}"></a>
{/volist}
</div>
{/notempty}
{notempty name="header_languages"}
{volist name="header_languages" id="hl"}
{if condition="$hl.lang_code == cookie('think_lang')"}
<div class="right mask-up img-responsive foot-con top-country-toggle">
<img class="right-country" src="{$hl.lang_icon}">
<span>{$hl.lang_en_name}</span>
<img src="__IMAGES__/downicon.png">
</div>
{/if}
{/volist}
{/notempty}
</div>
</div>
{notempty name="basic_config.website_powerby.value"}
<div class="copy-text">
{$basic_config.website_powerby.value}
{notempty name="$basic_config.website_icp"}
<a href="https://beian.miit.gov.cn/" style="color:white;">{$basic_config.website_icp.value|raw}</a>
{/notempty}
</div>
{/notempty}
</div>
</footer>
<script type="text/javascript">
$(function() {
// 点击顶部菜单
$(".top-menu-toggle").click(function() {
$(".top-menu").slideToggle(800);
})
// 点击一级菜单显示二级菜单
$(".it-1-more").on("click", function() {
$('.it-1-2').hide();
$('.icon-arrow').removeClass('rotate');
$(this).siblings('.it-1-2').slideToggle(800);
$(this).find('.icon-arrow').addClass('rotate');
});
//点击搜索
$('.top-search-toggle').click(function() {
$(".marsk-container").show();
})
$('.ac-close').click(function() {
$(".marsk-container").hide();
})
// 顶部国家选择
$('.top-country-toggle').click(function(){
$(".mask,.action-sheet").show();
})
$('.top-country .close-icon').click(function(){
$(".mask,.action-sheet").hide();
})
// 移动端顶部宽度设置和主体内容宽度一致
var pageWidth = $('.oricoEGapp').outerWidth();
// 设置.header-PC元素的宽度
$('.oircoEgapp-head').css('width', pageWidth + 'px');
// 可选:监听窗口大小变化,实时更新宽度
$(window).resize(function() {
var newWidth = $('.oricoEGapp').outerWidth();
$('.oircoEgapp-head').css('width', newWidth + 'px');
});
})
</script>