Authored by hf

code reveiew by fei.hong: do feature 3.2.3 and 3.2.4

  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::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate">
  62 + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a>
  63 + <span>X</span>
  64 + </div>
  65 +' : '').''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header id="yoho-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' : '').'">
  66 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navBack')), $in, false, function($cx, $in) {return ' <a href="'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backUrl')))) ? ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('backUrl')), ENT_QUOTES, 'UTF-8').'' : 'javascript:history.go(-1);').'" class="iconfont nav-back">&#xe610;</a>
  67 +';}).''.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>
  68 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('currencyPage')), $in, false, function($cx, $in) {return ' <a href="/home/helpDetail?code=20151230-102233&caption=YOHO币介绍" class="iconfont nav-home">&#xe639;</a>
  69 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetailPage')), $in, false, function($cx, $in) {return ' <a href="/home/helpDetail?code=20111130-152530&caption=如何使用YOHO币支付" class="iconfont nav-home">&#xe639;</a>
  70 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navPhone')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont nav-home">&#xe641;</a>
  71 +';}).''.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>
  72 +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navBtn')), $in, false, function($cx, $in) {return ' <span class="nav-btn">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span>
  73 +';}).'</header>
  74 +
  75 +';}).''.''.' <div class="my-page yoho-page">
  76 + <div class="my-header">
  77 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLogin')), $in, false, function($cx, $in) {return ' <a class="user-info" href="/home/mydetails">
  78 + <span class="user-avatar" data-avatar="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('head_ico')), ENT_QUOTES, 'UTF-8').'"></span>
  79 + <span class="username">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('profile_name')), ENT_QUOTES, 'UTF-8').'</span>
  80 +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('vip_info')), $in, false, function($cx, $in) {return ' <span class="vip-icon vip-'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cur_level')), ENT_QUOTES, 'UTF-8').'"></span>
  81 +';}).' <div class="iconfont more-icon tap-hightlight">&#xe604;</div>
  82 + </a>
  83 +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('isLogin')))) ? ' <div class="user-info">
  84 + <a class="login-btn" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('signinUrl')), ENT_QUOTES, 'UTF-8').'">
  85 + 登录/注册
  86 + </a>
  87 + </div>
  88 +' : '').' </div>
  89 + <div class="my-link clearfix '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('isLogin')))) ? 'no-login' : '').'">
  90 + <a class="link-item tap-hightlight" href="/home/favorite">
  91 + '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLogin')), $in, false, function($cx, $in) {return ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('product_favorite_total')), ENT_QUOTES, 'UTF-8').'';}).'
  92 + <p>收藏的商品</p>
  93 + </a>
  94 + <a class="link-item tap-hightlight" href="/home/favorite?tab=brand">
  95 + '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLogin')), $in, false, function($cx, $in) {return ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('brand_favorite_total')), ENT_QUOTES, 'UTF-8').'';}).'
  96 + <p>收藏的品牌</p>
  97 + </a>
  98 +
  99 + </div>
  100 + <div class="my-order">
  101 + <a class="order-title" href="/home/orders">
  102 + 我的订单
  103 + <span class="iconfont">
  104 + 查看全部订单 &#xe604;
  105 + </span>
  106 + </a>
  107 + <div class="order-type clearfix">
  108 + <a class="type-item" href="/home/orders?type=2">
  109 + <span class="iconfont">&#xe634;</span>
  110 + <br>待付款
  111 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('wait_pay_num')))) ? ' <span class="num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('wait_pay_num')), ENT_QUOTES, 'UTF-8').'</span>
  112 +' : '').' </a>
  113 + <a class="type-item" href="/home/orders?type=3">
  114 + <span class="iconfont">&#xe63b;</span>
  115 + <br>待发货
  116 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('wait_cargo_num')))) ? ' <span class="num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('wait_cargo_num')), ENT_QUOTES, 'UTF-8').'</span>
  117 +' : '').' </a>
  118 + <a class="type-item" href="/home/orders?type=4">
  119 + <span class="iconfont">&#xe633;</span>
  120 + <br>待收货
  121 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('send_cargo_num')))) ? ' <span class="num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('send_cargo_num')), ENT_QUOTES, 'UTF-8').'</span>
  122 +' : '').' </a>
  123 + </div>
  124 + </div>
  125 + <div class="group-list">
  126 + <a class="list-item" href="/home/address">
  127 + <span class="iconfont icon">&#xe637;</span>
  128 + 地址管理
  129 + <span class="iconfont num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address_num')), ENT_QUOTES, 'UTF-8').' &#xe604;</span>
  130 + </a>
  131 + </div>
  132 + <div class="group-list">
  133 + <a class="list-item" href="/home/coupons">
  134 + <span class="iconfont icon">&#xe63a;</span>
  135 + 优惠券
  136 + <span class="iconfont num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('coupon_num')), ENT_QUOTES, 'UTF-8').' &#xe604;</span>
  137 + </a>
  138 + <a class="list-item" href="/home/mycurrency">
  139 + <span class="iconfont icon">&#xe635;</span>
  140 + YOHO 币
  141 + <span class="iconfont num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('yoho_coin_num')), ENT_QUOTES, 'UTF-8').' &#xe604;</span>
  142 + </a>
  143 + </div>
  144 + <div class="group-list">
  145 + <a class="list-item" href="/home/message">
  146 + <span class="iconfont icon">&#xe636;</span>
  147 + 消息
  148 + <span class="iconfont num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('inbox_total')), ENT_QUOTES, 'UTF-8').' &#xe604;</span>
  149 + </a>
  150 + </div>
  151 + <div class="group-list">
  152 + <a class="list-item" href="/home/onlineService">
  153 + <span class="iconfont icon">&#xe63c;</span>
  154 + 在线客服
  155 + <span class="iconfont num">&#xe604;</span>
  156 + </a>
  157 + <a class="list-item" href="/home/suggest">
  158 + <span class="opinion"></span>
  159 + 意见反馈
  160 + <span class="iconfont num">&#xe604;</span>
  161 + </a>
  162 + </div>
  163 + <div class="group-list">
  164 + <a class="list-item" href="/home/help">
  165 + <span class="iconfont icon">&#xe639;</span>
  166 + 帮助
  167 + <span class="iconfont num">&#xe604;</span>
  168 + </a>
  169 + </div>
  170 +
  171 +'.' <div class="recommend-for-you hide">
  172 + </div>'.''.' <div id="suspend-cart" class="suspend-cart">
  173 + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'>
  174 + <span class="iconfont">&#xe62c;</span>
  175 + </a>
  176 + <span class="cart-count hide">0</span>
  177 + </div>'.' </div>
  178 +
  179 +'.''.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">
  180 + <div class="float-layer-left">
  181 + <span class="yoho-icon iconfont">&#xe60d;</span>
  182 + <p>新用户送千元礼包</p>
  183 + </div>
  184 + <a href="javascript:void(0);" id="float-layer-close" >
  185 + <i class="close-icon iconfont">&#xe623;</i>
  186 + <div class="circle-rightbottom"></div>
  187 + </a>
  188 + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn">
  189 + 立即下载
  190 + </a>
  191 +</div>
  192 +';}).'
  193 +
  194 +
  195 + '.''.''.''.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">
  196 + <p class="op-row">
  197 + <span class="back-to-top">
  198 + Back to top
  199 + <i class="iconfont">&#xe608;</i>
  200 + </span>
  201 + </p>
  202 + <address class="copyright">
  203 + CopyRight©2007-2016 南京新与力文化传播有限公司
  204 + </address>
  205 +</footer>
  206 +';}).'
  207 +'.''.''.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">
  208 + <div class="float-layer-left">
  209 + <span class="yoho-icon iconfont">&#xe60d;</span>
  210 + <p>新用户送千元礼包</p>
  211 + </div>
  212 + <a href="javascript:void(0);" id="float-layer-close" >
  213 + <i class="close-icon iconfont">&#xe623;</i>
  214 + <div class="circle-rightbottom"></div>
  215 + </a>
  216 + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn">
  217 + 立即下载
  218 + </a>
  219 +</div>
  220 +';}).'
  221 +
  222 +
  223 + '.''.((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>
  224 +' : '').''.((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>
  225 +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
  226 +' : '').''.((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>
  227 +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
  228 +' : '').''.((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>
  229 +<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>
  230 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
  231 +<script>seajs.config({base: \'http://localhost:8000/\'});</script>
  232 +' : '').''.'<script>
  233 + seajs.use(\'js/common\');
  234 +</script>
  235 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script>
  236 + seajs.use(\'js/guang/plus-star/list\');
  237 +</script>
  238 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script>
  239 + seajs.use(\'js/guang/plus-star/detail\');
  240 +</script>
  241 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script>
  242 + seajs.use(\'js/guang/home\');
  243 +</script>
  244 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script>
  245 + seajs.use(\'js/guang/list\');
  246 +</script>
  247 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script>
  248 + seajs.use(\'js/guang/detail\', function(d) {
  249 + d.i(true);
  250 + });
  251 +</script>
  252 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script>
  253 + seajs.use(\'js/guang/detail\', function(d) {
  254 + d.i(false);
  255 + });
  256 +</script>
  257 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script>
  258 + seajs.use(\'js/passport/register/register\');
  259 +</script>
  260 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script>
  261 + seajs.use(\'js/passport/register/code\');
  262 +</script>
  263 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script>
  264 + seajs.use(\'js/passport/register/password\');
  265 +</script>
  266 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script>
  267 + seajs.use(\'js/passport/bind/bind\');
  268 +</script>
  269 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script>
  270 + seajs.use(\'js/passport/bind/code\');
  271 +</script>
  272 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script>
  273 + seajs.use(\'js/passport/bind/password\');
  274 +</script>
  275 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script>
  276 + seajs.use(\'js/passport/login/login\');
  277 +</script>
  278 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script>
  279 + seajs.use(\'js/passport/login/international\');
  280 +</script>
  281 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script>
  282 + seajs.use(\'js/passport/back/email\');
  283 +</script>
  284 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script>
  285 + seajs.use(\'js/passport/back/email-success\');
  286 +</script>
  287 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script>
  288 + seajs.use(\'js/passport/back/mobile\');
  289 +</script>
  290 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script>
  291 + seajs.use(\'js/passport/back/code\');
  292 +</script>
  293 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script>
  294 + seajs.use(\'js/passport/back/new-password\');
  295 +</script>
  296 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script>
  297 + seajs.use(\'js/index/channel\');
  298 + seajs.use(\'js/index/footer\');
  299 +</script>
  300 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script>
  301 + seajs.use(\'js/home/home\', function(h) {
  302 + h.set(\'girls\');
  303 + });
  304 + seajs.use(\'js/index/footer\');
  305 +</script>
  306 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script>
  307 + seajs.use(\'js/home/home\', function(h) {
  308 + h.set(\'boys\');
  309 + });
  310 + seajs.use(\'js/index/footer\');
  311 +</script>
  312 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script>
  313 + seajs.use(\'js/home/home\', function(h) {
  314 + h.set(\'kids\');
  315 + });
  316 + seajs.use(\'js/index/footer\');
  317 +</script>
  318 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script>
  319 + seajs.use(\'js/home/home\', function(h) {
  320 + h.set(\'lifestyle\');
  321 + });
  322 + seajs.use(\'js/index/footer\');
  323 +</script>
  324 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script>
  325 + seajs.use(\'js/product/newsale/newarrival\');
  326 + seajs.use(\'js/index/footer\');
  327 +</script>
  328 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script>
  329 + seajs.use(\'js/product/newsale/discount\');
  330 + seajs.use(\'js/index/footer\');
  331 +</script>
  332 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script>
  333 + seajs.use(\'js/product/newsale/hot-rank\');
  334 + seajs.use(\'js/index/footer\');
  335 +</script>
  336 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script>
  337 + seajs.use(\'js/product/list\');
  338 + seajs.use(\'js/index/footer\');
  339 +</script>
  340 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script>
  341 + seajs.use(\'js/product/detail/detail\');
  342 +</script>
  343 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script>
  344 + seajs.use(\'js/product/detail/loadmore\');
  345 +</script>
  346 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script>
  347 + seajs.use(\'js/product/detail/comments-consults\');
  348 +</script>
  349 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script>
  350 + seajs.use(\'js/product/detail/consultform\');
  351 +</script>
  352 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script>
  353 + seajs.use(\'js/category/index\');
  354 + seajs.use(\'js/index/footer\');
  355 +</script>
  356 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script>
  357 + seajs.use(\'js/category/brand\');
  358 + seajs.use(\'js/index/footer\');
  359 +</script>
  360 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script>
  361 + seajs.use(\'js/index/search\');
  362 + seajs.use(\'js/index/footer\');
  363 +</script>
  364 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script>
  365 + seajs.use(\'js/cart/cart\');
  366 +</script>
  367 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script>
  368 + seajs.use(\'js/cart/gift-advance\');
  369 +</script>
  370 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script>
  371 + seajs.use(\'js/cart/gift-advance\');
  372 +</script>
  373 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script>
  374 + seajs.use(\'js/cart/order-ensure\');
  375 +</script>
  376 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script>
  377 + seajs.use(\'js/me/address\');
  378 + seajs.use(\'js/cart/select-address\');
  379 +</script>
  380 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script>
  381 + seajs.use(\'js/cart/select-coupon\');
  382 +</script>
  383 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script>
  384 + seajs.use(\'js/me/index\');
  385 + seajs.use(\'js/index/footer\');
  386 +</script>
  387 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script>
  388 + seajs.use(\'js/me/order\');
  389 +</script>
  390 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script>
  391 + seajs.use(\'js/me/order-detail\');
  392 +</script>
  393 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script>
  394 + seajs.use(\'js/me/fav\');
  395 +</script>
  396 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script>
  397 + seajs.use(\'js/me/suggest\');
  398 +</script>
  399 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script>
  400 + seajs.use(\'js/me/coupons\');
  401 +</script>
  402 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script>
  403 + seajs.use(\'js/me/online-service\');
  404 +</script>
  405 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script>
  406 + seajs.use(\'js/index/footer\');
  407 +</script>
  408 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script>
  409 + seajs.use(\'js/me/address\');
  410 +</script>
  411 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script>
  412 + seajs.use(\'js/me/address-act\');
  413 +</script>
  414 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script>
  415 + seajs.use(\'js/me/my-guang\');
  416 +</script>
  417 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script>
  418 + seajs.use(\'js/me/personal-details\');
  419 +</script>
  420 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script>
  421 + seajs.use(\'js/me/browse-record\');
  422 +</script>
  423 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script>
  424 + seajs.use(\'js/me/logistic\');
  425 +</script>
  426 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script>
  427 + seajs.use(\'js/me/pay\');
  428 +</script>
  429 +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script>
  430 + seajs.use(\'js/me/currency\');
  431 +</script>
  432 +' : '').'
  433 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyPage')))) ? '<script>
  434 + seajs.use(\'js/me/currency-new\');
  435 +</script>
  436 +' : '').''.''.'<!-- Google Tag Manager -->
  437 +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  438 +<script>
  439 + var _hmt = _hmt || [];
  440 + function async_load(){
  441 + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
  442 + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
  443 + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
  444 + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
  445 + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
  446 + (function() {
  447 + var hm = document.createElement("script");
  448 + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
  449 + hm.async = 1;
  450 + var s = document.getElementsByTagName("script")[0];
  451 + s.parentNode.insertBefore(hm, s);
  452 + })();
  453 + (function() {
  454 + var hm = document.createElement("script");
  455 + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
  456 + hm.async = 1;
  457 + var s = document.getElementsByTagName("script")[0];
  458 + s.parentNode.insertBefore(hm, s);
  459 + })();
  460 + (function() {
  461 + var hm = document.createElement("script");
  462 + hm.src = "//hm.baidu.com/hm.js?e5b83a487a4458aa5abca43f5779b764";
  463 + var s = document.getElementsByTagName("script")[0];
  464 + s.parentNode.insertBefore(hm, s);
  465 + })();
  466 + (function() {
  467 + var hm = document.createElement("script");
  468 + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js";
  469 + hm.async = 1;
  470 + var s = document.getElementsByTagName("script")[0];
  471 + s.parentNode.insertBefore(hm, s);
  472 + })();
  473 + }
  474 + window.addEventListener(\'load\', async_load, false);
  475 +</script>
  476 +<script>
  477 + window._py = window._py||[];
  478 + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']);
  479 + window._py.push([\'domain\',\'stats.ipinyou.com\']);
  480 + window._py.push([\'e\',\'\']);
  481 + if(typeof _goodsData!=\'undefined\'){
  482 + window._py.push([\'pi\',_goodsData]);
  483 + }
  484 + -function(d){
  485 + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1;
  486 + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\';
  487 + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h);
  488 + }(document);
  489 +</script>
  490 +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body>
  491 +</html>'.'';
  492 +}
  493 +?>
@@ -81,7 +81,7 @@ @@ -81,7 +81,7 @@
81 优惠券 81 优惠券
82 <span class="iconfont num">{{coupon_num}} &#xe604;</span> 82 <span class="iconfont num">{{coupon_num}} &#xe604;</span>
83 </a> 83 </a>
84 - <a class="list-item" href="/home/currency"> 84 + <a class="list-item" href="/home/mycurrency">
85 <span class="iconfont icon">&#xe635;</span> 85 <span class="iconfont icon">&#xe635;</span>
86 YOHO 86 YOHO
87 <span class="iconfont num">{{yoho_coin_num}} &#xe604;</span> 87 <span class="iconfont num">{{yoho_coin_num}} &#xe604;</span>
@@ -252,7 +252,7 @@ class HomeController extends AbstractAction @@ -252,7 +252,7 @@ class HomeController extends AbstractAction
252 /** 252 /**
253 * YOHO币 253 * YOHO币
254 */ 254 */
255 - public function currencyAction() 255 + public function mycurrencyAction()
256 { 256 {
257 // 审判跳转登录页 257 // 审判跳转登录页
258 $this->auditJumpLogin(); 258 $this->auditJumpLogin();
@@ -676,7 +676,7 @@ class CartModel @@ -676,7 +676,7 @@ class CartModel
676 $oneSize['goodsId'] = $val['goods_id']; 676 $oneSize['goodsId'] = $val['goods_id'];
677 $oneSize['colorId'] = $val['color_id']; 677 $oneSize['colorId'] = $val['color_id'];
678 $oneSize['name'] = $sizeName; 678 $oneSize['name'] = $sizeName;
679 - $oneSize['sizeNum'] = $one['storage_number']; 679 + $oneSize['sizeNum'] = intval($one['storage_number']);
680 $sizeList[$val['product_skc']][] = $oneSize; 680 $sizeList[$val['product_skc']][] = $oneSize;
681 681
682 // 所有尺码列表,赋值用于前端展示默认尺码的时候 判断出没有库存则显示灰色 682 // 所有尺码列表,赋值用于前端展示默认尺码的时候 判断出没有库存则显示灰色