var/cache/dev/twig/14/14edc3e5803b6d46f8767e9b30f24592732e004c514217c90be2976f001bda20.php line 234

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* base.html.twig */
  14. class __TwigTemplate_6b358a3fbbecf742829d1dedaeae1c8b83c0c085fe86dd912bb8ee32ea541d6e extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'body' => [$this'block_body'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.             'endjavascripts' => [$this'block_endjavascripts'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  38.         // line 1
  39.         echo "<!DOCTYPE html>
  40. <html>
  41.     <head>
  42.         <meta charset=\"UTF-8\">
  43.         <title>";
  44.         // line 5
  45.         $this->displayBlock('title'$context$blocks);
  46.         echo "</title>
  47.         <link href=\"";
  48.         // line 6
  49.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/basic.css"), "html"nulltrue);
  50.         echo "\" rel=\"stylesheet\"/>
  51.         <link href=\"";
  52.         // line 7
  53.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/layout.css"), "html"nulltrue);
  54.         echo "\" rel=\"stylesheet\"/>
  55. ";
  56.         // line 10
  57.         echo "        <link href=\"";
  58.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("fonts/iconfont.css"), "html"nulltrue);
  59.         echo "\" rel=\"stylesheet\"/>
  60.         <link href=\"";
  61.         // line 11
  62.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/swiper.css"), "html"nulltrue);
  63.         echo "\" rel=\"stylesheet\"/>
  64.         <script src=\"";
  65.         // line 12
  66.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery-2.0.3.min.js"), "html"nulltrue);
  67.         echo "\"></script>
  68.         <script>
  69.             (function (win, doc) {
  70.                 win.addEventListener('resize', change, false);
  71.                 function change() {
  72.                     var clientWidth = doc.documentElement.clientWidth;
  73.                     doc.documentElement.style.fontSize = doc.documentElement.clientWidth * 16 / 1920 + 'px';
  74.                 }
  75.                 change();
  76.             })(window, document);
  77.         </script>
  78.         ";
  79.         // line 24
  80.         $this->displayBlock('stylesheets'$context$blocks);
  81.         // line 25
  82.         echo "    </head>
  83.     <body>
  84.     <div class=\"header\">
  85.         <div class=\"headerBg\"></div>
  86. ";
  87.         // line 30
  88.         echo "        <div class=\"headerContent clearfix\">
  89.             <a href=\"/\">
  90.                 <img src=\"https://static.wildto.com/custrom/common/santic-logo-l.png\" alt=\"logo\">
  91.             </a>
  92.         </div>
  93.         <div class=\"tabs\">
  94.             <div class=\"tabsContent clearfix\" onmouseleave=\"mouseTabOver()\">
  95.                 <ul class=\"leftTab clearfix fl\">
  96.                     ";
  97.         // line 38
  98.         $context["i"] = 0;
  99.         // line 39
  100.         echo "                    ";
  101.         $context['_parent'] = $context;
  102.         $context['_seq'] = twig_ensure_traversable((isset($context["nav"]) || array_key_exists("nav"$context) ? $context["nav"] : (function () { throw new RuntimeError('Variable "nav" does not exist.'39$this->source); })()));
  103.         foreach ($context['_seq'] as $context["category"] => $context["attr"]) {
  104.             // line 40
  105.             echo "                    <li  class=\"fl tabLi\" onmouseenter=\"mouseTabEnter(";
  106.             echo twig_escape_filter($this->env, (isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'40$this->source); })()), "html"nulltrue);
  107.             echo ")\">
  108.                         <a href=\"javascript:;\">";
  109.             // line 41
  110.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["attr"], "name", [], "any"falsefalsefalse41), "html"nulltrue);
  111.             echo "</a>
  112.                     </li>
  113.                     ";
  114.             // line 43
  115.             $context["i"] = ((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'43$this->source); })()) + 1);
  116.             // line 44
  117.             echo "                    ";
  118.         }
  119.         $_parent $context['_parent'];
  120.         unset($context['_seq'], $context['_iterated'], $context['category'], $context['attr'], $context['_parent'], $context['loop']);
  121.         $context array_intersect_key($context$_parent) + $_parent;
  122.         // line 45
  123.         echo "                </ul>
  124.                 <div class=\"chlList transition_dom\" id=\"transition_dom\">
  125.                     ";
  126.         // line 47
  127.         $context['_parent'] = $context;
  128.         $context['_seq'] = twig_ensure_traversable((isset($context["nav"]) || array_key_exists("nav"$context) ? $context["nav"] : (function () { throw new RuntimeError('Variable "nav" does not exist.'47$this->source); })()));
  129.         foreach ($context['_seq'] as $context["category"] => $context["subCategorys"]) {
  130.             // line 48
  131.             echo "                    <div class=\"tabA\">
  132.                         ";
  133.             // line 49
  134.             $context['_parent'] = $context;
  135.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["subCategorys"], "sub", [], "any"falsefalsefalse49));
  136.             foreach ($context['_seq'] as $context["sub"] => $context["name"]) {
  137.                 // line 50
  138.                 echo "                        <div>
  139.                             <a target=“_blank” href=\"";
  140.                 // line 51
  141.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("list", ["category" => $context["category"], "sub" => $context["sub"]]), "html"nulltrue);
  142.                 echo "\">
  143.                                 ";
  144.                 // line 52
  145.                 echo twig_escape_filter($this->env$context["name"], "html"nulltrue);
  146.                 echo "
  147.                             </a>
  148.                         </div>
  149.                         ";
  150.             }
  151.             $_parent $context['_parent'];
  152.             unset($context['_seq'], $context['_iterated'], $context['sub'], $context['name'], $context['_parent'], $context['loop']);
  153.             $context array_intersect_key($context$_parent) + $_parent;
  154.             // line 56
  155.             echo "                    </div>
  156.                     ";
  157.         }
  158.         $_parent $context['_parent'];
  159.         unset($context['_seq'], $context['_iterated'], $context['category'], $context['subCategorys'], $context['_parent'], $context['loop']);
  160.         $context array_intersect_key($context$_parent) + $_parent;
  161.         // line 58
  162.         echo "                </div>
  163.             </div>
  164.         </div>
  165.         <div id=\"bannerMask\"></div>
  166.         <div class=\"login_content org_login\">
  167.             <div class=\"icon_content clearfix\">
  168.                 <span class=\"fl iconfont icon-sousuo\" id=\"searchIconHeader\" style=\"margin-top:-2px;\"></span>
  169.                 <span class=\"fl\" id=\"searchIconClose\" style=\"margin-top:-2px;\">
  170.                     <svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">
  171. <title>Group 2</title>
  172. <g fill-rule=\"evenodd\">
  173. <path d=\"M14.50609703.3639614l1.41421356 1.41421357L1.77817497 15.92031059.3639614 14.50609703z\"></path>
  174. <path d=\"M.3639614 1.77817497L1.77817498.3639614 15.9203106 14.50609702l-1.41421356 1.41421356z\"></path>
  175. </g>
  176. </svg>
  177.                 </span>
  178.                 <span class=\"iconfont icon-yonghu1 fl mouse-click curP\" style=\"margin-top:-2px;\" id=\"showUser\"></span>
  179. ";
  180.         // line 76
  181.         echo "            </div>
  182.             <div class=\"view_content\" id=\"userLoginView\">
  183.                 <div class=\"tabS1\"></div>
  184.                 <div class=\"tabS2\"></div>
  185.                 ";
  186.         // line 80
  187.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  188.             // line 81
  189.             echo "                    <ul class=\"login_play\">
  190.                         <li>";
  191.             // line 82
  192.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'82$this->source); })()), "user", [], "any"falsefalsefalse82), "oEmail", [], "any"falsefalsefalse82), "html"nulltrue);
  193.             echo "</li>
  194.                         <li><a href=\"";
  195.             // line 83
  196.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  197.             echo "\">Sign out</a></li>
  198.                     </ul>
  199.                 ";
  200.         } else {
  201.             // line 86
  202.             echo "                    <ul v-if=\"showLogin\" class=\"login_play\">
  203.                         <li><a href=\"";
  204.             // line 87
  205.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  206.             echo "\">Sign in</a></li>
  207.                         <li><a href=\"";
  208.             // line 88
  209.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register");
  210.             echo "\">Register</a></li>
  211.                     </ul>
  212.                 ";
  213.         }
  214.         // line 91
  215.         echo "            </div>
  216.         </div>
  217.     </div>
  218.         ";
  219.         // line 94
  220.         echo twig_include($this->env$context"common/_searchCommon.html.twig");
  221.         echo "
  222.         ";
  223.         // line 95
  224.         $this->displayBlock('body'$context$blocks);
  225.         // line 96
  226.         echo "        ";
  227.         $this->displayBlock('javascripts'$context$blocks);
  228.         // line 97
  229.         echo "        <div class=\"footer\">
  230.             <div class=\"getEmail\">
  231.                 <div class=\"title\">订阅森地客产品期刊</div>
  232.                 <div class=\"emailCenter\">
  233.                     <div class=\"email\">
  234.                         <p>邮箱地址</p>
  235.                         <input type=\"text\" name=\"email\" placeholder=\"请输入您的邮箱\" id=\"ftEmailInput\">
  236.                     </div>
  237.                     <div class=\"type\">
  238.                         <p>选择订阅内容</p>
  239. ";
  240.         // line 108
  241.         echo "                        <select class=\"selectView\" id=\"newsletter-preference\" name=\"newsletter-preference\">
  242.                             <option value=\"Menswear\" selected=\"\">
  243.                                 男士</option>
  244.                             <option value=\"Womenswear\">
  245.                                 女士</option>
  246.                         </select>
  247.                     </div>
  248.                 </div>
  249.                 <div class=\"sub\" id=\"footerEBtn\">订阅</div>
  250.             </div>
  251.             <div class=\"subSuccess\">
  252.                 感谢订阅!
  253.             </div>
  254.         </div>
  255.         <div class=\"cartMask\" id=\"cartMask\"></div>
  256.         ";
  257.         // line 123
  258.         echo twig_include($this->env$context"common/_shoppingCart.html.twig");
  259.         echo "
  260.     </body>
  261.     <script src=\"";
  262.         // line 125
  263.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/common.js"), "html"nulltrue);
  264.         echo "\"></script>
  265.     <script>
  266.         \$('#footerEBtn').on('click',function(){
  267.             if(\$(this).hasClass('activeEFooter')){
  268.                 var email = \$('input[name=\"email\"]').val();
  269.                 var type = \$('#newsletter-preference').val();
  270.                 var url = '";
  271.         // line 131
  272.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("subscribe");
  273.         echo "?email='+email+'&type='+type;
  274.                 \$.get(url, function(result){
  275.                         \$('.getEmail').hide();
  276.                         \$('.subSuccess').show();
  277.                 });
  278.             }
  279.         })
  280.     </script>
  281.     ";
  282.         // line 140
  283.         $this->displayBlock('endjavascripts'$context$blocks);
  284.         // line 143
  285.         echo "</html>
  286. ";
  287.         
  288.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  289.         
  290.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  291.     }
  292.     // line 5
  293.     public function block_title($context, array $blocks = [])
  294.     {
  295.         $macros $this->macros;
  296.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  297.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  298.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  299.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  300.         echo "森地客定制 | 骑享自由";
  301.         
  302.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  303.         
  304.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  305.     }
  306.     // line 24
  307.     public function block_stylesheets($context, array $blocks = [])
  308.     {
  309.         $macros $this->macros;
  310.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  311.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  312.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  313.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  314.         
  315.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  316.         
  317.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  318.     }
  319.     // line 95
  320.     public function block_body($context, array $blocks = [])
  321.     {
  322.         $macros $this->macros;
  323.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  324.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  325.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  326.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  327.         
  328.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  329.         
  330.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  331.     }
  332.     // line 96
  333.     public function block_javascripts($context, array $blocks = [])
  334.     {
  335.         $macros $this->macros;
  336.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  337.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  338.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  339.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  340.         
  341.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  342.         
  343.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  344.     }
  345.     // line 140
  346.     public function block_endjavascripts($context, array $blocks = [])
  347.     {
  348.         $macros $this->macros;
  349.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  350.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""endjavascripts"));
  351.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  352.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""endjavascripts"));
  353.         // line 141
  354.         echo "    ";
  355.         
  356.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  357.         
  358.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  359.     }
  360.     public function getTemplateName()
  361.     {
  362.         return "base.html.twig";
  363.     }
  364.     public function isTraitable()
  365.     {
  366.         return false;
  367.     }
  368.     public function getDebugInfo()
  369.     {
  370.         return array (  390 => 141,  380 => 140,  362 => 96,  344 => 95,  326 => 24,  307 => 5,  296 => 143,  294 => 140,  282 => 131,  273 => 125,  268 => 123,  251 => 108,  239 => 97,  236 => 96,  234 => 95,  230 => 94,  225 => 91,  219 => 88,  215 => 87,  212 => 86,  206 => 83,  202 => 82,  199 => 81,  197 => 80,  191 => 76,  172 => 58,  165 => 56,  155 => 52,  151 => 51,  148 => 50,  144 => 49,  141 => 48,  137 => 47,  133 => 45,  127 => 44,  125 => 43,  120 => 41,  115 => 40,  110 => 39,  108 => 38,  98 => 30,  92 => 25,  90 => 24,  75 => 12,  71 => 11,  66 => 10,  62 => 7,  58 => 6,  54 => 5,  48 => 1,);
  371.     }
  372.     public function getSourceContext()
  373.     {
  374.         return new Source("<!DOCTYPE html>
  375. <html>
  376.     <head>
  377.         <meta charset=\"UTF-8\">
  378.         <title>{% block title %}森地客定制 | 骑享自由{% endblock %}</title>
  379.         <link href=\"{{ asset('css/basic.css') }}\" rel=\"stylesheet\"/>
  380.         <link href=\"{{ asset('css/layout.css') }}\" rel=\"stylesheet\"/>
  381. {#        <link href=\"https://static.wildto.com/santic/oversear/css/basic_20201120.css\" rel=\"stylesheet\"/>#}
  382. {#        <link href=\"https://static.wildto.com/santic/oversear/css/layout1120.css\" rel=\"stylesheet\"/>#}
  383.         <link href=\"{{ asset('fonts/iconfont.css') }}\" rel=\"stylesheet\"/>
  384.         <link href=\"{{ asset('css/swiper.css') }}\" rel=\"stylesheet\"/>
  385.         <script src=\"{{ asset('js/jquery-2.0.3.min.js') }}\"></script>
  386.         <script>
  387.             (function (win, doc) {
  388.                 win.addEventListener('resize', change, false);
  389.                 function change() {
  390.                     var clientWidth = doc.documentElement.clientWidth;
  391.                     doc.documentElement.style.fontSize = doc.documentElement.clientWidth * 16 / 1920 + 'px';
  392.                 }
  393.                 change();
  394.             })(window, document);
  395.         </script>
  396.         {% block stylesheets %}{% endblock %}
  397.     </head>
  398.     <body>
  399.     <div class=\"header\">
  400.         <div class=\"headerBg\"></div>
  401. {#        <div class=\"headerText\">santic.com</div>#}
  402.         <div class=\"headerContent clearfix\">
  403.             <a href=\"/\">
  404.                 <img src=\"https://static.wildto.com/custrom/common/santic-logo-l.png\" alt=\"logo\">
  405.             </a>
  406.         </div>
  407.         <div class=\"tabs\">
  408.             <div class=\"tabsContent clearfix\" onmouseleave=\"mouseTabOver()\">
  409.                 <ul class=\"leftTab clearfix fl\">
  410.                     {% set i = 0 %}
  411.                     {% for category,attr in nav %}
  412.                     <li  class=\"fl tabLi\" onmouseenter=\"mouseTabEnter({{ i }})\">
  413.                         <a href=\"javascript:;\">{{ attr.name }}</a>
  414.                     </li>
  415.                     {% set i = i+1 %}
  416.                     {% endfor %}
  417.                 </ul>
  418.                 <div class=\"chlList transition_dom\" id=\"transition_dom\">
  419.                     {% for category,subCategorys in nav %}
  420.                     <div class=\"tabA\">
  421.                         {% for sub,name in subCategorys.sub %}
  422.                         <div>
  423.                             <a target=“_blank” href=\"{{ path('list', { 'category':category, 'sub':sub }) }}\">
  424.                                 {{ name }}
  425.                             </a>
  426.                         </div>
  427.                         {% endfor %}
  428.                     </div>
  429.                     {% endfor %}
  430.                 </div>
  431.             </div>
  432.         </div>
  433.         <div id=\"bannerMask\"></div>
  434.         <div class=\"login_content org_login\">
  435.             <div class=\"icon_content clearfix\">
  436.                 <span class=\"fl iconfont icon-sousuo\" id=\"searchIconHeader\" style=\"margin-top:-2px;\"></span>
  437.                 <span class=\"fl\" id=\"searchIconClose\" style=\"margin-top:-2px;\">
  438.                     <svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">
  439. <title>Group 2</title>
  440. <g fill-rule=\"evenodd\">
  441. <path d=\"M14.50609703.3639614l1.41421356 1.41421357L1.77817497 15.92031059.3639614 14.50609703z\"></path>
  442. <path d=\"M.3639614 1.77817497L1.77817498.3639614 15.9203106 14.50609702l-1.41421356 1.41421356z\"></path>
  443. </g>
  444. </svg>
  445.                 </span>
  446.                 <span class=\"iconfont icon-yonghu1 fl mouse-click curP\" style=\"margin-top:-2px;\" id=\"showUser\"></span>
  447. {#                <span class=\"iconfont icon-gouwuche curP fl\" id=\"cartBtn\" style=\"margin-top:-2px;\"></span>#}
  448.             </div>
  449.             <div class=\"view_content\" id=\"userLoginView\">
  450.                 <div class=\"tabS1\"></div>
  451.                 <div class=\"tabS2\"></div>
  452.                 {% if is_granted('ROLE_USER') %}
  453.                     <ul class=\"login_play\">
  454.                         <li>{{ app.user.oEmail }}</li>
  455.                         <li><a href=\"{{ path('app_logout') }}\">Sign out</a></li>
  456.                     </ul>
  457.                 {% else %}
  458.                     <ul v-if=\"showLogin\" class=\"login_play\">
  459.                         <li><a href=\"{{ path('app_login') }}\">Sign in</a></li>
  460.                         <li><a href=\"{{ path('register') }}\">Register</a></li>
  461.                     </ul>
  462.                 {% endif %}
  463.             </div>
  464.         </div>
  465.     </div>
  466.         {{ include('common/_searchCommon.html.twig') }}
  467.         {% block body %}{% endblock %}
  468.         {% block javascripts %}{% endblock %}
  469.         <div class=\"footer\">
  470.             <div class=\"getEmail\">
  471.                 <div class=\"title\">订阅森地客产品期刊</div>
  472.                 <div class=\"emailCenter\">
  473.                     <div class=\"email\">
  474.                         <p>邮箱地址</p>
  475.                         <input type=\"text\" name=\"email\" placeholder=\"请输入您的邮箱\" id=\"ftEmailInput\">
  476.                     </div>
  477.                     <div class=\"type\">
  478.                         <p>选择订阅内容</p>
  479. {#                        <input type=\"text\" placeholder=\"Menswear\">#}
  480.                         <select class=\"selectView\" id=\"newsletter-preference\" name=\"newsletter-preference\">
  481.                             <option value=\"Menswear\" selected=\"\">
  482.                                 男士</option>
  483.                             <option value=\"Womenswear\">
  484.                                 女士</option>
  485.                         </select>
  486.                     </div>
  487.                 </div>
  488.                 <div class=\"sub\" id=\"footerEBtn\">订阅</div>
  489.             </div>
  490.             <div class=\"subSuccess\">
  491.                 感谢订阅!
  492.             </div>
  493.         </div>
  494.         <div class=\"cartMask\" id=\"cartMask\"></div>
  495.         {{ include('common/_shoppingCart.html.twig') }}
  496.     </body>
  497.     <script src=\"{{ asset('js/common.js') }}\"></script>
  498.     <script>
  499.         \$('#footerEBtn').on('click',function(){
  500.             if(\$(this).hasClass('activeEFooter')){
  501.                 var email = \$('input[name=\"email\"]').val();
  502.                 var type = \$('#newsletter-preference').val();
  503.                 var url = '{{ path('subscribe') }}?email='+email+'&type='+type;
  504.                 \$.get(url, function(result){
  505.                         \$('.getEmail').hide();
  506.                         \$('.subSuccess').show();
  507.                 });
  508.             }
  509.         })
  510.     </script>
  511.     {% block endjavascripts %}
  512.     {% endblock %}
  513. {#    <script src=\"https://static.wildto.com/santic/oversear/js/common1120.js\"></script>#}
  514. </html>
  515. ""base.html.twig""/home/wwwroot/ada.santic.com/templates/base.html.twig");
  516.     }
  517. }