Authored by hf

do modify search goods list page request param from php to js gets

  1 +<?php return function ($in, $debugopt = 1) {
  2 + $cx = array(
  3 + 'flags' => array(
  4 + 'jstrue' => false,
  5 + 'jsobj' => false,
  6 + 'spvar' => true,
  7 + 'prop' => false,
  8 + 'method' => false,
  9 + 'mustlok' => true,
  10 + 'echo' => false,
  11 + 'debug' => $debugopt,
  12 + ),
  13 + 'constants' => array(),
  14 + 'helpers' => array(),
  15 + 'blockhelpers' => array(),
  16 + 'hbhelpers' => array(),
  17 + 'partials' => array(),
  18 + 'scopes' => array(),
  19 + 'sp_vars' => array('root' => $in),
  20 + 'lcrun' => 'Plugin\LCRun3',
  21 +
  22 + );
  23 +
  24 + return ''.'<!DOCTYPE html>
  25 +<html>
  26 +<head>
  27 +<meta charset="utf-8">
  28 +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title>
  29 +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'">
  30 +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'">
  31 +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  32 +<meta http-equiv="cleartype" content="on">
  33 +<meta name="apple-mobile-web-app-status-bar-style" content="black" />
  34 +<meta content="telephone=no" name="format-detection" />
  35 +<meta content="email=no" name="format-detection" />
  36 +<script type="text/javascript">
  37 + (function(doc, win) {
  38 + var docEl = doc.documentElement;
  39 + (function() {
  40 + var clientWidth = docEl.clientWidth;
  41 + if (!clientWidth) {
  42 + return;
  43 + }
  44 + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\';
  45 + }());
  46 + })(document, window);
  47 +</script>
  48 +<link rel="dns-prefetch" href="//cdn.yoho.cn">
  49 +<link rel="dns-prefetch" href="//static.yohobuy.com">
  50 +<link rel="dns-prefetch" href="//img12.static.yhbimg.com">
  51 +<link rel="dns-prefetch" href="//img13.static.yhbimg.com">
  52 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css">
  53 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css">
  54 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css">
  55 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
  56 +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
  57 +<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)">
  58 +<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)">
  59 +</head>
  60 +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>
  61 + '.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header class="yoho-header'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">
  62 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="iconfont nav-back">&#xe610;</a>
  63 +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont nav-home">&#xe611;</a>
  64 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p>
  65 +';}).'</header>
  66 +';}).''.''.' <div class="mobile-container">
  67 + <div class="mobile-wrap boys-wrap yoho-page">
  68 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('homeHeader')), $in, false, function($cx, $in) {return ''.' <div class="home-header clearfix" '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bgColor')), $in, false, function($cx, $in) {return 'style="background-color:'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').';background-image:none"';}).'>
  69 + <span class="nav-btn iconfont">&#xe60b;</span>
  70 + <span class="logo"></span>
  71 + <span class="search-btn iconfont"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'">&#xe60f;</a></span>
  72 + </div>'.'';}).'
  73 +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('content')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bannerTop')), $in, false, function($cx, $in) {return ''.' <div class="banner-top">
  74 + <div class="banner-swiper swiper-container">
  75 + <ul class="swiper-wrapper">
  76 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, true, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <li class="swiper-slide">
  77 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  78 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">
  79 + </a>
  80 + </li>
  81 +' : ' <li class="swiper-slide">
  82 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  83 + <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">
  84 + </a>
  85 + <div class="swiper-lazy-preloader"></div>
  86 + </li>
  87 +').'';}).' </ul>
  88 + </div>
  89 + <div class="swiper-pagination">
  90 + <div class="pagination-inner">
  91 + </div>
  92 + </div>
  93 + </div>'.'';}).'
  94 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('iconsEnter')), $in, false, function($cx, $in) {return ''.' <div class="icons-wrapper">
  95 + <ul class="icons-list clearfix">
  96 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="icons-item"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="imagebar"><img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""></a><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="linkbar">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</a></li>
  97 +';}).' </ul>
  98 + </div>
  99 +'.'';}).'
  100 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ''.' <div class="banner-center">
  101 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  102 + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="">
  103 + </a>
  104 + </div>'.'';}).'
  105 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotCategory')), $in, false, function($cx, $in) {return ''.' <div class="hot-category">
  106 +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header">
  107 + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2>
  108 + </div>
  109 +';}).''.'
  110 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="category-banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  111 + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">
  112 + </a>
  113 +';}).' <ul class="category-list clearfix">
  114 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li>
  115 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  116 + <div class="img-box">
  117 + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="">
  118 + </div>
  119 + </a>
  120 + </li>
  121 +';}).' </ul>
  122 + </div>'.'';}).'
  123 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrands')), $in, false, function($cx, $in) {return ''.' <ul class="hot-brands clearfix">
  124 +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header">
  125 + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2>
  126 + </div>
  127 +';}).''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="brand">
  128 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  129 + <div class="brand-logo">
  130 + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">
  131 + </div>
  132 + <p class="brand-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p>
  133 + </a>
  134 + </li>
  135 +';}).' <li class="more">
  136 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more')), ENT_QUOTES, 'UTF-8').'"></a>
  137 + </li>
  138 + </ul>'.'';}).'
  139 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrandsScroll')), $in, false, function($cx, $in) {return ''.' <div class="hot-brands">
  140 +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header">
  141 + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2>
  142 + </div>
  143 +';}).''.' <div class="brands-swiper">
  144 + <ul class="brands-list swiper-wrapper clearfix">
  145 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide">
  146 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  147 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="">
  148 + <span class="brands-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</span>
  149 + </a>
  150 + </li>
  151 +';}).' </ul>
  152 + </div>
  153 + </div>'.'';}).'
  154 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendColloaction')), $in, false, function($cx, $in) {return ''.' <div class="trend-coll-wrapper">
  155 +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more">
  156 + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2>
  157 + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'">&#xe618;</a>
  158 + </div>
  159 + ';}).''.' <div class="trend-coll-content clearfix">
  160 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('article')), $in, false, function($cx, $in) {return ' <div class="lspan">
  161 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="lazy rspanimg" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" ></a>
  162 + </div>
  163 +';}).' </div>
  164 + <div class="trend-coll-tail">
  165 + <h3 class="recommend-title">推荐搭配</h3>
  166 + <div class="recommend-swiper">
  167 + <ul class="recommend-list swiper-wrapper clearfix">
  168 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('recommend_collocation')), $in, false, function($cx, $in) {return ' <li class="recommend-item swiper-slide"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="" /></a></li>
  169 +';}).' </ul>
  170 + </div>
  171 + </div>
  172 + </div>
  173 +
  174 +
  175 +'.'';}).'
  176 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendTopics')), $in, false, function($cx, $in) {return ''.' <div class="trend-topic-wrapper">
  177 +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more">
  178 + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2>
  179 + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'">&#xe618;</a>
  180 + </div>
  181 + ';}).''.' <div class="trend-topic-content">
  182 + <div class="trend-topic-swiper">
  183 + <ul class="swiper-wrapper">
  184 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide">
  185 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  186 + <div class="img-box">
  187 + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="">
  188 + </div>
  189 + <div class="item-content">
  190 + <p class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</p>
  191 + <p class="time">
  192 + <span class="iconfont time-icon">&#xe603;</span>
  193 + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publish_time')), ENT_QUOTES, 'UTF-8').'</span>
  194 + </p>
  195 + </div>
  196 + </a>
  197 + </li>
  198 +';}).' </ul>
  199 + </div>
  200 + <div class="swiper-pagination">
  201 + <div class="pagination-inner clearfix">
  202 + </div>
  203 + </div>
  204 + </div>
  205 + </div>
  206 +'.'';}).'
  207 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsCategory')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more">
  208 + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2>
  209 + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'">&#xe618;</a>
  210 + </div>
  211 + ';}).''.' <div class="goods-category">
  212 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('big_image')), $in, false, function($cx, $in) {return ' <div class="category-swiper">
  213 + <ul class="swiper-wrapper">
  214 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide">
  215 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  216 + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'">
  217 + </a>
  218 + </li>
  219 +';}).' </ul>
  220 + <div class="swiper-pagination">
  221 + <div class="pagination-inner clearfix">
  222 + </div>
  223 + </div>
  224 + </div>
  225 +';}).' <ul class="category-list clearfix">
  226 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li>
  227 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  228 + <div class="img-box">
  229 + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="">
  230 + </div>
  231 + <p class="category-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</p>
  232 + </a>
  233 + </li>
  234 +';}).' </ul>
  235 + </div>'.'';}).'
  236 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('creativeLife')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more">
  237 + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2>
  238 + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'">&#xe618;</a>
  239 + </div>
  240 + ';}).''.' <div class="creative-life">
  241 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  242 + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">
  243 + </a>
  244 +';}).' <ul class="classify-list clearfix">
  245 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="classify">
  246 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  247 + <div class="classify-logo">
  248 + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">
  249 + </div>
  250 + <p class="classify-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p>
  251 + </a>
  252 + </li>
  253 +';}).' </ul>
  254 + </div>'.'';}).'
  255 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('plusStar')), $in, false, function($cx, $in) {return ''.'
  256 + <div class="plus-star">
  257 +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header">
  258 + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2>
  259 + </div>
  260 +';}).''.' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  261 + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">
  262 + </a>
  263 + </div>'.'';}).'';}).'
  264 + '.'<div class="maybe-like">
  265 + <p class="title">
  266 + <i class="icon"></i>
  267 + <span>你可能喜欢</span>
  268 + </p>
  269 +
  270 + <div id="goods-list" class="goods-list clearfix"></div>
  271 +
  272 +</div>
  273 +<div class="load-more-img hide" id="load-more-img">
  274 + <a href="">
  275 + <img src="">
  276 + </a>
  277 +</div>
  278 +'.''.'
  279 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('twoColumnGoods')), $in, false, function($cx, $in) {return ''.' <div class="two-column-goods">
  280 + <ul class="column-nav clearfix">
  281 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('columnNav')), $in, false, function($cx, $in) {return ' <li data-url="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</li>
  282 +';}).' </ul>
  283 + <div class="goods-list clearfix">
  284 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? '
  285 + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'">
  286 + <div class="tag-container clearfix">
  287 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p>
  288 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p>
  289 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p>
  290 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <div class="good-tag yohood-tag"></div>
  291 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p>
  292 +';}).'';}).' </div>
  293 + <div class="good-detail-img">
  294 + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  295 + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'">
  296 + </a>
  297 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p>
  298 +';}).' </div>
  299 + <div class="good-detail-text">
  300 + <div class="name">
  301 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a>
  302 + </div>
  303 + <div class="price">
  304 + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span>
  305 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span>
  306 +';}).' </div>
  307 + </div>
  308 + </div>
  309 + ' : '').''.'';}).' </div>
  310 + </div>'.'';}).'
  311 + <div class="overlay"></div>
  312 +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showFooterTab')), $in, false, function($cx, $in) {return ' <div class="footer-tab">
  313 + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('indexUrl')), ENT_QUOTES, 'UTF-8').'">
  314 + <p class="iconfont tab-icon">&#xe62a;</p>
  315 + <p class="tab-name">首页</p>
  316 + </a>
  317 + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('categoryUrl')), ENT_QUOTES, 'UTF-8').'">
  318 + <p class="iconfont tab-icon">&#xe62d;</p>
  319 + <p class="tab-name">分类</p>
  320 + </a>
  321 + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('guangUrl')), ENT_QUOTES, 'UTF-8').'">
  322 + <p class="iconfont tab-icon">&#xe627;</p>
  323 + <p class="tab-name">逛</p>
  324 + </a>
  325 + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shoppingCartUrl')), ENT_QUOTES, 'UTF-8').'">
  326 + <p class="iconfont tab-icon">&#xe62c;</p>
  327 + <p class="tab-name">购物车</p>
  328 + </a>
  329 + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('minePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('mineUrl')), ENT_QUOTES, 'UTF-8').'">
  330 + <p class="iconfont tab-icon">&#xe62b;</p>
  331 + <p class="tab-name">我的</p>
  332 + </a>
  333 + </div>
  334 +';}).' '.' </div>
  335 +'.' <div class="side-nav">
  336 + <ul>
  337 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sideNav')), $in, false, function($cx, $in) {return ' <li class="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('styleClass')), ENT_QUOTES, 'UTF-8').'">
  338 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'">
  339 +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;">
  340 +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('img')), $in, false, function($cx, $in) {return ' <span class="nav-img" style="background-image: url('.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').')"></span>
  341 +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('img')))) ? ' <i class="nav-icon"></i>
  342 +' : '').' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').'
  343 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <span class="enter-subnav iconfont">&#xe614;</span>
  344 +';}).' </a>
  345 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <ul class="sub-nav">
  346 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isSelect')), $in, false, function($cx, $in) {return 'current';}).'" style="background-color:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bgColor')), ENT_QUOTES, 'UTF-8').'">
  347 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'">
  348 +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;">
  349 +' : '').''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('back')))) ? ' <span class="nav-point iconfont">&#xe60c;</span>
  350 +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('back')), $in, false, function($cx, $in) {return ' <i class="nav-back iconfont">&#xe610;</i>
  351 +';}).' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em>
  352 + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').'
  353 + </a>
  354 + </li>
  355 +';}).' </ul>
  356 +';}).' </li>
  357 +';}).' </ul>
  358 + </div>'.' </div>
  359 +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageFooter')), $in, false, function($cx, $in) {return '<footer id="yoho-footer" class="yoho-footer hide">
  360 + <p class="op-row">
  361 + <span class="back-to-top">
  362 + Back to top
  363 + <i class="iconfont">&#xe608;</i>
  364 + </span>
  365 + </p>
  366 + <address class="copyright">
  367 + CopyRight©2007-2016 南京新与力文化传播有限公司
  368 + </address>
  369 +</footer>
  370 +';}).'
  371 +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showDownloadApp')), $in, false, function($cx, $in) {return '<div class="float-layer hide" id="float-layer-app">
  372 + <div class="float-layer-left">
  373 + <span class="yoho-icon iconfont">&#xe60d;</span>
  374 + <p>新用户送千元礼包</p>
  375 + </div>
  376 + <a href="javascript:void(0);" id="float-layer-close" >
  377 + <i class="close-icon iconfont">&#xe623;</i>
  378 + <div class="circle-rightbottom"></div>
  379 + </a>
  380 + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">
  381 + 立即下载
  382 + </a>
  383 +</div>
  384 +';}).'
  385 +
  386 + '.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hasWxShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  387 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script>
  388 +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
  389 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script>
  390 +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
  391 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script>
  392 +<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index-debug.js"></script>
  393 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
  394 +<script>seajs.config({base: \'http://localhost:8000/\'});</script>
  395 +' : '').'<script type="text/javascript">
  396 + (function(w,d,s,j,f){
  397 + w[\'YohoAcquisitionObject\']=f;
  398 + w[f]=function(){w[f].p=arguments;};
  399 + var a=d.createElement(s);
  400 + var m=d.getElementsByTagName(s)[0];
  401 + a.async=1;
  402 + a.src=j;
  403 + m.parentNode.insertBefore(a,m);
  404 + })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\');
  405 +</script>
  406 +'.'<script>
  407 + seajs.use(\'js/common\');
  408 +</script>
  409 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script>
  410 + seajs.use(\'js/guang/plus-star/list\');
  411 +</script>
  412 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script>
  413 + seajs.use(\'js/guang/plus-star/detail\');
  414 +</script>
  415 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script>
  416 + seajs.use(\'js/guang/home\');
  417 +</script>
  418 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script>
  419 + seajs.use(\'js/guang/list\');
  420 +</script>
  421 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script>
  422 + seajs.use(\'js/guang/detail\', function(d) {
  423 + d.i(true);
  424 + });
  425 +</script>
  426 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script>
  427 + seajs.use(\'js/guang/detail\', function(d) {
  428 + d.i(false);
  429 + });
  430 +</script>
  431 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script>
  432 + seajs.use(\'js/passport/register/register\');
  433 +</script>
  434 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script>
  435 + seajs.use(\'js/passport/register/code\');
  436 +</script>
  437 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script>
  438 + seajs.use(\'js/passport/register/password\');
  439 +</script>
  440 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script>
  441 + seajs.use(\'js/passport/login/login\');
  442 +</script>
  443 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script>
  444 + seajs.use(\'js/passport/login/international\');
  445 +</script>
  446 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script>
  447 + seajs.use(\'js/passport/back/email\');
  448 +</script>
  449 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script>
  450 + seajs.use(\'js/passport/back/email-success\');
  451 +</script>
  452 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script>
  453 + seajs.use(\'js/passport/back/mobile\');
  454 +</script>
  455 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script>
  456 + seajs.use(\'js/passport/back/code\');
  457 +</script>
  458 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script>
  459 + seajs.use(\'js/passport/back/new-password\');
  460 +</script>
  461 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script>
  462 + seajs.use(\'js/index/channel\');
  463 + seajs.use(\'js/index/footer\');
  464 +</script>
  465 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script>
  466 + seajs.use(\'js/home/home\', function(h) {
  467 + h.set(\'girls\');
  468 + });
  469 + seajs.use(\'js/index/footer\');
  470 +</script>
  471 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script>
  472 + seajs.use(\'js/home/home\', function(h) {
  473 + h.set(\'boys\');
  474 + });
  475 + seajs.use(\'js/index/footer\');
  476 +</script>
  477 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script>
  478 + seajs.use(\'js/home/home\', function(h) {
  479 + h.set(\'kids\');
  480 + });
  481 + seajs.use(\'js/index/footer\');
  482 +</script>
  483 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script>
  484 + seajs.use(\'js/home/home\', function(h) {
  485 + h.set(\'lifestyle\');
  486 + });
  487 + seajs.use(\'js/index/footer\');
  488 +</script>
  489 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script>
  490 + seajs.use(\'js/product/newsale/newarrival\');
  491 + seajs.use(\'js/index/footer\');
  492 +</script>
  493 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script>
  494 + seajs.use(\'js/product/newsale/discount\');
  495 + seajs.use(\'js/index/footer\');
  496 +</script>
  497 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script>
  498 + seajs.use(\'js/product/list\');
  499 + seajs.use(\'js/index/footer\');
  500 +</script>
  501 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script>
  502 + seajs.use(\'js/product/detail/detail\');
  503 +</script>
  504 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script>
  505 + seajs.use(\'js/category/index\');
  506 + seajs.use(\'js/index/footer\');
  507 +</script>
  508 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script>
  509 + seajs.use(\'js/category/brand\');
  510 + seajs.use(\'js/index/footer\');
  511 +</script>
  512 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script>
  513 + seajs.use(\'js/index/search\');
  514 + seajs.use(\'js/index/footer\');
  515 +</script>
  516 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script>
  517 + seajs.use(\'js/shopping-cart/cart\');
  518 +</script>
  519 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script>
  520 + seajs.use(\'js/shopping-cart/gift-advance\');
  521 +</script>
  522 +' : '').''.''.'<!-- Google Tag Manager -->
  523 +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  524 +<script>
  525 + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
  526 + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
  527 + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
  528 + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
  529 + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
  530 +</script>
  531 +<!-- End Google Tag Manager -->
  532 +<script type="text/javascript">
  533 + var _hmt = _hmt || [];
  534 + (function() {
  535 + var hm = document.createElement("script");
  536 + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
  537 + var s = document.getElementsByTagName("script")[0];
  538 + s.parentNode.insertBefore(hm, s);
  539 + })();
  540 +</script>
  541 +<script>
  542 + var _hmt = _hmt || [];
  543 + (function() {
  544 + var hm = document.createElement("script");
  545 + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
  546 + var s = document.getElementsByTagName("script")[0];
  547 + s.parentNode.insertBefore(hm, s);
  548 + })();
  549 +</script>
  550 +<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script>
  551 +<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script>
  552 +'.'</body>
  553 +</html>'.'';
  554 +}
  555 +?>
  1 +<?php return function ($in, $debugopt = 1) {
  2 + $cx = array(
  3 + 'flags' => array(
  4 + 'jstrue' => false,
  5 + 'jsobj' => false,
  6 + 'spvar' => true,
  7 + 'prop' => false,
  8 + 'method' => false,
  9 + 'mustlok' => true,
  10 + 'echo' => false,
  11 + 'debug' => $debugopt,
  12 + ),
  13 + 'constants' => array(),
  14 + 'helpers' => array(),
  15 + 'blockhelpers' => array(),
  16 + 'hbhelpers' => array(),
  17 + 'partials' => array(),
  18 + 'scopes' => array(),
  19 + 'sp_vars' => array('root' => $in),
  20 + 'lcrun' => 'Plugin\LCRun3',
  21 +
  22 + );
  23 +
  24 + return ''.'<!DOCTYPE html>
  25 +<html>
  26 +<head>
  27 +<meta charset="utf-8">
  28 +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title>
  29 +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'">
  30 +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'">
  31 +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  32 +<meta http-equiv="cleartype" content="on">
  33 +<meta name="apple-mobile-web-app-status-bar-style" content="black" />
  34 +<meta content="telephone=no" name="format-detection" />
  35 +<meta content="email=no" name="format-detection" />
  36 +<script type="text/javascript">
  37 + (function(doc, win) {
  38 + var docEl = doc.documentElement;
  39 + (function() {
  40 + var clientWidth = docEl.clientWidth;
  41 + if (!clientWidth) {
  42 + return;
  43 + }
  44 + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\';
  45 + }());
  46 + })(document, window);
  47 +</script>
  48 +<link rel="dns-prefetch" href="//cdn.yoho.cn">
  49 +<link rel="dns-prefetch" href="//static.yohobuy.com">
  50 +<link rel="dns-prefetch" href="//img12.static.yhbimg.com">
  51 +<link rel="dns-prefetch" href="//img13.static.yhbimg.com">
  52 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css">
  53 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css">
  54 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css">
  55 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
  56 +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
  57 +<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)">
  58 +<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)">
  59 +</head>
  60 +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>
  61 + '.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header class="yoho-header'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">
  62 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="iconfont nav-back">&#xe610;</a>
  63 +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont nav-home">&#xe611;</a>
  64 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p>
  65 +';}).'</header>
  66 +';}).''.''.'<div class="index-page yoho-page">
  67 + <div class="index-container">
  68 + <div class="index-header clearfix">
  69 + <div class="index-logo"></div>
  70 + <div class="box">
  71 + <a href="javascript:void(0);" class="no-search">取消</a>
  72 + <form action="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'" class="index-search">
  73 + <div class="search-box">
  74 + <input type="hidden" name="from" value="search">
  75 + <input type="text" name="query" placeholder="搜索" autocomplete="off">
  76 + <span class="iconfont clear-text">&#xe623;</span>
  77 + <span class="iconfont search-icon empty">&#xe60f;</span>
  78 + </div>
  79 + </form>
  80 + </div>
  81 + </div>
  82 + <div class="index-channel">
  83 + <img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('background')), ENT_QUOTES, 'UTF-8').'">
  84 + <div class="index-channel-list">
  85 + <a href="/boys" class="list-item">男生 <span class="lighter">BOYS</span> <span class="iconfont right-icon">&#xe614;</span></a>
  86 + <a href="/girls" class="list-item">女生 <span class="lighter">GIRLS</span> <span class="iconfont right-icon">&#xe614;</span></a>
  87 + <a href="/kids" class="list-item">潮童 <span class="lighter">KIDS</span> <span class="iconfont right-icon">&#xe614;</span></a>
  88 + <a href="/lifestyle" class="list-item">创意生活 <span class="lighter">LIFESTYLE</span> <span class="iconfont right-icon">&#xe614;</span></a>
  89 + </div>
  90 + </div>
  91 + </div>
  92 +</div>
  93 +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageFooter')), $in, false, function($cx, $in) {return '<footer id="yoho-footer" class="yoho-footer hide">
  94 + <p class="op-row">
  95 + <span class="back-to-top">
  96 + Back to top
  97 + <i class="iconfont">&#xe608;</i>
  98 + </span>
  99 + </p>
  100 + <address class="copyright">
  101 + CopyRight©2007-2016 南京新与力文化传播有限公司
  102 + </address>
  103 +</footer>
  104 +';}).'
  105 +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showDownloadApp')), $in, false, function($cx, $in) {return '<div class="float-layer hide" id="float-layer-app">
  106 + <div class="float-layer-left">
  107 + <span class="yoho-icon iconfont">&#xe60d;</span>
  108 + <p>新用户送千元礼包</p>
  109 + </div>
  110 + <a href="javascript:void(0);" id="float-layer-close" >
  111 + <i class="close-icon iconfont">&#xe623;</i>
  112 + <div class="circle-rightbottom"></div>
  113 + </a>
  114 + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">
  115 + 立即下载
  116 + </a>
  117 +</div>
  118 +';}).'
  119 +
  120 + '.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hasWxShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  121 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script>
  122 +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
  123 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script>
  124 +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
  125 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script>
  126 +<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index-debug.js"></script>
  127 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
  128 +<script>seajs.config({base: \'http://localhost:8000/\'});</script>
  129 +' : '').'<script type="text/javascript">
  130 + (function(w,d,s,j,f){
  131 + w[\'YohoAcquisitionObject\']=f;
  132 + w[f]=function(){w[f].p=arguments;};
  133 + var a=d.createElement(s);
  134 + var m=d.getElementsByTagName(s)[0];
  135 + a.async=1;
  136 + a.src=j;
  137 + m.parentNode.insertBefore(a,m);
  138 + })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\');
  139 +</script>
  140 +'.'<script>
  141 + seajs.use(\'js/common\');
  142 +</script>
  143 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script>
  144 + seajs.use(\'js/guang/plus-star/list\');
  145 +</script>
  146 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script>
  147 + seajs.use(\'js/guang/plus-star/detail\');
  148 +</script>
  149 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script>
  150 + seajs.use(\'js/guang/home\');
  151 +</script>
  152 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script>
  153 + seajs.use(\'js/guang/list\');
  154 +</script>
  155 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script>
  156 + seajs.use(\'js/guang/detail\', function(d) {
  157 + d.i(true);
  158 + });
  159 +</script>
  160 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script>
  161 + seajs.use(\'js/guang/detail\', function(d) {
  162 + d.i(false);
  163 + });
  164 +</script>
  165 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script>
  166 + seajs.use(\'js/passport/register/register\');
  167 +</script>
  168 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script>
  169 + seajs.use(\'js/passport/register/code\');
  170 +</script>
  171 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script>
  172 + seajs.use(\'js/passport/register/password\');
  173 +</script>
  174 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script>
  175 + seajs.use(\'js/passport/login/login\');
  176 +</script>
  177 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script>
  178 + seajs.use(\'js/passport/login/international\');
  179 +</script>
  180 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script>
  181 + seajs.use(\'js/passport/back/email\');
  182 +</script>
  183 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script>
  184 + seajs.use(\'js/passport/back/email-success\');
  185 +</script>
  186 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script>
  187 + seajs.use(\'js/passport/back/mobile\');
  188 +</script>
  189 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script>
  190 + seajs.use(\'js/passport/back/code\');
  191 +</script>
  192 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script>
  193 + seajs.use(\'js/passport/back/new-password\');
  194 +</script>
  195 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script>
  196 + seajs.use(\'js/index/channel\');
  197 + seajs.use(\'js/index/footer\');
  198 +</script>
  199 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script>
  200 + seajs.use(\'js/home/home\', function(h) {
  201 + h.set(\'girls\');
  202 + });
  203 + seajs.use(\'js/index/footer\');
  204 +</script>
  205 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script>
  206 + seajs.use(\'js/home/home\', function(h) {
  207 + h.set(\'boys\');
  208 + });
  209 + seajs.use(\'js/index/footer\');
  210 +</script>
  211 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script>
  212 + seajs.use(\'js/home/home\', function(h) {
  213 + h.set(\'kids\');
  214 + });
  215 + seajs.use(\'js/index/footer\');
  216 +</script>
  217 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script>
  218 + seajs.use(\'js/home/home\', function(h) {
  219 + h.set(\'lifestyle\');
  220 + });
  221 + seajs.use(\'js/index/footer\');
  222 +</script>
  223 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script>
  224 + seajs.use(\'js/product/newsale/newarrival\');
  225 + seajs.use(\'js/index/footer\');
  226 +</script>
  227 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script>
  228 + seajs.use(\'js/product/newsale/discount\');
  229 + seajs.use(\'js/index/footer\');
  230 +</script>
  231 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script>
  232 + seajs.use(\'js/product/list\');
  233 + seajs.use(\'js/index/footer\');
  234 +</script>
  235 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script>
  236 + seajs.use(\'js/product/detail/detail\');
  237 +</script>
  238 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script>
  239 + seajs.use(\'js/category/index\');
  240 + seajs.use(\'js/index/footer\');
  241 +</script>
  242 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script>
  243 + seajs.use(\'js/category/brand\');
  244 + seajs.use(\'js/index/footer\');
  245 +</script>
  246 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script>
  247 + seajs.use(\'js/index/search\');
  248 + seajs.use(\'js/index/footer\');
  249 +</script>
  250 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script>
  251 + seajs.use(\'js/shopping-cart/cart\');
  252 +</script>
  253 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script>
  254 + seajs.use(\'js/shopping-cart/gift-advance\');
  255 +</script>
  256 +' : '').''.''.'<!-- Google Tag Manager -->
  257 +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  258 +<script>
  259 + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
  260 + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
  261 + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
  262 + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
  263 + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
  264 +</script>
  265 +<!-- End Google Tag Manager -->
  266 +<script type="text/javascript">
  267 + var _hmt = _hmt || [];
  268 + (function() {
  269 + var hm = document.createElement("script");
  270 + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
  271 + var s = document.getElementsByTagName("script")[0];
  272 + s.parentNode.insertBefore(hm, s);
  273 + })();
  274 +</script>
  275 +<script>
  276 + var _hmt = _hmt || [];
  277 + (function() {
  278 + var hm = document.createElement("script");
  279 + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
  280 + var s = document.getElementsByTagName("script")[0];
  281 + s.parentNode.insertBefore(hm, s);
  282 + })();
  283 +</script>
  284 +<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script>
  285 +<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script>
  286 +'.'</body>
  287 +</html>'.'';
  288 +}
  289 +?>
  1 +<?php return function ($in, $debugopt = 1) {
  2 + $cx = array(
  3 + 'flags' => array(
  4 + 'jstrue' => false,
  5 + 'jsobj' => false,
  6 + 'spvar' => true,
  7 + 'prop' => false,
  8 + 'method' => false,
  9 + 'mustlok' => true,
  10 + 'echo' => false,
  11 + 'debug' => $debugopt,
  12 + ),
  13 + 'constants' => array(),
  14 + 'helpers' => array(),
  15 + 'blockhelpers' => array(),
  16 + 'hbhelpers' => array(),
  17 + 'partials' => array(),
  18 + 'scopes' => array(),
  19 + 'sp_vars' => array('root' => $in),
  20 + 'lcrun' => 'Plugin\LCRun3',
  21 +
  22 + );
  23 +
  24 + return ''.'<!DOCTYPE html>
  25 +<html>
  26 +<head>
  27 +<meta charset="utf-8">
  28 +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title>
  29 +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'">
  30 +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'">
  31 +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  32 +<meta http-equiv="cleartype" content="on">
  33 +<meta name="apple-mobile-web-app-status-bar-style" content="black" />
  34 +<meta content="telephone=no" name="format-detection" />
  35 +<meta content="email=no" name="format-detection" />
  36 +<script type="text/javascript">
  37 + (function(doc, win) {
  38 + var docEl = doc.documentElement;
  39 + (function() {
  40 + var clientWidth = docEl.clientWidth;
  41 + if (!clientWidth) {
  42 + return;
  43 + }
  44 + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\';
  45 + }());
  46 + })(document, window);
  47 +</script>
  48 +<link rel="dns-prefetch" href="//cdn.yoho.cn">
  49 +<link rel="dns-prefetch" href="//static.yohobuy.com">
  50 +<link rel="dns-prefetch" href="//img12.static.yhbimg.com">
  51 +<link rel="dns-prefetch" href="//img13.static.yhbimg.com">
  52 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css">
  53 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css">
  54 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css">
  55 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
  56 +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
  57 +<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)">
  58 +<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)">
  59 +</head>
  60 +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>
  61 + '.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header class="yoho-header'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">
  62 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="iconfont nav-back">&#xe610;</a>
  63 +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont nav-home">&#xe611;</a>
  64 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p>
  65 +';}).'</header>
  66 +';}).''.''.'<div class="category-page yoho-page">
  67 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('category')), $in, false, function($cx, $in) {return ' <div id="search-input" class="search-input">
  68 + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'>
  69 + <i class="search-icon iconfont">&#xe60f;</i>
  70 + <p>搜索商品</p>
  71 + </a>
  72 + </div>
  73 + <div class="category-nav clearfix">
  74 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('class')), $in, false, function($cx, $in) {return ' <li class='.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('focus')))) ? 'focus' : '').'>
  75 + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span>
  76 + </li>
  77 +';}).' </div>
  78 + <div class="category-container clearfix">
  79 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('class')), $in, false, function($cx, $in) {return ' <div class="content '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('focus')))) ? 'hide' : '').'">
  80 + <ul class="primary-level">
  81 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('ca')), $in, false, function($cx, $in) {return ' <li class="p-level-item'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' focus' : '').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</li>
  82 +';}).' </ul>
  83 + <div class="sub-level-container">
  84 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('ca')), $in, false, function($cx, $in) {return ' <ul class="sub-level '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? 'hide' : '').'">
  85 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sub')), $in, false, function($cx, $in) {return ' <li>
  86 + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'>
  87 + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'
  88 + </a>
  89 + </li>
  90 +';}).' </ul>
  91 +';}).' </div>
  92 + </div>
  93 +';}).' </div>
  94 +';}).'</div>
  95 +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageFooter')), $in, false, function($cx, $in) {return '<footer id="yoho-footer" class="yoho-footer hide">
  96 + <p class="op-row">
  97 + <span class="back-to-top">
  98 + Back to top
  99 + <i class="iconfont">&#xe608;</i>
  100 + </span>
  101 + </p>
  102 + <address class="copyright">
  103 + CopyRight©2007-2016 南京新与力文化传播有限公司
  104 + </address>
  105 +</footer>
  106 +';}).'
  107 +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showDownloadApp')), $in, false, function($cx, $in) {return '<div class="float-layer hide" id="float-layer-app">
  108 + <div class="float-layer-left">
  109 + <span class="yoho-icon iconfont">&#xe60d;</span>
  110 + <p>新用户送千元礼包</p>
  111 + </div>
  112 + <a href="javascript:void(0);" id="float-layer-close" >
  113 + <i class="close-icon iconfont">&#xe623;</i>
  114 + <div class="circle-rightbottom"></div>
  115 + </a>
  116 + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">
  117 + 立即下载
  118 + </a>
  119 +</div>
  120 +';}).'
  121 +
  122 + '.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hasWxShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  123 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script>
  124 +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
  125 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script>
  126 +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
  127 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script>
  128 +<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index-debug.js"></script>
  129 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
  130 +<script>seajs.config({base: \'http://localhost:8000/\'});</script>
  131 +' : '').'<script type="text/javascript">
  132 + (function(w,d,s,j,f){
  133 + w[\'YohoAcquisitionObject\']=f;
  134 + w[f]=function(){w[f].p=arguments;};
  135 + var a=d.createElement(s);
  136 + var m=d.getElementsByTagName(s)[0];
  137 + a.async=1;
  138 + a.src=j;
  139 + m.parentNode.insertBefore(a,m);
  140 + })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\');
  141 +</script>
  142 +'.'<script>
  143 + seajs.use(\'js/common\');
  144 +</script>
  145 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script>
  146 + seajs.use(\'js/guang/plus-star/list\');
  147 +</script>
  148 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script>
  149 + seajs.use(\'js/guang/plus-star/detail\');
  150 +</script>
  151 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script>
  152 + seajs.use(\'js/guang/home\');
  153 +</script>
  154 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script>
  155 + seajs.use(\'js/guang/list\');
  156 +</script>
  157 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script>
  158 + seajs.use(\'js/guang/detail\', function(d) {
  159 + d.i(true);
  160 + });
  161 +</script>
  162 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script>
  163 + seajs.use(\'js/guang/detail\', function(d) {
  164 + d.i(false);
  165 + });
  166 +</script>
  167 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script>
  168 + seajs.use(\'js/passport/register/register\');
  169 +</script>
  170 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script>
  171 + seajs.use(\'js/passport/register/code\');
  172 +</script>
  173 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script>
  174 + seajs.use(\'js/passport/register/password\');
  175 +</script>
  176 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script>
  177 + seajs.use(\'js/passport/login/login\');
  178 +</script>
  179 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script>
  180 + seajs.use(\'js/passport/login/international\');
  181 +</script>
  182 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script>
  183 + seajs.use(\'js/passport/back/email\');
  184 +</script>
  185 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script>
  186 + seajs.use(\'js/passport/back/email-success\');
  187 +</script>
  188 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script>
  189 + seajs.use(\'js/passport/back/mobile\');
  190 +</script>
  191 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script>
  192 + seajs.use(\'js/passport/back/code\');
  193 +</script>
  194 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script>
  195 + seajs.use(\'js/passport/back/new-password\');
  196 +</script>
  197 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script>
  198 + seajs.use(\'js/index/channel\');
  199 + seajs.use(\'js/index/footer\');
  200 +</script>
  201 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script>
  202 + seajs.use(\'js/home/home\', function(h) {
  203 + h.set(\'girls\');
  204 + });
  205 + seajs.use(\'js/index/footer\');
  206 +</script>
  207 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script>
  208 + seajs.use(\'js/home/home\', function(h) {
  209 + h.set(\'boys\');
  210 + });
  211 + seajs.use(\'js/index/footer\');
  212 +</script>
  213 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script>
  214 + seajs.use(\'js/home/home\', function(h) {
  215 + h.set(\'kids\');
  216 + });
  217 + seajs.use(\'js/index/footer\');
  218 +</script>
  219 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script>
  220 + seajs.use(\'js/home/home\', function(h) {
  221 + h.set(\'lifestyle\');
  222 + });
  223 + seajs.use(\'js/index/footer\');
  224 +</script>
  225 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script>
  226 + seajs.use(\'js/product/newsale/newarrival\');
  227 + seajs.use(\'js/index/footer\');
  228 +</script>
  229 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script>
  230 + seajs.use(\'js/product/newsale/discount\');
  231 + seajs.use(\'js/index/footer\');
  232 +</script>
  233 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script>
  234 + seajs.use(\'js/product/list\');
  235 + seajs.use(\'js/index/footer\');
  236 +</script>
  237 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script>
  238 + seajs.use(\'js/product/detail/detail\');
  239 +</script>
  240 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script>
  241 + seajs.use(\'js/category/index\');
  242 + seajs.use(\'js/index/footer\');
  243 +</script>
  244 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script>
  245 + seajs.use(\'js/category/brand\');
  246 + seajs.use(\'js/index/footer\');
  247 +</script>
  248 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script>
  249 + seajs.use(\'js/index/search\');
  250 + seajs.use(\'js/index/footer\');
  251 +</script>
  252 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script>
  253 + seajs.use(\'js/shopping-cart/cart\');
  254 +</script>
  255 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script>
  256 + seajs.use(\'js/shopping-cart/gift-advance\');
  257 +</script>
  258 +' : '').''.''.'<!-- Google Tag Manager -->
  259 +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  260 +<script>
  261 + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
  262 + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
  263 + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
  264 + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
  265 + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
  266 +</script>
  267 +<!-- End Google Tag Manager -->
  268 +<script type="text/javascript">
  269 + var _hmt = _hmt || [];
  270 + (function() {
  271 + var hm = document.createElement("script");
  272 + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
  273 + var s = document.getElementsByTagName("script")[0];
  274 + s.parentNode.insertBefore(hm, s);
  275 + })();
  276 +</script>
  277 +<script>
  278 + var _hmt = _hmt || [];
  279 + (function() {
  280 + var hm = document.createElement("script");
  281 + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
  282 + var s = document.getElementsByTagName("script")[0];
  283 + s.parentNode.insertBefore(hm, s);
  284 + })();
  285 +</script>
  286 +<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script>
  287 +<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script>
  288 +'.'</body>
  289 +</html>'.'';
  290 +}
  291 +?>
  1 +<?php return function ($in, $debugopt = 1) {
  2 + $cx = array(
  3 + 'flags' => array(
  4 + 'jstrue' => false,
  5 + 'jsobj' => false,
  6 + 'spvar' => true,
  7 + 'prop' => false,
  8 + 'method' => false,
  9 + 'mustlok' => true,
  10 + 'echo' => false,
  11 + 'debug' => $debugopt,
  12 + ),
  13 + 'constants' => array(),
  14 + 'helpers' => array(),
  15 + 'blockhelpers' => array(),
  16 + 'hbhelpers' => array(),
  17 + 'partials' => array(),
  18 + 'scopes' => array(),
  19 + 'sp_vars' => array('root' => $in),
  20 + 'lcrun' => 'Plugin\LCRun3',
  21 +
  22 + );
  23 +
  24 + return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? '
  25 + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'">
  26 + <div class="tag-container clearfix">
  27 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p>
  28 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p>
  29 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p>
  30 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <div class="good-tag yohood-tag"></div>
  31 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p>
  32 +';}).'';}).' </div>
  33 + <div class="good-detail-img">
  34 + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
  35 + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'">
  36 + </a>
  37 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p>
  38 +';}).' </div>
  39 + <div class="good-detail-text">
  40 + <div class="name">
  41 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a>
  42 + </div>
  43 + <div class="price">
  44 + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span>
  45 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span>
  46 +';}).' </div>
  47 + </div>
  48 + </div>
  49 + ' : '').''.'';}).'';
  50 +}
  51 +?>
@@ -56,7 +56,6 @@ class HomeController extends AbstractAction @@ -56,7 +56,6 @@ class HomeController extends AbstractAction
56 ); 56 );
57 $uid = $this->getUid(); 57 $uid = $this->getUid();
58 if ($uid) { 58 if ($uid) {
59 -  
60 $data['isLogin'] = true; 59 $data['isLogin'] = true;
61 $data += UserModel::getUserProfileData($uid); 60 $data += UserModel::getUserProfileData($uid);
62 $data += UserModel::getInfoNumData($uid); 61 $data += UserModel::getInfoNumData($uid);
@@ -32,36 +32,39 @@ class SearchController extends AbstractAction @@ -32,36 +32,39 @@ class SearchController extends AbstractAction
32 */ 32 */
33 public function listAction() 33 public function listAction()
34 { 34 {
35 - // 过滤请求参数  
36 - $condition = filter_input_array(INPUT_GET, array(  
37 - 'query' => FILTER_DEFAULT,  
38 - 'brand' => FILTER_DEFAULT,  
39 - 'sort' => FILTER_DEFAULT,  
40 - 'msort' => FILTER_DEFAULT,  
41 - 'misort' => FILTER_DEFAULT,  
42 - 'color' => FILTER_DEFAULT,  
43 - 'size' => FILTER_DEFAULT,  
44 - 'style' => FILTER_DEFAULT,  
45 - 'price' => FILTER_DEFAULT,  
46 - 'discount' => FILTER_DEFAULT,  
47 - 'gender' => FILTER_DEFAULT,  
48 - 'p_d' => FILTER_DEFAULT,), false);  
49 -  
50 - $query = empty($condition['query']) ? null : strtolower(trim($condition['query']));  
51 - if (isset($condition['discount'])) {  
52 - $condition['p_d'] = rawurldecode($condition['discount']);  
53 - // unset($condition['discount']); 为了兼容js中传参的discount  
54 - }  
55 - // 为了兼容现在运营在用的p_d  
56 - if (isset($condition['p_d'])) {  
57 - $condition['discount'] = rawurldecode($condition['p_d']);  
58 - }  
59 - if (isset($condition['query'])) {  
60 - $condition['query'] = rawurlencode($condition['query']);  
61 - } 35 +// // 过滤请求参数
  36 +// $condition = filter_input_array(INPUT_GET, array(
  37 +// 'query' => FILTER_DEFAULT,
  38 +// 'brand' => FILTER_DEFAULT,
  39 +// 'sort' => FILTER_DEFAULT,
  40 +// 'msort' => FILTER_DEFAULT,
  41 +// 'misort' => FILTER_DEFAULT,
  42 +// 'color' => FILTER_DEFAULT,
  43 +// 'size' => FILTER_DEFAULT,
  44 +// 'style' => FILTER_DEFAULT,
  45 +// 'price' => FILTER_DEFAULT,
  46 +// 'discount' => FILTER_DEFAULT,
  47 +// 'gender' => FILTER_DEFAULT,
  48 +// 'p_d' => FILTER_DEFAULT,), false);
  49 +//
  50 +// $query = empty($condition['query']) ? null : strtolower(trim($condition['query']));
  51 +// if (isset($condition['discount'])) {
  52 +// $condition['p_d'] = rawurldecode($condition['discount']);
  53 +// // unset($condition['discount']); 为了兼容js中传参的discount
  54 +// }
  55 +// // 为了兼容现在运营在用的p_d
  56 +// if (isset($condition['p_d'])) {
  57 +// $condition['discount'] = rawurldecode($condition['p_d']);
  58 +// }
  59 +// if (isset($condition['query'])) {
  60 +// $condition['query'] = rawurlencode($condition['query']);
  61 +// }
  62 +
  63 + $query = $this->get('query', '');
  64 + $query = is_string($query) ? '' : strtolower(trim($query));
62 65
63 // 标识用户是否有输入搜索内容 66 // 标识用户是否有输入搜索内容
64 - $haveQuery = $query !== null; 67 + $haveQuery = $query !== '';
65 // 标识用户搜的是不是一级品类 68 // 标识用户搜的是不是一级品类
66 $isQueryFirstClass = false; 69 $isQueryFirstClass = false;
67 // 标识用户搜的是不是二级品类 70 // 标识用户搜的是不是二级品类
@@ -129,13 +132,14 @@ class SearchController extends AbstractAction @@ -129,13 +132,14 @@ class SearchController extends AbstractAction
129 } while (false); 132 } while (false);
130 133
131 $classNames = array(); 134 $classNames = array();
132 - } else {  
133 - $condition['query'] = '';  
134 - } 135 + }
  136 +// else {
  137 +// $condition['query'] = '';
  138 +// }
135 139
136 $data = array(); 140 $data = array();
137 $data['goodListPage'] = true; 141 $data['goodListPage'] = true;
138 - $data['goodList'] = $condition; 142 + //$data['goodList'] = $condition;
139 $data['query'] = $query; 143 $data['query'] = $query;
140 // 搜索是一级品类 144 // 搜索是一级品类
141 if ($isQueryFirstClass) { 145 if ($isQueryFirstClass) {
@@ -229,6 +233,10 @@ class SearchController extends AbstractAction @@ -229,6 +233,10 @@ class SearchController extends AbstractAction
229 if (isset($condition['misort'])) { 233 if (isset($condition['misort'])) {
230 $condition['misort'] = rawurldecode($condition['misort']); 234 $condition['misort'] = rawurldecode($condition['misort']);
231 } 235 }
  236 + // 转义颜色
  237 + if (isset($condition['color'])) {
  238 + $condition['color'] = rawurldecode($condition['color']);
  239 + }
232 // 转义价格 240 // 转义价格
233 if (isset($condition['price'])) { 241 if (isset($condition['price'])) {
234 $condition['price'] = rawurldecode($condition['price']); 242 $condition['price'] = rawurldecode($condition['price']);
@@ -237,8 +245,12 @@ class SearchController extends AbstractAction @@ -237,8 +245,12 @@ class SearchController extends AbstractAction
237 if (isset($condition['style'])) { 245 if (isset($condition['style'])) {
238 $condition['style'] = rawurldecode($condition['style']); 246 $condition['style'] = rawurldecode($condition['style']);
239 } 247 }
  248 + // 为了兼容现在运营在用的p_d
  249 + if (isset($condition['p_d'])) {
  250 + $condition['p_d'] = rawurldecode($condition['p_d']);
  251 + }
240 // 转换折扣 252 // 转换折扣
241 - if (isset($condition['discount'])) { 253 + elseif (isset($condition['discount'])) {
242 $condition['p_d'] = rawurldecode($condition['discount']); 254 $condition['p_d'] = rawurldecode($condition['discount']);
243 unset($condition['discount']); 255 unset($condition['discount']);
244 } 256 }
@@ -312,8 +324,24 @@ class SearchController extends AbstractAction @@ -312,8 +324,24 @@ class SearchController extends AbstractAction
312 if (isset($condition['sort'])) { 324 if (isset($condition['sort'])) {
313 $condition['sort'] = rawurldecode($condition['sort']); 325 $condition['sort'] = rawurldecode($condition['sort']);
314 } 326 }
  327 + // 转义分类
  328 + if (isset($condition['msort'])) {
  329 + $condition['msort'] = rawurldecode($condition['msort']);
  330 + }
  331 + // 转义分类
  332 + if (isset($condition['misort'])) {
  333 + $condition['misort'] = rawurldecode($condition['misort']);
  334 + }
  335 + // 转义颜色
  336 + if (isset($condition['color'])) {
  337 + $condition['color'] = rawurldecode($condition['color']);
  338 + }
  339 + // 为了兼容现在运营在用的p_d
  340 + if (isset($condition['p_d'])) {
  341 + $condition['p_d'] = rawurldecode($condition['p_d']);
  342 + }
315 // 转换折扣 343 // 转换折扣
316 - if (isset($condition['discount'])) { 344 + elseif (isset($condition['discount'])) {
317 $condition['p_d'] = rawurldecode($condition['discount']); 345 $condition['p_d'] = rawurldecode($condition['discount']);
318 unset($condition['discount']); 346 unset($condition['discount']);
319 } 347 }
@@ -281,7 +281,7 @@ class DetailModel @@ -281,7 +281,7 @@ class DetailModel
281 } 281 }
282 282
283 // 测量方式 283 // 测量方式
284 - if (isset($sizeInfo['sizeImage'])) { 284 + if (!empty($sizeInfo['sizeImage'])) {
285 $result['measurementMethod'] = array( 285 $result['measurementMethod'] = array(
286 'title' => '测量方式', 286 'title' => '测量方式',
287 'enTitle' => 'MEASUREMENT METHOD', 287 'enTitle' => 'MEASUREMENT METHOD',
@@ -23,66 +23,66 @@ class IndexController extends AbstractAction @@ -23,66 +23,66 @@ class IndexController extends AbstractAction
23 */ 23 */
24 public function indexAction() 24 public function indexAction()
25 { 25 {
26 - // 过滤请求参数  
27 - $condition = filter_input_array(INPUT_GET, array(  
28 - 'brand' => FILTER_DEFAULT,  
29 - 'sort' => FILTER_DEFAULT,  
30 - 'msort' => FILTER_DEFAULT,  
31 - 'misort' => FILTER_DEFAULT,  
32 - 'color' => FILTER_DEFAULT,  
33 - 'size' => FILTER_DEFAULT,  
34 - 'style' => FILTER_DEFAULT,  
35 - 'price' => FILTER_DEFAULT,  
36 - 'discount' => FILTER_DEFAULT,  
37 - 'gender' => FILTER_DEFAULT,  
38 - 'p_d' => FILTER_DEFAULT,), false);  
39 -  
40 - // 转义品牌  
41 - if (isset($condition['brand'])) {  
42 - $condition['brand'] = rawurldecode($condition['brand']);  
43 - }  
44 - // 转义分类  
45 - if (isset($condition['sort'])) {  
46 - $condition['sort'] = rawurldecode($condition['sort']);  
47 - }  
48 - // 转义一级分类  
49 - if (isset($condition['msort'])) {  
50 - $condition['msort'] = rawurldecode($condition['msort']);  
51 - }  
52 - // 转义二级分类  
53 - if (isset($condition['misort'])) {  
54 - $condition['misort'] = rawurldecode($condition['misort']);  
55 - }  
56 - // 转义颜色  
57 - if (isset($condition['color'])) {  
58 - $condition['color'] = rawurldecode($condition['color']);  
59 - }  
60 - // 转义尺码  
61 - if (isset($condition['size'])) {  
62 - $condition['size'] = rawurldecode($condition['size']);  
63 - }  
64 - // 转义风格  
65 - if (isset($condition['style'])) {  
66 - $condition['style'] = rawurldecode($condition['style']);  
67 - }  
68 - // 转义价格  
69 - if (isset($condition['price'])) {  
70 - $condition['price'] = rawurldecode($condition['price']);  
71 - }  
72 - // 转换折扣  
73 - if (isset($condition['discount'])) {  
74 - $condition['p_d'] = rawurldecode($condition['discount']);  
75 - }  
76 - // 为了兼容现在运营在用的p_d  
77 - if (isset($condition['p_d'])) {  
78 - $condition['discount'] = rawurldecode($condition['p_d']);  
79 - }  
80 - // 性别参数,不传则从COOKIE获取  
81 - if (!isset($condition['gender'])) {  
82 - $condition['gender'] = Helpers::getGenderByCookie();  
83 - } else {  
84 - $condition['gender'] = rawurldecode($condition['gender']);  
85 - } 26 +// // 过滤请求参数
  27 +// $condition = filter_input_array(INPUT_GET, array(
  28 +// 'brand' => FILTER_DEFAULT,
  29 +// 'sort' => FILTER_DEFAULT,
  30 +// 'msort' => FILTER_DEFAULT,
  31 +// 'misort' => FILTER_DEFAULT,
  32 +// 'color' => FILTER_DEFAULT,
  33 +// 'size' => FILTER_DEFAULT,
  34 +// 'style' => FILTER_DEFAULT,
  35 +// 'price' => FILTER_DEFAULT,
  36 +// 'discount' => FILTER_DEFAULT,
  37 +// 'gender' => FILTER_DEFAULT,
  38 +// 'p_d' => FILTER_DEFAULT,), false);
  39 +//
  40 +// // 转义品牌
  41 +// if (isset($condition['brand'])) {
  42 +// $condition['brand'] = rawurldecode($condition['brand']);
  43 +// }
  44 +// // 转义分类
  45 +// if (isset($condition['sort'])) {
  46 +// $condition['sort'] = rawurldecode($condition['sort']);
  47 +// }
  48 +// // 转义一级分类
  49 +// if (isset($condition['msort'])) {
  50 +// $condition['msort'] = rawurldecode($condition['msort']);
  51 +// }
  52 +// // 转义二级分类
  53 +// if (isset($condition['misort'])) {
  54 +// $condition['misort'] = rawurldecode($condition['misort']);
  55 +// }
  56 +// // 转义颜色
  57 +// if (isset($condition['color'])) {
  58 +// $condition['color'] = rawurldecode($condition['color']);
  59 +// }
  60 +// // 转义尺码
  61 +// if (isset($condition['size'])) {
  62 +// $condition['size'] = rawurldecode($condition['size']);
  63 +// }
  64 +// // 转义风格
  65 +// if (isset($condition['style'])) {
  66 +// $condition['style'] = rawurldecode($condition['style']);
  67 +// }
  68 +// // 转义价格
  69 +// if (isset($condition['price'])) {
  70 +// $condition['price'] = rawurldecode($condition['price']);
  71 +// }
  72 +// // 转换折扣
  73 +// if (isset($condition['discount'])) {
  74 +// $condition['p_d'] = rawurldecode($condition['discount']);
  75 +// }
  76 +// // 为了兼容现在运营在用的p_d
  77 +// if (isset($condition['p_d'])) {
  78 +// $condition['discount'] = rawurldecode($condition['p_d']);
  79 +// }
  80 +// // 性别参数,不传则从COOKIE获取
  81 +// if (!isset($condition['gender'])) {
  82 +// $condition['gender'] = Helpers::getGenderByCookie();
  83 +// } else {
  84 +// $condition['gender'] = rawurldecode($condition['gender']);
  85 +// }
86 86
87 // 品类名称参数, 不传则默认为全部 87 // 品类名称参数, 不传则默认为全部
88 $name = $this->get('sort_name'); 88 $name = $this->get('sort_name');
@@ -92,16 +92,13 @@ class IndexController extends AbstractAction @@ -92,16 +92,13 @@ class IndexController extends AbstractAction
92 $this->setTitle($name); 92 $this->setTitle($name);
93 $this->setNavHeader($name, true, SITE_MAIN); 93 $this->setNavHeader($name, true, SITE_MAIN);
94 94
95 - if (!$condition) {  
96 - $condition = array();  
97 - }  
98 - $goodList = $condition; 95 +// if (!$condition) {
  96 +// $condition = array();
  97 +// }
  98 +// $goodList = $condition;
  99 + $goodList = array();
99 $goodList['cartUrl'] = Helpers::url('/cart/index/index', null); 100 $goodList['cartUrl'] = Helpers::url('/cart/index/index', null);
100 101
101 -// $goodList = Product\ListModel::getClassData($condition);  
102 -// if (!empty($condition) && !empty($goodList)) {  
103 -// $goodList = array_merge($goodList, $condition);  
104 -// }  
105 $this->_view->display('index', array( 102 $this->_view->display('index', array(
106 'goodListPage' => true, 103 'goodListPage' => true,
107 'showDownloadApp' => true, 104 'showDownloadApp' => true,
@@ -150,64 +147,64 @@ class IndexController extends AbstractAction @@ -150,64 +147,64 @@ class IndexController extends AbstractAction
150 $from = $this->get('from'); 147 $from = $this->get('from');
151 $query = $this->get('query'); 148 $query = $this->get('query');
152 149
153 - /* 过滤请求参数 */  
154 - $condition = filter_input_array(INPUT_GET, array(  
155 - 'sort' => FILTER_DEFAULT,  
156 - 'msort' => FILTER_DEFAULT,  
157 - 'misort' => FILTER_DEFAULT,  
158 - 'color' => FILTER_DEFAULT,  
159 - 'size' => FILTER_DEFAULT,  
160 - 'style' => FILTER_DEFAULT,  
161 - 'price' => FILTER_DEFAULT,  
162 - 'discount' => FILTER_DEFAULT,  
163 - 'gender' => FILTER_DEFAULT,  
164 - 'p_d' => FILTER_DEFAULT,), false);  
165 - $condition['brand'] = $brandId;  
166 - // 转义分类  
167 - if (isset($condition['sort'])) {  
168 - $condition['sort'] = rawurldecode($condition['sort']);  
169 - }  
170 - // 转义一级分类  
171 - if (isset($condition['msort'])) {  
172 - $condition['msort'] = rawurldecode($condition['msort']);  
173 - }  
174 - // 转义二级分类  
175 - if (isset($condition['misort'])) {  
176 - $condition['misort'] = rawurldecode($condition['misort']);  
177 - }  
178 - // 转义颜色  
179 - if (isset($condition['color'])) {  
180 - $condition['color'] = rawurldecode($condition['color']);  
181 - }  
182 - // 转义尺码  
183 - if (isset($condition['size'])) {  
184 - $condition['size'] = rawurldecode($condition['size']);  
185 - }  
186 - // 转义风格  
187 - if (isset($condition['style'])) {  
188 - $condition['style'] = rawurldecode($condition['style']);  
189 - }  
190 - // 转义价格  
191 - if (isset($condition['price'])) {  
192 - $condition['price'] = rawurldecode($condition['price']);  
193 - }  
194 - // 转换折扣  
195 - if (isset($condition['discount'])) {  
196 - $condition['p_d'] = rawurldecode($condition['discount']);  
197 - }  
198 - // 为了兼容现在运营在用的p_d  
199 - if (isset($condition['p_d'])) {  
200 - $condition['discount'] = rawurldecode($condition['p_d']);  
201 - }  
202 - if ($brandId === 0) {  
203 - $condition['query'] = $domain;  
204 - }  
205 -  
206 - if (isset($condition['gender'])) {  
207 - $condition['gender'] = rawurldecode($condition['gender']);  
208 - } else {  
209 - $condition['gender'] = Helpers::getGenderByCookie();  
210 - } 150 +// /* 过滤请求参数 */
  151 +// $condition = filter_input_array(INPUT_GET, array(
  152 +// 'sort' => FILTER_DEFAULT,
  153 +// 'msort' => FILTER_DEFAULT,
  154 +// 'misort' => FILTER_DEFAULT,
  155 +// 'color' => FILTER_DEFAULT,
  156 +// 'size' => FILTER_DEFAULT,
  157 +// 'style' => FILTER_DEFAULT,
  158 +// 'price' => FILTER_DEFAULT,
  159 +// 'discount' => FILTER_DEFAULT,
  160 +// 'gender' => FILTER_DEFAULT,
  161 +// 'p_d' => FILTER_DEFAULT,), false);
  162 +// $condition['brand'] = $brandId;
  163 +// // 转义分类
  164 +// if (isset($condition['sort'])) {
  165 +// $condition['sort'] = rawurldecode($condition['sort']);
  166 +// }
  167 +// // 转义一级分类
  168 +// if (isset($condition['msort'])) {
  169 +// $condition['msort'] = rawurldecode($condition['msort']);
  170 +// }
  171 +// // 转义二级分类
  172 +// if (isset($condition['misort'])) {
  173 +// $condition['misort'] = rawurldecode($condition['misort']);
  174 +// }
  175 +// // 转义颜色
  176 +// if (isset($condition['color'])) {
  177 +// $condition['color'] = rawurldecode($condition['color']);
  178 +// }
  179 +// // 转义尺码
  180 +// if (isset($condition['size'])) {
  181 +// $condition['size'] = rawurldecode($condition['size']);
  182 +// }
  183 +// // 转义风格
  184 +// if (isset($condition['style'])) {
  185 +// $condition['style'] = rawurldecode($condition['style']);
  186 +// }
  187 +// // 转义价格
  188 +// if (isset($condition['price'])) {
  189 +// $condition['price'] = rawurldecode($condition['price']);
  190 +// }
  191 +// // 转换折扣
  192 +// if (isset($condition['discount'])) {
  193 +// $condition['p_d'] = rawurldecode($condition['discount']);
  194 +// }
  195 +// // 为了兼容现在运营在用的p_d
  196 +// if (isset($condition['p_d'])) {
  197 +// $condition['discount'] = rawurldecode($condition['p_d']);
  198 +// }
  199 +// if ($brandId === 0) {
  200 +// $condition['query'] = $domain;
  201 +// }
  202 +//
  203 +// if (isset($condition['gender'])) {
  204 +// $condition['gender'] = rawurldecode($condition['gender']);
  205 +// } else {
  206 +// $condition['gender'] = Helpers::getGenderByCookie();
  207 +// }
211 208
212 $data = array(); 209 $data = array();
213 $data['goodListPage'] = true; 210 $data['goodListPage'] = true;
@@ -228,7 +225,7 @@ class IndexController extends AbstractAction @@ -228,7 +225,7 @@ class IndexController extends AbstractAction
228 225
229 // 右下角的购物车链接 226 // 右下角的购物车链接
230 $data['goodList']['cartUrl'] = Helpers::url('/cart/index/index', null); 227 $data['goodList']['cartUrl'] = Helpers::url('/cart/index/index', null);
231 - $data['goodList'] += $condition; 228 + //$data['goodList'] += $condition;
232 $data['pageFooter'] = true; 229 $data['pageFooter'] = true;
233 230
234 if ($title === '') { 231 if ($title === '') {