Compare commits
6 Commits
8fa1399902
...
99a69bad5f
| Author | SHA1 | Date | |
|---|---|---|---|
| 99a69bad5f | |||
| 38783d80a0 | |||
| b37ed217cd | |||
| dd687120cc | |||
| 004a007148 | |||
| 5018a59045 |
@@ -11,7 +11,6 @@
|
|||||||
<link rel="stylesheet" type="text/css" href="__CSS__/public.css" />
|
<link rel="stylesheet" type="text/css" href="__CSS__/public.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="__CSS__/font.css" />
|
<link rel="stylesheet" type="text/css" href="__CSS__/font.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="__CSS__/style.css" />
|
<link rel="stylesheet" type="text/css" href="__CSS__/style.css" />
|
||||||
<!-- <link rel="stylesheet" type="text/css" href="__CSS__/fonts.css" /> -->
|
|
||||||
<link rel="stylesheet" type="text/css" href="__CSS__/header.css" />
|
<link rel="stylesheet" type="text/css" href="__CSS__/header.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="__CSS__/footer.css" />
|
<link rel="stylesheet" type="text/css" href="__CSS__/footer.css" />
|
||||||
{block name="style"}{/block}
|
{block name="style"}{/block}
|
||||||
|
|||||||
@@ -12,6 +12,27 @@
|
|||||||
<span class="icon-category cursor_p top-menu-toggle"><i class="icon-menu-svg"></i></span>
|
<span class="icon-category cursor_p top-menu-toggle"><i class="icon-menu-svg"></i></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 顶部国家选择-->
|
||||||
|
<div class="top-country">
|
||||||
|
<div class="mask"></div>
|
||||||
|
<div class="action-sheet">
|
||||||
|
<div class="menu-title">
|
||||||
|
<div class="menu-name">{:lang_i18n('请择地区')}</div>
|
||||||
|
<div class="close-icon">
|
||||||
|
<img src="__IMAGES__/close.png">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
{volist name="header_languages" id="la"}
|
||||||
|
<li>
|
||||||
|
<a href="{$la.lang_url}" target="_blank">
|
||||||
|
<img src="{$la.lang_icon}">{$la.country_en_name} - {$la.lang_en_name}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{/volist}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 顶部菜单-->
|
<!-- 顶部菜单-->
|
||||||
<div class="top-menu">
|
<div class="top-menu">
|
||||||
@@ -46,7 +67,13 @@
|
|||||||
$(this).siblings('.it-1-2').slideToggle(800);
|
$(this).siblings('.it-1-2').slideToggle(800);
|
||||||
$(this).find('.icon-arrow').addClass('rotate');
|
$(this).find('.icon-arrow').addClass('rotate');
|
||||||
});
|
});
|
||||||
|
// 顶部国家选择
|
||||||
|
$('.top-country-toggle').click(function(){
|
||||||
|
$(".mask,.action-sheet").show();
|
||||||
|
})
|
||||||
|
$('.top-country .close-icon').click(function(){
|
||||||
|
$(".mask,.action-sheet").hide();
|
||||||
|
})
|
||||||
// 移动端顶部宽度设置和主体内容宽度一致
|
// 移动端顶部宽度设置和主体内容宽度一致
|
||||||
var pageWidth = $('.oricoEGapp').outerWidth();
|
var pageWidth = $('.oricoEGapp').outerWidth();
|
||||||
// 设置.header-PC元素的宽度
|
// 设置.header-PC元素的宽度
|
||||||
|
|||||||
@@ -79,6 +79,27 @@
|
|||||||
{/notempty}
|
{/notempty}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 顶部国家选择-->
|
||||||
|
<div class="top-country">
|
||||||
|
<div class="mask"></div>
|
||||||
|
<div class="action-sheet">
|
||||||
|
<div class="menu-title">
|
||||||
|
<div class="menu-name">{:lang_i18n('请择地区')}</div>
|
||||||
|
<div class="close-icon">
|
||||||
|
<img src="__IMAGES__/close.png">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
{volist name="header_languages" id="la"}
|
||||||
|
<li>
|
||||||
|
<a href="{$la.lang_url}" target="_blank">
|
||||||
|
<img src="{$la.lang_icon}">{$la.country_en_name} - {$la.lang_en_name}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{/volist}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
@@ -112,6 +133,13 @@
|
|||||||
$('.closetx').click(function () {
|
$('.closetx').click(function () {
|
||||||
$('.nhlpapp-search').hide();
|
$('.nhlpapp-search').hide();
|
||||||
});
|
});
|
||||||
|
// 顶部国家选择
|
||||||
|
$('.top-country-toggle').click(function(){
|
||||||
|
$(".mask,.action-sheet").show();
|
||||||
|
})
|
||||||
|
$('.top-country .close-icon').click(function(){
|
||||||
|
$(".mask,.action-sheet").hide();
|
||||||
|
})
|
||||||
// 搜索
|
// 搜索
|
||||||
var timeout = null;
|
var timeout = null;
|
||||||
$('#search-input').on('focus input', function () {
|
$('#search-input').on('focus input', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user