Authored by Lynnic

pull confict

  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="good-list-page yoho-page">
  67 +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodList')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('search')), $in, false, function($cx, $in) {return ' <div id="search-input" class="search-input">
  68 + <form id="search-form" action="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" method="get">
  69 + <i class="search-icon iconfont">&#xe60f;</i>
  70 + <input type="text" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('default')), ENT_QUOTES, 'UTF-8').'" name="query">
  71 + <input type="hidden" value="search" name="from">
  72 + <i class="clear-input iconfont hide">&#xe626;</i>
  73 + <span id="search" class="search" type="submit">搜索</span>
  74 + </form>
  75 + </div>
  76 +';}).'
  77 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('brandWay')), $in, false, function($cx, $in) {return ' <div class="brand-way">
  78 + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'>
  79 + <img class="brand-thumb" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'>
  80 + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span>
  81 + <span class="entry">
  82 + 进入品牌
  83 + <i class="iconfont">&#xe614;</i>
  84 + </span>
  85 + </a>
  86 + </div>
  87 +';}).'
  88 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('brandHome')), $in, false, function($cx, $in) {return ' <div id="brand-header" class="brand-header" data-id='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'>
  89 + <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('banner')), ENT_QUOTES, 'UTF-8').'>
  90 + <a class="btn-intro" href="javascript:void(0);">
  91 + 品牌介绍
  92 + </a>
  93 + <a class="btn-col'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('collected')))) ? ' coled' : '').'" href="javascript:void(0);">
  94 + <span class="iconfont">&#xe622;</span>
  95 + <span class="txt"></span>
  96 + </a>
  97 + </div>
  98 + <div id="intro-box" class="brand-intro-box hide">
  99 + <div id="brand-intro" class="brand-intro">
  100 + <h2>品牌介绍</h2>
  101 + <div class="con">
  102 + '.Plugin\LCRun3::v($cx, $in, array('intro')).'
  103 + </div>
  104 + <p class="fo">
  105 + <span class="iconfont">&#xe629;</span>
  106 + 100%品牌授权正品
  107 + </p>
  108 + <span class="iconfont close-intro">&#xe623;</span>
  109 + </div>
  110 + </div>
  111 +';}).'
  112 + <ul id="list-nav" class="list-nav clearfix">
  113 + <li class="new active">
  114 + <a href="javascript:void(0);">
  115 + <span class="nav-txt">最新</span>
  116 + <span class="iconfont cur">&#xe616;</span>
  117 + </a>
  118 + </li>
  119 + <li class="price">
  120 + <a href="javascript:void(0);">
  121 + <span class="nav-txt">价格</span>
  122 + <span class="icon">
  123 + <i class="iconfont up">&#xe615;</i>
  124 + <i class="iconfont down cur">&#xe616;</i>
  125 + </span>
  126 + </a>
  127 + </li>
  128 + <li class="discount">
  129 + <a href="javascript:void(0);">
  130 + <span class="nav-txt">折扣</span>
  131 + <span class="icon">
  132 + <i class="iconfont up">&#xe615;</i>
  133 + <i class="iconfont down cur">&#xe616;</i>
  134 + </span>
  135 + </a>
  136 + </li>
  137 + <li class="filter">
  138 + <a href="javascript:void(0);">
  139 + <span class="nav-txt">筛选</span>
  140 + <span class="iconfont cur">&#xe613;</span>
  141 + </a>
  142 + </li>
  143 + </ul>
  144 + <div id="goods-container" class="goods-container">
  145 + <div class="new-goods container clearfix"></div>
  146 + <div class="price-goods container clearfix hide"></div>
  147 + <div class="discount-goods container clearfix hide"></div>
  148 +
  149 +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide">
  150 + <div class="filter-body">
  151 + <ul class="classify">
  152 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('classify')), $in, true, function($cx, $in) {return ' <li class="classify-item'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' active' : '').'">
  153 + <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'">
  154 + <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span>
  155 + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'
  156 + </p>
  157 + <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'>
  158 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subs')), $in, false, function($cx, $in) {return ' <li class="sub-item'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? ' chosed' : '').'" data-id='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataId')), ENT_QUOTES, 'UTF-8').'>
  159 + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'
  160 + <i class="iconfont chosed-icon">&#xe617;</i>
  161 + </li>
  162 +';}).' </ul>
  163 + </li>
  164 +';}).' </ul>
  165 + </div>
  166 + </div>
  167 + ';}).''.' </div>
  168 +
  169 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brand')))) ? ' <input id="brand" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('brand')), ENT_QUOTES, 'UTF-8').'>
  170 +' : '').'
  171 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('gender')))) ? ' <input id="gender" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('gender')), ENT_QUOTES, 'UTF-8').'>
  172 +' : '').'
  173 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('sort')))) ? ' <input id="sort" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sort')), ENT_QUOTES, 'UTF-8').'>
  174 +' : '').'
  175 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('msort')))) ? ' <input id="msort" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('msort')), ENT_QUOTES, 'UTF-8').'>
  176 +' : '').'
  177 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('misort')))) ? ' <input id="misort" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('misort')), ENT_QUOTES, 'UTF-8').'>
  178 +' : '').'
  179 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <input id="color" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').'>
  180 +' : '').'
  181 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <input id="size" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').'>
  182 +' : '').'
  183 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' <input id="price" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'>
  184 +' : '').'
  185 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discount')))) ? ' <input id="discount" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('discount')), ENT_QUOTES, 'UTF-8').'>
  186 +' : '').'
  187 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('query')))) ? ' <input id="query" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('query')), ENT_QUOTES, 'UTF-8').'>
  188 +' : '').'
  189 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('style')))) ? ' <input id="style" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('style')), ENT_QUOTES, 'UTF-8').'>
  190 +' : '').'
  191 +'.' <div id="suspend-cart" class="suspend-cart">
  192 + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'>
  193 + <span class="iconfont">&#xe62c;</span>
  194 + </a>
  195 + <span class="cart-count hide">0</span>
  196 + </div>'.' ';}).''.'</div>
  197 +'.''.''.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">
  198 + <p class="op-row">
  199 + <span class="back-to-top">
  200 + Back to top
  201 + <i class="iconfont">&#xe608;</i>
  202 + </span>
  203 + </p>
  204 + <address class="copyright">
  205 + CopyRight©2007-2016 南京新与力文化传播有限公司
  206 + </address>
  207 +</footer>
  208 +';}).'
  209 +'.''.''.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">
  210 + <div class="float-layer-left">
  211 + <span class="yoho-icon iconfont">&#xe60d;</span>
  212 + <p>新用户送千元礼包</p>
  213 + </div>
  214 + <a href="javascript:void(0);" id="float-layer-close" >
  215 + <i class="close-icon iconfont">&#xe623;</i>
  216 + <div class="circle-rightbottom"></div>
  217 + </a>
  218 + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">
  219 + 立即下载
  220 + </a>
  221 +</div>
  222 +';}).'
  223 +
  224 + '.''.((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>
  225 +' : '').''.((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>
  226 +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
  227 +' : '').''.((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>
  228 +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
  229 +' : '').''.((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>
  230 +<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>
  231 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
  232 +<script>seajs.config({base: \'http://localhost:8000/\'});</script>
  233 +' : '').'<script type="text/javascript">
  234 + (function(w,d,s,j,f){
  235 + w[\'YohoAcquisitionObject\']=f;
  236 + w[f]=function(){w[f].p=arguments;};
  237 + var a=d.createElement(s);
  238 + var m=d.getElementsByTagName(s)[0];
  239 + a.async=1;
  240 + a.src=j;
  241 + m.parentNode.insertBefore(a,m);
  242 + })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\');
  243 +</script>
  244 +'.'<script>
  245 + seajs.use(\'js/common\');
  246 +</script>
  247 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script>
  248 + seajs.use(\'js/guang/plus-star/list\');
  249 +</script>
  250 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script>
  251 + seajs.use(\'js/guang/plus-star/detail\');
  252 +</script>
  253 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script>
  254 + seajs.use(\'js/guang/home\');
  255 +</script>
  256 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script>
  257 + seajs.use(\'js/guang/list\');
  258 +</script>
  259 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script>
  260 + seajs.use(\'js/guang/detail\', function(d) {
  261 + d.i(true);
  262 + });
  263 +</script>
  264 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script>
  265 + seajs.use(\'js/guang/detail\', function(d) {
  266 + d.i(false);
  267 + });
  268 +</script>
  269 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script>
  270 + seajs.use(\'js/passport/register/register\');
  271 +</script>
  272 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script>
  273 + seajs.use(\'js/passport/register/code\');
  274 +</script>
  275 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script>
  276 + seajs.use(\'js/passport/register/password\');
  277 +</script>
  278 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script>
  279 + seajs.use(\'js/passport/login/login\');
  280 +</script>
  281 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script>
  282 + seajs.use(\'js/passport/login/international\');
  283 +</script>
  284 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script>
  285 + seajs.use(\'js/passport/back/email\');
  286 +</script>
  287 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script>
  288 + seajs.use(\'js/passport/back/email-success\');
  289 +</script>
  290 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script>
  291 + seajs.use(\'js/passport/back/mobile\');
  292 +</script>
  293 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script>
  294 + seajs.use(\'js/passport/back/code\');
  295 +</script>
  296 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script>
  297 + seajs.use(\'js/passport/back/new-password\');
  298 +</script>
  299 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script>
  300 + seajs.use(\'js/index/channel\');
  301 + seajs.use(\'js/index/footer\');
  302 +</script>
  303 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script>
  304 + seajs.use(\'js/home/home\', function(h) {
  305 + h.set(\'girls\');
  306 + });
  307 + seajs.use(\'js/index/footer\');
  308 +</script>
  309 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script>
  310 + seajs.use(\'js/home/home\', function(h) {
  311 + h.set(\'boys\');
  312 + });
  313 + seajs.use(\'js/index/footer\');
  314 +</script>
  315 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script>
  316 + seajs.use(\'js/home/home\', function(h) {
  317 + h.set(\'kids\');
  318 + });
  319 + seajs.use(\'js/index/footer\');
  320 +</script>
  321 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script>
  322 + seajs.use(\'js/home/home\', function(h) {
  323 + h.set(\'lifestyle\');
  324 + });
  325 + seajs.use(\'js/index/footer\');
  326 +</script>
  327 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script>
  328 + seajs.use(\'js/product/newsale/newarrival\');
  329 + seajs.use(\'js/index/footer\');
  330 +</script>
  331 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script>
  332 + seajs.use(\'js/product/newsale/discount\');
  333 + seajs.use(\'js/index/footer\');
  334 +</script>
  335 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script>
  336 + seajs.use(\'js/product/list\');
  337 + seajs.use(\'js/index/footer\');
  338 +</script>
  339 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script>
  340 + seajs.use(\'js/product/detail/detail\');
  341 +</script>
  342 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script>
  343 + seajs.use(\'js/category/index\');
  344 + seajs.use(\'js/index/footer\');
  345 +</script>
  346 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script>
  347 + seajs.use(\'js/category/brand\');
  348 + seajs.use(\'js/index/footer\');
  349 +</script>
  350 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script>
  351 + seajs.use(\'js/index/search\');
  352 + seajs.use(\'js/index/footer\');
  353 +</script>
  354 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script>
  355 + seajs.use(\'js/shopping-cart/cart\');
  356 +</script>
  357 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script>
  358 + seajs.use(\'js/shopping-cart/gift-advance\');
  359 +</script>
  360 +' : '').''.''.'<!-- Google Tag Manager -->
  361 +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  362 +<script>
  363 + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
  364 + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
  365 + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
  366 + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
  367 + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
  368 +</script>
  369 +<!-- End Google Tag Manager -->
  370 +<script type="text/javascript">
  371 + var _hmt = _hmt || [];
  372 + (function() {
  373 + var hm = document.createElement("script");
  374 + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
  375 + var s = document.getElementsByTagName("script")[0];
  376 + s.parentNode.insertBefore(hm, s);
  377 + })();
  378 +</script>
  379 +<script>
  380 + var _hmt = _hmt || [];
  381 + (function() {
  382 + var hm = document.createElement("script");
  383 + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
  384 + var s = document.getElementsByTagName("script")[0];
  385 + s.parentNode.insertBefore(hm, s);
  386 + })();
  387 +</script>
  388 +<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script>
  389 +<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script>
  390 +'.'</body>
  391 +</html>'.'';
  392 +}
  393 +?>
  1 +该目录存放模板预编译文件
@@ -118,6 +118,10 @@ class TemplateLayout implements View_Interface @@ -118,6 +118,10 @@ class TemplateLayout implements View_Interface
118 } 118 }
119 // 应用版本号 119 // 应用版本号
120 $tpl_vars['version'] = $config->version; 120 $tpl_vars['version'] = $config->version;
  121 + // JS统计代码的版本号
  122 + if (isset($config->yas->version)) {
  123 + $tpl_vars['yas_version'] = $config->yas->version;
  124 + }
121 125
122 // SEO相关的标题、关键词、描述内容信息 126 // SEO相关的标题、关键词、描述内容信息
123 if (!empty($tpl_vars['title_more'])) { 127 if (!empty($tpl_vars['title_more'])) {
@@ -45,7 +45,7 @@ $fixTitleBar.css({ @@ -45,7 +45,7 @@ $fixTitleBar.css({
45 minBrandListTop = brandSwipe + $('.hot-brand').outerHeight() + $('.banner-top').outerHeight(); 45 minBrandListTop = brandSwipe + $('.hot-brand').outerHeight() + $('.banner-top').outerHeight();
46 $brandList.last().append($fixTitleBar); 46 $brandList.last().append($fixTitleBar);
47 47
48 -$(window).scroll(function() { 48 +function scrollHandler() {
49 var scrTop = $(window).scrollTop(); 49 var scrTop = $(window).scrollTop();
50 50
51 if ($brandList.eq(0).offset().top < minBrandListTop) { 51 if ($brandList.eq(0).offset().top < minBrandListTop) {
@@ -62,6 +62,10 @@ $(window).scroll(function() { @@ -62,6 +62,10 @@ $(window).scroll(function() {
62 } 62 }
63 63
64 }); 64 });
  65 +}
  66 +
  67 +$(window).scroll(function() {
  68 + window.requestAnimationFrame(scrollHandler);
65 }); 69 });
66 70
67 function changeBackground() { 71 function changeBackground() {
@@ -107,12 +107,16 @@ $nav.on('touchend touchcancel', function(e) { @@ -107,12 +107,16 @@ $nav.on('touchend touchcancel', function(e) {
107 } 107 }
108 }); 108 });
109 109
110 -$(document).scroll(function() { 110 +function scrollHandler() {
111 var $c = $infos.not('.hide'); 111 var $c = $infos.not('.hide');
112 112
113 if ($(window).scrollTop() + winH >= $(document).height() - 0.25 * $c.height()) { 113 if ($(window).scrollTop() + winH >= $(document).height() - 0.25 * $c.height()) {
114 loadMore($c, state[curType]); 114 loadMore($c, state[curType]);
115 } 115 }
  116 +}
  117 +
  118 +$(window).scroll(function() {
  119 + window.requestAnimationFrame(scrollHandler);
116 }); 120 });
117 121
118 $nav.on('touchstart', function(e) { 122 $nav.on('touchstart', function(e) {
@@ -40,8 +40,12 @@ if ($tag.length > 0) { @@ -40,8 +40,12 @@ if ($tag.length > 0) {
40 }); 40 });
41 } 41 }
42 42
43 -$(document).scroll(function() { 43 +function scrollHandler() {
44 if ($(window).scrollTop() + winH >= $(document).height() - 0.25 * $infos.height()) { 44 if ($(window).scrollTop() + winH >= $(document).height() - 0.25 * $infos.height()) {
45 loadMore($infos, setting); 45 loadMore($infos, setting);
46 } 46 }
  47 +}
  48 +
  49 +$(window).scroll(function() {
  50 + window.requestAnimationFrame(scrollHandler);
47 }); 51 });
@@ -133,13 +133,17 @@ function search() { @@ -133,13 +133,17 @@ function search() {
133 }); 133 });
134 } 134 }
135 135
136 -$('.maybe-like p').on('touchstart', function (e) { 136 +$('.maybe-like p').on('touchstart', function(e) {
137 search(); 137 search();
138 }); 138 });
139 139
140 //srcoll to load more 140 //srcoll to load more
141 -$(window).scroll(function () { 141 +function scrollHandler() {
142 if ($(window).scrollTop() + winH >= $(document).height() - 50) { 142 if ($(window).scrollTop() + winH >= $(document).height() - 50) {
143 search(); 143 search();
144 } 144 }
  145 +}
  146 +
  147 +$(window).scroll(function() {
  148 + window.requestAnimationFrame(scrollHandler);
145 }); 149 });
@@ -19,6 +19,15 @@ var $search = $searchBox.children('input[type="text"]'), @@ -19,6 +19,15 @@ var $search = $searchBox.children('input[type="text"]'),
19 $cancelSearch = $box.children('.no-search'), 19 $cancelSearch = $box.children('.no-search'),
20 $searchIcon = $searchBox.children('.search-icon'); 20 $searchIcon = $searchBox.children('.search-icon');
21 21
  22 +// variables for calculate the app download layer position
  23 +var layerInit = false,
  24 + windowViewHeight = 0,
  25 + layerContentHeight = $appFloatLayer.height(),
  26 + layerPaddingTop = parseInt($appFloatLayer.css('padding-top')),
  27 + layerPaddingBottom = parseInt($appFloatLayer.css('padding-bottom')),
  28 + layerHeight = layerContentHeight + layerPaddingTop + layerPaddingBottom,
  29 + layerNewPos;
  30 +
22 require('../common'); 31 require('../common');
23 32
24 $search.on('focus', function() { 33 $search.on('focus', function() {
@@ -45,7 +54,11 @@ $searchBox.children('.clear-text').on('touchstart', function() { @@ -45,7 +54,11 @@ $searchBox.children('.clear-text').on('touchstart', function() {
45 54
46 $searchBox.children('.search-icon').on('touchstart', function() { 55 $searchBox.children('.search-icon').on('touchstart', function() {
47 if (security.hasDangerInput()) { 56 if (security.hasDangerInput()) {
  57 +<<<<<<< HEAD
  58 + return false;
  59 +=======
48 return false; 60 return false;
  61 +>>>>>>> 3685878e28b5f0a7fbf2ebdb250a96a5ecc47f52
49 } 62 }
50 $indexSearch.submit(); 63 $indexSearch.submit();
51 }); 64 });
@@ -72,32 +85,40 @@ $channelLink.on('touchstart', function() { @@ -72,32 +85,40 @@ $channelLink.on('touchstart', function() {
72 borderColor: '#fff' 85 borderColor: '#fff'
73 }); 86 });
74 }); 87 });
75 -var updateLayerPosition = (function() {  
76 - var init = false;  
77 - return function() {  
78 - var winHeight = window.innerHeight;  
79 - var bodyHeight = $doc.height();  
80 - var scrollTopPosition = $win.scrollTop();  
81 - var layerHeight = $appFloatLayer.height();  
82 - var layerPaddingTop = parseInt($appFloatLayer.css('padding-top'));  
83 - var layerPaddingBottom = parseInt($appFloatLayer.css('padding-bottom'));  
84 - var newPosition;  
85 - if(init){  
86 - newPosition = bodyHeight - winHeight- scrollTopPosition;  
87 - }else{  
88 - init = true;  
89 - newPosition = bodyHeight - winHeight - scrollTopPosition + layerHeight + layerPaddingTop + layerPaddingBottom; 88 +
  89 +
  90 +function updateLayerPosition() {
  91 + var winHeight = window.innerHeight,
  92 + bodyHeight = $doc.height(),
  93 + scrollTopPosition = $win.scrollTop();
  94 +
  95 + if (layerInit) {
  96 +
  97 + //keyboard is shown
  98 + if (windowViewHeight - winHeight > 200) {
  99 + if (scrollTopPosition + windowViewHeight + layerHeight >= bodyHeight) {
  100 + layerNewPos = 0;
  101 + } else {
  102 + layerNewPos = bodyHeight - windowViewHeight - scrollTopPosition - layerHeight;
90 } 103 }
  104 + } else {
  105 + layerNewPos = bodyHeight - winHeight - scrollTopPosition;
  106 + }
  107 +
  108 + } else {
  109 + windowViewHeight = winHeight;
  110 + layerNewPos = bodyHeight - winHeight - scrollTopPosition + layerHeight;
  111 + layerInit = true;
  112 + }
  113 +
91 $appFloatLayer.css({ 114 $appFloatLayer.css({
92 - 'position': 'relative',  
93 - 'bottom': newPosition + 'px' 115 + position: 'relative',
  116 + bottom: layerNewPos + 'px'
94 }); 117 });
95 - };  
96 -})(); 118 +}
97 119
98 -$win.scroll(function() {  
99 - updateLayerPosition(); 120 +$(window).scroll(function() {
  121 + window.requestAnimationFrame(updateLayerPosition);
100 }); 122 });
101 123
102 -  
103 $doc.on('ready', updateLayerPosition); 124 $doc.on('ready', updateLayerPosition);
@@ -49,7 +49,11 @@ cHammer.on('tap', function() { @@ -49,7 +49,11 @@ cHammer.on('tap', function() {
49 49
50 $('#search').on('touchend', function() { 50 $('#search').on('touchend', function() {
51 if (security.hasDangerInput()) { 51 if (security.hasDangerInput()) {
  52 +<<<<<<< HEAD
52 return false; 53 return false;
  54 +=======
  55 + return false;
  56 +>>>>>>> 3685878e28b5f0a7fbf2ebdb250a96a5ecc47f52
53 } 57 }
54 $(this).closest('form').submit(); 58 $(this).closest('form').submit();
55 return false; 59 return false;
@@ -55,7 +55,11 @@ $addressForm.on('submit', function() { @@ -55,7 +55,11 @@ $addressForm.on('submit', function() {
55 } 55 }
56 56
57 if (security.hasDangerInput(false)) { 57 if (security.hasDangerInput(false)) {
  58 +<<<<<<< HEAD
58 return false; 59 return false;
  60 +=======
  61 + return false;
  62 +>>>>>>> 3685878e28b5f0a7fbf2ebdb250a96a5ecc47f52
59 } 63 }
60 64
61 // 简单的表单校验 65 // 简单的表单校验
@@ -164,6 +168,15 @@ $addressListPage.find('.address-last').each(function(i, elem) { @@ -164,6 +168,15 @@ $addressListPage.find('.address-last').each(function(i, elem) {
164 }); 168 });
165 }); 169 });
166 170
  171 +<<<<<<< HEAD
  172 +=======
  173 +$addressListPage.on('touchstart', 'li', function() {
  174 + $(this).addClass('highlight');
  175 +}).on('touchend touchcancel', 'li', function() {
  176 + $(this).removeClass('highlight');
  177 +});
  178 +
  179 +>>>>>>> 3685878e28b5f0a7fbf2ebdb250a96a5ecc47f52
167 $('input, textarea').on('focus', function() { 180 $('input, textarea').on('focus', function() {
168 $footer.hide(); 181 $footer.hide();
169 }).on('blur', function() { 182 }).on('blur', function() {
1 var $ = require('jquery'), 1 var $ = require('jquery'),
2 - Hammer = require('yoho.hammer'); 2 + Hammer = require('yoho.hammer'),
  3 + ellipsis = require('mlellipsis');
3 var employ; 4 var employ;
4 5
  6 +ellipsis.init();
  7 +
  8 +//Żȯ2ʾ
  9 +setTimeout(function() {
  10 + $('.coupon-name').each(function() {
  11 + this.mlellipsis(2);
  12 + });
  13 +}, 0);
  14 +
5 window.rePosFooter(); 15 window.rePosFooter();
6 $('.yoho-footer').css('border-top', '1px solid #e0e0e0'); 16 $('.yoho-footer').css('border-top', '1px solid #e0e0e0');
7 $('.employ span').each(function(index) { 17 $('.employ span').each(function(index) {
@@ -12,3 +12,4 @@ require('./index'); @@ -12,3 +12,4 @@ require('./index');
12 require('./coupons'); 12 require('./coupons');
13 require('./online-service'); 13 require('./online-service');
14 require('./address'); 14 require('./address');
  15 +require('./address-act');
@@ -206,9 +206,8 @@ favContentHammer.on('tap', function(e) { @@ -206,9 +206,8 @@ favContentHammer.on('tap', function(e) {
206 }); 206 });
207 }); 207 });
208 208
209 -// 上拉加载更多  
210 -$(document).scroll(function() {  
211 209
  210 +function scrollHandler() {
212 if ($(window).scrollTop() + winH >= $(document).height() - footerH) { 211 if ($(window).scrollTop() + winH >= $(document).height() - footerH) {
213 212
214 if (brandTab) { 213 if (brandTab) {
@@ -231,4 +230,8 @@ $(document).scroll(function() { @@ -231,4 +230,8 @@ $(document).scroll(function() {
231 } 230 }
232 } 231 }
233 } 232 }
  233 +}
  234 +
  235 +$(window).scroll(function() {
  236 + window.requestAnimationFrame(scrollHandler);
234 }); 237 });
@@ -18,13 +18,17 @@ var setting = { @@ -18,13 +18,17 @@ var setting = {
18 end: false 18 end: false
19 }; 19 };
20 20
  21 +function scrollHandler() {
  22 + if ($(window).scrollTop() + winH >= $(document).height() - 0.25 * $infoList.height()) {
  23 + loadMore($infoList, setting, '/home/myguang');
  24 + }
  25 +}
  26 +
21 //对于有逛收藏的页面进行事件处理 27 //对于有逛收藏的页面进行事件处理
22 if ($infoList.length > 0) { 28 if ($infoList.length > 0) {
23 info.initInfosEvt($infoList); 29 info.initInfosEvt($infoList);
24 30
25 $(window).scroll(function() { 31 $(window).scroll(function() {
26 - if ($(window).scrollTop() + winH >= $(document).height() - 0.25 * $infoList.height()) {  
27 - loadMore($infoList, setting, '/home/myguang');  
28 - } 32 + window.requestAnimationFrame(scrollHandler);
29 }); 33 });
30 } 34 }
@@ -167,7 +167,7 @@ orderHammer.on('tap', function(e) { @@ -167,7 +167,7 @@ orderHammer.on('tap', function(e) {
167 } 167 }
168 }); 168 });
169 169
170 -$(window).scroll(function() { 170 +function scrollHandler() {
171 if (order.end === false && $(window).scrollTop() + winH > 171 if (order.end === false && $(window).scrollTop() + winH >
172 $(document).height() - 0.25 * $orderContainer.height()) { 172 $(document).height() - 0.25 * $orderContainer.height()) {
173 173
@@ -176,6 +176,10 @@ $(window).scroll(function() { @@ -176,6 +176,10 @@ $(window).scroll(function() {
176 noLoadingMask: true 176 noLoadingMask: true
177 }); 177 });
178 } 178 }
  179 +}
  180 +
  181 +$(window).scroll(function() {
  182 + window.requestAnimationFrame(scrollHandler);
179 }); 183 });
180 184
181 //初始化请求第一页数据 185 //初始化请求第一页数据
@@ -14,6 +14,7 @@ var $ = require('jquery'), @@ -14,6 +14,7 @@ var $ = require('jquery'),
14 * @return {Bool} true/false If the input have danger value 14 * @return {Bool} true/false If the input have danger value
15 */ 15 */
16 function hasDangerInput(needConvert) { 16 function hasDangerInput(needConvert) {
  17 +<<<<<<< HEAD
17 var validationPartten = /['"<>&\|]|--/g; 18 var validationPartten = /['"<>&\|]|--/g;
18 var inputs = $('input[type!=hidden], textarea'); 19 var inputs = $('input[type!=hidden], textarea');
19 var inputsLength = inputs.length; 20 var inputsLength = inputs.length;
@@ -35,6 +36,37 @@ function hasDangerInput(needConvert) { @@ -35,6 +36,37 @@ function hasDangerInput(needConvert) {
35 } 36 }
36 37
37 return false; 38 return false;
  39 +=======
  40 + var $inputs = $('input[type!=hidden], textarea');
  41 +
  42 + var validationPartten = /['"<>&\|]|--/g,
  43 + inputsLength = $inputs.length,
  44 + val,
  45 + i,
  46 + matchChars,
  47 +
  48 + // to set if the input value should be coverted, and its default value is true;
  49 + willConvert = needConvert === undefined || typeof needConvert !== 'boolean' ? true : needConvert;
  50 +
  51 +
  52 + for (i = 0; i < inputsLength; i++) {
  53 + val = $inputs.eq(i).val();
  54 + if (validationPartten.test(val)) {
  55 + if (willConvert) {
  56 + $inputs.eq(i).val(val.replace(validationPartten, ' '));
  57 + } else {
  58 + matchChars = val.match(validationPartten).join(' ');
  59 + tip.show('不可以输入 ' + matchChars + ' 哦!');
  60 + }
  61 +
  62 +
  63 + return !willConvert && true;
  64 + }
  65 + }
  66 +
  67 +
  68 + return false;
  69 +>>>>>>> 3685878e28b5f0a7fbf2ebdb250a96a5ecc47f52
38 } 70 }
39 71
40 72
@@ -22,6 +22,7 @@ require('../recommend-for-you.js'); @@ -22,6 +22,7 @@ require('../recommend-for-you.js');
22 22
23 //判断是否要显示向左滑动提示 23 //判断是否要显示向左滑动提示
24 function hiddenTips($ele) { 24 function hiddenTips($ele) {
  25 + if ($ele.length > 0) {
25 var offsetContainer = $ele[0].getBoundingClientRect().right; 26 var offsetContainer = $ele[0].getBoundingClientRect().right;
26 var offsetLastColumn = $ele.find('.swiper-slide:last-child')[0].getBoundingClientRect().right; 27 var offsetLastColumn = $ele.find('.swiper-slide:last-child')[0].getBoundingClientRect().right;
27 28
@@ -31,6 +32,7 @@ function hiddenTips($ele) { @@ -31,6 +32,7 @@ function hiddenTips($ele) {
31 } else { 32 } else {
32 $ele.next('.tips').css('display', 'block'); 33 $ele.next('.tips').css('display', 'block');
33 } 34 }
  35 + }
34 } 36 }
35 37
36 function search() { 38 function search() {
@@ -18,7 +18,11 @@ likeHammer.on('tap', function(e) { @@ -18,7 +18,11 @@ likeHammer.on('tap', function(e) {
18 var opt, 18 var opt,
19 favorite; 19 favorite;
20 20
  21 +<<<<<<< HEAD
21 var $this = $(e.target); 22 var $this = $(e.target);
  23 +=======
  24 + var $this = $(this);
  25 +>>>>>>> 3685878e28b5f0a7fbf2ebdb250a96a5ecc47f52
22 26
23 if ($this.hasClass('liked')) { 27 if ($this.hasClass('liked')) {
24 opt = 'cancel'; 28 opt = 'cancel';
@@ -362,13 +362,17 @@ $listNav.on('touchend touchcancel', function(e) { @@ -362,13 +362,17 @@ $listNav.on('touchend touchcancel', function(e) {
362 } 362 }
363 }); 363 });
364 364
365 -$(window).scroll(function() { 365 +function scrollHandler() {
366 366
367 //当scroll到1/4$goodsContainer高度后继续请求下一页数据 367 //当scroll到1/4$goodsContainer高度后继续请求下一页数据
368 if ($(window).scrollTop() + winH > 368 if ($(window).scrollTop() + winH >
369 $(document).height() - 0.25 * $goodsContainer.height()) { 369 $(document).height() - 0.25 * $goodsContainer.height()) {
370 search(); 370 search();
371 } 371 }
  372 +}
  373 +
  374 +$(window).scroll(function() {
  375 + window.requestAnimationFrame(scrollHandler);
372 }); 376 });
373 377
374 if ($brandHeader.length > 0) { 378 if ($brandHeader.length > 0) {
@@ -347,11 +347,10 @@ $listNav.on('touchend touchcancel', function(e) { @@ -347,11 +347,10 @@ $listNav.on('touchend touchcancel', function(e) {
347 search(); 347 search();
348 } 348 }
349 } 349 }
350 -  
351 e.stopPropagation(); 350 e.stopPropagation();
352 }); 351 });
353 352
354 -$(window).scroll(function() { 353 +function scrollHandler() {
355 354
356 //当scroll到1/4$goodsContainer高度后继续请求下一页数据 355 //当scroll到1/4$goodsContainer高度后继续请求下一页数据
357 if ($(window).scrollTop() + winH > 356 if ($(window).scrollTop() + winH >
@@ -360,6 +359,10 @@ $(window).scroll(function() { @@ -360,6 +359,10 @@ $(window).scroll(function() {
360 search(); 359 search();
361 } 360 }
362 } 361 }
  362 +}
  363 +
  364 +$(window).scroll(function() {
  365 + window.requestAnimationFrame(scrollHandler);
363 }); 366 });
364 367
365 //初始请求最新第一页数据 368 //初始请求最新第一页数据
@@ -53,7 +53,8 @@ function hotrank(page, sort, tabId, notab) { @@ -53,7 +53,8 @@ function hotrank(page, sort, tabId, notab) {
53 }); 53 });
54 } 54 }
55 55
56 -$(window).scroll(function () { 56 +function scrollHandler() {
  57 +
57 if (page === 2) { 58 if (page === 2) {
58 return; 59 return;
59 } 60 }
@@ -63,11 +64,15 @@ $(window).scroll(function () { @@ -63,11 +64,15 @@ $(window).scroll(function () {
63 page = 2; 64 page = 2;
64 notab = 1; 65 notab = 1;
65 hotrank(page, sort, id, notab); 66 hotrank(page, sort, id, notab);
  67 +}
66 68
  69 +$(window).scroll(function() {
  70 + window.requestAnimationFrame(scrollHandler);
67 }); 71 });
  72 +
68 hotrank(page, sort, id, notab); 73 hotrank(page, sort, id, notab);
69 hotnav = new Hammer(document.getElementById('hotRank')); 74 hotnav = new Hammer(document.getElementById('hotRank'));
70 -hotnav.on('tap', function (e) { 75 +hotnav.on('tap', function(e) {
71 var ev = ev || window.event; 76 var ev = ev || window.event;
72 var target = ev.target || ev.srcElement; 77 var target = ev.target || ev.srcElement;
73 78
@@ -359,7 +359,8 @@ $listNav.on('touchend touchcancel', function(e) { @@ -359,7 +359,8 @@ $listNav.on('touchend touchcancel', function(e) {
359 e.stopPropagation(); 359 e.stopPropagation();
360 }); 360 });
361 361
362 -$(window).scroll(function() { 362 +
  363 +function scrollHandler() {
363 364
364 //当scroll到1/4$goodsContainer高度后继续请求下一页数据 365 //当scroll到1/4$goodsContainer高度后继续请求下一页数据
365 if ($(window).scrollTop() + winH > 366 if ($(window).scrollTop() + winH >
@@ -368,6 +369,10 @@ $(window).scroll(function() { @@ -368,6 +369,10 @@ $(window).scroll(function() {
368 search(); 369 search();
369 } 370 }
370 } 371 }
  372 +}
  373 +
  374 +$(window).scroll(function() {
  375 + window.requestAnimationFrame(scrollHandler);
371 }); 376 });
372 377
373 //初始请求最新第一页数据 378 //初始请求最新第一页数据
@@ -207,10 +207,16 @@ @@ -207,10 +207,16 @@
207 font-size: pxToRem(32px); 207 font-size: pxToRem(32px);
208 line-height: pxToRem(88px); 208 line-height: pxToRem(88px);
209 border-bottom: 1px solid #e0e0e0; 209 border-bottom: 1px solid #e0e0e0;
  210 +
210 .iconfont { 211 .iconfont {
211 float: right; 212 float: right;
212 color: #d0d0d0; 213 color: #d0d0d0;
213 } 214 }
  215 +
  216 + &.highlight {
  217 + background: #eee;
  218 + }
  219 +
214 ul { 220 ul {
215 display: none; 221 display: none;
216 position: absolute; 222 position: absolute;
@@ -73,7 +73,7 @@ @@ -73,7 +73,7 @@
73 position: absolute; 73 position: absolute;
74 left: 0; 74 left: 0;
75 top:50%; 75 top:50%;
76 - @include transform(translateY(-60%)); 76 + @include transform(translateY(-50%));
77 i{ 77 i{
78 width: 100%; 78 width: 100%;
79 height: 120rem / $pxConvertRem; 79 height: 120rem / $pxConvertRem;
@@ -101,7 +101,7 @@ @@ -101,7 +101,7 @@
101 background: #444444; 101 background: #444444;
102 color: #fff; 102 color: #fff;
103 text-align: center; 103 text-align: center;
104 - margin: 32em / $pxConvertRem auto; 104 + margin: 60rem / $pxConvertRem auto 0;
105 @include border-radius(.2rem); 105 @include border-radius(.2rem);
106 106
107 } 107 }
  1 +!function(){var yas_jssdk_10132_src_config,yas_jssdk_10132_src_cross,yas_jssdk_10132_src_event,yohosizzle_222_pre_sizzle,yohojson2_100_json2,yas_jssdk_10132_src_util,yas_jssdk_10132_src_cookie,yas_jssdk_10132_src_ya,yas_jssdk_10132_yas;yas_jssdk_10132_src_config=function(e){function t(){var e=document.domain.split("."),t=e.length;return t>1&&isNaN(e[t-1])?"."+e[t-2]+"."+e[t-1]:document.domain}return e={version:"1.0",yasPath:"/web/",yasDomain:t(),yasImgDomain:"http://analytics.yhurl.com/yas.gif"}}(),yas_jssdk_10132_src_cross=function(e){var t=yas_jssdk_10132_src_config,n=t.yasPath,r=t.yasImgDomain;return e.imgSend=function(e,t){var o=new Image(1,1);o.src=r+n+"?"+e,o.onload=function(){o.onload=null,t&&t()}},e}({}),yas_jssdk_10132_src_event=function(e){return e.addEventHandler=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},e.removeEventHandler=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent("on"+t,n):delete e["on"+t]},e}({}),yohosizzle_222_pre_sizzle=function(e){return function(t){function n(e,t,n,r){var o,i,a,u,s,c,l,d,g=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:M)!==I&&L(t),t=t||I,q)){if(11!==h&&(c=yt.exec(e)))if(o=c[1]){if(9===h){if(!(a=t.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(g&&(a=g.getElementById(o))&&H(t,a)&&a.id===o)return n.push(a),n}else{if(c[2])return K.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&b.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(o)),n}if(!(!b.qsa||Y[e+" "]||B&&B.test(e))){if(1!==h)g=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((u=t.getAttribute("id"))?u=u.replace(wt,"\\$&"):t.setAttribute("id",u=$),l=C(e),i=l.length,s=dt.test(u)?"#"+u:"[id='"+u+"']";i--;)l[i]=s+" "+p(l[i]);d=l.join(","),g=vt.test(e)&&f(t.parentNode)||t}if(d)try{return K.apply(n,g.querySelectorAll(d)),n}catch(m){}finally{u===$&&t.removeAttribute("id")}}}return T(e.replace(ut,"$1"),t,n,r)}function r(){function e(n,r){return t.push(n+" ")>N.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function o(e){return e[$]=!0,e}function i(e){var t=I.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),r=n.length;r--;)N.attrHandle[n[r]]=t}function u(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function c(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return o(function(t){return t=+t,o(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function f(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function p(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function g(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=J++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,a){var u,s,c,l=[z,i];if(a){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if(c=t[$]||(t[$]={}),s=c[t.uniqueID]||(c[t.uniqueID]={}),(u=s[r])&&u[0]===z&&u[1]===i)return l[2]=u[2];if(s[r]=l,l[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function m(e,t,r){for(var o=0,i=t.length;i>o;o++)n(e,t[o],r);return r}function y(e,t,n,r,o){for(var i,a=[],u=0,s=e.length,c=null!=t;s>u;u++)(i=e[u])&&(!n||n(i,r,o))&&(a.push(i),c&&t.push(u));return a}function v(e,t,n,r,i,a){return r&&!r[$]&&(r=v(r)),i&&!i[$]&&(i=v(i,a)),o(function(o,a,u,s){var c,l,f,d=[],p=[],g=a.length,h=o||m(t||"*",u.nodeType?[u]:u,[]),v=!e||!o&&t?h:y(h,d,e,u,s),w=n?i||(o?e:g||r)?[]:a:v;if(n&&n(v,w,u,s),r)for(c=y(w,p),r(c,[],u,s),l=c.length;l--;)(f=c[l])&&(w[p[l]]=!(v[p[l]]=f));if(o){if(i||e){if(i){for(c=[],l=w.length;l--;)(f=w[l])&&c.push(v[l]=f);i(null,w=[],c,s)}for(l=w.length;l--;)(f=w[l])&&(c=i?et(o,f):d[l])>-1&&(o[c]=!(a[c]=f))}}else w=y(w===a?w.splice(g,w.length):w),i?i(null,a,w,s):K.apply(a,w)})}function w(e){for(var t,n,r,o=e.length,i=N.relative[e[0].type],a=i||N.relative[" "],u=i?1:0,s=g(function(e){return e===t},a,!0),c=g(function(e){return et(t,e)>-1},a,!0),l=[function(e,n,r){var o=!i&&(r||n!==j)||((t=n).nodeType?s(e,n,r):c(e,n,r));return t=null,o}];o>u;u++)if(n=N.relative[e[u].type])l=[g(h(l),n)];else{if(n=N.filter[e[u].type].apply(null,e[u].matches),n[$]){for(r=++u;o>r&&!N.relative[e[r].type];r++);return v(u>1&&h(l),u>1&&p(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(ut,"$1"),n,r>u&&w(e.slice(u,r)),o>r&&w(e=e.slice(r)),o>r&&p(e))}l.push(n)}return h(l)}function _(e,t){var r=t.length>0,i=e.length>0,a=function(o,a,u,s,c){var l,f,d,p=0,g="0",h=o&&[],m=[],v=j,w=o||i&&N.find.TAG("*",c),_=z+=null==v?1:Math.random()||.1,x=w.length;for(c&&(j=a===I||a||c);g!==x&&null!=(l=w[g]);g++){if(i&&l){for(f=0,a||l.ownerDocument===I||(L(l),u=!q);d=e[f++];)if(d(l,a||I,u)){s.push(l);break}c&&(z=_)}r&&((l=!d&&l)&&p--,o&&h.push(l))}if(p+=g,r&&g!==p){for(f=0;d=t[f++];)d(h,m,a,u);if(o){if(p>0)for(;g--;)h[g]||m[g]||(m[g]=W.call(s));m=y(m)}K.apply(s,m),c&&!o&&m.length>0&&p+t.length>1&&n.uniqueSort(s)}return c&&(z=_,j=v),h};return r?o(a):a}var x,b,N,S,E,C,D,T,j,k,A,L,I,O,q,B,R,P,H,$="sizzle"+1*new Date,M=t.document,z=0,J=0,F=r(),U=r(),Y=r(),G=function(e,t){return e===t&&(A=!0),0},X={}.hasOwnProperty,V=[],W=V.pop,Z=V.push,K=V.push,Q=V.slice,et=function(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1},tt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot="\\["+nt+"*("+rt+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+rt+"))|)"+nt+"*\\]",it=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ot+")*)|.*)\\)|)",at=new RegExp(nt+"+","g"),ut=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),st=new RegExp("^"+nt+"*,"+nt+"*"),ct=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),lt=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ft=new RegExp(it),dt=new RegExp("^"+rt+"$"),pt={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt+"|[*])"),ATTR:new RegExp("^"+ot),PSEUDO:new RegExp("^"+it),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},gt=/^(?:input|select|textarea|button)$/i,ht=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vt=/[+~]/,wt=/'|\\/g,_t=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),xt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},bt=function(){L()};try{K.apply(V=Q.call(M.childNodes),M.childNodes),V[M.childNodes.length].nodeType}catch(Nt){K={apply:V.length?function(e,t){Z.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}b=n.support={},E=n.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},L=n.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:M;return r!==I&&9===r.nodeType&&r.documentElement?(I=r,O=I.documentElement,q=!E(I),M!==I&&(n=I.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",bt,!1):n.attachEvent&&n.attachEvent("onunload",bt)),b.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=i(function(e){return e.appendChild(I.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=mt.test(I.getElementsByClassName),b.getById=i(function(e){return O.appendChild(e).id=$,!I.getElementsByName||!I.getElementsByName($).length}),b.getById?(N.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&q){var n=t.getElementById(e);return n?[n]:[]}},N.filter.ID=function(e){var t=e.replace(_t,xt);return function(e){return e.getAttribute("id")===t}}):(delete N.find.ID,N.filter.ID=function(e){var t=e.replace(_t,xt);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),N.find.TAG=b.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):b.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},N.find.CLASS=b.getElementsByClassName&&function(e,t){return"undefined"!=typeof t.getElementsByClassName&&q?t.getElementsByClassName(e):void 0},R=[],B=[],(b.qsa=mt.test(I.querySelectorAll))&&(i(function(e){O.appendChild(e).innerHTML="<a id='"+$+"'></a><select id='"+$+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&B.push("[*^$]="+nt+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||B.push("\\["+nt+"*(?:value|"+tt+")"),e.querySelectorAll("[id~="+$+"-]").length||B.push("~="),e.querySelectorAll(":checked").length||B.push(":checked"),e.querySelectorAll("a#"+$+"+*").length||B.push(".#.+[+~]")}),i(function(e){var t=I.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&B.push("name"+nt+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||B.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),B.push(",.*:")})),(b.matchesSelector=mt.test(P=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&i(function(e){b.disconnectedMatch=P.call(e,"div"),P.call(e,"[s!='']:x"),R.push("!=",it)}),B=B.length&&new RegExp(B.join("|")),R=R.length&&new RegExp(R.join("|")),t=mt.test(O.compareDocumentPosition),H=t||mt.test(O.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===I||e.ownerDocument===M&&H(M,e)?-1:t===I||t.ownerDocument===M&&H(M,t)?1:k?et(k,e)-et(k,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e===I?-1:t===I?1:o?-1:i?1:k?et(k,e)-et(k,t):0;if(o===i)return u(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?u(a[r],s[r]):a[r]===M?-1:s[r]===M?1:0},I):I},n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if((e.ownerDocument||e)!==I&&L(e),t=t.replace(lt,"='$1']"),!(!b.matchesSelector||!q||Y[t+" "]||R&&R.test(t)||B&&B.test(t)))try{var r=P.call(e,t);if(r||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(o){}return n(t,I,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!==I&&L(e),H(e,t)},n.attr=function(e,t){(e.ownerDocument||e)!==I&&L(e);var n=N.attrHandle[t.toLowerCase()],r=n&&X.call(N.attrHandle,t.toLowerCase())?n(e,t,!q):void 0;return void 0!==r?r:b.attributes||!q?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},n.uniqueSort=function(e){var t,n=[],r=0,o=0;if(A=!b.detectDuplicates,k=!b.sortStable&&e.slice(0),e.sort(G),A){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return k=null,e},S=n.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=S(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=S(t);return n},N=n.selectors={cacheLength:50,createPseudo:o,match:pt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(_t,xt),e[3]=(e[3]||e[4]||e[5]||"").replace(_t,xt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||n.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&n.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pt.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ft.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(_t,xt).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=F[e+" "];return t||(t=new RegExp("(^|"+nt+")"+e+"("+nt+"|$)"))&&F(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(o){var i=n.attr(o,e);return null==i?"!="===t:t?(i+="","="===t?i===r:"!="===t?i!==r:"^="===t?r&&0===i.indexOf(r):"*="===t?r&&i.indexOf(r)>-1:"$="===t?r&&i.slice(-r.length)===r:"~="===t?(" "+i.replace(at," ")+" ").indexOf(r)>-1:"|="===t?i===r||i.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),u="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,s){var c,l,f,d,p,g,h=i!==a?"nextSibling":"previousSibling",m=t.parentNode,y=u&&t.nodeName.toLowerCase(),v=!s&&!u,w=!1;if(m){if(i){for(;h;){for(d=t;d=d[h];)if(u?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;g=h="only"===e&&!g&&"nextSibling"}return!0}if(g=[a?m.firstChild:m.lastChild],a&&v){for(d=m,f=d[$]||(d[$]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),c=l[e]||[],p=c[0]===z&&c[1],w=p&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[h]||(w=p=0)||g.pop();)if(1===d.nodeType&&++w&&d===t){l[e]=[z,p,w];break}}else if(v&&(d=t,f=d[$]||(d[$]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),c=l[e]||[],p=c[0]===z&&c[1],w=p),w===!1)for(;(d=++p&&d&&d[h]||(w=p=0)||g.pop())&&((u?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++w||(v&&(f=d[$]||(d[$]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),l[e]=[z,w]),d!==t)););return w-=o,w===r||w%r===0&&w/r>=0}}},PSEUDO:function(e,t){var r,i=N.pseudos[e]||N.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return i[$]?i(t):i.length>1?(r=[e,e,"",t],N.setFilters.hasOwnProperty(e.toLowerCase())?o(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)r=et(e,o[a]),e[r]=!(n[r]=o[a])}):function(e){return i(e,0,r)}):i}},pseudos:{not:o(function(e){var t=[],n=[],r=D(e.replace(ut,"$1"));return r[$]?o(function(e,t,n,o){for(var i,a=r(e,null,o,[]),u=e.length;u--;)(i=a[u])&&(e[u]=!(t[u]=i))}):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}}),has:o(function(e){return function(t){return n(e,t).length>0}}),contains:o(function(e){return e=e.replace(_t,xt),function(t){return(t.textContent||t.innerText||S(t)).indexOf(e)>-1}}),lang:o(function(e){return dt.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(_t,xt).toLowerCase(),function(t){var n;do if(n=q?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(e){return e===O},focus:function(e){return e===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!N.pseudos.empty(e)},header:function(e){return ht.test(e.nodeName)},input:function(e){return gt.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[0>n?n+t:n]}),even:l(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},N.pseudos.nth=N.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})N.pseudos[x]=s(x);for(x in{submit:!0,reset:!0})N.pseudos[x]=c(x);d.prototype=N.filters=N.pseudos,N.setFilters=new d,C=n.tokenize=function(e,t){var r,o,i,a,u,s,c,l=U[e+" "];if(l)return t?0:l.slice(0);for(u=e,s=[],c=N.preFilter;u;){(!r||(o=st.exec(u)))&&(o&&(u=u.slice(o[0].length)||u),s.push(i=[])),r=!1,(o=ct.exec(u))&&(r=o.shift(),i.push({value:r,type:o[0].replace(ut," ")}),u=u.slice(r.length));for(a in N.filter)!(o=pt[a].exec(u))||c[a]&&!(o=c[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),u=u.slice(r.length));if(!r)break}return t?u.length:u?n.error(e):U(e,s).slice(0)},D=n.compile=function(e,t){var n,r=[],o=[],i=Y[e+" "];if(!i){for(t||(t=C(e)),n=t.length;n--;)i=w(t[n]),i[$]?r.push(i):o.push(i);i=Y(e,_(o,r)),i.selector=e}return i},T=n.select=function(e,t,n,r){var o,i,a,u,s,c="function"==typeof e&&e,l=!r&&C(e=c.selector||e);if(n=n||[],1===l.length){if(i=l[0]=l[0].slice(0),i.length>2&&"ID"===(a=i[0]).type&&b.getById&&9===t.nodeType&&q&&N.relative[i[1].type]){if(t=(N.find.ID(a.matches[0].replace(_t,xt),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=pt.needsContext.test(e)?0:i.length;o--&&(a=i[o],!N.relative[u=a.type]);)if((s=N.find[u])&&(r=s(a.matches[0].replace(_t,xt),vt.test(i[0].type)&&f(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&p(i),!e)return K.apply(n,r),n;break}}return(c||D(e,l))(r,t,!q,n,!t||vt.test(e)&&f(t.parentNode)||t),n},b.sortStable=$.split("").sort(G).join("")===$,b.detectDuplicates=!!A,L(),b.sortDetached=i(function(e){return 1&e.compareDocumentPosition(I.createElement("div"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),b.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||a("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||a(tt,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),"function"==typeof define&&define.amd?define(function(){return n}):e=n}(window),e}(),yohojson2_100_json2=function(){"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(e){return 10>e?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,r,o,i,a,u=gap,s=t[e];switch(s&&"object"==typeof s&&"function"==typeof s.toJSON&&(s=s.toJSON(e)),"function"==typeof rep&&(s=rep.call(t,e,s)),typeof s){case"string":return quote(s);case"number":return isFinite(s)?String(s):"null";case"boolean":case"null":return String(s);case"object":if(!s)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(s)){for(i=s.length,n=0;i>n;n+=1)a[n]=str(n,s)||"null";return o=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+u+"]":"["+a.join(",")+"]",gap=u,o}if(rep&&"object"==typeof rep)for(i=rep.length,n=0;i>n;n+=1)"string"==typeof rep[n]&&(r=rep[n],o=str(r,s),o&&a.push(quote(r)+(gap?": ":":")+o));else for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(o=str(r,s),o&&a.push(quote(r)+(gap?": ":":")+o));return o=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+u+"}":"{"+a.join(",")+"}",gap=u,o}}var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;"function"!=typeof JSON.stringify&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;n>r;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(e,t){var n,r,o=e[t];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(r=walk(o,n),void 0!==r?o[n]=r:delete o[n]);return reviver.call(e,t,o)}var j;if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()}(),yas_jssdk_10132_src_util=function(e){{var t=yas_jssdk_10132_src_config;t.yaPath,t.yasDomain}return e.flashChecker=function(){var e=0,t=0,n=0,r=null;return n?(r=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),r&&(e=1,t=r.GetVariable("$version"))):navigator.plugins&&navigator.plugins.length>0&&(r=navigator.plugins["Shockwave Flash"],r&&(e=1,t=r.description.replace("Shockwave Flash",""))),{f:e,v:t}},e.Hash=function(e){var t,n=1,r=0;if(e)for(n=0,t=e.length-1;t>=0;t--)r=e.charCodeAt(t),n=(n<<6&268435455)+r+(r<<14),r=266338304&n,0!==r&&(n^=r>>21);return n},e.Random=function(){return Math.round(2147483647*Math.random())},e.hashClientInfo=function(){var t=window.navigator,n=window.history.length,r=[t.appName,t.version,t.language,t.platform,t.userAgent,t.javaEnabled(),window.screen,window.screen.colorDepth,window.document.cookie?window.document.cookie:"",window.document.referrer?window.document.referrer:""];t=r.join("");for(var o=t.length;n>0;)t+=n--^o++;return e.Hash(t)},e.merge=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var o in t)n[o]=t[o];return n},e.genParam=function(e){var t=[];for(var n in e)t.push(n+"="+e[n]);return t.join("&")},e.trim=function(e){if(String.prototype.trim)return null===e?"":String.prototype.trim.call(e);var t=/^\s+/,n=/\s+$/,r="";return e?(r=e.toString().replace(t,""),r=r.replace(n,"")):void 0},e.getGeo=function(e){function t(t){var n=t.coords.longitude,r=t.coords.latitude;e(r,n)}function n(){e(!1)}if(window.navigator.geolocation){var r={enableHighAccuracy:!0};window.navigator.geolocation.getCurrentPosition(t,n,r)}else e(!1)},e}({}),yas_jssdk_10132_src_cookie=function(e){var t=yas_jssdk_10132_src_util;return e=function(e,n,r){if("undefined"==typeof n){var o=null;if(document.cookie)for(var i=document.cookie.split(";"),a=0;a<i.length;a++){var u=t.trim(i[a]);if(u.substring(0,e.length+1)==e+"="){o=decodeURIComponent(u.substring(e.length+1));break}}return o}r=r||{},null===n&&(n="",r.expires=-1);var s="";if(r.expires&&("number"==typeof r.expires||r.expires.toUTCString)){var c;"number"==typeof r.expires?(c=new Date,c.setTime(c.getTime()+24*r.expires*60*60*1e3)):c=r.expires,s="; expires="+c.toUTCString()}var l=r.path?"; path="+r.path:"",f=r.domain?"; domain="+r.domain:"",d=r.secure?"; secure":"";document.cookie=[e,"=",encodeURIComponent(n),s,l,f,d].join("")}}(),yas_jssdk_10132_src_ya=function(e){function t(e){var t=a.merge(p,h);t=a.merge(t,y);var n=r();n&&(t=a.merge(t,n),u("_yasmp",null,{path:"/",domain:l.yasDomain,expires:73e3}));var o=u("_yascustjson");if(o){var i=JSON.parse(o);t=a.merge(t,i),u("_yascustjson",null,{path:"/",domain:l.yasDomain,expires:73e3})}var c=a.genParam(t);e=e?e:function(){},s.imgSend(c,e);var f=u("_yasev");f&&s.imgSend(f,function(){u("_yasev",null,{path:"/",domain:l.yasDomain,expires:73e3})})}function n(){var e=u("_yasvd");return e?{cid:e,isNew:"N"}:(e=a.Random()^2147483647&a.hashClientInfo(),u("_yasvd",e,{path:"/",domain:d,expires:73e3}),{cid:e,isNew:"Y"})}function r(){var e=u("_yasmp");if(e){var t=e.split(",");if(3===t.length)return{x:t[0],y:t[1],et:t[2]};if(4===t.length)return{x:t[0],y:t[1],et:t[2],ix:t[3]}}return null}function o(e){var t=0,n=0;return e.pageX||e.pageY?(t=e.pageX,n=e.pageY):(e.clientX||e.clientY)&&(t=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,n=e.clientY+document.body.scrollTop+document.documentElement.scrollTop),t-=window.screen.width/2,n=window.screen.height/2-n,{x:t,y:n}}function i(e,t,n,r,o){var i=u("_yasev");i?i+="&":i="",u("_yasev",i+"vd="+h.vd+"&t="+e+"&i="+t+"&l="+r+"&v="+o,{path:"/",domain:d,expires:73e3}),w++}var a=yas_jssdk_10132_src_util,u=yas_jssdk_10132_src_cookie,s=yas_jssdk_10132_src_cross,c=yas_jssdk_10132_src_event,l=yas_jssdk_10132_src_config,f=yohosizzle_222_pre_sizzle,d=(l.version,l.yaPath,l.yasDomain),p={h:document.domain,p:window.location.port,u:window.location.pathname,ft:0,fst:0,sv:"",ab:u("ab_1")||""},g=n(),h={ak:"",cd:g.cid,vd:(new Date).getTime()+g.cid,ud:"",rf:document.referrer,ckf:g.isNew},m=a.flashChecker(),y={sr:window.screen.width+"x"+window.screen.height,wr:window.screen.availWidth+"x"+window.screen.availHeight,sd:window.screen.colorDepth,ln:window.navigator.language?window.navigator.language:window.navigator.browserLanguage,sy:window.navigator.platform,ce:window.navigator.cookieEnabled,fv:m.f?m.v:0},v=function(e,n,r,i,s,g){if(h.ak=r,p.sv=n,h.ud=i?i:"",u("_yasgeo")){var m=u("_yasgeo").split(",");h.la=m[0],h.lo=m[1],u("_yasgeo",null,{path:"/",domain:l.yasDomain,expires:73e3})}var y=(new Date).getTime(),v=null,w=!1;p.ft=y-e,c.addEventHandler(window,"load",function(){var n=(new Date).getTime();p.fst=n-e,c.removeEventHandler(window,"load",arguments.callee),window.clearTimeout(v),w||t()}),v=window.setTimeout(function(){p.fst=0,p.fse=">3s",w=!0,t()},3e3),s&&a.getGeo(function(e,t){e&&u("_yasgeo",e+","+t,{path:"/",domain:d,expires:73e3})});var _=0;if(g&&f)for(var x=f(g),b=0,N=x.length;N>b;b++)!function(e){c.addEventHandler(x[e],"click",function(t){console.log("index: "+e),_=e+1;var n=t.pageX-window.screen.width/2,r=window.screen.height/2-t.pageY;u("_yasmp",n+","+r+","+t.type+","+_,{path:"/",domain:d,expires:73e3})})}(b);c.addEventHandler(document,"click",function(e){e=e||window.event;var t=e.target||e.srcElement;if(!_&&t&&"IMG"===t.nodeName&&"A"===t.parentNode.nodeName){var n=o(e);u("_yasmp",n.x+","+n.y+","+e.type,{path:"/",domain:d,expires:73e3})}_=0})},w=0;return v.add=function(e,t,n,r,o){w>3?s.imgSend(u("_yasev"),function(){u("_yasev",null,{path:"/",domain:l.yasDomain,expires:73e3}),w=0,i(e,t,n,r,o)}):i(e,t,n,r,o)},v.sendMouseEvent=function(e,t){e=e||window.event;var n=o(e);if(t)u("_yasmp",n.x+","+n.y+","+e.type,{path:"/",domain:d,expires:73e3});else{var r={x:n.x,y:n.y,et:e.type},i=a.merge(p,h);i=a.merge(i,y),i=a.merge(i,r);var c=a.genParam(i);s.imgSend(c,function(){})}},v.sendCustomInfo=function(e,t){if(t){var n=JSON.stringify(jsonobj);u("_yascustjson",n,{path:"/",domain:d,expires:73e3})}else{var r=a.merge(p,h);r=a.merge(r,y),r=a.merge(r,e);var o=a.genParam(r);s.imgSend(o,function(){})}},e=v}(),yas_jssdk_10132_yas=function(e){var t=yas_jssdk_10132_src_ya;if(window.YohoAcquisitionObject){var n=window.YohoAcquisitionObject;window[n].p&&(t.apply(this,window[n].p),window[n]=t)}return e=t}()}();
@@ -28,7 +28,11 @@ @@ -28,7 +28,11 @@
28 a.async=1; 28 a.async=1;
29 a.src=j; 29 a.src=j;
30 m.parentNode.insertBefore(a,m); 30 m.parentNode.insertBefore(a,m);
  31 +<<<<<<< HEAD
31 })(window,document,'script','http://cdn.yoho.cn/yas-jssdk/1.0.13.2/yas.js','_yas'); 32 })(window,document,'script','http://cdn.yoho.cn/yas-jssdk/1.0.13.2/yas.js','_yas');
  33 +=======
  34 + })(window,document,'script','http://cdn.yoho.cn/yas-jssdk/{{yas_version}}/yas.js','_yas');
  35 +>>>>>>> 3685878e28b5f0a7fbf2ebdb250a96a5ecc47f52
32 </script> 36 </script>
33 {{> layout/use}} 37 {{> layout/use}}
34 {{> layout/analysis}} 38 {{> layout/analysis}}
@@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets" @@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 application.version = "1.2.0" 53 application.version = "1.2.0"
  54 +; JS统计代码的版本号
  55 +application.yas.version = "1.0.13.2"
54 56
55 ; 网站SEO信息 57 ; 网站SEO信息
56 application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" 58 application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停"
@@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets" @@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 application.version = "1.2.0" 53 application.version = "1.2.0"
  54 +; JS统计代码的版本号
  55 +application.yas.version = "1.0.13.2"
54 56
55 ; 网站SEO信息 57 ; 网站SEO信息
56 application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" 58 application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停"
@@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets" @@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 application.version = "1.2.0" 53 application.version = "1.2.0"
  54 +; JS统计代码的版本号
  55 +application.yas.version = "1.0.13.2"
54 56
55 ; 网站SEO信息 57 ; 网站SEO信息
56 application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" 58 application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停"
@@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets" @@ -51,6 +51,8 @@ application.assets.path = ROOT_PATH "/assets"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 application.version = "1.2.0" 53 application.version = "1.2.0"
  54 +; JS统计代码的版本号
  55 +application.yas.version = "1.0.13.2"
54 56
55 ; 网站SEO信息 57 ; 网站SEO信息
56 application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" 58 application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停"