<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}森地客定制 | 骑享自由{% endblock %}</title>
<link href="{{ asset('css/basic.css') }}" rel="stylesheet"/>
<link href="{{ asset('css/layout.css') }}" rel="stylesheet"/>
{# <link href="https://static.wildto.com/santic/oversear/css/basic_20201120.css" rel="stylesheet"/>#}
{# <link href="https://static.wildto.com/santic/oversear/css/layout1120.css" rel="stylesheet"/>#}
<link href="{{ asset('fonts/iconfont.css') }}" rel="stylesheet"/>
<link href="{{ asset('css/swiper.css') }}" rel="stylesheet"/>
<script src="{{ asset('js/jquery-2.0.3.min.js') }}"></script>
<script>
(function (win, doc) {
win.addEventListener('resize', change, false);
function change() {
var clientWidth = doc.documentElement.clientWidth;
doc.documentElement.style.fontSize = doc.documentElement.clientWidth * 16 / 1920 + 'px';
}
change();
})(window, document);
</script>
{% block stylesheets %}{% endblock %}
</head>
<body>
<div class="header">
<div class="headerBg"></div>
{# <div class="headerText">santic.com</div>#}
<div class="headerContent clearfix">
<a href="/">
<img src="https://static.wildto.com/custrom/common/santic-logo-l.png" alt="logo">
</a>
</div>
<div class="tabs">
<div class="tabsContent clearfix" onmouseleave="mouseTabOver()">
<ul class="leftTab clearfix fl">
{% set i = 0 %}
{% for category,attr in nav %}
<li class="fl tabLi" onmouseenter="mouseTabEnter({{ i }})">
<a href="javascript:;">{{ attr.name }}</a>
</li>
{% set i = i+1 %}
{% endfor %}
</ul>
<div class="chlList transition_dom" id="transition_dom">
{% for category,subCategorys in nav %}
<div class="tabA">
{% for sub,name in subCategorys.sub %}
<div>
<a target=“_blank” href="{{ path('list', { 'category':category, 'sub':sub }) }}">
{{ name }}
</a>
</div>
{% endfor %}
</div>
{% endfor %}
</div>
</div>
</div>
<div id="bannerMask"></div>
<div class="login_content org_login">
<div class="icon_content clearfix">
<span class="fl iconfont icon-sousuo" id="searchIconHeader" style="margin-top:-2px;"></span>
<span class="fl" id="searchIconClose" style="margin-top:-2px;">
<svg width="16px" height="16px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<title>Group 2</title>
<g fill-rule="evenodd">
<path d="M14.50609703.3639614l1.41421356 1.41421357L1.77817497 15.92031059.3639614 14.50609703z"></path>
<path d="M.3639614 1.77817497L1.77817498.3639614 15.9203106 14.50609702l-1.41421356 1.41421356z"></path>
</g>
</svg>
</span>
<span class="iconfont icon-yonghu1 fl mouse-click curP" style="margin-top:-2px;" id="showUser"></span>
{# <span class="iconfont icon-gouwuche curP fl" id="cartBtn" style="margin-top:-2px;"></span>#}
</div>
<div class="view_content" id="userLoginView">
<div class="tabS1"></div>
<div class="tabS2"></div>
{% if is_granted('ROLE_USER') %}
<ul class="login_play">
<li>{{ app.user.oEmail }}</li>
<li><a href="{{ path('app_logout') }}">Sign out</a></li>
</ul>
{% else %}
<ul v-if="showLogin" class="login_play">
<li><a href="{{ path('app_login') }}">Sign in</a></li>
<li><a href="{{ path('register') }}">Register</a></li>
</ul>
{% endif %}
</div>
</div>
</div>
{{ include('common/_searchCommon.html.twig') }}
{% block body %}{% endblock %}
{% block javascripts %}{% endblock %}
<div class="footer">
<div class="getEmail">
<div class="title">订阅森地客产品期刊</div>
<div class="emailCenter">
<div class="email">
<p>邮箱地址</p>
<input type="text" name="email" placeholder="请输入您的邮箱" id="ftEmailInput">
</div>
<div class="type">
<p>选择订阅内容</p>
{# <input type="text" placeholder="Menswear">#}
<select class="selectView" id="newsletter-preference" name="newsletter-preference">
<option value="Menswear" selected="">
男士</option>
<option value="Womenswear">
女士</option>
</select>
</div>
</div>
<div class="sub" id="footerEBtn">订阅</div>
</div>
<div class="subSuccess">
感谢订阅!
</div>
</div>
<div class="cartMask" id="cartMask"></div>
{{ include('common/_shoppingCart.html.twig') }}
</body>
<script src="{{ asset('js/common.js') }}"></script>
<script>
$('#footerEBtn').on('click',function(){
if($(this).hasClass('activeEFooter')){
var email = $('input[name="email"]').val();
var type = $('#newsletter-preference').val();
var url = '{{ path('subscribe') }}?email='+email+'&type='+type;
$.get(url, function(result){
$('.getEmail').hide();
$('.subSuccess').show();
});
}
})
</script>
{% block endjavascripts %}
{% endblock %}
{# <script src="https://static.wildto.com/santic/oversear/js/common1120.js"></script>#}
</html>