This commit is contained in:
@@ -462,105 +462,12 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <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>
|
||||
{if condition="!empty($contact_config)"}
|
||||
{volist name="contact_config" id="vo"}
|
||||
{if condition="$vo.type != 'image'"}
|
||||
<p>{$vo.value}</p>
|
||||
{/if}
|
||||
{/volist}
|
||||
{/if}
|
||||
</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> -->
|
||||
|
||||
|
||||
|
||||
{/block}
|
||||
{block name="script"}
|
||||
<script type="text/javascript">
|
||||
// (function (doc, win) {
|
||||
// var docEl = doc.documentElement,
|
||||
// resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
|
||||
// recalc = function () {
|
||||
// var clientWidth = docEl.clientWidth;
|
||||
// if (!clientWidth) return;
|
||||
|
||||
// // 设计稿750px → 基准font-size=100px,375px设备自动变为50px
|
||||
// clientWidth = Math.min(clientWidth, 750); // 大屏不超过设计稿宽度
|
||||
// clientWidth = Math.max(clientWidth, 320); // 小屏保底
|
||||
// docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
|
||||
|
||||
// // 将console.log放在recalc内部,每次计算后打印
|
||||
// console.log(docEl.style.fontSize, '=docEl.style.fontSize=');
|
||||
// };
|
||||
|
||||
// if (!doc.addEventListener) return;
|
||||
// win.addEventListener(resizeEvt, recalc, false);
|
||||
// doc.addEventListener('DOMContentLoaded', recalc, false);
|
||||
// })(document, window);
|
||||
|
||||
let swiper=null;
|
||||
const advantageItems = document.querySelectorAll('.advantage-card');
|
||||
let scrollTop = 0; // 保存页面滚动位置
|
||||
|
||||
Reference in New Issue
Block a user