diff --git a/compile/huodong.m.yohobuy.com/1.0.1/161af6308e85e9bd9cbd16b3ac33842b.php b/compile/huodong.m.yohobuy.com/1.0.1/161af6308e85e9bd9cbd16b3ac33842b.php new file mode 100644 index 0000000..ae5faec --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.1/161af6308e85e9bd9cbd16b3ac33842b.php @@ -0,0 +1,155 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta charset="utf-8"> +<title>'.Plugin\LCRun3::debug('[staticTitle]', 'encq', $cx, Plugin\LCRun3::debug('[staticTitle]', 'v', $cx, $in, array('staticTitle'))).'</title> +<meta name="apple-mobile-web-app-title" content="SUMMER SALE"> +<meta name="format-detection" content="telephone=no"> +<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> +<meta name="apple-mobile-web-app-capable" content="yes"> +<meta name="apple-mobile-web-app-status-bar-style" content="grey"> +<link rel="stylesheet" href="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/css/christmas/index2.css"> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +</head> +<body class="keBody"> +<div class="coupon-christmas" show="'.Plugin\LCRun3::debug('[showPopupFlag]', 'encq', $cx, Plugin\LCRun3::debug('[showPopupFlag]', 'v', $cx, $in, array('showPopupFlag'))).'"> + <div class="coupon-top"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/02/top-bg.png" alt=""> + <img class="wyf" src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/02/wyf.gif" alt=""> + <a class="go-check" href="'.Plugin\LCRun3::debug('[myCouponUrl]', 'encq', $cx, Plugin\LCRun3::debug('[myCouponUrl]', 'v', $cx, $in, array('myCouponUrl'))).'"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <div class="banner-btn"> + <a class="boy" href="'.Plugin\LCRun3::debug('[bannerUrl_1]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_1]', 'v', $cx, $in, array('bannerUrl_1'))).'"></a> + <a class="girl" href="'.Plugin\LCRun3::debug('[bannerUrl_2]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_2]', 'v', $cx, $in, array('bannerUrl_2'))).'"></a> + <a class="life" href="'.Plugin\LCRun3::debug('[bannerUrl_3]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_3]', 'v', $cx, $in, array('bannerUrl_3'))).'"></a> + <a class="kid" href="'.Plugin\LCRun3::debug('[bannerUrl_4]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_4]', 'v', $cx, $in, array('bannerUrl_4'))).'"></a> + </div> + </div> + <div class="bottom-btn"> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <a class="download-yoho" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> + </div> + </div> + <div class="coupon-ft"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/02/14.png"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.Plugin\LCRun3::debug('[shareLink]', 'encq', $cx, Plugin\LCRun3::debug('[shareLink]', 'v', $cx, $in, array('shareLink'))).'"> +<input id="shareImg" type="hidden" value="'.Plugin\LCRun3::debug('[shareImg]', 'encq', $cx, Plugin\LCRun3::debug('[shareImg]', 'v', $cx, $in, array('shareImg'))).'"> +<input id="shareTitle" type="hidden" value="'.Plugin\LCRun3::debug('[shareTitle]', 'encq', $cx, Plugin\LCRun3::debug('[shareTitle]', 'v', $cx, $in, array('shareTitle'))).'"> +<input id="shareDesc" type="hidden" value="'.Plugin\LCRun3::debug('[shareDesc]', 'encq', $cx, Plugin\LCRun3::debug('[shareDesc]', 'v', $cx, $in, array('shareDesc'))).'"> +<script type="text/javascript" src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::debug('[weixinShare]', 'ifvar', $cx, Plugin\LCRun3::debug('[weixinShare]', 'v', $cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.1/6182b876ca42981c09191e7caaec741f.php b/compile/huodong.m.yohobuy.com/1.0.1/6182b876ca42981c09191e7caaec741f.php new file mode 100644 index 0000000..81a6f61 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.1/6182b876ca42981c09191e7caaec741f.php @@ -0,0 +1,155 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta charset="utf-8"> +<title>'.Plugin\LCRun3::debug('[staticTitle]', 'encq', $cx, Plugin\LCRun3::debug('[staticTitle]', 'v', $cx, $in, array('staticTitle'))).'</title> +<meta name="apple-mobile-web-app-title" content="SUMMER SALE"> +<meta name="format-detection" content="telephone=no"> +<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> +<meta name="apple-mobile-web-app-capable" content="yes"> +<meta name="apple-mobile-web-app-status-bar-style" content="grey"> +<link rel="stylesheet" href="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/css/christmas/index2.css"> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +</head> +<body class="keBody"> +<div class="coupon-christmas" show="'.Plugin\LCRun3::debug('[showPopupFlag]', 'encq', $cx, Plugin\LCRun3::debug('[showPopupFlag]', 'v', $cx, $in, array('showPopupFlag'))).'"> + <div class="coupon-top"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/02/top-bg.png" alt=""> + <img class="wyf" src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/02/wyf.gif" alt=""> + <a class="go-check" href="'.Plugin\LCRun3::debug('[myCouponUrl]', 'encq', $cx, Plugin\LCRun3::debug('[myCouponUrl]', 'v', $cx, $in, array('myCouponUrl'))).'"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <div class="banner-btn"> + <a class="boy" href="javascript:;"></a> + <a class="girl" href="javascript:;"></a> + <a class="life" href="javascript:;"></a> + <a class="kid" href="javascript:;"></a> + </div> + </div> + <div class="bottom-btn"> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <a class="download-yoho" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> + </div> + </div> + <div class="coupon-ft"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/02/14.jpg"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.Plugin\LCRun3::debug('[shareLink]', 'encq', $cx, Plugin\LCRun3::debug('[shareLink]', 'v', $cx, $in, array('shareLink'))).'"> +<input id="shareImg" type="hidden" value="'.Plugin\LCRun3::debug('[shareImg]', 'encq', $cx, Plugin\LCRun3::debug('[shareImg]', 'v', $cx, $in, array('shareImg'))).'"> +<input id="shareTitle" type="hidden" value="'.Plugin\LCRun3::debug('[shareTitle]', 'encq', $cx, Plugin\LCRun3::debug('[shareTitle]', 'v', $cx, $in, array('shareTitle'))).'"> +<input id="shareDesc" type="hidden" value="'.Plugin\LCRun3::debug('[shareDesc]', 'encq', $cx, Plugin\LCRun3::debug('[shareDesc]', 'v', $cx, $in, array('shareDesc'))).'"> +<script type="text/javascript" src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::debug('[weixinShare]', 'ifvar', $cx, Plugin\LCRun3::debug('[weixinShare]', 'v', $cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.2/4b32ac8c0c6289418cd050cad5bc73c2.php b/compile/huodong.m.yohobuy.com/1.0.2/4b32ac8c0c6289418cd050cad5bc73c2.php new file mode 100644 index 0000000..04e2f1c --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.2/4b32ac8c0c6289418cd050cad5bc73c2.php @@ -0,0 +1,150 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8"> + <title>'.Plugin\LCRun3::debug('[staticTitle]', 'encq', $cx, Plugin\LCRun3::debug('[staticTitle]', 'v', $cx, $in, array('staticTitle'))).'</title> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> + <style> + *{margin: 0;padding: 0;} + #coupon-container {width: 100%;} + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} + .img-box {width: 100%;position: relative;} + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} + .img-box .href-left {left: 0} + .img-box .href-right {right: 0} + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} + .yoho-tip { + position: fixed; + display: none; + text-align: center; + width: 70%; + padding: 34px 0; + top: 50%; + left: 50%; + margin-left: -35%; + margin-top: -45px; + background-color: #000; + opacity: 0.9; + color: #fff; + font-size: 18px; + border: none; + border-radius: 10px; + } + </style> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + </head> + <body> + <div class="coupon-container" id="coupon-container" param="'.Plugin\LCRun3::debug('[activityId]', 'encq', $cx, Plugin\LCRun3::debug('[activityId]', 'v', $cx, $in, array('activityId'))).'" isLogged="'.Plugin\LCRun3::debug('[isLogged]', 'encq', $cx, Plugin\LCRun3::debug('[isLogged]', 'v', $cx, $in, array('isLogged'))).'"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/01.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/02.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/03.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/04.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/05.jpg"> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_yohope]', 'encq', $cx, Plugin\LCRun3::debug('[url_yohope]', 'v', $cx, $in, array('url_yohope'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/06.jpg"> + <a class="href href-center" href="'.Plugin\LCRun3::debug('[url_mycoupon]', 'encq', $cx, Plugin\LCRun3::debug('[url_mycoupon]', 'v', $cx, $in, array('url_mycoupon'))).'"></a> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-2.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/07.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/08.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_more]', 'encq', $cx, Plugin\LCRun3::debug('[url_more]', 'v', $cx, $in, array('url_more'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_more]', 'encq', $cx, Plugin\LCRun3::debug('[url_more]', 'v', $cx, $in, array('url_more'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/09.jpg"> + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16753"></span> + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16755"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/10.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_4]', 'encq', $cx, Plugin\LCRun3::debug('[url_4]', 'v', $cx, $in, array('url_4'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_343]', 'encq', $cx, Plugin\LCRun3::debug('[url_343]', 'v', $cx, $in, array('url_343'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/11.jpg"> + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16757"></span> + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16759"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/12.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_230]', 'encq', $cx, Plugin\LCRun3::debug('[url_230]', 'v', $cx, $in, array('url_230'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_536]', 'encq', $cx, Plugin\LCRun3::debug('[url_536]', 'v', $cx, $in, array('url_536'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/13.jpg"> + <span class="href href-left get-coupon" onclick="" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16761"></span> + <span class="href href-right get-coupon" onclick="" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16763"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/14.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_847]', 'encq', $cx, Plugin\LCRun3::debug('[url_847]', 'v', $cx, $in, array('url_847'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_900]', 'encq', $cx, Plugin\LCRun3::debug('[url_900]', 'v', $cx, $in, array('url_900'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/15.jpg"> + <span class="href href-left get-coupon" onclick="" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16765"></span> + <span class="href href-right get-coupon" onclick="" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16767"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/16.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_868]', 'encq', $cx, Plugin\LCRun3::debug('[url_868]', 'v', $cx, $in, array('url_868'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_1026]', 'encq', $cx, Plugin\LCRun3::debug('[url_1026]', 'v', $cx, $in, array('url_1026'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/17.jpg"> + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16769"></span> + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16771"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-2.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/24-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/24-2.jpg"> + <a class="show-more" href="'.Plugin\LCRun3::debug('[url_help]', 'encq', $cx, Plugin\LCRun3::debug('[url_help]', 'v', $cx, $in, array('url_help'))).'"></a> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/24-3.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-2.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/25.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/26.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/27.jpg"> + </div> + <script type="text/javascript" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/jquery.min.js"></script> + <script type="text/javascript" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/newuser/coupon2.js"></script> + </body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.2/5a8692d682d191325fdc049564052df9.php b/compile/huodong.m.yohobuy.com/1.0.2/5a8692d682d191325fdc049564052df9.php new file mode 100644 index 0000000..04e2f1c --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.2/5a8692d682d191325fdc049564052df9.php @@ -0,0 +1,150 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8"> + <title>'.Plugin\LCRun3::debug('[staticTitle]', 'encq', $cx, Plugin\LCRun3::debug('[staticTitle]', 'v', $cx, $in, array('staticTitle'))).'</title> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> + <style> + *{margin: 0;padding: 0;} + #coupon-container {width: 100%;} + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} + .img-box {width: 100%;position: relative;} + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} + .img-box .href-left {left: 0} + .img-box .href-right {right: 0} + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} + .yoho-tip { + position: fixed; + display: none; + text-align: center; + width: 70%; + padding: 34px 0; + top: 50%; + left: 50%; + margin-left: -35%; + margin-top: -45px; + background-color: #000; + opacity: 0.9; + color: #fff; + font-size: 18px; + border: none; + border-radius: 10px; + } + </style> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + </head> + <body> + <div class="coupon-container" id="coupon-container" param="'.Plugin\LCRun3::debug('[activityId]', 'encq', $cx, Plugin\LCRun3::debug('[activityId]', 'v', $cx, $in, array('activityId'))).'" isLogged="'.Plugin\LCRun3::debug('[isLogged]', 'encq', $cx, Plugin\LCRun3::debug('[isLogged]', 'v', $cx, $in, array('isLogged'))).'"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/01.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/02.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/03.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/04.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/05.jpg"> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_yohope]', 'encq', $cx, Plugin\LCRun3::debug('[url_yohope]', 'v', $cx, $in, array('url_yohope'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/06.jpg"> + <a class="href href-center" href="'.Plugin\LCRun3::debug('[url_mycoupon]', 'encq', $cx, Plugin\LCRun3::debug('[url_mycoupon]', 'v', $cx, $in, array('url_mycoupon'))).'"></a> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-2.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/07.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/08.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_more]', 'encq', $cx, Plugin\LCRun3::debug('[url_more]', 'v', $cx, $in, array('url_more'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_more]', 'encq', $cx, Plugin\LCRun3::debug('[url_more]', 'v', $cx, $in, array('url_more'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/09.jpg"> + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16753"></span> + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16755"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/10.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_4]', 'encq', $cx, Plugin\LCRun3::debug('[url_4]', 'v', $cx, $in, array('url_4'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_343]', 'encq', $cx, Plugin\LCRun3::debug('[url_343]', 'v', $cx, $in, array('url_343'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/11.jpg"> + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16757"></span> + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16759"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/12.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_230]', 'encq', $cx, Plugin\LCRun3::debug('[url_230]', 'v', $cx, $in, array('url_230'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_536]', 'encq', $cx, Plugin\LCRun3::debug('[url_536]', 'v', $cx, $in, array('url_536'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/13.jpg"> + <span class="href href-left get-coupon" onclick="" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16761"></span> + <span class="href href-right get-coupon" onclick="" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16763"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/14.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_847]', 'encq', $cx, Plugin\LCRun3::debug('[url_847]', 'v', $cx, $in, array('url_847'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_900]', 'encq', $cx, Plugin\LCRun3::debug('[url_900]', 'v', $cx, $in, array('url_900'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/15.jpg"> + <span class="href href-left get-coupon" onclick="" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16765"></span> + <span class="href href-right get-coupon" onclick="" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16767"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/16.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_868]', 'encq', $cx, Plugin\LCRun3::debug('[url_868]', 'v', $cx, $in, array('url_868'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_1026]', 'encq', $cx, Plugin\LCRun3::debug('[url_1026]', 'v', $cx, $in, array('url_1026'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/17.jpg"> + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16769"></span> + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16771"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-2.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/24-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/24-2.jpg"> + <a class="show-more" href="'.Plugin\LCRun3::debug('[url_help]', 'encq', $cx, Plugin\LCRun3::debug('[url_help]', 'v', $cx, $in, array('url_help'))).'"></a> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/24-3.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-2.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/25.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/26.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/27.jpg"> + </div> + <script type="text/javascript" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/jquery.min.js"></script> + <script type="text/javascript" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/newuser/coupon2.js"></script> + </body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.2/a5715e28453955ded648b0a97162021c.php b/compile/huodong.m.yohobuy.com/1.0.2/a5715e28453955ded648b0a97162021c.php new file mode 100644 index 0000000..667ae88 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.2/a5715e28453955ded648b0a97162021c.php @@ -0,0 +1,157 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta charset="utf-8"> +<title>'.Plugin\LCRun3::debug('[staticTitle]', 'encq', $cx, Plugin\LCRun3::debug('[staticTitle]', 'v', $cx, $in, array('staticTitle'))).'</title> +<meta name="apple-mobile-web-app-title" content="SUMMER SALE"> +<meta name="format-detection" content="telephone=no"> +<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> +<meta name="apple-mobile-web-app-capable" content="yes"> +<meta name="apple-mobile-web-app-status-bar-style" content="grey"> +<link rel="stylesheet" href="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/css/christmas/index.css"> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +</head> +<body class="keBody"> +<div class="coupon-christmas" show="'.Plugin\LCRun3::debug('[showPopupFlag]', 'encq', $cx, Plugin\LCRun3::debug('[showPopupFlag]', 'v', $cx, $in, array('showPopupFlag'))).'"> + <div class="coupon-top"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/top-bg.png" alt=""> + <a class="go-check" href="'.Plugin\LCRun3::debug('[myCouponUrl]', 'encq', $cx, Plugin\LCRun3::debug('[myCouponUrl]', 'v', $cx, $in, array('myCouponUrl'))).'"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <a href="'.Plugin\LCRun3::debug('[bannerUrl_1]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_1]', 'v', $cx, $in, array('bannerUrl_1'))).'"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/banner01.png" alt=""> + </a> + </div> + <div class="coupon-banner"> + <a href="'.Plugin\LCRun3::debug('[bannerUrl_2]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_2]', 'v', $cx, $in, array('bannerUrl_2'))).'"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/banner02.png" alt=""> + </a> + </div> + <div class="bottom-btn"> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <a class="download-yoho" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> + </div> + + </div> + <div class="coupon-ft"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/14.jpg"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.Plugin\LCRun3::debug('[shareLink]', 'encq', $cx, Plugin\LCRun3::debug('[shareLink]', 'v', $cx, $in, array('shareLink'))).'"> +<input id="shareImg" type="hidden" value="'.Plugin\LCRun3::debug('[shareImg]', 'encq', $cx, Plugin\LCRun3::debug('[shareImg]', 'v', $cx, $in, array('shareImg'))).'"> +<input id="shareTitle" type="hidden" value="'.Plugin\LCRun3::debug('[shareTitle]', 'encq', $cx, Plugin\LCRun3::debug('[shareTitle]', 'v', $cx, $in, array('shareTitle'))).'"> +<input id="shareDesc" type="hidden" value="'.Plugin\LCRun3::debug('[shareDesc]', 'encq', $cx, Plugin\LCRun3::debug('[shareDesc]', 'v', $cx, $in, array('shareDesc'))).'"> +<script type="text/javascript" src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::debug('[weixinShare]', 'ifvar', $cx, Plugin\LCRun3::debug('[weixinShare]', 'v', $cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.2/cda9c3082e3e74136850693b00bc7c38.php b/compile/huodong.m.yohobuy.com/1.0.2/cda9c3082e3e74136850693b00bc7c38.php new file mode 100644 index 0000000..544c80e --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.2/cda9c3082e3e74136850693b00bc7c38.php @@ -0,0 +1,150 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8"> + <title>'.Plugin\LCRun3::debug('[staticTitle]', 'encq', $cx, Plugin\LCRun3::debug('[staticTitle]', 'v', $cx, $in, array('staticTitle'))).'</title> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> + <style> + *{margin: 0;padding: 0;} + #coupon-container {width: 100%;} + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} + .img-box {width: 100%;position: relative;} + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} + .img-box .href-left {left: 0} + .img-box .href-right {right: 0} + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} + .yoho-tip { + position: fixed; + display: none; + text-align: center; + width: 70%; + padding: 34px 0; + top: 50%; + left: 50%; + margin-left: -35%; + margin-top: -45px; + background-color: #000; + opacity: 0.9; + color: #fff; + font-size: 18px; + border: none; + border-radius: 10px; + } + </style> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + </head> + <body> + <div class="coupon-container" id="coupon-container" param="'.Plugin\LCRun3::debug('[activityId]', 'encq', $cx, Plugin\LCRun3::debug('[activityId]', 'v', $cx, $in, array('activityId'))).'" isLogged="'.Plugin\LCRun3::debug('[isLogged]', 'encq', $cx, Plugin\LCRun3::debug('[isLogged]', 'v', $cx, $in, array('isLogged'))).'"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/01.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/02.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/03.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/04.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/05.jpg"> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_yohope]', 'encq', $cx, Plugin\LCRun3::debug('[url_yohope]', 'v', $cx, $in, array('url_yohope'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/06.jpg"> + <a class="href href-center" href="'.Plugin\LCRun3::debug('[url_mycoupon]', 'encq', $cx, Plugin\LCRun3::debug('[url_mycoupon]', 'v', $cx, $in, array('url_mycoupon'))).'"></a> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-2.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/07.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/08.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_more]', 'encq', $cx, Plugin\LCRun3::debug('[url_more]', 'v', $cx, $in, array('url_more'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_more]', 'encq', $cx, Plugin\LCRun3::debug('[url_more]', 'v', $cx, $in, array('url_more'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/09.jpg"> + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16753"></span> + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16755"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/10.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_4]', 'encq', $cx, Plugin\LCRun3::debug('[url_4]', 'v', $cx, $in, array('url_4'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_343]', 'encq', $cx, Plugin\LCRun3::debug('[url_343]', 'v', $cx, $in, array('url_343'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/11.jpg"> + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16757"></span> + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16759"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/12.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_230]', 'encq', $cx, Plugin\LCRun3::debug('[url_230]', 'v', $cx, $in, array('url_230'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_536]', 'encq', $cx, Plugin\LCRun3::debug('[url_536]', 'v', $cx, $in, array('url_536'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/13.jpg"> + <span class="href href-left get-coupon" onclick="" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16761"></span> + <span class="href href-right get-coupon" onclick="" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16763"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/14.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_847]', 'encq', $cx, Plugin\LCRun3::debug('[url_847]', 'v', $cx, $in, array('url_847'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_900]', 'encq', $cx, Plugin\LCRun3::debug('[url_900]', 'v', $cx, $in, array('url_900'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/15.jpg"> + <span class="href href-left get-coupon" onclick="" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16765"></span> + <span class="href href-right get-coupon" onclick="" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16767"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/16.jpg"> + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_868]', 'encq', $cx, Plugin\LCRun3::debug('[url_868]', 'v', $cx, $in, array('url_868'))).'"></a> + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_1026]', 'encq', $cx, Plugin\LCRun3::debug('[url_1026]', 'v', $cx, $in, array('url_1026'))).'"></a> + </div> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/17.jpg"> + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16769"></span> + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16771"></span> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-1.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-2.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/24-1.jpg"> + <div class="img-box"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/24-2.jpg"> + <a class="show-more" href="'.Plugin\LCRun3::debug('[url_help]', 'encq', $cx, Plugin\LCRun3::debug('[url_help]', 'v', $cx, $in, array('url_help'))).'"></a> + </div> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/24-3.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/line-2.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/new-1.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/new-2.jpg"> + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser2/new-3.jpg"> + </div> + <script type="text/javascript" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/jquery.min.js"></script> + <script type="text/javascript" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/newuser/coupon2.js"></script> + </body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.2/ece2e5486433e75c0987667280bec643.php b/compile/huodong.m.yohobuy.com/1.0.2/ece2e5486433e75c0987667280bec643.php new file mode 100644 index 0000000..d95593d --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.2/ece2e5486433e75c0987667280bec643.php @@ -0,0 +1,155 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta charset="utf-8"> +<title>'.Plugin\LCRun3::debug('[staticTitle]', 'encq', $cx, Plugin\LCRun3::debug('[staticTitle]', 'v', $cx, $in, array('staticTitle'))).'</title> +<meta name="apple-mobile-web-app-title" content="SUMMER SALE"> +<meta name="format-detection" content="telephone=no"> +<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> +<meta name="apple-mobile-web-app-capable" content="yes"> +<meta name="apple-mobile-web-app-status-bar-style" content="grey"> +<link rel="stylesheet" href="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/css/christmas/index3.css"> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +</head> +<body class="keBody"> +<div class="coupon-christmas" show="'.Plugin\LCRun3::debug('[showPopupFlag]', 'encq', $cx, Plugin\LCRun3::debug('[showPopupFlag]', 'v', $cx, $in, array('showPopupFlag'))).'"> + <div class="coupon-top"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/02/top-bg.png" alt=""> + <img class="wyf" src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/02/wyf.gif" alt=""> + <a class="go-check" href="'.Plugin\LCRun3::debug('[myCouponUrl]', 'encq', $cx, Plugin\LCRun3::debug('[myCouponUrl]', 'v', $cx, $in, array('myCouponUrl'))).'"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <div class="banner-btn"> + <a class="boy" href="'.Plugin\LCRun3::debug('[bannerUrl_1]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_1]', 'v', $cx, $in, array('bannerUrl_1'))).'"></a> + <a class="girl" href="'.Plugin\LCRun3::debug('[bannerUrl_2]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_2]', 'v', $cx, $in, array('bannerUrl_2'))).'"></a> + <a class="life" href="'.Plugin\LCRun3::debug('[bannerUrl_3]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_3]', 'v', $cx, $in, array('bannerUrl_3'))).'"></a> + <a class="kid" href="'.Plugin\LCRun3::debug('[bannerUrl_4]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_4]', 'v', $cx, $in, array('bannerUrl_4'))).'"></a> + </div> + </div> + <div class="bottom-btn"> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <a class="download-yoho" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> + </div> + </div> + <div class="coupon-ft"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/02/14.png"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.Plugin\LCRun3::debug('[shareLink]', 'encq', $cx, Plugin\LCRun3::debug('[shareLink]', 'v', $cx, $in, array('shareLink'))).'"> +<input id="shareImg" type="hidden" value="'.Plugin\LCRun3::debug('[shareImg]', 'encq', $cx, Plugin\LCRun3::debug('[shareImg]', 'v', $cx, $in, array('shareImg'))).'"> +<input id="shareTitle" type="hidden" value="'.Plugin\LCRun3::debug('[shareTitle]', 'encq', $cx, Plugin\LCRun3::debug('[shareTitle]', 'v', $cx, $in, array('shareTitle'))).'"> +<input id="shareDesc" type="hidden" value="'.Plugin\LCRun3::debug('[shareDesc]', 'encq', $cx, Plugin\LCRun3::debug('[shareDesc]', 'v', $cx, $in, array('shareDesc'))).'"> +<script type="text/javascript" src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::debug('[weixinShare]', 'ifvar', $cx, Plugin\LCRun3::debug('[weixinShare]', 'v', $cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/1f520640223ebb44ba396ff720e833fe.php b/compile/huodong.m.yohobuy.com/1.0.3/1f520640223ebb44ba396ff720e833fe.php new file mode 100644 index 0000000..e56f017 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/1f520640223ebb44ba396ff720e833fe.php @@ -0,0 +1,133 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> + <style> + *{margin: 0;padding: 0;} + #coupon-container {width: 100%;} + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} + .img-box {width: 100%;position: relative;} + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} + .img-box .href-left {left: 0} + .img-box .href-right {right: 0} + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} + </style> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> +</head> +<body> + <div id="coupon-container" param="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" isLogged="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isLogged')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/01.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/02.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/03.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/04.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/05.jpg"> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_yohope')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/06.jpg"> + <a class="href href-center" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_mycoupon')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> + + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/07.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/08.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/09.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/10.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="#####"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/11.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/12.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/13.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/14.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/15.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/16.jpg"> + <a class="href href-left" href="#####"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/17.jpg"> + <a class="href href-left" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <!-- 修改end --> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-2.jpg"> + <a class="show-more" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-3.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-1.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-2.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-3.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/26.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/27.jpg"> + </div> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/newuser/coupon2.js"></script> +</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/20a386c6c337395bd0a0594086bef597.php b/compile/huodong.m.yohobuy.com/1.0.3/20a386c6c337395bd0a0594086bef597.php new file mode 100644 index 0000000..ad3b834 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/20a386c6c337395bd0a0594086bef597.php @@ -0,0 +1,134 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> + <style> + *{margin: 0;padding: 0;} + #coupon-container {width: 100%;} + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} + .img-box {width: 100%;position: relative;} + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} + .img-box .href-left {left: 0} + .img-box .href-right {right: 0} + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} + </style> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> +</head> +<body> + <div id="coupon-container" param="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" isLogged="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isLogged')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/01.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/02.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/03.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/04.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/05.jpg"> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_yohope')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/06.jpg"> + <a class="href href-center" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_mycoupon')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> + + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/07.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/08.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/09.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="17443"></span> + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="17445"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/10.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/11.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="17463"></span> + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="17451"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/12.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_2')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_3')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/13.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="17461"></span> + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="17455"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/14.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_4')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_5')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/15.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="17453"></span> + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="17459"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/16.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_6')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/17.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="17449"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-2.jpg"> + <a class="show-more" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_help')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-3.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-1.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-2.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-3.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/26.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/27.jpg"> + </div> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/newuser/coupon2.js"></script> +</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/30e2289c067398e6167ba698d36fef98.php b/compile/huodong.m.yohobuy.com/1.0.3/30e2289c067398e6167ba698d36fef98.php new file mode 100644 index 0000000..585a9e6 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/30e2289c067398e6167ba698d36fef98.php @@ -0,0 +1,154 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta charset="utf-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> + <meta name="format-detection" content="telephone=no"> + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> + <meta name="apple-mobile-web-app-capable" content="yes"> + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/newyear/index-2.css"> + <script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); + </script> +</head> +<body class="keBody"> +<div class="coupon-container" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'"> + <div class="coupon-top"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/top-bg.png" alt=""> + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="app-btn app1" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appUrl_1')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="app-btn app2" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appUrl_2')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <div class="bottom-btn"> + <a class="play-again" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('playAgain')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + </div> + <div class="coupon-ft"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/14.png"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> + +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-container\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-container\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/4be2127c80d55695e74a466f8238a21a.php b/compile/huodong.m.yohobuy.com/1.0.3/4be2127c80d55695e74a466f8238a21a.php new file mode 100644 index 0000000..a2747ff --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/4be2127c80d55695e74a466f8238a21a.php @@ -0,0 +1,132 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> + <style> + *{margin: 0;padding: 0;} + #coupon-container {width: 100%;} + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} + .img-box {width: 100%;position: relative;} + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} + .img-box .href-left {left: 0} + .img-box .href-right {right: 0} + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} + </style> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> +</head> +<body> + <div id="coupon-container" param="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" isLogged="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isLogged')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/01.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/02.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/03.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/04.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/05.jpg"> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_yohope')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/06.jpg"> + <a class="href href-center" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_mycoupon')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> + + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/07.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/08.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/09.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/10.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="#####"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/11.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/12.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/13.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/14.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/15.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/16.jpg"> + <a class="href href-left" href="#####"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/17.jpg"> + <a class="href href-left" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <!-- 修改end --> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-2.jpg"> + <a class="show-more" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-3.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-1.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-2.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-3.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/26.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/27.jpg"> + </div> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/newuser/coupon2.js"></script> +</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/58e659760cba240e7a2b00af270ae341.php b/compile/huodong.m.yohobuy.com/1.0.3/58e659760cba240e7a2b00af270ae341.php new file mode 100644 index 0000000..1252ef2 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/58e659760cba240e7a2b00af270ae341.php @@ -0,0 +1,154 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta charset="utf-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> + <meta name="format-detection" content="telephone=no"> + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> + <meta name="apple-mobile-web-app-capable" content="yes"> + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/newyear/index-2.css"> + <script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); + </script> +</head> +<body class="keBody"> +<div class="coupon-container" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'"> + <div class="coupon-top"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/top-bg.png" alt=""> + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="app-btn app1" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> + <a class="app-btn app2" href="http://www.yohoshow.com/about/index/yohobuyqr"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <div class="bottom-btn"> + <a class="play-again" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('playAgain')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + </div> + <div class="coupon-ft"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/14.png"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> + +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-container\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-container\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/63e4ae1a597c5070bfa832ee97ff5f7f.php b/compile/huodong.m.yohobuy.com/1.0.3/63e4ae1a597c5070bfa832ee97ff5f7f.php new file mode 100644 index 0000000..1252ef2 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/63e4ae1a597c5070bfa832ee97ff5f7f.php @@ -0,0 +1,154 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta charset="utf-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> + <meta name="format-detection" content="telephone=no"> + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> + <meta name="apple-mobile-web-app-capable" content="yes"> + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/newyear/index-2.css"> + <script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); + </script> +</head> +<body class="keBody"> +<div class="coupon-container" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'"> + <div class="coupon-top"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/top-bg.png" alt=""> + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="app-btn app1" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> + <a class="app-btn app2" href="http://www.yohoshow.com/about/index/yohobuyqr"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <div class="bottom-btn"> + <a class="play-again" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('playAgain')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + </div> + <div class="coupon-ft"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/14.png"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> + +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-container\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-container\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/73569d72d1471e46d33de473ec976a84.php b/compile/huodong.m.yohobuy.com/1.0.3/73569d72d1471e46d33de473ec976a84.php new file mode 100644 index 0000000..f79b172 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/73569d72d1471e46d33de473ec976a84.php @@ -0,0 +1,154 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta charset="utf-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> + <meta name="format-detection" content="telephone=no"> + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> + <meta name="apple-mobile-web-app-capable" content="yes"> + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/newyear/index.css"> + <script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); + </script> +</head> +<body class="keBody"> +<div class="coupon-container" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'"> + <div class="coupon-top"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/top-bg.png" alt=""> + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="app-btn app1" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> + <a class="app-btn app2" href="http://www.yohoshow.com/about/index/yohoboysqr"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <div class="bottom-btn"> + <a class="play-again" href="javascript:;"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + </div> + <div class="coupon-ft"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/14.png"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> + +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-container\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-container\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/7b98772677a02b81b2e99c468a41f886.php b/compile/huodong.m.yohobuy.com/1.0.3/7b98772677a02b81b2e99c468a41f886.php new file mode 100644 index 0000000..f5598e4 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/7b98772677a02b81b2e99c468a41f886.php @@ -0,0 +1,154 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta charset="utf-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> + <meta name="format-detection" content="telephone=no"> + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> + <meta name="apple-mobile-web-app-capable" content="yes"> + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/newyear/index.css"> + <script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); + </script> +</head> +<body class="keBody"> +<div class="coupon-container" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'"> + <div class="coupon-top"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/top-bg.png" alt=""> + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="app-btn app1" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> + <a class="app-btn app2" href="http://www.yohoshow.com/about/index/yohobuyqr"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <div class="bottom-btn"> + <a class="play-again" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('playAgain')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + </div> + <div class="coupon-ft"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/14.png"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> + +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-container\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-container\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/8b55643c0cdfaa476f1d5d0d0dda5e17.php b/compile/huodong.m.yohobuy.com/1.0.3/8b55643c0cdfaa476f1d5d0d0dda5e17.php new file mode 100644 index 0000000..819ffe9 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/8b55643c0cdfaa476f1d5d0d0dda5e17.php @@ -0,0 +1,154 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta charset="utf-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> + <meta name="format-detection" content="telephone=no"> + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> + <meta name="apple-mobile-web-app-capable" content="yes"> + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/newyear/index.css"> + <script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); + </script> +</head> +<body class="keBody"> +<div class="coupon-christmas" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'"> + <div class="coupon-top"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/top-bg.png" alt=""> + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="app-btn app1" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> + <a class="app-btn app2" href="http://www.yohoshow.com/about/index/yohoboysqr"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <div class="bottom-btn"> + <a class="play-again" href="javascript:;"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + </div> + <div class="coupon-ft"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/14.png"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> + +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/94c66d8472efb1ee21ada4e279b9d5bd.php b/compile/huodong.m.yohobuy.com/1.0.3/94c66d8472efb1ee21ada4e279b9d5bd.php new file mode 100644 index 0000000..7b69078 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/94c66d8472efb1ee21ada4e279b9d5bd.php @@ -0,0 +1,162 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta charset="utf-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> + <meta name="format-detection" content="telephone=no"> + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> + <meta name="apple-mobile-web-app-capable" content="yes"> + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/newyear/index.css"> + <script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); + </script> +</head> +<body class="keBody"> +<div class="coupon-christmas" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'"> + <div class="coupon-top"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/top-bg.png" alt=""> + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="app-btn app1" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> + <a class="app-btn app2" href="http://www.yohoshow.com/about/index/yohoboysqr"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/banner01.png" alt=""> + </a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/banner02.png" alt=""> + </a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/banner03.png" alt=""> + </a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/banner04.png" alt=""> + </a> + </div> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <div class="bottom-btn"> + <a class="play-again" href="javascript:;"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + </div> + <div class="coupon-ft"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/14.png"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> + +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/9597497f092f5e5af2fe09a6c5c62506.php b/compile/huodong.m.yohobuy.com/1.0.3/9597497f092f5e5af2fe09a6c5c62506.php new file mode 100644 index 0000000..04d7aad --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/9597497f092f5e5af2fe09a6c5c62506.php @@ -0,0 +1,26 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/9e5800da1a07a13a5f7bfe270febad8a.php b/compile/huodong.m.yohobuy.com/1.0.3/9e5800da1a07a13a5f7bfe270febad8a.php new file mode 100644 index 0000000..e6bc11f --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/9e5800da1a07a13a5f7bfe270febad8a.php @@ -0,0 +1,132 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> + <style> + *{margin: 0;padding: 0;} + #coupon-container {width: 100%;} + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} + .img-box {width: 100%;position: relative;} + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} + .img-box .href-left {left: 0} + .img-box .href-right {right: 0} + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} + </style> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> +</head> +<body> + <div id="coupon-container" param="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" isLogged="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isLogged')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/01.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/02.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/03.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/04.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/05.jpg"> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_yohope')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/06.jpg"> + <a class="href href-center" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_mycoupon')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> + + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/07.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/08.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/09.jpg"> + <a class="href href-left" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/10.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/11.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/12.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/13.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/14.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/15.jpg"> + <a class="href href-left" href="#####"></a> + <a class="href href-right" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/16.jpg"> + <a class="href href-left" href="#####"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/17.jpg"> + <a class="href href-left" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <!-- 修改end --> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-2.jpg"> + <a class="show-more" href="#####"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-3.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-1.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-2.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-3.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/26.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/27.jpg"> + </div> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/newuser/coupon2.js"></script> +</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/9fffb3bf7da48304bb260d312ffc326b.php b/compile/huodong.m.yohobuy.com/1.0.3/9fffb3bf7da48304bb260d312ffc326b.php new file mode 100644 index 0000000..4540c51 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/9fffb3bf7da48304bb260d312ffc326b.php @@ -0,0 +1,69 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/newuser/help.css"> +</head> +<body> +<!-- <header> + <a href="javascript:;"></a> + <span>如何使用优惠券</span> + </header>--> + <div class="content"> + <div class="instruction"> + <b>说明:</b>优惠券是有货线上品牌商城针对不同品牌或商品向消费者发送的虚拟优惠券,优惠券可直接用于指定品牌或商品消费,不可转让他人,不可兑换为现金 + </div> + <div class="steps"> + <h1><span></span>优惠券使用步骤</h1> + <div class="step"> + 1. 选择要购买的商品进入到 <b>填写订单 </b>页面后。在选择支付方式里面,点击" <b>使用优惠券支付</b> ",并选择要使用的优惠券或直接输入优惠码 + </div> + <div class="step"> + 2. 在当前页面您可以看到付款详情,确认无误后,点击" <b>去付款</b> " 即生成订单, 按照您所选的支付方式付款。 + </div> + <div class="step"> + 3. 可进入到 " <b>个人中心</b> "点击" <b>订单中心</b> " 查看订单详情。 + </div> + </div> + </div> + <script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); + </script> +</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/a60f638dd64b37a73f4defb174a7b6d0.php b/compile/huodong.m.yohobuy.com/1.0.3/a60f638dd64b37a73f4defb174a7b6d0.php new file mode 100644 index 0000000..9fb62dd --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/a60f638dd64b37a73f4defb174a7b6d0.php @@ -0,0 +1,213 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no"> + <meta content="yes" name="apple-mobile-web-app-capable"> + <meta content="telephone=no" name="format-detection"> + <meta content="yes" name="apple-touch-fullscreen"> + <meta content="black" name="apple-mobile-web-app-status-bar-style"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + <script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); + </script> + <style> + *{margin: 0; padding: 0;} + #wrapper {width: 100%;} + #wrapper img {width: 100%; height: auto; display: block;overflow: hidden;} + .introduce {font-size: 0.5rem; line-height: 1rem;color: #444;padding: 0 0.75rem;margin-top: 1rem;text-indent: 1.125rem;font-family: "SimHei", "Helvetica", "Arial";} + .brand-item {height: auto;overflow: hidden;background: #f4f4f4;margin-bottom: 1rem;} + .brand-item li {display: block;width: 4rem;height: 4rem;float: left;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;-o-box-sizing: border-box;box-sizing: border-box;border-right: 1px solid #e0e0e0;border-bottom: 1px solid #e0e0e0;border: 1px solid #e0e0e0;} + /* .brand-item li:nth-child(4n+4) {border-right: none;} */ + .brand-item li a,.brand-item li img {width: 100%;height: 100%;display: block;overflow: hidden;} + </style> + </head> + <body> + <div id="wrapper"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/banner.jpg"> + + <div class="introduce"> + YOHOPE计划是中国潮流产业的领导者YOHO!集团联合潮流教父Nigo、五月天主唱阿信等全球潮流ICON共同推出的新锐设计师孵化平台,主意是“Help Dream”。该计划为具有设计天赋和潮流设计梦想的国内外原创设计师提供全方位的支持,共同打造更加多元化、更具代表性的设计师品牌和潮流文化,推动中国潮流生态圈的发展。 + </div> + + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/two.jpg"> + + <ul class="brand-item"> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_208')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-01.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_256')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-02.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_257')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-03.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_450')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-04.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_444')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-05.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_443')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-06.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_261')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-07.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_350')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-08.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_302')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-09.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_852')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-10.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_570')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-11.jpg"> + </a> + </li> + <li><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_560')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-12.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_520')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-13.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_562')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-14.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_672')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-15.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_678')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-16.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_396')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-17.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_397')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-18.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_550')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-19.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_591')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-20.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_583')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-21.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_598')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-22.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_824')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-23.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_481')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-24.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_701')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-25.jpg"> + </a> + </li> + <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_464')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/brand-26.jpg"> + </a> + </li> + </ul> + </div> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.lazyload.js"></script> + <script> + $(function() { + $("img.lazy").lazyload({ + threshold: 200 + }); + }); + </script> +</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/ac90415d6c4ad4542697153b0ac05154.php b/compile/huodong.m.yohobuy.com/1.0.3/ac90415d6c4ad4542697153b0ac05154.php new file mode 100644 index 0000000..0e644ba --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/ac90415d6c4ad4542697153b0ac05154.php @@ -0,0 +1,134 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> + <style> + *{margin: 0;padding: 0;} + #coupon-container {width: 100%;} + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} + .img-box {width: 100%;position: relative;} + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} + .img-box .href-left {left: 0} + .img-box .href-right {right: 0} + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} + </style> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> +</head> +<body> + <div id="coupon-container" param="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" isLogged="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isLogged')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/01.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/02.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/03.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/04.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/05.jpg"> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_yohope')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/06.jpg"> + <a class="href href-center" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_mycoupon')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> + + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/07.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/08.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/09.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12129"></span> + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12130"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/10.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/11.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12131"></span> + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12132"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/12.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_2')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_3')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/13.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12133"></span> + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12134"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/14.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_4')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_5')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/15.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12135"></span> + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12136"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/16.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_6')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/17.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12137"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-2.jpg"> + <a class="show-more" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_help')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-3.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-1.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-2.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-3.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/26.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/27.jpg"> + </div> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/newuser/coupon2.js"></script> +</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/b89ec14d7d3d17201800a35c6053fdaf.php b/compile/huodong.m.yohobuy.com/1.0.3/b89ec14d7d3d17201800a35c6053fdaf.php new file mode 100644 index 0000000..49fab44 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/b89ec14d7d3d17201800a35c6053fdaf.php @@ -0,0 +1,135 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> + <style> + *{margin: 0;padding: 0;} + #coupon-container {width: 100%;} + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} + .img-box {width: 100%;position: relative;} + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} + .img-box .href-left {left: 0} + .img-box .href-right {right: 0} + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} + .yoho-tip {position: fixed;display: none;text-align: center;width: 70%;padding: 34px 0;top: 50%;left: 50%;margin-left: -35%;margin-top: -45px;background-color: #000;opacity: 0.9;color: #fff;font-size: 18px;border: none;border-radius: 10px;} + </style> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> +</head> +<body> + <div id="coupon-container" param="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" isLogged="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isLogged')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/01.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/02.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/03.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/04.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/05.jpg"> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_yohope')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/06.jpg"> + <a class="href href-center" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_mycoupon')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> + + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/07.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/08.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/09.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12129"></span> + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12130"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/10.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/11.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12131"></span> + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12132"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/12.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_2')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_3')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/13.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12133"></span> + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12134"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/14.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_4')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_5')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/15.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12135"></span> + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12136"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/16.jpg"> + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_6')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/17.jpg"> + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12137"></span> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> + + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-1.jpg"> + <div class="img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-2.jpg"> + <a class="show-more" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_help')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-3.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-1.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-2.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-3.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/26.jpg"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/27.jpg"> + </div> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/newuser/coupon2.js"></script> +</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/b8cc2b862de6188bdacc656db8eacdf6.php b/compile/huodong.m.yohobuy.com/1.0.3/b8cc2b862de6188bdacc656db8eacdf6.php new file mode 100644 index 0000000..f79b172 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/b8cc2b862de6188bdacc656db8eacdf6.php @@ -0,0 +1,154 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta charset="utf-8"> + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> + <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> + <meta name="format-detection" content="telephone=no"> + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> + <meta name="apple-mobile-web-app-capable" content="yes"> + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/newyear/index.css"> + <script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); + </script> +</head> +<body class="keBody"> +<div class="coupon-container" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'"> + <div class="coupon-top"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/top-bg.png" alt=""> + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a> + <a class="app-btn app1" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> + <a class="app-btn app2" href="http://www.yohoshow.com/about/index/yohoboysqr"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"></a> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <div class="bottom-btn"> + <a class="play-again" href="javascript:;"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + </div> + <div class="coupon-ft"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/14.png"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> + +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-container\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-container\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/huodong.m.yohobuy.com/1.0.3/c99f95b122b11a5bfffd8ea5ac368126.php b/compile/huodong.m.yohobuy.com/1.0.3/c99f95b122b11a5bfffd8ea5ac368126.php new file mode 100644 index 0000000..d4a8753 --- /dev/null +++ b/compile/huodong.m.yohobuy.com/1.0.3/c99f95b122b11a5bfffd8ea5ac368126.php @@ -0,0 +1,154 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return '<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta charset="utf-8"> + <title>'.Plugin\LCRun3::debug('[staticTitle]', 'encq', $cx, Plugin\LCRun3::debug('[staticTitle]', 'v', $cx, $in, array('staticTitle'))).'</title> + <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> + <meta name="format-detection" content="telephone=no"> + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> + <meta name="apple-mobile-web-app-capable" content="yes"> + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> + <link rel="stylesheet" href="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/css/newyear/index.css"> + <script> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); + </script> +</head> +<body class="keBody"> +<div class="coupon-container" show="'.Plugin\LCRun3::debug('[showPopupFlag]', 'encq', $cx, Plugin\LCRun3::debug('[showPopupFlag]', 'v', $cx, $in, array('showPopupFlag'))).'"> + <div class="coupon-top"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/newyear/160105/top-bg.png" alt=""> + <a class="go-check" href="'.Plugin\LCRun3::debug('[myCouponUrl]', 'encq', $cx, Plugin\LCRun3::debug('[myCouponUrl]', 'v', $cx, $in, array('myCouponUrl'))).'"></a> + <a class="app-btn app1" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> + <a class="app-btn app2" href="http://www.yohoshow.com/about/index/yohoboysqr"></a> + </div> + <div class="coupon-bottom"> + <div class="coupon-banner"> + <a href="'.Plugin\LCRun3::debug('[bannerUrl_1]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_1]', 'v', $cx, $in, array('bannerUrl_1'))).'"></a> + <a href="'.Plugin\LCRun3::debug('[bannerUrl_2]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_2]', 'v', $cx, $in, array('bannerUrl_2'))).'"></a> + <a href="'.Plugin\LCRun3::debug('[bannerUrl_3]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_3]', 'v', $cx, $in, array('bannerUrl_3'))).'"></a> + <a href="'.Plugin\LCRun3::debug('[bannerUrl_4]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_4]', 'v', $cx, $in, array('bannerUrl_4'))).'"></a> + </div> + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> + <div class="bottom-btn"> + <a class="play-again" href="javascript:;"></a> + <a class="share-btn" href="javascript:;"></a> + </div> + </div> + <div class="coupon-ft"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/newyear/160105/14.png"> + </div> +</div> +<div class="modal"></div> +<div class="dialog-box geted"> + <div class="dialog-inner"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/newyear/160105/geted.png" alt=""/> + <span class="dialog-close"></span> + </div> +</div> + +<div class="dialog-box fail"> + <div class="dialog-inner"> + <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/newyear/160105/fail.png" alt=""/> + <span class="refresh-btn"></span> + </div> +</div> +<input id="shareLink" type="hidden" value="'.Plugin\LCRun3::debug('[shareLink]', 'encq', $cx, Plugin\LCRun3::debug('[shareLink]', 'v', $cx, $in, array('shareLink'))).'"> +<input id="shareImg" type="hidden" value="'.Plugin\LCRun3::debug('[shareImg]', 'encq', $cx, Plugin\LCRun3::debug('[shareImg]', 'v', $cx, $in, array('shareImg'))).'"> +<input id="shareTitle" type="hidden" value="'.Plugin\LCRun3::debug('[shareTitle]', 'encq', $cx, Plugin\LCRun3::debug('[shareTitle]', 'v', $cx, $in, array('shareTitle'))).'"> +<input id="shareDesc" type="hidden" value="'.Plugin\LCRun3::debug('[shareDesc]', 'encq', $cx, Plugin\LCRun3::debug('[shareDesc]', 'v', $cx, $in, array('shareDesc'))).'"> +<script type="text/javascript" src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/js/jquery.min.js"></script> +<script> + //提示分享 + $(\'.share-btn\').click(function () { + $(\'.modal\').fadeIn(); + }); + //关闭提示分享 + $(\'.modal\').click(function () { + $(this).fadeOut(); + }); + + //提示已领过券 + if ($(\'.coupon-container\').attr(\'show\') === \'1\') { + $(\'.dialog-box.geted\').show(); + } + //提示领券失败 + else if ($(\'.coupon-container\').attr(\'show\') === \'2\') { + $(\'.dialog-box.fail\').show(); + } + + //关闭提示 + $(\'.dialog-close\').click(function(){ + $(this).parents(\'.dialog-box\').fadeOut(); + }); + //刷新页面 + $(\'.refresh-btn\').click(function() { + location.reload(); + }); +</script> +'.((Plugin\LCRun3::debug('[weixinShare]', 'ifvar', $cx, Plugin\LCRun3::debug('[weixinShare]', 'v', $cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> +<script type="text/javascript" charset="utf-8" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/share.weixin.js"></script> +' : '').''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); +</script> +<!-- End Google Tag Manager --> +<script type="text/javascript"> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +<script> + var _hmt = _hmt || []; + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +'.'</body> +</html>'; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/00ae80ad9127b9e78c7bd6f94dce3015.php b/compile/m.yohobuy.com/1.3.3/00ae80ad9127b9e78c7bd6f94dce3015.php new file mode 100644 index 0000000..4fb9509 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/00ae80ad9127b9e78c7bd6f94dce3015.php @@ -0,0 +1,714 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="mobile-container"> + <div class="mobile-wrap lifestyle-wrap yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('homeHeader')), $in, false, function($cx, $in) {return ''.' <div class="home-header clearfix" '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bgColor')), $in, false, function($cx, $in) {return 'style="background-color:'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').';background-image:none"';}).'> + <span class="nav-btn iconfont"></span> + <span class="logo"></span> + <span class="search-btn iconfont"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'"></a></span> + </div>'.'';}).' +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('content')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bannerTop')), $in, false, function($cx, $in) {return ''.' <div class="banner-top"> + <div class="banner-swiper swiper-container"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, true, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + </li> +' : ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + <div class="swiper-lazy-preloader"></div> + </li> +').'';}).' </ul> + </div> + <div class="swiper-pagination"> + <div class="pagination-inner"> + </div> + </div> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('iconsEnter')), $in, false, function($cx, $in) {return ''.' <div class="icons-wrapper"> + <ul class="icons-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="icons-item"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="imagebar"><img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""></a><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="linkbar">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</a></li> +';}).' </ul> + </div> +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ''.' <div class="banner-center"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </a> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotCategory')), $in, false, function($cx, $in) {return ''.' <div class="hot-category"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="category-banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> +';}).' <ul class="category-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="img-box"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrands')), $in, false, function($cx, $in) {return ''.' <ul class="hot-brands clearfix"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="brand"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="brand-logo"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </div> + <p class="brand-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' <li class="more"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more')), ENT_QUOTES, 'UTF-8').'"></a> + </li> + </ul>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrandsScroll')), $in, false, function($cx, $in) {return ''.' <div class="hot-brands"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.' <div class="brands-swiper"> + <ul class="brands-list swiper-wrapper clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + <span class="brands-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</span> + </a> + </li> +';}).' </ul> + </div> + </div> +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendColloaction')), $in, false, function($cx, $in) {return ''.' <div class="trend-coll-wrapper"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="trend-coll-content clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('article')), $in, false, function($cx, $in) {return ' <div class="lspan"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="lazy rspanimg" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" ></a> + </div> +';}).' </div> + <div class="trend-coll-tail"> + <h3 class="recommend-title">推荐搭配</h3> + <div class="recommend-swiper"> + <ul class="recommend-list swiper-wrapper clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('recommend_collocation')), $in, false, function($cx, $in) {return ' <li class="recommend-item swiper-slide"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="" /></a></li> +';}).' </ul> + </div> + </div> + </div> + + +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendTopics')), $in, false, function($cx, $in) {return ''.' <div class="trend-topic-wrapper"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="trend-topic-content"> + <div class="trend-topic-swiper"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="img-box"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> + <div class="item-content"> + <p class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</p> + <p class="time"> + <span class="iconfont time-icon"></span> + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publish_time')), ENT_QUOTES, 'UTF-8').'</span> + </p> + </div> + </a> + </li> +';}).' </ul> + </div> + <div class="swiper-pagination"> + <div class="pagination-inner clearfix"> + </div> + </div> + </div> + </div> +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsCategory')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="goods-category"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('big_image')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('big_list')))) ? ' <div class="category-swiper"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('big_list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'"> + </a> + </li> +';}).' </ul> + <div class="swiper-pagination"> + <div class="pagination-inner clearfix"> + </div> + </div> + </div> +' : ' <div class="category-swiper"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div> +').'';}).' <ul class="category-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="img-box"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> + <p class="category-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('creativeLife')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="creative-life"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> +';}).' <ul class="classify-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="classify"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="classify-logo"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </div> + <p class="classify-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('plusStar')), $in, false, function($cx, $in) {return ''.' + <div class="plus-star"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div>'.'';}).'';}).' + '.'<div class="maybe-like"> + <ul id="maybe-like-nav" class="maybe-like-nav clearfix"> + <li class="maybe-like-nav-item focus">新品到着</li> + <li class="maybe-like-nav-item">人气单品</li> + </ul> + + <div id="goods-list"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsContainer')), $in, false, function($cx, $in) {return ' <div class="goods-list '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('show')))) ? 'hide' : '').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).' </div> +';}).' </div> + + <div id="load-more-info" class="load-more-info"> + <div class="loading status hide"> + 正在加载... + </div> + <span class="no-more status hide">没有更多啦</span> + </div> +</div>'.''.' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('twoColumnGoods')), $in, false, function($cx, $in) {return ''.' <div class="two-column-goods"> + <ul class="column-nav clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('columnNav')), $in, false, function($cx, $in) {return ' <li data-url="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</li> +';}).' </ul> + <div class="goods-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).' </div> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bannerBottom')), $in, false, function($cx, $in) {return ''.' <div class="banner-bottom"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </a> + </div>'.'';}).' <div class="overlay"></div> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showFooterTab')), $in, false, function($cx, $in) {return ' <div class="footer-tab"> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('indexUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">首页</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('categoryUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">分类</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('guangUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">逛</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shoppingCartUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">购物车</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('minePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('mineUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">我的</p> + </a> + </div> +';}).' '.' </div> +'.' <div class="side-nav"> + <ul> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sideNav')), $in, false, function($cx, $in) {return ' <li class="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('styleClass')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;"> +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('img')), $in, false, function($cx, $in) {return ' <span class="nav-img" style="background-image: url('.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').')"></span> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('img')))) ? ' <i class="nav-icon"></i> +' : '').' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <span class="enter-subnav iconfont"></span> +';}).' </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <ul class="sub-nav"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isSelect')), $in, false, function($cx, $in) {return 'current';}).'" style="background-color:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bgColor')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;"> +' : '').''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('back')))) ? ' <span class="nav-point iconfont"></span> +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('back')), $in, false, function($cx, $in) {return ' <i class="nav-back iconfont"></i> +';}).' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').' + </a> + </li> +';}).' </ul> +';}).' </li> +';}).' </ul> + </div>'.'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/0126cb355f326b849c72e45ed8d2204c.php b/compile/m.yohobuy.com/1.3.3/0126cb355f326b849c72e45ed8d2204c.php new file mode 100644 index 0000000..cee2fcb --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/0126cb355f326b849c72e45ed8d2204c.php @@ -0,0 +1,522 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="good-list-page yoho-page"> +'.''.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"> + <form id="search-form" action="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" method="get"> + <i class="search-icon iconfont"></i> + <input type="text" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('default')), ENT_QUOTES, 'UTF-8').'" name="query"> + <input type="hidden" value="search" name="from"> + <i class="clear-input iconfont hide"></i> + <span id="search" class="search" type="submit">搜索</span> + </form> + </div> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('brandWay')), $in, false, function($cx, $in) {return ' <div class="brand-way"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="brand-thumb" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + <span class="entry"> + 进入品牌 + <i class="iconfont"></i> + </span> + </a> + </div> +';}).' +'.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').'> + <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('banner')), ENT_QUOTES, 'UTF-8').'> + <a class="btn-intro" href="javascript:void(0);"> + 品牌介绍 + </a> + <a class="btn-col'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('collected')))) ? ' coled' : '').'" href="javascript:void(0);"> + <span class="iconfont"></span> + <span class="txt"></span> + </a> + </div> + <div id="intro-box" class="brand-intro-box hide"> + <div id="brand-intro" class="brand-intro"> + <h2>品牌介绍</h2> + <div class="con"> + '.Plugin\LCRun3::v($cx, $in, array('intro')).' + </div> + <p class="fo"> + <span class="iconfont"></span> + 100%品牌授权正品 + </p> + <span class="iconfont close-intro"></span> + </div> + </div> +';}).' + <ul id="list-nav" class="list-nav clearfix"> + <li class="new active"> + <a href="javascript:void(0);"> + <span class="nav-txt">最新</span> + <span class="iconfont cur"></span> + </a> + </li> + <li class="price"> + <a href="javascript:void(0);"> + <span class="nav-txt">价格</span> + <span class="icon"> + <i class="iconfont up"></i> + <i class="iconfont down cur"></i> + </span> + </a> + </li> + <li class="discount"> + <a href="javascript:void(0);"> + <span class="nav-txt">折扣</span> + <span class="icon"> + <i class="iconfont up"></i> + <i class="iconfont down cur"></i> + </span> + </a> + </li> + <li class="filter"> + <a href="javascript:void(0);"> + <span class="nav-txt">筛选</span> + <span class="iconfont cur"></span> + </a> + </li> + </ul> + <div id="goods-container" class="goods-container"> + <div class="new-goods container clearfix"></div> + <div class="price-goods container clearfix hide"></div> + <div class="discount-goods container clearfix hide"></div> + +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide"> + <div class="filter-body"> + <ul class="classify"> +'.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' : '').'"> + <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'"> + <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + </p> + <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'> +'.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').'> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + <i class="iconfont chosed-icon"></i> + </li> +';}).' </ul> + </li> +';}).' </ul> + </div> + </div> + ';}).''.' </div> + +'.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brand')))) ? ' <input class="query-param" type="hidden" data-attr="brand" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('brand')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('gender')))) ? ' <input class="query-param" type="hidden" data-attr="gender" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('gender')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('sort')))) ? ' <input class="query-param" type="hidden" data-attr="sort" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sort')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('msort')))) ? ' <input class="query-param" type="hidden" data-attr="msort" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('msort')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('misort')))) ? ' <input class="query-param" type="hidden" data-attr="misort" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('misort')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <input class="query-param" type="hidden" data-attr="color" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <input class="query-param" type="hidden" data-attr="size" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' <input class="query-param" type="hidden" data-attr="price" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discount')))) ? ' <input class="query-param" type="hidden" data-attr="discount" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('discount')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('query')))) ? ' <input class="query-param" type="hidden" data-attr="query" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('query')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('style')))) ? ' <input class="query-param" type="hidden" data-attr="style" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('style')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('p_d')))) ? ' <input class="query-param" type="hidden" data-attr="p_d" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('p_d')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channel')))) ? ' <input class="query-param" type="hidden" data-attr="channel" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('channel')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('dayLimit')))) ? ' <input class="query-param" type="hidden" data-attr="dayLimit" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dayLimit')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('limit')))) ? ' <input class="query-param" type="hidden" data-attr="limit" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('limit')), ENT_QUOTES, 'UTF-8').'"> + ' : '').''.' +'.' <div id="suspend-cart" class="suspend-cart"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'> + <span class="iconfont"></span> + </a> + <span class="cart-count hide">0</span> + </div>'.' ';}).''.'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/04b8a40e25d472a2af14a14089d21a12.php b/compile/m.yohobuy.com/1.3.3/04b8a40e25d472a2af14a14089d21a12.php new file mode 100644 index 0000000..e7b1aaf --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/04b8a40e25d472a2af14a14089d21a12.php @@ -0,0 +1,535 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="order-ensure-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsure')), $in, false, function($cx, $in) {return ' <a class="address-wrap block" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('addressId')), ENT_QUOTES, 'UTF-8').'" data-support="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isSupport')), ENT_QUOTES, 'UTF-8').'" href="/cart/index/selectAddress"> + <p class="infos"> + 收货地址 + <span class="per-info">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('phoneNum')), ENT_QUOTES, 'UTF-8').'</span> + <span class="address">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('addressInfo')), ENT_QUOTES, 'UTF-8').'</span> + </p> + <span class="iconfont"></span> + </a> + + <section class="dispatch block"> + <div class="sub-block"> + <h3 class="title">配送方式</h3> + <ul class="dispatch-mode clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('dispatchMode')), $in, true, function($cx, $in) {return ' <li '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isSelected')))) ? 'class="chosed"' : '').' data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</li> +';}).' </ul> + </div> + + <div class="sub-block"> + <h3 class="title">送货时间</h3> + <ul class="dispatch-time clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('dispatchTime')), $in, true, function($cx, $in) {return ' <li '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isSelected')))) ? 'class="chosed"' : '').' data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</li> +';}).' </ul> + </div> + </section> + + <section class="block"> + <h3 class="title">商品</h3> + <div class="goods"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, true, function($cx, $in) {return ''.' <div class="order-good" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="thumb-wrap"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('link')))) ? ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"><img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"></a> +' : ' <img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> +').' <p class="tag'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('gift')))) ? ' gift-tag' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuy')))) ? ' advance-buy-tag' : '').'"></p> + </div> + <div class="deps"> + <p class="name row">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + <p class="row"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <span class="color"> + 颜色:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <span class="size"> + 尺码:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' </p> + <p class="row price-wrap"> + <span class="price"> + ¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').' + </span> + <span class="count"> + ×'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').' + </span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('appearDate')))) ? ' <span class="appear-date">上市期:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appearDate')), ENT_QUOTES, 'UTF-8').'</span> +' : '').' </p> + </div> + </div>'.'';}).' </div> + </section> + + <section class="block"> + <ul class="sale-invoice"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isOrdinaryCart')))) ? ' <li class="coupon"> + <a href="/cart/index/selectCoupon"> + <span class="title">优惠券</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('coupon')), $in, false, function($cx, $in) {return ' <!--<span class="coupon-count"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'张可用 + </span>--> + +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponName')))) ? ' <span class="used coupon-use" data-name="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('couponName')), ENT_QUOTES, 'UTF-8').'"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('couponName')), ENT_QUOTES, 'UTF-8').' + <i class="iconfont"></i> + </span> +' : ' <span class="not-used coupon-use"> + 未使用 + <i class="iconfont"></i> + </span> +').'';}).' </a> + </li> +' : '').' <li class="coin" data-yoho-coin="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('yohoCoin')), ENT_QUOTES, 'UTF-8').'"> + <span class="title">YOHO币</span> + +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('yohoCoin')))) ? ' <span class="desc used '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('useYohoCoin')))) ? 'hide' : '').'">已抵¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('useYohoCoin')), ENT_QUOTES, 'UTF-8').'</span> + <span class="desc can-use '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('useYohoCoin')))) ? 'hide' : '').'">可抵¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('yohoCoin')), ENT_QUOTES, 'UTF-8').'</span> + +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('useYohoCoin')))) ? ' <span class="coin-check"> + <em>- ¥ '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('useYohoCoin')), ENT_QUOTES, 'UTF-8').'</em> + <i class="iconfont checkbox icon-cb-checked"></i> + </span> +' : ' <span class="coin-check"> + <em style="display: none;">- ¥ '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('useYohoCoin')), ENT_QUOTES, 'UTF-8').'</em> + <i class="iconfont checkbox icon-checkbox"></i> + </span> +').'' : ' <span class="not-used coin-check"> + 无YOHO币可用 + </span> +').' </li> + +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('invoice')))) ? ' <li class="invoice '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('needInvoice')))) ? 'focus' : '').'"> + <span class="title">发票</span> + <span class="iconfont checkbox '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('needInvoice')))) ? 'icon-cb-checked' : 'icon-checkbox').'"></span> + <form id="invoice"> + <input type="text" name="invoice-title" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('invoiceText')), ENT_QUOTES, 'UTF-8').'" maxlength="30" placeholder="发票抬头"> + <label> + 发票类型 + <select class="invoice-type" name="invoice-type"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('invoice')), $in, false, function($cx, $in) {return ' <option value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isSelected')))) ? 'selected' : '').'>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</option> +';}).' </select> + </label> + </form> + </li> +' : '').' </ul> + + <form id="msg" action="" method="post"> + <input type="text" name="msg" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('msg')), ENT_QUOTES, 'UTF-8').'" maxlength="40" placeholder="留言"> + </form> + </section> + + <section class="price-cal block"> + <ul class="total"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('cartPayData')), $in, false, function($cx, $in) {return ' <li> + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('promotion')), ENT_QUOTES, 'UTF-8').'</span> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('promotion_amount')), ENT_QUOTES, 'UTF-8').' + </li> +';}).' <li class="cost"> + 应付金额: <em>¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</em> + </li> + </ul> + </section> + + <ul class="pay-mode"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('paymentWay')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isSupport')))) ? ' <li class="'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('recommend')))) ? 'default' : '').'" data-pay-type="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('paymentType')), ENT_QUOTES, 'UTF-8').'" data-pay-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <span class="iconfont"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('recommend')))) ? '  +' : '  +').' </span> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + </li> +' : '').'';}).' </ul> +';}).'</div> +<script id="tmpl-price" type="text/tmpl"> + <ul class="total"> + {{#cartPayData}} + <li> + <span>{{promotion}}</span> + {{promotion_amount}} + </li> + {{/cartPayData}} + <li class="cost"> + 应付金额: <em>¥{{price}}</em> + </li> + </ul> +</script> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/09f065812ac91cbb1aecae540944f8d7.php b/compile/m.yohobuy.com/1.3.3/09f065812ac91cbb1aecae540944f8d7.php new file mode 100644 index 0000000..83736a0 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/09f065812ac91cbb1aecae540944f8d7.php @@ -0,0 +1,50 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hasFavProduct')), $in, false, function($cx, $in) {return '<li data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('fav_id')), ENT_QUOTES, 'UTF-8').'"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"> + <div class="fav-img-box"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'" alt=""/> + </div> + <div class="fav-info-list"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <div class="fav-price"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('discountPrice')), $in, false, function($cx, $in) {return ' <span class="new-price">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' <span class="fav-price '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('discountPrice')), $in, false, function($cx, $in) {return 'price-underline';}).'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span> + </div> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('savePrice')), $in, false, function($cx, $in) {return ' <div class="save-price save-price-number"> + 比收藏时降价了<span>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> + <span class="del-fav iconfont"></span> + </div> +';}).' +'.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('savePrice')))) ? ' <div class="save-price"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sellOut')), $in, false, function($cx, $in) {return ' <span class="sell-out">已售罄</span> +';}).' <span class="del-fav iconfont"></span> + </div> +' : '').' + </div> + </a> +</li> +';}).''.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/0cd3f4be4a36d8b698880b832029b706.php b/compile/m.yohobuy.com/1.3.3/0cd3f4be4a36d8b698880b832029b706.php new file mode 100644 index 0000000..febb687 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/0cd3f4be4a36d8b698880b832029b706.php @@ -0,0 +1,650 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="mobile-container"> + <div class="mobile-wrap girls-wrap yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('homeHeader')), $in, false, function($cx, $in) {return ''.' <div class="home-header clearfix" '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bgColor')), $in, false, function($cx, $in) {return 'style="background-color:'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').';background-image:none"';}).'> + <span class="nav-btn iconfont"></span> + <span class="logo"></span> + <span class="search-btn iconfont"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'"></a></span> + </div>'.'';}).' +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('content')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bannerTop')), $in, false, function($cx, $in) {return ''.' <div class="banner-top"> + <div class="banner-swiper swiper-container"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, true, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + </li> +' : ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + <div class="swiper-lazy-preloader"></div> + </li> +').'';}).' </ul> + </div> + <div class="swiper-pagination"> + <div class="pagination-inner"> + </div> + </div> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('iconsEnter')), $in, false, function($cx, $in) {return ''.' <div class="icons-wrapper"> + <ul class="icons-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="icons-item"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="imagebar"><img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""></a><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="linkbar">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</a></li> +';}).' </ul> + </div> +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ''.' <div class="banner-center"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </a> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotCategory')), $in, false, function($cx, $in) {return ''.' <div class="hot-category"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="category-banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> +';}).' <ul class="category-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="img-box"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrands')), $in, false, function($cx, $in) {return ''.' <ul class="hot-brands clearfix"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="brand"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="brand-logo"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </div> + <p class="brand-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' <li class="more"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more')), ENT_QUOTES, 'UTF-8').'"></a> + </li> + </ul>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrandsScroll')), $in, false, function($cx, $in) {return ''.' <div class="hot-brands"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.' <div class="brands-swiper"> + <ul class="brands-list swiper-wrapper clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + <span class="brands-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</span> + </a> + </li> +';}).' </ul> + </div> + </div> +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendColloaction')), $in, false, function($cx, $in) {return ''.' <div class="trend-coll-wrapper"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="trend-coll-content clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('article')), $in, false, function($cx, $in) {return ' <div class="lspan"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="lazy rspanimg" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" ></a> + </div> +';}).' </div> + <div class="trend-coll-tail"> + <h3 class="recommend-title">推荐搭配</h3> + <div class="recommend-swiper"> + <ul class="recommend-list swiper-wrapper clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('recommend_collocation')), $in, false, function($cx, $in) {return ' <li class="recommend-item swiper-slide"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="" /></a></li> +';}).' </ul> + </div> + </div> + </div> + + +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendTopics')), $in, false, function($cx, $in) {return ''.' <div class="trend-topic-wrapper"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="trend-topic-content"> + <div class="trend-topic-swiper"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="img-box"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> + <div class="item-content"> + <p class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</p> + <p class="time"> + <span class="iconfont time-icon"></span> + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publish_time')), ENT_QUOTES, 'UTF-8').'</span> + </p> + </div> + </a> + </li> +';}).' </ul> + </div> + <div class="swiper-pagination"> + <div class="pagination-inner clearfix"> + </div> + </div> + </div> + </div> +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsCategory')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="goods-category"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('big_image')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('big_list')))) ? ' <div class="category-swiper"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('big_list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'"> + </a> + </li> +';}).' </ul> + <div class="swiper-pagination"> + <div class="pagination-inner clearfix"> + </div> + </div> + </div> +' : ' <div class="category-swiper"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div> +').'';}).' <ul class="category-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="img-box"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> + <p class="category-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('creativeLife')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="creative-life"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> +';}).' <ul class="classify-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="classify"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="classify-logo"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </div> + <p class="classify-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('plusStar')), $in, false, function($cx, $in) {return ''.' + <div class="plus-star"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div>'.'';}).'';}).' + '.'<div class="maybe-like"> + <p class="title"> + <i class="icon"></i> + <span>你可能喜欢</span> + </p> + + <div id="goods-list" class="goods-list clearfix"></div> + +</div> +<div class="load-more-img hide" id="load-more-img"> + <a href=""> + <img src=""> + </a> +</div> +'.''.' + <div class="overlay"></div> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showFooterTab')), $in, false, function($cx, $in) {return ' <div class="footer-tab"> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('indexUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">首页</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('categoryUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">分类</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('guangUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">逛</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shoppingCartUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">购物车</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('minePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('mineUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">我的</p> + </a> + </div> +';}).' '.' </div> +'.' <div class="side-nav"> + <ul> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sideNav')), $in, false, function($cx, $in) {return ' <li class="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('styleClass')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;"> +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('img')), $in, false, function($cx, $in) {return ' <span class="nav-img" style="background-image: url('.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').')"></span> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('img')))) ? ' <i class="nav-icon"></i> +' : '').' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <span class="enter-subnav iconfont"></span> +';}).' </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <ul class="sub-nav"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isSelect')), $in, false, function($cx, $in) {return 'current';}).'" style="background-color:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bgColor')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;"> +' : '').''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('back')))) ? ' <span class="nav-point iconfont"></span> +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('back')), $in, false, function($cx, $in) {return ' <i class="nav-back iconfont"></i> +';}).' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').' + </a> + </li> +';}).' </ul> +';}).' </li> +';}).' </ul> + </div>'.'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/138488bac8e1528353a4e762d02234dd.php b/compile/m.yohobuy.com/1.3.3/138488bac8e1528353a4e762d02234dd.php new file mode 100644 index 0000000..b3db217 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/138488bac8e1528353a4e762d02234dd.php @@ -0,0 +1,556 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="guang-detail-page guang-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('guang')), $in, false, function($cx, $in) {return ' <div id="wrapper"> + <div id="scroller"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('author')), $in, false, function($cx, $in) {return ' <div class="author" data-id='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'> + <a class="clearfix" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="avatar" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('avatar')), ENT_QUOTES, 'UTF-8').'> + <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + <span class="intro">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('intro')), ENT_QUOTES, 'UTF-8').'</span> + </a> + </div> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('detail')), $in, false, function($cx, $in) {return ' <div class="detail"> + <div class="post-title"> + <p class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</p> +'.' <div class="time-view-like-share clearfix"> + <i class="iconfont"></i> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publishTime')), ENT_QUOTES, 'UTF-8').' + <i class="iconfont"></i> + <span class="page-view">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pageView')), ENT_QUOTES, 'UTF-8').'</span> + <div class="like-share-container"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('like')), $in, false, function($cx, $in) {return ' <i class="iconfont like-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLiked')), $in, false, function($cx, $in) {return ' like';}).'"></i> + <span class="like-count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'</span> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collect')), $in, false, function($cx, $in) {return ' <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <i class="iconfont collect-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollected')), $in, false, function($cx, $in) {return ' collected';}).'"></i> + </a> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('share')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont share-btn"></a> +';}).' </div> + </div>'.' </div> + <div class="post-content"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('content')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('text')))) ? ' <div class="post-block text-block"> + '.Plugin\LCRun3::v($cx, $in, array('text')).' + </div> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bigImage')))) ? ' <div class="post-block big-img-block"> + <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bigImage')), ENT_QUOTES, 'UTF-8').'> + </div> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('smallImage')))) ? ' <div class="post-block small-img-block clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('smallImage')), $in, false, function($cx, $in) {return ' <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('src')), ENT_QUOTES, 'UTF-8').'> +';}).' </div> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('collocation')))) ? ' <div class="post-block collocation-block"> + <ul class="thumb-container"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collocation')), $in, true, function($cx, $in) {return ' <li class="thumb '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? 'focus' : '').'"> + <img class="thumb-img lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> + <span class="clothe-type '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('type')), ENT_QUOTES, 'UTF-8').'"></span> + </li> +';}).' </ul> + <div class="good-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collocation')), $in, true, function($cx, $in) {return ' <div class="prod '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? 'hide' : '').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).' </div> +';}).' </div> + </div> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('relatedReco')))) ? ' <div class="post-block related-reco-block clearfix"> + <h2>相关推荐</h2> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('relatedReco','id')))) ? ''.Plugin\LCRun3::wi($cx, Plugin\LCRun3::v($cx, $in, array('relatedReco')), $in, function($cx, $in) {return ' <div class="one-good"> + <img class="thumb lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> + <div class="content-container"> + <p> + <span class="reco-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + </p> + <p class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' <a class="check-detail" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + 查看详情 + </a> + </p> + </div> + </div> +';}).'' : ' <div class="good-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('relatedReco')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).' </div> +').' </div> +' : '').'';}).' </div> + </div> +';}).' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('relatedBrand')))) ? ' <div class="related-brand"> + <h2>相关品牌</h2> + <ul class="brand-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('relatedBrand')), $in, false, function($cx, $in) {return ' <li class="brand"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <div class="brand-logo"> + <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> + </div> + <p class="brand-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' </ul> + </div> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('relatedTag')))) ? ' <div class="related-tag"> + <div class="tag-bg"></div> + <ul class="tag-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('relatedTag')), $in, false, function($cx, $in) {return ' <li> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </li> +';}).' </ul> + </div> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('relatedInfo')))) ? ' <div class="related-info"> + <h2>相关文章</h2> + <ul class="info-list"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('relatedInfo')), $in, false, function($cx, $in) {return ' <li> + <a class="clearfix" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="lazy '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('squareThumb')))) ? 'square' : '').'" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> + <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</span> + <span class="publish-time"> + <i class="iconfont"></i> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publishTime')), ENT_QUOTES, 'UTF-8').' + </span> + </a> + </li> +';}).' </ul> + </div> +' : '').' </div> + </div> + + <input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> + <input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> + <input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> + <input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> +';}).'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/13d690f8836b80932c2d8b6365deb9e4.php b/compile/m.yohobuy.com/1.3.3/13d690f8836b80932c2d8b6365deb9e4.php new file mode 100644 index 0000000..c367900 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/13d690f8836b80932c2d8b6365deb9e4.php @@ -0,0 +1,44 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide"> + <div class="filter-body"> + <ul class="classify"> +'.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' : '').'"> + <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'"> + <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + </p> + <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'> +'.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').'> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + <i class="iconfont chosed-icon"></i> + </li> +';}).' </ul> + </li> +';}).' </ul> + </div> + </div> +';}).''.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/1843b5d07050ee561bbaa0afd7819dfc.php b/compile/m.yohobuy.com/1.3.3/1843b5d07050ee561bbaa0afd7819dfc.php new file mode 100644 index 0000000..bde1cf6 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/1843b5d07050ee561bbaa0afd7819dfc.php @@ -0,0 +1,409 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="search-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('search')), $in, false, function($cx, $in) {return ' <div id="search-input" class="search-input"> + <form id="search-form" action='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').' method="get"> + <i class="search-icon iconfont"></i> + <input type="text" placeholder="搜索商品" name="query"> + <input type="hidden" name="from" value="search"> + <i class="clear-input iconfont hide"></i> + <span id="search" class="search" type="submit">搜索</span> + </form> + </div> + <div class="search-items"> + <div class="hot-search hide"> + <h3>热门搜索</h3> + <ul class="hot clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hot')), $in, false, function($cx, $in) {return ' <li> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </li> +';}).' </ul> + </div> + <div class="history-search hide"> + <h3>历史搜索</h3> + <ul class="history clearfix"></ul> + </div> + <button id="clear-history" class="clear-history hide">清空搜索历史</button> + </div> +';}).'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/31f809d5447c07d27b2b72042e777a04.php b/compile/m.yohobuy.com/1.3.3/31f809d5447c07d27b2b72042e777a04.php new file mode 100644 index 0000000..b0be2c5 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/31f809d5447c07d27b2b72042e777a04.php @@ -0,0 +1,424 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="gift-advance-page yoho-page"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuy')), $in, false, function($cx, $in) {return ' <div class="advance-block" data-promotion-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('promotionId')), ENT_QUOTES, 'UTF-8').'"> + <p class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('promotionTitle')), ENT_QUOTES, 'UTF-8').'</p> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' <div class="gift-advance-good" data-id='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'> + <div class="thumb-wrap"> + <img class="thumb lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> + <p class="tag"></p> + </div> + <div class="deps"> + <p class="name row">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + <p class="row"> + <span class="price">¥'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'' : ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('marketPrice')), ENT_QUOTES, 'UTF-8').'').'</span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' <span class="price market-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('marketPrice')), ENT_QUOTES, 'UTF-8').'</span> +' : '').' </p> + <span class="chose">选择</span> + </div> + + + </div> +'.'';}).' </div> +';}).'' : ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('freebie')), $in, false, function($cx, $in) {return ' <div class="advance-block gift-block" data-promotion-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('promotionId')), ENT_QUOTES, 'UTF-8').'"> + <p class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('promotionTitle')), ENT_QUOTES, 'UTF-8').'</p> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' <div class="gift-advance-good" data-id='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'> + <div class="thumb-wrap"> + <img class="thumb lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> + <p class="tag"></p> + </div> + <div class="deps"> + <p class="name row">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + <p class="row"> + <span class="price">¥'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'' : ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('marketPrice')), ENT_QUOTES, 'UTF-8').'').'</span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' <span class="price market-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('marketPrice')), ENT_QUOTES, 'UTF-8').'</span> +' : '').' </p> + <span class="chose">选择</span> + </div> + + + </div> +'.'';}).' </div> +';}).'').'<div id="chose-panel"></div> +</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/33b5dab890956a9af00d4f41312cdbd5.php b/compile/m.yohobuy.com/1.3.3/33b5dab890956a9af00d4f41312cdbd5.php new file mode 100644 index 0000000..c367900 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/33b5dab890956a9af00d4f41312cdbd5.php @@ -0,0 +1,44 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide"> + <div class="filter-body"> + <ul class="classify"> +'.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' : '').'"> + <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'"> + <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + </p> + <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'> +'.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').'> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + <i class="iconfont chosed-icon"></i> + </li> +';}).' </ul> + </li> +';}).' </ul> + </div> + </div> +';}).''.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/38aee3b2c4ef2867422ac7f93f67ef66.php b/compile/m.yohobuy.com/1.3.3/38aee3b2c4ef2867422ac7f93f67ef66.php new file mode 100644 index 0000000..1deb17e --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/38aee3b2c4ef2867422ac7f93f67ef66.php @@ -0,0 +1,38 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('coupons')), $in, false, function($cx, $in) {return '<div class="employ-main"> + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('money')), ENT_QUOTES, 'UTF-8').'</span> + <p class="coupon-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('coupon_name')), ENT_QUOTES, 'UTF-8').'</p> + <p>有效期:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('couponValidity')), ENT_QUOTES, 'UTF-8').'</p> + '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('used')), $in, false, function($cx, $in) {return '<i></i>';}).' + </div> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('noRecord')), $in, false, function($cx, $in) {return '<div class="null"> + <i></i> + <p>您还没有优惠券!</p> + <a href="/product/new">随便逛逛</a> +</div> +';}).''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/38b7eee380f593c85cdf814731a3b6f6.php b/compile/m.yohobuy.com/1.3.3/38b7eee380f593c85cdf814731a3b6f6.php new file mode 100644 index 0000000..19f832e --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/38b7eee380f593c85cdf814731a3b6f6.php @@ -0,0 +1,439 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="pay-page yoho-page"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderCode')))) ? ' <input id=\'ordercode\' type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"> +' : '').' <div class="payapp-list"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('payAppInfo')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payLink')))) ? ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('payLink')), ENT_QUOTES, 'UTF-8').'"> +' : '').' <div class="box" id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appId')), ENT_QUOTES, 'UTF-8').'"> + <div class="icon"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('appIcon')))) ? ' <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appIcon')), ENT_QUOTES, 'UTF-8').'" alt="app图标"> +' : ' <div></div> +').' </div> + <div class="app">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('app')), ENT_QUOTES, 'UTF-8').'</div> + <div class="hint"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('hint')), ENT_QUOTES, 'UTF-8').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('subHint')))) ? ' <br> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('subHint')), ENT_QUOTES, 'UTF-8').' +' : '').' </div> + <div class="iconfont"></div> + </div> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payLink')))) ? ' </a> +' : '').'';}).' </div> +</div> +<script>_ozprm="orderid='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'&ordertotal='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'";</script> +<script type="text/javascript" src ="http://static.yohobuy.com/m/v1/js/AG_Tracking.js"></script> +<script type="text/javascript"> +var _agq = _agq || []; +_agq.push([\'_cid\', \'415\']); //生成value +_agq.push([\'_eid\', \'102\']); //生成value +_agq.push([\'_orderSum\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'"]);//订单金额,客户在页面填写 +_agq.push([\'_orderNo\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"]);//订单号,客户在页面填写 +_agq.push([\'_orderNew\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isOldUser')), ENT_QUOTES, 'UTF-8').'"]);//是否新客单,客户标记是为true否为false +_agq.push([\'_orderCount\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCount')), ENT_QUOTES, 'UTF-8').'"]);//订单货品数目,客户填写 +ag_send(_agq); + +var __order_code = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"; +var __order_amount = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'"; +var __order_user = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isOldUser')), ENT_QUOTES, 'UTF-8').'"; +var __order_goods_num = '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCount')), ENT_QUOTES, 'UTF-8').'; +var __order_uid = \''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('uid')), ENT_QUOTES, 'UTF-8').'\'; + +var _fxcmd=_fxcmd||[]; +_fxcmd.push([\'trackOrder\', { + oid: "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'", + otp : "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotalFormat')), ENT_QUOTES, 'UTF-8').'", + unid : "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('uid')), ENT_QUOTES, 'UTF-8').'" +}]); +</script> +<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script> +<script type="text/javascript"> +window.criteo_q = window.criteo_q || []; +window.criteo_q.push( +{ event: "setAccount", account: [21397] }, +{ event: "setHashedEmail", email: "" }, +{ event: "setSiteType", type: "m" }, +{ event: "trackTransaction" , id: "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'", currency: "CNY", item: ""} +); +</script> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.' +'; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/39c3e9da167c837e64c80b48740ce9a8.php b/compile/m.yohobuy.com/1.3.3/39c3e9da167c837e64c80b48740ce9a8.php new file mode 100644 index 0000000..3025a34 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/39c3e9da167c837e64c80b48740ce9a8.php @@ -0,0 +1,39 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<div class="title">为您优选新品</div> +<div id="swiper-recommend" class="swiper-container"> + <div class="swiper-wrapper swiper-wrapper-recommend"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('recommendList')), $in, false, function($cx, $in) {return ' <a class="swiper-slide" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="swiper-lazy img-box" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> + '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return '<span class="old-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span>';}).' + </div> + <div class="swiper-lazy-preloader"></div> + </a> +';}).' </div> +</div> +'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/3c1c7e431c3a149852002194b9ffaced.php b/compile/m.yohobuy.com/1.3.3/3c1c7e431c3a149852002194b9ffaced.php new file mode 100644 index 0000000..b8f3703 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/3c1c7e431c3a149852002194b9ffaced.php @@ -0,0 +1,404 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="goods-comments-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('comments')), $in, false, function($cx, $in) {return ' <div class="goods-comments" id="goods-comments"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <div class="comment-item"> + <span class="user-name"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('userName')), ENT_QUOTES, 'UTF-8').' + </span> + <span class="goods-spec"> + 购买了 '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('desc')), ENT_QUOTES, 'UTF-8').' + </span> + <p class="detail-content"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('content')), ENT_QUOTES, 'UTF-8').' + </p> + <span class="comment-time"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('time')), ENT_QUOTES, 'UTF-8').' + </span> + </div> +';}).' </div> +';}).' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loadmore')))) ? ' <input id="loadMoreUrl" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('loadMoreUrl')), ENT_QUOTES, 'UTF-8').'"> +' : '').'</div> + +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/43d91f71dd94a10c4da611dfc97a56fb.php b/compile/m.yohobuy.com/1.3.3/43d91f71dd94a10c4da611dfc97a56fb.php new file mode 100644 index 0000000..7b68b0f --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/43d91f71dd94a10c4da611dfc97a56fb.php @@ -0,0 +1,425 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="ps-list-page ps-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('ps')), $in, false, function($cx, $in) {return ' <ul id="nav-tab" class="nav-tab clearfix"> + <li class="star-nav focus">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sName')), ENT_QUOTES, 'UTF-8').'</li> + <li class="plus-nav">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pName')), ENT_QUOTES, 'UTF-8').'</li> + </ul> + <div id="ps-content" class="ps-content"> + <ul class="star-content content"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('star')), $in, false, function($cx, $in) {return ''.' <li class="plus-star-row"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('imgs')))) ? ' <div class="swiper-container"> + <div class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('imgs')), $in, false, function($cx, $in) {return ' <div class="swiper-slide"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="swiper-lazy" data-src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'> + </a> + </div> +';}).' </div> + <div class="swiper-pagination"></div> + </div> +' : ' <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'> + </a> +').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('deps')), $in, false, function($cx, $in) {return ' <p class="brand-deps">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p> +';}).' </li>'.'';}).' </ul> + <ul class="plus-content content hide"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('plus')), $in, false, function($cx, $in) {return ''.' <li class="plus-star-row"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('imgs')))) ? ' <div class="swiper-container"> + <div class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('imgs')), $in, false, function($cx, $in) {return ' <div class="swiper-slide"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="swiper-lazy" data-src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'> + </a> + </div> +';}).' </div> + <div class="swiper-pagination"></div> + </div> +' : ' <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'> + </a> +').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('deps')), $in, false, function($cx, $in) {return ' <p class="brand-deps">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p> +';}).' </li>'.'';}).' </ul> + </div> +';}).'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/4642d3362f4e56ee370ca1f4cfcff967.php b/compile/m.yohobuy.com/1.3.3/4642d3362f4e56ee370ca1f4cfcff967.php new file mode 100644 index 0000000..6f14c1e --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/4642d3362f4e56ee370ca1f4cfcff967.php @@ -0,0 +1,409 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="index-page yoho-page"> + <div class="index-container"> + <div class="index-header clearfix"> + <div class="index-logo"> + </div> + <div class="box"> + <a href="javascript:void(0);" class="no-search">取消</a> + <form action="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'" class="index-search"> + <div class="search-box"> + <input type="hidden" name="from" value="search"> + <input type="text" name="query" placeholder="搜索" autocomplete="off"> + <span class="iconfont clear-text"></span> + <span class="iconfont search-icon empty"></span> + </div> + </form> + </div> + </div> + <div class="index-channel"> + <img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('background')), ENT_QUOTES, 'UTF-8').'"> + <div class="index-channel-list"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('channelList')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('href')), ENT_QUOTES, 'UTF-8').'" class="list-item">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').' <span class="lighter">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('entitle')), ENT_QUOTES, 'UTF-8').'</span> <span class="iconfont right-icon"></span></a> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showYohood')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('yohoodHref')), ENT_QUOTES, 'UTF-8').'" id="yohood" class="list-item"> <span class="iconfont right-icon"></span></a> +';}).' </div> + </div> + </div> +</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/47bf847d1536451a1d12d298f72055d1.php b/compile/m.yohobuy.com/1.3.3/47bf847d1536451a1d12d298f72055d1.php new file mode 100644 index 0000000..6362c9f --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/47bf847d1536451a1d12d298f72055d1.php @@ -0,0 +1,388 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="iHelp"> + <ul> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('iHelp')), $in, false, function($cx, $in) {return ' <li><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span><i class="iconfont num"></i></a></li> +';}).' </ul> +</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/5373b4e0c354994c334f5ee95ae861da.php b/compile/m.yohobuy.com/1.3.3/5373b4e0c354994c334f5ee95ae861da.php new file mode 100644 index 0000000..35e6784 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/5373b4e0c354994c334f5ee95ae861da.php @@ -0,0 +1,81 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('cartInfo')), $in, false, function($cx, $in) {return '<div class="chose-panel"> + <div class="main"> + <div class="infos"> + <div class="basic-info" > +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('thumbs')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <img class="thumb" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'> +' : ' <img class="thumb hide" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'> +').'';}).' <div class="text-info"> + <p class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + <p class="price"> + <span class="sale-price'.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' no-price' : '').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' <span class="market-price">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span> +' : '').' </p> + </div> + </div> + <div class="chose-items"> + <div class="color-list block-list"> + <span>颜色</span> + <ul class="clearfix" data-type="color"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('colors')), $in, false, function($cx, $in) {return ' <li class="block '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? 'chosed' : '').' '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('colorNum')))) ? 'zero-stock' : '').'" data-num="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorNum')), ENT_QUOTES, 'UTF-8').'" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" data-numstr="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sizeNumStr')), ENT_QUOTES, 'UTF-8').'" data-skcid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('skcId')), ENT_QUOTES, 'UTF-8').'"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + </li> +';}).' </ul> + </div> + <div class="size-list block-list"> + <span>尺码</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sizes')), $in, false, function($cx, $in) {return ' + <ul class="size-row clearfix hide"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('size')), $in, false, function($cx, $in) {return ' <li class="block '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? 'chosed' : '').' '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('sizeNum')))) ? 'zero-stock' : '').'" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" data-colorid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorId')), ENT_QUOTES, 'UTF-8').'" data-num="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sizeNum')), ENT_QUOTES, 'UTF-8').'" data-numstr="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorNumStr')), ENT_QUOTES, 'UTF-8').'" data-skuid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('skuId')), ENT_QUOTES, 'UTF-8').'" data-goodid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('goodsId')), ENT_QUOTES, 'UTF-8').'"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + </li> +';}).' </ul> + +';}).' </div> + <p> + <div class="num"> + <span>数量</span> + <div class="clearfix"> + <a class="btn btn-minus" href="javascript:void(0);"> + <span class="iconfont '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('promotionId')))) ? 'disabled' : '').'"></span> + </a> + <input id="good-num" class="good-num disabled" type="text" value="1" disabled="true"> + <a class="btn btn-plus" href="javascript:void(0);"> + <span class="iconfont '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('promotionId')))) ? 'disabled' : '').'"></span> + </a> + </div> + <span class="left-num"></span> + <input id="left-num" type="hidden" value="0"> + </div> + </div> + </div> + <div class="btn-wrap"> + <button id="chose-btn-sure" class="btn btn-sure">加入购物车</button> + </div> + </div> +</div> +';}).'<input id="promotionId" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('promotionId')), ENT_QUOTES, 'UTF-8').'">'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/53fedceedb311f531d6e7b8c7eece4d0.php b/compile/m.yohobuy.com/1.3.3/53fedceedb311f531d6e7b8c7eece4d0.php new file mode 100644 index 0000000..49891d5 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/53fedceedb311f531d6e7b8c7eece4d0.php @@ -0,0 +1,412 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="category-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('category')), $in, false, function($cx, $in) {return ' <div id="search-input" class="search-input"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'> + <i class="search-icon iconfont"></i> + <p>搜索商品</p> + </a> + </div> + <div class="category-nav clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('class')), $in, false, function($cx, $in) {return ' <li class='.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('focus')))) ? 'focus' : '').'> + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + </li> +';}).' </div> + <div class="category-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('class')), $in, false, function($cx, $in) {return ' <div class="content '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('focus')))) ? 'hide' : '').'"> + <ul class="primary-level"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('ca')), $in, false, function($cx, $in) {return ' <li class="p-level-item'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' focus' : '').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</li> +';}).' </ul> + <div class="sub-level-container"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('ca')), $in, false, function($cx, $in) {return ' <ul class="sub-level '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? 'hide' : '').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sub')), $in, false, function($cx, $in) {return ' <li> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + </a> + </li> +';}).' </ul> +';}).' </div> + </div> +';}).' </div> +';}).'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/5471835ed27705c59c5bf0ea9c609205.php b/compile/m.yohobuy.com/1.3.3/5471835ed27705c59c5bf0ea9c609205.php new file mode 100644 index 0000000..3cdfbd1 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/5471835ed27705c59c5bf0ea9c609205.php @@ -0,0 +1,458 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="guang-list-page guang-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('guang')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('swiper')))) ? ' <div class="swiper-container"> + <div class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('swiper')), $in, false, function($cx, $in) {return ' <div class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + <div class="swiper-lazy-preloader"></div> + </div> +';}).' </div> + <div class="swiper-pagination"></div> + </div> +' : '').' + <ul id="guang-nav" class="guang-nav clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li class="guang-nav-item '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('focus')), $in, false, function($cx, $in) {return 'focus';}).'" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('typeId')), ENT_QUOTES, 'UTF-8').'> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('type')), ENT_QUOTES, 'UTF-8').' + </li> +';}).' </ul> + + <div id="info-list" class="info-list-container"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('infos')), $in, false, function($cx, $in) {return ' <div class="info-list'.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('show')))) ? ' hide' : '').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('info')), $in, false, function($cx, $in) {return ''.' <div class="guang-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('author')), $in, false, function($cx, $in) {return ' <a class="info-author clearfix" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="lazy avatar" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('avatar')), ENT_QUOTES, 'UTF-8').'> + <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + </a> +';}).' + <div class="info-img"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showTags')))) ? ' <a href="javascript:;" class="info-match"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTip')), $in, false, function($cx, $in) {return ' 小贴士 + <div class="info-tag tip"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollocation')), $in, false, function($cx, $in) {return ' 搭配 + <div class="info-tag collocation"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionMan')), $in, false, function($cx, $in) {return ' 潮人 + <div class="info-tag fashion-man"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionGood')), $in, false, function($cx, $in) {return ' 潮品 + <div class="info-tag fashion-good"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTopic')), $in, false, function($cx, $in) {return ' 话题 + <div class="info-tag topic"></div> +';}).' </a> +' : '').' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('alt')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div> + + <div class="info-deps"> + <a class="info-title-container" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <h2 class="info-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + </a> + <p class="info-text">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'</p> +'.' <div class="time-view-like-share clearfix"> + <i class="iconfont"></i> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publishTime')), ENT_QUOTES, 'UTF-8').' + <i class="iconfont"></i> + <span class="page-view">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pageView')), ENT_QUOTES, 'UTF-8').'</span> + <div class="like-share-container"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('like')), $in, false, function($cx, $in) {return ' <i class="iconfont like-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLiked')), $in, false, function($cx, $in) {return ' like';}).'"></i> + <span class="like-count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'</span> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collect')), $in, false, function($cx, $in) {return ' <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <i class="iconfont collect-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollected')), $in, false, function($cx, $in) {return ' collected';}).'"></i> + </a> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('share')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont share-btn"></a> +';}).' </div> + </div>'.' </div> + </div>'.'';}).' </div> +';}).' </div> + + <div id="load-more-info" class="load-more-info"> + <div class="loading status"> + 正在加载... + </div> + <span class="no-more status hide">没有更多啦</span> + </div> + <input id="gender" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('gender')), ENT_QUOTES, 'UTF-8').'> +';}).'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/564a451d9933e2d6f7b3f67a6b8468e3.php b/compile/m.yohobuy.com/1.3.3/564a451d9933e2d6f7b3f67a6b8468e3.php new file mode 100644 index 0000000..518b8d4 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/564a451d9933e2d6f7b3f67a6b8468e3.php @@ -0,0 +1,51 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('new')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/57b52e6439ec273230af47e2438e60c6.php b/compile/m.yohobuy.com/1.3.3/57b52e6439ec273230af47e2438e60c6.php new file mode 100644 index 0000000..73cdf82 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/57b52e6439ec273230af47e2438e60c6.php @@ -0,0 +1,128 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsDescription')), $in, false, function($cx, $in) {return '<div class="goods-desc page-block"> + <div class="service"></div> + <h1 class="title"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').' + <span class="en-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('enTitle')), ENT_QUOTES, 'UTF-8').'</span> + </h1> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('detail')), $in, false, function($cx, $in) {return ' <div class="detail table"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <div class="column">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('param')), ENT_QUOTES, 'UTF-8').'</div> +';}).' </div> +';}).''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('desc')))) ? ' <div class="desc-text">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('desc')), ENT_QUOTES, 'UTF-8').'</div> +' : '').'</div> + +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sizeInfo')), $in, false, function($cx, $in) {return '<div class="size-info page-block"> +<h1 class="title"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').' + <span class="en-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('enTitle')), ENT_QUOTES, 'UTF-8').'</span> +</h1> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('detail')), $in, false, function($cx, $in) {return '<div class="detail"> + <div class="swiper-container detail-swiper" id="size-swiper-container"> + <div class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <div class="swiper-slide " > +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('params')), $in, false, function($cx, $in) {return ' <div class="cell">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('param')), ENT_QUOTES, 'UTF-8').'</div> +';}).' </div> +';}).' </div> + </div> + <p class="tips">提示:左滑查看完整表格信息</p> +</div> +';}).'</div> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('measurementMethod')), $in, false, function($cx, $in) {return '<div class="measurement-method page-block"> +<h1 class="title"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').' + <span class="en-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('enTitle')), ENT_QUOTES, 'UTF-8').'</span> +</h1> +<div class="detail" style="width:100%"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> +</div> +</div> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('reference')), $in, false, function($cx, $in) {return '<div class="size-info page-block"> + <h1 class="title"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').' + <span class="en-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('enTitle')), ENT_QUOTES, 'UTF-8').'</span> + </h1> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('detail')), $in, false, function($cx, $in) {return ' <div class="detail"> + <div class="swiper-container detail-swiper" id="reference-swiper-container"> + <div class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <div class="swiper-slide first-group" > +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('params')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? '' : ' <div> + <img class="avatar lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('param')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> +').'';}).' </div> +' : ' <div class="swiper-slide" > +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('params')), $in, false, function($cx, $in) {return ' <div class=" cell">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('param')), ENT_QUOTES, 'UTF-8').'</div> +';}).' </div> +').'';}).' </div> + </div> + <p class="tips">提示:左滑查看完整表格信息</p> + </div> +';}).'</div> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('materials')), $in, false, function($cx, $in) {return '<div class="materials page-block"> + <h1 class="title"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').' + <span class="en-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('enTitle')), ENT_QUOTES, 'UTF-8').'</span> + </h1> + <div class="detail"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <div class="material-item"> + <!-- <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + <p class="material-desc"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('desc')), ENT_QUOTES, 'UTF-8').' + </p>--> + <div class="material-image"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="材质图"> + </div> + <div class="material-desc"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('desc')), ENT_QUOTES, 'UTF-8').' + </div> + </div> +';}).' </div> +</div> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('washTips')), $in, false, function($cx, $in) {return '<div class="wash-tips page-block"> + <div class="detail table clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <div class="tip"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + <span class="caption">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('caption')), ENT_QUOTES, 'UTF-8').'</span> + </div> +';}).' </div> +</div> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('productDetail')), $in, false, function($cx, $in) {return '<div class="product-detail page-block"> + <h1 class="title"> + '.Plugin\LCRun3::v($cx, $in, array('title')).' + <span class="en-title">'.Plugin\LCRun3::v($cx, $in, array('enTitle')).'</span> + </h1> + <div class="pro-detail"> + <p>'.Plugin\LCRun3::v($cx, $in, array('desc')).'</p> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> +';}).' </div> +</div> +';}).''.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/5d794129591bdb9eacc1b037b957c0df.php b/compile/m.yohobuy.com/1.3.3/5d794129591bdb9eacc1b037b957c0df.php new file mode 100644 index 0000000..d769fb0 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/5d794129591bdb9eacc1b037b957c0df.php @@ -0,0 +1,35 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('currency')), $in, false, function($cx, $in) {return ' <li> + <div class="detail-item"> + <p class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</p> + <p class="time">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('time')), ENT_QUOTES, 'UTF-8').'</p> + <div class="count"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').' + </div> + </div> + </li> +';}).''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/5dabe004ddcea5498a53f83e229fd4dc.php b/compile/m.yohobuy.com/1.3.3/5dabe004ddcea5498a53f83e229fd4dc.php new file mode 100644 index 0000000..dd4198a --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/5dabe004ddcea5498a53f83e229fd4dc.php @@ -0,0 +1,86 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('walkwayUrl')))) ? ' <div class="no-order"> + <div class="icon"></div> + <span>你还没有订单</span> + <a class="walk-way" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('walkwayUrl')), ENT_QUOTES, 'UTF-8').'">随便逛逛</a> + </div> +' : ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('orders')), $in, true, function($cx, $in) {return ''.' <div class="order" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderNum')), ENT_QUOTES, 'UTF-8').'" data-href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('detailUrl')), ENT_QUOTES, 'UTF-8').'"> + <header class="header"> + 订单编号:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderNum')), ENT_QUOTES, 'UTF-8').' + <span class="order-status">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderStatus')), ENT_QUOTES, 'UTF-8').'</span> + </header> + <section class="order-goods"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' <div class="order-good" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="thumb-wrap"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('link')))) ? ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"><img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"></a> +' : ' <img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> +').' <p class="tag'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('gift')))) ? ' gift-tag' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuy')))) ? ' advance-buy-tag' : '').'"></p> + </div> + <div class="deps"> + <p class="name row">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + <p class="row"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <span class="color"> + 颜色:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <span class="size"> + 尺码:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' </p> + <p class="row price-wrap"> + <span class="price"> + ¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').' + </span> + <span class="count"> + ×'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').' + </span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('appearDate')))) ? ' <span class="appear-date">上市期:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appearDate')), ENT_QUOTES, 'UTF-8').'</span> +' : '').' </p> + </div> + </div>'.'';}).' </section> + <footer class="footer"> + 共'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'件商品 实付<span class="sum-cost">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sumCost')), ENT_QUOTES, 'UTF-8').'</span> + </footer> + + +'.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unpaid')))) ? ''.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unreceived')))) ? ' <div class="order-opt"> + <span class="btn del">删除订单</span> + </div> +' : '').'' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unpaid')))) ? ' <div class="order-opt"> + <span class="btn cancel">取消订单</span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payUrl')))) ? ' <a class="locHref" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('payUrl')), ENT_QUOTES, 'UTF-8').'"> + <span class="btn pay">立即付款</span> + </a> +' : '').' </div> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unreceived')))) ? ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticsUrl')))) ? ' <div class="order-opt"> + <a class="locHref" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('logisticsUrl')), ENT_QUOTES, 'UTF-8').'"> + <span class="btn check-logistics">查看物流</span> + </a> + </div> +' : '').'' : '').' </div>'.'';}).'').''.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/628d12956b564903529850f9e7df105d.php b/compile/m.yohobuy.com/1.3.3/628d12956b564903529850f9e7df105d.php new file mode 100644 index 0000000..87c9ac2 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/628d12956b564903529850f9e7df105d.php @@ -0,0 +1,502 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.' <div class="my-page yoho-page"> + <div class="my-header"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLogin')), $in, false, function($cx, $in) {return ' <a class="user-info" href="/home/mydetails"> + <span class="user-avatar" data-avatar="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('head_ico')), ENT_QUOTES, 'UTF-8').'"></span> + <span class="username">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('profile_name')), ENT_QUOTES, 'UTF-8').'</span> +'.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> +';}).' <div class="iconfont more-icon tap-hightlight"></div> + </a> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('isLogin')))) ? ' <div class="user-info"> + <a class="login-btn" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('signinUrl')), ENT_QUOTES, 'UTF-8').'"> + 登录/注册 + </a> + </div> +' : '').' </div> + <div class="my-link clearfix '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('isLogin')))) ? 'no-login' : '').'"> + <a class="link-item tap-hightlight" href="/home/favorite"> + '.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').'';}).' + <p>收藏的商品</p> + </a> + <a class="link-item tap-hightlight" href="/home/favorite?tab=brand"> + '.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').'';}).' + <p>收藏的品牌</p> + </a> + + </div> + <div class="my-order"> + <a class="order-title" href="/home/orders"> + 我的订单 + <span class="iconfont"> + 查看全部订单  + </span> + </a> + <div class="order-type clearfix"> + <a class="type-item" href="/home/orders?type=2"> + <span class="iconfont"></span> + <br>待付款 +'.((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> +' : '').' </a> + <a class="type-item" href="/home/orders?type=3"> + <span class="iconfont"></span> + <br>待发货 +'.((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> +' : '').' </a> + <a class="type-item" href="/home/orders?type=4"> + <span class="iconfont"></span> + <br>待收货 +'.((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> +' : '').' </a> + </div> + </div> + <div class="group-list"> + <a class="list-item" href="/home/address"> + <span class="iconfont icon"></span> + 地址管理 + <span class="iconfont num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address_num')), ENT_QUOTES, 'UTF-8').' </span> + </a> + </div> + <div class="group-list"> + <a class="list-item" href="/home/coupons"> + <span class="iconfont icon"></span> + 优惠券 + <span class="iconfont num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('coupon_num')), ENT_QUOTES, 'UTF-8').' </span> + </a> + <a class="list-item" href="/home/currencyDetail"> + <span class="iconfont icon"></span> + YOHO 币 + <span class="iconfont num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('yoho_coin_num')), ENT_QUOTES, 'UTF-8').' </span> + </a> + </div> + <div class="group-list"> + <a class="list-item" href="/home/message"> + <span class="iconfont icon"></span> + 消息 + <span class="iconfont num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('inbox_total')), ENT_QUOTES, 'UTF-8').' </span> + </a> + </div> + <div class="group-list"> + <a class="list-item" href="/home/onlineService"> + <span class="iconfont icon"></span> + 在线客服 + <span class="iconfont num"></span> + </a> + <a class="list-item" href="/home/suggest"> + <span class="iconfont icon"></span> + 意见反馈 + <span class="iconfont num"></span> + </a> + </div> + <div class="group-list"> + <a class="list-item" href="/home/help"> + <span class="iconfont icon"></span> + 帮助 + <span class="iconfont num"></span> + </a> + </div> + +'.' <div class="recommend-for-you hide"> + </div>'.''.' <div id="suspend-cart" class="suspend-cart"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'> + <span class="iconfont"></span> + </a> + <span class="cart-count hide">0</span> + </div>'.' </div> + +'.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/658a7a41c51c3ce486f70561f8639892.php b/compile/m.yohobuy.com/1.3.3/658a7a41c51c3ce486f70561f8639892.php new file mode 100644 index 0000000..2d4756e --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/658a7a41c51c3ce486f70561f8639892.php @@ -0,0 +1,51 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).' '; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/67b231a8bdd8fc4133d48b889c113b44.php b/compile/m.yohobuy.com/1.3.3/67b231a8bdd8fc4133d48b889c113b44.php new file mode 100644 index 0000000..9f8dbdd --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/67b231a8bdd8fc4133d48b889c113b44.php @@ -0,0 +1,53 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('tabs')))) ? ' <div class="s-goods-nav goods-nav"> + <ul class="swiper-wrapper clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tabs')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <li class="swiper-slide nav-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' active' : '').'"> + <span data-sort="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('params')), ENT_QUOTES, 'UTF-8').'" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" >'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + </li> +';}).'';}).' </ul> +</div> +' : '').' <div class="rank-main"> + <ul> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ' <li> + <a class="clearfix" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="item-img"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </div> + <div class="item-content"> + <i class="rank-icon top">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('rank')), ENT_QUOTES, 'UTF-8').'</i> + <h2 '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sales_phrase')), $in, false, function($cx, $in) {return 'class="hasActive"';}).'>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</h2> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('active')), $in, false, function($cx, $in) {return ' <p>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sales_phrase')), $in, false, function($cx, $in) {return ' <p>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p> +';}).' <p> + '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('salePrice')), $in, false, function($cx, $in) {return '¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' + <b>¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</b>';}).' + </p> + </div> + </a> + </li> +';}).' </ul> + </div>'; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/6eaf0ec2e9dbbac03ffbe12f720a7b71.php b/compile/m.yohobuy.com/1.3.3/6eaf0ec2e9dbbac03ffbe12f720a7b71.php new file mode 100644 index 0000000..8a8a2b5 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/6eaf0ec2e9dbbac03ffbe12f720a7b71.php @@ -0,0 +1,415 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="my-address-page yoho-page"> + <div class="my-edit-address-page page-wrap"> + <form class="edit-address"> + <input type="hidden" name="id" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address','address_id')), ENT_QUOTES, 'UTF-8').'"> + <label class="username"> + 收件人姓名 + <input type="text" name="consignee" maxlength="20" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address','consignee')), ENT_QUOTES, 'UTF-8').'"> + </label> + <label class="mobile"> + 手机号码 + <input type="text" name="mobile" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address','mobile')), ENT_QUOTES, 'UTF-8').'"> + </label> + <label class="area"> + 省市区 + <input type="hidden" name="area_code" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address','area_code')), ENT_QUOTES, 'UTF-8').'"> + <input type="text" name="area" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address','area')), ENT_QUOTES, 'UTF-8').'" readonly> + <span class="iconfont"></span> + </label> + <label class="address"> + 详细地址 + <textarea name="address" maxlength="255">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address','address')), ENT_QUOTES, 'UTF-8').'</textarea> + </label> + + </form> + + <div class="submit"> + 确认 + </div> + </div> + <div class="my-address-list-page page-wrap hide"> + </div> +</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/7a20e9e5f4c9c8f84fbfb71f31043622.php b/compile/m.yohobuy.com/1.3.3/7a20e9e5f4c9c8f84fbfb71f31043622.php new file mode 100644 index 0000000..989cc6c --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/7a20e9e5f4c9c8f84fbfb71f31043622.php @@ -0,0 +1,69 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('infos')), $in, false, function($cx, $in) {return ''.' <div class="guang-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('author')), $in, false, function($cx, $in) {return ' <a class="info-author clearfix" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="lazy avatar" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('avatar')), ENT_QUOTES, 'UTF-8').'> + <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + </a> +';}).' + <div class="info-img"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showTags')))) ? ' <a href="javascript:;" class="info-match"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTip')), $in, false, function($cx, $in) {return ' 小贴士 + <div class="info-tag tip"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollocation')), $in, false, function($cx, $in) {return ' 搭配 + <div class="info-tag collocation"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionMan')), $in, false, function($cx, $in) {return ' 潮人 + <div class="info-tag fashion-man"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionGood')), $in, false, function($cx, $in) {return ' 潮品 + <div class="info-tag fashion-good"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTopic')), $in, false, function($cx, $in) {return ' 话题 + <div class="info-tag topic"></div> +';}).' </a> +' : '').' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('alt')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div> + + <div class="info-deps"> + <a class="info-title-container" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <h2 class="info-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + </a> + <p class="info-text">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'</p> +'.' <div class="time-view-like-share clearfix"> + <i class="iconfont"></i> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publishTime')), ENT_QUOTES, 'UTF-8').' + <i class="iconfont"></i> + <span class="page-view">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pageView')), ENT_QUOTES, 'UTF-8').'</span> + <div class="like-share-container"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('like')), $in, false, function($cx, $in) {return ' <i class="iconfont like-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLiked')), $in, false, function($cx, $in) {return ' like';}).'"></i> + <span class="like-count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'</span> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collect')), $in, false, function($cx, $in) {return ' <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <i class="iconfont collect-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollected')), $in, false, function($cx, $in) {return ' collected';}).'"></i> + </a> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('share')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont share-btn"></a> +';}).' </div> + </div>'.' </div> + </div>'.'';}).''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/7b9bff74f9f8e38a8cee081059d04bfb.php b/compile/m.yohobuy.com/1.3.3/7b9bff74f9f8e38a8cee081059d04bfb.php new file mode 100644 index 0000000..f71b1b9 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/7b9bff74f9f8e38a8cee081059d04bfb.php @@ -0,0 +1,682 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.' <div class="mobile-container"> + <div class="mobile-wrap boys-wrap yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('homeHeader')), $in, false, function($cx, $in) {return ''.' <div class="home-header clearfix" '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bgColor')), $in, false, function($cx, $in) {return 'style="background-color:'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').';background-image:none"';}).'> + <span class="nav-btn iconfont"></span> + <span class="logo"></span> + <span class="search-btn iconfont"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'"></a></span> + </div>'.'';}).' +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('content')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bannerTop')), $in, false, function($cx, $in) {return ''.' <div class="banner-top"> + <div class="banner-swiper swiper-container"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, true, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + </li> +' : ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + <div class="swiper-lazy-preloader"></div> + </li> +').'';}).' </ul> + </div> + <div class="swiper-pagination"> + <div class="pagination-inner"> + </div> + </div> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('iconsEnter')), $in, false, function($cx, $in) {return ''.' <div class="icons-wrapper"> + <ul class="icons-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="icons-item"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="imagebar"><img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""></a><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="linkbar">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</a></li> +';}).' </ul> + </div> +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ''.' <div class="banner-center"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </a> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotCategory')), $in, false, function($cx, $in) {return ''.' <div class="hot-category"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="category-banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> +';}).' <ul class="category-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="img-box"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrands')), $in, false, function($cx, $in) {return ''.' <ul class="hot-brands clearfix"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="brand"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="brand-logo"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </div> + <p class="brand-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' <li class="more"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more')), ENT_QUOTES, 'UTF-8').'"></a> + </li> + </ul>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrandsScroll')), $in, false, function($cx, $in) {return ''.' <div class="hot-brands"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.' <div class="brands-swiper"> + <ul class="brands-list swiper-wrapper clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + <span class="brands-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</span> + </a> + </li> +';}).' </ul> + </div> + </div> +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendColloaction')), $in, false, function($cx, $in) {return ''.' <div class="trend-coll-wrapper"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="trend-coll-content clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('article')), $in, false, function($cx, $in) {return ' <div class="lspan"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="lazy rspanimg" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" ></a> + </div> +';}).' </div> + <div class="trend-coll-tail"> + <h3 class="recommend-title">推荐搭配</h3> + <div class="recommend-swiper"> + <ul class="recommend-list swiper-wrapper clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('recommend_collocation')), $in, false, function($cx, $in) {return ' <li class="recommend-item swiper-slide"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="" /></a></li> +';}).' </ul> + </div> + </div> + </div> + + +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendTopics')), $in, false, function($cx, $in) {return ''.' <div class="trend-topic-wrapper"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="trend-topic-content"> + <div class="trend-topic-swiper"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="img-box"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> + <div class="item-content"> + <p class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</p> + <p class="time"> + <span class="iconfont time-icon"></span> + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publish_time')), ENT_QUOTES, 'UTF-8').'</span> + </p> + </div> + </a> + </li> +';}).' </ul> + </div> + <div class="swiper-pagination"> + <div class="pagination-inner clearfix"> + </div> + </div> + </div> + </div> +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsCategory')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="goods-category"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('big_image')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('big_list')))) ? ' <div class="category-swiper"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('big_list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'"> + </a> + </li> +';}).' </ul> + <div class="swiper-pagination"> + <div class="pagination-inner clearfix"> + </div> + </div> + </div> +' : ' <div class="category-swiper"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div> +').'';}).' <ul class="category-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="img-box"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> + <p class="category-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('creativeLife')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="creative-life"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> +';}).' <ul class="classify-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="classify"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="classify-logo"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </div> + <p class="classify-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('plusStar')), $in, false, function($cx, $in) {return ''.' + <div class="plus-star"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div>'.'';}).'';}).' + '.'<div class="maybe-like"> + <p class="title"> + <i class="icon"></i> + <span>你可能喜欢</span> + </p> + + <div id="goods-list" class="goods-list clearfix"></div> + +</div> +<div class="load-more-img hide" id="load-more-img"> + <a href=""> + <img src=""> + </a> +</div> +'.''.' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('twoColumnGoods')), $in, false, function($cx, $in) {return ''.' <div class="two-column-goods"> + <ul class="column-nav clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('columnNav')), $in, false, function($cx, $in) {return ' <li data-url="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</li> +';}).' </ul> + <div class="goods-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).' </div> + </div>'.'';}).' + <div class="overlay"></div> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showFooterTab')), $in, false, function($cx, $in) {return ' <div class="footer-tab"> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('indexUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">首页</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('categoryUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">分类</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('guangUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">逛</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shoppingCartUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">购物车</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('minePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('mineUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">我的</p> + </a> + </div> +';}).' '.' </div> +'.' <div class="side-nav"> + <ul> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sideNav')), $in, false, function($cx, $in) {return ' <li class="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('styleClass')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;"> +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('img')), $in, false, function($cx, $in) {return ' <span class="nav-img" style="background-image: url('.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').')"></span> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('img')))) ? ' <i class="nav-icon"></i> +' : '').' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <span class="enter-subnav iconfont"></span> +';}).' </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <ul class="sub-nav"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isSelect')), $in, false, function($cx, $in) {return 'current';}).'" style="background-color:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bgColor')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;"> +' : '').''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('back')))) ? ' <span class="nav-point iconfont"></span> +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('back')), $in, false, function($cx, $in) {return ' <i class="nav-back iconfont"></i> +';}).' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').' + </a> + </li> +';}).' </ul> +';}).' </li> +';}).' </ul> + </div>'.' </div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/7c24b6167bd82a40e8036f096fe76415.php b/compile/m.yohobuy.com/1.3.3/7c24b6167bd82a40e8036f096fe76415.php new file mode 100644 index 0000000..d17d742 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/7c24b6167bd82a40e8036f096fe76415.php @@ -0,0 +1,43 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<ul class="address-list"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('addressList')), $in, false, function($cx, $in) {return ' <li class="address"> + <span class="caption">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('caption')), ENT_QUOTES, 'UTF-8').'</span> + <span class="iconfont"></span> + <ul> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sub')), $in, false, function($cx, $in) {return ' <li class="address"> + <span class="caption">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('caption')), ENT_QUOTES, 'UTF-8').'</span> + <span class="iconfont"></span> + <ul class="address-list"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sub')), $in, false, function($cx, $in) {return ' <li class="address-last" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('code')), ENT_QUOTES, 'UTF-8').'"> + <span class="caption">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('caption')), ENT_QUOTES, 'UTF-8').'</span> + </li> +';}).' </ul> + </li> +';}).' </ul> + </li> +';}).'</ul> +'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/810169231afca756d98d557f0300b292.php b/compile/m.yohobuy.com/1.3.3/810169231afca756d98d557f0300b292.php new file mode 100644 index 0000000..534e683 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/810169231afca756d98d557f0300b292.php @@ -0,0 +1,51 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/86ee7b437b71f3891777e9a5e239630a.php b/compile/m.yohobuy.com/1.3.3/86ee7b437b71f3891777e9a5e239630a.php new file mode 100644 index 0000000..5279109 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/86ee7b437b71f3891777e9a5e239630a.php @@ -0,0 +1,527 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="discount-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('headerBanner')), $in, false, function($cx, $in) {return ''.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('list')))) ? ' <div class="banner-top"> + <div class="banner-swiper swiper-container"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + <div class="swiper-lazy-preloader"></div> + </li> +';}).' </ul> + </div> + <div class="swiper-pagination"> + <div class="pagination-inner"> + </div> + </div> + </div> +' : ' <div class="banner-top-single"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div> +').' +'.'';}).' + <ul id="list-nav" class="list-nav clearfix"> + <li class="new active"> + <a href="javascript:void(0);"> + <span class="spanTest">最新</span> + <span class="iconfont cur"></span> + </a> + </li> + <li class="price"> + <a href="javascript:void(0);"> + <span class="spanTest">价格</span> + <span class="icon"> + <i class="iconfont up"></i> + <i class="iconfont down cur"></i> + </span> + </a> + </li> + <li class="discount"> + <a href="javascript:void(0);"> + <span class="spanTest">折扣</span> + <span class="icon"> + <i class="iconfont up"></i> + <i class="iconfont down cur"></i> + </span> + </a> + </li> + <li class="filter"> + <a href="javascript:void(0);"> + <span class="spanTest">筛选</span> + <span class="iconfont cur"></span> + </a> + </li> + </ul> + + <div id="goods-container" class="goods-container"> + <div class="new-goods container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).' </div> + <div class="price-goods container hide clearfix"></div> + <div class="discount-goods container hide clearfix"></div> + +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide"> + <div class="filter-body"> + <ul class="classify"> +'.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' : '').'"> + <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'"> + <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + </p> + <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'> +'.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').'> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + <i class="iconfont chosed-icon"></i> + </li> +';}).' </ul> + </li> +';}).' </ul> + </div> + </div> + ';}).''.' </div> + +'.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brand')))) ? ' <input class="query-param" type="hidden" data-attr="brand" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('brand')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('gender')))) ? ' <input class="query-param" type="hidden" data-attr="gender" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('gender')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('sort')))) ? ' <input class="query-param" type="hidden" data-attr="sort" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sort')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('msort')))) ? ' <input class="query-param" type="hidden" data-attr="msort" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('msort')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('misort')))) ? ' <input class="query-param" type="hidden" data-attr="misort" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('misort')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <input class="query-param" type="hidden" data-attr="color" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <input class="query-param" type="hidden" data-attr="size" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' <input class="query-param" type="hidden" data-attr="price" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discount')))) ? ' <input class="query-param" type="hidden" data-attr="discount" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('discount')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('query')))) ? ' <input class="query-param" type="hidden" data-attr="query" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('query')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('style')))) ? ' <input class="query-param" type="hidden" data-attr="style" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('style')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('p_d')))) ? ' <input class="query-param" type="hidden" data-attr="p_d" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('p_d')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channel')))) ? ' <input class="query-param" type="hidden" data-attr="channel" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('channel')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('dayLimit')))) ? ' <input class="query-param" type="hidden" data-attr="dayLimit" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dayLimit')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('limit')))) ? ' <input class="query-param" type="hidden" data-attr="limit" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('limit')), ENT_QUOTES, 'UTF-8').'"> + ' : '').''.' +'.' <div id="suspend-cart" class="suspend-cart"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'> + <span class="iconfont"></span> + </a> + <span class="cart-count hide">0</span> + </div>'.'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/8abdbdd3e6490af45048b73ad201bd52.php b/compile/m.yohobuy.com/1.3.3/8abdbdd3e6490af45048b73ad201bd52.php new file mode 100644 index 0000000..2ec97b4 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/8abdbdd3e6490af45048b73ad201bd52.php @@ -0,0 +1,58 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hasFavBrand')), $in, false, function($cx, $in) {return '<div class="fav-brand-swiper"> + <a class="swiper-header" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"> + <div class="swiper-logo"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('brandImg')), ENT_QUOTES, 'UTF-8').'" alt=""/> + </div> + <div class="brand-info"> + <span class="brand-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('brandName')), ENT_QUOTES, 'UTF-8').'</span> + <div class="brand-update"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('update')), $in, false, function($cx, $in) {return ' <span class="brand-new">上新<b>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</b></span> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('discount')), $in, false, function($cx, $in) {return ' <span class="brand-discount">折扣<b>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</b></span> +';}).' </div> + </div> + <span class="fav-more"></span> + </a> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('productList')))) ? ' <div id="swiper-container-'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" class="swiper-container" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <ul class="swiper-wrapper swiper-wrapper-'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('productList')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"> + <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'" alt=""/> + </a> + + <div class="brand-product"> + <div class="'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('discount')), $in, false, function($cx, $in) {return 'price-discount';}).'"> + '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('discount')), $in, false, function($cx, $in) {return '<span>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'<span>';}).' + <b>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</b> + </div> + </div> + <div class="swiper-lazy-preloader"></div> + </li> +';}).' </ul> + </div> +' : '').'</div> +';}).''.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/8c32d33330c226f9e481d1a1d89c02c7.php b/compile/m.yohobuy.com/1.3.3/8c32d33330c226f9e481d1a1d89c02c7.php new file mode 100644 index 0000000..562f931 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/8c32d33330c226f9e481d1a1d89c02c7.php @@ -0,0 +1,393 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="vip-privilege-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('vipGrade')), $in, false, function($cx, $in) {return ''.' <ul class="privilege-list"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('privilege')), $in, true, function($cx, $in) {return ' <li> + <img class="icon" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pic')), ENT_QUOTES, 'UTF-8').'"> + <p> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').' + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'</span> + </p> + </li> +';}).' </ul>'.'';}).'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/8d365a715ee14739bd37e1ed5ad626a1.php b/compile/m.yohobuy.com/1.3.3/8d365a715ee14739bd37e1ed5ad626a1.php new file mode 100644 index 0000000..5ce3fce --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/8d365a715ee14739bd37e1ed5ad626a1.php @@ -0,0 +1,53 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsContainer')), $in, false, function($cx, $in) {return ' <div class="goods-list '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('show')))) ? 'hide' : '').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).' </div> +';}).''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/8e2e345d3d12df716f6463352180f2a2.php b/compile/m.yohobuy.com/1.3.3/8e2e345d3d12df716f6463352180f2a2.php new file mode 100644 index 0000000..c11c4ed --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/8e2e345d3d12df716f6463352180f2a2.php @@ -0,0 +1,495 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="vip-grade-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('vipGrade')), $in, false, function($cx, $in) {return ' <div class="basic-info block"> +'.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('vip3')))) ? ' <p> + <span class="user-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + <span class="vip-icon vip-3"></span> + </p> + <p class="grade-desc"> + 您已升级至最高的等级啦! + </p> + <p class="sum-cost"> + 年度累计金额<span> ¥ '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('costOfThisYear')), ENT_QUOTES, 'UTF-8').'</span> + </p> + <div class="progresser"> + <div class="outer"></div> + <div class="inner" style="width: '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('percent')), ENT_QUOTES, 'UTF-8').'%;"></div> + <span class="beacon beacon-min"> + 白金卡会员 + </span> + </div> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('vip2')))) ? ' <p> + <span class="user-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + <span class="vip-icon vip-2"></span> + </p> + <p class="grade-desc"> + 还差<span class="cost-gap">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('costGap')), ENT_QUOTES, 'UTF-8').'</span>就可以升级为白金会员! + <span class="sub-desc">(VIP金额累计需订单成功签收满15天并无退换货)</span> + </p> + <p class="sum-cost"> + 年度累计金额<span> ¥ '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('costOfThisYear')), ENT_QUOTES, 'UTF-8').'</span> + </p> + <div class="progresser"> + <div class="outer"></div> + <div class="inner" style="width: '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('percent')), ENT_QUOTES, 'UTF-8').'%;"></div> + <span class="beacon beacon-min"> + 金卡会员 + </span> + <span class="beacon beacon-max">白金卡会员</span> + <span class="cost-limit">¥5000.00</span> + </div> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('vip1')))) ? ' <p> + <span class="user-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + <span class="vip-icon vip-1"></span> + </p> + <p class="grade-desc"> + 还差<span class="cost-gap">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('costGap')), ENT_QUOTES, 'UTF-8').'</span>就可以升级为金卡会员! + <span class="sub-desc">(VIP金额累计需订单成功签收满15天并无退换货)</span> + </p> + <p class="sum-cost"> + 年度累计金额<span> ¥ '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('costOfThisYear')), ENT_QUOTES, 'UTF-8').'</span> + </p> + <div class="progresser"> + <div class="outer"></div> + <div class="inner" style="width: '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('percent')), ENT_QUOTES, 'UTF-8').'%;"></div> + <span class="beacon beacon-min"> + 银卡会员 + </span> + <span class="beacon beacon-max">金卡会员</span> + <span class="cost-limit">¥2000.00</span> + </div> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('vip0')))) ? ' <p> + <span class="user-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + <span>普通会员</span> + </p> + <p class="grade-desc"> + 还差<span class="cost-gap">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('costGap')), ENT_QUOTES, 'UTF-8').'</span>就可以升级为银卡会员! + <span class="sub-desc">(VIP金额累计需订单成功签收满15天并无退换货)</span> + </p> + <p class="sum-cost"> + 年度累计金额<span> ¥ '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('costOfThisYear')), ENT_QUOTES, 'UTF-8').'</span> + </p> + <div class="progresser"> + <div class="outer"></div> + <div class="inner" style="width: '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('percent')), ENT_QUOTES, 'UTF-8').'%;"></div> + <span class="beacon beacon-min"> + 普通 + </span> + <span class="beacon beacon-max">银卡会员</span> + <span class="cost-limit">¥600.00</span> + </div> + ' : '').''.' </div> + + <ul class="cost block"> + <li> + 年度累计金额: + <span>¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('costOfThisYear')), ENT_QUOTES, 'UTF-8').'</span> + </li> + <li> + 历史消费总金额: + <span>¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sumCost')), ENT_QUOTES, 'UTF-8').'</span> + </li> + </ul> + +'.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('vip0')))) ? ' <div class="privilege block"> + <h3 class="title">当前可享受的特权</h3> +'.' <ul class="privilege-list"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('privilege')), $in, true, function($cx, $in) {return ' <li> + <img class="icon" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pic')), ENT_QUOTES, 'UTF-8').'"> + <p> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').' + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'</span> + </p> + </li> +';}).' </ul>'.' </div> +' : '').' + <a class="all-privilege block tap-hightlight" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('allUrl')), ENT_QUOTES, 'UTF-8').'"> + 查看全部VIP特权 + <span class="iconfont"></span> + </a> +';}).'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/90e54b1e80f561de086743baecb0a93a.php b/compile/m.yohobuy.com/1.3.3/90e54b1e80f561de086743baecb0a93a.php new file mode 100644 index 0000000..e3b8727 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/90e54b1e80f561de086743baecb0a93a.php @@ -0,0 +1,741 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div id="mainCart" class="shopping-cart-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCart')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showLoginInfo')))) ? ' <p class="login-info"> + <span class="iconfont"></span> + 请您先 + <a class="btn btn-login" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('signurl')), ENT_QUOTES, 'UTF-8').'">登录</a> + 可以同步电脑和手机中的商品 + </p> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isEmptyCart')))) ? ' <div class="cart-zero"> + <i class="iconfont"></i> + <p>您的购物车暂无商品</p> + <a href="/product/new">随便逛逛</a> + </div> +'.' <div class="recommend-for-you hide"> + </div>'.'' : ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('cartNav')))) ? ' <ul class="cart-nav clearfix"> + + <li class="active" id="common-cart-nav"> + <span > + 普通商品('.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commonGoodsCount')), ENT_QUOTES, 'UTF-8').') + </span> + </li> + <li id="presell-cart-nav"> + <span > + 预售商品('.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('presellGoodsCount')), ENT_QUOTES, 'UTF-8').') + </span> + <div id="presell-tip" class="presell-tip hide"> + <div class="triangle"></div> + <p class="pt-content">预售商品点这里结算哦~</p> + </div> + </li> + + </ul> +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('commonCart')), $in, false, function($cx, $in) {return ' <div class="cart-content common"> +'.' <div class="cart-goods"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' <div class="shopping-cart-good clearfix" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('inValid')))) ? ' <span class="few-tag-expire">失效</span> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showCheckbox')))) ? ' <span class="checkbox'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('checked')))) ? ' icon-cb-checked' : ' icon-checkbox '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lowStocks')))) ? 'disabled' : '').'').' iconfont"></span> +' : '').' + <div class="info"> + <div class="prevent-img-click"></div> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"> + <img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isAdvanceBuy')))) ? ' <p class="few-tag plus-tag"><span>加价购</span></p> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isGift')))) ? ' <p class="few-tag gift-tag"><span>赠品</span></p> +' : '').' + <div class="deps show"> + <div class="fixed-height"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'" class="name row">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + <span class="count"> + ×'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').' + </span> + <p class="row color-size-row"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <span class="color"> + 颜色:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <span class="size"> + 尺码:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' + </p> + </div> + <p class="row"> + <p class="price"> + <span class="market-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isAdvanceBuy')))) ? ' <span class="sale-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salesPrice')), ENT_QUOTES, 'UTF-8').'</span> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isGift')))) ? ' <span class="sale-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salesPrice')), ENT_QUOTES, 'UTF-8').'</span> +' : '').' </p> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isVipPrice')))) ? ' <span class="vip"> + VIP + </span> +' : '').' +'.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isGift')))) ? ' <span class="iconfont icon-del" data-count="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'"></span> +' : '').' </p> + <p class="la-tag row clearfix"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lowStocks')))) ? ' <span class="low-stocks"> + 库存不足 + </span> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('appearDate')))) ? ' <span class="appear-date"> + 上市期:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appearDate')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' </p> + </div> + </div> + </div> +'.'';}).' </div> + +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('notValidGoods')))) ? ' <div class="invalid-goods"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('notValidGoods')), $in, false, function($cx, $in) {return ''.' <div class="shopping-cart-good clearfix" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('inValid')))) ? ' <span class="few-tag-expire">失效</span> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showCheckbox')))) ? ' <span class="checkbox'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('checked')))) ? ' icon-cb-checked' : ' icon-checkbox '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lowStocks')))) ? 'disabled' : '').'').' iconfont"></span> +' : '').' + <div class="info"> + <div class="prevent-img-click"></div> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"> + <img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isAdvanceBuy')))) ? ' <p class="few-tag plus-tag"><span>加价购</span></p> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isGift')))) ? ' <p class="few-tag gift-tag"><span>赠品</span></p> +' : '').' + <div class="deps show"> + <div class="fixed-height"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'" class="name row">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + <span class="count"> + ×'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').' + </span> + <p class="row color-size-row"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <span class="color"> + 颜色:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <span class="size"> + 尺码:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' + </p> + </div> + <p class="row"> + <p class="price"> + <span class="market-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isAdvanceBuy')))) ? ' <span class="sale-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salesPrice')), ENT_QUOTES, 'UTF-8').'</span> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isGift')))) ? ' <span class="sale-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salesPrice')), ENT_QUOTES, 'UTF-8').'</span> +' : '').' </p> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isVipPrice')))) ? ' <span class="vip"> + VIP + </span> +' : '').' +'.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isGift')))) ? ' <span class="iconfont icon-del" data-count="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'"></span> +' : '').' </p> + <p class="la-tag row clearfix"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lowStocks')))) ? ' <span class="low-stocks"> + 库存不足 + </span> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('appearDate')))) ? ' <span class="appear-date"> + 上市期:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appearDate')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' </p> + </div> + </div> + </div> +'.'';}).' </div> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('freebieOrAdvanceBuy')))) ? ' <ul class="freebie-and-advance-buy"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('freebie')))) ? ' <li class="freebie"> + <a href="/cart/index/gift?cartType='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartType')), ENT_QUOTES, 'UTF-8').'"> + <span class="iconfont"></span> + 赠品 + <span class="iconfont icon-right-arrow"></span> + <span class="count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('giftCount')), ENT_QUOTES, 'UTF-8').'</span> + </a> + </li> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuy')))) ? ' <li class="advance-buy"> + <a href="/cart/index/advanceBuy?cartType='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartType')), ENT_QUOTES, 'UTF-8').'"> + <span class="iconfont"></span> + 加价购 + <span class="iconfont icon-right-arrow"></span> + <span class="count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('advanceBuyCount')), ENT_QUOTES, 'UTF-8').'</span> + </a> + </li> +' : '').' </ul> +' : '').' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('promotionInfo')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <div class="activity-title"> + <h1>已参与活动</h1> + </div> +' : '').'';}).' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('promotionInfo')))) ? ' <div class="activity"> + <ul> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('promotionInfo')), $in, false, function($cx, $in) {return ' <li>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</li> +';}).' </ul> + </div> +' : '').' + <div class="price-compute"> + <p>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('formulaPrice')), ENT_QUOTES, 'UTF-8').'</p> + </div> + + <div class="balance"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isAllSelected')))) ? ' <span class="checkbox icon-cb-checked iconfont"></span> +' : ' <span class="checkbox icon-checkbox iconfont"></span> +').' <a class="btn-balance"> + 结算 + </a> + <p> + <span id="good-total"> + 总计:¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sumPrice')), ENT_QUOTES, 'UTF-8').' ('.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'件) + </span> + <span class="tip">(不含运费)</span> + </p> + </div> +'.' </div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('preSellCart')), $in, false, function($cx, $in) {return ' <div class="cart-content presell hide"> + <p class="presell-info"> + <span class="iconfont"></span> + <span class="txt">预售商品全场包邮,到货后立即发货</span> + <span class="txt">预售商品不参加活动,不可使用优惠券</span> + </p> +'.' <div class="cart-goods"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' <div class="shopping-cart-good clearfix" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('inValid')))) ? ' <span class="few-tag-expire">失效</span> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showCheckbox')))) ? ' <span class="checkbox'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('checked')))) ? ' icon-cb-checked' : ' icon-checkbox '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lowStocks')))) ? 'disabled' : '').'').' iconfont"></span> +' : '').' + <div class="info"> + <div class="prevent-img-click"></div> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"> + <img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isAdvanceBuy')))) ? ' <p class="few-tag plus-tag"><span>加价购</span></p> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isGift')))) ? ' <p class="few-tag gift-tag"><span>赠品</span></p> +' : '').' + <div class="deps show"> + <div class="fixed-height"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'" class="name row">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + <span class="count"> + ×'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').' + </span> + <p class="row color-size-row"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <span class="color"> + 颜色:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <span class="size"> + 尺码:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' + </p> + </div> + <p class="row"> + <p class="price"> + <span class="market-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isAdvanceBuy')))) ? ' <span class="sale-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salesPrice')), ENT_QUOTES, 'UTF-8').'</span> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isGift')))) ? ' <span class="sale-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salesPrice')), ENT_QUOTES, 'UTF-8').'</span> +' : '').' </p> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isVipPrice')))) ? ' <span class="vip"> + VIP + </span> +' : '').' +'.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isGift')))) ? ' <span class="iconfont icon-del" data-count="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'"></span> +' : '').' </p> + <p class="la-tag row clearfix"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lowStocks')))) ? ' <span class="low-stocks"> + 库存不足 + </span> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('appearDate')))) ? ' <span class="appear-date"> + 上市期:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appearDate')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' </p> + </div> + </div> + </div> +'.'';}).' </div> + +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('notValidGoods')))) ? ' <div class="invalid-goods"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('notValidGoods')), $in, false, function($cx, $in) {return ''.' <div class="shopping-cart-good clearfix" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('inValid')))) ? ' <span class="few-tag-expire">失效</span> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showCheckbox')))) ? ' <span class="checkbox'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('checked')))) ? ' icon-cb-checked' : ' icon-checkbox '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lowStocks')))) ? 'disabled' : '').'').' iconfont"></span> +' : '').' + <div class="info"> + <div class="prevent-img-click"></div> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"> + <img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isAdvanceBuy')))) ? ' <p class="few-tag plus-tag"><span>加价购</span></p> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isGift')))) ? ' <p class="few-tag gift-tag"><span>赠品</span></p> +' : '').' + <div class="deps show"> + <div class="fixed-height"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'" class="name row">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + <span class="count"> + ×'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').' + </span> + <p class="row color-size-row"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <span class="color"> + 颜色:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <span class="size"> + 尺码:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' + </p> + </div> + <p class="row"> + <p class="price"> + <span class="market-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isAdvanceBuy')))) ? ' <span class="sale-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salesPrice')), ENT_QUOTES, 'UTF-8').'</span> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isGift')))) ? ' <span class="sale-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salesPrice')), ENT_QUOTES, 'UTF-8').'</span> +' : '').' </p> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isVipPrice')))) ? ' <span class="vip"> + VIP + </span> +' : '').' +'.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isGift')))) ? ' <span class="iconfont icon-del" data-count="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'"></span> +' : '').' </p> + <p class="la-tag row clearfix"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lowStocks')))) ? ' <span class="low-stocks"> + 库存不足 + </span> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('appearDate')))) ? ' <span class="appear-date"> + 上市期:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appearDate')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' </p> + </div> + </div> + </div> +'.'';}).' </div> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('freebieOrAdvanceBuy')))) ? ' <ul class="freebie-and-advance-buy"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('freebie')))) ? ' <li class="freebie"> + <a href="/cart/index/gift?cartType='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartType')), ENT_QUOTES, 'UTF-8').'"> + <span class="iconfont"></span> + 赠品 + <span class="iconfont icon-right-arrow"></span> + <span class="count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('giftCount')), ENT_QUOTES, 'UTF-8').'</span> + </a> + </li> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuy')))) ? ' <li class="advance-buy"> + <a href="/cart/index/advanceBuy?cartType='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartType')), ENT_QUOTES, 'UTF-8').'"> + <span class="iconfont"></span> + 加价购 + <span class="iconfont icon-right-arrow"></span> + <span class="count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('advanceBuyCount')), ENT_QUOTES, 'UTF-8').'</span> + </a> + </li> +' : '').' </ul> +' : '').' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('promotionInfo')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <div class="activity-title"> + <h1>已参与活动</h1> + </div> +' : '').'';}).' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('promotionInfo')))) ? ' <div class="activity"> + <ul> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('promotionInfo')), $in, false, function($cx, $in) {return ' <li>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</li> +';}).' </ul> + </div> +' : '').' + <div class="price-compute"> + <p>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('formulaPrice')), ENT_QUOTES, 'UTF-8').'</p> + </div> + + <div class="balance"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isAllSelected')))) ? ' <span class="checkbox icon-cb-checked iconfont"></span> +' : ' <span class="checkbox icon-checkbox iconfont"></span> +').' <a class="btn-balance"> + 结算 + </a> + <p> + <span id="good-total"> + 总计:¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sumPrice')), ENT_QUOTES, 'UTF-8').' ('.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'件) + </span> + <span class="tip">(不含运费)</span> + </p> + </div> +'.' </div> +';}).'').' <input id="cartType" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartType')), ENT_QUOTES, 'UTF-8').'"> +';}).'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/956455df7d7c962954087ff344281aec.php b/compile/m.yohobuy.com/1.3.3/956455df7d7c962954087ff344281aec.php new file mode 100644 index 0000000..3025a34 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/956455df7d7c962954087ff344281aec.php @@ -0,0 +1,39 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<div class="title">为您优选新品</div> +<div id="swiper-recommend" class="swiper-container"> + <div class="swiper-wrapper swiper-wrapper-recommend"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('recommendList')), $in, false, function($cx, $in) {return ' <a class="swiper-slide" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="swiper-lazy img-box" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> + '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return '<span class="old-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span>';}).' + </div> + <div class="swiper-lazy-preloader"></div> + </a> +';}).' </div> +</div> +'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/9af9555a3369e28fc82e1da6c9c306ef.php b/compile/m.yohobuy.com/1.3.3/9af9555a3369e28fc82e1da6c9c306ef.php new file mode 100644 index 0000000..60b8607 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/9af9555a3369e28fc82e1da6c9c306ef.php @@ -0,0 +1,407 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="goods-consults-page yoho-page"> + <div class="goto-consult tap-hightlight" id="goto-consult" data-href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"> + <i class="iconfont consult-logo"></i> + <span>我要咨询</span> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'" class="iconfont enter-consult-page"></a> + </div> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('consults')), $in, false, function($cx, $in) {return ' <div class="goods-consults" id="goods-consults"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <div class="consult-item"> + <div class="question"> + <span class="iconfont"></span> + <p> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('question')), ENT_QUOTES, 'UTF-8').'<br> + <span class="time">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('time')), ENT_QUOTES, 'UTF-8').'</span> + </p> + </div> + + <div class="answer"> + <span class="iconfont"></span> + <p>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('answer')), ENT_QUOTES, 'UTF-8').'</p> + </div> + </div> +';}).' </div> +';}).' +</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/9e98582233c494aa42dd53236ff0ac1c.php b/compile/m.yohobuy.com/1.3.3/9e98582233c494aa42dd53236ff0ac1c.php new file mode 100644 index 0000000..4fe9f5d --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/9e98582233c494aa42dd53236ff0ac1c.php @@ -0,0 +1,394 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="order-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('order')), $in, false, function($cx, $in) {return ' <ul id="order-nav" class="order-nav clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navs')), $in, true, function($cx, $in) {return ' <li class="tap-hightlight '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('active')))) ? 'active' : '').'" data-type="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('typeId')), ENT_QUOTES, 'UTF-8').'"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </li> +';}).' </ul> + + <div id="order-container" class="order-container"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navs')), $in, true, function($cx, $in) {return ' <div class="orders'.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('active')))) ? ' hide' : '').'"></div> +';}).' </div> +';}).'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/a157931d4730c822ab6b4a6e68de1580.php b/compile/m.yohobuy.com/1.3.3/a157931d4730c822ab6b4a6e68de1580.php new file mode 100644 index 0000000..7b98d3a --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/a157931d4730c822ab6b4a6e68de1580.php @@ -0,0 +1,687 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="mobile-container"> + <div class="mobile-wrap kids-wrap yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('homeHeader')), $in, false, function($cx, $in) {return ''.' <div class="home-header clearfix" '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bgColor')), $in, false, function($cx, $in) {return 'style="background-color:'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').';background-image:none"';}).'> + <span class="nav-btn iconfont"></span> + <span class="logo"></span> + <span class="search-btn iconfont"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'"></a></span> + </div>'.'';}).' +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('content')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bannerTop')), $in, false, function($cx, $in) {return ''.' <div class="banner-top"> + <div class="banner-swiper swiper-container"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, true, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + </li> +' : ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + <div class="swiper-lazy-preloader"></div> + </li> +').'';}).' </ul> + </div> + <div class="swiper-pagination"> + <div class="pagination-inner"> + </div> + </div> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('iconsEnter')), $in, false, function($cx, $in) {return ''.' <div class="icons-wrapper"> + <ul class="icons-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="icons-item"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="imagebar"><img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""></a><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="linkbar">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</a></li> +';}).' </ul> + </div> +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ''.' <div class="banner-center"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </a> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotCategory')), $in, false, function($cx, $in) {return ''.' <div class="hot-category"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="category-banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> +';}).' <ul class="category-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="img-box"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrands')), $in, false, function($cx, $in) {return ''.' <ul class="hot-brands clearfix"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="brand"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="brand-logo"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </div> + <p class="brand-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' <li class="more"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more')), ENT_QUOTES, 'UTF-8').'"></a> + </li> + </ul>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrandsScroll')), $in, false, function($cx, $in) {return ''.' <div class="hot-brands"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.' <div class="brands-swiper"> + <ul class="brands-list swiper-wrapper clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + <span class="brands-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</span> + </a> + </li> +';}).' </ul> + </div> + </div> +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendColloaction')), $in, false, function($cx, $in) {return ''.' <div class="trend-coll-wrapper"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="trend-coll-content clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('article')), $in, false, function($cx, $in) {return ' <div class="lspan"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="lazy rspanimg" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" ></a> + </div> +';}).' </div> + <div class="trend-coll-tail"> + <h3 class="recommend-title">推荐搭配</h3> + <div class="recommend-swiper"> + <ul class="recommend-list swiper-wrapper clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('recommend_collocation')), $in, false, function($cx, $in) {return ' <li class="recommend-item swiper-slide"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="" /></a></li> +';}).' </ul> + </div> + </div> + </div> + + +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendTopics')), $in, false, function($cx, $in) {return ''.' <div class="trend-topic-wrapper"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="trend-topic-content"> + <div class="trend-topic-swiper"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="img-box"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> + <div class="item-content"> + <p class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</p> + <p class="time"> + <span class="iconfont time-icon"></span> + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publish_time')), ENT_QUOTES, 'UTF-8').'</span> + </p> + </div> + </a> + </li> +';}).' </ul> + </div> + <div class="swiper-pagination"> + <div class="pagination-inner clearfix"> + </div> + </div> + </div> + </div> +'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsCategory')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="goods-category"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('big_image')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('big_list')))) ? ' <div class="category-swiper"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('big_list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'"> + </a> + </li> +';}).' </ul> + <div class="swiper-pagination"> + <div class="pagination-inner clearfix"> + </div> + </div> + </div> +' : ' <div class="category-swiper"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div> +').'';}).' <ul class="category-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="img-box"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </div> + <p class="category-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('creativeLife')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + ';}).''.' <div class="creative-life"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> +';}).' <ul class="classify-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="classify"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <div class="classify-logo"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </div> + <p class="classify-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('plusStar')), $in, false, function($cx, $in) {return ''.' + <div class="plus-star"> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> + </div> +';}).''.' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div>'.'';}).'';}).' + '.'<div class="maybe-like"> + <p class="title"> + <i class="icon"></i> + <span>你可能喜欢</span> + </p> + + <div id="goods-list" class="goods-list clearfix"></div> + +</div> +<div class="load-more-img hide" id="load-more-img"> + <a href=""> + <img src=""> + </a> +</div> +'.''.' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('twoColumnGoods')), $in, false, function($cx, $in) {return ''.' <div class="two-column-goods"> + <ul class="column-nav clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('columnNav')), $in, false, function($cx, $in) {return ' <li data-url="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</li> +';}).' </ul> + <div class="goods-list clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).' </div> + </div>'.'';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bannerBottom')), $in, false, function($cx, $in) {return ''.' <div class="banner-bottom"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </a> + </div>'.'';}).' + <div class="overlay"></div> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showFooterTab')), $in, false, function($cx, $in) {return ' <div class="footer-tab"> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('indexUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">首页</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('categoryUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">分类</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('guangUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">逛</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shoppingCartUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">购物车</p> + </a> + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('minePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('mineUrl')), ENT_QUOTES, 'UTF-8').'"> + <p class="iconfont tab-icon"></p> + <p class="tab-name">我的</p> + </a> + </div> +';}).' '.' </div> +'.' <div class="side-nav"> + <ul> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sideNav')), $in, false, function($cx, $in) {return ' <li class="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('styleClass')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;"> +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('img')), $in, false, function($cx, $in) {return ' <span class="nav-img" style="background-image: url('.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').')"></span> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('img')))) ? ' <i class="nav-icon"></i> +' : '').' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <span class="enter-subnav iconfont"></span> +';}).' </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <ul class="sub-nav"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isSelect')), $in, false, function($cx, $in) {return 'current';}).'" style="background-color:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bgColor')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"> +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;"> +' : '').''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('back')))) ? ' <span class="nav-point iconfont"></span> +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('back')), $in, false, function($cx, $in) {return ' <i class="nav-back iconfont"></i> +';}).' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').' + </a> + </li> +';}).' </ul> +';}).' </li> +';}).' </ul> + </div>'.'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/a945bc0d2a27cb090a0c8839dc1e9f61.php b/compile/m.yohobuy.com/1.3.3/a945bc0d2a27cb090a0c8839dc1e9f61.php new file mode 100644 index 0000000..cee2fcb --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/a945bc0d2a27cb090a0c8839dc1e9f61.php @@ -0,0 +1,522 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="good-list-page yoho-page"> +'.''.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"> + <form id="search-form" action="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" method="get"> + <i class="search-icon iconfont"></i> + <input type="text" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('default')), ENT_QUOTES, 'UTF-8').'" name="query"> + <input type="hidden" value="search" name="from"> + <i class="clear-input iconfont hide"></i> + <span id="search" class="search" type="submit">搜索</span> + </form> + </div> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('brandWay')), $in, false, function($cx, $in) {return ' <div class="brand-way"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="brand-thumb" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + <span class="entry"> + 进入品牌 + <i class="iconfont"></i> + </span> + </a> + </div> +';}).' +'.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').'> + <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('banner')), ENT_QUOTES, 'UTF-8').'> + <a class="btn-intro" href="javascript:void(0);"> + 品牌介绍 + </a> + <a class="btn-col'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('collected')))) ? ' coled' : '').'" href="javascript:void(0);"> + <span class="iconfont"></span> + <span class="txt"></span> + </a> + </div> + <div id="intro-box" class="brand-intro-box hide"> + <div id="brand-intro" class="brand-intro"> + <h2>品牌介绍</h2> + <div class="con"> + '.Plugin\LCRun3::v($cx, $in, array('intro')).' + </div> + <p class="fo"> + <span class="iconfont"></span> + 100%品牌授权正品 + </p> + <span class="iconfont close-intro"></span> + </div> + </div> +';}).' + <ul id="list-nav" class="list-nav clearfix"> + <li class="new active"> + <a href="javascript:void(0);"> + <span class="nav-txt">最新</span> + <span class="iconfont cur"></span> + </a> + </li> + <li class="price"> + <a href="javascript:void(0);"> + <span class="nav-txt">价格</span> + <span class="icon"> + <i class="iconfont up"></i> + <i class="iconfont down cur"></i> + </span> + </a> + </li> + <li class="discount"> + <a href="javascript:void(0);"> + <span class="nav-txt">折扣</span> + <span class="icon"> + <i class="iconfont up"></i> + <i class="iconfont down cur"></i> + </span> + </a> + </li> + <li class="filter"> + <a href="javascript:void(0);"> + <span class="nav-txt">筛选</span> + <span class="iconfont cur"></span> + </a> + </li> + </ul> + <div id="goods-container" class="goods-container"> + <div class="new-goods container clearfix"></div> + <div class="price-goods container clearfix hide"></div> + <div class="discount-goods container clearfix hide"></div> + +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide"> + <div class="filter-body"> + <ul class="classify"> +'.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' : '').'"> + <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'"> + <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + </p> + <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'> +'.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').'> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + <i class="iconfont chosed-icon"></i> + </li> +';}).' </ul> + </li> +';}).' </ul> + </div> + </div> + ';}).''.' </div> + +'.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brand')))) ? ' <input class="query-param" type="hidden" data-attr="brand" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('brand')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('gender')))) ? ' <input class="query-param" type="hidden" data-attr="gender" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('gender')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('sort')))) ? ' <input class="query-param" type="hidden" data-attr="sort" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sort')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('msort')))) ? ' <input class="query-param" type="hidden" data-attr="msort" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('msort')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('misort')))) ? ' <input class="query-param" type="hidden" data-attr="misort" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('misort')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <input class="query-param" type="hidden" data-attr="color" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <input class="query-param" type="hidden" data-attr="size" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' <input class="query-param" type="hidden" data-attr="price" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discount')))) ? ' <input class="query-param" type="hidden" data-attr="discount" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('discount')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('query')))) ? ' <input class="query-param" type="hidden" data-attr="query" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('query')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('style')))) ? ' <input class="query-param" type="hidden" data-attr="style" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('style')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('p_d')))) ? ' <input class="query-param" type="hidden" data-attr="p_d" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('p_d')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channel')))) ? ' <input class="query-param" type="hidden" data-attr="channel" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('channel')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('dayLimit')))) ? ' <input class="query-param" type="hidden" data-attr="dayLimit" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dayLimit')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('limit')))) ? ' <input class="query-param" type="hidden" data-attr="limit" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('limit')), ENT_QUOTES, 'UTF-8').'"> + ' : '').''.' +'.' <div id="suspend-cart" class="suspend-cart"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'> + <span class="iconfont"></span> + </a> + <span class="cart-count hide">0</span> + </div>'.' ';}).''.'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/a9d50c5502e6884f3e2a141ab17f89e6.php b/compile/m.yohobuy.com/1.3.3/a9d50c5502e6884f3e2a141ab17f89e6.php new file mode 100644 index 0000000..7c4249f --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/a9d50c5502e6884f3e2a141ab17f89e6.php @@ -0,0 +1,500 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="ps-detail-page ps-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('ps')), $in, false, function($cx, $in) {return ' <div id="brand-info" class="header brand-info ps-block" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <img class="banner lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('banner')), ENT_QUOTES, 'UTF-8').'"> + <img class="logo lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('logo')), ENT_QUOTES, 'UTF-8').'"> + <div class="header-content clearfix"> + <p class="name-islike-container"> + <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + <a id="brand-like" class="brand-islike iconfont '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLike')), $in, false, function($cx, $in) {return 'like';}).'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('likeUrl')), ENT_QUOTES, 'UTF-8').'"> +  + </a> + </p> + <p id="intro" class="intro"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('intro')), ENT_QUOTES, 'UTF-8').' + </p> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('intro')))) ? ' <span id="more-intro" class="more-intro"> + <span id="intro-more-txt">more</span> + <i class="icon iconfont"></i> + </span> +' : '').' </div> + </div> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('newArrival')), $in, false, function($cx, $in) {return ' <div class="new-arrival ps-block"> + <div class="new-arrival-header"> + <span class="header-text">NEW ARRIVAL</span> + <a class="more-prods iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('moreUrl')), ENT_QUOTES, 'UTF-8').'"></a> + </div> + <div class="new-arrival-content clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('naList')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).' </div> + <div class="more-goods-container"> + <a class="mg-text" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('moreUrl')), ENT_QUOTES, 'UTF-8').'"> + 更多商品 + <span class="more-prods iconfont"></span> + </a> + </div> + </div> +';}).''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('infos')))) ? ' <div class="related-infos ps-block"> + <div> + <h2 class="related-info-title">相关资讯</h2> + </div> + <div id="related-infos-container" class="related-infos-container"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('infos')), $in, false, function($cx, $in) {return ''.' <div class="guang-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('author')), $in, false, function($cx, $in) {return ' <a class="info-author clearfix" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="lazy avatar" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('avatar')), ENT_QUOTES, 'UTF-8').'> + <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + </a> +';}).' + <div class="info-img"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showTags')))) ? ' <a href="javascript:;" class="info-match"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTip')), $in, false, function($cx, $in) {return ' 小贴士 + <div class="info-tag tip"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollocation')), $in, false, function($cx, $in) {return ' 搭配 + <div class="info-tag collocation"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionMan')), $in, false, function($cx, $in) {return ' 潮人 + <div class="info-tag fashion-man"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionGood')), $in, false, function($cx, $in) {return ' 潮品 + <div class="info-tag fashion-good"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTopic')), $in, false, function($cx, $in) {return ' 话题 + <div class="info-tag topic"></div> +';}).' </a> +' : '').' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('alt')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div> + + <div class="info-deps"> + <a class="info-title-container" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <h2 class="info-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + </a> + <p class="info-text">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'</p> +'.' <div class="time-view-like-share clearfix"> + <i class="iconfont"></i> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publishTime')), ENT_QUOTES, 'UTF-8').' + <i class="iconfont"></i> + <span class="page-view">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pageView')), ENT_QUOTES, 'UTF-8').'</span> + <div class="like-share-container"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('like')), $in, false, function($cx, $in) {return ' <i class="iconfont like-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLiked')), $in, false, function($cx, $in) {return ' like';}).'"></i> + <span class="like-count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'</span> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collect')), $in, false, function($cx, $in) {return ' <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <i class="iconfont collect-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollected')), $in, false, function($cx, $in) {return ' collected';}).'"></i> + </a> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('share')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont share-btn"></a> +';}).' </div> + </div>'.' </div> + </div>'.'';}).' </div> + </div> +' : '').' + <input id="jump-to-app" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpToApp')), ENT_QUOTES, 'UTF-8').'"> + + <input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> + <input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> + <input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> + <input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> +';}).'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/aade700fda350dba3a6e1322cf87c7e9.php b/compile/m.yohobuy.com/1.3.3/aade700fda350dba3a6e1322cf87c7e9.php new file mode 100644 index 0000000..f45daba --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/aade700fda350dba3a6e1322cf87c7e9.php @@ -0,0 +1,390 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="consult-form-page yoho-page"> + <form class="consult-form" url="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('formUrl')), ENT_QUOTES, 'UTF-8').'"> + <textarea id="content" name="content">请输入咨询内容</textarea> + <input type="hidden" id="product_id" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('productId')), ENT_QUOTES, 'UTF-8').'"> + <a type="submit" id="submit">提交</a> + </form> +</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/ad7b9c541e0d66fea24941c1de7ee0ca.php b/compile/m.yohobuy.com/1.3.3/ad7b9c541e0d66fea24941c1de7ee0ca.php new file mode 100644 index 0000000..27006ec --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/ad7b9c541e0d66fea24941c1de7ee0ca.php @@ -0,0 +1,516 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="newarrival-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('headerBanner')), $in, false, function($cx, $in) {return ''.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('list')))) ? ' <div class="banner-top"> + <div class="banner-swiper swiper-container"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + <div class="swiper-lazy-preloader"></div> + </li> +';}).' </ul> + </div> + <div class="swiper-pagination"> + <div class="pagination-inner"> + </div> + </div> + </div> +' : ' <div class="banner-top-single"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div> +').' +'.'';}).' + <ul id="list-nav" class="list-nav clearfix"> + <li id="today" class="today active"> + <a href="javascript:void(0);"> + </a> + </li> + <li class="week"> + <a href="javascript:void(0);"> + 本周上新 + </a> + </li> + <li class="sale"> + <a href="javascript:void(0);"> + 销量 + </a> + </li> + <li class="filter"> + <a href="javascript:void(0);"> + 筛选 + </a> + <span class="iconfont"></span> + </li> + </ul> + + <div id="goods-container" class="goods-container"> + <div class="container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <p class="good-tag new-festival-tag">新品节</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> + </a> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' </div> + <div class="good-detail-text"> + <div class="name"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> + </div> + <div class="price"> + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> +';}).' </div> + </div> + </div> + ' : '').''.'';}).' </div> + <div class="container hide clearfix"></div> + <div class="container hide clearfix"></div> +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide"> + <div class="filter-body"> + <ul class="classify"> +'.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' : '').'"> + <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'"> + <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + </p> + <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'> +'.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').'> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + <i class="iconfont chosed-icon"></i> + </li> +';}).' </ul> + </li> +';}).' </ul> + </div> + </div> + ';}).''.' </div> + +'.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brand')))) ? ' <input class="query-param" type="hidden" data-attr="brand" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('brand')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('gender')))) ? ' <input class="query-param" type="hidden" data-attr="gender" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('gender')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('sort')))) ? ' <input class="query-param" type="hidden" data-attr="sort" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sort')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('msort')))) ? ' <input class="query-param" type="hidden" data-attr="msort" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('msort')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('misort')))) ? ' <input class="query-param" type="hidden" data-attr="misort" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('misort')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <input class="query-param" type="hidden" data-attr="color" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <input class="query-param" type="hidden" data-attr="size" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' <input class="query-param" type="hidden" data-attr="price" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discount')))) ? ' <input class="query-param" type="hidden" data-attr="discount" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('discount')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('query')))) ? ' <input class="query-param" type="hidden" data-attr="query" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('query')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('style')))) ? ' <input class="query-param" type="hidden" data-attr="style" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('style')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('p_d')))) ? ' <input class="query-param" type="hidden" data-attr="p_d" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('p_d')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channel')))) ? ' <input class="query-param" type="hidden" data-attr="channel" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('channel')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('dayLimit')))) ? ' <input class="query-param" type="hidden" data-attr="dayLimit" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dayLimit')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('limit')))) ? ' <input class="query-param" type="hidden" data-attr="limit" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('limit')), ENT_QUOTES, 'UTF-8').'"> + ' : '').''.' +'.' <div id="suspend-cart" class="suspend-cart"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'> + <span class="iconfont"></span> + </a> + <span class="cart-count hide">0</span> + </div>'.'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/caea0cd127ad9ffa5f5200b9ab0922d4.php b/compile/m.yohobuy.com/1.3.3/caea0cd127ad9ffa5f5200b9ab0922d4.php new file mode 100644 index 0000000..aac7e12 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/caea0cd127ad9ffa5f5200b9ab0922d4.php @@ -0,0 +1,432 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="my-address-page yoho-page"> + <div class="page-wrap"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('address')), $in, false, function($cx, $in) {return ' <div class="address-item"> + <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('consignee')), ENT_QUOTES, 'UTF-8').'</span> + <span class="tel">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('mobile')), ENT_QUOTES, 'UTF-8').'</span> + <p class="address-info">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('area')), ENT_QUOTES, 'UTF-8').' '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address')), ENT_QUOTES, 'UTF-8').'</p> + <div class="action iconfont"> + <a class="edit" href="/home/addressAct?id='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address_id')), ENT_QUOTES, 'UTF-8').'"></a> + <span class="del" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address_id')), ENT_QUOTES, 'UTF-8').'"></span> + </div> + </div> +';}).' <a class="add-address" data-href="/home/addressAct"> + 添加新地址 + </a> + + <div class="confim-mask hide"> + <div class="confim-box"> + <div class="content"> + 您确定要删除地址? + </div> + <div class="action"> + <span class="cancel"> + 取消 + </span> + <span class="confim"> + 确认 + </span> + </div> + </div> + </div> + </div> +'.' <ul class="address-list"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('addressList')), $in, false, function($cx, $in) {return ' <li class="address"> + <span class="caption">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('caption')), ENT_QUOTES, 'UTF-8').'</span> + <span class="iconfont"></span> + <ul> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sub')), $in, false, function($cx, $in) {return ' <li class="address"> + <span class="caption">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('caption')), ENT_QUOTES, 'UTF-8').'</span> + <span class="iconfont"></span> + <ul class="address-list"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sub')), $in, false, function($cx, $in) {return ' <li class="address-last" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('code')), ENT_QUOTES, 'UTF-8').'"> + <span class="caption">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('caption')), ENT_QUOTES, 'UTF-8').'</span> + </li> +';}).' </ul> + </li> +';}).' </ul> + </li> +';}).' </ul> +'.'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/cbfc9b8b333903bf8391a4df02ad64e6.php b/compile/m.yohobuy.com/1.3.3/cbfc9b8b333903bf8391a4df02ad64e6.php new file mode 100644 index 0000000..7c6fff8 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/cbfc9b8b333903bf8391a4df02ad64e6.php @@ -0,0 +1,656 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="good-detail-page yoho-page"> + <div class="banner-container"> + <div class="tag-container"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohood')), $in, false, function($cx, $in) {return ' <div class="good-tag yohood-tag">新品节</div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="good-tag soonSoldOut-tag">即将售罄</p> +';}).'';}).' </div> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bannerTop')), $in, false, function($cx, $in) {return ''.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('list')))) ? ' <div class="banner-top"> + <div class="banner-swiper swiper-container"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="javascript:;"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> + </a> + </li> +';}).' </ul> + </div> + <div class="swiper-pagination"> + <div class="pagination-inner"> + </div> + </div> + + <div class="my-swiper-button-prev prev-grey"></div> + <div class="my-swiper-button-next next-grey"></div> + </div> +' : ' <div class="banner-top-single"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div> + ').''.'';}).' </div> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsName')), $in, false, function($cx, $in) {return ' <h2 class="goodsName"><span>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span></h2> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsSubtitle')), $in, false, function($cx, $in) {return ' <h1 class="goodsSubtitle"><span>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span></h1> +';}).' + <div class="price-date"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsPrice')), $in, false, function($cx, $in) {return ' <div class="goodsPrice"> + <h1 class="currentPrice">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('currentPrice')), ENT_QUOTES, 'UTF-8').'</h1> + <h1 class="previousPrice">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('previousPrice')), ENT_QUOTES, 'UTF-8').'</h1> + </div> +';}).' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('periodOfMarket')))) ? ' <div class="periodOfMarket"> + <h1>上市期:</h1> + <h1 >'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('periodOfMarket')), ENT_QUOTES, 'UTF-8').'</h1> + </div> +' : '').' </div> + +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('vipLevel')), $in, false, function($cx, $in) {return ' <ul class="vip-level clearfix"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="icons-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currentLevel')))) ? 'current-level' : '').'"> + <span class="vip-img " style="background-size:contain;"> + </span> + <span class="vip-price ">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'</span> + </li> +';}).' </ul> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsDiscount')), $in, false, function($cx, $in) {return ' <div class="goodsDiscount" id="goodsDiscount"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('text')))) ? ' <h1 class="first-item short-text tap-hightlight">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'<span class="icon-down iconfont dropdown"></span></h1> +' : '').'' : '').'';}).' <div class="discount-folder"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? '' : ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('text')))) ? ' <h1 class="folder-item tap-hightlight">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'</h1> +' : '').'').'';}).' </div> + </div> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('feedbacks')), $in, false, function($cx, $in) {return ' <div class="feedback-list "> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('commentsNum')))) ? ''.' <ul id="nav-tab" class="nav-tab clearfix"> + <li class="comment-nav tap-hightlight">商品评价(<span class="comments-num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commentsNum')), ENT_QUOTES, 'UTF-8').'</span>)</li> + <li class="consult-nav tap-hightlight">购买咨询(<span class="consults-num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('consultsNum')), ENT_QUOTES, 'UTF-8').'</span>)</li> + </ul> + <div id="feedback-content" > + <div class="comment-content content "> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('commentsNum')))) ? ' <div class="comment-content-main content-main"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('comments')), $in, false, function($cx, $in) {return ' <span class="user-name"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('userName')), ENT_QUOTES, 'UTF-8').' + </span> + <span class="goods-spec"> + 购买了'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('desc')), ENT_QUOTES, 'UTF-8').' + </span> + <p class="detail-content"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('content')), ENT_QUOTES, 'UTF-8').' + </p> + <span class="comment-time"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('time')), ENT_QUOTES, 'UTF-8').' + </span> +';}).' </div> + <a class="comment-content-footer tap-hightlight" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commentsUrl')), ENT_QUOTES, 'UTF-8').'"> + 查看更多 + <span class="iconfont"></span> + </a> +' : ' <div class="comment-content-main content-main no-item"> + <span class="iconfont"></span>暂无评论 + </div> +').' </div> + + <div class="consult-content content hide "> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultsNum')))) ? ' <div class="consult-content-main content-main"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('consults')), $in, false, function($cx, $in) {return ' <div class="question"> + <span class="iconfont"></span> + <p> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('question')), ENT_QUOTES, 'UTF-8').'<br> + <span class="time">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('time')), ENT_QUOTES, 'UTF-8').'</span> + </p> + </div> + + <div class="answer"> + <span class="iconfont"></span> + <p>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('answer')), ENT_QUOTES, 'UTF-8').'</p> + </div> +';}).' </div> + <a class="consult-content-footer tap-hightlight" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('consultsUrl')), ENT_QUOTES, 'UTF-8').'"> + 查看更多 + <span class="iconfont"></span> + </a> +' : ' <div class="consult-content-main content-main no-item"> + <span class="iconfont"></span>暂无咨询 + </div> + + <div class="consult-content-footer tap-hightlight" data-href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commentsLink')), ENT_QUOTES, 'UTF-8').'"> + <a href="javascript:;"> + 我要咨询 + <span class="iconfont"></span></a> + </div> +').' </div> + </div> +'.'' : ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultsNum')))) ? ''.' <ul id="nav-tab" class="nav-tab clearfix"> + <li class="comment-nav tap-hightlight">商品评价(<span class="comments-num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commentsNum')), ENT_QUOTES, 'UTF-8').'</span>)</li> + <li class="consult-nav tap-hightlight">购买咨询(<span class="consults-num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('consultsNum')), ENT_QUOTES, 'UTF-8').'</span>)</li> + </ul> + <div id="feedback-content" > + <div class="comment-content content "> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('commentsNum')))) ? ' <div class="comment-content-main content-main"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('comments')), $in, false, function($cx, $in) {return ' <span class="user-name"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('userName')), ENT_QUOTES, 'UTF-8').' + </span> + <span class="goods-spec"> + 购买了'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('desc')), ENT_QUOTES, 'UTF-8').' + </span> + <p class="detail-content"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('content')), ENT_QUOTES, 'UTF-8').' + </p> + <span class="comment-time"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('time')), ENT_QUOTES, 'UTF-8').' + </span> +';}).' </div> + <a class="comment-content-footer tap-hightlight" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commentsUrl')), ENT_QUOTES, 'UTF-8').'"> + 查看更多 + <span class="iconfont"></span> + </a> +' : ' <div class="comment-content-main content-main no-item"> + <span class="iconfont"></span>暂无评论 + </div> +').' </div> + + <div class="consult-content content hide "> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultsNum')))) ? ' <div class="consult-content-main content-main"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('consults')), $in, false, function($cx, $in) {return ' <div class="question"> + <span class="iconfont"></span> + <p> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('question')), ENT_QUOTES, 'UTF-8').'<br> + <span class="time">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('time')), ENT_QUOTES, 'UTF-8').'</span> + </p> + </div> + + <div class="answer"> + <span class="iconfont"></span> + <p>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('answer')), ENT_QUOTES, 'UTF-8').'</p> + </div> +';}).' </div> + <a class="consult-content-footer tap-hightlight" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('consultsUrl')), ENT_QUOTES, 'UTF-8').'"> + 查看更多 + <span class="iconfont"></span> + </a> +' : ' <div class="consult-content-main content-main no-item"> + <span class="iconfont"></span>暂无咨询 + </div> + + <div class="consult-content-footer tap-hightlight" data-href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commentsLink')), ENT_QUOTES, 'UTF-8').'"> + <a href="javascript:;"> + 我要咨询 + <span class="iconfont"></span></a> + </div> +').' </div> + </div> +'.'' : ' <div class="nodata tap-hightlight" id="goto-consult"> + <span>暂无商品评价和咨询</span> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('consultsUrl')), ENT_QUOTES, 'UTF-8').'" class="go-consult">我要咨询<span class="iconfont"></span></a> + </div> +').'').' </div> +';}).' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('enterStore')), $in, false, function($cx, $in) {return ' <div id="enter-store" class="enter-store page-block tap-hightlight"> + <a class="store-logo" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" style=""> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('storeName')), ENT_QUOTES, 'UTF-8').'"> + </a> + <a class="store-name" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('storeName')), ENT_QUOTES, 'UTF-8').'</a> + <a class="store-link" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">进入店铺<span class="iconfont"></span></a> + </div> +';}).' + <div id="productDesc"> </div> +'.' <div class="recommend-for-you hide"> + </div>'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('cartInfo')), $in, false, function($cx, $in) {return ' <div class="chose-panel"> + <div class="main"> + <div class="infos"> + <div class="basic-info" > +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('thumbs')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <img class="thumb" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'> +' : ' <img class="thumb hide" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'> +').'';}).' <div class="text-info"> + <p class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + <p class="price"> + <span class="sale-price'.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' no-price' : '').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' <span class="market-price">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span> +' : '').' </p> + </div> + </div> + <div class="chose-items"> + <div class="color-list block-list"> + <span>颜色</span> + <ul class="clearfix" data-type="color"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('colors')), $in, false, function($cx, $in) {return ' <li class="block '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? 'chosed' : '').' '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('colorNum')))) ? 'zero-stock' : '').'" data-num="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorNum')), ENT_QUOTES, 'UTF-8').'" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" data-numstr="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sizeNumStr')), ENT_QUOTES, 'UTF-8').'" data-skcid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('skcId')), ENT_QUOTES, 'UTF-8').'"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + </li> +';}).' </ul> + </div> + <div class="size-list block-list"> + <span>尺码</span> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sizes')), $in, false, function($cx, $in) {return ' + <ul class="size-row clearfix hide"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('size')), $in, false, function($cx, $in) {return ' <li class="block '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? 'chosed' : '').' '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('sizeNum')))) ? 'zero-stock' : '').'" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" data-colorid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorId')), ENT_QUOTES, 'UTF-8').'" data-num="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sizeNum')), ENT_QUOTES, 'UTF-8').'" data-numstr="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorNumStr')), ENT_QUOTES, 'UTF-8').'" data-skuid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('skuId')), ENT_QUOTES, 'UTF-8').'" data-goodid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('goodsId')), ENT_QUOTES, 'UTF-8').'"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + </li> +';}).' </ul> + +';}).' </div> + <p> + <div class="num"> + <span>数量</span> + <div class="clearfix"> + <a class="btn btn-minus" href="javascript:void(0);"> + <span class="iconfont '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('promotionId')))) ? 'disabled' : '').'"></span> + </a> + <input id="good-num" class="good-num disabled" type="text" value="1" disabled="true"> + <a class="btn btn-plus" href="javascript:void(0);"> + <span class="iconfont '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('promotionId')))) ? 'disabled' : '').'"></span> + </a> + </div> + <span class="left-num"></span> + <input id="left-num" type="hidden" value="0"> + </div> + </div> + </div> + <div class="btn-wrap"> + <button id="chose-btn-sure" class="btn btn-sure">加入购物车</button> + </div> + </div> + </div> +';}).' <input id="promotionId" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('promotionId')), ENT_QUOTES, 'UTF-8').'">'.' +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('cartInfo')), $in, false, function($cx, $in) {return ' <div class="cart-bar"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'" class="num-incart iconfont"><span class="num-tag hide"></span></a> + +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addToCartUrl')))) ? ' <!-- <a id="addtoCart" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('addToCartUrl')), ENT_QUOTES, 'UTF-8').'" class="addto-cart">加入购物车</a> --> + <a id="addtoCart" href="javascript:;" class="addto-cart">加入购物车</a> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('soldOut')))) ? ' <a href="javascript:;" class="sold-out">已售罄</a> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('notForSale')))) ? ' <a href="javascript:;" class="sold-out">非卖品</a> +' : '').' + <a href="javascript:;" id="likeBtn" class="favorite iconfont '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollect')), $in, false, function($cx, $in) {return 'liked';}).'"></a> + </div> +';}).''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('introUrl')))) ? ' <input id="introUrl" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('introUrl')), ENT_QUOTES, 'UTF-8').'"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('id')))) ? ' <input id="productId" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preferenceUrl')))) ? ' <input id="preferenceUrl" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('preferenceUrl')), ENT_QUOTES, 'UTF-8').'"> +' : '').' +</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/cc1733d4a71167981797195e89cc9768.php b/compile/m.yohobuy.com/1.3.3/cc1733d4a71167981797195e89cc9768.php new file mode 100644 index 0000000..560cdef --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/cc1733d4a71167981797195e89cc9768.php @@ -0,0 +1,390 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="yoho-page my-coupon-page"> + <div class="employ"> + <span class="active">未使用</span> + <span>已使用</span> + </div> + <div id="employ" class="coupon-list"></div> +</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/ce897efe145d4c05ceb152450fdbf587.php b/compile/m.yohobuy.com/1.3.3/ce897efe145d4c05ceb152450fdbf587.php new file mode 100644 index 0000000..594741c --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/ce897efe145d4c05ceb152450fdbf587.php @@ -0,0 +1,399 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.' <div class="personal-details yoho-page"> + <ul> + <li><span>头像</span><span><i class="head-portrait user-avatar" data-avatar="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('head_ico')), ENT_QUOTES, 'UTF-8').'"></i></span></li> + <li><span>昵称</span><span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('nickname')), ENT_QUOTES, 'UTF-8').'</span></li> + <li><span>性别</span><span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('gender')), ENT_QUOTES, 'UTF-8').'</span></li> + <li><span>生日</span><span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('birthday')), ENT_QUOTES, 'UTF-8').'</span></li> + <li class="tap-hightlight"><span>会员等级</span> + <span> + <a href="grade" class="grade"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('vip_info')), $in, false, function($cx, $in) {return ' <i class="vip-icon vip-'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cur_level')), ENT_QUOTES, 'UTF-8').'"></i> +';}).' <span class="iconfont"></span> + </a> + </span> + </li> + </ul> + </div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/d7baf1f7aa78f8e0f91a6df09c372725.php b/compile/m.yohobuy.com/1.3.3/d7baf1f7aa78f8e0f91a6df09c372725.php new file mode 100644 index 0000000..ffd301e --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/d7baf1f7aa78f8e0f91a6df09c372725.php @@ -0,0 +1,389 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ' +'.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="yoho-coin-detail-page yoho-page"> + <div class="money">你拥有的有货币:<span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('money')), ENT_QUOTES, 'UTF-8').'</span></div> + + <ul class="coin-detail"></ul> +</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/d9a1913ff745023252978c79f5b04946.php b/compile/m.yohobuy.com/1.3.3/d9a1913ff745023252978c79f5b04946.php new file mode 100644 index 0000000..749012b --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/d9a1913ff745023252978c79f5b04946.php @@ -0,0 +1,413 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="discount-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('headerBanner')), $in, false, function($cx, $in) {return ''.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('list')))) ? ' <div class="banner-top"> + <div class="banner-swiper swiper-container"> + <ul class="swiper-wrapper"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + <div class="swiper-lazy-preloader"></div> + </li> +';}).' </ul> + </div> + <div class="swiper-pagination"> + <div class="pagination-inner"> + </div> + </div> + </div> +' : ' <div class="banner-top-single"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div> +').' +'.'';}).' <div id="hotRank"></div> +'.' <div id="suspend-cart" class="suspend-cart"> + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'> + <span class="iconfont"></span> + </a> + <span class="cart-count hide">0</span> + </div>'.'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/dc9685bfc1056e52c7db0c3d952d2835.php b/compile/m.yohobuy.com/1.3.3/dc9685bfc1056e52c7db0c3d952d2835.php new file mode 100644 index 0000000..ecaafc4 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/dc9685bfc1056e52c7db0c3d952d2835.php @@ -0,0 +1,384 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.''.Plugin\LCRun3::v($cx, $in, array('iHelp')).' +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/ea8abe8c0c2fe395927c327c5b916f8e.php b/compile/m.yohobuy.com/1.3.3/ea8abe8c0c2fe395927c327c5b916f8e.php new file mode 100644 index 0000000..de8db4a --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/ea8abe8c0c2fe395927c327c5b916f8e.php @@ -0,0 +1,411 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="yoho-favorite-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('favorite')), $in, false, function($cx, $in) {return ' <ul id="fav-tab" class="fav-tab '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('brandTab')), $in, false, function($cx, $in) {return 'brand-tab';}).'"> + <li>收藏的商品</li> + <li>收藏的品牌</li> + </ul> + <div class="fav-content" id="fav-content"> + <div class="fav-type"> + <ul class="fav-product-list"></ul> + <div class="fav-content-loading"></div> + + <div class="fav-null-box hide"> + <span class="fav-null">您暂无收藏任何商品</span> + <a class="go-shopping" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('productUrl')), ENT_QUOTES, 'UTF-8').'">随便逛逛</a> + </div> + <div class="fav-load-more fav-load-background hide"></div> + </div> + <div class="fav-type"> + <div class="fav-brand-swiper-wrapper"></div> + <div class="fav-content-loading"></div> + + <div class="fav-null-box hide"> + <span class="fav-null">您暂无收藏任何品牌</span> + <a class="go-shopping" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('brandUrl')), ENT_QUOTES, 'UTF-8').'">随便逛逛</a> + </div> + <div class="fav-brand-load-more fav-load-background hide"></div> + </div> + </div> +';}).'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/efd1add646cd326495a70fe3b10db551.php b/compile/m.yohobuy.com/1.3.3/efd1add646cd326495a70fe3b10db551.php new file mode 100644 index 0000000..2983761 --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/efd1add646cd326495a70fe3b10db551.php @@ -0,0 +1,419 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="online-service-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('service')), $in, false, function($cx, $in) {return ' <div class="question"> + <div class="question-title">问题查询</div> + <div class="question-tab"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tab')), $in, false, function($cx, $in) {return ' <span class="tab-item '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('current')), $in, false, function($cx, $in) {return 'current';}).'" data-tab="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('tabid')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('tabname')), ENT_QUOTES, 'UTF-8').'</span> + '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('iscut')), $in, false, function($cx, $in) {return '<span class="line"></span>';}).' +';}).' </div> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('question')), $in, false, function($cx, $in) {return ' <ul class="question-list '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('current')), $in, false, function($cx, $in) {return 'current';}).'" data-tab-name="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="question-item"> + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'" title="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').' + <span class="iconfont icon-yoho-enter"></span> + </a> + </li> +';}).' </ul> +';}).' </div> +';}).' <div class="connect-info"> + <div class="connect-item connect-online"> + <a href="http://chat80.live800.com/live800/chatClient/chatbox.jsp?companyID=493979&configID=123576&jid=9277320930" target="_blank" title="在线客服"> + <span class="icon iconfont icon-chat"></span> + 在线客服 + <span class="iconfont icon-yoho-enter"></span> + </a> + </div> + <div class="connect-item connect-tel"> + <a href="tel:400-889-9646" title="电话客服"> + <span class="icon iconfont icon-tel"></span> + 电话客服 + <p> + 400-889-9646 09:00 - 22:30 (周一至周日) + </p> + </a> + + </div> + </div> +</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/f00e53161c53279621225840e16f6d0d.php b/compile/m.yohobuy.com/1.3.3/f00e53161c53279621225840e16f6d0d.php new file mode 100644 index 0000000..f2d73ae --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/f00e53161c53279621225840e16f6d0d.php @@ -0,0 +1,451 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="guang-list-page guang-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('guang')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('authorInfo')), $in, false, function($cx, $in) {return ' <div id="author-infos" class="editor-header clearfix" data-id='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'> + <div class="avatar"> + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('avatar')), ENT_QUOTES, 'UTF-8').'"> + </div> + <div class="text"> + <p class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + <p class="info">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('info')), ENT_QUOTES, 'UTF-8').'</p> + </div> + </div> +';}).' + <div id="info-list" class="info-list"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('infos')), $in, false, function($cx, $in) {return ''.' <div class="guang-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('author')), $in, false, function($cx, $in) {return ' <a class="info-author clearfix" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <img class="lazy avatar" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('avatar')), ENT_QUOTES, 'UTF-8').'> + <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> + </a> +';}).' + <div class="info-img"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showTags')))) ? ' <a href="javascript:;" class="info-match"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTip')), $in, false, function($cx, $in) {return ' 小贴士 + <div class="info-tag tip"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollocation')), $in, false, function($cx, $in) {return ' 搭配 + <div class="info-tag collocation"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionMan')), $in, false, function($cx, $in) {return ' 潮人 + <div class="info-tag fashion-man"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionGood')), $in, false, function($cx, $in) {return ' 潮品 + <div class="info-tag fashion-good"></div> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTopic')), $in, false, function($cx, $in) {return ' 话题 + <div class="info-tag topic"></div> +';}).' </a> +' : '').' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('alt')), ENT_QUOTES, 'UTF-8').'"> + </a> + </div> + + <div class="info-deps"> + <a class="info-title-container" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> + <h2 class="info-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> + </a> + <p class="info-text">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'</p> +'.' <div class="time-view-like-share clearfix"> + <i class="iconfont"></i> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publishTime')), ENT_QUOTES, 'UTF-8').' + <i class="iconfont"></i> + <span class="page-view">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pageView')), ENT_QUOTES, 'UTF-8').'</span> + <div class="like-share-container"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('like')), $in, false, function($cx, $in) {return ' <i class="iconfont like-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLiked')), $in, false, function($cx, $in) {return ' like';}).'"></i> + <span class="like-count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'</span> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collect')), $in, false, function($cx, $in) {return ' <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> + <i class="iconfont collect-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollected')), $in, false, function($cx, $in) {return ' collected';}).'"></i> + </a> +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('share')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont share-btn"></a> +';}).' </div> + </div>'.' </div> + </div>'.'';}).' </div> + + <div id="load-more-info" class="load-more-info"> + <div class="loading status"> + 正在加载... + </div> + <span class="no-more status hide">没有更多啦</span> + </div> + +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('tag')))) ? ' <input id="tag" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('tag')), ENT_QUOTES, 'UTF-8').'> +' : '').''.((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').'> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isApp')))) ? ' <input id="isApp" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isApp')), ENT_QUOTES, 'UTF-8').'> +' : '').'';}).'</div> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/compile/m.yohobuy.com/1.3.3/f55ffc92d39c57652a7a5b6a8a723841.php b/compile/m.yohobuy.com/1.3.3/f55ffc92d39c57652a7a5b6a8a723841.php new file mode 100644 index 0000000..e2fcc4c --- /dev/null +++ b/compile/m.yohobuy.com/1.3.3/f55ffc92d39c57652a7a5b6a8a723841.php @@ -0,0 +1,524 @@ +<?php return function ($in, $debugopt = 1) { + $cx = array( + 'flags' => array( + 'jstrue' => false, + 'jsobj' => false, + 'spvar' => true, + 'prop' => false, + 'method' => false, + 'mustlok' => true, + 'echo' => false, + 'debug' => $debugopt, + ), + 'constants' => array(), + 'helpers' => array(), + 'blockhelpers' => array(), + 'hbhelpers' => array(), + 'partials' => array(), + 'scopes' => array(), + 'sp_vars' => array('root' => $in), + 'lcrun' => 'Plugin\LCRun3', + + ); + + return ''.'<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> +<meta http-equiv="cleartype" content="on"> +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> +<meta content="telephone=no" name="format-detection" /> +<meta content="email=no" name="format-detection" /> +<script type="text/javascript"> + (function(doc, win) { + var docEl = doc.documentElement; + (function() { + var clientWidth = docEl.clientWidth; + if (!clientWidth) { + return; + } + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; + }()); + })(document, window); +</script> +<link rel="dns-prefetch" href="//cdn.yoho.cn"> +<link rel="dns-prefetch" href="//static.yohobuy.com"> +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.((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"> +' : '').''.((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"> +' : '').''.((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"> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> +<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)"> +<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)"> +</head> +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> + <span>X</span> + </div> +' : '').''.''.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' : '').'"> +'.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"></a> +';}).''.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"></a> +';}).''.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"></a> +';}).''.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> +';}).''.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> --> + <!-- <i class="iconfont nav-home"></i> --> + <!-- <div class="homebuttom none"> + <ul> + <li> + <i class="iconfont"></i> + <span>首页</span> + </li> + <li> + <i class="iconfont"></i> + <span>分类</span> + </li> + <li> + <i class="iconfont"></i> + <span>购物车</span> + </li> + <li> + <i class="iconfont"></i> + <span>我的</span> + </li> + </ul> + </div> --> +';}).'</header> + +';}).''.''.'<div class="order-detail-page yoho-page"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('orderDetail')), $in, false, function($cx, $in) {return ' <div id="order-detail" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderNum')), ENT_QUOTES, 'UTF-8').'"> + <section class="owner-info block"> + <span class="iconfont"></span> + <div class="beside-icon"> + <p class="name-phone"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('phoneNum')), ENT_QUOTES, 'UTF-8').'</span> + </p> + <p class="address"> + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address')), ENT_QUOTES, 'UTF-8').' + </p> + </div> + </section> + + <section class="order-status block"> + <div class="status sub"> + <span class="iconfont"></span> + <p class="beside-icon sub-content"> + <span class="sub-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderStatus')), ENT_QUOTES, 'UTF-8').'</span> + <span>订单编号:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderNum')), ENT_QUOTES, 'UTF-8').'</span> + <span>下单时间:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTime')), ENT_QUOTES, 'UTF-8').'</span> + </p> + </div> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unreceived')))) ? ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticsUrl')))) ? ' <a class="logistics sub" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('logisticsUrl')), ENT_QUOTES, 'UTF-8').'"> + <span class="iconfont"></span> + <p class="beside-icon sub-content"> + <span class="sub-title">物流信息</span> + <span>物流公司:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('logisticsCompany')), ENT_QUOTES, 'UTF-8').'</span> + <span>快递单号:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('logisticsNum')), ENT_QUOTES, 'UTF-8').'</span> + </p> + <span class="iconfont icon-right"></span> + </a> +' : '').'' : '').' </section> + + <section class="goods block"> +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' <div class="order-good" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> + <div class="thumb-wrap"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('link')))) ? ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"><img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"></a> +' : ' <img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> +').' <p class="tag'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('gift')))) ? ' gift-tag' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuy')))) ? ' advance-buy-tag' : '').'"></p> + </div> + <div class="deps"> + <p class="name row">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> + <p class="row"> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <span class="color"> + 颜色:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <span class="size"> + 尺码:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').' + </span> +' : '').' </p> + <p class="row price-wrap"> + <span class="price"> + ¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').' + </span> + <span class="count"> + ×'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').' + </span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('appearDate')))) ? ' <span class="appear-date">上市期:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appearDate')), ENT_QUOTES, 'UTF-8').'</span> +' : '').' </p> + </div> + </div>'.'';}).' </section> + + <ul class="cost block"> + <li> + 商品总金额 + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sumPrice')), ENT_QUOTES, 'UTF-8').'</span> + </li> + <li> + 活动金额 + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> + </li> + <li> + 运费 + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('freight')), ENT_QUOTES, 'UTF-8').'</span> + </li> + <li> + 优惠券 + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('coupon')), ENT_QUOTES, 'UTF-8').'</span> + </li> + <li> + YOHO币 + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('yohoCoin')), ENT_QUOTES, 'UTF-8').'</span> + </li> + <li> + 实付金额 + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span> + </li> + </ul> + + <div class="opt block"> +'.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unreceived')))) ? ''.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unpaid')))) ? ' <span class="btn btn-del">删除订单</span> +' : '').'' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unpaid')))) ? ' <span class="btn btn-cancel">取消订单</span> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payUrl')))) ? ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('payUrl')), ENT_QUOTES, 'UTF-8').'"> + <span class="btn btn-pay">立即付款</span> + </a> +' : '').'' : '').' +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticsUrl')))) ? ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('logisticsUrl')), ENT_QUOTES, 'UTF-8').'"> + <span class="btn btn-check-logistics">查看物流</span> + </a> +' : '').' </div> + </div> +';}).'</div> +<script>_ozprm="orderid='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'&ordertotal='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'";</script> +<script type="text/javascript" src ="http://static.yohobuy.com/m/v1/js/AG_Tracking.js"></script> +<script type="text/javascript"> +var _agq = _agq || []; +_agq.push([\'_cid\', \'415\']); //生成value +_agq.push([\'_eid\', \'102\']); //生成value +_agq.push([\'_orderSum\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'"]);//订单金额,客户在页面填写 +_agq.push([\'_orderNo\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"]);//订单号,客户在页面填写 +_agq.push([\'_orderNew\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isOldUser')), ENT_QUOTES, 'UTF-8').'"]);//是否新客单,客户标记是为true否为false +_agq.push([\'_orderCount\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCount')), ENT_QUOTES, 'UTF-8').'"]);//订单货品数目,客户填写 +ag_send(_agq); + +var __order_code = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"; +var __order_amount = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'"; +var __order_user = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isOldUser')), ENT_QUOTES, 'UTF-8').'"; +var __order_goods_num = '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCount')), ENT_QUOTES, 'UTF-8').'; +var __order_uid = \''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('uid')), ENT_QUOTES, 'UTF-8').'\'; + +var _fxcmd=_fxcmd||[]; +_fxcmd.push([\'trackOrder\', { + oid: "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'", + otp : "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotalFormat')), ENT_QUOTES, 'UTF-8').'", + unid : "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('uid')), ENT_QUOTES, 'UTF-8').'" +}]); +</script> +<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script> +<script type="text/javascript"> +window.criteo_q = window.criteo_q || []; +window.criteo_q.push( +{ event: "setAccount", account: [21397] }, +{ event: "setHashedEmail", email: "" }, +{ event: "setSiteType", type: "m" }, +{ event: "trackTransaction" , id: "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'", currency: "CNY", item: ""} +); +</script> +'.''.''.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"> + <p class="op-row"> + <span class="back-to-top"> + Back to top + <i class="iconfont"></i> + </span> + </p> + <address class="copyright"> + CopyRight©2007-2016 南京新与力文化传播有限公司 + </address> +</footer> +';}).' +'.''.''.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"> + <div class="float-layer-left"> + <span class="yoho-icon iconfont"></span> + <p>新用户送千元礼包</p> + </div> + <a href="javascript:void(0);" id="float-layer-close" > + <i class="close-icon iconfont"></i> + <div class="circle-rightbottom"></div> + </a> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> + 立即下载 + </a> +</div> +';}).' + + '.''.((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> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> +' : '').''.((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> +<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> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> +<script>seajs.config({base: \'http://localhost:8000/\'});</script> +' : '').''.'<script> + seajs.use(\'js/common\'); +</script> +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> + seajs.use(\'js/guang/plus-star/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> + seajs.use(\'js/guang/plus-star/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> + seajs.use(\'js/guang/home\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> + seajs.use(\'js/guang/list\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(true); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> + seajs.use(\'js/guang/detail\', function(d) { + d.i(false); + }); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> + seajs.use(\'js/passport/register/register\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> + seajs.use(\'js/passport/register/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> + seajs.use(\'js/passport/register/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> + seajs.use(\'js/passport/bind/bind\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> + seajs.use(\'js/passport/bind/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> + seajs.use(\'js/passport/bind/password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> + seajs.use(\'js/passport/login/login\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> + seajs.use(\'js/passport/login/international\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> + seajs.use(\'js/passport/back/email\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> + seajs.use(\'js/passport/back/email-success\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> + seajs.use(\'js/passport/back/mobile\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> + seajs.use(\'js/passport/back/code\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> + seajs.use(\'js/passport/back/new-password\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> + seajs.use(\'js/index/channel\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'girls\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'boys\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'kids\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> + seajs.use(\'js/home/home\', function(h) { + h.set(\'lifestyle\'); + }); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> + seajs.use(\'js/product/newsale/newarrival\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> + seajs.use(\'js/product/newsale/discount\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> + seajs.use(\'js/product/newsale/hot-rank\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> + seajs.use(\'js/product/list\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> + seajs.use(\'js/product/detail/detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> + seajs.use(\'js/product/detail/loadmore\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> + seajs.use(\'js/product/detail/comments-consults\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> + seajs.use(\'js/product/detail/consultform\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> + seajs.use(\'js/category/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> + seajs.use(\'js/category/brand\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> + seajs.use(\'js/index/search\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> + seajs.use(\'js/cart/cart\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> + seajs.use(\'js/cart/gift-advance\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> + seajs.use(\'js/cart/order-ensure\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> + seajs.use(\'js/me/address\'); + seajs.use(\'js/cart/select-address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> + seajs.use(\'js/cart/select-coupon\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> + seajs.use(\'js/me/index\'); + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> + seajs.use(\'js/me/order\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> + seajs.use(\'js/me/order-detail\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> + seajs.use(\'js/me/fav\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> + seajs.use(\'js/me/suggest\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> + seajs.use(\'js/me/coupons\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> + seajs.use(\'js/me/online-service\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> + seajs.use(\'js/index/footer\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> + seajs.use(\'js/me/address\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> + seajs.use(\'js/me/address-act\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> + seajs.use(\'js/me/my-guang\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> + seajs.use(\'js/me/personal-details\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> + seajs.use(\'js/me/browse-record\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> + seajs.use(\'js/me/logistic\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> + seajs.use(\'js/me/pay\'); +</script> +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> + seajs.use(\'js/me/currency\'); +</script> +' : '').''.''.'<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script> +var _hmt = _hmt || []; +(function() { + function async_load(){ + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + } + window.addEventListener(\'load\', async_load, false); +})(); +</script> +<script> + window._py = window._py||[]; + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); + window._py.push([\'domain\',\'stats.ipinyou.com\']); + window._py.push([\'e\',\'\']); + if(typeof _goodsData!=\'undefined\'){ + window._py.push([\'pi\',_goodsData]); + } + -function(d){ + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); + }(document); +</script> +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> +</html>'.''; +} +?> \ No newline at end of file diff --git a/docs/data-structure.md b/docs/data-structure.md index ac1910d..1afb664 100644 --- a/docs/data-structure.md +++ b/docs/data-structure.md @@ -838,6 +838,14 @@ }, ... ], + defaultSizes: [ + { + numZero: true, + name: 'X', + numStr: '0/10' + }, + ... + ] totalNum: 20 } diff --git a/library/Action/AbstractAction.php b/library/Action/AbstractAction.php index 1604e4a..0f46625 100644 --- a/library/Action/AbstractAction.php +++ b/library/Action/AbstractAction.php @@ -375,7 +375,7 @@ class AbstractAction extends Controller_Abstract return $udid; } - + /* * 设置网站SEO的标题 * diff --git a/library/Action/WebAction.php b/library/Action/WebAction.php index 57320ed..2ca6d35 100644 --- a/library/Action/WebAction.php +++ b/library/Action/WebAction.php @@ -1,9 +1,454 @@ <?php + +/** + * 所有Controller控制器的基类 + * + * @name AbstractAction + * @package library + * @copyright yoho.inc + * @version 1.0 (2015-9-15 11:55:25) + * @author fei.hong <fei.hong@yoho.cn> + */ namespace Action; -use Index\HomeModel; -class WebAction extends AbstractAction + +use Yaf\Controller_Abstract; +use Yaf\Dispatcher; +use Plugin\Cache; +use Plugin\Helpers; +use Hood\Session; + +class WebAction extends Controller_Abstract { + /** + * HTTP请求对象 + * + * @var object + */ + protected $_request; + + /** + * 用户相关信息 + */ + protected $_vip; + protected $_uid = 0; + protected $_uname = ''; + protected $_usession = ''; + protected $_useSession = true; + + /** + * 存放模板数据 + * + * @var array + */ + protected $_data; + + /** + * 初始化 + */ + public function init() + { + $this->_request = $this->getRequest(); + + // 设置环境变量 + switch (APPLICATION_ENV) { + case 'production': // 生产 + $this->_view->assign('rlsEnv', true); + $this->_useSession = true; + break; + case 'preview': // 预览 + $this->_view->assign('preEnv', true); + $this->_useSession = true; + break; + case 'testing': // 测试 + $this->_view->assign('testEnv', true); + $this->_useSession = true; + break; + case 'develop': // 开发 + default: + $this->_view->assign('devEnv', true); + $this->_useSession = false; + break; + } + } + + /** + * 封装一下获取get参数 + * + * @param String $key + * @param mixed $default + * @return mixed + */ + protected function get($key = null, $default = null) + { + if (null === $key) { + return $_GET; + } + return $this->_request->getQuery($key, $default); + } + + /** + * 封装一下获取post参数 + * + * @param String $key + * @param mixed $default + * @return mixed + */ + protected function post($key = null, $default = null) + { + if (null === $key) { + return $_POST; + } + return $this->_request->getPost($key, $default); + } + + /** + * 封装一下获取YAF内部的参数 + * + * @param String $key + * @param mixed $default + * @return mixed + */ + protected function param($key, $default = null) + { + return $this->_request->getParam($key, $default); + } + + /** + * 封装一下获取服务器的参数 + * + * @param String $key + * @param mixed $default + * @return mixed + */ + protected function server($key, $default = null) + { + return $this->_request->getServer($key, $default); + } + + /** + * 关闭模板自动渲染 + * + * @return void + */ + protected function disableView() + { + Dispatcher::getInstance()->autoRender(false); + } + + /** + * 输出JSON数据到浏览器 + * + * @return void + */ + protected function echoJson($json) + { + headers_sent() || header('Content-Type: application/json; charset=utf-8;'); + + if (is_array($json)) { + $json = json_encode($json); + } + echo $json; + } + + /** + * 返回JSON数据 + * + * @param int $code 状态编码 + * @param string $message 提示信息 + * @param mixed $data 数据内容 + * @return json + */ + protected function returnJson($code, $message, $data) + { + headers_sent() || header('Content-Type: application/json; charset=utf-8;'); + + return json_encode(array( + 'code' => $code, + 'message' => $message, + 'data' => $data, + )); + } + + /** + * JSON输出 + * + * @param $code + * @param string $message + * @param mixed $data + */ + protected function helpJsonResult($code, $message = '', $data = null) + { + header('Content-Type: application/json; charset=utf-8;'); + + echo json_encode(array('code' => $code, 'message' => $message, 'data' => $data)); + exit(); + } + + /** + * JSONP Callback输出, 用于远程调用 + * + * @param string $callbackString + * @param int $code + * @param string $message + * @param mixed $data + */ + protected function helpJsonCallbackResult($callbackString, $code, $message = '', $data = null) + { + header('Content-Type: application/json; charset=utf-8;'); + + echo $callbackString , '('; + echo json_encode(array('code' => $code, 'message' => $message, 'data' => $data)); + echo ')'; + exit(); + } + + + /** + * 判断是不是AJAX请求 + * + * @return bool + */ + protected function isAjax() + { + return $this->_request->isXmlHttpRequest(); + } + + /** + * 跳转到错误页面 + */ + protected function error() + { + headers_sent() || header('Location: /error.html'); + + exit(); + } + + /** + * 跳转到指定的URL + * + * @param string $url 链接地址 + * @return void + */ + protected function go($url) + { + headers_sent() || header('Location: ' . $url); + + exit(); + } + + /** + * 设置Cookie + * + * @param string $name cookie的名字 + * @param string $value cookie的值 + * @param integer $expire cookie过期时间 + * @param integer $path cookie可用的路径 + * @param string $domain cookie可用域名 + */ + protected function setCookie($name, $value, $expire = 0, $path = '/', $domain = '.yohobuy.com') + { + setcookie($name, $value, $expire, $path, $domain); + } + + /** + * 返回Cookie变量 + * + * @param string $name cookie名称 + * @param string $default 未获取到返回的默认值 + * @return string 获取到的cookie值 + */ + protected function getCookie($name, $default = '') + { + return $this->_request->getCookie($name, $default); + } + + /** + * 设置缓存 + * + * @param string $key 键名 + * @param mixed $value 需要缓存的数据 + * @param int $expire 缓存有效期(单位秒, 0表示永久) + * @return void + */ + protected function setCache($key, $value, $expire) + { + Cache::set($key, $value, $expire); + } + + /** + * 获取缓存 + * + * @param string $key 键名 + * @param bool $isMaster 控制是到主服务器取,还是到从服务器取缓存 + * @return mixed + */ + protected function getCache($key, $isMaster = true) + { + if ($isMaster) { + return Cache::get($key, 'master'); + } else { + return Cache::get($key, 'slave'); + } + } + + /** + * 设置Session + * + * @param string $name 名称 + * @param mixed $value 值 + * @return void + */ + public function setSession($name, $value) + { + if ($this->_useSession) { + Session::start('www_yohobuy_session', null, 'yohobuy.com')->__set($name, $value); + } + } + + /** + * 获取Session + * + * @param string $name 名称 + * @return mixed + */ + public function getSession($name) + { + if ($this->_useSession) { + return Session::start('www_yohobuy_session', null, 'yohobuy.com')->__get($name); + } else { + return ''; + } + } + + /** + * 获取当前登录的用户ID + * + * @param bool $useSession (true:从服务端session中检查, false:从客户端cookie中检查) + * @return int + */ + protected function getUid($useSession = false) + { + // 控制是否启用SESSION + if (!$this->_useSession) { + $useSession = false; + } + + if (!$this->_uid) { + $cookie = $this->getCookie('_UID'); + if (!empty($cookie)) { + $cookieList = explode('::', $cookie); + if (isset($cookieList[1]) && is_numeric($cookieList[1])) { + if ($useSession) { + $token = $this->getSession('_TOKEN'); + if (empty($token)) { + $token = $this->getCookie('_TOKEN'); + } + if ($token === Helpers::makeToken($cookieList[1])) { + $this->_uid = $cookieList[1]; + } + } else { + $this->_uid = $cookieList[1]; + } + $this->_uname = $cookieList[0]; + $this->_usession = $cookieList[3]; + $this->_vip = $cookieList[2]; + } + } + } + return $this->_uid; + } + + /** + * 获取客户端唯一标识 + * + * @return string + */ + protected function getUdid() + { + $udid = ''; + + $realIP = $this->_request->getServer('HTTP_X_REAL_IP'); + if ($realIP) { + $udid = md5($realIP); + } else { + $realIP = $this->_request->getServer('REMOTE_ADDR', ''); + $udid = md5($realIP); + } + + return $udid; + } + + /* + * 设置网站SEO的标题 + * + * @param string $title 标题 + * @param string $sign 连接的字符串 + * @param bool $showMore 是否显示更多内容 + * @return void + */ + protected function setTitle($title, $showMore = true, $sign = ' | ') + { + $this->_view->assign('title_more', $showMore); + $this->_view->assign('title', $title . $sign); + } + + /** + * 设置网站SEO的关键词 + * + * @param string $keywords 关键词,多个之间用","逗号分隔 + * @return void + */ + protected function setKeywords($keywords) + { + $this->_view->assign('keywords', rtrim($keywords, ',') . ','); + } + + /** + * 设置网站SEO的描述内容 + * + * @param string $description 描述内容 + * @param string $sign 连接的字符串 + * @param bool $showMore 是否显示更多内容 + * @return void + */ + protected function setDescription($description, $showMore = true, $sign = ' ') + { + $this->_view->assign('description_more', $showMore); + $this->_view->assign('description', $description . $sign); + } + + /** + * 设置最后修改时间 + * + * @param string $modifiedTime 修改时间戳 + * @param type $notModifiedExit 是否在没有修改时返回304状态 + * @return void + */ + public static function setLastModified($modifiedTime, $notModifiedExit = true) + { + $modifiedTime = date('D, d M Y H:i:s ', $modifiedTime) . 'GMT'; + if ($notModifiedExit && isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && $modifiedTime == $_SERVER['HTTP_IF_MODIFIED_SINCE']) { + header('HTTP/1.1 304 Not Modified'); + exit(); + } + header('Last-Modified: ' . $modifiedTime); + } + + /** + * 设置浏览器的缓存 + * + * @param int $seconds 单位是秒 + * @return void + */ + public static function setExpires($seconds = 180) + { + $time = date('D, d M Y H:i:s ', time() + $seconds) . 'GMT'; + + header('Expires: ' . $time); + } + + /** * 设置头部 * * @param string $channel (默认不设置) @@ -82,4 +527,5 @@ class WebAction extends AbstractAction ); $this->_view->assign('headerdata', $header); } + } \ No newline at end of file diff --git a/library/Api/Yohobuy.php b/library/Api/Yohobuy.php index 3c8407d..4ab24a3 100644 --- a/library/Api/Yohobuy.php +++ b/library/Api/Yohobuy.php @@ -227,7 +227,7 @@ class Yohobuy } curl_setopt($ch, CURLOPT_COOKIE, implode(';', $cookie_str)); } - + curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 YOHOWEB'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); // 销毁私钥参数 diff --git a/library/LibModels/Wap/Product/DetailData.php b/library/LibModels/Wap/Product/DetailData.php index dcde88d..f54b4cc 100644 --- a/library/LibModels/Wap/Product/DetailData.php +++ b/library/LibModels/Wap/Product/DetailData.php @@ -138,4 +138,20 @@ class DetailData return Yohobuy::post(Yohobuy::API_URL, $param); } + /** + * 商品信息 + * + * @param int $productSkn 商品SKN号 + * @return array + */ + public static function product($productSkn) + { + $param = Yohobuy::param(); + $param['method'] = 'app.product.intro'; + $param['product_skn'] = $productSkn; + $param['client_secret'] = Sign::getSign($param); + + return Yohobuy::get(Yohobuy::API_URL, $param); + } + } diff --git a/library/LibModels/Web/Passport/LoginData.php b/library/LibModels/Web/Passport/LoginData.php new file mode 100644 index 0000000..801482e --- /dev/null +++ b/library/LibModels/Web/Passport/LoginData.php @@ -0,0 +1,47 @@ +<?php + +namespace LibModels\Web\Passport; + +use Api\Sign; +use Api\Yohobuy; + +/** + * 登录的数据模型 + * + * @name LoginData + * @package LibModels/Web/Passport + * @copyright yoho.inc + * @version 1.0 (2015-12-30 14:05:04) + * @author xiaowei <xiaowei.gong@yoho.cn> + */ +class LoginData extends \LibModels\Wap\Passport\LoginData +{ + + /** + * 第三方登录接口(包括alipay,qq,sina) + * @param string $nickname 姓名 + * @param string $openId 第三方唯一识别码 + * @param string $sourceType 登录方式 + * @param string $shoppingKey 未登录用户唯一识别码, 默认为空 + * @return array 登录返回结果 + */ + public static function signinByOpenID($nickname, $openId, $sourceType, $shoppingKey = null) + { + // 构建必传参数 + $param = Yohobuy::param(); + + $param['v'] = '4'; + $param['method'] = 'app.passport.signinByOpenID'; + $param['openId'] = $openId; + $param['source_type'] = $sourceType; + $param['nickname'] = $nickname; + if (!empty($shoppingKey)) { + $param['shopping_key'] = $shoppingKey; + } + + $param['client_secret'] = Sign::getSign($param); + + return Yohobuy::get(Yohobuy::API_URL, $param); + } + +} diff --git a/library/LibModels/Web/Passport/RegData.php b/library/LibModels/Web/Passport/RegData.php new file mode 100644 index 0000000..baf3598 --- /dev/null +++ b/library/LibModels/Web/Passport/RegData.php @@ -0,0 +1,27 @@ +<?php +namespace LibModels\Web\Passport; +use Api\Yohobuy; +use Api\Sign; +use Plugin\Helpers; +class RegData extends \LibModels\Wap\Passport\RegData +{ + + /** + * 根据手机号获取用户信息[TODO +cache] + * + * @param string $area + * @param string $mobile + * @return string + */ + public static function getUserInfoByMobile($area, $mobile) + { + $param = Yohobuy::param(); + $param['method'] = 'app.passport.userlist'; + $param['mobile'] = Helpers::makeMobile($area, $mobile); + $param['debug'] = 'Y'; + $param['screen_size'] = '320x568'; + $param['client_secret'] = Sign::getSign($param); + return Yohobuy::post(Yohobuy::API_URL, $param); + } + +} \ No newline at end of file diff --git a/library/LibModels/Web/Product/BrandData.php b/library/LibModels/Web/Product/BrandData.php index 1b4be56..fdd2488 100644 --- a/library/LibModels/Web/Product/BrandData.php +++ b/library/LibModels/Web/Product/BrandData.php @@ -19,13 +19,15 @@ class BrandData const URI_BRAND_TOPPOS = 'operations/api/v5/resource/get'; const URL_BRAND_LOGO = '/shops/service/v1/brand'; + const URL_BRAND_FOLDER = '/cmsproduct/service/v1/brands'; + const URL_BRAND_NODECONTENT = '/operations/service/v6/htmlcontent'; /** - * 获取品牌介绍 + * 获取品牌简介 * * @param integer $brandId 品牌ID - * @param int 用户ID - * @return array 品牌介绍信息 + * @param int 用户ID + * @return array 品牌介绍信息 */ public static function getBrandIntro($brandId, $uid) { @@ -42,9 +44,9 @@ class BrandData } /** - * 获取品牌banner数据 + * 获取品牌banner图 * @param integer $brandId 品牌ID - * @return array banner数据 + * @return array banner图 */ public static function getBrandBanner($brandId) { @@ -58,17 +60,17 @@ class BrandData } /** - * 获取品牌介绍信息 + * 获取品牌介绍详情 * * @param int $id 品牌id * @return array */ - public static function getBrandLogo($id) - { - return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_BRAND_LOGO, 'getBrandByids', array($id )); + public static function getBrandLogo($brandId) + { + return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_BRAND_LOGO, 'getBrandByids', array($brandId )); } - /** + /** * 通过域名获取品牌LOGO信息 * * @param int $domain 品牌domain @@ -78,5 +80,27 @@ class BrandData { return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_BRAND_LOGO, 'getBrandByDomain', array($domain )); } - + + /** + * 通过品牌id获取品牌Folder + * + * @param int $brand_id 品牌id + * @param int $status 状态 + * @return array + */ + public static function getFolderByBrand($brand_id,$status = 1) + { + return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_BRAND_FOLDER, 'getFolderByBrand', array($brand_id,$status )); + } + + /** + * 根据节点和运行模式选择静态内容 + * @param $node 20141219-100447 + * @param string $mode + * @return mixed + */ + public static function getByNodeContent($node, $mode='release') + { + return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_BRAND_NODECONTENT, 'getByNodeContent', array($node, $mode)); + } } diff --git a/library/LibModels/Web/Product/SearchData.php b/library/LibModels/Web/Product/SearchData.php index b958abd..2c451fd 100644 --- a/library/LibModels/Web/Product/SearchData.php +++ b/library/LibModels/Web/Product/SearchData.php @@ -18,12 +18,12 @@ class SearchData extends \LibModels\Wap\Product\SearchData case 'release': if($type == 'sort'){ return 'http://100.98.132.63/yohosearch/sortgroup.json'; - } - if($type == 'discount'){ + }elseif($type == 'discount'){ return 'http://100.98.132.63/yohosearch/discount.json'; - } - if($type == 'recent'){ + }elseif($type == 'recent'){ return 'http://100.98.132.63/yohosearch/recent.json'; + }elseif($type == 'review'){ + } return 'http://100.98.132.63/yohosearch/search.json'; case 'test': @@ -33,11 +33,13 @@ class SearchData extends \LibModels\Wap\Product\SearchData if($type == 'sort'){ return 'http://101.200.31.165/yohosearch/sortgroup.json'; } - if($type == 'discount'){ + elseif($type == 'discount'){ return 'http://101.200.31.165/yohosearch/discount.json'; } - if($type == 'recent'){ + elseif($type == 'recent'){ return 'http://101.200.31.165/yohosearch/recent.json'; + }elseif($type == 'review'){ + return 'http://itemapi.yohobuy.com/item/item/recentreview'; } return 'http://101.200.31.165/yohosearch/search.json'; } @@ -68,14 +70,48 @@ class SearchData extends \LibModels\Wap\Product\SearchData } /** - * 获取品类数据 - * - * @return array 品类数据 + * 根据查询条件查询品类列表 + * + * @param string $query 关键字 + * @param bool $needAllSort 为1时返回全部分类 + * @param bool needSmallSort 为1时返回小分类 + * @param string $brand 品牌,查多个品牌以逗号分隔 + * @param string $mosort 产品产品大分类ID,查多个大类以逗号分隔 + * @param string $misort 产品产品中分类ID,查多个中类以逗号分隔 + * @param string $sort 产品产品小分类ID,查多个小类以逗号分隔 + * @param string $gender 性别,默认为null,"1"表示男, "2"表示女, "3"表示通用 + * @param integer $color 颜色id + * @param integer $size 尺码id + * @param integer $price 价格 + * @param integer $style 风格ID + * @param integer $parameter_xxx 属性类型ID与值ID 参数名称格式:parameter_{属性类型ID}={属性值ID},如查询厚度为中“parameter_875=4801” + * @param integer $stocknumber 库存量 + * @param integer $shelve_time 时间区间 + * @param integer $specialoffer 特价类型 + * @param bool $sales 是否销售 + * @param bool $promotion 是否为促销品 + * @param integer $vdt 是否为促销品 + * @param bool $vdt 折扣类型 + * @param integer $p_d 促销浮点值 + * @param integer $attribute 商品属性 1正常商品 2赠品 + * @param integer $limited 是否限量 “N”或“Y” + * @param integer $new 是否新品 “N”或“Y” + * @param integer $status 是否上架 + * @param integer $sell_channels 销售平台 + * @param integer $p_d_int 促销折扣 int型如7 + * @param integer $act_temp 活动模板 + * @param integer $act_rec 活动模板是否推荐 + * @param integer $act_status 活动模板商品状态 + * @param integer $attribute_not 过滤商品属性,attribute_not=2过滤掉赠品 + * @param integer $not_* not_字段名,过滤字段 + * @return array 搜索到的数据 */ - public static function getClassesData($condition = array(), $cache = false) + public static function getClassesData($classes = array(), $cache = false) { - $param['brand'] = $condition; - return Yohobuy::get(self::getUrl('sort'),$param, $cache); + $classes['sales'] = 'Y'; //在销售商品分类 + $classes['status'] = 1; //上架商品分类 + $classes['stocknumber'] = 1; //过滤掉已售罄 + return Yohobuy::get(self::getUrl('sort'),$classes, $cache); } /** @@ -91,4 +127,14 @@ class SearchData extends \LibModels\Wap\Product\SearchData public static function recentShelve(){ return Yohobuy::get(self::getUrl('recent')); } + + /** + * 获取最近浏览记录 + * @param int $limit + * @return json + */ + public static function getRecentReview($limit = 0) + { + + } } \ No newline at end of file diff --git a/library/Plugin/Cache.php b/library/Plugin/Cache.php index c271139..ac23087 100644 --- a/library/Plugin/Cache.php +++ b/library/Plugin/Cache.php @@ -109,5 +109,45 @@ class Cache { return md5($prefix . '_' . $key); } - + + /** + * 累加 + * + * @param string $key + * @param int $offset + * @param int $initialValue + * @param int $expiry + * @return boolean + */ + public static function increment($key, $offset = 1, $initialValue = 0, $expiry = 0) { + return self::getMemcache('master')->increment(self::makeKey($key, 'master'), $offset, $initialValue, $expiry); + } + + /** + * 递减 + * + * @param string $key + * @param int $offset + * @return boolean + */ + public static function decrement($key, $offset = 1) { + return self::getMemcache('master')->decrement(self::makeKey($key, 'master'), $offset); + } + + /** + * 获取memcache + * + * @param string $host + * @return object + */ + private static function getMemcache($host) { + $cache = new \stdClass(); + if (DIRECTORY_SEPARATOR === '\\') { + $cache = HoodCache::Memcache($host); + } + else { + $cache = HoodCache::Memcached($host); + } + return $cache; + } } diff --git a/library/Plugin/Captcha.php b/library/Plugin/Captcha.php new file mode 100644 index 0000000..7d7e15f --- /dev/null +++ b/library/Plugin/Captcha.php @@ -0,0 +1,420 @@ +<?php +namespace Plugin; +use Hood\Session; +class Captcha { + + private static $V = array( + "a", + "e", + "i", + "o", + "u", + "y" + ); + + private static $VN = array( + "a", + "e", + "i", + "o", + "u", + "y", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9" + ); + + private static $C = array( + "b", + "c", + "d", + "f", + "g", + "h", + "j", + "k", + "m", + "n", + "p", + "q", + "r", + "s", + "t", + "u", + "v", + "w", + "x", + "z" + ); + + private static $CN = array( + "b", + "c", + "d", + "f", + "g", + "h", + "j", + "k", + "m", + "n", + "p", + "q", + "r", + "s", + "t", + "u", + "v", + "w", + "x", + "z", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9" + ); + + private $_width = 160; + private $_height = 60; + private $_fs = 28; + private $_dotNoiseLevel = 50; + private $_lineNoiseLevel = 5; + private $_wordLen = 6; + + private $_useNumbers = true; + /** + * Generate new random word + * + * @return string + */ + protected function _generateWord() { + $word = ''; + $wordLen = $this->getWordLen (); + $vowels = $this->_useNumbers ? self::$VN : self::$V; + $consonants = $this->_useNumbers ? self::$CN : self::$C; + + for($i = 0; $i < $wordLen; $i = $i + 2) { + $consonant = $consonants [array_rand ( $consonants )]; + $vowel = $vowels [array_rand ( $vowels )]; + $word .= $consonant . $vowel; + } + if (strlen ( $word ) > $wordLen) { + $word = substr ( $word, 0, $wordLen ); + } + return $word; + } + + public function getWordLen() { + return $this->_wordLen; + } + + /** + * 设置验证码长度 + * + * @param string $wordLen + * @return \Plugin\Captcha + */ + public function setWordLen($wordLen) { + $this->_wordLen = $wordLen; + return $this; + } + + /** + * 获取图像宽度 + * + * @return int + */ + public function getWidth() { + return $this->_width; + } + + /** + * 获取图像高度 + * + * @return int + */ + public function getHeight() { + return $this->_height; + } + + /** + * 设置图像宽度 + * + * @param int $width + * @return \Plugin\Captcha + */ + public function setWidth($width) { + $this->_width = $width; + return $this; + } + + /** + * 设置图像高度 + * + * @param int $height + * @return \Plugin\Captcha + */ + public function setHeight($height) { + $this->_height = $height; + return $this; + } + /** + * + */ + public function getFontSize() { + return $this->_fs; + } + public function setFontSize($fs) { + $this->_fs = $fs; + return $this; + } + + /** + * 设置干扰点 + * + * @param string $noise + * @return \Plugin\Captcha + */ + public function setDotNoiseLevel($noise = 100) { + $this->_dotNoiseLevel = $noise; + return $this; + } + + /** + * 设置干扰线 + * + * @param string $noise + * @return \Plugin\Captcha + */ + public function setLineNoiseLevel($noise = 5) { + $this->_lineNoiseLevel = $noise; + return $this; + } + + /** + * 获取干扰点 + * + * @return string + */ + public function getDotNoiseLevel() { + return $this->_dotNoiseLevel; + } + + /** + * 获取干扰线 + * + * @return string + */ + public function getLineNoiseLevel() { + return $this->_lineNoiseLevel; + } + + /** + * Generate random frequency + * + * @return float + */ + protected function _randomFreq() { + return mt_rand ( 700000, 1000000 ) / 15000000; + } + + /** + * Generate random phase + * + * @return float + */ + protected function _randomPhase() { + // random phase from 0 to pi + return mt_rand ( 0, 3141592 ) / 1000000; + } + + /** + * Generate random character size + * + * @return int + */ + protected function _randomSize() { + return 0; + return mt_rand ( 300, 700 ) / 100; + } + + public function getFont() { + return dirname ( __FILE__ ) . '/ttf/2.ttf'; + } + /** + * 将验证码存入Sessioin + * + * @param string $namespace + * @param string $code + * @return true + */ + public static function setToSession($namespace, $code) { + self::getSessionObject($namespace)->captcha = $code; + return true; + } + + /** + * 从session中取出已经生成的验证码 + * + * @param string $namespace + * @return string|false + */ + public static function getFromSession($namespace) { + $code = self::getSessionObject($namespace)->captcha; + if (!empty( $code )) { + return $code; + } else { + return false; + } + } + + /** + * Constructor + * + * @param array $options + * @return void + */ + public function __construct($options = null) { + if (isset ( $options )) { + foreach ( $options as $k => $v ) { + call_user_func ( array ($this, 'set' . ucfirst ( $k ) ), $v ); + } + } + } + public function generate($namespace) { + $word = $this->_generateWord (); + self::setToSession ( $namespace, $word ); + header ( "Content-type: image/png" ); + $this->_generateImage ( $word ); + return $word; + } + + /** + * 生成验证码 + * + * @param string $word + */ + protected function _generateImage($word) { + if (! extension_loaded("gd")) { + exit("Image CAPTCHA requires GD extension"); + } + if (! function_exists("imagepng")) { + exit("Image CAPTCHA requires PNG support"); + } + if (! function_exists("imageftbbox")) { + exit("Image CAPTCHA requires FT fonts support"); + } + $font = $this->getFont(); + if (empty($font)) { + exit("Image CAPTCHA requires font"); + } + $w = $this->getWidth (); + $h = $this->getHeight (); + $fsize = $this->getFontSize (); + + $img = imagecreatetruecolor ( $w, $h ); + $text_color = imagecolorallocate ( $img, 0, 0, 0 ); + $bg_color = imagecolorallocate ( $img, 255, 255, 255 ); + imagefilledrectangle ( $img, 0, 0, $w - 1, $h - 1, $bg_color ); + $textbox = imageftbbox ( $fsize, 0, $font, $word ); + $x = ($w - ($textbox [2] - $textbox [0])) / 2; + $y = ($h - ($textbox [7] - $textbox [1])) / 2; + imagefttext ( $img, $fsize, 0, $x, $y, $text_color, $font, $word ); + + // generate noise + for($i = 0; $i < $this->_dotNoiseLevel; $i ++) { + imagefilledellipse ( $img, mt_rand ( 0, $w ), mt_rand ( 0, $h ), 2, 2, $text_color ); + } + for($i = 0; $i < $this->_lineNoiseLevel; $i ++) { + imageline ( $img, mt_rand ( 0, $w ), mt_rand ( 0, $h ), mt_rand ( 0, $w ), mt_rand ( 0, $h ), $text_color ); + } + + // transformed image + $img2 = imagecreatetruecolor ( $w, $h ); + $bg_color = imagecolorallocate ( $img2, 255, 255, 255 ); + imagefilledrectangle ( $img2, 0, 0, $w - 1, $h - 1, $bg_color ); + // apply wave transforms + $freq1 = $this->_randomFreq (); + $freq2 = $this->_randomFreq (); + $freq3 = $this->_randomFreq (); + $freq4 = $this->_randomFreq (); + + $ph1 = $this->_randomPhase (); + $ph2 = $this->_randomPhase (); + $ph3 = $this->_randomPhase (); + $ph4 = $this->_randomPhase (); + + $szx = $this->_randomSize (); + $szy = $this->_randomSize (); + + for($x = 0; $x < $w; $x ++) { + for($y = 0; $y < $h; $y ++) { + $sx = $x + (sin ( $x * $freq1 + $ph1 ) + sin ( $y * $freq3 + $ph3 )) * $szx; + $sy = $y + (sin ( $x * $freq2 + $ph2 ) + sin ( $y * $freq4 + $ph4 )) * $szy; + + if ($sx < 0 || $sy < 0 || $sx >= $w - 1 || $sy >= $h - 1) { + continue; + } else { + $color = (imagecolorat ( $img, $sx, $sy ) >> 16) & 0xFF; + $color_x = (imagecolorat ( $img, $sx + 1, $sy ) >> 16) & 0xFF; + $color_y = (imagecolorat ( $img, $sx, $sy + 1 ) >> 16) & 0xFF; + $color_xy = (imagecolorat ( $img, $sx + 1, $sy + 1 ) >> 16) & 0xFF; + } + if ($color == 255 && $color_x == 255 && $color_y == 255 && $color_xy == 255) { + // ignore background + continue; + } elseif ($color == 0 && $color_x == 0 && $color_y == 0 && $color_xy == 0) { + // transfer inside of the image as-is + $newcolor = 0; + } else { + // do antialiasing for border items + $frac_x = $sx - floor ( $sx ); + $frac_y = $sy - floor ( $sy ); + $frac_x1 = 1 - $frac_x; + $frac_y1 = 1 - $frac_y; + + $newcolor = $color * $frac_x1 * $frac_y1 + $color_x * $frac_x * $frac_y1 + $color_y * $frac_x1 * $frac_y + $color_xy * $frac_x * $frac_y; + } + imagesetpixel ( $img2, $x, $y, imagecolorallocate ( $img2, $newcolor, $newcolor, $newcolor ) ); + } + } + + // generate noise + for($i = 0; $i < $this->_dotNoiseLevel; $i ++) { + imagefilledellipse ( $img2, mt_rand ( 0, $w ), mt_rand ( 0, $h ), 2, 2, $text_color ); + } + for($i = 0; $i < $this->_lineNoiseLevel; $i ++) { + imageline ( $img2, mt_rand ( 0, $w ), mt_rand ( 0, $h ), mt_rand ( 0, $w ), mt_rand ( 0, $h ), $text_color ); + } + imagepng ( $img2 ); + imagedestroy ( $img ); + imagedestroy ( $img2 ); + } + + /** + * 获取session对象 + * + * @param string $namespace + * @return object + */ + public static function getSessionObject($namespace) + { + if(strtoupper(substr(PHP_OS,0,3)) === 'WIN') + { + return Session::fileStart($namespace); + } + else + { + return Session::start($namespace, null, 'yohobuy.com'); + } + } +} \ No newline at end of file diff --git a/library/Plugin/DataProcess/WebChannel/Channel.php b/library/Plugin/DataProcess/WebChannel/Channel.php index 0fae545..92efa17 100644 --- a/library/Plugin/DataProcess/WebChannel/Channel.php +++ b/library/Plugin/DataProcess/WebChannel/Channel.php @@ -13,6 +13,9 @@ class Channel public static function getFormat($channel, $data) { + if(empty($data)) { + return array(); + } // 通用处理器 $result = Process::getContent($data, $channel); $channelResult = array(); diff --git a/library/Plugin/DataProcess/WebChannel/Process.php b/library/Plugin/DataProcess/WebChannel/Process.php index e7854fd..c6ae9a1 100644 --- a/library/Plugin/DataProcess/WebChannel/Process.php +++ b/library/Plugin/DataProcess/WebChannel/Process.php @@ -322,11 +322,14 @@ class Process 'singlehot' => array( 'name' => '', 'imgHot' => array(), - 'brands' => array() + 'brands' => array(), + 'navs'=> array(), ) ); // text模版 $result['singlehot']['name'] = $title; + //textNav模版 + $result['singlehot']['navs'] = self::mergeNavProcess($source, $type); // goods模版 $result['singlehot']['imgHot'] = self::mergeGoodsProcess($goods, $type); // floor模版 @@ -503,6 +506,7 @@ class Process ); // text $result['girlkids']['name'] = $data[$key]['data']['text']; + // goods $result['girlkids']['imgHot'] = self::mergeGoodsProcess($data[$key + 2], $type); unset($data[$key], $data[$key + 1], $data[$key + 2]); @@ -638,8 +642,12 @@ class Process $result['category']['navs'] = self::mergeNavProcess($data[$key + 1], $type); } // floor模版 - foreach ($data[$key + 2]['data'] as $val) { - $val['src'] = Images::getImageUrl($val['src'], 185, 510, 2); + foreach ($data[$key + 2]['data'] as $pos => $val) { + $width = 185; $height = 510; + if($pos == 1) { + $width = 377; $height = 504; + } + $val['src'] = Images::getImageUrl($val['src'], $width, $height, 2); $val['url'] = Helpers::transUrl($val['url'], $type); $result['category']['list'][] = array( 'href' => $val['url'], @@ -762,7 +770,7 @@ class Process $skns = ''; foreach ($data['data'] as $val) { $skns .= $val['id'] . ' '; - } + } $params = array( 'query' => rtrim($skns), 'client_type' => 'web' diff --git a/library/Plugin/HelperSearch.php b/library/Plugin/HelperSearch.php index 2e3e524..8762875 100644 --- a/library/Plugin/HelperSearch.php +++ b/library/Plugin/HelperSearch.php @@ -1,7 +1,7 @@ <?php namespace Plugin; -use Plugin\Images; +use Plugin\Paging; /** * 搜索辅助类 */ @@ -10,11 +10,10 @@ class HelperSearch /** * 请求时用的所有参数 */ - private static $params = array(); + public static $params = array(); - //当前页面 - private static $current_url = ''; - private static $page = 1; + //当前页 + public static $page = 1; /** * 选中的条件 @@ -25,147 +24,141 @@ class HelperSearch * list分类面包屑 * @var array */ - public static $listnav = array( - array( + public static $listnav = array(); + + + //设置导航 + private static function setListNav($option = array()) + { + $cookieChannel = isset($_COOKIE['_Channel']) ? $_COOKIE['_Channel'] : 'boys'; + if (isset($option['brandName']) && !empty($option['brandName'])) { + $initNav = $option['brandName']; + }else{ + $initNav = '列表'; + } + self::$listnav[0] = array( 'href' => '', - 'name' => '首页' - ), - array( + 'name' => $cookieChannel + ); + self::$listnav[1] = array( 'href' => '', - 'name' => '列表' - ) - ); - + 'name' => $initNav + ); + } /** * 组织搜索模板数据 * @param array $data * @param array $options * @return array */ - public static function getList($data = array() , $options = array()) { - if (empty($data)) { - return array(); - } + public static function getList($data = array() , $options = array()) + { + $result = array(); self::$params = $_GET; unset(self::$params['/']); unset(self::$params['page']); unset(self::$params['/sale']); unset(self::$params['sale']); - $result = array(); - if (!isset($data['data']) || !isset($data['data']['product_list']) || !is_array($data['data']['product_list'])) { - return array(); - } - $result['product_list'] = self::getProductList($data['data']['product_list'], $options['imgSize'], $options['minImgSize'], $options['gender']); + $filter = $data['data']['filter']; + //产品列表 + $result['goods'] = self::getProductList($data['data']['product_list'], $options['imgSize']); + //总页数 $result['page_total'] = $data['data']['page_total']; - $result['total'] = $data['data']['total']; + //当前页 $result['page'] = $data['data']['page']; - //设置当前页 self::$page = $result['page']; - //搜索条件 - if (isset($data['data']['filter']) && !empty($data['data']['filter'])) { - $filter = $data['data']['filter']; - $result['filter']['left_sort'] = isset($filter['minsort']) ? self::minsort($filter['minsort']) : array(); - $result['filter']['group_sort'] = isset($filter['group_sort']) ? self::groupSort($filter['group_sort'], $options) : array(); - $result['filter']['size'] = self::size($filter); - $result['filter']['color'] = self::color($filter); - $result['filter']['price'] = self::price($filter); - $result['filter']['brand'] = self::brand($filter); - $result['filter']['parameters'] = self::standard($filter); - $result['filter']['rowNum4'] = self::rowNum(); - $result['filter']['rowNum6'] = self::rowNum(6); - $result['filter']['viewNum'] = self::viewNum(); - $result['filter']['priceSubmit'] = self::priceSubmit(); - $result['filter']['gender'] = self::gender($filter); - $result['filter']['selected'] = self::getSelected(); - $result['filter']['checks'] = array(self::isnew(),self::specialoffer(),self::limited()); - $result['filter']['sortType'] = array( self::orderDefault(),self::orderTime(),self::orderPrice(),self::orderDiscount()); - $result['filter']['clear'] =self::current(); - $result['filter']['next'] = self::next($data['data']['page_total'],$data['data']['filter']); - $result['filter']['listnav'] = self::$listnav; - $result['filter']['discount'] = self::getDiscount($filter['discount']); - $result['filter']['recent'] = self::recentShelve($filter['recent']); - $result['filter']['seniorChose'] = self::seniorChose($filter); - } + //清除选中 + $result['filters']['checkedConditions']['clearUrl'] = self::current(); + //频道 + $result['filters']['channel'] = self::gender($filter); + //分类 + $result['filters']['sort'] = array(); + //品牌 + $result['filters']['brand'] = self::brand($filter, $options); + //价格 + $result['filters']['price'] = self::price($filter); + //颜色 + $result['filters']['color'] = self::color($filter); + //尺寸 + $result['filters']['size'] = self::size($filter); + //高级选项 + $result['filters']['seniorChose'] = self::seniorChose($filter); + //排序方式 + $result['opts']['sortType'] = array( self::orderDefault(),self::orderTime(),self::orderPrice(),self::orderDiscount()); + //特殊:新品、特价、限量 + $result['opts']['checks'] = array(self::isnew(),self::specialoffer(),self::limited()); + //每行显示5个产品 + $result['opts']['fivePerLine'] = true; + //每行显示6个产品 + $result['opts']['sixPerLineHref'] = true; + //每页显示的数量 + $result['opts']['countPerPage'] = $options['viewNum']; + //可选每页显示数量 + $result['opts']['pageCounts'] = self::viewNum(); + $result['opts']['curPage'] = self::$page; + $result['opts']['pageCount'] = $data['data']['page_total']; + $result['opts']['nextHref'] = self::next($data['data']['page_total'],$data['data']['filter']); + $result['hasNextPage'] = array( + 'href' => self::next($data['data']['page_total'],$data['data']['filter']), + 'src' => 'http://img10.static.yhbimg.com/product/2014/01/15/11/01fa01614784f6239760f1b749663016f1.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90' + ); + //分类 + $result['leftContent'][]['allSort'] = isset($filter['group_sort']) ? self::groupSort($filter['group_sort'], $options) : array(); + //一周新品上架 + $result['leftContent'][]['newSales'] = isset($filter['recent']) ? self::recentShelve($filter['recent']) : array(); + //全部折扣 + $result['leftContent'][]['allDiscount'] = isset($filter['discount']) ? self::getDiscount($filter['discount']) : array(); + //总记录数 + $result['totalCount'] = $data['data']['total']; + //分页 + $result['pager'] = self::pager($result['totalCount'],$options['viewNum']); + //选中条件 + $result['filters']['checkedConditions']['conditions'] = self::getSelected(); + $result['pathNav'] = self::$listnav; return $result; } /** - * 组织列表模板数据 - * - */ - public static function getTemplateData($result, $options){ - //模板数据 - $data = array( - 'brandBanner' => array(), - 'pathNav' => $result['filter']['listnav'], - 'shopEntry' => array(), - 'filters' => array( - 'checkedConditions' => array( - 'conditions' => $result['filter']['selected'], - 'clearUrl' => $result['filter']['clear'] - ), - 'channel' => $result['filter']['gender'], - 'sort' => array() , - 'brand' => $result['filter']['brand'], - 'price' => $result['filter']['price'], - 'color' => $result['filter']['color'], - 'size' => $result['filter']['size'], - 'seniorChose' => $result['filter']['seniorChose'] - ), - 'opts' => array( - 'sortType' => $result['filter']['sortType'], - 'checks' => $result['filter']['checks'], - 'fivePerLine' => true, - 'sixPerLineHref' => '', - 'countPerPage' => $options['viewNum'], - 'pageCounts' => $result['filter']['viewNum'], - 'curPage' => $result['page'], - 'pageCount' => $result['page_total'], - 'nextHref' => $result['filter']['next'] - ), - 'goods' => $result['product_list'], - 'allSort' => array( - 'updateNum' => $result['filter']['group_sort']['all']['num'], - 'list' => $result['filter']['group_sort']['list'] - ), - 'advNav' => array(), - 'advPic' => array(), - 'newSales' => $result['filter']['recent'], - 'allDiscount' => $result['filter']['discount'] - ); - return $data; - } - /** * TODO 组织商品列表信息 * @param $product 接口返回商品列表 * @author sefon 2015-12-21 17:24:04 * @return array */ public static function getProductList($product,$imgSize){ - $result = array(); + $goods = array(); foreach($product as $key => $val){ + //NEW $isNew = $val['is_new'] == 'Y' ? true : false; - $isFew = $val['is_soon_sold_out'] == 'Y' ? true : false; - $is_promotion = $val['is_promotion']; + //限量商品 + $isLimit = isset($val['is_limited']) && $val['is_limited'] === 'Y'; + //即将售罄 + $isFew = $val['is_soon_sold_out'] === 'Y' ? true : false; + //SALE + //新品节 + //再到着 + //年终大促 + // 年中大促 foreach($val['goods_list'] as $k => $v){ $goods_list[$k]['url'] = Helpers::getUrlBySkc($val['product_id'], $v['goods_id'], $val['cn_alphabet']); } if (!empty($val['default_images'])) { $val['default_images'] = Images::getImageUrl($val['default_images'],$imgSize[0],$imgSize[1]); } - $result[] = array( + $goods[] = array( 'tags' => array( 'isNew' => $isNew, - 'isYearEndPromotion' => $is_promotion + 'isLimit' => $isLimit ), 'url' => $goods_list[0]['url'], 'thumb' => $val['default_images'], 'name' => $val['product_name'], 'salePrice' => $val['sales_price'], - 'isFew' => $isFew + 'marketPrice' => $val['market_price'], + 'isFew' => $isFew, + 'skn' => $val['product_skn'] ); } - return $result; + return $goods; } /** * 版型等其它筛选项 @@ -253,16 +246,11 @@ class HelperSearch /** * 组织搜索列表页面的左侧分类 * @param array $sort - * @param array $params - * @return array - */ - /** - * 组织搜索列表页面的左侧分类 - * @param array $sort - * @param array $params + * @param array $option * @return array */ public static function groupSort($sort, $option = array()) { + self::setListNav($option); $params = self::$params; $gender = isset($params['gender']) ? $params['gender'] : ''; @@ -295,14 +283,15 @@ class HelperSearch 'sort_id' => 0, 'name' => '全部品类', 'href' => self::buildurl($query) , - 'num' => 0, - 'selected' => '' +// 'num' => 0, + 'active' => '' ) , 'list' => array() ); foreach ($sort as $val) { if (isset($params['msort']) && $params['msort'] == $val['sort_id']) { - self::$listnav[1] = array( + $nav_index = isset($option['brandName']) && $option['brandName'] ? 2 : 1; + self::$listnav[$nav_index] = array( 'sort_id' => $val['sort_id'], 'name' => $val['sort_name'], 'href' => self::buildurl(array( @@ -311,12 +300,12 @@ class HelperSearch )) ); } - $result['all']['num']+= $val['count']; + //$result['all']['num']+= $val['count']; $msort = array( 'sort_id' => $val['sort_id'], 'name' => $val['sort_name'], - 'num' => $val['count'], - 'selected' => isset($params['msort']) && $params['msort'] == $val['sort_id'] ? true : false, +// 'num' => $val['count'], + 'active' => isset($params['msort']) && $params['msort'] == $val['sort_id'] ? true : false, 'href' => self::buildurl(array_merge($query, array( 'msort' => $val['sort_id'] ))) , @@ -328,15 +317,16 @@ class HelperSearch $sub[] = array( 'sort_id' => $val['sort_id'], 'name' => '全部' . $val['sort_name'], - 'num' => $val['count'], - 'selected' => !isset($params['misort']) && isset($params['msort']) && $params['msort'] == $val['sort_id'] ? true : false, +// 'num' => $val['count'], + 'childActive' => !isset($params['misort']) && isset($params['msort']) && $params['msort'] == $val['sort_id'] ? true : false, 'href' => self::buildurl(array_merge($query, array( 'msort' => $val['sort_id'] ))) , ); foreach ($val['sub'] as $mval) { if (isset($params['misort']) && $params['misort'] == $mval['sort_id']) { - self::$listnav[2] = array( + $nav_index = isset($option['brandName']) && $option['brandName'] ? 3 : 2; + self::$listnav[$nav_index] = array( 'sort_id' => $mval['sort_id'], 'name' => $mval['sort_name'], 'href' => '' @@ -346,8 +336,8 @@ class HelperSearch $sub[] = array( 'sort_id' => $mval['sort_id'], 'name' => $mval['sort_name'], - 'num' => $mval['count'], - 'selected' => isset($params['misort']) && $params['misort'] == $mval['sort_id'] ? true : false, +// 'num' => $mval['count'], + 'childActive' => isset($params['misort']) && $params['misort'] == $mval['sort_id'] ? true : false, 'href' => self::buildurl(array_merge($query, array( 'msort' => $val['sort_id'], 'misort' => $mval['sort_id'] @@ -363,17 +353,19 @@ class HelperSearch /** * 品牌,可以多选 - * @param array $brand + * @param array $filter + * @param array $options * @return array */ - public static function brand($filter) { + public static function brand($filter, $options = array()) { + if (isset($options['brandName'])) { + return array(); + } $params = self::$params; $brand_ids = isset($params['brand']) && !empty($params['brand']) ? explode(',', $params['brand']) : array(); - if (isset($params['brand'])) { unset($params['brand']); } - $result = array( 'default' => array() , 'brandIndex' => array( @@ -391,14 +383,11 @@ class HelperSearch 'U~Z' => array() , ) ); - $brand_keys = array_reverse(array_keys($result['list'])); if (isset($filter['brand']) && !empty($filter['brand'])) { - //有商品结果时 $brand = $filter['brand']; foreach ($brand as $v) { - if (!isset($v['brand_alif']) && isset($v['brand_name_en'])) { $v['brand_alif'] = substr($v['brand_name_en'], 0, 1); } @@ -408,7 +397,6 @@ class HelperSearch if (!isset($v['brand_domain'])) { $v['brand_domain'] = ''; } - //选中的筛选条件 if (in_array($v['id'], $brand_ids)) { $selected_brand = explode(',', self::$params['brand']); @@ -421,9 +409,7 @@ class HelperSearch 'href' => self::buildurl($selected_params) ); } - $selected_brand = isset(self::$params['brand']) && !empty(self::$params['brand']) ? explode(',', self::$params['brand']) : array(); - if (empty($selected_brand)) { $url = self::buildurl(array_merge($params, array( 'brand' => $v['id'] @@ -442,15 +428,13 @@ class HelperSearch 'brand' => implode(',', $selected_brand) ))); } - $this_brand = array( 'brand_id' => $v['id'], 'name' => $v['brand_name'], 'alif' => $v['brand_alif'], 'href' => $url, - 'selected' => in_array($v['id'], $brand_ids) ? true : false + 'active' => in_array($v['id'], $brand_ids) ? true : false ); - if (count($result['default']) < 10) { $result['default'][] = $this_brand; } @@ -472,11 +456,9 @@ class HelperSearch } } else if (isset($filter['paramNames']) && isset($filter['paramNames']['brand'])) { - //无商品结果时且选择了品牌 $brand = $filter['paramNames']['brand']; foreach ($brand as $v) { - //选中的筛选条件 if (in_array($v['id'], $brand_ids)) { $selected_brand = explode(',', self::$params['brand']); @@ -500,7 +482,7 @@ class HelperSearch /** * 尺码的链接,不能多选 - * @param array $size + * @param array $filter * @return array */ public static function size($filter) { @@ -544,7 +526,7 @@ class HelperSearch /** * 颜色,不能多选 - * @param array $color + * @param array $filter * @return array */ public static function color($filter) { @@ -599,7 +581,7 @@ class HelperSearch /** * 获取价格,不能多选 - * @param array $price + * @param array $filter * @return array */ public static function price($filter) { @@ -657,7 +639,7 @@ class HelperSearch /** * 风格,可以多选 - * @param array $style + * @param array $filter * @return array */ public static function style($filter) { @@ -743,7 +725,8 @@ class HelperSearch /** * 高级选项 */ - public static function seniorChose($filter){ + public static function seniorChose($filter) + { $style = self::style($filter); $other = self::standard($filter); $result = array_merge($style,$other); @@ -753,9 +736,9 @@ class HelperSearch /** * 每页显示数量 */ - public static function viewNum() { + public static function viewNum() + { $params = self::$params; - $view_num = array( 60, 100, @@ -776,8 +759,9 @@ class HelperSearch /** * 显示行数 */ - public static function rowNum($num = 5) { - $params = self::$params; + public static function rowNum($num = 5) + { + $params = self::$params; $params['rowNum'] = $num; @@ -787,7 +771,8 @@ class HelperSearch /** * 是否特价 */ - public static function specialoffer() { + public static function specialoffer() + { $params = self::$params; if (isset($params['specialoffer']) && !empty($params['specialoffer'])) { unset($params['specialoffer']); @@ -808,7 +793,8 @@ class HelperSearch /** * 是否限量 */ - public static function limited() { + public static function limited() + { $params = self::$params; if (isset($params['limited']) && !empty($params['limited'])) { unset($params['limited']); @@ -828,7 +814,8 @@ class HelperSearch /** * 是否新品 */ - public static function isnew() { + public static function isnew() + { $params = self::$params; if (isset($params['isNew']) && !empty($params['isNew'])) { @@ -849,7 +836,8 @@ class HelperSearch /** * 排序是否最新 */ - public static function orderTime() { + public static function orderTime() + { $params = self::$params; if (isset($params['order'])) { unset($params['order']); @@ -867,7 +855,8 @@ class HelperSearch /** * 排序是否默认 */ - public static function orderDefault() { + public static function orderDefault() + { $params = self::$params; if (isset($params['order'])) { unset($params['order']); @@ -883,7 +872,8 @@ class HelperSearch /** * 价格排序 */ - public static function orderPrice() { + public static function orderPrice() + { $params = self::$params; if (isset($params['order'])) { unset($params['order']); @@ -925,7 +915,8 @@ class HelperSearch /** * 折扣排序 */ - public static function orderDiscount() { + public static function orderDiscount() + { $params = self::$params; if (isset($params['order'])) { unset($params['order']); @@ -967,7 +958,8 @@ class HelperSearch /** * 获取自定义价格要提交的地址 */ - public static function priceSubmit() { + public static function priceSubmit() + { $params = self::$params; $price = array(); if (isset($params['price'])) { @@ -1009,7 +1001,8 @@ class HelperSearch * @param array $params * @return string */ - private static function buildurl($params) { + private static function buildurl($params) + { if (empty($params)) { return self::current(); } @@ -1033,7 +1026,8 @@ class HelperSearch /** * 获取选中的条件 */ - public static function getSelected() { + public static function getSelected() + { $result = array(); $is_array_key = array( 'brand', @@ -1057,7 +1051,10 @@ class HelperSearch * @param array $list * @return array */ - public static function getDiscount(array $list = array()) { + public static function getDiscount(array $list = array()) + { + $params = self::$params; + if (empty($list)) { return array(); } @@ -1077,12 +1074,12 @@ class HelperSearch $total+= $v['count']; $query['p_d'] = $k; $list[$k]['href'] = self::buildurl($query); - $list[$k]['num'] = $total; - $list[$k]['selected'] = isset($params['p_d']) && $params['p_d'] == $k ? true : false; + //$list[$k]['num'] = $total; + $list[$k]['active'] = isset($params['p_d']) && $params['p_d'] == $k ? true : false; } $result = array( - 'updateNum' => $total, - 'list' => $list + //'updateNum' => $total, + 'list' => array_values($list) ); return $result; } @@ -1090,11 +1087,12 @@ class HelperSearch /** * 最新上架 */ - public static function recentShelve($list = array()){ + public static function recentShelve($list = array()) + { if (empty($list)) { return array(); } - $params = $_GET; + $params = self::$params; $query = array(); if (isset($params['gender'])) { $query['gender'] = $params['gender']; @@ -1106,21 +1104,21 @@ class HelperSearch $query['misort'] = $params['misort']; } $data = array(); - $total = 0; $i = 0; foreach ($list as $k => $v) { - $total+= $v; $star_time = strtotime($k); $end_time = $star_time+60*60*24; $query['shelve_time'] = ''; $query['shelve_time'] = $star_time.','.$end_time; + if (isset($params['shelve_time']) && $query['shelve_time'] == $params['shelve_time']) { + $data[$i]['active'] = true; + } @$data[$i]['href'] = self::buildurl($query); - $data[$i]['num'] = $v; $data[$i]['name'] = $k; $i++; } $result = array( - 'updateNum' => $total, + //'updateNum' => $total, 'list' => $data ); return $result; @@ -1130,11 +1128,7 @@ class HelperSearch */ public static function current(){ $url = explode('?', $_SERVER['REQUEST_URI']); - self::$current_url = $url[0]; - self::$listnav[0] = array( - 'href' => '$url[0]', - 'name' => '首页' - ); + self::$listnav[0]['href'] = $url[0]; return $url[0]; } /** @@ -1150,4 +1144,28 @@ class HelperSearch } return self::buildurl($param); } + + /** + * 组织产品的图片 + * @param $product + * @param $options + * @return array + */ + public static function getProductPic($product, $options) + { + $result = array(); + if (isset($product[0]['goods_list']) && !empty($product[0]['goods_list'])){ + foreach ($product[0]['goods_list'] as $key => $val){ + $result[$key]['coverImg'] = Images::getImageUrl($val['images_url'], $options['imgSize'][0], $options['imgSize'][1]); + $result[$key]['url'] = Helpers::getUrlBySkc($product[0]['product_id'], $val['goods_id'], $product[0]['cn_alphabet']); + $result[$key]['src'] = Images::getImageUrl($val['images_url'], $options['imgSize'][0], $options['imgSize'][1]); + } + } + return $result; + } + //分页 + public static function pager($total,$view_num){ + $Paging = new Paging('Yoho'); + return $Paging->setTotal($total)->setSize($view_num)->view(0); + } } diff --git a/library/Plugin/Helpers.php b/library/Plugin/Helpers.php index 7aaf172..2b918a2 100644 --- a/library/Plugin/Helpers.php +++ b/library/Plugin/Helpers.php @@ -776,5 +776,34 @@ class Helpers } return 'http://item.yohobuy.com/product/pro_' . $product_id . '_' . $goods_id . '/' . $cn_alphabet. '.html'; } - + + /** + * 获取真实IP + * + * @return string + */ + public static function getClientIp() + { + $ip = '0.0.0.0'; + if (isset($_SERVER['HTTP_CLIENT_IP']) && $_SERVER['HTTP_CLIENT_IP'] != '') + $ip = $_SERVER['HTTP_CLIENT_IP']; + elseif (isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') + $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; + elseif (isset($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] != '') + $ip = $_SERVER['REMOTE_ADDR']; + return $ip; + } + + /** + * 组合国际手机号 + * @param $area + * @param $mobile + * @return string + */ + public static function makeMobile($area, $mobile){ + if(empty($area) || $area == 86){ + return $mobile; + } + return $area.'-'.$mobile; + } } diff --git a/library/Plugin/Paging.php b/library/Plugin/Paging.php new file mode 100644 index 0000000..843a2be --- /dev/null +++ b/library/Plugin/Paging.php @@ -0,0 +1,396 @@ +<?php +namespace Plugin; +use \Hood\Paging as HPage; +class Paging extends HPage +{ + + /** + * 路径 + * + * @var String + */ + private $path = ''; + + /** + * 查询参数 + * String or Array + * @var mixed + */ + private $query; + + /** + * 分页集尺寸 + * + * @var Integer + */ + private $pageSetSize = 11; + + /** + * 子串 + * + * @var String + */ + private $substring = '?'; + + /** + * 连接符号 + * + * @var String + */ + private $sign = '='; + + /** + * 对符 + * + * @var String + */ + private $pairs = '&'; + + /** + * 模板路径 + * + * @var String + */ + private $templatePath = ''; + + /** + * jsName + * @var String + */ + private $jsFName = ''; + + /** + * 废弃参数 + * @var String + */ + private $disuse = null; + + /** + * 设置分页链接中的关键字 + * + * @var String + */ + private $keyword = 'page'; + + /** + * 是否开启rewrite url + * + * @var bool + */ + private $rewrite = false; + + /** + * 附加参数 + * @var string + */ + private $appendParam = ''; + + /** + * 分页中代码当前页码的常量 + * + */ + const PAGER_VARIABLE_STRING = "%{PAGE_NO}"; + + + public function __construct($file) + { + $this->templatePath = __DIR__ . '/Paging/' . ucfirst($file) . '.php'; + } + + /** + * 新的获取当前偏移 + * @return Integer + */ + public function getNewCurrent() + { + if ($this->currentPage > 1) { + return min($this->currentPage, $this->getPageNum()); + } + $pageNo = !isset($_GET[$this->keyword]) ? 0 : (int)(intval($_GET[$this->keyword]) * $this->getSize()) - $this->getSize(); + return (int)($pageNo < 0 ? 0 : $pageNo); + } + + /** + * 重载当前页方法 + * @return Integer + */ + public function getCurrent() + { + if ($this->currentPage > 1) { + return min($this->currentPage, $this->getPageNum()); + } + $pageNo = isset($_GET[$this->keyword]) ? (int)intval($_GET[$this->keyword]) : 1; + if ($pageNo <= 0) { + $pageNo = 1; + } + $this->currentPage = min($pageNo, $this->getPageNum()); + return $this->currentPage; + } + + /** + * 获取关键词 + * @return String + */ + public function getKeyword() + { + return $this->keyword; + } + + /** + * 设置关键词 + * + * @param String $keyword + * @return QLib_Paging + */ + public function setKeyword($keyword) + { + if (!empty($keyword)) { + $this->keyword = $keyword; + } + return $this; + } + + /** + * 设置js名字 + * @param String $name + * @return Q_Page_Abstract + */ + public function setFJs($name) + { + if (!empty($name)) { + $this->jsFName = $name; + } + return $this; + } + + /** + * 设置附加参数 + * @param string $param + * @return Q_Page_Abstract + */ + public function setAppendParam($param) + { + $this->appendParam = $param; + return $this; + } + + /** + * 获取附加参数 + * @return string + */ + public function getAppendParam() + { + return $this->appendParam; + } + + /** + * 获取分页js名字 + * @return String + * + */ + public function getFJs() + { + return $this->jsFName; + } + + /** + * + * 设置链接的路径 + * + * @param String $path + * @return QLib_Paging + */ + public function setPath($path) + { + if (!empty($path)) { + $this->path = trim($path); + } + return $this; + } + + /** + * 设置连续Url + * + * @param bool $seo + * @return QLib_Paging + */ + public function rewrite($rw = true) + { + if ($rw == true) { + $this->substring = ''; + $this->sign = '/'; + $this->pairs = '/'; + $this->rewrite = true; + } + return $this; + } + + /** + * 取得程序路径 + * @return String + */ + public function getPath() + { + return $this->path; + } + + /** + * 设置分页集尺寸 + * + * @param integer $num 大于1 + * @return QLib_Paging + */ + public function setPageSetSize($num) + { + $this->pageSetSize = (int)intval($num); + return $this; + } + + /** + * 取得分页集尺寸 + * + * @return integer + */ + public function getPageSetSize() + { + return (int)$this->pageSetSize; + } + + /** + * 获取查询参数 + * @return String + */ + public function getQuery() + { + $query = $this->query; + if (empty($this->query)) { + $this->query = $this->autoUrl(); + } + if (is_array($this->query) && count($this->query) > 0) { + $_query = array(); + foreach ($this->query as $key => $value) { + if($key == '_pjax'){ + break; + } + if ($key == $this->getKeyword()) { + continue; + } + if (is_array($value)) { + foreach ($value as $k => $val) { + $_query[] = "{$key}[]" . $this->sign . $val; + } + } else { + $_query[] = "{$key}" . $this->sign . $value; + } + } + $this->query = $this->pairs . implode($this->pairs, $_query); + } + return $this->query ? $this->query : ''; + } + + /** + * 获取URL + * + * @param Integer $pageNo + * @return String + */ + public function getUrl($pageNo) + { + $query = $this->getQuery(); + if (strstr($query, self::PAGER_VARIABLE_STRING) && is_string($query)) { + $query = str_replace(self::PAGER_VARIABLE_STRING, $pageNo, $query); + } else { + if (empty($query)) { + $query = $this->getKeyword() . $this->sign . $pageNo; + } else { + $query = $this->getKeyword() . $this->sign . $pageNo . $query; + } + } + $url = $this->getPath() . $this->substring . $query; + if ($this->getFJs()) { + $url = $query; + } + return $url; + } + + /** + * 设置查询参数 + * + * @param mixed $query String or Array + * @return QLib_Paging + */ + public function setQuery($query) + { + $this->query = $query; + return $this; + } + + /** + * 设置模板路径 + * + * @param String $path + * @return QLib_Paging + */ + public function setTemplate($path) + { + $this->templatePath = $path; + return $this; + } + + /** + * 输出模板 + */ + public function view($print = true) + { + if ($this->getTotal() > 0) { + include($this->templatePath); + if($print){ + print $html; + }else{ + return $html; + } + + } + return ''; + } + + /** + * 自动组织 URL + * @return Array + */ + private function autoUrl() + { + $queryOpt = $_SERVER['REQUEST_URI']; + $queryArg = parse_url($queryOpt); + $queryOpt = isset($queryArg['query']) ? explode('&', $queryArg['query']) : array(); + $query = array(); + foreach ($queryOpt as $key => $val) { + $strTmp = explode('=', $val); + if (count($strTmp) < 2 || empty($strTmp[0]) || $strTmp[1] == '' || $strTmp[0] == $this->getKeyword()) { + continue; + } + if (is_array($this->disuse)) { + if (in_array($strTmp[1], $this->disuse) || in_array($strTmp[0], $this->disuse)) { + continue; + } + } else { + if ($strTmp[1] == $this->disuse || $strTmp[0] == $this->disuse) { + continue; + } + } + $query[$strTmp[0]] = $strTmp[1]; + } + return $query; + } + + /** + * set废弃参数 + * @param mixed $disuse + * @return QLib_Paging + */ + public function setDisuse($disuse = null) + { + $this->disuse = $disuse; + return $this; + } +} \ No newline at end of file diff --git a/library/Plugin/Paging/Newmini.php b/library/Plugin/Paging/Newmini.php new file mode 100644 index 0000000..fcbc56a --- /dev/null +++ b/library/Plugin/Paging/Newmini.php @@ -0,0 +1,56 @@ +<?php +$pages = array(); +$pageNum = $this->getPageNum(); #总分页数 +$current = $this->getCurrent(); #当前页 +$size = $this->getSize(); #每页显示数 +$total = $this->getTotal(); #获取总数 +$pageSetNum = $this->getPageSetSize(); #分页集数 +$start = $end = 0; +if($current <= 4){ + $start = 1; + $end = $start + 4; +}elseif(($pageNum - $current - 2) > 1) +{ + $start = $current - 2 < 1 ? 1 : $current - 2; + $end = $current + 2; +}else{ + $start = $current - 2; + $end = $pageNum; +} +if($end > $pageNum) +{ + $end = $pageNum; +} +$startNum = $size * ($current - 1) + 1; +$endNum = min($size * $current, $total); + +$html = ''; +if($current > 1) +{ + $html .= '<a href="' . $this->getUrl($current - 1) . '" title="上一页"><span class="ifont10"><</span></a>'; +} +if ($pageNum > 1) { + if($pageNum > 5 && $current > 4){ + $html .= '<a href="' . $this->getUrl(1) . '"><span>' . 1 . '</span></a>'; + $html .= '<a><span>...</span></a>'; + $start = $current - 2; + $end = $pageNum - $current <= 3 ? $pageNum : $current + 2; + } + for ($i = $start; $i <= $end; ++$i) { + $_start = $size * ($i - 1) + 1; + $_end = min($size * $i, $total); + if ($i != $current) { + $html .= '<a href="' . $this->getUrl($i) . '"><span>' . $i . '</span></a>'; + } + else { + $html .= '<a href="'. $this->getUrl($i) .'" class="cur"><span>' . $i . '</span></a>'; + } + } + if($pageNum > 5 && $pageNum - $current > 3){ + $html .= '<a><span>...</span></a>'; + $html .= '<a href="' . $this->getUrl($pageNum) . '"><span>' . $pageNum . '</span></a>'; + } +} +if ($current < $pageNum) { + $html .= '<a href="' . $this->getUrl($current + 1) . '" class="page_next" title="下一页"><span class="ifont10">></span></a>'; +} diff --git a/library/Plugin/Paging/Newyoho.php b/library/Plugin/Paging/Newyoho.php new file mode 100644 index 0000000..5c748a5 --- /dev/null +++ b/library/Plugin/Paging/Newyoho.php @@ -0,0 +1,55 @@ +<?php +$pages = array(); +$pageNum = $this->getPageNum(); #总分页数 +$current = $this->getCurrent(); #当前页 +$size = $this->getSize(); #每页显示数 +$total = $this->getTotal(); #获取总数 +$pageSetNum = $this->getPageSetSize(); #分页集数 +$start = $end = 0; +if($current <= 4){ + $start = 1; + $end = $start + 4; +}elseif(($pageNum - $current - 2) > 1) +{ + $start = $current - 2 < 1 ? 1 : $current - 2; + $end = $current + 2; +}else{ + $start = $current - 2; + $end = $pageNum; +} +if($end > $pageNum) +{ + $end = $pageNum; +} +$startNum = $size * ($current - 1) + 1; +$endNum = min($size * $current, $total); + +$html = '<div class="left"><span class="rgb9">'.$startNum.' - '.$endNum.' / 共'.$total.'件商品</span></div><div class="goods-page right">'; +if ($current > 1) { + $html .= '<a href="' . $this->getUrl($current - 1) . '" class="page_pre" title="上一页"><span class="ifont10"><</span>上一页</a>'; +} +if ($pageNum > 1) { + if($pageNum > 5 && $current > 4){ + $html .= '<a href="' . $this->getUrl(1) . '"><span>' . 1 . '</span></a>'; + $html .= '<a><span>...</span></a>'; + $start = $current - 2; + $end = $pageNum - $current <= 3 ? $pageNum : $current + 2; + } + for ($i = $start; $i <= $end; ++$i) { + $_start = $size * ($i - 1) + 1; + $_end = min($size * $i, $total); + if ($i != $current) { + $html .= '<a href="' . $this->getUrl($i) . '"><span>' . $i . '</span></a>'; + }else { + $html .= '<a href="'. $this->getUrl($i) .'" class="cur"><span>' . $i . '</span></a>'; + } + } + if($pageNum > 5 && $pageNum - $current > 3){ + $html .= '<a><span>...</span></a>'; + $html .= '<a href="' . $this->getUrl($pageNum) . '"><span>' . $pageNum . '</span></a>'; + } +} +if ($current < $pageNum) { + $html .= '<a href="' . $this->getUrl($current + 1) . '" title="下一页">下一页<span class="ifont10">></span></a>'; +} +$html .= '</div>'; diff --git a/library/Plugin/Paging/Yoho.php b/library/Plugin/Paging/Yoho.php new file mode 100644 index 0000000..e371f89 --- /dev/null +++ b/library/Plugin/Paging/Yoho.php @@ -0,0 +1,55 @@ +<?php +$pages = array(); +$pageNum = $this->getPageNum(); #总分页数 +$current = $this->getCurrent(); #当前页 +$size = $this->getSize(); #每页显示数 +$total = $this->getTotal(); #获取总数 +$pageSetNum = $this->getPageSetSize(); #分页集数 +$start = $end = 0; +if($current <= 4){ + $start = 1; + $end = $start + 4; +}elseif(($pageNum - $current - 2) > 1) +{ + $start = $current - 2 < 1 ? 1 : $current - 2; + $end = $current + 2; +}else{ + $start = $current - 2; + $end = $pageNum; +} +if($end > $pageNum) +{ + $end = $pageNum; +} +$startNum = $size * ($current - 1) + 1; +$endNum = min($size * $current, $total); + +$html = '<div class="left"></div><div class="list-page right">'; +if ($current > 1) { + $html .= '<a href="' . $this->getUrl($current - 1) . '" class="page_pre" title="上一页"><span class="ifont10"><</span>上一页</a>'; +} +if ($pageNum > 1) { + if($pageNum >= 5 && $current > 4){ + $html .= '<a href="' . $this->getUrl(1) . '"><span>' . 1 . '</span></a>'; + $html .= '<a><span>...</span></a>'; + $start = $current - 2; + $end = $pageNum - $current <= 3 ? $pageNum : $current + 2; + } + for ($i = $start; $i <= $end; ++$i) { + $_start = $size * ($i - 1) + 1; + $_end = min($size * $i, $total); + if ($i != $current) { + $html .= '<a href="' . $this->getUrl($i) . '"><span>' . $i . '</span></a>'; + }else { + $html .= '<a href="'. $this->getUrl($i) .'" class="cur"><span>' . $i . '</span></a>'; + } + } + if($pageNum > 5 && $pageNum - $current > 3){ + $html .= '<a><span>...</span></a>'; + $html .= '<a href="' . $this->getUrl($pageNum) . '"><span>' . $pageNum . '</span></a>'; + } +} +if ($current < $pageNum) { + $html .= '<a href="' . $this->getUrl($current + 1) . '" title="下一页">下一页<span class="ifont10">></span></a>'; +} +$html .= '</div>'; \ No newline at end of file diff --git a/library/Plugin/Partner/douban/Call.php b/library/Plugin/Partner/douban/Call.php new file mode 100644 index 0000000..7374149 --- /dev/null +++ b/library/Plugin/Partner/douban/Call.php @@ -0,0 +1,130 @@ +<?php +namespace Plugin\Partner\douban; + +use Plugin\Partner\Factory; + +define('DB_CLASS_PATH', dirname(__FILE__).'/class/'); +require DB_CLASS_PATH . 'DoubanClient.class.php'; + + +/** + * 豆瓣的调用接口 + * + * @name Call + * @package lib/partner/douban + * @copyright yoho.inc + * @version 5.0 (2015-12-31 10:54:54) + * @author xiaowei <xiaowei.gong@yoho.cn> + */ +class Call extends Factory +{ + /*人人网对象*/ + protected $douban; + + /** + * 初始化 + */ + protected function init() + { + $this->douban = new \DoubanClient($this->apiConfig['appId'], $this->apiConfig['appKey'], $this->apiConfig['callback'], $this->apiConfig['scope']); + } + + /** + * 获取授权URL + * + * @return string + */ + public function getAuthorizeUrl() + { + return $this->douban->getAuthorizeURL(); + } + + /** + * 获取授权的TOKEN + * + * @return array + */ + public function getAccessToken() + { + $token = array(); + + if (isset($_GET['code'])) + { + try + { + // 设置authorizeCode + $this->douban->setAuthorizeCode($_GET['code']); + // 通过authorizeCode获取accessToken,至此完成用户授权 + $this->douban->requestAccessToken(); + + $token = (array) $this->douban->getToken(); + } + catch (Exception $e) + { + // do nothing + } + } + + return $token; + } + + /** + * 获取当前用户的基本资料 + * + * @param array $token 授权成功的TOKEN, 默认为NULL + * @return array + */ + public function getUserInfo($token) + { + $userInfo = array(); + + if (is_array($token) && isset($token['access_token'])) + { + // 获得保存的token + $this->douban->setAccessToken($token); + + // 获得当前登录用户信息 + $userInfo = $this->douban->api('/v2/user/~me', 'GET', null, true); + } + + return $userInfo; + } + + /** + * 获取当前用户的偶像(关注)列表 + * + * 此接口暂未开放 + * + * @return array + */ + public function getFriends($token, $params) + { + return array(); + } + + /** + * 同步分享 + * + * @param String $image 新鲜事图片地址 + * @param String $content 新鲜事主体内容 注意:最多200个字符。 + * @param String $link 新鲜事标题和图片指向的链接 + * @return Long 发布新鲜事的ID + */ + public function syncShare($token, $content, $image, $link) + { + $result = false; + + if (is_array($token) && isset($token['access_token'])) + { + // 获得保存的token + $this->douban->setAccessToken($token); + + // 发表一篇说说 + $param = array('source' => $this->apiConfig['appKey'], 'text' => $content, 'rec_image' => $image, 'rec_url' => $link,); + $result = $this->douban->api('/shuo/v2/statuses', 'POST', $param, true); + } + + return $result; + } + +} \ No newline at end of file diff --git a/library/Plugin/Partner/douban/Config.inc.php b/library/Plugin/Partner/douban/Config.inc.php new file mode 100644 index 0000000..a02db21 --- /dev/null +++ b/library/Plugin/Partner/douban/Config.inc.php @@ -0,0 +1,9 @@ +<?php +defined('DOMAIN') || define('DOMAIN', $_SERVER['HTTP_HOST']); + +return array( + 'appId' => '09f4fa0661be14ec1ddeee13253a3ec4', + 'appKey' => 'b4204e2055d63102', + 'callback' => DOMAIN . '/passport/login/doubanback', + 'scope' => 'douban_basic_common', +); \ No newline at end of file diff --git a/library/Plugin/Partner/douban/class/DoubanClient.class.php b/library/Plugin/Partner/douban/class/DoubanClient.class.php new file mode 100644 index 0000000..16d7942 --- /dev/null +++ b/library/Plugin/Partner/douban/class/DoubanClient.class.php @@ -0,0 +1,351 @@ +<?php + +class DoubanClient { + + /** + * @brief 豆瓣Oauth类词头 + */ + const PREFIX = 'Douban'; + + /** + * @brief authorizeCode请求链接 + */ + protected $authorizeUri = 'https://www.douban.com/service/auth2/auth'; + + /** + * @brief accessToken请求链接 + */ + protected $accessUri = 'https://www.douban.com/service/auth2/token'; + + /** + * @brief api请求链接 + */ + protected $apiUri = 'https://api.douban.com'; + + /** + * @brief 豆瓣应用public key + */ + protected $clientId; + + /** + * @brief 豆瓣应用secret key + */ + protected $secret; + + /** + * @brief callback链接 + */ + protected $redirectUri; + + /** + * @brief Api权限 + */ + protected $scope; + + /** + * @brief 返回类型,默认使用code + */ + protected $responseType; + + /** + * @brief 用户授权码 + */ + protected $authorizeCode; + + /** + * @brief 储存返回的令牌(accessToken,refreshToken) + */ + protected $tokens; + + /** + * @brief 通过authorizeCode获得的访问令牌 + */ + protected $accessToken; + + /** + * @brief 用于刷新accessToken + */ + protected $refreshToken; + + /** + * @var 默认请求头信息 + */ + protected $defaultHeader = array( + 'Content_type: application/x-www-form-urlencoded' + ); + + /** + * @var 需授权的请求头 + */ + protected $authorizeHeader; + + /** + * @var curl默认设置 + */ + protected $CURL_OPTS = array( + CURLOPT_CONNECTTIMEOUT => 10, + CURLOPT_RETURNTRANSFER => true, + CURLOPT_SSL_VERIFYPEER => false, + CURLOPT_TIMEOUT => 60, + CURLOPT_USERAGENT => 'simple-douban-oauth2-0.4', + ); + + /** + * @brief 初始化豆瓣OAUTH,设置相关参数 + * + * @param string $client_id + * @param string $secret + * @param string $redirect_uri + * @param string $scope + * @param string $responseType + * + * @return void + */ + public function __construct($clientId, $secret, $redirectUri, $scope ='douban_basic_common', $responseType = 'code') + { + $this->clientId = $clientId; + $this->secret = $secret; + $this->redirectUri = $redirectUri; + $this->scope = $scope; + $this->responseType = $responseType; + +// // API基类路径 +// $basePath = dirname(__FILE__).'/api/DoubanBase.php'; + +// // 载入API基类 +// try { +// $this->fileLoader($basePath); +// } catch(Exception $e) { +// echo 'Baseloader error:'.$e->getMessage(); +// } + } + + /** + * @brief 跳转到豆瓣用户授权页面,获取AuthorizeCode + * + * @return redirect + */ + public function requestAuthorizeCode() + { + // 获取AuthorizeCode请求链接 + $authorizeUrl = $this->getAuthorizeUrl(); + header('Location:'.$authorizeUrl); + } + + /** + * @brief 设置AuthorizeCode + * + * @param string $authorizeCode + * + * @return void + */ + public function setAuthorizeCode($authorizeCode) + { + $this->authorizeCode = $authorizeCode; + } + + /** + * @brief 通过AuthorizeCode获取accessToken + * + * @return string + */ + public function requestAccessToken() + { + // 获取accessToken请求链接 + $accessUrl = $this->getAccessUrl(); + $header = $this->defaultHeader; + $result = $this->curl($accessUrl, 'POST', $header); + $this->tokens = json_decode($result); + $this->refreshToken = $this->tokens->refresh_token; + $this->accessToken = $this->tokens->access_token; + } + + /** + * @brief 获取token + * + * @return string + */ + public function getToken() + { + return $this->tokens; + } + + /** + * @brief 获取accessToken + * + * @return string + */ + public function getAccessToken() + { + return $this->accessToken; + } + + /** + * @brief 设置token + * + * @return string + */ + public function setAccessToken($token) + { + if (is_array($token) && isset($token['access_token'])) { + $this->accessToken = $token['access_token']; + } + } + + /** + * @brief 生成豆瓣用户授权页面完整地址 + * + * @return string + */ + public function getAuthorizeUrl() + { + $params = array( + 'client_id' => $this->clientId, + 'redirect_uri' => $this->redirectUri, + 'response_type' => $this->responseType, + 'scope' => $this->scope + ); + + return $this->authorizeUri.'?'.http_build_query($params); + } + + /** + * @brief 生成豆瓣access_token完整获取链接 + * + * @return string + */ + public function getAccessUrl() + { + $params = array( + 'client_id' => $this->clientId, + 'client_secret' => $this->secret, + 'redirect_uri' => $this->redirectUri, + 'grant_type' => 'authorization_code', + 'code' => $this->authorizeCode, + ); + + return $this->accessUri.'?'.http_build_query($params); + } + + /** + * @brief 请求豆瓣API,返回包含相关数据的对象 + * + * @param object $API + * @param array $data + * @param boolean 为true时会在header中发送accessToken + * + * @return object + */ + public function api($api, $type = 'POST', $data = null, $authorization = false) + { + // API的完整URL + $url = $this->apiUri.$api; + $header = $authorization ? $this->getAuthorizeHeader() : $this->defaultHeader; + + $response = $this->curl($url, $type, $header, $data); + $result = json_decode($response, true); + + return $result; + } + + /** + * @brief 请求豆瓣API,返回包含相关数据的对象 + * + * @param object $API + * @param array $data + * @param boolean 为true时会在header中发送accessToken + * + * @return object + */ + public function makeRequest($api, $data = null, $authorization = false) + { + // API的完整URL + $url = $this->apiUri.$api->uri; + $header = $authorization ? $this->getAuthorizeHeader() : $this->defaultHeader; + $type = $api->type; + + return $this->curl($url, $type, $header, $data); + } + + /** + * @brief 豆瓣API实例注册函数 + * + * @param string $api + * + * @return object + */ + public function apiRegister($api) + { + $doubanApi = self::PREFIX.ucfirst(strtolower($api)); + // 需要注册的API路径 + $apiPath = dirname(__FILE__).'/api/'.$doubanApi.'.php'; + + try { + $this->fileLoader($apiPath); + } catch(Exception $e) { + echo 'Apiloader error:'.$e->getMessage(); + } + + return new $doubanApi($this->clientId); + } + + /** + * @brief 获取Authorization header + * + * @return array + */ + protected function getAuthorizeHeader() + { + return $this->authorizeHeader = array('Authorization: Bearer '.$this->accessToken); + } + + /** + * @brief 使用CURL模拟请求,并返回取得的数据 + * + * @param string $url + * @param string $type + * @param array $header + * @param array $data + * + * @return object + */ + protected function curl($url, $type, $header, $data = null) + { + $opts = $this->CURL_OPTS; + $opts[CURLOPT_URL] = $url; + $opts[CURLOPT_CUSTOMREQUEST] = $type; + $header[] = 'Expect:'; + $opts[CURLOPT_HTTPHEADER] = $header; + if ($type == 'POST' || $type =='PUT') { + $opts[CURLOPT_POSTFIELDS] = $data; + } + + $ch = curl_init(); + curl_setopt_array($ch, $opts); + $result = curl_exec($ch); + +// if (curl_errno($ch)) { +// die('CURL error: '.curl_error($ch)); +// } + + curl_close($ch); + return $result; + } + + /** + * @brief 文件加载类 + * + * @param string $path + * + * @return void + */ + protected function fileLoader($path) + { + // 文件路径错误时抛出异常 + if ( ! file_exists($path)) { + throw new Exception('The file you wanted to load does not exists.'); + } + + require $path; + } +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanBase.php b/library/Plugin/Partner/douban/class/api/DoubanBase.php new file mode 100644 index 0000000..dc60752 --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanBase.php @@ -0,0 +1,39 @@ +<?php +/** + * @file DoubanBase.php + * @brief 豆瓣api的Base类 + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-11-27 + */ + +class DoubanBase { + + /** + * @brief 豆瓣API uri + */ + protected $uri; + + /** + * @brief API请求方式 + */ + protected $type; + + /** + * @brief 豆瓣应用public key + */ + protected $clientId; + + /** + * @brief 使用魔术方法获取类属性 + * + * @param mixed $name + * + * @return mixed + */ + public function __get($name) + { + if (property_exists($this, $name)) { + return $this->$name; + } + } +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanBook.php b/library/Plugin/Partner/douban/class/api/DoubanBook.php new file mode 100644 index 0000000..ce8493a --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanBook.php @@ -0,0 +1,293 @@ +<?php +/** + * @file DoubanBook.php + * @brief 豆瓣图书API + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-11-27 + */ + +class DoubanBook extends DoubanBase { + + /** + * @brief 构造函数,初始设置clientId + * + * @param string $clientId + * + * @return void + */ + public function __construct($clientId) + { + $this->clientId = $clientId; + } + + /** + * @brief 获取指定书籍 + * + * @param int $id + * + * @return object + */ + public function getBook($id) + { + $this->uri = '/v2/book/'.$id; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 获取Isbn对应书籍 + * + * @param string $name + * + * @return object + */ + public function isbn($name) + { + $this->uri = '/v2/book/isbn/'.$name; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 图书搜素接口(未测试),q和tag必选其一。 + * + * @param string $q + * @param string $tag + * @param int $start + * @param int $count + * + * @return object + */ + public function search($q, $tag, $start = 0, $count = 20) + { + $params = array( + 'q' => $q, + 'tag' => $tag, + 'start' => $start, + 'count' => $count + ); + $this->uri = '/v2/book/search?'.http_build_query($params); + $this->type = 'GET'; + return $this; + } + /** + * @brief 获取某个图书中标记最多的标签(未测试) + * + * @param string $id + * + * @return object + */ + public function bookTags($id) + { + $this->uri = '/v2/book/'.$id.'/tags'; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 获取用户对图书的所有标签(未测试) + * + * @param string $name + * + * @return object + */ + public function userTags($name) + { + $this->uri = '/v2/book/user/'.$name.'/tags'; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 获取某个用户的所有图书收藏信息(未测试) + * + * @param string $name + * + * @return object + */ + public function collections($name) + { + $this->uri = '/v2/book/user/'.$name.'/collections'; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 获取用户对某本图书的收藏信息(为测试) + * + * @param string $id + * + * @return object + */ + public function getCollection($id) + { + $this->uri = '/v2/book/'.$id.'/collection'; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 用户收藏某本图书(未测试) + * + * @param string $id + * + * @return object + */ + public function addCollection($id) + { + $this->uri = '/v2/book/'.$id.'/collection'; + $this->type = 'POST'; + return $this; + } + + /** + * @brief 用户修改对某本图书的收藏(未测试) + * + * @param string $id + * + * @return object + */ + public function editCollection($id) + { + $this->uri = '/v2/book/'.$id.'/collection'; + $this->type = 'PUT'; + return $this; + } + + /** + * @brief 用户删除对某本图书的收藏(未测试) + * + * @param string $id + * + * @return object + */ + public function deleteCollection($id) + { + $this->uri = '/v2/book/'.$id.'/collection'; + $this->type = 'DELETE'; + return $this; + } + + /** + * @brief 获取某个用户的所有笔记(未测试) + * + * @param string $name + * + * @return object + */ + public function userAnnotations($name) + { + $this->uri = '/v2/book/user/'.$name.'/annotations'; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 获取某本图书的所有笔记(未测试) + * + * @param string $id + * + * @return object + */ + public function bookAnnotations($id) + { + $this->uri = '/v2/book/user/'.$id.'/annotations'; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 获取某篇笔记的信息(未测试) + * + * @param string $id + * + * @return object + */ + public function getAnnotation($id) + { + $this->uri = '/v2/book/annotation/'.$id; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 用户给某本图书写笔记(未测试) + * + * @param string $id + * + * @return object + */ + public function addAnnotation($id) + { + $this->uri = '/v2/book/'.$id.'/annotations'; + $this->type = 'POST'; + return $this; + } + + /** + * @brief 用户修改某篇笔记(未测试) + * + * @param string $id + * + * @return object + */ + public function editAnnotation($id) + { + $this->uri = '/v2/book/annotation/'.$id; + $this->type = 'PUT'; + return $this; + } + + /** + * @brief 用户删除某篇笔记(未测试) + * + * @param string $id + * + * @return object + */ + public function deleteAnnotation($id) + { + $this->uri = '/v2/book/annotation/'.$id; + $this->type = 'DELETE'; + return $this; + } + /** + * @brief 添加书评 + * + * @return object + */ + public function addReview() + { + $this->uri = '/v2/book/reviews'; + $this->type = 'POST'; + return $this; + } + + /** + * @brief 修改书评 + * + * @param string $id + * + * @return object + */ + public function editReview($id) + { + $this->uri = '/v2/book/review/'.$id; + $this->type = 'PUT'; + return $this; + } + + /** + * @brief 删除书评 + * + * @param string $id + * + * @return object + */ + public function deleteReview($id) + { + $this->uri = '/v2/book/review/'.$id; + $this->type = 'DELETE'; + return $this; + } +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanComment.php b/library/Plugin/Partner/douban/class/api/DoubanComment.php new file mode 100644 index 0000000..ce4e0dc --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanComment.php @@ -0,0 +1,50 @@ +<?php +/** + * @file DuobanComment.php + * @brief 豆瓣回复API接口 + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-12-05 + */ + +class DoubanComment extends DoubanBase { + + /** + * @brief 构造函数,初始设置clientId + * + * @param string $clientId + * + * @return void + */ + public function __construct($clientId) + { + $this->clientId = $clientId; + } + + public function getCommentsList($target, $id) + { + $this->uri = '/v2/'.$target.'/'.$id.'/comments'; + $this->type = 'GET'; + return $this; + } + + public function addComment($target, $id) + { + $this->uri = '/v2/'.$target.'/'.$id.'/comments'; + $this->type = 'POST'; + return $this; + } + + public function getComment($target, $targetId, $commentId) + { + $this->uri = '/v2/'.$target.'/'.$targetId.'/comment/'.$commentId; + $this->type = 'GET'; + return $this; + } + + public function deleteComment($target, $targetId, $commentId) + { + $this->uri = '/v2/'.$target.'/'.$targetId.'/comment/'.$commentId; + $this->type = 'DELETE'; + return $this; + } +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanDiscussion.php b/library/Plugin/Partner/douban/class/api/DoubanDiscussion.php new file mode 100644 index 0000000..9c2506b --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanDiscussion.php @@ -0,0 +1,58 @@ +<?php +/** + * @file DoubanDiscussion.php + * @brief 豆瓣论坛API接口 + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-12-05 + */ + +class DoubanDiscussion extends DoubanBase { + + /** + * @brief 构造函数,初始设置clientId + * + * @param string $clientId + * + * @return void + */ + public function __construct($clientId) + { + $this->clientId = $clientId; + } + + + public function getDiscussion($id) + { + $this->uri = '/v2/discussion/'.$id; + $this->type = 'GET'; + return $this; + } + + public function editDiscussion($id) + { + $this->uri = '/v2/discussion/'.$id; + $this->type = 'PUT'; + return $this; + } + + public function deleteDiscussion($id) + { + $this->uri = '/v2/discussion/'.$id; + $this->type = 'DELETE'; + return $this; + } + + public function addDiscussion($target, $id) + { + $this->uri = '/v2/'.$target.'/'.$id.'/discussions'; + $this->type = 'POST'; + return $this; + } + + public function getDiscussionsList($target, $id) + { + $this->uri = '/v2/'.$target.'/'.$id.'/discussions'; + $this->type = 'GET'; + return $this; + } +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanDoumail.php b/library/Plugin/Partner/douban/class/api/DoubanDoumail.php new file mode 100644 index 0000000..c8aa5f7 --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanDoumail.php @@ -0,0 +1,97 @@ +<?php +/** + * @file DoubanDoumail.php + * @brief 豆邮API接口 + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-12-05 + */ + +class DoubanDoumail extends DoubanBase { + + /** + * @brief 构造函数,初始设置clientId + * + * @param string $clientId + * + * @return void + */ + public function __construct($clientId) + { + $this->clientId = $clientId; + } + + /** + * @brief 获取一封豆邮 + * + * @param string $id 豆邮id + * + * @return object + */ + public function get($id) + { + $this->uri = '/v2/doumail/'.$id; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 获取用户收件箱 + * + * @return object + */ + public function inbox() + { + $this->uri = '/v2/doumail/inbox'; + $this->type = 'GET'; + return $this; + } + + public function outbox() + { + $this->uri = '/v2/doumail/outbox'; + $this->type = 'GET'; + return $this; + } + + public function unread() + { + $this->uri = '/v2/doumail/inbox/unread'; + $this->type = 'GET'; + return $this; + } + + public function read($id) + { + $this->uri = '/v2/doumail/'.$id; + $this->type = 'PUT'; + return $this; + } + + public function mutilRead() + { + $this->uri = '/v2/doumail/read'; + $this->type = 'PUT'; + return $this; + } + + public function delete($id) + { + $this->uri = '/v2/doumail/'.$id; + $this->type = "DELETE"; + return $this; + } + + public function mutilDelete() + { + $this->uri = '/v2/doumail/delete'; + $this->type = 'POST'; + return $this; + } + + public function add() + { + $this->uri = '/v2/doumails'; + $this->type = 'POST'; + return $this; + } +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanEvent.php b/library/Plugin/Partner/douban/class/api/DoubanEvent.php new file mode 100644 index 0000000..2327038 --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanEvent.php @@ -0,0 +1,114 @@ +<?php +/** + * @file DoubanEvent.php + * @brief 豆瓣同城API接口 + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-12-05 + */ + +class DoubanEvent extends DoubanBase { + + /** + * @brief 构造函数,初始设置clientId + * + * @param string $clientId + * + * @return void + */ + public function __construct($clientId) + { + $this->clientId = $clientId; + } + + public function get($id) + { + $this->uri = '/v2/event/'.$id; + $this->type = 'GET'; + return $this; + } + + public function participants($id) + { + $this->uri = '/v2/event/'.$id.'/participants'; + $this->type = 'GET'; + return $this; + } + + public function wishers($id) + { + $this->uri = '/v2/event/'.$id.'/wishers'; + $this->type = 'GET'; + return $this; + } + + public function userCreated($id) + { + $this->uri = '/v2/event/user_created/'.$id; + $this->type = 'GET'; + return $this; + } + + public function userParticipated($id) + { + $this->uri = '/v2/event/user_participated/'.$id; + $this->type = 'GET'; + return $this; + } + + public function userWished($id) + { + $this->uri = '/v2/event/user_wished/'.$id; + $this->type = 'GET'; + return $this; + } + + public function eventList() + { + $this->uri = '/v2/event/list'; + $this->type = 'GET'; + return $this; + } + + public function loc($id) + { + $this->uri = '/v2/loc/'.$id; + $this->type = 'GET'; + return $this; + } + + public function locList() + { + $this->uri = '/v2/loc/list'; + $this->type = 'GET'; + return $this; + } + + public function join($id) + { + $this->uri = '/v2/event/'.$id.'/participants'; + $this->type = 'POST'; + return $this; + + } + + public function quit($id) + { + $this->uri = '/v2/event/'.$id.'/participants'; + $this->type = 'DELETE'; + return $this; + } + + public function wish($id) + { + $this->uri = '/v2/event/'.$id.'/wishers'; + $this->type = 'POST'; + return $this; + } + + public function unwish($id) + { + $this->uri = '/v2/event/'.$id.'/wishers'; + $this->type = 'DELETE'; + return $this; + } +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanMiniblog.php b/library/Plugin/Partner/douban/class/api/DoubanMiniblog.php new file mode 100644 index 0000000..10ca96b --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanMiniblog.php @@ -0,0 +1,293 @@ +<?php +/** + * @file DoubanMiniblog.php + * @brief 豆瓣广播API + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-12-03 + */ + +class DoubanMiniblog extends DoubanBase { + + /** + * @brief 构造函数,初始设置clientId + * + * @param string $clientId + * + * @return void + */ + public function __construct($clientId) + { + $this->clientId = $clientId; + } + + /** + * @brief 发送一条豆瓣广播 + * + * @return object + */ + public function addMiniblog() + { + $this->uri = '/shuo/v2/statuses/'; + $this->type = 'POST'; + return $this; + } + + /** + * @brief 读取一条广播 + * + * @param string $id + * + * @return object + */ + public function getMiniblog($id) + { + $this->uri = '/shuo/v2/statuses/'.$id; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 删除一条广播 + * + * @param string $id + * + * @return object + */ + public function deleteMiniblog($id) + { + $this->uri = '/shuo/v2/statuses/'.$id; + $this->type = 'DELETE'; + return $this; + } + + /** + * @brief 获取一条广播的回复列表(未测试) + * + * @param string $id + * @param int $start + * @param int $count + * + * @return object + */ + public function getCommentsList($id, $start = 0, $count = 20) + { + $this->uri = '/shuo/v2/statuses/'.$id.'/comments?start='.$start.'&count='.$count; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 回复某条广播(未测试) + * + * @param string $id + * + * @return object + */ + public function addComment($id) + { + $this->uri = '/shuo/v2/statuses/'.$id.'/comments'; + $this->type = 'POST'; + return $this; + } + + /** + * @brief 获取广播的单条回复(未测试) + * + * @param string $id + * + * @return object + */ + public function getComment($id) + { + $this->uri ='/shuo/v2/statuses/comment/'.$id; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 删除广播的单条回复 + * + * @param string $id + * + * @return object + */ + public function deleleComment($id) + { + $this->uri = '/shuo/v2/statuses/comment/'.$id; + $this->type = 'DELETE'; + return $this; + } + + /** + * @brief 获取一条广播的转发相关信息(未测试) + * + * @param string $id + * + * @return object + */ + public function getReshare($id) + { + $this->uri = '/shuo/v2/statuses/'.$id.'/reshare'; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 转发一条广播 + * + * @param string $id + * + * @return object + */ + public function reshare($id) + { + $this->uri = '/shuo/v2/statuses/'.$id.'/reshare'; + $this->type = 'POST'; + return $this; + } + + + /** + * @brief 获取一条广播的赞相关信息(未测试) + * + * @param string $id + * + * @return object + */ + public function getLikers($id) + { + $this->uri = '/shuo/v2/statuses/'.$id.'/like'; + $this->type = 'GET'; + return $this; + } + + + /** + * @brief 赞一条广播 + * + * @param string $id + * + * @return object + */ + public function like($id) + { + $this->uri = '/shuo/v2/statuses/'.$id.'/like'; + $this->type = 'POST'; + return $this; + } + + /** + * @brief 取消赞(未测试) + * + * @param string $id + * + * @return object + */ + public function dislike($id) + { + $this->uri = '/shuo/v2/statuses/'.$id.'/like'; + $this->type = 'DELETE'; + return $this; + } + + public function following($id) + { + $this->uri = '/shuo/v2/users/'.$id.'/following'; + $this->type = 'GET'; + return $this; + } + + public function followers($id) + { + $this->uri = '/shuo/v2/users/'.$id.'/followers'; + $this->type = 'GET'; + return $this; + } + + public function followInCommon($id) + { + $this->uri = '/shuo/v2/users/'.$id.'/follow_in_common'; + $this->type = 'GET'; + return $this; + } + + public function suggestions($id) + { + $this->uri = '/shuo/v2/users/'.$id.'/following_followers_of'; + $this->type = 'GET'; + return $this; + } + + public function block($id) + { + $this->uri = '/shuo/v2/users/'.$id.'/block'; + $this->type = 'POST'; + return $this; + + } + + public function unfollow() + { + $this->uri = '/shuo/v2/friendships/destroy'; + $this->type = 'POST'; + return $this; + + } + + public function show($source, $sourceId, $targetId) + { + $params = array( + 'source' => $source, + 'source_id' => $sourceId, + 'target_id' => $targetId + ); + $this->uri = '/shuo/v2/friendships/show?'.http_build_query($params); + $this->type = 'GET'; + return $this; + } + + /** + * @brief 获取当前登录用户及其所关注用户的最新广播(友邻广播) + * + * @param string $sinceId + * @param string $untilId + * @param string $count + * @param string $start + * + * @return object + */ + public function homeTimeline($sinceId = null, $untilId = null, $count = null, $start = null ) + { + $params = array( + 'since_id' => $sinceId, + 'until_id' => $untilId, + 'count' => $count, + 'start' => $start + ); + $this->uri = '/shuo/v2/statuses/home_timeline?'.http_build_query($params); + $this->type = 'GET'; + return $this; + + } + + /** + * @brief 获取用户发布的广播列表 + * + * @param string $user + * @param string $sinceId + * @param string $untilId + * + * @return object + */ + public function userTimeline($user, $sinceId = null, $untilId = null) + { + $params = array( + 'since_id' => $sinceId, + 'until_id' => $untilId + ); + $this->uri = '/shuo/v2/statuses/user_timeline/'.$user.'?'.http_build_query($params); + $this->type = 'GET'; + return $this; + } + +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanMovie.php b/library/Plugin/Partner/douban/class/api/DoubanMovie.php new file mode 100644 index 0000000..e843d82 --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanMovie.php @@ -0,0 +1,101 @@ +<?php +/** + * @file DoubanMovie.php + * @brief 豆瓣电影API接口 + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-12-05 + */ + +class DoubanMovie extends DoubanBase { + + /** + * @brief 构造函数,初始设置clientId + * + * @param string $clientId + * + * @return void + */ + public function __construct($clientId) + { + $this->clientId = $clientId; + } + + /** + * @brief 获取电影信息 + * + * @param string $id + * + * @return object + */ + public function get($id) + { + $this->uri = '/v2/movie/'.$id; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 根据imdb号获取电影信息 + * + * @param string $name + * + * @return object + */ + public function imdb($name) + { + $this->uri = '/v2/movie/imdb/'.$name; + $this->type = 'GET'; + return $this; + } + + public function search($q, $tag, $start = 0, $count = 20) + { + $params = array( + 'q' => $q, + 'tag' => $tag, + 'start' => $start, + 'count' => $count + ); + $this->uri = '/v2/movie/search?'.http_build_query($params); + $this->type = 'GET'; + return $this; + } + + public function movieTags($id) + { + $this->uri = '/v2/movie/'.$id.'/tags'; + $this->type = 'GET'; + return $this; + } + + public function userTags($id) + { + $this->uri = '/v2/movie/user_tags/'.$id; + $this->type = 'GET'; + return $this; + } + + public function addReview() + { + $this->uri = '/v2/movie/reviews'; + $this->type = 'POST'; + return $this; + + } + + public function editReview($id) + { + $this->uri = '/v2/movie/review/'.$id; + $this->type = 'PUT'; + return $this; + + } + + public function deleteReview($id) + { + $this->uri = '/v2/movie/review/'.$id; + $this->type = 'DELETE'; + return $this; + + } +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanMusic.php b/library/Plugin/Partner/douban/class/api/DoubanMusic.php new file mode 100644 index 0000000..08aaaa5 --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanMusic.php @@ -0,0 +1,108 @@ +<?php +/** + * @file DoubanMusic.php + * @brief 豆瓣音乐API接口 + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-12-05 + */ + +class DoubanMusic extends DoubanBase { + + /** + * @brief 构造函数,初始设置clientId + * + * @param string $clientId + * + * @return void + */ + public function __construct($clientId) + { + $this->clientId = $clientId; + } + + /** + * @brief 获取音乐信息 + * + * @param $id + * + * @return object + */ + public function get($id) + { + $this->uri = '/v2/music/'.$id; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 搜索音乐 + * + * @param $q + * @param $tag + * @param $start + * @param $count + * + * @return object + */ + public function search($q, $tag = null, $start = 0, $count = 20) + { + $params = array( + 'q' => $q, + 'tag' => $tag, + 'start' => $start, + 'count' => $count + ); + $this->uri = '/v2/music/search?'.http_build_query($params); + $this->type = 'GET'; + return $this; + } + + /** + * @brief 某个音乐中标记最多的标签 + * + * @param $id + * + * @return object + */ + public function musicTags($id) + { + $this->uri = '/v2/music/'.$id.'/tags'; + $this->type = 'GET'; + return $this; + } + + public function addReview() + { + $this->uri = '/v2/music/reviews'; + $this->type = 'POST'; + return $this; + } + + public function editReview($id) + { + $this->uri = '/v2/music/review/'.$id; + $this->type = 'PUT'; + return $this; + } + + public function deleteReview($id) + { + $this->uri = '/v2/music/review/'.$id; + $this->type = 'DELETE'; + return $this; + } + + /** + * @brief 用户对音乐的所有标签 + * + * @param $id + * + * @return object + */ + public function userTags($id) + { + $this->uri = '/v2/music/user_tags/'.$id; + $this->type = 'GET'; + return $this; + } +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanNote.php b/library/Plugin/Partner/douban/class/api/DoubanNote.php new file mode 100644 index 0000000..07e6f1f --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanNote.php @@ -0,0 +1,107 @@ +<?php +/** + * @file DoubanNote.php + * @brief 豆瓣日记API接口 + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-12-05 + */ + +class DoubanNote extends DoubanBase { + + /** + * @brief 构造函数,初始设置clientId + * + * @param string $clientId + * + * @return void + */ + public function __construct($clientId) + { + $this->clientId = $clientId; + } + + /** + * @brief 获取一条日记 + * + * @param $id + * @param $format + * + * @return object + */ + public function getNote($id, $format = 'text') + { + $this->uri = '/v2/note/'.$id.'?format='.$format; + $this->type = 'GET'; + return $this; + } + + public function addNote() + { + $this->uri = '/v2/notes'; + $this->type = 'POST'; + return $this; + } + + public function editNote($id) + { + $this->uri = '/v2/note/'.$id; + $this->type = 'PUT'; + return $this; + } + + public function deleteNote($id) + { + $this->uri = '/v2/note/'.$id; + $this->type = 'DELETE'; + return $this; + } + + public function like($id) + { + $this->uri = '/v2/note/'.$id.'/like'; + $this->type = 'POST'; + return $this; + } + + public function dislike($id) + { + $this->uri = '/v2/note/'.$id.'/like'; + $this->type = 'DELETE'; + return $this; + } + + public function image($id) + { + $this->uri = '/v2/note/'.$id; + $this->type = 'POST'; + return $this; + } + + public function getCommentsList($id) + { + $this->uri = '/v2/note/'.$id.'/comments'; + $this->type = 'GET'; + return $this; + } + + public function reply($id) + { + $this->uri = '/v2/note/'.$id.'/comments'; + $this->type = 'POST'; + return $this; + } + + public function getComment($noteId, $commentId) + { + $this->uri = '/v2/note/'.$noteId.'/comment/'.$commentId; + $this->type = 'GET'; + return $this; + } + + public function deleteComment($noteId, $commentId) + { + $this->uri = '/v2/note/'.$noteId.'/comment/'.$id; + $this->type = 'DELETE'; + return $this; + } +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanOnline.php b/library/Plugin/Partner/douban/class/api/DoubanOnline.php new file mode 100644 index 0000000..203a841 --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanOnline.php @@ -0,0 +1,134 @@ +<?php +/** + * @file DoubanOnline.php + * @brief 豆瓣线上活动API接口 + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-12-05 + */ + +class DoubanOnline extends DoubanBase { + + /** + * @brief 构造函数,初始设置clientId + * + * @param string $clientId + * + * @return void + */ + public function __construct($clientId) + { + $this->client = $clientId; + } + + public function getOnline($id) + { + $this->uri = '/v2/online/'.$id; + $this->type = 'GET'; + return $this; + } + + public function participants($id) + { + $this->uri = '/v2/online/'.$id.'/participants'; + $this->type = 'GET'; + return $this; + } + + public function getDiscussionsList($id) + { + $this->uri = '/v2/online/'.$id.'/discussions'; + $this->type = 'GET'; + return $this; + } + + public function getOnlinesList($cate) + { + $this->uri = '/v2/onlines?cate='.$cate; + $this->type = 'GET'; + return $this; + } + + public function addOnline() + { + $this->uri = '/v2/onlines'; + $this->type = 'POST'; + return $this; + } + + public function editOnline($id) + { + $this->uri = '/v2/onlines/'.$id; + $this->type = 'PUT'; + return $this; + } + + public function deleteOnline($id) + { + $this->uri = '/v2/onlines/'.$id; + $this->type = 'DELETE'; + return $this; + } + + public function join($id) + { + $this->uri = '/v2/online/'.$id.'/participants'; + $this->type = 'POST'; + return $this; + } + + public function quit($id) + { + $this->uri = '/v2/online/'.$id.'/participants'; + $this->type = 'DELETE'; + return $this; + } + + public function like($id) + { + $this->uri = '/v2/online/'.$id.'/like'; + $this->type = 'POST'; + return $this; + } + + public function dislike($id) + { + $this->uri = '/v2/online/'.$id.'/like'; + $this->type = 'DELETE'; + return $this; + } + + public function getPhoto($id) + { + $this->uri = '/v2/online/'.$id.'/photos'; + $this->type = 'GET'; + return $this; + } + + public function addPhoto($id) + { + $this->uri = '/v2/online/'.$id.'/photos'; + $this->type = 'POST'; + return $this; + } + + public function replyDiscussion($id) + { + $this->uri = '/v2/online/'.$id.'/discussions'; + $this->type = 'POST'; + return $this; + } + + public function userParticipated($id, $excludeExpired = true) + { + $this->uri = '/v2/online/user_participated/'.$id.'?exclude_expired='.$excludeExpired; + $this->type = 'GET'; + return $this; + } + + public function userCreated($id) + { + $this->uri = '/v2/online/user_created/'.$id; + $this->type = 'GET'; + return $this; + } +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanPhoto.php b/library/Plugin/Partner/douban/class/api/DoubanPhoto.php new file mode 100644 index 0000000..74ded27 --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanPhoto.php @@ -0,0 +1,129 @@ +<?php +/** + * @file DoubanPhoto.php + * @brief 豆瓣相册API接口 + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-12-05 + */ + +class DoubanPhoto extends DoubanBase { + + /** + * @brief 构造函数,初始设置clientId和accessToken + * + * @param string $clientId + * + * @return void + */ + public function __construct($clientId) + { + $this->clientId = $clientId; + } + + public function getAlbum($id) + { + $this->uri = '/v2/album/'.$id; + $this->type = 'GET'; + return $this; + } + + public function addAlbum() + { + $this->uri = '/v2/albums'; + $this->type = 'POST'; + return $this; + } + + public function editAlbum($id) + { + $this->uri = '/v2/album/'.$id; + $this->type = 'PUT'; + return $this; + } + + public function deleteAlbum($id) + { + $this->uri = '/v2/album/'.$id; + $this->type = 'DELETE'; + return $this; + } + + + public function getPhotosList($id) + { + $this->uri = '/v2/album/'.$id.'/photos'; + $this->type = 'GET'; + return $this; + } + + public function getPhoto($id) + { + $this->uri = '/v2/photo/'.$id; + $this->type = 'GET'; + return $this; + } + + public function likeAlbum($id) + { + $this->uri = '/v2/album/'.$id.'/like'; + $this->type = 'POST'; + return $this; + } + + public function dislikeAlbum($id) + { + $this->uri = '/v2/album/'.$id.'/like'; + $this->type = 'DELETE'; + return $this; + } + + public function getUserAlbumList($id) + { + $this->uri = '/v2/album/user_created/'.$id; + $this->type = 'GET'; + return $this; + } + + public function userLiked($id) + { + $this->uri = '/v2/album/user_liked/'.$id; + $this->type = 'GET'; + return $this; + } + + public function addPhoto($id) + { + $this->uri = '/v2/album/'.$id; + $this->type = 'POST'; + return $this; + } + + public function editPhoto($id) + { + $this->uri = '/v2/album/'.$id; + $this->type = 'PUT'; + return $this; + } + + public function deletePhoto($id) + { + $this->uri = '/v2/album/'.$id; + $this->type = 'DELETE'; + return $this; + } + + public function likePhoto($id) + { + $this->uri = '/v2/photo/'.$id.'/like'; + $this->type = 'POST'; + return $this; + } + + public function dislikePhoto($id) + { + $this->uri = '/v2/photo/'.$id.'/like'; + $this->type = 'DELETE'; + return $this; + } + +} diff --git a/library/Plugin/Partner/douban/class/api/DoubanUser.php b/library/Plugin/Partner/douban/class/api/DoubanUser.php new file mode 100644 index 0000000..9e8a1ce --- /dev/null +++ b/library/Plugin/Partner/douban/class/api/DoubanUser.php @@ -0,0 +1,70 @@ +<?php +/** + * @file DoubanUser.php + * @brief 豆瓣用户API + * @author JonChou <ilorn.mc@gmail.com> + * @date 2012-12-03 + */ + +class DoubanUser extends DoubanBase { + + /** + * @brief 构造函数,初始设置clientId + * + * @param string $clientId + * + * @return void + */ + public function __construct($clientId) + { + $this->clientId = $clientId; + } + + /** + * @brief 获取当前授权用户信息 + * + * @return object + */ + public function me() + { + $this->uri = '/v2/user/~me'; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 获取指定ID用户信息 + * + * @param string $id + * + * @return object + */ + public function get($id) + { + $this->uri = '/v2/user/'.$id; + $this->type = 'GET'; + return $this; + } + + /** + * @brief 搜索用户 + * + * @param string $q + * @param int $start + * @param int $count + * + * @return object + */ + public function search($q, $start = null, $count = null) + { + $params = array( + 'q' => $q, + 'start' => $start, + 'count' => $count + ); + $this->uri = '/v2/user?'.http_build_query($params); + $this->type = 'GET'; + return $this; + } + +} diff --git a/library/Plugin/Partner/renren/Call.php b/library/Plugin/Partner/renren/Call.php new file mode 100644 index 0000000..822cf6d --- /dev/null +++ b/library/Plugin/Partner/renren/Call.php @@ -0,0 +1,214 @@ +<?php +namespace Plugin\Partner\renren; + +use Plugin\Partner\Factory; + +define('RENREN_CLASS_PATH', dirname (__FILE__) . '/class/'); +require RENREN_CLASS_PATH . 'RennClientBase.class.php'; + +/** + * 人人网的调用接口 + * + * @name Call + * @package lib/partner/renren + * @copyright yoho.inc + * @version 5.0 (2015-12-31 10:54:54) + * @author xiaowei <xiaowei.gong@yoho.cn> + */ +class Call extends Factory +{ + /*人人网对象*/ + protected $renn; + + /** + * 初始化 + */ + protected function init() + { + $this->renn = new \RennClientBase($this->apiConfig['appId'], $this->apiConfig['appKey']); + } + + /** + * 获取授权URL + * + * @return string + */ + public function getAuthorizeUrl() + { + return $this->renn->getAuthorizeURL($this->apiConfig['callback'], 'code', null, null, true, $this->apiConfig['scope']); + } + + /** + * 获取授权的TOKEN + * + * @return array + */ + public function getAccessToken() + { + $token = array(); + + if (isset($_REQUEST['code'])) + { + $keys = array(); + $keys['code'] = $_REQUEST['code']; + $keys['redirect_uri'] = $this->apiConfig['callback']; + + try + { + $token = $this->renn->getTokenFromTokenEndpoint('code', $keys, TokenType::Bearer); + + // 返回数组格式的信息 + $token = $this->renn->getTokens(); + } + catch (Exception $e) + { + // do nothing + } + } + + return $token; + } + + /** + * 获取当前用户的基本资料 + * + * @see http://open.renren.com/wiki/API/v2/user/get + * @param object $token 授权成功的TOKEN, 默认为NULL + * @return array + */ + public function getUserInfo($token) + { + $userInfo = array(); + + if (!empty($token)) + { + if (is_array($token)) + { + $token = new AccessToken(isset($token['type']) ? $token['type'] : TokenType::Bearer, $token['accessToken'], isset($token['refreshToken']) ? $token['refreshToken'] : null, isset($token['macKey']) ? $token['macKey'] : null, isset($token['macAlgorithm']) ? $token['macAlgorithm'] : null); + } + // 获得保存的token + $this->renn->authWithToken($token); + + // 获得当前登录用户 + if (isset($token->accessToken)) + { + $parts = explode('-', $token->accessToken); + if (isset($parts[1])) + { + $params = array('userId' => $parts[1]); + try + { + $userInfo = $this->renn->execute('/v2/user/login/get', 'GET', $params, array(), array()); + } + catch (Exception $e) + { + // do nothing + } + } + } + } + + return $userInfo; + } + + /** + * 获取当前用户的偶像(关注)列表 + * + * @see http://open.renren.com/wiki/V2/friend/list + * @param object $token 访问令牌 + * @param array $params 参数列表 + * Long $userId 用户ID。该字段默认为当前用户 + * Integer $pageSize 页面大小。默认大小500。 + * Integer $pageNumber 页码。取值大于零,默认值为1 + * @return array + */ + public function getFriends($token, $params) + { + $friends = array(); + + if (!empty($token)) + { + if (is_array($token)) + { + $token = new AccessToken(isset($token['type']) ? $token['type'] : TokenType::Bearer, $token['accessToken'], isset($token['refreshToken']) ? $token['refreshToken'] : null, isset($token['macKey']) ? $token['macKey'] : null, isset($token['macAlgorithm']) ? $token['macAlgorithm'] : null); + } + // 获得保存的token + $this->renn->authWithToken($token); + + // 获取当前登录用户的好友列表 + if (!isset($params['userId']) && isset($token->accessToken)) + { + $parts = explode('-', $token->accessToken); + if (isset($parts[1])) + { + $params['userId'] = $parts[1]; + } + } + + try + { + $friends = $this->renn->execute('/v2/user/friend/list', 'GET', $params, array(), array()); + } + catch (Exception $e) + { + // do nothing + } + } + + return $friends; + } + + /** + * 同步分享 + * + * 发送自定义新鲜事。新鲜事会发布用户的个人动态信息到用户人人网主页,同时会出现在好友的新鲜事中 + * + * @see http://open.renren.com/wiki/API/v2/feed/put + * @param object $token 访问令牌 + * @param String $image 新鲜事图片地址 + * @param String $content 新鲜事主体内容 注意:最多200个字符。 + * @param String $link 新鲜事标题和图片指向的链接 + * @return Long 发布新鲜事的ID + */ + public function syncShare($token, $content, $image, $link) + { + $result = false; + + if (!empty($token)) + { + if (is_array($token)) + { + $token = new AccessToken(isset($token['type']) ? $token['type'] : TokenType::Bearer, $token['accessToken'], isset($token['refreshToken']) ? $token['refreshToken'] : null, isset($token['macKey']) ? $token['macKey'] : null, isset($token['macAlgorithm']) ? $token['macAlgorithm'] : null); + } + // 获得保存的token + $this->renn->authWithToken($token); + + $params = array('title' => '来自YOHO的分享', 'message' => $content, 'actionTargetUrl' => $link, + 'imageUrl' => $image, 'description' => $content, 'targetUrl' => $link,); + + try + { + $result = $this->renn->execute('/v2/feed/put', 'POST', $params, array(), array()); + } + catch (Exception $e) + { + // do nothing + } + } + + return $result; + } + + /** + * 返回token的所有信息(包括user) + * + * 备注:所有此方法必须先调用 getAccessToken() + * + * @return array + */ + public function getTokens() + { + return $this->renn->getTokens(); + } + +} \ No newline at end of file diff --git a/library/Plugin/Partner/renren/Config.inc.php b/library/Plugin/Partner/renren/Config.inc.php new file mode 100644 index 0000000..f1610a1 --- /dev/null +++ b/library/Plugin/Partner/renren/Config.inc.php @@ -0,0 +1,9 @@ +<?php +defined('DOMAIN') || define('DOMAIN', $_SERVER['HTTP_HOST']); + +return array( + 'appId' => '783130c654c94a77ace97054ae266019', + 'appKey' => '05e430de8c1e40d3a1f39ca8d3f8252c', + 'callback' => DOMAIN . '/passport/login/renrenback', + 'scope' => 'publish_feed,photo_upload', +); \ No newline at end of file diff --git a/library/Plugin/Partner/renren/class/RennClient.class.php b/library/Plugin/Partner/renren/class/RennClient.class.php new file mode 100644 index 0000000..9ebeb57 --- /dev/null +++ b/library/Plugin/Partner/renren/class/RennClient.class.php @@ -0,0 +1,128 @@ +<?php +include_once ('RennClientBase.class.php'); + +include_once ('service/RennServiceBase.php'); +include_once ('service/AlbumService.php'); +include_once ('service/BlogService.php'); +include_once ('service/ShareService.php'); +include_once ('service/UbbService.php'); +include_once ('service/NotificationService.php'); +include_once ('service/FeedService.php'); +include_once ('service/InvitationService.php'); +include_once ('service/ProfileService.php'); +include_once ('service/AppService.php'); +include_once ('service/StatusService.php'); +include_once ('service/LikeService.php'); +include_once ('service/PhotoService.php'); +include_once ('service/CommentService.php'); +include_once ('service/UserService.php'); +include_once ('service/FriendService.php'); + +class RennClient extends RennClientBase { + private $albumService; + private $blogService; + private $shareService; + private $ubbService; + private $notificationService; + private $feedService; + private $invitationService; + private $profileService; + private $appService; + private $statusService; + private $likeService; + private $photoService; + private $commentService; + private $userService; + private $friendService; + function getAlbumService() { + if (empty ($this -> albumService )) { + $this->albumService = new AlbumService ( $this, $this->accessToken ); + } + return $this->albumService; + } + function getBlogService() { + if (empty ($this -> blogService )) { + $this->blogService = new BlogService ( $this, $this->accessToken ); + } + return $this->blogService; + } + function getShareService() { + if (empty ($this -> shareService )) { + $this->shareService = new ShareService ( $this, $this->accessToken ); + } + return $this->shareService; + } + function getUbbService() { + if (empty ($this -> ubbService )) { + $this->ubbService = new UbbService ( $this, $this->accessToken ); + } + return $this->ubbService; + } + function getNotificationService() { + if (empty ($this -> notificationService )) { + $this->notificationService = new NotificationService ( $this, $this->accessToken ); + } + return $this->notificationService; + } + function getFeedService() { + if (empty ($this -> feedService )) { + $this->feedService = new FeedService ( $this, $this->accessToken ); + } + return $this->feedService; + } + function getInvitationService() { + if (empty ($this -> invitationService )) { + $this->invitationService = new InvitationService ( $this, $this->accessToken ); + } + return $this->invitationService; + } + function getProfileService() { + if (empty ($this -> profileService )) { + $this->profileService = new ProfileService ( $this, $this->accessToken ); + } + return $this->profileService; + } + function getAppService() { + if (empty ($this -> appService )) { + $this->appService = new AppService ( $this, $this->accessToken ); + } + return $this->appService; + } + function getStatusService() { + if (empty ($this -> statusService )) { + $this->statusService = new StatusService ( $this, $this->accessToken ); + } + return $this->statusService; + } + function getLikeService() { + if (empty ($this -> likeService )) { + $this->likeService = new LikeService ( $this, $this->accessToken ); + } + return $this->likeService; + } + function getPhotoService() { + if (empty ($this -> photoService )) { + $this->photoService = new PhotoService ( $this, $this->accessToken ); + } + return $this->photoService; + } + function getCommentService() { + if (empty ($this -> commentService )) { + $this->commentService = new CommentService ( $this, $this->accessToken ); + } + return $this->commentService; + } + function getUserService() { + if (empty ($this -> userService )) { + $this->userService = new UserService ( $this, $this->accessToken ); + } + return $this->userService; + } + function getFriendService() { + if (empty ($this -> friendService )) { + $this->friendService = new FriendService ( $this, $this->accessToken ); + } + return $this->friendService; + } +} +?> diff --git a/library/Plugin/Partner/renren/class/RennClientBase.class.php b/library/Plugin/Partner/renren/class/RennClientBase.class.php new file mode 100644 index 0000000..64abb14 --- /dev/null +++ b/library/Plugin/Partner/renren/class/RennClientBase.class.php @@ -0,0 +1,774 @@ +<?php + +if (!function_exists('curl_init')) { + throw new Exception('Renn PHP SDK needs the CURL PHP extension.'); +} +if (!function_exists('json_decode')) { + throw new Exception('Renn PHP SDK needs the JSON PHP extension.'); +} + +class RennClientBase { + /** + * token终端 + */ + const TOKEN_ENDPOINT = 'http://graph.renren.com/oauth/token'; + /** + * 授权终端 + */ + const AUTHORIZATION_ENDPOINT = 'http://graph.renren.com/oauth/grant'; + /** + * API host + */ + const API_HOST = 'api.renren.com'; + /** + * Set the useragnet. + */ + const USERAGENT = 'Renn API2.0 SDK PHP v0.1'; + /** + * Set timeout default. + */ + const TIMEOUT = 60; + /** + * Set connect timeout. + */ + const CONNECTTIMEOUT = 30; + + /** + * Default options for curl. + */ + public static $CURL_OPTS = array ( + CURLOPT_CONNECTTIMEOUT => self::CONNECTTIMEOUT, + CURLOPT_RETURNTRANSFER => true, + CURLOPT_TIMEOUT => self::TIMEOUT, + CURLOPT_USERAGENT => self::USERAGENT + ); + /** + * 应用id + */ + protected $clientId; + /** + * 应用密钥 + */ + protected $clientSecret; + /** + * token + */ + protected $accessToken; + /** + * 签名方法的工厂 + */ + protected $signatureMethodFactory; + /** + * token存储 + */ + protected $tokenStore; + + /** + * tokens + */ + protected $tokens; + + /** + * print the debug info + */ + public $debug = FALSE; + + /** + * 构造函数 + */ + function __construct($clientId, $clientSecret) { + $this->clientId = $clientId; + $this->clientSecret = $clientSecret; + $this->signatureMethodFactory = new OAuth2SignatureMethodFactory (); + $this->tokenStore = new CookieTokenStore (); + } + + /** + * 用code来授权:通过code来获得token + * + * @param string $code + */ + public function authWithAuthorizationCode($code, $redirectUri) { + $keys = array (); + $keys ['code'] = $code; + $keys ['redirect_uri'] = $redirectUri; + try { + // 根据code来获得token + $token = $this->getTokenFromTokenEndpoint ( 'code', $keys ); + } catch ( RennException $e ) { + throw new InvalideAuthorizationException ( "Authorization failed with Authorization Code. " . $e->getMessage () ); + } + } + + /** + * 用已有的token来授权 + * + * @param string $token + */ + public function authWithToken($token) { + $this->accessToken = $token; + } + + /** + * Client Credentials来授权 + */ + public function authWithClientCredentials() { + $keys = array (); + $keys ['client_id'] = $this->clientId; + $keys ['client_secret'] = $this->clientSecret; + try { + $token = $this->getTokenFromTokenEndpoint ( 'client_credentials', $keys ); + } catch ( RennException $e ) { + throw new InvalideAuthorizationException ( "Authorization failed with Client Credentials. " . $e->getMessage () ); + } + } + + /** + * 用已用户的用户名和密码授权 + */ + public function authWithResourceOwnerPassword($username, $password) { + $keys = array (); + $keys ['username'] = $username; + $keys ['password'] = $password; + try { + $token = $this->getTokenFromTokenEndpoint ( 'password', $keys ); + } catch ( RennException $e ) { + throw new InvalideAuthorizationException ( "Authorization failed with Resource Owner Password. " . $e->getMessage () ); + } + } + + /** + * 用存储的token来授权 + */ + public function authWithStoredToken() { + $token = $this->getTokenFromTokenStore (); + if (! isset ( $token )) { + throw new InvalideAuthorizationException ( "Authorization failed with Stored Token. token: null" ); + } + } + + /** + * ********************************** 获得token **************************************** + */ + /** + * authorize接口 + * + * @param string $redirectUri + * 授权后的回调地址,站外应用需与回调地址一致,站内应用需要填写canvas page的地址 + * @param string $responseType + * 支持的值包括 code 和token 默认值为code + * @param string $state + * 用于保持请求和回调的状态。在回调时,会在Query Parameter中回传该参数 + * @param string $display + * 授权页面类型 可选范围: + * @param bool $forcelogin + * 是否强制用户重新登录,true:是,false:否。默认false。 + * @param string $language + * 授权页语言,缺省为中文简体版,en为英文版。 + * @return array + */ + public function getAuthorizeURL($redirectUri, $responseType = 'code', $state = null, $display = null, $forcelogin = null, $scope = null) { + $params = array (); + $params ['client_id'] = $this->clientId; + $params ['redirect_uri'] = $redirectUri; + $params ['response_type'] = $responseType; + $params ['state'] = $state; + $params ['display'] = $display; + $params ['x_renew'] = $forcelogin; + $params ['scope'] = $scope; + return self::AUTHORIZATION_ENDPOINT . "?" . http_build_query ( $params ); + } + + /** + * 获取完整的token信息 + * + * @return array + */ + public function getTokens() { + return $this->tokens; + } + + /** + * 从token endpoint获得token + * + * @param string $grantType + * 请求的类型,可以为:code, password, token + * @param array $keys + * 其他参数: + * - 当$grant_type为code时: array('code'=>..., 'redirect_uri'=>...) + * - 当$grant_type为password时: array('username'=>..., 'password'=>...) + * - 当$grant_type为token时: array('refresh_token'=>...) + * @param + * string token_type token的类型,可以为:bearer,mac + * @return array + */ + public function getTokenFromTokenEndpoint($grantType, $keys, $tokenType = TokenType::MAC) { + $params = array (); + $params ['client_id'] = $this->clientId; + $params ['client_secret'] = $this->clientSecret; + $params ['token_type'] = $tokenType; + if ($grantType === 'token') { + $params ['grant_type'] = 'refresh_token'; + $params ['refresh_token'] = $keys ['refresh_token']; + } elseif ($grantType === 'code') { + $params ['grant_type'] = 'authorization_code'; + $params ['code'] = $keys ['code']; + $params ['redirect_uri'] = $keys ['redirect_uri']; + } elseif ($grantType === 'client_credentials') { + $params ['grant_type'] = 'client_credentials'; + } elseif ($grantType === 'password') { + $params ['grant_type'] = 'password'; + $params ['username'] = $keys ['username']; + $params ['password'] = $keys ['password']; + } else { + throw new ClientException ( "wrong auth type" ); + } + + // 获得token + $response = $this->http ( self::TOKEN_ENDPOINT, 'POST', http_build_query ( $params, null, '&' ) ); + $token = json_decode ( $response, true ); + $tokenObj = null; + if (is_array ( $token ) && ! isset ( $token ['error'] )) { + + $tokenType = null; + $accessToken = $token ['access_token']; + $refreshToken = null; + $macAlgorithm = null; + $macKey = null; + + if (isset ( $token ['refresh_token'] )) { + $refreshToken = $token ['refresh_token']; + } + // TODO use token type + if (isset ( $token ['mac_algorithm'] ) && isset ( $token ['mac_key'] )) { // mac token + $tokenType = TokenType::MAC; + $macAlgorithm = $token ['mac_algorithm']; + $macKey = $token ['mac_key']; + } else { // bearer token + $tokenType = TokenType::Bearer; + } + + $tokenObj = new AccessToken ( $tokenType, $accessToken, $refreshToken, $macKey, $macAlgorithm ); + $this->accessToken = $tokenObj; + + $this->tokens = $token; + } else { + throw new ClientException ( "Get access token failed. " . $token ['error'] . ": " . $token ['error_description'] ); + } + + // 存储token + $this->tokenStore->saveToken ( 'renren_' . $this->clientId, $tokenObj ); + + return $tokenObj; + } + + /** + * 从token存储中获得token + */ + private function getTokenFromTokenStore() { + $token = $this->tokenStore->loadToken ( 'renren_' . $this->clientId ); + $this->accessToken = $token; + return $token; + } + public function execute($path, $httpMethod, $queryParams, $bodyParams = null, $fileParams = null) { + $schema = "http"; + // 组装URL + if ($this->accessToken->type == TokenType::Bearer) { + $schema = "https"; + } + + // path & query + $url = $schema . "://" . self::API_HOST . $path; + $pathAndQuery = $path; + if (! empty ( $queryParams )) { // 注意:在get请求的url中,有参数有'?',无参数无'?' + $query = http_build_query ( $queryParams ); + if (!empty ($query)) { + $url = $url . '?' . $query; + $pathAndQuery = $path . '?' . $query; + } + } + + // headers + $headers = array (); + + // authorization header + if ($this->accessToken) { + $headers [] = $this->getAuthorizationHeader ( $schema, $pathAndQuery, $httpMethod ); + } + + // body + if (! empty ( $fileParams )) { + // body里的参数和文件参数都用multipart方式传输 + $boundary = uniqid ( '------------------' ); + $headers [] = "Content-Type: multipart/form-data; boundary=" . $boundary; + $body = $this->http_build_multipart_body ( $fileParams, $bodyParams, $boundary ); + $response = $this->http ( $url, $httpMethod, $body, $headers ); + } else { + $headers [] = 'Content-type: application/x-www-form-urlencoded'; + if (isset ( $bodyParams )) { + $body = http_build_query ( $bodyParams, null, '&' ); + $length = strlen ( $body ); + $headers [] = 'Content-length: ' . $length; + $response = $this->http ( $url, $httpMethod, $body, $headers ); + } else { + $headers [] = 'Content-length: 0'; + $response = $this->http ( $url, $httpMethod, null, $headers ); + } + } + + // // body + // if (isset ( $fileParams )) { + // // body里的参数和文件参数都用multipart方式传输 + // $headers [] = "Content-Type: multipart/form-data; boundary=" . self::$boundary; + // $body = $this->http_build_multipart_body ( $fileParams, $bodyParams ); + // $response = $this->http ( $url, $httpMethod, $body, $headers ); + // } else { + // if (isset ( $bodyParams )) { + // $body = http_build_query ( $bodyParams ); + // $response = $this->http ( $url, $httpMethod, $body, $headers ); + // } else { + // $response = $this->http ( $url, $httpMethod, null, $headers ); + // } + // } + + $result = json_decode ( $response, true ); + if (isset ( $result ['error'] ) && $result ['error']) { + throw new ServerException ( $result ['error'] ['code'], $result ['error'] ['message'] ); + } + return $result ['response']; + } + private function http_build_multipart_body($fileParams, $textParams, $boundary) { + $MPboundary = '--' . $boundary; + $endMPboundary = $MPboundary . '--'; + $multipartbody = ''; + + foreach ( $fileParams as $fileParamName => $fileUrl ) { + $content = file_get_contents ( $fileUrl ); + $array = explode ( '?', basename ( $fileUrl ) ); + $filename = $array [0]; + + $multipartbody .= $MPboundary . "\r\n"; + $multipartbody .= 'Content-Disposition: form-data; name="' . $fileParamName . '"; filename="' . $filename . '"' . "\r\n"; + $multipartbody .= "Content-Type: image/unknown\r\n\r\n"; + $multipartbody .= $content . "\r\n"; + } + + foreach ( $textParams as $param => $value ) { + $multipartbody .= $MPboundary . "\r\n"; + $multipartbody .= 'Content-Disposition: form-data; name="' . $param . "\"\r\n\r\n"; + $multipartbody .= $value . "\r\n"; + } + + $multipartbody .= $endMPboundary; + return $multipartbody; + } + // /** + // * Makes an HTTP request. + // * This method can be overridden by subclasses if + // * developers want to do fancier things or use something other than curl to + // * make the request. + // * + // * @param string $url + // * The URL to make the request to + // * @param array $postdata + // * The parameters to use for the POST body + // * @param CurlHandler $ch + // * Initialized curl handle + // * + // * @return string The response text + // */ + // protected function http($url, $method, $postdata = null, $header = array()) { + // $ch = curl_init (); + // $opts = self::$CURL_OPTS; + // $opts [CURLOPT_HTTPHEADER] = $header; + // if ($method === 'POST') { + // $opts [CURLOPT_POST] = true; + // $opts [CURLOPT_POSTFIELDS] = $postdata; + // } + // $opts [CURLOPT_URL] = $url; + // curl_setopt_array ( $ch, $opts ); + // $result = curl_exec ( $ch ); + // curl_close ( $ch ); + // return $result; + // } + /** + * Make an HTTP request + * + * @return string API results + */ + private function http($url, $method, $postfields = null, $headers = array()) { + $this->httpInfo = array (); + $ci = curl_init (); + /* Curl settings */ + curl_setopt ( $ci, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0 ); + curl_setopt ( $ci, CURLOPT_USERAGENT, self::USERAGENT ); + curl_setopt ( $ci, CURLOPT_CONNECTTIMEOUT, self::CONNECTTIMEOUT ); + curl_setopt ( $ci, CURLOPT_TIMEOUT, self::TIMEOUT ); + curl_setopt ( $ci, CURLOPT_RETURNTRANSFER, TRUE ); + curl_setopt ( $ci, CURLOPT_ENCODING, "" ); + curl_setopt ( $ci, CURLOPT_SSL_VERIFYPEER, FALSE ); + curl_setopt ( $ci, CURLOPT_SSL_VERIFYHOST, 2 ); + curl_setopt ( $ci, CURLOPT_HEADER, FALSE ); + + // 方法 + switch ($method) { + case 'POST' : + curl_setopt ( $ci, CURLOPT_POST, TRUE ); + if (! empty ( $postfields )) { + curl_setopt ( $ci, CURLOPT_POSTFIELDS, $postfields ); + $this->postdata = $postfields; + } + break; + case 'DELETE' : + curl_setopt ( $ci, CURLOPT_CUSTOMREQUEST, 'DELETE' ); + if (! empty ( $postfields )) { + $url = "{$url}?{$postfields}"; + } + } + + curl_setopt ( $ci, CURLOPT_URL, $url ); + curl_setopt ( $ci, CURLOPT_HTTPHEADER, $headers ); + curl_setopt ( $ci, CURLINFO_HEADER_OUT, TRUE ); + + $response = curl_exec ( $ci ); + $this->httpCode = curl_getinfo ( $ci, CURLINFO_HTTP_CODE ); + $this->httpInfo = array_merge ( $this->httpInfo, curl_getinfo ( $ci ) ); + + if ($this->debug) { + echo "=====post data======\r\n"; + var_dump ( $postfields ); + + echo "=====headers======\r\n"; + print_r ( $headers ); + + echo '=====request info=====' . "\r\n"; + print_r ( curl_getinfo ( $ci ) ); + + echo '=====response=====' . "\r\n"; + print_r ( $response ); + } + curl_close ( $ci ); + return $response; + } + + /** + * 根据token类型来获得认证头 + */ + private function getAuthorizationHeader($schema, $pathAndQuery, $method) { + // bearer token + if ($this->accessToken->type !== TokenType::MAC) { + return "Authorization:Bearer " . $this->accessToken->accessToken; + } + // mac token + // 根据签名方法名来获得签名方法 + $signMethod = $this->signatureMethodFactory->getSignatureMethod ( $this->accessToken->macAlgorithm ); + if (empty ( $signMethod )) { + throw new ClientException ( "wrong mac algorithm" ); + } + + // 签名相关参数 + $timestamp = intval ( time () / 1000 ); // 时间戳,以秒为单位,以客户端的时间为准 + $nonce = $this->generateRandomString ( 8 ); // 随机码,随即字符串,由客户端生成 + $ext = ""; // 其他信息,客户端自定义 + $host = self::API_HOST; // 目标服务器的主机 TODO 常量 + $port = $schema == "https" ? 443 : 80; + + // 签名的原始字符串 + $signatureBaseString = $timestamp . "\n" . $nonce . "\n" . $method . "\n" . $pathAndQuery . "\n" . $host . "\n" . $port . "\n" . $ext . "\n"; + + // 签名 + $signature = $signMethod->buildSignature ( $signatureBaseString, $this->accessToken->macKey ); + return sprintf ( "Authorization:MAC id=\"%s\",ts=\"%s\",nonce=\"%s\",mac=\"%s\"", $this->accessToken->accessToken, $timestamp, $nonce, $signature ); + } + + /** + * 生成随机字符串 + * + * @param integer $length + */ + private function generateRandomString($length = 8) { + // 密码字符集,可任意添加你需要的字符 + $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; + $random_str = ""; + for($i = 0; $i < $length; $i ++) { + // 这里提供两种字符获取方式 + // 第一种是使用 substr 截取$chars中的任意一位字符; + // $random_str .= substr($chars, mt_rand(0, strlen($chars) – 1), 1); + // 第二种是取字符数组 $chars 的任意元素 + $random_str .= $chars [mt_rand ( 0, strlen ( $chars ) - 1 )]; + } + return $random_str; + } + + /** + * 开启调试信息 + * + * 开启调试信息后,SDK会将每次请求微博API所发送的POST Data、Headers以及请求信息、返回内容输出出来。 + * + * @access public + * @param bool $enable + * 是否开启调试信息 + * @return void + */ + function setDebug($enable) { + $this->debug = $enable; + } +} +/** + * token类型 + */ +class TokenType { + const Bearer = "Bearer"; + const MAC = "MAC"; +} +class AccessToken { + public $type; + public $accessToken; + public $refreshToken; + public $macKey; + public $macAlgorithm; + function __construct($type, $accessToken, $refreshToken, $macKey, $macAlgorithm) { + $this->type = $type; + $this->accessToken = $accessToken; + $this->refreshToken = $refreshToken; + $this->macKey = $macKey; + $this->macAlgorithm = $macAlgorithm; + } +} + +/** + * oauth2异常 + */ +class RennException extends Exception { + // pass +} + +/** + * *************************** 客户端的异常 ************************************* + */ +/** + * 客户端的异常 + */ +class ClientException extends RennException { + // pass +} +class InvalideAuthorizationException extends ClientException { + // pass +} +class UnauthorizedException extends ClientException { + // pass +} + +/** + * *************************** 服务端的异常 ************************************* + */ +/** + * 服务端的异常 + */ +class ServerException extends RennException { + protected $errorCode; + + /** + * + * @param unknown $code + * code和message使用父类的属性 + * @param unknown $message + * code和message使用父类的属性 + * @param string $previous + */ + function __construct($code, $message, $previous = null) { + parent::__construct ( $message, null, $previous ); + $this->errorCode = $code; + } + function getErrorCode() { + return $this->errorCode; + } +} + + +/** + * http error code is 400. + * 请求参数错误,参数使业务逻辑无法正常运行下去。 + */ +class InvalidRequestException extends ServerException { + public function __construct($code, $message, $previous = null) { + parent::__construct ( $code, $message, $previous ); + } +} + +/** + * http error code is 401. + * 认证信息错误,token错误,签名错误等。 + */ +class InvalidAuthorizationException extends ServerException { + public function __construct($code, $message, $previous = null) { + parent::__construct ( $code, $message, $previous ); + } +} + +/** + * http error code is 403 认证通过,但是也不允许其访问。例如超配额 + */ +class ForbiddenException extends ServerException { + public function __construct($code, $message, $previous = null) { + parent::__construct ( $code, $message, $previous ); + } +} + +/** + * http error code is 500 内部错误 + */ +class InternalErrorException extends ServerException { + public function __construct($code, $message, $previous = null) { + parent::__construct ( $code, $message, $previous ); + } +} + +/** + * oauth签名方法的工厂 + */ +class OAuth2SignatureMethodFactory { + + /* 签名方法的数组 */ + private $signature_methods; + function __construct() { + $this->signature_methods = array (); + // 注册HMAC_SHA1签名方法 + $signatureMethod_HMAC_SHA1 = new OAuth2SignatureMethod_HMAC_SHA1 (); + $this->signature_methods [$signatureMethod_HMAC_SHA1->getName ()] = $signatureMethod_HMAC_SHA1; + } + + /** + * 根据方法名来获得签名方法 + * + * @param string $methodName + * @return OAuth2SignatureMethod + */ + function getSignatureMethod($methodName) { + return $this->signature_methods [$methodName]; + } +} + +/** + * oauth签名方法 + * A class for implementing a Signature Method + * See section 9 ("Signing Requests") in the spec + */ +abstract class OAuth2SignatureMethod { + /** + * 获得签名方法名 + * Needs to return the name of the Signature Method (ie HMAC-SHA1) + * + * @return string + */ + abstract public function getName(); + + /** + * 生成 签名 + * Build up the signature + * NOTE: The output of this function MUST NOT be urlencoded. + * the encoding is handled in OAuthRequest when the final + * request is serialized + * + * @param string $signatureBaseString + * @param string $signatureSecret + * @return string + */ + abstract public function buildSignature($signatureBaseString, $signatureSecret); + + /** + * 检验签名 + * Verifies that a given signature is correct + * + * @param string $signatureBaseString + * @param string $signatureSecret + * @param string $signature + * @return bool + */ + public function checkSignature($signatureBaseString, $signatureSecret, $signature) { + $built = $this->buildSignature ( $signatureBaseString, $signatureSecret ); + return $built == $signature; + } +} + +/** + * 基于HMAC_SHA1算法的签名方法 + * The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104] + * where the Signature Base String is the text and the key is the concatenated values (each first + * encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&' + * character (ASCII code 38) even if empty. + * - Chapter 9.2 ("HMAC-SHA1") + */ +class OAuth2SignatureMethod_HMAC_SHA1 extends OAuth2SignatureMethod { + /** + * 获得签名方法名 + * + * @see OAuthSignatureMethod::get_name() + */ + function getName() { + return "hmac-sha-1"; + } + + /** + * 生成 签名 + * + * @see OAuthSignatureMethod::build_signature() + */ + public function buildSignature($signatureBaseString, $signatureSecret) { + return base64_encode ( hash_hmac ( 'sha1', $signatureBaseString, $signatureSecret, true ) ); + } +} + +/** + * token存储 + */ +interface TokenStore { + + /** + * 加载token + * + * @param string $key + * @return array 成功返回array('access_token'=>'value', 'refresh_token'=>'value'); 失败返回false + */ + public function loadToken($key); + + /** + * 保存token + * + * @param string $key + * @param array $token + */ + public function saveToken($key, $token); +} + +/** + * 基于cookie的token存储 + */ +class CookieTokenStore implements TokenStore { + /** + * 加载token + * + * @param string $key + * @return array 成功返回array('access_token'=>'value', 'refresh_token'=>'value'); 失败返回false + */ + public function loadToken($key) { + if (isset ( $_COOKIE [$key] ) && $cookie = $_COOKIE [$key]) { + parse_str ( $cookie, $token ); + return new AccessToken ( $token ['type'], $token ['accessToken'], isset ( $token ['refreshToken'] ) ? $token ['refreshToken'] : null, isset ( $token ['macKey'] ) ? $token ['macKey'] : null, isset ( $token ['macAlgorithm'] ) ? $token ['macAlgorithm'] : null ); + } else { + return null; + } + } + + /** + * 保存token + * + * @param string $key + * @param array $token + */ + public function saveToken($key, $token) { +// echo $key; + setcookie ( $key, http_build_query ( $token ) ); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/AlbumService.php b/library/Plugin/Partner/renren/class/service/AlbumService.php new file mode 100644 index 0000000..36071e6 --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/AlbumService.php @@ -0,0 +1,78 @@ +<?php + +class AlbumService extends RennServiceBase { + /** + * 以分页的方式获取某个用户的相册列表 + * <br />对应API:{$link http://dev.renren.com/API/v2/album/list } + * @param Long $ownerId 相册所有者的ID + * @param Integer $pageSize 页面大小。取值范围1-100,默认大小20 + * @param Integer $pageNumber 页码。取值大于零,默认值为1 + * @return Album 相册 + */ + function listAlbum($ownerId, $pageSize, $pageNumber) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($ownerId)) { + $params ['ownerId'] = $ownerId; + } + if (isset($pageSize)) { + $params ['pageSize'] = $pageSize; + } + if (isset($pageNumber)) { + $params ['pageNumber'] = $pageNumber; + } + return $this->client->execute('/v2/album/list', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 获取某个用户的某个相册 + * <br />对应API:{$link http://dev.renren.com/API/v2/album/get } + * @param Long $albumId 相册的ID + * @param Long $ownerId 相册所有者的ID + * @return Album 相册 + */ + function getAlbum($albumId, $ownerId) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($albumId)) { + $params ['albumId'] = $albumId; + } + if (isset($ownerId)) { + $params ['ownerId'] = $ownerId; + } + return $this->client->execute('/v2/album/get', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 创建一个相册 + * <br />对应API:{$link http://dev.renren.com/API/v2/album/put } + * @param String $location 相册拍摄的地点。不能超过60个字符。 + * @param String $description 相册的描述。不能超过200个字符。 + * @param String $name 相册的名字。不能超过30个字符 + * @param AccessControl $accessControl 相册的访问控制 + * @param String $password 相册的访问密码,1-16个字符 + * @return Album 相册 + */ + function putAlbum($location, $description, $name, $accessControl, $password) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($location)) { + $params ['location'] = $location; + } + if (isset($description)) { + $params ['description'] = $description; + } + if (isset($name)) { + $params ['name'] = $name; + } + if (isset($accessControl)) { + $params ['accessControl'] = $accessControl; + } + if (isset($password)) { + $params ['password'] = $password; + } + return $this->client->execute('/v2/album/put', 'POST', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/AppService.php b/library/Plugin/Partner/renren/class/service/AppService.php new file mode 100644 index 0000000..99f239d --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/AppService.php @@ -0,0 +1,16 @@ +<?php + +class AppService extends RennServiceBase { + /** + * 获取某个应用的信息,部分信息取自缓存,不能立即生效 + * <br />对应API:{$link http://dev.renren.com/API/v2/app/get } + * @return App App + */ + function getApp() { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + return $this->client->execute('/v2/app/get', 'GET', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/BlogService.php b/library/Plugin/Partner/renren/class/service/BlogService.php new file mode 100644 index 0000000..2049331 --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/BlogService.php @@ -0,0 +1,78 @@ +<?php + +class BlogService extends RennServiceBase { + /** + * 以分页的方式获取某个用户的日志列表 + * <br />对应API:{$link http://dev.renren.com/API/v2/blog/list } + * @param Long $ownerId 日志所有者的ID + * @param Integer $pageSize 页面大小。取值范围1-20,默认大小10 + * @param Integer $pageNumber 页码。取值大于零,默认值为1 + * @return Blog 日志 + */ + function listBlog($ownerId, $pageSize, $pageNumber) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($ownerId)) { + $params ['ownerId'] = $ownerId; + } + if (isset($pageSize)) { + $params ['pageSize'] = $pageSize; + } + if (isset($pageNumber)) { + $params ['pageNumber'] = $pageNumber; + } + return $this->client->execute('/v2/blog/list', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 创建一篇日志 + * <br />对应API:{$link http://dev.renren.com/API/v2/blog/put } + * @param String $title 日志的标题 + * @param AccessControl $accessControl 日志的访问控制 + * @param String $password 日志的访问密码,1-16个字符 + * @param $paramter.simpleType2 $content 日志的内容 + * @return Blog 日志 + */ + function putBlog($title, $accessControl, $password, $content) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($title)) { + $params ['title'] = $title; + } + if (isset($accessControl)) { + $params ['accessControl'] = $accessControl; + } + if (isset($password)) { + $params ['password'] = $password; + } + if (isset($content)) { + $bodyParams ['content'] = $content; + } + return $this->client->execute('/v2/blog/put', 'POST', $params, $bodyParams, $fileParams); + } + /** + * 获取某个用户的某篇日志 + * <br />对应API:{$link http://dev.renren.com/API/v2/blog/get } + * @param Long $ownerId 日志所有者的ID + * @param Long $blogId 日志的ID + * @param String $password 日志访问密码 + * @return Blog 日志 + */ + function getBlog($ownerId, $blogId, $password) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($ownerId)) { + $params ['ownerId'] = $ownerId; + } + if (isset($blogId)) { + $params ['blogId'] = $blogId; + } + if (isset($password)) { + $params ['password'] = $password; + } + return $this->client->execute('/v2/blog/get', 'GET', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/CommentService.php b/library/Plugin/Partner/renren/class/service/CommentService.php new file mode 100644 index 0000000..b5df46b --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/CommentService.php @@ -0,0 +1,71 @@ +<?php + +class CommentService extends RennServiceBase { + /** + * 对某个对象(日志、状态、照片、相册、分享等)进行评论 + * <br />对应API:{$link http://dev.renren.com/API/v2/comment/put } + * @param String $content 评论内容。状态评论字数限制为240个字符,其余字数限制为500个字符。 + * @param Long $targetUserId 评论回复目标用户的ID,若为0或不传此参数为:添加一条评论 + * @param CommentType $commentType 评论的类型 + * @param Long $entryOwnerId 评论对象所有者的ID + * @param Long $entryId 被评论对象的ID + * @return Comment 评论 + */ + function putComment($content, $targetUserId, $commentType, $entryOwnerId, $entryId) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($content)) { + $params ['content'] = $content; + } + if (isset($targetUserId)) { + $params ['targetUserId'] = $targetUserId; + } + if (isset($commentType)) { + $params ['commentType'] = $commentType; + } + if (isset($entryOwnerId)) { + $params ['entryOwnerId'] = $entryOwnerId; + } + if (isset($entryId)) { + $params ['entryId'] = $entryId; + } + return $this->client->execute('/v2/comment/put', 'POST', $params, $bodyParams, $fileParams); + } + /** + * 以分页的方式获取某个UGC的评论 + * <br />对应API:{$link http://dev.renren.com/API/v2/comment/list } + * @param Boolean $desc 是否降序。true:按评论时间降序;false:按评论时间升序;默认:true,按评论时间降序。 + * @param Integer $pageSize 页面大小。取值范围1-100,默认大小20 + * @param Integer $pageNumber 页码。取值大于零,默认值为1 + * @param CommentType $commentType 评论的类型 + * @param Long $entryOwnerId 评论对象所有者的ID + * @param Long $entryId 被评论对象的ID + * @return Comment 评论 + */ + function listComment($desc, $pageSize, $pageNumber, $commentType, $entryOwnerId, $entryId) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($desc)) { + $params ['desc'] = $desc; + } + if (isset($pageSize)) { + $params ['pageSize'] = $pageSize; + } + if (isset($pageNumber)) { + $params ['pageNumber'] = $pageNumber; + } + if (isset($commentType)) { + $params ['commentType'] = $commentType; + } + if (isset($entryOwnerId)) { + $params ['entryOwnerId'] = $entryOwnerId; + } + if (isset($entryId)) { + $params ['entryId'] = $entryId; + } + return $this->client->execute('/v2/comment/list', 'GET', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/FeedService.php b/library/Plugin/Partner/renren/class/service/FeedService.php new file mode 100644 index 0000000..885d880 --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/FeedService.php @@ -0,0 +1,83 @@ +<?php + +class FeedService extends RennServiceBase { + /** + * 发送自定义新鲜事。新鲜事会发布用户的个人动态信息到用户人人网主页,<br> 同时会出现在好友的新鲜事中。 + * <br />对应API:{$link http://dev.renren.com/API/v2/feed/put } + * @param String $message 用户输入的自定义内容。注意:最多200个字符 + * @param String $title 新鲜事标题 注意:最多30个字符 + * @param String $actionTargetUrl 新鲜事动作模块链接 + * @param String $imageUrl 新鲜事图片地址 + * @param String $description 新鲜事主体内容 注意:最多200个字符。 + * @param String $subtitle 新鲜事副标题 注意:最多20个字符 + * @param String $actionName 新鲜事动作模块文案。 注意:最多10个字符 + * @param String $targetUrl 新鲜事标题和图片指向的链接 + * @return Long 发布新鲜事的ID + */ + function putFeed($message, $title, $actionTargetUrl, $imageUrl, $description, $subtitle, $actionName, $targetUrl) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($message)) { + $params ['message'] = $message; + } + if (isset($title)) { + $params ['title'] = $title; + } + if (isset($actionTargetUrl)) { + $params ['actionTargetUrl'] = $actionTargetUrl; + } + if (isset($imageUrl)) { + $params ['imageUrl'] = $imageUrl; + } + if (isset($description)) { + $params ['description'] = $description; + } + if (isset($subtitle)) { + $params ['subtitle'] = $subtitle; + } + if (isset($actionName)) { + $params ['actionName'] = $actionName; + } + if (isset($targetUrl)) { + $params ['targetUrl'] = $targetUrl; + } + return $this->client->execute('/v2/feed/put', 'POST', $params, $bodyParams, $fileParams); + } + /** + * 根据新鲜事类型获取新鲜事列表 + * <br />对应API:{$link http://dev.renren.com/API/v2/feed/list } + * @param FeedType $feedType 新鲜事类型 + * @param Long $userId 用户id,不传时表示获取当前用户人人网首页新鲜事,否则获取对应用户的个人主页新鲜事 + * @param Integer $pageSize 页面大小。取值范围1-100,默认大小30 + * @param Integer $pageNumber 页数,取值大于0,默认值为1 + * @return Feed 新鲜事 + */ + function listFeed($feedType, $userId, $pageSize, $pageNumber) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($feedType)) { + $feedTypeList=null; + foreach($feedType as $value) { + if($feedTypeList == null) { + $feedTypeList = strval($value); + } else { + $feedTypeList =$feedTypeList.",".strval($value); + } + } + $params ['feedType'] = $feedTypeList; + } + if (isset($userId)) { + $params ['userId'] = $userId; + } + if (isset($pageSize)) { + $params ['pageSize'] = $pageSize; + } + if (isset($pageNumber)) { + $params ['pageNumber'] = $pageNumber; + } + return $this->client->execute('/v2/feed/list', 'GET', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/FriendService.php b/library/Plugin/Partner/renren/class/service/FriendService.php new file mode 100644 index 0000000..2e73caf --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/FriendService.php @@ -0,0 +1,28 @@ +<?php + +class FriendService extends RennServiceBase { + /** + * 获取某个用户的好友ID列表 + * <br />对应API:{$link http://dev.renren.com/API/v2/friend/list } + * @param Long $userId 用户ID。该字段默认为当前用户 + * @param Integer $pageSize 页面大小。默认大小500。 + * @param Integer $pageNumber 页码。取值大于零,默认值为1 + * @return Integer [] 好友ID列表 + */ + function listFriend($userId, $pageSize, $pageNumber) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($userId)) { + $params ['userId'] = $userId; + } + if (isset($pageSize)) { + $params ['pageSize'] = $pageSize; + } + if (isset($pageNumber)) { + $params ['pageNumber'] = $pageNumber; + } + return $this->client->execute('/v2/friend/list', 'GET', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/InvitationService.php b/library/Plugin/Partner/renren/class/service/InvitationService.php new file mode 100644 index 0000000..f0d1fa3 --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/InvitationService.php @@ -0,0 +1,36 @@ +<?php + +class InvitationService extends RennServiceBase { + /** + * 发送邀请 + * <br />对应API:{$link http://dev.renren.com/API/v2/invitation/put } + * @param InvitationType $invitationType 邀请类别,默认为应用邀请 + * @param Long $userId 被邀请用户id + * @param String $img 图片链接 + * @param String $gitName 礼物名称,InvitationType为GIFT时有效,不能超过6个字符 + * @param String $url 应用的链接地址 + * @return Invitation 邀请信息 + */ + function putInvitation($invitationType, $userId, $img, $gitName, $url) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($invitationType)) { + $params ['invitationType'] = $invitationType; + } + if (isset($userId)) { + $params ['userId'] = $userId; + } + if (isset($img)) { + $params ['img'] = $img; + } + if (isset($gitName)) { + $params ['gitName'] = $gitName; + } + if (isset($url)) { + $params ['url'] = $url; + } + return $this->client->execute('/v2/invitation/put', 'POST', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/LikeService.php b/library/Plugin/Partner/renren/class/service/LikeService.php new file mode 100644 index 0000000..5882acc --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/LikeService.php @@ -0,0 +1,78 @@ +<?php + +class LikeService extends RennServiceBase { + /** + * 取消对站内资源的赞。 + * <br />对应API:{$link http://dev.renren.com/API/v2/like/ugc/remove } + * @param Long $ugcOwnerId UGC所有者的用户ID + * @param LikeUGCType $likeUGCType + * @param Long $ugcId UGC的ID + * @return Integer 取消成功返回1 + */ + function removeLikeUgc($ugcOwnerId, $likeUGCType, $ugcId) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($ugcOwnerId)) { + $params ['ugcOwnerId'] = $ugcOwnerId; + } + if (isset($likeUGCType)) { + $params ['likeUGCType'] = $likeUGCType; + } + if (isset($ugcId)) { + $params ['ugcId'] = $ugcId; + } + return $this->client->execute('/v2/like/ugc/remove', 'POST', $params, $bodyParams, $fileParams); + } + /** + * 赞人人内部资源,相册、照片、日志、分享、视频等。 + * <br />对应API:{$link http://dev.renren.com/API/v2/like/ugc/put } + * @param Long $ugcOwnerId UGC所有者的用户ID + * @param LikeUGCType $likeUGCType + * @param Long $ugcId UGC的ID + * @return Integer 赞成功返回1 + */ + function putLikeUgc($ugcOwnerId, $likeUGCType, $ugcId) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($ugcOwnerId)) { + $params ['ugcOwnerId'] = $ugcOwnerId; + } + if (isset($likeUGCType)) { + $params ['likeUGCType'] = $likeUGCType; + } + if (isset($ugcId)) { + $params ['ugcId'] = $ugcId; + } + return $this->client->execute('/v2/like/ugc/put', 'POST', $params, $bodyParams, $fileParams); + } + /** + * 获取站内资源被赞的次数。 + * <br />对应API:{$link http://dev.renren.com/API/v2/like/ugc/info/get } + * @param Integer $limit 最多返回喜欢此资源的用户数,最大为50,默认值为10。 + * @param Boolean $withLikeUsers 是否包含喜欢此资源的用户 + * @param LikeUGCType $likeUGCType 可以赞的UGC类型。 + * @param Long $ugcId UGC的ID + * @return LikeInfo 获取资源被喜欢的信息,包括喜欢数、当前用户是否喜欢 + */ + function getLikeUgcInfo($limit, $withLikeUsers, $likeUGCType, $ugcId) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($limit)) { + $params ['limit'] = $limit; + } + if (isset($withLikeUsers)) { + $params ['withLikeUsers'] = $withLikeUsers; + } + if (isset($likeUGCType)) { + $params ['likeUGCType'] = $likeUGCType; + } + if (isset($ugcId)) { + $params ['ugcId'] = $ugcId; + } + return $this->client->execute('/v2/like/ugc/info/get', 'GET', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/NotificationService.php b/library/Plugin/Partner/renren/class/service/NotificationService.php new file mode 100644 index 0000000..101c1da --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/NotificationService.php @@ -0,0 +1,59 @@ +<?php + +class NotificationService extends RennServiceBase { + /** + * 以用户身份向用户发送通知 + * <br />对应API:{$link http://dev.renren.com/API/v2/notification/user/put } + * @param String $content 通知的内容,可以是XNML类型的文本信息,支持的XNML有<xn:name/>和<a/>,请注意:使用<xn:name/>标签的时候,其uid属性值只能是真实的用户id(阿拉伯数字)。例如:hello,<xn:name uid="200032219" linked="true"/> ,去看看这部电影<a href="http://www.tudou.com/programs/view/Tzpw9PIj8zM/">狮子王</a>。通知长度不能大于500个字符 + * @param Long $userIds 接收通知的用户列表。这些用户必须是当前登录用户的好友或应用安装用户。请确保一次传入的用户id数少于20个。不能给当前用户发送通知,发送的通知会被忽略 + * @return Integer 发送成功返回1 + */ + function putNotificationUser($content, $userIds) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($content)) { + $params ['content'] = $content; + } + if (isset($userIds)) { + $userIdsList=null; + foreach($userIds as $value) { + if($userIdsList == null) { + $userIdsList = strval($value); + } else { + $userIdsList =$userIdsList.",".strval($value); + } + } + $params ['userIds'] = $userIdsList; + } + return $this->client->execute('/v2/notification/user/put', 'POST', $params, $bodyParams, $fileParams); + } + /** + * 以应用身份向用户发送通知 + * <br />对应API:{$link http://dev.renren.com/API/v2/notification/app/put } + * @param String $content 通知的内容,可以是XNML类型的文本信息,支持的XNML有<xn:name/>和<a/>,请注意:使用<xn:name/>标签的时候,其uid属性值只能是真实的用户id(阿拉伯数字)。例如:hello,<xn:name uid="200032219" linked="true"/> ,去看看这部电影<a href="http://www.tudou.com/programs/view/Tzpw9PIj8zM/">狮子王</a>。通知长度不能大于500个字符 + * @param Long $userIds 接收通知的用户列表。这些用户必须安装了此应用。请确保一次传入的用户id数少于20个 + * @return Integer 发送成功返回1 + */ + function putNotificationApp($content, $userIds) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($content)) { + $params ['content'] = $content; + } + if (isset($userIds)) { + $userIdsList=null; + foreach($userIds as $value) { + if($userIdsList == null) { + $userIdsList = strval($value); + } else { + $userIdsList =$userIdsList.",".strval($value); + } + } + $params ['userIds'] = $userIdsList; + } + return $this->client->execute('/v2/notification/app/put', 'POST', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/PhotoService.php b/library/Plugin/Partner/renren/class/service/PhotoService.php new file mode 100644 index 0000000..1177f85 --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/PhotoService.php @@ -0,0 +1,86 @@ +<?php + +class PhotoService extends RennServiceBase { + /** + * 上传照片至用户相册。此接口需要采用multipart/form-data的编码方式。 + * <br />对应API:{$link http://dev.renren.com/API/v2/photo/upload } + * @param Long $albumId 相册ID,albumId省略时会上传到应用相册 + * @param String $description 照片描述。不能超过200个字符 + * @param $paramter.simpleType2 $file 照片 + * @return Photo 照片 + */ + function uploadPhoto($albumId, $description, $file) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($albumId)) { + $params ['albumId'] = $albumId; + } + if (isset($description)) { + $params ['description'] = $description; + } + if (isset($file)) { + $fileParams ['file'] = $file; + } + return $this->client->execute('/v2/photo/upload', 'POST', $params, $bodyParams, $fileParams); + } + /** + * 获取某个用户某个相册里的某张照片 + * <br />对应API:{$link http://dev.renren.com/API/v2/photo/get } + * @param Long $albumId 相册的ID + * @param Long $photoId 照片的ID + * @param Long $ownerId 相册所有者的ID + * @param String $password 相册的密码 + * @return Photo 照片 + */ + function getPhoto($albumId, $photoId, $ownerId, $password) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($albumId)) { + $params ['albumId'] = $albumId; + } + if (isset($photoId)) { + $params ['photoId'] = $photoId; + } + if (isset($ownerId)) { + $params ['ownerId'] = $ownerId; + } + if (isset($password)) { + $params ['password'] = $password; + } + return $this->client->execute('/v2/photo/get', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 以分页的方式获取某个用户某个相册里的照片列表 + * <br />对应API:{$link http://dev.renren.com/API/v2/photo/list } + * @param Long $albumId 相册的ID + * @param Long $ownerId 相册所有者的ID + * @param Integer $pageSize 页面大小。取值范围1-100,默认大小20 + * @param Integer $pageNumber 页码。取值大于零,默认值为1 + * @param String $password 相册的密码, + * @return Photo 照片 + */ + function listPhoto($albumId, $ownerId, $pageSize, $pageNumber, $password) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($albumId)) { + $params ['albumId'] = $albumId; + } + if (isset($ownerId)) { + $params ['ownerId'] = $ownerId; + } + if (isset($pageSize)) { + $params ['pageSize'] = $pageSize; + } + if (isset($pageNumber)) { + $params ['pageNumber'] = $pageNumber; + } + if (isset($password)) { + $params ['password'] = $password; + } + return $this->client->execute('/v2/photo/list', 'GET', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/ProfileService.php b/library/Plugin/Partner/renren/class/service/ProfileService.php new file mode 100644 index 0000000..ba04a6d --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/ProfileService.php @@ -0,0 +1,20 @@ +<?php + +class ProfileService extends RennServiceBase { + /** + * 获取用户的主页信息,包括各种统计数据。 + * <br />对应API:{$link http://dev.renren.com/API/v2/profile/get } + * @param Long $userId 用户ID + * @return Profile 个人主页信息 + */ + function getProfile($userId) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($userId)) { + $params ['userId'] = $userId; + } + return $this->client->execute('/v2/profile/get', 'GET', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/RennServiceBase.php b/library/Plugin/Partner/renren/class/service/RennServiceBase.php new file mode 100644 index 0000000..17c4858 --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/RennServiceBase.php @@ -0,0 +1,13 @@ +<?php +class RennServiceBase { + protected $client; + protected $accessToken; + + /** + * 构造函数 + */ + function __construct($client, $accessToken) { + $this->client = $client; + $this->accessToken = $accessToken; + } +} \ No newline at end of file diff --git a/library/Plugin/Partner/renren/class/service/ShareService.php b/library/Plugin/Partner/renren/class/service/ShareService.php new file mode 100644 index 0000000..adda190 --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/ShareService.php @@ -0,0 +1,116 @@ +<?php + +class ShareService extends RennServiceBase { + /** + * 分享人人网内部UGC资源,例如:日志、照片、相册、分享(基于已有分享再次进行分享) + * <br />对应API:{$link http://dev.renren.com/API/v2/share/ugc/put } + * @param Long $ugcOwnerId UGC所有者的用户ID + * @param String $comment 分享时用户的评论,评论字数不能超过500字符 + * @param Long $ugcId UGC的ID + * @param UGCType $ugcType UGC的类型。 + * @return Share 分享 + */ + function putShareUgc($ugcOwnerId, $comment, $ugcId, $ugcType) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($ugcOwnerId)) { + $params ['ugcOwnerId'] = $ugcOwnerId; + } + if (isset($comment)) { + $params ['comment'] = $comment; + } + if (isset($ugcId)) { + $params ['ugcId'] = $ugcId; + } + if (isset($ugcType)) { + $params ['ugcType'] = $ugcType; + } + return $this->client->execute('/v2/share/ugc/put', 'POST', $params, $bodyParams, $fileParams); + } + /** + * 获取人人推荐资源 + * <br />对应API:{$link http://dev.renren.com/API/v2/share/hot/list } + * @param Integer $pageSize 页面大小。取值范围1-50,默认大小20 + * @param Integer $pageNumber 页码。取值大于零,默认值为1 + * @param ShareType $shareType 分享类型 + * @return Share 分享 + */ + function listShareHot($pageSize, $pageNumber, $shareType) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($pageSize)) { + $params ['pageSize'] = $pageSize; + } + if (isset($pageNumber)) { + $params ['pageNumber'] = $pageNumber; + } + if (isset($shareType)) { + $params ['shareType'] = $shareType; + } + return $this->client->execute('/v2/share/hot/list', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 分享人人网外部资源,例如:视频、图片等<br> 如果要分享一张本地照片到人人网(即上传),建议使用[http://wiki.dev.renren.com/wiki/v2/photo/upload /v2/photo/upload]接口 + * <br />对应API:{$link http://dev.renren.com/API/v2/share/url/put } + * @param String $comment 分享时用户的评论,评论字数不能超过500个字符 + * @param String $url 分享资源的URL + * @return Share 分享 + */ + function putShareUrl($comment, $url) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($comment)) { + $params ['comment'] = $comment; + } + if (isset($url)) { + $params ['url'] = $url; + } + return $this->client->execute('/v2/share/url/put', 'POST', $params, $bodyParams, $fileParams); + } + /** + * 获取某个用户的某个分享 + * <br />对应API:{$link http://dev.renren.com/API/v2/share/get } + * @param Long $shareId 分享ID + * @param Long $ownerId 分享所有者ID + * @return Share 分享 + */ + function getShare($shareId, $ownerId) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($shareId)) { + $params ['shareId'] = $shareId; + } + if (isset($ownerId)) { + $params ['ownerId'] = $ownerId; + } + return $this->client->execute('/v2/share/get', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 以分页的方式获取某个用户的分享列表 + * <br />对应API:{$link http://dev.renren.com/API/v2/share/list } + * @param Long $ownerId 分享所有者ID + * @param Integer $pageSize 页面大小。取值范围1-100,默认大小20 + * @param Integer $pageNumber 页码。取值大于零,默认值为1 + * @return Share 分享 + */ + function listShare($ownerId, $pageSize, $pageNumber) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($ownerId)) { + $params ['ownerId'] = $ownerId; + } + if (isset($pageSize)) { + $params ['pageSize'] = $pageSize; + } + if (isset($pageNumber)) { + $params ['pageNumber'] = $pageNumber; + } + return $this->client->execute('/v2/share/list', 'GET', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/StatusService.php b/library/Plugin/Partner/renren/class/service/StatusService.php new file mode 100644 index 0000000..00d7ecc --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/StatusService.php @@ -0,0 +1,85 @@ +<?php + +class StatusService extends RennServiceBase { + /** + * 获取用户状态 + * <br />对应API:{$link http://dev.renren.com/API/v2/status/get } + * @param Long $statusId 状态ID + * @param Long $ownerId 状态所有者的用户ID + * @return Status 状态 + */ + function getStatus($statusId, $ownerId) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($statusId)) { + $params ['statusId'] = $statusId; + } + if (isset($ownerId)) { + $params ['ownerId'] = $ownerId; + } + return $this->client->execute('/v2/status/get', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 更新用户状态 + * <br />对应API:{$link http://dev.renren.com/API/v2/status/put } + * @param String $content 状态的内容。状态内容不能长于240个字符。内容中的UBB表情代码未经过处理,需要开发者自行进行替换。UBB表情参见:[http://wiki.dev.renren.com/wiki/V2/ubb/list 获取人人网ubb列表] + * @return Status 状态 + */ + function putStatus($content) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($content)) { + $params ['content'] = $content; + } + return $this->client->execute('/v2/status/put', 'POST', $params, $bodyParams, $fileParams); + } + /** + * 获取用户状态列表 + * <br />对应API:{$link http://dev.renren.com/API/v2/status/list } + * @param Long $ownerId 状态所有者的用户ID + * @param Integer $pageSize 页面大小。取值范围1-100,默认大小20 + * @param Integer $pageNumber 页码。取值大于零,默认值为1 + * @return Status 状态 + */ + function listStatus($ownerId, $pageSize, $pageNumber) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($ownerId)) { + $params ['ownerId'] = $ownerId; + } + if (isset($pageSize)) { + $params ['pageSize'] = $pageSize; + } + if (isset($pageNumber)) { + $params ['pageNumber'] = $pageNumber; + } + return $this->client->execute('/v2/status/list', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 分享用户状态 + * <br />对应API:{$link http://dev.renren.com/API/v2/status/share } + * @param String $content 状态的内容。状态内容不能长于240个字符。内容中的UBB表情代码未经过处理,需要开发者自行进行替换。UBB表情参见:[http://wiki.dev.renren.com/wiki/V2/ubb/list 获取人人网ubb列表] + * @param Long $statusId 状态ID + * @param Long $ownerId 状态所有者的用户ID + * @return Status 状态 + */ + function shareStatus($content, $statusId, $ownerId) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($content)) { + $params ['content'] = $content; + } + if (isset($statusId)) { + $params ['statusId'] = $statusId; + } + if (isset($ownerId)) { + $params ['ownerId'] = $ownerId; + } + return $this->client->execute('/v2/status/share', 'POST', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/UbbService.php b/library/Plugin/Partner/renren/class/service/UbbService.php new file mode 100644 index 0000000..ef7ac77 --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/UbbService.php @@ -0,0 +1,16 @@ +<?php + +class UbbService extends RennServiceBase { + /** + * 获取人人网ubb列表 + * <br />对应API:{$link http://dev.renren.com/API/v2/ubb/list } + * @return Ubb UBB表情 + */ + function listUbb() { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + return $this->client->execute('/v2/ubb/list', 'GET', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/Partner/renren/class/service/UserService.php b/library/Plugin/Partner/renren/class/service/UserService.php new file mode 100644 index 0000000..09b94b6 --- /dev/null +++ b/library/Plugin/Partner/renren/class/service/UserService.php @@ -0,0 +1,114 @@ +<?php + +class UserService extends RennServiceBase { + /** + * 批量获取用户信息 + * <br />对应API:{$link http://dev.renren.com/API/v2/user/batch } + * @param Long $userIds 批量获取的用户IDs,最多支持50个 + * @return User 用户 + */ + function batchUser($userIds) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($userIds)) { + $userIdsList=null; + foreach($userIds as $value) { + if($userIdsList == null) { + $userIdsList = strval($value); + } else { + $userIdsList =$userIdsList.",".strval($value); + } + } + $params ['userIds'] = $userIdsList; + } + return $this->client->execute('/v2/user/batch', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 获取用户信息 + * <br />对应API:{$link http://dev.renren.com/API/v2/user/get } + * @param Long $userId 用户ID + * @return User 用户 + */ + function getUser($userId) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($userId)) { + $params ['userId'] = $userId; + } + return $this->client->execute('/v2/user/get', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 获取某个用户的好友列表 + * <br />对应API:{$link http://dev.renren.com/API/v2/user/friend/list } + * @param Long $userId 用户ID + * @param Integer $pageSize 页面大小。取值范围1-100,默认大小20 + * @param Integer $pageNumber 页码。取值大于零,默认值为1 + * @return User 用户 + */ + function listUserFriend($userId, $pageSize, $pageNumber) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($userId)) { + $params ['userId'] = $userId; + } + if (isset($pageSize)) { + $params ['pageSize'] = $pageSize; + } + if (isset($pageNumber)) { + $params ['pageNumber'] = $pageNumber; + } + return $this->client->execute('/v2/user/friend/list', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 获取当前登录用户未安装某应用里的好友列表 + * <br />对应API:{$link http://dev.renren.com/API/v2/user/friend/uninstall/list } + * @return User 用户 + */ + function listUserFriendUninstall() { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + return $this->client->execute('/v2/user/friend/uninstall/list', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 以分页的方式获取某个用户与当前登录用户的共同好友 + * <br />对应API:{$link http://dev.renren.com/API/v2/user/friend/mutual/list } + * @param Long $userId 用户ID + * @return User 用户 + */ + function listUserFriendMutual($userId) { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + if (isset($userId)) { + $params ['userId'] = $userId; + } + return $this->client->execute('/v2/user/friend/mutual/list', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 获取当前登录用户在某个应用里的好友列表 + * <br />对应API:{$link http://dev.renren.com/API/v2/user/friend/app/list } + * @return User 用户 + */ + function listUserFriendApp() { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + return $this->client->execute('/v2/user/friend/app/list', 'GET', $params, $bodyParams, $fileParams); + } + /** + * 获取当前登录用户信息 + * <br />对应API:{$link http://dev.renren.com/API/v2/user/login/get } + * @return User 用户 + */ + function getUserLogin() { + $params = array(); + $bodyParams = array(); + $fileParams = array(); + return $this->client->execute('/v2/user/login/get', 'GET', $params, $bodyParams, $fileParams); + } +} +?> diff --git a/library/Plugin/UnionTrans.php b/library/Plugin/UnionTrans.php index 33b58d2..c7d44b0 100644 --- a/library/Plugin/UnionTrans.php +++ b/library/Plugin/UnionTrans.php @@ -9,6 +9,7 @@ namespace Plugin; use Hood\Core\Security\AuthCode; use Api\Yohobuy; use LibModels\Wap\Home\OrderData; +use LibModels\Wap\Product\SearchData; class UnionTrans { @@ -343,7 +344,7 @@ class UnionTrans foreach ($orderDetail['order_goods'] as $val) { $goodsName .= str_replace(array("&", "<", ">", "'", '"', " ", "|"), array("&", "<", ">", """, "'", "%20", "%20"), $val['product_name']) . '|'; - $goodsIds .= $val['product_sku'] . '|'; + $goodsIds .= self::getGoodsId($val['product_skn'], $val['color_name'], $val['product_sku']) . '|'; $goodsPrice .= $val['goods_price'] . '|'; $goodsTotalPrice .= $val['goods_amount'] . '|'; $goodsNum .= $val['buy_number'] . '|'; @@ -424,5 +425,36 @@ class UnionTrans // pass back as string. or simple xml object if you want! return $xml->asXML(); } + + /** + * 获取商品ID + * + * @param int $skn 商品SKN + * @param string $color 颜色名称 + * @param int $sku 商品尺码唯一标识 + * @return int + */ + public static function getGoodsId($skn, $color, $sku) + { + $goodsId = $sku; + + $productData = SearchData::searchElasticByCondition(array('query' => $skn) ); + if (!empty($productData['data']['product_list'])) { + foreach ($productData['data']['product_list'] as $value) { + if (empty($value['goods_list'])) { + continue; + } + foreach ($value['goods_list'] as $goods) { + if ($goods['color_name'] === $color) { + $goodsId = $goods['goods_id']; + break; + } + } + } + } + $productData = array(); + + return $goodsId; + } } diff --git a/library/Plugin/ttf/1.ttf b/library/Plugin/ttf/1.ttf new file mode 100644 index 0000000..ff0815c Binary files /dev/null and b/library/Plugin/ttf/1.ttf differ diff --git a/library/Plugin/ttf/10.ttf b/library/Plugin/ttf/10.ttf new file mode 100644 index 0000000..20b92a2 Binary files /dev/null and b/library/Plugin/ttf/10.ttf differ diff --git a/library/Plugin/ttf/2.ttf b/library/Plugin/ttf/2.ttf new file mode 100644 index 0000000..d0d857e Binary files /dev/null and b/library/Plugin/ttf/2.ttf differ diff --git a/library/Plugin/ttf/3.ttf b/library/Plugin/ttf/3.ttf new file mode 100644 index 0000000..00968d2 Binary files /dev/null and b/library/Plugin/ttf/3.ttf differ diff --git a/library/Plugin/ttf/4.ttf b/library/Plugin/ttf/4.ttf new file mode 100644 index 0000000..5b05d35 Binary files /dev/null and b/library/Plugin/ttf/4.ttf differ diff --git a/library/Plugin/ttf/5.ttf b/library/Plugin/ttf/5.ttf new file mode 100644 index 0000000..49bb696 Binary files /dev/null and b/library/Plugin/ttf/5.ttf differ diff --git a/library/Plugin/ttf/6.ttf b/library/Plugin/ttf/6.ttf new file mode 100644 index 0000000..631931e Binary files /dev/null and b/library/Plugin/ttf/6.ttf differ diff --git a/library/Plugin/ttf/7.ttf b/library/Plugin/ttf/7.ttf new file mode 100644 index 0000000..4704de2 Binary files /dev/null and b/library/Plugin/ttf/7.ttf differ diff --git a/library/Plugin/ttf/8.ttf b/library/Plugin/ttf/8.ttf new file mode 100644 index 0000000..1c42b10 Binary files /dev/null and b/library/Plugin/ttf/8.ttf differ diff --git a/library/Plugin/ttf/9.ttf b/library/Plugin/ttf/9.ttf new file mode 100644 index 0000000..b51c8c2 Binary files /dev/null and b/library/Plugin/ttf/9.ttf differ diff --git a/static/dist/myohobuy/1.3.3/index-debug.js b/static/dist/myohobuy/1.3.3/index-debug.js new file mode 100644 index 0000000..1ba8e80 --- /dev/null +++ b/static/dist/myohobuy/1.3.3/index-debug.js @@ -0,0 +1,9732 @@ +define("index", ["jquery","hammer","swiper","lazyload","mlellipsis","iscroll-probe","handlebars","source-map","index"], function(require, exports, module){ +var yohobuy; + +require("js/common"); + +require("js/category/entry"); +require("js/guang/entry"); +require("js/home/entry"); +require("js/index/entry"); +require("js/passport/entry"); +require("js/product/entry"); +require("js/me/entry"); +require("js/cart/entry"); + +module.exports = yohobuy; + +}); +define("js/common", ["jquery","hammer"], function(require, exports, module){ +/** + * 页面公共逻辑 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/21 + */ +var $ = require("jquery"), + Hammer = require("hammer"); + +var $footer = $('#yoho-footer'), + $yohoPage = $('.yoho-page'), + $header = $('.yoho-header'); + +function cookie(name) { + var cookies = document.cookie, + cookieVal, + offset; + + if (document.cookie && document.cookie !== '') { + offset = cookies.indexOf(name + '='); + if (offset > -1) { + offset += name.length + 1; + + cookieVal = decodeURIComponent($.trim(cookies.substring(offset, cookies.indexOf(';', offset)))); + } + } + + return cookieVal; +} + +function setCookie(name, value, options) { + var expires = '', + path, + domain, + secure, + date; + + if (typeof value !== 'undefined') { + options = options || {}; + if (value === null) { + value = ''; + options.expires = -1; + } + + if (options.expires && + (typeof options.expires === 'number' || options.expires.toUTCString)) { + if (typeof options.expires === 'number') { + date = new Date(); + date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); + } else { + date = options.expires; + } + expires = '; expires=' + date.toUTCString(); + } + path = options.path ? '; path=' + options.path : ''; + domain = options.domain ? '; domain=' + options.domain : ''; + secure = options.secure ? '; secure' : ''; + document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); + } +} + +function isCookiesEnabled() { + var cookieEnabled = (navigator.cookieEnabled) ? true : false; + + if (typeof navigator.cookieEnabled === 'undefined' && !cookieEnabled) { + document.cookie = 'testcookie'; + cookieEnabled = (document.cookie.indexOf('testcookie') !== -1) ? true : false; + } + + return (cookieEnabled); +} + +function getUser() { + var c = cookie('_UID'), + user; + + if (typeof c === 'undefined') { + return 0; + } + + user = c.split('::'); + + if (typeof user === 'undefined' || user.length < 4) { + return 0; + } + + return user; +} + +function getUid() { + var user = getUser(); + + if (user === 0) { + return 0; + } + + return user[1]; +} + +function getShoppingKey() { + var c = cookie('_g'); + + if (typeof c === 'undefined') { + return ''; + } + + return JSON.parse(c).k; +} + +//根据页面内容重新设置通用底部的显示 +function rePosFooter() { + var winH; + + if ($footer.length === 0) { + return; + } + + winH = Math.min($(window).height(), window.screen.availHeight); + + if ($('body').height() <= winH - parseInt($footer.css('height'), 0)) { + $footer.addClass('bottom'); + } else { + $footer.removeClass('bottom'); + } +} + +/** + * + * add extra margin-bottom for footer to show yoho copyright when there is fixed bottom element on page + * @param {String} The jquery selecor of the fixed bottom element + * @return undefined + */ +function reMarginFooter(fixedElement) { + var fixedElH = $(fixedElement).outerHeight(); + + if (fixedElement) { + $footer.css('margin-bottom', fixedElH + 'px'); + } +} + +//页面通用底部位置及status设置 +(function() { + var $op = $footer.children('.op-row'), + $backToTop = $('.back-to-top'); + + var user = getUser(); + + var backToTopHammer; + + rePosFooter(); //计算底部位置 + + if (user === 0) { + + //未登录 + $op.prepend( + '<a href="http://m.yohobuy.com/signin.html?refer=' + location.href + '">登录</a>' + + '<span class="sep-line">|</span>' + + '<a href="http://m.yohobuy.com/reg.html">注册</a>' + ); + } else { + + //已登录 + $op.prepend( + '<span>Hi,</span>' + + '<a class="user-name" href="http://m.yohobuy.com/home?tmp=' + Math.random() + '">' + user[0] + '</a>' + + '<a href="http://m.yohobuy.com/passport/signout/index?token=' + user[3] + '">退出</a>' + ); + } + + if ($backToTop.length > 0) { + backToTopHammer = new Hammer($backToTop[0]); + backToTopHammer.on('tap', function(e) { + $(window).scrollTop(0); + e.srcEvent.preventDefault(); + return false; + }); + } + + $footer.removeClass('hide'); +}()); + +(function(w, d, s, j, f) { + var a = d.createElement(s); + var m = d.getElementsByTagName(s)[0]; + + w.YohoAcquisitionObject = f; + + w[f] = function() { + w[f].p = arguments; + }; + + a.async = 1; + a.src = j; + m.parentNode.insertBefore(a, m); +})(window, document, 'script', 'http://cdn.yoho.cn/yas-jssdk/1.0.13.6.3/yas.js', '_yas'); + +(function() { + var uid = getUid(); + + uid = uid === 0 ? '' : uid; + + window._ozuid = uid;//暴露ozuid + + if (window._yas) { + window._yas(1 * new Date(), '1.0.13.6.3', 'yohobuy_m', uid, '', ''); + } +}()); + +$header.on('touchstart', 'a', function() { + $header.find('a').removeClass('highlight'); + $(this).addClass('highlight'); +}).on('touchend touchcancel', 'a', function() { + $(this).removeClass('highlight'); +}); + +$yohoPage.on('touchstart', '.tap-hightlight', function() { + $(this).siblings('.tap-hightlight').removeClass('highlight'); + $(this).addClass('highlight'); +}).on('touchend touchcancel', '.tap-hightlight', function() { + $(this).removeClass('highlight'); +}); + +// $('.nav-home').on('touchstart', function() { +// $('.homebuttom').toggleClass('none'); +// }); + +(function() { + var lastTime = 0, + prefixes = 'webkit moz ms o'.split(' '), + requestAnimationFrame = window.requestAnimationFrame, + cancelAnimationFrame = window.cancelAnimationFrame, + prefix, + i; + + //通过遍历各浏览器前缀,来得到requestAnimationFrame和cancelAnimationFrame在当前浏览器的实现形式 + for (i = 0; i < prefixes.length; i++) { + if (requestAnimationFrame && cancelAnimationFrame) { + break; + } + prefix = prefixes[i]; + requestAnimationFrame = requestAnimationFrame || window[prefix + 'RequestAnimationFrame']; + cancelAnimationFrame = cancelAnimationFrame || window[prefix + 'CancelAnimationFrame'] || + window[prefix + 'CancelRequestAnimationFrame']; + } + + //如果当前浏览器不支持requestAnimationFrame和cancelAnimationFrame,则会退到setTimeout + if (!requestAnimationFrame || !cancelAnimationFrame) { + requestAnimationFrame = function(callback, element) { + var currTime = new Date().getTime(); + + //为了使setTimteout的尽可能的接近每秒60帧的效果 + var timeToCall = Math.max(0, 16 - (currTime - lastTime)); + var id = window.setTimeout(function() { + callback(currTime + timeToCall); + }, timeToCall); + + lastTime = currTime + timeToCall; + return id; + }; + + cancelAnimationFrame = function(id) { + window.clearTimeout(id); + }; + } + + window.requestAnimationFrame = requestAnimationFrame; + window.cancelAnimationFrame = cancelAnimationFrame; +}()); + +// 给jQuery 扩展 queryString函数 +$.extend({ + queryString: function() { + var vars = [], + hash, + i; + var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); + + for (i = 0; i < hashes.length; i++) { + hash = hashes[i].split('='); + vars.push(hash[0]); + vars[hash[0]] = hash[1]; + } + return vars; + } +}); + +//暴露公共接口 +window.cookie = cookie; + +window.setCookie = setCookie; + +window.isCookiesEnabled = isCookiesEnabled; + +window.getUser = getUser; + +window.getUid = getUid; + +window.getShoppingKey = getShoppingKey; + +window.rePosFooter = rePosFooter; + +window.reMarginFooter = reMarginFooter; + +}); +define("js/category/entry", ["jquery","hammer","swiper","lazyload","index"], function(require, exports, module){ +/** + * 品类打包入口 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/28 + */ + +require("js/category/index"); +require("js/category/brand"); +}); +define("js/category/index", ["jquery"], function(require, exports, module){ +/** + * 分类 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/14 + */ + +var $ = require("jquery"); + +var $nav = $('.category-nav'), + $categoryContainer = $('.category-container'), + $contents = $categoryContainer.children('.content'), + $subLevelItem = $categoryContainer.find('.sub-level li'), + $primaryItem = $categoryContainer.find('.primary-level li'); + +var $curContent = $contents.not('.hide'); + +//初始化container高度 +(function() { + var $header = $('.yoho-header'), + $search = $('#search-input'); + + var h = $(window).height() - $header.outerHeight() - $search.outerHeight() - $nav.outerHeight(); + + $categoryContainer.css('min-height', h); + + $contents.height(h); +}()); + +$('#search-input').focus(function() { + $(this).blur(); +}); +$nav.bind('contextmenu', function(e) { + return false; +}); +$('.category-container').bind('contextmenu', function(e) { + return false; +}); + +$nav.on('touchend touchcancel', function(e) { + var $this = $(e.target).closest('li'), + index = $this.index(); + + if ($this.hasClass('focus')) { + return; + } + + $nav.find('li.focus').removeClass('focus'); + $this.addClass('focus'); + + $curContent.addClass('hide'); + $curContent = $contents.eq(index).removeClass('hide'); +}); + +$categoryContainer.on('touchend', function(e) { + var $this = $(e.target), + $subLevel, + $cur, index; + + $cur = $this.closest('.p-level-item'); + if ($cur.length > 0) { + index = $cur.index(); + $subLevel = $this.closest('.content').find('.sub-level'); + + if ($this.hasClass('focus')) { + return; + } + + $this.closest('.primary-level').children('.focus').removeClass('focus'); + $this.addClass('focus'); + + $subLevel.not('.hide').addClass('hide'); + $subLevel.eq(index).removeClass('hide'); + } +}); + +$categoryContainer.find('.primary-level').on('touchstart touchend touchcancel', 'li', function() { + $primaryItem.removeClass('highlight'); + $(this).addClass('highlight'); +}).on('touchend touchcancel', 'li', function() { + $(this).removeClass('highlight'); +}); + +$categoryContainer.find('.sub-level').on('touchstart', 'li', function() { + $subLevelItem.removeClass('highlight'); + $(this).addClass('highlight'); +}).on('touchend touchcancel', 'li', function() { + $(this).removeClass('highlight'); +}); + +$nav.on('touchstart', 'li', function() { + $nav.find('li').removeClass('bytouch'); + $(this).addClass('bytouch'); +}).on('touchend touchcancel', 'li', function() { + $nav.find('li').removeClass('bytouch'); +}); + +}); +define("js/category/brand", ["jquery","hammer","swiper","lazyload","index"], function(require, exports, module){ +/** + * 品牌一览 + * @author: liangzhifeng<zhifeng.liang@yoho.cn> + * @date: 2015/10/23 + */ + +var $ = require("jquery"), + Hammer = require("hammer"), + Swiper = require("swiper"), + lazyLoad = require("lazyload"); + +var swiper, + $fixTitleBar, + $brandList = $('.brand-list'), + $icon = $('.search-icon'), + hotBrandsSwiper; + +var searchH = $('.newbrand-search').outerHeight(), + headerH = $('.yoho-header').outerHeight(), + brandSwipe = parseInt(searchH) + parseInt(headerH) - 1, + minBrandListTop; + +var brandsData, + $keyword, + clearTextHammer; + +//热门品牌滑动 +hotBrandsSwiper = new Swiper('.brands-swiper', { + grabCursor: true, + slidesPerView: 'auto', + wrapperClass: 'brands-list', + slideElement: 'li' +}); + +swiper = new Swiper('.swiper-container', { + lazyLoading: true, + loop: true, + autoplay: 3000, + pagination: '.swiper-pagination .pagination-inner' +}); + +lazyLoad($('img.lazy')); +$('.yoho-header').css({ + 'z-index': 2, + position: 'fixed', + top: 0 +}); + +if ($('.banner-top').length > 0) { + $('.hot-brands').css('padding-top', '0'); +} + +$fixTitleBar = $('<div class="title-bar fixed-title-bar"><h2></h2></div>'); +$fixTitleBar.css({ + position: 'fixed', + top: brandSwipe +}).hide(); +minBrandListTop = brandSwipe + $('.hot-brands').outerHeight() + $('.banner-top').outerHeight(); +$brandList.last().append($fixTitleBar); + +function scrollHandler() { + var scrTop = $(window).scrollTop(); + + if ($brandList.eq(0).offset().top < minBrandListTop) { + $fixTitleBar.hide(); + } + + $brandList.each(function() { + var offTop = $(this).offset().top - brandSwipe; + + if (scrTop >= offTop) { + $fixTitleBar.css({ + display: 'block' + }).find('h2').html($(this).find('.title-bar').text()); + } + + }); +} + +//srcoll to load more +$(window).scroll(function() { + window.requestAnimationFrame(scrollHandler); +}); + + +function changeBackground() { + var $brandList = $('.brand-list').find('p'); + + $brandList.on('touchstart', function() { + $brandList.css('background', '#fff'); + $(this).css('background', '#eee'); + }).on('touchend touchcancel', function() { + $(this).css('background', '#fff'); + }); +} +changeBackground(); + +function searchResult() { + var keyword = ($keyword.val() + '').toLowerCase(); + var result = {}, + i = 0, + html = ''; + + if (keyword !== '') { + + // 遍历首字母搜索 + $.each(brandsData, function(k, v) { + if ($.isArray(v)) { + + // 遍历品牌,进行匹配 + $.each(v, function(i, brand) { + if (brand.name.toLowerCase().indexOf(keyword) > -1) { + result[k] = result[k] || []; + result[k].push(brand); + } + }); + } + }); + + // 根据搜索结果生成 HTML + $.each(result, function(k, v) { + var brandHtml = ['<div class="brand-list bar-', i, '">']; + + i++; + brandHtml.push('<div class="title-bar"><h2>'); + brandHtml.push(k); + brandHtml.push('</h2></div>'); + $.each(v, function(i, brand) { + + brandHtml.push('<p><a href="' + brand.url + '">' + brand.name); + if (brand.isNew) { + brandHtml.push('<i class="icon-new">NEW</i>'); + } + if (brand.isHot) { + brandHtml.push('<i class="icon-hot">HOT</i>'); + } + brandHtml.push('</a></p>'); + }); + brandHtml.push('</div>'); + html += brandHtml.join(''); + + }); + } + + // 插入 dom,绑定事件 + $('.search-result').html(html); + changeBackground(); +} + +if ($('.brand-search-page').length) { + brandsData = $.parseJSON($('#brands-data').html()); + $keyword = $('#keyword'); + + $keyword.on('input', function() { + if ($keyword.val().length) { + $icon.css('color', '#000'); + $(this).closest('.search-box').css('width', '11.25rem'); + $('.search-action').show(); + } else { + $icon.css('color', '#b2b2b2'); + $(this).closest('.search-box').css('width', '12.5rem'); + $('.search-action').hide(); + } + searchResult(); + }).focus(); + + clearTextHammer = new Hammer($('.clear-text')[0]); + clearTextHammer.on('tap', function(e) { + e.preventDefault(); + $('.search-result').html(''); + $('#keyword').val('').trigger('input'); + e.srcEvent.stopPropagation(); + }); + + $('form.search-box').on('submit', function() { + return false; + }); + +} + +}); +define("js/guang/entry", ["jquery","lazyload","swiper","hammer","mlellipsis","iscroll-probe","index"], function(require, exports, module){ +/** + * 逛打包入口 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/9 + */ + +require("js/guang/plus-star/list"); +require("js/guang/plus-star/detail"); + +require("js/guang/home"); +require("js/guang/list"); +require("js/guang/detail"); +}); +define("js/guang/plus-star/list", ["jquery","lazyload","swiper","index"], function(require, exports, module){ +/** + * PLUS+STAR列表页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/10 + */ + +var $ = require("jquery"), + lazyLoad = require("lazyload"), + Swiper = require("swiper"); + +var $navs = $('#nav-tab > li'), + $contents = $('#ps-content > .content'); + +var mySwiper; + +lazyLoad($('img.lazy')); + +mySwiper = new Swiper('.swiper-container', { + lazyLoading: true, + pagination: '.swiper-pagination' +}); +$('#nav-tab').bind('contextmenu', function(e) { + return false; +}); +$('#nav-tab').on('touchend touchcancel', function(e) { + var $this = $(e.target).closest('li'); + + if ($this.hasClass('focus')) { + return; + } + + $navs.toggleClass('focus'); + $contents.toggleClass('hide'); + + $(document).trigger('scroll'); //Trigger lazyLoad +}); +$('#nav-tab').on('touchstart', function(e) { + var target = e.target || e.srcElement; + + target.className = 'bytouch ' + target.className; +}).on('touchend touchcancel', function() { + $navs.removeClass('bytouch'); +}); +}); +define("js/guang/plus-star/detail", ["jquery","hammer","mlellipsis","lazyload"], function(require, exports, module){ +/** + * PLUS+STAR详情页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/10 + */ + +var $ = require("jquery"), + Hammer = require("hammer"), + ellipsis = require("mlellipsis"), + lazyLoad = require("lazyload"); + +var $intro = $('#intro'), + $imt = $('#intro-more-txt'), + $infosContainer = $('#related-infos-container'); + +var info = require("js/guang/info"); + +var tip = require("js/plugin/tip"); + +var brandId = $('#brand-info').data('id'); + +var jumpToApp = $('#jump-to-app').val(); + +var mIntro, aIntro; + +var moreHammer, likeHammer; + +require("js/plugin/wx-share"); + +ellipsis.init(); + +//Init LazyLoad +lazyLoad($('img.lazy')); + +//文字介绍文字截取 +$intro[0].mlellipsis(3); + +//获取截取文字和完整文字 +setTimeout(function() { + mIntro = $intro.text(); + aIntro = $intro.attr('title'); +}); + +info.initInfosEvt($infosContainer); + +//文字介绍收起与展开 +moreHammer = new Hammer(document.getElementById('more-intro')); +moreHammer.on('tap', function(e) { + var $this = $(e.target).closest('#more-intro'); + + $this.toggleClass('spread'); + + if ($this.hasClass('spread')) { + + //显示 + $intro.text(aIntro); + $imt.text('收起'); + } else { + + //隐藏 + $intro.text(mIntro); + $imt.text('more'); + + $(window).scrollTop(0, 400); //滑动到顶部 + } + + e.preventDefault(); //防止收缩后误点到商品产生跳转 +}); + +//品牌收藏 +likeHammer = new Hammer(document.getElementById('brand-like')); +likeHammer.on('tap', function(e) { + var opt = 'ok', + $this = $(e.target); + + + //jumpToApp = 1表示APP未登录的情况,此时不发送ajax请求而由a链接直接跳转APP + if (jumpToApp === '1') { + return; + } + + e.preventDefault(); + + if ($this.hasClass('like')) { + opt = 'cancel'; + } + + $.ajax({ + type: 'POST', + url: '/guang/opt/favoriteBrand', + data: { + id: brandId, + opt: opt + }, + success: function(data) { + if (data.code === 200) { + $this.toggleClass('like'); + } else if (data.code === 400 || data.code === 412) { + location.href = data.data; //未登录跳转登录页面 + } else { + tip.show(data.message); + } + }, + error: function() { + tip.show('网络断开连接了~'); + } + }); +}); +}); +define("js/guang/info", ["jquery","hammer","mlellipsis","lazyload"], function(require, exports, module){ +/** + * 资讯相关API + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/10 + */ + +var $ = require("jquery"), + Hammer = require("hammer"), + ellipsis = require("mlellipsis"), + lazyLoad = require("lazyload"); + +var tip = require("js/plugin/tip"); +var loading = require("js/plugin/loading"); + +var $loadMoreInfo = $('#load-more-info'); +var $loading = $(''), + $noMore = $(''); + +var searching = false; + +ellipsis.init(); + +if ($loadMoreInfo.length > 0) { + $loading = $loadMoreInfo.children('.loading'); + $noMore = $loadMoreInfo.children('.no-more'); +} + +/** + * 设置指定资讯项的Lazyload和文字截取 + * @params $infos 资讯项 + */ +function setLazyLoadAndMellipsis($infos) { + lazyLoad($infos.find('img.lazy')); + + $infos.each(function() { + var $this = $(this), + $title = $this.find('.info-title'), + $text = $this.find('.info-text'); + + $title[0].mlellipsis(2); + $text[0].mlellipsis(2); + }); +} + +/** + * 初始化资讯列表事件绑定 + * @params $container 逛资讯列表容器 + */ +function initInfosEvt($container) { + var cHammer; + + if (typeof $container === 'undefined') { + return; + } + + cHammer = new Hammer($container[0]); + + //点赞或者收藏事件 + cHammer.on('tap', function(e) { + var $this = $(e.target), + opt = 'ok', + $btn, + $info; + + //e.preventDefault(); + + //点赞 + $btn = $this.closest('.like-btn'); + if ($btn.length > 0) { + e.preventDefault(); + if ($btn.hasClass('like')) { + opt = 'cancel'; + } + + $info = $this.closest('.guang-info'); + $.ajax({ + type: 'POST', + url: '/guang/opt/praiseArticle', + data: { + id: $info.data('id'), + opt: opt + }, + success: function(data) { + var code = data.code; + + if (code === 200) { + $btn.next('.like-count').text(data.data); + + //切换点赞状态 + $btn.toggleClass('like'); + } + }, + error: function() { + tip.show('网络断开连接了~'); + } + }); + return; + } + + //APP收藏 + $btn = $this.closest('.collect-btn'); + if ($btn.length > 0) { + e.preventDefault(); + if ($btn.hasClass('collected')) { + opt = 'cancel'; + } + + $info = $this.closest('.guang-info'); + $.ajax({ + type: 'POST', + url: '/guang/opt/collectArticle', + data: { + id: $info.data('id'), + opt: opt + }, + success: function(data) { + if (data.code && data.code === 200) { + + //切换收藏状态 + $btn.toggleClass('collected'); + } + }, + error: function() { + tip.show('网络断开连接了~'); + } + }); + } + }); + + setLazyLoadAndMellipsis($container.find('.guang-info')); +} + +/** + * 资讯LoadMore + * @param $container 资讯容器 jqyeryObject + * @param opt 请求参数 + * @param url[可选], 扩展请求的url而不使用默认值 + */ +function loadMore($container, opt, url) { + var num; + + if (searching) { + return; + } + + if (opt.end) { + return; + } + + if (opt.page === 1) { + + //显示loading + loading.showLoadingMask(); + } + + num = $container.find('.guang-info').length; + searching = true; + $.ajax({ + type: 'GET', + url: url ? url : '/guang/index/page',//对于指定url的使用指定url(存在不同的控制器) + data: opt, + success: function(data) { + var $newItems; + + if (data === ' ') { + opt.end = true; + searching = false; + + // + $loading.addClass('hide'); + $noMore.removeClass('hide'); + + return; + } + + $container.append(data); + + if (num > 0) { + $newItems = $container.find('.guang-info:gt(' + (num - 1) + ')'); + } else { + $newItems = $container.find('.guang-info'); + } + + setLazyLoadAndMellipsis($newItems); + + if (opt.page === 1) { + loading.hideLoadingMask(); + + $loading.removeClass('hide');//显示空屏加载时hide的隐藏 + + window.rePosFooter();//插入内容后重新计算底部位置 + } + + opt.page++; + + searching = false; + }, + error: function() { + tip.show('网络断开连接了~'); + searching = false; + } + }); +} + +exports.initInfosEvt = initInfosEvt; +exports.setLazyLoadAndMellipsis = setLazyLoadAndMellipsis; +exports.loadMore = loadMore; +}); +define("js/plugin/tip", ["jquery"], function(require, exports, module){ +/** + * 弹框提示 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/10 + */ +var $ = require("jquery"); + +var $tip, tipItime; + +/** + * 初始化提示框 + */ +(function() { + var tipHtml = '<div id="yoho-tip" class="yoho-tip"></div>'; + + //插入提示HTML + $('.yoho-page').append(tipHtml); + + $tip = $('#yoho-tip'); + $tip.on('touchend', function() { + $tip.hide(); + + //清除Timeout + clearTimeout(tipItime); + }); +}()); + +/** + * 显示提示 + */ +function show(con, dur) { + var content, duration; + + if (typeof con === 'undefined') { + return; + } + + content = con.toString(); + duration = (dur && dur > 0) ? dur : 2000; + + $tip.text(content).show(); + + tipItime = setTimeout(function() { + if ($tip.css('display') === 'block') { + $tip.hide(); + } + }, duration); +} + +exports.show = show; +}); +define("js/plugin/loading", ["jquery"], function(require, exports, module){ +/** + * Loading mask + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/29 + */ + +var $ = require("jquery"); + +var $page = $('.yoho-page'); + +var $loading, + hasInit = false; + +/** modify by liangzhifeng at 2015.11.2 */ + +// 初始化 +function init($container) { + var html = '<div class="loading-mask hide">' + + '<div class="loading">' + + '<div></div><div></div><div></div>' + + '</div>' + + '</div>'; + + hasInit = true; + if ($container === undefined) { + $container = $page; + } + + $container.append(html); + + $loading = $container.children('.loading-mask'); +} + +//显示loading +function showLoadingMask() { + if (!hasInit) { + init(); + hasInit = true; + } + $loading.removeClass('hide'); +} + +//隐藏loading +function hideLoadingMask() { + $loading.addClass('hide'); +} + +exports.init = init; +exports.showLoadingMask = showLoadingMask; +exports.hideLoadingMask = hideLoadingMask; +}); +define("js/plugin/wx-share", ["jquery"], function(require, exports, module){ +/** + * 微信分享 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/30 + */ + +var $ = require("jquery"); + +module.exports = function() { + var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage'; + + $.getJSON(_weChatInterface + '?pageurl=' + + encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function (json) { + var _appId, _timestamp, _nonceStr, _signature; + + if (json !== undefined && json !== '') { + _appId = json.appId.toString(); + _timestamp = json.timestamp; + _nonceStr = json.nonceStr.toString(); + _signature = json.signature.toString(); + + wx.config({ + debug: false, + appId: _appId, + timestamp: _timestamp, + nonceStr: _nonceStr, + signature: _signature, + jsApiList: [ + 'checkJsApi', + 'onMenuShareTimeline', + 'onMenuShareAppMessage', + 'onMenuShareQQ', + 'onMenuShareWeibo', + 'hideMenuItems', + 'showMenuItems', + 'hideAllNonBaseMenuItem', + 'showAllNonBaseMenuItem', + 'translateVoice', + 'startRecord', + 'stopRecord', + 'onRecordEnd', + 'playVoice', + 'pauseVoice', + 'stopVoice', + 'uploadVoice', + 'downloadVoice', + 'chooseImage', + 'previewImage', + 'uploadImage', + 'downloadImage', + 'getNetworkType', + 'openLocation', + 'getLocation', + 'hideOptionMenu', + 'showOptionMenu', + 'closeWindow', + 'scanQRCode', + 'chooseWXPay', + 'openProductSpecificView', + 'addCard', + 'chooseCard', + 'openCard' + ] + }); + } + }); + + wx.ready(function () { + var shareTitle = $('#shareTitle').val(); + var shareImg = $('#shareImg').val(); + var shareDesc = $('#shareDesc').val(); + var shareLink = $('#shareLink').val(); + var shareData = { + title: shareTitle, + desc: shareDesc, + imgUrl: shareImg, + link: shareLink + }; + + wx.onMenuShareAppMessage(shareData); + wx.onMenuShareTimeline(shareData); + wx.onMenuShareQQ(shareData); + wx.onMenuShareWeibo(shareData); + }); +}; +}); +define("js/guang/home", ["jquery","swiper","hammer","mlellipsis","lazyload","index"], function(require, exports, module){ +/** + * 逛首页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/10 + */ + +var $ = require("jquery"), + Swiper = require("swiper"); + +var info = require("js/guang/info"), + loadMore = info.loadMore; + +var $loadMoreInfo = $('#load-more-info'); +var $loading = $(''), + $noMore = $(''); + +var winH = $(window).height(); + +var $infoList = $('#info-list'), + $infos = $infoList.children('.info-list'), + $nav = $('#guang-nav'), + $curNav = $nav.children('.focus'), + curType = $curNav.data('type'); + +var state = {}; + +var mySwiper; + +if ($loadMoreInfo.length > 0) { + $loading = $loadMoreInfo.children('.loading'); + $noMore = $loadMoreInfo.children('.no-more'); +} + +mySwiper = new Swiper('.swiper-container', { + lazyLoading: true, + pagination: '.swiper-pagination', + autoplay: 3000 +}); + +info.initInfosEvt($infoList); + +//初始化各Nav下资讯加载的状态 +(function() { + var gender = $('#gender').val(); + + $nav.children('.guang-nav-item').each(function() { + var type = $(this).data('type'), + focus = $(this).hasClass('focus'); + + state[type] = { + page: focus ? 2 : 1, + gender: gender, + type: type, + end: false + }; + }); +}()); +$nav.bind('contextmenu', function(e) { + return false; +}); +$nav.on('touchend touchcancel', function(e) { + + var $this = $(e.target).closest('.guang-nav-item'), + $content, + index; + + if ($this.hasClass('focus')) { + return; + } + + + index = $this.index(); + + $this.addClass('focus'); + $curNav.removeClass('focus'); + + $content = $infos.eq(index); + + $curNav = $this; + curType = $this.data('type'); + + //当未加载数据时去请求数据 + if (state[curType].page === 1) { + + //无数据时隐藏正在加载和没有更多字样 + $loading.addClass('hide'); + $noMore.addClass('hide'); + + loadMore($content, state[curType]); + } else { + + //重置当前Tab的load-more + if (state[curType].end) { + $loading.addClass('hide'); + $noMore.removeClass('hide'); + } else { + $loading.removeClass('hide'); + $noMore.addClass('hide'); + } + } + + $infos.not('.hide').addClass('hide'); + $content.removeClass('hide'); + + if (state[curType].page === 1) { + window.rePosFooter();//进入空内容时重新定位footer位置 + } +}); + +function scrollHandler() { + var $c = $infos.not('.hide'); + + if ($(window).scrollTop() + winH >= $(document).height() - 0.25 * $c.height()) { + loadMore($c, state[curType]); + } +} + +//srcoll to load more +$(document).scroll(function() { + window.requestAnimationFrame(scrollHandler); +}); + +$nav.on('touchstart', function(e) { + var target = e.target || e.srcElement; + + target.className = 'bytouch ' + target.className; +}).on('touchend touchcancel', function() { + $nav.find('li').removeClass('bytouch'); +}); +}); +define("js/guang/list", ["jquery","hammer","mlellipsis","lazyload"], function(require, exports, module){ +/** + * 列表页,编辑页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/10 + */ + +var $ = require("jquery"); + +var info = require("js/guang/info"), + loadMore = info.loadMore; + +var winH = $(window).height(); + +var $author = $('#author-infos'); +var $tag = $('#tag'); +var $gender = $('#gender'); +var $isApp = $('#isApp'); + +var setting = { + page: 2, + end: false +}; + +var $infos = $('#info-list'); + +info.initInfosEvt($infos); + +if ($author.length > 0) { + $.extend(setting, { + authorId: $author.data('id'), + isApp: $isApp.val() + }); +} + +if ($tag.length > 0) { + $.extend(setting, { + tag: $tag.val(), + gender: $gender.val(), + isApp: $isApp.val() + }); +} + +function scrollHandler() { + if ($(window).scrollTop() + winH >= $(document).height() - 0.25 * $infos.height()) { + loadMore($infos, setting); + } +} + +//srcoll to load more +$(window).scroll(function() { + window.requestAnimationFrame(scrollHandler); +}); + +}); +define("js/guang/detail", ["jquery","mlellipsis","lazyload","iscroll-probe"], function(require, exports, module){ +/** + * 逛详情页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/13 + */ + +var $ = require("jquery"), + ellipsis = require("mlellipsis"), + lazyLoad = require("lazyload"), + IScroll = require("iscroll-probe"); + +var $authorIntro = $('.author .intro'); + +var pageInIscroll = false; + +var hasCollocationBlock = $('.collocation-block').length > 0 ? true : false; + +//collocation block variable +var thumbWidth = 0, + $fixedThumbContainer = $(''), + $coBlock, $thumbContainer, $thumbs, $prods, + scrollToEl; + +var scrollToEl = document.querySelector('#wrapper .collocation-block'); + +var winW = $(window).width(); + +var myScroll; + +require("js/plugin/wx-share")(); + +/** + * 计算搭配的箭头的位置 + * @param $curPos 当前focus的搭配项 + */ +function posCollocationArrow($curCo) { + var left = $curCo.offset().left, + bgPos = -winW + left + (thumbWidth / 2) + 'px'; + + $thumbContainer.css({ + backgroundPosition: bgPos + ' bottom' + }); + + if (pageInIscroll) { + $fixedThumbContainer.css({ + backgroundPosition: bgPos + ' bottom' + }); + } +} + +//搭配thumb的touch事件句柄 +function thumbTouchEvt(e) { + var $curCo = $(e.currentTarget), + index = $curCo.index(), + $brother, $brotherCo, + $curProds; + + if ($curCo.hasClass('focus')) { + return; + } + + $thumbs.filter('.focus').removeClass('focus'); + + if (pageInIscroll) { + if ($curCo.closest('.fixed-thumb-container').length > 0) { + $brother = $thumbContainer; + } else { + $brother = $fixedThumbContainer; + } + + $brotherCo = $brother.find('.thumb').eq(index); + $fixedThumbContainer.find('.thumb.focus').removeClass('focus'); + $brotherCo.addClass('focus'); + } + + $curCo.addClass('focus'); + + //定位arrow + posCollocationArrow($curCo); + + $prods.not('.hide').addClass('hide'); + $curProds = $prods.eq(index); + $curProds.removeClass('hide'); + + // + lazyLoad($curProds.find('.lazy')); + + if (pageInIscroll) { + if (myScroll) { + myScroll.scrollToElement(scrollToEl, 400); + } + } else { + $('body').animate({ + scrollTop: $coBlock.offset().top + }, 400); + } + + myScroll && myScroll.refresh(); +} + +// 初始化iscroll +function initIscroll() { + var $scroller = $('#scroller'), + $yohoHeader = $('.yoho-header'); + + var hH = 0, + winH, tcH, cbH, cbTop, fixedThumbDom; + + //考虑通用头部的影响:对offset().top以及winH做对应偏移 + if ($yohoHeader.length > 0) { + hH = $yohoHeader.outerHeight(); + } + + myScroll = new IScroll('#wrapper', { + probeType: 3, + mouseWheel: true, + click: true + }); + + document.addEventListener('touchmove', function(e) { + e.preventDefault(); + }, false); + + if (!hasCollocationBlock) { + myScroll.on('scroll', function() { + $scroller.trigger('scroll'); + }); + return; + } + + winH = $(window).height() - hH; + fixedThumbDom = $fixedThumbContainer[0]; + + tcH = $thumbContainer.outerHeight(); + cbH = $coBlock.outerHeight(); + cbTop = $coBlock.offset().top - hH; + + myScroll.on('scroll', function() { + var sTop = -this.y; + var classList = fixedThumbDom.className; + + if (sTop <= cbTop - winH + tcH) { + if (classList.indexOf('fixed-bottom') === -1) { + $fixedThumbContainer + .addClass('fixed-bottom') + .removeClass('hide'); + } + } else if (sTop <= cbTop) { + if (classList.indexOf('hide') === -1) { + $fixedThumbContainer + .addClass('hide') + .removeClass('fixed-bottom fixed-top'); + } + } else if (sTop <= cbTop + cbH - tcH) { + if (classList.indexOf('fixed-top') === -1) { + $fixedThumbContainer + .addClass('fixed-top') + .removeClass('hide absolute') + .css('top', ''); + } + } else if (sTop <= cbTop + cbH) { + if (classList.indexOf('absolute') === -1) { + $fixedThumbContainer + .addClass('absolute') + .removeClass('fixed-top hide'); + } + fixedThumbDom.style.top = cbTop + hH + cbH - tcH - sTop + 'px'; + } else if (sTop > cbTop + cbH) { + if (classList.indexOf('hide') === -1) { + $fixedThumbContainer + .addClass('hide') + .removeClass('absolute'); + } + } + $scroller.trigger('scroll'); + }); +} + +//window onload 后重新refresh iscroll +window.onload = function() { + myScroll && myScroll.refresh(); +}; + +//初始化页面,包括是否使用iscorll初始化页面 +//接口暴露在HTML中,使用压缩名 +exports.i = function(useIscroll) { + var isIphone = navigator.userAgent.indexOf('iPhone') > 0 ? true : false; + + pageInIscroll = isIphone && useIscroll; + + ellipsis.init(); + + lazyLoad($('.lazy')); + + //title mlellipsis + $('.info-list .title, .one-good .reco-name').each(function() { + this.mlellipsis(2); + }); + + //offset.left约等于marginLeft的值则表示介绍被换行,则清除intro的paddingTop让其更靠近头像和作者名 + if ($authorIntro.offset() && (parseInt($authorIntro.offset().left, 10) === + parseInt($authorIntro.css('margin-left'), 10))) { + $authorIntro.css('padding-top', 0); + } + + if (pageInIscroll) { + if ($('.yoho-header').length > 0) { + $('#wrapper').addClass('ios has-head'); + } else { + $('#wrapper').addClass('ios'); + } + } + + //有搭配模块,iphone使用iscroll初始化滚动并有固定的搭配栏,其他的没有 + if (hasCollocationBlock) { + $coBlock = $('.collocation-block'); + $thumbContainer = $coBlock.children('.thumb-container'); + $thumbs = $thumbContainer.find('li'); + $prods = $coBlock.find('.prod'); + + thumbWidth = $thumbs.width(); + + if (pageInIscroll) { + $fixedThumbContainer = $('#wrapper') + .after($thumbContainer.clone().addClass('fixed-thumb-container fixed-bottom')) + .next('.thumb-container'); + + //load img of fixed thumb container + lazyLoad($fixedThumbContainer.find('.lazy'), { + event: 'sporty' + }); + } + + //Init Arrow Position + posCollocationArrow($thumbs.filter('.focus')); + + $thumbContainer.delegate('.thumb', 'touchend', thumbTouchEvt); + + if (pageInIscroll) { + $fixedThumbContainer.delegate('.thumb', 'touchend', thumbTouchEvt); + + } + } + + if (pageInIscroll) { + initIscroll(); + } +}; +}); +define("js/home/entry", ["jquery","swiper","lazyload","hammer","index"], function(require, exports, module){ +/** + * 首页打包入口 + * @author: liangzhifeng<zhifeng.liang@yoho.cn> + * @date: 2015/10/12 + */ + +require("js/home/home"); +require("js/home/maybe-like"); +}); +define("js/home/home", ["jquery","swiper","lazyload","hammer","index"], function(require, exports, module){ +/** + * 首页 + * @author: liangzhifeng<zhifeng.liang@yoho.cn> + * @date: 2015/10/12 + */ +var $ = require("jquery"), + Swiper = require("swiper"), + lazyLoad = require("lazyload"), + $mobileWrap = $('.mobile-wrap'), + $overlay = $('.overlay'), + $sideNav = $('.side-nav'), + $subNav = $('.sub-nav'), + bannerSwiper, + recommendSwiper, + hotBrandsSwiper, + trendTopicSwiper, + goodsSwiper; + +var start = 0, + swiperClass, + $logotrans = $('.home-header .logo'), + openSideNav = false, + isen = true; + +lazyLoad($('img.lazy')); + +$('.nav-btn').on('touchstart', function(event) { + $mobileWrap.addClass('menu-open'); + $overlay.show().css('opacity', 0.3); + $sideNav.addClass('on'); + event.preventDefault(); + event.stopPropagation(); + openSideNav = true; + return false; +}); + +function hideSideBar() { + openSideNav = false; + if ($mobileWrap.hasClass('menu-open')) { + $mobileWrap.removeClass('menu-open'); + $('.overlay').hide(); + $('.sub-nav').removeClass('show'); + $sideNav.removeClass('on'); + } +} + +$('.overlay').on('touchstart', function(e) { + hideSideBar(); + return false; +}); + +//禁止在侧边栏可以上下滚动 +$('.side-nav').on('touchmove', function() { + return false; +}); + +//点击一级导航,弹出二级导航 +$sideNav.on('touchstart', 'li', function(e) { + if ($(this).find('.sub-nav').size() > 0) { + $('.sub-nav').removeClass('show'); + $(this).find('.sub-nav').addClass('show'); + } + e.stopPropagation(); + if (e.target.pathname === location.pathname) { + hideSideBar(); + return false; + } +}); + +//返回一级导航,收起二级导航 +$subNav.each(function() { + $(this).find('li').eq(0).on('touchstart', function(e) { + $('.sub-nav').removeClass('show'); + e.stopPropagation(); + return false; + }); +}).on('touchstart', function(e) { + if (e.currentTarget !== e.target) { + $subNav.find('li').removeClass('current'); + } +}); + +// 侧边栏点击背景色变化 +$sideNav.children('ul').children('li').on('touchstart', function() { + $sideNav.children('ul').children('li').css('background', '#fff'); + $(this).css('background', '#eee'); +}).on('touchend touchcancel', function() { + $(this).css('background', '#fff'); +}); + +//头部banner轮播 +if ($('.banner-swiper').find('li').size() > 1) { + bannerSwiper = new Swiper('.banner-swiper', { + lazyLoading: true, + lazyLoadingInPrevNext: true, + loop: true, + autoplay: 3000, + autoplayDisableOnInteraction: false, + paginationClickable: true, + slideElement: 'li', + pagination: '.banner-top .pagination-inner' + }); +} + +//热门品牌滑动 +hotBrandsSwiper = new Swiper('.brands-swiper', { + grabCursor: true, + slidesPerView: 'auto', + wrapperClass: 'brands-list', + slideElement: 'li' +}); + +//推荐搭配滑动 +recommendSwiper = new Swiper('.recommend-swiper', { + grabCursor: true, + slidesPerView: 'auto', + wrapperClass: 'recommend-list', + slideElement: 'li' +}); + +//潮品话题轮播 +if ($('.trend-topic-swiper').find('li').size() > 1) { + trendTopicSwiper = new Swiper('.trend-topic-swiper', { + loop: true, + autoplay: 3000, + autoplayDisableOnInteraction: false, + paginationClickable: true, + slideElement: 'li', + pagination: '.trend-topic-content .pagination-inner' + }); +} + +//潮流上装/经典裤装等轮播 +$('.category-swiper').each(function(i, index) { + swiperClass = 'category-swiper' + i; + $(this).addClass(swiperClass); + if ($('.' + swiperClass).find('.swiper-slide').size() > 1) { + goodsSwiper = new Swiper('.' + swiperClass, { + loop: true, + autoplay: 3000, + autoplayDisableOnInteraction: false, + paginationClickable: true, + slideElement: 'li', + pagination: '.' + swiperClass + ' .pagination-inner' + }); + } +}); + +//logo动画 +function tsAnimate() { + start = start + 10; + $logotrans.css({ + transform: 'rotateX(' + start + 'deg)', + '-webkit-transform': 'rotateX(' + start + 'deg)', + '-moz-transform': 'rotateX(' + start + 'deg)' + }); + if (start / 90 % 2 === 1) { + if (isen) { + $logotrans.addClass('animate'); + isen = false; + } else { + $logotrans.removeClass('animate'); + isen = true; + } + } + if (start / 90 % 2 === 0 && start % 360 !== 0) { + window.setTimeout(tsAnimate, 3000); + } else { + if (start % 360 === 0) { + window.setTimeout(tsAnimate, 60 * 1000); + } else { + window.requestAnimationFrame(tsAnimate); + } + } +} + +setTimeout(tsAnimate, 3000); + +$('.home-header .iconfont').on('touchstart', function() { + $(this).addClass('highlight'); +}).on('touchend touchcancel', function() { + $(this).removeClass('highlight'); +}); + +// 底部留出tab 的高度 +window.reMarginFooter('.footer-tab'); + +//set cookie +exports.set = function(c) { + window.setCookie('_Channel', c, { + expires: 365, + domain: '.m.yohobuy.com' + }); +}; + +require("js/home/maybe-like"); +}); +define("js/home/maybe-like", ["jquery","hammer","lazyload"], function(require, exports, module){ +/** + * “你可能喜欢”模块JS + * @author: liangzhifeng<zhifeng.liang@yoho.cn> + * @date: 2015/10/12 + */ + +var $ = require("jquery"), + Hammer = require("hammer"), + tip = require("js/plugin/tip"), + loading = require("js/plugin/loading"), + lazyLoad = require("lazyload"); + +var navHammer, + winH = $(window).height(), + $goodList = $('#goods-list'), + searching = false, + page = 0, + gender = null, + kidsType = $('.mobile-wrap').hasClass('kids-wrap') ? true : false, + lifestyleType = $('.mobile-wrap').hasClass('lifestyle-wrap') ? true : false, + num, + url; + +var $curNav, + index, + $navList = $('#maybe-like-nav'); + +//ajax url +if (kidsType) { + url = '/product/recom/maylikekids'; +} else if (lifestyleType) { + url = '/product/recom/maylikelife'; +} else { + gender = $('.mobile-wrap').hasClass('boys-wrap') ? '1,3' : '2,3', + url = '/product/recom/maylike?gender=' + gender; +} + +$curNav = $navList.children('.focus'); + +if (lifestyleType) { + navHammer = new Hammer($navList[0]); + navHammer.on('tap', function(e) { + var $this = $(e.target).closest('li'), + $goods = $('.goods-list'), + $content; + + e.preventDefault(); + if ($this.hasClass('focus')) { + return; + } + + index = $this.index(); + + $this.addClass('focus'); + $curNav.removeClass('focus'); + + $goods.not('.hide').addClass('hide'); + $content = $goods.eq(index); + $content.removeClass('hide'); + + $curNav = $this; + + $(document).trigger('scroll'); //Trigger lazyLoad + e.srcEvent.stopPropagation(); + }); +} + +loading.init($('.maybe-like')); + +function search() { + if (searching) { + return; + } + searching = true; + + loading.showLoadingMask(); + + //num = $goodList.find('.good-info').length; + $.ajax({ + type: 'GET', + url: url, + data: { + page: page + 1 + }, + success: function(data) { + if (data === ' ') { + searching = false; + loading.hideLoadingMask(); + if (gender) { + if (gender === '1,3') { + url = '/boys/bottomBanner'; + } else { + url = '/girls/bottomBanner'; + } + $.ajax({ + type: 'GET', + url: url, + success: function(data) { + if (data && data.img) { + $('#load-more-img').show(); + $('#load-more-img a').attr('href', data.url); + $('#load-more-img a > img').attr('src', data.img); + } + }, + error: function() { + } + }); + + } + return; + } + + num = $goodList.find('.good-info').length; + + $goodList.append(data); + + // 2015/10/31 fei.hong: 修复第一页分页不显示图片的问题 + if (num === 0) { + lazyLoad($goodList.find('.good-info').find('img.lazy')); + } else { + lazyLoad($goodList.find('.good-info:gt(' + (num - 1) + ')').find('img.lazy')); + } + + searching = false; + loading.hideLoadingMask(); + page++; + }, + error: function() { + tip.show('网络断开连接了~'); + searching = false; + loading.hideLoadingMask(); + } + }); +} + +$('.maybe-like p').on('touchstart', function(e) { + search(); +}); + +function scrollHandler() { + if ($(window).scrollTop() + winH >= $(document).height() - 200) { + search(); + } +} + +//srcoll to load more +$(window).scroll(function() { + window.requestAnimationFrame(scrollHandler); +}); +}); +define("js/index/entry", ["jquery","hammer"], function(require, exports, module){ +/** + * Index打包入口 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/19 + */ + +require("js/index/search"); +require("js/index/footer"); +require("js/index/channel"); +}); +define("js/index/search", ["jquery","hammer"], function(require, exports, module){ +/** + * 搜索JS + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/19 + */ + +var $ = require("jquery"), + security = require("js/plugin/security"), + Hammer = require("hammer"); + +var $input = $('#search-input input'); + +var $clear = $('#search-input .clear-input'); + +var $icon = $('.search-icon'); + +var $form = $('#search-form'); + +var $history = $('.history'); +var $historySearch = $('.history-search'); + +var $clearHistory = $('#clear-history'); + +var writeSearch = require("js/index/write-search"); + +var ranToken = writeSearch.getRanToken(); + +var chHammer, cHammer; + +chHammer = new Hammer($clearHistory[0]); +chHammer.on('tap', function() { + localStorage.removeItem('historys'); + + $history.html(''); + $historySearch.hide(); + $clearHistory.hide(); + + window.rePosFooter(); +}); + +$input.on('input', function() { + if ($input.val() === '') { + $icon.css('color', '#b2b2b2'); + $clear.addClass('hide'); + } else { + $icon.css('color', '#666'); + $clear.removeClass('hide'); + } +}); +cHammer = new Hammer($clear[0]); +cHammer.on('tap', function() { + $input.val('').trigger('input'); +}); + +$('#search').on('touchend', function() { + if (security.hasDangerInput()) { + return false; + } + $(this).closest('form').submit(); + return false; +}); + +//初始化历史搜索的内容 +(function() { + var html = '', + history, + historys, i; + + if (localStorage) { + historys = localStorage.getItem('historys'); + + if (historys && historys.length > 0) { + historys = historys.split(ranToken); + for (i = historys.length; i > 0; i--) { + history = historys[i - 1]; + + if (history === '') { + continue; + } + + html += '<li><a href="/?query=' + history + '">' + history + '</li>'; + } + + $history.html(html); + $clearHistory.removeClass('hide'); + $historySearch.removeClass('hide'); + window.rePosFooter(); + } + } +}()); + +writeSearch.bindWirteLocal($form); + +}); +define("js/plugin/security", ["jquery"], function(require, exports, module){ +/** + * 校验input, 防止SQL注入 + * @author: 赵彪<bill.zhao@yoho.cn> + * @date: 2015/11/30 + */ + +var $ = require("jquery"), + tip = require("js/plugin/tip"); + +/** + * hasStrangeInput() return true when input have danger value + * + * @param {Bool} needConvert Set if the danger input value should be converted to space + * @return {Bool} true/false If the input have danger value + */ +function hasDangerInput(needConvert) { + + var $inputs = $('input[type!=hidden], textarea'); + + var validationPartten = /['"<>&\|]|--/g, + inputsLength = $inputs.length, + val, + i, + matchChars, + + // to set if the input value should be coverted, and its default value is true; + willConvert = needConvert === undefined || typeof needConvert !== 'boolean' ? true : needConvert; + + + for (i = 0; i < inputsLength; i++) { + val = $inputs.eq(i).val(); + if (validationPartten.test(val)) { + if (willConvert) { + $inputs.eq(i).val(val.replace(validationPartten, ' ')); + } else { + matchChars = val.match(validationPartten).join(' '); + tip.show('不可以输入 ' + matchChars + ' 哦!'); + } + + + return !willConvert && true; + } + } + + + return false; +} + + +exports.hasDangerInput = hasDangerInput; + +}); +define("js/index/write-search", [], function(require, exports, module){ +/** + * 将搜索结果存localStorage + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/29 + */ + +var ranToken = ' ??++ '; + +//获取分隔符 +function getRanToken() { + return ranToken; +} + +//绑定提交前的存local操作 +function bindWirteLocal($form) { + $form.on('submit', function() { + var query = this.query.value, + historys; + + if (localStorage) { + historys = localStorage.getItem('historys'); + + historys = historys ? historys : ''; + + if (historys.indexOf(ranToken + query + ranToken) > -1) { + return; + } + + if (historys === '') { + query = ranToken + query; + } + + historys += query + ranToken; + + localStorage.setItem('historys', historys); + } + }); +} + +exports.getRanToken = getRanToken; + +exports.bindWirteLocal = bindWirteLocal; +}); +define("js/index/footer", ["jquery","hammer"], function(require, exports, module){ +/** + * 底部JS + * @author: liangzhifeng<zhifeng.liang@yoho.cn> + * @date: 2015/10/26 + */ + +var $ = require("jquery"), + Hammer = require("hammer"); + +var floatLayerBtnHammer; + +require("js/common"); + +function downLoadApp() { + var appUrl = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445'; + var clickedAt = new Date(); + + setTimeout(function() { + if ((new Date()) - clickedAt < 2000) { + window.location = appUrl; + } + }, 500); +} + +$('#float-layer-close').on('touchend', function(e) { + $('#float-layer-app').hide(); + window.setCookie('_float-layer-app', 'id490655927', + { + domain: '.yohobuy.com' + }); + window.setCookie('_float-layer-app-close', 1, + { + domain: '.yohobuy.com', + expires: 1 + }); + return false; +}); + +if ($('#float-layer-btn') && $('#float-layer-btn')[0]) { + floatLayerBtnHammer = new Hammer($('#float-layer-btn')[0]); + floatLayerBtnHammer.on('tap', function(e) { + downLoadApp('bottom'); + e.srcEvent.stopPropagation(); + }); + + if (typeof window.cookie === 'function' && !window.cookie('_float-layer-app')) { + $('#float-layer-app').show(); + } else { + $('#float-layer-app').hide(); + } +} + +}); +define("js/index/channel", ["jquery","hammer"], function(require, exports, module){ +/** + * 频道选择页面顶部搜索 + * @author: bikai<kai.bi@yoho.cn> + * @date: 2015/10/28 + */ +var $ = require("jquery"), + security = require("js/plugin/security"); + +var $searchBox = $('.search-box'), + $box = $('.box'), + $indexSearch = $('.index-search'), + $indexLogo = $('.index-logo'), + $channelLink = $('.index-channel a'); + +var $search = $searchBox.children('input[type="text"]'), + $cancelSearch = $box.children('.no-search'), + $searchIcon = $searchBox.children('.search-icon'); + +require("js/common"); + +$search.on('focus', function() { + $box.addClass('action'); + $indexLogo.addClass('action'); +}).on('input', function() { + if ($search.val() === '') { + $searchIcon.addClass('empty'); + } else { + $searchIcon.removeClass('empty'); + } +}); + +$cancelSearch.on('touchend', function() { + $box.removeClass('action'); + $indexLogo.removeClass('action'); + $search.blur(); + return false; +}); + +$searchBox.children('.clear-text').on('touchstart', function() { + $search.val('').focus().trigger('input'); +}); + +$searchBox.children('.search-icon').on('touchstart', function() { + if (security.hasDangerInput()) { + return false; + } + $indexSearch.submit(); +}); + +$searchBox.keyup(function(e) { + if (e.keyCode === 13) { + if (security.hasDangerInput()) { + return false; + } + $indexSearch.submit(); + } +}); + +$('.index-channel img').on('load error', function() { + window.rePosFooter && window.rePosFooter(); +}); + +$channelLink.on('touchstart', function() { + $channelLink.css({ + background: '#000', + color: '#fff', + borderColor: '#fff' + }); + $(this).css({ + background: 'rgba(255, 255, 255, 0.5)', + color: '#000', + borderColor: '#000' + }); +}).on('touchend touchcancel', function() { + $(this).css({ + background: '#000', + color: '#fff', + borderColor: '#fff' + }); +}); + +}); +define("js/passport/entry", ["jquery","handlebars","source-map","hammer"], function(require, exports, module){ +/** + * 注册、登录、密码找回打包入口 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ + +//注册 +require("js/passport/register/register"); +require("js/passport/register/code"); +require("js/passport/register/password"); + +//登录 +require("js/passport/login/login"); +require("js/passport/login/international"); + +//密码找回 +require("js/passport/back/mobile"); +require("js/passport/back/code"); +require("js/passport/back/email"); +require("js/passport/back/email-success"); +require("js/passport/back/new-password"); + +//绑定手机 +require("js/passport/bind/bind"); +require("js/passport/bind/code"); +require("js/passport/bind/password"); + +}); +define("js/passport/register/register", ["jquery"], function(require, exports, module){ +/** + * 注册 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ +var $ = require("jquery"); + +var $phoneNum = $('#phone-num'), + $countrySelect = $('#country-select'), + $areaCode = $('#area-code'), + $btnNext = $('#btn-next'); + +var api = require("js/passport/api"); +var tip = require("js/plugin/tip"); + +var trim = $.trim; +var showErrTip = tip.show; + +var requested = false; + +api.selectCssHack($('#country-select')); + +api.bindClearEvt(); + +$phoneNum.bind('input', function() { + if (trim($phoneNum.val()) === '') { + $btnNext.addClass('disable'); + } else { + $btnNext.removeClass('disable'); + } +}); + +$countrySelect.change(function() { + $areaCode.text($countrySelect.val()); +}); + +$btnNext.on('touchstart', function() { + var pn = trim($phoneNum.val()), + areaCode = $countrySelect.val(); + + if ($btnNext.hasClass('disable')) { + return; + } + + if (requested) { + return false; + } + + + if (api.phoneRegx[areaCode].test(pn)) { + + requested = true; + + $.ajax({ + url: '/passport/reg/verifymobile', + type: 'POST', + data: { + areaCode: areaCode.replace('+', ''), + phoneNum: pn + }, + success: function(data) { + if (data.code === 200) { + location.href = data.data; + } else { + showErrTip(data.message); + requested = false; + } + }, + error: function(err) { + showErrTip('出错了,请重试'); + requested = false; + } + }); + } else { + showErrTip('手机号格式不正确,请重新输入'); + } +}); + +}); +define("js/passport/api", ["jquery"], function(require, exports, module){ +/** + * 登录注册公用API + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ +var $ = require("jquery"); + +var trim = $.trim; + +//邮箱验证规则 +var emailRegx = /^([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/; + +//手机号码验证规则 +var phoneRegx = { + '+86': /^1[35847]{1}[0-9]{9}$/, + '+852': /^[965]{1}[0-9]{7}$/, + '+853': /^[0-9]{8}$/, + '+886': /^[0-9]{10}$/, + '+65': /^[98]{1}[0-9]{7}$/, + '+60': /^1[1234679]{1}[0-9]{8}$/, + '+1': /^[0-9]{10}$/, + '+82': /^01[0-9]{9}$/, + '+44': /^7[789][0-9]{8}$/, + '+81': /^0[9|8|7][0-9]{9}$/, + '+61': /^[0-9]{11}$/ +}; + +/** + * 密码显示隐藏 + * @params opt 初始化参数 + */ +function bindEyesEvt(opt) { + var $hasEye = $('.has-eye'), + $eye; + + if (opt && opt.status === 'open') { + $hasEye.append('<div class="eye"></div>'); + } else { + $hasEye.append('<div class="eye close"></div>'); + } + $eye = $hasEye.children('.eye'); + + $eye.on('touchstart', function(e) { + var $this = $(this), + $pwd = $this.siblings('.pwd'); + + e.preventDefault(); + $this.toggleClass('close'); + + //切换密码显示和文本显示 + if ($this.hasClass('close')) { + $pwd.attr('type', 'password'); + } else { + $pwd.attr('type', 'text'); + } + $pwd.focus(); + }); +} + +// 清空账号显示 +function bindClearEvt() { + var $hasClear = $('.has-clear'), + $clear; + + $hasClear.append('<div class="clear-input"></div>'); + $clear = $hasClear.children('.clear-input'); + + $clear.on('touchstart', function(e) { + var $input = $clear.siblings('.input'); + + $input.val('').trigger('input').focus(); + e.preventDefault(); + }); + + //反向逻辑 + $hasClear.children('.input').bind('input', function() { + var $this = $(this), + $thisClear = $this.siblings('.clear-input'), + val = trim($this.val()); + + if (val === '') { + $thisClear.hide(); + } else { + $thisClear.show(); + } + }); +} + +// 密码长度验证 +function pwdValidate(pwd) { + if (pwd.length >= 6 && pwd.length <= 20) { + return true; + } + return false; +} + +// hack for resolving direction:rtl didn't work in android uc +function selectCssHack($countrySelect) { + var u = navigator.userAgent; + + function autoSelectWidth() { + var wordCount = $countrySelect.find('option:selected').text().length; + + switch (wordCount) { + + //分别有2,3,4个汉字的情况 + case 2: + $countrySelect.outerWidth(90); + break; + case 3: + $countrySelect.outerWidth(110); + break; + default: + $countrySelect.outerWidth(130); + } + } + + if (u.match(/uc/i) && u.match(/android/i)) { + $countrySelect.change(function() { + autoSelectWidth(); + }); + } else { + $countrySelect.removeClass('in-android-uc'); + } +} + +//Exports APIs +module.exports = { + emailRegx: emailRegx, + phoneRegx: phoneRegx, + bindEyesEvt: bindEyesEvt, + bindClearEvt: bindClearEvt, + pwdValidate: pwdValidate, + selectCssHack: selectCssHack +}; +}); +define("js/passport/register/code", ["jquery"], function(require, exports, module){ +/** + * 注册-验证码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ + +require("js/passport/code")(true); +}); +define("js/passport/code", ["jquery"], function(require, exports, module){ +/** + * 注册/找回密码-验证码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ +var $ = require("jquery"); + +module.exports = function(useInRegister, useForBind) { + var $captcha = $('#captcha'), + $btnNext = $('#btn-next'), + $captchaTip = $('#captcha-tip'), + isReg = parseInt($('#isReg').val()), + nickname = $('#nickname').val(), + sourceType = $('#sourceType').val(), + openId = $('#openId').val(), + phoneNum = $('#phone-num').val(), + areaCode = $('#area-code').val().replace('+', ''); + + var api = require("js/passport/api"); + var tip = require("js/plugin/tip"); + + var trim = $.trim; + var showErrTip = tip.show; + + var urlMid = useInRegister ? 'reg' : 'back'; + + function startBind() { + $.ajax({ + url: '/passport/bind/bindMobile', + type: 'post', + data: { + areaCode: areaCode.replace('+', ''), + phoneNum: phoneNum, + openId: openId, + sourceType: sourceType, + nickname: nickname, + password: '' + }, + success: function(res) { + if (res.code === 200) { + tip.show('登录成功'); + setTimeout(function() { + location.href = res.data.refer; + }, 2000); + } else { + tip.show(res.message); + } + }, + error: function(err) { + tip.show('登录失败,请重试!'); + } + }); + } + + function countDown() { + var count = 59, + itime; + + itime = setInterval(function() { + if (count === 0) { + $captchaTip.text('重发验证码').removeClass('disable'); + clearInterval(itime); + } else { + $captchaTip.text('重发验证码 (' + count-- + '秒)'); + } + }, 1000); + } + + api.bindClearEvt(); + + $captcha.bind('input', function() { + if (trim($captcha.val()) !== '') { + $btnNext.removeClass('disable'); + } else { + $btnNext.addClass('disable'); + } + }); + + //重新发送验证码 + $captchaTip.on('touchstart', function() { + if ($captchaTip.hasClass('disable')) { + return; + } + + $.ajax({ + type: 'POST', + url: useForBind ? '/passport/bind/sendBindMsg' : '/passport/' + urlMid + '/sendcode', + data: { + phoneNum: phoneNum, + areaCode: areaCode + }, + success: function(data) { + if (data.code === 200) { + $captchaTip.text('重发验证码 (60秒)').addClass('disable'); + countDown(); + } else { + + //验证码不正确,显示提示 + showErrTip(data.message); + } + } + }); + }); + + $btnNext.on('touchstart', function() { + if ($btnNext.hasClass('disable')) { + return; + } + + $.ajax({ + type: 'POST', + url: useForBind ? '/passport/bind/checkBindMsg' : '/passport/' + urlMid + '/verifycode', + data: { + phoneNum: phoneNum, + areaCode: areaCode, + code: trim($captcha.val()), + token: $('#token').val() + }, + success: function(data) { + if (data.code === 200) { + if (useForBind) { + if (isReg) { + startBind(); + } else { + location.href = '/passport/bind/password?phoneNum=' + + phoneNum + '&areaCode=' + areaCode + '&openId=' + + openId + '&sourceType=' + sourceType + '&nickname=' + nickname; + } + } else { + location.href = data.data; + } + } else { + + //验证码不正确,显示提示 + showErrTip(data.message); + } + + } + }); + }); + + countDown(); +}; + +}); +define("js/passport/register/password", ["jquery"], function(require, exports, module){ +/** + * 注册-密码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ +var $ = require("jquery"); + +var $pwd = $('#pwd'), + $btnSure = $('#btn-sure'); + +var api = require("js/passport/api"); +var tip = require("js/plugin/tip"); + +var trim = $.trim; +var showErrTip = tip.show; + +api.bindEyesEvt({ + status: 'open' //默认眼睛打开 +}); + +$pwd.bind('input', function() { + if (trim($pwd.val()) === '') { + $btnSure.addClass('disable'); + } else { + $btnSure.removeClass('disable'); + } +}); + +$btnSure.on('touchstart', function() { + var pwd = trim($pwd.val()); + + if ($btnSure.hasClass('disable')) { + return; + } + + if (api.pwdValidate(pwd) === false) { + showErrTip('密码6-20位,请重新输入'); + } else { + $.ajax({ + type: 'POST', + url: '/passport/reg/setpassword', + data: { + password: pwd, + phoneNum: $('#phone-num').val(), + areaCode: $('#area-code').val(), + token: $('#token').val() + }, + success: function(data) { + var res; + + if (data.code === 200) { + res = data.data; + showErrTip('注册成功'); + + $.ajax({ + url: res.session, + dataType: 'jsonp' + }); + + //1000ms后跳转页面 + setTimeout(function() { + location.href = res.href; + }, 1000); + } else { + showErrTip(data.message); + } + } + }); + } +}); +}); +define("js/passport/login/login", ["jquery"], function(require, exports, module){ +/** + * 登录 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/9/30 + */ +var $ = require("jquery"); + +var $account = $('#account'), + $pwd = $('#pwd'), + $loginBtn = $('#btn-login'), + + $mask = $('#retrive-pwd-mask'), + $ways = $('#retrive-pwd-ways'), + + accPass = false, + pwdPass = false; + +var api = require("js/passport/api"); +var tip = require("js/plugin/tip"); + +var trim = $.trim; +var showErrTip = tip.show; + +//登录按钮状态切换 +function switchLoginBtnStatus() { + if (accPass && pwdPass) { + $loginBtn.removeClass('disable'); + } else { + $loginBtn.addClass('disable'); + } +} + +//显示找回密码面板 +function showRetrivePanel() { + $mask.show(); + $ways.show(); +} + +//隐藏找回密码面板 +function hideRetrivePanel() { + $mask.hide(); + $ways.hide(); +} + +//密码显示与隐藏 +api.bindEyesEvt(); + +//清空账号输入框 +api.bindClearEvt(); + +$account.bind('input', function() { + if (trim($account.val()) !== '') { + accPass = true; + } else { + accPass = false; + } + switchLoginBtnStatus(); +}); + +$pwd.bind('input', function() { + if (trim($pwd.val()) === '') { + pwdPass = false; + } else { + pwdPass = true; + } + switchLoginBtnStatus(); +}); + + +// Login +$loginBtn.on('touchstart', function() { + var acc = trim($account.val()), + pwd = trim($pwd.val()); + + if ($loginBtn.hasClass('disable')) { + return; + } + + $loginBtn.text('正在登录...').addClass('disable'); + + //验证账号(数字或者邮箱)和密码合理性 + if ((/^[0-9]+$/.test(acc) || api.emailRegx.test(acc)) && api.pwdValidate(pwd)) { + $.ajax({ + type: 'POST', + url: '/passport/login/auth', + data: { + account: acc, + password: pwd + }, + success: function(data) { + var res, + time; + + if (data.code === 200) { + res = data.data; + + $.ajax({ + url: res.session, + dataType: 'jsonp', + success: function() { + clearTimeout(time); + + //Cookie写入成功后,1s后跳转页面 + setTimeout(function() { + location.href = res.href; + }, 1000); + } + }); + + //3秒后强制跳转 + time = setTimeout(function() { + location.href = res.href; + }, 3000); + + showErrTip('登录成功'); + } else { + showErrTip(data.message); + } + }, + error: function() { + showErrTip('网络断开连接啦~'); + }, + complete: function() { + $loginBtn.text('登录').removeClass('disable'); + } + }); + } else { + showErrTip('账号或密码有错误,请重新输入'); + $loginBtn.text('登录').removeClass('disable'); + } +}); + + +$('#forget-pwd').on('touchstart', function() { + showRetrivePanel(); +}); + +$mask.on('touchstart', function() { + hideRetrivePanel(); +}); + +$('#cancel-retrive').on('touchstart', function(e) { + e.preventDefault(); + hideRetrivePanel(); +}); + +//对初始有默认值的情况去初始化登录按钮状态 +$account.trigger('input'); +$pwd.trigger('input'); +}); +define("js/passport/login/international", ["jquery"], function(require, exports, module){ +/** + * 国际账号登录 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ +var $ = require("jquery"); + +var $phoneNum = $('#phone-num'), + $countrySelect = $('#country-select'), + $areaCode = $('#area-code'), + $pwd = $('#pwd'), + $loginBtn = $('#btn-login'), + + pnPass = false, + pwdPass = false; + +var api = require("js/passport/api"); +var tip = require("js/plugin/tip"); + +var trim = $.trim; +var showErrTip = tip.show; + +//登录按钮状态切换 +function switchLoginBtnStatus() { + if (pnPass && pwdPass) { + $loginBtn.removeClass('disable'); + } else { + $loginBtn.addClass('disable'); + } +} + +//Android-UC下显示select的direction:rtl无效的临时解决办法 +api.selectCssHack($countrySelect); + +//显示隐藏密码 +api.bindEyesEvt(); + +//清空手机号码 +api.bindClearEvt(); + +$phoneNum.bind('input', function() { + if (trim($phoneNum.val()) === '') { + pnPass = false; + } else { + pnPass = true; + } + + switchLoginBtnStatus(); +}); + +$pwd.bind('input', function() { + var pwd = trim($pwd.val()); + + if (pwd === '') { + pwdPass = false; + } else { + pwdPass = true; + } + + switchLoginBtnStatus(); +}); + +$countrySelect.change(function() { + $areaCode.text($countrySelect.val()); +}); + +$loginBtn.on('touchstart', function() { + var pn = trim($phoneNum.val()), + areaCode = $countrySelect.val(), + pwd = trim($pwd.val()); + + if ($loginBtn.hasClass('disable')) { + return; + } + + $loginBtn.text('正在登录...').addClass('disable'); + + if (api.phoneRegx[areaCode].test(pn) && api.pwdValidate(pwd)) { + $.ajax({ + type: 'POST', + url: '/passport/login/auth', + data: { + areaCode: areaCode.replace('+', ''), + account: pn, + password: pwd + }, + success: function(data) { + var res, + time; + + if (data.code === 200) { + res = data.data; + showErrTip('登录成功'); + + $.ajax({ + url: res.session, + dataType: 'jsonp', + success: function() { + clearTimeout(time); + + //Cookie写入成功后,1s后跳转页面 + setTimeout(function() { + location.href = res.href; + }, 1000); + } + }); + + //3秒后强制跳转 + time = setTimeout(function() { + location.href = res.href; + }, 3000); + + showErrTip('登录成功'); + } else { + showErrTip(data.message); + } + }, + error: function() { + showErrTip('网络断开连接啦~'); + }, + complete: function() { + $loginBtn.text('登录').removeClass('disable'); + } + }); + } else { + showErrTip('账号或密码有错误,请重新输入'); + $loginBtn.text('登录').removeClass('disable'); + } +}); + +//对初始有默认值的情况去初始化登录按钮状态 +$phoneNum.trigger('input'); +$pwd.trigger('input'); +}); +define("js/passport/back/mobile", ["jquery"], function(require, exports, module){ +/** + * 找回密码-手机 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ +var $ = require("jquery"); + +var $phoneNum = $('#phone-num'), + $countrySelect = $('#country-select'), + $areaCode = $('#area-code'), + $btnNext = $('#btn-next'); + +var api = require("js/passport/api"); +var tip = require("js/plugin/tip"); + +var trim = $.trim; +var showErrTip = tip.show; + +api.selectCssHack($('#country-select')); + +api.bindClearEvt(); + +$phoneNum.bind('input', function() { + if (trim($phoneNum.val()) === '') { + $btnNext.addClass('disable'); + } else { + $btnNext.removeClass('disable'); + } +}); + +$countrySelect.change(function() { + $areaCode.text($countrySelect.val()); +}); + +$btnNext.on('touchstart', function() { + var pn = trim($phoneNum.val()), + area = $countrySelect.val(); + + if ($btnNext.hasClass('disable')) { + return; + } + + if (api.phoneRegx[area].test(pn)) { + $.ajax({ + url: '/passport/back/sendcode', + type: 'POST', + data: { + areaCode: area.replace('+', ''), + phoneNum: pn + }, + success: function(data) { + if (data.code === 200) { + location.href = data.data; + } else { + showErrTip(data.message); + } + } + }); + } else { + showErrTip('手机号格式不正确,请重新输入'); + } +}); +}); +define("js/passport/back/code", ["jquery"], function(require, exports, module){ +/** + * 找回密码-验证码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ + +require("js/passport/code")(false); +}); +define("js/passport/back/email", ["jquery"], function(require, exports, module){ +/** + * 找回密码-邮箱找回 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ +var $ = require("jquery"); + +var $email = $('#email'), + $btnSure = $('#btn-sure'); + +var api = require("js/passport/api"); +var tip = require("js/plugin/tip"); + +var trim = $.trim; +var showErrTip = tip.show; + +api.bindClearEvt(); + +$email.bind('input', function() { + if (trim($email.val()) === '') { + $btnSure.addClass('disable'); + } else { + $btnSure.removeClass('disable'); + } +}); + +$btnSure.on('touchstart', function() { + var email = trim($email.val()); + + if ($btnSure.hasClass('disable')) { + return; + } + + if (api.emailRegx.test(email)) { + $.ajax({ + url: '/passport/back/sendemail', + type: 'POST', + data: { + email: email + }, + success: function(data) { + if (data.code === 200) { + location.href = data.data; + } else { + showErrTip(data.message); + } + } + }); + } else { + showErrTip('邮箱格式不正确,请重新输入'); + } +}); +}); +define("js/passport/back/email-success", ["jquery"], function(require, exports, module){ +/** + * 找回密码-邮箱找回成功 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ + +var $ = require("jquery"); + +var $resend = $('#resend'); + +var tip = require("js/plugin/tip"), + showErrTip = tip.show; + +$resend.on('touchstart', function(e) { + e.preventDefault(); + + $.ajax({ + url: $resend.data('url'), + type: 'GET', + success: function(data) { + if (data.code === 200) { + showErrTip(data.message); + } else { + showErrTip(data.message); + } + } + }); +}); +}); +define("js/passport/back/new-password", ["jquery"], function(require, exports, module){ +/** + * 密码找回-新密码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ +var $ = require("jquery"); + +var $pwd = $('#pwd'), + $btnOk = $('#btn-ok'); + +var api = require("js/passport/api"); +var tip = require("js/plugin/tip"); + +var trim = $.trim; +var showErrTip = tip.show; + +var $phoneNum = $('#phone-num'); + +api.bindEyesEvt({ + status: 'open' +}); + +$pwd.bind('input', function() { + if (trim($pwd.val()) === '') { + $btnOk.addClass('disable'); + } else { + $btnOk.removeClass('disable'); + } +}); + +$btnOk.on('touchstart', function() { + var pwd = trim($pwd.val()), + mobileBack = true, + setting, + url; + + if ($btnOk.hasClass('disable')) { + return; + } + + setting = { + password: pwd + }; + + if ($phoneNum.length === 0) { + mobileBack = false; + } + + if (mobileBack) { + $.extend(setting, { + phoneNum: $phoneNum.val(), + areaCode: $('#areaCode').val(), + token: $('#token').val() + }); + + url = '/passport/back/passwordByMobile'; + } else { + $.extend(setting, { + code: $('#email-code').val() + }); + + url = '/passport/back/passwordByEmail'; + } + + + if (api.pwdValidate(pwd)) { + $.ajax({ + type: 'POST', + url: url, + data: setting, + success: function(data) { + if (data.code === 200) { + showErrTip('密码修改成功'); + + //1000ms后跳转页面 + setTimeout(function() { + location.href = data.data; + }, 1000); + } else { + showErrTip(data.message); + } + } + }); + } else { + showErrTip('密码6-20位,请重新输入'); + } +}); +}); +define("js/passport/bind/bind", ["jquery","handlebars","source-map","hammer"], function(require, exports, module){ +/** + * 注册 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ +var $ = require("jquery"); + +var $phoneNum = $('#phone-num'), + $countrySelect = $('#country-select'), + $areaCode = $('#area-code'), + $openId = $('#openId'), + $nickname = $('#nickname'), + $sourceType = $('#sourceType'), + $btnNext = $('#btn-next'); + +var api = require("js/passport/api"), + tip = require("js/plugin/tip"), + dialog = require("js/me/dialog"); + +var trim = $.trim; +var showErrTip = tip.show; + +var requested = false; + +function nextStep(url, mobileNo, areaCode) { + if (requested) { + return false; + } + + requested = true; + $btnNext.addClass('disable').html('绑定中...'); + + $.ajax({ + type: 'POST', + url: '/passport/bind/sendBindMsg', + data: { + phoneNum: mobileNo, + areaCode: areaCode.replace('+', '') + }, + success: function(res) { + + // console.log(res.data); + location.href = url; + }, + error: function() { + tip.show('出错了,请重试!'); + $btnNext.removeClass('disable').html('下一步'); + requested = false; + } + }); +} + +api.selectCssHack($('#country-select')); + +api.bindClearEvt(); + +$phoneNum.bind('input', function() { + if (trim($phoneNum.val()) === '') { + $btnNext.addClass('disable'); + } else { + $btnNext.removeClass('disable'); + } +}); + +$countrySelect.change(function() { + $areaCode.text($countrySelect.val()); +}); + +$btnNext.on('touchstart', function() { + var pn = trim($phoneNum.val()), + openId = trim($openId.val()), + nickname = trim($nickname.val()), + sourceType = trim($sourceType.val()), + areaCode = $countrySelect.val(); + + if ($btnNext.hasClass('disable')) { + return; + } + + if (api.phoneRegx[areaCode].test(pn)) { + $.ajax({ + url: '/passport/bind/bindCheck', + type: 'POST', + data: { + areaCode: areaCode.replace('+', ''), + phoneNum: pn, + openId: openId, + sourceType: sourceType, + nickname: nickname + }, + success: function(res) { + + // console.log(res); + + //res : { + // code: 'xxx', + // data: { + // isReg: 0, + // next: 'xxxx' + // }, + // message: 'xxxx', + //} + + + if (res.code === 200) { + if (res.data.isReg === 1) { + dialog.showDialog({ + dialogText: '该手机号已注册过有货\n' + pn + ',确定绑定吗?', + hasFooter: { + leftBtnText: '更换号码', + rightBtnText: '继续绑定' + } + }, function() { + nextStep(res.data.next, pn, areaCode); + }); + } else { + nextStep(res.data.next, pn, areaCode); + } + } else { + showErrTip(res.message); + } + } + }); + } else { + showErrTip('手机号格式不正确,请重新输入'); + } +}); + +}); +define("js/me/dialog", ["jquery","handlebars","source-map","hammer"], function(require, exports, module){ +/* + * @Description: dialog + * @Time: 2015/11/18 + * @author: chenglong.wang + */ + +var $ = require("jquery"), + Handlebars = require("handlebars"), + Hammer = require("hammer"); + +var $dialogWrapper, + dialogTpl, + dialogTemplate; + +function getInstance() { + if (dialogTpl === undefined) { + dialogTpl = '<div id="dialog-wrapper" class="dialog-wrapper">' + + '<div class="dialog-box">' + + '{{# hasHeader}}' + + '{{/ hasHeader}}' + + '<div class="dialog-content">{{dialogText}}</div>' + + '{{# hasFooter}}' + + '<div class="dialog-footer">' + + '{{# leftBtnText}}' + + '<span class="dialog-left-btn">{{.}}</span>' + + '{{/ leftBtnText}}' + + '{{# rightBtnText}}' + + '<span class="dialog-right-btn">{{.}}</span>' + + '{{/ rightBtnText}}' + + '</div>' + + '{{/ hasFooter}}' + + '</div>' + + '</div>'; + + dialogTemplate = Handlebars.compile(dialogTpl); + } + return dialogTemplate; +} + +exports.showDialog = function(data, callback, callbackForLeft) { + + var dialogTemplate = getInstance(), + dialogStr = dialogTemplate(data), + $dialogBox, + defaultHideDuraton, + dialogWrapperHammer; + + $('.dialog-wrapper').remove(); + + $('body').append($(dialogStr)); + + $dialogBox = $('.dialog-box'); + $dialogWrapper = $('.dialog-wrapper'); + dialogWrapperHammer = new Hammer(document.getElementById('dialog-wrapper')); + + // 显示 + if (data.fast) { + $dialogWrapper.css({ + display: 'block' + }); + } else { + $dialogWrapper.fadeIn(); + } + + $dialogBox.css({ + top: '50%', + marginTop: -($dialogBox.height() / 2) + }); + + //隐藏 + if (data.autoHide) { + defaultHideDuraton = 1000; + if (data.autoHide > 1) { + defaultHideDuraton = data.autoHide; + } + setTimeout(function() { + $dialogWrapper.fadeOut(); + }, defaultHideDuraton); + } + + //禁止在dialog上可以上下滚动 + $dialogWrapper.on('touchmove', function() { + return false; + }); + + dialogWrapperHammer.on('tap', function(event) { + + if ($(event.target).hasClass('dialog-left-btn')) { + if (typeof callbackForLeft === 'function') { + callbackForLeft(); + } + $dialogWrapper.fadeOut(); + } else if ($(event.target).hasClass('dialog-right-btn')) { + callback(); + } + + // 防止出现点透问题 + event.preventDefault(); + event.srcEvent.stopPropagation(); + }); +}; + +exports.hideDialog = function() { + $('.dialog-wrapper').remove(); +}; + +}); +define("js/passport/bind/code", ["jquery"], function(require, exports, module){ +/** + * 注册-验证码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ + +require("js/passport/code")(true, true); + +}); +define("js/passport/bind/password", ["jquery"], function(require, exports, module){ +/** + * 注册-密码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/8 + */ +var $ = require("jquery"); + +var $pwd = $('#pwd'), + $btnSure = $('#btn-sure'); + +var api = require("js/passport/api"); +var tip = require("js/plugin/tip"); + +var trim = $.trim; +var showErrTip = tip.show; + +var nickname = $('#nickname').val(), + sourceType = $('#sourceType').val(), + openId = $('#openId').val(), + phoneNum = $('#phone-num').val(), + areaCode = $('#area-code').val().replace('+', ''); + +function startBind(password) { + $.ajax({ + url: '/passport/bind/bindMobile', + type: 'post', + data: { + areaCode: areaCode.replace('+', ''), + phoneNum: phoneNum, + openId: openId, + sourceType: sourceType, + nickname: nickname, + password: password + }, + success: function(res) { + if (res.code === 200) { + tip.show('登录成功'); + setTimeout(function() { + location.href = res.data.refer; + }, 2000); + } else { + tip.show(res.message); + } + }, + error: function(err) { + tip.show('登录失败,请重试!'); + } + }); + } + +api.bindEyesEvt({ + status: 'open' //默认眼睛打开 +}); + +$pwd.bind('input', function() { + if (trim($pwd.val()) === '') { + $btnSure.addClass('disable'); + } else { + $btnSure.removeClass('disable'); + } +}); + +$btnSure.on('touchstart', function() { + var pwd = trim($pwd.val()); + + if ($btnSure.hasClass('disable')) { + return; + } + + if (api.pwdValidate(pwd) === false) { + showErrTip('密码6-20位,请重新输入'); + } else { + startBind(pwd); + } +}); + +}); +define("js/product/entry", ["jquery","swiper","lazyload","hammer","index"], function(require, exports, module){ +/** + * 产品打包入口 + * @author: liangzhifeng<zhifeng.liang@yoho.cn> + * @date: 2015/10/12 + */ + +require("js/product/newsale/newarrival"); +require("js/product/newsale/discount"); +require("js/product/list"); +require("js/product/detail/detail"); +require("js/product/detail/consultform"); +require("js/product/newsale/hot-rank"); + + +}); +define("js/product/newsale/newarrival", ["jquery","swiper","lazyload","hammer","index"], function(require, exports, module){ +/** + * 新品到着 + * @author: liangzhifeng<zhifeng.liang@yoho.cn> + * @date: 2015/10/24 + */ + +var $ = require("jquery"), + Swiper = require("swiper"), + lazyLoad = require("lazyload"); + +var swiper, + $ngc, + $pgc, + $dgc; + +var tip = require("js/plugin/tip"), + filter = require("js/plugin/filter"), + loading = require("js/plugin/loading"); + +var $goodsContainer = $('#goods-container'), + $goodsChildren = $goodsContainer.children(), + $ngc = $($goodsChildren.get(0)), + $pgc = $($goodsChildren.get(1)).addClass('hide'), + $dgc = $($goodsChildren.get(2)).addClass('hide'); + +var winH = $(window).height(), + noResult = '<p class="no-result">未找到相关搜索结果</p>'; + +//默认筛选条件 +var defaultOpt = require("js/product/query-param"); + +var storeOpt = $.extend({}, defaultOpt); //存储默认筛选条件以便重置 + +var now = new Date(), + month = now.getMonth() + 1, + date = now.getDate(); + +var $listNav = $('#list-nav'), + + //导航数据信息 + navInfo = { + today: { + reload: true, + page: 0, + end: false + }, + week: { + reload: true, + page: 0, + end: false + }, + sale: { + reload: true, + page: 0, + end: false + } + }, + $pre = $listNav.find('.active'), //纪录进入筛选前的active项,初始为选中项 + searching; + +require("js/product/suspend-cart"); //悬浮购物车 + +$('#today a').text(month + '月' + date + '号'); + +if ($('.swiper-container .swiper-slide').length > 1) { + swiper = new Swiper('.swiper-container', { + lazyLoading: true, + lazyLoadingInPrevNext: true, + loop: true, + autoplay: 3000, + autoplayDisableOnInteraction: true, + paginationClickable: true, + pagination: '.banner-top .pagination-inner' + }); +} + +/** + * 筛选注册的回调,筛选子项点击后逻辑 + * 需要执行search的场景:1.点选筛选项;2.relaod为true时切换导航;3.下拉加载 + * @param opt {type, id} + */ +function search(opt) { + var setting = {}, + ext, + att, + nav, navType, + dayLimit, + page; + + if (searching) { + return; + } + + if (opt) { + + //筛选项变更则重置reload为true + for (att in navInfo) { + if (navInfo.hasOwnProperty(att)) { + navInfo[att].reload = true; + } + } + + //处理active状态 + $listNav.children('.active').removeClass('active'); + $pre.addClass('active'); + + switch (opt.type) { + case 'gender': + ext = { + gender: opt.id + }; + break; + case 'brand': + ext = { + brand: opt.id + }; + break; + case 'sort': + ext = { + sort: opt.id + }; + break; + case 'color': + ext = { + color: opt.id + }; + break; + case 'size': + ext = { + size: opt.id + }; + break; + case 'price': + ext = { + price: opt.id + }; + break; + case 'discount': + ext = { + discount: opt.id + }; + break; + case 'limit': + ext = { + limit: opt.id + }; + break; + case 'channel': + ext = { + channel: opt.id + }; + break; + case 'p_d': + ext = { + p_d: opt.id + }; + break; + } + + $.extend(defaultOpt, ext); //扩展筛选项 + } + + //导航类别 + if ($pre.hasClass('today')) { + navType = 'today'; + dayLimit = 1; + } else if ($pre.hasClass('week')) { + navType = 'week'; + dayLimit = 2; + } else if ($pre.hasClass('sale')) { + navType = 'sale'; + dayLimit = 3; + } + + nav = navInfo[navType]; + + page = nav.page + 1; + if (nav.reload) { + page = 1; + } else if (nav.end) { + + //不需要重新加载并且数据请求结束 + return; + } + + $.extend(setting, defaultOpt, { + dayLimit: dayLimit, + page: page + }); + + searching = true; + loading.showLoadingMask(); + + $.ajax({ + type: 'GET', + url: '/product/newsale/selectNewSale', + data: setting, + success: function(data) { + var $container, + num; + + switch (navType) { + case 'today': + $container = $ngc; + break; + case 'week': + $container = $pgc; + break; + case 'sale': + $container = $dgc; + break; + } + + if (data === ' ') { + nav.end = true; + if (nav.reload) { + $container.html(noResult); + } + } else { + if (nav.reload) { + $container.html(data); + lazyLoad($container.find('.lazy')); + } else { + num = $container.find('.good-info').length; + $container.append(data); + + //lazy good-infos who append in + lazyLoad($container.find('.good-info:gt(' + (num - 1) + ') .lazy')); + } + + } + + nav.reload = false; + nav.page = page; + + searching = false; + loading.hideLoadingMask(); + + window.rePosFooter(); + }, + error: function() { + tip.show('网络断开连接了~'); + searching = false; + loading.hideLoadingMask(); + } + }); + +} + +$.ajax({ + type: 'GET', + url: '/product/newsale/filter', + data: defaultOpt, + success: function(data) { + $goodsContainer.append(data); + + //初始化filter&注册filter回调 + filter.initFilter({ + fCbFn: search, + hCbFn: function() { + + //切换active状态到$pre上 + $pre.addClass('active'); + $pre.siblings('.filter').removeClass('active'); + } + }); + } +}); +lazyLoad($('.lazy')); + +$listNav.bind('contextmenu', function(e) { + return false; +}); + +//导航栏点击逻辑说明: +//1.点击非active项时切换active状态 +//2.价格和折扣active状态时继续点击切换排序 +//3.筛选无active时点击展开筛选面板 +//4.筛选有active时点击隐藏筛选面板并恢复点击筛选前active项的active状态 +//5.当前active为筛选并且点击其他项时,隐藏筛选面板 +// navHammer = new Hammer($listNav[0]); +$listNav.on('touchend touchcancel', function(e) { + var $this = $(e.target).closest('li'), + nav, + navType, + $active; + + e.preventDefault(); + if ($this.hasClass('filter')) { + + //筛选面板切换状态 + if ($this.hasClass('active')) { + filter.hideFilter(); + + //点击筛选钱的active项回复active + $pre.addClass('active'); + $this.removeClass('active'); + } else { + $pre = $this.siblings('.active'); + + $pre.removeClass('active'); + $this.addClass('active'); + filter.showFilter(); + } + } else { + + if ($this.hasClass('today')) { + navType = 'today'; + } else if ($this.hasClass('week')) { + navType = 'week'; + } else if ($this.hasClass('sale')) { + navType = 'sale'; + } + + nav = navInfo[navType]; + + if (!($this.hasClass('active'))) { + + $active = $this.siblings('.active'); + + $pre = $this; //$pre为除筛选导航的其他导航项,若当前active的为筛选,则把$pre置为当前点击项 + + if ($active.hasClass('filter')) { + + //若之前active项为筛选,则隐藏筛选面板 + filter.hideFilter(); + } else { + + //切换container显示 + $goodsContainer.children('.container:not(.hide)').addClass('hide'); + + switch (navType) { + case 'today': + $ngc.removeClass('hide'); + break; + + case 'week': + $pgc.removeClass('hide'); + break; + + case 'sale': + $dgc.removeClass('hide'); + break; + } + + //重置筛选项 + filter.resetFilter(); + defaultOpt = $.extend({}, storeOpt); + } + + $active.removeClass('active'); + $this.addClass('active'); + } + + if (nav.reload) { + search(); + } + } + e.stopPropagation(); +}); + +function scrollHandler() { + + //当scroll到1/4$goodsContainer高度后继续请求下一页数据 + if ($(window).scrollTop() + winH > + $(document).height() - 0.25 * $goodsContainer.height() - 50) { + if ($pre !== undefined) { + search(); + } + } +} + +//srcoll to load more +$(window).scroll(function() { + window.requestAnimationFrame(scrollHandler); +}); + +//初始请求最新第一页数据 +search(); + +$listNav.on('touchstart', 'li', function(e) { + $(this).addClass('bytouch'); +}).on('touchend touchcancel', function() { + $listNav.find('li').removeClass('bytouch'); +}); + +}); +define("js/plugin/filter", ["jquery","hammer"], function(require, exports, module){ +/** + * 筛选JS + * 暴露三个接口:注册回调、显示filter、隐藏filter + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/19 + */ + +var $ = require("jquery"), + Hammer = require("hammer"); + +var $filter; + +var fCbFn, hCbFn; //筛选和关闭的回调 + +var missStatus; //是否忽略选中状态 + +//隐藏筛选界面 +function hideFilter() { + $filter.addClass('hide'); +} + +//显示筛选界面 +function showFilter() { + $filter.removeClass('hide'); +} + +// 一级菜单点击时背景高亮 +function highlightMainItem() { + var $mainItem = $('.filter-body .classify'); + + $mainItem.on('touchstart', '.shower', function() { + $mainItem.removeClass('highlight'); + $(this).addClass('highlight'); + }).on('touchend touchcancel', '.shower', function() { + $(this).removeClass('highlight'); + }); +} + +// 子菜单点击时背景高亮 +function highlightSubItem() { + var $subItem = $('.filter-body .sub-item'); + + $subItem.on('touchstart', function() { + $subItem.removeClass('highlight'); + $(this).addClass('highlight'); + }).on('touchend touchcancel', function() { + $(this).removeClass('highlight'); + }); +} + +//主筛选项Tap事件句柄 +function classifyTapEvt($this) { + if ($this.hasClass('active')) { + return; + } + + $this.siblings('.active').removeClass('active'); + + $this.addClass('active'); +} + +//子筛选项选中处理 +function setSubClassify($this) { + var $sub = $this.closest('.sub-classify'); + + var $shower = $sub.siblings('.shower'); + + var html, shower; + + if ($this.hasClass('chosed')) { + return $sub; + } + + $sub.children('.chosed').removeClass('chosed'); + $this.addClass('chosed'); + + html = $.trim($this.html()); + + shower = $.trim($shower.html()); + + $shower.html( + shower.substring(0, shower.indexOf('</span>') + 7) + //拆分出shower的title + html.substring(0, html.indexOf('<i')) //拆分选中筛选值 + ); + + if ($this.index() === 0) { + $shower.addClass('default'); + } else { + $shower.removeClass('default'); + } + + return $sub; +} + +//子筛选项Tap句柄 +function subClassifyTapEvt($this) { + var id = $this.data('id'); + + var $sub; + + $sub = setSubClassify($this); + + if (fCbFn) { + fCbFn({ + type: $sub.data('type'), + id: id + }); + } + + hideFilter(); +} + +//初始化筛选 +function initFilter(opt) { + var filterHammer; + + //注册回调 + fCbFn = opt.fCbFn; + hCbFn = opt.hCbFn; + + missStatus = opt.missStatus; + + highlightMainItem(); + highlightSubItem(); + + $filter = $('.filter-mask'); + + filterHammer = new Hammer($filter[0]); + filterHammer.on('tap', function(e) { + var $this = $(e.target), + $cur; + + e.preventDefault();//防止透点 + + if ($this.closest('.filter-body').length > 0) { + $cur = $this.closest('.sub-item'); + if ($cur.length > 0) { + + //tap subclassify + $cur = $this.closest('li'); + + subClassifyTapEvt($cur); + } else { + + //tap classify + $cur = $this.closest('.classify-item'); + + e.srcEvent.stopPropagation(); + + classifyTapEvt($cur); + } + } else { + hideFilter(); + + if (hCbFn) { + hCbFn(); + } + } + }); + +} + +//重置筛选面板 +function resetFilter() { + if (typeof $filter === 'undefined') { + return; + } + + //重置子筛选项 + $('.sub-classify').each(function() { + setSubClassify($(this).children(':first-child')); + }); + + //重置主筛选项 + classifyTapEvt($('.classify > :first-child')); +} + +exports.initFilter = initFilter; + +exports.showFilter = showFilter; + +exports.hideFilter = hideFilter; + +exports.resetFilter = resetFilter; + +}); +define("js/product/query-param", ["jquery"], function(require, exports, module){ +/** + * 提取查询参数 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/19 + */ + +var $ = require("jquery"), + opt = {}; + +$('.query-param').each(function() { + var $this = $(this); + + opt[$this.data('attr')] = $this.val(); +}); + +module.exports = opt; +}); +define("js/product/suspend-cart", ["jquery"], function(require, exports, module){ +/** + * 悬浮购物车 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/1 + */ + +var $ = require("jquery"); + +var $cart = $('#suspend-cart'); + +$.ajax({ + type: 'GET', + url: '/cart/index/count', + success: function(data) { + var count; + + if (data.code === 200) { + count = data.data.cart_goods_count; + if (count > 99) { + count = '99+'; + } + if (count === 0) { + $('.cart-count').remove(); + } + $cart.find('.cart-count').html(count).removeClass('hide'); + } + } +}); + +}); +define("js/product/newsale/discount", ["jquery","swiper","lazyload","hammer","index"], function(require, exports, module){ +/** + * 商品列表页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/20 + */ + +var $ = require("jquery"), + Swiper = require("swiper"), + lazyLoad = require("lazyload"); + +var swiper; + +var tip = require("js/plugin/tip"), + filter = require("js/plugin/filter"), + loading = require("js/plugin/loading"); + +var $goodsContainer = $('#goods-container'), + $goodsChildren = $goodsContainer.children(), + $ngc = $($goodsChildren.get(0)), + $pgc = $($goodsChildren.get(1)), + $dgc = $($goodsChildren.get(2)); + +var winH = $(window).height(), + noResult = '<p class="no-result">未找到相关搜索结果</p>'; + +//默认筛选条件 +var defaultOpt = require("js/product/query-param"); + +var $listNav = $('#list-nav'), + + //导航数据信息 + navInfo = { + newest: { + order: 1, + reload: true, + page: 0, + end: false + }, + price: { + order: 0, + reload: true, + page: 0, + end: false + }, + discount: { + order: 0, + reload: true, + page: 0, + end: false + } + }, + $pre = $listNav.find('.active'), //纪录进入筛选前的active项,初始为选中项 + searching; + +require("js/product/suspend-cart"); //悬浮购物车 + +if ($('.swiper-container .swiper-slide').length > 1) { + swiper = new Swiper('.swiper-container', { + lazyLoading: true, + lazyLoadingInPrevNext: true, + loop: true, + autoplay: 3000, + autoplayDisableOnInteraction: true, + paginationClickable: true, + pagination: '.banner-top .pagination-inner' + }); +} + +/** + * 筛选注册的回调,筛选子项点击后逻辑 + * 需要执行search的场景:1.点选筛选项;2.relaod为true时切换导航;3.下拉加载 + * @param opt {type, id} + */ +function search(opt) { + var setting = {}, + ext, + att, + nav, navType, + page; + + if (searching) { + return; + } + + if (opt) { + + //筛选项变更则重置reload为true + for (att in navInfo) { + if (navInfo.hasOwnProperty(att)) { + navInfo[att].reload = true; + } + } + + //处理active状态 + $listNav.children('.active').removeClass('active'); + $pre.addClass('active'); + + switch (opt.type) { + case 'gender': + ext = { + gender: opt.id + }; + break; + case 'brand': + ext = { + brand: opt.id + }; + break; + case 'sort': + ext = { + sort: opt.id + }; + break; + case 'color': + ext = { + color: opt.id + }; + break; + case 'size': + ext = { + size: opt.id + }; + break; + case 'price': + ext = { + price: opt.id + }; + break; + case 'discount': + ext = { + discount: opt.id + }; + break; + } + + $.extend(defaultOpt, ext); //扩展筛选项 + } + + + //导航类别 + if ($pre.hasClass('new')) { + navType = 'newest'; + } else if ($pre.hasClass('price')) { + navType = 'price'; + } else if ($pre.hasClass('discount')) { + navType = 'discount'; + } + + nav = navInfo[navType]; + + page = nav.page + 1; + if (nav.reload) { + page = 1; + } else if (nav.end) { + + //不需要重新加载并且数据请求结束 + return; + } + + $.extend(setting, defaultOpt, { + type: navType, + order: nav.order, + page: page + }); + + searching = true; + loading.showLoadingMask(); + + $.ajax({ + type: 'GET', + url: '/product/newsale/selectNewSale', + data: setting, + success: function(data) { + var $container, + num; + + switch (navType) { + case 'newest': + $container = $ngc; + break; + case 'price': + $container = $pgc; + break; + case 'discount': + $container = $dgc; + break; + } + + if (data === ' ') { + nav.end = true; + + if (nav.reload) { + $container.html(noResult); + } + } else { + if (nav.reload) { + $container.html(data); + lazyLoad($container.find('.lazy')); + } else { + num = $container.find('.good-info').length; + $container.append(data); + + //lazy good-infos who append in + lazyLoad($container.find('.good-info:gt(' + (num - 1) + ') .lazy')); + } + } + + nav.reload = false; + nav.page = page; + + searching = false; + loading.hideLoadingMask(); + + window.rePosFooter(); + }, + error: function() { + tip.show('网络断开连接了~'); + searching = false; + loading.hideLoadingMask(); + } + }); + +} + +$.ajax({ + type: 'GET', + url: '/product/newsale/filter', + data: defaultOpt, + success: function(data) { + $goodsContainer.append(data); + + //初始化filter&注册filter回调 + filter.initFilter({ + fCbFn: search, + hCbFn: function() { + + //切换active状态到$pre上 + $pre.addClass('active'); + $pre.siblings('.filter').removeClass('active'); + }, + missStatus: true + }); + } +}); +lazyLoad($('.lazy')); + +//导航栏点击逻辑说明: +//1.点击非active项时切换active状态 +//2.价格和折扣active状态时继续点击切换排序 +//3.筛选无active时点击展开筛选面板 +//4.筛选有active时点击隐藏筛选面板并恢复点击筛选前active项的active状态 +//5.当前active为筛选并且点击其他项时,隐藏筛选面板 +$listNav.bind('contextmenu', function(e) { + return false; +}); + +$listNav.on('touchend touchcancel', function(e) { + var $this = $(e.target).closest('li'), + nav, + navType, + $active; + + e.preventDefault(); + + if (typeof $this === 'undefined' || $this.length === 0) { + return; + } + + if ($this.hasClass('filter')) { + + //筛选面板切换状态 + if ($this.hasClass('active')) { + filter.hideFilter(); + + //点击筛选钱的active项回复active + $pre.addClass('active'); + $this.removeClass('active'); + } else { + $pre = $this.siblings('.active'); + + $pre.removeClass('active'); + $this.addClass('active'); + + filter.showFilter(); + } + } else { + + if ($this.hasClass('new')) { + navType = 'newest'; + } else if ($this.hasClass('price')) { + navType = 'price'; + } else if ($this.hasClass('discount')) { + navType = 'discount'; + } + + nav = navInfo[navType]; + + if ($this.hasClass('active')) { + + //最新无排序切换 + if ($this.hasClass('new')) { + return; + } + + if ($this.hasClass('price') || $this.hasClass('discount')) { + + // 价格/折扣切换排序状态 + $this.find('.icon > .iconfont').toggleClass('cur'); + $pre = $this; //更新pre为当前项 + nav.reload = true; //重置reload,HTML会被替换为逆序的HTML + nav.order = nav.order === 0 ? 1 : 0; //切换排序 + } + } else { + $active = $this.siblings('.active'); + + $pre = $this; //$pre为除筛选导航的其他导航项,若当前active的为筛选,则把$pre置为当前点击项 + + if ($active.hasClass('filter')) { + + //若之前active项为筛选,则隐藏筛选面板 + filter.hideFilter(); + } else { + + //切换container显示 + $goodsContainer.children('.container:not(.hide)').addClass('hide'); + + switch (navType) { + case 'newest': + $ngc.removeClass('hide'); + break; + + case 'price': + $pgc.removeClass('hide'); + break; + + case 'discount': + $dgc.removeClass('hide'); + break; + } + } + + $active.removeClass('active'); + $this.addClass('active'); + } + + if (nav.reload) { + search(); + } + } + e.stopPropagation(); +}); + +function scrollHandler() { + + //当scroll到1/4$goodsContainer高度后继续请求下一页数据 + if ($(window).scrollTop() + winH > + $(document).height() - 0.25 * $goodsContainer.height() - 50) { + if ($pre !== undefined) { + search(); + } + } +} + +//srcoll to load more +$(window).scroll(function() { + window.requestAnimationFrame(scrollHandler); +}); + +//初始请求最新第一页数据 +search(); + +$listNav.on('touchstart', 'li', function(e) { + $(this).addClass('bytouch'); +}).on('touchend touchcancel', function() { + $listNav.find('li').removeClass('bytouch'); +}); + +}); +define("js/product/list", ["jquery","hammer","lazyload"], function(require, exports, module){ +/** + * 商品列表页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/20 + */ + +var $ = require("jquery"), + Hammer = require("hammer"), + lazyLoad = require("lazyload"); + + +//品牌页参数 +var $brandHeader = $('#brand-header'), + $introBox = $('#intro-box'); + +var filter = require("js/plugin/filter"); + +var writeSearch = require("js/index/write-search"); + +var tip = require("js/plugin/tip"); +var loading = require("js/plugin/loading"); + +var $goodsContainer = $('#goods-container'), + $ngc = $goodsContainer.children('.new-goods'), + $pgc = $goodsContainer.children('.price-goods'), + $dgc = $goodsContainer.children('.discount-goods'); + +var winH = $(window).height(); + +var $input = $('#search-input input'), + $icon = $('.search-icon'), + $clear = $('#search-input .clear-input'); + +//默认筛选条件 +var defaultOpt = require("js/product/query-param"); + +var $listNav = $('#list-nav'), + + //导航数据信息 + navInfo = { + newest: { + order: 1, + reload: true, + page: 0, + end: false + }, + price: { + order: 0, + reload: true, + page: 0, + end: false + }, + discount: { + order: 0, + reload: true, + page: 0, + end: false + } + }, + $pre = $listNav.find('.active'), //纪录进入筛选前的active项,初始为选中项 + searching, + btnIntroHammer, + introHammer, + brandColHammer; + +$input.on('input', function() { + if ($input.val() === '') { + $icon.css('color', '#b2b2b2'); + $clear.addClass('hide'); + } else { + $icon.css('color', '#666'); + $clear.removeClass('hide'); + } +}); + +$clear.on('touchend', function() { + $input.val('').trigger('input'); +}); + +/** + * 手动触发搜索 + */ +$('#search').on('touchend', function() { + $(this).closest('form').submit(); + return false; +}); + +/** + * 筛选注册的回调,筛选子项点击后逻辑 + * 需要执行search的场景:1.点选筛选项;2.relaod为true时切换导航;3.下拉加载 + * @param opt {type, id} + */ +function search(opt) { + var setting = {}, + ext, + att, + nav, navType, + page; + + if (searching) { + return; + } + + if (opt) { + + //筛选项变更则重置reload为true + for (att in navInfo) { + if (navInfo.hasOwnProperty(att)) { + navInfo[att].reload = true; + } + } + + //处理active状态 + $listNav.children('.active').removeClass('active'); + $pre.addClass('active'); + + switch (opt.type) { + case 'gender': + ext = { + gender: opt.id + }; + break; + case 'brand': + ext = { + brand: opt.id + }; + break; + case 'sort': + ext = { + sort: opt.id + }; + break; + case 'color': + ext = { + color: opt.id + }; + break; + case 'size': + ext = { + size: opt.id + }; + break; + case 'price': + ext = { + price: opt.id + }; + break; + case 'discount': + ext = { + discount: opt.id + }; + break; + } + + $.extend(defaultOpt, ext); //扩展筛选项 + } + + //导航类别 + if ($pre.hasClass('new')) { + navType = 'newest'; + } else if ($pre.hasClass('price')) { + navType = 'price'; + } else if ($pre.hasClass('discount')) { + navType = 'discount'; + } + + nav = navInfo[navType]; + + page = nav.page + 1; + if (nav.reload) { + page = 1; + } else if (nav.end) { + + //不需要重新加载并且数据请求结束 + return; + } + + $.extend(setting, defaultOpt, { + type: navType, + order: nav.order, + page: page + }); + + searching = true; + loading.showLoadingMask(); + + $.ajax({ + type: 'GET', + url: '/index/search/search', + data: setting, + success: function(data) { + var noResult = '<p class="no-result">未找到相关搜索结果</p>', + num, + $container; + + switch (navType) { + case 'newest': + $container = $ngc; + break; + case 'price': + $container = $pgc; + break; + case 'discount': + $container = $dgc; + break; + } + + if (data === ' ') { + nav.end = true; + + if (nav.reload) { + $container.html(noResult); + } + } else { + if (nav.reload) { + $container.html(data); + lazyLoad($container.find('.lazy')); + } else { + num = $container.find('.good-info').length; + $container.append(data); + + //lazy good-infos who append in + lazyLoad($container.find('.good-info:gt(' + (num - 1) + ') .lazy')); + } + + } + + nav.reload = false; + nav.page = page; + + searching = false; + loading.hideLoadingMask(); + + window.rePosFooter(); + + + // 用于统计点击了商品列表的第几个商品,序号从1开始计算。 + if (window._yas) { + switch (navType) { + case 'newest': + window._yas(1 * new Date(), '1.0.13.6.3', 'yohobuy_m', window._ozuid, + '', '.new-goods .good-info .good-detail-img .good-thumb'); + break; + case 'price': + window._yas(1 * new Date(), '1.0.13.6.3', 'yohobuy_m', window._ozuid, + '', '.price-goods .good-info .good-detail-img .good-thumb'); + break; + case 'discount': + window._yas(1 * new Date(), '1.0.13.6.3', 'yohobuy_m', window._ozuid, + '', '.discount-goods .good-info .good-detail-img .good-thumb'); + break; + } + } + } + }); + +} + +require("js/product/suspend-cart"); //悬浮购物车 + +$.ajax({ + type: 'GET', + url: '/search/filter', + data: defaultOpt, + success: function(data) { + $goodsContainer.append(data); + + //初始化filter&注册filter回调 + filter.initFilter({ + fCbFn: search, + hCbFn: function() { + + //切换active状态到$pre上 + $pre.addClass('active'); + $pre.siblings('.filter').removeClass('active'); + } + }); + } +}); + +lazyLoad($('.lazy')); + +writeSearch.bindWirteLocal($('#search-form')); + +//导航栏点击逻辑说明: +//1.点击非active项时切换active状态 +//2.价格和折扣active状态时继续点击切换排序 +//3.筛选无active时点击展开筛选面板 +//4.筛选有active时点击隐藏筛选面板并恢复点击筛选前active项的active状态 +//5.当前active为筛选并且点击其他项时,隐藏筛选面板 + +$listNav.bind('contextmenu', function(e) { + return false; +}); + +$listNav.on('touchend touchcancel', function(e) { + var $this = $(e.target).closest('li'), + nav, + navType, + $active; + + if ($this.hasClass('filter')) { + + //筛选面板切换状态 + if ($this.hasClass('active')) { + filter.hideFilter(); + + //点击筛选钱的active项回复active + $pre.addClass('active'); + $this.removeClass('active'); + } else { + $pre = $this.siblings('.active'); + + $pre.removeClass('active'); + $this.addClass('active'); + + filter.showFilter(); + } + } else { + + if ($this.hasClass('new')) { + navType = 'newest'; + } else if ($this.hasClass('price')) { + navType = 'price'; + } else if ($this.hasClass('discount')) { + navType = 'discount'; + } + + nav = navInfo[navType]; + + if ($this.hasClass('active')) { + + //最新无排序切换 + if ($this.hasClass('new')) { + return; + } + + if ($this.hasClass('price') || $this.hasClass('discount')) { + + // 价格/折扣切换排序状态 + $this.find('.icon > .iconfont').toggleClass('cur'); + $pre = $this; //更新pre为当前项 + nav.reload = true; //重置reload,HTML会被替换为逆序的HTML + nav.order = nav.order === 0 ? 1 : 0; //切换排序 + } + } else { + $active = $this.siblings('.active'); + + $pre = $this; //$pre为除筛选导航的其他导航项,若当前active的为筛选,则把$pre置为当前点击项 + + if ($active.hasClass('filter')) { + + //若之前active项为筛选,则隐藏筛选面板 + filter.hideFilter(); + } else { + + //切换container显示 + $goodsContainer.children('.container:not(.hide)').addClass('hide'); + + switch (navType) { + case 'newest': + $ngc.removeClass('hide'); + break; + + case 'price': + $pgc.removeClass('hide'); + break; + + case 'discount': + $dgc.removeClass('hide'); + break; + } + } + + $active.removeClass('active'); + $this.addClass('active'); + } + + if (nav.reload) { + search(); + } + } +}); + +function scrollHandler() { + + //当scroll到1/4$goodsContainer高度后继续请求下一页数据 + if ($(window).scrollTop() + winH > + $(document).height() - 0.25 * $goodsContainer.height()) { + search(); + } +} + +//srcoll to load more +$(window).scroll(function() { + window.requestAnimationFrame(scrollHandler); +}); + +if ($brandHeader.length > 0) { + + //品牌介绍 + btnIntroHammer = new Hammer($brandHeader.children('.btn-intro')[0]); + btnIntroHammer.on('tap', function() { + $introBox.removeClass('hide'); + + //防止混合scroll发生 + $('body').addClass('overflow-hidden'); + }); + + //关闭品牌介绍 + introHammer = new Hammer(document.getElementById('intro-box')); + introHammer.on('tap', function(e) { + var $this = $(e.target); + + e.srcEvent.preventDefault(); + + //关闭品牌介绍box + if ($this.closest('#brand-intro').length === 0 || $this.hasClass('close-intro')) { + $introBox.addClass('hide'); + $('body').removeClass('overflow-hidden'); + } + }); + + //品牌收藏 + brandColHammer = new Hammer($brandHeader.children('.btn-col')[0]); + brandColHammer.on('tap', function(e) { + var $this = $(e.target).closest('.btn-col'); + + var id = $brandHeader.data('id'), + opt; + + if ($this.hasClass('coled')) { + opt = 'cancel'; + } else { + opt = 'ok'; + } + + $.ajax({ + type: 'POST', + url: '/product/opt/favoriteBrand', + data: { + id: id, + opt: opt + }, + success: function(data) { + if (data.code === 200) { + $this.toggleClass('coled'); + + //提示 + if (opt === 'ok') { + tip.show('添加收藏成功'); + } else { + tip.show('取消收藏成功'); + } + } else if (data.code === 400) { + location.href = data.data;//未登录跳转登录页 + } else { + tip.show(data.message); + } + }, + error: function() { + tip.show('网络断开连接了~'); + } + }); + }); +} + +//初始请求最新第一页数据 +search(); + +$listNav.on('touchstart', 'li', function() { + $listNav.find('li').removeClass('bytouch'); + $(this).addClass('bytouch'); +}).on('touchend touchcancel', 'li', function() { + $listNav.find('li').removeClass('bytouch'); +}); + + +}); +define("js/product/detail/detail", ["jquery","swiper","hammer","lazyload","index"], function(require, exports, module){ +/** + * 商品详情 + * @author: liangzhifeng<zhifeng.liang@yoho.cn> + * @date: 2015/10/20 + */ +var $ = require("jquery"), + Swiper = require("swiper"), + Hammer = require("hammer"), + lazyLoad = require("lazyload"); + +var goodsSwiper, + $discountFolder = $('.goodsDiscount .discount-folder'), + $discountArrow = $('.goodsDiscount .first-item span'); + +var goodsDiscountEl = document.getElementById('goodsDiscount'), + goodsDiscountHammer = goodsDiscountEl && new Hammer(goodsDiscountEl), + $discountFirstItem = $(goodsDiscountEl).find('.first-item'); + +var $cart = $('.cart-bar'); + +//add extra marign-bottom for footer to show the yoho copyright +function showFooter() { + var $cartBar = $('.cart-bar'); + + var timer = setInterval(function() { + if ($cartBar) { + window.reMarginFooter('.cart-bar'); + clearInterval(timer); + } else { + $cartBar = $('.cart-bar'); + } + }, 200); +} + +showFooter(); + +require("js/product/detail/like"); + +lazyLoad($('img.lazy')); + +if ($('#goodsDiscount h1').length < 1) { + $('.dropdown').remove(); +} + +//顶部swiper +goodsSwiper = new Swiper('.banner-swiper', { + lazyLoading: true, + lazyLoadingInPrevNext: true, + paginationClickable: true, + pagination: '.banner-top .pagination-inner', + nextButton: '.my-swiper-button-next', + prevButton: '.my-swiper-button-prev', + spaceBetween: 3 +}); + + +//初始化goods-discount +if (0 === $discountFolder.children().length) { + $discountFolder.css('display', 'none'); + $discountArrow.html(''); +} + +//goods-discount下拉按钮点击事件 +if (goodsDiscountHammer && $discountFolder.children().length > 0) { + goodsDiscountHammer.on('tap', function(e) { + if ($discountFolder.is(':hidden')) { + $discountFirstItem.removeClass('short-text'); + $discountArrow.removeClass('icon-down').addClass('icon-up').html(''); + $discountFolder.slideDown(); + } else { + $discountFirstItem.addClass('short-text'); + $discountArrow.removeClass('icon-up').addClass('icon-down').html(''); + $discountFolder.slideUp(); + } + }); +} + +require("js/product/detail/desc"); +require("js/product/detail/comments-consults"); +require("js/product/recommend-for-you-product-desc"); + +//购物车商品数量 +$.ajax({ + type: 'GET', + url: '/cart/index/count', + success: function(data) { + var count; + + if (data.code === 200) { + count = data.data.cart_goods_count || 0; + if (count === 0) { + return false; + } + if (count > 99) { + count = '99+'; + } + $cart.find('.num-tag').html(count).removeClass('hide'); + } + } +}); + +if ($('.good-detail-page').length > 0) { + $('#yoho-footer').css('border-top', '1px solid #e0e0e0'); +} + + + +}); +define("js/product/detail/like", ["jquery"], function(require, exports, module){ +/** + * 商品详情 --添加收藏 + * @author: Lynnic + * @date: 2015/11/24 + */ + + +var $ = require("jquery"), + tip = require("js/plugin/tip"), + chosePanel = require("js/cart/chose-panel"); + +var productId = $('#productId').val(); + +$('#likeBtn').on('touchstart', function() { + var opt, + favorite; + + var $this = $(this); + + if ($this.hasClass('liked')) { + opt = 'cancel'; + favorite = 0; + } else { + opt = 'ok'; + favorite = 1; + } + + $.ajax({ + type: 'POST', + url: '/product/opt/favoriteProduct', + data: { + id: productId, + opt: opt + }, + success: function(data) { + if (data.code === 200) { + $this.toggleClass('liked'); + + if ('cancel' === opt) { + tip.show('取消收藏成功'); + } else if ('ok' === opt) { + tip.show('收藏成功'); + } + } else if (data.code === 400) { + location.href = data.data;//未登录跳转登录页 + } else { + tip.show(data.message); + } + }, + error: function() { + tip.show('网络断开连接了~'); + } + }); + + // 统计代码:用于统计用户加入或取消商品收藏的动作 + if (window._yas) { + window._yas.sendCustomInfo({ + pd: productId, + fa: favorite + }, true); + } + + return false; +}); + +$('#addtoCart').on('touchstart', function() { + chosePanel.show(); + + //统计代码:用于统计用户加入购物车的动作 + if (window._yas) { + window._yas.sendCustomInfo({ + pd: productId, + by: 1 + }, true); + } + + return false; +}); +}); +define("js/cart/chose-panel", ["jquery"], function(require, exports, module){ +/** + * 购物车选择尺寸、颜色和数量面板 + * 显示时构造当前商品信息的HTML插入yoho-page;消失则是直接清除HTML + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/21 + */ + +// bikai +// 增加init函数,异步请求的接口需要重新初始化一下选择列表 +// 异步渲染的模板统一插入 #chose-panel ,兼容页面多个选择框 + +var $ = require("jquery"), + tip = require("js/plugin/tip"), + loading = require("js/plugin/loading"); + +var $chosePanel = $('#chose-panel'), + $num, + $chosed, + $imgsThumb, + $leftNum, + $leftNumHtml, + leftNum, + confirming, + curColorIndex, + curSizeIndex, + hasChooseColor, + hasChooseSize, + $curSizeBlock, + $sizeRowList, + cbFn, + $allChoseItems, + queryString, + $yohoPage = $('.yoho-page'); + + +//初始化购物车面板显示 +function init() { + hasChooseColor = false; + hasChooseSize = false; + $curSizeBlock = null; + queryString = $.queryString(); + $imgsThumb = $('.chose-panel').find('.thumb'); + $allChoseItems = $('.chose-items'); + $sizeRowList = $('.size-list ul'); + $leftNum = $('#left-num'); + $leftNumHtml = + $sizeRowList.eq(0).toggleClass('hide'); +} + +function checkColorSizeNum() { + if (!hasChooseColor && !hasChooseSize) { + tip.show('请选择颜色和尺码~'); + return false; + } else if (!hasChooseColor) { + tip.show('请选择颜色~'); + return false; + } else if (!hasChooseSize) { + tip.show('请选择尺码~'); + return false; + } + return true; +} + + +function show(html, cb) { + var scrollPosition = [ + document.documentElement.scrollLeft || document.body.scrollLeft, + document.documentElement.scrollTop || document.body.scrollTop + ], + $html = $('html, body'); // it would make more sense to apply this to body, but IE7 won't have that + + $html.data('scroll-position', scrollPosition); + $html.data('previous-overflow', $html.css('overflow')); + $html.css('overflow', 'hidden'); + $html.css('height', '100%'); + window.scrollTo(scrollPosition[0], scrollPosition[1]); + + if (html) { + $chosePanel.html(html); + if ($('#promotionId').val() !== '') { + $yohoPage.off('touchstart', '.btn-minus'); + $yohoPage.off('touchstart', '.btn-plus'); + } + init(); + } + $('.chose-panel').show(); + $num = $('#good-num'); + cbFn = cb; +} + +//隐藏当前Panel +function hide() { + var $html = $('html, body'), + scrollPosition = $html.data('scroll-position'); + + // un-lock scroll position + $html.css('overflow', $html.data('previous-overflow')); + $html.css('height', 'auto'); + window.scrollTo(scrollPosition[0], scrollPosition[1]); + $('.chose-panel').hide(); +} + +//修改加入购物车的文字和背景 +function updateConformButtonClassAndText() { + $chosed = $allChoseItems.find('.chosed'); + if (2 === $chosed.closest('.zero-stock').length) { + $('#chose-btn-sure').css('background-color', '#c0c0c0').html('已售罄'); + } else { + $('#chose-btn-sure').css('background-color', '#eb0313').html('加入购物车'); + } +} + +//重置颜色块的库存为0的样式 +function resetColorZeroStock($siblingBlock) { + var numArray, + i; + + if (!hasChooseSize) { + $siblingBlock.find('ul>li').each(function() { + if (0 === $(this).data('num')) { + $(this).addClass('zero-stock'); + } else { + $(this).removeClass('zero-stock'); + } + }); + + } else { + numArray = ($curSizeBlock.data('numstr') + '').split('/'); + for (i = 0; i < numArray.length; i++) { + if ('0' === numArray[i]) { + $siblingBlock.find('.block').eq(i).addClass('zero-stock'); + } else { + $siblingBlock.find('.block').eq(i).removeClass('zero-stock'); + } + } + } +} + +// 选择了颜色切换商品图片 +function changeGoodImgWhenClickColor() { + if (hasChooseColor && curColorIndex >= 0) { + $imgsThumb.addClass('hide').eq(curColorIndex).removeClass('hide'); + } +} + +init(); + +$yohoPage.on('touchstart', '.chose-panel', function(e) { + var $cur = $(e.target); + + if ($cur.closest('.main').length > 0) { + return; + } + + //点击蒙版消失 + hide(); +}); + +$yohoPage.on('touchstart', '.color-list .block', function() { + var $this = $(this), + index, + curSizeBlock, + $preSiblingBlock, + $curSizeRow, + numArray, + i, + curGoodNum; + + var $siblingBlock = $this.closest('.block-list').siblings(':first'); + + $this.siblings('.chosed').removeClass('chosed'); + index = $this.index(); + + $preSiblingBlock = $siblingBlock.find('.chosed'); + $curSizeRow = $sizeRowList.eq(index); + + // 当前颜色已经是选中状态,再点击时 + if ($this.hasClass('chosed')) { + + //颜色原来已经是勾选时,要清空剩余件数的提示 + $allChoseItems.find('.num .left-num').html(''); + $leftNum.val(0); + hasChooseColor = false; + + $this.removeClass('zero-stock'); + if ($curSizeBlock) { + numArray = ($curSizeBlock.data('numstr') + '').split('/'); + for (i = 0; i < numArray.length; i++) { + if ('0' === numArray[i]) { + $('.color-list .block').eq(i).addClass('zero-stock'); + } + } + } + + // 当前颜色不是选中状态,选中时 + } else { + hasChooseColor = true; + + //把当前选中颜色对应的尺码那一行显示出来 + $sizeRowList.addClass('hide'); + $curSizeRow.removeClass('hide').addClass('show'); + + // 之前选中的尺码去掉勾选样式 + if ($preSiblingBlock.length > 0) { + $preSiblingBlock.removeClass('chosed'); + curSizeBlock = $curSizeRow.children().get(curSizeIndex); + $curSizeBlock = $(curSizeBlock); + } + + // 当前选中颜色对应的尺码行,其对应的尺码加上勾选样式 (前提是要判断下这个尺码是否存在) + if (curSizeBlock) { + curGoodNum = $(curSizeBlock).data('num'); + $(curSizeBlock).addClass('chosed'); + + //如果当前有尺码被选中,且数量等于0,则颜色块添加数量为0的样式 + if (curGoodNum > 0) { + $allChoseItems.find('.num .left-num').html('剩余' + curGoodNum + '件'); + $leftNum.val(curGoodNum); + } else { + $allChoseItems.find('.num .left-num').html(''); + $leftNum.val(0); + } + } + } + + // 当前颜色块 切换勾选样式 + $this.toggleClass('chosed'); + curColorIndex = index; + $('#good-num').val(1); + + // 修改颜色时修改商品图片 + changeGoodImgWhenClickColor(); + + // 设置按钮的样式和文字 + updateConformButtonClassAndText(); +}).on('touchstart', '.size-list .block', function() { + var $this = $(this), + index, + $curSizeRow, + curGoodNum; + + var $siblingBlock = $this.closest('.block-list').siblings(':first'); + + $this.siblings('.chosed').removeClass('chosed'); + index = $this.index(); + $curSizeRow = $sizeRowList.eq(index); + + // 当前尺码已经是选中状态,再点击时 + if ($this.hasClass('chosed')) { + + //尺码原来已经是勾选时,要清空剩余件数的提示 + $allChoseItems.find('.num .left-num').html(''); + $('#left-num').val(0); + hasChooseSize = false; + curSizeIndex = null; + $curSizeBlock = null; + + // 当前尺码不是选中状态,选中时 + } else { + hasChooseSize = true; + curGoodNum = $this.data('num'); + + // 之前选中的尺码去掉勾选样式 + if ($curSizeBlock) { + $curSizeBlock.removeClass('chosed'); + } + + // 如果当前有尺码被选中,且数量等于0, 否则显示剩余件数 + if (curGoodNum > 0 && hasChooseColor) { + $allChoseItems.find('.num .left-num').html('剩余' + curGoodNum + '件'); + $('#left-num').val(curGoodNum); + } else { + $allChoseItems.find('.num .left-num').html(''); + $('#left-num').val(0); + } + + if (curGoodNum === 0 && hasChooseColor) { + $this.addClass('zero-stock'); + } + curSizeIndex = index; + $curSizeBlock = $this; + } + + $this.toggleClass('chosed'); + $('#good-num').val(1); + + // 重置颜色块的样式 + resetColorZeroStock($siblingBlock); + + // 设置按钮的样式和文字 + updateConformButtonClassAndText(); +}); + +$yohoPage.on('touchstart', '.btn-minus', function() { + var num = parseInt($num.val(), 10); + + leftNum = $('#left-num').val(); + + if (!checkColorSizeNum()) { + return; + } + + if (num === 1 || 0 === leftNum - 0) { + tip.show('您选择的数量不能为零~'); + return; + } + if (num < 0) { + tip.show('您选择的数量不能为负数~'); + return; + } + + $num.val(num - 1); +}).on('touchstart', '.btn-plus', function() { + var num = parseInt($num.val(), 10); + + leftNum = $('#left-num').val(); + + if (!checkColorSizeNum()) { + return; + } + + if (num - 0 === leftNum || 0 === leftNum) { + return; + } + + //TODO:库存数验证 + if (num > leftNum - 1) { + tip.show('您选择的数量超过了最大库存量~'); + return; + } + $num.val(num + 1); +}).on('touchstart', '#chose-btn-sure', function() { + + var productSku, + buyNumber = $('#good-num').val() - 0, + + promotionId, + isEdit = 0, + num = parseInt($num.val(), 10); + + //颜色尺码没有选择 + if (!checkColorSizeNum()) { + return; + } + + //TODO status change + if ($('#chose-btn-sure').html() === '已售罄') { + return; + } + + leftNum = $('#left-num').val() - 0; + + if (num > leftNum) { + tip.show('您选择的数量超过了最大库存量~'); + return; + } + if (num < 0) { + tip.show('您选择的数量小于一件~'); + return; + } + $chosed = $('.block-list>ul>li.chosed'); + + if (2 === $chosed.length && 0 === $chosed.closest('.zero-stock').length) { + productSku = $curSizeBlock.data('skuid'); + promotionId = $('#promotionId').val(); + if (confirming) { + return false; + } + + confirming = true; + loading.showLoadingMask(); + $.ajax({ + method: 'POST', + url: '/cart/index/add', + data: { + productSku: productSku, + buyNumber: buyNumber, + promotionId: promotionId, + isEdit: isEdit, + cartType: queryString.cartType + } + }).done(function(res) { + var cartNum; + + loading.hideLoadingMask(); + if (res.code === 200) { + cartNum = res.data.goods_count; + if (cartNum > 99) { + cartNum = '99+'; + } + $('.num-tag').html(cartNum).removeClass('hide'); + confirming = false; + + if (cbFn) { + cbFn(); + } + } + if (res.message) { + tip.show(res.message); + } + + hide(); + }).fail(function() { + tip.show('网络出了点问题~'); + }).always(function() { + confirming = false; + }); + } + +}); + +exports.init = init; +exports.show = show; + +}); +define("js/product/detail/desc", ["jquery","lazyload","swiper","index"], function(require, exports, module){ +/** + * 商品详情 --异步加载页面下半部分 + * @author: liangzhifeng<zhifeng.liang@yoho.cn> + * @date: 2015/11/18 + */ +var $ = require("jquery"), + lazyLoad = require("lazyload"), + Swiper = require("swiper"), + loading = require("js/plugin/loading"), + tip = require("js/plugin/tip"); + +var introUrl = $('#introUrl').val(), + winH = $(window).height(), + $productDesc, + searching = false, + end = false; + +var sizeSwiper, + refSwiper; + + +//判断是否要显示向左滑动提示 +function hiddenTips($ele) { + var offsetContainer, + offsetLastColumn; + + if ($ele.length > 0) { + offsetContainer = $ele[0].getBoundingClientRect().right; + offsetLastColumn = $ele.find('.swiper-slide:last-child')[0].getBoundingClientRect().right; + + + if (offsetLastColumn - offsetContainer < 0) { + $ele.next('.tips').css('display', 'none'); + } else { + $ele.next('.tips').css('display', 'block'); + } + } +} + +//function isFlexSupport() { +// var flex = document.createElement('p').style.flex, +// webkitFlex = document.createElement('p').style.webkitFlex, +// flexWrap = document.createElement('p').style.flexWrap; +// +// if ((flex === '' || webkitFlex === '') && flexWrap === '') { +// return true; +// } else { +// return false; +// } +//} + +function wrapElements(selector, count) { + var elArr = null; + + $(selector).each(function(idx, el) { + elArr = $(selector).slice(idx, idx + count); + + if (elArr.length === count && idx % count === 0) { + $(elArr).wrapAll($('<div class="js-wraper"></div>')); + } + }); +} + + + +function search() { + if (searching || end) { + return; + } + searching = true; + + // alert($('#reference-swiper-container .swiper-wrapper').width()); + + loading.showLoadingMask(); + + $.ajax({ + type: 'GET', + url: introUrl, + success: function(data) { + $productDesc = $('#productDesc'); + $productDesc.append(data); + + window.rePosFooter(); + + lazyLoad($productDesc.find('img.lazy')); + + //尺码信息左右滑动 + sizeSwiper = new Swiper('#size-swiper-container',{ + slidesPerView: 'auto' + }); + + //模特试穿左右滑动 + refSwiper = new Swiper('#reference-swiper-container',{ + slidesPerView: 'auto' + }); + + hiddenTips($('#size-swiper-container')); + hiddenTips($('#reference-swiper-container')); + + //if (!isFlexSupport()) { + // $('.detail .column').removeClass('column').addClass('oldbox'); + //} + wrapElements('.detail .column', 2); + searching = false; + end = true; + loading.hideLoadingMask(); + }, + error: function() { + tip.show('网络断开连接了~'); + searching = false; + loading.hideLoadingMask(); + } + }); +} + +function scrollHandler() { + if (!end || $(window).scrollTop() + winH >= $(document).height() - 200) { + search(); + } +} + +//srcoll to load more +$(window).scroll(function() { + window.requestAnimationFrame(scrollHandler); +}); + + +}); +define("js/product/detail/comments-consults", ["jquery","hammer"], function(require, exports, module){ +/** + * 商品详情 --评论和咨询tab + * @author: Lynnic + * @date: 2015/11/18 + */ +var $ = require("jquery"), + tip = require("js/plugin/tip"), + Hammer = require("hammer"); + +var commentsNum,consultsNum; + +var navtabEle = document.getElementById('nav-tab'), + navtabHammer = navtabEle && new Hammer(navtabEle), + + gotoConsultEle = document.getElementById('goto-consult'), + gotoConsultHammer = gotoConsultEle && new Hammer(gotoConsultEle); + + +(function() { + consultsNum = $('#nav-tab .consults-num').html() - 0; + + commentsNum = $('#nav-tab .comments-num').html() - 0; + + $('#nav-tab li').each(function() { + $(this).removeClass('focus'); + }); + + $('#feedback-content .content').each(function() { + $(this).addClass('hide'); + }); + if (0 !== commentsNum) { + $('#nav-tab .comment-nav').addClass('focus'); + $('#feedback-content .comment-content').removeClass('hide'); + + } else if (0 !== consultsNum) { + $('#nav-tab .consult-nav').addClass('focus'); + $('#feedback-content .consult-content').removeClass('hide'); + } + +})(); + +if (navtabHammer) { + navtabHammer.on('tap', function(e) { + var $this = $(e.target).closest('li'); + var index = $this.index(); + + if ($this.hasClass('comment-nav') && 0 === commentsNum) { + tip.show('暂无商品评价'); + } else { + if (!$this.hasClass('focus')) { + + $('#nav-tab li').each(function() { + $(this).removeClass('focus'); + }); + $('#feedback-content .content').each(function() { + $(this).addClass('hide'); + }); + + $this.addClass('focus'); + $('#feedback-content .content:eq(' + index + ')').removeClass('hide'); + } + } + }); +} + +if (gotoConsultHammer) { + gotoConsultHammer.on('tap', function() { + location.href = $(gotoConsultEle).find('a').attr('href'); + }); +} + +//咨询页面固定header +if ($('.goods-consults-page').length > 0) { + $('#yoho-header').css('position', 'fixed').css('top', '0'); +} + + +}); +define("js/product/recommend-for-you-product-desc", ["swiper","jquery","index"], function(require, exports, module){ +/** + * 为您优选 + * @author: liangzhifeng<zhifeng.liang@yoho.cn> + * @date: 2015/11/16 + */ + + +var Swiper = require("swiper"), + $ = require("jquery"); + +var recommendSwiper, + $recommendForYou = $('.recommend-for-you'), + preferenceUrl = $('#preferenceUrl').val(), + winH = $(window).height(), + end = false, + requesting = false; + + +function request() { + if (requesting || end) { + return; + } + + requesting = true; + + if (preferenceUrl) { + $.get(preferenceUrl).then(function(html) { + if (html.length < 5) { + $recommendForYou.css('display', 'none'); + } else { + $recommendForYou.html(html).show(); + if ($('#swiper-recommend').length) { + recommendSwiper = new Swiper('#swiper-recommend', { + slidesPerView: 'auto', + grabCursor: true, + slideElement: 'a', + lazyLoading: true, + watchSlidesVisibility: true + }); + } + } + + requesting = false; + end = true; + + window.rePosFooter(); + + }).fail(function() { + $recommendForYou.hide(); + }); + } +} + +function scrollHandler() { + if (!end || $(window).scrollTop() + winH >= $(document).height() - 200) { + request(); + } +} + +$(window).scroll(function() { + window.requestAnimationFrame(scrollHandler); +}); + +}); +define("js/product/detail/consultform", ["jquery"], function(require, exports, module){ +/** + * 我要咨询提交页面 + * @author: liangzhifeng<zhifeng.liang@yoho.cn> + * @date: 2015/12/01 + */ +var $ = require("jquery"), + tip = require("js/plugin/tip"), + loading = require("js/plugin/loading"); + +var $consultForm = $('.consult-form'), + $submit = $('#submit'), + $content = $('#content'), + productId = $('#product_id').val(), + isSubmiting; + +$submit.on('touchend', function() { + $content.blur(); + $consultForm.submit(); + return false; +}).on('touchstart', function() { + $(this).addClass('highlight'); +}).on('touchend touchcancel', function() { + $(this).removeClass('highlight'); +}); + +$content.on('focus', function() { + if ($content.val() === '请输入咨询内容') { + $content.val(''); + } +}).on('blur', function() { + if ($content.val() === '') { + $content.val('请输入咨询内容'); + } +}); + +// 提交表单请求 +$consultForm.on('submit', function() { + var content; + + if (isSubmiting) { + return false; + } + + // 简单的表单校验 + content = $content.val(); + if (!content || content === '请输入咨询内容') { + tip.show('咨询内容不能为空'); + return false; + } + + isSubmiting = true; + loading.showLoadingMask(); + $.ajax({ + method: 'POST', + url: '/product/detail/consultsubmit', + data: { + product_id: productId, + content: content + } + }).then(function(res) { + if ($.type(res) !== 'object') { + res = {}; + } + if (res.code !== 200) { + tip.show(res.message || '网络出了点问题~'); + isSubmiting = false; + loading.hideLoadingMask(); + } else { + tip.show('提交成功~'); + setTimeout(function() { + window.history.go(-1); + }, 3000); + } + }).fail(function() { + tip.show('网络出了点问题~'); + isSubmiting = false; + }); + return false; +}); + +}); +define("js/product/newsale/hot-rank", ["jquery","swiper","lazyload","index"], function(require, exports, module){ +var $ = require("jquery"), + Swiper = require("swiper"), + lazyLoad = require("lazyload"), + loading = require("js/plugin/loading"); + +var page = 1, + winH, + listTop, + navSwiper, + notab = 0, + sort = '', + id = '', + hotrankNav, + noResult = '<p class="no-result">未找到相关搜索结果</p>'; + +require("js/product/suspend-cart"); + +function hotrank(page, sort, tabId, notab) { + loading.showLoadingMask(); + $.ajax({ + type: 'GET', + url: '/product/newsale/selectHotrank?' + sort, + dataType: 'html', + data: { + page: page, + tab_id: tabId, + notab: notab + }, + success: function(data) { + if (data === ' ') { + if ($('.rank-main').length < 1 && $('.goods-nav').length < 1) { + $('#hotRank').html(noResult); + } else { + if (page === 1) { + hotrankNav = $('.goods-nav').prop('outerHTML'); + + $('#hotRank').html(hotrankNav + noResult); + } + } + } else { + $('.no-result').remove(); + if (page === 1) { + $('.rank-main').remove(); + } + $('#hotRank').append(data); + } + + lazyLoad($('img.lazy')); + $('.rank-main ul li:gt(9)').find('.item-content i').removeClass('top'); + winH = $(window).height(); + if ($('.rank-main').length !== 0) { + $('#yoho-footer').css('position', 'static'); + listTop = $('.rank-main').find('ul').offset().top; + } else { + $('#yoho-footer').css('position', 'fixed'); + } + navSwiper = new Swiper('.s-goods-nav', { + grabCursor: true, + slidesPerView: 'auto', + slideElement: 'li' + }); + loading.hideLoadingMask(); + } + }); +} + +function scrollHandler() { + if (page === 2) { + return; + } + if ($(window).scrollTop() + winH < listTop + $('#hotRank').height() - 100) { + return; + } + page = 2; + notab = 1; + hotrank(page, sort, id, notab); +} + +$(window).scroll(function() { + window.requestAnimationFrame(scrollHandler); +}); + +hotrank(page, sort, id, notab); +$('#hotRank').on('touchend touchcancel', function(e) { + var ev = ev || window.event; + var target = ev.target || ev.srcElement; + + if (target.nodeName.toLowerCase() === 'span') { + $('.s-goods-nav .nav-item').removeClass('active'); + target.parentNode.className = 'active ' + target.parentNode.className; + id = target.getAttribute('data-id') ? target.getAttribute('data-id') : ''; + sort = target.getAttribute('data-sort') ? target.getAttribute('data-sort') : ''; + page = 1; + notab = 1; + hotrank(page, sort, id, notab); + } +}); +$('#hotRank').bind('contextmenu', function(e) { + return false; +}); +$('#hotRank').on('touchstart', function(e) { + var ev = ev || window.event; + var target = ev.target || ev.srcElement; + + if (target.nodeName.toLowerCase() === 'span') { + target.parentNode.className = 'bgActive ' + target.parentNode.className; + } +}).on('touchend touchcancel', function() { + $('.s-goods-nav .nav-item').removeClass('bgActive'); +}); + + +}); +define("js/me/entry", ["jquery","hammer","lazyload","handlebars","source-map","swiper","mlellipsis","index"], function(require, exports, module){ +/** + * 个人中心js打包入口文件 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/10 + */ + +require("js/me/order"); +require("js/me/order-detail"); +require("js/me/fav"); +require("js/me/suggest"); +require("js/me/index"); +require("js/me/coupons"); +require("js/me/online-service"); +require("js/me/address"); +require("js/me/suggest"); +require("js/me/browse-record"); +require("js/me/address-act"); +require("js/me/logistic"); +require("js/me/pay"); +require("js/me/personal-details"); +require("js/me/currency"); + +}); +define("js/me/order", ["jquery","hammer","lazyload","handlebars","source-map"], function(require, exports, module){ +/** + * 个人中心--我的订单 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/10 + */ + +var $ = require("jquery"), + Hammer = require("hammer"), + lazyLoad = require("lazyload"), + tip = require("js/plugin/tip"); + +var $navLi = $('#order-nav > li'), + $orderContainer = $('#order-container'); + +var $curContainer = $orderContainer.children('.orders:not(.hide)');//保存当前显示的order-container + +var winH = $(window).height(); + +var activeType = $navLi.filter('.active').data('type'); //当前active的项的index + +var order = { + page: 0, + end: false +}; + +var inAjax = false; + +var loading = require("js/plugin/loading"); + +var dialog = require("js/me/dialog"); + +var orderHammer; + +//加载订单 +function getOrders(option) { + var opt = { + type: activeType, + page: order.page + 1 + }; + + var show = option && !option.noLoadingMask; + + if (inAjax) { + return; + } + + inAjax = true; + show && loading.showLoadingMask(); + + $.ajax({ + type: 'GET', + url: '/home/getOrders', + data: opt, + success: function(data) { + var num; + + if (data !== ' ') { + order.page = opt.page; + + if (opt.page === 1) { + $curContainer.html(data); + lazyLoad($curContainer.find('.lazy'), { + try_again_css: 'order-failure' + }); + } else { + num = $curContainer.children('.order').length; + $curContainer.append(data); + + //lazyload + lazyLoad($curContainer.children('.order:gt(' + (num - 1) + ')').find('.lazy'), { + try_again_css: 'order-failure' + }); + } + + window.rePosFooter(); //重新计算底部位置 + } else { + order.end = true; + } + + inAjax = false; + show && loading.hideLoadingMask(); + } + }); +} + +lazyLoad({ + try_again_css: 'order-failure' +}); + +//初始化导航 +(function() { + var liCount = $navLi.length; + + //默认4个导航项 + if (liCount === 4) { + return; + } + + $navLi.width(100 / liCount + '%'); +}()); + +loading.init($('body')); //满屏loading + +//点击订单区域跳转订单详情页 +orderHammer = new Hammer(document.getElementById('order-container')); +orderHammer.on('tap', function(e) { + var $cur = $(e.target), + $order, + id, + url; + + if ($cur.closest('.locHref').length > 0) { + return; + } + + $order = $cur.closest('.order'); + id = $order.data('id'); + + if ($cur.closest('.del').length > 0) { + + //Order delete + dialog.showDialog({ + dialogText: '确定删除订单吗?', + hasFooter: { + leftBtnText: '取消', + rightBtnText: '确定' + } + }, function() { + $.ajax({ + type: 'GET', + url: '/home/delOrder', + data: { + id: id + }, + success: function(data) { + dialog.hideDialog(); + if (data.message) { + tip.show(data.message); + } + if (data.code === 200) { + + //删除订单页面刷新 + window.location.reload(); + } + }, + error: function() { + tip.show('取消订单失败'); + } + }); + }); + } else if ($cur.closest('.cancel').length > 0) { + + //Order cancel + dialog.showDialog({ + dialogText: '确定取消订单吗?', + hasFooter: { + leftBtnText: '取消', + rightBtnText: '确定' + } + }, function() { + $.ajax({ + type: 'GET', + url: '/home/cancelOrder', + data: { + id: id + }, + success: function(data) { + if (data.message) { + tip.show(data.message); + } + if (data.code === 200) { + + //取消订单页面刷新 + window.location.reload(); + } + }, + error: function() { + tip.show('取消订单失败'); + } + }); + }); + } else if ($cur.closest('.order-goods').length > 0) { + + //Location to order detail + url = $order.data('href'); + location.href = url; + } +}); + +function scrollHandler() { + if (order.end === false && $(window).scrollTop() + winH > + $(document).height() - 0.25 * $orderContainer.height()) { + + //下拉请求时不显示mask + getOrders({ + noLoadingMask: true + }); + } +} + +//srcoll to load more +$(window).scroll(function() { + window.requestAnimationFrame(scrollHandler); +}); + +//初始化请求第一页数据 +getOrders(); + +}); +define("js/me/order-detail", ["jquery","lazyload","hammer","handlebars","source-map"], function(require, exports, module){ +/** + * 订单详情页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/16 + */ + +var $ = require("jquery"), + lazyLoad = require("lazyload"), + Hammer = require("hammer"), + dialog = require("js/me/dialog"), + tip = require("js/plugin/tip"); + +var orderId = $('#order-detail').data('id'); + +var optHammer; + +lazyLoad({ + try_again_css: 'order-failure' +}); + +//订单删除 +optHammer = new Hammer(document.getElementsByClassName('opt')[0]); +optHammer.on('tap', function(e) { + var $cur = $(e.target); + + if ($cur.hasClass('btn-del')) { + + //删除订单 + dialog.showDialog({ + dialogText: '确定删除订单吗?', + hasFooter: { + leftBtnText: '取消', + rightBtnText: '确定' + } + }, function() { + $.ajax({ + type: 'GET', + url: '/home/delOrder', + data: { + id: orderId + } + }).then(function(res) { + $('#dialog-wrapper').hide(); + if ($.type(res) !== 'object') { + return; + } + if (res.message) { + tip.show(res.message); + } + window.location.href = '/home/orders'; + }).fail(function() { + tip.show('网络错误'); + }); + }); + } else if ($cur.hasClass('btn-cancel')) { + + //取消订单 + dialog.showDialog({ + dialogText: '确定取消订单吗?', + hasFooter: { + leftBtnText: '取消', + rightBtnText: '确定' + } + }, function() { + $.ajax({ + type: 'GET', + url: '/home/cancelOrder', + data: { + id: orderId + } + }).then(function(res) { + $('#dialog-wrapper').hide(); + if ($.type(res) !== 'object') { + return; + } + if (res.message) { + tip.show(res.message); + } + window.location.href = '/home/orders'; + }).fail(function() { + tip.show('网络错误'); + }); + }); + } +}); + +}); +define("js/me/fav", ["jquery","hammer","swiper","handlebars","source-map","index"], function(require, exports, module){ +/** + * 个人中心--收藏 + * @author: chenglong<chenglong.wang@yoho.cn> + * @date: 2015/11/12 + */ +var $ = require("jquery"), + Hammer = require("hammer"), + Swiper = require("swiper"); + +var diaLog = require("js/me/dialog"); + +var $navLi = $('#fav-tab > li'), + $favContainer = $('.fav-content > .fav-type'), + swiperObj = {}, + favTabHammer, + favContentHammer, + $loadMore = $('.fav-load-more'), + $brandLoadMore = $('.fav-brand-load-more'), + winH = $(window).height(), + footerH = $('#yoho-footer').height(), + $favProductList = $('.fav-product-list'), + $favBrandList = $('.fav-brand-swiper-wrapper'), + pageId = 1, + brandPageId = 1, //收藏品牌的当前页数 + lockId = true, + brandLockId = true, //收藏品牌是否可下拉加载更多 + brandTab = false; //当前是否停留在收藏品牌页 + +function showFavTab(index) { + $navLi.filter('.active').removeClass('active'); + $navLi.eq(index).addClass('active'); + + $favContainer.filter('.show').removeClass('show'); + $favContainer.eq(index).addClass('show'); +} + +//初始化swiper +function initSwiper(data) { + var i, + idStrReg = /container-(\d+)['"]{1}/gi, + idReg = /\d+/, + idArr = data.match(idStrReg), + idArrLen = idArr.length, + containerId; + + //$swiperList = $('.swiper-container'); + for (i = 0; i < idArrLen; i++) { + + /*id = $swiperList.eq(i).attr('data-id'); + + if (!!swiperObj[id]) { + swiperObj[id].destroy(true, true); + }*/ + + containerId = idArr[i].match(idReg)[0]; + + swiperObj[containerId] = new Swiper('#swiper-container-' + containerId, { + slidesPerView: 'auto', + grabCursor: true, + slideElement: 'li', + wrapperClass: 'swiper-wrapper-' + containerId, + lazyLoading: true, + watchSlidesVisibility: true + }); + } +} + +// 上拉加载更多 +function loadData($parent, url, page) { + if (url === 'favBrand') { + brandLockId = true; + } else { + lockId = true; + } + $.ajax({ + method: 'post', + url: '/home/' + url, + data: { + page: page + }, + success: function(data) { + if (url === 'favBrand') { + $brandLoadMore.addClass('hide'); + } else { + $loadMore.addClass('hide'); + } + + if (data === ' ') { + $parent.closest('.fav-type').find('.fav-content-loading').addClass('hide'); + $parent.closest('.fav-type').find('.fav-null-box').removeClass('hide'); + } else if (data === 'end') { + $parent.closest('.fav-type').find('.fav-load-background') + .removeClass('fav-load-background').html('没有更多了'); + + // hf: fixes bug to 修改没有数据还调接口,加载错误页面问题 + brandLockId = true; + lockId = true; + } else if (data.length > 10) { + $parent.append(data); + $parent.closest('.fav-type').find('.fav-content-loading').remove(); + if (url === 'favBrand') { + initSwiper(data);//如果是收藏品牌需要初始化swiper + + brandLockId = false;//请求成功后解锁品牌收藏page++ + } else { + lockId = false;//请求成功后解锁商品收藏page++ + } + } + window.rePosFooter(); + } + }); +} + +// 如果从品牌收藏入口进入 +if ($('#fav-tab').hasClass('brand-tab')) { + showFavTab(1); + loadData($favBrandList, 'favBrand', 1); + brandTab = true; + window.rePosFooter(); +} else { + showFavTab(0); + loadData($favProductList, 'favProduct', 1); + brandTab = false; + window.rePosFooter(); +} + +favTabHammer = new Hammer(document.getElementById('fav-tab')); +favTabHammer.on('tap', function(e) { + var $cur = $(e.target).closest('li'), + index; + + if ($cur.length === 0 || $cur.hasClass('active')) { + return; + } + + index = $cur.index(); + + if (index === 0) { + brandTab = false; + if ($favProductList.find('li').length === 0 && + $favProductList.closest('.fav-type').find('.fav-null-box').hasClass('hide')) { + loadData($favProductList, 'favProduct', 1); + } + } else { + brandTab = true; + if ($favBrandList.find('div').length === 0 && + $favBrandList.closest('.fav-type').find('.fav-null-box').hasClass('hide')) { + loadData($favBrandList, 'favBrand', 1); + } + } + showFavTab(index); + window.rePosFooter(); + +}); + +//删除收藏的商品 +favContentHammer = new Hammer(document.getElementById('fav-content')); + +favContentHammer.on('tap', function(e) { + var id = ''; + + if (!$(e.target).hasClass('del-fav')) { + return; + } + + diaLog.showDialog({ + dialogText: '您确定要取消收藏吗?', + hasFooter: { + leftBtnText: '取消', + rightBtnText: '确定' + } + }, function() { + id = $(e.target).closest('li').attr('data-id'); + $.ajax({ + method: 'post', + url: '/home/favoriteDel', + data: { + id: id + } + }).then(function(data) { + + if (data.code === 200) { + diaLog.showDialog({ + autoHide: true, + fast: true, + dialogText: '已经取消收藏' + }); + $(e.target).closest('li').remove(); + } else if (data.code === 400) { + diaLog.showDialog({ + autoHide: true, + fast: true, + dialogText: data.message + }); + } else { + diaLog.showDialog({ + autoHide: true, + fast: true, + dialogText: '取消收藏失败' + }); + } + }).fail(function() { + + //TODO + + diaLog.showDialog({ + autoHide: true, + dialogText: '网络错误~' + }); + }); + }); +}); + +function scrollHandler() { + + //距离底部未1/4列表高度+底部高度的时候加载更多 + if ($(window).scrollTop() + winH >= $(document).height() - 0.25 * $favBrandList.height() - footerH) { + if (brandTab) { + $brandLoadMore.filter('.hide').removeClass('hide'); + + if (!brandLockId) { + brandPageId++; + loadData($favBrandList, 'favBrand', brandPageId); + } + + } else { + + $loadMore.filter('.hide').removeClass('hide'); + + if (!lockId) { + pageId++; + loadData($favProductList, 'favProduct', pageId); + } + } + } +} + +//srcoll to load more +$(window).scroll(scrollHandler); + +$(document).on('touchend', '.swiper-header', function() { + var url = $(this).find('.fav-more').attr('href'); + + window.location.href = url; +}); + +}); +define("js/me/suggest", ["jquery","hammer","lazyload","handlebars","source-map"], function(require, exports, module){ +/** + * 个人中心--意见反馈 + * @author: chenglong<chenglong.wang@yoho.cn> + * @date: 2015/11/12 + */ + + +var $ = require("jquery"), + Hammer = require("hammer"), + lazyLoad = require("lazyload"), + Handlebars = require("handlebars"); + +var diaLog = require("js/me/dialog"); + +var $uploadImgList = $('.upload-img-list'), + headerNavHammer, + formHammer, + imgTpl, + imgTemplate, + $likeBtn = $('.suggest-item .like-btn'), + $disLikeBtn = $('.suggest-item .dislike-btn'), + $imgAdd = $('.img-add'), + imgStr = '', + uploadImgNum = 0; + +require("js/me/jquery.upload"); + +imgTpl = '{{# imgList}}' + + '<li>' + + '{{# imgUrl}}<img src="{{.}}" />' + + '<span class="upload-img-remove"></span>{{/ imgUrl}}' + + '</li>' + + '{{/ imgList}}'; + +imgTemplate = Handlebars.compile(imgTpl); + +$('#upload-img').upload({ + auto: true, + fileType: 'image/*', + uploadScript: '/home/suggestimgUpload', + fileObjName: 'fileData', + fileSizeLimit: 300, + height: '100%', + width: '100%', + multi: false, + onAddQueueItem: function(files) { + + //TODO + $uploadImgList.html(imgTemplate({ + imgList: true + })); + }, + onUploadComplete: function(file, data) { + $uploadImgList.html(''); + imgStr = JSON.parse(data).imgList[0].imgRelUrl; + $uploadImgList.html(imgTemplate(JSON.parse(data))); + $imgAdd.hide(); + uploadImgNum++; + } +}); + +lazyLoad(); + +headerNavHammer = new Hammer(document.getElementById('yoho-header')); + +headerNavHammer.on('tap', function(e) { + var suggestText = $('#suggest-textarea').val(), + textReg = /\S+/; + + + if ($(e.target).hasClass('nav-btn')) { + + if (!textReg.test(suggestText)) { + diaLog.showDialog({ + autoHide: true, + dialogText: '意见不能为空' + }); + + return; + } + + $.ajax({ + method: 'post', + url: '/home/savesuggest', + data: { + content: suggestText, + image: imgStr + } + }).then(function(data) { + if (data.code === 200) { + diaLog.showDialog({ + autoHide: true, + dialogText: '提交成功' + }); + setTimeout(function() { + location.pathname = 'home/suggest'; + }, 2000); + } else { + diaLog.showDialog({ + autoHide: true, + dialogText: '提交失败~' + }); + } + }).fail(function() { + + diaLog.showDialog({ + autoHide: true, + dialogText: '网络错误~' + }); + }); + } +}); + +if (document.getElementById('img-form') !== null) { + formHammer = new Hammer(document.getElementById('img-form')); + + formHammer.on('tap', function(e) { + if ($(e.target).hasClass('upload-img-remove')) { + $uploadImgList.html(''); + imgStr = ''; + uploadImgNum--; + setTimeout(function() { + $imgAdd.show(); + }, 50); + + } + }); +} + +// 点赞与取消点赞 +$likeBtn.bind('click', function() { + + var id = $(this).closest('.suggest-item').attr('data-id'), + $that = $(this); + + $.ajax({ + method: 'post', + url: '/home/upAndDown', + data: { + suggest_id: id, + reliable: 1 + } + }).then(function(data) { + if (data.code === 200) { + $that.closest('.suggest-type').removeClass('show'); + $that.closest('.suggest-item').find('.suggest-good').addClass('show'); + } + }).fail(function(data) { + + //TODO + + diaLog.showDialog({ + autoHide: true, + dialogText: '网络错误~' + }); + }); +}); + +$disLikeBtn.bind('click', function() { + + var id = $(this).closest('.suggest-item').attr('data-id'), + $that = $(this); + + $.ajax({ + method: 'post', + url: '/home/upAndDown', + data: { + suggest_id: id, + reliable: 2 + } + }).then(function(data) { + if (data.code === 200) { + $that.closest('.suggest-type').removeClass('show'); + $that.closest('.suggest-item').find('.suggest-bad').addClass('show'); + } + }).fail(function(data) { + + //TODO + + diaLog.showDialog({ + autoHide: true, + dialogText: '网络错误~' + }); + }); +}); +}); +define("js/me/jquery.upload", ["jquery"], function(require, exports, module){ +/* +UploadiFive 1.2.2 +Copyright (c) 2012 Reactive Apps, Ronnie Garcia +Released under the UploadiFive Standard License <http://www.uploadify.com/uploadifive-standard-license> +*/ + +var jQuery = require("jquery"); + +;(function($) { + + var methods = { + + init : function(options) { + + return this.each(function() { + + // Create a reference to the jQuery DOM object + var $this = $(this); + $this.data('uploadifive', { + inputs : {}, // The object that contains all the file inputs + inputCount : 0, // The total number of file inputs created + fileID : 0, + queue : { + count : 0, // Total number of files in the queue + selected : 0, // Number of files selected in the last select operation + replaced : 0, // Number of files replaced in the last select operation + errors : 0, // Number of files that returned an error in the last select operation + queued : 0, // Number of files added to the queue in the last select operation + cancelled : 0 // Total number of files that have been cancelled or removed from the queue + }, + uploads : { + current : 0, // Number of files currently being uploaded + attempts : 0, // Number of file uploads attempted in the last upload operation + successful : 0, // Number of files successfully uploaded in the last upload operation + errors : 0, // Number of files returning errors in the last upload operation + count : 0 // Total number of files uploaded successfully + } + }); + var $data = $this.data('uploadifive'); + + // Set the default options + var settings = $data.settings = $.extend({ + 'auto' : true, // Automatically upload a file when it's added to the queue + 'buttonClass' : false, // A class to add to the UploadiFive button + 'buttonText' : 'Select Files', // The text that appears on the UploadiFive button + 'checkScript' : false, // Path to the script that checks for existing file names + 'dnd' : true, // Allow drag and drop into the queue + 'dropTarget' : false, // Selector for the drop target + 'fileObjName' : 'Filedata', // The name of the file object to use in your server-side script + 'fileSizeLimit' : 0, // Maximum allowed size of files to upload + 'fileType' : false, // Type of files allowed (image, etc), separate with a pipe character | + 'formData' : {}, // Additional data to send to the upload script + 'height' : 30, // The height of the button + 'itemTemplate' : false, // The HTML markup for the item in the queue + 'method' : 'post', // The method to use when submitting the upload + 'multi' : true, // Set to true to allow multiple file selections + 'overrideEvents' : [], // An array of events to override + 'queueID' : false, // The ID of the file queue + 'queueSizeLimit' : 0, // The maximum number of files that can be in the queue + 'removeCompleted' : false, // Set to true to remove files that have completed uploading + 'simUploadLimit' : 0, // The maximum number of files to upload at once + 'truncateLength' : 0, // The length to truncate the file names to + 'uploadLimit' : 0, // The maximum number of files you can upload + 'uploadScript' : 'uploadifive.php', // The path to the upload script + 'width' : 100 // The width of the button + + /* + // Events + 'onAddQueueItem' : function(file) {}, // Triggered for each file that is added to the queue + 'onCancel' : function(file) {}, // Triggered when a file is cancelled or removed from the queue + 'onCheck' : function(file, exists) {}, // Triggered when the server is checked for an existing file + 'onClearQueue' : function(queue) {}, // Triggered during the clearQueue function + 'onDestroy' : function() {} // Triggered during the destroy function + 'onDrop' : function(files, numberOfFilesDropped) {}, // Triggered when files are dropped into the file queue + 'onError' : function(file, fileType, data) {}, // Triggered when an error occurs + 'onFallback' : function() {}, // Triggered if the HTML5 File API is not supported by the browser + 'onInit' : function() {}, // Triggered when UploadiFive if initialized + 'onQueueComplete' : function() {}, // Triggered once when an upload queue is done + 'onProgress' : function(file, event) {}, // Triggered during each progress update of an upload + 'onSelect' : function() {}, // Triggered once when files are selected from a dialog box + 'onUpload' : function(file) {}, // Triggered when an upload queue is started + 'onUploadComplete' : function(file, data) {}, // Triggered when a file is successfully uploaded + 'onUploadFile' : function(file) {}, // Triggered for each file being uploaded + */ + }, options); + + // Calculate the file size limit + if (isNaN(settings.fileSizeLimit)) { + var fileSizeLimitBytes = parseInt(settings.fileSizeLimit) * 1.024 + if (settings.fileSizeLimit.indexOf('KB') > -1) { + settings.fileSizeLimit = fileSizeLimitBytes * 1000; + } else if (settings.fileSizeLimit.indexOf('MB') > -1) { + settings.fileSizeLimit = fileSizeLimitBytes * 1000000; + } else if (settings.fileSizeLimit.indexOf('GB') > -1) { + settings.fileSizeLimit = fileSizeLimitBytes * 1000000000; + } + } else { + settings.fileSizeLimit = settings.fileSizeLimit * 1024; + } + + // Create a template for a file input + $data.inputTemplate = $('<input type="file">') + .css({ + 'font-size' : settings.height + 'px', + 'opacity' : 0, + 'position' : 'absolute', + 'right' : '-3px', + 'top' : '-3px', + 'z-index' : 999 + }); + + // Create a new input + $data.createInput = function() { + + // Create a clone of the file input + var input = $data.inputTemplate.clone(); + // Create a unique name for the input item + var inputName = input.name = 'input' + $data.inputCount++; + // Set the multiple attribute + if (settings.multi) { + input.attr('multiple', true); + } + // Set the accept attribute on the input + if (settings.fileType) { + input.attr('accept', settings.fileType); + } + // Set the onchange event for the input + input.bind('change', function() { + $data.queue.selected = 0; + $data.queue.replaced = 0; + $data.queue.errors = 0; + $data.queue.queued = 0; + // Add a queue item to the queue for each file + var limit = this.files.length; + $data.queue.selected = limit; + if (($data.queue.count + limit) > settings.queueSizeLimit && settings.queueSizeLimit !== 0) { + if ($.inArray('onError', settings.overrideEvents) < 0) { + alert('The maximum number of queue items has been reached (' + settings.queueSizeLimit + '). Please select fewer files.'); + } + // Trigger the error event + if (typeof settings.onError === 'function') { + settings.onError.call($this, 'QUEUE_LIMIT_EXCEEDED'); + } + } else { + for (var n = 0; n < limit; n++) { + file = this.files[n]; + $data.addQueueItem(file); + } + $data.inputs[inputName] = this; + $data.createInput(); + } + // Upload the file if auto-uploads are enabled + if (settings.auto) { + methods.upload.call($this); + } + // Trigger the select event + if (typeof settings.onSelect === 'function') { + settings.onSelect.call($this, $data.queue); + } + }); + // Hide the existing current item and add the new one + if ($data.currentInput) { + $data.currentInput.hide(); + } + $data.button.append(input); + $data.currentInput = input; + } + + // Remove an input + $data.destroyInput = function(key) { + $($data.inputs[key]).remove(); + delete $data.inputs[key]; + $data.inputCount--; + } + + // Drop a file into the queue + $data.drop = function(e) { + $data.queue.selected = 0; + $data.queue.replaced = 0; + $data.queue.errors = 0; + $data.queue.queued = 0; + + var fileData = e.dataTransfer; + + var inputName = fileData.name = 'input' + $data.inputCount++; + // Add a queue item to the queue for each file + var limit = fileData.files.length; + $data.queue.selected = limit; + if (($data.queue.count + limit) > settings.queueSizeLimit && settings.queueSizeLimit !== 0) { + // Check if the queueSizeLimit was reached + if ($.inArray('onError', settings.overrideEvents) < 0) { + alert('The maximum number of queue items has been reached (' + settings.queueSizeLimit + '). Please select fewer files.'); + } + // Trigger the onError event + if (typeof settings.onError === 'function') { + settings.onError.call($this, 'QUEUE_LIMIT_EXCEEDED'); + } + } else { + // Add a queue item for each file + for (var n = 0; n < limit; n++) { + file = fileData.files[n]; + $data.addQueueItem(file); + } + // Save the data to the inputs object + $data.inputs[inputName] = fileData; + } + + // Upload the file if auto-uploads are enabled + if (settings.auto) { + methods.upload.call($this); + } + + // Trigger the onDrop event + if (typeof settings.onDrop === 'function') { + settings.onDrop.call($this, fileData.files, fileData.files.length); + } + + // Stop FireFox from opening the dropped file(s) + e.preventDefault(); + e.stopPropagation(); + } + + // Check if a filename exists in the queue + $data.fileExistsInQueue = function(file) { + for (var key in $data.inputs) { + input = $data.inputs[key]; + limit = input.files.length; + for (var n = 0; n < limit; n++) { + existingFile = input.files[n]; + // Check if the filename matches + if (existingFile.name == file.name && !existingFile.complete) { + return true; + } + } + } + return false; + } + + // Remove an existing file in the queue + $data.removeExistingFile = function(file) { + for (var key in $data.inputs) { + input = $data.inputs[key]; + limit = input.files.length; + for (var n = 0; n < limit; n++) { + existingFile = input.files[n]; + // Check if the filename matches + if (existingFile.name == file.name && !existingFile.complete) { + $data.queue.replaced++; + methods.cancel.call($this, existingFile, true); + } + } + } + } + + // Create the file item template + if (settings.itemTemplate == false) { + $data.queueItem = $('<div class="uploadifive-queue-item">\ + <a class="close" href="#">X</a>\ + <div><span class="filename"></span><span class="fileinfo"></span></div>\ + <div class="progress">\ + <div class="progress-bar"></div>\ + </div>\ + </div>'); + } else { + $data.queueItem = $(settings.itemTemplate); + } + + // Add an item to the queue + $data.addQueueItem = function(file) { + if ($.inArray('onAddQueueItem', settings.overrideEvents) < 0) { + // Check if the filename already exists in the queue + $data.removeExistingFile(file); + // Create a clone of the queue item template + file.queueItem = $data.queueItem.clone(); + // Add an ID to the queue item + file.queueItem.attr('id', settings.id + '-file-' + $data.fileID++); + // Bind the close event to the close button + file.queueItem.find('.close').bind('click', function() { + methods.cancel.call($this, file); + return false; + }); + var fileName = file.name; + if (fileName.length > settings.truncateLength && settings.truncateLength != 0) { + fileName = fileName.substring(0, settings.truncateLength) + '...'; + } + file.queueItem.find('.filename').html(fileName); + // Add a reference to the file + file.queueItem.data('file', file); + $data.queueEl.append(file.queueItem); + } + // Trigger the addQueueItem event + if (typeof settings.onAddQueueItem === 'function') { + settings.onAddQueueItem.call($this, file); + } + // Check the filesize + if (file.size > settings.fileSizeLimit && settings.fileSizeLimit != 0) { + $data.error('FILE_SIZE_LIMIT_EXCEEDED', file); + } else { + $data.queue.queued++; + $data.queue.count++; + } + } + + // Remove an item from the queue + $data.removeQueueItem = function(file, instant, delay) { + // Set the default delay + if (!delay) delay = 0; + var fadeTime = instant ? 0 : 500; + if (file.queueItem) { + if (file.queueItem.find('.fileinfo').html() != ' - Completed') { + file.queueItem.find('.fileinfo').html(' - Cancelled'); + } + file.queueItem.find('.progress-bar').width(0); + file.queueItem.delay(delay).fadeOut(fadeTime, function() { + $(this).remove(); + }); + delete file.queueItem; + $data.queue.count--; + } + } + + // Count the number of files that need to be uploaded + $data.filesToUpload = function() { + var filesToUpload = 0; + for (var key in $data.inputs) { + input = $data.inputs[key]; + limit = input.files.length; + for (var n = 0; n < limit; n++) { + file = input.files[n]; + if (!file.skip && !file.complete) { + filesToUpload++; + } + } + } + return filesToUpload; + } + + // Check if a file exists + $data.checkExists = function(file) { + if ($.inArray('onCheck', settings.overrideEvents) < 0) { + // This request needs to be synchronous + $.ajaxSetup({ + 'async' : false + }); + // Send the filename to the check script + var checkData = $.extend(settings.formData, {filename: file.name}); + $.post(settings.checkScript, checkData, function(fileExists) { + file.exists = parseInt(fileExists); + }); + if (file.exists) { + if (!confirm('A file named ' + file.name + ' already exists in the upload folder.\nWould you like to replace it?')) { + // If not replacing the file, cancel the upload + methods.cancel.call($this, file); + return true; + } + } + } + // Trigger the check event + if (typeof settings.onCheck === 'function') { + settings.onCheck.call($this, file, file.exists); + } + return false; + } + + // Upload a single file + $data.uploadFile = function(file, uploadAll) { + if (!file.skip && !file.complete && !file.uploading) { + file.uploading = true; + $data.uploads.current++; + $data.uploads.attempted++; + + // Create a new AJAX request + xhr = file.xhr = new XMLHttpRequest(); + + // Start the upload + // Use the faster FormData if it exists + if (typeof FormData === 'function' || typeof FormData === 'object') { + + // Create a new FormData object + var formData = new FormData(); + + // Add the form data + formData.append(settings.fileObjName, file); + + // Add the rest of the formData + for (i in settings.formData) { + formData.append(i, settings.formData[i]); + } + + // Open the AJAX call + xhr.open(settings.method, settings.uploadScript, true); + + // On progress function + xhr.upload.addEventListener('progress', function(e) { + if (e.lengthComputable) { + $data.progress(e, file); + } + }, false); + + // On complete function + xhr.addEventListener('load', function(e) { + if (this.readyState == 4) { + file.uploading = false; + if (this.status == 200) { + if (file.xhr.responseText !== 'Invalid file type.') { + $data.uploadComplete(e, file, uploadAll); + } else { + $data.error(file.xhr.responseText, file, uploadAll); + } + } else if (this.status == 404) { + $data.error('404_FILE_NOT_FOUND', file, uploadAll); + } else if (this.status == 403) { + $data.error('403_FORBIDDEN', file, uploadAll); + } else { + $data.error('Unknown Error', file, uploadAll); + } + } + }); + + // Send the form data (multipart/form-data) + xhr.send(formData); + + } else { + + // Send as binary + var reader = new FileReader(); + reader.onload = function(e) { + + // Set some file builder variables + var boundary = '-------------------------' + (new Date).getTime(), + dashes = '--', + eol = '\r\n', + binFile = ''; + + // Build an RFC2388 String + binFile += dashes + boundary + eol; + // Generate the headers + binFile += 'Content-Disposition: form-data; name="' + settings.fileObjName + '"'; + if (file.name) { + binFile += '; filename="' + file.name + '"'; + } + binFile += eol; + binFile += 'Content-Type: application/octet-stream' + eol + eol; + binFile += e.target.result + eol; + + for (key in settings.formData) { + binFile += dashes + boundary + eol; + binFile += 'Content-Disposition: form-data; name="' + key + '"' + eol + eol; + binFile += settings.formData[key] + eol; + } + + binFile += dashes + boundary + dashes + eol; + + // On progress function + xhr.upload.addEventListener('progress', function(e) { + $data.progress(e, file); + }, false); + + // On complete function + xhr.addEventListener('load', function(e) { + file.uploading = false; + var status = this.status; + if (status == 404) { + $data.error('404_FILE_NOT_FOUND', file, uploadAll); + } else { + if (file.xhr.responseText != 'Invalid file type.') { + $data.uploadComplete(e, file, uploadAll); + } else { + $data.error(file.xhr.responseText, file, uploadAll); + } + } + }, false); + + // Open the ajax request + var url = settings.uploadScript; + if (settings.method == 'get') { + var params = $(settings.formData).param(); + url += params; + } + xhr.open(settings.method, settings.uploadScript, true); + xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + boundary); + + // Trigger the uploadFile event + if (typeof settings.onUploadFile === 'function') { + settings.onUploadFile.call($this, file); + } + + // Send the file for upload + xhr.sendAsBinary(binFile); + } + reader.readAsBinaryString(file); + + } + } + } + + // Update a file upload's progress + $data.progress = function(e, file) { + if ($.inArray('onProgress', settings.overrideEvents) < 0) { + if (e.lengthComputable) { + var percent = Math.round((e.loaded / e.total) * 100); + } + file.queueItem.find('.fileinfo').html(' - ' + percent + '%'); + file.queueItem.find('.progress-bar').css('width', percent + '%'); + } + // Trigger the progress event + if (typeof settings.onProgress === 'function') { + settings.onProgress.call($this, file, e); + } + } + + // Trigger an error + $data.error = function(errorType, file, uploadAll) { + if ($.inArray('onError', settings.overrideEvents) < 0) { + // Get the error message + switch(errorType) { + case '404_FILE_NOT_FOUND': + errorMsg = '404 Error'; + break; + case '403_FORBIDDEN': + errorMsg = '403 Forbidden'; + break; + case 'FORBIDDEN_FILE_TYPE': + errorMsg = 'Forbidden File Type'; + break; + case 'FILE_SIZE_LIMIT_EXCEEDED': + errorMsg = 'File Too Large'; + break; + default: + errorMsg = 'Unknown Error'; + break; + } + + // Add the error class to the queue item + file.queueItem.addClass('error') + // Output the error in the queue item + .find('.fileinfo').html(' - ' + errorMsg); + // Hide the + file.queueItem.find('.progress').remove(); + } + // Trigger the error event + if (typeof settings.onError === 'function') { + settings.onError.call($this, errorType, file); + } + file.skip = true; + if (errorType == '404_FILE_NOT_FOUND') { + $data.uploads.errors++; + } else { + $data.queue.errors++; + } + if (uploadAll) { + methods.upload.call($this, null, true); + } + } + + // Trigger when a single file upload is complete + $data.uploadComplete = function(e, file, uploadAll) { + if ($.inArray('onUploadComplete', settings.overrideEvents) < 0) { + file.queueItem.find('.progress-bar').css('width', '100%'); + file.queueItem.find('.fileinfo').html(' - Completed'); + file.queueItem.find('.progress').slideUp(250); + file.queueItem.addClass('complete'); + } + // Trigger the complete event + if (typeof settings.onUploadComplete === 'function') { + settings.onUploadComplete.call($this, file, file.xhr.responseText); + } + if (settings.removeCompleted) { + setTimeout(function() { methods.cancel.call($this, file); }, 3000); + } + file.complete = true; + $data.uploads.successful++; + $data.uploads.count++; + $data.uploads.current--; + delete file.xhr; + if (uploadAll) { + methods.upload.call($this, null, true); + } + } + + // Trigger when all the files are done uploading + $data.queueComplete = function() { + // Trigger the queueComplete event + if (typeof settings.onQueueComplete === 'function') { + settings.onQueueComplete.call($this, $data.uploads); + } + } + + // ---------------------- + // Initialize UploadiFive + // ---------------------- + + // Check if HTML5 is available + if (window.File && window.FileList && window.Blob && (window.FileReader || window.FormData)) { + // Assign an ID to the object + settings.id = 'uploadifive-' + $this.attr('id'); + + // Wrap the file input in a div with overflow set to hidden + $data.button = $('<div id="' + settings.id + '" class="uploadifive-button">' + settings.buttonText + '</div>'); + if (settings.buttonClass) $data.button.addClass(settings.buttonClass); + + // Style the button wrapper + $data.button.css({ + 'height' : settings.height, + 'line-height' : settings.height + 'px', + 'overflow' : 'hidden', + 'position' : 'relative', + 'text-align' : 'center', + 'width' : settings.width + }); + + // Insert the button above the file input + $this.before($data.button) + // Add the file input to the button + .appendTo($data.button) + // Modify the styles of the file input + .hide(); + + // Create a new input + $data.createInput.call($this); + + // Create the queue container + if (!settings.queueID) { + settings.queueID = settings.id + '-queue'; + $data.queueEl = $('<div id="' + settings.queueID + '" class="uploadifive-queue" />'); + $data.button.after($data.queueEl); + } else { + $data.queueEl = $('#' + settings.queueID); + } + + // Add drag and drop functionality + if (settings.dnd) { + var $dropTarget = settings.dropTarget ? $(settings.dropTarget) : $data.queueEl.get(0); + $dropTarget.addEventListener('dragleave', function(e) { + // Stop FireFox from opening the dropped file(s) + e.preventDefault(); + e.stopPropagation(); + }, false); + $dropTarget.addEventListener('dragenter', function(e) { + // Stop FireFox from opening the dropped file(s) + e.preventDefault(); + e.stopPropagation(); + }, false); + $dropTarget.addEventListener('dragover', function(e) { + // Stop FireFox from opening the dropped file(s) + e.preventDefault(); + e.stopPropagation(); + }, false); + $dropTarget.addEventListener('drop', $data.drop, false); + } + + // Send as binary workaround for Chrome + if (!XMLHttpRequest.prototype.sendAsBinary) { + XMLHttpRequest.prototype.sendAsBinary = function(datastr) { + function byteValue(x) { + return x.charCodeAt(0) & 0xff; + } + var ords = Array.prototype.map.call(datastr, byteValue); + var ui8a = new Uint8Array(ords); + this.send(ui8a.buffer); + } + } + + // Trigger the oninit event + if (typeof settings.onInit === 'function') { + settings.onInit.call($this); + } + + } else { + + // Trigger the fallback event + if (typeof settings.onFallback === 'function') { + settings.onFallback.call($this); + } + return false; + + } + + }); + + }, + + + // Write some data to the console + debug : function() { + + return this.each(function() { + + console.log($(this).data('uploadifive')); + + }); + + }, + + // Clear all the items from the queue + clearQueue : function() { + + this.each(function() { + + var $this = $(this), + $data = $this.data('uploadifive'), + settings = $data.settings; + + for (var key in $data.inputs) { + input = $data.inputs[key]; + limit = input.files.length; + for (i = 0; i < limit; i++) { + file = input.files[i]; + methods.cancel.call($this, file); + } + } + // Trigger the onClearQueue event + if (typeof settings.onClearQueue === 'function') { + settings.onClearQueue.call($this, $('#' + $data.settings.queueID)); + } + + }); + + }, + + // Cancel a file upload in progress or remove a file from the queue + cancel : function(file, fast) { + + this.each(function() { + + var $this = $(this), + $data = $this.data('uploadifive'), + settings = $data.settings; + + // If user passed a queue item ID instead of file... + if (typeof file === 'string') { + if (!isNaN(file)) { + fileID = 'uploadifive-' + $(this).attr('id') + '-file-' + file; + } + file = $('#' + fileID).data('file'); + } + + file.skip = true; + $data.filesCancelled++; + if (file.uploading) { + $data.uploads.current--; + file.uploading = false; + file.xhr.abort(); + delete file.xhr; + methods.upload.call($this); + } + if ($.inArray('onCancel', settings.overrideEvents) < 0) { + $data.removeQueueItem(file, fast); + } + + // Trigger the cancel event + if (typeof settings.onCancel === 'function') { + settings.onCancel.call($this, file); + } + + }); + + }, + + // Upload the files in the queue + upload : function(file, keepVars) { + + this.each(function() { + + var $this = $(this), + $data = $this.data('uploadifive'), + settings = $data.settings; + + if (file) { + + $data.uploadFile.call($this, file); + + } else { + + // Check if the upload limit was reached + if (($data.uploads.count + $data.uploads.current) < settings.uploadLimit || settings.uploadLimit == 0) { + if (!keepVars) { + $data.uploads.attempted = 0; + $data.uploads.successsful = 0; + $data.uploads.errors = 0; + var filesToUpload = $data.filesToUpload(); + // Trigger the onUpload event + if (typeof settings.onUpload === 'function') { + settings.onUpload.call($this, filesToUpload); + } + } + + // Loop through the files + $('#' + settings.queueID).find('.uploadifive-queue-item').not('.error, .complete').each(function() { + _file = $(this).data('file'); + // Check if the simUpload limit was reached + if (($data.uploads.current >= settings.simUploadLimit && settings.simUploadLimit !== 0) || ($data.uploads.current >= settings.uploadLimit && settings.uploadLimit !== 0) || ($data.uploads.count >= settings.uploadLimit && settings.uploadLimit !== 0)) { + return false; + } + if (settings.checkScript) { + // Let the loop know that we're already processing this file + _file.checking = true; + skipFile = $data.checkExists(_file); + _file.checking = false; + if (!skipFile) { + $data.uploadFile(_file, true); + } + } else { + $data.uploadFile(_file, true); + } + }); + if ($('#' + settings.queueID).find('.uploadifive-queue-item').not('.error, .complete').size() == 0) { + $data.queueComplete(); + } + } else { + if ($data.uploads.current == 0) { + if ($.inArray('onError', settings.overrideEvents) < 0) { + if ($data.filesToUpload() > 0 && settings.uploadLimit != 0) { + alert('The maximum upload limit has been reached.'); + } + } + // Trigger the onError event + if (typeof settings.onError === 'function') { + settings.onError.call($this, 'UPLOAD_LIMIT_EXCEEDED', $data.filesToUpload()); + } + } + } + + } + + }); + + }, + + // Destroy an instance of UploadiFive + destroy : function() { + + this.each(function() { + + var $this = $(this), + $data = $this.data('uploadifive'), + settings = $data.settings; + + // Clear the queue + methods.clearQueue.call($this); + // Destroy the queue if it was created + if (!settings.queueID) $('#' + settings.queueID).remove(); + // Remove extra inputs + $this.siblings('input').remove(); + // Show the original file input + $this.show() + // Move the file input out of the button + .insertBefore($data.button); + // Delete the button + $data.button.remove(); + // Trigger the destroy event + if (typeof settings.onDestroy === 'function') { + settings.onDestroy.call($this); + } + + }); + + } + + } + + $.fn.upload = function(method) { + + if (methods[method]) { + return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); + } else if (typeof method === 'object' || !method) { + return methods.init.apply(this, arguments); + } else { + $.error('The method ' + method + ' does not exist in $.uploadify'); + } + + } + +})(jQuery); +}); +define("js/me/index", ["jquery","swiper","index"], function(require, exports, module){ +/** + * 个人中心首页 + * @author: bikai<kai.bi@yoho.cn> + * @date: 2015/11/12 + */ +var $ = require("jquery"); +var $userAvatar = $('.user-avatar'), + $listItem = $('.list-item'); +var myImage = new Image(), + avatar; + +require("js/product/recommend-for-you"); +require("js/product/suspend-cart"); + +// 部分老用户没有头像,显示默认头像 +avatar = $userAvatar.data('avatar'); +myImage.src = avatar; +myImage.onload = function() { + $userAvatar.css('background-image', 'url(' + avatar + ')'); +}; + +$('.yoho-page').on('touchstart', '.list-item, .type-item, .order-title', function() { + $listItem.removeClass('highlight'); + $(this).addClass('highlight'); +}).on('touchend touchcancel', '.list-item, .type-item, .order-title', function() { + $(this).removeClass('highlight'); +}); + +}); +define("js/product/recommend-for-you", ["swiper","jquery","index"], function(require, exports, module){ +/** + * 为您优选 + * @author: bikai<kai.bi@yoho.cn> + * @date: 2015/11/16 + */ + + +var Swiper = require("swiper"), + $ = require("jquery"); + +var recommendSwiper, + $recommendForYou = $('.recommend-for-you'); + +$.get('/home/preference').then(function(html) { + $recommendForYou.html(html).show(); + if ($('#swiper-recommend').length) { + recommendSwiper = new Swiper('#swiper-recommend', { + slidesPerView: 'auto', + grabCursor: true, + slideElement: 'a', + lazyLoading: true, + watchSlidesVisibility: true + }); + } +}).fail(function() { + $recommendForYou.hide(); +}); +}); +define("js/me/coupons", ["jquery","hammer","mlellipsis"], function(require, exports, module){ +var $ = require("jquery"), + Hammer = require("hammer"), + ellipsis = require("mlellipsis"), + loading = require("js/plugin/loading"); + +var employ, + statu = 0, + page = 1; + +ellipsis.init(); + +function couponAJAX(statu, page) { + loading.showLoadingMask(); + $.ajax({ + type: 'POST', + url: '/home/couponData', + dataType: 'html', + data: { + status: statu, + page: page + }, + success: function(data) { + $('#employ').append(data); + window.rePosFooter(); + loading.hideLoadingMask(); + } + }); +} + +$('.yoho-footer').css('border-top', '1px solid #e0e0e0'); +$('.employ span').each(function(index) { + employ = new Hammer($('.employ span')[index]); + employ.on('tap', function(e) { + $('.employ span').removeClass('active').eq(index).addClass('active'); + $('#employ').html(' '); + statu = index; + page = 1; + couponAJAX(statu, page); + window.rePosFooter(); + }); +}); + + +$(window).scroll(function() { + if ($(window).scrollTop() + $(window).height() > $('body').height() - 1) { + page++; + couponAJAX(statu, page); + return; + } + +}); +couponAJAX(statu, page); +}); +define("js/me/online-service", ["jquery"], function(require, exports, module){ +/** + * 在线客服 + * @author: bikai<kai.bi@yoho.cn> + * @date: 2015/11/16 + */ +var $ = require("jquery"); + +var $questionTab = $('.question-tab .tab-item'); + +$questionTab.on('touchend', function() { + var clickTab = $(this).data('tab'); + + clickTab = '[data-tab-name="' + clickTab + '"]'; + + $questionTab.removeClass('current'); + $(this).addClass('current'); + + $('.question-list').removeClass('current'); + $(clickTab).addClass('current'); +}); + +$('.yoho-page').on('touchstart', '.connect-item, .question-item', function() { + $(this).siblings().removeClass('highlight'); + $(this).addClass('highlight'); +}).on('touchend touchcancel', '.connect-item, .question-item', function() { + $(this).removeClass('highlight'); +}); + +}); +define("js/me/address", ["jquery","hammer"], function(require, exports, module){ +/** + * 地址管理 + * @author: bikai<kai.bi@yoho.cn> + * @date: 2015/11/17 + */ + +var $ = require("jquery"), + tip = require("js/plugin/tip"), + loading = require("js/plugin/loading"); + +var $action = $('.action'), + $addAddress = $('.add-address'), + $footer = $('#yoho-footer'), + $confim = $('.confim-mask'), + $pageWrap = $('.page-wrap'), + $addressItem = $('.address-item'), + deleteId; + +require("js/common"); + +$pageWrap.first().css('min-height', function() { + return $(window).height() - $('#yoho-header').height() - $footer.height(); +}); +window.rePosFooter(); + +$confim.on('touchend', '.cancel', function(e) { + deleteId = null; + $confim.fadeOut(); + return false; +}).on('touchend', '.confim', function() { + loading.showLoadingMask(); + $confim.fadeOut(); + $.ajax({ + method: 'POST', + url: '/home/delAddress', + data: { + id: deleteId + } + }).then(function(res) { + if ($.type(res) !== 'object') { + res = {}; + } + if (res.code !== 200) { + tip.show(res.message || '网络出了点问题~'); + loading.hideLoadingMask(); + } else { + window.location.reload(); + } + }).fail(function() { + tip.show('网络出了点问题~'); + loading.hideLoadingMask(); + }).always(function() { + deleteId = null; + }); + return false; +}); + + +// 添加地址 +if ($addressItem.length < 5) { + $addAddress.attr('href', $addAddress.data('href')); +} +$addAddress.on('touchend', function() { + if ($addressItem.length >= 5) { + tip.show('您最多添加5个收货地址'); + return false; + } +}); + +// 删除 +$action.on('touchend', '.del', function() { + deleteId = $(this).data('id'); + $confim.fadeIn(); + return false; +}); + +}); +define("js/me/browse-record", ["jquery","lazyload","handlebars","source-map","hammer"], function(require, exports, module){ +/** + * 浏览记录 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/28 + */ + +var $ = require("jquery"); + +var lazyLoad = require("lazyload"); +var load = require("js/plugin/loading"); + +var dialog = require("js/me/dialog"); + +var $page = $('.records'); + +var $loadMore = $('.load-more'), + $more = $loadMore.children('.more'), + $noMore = $loadMore.children('.no-more'); + +var page = 0; + +var end = false, + loading = false; + +var winH = $(window).height(); + +load.init(); +function moreRecord(cb) { + var count = $page.children('.browse-record-good').length; + + if (loading) { + return; + } + + if (page === 1) { + $loadMore.removeClass('hide'); + } + + loading = true; + $.ajax({ + type: 'GET', + url: '/home/recordContent', + data: { + page: page + 1 + }, + success: function(data) { + if (data === ' ') { + end = true; + + $more.addClass('hide'); + $noMore.removeClass('hide'); + } else { + + if (count === 0) { + $page.html(data); + + lazyLoad(); + } else { + $page.append(data); + + lazyLoad($page.find('.browse-record-good:gt(' + (count - 1) + ') .lazy')); + } + window.rePosFooter(); + page++; + + if (cb) { + cb(); + } + } + }, + complete: function() { + loading = false; + } + }); +} + +load.showLoadingMask(); +moreRecord(load.hideLoadingMask); + +$(window).scroll(function() { + if (end) { + return; + } + + if (winH + $(window).scrollTop() > $(document).height() - 0.25 * $page.height()) { + moreRecord(); + } +}); + +$page.on('touchstart', '.del-icon', function() { + var $good = $(this).closest('.browse-record-good'), + skn = $good.data('skn'); + + dialog.showDialog({ + dialogText: '确定删除此条浏览记录吗?', + hasFooter: { + leftBtnText: '取消', + rightBtnText: '确定' + } + }, function() { + + $.ajax({ + type: 'GET', + url: '/home/delRecord', + data: { + skn: skn + }, + success: function(data) { + if (data.code === 200) { + dialog.showDialog({ + dialogText: '删除浏览记录成功', + autoHide: 2000, + fast: true + }); + setTimeout(function() { + window.history.go(0); + }, 1200); + } + } + }); + }); +}); +}); +define("js/me/address-act", ["jquery","hammer"], function(require, exports, module){ +/** + * 修改地址 + * @author: bikai<kai.bi@yoho.cn> + * @date: 2015/11/30 + */ + var $ = require("jquery"), + Hammer = require("hammer"), + tip = require("js/plugin/tip"), + security = require("js/plugin/security"), + loading = require("js/plugin/loading"); + +var $addressForm = $('.edit-address'), + $submit = $('.submit'), + $editAddressPage = $('.my-edit-address-page'), + $addressListPage = $('.my-address-list-page'), + $backBtn = $('.nav-back'), + $navTitle = $('.nav-title'), + $input = $('input, textarea'), + navTitle = $navTitle.html(), + $area = $('.area'), + isSubmiting, + currentPage = 'edit', + newArea = [], + queryString = $.queryString(); + +$($editAddressPage, $addressListPage).css('min-height', function() { + return $(window).height() - $('#yoho-header').height(); +}); + +// 清除返回按钮原有链接 +$backBtn.attr('href', 'javascript:void(0);'); + +// 自定义返回按钮事件 +$backBtn.on('touchend', function(e) { + if (currentPage === 'list') { + $addressListPage.hide(); + $editAddressPage.show(); + e.preventDefault(); + currentPage = 'edit'; + $navTitle.html(navTitle); + + // 恢复默认的三级选择 + $addressListPage.hide(); + $addressListPage.find('ul').hide().find('li').removeClass('highlight'); + $addressListPage.children('ul').show().children('li').show(); + newArea = []; + } else { + window.history.go(-1); + } +}); + +// 提交表单请求 +$addressForm.on('submit', function() { + if (isSubmiting) { + return false; + } + + if (security.hasDangerInput(false)) { + return false; + } + + // 简单的表单校验 + if (!$(this).find('[name="consignee"]').val()) { + tip.show('收件人不能为空'); + return false; + } + if (!$(this).find('[name="mobile"]').val()) { + tip.show('手机号不能为空'); + return false; + } + if (!$(this).find('[name="area_code"]').val() || !$(this).find('[name="area"]').val()) { + tip.show('省市区不能为空'); + return false; + } + if (!$(this).find('[name="address"]').val()) { + tip.show('地址不能为空'); + return false; + } + + isSubmiting = true; + loading.showLoadingMask(); + $.ajax({ + method: 'POST', + url: '/home/saveAddress', + data: $(this).serialize() + }).then(function(res) { + if ($.type(res) !== 'object') { + res = {}; + } + if (res.code !== 200) { + tip.show(res.message || '网络出了点问题~'); + isSubmiting = false; + loading.hideLoadingMask(); + } else { + if (queryString.refer === 'shopping') { + window.location.href = '/cart/index/selectAddress'; + } else { + window.location.href = '/home/address'; + } + } + }).fail(function() { + tip.show('网络出了点问题~'); + isSubmiting = false; + }); + return false; +}); + +$submit.on('touchend', function() { + if (security.hasDangerInput(false)) { + return false; + } + $input.blur(); + $addressForm.submit(); + return false; +}).on('touchstart', function() { + $(this).addClass('highlight'); +}).on('touchend touchcancel', function() { + $(this).removeClass('highlight'); +}); + +// 省市区列表异步加载 +$.ajax({ + method: 'GET', + url: '/home/locationList', + timeout: 60000 +}).then(function(html) { + $addressListPage.html(html); + + // 省市区 + $area.on('touchend', function() { + $editAddressPage.hide(); + $addressListPage.show(); + currentPage = 'list'; + $navTitle.html('地区选择'); + }); + + // touchend 在下滑的时候会触发 + // 省市区联动 + $addressListPage.find('.address').each(function(i, elem) { + var addressHammer = new Hammer(elem); + + addressHammer.on('tap', function(e) { + var $this = $(e.target); + + if (e.target.tagName.toLowerCase() !== 'li') { + $this = $this.parent('li'); + } + newArea.push($this.children('.caption').text().trim()); + $this.siblings().hide(); + $this.children('ul').show().children('li').show(); + + e.srcEvent.preventDefault(); + e.srcEvent.stopPropagation(); + }); + }); + + $addressListPage.find('.address-last').each(function(i, elem) { + var addressLastHammer = new Hammer(elem); + + addressLastHammer.on('tap', function(e) { + var $this = $(e.target); + + // 填结果到 html + newArea.push($this.text().trim()); + $('[name="area"]').val(newArea.join(' ')); + $('[name="area_code"]').val($this.data('id')); + + $editAddressPage.show(); + currentPage = 'edit'; + $navTitle.html(navTitle); + + // 恢复默认的三级选择 + $addressListPage.hide(); + $addressListPage.find('ul').hide().find('li').removeClass('highlight'); + $addressListPage.children('ul').show().children('li').show(); + newArea = []; + + e.srcEvent.preventDefault(); + e.srcEvent.stopPropagation(); + }); + }); + + $addressListPage.on('touchstart', 'li', function() { + $(this).addClass('highlight'); + }).on('touchend touchcancel', 'li', function() { + $(this).removeClass('highlight'); + }); +}).fail(function() { + tip.show('获取省市区列表失败'); +}); + +}); +define("js/me/logistic", ["jquery"], function(require, exports, module){ +/** + * 物流信息页面 + * @author: 赵彪<bill.zhao@yoho.cn> + * @date: 2015/12/02 + */ + +var $ = require("jquery"), + $footer = $('#yoho-footer'); + +var winH = window.outerHeight, + bodyH = document.body.offsetHeight, + footH = $footer.height(); + +function addFooterTopBorder() { + if (footH + bodyH > winH) { + window.rePosFooter(); + } else { + $footer.css('border-top', '1px solid #f1f1f1'); + } +} + +$(document).ready(addFooterTopBorder); + + + + + + + + +}); +define("js/me/pay", ["jquery","hammer"], function(require, exports, module){ +/** + * 支付页面 + * @author: 赵彪<bill.zhao@yoho.cn> + * @date: 2015/12/03 + */ +var $ = require("jquery"); + +var loading = require("js/plugin/loading"), + tip = require("js/plugin/tip"), + Hammer = require("hammer"); + +var theOrderCode = document.getElementById('ordercode').value; + +var wxPayEl = document.getElementById('weixin'), + wxHammer = wxPayEl && new Hammer(wxPayEl); + +var appIconPosition = { + baidu: '-2.7rem', + weixin: '-1.2rem', + QQ: '-5.4rem', + bank: '-4rem' + }; + +//隐藏微信分享选项 +if (window.wx) { + wx.hideOptionMenu(); +} + +function onBridgeReady() { + document.addEventListener('WeixinJSBridgeReady', function() { + window.WeixinJSBridge && window.WeixinJSBridge.call('hideOptionMenu'); + }); +} + +if (typeof WeixinJSBridge === undefined) { + if (document.addEventListener) { + document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false); + } else if (document.attachEvent) { + document.attachEvent('WeixinJSBridgeReady', onBridgeReady); + document.attachEvent('onWeixinJSBridgeReady', onBridgeReady); + } + onBridgeReady(); +} else { + onBridgeReady(); +} + +//调用微信JS api 支付 +function jsApiCall(orderCode, jsApiParameters) { + + //防止重复操作弹框 + window.WeixinJSBridge && window.WeixinJSBridge.invoke( + 'getBrandWCPayRequest', + jsApiParameters, + function(res) { + window.location.href = '/home/orders/detail?order_code=' + orderCode; + } + ); +} + +//微信支付 +function callpay(orderCode) { + var jsApiParameters; + + if (typeof WeixinJSBridge === undefined) { + if (document.addEventListener) { + document.addEventListener('WeixinJSBridgeReady', jsApiCall, false); + } else if (document.attachEvent) { + document.attachEvent('WeixinJSBridgeReady', jsApiCall); + document.attachEvent('onWeixinJSBridgeReady', jsApiCall); + } + } else { + $.ajax({ + type: 'GET', + url: '/shopping/pay/wechatwapapi?order_code=' + orderCode, + dataType: 'json', + success: function(res) { + if (res.code === 200) { + jsApiParameters = res.data.jsApiParameters; + jsApiCall(orderCode, jsApiParameters); + } else { + tip.show('微信支付调取失败'); + } + }, + error: function() { + tip.show('请刷新本页面,完成微信支付'); + } + }); + } +} + + +function isWXOpen() { + var ua = window.navigator.userAgent.toLowerCase(); + + if (ua.indexOf('micromessenger') > 0) { + return true; + } else { + return false; + } +} + +function hideWeChatPay() { + var $payApps = $('.app'); + + $payApps.each(function(idx, app) { + if ($(app).parent().attr('id') === 'weixin') { + $(app).parent().css('display', 'none'); + return false; + } + }); +} + +function handleForWX() { + if (!isWXOpen()) { + hideWeChatPay(); + } +} + + +function setAppIcon(el, position) { + $(el).css('background-position-y', position); +} + +function loadIcon() { + var $boxs = $('.box'); + var $div = null; + var appid = null; + + $boxs.each(function(idx, box) { + $div = $(box).find('.icon').find('div'); + if ($div.length > 0) { + appid = $(box).attr('id'); + if (appid !== 'alipay') { + setAppIcon($div, appIconPosition[appid]); + } + } + }); +} + +function showPage() { + var $pageList = $('.payapp-list'); + + $pageList.css('visibility', 'visible'); +} + +if (wxHammer) { + wxHammer.on('tap', function() { + callpay(theOrderCode); + }); +} + +function main() { + handleForWX(); + loading.hideLoadingMask(); + showPage(); + loadIcon(); +} + +loading.showLoadingMask(); + +$(document).ready(main); + + +}); +define("js/me/personal-details", ["jquery"], function(require, exports, module){ +/** + * 个人信息 + * @author: bikai<kai.bi@yoho.cn> + * @date: 2015/11/19 + */ +var $ = require("jquery"); +var $userAvatar = $('.user-avatar'); +var myImage = new Image(), + avatar; + +// 部分老用户没有头像,显示默认头像 +avatar = $userAvatar.data('avatar'); +myImage.src = avatar; +myImage.onload = function() { + $userAvatar.css('background-image', 'url(' + avatar + ')'); +}; + +}); +define("js/me/currency", ["jquery"], function(require, exports, module){ +var $ = require("jquery"); +var page = 1; + +function ajaxCurrencyDetail(page) { + $.ajax({ + type: 'POST', + url: '/home/ajaxCurrencyDetail', + dataType: 'html', + data: { + page: page + }, + success: function(data) { + $('.coin-detail').append(data); + window.rePosFooter(); + } + }); +} + +$(window).scroll(function() { + if ($(window).scrollTop() + $(window).height() > $('body').height() - 1) { + page++; + ajaxCurrencyDetail(page); + return; + } +}); + +ajaxCurrencyDetail(page); +}); +define("js/cart/entry", ["jquery","mlellipsis","hammer","handlebars","source-map","swiper","lazyload","index"], function(require, exports, module){ +/** + * 购物车打包入口 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/23 + */ + +require("js/cart/cart"); +require("js/cart/gift-advance"); +require("js/cart/order-ensure"); +require("js/cart/select-coupon"); +require("js/cart/select-address"); + +}); +define("js/cart/cart", ["jquery","mlellipsis","hammer","handlebars","source-map","swiper","lazyload","index"], function(require, exports, module){ +/** + * 购物车Logic + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/20 + */ + +var $ = require("jquery"), + ellipsis = require("mlellipsis"), + Hammer = require("hammer"); + +var chosePanel = require("js/cart/chose-panel"), + dialog = require("js/me/dialog"), + loading = require("js/plugin/loading"), + tip = require("js/plugin/tip"); + +var $cartContent = $('.cart-content'), + cartType = $('#cartType').val(), + $cartNav = $('.cart-nav'), + $cartPage = $('.shopping-cart-page'), + hasShowCartPresellTip = false; + +var navHammer, + advanceBuyHammer, + freebieHammer, + switchChose = false; + +var isRefreshByDelete = window.cookie('_yoho-cart-refreshByDelete') === 'true' ? true : false; + + +loading.showLoadingMask(); + +function needLoadRecommandForYou() { + return window.isCookiesEnabled() ? + $('.cart-goods').length <= 0 && !isRefreshByDelete : + $('.cart-goods').length <= 0; +} + + +if (needLoadRecommandForYou()) { + require("js/product/recommend-for-you"); +} else { + if (isRefreshByDelete) { + $('body').css('background-color', '#f0f0f0'); + } + require("js/cart/good"); +} + +$cartPage.css('display', 'block'); +loading.hideLoadingMask(); + +window.setCookie('_yoho-cart-refreshByDelete', false); + +ellipsis.init(); + +function cartContentShow() { + return $cartContent.not('.hide'); +} + +function mlellipsisHiddenNames() { + cartContentShow().find('.shopping-cart-good .name').each(function() { + this.mlellipsis(2); + }); + switchChose = true; +} + +function hasChecked() { + return cartContentShow().find('.cart-goods .icon-cb-checked').length > 0 ? true : false; +} + +function shouldSelectGift() { + var $freebie = cartContentShow().find('.freebie'); + + if ($freebie.length <= 0) { + return false; + } + + return true; +} + +function shouldLowStocks() { + var $lowStocks, + result = false; + + if ('ordinary' === cartType) { + $lowStocks = $('.common .low-stocks'); + } else if ('advance' === cartType) { + $lowStocks = $('.presell .low-stocks'); + } + + if ($lowStocks.length <= 0) { + return result; + } + + $lowStocks.each(function(idx, item) { + if ($(item).parent().parent().parent().siblings('.checkbox').hasClass('icon-cb-checked')) { + result = true; + return false; + } + }); + + return result; +} + +function showChooseGifDialog() { + dialog.showDialog({ + dialogText: '您还未选择赠品,是否去选择赠品', + hasFooter: { + leftBtnText: '我不要赠品', + rightBtnText: '去选择' + } + }, function() { + window.location.href = cartContentShow().find('.freebie > a').attr('href'); + }, function() { + window.location.href = '/cart/index/orderEnsure?cartType=' + cartType; + }); +} + +if (typeof window.cookie === 'function' && 'y' === window.cookie('_hasShowCartPresellTip')) { + $('#presell-tip').removeClass('show').addClass('hide'); + hasShowCartPresellTip = true; +} else { + $('#presell-tip').removeClass('hide').addClass('show'); +} + +if ('advance' === cartType) { + $cartContent.toggleClass('hide'); + $('#common-cart-nav').removeClass('active'); + $('#presell-cart-nav').addClass('active'); + + mlellipsisHiddenNames(); + $(window).trigger('scroll'); +} + +if ($cartNav.length > 0) { + navHammer = new Hammer(document.getElementsByClassName('cart-nav')[0]); + navHammer.on('tap', function(e) { + var $this = $(e.target).closest('li'); + + if ($this.hasClass('active')) { + return; + } + + if (cartType === 'ordinary') { + cartType = 'advance'; + $('#cartType').val('advance'); + } else { + cartType = 'ordinary'; + $('#cartType').val('ordinary'); + } + + $this.siblings('.active').removeClass('active'); + $this.addClass('active'); + + //切换普通商品和预售商品购物车显示 + $cartContent.toggleClass('hide'); + + if (switchChose === false) { + mlellipsisHiddenNames(); + } + + //trigger lazyload + $(window).trigger('scroll'); + }); + + if (!hasShowCartPresellTip) { + setTimeout(function() { + $('#presell-tip').removeClass('show').addClass('hide'); + window.setCookie('_hasShowCartPresellTip', 'y'); + }, 3000); + } +} + +if ($('.advance-buy').length > 0) { + advanceBuyHammer = new Hammer(document.getElementsByClassName('advance-buy')[0]); + advanceBuyHammer.on('tap', function(e) { + window.location.href = '/cart/index/advanceBuy?cartType=' + cartType; + }); +} + +if ($('.freebie').length > 0) { + freebieHammer = new Hammer(document.getElementsByClassName('freebie')[0]); + freebieHammer.on('tap', function(e) { + window.location.href = '/cart/index/gift?cartType=' + cartType; + }); +} + +$('.btn-balance').on('touchend', function() { + if (shouldLowStocks()) { + tip.show('所选商品中含有库存不足的商品'); + return false; + } + + if (shouldSelectGift()) { + showChooseGifDialog(); + return false; + } + + if (hasChecked()) { + window.location.href = '/cart/index/orderEnsure?cartType=' + cartType; + } else { + tip.show('请先勾选商品'); + } +}); + +$('.chose').on('touchend', function() { + chosePanel.show(); +}); + +$cartNav.on('touchstart', 'li', function(e) { + $(this).addClass('bytouch'); +}).on('touchend touchcancel', function() { + $cartNav.find('li').removeClass('bytouch'); +}); + +//提前触发lazyload +$(window).scrollTop(1).scrollTop(0); + +}); +define("js/cart/good", ["jquery","mlellipsis","lazyload","handlebars","source-map","hammer"], function(require, exports, module){ +/** + * 购物车商品 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/20 + */ + +var $ = require("jquery"), + ellipsis = require("mlellipsis"), + chosePanel = require("js/cart/chose-panel"), + lazyLoad = require("lazyload"); + +var dialog = require("js/me/dialog"), + tip = require("js/plugin/tip"), + orderInfo = require("js/cart/order-info").orderInfo; + +var $selectAllBtn = $('.balance .checkbox'), + requesting = false; + +ellipsis.init(); + +lazyLoad({ + try_again_css: 'order-failure' +}); + +setTimeout(function() { + $('.shopping-cart-good .name').each(function() { + this.mlellipsis(2); + }); +}, 0); + +function GoodInfo(properties) { + this.goods_type = properties.goods_type; + this.buy_number = properties.buy_number; + this.product_sku = properties.product_sku; + this.selected = properties.selected; +} + +//TIP:事件委托在.cart-goods,商品列表的容器统一需要有.cart-goods +$('.cart-goods').on('touchstart', '.checkbox', function() { + var $this = $(this), + $good = $this.closest('.shopping-cart-good'), + id = $good.data('id'); + + var goodsList = [], + goodInfo = {}; + + if (!$this.hasClass('icon-cb-checked') && $this.siblings('.info').find('.low-stocks').length > 0) { + tip.show('库存不足,无法购买'); + return false; + } + + goodInfo.goods_type = $('#cartType').val(); + goodInfo.selected = $this.hasClass('icon-cb-checked') ? 'N' : 'Y'; + goodInfo.product_sku = id; + goodInfo.buy_number = $good.find('.count').eq(0).text().trim().replace('×', ''); + goodsList.push(new GoodInfo(goodInfo)); + + $.ajax({ + type: 'post', + url: 'select', + data: { + skuList: JSON.stringify(goodsList) + } + }).then(function(data) { + if (data.code === 200) { + if ($this.hasClass('icon-cb-checked')) { + $this.removeClass('icon-cb-checked').addClass('icon-checkbox'); + } else { + $this.removeClass('icon-checkbox').addClass('icon-cb-checked'); + } + window.location.href = '/cart/index/index?cartType=' + $('#cartType').val(); + } else if (data.code === 400) { + tip.show('网络异常'); + } + }, function() { + tip.show('网络异常'); + }); +}); + +$('.icon-del').on('touchstart', function(e) { + var $this = $(this); + + e.stopPropagation(); + + dialog.showDialog({ + dialogText: '您确定要从购物车中删除吗?', + hasFooter: { + leftBtnText: '取消', + rightBtnText: '确定' + } + }, function() { + var id = $this.closest('.shopping-cart-good').data('id'), + count = $this.data('count'); + + $.ajax({ + method: 'post', + url: '/cart/index/del', + data: { + sku: id, + count: count + } + }).then(function(data) { + if (data.code === 200) { + dialog.showDialog({ + dialogText: '删除成功', + autoHide: true, + fast: true + }); + orderInfo('couponCode', null); + orderInfo('couponName', null); + window.setCookie('_yoho-cart-refreshByDelete', true); + window.location.href = '/cart/index/index?cartType=' + $('#cartType').val(); + } else { + tip.show(data.message); + } + }, function() { + tip.show('网络异常'); + window.location.reload(); + }); + }); +}); + +function requestUpdateAllGoodsCheckStatus(theGoods, successHandeler) { + if (requesting) { + return; + } + requesting = true; + $.ajax({ + url: 'select', + type: 'post', + data: { + skuList: JSON.stringify(theGoods) + }, + success: function(res) { + if (res.code === 200) { + successHandeler(); + } else { + tip.show(res.message); + } + }, + error: function() { + tip.show('网络异常'); + }, + complete: function() { + requesting = false; + } + }); +} + +function didUpdateAllGoodsCheckStatus() { + var $checkedBoxs = $('.shopping-cart-good .icon-cb-checked'), + $uncheckedBoxs = $('.shopping-cart-good .icon-checkbox'); + + var shouldSelectAll; + + if ($selectAllBtn.hasClass('icon-cb-checked')) { + $selectAllBtn.removeClass('icon-cb-checked').addClass('icon-checkbox'); + shouldSelectAll = true; + } else { + $selectAllBtn.removeClass('icon-checkbox').addClass('icon-cb-checked'); + shouldSelectAll = false; + } + + if (!shouldSelectAll) { + $uncheckedBoxs.each(function(idx, uncheckedBox) { + $(uncheckedBox).removeClass('icon-checkbox').addClass('icon-cb-checked'); + }); + } else { + $checkedBoxs.each(function(idx, checkedBox) { + $(checkedBox).removeClass('icon-cb-checked').addClass('icon-checkbox'); + }); + } + window.location.href = '/cart/index/index?cartType=' + $('#cartType').val(); +} + +function bottomCheckBoxHandeler(isSelected, type, handlerAfterTouch) { + var goodInfo = {}, + $goods = $('.cart-content:not(.hide) .shopping-cart-good'), + $good = null, + goodsList = []; + + goodInfo.goods_type = type; + goodInfo.selected = isSelected ? 'N' : 'Y'; + + $goods.each(function(idx, good) { + $good = $(good); + + goodInfo.product_sku = $(good).data('id'); + goodInfo.buy_number = $good.find('.count').eq(0).text().trim().replace('×', ''); + + goodsList.push(new GoodInfo(goodInfo)); + }); + + requestUpdateAllGoodsCheckStatus(goodsList, handlerAfterTouch); +} + +//全选按钮点击事件 +$selectAllBtn.on('touchend', function() { + var cartType = $('#cartType').val(), + isSelect = $(this).hasClass('icon-cb-checked'); + + if ('ordinary' === cartType) { + if (!isSelect && $('.common .low-stocks').length > 0) { + tip.show('所选商品中含有库存不足的商品'); + return false; + } + } else if ('advance' === cartType) { + if (!isSelect && $('.presell .low-stocks').length > 0) { + tip.show('所选商品中含有库存不足的商品'); + return false; + } + } + + bottomCheckBoxHandeler(isSelect, cartType, didUpdateAllGoodsCheckStatus); +}); + +$('.down').on('touchend', function() { + chosePanel.show(); +}); + +}); +define("js/cart/order-info", ["jquery","hammer"], function(require, exports, module){ +/** + * 订单信息读取 + * @author: bikai<kai.bi@yoho.cn> + * @date: 2015/12/14 + */ +var $ = require("jquery"); +var info = window.cookie('order-info'); + +require("js/common"); + +function init() { + info = { + uid: window.getUid(), + deliveryId: 1, + deliveryTimeId: 1, + paymentTypeId: 1, + yohoCoin: $('.coin').data('yoho-coin') || 0, + addressId: null, + couponCode: null, + couponName: null, + invoice: null, + invoiceText: null, + invoiceType: null, + msg: null, + cartType: 'ordinary' + }; + window.setCookie('order-info', JSON.stringify(info)); +} + +// info 必须是 JSON 字符串 +try { + info = JSON.parse(info); + + // 2015/12/31 hf: fixes bug to 购物车页面调用该JS, 会导致有YOHO币,值却没有传给服务端. 因此需要再设置一下 + info['yohoCoin'] = $('.coin').data('yoho-coin') || 0; +} catch (e) { + init(); +} + +exports.init = init; + +exports.orderInfo = function(key, value) { + if (value === undefined) { + return info[key]; + } + info[key] = value; + window.setCookie('order-info', JSON.stringify(info)); +}; + +}); +define("js/cart/gift-advance", ["jquery","lazyload","hammer"], function(require, exports, module){ +/** + * 赠品/加价购 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/10/23 + */ + +var $ = require("jquery"), + lazyLoad = require("lazyload"), + Hammer = require("hammer"), + tip = require("js/plugin/tip"), + loading = require("js/plugin/loading"), + chosePanel = require("js/cart/chose-panel"); + +var $page = $('.gift-advance-page'), + queryString = $.queryString(); + +require("js/common"); + +lazyLoad($('.lazy')); + +function getProductInfo(skn, promotionId) { + loading.showLoadingMask(); + $.get('/cart/index/giftinfo', { + skn: skn, + promotionId: promotionId + }).then(function(html) { + if (!html) { + tip.show('网络错误'); + return; + } + chosePanel.show(html, function() { + window.location.href = '/cart/index/index?cartType=' + queryString.cartType; + }); + }, function() { + tip.show('网络错误'); + }).always(function() { + loading.hideLoadingMask(); + }); +} + +$page.find('.chose').each(function(i, elem) { + var choseHammer = new Hammer(elem); + + choseHammer.on('tap', function(e) { + var $this = $(e.target), + id = $this.closest('.gift-advance-good').data('id'), + promotionId = $this.closest('.advance-block').data('promotion-id'); + + getProductInfo(id, promotionId); + }); +}); + +// $page.on('touchend', '.chose', function() { +// var $this = $(this), +// id = $this.closest('.gift-advance-good').data('id'), +// promotionId = $this.closest('.advance-block').data('promotion-id'); +// +// getProductInfo(id, promotionId); +// }); + +}); +define("js/cart/order-ensure", ["jquery","lazyload","hammer","handlebars","source-map"], function(require, exports, module){ +/** + * 订单确认 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/12 + */ + +var $ = require("jquery"), + lazyLoad = require("lazyload"), + Hammer = require("hammer"), + Handlebars = require("handlebars"), + tip = require("js/plugin/tip"), + loading = require("js/plugin/loading"), + order = require("js/cart/order-info"); + +var dispatchModeHammer, + dispatchTimeHammer, + $invoice = $('.invoice'), + $price = $('.price-cal'), + $couponUse = $('.coupon-use.used'), + $addressWrap = $('.address-wrap'), + $coinCheck = $('.coin-check'), + $coinUsed = $('.coin .used'), + payType, + priceTmpl = Handlebars.compile($('#tmpl-price').html()), + queryString = $.queryString(), + orderInfo = order.orderInfo, + isSubmiting; + +require("js/common"); + +lazyLoad(); + +if (window.getUid() !== orderInfo('uid')) { + order.init(); + window.location.reload(); +} + +if ($couponUse.data('name') !== orderInfo('couponName')) { + orderInfo('couponCode', null); + orderInfo('couponName', null); +} + +orderInfo('cartType', queryString.cartType || queryString.carttype || 'ordinary'); + +function dispacthTapEvt(e) { + var $cur = $(e.target).closest('li'); + + if ($cur.length === 0 || $cur.hasClass('chosed')) { + return; + } + + $cur.siblings('li.chosed').removeClass('chosed'); + $cur.addClass('chosed'); +} + +dispatchModeHammer = new Hammer(document.getElementsByClassName('dispatch-mode')[0]); +dispatchModeHammer.on('tap', dispacthTapEvt); + +dispatchTimeHammer = new Hammer(document.getElementsByClassName('dispatch-time')[0]); +dispatchTimeHammer.on('tap', dispacthTapEvt); + +$('.checkbox').on('touchstart', function() { + var $this = $(this); + + if ($this.hasClass('icon-cb-checked')) { + $this.removeClass('icon-cb-checked').addClass('icon-checkbox'); + return; + } + if ($this.hasClass('icon-checkbox')) { + $this.removeClass('icon-checkbox').addClass('icon-cb-checked'); + } +}); + +$('.invoice').on('touchend', '.checkbox', function() { + var $this = $(this); + + if ($this.hasClass('icon-cb-checked')) { + $('.invoice').addClass('focus'); + } + if ($this.hasClass('icon-checkbox')) { + $('.invoice').removeClass('focus'); + } +}); + +function orderCompute() { + $.ajax({ + method: 'POST', + url: '/cart/index/orderCompute', + data: { + cartType: orderInfo('cartType') || 'ordinary', + deliveryId: orderInfo('deliveryId'), + paymentTypeId: orderInfo('paymentTypeId'), + couponCode: orderInfo('couponCode'), + yohoCoin: orderInfo('yohoCoin') + } + }).then(function(res) { + var priceHtml; + + if ($.type(res) !== 'object') { + window.location.reload(); + } else { + if (res.last_order_amount) { + res.last_order_amount = (+res.last_order_amount).toFixed(2); + } + if (res.use_yoho_coin) { + $coinCheck.find('em').html('- ¥ ' + res.use_yoho_coin); + $coinUsed.html('已抵¥' + res.use_yoho_coin); + $coinCheck.find('em').show(); + $coinUsed.show(); + } + priceHtml = priceTmpl({ + cartPayData: res.promotion_formula_list, + price: res.last_order_amount + }); + + $price.html(priceHtml); + } + }).fail(function() { + window.location.reload(); + }); +} + +function submitOrder() { + var invoiceText = $invoice.find('[name="invoice-title"]').val() || orderInfo('invoiceText'), + msg = $('#msg').find('input').val() || orderInfo('msg'); + + if (orderInfo('deliveryId') === 2 && !$addressWrap.data('support')) { + tip.show('当前地址不支持顺丰快递'); + return; + } + if (isSubmiting) { + return false; + } + if (orderInfo('invoice')) { + if (!invoiceText) { + tip.show('请输入发票抬头'); + return; + } + if (invoiceText.length > 30) { + tip.show('发票抬头不得超过30个汉字'); + return; + } + } + if (msg) { + if (msg.length > 40) { + tip.show('留言不得超过40个汉字'); + return; + } + } + loading.showLoadingMask(); + isSubmiting = true; + $.ajax({ + method: 'POST', + url: '/cart/index/orderSub', + data: { + addressId: orderInfo('addressId'), + cartType: orderInfo('cartType') || 'ordinary', + deliveryId: orderInfo('deliveryId'), + deliveryTimeId: orderInfo('deliveryTimeId'), + invoiceText: orderInfo('invoice') ? invoiceText : null, + invoiceType: orderInfo('invoice') ? ($invoice.find('.invoice-type').val() || + orderInfo('invoiceType')) : null, + msg: msg, + paymentTypeId: orderInfo('paymentTypeId'), + paymentType: orderInfo('paymentType'), //支付方式 + couponCode: orderInfo('couponCode'), + yohoCoin: orderInfo('yohoCoin') + } + }).then(function(res) { + var url; + + if (!res) { + tip.show('网络出错'); + return; + } + if (res.code === 200) { + if (payType === 2) { + + // 货到付款的进入订单页面 + url = '/home/orderDetail?order_code=' + res.data.order_code; + } else { + url = '/home/orders/pay?order_code=' + res.data.order_code; + } + window.setCookie('order-info', ''); + window.location.href = url; + } else if (res.message) { + tip.show(res.message); + } + }).fail(function() { + tip.show('网络出错'); + }).always(function() { + isSubmiting = false; + loading.hideLoadingMask(); + }); +} + +// 界面点击,状态存 cookie +if (!orderInfo('addressId')) { + orderInfo('addressId', $addressWrap.data('id')); +} + +$('.dispatch-mode').on('touchend', 'li', function() { + var $defaultMode = $('.dispatch-mode [data-id="1"]'); + + if (!$addressWrap.data('support') && $(this).data('id') === 2) { + dispacthTapEvt({ + target: $defaultMode + }); + tip.show('当前地址不支持顺丰快递'); + } else { + orderInfo('deliveryId', $(this).data('id')); + orderCompute(); + } +}); + +$('.dispatch-time').on('touchend', 'li', function() { + orderInfo('deliveryTimeId', $(this).data('id')); +}); + +$('.coin').on('touchend', function() { + var $this = $(this); + + if ($this.find('.checkbox').hasClass('icon-cb-checked')) { + orderInfo('yohoCoin', $this.data('yoho-coin')); + $this.find('.can-use').hide(); + } else { + orderInfo('yohoCoin', 0); + $this.find('.coin-check em').hide(); + $this.find('.can-use').show(); + $this.find('.used').hide(); + } + orderCompute(); +}); + +$invoice.on('touchend', function() { + var $this = $(this); + + orderInfo('invoice', $this.find('.checkbox').hasClass('icon-cb-checked')); +}); + +$invoice.find('[name="invoice-title"]').on('blur', function() { + orderInfo('invoiceText', $(this).val()); +}).end().find('.invoice-type').on('change', function() { + orderInfo('invoiceType', $(this).val()); +}); + +$('#msg').find('textarea').on('blur', function() { + orderInfo('msg', $(this).val()); +}); + +$('.pay-mode').on('click', 'li', function() { + var $this = $(this); + + orderInfo('paymentTypeId', $this.data('pay-id')); + orderInfo('paymentType', $this.data('pay-type')); + payType = $this.data('pay-type'); + submitOrder(); +}); + +$('form').on('submit', function() { + return false; +}); + +}); +define("js/cart/select-coupon", ["jquery","handlebars","source-map","mlellipsis","hammer"], function(require, exports, module){ +/** + * 优惠券选择 + * @author: bikai<kai.bi@yoho.cn> + * @date: 2015/12/10 + */ + +var $ = require("jquery"), + Handlebars = require("handlebars"), + ellipsis = require("mlellipsis"), + loading = require("js/plugin/loading"), + tip = require("js/plugin/tip"), + orderInfo = require("js/cart/order-info").orderInfo; + +var page = 1, + canGetCoupon = true, + isGetData; + +var conponTmpl = Handlebars.compile($('#tmpl-coupon').html()), + conponNotAvaliableTmpl = Handlebars.compile($('#tmpl-coupon-not-avaliable').html()), + $newCoupon = $('#new-coupon'); + +var winH = $(window).height(); + +require("js/common"); + +// conponNotAvaliableTmpl = Handlebars.compile($('#tmpl-coupon-not-avaliable').html()), + +function fixedLayOut() { + var $null = $('.null'), + navH = $('.nav-title').height(), + nullH = $null.height(); + + if ($null.length === 0) { + return false; + } + + $null.css({ + top: winH / 2 - nullH / 2 + navH + }); +} + +ellipsis.init(); + +$newCoupon.on('submit', function() { + var $this = $(this); + + if (!$this.find('[name="couponCode"]').val()) { + tip.show('请输入优惠券码'); + return false; + } + $.ajax({ + method: 'POST', + url: '/cart/index/couponSearch', + data: $this.serialize() + }).then(function(res) { + if (res.code === 200) { + tip.show('优惠券可用'); + orderInfo('couponCode', res.data.coupon_code); + orderInfo('couponName', res.data.coupon_title); + window.location.href = '/cart/index/orderEnsure'; + } else { + tip.show(res.message || '网络错误'); + } + }).fail(function() { + tip.show('网络错误'); + }); + return false; +}); + +$('#coupon-list').on('click', '.employ-main', function() { + var $this = $(this); + var couponCode = $this.data('coupon-code'); + + $.ajax({ + method: 'POST', + url: '/cart/index/couponSearch', + data: { + couponCode: couponCode + } + }).then(function(res) { + if (res.code === 200) { + + //tip.show('优惠券可用'); + orderInfo('couponCode', res.data.coupon_code); + orderInfo('couponName', res.data.coupon_title); + window.location.href = '/cart/index/orderEnsure'; + } else { + tip.show(res.message || '网络错误'); + } + }).fail(function() { + tip.show('网络错误'); + }); +}).on('touchstart', '.employ-main', function() { + var $this = $(this); + + $this.siblings().removeClass('focus'); + $this.addClass('focus'); +}).on('touchend touchcancel', '.employ-main', function() { + var $this = $(this); + + $this.siblings().removeClass('focus'); + $this.removeClass('focus'); +}); + +$('body').on('touchend', '.not-use', function() { + orderInfo('couponCode', null); + orderInfo('couponName', null); +}); + + +$newCoupon.find('input').on('input', function() { + if ($(this).val() !== '') { + $newCoupon.find('.submit').css('background', '#444'); + } else { + $newCoupon.find('.submit').css('background', '#b0b0b0'); + } +}); + +function getCouponHandle(coupons) { + var notAvailableCoupons = []; + + // 后端需要返回一个 coupons 列表,如下 + // notAvailable 表示不可用的优惠券 + // coupons = [{ + // money: '99', + // coupon_name: '满XX-减去吴悠右腿有益于有2222', + // couponValidity: '20150129-20150430', + // coupon_id: '22222' + // }, { + // money: '99', + // coupon_name: '满XX-减去吴悠右腿有益于有2222', + // couponValidity: '20150129-20150430', + // coupon_id: '2222233' + // }, { + // money: '99', + // coupon_name: 'NONO满XX-减去吴悠右腿有益于有2222', + // couponValidity: '20150129-20150430', + // coupon_id: '2222233', + // notAvailable: 1 + // }]; + + // coupons 是个列表,如果不是列表,可能是服务器错误,这次翻页加载不算 + if (!$.isArray(coupons)) { + page--; + return; + } + + // 每页10张,当不足10张时,说明已经加载完 + if (coupons.length < 10) { + canGetCoupon = false; + } + + // 第一页张数为 0 ,显示优惠券为空 + if (!coupons.length && page === 2) { + $('.coupin-wrap').html($('#tmpl-no-coupon').html()); + fixedLayOut(); + return; + } + + // 把不可用的优惠券分离出来 + $.each(coupons, function(i, coupon) { + if (coupon.notAvailable) { + notAvailableCoupons.push(coupon); + } + }); + + $('#coupon-list').append(conponTmpl({ + coupons: coupons + })); + + + if (notAvailableCoupons.length) { + $('.not-avaliable-coupon-line').show(); + } + $('#coupon-list-not').append(conponNotAvaliableTmpl({ + notAvailableCoupons: notAvailableCoupons + })); + window.rePosFooter(); + +} + +function getCouponDate() { + if (!canGetCoupon) { + return; + } + + if (isGetData) { + return; + } + + loading.showLoadingMask(); + page += 1; + isGetData = true; + + $.ajax({ + type: 'POST', + url: '/cart/index/couponList', + dataType: 'json', + data: { + page: page + } + }).then(getCouponHandle).fail(function() { + page -= 1; + tip.show('加载优惠券失败'); + }).always(function() { + isGetData = false; + loading.hideLoadingMask(); + }); +} + + +getCouponDate(); + +// $(window).scroll(function() { +// if ($(window).scrollTop() + $(window).height() > $('body').height() * 0.9) { +// getCouponDate(); +// } +// }); + +}); +define("js/cart/select-address", ["jquery","hammer"], function(require, exports, module){ +/** + * 购物车 地址选择 + * @author: bikai<kai.bi@yoho.cn> + * @date: 2015/12/14 + */ + +var $ = require("jquery"), + orderInfo = require("js/cart/order-info").orderInfo; + +var $confim = $('.confim-mask'), + deleteId; + +require("js/common"); + +$('.address-item').on('touchend', function() { + var $this = $(this); + var addressId = $this.data('address-id'); + var address = { + address_id: $this.data('address-id'), + consignee: $this.find('.name').text(), + mobile: $this.find('.tel').text(), + address_info: $this.find('.address-info').text(), + is_support: $this.data('is-support') + }; + + orderInfo('addressId', addressId); + orderInfo('address', address); +}).on('touchend', '.edit', function() { + window.location.href = $(this).data('href'); + return false; +}).on('touchstart', '.del', function() { + deleteId = $(this).data('id'); +}); + +$confim.on('touchend', '.confim', function() { + if (orderInfo('addressId') === deleteId) { + orderInfo('addressId', null); + orderInfo('address', null); + } +}); + +}); diff --git a/static/dist/myohobuy/1.3.3/index.css b/static/dist/myohobuy/1.3.3/index.css new file mode 100644 index 0000000..790e749 --- /dev/null +++ b/static/dist/myohobuy/1.3.3/index.css @@ -0,0 +1,2 @@ +html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}*{-webkit-tap-highlight-color:transparent;-moz-tap-highlight-color:transparent;tap-highlight-color:transparent}html,body{font-family:helvetica,Arial,"黑体";width:100%;font-size:12px;line-height:1.4}.clearfix:before,.clearfix:after{content:"";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}button,input,select,textarea{font-size:100%;margin:0}img{max-width:100%;display:block;border:0;margin:0 auto}a{text-decoration:none;outline:none;color:#000}a:link,a:visited,a:hover,a:actived{color:#000}*:focus{outline:none}.hide{display:none}.overflow-hidden{overflow:hidden}@font-face{font-family:"iconfont";src:url('../assets/font/iconfont.eot?1451494839');src:url('../assets/font/iconfont.eot?&1451494839#iefix') format("embedded-opentype"),url('../assets/font/iconfont.woff?1451300682') format("woff"),url('../assets/font/iconfont.ttf?1451494839') format("truetype"),url('../assets/font/iconfont.svg?1451494839#iconfont') format("svg")}.iconfont{font-family:"iconfont" !important;font-size:16px;font-style:normal;text-decoration:none;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:0.2px;-moz-osx-font-smoothing:grayscale}.yoho-tip{position:fixed;display:none;text-align:center;width:70%;padding:34px 0;top:50%;left:50%;margin-left:-35%;margin-top:-45px;background-color:rgba(0,0,0,0.7);color:#fff;font-size:18px;border:none;z-index:4;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}.tap-hightlight.highlight{background:#eee !important}.load-more-info{width:100%;height:1.75rem;line-height:1.75rem;text-align:center;font-size:14px;overflow:hidden}.load-more-info .status.hide{display:none}.yoho-header{position:relative;background-color:#000;color:#fff;width:100%;overflow:hidden;height:2.25rem;line-height:2.25rem;z-index:1}.yoho-header.boys{background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMyMzIzMiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzQxNDE0MSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background-size:100%;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #323232),color-stop(100%, #414141));background-image:-moz-linear-gradient(#323232,#414141);background-image:-webkit-linear-gradient(#323232,#414141);background-image:linear-gradient(#323232,#414141)}.yoho-header.girls{background:#ff88ae}.yoho-header.kids{background:#7ad9f9}.yoho-header.life-style{background:#4f4138}.yoho-header a.highlight{background:rgba(200,200,200,0.1)}.yoho-header .nav-back,.yoho-header .nav-home{display:block;position:absolute;top:0;width:2.25rem;height:2.25rem;font-size:20px;line-height:2.25rem;color:#fff;text-align:center;outline:none}.yoho-header .nav-back{left:0.25rem}.yoho-header .nav-home{right:0.25rem}.yoho-header .nav-title{position:absolute;margin-left:2.5rem;margin-right:2.5rem;height:100%;font-size:0.9rem;color:#fff;font-weight:bold;top:0;right:0;left:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.yoho-header .nav-btn{display:block;height:100%;position:absolute;top:0;right:0;font-size:0.65rem;color:#b0b0b0;padding-right:0.8rem}.systemUpdate{width:100%;height:2.25rem;overflow:hidden;line-height:2.25rem;display:none;background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMyMzIzMiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzQxNDE0MSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background-size:100%;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #323232),color-stop(100%, #414141));background-image:-moz-linear-gradient(#323232,#414141);background-image:-webkit-linear-gradient(#323232,#414141);background-image:linear-gradient(#323232,#414141)}.systemUpdate .systemHeader{width:85%;height:100%;overflow:hidden;font-size:1.5em;color:#fff;float:left;text-align:center}.systemUpdate span{width:14%;height:100%;overflow:hidden;float:left;text-align:center;font-size:2em;font-weight:bold;color:#fff}.systemMain{width:92%;height:100%;overflow:hidden;background-color:#444;color:#fff;padding:0 4%;position:absolute;top:0;left:0}.systemMain p{font-size:1.3em;line-height:1.5rem}.systemMain p:first-of-type{padding-top:2.25rem}.homebuttom{display:block;width:100%;height:2.25rem;overflow:hidden;background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMyMzIzMiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzQxNDE0MSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background-size:100%;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #323232),color-stop(100%, #414141));background-image:-moz-linear-gradient(#323232,#414141);background-image:-webkit-linear-gradient(#323232,#414141);background-image:linear-gradient(#323232,#414141);border-top:1px solid #444;color:#fff}.homebuttom ul{width:100%;height:90%;overflow:hidden;padding-top:0.3rem}.homebuttom ul li{width:25%;height:100%;overflow:hidden;float:left;text-align:center}.homebuttom ul li i{width:100%;height:40%;overflow:hidden;display:block}.homebuttom ul li span{width:100%;height:auto;overflow:hidden;display:block;line-height:1rem}.none{display:none}.yoho-footer{font-size:12px;background-color:#fff}.yoho-footer .op-row{position:relative;padding:0 15px;height:60px;line-height:60px}.yoho-footer .op-row span{display:inline-block;overflow:hidden}.yoho-footer .op-row a{display:inline-block;overflow:hidden}.yoho-footer .op-row .user-name{text-decoration:underline;margin-left:.3em;margin-right:1em;max-width:5rem;text-overflow:ellipsis;white-space:nowrap}.yoho-footer .op-row .back-to-top{position:absolute;right:20px}.yoho-footer .op-row .sep-line{margin:0 0.3em}.yoho-footer .copyright{height:60px;line-height:60px;border-top:1px solid #ccc;text-align:center;color:#666;background-color:#eee}.yoho-footer.bottom{position:fixed;width:100%;bottom:0}.footer-tab{position:fixed;left:0;bottom:0;width:100%;height:2.5rem;padding-top:0.5rem;box-sizing:border-box;background:#fff;border-top:1px solid #b0b0b0;z-index:3}.footer-tab .tab-item{float:left;width:20%;text-align:center;color:#b0b0b0}.footer-tab .tab-item.current{color:#414141}.footer-tab .tab-icon{font-size:1rem;line-height:1}.footer-tab .tab-name{margin-top:0.25rem;font-size:0.5rem;line-height:1}.boys-wrap .footer-tab .tab-item.current{color:#414141}.girls-wrap .footer-tab .tab-item.current{color:#FF88AE}.kids-wrap .footer-tab .tab-item.current{color:#7ad9f9}.lifestyle-wrap .footer-tab .tab-item.current{color:#4f4138}.good-info{float:left;width:6.9rem;height:12.15rem;margin:0 0.375rem 0.375rem}.good-info .tag-container{height:0.7rem;width:100%;overflow:hidden}.good-info .tag-container .good-tag{display:block;float:left;height:0.7rem;font-size:0.45rem;text-align:center;line-height:0.7rem;box-sizing:border-box;margin-right:0.1rem}.good-info .tag-container .good-tag:last-child{margin-right:0}.good-info .tag-container .new-tag{width:1.5rem;background-color:#78dc7e;color:#fff}.good-info .tag-container .renew-tag{width:2.25rem;background-color:#78dc7e;color:#fff}.good-info .tag-container .sale-tag{width:1.5rem;background-color:#ff575c;color:#fff}.good-info .tag-container .new-festival-tag{width:2.25rem;background-color:#000;color:#fff}.good-info .tag-container .limit-tag{width:2.5rem;border:1px solid #000;color:#000}.good-detail-img{position:relative;height:9.2rem}.good-detail-img .good-islike{position:absolute;width:1.5rem;height:1.5rem;top:0rem;right:0rem;line-height:1.5rem;font-size:0.75rem;text-align:center;color:#b0b0b0;text-decoration:none}.good-detail-img .good-like{color:#d72928}.good-detail-img img{display:block;width:100%;height:9.2rem}.good-detail-img .few-tag{position:absolute;bottom:0;width:100%;height:0.7rem;background:#ffac5b;font-size:0.45rem;color:#fff;line-height:0.7rem;text-align:center}.good-detail-text .name a{display:block;line-height:1.4rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-decoration:none;font-size:0.55rem;color:#444}.good-detail-text .price{line-height:0.55rem;font-size:0.55rem}.good-detail-text .price .sale-price{color:#d62927}.good-detail-text .price .sale-price.no-price{color:#000}.good-detail-text .price .market-price{margin:0 0 0 0.125rem;color:#b0b0b0;text-decoration:line-through}.order-failure{background-image:url('../assets/img/lazy-failure/order-good.jpg?1451300683');background-size:100%}.good-failure{background-image:url('../assets/img/lazy-failure/order-good.jpg?1451300683');background-size:3.3rem !important;background-position-x:40%}.filter-mask,.filter-body{position:absolute;left:0;right:0;top:0}.filter-mask{height:100%;background:rgba(0,0,0,0.1)}.filter-body{background:#fff;color:#000;cursor:pointer;font-size:14px;height:440px}.filter-body .classify{width:50%;height:100%;background:#f8f8f8}.filter-body .classify>li{height:60px;line-height:60px}.filter-body .classify>li>*{box-sizing:border-box}.filter-body .classify>li.active{background:#fff}.filter-body .classify>li .shower{padding-left:20px;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#333}.filter-body .classify>li .shower.highlight{background:#eee}.filter-body .classify>li .default{color:#999}.filter-body .classify>li .title{float:left;color:#000}.filter-body .sub-classify{position:absolute;display:none;width:50%;height:440px;left:50%;top:0;overflow:auto;-webkit-overflow-scrolling:touch}.filter-body .sub-classify>li{height:60px;line-height:60px;padding-left:15px;border-bottom:1px solid #e6e6e6;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.filter-body .sub-classify>li.highlight{background:#eee}.filter-body .sub-classify .chosed-icon{display:none}.filter-body .sub-classify .chosed .chosed-icon{display:inline}.filter-body .active>.sub-classify{display:block}.loading-mask{position:fixed;background:rgba(0,0,0,0.1);top:0;bottom:0;right:0;left:0}@-webkit-keyframes scale{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}45%{-webkit-transform:scale(0.1);transform:scale(0.1);opacity:0.7}80%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes scale{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}45%{-webkit-transform:scale(0.1);transform:scale(0.1);opacity:0.7}80%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.loading-mask .loading{position:absolute;width:60px;height:20px;top:50%;left:50%;margin-top:-10px;margin-left:-30px}.loading-mask .loading>div{display:inline-block;background:#fff;width:15px;height:15px;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;margin:2px}.loading-mask .loading>div:nth-child(1){-webkit-animation:scale 0.75s 0.12s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);animation:scale 0.75s 0.12s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08)}.loading-mask .loading>div:nth-child(2){-webkit-animation:scale 0.75s 0.24s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);animation:scale 0.75s 0.24s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08)}.loading-mask .loading>div:nth-child(3){-webkit-animation:scale 0.75s 0.36s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);animation:scale 0.75s 0.36s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08)}body.passport-body{background-color:#444;font-family:"MicroSoft YaHei",SimSun,sans-serif}body.passport-body *{box-sizing:border-box}.passport-page{text-align:center;padding:0 6%}.passport-page .header{position:relative;height:40px;margin:20px 0 30px}.passport-page .header .go-back{display:block;position:absolute;height:30px;width:30px;top:5px;left:0;background:url('../assets/img/passport/go-back.png?1451300683') no-repeat;background-size:100% 100%}.passport-page .header .title{font-size:20px;line-height:40px;color:#fff}.passport-page .header .img-header{width:68px;height:40px;background:url('../assets/img/passport/yoho-family.png?1451300683') no-repeat;background-size:100% 100%;margin:0 auto}.passport-page .input-container,.passport-page .select-container{position:relative;width:100%;height:52px;font-size:20px;background-color:#575757;border:1px solid #606060;border-radius:5px;text-align:left;color:#fff}.passport-page .select-container .select{position:absolute;height:50px;padding-right:40px;right:0;color:#fff;background-color:transparent;border:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-appearance:none;-webkit-appearance:none;direction:rtl}.passport-page .select-container .select:focus{outline:0;border:none}.passport-page .select-container .select:-moz-focusring{color:transparent;text-shadow:0 0 0 #fff}.passport-page .select-container .select-title{line-height:2.5;margin-left:15px}.passport-page .select-container .arrow-right{position:absolute;width:13px;height:20px;right:15px;top:16px;background:url('../assets/img/passport/arrow-right.png?1451300683') no-repeat;background-size:100% 100%}.passport-page .has-eye,.passport-page .has-clear{padding-right:30px}.passport-page .area-code{position:absolute;left:15px;line-height:2.5}.passport-page .phone-container{padding-left:55px}.passport-page .input{width:100%;line-height:26px;padding:12px 0;padding-left:15px;border-radius:5px;color:#fff;background-color:transparent;border:none}.passport-page .btn{display:block;width:100%;font-size:20px;line-height:2.5;background-color:#36a74c;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;color:#fff}.passport-page .btn.disable{background-color:#a2a2a2}.passport-page .country-select.in-android-uc{width:90px}.passport-page .clear-input{position:absolute;display:none;top:18px;right:10px;width:16px;height:16px;background:url('../assets/img/passport/clear-input.png?1451300683') no-repeat;background-size:100% 100%}.passport-page .eye{position:absolute;top:20px;right:10px;width:19px;height:12px;background:url('../assets/img/passport/eye.png?1451300683') no-repeat;background-size:100% 100%}.passport-page .eye.close{background-image:url('../assets/img/passport/eye-close.png?1451300683')}.passport-page .row{margin-bottom:10px}.reg-page .register-tip{color:#fff;font-size:15px}.login-page .yoho-logo{position:absolute;height:31px;width:26px;background:url('../assets/img/passport/yoho.png?1451300683');background-size:100% 100%;top:10px;left:15px}.login-page .acc-container{padding-left:45px}.login-page .op-container{position:relative;width:100%;margin:20px 0;text-align:left;font-size:16px}.login-page .op-container .go-register{text-decoration:underline;color:#858585}.login-page .op-container .forget-pwd{position:absolute;right:0;text-decoration:underline;color:#858585}.login-page .third-party-login{text-align:left}.login-page .third-party-login>span{font-size:16px;color:#858585}.login-page .third-party-login .tp-link{text-align:center;padding:20px 0}.login-page .third-party-login .tp-link>a{display:inline-block;width:44px;height:44px;margin:0 7px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;background-color:#333;background-repeat:no-repeat;background-size:100% 100%}.login-page .third-party-login .tp-link .alipay{background-image:url('../assets/img/passport/alipay.png?1451300683')}.login-page .third-party-login .tp-link .weibo{background-image:url('../assets/img/passport/weibo.png?1451300683')}.login-page .third-party-login .tp-link .weixin{background-image:url('../assets/img/passport/weixin.png?1451300683')}.login-page .third-party-login .tp-link .qq{background-image:url('../assets/img/passport/qq.png?1451300683')}.login-page .international{display:block;width:200px;padding:5px 10px;background-color:#333;border:none;border-radius:20px;margin:0 auto;font-size:16px;color:#d8d8d8}.login-page .login-tip{font-size:16px;position:relative;color:#d8d8d8;margin:15px 0}.login-page .login-tip .info-icon{display:inline-block;height:12px;width:12px;background-image:url('../assets/img/passport/info.png?1451300683');background-size:100% 100%}.login-page .mask{position:fixed;display:none;top:0;bottom:0;right:0;left:0;background-color:rgba(0,0,0,0.5)}.login-page .retrive-pwd-ways{position:fixed;display:none;bottom:5px;left:10px;right:10px;font-size:16px}.login-page .retrive-pwd-ways li{background-color:#fff;width:100%;height:40px;line-height:40px;text-align:center}.login-page .retrive-pwd-ways li:nth-child(1){-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;border-top-right-radius:5px;border-bottom:1px solid #9f9f9f}.login-page .retrive-pwd-ways li:nth-child(2){-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;border-bottom-left-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;border-bottom-right-radius:5px}.login-page .retrive-pwd-ways li:last-child{margin-top:10px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.back-email-success-page .tip{font-size:20px;color:#fff;margin-top:30px}.back-email-success-page .sub-tip,.back-email-success-page .resend{color:#939393;font-size:16px}.back-email-success-page .go-email{margin:20px 0 10px}.back-email-success-page .resend{float:right}.reg-code-page .captcha-tip,.back-code-page .captcha-tip{position:absolute;width:148px;text-align:center;right:15px;top:8px;color:#36a74c;padding:5px 0;border:1px solid #36a74c;border-radius:20px;font-size:16px}.reg-code-page .captcha-tip.disable,.back-code-page .captcha-tip.disable{color:#8f8f8f;border-color:#8f8f8f}.reg-code-page .input-container,.back-code-page .input-container{padding-right:190px}.reg-code-page .text-container,.back-code-page .text-container{color:#fff;font-size:16px;margin-bottom:20px}.reg-code-page .phone,.back-code-page .phone{color:#4ecae8}.reg-code-page .clear-input,.back-code-page .clear-input{right:170px}.bind-page .bind-tip{color:#fff;font-size:15px}#yohood{background-image:url('../assets/img/yohood.png?1451493890');background-size:40%;background-repeat:no-repeat;background-color:transparent;background-position-x:10%;background-position-y:40%;border:none;border-bottom:4px solid #fff}.time-view-like-share{color:#b0b0b0;line-height:0.95rem;height:0.95rem;font-size:0.6rem}.time-view-like-share .iconfont{vertical-align:9%;margin-right:0.1rem;font-size:0.6rem}.time-view-like-share .like-share-container{display:inline-block;float:right}.time-view-like-share .like-share-container>*{float:left}.time-view-like-share .like-share-container .iconfont{position:relative;height:1.5rem;line-height:1.5rem;display:inline-block;color:#b0b0b0;width:1.5rem;top:-0.35rem;font-size:0.85rem;text-align:center;margin-right:0;outline:none}.time-view-like-share .like-share-container .share-btn{margin-left:0.5rem}.time-view-like-share .like-share-container .like-btn.like{color:#444}.time-view-like-share .like-share-container .collect-btn{margin-left:0.5rem}.time-view-like-share .like-share-container .collect-btn.collected{color:#D62927}.guang-info{margin-bottom:0.75rem;padding:0 0 0.6rem 0;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.guang-info .info-author{display:block;width:100%}.guang-info .info-author .avatar{float:left;margin-top:0.5rem;width:1.25rem;height:1.25rem;margin-left:0.75rem;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.guang-info .info-author .name{float:left;margin-left:0.75rem;padding:0.75rem 0;font-size:0.7rem;color:#000}.guang-info:last-child{margin-bottom:0}.guang-info .info-img{position:relative;width:100%}.guang-info .info-img img{display:block;width:100%}.guang-info .info-match{position:absolute;top:0;left:0;width:3.25rem;height:1.25rem;line-height:1.25rem;font-size:0.7rem;color:#fff;background:#000;text-align:center;text-decoration:none;z-index:1}.guang-info .info-tag{position:absolute;top:0;left:2.625rem;height:1.25rem;width:1.25rem}.guang-info .info-tag.collocation{background:url('../assets/img/guang/info/collocation.png?1451300683');background-size:100% 100%}.guang-info .info-tag.fashion-good{background:url('../assets/img/guang/info/fashion-good.png?1451300683');background-size:100% 100%}.guang-info .info-tag.fashion-man{background:url('../assets/img/guang/info/fashion-man.png?1451300683');background-size:100% 100%}.guang-info .info-tag.tip{background:url('../assets/img/guang/info/tip.png?1451300683');background-size:100% 100%}.guang-info .info-tag.topic{background:url('../assets/img/guang/info/topic.png?1451300683');background-size:100% 100%}.guang-info .info-deps{margin:0.8rem 0 0 0;padding:0 1rem 0 0.75rem}.guang-info .info-deps .info-title-container{text-decoration:none;color:#000}.guang-info .info-deps .info-title{line-height:1.1rem;color:#000;font-size:1rem;font-weight:bold}.guang-info .info-deps .info-text{margin:0.4rem 0 0 0;line-height:1.15rem;font-size:0.7rem;color:#444}.guang-info .info-deps .time-view-like-share{margin-top:0.4rem}.ps-list-page{background-color:#f0f0f0}.ps-list-page .nav-tab,.ps-list-page .ps-content{width:100%}.ps-list-page .nav-tab{height:1.5rem;padding:0.25rem 0;background-color:#fff}.ps-list-page .star-nav,.ps-list-page .plus-nav{box-sizing:border-box;float:left;width:50%;height:1.5rem;line-height:1.5rem;font-size:16px;text-align:center;color:#ccc}.ps-list-page .star-nav.focus,.ps-list-page .plus-nav.focus{color:#000}.ps-list-page .bytouch{background:#eee}.ps-list-page .star-nav{border-right:1px solid #ccc}.ps-list-page .plus-star-row{margin-bottom:0.75rem}.ps-list-page .plus-star-row:last-child{margin-bottom:0}.ps-list-page .plus-star-row>a{display:block;height:7.75rem}.ps-list-page .content.hide{display:none}.ps-list-page .swiper-container{height:7.75rem}.ps-list-page .swiper-pagination-bullet-active{background:#fff}.ps-list-page .brand-deps{height:1rem;line-height:1rem;padding-left:0.25rem;font-size:14px;background:#fff;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ps-detail-page{background-color:#f0f0f0}.ps-detail-page .ps-block{margin-bottom:0.75rem;border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0;background-color:#fff}.ps-detail-page .ps-block.header,.ps-detail-page .ps-block.related-infos{border-top:none}.ps-detail-page .ps-block.related-infos{margin-bottom:0;background-color:#f0f0f0}.ps-detail-page .header{position:relative}.ps-detail-page .header .banner{width:100%;height:7.75rem}.ps-detail-page .header .logo{position:absolute;border:1px solid #b5b5b5;height:4.2rem;width:4.2rem;top:5.65rem;left:1.25rem}.ps-detail-page .header .header-content{padding:0 0.75rem}.ps-detail-page .header .name-islike-container{padding-left:6.2rem;margin-top:0.6rem;font-size:0.85rem}.ps-detail-page .header .name{color:#000;height:1.025rem;width:7.375rem}.ps-detail-page .header .brand-islike{position:relative;float:right;color:#b0b0b0;height:1.5rem;width:1.5rem;line-height:1.5rem;text-align:center;top:-0.25rem;left:-0.25rem}.ps-detail-page .header .brand-islike.like{color:#f00}.ps-detail-page .intro{margin-top:1.225rem;font-size:0.6rem;color:#444;line-height:150%}.ps-detail-page .more-intro{padding:0.75rem 0;font-size:0.7rem;line-height:104%;color:#bbb;float:right}.ps-detail-page .more-intro .icon{display:inline-block;height:100%;width:1rem;-moz-transition:-moz-transform 0.1s ease-in;-o-transition:-o-transform 0.1s ease-in;-webkit-transition:-webkit-transform 0.1s ease-in;transition:transform 0.1s ease-in}.ps-detail-page .more-intro.spread .icon{-moz-transform:rotate(-180deg);-ms-transform:rotate(-180deg);-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.ps-detail-page .new-arrival{padding-left:0 0.75rem}.ps-detail-page .new-arrival .new-arrival-content{padding:0.5rem 0.35rem}.ps-detail-page .new-arrival .more-goods-container{height:2.25rem;padding:0 0.75rem;border-top:1px solid #e0e0e0;color:#000}.ps-detail-page .new-arrival .mg-text{height:100%;line-height:2.25rem;color:#000;text-decoration:none;display:block;font-size:16px}.ps-detail-page .new-arrival .more-prods{float:right;color:#b0b0b0}.ps-detail-page .new-arrival .new-arrival-header .more-prods{margin-right:0.75rem;margin-top:0.25rem}.ps-detail-page .new-arrival-header{padding-left:5.55rem;padding-top:0.825rem}.ps-detail-page .new-arrival-header .header-text{font-size:0.7rem;color:#000;line-height:122%;font-weight:bold}.ps-detail-page .related-info-title{margin:0 0.725rem;border:1px solid #e0e0e0;border-bottom:none;line-height:1.8rem;font-size:0.75rem;color:#b0b0b0;text-align:center;background-color:#fff}.ps-detail-page .related-infos-container .guang-info:first-child{margin-top:0}.guang-list-page .editor-header{margin-bottom:0.75rem;padding-top:0.9rem;padding-bottom:1rem;background:#fff;border-bottom:1px solid #e0e0e0}.guang-list-page .avatar{float:left;margin-left:0.75rem}.guang-list-page .avatar img{width:2.5rem;height:2.5rem;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.guang-list-page .text{float:left;margin-left:0.8rem;width:11.875rem}.guang-list-page .text .name{font-size:0.8rem;line-height:1rem}.guang-list-page .text .info{margin-top:0.15rem;color:#bdbdbf;font-size:0.6rem;line-height:0.8rem}.guang-list-page .swiper-container{width:100%;height:7.75rem}.guang-list-page .swiper-container img{height:100%;width:100%}.guang-list-page .swiper-container .swiper-pagination{bottom:0;left:0;width:100%}.guang-list-page .swiper-container .swiper-pagination-bullet-active{background:#fff}.guang-list-page .guang-nav{background-color:#fff;overflow:hidden;height:2rem}.guang-list-page .guang-nav-item{float:left;color:#ccc;font-size:0.7rem;padding:0 0.55rem;line-height:2rem}.guang-list-page .guang-nav-item.focus{color:#000}.guang-list-page .bytouch{background:#eee}.guang-list-page .info-list-container{overflow-x:hidden;background:#f0f0f0}.guang-list-page .info-list.hide{display:none}.clothes-sprite{background-image:url('../assets/img/guang/clothes-s7f658d7d2c.png');background-repeat:no-repeat}.guang-detail-page #wrapper{background:#f0f0f0}.guang-detail-page #wrapper.ios{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.guang-detail-page #wrapper.ios.has-head{top:2.25rem}.guang-detail-page #wrapper.ios.has-head+.fixed-top{top:2.25rem}.guang-detail-page .author{border-bottom:1px solid #e0e0e0;background:#fff}.guang-detail-page .author>a{display:block;height:100%}.guang-detail-page .author .avatar{float:left;margin-top:0.5rem;margin-left:0.75rem;width:1.25rem;height:1.25rem;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.guang-detail-page .author .name{float:left;font-size:0.7rem;color:#000;padding:0.75rem 0;margin-left:0.75rem}.guang-detail-page .author .intro{float:left;font-size:0.7rem;color:#b0b0b0;padding:0.75rem 0;margin-left:0.75rem}.guang-detail-page .post-title{padding:0.4rem 0 0.65rem 0.75rem;background:#fff}.guang-detail-page .post-title .title{line-height:1.5rem;font-size:1rem;color:#000;font-weight:bold}.guang-detail-page .text-block{padding:0.5rem 0.75rem;line-height:1.15rem;font-size:0.7rem;background:#fff;color:#444}.guang-detail-page .big-img-block{padding-bottom:0.125rem;background:#fff}.guang-detail-page .big-img-block img{width:100%;height:16rem}.guang-detail-page .small-img-block{padding-bottom:0.2rem;background:#fff}.guang-detail-page .small-img-block img{float:right;width:7.875rem;height:10.5rem}.guang-detail-page .small-img-block img:first-child{float:left}.guang-detail-page .collocation-block{background:#fff}.guang-detail-page .collocation-block .good-list{padding-left:0.375rem}.guang-detail-page .thumb-container{padding-top:0.75rem;padding-left:0.5rem;background:transparent url('../assets/img/guang/thumb-container-bg.png?1451300683') no-repeat;background-size:200% 100%}.guang-detail-page .thumb-container.fixed-top{position:fixed;left:0;right:0;top:0}.guang-detail-page .thumb-container.fixed-bottom{position:fixed;left:0;right:0;bottom:0;background:rgba(255,255,255,0.9)}.guang-detail-page .thumb-container.absolute{position:absolute;left:0;right:0}.guang-detail-page .thumb-container.static{position:static}.guang-detail-page .thumb-container.hide{display:none}.guang-detail-page .clothe-type{position:absolute;right:0.15rem;bottom:0.85rem;width:20px;height:20px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.guang-detail-page .clothe-type.bag{background:url('../assets/img/guang/clothes-se45f5825d0.png') 0 0 no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.cloth{background:url('../assets/img/guang/clothes-se45f5825d0.png') 0 -20px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.dress{background:url('../assets/img/guang/clothes-se45f5825d0.png') 0 -40px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.headset{background:url('../assets/img/guang/clothes-se45f5825d0.png') 0 -60px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.lamp{background:url('../assets/img/guang/clothes-se45f5825d0.png') 0 -80px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.pants{background:url('../assets/img/guang/clothes-se45f5825d0.png') 0 -100px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.shoe{background:url('../assets/img/guang/clothes-se45f5825d0.png') 0 -120px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.swim-suit{background:url('../assets/img/guang/clothes-se45f5825d0.png') 0 -140px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.under{background:url('../assets/img/guang/clothes-se45f5825d0.png') 0 -160px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.watch{background:url('../assets/img/guang/clothes-se45f5825d0.png') 0 -180px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .thumb{display:inline-block;position:relative;margin-right:0.55rem;padding-bottom:0.75rem}.guang-detail-page .thumb:last-child{margin-right:0}.guang-detail-page .thumb.focus .thumb-img{border-color:#000}.guang-detail-page .thumb-img{height:3.35rem;width:2.4rem;border:1px solid transparent}.guang-detail-page .related-reco-block{background:#fff;padding-left:0.375rem;border-top:1px solid #e0e0e0}.guang-detail-page .related-reco-block h2{margin-left:-0.375rem;line-height:2.6rem;font-size:0.75rem;color:#b0b0b0;text-align:center}.guang-detail-page .related-reco-block .one-good{padding-left:0.375rem;padding-right:0.75rem;margin-bottom:0.5rem}.guang-detail-page .related-reco-block .one-good .thumb{float:left;height:3.35rem;width:2.4rem}.guang-detail-page .related-reco-block .one-good .content-container{padding-left:3rem;height:3.35rem;line-height:1;font-size:0.6rem}.guang-detail-page .related-reco-block .one-good .content-container>p{height:50%;line-height:2.35rem}.guang-detail-page .related-reco-block .one-good .content-container span{display:inline-block;line-height:0.6rem}.guang-detail-page .related-reco-block .one-good .content-container .price{line-height:1.175rem}.guang-detail-page .related-reco-block .one-good .sale-price{color:#d62927;line-height:1.5}.guang-detail-page .related-reco-block .one-good .sale-price.no-price{color:#000}.guang-detail-page .related-reco-block .one-good .market-price{margin-left:0.125rem;color:#b0b0b0;text-decoration:line-through;line-height:1.5}.guang-detail-page .related-reco-block .one-good .check-detail{display:inline-block;color:#000;border:1px solid;border-radius:2px;float:right;padding:0 5px;line-height:1.5}.guang-detail-page .related-brand{margin-top:0.75rem}.guang-detail-page .related-brand h2{margin:0 0.725rem;background:#fff;border:1px solid #e0e0e0;border-bottom:none;line-height:1.8rem;font-size:0.75rem;color:#b0b0b0;text-align:center}.guang-detail-page .related-brand .brand-list{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;padding:0.75rem 0 0.75rem;background:#fff}.guang-detail-page .related-brand .brand{float:left;width:3.95rem;height:3.2rem;border-right:1px solid #e0e0e0;margin-bottom:0.25rem}.guang-detail-page .related-brand .brand a{display:block}.guang-detail-page .related-brand .brand:nth-child(4n){border-right:none}.guang-detail-page .related-brand .brand-logo{display:table-cell;width:3.95rem;height:2.35rem;vertical-align:middle}.guang-detail-page .related-brand .brand-logo img{display:block;max-width:3.95rem;max-height:2.35rem;vertical-align:middle;margin:0 auto}.guang-detail-page .related-brand .brand-name{margin:0.25rem 0 0 0;line-height:0.6rem;font-size:0.45rem;color:#babac2;text-align:center;text-decoration:none;border-bottom:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guang-detail-page .related-tag{position:relative;padding-bottom:0.75rem;border-bottom:1px solid #e0e0e0;background:#fff}.guang-detail-page .related-tag .tag-bg{position:absolute;height:1rem;width:1rem;background:url('../assets/img/guang/tag.png?1451300683') no-repeat;background-size:100% 100%;top:0.875rem;left:0.5rem}.guang-detail-page .related-tag .tag-list{margin-left:1.25rem}.guang-detail-page .related-tag li{float:left;margin-top:0.775rem;margin-left:0.775rem}.guang-detail-page .related-tag a{height:1.25rem;line-height:1.25rem;font-size:0.75rem;color:#000;text-decoration:underline;white-space:nowrap}.guang-detail-page .related-info{margin-top:0.75rem}.guang-detail-page .related-info h2{margin:0 0.725rem;background:#fff;border:1px solid #e0e0e0;border-bottom:none;line-height:1.8rem;font-size:0.75rem;color:#b0b0b0;text-align:center}.guang-detail-page .related-info .info-list{background:#fff;padding-bottom:0.75rem;border-top:1px solid #e0e0e0}.guang-detail-page .related-info li{padding-top:0.75rem;margin-bottom:0.25rem}.guang-detail-page .related-info li a{display:block}.guang-detail-page .related-info li img{float:left;margin-left:0.75rem;width:4.55rem;height:2.85rem}.guang-detail-page .related-info li img.square{height:4.55rem}.guang-detail-page .related-info .title,.guang-detail-page .related-info .publish-time{float:left;width:9rem;margin-left:0.75rem;line-height:1rem;color:#444;font-size:0.7rem}.guang-detail-page .related-info .publish-time{font-size:0.45rem;margin-top:0;color:#b0b0b0}.guang-detail-page .related-info .publish-time .iconfont{font-size:0.45rem}.header-download{position:relative;height:5.3rem;padding:1.2rem 0 0;overflow:hidden}.header-download .download-bg{position:absolute;left:0;top:0;width:100%;z-index:-1}.header-download .yoho-logo{height:1.425rem;background:url('../assets/img/app-logo.png?1451494839') no-repeat center center;background-size:auto 100%}.header-download p{line-height:1.2rem;font-size:0.7rem;color:#fff;text-align:center}.header-download .download-btn{display:block;margin:0.45rem auto 0;width:7.35rem;height:1.6rem;line-height:1.6rem;border:0.075rem solid #fff;font-size:0.9rem;text-align:center;color:#fff}.header-download .close-btn{position:absolute;top:0.425rem;right:0.325rem;width:1.25rem;height:1.25rem;background:url('../assets/img/close-icon.png?1451300682');background-size:100% 100%}.banner-top{position:relative}.banner-top .swiper-pagination{position:absolute;left:0;right:0;bottom:0.5rem;text-align:center;z-index:1}.banner-top .swiper-pagination .pagination-inner{display:inline-block}.banner-top .swiper-pagination .pagination-inner span{display:inline-block;width:0.35rem;height:0.35rem;background:#fff;opacity:0.5;margin:0 0.225rem;border-radius:50%}.banner-top .swiper-pagination .pagination-inner span.swiper-pagination-bullet-active{background:#fff;opacity:1}.banner-swiper{position:relative;height:7.725rem;overflow:hidden}.banner-swiper ul{position:relative;height:7.725rem}.banner-swiper ul li{float:left;width:100%;height:100%}.banner-swiper ul li img{width:100%;height:100%}.banner-center{margin:0.75rem 0 0;height:5rem;overflow:hidden}.banner-center img{display:block;width:100%;height:100%}.banner-bottom{margin:0.75rem 0 0;height:4rem;overflow:hidden}.banner-bottom img{display:block;width:100%}.side-nav{display:none;background:#fff;position:fixed;top:0;bottom:0;left:0;right:2.5rem;width:13.5rem;overflow:hidden;-moz-transition:all 0.3s;-o-transition:all 0.3s;-webkit-transition:all 0.3s;transition:all 0.3s}.side-nav ul{background:#f0f0f0}.side-nav li{position:relative;height:3.2rem;line-height:3.2rem;border-bottom:1px solid #e0e0e0;background:#fff}.side-nav li a{display:block;height:100%;padding-left:2.75rem;color:#444;font-size:0.6rem}.side-nav li .nav-icon,.side-nav li .nav-img{position:absolute;width:1.5rem;height:1.5rem;top:50%;margin-top:-0.75rem;left:0.6rem;background:no-repeat left center;background-size:100% 100%}.side-nav li .enter-subnav{position:absolute;right:0.75rem;top:0;bottom:0;font-size:0.9rem;color:#b0b0b0;font-weight:lighter}.side-nav li em{margin-right:0.25rem;font-weight:bold;font-size:0.85rem}.side-nav li.boys i{background:url('../assets/img/side-nav/boys.png?1451300683') no-repeat left center;background-size:100% 100%}.side-nav li.girls i{background:url('../assets/img/side-nav/girls.png?1451300683') no-repeat left center;background-size:100% 100%}.side-nav li.kids i{background:url('../assets/img/side-nav/kids.png?1451300683') no-repeat left center;background-size:100% 100%}.side-nav li.life i{background:url('../assets/img/side-nav/life.png?1451300683') no-repeat left center;background-size:100% 100%}.side-nav li.new{margin:0.475rem 0 0;border-top:1px solid #e0e0e0}.side-nav li.new i{background:url('../assets/img/side-nav/new.png?1451300683') no-repeat left center;background-size:100% 100%}.side-nav li.guang .nav-icon,.side-nav li.trendfinder .nav-icon{background:url('../assets/img/side-nav/guang.png?1451300683') no-repeat left center;background-size:100% 100%}.side-nav.on{display:block}.sub-nav{display:none;position:fixed;bottom:0;top:0;left:0;width:13.5rem;background:#fff !important;overflow:hidden;-moz-transform:translateX(13.5rem);-ms-transform:translateX(13.5rem);-webkit-transform:translateX(13.5rem);transform:translateX(13.5rem);-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.sub-nav li{height:2.725rem;line-height:2.725rem;border:none}.sub-nav li a{position:relative;display:block;margin:0 0 0 0.75rem;padding-left:1.25rem;border-bottom:1px solid #e0e0e0;font-size:0.9rem;z-index:2}.sub-nav li .nav-point{position:absolute;left:0rem;font-size:0.4rem;color:#f0f0f0}.sub-nav li em{font-weight:normal;font-size:0.9rem}.sub-nav li:hover .nav-point,.sub-nav li.current .nav-point{color:#3e3e3e}.sub-nav li:first-child{height:2.2rem;line-height:2.2rem;background:#3e3e3e}.sub-nav li:first-child a{color:#fff;border-bottom:none;padding-left:2.75rem}.sub-nav li:first-child .nav-back{position:absolute;left:0}.sub-nav.show{display:block;-moz-transform:translateX(0);-ms-transform:translateX(0);-webkit-transform:translateX(0);transform:translateX(0);-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.floor-header{margin:0.725rem 0.75rem 0;background:#fff;border:1px solid #e0e0e0;border-bottom:none;height:1.75rem;line-height:1.75rem;text-align:center;font-size:0.75rem;color:#b1b1b1}.floor-header-more{position:relative;height:2.475rem;line-height:2.475rem;margin:0.725rem 0 0;background:#fff;border-top:1px solid #e0e0e0;text-align:center;font-size:0.8rem;color:#444}.floor-header-more .more-btn{position:absolute;right:0.75rem;top:0;bottom:0;color:#b0b0b0;font-size:1.25rem}.hot-brands{border-bottom:1px solid #e0e0e0;background:#fff}.hot-brands .floor-header{background:#f0f0f0;margin:0;padding:0.725rem 0.75rem 0;border:0}.hot-brands .floor-header h2{border:1px solid #e0e0e0;background:#fff;border-bottom:0}.hot-brands a{display:block;text-decoration:none;height:100%}.hot-brands .brand{float:left;width:3.95rem;height:4.35rem;border-right:1px solid #e0e0e0;border-top:1px solid #e0e0e0;overflow:hidden}.hot-brands .brand .brand-logo{display:table-cell;width:3.95rem;height:3.2rem;line-height:3.2rem;text-align:center;font-size:0;vertical-align:middle}.hot-brands .brand .brand-logo img{max-width:100%;max-height:100%}.hot-brands .brand .brand-name{line-height:1.1rem;font-size:0.45rem;color:#babac2;text-align:center;text-decoration:none;border-bottom:none;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap}.hot-brands .brand:nth-child(5n){border-right:none}.hot-brands .more{float:left;width:7.925rem;height:4.35rem;border-top:1px solid #e0e0e0}.hot-brands .more a{display:block;width:100%;height:100%;background:url('../assets/img/more-brand.png?1451300683') no-repeat;background-size:100% 100%}.brands-swiper{background:#fff;width:100%;height:4rem;padding-top:0.5rem;border-top:1px solid #e0e0e0;overflow:hidden}.brands-swiper .brands-list{position:relative;height:4rem}.brands-swiper .brands-list li{float:left;padding-left:5%;width:21.875%;height:3.5rem}.brands-swiper .brands-list li a{position:relative;display:block;width:100%;height:100%;line-height:3.5rem;font-size:0}.brands-swiper .brands-list li img{display:inline-block;max-width:100%;max-height:100%;vertical-align:middle}.brands-swiper .brands-list li .brands-title{position:absolute;left:0.2rem;right:0.2rem;bottom:0.2rem;height:0.7rem;line-height:0.7rem;text-align:center;font-size:0.45rem;color:#444;background:rgba(255,255,255,0.5);overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap}.fine-brands{background:#fff;border-top:1px solid #e0e0e0}.fine-brands a{display:block;text-decoration:none}.fine-brands .brand{float:left;width:3.95rem;height:4.35rem;border-right:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;overflow:hidden}.fine-brands .brand .brand-logo{display:table-cell;width:3.95rem;height:3.25rem;vertical-align:middle}.fine-brands .brand .brand-logo img{display:block;max-width:3.95rem;max-height:3.25rem;vertical-align:middle;margin:0 auto}.fine-brands .brand .brand-name{line-height:1.1rem;font-size:0.45rem;color:#babac2;text-align:center;text-decoration:none;border-bottom:none;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap}.fine-brands .brand:nth-child(4n){border-right:none}.fine-brands .more .brand-logo{display:block;text-align:center;line-height:3.75rem}.fine-brands .more .brand-logo .iconfont{font-size:1.2rem;color:#333}.creative-life{background:#fff}.creative-life .banner{display:block;height:10rem;overflow:hidden}.creative-life .banner img{width:100%;height:100%}.creative-life .classify-list{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.creative-life .classify-list>li{float:left;width:5.3rem;height:4.8rem;border-top:1px solid #e0e0e0;border-right:1px solid #e0e0e0}.creative-life .classify-logo{width:5.3rem;height:4.8rem}.creative-life .classify-logo img{display:block;width:100%;height:100%}.creative-life .classify-name{line-height:1.3rem;font-size:0.65rem;color:#000;text-align:center;text-decoration:none;border-bottom:none;overflow:hidden}.creative-life .classify:nth-child(3n){border-right:0}.plus-star img{display:block;width:100%;height:4.95rem;border-top:1px solid #e0e0e0}.maybe-like{position:relative;background:#fff;padding-left:0.375rem;border-top:1px solid #ccc;margin-top:0.75rem}.maybe-like .title{height:2.6rem;font-size:0.95rem;line-height:2.6rem;text-align:center;color:#dadada}.maybe-like .icon{display:inline-block;height:0.775rem;width:0.775rem;background:url('../assets/img/up-icon.png?1451300683') no-repeat;background-size:100% 100%}.maybe-like .maybe-like-nav{width:100%;height:1.5rem;padding:0.25rem 0;background-color:#fff}.maybe-like .maybe-like-nav:before{content:'';position:absolute;border-top:1px solid #ccc;left:0;top:2rem;width:16rem;height:0}.maybe-like .maybe-like-nav-item{box-sizing:border-box;float:left;width:50%;height:1.5rem;line-height:1.5rem;text-align:center;color:#ccc;border-right:1px solid #ccc}.maybe-like .maybe-like-nav-item.focus{color:#000}.load-more-img{padding-left:0;height:5rem;border-top:1px solid #ccc;overflow:hidden}.load-more-img img{display:block;width:100%;height:100%}.icons-wrapper{box-sizing:border-box;padding:0.75rem 0 0.4rem;background:#fff;border-bottom:1px solid #e0e0e0}.icons-item{float:left;margin-bottom:0.25rem;width:25%;height:3.65rem;text-align:center}.imagebar{display:block;margin:0 auto;text-align:center;width:2.45rem;height:2.45rem;line-height:2.45rem;box-sizing:border-box;overflow:hidden}.imagebar img{width:100%;height:100%}.linkbar{display:block;line-height:1.1rem;font-size:0.6rem;color:#444}.linkbar:visited,.linkbar:link,.linkbar:active,.linkbar:hover{color:#444}.trend-coll-wrapper{background:#fff;height:16.125rem;border-bottom:1px solid #e0e0e0}.trend-coll-header{position:relative;widows:100%}.trend-coll-header .trend-coll-title{width:100%;height:2.5rem;line-height:2.5rem;text-align:center;font-size:0.85rem;color:#747474}.trend-coll-header .more{position:absolute;right:0.6rem;top:0.5rem}.trend-coll-content{padding:0 0 0 0.375rem}.trend-coll-content .lspan{float:left;margin:0 0.375rem}.trend-coll-content .rspan{float:left;margin:0 0.375rem}.lspanimg{display:block;float:right;width:6.875rem;height:6.875rem}.rspanimg{display:block;float:right;width:6.875rem;height:6.875rem}.trend-coll-tail{box-sizing:border-box;width:100%;height:6.675rem;clear:both}.recommend-title{widows:100%;height:2.5rem;line-height:2.5rem;text-align:center;font-size:0.85rem}.recommend-swiper{width:100%;height:3.5rem;overflow:hidden}.recommend-list{position:relative;height:100%}.recommend-list .recommend-item{float:left;padding-left:5%;width:21.875%;height:3.5rem}.recommend-list .recommend-item a{display:block;width:100%;height:100%}.recommend-list .recommend-item a img{width:100%;height:100%}.trend-topic-wrapper{background:#fff}.trend-topic-content{position:relative;width:100%;border-bottom:1px solid #e0e0e0}.trend-topic-content .swiper-pagination{position:absolute;left:0;right:0;bottom:0.55rem;text-align:center;z-index:0}.trend-topic-content .swiper-pagination .pagination-inner{display:inline-block}.trend-topic-content .swiper-pagination span{float:left;width:0.4rem;height:0.4rem;margin:0 0.2rem;background:#f0f0f0;border-radius:50%;opacity:1}.trend-topic-content .swiper-pagination span.swiper-pagination-bullet-active{background:#b0b0b0}.trend-topic-swiper{height:13.35rem;overflow:hidden}.trend-topic-swiper ul{position:relative}.trend-topic-swiper ul li{float:left;height:13.35rem}.trend-topic-swiper ul li .img-box{margin:0 auto;width:14.5rem;height:9rem;line-height:9rem;text-align:center}.trend-topic-swiper ul li .img-box img{vertical-align:middle;width:100%;height:100%}.trend-topic-swiper ul li .item-content{margin:0.5rem 0.75rem 0}.trend-topic-swiper ul li .item-content .title{line-height:1.3rem;font-size:0.75rem;color:#000;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap}.trend-topic-swiper ul li .item-content .time{margin:0.4rem 0 0;line-height:0.6rem;color:#afafaf;font-size:0.45rem}.trend-topic-swiper ul li .item-content .time .time-icon{margin-right:0.2rem;font-size:0.35rem}.category-swiper{position:relative;height:10rem;overflow:hidden}.category-swiper ul li{float:left;width:100%}.category-swiper ul li a,.category-swiper ul li img{display:block;width:100%;height:100%}.category-swiper .swiper-pagination{position:absolute;left:0;right:0;bottom:0.5rem;text-align:center}.category-swiper .swiper-pagination .pagination-inner{display:inline-block}.category-swiper .swiper-pagination .pagination-inner span{display:inline-block;width:0.35rem;height:0.35rem;background:#fff;opacity:0.5;margin:0 0.225rem;border-radius:50%}.category-swiper .swiper-pagination .pagination-inner span.swiper-active-switch{opacity:1}.goods-category{background:#fff}.goods-category .category-list{height:9.55rem;border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0;overflow:hidden}.goods-category .category-list li{float:left;width:4.775rem;height:4.775rem;border-left:1px solid #e0e0e0}.goods-category .category-list li .first-show{display:none}.goods-category .category-list li .img-box{height:100%;line-height:100%;text-align:center}.goods-category .category-list li .img-box img{width:100%;height:100%;vertical-align:middle}.goods-category .category-list li .category-name{line-height:0.8rem;font-size:0.5rem;color:#444;text-align:center}.goods-category .category-list li:first-child{width:6.325rem;height:9.55rem;border-left:none}.goods-category .category-list li:first-child .img-box{height:100%;line-height:100%}.goods-category .category-list li:first-child .category-name{line-height:1rem;font-size:0.55rem}.goods-category .category-list li:nth-child(4),.goods-category .category-list li:nth-child(5){border-top:1px solid #e0e0e0}.hot-category{margin:0.75rem 0 0;border-bottom:1px solid #e0e0e0}.hot-category .category-banner{height:4.95rem}.hot-category .category-banner img{display:block;width:100%;height:4.95rem}.hot-category .category-list{background:#fff}.hot-category .category-list li{float:left;width:3.95rem;height:4.35rem;border-top:1px solid #e0e0e0;border-left:1px solid #e0e0e0;overflow:hidden}.hot-category .category-list li .img-box{width:100%;height:100%;line-height:3.85rem;text-align:center;overflow:hidden;font-size:0}.hot-category .category-list li .img-box img{vertical-align:middle;width:100%;height:100%;max-width:100%;max-height:100%}.hot-category .category-list li .category-title{line-height:0.55rem;color:#aaa;font-size:0.45rem;text-align:center}.home-header{height:2.25rem;line-height:2.25rem;background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMyMzIzMiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzQxNDE0MSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background-size:100%;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #323232),color-stop(100%, #414141));background-image:-moz-linear-gradient(#323232,#414141);background-image:-webkit-linear-gradient(#323232,#414141);background-image:linear-gradient(#323232,#414141);position:relative}.home-header .iconfont{color:#fff}.home-header .nav-btn{position:absolute;left:0;top:0;bottom:0;z-index:2;padding:0 0.8rem}.home-header .logo{display:block;margin:0 auto;width:5.2rem;height:2.175rem;background:url('../assets/img/yohologo02.png?1451300683') no-repeat center center;background-size:100%}.home-header .logo.animate{background:url('../assets/img/yohologo01.png?1451300683') no-repeat center center;background-size:100%}.home-header .search-btn{position:absolute;right:0;top:0;width:2.25rem;height:2.25rem;text-align:center}.home-header .search-btn a{display:block;color:#fff;font-size:20px;line-height:2.25rem}.home-header .iconfont.highlight{background:rgba(200,200,200,0.4)}.girls-wrap .home-header{background:#FF88AE}.kids-wrap .home-header{background:#7ad9f9}.lifestyle-wrap .home-header{background:#4f4138}.kids-wrap .logo{font-style:italic;font-family:"helvetica","Arial","榛戜綋";font-weight:bold;color:#fff}.mobile-container{width:100%;overflow:hidden}.mobile-wrap{position:relative;z-index:2;background:#f0f0f0;-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.mobile-wrap.menu-open{-moz-transform:translateX(13.5rem);-ms-transform:translateX(13.5rem);-webkit-transform:translateX(13.5rem);transform:translateX(13.5rem)}.overlay{display:none;position:absolute;top:0;left:0;right:0;bottom:0;background:#000;z-index:4;-moz-transition:opacity 1s;-o-transition:opacity 1s;-webkit-transition:opacity 1s;transition:opacity 1s}.overlay.show{display:block;opacity:0.3}.brand-page .newbrand-search{width:93.75%;height:1.5rem;padding:0.35rem 3.125%;background-color:#f8f8f8;left:0;top:2.25rem;position:fixed;z-index:2}.brand-page .newbrand-search .search-box{position:relative;width:12.5rem;height:1.5rem;background-color:#FFF;border-radius:0.75rem;padding:0 0.8rem 0 1.3rem}.brand-page .newbrand-search .search-box a{width:100%;height:1.5rem;border:0;display:block}.brand-page .newbrand-search .search-box a span{line-height:1.5rem;color:#bdbdbd;font-size:1.2em;padding-left:0.45rem}.brand-page .newbrand-search .search-box .search-icon{position:absolute;font-size:0.6rem;top:0;left:0.6rem;line-height:1.5rem;color:#bdbdbd}.brand-page .newbrand-search .search-box .search-input{border:none;width:95%;height:1.5rem;font-size:1.2em;padding:0 0.25rem}.brand-page .newbrand-search .search-box .search-action{display:none;position:absolute;top:0;right:-1.85rem;font-size:0.8rem;line-height:1.5rem;color:#666}.brand-page .newbrand-search .search-box .cancel-btn{display:inline;font-size:0.8rem;vertical-align:middle}.brand-page .newbrand-search .search-box .clear-text{margin-right:0.5rem}.brand-page .banner-top{padding-top:4.45rem;background-color:#f8f8f8}.brand-page .hot-brands{padding-top:4.45rem}.brand-page .hot-brands .floor-header{padding:0}.brand-page .hot-brands .brands-swiper{border-top:0}.brand-page .hot-brand{margin:0.75rem 0 0}.brand-page .hot-brand .hot-brand-list{background:#fff}.brand-page .hot-brand .hot-brand-list li{float:left;width:3.95rem;height:3.95rem}.brand-page .hot-brand .hot-brand-list li .img-box{display:table-cell;vertical-align:middle;text-align:center;width:3.95rem;height:3.95rem}.brand-page .hot-brand .hot-brand-list li img{max-width:3.5rem;max-height:3.5rem}.brand-page .brand-list{width:100%}.brand-page .brand-list .title-bar{width:100%;background:#eeeeee;color:#999999;position:relative}.brand-page .brand-list .title-bar h2{padding:0 0.5rem;height:1.25rem;line-height:1.25rem;font-size:0.85rem;border-top:1px solid #e6e6e6;background-color:#f4f4f4}.brand-page .brand-list p{cursor:pointer;padding:0 0.5rem}.brand-page .brand-list p a{display:block;height:1.9rem;line-height:1.9rem;font-size:0.7rem;border-bottom:1px solid #f3f3f3;border-top:1px solid #f9f9f9}.brand-page .brand-list p a i{display:inline-block;margin-top:-0.1rem;width:2.7rem;height:1.05rem;text-align:center;vertical-align:middle;font-size:0.7rem;line-height:1.1rem;color:#fff;border-radius:1.25rem;-moz-transform:scale(0.8, 0.8);-ms-transform:scale(0.8, 0.8);-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8)}.brand-page .brand-list p a .icon-hot{background:#ff0000}.brand-page .brand-list p a .icon-new{background:#86c048}.brand-page .right-bar{width:1.5rem;height:75%;top:20%;overflow:auto;position:fixed;right:0.05rem;border-radius:0.3rem;background:rgba(0,0,0,0.8);z-index:2;display:none}.brand-page .right-bar b{height:0.9rem;line-height:0.9rem;text-align:center;display:block;color:#999999;font-weight:bold}.brand-page .right-bar::-webkit-scrollbar{display:none}.brand-page .con{padding-top:0.25rem}.brand-page .search-result{padding-top:4.4rem}.category-page{font-size:0.75rem}.category-page .search-input{position:relative;background-color:#f8f8f8;padding:0.325rem 0.5rem}.category-page .search-input p{box-sizing:border-box;width:100%;height:1.5rem;line-height:1.5rem;border:none;padding-left:1.65rem;border-radius:1.5rem;font-size:0.65rem;background:#fff;color:#999}.category-page .search-icon{position:absolute;top:0;bottom:0;left:1.075rem;line-height:2.15rem;color:#999}.category-page .category-nav{height:1.75rem;border-bottom:1px solid #e6e6e6}.category-page .category-nav li{display:block;box-sizing:border-box;float:left;height:100%;padding:0.5rem 0;width:25%;text-align:center;color:#999}.category-page .category-nav li:last-child{border-right:none}.category-page .category-nav li.focus{color:#000}.category-page .category-nav li.bytouch{background:#eee}.category-page .category-nav span{display:block;width:100%;height:0.75rem;line-height:0.75rem;font-size:0.75rem;border-right:1px solid #e6e6e6}.category-page .category-nav li:last-child span{border-right:0}.category-page .content{background:#f8f8f8}.category-page .content.hide{display:none}.category-page .primary-level{float:left;box-sizing:border-box;width:45%}.category-page .primary-level>li{height:2.225rem;line-height:2.225rem;padding-left:0.8rem}.category-page .primary-level>li.focus{background-color:#fff}.category-page .primary-level>li.highlight{background-color:#eee}.category-page .sub-level-container{float:left;box-sizing:border-box;background:#fff;width:55%;height:100%}.category-page .sub-level{width:100%}.category-page .sub-level.hide{display:none}.category-page .sub-level>li{box-sizing:border-box;height:2.225rem;line-height:2.225rem;border-bottom:1px solid #e6e6e6;padding-left:0.5rem}.category-page .sub-level>li.highlight{background:#eee}.category-page .sub-level>li:last-child{border-bottom:none}.category-page .sub-level a{display:block;height:100%;width:100%;color:#000}.newarrival-page{background-color:#fff}.newarrival-page .swiper-container{width:100%;height:7.75rem}.newarrival-page .swiper-container img{height:100%;width:100%}.newarrival-page .swiper-container .swiper-pagination{bottom:0;left:0;width:100%}.newarrival-page .swiper-container .swiper-pagination-bullet-active{background:#fff}.newarrival-page .banner-top-single{width:100%;height:5rem}.newarrival-page .banner-top-single img{display:block;height:100%;width:100%}.newarrival-page .list-nav{border-top:2px solid #fff;border-bottom:1px solid #e6e6e6}.newarrival-page .list-nav>li{float:left;width:25%;height:33px;line-height:33px;text-align:center;font-size:14px;color:#999}.newarrival-page .list-nav .bytouch{background:#eee}.newarrival-page .list-nav a{display:inline-block;box-sizing:border-box;width:auto;height:100%;color:#999}.newarrival-page .list-nav .active>a{color:#000;box-sizing:border-box}.newarrival-page .list-nav .active>.iconfont{color:#000}.newarrival-page .list-nav .active>.iconfont.cur{color:#000}.newarrival-page .list-nav .filter .iconfont{font-size:12px;-moz-transition:-moz-transform ease-in;-o-transition:-o-transform ease-in;-webkit-transition:-webkit-transform ease-in;transition:transform ease-in}.newarrival-page .list-nav .filter.active .iconfont{-moz-transform:rotate(-180deg);-ms-transform:rotate(-180deg);-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.newarrival-page .no-result{text-align:center;vertical-align:middle;color:#ccc;font-size:1.2em;margin-top:160px}.newarrival-page .goods-container{position:relative;min-height:440px;padding-left:0.375rem;padding-top:0.2rem}.discount-page{background-color:#fff}.discount-page .swiper-container{width:100%;height:7.75rem}.discount-page .swiper-container img{height:100%;width:100%}.discount-page .swiper-container .swiper-pagination{bottom:0;left:0;width:100%}.discount-page .swiper-container .swiper-pagination-bullet-active{background:#fff}.discount-page .banner-top-single{width:100%;height:5rem}.discount-page .banner-top-single img{display:block;height:100%;width:100%}.discount-page .list-nav{border-top:2px solid #fff;border-bottom:1px solid #e6e6e6}.discount-page .list-nav>li{float:left;width:25%;height:33px;line-height:33px;text-align:center;font-size:14px}.discount-page .list-nav .bytouch{background:#eee}.discount-page .list-nav a{display:block;box-sizing:border-box;width:100%;height:100%;color:#999}.discount-page .list-nav .active>a{color:#000}.discount-page .list-nav .active>a .spanTest{width:auto;height:100%;display:inline-block;box-sizing:border-box}.discount-page .list-nav .active>a .iconfont{color:#999}.discount-page .list-nav .active>a .iconfont.cur{color:#000}.discount-page .list-nav .new .iconfont{-moz-transform:scale(0.8, 0.8);-ms-transform:scale(0.8, 0.8);-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8);font-weight:bold}.discount-page .list-nav .filter .iconfont{font-size:12px;-moz-transition:-moz-transform ease-in;-o-transition:-o-transform ease-in;-webkit-transition:-webkit-transform ease-in;transition:transform ease-in}.discount-page .list-nav .filter.active .iconfont{-moz-transform:rotate(-180deg);-ms-transform:rotate(-180deg);-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.discount-page .list-nav .icon{position:relative}.discount-page .list-nav .icon i{position:absolute;-moz-transform:scale(0.8, 0.8);-ms-transform:scale(0.8, 0.8);-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8);font-weight:bold}.discount-page .list-nav .icon .up{top:-11px}.discount-page .list-nav .icon .down{top:-4px}.discount-page .no-result{text-align:center;vertical-align:middle;color:#ccc;font-size:1.2em;margin-top:160px}.discount-page .goods-container{position:relative;min-height:440px;padding-left:0.375rem;padding-top:0.2rem}.good-list-page .search-input{position:relative;padding:7px 15px;background:#f8f8f8}.good-list-page .search-input>form{position:relative}.good-list-page .search-input .search-icon{position:absolute;font-size:12px;top:9px;left:10px}.good-list-page .search-input input{box-sizing:border-box;padding-left:26px;padding-right:34px;height:30px;width:85%;border-radius:15px;background:#fff;border:none}.good-list-page .search-input .clear-input{position:absolute;top:5px;right:50px}.good-list-page .search-input .search{position:absolute;top:2px;right:-4px;border:none;background:transparent;font-size:16px;height:30px;overflow:hidden;line-height:30px;color:#666}.good-list-page .brand-way{padding-bottom:10px;background:#f4f4f4}.good-list-page .brand-way>a{display:block;height:40px;line-height:40px;padding:0 10px;border-bottom:1px solid #e6e6e6;border-top:1px solid #e6e6e6;font-size:17px;background:#fff;color:#000}.good-list-page .brand-way .brand-thumb{display:block;float:left;width:75px;height:40px;margin:0}.good-list-page .brand-way .entry{color:#999;font-size:14px;float:right}.good-list-page .brand-header{position:relative;height:3.75rem}.good-list-page .brand-header>img{display:block;height:100%;width:100%}.good-list-page .btn-intro,.good-list-page .btn-col{position:absolute;display:block;width:62px;height:24px;line-height:24px;text-align:center;border:1px solid #fff;color:#fff;top:50%;margin-top:-12px}.good-list-page .btn-intro{right:90px}.good-list-page .btn-col{right:15px}.good-list-page .btn-col .iconfont{font-size:12px}.good-list-page .btn-col.coled{opacity:0.5}.good-list-page .btn-col .txt:after{content:"收藏"}.good-list-page .btn-col.coled .txt:after{content:"已收藏"}.good-list-page .brand-intro-box{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.3);padding:44px 0;z-index:1;overflow:auto}.good-list-page .brand-intro-box .brand-intro{position:relative;box-sizing:border-box;width:85%;margin:0 7.5%;background:#fff;padding:10px 8%}.good-list-page .brand-intro-box h2{text-align:center;font-size:17px;line-height:40px}.good-list-page .brand-intro-box .con{font-size:12px;line-height:16px;padding:20px 0;border-top:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6;overflow-x:hidden}.good-list-page .brand-intro-box .fo{font-size:18px;height:40px;line-height:40px;text-align:center}.good-list-page .brand-intro-box .fo>span{font-size:22px}.good-list-page .brand-intro-box .close-intro{position:absolute;top:6px;right:6px}.good-list-page .list-nav{border-top:2px solid #fff;border-bottom:1px solid #e6e6e6}.good-list-page .list-nav>li{float:left;width:25%;height:33px;line-height:33px;text-align:center;font-size:14px}.good-list-page .list-nav .bytouch{background:#eee}.good-list-page .list-nav a{display:block;box-sizing:border-box;width:100%;height:100%;color:#999}.good-list-page .list-nav .nav-txt{display:inline-block;height:100%;box-sizing:border-box}.good-list-page .list-nav .active>a{color:#000}.good-list-page .list-nav .active>a .iconfont{color:#999}.good-list-page .list-nav .active>a .iconfont.cur{color:#000}.good-list-page .list-nav .new .iconfont{-moz-transform:scale(0.8, 0.8);-ms-transform:scale(0.8, 0.8);-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8);font-weight:bold}.good-list-page .list-nav .filter .iconfont{font-size:12px;-moz-transition:-moz-transform ease-in;-o-transition:-o-transform ease-in;-webkit-transition:-webkit-transform ease-in;transition:transform ease-in}.good-list-page .list-nav .filter.active .iconfont{-moz-transform:rotate(-180deg);-ms-transform:rotate(-180deg);-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.good-list-page .list-nav .icon{position:relative}.good-list-page .list-nav .icon i{position:absolute;-moz-transform:scale(0.8, 0.8);-ms-transform:scale(0.8, 0.8);-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8);font-weight:bold}.good-list-page .list-nav .icon .up{top:-11px}.good-list-page .list-nav .icon .down{top:-4px}.good-list-page .no-result{text-align:center;vertical-align:middle;color:#ccc;font-size:1.2em;margin-top:220px}.good-list-page .goods-container{position:relative;min-height:440px;padding-left:0.375rem;padding-top:0.2rem}.good-detail-page{overflow:hidden;background-color:#f0f0f0}.good-detail-page .yoho-tip{z-index:4}.good-detail-page .page-block{background-color:#fff;box-sizing:border-box;width:100%;border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0;padding:0 0.7rem;margin-bottom:0.75rem}.good-detail-page .page-block>.title{line-height:2.2rem;color:#444;font-size:0.7rem;border-bottom:1px solid #e0e0e0}.good-detail-page .page-block>.title span{color:#a0a0a0;font-size:0.45rem}.good-detail-page .page-block .pro-detail{margin-top:0.5rem;margin-bottom:0.5rem}.good-detail-page .page-block .detail{margin-top:0.5rem;margin-bottom:0.5rem;font-size:0.6rem;line-height:0.9rem}.good-detail-page .page-block .detail b{font-weight:bold}.good-detail-page .page-block .detail i{font-style:italic}.good-detail-page .page-block .detail.table{width:100%}.good-detail-page .page-block .detail.table .js-wraper{display:-moz-box;-moz-box-lines:multiple;-moz-box-pack:start;display:-webkit-box;-webkit-box-lines:multiple;-webkit-box-pack:start;display:-webkit-flex;-webkit-flex-wrap:wrap;-webkit-justify-content:flex-start;display:flex;flex-wrap:wrap;justify-content:flex-start}.good-detail-page .page-block .detail.table .column{box-sizing:border-box;padding:0.15rem 3%;width:49.9%;border:1px solid #fff;font-size:0.6rem;background-color:#eee;word-wrap:break-word;-moz-box-flex:1;display:-moz-box;-moz-box-align:center;-webkit-box-flex:1;display:-webkit-box;-webkit-box-align:center;display:-webkit-flex;-webkit-align-items:center;-webkit-flex-basis:49.9%;display:flex;align-items:center;flex-basis:49.9%}.good-detail-page .page-block .detail.table .oldbox{padding:0.15rem 3%;width:49.9%;background-color:#eee;box-sizing:border-box;border:1px solid #fff;width:49.9%;height:100%;float:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.good-detail-page .my-swiper-button-prev,.good-detail-page .my-swiper-button-next{position:absolute;top:50%;width:1.2rem;height:1.2rem;margin-top:-1.1rem;cursor:pointer;-moz-background-size:1.2rem 1.2rem;-webkit-background-size:1.2rem 1.2rem;background-size:1.2rem 1.2rem;background-position:center;background-repeat:no-repeat}.good-detail-page .my-swiper-button-prev.swiper-button-disabled,.good-detail-page .my-swiper-button-next.swiper-button-disabled{opacity:.3}.good-detail-page .next-grey{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23a0a0a0'%2F%3E%3C%2Fsvg%3E");right:0.75rem;left:auto}.good-detail-page .prev-grey{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23a0a0a0'%2F%3E%3C%2Fsvg%3E");left:0.75rem;right:auto}.good-detail-page .tag-container{position:absolute;left:2.7rem;top:1rem;height:0.875rem;color:#fff;font-size:0.5rem;line-height:0.875rem;z-index:2}.good-detail-page .tag-container .good-tag{display:inline-block;box-sizing:border-box;margin-left:.5px;font-size:0.45rem;text-align:center;padding:1px 5px}.good-detail-page .tag-container .new-tag{background-color:#78dc7e;color:#fff}.good-detail-page .tag-container .renew-tag{background-color:#78dc7e;color:#fff}.good-detail-page .tag-container .sale-tag{background-color:#ff575c;color:#fff}.good-detail-page .tag-container .new-festival-tag{background-color:#000;color:#fff}.good-detail-page .tag-container .yohood-tag{background-color:#000;color:#fff}.good-detail-page .tag-container .limit-tag{border:1px solid #000;background-color:#fff;color:#000}.good-detail-page .tag-container .soonSoldOut-tag{background-color:#ffac5b;color:#fff}.good-detail-page .banner-container{position:relative;background-color:#fff}.good-detail-page .banner-top-single{margin:0 auto;overflow:hidden}.good-detail-page .banner-top-single img{width:11.2rem;margin-top:0.75rem;margin-bottom:0.75rem}.good-detail-page .banner-top{min-height:16.5rem;overflow:hidden;position:relative}.good-detail-page .banner-top .swiper-pagination{position:absolute;z-index:2;bottom:1rem}.good-detail-page .banner-top .swiper-pagination .pagination-inner span{background-color:#b0b0b0}.good-detail-page .banner-top .swiper-pagination .pagination-inner .swiper-pagination-bullet{margin-right:2px}.good-detail-page .banner-top .swiper-pagination .pagination-inner .swiper-pagination-bullet-active{background-color:#000}.good-detail-page .banner-swiper{min-height:15rem;min-width:11.2rem;margin:0.75rem 2.4rem;overflow:hidden}.good-detail-page .banner-swiper ul{position:relative;height:auto}.good-detail-page .banner-swiper ul li{float:left}.good-detail-page .banner-swiper ul li img{height:auto}.good-detail-page .goodsName{box-sizing:border-box;width:100%;font-size:0.7rem;color:#fff;padding:0.5rem 0.7rem;line-height:1.2rem;background-color:#515150}.good-detail-page .goodsSubtitle{height:2.2rem;font-size:0.6rem;color:#b0b0b0;padding-left:0.7rem;padding-right:0.7rem;border-bottom:1px solid #e0e0e0;background-color:#f0f0f0;-moz-box-flex:1;display:-moz-box;-moz-box-align:center;-webkit-box-flex:1;display:-webkit-box;-webkit-box-align:center;display:-webkit-flex;-webkit-align-items:center;display:flex;align-items:center}.good-detail-page .goodsSubtitle span{display:-webkit-box;line-height:0.9rem;margin:0;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.good-detail-page .price-date{color:#b0b0b0;height:2.2rem;padding-left:0.7rem;padding-right:0.7rem;background-color:#fff;border-bottom:1px solid #e0e0e0}.good-detail-page .goodsPrice{float:left;font-size:0.86475rem}.good-detail-page .goodsPrice h1{display:inline-block;line-height:2.2rem}.good-detail-page .goodsPrice .currentPrice{color:#d0021b;margin-right:0.25rem}.good-detail-page .goodsPrice .previousPrice{text-decoration:line-through}.good-detail-page .periodOfMarket{font-size:0.6rem;float:right;color:#d0021b}.good-detail-page .periodOfMarket h1{display:inline-block;line-height:2.2rem}.good-detail-page .vip-level{box-sizing:box-border;padding-left:0.7rem;padding-right:0.7rem;min-height:2.2rem;background-color:#fff;font-size:0.55rem;color:#999999;border-bottom:1px solid #e0e0e0}.good-detail-page .vip-level .icons-item{float:left;width:33.3%;height:2.2rem;margin:0}.good-detail-page .vip-level .icons-item.current-level .vip-price{color:#d0021b}.good-detail-page .vip-level .icons-item span{vertical-align:middle;display:inline-block;line-height:2.2rem;padding-left:0.2rem}.good-detail-page .vip-level .icons-item .vip-img{width:1.325rem;height:0.8rem}.good-detail-page .vip-level .icons-item:nth-child(1){text-align:left}.good-detail-page .vip-level .icons-item:nth-child(1) .vip-img{background:url('../assets/img/product/silver.png?1451300683') no-repeat}.good-detail-page .vip-level .icons-item:nth-child(2) .vip-img{background:url('../assets/img/product/golden.png?1451300683') no-repeat}.good-detail-page .vip-level .icons-item:nth-child(3){text-align:right}.good-detail-page .vip-level .icons-item:nth-child(3) .vip-img{background:url('../assets/img/product/platinum.png?1451300683') no-repeat}.good-detail-page .goodsDiscount{font-size:0.7rem;color:#444;background-color:#fff;border-bottom:1px solid #e0e0e0}.good-detail-page .goodsDiscount h1{position:relative;padding:0.75rem 1.5rem 0.75rem 0.7rem;line-height:0.9rem}.good-detail-page .goodsDiscount .short-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.good-detail-page .goodsDiscount .iconfont{position:absolute;top:0.75rem;right:0.9rem;width:0.875rem;font-size:1.125rem;float:right;color:#e0e0e0}.good-detail-page .goodsDiscount .discount-folder{display:none}.good-detail-page .goodsDiscount .discount-folder .folder-item{border-top:1px solid #e0e0e0}.good-detail-page .enter-store{position:relative;padding:0 4.5rem 0 2.85rem;line-height:2.1rem;background-color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.good-detail-page .enter-store .store-logo{position:absolute;left:0;top:1px;width:1.7rem;height:2.1rem;margin-left:0.75rem;font-size:0;text-align:center}.good-detail-page .enter-store .store-logo img{display:inline-block;width:auto;height:1.7rem;vertical-align:middle}.good-detail-page .enter-store .store-name{font-size:0.85rem;color:#444}.good-detail-page .enter-store .store-link{position:absolute;right:0;top:1px;padding-right:0.75rem;font-size:0.7rem;color:#b0b0b0;text-align:right}.good-detail-page .enter-store .store-link span{font-size:inherit}.good-detail-page .cart-bar{position:relative;box-sizing:border-box;width:100%;height:3rem;position:fixed;bottom:0;background-color:#fff;z-index:2;padding:0.5rem 0.7rem;text-align:center;border-top:1px solid #e0e0e0}.good-detail-page .cart-bar a{display:inline-block}.good-detail-page .cart-bar a.num-incart{font-size:1.175rem;color:#444}.good-detail-page .cart-bar a.favorite{font-size:0.85rem;color:#ccc}.good-detail-page .cart-bar a.favorite.liked{color:#eb0313}.good-detail-page .cart-bar a.addto-cart,.good-detail-page .cart-bar a.sold-out{height:2rem;width:6.5rem;margin:0 2.5rem 0 2.875rem;color:#fff;background-color:#eb0313;font-size:0.8rem;line-height:2rem;text-align:center}.good-detail-page .cart-bar a.sold-out{background-color:#f58189}.good-detail-page .cart-bar .num-tag{display:block;position:absolute;top:0;left:1.2rem;width:1.8rem;height:1.8rem;font-size:1rem;line-height:1.8rem;color:#fff;background:#eb0313;text-align:center;border-radius:50%;-moz-transform:scale(0.5);-ms-transform:scale(0.5);-webkit-transform:scale(0.5);transform:scale(0.5)}.good-detail-page .cart-bar .num-tag.hide{display:none}.good-detail-page .recommend-for-you{border-bottom:none}.good-detail-page .yoho-tip{top:40%}.goods-comments-page .goods-comments .comment-item{border-bottom:1px solid #e0e0e0;padding:0 0.7rem}.goods-comments-page .goods-comments .comment-item .user-name{display:inline-block;float:left;max-width:9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0.6rem;line-height:1.55rem;color:#444}.goods-comments-page .goods-comments .comment-item .goods-spec,.goods-comments-page .goods-comments .comment-item .comment-time{font-size:0.6rem;line-height:1.55rem}.goods-comments-page .goods-comments .comment-item .detail-content{font-size:0.6rem;line-height:1.55rem;color:#444}.goods-comments-page .goods-comments .comment-item .goods-spec,.goods-comments-page .goods-comments .comment-item .comment-time{font-size:0.6rem;line-height:1.55rem}.goods-comments-page .goods-comments .comment-item .detail-content{font-size:0.7rem;line-height:0.9rem}.goods-comments-page .goods-comments .comment-item .goods-spec,.goods-comments-page .goods-comments .comment-item .detail-content{color:#444}.goods-comments-page .goods-comments .comment-item .comment-time{color:#c1c1c1}.goods-consults-page{background-color:#f0f0f0}.goods-consults-page .goto-consult{position:fixed;top:2.25rem;width:100%;box-sizing:border-box;padding:0 0.7rem;height:3rem;background-color:#ffffff;border-bottom:1px solid #e0e0e0}.goods-consults-page .goto-consult i,.goods-consults-page .goto-consult span,.goods-consults-page .goto-consult a{line-height:3rem;font-size:0.7rem;color:#444}.goods-consults-page .goto-consult .consult-logo{padding-right:0.375rem}.goods-consults-page .goto-consult .enter-consult-page{float:right;color:#b0b0b0}.goods-consults-page .goods-consults{margin-top:5.25rem;overflow:hidden}.goods-consults-page .goods-consults .consult-item{margin-top:0.75rem;padding:0.5rem 0.7rem;background-color:#fff;border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0}.goods-consults-page .goods-consults .consult-item .question{font-size:0.6rem;color:#444}.goods-consults-page .goods-consults .consult-item .question span{display:block;float:left;font-size:inherit;padding-right:0.375rem}.goods-consults-page .goods-consults .consult-item .question p{overflow:hidden;padding-bottom:0.375rem;border-bottom:1px solid #e0e0e0}.goods-consults-page .goods-consults .consult-item .time{font-size:0.55rem;color:#b0b0b0}.goods-consults-page .goods-consults .consult-item .answer{font-size:0.6rem;line-height:0.9rem;color:#b0b0b0;margin-top:0.35rem}.goods-consults-page .goods-consults .consult-item .answer span{display:block;float:left;font-size:inherit;color:#444;padding-right:0.375rem}.goods-consults-page .goods-consults .consult-item .answer p{overflow:hidden}.consult-form-page{padding:0.7rem;text-align:center}.consult-form-page textarea{box-sizing:border-box;width:100%;height:10rem;font-size:0.7rem;padding:0.25rem;color:#444}.consult-form-page a{display:inline-block;height:2rem;width:9rem;color:#fff;background-color:#444;font-size:1rem;line-height:2rem;text-align:center;margin-top:0.5rem}.good-detail-page .feedback-list{padding-top:0.75rem;margin-bottom:0.75rem;background-color:#f0f0f0}.good-detail-page .feedback-list .nav-tab{width:100%}.good-detail-page .feedback-list .nav-tab{height:1.5rem;padding:0.25rem 0;background-color:#fff;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.good-detail-page .feedback-list .comment-nav,.good-detail-page .feedback-list .consult-nav{box-sizing:border-box;float:left;width:50%;height:1.5rem;line-height:1.5rem;font-size:0.7rem;text-align:center;color:#b0b0b0}.good-detail-page .feedback-list .comment-nav.focus,.good-detail-page .feedback-list .consult-nav.focus{color:#000}.good-detail-page .feedback-list .comment-nav{border-right:1px solid #ccc}.good-detail-page .feedback-list .content .content-main{background-color:#fff;border-bottom:1px solid #e0e0e0}.good-detail-page .feedback-list .content .content-main.comment-content-main .user-name{font-size:0.6rem;line-height:1.55rem;color:#444;padding-left:0.7rem;padding-right:0.45rem}.good-detail-page .feedback-list .content .content-main.comment-content-main .goods-spec,.good-detail-page .feedback-list .content .content-main.comment-content-main .comment-time{font-size:0.6rem;line-height:1.55rem}.good-detail-page .feedback-list .content .content-main.comment-content-main .detail-content{font-size:0.6rem;line-height:1.55rem;color:#444;padding-left:0.7rem;padding-right:0.45rem}.good-detail-page .feedback-list .content .content-main.comment-content-main .goods-spec,.good-detail-page .feedback-list .content .content-main.comment-content-main .comment-time{font-size:0.6rem;line-height:1.55rem}.good-detail-page .feedback-list .content .content-main.comment-content-main .detail-content{font-size:0.7rem;line-height:0.9rem}.good-detail-page .feedback-list .content .content-main.comment-content-main .goods-spec,.good-detail-page .feedback-list .content .content-main.comment-content-main .detail-content{color:#444}.good-detail-page .feedback-list .content .content-main.comment-content-main .detail-content,.good-detail-page .feedback-list .content .content-main.comment-content-main .comment-time{padding-left:0.7rem}.good-detail-page .feedback-list .content .content-main.comment-content-main .detail-content{padding-right:0.7rem;padding-left:0.7rem}.good-detail-page .feedback-list .content .content-main.comment-content-main .detail-content{padding-right:0.7rem}.good-detail-page .feedback-list .content .content-main.comment-content-main .comment-time{color:#c1c1c1}.good-detail-page .feedback-list .content .content-main.consult-content-main{padding-right:0.7rem;padding-left:0.7rem;padding-top:0.5rem;padding-bottom:0.5rem}.good-detail-page .feedback-list .content .content-main.consult-content-main .question{font-size:0.6rem;color:#444}.good-detail-page .feedback-list .content .content-main.consult-content-main .question span{display:block;float:left;font-size:inherit;padding-right:0.375rem}.good-detail-page .feedback-list .content .content-main.consult-content-main .question p{overflow:hidden}.good-detail-page .feedback-list .content .content-main.consult-content-main .time{font-size:0.55rem;color:#b0b0b0}.good-detail-page .feedback-list .content .content-main.consult-content-main .answer{font-size:0.6rem;line-height:0.9rem;color:#b0b0b0;margin-top:0.35rem}.good-detail-page .feedback-list .content .content-main.consult-content-main .answer span{display:block;float:left;font-size:inherit;color:#444;padding-right:0.375rem}.good-detail-page .feedback-list .content .content-main.consult-content-main .answer p{overflow:hidden}.good-detail-page .feedback-list .content .content-main.no-item{height:5rem;line-height:5rem;color:#e0e0e0;font-size:16px;text-align:center}.good-detail-page .feedback-list .content .content-main.no-item span{display:inline-block;font-size:16px;padding-right:5px}.good-detail-page .feedback-list .comment-content-footer,.good-detail-page .feedback-list .consult-content-footer{display:block;min-height:2.2rem;text-align:center;background-color:#fff;border-bottom:1px solid #e0e0e0;line-height:2.2rem;font-size:0.7rem;color:#b0b0b0}.good-detail-page .feedback-list .comment-content-footer .iconfont,.good-detail-page .feedback-list .consult-content-footer .iconfont{font-size:inherit}.good-detail-page .feedback-list .content.hide{display:none}.good-detail-page .feedback-list .nodata{height:2.2rem;font-size:0.7rem;line-height:2.2rem;background-color:#fff;padding:0 0.7rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.good-detail-page .feedback-list .nodata .go-consult{float:right;color:#b0b0b0}.good-detail-page .feedback-list .nodata .go-consult span{font-size:0.7rem}.good-detail-page .goods-desc{padding-bottom:0.5rem;padding-top:0.5rem}.good-detail-page .goods-desc .service{width:12.35rem;height:0.7rem;margin-left:1.25rem;background:url('../assets/img/product/service.png?1451300683') no-repeat;background-size:cover}.good-detail-page .goods-desc .detail{margin-bottom:1px}.good-detail-page .goods-desc .desc-text{font-size:0.6rem;padding:0.4rem 0.3rem;color:#444;background-color:#eee}.good-detail-page .tips{color:#b0b0b0;font-size:0.45rem;margin-top:0.5rem}.good-detail-page .materials{overflow:hidden}.good-detail-page .materials.page-block{margin-bottom:0;border-bottom:none}.good-detail-page .materials.page-block .detail{margin-bottom:0}.good-detail-page .materials .detail .material-item{margin:0.25rem 0;width:100%;height:auto;overflow:hidden;display:block;position:relative}.good-detail-page .materials .detail .material-item img{margin:0}.good-detail-page .materials .detail .material-item .material-image{width:23%;position:absolute;left:0;top:50%;-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.good-detail-page .materials .detail .material-item .material-desc{font-size:0.6rem;box-sizing:border-box;text-align:left;padding-left:2%;height:auto;line-height:0.95rem;color:#4b4b4b;word-wrap:break-word;width:76.9%;float:right}.good-detail-page .materials .detail .material-item:last-child{border-bottom:none}.good-detail-page .wash-tips{padding-top:0.5rem}.good-detail-page .wash-tips.page-block{padding-left:0.375rem;padding-right:0.375rem}.good-detail-page .wash-tips .tip{display:inline-block;width:16.6%;float:left}.good-detail-page .wash-tips .tip img{width:1.2rem;height:1.2rem;margin-bottom:0.25rem}.good-detail-page .wash-tips .tip .caption{display:block;padding:0 0.325rem;font-size:0.45rem;line-height:0.55rem;min-height:1.1rem;text-align:center}.good-detail-page .product-detail{margin-top:0.75rem;margin-bottom:0.75rem}.good-detail-page .product-detail .detail img{margin-top:0.5rem;width:14.525rem;height:auto}.good-detail-page .product-detail .detail a{color:#2f91f6;text-decoration:underline}.good-detail-page .detail-swiper .swiper-wrapper .swiper-slide{width:auto}.good-detail-page .detail-swiper .swiper-wrapper .swiper-slide div{text-align:center}.good-detail-page .detail-swiper .swiper-wrapper .swiper-slide div.cell{line-height:1.325rem;font-size:0.6rem;background-color:#eee;padding:0 1rem;border:1px solid #fff}.good-detail-page #reference-swiper-container .first-group{width:1.75rem;margin-top:1.375rem}.good-detail-page #reference-swiper-container .first-group div{height:1.375rem}.good-detail-page #reference-swiper-container .first-group div .avatar{display:inline-block;width:1rem;border-radius:50%;margin-top:0.175rem}.good-detail-page .measurement-method .detail{width:100%;margin-top:0;margin-bottom:0}.good-detail-page .measurement-method .detail img{width:100%;height:auto}.suspend-cart{position:fixed;width:44px;height:44px;line-height:44px;border-radius:50%;background:rgba(0,0,0,0.3);text-align:center;right:15px;bottom:70px;z-index:10}.suspend-cart a{display:block;width:100%;height:100%}.suspend-cart .iconfont{color:#fff;font-size:18px}.suspend-cart .cart-count{position:absolute;top:-12px;right:-10px;width:36px;height:36px;font-size:20px;line-height:36px;color:#fff;background:#f03d35;text-align:center;border-radius:50%;-moz-transform:scale(0.5);-ms-transform:scale(0.5);-webkit-transform:scale(0.5);transform:scale(0.5)}.rank-main{padding:0.35rem 0 0 0.75rem;background:#fff}.rank-main li{height:5.75rem;overflow:hidden}.rank-main li .item-img{float:left;width:3.75rem;height:5rem;padding:0.35rem 0;line-height:5rem;text-align:center}.rank-main li .item-img img{max-width:100%;max-height:100%;vertical-align:middle}.rank-main li .item-content{float:left;width:10.175rem;height:5.325rem;margin:0 0 0 0.325rem;padding:0.35rem 0 0 0.75rem;border-top:1px solid #e0e0e0;overflow:hidden}.rank-main li .item-content .rank-icon{display:block;height:1.125rem;width:1.25rem;line-height:1.25rem;text-align:center;font-size:0.55rem;color:#fff;background:url('../assets/img/../img/me/employ/rank.png?1451300683') no-repeat;background-position:center top;background-size:auto 100%}.rank-main li .item-content .rank-icon.top{background:url('../assets/img/../img/me/employ/rank-t.png?1451300683') no-repeat;background-position:center top;background-size:100%;line-height:1.35rem}.rank-main li .item-content h2{margin:0.375rem 0 0 !important;padding:0 !important;width:9.5rem;max-height:1.8rem;overflow:hidden;line-height:0.9rem;color:#444;font-size:0.7rem}.rank-main li .item-content h2.hasActive{margin:0.125rem 0 0 !important}.rank-main li .item-content p{margin:0 !important;padding:0 !important;width:9.5rem;line-height:0.9rem;font-size:0.6rem;color:#d0021b;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.rank-main li .item-content p b{text-decoration:line-through;color:#b0b0b0;margin-left:0.25rem}.rank-main li:first-child .item-content{border:none}.goods-nav{border-bottom:0.05rem solid #e6e6e6;height:1.675rem;overflow:hidden}.goods-nav li{float:left;width:auto;height:1.675rem;line-height:1.675rem;width:3.625rem;text-align:center;font-size:0.7rem}.goods-nav li a{display:inline-block;padding:0 0.125rem;font-size:0.7rem;color:#999;height:1.625rem}.goods-nav li:first-child{margin-left:0.75rem}.goods-nav li.focus a{border-bottom:0.1rem solid #000;color:#000}.s-goods-nav{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;overflow:hidden}.s-goods-nav li{margin:0 0.25rem;padding:0 0.375rem;width:auto;height:100%;color:#999}.s-goods-nav li.active{color:#000}.s-goods-nav li.bgActive{color:#000;background-color:#e0e0e0}.s-goods-nav li a{padding:0}.s-goods-nav li:first-child{margin:0 0 0 0.975rem}.recommend-for-you{padding:0.75rem 0 0.75rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.recommend-for-you .title{font-size:0.8rem;line-height:pxToRe(88px);text-align:center;color:#444}.recommend-for-you .swiper-container{padding:0.75rem 0 0.5rem;width:100%}.recommend-for-you .swiper-container .swiper-slide{padding:0 0.25rem;float:left;width:3.9rem}.recommend-for-you .swiper-container .swiper-slide:first-child{padding-left:0.75rem}.recommend-for-you .swiper-container .swiper-slide:last-child{padding-right:0.75rem}.recommend-for-you .swiper-container .swiper-slide img{width:100%;height:5.2rem}.recommend-for-you .price{position:relative;margin-top:0.5rem;font-size:0.6rem;line-height:1}.recommend-for-you .price .sale-price{display:block;color:#d9134f;margin-right:0.2rem}.recommend-for-you .price .old-price{display:block;color:#b0b0b0;text-decoration:line-through}.recommend-for-you .price .no-price{color:#444}.index-page{width:100%;overflow:hidden;margin:0 auto}.index-page #yohood{background-color:transparent;background-image:url('../assets/img/yohood.png?1451493890');background-size:40%;background-repeat:no-repeat;background-position-x:26%;background-position-y:36%;border:none;border-bottom:4px solid #fff}.index-page .index-header{box-sizing:border-box;padding:0 0.5rem;width:100%;height:2.4rem;line-height:2.4rem}.index-page .index-header .index-logo{float:left;width:5.4rem;height:2.4rem;background:url('../assets/img/yohologo.png?1451493890') left center no-repeat;background-size:104px 25px;opacity:1;transition:all 400ms}.index-page .index-header .index-logo img{display:inline;vertical-align:middle;width:5.175rem;height:1.225rem}.index-page .index-header .index-logo.action{opacity:0;width:0}.index-page .index-header .box{position:relative;overflow:hidden;z-index:1}.index-page .index-header .box.action .no-search,.index-page .index-header .box.action .clear-text{display:block}.index-page .index-header .index-search{height:2.4rem;background:#fff;overflow:hidden;-moz-transition:width 0.4s;-o-transition:width 0.4s;-webkit-transition:width 0.4s;transition:width 0.4s}.index-page .index-header .index-search .search-box{position:relative;top:0.5rem;height:1.4rem;padding-right:2rem;transition:width 400ms;box-sizing:border-box;border:1px solid #ccc;overflow:hidden;-moz-transition:margin-left 0.4s;-o-transition:margin-left 0.4s;-webkit-transition:margin-left 0.4s;transition:margin-left 0.4s}.index-page .index-header .index-search input{float:left;width:96%;font-size:0.7rem;padding:0.25rem;color:#999;overflow:hidden;border:none;-webkit-appearance:none}.index-page .index-header .index-search .iconfont{position:absolute;top:0.2rem;width:1rem;font-size:0.7rem;z-index:1;line-height:1rem}.index-page .index-header .index-search .clear-text{display:none;right:1.25rem;color:#ccc}.index-page .index-header .index-search .search-icon{right:0.25rem;color:#666}.index-page .index-header .index-search .search-icon.empty{color:#e6e6e6}.index-page .index-header .no-search{display:none;float:left;margin-right:0.25rem;color:#999;font-size:0.7rem}.index-page .index-container{position:relative;-moz-transition:-moz-transform 0.5s;-o-transition:-o-transform 0.5s;-webkit-transition:-webkit-transform 0.5s;transition:transform 0.5s;background-color:white}.index-page .index-container .index_header{height:2rem;line-height:2rem;overflow:hidden;padding:0 0.25rem}.index-page .index-container .index-channel{color:#FFF;text-align:center;position:relative;background-color:#000000;min-height:20rem}.index-page .index-container .index-channel .index-channel-list{margin-top:-7.5rem;width:100%;position:absolute;top:50%}.index-page .index-container .index-channel .index-channel-list .list-item{display:block;position:relative;margin:0 auto 1rem;width:216px;height:52px;text-align:center;font-size:16px;line-height:52px;color:#fff;background-color:#000;border:4px solid #fff;font-weight:bold}.index-page .index-container .index-channel .index-channel-list .list-item:last-child{margin-bottom:0}.index-page .index-container .index-channel .index-channel-list .lighter{font-weight:lighter}.index-page .index-container .index-channel .index-channel-list .right-icon{position:absolute;right:0.25rem;top:0;font-weight:bold}.index-page .index-container .index-channel .index-channel-list .homestyle{margin-bottom:1.25rem;width:7.1825rem}.search-page .search-input{position:relative;padding:0.35rem 0.55rem;background:#f8f8f8}.search-page .search-input form{width:100%}.search-page .search-input .search-icon{position:absolute;font-size:0.6rem;top:0.65rem;left:0.9rem;color:#b2b2b2}.search-page .search-input input{height:1.4rem;width:9.45rem;border-radius:0.7rem;padding:0 1.3rem;font-size:0.6rem;background:#fff;border:none}.search-page .search-input .clear-input{position:absolute;top:0.5rem;right:3.625rem;font-size:0.8rem;color:#666}.search-page .search-input .search{position:absolute;top:0.45rem;right:1rem;border:none;background:transparent;color:#666;font-size:0.75rem;line-height:1.4rem}.search-page .search-items{padding:1rem 0.5rem}.search-page .search-items h3{font-size:0.6rem;margin-bottom:0.5rem}.search-page .search-items li{float:left;margin-right:0.5rem;margin-bottom:0.5rem;max-width:100%;overflow:hidden}.search-page .search-items a{display:block;height:1.7rem;line-height:1.7rem;padding:0 0.5rem;font-size:0.7rem;background:#f8f8f8;color:#000;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-page .search-items .clear-history{height:1.6rem;line-height:1.6rem;border:1px solid #e6e6e6;background:#fff;font-size:0.7rem}.float-layer{height:44px;background:rgba(68,68,68,0.95);position:fixed;width:100%;bottom:0;left:0;z-index:9999;padding:10px 0}.float-layer .float-layer-left{padding-left:22px;overflow:hidden;float:left}.float-layer .float-layer-left img{height:44px;float:left;margin-right:10px}.float-layer .float-layer-left p{float:left;font-size:16px;height:44px;line-height:44px;color:white}.float-layer .float-layer-left .yoho-icon{float:left;margin-right:10px;font-size:22px;line-height:44px;width:44px;height:44px;text-align:center;color:#fff;border-radius:10px;background:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMyMzIzMiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzBmMGYwZiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #323232),color-stop(100%, #0f0f0f));background:-moz-linear-gradient(#323232,#0f0f0f);background:-webkit-linear-gradient(#323232,#0f0f0f);background:linear-gradient(#323232,#0f0f0f)}#float-layer-close{position:absolute;left:0;top:0;width:50px;height:50px}#float-layer-close .close-icon{position:absolute;left:0;top:0;color:#C0C0C0;z-index:2}#float-layer-btn{position:absolute;top:50%;right:15px;font-size:16px;padding:0 10px;height:27px;line-height:27px;background:white;border-radius:5px;margin-top:-13px;-webkit-tap-highlight-color:rgba(0,0,0,0.5)}#float-layer-btn:link,#float-layer-btn:visited,#float-layer-btn:hover,#float-layer-btn:actived{color:#000}.circle-rightbottom{position:absolute;width:25px;height:0px;border:0 solid #323232;border-bottom:25px solid #323232;-moz-border-radius:0 0 25px 0;-webkit-border-radius:0 0 25px 0;border-radius:0 0 25px 0}.err-page .err-bg{position:fixed;height:5rem;width:5rem;top:50%;left:50%;margin-left:-2.5rem;margin-top:-2.5rem;background:url('../assets/img/404.png?1451494839') no-repeat;background-size:100% 100%}.shopping-cart-good{position:relative;padding-left:0.4rem}.shopping-cart-good .prevent-img-click{position:absolute;width:0.5rem;height:5rem;background-color:transparent;z-index:99}.shopping-cart-good .checkbox{position:absolute;top:50%;margin-top:-0.35rem;margin-left:0.2rem;font-size:0.7rem}.shopping-cart-good .checkbox.icon-cb-checked{color:#000}.shopping-cart-good .checkbox.disabled{color:#f0f0f0}.shopping-cart-good .few-tag{width:3.75rem;position:absolute;text-align:center;top:72%;color:#fff}.shopping-cart-good .few-tag span{display:inline-block;-moz-transform:scale(0.833);-ms-transform:scale(0.833);-webkit-transform:scale(0.833);transform:scale(0.833)}.shopping-cart-good .gift-tag{background-color:#88BE51}.shopping-cart-good .plus-tag{background-color:#FC1264}.shopping-cart-good .few-tag-expire{position:absolute;top:40%;left:0.5rem;background-color:#7f7f7f;display:inline-block;color:#fff;border-radius:0.3rem;padding:0.1rem;font-size:0.5rem;width:1.2rem;text-align:center}.shopping-cart-good .info{float:left;margin-left:1.5rem;padding:0.4rem 0;padding-right:0.5rem}.shopping-cart-good .fixed-height{height:2.7rem}.shopping-cart-good .thumb{float:left;width:3.75rem;background-size:100%;background-repeat:no-repeat}.shopping-cart-good .deps{position:relative;width:9.5rem;margin-left:4.5rem;border-bottom:1px solid #e0e0e0;padding:0.5rem 0}.shopping-cart-good .name{display:inline-block;width:80%;color:#5a5a5a;font-size:0.6rem;line-height:0.7rem}.shopping-cart-good .color-size-row>span{margin-right:0.375rem}.shopping-cart-good .color,.shopping-cart-good .size{font-size:0.6rem;color:#b6b6b6}.shopping-cart-good .appear-date{float:left;color:#d0253b;display:block;font-size:0.5rem}.shopping-cart-good .price{font-size:0.6rem;color:#d0253b;display:inline}.shopping-cart-good .price .sale-price{color:#b0b0b0;text-decoration:line-through}.shopping-cart-good .count{font-size:0.5rem;color:#999;display:inline-block;width:22%;position:absolute;text-align:center}.shopping-cart-good .low-stocks{display:inline-block;width:2.5rem;height:0.75rem;line-height:0.75rem;font-size:0.55rem;border:none;color:#fff;text-align:center;float:right;margin-right:0.4rem;padding:0.1rem;border-radius:0.5rem}.shopping-cart-good .low-stocks{background:#7f7f7f}.shopping-cart-good .vip{display:inline-block;color:#fff;background:#e01;-moz-border-radius:0.4rem;-webkit-border-radius:0.4rem;border-radius:0.4rem;padding:0rem 0.3rem;margin-left:0.2rem;font-size:0.5rem}.shopping-cart-good .la-tag{margin-top:0.3rem;min-height:1rem}.shopping-cart-good .icon-del,.shopping-cart-good .icon-edit{position:absolute;color:#ccc;font-size:0.75rem}.shopping-cart-good .icon-del{right:0.5rem}.shopping-cart-good .icon-edit{right:1.8rem}.shopping-cart-good .opt-panel{position:absolute;width:5.5rem;right:0;top:0;bottom:0;color:#fff}.shopping-cart-good .opt-panel>div{float:left;box-sizing:border-box;width:2.75rem;height:100%;text-align:center;padding:1rem 0.5rem 0;font-size:15px}.shopping-cart-good .opt-panel span{display:block}.shopping-cart-good .opt-panel .put-in-favorite{background:#bbb}.shopping-cart-good .opt-panel .del{background:#999}.shopping-cart-good .opt-panel .del .iconfont{margin-bottom:0.5rem}.shopping-cart-good .calculate-num{float:right}.shopping-cart-good .calculate-num .calculate{float:right;border:1px solid #b0b0b0;border-radius:.2rem}.shopping-cart-good .calculate-num .calculate p{color:#444}.shopping-cart-good .calculate-num .calculate p:first-child{height:1.5rem;border-bottom:1px solid #b0b0b0}.shopping-cart-good .calculate-num .calculate p:first-child span{border-left:1px solid #b0b0b0;border-right:1px solid #b0b0b0}.shopping-cart-good .calculate-num .calculate p i{width:1.8rem;height:1.5rem;float:left;line-height:1.5rem;text-align:center}.shopping-cart-good .calculate-num .calculate p span{width:2.4rem;height:1.5rem;float:left;font-size:1rem;line-height:1.5rem;text-align:center}.shopping-cart-good .calculate-num .calculate p:last-child span{width:4.2rem;overflow:hidden;font-size:1.2em;text-overflow:ellipsis;white-space:nowrap}.shopping-cart-good .calculate-num .price{line-height:1.5rem;font-size:1.3em;font-weight:bold}.shopping-cart-good .calculate-num .count{position:absolute;right:0.5rem;top:0.5rem;font-size:1.3em}.shopping-cart-good:last-child .deps{border:none}.chose-panel{position:fixed;display:none;height:100%;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,0.3);z-index:3}.chose-panel .main{position:absolute;height:15.25rem;bottom:0;left:0;right:0;background:#fff}.chose-panel .infos{height:11.5rem;padding:0 0.55rem}.chose-panel .chose-items{height:8.125rem;overflow:auto}.chose-panel .basic-info{overflow:hidden;position:relative;margin-bottom:0.75rem;margin-top:0.75rem}.chose-panel .thumb{float:left;width:2.5rem;margin-right:0.5rem}.chose-panel .text-info{height:auto}.chose-panel .text-info .name{font-size:0.7rem;height:1.85rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.chose-panel .text-info .price{font-size:0.6rem}.chose-panel .text-info .sale-price{color:#e10;margin-right:0.375rem}.chose-panel .text-info .sale-price.no-price{color:#000}.chose-panel .text-info .market-price{color:#b0b0b0;text-decoration:line-through}.chose-panel .color-list,.chose-panel .size-list,.chose-panel .num{position:relative;font-size:0.7rem;padding-left:2rem}.chose-panel .color-list input.disabled,.chose-panel .size-list input.disabled,.chose-panel .num input.disabled{background-color:#fff;color:#000;opacity:1;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-webkit-appearance:none}.chose-panel .color-list>span,.chose-panel .size-list>span,.chose-panel .num>span{position:absolute;left:0;top:0.5rem}.chose-panel .color-list>span.left-num,.chose-panel .size-list>span.left-num,.chose-panel .num>span.left-num{position:absolute;left:9.5rem;top:0.5rem}.chose-panel .color-list span.disabled,.chose-panel .size-list span.disabled,.chose-panel .num span.disabled{color:#e6e6e6}.chose-panel .size-list li.hide{display:none}.chose-panel .block{float:left;display:block;box-sizing:border-box;padding:0 0.5rem;min-width:2rem;height:2rem;border:1px solid #000;margin-right:0.75rem;margin-bottom:0.75rem;line-height:2rem;text-align:center}.chose-panel .block.chosed{border-color:#e10;background:url('../assets/img/shopping-cart/right.png?1451300683') no-repeat;background-size:0.95rem;background-position:bottom right;color:#e10}.chose-panel .block.zero-stock{color:#e0e0e0;border-color:#e0e0e0}.chose-panel .block.zero-stock.chosed{border-color:#e0e0e0;background:none;color:#e0e0e0;background-color:#c0c0c0}.chose-panel .num{margin-bottom:0.5rem}.chose-panel .num .btn{float:left;display:block;height:2rem;width:2rem;text-align:center;line-height:2rem;border:1px solid #e6e6e6}.chose-panel .num .btn.disable{color:#e6e6e6}.chose-panel .good-num{float:left;width:2.65rem;height:2rem;line-height:2rem;padding:0;border:1px solid #e6e6e6;text-align:center;margin-left:-1px}.chose-panel .btn-plus{margin-left:-1px}.chose-panel .btn-wrap{position:relative;height:3rem;border-top:1px solid #e6e6e6;padding:0.5rem;text-align:center;background:#fff;box-sizing:border-box}.chose-panel .btn-wrap .btn-sure{width:6.5rem;height:2rem;background:#e10;color:#fff;font-size:0.8rem;border:none}.gift-advance-page .gift-advance-good{position:relative;padding:0.5rem 0;margin-left:0.85rem;height:4rem;border-bottom:1px solid #e0e0e0}.gift-advance-page .advance-block:last-child .gift-advance-good:last-child{border-bottom:1px solid #e0e0e0}.gift-advance-page .thumb-wrap{position:relative;float:left;width:3rem;height:4rem}.gift-advance-page .thumb-wrap .thumb{width:100%;height:100%}.gift-advance-page .tag{position:absolute;bottom:0;left:0;right:0;height:0.625rem;color:#fff;text-align:center;background:#eb76aa}.gift-advance-page .tag:before{content:'加价购';display:block;font-size:12px;line-height:0.625rem;transform:scale(0.833)}.gift-advance-page .deps{margin-left:3.375rem}.gift-advance-page .gift-advance-good .name{margin-bottom:0.5rem;width:11rem;font-size:0.7rem}.gift-advance-page .row:nth-child(2){font-size:0.55rem;height:1.125rem;line-height:1.125rem}.gift-advance-page .row:nth-child(2)>span{margin-right:0.375rem}.gift-advance-page .row:nth-child(3){position:relative}.gift-advance-page .color,.gift-advance-page .size{color:#b6b6b6}.gift-advance-page .price{font-size:0.6rem;color:#f1545b}.gift-advance-page .price.market-price{color:#999;text-decoration:line-through}.gift-advance-page .count{font-size:0.5rem;color:#999;margin-left:0.55rem}.gift-advance-page .chose{position:absolute;width:2.2rem;height:1.45rem;background:#f8f8f8;border:1px solid #ccc;right:0.5rem;top:1.775rem;font-size:0.65rem;line-height:1.45rem;text-align:center}.gift-advance-page .title{height:1.5rem;line-height:1.5rem;padding:0 0.5rem;font-size:0.6rem;background:#f8f8f8}.gift-advance-page .gift-block .tag{background:#a1ce4e}.gift-advance-page .gift-block .tag:before{content:'赠品'}.order-ensure-page{background:#f0f0f0}.order-ensure-page .block{background:#fff;margin:0.5rem 0;padding:0.75rem 0.5rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.order-ensure-page .title{font-size:0.65rem;font-weight:bold}.order-ensure-page .address-wrap{display:block;position:relative;margin-top:0;border-top:none}.order-ensure-page .address-wrap>.iconfont{position:absolute;color:#bcbcbc;right:0.5rem;top:50%;margin-top:-8px}.order-ensure-page .address-wrap .infos{font-weight:bold;font-size:0.6rem;padding-right:1.375rem}.order-ensure-page .address-wrap .per-info{float:right}.order-ensure-page .address-wrap .address{display:block;margin-top:0.5rem;color:#bcbcbc;font-weight:normal}.order-ensure-page .dispatch .title{margin-bottom:0.25rem}.order-ensure-page .dispatch .sub-block:first-child{border-bottom:1px solid #f7f7f7;margin-bottom:0.375rem}.order-ensure-page .dispatch-mode li,.order-ensure-page .dispatch-time li{float:left;padding:0.25rem 0.5rem;margin-right:0.375rem;margin-bottom:0.375rem;border:1px solid #c9c9c9;color:#676767;font-size:0.65rem}.order-ensure-page .dispatch-mode li.chosed,.order-ensure-page .dispatch-time li.chosed{border-color:#000;background:url('../assets/img/shopping-cart/black-right.png?1451300683') no-repeat;background-size:0.75rem;background-position:bottom right}.order-ensure-page .goods{margin-right:-0.5rem}.order-ensure-page .goods .price-wrap{position:static;text-align:left}.order-ensure-page .goods .price-wrap .price{color:#444}.order-ensure-page .goods .price-wrap .count{display:inline;margin-left:0.5rem}.order-ensure-page .goods .name{max-width:10rem}.order-ensure-page .sale-invoice{margin-top:-0.5rem;font-size:0.6rem}.order-ensure-page .sale-invoice li{height:2.25rem;line-height:2.25rem;border-bottom:1px solid #f7f7f7;overflow:hidden}.order-ensure-page .sale-invoice li a{display:block}.order-ensure-page .sale-invoice .coupon-count{padding:0.125rem 0.375rem;background:#f00;color:#fff;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;margin-left:0.5rem}.order-ensure-page .sale-invoice .coupon-use{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;float:right;padding-right:0.75rem;color:#999;text-align:right;width:8rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.order-ensure-page .sale-invoice .coupon-use .iconfont{position:absolute;top:0;right:0;color:#999}.order-ensure-page .sale-invoice .checkbox{display:inline-block;width:2rem;text-align:center;margin-right:-0.5rem}.order-ensure-page .sale-invoice .coin-check{float:right;color:#999}.order-ensure-page .sale-invoice .coin-check .checkbox{margin-left:0.125rem;color:#000}.order-ensure-page .sale-invoice .coin-check.used{color:#f00}.order-ensure-page .sale-invoice .coin-check em{color:#f00}.order-ensure-page .sale-invoice .checkbox.icon-checkbox{color:#ccc}.order-ensure-page .sale-invoice .invoice .checkbox{float:right}.order-ensure-page .sale-invoice .invoice.focus{height:auto}.order-ensure-page .sale-invoice .desc{color:#999}.order-ensure-page .block input,.order-ensure-page .block textarea{box-sizing:border-box;margin:0.5rem 0;padding:0 0.3rem;width:100%;height:1.8rem;color:#444;background:#efefef;font-size:0.6rem;line-height:1;outline:0;border:0;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.order-ensure-page .block textarea{padding:0.3rem;height:auto;resize:none}.order-ensure-page #invoice{border-top:1px solid #f7f7f7}.order-ensure-page #invoice label{display:block;border-top:1px solid #f7f7f7}.order-ensure-page #invoice select{position:relative;float:right;width:40%;height:1.25rem;top:0.5rem;border:1px solid #f7f7f7}.order-ensure-page #msg{padding-top:0.5rem}.order-ensure-page #msg input{margin:0}.order-ensure-page .total{font-size:0.55rem;margin-top:0.5rem}.order-ensure-page .total span{display:inline-block;width:3.25rem}.order-ensure-page .cost{border-top:1px solid #f7f7f7;line-height:2.5rem;margin-top:0.25rem;font-size:0.85rem}.order-ensure-page .cost em{color:#f00}.order-ensure-page .pay-mode{background:#fff;padding:0 0.5rem;margin-top:-0.55rem}.order-ensure-page .pay-mode li{height:2.2rem;line-height:2.2rem;margin-bottom:0.7rem;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;font-size:0.8rem;color:#fff;text-align:center;background:#000}.order-ensure-page .pay-mode .default{background:#57b038}.order-ensure-page .pay-mode .iconfont{margin-right:0.5rem;font-size:0.8rem}.select-coupon-page{margin-top:0.75rem;margin-bottom:0.75rem}.select-coupon-page #new-coupon{margin-bottom:0.75rem;padding-left:0.75rem;padding-right:0.75rem;font-size:0.6rem}.select-coupon-page #new-coupon input{padding:0 0.3rem;width:9.6rem;height:2rem;border:1px solid #b0b0b0;border-radius:.1rem;outline:0}.select-coupon-page #new-coupon .submit{margin-left:0.75rem;width:3.25rem;height:2rem;color:#fff;background:#b0b0b0;border-radius:.1rem;border:none;outline:0}.select-coupon-page .coupon-list .employ-main:first-child{margin-top:0}.select-coupon-page .coupon-list .employ-main:last-child{margin-bottom:0}.select-coupon-page .not-avaliable-coupon-line:before,.select-coupon-page .not-avaliable-coupon-line:after{content:'';position:absolute;top:50%;border-top:1px solid #b0b0b0;width:3rem;height:0}.select-coupon-page .not-use{display:block;width:14rem;margin:0.75rem auto 0;text-align:center;font-size:0.8rem;line-height:2.5;border:1px solid #444;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.select-coupon-page .not-avaliable-coupon-line{position:relative;margin-top:0.75rem;margin-bottom:0.75rem;font-size:0.7rem;line-height:2;color:#b0b0b0;text-align:center}.select-coupon-page .not-avaliable-coupon-line:before{left:1.5rem}.select-coupon-page .not-avaliable-coupon-line:after{right:1.5rem}.select-coupon-page .not-avaliable{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.select-address-page{padding-bottom:0.5rem}.select-address-page .add-address{margin-bottom:0}.icon-checkbox:before{content:"\e61c"}.icon-cb-checked:before{content:"\e61d"}.shopping-cart-page{margin-bottom:3rem;overflow-x:hidden;background:#f0f0f0;display:none}.shopping-cart-page .yoho-tip{z-index:4}.shopping-cart-page .cart-content>*{background:#fff}.shopping-cart-page .cart-content>*:first-child{border-top:none;margin-top:0}.shopping-cart-page .cart-nav{color:#c6c6c6;border-bottom:1px solid #e0e0e0;background:#fff}.shopping-cart-page .cart-nav li{float:left;width:50%;padding:0.75rem 0;height:0.75rem}.shopping-cart-page .cart-nav li.active{color:#000}.shopping-cart-page .cart-nav span{display:block;box-sizing:border-box;width:100%;height:0.75rem;line-height:0.75rem;font-size:0.75rem;text-align:center}.shopping-cart-page .cart-nav li:first-child span{border-right:1px solid #e0e0e0}.shopping-cart-page .cart-nav li:last-child{position:relative}.shopping-cart-page .cart-nav .presell-tip{position:absolute;z-index:1;left:-2rem;top:1.75rem}.shopping-cart-page .cart-nav .triangle{width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:12px solid #000;margin-left:6rem}.shopping-cart-page .cart-nav .pt-content{position:relative;padding:10px;background:#000;color:#fff;font-size:12px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;text-align:center;width:7rem}.shopping-cart-page .login-info{height:1.15rem;padding:0.425rem 0.5rem;color:#24acaa;text-align:center;font-size:0.7rem}.shopping-cart-page .login-info .btn{display:inline-block;background:#ed0010;color:#fff;width:2rem;height:1.15rem;line-height:1.15rem}.shopping-cart-page .presell-info{height:1.5rem;padding:0.375rem 0.75rem;font-size:0.55rem;background:#f0f0f0;color:#b7b7b7}.shopping-cart-page .presell-info>span{display:block}.shopping-cart-page .presell-info .iconfont{float:left;font-size:1.125rem}.shopping-cart-page .presell-info .txt{height:0.75rem;line-height:0.75rem;margin-left:2rem}.shopping-cart-page .cart-goods{border-bottom:1px solid #e0e0e0;margin-bottom:0.75rem}.shopping-cart-page .cart-goods .shopping-cart-good:last-child .info{border-bottom:none}.shopping-cart-page .invalid-goods{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;margin:0.75rem 0}.shopping-cart-page .freebie-and-advance-buy{padding:0.5rem;font-size:0.6rem;border-top:1px solid #e0e0e0;margin-bottom:0.75rem}.shopping-cart-page .freebie-and-advance-buy>li{box-sizing:border-box;height:2rem;line-height:2rem;margin-bottom:0.25rem;padding:0 0.5rem;background:#f1f1f1}.shopping-cart-page .freebie-and-advance-buy>li:last-child{margin-bottom:0}.shopping-cart-page .freebie-and-advance-buy>li a{float:right;width:100%}.shopping-cart-page .freebie-and-advance-buy .count{color:#f00;float:right}.shopping-cart-page .freebie-and-advance-buy .icon-right-arrow{color:#8f8f8f;float:right}.shopping-cart-page .activity-title{border-top:1px solid #e0e0e0;font-size:0.8rem;padding:0.5rem 0.5rem 0}.shopping-cart-page .activity{padding:0.2rem 0.5rem 0.5rem 0.8rem;font-size:0.65rem}.shopping-cart-page .activity li:before{content:"";display:inline-block;width:4px;height:4px;background-color:#000;border-radius:50%;margin-right:0.2rem}.shopping-cart-page .price-compute{padding:0.5rem;border-top:1px solid #e0e0e0;font-size:0.7rem}.shopping-cart-page .price-compute .title{display:inline-block;width:4.375rem}.shopping-cart-page .price-compute .minus{float:right}.shopping-cart-page .balance{position:fixed;box-sizing:border-box;bottom:0;width:100%;padding:0.5rem;height:3rem;border-top:1px solid #e0e0e0;background:#fff}.shopping-cart-page .balance .iconfont{position:absolute;top:50%;margin-top:-0.35rem;font-size:0.7rem}.shopping-cart-page .balance p{float:right;margin-right:0.8rem;font-size:0.65rem}.shopping-cart-page .balance p span{display:block;height:1rem;line-height:1rem;color:#d0253b;font-weight:bold}.shopping-cart-page .balance p .tip{color:#666;font-size:0.55rem;text-align:right;font-weight:normal}.shopping-cart-page .balance .btn-balance{float:right;width:3.5rem;height:2rem;line-height:2rem;text-align:center;background:#e01;color:#fff;border:none;font-size:0.7rem}.shopping-cart-page .cart-zero{width:100%;height:auto;padding-top:2rem;padding-bottom:20%}.shopping-cart-page .cart-zero i{font-size:6em;display:block;margin:0 auto;text-align:center;color:#505050}.shopping-cart-page .cart-zero p{display:block;text-align:center;font-size:1.2em;color:#505050;padding:.6rem 0}.shopping-cart-page .cart-zero a{width:27%;height:1.2rem;overflow:hidden;line-height:1.2rem;border:1px solid #505050;border-radius:.2rem;display:block;margin:0 auto;text-align:center}.my-page{color:#444;background:#f0f0f0}.my-page a{color:#444}.my-page .user-info{display:block;position:relative;padding:0 0.75rem;color:#fff;font-size:0.85rem;line-height:4.2rem;height:4.2rem;background:url('../assets/img/me/index/header-bg.jpg?1451300683');background-size:cover}.my-page .user-info .user-avatar{float:left;position:relative;top:0.4rem;width:3.15rem;height:3.15rem;border-radius:50%;border:0.15rem solid #a7a8a9;background-image:url('../assets/img/me/index/user-avatar.png?1451300683');background-size:100%}.my-page .user-info .username{float:left;padding:0 0.4rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:7.25rem}.my-page .user-info .vip-icon{display:inline-block;width:1.8rem;height:0.8rem;vertical-align:middle}.my-page .user-info .vip-3{background-image:url('../assets/img/me/vip-s37835e0663.png');background-repeat:no-repeat;background-position:0 -2.1rem;background-size:1.8rem 2.9rem}.my-page .user-info .vip-2{background-image:url('../assets/img/me/vip-s37835e0663.png');background-repeat:no-repeat;background-position:0 -1.05rem;background-size:1.8rem 2.9rem}.my-page .user-info .vip-1{background-image:url('../assets/img/me/vip-s37835e0663.png');background-repeat:no-repeat;background-position:0 0;background-size:1.8rem 2.9rem}.my-page .user-info .more-icon{position:absolute;top:1rem;right:0.75rem;width:2.2rem;height:2.2rem;line-height:2.2rem;text-align:center}.my-page .user-info .more-icon.highlight{background:rgba(200,200,200,0.1) !important}.my-page .login-btn{display:block;position:absolute;top:1rem;left:4.85rem;width:6.1rem;height:2.05rem;line-height:2.05rem;color:#fff;border:0.1rem solid #fff;text-align:center}.my-page .my-link{margin-bottom:0.75rem;padding:0.15rem 0;text-align:center;background:rgba(0,0,0,0.8);height:1.9rem}.my-page .my-link .link-item{position:relative;float:left;color:#fff;font-size:0.7rem;width:8rem}.my-page .my-link .link-item.highlight{background:rgba(200,200,200,0.1) !important}.my-page .my-link .link-item p{font-size:0.6rem}.my-page .my-link .link-item:after{content:'';position:absolute;right:0;top:0.6rem;width:0;height:1.1rem;border-right:1px solid #fff}.my-page .my-link .link-item:last-of-type:after{content:none}.my-page .my-link.no-login{padding:0;height:2.2rem}.my-page .my-link.no-login .link-item p{font-size:0.8rem;line-height:2.2rem}.my-page .my-order{margin-bottom:0.75rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.my-page .my-order .order-title{display:block;padding:0 0.75rem;font-size:16px;line-height:2.2rem}.my-page .my-order .order-title span{color:#e0e0e0;float:right}.my-page .my-order .order-title.highlight{background:#eee}.my-page .my-order .order-type{padding:0.5rem 0.75rem;text-align:center;border-top:1px solid #e0e0e0}.my-page .my-order .order-type .type-item{position:relative;float:left;color:#444;font-size:14px;line-height:1.5;width:4.825rem}.my-page .my-order .order-type .type-item.highlight{background:#eee}.my-page .my-order .order-type .type-item .num{position:absolute;top:-0.6rem;right:0.9rem;width:1.8rem;height:1.8rem;font-size:1rem;line-height:1.8rem;color:#fff;background:#f03d35;text-align:center;border-radius:50%;-moz-transform:scale(0.5);-ms-transform:scale(0.5);-webkit-transform:scale(0.5);transform:scale(0.5)}.my-page .my-order .order-type .iconfont{font-size:1rem}.my-page .group-list{margin-bottom:0.75rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.my-page .group-list .list-item{display:block;position:relative;padding:0 0.75rem;font-size:16px;line-height:2.2rem}.my-page .group-list .list-item.highlight{background:#eee}.my-page .group-list .list-item:after{content:'';position:absolute;right:0;bottom:0;width:13.5rem;height:0;border-top:1px solid #e0e0e0}.my-page .group-list .list-item:last-child:after{content:none}.my-page .group-list .icon{margin-right:0.25rem;font-size:1.25rem}.my-page .group-list .num{color:#e0e0e0;float:right}.vip-grade-page{background:#f0f0f0;padding-bottom:0.75rem}.vip-grade-page .block{padding:0 0.75rem;margin-bottom:0.75rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.vip-grade-page .basic-info{padding-top:0.75rem;padding-bottom:0.625rem}.vip-grade-page .basic-info p{width:100%;height:auto;overflow:hidden;display:block}.vip-grade-page .basic-info span{overflow:hidden}.vip-grade-page .basic-info .user-name{float:left;max-width:6rem;text-overflow:ellipsis;white-space:nowrap;font-size:0.625rem;margin-right:0.5rem}.vip-grade-page .basic-info .vip-icon{float:left;width:1.8rem;height:0.8rem;line-height:0.9rem}.vip-grade-page .basic-info .vip-3{background-image:url('../assets/img/me/vip-s37835e0663.png');background-repeat:no-repeat;background-position:0 -2.1rem;background-size:1.8rem 2.9rem}.vip-grade-page .basic-info .vip-2{background-image:url('../assets/img/me/vip-s37835e0663.png');background-repeat:no-repeat;background-position:0 -1.05rem;background-size:1.8rem 2.9rem}.vip-grade-page .basic-info .vip-1{background-image:url('../assets/img/me/vip-s37835e0663.png');background-repeat:no-repeat;background-position:0 0;background-size:1.8rem 2.9rem}.vip-grade-page .basic-info .grade-desc{margin-top:0.5rem;font-size:0.55rem;color:#b0b0b0}.vip-grade-page .basic-info .sum-cost{font-size:0.55rem}.vip-grade-page .basic-info .sum-cost>span{font-style:italic;font-size:0.7rem;color:#d1021c}.vip-grade-page .basic-info .progresser{position:relative;width:100%;height:0.5rem;padding:0.5rem 0}.vip-grade-page .basic-info .outer{height:0.5rem;background:#e6e6e6;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}.vip-grade-page .basic-info .inner{position:absolute;top:0.5rem;height:0.5rem;background:#d1021c;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}.vip-grade-page .basic-info .beacon{position:absolute;margin-top:0.125rem;font-style:italic}.vip-grade-page .basic-info .beacon-max{right:0}.vip-grade-page .basic-info .cost-limit{position:absolute;top:-0.125rem;right:0;color:#b0b0b0}.vip-grade-page .basic-info .cost-gap{color:#000;margin:0 0.2rem}.vip-grade-page .basic-info .sub-desc{display:block}.vip-grade-page .cost{padding:0 0 0 0.75rem}.vip-grade-page .cost li{height:2.25rem;line-height:2.25rem;font-size:0.75rem;padding-right:0}.vip-grade-page .cost li:first-child{border-bottom:1px solid #e0e0e0}.vip-grade-page .cost li>span{float:right;padding:0 0.75rem 0 0}.vip-grade-page .privilege{padding-right:0;padding-bottom:1rem}.vip-grade-page .privilege .title{height:2.25rem;line-height:2.25rem;font-size:0.75rem;border-bottom:1px solid #e0e0e0}.vip-grade-page .all-privilege{display:block;height:2.25rem;line-height:2.25rem;font-size:0.75rem;margin-bottom:0}.vip-grade-page .all-privilege .iconfont{float:right;color:#e0e0e0}.vip-privilege-page{padding:0 0.5rem}.privilege-list{background:#fff}.privilege-list .icon{float:left;display:block;width:1.75rem;height:1.75rem}.privilege-list li{height:1.75rem;padding:0.625rem 0}.privilege-list P{font-size:0.7rem;margin-left:2.5rem}.privilege-list span{display:block;color:#b0b0b0;font-size:0.55rem}.order-page{background:#f0f0f0}.order-page .order{position:relative;display:block;background:#fff;margin:0.75rem 0;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.order-page .order:last-child{margin-bottom:0}.order-page .order .header,.order-page .order .footer{height:2.25rem;line-height:2.25rem;font-size:0.75rem;padding:0 0.75rem}.order-page .order .header{border-bottom:1px solid #e0e0e0}.order-page .order .order-status{float:right}.order-page .order .footer{text-align:right;border-top:1px solid #e0e0e0}.order-page .order .sum-cost{color:#e01;margin-left:5px}.order-page .order .order-opt{padding:0.75rem 0;padding-right:0.75rem;border-top:1px solid #e0e0e0;text-align:right}.order-page .order .order-opt .btn{display:inline-block;box-sizing:border-box;height:1.5rem;line-height:1.5rem;width:3.5rem;font-size:0.6rem;text-align:center;border:1px solid #000;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.order-page .order .order-opt .pay{background:#d0021b;color:#fff;border:none;margin-left:0.5rem}.order-page .no-order{position:absolute;background:#fff;text-align:center;top:50%;margin-top:-5.5rem;width:100%}.order-page .no-order .icon{width:3.825rem;height:4.9rem;background:url('../assets/img/me/no-order.png?1451300683') no-repeat;background-size:100%;margin:0 auto}.order-page .no-order span{display:block;color:#b0b0b0;font-size:0.6rem;margin:0.75rem 0 2rem}.order-page .no-order .walk-way{display:block;height:80rem / pxConvertRem;line-height:2rem;width:70%;margin:0 auto;text-align:center;font-size:0.75rem;color:#fff;background:#444;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.order-nav{border-bottom:1px solid #e0e0e0;background:#fff}.order-nav a{display:block;height:100%;width:100%;color:#b0b0b0}.order-nav>li{float:left;height:2.25rem;width:25%;line-height:2.25rem;color:#b0b0b0;font-size:0.65rem;text-align:center}.order-nav>li.active a{color:#000}.order-good{position:relative;padding:0.5rem 0;margin-left:0.85rem;height:4rem;border-bottom:1px solid #e0e0e0;font-size:0.65rem}.order-good:last-child{border-bottom:none}.order-good .thumb-wrap{position:relative;float:left;width:3rem;height:4rem}.order-good .thumb{width:100%;height:100%}.order-good .tag{position:absolute;bottom:0;left:0;right:0;color:#fff;text-align:center;font-size:12px}.order-good .tag:before{display:block;line-height:1;-moz-transform:scale(0.833);-ms-transform:scale(0.833);-webkit-transform:scale(0.833);transform:scale(0.833)}.order-good .gift-tag{height:0.625rem;background:#a1ce4e}.order-good .gift-tag:before{content:'赠品'}.order-good .advance-buy-tag{height:0.625rem;background:#eb76aa}.order-good .advance-buy-tag:before{content:'加价购'}.order-good .deps{margin-left:3.375rem}.order-good .name{font-size:0.7rem;max-width:70%;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.order-good .row:nth-child(2){height:1.125rem;line-height:1.125rem}.order-good .row:nth-child(2)>span{margin-right:0.375rem}.order-good .color,.order-good .size{color:#b6b6b6}.order-good .price-wrap{position:absolute;top:0.5rem;right:0.75rem;text-align:right}.order-good .price{color:#e01}.order-good .count{display:block;color:#999;text-align:right;line-height:1.125rem}.order-good .appear-date{color:#f00}.order-detail-page{background:#f0f0f0}.order-detail-page .block{position:relative;background:#fff;padding:0.5rem 0.75rem}.order-detail-page .block .iconfont{position:absolute;left:0.75rem;top:50%;font-size:1rem;margin-top:-0.75rem}.order-detail-page .sub{position:relative}.order-detail-page .sub .iconfont{left:0}.order-detail-page .logistics{display:block}.order-detail-page .logistics .icon-right{right:0.625rem;left:auto;color:#b0b0b0}.order-detail-page .logistics .sub-content{border-top:1px solid #e0e0e0;margin-top:0.5rem;padding-top:0.5rem}.order-detail-page .owner-info{border-bottom:1px solid #e0e0e0;line-height:1.5}.order-detail-page .beside-icon{margin-left:1.5rem}.order-detail-page .name-phone{font-size:0.75rem}.order-detail-page .name-phone span{float:right}.order-detail-page .address{font-size:0.6rem;margin-top:0.25rem}.order-detail-page .order-status{margin:0.5rem 0;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;padding-right:0}.order-detail-page .sub-content span{display:block;color:#b0b0b0;font-size:0.6rem}.order-detail-page .sub-content .sub-title{display:block;color:#000;font-size:0.65rem}.order-detail-page .goods{padding:0;margin-top:0.5rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.order-detail-page .cost li{font-size:0.7rem}.order-detail-page .cost li span{float:right}.order-detail-page .cost li:last-child span{color:#f00}.order-detail-page .opt{text-align:right;border-top:1px solid #e0e0e0}.order-detail-page .btn{display:inline-block;box-sizing:border-box;width:3.5rem;height:1.5rem;line-height:1.5rem;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;font-size:0.65rem;text-align:center;border:1px solid #000}.order-detail-page .btn-pay{color:#fff;border:none;background:#d0021b;margin-left:0.25rem}.my-coupon-page .employ{width:100%;height:2.25rem;border-bottom:1px solid #e0e0e0;position:relative}.my-coupon-page .employ span{width:49%;height:1.2rem;line-height:1.2rem;overflow:hidden;border-right:2px solid #e0e0e0;margin:0.525rem 0;float:left;text-align:center;font-size:1.2em;color:#b0b0b0}.my-coupon-page .employ span:last-of-type{border:none}.my-coupon-page .employ span.active{color:#444444}.my-coupon-page .coupon-list{width:100%;height:auto;overflow:hidden}.my-coupon-page .coupon-list .employ-main{display:block;width:90.625%;height:4.5rem;overflow:hidden;margin:0.75rem auto;background-image:url('../assets/img/me/employ/employ.jpg?1451300683');background-position:top center;background-repeat:no-repeat;background-size:100% 100%;color:#fff;position:relative}.my-coupon-page .coupon-list .employ-main.focus{background-image:url('../assets/img/me/employ/employ-red.jpg?1451300683')}.my-coupon-page .coupon-list .employ-main span{width:34.482759%;height:100%;float:left;text-align:center;line-height:4.5rem;font-size:50px}.my-coupon-page .coupon-list .employ-main p{width:59.517241%;height:auto;margin:0 3% 0.4em;float:left}.my-coupon-page .coupon-list .employ-main p:first-of-type{margin-top:0.75rem;font-size:16px;height:auto;min-height:42px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.my-coupon-page .coupon-list .employ-main i{width:100%;height:100%;overflow:hidden;display:block;position:absolute;top:0;left:0;background:url('../assets/img/me/employ/employsy.png?1451300683') right top no-repeat;background-size:auto 100%}.my-coupon-page .coupon-list .null{width:100%;height:auto;overflow:hidden;position:absolute;left:0;top:50%;-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.my-coupon-page .coupon-list .null i{width:100%;height:3rem;overflow:hidden;display:block;background:url('../assets/img/me/employ/not.png?1451300683') center top no-repeat;background-size:auto 100%}.my-coupon-page .coupon-list .null p{width:100%;height:auto;overflow:hidden;padding:0.5rem 0 0;font-size:1.2em;text-align:center;color:#444}.my-coupon-page .coupon-list .null a{width:73.75%;height:2rem;overflow:hidden;font-size:1.4em;line-height:2rem;display:block;background:#444444;color:#fff;text-align:center;margin:1.5rem auto 0;-moz-border-radius:0.2rem;-webkit-border-radius:0.2rem;border-radius:0.2rem}.my-coupon-page .none{display:none}.personal-details{width:100%;height:auto;overflow:hidden;margin-top:0.5rem;background-color:#fff;border-bottom:1px solid #e0e0e0}.personal-details ul{width:95%;height:auto;overflow:hidden;float:right}.personal-details ul li{height:2rem;border-bottom:1px solid #e0e0e0}.personal-details ul li:first-of-type{height:2.5rem;line-height:2.5rem}.personal-details ul li .user-avatar{width:100%;height:100%;background-image:url('../assets/img/me/index/user-avatar.png?1451300683');background-size:100%}.personal-details ul li>span{width:42%;height:100%;line-height:2rem;font-size:1.2em;margin-right:8%;float:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.personal-details ul li>span:first-of-type{color:#444}.personal-details ul li>span .head-portrait{width:2.25rem;height:2.25rem;overflow:hidden;float:right;border-radius:50%;border:1px solid #eee}.personal-details ul li>span .grade{width:100%;height:100%;overflow:hidden;display:block;position:relative}.personal-details ul li>span .grade i{width:1.8rem;height:0.8rem;overflow:hidden;display:block;position:absolute;right:1rem;top:50%;-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.personal-details ul li>span .grade span{color:#b0b0b0}.personal-details ul li>span .vip-3{background-image:url('../assets/img/me/vip-s37835e0663.png');background-repeat:no-repeat;background-position:0 -2.1rem;background-size:1.8rem 2.9rem}.personal-details ul li>span .vip-2{background-image:url('../assets/img/me/vip-s37835e0663.png');background-repeat:no-repeat;background-position:0 -1.05rem;background-size:1.8rem 2.9rem}.personal-details ul li>span .vip-1{background-image:url('../assets/img/me/vip-s37835e0663.png');background-repeat:no-repeat;background-position:0 0;background-size:1.8rem 2.9rem}.personal-details ul li>span:last-of-type{color:#b0b0b0;text-align:right}.personal-details ul li:last-of-type{border-bottom:none}.yoho-coin-page .coin-num{font-size:1.4em;text-align:center}.yoho-coin-page .coin-num em{font-size:4em;color:#f00}.yoho-coin-page .coin-num span{width:100%;height:auto;overflow:hidden;display:block;color:#b0b0b0;margin-top:-.6rem}.yoho-coin-page .check{width:100%;height:auto;overflow:hidden;text-align:center;margin-top:.6rem;padding-bottom:1rem;border-bottom:1px solid #b0b0b0}.yoho-coin-page .check a{line-height:1.2rem;border:1px solid #444444;width:30%;height:100%;font-size:1.2em;display:inline-block;border-radius:.6rem}.yoho-coin-page section p{line-height:1.5em}.yoho-coin-page .title{font-size:16px;line-height:20px;font-weight:bold}.yoho-coin-page .sub-title{display:block;font-size:14px;line-height:28px;font-weight:bold}.yoho-coin-page .path{color:#f60}.yoho-coin-page .remark{color:#666}.yoho-coin-page .remark span{color:#9c3}.yoho-favorite-page{width:100%;height:auto}.yoho-favorite-page .fav-tab{width:100%;height:2.2rem;line-height:2.2rem;border-bottom:1px solid #e0e0e0;color:#b0b0b0;font-size:0.65rem}.yoho-favorite-page .fav-tab li{width:50%;height:100%;float:left;text-align:center}.yoho-favorite-page .fav-tab li.active{color:#444}.yoho-favorite-page .fav-tab li:nth-last-of-type(1){float:right;position:relative}.yoho-favorite-page .fav-tab li:nth-last-of-type(1):after{content:'';display:block;width:1px;height:1.1rem;position:absolute;left:0;top:0.55rem;background:#b0b0b0}.yoho-favorite-page .fav-content .fav-type{display:none}.yoho-favorite-page .fav-content .show{display:block}.yoho-favorite-page .fav-content .fav-null{font-size:0.55rem;color:#444;display:block;margin-top:2.5rem;text-align:center}.yoho-favorite-page .fav-content .fav-null:before{content:'';display:block;background-image:url('../assets/img/me/fav-s208089bda2.png');background-repeat:no-repeat;background-position:0 -1.675rem;background-size:4.7rem 6.875rem;width:4.7rem;height:4.275rem;margin:0 auto 1.125rem auto}.yoho-favorite-page .fav-content .go-shopping{width:11.8rem;height:2.2rem;line-height:2.2rem;margin:2rem auto 0 auto;background:#444;text-align:center;color:#fff;display:block;font-size:0.65rem}.yoho-favorite-page .fav-content .fav-product-list{list-style:none;margin-left:0.75rem}.yoho-favorite-page .fav-content .fav-product-list li{height:auto;overflow:hidden;margin-top:0.5rem}.yoho-favorite-page .fav-content .fav-product-list .fav-img-box{width:2.25rem;height:3rem;float:left;margin-right:0.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-img-box img{display:block;overflow:hidden;width:100%;height:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list{color:#444;font-size:0.6rem;border-bottom:1px solid #e0e0e0;padding-bottom:0.5rem;height:3rem;overflow:hidden;position:relative}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list h2{width:10.75rem;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .fav-price .new-price{color:#d1021c}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .fav-price .price-underline{text-decoration:line-through;margin-left:0.375rem;color:#b0b0b0}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .save-price{position:absolute;bottom:0.5rem;left:0;width:100%;min-height:0.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .save-price.save-price-number{text-indent:1.05rem;color:#b0b0b0;padding-top:0.075rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .save-price.save-price-number:before{content:'';display:block;background-image:url('../assets/img/me/fav-s208089bda2.png');background-repeat:no-repeat;background-position:0 -6.075rem;background-size:4.7rem 6.875rem;width:0.8rem;height:0.8rem;position:absolute;top:50%;left:0;margin-top:-0.4rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .save-price.save-price-number span{margin-left:0.375rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .save-price.save-price-number .del-fav{text-indent:0;margin-left:0}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .save-price span{color:#d1021c}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .save-price span.sell-out{padding:0.125rem 0.45rem;color:#fffefe;-moz-border-radius:0.5rem;-webkit-border-radius:0.5rem;border-radius:0.5rem;background:#7f7f7f;font-size:0.55rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .save-price span.del-fav{width:2rem;height:1.5rem;line-height:1.5rem;position:absolute;top:50%;margin-top:-0.75rem;right:0;color:#999;padding-right:0.75rem;text-align:right}.yoho-favorite-page .fav-content .fav-brand-swiper{border-top:1px solid #e0e0e0;border-bottom:0.7rem solid #f0f0f0;position:relative}.yoho-favorite-page .fav-content .fav-brand-swiper:nth-of-type(1){border-top:0}.yoho-favorite-page .fav-content .fav-brand-swiper:after{content:'';position:absolute;left:0;bottom:-2px;border-top:1px solid #e0e0e0;display:block;width:100%;height:1px}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-header{height:2.5rem;padding:0.5rem 0.75rem;display:inline-block;position:relative;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-header .swiper-logo{height:100%;display:inline-block;float:left;margin-right:1.125rem}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-header .swiper-logo>img{max-height:100%;vertical-align:middle}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-header .brand-info{float:left}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-header .brand-info .brand-name{font-size:0.7rem}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-header .brand-info .brand-name b{color:#b0b0b0;font-weight:normal}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-header .brand-info .brand-update{font-size:0.55rem}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-header .brand-info .brand-update b{color:#b0b0b0;font-weight:normal}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-header .brand-info .brand-update .brand-new{color:#86bf4a;margin-right:0.6rem}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-header .brand-info .brand-update .brand-discount{color:#d1021c}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-header .fav-more{width:2.5rem;height:2.5rem;position:absolute;top:0;right:0}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-header .fav-more:after{background-image:url('../assets/img/me/fav-s208089bda2.png');background-repeat:no-repeat;background-position:0 -0.825rem;background-size:4.7rem 6.875rem;width:0.45rem;height:0.725rem;position:absolute;top:50%;right:0.75rem;margin-top:-0.3625rem;content:''}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-container{height:9.125rem;margin:0 0.75rem}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-container .swiper-slide{width:5.625rem;height:100%;float:left;padding-right:0.75rem}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-container .swiper-slide:nth-last-of-type(1){padding-right:0}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-container .swiper-slide img{display:block;width:100%;height:7.5rem;overflow:hidden}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-container .swiper-slide .brand-product{height:1.625rem;line-height:1.625rem;text-align:center;font-size:0.55rem}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-container .swiper-slide .brand-product .price-discount span{color:#d1021c}.yoho-favorite-page .fav-content .fav-brand-swiper .swiper-container .swiper-slide .brand-product .price-discount b{color:#b0b0b0;text-decoration:line-through;font-weight:normal;margin-left:0.325rem}.yoho-favorite-page .fav-load-more,.yoho-favorite-page .fav-brand-load-more{width:100%;height:2rem;line-height:2rem;text-align:center;color:#444}.yoho-favorite-page .fav-load-more.load-background,.yoho-favorite-page .fav-brand-load-more.load-background{background:url('../assets/img/loading.gif?1451300683') center center no-repeat;-moz-background-size:auto 40%;-o-background-size:auto 40%;-webkit-background-size:auto 40%;background-size:auto 40%}.yoho-favorite-page .fav-content-loading{width:100%;height:2rem;background:url('../assets/img/loading.gif?1451300683') center center no-repeat;-moz-background-size:auto 40%;-o-background-size:auto 40%;-webkit-background-size:auto 40%;background-size:auto 40%;position:absolute;top:50%;left:0;margin-top:-1rem}.yoho-suggest-page{width:100%;height:auto}.yoho-suggest-page .suggest-header{text-align:center;color:#fff;font-size:0.65rem;line-height:1.15rem;overflow:hidden;padding-bottom:0.5rem;background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzM4MzgzOCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzUwNTA1MCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background-size:100%;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #383838),color-stop(100%, #505050));background-image:-moz-linear-gradient(#383838,#505050);background-image:-webkit-linear-gradient(#383838,#505050);background-image:linear-gradient(#383838,#505050)}.yoho-suggest-page .suggest-header:before{content:'';display:block;background-image:url('../assets/img/me/suggest-sfa29b6dcbe.png');background-repeat:no-repeat;background-position:0 -3.1rem;background-size:2.6rem 3.975rem;width:2.6rem;height:0.875rem;margin:0.25rem auto 0.375rem auto}.yoho-suggest-page .suggest-content{border-top:1px solid #e0e0e0}.yoho-suggest-page .suggest-content .suggest-item{width:100%;color:#444;border-top:1px solid #e0e0e0;border-bottom:0.75rem solid #f0f0f0;overflow:hidden}.yoho-suggest-page .suggest-content .suggest-item .suggest-item-img{width:100%;overflow:hidden}.yoho-suggest-page .suggest-content .suggest-item .suggest-item-img>img{margin:0 auto;display:block;max-width:100%}.yoho-suggest-page .suggest-content .suggest-item>h2{font-size:0.95rem;margin:0.75rem 0 0.775rem 0;padding:0 0.875rem}.yoho-suggest-page .suggest-content .suggest-item>p{font-size:0.65rem;line-height:1.2rem;padding:0 0.875rem}.yoho-suggest-page .suggest-content .suggest-item .suggest-type{margin-top:0.45rem;height:2.2rem;line-height:2.2rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;color:#b0b0b0;font-size:0.65rem;display:none;text-align:center}.yoho-suggest-page .suggest-content .suggest-item .suggest-type.suggest-active>div{width:50%;height:100%;float:left;text-align:left;padding-left:3.2rem;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.yoho-suggest-page .suggest-content .suggest-item .suggest-type.suggest-active>div:nth-last-of-type(1){padding-left:0;padding-right:3.2rem;text-align:right;float:right}.yoho-suggest-page .suggest-content .suggest-item .suggest-type.suggest-active>div:nth-last-of-type(1)>span{display:inline-block;height:100%;overflow:hidden}.yoho-suggest-page .suggest-content .suggest-item .suggest-type.suggest-active>div:nth-last-of-type(1)>span:nth-of-type(1){-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.yoho-suggest-page .suggest-content .suggest-item .suggest-type>.active{color:#444}.yoho-suggest-page .suggest-content .suggest-item .suggest-type.show{display:block}.yoho-suggest-page .suggest-content .suggest-item .suggest-type.suggest-bad>div>span{display:inline-block;height:100%;overflow:hidden}.yoho-suggest-page .suggest-content .suggest-item .suggest-type.suggest-bad>div>span:nth-of-type(1){-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.yoho-suggest-page .create-new-suggest{display:block;width:100%;height:2.2rem;line-height:2.2rem;text-align:center;font-size:0.75rem;border-top:0.75rem solid #f0f0f0;border-bottom:0.75rem solid #f0f0f0;position:relative}.yoho-suggest-page .create-new-suggest .list-item{padding:0 0.875rem}.yoho-suggest-page .create-new-suggest .new-right{float:right;margin-left:1rem;color:#e0e0e0}.yoho-suggest-page .create-new-suggest a{color:#444;display:inline-block}.yoho-suggest-sub-page{width:100%;background:#f0f0f0}.yoho-suggest-sub-page .suggest-sub-form{background:#fff;width:100%}.yoho-suggest-sub-page .suggest-sub-form #suggest-textarea{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;max-width:100%;min-width:100%;height:6.375rem;max-height:6.375rem;min-height:6.375rem;padding:0.75rem;font-size:0.65rem;line-height:1.2rem;color:#000;display:block;background:#fff;border:none;outline:none}.yoho-suggest-sub-page .suggest-sub-form .img-form{padding:0 0.75rem;padding-top:1rem;overflow:hidden}.yoho-suggest-sub-page .suggest-sub-form .img-form .upload-img-list{float:left}.yoho-suggest-sub-page .suggest-sub-form .img-form .upload-img-list>li{display:block;width:3.25rem;height:3.25rem;float:left;margin-right:0.75rem;background:url('../assets/img/loading.gif?1451300683') center center no-repeat;-moz-background-size:50px;-o-background-size:50px;-webkit-background-size:50px;background-size:50px;position:relative}.yoho-suggest-sub-page .suggest-sub-form .img-form .upload-img-list>li>img{display:block;width:100%;height:100%;overflow:hidden}.yoho-suggest-sub-page .suggest-sub-form .img-form .upload-img-list>li>span{display:block;background-image:url('../assets/img/me/suggest-sfa29b6dcbe.png');background-repeat:no-repeat;background-position:0 0;background-size:2.6rem 3.975rem;width:1.05rem;height:1.05rem;position:absolute;top:-0.525rem;right:-0.525rem}.yoho-suggest-sub-page .suggest-sub-form .img-form .img-add{display:block;width:3.25rem;height:3.25rem;border:1px dashed #e0e0e0;position:relative;text-indent:-1000px;float:left}.yoho-suggest-sub-page .suggest-sub-form .img-form .img-add:after{content:'';display:block;background-image:url('../assets/img/me/suggest-sfa29b6dcbe.png');background-repeat:no-repeat;background-position:0 -1.175rem;background-size:2.6rem 3.975rem;width:1.8rem;height:1.8rem;position:absolute;top:50%;left:50%;margin-top:-0.9rem;margin-left:-0.9rem}.yoho-suggest-sub-page .suggest-sub-form .img-form .img-add input[type="file"]{position:absolute;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=20);opacity:0.2;border:none;outline:none;display:block;width:3.25rem;height:3.25rem;top:0;left:0}.dialog-wrapper{background:rgba(0,0,0,0.5);position:fixed;top:0;right:0;bottom:0;left:0;display:none}.dialog-wrapper .dialog-box{width:13.5rem;-moz-border-radius:0.5rem;-webkit-border-radius:0.5rem;border-radius:0.5rem;background:rgba(255,255,255,0.8);position:absolute;left:50%;margin-left:-6.75rem;font-size:0.75rem;text-align:center;color:#000}.dialog-wrapper .dialog-content{padding:1.5rem 0.75rem}.dialog-wrapper .dialog-footer{border-top:1px solid #ccc;height:2.2rem;line-height:2.2rem}.dialog-wrapper .dialog-footer>span{display:block;width:50%;height:100%;float:left;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.dialog-wrapper .dialog-footer>span:nth-last-of-type(1){border-left:1px solid #ccc;color:#ee0011}.my-address-page{width:100%;background:#f0f0f0}.my-address-page .address-item{display:block;padding:0.5rem 0.75rem;color:#b0b0b0;background:#fff;border-bottom:1px solid #e0e0e0}.my-address-page .address-item .name,.my-address-page .address-item .tel{font-size:0.75rem;line-height:1.4rem;color:#444;font-weight:bold}.my-address-page .address-item .name{display:inline-block;max-width:9.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-address-page .address-item .tel{float:right}.my-address-page .address-item .address-info{font-size:0.6rem;line-height:0.95rem}.my-address-page .address-item .action{font-size:0.8rem;line-height:1.5rem;text-align:right}.my-address-page .address-item .action .edit,.my-address-page .address-item .action .del{display:inline-block;text-align:center;width:1.5rem;height:1.5rem;color:#999}.my-address-page .address-item .action .edit:hover,.my-address-page .address-item .action .del:hover{color:#666}.my-address-page .address-item .action .edit{padding-right:0.5rem}.my-address-page .add-address{display:block;margin-top:0.75rem;margin-bottom:0.75rem;font-size:0.8rem;line-height:2.2rem;color:#444;background:#fff;text-align:center;font-weight:bold;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.my-address-page .confim-mask{position:fixed;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,0.5);z-index:5}.my-address-page .confim-box{position:absolute;left:50%;top:50%;margin-left:-6.75rem;margin-top:-3.6rem;width:13.5rem;text-align:center;color:#444;background:#fff;font-size:0.8rem;font-weight:bold;border-radius:0.25rem}.my-address-page .confim-box .content{line-height:5rem}.my-address-page .confim-box .action{line-height:2.2rem;border-top:1px solid #e0e0e0}.my-address-page .confim-box .action span{display:inline-block;width:6.5rem}.my-address-page .confim-box .action span:first-child{border-right:1px solid #e0e0e0}.my-address-page .confim-box .confim{color:#d0021b}.my-edit-address-page{width:100%;color:#d0d0d0;background:#f0f0f0}.my-edit-address-page .edit-address{padding:0 0.75rem;background:#fff;font-size:0.75rem;line-height:2.2rem;border-bottom:1px solid #e0e0e0}.my-edit-address-page .edit-address label{display:block;position:relative}.my-edit-address-page .edit-address label:after{content:"";position:absolute;right:-0.75rem;bottom:0;width:15.25rem;height:0;border-top:1px solid #e0e0e0}.my-edit-address-page .edit-address label:last-of-type:after{content:none}.my-edit-address-page .edit-address label .iconfont{position:absolute;right:0;top:0}.my-edit-address-page .edit-address input,.my-edit-address-page .edit-address textarea{position:absolute;top:0;right:1rem;width:9rem;height:2.2rem;color:#444;padding:0;border:none;-webkit-appearance:none}.my-edit-address-page .edit-address .address{height:4.4rem}.my-edit-address-page .edit-address textarea{right:0;width:10rem;height:2.9rem;padding:0.5rem 0;resize:none}.my-edit-address-page .submit{margin:0.75rem auto 0;width:11.75rem;height:2.2rem;color:#fff;background:#444;text-align:center;font-size:0.8rem;line-height:2.2rem}.my-edit-address-page .submit.highlight{background:rgba(0,0,0,0.6)}.my-address-list-page{position:relative;width:100%;color:#444;background:#fff}.my-address-list-page li{padding:0 0.75rem;font-size:0.8rem;line-height:2.2rem;border-bottom:1px solid #e0e0e0}.my-address-list-page li .iconfont{float:right;color:#d0d0d0}.my-address-list-page li.highlight{background:#eee}.my-address-list-page li ul{display:none;position:absolute;top:0;left:0;background:#fff;width:100%}.online-service-page{background:#f0f0f0}.online-service-page .question{background:#fff}.online-service-page .question-title{padding:0.5rem 0.75rem;font-size:0.7rem;line-height:1;color:#b0b0b0}.online-service-page .question-tab{padding:0.25rem 0.75rem 0.75rem;font-size:0.8rem;line-height:1.45rem;text-align:center;color:#b0b0b0}.online-service-page .question-tab .current{color:#444}.online-service-page .question-tab .line{margin:0 0.8rem;border-left:1px solid #b0b0b0}.online-service-page .question-list{display:none;border-top:1px solid #ccc;border-bottom:1px solid #ccc}.online-service-page .question-list.current{display:block}.online-service-page .question-list li{font-size:0.7rem;line-height:2.25rem}.online-service-page .question-list li a{display:block;color:#444;width:15.25rem;margin-left:0.75rem;border-bottom:1px solid #ccc}.online-service-page .question-list li .iconfont{float:right;margin-right:0.75rem;color:#ccc;font-size:0.8rem}.online-service-page .question-list li:last-child a{border-bottom:none}.online-service-page .question-list li.highlight{background:#eee}.online-service-page .connect-info{margin-top:30px;font-size:0.7rem;line-height:1.25rem;background:#fff;border-top:1px solid #ccc;border-bottom:1px solid #ccc}.online-service-page .connect-info p{margin-top:0.625rem;margin-left:-1.8rem;line-height:1.5}.online-service-page .connect-info .iconfont{font-size:1.15rem}.online-service-page .connect-info .icon-yoho-enter{color:#ccc;float:right;font-size:0.8rem}.online-service-page .connect-info .connect-item{position:relative}.online-service-page .connect-info .connect-item a{display:block;padding:0.5rem 0.75rem 0.5rem 2.35rem;color:#444}.online-service-page .connect-info .connect-item:after{content:'';position:absolute;right:0;bottom:0;width:13.7rem;height:1px;background:#ccc}.online-service-page .connect-info .connect-item:last-child:after{content:none}.online-service-page .connect-info .connect-item.highlight{background:#eee}.online-service-page .connect-info .icon{display:inline-block;margin-right:0.7rem;margin-left:-1.75rem;vertical-align:middle}.online-service-detail-page{background:#f0f0f0}.online-service-detail-page .qa-list .question-item{margin-bottom:0.8rem;border-top:1px solid #c8c7cc;border-bottom:1px solid #c8c7cc;color:#444;background:#fff}.online-service-detail-page .qa-list .question-item:last-child{margin-bottom:0}.online-service-detail-page .qa-list .question,.online-service-detail-page .qa-list .answer{margin-left:0.75rem;padding:0 1rem 0 0.25rem;font-size:0.75rem;line-height:1.9rem;font-weight:bold}.online-service-detail-page .qa-list .question{position:relative;color:#000}.online-service-detail-page .qa-list .question:after{content:'';position:absolute;left:0;bottom:0;width:100%;border-top:1px solid #c8c7cc}.my-guang-page .null{height:6rem;width:100%;position:absolute;text-align:center;top:50%;margin-top:-3rem}.my-guang-page .null span{color:#b0b0b0;font-size:0.6rem;margin-top:0.5rem}.my-guang-page .icon-null{width:4.7rem;height:4.275rem;background-image:url('../assets/img/me/fav-s208089bda2.png');background-repeat:no-repeat;background-position:0 -1.675rem;background-size:4.7rem 6.875rem;margin:0 auto;margin-bottom:0.75rem}.iHelp{width:100%;height:auto;overflow:hidden}.iHelp ul{width:100%;height:auto;overflow:hidden;display:block;border-top:1px solid #e0e0e0}.iHelp ul li{width:100%;height:2rem;line-height:2.1rem;overflow:hidden;font-size:1.35em;border-bottom:1px solid #e0e0e0;float:right;color:#444444}.iHelp ul li:last-of-type{border-bottom:none}.iHelp ul li span{width:85%;height:100%;overflow:hidden;float:left;padding-left:5%}.iHelp ul li i{color:#e0e0e0}.deal_main{margin:.5rem 3%;font-size:1.2em;widows:94%;overflow:hidden}.browse-record-good{position:relative;padding:0.5rem 0 0.5rem 0.75rem}.browse-record-good .thumb{float:left;width:3rem;height:4rem}.browse-record-good .deps{margin-left:3.375rem;padding:0.5rem 0;border-bottom:1px solid #e0e0e0;margin-bottom:-0.75rem}.browse-record-good .name{font-size:0.7rem;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.browse-record-good .price{margin:0.3rem 0;font-size:16px}.browse-record-good .sale-price{color:#f00}.browse-record-good .sale-price.original-price{color:#000}.browse-record-good .market-price{text-decoration:line-through;color:#b0b0b0}.browse-record-good .sold-out-tag{font-size:16px;line-height:0.75rem;text-align:center;color:#fff;background:#7f7f7f;padding:0.125rem 0.375rem;-moz-border-radius:1rem;-webkit-border-radius:1rem;border-radius:1rem}.browse-record-good .del-icon{position:absolute;right:0.75rem;bottom:0.25rem;color:#999}.browse-record-page .load-more{width:100%;height:1.75rem;line-height:1.75rem;text-align:center}.browse-record-page .no-record{position:absolute;background:#fff;text-align:center;top:50%;margin-top:-5.5rem;width:100%}.browse-record-page .no-record .icon{width:4.9rem;height:5.175rem;background:url('../assets/img/me/no-record.png?1451300683') no-repeat;background-size:100%;margin:0 auto}.browse-record-page .no-record span{display:block;color:#b0b0b0;font-size:0.6rem;margin:0.75rem 0 2.75rem}.browse-record-page .no-record .walk-way{display:block;height:80rem / pxConvertRem;line-height:2rem;width:70%;margin:0 auto;text-align:center;font-size:0.75rem;color:#fff;background:#444;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.logistic-page{background-color:#f0f0f0;border-bottom:1px solid #eee}.logistic-page .overview{height:3rem;line-height:3rem;width:100%;margin-bottom:1rem;background-color:#fff;color:#464646;border-bottom:1px solid #e3e3e3}.logistic-page .overview .left{width:19%;float:left;text-align:center;height:100%}.logistic-page .overview .left .icon{width:2.2rem;height:2.2rem;margin:0 auto;background-size:100%;background-repeat:no-repeat;background-position:center;margin-top:0.4rem}.logistic-page .overview .right{width:81%;float:left;padding-top:0.5rem;padding-bottom:0.5rem;height:2rem}.logistic-page .overview .right div{height:1rem;line-height:1.1rem;color:#595959;font-size:0.6rem}.logistic-page .overview .info{padding-right:0.1rem}.logistic-page .title{height:2.8rem;line-height:2.8rem;background-color:#fff;padding-left:1rem;font-size:1rem;color:#4f4f4f;border-top:1px solid #e3e3e3;border-bottom:1px solid #eee}.logistic-page .detail{background-color:#fff;padding-left:2rem}.logistic-page .timeline-box{border-left:1px solid #e3e3e3;position:relative;padding-left:1.3rem}.logistic-page .timeline-node{position:absolute;top:0.8rem;left:-0.22611rem;display:inline-block;width:0.41rem;height:0.41rem;background-color:#e3e3e3;border-radius:100%}.logistic-page .timeline-box:first-child .timeline-node{background-color:#989898}.logistic-page .timeline-box:first-child .timeline-info-row{color:#606060}.logistic-page .timeline-info{padding:0.5rem 0;border-bottom:1px solid #eee}.logistic-page .timeline-box:last-child .timeline-info{border:none}.logistic-page .timeline-info-row{min-height:1rem;line-height:1rem;font-size:0.7rem;color:#bababa;padding-right:0.8rem}.pay-page{padding:1rem 0.5rem 0}.pay-page .payapp-list{visibility:hidden}.pay-page .box{border:1px solid #eee;border-radius:0.25rem;padding:0.3rem 0.5rem;margin-bottom:0.5rem;display:-moz-box;-moz-box-align:center;display:-webkit-box;-webkit-box-align:center;display:-webkit-flex;-webkit-align-items:center;display:flex;align-items:center}.pay-page .box>div{min-height:1rem;-moz-box-flex:1;display:-moz-box;-moz-bax-align:center;-webkit-box-flex:1;display:-webkit-box;-webkit-bax-align:center;display:-webkit-flex;-webkit-align-items:center;display:flex;align-items:center}.pay-page .box .icon{width:15%;-webkit-flex-basis:15%;flex-basis:15%}.pay-page .box .icon img{width:1.5rem;margin:0}.pay-page .box .icon>div{width:1.5rem;height:1.5rem;background-image:url('../assets/img/layout/pay-icon.png?1451300683');background-size:90%;background-position-y:0.2rem;background-position-x:center;background-repeat:no-repeat}.pay-page .box .app{width:35%;-webkit-flex-basis:35%;flex-basis:35%;font-size:0.8rem;color:#414141}.pay-page .box .hint{width:45%;-webkit-flex-basis:45%;flex-basis:45%;font-size:0.6rem;color:#4b4b4b}.pay-page .box .iconfont{width:5%;-moz-box-pack:end;-webkit-box-pack:end;-webkit-flex-basis:5%;-webkit-justify-content:flex-end;flex-basis:5%;justify-content:flex-end;color:#e0e0e0;font-size:0.7rem}.yoho-coin-new-page{padding-top:0.75rem;text-align:center}.yoho-coin-new-page .coin-num{color:#d0021b;font-size:1.65rem;font-weight:bold;line-height:2.65rem;letter-spacing:0.2rem}.yoho-coin-new-page .info{color:#b0b0b0;font-size:0.6rem;line-height:1}.yoho-coin-new-page .info .dollar{display:inline-block;margin-right:0.15rem;vertical-align:middle;width:0.6rem;height:0.6rem;background:url('../assets/img/me/yoho-coin/dollar.png?1451300683') center center;background-size:100%}.yoho-coin-new-page .more{display:inline-block;margin:0.75rem 0;color:#444;font-size:0.6rem;line-height:0.9rem;width:3.8rem;height:0.9rem;text-align:center;border:1px solid #444;border-radius:0.9rem}.yoho-coin-new-page .coin-tip{margin-bottom:0.75rem;padding:0.5rem 0.75rem;font-size:0.6rem;line-height:0.8rem;color:#dc6870;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.yoho-coin-new-page .coin-tip .icon{display:inline-block;width:0.8rem;height:0.8rem;font-weight:bold;border:2px solid #dc6870;border-radius:50%}.yoho-coin-new-page .banner{margin-bottom:0.75rem}.yoho-coin-detail-page{background:#f0f0f0}.yoho-coin-detail-page .money{width:100%;height:1.75rem;background:#fff;margin-bottom:0.5rem;line-height:1.75rem;font-size:0.75rem;text-indent:1em}.yoho-coin-detail-page .money span{color:#f00;font-weight:bold}.yoho-coin-detail-page .coin-detail{background:#fff;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.yoho-coin-detail-page .detail-item{position:relative;margin-left:0.75rem;border-bottom:1px solid #e0e0e0;color:#444;padding:0.375rem 0}.yoho-coin-detail-page .detail-item .title{width:12rem;font-size:0.7rem;line-height:1rem;font-weight:bold;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yoho-coin-detail-page .detail-item .time{font-size:0.5rem;line-height:0.75rem;color:#b0b0b0}.yoho-coin-detail-page .detail-item .count{position:absolute;right:0;top:0;margin-right:0.75rem;font-size:0.7rem;font-weight:bold;line-height:2.5rem}.yoho-coin-detail-page li:last-child .detail-item{border-bottom:none} +/*# sourceMappingURL=index.css.map */ diff --git a/static/dist/myohobuy/1.3.3/index.css.map b/static/dist/myohobuy/1.3.3/index.css.map new file mode 100644 index 0000000..7e84171 --- /dev/null +++ b/static/dist/myohobuy/1.3.3/index.css.map @@ -0,0 +1,7 @@ +{ +"version": 3, +"mappings": "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", +"sources": ["../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss","../../../sass/index.scss","../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/_support.scss","../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_border-radius.scss","../../../sass/layout/_header.scss","../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_images.scss","../../../sass/layout/_footer.scss","../../../sass/layout/_footer_tab.scss","../../../sass/_good.scss","../../../sass/_lazy-failure.scss","../../../sass/_filter.scss","../../../sass/_loading.scss","../../../sass/passport/_common.scss","../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_appearance.scss","../../../sass/passport/_register.scss","../../../sass/passport/_login.scss","../../../sass/passport/_back.scss","../../../sass/passport/_code.scss","../../../sass/passport/_bind.scss","../../../sass/guang/_tvls.scss","../../../sass/guang/_info.scss","../../../sass/guang/_plus-star.scss","../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_transition.scss","../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_transform.scss","../../../sass/guang/_info-list.scss","../../../sass/guang/_detail.scss","../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_background-size.scss","../../../sass/home/_header-download.scss","../../../sass/home/_banner-top.scss","../../../sass/home/_banner-center.scss","../../../sass/home/_banner-bottom.scss","../../../sass/home/_side-nav.scss","../../../sass/home/_floor-header.scss","../../../sass/home/_hot-brands.scss","../../../sass/home/_fine-brands.scss","../../../sass/home/_creative-life.scss","../../../sass/home/_plus-star.scss","../../../sass/home/_maybe-like.scss","../../../sass/home/_icons-enter.scss","../../../sass/home/_trendsetter-collocation.scss","../../../sass/home/_trend-topics.scss","../../../sass/home/_goods-category.scss","../../../sass/home/_hot-category.scss","../../../sass/home/_home-header.scss","../../../sass/home/_index.scss","../../../sass/category/_brand.scss","../../../sass/category/_index.scss","../../../sass/product/_new-arrival.scss","../../../sass/product/_discount.scss","../../../sass/product/_list.scss","../../../sass/product/_detail.scss","../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_flexbox.scss","../../../sass/product/_comments-consults.scss","../../../sass/product/_product-description.scss","../../../sass/product/_suspend-cart.scss","../../../sass/product/_hot-rank.scss","../../../sass/product/_recommend-for-you.scss","../../../sass/index/_index.scss","../../../sass/index/_search.scss","../../../sass/index/_footer.scss","../../../sass/index/_error.scss","../../../sass/cart/_good.scss","../../../sass/cart/_chose-panel.scss","../../../sass/cart/_gift-advance-good.scss","../../../sass/cart/_order-ensure.scss","../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_box-sizing.scss","../../../sass/cart/_select-coupon.scss","../../../sass/cart/_select-address.scss","../../../sass/cart/_index.scss","../../../sass/me/_home.scss","../../../sass/me/_vip-grade.scss","../../../sass/me/_order.scss","../../../sass/me/_order-detail.scss","../../../sass/me/_coupons.scss","../../../sass/me/_personal-details.scss","../../../sass/me/_yoho-coin.scss","../../../sass/me/_fav.scss","../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/typography/text/_ellipsis.scss","../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_deprecated-support.scss","../../../sass/me/_suggest.scss","../../../../../../Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_opacity.scss","../../../sass/me/_address.scss","../../../sass/me/_online-service.scss","../../../sass/me/_my-guang.scss","../../../sass/me/_ihelp.scss","../../../sass/me/_browse-record.scss","../../../sass/me/_logistic.scss","../../../sass/me/_pay.scss","../../../sass/me/_yoho-coin-new.scss","../../../sass/me/_yoho-coin-detail.scss"], +"names": [], +"file": "index.css" +} \ No newline at end of file diff --git a/static/dist/myohobuy/1.3.3/index.js b/static/dist/myohobuy/1.3.3/index.js new file mode 100644 index 0000000..23745da --- /dev/null +++ b/static/dist/myohobuy/1.3.3/index.js @@ -0,0 +1,4 @@ +define("index",["jquery","hammer","swiper","lazyload","mlellipsis","iscroll-probe","handlebars","source-map","index"],function(e,o,t){var n;e("js/common"),e("js/category/entry"),e("js/guang/entry"),e("js/home/entry"),e("js/index/entry"),e("js/passport/entry"),e("js/product/entry"),e("js/me/entry"),e("js/cart/entry"),t.exports=n}),define("js/common",["jquery","hammer"],function(e,o,t){function n(e){var o,t,n=document.cookie;return document.cookie&&""!==document.cookie&&(t=n.indexOf(e+"="),t>-1&&(t+=e.length+1,o=decodeURIComponent(u.trim(n.substring(t,n.indexOf(";",t)))))),o}function a(e,o,t){var n,a,i,s,r="";"undefined"!=typeof o&&(t=t||{},null===o&&(o="",t.expires=-1),t.expires&&("number"==typeof t.expires||t.expires.toUTCString)&&("number"==typeof t.expires?(s=new Date,s.setTime(s.getTime()+24*t.expires*60*60*1e3)):s=t.expires,r="; expires="+s.toUTCString()),n=t.path?"; path="+t.path:"",a=t.domain?"; domain="+t.domain:"",i=t.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(o),r,n,a,i].join(""))}function i(){var e=navigator.cookieEnabled?!0:!1;return"undefined"!=typeof navigator.cookieEnabled||e||(document.cookie="testcookie",e=-1!==document.cookie.indexOf("testcookie")?!0:!1),e}function s(){var e,o=n("_UID");return"undefined"==typeof o?0:(e=o.split("::"),"undefined"==typeof e||e.length<4?0:e)}function r(){var e=s();return 0===e?0:e[1]}function d(){var e=n("_g");return"undefined"==typeof e?"":JSON.parse(e).k}function l(){var e;0!==p.length&&(e=Math.min(u(window).height(),window.screen.availHeight),u("body").height()<=e-parseInt(p.css("height"),0)?p.addClass("bottom"):p.removeClass("bottom"))}function c(e){var o=u(e).outerHeight();e&&p.css("margin-bottom",o+"px")}var u=e("jquery"),h=e("hammer"),p=u("#yoho-footer"),f=u(".yoho-page"),m=u(".yoho-header");!function(){var e,o=p.children(".op-row"),t=u(".back-to-top"),n=s();l(),0===n?o.prepend('<a href="http://m.yohobuy.com/signin.html?refer='+location.href+'">登录</a><span class="sep-line">|</span><a href="http://m.yohobuy.com/reg.html">注册</a>'):o.prepend('<span>Hi,</span><a class="user-name" href="http://m.yohobuy.com/home?tmp='+Math.random()+'">'+n[0]+'</a><a href="http://m.yohobuy.com/passport/signout/index?token='+n[3]+'">退出</a>'),t.length>0&&(e=new h(t[0]),e.on("tap",function(e){return u(window).scrollTop(0),e.srcEvent.preventDefault(),!1})),p.removeClass("hide")}(),function(e,o,t,n,a){var i=o.createElement(t),s=o.getElementsByTagName(t)[0];e.YohoAcquisitionObject=a,e[a]=function(){e[a].p=arguments},i.async=1,i.src=n,s.parentNode.insertBefore(i,s)}(window,document,"script","http://cdn.yoho.cn/yas-jssdk/1.0.13.6.3/yas.js","_yas"),function(){var e=r();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.13.6.3","yohobuy_m",e,"","")}(),m.on("touchstart","a",function(){m.find("a").removeClass("highlight"),u(this).addClass("highlight")}).on("touchend touchcancel","a",function(){u(this).removeClass("highlight")}),f.on("touchstart",".tap-hightlight",function(){u(this).siblings(".tap-hightlight").removeClass("highlight"),u(this).addClass("highlight")}).on("touchend touchcancel",".tap-hightlight",function(){u(this).removeClass("highlight")}),function(){var e,o,t=0,n="webkit moz ms o".split(" "),a=window.requestAnimationFrame,i=window.cancelAnimationFrame;for(o=0;o<n.length&&(!a||!i);o++)e=n[o],a=a||window[e+"RequestAnimationFrame"],i=i||window[e+"CancelAnimationFrame"]||window[e+"CancelRequestAnimationFrame"];a&&i||(a=function(e,o){var n=(new Date).getTime(),a=Math.max(0,16-(n-t)),i=window.setTimeout(function(){e(n+a)},a);return t=n+a,i},i=function(e){window.clearTimeout(e)}),window.requestAnimationFrame=a,window.cancelAnimationFrame=i}(),u.extend({queryString:function(){var e,o,t=[],n=window.location.href.slice(window.location.href.indexOf("?")+1).split("&");for(o=0;o<n.length;o++)e=n[o].split("="),t.push(e[0]),t[e[0]]=e[1];return t}}),window.cookie=n,window.setCookie=a,window.isCookiesEnabled=i,window.getUser=s,window.getUid=r,window.getShoppingKey=d,window.rePosFooter=l,window.reMarginFooter=c}),define("js/category/entry",["jquery","hammer","swiper","lazyload","index"],function(e,o,t){e("js/category/index"),e("js/category/brand")}),define("js/category/index",["jquery"],function(e,o,t){var n=e("jquery"),a=n(".category-nav"),i=n(".category-container"),s=i.children(".content"),r=i.find(".sub-level li"),d=i.find(".primary-level li"),l=s.not(".hide");!function(){var e=n(".yoho-header"),o=n("#search-input"),t=n(window).height()-e.outerHeight()-o.outerHeight()-a.outerHeight();i.css("min-height",t),s.height(t)}(),n("#search-input").focus(function(){n(this).blur()}),a.bind("contextmenu",function(e){return!1}),n(".category-container").bind("contextmenu",function(e){return!1}),a.on("touchend touchcancel",function(e){var o=n(e.target).closest("li"),t=o.index();o.hasClass("focus")||(a.find("li.focus").removeClass("focus"),o.addClass("focus"),l.addClass("hide"),l=s.eq(t).removeClass("hide"))}),i.on("touchend",function(e){var o,t,a,i=n(e.target);if(t=i.closest(".p-level-item"),t.length>0){if(a=t.index(),o=i.closest(".content").find(".sub-level"),i.hasClass("focus"))return;i.closest(".primary-level").children(".focus").removeClass("focus"),i.addClass("focus"),o.not(".hide").addClass("hide"),o.eq(a).removeClass("hide")}}),i.find(".primary-level").on("touchstart touchend touchcancel","li",function(){d.removeClass("highlight"),n(this).addClass("highlight")}).on("touchend touchcancel","li",function(){n(this).removeClass("highlight")}),i.find(".sub-level").on("touchstart","li",function(){r.removeClass("highlight"),n(this).addClass("highlight")}).on("touchend touchcancel","li",function(){n(this).removeClass("highlight")}),a.on("touchstart","li",function(){a.find("li").removeClass("bytouch"),n(this).addClass("bytouch")}).on("touchend touchcancel","li",function(){a.find("li").removeClass("bytouch")})}),define("js/category/brand",["jquery","hammer","swiper","lazyload","index"],function(e,o,t){function n(){var e=p(window).scrollTop();v.eq(0).offset().top<l&&r.hide(),v.each(function(){var o=p(this).offset().top-C;e>=o&&r.css({display:"block"}).find("h2").html(p(this).find(".title-bar").text())})}function a(){var e=p(".brand-list").find("p");e.on("touchstart",function(){e.css("background","#fff"),p(this).css("background","#eee")}).on("touchend touchcancel",function(){p(this).css("background","#fff")})}function i(){var e=(u.val()+"").toLowerCase(),o={},t=0,n="";""!==e&&(p.each(c,function(t,n){p.isArray(n)&&p.each(n,function(n,a){a.name.toLowerCase().indexOf(e)>-1&&(o[t]=o[t]||[],o[t].push(a))})}),p.each(o,function(e,o){var a=['<div class="brand-list bar-',t,'">'];t++,a.push('<div class="title-bar"><h2>'),a.push(e),a.push("</h2></div>"),p.each(o,function(e,o){a.push('<p><a href="'+o.url+'">'+o.name),o.isNew&&a.push('<i class="icon-new">NEW</i>'),o.isHot&&a.push('<i class="icon-hot">HOT</i>'),a.push("</a></p>")}),a.push("</div>"),n+=a.join("")})),p(".search-result").html(n),a()}var s,r,d,l,c,u,h,p=e("jquery"),f=e("hammer"),m=e("swiper"),g=e("lazyload"),v=p(".brand-list"),w=p(".search-icon"),y=p(".newbrand-search").outerHeight(),b=p(".yoho-header").outerHeight(),C=parseInt(y)+parseInt(b)-1;d=new m(".brands-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"brands-list",slideElement:"li"}),s=new m(".swiper-container",{lazyLoading:!0,loop:!0,autoplay:3e3,pagination:".swiper-pagination .pagination-inner"}),g(p("img.lazy")),p(".yoho-header").css({"z-index":2,position:"fixed",top:0}),p(".banner-top").length>0&&p(".hot-brands").css("padding-top","0"),r=p('<div class="title-bar fixed-title-bar"><h2></h2></div>'),r.css({position:"fixed",top:C}).hide(),l=C+p(".hot-brands").outerHeight()+p(".banner-top").outerHeight(),v.last().append(r),p(window).scroll(function(){window.requestAnimationFrame(n)}),a(),p(".brand-search-page").length&&(c=p.parseJSON(p("#brands-data").html()),u=p("#keyword"),u.on("input",function(){u.val().length?(w.css("color","#000"),p(this).closest(".search-box").css("width","11.25rem"),p(".search-action").show()):(w.css("color","#b2b2b2"),p(this).closest(".search-box").css("width","12.5rem"),p(".search-action").hide()),i()}).focus(),h=new f(p(".clear-text")[0]),h.on("tap",function(e){e.preventDefault(),p(".search-result").html(""),p("#keyword").val("").trigger("input"),e.srcEvent.stopPropagation()}),p("form.search-box").on("submit",function(){return!1}))}),define("js/guang/entry",["jquery","lazyload","swiper","hammer","mlellipsis","iscroll-probe","index"],function(e,o,t){e("js/guang/plus-star/list"),e("js/guang/plus-star/detail"),e("js/guang/home"),e("js/guang/list"),e("js/guang/detail")}),define("js/guang/plus-star/list",["jquery","lazyload","swiper","index"],function(e,o,t){var n,a=e("jquery"),i=e("lazyload"),s=e("swiper"),r=a("#nav-tab > li"),d=a("#ps-content > .content");i(a("img.lazy")),n=new s(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),a("#nav-tab").bind("contextmenu",function(e){return!1}),a("#nav-tab").on("touchend touchcancel",function(e){var o=a(e.target).closest("li");o.hasClass("focus")||(r.toggleClass("focus"),d.toggleClass("hide"),a(document).trigger("scroll"))}),a("#nav-tab").on("touchstart",function(e){var o=e.target||e.srcElement;o.className="bytouch "+o.className}).on("touchend touchcancel",function(){r.removeClass("bytouch")})}),define("js/guang/plus-star/detail",["jquery","hammer","mlellipsis","lazyload"],function(e,o,t){var n,a,i,s,r=e("jquery"),d=e("hammer"),l=e("mlellipsis"),c=e("lazyload"),u=r("#intro"),h=r("#intro-more-txt"),p=r("#related-infos-container"),f=e("js/guang/info"),m=e("js/plugin/tip"),g=r("#brand-info").data("id"),v=r("#jump-to-app").val();e("js/plugin/wx-share"),l.init(),c(r("img.lazy")),u[0].mlellipsis(3),setTimeout(function(){n=u.text(),a=u.attr("title")}),f.initInfosEvt(p),i=new d(document.getElementById("more-intro")),i.on("tap",function(e){var o=r(e.target).closest("#more-intro");o.toggleClass("spread"),o.hasClass("spread")?(u.text(a),h.text("收起")):(u.text(n),h.text("more"),r(window).scrollTop(0,400)),e.preventDefault()}),s=new d(document.getElementById("brand-like")),s.on("tap",function(e){var o="ok",t=r(e.target);"1"!==v&&(e.preventDefault(),t.hasClass("like")&&(o="cancel"),r.ajax({type:"POST",url:"/guang/opt/favoriteBrand",data:{id:g,opt:o},success:function(e){200===e.code?t.toggleClass("like"):400===e.code||412===e.code?location.href=e.data:m.show(e.message)},error:function(){m.show("网络断开连接了~")}}))})}),define("js/guang/info",["jquery","hammer","mlellipsis","lazyload"],function(e,o,t){function n(e){l(e.find("img.lazy")),e.each(function(){var e=s(this),o=e.find(".info-title"),t=e.find(".info-text");o[0].mlellipsis(2),t[0].mlellipsis(2)})}function a(e){var o;"undefined"!=typeof e&&(o=new r(e[0]),o.on("tap",function(e){var o,t,n=s(e.target),a="ok";return o=n.closest(".like-btn"),o.length>0?(e.preventDefault(),o.hasClass("like")&&(a="cancel"),t=n.closest(".guang-info"),void s.ajax({type:"POST",url:"/guang/opt/praiseArticle",data:{id:t.data("id"),opt:a},success:function(e){var t=e.code;200===t&&(o.next(".like-count").text(e.data),o.toggleClass("like"))},error:function(){c.show("网络断开连接了~")}})):(o=n.closest(".collect-btn"),void(o.length>0&&(e.preventDefault(),o.hasClass("collected")&&(a="cancel"),t=n.closest(".guang-info"),s.ajax({type:"POST",url:"/guang/opt/collectArticle",data:{id:t.data("id"),opt:a},success:function(e){e.code&&200===e.code&&o.toggleClass("collected")},error:function(){c.show("网络断开连接了~")}}))))}),n(e.find(".guang-info")))}function i(e,o,t){var a;m||o.end||(1===o.page&&u.showLoadingMask(),a=e.find(".guang-info").length,m=!0,s.ajax({type:"GET",url:t?t:"/guang/index/page",data:o,success:function(t){var i;return" "===t?(o.end=!0,m=!1,p.addClass("hide"),void f.removeClass("hide")):(e.append(t),i=a>0?e.find(".guang-info:gt("+(a-1)+")"):e.find(".guang-info"),n(i),1===o.page&&(u.hideLoadingMask(),p.removeClass("hide"),window.rePosFooter()),o.page++,void(m=!1))},error:function(){c.show("网络断开连接了~"),m=!1}}))}var s=e("jquery"),r=e("hammer"),d=e("mlellipsis"),l=e("lazyload"),c=e("js/plugin/tip"),u=e("js/plugin/loading"),h=s("#load-more-info"),p=s(""),f=s(""),m=!1;d.init(),h.length>0&&(p=h.children(".loading"),f=h.children(".no-more")),o.initInfosEvt=a,o.setLazyLoadAndMellipsis=n,o.loadMore=i}),define("js/plugin/tip",["jquery"],function(e,o,t){function n(e,o){var t,n;"undefined"!=typeof e&&(t=e.toString(),n=o&&o>0?o:2e3,a.text(t).show(),i=setTimeout(function(){"block"===a.css("display")&&a.hide()},n))}var a,i,s=e("jquery");!function(){var e='<div id="yoho-tip" class="yoho-tip"></div>';s(".yoho-page").append(e),a=s("#yoho-tip"),a.on("touchend",function(){a.hide(),clearTimeout(i)})}(),o.show=n}),define("js/plugin/loading",["jquery"],function(e,o,t){function n(e){var o='<div class="loading-mask hide"><div class="loading"><div></div><div></div><div></div></div></div>';l=!0,void 0===e&&(e=d),e.append(o),s=e.children(".loading-mask")}function a(){l||(n(),l=!0),s.removeClass("hide")}function i(){s.addClass("hide")}var s,r=e("jquery"),d=r(".yoho-page"),l=!1;o.init=n,o.showLoadingMask=a,o.hideLoadingMask=i}),define("js/plugin/wx-share",["jquery"],function(e,o,t){var n=e("jquery");t.exports=function(){var e="http://www.yohoshow.com/api/wechat/getSignPackage";n.getJSON(e+"?pageurl="+encodeURIComponent(location.href.split("#")[0])+"&callback=?",function(e){var o,t,n,a;void 0!==e&&""!==e&&(o=e.appId.toString(),t=e.timestamp,n=e.nonceStr.toString(),a=e.signature.toString(),wx.config({debug:!1,appId:o,timestamp:t,nonceStr:n,signature:a,jsApiList:["checkJsApi","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","hideMenuItems","showMenuItems","hideAllNonBaseMenuItem","showAllNonBaseMenuItem","translateVoice","startRecord","stopRecord","onRecordEnd","playVoice","pauseVoice","stopVoice","uploadVoice","downloadVoice","chooseImage","previewImage","uploadImage","downloadImage","getNetworkType","openLocation","getLocation","hideOptionMenu","showOptionMenu","closeWindow","scanQRCode","chooseWXPay","openProductSpecificView","addCard","chooseCard","openCard"]}))}),wx.ready(function(){var e=n("#shareTitle").val(),o=n("#shareImg").val(),t=n("#shareDesc").val(),a=n("#shareLink").val(),i={title:e,desc:t,imgUrl:o,link:a};wx.onMenuShareAppMessage(i),wx.onMenuShareTimeline(i),wx.onMenuShareQQ(i),wx.onMenuShareWeibo(i)})}}),define("js/guang/home",["jquery","swiper","hammer","mlellipsis","lazyload","index"],function(e,o,t){function n(){var e=f.not(".hide");i(window).scrollTop()+h>=i(document).height()-.25*e.height()&&d(e,w[v])}var a,i=e("jquery"),s=e("swiper"),r=e("js/guang/info"),d=r.loadMore,l=i("#load-more-info"),c=i(""),u=i(""),h=i(window).height(),p=i("#info-list"),f=p.children(".info-list"),m=i("#guang-nav"),g=m.children(".focus"),v=g.data("type"),w={};l.length>0&&(c=l.children(".loading"),u=l.children(".no-more")),a=new s(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination",autoplay:3e3}),r.initInfosEvt(p),function(){var e=i("#gender").val();m.children(".guang-nav-item").each(function(){var o=i(this).data("type"),t=i(this).hasClass("focus");w[o]={page:t?2:1,gender:e,type:o,end:!1}})}(),m.bind("contextmenu",function(e){return!1}),m.on("touchend touchcancel",function(e){var o,t,n=i(e.target).closest(".guang-nav-item");n.hasClass("focus")||(t=n.index(),n.addClass("focus"),g.removeClass("focus"),o=f.eq(t),g=n,v=n.data("type"),1===w[v].page?(c.addClass("hide"),u.addClass("hide"),d(o,w[v])):w[v].end?(c.addClass("hide"),u.removeClass("hide")):(c.removeClass("hide"),u.addClass("hide")),f.not(".hide").addClass("hide"),o.removeClass("hide"),1===w[v].page&&window.rePosFooter())}),i(document).scroll(function(){window.requestAnimationFrame(n)}),m.on("touchstart",function(e){var o=e.target||e.srcElement;o.className="bytouch "+o.className}).on("touchend touchcancel",function(){m.find("li").removeClass("bytouch")})}),define("js/guang/list",["jquery","hammer","mlellipsis","lazyload"],function(e,o,t){function n(){a(window).scrollTop()+r>=a(document).height()-.25*p.height()&&s(p,h)}var a=e("jquery"),i=e("js/guang/info"),s=i.loadMore,r=a(window).height(),d=a("#author-infos"),l=a("#tag"),c=a("#gender"),u=a("#isApp"),h={page:2,end:!1},p=a("#info-list");i.initInfosEvt(p),d.length>0&&a.extend(h,{authorId:d.data("id"),isApp:u.val()}),l.length>0&&a.extend(h,{tag:l.val(),gender:c.val(),isApp:u.val()}),a(window).scroll(function(){window.requestAnimationFrame(n)})}),define("js/guang/detail",["jquery","mlellipsis","lazyload","iscroll-probe"],function(e,o,t){function n(e){var o=e.offset().left,t=-C+o+y/2+"px";r.css({backgroundPosition:t+" bottom"}),v&&b.css({backgroundPosition:t+" bottom"})}function a(e){var o,t,a,i=h(e.currentTarget),p=i.index();i.hasClass("focus")||(d.filter(".focus").removeClass("focus"),v&&(o=i.closest(".fixed-thumb-container").length>0?r:b,t=o.find(".thumb").eq(p),b.find(".thumb.focus").removeClass("focus"),t.addClass("focus")),i.addClass("focus"),n(i),l.not(".hide").addClass("hide"),a=l.eq(p),a.removeClass("hide"),f(a.find(".lazy")),v?u&&u.scrollToElement(c,400):h("body").animate({scrollTop:s.offset().top},400),u&&u.refresh())}function i(){var e,o,t,n,a,i=h("#scroller"),d=h(".yoho-header"),l=0;return d.length>0&&(l=d.outerHeight()),u=new m("#wrapper",{probeType:3,mouseWheel:!0,click:!0}),document.addEventListener("touchmove",function(e){e.preventDefault()},!1),w?(e=h(window).height()-l,a=b[0],o=r.outerHeight(),t=s.outerHeight(),n=s.offset().top-l,void u.on("scroll",function(){var s=-this.y,r=a.className;n-e+o>=s?-1===r.indexOf("fixed-bottom")&&b.addClass("fixed-bottom").removeClass("hide"):n>=s?-1===r.indexOf("hide")&&b.addClass("hide").removeClass("fixed-bottom fixed-top"):n+t-o>=s?-1===r.indexOf("fixed-top")&&b.addClass("fixed-top").removeClass("hide absolute").css("top",""):n+t>=s?(-1===r.indexOf("absolute")&&b.addClass("absolute").removeClass("fixed-top hide"),a.style.top=n+l+t-o-s+"px"):s>n+t&&-1===r.indexOf("hide")&&b.addClass("hide").removeClass("absolute"),i.trigger("scroll")})):void u.on("scroll",function(){i.trigger("scroll")})}var s,r,d,l,c,u,h=e("jquery"),p=e("mlellipsis"),f=e("lazyload"),m=e("iscroll-probe"),g=h(".author .intro"),v=!1,w=h(".collocation-block").length>0?!0:!1,y=0,b=h(""),c=document.querySelector("#wrapper .collocation-block"),C=h(window).width();e("js/plugin/wx-share")(),window.onload=function(){u&&u.refresh()},o.i=function(e){var o=navigator.userAgent.indexOf("iPhone")>0?!0:!1;v=o&&e,p.init(),f(h(".lazy")),h(".info-list .title, .one-good .reco-name").each(function(){this.mlellipsis(2)}),g.offset()&&parseInt(g.offset().left,10)===parseInt(g.css("margin-left"),10)&&g.css("padding-top",0),v&&(h(".yoho-header").length>0?h("#wrapper").addClass("ios has-head"):h("#wrapper").addClass("ios")),w&&(s=h(".collocation-block"),r=s.children(".thumb-container"),d=r.find("li"),l=s.find(".prod"),y=d.width(),v&&(b=h("#wrapper").after(r.clone().addClass("fixed-thumb-container fixed-bottom")).next(".thumb-container"),f(b.find(".lazy"),{event:"sporty"})),n(d.filter(".focus")),r.delegate(".thumb","touchend",a),v&&b.delegate(".thumb","touchend",a)),v&&i()}}),define("js/home/entry",["jquery","swiper","lazyload","hammer","index"],function(e,o,t){e("js/home/home"),e("js/home/maybe-like")}),define("js/home/home",["jquery","swiper","lazyload","hammer","index"],function(e,o,t){function n(){b=!1,f.hasClass("menu-open")&&(f.removeClass("menu-open"),u(".overlay").hide(),u(".sub-nav").removeClass("show"),g.removeClass("on"))}function a(){w+=10,y.css({transform:"rotateX("+w+"deg)","-webkit-transform":"rotateX("+w+"deg)","-moz-transform":"rotateX("+w+"deg)"}),w/90%2===1&&(C?(y.addClass("animate"),C=!1):(y.removeClass("animate"),C=!0)),w/90%2===0&&w%360!==0?window.setTimeout(a,3e3):w%360===0?window.setTimeout(a,6e4):window.requestAnimationFrame(a)}var i,s,r,d,l,c,u=e("jquery"),h=e("swiper"),p=e("lazyload"),f=u(".mobile-wrap"),m=u(".overlay"),g=u(".side-nav"),v=u(".sub-nav"),w=0,y=u(".home-header .logo"),b=!1,C=!0;p(u("img.lazy")),u(".nav-btn").on("touchstart",function(e){return f.addClass("menu-open"),m.show().css("opacity",.3),g.addClass("on"),e.preventDefault(),e.stopPropagation(),b=!0,!1}),u(".overlay").on("touchstart",function(e){return n(),!1}),u(".side-nav").on("touchmove",function(){return!1}),g.on("touchstart","li",function(e){return u(this).find(".sub-nav").size()>0&&(u(".sub-nav").removeClass("show"),u(this).find(".sub-nav").addClass("show")),e.stopPropagation(),e.target.pathname===location.pathname?(n(),!1):void 0}),v.each(function(){u(this).find("li").eq(0).on("touchstart",function(e){return u(".sub-nav").removeClass("show"),e.stopPropagation(),!1})}).on("touchstart",function(e){e.currentTarget!==e.target&&v.find("li").removeClass("current")}),g.children("ul").children("li").on("touchstart",function(){g.children("ul").children("li").css("background","#fff"),u(this).css("background","#eee")}).on("touchend touchcancel",function(){u(this).css("background","#fff")}),u(".banner-swiper").find("li").size()>1&&(i=new h(".banner-swiper",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".banner-top .pagination-inner"})),r=new h(".brands-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"brands-list",slideElement:"li"}),s=new h(".recommend-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"recommend-list",slideElement:"li"}),u(".trend-topic-swiper").find("li").size()>1&&(d=new h(".trend-topic-swiper",{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".trend-topic-content .pagination-inner"})),u(".category-swiper").each(function(e,o){c="category-swiper"+e,u(this).addClass(c),u("."+c).find(".swiper-slide").size()>1&&(l=new h("."+c,{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:"."+c+" .pagination-inner"}))}),setTimeout(a,3e3),u(".home-header .iconfont").on("touchstart",function(){u(this).addClass("highlight")}).on("touchend touchcancel",function(){u(this).removeClass("highlight")}),window.reMarginFooter(".footer-tab"),o.set=function(e){window.setCookie("_Channel",e,{expires:365,domain:".m.yohobuy.com"})},e("js/home/maybe-like")}),define("js/home/maybe-like",["jquery","hammer","lazyload"],function(e,o,t){function n(){v||(v=!0,p.showLoadingMask(),c.ajax({type:"GET",url:r,data:{page:w+1},success:function(e){return" "===e?(v=!1,p.hideLoadingMask(),void(y&&(r="1,3"===y?"/boys/bottomBanner":"/girls/bottomBanner",c.ajax({type:"GET",url:r,success:function(e){e&&e.img&&(c("#load-more-img").show(),c("#load-more-img a").attr("href",e.url),c("#load-more-img a > img").attr("src",e.img))},error:function(){}})))):(s=g.find(".good-info").length,g.append(e),f(0===s?g.find(".good-info").find("img.lazy"):g.find(".good-info:gt("+(s-1)+")").find("img.lazy")),v=!1,p.hideLoadingMask(),void w++)},error:function(){h.show("网络断开连接了~"),v=!1,p.hideLoadingMask()}}))}function a(){c(window).scrollTop()+m>=c(document).height()-200&&n()}var i,s,r,d,l,c=e("jquery"),u=e("hammer"),h=e("js/plugin/tip"),p=e("js/plugin/loading"),f=e("lazyload"),m=c(window).height(),g=c("#goods-list"),v=!1,w=0,y=null,b=c(".mobile-wrap").hasClass("kids-wrap")?!0:!1,C=c(".mobile-wrap").hasClass("lifestyle-wrap")?!0:!1,j=c("#maybe-like-nav");b?r="/product/recom/maylikekids":C?r="/product/recom/maylikelife":(y=c(".mobile-wrap").hasClass("boys-wrap")?"1,3":"2,3",r="/product/recom/maylike?gender="+y),d=j.children(".focus"),C&&(i=new u(j[0]),i.on("tap",function(e){var o,t=c(e.target).closest("li"),n=c(".goods-list");e.preventDefault(),t.hasClass("focus")||(l=t.index(),t.addClass("focus"),d.removeClass("focus"),n.not(".hide").addClass("hide"),o=n.eq(l),o.removeClass("hide"),d=t,c(document).trigger("scroll"),e.srcEvent.stopPropagation())})),p.init(c(".maybe-like")),c(".maybe-like p").on("touchstart",function(e){n()}),c(window).scroll(function(){window.requestAnimationFrame(a)})}),define("js/index/entry",["jquery","hammer"],function(e,o,t){e("js/index/search"),e("js/index/footer"),e("js/index/channel")}),define("js/index/search",["jquery","hammer"],function(e,o,t){var n,a,i=e("jquery"),s=e("js/plugin/security"),r=e("hammer"),d=i("#search-input input"),l=i("#search-input .clear-input"),c=i(".search-icon"),u=i("#search-form"),h=i(".history"),p=i(".history-search"),f=i("#clear-history"),m=e("js/index/write-search"),g=m.getRanToken();n=new r(f[0]),n.on("tap",function(){localStorage.removeItem("historys"),h.html(""),p.hide(),f.hide(),window.rePosFooter()}),d.on("input",function(){""===d.val()?(c.css("color","#b2b2b2"),l.addClass("hide")):(c.css("color","#666"),l.removeClass("hide"))}),a=new r(l[0]),a.on("tap",function(){d.val("").trigger("input")}),i("#search").on("touchend",function(){return s.hasDangerInput()?!1:(i(this).closest("form").submit(),!1)}),function(){var e,o,t,n="";if(localStorage&&(o=localStorage.getItem("historys"),o&&o.length>0)){for(o=o.split(g),t=o.length;t>0;t--)e=o[t-1],""!==e&&(n+='<li><a href="/?query='+e+'">'+e+"</li>");h.html(n),f.removeClass("hide"),p.removeClass("hide"),window.rePosFooter()}}(),m.bindWirteLocal(u)}),define("js/plugin/security",["jquery"],function(e,o,t){function n(e){var o,t,n,s=a("input[type!=hidden], textarea"),r=/['"<>&\|]|--/g,d=s.length,l=void 0===e||"boolean"!=typeof e?!0:e;for(t=0;d>t;t++)if(o=s.eq(t).val(),r.test(o))return l?s.eq(t).val(o.replace(r," ")):(n=o.match(r).join(" "),i.show("不可以输入 "+n+" 哦!")),!l&&!0;return!1}var a=e("jquery"),i=e("js/plugin/tip");o.hasDangerInput=n}),define("js/index/write-search",[],function(e,o,t){function n(){return i}function a(e){e.on("submit",function(){var e,o=this.query.value;if(localStorage){if(e=localStorage.getItem("historys"),e=e?e:"",e.indexOf(i+o+i)>-1)return;""===e&&(o=i+o),e+=o+i,localStorage.setItem("historys",e)}})}var i=" ??++ ";o.getRanToken=n,o.bindWirteLocal=a}),define("js/index/footer",["jquery","hammer"],function(e,o,t){function n(){var e="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445",o=new Date;setTimeout(function(){new Date-o<2e3&&(window.location=e)},500)}var a,i=e("jquery"),s=e("hammer");e("js/common"),i("#float-layer-close").on("touchend",function(e){return i("#float-layer-app").hide(),window.setCookie("_float-layer-app","id490655927",{domain:".yohobuy.com"}),window.setCookie("_float-layer-app-close",1,{domain:".yohobuy.com",expires:1}),!1}),i("#float-layer-btn")&&i("#float-layer-btn")[0]&&(a=new s(i("#float-layer-btn")[0]),a.on("tap",function(e){n("bottom"),e.srcEvent.stopPropagation()}),"function"!=typeof window.cookie||window.cookie("_float-layer-app")?i("#float-layer-app").hide():i("#float-layer-app").show())}),define("js/index/channel",["jquery","hammer"],function(e,o,t){var n=e("jquery"),a=e("js/plugin/security"),i=n(".search-box"),s=n(".box"),r=n(".index-search"),d=n(".index-logo"),l=n(".index-channel a"),c=i.children('input[type="text"]'),u=s.children(".no-search"),h=i.children(".search-icon");e("js/common"),c.on("focus",function(){s.addClass("action"),d.addClass("action")}).on("input",function(){""===c.val()?h.addClass("empty"):h.removeClass("empty")}),u.on("touchend",function(){return s.removeClass("action"),d.removeClass("action"),c.blur(),!1}),i.children(".clear-text").on("touchstart",function(){c.val("").focus().trigger("input")}),i.children(".search-icon").on("touchstart",function(){return a.hasDangerInput()?!1:void r.submit()}),i.keyup(function(e){if(13===e.keyCode){if(a.hasDangerInput())return!1;r.submit()}}),n(".index-channel img").on("load error",function(){window.rePosFooter&&window.rePosFooter()}),l.on("touchstart",function(){l.css({background:"#000",color:"#fff",borderColor:"#fff"}),n(this).css({background:"rgba(255, 255, 255, 0.5)",color:"#000",borderColor:"#000"})}).on("touchend touchcancel",function(){n(this).css({background:"#000",color:"#fff",borderColor:"#fff"})})}),define("js/passport/entry",["jquery","handlebars","source-map","hammer"],function(e,o,t){e("js/passport/register/register"),e("js/passport/register/code"),e("js/passport/register/password"),e("js/passport/login/login"),e("js/passport/login/international"),e("js/passport/back/mobile"),e("js/passport/back/code"),e("js/passport/back/email"),e("js/passport/back/email-success"),e("js/passport/back/new-password"),e("js/passport/bind/bind"),e("js/passport/bind/code"),e("js/passport/bind/password")}),define("js/passport/register/register",["jquery"],function(e,o,t){var n=e("jquery"),a=n("#phone-num"),i=n("#country-select"),s=n("#area-code"),r=n("#btn-next"),d=e("js/passport/api"),l=e("js/plugin/tip"),c=n.trim,u=l.show,h=!1;d.selectCssHack(n("#country-select")),d.bindClearEvt(),a.bind("input",function(){""===c(a.val())?r.addClass("disable"):r.removeClass("disable")}),i.change(function(){s.text(i.val())}),r.on("touchstart",function(){var e=c(a.val()),o=i.val();if(!r.hasClass("disable"))return h?!1:void(d.phoneRegx[o].test(e)?(h=!0,n.ajax({url:"/passport/reg/verifymobile",type:"POST",data:{areaCode:o.replace("+",""),phoneNum:e},success:function(e){200===e.code?location.href=e.data:(u(e.message),h=!1)},error:function(e){u("出错了,请重试"),h=!1}})):u("手机号格式不正确,请重新输入"))})}),define("js/passport/api",["jquery"],function(e,o,t){function n(e){var o,t=r(".has-eye");e&&"open"===e.status?t.append('<div class="eye"></div>'):t.append('<div class="eye close"></div>'),o=t.children(".eye"),o.on("touchstart",function(e){var o=r(this),t=o.siblings(".pwd");e.preventDefault(),o.toggleClass("close"),o.hasClass("close")?t.attr("type","password"):t.attr("type","text"),t.focus()})}function a(){var e,o=r(".has-clear");o.append('<div class="clear-input"></div>'),e=o.children(".clear-input"),e.on("touchstart",function(o){var t=e.siblings(".input");t.val("").trigger("input").focus(),o.preventDefault()}),o.children(".input").bind("input",function(){var e=r(this),o=e.siblings(".clear-input"),t=d(e.val());""===t?o.hide():o.show()})}function i(e){return e.length>=6&&e.length<=20?!0:!1}function s(e){function o(){var o=e.find("option:selected").text().length;switch(o){case 2:e.outerWidth(90);break;case 3:e.outerWidth(110);break;default:e.outerWidth(130)}}var t=navigator.userAgent;t.match(/uc/i)&&t.match(/android/i)?e.change(function(){o()}):e.removeClass("in-android-uc")}var r=e("jquery"),d=r.trim,l=/^([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/,c={"+86":/^1[35847]{1}[0-9]{9}$/,"+852":/^[965]{1}[0-9]{7}$/,"+853":/^[0-9]{8}$/,"+886":/^[0-9]{10}$/,"+65":/^[98]{1}[0-9]{7}$/,"+60":/^1[1234679]{1}[0-9]{8}$/,"+1":/^[0-9]{10}$/,"+82":/^01[0-9]{9}$/,"+44":/^7[789][0-9]{8}$/,"+81":/^0[9|8|7][0-9]{9}$/,"+61":/^[0-9]{11}$/};t.exports={emailRegx:l,phoneRegx:c,bindEyesEvt:n,bindClearEvt:a,pwdValidate:i,selectCssHack:s}}),define("js/passport/register/code",["jquery"],function(e,o,t){e("js/passport/code")(!0)}),define("js/passport/code",["jquery"],function(e,o,t){var n=e("jquery");t.exports=function(o,t){function a(){n.ajax({url:"/passport/bind/bindMobile",type:"post",data:{areaCode:f.replace("+",""),phoneNum:p,openId:h,sourceType:u,nickname:c,password:""},success:function(e){200===e.code?(g.show("登录成功"),setTimeout(function(){location.href=e.data.refer},2e3)):g.show(e.message)},error:function(e){g.show("登录失败,请重试!")}})}function i(){var e,o=59;e=setInterval(function(){0===o?(d.text("重发验证码").removeClass("disable"),clearInterval(e)):d.text("重发验证码 ("+o--+"秒)")},1e3)}var s=n("#captcha"),r=n("#btn-next"),d=n("#captcha-tip"),l=parseInt(n("#isReg").val()),c=n("#nickname").val(),u=n("#sourceType").val(),h=n("#openId").val(),p=n("#phone-num").val(),f=n("#area-code").val().replace("+",""),m=e("js/passport/api"),g=e("js/plugin/tip"),v=n.trim,w=g.show,y=o?"reg":"back";m.bindClearEvt(),s.bind("input",function(){""!==v(s.val())?r.removeClass("disable"):r.addClass("disable")}),d.on("touchstart",function(){d.hasClass("disable")||n.ajax({type:"POST",url:t?"/passport/bind/sendBindMsg":"/passport/"+y+"/sendcode",data:{phoneNum:p,areaCode:f},success:function(e){200===e.code?(d.text("重发验证码 (60秒)").addClass("disable"),i()):w(e.message); +}})}),r.on("touchstart",function(){r.hasClass("disable")||n.ajax({type:"POST",url:t?"/passport/bind/checkBindMsg":"/passport/"+y+"/verifycode",data:{phoneNum:p,areaCode:f,code:v(s.val()),token:n("#token").val()},success:function(e){200===e.code?t?l?a():location.href="/passport/bind/password?phoneNum="+p+"&areaCode="+f+"&openId="+h+"&sourceType="+u+"&nickname="+c:location.href=e.data:w(e.message)}})}),i()}}),define("js/passport/register/password",["jquery"],function(e,o,t){var n=e("jquery"),a=n("#pwd"),i=n("#btn-sure"),s=e("js/passport/api"),r=e("js/plugin/tip"),d=n.trim,l=r.show;s.bindEyesEvt({status:"open"}),a.bind("input",function(){""===d(a.val())?i.addClass("disable"):i.removeClass("disable")}),i.on("touchstart",function(){var e=d(a.val());i.hasClass("disable")||(s.pwdValidate(e)===!1?l("密码6-20位,请重新输入"):n.ajax({type:"POST",url:"/passport/reg/setpassword",data:{password:e,phoneNum:n("#phone-num").val(),areaCode:n("#area-code").val(),token:n("#token").val()},success:function(e){var o;200===e.code?(o=e.data,l("注册成功"),n.ajax({url:o.session,dataType:"jsonp"}),setTimeout(function(){location.href=o.href},1e3)):l(e.message)}}))})}),define("js/passport/login/login",["jquery"],function(e,o,t){function n(){h&&p?l.removeClass("disable"):l.addClass("disable")}function a(){c.show(),u.show()}function i(){c.hide(),u.hide()}var s=e("jquery"),r=s("#account"),d=s("#pwd"),l=s("#btn-login"),c=s("#retrive-pwd-mask"),u=s("#retrive-pwd-ways"),h=!1,p=!1,f=e("js/passport/api"),m=e("js/plugin/tip"),g=s.trim,v=m.show;f.bindEyesEvt(),f.bindClearEvt(),r.bind("input",function(){h=""!==g(r.val())?!0:!1,n()}),d.bind("input",function(){p=""===g(d.val())?!1:!0,n()}),l.on("touchstart",function(){var e=g(r.val()),o=g(d.val());l.hasClass("disable")||(l.text("正在登录...").addClass("disable"),(/^[0-9]+$/.test(e)||f.emailRegx.test(e))&&f.pwdValidate(o)?s.ajax({type:"POST",url:"/passport/login/auth",data:{account:e,password:o},success:function(e){var o,t;200===e.code?(o=e.data,s.ajax({url:o.session,dataType:"jsonp",success:function(){clearTimeout(t),setTimeout(function(){location.href=o.href},1e3)}}),t=setTimeout(function(){location.href=o.href},3e3),v("登录成功")):v(e.message)},error:function(){v("网络断开连接啦~")},complete:function(){l.text("登录").removeClass("disable")}}):(v("账号或密码有错误,请重新输入"),l.text("登录").removeClass("disable")))}),s("#forget-pwd").on("touchstart",function(){a()}),c.on("touchstart",function(){i()}),s("#cancel-retrive").on("touchstart",function(e){e.preventDefault(),i()}),r.trigger("input"),d.trigger("input")}),define("js/passport/login/international",["jquery"],function(e,o,t){function n(){c&&u?l.removeClass("disable"):l.addClass("disable")}var a=e("jquery"),i=a("#phone-num"),s=a("#country-select"),r=a("#area-code"),d=a("#pwd"),l=a("#btn-login"),c=!1,u=!1,h=e("js/passport/api"),p=e("js/plugin/tip"),f=a.trim,m=p.show;h.selectCssHack(s),h.bindEyesEvt(),h.bindClearEvt(),i.bind("input",function(){c=""===f(i.val())?!1:!0,n()}),d.bind("input",function(){var e=f(d.val());u=""===e?!1:!0,n()}),s.change(function(){r.text(s.val())}),l.on("touchstart",function(){var e=f(i.val()),o=s.val(),t=f(d.val());l.hasClass("disable")||(l.text("正在登录...").addClass("disable"),h.phoneRegx[o].test(e)&&h.pwdValidate(t)?a.ajax({type:"POST",url:"/passport/login/auth",data:{areaCode:o.replace("+",""),account:e,password:t},success:function(e){var o,t;200===e.code?(o=e.data,m("登录成功"),a.ajax({url:o.session,dataType:"jsonp",success:function(){clearTimeout(t),setTimeout(function(){location.href=o.href},1e3)}}),t=setTimeout(function(){location.href=o.href},3e3),m("登录成功")):m(e.message)},error:function(){m("网络断开连接啦~")},complete:function(){l.text("登录").removeClass("disable")}}):(m("账号或密码有错误,请重新输入"),l.text("登录").removeClass("disable")))}),i.trigger("input"),d.trigger("input")}),define("js/passport/back/mobile",["jquery"],function(e,o,t){var n=e("jquery"),a=n("#phone-num"),i=n("#country-select"),s=n("#area-code"),r=n("#btn-next"),d=e("js/passport/api"),l=e("js/plugin/tip"),c=n.trim,u=l.show;d.selectCssHack(n("#country-select")),d.bindClearEvt(),a.bind("input",function(){""===c(a.val())?r.addClass("disable"):r.removeClass("disable")}),i.change(function(){s.text(i.val())}),r.on("touchstart",function(){var e=c(a.val()),o=i.val();r.hasClass("disable")||(d.phoneRegx[o].test(e)?n.ajax({url:"/passport/back/sendcode",type:"POST",data:{areaCode:o.replace("+",""),phoneNum:e},success:function(e){200===e.code?location.href=e.data:u(e.message)}}):u("手机号格式不正确,请重新输入"))})}),define("js/passport/back/code",["jquery"],function(e,o,t){e("js/passport/code")(!1)}),define("js/passport/back/email",["jquery"],function(e,o,t){var n=e("jquery"),a=n("#email"),i=n("#btn-sure"),s=e("js/passport/api"),r=e("js/plugin/tip"),d=n.trim,l=r.show;s.bindClearEvt(),a.bind("input",function(){""===d(a.val())?i.addClass("disable"):i.removeClass("disable")}),i.on("touchstart",function(){var e=d(a.val());i.hasClass("disable")||(s.emailRegx.test(e)?n.ajax({url:"/passport/back/sendemail",type:"POST",data:{email:e},success:function(e){200===e.code?location.href=e.data:l(e.message)}}):l("邮箱格式不正确,请重新输入"))})}),define("js/passport/back/email-success",["jquery"],function(e,o,t){var n=e("jquery"),a=n("#resend"),i=e("js/plugin/tip"),s=i.show;a.on("touchstart",function(e){e.preventDefault(),n.ajax({url:a.data("url"),type:"GET",success:function(e){s(200===e.code?e.message:e.message)}})})}),define("js/passport/back/new-password",["jquery"],function(e,o,t){var n=e("jquery"),a=n("#pwd"),i=n("#btn-ok"),s=e("js/passport/api"),r=e("js/plugin/tip"),d=n.trim,l=r.show,c=n("#phone-num");s.bindEyesEvt({status:"open"}),a.bind("input",function(){""===d(a.val())?i.addClass("disable"):i.removeClass("disable")}),i.on("touchstart",function(){var e,o,t=d(a.val()),r=!0;i.hasClass("disable")||(e={password:t},0===c.length&&(r=!1),r?(n.extend(e,{phoneNum:c.val(),areaCode:n("#areaCode").val(),token:n("#token").val()}),o="/passport/back/passwordByMobile"):(n.extend(e,{code:n("#email-code").val()}),o="/passport/back/passwordByEmail"),s.pwdValidate(t)?n.ajax({type:"POST",url:o,data:e,success:function(e){200===e.code?(l("密码修改成功"),setTimeout(function(){location.href=e.data},1e3)):l(e.message)}}):l("密码6-20位,请重新输入"))})}),define("js/passport/bind/bind",["jquery","handlebars","source-map","hammer"],function(e,o,t){function n(e,o,t){return v?!1:(v=!0,u.addClass("disable").html("绑定中..."),void a.ajax({type:"POST",url:"/passport/bind/sendBindMsg",data:{phoneNum:o,areaCode:t.replace("+","")},success:function(o){location.href=e},error:function(){p.show("出错了,请重试!"),u.removeClass("disable").html("下一步"),v=!1}}))}var a=e("jquery"),i=a("#phone-num"),s=a("#country-select"),r=a("#area-code"),d=a("#openId"),l=a("#nickname"),c=a("#sourceType"),u=a("#btn-next"),h=e("js/passport/api"),p=e("js/plugin/tip"),f=e("js/me/dialog"),m=a.trim,g=p.show,v=!1;h.selectCssHack(a("#country-select")),h.bindClearEvt(),i.bind("input",function(){""===m(i.val())?u.addClass("disable"):u.removeClass("disable")}),s.change(function(){r.text(s.val())}),u.on("touchstart",function(){var e=m(i.val()),o=m(d.val()),t=m(l.val()),r=m(c.val()),p=s.val();u.hasClass("disable")||(h.phoneRegx[p].test(e)?a.ajax({url:"/passport/bind/bindCheck",type:"POST",data:{areaCode:p.replace("+",""),phoneNum:e,openId:o,sourceType:r,nickname:t},success:function(o){200===o.code?1===o.data.isReg?f.showDialog({dialogText:"该手机号已注册过有货\n"+e+",确定绑定吗?",hasFooter:{leftBtnText:"更换号码",rightBtnText:"继续绑定"}},function(){n(o.data.next,e,p)}):n(o.data.next,e,p):g(o.message)}}):g("手机号格式不正确,请重新输入"))})}),define("js/me/dialog",["jquery","handlebars","source-map","hammer"],function(e,o,t){function n(){return void 0===i&&(i='<div id="dialog-wrapper" class="dialog-wrapper"><div class="dialog-box">{{# hasHeader}}{{/ hasHeader}}<div class="dialog-content">{{dialogText}}</div>{{# hasFooter}}<div class="dialog-footer">{{# leftBtnText}}<span class="dialog-left-btn">{{.}}</span>{{/ leftBtnText}}{{# rightBtnText}}<span class="dialog-right-btn">{{.}}</span>{{/ rightBtnText}}</div>{{/ hasFooter}}</div></div>',s=d.compile(i)),s}var a,i,s,r=e("jquery"),d=e("handlebars"),l=e("hammer");o.showDialog=function(e,o,t){var i,s,d,c=n(),u=c(e);r(".dialog-wrapper").remove(),r("body").append(r(u)),i=r(".dialog-box"),a=r(".dialog-wrapper"),d=new l(document.getElementById("dialog-wrapper")),e.fast?a.css({display:"block"}):a.fadeIn(),i.css({top:"50%",marginTop:-(i.height()/2)}),e.autoHide&&(s=1e3,e.autoHide>1&&(s=e.autoHide),setTimeout(function(){a.fadeOut()},s)),a.on("touchmove",function(){return!1}),d.on("tap",function(e){r(e.target).hasClass("dialog-left-btn")?("function"==typeof t&&t(),a.fadeOut()):r(e.target).hasClass("dialog-right-btn")&&o(),e.preventDefault(),e.srcEvent.stopPropagation()})},o.hideDialog=function(){r(".dialog-wrapper").remove()}}),define("js/passport/bind/code",["jquery"],function(e,o,t){e("js/passport/code")(!0,!0)}),define("js/passport/bind/password",["jquery"],function(e,o,t){function n(e){a.ajax({url:"/passport/bind/bindMobile",type:"post",data:{areaCode:m.replace("+",""),phoneNum:f,openId:p,sourceType:h,nickname:u,password:e},success:function(e){200===e.code?(d.show("登录成功"),setTimeout(function(){location.href=e.data.refer},2e3)):d.show(e.message)},error:function(e){d.show("登录失败,请重试!")}})}var a=e("jquery"),i=a("#pwd"),s=a("#btn-sure"),r=e("js/passport/api"),d=e("js/plugin/tip"),l=a.trim,c=d.show,u=a("#nickname").val(),h=a("#sourceType").val(),p=a("#openId").val(),f=a("#phone-num").val(),m=a("#area-code").val().replace("+","");r.bindEyesEvt({status:"open"}),i.bind("input",function(){""===l(i.val())?s.addClass("disable"):s.removeClass("disable")}),s.on("touchstart",function(){var e=l(i.val());s.hasClass("disable")||(r.pwdValidate(e)===!1?c("密码6-20位,请重新输入"):n(e))})}),define("js/product/entry",["jquery","swiper","lazyload","hammer","index"],function(e,o,t){e("js/product/newsale/newarrival"),e("js/product/newsale/discount"),e("js/product/list"),e("js/product/detail/detail"),e("js/product/detail/consultform"),e("js/product/newsale/hot-rank")}),define("js/product/newsale/newarrival",["jquery","swiper","lazyload","hammer","index"],function(e,o,t){function n(e){var o,t,n,a,i,u,f={};if(!l){if(e){for(t in T)T.hasOwnProperty(t)&&(T[t].reload=!0);switch(q.children(".active").removeClass("active"),E.addClass("active"),e.type){case"gender":o={gender:e.id};break;case"brand":o={brand:e.id};break;case"sort":o={sort:e.id};break;case"color":o={color:e.id};break;case"size":o={size:e.id};break;case"price":o={price:e.id};break;case"discount":o={discount:e.id};break;case"limit":o={limit:e.id};break;case"channel":o={channel:e.id};break;case"p_d":o={p_d:e.id}}c.extend(b,o)}if(E.hasClass("today")?(a="today",i=1):E.hasClass("week")?(a="week",i=2):E.hasClass("sale")&&(a="sale",i=3),n=T[a],u=n.page+1,n.reload)u=1;else if(n.end)return;c.extend(f,b,{dayLimit:i,page:u}),l=!0,m.showLoadingMask(),c.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:f,success:function(e){var o,t;switch(a){case"today":o=s;break;case"week":o=r;break;case"sale":o=d}" "===e?(n.end=!0,n.reload&&o.html(y)):n.reload?(o.html(e),h(o.find(".lazy"))):(t=o.find(".good-info").length,o.append(e),h(o.find(".good-info:gt("+(t-1)+") .lazy"))),n.reload=!1,n.page=u,l=!1,m.hideLoadingMask(),window.rePosFooter()},error:function(){p.show("网络断开连接了~"),l=!1,m.hideLoadingMask()}})}}function a(){c(window).scrollTop()+w>c(document).height()-.25*g.height()-50&&void 0!==E&&n()}var i,s,r,d,l,c=e("jquery"),u=e("swiper"),h=e("lazyload"),p=e("js/plugin/tip"),f=e("js/plugin/filter"),m=e("js/plugin/loading"),g=c("#goods-container"),v=g.children(),s=c(v.get(0)),r=c(v.get(1)).addClass("hide"),d=c(v.get(2)).addClass("hide"),w=c(window).height(),y='<p class="no-result">未找到相关搜索结果</p>',b=e("js/product/query-param"),C=c.extend({},b),j=new Date,x=j.getMonth()+1,k=j.getDate(),q=c("#list-nav"),T={today:{reload:!0,page:0,end:!1},week:{reload:!0,page:0,end:!1},sale:{reload:!0,page:0,end:!1}},E=q.find(".active");e("js/product/suspend-cart"),c("#today a").text(x+"月"+k+"号"),c(".swiper-container .swiper-slide").length>1&&(i=new u(".swiper-container",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner"})),c.ajax({type:"GET",url:"/product/newsale/filter",data:b,success:function(e){g.append(e),f.initFilter({fCbFn:n,hCbFn:function(){E.addClass("active"),E.siblings(".filter").removeClass("active")}})}}),h(c(".lazy")),q.bind("contextmenu",function(e){return!1}),q.on("touchend touchcancel",function(e){var o,t,a,i=c(e.target).closest("li");if(e.preventDefault(),i.hasClass("filter"))i.hasClass("active")?(f.hideFilter(),E.addClass("active"),i.removeClass("active")):(E=i.siblings(".active"),E.removeClass("active"),i.addClass("active"),f.showFilter());else{if(i.hasClass("today")?t="today":i.hasClass("week")?t="week":i.hasClass("sale")&&(t="sale"),o=T[t],!i.hasClass("active")){if(a=i.siblings(".active"),E=i,a.hasClass("filter"))f.hideFilter();else{switch(g.children(".container:not(.hide)").addClass("hide"),t){case"today":s.removeClass("hide");break;case"week":r.removeClass("hide");break;case"sale":d.removeClass("hide")}f.resetFilter(),b=c.extend({},C)}a.removeClass("active"),i.addClass("active")}o.reload&&n()}e.stopPropagation()}),c(window).scroll(function(){window.requestAnimationFrame(a)}),n(),q.on("touchstart","li",function(e){c(this).addClass("bytouch")}).on("touchend touchcancel",function(){q.find("li").removeClass("bytouch")})}),define("js/plugin/filter",["jquery","hammer"],function(e,o,t){function n(){h.addClass("hide")}function a(){h.removeClass("hide")}function i(){var e=g(".filter-body .classify");e.on("touchstart",".shower",function(){e.removeClass("highlight"),g(this).addClass("highlight")}).on("touchend touchcancel",".shower",function(){g(this).removeClass("highlight")})}function s(){var e=g(".filter-body .sub-item");e.on("touchstart",function(){e.removeClass("highlight"),g(this).addClass("highlight")}).on("touchend touchcancel",function(){g(this).removeClass("highlight")})}function r(e){e.hasClass("active")||(e.siblings(".active").removeClass("active"),e.addClass("active"))}function d(e){var o,t,n=e.closest(".sub-classify"),a=n.siblings(".shower");return e.hasClass("chosed")?n:(n.children(".chosed").removeClass("chosed"),e.addClass("chosed"),o=g.trim(e.html()),t=g.trim(a.html()),a.html(t.substring(0,t.indexOf("</span>")+7)+o.substring(0,o.indexOf("<i"))),0===e.index()?a.addClass("default"):a.removeClass("default"),n)}function l(e){var o,t=e.data("id");o=d(e),p&&p({type:o.data("type"),id:t}),n()}function c(e){var o;p=e.fCbFn,f=e.hCbFn,m=e.missStatus,i(),s(),h=g(".filter-mask"),o=new v(h[0]),o.on("tap",function(e){var o,t=g(e.target);e.preventDefault(),t.closest(".filter-body").length>0?(o=t.closest(".sub-item"),o.length>0?(o=t.closest("li"),l(o)):(o=t.closest(".classify-item"),e.srcEvent.stopPropagation(),r(o))):(n(),f&&f())})}function u(){"undefined"!=typeof h&&(g(".sub-classify").each(function(){d(g(this).children(":first-child"))}),r(g(".classify > :first-child")))}var h,p,f,m,g=e("jquery"),v=e("hammer");o.initFilter=c,o.showFilter=a,o.hideFilter=n,o.resetFilter=u}),define("js/product/query-param",["jquery"],function(e,o,t){var n=e("jquery"),a={};n(".query-param").each(function(){var e=n(this);a[e.data("attr")]=e.val()}),t.exports=a}),define("js/product/suspend-cart",["jquery"],function(e,o,t){var n=e("jquery"),a=n("#suspend-cart");n.ajax({type:"GET",url:"/cart/index/count",success:function(e){var o;200===e.code&&(o=e.data.cart_goods_count,o>99&&(o="99+"),0===o&&n(".cart-count").remove(),a.find(".cart-count").html(o).removeClass("hide"))}})}),define("js/product/newsale/discount",["jquery","swiper","lazyload","hammer","index"],function(e,o,t){function n(e){var o,t,n,a,i,d={};if(!s){if(e){for(t in j)j.hasOwnProperty(t)&&(j[t].reload=!0);switch(C.children(".active").removeClass("active"),x.addClass("active"),e.type){case"gender":o={gender:e.id};break;case"brand":o={brand:e.id};break;case"sort":o={sort:e.id};break;case"color":o={color:e.id};break;case"size":o={size:e.id};break;case"price":o={price:e.id};break;case"discount":o={discount:e.id}}r.extend(b,o)}if(x.hasClass("new")?a="newest":x.hasClass("price")?a="price":x.hasClass("discount")&&(a="discount"),n=j[a],i=n.page+1,n.reload)i=1;else if(n.end)return;r.extend(d,b,{type:a,order:n.order,page:i}),s=!0,h.showLoadingMask(),r.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:d,success:function(e){var o,t;switch(a){case"newest":o=m;break;case"price":o=g;break;case"discount":o=v}" "===e?(n.end=!0,n.reload&&o.html(y)):n.reload?(o.html(e),l(o.find(".lazy"))):(t=o.find(".good-info").length,o.append(e),l(o.find(".good-info:gt("+(t-1)+") .lazy"))),n.reload=!1,n.page=i,s=!1,h.hideLoadingMask(),window.rePosFooter()},error:function(){c.show("网络断开连接了~"),s=!1,h.hideLoadingMask()}})}}function a(){r(window).scrollTop()+w>r(document).height()-.25*p.height()-50&&void 0!==x&&n()}var i,s,r=e("jquery"),d=e("swiper"),l=e("lazyload"),c=e("js/plugin/tip"),u=e("js/plugin/filter"),h=e("js/plugin/loading"),p=r("#goods-container"),f=p.children(),m=r(f.get(0)),g=r(f.get(1)),v=r(f.get(2)),w=r(window).height(),y='<p class="no-result">未找到相关搜索结果</p>',b=e("js/product/query-param"),C=r("#list-nav"),j={newest:{order:1,reload:!0,page:0,end:!1},price:{order:0,reload:!0,page:0,end:!1},discount:{order:0,reload:!0,page:0,end:!1}},x=C.find(".active");e("js/product/suspend-cart"),r(".swiper-container .swiper-slide").length>1&&(i=new d(".swiper-container",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner"})),r.ajax({type:"GET",url:"/product/newsale/filter",data:b,success:function(e){p.append(e),u.initFilter({fCbFn:n,hCbFn:function(){x.addClass("active"),x.siblings(".filter").removeClass("active")},missStatus:!0})}}),l(r(".lazy")),C.bind("contextmenu",function(e){return!1}),C.on("touchend touchcancel",function(e){var o,t,a,i=r(e.target).closest("li");if(e.preventDefault(),"undefined"!=typeof i&&0!==i.length){if(i.hasClass("filter"))i.hasClass("active")?(u.hideFilter(),x.addClass("active"),i.removeClass("active")):(x=i.siblings(".active"),x.removeClass("active"),i.addClass("active"),u.showFilter());else{if(i.hasClass("new")?t="newest":i.hasClass("price")?t="price":i.hasClass("discount")&&(t="discount"),o=j[t],i.hasClass("active")){if(i.hasClass("new"))return;(i.hasClass("price")||i.hasClass("discount"))&&(i.find(".icon > .iconfont").toggleClass("cur"),x=i,o.reload=!0,o.order=0===o.order?1:0)}else{if(a=i.siblings(".active"),x=i,a.hasClass("filter"))u.hideFilter();else switch(p.children(".container:not(.hide)").addClass("hide"),t){case"newest":m.removeClass("hide");break;case"price":g.removeClass("hide");break;case"discount":v.removeClass("hide")}a.removeClass("active"),i.addClass("active")}o.reload&&n()}e.stopPropagation()}}),r(window).scroll(function(){window.requestAnimationFrame(a)}),n(),C.on("touchstart","li",function(e){r(this).addClass("bytouch")}).on("touchend touchcancel",function(){C.find("li").removeClass("bytouch")})}),define("js/product/list",["jquery","hammer","lazyload"],function(e,o,t){function n(e){var o,t,n,a,s,r={};if(!i){if(e){for(t in I)I.hasOwnProperty(t)&&(I[t].reload=!0);switch(E.children(".active").removeClass("active"),L.addClass("active"),e.type){case"gender":o={gender:e.id};break;case"brand":o={brand:e.id};break;case"sort":o={sort:e.id};break;case"color":o={color:e.id};break;case"size":o={size:e.id};break;case"price":o={price:e.id};break;case"discount":o={discount:e.id}}l.extend(T,o)}if(L.hasClass("new")?a="newest":L.hasClass("price")?a="price":L.hasClass("discount")&&(a="discount"),n=I[a],s=n.page+1,n.reload)s=1;else if(n.end)return;l.extend(r,T,{type:a,order:n.order,page:s}),i=!0,v.showLoadingMask(),l.ajax({type:"GET",url:"/index/search/search",data:r,success:function(e){var o,t,r='<p class="no-result">未找到相关搜索结果</p>';switch(a){case"newest":t=y;break;case"price":t=b;break;case"discount":t=C}if(" "===e?(n.end=!0,n.reload&&t.html(r)):n.reload?(t.html(e),u(t.find(".lazy"))):(o=t.find(".good-info").length,t.append(e),u(t.find(".good-info:gt("+(o-1)+") .lazy"))),n.reload=!1,n.page=s,i=!1,v.hideLoadingMask(),window.rePosFooter(),window._yas)switch(a){case"newest":window._yas(1*new Date,"1.0.13.6.3","yohobuy_m",window._ozuid,"",".new-goods .good-info .good-detail-img .good-thumb");break;case"price":window._yas(1*new Date,"1.0.13.6.3","yohobuy_m",window._ozuid,"",".price-goods .good-info .good-detail-img .good-thumb");break;case"discount":window._yas(1*new Date,"1.0.13.6.3","yohobuy_m",window._ozuid,"",".discount-goods .good-info .good-detail-img .good-thumb")}}})}}function a(){l(window).scrollTop()+j>l(document).height()-.25*w.height()&&n()}var i,s,r,d,l=e("jquery"),c=e("hammer"),u=e("lazyload"),h=l("#brand-header"),p=l("#intro-box"),f=e("js/plugin/filter"),m=e("js/index/write-search"),g=e("js/plugin/tip"),v=e("js/plugin/loading"),w=l("#goods-container"),y=w.children(".new-goods"),b=w.children(".price-goods"),C=w.children(".discount-goods"),j=l(window).height(),x=l("#search-input input"),k=l(".search-icon"),q=l("#search-input .clear-input"),T=e("js/product/query-param"),E=l("#list-nav"),I={newest:{order:1,reload:!0,page:0,end:!1},price:{order:0,reload:!0,page:0,end:!1},discount:{order:0,reload:!0,page:0,end:!1}},L=E.find(".active");x.on("input",function(){""===x.val()?(k.css("color","#b2b2b2"),q.addClass("hide")):(k.css("color","#666"),q.removeClass("hide"))}),q.on("touchend",function(){x.val("").trigger("input")}),l("#search").on("touchend",function(){return l(this).closest("form").submit(),!1}),e("js/product/suspend-cart"),l.ajax({type:"GET",url:"/search/filter",data:T,success:function(e){w.append(e),f.initFilter({fCbFn:n,hCbFn:function(){L.addClass("active"),L.siblings(".filter").removeClass("active")}})}}),u(l(".lazy")),m.bindWirteLocal(l("#search-form")),E.bind("contextmenu",function(e){return!1}),E.on("touchend touchcancel",function(e){var o,t,a,i=l(e.target).closest("li");if(i.hasClass("filter"))i.hasClass("active")?(f.hideFilter(),L.addClass("active"),i.removeClass("active")):(L=i.siblings(".active"),L.removeClass("active"),i.addClass("active"),f.showFilter());else{if(i.hasClass("new")?t="newest":i.hasClass("price")?t="price":i.hasClass("discount")&&(t="discount"),o=I[t],i.hasClass("active")){if(i.hasClass("new"))return;(i.hasClass("price")||i.hasClass("discount"))&&(i.find(".icon > .iconfont").toggleClass("cur"),L=i,o.reload=!0,o.order=0===o.order?1:0)}else{if(a=i.siblings(".active"),L=i,a.hasClass("filter"))f.hideFilter();else switch(w.children(".container:not(.hide)").addClass("hide"),t){case"newest":y.removeClass("hide");break;case"price":b.removeClass("hide");break;case"discount":C.removeClass("hide")}a.removeClass("active"),i.addClass("active")}o.reload&&n()}}),l(window).scroll(function(){window.requestAnimationFrame(a)}),h.length>0&&(s=new c(h.children(".btn-intro")[0]),s.on("tap",function(){p.removeClass("hide"),l("body").addClass("overflow-hidden")}),r=new c(document.getElementById("intro-box")),r.on("tap",function(e){var o=l(e.target);e.srcEvent.preventDefault(),(0===o.closest("#brand-intro").length||o.hasClass("close-intro"))&&(p.addClass("hide"),l("body").removeClass("overflow-hidden"))}),d=new c(h.children(".btn-col")[0]),d.on("tap",function(e){var o,t=l(e.target).closest(".btn-col"),n=h.data("id");o=t.hasClass("coled")?"cancel":"ok",l.ajax({type:"POST",url:"/product/opt/favoriteBrand",data:{id:n,opt:o},success:function(e){200===e.code?(t.toggleClass("coled"),"ok"===o?g.show("添加收藏成功"):g.show("取消收藏成功")):400===e.code?location.href=e.data:g.show(e.message)},error:function(){g.show("网络断开连接了~")}})})),n(),E.on("touchstart","li",function(){E.find("li").removeClass("bytouch"),l(this).addClass("bytouch")}).on("touchend touchcancel","li",function(){E.find("li").removeClass("bytouch")})}),define("js/product/detail/detail",["jquery","swiper","hammer","lazyload","index"],function(e,o,t){function n(){var e=i(".cart-bar"),o=setInterval(function(){e?(window.reMarginFooter(".cart-bar"),clearInterval(o)):e=i(".cart-bar")},200)}var a,i=e("jquery"),s=e("swiper"),r=e("hammer"),d=e("lazyload"),l=i(".goodsDiscount .discount-folder"),c=i(".goodsDiscount .first-item span"),u=document.getElementById("goodsDiscount"),h=u&&new r(u),p=i(u).find(".first-item"),f=i(".cart-bar");n(),e("js/product/detail/like"),d(i("img.lazy")),i("#goodsDiscount h1").length<1&&i(".dropdown").remove(),a=new s(".banner-swiper",{lazyLoading:!0,lazyLoadingInPrevNext:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner",nextButton:".my-swiper-button-next",prevButton:".my-swiper-button-prev",spaceBetween:3}),0===l.children().length&&(l.css("display","none"),c.html("")),h&&l.children().length>0&&h.on("tap",function(e){l.is(":hidden")?(p.removeClass("short-text"),c.removeClass("icon-down").addClass("icon-up").html(""),l.slideDown()):(p.addClass("short-text"),c.removeClass("icon-up").addClass("icon-down").html(""),l.slideUp())}),e("js/product/detail/desc"),e("js/product/detail/comments-consults"),e("js/product/recommend-for-you-product-desc"),i.ajax({type:"GET",url:"/cart/index/count",success:function(e){var o;if(200===e.code){if(o=e.data.cart_goods_count||0,0===o)return!1;o>99&&(o="99+"),f.find(".num-tag").html(o).removeClass("hide")}}}),i(".good-detail-page").length>0&&i("#yoho-footer").css("border-top","1px solid #e0e0e0")}),define("js/product/detail/like",["jquery"],function(e,o,t){var n=e("jquery"),a=e("js/plugin/tip"),i=e("js/cart/chose-panel"),s=n("#productId").val();n("#likeBtn").on("touchstart",function(){var e,o,t=n(this);return t.hasClass("liked")?(e="cancel",o=0):(e="ok",o=1),n.ajax({type:"POST",url:"/product/opt/favoriteProduct",data:{id:s,opt:e},success:function(o){200===o.code?(t.toggleClass("liked"),"cancel"===e?a.show("取消收藏成功"):"ok"===e&&a.show("收藏成功")):400===o.code?location.href=o.data:a.show(o.message)},error:function(){a.show("网络断开连接了~")}}),window._yas&&window._yas.sendCustomInfo({pd:s,fa:o},!0),!1}),n("#addtoCart").on("touchstart",function(){return i.show(),window._yas&&window._yas.sendCustomInfo({pd:s,by:1},!0),!1})}),define("js/cart/chose-panel",["jquery"],function(e,o,t){function n(){y=!1,b=!1,C=null,q=T.queryString(),h=T(".chose-panel").find(".thumb"),k=T(".chose-items"),j=T(".size-list ul"),p=T("#left-num"),f=j.eq(0).toggleClass("hide")}function a(){return y||b?y?b?!0:(E.show("请选择尺码~"),!1):(E.show("请选择颜色~"),!1):(E.show("请选择颜色和尺码~"),!1)}function i(e,o){var t=[document.documentElement.scrollLeft||document.body.scrollLeft,document.documentElement.scrollTop||document.body.scrollTop],a=T("html, body");a.data("scroll-position",t),a.data("previous-overflow",a.css("overflow")),a.css("overflow","hidden"),a.css("height","100%"),window.scrollTo(t[0],t[1]),e&&(L.html(e),""!==T("#promotionId").val()&&(z.off("touchstart",".btn-minus"),z.off("touchstart",".btn-plus")),n()),T(".chose-panel").show(),c=T("#good-num"),x=o}function s(){var e=T("html, body"),o=e.data("scroll-position");e.css("overflow",e.data("previous-overflow")),e.css("height","auto"),window.scrollTo(o[0],o[1]),T(".chose-panel").hide()}function r(){u=k.find(".chosed"),2===u.closest(".zero-stock").length?T("#chose-btn-sure").css("background-color","#c0c0c0").html("已售罄"):T("#chose-btn-sure").css("background-color","#eb0313").html("加入购物车")}function d(e){var o,t;if(b)for(o=(C.data("numstr")+"").split("/"),t=0;t<o.length;t++)"0"===o[t]?e.find(".block").eq(t).addClass("zero-stock"):e.find(".block").eq(t).removeClass("zero-stock");else e.find("ul>li").each(function(){0===T(this).data("num")?T(this).addClass("zero-stock"):T(this).removeClass("zero-stock")})}function l(){y&&v>=0&&h.addClass("hide").eq(v).removeClass("hide")}var c,u,h,p,f,m,g,v,w,y,b,C,j,x,k,q,T=e("jquery"),E=e("js/plugin/tip"),I=e("js/plugin/loading"),L=T("#chose-panel"),z=T(".yoho-page");n(),z.on("touchstart",".chose-panel",function(e){var o=T(e.target);o.closest(".main").length>0||s()}),z.on("touchstart",".color-list .block",function(){var e,o,t,n,a,i,s,d=T(this),c=d.closest(".block-list").siblings(":first");if(d.siblings(".chosed").removeClass("chosed"),e=d.index(),t=c.find(".chosed"),n=j.eq(e),d.hasClass("chosed")){if(k.find(".num .left-num").html(""),p.val(0),y=!1,d.removeClass("zero-stock"),C)for(a=(C.data("numstr")+"").split("/"),i=0;i<a.length;i++)"0"===a[i]&&T(".color-list .block").eq(i).addClass("zero-stock")}else y=!0,j.addClass("hide"),n.removeClass("hide").addClass("show"),t.length>0&&(t.removeClass("chosed"),o=n.children().get(w),C=T(o)),o&&(s=T(o).data("num"),T(o).addClass("chosed"),s>0?(k.find(".num .left-num").html("剩余"+s+"件"),p.val(s)):(k.find(".num .left-num").html(""),p.val(0)));d.toggleClass("chosed"),v=e,T("#good-num").val(1),l(),r()}).on("touchstart",".size-list .block",function(){var e,o,t,n=T(this),a=n.closest(".block-list").siblings(":first");n.siblings(".chosed").removeClass("chosed"),e=n.index(),o=j.eq(e),n.hasClass("chosed")?(k.find(".num .left-num").html(""),T("#left-num").val(0),b=!1,w=null,C=null):(b=!0,t=n.data("num"),C&&C.removeClass("chosed"),t>0&&y?(k.find(".num .left-num").html("剩余"+t+"件"),T("#left-num").val(t)):(k.find(".num .left-num").html(""),T("#left-num").val(0)),0===t&&y&&n.addClass("zero-stock"),w=e,C=n),n.toggleClass("chosed"),T("#good-num").val(1),d(a),r()}),z.on("touchstart",".btn-minus",function(){var e=parseInt(c.val(),10);return m=T("#left-num").val(),a()?1===e||0===m-0?void E.show("您选择的数量不能为零~"):0>e?void E.show("您选择的数量不能为负数~"):void c.val(e-1):void 0}).on("touchstart",".btn-plus",function(){var e=parseInt(c.val(),10);return m=T("#left-num").val(),a()&&e-0!==m&&0!==m?e>m-1?void E.show("您选择的数量超过了最大库存量~"):void c.val(e+1):void 0}).on("touchstart","#chose-btn-sure",function(){var e,o,t=T("#good-num").val()-0,n=0,i=parseInt(c.val(),10);if(a()&&"已售罄"!==T("#chose-btn-sure").html()){if(m=T("#left-num").val()-0,i>m)return void E.show("您选择的数量超过了最大库存量~");if(0>i)return void E.show("您选择的数量小于一件~");if(u=T(".block-list>ul>li.chosed"),2===u.length&&0===u.closest(".zero-stock").length){if(e=C.data("skuid"),o=T("#promotionId").val(),g)return!1;g=!0,I.showLoadingMask(),T.ajax({method:"POST",url:"/cart/index/add",data:{productSku:e,buyNumber:t,promotionId:o,isEdit:n,cartType:q.cartType}}).done(function(e){var o;I.hideLoadingMask(),200===e.code&&(o=e.data.goods_count,o>99&&(o="99+"),T(".num-tag").html(o).removeClass("hide"),g=!1,x&&x()),e.message&&E.show(e.message),s()}).fail(function(){E.show("网络出了点问题~")}).always(function(){g=!1})}}}),o.init=n,o.show=i}),define("js/product/detail/desc",["jquery","lazyload","swiper","index"],function(e,o,t){function n(e){var o,t;e.length>0&&(o=e[0].getBoundingClientRect().right,t=e.find(".swiper-slide:last-child")[0].getBoundingClientRect().right,0>t-o?e.next(".tips").css("display","none"):e.next(".tips").css("display","block"))}function a(e,o){var t=null;c(e).each(function(n,a){t=c(e).slice(n,n+o),t.length===o&&n%o===0&&c(t).wrapAll(c('<div class="js-wraper"></div>'))})}function i(){v||w||(v=!0,p.showLoadingMask(),c.ajax({type:"GET",url:m,success:function(e){r=c("#productDesc"),r.append(e),window.rePosFooter(),u(r.find("img.lazy")),d=new h("#size-swiper-container",{slidesPerView:"auto"}),l=new h("#reference-swiper-container",{slidesPerView:"auto"}),n(c("#size-swiper-container")),n(c("#reference-swiper-container")),a(".detail .column",2),v=!1,w=!0,p.hideLoadingMask()},error:function(){f.show("网络断开连接了~"),v=!1,p.hideLoadingMask()}}))}function s(){(!w||c(window).scrollTop()+g>=c(document).height()-200)&&i()}var r,d,l,c=e("jquery"),u=e("lazyload"),h=e("swiper"),p=e("js/plugin/loading"),f=e("js/plugin/tip"),m=c("#introUrl").val(),g=c(window).height(),v=!1,w=!1;c(window).scroll(function(){window.requestAnimationFrame(s)})}),define("js/product/detail/comments-consults",["jquery","hammer"],function(e,o,t){var n,a,i=e("jquery"),s=e("js/plugin/tip"),r=e("hammer"),d=document.getElementById("nav-tab"),l=d&&new r(d),c=document.getElementById("goto-consult"),u=c&&new r(c);!function(){a=i("#nav-tab .consults-num").html()-0, +n=i("#nav-tab .comments-num").html()-0,i("#nav-tab li").each(function(){i(this).removeClass("focus")}),i("#feedback-content .content").each(function(){i(this).addClass("hide")}),0!==n?(i("#nav-tab .comment-nav").addClass("focus"),i("#feedback-content .comment-content").removeClass("hide")):0!==a&&(i("#nav-tab .consult-nav").addClass("focus"),i("#feedback-content .consult-content").removeClass("hide"))}(),l&&l.on("tap",function(e){var o=i(e.target).closest("li"),t=o.index();o.hasClass("comment-nav")&&0===n?s.show("暂无商品评价"):o.hasClass("focus")||(i("#nav-tab li").each(function(){i(this).removeClass("focus")}),i("#feedback-content .content").each(function(){i(this).addClass("hide")}),o.addClass("focus"),i("#feedback-content .content:eq("+t+")").removeClass("hide"))}),u&&u.on("tap",function(){location.href=i(c).find("a").attr("href")}),i(".goods-consults-page").length>0&&i("#yoho-header").css("position","fixed").css("top","0")}),define("js/product/recommend-for-you-product-desc",["swiper","jquery","index"],function(e,o,t){function n(){h||u||(h=!0,l&&r.get(l).then(function(e){e.length<5?d.css("display","none"):(d.html(e).show(),r("#swiper-recommend").length&&(i=new s("#swiper-recommend",{slidesPerView:"auto",grabCursor:!0,slideElement:"a",lazyLoading:!0,watchSlidesVisibility:!0}))),h=!1,u=!0,window.rePosFooter()}).fail(function(){d.hide()}))}function a(){(!u||r(window).scrollTop()+c>=r(document).height()-200)&&n()}var i,s=e("swiper"),r=e("jquery"),d=r(".recommend-for-you"),l=r("#preferenceUrl").val(),c=r(window).height(),u=!1,h=!1;r(window).scroll(function(){window.requestAnimationFrame(a)})}),define("js/product/detail/consultform",["jquery"],function(e,o,t){var n,a=e("jquery"),i=e("js/plugin/tip"),s=e("js/plugin/loading"),r=a(".consult-form"),d=a("#submit"),l=a("#content"),c=a("#product_id").val();d.on("touchend",function(){return l.blur(),r.submit(),!1}).on("touchstart",function(){a(this).addClass("highlight")}).on("touchend touchcancel",function(){a(this).removeClass("highlight")}),l.on("focus",function(){"请输入咨询内容"===l.val()&&l.val("")}).on("blur",function(){""===l.val()&&l.val("请输入咨询内容")}),r.on("submit",function(){var e;return n?!1:(e=l.val(),e&&"请输入咨询内容"!==e?(n=!0,s.showLoadingMask(),a.ajax({method:"POST",url:"/product/detail/consultsubmit",data:{product_id:c,content:e}}).then(function(e){"object"!==a.type(e)&&(e={}),200!==e.code?(i.show(e.message||"网络出了点问题~"),n=!1,s.hideLoadingMask()):(i.show("提交成功~"),setTimeout(function(){window.history.go(-1)},3e3))}).fail(function(){i.show("网络出了点问题~"),n=!1}),!1):(i.show("咨询内容不能为空"),!1))})}),define("js/product/newsale/hot-rank",["jquery","swiper","lazyload","index"],function(e,o,t){function n(e,o,t,n){h.showLoadingMask(),l.ajax({type:"GET",url:"/product/newsale/selectHotrank?"+o,dataType:"html",data:{page:e,tab_id:t,notab:n},success:function(o){" "===o?l(".rank-main").length<1&&l(".goods-nav").length<1?l("#hotRank").html(v):1===e&&(d=l(".goods-nav").prop("outerHTML"),l("#hotRank").html(d+v)):(l(".no-result").remove(),1===e&&l(".rank-main").remove(),l("#hotRank").append(o)),u(l("img.lazy")),l(".rank-main ul li:gt(9)").find(".item-content i").removeClass("top"),i=l(window).height(),0!==l(".rank-main").length?(l("#yoho-footer").css("position","static"),s=l(".rank-main").find("ul").offset().top):l("#yoho-footer").css("position","fixed"),r=new c(".s-goods-nav",{grabCursor:!0,slidesPerView:"auto",slideElement:"li"}),h.hideLoadingMask()}})}function a(){2!==p&&(l(window).scrollTop()+i<s+l("#hotRank").height()-100||(p=2,f=1,n(p,m,g,f)))}var i,s,r,d,l=e("jquery"),c=e("swiper"),u=e("lazyload"),h=e("js/plugin/loading"),p=1,f=0,m="",g="",v='<p class="no-result">未找到相关搜索结果</p>';e("js/product/suspend-cart"),l(window).scroll(function(){window.requestAnimationFrame(a)}),n(p,m,g,f),l("#hotRank").on("touchend touchcancel",function(e){var o=o||window.event,t=o.target||o.srcElement;"span"===t.nodeName.toLowerCase()&&(l(".s-goods-nav .nav-item").removeClass("active"),t.parentNode.className="active "+t.parentNode.className,g=t.getAttribute("data-id")?t.getAttribute("data-id"):"",m=t.getAttribute("data-sort")?t.getAttribute("data-sort"):"",p=1,f=1,n(p,m,g,f))}),l("#hotRank").bind("contextmenu",function(e){return!1}),l("#hotRank").on("touchstart",function(e){var o=o||window.event,t=o.target||o.srcElement;"span"===t.nodeName.toLowerCase()&&(t.parentNode.className="bgActive "+t.parentNode.className)}).on("touchend touchcancel",function(){l(".s-goods-nav .nav-item").removeClass("bgActive")})}),define("js/me/entry",["jquery","hammer","lazyload","handlebars","source-map","swiper","mlellipsis","index"],function(e,o,t){e("js/me/order"),e("js/me/order-detail"),e("js/me/fav"),e("js/me/suggest"),e("js/me/index"),e("js/me/coupons"),e("js/me/online-service"),e("js/me/address"),e("js/me/suggest"),e("js/me/browse-record"),e("js/me/address-act"),e("js/me/logistic"),e("js/me/pay"),e("js/me/personal-details"),e("js/me/currency")}),define("js/me/order",["jquery","hammer","lazyload","handlebars","source-map"],function(e,o,t){function n(e){var o={type:f,page:m.page+1},t=e&&!e.noLoadingMask;g||(g=!0,t&&v.showLoadingMask(),s.ajax({type:"GET",url:"/home/getOrders",data:o,success:function(e){var n;" "!==e?(m.page=o.page,1===o.page?(h.html(e),d(h.find(".lazy"),{try_again_css:"order-failure"})):(n=h.children(".order").length,h.append(e),d(h.children(".order:gt("+(n-1)+")").find(".lazy"),{try_again_css:"order-failure"})),window.rePosFooter()):m.end=!0,g=!1,t&&v.hideLoadingMask()}}))}function a(){m.end===!1&&s(window).scrollTop()+p>s(document).height()-.25*u.height()&&n({noLoadingMask:!0})}var i,s=e("jquery"),r=e("hammer"),d=e("lazyload"),l=e("js/plugin/tip"),c=s("#order-nav > li"),u=s("#order-container"),h=u.children(".orders:not(.hide)"),p=s(window).height(),f=c.filter(".active").data("type"),m={page:0,end:!1},g=!1,v=e("js/plugin/loading"),w=e("js/me/dialog");d({try_again_css:"order-failure"}),function(){var e=c.length;4!==e&&c.width(100/e+"%")}(),v.init(s("body")),i=new r(document.getElementById("order-container")),i.on("tap",function(e){var o,t,n,a=s(e.target);a.closest(".locHref").length>0||(o=a.closest(".order"),t=o.data("id"),a.closest(".del").length>0?w.showDialog({dialogText:"确定删除订单吗?",hasFooter:{leftBtnText:"取消",rightBtnText:"确定"}},function(){s.ajax({type:"GET",url:"/home/delOrder",data:{id:t},success:function(e){w.hideDialog(),e.message&&l.show(e.message),200===e.code&&window.location.reload()},error:function(){l.show("取消订单失败")}})}):a.closest(".cancel").length>0?w.showDialog({dialogText:"确定取消订单吗?",hasFooter:{leftBtnText:"取消",rightBtnText:"确定"}},function(){s.ajax({type:"GET",url:"/home/cancelOrder",data:{id:t},success:function(e){e.message&&l.show(e.message),200===e.code&&window.location.reload()},error:function(){l.show("取消订单失败")}})}):a.closest(".order-goods").length>0&&(n=o.data("href"),location.href=n))}),s(window).scroll(function(){window.requestAnimationFrame(a)}),n()}),define("js/me/order-detail",["jquery","lazyload","hammer","handlebars","source-map"],function(e,o,t){var n,a=e("jquery"),i=e("lazyload"),s=e("hammer"),r=e("js/me/dialog"),d=e("js/plugin/tip"),l=a("#order-detail").data("id");i({try_again_css:"order-failure"}),n=new s(document.getElementsByClassName("opt")[0]),n.on("tap",function(e){var o=a(e.target);o.hasClass("btn-del")?r.showDialog({dialogText:"确定删除订单吗?",hasFooter:{leftBtnText:"取消",rightBtnText:"确定"}},function(){a.ajax({type:"GET",url:"/home/delOrder",data:{id:l}}).then(function(e){a("#dialog-wrapper").hide(),"object"===a.type(e)&&(e.message&&d.show(e.message),window.location.href="/home/orders")}).fail(function(){d.show("网络错误")})}):o.hasClass("btn-cancel")&&r.showDialog({dialogText:"确定取消订单吗?",hasFooter:{leftBtnText:"取消",rightBtnText:"确定"}},function(){a.ajax({type:"GET",url:"/home/cancelOrder",data:{id:l}}).then(function(e){a("#dialog-wrapper").hide(),"object"===a.type(e)&&(e.message&&d.show(e.message),window.location.href="/home/orders")}).fail(function(){d.show("网络错误")})})})}),define("js/me/fav",["jquery","hammer","swiper","handlebars","source-map","index"],function(e,o,t){function n(e){p.filter(".active").removeClass("active"),p.eq(e).addClass("active"),f.filter(".show").removeClass("show"),f.eq(e).addClass("show")}function a(e){var o,t,n=/container-(\d+)['"]{1}/gi,a=/\d+/,i=e.match(n),s=i.length;for(o=0;s>o;o++)t=i[o].match(a)[0],m[t]=new u("#swiper-container-"+t,{slidesPerView:"auto",grabCursor:!0,slideElement:"li",wrapperClass:"swiper-wrapper-"+t,lazyLoading:!0,watchSlidesVisibility:!0})}function i(e,o,t){"favBrand"===o?q=!0:k=!0,l.ajax({method:"post",url:"/home/"+o,data:{page:t},success:function(t){"favBrand"===o?v.addClass("hide"):g.addClass("hide")," "===t?(e.closest(".fav-type").find(".fav-content-loading").addClass("hide"),e.closest(".fav-type").find(".fav-null-box").removeClass("hide")):"end"===t?(e.closest(".fav-type").find(".fav-load-background").removeClass("fav-load-background").html("没有更多了"),q=!0,k=!0):t.length>10&&(e.append(t),e.closest(".fav-type").find(".fav-content-loading").remove(),"favBrand"===o?(a(t),q=!1):k=!1),window.rePosFooter()}})}function s(){l(window).scrollTop()+w>=l(document).height()-.25*C.height()-y&&(T?(v.filter(".hide").removeClass("hide"),q||(x++,i(C,"favBrand",x))):(g.filter(".hide").removeClass("hide"),k||(j++,i(b,"favProduct",j))))}var r,d,l=e("jquery"),c=e("hammer"),u=e("swiper"),h=e("js/me/dialog"),p=l("#fav-tab > li"),f=l(".fav-content > .fav-type"),m={},g=l(".fav-load-more"),v=l(".fav-brand-load-more"),w=l(window).height(),y=l("#yoho-footer").height(),b=l(".fav-product-list"),C=l(".fav-brand-swiper-wrapper"),j=1,x=1,k=!0,q=!0,T=!1;l("#fav-tab").hasClass("brand-tab")?(n(1),i(C,"favBrand",1),T=!0,window.rePosFooter()):(n(0),i(b,"favProduct",1),T=!1,window.rePosFooter()),r=new c(document.getElementById("fav-tab")),r.on("tap",function(e){var o,t=l(e.target).closest("li");0===t.length||t.hasClass("active")||(o=t.index(),0===o?(T=!1,0===b.find("li").length&&b.closest(".fav-type").find(".fav-null-box").hasClass("hide")&&i(b,"favProduct",1)):(T=!0,0===C.find("div").length&&C.closest(".fav-type").find(".fav-null-box").hasClass("hide")&&i(C,"favBrand",1)),n(o),window.rePosFooter())}),d=new c(document.getElementById("fav-content")),d.on("tap",function(e){var o="";l(e.target).hasClass("del-fav")&&h.showDialog({dialogText:"您确定要取消收藏吗?",hasFooter:{leftBtnText:"取消",rightBtnText:"确定"}},function(){o=l(e.target).closest("li").attr("data-id"),l.ajax({method:"post",url:"/home/favoriteDel",data:{id:o}}).then(function(o){200===o.code?(h.showDialog({autoHide:!0,fast:!0,dialogText:"已经取消收藏"}),l(e.target).closest("li").remove()):400===o.code?h.showDialog({autoHide:!0,fast:!0,dialogText:o.message}):h.showDialog({autoHide:!0,fast:!0,dialogText:"取消收藏失败"})}).fail(function(){h.showDialog({autoHide:!0,dialogText:"网络错误~"})})})}),l(window).scroll(s),l(document).on("touchend",".swiper-header",function(){var e=l(this).find(".fav-more").attr("href");window.location.href=e})}),define("js/me/suggest",["jquery","hammer","lazyload","handlebars","source-map"],function(e,o,t){var n,a,i,s,r=e("jquery"),d=e("hammer"),l=e("lazyload"),c=e("handlebars"),u=e("js/me/dialog"),h=r(".upload-img-list"),p=r(".suggest-item .like-btn"),f=r(".suggest-item .dislike-btn"),m=r(".img-add"),g="",v=0;e("js/me/jquery.upload"),i='{{# imgList}}<li>{{# imgUrl}}<img src="{{.}}" /><span class="upload-img-remove"></span>{{/ imgUrl}}</li>{{/ imgList}}',s=c.compile(i),r("#upload-img").upload({auto:!0,fileType:"image/*",uploadScript:"/home/suggestimgUpload",fileObjName:"fileData",fileSizeLimit:300,height:"100%",width:"100%",multi:!1,onAddQueueItem:function(e){h.html(s({imgList:!0}))},onUploadComplete:function(e,o){h.html(""),g=JSON.parse(o).imgList[0].imgRelUrl,h.html(s(JSON.parse(o))),m.hide(),v++}}),l(),n=new d(document.getElementById("yoho-header")),n.on("tap",function(e){var o=r("#suggest-textarea").val(),t=/\S+/;if(r(e.target).hasClass("nav-btn")){if(!t.test(o))return void u.showDialog({autoHide:!0,dialogText:"意见不能为空"});r.ajax({method:"post",url:"/home/savesuggest",data:{content:o,image:g}}).then(function(e){200===e.code?(u.showDialog({autoHide:!0,dialogText:"提交成功"}),setTimeout(function(){location.pathname="home/suggest"},2e3)):u.showDialog({autoHide:!0,dialogText:"提交失败~"})}).fail(function(){u.showDialog({autoHide:!0,dialogText:"网络错误~"})})}}),null!==document.getElementById("img-form")&&(a=new d(document.getElementById("img-form")),a.on("tap",function(e){r(e.target).hasClass("upload-img-remove")&&(h.html(""),g="",v--,setTimeout(function(){m.show()},50))})),p.bind("click",function(){var e=r(this).closest(".suggest-item").attr("data-id"),o=r(this);r.ajax({method:"post",url:"/home/upAndDown",data:{suggest_id:e,reliable:1}}).then(function(e){200===e.code&&(o.closest(".suggest-type").removeClass("show"),o.closest(".suggest-item").find(".suggest-good").addClass("show"))}).fail(function(e){u.showDialog({autoHide:!0,dialogText:"网络错误~"})})}),f.bind("click",function(){var e=r(this).closest(".suggest-item").attr("data-id"),o=r(this);r.ajax({method:"post",url:"/home/upAndDown",data:{suggest_id:e,reliable:2}}).then(function(e){200===e.code&&(o.closest(".suggest-type").removeClass("show"),o.closest(".suggest-item").find(".suggest-bad").addClass("show"))}).fail(function(e){u.showDialog({autoHide:!0,dialogText:"网络错误~"})})})}),define("js/me/jquery.upload",["jquery"],function(e,o,t){var n=e("jquery");!function(e){var o={init:function(t){return this.each(function(){var n=e(this);n.data("uploadifive",{inputs:{},inputCount:0,fileID:0,queue:{count:0,selected:0,replaced:0,errors:0,queued:0,cancelled:0},uploads:{current:0,attempts:0,successful:0,errors:0,count:0}});var a=n.data("uploadifive"),s=a.settings=e.extend({auto:!0,buttonClass:!1,buttonText:"Select Files",checkScript:!1,dnd:!0,dropTarget:!1,fileObjName:"Filedata",fileSizeLimit:0,fileType:!1,formData:{},height:30,itemTemplate:!1,method:"post",multi:!0,overrideEvents:[],queueID:!1,queueSizeLimit:0,removeCompleted:!1,simUploadLimit:0,truncateLength:0,uploadLimit:0,uploadScript:"uploadifive.php",width:100},t);if(isNaN(s.fileSizeLimit)){var r=1.024*parseInt(s.fileSizeLimit);s.fileSizeLimit.indexOf("KB")>-1?s.fileSizeLimit=1e3*r:s.fileSizeLimit.indexOf("MB")>-1?s.fileSizeLimit=1e6*r:s.fileSizeLimit.indexOf("GB")>-1&&(s.fileSizeLimit=1e9*r)}else s.fileSizeLimit=1024*s.fileSizeLimit;if(a.inputTemplate=e('<input type="file">').css({"font-size":s.height+"px",opacity:0,position:"absolute",right:"-3px",top:"-3px","z-index":999}),a.createInput=function(){var t=a.inputTemplate.clone(),i=t.name="input"+a.inputCount++;s.multi&&t.attr("multiple",!0),s.fileType&&t.attr("accept",s.fileType),t.bind("change",function(){a.queue.selected=0,a.queue.replaced=0,a.queue.errors=0,a.queue.queued=0;var t=this.files.length;if(a.queue.selected=t,a.queue.count+t>s.queueSizeLimit&&0!==s.queueSizeLimit)e.inArray("onError",s.overrideEvents)<0&&alert("The maximum number of queue items has been reached ("+s.queueSizeLimit+"). Please select fewer files."),"function"==typeof s.onError&&s.onError.call(n,"QUEUE_LIMIT_EXCEEDED");else{for(var r=0;t>r;r++)file=this.files[r],a.addQueueItem(file);a.inputs[i]=this,a.createInput()}s.auto&&o.upload.call(n),"function"==typeof s.onSelect&&s.onSelect.call(n,a.queue)}),a.currentInput&&a.currentInput.hide(),a.button.append(t),a.currentInput=t},a.destroyInput=function(o){e(a.inputs[o]).remove(),delete a.inputs[o],a.inputCount--},a.drop=function(t){a.queue.selected=0,a.queue.replaced=0,a.queue.errors=0,a.queue.queued=0;var i=t.dataTransfer,r=i.name="input"+a.inputCount++,d=i.files.length;if(a.queue.selected=d,a.queue.count+d>s.queueSizeLimit&&0!==s.queueSizeLimit)e.inArray("onError",s.overrideEvents)<0&&alert("The maximum number of queue items has been reached ("+s.queueSizeLimit+"). Please select fewer files."),"function"==typeof s.onError&&s.onError.call(n,"QUEUE_LIMIT_EXCEEDED");else{for(var l=0;d>l;l++)file=i.files[l],a.addQueueItem(file);a.inputs[r]=i}s.auto&&o.upload.call(n),"function"==typeof s.onDrop&&s.onDrop.call(n,i.files,i.files.length),t.preventDefault(),t.stopPropagation()},a.fileExistsInQueue=function(e){for(var o in a.inputs){input=a.inputs[o],limit=input.files.length;for(var t=0;t<limit;t++)if(existingFile=input.files[t],existingFile.name==e.name&&!existingFile.complete)return!0}return!1},a.removeExistingFile=function(e){for(var t in a.inputs){input=a.inputs[t],limit=input.files.length;for(var i=0;i<limit;i++)existingFile=input.files[i],existingFile.name!=e.name||existingFile.complete||(a.queue.replaced++,o.cancel.call(n,existingFile,!0))}},0==s.itemTemplate?a.queueItem=e('<div class="uploadifive-queue-item"> <a class="close" href="#">X</a> <div><span class="filename"></span><span class="fileinfo"></span></div> <div class="progress"> <div class="progress-bar"></div> </div> </div>'):a.queueItem=e(s.itemTemplate),a.addQueueItem=function(t){if(e.inArray("onAddQueueItem",s.overrideEvents)<0){a.removeExistingFile(t),t.queueItem=a.queueItem.clone(),t.queueItem.attr("id",s.id+"-file-"+a.fileID++),t.queueItem.find(".close").bind("click",function(){return o.cancel.call(n,t),!1});var i=t.name;i.length>s.truncateLength&&0!=s.truncateLength&&(i=i.substring(0,s.truncateLength)+"..."),t.queueItem.find(".filename").html(i),t.queueItem.data("file",t),a.queueEl.append(t.queueItem)}"function"==typeof s.onAddQueueItem&&s.onAddQueueItem.call(n,t),t.size>s.fileSizeLimit&&0!=s.fileSizeLimit?a.error("FILE_SIZE_LIMIT_EXCEEDED",t):(a.queue.queued++,a.queue.count++)},a.removeQueueItem=function(o,t,n){n||(n=0);var i=t?0:500;o.queueItem&&(" - Completed"!=o.queueItem.find(".fileinfo").html()&&o.queueItem.find(".fileinfo").html(" - Cancelled"),o.queueItem.find(".progress-bar").width(0),o.queueItem.delay(n).fadeOut(i,function(){e(this).remove()}),delete o.queueItem,a.queue.count--)},a.filesToUpload=function(){var e=0;for(var o in a.inputs){input=a.inputs[o],limit=input.files.length;for(var t=0;t<limit;t++)file=input.files[t],file.skip||file.complete||e++}return e},a.checkExists=function(t){if(e.inArray("onCheck",s.overrideEvents)<0){e.ajaxSetup({async:!1});var a=e.extend(s.formData,{filename:t.name});if(e.post(s.checkScript,a,function(e){t.exists=parseInt(e)}),t.exists&&!confirm("A file named "+t.name+" already exists in the upload folder.\nWould you like to replace it?"))return o.cancel.call(n,t),!0}return"function"==typeof s.onCheck&&s.onCheck.call(n,t,t.exists),!1},a.uploadFile=function(o,t){if(!o.skip&&!o.complete&&!o.uploading)if(o.uploading=!0,a.uploads.current++,a.uploads.attempted++,xhr=o.xhr=new XMLHttpRequest,"function"==typeof FormData||"object"==typeof FormData){var r=new FormData;r.append(s.fileObjName,o);for(i in s.formData)r.append(i,s.formData[i]);xhr.open(s.method,s.uploadScript,!0),xhr.upload.addEventListener("progress",function(e){e.lengthComputable&&a.progress(e,o)},!1),xhr.addEventListener("load",function(e){4==this.readyState&&(o.uploading=!1,200==this.status?"Invalid file type."!==o.xhr.responseText?a.uploadComplete(e,o,t):a.error(o.xhr.responseText,o,t):404==this.status?a.error("404_FILE_NOT_FOUND",o,t):403==this.status?a.error("403_FORBIDDEN",o,t):a.error("Unknown Error",o,t))}),xhr.send(r)}else{var d=new FileReader;d.onload=function(i){var r="-------------------------"+(new Date).getTime(),d="--",l="\r\n",c="";c+=d+r+l,c+='Content-Disposition: form-data; name="'+s.fileObjName+'"',o.name&&(c+='; filename="'+o.name+'"'),c+=l,c+="Content-Type: application/octet-stream"+l+l,c+=i.target.result+l;for(key in s.formData)c+=d+r+l,c+='Content-Disposition: form-data; name="'+key+'"'+l+l,c+=s.formData[key]+l;c+=d+r+d+l,xhr.upload.addEventListener("progress",function(e){a.progress(e,o)},!1),xhr.addEventListener("load",function(e){o.uploading=!1;var n=this.status;404==n?a.error("404_FILE_NOT_FOUND",o,t):"Invalid file type."!=o.xhr.responseText?a.uploadComplete(e,o,t):a.error(o.xhr.responseText,o,t)},!1);var u=s.uploadScript;if("get"==s.method){var h=e(s.formData).param();u+=h}xhr.open(s.method,s.uploadScript,!0),xhr.setRequestHeader("Content-Type","multipart/form-data; boundary="+r),"function"==typeof s.onUploadFile&&s.onUploadFile.call(n,o),xhr.sendAsBinary(c)},d.readAsBinaryString(o)}},a.progress=function(o,t){if(e.inArray("onProgress",s.overrideEvents)<0){if(o.lengthComputable)var a=Math.round(o.loaded/o.total*100);t.queueItem.find(".fileinfo").html(" - "+a+"%"),t.queueItem.find(".progress-bar").css("width",a+"%")}"function"==typeof s.onProgress&&s.onProgress.call(n,t,o)},a.error=function(t,i,r){if(e.inArray("onError",s.overrideEvents)<0){switch(t){case"404_FILE_NOT_FOUND":errorMsg="404 Error";break;case"403_FORBIDDEN":errorMsg="403 Forbidden";break;case"FORBIDDEN_FILE_TYPE":errorMsg="Forbidden File Type";break;case"FILE_SIZE_LIMIT_EXCEEDED":errorMsg="File Too Large";break;default:errorMsg="Unknown Error"}i.queueItem.addClass("error").find(".fileinfo").html(" - "+errorMsg),i.queueItem.find(".progress").remove()}"function"==typeof s.onError&&s.onError.call(n,t,i),i.skip=!0,"404_FILE_NOT_FOUND"==t?a.uploads.errors++:a.queue.errors++,r&&o.upload.call(n,null,!0)},a.uploadComplete=function(t,i,r){e.inArray("onUploadComplete",s.overrideEvents)<0&&(i.queueItem.find(".progress-bar").css("width","100%"),i.queueItem.find(".fileinfo").html(" - Completed"),i.queueItem.find(".progress").slideUp(250),i.queueItem.addClass("complete")),"function"==typeof s.onUploadComplete&&s.onUploadComplete.call(n,i,i.xhr.responseText),s.removeCompleted&&setTimeout(function(){o.cancel.call(n,i)},3e3),i.complete=!0,a.uploads.successful++,a.uploads.count++,a.uploads.current--,delete i.xhr,r&&o.upload.call(n,null,!0)},a.queueComplete=function(){"function"==typeof s.onQueueComplete&&s.onQueueComplete.call(n,a.uploads)},!(window.File&&window.FileList&&window.Blob&&(window.FileReader||window.FormData)))return"function"==typeof s.onFallback&&s.onFallback.call(n),!1;if(s.id="uploadifive-"+n.attr("id"),a.button=e('<div id="'+s.id+'" class="uploadifive-button">'+s.buttonText+"</div>"),s.buttonClass&&a.button.addClass(s.buttonClass),a.button.css({height:s.height,"line-height":s.height+"px",overflow:"hidden",position:"relative","text-align":"center",width:s.width}),n.before(a.button).appendTo(a.button).hide(),a.createInput.call(n),s.queueID?a.queueEl=e("#"+s.queueID):(s.queueID=s.id+"-queue",a.queueEl=e('<div id="'+s.queueID+'" class="uploadifive-queue" />'),a.button.after(a.queueEl)),s.dnd){var d=s.dropTarget?e(s.dropTarget):a.queueEl.get(0);d.addEventListener("dragleave",function(e){e.preventDefault(),e.stopPropagation()},!1),d.addEventListener("dragenter",function(e){e.preventDefault(),e.stopPropagation()},!1),d.addEventListener("dragover",function(e){e.preventDefault(),e.stopPropagation()},!1),d.addEventListener("drop",a.drop,!1)}XMLHttpRequest.prototype.sendAsBinary||(XMLHttpRequest.prototype.sendAsBinary=function(e){function o(e){return 255&e.charCodeAt(0)}var t=Array.prototype.map.call(e,o),n=new Uint8Array(t);this.send(n.buffer)}),"function"==typeof s.onInit&&s.onInit.call(n)})},debug:function(){return this.each(function(){console.log(e(this).data("uploadifive"))})},clearQueue:function(){this.each(function(){var t=e(this),n=t.data("uploadifive"),a=n.settings;for(var s in n.inputs)for(input=n.inputs[s],limit=input.files.length,i=0;i<limit;i++)file=input.files[i],o.cancel.call(t,file);"function"==typeof a.onClearQueue&&a.onClearQueue.call(t,e("#"+n.settings.queueID))})},cancel:function(t,n){this.each(function(){var a=e(this),i=a.data("uploadifive"),s=i.settings;"string"==typeof t&&(isNaN(t)||(fileID="uploadifive-"+e(this).attr("id")+"-file-"+t),t=e("#"+fileID).data("file")),t.skip=!0,i.filesCancelled++,t.uploading&&(i.uploads.current--,t.uploading=!1,t.xhr.abort(),delete t.xhr,o.upload.call(a)),e.inArray("onCancel",s.overrideEvents)<0&&i.removeQueueItem(t,n),"function"==typeof s.onCancel&&s.onCancel.call(a,t)})},upload:function(o,t){this.each(function(){var n=e(this),a=n.data("uploadifive"),i=a.settings;if(o)a.uploadFile.call(n,o);else if(a.uploads.count+a.uploads.current<i.uploadLimit||0==i.uploadLimit){if(!t){a.uploads.attempted=0,a.uploads.successsful=0,a.uploads.errors=0;var s=a.filesToUpload();"function"==typeof i.onUpload&&i.onUpload.call(n,s)}e("#"+i.queueID).find(".uploadifive-queue-item").not(".error, .complete").each(function(){return _file=e(this).data("file"),a.uploads.current>=i.simUploadLimit&&0!==i.simUploadLimit||a.uploads.current>=i.uploadLimit&&0!==i.uploadLimit||a.uploads.count>=i.uploadLimit&&0!==i.uploadLimit?!1:void(i.checkScript?(_file.checking=!0,skipFile=a.checkExists(_file),_file.checking=!1,skipFile||a.uploadFile(_file,!0)):a.uploadFile(_file,!0))}),0==e("#"+i.queueID).find(".uploadifive-queue-item").not(".error, .complete").size()&&a.queueComplete()}else 0==a.uploads.current&&(e.inArray("onError",i.overrideEvents)<0&&a.filesToUpload()>0&&0!=i.uploadLimit&&alert("The maximum upload limit has been reached."),"function"==typeof i.onError&&i.onError.call(n,"UPLOAD_LIMIT_EXCEEDED",a.filesToUpload()))})},destroy:function(){this.each(function(){var t=e(this),n=t.data("uploadifive"),a=n.settings;o.clearQueue.call(t),a.queueID||e("#"+a.queueID).remove(),t.siblings("input").remove(),t.show().insertBefore(n.button),n.button.remove(),"function"==typeof a.onDestroy&&a.onDestroy.call(t)})}};e.fn.upload=function(t){return o[t]?o[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("The method "+t+" does not exist in $.uploadify"):o.init.apply(this,arguments)}}(n)}),define("js/me/index",["jquery","swiper","index"],function(e,o,t){var n,a=e("jquery"),i=a(".user-avatar"),s=a(".list-item"),r=new Image;e("js/product/recommend-for-you"),e("js/product/suspend-cart"),n=i.data("avatar"),r.src=n,r.onload=function(){i.css("background-image","url("+n+")")},a(".yoho-page").on("touchstart",".list-item, .type-item, .order-title",function(){s.removeClass("highlight"),a(this).addClass("highlight")}).on("touchend touchcancel",".list-item, .type-item, .order-title",function(){a(this).removeClass("highlight")})}),define("js/product/recommend-for-you",["swiper","jquery","index"],function(e,o,t){var n,a=e("swiper"),i=e("jquery"),s=i(".recommend-for-you");i.get("/home/preference").then(function(e){s.html(e).show(),i("#swiper-recommend").length&&(n=new a("#swiper-recommend",{slidesPerView:"auto",grabCursor:!0,slideElement:"a",lazyLoading:!0,watchSlidesVisibility:!0}))}).fail(function(){s.hide()})}),define("js/me/coupons",["jquery","hammer","mlellipsis"],function(e,o,t){function n(e,o){d.showLoadingMask(),i.ajax({type:"POST",url:"/home/couponData",dataType:"html",data:{status:e,page:o},success:function(e){i("#employ").append(e),window.rePosFooter(),d.hideLoadingMask()}})}var a,i=e("jquery"),s=e("hammer"),r=e("mlellipsis"),d=e("js/plugin/loading"),l=0,c=1;r.init(),i(".yoho-footer").css("border-top","1px solid #e0e0e0"),i(".employ span").each(function(e){a=new s(i(".employ span")[e]),a.on("tap",function(o){i(".employ span").removeClass("active").eq(e).addClass("active"),i("#employ").html(" "),l=e,c=1,n(l,c),window.rePosFooter()})}),i(window).scroll(function(){return i(window).scrollTop()+i(window).height()>i("body").height()-1?(c++,void n(l,c)):void 0}),n(l,c)}),define("js/me/online-service",["jquery"],function(e,o,t){var n=e("jquery"),a=n(".question-tab .tab-item");a.on("touchend",function(){var e=n(this).data("tab");e='[data-tab-name="'+e+'"]',a.removeClass("current"),n(this).addClass("current"),n(".question-list").removeClass("current"),n(e).addClass("current")}),n(".yoho-page").on("touchstart",".connect-item, .question-item",function(){n(this).siblings().removeClass("highlight"),n(this).addClass("highlight")}).on("touchend touchcancel",".connect-item, .question-item",function(){n(this).removeClass("highlight")})}),define("js/me/address",["jquery","hammer"],function(e,o,t){var n,a=e("jquery"),i=e("js/plugin/tip"),s=e("js/plugin/loading"),r=a(".action"),d=a(".add-address"),l=a("#yoho-footer"),c=a(".confim-mask"),u=a(".page-wrap"),h=a(".address-item");e("js/common"),u.first().css("min-height",function(){return a(window).height()-a("#yoho-header").height()-l.height()}),window.rePosFooter(),c.on("touchend",".cancel",function(e){return n=null,c.fadeOut(),!1}).on("touchend",".confim",function(){return s.showLoadingMask(),c.fadeOut(),a.ajax({method:"POST",url:"/home/delAddress",data:{id:n}}).then(function(e){"object"!==a.type(e)&&(e={}),200!==e.code?(i.show(e.message||"网络出了点问题~"),s.hideLoadingMask()):window.location.reload()}).fail(function(){i.show("网络出了点问题~"),s.hideLoadingMask()}).always(function(){n=null}),!1}),h.length<5&&d.attr("href",d.data("href")),d.on("touchend",function(){return h.length>=5?(i.show("您最多添加5个收货地址"),!1):void 0}),r.on("touchend",".del",function(){return n=a(this).data("id"),c.fadeIn(),!1})}),define("js/me/browse-record",["jquery","lazyload","handlebars","source-map","hammer"],function(e,o,t){function n(e){var o=d.children(".browse-record-good").length;f||(1===h&&l.removeClass("hide"),f=!0,a.ajax({type:"GET",url:"/home/recordContent",data:{page:h+1},success:function(t){" "===t?(p=!0,c.addClass("hide"),u.removeClass("hide")):(0===o?(d.html(t),i()):(d.append(t),i(d.find(".browse-record-good:gt("+(o-1)+") .lazy"))),window.rePosFooter(),h++,e&&e())},complete:function(){f=!1}}))}var a=e("jquery"),i=e("lazyload"),s=e("js/plugin/loading"),r=e("js/me/dialog"),d=a(".records"),l=a(".load-more"),c=l.children(".more"),u=l.children(".no-more"),h=0,p=!1,f=!1,m=a(window).height();s.init(),s.showLoadingMask(),n(s.hideLoadingMask),a(window).scroll(function(){p||m+a(window).scrollTop()>a(document).height()-.25*d.height()&&n()}),d.on("touchstart",".del-icon",function(){var e=a(this).closest(".browse-record-good"),o=e.data("skn");r.showDialog({dialogText:"确定删除此条浏览记录吗?",hasFooter:{leftBtnText:"取消",rightBtnText:"确定"}},function(){a.ajax({type:"GET",url:"/home/delRecord",data:{skn:o},success:function(e){200===e.code&&(r.showDialog({dialogText:"删除浏览记录成功",autoHide:2e3,fast:!0}),setTimeout(function(){window.history.go(0)},1200))}})})})}),define("js/me/address-act",["jquery","hammer"],function(e,o,t){var n,a=e("jquery"),i=e("hammer"),s=e("js/plugin/tip"),r=e("js/plugin/security"),d=e("js/plugin/loading"),l=a(".edit-address"),c=a(".submit"),u=a(".my-edit-address-page"),h=a(".my-address-list-page"),p=a(".nav-back"),f=a(".nav-title"),m=a("input, textarea"),g=f.html(),v=a(".area"),w="edit",y=[],b=a.queryString();a(u,h).css("min-height",function(){return a(window).height()-a("#yoho-header").height()}),p.attr("href","javascript:void(0);"),p.on("touchend",function(e){"list"===w?(h.hide(),u.show(),e.preventDefault(),w="edit",f.html(g),h.hide(),h.find("ul").hide().find("li").removeClass("highlight"),h.children("ul").show().children("li").show(),y=[]):window.history.go(-1)}),l.on("submit",function(){return n?!1:r.hasDangerInput(!1)?!1:a(this).find('[name="consignee"]').val()?a(this).find('[name="mobile"]').val()?a(this).find('[name="area_code"]').val()&&a(this).find('[name="area"]').val()?a(this).find('[name="address"]').val()?(n=!0,d.showLoadingMask(),a.ajax({method:"POST",url:"/home/saveAddress",data:a(this).serialize()}).then(function(e){"object"!==a.type(e)&&(e={}),200!==e.code?(s.show(e.message||"网络出了点问题~"),n=!1,d.hideLoadingMask()):"shopping"===b.refer?window.location.href="/cart/index/selectAddress":window.location.href="/home/address"}).fail(function(){s.show("网络出了点问题~"),n=!1}),!1):(s.show("地址不能为空"),!1):(s.show("省市区不能为空"),!1):(s.show("手机号不能为空"),!1):(s.show("收件人不能为空"),!1)}),c.on("touchend",function(){return r.hasDangerInput(!1)?!1:(m.blur(),l.submit(),!1)}).on("touchstart",function(){a(this).addClass("highlight")}).on("touchend touchcancel",function(){a(this).removeClass("highlight")}),a.ajax({method:"GET",url:"/home/locationList",timeout:6e4}).then(function(e){h.html(e),v.on("touchend",function(){u.hide(),h.show(),w="list",f.html("地区选择")}),h.find(".address").each(function(e,o){var t=new i(o);t.on("tap",function(e){var o=a(e.target);"li"!==e.target.tagName.toLowerCase()&&(o=o.parent("li")), +y.push(o.children(".caption").text().trim()),o.siblings().hide(),o.children("ul").show().children("li").show(),e.srcEvent.preventDefault(),e.srcEvent.stopPropagation()})}),h.find(".address-last").each(function(e,o){var t=new i(o);t.on("tap",function(e){var o=a(e.target);y.push(o.text().trim()),a('[name="area"]').val(y.join(" ")),a('[name="area_code"]').val(o.data("id")),u.show(),w="edit",f.html(g),h.hide(),h.find("ul").hide().find("li").removeClass("highlight"),h.children("ul").show().children("li").show(),y=[],e.srcEvent.preventDefault(),e.srcEvent.stopPropagation()})}),h.on("touchstart","li",function(){a(this).addClass("highlight")}).on("touchend touchcancel","li",function(){a(this).removeClass("highlight")})}).fail(function(){s.show("获取省市区列表失败")})}),define("js/me/logistic",["jquery"],function(e,o,t){function n(){d+r>s?window.rePosFooter():i.css("border-top","1px solid #f1f1f1")}var a=e("jquery"),i=a("#yoho-footer"),s=window.outerHeight,r=document.body.offsetHeight,d=i.height();a(document).ready(n)}),define("js/me/pay",["jquery","hammer"],function(e,o,t){function n(){document.addEventListener("WeixinJSBridgeReady",function(){window.WeixinJSBridge&&window.WeixinJSBridge.call("hideOptionMenu")})}function a(e,o){window.WeixinJSBridge&&window.WeixinJSBridge.invoke("getBrandWCPayRequest",o,function(o){window.location.href="/home/orders/detail?order_code="+e})}function i(e){var o;void 0===typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",a,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",a),document.attachEvent("onWeixinJSBridgeReady",a)):p.ajax({type:"GET",url:"/shopping/pay/wechatwapapi?order_code="+e,dataType:"json",success:function(t){200===t.code?(o=t.data.jsApiParameters,a(e,o)):m.show("微信支付调取失败")},error:function(){m.show("请刷新本页面,完成微信支付")}})}function s(){var e=window.navigator.userAgent.toLowerCase();return e.indexOf("micromessenger")>0?!0:!1}function r(){var e=p(".app");e.each(function(e,o){return"weixin"===p(o).parent().attr("id")?(p(o).parent().css("display","none"),!1):void 0})}function d(){s()||r()}function l(e,o){p(e).css("background-position-y",o)}function c(){var e=p(".box"),o=null,t=null;e.each(function(e,n){o=p(n).find(".icon").find("div"),o.length>0&&(t=p(n).attr("id"),"alipay"!==t&&l(o,b[t]))})}function u(){var e=p(".payapp-list");e.css("visibility","visible")}function h(){d(),f.hideLoadingMask(),u(),c()}var p=e("jquery"),f=e("js/plugin/loading"),m=e("js/plugin/tip"),g=e("hammer"),v=document.getElementById("ordercode").value,w=document.getElementById("weixin"),y=w&&new g(w),b={baidu:"-2.7rem",weixin:"-1.2rem",QQ:"-5.4rem",bank:"-4rem"};window.wx&&wx.hideOptionMenu(),void 0===typeof WeixinJSBridge?(document.addEventListener?document.addEventListener("WeixinJSBridgeReady",n,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",n),document.attachEvent("onWeixinJSBridgeReady",n)),n()):n(),y&&y.on("tap",function(){i(v)}),f.showLoadingMask(),p(document).ready(h)}),define("js/me/personal-details",["jquery"],function(e,o,t){var n,a=e("jquery"),i=a(".user-avatar"),s=new Image;n=i.data("avatar"),s.src=n,s.onload=function(){i.css("background-image","url("+n+")")}}),define("js/me/currency",["jquery"],function(e,o,t){function n(e){a.ajax({type:"POST",url:"/home/ajaxCurrencyDetail",dataType:"html",data:{page:e},success:function(e){a(".coin-detail").append(e),window.rePosFooter()}})}var a=e("jquery"),i=1;a(window).scroll(function(){return a(window).scrollTop()+a(window).height()>a("body").height()-1?(i++,void n(i)):void 0}),n(i)}),define("js/cart/entry",["jquery","mlellipsis","hammer","handlebars","source-map","swiper","lazyload","index"],function(e,o,t){e("js/cart/cart"),e("js/cart/gift-advance"),e("js/cart/order-ensure"),e("js/cart/select-coupon"),e("js/cart/select-address")}),define("js/cart/cart",["jquery","mlellipsis","hammer","handlebars","source-map","swiper","lazyload","index"],function(e,o,t){function n(){return window.isCookiesEnabled()?p(".cart-goods").length<=0&&!T:p(".cart-goods").length<=0}function a(){return b.not(".hide")}function i(){a().find(".shopping-cart-good .name").each(function(){this.mlellipsis(2)}),q=!0}function s(){return a().find(".cart-goods .icon-cb-checked").length>0?!0:!1}function r(){var e=a().find(".freebie");return e.length<=0?!1:!0}function d(){var e,o=!1;return"ordinary"===C?e=p(".common .low-stocks"):"advance"===C&&(e=p(".presell .low-stocks")),e.length<=0?o:(e.each(function(e,t){return p(t).parent().parent().parent().siblings(".checkbox").hasClass("icon-cb-checked")?(o=!0,!1):void 0}),o)}function l(){v.showDialog({dialogText:"您还未选择赠品,是否去选择赠品",hasFooter:{leftBtnText:"我不要赠品",rightBtnText:"去选择"}},function(){window.location.href=a().find(".freebie > a").attr("href")},function(){window.location.href="/cart/index/orderEnsure?cartType="+C})}var c,u,h,p=e("jquery"),f=e("mlellipsis"),m=e("hammer"),g=e("js/cart/chose-panel"),v=e("js/me/dialog"),w=e("js/plugin/loading"),y=e("js/plugin/tip"),b=p(".cart-content"),C=p("#cartType").val(),j=p(".cart-nav"),x=p(".shopping-cart-page"),k=!1,q=!1,T="true"===window.cookie("_yoho-cart-refreshByDelete")?!0:!1;w.showLoadingMask(),n()?e("js/product/recommend-for-you"):(T&&p("body").css("background-color","#f0f0f0"),e("js/cart/good")),x.css("display","block"),w.hideLoadingMask(),window.setCookie("_yoho-cart-refreshByDelete",!1),f.init(),"function"==typeof window.cookie&&"y"===window.cookie("_hasShowCartPresellTip")?(p("#presell-tip").removeClass("show").addClass("hide"),k=!0):p("#presell-tip").removeClass("hide").addClass("show"),"advance"===C&&(b.toggleClass("hide"),p("#common-cart-nav").removeClass("active"),p("#presell-cart-nav").addClass("active"),i(),p(window).trigger("scroll")),j.length>0&&(c=new m(document.getElementsByClassName("cart-nav")[0]),c.on("tap",function(e){var o=p(e.target).closest("li");o.hasClass("active")||("ordinary"===C?(C="advance",p("#cartType").val("advance")):(C="ordinary",p("#cartType").val("ordinary")),o.siblings(".active").removeClass("active"),o.addClass("active"),b.toggleClass("hide"),q===!1&&i(),p(window).trigger("scroll"))}),k||setTimeout(function(){p("#presell-tip").removeClass("show").addClass("hide"),window.setCookie("_hasShowCartPresellTip","y")},3e3)),p(".advance-buy").length>0&&(u=new m(document.getElementsByClassName("advance-buy")[0]),u.on("tap",function(e){window.location.href="/cart/index/advanceBuy?cartType="+C})),p(".freebie").length>0&&(h=new m(document.getElementsByClassName("freebie")[0]),h.on("tap",function(e){window.location.href="/cart/index/gift?cartType="+C})),p(".btn-balance").on("touchend",function(){return d()?(y.show("所选商品中含有库存不足的商品"),!1):r()?(l(),!1):void(s()?window.location.href="/cart/index/orderEnsure?cartType="+C:y.show("请先勾选商品"))}),p(".chose").on("touchend",function(){g.show()}),j.on("touchstart","li",function(e){p(this).addClass("bytouch")}).on("touchend touchcancel",function(){j.find("li").removeClass("bytouch")}),p(window).scrollTop(1).scrollTop(0)}),define("js/cart/good",["jquery","mlellipsis","lazyload","handlebars","source-map","hammer"],function(e,o,t){function n(e){this.goods_type=e.goods_type,this.buy_number=e.buy_number,this.product_sku=e.product_sku,this.selected=e.selected}function a(e,o){m||(m=!0,r.ajax({url:"select",type:"post",data:{skuList:JSON.stringify(e)},success:function(e){200===e.code?o():h.show(e.message)},error:function(){h.show("网络异常")},complete:function(){m=!1}}))}function i(){var e,o=r(".shopping-cart-good .icon-cb-checked"),t=r(".shopping-cart-good .icon-checkbox");f.hasClass("icon-cb-checked")?(f.removeClass("icon-cb-checked").addClass("icon-checkbox"),e=!0):(f.removeClass("icon-checkbox").addClass("icon-cb-checked"),e=!1),e?o.each(function(e,o){r(o).removeClass("icon-cb-checked").addClass("icon-checkbox")}):t.each(function(e,o){r(o).removeClass("icon-checkbox").addClass("icon-cb-checked")}),window.location.href="/cart/index/index?cartType="+r("#cartType").val()}function s(e,o,t){var i={},s=r(".cart-content:not(.hide) .shopping-cart-good"),d=null,l=[];i.goods_type=o,i.selected=e?"N":"Y",s.each(function(e,o){d=r(o),i.product_sku=r(o).data("id"),i.buy_number=d.find(".count").eq(0).text().trim().replace("×",""),l.push(new n(i))}),a(l,t)}var r=e("jquery"),d=e("mlellipsis"),l=e("js/cart/chose-panel"),c=e("lazyload"),u=e("js/me/dialog"),h=e("js/plugin/tip"),p=e("js/cart/order-info").orderInfo,f=r(".balance .checkbox"),m=!1;d.init(),c({try_again_css:"order-failure"}),setTimeout(function(){r(".shopping-cart-good .name").each(function(){this.mlellipsis(2)})},0),r(".cart-goods").on("touchstart",".checkbox",function(){var e=r(this),o=e.closest(".shopping-cart-good"),t=o.data("id"),a=[],i={};return!e.hasClass("icon-cb-checked")&&e.siblings(".info").find(".low-stocks").length>0?(h.show("库存不足,无法购买"),!1):(i.goods_type=r("#cartType").val(),i.selected=e.hasClass("icon-cb-checked")?"N":"Y",i.product_sku=t,i.buy_number=o.find(".count").eq(0).text().trim().replace("×",""),a.push(new n(i)),void r.ajax({type:"post",url:"select",data:{skuList:JSON.stringify(a)}}).then(function(o){200===o.code?(e.hasClass("icon-cb-checked")?e.removeClass("icon-cb-checked").addClass("icon-checkbox"):e.removeClass("icon-checkbox").addClass("icon-cb-checked"),window.location.href="/cart/index/index?cartType="+r("#cartType").val()):400===o.code&&h.show("网络异常")},function(){h.show("网络异常")}))}),r(".icon-del").on("touchstart",function(e){var o=r(this);e.stopPropagation(),u.showDialog({dialogText:"您确定要从购物车中删除吗?",hasFooter:{leftBtnText:"取消",rightBtnText:"确定"}},function(){var e=o.closest(".shopping-cart-good").data("id"),t=o.data("count");r.ajax({method:"post",url:"/cart/index/del",data:{sku:e,count:t}}).then(function(e){200===e.code?(u.showDialog({dialogText:"删除成功",autoHide:!0,fast:!0}),p("couponCode",null),p("couponName",null),window.setCookie("_yoho-cart-refreshByDelete",!0),window.location.href="/cart/index/index?cartType="+r("#cartType").val()):h.show(e.message)},function(){h.show("网络异常"),window.location.reload()})})}),f.on("touchend",function(){var e=r("#cartType").val(),o=r(this).hasClass("icon-cb-checked");if("ordinary"===e){if(!o&&r(".common .low-stocks").length>0)return h.show("所选商品中含有库存不足的商品"),!1}else if("advance"===e&&!o&&r(".presell .low-stocks").length>0)return h.show("所选商品中含有库存不足的商品"),!1;s(o,e,i)}),r(".down").on("touchend",function(){l.show()})}),define("js/cart/order-info",["jquery","hammer"],function(e,o,t){function n(){i={uid:window.getUid(),deliveryId:1,deliveryTimeId:1,paymentTypeId:1,yohoCoin:a(".coin").data("yoho-coin")||0,addressId:null,couponCode:null,couponName:null,invoice:null,invoiceText:null,invoiceType:null,msg:null,cartType:"ordinary"},window.setCookie("order-info",JSON.stringify(i))}var a=e("jquery"),i=window.cookie("order-info");e("js/common");try{i=JSON.parse(i),i.yohoCoin=a(".coin").data("yoho-coin")||0}catch(s){n()}o.init=n,o.orderInfo=function(e,o){return void 0===o?i[e]:(i[e]=o,void window.setCookie("order-info",JSON.stringify(i)))}}),define("js/cart/gift-advance",["jquery","lazyload","hammer"],function(e,o,t){function n(e,o){d.showLoadingMask(),a.get("/cart/index/giftinfo",{skn:e,promotionId:o}).then(function(e){return e?void l.show(e,function(){window.location.href="/cart/index/index?cartType="+u.cartType}):void r.show("网络错误")},function(){r.show("网络错误")}).always(function(){d.hideLoadingMask()})}var a=e("jquery"),i=e("lazyload"),s=e("hammer"),r=e("js/plugin/tip"),d=e("js/plugin/loading"),l=e("js/cart/chose-panel"),c=a(".gift-advance-page"),u=a.queryString();e("js/common"),i(a(".lazy")),c.find(".chose").each(function(e,o){var t=new s(o);t.on("tap",function(e){var o=a(e.target),t=o.closest(".gift-advance-good").data("id"),i=o.closest(".advance-block").data("promotion-id");n(t,i)})})}),define("js/cart/order-ensure",["jquery","lazyload","hammer","handlebars","source-map"],function(e,o,t){function n(e){var o=c(e.target).closest("li");0===o.length||o.hasClass("chosed")||(o.siblings("li.chosed").removeClass("chosed"),o.addClass("chosed"))}function a(){c.ajax({method:"POST",url:"/cart/index/orderCompute",data:{cartType:q("cartType")||"ordinary",deliveryId:q("deliveryId"),paymentTypeId:q("paymentTypeId"),couponCode:q("couponCode"),yohoCoin:q("yohoCoin")}}).then(function(e){var o;"object"!==c.type(e)?window.location.reload():(e.last_order_amount&&(e.last_order_amount=(+e.last_order_amount).toFixed(2)),e.use_yoho_coin&&(C.find("em").html("- ¥ "+e.use_yoho_coin),j.html("已抵¥"+e.use_yoho_coin),C.find("em").show(),j.show()),o=x({cartPayData:e.promotion_formula_list,price:e.last_order_amount}),w.html(o))}).fail(function(){window.location.reload()})}function i(){var e=v.find('[name="invoice-title"]').val()||q("invoiceText"),o=c("#msg").find("input").val()||q("msg");if(2===q("deliveryId")&&!b.data("support"))return void f.show("当前地址不支持顺丰快递");if(l)return!1;if(q("invoice")){if(!e)return void f.show("请输入发票抬头");if(e.length>30)return void f.show("发票抬头不得超过30个汉字")}return o&&o.length>40?void f.show("留言不得超过40个汉字"):(m.showLoadingMask(),l=!0,void c.ajax({method:"POST",url:"/cart/index/orderSub",data:{addressId:q("addressId"),cartType:q("cartType")||"ordinary",deliveryId:q("deliveryId"),deliveryTimeId:q("deliveryTimeId"),invoiceText:q("invoice")?e:null,invoiceType:q("invoice")?v.find(".invoice-type").val()||q("invoiceType"):null,msg:o,paymentTypeId:q("paymentTypeId"),paymentType:q("paymentType"),couponCode:q("couponCode"),yohoCoin:q("yohoCoin")}}).then(function(e){var o;return e?void(200===e.code?(o=2===d?"/home/orderDetail?order_code="+e.data.order_code:"/home/orders/pay?order_code="+e.data.order_code,window.setCookie("order-info",""),window.location.href=o):e.message&&f.show(e.message)):void f.show("网络出错")}).fail(function(){f.show("网络出错")}).always(function(){l=!1,m.hideLoadingMask()}))}var s,r,d,l,c=e("jquery"),u=e("lazyload"),h=e("hammer"),p=e("handlebars"),f=e("js/plugin/tip"),m=e("js/plugin/loading"),g=e("js/cart/order-info"),v=c(".invoice"),w=c(".price-cal"),y=c(".coupon-use.used"),b=c(".address-wrap"),C=c(".coin-check"),j=c(".coin .used"),x=p.compile(c("#tmpl-price").html()),k=c.queryString(),q=g.orderInfo;e("js/common"),u(),window.getUid()!==q("uid")&&(g.init(),window.location.reload()),y.data("name")!==q("couponName")&&(q("couponCode",null),q("couponName",null)),q("cartType",k.cartType||k.carttype||"ordinary"),s=new h(document.getElementsByClassName("dispatch-mode")[0]),s.on("tap",n),r=new h(document.getElementsByClassName("dispatch-time")[0]),r.on("tap",n),c(".checkbox").on("touchstart",function(){var e=c(this);return e.hasClass("icon-cb-checked")?void e.removeClass("icon-cb-checked").addClass("icon-checkbox"):void(e.hasClass("icon-checkbox")&&e.removeClass("icon-checkbox").addClass("icon-cb-checked"))}),c(".invoice").on("touchend",".checkbox",function(){var e=c(this);e.hasClass("icon-cb-checked")&&c(".invoice").addClass("focus"),e.hasClass("icon-checkbox")&&c(".invoice").removeClass("focus")}),q("addressId")||q("addressId",b.data("id")),c(".dispatch-mode").on("touchend","li",function(){var e=c('.dispatch-mode [data-id="1"]');b.data("support")||2!==c(this).data("id")?(q("deliveryId",c(this).data("id")),a()):(n({target:e}),f.show("当前地址不支持顺丰快递"))}),c(".dispatch-time").on("touchend","li",function(){q("deliveryTimeId",c(this).data("id"))}),c(".coin").on("touchend",function(){var e=c(this);e.find(".checkbox").hasClass("icon-cb-checked")?(q("yohoCoin",e.data("yoho-coin")),e.find(".can-use").hide()):(q("yohoCoin",0),e.find(".coin-check em").hide(),e.find(".can-use").show(),e.find(".used").hide()),a()}),v.on("touchend",function(){var e=c(this);q("invoice",e.find(".checkbox").hasClass("icon-cb-checked"))}),v.find('[name="invoice-title"]').on("blur",function(){q("invoiceText",c(this).val())}).end().find(".invoice-type").on("change",function(){q("invoiceType",c(this).val())}),c("#msg").find("textarea").on("blur",function(){q("msg",c(this).val())}),c(".pay-mode").on("click","li",function(){var e=c(this);q("paymentTypeId",e.data("pay-id")),q("paymentType",e.data("pay-type")),d=e.data("pay-type"),i()}),c("form").on("submit",function(){return!1})}),define("js/cart/select-coupon",["jquery","handlebars","source-map","mlellipsis","hammer"],function(e,o,t){function n(){var e=r(".null"),o=r(".nav-title").height(),t=e.height();return 0===e.length?!1:void e.css({top:w/2-t/2+o})}function a(e){var o=[];return r.isArray(e)?(e.length<10&&(f=!1),e.length||2!==p?(r.each(e,function(e,t){t.notAvailable&&o.push(t)}),r("#coupon-list").append(m({coupons:e})),o.length&&r(".not-avaliable-coupon-line").show(),r("#coupon-list-not").append(g({notAvailableCoupons:o})),void window.rePosFooter()):(r(".coupin-wrap").html(r("#tmpl-no-coupon").html()),void n())):void p--}function i(){f&&(s||(c.showLoadingMask(),p+=1,s=!0,r.ajax({type:"POST",url:"/cart/index/couponList",dataType:"json",data:{page:p}}).then(a).fail(function(){p-=1,u.show("加载优惠券失败")}).always(function(){s=!1,c.hideLoadingMask()})))}var s,r=e("jquery"),d=e("handlebars"),l=e("mlellipsis"),c=e("js/plugin/loading"),u=e("js/plugin/tip"),h=e("js/cart/order-info").orderInfo,p=1,f=!0,m=d.compile(r("#tmpl-coupon").html()),g=d.compile(r("#tmpl-coupon-not-avaliable").html()),v=r("#new-coupon"),w=r(window).height();e("js/common"),l.init(),v.on("submit",function(){var e=r(this);return e.find('[name="couponCode"]').val()?(r.ajax({method:"POST",url:"/cart/index/couponSearch",data:e.serialize()}).then(function(e){200===e.code?(u.show("优惠券可用"),h("couponCode",e.data.coupon_code),h("couponName",e.data.coupon_title),window.location.href="/cart/index/orderEnsure"):u.show(e.message||"网络错误")}).fail(function(){u.show("网络错误")}),!1):(u.show("请输入优惠券码"),!1)}),r("#coupon-list").on("click",".employ-main",function(){var e=r(this),o=e.data("coupon-code");r.ajax({method:"POST",url:"/cart/index/couponSearch",data:{couponCode:o}}).then(function(e){200===e.code?(h("couponCode",e.data.coupon_code),h("couponName",e.data.coupon_title),window.location.href="/cart/index/orderEnsure"):u.show(e.message||"网络错误")}).fail(function(){u.show("网络错误")})}).on("touchstart",".employ-main",function(){var e=r(this);e.siblings().removeClass("focus"),e.addClass("focus")}).on("touchend touchcancel",".employ-main",function(){var e=r(this);e.siblings().removeClass("focus"),e.removeClass("focus")}),r("body").on("touchend",".not-use",function(){h("couponCode",null),h("couponName",null)}),v.find("input").on("input",function(){""!==r(this).val()?v.find(".submit").css("background","#444"):v.find(".submit").css("background","#b0b0b0")}),i()}),define("js/cart/select-address",["jquery","hammer"],function(e,o,t){var n,a=e("jquery"),i=e("js/cart/order-info").orderInfo,s=a(".confim-mask");e("js/common"),a(".address-item").on("touchend",function(){var e=a(this),o=e.data("address-id"),t={address_id:e.data("address-id"),consignee:e.find(".name").text(),mobile:e.find(".tel").text(),address_info:e.find(".address-info").text(),is_support:e.data("is-support")};i("addressId",o),i("address",t)}).on("touchend",".edit",function(){return window.location.href=a(this).data("href"),!1}).on("touchstart",".del",function(){n=a(this).data("id")}),s.on("touchend",".confim",function(){i("addressId")===n&&(i("addressId",null),i("address",null))})}); \ No newline at end of file diff --git a/static/dist/myohobuy/1.3.3/lib.js b/static/dist/myohobuy/1.3.3/lib.js new file mode 100644 index 0000000..d04e1c0 --- /dev/null +++ b/static/dist/myohobuy/1.3.3/lib.js @@ -0,0 +1,10 @@ +!function(e,t){function i(e){return function(t){return{}.toString.call(t)=="[object "+e+"]"}}function n(){return E++}function r(e){return e.match(_)[0]}function s(e){for(e=e.replace(D,"/");e.match(L);)e=e.replace(L,"/");return e=e.replace(M,"$1/")}function o(e){var t=e.length-1,i=e.charAt(t);return"#"===i?e.substring(0,t):".js"===e.substring(t-2)||e.indexOf("?")>0||".css"===e.substring(t-3)||"/"===i?e:e+".js"}function a(e){var t=x.alias;return t&&T(t[e])?t[e]:e}function l(e){var t,i=x.paths;return i&&(t=e.match(N))&&T(i[t[1]])&&(e=i[t[1]]+t[2]),e}function u(e){var t=x.vars;return t&&e.indexOf("{")>-1&&(e=e.replace(I,function(e,i){return T(t[i])?t[i]:e})),e}function c(e){var t=x.map,i=e;if(t)for(var n=0,r=t.length;r>n;n++){var s=t[n];if(i=k(s)?s(e)||e:e.replace(s[0],s[1]),i!==e)break}return i}function p(e,t){var i,n=e.charAt(0);if(z.test(e))i=e;else if("."===n)i=s((t?r(t):x.cwd)+e);else if("/"===n){var o=x.cwd.match(O);i=o?o[0]+e.substring(1):e}else i=x.base+e;return 0===i.indexOf("//")&&(i=location.protocol+i),i}function h(e,t){if(!e)return"";e=a(e),e=l(e),e=u(e),e=o(e);var i=p(e,t);return i=c(i)}function d(e){return e.hasAttribute?e.src:e.getAttribute("src",4)}function f(e,t,i){var n=$.test(e),r=B.createElement(n?"link":"script");if(i){var s=k(i)?i(e):i;s&&(r.charset=s)}m(r,t,n,e),n?(r.rel="stylesheet",r.href=e):(r.async=!0,r.src=e),X=r,W?Y.insertBefore(r,W):Y.appendChild(r),X=null}function m(e,i,n,r){function s(){e.onload=e.onerror=e.onreadystatechange=null,n||x.debug||Y.removeChild(e),e=null,i()}var o="onload"in e;return!n||!G&&o?(o?(e.onload=s,e.onerror=function(){A("error",{uri:r,node:e}),s()}):e.onreadystatechange=function(){/loaded|complete/.test(e.readyState)&&s()},t):(setTimeout(function(){g(e,i)},1),t)}function g(e,t){var i,n=e.sheet;if(G)n&&(i=!0);else if(n)try{n.cssRules&&(i=!0)}catch(r){"NS_ERROR_DOM_SECURITY_ERR"===r.name&&(i=!0)}setTimeout(function(){i?t():g(e,t)},20)}function v(){if(X)return X;if(q&&"interactive"===q.readyState)return q;for(var e=Y.getElementsByTagName("script"),t=e.length-1;t>=0;t--){var i=e[t];if("interactive"===i.readyState)return q=i}}function y(e){var t=[];return e.replace(K,"").replace(U,function(e,i,n){n&&t.push(n)}),t}function w(e,t){this.uri=e,this.dependencies=t||[],this.exports=null,this.status=0,this._waitings={},this._remain=0}if(!e.seajs){var b=e.seajs={version:"2.2.0"},x=b.data={},S=i("Object"),T=i("String"),C=Array.isArray||i("Array"),k=i("Function"),E=0,P=x.events={};b.on=function(e,t){var i=P[e]||(P[e]=[]);return i.push(t),b},b.off=function(e,t){if(!e&&!t)return P=x.events={},b;var i=P[e];if(i)if(t)for(var n=i.length-1;n>=0;n--)i[n]===t&&i.splice(n,1);else delete P[e];return b};var A=b.emit=function(e,t){var i,n=P[e];if(n)for(n=n.slice();i=n.shift();)i(t);return b},_=/[^?#]*\//,D=/\/\.\//g,L=/\/[^/]+\/\.\.\//,M=/([^:/])\/\//g,N=/^([^/:]+)(\/.+)$/,I=/{([^{]+)}/g,z=/^\/\/.|:\//,O=/^.*?\/\/.*?\//,B=document,R=r(B.URL),F=B.scripts,H=B.getElementById("seajsnode")||F[F.length-1],j=r(d(H)||R);b.resolve=h;var X,q,Y=B.head||B.getElementsByTagName("head")[0]||B.documentElement,W=Y.getElementsByTagName("base")[0],$=/\.css(?:\?|$)/i,G=+navigator.userAgent.replace(/.*AppleWebKit\/(\d+)\..*/,"$1")<536;b.request=f;var V,U=/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|\/\*[\S\s]*?\*\/|\/(?:\\\/|[^\/\r\n])+\/(?=[^\/])|\/\/.*|\.\s*require|(?:^|[^$])\brequire\s*\(\s*(["'])(.+?)\1\s*\)/g,K=/\\\\/g,Q=b.cache={},J={},Z={},ee={},te=w.STATUS={FETCHING:1,SAVED:2,LOADING:3,LOADED:4,EXECUTING:5,EXECUTED:6};w.prototype.resolve=function(){for(var e=this,t=e.dependencies,i=[],n=0,r=t.length;r>n;n++)i[n]=w.resolve(t[n],e.uri);return i},w.prototype.load=function(){var e=this;if(!(e.status>=te.LOADING)){e.status=te.LOADING;var i=e.resolve();A("load",i);for(var n,r=e._remain=i.length,s=0;r>s;s++)n=w.get(i[s]),n.status<te.LOADED?n._waitings[e.uri]=(n._waitings[e.uri]||0)+1:e._remain--;if(0===e._remain)return e.onload(),t;var o={};for(s=0;r>s;s++)n=Q[i[s]],n.status<te.FETCHING?n.fetch(o):n.status===te.SAVED&&n.load();for(var a in o)o.hasOwnProperty(a)&&o[a]()}},w.prototype.onload=function(){var e=this;e.status=te.LOADED,e.callback&&e.callback();var t,i,n=e._waitings;for(t in n)n.hasOwnProperty(t)&&(i=Q[t],i._remain-=n[t],0===i._remain&&i.onload());delete e._waitings,delete e._remain},w.prototype.fetch=function(e){function i(){b.request(o.requestUri,o.onRequest,o.charset)}function n(){delete J[a],Z[a]=!0,V&&(w.save(s,V),V=null);var e,t=ee[a];for(delete ee[a];e=t.shift();)e.load()}var r=this,s=r.uri;r.status=te.FETCHING;var o={uri:s};A("fetch",o);var a=o.requestUri||s;return!a||Z[a]?(r.load(),t):J[a]?(ee[a].push(r),t):(J[a]=!0,ee[a]=[r],A("request",o={uri:s,requestUri:a,onRequest:n,charset:x.charset}),o.requested||(e?e[o.requestUri]=i:i()),t)},w.prototype.exec=function(){function e(t){return w.get(e.resolve(t)).exec()}var i=this;if(i.status>=te.EXECUTING)return i.exports;i.status=te.EXECUTING;var r=i.uri;e.resolve=function(e){return w.resolve(e,r)},e.async=function(t,i){return w.use(t,i,r+"_async_"+n()),e};var s=i.factory,o=k(s)?s(e,i.exports={},i):s;return o===t&&(o=i.exports),delete i.factory,i.exports=o,i.status=te.EXECUTED,A("exec",i),o},w.resolve=function(e,t){var i={id:e,refUri:t};return A("resolve",i),i.uri||b.resolve(i.id,t)},w.define=function(e,i,n){var r=arguments.length;1===r?(n=e,e=t):2===r&&(n=i,C(e)?(i=e,e=t):i=t),!C(i)&&k(n)&&(i=y(""+n));var s={id:e,uri:w.resolve(e),deps:i,factory:n};if(!s.uri&&B.attachEvent){var o=v();o&&(s.uri=o.src)}A("define",s),s.uri?w.save(s.uri,s):V=s},w.save=function(e,t){var i=w.get(e);i.status<te.SAVED&&(i.id=t.id||e,i.dependencies=t.deps||[],i.factory=t.factory,i.status=te.SAVED)},w.get=function(e,t){return Q[e]||(Q[e]=new w(e,t))},w.use=function(t,i,n){var r=w.get(n,C(t)?t:[t]);r.callback=function(){for(var t=[],n=r.resolve(),s=0,o=n.length;o>s;s++)t[s]=Q[n[s]].exec();i&&i.apply(e,t),delete r.callback},r.load()},w.preload=function(e){var t=x.preload,i=t.length;i?w.use(t,function(){t.splice(0,i),w.preload(e)},x.cwd+"_preload_"+n()):e()},b.use=function(e,t){return w.preload(function(){w.use(e,t,x.cwd+"_use_"+n())}),b},w.define.cmd={},e.define=w.define,b.Module=w,x.fetchedList=Z,x.cid=n,b.require=function(e){var t=w.get(w.resolve(e));return t.status<te.EXECUTING&&(t.onload(),t.exec()),t.exports};var ie=/^(.+?\/)(\?\?)?(seajs\/)+/;x.base=(j.match(ie)||["",j])[1],x.dir=j,x.cwd=R,x.charset="utf-8",x.preload=function(){var e=[],t=location.search.replace(/(seajs-\w+)(&|$)/g,"$1=1$2");return t+=" "+B.cookie,t.replace(/(seajs-\w+)=1/g,function(t,i){e.push(i)}),e}(),b.config=function(e){for(var t in e){var i=e[t],n=x[t];if(n&&S(n))for(var r in i)n[r]=i[r];else C(n)?i=n.concat(i):"base"===t&&("/"!==i.slice(-1)&&(i+="/"),i=p(i)),x[t]=i}return A("config",e),b}}}(this),define("jquery",[],function(e,t,i){!function(e,t){"object"==typeof i&&"object"==typeof i.exports?i.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function i(e){var t="length"in e&&e.length,i=Z.type(e);return"function"===i||Z.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e}function n(e,t,i){if(Z.isFunction(t))return Z.grep(e,function(e,n){return!!t.call(e,n,e)!==i});if(t.nodeType)return Z.grep(e,function(e){return e===t!==i});if("string"==typeof t){if(ae.test(t))return Z.filter(t,e,i);t=Z.filter(t,e)}return Z.grep(e,function(e){return $.call(t,e)>=0!==i})}function r(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function s(e){var t=fe[e]={};return Z.each(e.match(de)||[],function(e,i){t[i]=!0}),t}function o(){Q.removeEventListener("DOMContentLoaded",o,!1),e.removeEventListener("load",o,!1),Z.ready()}function a(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=Z.expando+a.uid++}function l(e,t,i){var n;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(be,"-$1").toLowerCase(),i=e.getAttribute(n),"string"==typeof i){try{i="true"===i?!0:"false"===i?!1:"null"===i?null:+i+""===i?+i:we.test(i)?Z.parseJSON(i):i}catch(r){}ye.set(e,t,i)}else i=void 0;return i}function u(){return!0}function c(){return!1}function p(){try{return Q.activeElement}catch(e){}}function h(e,t){return Z.nodeName(e,"table")&&Z.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function d(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function f(e){var t=Oe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function m(e,t){for(var i=0,n=e.length;n>i;i++)ve.set(e[i],"globalEval",!t||ve.get(t[i],"globalEval"))}function g(e,t){var i,n,r,s,o,a,l,u;if(1===t.nodeType){if(ve.hasData(e)&&(s=ve.access(e),o=ve.set(t,s),u=s.events)){delete o.handle,o.events={};for(r in u)for(i=0,n=u[r].length;n>i;i++)Z.event.add(t,r,u[r][i])}ye.hasData(e)&&(a=ye.access(e),l=Z.extend({},a),ye.set(t,l))}}function v(e,t){var i=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&Z.nodeName(e,t)?Z.merge([e],i):i}function y(e,t){var i=t.nodeName.toLowerCase();"input"===i&&Ce.test(e.type)?t.checked=e.checked:("input"===i||"textarea"===i)&&(t.defaultValue=e.defaultValue)}function w(t,i){var n,r=Z(i.createElement(t)).appendTo(i.body),s=e.getDefaultComputedStyle&&(n=e.getDefaultComputedStyle(r[0]))?n.display:Z.css(r[0],"display");return r.detach(),s}function b(e){var t=Q,i=He[e];return i||(i=w(e,t),"none"!==i&&i||(Fe=(Fe||Z("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=Fe[0].contentDocument,t.write(),t.close(),i=w(e,t),Fe.detach()),He[e]=i),i}function x(e,t,i){var n,r,s,o,a=e.style;return i=i||qe(e),i&&(o=i.getPropertyValue(t)||i[t]),i&&(""!==o||Z.contains(e.ownerDocument,e)||(o=Z.style(e,t)),Xe.test(o)&&je.test(t)&&(n=a.width,r=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=i.width,a.width=n,a.minWidth=r,a.maxWidth=s)),void 0!==o?o+"":o}function S(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function T(e,t){if(t in e)return t;for(var i=t[0].toUpperCase()+t.slice(1),n=t,r=Ue.length;r--;)if(t=Ue[r]+i,t in e)return t;return n}function C(e,t,i){var n=We.exec(t);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):t}function k(e,t,i,n,r){for(var s=i===(n?"border":"content")?4:"width"===t?1:0,o=0;4>s;s+=2)"margin"===i&&(o+=Z.css(e,i+Se[s],!0,r)),n?("content"===i&&(o-=Z.css(e,"padding"+Se[s],!0,r)),"margin"!==i&&(o-=Z.css(e,"border"+Se[s]+"Width",!0,r))):(o+=Z.css(e,"padding"+Se[s],!0,r),"padding"!==i&&(o+=Z.css(e,"border"+Se[s]+"Width",!0,r)));return o}function E(e,t,i){var n=!0,r="width"===t?e.offsetWidth:e.offsetHeight,s=qe(e),o="border-box"===Z.css(e,"boxSizing",!1,s);if(0>=r||null==r){if(r=x(e,t,s),(0>r||null==r)&&(r=e.style[t]),Xe.test(r))return r;n=o&&(K.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+k(e,t,i||(o?"border":"content"),n,s)+"px"}function P(e,t){for(var i,n,r,s=[],o=0,a=e.length;a>o;o++)n=e[o],n.style&&(s[o]=ve.get(n,"olddisplay"),i=n.style.display,t?(s[o]||"none"!==i||(n.style.display=""),""===n.style.display&&Te(n)&&(s[o]=ve.access(n,"olddisplay",b(n.nodeName)))):(r=Te(n),"none"===i&&r||ve.set(n,"olddisplay",r?i:Z.css(n,"display"))));for(o=0;a>o;o++)n=e[o],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?s[o]||"":"none"));return e}function A(e,t,i,n,r){return new A.prototype.init(e,t,i,n,r)}function _(){return setTimeout(function(){Ke=void 0}),Ke=Z.now()}function D(e,t){var i,n=0,r={height:e};for(t=t?1:0;4>n;n+=2-t)i=Se[n],r["margin"+i]=r["padding"+i]=e;return t&&(r.opacity=r.width=e),r}function L(e,t,i){for(var n,r=(it[t]||[]).concat(it["*"]),s=0,o=r.length;o>s;s++)if(n=r[s].call(i,t,e))return n}function M(e,t,i){var n,r,s,o,a,l,u,c,p=this,h={},d=e.style,f=e.nodeType&&Te(e),m=ve.get(e,"fxshow");i.queue||(a=Z._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,Z.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(i.overflow=[d.overflow,d.overflowX,d.overflowY],u=Z.css(e,"display"),c="none"===u?ve.get(e,"olddisplay")||b(e.nodeName):u,"inline"===c&&"none"===Z.css(e,"float")&&(d.display="inline-block")),i.overflow&&(d.overflow="hidden",p.always(function(){d.overflow=i.overflow[0],d.overflowX=i.overflow[1],d.overflowY=i.overflow[2]}));for(n in t)if(r=t[n],Je.exec(r)){if(delete t[n],s=s||"toggle"===r,r===(f?"hide":"show")){if("show"!==r||!m||void 0===m[n])continue;f=!0}h[n]=m&&m[n]||Z.style(e,n)}else u=void 0;if(Z.isEmptyObject(h))"inline"===("none"===u?b(e.nodeName):u)&&(d.display=u);else{m?"hidden"in m&&(f=m.hidden):m=ve.access(e,"fxshow",{}),s&&(m.hidden=!f),f?Z(e).show():p.done(function(){Z(e).hide()}),p.done(function(){var t;ve.remove(e,"fxshow");for(t in h)Z.style(e,t,h[t])});for(n in h)o=L(f?m[n]:0,n,p),n in m||(m[n]=o.start,f&&(o.end=o.start,o.start="width"===n||"height"===n?1:0))}}function N(e,t){var i,n,r,s,o;for(i in e)if(n=Z.camelCase(i),r=t[n],s=e[i],Z.isArray(s)&&(r=s[1],s=e[i]=s[0]),i!==n&&(e[n]=s,delete e[i]),o=Z.cssHooks[n],o&&"expand"in o){s=o.expand(s),delete e[n];for(i in s)i in e||(e[i]=s[i],t[i]=r)}else t[n]=r}function I(e,t,i){var n,r,s=0,o=tt.length,a=Z.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=Ke||_(),i=Math.max(0,u.startTime+u.duration-t),n=i/u.duration||0,s=1-n,o=0,l=u.tweens.length;l>o;o++)u.tweens[o].run(s);return a.notifyWith(e,[u,s,i]),1>s&&l?i:(a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:Z.extend({},t),opts:Z.extend(!0,{specialEasing:{}},i),originalProperties:t,originalOptions:i,startTime:Ke||_(),duration:i.duration,tweens:[],createTween:function(t,i){var n=Z.Tween(e,u.opts,t,i,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(n),n},stop:function(t){var i=0,n=t?u.tweens.length:0;if(r)return this;for(r=!0;n>i;i++)u.tweens[i].run(1);return t?a.resolveWith(e,[u,t]):a.rejectWith(e,[u,t]),this}}),c=u.props;for(N(c,u.opts.specialEasing);o>s;s++)if(n=tt[s].call(u,e,c,u.opts))return n;return Z.map(c,L,u),Z.isFunction(u.opts.start)&&u.opts.start.call(e,u),Z.fx.timer(Z.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function z(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,r=0,s=t.toLowerCase().match(de)||[];if(Z.isFunction(i))for(;n=s[r++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(i)):(e[n]=e[n]||[]).push(i)}}function O(e,t,i,n){function r(a){var l;return s[a]=!0,Z.each(e[a]||[],function(e,a){var u=a(t,i,n);return"string"!=typeof u||o||s[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var s={},o=e===wt;return r(t.dataTypes[0])||!s["*"]&&r("*")}function B(e,t){var i,n,r=Z.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n||(n={}))[i]=t[i]);return n&&Z.extend(!0,e,n),e}function R(e,t,i){for(var n,r,s,o,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(r in a)if(a[r]&&a[r].test(n)){l.unshift(r);break}if(l[0]in i)s=l[0];else{for(r in i){if(!l[0]||e.converters[r+" "+l[0]]){s=r;break}o||(o=r)}s=s||o}return s?(s!==l[0]&&l.unshift(s),i[s]):void 0}function F(e,t,i,n){var r,s,o,a,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(s=c.shift();s;)if(e.responseFields[s]&&(i[e.responseFields[s]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=c.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(o=u[l+" "+s]||u["* "+s],!o)for(r in u)if(a=r.split(" "),a[1]===s&&(o=u[l+" "+a[0]]||u["* "+a[0]])){o===!0?o=u[r]:u[r]!==!0&&(s=a[0],c.unshift(a[1]));break}if(o!==!0)if(o&&e["throws"])t=o(t);else try{t=o(t)}catch(p){return{state:"parsererror",error:o?p:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}function H(e,t,i,n){var r;if(Z.isArray(t))Z.each(t,function(t,r){i||Ct.test(e)?n(e,r):H(e+"["+("object"==typeof r?t:"")+"]",r,i,n)});else if(i||"object"!==Z.type(t))n(e,t);else for(r in t)H(e+"["+r+"]",t[r],i,n)}function j(e){return Z.isWindow(e)?e:9===e.nodeType&&e.defaultView}var X=[],q=X.slice,Y=X.concat,W=X.push,$=X.indexOf,G={},V=G.toString,U=G.hasOwnProperty,K={},Q=e.document,J="2.1.4",Z=function(e,t){return new Z.fn.init(e,t)},ee=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,te=/^-ms-/,ie=/-([\da-z])/gi,ne=function(e,t){return t.toUpperCase()};Z.fn=Z.prototype={jquery:J,constructor:Z,selector:"",length:0,toArray:function(){return q.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:q.call(this)},pushStack:function(e){var t=Z.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return Z.each(this,e,t)},map:function(e){return this.pushStack(Z.map(this,function(t,i){return e.call(t,i,t)}))},slice:function(){return this.pushStack(q.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,i=+e+(0>e?t:0);return this.pushStack(i>=0&&t>i?[this[i]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:W,sort:X.sort,splice:X.splice},Z.extend=Z.fn.extend=function(){var e,t,i,n,r,s,o=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[a]||{},a++),"object"==typeof o||Z.isFunction(o)||(o={}),a===l&&(o=this,a--);l>a;a++)if(null!=(e=arguments[a]))for(t in e)i=o[t],n=e[t],o!==n&&(u&&n&&(Z.isPlainObject(n)||(r=Z.isArray(n)))?(r?(r=!1,s=i&&Z.isArray(i)?i:[]):s=i&&Z.isPlainObject(i)?i:{},o[t]=Z.extend(u,s,n)):void 0!==n&&(o[t]=n));return o},Z.extend({expando:"jQuery"+(J+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===Z.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!Z.isArray(e)&&e-parseFloat(e)+1>=0},isPlainObject:function(e){return"object"!==Z.type(e)||e.nodeType||Z.isWindow(e)?!1:e.constructor&&!U.call(e.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?G[V.call(e)]||"object":typeof e},globalEval:function(e){var t,i=eval;e=Z.trim(e),e&&(1===e.indexOf("use strict")?(t=Q.createElement("script"),t.text=e,Q.head.appendChild(t).parentNode.removeChild(t)):i(e))},camelCase:function(e){return e.replace(te,"ms-").replace(ie,ne)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,s=0,o=e.length,a=i(e);if(n){if(a)for(;o>s&&(r=t.apply(e[s],n),r!==!1);s++);else for(s in e)if(r=t.apply(e[s],n),r===!1)break}else if(a)for(;o>s&&(r=t.call(e[s],s,e[s]),r!==!1);s++);else for(s in e)if(r=t.call(e[s],s,e[s]),r===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(ee,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?Z.merge(n,"string"==typeof e?[e]:e):W.call(n,e)),n},inArray:function(e,t,i){return null==t?-1:$.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,r=e.length;i>n;n++)e[r++]=t[n];return e.length=r,e},grep:function(e,t,i){for(var n,r=[],s=0,o=e.length,a=!i;o>s;s++)n=!t(e[s],s),n!==a&&r.push(e[s]);return r},map:function(e,t,n){var r,s=0,o=e.length,a=i(e),l=[];if(a)for(;o>s;s++)r=t(e[s],s,n),null!=r&&l.push(r);else for(s in e)r=t(e[s],s,n),null!=r&&l.push(r);return Y.apply([],l)},guid:1,proxy:function(e,t){var i,n,r;return"string"==typeof t&&(i=e[t],t=e,e=i),Z.isFunction(e)?(n=q.call(arguments,2),r=function(){return e.apply(t||this,n.concat(q.call(arguments)))},r.guid=e.guid=e.guid||Z.guid++,r):void 0},now:Date.now,support:K}),Z.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){G["[object "+t+"]"]=t.toLowerCase()});var re=function(e){function t(e,t,i,n){var r,s,o,a,l,u,p,d,f,m;if((t?t.ownerDocument||t:H)!==M&&L(t),t=t||M,i=i||[],a=t.nodeType,"string"!=typeof e||!e||1!==a&&9!==a&&11!==a)return i;if(!n&&I){if(11!==a&&(r=ye.exec(e)))if(o=r[1]){if(9===a){if(s=t.getElementById(o),!s||!s.parentNode)return i;if(s.id===o)return i.push(s),i}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(o))&&R(t,s)&&s.id===o)return i.push(s),i}else{if(r[2])return J.apply(i,t.getElementsByTagName(e)),i;if((o=r[3])&&x.getElementsByClassName)return J.apply(i,t.getElementsByClassName(o)),i}if(x.qsa&&(!z||!z.test(e))){if(d=p=F,f=t,m=1!==a&&e,1===a&&"object"!==t.nodeName.toLowerCase()){for(u=k(e),(p=t.getAttribute("id"))?d=p.replace(be,"\\$&"):t.setAttribute("id",d),d="[id='"+d+"'] ",l=u.length;l--;)u[l]=d+h(u[l]);f=we.test(e)&&c(t.parentNode)||t,m=u.join(",")}if(m)try{return J.apply(i,f.querySelectorAll(m)),i}catch(g){}finally{p||t.removeAttribute("id")}}}return P(e.replace(le,"$1"),t,i,n)}function i(){function e(i,n){return t.push(i+" ")>S.cacheLength&&delete e[t.shift()],e[i+" "]=n}var t=[];return e}function n(e){return e[F]=!0,e}function r(e){var t=M.createElement("div");try{return!!e(t)}catch(i){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function s(e,t){for(var i=e.split("|"),n=e.length;n--;)S.attrHandle[i[n]]=t}function o(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||G)-(~e.sourceIndex||G);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function a(e){return function(t){var i=t.nodeName.toLowerCase();return"input"===i&&t.type===e}}function l(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}}function u(e){return n(function(t){return t=+t,n(function(i,n){for(var r,s=e([],i.length,t),o=s.length;o--;)i[r=s[o]]&&(i[r]=!(n[r]=i[r]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function p(){}function h(e){for(var t=0,i=e.length,n="";i>t;t++)n+=e[t].value;return n}function d(e,t,i){var n=t.dir,r=i&&"parentNode"===n,s=X++;return t.first?function(t,i,s){for(;t=t[n];)if(1===t.nodeType||r)return e(t,i,s)}:function(t,i,o){var a,l,u=[j,s];if(o){for(;t=t[n];)if((1===t.nodeType||r)&&e(t,i,o))return!0}else for(;t=t[n];)if(1===t.nodeType||r){if(l=t[F]||(t[F]={}),(a=l[n])&&a[0]===j&&a[1]===s)return u[2]=a[2];if(l[n]=u,u[2]=e(t,i,o))return!0}}}function f(e){return e.length>1?function(t,i,n){for(var r=e.length;r--;)if(!e[r](t,i,n))return!1;return!0}:e[0]}function m(e,i,n){for(var r=0,s=i.length;s>r;r++)t(e,i[r],n);return n}function g(e,t,i,n,r){for(var s,o=[],a=0,l=e.length,u=null!=t;l>a;a++)(s=e[a])&&(!i||i(s,n,r))&&(o.push(s),u&&t.push(a));return o}function v(e,t,i,r,s,o){return r&&!r[F]&&(r=v(r)),s&&!s[F]&&(s=v(s,o)),n(function(n,o,a,l){var u,c,p,h=[],d=[],f=o.length,v=n||m(t||"*",a.nodeType?[a]:a,[]),y=!e||!n&&t?v:g(v,h,e,a,l),w=i?s||(n?e:f||r)?[]:o:y;if(i&&i(y,w,a,l),r)for(u=g(w,d),r(u,[],a,l),c=u.length;c--;)(p=u[c])&&(w[d[c]]=!(y[d[c]]=p));if(n){if(s||e){if(s){for(u=[],c=w.length;c--;)(p=w[c])&&u.push(y[c]=p);s(null,w=[],u,l)}for(c=w.length;c--;)(p=w[c])&&(u=s?ee(n,p):h[c])>-1&&(n[u]=!(o[u]=p))}}else w=g(w===o?w.splice(f,w.length):w),s?s(null,o,w,l):J.apply(o,w)})}function y(e){for(var t,i,n,r=e.length,s=S.relative[e[0].type],o=s||S.relative[" "],a=s?1:0,l=d(function(e){return e===t},o,!0),u=d(function(e){return ee(t,e)>-1},o,!0),c=[function(e,i,n){var r=!s&&(n||i!==A)||((t=i).nodeType?l(e,i,n):u(e,i,n));return t=null,r}];r>a;a++)if(i=S.relative[e[a].type])c=[d(f(c),i)];else{if(i=S.filter[e[a].type].apply(null,e[a].matches),i[F]){for(n=++a;r>n&&!S.relative[e[n].type];n++);return v(a>1&&f(c),a>1&&h(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(le,"$1"),i,n>a&&y(e.slice(a,n)),r>n&&y(e=e.slice(n)),r>n&&h(e))}c.push(i)}return f(c)}function w(e,i){var r=i.length>0,s=e.length>0,o=function(n,o,a,l,u){var c,p,h,d=0,f="0",m=n&&[],v=[],y=A,w=n||s&&S.find.TAG("*",u),b=j+=null==y?1:Math.random()||.1,x=w.length;for(u&&(A=o!==M&&o);f!==x&&null!=(c=w[f]);f++){if(s&&c){for(p=0;h=e[p++];)if(h(c,o,a)){l.push(c);break}u&&(j=b)}r&&((c=!h&&c)&&d--,n&&m.push(c))}if(d+=f,r&&f!==d){for(p=0;h=i[p++];)h(m,v,o,a);if(n){if(d>0)for(;f--;)m[f]||v[f]||(v[f]=K.call(l));v=g(v)}J.apply(l,v),u&&!n&&v.length>0&&d+i.length>1&&t.uniqueSort(l)}return u&&(j=b,A=y),m};return r?n(o):o}var b,x,S,T,C,k,E,P,A,_,D,L,M,N,I,z,O,B,R,F="sizzle"+1*new Date,H=e.document,j=0,X=0,q=i(),Y=i(),W=i(),$=function(e,t){return e===t&&(D=!0),0},G=1<<31,V={}.hasOwnProperty,U=[],K=U.pop,Q=U.push,J=U.push,Z=U.slice,ee=function(e,t){for(var i=0,n=e.length;n>i;i++)if(e[i]===t)return i;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ie="[\\x20\\t\\r\\n\\f]",ne="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",re=ne.replace("w","w#"),se="\\["+ie+"*("+ne+")(?:"+ie+"*([*^$|!~]?=)"+ie+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ie+"*\\]",oe=":("+ne+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+se+")*)|.*)\\)|)",ae=new RegExp(ie+"+","g"),le=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),ue=new RegExp("^"+ie+"*,"+ie+"*"),ce=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),pe=new RegExp("="+ie+"*([^\\]'\"]*?)"+ie+"*\\]","g"),he=new RegExp(oe),de=new RegExp("^"+re+"$"),fe={ID:new RegExp("^#("+ne+")"),CLASS:new RegExp("^\\.("+ne+")"),TAG:new RegExp("^("+ne.replace("w","w*")+")"),ATTR:new RegExp("^"+se),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},me=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,we=/[+~]/,be=/'|\\/g,xe=new RegExp("\\\\([\\da-f]{1,6}"+ie+"?|("+ie+")|.)","ig"),Se=function(e,t,i){var n="0x"+t-65536;return n!==n||i?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},Te=function(){L()};try{J.apply(U=Z.call(H.childNodes),H.childNodes),U[H.childNodes.length].nodeType}catch(Ce){J={apply:U.length?function(e,t){Q.apply(e,Z.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}x=t.support={},C=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},L=t.setDocument=function(e){var t,i,n=e?e.ownerDocument||e:H;return n!==M&&9===n.nodeType&&n.documentElement?(M=n,N=n.documentElement,i=n.defaultView,i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",Te,!1):i.attachEvent&&i.attachEvent("onunload",Te)),I=!C(n),x.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=r(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=ve.test(n.getElementsByClassName),x.getById=r(function(e){return N.appendChild(e).id=F,!n.getElementsByName||!n.getElementsByName(F).length}),x.getById?(S.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&I){var i=t.getElementById(e);return i&&i.parentNode?[i]:[]}},S.filter.ID=function(e){var t=e.replace(xe,Se);return function(e){return e.getAttribute("id")===t}}):(delete S.find.ID,S.filter.ID=function(e){var t=e.replace(xe,Se);return function(e){var i="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}}),S.find.TAG=x.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],r=0,s=t.getElementsByTagName(e);if("*"===e){for(;i=s[r++];)1===i.nodeType&&n.push(i);return n}return s},S.find.CLASS=x.getElementsByClassName&&function(e,t){return I?t.getElementsByClassName(e):void 0},O=[],z=[],(x.qsa=ve.test(n.querySelectorAll))&&(r(function(e){N.appendChild(e).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\f]' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&z.push("[*^$]="+ie+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||z.push("\\["+ie+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+F+"-]").length||z.push("~="),e.querySelectorAll(":checked").length||z.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||z.push(".#.+[+~]")}),r(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&z.push("name"+ie+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||z.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),z.push(",.*:")})),(x.matchesSelector=ve.test(B=N.matches||N.webkitMatchesSelector||N.mozMatchesSelector||N.oMatchesSelector||N.msMatchesSelector))&&r(function(e){x.disconnectedMatch=B.call(e,"div"),B.call(e,"[s!='']:x"),O.push("!=",oe)}),z=z.length&&new RegExp(z.join("|")),O=O.length&&new RegExp(O.join("|")),t=ve.test(N.compareDocumentPosition),R=t||ve.test(N.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},$=t?function(e,t){if(e===t)return D=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i?i:(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&i||!x.sortDetached&&t.compareDocumentPosition(e)===i?e===n||e.ownerDocument===H&&R(H,e)?-1:t===n||t.ownerDocument===H&&R(H,t)?1:_?ee(_,e)-ee(_,t):0:4&i?-1:1)}:function(e,t){if(e===t)return D=!0,0;var i,r=0,s=e.parentNode,a=t.parentNode,l=[e],u=[t];if(!s||!a)return e===n?-1:t===n?1:s?-1:a?1:_?ee(_,e)-ee(_,t):0;if(s===a)return o(e,t);for(i=e;i=i.parentNode;)l.unshift(i);for(i=t;i=i.parentNode;)u.unshift(i);for(;l[r]===u[r];)r++;return r?o(l[r],u[r]):l[r]===H?-1:u[r]===H?1:0},n):M},t.matches=function(e,i){return t(e,null,null,i)},t.matchesSelector=function(e,i){if((e.ownerDocument||e)!==M&&L(e),i=i.replace(pe,"='$1']"),x.matchesSelector&&I&&(!O||!O.test(i))&&(!z||!z.test(i)))try{var n=B.call(e,i);if(n||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(r){}return t(i,M,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==M&&L(e),R(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==M&&L(e);var i=S.attrHandle[t.toLowerCase()],n=i&&V.call(S.attrHandle,t.toLowerCase())?i(e,t,!I):void 0;return void 0!==n?n:x.attributes||!I?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,i=[],n=0,r=0;if(D=!x.detectDuplicates,_=!x.sortStable&&e.slice(0),e.sort($),D){for(;t=e[r++];)t===e[r]&&(n=i.push(r));for(;n--;)e.splice(i[n],1)}return _=null,e},T=t.getText=function(e){var t,i="",n=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=T(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[n++];)i+=T(t);return i},S=t.selectors={cacheLength:50,createPseudo:n,match:fe,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(xe,Se),e[3]=(e[3]||e[4]||e[5]||"").replace(xe,Se),"~="===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]||t.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]&&t.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&he.test(i)&&(t=k(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t), +e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,Se).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "];return t||(t=new RegExp("(^|"+ie+")"+e+"("+ie+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,i,n){return function(r){var s=t.attr(r,e);return null==s?"!="===i:i?(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&s.indexOf(n)>-1:"$="===i?n&&s.slice(-n.length)===n:"~="===i?(" "+s.replace(ae," ")+" ").indexOf(n)>-1:"|="===i?s===n||s.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,i,n,r){var s="nth"!==e.slice(0,3),o="last"!==e.slice(-4),a="of-type"===t;return 1===n&&0===r?function(e){return!!e.parentNode}:function(t,i,l){var u,c,p,h,d,f,m=s!==o?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a;if(g){if(s){for(;m;){for(p=t;p=p[m];)if(a?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[o?g.firstChild:g.lastChild],o&&y){for(c=g[F]||(g[F]={}),u=c[e]||[],d=u[0]===j&&u[1],h=u[0]===j&&u[2],p=d&&g.childNodes[d];p=++d&&p&&p[m]||(h=d=0)||f.pop();)if(1===p.nodeType&&++h&&p===t){c[e]=[j,d,h];break}}else if(y&&(u=(t[F]||(t[F]={}))[e])&&u[0]===j)h=u[1];else for(;(p=++d&&p&&p[m]||(h=d=0)||f.pop())&&((a?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++h||(y&&((p[F]||(p[F]={}))[e]=[j,h]),p!==t)););return h-=r,h===n||h%n===0&&h/n>=0}}},PSEUDO:function(e,i){var r,s=S.pseudos[e]||S.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return s[F]?s(i):s.length>1?(r=[e,e,"",i],S.setFilters.hasOwnProperty(e.toLowerCase())?n(function(e,t){for(var n,r=s(e,i),o=r.length;o--;)n=ee(e,r[o]),e[n]=!(t[n]=r[o])}):function(e){return s(e,0,r)}):s}},pseudos:{not:n(function(e){var t=[],i=[],r=E(e.replace(le,"$1"));return r[F]?n(function(e,t,i,n){for(var s,o=r(e,null,n,[]),a=e.length;a--;)(s=o[a])&&(e[a]=!(t[a]=s))}):function(e,n,s){return t[0]=e,r(t,null,s,i),t[0]=null,!i.pop()}}),has:n(function(e){return function(i){return t(e,i).length>0}}),contains:n(function(e){return e=e.replace(xe,Se),function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:n(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xe,Se).toLowerCase(),function(t){var i;do if(i=I?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===e||0===i.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=e.location&&e.location.hash;return i&&i.slice(1)===t.id},root:function(e){return e===N},focus:function(e){return e===M.activeElement&&(!M.hasFocus||M.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!S.pseudos.empty(e)},header:function(e){return ge.test(e.nodeName)},input:function(e){return me.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:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,i){return[0>i?i+t:i]}),even:u(function(e,t){for(var i=0;t>i;i+=2)e.push(i);return e}),odd:u(function(e,t){for(var i=1;t>i;i+=2)e.push(i);return e}),lt:u(function(e,t,i){for(var n=0>i?i+t:i;--n>=0;)e.push(n);return e}),gt:u(function(e,t,i){for(var n=0>i?i+t:i;++n<t;)e.push(n);return e})}},S.pseudos.nth=S.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudos[b]=a(b);for(b in{submit:!0,reset:!0})S.pseudos[b]=l(b);return p.prototype=S.filters=S.pseudos,S.setFilters=new p,k=t.tokenize=function(e,i){var n,r,s,o,a,l,u,c=Y[e+" "];if(c)return i?0:c.slice(0);for(a=e,l=[],u=S.preFilter;a;){(!n||(r=ue.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),n=!1,(r=ce.exec(a))&&(n=r.shift(),s.push({value:n,type:r[0].replace(le," ")}),a=a.slice(n.length));for(o in S.filter)!(r=fe[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),s.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return i?a.length:a?t.error(e):Y(e,l).slice(0)},E=t.compile=function(e,t){var i,n=[],r=[],s=W[e+" "];if(!s){for(t||(t=k(e)),i=t.length;i--;)s=y(t[i]),s[F]?n.push(s):r.push(s);s=W(e,w(r,n)),s.selector=e}return s},P=t.select=function(e,t,i,n){var r,s,o,a,l,u="function"==typeof e&&e,p=!n&&k(e=u.selector||e);if(i=i||[],1===p.length){if(s=p[0]=p[0].slice(0),s.length>2&&"ID"===(o=s[0]).type&&x.getById&&9===t.nodeType&&I&&S.relative[s[1].type]){if(t=(S.find.ID(o.matches[0].replace(xe,Se),t)||[])[0],!t)return i;u&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(r=fe.needsContext.test(e)?0:s.length;r--&&(o=s[r],!S.relative[a=o.type]);)if((l=S.find[a])&&(n=l(o.matches[0].replace(xe,Se),we.test(s[0].type)&&c(t.parentNode)||t))){if(s.splice(r,1),e=n.length&&h(s),!e)return J.apply(i,n),i;break}}return(u||E(e,p))(n,t,!I,i,we.test(e)&&c(t.parentNode)||t),i},x.sortStable=F.split("").sort($).join("")===F,x.detectDuplicates=!!D,L(),x.sortDetached=r(function(e){return 1&e.compareDocumentPosition(M.createElement("div"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||s("type|href|height|width",function(e,t,i){return i?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||s("value",function(e,t,i){return i||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||s(te,function(e,t,i){var n;return i?void 0:e[t]===!0?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),t}(e);Z.find=re,Z.expr=re.selectors,Z.expr[":"]=Z.expr.pseudos,Z.unique=re.uniqueSort,Z.text=re.getText,Z.isXMLDoc=re.isXML,Z.contains=re.contains;var se=Z.expr.match.needsContext,oe=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ae=/^.[^:#\[\.,]*$/;Z.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?Z.find.matchesSelector(n,e)?[n]:[]:Z.find.matches(e,Z.grep(t,function(e){return 1===e.nodeType}))},Z.fn.extend({find:function(e){var t,i=this.length,n=[],r=this;if("string"!=typeof e)return this.pushStack(Z(e).filter(function(){for(t=0;i>t;t++)if(Z.contains(r[t],this))return!0}));for(t=0;i>t;t++)Z.find(e,r[t],n);return n=this.pushStack(i>1?Z.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(n(this,e||[],!1))},not:function(e){return this.pushStack(n(this,e||[],!0))},is:function(e){return!!n(this,"string"==typeof e&&se.test(e)?Z(e):e||[],!1).length}});var le,ue=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ce=Z.fn.init=function(e,t){var i,n;if(!e)return this;if("string"==typeof e){if(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ue.exec(e),!i||!i[1]&&t)return!t||t.jquery?(t||le).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof Z?t[0]:t,Z.merge(this,Z.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:Q,!0)),oe.test(i[1])&&Z.isPlainObject(t))for(i in t)Z.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return n=Q.getElementById(i[2]),n&&n.parentNode&&(this.length=1,this[0]=n),this.context=Q,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):Z.isFunction(e)?"undefined"!=typeof le.ready?le.ready(e):e(Z):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),Z.makeArray(e,this))};ce.prototype=Z.fn,le=Z(Q);var pe=/^(?:parents|prev(?:Until|All))/,he={children:!0,contents:!0,next:!0,prev:!0};Z.extend({dir:function(e,t,i){for(var n=[],r=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&Z(e).is(i))break;n.push(e)}return n},sibling:function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}}),Z.fn.extend({has:function(e){var t=Z(e,this),i=t.length;return this.filter(function(){for(var e=0;i>e;e++)if(Z.contains(this,t[e]))return!0})},closest:function(e,t){for(var i,n=0,r=this.length,s=[],o=se.test(e)||"string"!=typeof e?Z(e,t||this.context):0;r>n;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(o?o.index(i)>-1:1===i.nodeType&&Z.find.matchesSelector(i,e))){s.push(i);break}return this.pushStack(s.length>1?Z.unique(s):s)},index:function(e){return e?"string"==typeof e?$.call(Z(e),this[0]):$.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Z.unique(Z.merge(this.get(),Z(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Z.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Z.dir(e,"parentNode")},parentsUntil:function(e,t,i){return Z.dir(e,"parentNode",i)},next:function(e){return r(e,"nextSibling")},prev:function(e){return r(e,"previousSibling")},nextAll:function(e){return Z.dir(e,"nextSibling")},prevAll:function(e){return Z.dir(e,"previousSibling")},nextUntil:function(e,t,i){return Z.dir(e,"nextSibling",i)},prevUntil:function(e,t,i){return Z.dir(e,"previousSibling",i)},siblings:function(e){return Z.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Z.sibling(e.firstChild)},contents:function(e){return e.contentDocument||Z.merge([],e.childNodes)}},function(e,t){Z.fn[e]=function(i,n){var r=Z.map(this,t,i);return"Until"!==e.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=Z.filter(n,r)),this.length>1&&(he[e]||Z.unique(r),pe.test(e)&&r.reverse()),this.pushStack(r)}});var de=/\S+/g,fe={};Z.Callbacks=function(e){e="string"==typeof e?fe[e]||s(e):Z.extend({},e);var t,i,n,r,o,a,l=[],u=!e.once&&[],c=function(s){for(t=e.memory&&s,i=!0,a=r||0,r=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(s[0],s[1])===!1&&e.stopOnFalse){t=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):t?l=[]:p.disable())},p={add:function(){if(l){var i=l.length;!function s(t){Z.each(t,function(t,i){var n=Z.type(i);"function"===n?e.unique&&p.has(i)||l.push(i):i&&i.length&&"string"!==n&&s(i)})}(arguments),n?o=l.length:t&&(r=i,c(t))}return this},remove:function(){return l&&Z.each(arguments,function(e,t){for(var i;(i=Z.inArray(t,l,i))>-1;)l.splice(i,1),n&&(o>=i&&o--,a>=i&&a--)}),this},has:function(e){return e?Z.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=t=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,t||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},Z.extend({Deferred:function(e){var t=[["resolve","done",Z.Callbacks("once memory"),"resolved"],["reject","fail",Z.Callbacks("once memory"),"rejected"],["notify","progress",Z.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return Z.Deferred(function(i){Z.each(t,function(t,s){var o=Z.isFunction(e[t])&&e[t];r[s[1]](function(){var e=o&&o.apply(this,arguments);e&&Z.isFunction(e.promise)?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[s[0]+"With"](this===n?i.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?Z.extend(e,n):n}},r={};return n.pipe=n.then,Z.each(t,function(e,s){var o=s[2],a=s[3];n[s[1]]=o.add,a&&o.add(function(){i=a},t[1^e][2].disable,t[2][2].lock),r[s[0]]=function(){return r[s[0]+"With"](this===r?n:this,arguments),this},r[s[0]+"With"]=o.fireWith}),n.promise(r),e&&e.call(r,r),r},when:function(e){var t,i,n,r=0,s=q.call(arguments),o=s.length,a=1!==o||e&&Z.isFunction(e.promise)?o:0,l=1===a?e:Z.Deferred(),u=function(e,i,n){return function(r){i[e]=this,n[e]=arguments.length>1?q.call(arguments):r,n===t?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(o>1)for(t=new Array(o),i=new Array(o),n=new Array(o);o>r;r++)s[r]&&Z.isFunction(s[r].promise)?s[r].promise().done(u(r,n,s)).fail(l.reject).progress(u(r,i,t)):--a;return a||l.resolveWith(n,s),l.promise()}});var me;Z.fn.ready=function(e){return Z.ready.promise().done(e),this},Z.extend({isReady:!1,readyWait:1,holdReady:function(e){e?Z.readyWait++:Z.ready(!0)},ready:function(e){(e===!0?--Z.readyWait:Z.isReady)||(Z.isReady=!0,e!==!0&&--Z.readyWait>0||(me.resolveWith(Q,[Z]),Z.fn.triggerHandler&&(Z(Q).triggerHandler("ready"),Z(Q).off("ready"))))}}),Z.ready.promise=function(t){return me||(me=Z.Deferred(),"complete"===Q.readyState?setTimeout(Z.ready):(Q.addEventListener("DOMContentLoaded",o,!1),e.addEventListener("load",o,!1))),me.promise(t)},Z.ready.promise();var ge=Z.access=function(e,t,i,n,r,s,o){var a=0,l=e.length,u=null==i;if("object"===Z.type(i)){r=!0;for(a in i)Z.access(e,t,a,i[a],!0,s,o)}else if(void 0!==n&&(r=!0,Z.isFunction(n)||(o=!0),u&&(o?(t.call(e,n),t=null):(u=t,t=function(e,t,i){return u.call(Z(e),i)})),t))for(;l>a;a++)t(e[a],i,o?n:n.call(e[a],a,t(e[a],i)));return r?e:u?t.call(e):l?t(e[0],i):s};Z.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},a.uid=1,a.accepts=Z.acceptData,a.prototype={key:function(e){if(!a.accepts(e))return 0;var t={},i=e[this.expando];if(!i){i=a.uid++;try{t[this.expando]={value:i},Object.defineProperties(e,t)}catch(n){t[this.expando]=i,Z.extend(e,t)}}return this.cache[i]||(this.cache[i]={}),i},set:function(e,t,i){var n,r=this.key(e),s=this.cache[r];if("string"==typeof t)s[t]=i;else if(Z.isEmptyObject(s))Z.extend(this.cache[r],t);else for(n in t)s[n]=t[n];return s},get:function(e,t){var i=this.cache[this.key(e)];return void 0===t?i:i[t]},access:function(e,t,i){var n;return void 0===t||t&&"string"==typeof t&&void 0===i?(n=this.get(e,t),void 0!==n?n:this.get(e,Z.camelCase(t))):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n,r,s=this.key(e),o=this.cache[s];if(void 0===t)this.cache[s]={};else{Z.isArray(t)?n=t.concat(t.map(Z.camelCase)):(r=Z.camelCase(t),t in o?n=[t,r]:(n=r,n=n in o?[n]:n.match(de)||[])),i=n.length;for(;i--;)delete o[n[i]]}},hasData:function(e){return!Z.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var ve=new a,ye=new a,we=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,be=/([A-Z])/g;Z.extend({hasData:function(e){return ye.hasData(e)||ve.hasData(e)},data:function(e,t,i){return ye.access(e,t,i)},removeData:function(e,t){ye.remove(e,t)},_data:function(e,t,i){return ve.access(e,t,i)},_removeData:function(e,t){ve.remove(e,t)}}),Z.fn.extend({data:function(e,t){var i,n,r,s=this[0],o=s&&s.attributes;if(void 0===e){if(this.length&&(r=ye.get(s),1===s.nodeType&&!ve.get(s,"hasDataAttrs"))){for(i=o.length;i--;)o[i]&&(n=o[i].name,0===n.indexOf("data-")&&(n=Z.camelCase(n.slice(5)),l(s,n,r[n])));ve.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){ye.set(this,e)}):ge(this,function(t){var i,n=Z.camelCase(e);if(s&&void 0===t){if(i=ye.get(s,e),void 0!==i)return i;if(i=ye.get(s,n),void 0!==i)return i;if(i=l(s,n,void 0),void 0!==i)return i}else this.each(function(){var i=ye.get(this,n);ye.set(this,n,t),-1!==e.indexOf("-")&&void 0!==i&&ye.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ye.remove(this,e)})}}),Z.extend({queue:function(e,t,i){var n;return e?(t=(t||"fx")+"queue",n=ve.get(e,t),i&&(!n||Z.isArray(i)?n=ve.access(e,t,Z.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(e,t){t=t||"fx";var i=Z.queue(e,t),n=i.length,r=i.shift(),s=Z._queueHooks(e,t),o=function(){Z.dequeue(e,t)};"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===t&&i.unshift("inprogress"),delete s.stop,r.call(e,o,s)),!n&&s&&s.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return ve.get(e,i)||ve.access(e,i,{empty:Z.Callbacks("once memory").add(function(){ve.remove(e,[t+"queue",i])})})}}),Z.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?Z.queue(this[0],e):void 0===t?this:this.each(function(){var i=Z.queue(this,e,t);Z._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&Z.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Z.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,r=Z.Deferred(),s=this,o=this.length,a=function(){--n||r.resolveWith(s,[s])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)i=ve.get(s[o],e+"queueHooks"),i&&i.empty&&(n++,i.empty.add(a));return a(),r.promise(t)}});var xe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Se=["Top","Right","Bottom","Left"],Te=function(e,t){return e=t||e,"none"===Z.css(e,"display")||!Z.contains(e.ownerDocument,e)},Ce=/^(?:checkbox|radio)$/i;!function(){var e=Q.createDocumentFragment(),t=e.appendChild(Q.createElement("div")),i=Q.createElement("input");i.setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),t.appendChild(i),K.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",K.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var ke="undefined";K.focusinBubbles="onfocusin"in e;var Ee=/^key/,Pe=/^(?:mouse|pointer|contextmenu)|click/,Ae=/^(?:focusinfocus|focusoutblur)$/,_e=/^([^.]*)(?:\.(.+)|)$/;Z.event={global:{},add:function(e,t,i,n,r){var s,o,a,l,u,c,p,h,d,f,m,g=ve.get(e);if(g)for(i.handler&&(s=i,i=s.handler,r=s.selector),i.guid||(i.guid=Z.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.handle=function(t){return typeof Z!==ke&&Z.event.triggered!==t.type?Z.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(de)||[""],u=t.length;u--;)a=_e.exec(t[u])||[],d=m=a[1],f=(a[2]||"").split(".").sort(),d&&(p=Z.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,p=Z.event.special[d]||{},c=Z.extend({type:d,origType:m,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&Z.expr.match.needsContext.test(r),namespace:f.join(".")},s),(h=l[d])||(h=l[d]=[],h.delegateCount=0,p.setup&&p.setup.call(e,n,f,o)!==!1||e.addEventListener&&e.addEventListener(d,o,!1)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=i.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),Z.event.global[d]=!0)},remove:function(e,t,i,n,r){var s,o,a,l,u,c,p,h,d,f,m,g=ve.hasData(e)&&ve.get(e);if(g&&(l=g.events)){for(t=(t||"").match(de)||[""],u=t.length;u--;)if(a=_e.exec(t[u])||[],d=m=a[1],f=(a[2]||"").split(".").sort(),d){for(p=Z.event.special[d]||{},d=(n?p.delegateType:p.bindType)||d,h=l[d]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=h.length;s--;)c=h[s],!r&&m!==c.origType||i&&i.guid!==c.guid||a&&!a.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(h.splice(s,1),c.selector&&h.delegateCount--,p.remove&&p.remove.call(e,c));o&&!h.length&&(p.teardown&&p.teardown.call(e,f,g.handle)!==!1||Z.removeEvent(e,d,g.handle),delete l[d])}else for(d in l)Z.event.remove(e,d+t[u],i,n,!0);Z.isEmptyObject(l)&&(delete g.handle,ve.remove(e,"events"))}},trigger:function(t,i,n,r){var s,o,a,l,u,c,p,h=[n||Q],d=U.call(t,"type")?t.type:t,f=U.call(t,"namespace")?t.namespace.split("."):[];if(o=a=n=n||Q,3!==n.nodeType&&8!==n.nodeType&&!Ae.test(d+Z.event.triggered)&&(d.indexOf(".")>=0&&(f=d.split("."),d=f.shift(),f.sort()),u=d.indexOf(":")<0&&"on"+d,t=t[Z.expando]?t:new Z.Event(d,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=f.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),i=null==i?[t]:Z.makeArray(i,[t]),p=Z.event.special[d]||{},r||!p.trigger||p.trigger.apply(n,i)!==!1)){if(!r&&!p.noBubble&&!Z.isWindow(n)){for(l=p.delegateType||d,Ae.test(l+d)||(o=o.parentNode);o;o=o.parentNode)h.push(o),a=o;a===(n.ownerDocument||Q)&&h.push(a.defaultView||a.parentWindow||e)}for(s=0;(o=h[s++])&&!t.isPropagationStopped();)t.type=s>1?l:p.bindType||d,c=(ve.get(o,"events")||{})[t.type]&&ve.get(o,"handle"),c&&c.apply(o,i),c=u&&o[u],c&&c.apply&&Z.acceptData(o)&&(t.result=c.apply(o,i),t.result===!1&&t.preventDefault());return t.type=d,r||t.isDefaultPrevented()||p._default&&p._default.apply(h.pop(),i)!==!1||!Z.acceptData(n)||u&&Z.isFunction(n[d])&&!Z.isWindow(n)&&(a=n[u],a&&(n[u]=null),Z.event.triggered=d,n[d](),Z.event.triggered=void 0,a&&(n[u]=a)),t.result}},dispatch:function(e){e=Z.event.fix(e);var t,i,n,r,s,o=[],a=q.call(arguments),l=(ve.get(this,"events")||{})[e.type]||[],u=Z.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,e)!==!1){for(o=Z.event.handlers.call(this,e,l),t=0;(r=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,i=0;(s=r.handlers[i++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(s.namespace))&&(e.handleObj=s,e.data=s.data,n=((Z.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a),void 0!==n&&(e.result=n)===!1&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var i,n,r,s,o=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!==this;l=l.parentNode||this)if(l.disabled!==!0||"click"!==e.type){for(n=[],i=0;a>i;i++)s=t[i],r=s.selector+" ",void 0===n[r]&&(n[r]=s.needsContext?Z(r,this).index(l)>=0:Z.find(r,this,null,[l]).length),n[r]&&n.push(s);n.length&&o.push({elem:l,handlers:n})}return a<t.length&&o.push({elem:this,handlers:t.slice(a)}),o},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var i,n,r,s=t.button;return null==e.pageX&&null!=t.clientX&&(i=e.target.ownerDocument||Q,n=i.documentElement,r=i.body,e.pageX=t.clientX+(n&&n.scrollLeft||r&&r.scrollLeft||0)-(n&&n.clientLeft||r&&r.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||r&&r.scrollTop||0)-(n&&n.clientTop||r&&r.clientTop||0)),e.which||void 0===s||(e.which=1&s?1:2&s?3:4&s?2:0),e}},fix:function(e){if(e[Z.expando])return e;var t,i,n,r=e.type,s=e,o=this.fixHooks[r];for(o||(this.fixHooks[r]=o=Pe.test(r)?this.mouseHooks:Ee.test(r)?this.keyHooks:{}),n=o.props?this.props.concat(o.props):this.props,e=new Z.Event(s),t=n.length;t--;)i=n[t],e[i]=s[i];return e.target||(e.target=Q),3===e.target.nodeType&&(e.target=e.target.parentNode),o.filter?o.filter(e,s):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==p()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===p()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&Z.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return Z.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,i,n){var r=Z.extend(new Z.Event,i,{type:e,isSimulated:!0,originalEvent:{}});n?Z.event.trigger(r,null,t):Z.event.dispatch.call(t,r),r.isDefaultPrevented()&&i.preventDefault()}},Z.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i,!1)},Z.Event=function(e,t){return this instanceof Z.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?u:c):this.type=e,t&&Z.extend(this,t),this.timeStamp=e&&e.timeStamp||Z.now(),void(this[Z.expando]=!0)):new Z.Event(e,t)},Z.Event.prototype={isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=u,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=u,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=u,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},Z.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Z.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=this,r=e.relatedTarget,s=e.handleObj;return(!r||r!==n&&!Z.contains(n,r))&&(e.type=s.origType,i=s.handler.apply(this,arguments),e.type=t),i}}}),K.focusinBubbles||Z.each({focus:"focusin",blur:"focusout"},function(e,t){var i=function(e){Z.event.simulate(t,e.target,Z.event.fix(e),!0)};Z.event.special[t]={setup:function(){var n=this.ownerDocument||this,r=ve.access(n,t);r||n.addEventListener(e,i,!0),ve.access(n,t,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this,r=ve.access(n,t)-1;r?ve.access(n,t,r):(n.removeEventListener(e,i,!0),ve.remove(n,t))}}}),Z.fn.extend({on:function(e,t,i,n,r){var s,o;if("object"==typeof e){"string"!=typeof t&&(i=i||t,t=void 0);for(o in e)this.on(o,t,i,e[o],r);return this}if(null==i&&null==n?(n=t,i=t=void 0):null==n&&("string"==typeof t?(n=i,i=void 0):(n=i,i=t,t=void 0)),n===!1)n=c;else if(!n)return this;return 1===r&&(s=n,n=function(e){return Z().off(e),s.apply(this,arguments)},n.guid=s.guid||(s.guid=Z.guid++)),this.each(function(){Z.event.add(this,e,n,i,t)})},one:function(e,t,i,n){return this.on(e,t,i,n,1)},off:function(e,t,i){var n,r;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,Z(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return(t===!1||"function"==typeof t)&&(i=t,t=void 0),i===!1&&(i=c),this.each(function(){Z.event.remove(this,e,i,t)})},trigger:function(e,t){return this.each(function(){Z.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];return i?Z.event.trigger(e,t,i,!0):void 0}});var De=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Le=/<([\w:]+)/,Me=/<|&#?\w+;/,Ne=/<(?:script|style|link)/i,Ie=/checked\s*(?:[^=]|=\s*.checked.)/i,ze=/^$|\/(?:java|ecma)script/i,Oe=/^true\/(.*)/,Be=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Re={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Re.optgroup=Re.option,Re.tbody=Re.tfoot=Re.colgroup=Re.caption=Re.thead,Re.th=Re.td,Z.extend({clone:function(e,t,i){var n,r,s,o,a=e.cloneNode(!0),l=Z.contains(e.ownerDocument,e);if(!(K.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Z.isXMLDoc(e)))for(o=v(a),s=v(e),n=0,r=s.length;r>n;n++)y(s[n],o[n]);if(t)if(i)for(s=s||v(e),o=o||v(a),n=0,r=s.length;r>n;n++)g(s[n],o[n]);else g(e,a);return o=v(a,"script"),o.length>0&&m(o,!l&&v(e,"script")),a},buildFragment:function(e,t,i,n){for(var r,s,o,a,l,u,c=t.createDocumentFragment(),p=[],h=0,d=e.length;d>h;h++)if(r=e[h],r||0===r)if("object"===Z.type(r))Z.merge(p,r.nodeType?[r]:r);else if(Me.test(r)){for(s=s||c.appendChild(t.createElement("div")),o=(Le.exec(r)||["",""])[1].toLowerCase(),a=Re[o]||Re._default,s.innerHTML=a[1]+r.replace(De,"<$1></$2>")+a[2],u=a[0];u--;)s=s.lastChild;Z.merge(p,s.childNodes),s=c.firstChild,s.textContent=""}else p.push(t.createTextNode(r));for(c.textContent="",h=0;r=p[h++];)if((!n||-1===Z.inArray(r,n))&&(l=Z.contains(r.ownerDocument,r),s=v(c.appendChild(r),"script"),l&&m(s),i))for(u=0;r=s[u++];)ze.test(r.type||"")&&i.push(r);return c},cleanData:function(e){for(var t,i,n,r,s=Z.event.special,o=0;void 0!==(i=e[o]);o++){if(Z.acceptData(i)&&(r=i[ve.expando],r&&(t=ve.cache[r]))){if(t.events)for(n in t.events)s[n]?Z.event.remove(i,n):Z.removeEvent(i,n,t.handle);ve.cache[r]&&delete ve.cache[r]}delete ye.cache[i[ye.expando]]}}}),Z.fn.extend({text:function(e){return ge(this,function(e){return void 0===e?Z.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=h(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=h(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var i,n=e?Z.filter(e,this):this,r=0;null!=(i=n[r]);r++)t||1!==i.nodeType||Z.cleanData(v(i)),i.parentNode&&(t&&Z.contains(i.ownerDocument,i)&&m(v(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Z.cleanData(v(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return Z.clone(this,e,t)})},html:function(e){return ge(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!Re[(Le.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(De,"<$1></$2>");try{for(;n>i;i++)t=this[i]||{},1===t.nodeType&&(Z.cleanData(v(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,Z.cleanData(v(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=Y.apply([],e);var i,n,r,s,o,a,l=0,u=this.length,c=this,p=u-1,h=e[0],m=Z.isFunction(h);if(m||u>1&&"string"==typeof h&&!K.checkClone&&Ie.test(h))return this.each(function(i){var n=c.eq(i);m&&(e[0]=h.call(this,i,n.html())),n.domManip(e,t)});if(u&&(i=Z.buildFragment(e,this[0].ownerDocument,!1,this),n=i.firstChild,1===i.childNodes.length&&(i=n),n)){for(r=Z.map(v(i,"script"),d),s=r.length;u>l;l++)o=i,l!==p&&(o=Z.clone(o,!0,!0),s&&Z.merge(r,v(o,"script"))),t.call(this[l],o,l);if(s)for(a=r[r.length-1].ownerDocument,Z.map(r,f),l=0;s>l;l++)o=r[l],ze.test(o.type||"")&&!ve.access(o,"globalEval")&&Z.contains(a,o)&&(o.src?Z._evalUrl&&Z._evalUrl(o.src):Z.globalEval(o.textContent.replace(Be,"")))}return this}}),Z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Z.fn[e]=function(e){for(var i,n=[],r=Z(e),s=r.length-1,o=0;s>=o;o++)i=o===s?this:this.clone(!0),Z(r[o])[t](i),W.apply(n,i.get());return this.pushStack(n)}});var Fe,He={},je=/^margin/,Xe=new RegExp("^("+xe+")(?!px)[a-z%]+$","i"),qe=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):e.getComputedStyle(t,null)};!function(){function t(){o.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",o.innerHTML="",r.appendChild(s);var t=e.getComputedStyle(o,null);i="1%"!==t.top,n="4px"===t.width,r.removeChild(s)}var i,n,r=Q.documentElement,s=Q.createElement("div"),o=Q.createElement("div");o.style&&(o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="", +K.clearCloneStyle="content-box"===o.style.backgroundClip,s.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",s.appendChild(o),e.getComputedStyle&&Z.extend(K,{pixelPosition:function(){return t(),i},boxSizingReliable:function(){return null==n&&t(),n},reliableMarginRight:function(){var t,i=o.appendChild(Q.createElement("div"));return i.style.cssText=o.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",o.style.width="1px",r.appendChild(s),t=!parseFloat(e.getComputedStyle(i,null).marginRight),r.removeChild(s),o.removeChild(i),t}}))}(),Z.swap=function(e,t,i,n){var r,s,o={};for(s in t)o[s]=e.style[s],e.style[s]=t[s];r=i.apply(e,n||[]);for(s in t)e.style[s]=o[s];return r};var Ye=/^(none|table(?!-c[ea]).+)/,We=new RegExp("^("+xe+")(.*)$","i"),$e=new RegExp("^([+-])=("+xe+")","i"),Ge={position:"absolute",visibility:"hidden",display:"block"},Ve={letterSpacing:"0",fontWeight:"400"},Ue=["Webkit","O","Moz","ms"];Z.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=x(e,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,s,o,a=Z.camelCase(t),l=e.style;return t=Z.cssProps[a]||(Z.cssProps[a]=T(l,a)),o=Z.cssHooks[t]||Z.cssHooks[a],void 0===i?o&&"get"in o&&void 0!==(r=o.get(e,!1,n))?r:l[t]:(s=typeof i,"string"===s&&(r=$e.exec(i))&&(i=(r[1]+1)*r[2]+parseFloat(Z.css(e,t)),s="number"),null!=i&&i===i&&("number"!==s||Z.cssNumber[a]||(i+="px"),K.clearCloneStyle||""!==i||0!==t.indexOf("background")||(l[t]="inherit"),o&&"set"in o&&void 0===(i=o.set(e,i,n))||(l[t]=i)),void 0)}},css:function(e,t,i,n){var r,s,o,a=Z.camelCase(t);return t=Z.cssProps[a]||(Z.cssProps[a]=T(e.style,a)),o=Z.cssHooks[t]||Z.cssHooks[a],o&&"get"in o&&(r=o.get(e,!0,i)),void 0===r&&(r=x(e,t,n)),"normal"===r&&t in Ve&&(r=Ve[t]),""===i||i?(s=parseFloat(r),i===!0||Z.isNumeric(s)?s||0:r):r}}),Z.each(["height","width"],function(e,t){Z.cssHooks[t]={get:function(e,i,n){return i?Ye.test(Z.css(e,"display"))&&0===e.offsetWidth?Z.swap(e,Ge,function(){return E(e,t,n)}):E(e,t,n):void 0},set:function(e,i,n){var r=n&&qe(e);return C(e,i,n?k(e,t,n,"border-box"===Z.css(e,"boxSizing",!1,r),r):0)}}}),Z.cssHooks.marginRight=S(K.reliableMarginRight,function(e,t){return t?Z.swap(e,{display:"inline-block"},x,[e,"marginRight"]):void 0}),Z.each({margin:"",padding:"",border:"Width"},function(e,t){Z.cssHooks[e+t]={expand:function(i){for(var n=0,r={},s="string"==typeof i?i.split(" "):[i];4>n;n++)r[e+Se[n]+t]=s[n]||s[n-2]||s[0];return r}},je.test(e)||(Z.cssHooks[e+t].set=C)}),Z.fn.extend({css:function(e,t){return ge(this,function(e,t,i){var n,r,s={},o=0;if(Z.isArray(t)){for(n=qe(e),r=t.length;r>o;o++)s[t[o]]=Z.css(e,t[o],!1,n);return s}return void 0!==i?Z.style(e,t,i):Z.css(e,t)},e,t,arguments.length>1)},show:function(){return P(this,!0)},hide:function(){return P(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Te(this)?Z(this).show():Z(this).hide()})}}),Z.Tween=A,A.prototype={constructor:A,init:function(e,t,i,n,r,s){this.elem=e,this.prop=i,this.easing=r||"swing",this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=s||(Z.cssNumber[i]?"":"px")},cur:function(){var e=A.propHooks[this.prop];return e&&e.get?e.get(this):A.propHooks._default.get(this)},run:function(e){var t,i=A.propHooks[this.prop];return this.options.duration?this.pos=t=Z.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):A.propHooks._default.set(this),this}},A.prototype.init.prototype=A.prototype,A.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=Z.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){Z.fx.step[e.prop]?Z.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[Z.cssProps[e.prop]]||Z.cssHooks[e.prop])?Z.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},A.propHooks.scrollTop=A.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Z.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Z.fx=A.prototype.init,Z.fx.step={};var Ke,Qe,Je=/^(?:toggle|show|hide)$/,Ze=new RegExp("^(?:([+-])=|)("+xe+")([a-z%]*)$","i"),et=/queueHooks$/,tt=[M],it={"*":[function(e,t){var i=this.createTween(e,t),n=i.cur(),r=Ze.exec(t),s=r&&r[3]||(Z.cssNumber[e]?"":"px"),o=(Z.cssNumber[e]||"px"!==s&&+n)&&Ze.exec(Z.css(i.elem,e)),a=1,l=20;if(o&&o[3]!==s){s=s||o[3],r=r||[],o=+n||1;do a=a||".5",o/=a,Z.style(i.elem,e,o+s);while(a!==(a=i.cur()/n)&&1!==a&&--l)}return r&&(o=i.start=+o||+n||0,i.unit=s,i.end=r[1]?o+(r[1]+1)*r[2]:+r[2]),i}]};Z.Animation=Z.extend(I,{tweener:function(e,t){Z.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var i,n=0,r=e.length;r>n;n++)i=e[n],it[i]=it[i]||[],it[i].unshift(t)},prefilter:function(e,t){t?tt.unshift(e):tt.push(e)}}),Z.speed=function(e,t,i){var n=e&&"object"==typeof e?Z.extend({},e):{complete:i||!i&&t||Z.isFunction(e)&&e,duration:e,easing:i&&t||t&&!Z.isFunction(t)&&t};return n.duration=Z.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in Z.fx.speeds?Z.fx.speeds[n.duration]:Z.fx.speeds._default,(null==n.queue||n.queue===!0)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){Z.isFunction(n.old)&&n.old.call(this),n.queue&&Z.dequeue(this,n.queue)},n},Z.fn.extend({fadeTo:function(e,t,i,n){return this.filter(Te).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,n){var r=Z.isEmptyObject(e),s=Z.speed(t,i,n),o=function(){var t=I(this,Z.extend({},e),s);(r||ve.get(this,"finish"))&&t.stop(!0)};return o.finish=o,r||s.queue===!1?this.each(o):this.queue(s.queue,o)},stop:function(e,t,i){var n=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",s=Z.timers,o=ve.get(this);if(r)o[r]&&o[r].stop&&n(o[r]);else for(r in o)o[r]&&o[r].stop&&et.test(r)&&n(o[r]);for(r=s.length;r--;)s[r].elem!==this||null!=e&&s[r].queue!==e||(s[r].anim.stop(i),t=!1,s.splice(r,1));(t||!i)&&Z.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,i=ve.get(this),n=i[e+"queue"],r=i[e+"queueHooks"],s=Z.timers,o=n?n.length:0;for(i.finish=!0,Z.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;o>t;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete i.finish})}}),Z.each(["toggle","show","hide"],function(e,t){var i=Z.fn[t];Z.fn[t]=function(e,n,r){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(D(t,!0),e,n,r)}}),Z.each({slideDown:D("show"),slideUp:D("hide"),slideToggle:D("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Z.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}}),Z.timers=[],Z.fx.tick=function(){var e,t=0,i=Z.timers;for(Ke=Z.now();t<i.length;t++)e=i[t],e()||i[t]!==e||i.splice(t--,1);i.length||Z.fx.stop(),Ke=void 0},Z.fx.timer=function(e){Z.timers.push(e),e()?Z.fx.start():Z.timers.pop()},Z.fx.interval=13,Z.fx.start=function(){Qe||(Qe=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.stop=function(){clearInterval(Qe),Qe=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fn.delay=function(e,t){return e=Z.fx?Z.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,i){var n=setTimeout(t,e);i.stop=function(){clearTimeout(n)}})},function(){var e=Q.createElement("input"),t=Q.createElement("select"),i=t.appendChild(Q.createElement("option"));e.type="checkbox",K.checkOn=""!==e.value,K.optSelected=i.selected,t.disabled=!0,K.optDisabled=!i.disabled,e=Q.createElement("input"),e.value="t",e.type="radio",K.radioValue="t"===e.value}();var nt,rt,st=Z.expr.attrHandle;Z.fn.extend({attr:function(e,t){return ge(this,Z.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Z.removeAttr(this,e)})}}),Z.extend({attr:function(e,t,i){var n,r,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===ke?Z.prop(e,t,i):(1===s&&Z.isXMLDoc(e)||(t=t.toLowerCase(),n=Z.attrHooks[t]||(Z.expr.match.bool.test(t)?rt:nt)),void 0===i?n&&"get"in n&&null!==(r=n.get(e,t))?r:(r=Z.find.attr(e,t),null==r?void 0:r):null!==i?n&&"set"in n&&void 0!==(r=n.set(e,i,t))?r:(e.setAttribute(t,i+""),i):void Z.removeAttr(e,t))},removeAttr:function(e,t){var i,n,r=0,s=t&&t.match(de);if(s&&1===e.nodeType)for(;i=s[r++];)n=Z.propFix[i]||i,Z.expr.match.bool.test(i)&&(e[n]=!1),e.removeAttribute(i)},attrHooks:{type:{set:function(e,t){if(!K.radioValue&&"radio"===t&&Z.nodeName(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}}}),rt={set:function(e,t,i){return t===!1?Z.removeAttr(e,i):e.setAttribute(i,i),i}},Z.each(Z.expr.match.bool.source.match(/\w+/g),function(e,t){var i=st[t]||Z.find.attr;st[t]=function(e,t,n){var r,s;return n||(s=st[t],st[t]=r,r=null!=i(e,t,n)?t.toLowerCase():null,st[t]=s),r}});var ot=/^(?:input|select|textarea|button)$/i;Z.fn.extend({prop:function(e,t){return ge(this,Z.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Z.propFix[e]||e]})}}),Z.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,i){var n,r,s,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return s=1!==o||!Z.isXMLDoc(e),s&&(t=Z.propFix[t]||t,r=Z.propHooks[t]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:e[t]=i:r&&"get"in r&&null!==(n=r.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||ot.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),K.optSelected||(Z.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),Z.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Z.propFix[this.toLowerCase()]=this});var at=/[\t\r\n\f]/g;Z.fn.extend({addClass:function(e){var t,i,n,r,s,o,a="string"==typeof e&&e,l=0,u=this.length;if(Z.isFunction(e))return this.each(function(t){Z(this).addClass(e.call(this,t,this.className))});if(a)for(t=(e||"").match(de)||[];u>l;l++)if(i=this[l],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(at," "):" ")){for(s=0;r=t[s++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");o=Z.trim(n),i.className!==o&&(i.className=o)}return this},removeClass:function(e){var t,i,n,r,s,o,a=0===arguments.length||"string"==typeof e&&e,l=0,u=this.length;if(Z.isFunction(e))return this.each(function(t){Z(this).removeClass(e.call(this,t,this.className))});if(a)for(t=(e||"").match(de)||[];u>l;l++)if(i=this[l],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(at," "):"")){for(s=0;r=t[s++];)for(;n.indexOf(" "+r+" ")>=0;)n=n.replace(" "+r+" "," ");o=e?Z.trim(n):"",i.className!==o&&(i.className=o)}return this},toggleClass:function(e,t){var i=typeof e;return"boolean"==typeof t&&"string"===i?t?this.addClass(e):this.removeClass(e):Z.isFunction(e)?this.each(function(i){Z(this).toggleClass(e.call(this,i,this.className,t),t)}):this.each(function(){if("string"===i)for(var t,n=0,r=Z(this),s=e.match(de)||[];t=s[n++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else(i===ke||"boolean"===i)&&(this.className&&ve.set(this,"__className__",this.className),this.className=this.className||e===!1?"":ve.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",i=0,n=this.length;n>i;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(at," ").indexOf(t)>=0)return!0;return!1}});var lt=/\r/g;Z.fn.extend({val:function(e){var t,i,n,r=this[0];{if(arguments.length)return n=Z.isFunction(e),this.each(function(i){var r;1===this.nodeType&&(r=n?e.call(this,i,Z(this).val()):e,null==r?r="":"number"==typeof r?r+="":Z.isArray(r)&&(r=Z.map(r,function(e){return null==e?"":e+""})),t=Z.valHooks[this.type]||Z.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))});if(r)return t=Z.valHooks[r.type]||Z.valHooks[r.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(i=t.get(r,"value"))?i:(i=r.value,"string"==typeof i?i.replace(lt,""):null==i?"":i)}}}),Z.extend({valHooks:{option:{get:function(e){var t=Z.find.attr(e,"value");return null!=t?t:Z.trim(Z.text(e))}},select:{get:function(e){for(var t,i,n=e.options,r=e.selectedIndex,s="select-one"===e.type||0>r,o=s?null:[],a=s?r+1:n.length,l=0>r?a:s?r:0;a>l;l++)if(i=n[l],(i.selected||l===r)&&(K.optDisabled?!i.disabled:null===i.getAttribute("disabled"))&&(!i.parentNode.disabled||!Z.nodeName(i.parentNode,"optgroup"))){if(t=Z(i).val(),s)return t;o.push(t)}return o},set:function(e,t){for(var i,n,r=e.options,s=Z.makeArray(t),o=r.length;o--;)n=r[o],(n.selected=Z.inArray(n.value,s)>=0)&&(i=!0);return i||(e.selectedIndex=-1),s}}}}),Z.each(["radio","checkbox"],function(){Z.valHooks[this]={set:function(e,t){return Z.isArray(t)?e.checked=Z.inArray(Z(e).val(),t)>=0:void 0}},K.checkOn||(Z.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),Z.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){Z.fn[t]=function(e,i){return arguments.length>0?this.on(t,null,e,i):this.trigger(t)}}),Z.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)}});var ut=Z.now(),ct=/\?/;Z.parseJSON=function(e){return JSON.parse(e+"")},Z.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{i=new DOMParser,t=i.parseFromString(e,"text/xml")}catch(n){t=void 0}return(!t||t.getElementsByTagName("parsererror").length)&&Z.error("Invalid XML: "+e),t};var pt=/#.*$/,ht=/([?&])_=[^&]*/,dt=/^(.*?):[ \t]*([^\r\n]*)$/gm,ft=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,mt=/^(?:GET|HEAD)$/,gt=/^\/\//,vt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,yt={},wt={},bt="*/".concat("*"),xt=e.location.href,St=vt.exec(xt.toLowerCase())||[];Z.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt,type:"GET",isLocal:ft.test(St[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":Z.parseJSON,"text xml":Z.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?B(B(e,Z.ajaxSettings),t):B(Z.ajaxSettings,e)},ajaxPrefilter:z(yt),ajaxTransport:z(wt),ajax:function(e,t){function i(e,t,i,o){var l,c,v,y,b,S=t;2!==w&&(w=2,a&&clearTimeout(a),n=void 0,s=o||"",x.readyState=e>0?4:0,l=e>=200&&300>e||304===e,i&&(y=R(p,x,i)),y=F(p,y,x,l),l?(p.ifModified&&(b=x.getResponseHeader("Last-Modified"),b&&(Z.lastModified[r]=b),b=x.getResponseHeader("etag"),b&&(Z.etag[r]=b)),204===e||"HEAD"===p.type?S="nocontent":304===e?S="notmodified":(S=y.state,c=y.data,v=y.error,l=!v)):(v=S,(e||!S)&&(S="error",0>e&&(e=0))),x.status=e,x.statusText=(t||S)+"",l?f.resolveWith(h,[c,S,x]):f.rejectWith(h,[x,S,v]),x.statusCode(g),g=void 0,u&&d.trigger(l?"ajaxSuccess":"ajaxError",[x,p,l?c:v]),m.fireWith(h,[x,S]),u&&(d.trigger("ajaxComplete",[x,p]),--Z.active||Z.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,s,o,a,l,u,c,p=Z.ajaxSetup({},t),h=p.context||p,d=p.context&&(h.nodeType||h.jquery)?Z(h):Z.event,f=Z.Deferred(),m=Z.Callbacks("once memory"),g=p.statusCode||{},v={},y={},w=0,b="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!o)for(o={};t=dt.exec(s);)o[t[1].toLowerCase()]=t[2];t=o[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?s:null},setRequestHeader:function(e,t){var i=e.toLowerCase();return w||(e=y[i]=y[i]||e,v[e]=t),this},overrideMimeType:function(e){return w||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>w)for(t in e)g[t]=[g[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||b;return n&&n.abort(t),i(0,t),this}};if(f.promise(x).complete=m.add,x.success=x.done,x.error=x.fail,p.url=((e||p.url||xt)+"").replace(pt,"").replace(gt,St[1]+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=Z.trim(p.dataType||"*").toLowerCase().match(de)||[""],null==p.crossDomain&&(l=vt.exec(p.url.toLowerCase()),p.crossDomain=!(!l||l[1]===St[1]&&l[2]===St[2]&&(l[3]||("http:"===l[1]?"80":"443"))===(St[3]||("http:"===St[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=Z.param(p.data,p.traditional)),O(yt,p,t,x),2===w)return x;u=Z.event&&p.global,u&&0===Z.active++&&Z.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!mt.test(p.type),r=p.url,p.hasContent||(p.data&&(r=p.url+=(ct.test(r)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=ht.test(r)?r.replace(ht,"$1_="+ut++):r+(ct.test(r)?"&":"?")+"_="+ut++)),p.ifModified&&(Z.lastModified[r]&&x.setRequestHeader("If-Modified-Since",Z.lastModified[r]),Z.etag[r]&&x.setRequestHeader("If-None-Match",Z.etag[r])),(p.data&&p.hasContent&&p.contentType!==!1||t.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+bt+"; q=0.01":""):p.accepts["*"]);for(c in p.headers)x.setRequestHeader(c,p.headers[c]);if(p.beforeSend&&(p.beforeSend.call(h,x,p)===!1||2===w))return x.abort();b="abort";for(c in{success:1,error:1,complete:1})x[c](p[c]);if(n=O(wt,p,t,x)){x.readyState=1,u&&d.trigger("ajaxSend",[x,p]),p.async&&p.timeout>0&&(a=setTimeout(function(){x.abort("timeout")},p.timeout));try{w=1,n.send(v,i)}catch(S){if(!(2>w))throw S;i(-1,S)}}else i(-1,"No Transport");return x},getJSON:function(e,t,i){return Z.get(e,t,i,"json")},getScript:function(e,t){return Z.get(e,void 0,t,"script")}}),Z.each(["get","post"],function(e,t){Z[t]=function(e,i,n,r){return Z.isFunction(i)&&(r=r||n,n=i,i=void 0),Z.ajax({url:e,type:t,dataType:r,data:i,success:n})}}),Z._evalUrl=function(e){return Z.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},Z.fn.extend({wrapAll:function(e){var t;return Z.isFunction(e)?this.each(function(t){Z(this).wrapAll(e.call(this,t))}):(this[0]&&(t=Z(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return Z.isFunction(e)?this.each(function(t){Z(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Z(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)})},wrap:function(e){var t=Z.isFunction(e);return this.each(function(i){Z(this).wrapAll(t?e.call(this,i):e)})},unwrap:function(){return this.parent().each(function(){Z.nodeName(this,"body")||Z(this).replaceWith(this.childNodes)}).end()}}),Z.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},Z.expr.filters.visible=function(e){return!Z.expr.filters.hidden(e)};var Tt=/%20/g,Ct=/\[\]$/,kt=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i;Z.param=function(e,t){var i,n=[],r=function(e,t){t=Z.isFunction(t)?t():null==t?"":t,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=Z.ajaxSettings&&Z.ajaxSettings.traditional),Z.isArray(e)||e.jquery&&!Z.isPlainObject(e))Z.each(e,function(){r(this.name,this.value)});else for(i in e)H(i,e[i],t,r);return n.join("&").replace(Tt,"+")},Z.fn.extend({serialize:function(){return Z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Z.prop(this,"elements");return e?Z.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Z(this).is(":disabled")&&Pt.test(this.nodeName)&&!Et.test(e)&&(this.checked||!Ce.test(e))}).map(function(e,t){var i=Z(this).val();return null==i?null:Z.isArray(i)?Z.map(i,function(e){return{name:t.name,value:e.replace(kt,"\r\n")}}):{name:t.name,value:i.replace(kt,"\r\n")}}).get()}}),Z.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var At=0,_t={},Dt={0:200,1223:204},Lt=Z.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in _t)_t[e]()}),K.cors=!!Lt&&"withCredentials"in Lt,K.ajax=Lt=!!Lt,Z.ajaxTransport(function(e){var t;return K.cors||Lt&&!e.crossDomain?{send:function(i,n){var r,s=e.xhr(),o=++At;if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)s[r]=e.xhrFields[r];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(r in i)s.setRequestHeader(r,i[r]);t=function(e){return function(){t&&(delete _t[o],t=s.onload=s.onerror=null,"abort"===e?s.abort():"error"===e?n(s.status,s.statusText):n(Dt[s.status]||s.status,s.statusText,"string"==typeof s.responseText?{text:s.responseText}:void 0,s.getAllResponseHeaders()))}},s.onload=t(),s.onerror=t("error"),t=_t[o]=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(a){if(t)throw a}},abort:function(){t&&t()}}:void 0}),Z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return Z.globalEval(e),e}}}),Z.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Z.ajaxTransport("script",function(e){if(e.crossDomain){var t,i;return{send:function(n,r){t=Z("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",i=function(e){t.remove(),i=null,e&&r("error"===e.type?404:200,e.type)}),Q.head.appendChild(t[0])},abort:function(){i&&i()}}}});var Mt=[],Nt=/(=)\?(?=&|$)|\?\?/;Z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mt.pop()||Z.expando+"_"+ut++;return this[e]=!0,e}}),Z.ajaxPrefilter("json jsonp",function(t,i,n){var r,s,o,a=t.jsonp!==!1&&(Nt.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Nt.test(t.data)&&"data");return a||"jsonp"===t.dataTypes[0]?(r=t.jsonpCallback=Z.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Nt,"$1"+r):t.jsonp!==!1&&(t.url+=(ct.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||Z.error(r+" was not called"),o[0]},t.dataTypes[0]="json",s=e[r],e[r]=function(){o=arguments},n.always(function(){e[r]=s,t[r]&&(t.jsonpCallback=i.jsonpCallback,Mt.push(r)),o&&Z.isFunction(s)&&s(o[0]),o=s=void 0}),"script"):void 0}),Z.parseHTML=function(e,t,i){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(i=t,t=!1),t=t||Q;var n=oe.exec(e),r=!i&&[];return n?[t.createElement(n[1])]:(n=Z.buildFragment([e],t,r),r&&r.length&&Z(r).remove(),Z.merge([],n.childNodes))};var It=Z.fn.load;Z.fn.load=function(e,t,i){if("string"!=typeof e&&It)return It.apply(this,arguments);var n,r,s,o=this,a=e.indexOf(" ");return a>=0&&(n=Z.trim(e.slice(a)),e=e.slice(0,a)),Z.isFunction(t)?(i=t,t=void 0):t&&"object"==typeof t&&(r="POST"),o.length>0&&Z.ajax({url:e,type:r,dataType:"html",data:t}).done(function(e){s=arguments,o.html(n?Z("<div>").append(Z.parseHTML(e)).find(n):e)}).complete(i&&function(e,t){o.each(i,s||[e.responseText,t,e])}),this},Z.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Z.fn[t]=function(e){return this.on(t,e)}}),Z.expr.filters.animated=function(e){return Z.grep(Z.timers,function(t){return e===t.elem}).length};var zt=e.document.documentElement;Z.offset={setOffset:function(e,t,i){var n,r,s,o,a,l,u,c=Z.css(e,"position"),p=Z(e),h={};"static"===c&&(e.style.position="relative"),a=p.offset(),s=Z.css(e,"top"),l=Z.css(e,"left"),u=("absolute"===c||"fixed"===c)&&(s+l).indexOf("auto")>-1,u?(n=p.position(),o=n.top,r=n.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),Z.isFunction(t)&&(t=t.call(e,i,a)),null!=t.top&&(h.top=t.top-a.top+o),null!=t.left&&(h.left=t.left-a.left+r),"using"in t?t.using.call(e,h):p.css(h)}},Z.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){Z.offset.setOffset(this,e,t)});var t,i,n=this[0],r={top:0,left:0},s=n&&n.ownerDocument;if(s)return t=s.documentElement,Z.contains(t,n)?(typeof n.getBoundingClientRect!==ke&&(r=n.getBoundingClientRect()),i=j(s),{top:r.top+i.pageYOffset-t.clientTop,left:r.left+i.pageXOffset-t.clientLeft}):r},position:function(){if(this[0]){var e,t,i=this[0],n={top:0,left:0};return"fixed"===Z.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),Z.nodeName(e[0],"html")||(n=e.offset()),n.top+=Z.css(e[0],"borderTopWidth",!0),n.left+=Z.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-Z.css(i,"marginTop",!0),left:t.left-n.left-Z.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||zt;e&&!Z.nodeName(e,"html")&&"static"===Z.css(e,"position");)e=e.offsetParent;return e||zt})}}),Z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var n="pageYOffset"===i;Z.fn[t]=function(r){return ge(this,function(t,r,s){var o=j(t);return void 0===s?o?o[i]:t[r]:void(o?o.scrollTo(n?e.pageXOffset:s,n?s:e.pageYOffset):t[r]=s)},t,r,arguments.length,null)}}),Z.each(["top","left"],function(e,t){Z.cssHooks[t]=S(K.pixelPosition,function(e,i){return i?(i=x(e,t),Xe.test(i)?Z(e).position()[t]+"px":i):void 0})}),Z.each({Height:"height",Width:"width"},function(e,t){Z.each({padding:"inner"+e,content:t,"":"outer"+e},function(i,n){Z.fn[n]=function(n,r){var s=arguments.length&&(i||"boolean"!=typeof n),o=i||(n===!0||r===!0?"margin":"border");return ge(this,function(t,i,n){var r;return Z.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===n?Z.css(t,i,o):Z.style(t,i,n,o)},t,s?n:void 0,s,null)}})}),Z.fn.size=function(){return this.length},Z.fn.andSelf=Z.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Z});var Ot=e.jQuery,Bt=e.$;return Z.noConflict=function(t){return e.$===Z&&(e.$=Bt),t&&e.jQuery===Z&&(e.jQuery=Ot),Z},typeof t===ke&&(e.jQuery=e.$=Z),Z})}),define("mlellipsis",[],function(e,t,i){t.init=function(){Element.prototype.getText=function(){return void 0==this.innerText?this.textContent:this.innerText},Element.prototype.setText=function(e){void 0==this.innerText?this.textContent=e||"":this.innerText=e||""},Element.prototype.getFinalStyle=function(e,t){var i;return i=window.getComputedStyle?window.getComputedStyle(this,null)[e]:this.currentStyle[e],void 0!=t&&(i=i*t+"px"),i.substring(0,i.toString().length-2)},Element.prototype.mlellipsis=function(e){var t=this.getText(),i=this.getAttribute("title");null==i?this.setAttribute("title",t):this.setText(i);var n=this.getFinalStyle("fontSize");if(/msie/i.test(navigator.userAgent))var r=this.getFinalStyle("lineHeight",n);else var r=this.getFinalStyle("lineHeight");var s=this.clientHeight;"norm"==r?(r=Number(1.5*n),this.setAttribute("style","line-height:"+r+"px")):r=Number(r);var o=Math.floor(e*r);if(s>=o){for(t=this.getText();3*o<this.clientHeight;)this.setText(t.substring(0,t.length/2)),t=this.getText();for(;o<this.clientHeight;)t=this.getText(),this.setText(t.replace(/(\s)*([a-zA-Z0-9_]+|\W)(\.\.\.)?$/,"..."))}},Element.prototype.getTextLineNumber=function(e){var t=this.getText(),i=this.getAttribute("title");null==i?this.setAttribute("title",t):this.setText(i);var n=this.getFinalStyle("fontSize");if(/msie/i.test(navigator.userAgent))var r=this.getFinalStyle("lineHeight",n);else var r=this.getFinalStyle("lineHeight");var s=this.clientHeight;return"norm"==r?(r=Number(1.5*n),this.setAttribute("style","line-height:"+r+"px")):r=Number(r),s/r}}}),define("swiper",[],function(e,t,i){e("swiper.css.js"),function(){"use strict";function e(e){e.fn.swiper=function(i){var n;return e(this).each(function(){var e=new t(this,i);n||(n=e)}),n}}var t=function(e,n){function r(){return"horizontal"===g.params.direction}function s(){g.autoplayTimeoutId=setTimeout(function(){g.params.loop?(g.fixLoop(),g._slideNext()):g.isEnd?n.autoplayStopOnLast?g.stopAutoplay():g._slideTo(0):g._slideNext()},g.params.autoplay)}function o(e,t){var i=v(e.target);if(!i.is(t))if("string"==typeof t)i=i.parents(t);else if(t.nodeType){var n;return i.parents().each(function(e,i){i===t&&(n=t)}),n?t:void 0}return 0===i.length?void 0:i[0]}function a(e,t){t=t||{};var i=window.MutationObserver||window.WebkitMutationObserver,n=new i(function(e){e.forEach(function(e){g.onResize(!0),g.emit("onObserverUpdate",g,e)})});n.observe(e,{attributes:"undefined"==typeof t.attributes?!0:t.attributes,childList:"undefined"==typeof t.childList?!0:t.childList,characterData:"undefined"==typeof t.characterData?!0:t.characterData}),g.observers.push(n)}function l(e){e.originalEvent&&(e=e.originalEvent);var t=e.keyCode||e.charCode;if(!g.params.allowSwipeToNext&&(r()&&39===t||!r()&&40===t))return!1;if(!g.params.allowSwipeToPrev&&(r()&&37===t||!r()&&38===t))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===t||39===t||38===t||40===t){var i=!1;if(g.container.parents(".swiper-slide").length>0&&0===g.container.parents(".swiper-slide-active").length)return;var n={left:window.pageXOffset,top:window.pageYOffset},s=window.innerWidth,o=window.innerHeight,a=g.container.offset();g.rtl&&(a.left=a.left-g.container[0].scrollLeft);for(var l=[[a.left,a.top],[a.left+g.width,a.top],[a.left,a.top+g.height],[a.left+g.width,a.top+g.height]],u=0;u<l.length;u++){var c=l[u];c[0]>=n.left&&c[0]<=n.left+s&&c[1]>=n.top&&c[1]<=n.top+o&&(i=!0)}if(!i)return}r()?((37===t||39===t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),(39===t&&!g.rtl||37===t&&g.rtl)&&g.slideNext(),(37===t&&!g.rtl||39===t&&g.rtl)&&g.slidePrev()):((38===t||40===t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),40===t&&g.slideNext(),38===t&&g.slidePrev())}}function u(e){e.originalEvent&&(e=e.originalEvent);var t=g.mousewheel.event,i=0;if(e.detail)i=-e.detail;else if("mousewheel"===t)if(g.params.mousewheelForceToAxis)if(r()){if(!(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)))return;i=e.wheelDeltaX}else{if(!(Math.abs(e.wheelDeltaY)>Math.abs(e.wheelDeltaX)))return;i=e.wheelDeltaY}else i=e.wheelDelta;else if("DOMMouseScroll"===t)i=-e.detail;else if("wheel"===t)if(g.params.mousewheelForceToAxis)if(r()){if(!(Math.abs(e.deltaX)>Math.abs(e.deltaY)))return;i=-e.deltaX}else{if(!(Math.abs(e.deltaY)>Math.abs(e.deltaX)))return;i=-e.deltaY}else i=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY;if(g.params.mousewheelInvert&&(i=-i),g.params.freeMode){var n=g.getWrapperTranslate()+i;if(n>0&&(n=0),n<g.maxTranslate()&&(n=g.maxTranslate()),g.setWrapperTransition(0),g.setWrapperTranslate(n),g.updateProgress(),g.updateActiveIndex(),g.params.freeModeSticky&&(clearTimeout(g.mousewheel.timeout),g.mousewheel.timeout=setTimeout(function(){g.slideReset()},300)),0===n||n===g.maxTranslate())return}else{if((new window.Date).getTime()-g.mousewheel.lastScrollTime>60)if(0>i)if(g.isEnd){if(g.params.mousewheelReleaseOnEdges)return!0; +}else g.slideNext();else if(g.isBeginning){if(g.params.mousewheelReleaseOnEdges)return!0}else g.slidePrev();g.mousewheel.lastScrollTime=(new window.Date).getTime()}return g.params.autoplay&&g.stopAutoplay(),e.preventDefault?e.preventDefault():e.returnValue=!1,!1}function c(e,t){e=v(e);var i,n,s;i=e.attr("data-swiper-parallax")||"0",n=e.attr("data-swiper-parallax-x"),s=e.attr("data-swiper-parallax-y"),n||s?(n=n||"0",s=s||"0"):r()?(n=i,s="0"):(s=i,n="0"),n=n.indexOf("%")>=0?parseInt(n,10)*t+"%":n*t+"px",s=s.indexOf("%")>=0?parseInt(s,10)*t+"%":s*t+"px",e.transform("translate3d("+n+", "+s+",0px)")}function p(e){return 0!==e.indexOf("on")&&(e=e[0]!==e[0].toUpperCase()?"on"+e[0].toUpperCase()+e.substring(1):"on"+e),e}if(!(this instanceof t))return new t(e,n);var h={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeSticky:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,scrollbar:null,scrollbarHide:!0,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,hashnav:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,pagination:null,paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationHiddenClass:"swiper-pagination-hidden",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",runCallbacksOnInit:!0},d=n&&n.virtualTranslate;n=n||{};for(var f in h)if("undefined"==typeof n[f])n[f]=h[f];else if("object"==typeof n[f])for(var m in h[f])"undefined"==typeof n[f][m]&&(n[f][m]=h[f][m]);var g=this;g.version="3.0.8",g.params=n,g.classNames=[];var v;if(v="undefined"==typeof i?window.Dom7||window.Zepto||window.jQuery:i,v&&(g.$=v,g.container=v(e),0!==g.container.length)){if(g.container.length>1)return void g.container.each(function(){new t(this,n)});g.container[0].swiper=g,g.container.data("swiper",g),g.classNames.push("swiper-container-"+g.params.direction),g.params.freeMode&&g.classNames.push("swiper-container-free-mode"),g.support.flexbox||(g.classNames.push("swiper-container-no-flexbox"),g.params.slidesPerColumn=1),(g.params.parallax||g.params.watchSlidesVisibility)&&(g.params.watchSlidesProgress=!0),["cube","coverflow"].indexOf(g.params.effect)>=0&&(g.support.transforms3d?(g.params.watchSlidesProgress=!0,g.classNames.push("swiper-container-3d")):g.params.effect="slide"),"slide"!==g.params.effect&&g.classNames.push("swiper-container-"+g.params.effect),"cube"===g.params.effect&&(g.params.resistanceRatio=0,g.params.slidesPerView=1,g.params.slidesPerColumn=1,g.params.slidesPerGroup=1,g.params.centeredSlides=!1,g.params.spaceBetween=0,g.params.virtualTranslate=!0,g.params.setWrapperSize=!1),"fade"===g.params.effect&&(g.params.slidesPerView=1,g.params.slidesPerColumn=1,g.params.slidesPerGroup=1,g.params.watchSlidesProgress=!0,g.params.spaceBetween=0,"undefined"==typeof d&&(g.params.virtualTranslate=!0)),g.params.grabCursor&&g.support.touch&&(g.params.grabCursor=!1),g.wrapper=g.container.children("."+g.params.wrapperClass),g.params.pagination&&(g.paginationContainer=v(g.params.pagination),g.params.paginationClickable&&g.paginationContainer.addClass("swiper-pagination-clickable")),g.rtl=r()&&("rtl"===g.container[0].dir.toLowerCase()||"rtl"===g.container.css("direction")),g.rtl&&g.classNames.push("swiper-container-rtl"),g.rtl&&(g.wrongRTL="-webkit-box"===g.wrapper.css("display")),g.params.slidesPerColumn>1&&g.classNames.push("swiper-container-multirow"),g.device.android&&g.classNames.push("swiper-container-android"),g.container.addClass(g.classNames.join(" ")),g.translate=0,g.progress=0,g.velocity=0,g.lockSwipeToNext=function(){g.params.allowSwipeToNext=!1},g.lockSwipeToPrev=function(){g.params.allowSwipeToPrev=!1},g.lockSwipes=function(){g.params.allowSwipeToNext=g.params.allowSwipeToPrev=!1},g.unlockSwipeToNext=function(){g.params.allowSwipeToNext=!0},g.unlockSwipeToPrev=function(){g.params.allowSwipeToPrev=!0},g.unlockSwipes=function(){g.params.allowSwipeToNext=g.params.allowSwipeToPrev=!0},g.params.grabCursor&&(g.container[0].style.cursor="move",g.container[0].style.cursor="-webkit-grab",g.container[0].style.cursor="-moz-grab",g.container[0].style.cursor="grab"),g.imagesToLoad=[],g.imagesLoaded=0,g.loadImage=function(e,t,i,n){function r(){n&&n()}var s;e.complete&&i?r():t?(s=new window.Image,s.onload=r,s.onerror=r,s.src=t):r()},g.preloadImages=function(){function e(){"undefined"!=typeof g&&null!==g&&(void 0!==g.imagesLoaded&&g.imagesLoaded++,g.imagesLoaded===g.imagesToLoad.length&&(g.params.updateOnImagesReady&&g.update(),g.emit("onImagesReady",g)))}g.imagesToLoad=g.container.find("img");for(var t=0;t<g.imagesToLoad.length;t++)g.loadImage(g.imagesToLoad[t],g.imagesToLoad[t].currentSrc||g.imagesToLoad[t].getAttribute("src"),!0,e)},g.autoplayTimeoutId=void 0,g.autoplaying=!1,g.autoplayPaused=!1,g.startAutoplay=function(){return"undefined"!=typeof g.autoplayTimeoutId?!1:g.params.autoplay?g.autoplaying?!1:(g.autoplaying=!0,g.emit("onAutoplayStart",g),void s()):!1},g.stopAutoplay=function(e){g.autoplayTimeoutId&&(g.autoplayTimeoutId&&clearTimeout(g.autoplayTimeoutId),g.autoplaying=!1,g.autoplayTimeoutId=void 0,g.emit("onAutoplayStop",g))},g.pauseAutoplay=function(e){g.autoplayPaused||(g.autoplayTimeoutId&&clearTimeout(g.autoplayTimeoutId),g.autoplayPaused=!0,0===e?(g.autoplayPaused=!1,s()):g.wrapper.transitionEnd(function(){g&&(g.autoplayPaused=!1,g.autoplaying?s():g.stopAutoplay())}))},g.minTranslate=function(){return-g.snapGrid[0]},g.maxTranslate=function(){return-g.snapGrid[g.snapGrid.length-1]},g.updateContainerSize=function(){var e,t;e="undefined"!=typeof g.params.width?g.params.width:g.container[0].clientWidth,t="undefined"!=typeof g.params.height?g.params.height:g.container[0].clientHeight,0===e&&r()||0===t&&!r()||(g.width=e,g.height=t,g.size=r()?g.width:g.height)},g.updateSlidesSize=function(){g.slides=g.wrapper.children("."+g.params.slideClass),g.snapGrid=[],g.slidesGrid=[],g.slidesSizesGrid=[];var e,t=g.params.spaceBetween,i=0,n=0,s=0;"string"==typeof t&&t.indexOf("%")>=0&&(t=parseFloat(t.replace("%",""))/100*g.size),g.virtualSize=-t,g.rtl?g.slides.css({marginLeft:"",marginTop:""}):g.slides.css({marginRight:"",marginBottom:""});var o;g.params.slidesPerColumn>1&&(o=Math.floor(g.slides.length/g.params.slidesPerColumn)===g.slides.length/g.params.slidesPerColumn?g.slides.length:Math.ceil(g.slides.length/g.params.slidesPerColumn)*g.params.slidesPerColumn);var a,l=g.params.slidesPerColumn,u=o/l,c=u-(g.params.slidesPerColumn*u-g.slides.length);for(e=0;e<g.slides.length;e++){a=0;var p=g.slides.eq(e);if(g.params.slidesPerColumn>1){var h,d,f;"column"===g.params.slidesPerColumnFill?(d=Math.floor(e/l),f=e-d*l,(d>c||d===c&&f===l-1)&&++f>=l&&(f=0,d++),h=d+f*o/l,p.css({"-webkit-box-ordinal-group":h,"-moz-box-ordinal-group":h,"-ms-flex-order":h,"-webkit-order":h,order:h})):(f=Math.floor(e/u),d=e-f*u),p.css({"margin-top":0!==f&&g.params.spaceBetween&&g.params.spaceBetween+"px"}).attr("data-swiper-column",d).attr("data-swiper-row",f)}"none"!==p.css("display")&&("auto"===g.params.slidesPerView?a=r()?p.outerWidth(!0):p.outerHeight(!0):(a=(g.size-(g.params.slidesPerView-1)*t)/g.params.slidesPerView,r()?g.slides[e].style.width=a+"px":g.slides[e].style.height=a+"px"),g.slides[e].swiperSlideSize=a,g.slidesSizesGrid.push(a),g.params.centeredSlides?(i=i+a/2+n/2+t,0===e&&(i=i-g.size/2-t),Math.abs(i)<.001&&(i=0),s%g.params.slidesPerGroup===0&&g.snapGrid.push(i),g.slidesGrid.push(i)):(s%g.params.slidesPerGroup===0&&g.snapGrid.push(i),g.slidesGrid.push(i),i=i+a+t),g.virtualSize+=a+t,n=a,s++)}g.virtualSize=Math.max(g.virtualSize,g.size);var m;if(g.rtl&&g.wrongRTL&&("slide"===g.params.effect||"coverflow"===g.params.effect)&&g.wrapper.css({width:g.virtualSize+g.params.spaceBetween+"px"}),(!g.support.flexbox||g.params.setWrapperSize)&&(r()?g.wrapper.css({width:g.virtualSize+g.params.spaceBetween+"px"}):g.wrapper.css({height:g.virtualSize+g.params.spaceBetween+"px"})),g.params.slidesPerColumn>1&&(g.virtualSize=(a+g.params.spaceBetween)*o,g.virtualSize=Math.ceil(g.virtualSize/g.params.slidesPerColumn)-g.params.spaceBetween,g.wrapper.css({width:g.virtualSize+g.params.spaceBetween+"px"}),g.params.centeredSlides)){for(m=[],e=0;e<g.snapGrid.length;e++)g.snapGrid[e]<g.virtualSize+g.snapGrid[0]&&m.push(g.snapGrid[e]);g.snapGrid=m}if(!g.params.centeredSlides){for(m=[],e=0;e<g.snapGrid.length;e++)g.snapGrid[e]<=g.virtualSize-g.size&&m.push(g.snapGrid[e]);g.snapGrid=m,Math.floor(g.virtualSize-g.size)>Math.floor(g.snapGrid[g.snapGrid.length-1])&&g.snapGrid.push(g.virtualSize-g.size)}0===g.snapGrid.length&&(g.snapGrid=[0]),0!==g.params.spaceBetween&&(r()?g.rtl?g.slides.css({marginLeft:t+"px"}):g.slides.css({marginRight:t+"px"}):g.slides.css({marginBottom:t+"px"})),g.params.watchSlidesProgress&&g.updateSlidesOffset()},g.updateSlidesOffset=function(){for(var e=0;e<g.slides.length;e++)g.slides[e].swiperSlideOffset=r()?g.slides[e].offsetLeft:g.slides[e].offsetTop},g.updateSlidesProgress=function(e){if("undefined"==typeof e&&(e=g.translate||0),0!==g.slides.length){"undefined"==typeof g.slides[0].swiperSlideOffset&&g.updateSlidesOffset();var t=g.params.centeredSlides?-e+g.size/2:-e;g.rtl&&(t=g.params.centeredSlides?e-g.size/2:e);g.container[0].getBoundingClientRect(),r()?"left":"top",r()?"right":"bottom";g.slides.removeClass(g.params.slideVisibleClass);for(var i=0;i<g.slides.length;i++){var n=g.slides[i],s=g.params.centeredSlides===!0?n.swiperSlideSize/2:0,o=(t-n.swiperSlideOffset-s)/(n.swiperSlideSize+g.params.spaceBetween);if(g.params.watchSlidesVisibility){var a=-(t-n.swiperSlideOffset-s),l=a+g.slidesSizesGrid[i],u=a>=0&&a<g.size||l>0&&l<=g.size||0>=a&&l>=g.size;u&&g.slides.eq(i).addClass(g.params.slideVisibleClass)}n.progress=g.rtl?-o:o}}},g.updateProgress=function(e){"undefined"==typeof e&&(e=g.translate||0);var t=g.maxTranslate()-g.minTranslate();0===t?(g.progress=0,g.isBeginning=g.isEnd=!0):(g.progress=(e-g.minTranslate())/t,g.isBeginning=g.progress<=0,g.isEnd=g.progress>=1),g.isBeginning&&g.emit("onReachBeginning",g),g.isEnd&&g.emit("onReachEnd",g),g.params.watchSlidesProgress&&g.updateSlidesProgress(e),g.emit("onProgress",g,g.progress)},g.updateActiveIndex=function(){var e,t,i,n=g.rtl?g.translate:-g.translate;for(t=0;t<g.slidesGrid.length;t++)"undefined"!=typeof g.slidesGrid[t+1]?n>=g.slidesGrid[t]&&n<g.slidesGrid[t+1]-(g.slidesGrid[t+1]-g.slidesGrid[t])/2?e=t:n>=g.slidesGrid[t]&&n<g.slidesGrid[t+1]&&(e=t+1):n>=g.slidesGrid[t]&&(e=t);(0>e||"undefined"==typeof e)&&(e=0),i=Math.floor(e/g.params.slidesPerGroup),i>=g.snapGrid.length&&(i=g.snapGrid.length-1),e!==g.activeIndex&&(g.snapIndex=i,g.previousIndex=g.activeIndex,g.activeIndex=e,g.updateClasses())},g.updateClasses=function(){g.slides.removeClass(g.params.slideActiveClass+" "+g.params.slideNextClass+" "+g.params.slidePrevClass);var e=g.slides.eq(g.activeIndex);if(e.addClass(g.params.slideActiveClass),e.next("."+g.params.slideClass).addClass(g.params.slideNextClass),e.prev("."+g.params.slideClass).addClass(g.params.slidePrevClass),g.bullets&&g.bullets.length>0){g.bullets.removeClass(g.params.bulletActiveClass);var t;g.params.loop?(t=Math.ceil(g.activeIndex-g.loopedSlides)/g.params.slidesPerGroup,t>g.slides.length-1-2*g.loopedSlides&&(t-=g.slides.length-2*g.loopedSlides),t>g.bullets.length-1&&(t-=g.bullets.length)):t="undefined"!=typeof g.snapIndex?g.snapIndex:g.activeIndex||0,g.paginationContainer.length>1?g.bullets.each(function(){v(this).index()===t&&v(this).addClass(g.params.bulletActiveClass)}):g.bullets.eq(t).addClass(g.params.bulletActiveClass)}g.params.loop||(g.params.prevButton&&(g.isBeginning?(v(g.params.prevButton).addClass(g.params.buttonDisabledClass),g.params.a11y&&g.a11y&&g.a11y.disable(v(g.params.prevButton))):(v(g.params.prevButton).removeClass(g.params.buttonDisabledClass),g.params.a11y&&g.a11y&&g.a11y.enable(v(g.params.prevButton)))),g.params.nextButton&&(g.isEnd?(v(g.params.nextButton).addClass(g.params.buttonDisabledClass),g.params.a11y&&g.a11y&&g.a11y.disable(v(g.params.nextButton))):(v(g.params.nextButton).removeClass(g.params.buttonDisabledClass),g.params.a11y&&g.a11y&&g.a11y.enable(v(g.params.nextButton)))))},g.updatePagination=function(){if(g.params.pagination&&g.paginationContainer&&g.paginationContainer.length>0){for(var e="",t=g.params.loop?Math.ceil((g.slides.length-2*g.loopedSlides)/g.params.slidesPerGroup):g.snapGrid.length,i=0;t>i;i++)e+=g.params.paginationBulletRender?g.params.paginationBulletRender(i,g.params.bulletClass):'<span class="'+g.params.bulletClass+'"></span>';g.paginationContainer.html(e),g.bullets=g.paginationContainer.find("."+g.params.bulletClass)}},g.update=function(e){function t(){n=Math.min(Math.max(g.translate,g.maxTranslate()),g.minTranslate()),g.setWrapperTranslate(n),g.updateActiveIndex(),g.updateClasses()}if(g.updateContainerSize(),g.updateSlidesSize(),g.updateProgress(),g.updatePagination(),g.updateClasses(),g.params.scrollbar&&g.scrollbar&&g.scrollbar.set(),e){var i,n;g.params.freeMode?t():(i="auto"===g.params.slidesPerView&&g.isEnd&&!g.params.centeredSlides?g.slideTo(g.slides.length-1,0,!1,!0):g.slideTo(g.activeIndex,0,!1,!0),i||t())}},g.onResize=function(e){if(g.updateContainerSize(),g.updateSlidesSize(),g.updateProgress(),("auto"===g.params.slidesPerView||g.params.freeMode||e)&&g.updatePagination(),g.params.scrollbar&&g.scrollbar&&g.scrollbar.set(),g.params.freeMode){var t=Math.min(Math.max(g.translate,g.maxTranslate()),g.minTranslate());g.setWrapperTranslate(t),g.updateActiveIndex(),g.updateClasses()}else g.updateClasses(),"auto"===g.params.slidesPerView&&g.isEnd&&!g.params.centeredSlides?g.slideTo(g.slides.length-1,0,!1,!0):g.slideTo(g.activeIndex,0,!1,!0)};var y=["mousedown","mousemove","mouseup"];window.navigator.pointerEnabled?y=["pointerdown","pointermove","pointerup"]:window.navigator.msPointerEnabled&&(y=["MSPointerDown","MSPointerMove","MSPointerUp"]),g.touchEvents={start:g.support.touch||!g.params.simulateTouch?"touchstart":y[0],move:g.support.touch||!g.params.simulateTouch?"touchmove":y[1],end:g.support.touch||!g.params.simulateTouch?"touchend":y[2]},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===g.params.touchEventsTarget?g.container:g.wrapper).addClass("swiper-wp8-"+g.params.direction),g.initEvents=function(e){var t=e?"off":"on",i=e?"removeEventListener":"addEventListener",r="container"===g.params.touchEventsTarget?g.container[0]:g.wrapper[0],s=g.support.touch?r:document,o=g.params.nested?!0:!1;g.browser.ie?(r[i](g.touchEvents.start,g.onTouchStart,!1),s[i](g.touchEvents.move,g.onTouchMove,o),s[i](g.touchEvents.end,g.onTouchEnd,!1)):(g.support.touch&&(r[i](g.touchEvents.start,g.onTouchStart,!1),r[i](g.touchEvents.move,g.onTouchMove,o),r[i](g.touchEvents.end,g.onTouchEnd,!1)),!n.simulateTouch||g.device.ios||g.device.android||(r[i]("mousedown",g.onTouchStart,!1),document[i]("mousemove",g.onTouchMove,o),document[i]("mouseup",g.onTouchEnd,!1))),window[i]("resize",g.onResize),g.params.nextButton&&(v(g.params.nextButton)[t]("click",g.onClickNext),g.params.a11y&&g.a11y&&v(g.params.nextButton)[t]("keydown",g.a11y.onEnterKey)),g.params.prevButton&&(v(g.params.prevButton)[t]("click",g.onClickPrev),g.params.a11y&&g.a11y&&v(g.params.prevButton)[t]("keydown",g.a11y.onEnterKey)),g.params.pagination&&g.params.paginationClickable&&v(g.paginationContainer)[t]("click","."+g.params.bulletClass,g.onClickIndex),(g.params.preventClicks||g.params.preventClicksPropagation)&&r[i]("click",g.preventClicks,!0)},g.attachEvents=function(e){g.initEvents()},g.detachEvents=function(){g.initEvents(!0)},g.allowClick=!0,g.preventClicks=function(e){g.allowClick||(g.params.preventClicks&&e.preventDefault(),g.params.preventClicksPropagation&&g.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},g.onClickNext=function(e){e.preventDefault(),g.slideNext()},g.onClickPrev=function(e){e.preventDefault(),g.slidePrev()},g.onClickIndex=function(e){e.preventDefault();var t=v(this).index()*g.params.slidesPerGroup;g.params.loop&&(t+=g.loopedSlides),g.slideTo(t)},g.updateClickedSlide=function(e){var t=o(e,"."+g.params.slideClass),i=!1;if(t)for(var n=0;n<g.slides.length;n++)g.slides[n]===t&&(i=!0);if(!t||!i)return g.clickedSlide=void 0,void(g.clickedIndex=void 0);if(g.clickedSlide=t,g.clickedIndex=v(t).index(),g.params.slideToClickedSlide&&void 0!==g.clickedIndex&&g.clickedIndex!==g.activeIndex){var r,s=g.clickedIndex;if(g.params.loop)if(r=v(g.clickedSlide).attr("data-swiper-slide-index"),s>g.slides.length-g.params.slidesPerView)g.fixLoop(),s=g.wrapper.children("."+g.params.slideClass+'[data-swiper-slide-index="'+r+'"]').eq(0).index(),setTimeout(function(){g.slideTo(s)},0);else if(s<g.params.slidesPerView-1){g.fixLoop();var a=g.wrapper.children("."+g.params.slideClass+'[data-swiper-slide-index="'+r+'"]');s=a.eq(a.length-1).index(),setTimeout(function(){g.slideTo(s)},0)}else g.slideTo(s);else g.slideTo(s)}};var w,b,x,S,T,C,k,E,P,A="input, select, textarea, button",_=Date.now(),D=[];g.animating=!1,g.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0};var L,M;if(g.onTouchStart=function(e){if(e.originalEvent&&(e=e.originalEvent),L="touchstart"===e.type,L||!("which"in e)||3!==e.which){if(g.params.noSwiping&&o(e,"."+g.params.noSwipingClass))return void(g.allowClick=!0);if(!g.params.swipeHandler||o(e,g.params.swipeHandler)){if(w=!0,b=!1,S=void 0,M=void 0,g.touches.startX=g.touches.currentX="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,g.touches.startY=g.touches.currentY="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY,x=Date.now(),g.allowClick=!0,g.updateContainerSize(),g.swipeDirection=void 0,g.params.threshold>0&&(k=!1),"touchstart"!==e.type){var t=!0;v(e.target).is(A)&&(t=!1),document.activeElement&&v(document.activeElement).is(A)&&document.activeElement.blur(),t&&e.preventDefault()}g.emit("onTouchStart",g,e)}}},g.onTouchMove=function(e){if(e.originalEvent&&(e=e.originalEvent),!(L&&"mousemove"===e.type||e.preventedByNestedSwiper)){if(g.params.onlyExternal)return b=!0,void(g.allowClick=!1);if(L&&document.activeElement&&e.target===document.activeElement&&v(e.target).is(A))return b=!0,void(g.allowClick=!1);if(g.emit("onTouchMove",g,e),!(e.targetTouches&&e.targetTouches.length>1)){if(g.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,g.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,"undefined"==typeof S){var t=180*Math.atan2(Math.abs(g.touches.currentY-g.touches.startY),Math.abs(g.touches.currentX-g.touches.startX))/Math.PI;S=r()?t>g.params.touchAngle:90-t>g.params.touchAngle}if(S&&g.emit("onTouchMoveOpposite",g,e),"undefined"==typeof M&&g.browser.ieTouch&&(g.touches.currentX!==g.touches.startX||g.touches.currentY!==g.touches.startY)&&(M=!0),w){if(S)return void(w=!1);if(M||!g.browser.ieTouch){g.allowClick=!1,g.emit("onSliderMove",g,e),e.preventDefault(),g.params.touchMoveStopPropagation&&!g.params.nested&&e.stopPropagation(),b||(n.loop&&g.fixLoop(),C=g.getWrapperTranslate(),g.setWrapperTransition(0),g.animating&&g.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),g.params.autoplay&&g.autoplaying&&(g.params.autoplayDisableOnInteraction?g.stopAutoplay():g.pauseAutoplay()),P=!1,g.params.grabCursor&&(g.container[0].style.cursor="move",g.container[0].style.cursor="-webkit-grabbing",g.container[0].style.cursor="-moz-grabbin",g.container[0].style.cursor="grabbing")),b=!0;var i=g.touches.diff=r()?g.touches.currentX-g.touches.startX:g.touches.currentY-g.touches.startY;i*=g.params.touchRatio,g.rtl&&(i=-i),g.swipeDirection=i>0?"prev":"next",T=i+C;var s=!0;if(i>0&&T>g.minTranslate()?(s=!1,g.params.resistance&&(T=g.minTranslate()-1+Math.pow(-g.minTranslate()+C+i,g.params.resistanceRatio))):0>i&&T<g.maxTranslate()&&(s=!1,g.params.resistance&&(T=g.maxTranslate()+1-Math.pow(g.maxTranslate()-C-i,g.params.resistanceRatio))),s&&(e.preventedByNestedSwiper=!0),!g.params.allowSwipeToNext&&"next"===g.swipeDirection&&C>T&&(T=C),!g.params.allowSwipeToPrev&&"prev"===g.swipeDirection&&T>C&&(T=C),g.params.followFinger){if(g.params.threshold>0){if(!(Math.abs(i)>g.params.threshold||k))return void(T=C);if(!k)return k=!0,g.touches.startX=g.touches.currentX,g.touches.startY=g.touches.currentY,T=C,void(g.touches.diff=r()?g.touches.currentX-g.touches.startX:g.touches.currentY-g.touches.startY)}(g.params.freeMode||g.params.watchSlidesProgress)&&g.updateActiveIndex(),g.params.freeMode&&(0===D.length&&D.push({position:g.touches[r()?"startX":"startY"],time:x}),D.push({position:g.touches[r()?"currentX":"currentY"],time:(new window.Date).getTime()})),g.updateProgress(T),g.setWrapperTranslate(T)}}}}}},g.onTouchEnd=function(e){if(e.originalEvent&&(e=e.originalEvent),g.emit("onTouchEnd",g,e),w){g.params.grabCursor&&b&&w&&(g.container[0].style.cursor="move",g.container[0].style.cursor="-webkit-grab",g.container[0].style.cursor="-moz-grab",g.container[0].style.cursor="grab");var t=Date.now(),i=t-x;if(g.allowClick&&(g.updateClickedSlide(e),g.emit("onTap",g,e),300>i&&t-_>300&&(E&&clearTimeout(E),E=setTimeout(function(){g&&(g.params.paginationHide&&g.paginationContainer.length>0&&!v(e.target).hasClass(g.params.bulletClass)&&g.paginationContainer.toggleClass(g.params.paginationHiddenClass),g.emit("onClick",g,e))},300)),300>i&&300>t-_&&(E&&clearTimeout(E),g.emit("onDoubleTap",g,e))),_=Date.now(),setTimeout(function(){g&&(g.allowClick=!0)},0),!w||!b||!g.swipeDirection||0===g.touches.diff||T===C)return void(w=b=!1);w=b=!1;var n;if(n=g.params.followFinger?g.rtl?g.translate:-g.translate:-T,g.params.freeMode){if(n<-g.minTranslate())return void g.slideTo(g.activeIndex);if(n>-g.maxTranslate())return void(g.slides.length<g.snapGrid.length?g.slideTo(g.snapGrid.length-1):g.slideTo(g.slides.length-1));if(g.params.freeModeMomentum){if(D.length>1){var r=D.pop(),s=D.pop(),o=r.position-s.position,a=r.time-s.time;g.velocity=o/a,g.velocity=g.velocity/2,Math.abs(g.velocity)<.02&&(g.velocity=0),(a>150||(new window.Date).getTime()-r.time>300)&&(g.velocity=0)}else g.velocity=0;D.length=0;var l=1e3*g.params.freeModeMomentumRatio,u=g.velocity*l,c=g.translate+u;g.rtl&&(c=-c);var p,h=!1,d=20*Math.abs(g.velocity)*g.params.freeModeMomentumBounceRatio;if(c<g.maxTranslate())g.params.freeModeMomentumBounce?(c+g.maxTranslate()<-d&&(c=g.maxTranslate()-d),p=g.maxTranslate(),h=!0,P=!0):c=g.maxTranslate();else if(c>g.minTranslate())g.params.freeModeMomentumBounce?(c-g.minTranslate()>d&&(c=g.minTranslate()+d),p=g.minTranslate(),h=!0,P=!0):c=g.minTranslate();else if(g.params.freeModeSticky){var f,m=0;for(m=0;m<g.snapGrid.length;m+=1)if(g.snapGrid[m]>-c){f=m;break}c=Math.abs(g.snapGrid[f]-c)<Math.abs(g.snapGrid[f-1]-c)||"next"===g.swipeDirection?g.snapGrid[f]:g.snapGrid[f-1],g.rtl||(c=-c)}if(0!==g.velocity)l=g.rtl?Math.abs((-c-g.translate)/g.velocity):Math.abs((c-g.translate)/g.velocity);else if(g.params.freeModeSticky)return void g.slideReset();g.params.freeModeMomentumBounce&&h?(g.updateProgress(p),g.setWrapperTransition(l),g.setWrapperTranslate(c),g.onTransitionStart(),g.animating=!0,g.wrapper.transitionEnd(function(){g&&P&&(g.emit("onMomentumBounce",g),g.setWrapperTransition(g.params.speed),g.setWrapperTranslate(p),g.wrapper.transitionEnd(function(){g&&g.onTransitionEnd()}))})):g.velocity?(g.updateProgress(c),g.setWrapperTransition(l),g.setWrapperTranslate(c),g.onTransitionStart(),g.animating||(g.animating=!0,g.wrapper.transitionEnd(function(){g&&g.onTransitionEnd()}))):g.updateProgress(c),g.updateActiveIndex()}return void((!g.params.freeModeMomentum||i>=g.params.longSwipesMs)&&(g.updateProgress(),g.updateActiveIndex()))}var y,S=0,k=g.slidesSizesGrid[0];for(y=0;y<g.slidesGrid.length;y+=g.params.slidesPerGroup)"undefined"!=typeof g.slidesGrid[y+g.params.slidesPerGroup]?n>=g.slidesGrid[y]&&n<g.slidesGrid[y+g.params.slidesPerGroup]&&(S=y,k=g.slidesGrid[y+g.params.slidesPerGroup]-g.slidesGrid[y]):n>=g.slidesGrid[y]&&(S=y,k=g.slidesGrid[g.slidesGrid.length-1]-g.slidesGrid[g.slidesGrid.length-2]);var A=(n-g.slidesGrid[S])/k;if(i>g.params.longSwipesMs){if(!g.params.longSwipes)return void g.slideTo(g.activeIndex);"next"===g.swipeDirection&&(A>=g.params.longSwipesRatio?g.slideTo(S+g.params.slidesPerGroup):g.slideTo(S)),"prev"===g.swipeDirection&&(A>1-g.params.longSwipesRatio?g.slideTo(S+g.params.slidesPerGroup):g.slideTo(S))}else{if(!g.params.shortSwipes)return void g.slideTo(g.activeIndex);"next"===g.swipeDirection&&g.slideTo(S+g.params.slidesPerGroup),"prev"===g.swipeDirection&&g.slideTo(S)}}},g._slideTo=function(e,t){return g.slideTo(e,t,!0,!0)},g.slideTo=function(e,t,i,n){"undefined"==typeof i&&(i=!0),"undefined"==typeof e&&(e=0),0>e&&(e=0),g.snapIndex=Math.floor(e/g.params.slidesPerGroup),g.snapIndex>=g.snapGrid.length&&(g.snapIndex=g.snapGrid.length-1);var s=-g.snapGrid[g.snapIndex];if(!g.params.allowSwipeToNext&&s<g.translate&&s<g.minTranslate())return!1;if(!g.params.allowSwipeToPrev&&s>g.translate&&s>g.maxTranslate())return!1;g.params.autoplay&&g.autoplaying&&(n||!g.params.autoplayDisableOnInteraction?g.pauseAutoplay(t):g.stopAutoplay()),g.updateProgress(s);for(var o=0;o<g.slidesGrid.length;o++)-s>=g.slidesGrid[o]&&(e=o);if("undefined"==typeof t&&(t=g.params.speed),g.previousIndex=g.activeIndex||0,g.activeIndex=e,s===g.translate)return g.updateClasses(),!1;g.updateClasses(),g.onTransitionStart(i);r()?s:0,r()?0:s;return 0===t?(g.setWrapperTransition(0),g.setWrapperTranslate(s),g.onTransitionEnd(i)):(g.setWrapperTransition(t),g.setWrapperTranslate(s),g.animating||(g.animating=!0,g.wrapper.transitionEnd(function(){g&&g.onTransitionEnd(i)}))),!0},g.onTransitionStart=function(e){"undefined"==typeof e&&(e=!0),g.lazy&&g.lazy.onTransitionStart(),e&&(g.emit("onTransitionStart",g),g.activeIndex!==g.previousIndex&&g.emit("onSlideChangeStart",g))},g.onTransitionEnd=function(e){g.animating=!1,g.setWrapperTransition(0),"undefined"==typeof e&&(e=!0),g.lazy&&g.lazy.onTransitionEnd(),e&&(g.emit("onTransitionEnd",g),g.activeIndex!==g.previousIndex&&g.emit("onSlideChangeEnd",g)),g.params.hashnav&&g.hashnav&&g.hashnav.setHash()},g.slideNext=function(e,t,i){if(g.params.loop){if(g.animating)return!1;g.fixLoop();g.container[0].clientLeft;return g.slideTo(g.activeIndex+g.params.slidesPerGroup,t,e,i)}return g.slideTo(g.activeIndex+g.params.slidesPerGroup,t,e,i)},g._slideNext=function(e){return g.slideNext(!0,e,!0)},g.slidePrev=function(e,t,i){if(g.params.loop){if(g.animating)return!1;g.fixLoop();g.container[0].clientLeft;return g.slideTo(g.activeIndex-1,t,e,i)}return g.slideTo(g.activeIndex-1,t,e,i)},g._slidePrev=function(e){return g.slidePrev(!0,e,!0)},g.slideReset=function(e,t,i){return g.slideTo(g.activeIndex,t,e)},g.setWrapperTransition=function(e,t){g.wrapper.transition(e),"slide"!==g.params.effect&&g.effects[g.params.effect]&&g.effects[g.params.effect].setTransition(e),g.params.parallax&&g.parallax&&g.parallax.setTransition(e),g.params.scrollbar&&g.scrollbar&&g.scrollbar.setTransition(e),g.params.control&&g.controller&&g.controller.setTransition(e,t),g.emit("onSetTransition",g,e)},g.setWrapperTranslate=function(e,t,i){var n=0,s=0,o=0;r()?n=g.rtl?-e:e:s=e,g.params.virtualTranslate||(g.support.transforms3d?g.wrapper.transform("translate3d("+n+"px, "+s+"px, "+o+"px)"):g.wrapper.transform("translate("+n+"px, "+s+"px)")),g.translate=r()?n:s,t&&g.updateActiveIndex(),"slide"!==g.params.effect&&g.effects[g.params.effect]&&g.effects[g.params.effect].setTranslate(g.translate),g.params.parallax&&g.parallax&&g.parallax.setTranslate(g.translate),g.params.scrollbar&&g.scrollbar&&g.scrollbar.setTranslate(g.translate),g.params.control&&g.controller&&g.controller.setTranslate(g.translate,i),g.emit("onSetTranslate",g,g.translate)},g.getTranslate=function(e,t){var i,n,r,s;return"undefined"==typeof t&&(t="x"),g.params.virtualTranslate?g.rtl?-g.translate:g.translate:(r=window.getComputedStyle(e,null),window.WebKitCSSMatrix?s=new window.WebKitCSSMatrix("none"===r.webkitTransform?"":r.webkitTransform):(s=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=s.toString().split(",")),"x"===t&&(n=window.WebKitCSSMatrix?s.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=window.WebKitCSSMatrix?s.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),g.rtl&&n&&(n=-n),n||0)},g.getWrapperTranslate=function(e){return"undefined"==typeof e&&(e=r()?"x":"y"),g.getTranslate(g.wrapper[0],e)},g.observers=[],g.initObservers=function(){if(g.params.observeParents)for(var e=g.container.parents(),t=0;t<e.length;t++)a(e[t]);a(g.container[0],{childList:!1}),a(g.wrapper[0],{attributes:!1})},g.disconnectObservers=function(){for(var e=0;e<g.observers.length;e++)g.observers[e].disconnect();g.observers=[]},g.createLoop=function(){g.wrapper.children("."+g.params.slideClass+"."+g.params.slideDuplicateClass).remove();var e=g.wrapper.children("."+g.params.slideClass);g.loopedSlides=parseInt(g.params.loopedSlides||g.params.slidesPerView,10),g.loopedSlides=g.loopedSlides+g.params.loopAdditionalSlides,g.loopedSlides>e.length&&(g.loopedSlides=e.length);var t,i=[],n=[];for(e.each(function(t,r){var s=v(this);t<g.loopedSlides&&n.push(r),t<e.length&&t>=e.length-g.loopedSlides&&i.push(r),s.attr("data-swiper-slide-index",t)}),t=0;t<n.length;t++)g.wrapper.append(v(n[t].cloneNode(!0)).addClass(g.params.slideDuplicateClass));for(t=i.length-1;t>=0;t--)g.wrapper.prepend(v(i[t].cloneNode(!0)).addClass(g.params.slideDuplicateClass))},g.destroyLoop=function(){g.wrapper.children("."+g.params.slideClass+"."+g.params.slideDuplicateClass).remove(),g.slides.removeAttr("data-swiper-slide-index")},g.fixLoop=function(){var e;g.activeIndex<g.loopedSlides?(e=g.slides.length-3*g.loopedSlides+g.activeIndex,e+=g.loopedSlides,g.slideTo(e,0,!1,!0)):("auto"===g.params.slidesPerView&&g.activeIndex>=2*g.loopedSlides||g.activeIndex>g.slides.length-2*g.params.slidesPerView)&&(e=-g.slides.length+g.activeIndex+g.loopedSlides,e+=g.loopedSlides,g.slideTo(e,0,!1,!0))},g.appendSlide=function(e){if(g.params.loop&&g.destroyLoop(),"object"==typeof e&&e.length)for(var t=0;t<e.length;t++)e[t]&&g.wrapper.append(e[t]);else g.wrapper.append(e);g.params.loop&&g.createLoop(),g.params.observer&&g.support.observer||g.update(!0)},g.prependSlide=function(e){g.params.loop&&g.destroyLoop();var t=g.activeIndex+1;if("object"==typeof e&&e.length){for(var i=0;i<e.length;i++)e[i]&&g.wrapper.prepend(e[i]);t=g.activeIndex+e.length}else g.wrapper.prepend(e);g.params.loop&&g.createLoop(),g.params.observer&&g.support.observer||g.update(!0),g.slideTo(t,0,!1); +},g.removeSlide=function(e){g.params.loop&&(g.destroyLoop(),g.slides=g.wrapper.children("."+g.params.slideClass));var t,i=g.activeIndex;if("object"==typeof e&&e.length){for(var n=0;n<e.length;n++)t=e[n],g.slides[t]&&g.slides.eq(t).remove(),i>t&&i--;i=Math.max(i,0)}else t=e,g.slides[t]&&g.slides.eq(t).remove(),i>t&&i--,i=Math.max(i,0);g.params.loop&&g.createLoop(),g.params.observer&&g.support.observer||g.update(!0),g.params.loop?g.slideTo(i+g.loopedSlides,0,!1):g.slideTo(i,0,!1)},g.removeAllSlides=function(){for(var e=[],t=0;t<g.slides.length;t++)e.push(t);g.removeSlide(e)},g.effects={fade:{setTranslate:function(){for(var e=0;e<g.slides.length;e++){var t=g.slides.eq(e),i=t[0].swiperSlideOffset,n=-i;g.params.virtualTranslate||(n-=g.translate);var s=0;r()||(s=n,n=0);var o=g.params.fade.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:o}).transform("translate3d("+n+"px, "+s+"px, 0px)")}},setTransition:function(e){if(g.slides.transition(e),g.params.virtualTranslate&&0!==e){var t=!1;g.slides.transitionEnd(function(){if(!t&&g){t=!0,g.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=0;i<e.length;i++)g.wrapper.trigger(e[i])}})}}},cube:{setTranslate:function(){var e,t=0;g.params.cube.shadow&&(r()?(e=g.wrapper.find(".swiper-cube-shadow"),0===e.length&&(e=v('<div class="swiper-cube-shadow"></div>'),g.wrapper.append(e)),e.css({height:g.width+"px"})):(e=g.container.find(".swiper-cube-shadow"),0===e.length&&(e=v('<div class="swiper-cube-shadow"></div>'),g.container.append(e))));for(var i=0;i<g.slides.length;i++){var n=g.slides.eq(i),s=90*i,o=Math.floor(s/360);g.rtl&&(s=-s,o=Math.floor(-s/360));var a=Math.max(Math.min(n[0].progress,1),-1),l=0,u=0,c=0;i%4===0?(l=4*-o*g.size,c=0):(i-1)%4===0?(l=0,c=4*-o*g.size):(i-2)%4===0?(l=g.size+4*o*g.size,c=g.size):(i-3)%4===0&&(l=-g.size,c=3*g.size+4*g.size*o),g.rtl&&(l=-l),r()||(u=l,l=0);var p="rotateX("+(r()?0:-s)+"deg) rotateY("+(r()?s:0)+"deg) translate3d("+l+"px, "+u+"px, "+c+"px)";if(1>=a&&a>-1&&(t=90*i+90*a,g.rtl&&(t=90*-i-90*a)),n.transform(p),g.params.cube.slideShadows){var h=r()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),d=r()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom");0===h.length&&(h=v('<div class="swiper-slide-shadow-'+(r()?"left":"top")+'"></div>'),n.append(h)),0===d.length&&(d=v('<div class="swiper-slide-shadow-'+(r()?"right":"bottom")+'"></div>'),n.append(d));n[0].progress;h.length&&(h[0].style.opacity=-n[0].progress),d.length&&(d[0].style.opacity=n[0].progress)}}if(g.wrapper.css({"-webkit-transform-origin":"50% 50% -"+g.size/2+"px","-moz-transform-origin":"50% 50% -"+g.size/2+"px","-ms-transform-origin":"50% 50% -"+g.size/2+"px","transform-origin":"50% 50% -"+g.size/2+"px"}),g.params.cube.shadow)if(r())e.transform("translate3d(0px, "+(g.width/2+g.params.cube.shadowOffset)+"px, "+-g.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+g.params.cube.shadowScale+")");else{var f=Math.abs(t)-90*Math.floor(Math.abs(t)/90),m=1.5-(Math.sin(2*f*Math.PI/360)/2+Math.cos(2*f*Math.PI/360)/2),y=g.params.cube.shadowScale,w=g.params.cube.shadowScale/m,b=g.params.cube.shadowOffset;e.transform("scale3d("+y+", 1, "+w+") translate3d(0px, "+(g.height/2+b)+"px, "+-g.height/2/w+"px) rotateX(-90deg)")}var x=g.isSafari||g.isUiWebView?-g.size/2:0;g.wrapper.transform("translate3d(0px,0,"+x+"px) rotateX("+(r()?0:t)+"deg) rotateY("+(r()?-t:0)+"deg)")},setTransition:function(e){g.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),g.params.cube.shadow&&!r()&&g.container.find(".swiper-cube-shadow").transition(e)}},coverflow:{setTranslate:function(){for(var e=g.translate,t=r()?-e+g.width/2:-e+g.height/2,i=r()?g.params.coverflow.rotate:-g.params.coverflow.rotate,n=g.params.coverflow.depth,s=0,o=g.slides.length;o>s;s++){var a=g.slides.eq(s),l=g.slidesSizesGrid[s],u=a[0].swiperSlideOffset,c=(t-u-l/2)/l*g.params.coverflow.modifier,p=r()?i*c:0,h=r()?0:i*c,d=-n*Math.abs(c),f=r()?0:g.params.coverflow.stretch*c,m=r()?g.params.coverflow.stretch*c:0;Math.abs(m)<.001&&(m=0),Math.abs(f)<.001&&(f=0),Math.abs(d)<.001&&(d=0),Math.abs(p)<.001&&(p=0),Math.abs(h)<.001&&(h=0);var y="translate3d("+m+"px,"+f+"px,"+d+"px) rotateX("+h+"deg) rotateY("+p+"deg)";if(a.transform(y),a[0].style.zIndex=-Math.abs(Math.round(c))+1,g.params.coverflow.slideShadows){var w=r()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),b=r()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===w.length&&(w=v('<div class="swiper-slide-shadow-'+(r()?"left":"top")+'"></div>'),a.append(w)),0===b.length&&(b=v('<div class="swiper-slide-shadow-'+(r()?"right":"bottom")+'"></div>'),a.append(b)),w.length&&(w[0].style.opacity=c>0?c:0),b.length&&(b[0].style.opacity=-c>0?-c:0)}}if(g.browser.ie){var x=g.wrapper[0].style;x.perspectiveOrigin=t+"px 50%"}},setTransition:function(e){g.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}}},g.lazy={initialImageLoaded:!1,loadImageInSlide:function(e,t){if("undefined"!=typeof e&&("undefined"==typeof t&&(t=!0),0!==g.slides.length)){var i=g.slides.eq(e),n=i.find(".swiper-lazy:not(.swiper-lazy-loaded):not(.swiper-lazy-loading)");!i.hasClass("swiper-lazy")||i.hasClass("swiper-lazy-loaded")||i.hasClass("swiper-lazy-loading")||n.add(i[0]),0!==n.length&&n.each(function(){var e=v(this);e.addClass("swiper-lazy-loading");var n=e.attr("data-background"),r=e.attr("data-src");g.loadImage(e[0],r||n,!1,function(){if(n?(e.css("background-image","url("+n+")"),e.removeAttr("data-background")):(e.attr("src",r),e.removeAttr("data-src")),e.addClass("swiper-lazy-loaded").removeClass("swiper-lazy-loading"),i.find(".swiper-lazy-preloader, .preloader").remove(),g.params.loop&&t){var s=i.attr("data-swiper-slide-index");if(i.hasClass(g.params.slideDuplicateClass)){var o=g.wrapper.children('[data-swiper-slide-index="'+s+'"]:not(.'+g.params.slideDuplicateClass+")");g.lazy.loadImageInSlide(o.index(),!1)}else{var a=g.wrapper.children("."+g.params.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]');g.lazy.loadImageInSlide(a.index(),!1)}}g.emit("onLazyImageReady",g,i[0],e[0])}),g.emit("onLazyImageLoad",g,i[0],e[0])})}},load:function(){var e;if(g.params.watchSlidesVisibility)g.wrapper.children("."+g.params.slideVisibleClass).each(function(){g.lazy.loadImageInSlide(v(this).index())});else if(g.params.slidesPerView>1)for(e=g.activeIndex;e<g.activeIndex+g.params.slidesPerView;e++)g.slides[e]&&g.lazy.loadImageInSlide(e);else g.lazy.loadImageInSlide(g.activeIndex);if(g.params.lazyLoadingInPrevNext)if(g.params.slidesPerView>1){for(e=g.activeIndex+g.params.slidesPerView;e<g.activeIndex+g.params.slidesPerView+g.params.slidesPerView;e++)g.slides[e]&&g.lazy.loadImageInSlide(e);for(e=g.activeIndex-g.params.slidesPerView;e<g.activeIndex;e++)g.slides[e]&&g.lazy.loadImageInSlide(e)}else{var t=g.wrapper.children("."+g.params.slideNextClass);t.length>0&&g.lazy.loadImageInSlide(t.index());var i=g.wrapper.children("."+g.params.slidePrevClass);i.length>0&&g.lazy.loadImageInSlide(i.index())}},onTransitionStart:function(){g.params.lazyLoading&&(g.params.lazyLoadingOnTransitionStart||!g.params.lazyLoadingOnTransitionStart&&!g.lazy.initialImageLoaded)&&g.lazy.load()},onTransitionEnd:function(){g.params.lazyLoading&&!g.params.lazyLoadingOnTransitionStart&&g.lazy.load()}},g.scrollbar={set:function(){if(g.params.scrollbar){var e=g.scrollbar;e.track=v(g.params.scrollbar),e.drag=e.track.find(".swiper-scrollbar-drag"),0===e.drag.length&&(e.drag=v('<div class="swiper-scrollbar-drag"></div>'),e.track.append(e.drag)),e.drag[0].style.width="",e.drag[0].style.height="",e.trackSize=r()?e.track[0].offsetWidth:e.track[0].offsetHeight,e.divider=g.size/g.virtualSize,e.moveDivider=e.divider*(e.trackSize/g.size),e.dragSize=e.trackSize*e.divider,r()?e.drag[0].style.width=e.dragSize+"px":e.drag[0].style.height=e.dragSize+"px",e.divider>=1?e.track[0].style.display="none":e.track[0].style.display="",g.params.scrollbarHide&&(e.track[0].style.opacity=0)}},setTranslate:function(){if(g.params.scrollbar){var e,t=g.scrollbar,i=(g.translate||0,t.dragSize);e=(t.trackSize-t.dragSize)*g.progress,g.rtl&&r()?(e=-e,e>0?(i=t.dragSize-e,e=0):-e+t.dragSize>t.trackSize&&(i=t.trackSize+e)):0>e?(i=t.dragSize+e,e=0):e+t.dragSize>t.trackSize&&(i=t.trackSize-e),r()?(g.support.transforms3d?t.drag.transform("translate3d("+e+"px, 0, 0)"):t.drag.transform("translateX("+e+"px)"),t.drag[0].style.width=i+"px"):(g.support.transforms3d?t.drag.transform("translate3d(0px, "+e+"px, 0)"):t.drag.transform("translateY("+e+"px)"),t.drag[0].style.height=i+"px"),g.params.scrollbarHide&&(clearTimeout(t.timeout),t.track[0].style.opacity=1,t.timeout=setTimeout(function(){t.track[0].style.opacity=0,t.track.transition(400)},1e3))}},setTransition:function(e){g.params.scrollbar&&g.scrollbar.drag.transition(e)}},g.controller={setTranslate:function(e,i){function n(t){e=t.rtl&&"horizontal"===t.params.direction?-g.translate:g.translate,r=(t.maxTranslate()-t.minTranslate())/(g.maxTranslate()-g.minTranslate()),s=(e-g.minTranslate())*r+t.minTranslate(),g.params.controlInverse&&(s=t.maxTranslate()-s),t.updateProgress(s),t.setWrapperTranslate(s,!1,g),t.updateActiveIndex()}var r,s,o=g.params.control;if(g.isArray(o))for(var a=0;a<o.length;a++)o[a]!==i&&o[a]instanceof t&&n(o[a]);else o instanceof t&&i!==o&&n(o)},setTransition:function(e,i){function n(t){t.setWrapperTransition(e,g),0!==e&&(t.onTransitionStart(),t.wrapper.transitionEnd(function(){s&&t.onTransitionEnd()}))}var r,s=g.params.control;if(g.isArray(s))for(r=0;r<s.length;r++)s[r]!==i&&s[r]instanceof t&&n(s[r]);else s instanceof t&&i!==s&&n(s)}},g.hashnav={init:function(){if(g.params.hashnav){g.hashnav.initialized=!0;var e=document.location.hash.replace("#","");if(e)for(var t=0,i=0,n=g.slides.length;n>i;i++){var r=g.slides.eq(i),s=r.attr("data-hash");if(s===e&&!r.hasClass(g.params.slideDuplicateClass)){var o=r.index();g.slideTo(o,t,g.params.runCallbacksOnInit,!0)}}}},setHash:function(){g.hashnav.initialized&&g.params.hashnav&&(document.location.hash=g.slides.eq(g.activeIndex).attr("data-hash")||"")}},g.disableKeyboardControl=function(){v(document).off("keydown",l)},g.enableKeyboardControl=function(){v(document).on("keydown",l)},g.mousewheel={event:!1,lastScrollTime:(new window.Date).getTime()},g.params.mousewheelControl){if(void 0!==document.onmousewheel&&(g.mousewheel.event="mousewheel"),!g.mousewheel.event)try{new window.WheelEvent("wheel"),g.mousewheel.event="wheel"}catch(N){}g.mousewheel.event||(g.mousewheel.event="DOMMouseScroll")}g.disableMousewheelControl=function(){return g.mousewheel.event?(g.container.off(g.mousewheel.event,u),!0):!1},g.enableMousewheelControl=function(){return g.mousewheel.event?(g.container.on(g.mousewheel.event,u),!0):!1},g.parallax={setTranslate:function(){g.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){c(this,g.progress)}),g.slides.each(function(){var e=v(this);e.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var t=Math.min(Math.max(e[0].progress,-1),1);c(this,t)})})},setTransition:function(e){"undefined"==typeof e&&(e=g.params.speed),g.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var t=v(this),i=parseInt(t.attr("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),t.transition(i)})}},g._plugins=[];for(var I in g.plugins){var z=g.plugins[I](g,g.params[I]);z&&g._plugins.push(z)}return g.callPlugins=function(e){for(var t=0;t<g._plugins.length;t++)e in g._plugins[t]&&g._plugins[t][e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},g.emitterEventListeners={},g.emit=function(e){g.params[e]&&g.params[e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);var t;if(g.emitterEventListeners[e])for(t=0;t<g.emitterEventListeners[e].length;t++)g.emitterEventListeners[e][t](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);g.callPlugins&&g.callPlugins(e,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},g.on=function(e,t){return e=p(e),g.emitterEventListeners[e]||(g.emitterEventListeners[e]=[]),g.emitterEventListeners[e].push(t),g},g.off=function(e,t){var i;if(e=p(e),"undefined"==typeof t)return g.emitterEventListeners[e]=[],g;if(g.emitterEventListeners[e]&&0!==g.emitterEventListeners[e].length){for(i=0;i<g.emitterEventListeners[e].length;i++)g.emitterEventListeners[e][i]===t&&g.emitterEventListeners[e].splice(i,1);return g}},g.once=function(e,t){e=p(e);var i=function(){t(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),g.off(e,i)};return g.on(e,i),g},g.a11y={makeFocusable:function(e){return e[0].tabIndex="0",e},addRole:function(e,t){return e.attr("role",t),e},addLabel:function(e,t){return e.attr("aria-label",t),e},disable:function(e){return e.attr("aria-disabled",!0),e},enable:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){13===e.keyCode&&(v(e.target).is(g.params.nextButton)?(g.onClickNext(e),g.isEnd?g.a11y.notify(g.params.lastSlideMsg):g.a11y.notify(g.params.nextSlideMsg)):v(e.target).is(g.params.prevButton)&&(g.onClickPrev(e),g.isBeginning?g.a11y.notify(g.params.firstSlideMsg):g.a11y.notify(g.params.prevSlideMsg)))},liveRegion:v('<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>'),notify:function(e){var t=g.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},init:function(){if(g.params.nextButton){var e=v(g.params.nextButton);g.a11y.makeFocusable(e),g.a11y.addRole(e,"button"),g.a11y.addLabel(e,g.params.nextSlideMsg)}if(g.params.prevButton){var t=v(g.params.prevButton);g.a11y.makeFocusable(t),g.a11y.addRole(t,"button"),g.a11y.addLabel(t,g.params.prevSlideMsg)}v(g.container).append(g.a11y.liveRegion)},destroy:function(){g.a11y.liveRegion&&g.a11y.liveRegion.length>0&&g.a11y.liveRegion.remove()}},g.init=function(){g.params.loop&&g.createLoop(),g.updateContainerSize(),g.updateSlidesSize(),g.updatePagination(),g.params.scrollbar&&g.scrollbar&&g.scrollbar.set(),"slide"!==g.params.effect&&g.effects[g.params.effect]&&(g.params.loop||g.updateProgress(),g.effects[g.params.effect].setTranslate()),g.params.loop?g.slideTo(g.params.initialSlide+g.loopedSlides,0,g.params.runCallbacksOnInit):(g.slideTo(g.params.initialSlide,0,g.params.runCallbacksOnInit),0===g.params.initialSlide&&(g.parallax&&g.params.parallax&&g.parallax.setTranslate(),g.lazy&&g.params.lazyLoading&&(g.lazy.load(),g.lazy.initialImageLoaded=!0))),g.attachEvents(),g.params.observer&&g.support.observer&&g.initObservers(),g.params.preloadImages&&!g.params.lazyLoading&&g.preloadImages(),g.params.autoplay&&g.startAutoplay(),g.params.keyboardControl&&g.enableKeyboardControl&&g.enableKeyboardControl(),g.params.mousewheelControl&&g.enableMousewheelControl&&g.enableMousewheelControl(),g.params.hashnav&&g.hashnav&&g.hashnav.init(),g.params.a11y&&g.a11y&&g.a11y.init(),g.emit("onInit",g)},g.cleanupStyles=function(){g.container.removeClass(g.classNames.join(" ")).removeAttr("style"),g.wrapper.removeAttr("style"),g.slides&&g.slides.length&&g.slides.removeClass([g.params.slideVisibleClass,g.params.slideActiveClass,g.params.slideNextClass,g.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),g.paginationContainer&&g.paginationContainer.length&&g.paginationContainer.removeClass(g.params.paginationHiddenClass),g.bullets&&g.bullets.length&&g.bullets.removeClass(g.params.bulletActiveClass),g.params.prevButton&&v(g.params.prevButton).removeClass(g.params.buttonDisabledClass),g.params.nextButton&&v(g.params.nextButton).removeClass(g.params.buttonDisabledClass),g.params.scrollbar&&g.scrollbar&&(g.scrollbar.track&&g.scrollbar.track.length&&g.scrollbar.track.removeAttr("style"),g.scrollbar.drag&&g.scrollbar.drag.length&&g.scrollbar.drag.removeAttr("style"))},g.destroy=function(e,t){g.detachEvents(),g.stopAutoplay(),g.params.loop&&g.destroyLoop(),t&&g.cleanupStyles(),g.disconnectObservers(),g.params.keyboardControl&&g.disableKeyboardControl&&g.disableKeyboardControl(),g.params.mousewheelControl&&g.disableMousewheelControl&&g.disableMousewheelControl(),g.params.a11y&&g.a11y&&g.a11y.destroy(),g.emit("onDestroy"),e!==!1&&(g=null)},g.init(),g}};t.prototype={isSafari:function(){var e=navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1},device:function(){var e=navigator.userAgent,t=e.match(/(Android);?[\s\/]+([\d.]+)?/),i=e.match(/(iPad).*OS\s([\d_]+)/),n=(e.match(/(iPod)(.*OS\s([\d_]+))?/),!i&&e.match(/(iPhone\sOS)\s([\d_]+)/));return{ios:i||n||i,android:t}}(),support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=document.createElement("div").style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i<t.length;i++)if(t[i]in e)return!0}(),observer:function(){return"MutationObserver"in window||"WebkitMutationObserver"in window}()},plugins:{}};for(var i=(function(){var e=function(e){var t=this,i=0;for(i=0;i<e.length;i++)t[i]=e[i];return t.length=e.length,this},t=function(t,i){var n=[],r=0;if(t&&!i&&t instanceof e)return t;if(t)if("string"==typeof t){var s,o,a=t.trim();if(a.indexOf("<")>=0&&a.indexOf(">")>=0){var l="div";for(0===a.indexOf("<li")&&(l="ul"),0===a.indexOf("<tr")&&(l="tbody"),(0===a.indexOf("<td")||0===a.indexOf("<th"))&&(l="tr"),0===a.indexOf("<tbody")&&(l="table"),0===a.indexOf("<option")&&(l="select"),o=document.createElement(l),o.innerHTML=t,r=0;r<o.childNodes.length;r++)n.push(o.childNodes[r])}else for(s=i||"#"!==t[0]||t.match(/[ .<>:~]/)?(i||document).querySelectorAll(t):[document.getElementById(t.split("#")[1])],r=0;r<s.length;r++)s[r]&&n.push(s[r])}else if(t.nodeType||t===window||t===document)n.push(t);else if(t.length>0&&t[0].nodeType)for(r=0;r<t.length;r++)n.push(t[r]);return new e(n)};return e.prototype={addClass:function(e){if("undefined"==typeof e)return this;for(var t=e.split(" "),i=0;i<t.length;i++)for(var n=0;n<this.length;n++)this[n].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i++)for(var n=0;n<this.length;n++)this[n].classList.remove(t[i]);return this},hasClass:function(e){return this[0]?this[0].classList.contains(e):!1},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i++)for(var n=0;n<this.length;n++)this[n].classList.toggle(t[i]);return this},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i++)if(2===arguments.length)this[i].setAttribute(e,t);else for(var n in e)this[i][n]=e[n],this[i].setAttribute(n,e[n]);return this},removeAttr:function(e){for(var t=0;t<this.length;t++)this[t].removeAttribute(e);return this},data:function(e,t){if("undefined"==typeof t){if(this[0]){var i=this[0].getAttribute("data-"+e);return i?i:this[0].dom7ElementDataStorage&&e in this[0].dom7ElementDataStorage?this[0].dom7ElementDataStorage[e]:void 0}return void 0}for(var n=0;n<this.length;n++){var r=this[n];r.dom7ElementDataStorage||(r.dom7ElementDataStorage={}),r.dom7ElementDataStorage[e]=t}return this},transform:function(e){for(var t=0;t<this.length;t++){var i=this[t].style;i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t++){var i=this[t].style;i.webkitTransitionDuration=i.MsTransitionDuration=i.msTransitionDuration=i.MozTransitionDuration=i.OTransitionDuration=i.transitionDuration=e}return this},on:function(e,i,n,r){function s(e){var r=e.target;if(t(r).is(i))n.call(r,e);else for(var s=t(r).parents(),o=0;o<s.length;o++)t(s[o]).is(i)&&n.call(s[o],e)}var o,a,l=e.split(" ");for(o=0;o<this.length;o++)if("function"==typeof i||i===!1)for("function"==typeof i&&(n=arguments[1],r=arguments[2]||!1),a=0;a<l.length;a++)this[o].addEventListener(l[a],n,r);else for(a=0;a<l.length;a++)this[o].dom7LiveListeners||(this[o].dom7LiveListeners=[]),this[o].dom7LiveListeners.push({listener:n,liveListener:s}),this[o].addEventListener(l[a],s,r);return this},off:function(e,t,i,n){for(var r=e.split(" "),s=0;s<r.length;s++)for(var o=0;o<this.length;o++)if("function"==typeof t||t===!1)"function"==typeof t&&(i=arguments[1],n=arguments[2]||!1),this[o].removeEventListener(r[s],i,n);else if(this[o].dom7LiveListeners)for(var a=0;a<this[o].dom7LiveListeners.length;a++)this[o].dom7LiveListeners[a].listener===i&&this[o].removeEventListener(r[s],this[o].dom7LiveListeners[a].liveListener,n);return this},once:function(e,t,i,n){function r(o){i(o),s.off(e,t,r,n)}var s=this;"function"==typeof t&&(t=!1,i=arguments[1],n=arguments[2]),s.on(e,t,r,n)},trigger:function(e,t){for(var i=0;i<this.length;i++){var n;try{n=new window.CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0})}catch(r){n=document.createEvent("Event"),n.initEvent(e,!0,!0),n.detail=t}this[i].dispatchEvent(n)}return this},transitionEnd:function(e){function t(s){if(s.target===this)for(e.call(this,s),i=0;i<n.length;i++)r.off(n[i],t)}var i,n=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],r=this;if(e)for(i=0;i<n.length;i++)r.on(n[i],t);return this},width:function(){return this[0]===window?window.innerWidth:this.length>0?parseFloat(this.css("width")):null},outerWidth:function(e){return this.length>0?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?parseFloat(this.css("height")):null},outerHeight:function(e){return this.length>0?e?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),i=document.body,n=e.clientTop||i.clientTop||0,r=e.clientLeft||i.clientLeft||0,s=window.pageYOffset||e.scrollTop,o=window.pageXOffset||e.scrollLeft;return{top:t.top+s-n,left:t.left+o-r}}return null},css:function(e,t){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i++)for(var n in e)this[i].style[n]=e[n];return this}if(this[0])return window.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i++)this[i].style[e]=t;return this}return this},each:function(e){for(var t=0;t<this.length;t++)e.call(this[t],t,this[t]);return this},html:function(e){if("undefined"==typeof e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t++)this[t].innerHTML=e;return this},is:function(i){if(!this[0])return!1;var n,r;if("string"==typeof i){var s=this[0];if(s===document)return i===document;if(s===window)return i===window;if(s.matches)return s.matches(i);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(i);if(s.mozMatchesSelector)return s.mozMatchesSelector(i);if(s.msMatchesSelector)return s.msMatchesSelector(i);for(n=t(i),r=0;r<n.length;r++)if(n[r]===this[0])return!0;return!1}if(i===document)return this[0]===document;if(i===window)return this[0]===window;if(i.nodeType||i instanceof e){for(n=i.nodeType?[i]:i,r=0;r<n.length;r++)if(n[r]===this[0])return!0;return!1}return!1},index:function(){if(this[0]){for(var e=this[0],t=0;null!==(e=e.previousSibling);)1===e.nodeType&&t++;return t}return void 0},eq:function(t){if("undefined"==typeof t)return this;var i,n=this.length;return t>n-1?new e([]):0>t?(i=n+t,new e(0>i?[]:[this[i]])):new e([this[t]])},append:function(t){var i,n;for(i=0;i<this.length;i++)if("string"==typeof t){var r=document.createElement("div");for(r.innerHTML=t;r.firstChild;)this[i].appendChild(r.firstChild)}else if(t instanceof e)for(n=0;n<t.length;n++)this[i].appendChild(t[n]);else this[i].appendChild(t);return this},prepend:function(t){var i,n;for(i=0;i<this.length;i++)if("string"==typeof t){var r=document.createElement("div");for(r.innerHTML=t,n=r.childNodes.length-1;n>=0;n--)this[i].insertBefore(r.childNodes[n],this[i].childNodes[0])}else if(t instanceof e)for(n=0;n<t.length;n++)this[i].insertBefore(t[n],this[i].childNodes[0]);else this[i].insertBefore(t,this[i].childNodes[0]);return this},insertBefore:function(e){for(var i=t(e),n=0;n<this.length;n++)if(1===i.length)i[0].parentNode.insertBefore(this[n],i[0]);else if(i.length>1)for(var r=0;r<i.length;r++)i[r].parentNode.insertBefore(this[n].cloneNode(!0),i[r])},insertAfter:function(e){for(var i=t(e),n=0;n<this.length;n++)if(1===i.length)i[0].parentNode.insertBefore(this[n],i[0].nextSibling);else if(i.length>1)for(var r=0;r<i.length;r++)i[r].parentNode.insertBefore(this[n].cloneNode(!0),i[r].nextSibling)},next:function(i){return new e(this.length>0?i?this[0].nextElementSibling&&t(this[0].nextElementSibling).is(i)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},nextAll:function(i){var n=[],r=this[0];if(!r)return new e([]);for(;r.nextElementSibling;){var s=r.nextElementSibling;i?t(s).is(i)&&n.push(s):n.push(s),r=s}return new e(n)},prev:function(i){return new e(this.length>0?i?this[0].previousElementSibling&&t(this[0].previousElementSibling).is(i)?[this[0].previousElementSibling]:[]:this[0].previousElementSibling?[this[0].previousElementSibling]:[]:[])},prevAll:function(i){var n=[],r=this[0];if(!r)return new e([]);for(;r.previousElementSibling;){var s=r.previousElementSibling;i?t(s).is(i)&&n.push(s):n.push(s),r=s}return new e(n)},parent:function(e){for(var i=[],n=0;n<this.length;n++)e?t(this[n].parentNode).is(e)&&i.push(this[n].parentNode):i.push(this[n].parentNode);return t(t.unique(i))},parents:function(e){for(var i=[],n=0;n<this.length;n++)for(var r=this[n].parentNode;r;)e?t(r).is(e)&&i.push(r):i.push(r),r=r.parentNode;return t(t.unique(i))},find:function(t){for(var i=[],n=0;n<this.length;n++)for(var r=this[n].querySelectorAll(t),s=0;s<r.length;s++)i.push(r[s]);return new e(i)},children:function(i){for(var n=[],r=0;r<this.length;r++)for(var s=this[r].childNodes,o=0;o<s.length;o++)i?1===s[o].nodeType&&t(s[o]).is(i)&&n.push(s[o]):1===s[o].nodeType&&n.push(s[o]);return new e(t.unique(n))},remove:function(){for(var e=0;e<this.length;e++)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){var e,i,n=this;for(e=0;e<arguments.length;e++){var r=t(arguments[e]);for(i=0;i<r.length;i++)n[n.length]=r[i],n.length++}return n}},t.fn=e.prototype,t.unique=function(e){for(var t=[],i=0;i<e.length;i++)-1===t.indexOf(e[i])&&t.push(e[i]);return t},t}()),n=["jQuery","Zepto","Dom7"],r=0;r<n.length;r++)window[n[r]]&&e(window[n[r]]);var s;s="undefined"==typeof i?window.Dom7||window.Zepto||window.jQuery:i,s&&("transitionEnd"in s.fn||(s.fn.transitionEnd=function(e){function t(s){if(s.target===this)for(e.call(this,s),i=0;i<n.length;i++)r.off(n[i],t)}var i,n=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],r=this;if(e)for(i=0;i<n.length;i++)r.on(n[i],t);return this}),"transform"in s.fn||(s.fn.transform=function(e){for(var t=0;t<this.length;t++){var i=this[t].style;i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=e}return this}),"transition"in s.fn||(s.fn.transition=function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t++){var i=this[t].style;i.webkitTransitionDuration=i.MsTransitionDuration=i.msTransitionDuration=i.MozTransitionDuration=i.OTransitionDuration=i.transitionDuration=e}return this})),window.Swiper=t}(),"undefined"!=typeof i?i.exports=window.Swiper:"function"==typeof define&&define.amd&&define([],function(){"use strict";return window.Swiper})}),define("swiper.css.js",[],function(e,t,i){e("index")('.swiper-container{margin:0 auto;position:relative;overflow:hidden;z-index:1;}.swiper-container-no-flexbox .swiper-slide{float:left;}.swiper-container-vertical > .swiper-wrapper{-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);-moz-transform:translate3d(0px, 0, 0);-o-transform:translate(0px, 0px);-ms-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0);}.swiper-container-multirow > .swiper-wrapper{-webkit-box-lines:multiple;-moz-box-lines:multiple;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;}.swiper-container-free-mode > .swiper-wrapper{-webkit-transition-timing-function:ease-out;-moz-transition-timing-function:ease-out;-ms-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto;}.swiper-slide{-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-flex-shrink:0;-ms-flex:0 0 auto;flex-shrink:0;width:100%;height:100%;position:relative;}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000;}.swiper-wp8-horizontal{-ms-touch-action:pan-y;touch-action:pan-y;}.swiper-wp8-vertical{-ms-touch-action:pan-x;touch-action:pan-x;}.swiper-button-prev,.swiper-button-next{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;-moz-background-size:27px 44px;-webkit-background-size:27px 44px;background-size:27px 44px;background-position:center;background-repeat:no-repeat;}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none;}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20viewBox%3D"0%200%2027%2044"%3E%3Cpath%20d%3D"M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z"%20fill%3D"%23007aff"%2F%3E%3C%2Fsvg%3E");left:10px;right:auto;}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20viewBox%3D"0%200%2027%2044"%3E%3Cpath%20d%3D"M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z"%20fill%3D"%23000000"%2F%3E%3C%2Fsvg%3E");}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20viewBox%3D"0%200%2027%2044"%3E%3Cpath%20d%3D"M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z"%20fill%3D"%23ffffff"%2F%3E%3C%2Fsvg%3E");}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20viewBox%3D"0%200%2027%2044"%3E%3Cpath%20d%3D"M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z"%20fill%3D"%23007aff"%2F%3E%3C%2Fsvg%3E");right:10px;left:auto;}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20viewBox%3D"0%200%2027%2044"%3E%3Cpath%20d%3D"M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z"%20fill%3D"%23000000"%2F%3E%3C%2Fsvg%3E");}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20viewBox%3D"0%200%2027%2044"%3E%3Cpath%20d%3D"M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z"%20fill%3D"%23ffffff"%2F%3E%3C%2Fsvg%3E");}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:300ms;-moz-transition:300ms;-o-transition:300ms;transition:300ms;-webkit-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);z-index:10;}.swiper-pagination.swiper-pagination-hidden{opacity:0;}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:0.2;}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer;}.swiper-pagination-white .swiper-pagination-bullet{background:#fff;}.swiper-pagination-bullet-active{opacity:1;background:#007aff;}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff;}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000;}.swiper-container-vertical > .swiper-pagination{right:10px;top:50%;-webkit-transform:translate3d(0px, -50%, 0);-moz-transform:translate3d(0px, -50%, 0);-o-transform:translate(0px, -50%);-ms-transform:translate3d(0px, -50%, 0);transform:translate3d(0px, -50%, 0);}.swiper-container-vertical > .swiper-pagination .swiper-pagination-bullet{margin:5px 0;display:block;}.swiper-container-horizontal > .swiper-pagination{bottom:10px;left:0;width:100%;}.swiper-container-horizontal > .swiper-pagination .swiper-pagination-bullet{margin:0 5px;}.swiper-container-3d{-webkit-perspective:1200px;-moz-perspective:1200px;-o-perspective:1200px;perspective:1200px;}.swiper-container-3d .swiper-wrapper,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;}.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10;}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-moz-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-moz-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-moz-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-moz-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px;}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-moz-transition-timing-function:ease-out;-ms-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;}.swiper-container-fade .swiper-slide{pointer-events:none;}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none;}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto;}.swiper-container-cube{overflow:visible;}.swiper-container-cube .swiper-slide{pointer-events:none;visibility:hidden;-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;width:100%;height:100%;}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-prev,.swiper-container-cube .swiper-slide-next + .swiper-slide{pointer-events:auto;visibility:visible;}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;background:#000;opacity:0.6;-webkit-filter:blur(50px);filter:blur(50px);}.swiper-container-cube.swiper-container-vertical .swiper-cube-shadow{z-index:0;}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0, 0, 0, 0.1);}.swiper-container-horizontal > .swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%;}.swiper-container-vertical > .swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%;}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0, 0, 0, 0.5);border-radius:10px;left:0;top:0;}.swiper-scrollbar-cursor-drag{cursor:move;}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-moz-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12, end) infinite;-moz-animation:swiper-preloader-spin 1s steps(12, end) infinite;animation:swiper-preloader-spin 1s steps(12, end) infinite;}.swiper-lazy-preloader:after{display:block;content:"";width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D"0%200%20120%20120"%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20xmlns%3Axlink%3D"http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink"%3E%3Cdefs%3E%3Cline%20id%3D"l"%20x1%3D"60"%20x2%3D"60"%20y1%3D"7"%20y2%3D"27"%20stroke%3D"%236c6c6c"%20stroke-width%3D"11"%20stroke-linecap%3D"round"%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".27"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".27"%20transform%3D"rotate(30%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".27"%20transform%3D"rotate(60%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".27"%20transform%3D"rotate(90%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".27"%20transform%3D"rotate(120%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".27"%20transform%3D"rotate(150%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".37"%20transform%3D"rotate(180%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".46"%20transform%3D"rotate(210%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".56"%20transform%3D"rotate(240%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".66"%20transform%3D"rotate(270%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".75"%20transform%3D"rotate(300%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".85"%20transform%3D"rotate(330%2060%2C60)"%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-position:50%;-webkit-background-size:100%;background-size:100%;background-repeat:no-repeat;}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D"0%200%20120%20120"%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20xmlns%3Axlink%3D"http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink"%3E%3Cdefs%3E%3Cline%20id%3D"l"%20x1%3D"60"%20x2%3D"60"%20y1%3D"7"%20y2%3D"27"%20stroke%3D"%23fff"%20stroke-width%3D"11"%20stroke-linecap%3D"round"%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".27"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".27"%20transform%3D"rotate(30%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".27"%20transform%3D"rotate(60%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".27"%20transform%3D"rotate(90%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".27"%20transform%3D"rotate(120%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".27"%20transform%3D"rotate(150%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".37"%20transform%3D"rotate(180%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".46"%20transform%3D"rotate(210%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".56"%20transform%3D"rotate(240%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".66"%20transform%3D"rotate(270%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".75"%20transform%3D"rotate(300%2060%2C60)"%2F%3E%3Cuse%20xlink%3Ahref%3D"%23l"%20opacity%3D".85"%20transform%3D"rotate(330%2060%2C60)"%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);}}@keyframes swiper-preloader-spin{100%{transform:rotate(360deg);}}'); +}),define("iscroll-probe",[],function(e,t,i){!function(e,t,n){function r(e,i){this.wrapper="string"==typeof e?t.querySelector(e):e,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0};for(var n in i)this.options[n]=i[n];this.translateZ=this.options.HWCompositing&&l.hasPerspective?" translateZ(0)":"",this.options.useTransition=l.hasTransition&&this.options.useTransition,this.options.useTransform=l.hasTransform&&this.options.useTransform,this.options.eventPassthrough=this.options.eventPassthrough===!0?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"==this.options.eventPassthrough?!1:this.options.scrollY,this.options.scrollX="horizontal"==this.options.eventPassthrough?!1:this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?l.ease[this.options.bounceEasing]||l.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,this.options.tap===!0&&(this.options.tap="tap"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,3==this.options.probeType&&(this.options.useTransition=!1),this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._events={},this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function s(e,i,n){var r=t.createElement("div"),s=t.createElement("div");return n===!0&&(r.style.cssText="position:absolute;z-index:9999",s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),s.className="iScrollIndicator","h"==e?(n===!0&&(r.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",s.style.height="100%"),r.className="iScrollHorizontalScrollbar"):(n===!0&&(r.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",s.style.width="100%"),r.className="iScrollVerticalScrollbar"),r.style.cssText+=";overflow:hidden",i||(r.style.pointerEvents="none"),r.appendChild(s),r}function o(i,n){this.wrapper="string"==typeof n.el?t.querySelector(n.el):n.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=i,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0};for(var r in n)this.options[r]=n[r];this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.interactive&&(this.options.disableTouch||(l.addEvent(this.indicator,"touchstart",this),l.addEvent(e,"touchend",this)),this.options.disablePointer||(l.addEvent(this.indicator,l.prefixPointerEvent("pointerdown"),this),l.addEvent(e,l.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(l.addEvent(this.indicator,"mousedown",this),l.addEvent(e,"mouseup",this))),this.options.fade&&(this.wrapperStyle[l.style.transform]=this.scroller.translateZ,this.wrapperStyle[l.style.transitionDuration]=l.isBadAndroid?"0.001s":"0ms",this.wrapperStyle.opacity="0")}var a=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){e.setTimeout(t,1e3/60)},l=function(){function i(e){return o===!1?!1:""===o?e:o+e.charAt(0).toUpperCase()+e.substr(1)}var r={},s=t.createElement("div").style,o=function(){for(var e,t=["t","webkitT","MozT","msT","OT"],i=0,n=t.length;n>i;i++)if(e=t[i]+"ransform",e in s)return t[i].substr(0,t[i].length-1);return!1}();r.getTime=Date.now||function(){return(new Date).getTime()},r.extend=function(e,t){for(var i in t)e[i]=t[i]},r.addEvent=function(e,t,i,n){e.addEventListener(t,i,!!n)},r.removeEvent=function(e,t,i,n){e.removeEventListener(t,i,!!n)},r.prefixPointerEvent=function(t){return e.MSPointerEvent?"MSPointer"+t.charAt(9).toUpperCase()+t.substr(10):t},r.momentum=function(e,t,i,r,s,o){var a,l,u=e-t,c=n.abs(u)/i;return o=void 0===o?6e-4:o,a=e+c*c/(2*o)*(0>u?-1:1),l=c/o,r>a?(a=s?r-s/2.5*(c/8):r,u=n.abs(a-e),l=u/c):a>0&&(a=s?s/2.5*(c/8):0,u=n.abs(e)+a,l=u/c),{destination:n.round(a),duration:l}};var a=i("transform");return r.extend(r,{hasTransform:a!==!1,hasPerspective:i("perspective")in s,hasTouch:"ontouchstart"in e,hasPointer:e.PointerEvent||e.MSPointerEvent,hasTransition:i("transition")in s}),r.isBadAndroid=/Android /.test(e.navigator.appVersion)&&!/Chrome\/\d/.test(e.navigator.appVersion),r.extend(r.style={},{transform:a,transitionTimingFunction:i("transitionTimingFunction"),transitionDuration:i("transitionDuration"),transitionDelay:i("transitionDelay"),transformOrigin:i("transformOrigin")}),r.hasClass=function(e,t){var i=new RegExp("(^|\\s)"+t+"(\\s|$)");return i.test(e.className)},r.addClass=function(e,t){if(!r.hasClass(e,t)){var i=e.className.split(" ");i.push(t),e.className=i.join(" ")}},r.removeClass=function(e,t){if(r.hasClass(e,t)){var i=new RegExp("(^|\\s)"+t+"(\\s|$)","g");e.className=e.className.replace(i," ")}},r.offset=function(e){for(var t=-e.offsetLeft,i=-e.offsetTop;e=e.offsetParent;)t-=e.offsetLeft,i-=e.offsetTop;return{left:t,top:i}},r.preventDefaultException=function(e,t){for(var i in t)if(t[i].test(e[i]))return!0;return!1},r.extend(r.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),r.extend(r.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(e){return e*(2-e)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(e){return n.sqrt(1- --e*e)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(e){var t=4;return(e-=1)*e*((t+1)*e+t)+1}},bounce:{style:"",fn:function(e){return(e/=1)<1/2.75?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}},elastic:{style:"",fn:function(e){var t=.22,i=.4;return 0===e?0:1==e?1:i*n.pow(2,-10*e)*n.sin((e-t/4)*(2*n.PI)/t)+1}}}),r.tap=function(e,i){var n=t.createEvent("Event");n.initEvent(i,!0,!0),n.pageX=e.pageX,n.pageY=e.pageY,e.target.dispatchEvent(n)},r.click=function(e){var i,n=e.target;/(SELECT|INPUT|TEXTAREA)/i.test(n.tagName)||(i=t.createEvent("MouseEvents"),i.initMouseEvent("click",!0,!0,e.view,1,n.screenX,n.screenY,n.clientX,n.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null),i._constructed=!0,n.dispatchEvent(i))},r}();r.prototype={version:"5.1.2",_init:function(){this._initEvents(),(this.options.scrollbars||this.options.indicators)&&this._initIndicators(),this.options.mouseWheel&&this._initWheel(),this.options.snap&&this._initSnap(),this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0),this._execEvent("destroy")},_transitionEnd:function(e){e.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(e){if((1==l.eventType[e.type]||0===e.button)&&this.enabled&&(!this.initiated||l.eventType[e.type]===this.initiated)){!this.options.preventDefault||l.isBadAndroid||l.preventDefaultException(e.target,this.options.preventDefaultException)||e.preventDefault();var t,i=e.touches?e.touches[0]:e;this.initiated=l.eventType[e.type],this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.directionLocked=0,this._transitionTime(),this.startTime=l.getTime(),this.options.useTransition&&this.isInTransition?(this.isInTransition=!1,t=this.getComputedPosition(),this._translate(n.round(t.x),n.round(t.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=i.pageX,this.pointY=i.pageY,this._execEvent("beforeScrollStart")}},_move:function(e){if(this.enabled&&l.eventType[e.type]===this.initiated){this.options.preventDefault&&e.preventDefault();var t,i,r,s,o=e.touches?e.touches[0]:e,a=o.pageX-this.pointX,u=o.pageY-this.pointY,c=l.getTime();if(this.pointX=o.pageX,this.pointY=o.pageY,this.distX+=a,this.distY+=u,r=n.abs(this.distX),s=n.abs(this.distY),!(c-this.endTime>300&&10>r&&10>s)){if(this.directionLocked||this.options.freeScroll||(r>s+this.options.directionLockThreshold?this.directionLocked="h":s>=r+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)e.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);u=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)e.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);a=0}a=this.hasHorizontalScroll?a:0,u=this.hasVerticalScroll?u:0,t=this.x+a,i=this.y+u,(t>0||t<this.maxScrollX)&&(t=this.options.bounce?this.x+a/3:t>0?0:this.maxScrollX),(i>0||i<this.maxScrollY)&&(i=this.options.bounce?this.y+u/3:i>0?0:this.maxScrollY),this.directionX=a>0?-1:0>a?1:0,this.directionY=u>0?-1:0>u?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(t,i),c-this.startTime>300&&(this.startTime=c,this.startX=this.x,this.startY=this.y,1==this.options.probeType&&this._execEvent("scroll")),this.options.probeType>1&&this._execEvent("scroll")}}},_end:function(e){if(this.enabled&&l.eventType[e.type]===this.initiated){this.options.preventDefault&&!l.preventDefaultException(e.target,this.options.preventDefaultException)&&e.preventDefault();var t,i,r=(e.changedTouches?e.changedTouches[0]:e,l.getTime()-this.startTime),s=n.round(this.x),o=n.round(this.y),a=n.abs(s-this.startX),u=n.abs(o-this.startY),c=0,p="";if(this.isInTransition=0,this.initiated=0,this.endTime=l.getTime(),!this.resetPosition(this.options.bounceTime)){if(this.scrollTo(s,o),!this.moved)return this.options.tap&&l.tap(e,this.options.tap),this.options.click&&l.click(e),void this._execEvent("scrollCancel");if(this._events.flick&&200>r&&100>a&&100>u)return void this._execEvent("flick");if(this.options.momentum&&300>r&&(t=this.hasHorizontalScroll?l.momentum(this.x,this.startX,r,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:s,duration:0},i=this.hasVerticalScroll?l.momentum(this.y,this.startY,r,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:o,duration:0},s=t.destination,o=i.destination,c=n.max(t.duration,i.duration),this.isInTransition=1),this.options.snap){var h=this._nearestSnap(s,o);this.currentPage=h,c=this.options.snapSpeed||n.max(n.max(n.min(n.abs(s-h.x),1e3),n.min(n.abs(o-h.y),1e3)),300),s=h.x,o=h.y,this.directionX=0,this.directionY=0,p=this.options.bounceEasing}return s!=this.x||o!=this.y?((s>0||s<this.maxScrollX||o>0||o<this.maxScrollY)&&(p=l.ease.quadratic),void this.scrollTo(s,o,c,p)):void this._execEvent("scrollEnd")}}},_resize:function(){var e=this;clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){e.refresh()},this.options.resizePolling)},resetPosition:function(e){var t=this.x,i=this.y;return e=e||0,!this.hasHorizontalScroll||this.x>0?t=0:this.x<this.maxScrollX&&(t=this.maxScrollX),!this.hasVerticalScroll||this.y>0?i=0:this.y<this.maxScrollY&&(i=this.maxScrollY),t==this.x&&i==this.y?!1:(this.scrollTo(t,i,e,this.options.bounceEasing),!0)},disable:function(){this.enabled=!1},enable:function(){this.enabled=!0},refresh:function(){this.wrapper.offsetHeight;this.wrapperWidth=this.wrapper.clientWidth,this.wrapperHeight=this.wrapper.clientHeight,this.scrollerWidth=this.scroller.offsetWidth,this.scrollerHeight=this.scroller.offsetHeight,this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.maxScrollY=this.wrapperHeight-this.scrollerHeight,this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,this.wrapperOffset=l.offset(this.wrapper),this._execEvent("refresh"),this.resetPosition()},on:function(e,t){this._events[e]||(this._events[e]=[]),this._events[e].push(t)},off:function(e,t){if(this._events[e]){var i=this._events[e].indexOf(t);i>-1&&this._events[e].splice(i,1)}},_execEvent:function(e){if(this._events[e]){var t=0,i=this._events[e].length;if(i)for(;i>t;t++)this._events[e][t].apply(this,[].slice.call(arguments,1))}},scrollBy:function(e,t,i,n){e=this.x+e,t=this.y+t,i=i||0,this.scrollTo(e,t,i,n)},scrollTo:function(e,t,i,n){n=n||l.ease.circular,this.isInTransition=this.options.useTransition&&i>0,!i||this.options.useTransition&&n.style?(this._transitionTimingFunction(n.style),this._transitionTime(i),this._translate(e,t)):this._animate(e,t,i,n.fn)},scrollToElement:function(e,t,i,r,s){if(e=e.nodeType?e:this.scroller.querySelector(e)){var o=l.offset(e);o.left-=this.wrapperOffset.left,o.top-=this.wrapperOffset.top,i===!0&&(i=n.round(e.offsetWidth/2-this.wrapper.offsetWidth/2)),r===!0&&(r=n.round(e.offsetHeight/2-this.wrapper.offsetHeight/2)),o.left-=i||0,o.top-=r||0,o.left=o.left>0?0:o.left<this.maxScrollX?this.maxScrollX:o.left,o.top=o.top>0?0:o.top<this.maxScrollY?this.maxScrollY:o.top,t=void 0===t||null===t||"auto"===t?n.max(n.abs(this.x-o.left),n.abs(this.y-o.top)):t,this.scrollTo(o.left,o.top,t,s)}},_transitionTime:function(e){if(e=e||0,this.scrollerStyle[l.style.transitionDuration]=e+"ms",!e&&l.isBadAndroid&&(this.scrollerStyle[l.style.transitionDuration]="0.001s"),this.indicators)for(var t=this.indicators.length;t--;)this.indicators[t].transitionTime(e)},_transitionTimingFunction:function(e){if(this.scrollerStyle[l.style.transitionTimingFunction]=e,this.indicators)for(var t=this.indicators.length;t--;)this.indicators[t].transitionTimingFunction(e)},_translate:function(e,t){if(this.options.useTransform?this.scrollerStyle[l.style.transform]="translate("+e+"px,"+t+"px)"+this.translateZ:(e=n.round(e),t=n.round(t),this.scrollerStyle.left=e+"px",this.scrollerStyle.top=t+"px"),this.x=e,this.y=t,this.indicators)for(var i=this.indicators.length;i--;)this.indicators[i].updatePosition()},_initEvents:function(t){var i=t?l.removeEvent:l.addEvent,n=this.options.bindToWrapper?this.wrapper:e;i(e,"orientationchange",this),i(e,"resize",this),this.options.click&&i(this.wrapper,"click",this,!0),this.options.disableMouse||(i(this.wrapper,"mousedown",this),i(n,"mousemove",this),i(n,"mousecancel",this),i(n,"mouseup",this)),l.hasPointer&&!this.options.disablePointer&&(i(this.wrapper,l.prefixPointerEvent("pointerdown"),this),i(n,l.prefixPointerEvent("pointermove"),this),i(n,l.prefixPointerEvent("pointercancel"),this),i(n,l.prefixPointerEvent("pointerup"),this)),l.hasTouch&&!this.options.disableTouch&&(i(this.wrapper,"touchstart",this),i(n,"touchmove",this),i(n,"touchcancel",this),i(n,"touchend",this)),i(this.scroller,"transitionend",this),i(this.scroller,"webkitTransitionEnd",this),i(this.scroller,"oTransitionEnd",this),i(this.scroller,"MSTransitionEnd",this)},getComputedPosition:function(){var t,i,n=e.getComputedStyle(this.scroller,null);return this.options.useTransform?(n=n[l.style.transform].split(")")[0].split(", "),t=+(n[12]||n[4]),i=+(n[13]||n[5])):(t=+n.left.replace(/[^-\d.]/g,""),i=+n.top.replace(/[^-\d.]/g,"")),{x:t,y:i}},_initIndicators:function(){function e(e){for(var t=a.indicators.length;t--;)e.call(a.indicators[t])}var t,i=this.options.interactiveScrollbars,n="string"!=typeof this.options.scrollbars,r=[],a=this;this.indicators=[],this.options.scrollbars&&(this.options.scrollY&&(t={el:s("v",i,this.options.scrollbars),interactive:i,defaultScrollbars:!0,customStyle:n,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenX:!1},this.wrapper.appendChild(t.el),r.push(t)),this.options.scrollX&&(t={el:s("h",i,this.options.scrollbars),interactive:i,defaultScrollbars:!0,customStyle:n,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenY:!1},this.wrapper.appendChild(t.el),r.push(t))),this.options.indicators&&(r=r.concat(this.options.indicators));for(var l=r.length;l--;)this.indicators.push(new o(this,r[l]));this.options.fadeScrollbars&&(this.on("scrollEnd",function(){e(function(){this.fade()})}),this.on("scrollCancel",function(){e(function(){this.fade()})}),this.on("scrollStart",function(){e(function(){this.fade(1)})}),this.on("beforeScrollStart",function(){e(function(){this.fade(1,!0)})})),this.on("refresh",function(){e(function(){this.refresh()})}),this.on("destroy",function(){e(function(){this.destroy()}),delete this.indicators})},_initWheel:function(){l.addEvent(this.wrapper,"wheel",this),l.addEvent(this.wrapper,"mousewheel",this),l.addEvent(this.wrapper,"DOMMouseScroll",this),this.on("destroy",function(){l.removeEvent(this.wrapper,"wheel",this),l.removeEvent(this.wrapper,"mousewheel",this),l.removeEvent(this.wrapper,"DOMMouseScroll",this)})},_wheel:function(e){if(this.enabled){e.preventDefault(),e.stopPropagation();var t,i,r,s,o=this;if(void 0===this.wheelTimeout&&o._execEvent("scrollStart"),clearTimeout(this.wheelTimeout),this.wheelTimeout=setTimeout(function(){o._execEvent("scrollEnd"),o.wheelTimeout=void 0},400),"deltaX"in e)t=-e.deltaX,i=-e.deltaY;else if("wheelDeltaX"in e)t=e.wheelDeltaX/120*this.options.mouseWheelSpeed,i=e.wheelDeltaY/120*this.options.mouseWheelSpeed;else if("wheelDelta"in e)t=i=e.wheelDelta/120*this.options.mouseWheelSpeed;else{if(!("detail"in e))return;t=i=-e.detail/3*this.options.mouseWheelSpeed}if(t*=this.options.invertWheelDirection,i*=this.options.invertWheelDirection,this.hasVerticalScroll||(t=i,i=0),this.options.snap)return r=this.currentPage.pageX,s=this.currentPage.pageY,t>0?r--:0>t&&r++,i>0?s--:0>i&&s++,void this.goToPage(r,s);r=this.x+n.round(this.hasHorizontalScroll?t:0),s=this.y+n.round(this.hasVerticalScroll?i:0),r>0?r=0:r<this.maxScrollX&&(r=this.maxScrollX),s>0?s=0:s<this.maxScrollY&&(s=this.maxScrollY),this.scrollTo(r,s,0),this.options.probeType>1&&this._execEvent("scroll")}},_initSnap:function(){this.currentPage={},"string"==typeof this.options.snap&&(this.options.snap=this.scroller.querySelectorAll(this.options.snap)),this.on("refresh",function(){var e,t,i,r,s,o,a=0,l=0,u=0,c=this.options.snapStepX||this.wrapperWidth,p=this.options.snapStepY||this.wrapperHeight;if(this.pages=[],this.wrapperWidth&&this.wrapperHeight&&this.scrollerWidth&&this.scrollerHeight){if(this.options.snap===!0)for(i=n.round(c/2),r=n.round(p/2);u>-this.scrollerWidth;){for(this.pages[a]=[],e=0,s=0;s>-this.scrollerHeight;)this.pages[a][e]={x:n.max(u,this.maxScrollX),y:n.max(s,this.maxScrollY),width:c,height:p,cx:u-i,cy:s-r},s-=p,e++;u-=c,a++}else for(o=this.options.snap,e=o.length,t=-1;e>a;a++)(0===a||o[a].offsetLeft<=o[a-1].offsetLeft)&&(l=0,t++),this.pages[l]||(this.pages[l]=[]),u=n.max(-o[a].offsetLeft,this.maxScrollX),s=n.max(-o[a].offsetTop,this.maxScrollY),i=u-n.round(o[a].offsetWidth/2),r=s-n.round(o[a].offsetHeight/2),this.pages[l][t]={x:u,y:s,width:o[a].offsetWidth,height:o[a].offsetHeight,cx:i,cy:r},u>this.maxScrollX&&l++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1===0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=n.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=n.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var e=this.options.snapSpeed||n.max(n.max(n.min(n.abs(this.x-this.startX),1e3),n.min(n.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,e)})},_nearestSnap:function(e,t){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var i=0,r=this.pages.length,s=0;if(n.abs(e-this.absStartX)<this.snapThresholdX&&n.abs(t-this.absStartY)<this.snapThresholdY)return this.currentPage;for(e>0?e=0:e<this.maxScrollX&&(e=this.maxScrollX),t>0?t=0:t<this.maxScrollY&&(t=this.maxScrollY);r>i;i++)if(e>=this.pages[i][0].cx){e=this.pages[i][0].x;break}for(r=this.pages[i].length;r>s;s++)if(t>=this.pages[0][s].cy){t=this.pages[0][s].y;break}return i==this.currentPage.pageX&&(i+=this.directionX,0>i?i=0:i>=this.pages.length&&(i=this.pages.length-1),e=this.pages[i][0].x),s==this.currentPage.pageY&&(s+=this.directionY,0>s?s=0:s>=this.pages[0].length&&(s=this.pages[0].length-1),t=this.pages[0][s].y),{x:e,y:t,pageX:i,pageY:s}},goToPage:function(e,t,i,r){r=r||this.options.bounceEasing,e>=this.pages.length?e=this.pages.length-1:0>e&&(e=0),t>=this.pages[e].length?t=this.pages[e].length-1:0>t&&(t=0);var s=this.pages[e][t].x,o=this.pages[e][t].y;i=void 0===i?this.options.snapSpeed||n.max(n.max(n.min(n.abs(s-this.x),1e3),n.min(n.abs(o-this.y),1e3)),300):i,this.currentPage={x:s,y:o,pageX:e,pageY:t},this.scrollTo(s,o,i,r)},next:function(e,t){var i=this.currentPage.pageX,n=this.currentPage.pageY;i++,i>=this.pages.length&&this.hasVerticalScroll&&(i=0,n++),this.goToPage(i,n,e,t)},prev:function(e,t){var i=this.currentPage.pageX,n=this.currentPage.pageY;i--,0>i&&this.hasVerticalScroll&&(i=0,n--),this.goToPage(i,n,e,t)},_initKeys:function(t){var i,n={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(i in this.options.keyBindings)"string"==typeof this.options.keyBindings[i]&&(this.options.keyBindings[i]=this.options.keyBindings[i].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(i in n)this.options.keyBindings[i]=this.options.keyBindings[i]||n[i];l.addEvent(e,"keydown",this),this.on("destroy",function(){l.removeEvent(e,"keydown",this)})},_key:function(e){if(this.enabled){var t,i=this.options.snap,r=i?this.currentPage.pageX:this.x,s=i?this.currentPage.pageY:this.y,o=l.getTime(),a=this.keyTime||0,u=.25;switch(this.options.useTransition&&this.isInTransition&&(t=this.getComputedPosition(),this._translate(n.round(t.x),n.round(t.y)),this.isInTransition=!1),this.keyAcceleration=200>o-a?n.min(this.keyAcceleration+u,50):0,e.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?r+=i?1:this.wrapperWidth:s+=i?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?r-=i?1:this.wrapperWidth:s-=i?1:this.wrapperHeight;break;case this.options.keyBindings.end:r=i?this.pages.length-1:this.maxScrollX,s=i?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:r=0,s=0;break;case this.options.keyBindings.left:r+=i?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:s+=i?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:r-=i?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:s-=i?1:5+this.keyAcceleration>>0;break;default:return}if(i)return void this.goToPage(r,s);r>0?(r=0,this.keyAcceleration=0):r<this.maxScrollX&&(r=this.maxScrollX,this.keyAcceleration=0),s>0?(s=0,this.keyAcceleration=0):s<this.maxScrollY&&(s=this.maxScrollY,this.keyAcceleration=0),this.scrollTo(r,s,0),this.keyTime=o}},_animate:function(e,t,i,n){function r(){var h,d,f,m=l.getTime();return m>=p?(s.isAnimating=!1,s._translate(e,t),void(s.resetPosition(s.options.bounceTime)||s._execEvent("scrollEnd"))):(m=(m-c)/i,f=n(m),h=(e-o)*f+o,d=(t-u)*f+u,s._translate(h,d),s.isAnimating&&a(r),void(3==s.options.probeType&&s._execEvent("scroll")))}var s=this,o=this.x,u=this.y,c=l.getTime(),p=c+i;this.isAnimating=!0,r()},handleEvent:function(e){switch(e.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(e);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(e);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(e);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(e);break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(e);break;case"keydown":this._key(e);break;case"click":e._constructed||(e.preventDefault(),e.stopPropagation())}}},o.prototype={handleEvent:function(e){switch(e.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(e);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(e);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(e)}},destroy:function(){this.options.interactive&&(l.removeEvent(this.indicator,"touchstart",this),l.removeEvent(this.indicator,l.prefixPointerEvent("pointerdown"),this),l.removeEvent(this.indicator,"mousedown",this),l.removeEvent(e,"touchmove",this),l.removeEvent(e,l.prefixPointerEvent("pointermove"),this),l.removeEvent(e,"mousemove",this),l.removeEvent(e,"touchend",this),l.removeEvent(e,l.prefixPointerEvent("pointerup"),this),l.removeEvent(e,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(t){var i=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=i.pageX,this.lastPointY=i.pageY,this.startTime=l.getTime(),this.options.disableTouch||l.addEvent(e,"touchmove",this),this.options.disablePointer||l.addEvent(e,l.prefixPointerEvent("pointermove"),this),this.options.disableMouse||l.addEvent(e,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(e){var t,i,n,r,s=e.touches?e.touches[0]:e,o=l.getTime();this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,t=s.pageX-this.lastPointX,this.lastPointX=s.pageX,i=s.pageY-this.lastPointY,this.lastPointY=s.pageY,n=this.x+t,r=this.y+i,this._pos(n,r),1==this.scroller.options.probeType&&o-this.startTime>300?(this.startTime=o,this.scroller._execEvent("scroll")):this.scroller.options.probeType>1&&this.scroller._execEvent("scroll"),e.preventDefault(),e.stopPropagation()},_end:function(t){if(this.initiated){if(this.initiated=!1,t.preventDefault(),t.stopPropagation(),l.removeEvent(e,"touchmove",this),l.removeEvent(e,l.prefixPointerEvent("pointermove"),this),l.removeEvent(e,"mousemove",this),this.scroller.options.snap){var i=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),r=this.options.snapSpeed||n.max(n.max(n.min(n.abs(this.scroller.x-i.x),1e3),n.min(n.abs(this.scroller.y-i.y),1e3)),300);(this.scroller.x!=i.x||this.scroller.y!=i.y)&&(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=i,this.scroller.scrollTo(i.x,i.y,r,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(e){e=e||0,this.indicatorStyle[l.style.transitionDuration]=e+"ms",!e&&l.isBadAndroid&&(this.indicatorStyle[l.style.transitionDuration]="0.001s")},transitionTimingFunction:function(e){this.indicatorStyle[l.style.transitionTimingFunction]=e},refresh:function(){this.transitionTime(),this.options.listenX&&!this.options.listenY?this.indicatorStyle.display=this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.indicatorStyle.display=this.scroller.hasVerticalScroll?"block":"none":this.indicatorStyle.display=this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(l.addClass(this.wrapper,"iScrollBothScrollbars"),l.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(l.removeClass(this.wrapper,"iScrollBothScrollbars"),l.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px"));this.wrapper.offsetHeight;this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=n.max(n.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=-this.indicatorWidth+8,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=n.max(n.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=-this.indicatorHeight+8,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var e=this.options.listenX&&n.round(this.sizeRatioX*this.scroller.x)||0,t=this.options.listenY&&n.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(e<this.minBoundaryX?("scale"==this.options.shrink&&(this.width=n.max(this.indicatorWidth+e,8),this.indicatorStyle.width=this.width+"px"),e=this.minBoundaryX):e>this.maxBoundaryX?"scale"==this.options.shrink?(this.width=n.max(this.indicatorWidth-(e-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",e=this.maxPosX+this.indicatorWidth-this.width):e=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),t<this.minBoundaryY?("scale"==this.options.shrink&&(this.height=n.max(this.indicatorHeight+3*t,8),this.indicatorStyle.height=this.height+"px"),t=this.minBoundaryY):t>this.maxBoundaryY?"scale"==this.options.shrink?(this.height=n.max(this.indicatorHeight-3*(t-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",t=this.maxPosY+this.indicatorHeight-this.height):t=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=e,this.y=t,this.scroller.options.useTransform?this.indicatorStyle[l.style.transform]="translate("+e+"px,"+t+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=e+"px",this.indicatorStyle.top=t+"px")},_pos:function(e,t){0>e?e=0:e>this.maxPosX&&(e=this.maxPosX),0>t?t=0:t>this.maxPosY&&(t=this.maxPosY),e=this.options.listenX?n.round(e/this.sizeRatioX):this.scroller.x,t=this.options.listenY?n.round(t/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(e,t)},fade:function(e,t){ +if(!t||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var i=e?250:500,n=e?0:300;e=e?"1":"0",this.wrapperStyle[l.style.transitionDuration]=i+"ms",this.fadeTimeout=setTimeout(function(e){this.wrapperStyle.opacity=e,this.visible=+e}.bind(this,e),n)}}},r.utils=l,"undefined"!=typeof i&&i.exports?i.exports=r:e.IScroll=r}(window,document,Math)}),define("index",[],function(e,t,i){function n(e,t){if(!t||(t=t.replace(s,"-"),!o.getElementById(t))){var i;if(!r||t?(i=o.createElement("style"),t&&(i.id=t),a.appendChild(i)):i=r,i.styleSheet){if(o.getElementsByTagName("style").length>31)throw new Error("Exceed the maximal count of style tags in IE");i.styleSheet.cssText+=e}else i.appendChild(o.createTextNode(e));t||(r=i)}}var r,s=/\W/g,o=document,a=document.getElementsByTagName("head")[0]||document.documentElement;i.exports=n}),define("lazyload",[],function(e,t,i){var n=e("jquery");e("lib/jquery.lazyload"),i.exports=function(e,t){var i,r={effect:"fadeIn",effect_speed:10,placeholder:"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==",skip_invisible:!1},s=arguments.length;!function(){switch(s){case 0:i=n("img.lazy");break;case 1:e instanceof n?i=e:(i=n("img.lazy"),n.extend(r,e));break;case 2:i=e,r=n.extend(r,t)}}(),i.lazyload(r)}}),define("lib/jquery.lazyload",[],function(e,t,i){var n=e("jquery");!function(e,t,i,n){var r=e(t);e.fn.lazyload=function(s){function o(){var t=0;l.each(function(){var i=e(this);if(!u.skip_invisible||i.is(":visible"))if(e.abovethetop(this,u)||e.leftofbegin(this,u));else if(e.belowthefold(this,u)||e.rightoffold(this,u)){if(++t>u.failure_limit)return!1}else i.trigger("appear"),t=0})}var a,l=this,u={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null,yasPath:"/web/",yasImgDomain:"http://analytics.yhurl.com/yas.gif",placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC",try_again_css:null};return s&&(n!==s.failurelimit&&(s.failure_limit=s.failurelimit,delete s.failurelimit),n!==s.effectspeed&&(s.effect_speed=s.effectspeed,delete s.effectspeed),e.extend(u,s)),a=u.container===n||u.container===t?r:e(u.container),0===u.event.indexOf("scroll")&&a.bind(u.event,function(){return o()}),this.each(function(){var t=this,i=e(t);t.loaded=!1,(i.attr("src")===n||i.attr("src")===!1||""===i.attr("src"))&&i.is("img")&&i.attr("src",u.placeholder),i.one("appear",function(){if(i.timerid&&clearTimeout(i.timerid),!this.loaded){if(u.appear){var n=l.length;u.appear.call(t,n,u)}e("<img />").bind("error abort",function(){i.attr("src",u.placeholder),s({info:"error"})}).bind("load",function(){if(!i.loadtimeout){clearTimeout(i.timerid),i.attr("pfmrpt");var n=i.attr("data-"+u.data_attribute);i.hide(),i.is("img")?i.attr("src",n):i.css("background-image","url('"+n+"')"),i[u.effect](u.effect_speed),t.loaded=!0;var r=e.grep(l,function(e){return!e.loaded});if(l=e(r),u.load){var s=l.length;u.load.call(t,s,u)}}}).attr("src",i.attr("data-"+u.data_attribute)),i.src=i.attr("data-"+u.data_attribute),i.attr("pfmrpt")&&_yas&&_yas.add;var r=function(e){i.loadtimeout=!0,i.attr("pfmrpt")&&_yas&&_yas.add&&e.info,i.attr("src",""),setTimeout(function(){i.attr("src",i.src)},50)},s=function(t){i.loadtimeout=!0,i.attr("pfmrpt")&&_yas&&_yas.add&&t.info;var n=i.width(),s=i.height();if(u.try_again_css)var o=e("<div class="+u.try_again_css+" style='width:"+n+"px;height:"+s+"px;'></div>");else var o=e("<div style='background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC) ;text-align: center;position:relative;width:"+n+"px;height:"+s+"px;background-size:100%;'>加载失败</div>");o.addClass(i.attr("class")),i.replaceWith(o),i.timerid=setTimeout(r,5e3)}}}),0!==u.event.indexOf("scroll")&&i.bind(u.event,function(){t.loaded||i.trigger("appear")})}),r.bind("resize",function(){o()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&r.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&l.each(function(){e(this).trigger("appear")})}),e(i).ready(function(){o()}),this},e.belowthefold=function(i,s){var o;return o=s.container===n||s.container===t?(t.innerHeight?t.innerHeight:r.height())+r.scrollTop():e(s.container).offset().top+e(s.container).height(),o<=e(i).offset().top-s.threshold},e.rightoffold=function(i,s){var o;return o=s.container===n||s.container===t?r.width()+r.scrollLeft():e(s.container).offset().left+e(s.container).width(),o<=e(i).offset().left-s.threshold},e.abovethetop=function(i,s){var o;return o=s.container===n||s.container===t?r.scrollTop():e(s.container).offset().top,o>=e(i).offset().top+s.threshold+e(i).height()},e.leftofbegin=function(i,s){var o;return o=s.container===n||s.container===t?r.scrollLeft():e(s.container).offset().left,o>=e(i).offset().left+s.threshold+e(i).width()},e.inviewport=function(t,i){return!(e.rightoffold(t,i)||e.leftofbegin(t,i)||e.belowthefold(t,i)||e.abovethetop(t,i))}}(n,window,document)}),define("handlebars",[],function(e,t,i){!function(e,n){"object"==typeof t&&"object"==typeof i?i.exports=n():"function"==typeof define&&define.amd?define(n):"object"==typeof t?t.Handlebars=n():e.Handlebars=n()}(this,function(){return function(e){function t(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var i={};return t.m=e,t.c=i,t.p="",t(0)}([function(e,t,i){"use strict";function n(){var e=v();return e.compile=function(t,i){return c.compile(t,i,e)},e.precompile=function(t,i){return c.precompile(t,i,e)},e.AST=l["default"],e.Compiler=c.Compiler,e.JavaScriptCompiler=h["default"],e.Parser=u.parser,e.parse=u.parse,e}var r=i(8)["default"];t.__esModule=!0;var s=i(1),o=r(s),a=i(2),l=r(a),u=i(3),c=i(4),p=i(5),h=r(p),d=i(6),f=r(d),m=i(7),g=r(m),v=o["default"].create,y=n();y.create=n,g["default"](y),y.Visitor=f["default"],y["default"]=y,t["default"]=y,e.exports=t["default"]},function(e,t,i){"use strict";function n(){var e=new a.HandlebarsEnvironment;return d.extend(e,a),e.SafeString=u["default"],e.Exception=p["default"],e.Utils=d,e.escapeExpression=d.escapeExpression,e.VM=m,e.template=function(t){return m.template(t,e)},e}var r=i(9)["default"],s=i(8)["default"];t.__esModule=!0;var o=i(10),a=r(o),l=i(11),u=s(l),c=i(12),p=s(c),h=i(13),d=r(h),f=i(14),m=r(f),g=i(7),v=s(g),y=n();y.create=n,v["default"](y),y["default"]=y,t["default"]=y,e.exports=t["default"]},function(e,t,i){"use strict";t.__esModule=!0;var n={Program:function(e,t,i,n){this.loc=n,this.type="Program",this.body=e,this.blockParams=t,this.strip=i},MustacheStatement:function(e,t,i,n,r,s){this.loc=s,this.type="MustacheStatement",this.path=e,this.params=t||[],this.hash=i,this.escaped=n,this.strip=r},BlockStatement:function(e,t,i,n,r,s,o,a,l){this.loc=l,this.type="BlockStatement",this.path=e,this.params=t||[],this.hash=i,this.program=n,this.inverse=r,this.openStrip=s,this.inverseStrip=o,this.closeStrip=a},PartialStatement:function(e,t,i,n,r){this.loc=r,this.type="PartialStatement",this.name=e,this.params=t||[],this.hash=i,this.indent="",this.strip=n},ContentStatement:function(e,t){this.loc=t,this.type="ContentStatement",this.original=this.value=e},CommentStatement:function(e,t,i){this.loc=i,this.type="CommentStatement",this.value=e,this.strip=t},SubExpression:function(e,t,i,n){this.loc=n,this.type="SubExpression",this.path=e,this.params=t||[],this.hash=i},PathExpression:function(e,t,i,n,r){this.loc=r,this.type="PathExpression",this.data=e,this.original=n,this.parts=i,this.depth=t},StringLiteral:function(e,t){this.loc=t,this.type="StringLiteral",this.original=this.value=e},NumberLiteral:function(e,t){this.loc=t,this.type="NumberLiteral",this.original=this.value=Number(e)},BooleanLiteral:function(e,t){this.loc=t,this.type="BooleanLiteral",this.original=this.value="true"===e},UndefinedLiteral:function(e){this.loc=e,this.type="UndefinedLiteral",this.original=this.value=void 0},NullLiteral:function(e){this.loc=e,this.type="NullLiteral",this.original=this.value=null},Hash:function(e,t){this.loc=t,this.type="Hash",this.pairs=e},HashPair:function(e,t,i){this.loc=i,this.type="HashPair",this.key=e,this.value=t},helpers:{helperExpression:function(e){return!("SubExpression"!==e.type&&!e.params.length&&!e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return 1===e.parts.length&&!n.helpers.scopedId(e)&&!e.depth}}};t["default"]=n,e.exports=t["default"]},function(e,t,i){"use strict";function n(e,t){if("Program"===e.type)return e;a["default"].yy=m,m.locInfo=function(e){return new m.SourceLocation(t&&t.srcName,e)};var i=new p["default"];return i.accept(a["default"].parse(e))}var r=i(8)["default"],s=i(9)["default"];t.__esModule=!0,t.parse=n;var o=i(15),a=r(o),l=i(2),u=r(l),c=i(16),p=r(c),h=i(17),d=s(h),f=i(13);t.parser=a["default"];var m={};f.extend(m,d,u["default"])},function(e,t,i){"use strict";function n(){}function r(e,t,i){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new c["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);t=t||{},"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var n=i.parse(e,t),r=(new i.Compiler).compile(n,t);return(new i.JavaScriptCompiler).compile(r,t)}function s(e,t,i){function n(){var t=i.parse(e,s),n=(new i.Compiler).compile(t,s),r=(new i.JavaScriptCompiler).compile(n,s,void 0,!0);return i.template(r)}function r(e,t){return o||(o=n()),o.call(this,e,t)}var s=void 0===arguments[1]?{}:arguments[1];if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new c["default"]("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in s||(s.data=!0),s.compat&&(s.useDepths=!0);var o=void 0;return r._setup=function(e){return o||(o=n()),o._setup(e)},r._child=function(e,t,i,r){return o||(o=n()),o._child(e,t,i,r)},r}function o(e,t){if(e===t)return!0;if(p.isArray(e)&&p.isArray(t)&&e.length===t.length){for(var i=0;i<e.length;i++)if(!o(e[i],t[i]))return!1;return!0}}function a(e){if(!e.path.parts){var t=e.path;e.path=new d["default"].PathExpression(!1,0,[t.original+""],t.original+"",t.loc)}}var l=i(8)["default"];t.__esModule=!0,t.Compiler=n,t.precompile=r,t.compile=s;var u=i(12),c=l(u),p=i(13),h=i(2),d=l(h),f=[].slice;n.prototype={compiler:n,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var i=0;t>i;i++){var n=this.opcodes[i],r=e.opcodes[i];if(n.opcode!==r.opcode||!o(n.args,r.args))return!1}t=this.children.length;for(var i=0;t>i;i++)if(!this.children[i].equals(e.children[i]))return!1;return!0},guid:0,compile:function(e,t){this.sourceNode=[],this.opcodes=[],this.children=[],this.options=t,this.stringParams=t.stringParams,this.trackIds=t.trackIds,t.blockParams=t.blockParams||[];var i=t.knownHelpers;if(t.knownHelpers={helperMissing:!0,blockHelperMissing:!0,each:!0,"if":!0,unless:!0,"with":!0,log:!0,lookup:!0},i)for(var n in i)n in i&&(t.knownHelpers[n]=i[n]);return this.accept(e)},compileProgram:function(e){var t=new this.compiler,i=t.compile(e,this.options),n=this.guid++;return this.usePartial=this.usePartial||i.usePartial,this.children[n]=i,this.useDepths=this.useDepths||i.useDepths,n},accept:function(e){this.sourceNode.unshift(e);var t=this[e.type](e);return this.sourceNode.shift(),t},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var t=e.body,i=t.length,n=0;i>n;n++)this.accept(t[n]);return this.options.blockParams.shift(),this.isSimple=1===i,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){a(e);var t=e.program,i=e.inverse;t=t&&this.compileProgram(t),i=i&&this.compileProgram(i);var n=this.classifySexpr(e);"helper"===n?this.helperSexpr(e,t,i):"simple"===n?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,i),this.opcode("pushProgram",t),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},PartialStatement:function(e){this.usePartial=!0;var t=e.params;if(t.length>1)throw new c["default"]("Unsupported number of partial arguments: "+t.length,e);t.length||t.push({type:"PathExpression",parts:[],depth:0});var i=e.name.original,n="SubExpression"===e.name.type;n&&this.accept(e.name),this.setupFullMustacheParams(e,void 0,void 0,!0);var r=e.indent||"";this.options.preventIndent&&r&&(this.opcode("appendContent",r),r=""),this.opcode("invokePartial",n,i,r),this.opcode("append")},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){a(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,i){var n=e.path,r=n.parts[0],s=null!=t||null!=i;this.opcode("getContext",n.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",i),this.accept(n),this.opcode("invokeAmbiguous",r,s)},simpleSexpr:function(e){this.accept(e.path),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,i){var n=this.setupFullMustacheParams(e,t,i),r=e.path,s=r.parts[0];if(this.options.knownHelpers[s])this.opcode("invokeKnownHelper",n.length,s);else{if(this.options.knownHelpersOnly)throw new c["default"]("You specified knownHelpersOnly, but used the unknown helper "+s,e);r.falsy=!0,this.accept(r),this.opcode("invokeHelper",n.length,r.original,d["default"].helpers.simpleId(r))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],i=d["default"].helpers.scopedId(e),n=!e.depth&&!i&&this.blockParamIndex(t);n?this.opcode("lookupBlockParam",n,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts)):this.opcode("lookupOnContext",e.parts,e.falsy,i):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,i=0,n=t.length;for(this.opcode("pushHash");n>i;i++)this.pushParam(t[i].value);for(;i--;)this.opcode("assignToHash",t[i].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:f.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=d["default"].helpers.simpleId(e.path),i=t&&!!this.blockParamIndex(e.path.parts[0]),n=!i&&d["default"].helpers.helperExpression(e),r=!i&&(n||t);if(r&&!n){var s=e.path.parts[0],o=this.options;o.knownHelpers[s]?n=!0:o.knownHelpersOnly&&(r=!1)}return n?"helper":r?"ambiguous":"simple"},pushParams:function(e){for(var t=0,i=e.length;i>t;t++)this.pushParam(e[t])},pushParam:function(e){var t=null!=e.value?e.value:e.original||"";if(this.stringParams)t.replace&&(t=t.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",t,e.type),"SubExpression"===e.type&&this.accept(e);else{if(this.trackIds){var i=void 0;if(!e.parts||d["default"].helpers.scopedId(e)||e.depth||(i=this.blockParamIndex(e.parts[0])),i){var n=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",i,n)}else t=e.original||t,t.replace&&(t=t.replace(/^\.\//g,"").replace(/^\.$/g,"")),this.opcode("pushId",e.type,t)}this.accept(e)}},setupFullMustacheParams:function(e,t,i,n){var r=e.params;return this.pushParams(r),this.opcode("pushProgram",t),this.opcode("pushProgram",i),e.hash?this.accept(e.hash):this.opcode("emptyHash",n),r},blockParamIndex:function(e){for(var t=0,i=this.options.blockParams.length;i>t;t++){var n=this.options.blockParams[t],r=n&&p.indexOf(n,e);if(n&&r>=0)return[t,r]}}}},function(e,t,i){"use strict";function n(e){this.value=e}function r(){}function s(e,t,i,n){var r=t.popStack(),s=0,o=i.length;for(e&&o--;o>s;s++)r=t.nameLookup(r,i[s],n);return e?[t.aliasable("this.strict"),"(",r,", ",t.quotedString(i[s]),")"]:r}var o=i(8)["default"];t.__esModule=!0;var a=i(10),l=i(12),u=o(l),c=i(13),p=i(18),h=o(p);r.prototype={nameLookup:function(e,t){return r.isValidJavaScriptVariableName(t)?[e,".",t]:[e,"['",t,"']"]},depthedLookup:function(e){return[this.aliasable("this.lookup"),'(depths, "',e,'")']},compilerInfo:function(){var e=a.COMPILER_REVISION,t=a.REVISION_CHANGES[e];return[e,t]},appendToBuffer:function(e,t,i){return c.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:i?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},compile:function(e,t,i,n){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!i,this.context=i||{programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,t),this.useDepths=this.useDepths||e.useDepths||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var r=e.opcodes,s=void 0,o=void 0,a=void 0,l=void 0;for(a=0,l=r.length;l>a;a++)s=r[a],this.source.currentLocation=s.loc,o=o||s.loc,this[s.opcode].apply(this,s.args);if(this.source.currentLocation=o,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new u["default"]("Compile completed with content left on stack");var c=this.createFunctionContext(n);if(this.isChild)return c;var p={compiler:this.compilerInfo(),main:c},h=this.context.programs;for(a=0,l=h.length;l>a;a++)h[a]&&(p[a]=h[a]);return this.environment.usePartial&&(p.usePartial=!0),this.options.data&&(p.useData=!0),this.useDepths&&(p.useDepths=!0),this.useBlockParams&&(p.useBlockParams=!0),this.options.compat&&(p.compat=!0),n?p.compilerOptions=this.options:(p.compiler=JSON.stringify(p.compiler),this.source.currentLocation={start:{line:1,column:0}},p=this.objectLiteral(p),t.srcName?(p=p.toStringWithSourceMap({file:t.destName}),p.map=p.map&&p.map.toString()):p=p.toString()),p},preamble:function(){this.lastContext=0,this.source=new h["default"](this.options.srcName)},createFunctionContext:function(e){var t="",i=this.stackVars.concat(this.registers.list);i.length>0&&(t+=", "+i.join(", "));var n=0;for(var r in this.aliases){var s=this.aliases[r];this.aliases.hasOwnProperty(r)&&s.children&&s.referenceCount>1&&(t+=", alias"+ ++n+"="+r,s.children[0]="alias"+n)}var o=["depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&o.push("blockParams"),this.useDepths&&o.push("depths");var a=this.mergeSource(t);return e?(o.push(a),Function.apply(this,o)):this.source.wrap(["function(",o.join(","),") {\n ",a,"}"])},mergeSource:function(e){var t=this.environment.isSimple,i=!this.forceBuffer,n=void 0,r=void 0,s=void 0,o=void 0;return this.source.each(function(e){e.appendToBuffer?(s?e.prepend(" + "):s=e,o=e):(s&&(r?s.prepend("buffer += "):n=!0,o.add(";"),s=o=void 0),r=!0,t||(i=!1))}),i?s?(s.prepend("return "),o.add(";")):r||this.source.push('return "";'):(e+=", buffer = "+(n?"":this.initializeBuffer()),s?(s.prepend("return buffer + "),o.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(n?"":";\n")),this.source.merge()},blockValue:function(e){var t=this.aliasable("helpers.blockHelperMissing"),i=[this.contextName(0)];this.setupHelperArgs(e,0,i);var n=this.popStack();i.splice(1,0,n),this.push(this.source.functionCall(t,"call",i))},ambiguousBlockValue:function(){var e=this.aliasable("helpers.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var i=this.topStack();t.splice(1,0,i),this.pushSource(["if (!",this.lastHelper,") { ",i," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(e){return[" != null ? ",e,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("this.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,i){var n=0;i||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[n++])),this.resolvePath("context",e,n,t)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t){e?this.pushStackLiteral("this.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0)},resolvePath:function(e,t,i,n){var r=this;if(this.options.strict||this.options.assumeObjects)return void this.push(s(this.options.strict,this,t,e));for(var o=t.length;o>i;i++)this.replaceStack(function(s){var o=r.nameLookup(s,t[i],e);return n?[" && ",o]:[" != null ? ",o," : ",s]})},resolvePossibleLambda:function(){this.push([this.aliasable("this.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),"SubExpression"!==t&&("string"==typeof e?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:[],types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){null!=e?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},invokeHelper:function(e,t,i){var n=this.popStack(),r=this.setupHelper(e,t),s=i?[r.name," || "]:"",o=["("].concat(s,n);this.options.strict||o.push(" || ",this.aliasable("helpers.helperMissing")),o.push(")"),this.push(this.source.functionCall(o,"call",r.callParams))},invokeKnownHelper:function(e,t){var i=this.setupHelper(e,t);this.push(this.source.functionCall(i.name,"call",i.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var i=this.popStack();this.emptyHash();var n=this.setupHelper(0,e,t),r=this.lastHelper=this.nameLookup("helpers",e,"helper"),s=["(","(helper = ",r," || ",i,")"];this.options.strict||(s[0]="(helper = ",s.push(" != null ? helper : ",this.aliasable("helpers.helperMissing"))),this.push(["(",s,n.paramsInit?["),(",n.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",n.callParams)," : helper))"])},invokePartial:function(e,t,i){var n=[],r=this.setupParams(t,1,n,!1);e&&(t=this.popStack(),delete r.name),i&&(r.indent=JSON.stringify(i)),r.helpers="helpers",r.partials="partials",e?n.unshift(t):n.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(r.depths="depths"),r=this.objectLiteral(r),n.push(r),this.push(this.source.functionCall("this.invokePartial","",n))},assignToHash:function(e){var t=this.popStack(),i=void 0,n=void 0,r=void 0;this.trackIds&&(r=this.popStack()),this.stringParams&&(n=this.popStack(),i=this.popStack());var s=this.hash;i&&(s.contexts[e]=i),n&&(s.types[e]=n),r&&(s.ids[e]=r),s.values[e]=t},pushId:function(e,t,i){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(i?" + "+JSON.stringify("."+i):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:r,compileChildren:function(e,t){for(var i=e.children,n=void 0,r=void 0,s=0,o=i.length;o>s;s++){n=i[s],r=new this.compiler;var a=this.matchExistingProgram(n);null==a?(this.context.programs.push(""),a=this.context.programs.length,n.index=a,n.name="program"+a,this.context.programs[a]=r.compile(n,t,this.context,!this.precompile),this.context.environments[a]=n,this.useDepths=this.useDepths||r.useDepths,this.useBlockParams=this.useBlockParams||r.useBlockParams):(n.index=a,n.name="program"+a,this.useDepths=this.useDepths||n.useDepths,this.useBlockParams=this.useBlockParams||n.useBlockParams)}},matchExistingProgram:function(e){for(var t=0,i=this.context.environments.length;i>t;t++){var n=this.context.environments[t];if(n&&n.equals(e))return t}},programExpression:function(e){var t=this.environment.children[e],i=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&i.push("blockParams"),this.useDepths&&i.push("depths"),"this.program("+i.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof n||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new n(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var t=["("],i=void 0,r=void 0,s=void 0;if(!this.isInline())throw new u["default"]("replaceStack on non-inline");var o=this.popStack(!0);if(o instanceof n)i=[o.value],t=["(",i],s=!0;else{r=!0;var a=this.incrStack();t=["((",this.push(a)," = ",o,")"],i=this.topStack()}var l=e.call(this,i);s||this.popStack(),r&&this.stackSlot--,this.push(t.concat(l,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,i=e.length;i>t;t++){var r=e[t];if(r instanceof n)this.compileStack.push(r);else{var s=this.incrStack();this.pushSource([s," = ",r,";"]),this.compileStack.push(s)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),i=(t?this.inlineStack:this.compileStack).pop();if(!e&&i instanceof n)return i.value;if(!t){if(!this.stackSlot)throw new u["default"]("Invalid stack pop");this.stackSlot--}return i},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof n?t.value:t},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?(t.referenceCount++,t):(t=this.aliases[e]=this.source.wrap(e),t.aliasable=!0,t.referenceCount=1,t)},setupHelper:function(e,t,i){var n=[],r=this.setupHelperArgs(t,e,n,i),s=this.nameLookup("helpers",t,"helper");return{params:n,paramsInit:r,name:s,callParams:[this.contextName(0)].concat(n)}},setupParams:function(e,t,i){var n={},r=[],s=[],o=[],a=void 0;n.name=this.quotedString(e),n.hash=this.popStack(),this.trackIds&&(n.hashIds=this.popStack()),this.stringParams&&(n.hashTypes=this.popStack(),n.hashContexts=this.popStack());var l=this.popStack(),u=this.popStack();(u||l)&&(n.fn=u||"this.noop",n.inverse=l||"this.noop");for(var c=t;c--;)a=this.popStack(),i[c]=a,this.trackIds&&(o[c]=this.popStack()),this.stringParams&&(s[c]=this.popStack(),r[c]=this.popStack());return this.trackIds&&(n.ids=this.source.generateArray(o)),this.stringParams&&(n.types=this.source.generateArray(s),n.contexts=this.source.generateArray(r)),this.options.data&&(n.data="data"),this.useBlockParams&&(n.blockParams="blockParams"),n},setupHelperArgs:function(e,t,i,n){var r=this.setupParams(e,t,i,!0);return r=this.objectLiteral(r),n?(this.useRegister("options"),i.push("options"),["options=",r]):(i.push(r),"")}},function(){for(var e="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),t=r.RESERVED_WORDS={},i=0,n=e.length;n>i;i++)t[e[i]]=!0}(),r.isValidJavaScriptVariableName=function(e){return!r.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t["default"]=r,e.exports=t["default"]},function(e,t,i){"use strict";function n(){this.parents=[]}var r=i(8)["default"];t.__esModule=!0;var s=i(12),o=r(s),a=i(2),l=r(a);n.prototype={constructor:n,mutating:!1,acceptKey:function(e,t){var i=this.accept(e[t]);if(this.mutating){if(i&&(!i.type||!l["default"][i.type]))throw new o["default"]('Unexpected node type "'+i.type+'" found when accepting '+t+" on "+e.type);e[t]=i}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new o["default"](e.type+" requires "+t)},acceptArray:function(e){for(var t=0,i=e.length;i>t;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,i--)},accept:function(e){if(e){this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);return this.current=this.parents.shift(),!this.mutating||t?t:t!==!1?e:void 0}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:function(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")},BlockStatement:function(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash"),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")},PartialStatement:function(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:function(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")},PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}},t["default"]=n,e.exports=t["default"]},function(e,t,i){(function(i){"use strict";t.__esModule=!0,t["default"]=function(e){var t="undefined"!=typeof i?i:window,n=t.Handlebars;e.noConflict=function(){t.Handlebars===e&&(t.Handlebars=n)}},e.exports=t["default"]}).call(t,function(){return this}())},function(e,t,i){"use strict";t["default"]=function(e){return e&&e.__esModule?e:{"default":e}},t.__esModule=!0},function(e,t,i){"use strict";t["default"]=function(e){if(e&&e.__esModule)return e;var t={};if("object"==typeof e&&null!==e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t["default"]=e,t},t.__esModule=!0},function(e,t,i){"use strict";function n(e,t){this.helpers=e||{},this.partials=t||{},r(this)}function r(e){e.registerHelper("helperMissing",function(){if(1===arguments.length)return void 0;throw new p["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')}),e.registerHelper("blockHelperMissing",function(t,i){ +var n=i.inverse,r=i.fn;if(t===!0)return r(this);if(t===!1||null==t)return n(this);if(m(t))return t.length>0?(i.ids&&(i.ids=[i.name]),e.helpers.each(t,i)):n(this);if(i.data&&i.ids){var o=s(i.data);o.contextPath=u.appendContextPath(i.data.contextPath,i.name),i={data:o}}return r(t,i)}),e.registerHelper("each",function(e,t){function i(t,i,r){l&&(l.key=t,l.index=i,l.first=0===i,l.last=!!r,c&&(l.contextPath=c+t)),a+=n(e[t],{data:l,blockParams:u.blockParams([e[t],t],[c+t,null])})}if(!t)throw new p["default"]("Must pass iterator to #each");var n=t.fn,r=t.inverse,o=0,a="",l=void 0,c=void 0;if(t.data&&t.ids&&(c=u.appendContextPath(t.data.contextPath,t.ids[0])+"."),g(e)&&(e=e.call(this)),t.data&&(l=s(t.data)),e&&"object"==typeof e)if(m(e))for(var h=e.length;h>o;o++)i(o,o,o===e.length-1);else{var d=void 0;for(var f in e)e.hasOwnProperty(f)&&(d&&i(d,o-1),d=f,o++);d&&i(d,o-1,!0)}return 0===o&&(a=r(this)),a}),e.registerHelper("if",function(e,t){return g(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||u.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,i){return e.helpers["if"].call(this,t,{fn:i.inverse,inverse:i.fn,hash:i.hash})}),e.registerHelper("with",function(e,t){g(e)&&(e=e.call(this));var i=t.fn;if(u.isEmpty(e))return t.inverse(this);if(t.data&&t.ids){var n=s(t.data);n.contextPath=u.appendContextPath(t.data.contextPath,t.ids[0]),t={data:n}}return i(e,t)}),e.registerHelper("log",function(t,i){var n=i.data&&null!=i.data.level?parseInt(i.data.level,10):1;e.log(n,t)}),e.registerHelper("lookup",function(e,t){return e&&e[t]})}function s(e){var t=u.extend({},e);return t._parent=e,t}var o=i(9)["default"],a=i(8)["default"];t.__esModule=!0,t.HandlebarsEnvironment=n,t.createFrame=s;var l=i(13),u=o(l),c=i(12),p=a(c),h="3.0.1";t.VERSION=h;var d=6;t.COMPILER_REVISION=d;var f={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1"};t.REVISION_CHANGES=f;var m=u.isArray,g=u.isFunction,v=u.toString,y="[object Object]";n.prototype={constructor:n,logger:w,log:b,registerHelper:function(e,t){if(v.call(e)===y){if(t)throw new p["default"]("Arg not supported with multiple helpers");u.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(v.call(e)===y)u.extend(this.partials,e);else{if("undefined"==typeof t)throw new p["default"]("Attempting to register a partial as undefined");this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]}};var w={methodMap:{0:"debug",1:"info",2:"warn",3:"error"},DEBUG:0,INFO:1,WARN:2,ERROR:3,level:1,log:function(e,t){if("undefined"!=typeof console&&w.level<=e){var i=w.methodMap[e];(console[i]||console.log).call(console,t)}}};t.logger=w;var b=w.log;t.log=b},function(e,t,i){"use strict";function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t["default"]=n,e.exports=t["default"]},function(e,t,i){"use strict";function n(e,t){var i=t&&t.loc,s=void 0,o=void 0;i&&(s=i.start.line,o=i.start.column,e+=" - "+s+":"+o);for(var a=Error.prototype.constructor.call(this,e),l=0;l<r.length;l++)this[r[l]]=a[r[l]];Error.captureStackTrace&&Error.captureStackTrace(this,n),i&&(this.lineNumber=s,this.column=o)}t.__esModule=!0;var r=["description","fileName","lineNumber","message","name","number","stack"];n.prototype=new Error,t["default"]=n,e.exports=t["default"]},function(e,t,i){"use strict";function n(e){return c[e]}function r(e){for(var t=1;t<arguments.length;t++)for(var i in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],i)&&(e[i]=arguments[t][i]);return e}function s(e,t){for(var i=0,n=e.length;n>i;i++)if(e[i]===t)return i;return-1}function o(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return h.test(e)?e.replace(p,n):e}function a(e){return e||0===e?m(e)&&0===e.length?!0:!1:!0}function l(e,t){return e.path=t,e}function u(e,t){return(e?e+".":"")+t}t.__esModule=!0,t.extend=r,t.indexOf=s,t.escapeExpression=o,t.isEmpty=a,t.blockParams=l,t.appendContextPath=u;var c={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},p=/[&<>"'`]/g,h=/[&<>"'`]/,d=Object.prototype.toString;t.toString=d;var f=function(e){return"function"==typeof e};f(/x/)&&(t.isFunction=f=function(e){return"function"==typeof e&&"[object Function]"===d.call(e)});var f;t.isFunction=f;var m=Array.isArray||function(e){return e&&"object"==typeof e?"[object Array]"===d.call(e):!1};t.isArray=m},function(e,t,i){"use strict";function n(e){var t=e&&e[0]||1,i=g.COMPILER_REVISION;if(t!==i){if(i>t){var n=g.REVISION_CHANGES[i],r=g.REVISION_CHANGES[t];throw new m["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+r+").")}throw new m["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}}function r(e,t){function i(i,n,r){r.hash&&(n=d.extend({},n,r.hash)),i=t.VM.resolvePartial.call(this,i,n,r);var s=t.VM.invokePartial.call(this,i,n,r);if(null==s&&t.compile&&(r.partials[r.name]=t.compile(i,e.compilerOptions,t),s=r.partials[r.name](n,r)),null!=s){if(r.indent){for(var o=s.split("\n"),a=0,l=o.length;l>a&&(o[a]||a+1!==l);a++)o[a]=r.indent+o[a];s=o.join("\n")}return s}throw new m["default"]("The partial "+r.name+" could not be compiled when running in runtime-only mode")}function n(t){var i=void 0===arguments[1]?{}:arguments[1],s=i.data;n._setup(i),!i.partial&&e.useData&&(s=u(t,s));var o=void 0,a=e.useBlockParams?[]:void 0;return e.useDepths&&(o=i.depths?[t].concat(i.depths):[t]),e.main.call(r,t,r.helpers,r.partials,s,a,o)}if(!t)throw new m["default"]("No environment passed to template");if(!e||!e.main)throw new m["default"]("Unknown template object: "+typeof e);t.VM.checkRevision(e.compiler);var r={strict:function(e,t){if(!(t in e))throw new m["default"]('"'+t+'" not defined in '+e);return e[t]},lookup:function(e,t){for(var i=e.length,n=0;i>n;n++)if(e[n]&&null!=e[n][t])return e[n][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:d.escapeExpression,invokePartial:i,fn:function(t){return e[t]},programs:[],program:function(e,t,i,n,r){var o=this.programs[e],a=this.fn(e);return t||r||n||i?o=s(this,e,a,t,i,n,r):o||(o=this.programs[e]=s(this,e,a)),o},data:function(e,t){for(;e&&t--;)e=e._parent;return e},merge:function(e,t){var i=e||t;return e&&t&&e!==t&&(i=d.extend({},t,e)),i},noop:t.VM.noop,compilerInfo:e.compiler};return n.isTop=!0,n._setup=function(i){i.partial?(r.helpers=i.helpers,r.partials=i.partials):(r.helpers=r.merge(i.helpers,t.helpers),e.usePartial&&(r.partials=r.merge(i.partials,t.partials)))},n._child=function(t,i,n,o){if(e.useBlockParams&&!n)throw new m["default"]("must pass block params");if(e.useDepths&&!o)throw new m["default"]("must pass parent depths");return s(r,t,e[t],i,0,n,o)},n}function s(e,t,i,n,r,s,o){function a(t){var r=void 0===arguments[1]?{}:arguments[1];return i.call(e,t,e.helpers,e.partials,r.data||n,s&&[r.blockParams].concat(s),o&&[t].concat(o))}return a.program=t,a.depth=o?o.length:0,a.blockParams=r||0,a}function o(e,t,i){return e?e.call||i.name||(i.name=e,e=i.partials[e]):e=i.partials[i.name],e}function a(e,t,i){if(i.partial=!0,void 0===e)throw new m["default"]("The partial "+i.name+" could not be found");return e instanceof Function?e(t,i):void 0}function l(){return""}function u(e,t){return t&&"root"in t||(t=t?g.createFrame(t):{},t.root=e),t}var c=i(9)["default"],p=i(8)["default"];t.__esModule=!0,t.checkRevision=n,t.template=r,t.wrapProgram=s,t.resolvePartial=o,t.invokePartial=a,t.noop=l;var h=i(13),d=c(h),f=i(12),m=p(f),g=i(10)},function(e,t,i){"use strict";t.__esModule=!0;var n=function(){function e(){this.yy={}}var t={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,content:12,COMMENT:13,CONTENT:14,openRawBlock:15,END_RAW_BLOCK:16,OPEN_RAW_BLOCK:17,helperName:18,openRawBlock_repetition0:19,openRawBlock_option0:20,CLOSE_RAW_BLOCK:21,openBlock:22,block_option0:23,closeBlock:24,openInverse:25,block_option1:26,OPEN_BLOCK:27,openBlock_repetition0:28,openBlock_option0:29,openBlock_option1:30,CLOSE:31,OPEN_INVERSE:32,openInverse_repetition0:33,openInverse_option0:34,openInverse_option1:35,openInverseChain:36,OPEN_INVERSE_CHAIN:37,openInverseChain_repetition0:38,openInverseChain_option0:39,openInverseChain_option1:40,inverseAndProgram:41,INVERSE:42,inverseChain:43,inverseChain_option0:44,OPEN_ENDBLOCK:45,OPEN:46,mustache_repetition0:47,mustache_option0:48,OPEN_UNESCAPED:49,mustache_repetition1:50,mustache_option1:51,CLOSE_UNESCAPED:52,OPEN_PARTIAL:53,partialName:54,partial_repetition0:55,partial_option0:56,param:57,sexpr:58,OPEN_SEXPR:59,sexpr_repetition0:60,sexpr_option0:61,CLOSE_SEXPR:62,hash:63,hash_repetition_plus0:64,hashSegment:65,ID:66,EQUALS:67,blockParams:68,OPEN_BLOCK_PARAMS:69,blockParams_repetition_plus0:70,CLOSE_BLOCK_PARAMS:71,path:72,dataName:73,STRING:74,NUMBER:75,BOOLEAN:76,UNDEFINED:77,NULL:78,DATA:79,pathSegments:80,SEP:81,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",13:"COMMENT",14:"CONTENT",16:"END_RAW_BLOCK",17:"OPEN_RAW_BLOCK",21:"CLOSE_RAW_BLOCK",27:"OPEN_BLOCK",31:"CLOSE",32:"OPEN_INVERSE",37:"OPEN_INVERSE_CHAIN",42:"INVERSE",45:"OPEN_ENDBLOCK",46:"OPEN",49:"OPEN_UNESCAPED",52:"CLOSE_UNESCAPED",53:"OPEN_PARTIAL",59:"OPEN_SEXPR",62:"CLOSE_SEXPR",66:"ID",67:"EQUALS",69:"OPEN_BLOCK_PARAMS",71:"CLOSE_BLOCK_PARAMS",74:"STRING",75:"NUMBER",76:"BOOLEAN",77:"UNDEFINED",78:"NULL",79:"DATA",81:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[12,1],[10,3],[15,5],[9,4],[9,4],[22,6],[25,6],[36,6],[41,2],[43,3],[43,1],[24,3],[8,5],[8,5],[11,5],[57,1],[57,1],[58,5],[63,1],[65,3],[68,3],[18,1],[18,1],[18,1],[18,1],[18,1],[18,1],[18,1],[54,1],[54,1],[73,2],[72,1],[80,3],[80,1],[6,0],[6,2],[19,0],[19,2],[20,0],[20,1],[23,0],[23,1],[26,0],[26,1],[28,0],[28,2],[29,0],[29,1],[30,0],[30,1],[33,0],[33,2],[34,0],[34,1],[35,0],[35,1],[38,0],[38,2],[39,0],[39,1],[40,0],[40,1],[44,0],[44,1],[47,0],[47,2],[48,0],[48,1],[50,0],[50,2],[51,0],[51,1],[55,0],[55,2],[56,0],[56,1],[60,0],[60,2],[61,0],[61,1],[64,1],[64,2],[70,1],[70,2]],performAction:function(e,t,i,n,r,s,o){var a=s.length-1;switch(r){case 1:return s[a-1];case 2:this.$=new n.Program(s[a],null,{},n.locInfo(this._$));break;case 3:this.$=s[a];break;case 4:this.$=s[a];break;case 5:this.$=s[a];break;case 6:this.$=s[a];break;case 7:this.$=s[a];break;case 8:this.$=new n.CommentStatement(n.stripComment(s[a]),n.stripFlags(s[a],s[a]),n.locInfo(this._$));break;case 9:this.$=new n.ContentStatement(s[a],n.locInfo(this._$));break;case 10:this.$=n.prepareRawBlock(s[a-2],s[a-1],s[a],this._$);break;case 11:this.$={path:s[a-3],params:s[a-2],hash:s[a-1]};break;case 12:this.$=n.prepareBlock(s[a-3],s[a-2],s[a-1],s[a],!1,this._$);break;case 13:this.$=n.prepareBlock(s[a-3],s[a-2],s[a-1],s[a],!0,this._$);break;case 14:this.$={path:s[a-4],params:s[a-3],hash:s[a-2],blockParams:s[a-1],strip:n.stripFlags(s[a-5],s[a])};break;case 15:this.$={path:s[a-4],params:s[a-3],hash:s[a-2],blockParams:s[a-1],strip:n.stripFlags(s[a-5],s[a])};break;case 16:this.$={path:s[a-4],params:s[a-3],hash:s[a-2],blockParams:s[a-1],strip:n.stripFlags(s[a-5],s[a])};break;case 17:this.$={strip:n.stripFlags(s[a-1],s[a-1]),program:s[a]};break;case 18:var l=n.prepareBlock(s[a-2],s[a-1],s[a],s[a],!1,this._$),u=new n.Program([l],null,{},n.locInfo(this._$));u.chained=!0,this.$={strip:s[a-2].strip,program:u,chain:!0};break;case 19:this.$=s[a];break;case 20:this.$={path:s[a-1],strip:n.stripFlags(s[a-2],s[a])};break;case 21:this.$=n.prepareMustache(s[a-3],s[a-2],s[a-1],s[a-4],n.stripFlags(s[a-4],s[a]),this._$);break;case 22:this.$=n.prepareMustache(s[a-3],s[a-2],s[a-1],s[a-4],n.stripFlags(s[a-4],s[a]),this._$);break;case 23:this.$=new n.PartialStatement(s[a-3],s[a-2],s[a-1],n.stripFlags(s[a-4],s[a]),n.locInfo(this._$));break;case 24:this.$=s[a];break;case 25:this.$=s[a];break;case 26:this.$=new n.SubExpression(s[a-3],s[a-2],s[a-1],n.locInfo(this._$));break;case 27:this.$=new n.Hash(s[a],n.locInfo(this._$));break;case 28:this.$=new n.HashPair(n.id(s[a-2]),s[a],n.locInfo(this._$));break;case 29:this.$=n.id(s[a-1]);break;case 30:this.$=s[a];break;case 31:this.$=s[a];break;case 32:this.$=new n.StringLiteral(s[a],n.locInfo(this._$));break;case 33:this.$=new n.NumberLiteral(s[a],n.locInfo(this._$));break;case 34:this.$=new n.BooleanLiteral(s[a],n.locInfo(this._$));break;case 35:this.$=new n.UndefinedLiteral(n.locInfo(this._$));break;case 36:this.$=new n.NullLiteral(n.locInfo(this._$));break;case 37:this.$=s[a];break;case 38:this.$=s[a];break;case 39:this.$=n.preparePath(!0,s[a],this._$);break;case 40:this.$=n.preparePath(!1,s[a],this._$);break;case 41:s[a-2].push({part:n.id(s[a]),original:s[a],separator:s[a-1]}),this.$=s[a-2];break;case 42:this.$=[{part:n.id(s[a]),original:s[a]}];break;case 43:this.$=[];break;case 44:s[a-1].push(s[a]);break;case 45:this.$=[];break;case 46:s[a-1].push(s[a]);break;case 53:this.$=[];break;case 54:s[a-1].push(s[a]);break;case 59:this.$=[];break;case 60:s[a-1].push(s[a]);break;case 65:this.$=[];break;case 66:s[a-1].push(s[a]);break;case 73:this.$=[];break;case 74:s[a-1].push(s[a]);break;case 77:this.$=[];break;case 78:s[a-1].push(s[a]);break;case 81:this.$=[];break;case 82:s[a-1].push(s[a]);break;case 85:this.$=[];break;case 86:s[a-1].push(s[a]);break;case 89:this.$=[s[a]];break;case 90:s[a-1].push(s[a]);break;case 91:this.$=[s[a]];break;case 92:s[a-1].push(s[a])}},table:[{3:1,4:2,5:[2,43],6:3,13:[2,43],14:[2,43],17:[2,43],27:[2,43],32:[2,43],46:[2,43],49:[2,43],53:[2,43]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:[1,11],14:[1,18],15:16,17:[1,21],22:14,25:15,27:[1,19],32:[1,20],37:[2,2],42:[2,2],45:[2,2],46:[1,12],49:[1,13],53:[1,17]},{1:[2,1]},{5:[2,44],13:[2,44],14:[2,44],17:[2,44],27:[2,44],32:[2,44],37:[2,44],42:[2,44],45:[2,44],46:[2,44],49:[2,44],53:[2,44]},{5:[2,3],13:[2,3],14:[2,3],17:[2,3],27:[2,3],32:[2,3],37:[2,3],42:[2,3],45:[2,3],46:[2,3],49:[2,3],53:[2,3]},{5:[2,4],13:[2,4],14:[2,4],17:[2,4],27:[2,4],32:[2,4],37:[2,4],42:[2,4],45:[2,4],46:[2,4],49:[2,4],53:[2,4]},{5:[2,5],13:[2,5],14:[2,5],17:[2,5],27:[2,5],32:[2,5],37:[2,5],42:[2,5],45:[2,5],46:[2,5],49:[2,5],53:[2,5]},{5:[2,6],13:[2,6],14:[2,6],17:[2,6],27:[2,6],32:[2,6],37:[2,6],42:[2,6],45:[2,6],46:[2,6],49:[2,6],53:[2,6]},{5:[2,7],13:[2,7],14:[2,7],17:[2,7],27:[2,7],32:[2,7],37:[2,7],42:[2,7],45:[2,7],46:[2,7],49:[2,7],53:[2,7]},{5:[2,8],13:[2,8],14:[2,8],17:[2,8],27:[2,8],32:[2,8],37:[2,8],42:[2,8],45:[2,8],46:[2,8],49:[2,8],53:[2,8]},{18:22,66:[1,32],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{18:33,66:[1,32],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{4:34,6:3,13:[2,43],14:[2,43],17:[2,43],27:[2,43],32:[2,43],37:[2,43],42:[2,43],45:[2,43],46:[2,43],49:[2,43],53:[2,43]},{4:35,6:3,13:[2,43],14:[2,43],17:[2,43],27:[2,43],32:[2,43],42:[2,43],45:[2,43],46:[2,43],49:[2,43],53:[2,43]},{12:36,14:[1,18]},{18:38,54:37,58:39,59:[1,40],66:[1,32],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{5:[2,9],13:[2,9],14:[2,9],16:[2,9],17:[2,9],27:[2,9],32:[2,9],37:[2,9],42:[2,9],45:[2,9],46:[2,9],49:[2,9],53:[2,9]},{18:41,66:[1,32],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{18:42,66:[1,32],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{18:43,66:[1,32],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{31:[2,73],47:44,59:[2,73],66:[2,73],74:[2,73],75:[2,73],76:[2,73],77:[2,73],78:[2,73],79:[2,73]},{21:[2,30],31:[2,30],52:[2,30],59:[2,30],62:[2,30],66:[2,30],69:[2,30],74:[2,30],75:[2,30],76:[2,30],77:[2,30],78:[2,30],79:[2,30]},{21:[2,31],31:[2,31],52:[2,31],59:[2,31],62:[2,31],66:[2,31],69:[2,31],74:[2,31],75:[2,31],76:[2,31],77:[2,31],78:[2,31],79:[2,31]},{21:[2,32],31:[2,32],52:[2,32],59:[2,32],62:[2,32],66:[2,32],69:[2,32],74:[2,32],75:[2,32],76:[2,32],77:[2,32],78:[2,32],79:[2,32]},{21:[2,33],31:[2,33],52:[2,33],59:[2,33],62:[2,33],66:[2,33],69:[2,33],74:[2,33],75:[2,33],76:[2,33],77:[2,33],78:[2,33],79:[2,33]},{21:[2,34],31:[2,34],52:[2,34],59:[2,34],62:[2,34],66:[2,34],69:[2,34],74:[2,34],75:[2,34],76:[2,34],77:[2,34],78:[2,34],79:[2,34]},{21:[2,35],31:[2,35],52:[2,35],59:[2,35],62:[2,35],66:[2,35],69:[2,35],74:[2,35],75:[2,35],76:[2,35],77:[2,35],78:[2,35],79:[2,35]},{21:[2,36],31:[2,36],52:[2,36],59:[2,36],62:[2,36],66:[2,36],69:[2,36],74:[2,36],75:[2,36],76:[2,36],77:[2,36],78:[2,36],79:[2,36]},{21:[2,40],31:[2,40],52:[2,40],59:[2,40],62:[2,40],66:[2,40],69:[2,40],74:[2,40],75:[2,40],76:[2,40],77:[2,40],78:[2,40],79:[2,40],81:[1,45]},{66:[1,32],80:46},{21:[2,42],31:[2,42],52:[2,42],59:[2,42],62:[2,42],66:[2,42],69:[2,42],74:[2,42],75:[2,42],76:[2,42],77:[2,42],78:[2,42],79:[2,42],81:[2,42]},{50:47,52:[2,77],59:[2,77],66:[2,77],74:[2,77],75:[2,77],76:[2,77],77:[2,77],78:[2,77],79:[2,77]},{23:48,36:50,37:[1,52],41:51,42:[1,53],43:49,45:[2,49]},{26:54,41:55,42:[1,53],45:[2,51]},{16:[1,56]},{31:[2,81],55:57,59:[2,81],66:[2,81],74:[2,81],75:[2,81],76:[2,81],77:[2,81],78:[2,81],79:[2,81]},{31:[2,37],59:[2,37],66:[2,37],74:[2,37],75:[2,37],76:[2,37],77:[2,37],78:[2,37],79:[2,37]},{31:[2,38],59:[2,38],66:[2,38],74:[2,38],75:[2,38],76:[2,38],77:[2,38],78:[2,38],79:[2,38]},{18:58,66:[1,32],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{28:59,31:[2,53],59:[2,53],66:[2,53],69:[2,53],74:[2,53],75:[2,53],76:[2,53],77:[2,53],78:[2,53],79:[2,53]},{31:[2,59],33:60,59:[2,59],66:[2,59],69:[2,59],74:[2,59],75:[2,59],76:[2,59],77:[2,59],78:[2,59],79:[2,59]},{19:61,21:[2,45],59:[2,45],66:[2,45],74:[2,45],75:[2,45],76:[2,45],77:[2,45],78:[2,45],79:[2,45]},{18:65,31:[2,75],48:62,57:63,58:66,59:[1,40],63:64,64:67,65:68,66:[1,69],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{66:[1,70]},{21:[2,39],31:[2,39],52:[2,39],59:[2,39],62:[2,39],66:[2,39],69:[2,39],74:[2,39],75:[2,39],76:[2,39],77:[2,39],78:[2,39],79:[2,39],81:[1,45]},{18:65,51:71,52:[2,79],57:72,58:66,59:[1,40],63:73,64:67,65:68,66:[1,69],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{24:74,45:[1,75]},{45:[2,50]},{4:76,6:3,13:[2,43],14:[2,43],17:[2,43],27:[2,43],32:[2,43],37:[2,43],42:[2,43],45:[2,43],46:[2,43],49:[2,43],53:[2,43]},{45:[2,19]},{18:77,66:[1,32],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{4:78,6:3,13:[2,43],14:[2,43],17:[2,43],27:[2,43],32:[2,43],45:[2,43],46:[2,43],49:[2,43],53:[2,43]},{24:79,45:[1,75]},{45:[2,52]},{5:[2,10],13:[2,10],14:[2,10],17:[2,10],27:[2,10],32:[2,10],37:[2,10],42:[2,10],45:[2,10],46:[2,10],49:[2,10],53:[2,10]},{18:65,31:[2,83],56:80,57:81,58:66,59:[1,40],63:82,64:67,65:68,66:[1,69],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{59:[2,85],60:83,62:[2,85],66:[2,85],74:[2,85],75:[2,85],76:[2,85],77:[2,85],78:[2,85],79:[2,85]},{18:65,29:84,31:[2,55],57:85,58:66,59:[1,40],63:86,64:67,65:68,66:[1,69],69:[2,55],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{18:65,31:[2,61],34:87,57:88,58:66,59:[1,40],63:89,64:67,65:68,66:[1,69],69:[2,61],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{18:65,20:90,21:[2,47],57:91,58:66,59:[1,40],63:92,64:67,65:68,66:[1,69],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{31:[1,93]},{31:[2,74],59:[2,74],66:[2,74],74:[2,74],75:[2,74],76:[2,74],77:[2,74],78:[2,74],79:[2,74]},{31:[2,76]},{21:[2,24],31:[2,24],52:[2,24],59:[2,24],62:[2,24],66:[2,24],69:[2,24],74:[2,24],75:[2,24],76:[2,24],77:[2,24],78:[2,24],79:[2,24]},{21:[2,25],31:[2,25],52:[2,25],59:[2,25],62:[2,25],66:[2,25],69:[2,25],74:[2,25],75:[2,25],76:[2,25],77:[2,25],78:[2,25],79:[2,25]},{21:[2,27],31:[2,27],52:[2,27],62:[2,27],65:94,66:[1,95],69:[2,27]},{21:[2,89],31:[2,89],52:[2,89],62:[2,89],66:[2,89],69:[2,89]},{21:[2,42],31:[2,42],52:[2,42],59:[2,42],62:[2,42],66:[2,42],67:[1,96],69:[2,42],74:[2,42],75:[2,42],76:[2,42],77:[2,42],78:[2,42],79:[2,42],81:[2,42]},{21:[2,41],31:[2,41],52:[2,41],59:[2,41],62:[2,41],66:[2,41],69:[2,41],74:[2,41],75:[2,41],76:[2,41],77:[2,41],78:[2,41],79:[2,41],81:[2,41]},{52:[1,97]},{52:[2,78],59:[2,78],66:[2,78],74:[2,78],75:[2,78],76:[2,78],77:[2,78],78:[2,78],79:[2,78]},{52:[2,80]},{5:[2,12],13:[2,12],14:[2,12],17:[2,12],27:[2,12],32:[2,12],37:[2,12],42:[2,12],45:[2,12],46:[2,12],49:[2,12],53:[2,12]},{18:98,66:[1,32],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{36:50,37:[1,52],41:51,42:[1,53],43:100,44:99,45:[2,71]},{31:[2,65],38:101,59:[2,65],66:[2,65],69:[2,65],74:[2,65],75:[2,65],76:[2,65],77:[2,65],78:[2,65],79:[2,65]},{45:[2,17]},{5:[2,13],13:[2,13],14:[2,13],17:[2,13],27:[2,13],32:[2,13],37:[2,13],42:[2,13],45:[2,13],46:[2,13],49:[2,13],53:[2,13]},{31:[1,102]},{31:[2,82],59:[2,82],66:[2,82],74:[2,82],75:[2,82],76:[2,82],77:[2,82],78:[2,82],79:[2,82]},{31:[2,84]},{18:65,57:104,58:66,59:[1,40],61:103,62:[2,87],63:105,64:67,65:68,66:[1,69],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{30:106,31:[2,57],68:107,69:[1,108]},{31:[2,54],59:[2,54],66:[2,54],69:[2,54],74:[2,54],75:[2,54],76:[2,54],77:[2,54],78:[2,54],79:[2,54]},{31:[2,56],69:[2,56]},{31:[2,63],35:109,68:110,69:[1,108]},{31:[2,60],59:[2,60],66:[2,60],69:[2,60],74:[2,60],75:[2,60],76:[2,60],77:[2,60],78:[2,60],79:[2,60]},{31:[2,62],69:[2,62]},{21:[1,111]},{21:[2,46],59:[2,46],66:[2,46],74:[2,46],75:[2,46],76:[2,46],77:[2,46],78:[2,46],79:[2,46]},{21:[2,48]},{5:[2,21],13:[2,21],14:[2,21],17:[2,21],27:[2,21],32:[2,21],37:[2,21],42:[2,21],45:[2,21],46:[2,21],49:[2,21],53:[2,21]},{21:[2,90],31:[2,90],52:[2,90],62:[2,90],66:[2,90],69:[2,90]},{67:[1,96]},{18:65,57:112,58:66,59:[1,40],66:[1,32],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{5:[2,22],13:[2,22],14:[2,22],17:[2,22],27:[2,22],32:[2,22],37:[2,22],42:[2,22],45:[2,22],46:[2,22],49:[2,22],53:[2,22]},{31:[1,113]},{45:[2,18]},{45:[2,72]},{18:65,31:[2,67],39:114,57:115,58:66,59:[1,40],63:116,64:67,65:68,66:[1,69],69:[2,67],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,28],78:[1,29],79:[1,31],80:30},{5:[2,23],13:[2,23],14:[2,23],17:[2,23],27:[2,23],32:[2,23],37:[2,23],42:[2,23],45:[2,23],46:[2,23],49:[2,23],53:[2,23]},{62:[1,117]},{59:[2,86],62:[2,86],66:[2,86],74:[2,86],75:[2,86],76:[2,86],77:[2,86],78:[2,86],79:[2,86]},{62:[2,88]},{31:[1,118]},{31:[2,58]},{66:[1,120],70:119},{31:[1,121]},{31:[2,64]},{14:[2,11]},{21:[2,28],31:[2,28],52:[2,28],62:[2,28],66:[2,28],69:[2,28]},{5:[2,20],13:[2,20],14:[2,20],17:[2,20],27:[2,20],32:[2,20],37:[2,20],42:[2,20],45:[2,20],46:[2,20],49:[2,20],53:[2,20]},{31:[2,69],40:122,68:123,69:[1,108]},{31:[2,66],59:[2,66],66:[2,66],69:[2,66],74:[2,66],75:[2,66],76:[2,66],77:[2,66],78:[2,66],79:[2,66]},{31:[2,68],69:[2,68]},{21:[2,26],31:[2,26],52:[2,26],59:[2,26],62:[2,26],66:[2,26],69:[2,26],74:[2,26],75:[2,26],76:[2,26],77:[2,26],78:[2,26],79:[2,26]},{13:[2,14],14:[2,14],17:[2,14],27:[2,14],32:[2,14],37:[2,14],42:[2,14],45:[2,14],46:[2,14],49:[2,14],53:[2,14]},{66:[1,125],71:[1,124]},{66:[2,91],71:[2,91]},{13:[2,15],14:[2,15],17:[2,15],27:[2,15],32:[2,15],42:[2,15],45:[2,15],46:[2,15],49:[2,15],53:[2,15]},{31:[1,126]},{31:[2,70]},{31:[2,29]},{66:[2,92],71:[2,92]},{13:[2,16],14:[2,16],17:[2,16],27:[2,16],32:[2,16],37:[2,16],42:[2,16],45:[2,16],46:[2,16],49:[2,16],53:[2,16]}],defaultActions:{4:[2,1],49:[2,50],51:[2,19],55:[2,52],64:[2,76],73:[2,80],78:[2,17],82:[2,84],92:[2,48],99:[2,18],100:[2,72],105:[2,88],107:[2,58],110:[2,64],111:[2,11],123:[2,70],124:[2,29]},parseError:function(e,t){throw new Error(e)},parse:function(e){function t(){var e;return e=i.lexer.lex()||1,"number"!=typeof e&&(e=i.symbols_[e]||e),e}var i=this,n=[0],r=[null],s=[],o=this.table,a="",l=0,u=0,c=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={});var p=this.lexer.yylloc;s.push(p);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,f,m,g,v,y,w,b,x,S={};;){if(m=n[n.length-1],this.defaultActions[m]?g=this.defaultActions[m]:((null===d||"undefined"==typeof d)&&(d=t()),g=o[m]&&o[m][d]),"undefined"==typeof g||!g.length||!g[0]){var T="";if(!c){x=[];for(y in o[m])this.terminals_[y]&&y>2&&x.push("'"+this.terminals_[y]+"'");T=this.lexer.showPosition?"Parse error on line "+(l+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[d]||d)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==d?"end of input":"'"+(this.terminals_[d]||d)+"'"),this.parseError(T,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:p,expected:x})}}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+d);switch(g[0]){case 1:n.push(d),r.push(this.lexer.yytext),s.push(this.lexer.yylloc),n.push(g[1]),d=null,f?(d=f,f=null):(u=this.lexer.yyleng,a=this.lexer.yytext,l=this.lexer.yylineno,p=this.lexer.yylloc,c>0&&c--);break;case 2:if(w=this.productions_[g[1]][1],S.$=r[r.length-w],S._$={first_line:s[s.length-(w||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(w||1)].first_column,last_column:s[s.length-1].last_column},h&&(S._$.range=[s[s.length-(w||1)].range[0],s[s.length-1].range[1]]),v=this.performAction.call(S,a,u,l,this.yy,g[1],r,s),"undefined"!=typeof v)return v;w&&(n=n.slice(0,-1*w*2),r=r.slice(0,-1*w),s=s.slice(0,-1*w)),n.push(this.productions_[g[1]][0]),r.push(S.$),s.push(S._$),b=o[n[n.length-2]][n[n.length-1]],n.push(b);break;case 3:return!0}}return!0}},i=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e;var t=e.match(/(?:\r\n?|\n).*/g);return t?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,i,n,r;this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),o=0;o<s.length&&(i=this._input.match(this.rules[s[o]]),!i||t&&!(i[0].length>t[0].length)||(t=i,n=o,this.options.flex));o++);return t?(r=t[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,s[n],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e?e:void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return"undefined"!=typeof e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)}};return e.options={},e.performAction=function(e,t,i,n){function r(e,i){return t.yytext=t.yytext.substr(e,t.yyleng-i)}switch(i){case 0:if("\\\\"===t.yytext.slice(-2)?(r(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(r(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 14;break;case 1:return 14;case 2:return this.popState(),14;case 3:return t.yytext=t.yytext.substr(5,t.yyleng-9),this.popState(),16;case 4:return 14;case 5:return this.popState(),13;case 6:return 59;case 7:return 62;case 8:return 17;case 9:return this.popState(),this.begin("raw"),21;case 10:return 53;case 11:return 27;case 12:return 45;case 13:return this.popState(),42;case 14:return this.popState(),42;case 15:return 32;case 16:return 37;case 17:return 49;case 18:return 46;case 19:this.unput(t.yytext),this.popState(),this.begin("com");break;case 20:return this.popState(),13;case 21:return 46;case 22:return 67;case 23:return 66;case 24:return 66;case 25:return 81;case 26:break;case 27:return this.popState(),52;case 28:return this.popState(),31;case 29:return t.yytext=r(1,2).replace(/\\"/g,'"'),74;case 30:return t.yytext=r(1,2).replace(/\\'/g,"'"),74;case 31:return 79;case 32:return 76;case 33:return 76;case 34:return 77;case 35:return 78;case 36:return 75;case 37:return 69;case 38:return 71;case 39:return 66;case 40:return 66;case 41:return"INVALID";case 42:return 5}},e.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{\/)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[[^\]]*\])/,/^(?:.)/,/^(?:$)/],e.conditions={mu:{rules:[6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[5],inclusive:!1},raw:{rules:[3,4],inclusive:!1 +},INITIAL:{rules:[0,1,42],inclusive:!0}},e}();return t.lexer=i,e.prototype=t,t.Parser=e,new e}();t["default"]=n,e.exports=t["default"]},function(e,t,i){"use strict";function n(){}function r(e,t,i){void 0===t&&(t=e.length);var n=e[t-1],r=e[t-2];return n?"ContentStatement"===n.type?(r||!i?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original):void 0:i}function s(e,t,i){void 0===t&&(t=-1);var n=e[t+1],r=e[t+2];return n?"ContentStatement"===n.type?(r||!i?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original):void 0:i}function o(e,t,i){var n=e[null==t?0:t+1];if(n&&"ContentStatement"===n.type&&(i||!n.rightStripped)){var r=n.value;n.value=n.value.replace(i?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==r}}function a(e,t,i){var n=e[null==t?e.length-1:t-1];if(n&&"ContentStatement"===n.type&&(i||!n.leftStripped)){var r=n.value;return n.value=n.value.replace(i?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==r,n.leftStripped}}var l=i(8)["default"];t.__esModule=!0;var u=i(6),c=l(u);n.prototype=new c["default"],n.prototype.Program=function(e){var t=!this.isRootSeen;this.isRootSeen=!0;for(var i=e.body,n=0,l=i.length;l>n;n++){var u=i[n],c=this.accept(u);if(c){var p=r(i,n,t),h=s(i,n,t),d=c.openStandalone&&p,f=c.closeStandalone&&h,m=c.inlineStandalone&&p&&h;c.close&&o(i,n,!0),c.open&&a(i,n,!0),m&&(o(i,n),a(i,n)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(i[n-1].original)[1])),d&&(o((u.program||u.inverse).body),a(i,n)),f&&(o(i,n),a((u.inverse||u.program).body))}}return e},n.prototype.BlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,i=e.program&&e.inverse,n=i,l=i;if(i&&i.chained)for(n=i.body[0].program;l.chained;)l=l.body[l.body.length-1].program;var u={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:s(t.body),closeStandalone:r((n||t).body)};if(e.openStrip.close&&o(t.body,null,!0),i){var c=e.inverseStrip;c.open&&a(t.body,null,!0),c.close&&o(n.body,null,!0),e.closeStrip.open&&a(l.body,null,!0),r(t.body)&&s(n.body)&&(a(t.body),o(n.body))}else e.closeStrip.open&&a(t.body,null,!0);return u},n.prototype.MustacheStatement=function(e){return e.strip},n.prototype.PartialStatement=n.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t["default"]=n,e.exports=t["default"]},function(e,t,i){"use strict";function n(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}}function r(e){return/^\[.*\]$/.test(e)?e.substr(1,e.length-2):e}function s(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}}function o(e){return e.replace(/^\{\{~?\!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function a(e,t,i){i=this.locInfo(i);for(var n=e?"@":"",r=[],s=0,o="",a=0,l=t.length;l>a;a++){var u=t[a].part,c=t[a].original!==u;if(n+=(t[a].separator||"")+u,c||".."!==u&&"."!==u&&"this"!==u)r.push(u);else{if(r.length>0)throw new d["default"]("Invalid path: "+n,{loc:i});".."===u&&(s++,o+="../")}}return new this.PathExpression(e,s,r,n,i)}function l(e,t,i,n,r,s){var o=n.charAt(3)||n.charAt(2),a="{"!==o&&"&"!==o;return new this.MustacheStatement(e,t,i,a,r,this.locInfo(s))}function u(e,t,i,n){if(e.path.original!==i){var r={loc:e.path.loc};throw new d["default"](e.path.original+" doesn't match "+i,r)}n=this.locInfo(n);var s=new this.Program([t],null,{},n);return new this.BlockStatement(e.path,e.params,e.hash,s,void 0,{},{},{},n)}function c(e,t,i,n,r,s){if(n&&n.path&&e.path.original!==n.path.original){var o={loc:e.path.loc};throw new d["default"](e.path.original+" doesn't match "+n.path.original,o)}t.blockParams=e.blockParams;var a=void 0,l=void 0;return i&&(i.chain&&(i.program.body[0].closeStrip=n.strip),l=i.strip,a=i.program),r&&(r=a,a=t,t=r),new this.BlockStatement(e.path,e.params,e.hash,t,a,e.strip,l,n&&n.strip,this.locInfo(s))}var p=i(8)["default"];t.__esModule=!0,t.SourceLocation=n,t.id=r,t.stripFlags=s,t.stripComment=o,t.preparePath=a,t.prepareMustache=l,t.prepareRawBlock=u,t.prepareBlock=c;var h=i(12),d=p(h)},function(e,t,i){"use strict";function n(e,t,i){if(s.isArray(e)){for(var n=[],r=0,o=e.length;o>r;r++)n.push(t.wrap(e[r],i));return n}return"boolean"==typeof e||"number"==typeof e?e+"":e}function r(e){this.srcFile=e,this.source=[]}t.__esModule=!0;var s=i(13),o=void 0;try{}catch(a){}o||(o=function(e,t,i,n){this.src="",n&&this.add(n)},o.prototype={add:function(e){s.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){s.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),r.prototype={prepend:function(e,t){this.source.unshift(this.wrap(e,t))},push:function(e,t){this.source.push(this.wrap(e,t))},merge:function(){var e=this.empty();return this.each(function(t){e.add([" ",t,"\n"])}),e},each:function(e){for(var t=0,i=this.source.length;i>t;t++)e(this.source[t])},empty:function(){var e=void 0===arguments[0]?this.currentLocation||{start:{}}:arguments[0];return new o(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var t=void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return e instanceof o?e:(e=n(e,this,t),new o(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,i){return i=this.generateList(i),this.wrap([e,t?"."+t+"(":"(",i,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var t=[];for(var i in e)if(e.hasOwnProperty(i)){var r=n(e[i],this);"undefined"!==r&&t.push([this.quotedString(i),":",r])}var s=this.generateList(t);return s.prepend("{"),s.add("}"),s},generateList:function(e,t){for(var i=this.empty(t),r=0,s=e.length;s>r;r++)r&&i.add(","),i.add(n(e[r],this,t));return i},generateArray:function(e,t){var i=this.generateList(e,t);return i.prepend("["),i.add("]"),i}},t["default"]=r,e.exports=t["default"]}])})}),define("source-map",[],function(e,t,i){t.SourceMapGenerator=e("source-map/source-map-generator").SourceMapGenerator,t.SourceMapConsumer=e("source-map/source-map-consumer").SourceMapConsumer,t.SourceNode=e("source-map/source-node").SourceNode}),define("source-map/source-map-generator",[],function(e,t,i){define(function(e,t,i){function n(e){e||(e={}),this._file=s.getArg(e,"file",null),this._sourceRoot=s.getArg(e,"sourceRoot",null),this._sources=new o,this._names=new o,this._mappings=[],this._sourcesContents=null}var r=e("source-map/base64-vlq"),s=e("source-map/util"),o=e("source-map/array-set").ArraySet;n.prototype._version=3,n.fromSourceMap=function(e){var t=e.sourceRoot,i=new n({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=t&&(n.source=s.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),i.addMapping(n)}),e.sources.forEach(function(t){var n=e.sourceContentFor(t);null!=n&&i.setSourceContent(t,n)}),i},n.prototype.addMapping=function(e){var t=s.getArg(e,"generated"),i=s.getArg(e,"original",null),n=s.getArg(e,"source",null),r=s.getArg(e,"name",null);this._validateMapping(t,i,n,r),null==n||this._sources.has(n)||this._sources.add(n),null==r||this._names.has(r)||this._names.add(r),this._mappings.push({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=i&&i.line,originalColumn:null!=i&&i.column,source:n,name:r})},n.prototype.setSourceContent=function(e,t){var i=e;null!=this._sourceRoot&&(i=s.relative(this._sourceRoot,i)),null!=t?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[s.toSetString(i)]=t):this._sourcesContents&&(delete this._sourcesContents[s.toSetString(i)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(e,t,i){var n=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');n=e.file}var r=this._sourceRoot;null!=r&&(n=s.relative(r,n));var a=new o,l=new o;this._mappings.forEach(function(t){if(t.source===n&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=i&&(t.source=s.join(i,t.source)),null!=r&&(t.source=s.relative(r,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var u=t.source;null==u||a.has(u)||a.add(u);var c=t.name;null==c||l.has(c)||l.add(c)},this),this._sources=a,this._names=l,e.sources.forEach(function(t){var n=e.sourceContentFor(t);null!=n&&(null!=i&&(t=s.join(i,t)),null!=r&&(t=s.relative(r,t)),this.setSourceContent(t,n))},this)},n.prototype._validateMapping=function(e,t,i,n){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||i||n)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&i))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:i,original:t,name:n}))},n.prototype._serializeMappings=function(){var e,t=0,i=1,n=0,o=0,a=0,l=0,u="";this._mappings.sort(s.compareByGeneratedPositions);for(var c=0,p=this._mappings.length;p>c;c++){if(e=this._mappings[c],e.generatedLine!==i)for(t=0;e.generatedLine!==i;)u+=";",i++;else if(c>0){if(!s.compareByGeneratedPositions(e,this._mappings[c-1]))continue;u+=","}u+=r.encode(e.generatedColumn-t),t=e.generatedColumn,null!=e.source&&(u+=r.encode(this._sources.indexOf(e.source)-l),l=this._sources.indexOf(e.source),u+=r.encode(e.originalLine-1-o),o=e.originalLine-1,u+=r.encode(e.originalColumn-n),n=e.originalColumn,null!=e.name&&(u+=r.encode(this._names.indexOf(e.name)-a),a=this._names.indexOf(e.name)))}return u},n.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=s.relative(t,e));var i=s.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)},n.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},n.prototype.toString=function(){return JSON.stringify(this)},t.SourceMapGenerator=n})}),define("source-map/base64-vlq",[],function(e,t,i){define(function(e,t,i){function n(e){return 0>e?(-e<<1)+1:(e<<1)+0}function r(e){var t=1===(1&e),i=e>>1;return t?-i:i}var s=e("source-map/base64"),o=5,a=1<<o,l=a-1,u=a;t.encode=function(e){var t,i="",r=n(e);do t=r&l,r>>>=o,r>0&&(t|=u),i+=s.encode(t);while(r>0);return i},t.decode=function(e,t){var i,n,a=0,c=e.length,p=0,h=0;do{if(a>=c)throw new Error("Expected more digits in base 64 VLQ value.");n=s.decode(e.charAt(a++)),i=!!(n&u),n&=l,p+=n<<h,h+=o}while(i);t.value=r(p),t.rest=e.slice(a)}})}),define("source-map/base64",[],function(e,t,i){define(function(e,t,i){var n={},r={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){n[e]=t,r[t]=e}),t.encode=function(e){if(e in r)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){if(e in n)return n[e];throw new TypeError("Not a valid base 64 digit: "+e)}})}),define("source-map/util",[],function(e,t,i){define(function(e,t,i){function n(e,t,i){if(t in e)return e[t];if(3===arguments.length)return i;throw new Error('"'+t+'" is a required argument.')}function r(e){var t=e.match(f);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function s(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function o(e){var t=e,i=r(e);if(i){if(!i.path)return e;t=i.path}for(var n,o="/"===t.charAt(0),a=t.split(/\/+/),l=0,u=a.length-1;u>=0;u--)n=a[u],"."===n?a.splice(u,1):".."===n?l++:l>0&&(""===n?(a.splice(u+1,l),l=0):(a.splice(u,2),l--));return t=a.join("/"),""===t&&(t=o?"/":"."),i?(i.path=t,s(i)):t}function a(e,t){""===e&&(e="."),""===t&&(t=".");var i=r(t),n=r(e);if(n&&(e=n.path||"/"),i&&!i.scheme)return n&&(i.scheme=n.scheme),s(i);if(i||t.match(m))return t;if(n&&!n.host&&!n.path)return n.host=t,s(n);var a="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=a,s(n)):a}function l(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");var i=r(e);return"/"==t.charAt(0)&&i&&"/"==i.path?t.slice(1):0===t.indexOf(e+"/")?t.substr(e.length+1):t}function u(e){return"$"+e}function c(e){return e.substr(1)}function p(e,t){var i=e||"",n=t||"";return(i>n)-(n>i)}function h(e,t,i){var n;return(n=p(e.source,t.source))?n:(n=e.originalLine-t.originalLine)?n:(n=e.originalColumn-t.originalColumn,n||i?n:(n=p(e.name,t.name))?n:(n=e.generatedLine-t.generatedLine,n?n:e.generatedColumn-t.generatedColumn))}function d(e,t,i){var n;return(n=e.generatedLine-t.generatedLine)?n:(n=e.generatedColumn-t.generatedColumn,n||i?n:(n=p(e.source,t.source))?n:(n=e.originalLine-t.originalLine)?n:(n=e.originalColumn-t.originalColumn,n?n:p(e.name,t.name)))}t.getArg=n;var f=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,m=/^data:.+\,.+$/;t.urlParse=r,t.urlGenerate=s,t.normalize=o,t.join=a,t.relative=l,t.toSetString=u,t.fromSetString=c,t.compareByOriginalPositions=h,t.compareByGeneratedPositions=d})}),define("source-map/array-set",[],function(e,t,i){define(function(e,t,i){function n(){this._array=[],this._set={}}var r=e("source-map/util");n.fromArray=function(e,t){for(var i=new n,r=0,s=e.length;s>r;r++)i.add(e[r],t);return i},n.prototype.add=function(e,t){var i=this.has(e),n=this._array.length;(!i||t)&&this._array.push(e),i||(this._set[r.toSetString(e)]=n)},n.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,r.toSetString(e))},n.prototype.indexOf=function(e){if(this.has(e))return this._set[r.toSetString(e)];throw new Error('"'+e+'" is not in the set.')},n.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},n.prototype.toArray=function(){return this._array.slice()},t.ArraySet=n})}),define("source-map/source-map-consumer",[],function(e,t,i){define(function(e,t,i){function n(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var i=r.getArg(t,"version"),n=r.getArg(t,"sources"),s=r.getArg(t,"names",[]),a=r.getArg(t,"sourceRoot",null),l=r.getArg(t,"sourcesContent",null),u=r.getArg(t,"mappings"),c=r.getArg(t,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);n=n.map(r.normalize),this._names=o.fromArray(s,!0),this._sources=o.fromArray(n,!0),this.sourceRoot=a,this.sourcesContent=l,this._mappings=u,this.file=c}var r=e("source-map/util"),s=e("source-map/binary-search"),o=e("source-map/array-set").ArraySet,a=e("source-map/base64-vlq");n.fromSourceMap=function(e){var t=Object.create(n.prototype);return t._names=o.fromArray(e._names.toArray(),!0),t._sources=o.fromArray(e._sources.toArray(),!0),t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file,t.__generatedMappings=e._mappings.slice().sort(r.compareByGeneratedPositions),t.__originalMappings=e._mappings.slice().sort(r.compareByOriginalPositions),t},n.prototype._version=3,Object.defineProperty(n.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?r.join(this.sourceRoot,e):e},this)}}),n.prototype.__generatedMappings=null,Object.defineProperty(n.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__generatedMappings}}),n.prototype.__originalMappings=null,Object.defineProperty(n.prototype,"_originalMappings",{get:function(){return this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__originalMappings}}),n.prototype._nextCharIsMappingSeparator=function(e){var t=e.charAt(0);return";"===t||","===t},n.prototype._parseMappings=function(e,t){for(var i,n=1,s=0,o=0,l=0,u=0,c=0,p=e,h={};p.length>0;)if(";"===p.charAt(0))n++,p=p.slice(1),s=0;else if(","===p.charAt(0))p=p.slice(1);else{if(i={},i.generatedLine=n,a.decode(p,h),i.generatedColumn=s+h.value,s=i.generatedColumn,p=h.rest,p.length>0&&!this._nextCharIsMappingSeparator(p)){if(a.decode(p,h),i.source=this._sources.at(u+h.value),u+=h.value,p=h.rest,0===p.length||this._nextCharIsMappingSeparator(p))throw new Error("Found a source, but no line and column");if(a.decode(p,h),i.originalLine=o+h.value,o=i.originalLine,i.originalLine+=1,p=h.rest,0===p.length||this._nextCharIsMappingSeparator(p))throw new Error("Found a source and line, but no column");a.decode(p,h),i.originalColumn=l+h.value,l=i.originalColumn,p=h.rest,p.length>0&&!this._nextCharIsMappingSeparator(p)&&(a.decode(p,h),i.name=this._names.at(c+h.value),c+=h.value,p=h.rest)}this.__generatedMappings.push(i),"number"==typeof i.originalLine&&this.__originalMappings.push(i)}this.__generatedMappings.sort(r.compareByGeneratedPositions),this.__originalMappings.sort(r.compareByOriginalPositions)},n.prototype._findMapping=function(e,t,i,n,r){if(e[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[i]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return s.search(e,t,r)},n.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var i=this._generatedMappings[e+1];if(t.generatedLine===i.generatedLine){t.lastGeneratedColumn=i.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},n.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},i=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositions);if(i>=0){var n=this._generatedMappings[i];if(n.generatedLine===t.generatedLine){var s=r.getArg(n,"source",null);return null!=s&&null!=this.sourceRoot&&(s=r.join(this.sourceRoot,s)),{source:s,line:r.getArg(n,"originalLine",null),column:r.getArg(n,"originalColumn",null),name:r.getArg(n,"name",null)}}}return{source:null,line:null,column:null,name:null}},n.prototype.sourceContentFor=function(e){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=r.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var t;if(null!=this.sourceRoot&&(t=r.urlParse(this.sourceRoot))){var i=e.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!t.path||"/"==t.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}throw new Error('"'+e+'" is not in the SourceMap.')},n.prototype.generatedPositionFor=function(e){var t={source:r.getArg(e,"source"),originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")};null!=this.sourceRoot&&(t.source=r.relative(this.sourceRoot,t.source));var i=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions);if(i>=0){var n=this._originalMappings[i];return{line:r.getArg(n,"generatedLine",null),column:r.getArg(n,"generatedColumn",null),lastColumn:r.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.prototype.allGeneratedPositionsFor=function(e){var t={source:r.getArg(e,"source"),originalLine:r.getArg(e,"line"),originalColumn:1/0};null!=this.sourceRoot&&(t.source=r.relative(this.sourceRoot,t.source));var i=[],n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions);if(n>=0)for(var s=this._originalMappings[n];s&&s.originalLine===t.originalLine;)i.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[--n];return i.reverse()},n.GENERATED_ORDER=1,n.ORIGINAL_ORDER=2,n.prototype.eachMapping=function(e,t,i){var s,o=t||null,a=i||n.GENERATED_ORDER;switch(a){case n.GENERATED_ORDER:s=this._generatedMappings;break;case n.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var l=this.sourceRoot;s.map(function(e){var t=e.source;return null!=t&&null!=l&&(t=r.join(l,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,o)},t.SourceMapConsumer=n})}),define("source-map/binary-search",[],function(e,t,i){define(function(e,t,i){function n(e,t,i,r,s){var o=Math.floor((t-e)/2)+e,a=s(i,r[o],!0);return 0===a?o:a>0?t-o>1?n(o,t,i,r,s):o:o-e>1?n(e,o,i,r,s):0>e?-1:e}t.search=function(e,t,i){return 0===t.length?-1:n(-1,t.length,e,t,i)}})}),define("source-map/source-node",[],function(e,t,i){define(function(e,t,i){function n(e,t,i,n,r){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==i?null:i,this.name=null==r?null:r,this[l]=!0,null!=n&&this.add(n)}var r=e("source-map/source-map-generator").SourceMapGenerator,s=e("source-map/util"),o=/(\r?\n)/,a=/\r\n|[\s\S]/g,l="$$$isSourceNode$$$";n.fromStringWithSourceMap=function(e,t,i){function r(e,t){if(null===e||void 0===e.source)a.add(t);else{var r=i?s.join(i,e.source):e.source;a.add(new n(e.originalLine,e.originalColumn,r,t,e.name))}}var a=new n,l=e.split(o),u=function(){var e=l.shift(),t=l.shift()||"";return e+t},c=1,p=0,h=null;return t.eachMapping(function(e){if(null!==h){if(!(c<e.generatedLine)){var t=l[0],i=t.substr(0,e.generatedColumn-p);return l[0]=t.substr(e.generatedColumn-p),p=e.generatedColumn,r(h,i),void(h=e)}var i="";r(h,u()),c++,p=0}for(;c<e.generatedLine;)a.add(u()),c++;if(p<e.generatedColumn){var t=l[0];a.add(t.substr(0,e.generatedColumn)),l[0]=t.substr(e.generatedColumn),p=e.generatedColumn}h=e},this),l.length>0&&(h&&r(h,u()),a.add(l.join(""))),t.sources.forEach(function(e){var n=t.sourceContentFor(e);null!=n&&(null!=i&&(e=s.join(i,e)),a.setSourceContent(e,n))}),a},n.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[l]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},n.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[l]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},n.prototype.walk=function(e){for(var t,i=0,n=this.children.length;n>i;i++)t=this.children[i],t[l]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},n.prototype.join=function(e){var t,i,n=this.children.length;if(n>0){for(t=[],i=0;n-1>i;i++)t.push(this.children[i]),t.push(e);t.push(this.children[i]),this.children=t}return this},n.prototype.replaceRight=function(e,t){var i=this.children[this.children.length-1];return i[l]?i.replaceRight(e,t):"string"==typeof i?this.children[this.children.length-1]=i.replace(e,t):this.children.push("".replace(e,t)),this},n.prototype.setSourceContent=function(e,t){this.sourceContents[s.toSetString(e)]=t},n.prototype.walkSourceContents=function(e){for(var t=0,i=this.children.length;i>t;t++)this.children[t][l]&&this.children[t].walkSourceContents(e);for(var n=Object.keys(this.sourceContents),t=0,i=n.length;i>t;t++)e(s.fromSetString(n[t]),this.sourceContents[n[t]])},n.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},n.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},i=new r(e),n=!1,s=null,l=null,u=null,c=null;return this.walk(function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?((s!==r.source||l!==r.line||u!==r.column||c!==r.name)&&i.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),s=r.source,l=r.line,u=r.column,c=r.name,n=!0):n&&(i.addMapping({generated:{line:t.line,column:t.column}}),s=null,n=!1),e.match(a).forEach(function(e,a,l){o.test(e)?(t.line++,t.column=0,a+1===l.length?(s=null,n=!1):n&&i.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column+=e.length})}),this.walkSourceContents(function(e,t){i.setSourceContent(e,t)}),{code:t.code,map:i}},t.SourceNode=n})}),define("hammer",[],function(e,t,i){!function(e,t,n,r){"use strict";function s(e,t,i){return setTimeout(p(e,i),t)}function o(e,t,i){return Array.isArray(e)?(a(e,i[t],i),!0):!1}function a(e,t,i){var n;if(e)if(e.forEach)e.forEach(t,i);else if(e.length!==r)for(n=0;n<e.length;)t.call(i,e[n],n,e),n++;else for(n in e)e.hasOwnProperty(n)&&t.call(i,e[n],n,e)}function l(e,t,i){for(var n=Object.keys(t),s=0;s<n.length;)(!i||i&&e[n[s]]===r)&&(e[n[s]]=t[n[s]]),s++;return e}function u(e,t){return l(e,t,!0)}function c(e,t,i){var n,r=t.prototype;n=e.prototype=Object.create(r),n.constructor=e,n._super=r,i&&l(n,i)}function p(e,t){return function(){return e.apply(t,arguments)}}function h(e,t){return typeof e==pe?e.apply(t?t[0]||r:r,t):e}function d(e,t){return e===r?t:e}function f(e,t,i){a(y(t),function(t){e.addEventListener(t,i,!1)})}function m(e,t,i){a(y(t),function(t){e.removeEventListener(t,i,!1)})}function g(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function v(e,t){return e.indexOf(t)>-1}function y(e){return e.trim().split(/\s+/g)}function w(e,t,i){if(e.indexOf&&!i)return e.indexOf(t);for(var n=0;n<e.length;){if(i&&e[n][i]==t||!i&&e[n]===t)return n;n++}return-1}function b(e){return Array.prototype.slice.call(e,0)}function x(e,t,i){for(var n=[],r=[],s=0;s<e.length;){var o=t?e[s][t]:e[s];w(r,o)<0&&n.push(e[s]),r[s]=o,s++}return i&&(n=t?n.sort(function(e,i){return e[t]>i[t]}):n.sort()),n}function S(e,t){for(var i,n,s=t[0].toUpperCase()+t.slice(1),o=0;o<ue.length;){if(i=ue[o],n=i?i+s:t,n in e)return n;o++}return r}function T(){return me++}function C(e){var t=e.ownerDocument;return t.defaultView||t.parentWindow}function k(e,t){var i=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){h(e.options.enable,[e])&&i.handler(t)},this.init()}function E(e){var t,i=e.options.inputClass;return new(t=i?i:ye?H:we?q:ve?W:F)(e,P)}function P(e,t,i){var n=i.pointers.length,r=i.changedPointers.length,s=t&ke&&n-r===0,o=t&(Pe|Ae)&&n-r===0;i.isFirst=!!s,i.isFinal=!!o,s&&(e.session={}),i.eventType=t,A(e,i),e.emit("hammer.input",i),e.recognize(i),e.session.prevInput=i}function A(e,t){var i=e.session,n=t.pointers,r=n.length;i.firstInput||(i.firstInput=L(t)),r>1&&!i.firstMultiple?i.firstMultiple=L(t):1===r&&(i.firstMultiple=!1);var s=i.firstInput,o=i.firstMultiple,a=o?o.center:s.center,l=t.center=M(n);t.timeStamp=fe(),t.deltaTime=t.timeStamp-s.timeStamp,t.angle=O(a,l),t.distance=z(a,l),_(i,t),t.offsetDirection=I(t.deltaX,t.deltaY),t.scale=o?R(o.pointers,n):1,t.rotation=o?B(o.pointers,n):0,D(i,t);var u=e.element;g(t.srcEvent.target,u)&&(u=t.srcEvent.target),t.target=u}function _(e,t){var i=t.center,n=e.offsetDelta||{},r=e.prevDelta||{},s=e.prevInput||{};(t.eventType===ke||s.eventType===Pe)&&(r=e.prevDelta={x:s.deltaX||0,y:s.deltaY||0},n=e.offsetDelta={x:i.x,y:i.y}),t.deltaX=r.x+(i.x-n.x),t.deltaY=r.y+(i.y-n.y)}function D(e,t){var i,n,s,o,a=e.lastInterval||t,l=t.timeStamp-a.timeStamp;if(t.eventType!=Ae&&(l>Ce||a.velocity===r)){var u=a.deltaX-t.deltaX,c=a.deltaY-t.deltaY,p=N(l,u,c);n=p.x,s=p.y,i=de(p.x)>de(p.y)?p.x:p.y,o=I(u,c),e.lastInterval=t}else i=a.velocity,n=a.velocityX,s=a.velocityY,o=a.direction;t.velocity=i,t.velocityX=n,t.velocityY=s,t.direction=o}function L(e){for(var t=[],i=0;i<e.pointers.length;)t[i]={clientX:he(e.pointers[i].clientX),clientY:he(e.pointers[i].clientY)},i++;return{timeStamp:fe(),pointers:t,center:M(t),deltaX:e.deltaX,deltaY:e.deltaY}}function M(e){var t=e.length;if(1===t)return{x:he(e[0].clientX),y:he(e[0].clientY)};for(var i=0,n=0,r=0;t>r;)i+=e[r].clientX,n+=e[r].clientY,r++;return{x:he(i/t),y:he(n/t)}}function N(e,t,i){return{x:t/e||0,y:i/e||0}}function I(e,t){return e===t?_e:de(e)>=de(t)?e>0?De:Le:t>0?Me:Ne}function z(e,t,i){i||(i=Be);var n=t[i[0]]-e[i[0]],r=t[i[1]]-e[i[1]];return Math.sqrt(n*n+r*r)}function O(e,t,i){i||(i=Be);var n=t[i[0]]-e[i[0]],r=t[i[1]]-e[i[1]];return 180*Math.atan2(r,n)/Math.PI}function B(e,t){return O(t[1],t[0],Re)-O(e[1],e[0],Re)}function R(e,t){return z(t[0],t[1],Re)/z(e[0],e[1],Re)}function F(){this.evEl=He,this.evWin=je,this.allow=!0,this.pressed=!1,k.apply(this,arguments)}function H(){this.evEl=Ye,this.evWin=We,k.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function j(){this.evTarget=Ge,this.evWin=Ve,this.started=!1,k.apply(this,arguments)}function X(e,t){var i=b(e.touches),n=b(e.changedTouches);return t&(Pe|Ae)&&(i=x(i.concat(n),"identifier",!0)),[i,n]}function q(){this.evTarget=Ke,this.targetIds={},k.apply(this,arguments)}function Y(e,t){var i=b(e.touches),n=this.targetIds;if(t&(ke|Ee)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var r,s,o=b(e.changedTouches),a=[],l=this.target;if(s=i.filter(function(e){return g(e.target,l)}),t===ke)for(r=0;r<s.length;)n[s[r].identifier]=!0,r++;for(r=0;r<o.length;)n[o[r].identifier]&&a.push(o[r]),t&(Pe|Ae)&&delete n[o[r].identifier],r++;return a.length?[x(s.concat(a),"identifier",!0),a]:void 0}function W(){k.apply(this,arguments);var e=p(this.handler,this);this.touch=new q(this.manager,e),this.mouse=new F(this.manager,e)}function $(e,t){this.manager=e,this.set(t)}function G(e){if(v(e,it))return it;var t=v(e,nt),i=v(e,rt);return t&&i?nt+" "+rt:t||i?t?nt:rt:v(e,tt)?tt:et}function V(e){this.id=T(),this.manager=null,this.options=u(e||{},this.defaults),this.options.enable=d(this.options.enable,!0),this.state=st,this.simultaneous={},this.requireFail=[]}function U(e){return e&ct?"cancel":e<?"end":e&at?"move":e&ot?"start":""}function K(e){return e==Ne?"down":e==Me?"up":e==De?"left":e==Le?"right":""}function Q(e,t){var i=t.manager;return i?i.get(e):e}function J(){V.apply(this,arguments)}function Z(){J.apply(this,arguments),this.pX=null,this.pY=null}function ee(){J.apply(this,arguments)}function te(){V.apply(this,arguments),this._timer=null,this._input=null}function ie(){J.apply(this,arguments)}function ne(){J.apply(this,arguments)}function re(){V.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function se(e,t){return t=t||{},t.recognizers=d(t.recognizers,se.defaults.preset),new oe(e,t)}function oe(e,t){t=t||{},this.options=u(t,se.defaults),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.element=e,this.input=E(this),this.touchAction=new $(this,this.options.touchAction),ae(this,!0),a(t.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function ae(e,t){var i=e.element;a(e.options.cssProps,function(e,n){i.style[S(i.style,n)]=t?e:""})}function le(e,i){var n=t.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=i,i.target.dispatchEvent(n)}var ue=["","webkit","moz","MS","ms","o"],ce=t.createElement("div"),pe="function",he=Math.round,de=Math.abs,fe=Date.now,me=1,ge=/mobile|tablet|ip(ad|hone|od)|android/i,ve="ontouchstart"in e,ye=S(e,"PointerEvent")!==r,we=ve&&ge.test(navigator.userAgent),be="touch",xe="pen",Se="mouse",Te="kinect",Ce=25,ke=1,Ee=2,Pe=4,Ae=8,_e=1,De=2,Le=4,Me=8,Ne=16,Ie=De|Le,ze=Me|Ne,Oe=Ie|ze,Be=["x","y"],Re=["clientX","clientY"];k.prototype={handler:function(){},init:function(){this.evEl&&f(this.element,this.evEl,this.domHandler), +this.evTarget&&f(this.target,this.evTarget,this.domHandler),this.evWin&&f(C(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(C(this.element),this.evWin,this.domHandler)}};var Fe={mousedown:ke,mousemove:Ee,mouseup:Pe},He="mousedown",je="mousemove mouseup";c(F,k,{handler:function(e){var t=Fe[e.type];t&ke&&0===e.button&&(this.pressed=!0),t&Ee&&1!==e.which&&(t=Pe),this.pressed&&this.allow&&(t&Pe&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:Se,srcEvent:e}))}});var Xe={pointerdown:ke,pointermove:Ee,pointerup:Pe,pointercancel:Ae,pointerout:Ae},qe={2:be,3:xe,4:Se,5:Te},Ye="pointerdown",We="pointermove pointerup pointercancel";e.MSPointerEvent&&(Ye="MSPointerDown",We="MSPointerMove MSPointerUp MSPointerCancel"),c(H,k,{handler:function(e){var t=this.store,i=!1,n=e.type.toLowerCase().replace("ms",""),r=Xe[n],s=qe[e.pointerType]||e.pointerType,o=s==be,a=w(t,e.pointerId,"pointerId");r&ke&&(0===e.button||o)?0>a&&(t.push(e),a=t.length-1):r&(Pe|Ae)&&(i=!0),0>a||(t[a]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:s,srcEvent:e}),i&&t.splice(a,1))}});var $e={touchstart:ke,touchmove:Ee,touchend:Pe,touchcancel:Ae},Ge="touchstart",Ve="touchstart touchmove touchend touchcancel";c(j,k,{handler:function(e){var t=$e[e.type];if(t===ke&&(this.started=!0),this.started){var i=X.call(this,e,t);t&(Pe|Ae)&&i[0].length-i[1].length===0&&(this.started=!1),this.callback(this.manager,t,{pointers:i[0],changedPointers:i[1],pointerType:be,srcEvent:e})}}});var Ue={touchstart:ke,touchmove:Ee,touchend:Pe,touchcancel:Ae},Ke="touchstart touchmove touchend touchcancel";c(q,k,{handler:function(e){var t=Ue[e.type],i=Y.call(this,e,t);i&&this.callback(this.manager,t,{pointers:i[0],changedPointers:i[1],pointerType:be,srcEvent:e})}}),c(W,k,{handler:function(e,t,i){var n=i.pointerType==be,r=i.pointerType==Se;if(n)this.mouse.allow=!1;else if(r&&!this.mouse.allow)return;t&(Pe|Ae)&&(this.mouse.allow=!0),this.callback(e,t,i)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Qe=S(ce.style,"touchAction"),Je=Qe!==r,Ze="compute",et="auto",tt="manipulation",it="none",nt="pan-x",rt="pan-y";$.prototype={set:function(e){e==Ze&&(e=this.compute()),Je&&(this.manager.element.style[Qe]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return a(this.manager.recognizers,function(t){h(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),G(e.join(" "))},preventDefaults:function(e){if(!Je){var t=e.srcEvent,i=e.offsetDirection;if(this.manager.session.prevented)return void t.preventDefault();var n=this.actions,r=v(n,it),s=v(n,rt),o=v(n,nt);return r||s&&i&Ie||o&&i&ze?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var st=1,ot=2,at=4,lt=8,ut=lt,ct=16,pt=32;V.prototype={defaults:{},set:function(e){return l(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(o(e,"recognizeWith",this))return this;var t=this.simultaneous;return e=Q(e,this),t[e.id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return o(e,"dropRecognizeWith",this)?this:(e=Q(e,this),delete this.simultaneous[e.id],this)},requireFailure:function(e){if(o(e,"requireFailure",this))return this;var t=this.requireFail;return e=Q(e,this),-1===w(t,e)&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(o(e,"dropRequireFailure",this))return this;e=Q(e,this);var t=w(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){function t(t){i.manager.emit(i.options.event+(t?U(n):""),e)}var i=this,n=this.state;lt>n&&t(!0),t(),n>=lt&&t(!0)},tryEmit:function(e){return this.canEmit()?this.emit(e):void(this.state=pt)},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(pt|st)))return!1;e++}return!0},recognize:function(e){var t=l({},e);return h(this.options.enable,[this,t])?(this.state&(ut|ct|pt)&&(this.state=st),this.state=this.process(t),void(this.state&(ot|at|lt|ct)&&this.tryEmit(t))):(this.reset(),void(this.state=pt))},process:function(e){},getTouchAction:function(){},reset:function(){}},c(J,V,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,i=e.eventType,n=t&(ot|at),r=this.attrTest(e);return n&&(i&Ae||!r)?t|ct:n||r?i&Pe?t|lt:t&ot?t|at:ot:pt}}),c(Z,J,{defaults:{event:"pan",threshold:10,pointers:1,direction:Oe},getTouchAction:function(){var e=this.options.direction,t=[];return e&Ie&&t.push(rt),e&ze&&t.push(nt),t},directionTest:function(e){var t=this.options,i=!0,n=e.distance,r=e.direction,s=e.deltaX,o=e.deltaY;return r&t.direction||(t.direction&Ie?(r=0===s?_e:0>s?De:Le,i=s!=this.pX,n=Math.abs(e.deltaX)):(r=0===o?_e:0>o?Me:Ne,i=o!=this.pY,n=Math.abs(e.deltaY))),e.direction=r,i&&n>t.threshold&&r&t.direction},attrTest:function(e){return J.prototype.attrTest.call(this,e)&&(this.state&ot||!(this.state&ot)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=K(e.direction);t&&this.manager.emit(this.options.event+t,e),this._super.emit.call(this,e)}}),c(ee,J,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[it]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&ot)},emit:function(e){if(this._super.emit.call(this,e),1!==e.scale){var t=e.scale<1?"in":"out";this.manager.emit(this.options.event+t,e)}}}),c(te,V,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[et]},process:function(e){var t=this.options,i=e.pointers.length===t.pointers,n=e.distance<t.threshold,r=e.deltaTime>t.time;if(this._input=e,!n||!i||e.eventType&(Pe|Ae)&&!r)this.reset();else if(e.eventType&ke)this.reset(),this._timer=s(function(){this.state=ut,this.tryEmit()},t.time,this);else if(e.eventType&Pe)return ut;return pt},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===ut&&(e&&e.eventType&Pe?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=fe(),this.manager.emit(this.options.event,this._input)))}}),c(ie,J,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[it]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&ot)}}),c(ne,J,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:Ie|ze,pointers:1},getTouchAction:function(){return Z.prototype.getTouchAction.call(this)},attrTest:function(e){var t,i=this.options.direction;return i&(Ie|ze)?t=e.velocity:i&Ie?t=e.velocityX:i&ze&&(t=e.velocityY),this._super.attrTest.call(this,e)&&i&e.direction&&e.distance>this.options.threshold&&de(t)>this.options.velocity&&e.eventType&Pe},emit:function(e){var t=K(e.direction);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),c(re,V,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[tt]},process:function(e){var t=this.options,i=e.pointers.length===t.pointers,n=e.distance<t.threshold,r=e.deltaTime<t.time;if(this.reset(),e.eventType&ke&&0===this.count)return this.failTimeout();if(n&&r&&i){if(e.eventType!=Pe)return this.failTimeout();var o=this.pTime?e.timeStamp-this.pTime<t.interval:!0,a=!this.pCenter||z(this.pCenter,e.center)<t.posThreshold;this.pTime=e.timeStamp,this.pCenter=e.center,a&&o?this.count+=1:this.count=1,this._input=e;var l=this.count%t.taps;if(0===l)return this.hasRequireFailures()?(this._timer=s(function(){this.state=ut,this.tryEmit()},t.interval,this),ot):ut}return pt},failTimeout:function(){return this._timer=s(function(){this.state=pt},this.options.interval,this),pt},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ut&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),se.VERSION="2.0.4",se.defaults={domEvents:!1,touchAction:Ze,enable:!0,inputTarget:null,inputClass:null,preset:[[ie,{enable:!1}],[ee,{enable:!1},["rotate"]],[ne,{direction:Ie}],[Z,{direction:Ie},["swipe"]],[re],[re,{event:"doubletap",taps:2},["tap"]],[te]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var ht=1,dt=2;oe.prototype={set:function(e){return l(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?dt:ht},recognize:function(e){var t=this.session;if(!t.stopped){this.touchAction.preventDefaults(e);var i,n=this.recognizers,r=t.curRecognizer;(!r||r&&r.state&ut)&&(r=t.curRecognizer=null);for(var s=0;s<n.length;)i=n[s],t.stopped===dt||r&&i!=r&&!i.canRecognizeWith(r)?i.reset():i.recognize(e),!r&&i.state&(ot|at|lt)&&(r=t.curRecognizer=i),s++}},get:function(e){if(e instanceof V)return e;for(var t=this.recognizers,i=0;i<t.length;i++)if(t[i].options.event==e)return t[i];return null},add:function(e){if(o(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(o(e,"remove",this))return this;var t=this.recognizers;return e=this.get(e),t.splice(w(t,e),1),this.touchAction.update(),this},on:function(e,t){var i=this.handlers;return a(y(e),function(e){i[e]=i[e]||[],i[e].push(t)}),this},off:function(e,t){var i=this.handlers;return a(y(e),function(e){t?i[e].splice(w(i[e],t),1):delete i[e]}),this},emit:function(e,t){this.options.domEvents&&le(e,t);var i=this.handlers[e]&&this.handlers[e].slice();if(i&&i.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var n=0;n<i.length;)i[n](t),n++}},destroy:function(){this.element&&ae(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(se,{INPUT_START:ke,INPUT_MOVE:Ee,INPUT_END:Pe,INPUT_CANCEL:Ae,STATE_POSSIBLE:st,STATE_BEGAN:ot,STATE_CHANGED:at,STATE_ENDED:lt,STATE_RECOGNIZED:ut,STATE_CANCELLED:ct,STATE_FAILED:pt,DIRECTION_NONE:_e,DIRECTION_LEFT:De,DIRECTION_RIGHT:Le,DIRECTION_UP:Me,DIRECTION_DOWN:Ne,DIRECTION_HORIZONTAL:Ie,DIRECTION_VERTICAL:ze,DIRECTION_ALL:Oe,Manager:oe,Input:k,TouchAction:$,TouchInput:q,MouseInput:F,PointerEventInput:H,TouchMouseInput:W,SingleTouchInput:j,Recognizer:V,AttrRecognizer:J,Tap:re,Pan:Z,Swipe:ne,Pinch:ee,Rotate:ie,Press:te,on:f,off:m,each:a,merge:u,extend:l,inherit:c,bindFn:p,prefixed:S}),typeof define==pe&&define.amd?define(function(){return se}):"undefined"!=typeof i&&i.exports?i.exports=se:e[n]=se}(window,document,"Hammer")}); \ No newline at end of file diff --git a/static/huodong/cuxiao/css/newyear/index-2.css b/static/huodong/cuxiao/css/newyear/index-2.css new file mode 100644 index 0000000..77073e7 --- /dev/null +++ b/static/huodong/cuxiao/css/newyear/index-2.css @@ -0,0 +1,125 @@ +* { + margin: 0; + padding: 0; +} +.coupon-container img { + display: block; + max-width: 100%; +} + +.coupon-top { + position: relative; +} +.coupon-top .go-check { + position: absolute; + bottom: 7.075rem; + width: 100%; + height: 3.0rem; +} +.coupon-top .app-btn { + position: absolute; + width: 7.55rem; + height: 4.0rem; + bottom: 1.6rem; +} +.coupon-top .app-btn.app1{ + left: 0.325rem +} +.coupon-top .app-btn.app2{ + right: 0.325rem +} +.coupon-bottom { + height: 24.125rem; + background: url(../../img/newyear/160105/bottom-bg.png) no-repeat bottom center; + background-size: 100% 100%; +} + +.coupon-banner { + text-align: center; + font-size: 0; +} +.coupon-banner a { + display: inline-block; + width: 6.6rem; + height: 6.6rem; + margin: 0 0.25rem 0.55rem; +} + +.coupon-bottom .follow-yoho { + display: block; + margin: 1.5rem auto 0; + width: 10.175rem; + height: 2.675rem; +} + +.bottom-btn { + margin: 1.95rem 0 0; + font-size: 0; + text-align: center; +} +.bottom-btn a { + display: inline-block; + margin: 0 1.25rem; + width: 5.225rem; + height: 2.0rem; +} +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: url(../../img/newyear/160105/share.png) center top no-repeat; + -webkit-background-size: 100%; + -moz-background-size: 100%; + background-size: 100%; + display: none; +} + +.has-done { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: rgba(0,0,0,0.4) url(../../img/newyear/160105/11.png); + background-repeat: no-repeat; + background-size: 80% auto; + background-position: center center; + overflow: hidden; + display: none; +} + +.dialog-box { + display: none; + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: rgba(0,0,0,0.4); + z-index: 999; +} + +.dialog-inner { + position: absolute; + width: 13.375rem; + height: 9.625rem; + top: 50%; + left: 50%; + margin: -4.8125rem 0 0 -6.6875rem; +} + +.dialog-inner img { + max-width: 100%; +} + +.dialog-inner span { + position: absolute; + width: 9rem; + height: 1.85rem; + bottom: 0.6rem; + left: 50%; + margin: 0 0 0 -4.5rem; + cursor: pointer; +} \ No newline at end of file diff --git a/static/huodong/cuxiao/img/newuser/160107/01.jpg b/static/huodong/cuxiao/img/newuser/160107/01.jpg new file mode 100644 index 0000000..c931bbc Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/01.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/02.jpg b/static/huodong/cuxiao/img/newuser/160107/02.jpg new file mode 100644 index 0000000..be9c24a Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/02.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/03.jpg b/static/huodong/cuxiao/img/newuser/160107/03.jpg new file mode 100644 index 0000000..5b009ce Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/03.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/04.jpg b/static/huodong/cuxiao/img/newuser/160107/04.jpg new file mode 100644 index 0000000..114f4ca Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/04.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/05.jpg b/static/huodong/cuxiao/img/newuser/160107/05.jpg new file mode 100644 index 0000000..6582d95 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/05.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/06.jpg b/static/huodong/cuxiao/img/newuser/160107/06.jpg new file mode 100644 index 0000000..945080a Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/06.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/07.jpg b/static/huodong/cuxiao/img/newuser/160107/07.jpg new file mode 100644 index 0000000..b5d3459 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/07.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/08.jpg b/static/huodong/cuxiao/img/newuser/160107/08.jpg new file mode 100644 index 0000000..f2c7f92 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/08.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/09.jpg b/static/huodong/cuxiao/img/newuser/160107/09.jpg new file mode 100644 index 0000000..c38ab9e Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/09.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/10.jpg b/static/huodong/cuxiao/img/newuser/160107/10.jpg new file mode 100644 index 0000000..b82d631 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/10.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/11.jpg b/static/huodong/cuxiao/img/newuser/160107/11.jpg new file mode 100644 index 0000000..dbdd6e8 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/11.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/12.jpg b/static/huodong/cuxiao/img/newuser/160107/12.jpg new file mode 100644 index 0000000..7eb6b4a Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/12.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/13.jpg b/static/huodong/cuxiao/img/newuser/160107/13.jpg new file mode 100644 index 0000000..608560f Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/13.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/14.jpg b/static/huodong/cuxiao/img/newuser/160107/14.jpg new file mode 100644 index 0000000..4437f5b Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/14.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/15.jpg b/static/huodong/cuxiao/img/newuser/160107/15.jpg new file mode 100644 index 0000000..d8a8017 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/15.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/16.jpg b/static/huodong/cuxiao/img/newuser/160107/16.jpg new file mode 100644 index 0000000..7c286a8 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/16.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/17.jpg b/static/huodong/cuxiao/img/newuser/160107/17.jpg new file mode 100644 index 0000000..e31d07f Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/17.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/24-1.jpg b/static/huodong/cuxiao/img/newuser/160107/24-1.jpg new file mode 100644 index 0000000..aaa58e8 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/24-1.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/24-2.jpg b/static/huodong/cuxiao/img/newuser/160107/24-2.jpg new file mode 100644 index 0000000..bff7cfb Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/24-2.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/24-3.jpg b/static/huodong/cuxiao/img/newuser/160107/24-3.jpg new file mode 100644 index 0000000..9b2d521 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/24-3.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/25-1.jpg b/static/huodong/cuxiao/img/newuser/160107/25-1.jpg new file mode 100644 index 0000000..50de3b5 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/25-1.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/25-2.jpg b/static/huodong/cuxiao/img/newuser/160107/25-2.jpg new file mode 100644 index 0000000..5d21aab Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/25-2.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/25-3.jpg b/static/huodong/cuxiao/img/newuser/160107/25-3.jpg new file mode 100644 index 0000000..820eb7f Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/25-3.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/25.jpg b/static/huodong/cuxiao/img/newuser/160107/25.jpg new file mode 100644 index 0000000..03681c2 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/25.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/26.jpg b/static/huodong/cuxiao/img/newuser/160107/26.jpg new file mode 100644 index 0000000..1fa0563 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/26.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/27.jpg b/static/huodong/cuxiao/img/newuser/160107/27.jpg new file mode 100644 index 0000000..dbfa3b3 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/27.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/line-1.jpg b/static/huodong/cuxiao/img/newuser/160107/line-1.jpg new file mode 100644 index 0000000..144f153 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/line-1.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/line-2.jpg b/static/huodong/cuxiao/img/newuser/160107/line-2.jpg new file mode 100644 index 0000000..01c8907 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/line-2.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/line-3.jpg b/static/huodong/cuxiao/img/newuser/160107/line-3.jpg new file mode 100644 index 0000000..b28da11 Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/line-3.jpg differ diff --git a/static/huodong/cuxiao/img/newuser/160107/two.jpg b/static/huodong/cuxiao/img/newuser/160107/two.jpg new file mode 100644 index 0000000..e1a5fcb Binary files /dev/null and b/static/huodong/cuxiao/img/newuser/160107/two.jpg differ diff --git a/static/js/cart/chose-panel.js b/static/js/cart/chose-panel.js index cb0539f..bd9089c 100644 --- a/static/js/cart/chose-panel.js +++ b/static/js/cart/chose-panel.js @@ -18,7 +18,6 @@ var $chosePanel = $('#chose-panel'), $chosed, $imgsThumb, $leftNum, - $leftNumHtml, leftNum, confirming, curColorIndex, @@ -32,7 +31,6 @@ var $chosePanel = $('#chose-panel'), queryString, $yohoPage = $('.yoho-page'); - //初始化购物车面板显示 function init() { hasChooseColor = false; @@ -43,8 +41,6 @@ function init() { $allChoseItems = $('.chose-items'); $sizeRowList = $('.size-list ul'); $leftNum = $('#left-num'); - $leftNumHtml = - $sizeRowList.eq(0).toggleClass('hide'); } function checkColorSizeNum() { diff --git a/static/js/cart/good.js b/static/js/cart/good.js index 6fc166b..d63f07a 100644 --- a/static/js/cart/good.js +++ b/static/js/cart/good.js @@ -10,8 +10,9 @@ var $ = require('jquery'), lazyLoad = require('yoho.lazyload'); var dialog = require('../me/dialog'), - tip = require('../plugin/tip'), - orderInfo = require('./order-info').orderInfo; + tip = require('../plugin/tip'); + +// orderInfo = require('./order-info').orderInfo; var $selectAllBtn = $('.balance .checkbox'), requesting = false; @@ -106,8 +107,9 @@ $('.icon-del').on('touchstart', function(e) { autoHide: true, fast: true }); - orderInfo('couponCode', null); - orderInfo('couponName', null); + + // orderInfo('couponCode', null); + // orderInfo('couponName', null); window.setCookie('_yoho-cart-refreshByDelete', true); window.location.href = '/cart/index/index?cartType=' + $('#cartType').val(); } else { diff --git a/static/js/cart/order-ensure.js b/static/js/cart/order-ensure.js index b8e77ee..a8375b4 100644 --- a/static/js/cart/order-ensure.js +++ b/static/js/cart/order-ensure.js @@ -40,6 +40,12 @@ if ($couponUse.data('name') !== orderInfo('couponName')) { orderInfo('couponName', null); } +// 来自购物车的链接默认不使用优惠券 +if (document.referrer && document.referrer.indexOf('/cart/index/index') !== -1) { + orderInfo('couponCode', null); + orderInfo('couponName', null); +} + orderInfo('cartType', queryString.cartType || queryString.carttype || 'ordinary'); function dispacthTapEvt(e) { @@ -120,6 +126,9 @@ function orderCompute() { }); } +// 进入页面计算一次价格 +orderCompute(); + function submitOrder() { var invoiceText = $invoice.find('[name="invoice-title"]').val() || orderInfo('invoiceText'), msg = $('#msg').find('input').val() || orderInfo('msg'); diff --git a/static/js/cart/order-info.js b/static/js/cart/order-info.js index 9d3ab86..4857997 100644 --- a/static/js/cart/order-info.js +++ b/static/js/cart/order-info.js @@ -30,9 +30,9 @@ function init() { // info 必须是 JSON 字符串 try { info = JSON.parse(info); - + // 2015/12/31 hf: fixes bug to 购物车页面调用该JS, 会导致有YOHO币,值却没有传给服务端. 因此需要再设置一下 - info['yohoCoin'] = $('.coin').data('yoho-coin') || 0; + // info.yohoCoin = $('.coin').data('yoho-coin') || 0; } catch (e) { init(); } diff --git a/static/js/cart/select-coupon.js b/static/js/cart/select-coupon.js index 9ecc26b..9fca4e1 100644 --- a/static/js/cart/select-coupon.js +++ b/static/js/cart/select-coupon.js @@ -158,15 +158,14 @@ function getCouponHandle(coupons) { couponCode: couponCode } }).then(function(res) { - if (res.message) { - tip.show(res.message); - } if (res.code === 200) { //tip.show('优惠券可用'); orderInfo('couponCode', res.data.coupon_code); orderInfo('couponName', res.data.coupon_title); window.location.href = '/cart/index/orderEnsure'; + } else if (res.message) { + tip.show(res.message); } }).fail(function() { tip.show('网络错误'); diff --git a/static/js/me/fav.js b/static/js/me/fav.js index 75930b4..609f2c6 100644 --- a/static/js/me/fav.js +++ b/static/js/me/fav.js @@ -90,8 +90,8 @@ function loadData($parent, url, page) { $parent.closest('.fav-type').find('.fav-null-box').removeClass('hide'); } else if (data === 'end') { $parent.closest('.fav-type').find('.fav-load-background') - .removeClass('fav-load-background').html('没有更多了'); - + .removeClass('fav-load-background').html('没有更多了'); + // hf: fixes bug to 修改没有数据还调接口,加载错误页面问题 brandLockId = true; lockId = true; @@ -241,5 +241,7 @@ $(window).scroll(scrollHandler); $(document).on('touchend', '.swiper-header', function() { var url = $(this).find('.fav-more').attr('href'); - window.location.href = url; + if (url) { + window.location.href = url; + } }); diff --git a/static/package.json b/static/package.json index d806755..1351c6f 100644 --- a/static/package.json +++ b/static/package.json @@ -1,6 +1,6 @@ { "name": "yohobuy", - "version": "1.3.2", + "version": "1.3.3", "description": "yohobuy statics", "keywords": [], "homepage": "", diff --git a/template/huodong.m.yohobuy.com/actions/cuxiao/coupon/newuser3-test.phtml b/template/huodong.m.yohobuy.com/actions/cuxiao/coupon/newuser3-test.phtml new file mode 100644 index 0000000..882ec27 --- /dev/null +++ b/template/huodong.m.yohobuy.com/actions/cuxiao/coupon/newuser3-test.phtml @@ -0,0 +1,110 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <title>{{staticTitle}}</title> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> + <style> + *{margin: 0;padding: 0;} + #coupon-container {width: 100%;} + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} + .img-box {width: 100%;position: relative;} + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} + .img-box .href-left {left: 0} + .img-box .href-right {right: 0} + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} + .yoho-tip {position: fixed;display: none;text-align: center;width: 70%;padding: 34px 0;top: 50%;left: 50%;margin-left: -35%;margin-top: -45px;background-color: #000;opacity: 0.9;color: #fff;font-size: 18px;border: none;border-radius: 10px;} + </style> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> +</head> +<body> + <div id="coupon-container" param="{{activityId}}" isLogged="{{isLogged}}"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/01.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/02.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/03.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/04.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/05.jpg"> + <a class="href href-right" href="{{url_yohope}}"></a> + </div> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/06.jpg"> + <a class="href href-center" href="{{url_mycoupon}}"></a> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-2.jpg"> + + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/07.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/08.jpg"> + <a class="href href-left" href="{{url_more}}"></a> + <a class="href href-right" href="{{url_more}}"></a> + </div> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/09.jpg"> + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12129"></span> + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12130"></span> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/10.jpg"> + <a class="href href-left" href="{{url_more}}"></a> + <a class="href href-right" href="{{url_1}}"></a> + </div> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/11.jpg"> + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12131"></span> + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12132"></span> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/12.jpg"> + <a class="href href-left" href="{{url_2}}"></a> + <a class="href href-right" href="{{url_3}}"></a> + </div> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/13.jpg"> + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12133"></span> + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12134"></span> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/14.jpg"> + <a class="href href-left" href="{{url_4}}"></a> + <a class="href href-right" href="{{url_5}}"></a> + </div> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/15.jpg"> + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12135"></span> + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12136"></span> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/16.jpg"> + <a class="href href-left" href="{{url_6}}"></a> + </div> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/17.jpg"> + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12137"></span> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> + + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-1.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-2.jpg"> + <a class="show-more" href="{{url_help}}"></a> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-3.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-2.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/25-1.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/25-2.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/25-3.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/26.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/27.jpg"> + </div> + <script type="text/javascript" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script> + <script type="text/javascript" src="{{jsUrl}}/cuxiao/js/newuser/coupon2.js"></script> +</body> +</html> \ No newline at end of file diff --git a/template/huodong.m.yohobuy.com/actions/cuxiao/coupon/newuser3.phtml b/template/huodong.m.yohobuy.com/actions/cuxiao/coupon/newuser3.phtml new file mode 100644 index 0000000..50cba71 --- /dev/null +++ b/template/huodong.m.yohobuy.com/actions/cuxiao/coupon/newuser3.phtml @@ -0,0 +1,109 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <title>{{staticTitle}}</title> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> + <style> + *{margin: 0;padding: 0;} + #coupon-container {width: 100%;} + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} + .img-box {width: 100%;position: relative;} + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} + .img-box .href-left {left: 0} + .img-box .href-right {right: 0} + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} + </style> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> +</head> +<body> + <div id="coupon-container" param="{{activityId}}" isLogged="{{isLogged}}"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/01.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/02.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/03.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/04.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/05.jpg"> + <a class="href href-right" href="{{url_yohope}}"></a> + </div> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/06.jpg"> + <a class="href href-center" href="{{url_mycoupon}}"></a> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-2.jpg"> + + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/07.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/08.jpg"> + <a class="href href-left" href="{{url_more}}"></a> + <a class="href href-right" href="{{url_more}}"></a> + </div> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/09.jpg"> + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="17443"></span> + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="17445"></span> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/10.jpg"> + <a class="href href-left" href="{{url_more}}"></a> + <a class="href href-right" href="{{url_1}}"></a> + </div> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/11.jpg"> + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="17463"></span> + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="17451"></span> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/12.jpg"> + <a class="href href-left" href="{{url_2}}"></a> + <a class="href href-right" href="{{url_3}}"></a> + </div> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/13.jpg"> + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="17461"></span> + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="17459"></span> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/14.jpg"> + <a class="href href-left" href="{{url_4}}"></a> + <a class="href href-right" href="{{url_5}}"></a> + </div> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/15.jpg"> + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="17453"></span> + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="17455"></span> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/16.jpg"> + <a class="href href-left" href="{{url_6}}"></a> + </div> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/17.jpg"> + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="17449"></span> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> + + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-1.jpg"> + <div class="img-box"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-2.jpg"> + <a class="show-more" href="{{url_help}}"></a> + </div> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-3.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-2.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/25-1.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/25-2.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/25-3.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/26.jpg"> + <img src="{{jsUrl}}/cuxiao/img/newuser/160107/27.jpg"> + </div> + <script type="text/javascript" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script> + <script type="text/javascript" src="{{jsUrl}}/cuxiao/js/newuser/coupon2.js"></script> +</body> +</html> \ No newline at end of file diff --git a/template/huodong.m.yohobuy.com/actions/cuxiao/newyear/coupon.phtml b/template/huodong.m.yohobuy.com/actions/cuxiao/newyear/coupon.phtml index 50dfe22..b9801d9 100644 --- a/template/huodong.m.yohobuy.com/actions/cuxiao/newyear/coupon.phtml +++ b/template/huodong.m.yohobuy.com/actions/cuxiao/newyear/coupon.phtml @@ -9,7 +9,7 @@ <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="grey"> - <link rel="stylesheet" href="{{imgUrl}}/cuxiao/css/newyear/index.css"> + <link rel="stylesheet" href="{{imgUrl}}/cuxiao/css/newyear/index-2.css"> <script> (function(doc, win) { var docEl = doc.documentElement; @@ -28,8 +28,8 @@ <div class="coupon-top"> <img src="{{imgUrl}}/cuxiao/img/newyear/160105/top-bg.png" alt=""> <a class="go-check" href="{{myCouponUrl}}"></a> - <a class="app-btn app1" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> - <a class="app-btn app2" href="http://www.yohoshow.com/about/index/yohoboysqr"></a> + <a class="app-btn app1" href="{{appUrl_1}}"></a> + <a class="app-btn app2" href="{{appUrl_2}}"></a> </div> <div class="coupon-bottom"> <div class="coupon-banner"> @@ -40,7 +40,7 @@ </div> <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> <div class="bottom-btn"> - <a class="play-again" href="javascript:;"></a> + <a class="play-again" href="{{playAgain}}"></a> <a class="share-btn" href="javascript:;"></a> </div> </div> diff --git a/template/m.yohobuy.com/partials/cart/chose-panel.phtml b/template/m.yohobuy.com/partials/cart/chose-panel.phtml index 36aaff5..d231b24 100644 --- a/template/m.yohobuy.com/partials/cart/chose-panel.phtml +++ b/template/m.yohobuy.com/partials/cart/chose-panel.phtml @@ -34,16 +34,22 @@ <div class="size-list block-list"> <span>尺码</span> {{# sizes}} - - <ul class="size-row clearfix hide"> - {{# size}} - <li class="block {{#if chosed}}chosed{{/if}} {{#unless sizeNum}}zero-stock{{/unless}}" data-id="{{id}}" data-colorid="{{colorId}}" data-num="{{sizeNum}}" data-numstr="{{colorNumStr}}" data-skuid="{{skuId}}" data-goodid="{{goodsId}}"> - {{name}} - </li> - {{/ size}} - </ul> - + <ul class="size-row clearfix hide"> + {{# size}} + <li class="block {{#if chosed}}chosed{{/if}} {{#unless sizeNum}}zero-stock{{/unless}}" data-id="{{id}}" data-colorid="{{colorId}}" data-num="{{sizeNum}}" data-numstr="{{colorNumStr}}" data-skuid="{{skuId}}" data-goodid="{{goodsId}}"> + {{name}} + </li> + {{/ size}} + </ul> {{/ sizes}} + + {{#if defaultSizes}} + <ul class="size-row clearfix default-size"> + {{#each defaultSizes}} + <li class="block {{#if numZero}}zero-stock{{/if}}" data-numstr="{{numStr}}">{{name}}</li> + {{/each}} + </ul> + {{/if}} </div> <p> <div class="num"> diff --git a/template/m.yohobuy.com/partials/layout/download_app.phtml b/template/m.yohobuy.com/partials/layout/download_app.phtml index a99e151..f8bf2de 100644 --- a/template/m.yohobuy.com/partials/layout/download_app.phtml +++ b/template/m.yohobuy.com/partials/layout/download_app.phtml @@ -8,7 +8,7 @@ <i class="close-icon iconfont"></i> <div class="circle-rightbottom"></div> </a> - <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> + <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho" id="float-layer-btn"> 立即下载 </a> </div> diff --git a/template/m.yohobuy.com/partials/product/feedback-tab.phtml b/template/m.yohobuy.com/partials/product/feedback-tab.phtml index b262685..c34e391 100644 --- a/template/m.yohobuy.com/partials/product/feedback-tab.phtml +++ b/template/m.yohobuy.com/partials/product/feedback-tab.phtml @@ -59,8 +59,8 @@ <span class="iconfont"></span>暂无咨询 </div> - <div class="consult-content-footer tap-hightlight" data-href="{{commentsLink}}"> - <a href="javascript:;"> + <div class="consult-content-footer tap-hightlight"> + <a href="{{consultsUrl}}"> 我要咨询 <span class="iconfont"></span></a> </div> diff --git a/template/www.yohobuy.com/actions/passport/back/index.phtml b/template/www.yohobuy.com/actions/passport/back/index.phtml index 4c3abd5..494d990 100644 --- a/template/www.yohobuy.com/actions/passport/back/index.phtml +++ b/template/www.yohobuy.com/actions/passport/back/index.phtml @@ -15,7 +15,7 @@ {{/ countryList}} </ul> </div> - <form id="back-form" class="back-form" action=""> + <form id="back-form" class="back-form" action="/passport/back/email" method="post"> <input id="country-code-hide" type="hidden" name="country-code" value="+86"> <ul> <li class="input-container-li clearfix"> @@ -28,7 +28,7 @@ </li> <li class="input-container-li clearfix"> <input id="captcha" class="input va captcha" type="text" name="captcha" placeholder="验证码" autocomplete="off" maxlength="4"> - <img id="captcha-img" class="captcha-img" src="http://www.yohobuy.com/passport/images" alt=""> + <img id="captcha-img" class="captcha-img" src="http://web.dev.yohobuy.com/passport/images" alt=""> <a id="change-captcha" class="link change-captcha">换一张</a> <span id="captcha-err" class="err-tip captcha-err hide"> <i></i> diff --git a/template/www.yohobuy.com/actions/passport/login/index.phtml b/template/www.yohobuy.com/actions/passport/login/index.phtml index 09be276..c1b9302 100644 --- a/template/www.yohobuy.com/actions/passport/login/index.phtml +++ b/template/www.yohobuy.com/actions/passport/login/index.phtml @@ -3,16 +3,16 @@ {{# passport}} {{> passport/cover}} <div class="content"> - <form id="login-form" method="POST" action="/passport/index/login"> + <form id="login-form" method="POST" action="/passport/login/login"> <ul class="login-ul"> <li class="relative clearfix"> <h2 class="title">会员登录</h2> <span id="country-code" class="country-code right"> - <em>{{countryName}} +{{countryCode}}</em> + <em>{{countryName}} {{countryCode}}</em> <i class="iconfont"></i> <ul id="country-list" class="country-list"> {{#each countryList}} - <li data-cc="{{code}}">{{name}} +{{code}}</li> + <li data-cc="{{areaCode}}">{{name}} {{areaCode}}</li> {{/each}} </ul> </span> diff --git a/template/www.yohobuy.com/actions/product/index1/search.phtml~aca9cb81c65db19bf68fdcd726e3861ad995ab99 b/template/www.yohobuy.com/actions/product/index1/search.phtml~aca9cb81c65db19bf68fdcd726e3861ad995ab99 new file mode 100644 index 0000000..1f80496 --- /dev/null +++ b/template/www.yohobuy.com/actions/product/index1/search.phtml~aca9cb81c65db19bf68fdcd726e3861ad995ab99 @@ -0,0 +1,11 @@ +{{> layout/header}} +<div class="product-search-page product-page yoho-page center-content"> + {{# search}} + {{> layout/path-nav}} + + {{> product/standard-content}} + + {{> product/latest-walk}} + {{/ search}} +</div> +{{> layout/footer}} \ No newline at end of file diff --git a/template/www.yohobuy.com/partials/layout/page-header.phtml b/template/www.yohobuy.com/partials/layout/page-header.phtml index 43dfaa3..2aa8864 100644 --- a/template/www.yohobuy.com/partials/layout/page-header.phtml +++ b/template/www.yohobuy.com/partials/layout/page-header.phtml @@ -296,5 +296,64 @@ </div> \{\{/carData\}\} </script> - + <script type="text/html" id="tmpl-my-login-new"> + <div class="myyoho-info-header clearfix"> + \{\{# head_ico \}\} + <div class="myyoho-photo" style="display:none;"><img src="" alt="" data-url ="\{\{it.head_ico\}\}"> + </div> + \{\{/ head_ico\}\} + <h3 class="user-email"><a href="<?php print QConfigs_Site_Config::$site_url?>/home?t=\{\{random\}\}">\{\{profile_name\}\}</a></h3> + <h3 class="user-level"> + VIP: + <span class="leveldetail">\{\{vip.curVipInfo.title\}\}</span> + </h3> + \{\{#equallevelthree vip.curVipInfo.curLevel\}\} + <div class="levelinfo"> + <div class="levelwrapper float-left"> + <div class="levelspan"> + <span class="has">\{\{vip.curYearCost\}\}</span> + <span class="total">\{\{vip.nextVipInfo.needCost\}\}</span> + </div> + <p class="\{\{#equalzero it.vip.curYearCostPer\}\}integrate\{\{/equalzero\}\}" style="width: \{\{vip.curYearCostPer\}\}%;"></p> + </div> + <span class="cardcate float-left">\{\{vip.nextVipInfo.title\}\}</span> + </div> + \{\{/equallevelthree\}\} + </div> + <ul class="myyoho-info-content"> + <li class="item"> + <span class="itemdetail float-left"> + <a href="<?php print QConfigs_Site_Config::$site_url?>/home/orders?t=<?php print microtime(true);?>">待处理的订单</a> + </span> + <span class="itemnum float-right">\{\{orderCount\}\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="<?php print QConfigs_Site_Config::$site_url?>/home/favorite?t=<?php print microtime(true);?>">我的收藏</a> + </span> + <span class="itemnum float-right"></span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="<?php print QConfigs_Site_Config::$site_url?>/home/coupons?t=<?php print microtime(true);?>">我的优惠券</a> + </span> + <span class="itemnum float-right">\{\{couponCount\}\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="<?php print QConfigs_Site_Config::$site_url?>/home/currency?t=<?php print microtime(true);?>">我的YOHO币</a> + </span> + <span class="itemnum float-right">\{\{YohocoinCount\}\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="<?php print QConfigs_Site_Config::$site_url?>/home/returns?t=<?php print microtime(true);?>">我的退货换货</a> + </span> + <span class="itemnum float-right">\{\{refundCount\}\}</span> + </li> + </ul> + <div class="myyoho-info-footer"> + <a href="<?php print QConfigs_Site_Config::$site_url?>/home/user?t=<?php print microtime(true);?>">完善资料</a> + </div> + </script> </div> \ No newline at end of file diff --git a/template/www.yohobuy.com/partials/layout/use.phtml b/template/www.yohobuy.com/partials/layout/use.phtml index 79a6fb7..50defba 100644 --- a/template/www.yohobuy.com/partials/layout/use.phtml +++ b/template/www.yohobuy.com/partials/layout/use.phtml @@ -13,6 +13,7 @@ <script> seajs.use(['js/product/list', 'js/product/product'], function (list, product) { + product.init(5); window.onresize = function () { setTimeout(function () { product.init(5); @@ -28,6 +29,7 @@ <script> seajs.use(['js/product/list', 'js/product/product'], function (list, product) { + product.init(4); window.onresize = function () { setTimeout(function () { product.init(4); diff --git a/template/www.yohobuy.com/partials/product/filter-box.phtml b/template/www.yohobuy.com/partials/product/filter-box.phtml index 70d27ac..cdaa61c 100644 --- a/template/www.yohobuy.com/partials/product/filter-box.phtml +++ b/template/www.yohobuy.com/partials/product/filter-box.phtml @@ -26,7 +26,7 @@ <div class="attr-content clearfix"> {{#each channel}} - <a class="attr" href="{{href}}"> + <a class="attr {{#if checked}}checked{{/if}}" href="{{href}}"> {{name}} </a> {{/each}} @@ -42,7 +42,7 @@ <ul class="sort-pre clearfix"> {{#each sort}} <li> - <span class="attr"> + <span class="attr {{#if checked}}checked{{/if}}"> {{name}} </span> </li> @@ -53,7 +53,7 @@ {{#each sort}} <ul class="sort-sub clearfix hide"> {{#each sub}} - <li class="attr"> + <li class="attr {{#if checked}}checked{{/if}}"> <a href="{{href}}">{{name}}</a> </li> {{/each}} @@ -71,7 +71,7 @@ <div class="attr-content"> <ul class="default clearfix"> {{# default}} - <li class="attr"> + <li class="attr {{#if checked}}checked{{/if}}"> <a href="{{href}}" title="{{name}}">{{name}}</a> </li> {{/ default}} @@ -82,7 +82,7 @@ <em>更多</em> <i class="iconfont"></i> </span> - + <span id="brand-multi" class="multi-select">多选 +</span> </div> @@ -128,7 +128,7 @@ <div class="attr-content clearfix"> {{# price}} - <a class="attr" href="{{href}}">¥{{name}}</a> + <a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">¥{{name}}</a> {{/ price}} <div class="ud-price-range"> @@ -146,10 +146,10 @@ {{#if color}} <div class="color section"> <span class="title">颜色:</span> - + <div class="attr-content clearfix"> {{# color}} - <a class="attr" href="{{href}}"> + <a class="attr {{#if checked}}checked{{/if}}" href="{{href}}"> <i class="color-block" style="background: {{rgb}}"></i> {{name}} </a> @@ -164,7 +164,7 @@ <div class="attr-content clearfix"> {{# size}} - <a class="attr" href="{{href}}">{{name}}</a> + <a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a> {{/ size}} </div> </div> @@ -194,7 +194,7 @@ {{/if}} <ul class="clearfix check-container"> {{#each sub}} - <li class="attr"> + <li class="attr {{#if checked}}checked{{/if}}"> <a href="{{href}}"> <span class="iconfont checkbox" data-id="{{id}}"></span> <span>{{name}}</span> @@ -212,4 +212,4 @@ </div> </div> {{/if}} -</div> \ No newline at end of file +</div> diff --git a/web-static/dist/yohobuy/0.0.1/index-debug.js b/web-static/dist/yohobuy/0.0.1/index-debug.js index c5c8fae..fa5fdaf 100644 --- a/web-static/dist/yohobuy/0.0.1/index-debug.js +++ b/web-static/dist/yohobuy/0.0.1/index-debug.js @@ -1,3409 +1,3623 @@ define("index", ["jquery","handlebars","source-map","index","lazyload"], function(require, exports, module){ -var webYohobuy; - -require("js/common"); - -require("js/product/entry"); -require("js/home/entry"); - -module.exports = webYohobuy; +var webYohobuy; + +require("js/common"); + +require("js/product/entry"); +require("js/home/entry"); + +module.exports = webYohobuy; }); define("js/common", ["jquery","handlebars","source-map","index"], function(require, exports, module){ -/** - * 页面公共逻辑和接口 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/11/23 - */ -var $ = require("jquery"); - -require("js/footer"); -require("js/header"); - -function cookie(name) { - var cookies = document.cookie, - cookieVal, - offset; - - if (document.cookie && document.cookie !== '') { - offset = cookies.indexOf(name + '='); - if (offset > -1) { - offset += name.length + 1; - - cookieVal = decodeURIComponent($.trim(cookies.substring(offset, cookies.indexOf(';', offset)))); - } - } - - return cookieVal; -} - -function setCookie(name, value, options) { - var expires = '', - path, - domain, - secure, - date; - - if (typeof value !== 'undefined') { - options = options || {}; - if (value === null) { - value = ''; - options.expires = -1; - } - - if (options.expires && - (typeof options.expires === 'number' || options.expires.toUTCString)) { - if (typeof options.expires === 'number') { - date = new Date(); - date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); - } else { - date = options.expires; - } - expires = '; expires=' + date.toUTCString(); - } - path = options.path ? '; path=' + options.path : ''; - domain = options.domain ? '; domain=' + options.domain : ''; - secure = options.secure ? '; secure' : ''; - document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); - } -} - -function getUser() { - var c = cookie('_UID'), - user; - - if (typeof c === 'undefined') { - return 0; - } - - user = c.split('::'); - - if (typeof user === 'undefined' || user.length < 4) { - return 0; - } - - return user; -} - -function getUid() { - var user = getUser(); - - if (user === 0) { - return 0; - } - - return user[1]; -} - -function getShoppingKey() { - var c = cookie('_g'); - - if (typeof c === 'undefined') { - return ''; - } - - return JSON.parse(c).k; -} - -window.cookie = cookie; - -window.setCookie = setCookie; - -window.getUser = getUser; - -window.getUid = getUid; - -window.getShoppingKey = getShoppingKey; -}); -define("js/footer", ["jquery"], function(require, exports, module){ -/** - * 尾部 - * @author: wangqing<robin.wang@yoho.cn> - * @date: 2015/12/01 - */ - -var $ = require("jquery"); - -var $returnTop = $('.return-top'); - -var apiDomain; - -/** - * 订阅 - * @return {[type]} [description] - */ -function actionSubscription() { - var $subscriberBox = $('#subscriber-box'), - $subscriberBtn = $('#subscriber-btn'), - emailReg = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/; - - var subscribeParam = { - method: 'open.subscriber.subscriber', - v: 1, - return_type: 'jsonp', - open_key: '12345' - }; - - var iconCode = { - mail: '', - tick: '' - }; - - var email = $.trim($subscriberBox.val()); - - var params = {}; - - $subscriberBox.focus(function() { - $(this).val('').css('color', ''); - $subscriberBtn.removeClass('done').html(iconCode.mail); - }); - - $subscriberBtn.click(function() { - if (email !== '' && emailReg.test(email)) { - $.extend(params, subscribeParam, { - email: email, - tmp: Math.random(), - uid: $.uid('_UID') - }); - try { - $.getJSON('http://test.open.yohobuy.com' + '/?callback=?', params, function(data) { - if (data.data.result === 1) { - $subscriberBox.val('已订阅到:' + email); - $subscriberBtn.addClass('done').html(iconCode.tick); - } else { - $subscriberBox.css('color', 'red'); - } - }); - } catch (e) { - console.log(e.message); - } - } else { - $subscriberBox.css('color', 'red'); - } - }); -} - -function actionhomeFootChange() { - var $vote = $('.vote'), - $feedBackPage = $('#feed-back-page'), - count = $vote.children('li').length; - - //意见反馈 - $feedBackPage.on('click', 'span', function() { - var $this = $(this); - - if ($this.hasClass('cur')) { - return; - } - - $this.siblings('.cur').removeClass('cur'); - $this.addClass('cur'); - - $vote.children().not('.hide').addClass('hide') - .end() - .eq($this.index()).removeClass('hide'); - }); - - $vote.on('click', '.feed-back-btn', function() { - var $this = $(this), - $li = $this.closest('li'), - index = $li.index(), - params = {}, - _solution = []; - - var _answer = $li.find('.feedback-answer').val(), - _feedback = $li.find('.feedback-id').val(), - _question = $li.find('.question-id').val(); - - $li.find(':checked').each(function() { - _solution.push($(this).val()); - }); - - params = { - method: 'open.feedback.submit', - feedback: _feedback || 0, - question: _question || 0, - answer: _answer || '', - solution: _solution.join(',') - }; - - $.getData(apiDomain, params, function(data) { - var next = index + 1; - - if (data.result === 1) { - if (index === count - 1) { - alert('感谢您的参与!'); - return; - } - - $li.addClass('hide'); - - $vote.eq(index + 1).removeClass('hide'); - $feedBackPage.children('.cur').removeClass('cur'); - $feedBackPage.eq(next).addClass('cur'); - } - }); - }); -} - -function rePosReturn() { - if ($(window).height() < $(document).height()) { - $returnTop.removeClass('hide'); - } else { - $returnTop.addClass('hide'); - } -} - -//返回顶部 -$returnTop.click(function() { - $('html,body').animate({ - scrollTop: 0 - }, 500); -}); - -$(window).scroll(function() { - if ($(window).scrollTop() === 0) { - $returnTop.addClass('hide'); - } else { - $returnTop.removeClass('hide'); - } -}); - -rePosReturn(); - -//如果初始是隐藏的,监听图片加载,重新确定return-top的高度 -if ($returnTop.hasClass('hide')) { - $('img').load(rePosReturn); -} - -//初始化 -actionSubscription(); -actionhomeFootChange(); - -//暴露给有可能通AJAX改变内容的页面去用 -window.rePosReturnTop = rePosReturn; -}); -define("js/header", ["jquery","handlebars","source-map","index"], function(require, exports, module){ -/** - * 头部 - * @author: wangqing<robin.wang@yoho.cn> - * @date: 2015/12/01 - */ - - -var $ = require("jquery"); -var handlebars = require("handlebars"); -var json2 = require("index"); -var noticeSuccess = false; - -/** - * 判断为1的helper - * @param {[type]} v1 [description] - * @param {[type]} options) { if (v1 [description] - * @return {[type]} [description] - */ -handlebars.registerHelper('equalone', function(v1, options) { - - if (v1 === '1') { - return options.fn(this); - } else { - return options.inverse(this); - } -}); -require("plugin/yohocookie"); -require("plugin/yohocart"); -/** - * 获取头部banner的回调函数 - * @param {[type]} data [description] - */ -function JsonPCallBack(data) { - var topbanner; - - if (+data.code === 200) { - if (typeof data.data === 'object') { - topbanner = '<a target="_blank" href="' + data.data.url + '" class="page-top-banner"' + - 'style="height:50px;border:none;background-image:url(' + window.unescape(data.data.src) + ');' + - 'background-position: center;display:block;background-color:#ff5409;"> </a>'; - $('body').prepend(topbanner); - } - } -} - -/** - * 获取头部服务器维护的回调 - * @param {[type]} data [description] - */ -function NoticeCallBack(data) { - if (+data.code === 200) { - noticeSuccess = true; - } -} -window.JsonPCallBack = JsonPCallBack; - -window.NoticeCallBack = NoticeCallBack; -/** - * 检测是否获得公告 - * @return {[type]} [description] - */ -function checkNotice() { - var noticeinner; - - if (!noticeSuccess) { - noticeinner = '<div class="noticewrapper">' + - '<div class="noticecontainer">' + - '<h1 class="noticetitle">关于系统升级的公告</h1>' + - '<div class="noticecontent">' + - '<p class="tips">尊敬的顾客:</p>' + - '<p class="detail">您好!为了向您提供更优质的服务,目前系统正在升级,请耐心等待。</p>' + - '<p class="detail">' + - '系统升级期间,部分地区用户体验会有暂时中断,如遇紧急事宜,欢迎垂询客服热线:400-889-9646 09:00-22:30(周一至周日)。稍后系统将恢复正常' + - '</p>' + - '<p class="detail">使用,欢迎您继续光顾YOHO!BUY有货!带来不便之处深表歉意,请您谅解!</p>' + - '</div>' + - '</div>' + - '</div>'; - $('.header-topwrapper').append(noticeinner); - } -} -/** - * 获得banner数据 - * @param {[string]} code [banner对应的编码] - * @return {[type]} [description] - */ -function getBannerData(code) { - var script = document.createElement('script'); - - script.src = 'http://new.yohobuy.com/resource/getbanner?content_code=' + - code + '&client_type=web&callback=JsonPCallBack'; - document.getElementsByTagName('head')[0].appendChild(script); -} -/** - * 获取公告的jsonp请求 - * @param {[type]} code [description] - * @return {[type]} [description] - */ -function getNoticeData(code) { - var script = document.createElement('script'); - - script.src = 'http://new.yohobuy.com/resource/getbanner?content_code=' + - code + '&client_type=web&callback=NoticeCallBack'; - document.getElementsByTagName('head')[0].appendChild(script); - window.setTimeout(checkNotice, 5000); //5s后检测是否成功 -} -/** - * 显示和隐藏 - * @param {[type]} sourceClass [description] - * @param {[type]} targetClass [description] - * @return {[type]} [description] - */ -function toggleDisplay(sourceClass, targetClass) { - var $that, - targetobj; - - $(sourceClass).hover(function(e) { - e.preventDefault(); - $that = $(this); - targetobj = $(targetClass)[0]; - if (targetobj.style.display === '') { - $that.addClass('acttags'); - targetobj.style.display = 'block'; - } else { - $that.removeClass('acttags'); - targetobj.style.display = ''; - } - }); -} - -/** - * 执行顶部显示和隐藏 - * @return {[type]} [description] - */ -function actionTopTagToggle() { - var tags = [{ - sourceClass: '.myyoho', - targetClass: '.myyoho-info' - }, { - sourceClass: '.phone', - targetClass: '.qr' - }], - obj, - i; - - for (i = 0; i < tags.length; i++) { - obj = tags[i]; - toggleDisplay(obj.sourceClass, obj.targetClass); - } -} -/** - * 执行顶部群组鼠标交互 - * @return {[type]} [description] - */ -function actionYoHoGroup() { - var $this; - - $('.yohogroup').mouseenter(function() { - $this = $(this); - $this.text($this.attr('cn')); - }); - $('.yohogroup').mouseleave(function() { - $this = $(this); - $this.text($this.attr('en')); - }); -} - -/** - * 检测是否支持css3的动画 - * @return {Boolean} [description] - */ -function isSupportCss3Animation() { - var thisFunc, - prefixList = ['webkit', 'moz', 'ms'], - i; - - for (i = 0; i < prefixList.length; i++) { - thisFunc = prefixList[i] + 'RequestAnimationFrame'; - if (window[thisFunc]) { - return true; - } else { - return false; - } - } - -} -/** - * css3动画 - * @param {Array} ) { var thisFunc, prefixList [description] - * @return {[type]} [description] - */ -function requestFrameCloser() { - var prefixList = ['webkit', 'moz', 'ms']; - var func1 = prefixList[0] + 'RequestAnimationFrame'; - var func2 = prefixList[1] + 'RequestAnimationFrame'; - var func3 = prefixList[2] + 'RequestAnimationFrame'; - - if (window[func1]) { - return function(callback) { - window[func1](callback); - }; - } - if (window[func2]) { - return function(callback) { - window[func2](callback); - }; - } - if (window[func3]) { - return function(callback) { - window[func3](callback); - }; - } - return function(callback) { - window.setTimeout(callback, 67); - }; -} - - -window.requestFrame = requestFrameCloser(); -window.start = 0; -window.$logotrans = $('.icon-logo'); -window.isen = true; - -/** - * css3动画 - * @return {[type]} [description] - */ - -function tsAnimate() { - window.start += 10; - window.$logotrans.css({ - transform: 'rotateX(' + window.start + 'deg)', - '-webkit-transform': 'rotateX(' + window.start + 'deg)', - '-moz-transform': 'rotateX(' + window.start + 'deg)' - }); - if (window.start / 90 % 2 === 1) { - if (window.isen) { - window.$logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo1.png)'); - window.isen = false; - } else { - window.$logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); - window.isen = true; - } - } - if (window.start / 90 % 2 === 0 && window.start % 360 !== 0) { - window.setTimeout(tsAnimate, 3000); - } else { - if (window.start % 360 === 0) { - window.setTimeout(tsAnimate, 1 * 60 * 1000); - } else { - window.requestFrame(function() { - tsAnimate(); - }); - } - } -} - -window.loopdurationtime = 500; -window.globaltimeout; -window.onetimeoout; -/** - * 淡出 - * @return {[type]} [description] - */ -function fadeAnimate() { - if (window.globaltimeout) { - window.clearTimeout(window.globaltimeout); - } - window.logotrans.fadeOut(window.loopdurationtime, function() { - window.isen = false; - window.logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo.png)'); - window.logotrans.fadeIn(window.loopdurationtime, function() { - window.onetimeoout = window.setTimeout(function() { - window.logotrans.fadeOut(window.loopdurationtime, function() { - window.clearTimeout(window.onetimeoout); - window.isen = true; - window.logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); - window.logotrans.fadeIn(window.loopdurationtime, function() { - window.globaltimeout = window.setTimeout(fadeAnimate, 1 * 60 * 1000); - }); - }); - }, 3000); - }); - }); -} -/** - * 执行头部logo动画 - * @return {[type]} [description] - */ -function actionTopLogoAnimate() { - if (isSupportCss3Animation()) { - window.setTimeout(tsAnimate, 3000); - } else { - window.setTimeout(fadeAnimate, 3000); - } -} -/** - * 查询跳转后保留关键字 - * @return {[type]} [description] - */ -function actionAddKeyWords() { - var $keywords = $('#nav_keyword').text(); - var defaultsearch = 'vans'; - var $querykey = $('#query_key'); - - if ($keywords !== '') { - $querykey.css({ - color: '#000' - }); - $querykey.val($keywords); - } else { - $querykey.css({ - color: '#e0e0e0' - }); - $querykey.val(defaultsearch); - $querykey.on('focus', function(e) { - $querykey.css({ - color: '#000' - }); - $querykey.val(''); - }); - } -} -window.dataLayer = []; - -function getSource(column, postition, event) { - try { - window.dataLayer.push({ - louceng: column, - weizhi: postition, - event: event - }); - } catch (e) {} -} -/** - * 搜寻的时候过滤非法字符(+-/:等非法字符单独出现) - * @type {RegExp} - */ -window.reg = /^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/\s]{0,}$/g; -window.keyword = ''; -window.link = ''; - -window.submitSearch = function() { - var $keywordinput = $('#query_key').val(); - var column = 'Search'; - var postition = 'Head Search'; - var event = 'Search'; - var $formatkeyword, - $formatkeywordinput; - - $formatkeyword = $.trim(window.keyword.toLowerCase()); - $formatkeywordinput = $.trim($keywordinput.toLowerCase()); - getSource(column, postition, event); - if (window.link !== '' && window.keyword !== '' && $formatkeyword === $formatkeywordinput) { - location.href = window.link.replace('\'', ''); - } else { - if (window.reg.test($keywordinput)) { - location.href = 'http://search.yohobuy.com/error?query=' + $keywordinput + '&result=error'; - } else { - $('#searchForm').submit(); - return false; - } - } -}; -/** - * banner和地址的映射 - * @type {Object} - */ -window.bannerMap = { - listboys: '4f78b0f418fc42314d8b6e791cfb7fa8', - listgirls: '00c1f025a51b6b597dc37925951ea27d', - listkids: 'b02df11184727701ade1b6de9737d08c', - listlifestyle: 'fd35c52dced0c880976ba858346d1fc5', - searchboys: '9fb8986ea700cc27a8057361c3924394', - searchgirls: 'e3e207a1443ca60c8037fe52a5560c18', - searchkids: '620fc77f479da8feaeb06f2324e5d0bb', - searchlifestyle: 'a3c93301c6ffaf3ed0f36a4a451be36d', - uniquebrandboys: '2ebb0810c0d1a67e5229149c9c3aba7d', - uniquebrandgirls: '99e23385f4ba4b65f406b7e2968ac821', - uniquebrandkids: 'a74ebc9b17840c91b9ea46568111fe6b', - uniquebrandlifestyle: '0e8c81ead53f56302baa4d0ad967f527', - brandsboys: '77b352db07129c76a9d532acad149f9f', - brandsgirls: 'bf047f16e52ebc38be5ce9c7623831e6', - brandskids: 'e3ae1ce9b5e13c6d271ef3eccb831652', - brandslifestyle: 'e4ac8029c30f65d7f1af030980d140fe', - newboys: '869d3c5f3b450fb52101d00a61ce87cb', - newgirls: 'd953b6dfdac02483d1dcce8d96055954', - newkids: '0874cb6d75df8e0e78f2d475e53ecc08', - newlifestyle: '43e8fc8e178115c262bbce2bd0012db7', - saleboys: 'c846e3165c994769b4201d8c32f3ae9b', - salegirls: '52b1d389edcbc62d65de71b80c4d6ad0', - salekids: 'ad8b1703c761ba00973868ab5199cc27', - salelifestyle: '7acc64905c70ac91846f43fb2cec4bbd', - homeboys: 'b0856a771ef1b59ab1234c74688fa42d', - homegirls: '2bd61fa12e4933211518f70fe5ce3c48', - homekids: '895c59e8c64b40399c9533509507320c', - homelifestyle: '2e037d4e25d2767352ca3e0a4627f7bd', - indexboys: '0c911d3000f52e8ca7cffb74f5864c29', - indexgirls: 'b645b8980c423ab30485e0a9d08c2ef7', - indexkids: '17f6d5d5d454d2c507bc5fcbc90f7756', - indexlifestyle: '735cd393e841762af8793c346abbbc36' -}; - -/** - * cookie 初始化 - * @return {[type]} [description] - */ -function actionInitCookie() { - var $cookieGender = $.cookie('_Gender'); - var $target = $('.cure'); - - if (typeof $cookieGender !== 'undefined' && $cookieGender !== '') { - $.setcookie('_Gender', 1, { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($target.find('.name-cn a').text() === '男生') { - $.setcookie('_Gender', '1,3', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - $.setcookie('_Channel', 'boys', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($target.find('.name-cn a').text() === '女生') { - $.setcookie('_Gender', '2,3', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - $.setcookie('_Channel', 'girls', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($target.find('.name-cn a').text() === '创意生活') { - $.setcookie('_Channel', 'lifestyle', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($target.find('.name-cn a').text() === '潮童') { - $.setcookie('_Channel', 'kids', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } -} - -/** - * cookie集合 - * @type {Object} - */ -window.cookieMap = {}; - -function actionExeCookieMap() { - var cookies = document.cookie; - var cookiearr = cookies.split(';'); - var i; - var temparr; - var key; - - for (i = 0; i < cookiearr.length; i++) { - temparr = cookiearr[i].split('='); - key = temparr[0].replace(/\s/g, ''); - window.cookieMap[key] = temparr[1]; - } -} -/** - * 一级菜单点击(会设置cookie) - * @return {[type]} [description] - */ -function actionFirstMenuClick() { - var $cookieGender; - - $('.first-nav-item').click(function() { - $cookieGender = $.cookie('_Gender'); - if (typeof $cookieGender !== 'undefined' && $cookieGender !== '') { - $.setcookie('_Gender', 1, { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($(this).find('.name-cn a').text() === '男生') { - $.setcookie('_Gender', '1,3', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - $.setcookie('_Channel', 'boys', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($(this).find('.name-cn a').text() === '女生') { - $.setcookie('_Gender', '2,3', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - $.setcookie('_Channel', 'girls', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($(this).find('.name-cn a').text() === '创意生活') { - $.setcookie('_Channel', 'lifestyle', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($(this).find('.name-cn a').text() === '潮童') { - $.setcookie('_Channel', 'kids', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - }); - - $('#backToOld').click(function() { - $.setcookie('_New', 1, { - path: '/', - domain: '.yohobuy.com' - }); - location.href = 'http://www.yohobuy.com'; - }); -} - - -/** - * 购物车商品数量 - * @return {[type]} [description] - */ -function actionUpdateCartNum() { - $('#miniCartBox').miniCart({ - cartNum: '.ic-infomation' - }); -} -/** - * 加载购物车数据 - * @return {[type]} [description] - */ -function loadCartData() { - var shoppingInfo, - shoppingData, - strK; - - $.getData(window.apiDomain, { - method: 'open.Shoppingcart.getCartData', - shopping_key: $.getShoppingKey() - }, function(jsonData) { - if (window.cartTpl === '') { - window.cartTpl = handlebars.compile($('#mini-cart-tpl').html()); - } - $('#miniCartBox').children('.gobuy-wrapper').html(window.cartTpl({ - carData: jsonData - })); - if (parseInt($('.ic-infomation').html()) === 0) { - $('#miniCartBox .gobuy-wrapper').html('<div class="gobuy-empty">' + - '<h3 class="information">您的购物车暂无商品</h3></div>'); - } - if ($('#miniCartBox .goods-list li').length < 1) { - shoppingInfo = $.cookie('_g'); - shoppingData = json2.parse(shoppingInfo); - if (shoppingData !== null) { - strK = '{"_k":"' + shoppingData._k + '","_nac":0' + ',"_ac":0,"_r":0}'; - $.setcookie('_g', strK, { - path: '/', - domain: '.yohobuy.com' - }); - } - $('.ic-infomation').html(0); - $('#miniCartBox .gobuy-wrapper').html('<div class="gobuy-empty">' + - '<h3 class="information">您的购物车暂无商品</h3></div>'); - } - }); -} -/** - * 删除购物车数据 - * @param {[type]} id [description] - * @param {Boolean} isreduce [description] - * @return {[type]} [description] - */ -function delCartGoods(id, isreduce) { - $.getData(window.apiDomain, { - method: 'open.Shoppingcart.delone', - shopping_key: $.getShoppingKey(), - id: id, - isreduce: isreduce - }, function(jsonData) { - var shoppingInfo = $.cookie('_g'); - var shoppingData = json2.parse(shoppingInfo); - var strK = '{"_k":"' + shoppingData._k + '","_nac":' + jsonData.total_goods_num + ',"_ac":0,"_r":0}'; - - $.setcookie('_g', strK, { - path: '/', - domain: '.yohobuy.com' - }); - loadCartData(); - actionUpdateCartNum(); - }); -} -window.apiDomain = 'http://api.open.yohobuy.com'; -window.cartTpl = ''; - -/** - * 监听购物车删除 - * @return {[type]} [description] - */ -function actionListenDelCarGoods() { - var $delcargoods; - var goodsid, - cheapest; - - $(document).on('click', '.goodscardelete', function(e) { - $delcargoods = $(this); - goodsid = $delcargoods.attr('goodsid'); - cheapest = $delcargoods.attr('cheapest'); - delCartGoods(goodsid, cheapest); - }); -} -/** - * 监听点击更多打折商品 - * @return {[type]} [description] - */ -function actionListenCartMore() { - var $morecart; - - $(document).on('click', '.mycart_i_down', function(e) { - $morecart = $(this); - $morecart.toggleClass('mycart_i_up'); - $('#mycartmore').slideToggle(300); - }); -} -/** - * 点击购物车 - * @return {[type]} [description] - */ -function actionClickMiniCartBox() { - var $target; - var shopcarurl = 'http://www.yohobuy.com/shopping/cart'; - - $('#miniCartBox').on('click', function(e) { - $target = $(e.target); - if ($target.hasClass('gobuy')) { - window.location.href = shopcarurl; - } - }); -} - -/** - * 显示购物车效果 - * @param {Boolean} isShow [description] - * @return {[type]} [description] - */ -function showMiniCart(isShow) { - if (isShow === 1) { - $('#miniCartBox').addClass('list-cur'); - $('.gobuy-wrapper').show(); - if (parseInt($('.ic-infomation').html()) !== 0) { - $('#miniCartBox .gobuy-wrapper').html('<div class="gobuy-loading">' + - '<h3 class="information">加载中,请稍后</h3></div>'); - loadCartData(); - } else { - $('#miniCartBox .gobuy-wrapper').html('<div class="gobuy-empty">' + - '<h3 class="information">您的购物车暂无商品</h3></div>'); - } - } else { - $('#miniCartBox').removeClass('list-cur'); - $('.gobuy-wrapper').hide(); - } -} - - -/** - * 鼠标购物车的滑入滑出效果 - * @return {[type]} [description] - */ -function actionGoodsCarMouseEffect() { - var $target; - - $('#miniCartBox').mouseenter(function(e) { - $target = $(e.target); - if ($target.attr('id') === 'miniCartBox' || $target.attr('class') === 'ic-infomation') { - showMiniCart(1); - } - }); - $('#miniCartBox').mouseleave(function(e) { - showMiniCart(0); - }); -} -/** - * 获得banner & 异常通知 - * @return {[type]} [description] - */ -function actionGetBannerAndNotice() { - var INDEXKIDS = 'indexkids', - INDEXLIFESTYLE = 'indexlifestyle', - INDEXBOYS = 'indexboys', - INDEXWOMAN = 'indexgirls', - UNIQUEBRAND = 'uniquebrand'; - var url = window.location.href; - var host = window.location.host; - var code = ''; - var firstarea; - - if (url.indexOf('search') !== -1) { - code = window.bannerMap['search' + window.cookieMap._Channel]; - } - if (url.indexOf('list') !== -1) { - code = window.bannerMap['list' + window.cookieMap._Channel]; - } - if (url.indexOf('brands') !== -1) { - code = window.bannerMap['brands' + window.cookieMap._Channel]; - } - if (url.indexOf('new') !== -1) { - code = window.bannerMap['new' + window.cookieMap._Channel]; - } - if (url.indexOf('sale') !== -1) { - code = window.bannerMap['sale' + window.cookieMap._Channel]; - } - if (url.indexOf('home') !== -1) { - code = window.bannerMap['home' + window.cookieMap._Channel]; - } - if (url.indexOf('kids') !== -1) { - code = window.bannerMap[INDEXKIDS]; - } - if (url.indexOf('woman') !== -1) { - code = window.bannerMap[INDEXWOMAN]; - } - if (url.indexOf('lifestyle') !== -1) { - code = window.bannerMap[INDEXLIFESTYLE]; - } - if (url.indexOf('www.yohobuy.com') !== -1 && window.location.pathname === '/') { - code = window.bannerMap[INDEXBOYS]; - } - firstarea = host.split('.')[0]; - if (firstarea !== 'list' && firstarea !== 'search' && firstarea !== 'www' && - firstarea !== 'new' && firstarea !== 'item' && firstarea !== 'guang') { - code = window.bannerMap[UNIQUEBRAND + window.cookieMap._Channel]; - } - - getBannerData(code); //获得banner信息 - getNoticeData(code); //获得公告信息 - -} - -function brandSwitch(index) { - $('.hot-brands').find('ul').stop().animate({ - opacity: 0, - 'z-index': 1 - }, 200).eq(index).animate({ - opacity: 1, - 'z-index': 2 - }, 200); -} -/** - * 品牌左右切换 - * @return {[type]} [description] - */ -function actionBrandChange() { - var activeIndex = 0, - swiperLen; - - if ($('.hot-brands').size() > 0) { - swiperLen = $('.hot-brands').find('ul').size(); - $('.hot-brands').find('ul').eq(0).css({ - opacity: 1, - 'z-index': 2 - }); - $('.brands-control').on('click', '.next', function() { - if (activeIndex === swiperLen - 1) { - activeIndex = 0; - } else { - activeIndex++; - } - brandSwitch(activeIndex); - }); - $('.brands-control').on('click', '.prev', function() { - if (activeIndex === 0) { - activeIndex = swiperLen - 1; - } else { - activeIndex--; - } - brandSwitch(activeIndex); - }); - - - } -} -/** - * 循环检测购物车数量 - * @return {[type]} [description] - */ -function actionLoopUpdCartNum() { - setInterval(actionUpdateCartNum, 2000); -} -/** - * 处理模板 - * @return {[type]} [description] - */ -function actionExeTemplate() { - var resulthtml = $('#goodcartempwarpper').html().replace(/\\/g, ''); - - $('#goodcartempwarpper').html(resulthtml); -} -/** - * 执行搜索 - * @return {[type]} [description] - */ -function actionSearch() { - var searchDomain = 'http://search.yohobuy.com/api/suggest'; - - $('#query_key').search(searchDomain); -} -/** - * 初始化函数 - * @return {[type]} [description] - */ -function init() { - actionExeTemplate(); //处理模板 - actionInitCookie(); //初始化cookie - actionExeCookieMap(); //格式化cookie - actionYoHoGroup(); // yoho集团鼠标效果 - actionTopTagToggle(); // yoho上部分开关 - actionTopLogoAnimate(); //yoho logo动画 - actionGetBannerAndNotice(); // 获取banner和服务器维护提示 - actionBrandChange(); //切换品牌 - actionAddKeyWords(); //跳转后增加关键字 - actionFirstMenuClick(); //一级菜单点击(会设置cookie) - actionGoodsCarMouseEffect(); //鼠标滑入滑出效果 - actionUpdateCartNum(); //更新购物车数量 - actionLoopUpdCartNum(); //循环检测购物车数量 - actionSearch(); //搜索执行 - actionClickMiniCartBox(); //点击购物车跳转 - actionListenDelCarGoods(); //监听购物车删除 - actionListenCartMore(); // -} - -init(); -}); -define("plugin/yohocookie", ["jquery"], function(require, exports, module){ -var jQuery = require("jquery"); - -(function($) { - $.extend({ - cookie: function(name) { - var cookieValue = null; - - if (document.cookie && document.cookie != '') { - var cookies = document.cookie.split(';'); - for (var i = 0; i < cookies.length; i++) { - var cookie = jQuery.trim(cookies[i]); - if (cookie.substring(0, name.length + 1) == (name + '=')) { - cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); - break; - } - } - } - return cookieValue; - }, - setcookie: function(name, value, options) { - var expires = ''; - - if (typeof value != 'undefined') { - options = options || {}; - if (value === null) { - value = ''; - options.expires = -1; - } - if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) { - var date; - if (typeof options.expires == 'number') { - date = new Date(); - date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); - } else { - date = options.expires; - } - expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE - } - var path = options.path ? '; path=' + options.path : ''; - var domain = options.domain ? '; domain=' + options.domain : ''; - var secure = options.secure ? '; secure' : ''; - document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); - } - } - }) -})(jQuery); -}); -define("plugin/yohocart", ["jquery"], function(require, exports, module){ - -var jQuery = require("jquery"); -var $yohocookie = require("plugin/yohocookie"); - -(function($) { - $.fn.miniCart = function(options) { - var defaults = { - 'cookie': '_g', - 'cartNum': '' - }; - var params = $.extend(defaults, options); - var cartInfo = eval('(' + $.cookie(params.cookie) + ')'); - - if (cartInfo != null) { - var totalNum = parseInt(cartInfo._nac) + parseInt(cartInfo._ac); - if (totalNum == 0) { - $('#icart-num').attr('class', 'icart-num icart-none'); - } else { - $('#icart-num').attr('class', 'icart-num'); - } - $(params.cartNum).html(totalNum); - } - } - $.fn.search = function(searchDomain) { - var query_num = 0; - var list_index = 0; - var tmp_list = 0; - - function getKeywords(obj) { - var key = $.trim($(obj).val()); - - key = key.replace(new RegExp("'", "gm"), ''); //去掉特殊字符 - if (key == '') { - $('.search-list').hide(); - return false; - } - key = encodeURI(key); //编码 - $.get(searchDomain + '?callback=?&query=' + key, function(htmlData) { - $('.search-list').html(htmlData['data']); - query_num = $('.search-list').children('li').length; - list_index = -1; - if (query_num > 0) { - $('.search-list').show(); - } else { - $('.search-list').hide(); - } - //绑定事件 - $('.search-list').find('a').hover(function() { - $(this).css("background-color", "#eee"); - }, function() { - $(this).css("background-color", "#fff"); - }); - }, 'jsonp'); - } - - function getText(obj) { - $('.search-list li:eq(' + tmp_list + ')').children('a').css("background-color", "#fff"); - $('.search-list li:eq(' + list_index + ')').children('a').css("background-color", "#eee"); - var text = $('.search-list li:eq(' + list_index + ')').children('a').attr("title"); - $('#query_key').val(text); - } - return this.each(function() { - $(this).keyup(function(event) { - if (event.which == 38) { - if (query_num == 0) { - return false; - } - if (list_index == -1) { - list_index = 0; - } - tmp_list = list_index; - list_index = (list_index - 1 + query_num) % query_num; - getText(this); - } else if (event.which == 40) { - if (query_num == 0) { - return false; - } - tmp_list = list_index; - list_index = (list_index + 1) % query_num; - getText(this); - } else if (event.which == 13) { - submitSearch(); - } else { - getKeywords(this); - } - }); - }); - }; - $.extend({ - getData: function(domain, options, onSuccess) { - var defaults = { - 'page': 1, - 'method': '', - 'v': 1, - 'return_type': 'jsonp', - 'open_key': '12345', - 'tmp': Math.random() - }; - if (typeof(domain) == undefined || domain == '') { - console.log('请设置请求的api地址'); - return false; - } - var params = $.extend(defaults, options); - params.page = params.page || 1; - if (params.method == '') { - console.log('请设置请求的URL'); - return false; - } - try { - $.getJSON(domain + '/?callback=?', params, function(_data) { - if (onSuccess != '') { - eval(onSuccess(_data.data)); - return false; - } - }); - } catch (e) { - console.log(e.message); - } - }, - getShoppingKey: function() { - var shoppingInfo = $.cookie('_g'); - if (typeof shoppingInfo == 'undefined' || shoppingInfo == null) { - return ''; - } - var shoppingData = eval('(' + shoppingInfo + ')'); - return shoppingData._k; - }, - }) -})(jQuery); -exports.init = function() { - -} -}); -define("js/product/entry", ["jquery","handlebars","source-map","lazyload"], function(require, exports, module){ -/** - * 商品页面打包入口文件 - * @auhtor: xuqi<qi.xu@yoho.cn> - * @date: 2015/12/28 - */ - -require("js/product/list"); - -require("js/product/hotrank"); -}); -define("js/product/list", ["jquery"], function(require, exports, module){ -/** - * 商品列表页 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/11/23 - */ - -require("js/product/filter"); - -require("js/product/sort-pager"); - -require("js/product/product"); -}); -define("js/product/filter", ["jquery"], function(require, exports, module){ -/** - * 商品筛选逻辑 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/12/4 - */ - -var $ = require("jquery"); - -var checkUnicode = { - unchecked: '', - checked: '' -}, -moreUnicode = { - up: '', - down: '' -}; - -//品牌相关变量 -var $brandDefault = $('.brand .default'), - $brandPanel = $('.brand .brand-panel'), - $brandAttrs = $('.brand .attr'), - $brandMore = $('#brand-more'), - $brandMulti = $('#brand-multi'); - -var $brandMoreTxt, $brandMoreIcon; - -//价格相关变量 -var $udPrice = $('.ud-price-range'), - interReg = /^\d+$/, - $limit, $min, $max, $btn; - -//分类相关变量 -var $sortSub = $('.sort-sub-wrap'); - -//高级选项相关变量 -var $seniorSubWrap = $('.senior-sub-wrap'), - $seniorAttrWrap = $('.senior-attr-wrap'); - -var seniorHoverTime, hoveredIndex; - -//清除checkbox选中状态 -function clearChecked($checkbox) { - $checkbox.removeClass('checked').html(checkUnicode.unchecked); -} - -//显示更多品牌面板 -function brandShowMore() { - $brandDefault.addClass('hide'); - $brandPanel.removeClass('hide'); -} - -//隐藏更多品牌面板 -function brandHideMore() { - $brandPanel.addClass('hide'); - $brandDefault.removeClass('hide'); -} - -//url构造&跳转 -function uriLoc(attr, val) { - var href = decodeURIComponent(window.location.search), - query = attr + '=' + val, - newHref; - - if (href === '') { - newHref = '?' + query; - } else { - newHref = href + '&' + query; - } - - window.location.href = newHref; -} - -//隐藏高级选项面板 -function hideSeniorPanel(index) { - $seniorSubWrap.children('.senior-sub:eq(' + hoveredIndex + ')').addClass('hide'); - $seniorAttrWrap.children('.attr:eq(' + hoveredIndex + ')').removeClass('hover'); - hoveredIndex = -1; -} - -//屏蔽筛选项双击文字选中 -$('.filter-box').on('selectstart', '.attr, .brands-index span', function() { - return false; -}); - -//【分类】 -$('.sort-pre').on('click', 'li', function() { - var $this = $(this), - index = $this.index(); - - $this.siblings('.active').removeClass('active'); - $this.addClass('active'); - - $sortSub.children(':not(.hide)').addClass('hide'); - $sortSub.children(':eq(' + index + ')').removeClass('hide'); -}); - -//【品牌】 -if ($brandMore.length > 0) { - $brandMoreTxt = $brandMore.children('em'); - $brandMoreIcon = $brandMore.children('.iconfont'); -} - -//【品牌】多选 -$brandMulti.click(function() { - if ($brandPanel.css('display') === 'none') { - - //显示品牌面板 - brandShowMore(); - } - - $brandPanel.addClass('multi'); //显示出checkbox - $(this).addClass('hide'); -}); - -//【品牌】更多 -$brandMore.click(function() { - var $this = $(this); - - if ($this.hasClass('more')) { - brandHideMore(); - - $brandMoreTxt.text('更多'); - $brandMoreIcon.html(moreUnicode.down); - } else { - brandShowMore(); - - $brandMoreTxt.text('收起'); - $brandMoreIcon.html(moreUnicode.up); - } - - $(this).toggleClass('more'); -}); - -//【品牌】索引 -$('.brands-index').on('click', 'span', function() { - var $this = $(this), - index = $this.data('index'); - - if ($this.index() === 0) { - - //全部 - $brandAttrs.removeClass('hide'); - } else { - $brandAttrs.addClass('hide').filter('[data-index=' + index + ']').removeClass('hide'); - } -}); - -//【品牌】搜索 -$('#brand-search-input').keyup(function() { - var val = $(this).val().toLowerCase(); - - if (val === '') { - $brandAttrs.removeClass('hide'); - } else { - $brandAttrs.addClass('hide').filter('[data-key*=' + val + ']').removeClass('hide'); - } -}); - -//【品牌】多选确定 -$('#brand-multi-ok').click(function() { - var val = ''; - - if ($(this).hasClass('dis')) { - return; - } - - $brandPanel.find('.checked').each(function() { - var id = $(this).data('id'); - - val += (val === '') ? id : (',' + id); - }); - - uriLoc('brand', val); -}); - -//【品牌/高级选项】多选取消 -$('.multi-select-cancel').click(function() { - var $panel = $(this).closest('.multi'); - - if ($panel.hasClass('brand-panel')) { - brandHideMore(); - - $brandMulti.removeClass('hide'); //显示多选按钮 - } - - $panel.removeClass('multi'); - clearChecked($panel.find('.checkbox.checked')); //清除选中状态 -}); - -//【品牌/高级选项】checkbox -$('.check-container').on('click', '.attr', function() { - var $this = $(this), - $check = $this.find('.checkbox'), - $btnOk = $this.parent('.check-container').next('.btns').find('.multi-select-ok'); - - $check.toggleClass('checked'); - - if ($check.hasClass('checked')) { - $check.html(checkUnicode.checked); - } else { - $check.html(checkUnicode.unchecked); - } - - //更新按钮状态 - if ($check.hasClass('checked') || - $this.siblings('.attr').find('.checked').length > 0) { - $btnOk.removeClass('dis'); - } else { - $btnOk.addClass('dis'); - } -}); - -//【品牌/高级选项】当多选时阻止链接默认跳转 -$('.brand, .senior').on('click', '.attr > a', function(e) { - if ($(this).closest('.multi').length > 0) { - e.preventDefault(); - } -}); - -//【价格】用户定义价格处理 -if ($udPrice.length > 0) { - $limit = $udPrice.find('.limit'); - $min = $limit.filter('.min'); - $max = $limit.filter('.max'); - $btn = $udPrice.find('.price-sure'); - - //【价格】输入 - $limit.keyup(function() { - var min = $.trim($min.val()), - max = $.trim($max.val()), - isMinInt = interReg.test(min), - isMaxInt = interReg.test(max); - - if (isMaxInt && (min === '' || isMinInt) || - isMinInt && (max === '' || isMaxInt) - ) { - $btn.removeClass('hide'); - } else { - $btn.addClass('hide'); - } - }); - - //【价格】多项查询 - $btn.click(function() { - var min = $.trim($min.val()), - max = $.trim($max.val()), - tmp; - - //对于min大于max的情况,交换位置 - if (min !== '' && max !== '' && +min > +max) { - tmp = max; - max = min; - min = tmp; - } - - uriLoc('price', min + ',' + max); - }); -} - -//【高级选项】鼠标移入显示子项 -$seniorAttrWrap.on('mouseenter', '.attr', function() { - var index = $(this).addClass('hover').index(); - - $seniorSubWrap.children('.senior-sub:eq(' + index + ')').removeClass('hide'); -}).on('mouseleave', '.attr', function() { - var $this = $(this), - index = $this.index(); - - hoveredIndex = index; - - seniorHoverTime = setTimeout(function() { - hideSeniorPanel(); - }, 100); -}); - -//【高级选项】多选 -$('.senior-sub').on('click', '.multi-select', function() { - $(this).closest('.senior-sub').addClass('multi'); -}).on('click', '.multi-select-ok', function() { - var $btn = $(this), - $sub = $btn.closest('.senior-sub'), - val = ''; - - if ($btn.hasClass('dis')) { - return; - } - - $sub.find('.checked').each(function() { - var id = $(this).data('id'); - - val += (val === '') ? id : (',' + id); - }); - - uriLoc($sub.data('attr'), val); -}).on('mouseenter', function() { - clearTimeout(seniorHoverTime); -}).on('mouseleave', function() { - hideSeniorPanel(); -}); -}); -define("js/product/sort-pager", ["jquery"], function(require, exports, module){ -/** - * 筛选页和列表页操作banner中的每页N个商品选择逻辑 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/12/4 - */ - -var $ = require("jquery"); - -var $countPerPage = $('#count-per-page'), - $countChose = $countPerPage.next('ul'); - -var SLIDETIME = 200; - -$(document).click(function(e) { - if ($(e.target).closest('.page-count').length > 0) { - return; - } - - $countChose && $countChose.slideUp(SLIDETIME); -}); - -$countPerPage.click(function() { - if ($countChose.css('display') === 'none') { - $countChose.slideDown(SLIDETIME); - } else { - $countChose.slideUp(SLIDETIME); - } -}); -}); -define("js/product/product", ["jquery"], function(require, exports, module){ -/** - *Description: 商品列表页 - *Author: chenglong.wang@yoho.cn - *Date: 2015/12/2 - */ - -var $ = require("jquery"), - productEvent = require("js/common/product-event"); - -var $goodsContainer = $('.goods-container'), - $goodItem = $goodsContainer.find('.good-info'), - $goodItemWrapper = $goodsContainer.find('.good-item-wrapper'), - $goodInfoMain = $goodsContainer.find('.good-info-main'), - $goodSelectColor = $goodsContainer.find('.good-select-color'), - $productListNav = $('.product-list-nav'), - productList; - -/** - * @description 初始化鼠标移入商品列表弹层效果 - * @num 每列存放商品的个数 - */ -exports.init = function(num) { - - productList = productEvent($goodItem, num); - - /** - * @description 构造商品颜色列表的html结构 - * @param data 商品颜色的数组,[url: '',src: ''] - * @return json {'colorListStr': '', 'ulNum': ''} - * */ - function createColorList(data) { - var colorListStr = '', - len = data.length, - row = 4, //每列ul放4个li - col = Math.ceil(len / row), //需要几**列**ul - i, - j, - index, - ulNum = 0; - - for (i = 0; i < col; i++) { - colorListStr += '<ul>'; - for (j = 0; j < row; j++) { - index = i * row + j; - if (index === len) { - break; - } - colorListStr += - '<li>' + - '<a href="' + data[i * row + j].url + '">' + - '<img src="' + data[i * row + j].src + '" />' + - '</a>' + - '</li>'; - - if (j === row - 1) { - colorListStr += '</ul>'; - ulNum++; - } - } - } - if (ulNum < col) { - colorListStr += '</ul>'; - } - return { - colorListStr: colorListStr, - ulNum: col - }; - } - - productList.addHandler('MouseEnter', function(event) { - - - - var itemMr = 10, //list的右边距 - itemMb = 35, //list的下边距 - ulStr = '', - ulNum, - wrapperWidth, - diffWidth, - wrapperX, - wrapperY, - wrapperPl, //鼠标移入时弹层的左内边距 - wrapperPt, //鼠标移入时弹层的上内边距 - containerPt; //商品列表容器的上内边距 - - $goodInfoMain.html(''); - $goodSelectColor.html(''); - $goodItemWrapper.css({ - display: 'none' - }); - $.ajax({ - type: 'GET', - url: '/product/index/productColor', - dataType: 'json' - }).then(function(data) { - - ulStr = createColorList(data).colorListStr; //ajax请求的颜色列表 - ulNum = createColorList(data).ulNum;//ajax请求的颜色的数量 - - $goodInfoMain.append(event.targetDuplicate); - $goodSelectColor.append($(ulStr)); - - wrapperPl = $goodItemWrapper.css('paddingLeft'); - wrapperPt = $goodItemWrapper.css('paddingTop'); - containerPt = $goodsContainer.css('paddingTop'); - - wrapperWidth = 10 + (15 + 50) * ulNum + event.targetWidth; - - wrapperX = (event.targetX - 1) * (event.targetWidth + itemMr) - (parseInt(wrapperPl) + 1); - wrapperY = (event.targetY - 1) * - (event.targetHeight + itemMb) + parseInt(containerPt) - (parseInt(wrapperPt) + 1); - - //todo - diffWidth = event.offsetR - ((15 + 50) * ulNum + 25); - - if (diffWidth <= 0) { - wrapperX = wrapperX + diffWidth; - } - $goodItemWrapper.css({ - width: wrapperWidth, - left: wrapperX, - top: wrapperY, - display: 'inline-block' - }); - - }); - }); - - $goodItemWrapper.mouseleave(function() { - $goodInfoMain.html(''); - $goodSelectColor.html(''); - $goodItemWrapper.css({ - display: 'none' - }); - }); - - // 左侧导航 - $productListNav.click(function() { - if ($(this).hasClass('active')) { - $(this).find('.sort-child-list').stop(true, true).slideUp(); - } else { - $(this).find('.sort-child-list').stop(true, true).slideDown(); - } - $(this).toggleClass('active'); - }); -}; -}); -define("js/common/product-event", ["jquery"], function(require, exports, module){ -/** - *Description: 商品自定义事件 - *Author: chenglong.wang@yoho.cn - *Date: 2015/12/3 - */ - -var $ = require("jquery"); - -function ProductEvent() { - - this.handlers = {}; - -} - -ProductEvent.prototype = { - - constructor: ProductEvent, - - addHandler: function(type, handler) { - if (typeof this.handlers[type] === 'undefined') { - this.handlers[type] = []; - } - this.handlers[type].push(handler); - }, - - fire: function(event) { - var handlers, - i; - - if (!event.target) { - - event.target = this; - } - if (this.handlers[event.type] instanceof Array) { - handlers = this.handlers[event.type]; - for (i = 0; i < handlers.length; i++) { - handlers[i](event); - } - } - }, - - removeHandler: function(type, handler) { - var handlers, - i; - - if (this.handlers[type] instanceof Array) { - handlers = this.handlers[type]; - for (i = 0; i < handlers.length; i++) { - if (handlers[i] === handler) { - break; - } - } - handlers.splice(i, 1); - } - } -}; - -module.exports = function($o, rowWidth) { - - var pMouseHover = new ProductEvent(); - - var targetWidth = $o.eq(0).width(), - targetHeight = $o.eq(0).height(), - winW = $(window).width(); - - function handleEvent(event) { - var $target, - targetX = 0, - targetY = 0, - rowW = rowWidth, - activeIndex = 0, - $targetDuplicate = '', - offsetL = 0, - offsetR = 0; - - - switch (event.type) { - case 'mouseenter': - - $target = $(this); - $targetDuplicate = $target.clone(); - activeIndex = $target.index() + 1; - targetX = (activeIndex % rowW) === 0 ? rowW : activeIndex % rowW; - targetY = Math.ceil(activeIndex / rowW); - offsetL = $target.offset().left; - offsetR = winW - (offsetL + targetWidth); - - pMouseHover.fire({ - type: 'MouseEnter', - target: $target, - targetWidth: targetWidth, - targetHeight: targetHeight, - targetX: targetX, - targetY: targetY, - rowWidth: rowW, - activeIndex: activeIndex, - targetDuplicate: $targetDuplicate, - offsetL: offsetL, - offsetR: offsetR - }); - break; - case 'mouseleave': - pMouseHover.fire({ - type: 'MouseLeave' - }); - break; - } - } - - $o.bind('mouseenter', handleEvent); - - //$o.bind('mouseleave', handleEvent); - - return pMouseHover; -}; -}); -define("js/product/hotrank", ["jquery","handlebars","source-map","lazyload"], function(require, exports, module){ -/** - * 首页 - * @author: liuyue<yue.liu@yoho.cn> - * @date: 2015/12/17 - */ - -var $ = require("jquery"), - Handlebars = require("handlebars"), - lazyLoad = require("lazyload"); - -require("js/common/slider"); -require("js/common/logo-brand"); - -lazyLoad($('img.lazy')); -$('.slide-container').slider(); -$('.logo-brand').logoBrand({ - showNum: 10, - url: './getBrand' -}); - -/* - * 一周热卖 - */ -(function($) { - var floatlayer = $('.hot-week').find('.floatlayer'), - sid = $('.hot-cate').find('li').eq(0).data('sid'), - weekOffsetTop, - source, - template, - page = 1, - hotCateW = 0, - weekEnd = false; - - source = '\{{# list}}' + - '<div class="good-info">' + - '<div class="item-img">' + - '<a class="good-thumb" target="_blank" href="\{{url}}">' + - '<img class="lazy" data-original="\{{img}}">' + - '</a>' + - '</div>' + - '<div class="good-detail-text">' + - '<a target="_blank" href="{{url}}">{{name}}</a>' + - '<p class="price">' + - '<span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">' + - '¥{{salePrice}}</span>' + - '{{# marketPrice}}<span class="market-price">¥{{.}}</span>{{/ marketPrice}}' + - '</p>' + - '</div>' + - '</div>' + - '{{/ list}}'; - - //监听滚动事件,控制浮层样式及下拉加载更多 - $(window).on('scroll', function() { - var maxH = weekOffsetTop + $('.hot-week').outerHeight(); - - //热卖右侧浮动导航位置 - weekOffsetTop = $('.hot-week').offset().top; - if ($(this).scrollTop() >= weekOffsetTop - $(window).height() / 2) { - if (floatlayer.offset().top + floatlayer.outerHeight() >= maxH) { - floatlayer.css({ - position: 'absolute', - marginTop: 0, - top: $('.hot-week').outerHeight() - floatlayer.outerHeight() - }); - } else { - floatlayer.css({ - marginTop: -floatlayer.height() / 2 - }).stop().animate({ - opacity: 1 - }, 200, function() { - floatlayer.show(); - }); - } - - } else { - floatlayer.stop().animate({ - opacity: 0 - }, 200, function() { - floatlayer.hide(); - }); - } - - if (floatlayer.offset().top >= $(this).scrollTop() + ($(window).height() - floatlayer.outerHeight()) / 2) { - floatlayer.css({ - position: 'fixed', - marginTop: -floatlayer.height() / 2, - top: '50%' - }); - } - - //下拉加载 - if ($(this).scrollTop() >= weekOffsetTop + $('.hot-week').height() - $(window).height()) { - if (!weekEnd) { - page++; - weekEnd = true; //防止多次请求 - weekAjax(sid, page); - } - } - - }); - - //热卖横导航及竖导航的超出显示控制 - $('.hot-cate').find('li').each(function(i) { - var maxW = $('.hot-cate').width(); - - if (hotCateW <= maxW) { - hotCateW = hotCateW + $(this).width(); - if (hotCateW >= maxW) { - $('.floatlayer').find('li').eq(i).hide().nextAll().hide(); - } - } - - }); - - //热卖横导航点击事件处理 - $('.hot-cate').on('click', 'li', function() { - var nowIndex = $(this).index(), - sid = $(this).data('sid'); - - //处理current样式 - $(this).addClass('current').siblings().removeClass('current'); - $('.floatlayer').find('li').removeClass('current').eq(nowIndex).addClass('current'); - - //返回热卖顶部,110为floor-header所占高度 - $('body,html').stop().animate({ - scrollTop: weekOffsetTop - 110 - }, 500); - - //调用ajax请求函数,重置page,weekEnd - weekAjax(sid); - page = 1; - }); - - //热卖右侧悬浮导航点击事件处理 - $('.floatlayer').on('click', 'li', function() { - var nowIndex = $(this).index(); - - $('.hot-cate').find('li').trigger('click'); - - //处理current样式 - $(this).addClass('current').siblings().removeClass('current'); - $('.hot-cate').find('li').removeClass('current').eq(nowIndex).addClass('current'); - }); - - /* - * 热卖内容ajax请求 - * param: sid(ajax请求的id), page(ajax请求的页码) - */ - function weekAjax(sid, page) { - var param = {}; - - if (page) { - param = { - sid: sid, - page: page - }; - } else { - param = { - sid: sid - }; - } - $.ajax({ - type: 'GET', - dataType: 'json', - url: '/hotrank/getdata', - data: param, - success: function(res) { - var data; - - if (res.code === 200) { - data = { - list: res.data - }; - - //mustache渲染数据,并替换原内容 - template = Handlebars.compile(source); - if (page) { - $('.hot-week-list').append(template(data)); - floatlayer.css({ - position: 'fixed', - marginTop: -floatlayer.height() / 2, - top: '50%' - }); - } else { - $('.hot-week-list').html(template(data)); - } - - lazyLoad($('img.lazy')); - weekEnd = false; - } - } - }); - } - - //热卖中导航current类处理 - $('.hot-cate').find('li').eq(0).addClass('current'); - $('.floatlayer').find('li').eq(0).addClass('current'); -})($); -}); -define("js/common/slider", ["jquery","lazyload"], function(require, exports, module){ -/** - * 首页banner轮播 - * @author: liuyue(yue.liu@yoho.cn) - * @date: 2015/12/04 - */ - -var $ = require("jquery"), - lazyLoad = require("lazyload"); - -(function($) { - var Slider = function(element, options) { - this.$element = $(element); - this.options = $.extend({}, $.fn.slider.defaults, options); - this.bigItem = this.$element.find('.slide-wrapper').find('li'); - this.smallItem = null; - this.len = this.bigItem.size(); - this.index = 0; - this.timer = null; - this.init(); - }; - - Slider.prototype = { - init: function() { - if (this.len <= 1) { - lazyLoad(this.$element.find('img.lazy')); - return; - } - if (!!this.options.pagination) { - this.smallItem = $(this.options.pagination).find('li'); - } else { - this._createPage(); - } - - if (this.options.orient) { - this._createOrient(); - } - this._slideShow(); - this._bindEvent(); - this._autoplay(); - }, - _createOrient: function() { - - var orientHtml = '<div class="slide-switch">' + - '<a class="prev" href="javascript:;"><span class="iconfont"></span></a>' + - '<a class="next" href="javascript:;"><span class="iconfont"></span></a>' + - '</div>'; - - if (this.$element.find('.slide-switch').length > 0) { - return; - } - - this.$element.append(orientHtml); - }, - _createPage: function() { - var pageHtml = '<div class="slide-pagination"><div class="slide-pagination-inner">' + - '<div class="slide-shade"></div><div class="slide-pagination-last">', - i = 0; - - if (this.len <= 1) { - return; - } - for (i = 0; i < this.len; i++) { - pageHtml += '<span></span>'; - } - pageHtml += '</div></div></div>'; - this.$element.append($(pageHtml)); - this.smallItem = $('.slide-pagination-inner').find('span'); - }, - _bindEvent: function() { - var that = this; - - this.$element.find('.slide-switch').on('click', '.next', function() { - that._nextSlide(); - clearInterval(that.timer); - that.timer = setInterval(function() { - that._nextSlide(); - }, that.options.time); - }).on('click', '.prev', function() { - that._prevSlide(); - clearInterval(that.timer); - that.timer = setInterval(function() { - that._nextSlide(); - }, that.options.time); - }); - - this.smallItem.on('mouseenter', function() { - that.index = $(this).index(); - clearInterval(that.timer); - that._slideShow(); - }).on('mouseleave', function() { - that._autoplay(); - }); - - this.$element.on('mouseenter', function() { - $(this).find('.slide-switch').addClass('show'); - }).on('mouseleave', function() { - $(this).find('.slide-switch').removeClass('show'); - }); - }, - _nextSlide: function() { - if (this.index === this.len - 1) { - this.index = 0; - } else { - this.index++; - } - this._slideShow(); - }, - _prevSlide: function() { - if (this.index === 0) { - this.index = this.len - 1; - } else { - this.index--; - } - this._slideShow(); - }, - _slideShow: function() { - var $img = this.bigItem.eq(this.index).find('img.lazy'); - - //未加载图片的及时显示 - if ($img.attr('src') !== $img.data('original')) { - lazyLoad($img, { - event: 'sporty' - }); - $img.trigger('sporty'); - } - - - this.smallItem.eq(this.index).addClass('focus').siblings().removeClass('focus'); - this.bigItem.eq(this.index).fadeIn().siblings().fadeOut(); - }, - _autoplay: function() { - var that = this; - - clearInterval(this.timer); - this.timer = setInterval(function() { - that._nextSlide(); - }, this.options.time); - } - }; - $.fn.slider = function(option) { - return this.each(function() { - var $this = $(this), - data = $this.data('Slider'), - options = typeof option === 'object' && option; - - if (!data) { - $this.data('Slider', (data = new Slider(this, options))); - } - if (typeof option === 'string') { - data[option](); - } - }); - }; - $.fn.slider.Constructor = Slider; - $.fn.slider.defaults = { - time: 5000, - orient: true, //左右切换箭头的显示 - pagination: null - }; -})($); -}); -define("js/common/logo-brand", ["jquery","handlebars","source-map","lazyload"], function(require, exports, module){ -/** - * 首页优选品牌js - * @author: liuyue(yue.liu@yoho.cn) - * @date: 2015/12/08 - */ - -var $ = require("jquery"), - Handlebars = require("handlebars"), - lazyLoad = require("lazyload"); - -(function($) { - var LogoBrand = function(element, options) { - this.$element = $(element); - this.options = $.extend({}, $.fn.logoBrand.defaults, options); - - this.init(); - }; - - LogoBrand.prototype = { - init: function() { - this.$element.addClass('logos-' + this.options.showNum); - this._sendRequest(); - }, - _createHelper: function() { - var showNum = this.options.showNum; - - Handlebars.registerHelper('brandList', function(items, options) { - var out = '<ul>', - i = 0, - item = null, - fillNum = 0; - - //不是每页显示个数的倍数,填充数据 - if (items.length % showNum !== 0) { - fillNum = showNum - (items.length % showNum); - for (i = 0; i < fillNum; i++) { - items.push({ - href: 'javascript:;', - img: '' - }); - } - } - - for (i = 0; i < items.length; i++) { - item = options.fn(items[i]); - - if (i % showNum === 5 || i === 5) { - - //插入切换按钮的位置 - out = out + '<li class="logo-brand-switch" data-page="' + Math.floor(i / showNum) + '">' + - '<a class="prev iconfont" href="javascript:;"></a>' + - '<a class="next iconfont" href="javascript:;"></a></li>' + - '<li data-page="' + Math.floor(i / showNum) + '">' + item + '</li>'; - } else if (i !== 0 && i % showNum === 0) { - - //插入more的位置,more占的是下一页第一个brand的位置,所以page是i/17 - out = out + '<li class="brand-more" data-page="' + Math.floor(i / (showNum + 1)) + '">' + - '<a href="javascript:;">MORE ></a></li>' + - '<li data-page="' + Math.floor(i / showNum) + '">' + item + '</li>'; - } else { - out = out + '<li data-page="' + Math.floor(i / showNum) + '">' + item + '</li>'; - } - } - - //加上最后一个more, more占的是下一页第一个brand的位置,这里已经循环不到brand,所以加在末尾 - return out + '<li class="brand-more" data-page="' + Math.floor(i / (showNum + 1)) + '">' + - '<a href="javascript:;">MORE ></a></li></ul>'; - - }); - }, - _sendRequest: function() { - var that = this; - - $.ajax({ - type: 'GET', - url: that.options.url, - dataType: 'json', - success: function(data) { - var brandTpl, - brandHtml; - - that._createHelper(); - brandHtml = '\{{#brandList logoBrand}}' + - '<a href="\{{href}}"><img class="lazy" data-original="\{{img}}" alt=""></a>' + - '\{{/brandList}}'; - brandTpl = Handlebars.compile(brandHtml); - that.$element.html(brandTpl(data)); - that.$element.find('.brand-more a').attr('href', data.moreBrand); - lazyLoad(that.$element.find('img.lazy')); - that._bindEvent(); - } - }); - }, - _brandShow: function(hidePage, showPage) { - var that = this; - - lazyLoad($('li[data-page=' + showPage + ']').find('img.lazy').trigger('appear')); - that.$element.find('li[data-page=' + hidePage + ']').find('img').fadeOut('normal', function() { - that.$element.find('li').hide(); - that.$element.find('li[data-page=' + showPage + ']').show().find('img').fadeIn(); - }); - }, - _bindEvent: function() { - var that = this; - - that.$element.on('click', '.next', function() { - var page = $(this).parent().data('page'), - nextPage = 0, - totalPage = Math.ceil(that.$element.find('li').size() / (that.options.showNum + 2)) - 1; - - if (page === totalPage) { - nextPage = 0; - } else { - nextPage = page + 1; - } - that._brandShow(page, nextPage); - }); - - that.$element.on('click', '.prev', function() { - var page = $(this).parent().data('page'), - prevPage = 0, - totalPage = Math.ceil(that.$element.find('li').size() / (that.options.showNum + 2)) - 1; - - if (page === 0) { - prevPage = totalPage; - } else { - prevPage = page - 1; - } - that._brandShow(page, prevPage); - }); - } - }; - $.fn.logoBrand = function(option) { - return this.each(function() { - var $this = $(this), - data = $this.data('LogoBrand'), - options = typeof option === 'object' && option; - - if (!data) { - $this.data('LogoBrand', (data = new LogoBrand(this, options))); - } - if (typeof option === 'string') { - data[option](); - } - }); - }; - $.fn.logoBrand.Constructor = LogoBrand; - $.fn.logoBrand.defaults = { - showNum: 16, - url: '/boys/getBrand' - }; -})($); -}); -define("js/home/entry", ["jquery","lazyload","handlebars","source-map"], function(require, exports, module){ -/** - * 频道页js打包入口文件 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/12/28 - */ - -require("js/home/home"); -}); -define("js/home/home", ["jquery","lazyload","handlebars","source-map"], function(require, exports, module){ -/** - * 首页 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/11/23 - */ - -var $ = require("jquery"), - lazyLoad = require("lazyload"), - homePage = $('.home-page').data('page'), - brandUrl = $('.logo-brand').data('url'); - - -require("js/common/slider"); -require("js/common/slider2"); -require("js/common/logo-brand"); - -require("js/common/accordion"); - -if (homePage === 'brands') { - require("js/home/brands"); -} - -if (['boys','girls','kids','lifestyle'].indexOf(homePage) > -1) { - require("js/common/new-arrivls")({ - type: homePage, - url: '/common/getNewArrival', - pageCount: homePage === 'boys' ? '15' : '20' - }); -} - - - -lazyLoad($('img.lazy')); -if (homePage === 'boys') { - $('.slide-container').slider({ - pagination: '.thumb-pagination' - }); -} else if (homePage === 'girls') { - $('.center-col').slider(); -} else { - $('.slide-container').slider(); -} - -if (homePage === 'boys') { - $('.logo-brand').logoBrand({ - url: brandUrl - }); - $('.img-brand').slider2(); -} else { - $('.logo-brand').logoBrand({ - showNum: 10, - url: brandUrl - }); - $('.img-slider-wrapper').slider2(); -} - - -}); -define("js/common/slider2", ["jquery"], function(require, exports, module){ -/** - * (品牌优选)图片幻灯片插件 - * @author: wangqing(robin.wang@yoho.cn) - * @date: 205/7/2 - */ -var $ = require("jquery"); - -(function($) { - $.fn.slider2 = function(options) { - function autoplay(index, limit, toright) { - if (toright === true) { - $('.next').trigger('click'); - if (index === (limit - 3)) { - autoplayrecycle(--index, limit, false); - } else { - autoplayrecycle(++index, limit, true); - } - } else { - $('.prev').trigger('click'); - if (index === 0) { - autoplayrecycle(++index, limit, true); - } else { - autoplayrecycle(--index, limit, false); - } - } - } - - function autoplayrecycle(index, limit, toright) { - window.setTimeout(autoplay, $.fn.slider2.defaults.delaytime, index, limit, toright); - } - - function changePic(index, width, callback) { - var offersetleft = -(index * width); - - $('.img-list') - .animate({ - 'margin-left': offersetleft + 'px' - }, 'slow', callback); - - } - $.fn.slider2.defaults = { - index: 0, - shownum: 3, - autoplay: false, - delaytime: 3000 - }; - return this.each(function() { - var opts = $.extend({}, $.fn.slider2.defaults, options); - var mr = parseInt($('.img-item').css('margin-right')); - var $banneritems = $('.img-item'); - var bannerarr = []; - var _width = $banneritems.outerWidth() + mr, - _size = $banneritems.length, - j = 0; - - if (_size <= 3) { - $(this).find('.img-brand-switch').hide(); - return; - } - for (j = 0; j < $banneritems.length; j++) { - bannerarr.push($banneritems[j]); - } - _size = bannerarr.length; - $(this).find('.img-list').css({ - width: (_width * _size) - }); - $(this).find('.next').on('click', function(e) { - var i = 0, - _obj = null; - - e.preventDefault(); - - changePic(3, _width, function() { - for (i = 0; i < 3; i++) { - _obj = bannerarr.shift(); - - $('.img-item').parent().append(_obj.outerHTML); - bannerarr.push(_obj); - } - $('.img-item').first().remove(); - $('.img-item').first().remove(); - $('.img-item').first().remove(); - $('.img-list').css({ - 'margin-left': '0' - }); - }); - }); - $(this).find('.prev').on('click', function(e) { - var i = 0, - _obj = null, - offersetleft = ''; - - e.preventDefault(); - for (i = 0; i < 3; i++) { - _obj = bannerarr.pop(); - - $('.img-item').parent().prepend(_obj.outerHTML); - bannerarr.unshift(_obj); - } - offersetleft = 3 * _width; - $('.img-item').last().remove(); - $('.img-item').last().remove(); - $('.img-item').last().remove(); - $('.img-list').css({ - 'margin-left': -offersetleft + 'px' - }); - changePic(0, _width); - }); - if (opts.autoplay === true) { - autoplayrecycle(opts.index, _size, true); - } - }); - - }; - -}($)); +/** + * 页面公共逻辑和接口 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/23 + */ +var $ = require("jquery"); + +require("js/footer"); +require("js/simple-header"); +require("js/header"); + +function cookie(name) { + var cookies = document.cookie, + cookieVal, + offset; + + if (document.cookie && document.cookie !== '') { + offset = cookies.indexOf(name + '='); + if (offset > -1) { + offset += name.length + 1; + + cookieVal = decodeURIComponent($.trim(cookies.substring(offset, cookies.indexOf(';', offset)))); + } + } + + return cookieVal; +} + +function setCookie(name, value, options) { + var expires = '', + path, + domain, + secure, + date; + + if (typeof value !== 'undefined') { + options = options || {}; + if (value === null) { + value = ''; + options.expires = -1; + } + + if (options.expires && + (typeof options.expires === 'number' || options.expires.toUTCString)) { + if (typeof options.expires === 'number') { + date = new Date(); + date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); + } else { + date = options.expires; + } + expires = '; expires=' + date.toUTCString(); + } + path = options.path ? '; path=' + options.path : ''; + domain = options.domain ? '; domain=' + options.domain : ''; + secure = options.secure ? '; secure' : ''; + document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); + } +} + +function getUser() { + var c = cookie('_UID'), + user; + + if (typeof c === 'undefined') { + return 0; + } + + user = c.split('::'); + + if (typeof user === 'undefined' || user.length < 4) { + return 0; + } + + return user; +} + +function getUid() { + var user = getUser(); + + if (user === 0) { + return 0; + } + + return user[1]; +} + +function getShoppingKey() { + var c = cookie('_g'); + + if (typeof c === 'undefined') { + return ''; + } + + return JSON.parse(c).k; +} + +window.cookie = cookie; + +window.setCookie = setCookie; + +window.getUser = getUser; + +window.getUid = getUid; + +window.getShoppingKey = getShoppingKey; }); -define("js/common/accordion", ["jquery"], function(require, exports, module){ -var Slide = require("js/common/yohoui/YH.slide"); -var $ = require("jquery"); - -var $contain = $('.slide-accordion'); -var $item = $contain.find('li'); - -var $width = $item.width(); -var $spn = parseInt($('.home-page').width()) === 1150 ? (120 + 5) : (102 + 5); -var slide; - -function switchfun(to) { - $item.each(function(index) { - $(this).css('zIndex', index); - if (index <= to) { - $(this).stop().animate({ - left: index * $spn - }, 400); - } else { - $(this).stop().animate({ - left: (to) * $spn + $width + $spn * (index - to - 1) - }, 400); - } - }); +define("js/footer", ["jquery"], function(require, exports, module){ +/** + * 尾部 + * @author: wangqing<robin.wang@yoho.cn> + * @date: 2015/12/01 + */ + +var $ = require("jquery"); + +var $returnTop = $('.return-top'); + +var apiDomain; + +/** + * 订阅 + * @return {[type]} [description] + */ +function actionSubscription() { + var $subscriberBox = $('#subscriber-box'), + $subscriberBtn = $('#subscriber-btn'), + emailReg = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/; + + var subscribeParam = { + method: 'open.subscriber.subscriber', + v: 1, + return_type: 'jsonp', + open_key: '12345' + }; + + var iconCode = { + mail: '', + tick: '' + }; + + var email = $.trim($subscriberBox.val()); + + var params = {}; + + $subscriberBox.focus(function() { + $(this).val('').css('color', ''); + $subscriberBtn.removeClass('done').html(iconCode.mail); + }); + + $subscriberBtn.click(function() { + if (email !== '' && emailReg.test(email)) { + $.extend(params, subscribeParam, { + email: email, + tmp: Math.random(), + uid: $.uid('_UID') + }); + try { + $.getJSON('http://test.open.yohobuy.com' + '/?callback=?', params, function(data) { + if (data.data.result === 1) { + $subscriberBox.val('已订阅到:' + email); + $subscriberBtn.addClass('done').html(iconCode.tick); + } else { + $subscriberBox.css('color', 'red'); + } + }); + } catch (e) { + console.log(e.message); + } + } else { + $subscriberBox.css('color', 'red'); + } + }); +} + +function actionhomeFootChange() { + var $vote = $('.vote'), + $feedBackPage = $('#feed-back-page'), + count = $vote.children('li').length; + + //意见反馈 + $feedBackPage.on('click', 'span', function() { + var $this = $(this); + + if ($this.hasClass('cur')) { + return; + } + + $this.siblings('.cur').removeClass('cur'); + $this.addClass('cur'); + + $vote.children().not('.hide').addClass('hide') + .end() + .eq($this.index()).removeClass('hide'); + }); + + $vote.on('click', '.feed-back-btn', function() { + var $this = $(this), + $li = $this.closest('li'), + index = $li.index(), + params = {}, + _solution = []; + + var _answer = $li.find('.feedback-answer').val(), + _feedback = $li.find('.feedback-id').val(), + _question = $li.find('.question-id').val(); + + $li.find(':checked').each(function() { + _solution.push($(this).val()); + }); + + params = { + method: 'open.feedback.submit', + feedback: _feedback || 0, + question: _question || 0, + answer: _answer || '', + solution: _solution.join(',') + }; + + $.getData(apiDomain, params, function(data) { + var next = index + 1; + + if (data.result === 1) { + if (index === count - 1) { + alert('感谢您的参与!'); + return; + } + + $li.addClass('hide'); + + $vote.eq(index + 1).removeClass('hide'); + $feedBackPage.children('.cur').removeClass('cur'); + $feedBackPage.eq(next).addClass('cur'); + } + }); + }); +} + +function rePosReturn() { + if ($(window).height() < $(document).height()) { + $returnTop.removeClass('hide'); + } else { + $returnTop.addClass('hide'); + } +} + +//返回顶部 +$returnTop.click(function() { + $('html,body').animate({ + scrollTop: 0 + }, 500); +}); + +$(window).scroll(function() { + if ($(window).scrollTop() === 0) { + $returnTop.addClass('hide'); + } else { + $returnTop.removeClass('hide'); + } +}); + +rePosReturn(); + +//如果初始是隐藏的,监听图片加载,重新确定return-top的高度 +if ($returnTop.hasClass('hide')) { + $('img').load(rePosReturn); +} + +//初始化 +actionSubscription(); +actionhomeFootChange(); + +//暴露给有可能通AJAX改变内容的页面去用 +window.rePosReturnTop = rePosReturn; +}); +define("js/simple-header", ["jquery"], function(require, exports, module){ +var $ = require("jquery"); + +if ($('.simple-header').size() > 0) { + $('.tool-options').on('mouseenter', function() { + $(this).find('.tool-select').fadeIn(); + }).on('mouseleave', function() { + $(this).find('.tool-select').fadeOut(); + }); } - -switchfun(0); - -slide = new Slide({ - length: 5, - loop: false, - auto: false, - timeout: 2, - index: 3 }); - -slide.on('change', function(data) { - switchfun(data.to); +define("js/header", ["jquery","handlebars","source-map","index"], function(require, exports, module){ +/** + * 头部 + * @author: wangqing<robin.wang@yoho.cn> + * @date: 2015/12/01 + */ +var $ = require("jquery"); +var handlebars = require("handlebars"); +var json2 = require("index"); +var noticeSuccess = false; +var vipInfoCombine = null; +var loginInfoCombine = null; +var apiDomain = 'http://api.open.yohobuy.com'; +var cartTpl = ''; +/** + * 判断为1的helper + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ +handlebars.registerHelper('equalone', function(v1, options) { + + if (v1 === '1') { + return options.fn(this); + } else { + return options.inverse(this); + } +}); +/** + * 判断等级为3的helper + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ + +handlebars.registerHelper('equallevelthree', function(v1, options) { + + if (v1 === '3') { + return options.fn(this); + } else { + return options.inverse(this); + } +}); + +/** + * 判断为0的helper + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ + +handlebars.registerHelper('equalzero', function(v1, options) { + + if (v1 === '0') { + return options.fn(this); + } else { + return options.inverse(this); + } +}); +require("plugin/yohocookie"); +require("plugin/yohocart"); +/** + * 获取头部banner的回调函数 + * @param {[type]} data [description] + */ +function JsonPCallBack(data) { + var topbanner; + + if (+data.code === 200) { + if (typeof data.data === 'object') { + topbanner = '<a target="_blank" href="' + data.data.url + '" class="page-top-banner"' + + 'style="height:50px;border:none;background-image:url(' + window.unescape(data.data.src) + ');' + + 'background-position: center;display:block;background-color:#ff5409;"> </a>'; + $('body').prepend(topbanner); + } + } +} + +/** + * 获取头部服务器维护的回调 + * @param {[type]} data [description] + */ +function NoticeCallBack(data) { + if (+data.code === 200) { + noticeSuccess = true; + } +} +window.JsonPCallBack = JsonPCallBack; + +window.NoticeCallBack = NoticeCallBack; +/** + * 检测是否获得公告 + * @return {[type]} [description] + */ +function checkNotice() { + var noticeinner; + + if (!noticeSuccess) { + noticeinner = '<div class="noticewrapper">' + + '<div class="noticecontainer">' + + '<h1 class="noticetitle">关于系统升级的公告</h1>' + + '<div class="noticecontent">' + + '<p class="tips">尊敬的顾客:</p>' + + '<p class="detail">您好!为了向您提供更优质的服务,目前系统正在升级,请耐心等待。</p>' + + '<p class="detail">' + + '系统升级期间,部分地区用户体验会有暂时中断,如遇紧急事宜,欢迎垂询客服热线:400-889-9646 09:00-22:30(周一至周日)。稍后系统将恢复正常' + + '</p>' + + '<p class="detail">使用,欢迎您继续光顾YOHO!BUY有货!带来不便之处深表歉意,请您谅解!</p>' + + '</div>' + + '</div>' + + '</div>'; + $('.header-topwrapper').append(noticeinner); + } +} +/** + * 获得banner数据 + * @param {[string]} code [banner对应的编码] + * @return {[type]} [description] + */ +function getBannerData(code) { + var script = document.createElement('script'); + + script.src = 'http://new.yohobuy.com/resource/getbanner?content_code=' + + code + '&client_type=web&callback=JsonPCallBack'; + document.getElementsByTagName('head')[0].appendChild(script); +} +/** + * 获取公告的jsonp请求 + * @param {[type]} code [description] + * @return {[type]} [description] + */ +function getNoticeData(code) { + var script = document.createElement('script'); + + script.src = 'http://new.yohobuy.com/resource/getbanner?content_code=' + + code + '&client_type=web&callback=NoticeCallBack'; + document.getElementsByTagName('head')[0].appendChild(script); + window.setTimeout(checkNotice, 5000); //5s后检测是否成功 +} +/** + * 显示和隐藏 + * @param {[type]} sourceClass [description] + * @param {[type]} targetClass [description] + * @return {[type]} [description] + */ +function toggleDisplay(sourceClass, targetClass) { + var $that, + targetobj; + + $(sourceClass).hover(function(e) { + e.preventDefault(); + $that = $(this); + targetobj = $(targetClass)[0]; + if (targetobj.style.display === '') { + $that.addClass('acttags'); + targetobj.style.display = 'block'; + } else { + $that.removeClass('acttags'); + targetobj.style.display = ''; + } + }); +} + +/** + * 执行顶部显示和隐藏 + * @return {[type]} [description] + */ +function actionTopTagToggle() { + var tags = [{ + sourceClass: '.myyoho', + targetClass: '.myyoho-info' + }, { + sourceClass: '.phone', + targetClass: '.qr' + }], + obj, + i; + + for (i = 0; i < tags.length; i++) { + obj = tags[i]; + toggleDisplay(obj.sourceClass, obj.targetClass); + } +} +/** + * 执行顶部群组鼠标交互 + * @return {[type]} [description] + */ +function actionYoHoGroup() { + var $this; + + $('.yohogroup').mouseenter(function() { + $this = $(this); + $this.text($this.attr('cn')); + }); + $('.yohogroup').mouseleave(function() { + $this = $(this); + $this.text($this.attr('en')); + }); +} + +/** + * 检测是否支持css3的动画 + * @return {Boolean} [description] + */ +function isSupportCss3Animation() { + var thisFunc, + prefixList = ['webkit', 'moz', 'ms'], + i; + + for (i = 0; i < prefixList.length; i++) { + thisFunc = prefixList[i] + 'RequestAnimationFrame'; + if (window[thisFunc]) { + return true; + } else { + return false; + } + } + +} +/** + * css3动画 + * @param {Array} ) { var thisFunc, prefixList [description] + * @return {[type]} [description] + */ +function requestFrameCloser() { + var prefixList = ['webkit', 'moz', 'ms']; + var func1 = prefixList[0] + 'RequestAnimationFrame'; + var func2 = prefixList[1] + 'RequestAnimationFrame'; + var func3 = prefixList[2] + 'RequestAnimationFrame'; + + if (window[func1]) { + return function(callback) { + window[func1](callback); + }; + } + if (window[func2]) { + return function(callback) { + window[func2](callback); + }; + } + if (window[func3]) { + return function(callback) { + window[func3](callback); + }; + } + return function(callback) { + window.setTimeout(callback, 67); + }; +} + + +window.requestFrame = requestFrameCloser(); +window.start = 0; +window.$logotrans = $('.icon-logo'); +window.isen = true; + +/** + * css3动画 + * @return {[type]} [description] + */ + +function tsAnimate() { + window.start += 10; + window.$logotrans.css({ + transform: 'rotateX(' + window.start + 'deg)', + '-webkit-transform': 'rotateX(' + window.start + 'deg)', + '-moz-transform': 'rotateX(' + window.start + 'deg)' + }); + if (window.start / 90 % 2 === 1) { + if (window.isen) { + window.$logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo1.png)'); + window.isen = false; + } else { + window.$logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); + window.isen = true; + } + } + if (window.start / 90 % 2 === 0 && window.start % 360 !== 0) { + window.setTimeout(tsAnimate, 3000); + } else { + if (window.start % 360 === 0) { + window.setTimeout(tsAnimate, 1 * 60 * 1000); + } else { + window.requestFrame(function() { + tsAnimate(); + }); + } + } +} + +window.loopdurationtime = 500; +window.globaltimeout; +window.onetimeoout; +/** + * 淡出 + * @return {[type]} [description] + */ +function fadeAnimate() { + if (window.globaltimeout) { + window.clearTimeout(window.globaltimeout); + } + window.$logotrans.fadeOut(window.loopdurationtime, function() { + window.isen = false; + + window.$logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo.png)'); + window.$logotrans.fadeIn(window.loopdurationtime, function() { + window.onetimeoout = window.setTimeout(function() { + window.$logotrans.fadeOut(window.loopdurationtime, function() { + window.clearTimeout(window.onetimeoout); + window.isen = true; + window.$logotrans.css('background-image', + 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); + window.$logotrans.fadeIn(window.loopdurationtime, function() { + window.globaltimeout = window.setTimeout(fadeAnimate, 1 * 60 * 1000); + }); + }); + }, 3000); + }); + }); +} +/** + * 执行头部logo动画 + * @return {[type]} [description] + */ +function actionTopLogoAnimate() { + if (isSupportCss3Animation()) { + window.setTimeout(tsAnimate, 3000); + } else { + window.setTimeout(fadeAnimate, 3000); + } +} +/** + * 查询跳转后保留关键字 + * @return {[type]} [description] + */ +function actionAddKeyWords() { + var $keywords = $('#nav_keyword').text(); + var defaultsearch = 'vans'; + var $querykey = $('#query_key'); + + if ($keywords !== '') { + $querykey.css({ + color: '#000' + }); + $querykey.val($keywords); + } else { + $querykey.css({ + color: '#e0e0e0' + }); + $querykey.val(defaultsearch); + $querykey.on('focus', function(e) { + $querykey.css({ + color: '#000' + }); + $querykey.val(''); + }); + } +} +window.dataLayer = []; + +function getSource(column, postition, event) { + try { + window.dataLayer.push({ + louceng: column, + weizhi: postition, + event: event + }); + } catch (e) {} +} +/** + * 搜寻的时候过滤非法字符(+-/:等非法字符单独出现) + * @type {RegExp} + */ +window.reg = /^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/\s]{0,}$/g; +window.keyword = ''; +window.link = ''; + +window.submitSearch = function() { + var $keywordinput = $('#query_key').val(); + var column = 'Search'; + var postition = 'Head Search'; + var event = 'Search'; + var $formatkeyword, + $formatkeywordinput; + + $formatkeyword = $.trim(window.keyword.toLowerCase()); + $formatkeywordinput = $.trim($keywordinput.toLowerCase()); + getSource(column, postition, event); + if (window.link !== '' && window.keyword !== '' && $formatkeyword === $formatkeywordinput) { + location.href = window.link.replace('\'', ''); + } else { + if (window.reg.test($keywordinput)) { + location.href = 'http://search.yohobuy.com/error?query=' + $keywordinput + '&result=error'; + } else { + $('#searchForm').submit(); + return false; + } + } +}; +/** + * banner和地址的映射 + * @type {Object} + */ +window.bannerMap = { + listboys: '4f78b0f418fc42314d8b6e791cfb7fa8', + listgirls: '00c1f025a51b6b597dc37925951ea27d', + listkids: 'b02df11184727701ade1b6de9737d08c', + listlifestyle: 'fd35c52dced0c880976ba858346d1fc5', + searchboys: '9fb8986ea700cc27a8057361c3924394', + searchgirls: 'e3e207a1443ca60c8037fe52a5560c18', + searchkids: '620fc77f479da8feaeb06f2324e5d0bb', + searchlifestyle: 'a3c93301c6ffaf3ed0f36a4a451be36d', + uniquebrandboys: '2ebb0810c0d1a67e5229149c9c3aba7d', + uniquebrandgirls: '99e23385f4ba4b65f406b7e2968ac821', + uniquebrandkids: 'a74ebc9b17840c91b9ea46568111fe6b', + uniquebrandlifestyle: '0e8c81ead53f56302baa4d0ad967f527', + brandsboys: '77b352db07129c76a9d532acad149f9f', + brandsgirls: 'bf047f16e52ebc38be5ce9c7623831e6', + brandskids: 'e3ae1ce9b5e13c6d271ef3eccb831652', + brandslifestyle: 'e4ac8029c30f65d7f1af030980d140fe', + newboys: '869d3c5f3b450fb52101d00a61ce87cb', + newgirls: 'd953b6dfdac02483d1dcce8d96055954', + newkids: '0874cb6d75df8e0e78f2d475e53ecc08', + newlifestyle: '43e8fc8e178115c262bbce2bd0012db7', + saleboys: 'c846e3165c994769b4201d8c32f3ae9b', + salegirls: '52b1d389edcbc62d65de71b80c4d6ad0', + salekids: 'ad8b1703c761ba00973868ab5199cc27', + salelifestyle: '7acc64905c70ac91846f43fb2cec4bbd', + homeboys: 'b0856a771ef1b59ab1234c74688fa42d', + homegirls: '2bd61fa12e4933211518f70fe5ce3c48', + homekids: '895c59e8c64b40399c9533509507320c', + homelifestyle: '2e037d4e25d2767352ca3e0a4627f7bd', + indexboys: '0c911d3000f52e8ca7cffb74f5864c29', + indexgirls: 'b645b8980c423ab30485e0a9d08c2ef7', + indexkids: '17f6d5d5d454d2c507bc5fcbc90f7756', + indexlifestyle: '735cd393e841762af8793c346abbbc36' +}; + +/** + * cookie 初始化 + * @return {[type]} [description] + */ +function actionInitCookie() { + var $cookieGender = $.cookie('_Gender'); + var $target = $('.cure'); + + if (typeof $cookieGender !== 'undefined' && $cookieGender !== '') { + $.setcookie('_Gender', 1, { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '男生') { + $.setcookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + $.setcookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '女生') { + $.setcookie('_Gender', '2,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + $.setcookie('_Channel', 'girls', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '创意生活') { + $.setcookie('_Channel', 'lifestyle', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '潮童') { + $.setcookie('_Channel', 'kids', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } +} + +/** + * cookie集合 + * @type {Object} + */ +window.cookieMap = {}; + +function actionExeCookieMap() { + var cookies = document.cookie; + var cookiearr = cookies.split(';'); + var i; + var temparr; + var key; + + for (i = 0; i < cookiearr.length; i++) { + temparr = cookiearr[i].split('='); + key = temparr[0].replace(/\s/g, ''); + window.cookieMap[key] = temparr[1]; + } +} +/** + * 一级菜单点击(会设置cookie) + * @return {[type]} [description] + */ +function actionFirstMenuClick() { + var $cookieGender; + + $('.first-nav-item').click(function() { + $cookieGender = $.cookie('_Gender'); + if (typeof $cookieGender !== 'undefined' && $cookieGender !== '') { + $.setcookie('_Gender', 1, { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($(this).find('.name-cn a').text() === '男生') { + $.setcookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + $.setcookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($(this).find('.name-cn a').text() === '女生') { + $.setcookie('_Gender', '2,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + $.setcookie('_Channel', 'girls', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($(this).find('.name-cn a').text() === '创意生活') { + $.setcookie('_Channel', 'lifestyle', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($(this).find('.name-cn a').text() === '潮童') { + $.setcookie('_Channel', 'kids', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + }); + + $('#backToOld').click(function() { + $.setcookie('_New', 1, { + path: '/', + domain: '.yohobuy.com' + }); + location.href = 'http://www.yohobuy.com'; + }); +} + + +/** + * 购物车商品数量 + * @return {[type]} [description] + */ +function actionUpdateCartNum() { + $('#miniCartBox').miniCart({ + cartNum: '.ic-infomation' + }); +} +/** + * 加载购物车数据 + * @return {[type]} [description] + */ +function loadCartData() { + var shoppingInfo, + shoppingData, + strK; + + $.getData(apiDomain, { + method: 'open.Shoppingcart.getCartData', + shopping_key: $.getShoppingKey() + }, function(jsonData) { + if (window.cartTpl === '') { + window.cartTpl = handlebars.compile($('#mini-cart-tpl').html()); + } + $('#miniCartBox').children('.gobuy-wrapper').html(window.cartTpl({ + carData: jsonData + })); + if (parseInt($('.ic-infomation').html()) === 0) { + $('#miniCartBox .gobuy-wrapper').html('<div class="gobuy-empty">' + + '<h3 class="information">您的购物车暂无商品</h3></div>'); + } + if ($('#miniCartBox .goods-list li').length < 1) { + shoppingInfo = $.cookie('_g'); + shoppingData = json2.parse(shoppingInfo); + if (shoppingData !== null) { + strK = '{"_k":"' + shoppingData._k + '","_nac":0' + ',"_ac":0,"_r":0}'; + $.setcookie('_g', strK, { + path: '/', + domain: '.yohobuy.com' + }); + } + $('.ic-infomation').html(0); + $('#miniCartBox .gobuy-wrapper').html('<div class="gobuy-empty">' + + '<h3 class="information">您的购物车暂无商品</h3></div>'); + } + }); +} +/** + * 删除购物车数据 + * @param {[type]} id [description] + * @param {Boolean} isreduce [description] + * @return {[type]} [description] + */ +function delCartGoods(id, isreduce) { + $.getData(apiDomain, { + method: 'open.Shoppingcart.delone', + shopping_key: $.getShoppingKey(), + id: id, + isreduce: isreduce + }, function(jsonData) { + var shoppingInfo = $.cookie('_g'); + var shoppingData = json2.parse(shoppingInfo); + var strK = '{"_k":"' + shoppingData._k + '","_nac":' + jsonData.total_goods_num + ',"_ac":0,"_r":0}'; + + $.setcookie('_g', strK, { + path: '/', + domain: '.yohobuy.com' + }); + loadCartData(); + actionUpdateCartNum(); + }); +} + + +/** + * 监听购物车删除 + * @return {[type]} [description] + */ +function actionListenDelCarGoods() { + var $delcargoods; + var goodsid, + cheapest; + + $(document).on('click', '.goodscardelete', function(e) { + $delcargoods = $(this); + goodsid = $delcargoods.attr('goodsid'); + cheapest = $delcargoods.attr('cheapest'); + delCartGoods(goodsid, cheapest); + }); +} +/** + * 监听点击更多打折商品 + * @return {[type]} [description] + */ +function actionListenCartMore() { + var $morecart; + + $(document).on('click', '.mycart_i_down', function(e) { + $morecart = $(this); + $morecart.toggleClass('mycart_i_up'); + $('#mycartmore').slideToggle(300); + }); +} +/** + * 点击购物车 + * @return {[type]} [description] + */ +function actionClickMiniCartBox() { + var $target; + var shopcarurl = 'http://www.yohobuy.com/shopping/cart'; + + $('#miniCartBox').on('click', function(e) { + $target = $(e.target); + if ($target.hasClass('gobuy')) { + window.location.href = shopcarurl; + } + }); +} + +/** + * 显示购物车效果 + * @param {Boolean} isShow [description] + * @return {[type]} [description] + */ +function showMiniCart(isShow) { + if (isShow === 1) { + $('#miniCartBox').addClass('list-cur'); + $('.gobuy-wrapper').show(); + if (parseInt($('.ic-infomation').html()) !== 0) { + $('#miniCartBox .gobuy-wrapper').html('<div class="gobuy-loading">' + + '<h3 class="information">加载中,请稍后</h3></div>'); + loadCartData(); + } else { + $('#miniCartBox .gobuy-wrapper').html('<div class="gobuy-empty">' + + '<h3 class="information">您的购物车暂无商品</h3></div>'); + } + } else { + $('#miniCartBox').removeClass('list-cur'); + $('.gobuy-wrapper').hide(); + } +} + + +/** + * 鼠标购物车的滑入滑出效果 + * @return {[type]} [description] + */ +function actionGoodsCarMouseEffect() { + var $target; + + $('#miniCartBox').mouseenter(function(e) { + $target = $(e.target); + if ($target.attr('id') === 'miniCartBox' || $target.attr('class') === 'ic-infomation') { + showMiniCart(1); + } + }); + $('#miniCartBox').mouseleave(function(e) { + showMiniCart(0); + }); +} +/** + * 获得banner & 异常通知 + * @return {[type]} [description] + */ +function actionGetBannerAndNotice() { + var INDEXKIDS = 'indexkids', + INDEXLIFESTYLE = 'indexlifestyle', + INDEXBOYS = 'indexboys', + INDEXWOMAN = 'indexgirls', + UNIQUEBRAND = 'uniquebrand'; + var url = window.location.href; + var host = window.location.host; + var code = ''; + var firstarea; + + if (url.indexOf('search') !== -1) { + code = window.bannerMap['search' + window.cookieMap._Channel]; + } + if (url.indexOf('list') !== -1) { + code = window.bannerMap['list' + window.cookieMap._Channel]; + } + if (url.indexOf('brands') !== -1) { + code = window.bannerMap['brands' + window.cookieMap._Channel]; + } + if (url.indexOf('new') !== -1) { + code = window.bannerMap['new' + window.cookieMap._Channel]; + } + if (url.indexOf('sale') !== -1) { + code = window.bannerMap['sale' + window.cookieMap._Channel]; + } + if (url.indexOf('home') !== -1) { + code = window.bannerMap['home' + window.cookieMap._Channel]; + } + if (url.indexOf('kids') !== -1) { + code = window.bannerMap[INDEXKIDS]; + } + if (url.indexOf('woman') !== -1) { + code = window.bannerMap[INDEXWOMAN]; + } + if (url.indexOf('lifestyle') !== -1) { + code = window.bannerMap[INDEXLIFESTYLE]; + } + if (url.indexOf('www.yohobuy.com') !== -1 && window.location.pathname === '/') { + code = window.bannerMap[INDEXBOYS]; + } + firstarea = host.split('.')[0]; + if (firstarea !== 'list' && firstarea !== 'search' && firstarea !== 'www' && + firstarea !== 'new' && firstarea !== 'item' && firstarea !== 'guang') { + code = window.bannerMap[UNIQUEBRAND + window.cookieMap._Channel]; + } + + getBannerData(code); //获得banner信息 + getNoticeData(code); //获得公告信息 + +} + +function brandSwitch(index) { + $('.hot-brands').find('ul').stop().animate({ + opacity: 0, + 'z-index': 1 + }, 200).eq(index).animate({ + opacity: 1, + 'z-index': 2 + }, 200); +} +/** + * 品牌左右切换 + * @return {[type]} [description] + */ +function actionBrandChange() { + var activeIndex = 0, + swiperLen; + + if ($('.hot-brands').size() > 0) { + swiperLen = $('.hot-brands').find('ul').size(); + $('.hot-brands').find('ul').eq(0).css({ + opacity: 1, + 'z-index': 2 + }); + $('.brands-control').on('click', '.next', function() { + if (activeIndex === swiperLen - 1) { + activeIndex = 0; + } else { + activeIndex++; + } + brandSwitch(activeIndex); + }); + $('.brands-control').on('click', '.prev', function() { + if (activeIndex === 0) { + activeIndex = swiperLen - 1; + } else { + activeIndex--; + } + brandSwitch(activeIndex); + }); + + + } +} +/** + * 循环检测购物车数量 + * @return {[type]} [description] + */ +function actionLoopUpdCartNum() { + setInterval(actionUpdateCartNum, 2000); +} +/** + * 处理模板 + * @return {[type]} [description] + */ +function actionExeTemplate() { + var resulthtml = $('#goodcartempwarpper').html().replace(/\\/g, ''); + + $('#goodcartempwarpper').html(resulthtml); + vipInfoCombine = handlebars.compile($('#tmpl-my-login-new').html()); +} +/** + * 执行搜索 + * @return {[type]} [description] + */ +function actionSearch() { + var searchDomain = 'http://search.yohobuy.com/api/suggest'; + + $('#query_key').search(searchDomain); +} +/** + * 获取登录状态 + * @return {[type]} [description] + */ +function actionLoginState(_data) { + var timestamp = new Date().getTime(); + var noLoginHtml = '<span>Hi~</span>[<a href="http://www.yohobuy.com/signin.html" class="list-a login-out ">' + + '请登录</a>] ' + + '[<a href="http://www.yohobuy.com/reg.html" class="list-a login-out" onclick="">免费注册</a>]'; + var loginHtml = '<span>Hi~<a href="http://www.yohobuy.com/home?t=' + timestamp + + '">{{user_name}}</a></span> ' + + '{{#equalone islogin}}' + + '[<a href="{{logout}}" class="list-a login-out">退出</a>]' + + '{{else}}' + + '[<a href="http://www.yohobuy.com/signin.html" class="list-a login-out">请登录</a>] ' + + '[<a href="http://www.yohobuy.com/reg.html" onclick="" class="list-a login-out">免费注册</a>]' + + '{{/equalone}}'; + var $boxObj = $('#loginBox'); + var info = $.cookie('_UID')||''; + var name = _data.data.profile_name||''; + var _length = 0; + var t = 0; + var char = ''; + var user = info.split('::')||''; + var userName = user[0] || ' '; + var _logout = ''; + var islogin = '1'; + var _num = 0; + var data = { + user_name: name, + logout: _logout, + random: Math.random() + }; + + + loginInfoCombine = handlebars.compile(loginHtml); + if (typeof info === 'undefined' || info === null) { + $boxObj.html(noLoginHtml); + return false; + } + if (typeof user === 'undefined' || user.length < 4) { + $boxObj.html(noLoginHtml); + return false; + } + + for (t; t < userName.length; t++) { + char = userName.substr(t, 1); + if (/.*[\u4e00-\u9fa5]+.*$/.test(char)) { + _length += 2; + } else { + _length += 1; + } + } + if (_length <= 10) { + name = userName; + } else { + _num = 0; + for (t; t < userName.length; t++) { + if (_num < 10) { + char = userName.substr(t, 1); + if (char !== '*') { + if (/.*[\u4e00-\u9fa5]+.*$/.test(char)) { + _num += 2; + } else { + _num += 1; + } + } + name += char; + } + } + if (name.length < userName.length) { + name += '...'; + } + } + + + if (/http:\/\//.test(user[3])) { + _logout = user[3].replace('www.yohobuy.com', 'www.yohobuy.com'); + } else { + _logout = 'http://www.yohobuy.com/logout_' + user[3] + '.html'; + } + if (_data.result === -1) { + islogin = '-1'; + } + data.islogin = islogin; + $boxObj.html(loginInfoCombine(data)); +} +/** + * 获得vip用户信息 + * @return {[type]} [description] + */ +function actionVipInfo(_data) { + var vipInfo = _data.data; + var headUrl = ''; + + if (_data.result === 1) { + if (typeof vipInfo === undefined || vipInfo.length < 1) { + return false; + } + $('#myYohoBox').mouseenter(function() { + $(this).addClass('acttags'); + $('#myYohoBox .myyoho-info').show().html(vipInfoCombine(vipInfo)); + headUrl = $('.myyoho-photo img').attr('data-url'); + if ($._checkUrlState === 1) { + $('.myyoho-photo').show().find('img').attr('src', headUrl); + return; + } + if (headUrl === '' || $._checkUrl !== '') { + return; + } + $.ajax({ + url: headUrl, + type: 'GET', + complete: function(response) { + if (response.status === 200 || response.status === 0) { + $('.myyoho-photo').show().find('img').attr('src', headUrl); + $._checkUrlState = 1; + } + $._checkUrl = headUrl; + } + }); + }); + $('#myYohoBox').mouseleave(function() { + $(this).removeClass('acttags'); + $('#myYohoBox .myyoho-info').hide(); + }); + } +} +/** + * 获取登录信息 + * @return {[type]} [description] + */ +function actionLoginInfo() { + var param = { + method: 'open.passport.get' + }; + + $.getData(apiDomain, param, function(_data) { + actionLoginState(_data); // 更改登录状态 + actionVipInfo(_data); //获得vip; + }); +} +/** + * 初始化函数 + * @return {[type]} [description] + */ +function init() { + actionExeTemplate(); //处理模板 + actionInitCookie(); //初始化cookie + actionExeCookieMap(); //格式化cookie + actionYoHoGroup(); // yoho集团鼠标效果 + actionTopTagToggle(); // yoho上部分开关 + actionTopLogoAnimate(); //yoho logo动画 + actionGetBannerAndNotice(); // 获取banner和服务器维护提示 + actionBrandChange(); //切换品牌 + actionAddKeyWords(); //跳转后增加关键字 + actionFirstMenuClick(); //一级菜单点击(会设置cookie) + actionGoodsCarMouseEffect(); //鼠标滑入滑出效果 + actionUpdateCartNum(); //更新购物车数量 + actionLoopUpdCartNum(); //循环检测购物车数量 + actionSearch(); //搜索执行 + actionClickMiniCartBox(); //点击购物车跳转 + actionListenDelCarGoods(); //监听购物车删除 + actionListenCartMore(); // + actionLoginInfo(); //获取登录信息 +} + +init(); }); - -$item.mouseover(function() { - slide.go($(this).index()); +define("plugin/yohocookie", ["jquery"], function(require, exports, module){ +var jQuery = require("jquery"); + +(function($) { + $.extend({ + cookie: function(name) { + var cookieValue = null; + + if (document.cookie && document.cookie != '') { + var cookies = document.cookie.split(';'); + for (var i = 0; i < cookies.length; i++) { + var cookie = jQuery.trim(cookies[i]); + if (cookie.substring(0, name.length + 1) == (name + '=')) { + cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); + break; + } + } + } + return cookieValue; + }, + setcookie: function(name, value, options) { + var expires = ''; + + if (typeof value != 'undefined') { + options = options || {}; + if (value === null) { + value = ''; + options.expires = -1; + } + if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) { + var date; + if (typeof options.expires == 'number') { + date = new Date(); + date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); + } else { + date = options.expires; + } + expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE + } + var path = options.path ? '; path=' + options.path : ''; + var domain = options.domain ? '; domain=' + options.domain : ''; + var secure = options.secure ? '; secure' : ''; + document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); + } + } + }) +})(jQuery); +}); +define("plugin/yohocart", ["jquery"], function(require, exports, module){ + +var jQuery = require("jquery"); +var $yohocookie = require("plugin/yohocookie"); + +(function($) { + $.fn.miniCart = function(options) { + var defaults = { + 'cookie': '_g', + 'cartNum': '' + }; + var params = $.extend(defaults, options); + var cartInfo = eval('(' + $.cookie(params.cookie) + ')'); + + if (cartInfo != null) { + var totalNum = parseInt(cartInfo._nac) + parseInt(cartInfo._ac); + if (totalNum == 0) { + $('#icart-num').attr('class', 'icart-num icart-none'); + } else { + $('#icart-num').attr('class', 'icart-num'); + } + $(params.cartNum).html(totalNum); + } + } + $.fn.search = function(searchDomain) { + var query_num = 0; + var list_index = 0; + var tmp_list = 0; + + function getKeywords(obj) { + var key = $.trim($(obj).val()); + + key = key.replace(new RegExp("'", "gm"), ''); //去掉特殊字符 + if (key == '') { + $('.search-list').hide(); + return false; + } + key = encodeURI(key); //编码 + $.get(searchDomain + '?callback=?&query=' + key, function(htmlData) { + $('.search-list').html(htmlData['data']); + query_num = $('.search-list').children('li').length; + list_index = -1; + if (query_num > 0) { + $('.search-list').show(); + } else { + $('.search-list').hide(); + } + //绑定事件 + $('.search-list').find('a').hover(function() { + $(this).css("background-color", "#eee"); + }, function() { + $(this).css("background-color", "#fff"); + }); + }, 'jsonp'); + } + + function getText(obj) { + $('.search-list li:eq(' + tmp_list + ')').children('a').css("background-color", "#fff"); + $('.search-list li:eq(' + list_index + ')').children('a').css("background-color", "#eee"); + var text = $('.search-list li:eq(' + list_index + ')').children('a').attr("title"); + $('#query_key').val(text); + } + return this.each(function() { + $(this).keyup(function(event) { + if (event.which == 38) { + if (query_num == 0) { + return false; + } + if (list_index == -1) { + list_index = 0; + } + tmp_list = list_index; + list_index = (list_index - 1 + query_num) % query_num; + getText(this); + } else if (event.which == 40) { + if (query_num == 0) { + return false; + } + tmp_list = list_index; + list_index = (list_index + 1) % query_num; + getText(this); + } else if (event.which == 13) { + submitSearch(); + } else { + getKeywords(this); + } + }); + }); + }; + $.extend({ + getData: function(domain, options, onSuccess) { + var defaults = { + 'page': 1, + 'method': '', + 'v': 1, + 'return_type': 'jsonp', + 'open_key': '12345', + 'tmp': Math.random() + }; + if (typeof(domain) == undefined || domain == '') { + console.log('请设置请求的api地址'); + return false; + } + var params = $.extend(defaults, options); + params.page = params.page || 1; + if (params.method == '') { + console.log('请设置请求的URL'); + return false; + } + try { + $.getJSON(domain + '/?callback=?', params, function(_data) { + if (onSuccess != '') { + eval(onSuccess(_data.data)); + return false; + } + }); + } catch (e) { + console.log(e.message); + } + }, + getShoppingKey: function() { + var shoppingInfo = $.cookie('_g'); + if (typeof shoppingInfo == 'undefined' || shoppingInfo == null) { + return ''; + } + var shoppingData = eval('(' + shoppingInfo + ')'); + return shoppingData._k; + }, + }) +})(jQuery); +exports.init = function() { + +} +}); +define("js/product/entry", ["jquery","lazyload","handlebars","source-map"], function(require, exports, module){ +/** + * 商品页面打包入口文件 + * @auhtor: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/28 + */ + +require("js/product/list"); + +require("js/product/hotrank"); +}); +define("js/product/list", ["jquery","lazyload"], function(require, exports, module){ +/** + * 商品列表页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/23 + */ + +require("js/product/filter"); + +require("js/product/sort-pager"); + +require("js/product/product"); +}); +define("js/product/filter", ["jquery"], function(require, exports, module){ +/** + * 商品筛选逻辑 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/4 + */ + +var $ = require("jquery"); + +var checkUnicode = { + unchecked: '', + checked: '' +}, +moreUnicode = { + up: '', + down: '' +}; + +//品牌相关变量 +var $brandDefault = $('.brand .default'), + $brandPanel = $('.brand .brand-panel'), + $brandAttrs = $('.brand .attr'), + $brandMore = $('#brand-more'), + $brandMulti = $('#brand-multi'); + +var $brandMoreTxt, $brandMoreIcon; + +//价格相关变量 +var $udPrice = $('.ud-price-range'), + interReg = /^\d+$/, + $limit, $min, $max, $btn; + +//分类相关变量 +var $sortSub = $('.sort-sub-wrap'); + +//高级选项相关变量 +var $seniorSubWrap = $('.senior-sub-wrap'), + $seniorAttrWrap = $('.senior-attr-wrap'); + +var seniorHoverTime, hoveredIndex; + +//清除checkbox选中状态 +function clearChecked($checkbox) { + $checkbox.removeClass('checked').html(checkUnicode.unchecked); +} + +//显示更多品牌面板 +function brandShowMore() { + $brandDefault.addClass('hide'); + $brandPanel.removeClass('hide'); +} + +//隐藏更多品牌面板 +function brandHideMore() { + $brandPanel.addClass('hide'); + $brandDefault.removeClass('hide'); +} + +//url构造&跳转 +function uriLoc(attr, val) { + var href = decodeURIComponent(window.location.search), + query = attr + '=' + val, + newHref; + + if (href === '') { + newHref = '?' + query; + } else { + newHref = href + '&' + query; + } + + window.location.href = newHref; +} + +//隐藏高级选项面板 +function hideSeniorPanel(index) { + $seniorSubWrap.children('.senior-sub:eq(' + hoveredIndex + ')').addClass('hide'); + $seniorAttrWrap.children('.attr:eq(' + hoveredIndex + ')').removeClass('hover'); + hoveredIndex = -1; +} + +//屏蔽筛选项双击文字选中 +$('.filter-box').on('selectstart', '.attr, .brands-index span', function() { + return false; +}); + +//【分类】 +$('.sort-pre').on('click', 'li', function() { + var $this = $(this), + index = $this.index(); + + $this.siblings('.active').removeClass('active'); + $this.addClass('active'); + + $sortSub.children(':not(.hide)').addClass('hide'); + $sortSub.children(':eq(' + index + ')').removeClass('hide'); +}); + +//【品牌】 +if ($brandMore.length > 0) { + $brandMoreTxt = $brandMore.children('em'); + $brandMoreIcon = $brandMore.children('.iconfont'); +} + +//【品牌】多选 +$brandMulti.click(function() { + if ($brandPanel.css('display') === 'none') { + + //显示品牌面板 + brandShowMore(); + } + + $brandPanel.addClass('multi'); //显示出checkbox + $(this).addClass('hide'); +}); + +//【品牌】更多 +$brandMore.click(function() { + var $this = $(this); + + if ($this.hasClass('more')) { + brandHideMore(); + + $brandMoreTxt.text('更多'); + $brandMoreIcon.html(moreUnicode.down); + } else { + brandShowMore(); + + $brandMoreTxt.text('收起'); + $brandMoreIcon.html(moreUnicode.up); + } + + $(this).toggleClass('more'); +}); + +//【品牌】索引 +$('.brands-index').on('click', 'span', function() { + var $this = $(this), + index = $this.data('index'); + + if ($this.index() === 0) { + + //全部 + $brandAttrs.removeClass('hide'); + } else { + $brandAttrs.addClass('hide').filter('[data-index=' + index + ']').removeClass('hide'); + } +}); + +//【品牌】搜索 +$('#brand-search-input').keyup(function() { + var val = $(this).val().toLowerCase(); + + if (val === '') { + $brandAttrs.removeClass('hide'); + } else { + $brandAttrs.addClass('hide').filter('[data-key*=' + val + ']').removeClass('hide'); + } +}); + +//【品牌】多选确定 +$('#brand-multi-ok').click(function() { + var val = ''; + + if ($(this).hasClass('dis')) { + return; + } + + $brandPanel.find('.checked').each(function() { + var id = $(this).data('id'); + + val += (val === '') ? id : (',' + id); + }); + + uriLoc('brand', val); +}); + +//【品牌/高级选项】多选取消 +$('.multi-select-cancel').click(function() { + var $panel = $(this).closest('.multi'); + + if ($panel.hasClass('brand-panel')) { + brandHideMore(); + + $brandMulti.removeClass('hide'); //显示多选按钮 + } + + $panel.removeClass('multi'); + clearChecked($panel.find('.checkbox.checked')); //清除选中状态 +}); + +//【品牌/高级选项】checkbox +$('.check-container').on('click', '.attr', function() { + var $this = $(this), + $check = $this.find('.checkbox'), + $btnOk = $this.parent('.check-container').next('.btns').find('.multi-select-ok'); + + $check.toggleClass('checked'); + + if ($check.hasClass('checked')) { + $check.html(checkUnicode.checked); + } else { + $check.html(checkUnicode.unchecked); + } + + //更新按钮状态 + if ($check.hasClass('checked') || + $this.siblings('.attr').find('.checked').length > 0) { + $btnOk.removeClass('dis'); + } else { + $btnOk.addClass('dis'); + } +}); + +//【品牌/高级选项】当多选时阻止链接默认跳转 +$('.brand, .senior').on('click', '.attr > a', function(e) { + if ($(this).closest('.multi').length > 0) { + e.preventDefault(); + } +}); + +//【价格】用户定义价格处理 +if ($udPrice.length > 0) { + $limit = $udPrice.find('.limit'); + $min = $limit.filter('.min'); + $max = $limit.filter('.max'); + $btn = $udPrice.find('.price-sure'); + + //【价格】输入 + $limit.keyup(function() { + var min = $.trim($min.val()), + max = $.trim($max.val()), + isMinInt = interReg.test(min), + isMaxInt = interReg.test(max); + + if (isMaxInt && (min === '' || isMinInt) || + isMinInt && (max === '' || isMaxInt) + ) { + $btn.removeClass('hide'); + } else { + $btn.addClass('hide'); + } + }); + + //【价格】多项查询 + $btn.click(function() { + var min = $.trim($min.val()), + max = $.trim($max.val()), + tmp; + + //对于min大于max的情况,交换位置 + if (min !== '' && max !== '' && +min > +max) { + tmp = max; + max = min; + min = tmp; + } + + uriLoc('price', min + ',' + max); + }); +} + +//【高级选项】鼠标移入显示子项 +$seniorAttrWrap.on('mouseenter', '.attr', function() { + var index = $(this).addClass('hover').index(); + + $seniorSubWrap.children('.senior-sub:eq(' + index + ')').removeClass('hide'); +}).on('mouseleave', '.attr', function() { + var $this = $(this), + index = $this.index(); + + hoveredIndex = index; + + seniorHoverTime = setTimeout(function() { + hideSeniorPanel(); + }, 100); +}); + +//【高级选项】多选 +$('.senior-sub').on('click', '.multi-select', function() { + $(this).closest('.senior-sub').addClass('multi'); +}).on('click', '.multi-select-ok', function() { + var $btn = $(this), + $sub = $btn.closest('.senior-sub'), + val = ''; + + if ($btn.hasClass('dis')) { + return; + } + + $sub.find('.checked').each(function() { + var id = $(this).data('id'); + + val += (val === '') ? id : (',' + id); + }); + + uriLoc($sub.data('attr'), val); +}).on('mouseenter', function() { + clearTimeout(seniorHoverTime); +}).on('mouseleave', function() { + hideSeniorPanel(); +}); +}); +define("js/product/sort-pager", ["jquery"], function(require, exports, module){ +/** + * 筛选页和列表页操作banner中的每页N个商品选择逻辑 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/4 + */ + +var $ = require("jquery"); + +var $countPerPage = $('#count-per-page'), + $countChose = $countPerPage.next('ul'); + +var SLIDETIME = 200; + +$(document).click(function(e) { + if ($(e.target).closest('.page-count').length > 0) { + return; + } + + $countChose && $countChose.slideUp(SLIDETIME); +}); + +$countPerPage.click(function() { + if ($countChose.css('display') === 'none') { + $countChose.slideDown(SLIDETIME); + } else { + $countChose.slideUp(SLIDETIME); + } +}); +}); +define("js/product/product", ["jquery","lazyload"], function(require, exports, module){ +/** + *Description: 商品列表页 + *Author: chenglong.wang@yoho.cn + *Date: 2015/12/2 + */ + +var $ = require("jquery"), + lazyLoad = require("lazyload"), + productEvent = require("js/common/product-event"); + +var $goodsContainer = $('.goods-container'), + $goodItem = $goodsContainer.find('.good-info'), + $goodItemWrapper = $goodsContainer.find('.good-item-wrapper'), + $goodInfoMain = $goodsContainer.find('.good-info-main'), + $goodSelectColor = $goodsContainer.find('.good-select-color'), + $productListNav = $('.product-list-nav'), + productList; + +lazyLoad($('img.lazy')); + +/** + * @description 初始化鼠标移入商品列表弹层效果 + * @num 每列存放商品的个数 + */ +exports.init = function(num) { + + productList = null; + + $goodItem.unbind(); + + productList = productEvent($goodItem, num); + + /** + * @description 构造商品颜色列表的html结构 + * @param data 商品颜色的数组,[url: '',src: ''] + * @return json {'colorListStr': '', 'ulNum': ''} + * */ + function createColorList(data) { + var colorListStr = '', + len = data.length, + row = 4, //每列ul放4个li + col = Math.ceil(len / row), //需要几**列**ul + i, + j, + index, + ulNum = 0; + + for (i = 0; i < col; i++) { + colorListStr += '<ul>'; + for (j = 0; j < row; j++) { + index = i * row + j; + if (index === len) { + break; + } + colorListStr += + '<li>' + + '<a href="' + data[i * row + j].url + '">' + + '<img src="' + data[i * row + j].src + '" data-cover="' + data[i * row + j].coverImg + '" />' + + '</a>' + + '</li>'; + + if (j === row - 1) { + colorListStr += '</ul>'; + ulNum++; + } + } + } + if (ulNum < col) { + colorListStr += '</ul>'; + } + return { + colorListStr: colorListStr, + ulNum: col + }; + } + + productList.addHandler('MouseEnter', function(event) { + + + + var itemMr = 10, //list的右边距 + itemMb = 35, //list的下边距 + ulStr = '', + ulNum, + wrapperWidth, + diffWidth, + wrapperX, + wrapperY, + wrapperPl, //鼠标移入时弹层的左内边距 + wrapperPt, //鼠标移入时弹层的上内边距 + containerPt; //商品列表容器的上内边距 + + $goodInfoMain.html(''); + $goodSelectColor.html(''); + $goodItemWrapper.css({ + display: 'none' + }); + $.ajax({ + type: 'POST', + url: '/product/list/getProductPic', + dataType: 'json', + data: { + skn: event.target.attr('data-skn') + } + }).then(function(data) { + + ulStr = createColorList(data).colorListStr; //ajax请求的颜色列表 + ulNum = createColorList(data).ulNum;//ajax请求的颜色的数量 + + $goodInfoMain.append(event.targetDuplicate); + $goodSelectColor.append($(ulStr)); + + wrapperPl = $goodItemWrapper.css('paddingLeft'); + wrapperPt = $goodItemWrapper.css('paddingTop'); + containerPt = $goodsContainer.css('paddingTop'); + + //wrapperWidth = 10 + (15 + 50) * ulNum + event.targetWidth; + wrapperWidth = $goodItemWrapper.width(); + + wrapperX = (event.targetX - 1) * (event.targetWidth + itemMr) - (parseInt(wrapperPl) + 1); + wrapperY = (event.targetY - 1) * + (event.targetHeight + itemMb) + parseInt(containerPt) - (parseInt(wrapperPt) + 1); + + //todo + //event.offsetR表示当前列表距离浏览器右侧边缘的距离 + diffWidth = event.offsetR - ((15 + 50) * ulNum + 25); + + if (diffWidth <= 0) { + wrapperX = wrapperX + diffWidth - 25; + } + $goodItemWrapper.css({ + width: wrapperWidth, + left: wrapperX, + top: wrapperY, + display: 'inline-block' + }); + + }); + }); + + $goodItemWrapper.mouseleave(function() { + $goodInfoMain.html(''); + $goodSelectColor.html(''); + $goodItemWrapper.css({ + display: 'none' + }); + }); +}; + +//鼠标放在颜色列表上效果 +$(document).on('hover', '.good-select-color li', function() { + var coverImg = $(this).find('img').attr('data-cover'), + $coverImg = $(this).closest('.good-item-wrapper').find('.good-detail-img').find('img'); + + $coverImg.attr('src', coverImg); +}); + +// 左侧导航 +$productListNav.click(function() { + if ($(this).hasClass('active')) { + $(this).find('.sort-child-list').stop(true, true).slideUp(); + } else { + $(this).find('.sort-child-list').stop(true, true).slideDown(); + } + $(this).toggleClass('active'); }); +}); +define("js/common/product-event", ["jquery"], function(require, exports, module){ +/** + *Description: 商品自定义事件 + *Author: chenglong.wang@yoho.cn + *Date: 2015/12/3 + */ + +var $ = require("jquery"); + +function ProductEvent() { + + this.handlers = {}; + +} + +ProductEvent.prototype = { + + constructor: ProductEvent, + + addHandler: function(type, handler) { + if (typeof this.handlers[type] === 'undefined') { + this.handlers[type] = []; + } + this.handlers[type].push(handler); + }, + + fire: function(event) { + var handlers, + i; + + if (!event.target) { + + event.target = this; + } + if (this.handlers[event.type] instanceof Array) { + handlers = this.handlers[event.type]; + for (i = 0; i < handlers.length; i++) { + handlers[i](event); + } + } + }, + + removeHandler: function(type, handler) { + var handlers, + i; + + if (this.handlers[type] instanceof Array) { + handlers = this.handlers[type]; + for (i = 0; i < handlers.length; i++) { + if (handlers[i] === handler) { + break; + } + } + handlers.splice(i, 1); + } + } +}; + +module.exports = function($o, rowWidth) { + + var pMouseHover = new ProductEvent(); + + var targetWidth = $o.eq(0).width(), + targetHeight = $o.eq(0).height(), + winW = $(window).width(); + + function handleEvent(event) { + var $target, + targetX = 0, + targetY = 0, + rowW = rowWidth, + activeIndex = 0, + $targetDuplicate = '', + offsetL = 0, + offsetR = 0; + + + switch (event.type) { + case 'mouseenter': + + $target = $(this); + $targetDuplicate = $target.clone(); + activeIndex = $target.index() + 1; + targetX = (activeIndex % rowW) === 0 ? rowW : activeIndex % rowW; + targetY = Math.ceil(activeIndex / rowW); + offsetL = $target.offset().left; + offsetR = winW - (offsetL + targetWidth); + + pMouseHover.fire({ + type: 'MouseEnter', + target: $target, + targetWidth: targetWidth, + targetHeight: targetHeight, + targetX: targetX, + targetY: targetY, + rowWidth: rowW, + activeIndex: activeIndex, + targetDuplicate: $targetDuplicate, + offsetL: offsetL, + offsetR: offsetR + }); + break; + case 'mouseleave': + pMouseHover.fire({ + type: 'MouseLeave' + }); + break; + } + } + + $o.bind('mouseenter', handleEvent); + + return pMouseHover; +}; +}); +define("js/product/hotrank", ["jquery","handlebars","source-map","lazyload"], function(require, exports, module){ +/** + * 首页 + * @author: liuyue<yue.liu@yoho.cn> + * @date: 2015/12/17 + */ + +var $ = require("jquery"), + Handlebars = require("handlebars"), + lazyLoad = require("lazyload"); + +require("js/common/slider"); +require("js/common/logo-brand"); + +lazyLoad($('img.lazy')); +$('.slide-container').slider(); +$('.logo-brand').logoBrand({ + showNum: 10, + url: './getBrand' +}); + +/* + * 一周热卖 + */ +(function($) { + var floatlayer = $('.hot-week').find('.floatlayer'), + sid = $('.hot-cate').find('li').eq(0).data('sid'), + weekOffsetTop, + source, + template, + page = 1, + hotCateW = 0, + weekEnd = false; + + source = '\{{# list}}' + + '<div class="good-info">' + + '<div class="item-img">' + + '<a class="good-thumb" target="_blank" href="\{{url}}">' + + '<img class="lazy" data-original="\{{img}}">' + + '</a>' + + '</div>' + + '<div class="good-detail-text">' + + '<a target="_blank" href="{{url}}">{{name}}</a>' + + '<p class="price">' + + '<span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">' + + '¥{{salePrice}}</span>' + + '{{# marketPrice}}<span class="market-price">¥{{.}}</span>{{/ marketPrice}}' + + '</p>' + + '</div>' + + '</div>' + + '{{/ list}}'; + + //监听滚动事件,控制浮层样式及下拉加载更多 + $(window).on('scroll', function() { + var maxH = weekOffsetTop + $('.hot-week').outerHeight(); + + //热卖右侧浮动导航位置 + weekOffsetTop = $('.hot-week').offset().top; + if ($(this).scrollTop() >= weekOffsetTop - $(window).height() / 2) { + if (floatlayer.offset().top + floatlayer.outerHeight() >= maxH) { + floatlayer.css({ + position: 'absolute', + marginTop: 0, + top: $('.hot-week').outerHeight() - floatlayer.outerHeight() + }); + } else { + floatlayer.css({ + marginTop: -floatlayer.height() / 2 + }).stop().animate({ + opacity: 1 + }, 200, function() { + floatlayer.show(); + }); + } + + } else { + floatlayer.stop().animate({ + opacity: 0 + }, 200, function() { + floatlayer.hide(); + }); + } + + if (floatlayer.offset().top >= $(this).scrollTop() + ($(window).height() - floatlayer.outerHeight()) / 2) { + floatlayer.css({ + position: 'fixed', + marginTop: -floatlayer.height() / 2, + top: '50%' + }); + } + + //下拉加载 + if ($(this).scrollTop() >= weekOffsetTop + $('.hot-week').height() - $(window).height()) { + if (!weekEnd) { + page++; + weekEnd = true; //防止多次请求 + weekAjax(sid, page); + } + } + + }); + + //热卖横导航及竖导航的超出显示控制 + $('.hot-cate').find('li').each(function(i) { + var maxW = $('.hot-cate').width(); + + if (hotCateW <= maxW) { + hotCateW = hotCateW + $(this).width(); + if (hotCateW >= maxW) { + $('.floatlayer').find('li').eq(i).hide().nextAll().hide(); + } + } + + }); + + //热卖横导航点击事件处理 + $('.hot-cate').on('click', 'li', function() { + var nowIndex = $(this).index(), + sid = $(this).data('sid'); + + //处理current样式 + $(this).addClass('current').siblings().removeClass('current'); + $('.floatlayer').find('li').removeClass('current').eq(nowIndex).addClass('current'); + + //返回热卖顶部,110为floor-header所占高度 + $('body,html').stop().animate({ + scrollTop: weekOffsetTop - 110 + }, 500); + + //调用ajax请求函数,重置page,weekEnd + weekAjax(sid); + page = 1; + }); + + //热卖右侧悬浮导航点击事件处理 + $('.floatlayer').on('click', 'li', function() { + var nowIndex = $(this).index(); + + $('.hot-cate').find('li').trigger('click'); + + //处理current样式 + $(this).addClass('current').siblings().removeClass('current'); + $('.hot-cate').find('li').removeClass('current').eq(nowIndex).addClass('current'); + }); + + /* + * 热卖内容ajax请求 + * param: sid(ajax请求的id), page(ajax请求的页码) + */ + function weekAjax(sid, page) { + var param = {}; + + if (page) { + param = { + sid: sid, + page: page + }; + } else { + param = { + sid: sid + }; + } + $.ajax({ + type: 'GET', + dataType: 'json', + url: '/hotrank/getdata', + data: param, + success: function(res) { + var data; + + if (res.code === 200) { + data = { + list: res.data + }; + + //mustache渲染数据,并替换原内容 + template = Handlebars.compile(source); + if (page) { + $('.hot-week-list').append(template(data)); + floatlayer.css({ + position: 'fixed', + marginTop: -floatlayer.height() / 2, + top: '50%' + }); + } else { + $('.hot-week-list').html(template(data)); + } + + lazyLoad($('img.lazy')); + weekEnd = false; + } + } + }); + } + + //热卖中导航current类处理 + $('.hot-cate').find('li').eq(0).addClass('current'); + $('.floatlayer').find('li').eq(0).addClass('current'); +})($); +}); +define("js/common/slider", ["jquery","lazyload"], function(require, exports, module){ +/** + * 首页banner轮播 + * @author: liuyue(yue.liu@yoho.cn) + * @date: 2015/12/04 + */ + +var $ = require("jquery"), + lazyLoad = require("lazyload"); + +(function($) { + var Slider = function(element, options) { + this.$element = $(element); + this.options = $.extend({}, $.fn.slider.defaults, options); + this.bigItem = this.$element.find('.slide-wrapper').find('li'); + this.smallItem = null; + this.len = this.bigItem.size(); + this.index = 0; + this.timer = null; + this.init(); + }; + + Slider.prototype = { + init: function() { + if (this.len <= 1) { + lazyLoad(this.$element.find('img.lazy')); + return; + } + if (!!this.options.pagination) { + this.smallItem = $(this.options.pagination).find('li'); + } else { + this._createPage(); + } + + if (this.options.orient) { + this._createOrient(); + } + this._slideShow(); + this._bindEvent(); + this._autoplay(); + }, + _createOrient: function() { + + var orientHtml = '<div class="slide-switch">' + + '<a class="prev" href="javascript:;"><span class="iconfont"></span></a>' + + '<a class="next" href="javascript:;"><span class="iconfont"></span></a>' + + '</div>'; + + if (this.$element.find('.slide-switch').length > 0) { + return; + } + + this.$element.append(orientHtml); + }, + _createPage: function() { + var pageHtml = '<div class="slide-pagination"><div class="slide-pagination-inner">' + + '<div class="slide-shade"></div><div class="slide-pagination-last">', + i = 0; + + if (this.len <= 1) { + return; + } + for (i = 0; i < this.len; i++) { + pageHtml += '<span></span>'; + } + pageHtml += '</div></div></div>'; + this.$element.append($(pageHtml)); + this.smallItem = $('.slide-pagination-inner').find('span'); + }, + _bindEvent: function() { + var that = this; + + this.$element.find('.slide-switch').on('click', '.next', function() { + that._nextSlide(); + clearInterval(that.timer); + that.timer = setInterval(function() { + that._nextSlide(); + }, that.options.time); + }).on('click', '.prev', function() { + that._prevSlide(); + clearInterval(that.timer); + that.timer = setInterval(function() { + that._nextSlide(); + }, that.options.time); + }); + + this.smallItem.on('mouseenter', function() { + that.index = $(this).index(); + clearInterval(that.timer); + that._slideShow(); + }).on('mouseleave', function() { + that._autoplay(); + }); + + this.$element.on('mouseenter', function() { + $(this).find('.slide-switch').addClass('show'); + }).on('mouseleave', function() { + $(this).find('.slide-switch').removeClass('show'); + }); + }, + _nextSlide: function() { + if (this.index === this.len - 1) { + this.index = 0; + } else { + this.index++; + } + this._slideShow(); + }, + _prevSlide: function() { + if (this.index === 0) { + this.index = this.len - 1; + } else { + this.index--; + } + this._slideShow(); + }, + _slideShow: function() { + var $img = this.bigItem.eq(this.index).find('img.lazy'); + + //未加载图片的及时显示 + if ($img.attr('src') !== $img.data('original')) { + lazyLoad($img, { + event: 'sporty' + }); + $img.trigger('sporty'); + } + + + this.smallItem.eq(this.index).addClass('focus').siblings().removeClass('focus'); + this.bigItem.eq(this.index).fadeIn().siblings().fadeOut(); + }, + _autoplay: function() { + var that = this; + + clearInterval(this.timer); + this.timer = setInterval(function() { + that._nextSlide(); + }, this.options.time); + } + }; + $.fn.slider = function(option) { + return this.each(function() { + var $this = $(this), + data = $this.data('Slider'), + options = typeof option === 'object' && option; + + if (!data) { + $this.data('Slider', (data = new Slider(this, options))); + } + if (typeof option === 'string') { + data[option](); + } + }); + }; + $.fn.slider.Constructor = Slider; + $.fn.slider.defaults = { + time: 5000, + orient: true, //左右切换箭头的显示 + pagination: null + }; +})($); +}); +define("js/common/logo-brand", ["jquery","handlebars","source-map","lazyload"], function(require, exports, module){ +/** + * 首页优选品牌js + * @author: liuyue(yue.liu@yoho.cn) + * @date: 2015/12/08 + */ + +var $ = require("jquery"), + Handlebars = require("handlebars"), + lazyLoad = require("lazyload"); + +(function($) { + var LogoBrand = function(element, options) { + this.$element = $(element); + this.options = $.extend({}, $.fn.logoBrand.defaults, options); + + this.init(); + }; + + LogoBrand.prototype = { + init: function() { + this.$element.addClass('logos-' + this.options.showNum); + this._sendRequest(); + }, + _createHelper: function() { + var showNum = this.options.showNum; + + Handlebars.registerHelper('brandList', function(items, options) { + var out = '<ul>', + i = 0, + item = null, + fillNum = 0; + + //不是每页显示个数的倍数,填充数据 + if (items.length % showNum !== 0) { + fillNum = showNum - (items.length % showNum); + for (i = 0; i < fillNum; i++) { + items.push({ + href: 'javascript:;', + img: '' + }); + } + } + + for (i = 0; i < items.length; i++) { + item = options.fn(items[i]); + + if (i % showNum === 5 || i === 5) { + + //插入切换按钮的位置 + out = out + '<li class="logo-brand-switch" data-page="' + Math.floor(i / showNum) + '">' + + '<a class="prev iconfont" href="javascript:;"></a>' + + '<a class="next iconfont" href="javascript:;"></a></li>' + + '<li data-page="' + Math.floor(i / showNum) + '">' + item + '</li>'; + } else if (i !== 0 && i % showNum === 0) { + + //插入more的位置,more占的是下一页第一个brand的位置,所以page是i/17 + out = out + '<li class="brand-more" data-page="' + Math.floor(i / (showNum + 1)) + '">' + + '<a href="javascript:;">MORE ></a></li>' + + '<li data-page="' + Math.floor(i / showNum) + '">' + item + '</li>'; + } else { + out = out + '<li data-page="' + Math.floor(i / showNum) + '">' + item + '</li>'; + } + } + + //加上最后一个more, more占的是下一页第一个brand的位置,这里已经循环不到brand,所以加在末尾 + return out + '<li class="brand-more" data-page="' + Math.floor(i / (showNum + 1)) + '">' + + '<a href="javascript:;">MORE ></a></li></ul>'; + + }); + }, + _sendRequest: function() { + var that = this; + + $.ajax({ + type: 'GET', + url: that.options.url, + dataType: 'json', + success: function(data) { + var brandTpl, + brandHtml; + + that._createHelper(); + brandHtml = '\{{#brandList logoBrand}}' + + '<a href="\{{href}}"><img class="lazy" data-original="\{{img}}" alt=""></a>' + + '\{{/brandList}}'; + brandTpl = Handlebars.compile(brandHtml); + that.$element.html(brandTpl(data)); + that.$element.find('.brand-more a').attr('href', data.moreBrand); + lazyLoad(that.$element.find('img.lazy')); + that._bindEvent(); + } + }); + }, + _brandShow: function(hidePage, showPage) { + var that = this; + + lazyLoad($('li[data-page=' + showPage + ']').find('img.lazy').trigger('appear')); + that.$element.find('li[data-page=' + hidePage + ']').find('img').fadeOut('normal', function() { + that.$element.find('li').hide(); + that.$element.find('li[data-page=' + showPage + ']').show().find('img').fadeIn(); + }); + }, + _bindEvent: function() { + var that = this; + + that.$element.on('click', '.next', function() { + var page = $(this).parent().data('page'), + nextPage = 0, + totalPage = Math.ceil(that.$element.find('li').size() / (that.options.showNum + 2)) - 1; + + if (page === totalPage) { + nextPage = 0; + } else { + nextPage = page + 1; + } + that._brandShow(page, nextPage); + }); + + that.$element.on('click', '.prev', function() { + var page = $(this).parent().data('page'), + prevPage = 0, + totalPage = Math.ceil(that.$element.find('li').size() / (that.options.showNum + 2)) - 1; + + if (page === 0) { + prevPage = totalPage; + } else { + prevPage = page - 1; + } + that._brandShow(page, prevPage); + }); + } + }; + $.fn.logoBrand = function(option) { + return this.each(function() { + var $this = $(this), + data = $this.data('LogoBrand'), + options = typeof option === 'object' && option; + + if (!data) { + $this.data('LogoBrand', (data = new LogoBrand(this, options))); + } + if (typeof option === 'string') { + data[option](); + } + }); + }; + $.fn.logoBrand.Constructor = LogoBrand; + $.fn.logoBrand.defaults = { + showNum: 16, + url: '/boys/getBrand' + }; +})($); +}); +define("js/home/entry", ["jquery","lazyload","handlebars","source-map"], function(require, exports, module){ +/** + * 频道页js打包入口文件 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/28 + */ + +require("js/home/home"); +}); +define("js/home/home", ["jquery","lazyload","handlebars","source-map"], function(require, exports, module){ +/** + * 首页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/23 + */ + +var $ = require("jquery"), + lazyLoad = require("lazyload"), + homePage = $('.home-page').data('page'), + brandUrl = $('.logo-brand').data('url'); + + +require("js/common/slider"); +require("js/common/slider2"); +require("js/common/logo-brand"); + +require("js/common/accordion"); + +if (homePage === 'brands') { + require("js/home/brands"); +} + +if ($.inArray(homePage, ['boys','girls','kids','lifestyle']) > -1) { + require("js/common/new-arrivls")({ + type: homePage, + url: '/common/getNewArrival', + firstCount: homePage === ('boys' || 'lifestyle') ? '25' : '20', + pageCount: homePage === ('boys' || 'lifestyle') ? '15' : '12' + }); + window.setCookie('_Channel', homePage, { + domain: '.yohobuy.com', + path: '/', + expires: 365 + }); +} + + + +lazyLoad($('img.lazy')); +if (homePage === 'boys') { + $('.slide-container').slider({ + pagination: '.thumb-pagination' + }); +} else if (homePage === 'girls') { + $('.center-col').slider(); +} else { + $('.slide-container').slider(); +} + +if (homePage === 'boys') { + $('.logo-brand').logoBrand({ + url: brandUrl + }); + $('.img-brand').slider2(); +} else { + $('.logo-brand').logoBrand({ + showNum: 10, + url: brandUrl + }); + $('.img-slider-wrapper').slider2(); +} + + +}); +define("js/common/slider2", ["jquery"], function(require, exports, module){ +/** + * (品牌优选)图片幻灯片插件 + * @author: wangqing(robin.wang@yoho.cn) + * @date: 205/7/2 + */ +var $ = require("jquery"); + +(function($) { + $.fn.slider2 = function(options) { + function autoplay(index, limit, toright) { + if (toright === true) { + $('.next').trigger('click'); + if (index === (limit - 3)) { + autoplayrecycle(--index, limit, false); + } else { + autoplayrecycle(++index, limit, true); + } + } else { + $('.prev').trigger('click'); + if (index === 0) { + autoplayrecycle(++index, limit, true); + } else { + autoplayrecycle(--index, limit, false); + } + } + } + + function autoplayrecycle(index, limit, toright) { + window.setTimeout(autoplay, $.fn.slider2.defaults.delaytime, index, limit, toright); + } + + function changePic(index, width, callback) { + var offersetleft = -(index * width); + + $('.img-list') + .animate({ + 'margin-left': offersetleft + 'px' + }, 'slow', callback); + + } + $.fn.slider2.defaults = { + index: 0, + shownum: 3, + autoplay: false, + delaytime: 3000 + }; + return this.each(function() { + var opts = $.extend({}, $.fn.slider2.defaults, options); + var mr = parseInt($('.img-item').css('margin-right')); + var $banneritems = $('.img-item'); + var bannerarr = []; + var _width = $banneritems.outerWidth() + mr, + _size = $banneritems.length, + j = 0; + + if (_size <= 3) { + $(this).find('.img-brand-switch').hide(); + return; + } + for (j = 0; j < $banneritems.length; j++) { + bannerarr.push($banneritems[j]); + } + _size = bannerarr.length; + $(this).find('.img-list').css({ + width: (_width * _size) + }); + $(this).find('.next').on('click', function(e) { + var i = 0, + _obj = null; + + e.preventDefault(); + + changePic(3, _width, function() { + for (i = 0; i < 3; i++) { + _obj = bannerarr.shift(); + + $('.img-item').parent().append(_obj.outerHTML); + bannerarr.push(_obj); + } + $('.img-item').first().remove(); + $('.img-item').first().remove(); + $('.img-item').first().remove(); + $('.img-list').css({ + 'margin-left': '0' + }); + }); + }); + $(this).find('.prev').on('click', function(e) { + var i = 0, + _obj = null, + offersetleft = ''; + + e.preventDefault(); + for (i = 0; i < 3; i++) { + _obj = bannerarr.pop(); + + $('.img-item').parent().prepend(_obj.outerHTML); + bannerarr.unshift(_obj); + } + offersetleft = 3 * _width; + $('.img-item').last().remove(); + $('.img-item').last().remove(); + $('.img-item').last().remove(); + $('.img-list').css({ + 'margin-left': -offersetleft + 'px' + }); + changePic(0, _width); + }); + if (opts.autoplay === true) { + autoplayrecycle(opts.index, _size, true); + } + }); + + }; + +}($)); +}); +define("js/common/accordion", ["jquery"], function(require, exports, module){ +var Slide = require("js/common/yohoui/YH.slide"); +var $ = require("jquery"); + +var $contain = $('.slide-accordion'); +var $item = $contain.find('li'); + +var $width = $item.width(); +var $spn = parseInt($('.home-page').width()) === 1150 ? (120 + 5) : (102 + 5); +var slide; + +function switchfun(to) { + $item.each(function(index) { + $(this).css('zIndex', index); + if (index <= to) { + $(this).stop().animate({ + left: index * $spn + }, 400); + } else { + $(this).stop().animate({ + left: (to) * $spn + $width + $spn * (index - to - 1) + }, 400); + } + }); +} + +switchfun(0); + +slide = new Slide({ + length: 5, + loop: false, + auto: false, + timeout: 2, + index: 3 +}); + +slide.on('change', function(data) { + switchfun(data.to); +}); + +$item.mouseover(function() { + slide.go($(this).index()); +}); + slide.init(); }); define("js/common/yohoui/YH.slide", [], function(require, exports, module){ -var me = require("js/common/yohoui/YH.base"); - -var slide = function(options) { - this.__lastTime = null; - this.__isStop = false; - options = me.extend(this.defaults, options); - slide.superclass.constructor.call(this, options); -}; - -me.inherit(slide, me.assembly); - -slide.prototype.oninit = function() { - var __self = this, - _o = __self.options; - - if (_o.auto) { - __self.play(); - } - __self.go(_o.index); - return this; -}; - -slide.prototype.go = function(_to, _from) { - var __self = this, - _o = __self.options; - var _direction,_loop,_current,_index,_originalto,o,key,_e; - - if (__self.__lastTime) { - clearTimeout(__self.__lastTime); - __self.__lastTime = null; - } - _from = 'undefined' === typeof _from ? _o.index : _from; - _direction = _to === _from ? 0 : _to > _from ? 1 : -1; - _loop = _o.loop, _index = _o.length - 1, _originalto = _to; - if (_loop) { - if (_to > _index) { - _to = _to - _index - 1; - } else { - if (0 > _to) { - _to = _to + _index + 1; - } else { - _to = _to; - } - } - } else { - if (_to > _index) { - _to = _index; - } else { - if (0 > _to) { - _to = 0; - } else { - _to = _to; - } - } - } - _current = _o.index = _to; - - o = { - from: _from, - to: _to, - originalto: _originalto, - direction: _direction - }; - - for (key in __self.registerEvent) { - if (__self.registerEvent[key].length > 0) { - for (_e in __self.registerEvent[key]) { - if (__self.registerEvent[key].hasOwnProperty(_e)) { - __self.registerEvent[key][_e](o); - } - } - } - } - - if (_current !== _index || _to) { - if (!__self.__isStop && _o.auto) { - __self.play(); - } - } else { - if (__self.__lastTime) { - clearTimeout(__self.__lastTime); - } - } -}; - -slide.prototype.play = function() { - var __self = this, - _o = __self.options; - - __self.__lastTime = setTimeout(function() { - __self.next(); - }, 1000 * _o.timeout); - return this; -}; - -slide.prototype.next = function() { - var __self = this, - _o = __self.options; - var _from = _o.index; - var _to = _from + _o.step; - - __self.go(_to, _from); -}; - -slide.prototype.prev = function() { - var __self = this, - _o = __self.options; - var _from = _o.index; - var _to = _from - _o.step; - - __self.go(_to, _from); -}; - -slide.prototype.pause = function() { - var __self = this; - - if (__self.__lastTime) { - clearTimeout(__self.__lastTime); - } - __self.__isStop = true; -}; - -slide.prototype.resume = function() { - var __self = this; - - __self.__isStop = false; - __self.play(); -}; - -slide.prototype.defaults = { - index: 0, - timeout: 5, - step: 1, - per: 1, - auto: false, - loop: false -}; - +var me = require("js/common/yohoui/YH.base"); + +var slide = function(options) { + this.__lastTime = null; + this.__isStop = false; + options = me.extend(this.defaults, options); + slide.superclass.constructor.call(this, options); +}; + +me.inherit(slide, me.assembly); + +slide.prototype.oninit = function() { + var __self = this, + _o = __self.options; + + if (_o.auto) { + __self.play(); + } + __self.go(_o.index); + return this; +}; + +slide.prototype.go = function(_to, _from) { + var __self = this, + _o = __self.options; + var _direction,_loop,_current,_index,_originalto,o,key,_e; + + if (__self.__lastTime) { + clearTimeout(__self.__lastTime); + __self.__lastTime = null; + } + _from = 'undefined' === typeof _from ? _o.index : _from; + _direction = _to === _from ? 0 : _to > _from ? 1 : -1; + _loop = _o.loop, _index = _o.length - 1, _originalto = _to; + if (_loop) { + if (_to > _index) { + _to = _to - _index - 1; + } else { + if (0 > _to) { + _to = _to + _index + 1; + } else { + _to = _to; + } + } + } else { + if (_to > _index) { + _to = _index; + } else { + if (0 > _to) { + _to = 0; + } else { + _to = _to; + } + } + } + _current = _o.index = _to; + + o = { + from: _from, + to: _to, + originalto: _originalto, + direction: _direction + }; + + for (key in __self.registerEvent) { + if (__self.registerEvent[key].length > 0) { + for (_e in __self.registerEvent[key]) { + if (__self.registerEvent[key].hasOwnProperty(_e)) { + __self.registerEvent[key][_e](o); + } + } + } + } + + if (_current !== _index || _to) { + if (!__self.__isStop && _o.auto) { + __self.play(); + } + } else { + if (__self.__lastTime) { + clearTimeout(__self.__lastTime); + } + } +}; + +slide.prototype.play = function() { + var __self = this, + _o = __self.options; + + __self.__lastTime = setTimeout(function() { + __self.next(); + }, 1000 * _o.timeout); + return this; +}; + +slide.prototype.next = function() { + var __self = this, + _o = __self.options; + var _from = _o.index; + var _to = _from + _o.step; + + __self.go(_to, _from); +}; + +slide.prototype.prev = function() { + var __self = this, + _o = __self.options; + var _from = _o.index; + var _to = _from - _o.step; + + __self.go(_to, _from); +}; + +slide.prototype.pause = function() { + var __self = this; + + if (__self.__lastTime) { + clearTimeout(__self.__lastTime); + } + __self.__isStop = true; +}; + +slide.prototype.resume = function() { + var __self = this; + + __self.__isStop = false; + __self.play(); +}; + +slide.prototype.defaults = { + index: 0, + timeout: 5, + step: 1, + per: 1, + auto: false, + loop: false +}; + module.exports = slide; }); define("js/common/yohoui/YH.base", [], function(require, exports, module){ -var assembly; -var classtype = { - '[object Array]': 'array', - '[object Boolean]': 'boolean', - '[object Date]': 'date', - '[object Function]': 'function', - '[object Number]': 'number', - '[object Object]': 'object', - '[object RegExp]': 'regexp', - '[object String]': 'string' - }; -var me = { - __Index: 0, - list: [], - get: function(id) { - return id === undefined ? this.list : this.list[id]; - }, - fn: function() { }, - inherit: function(childClass, parentClass) { - var Constructor = me.fn; - - Constructor.prototype = parentClass.prototype; - childClass.prototype = new Constructor(); - - childClass.prototype.constructor = childClass; - childClass.superclass = parentClass.prototype; - - if (childClass.prototype.constructor === Object.prototype.constructor) { - childClass.prototype.constructor = parentClass; - } - }, - extend: function(obj, newProperties) { - var key; - - for (key in newProperties) { - if (newProperties.hasOwnProperty(key)) { - obj[key] = newProperties[key]; - } - } - return obj; - }, - copy: function(TargetClass, obj, newProperties) { - var value,o,key; - - if (typeof obj !== 'object') { - return obj; - } - value = obj.valueOf(); - if (obj !== value) { - return new obj.constructor(value); - } - if (obj instanceof obj.constructor && obj.constructor !== Object) { - if (TargetClass) { - o = new TargetClass(); - } else { - o = me.clone(obj.constructor.prototype); - } - - for (key in obj) { - if (TargetClass || obj.hasOwnProperty(key)) { - o[key] = obj[key]; - } - } - } else { - o = {}; - for (key in obj) { - if (o.hasOwnProperty(key)) { - o[key] = obj[key]; - } - } - } - if (newProperties) { - for (key in newProperties) { - if (o.hasOwnProperty(key)) { - o[key] = newProperties[key]; - } - } - } - - return o; - }, - clone: function(obj) { - me.__cloneFunc.prototype = obj; - return new me.__cloneFunc(); - }, - __cloneFunc: function() { - }, - delegate: function(func, scope) { - var args; - - scope = scope || window; - - if (arguments.length > 2) { - args = Array.prototype.slice.call(arguments, 2); - - return function() { - return func.apply(scope, args); - }; - } else { - return function() { - return func.call(scope); - }; - } - }, - dom: function($select, classCss) { - var wrap = $select; - var name, DOM = { - wrap: wrap - }, - els = wrap[0].getElementsByTagName('*'), - elsLen = els.length; - var i; - - for (i = 0; i < elsLen; i++) { - name = els[i].className; - if (name.indexOf(classCss) > -1) { - name = name.split(classCss)[1]; - } - if (name) { - DOM[name] = wrap.find(els[i]); - } - } - return DOM; - }, - - //模板引擎 - template: function() { - var result, key, reg,i; - var args = arguments; - - if (args.length > 0) { - if (me.isString(args[0])) { - result = args[0]; - if (args.length === 2 && me.isObject(args[1])) { - for (key in args[1]) { - if (args[1][key] !== undefined) { - reg = new RegExp('({' + key + '})', 'g'); - - result = result.replace(reg, args[1][key]); - } - } - } else { - for (i = 1; i < args.length; i++) { - if (args[i] !== undefined) { - reg = new RegExp('({[' + (i - 1) + ']})', 'g'); - - result = result.replace(reg, args[i]); - } - } - } - } - } - return result; - }, - __type: function(obj) { - return obj == null ? String(obj) : classtype[Object.prototype.toString.call(obj)] || 'object'; - }, - isObject: function(obj) { - return this.isFunction(obj) || !!(obj && 'object' === typeof obj); - }, - isFunction: function(obj) { - return this.__type(obj) === 'function'; - }, - isArray: Array.isArray || function(obj) { - return this.__type(obj) === 'array'; - }, - isNum: function(obj) { - return !isNaN(parseFloat(obj)) && isFinite(obj); - }, - isString: function(obj) { - return this.__type(obj) === 'string'; - }, - each: function(data, callback, args) { - var i, len; - - if (me.isArray(data)) { - for (i = 0, len = data.length; i < len; i++) { - if (callback.call(data[i], i, data[i], args) === false) { - break; - } - } - } else { - - for (i in data) { - if (callback.call(data[i], i, data[i], args) === false) { - break; - } - } - } - }, - funManager: { - __loadList: {}, - __loadFun: function(item, callback, win) { - - if (item.methord && me.isFunction(item.methord())) { - win = win || window; - item.methord()(item, function() { - callback(); - }, win); - } - }, - load: function(fns, statechange, win, __index) { - __index = __index || 0; - - if (fns[__index]) { - me.funManager.__loadFun(fns[__index], function() { - me.funManager.load(fns, statechange, win, __index + 1); - }, win); - } - statechange(__index, win); - }, - get: function(id) { - return this.__loadList[id]; - } - }, - log: function(msg) { - var console = window.console || { - log: function() { } - }; - - console.log(msg); - }, - Event: { - mousewheel: function(e) { - var _eoe = e.originalEvent; - var _de = _eoe.detail ? _eoe.detail * -1 : _eoe.wheelDelta / 40; - var _direction = _de < 0 ? -1 : 1; - - return { - direction: _direction, - unit: _de - }; - }, - __: function(_e, el, event, handle) { - var key; - - for (key in _e) { - if (window[_e[key].validator]) { - el[_e[key].validator](_e[key].prefix + event, handle, false); - break; - } - } - }, - add: function(el, event, handle) { - var _e = [ - { - validator: 'addEventListener', - prefix: '' - }, - { - validator: 'attachEvent', - prefix: 'on' - } - ]; - - this.__(_e, el, event, handle); - }, - remove: function(el, event, handle) { - var _e = [ - { - validator: 'removeEventListener', - prefix: '' - }, - { - validator: 'detachEvent', - prefix: 'on' - } - ]; - - this.__(_e, el, event, handle); - } - }, - getUid: function(_name) { - return me.template('me-{0}{1}-{2}', _name, new Date().getTime(), me.__Index++); - }, - Browser: { - isTouch: function() { - var msGesture = window.navigator && window.navigator.msPointerEnabled && window.MSGesture; - - return (('ontouchstart' in window) || msGesture || window.DocumentTouch) ? true : false; - }, - Prefix: function() { - var i; - - var props = ['perspectiveProperty', 'WebkitPerspective', 'MozPerspective', 'OPerspective', 'msPerspective']; - var obj = document.createElement('div'); - - for (i in props) { - if (obj.style[props[i]] !== undefined) { - return me.template('-{0}-', props[i].replace('Perspective', '').toLowerCase()); - } - } - }, - parseURL: function(url) { - var a = document.createElement('a'); - var ret,seg,len,i,s; - - a.href = url; - return { - source: url, - protocol: a.protocol.replace(':', ''), - host: a.hostname, - port: a.port, - query: a.search, - params: (function() { - ret = {}, - seg = a.search.replace(/^\?/, '').split('&'), - len = seg.length, i = 0, s; - - for (; i < len; i++) { - if (!seg[i]) { - continue; - } - s = seg[i].split('='); - ret[s[0]] = s[1]; - } - return ret; - })(), - file: (a.pathname.match(/\/([^\/?#]+)$/i) || [null, ''])[1], - hash: a.hash.replace('#', ''), - path: a.pathname.replace(/^([^\/])/, '/$1'), - relative: (a.href.match(/tps?:\/\/[^\/]+(.+)/) || [null, ''])[1], - segments: a.pathname.replace(/^\//, '').split('/') - }; - } - }, - Array: { - indexOf: function(array, val) { - var i; - - for (i = 0; i < array.length; i++) { - if (this[i] === val) { - return i; - } - } - return -1; - }, - remove: function(array, val) { - var index = this.indexOf(array, val); - - if (index > -1) { - array.splice(index, 1); - } - return array; - } - } -}; - -assembly = function(options) { - this.initialized = false; - this.registerEvent = { - before: [], - change: [], - after: [] - }; - this.options = options; - - this.init(options); -}; - -assembly.output = function() { - me.log(me.list); -}; -assembly.prototype.oninit = me.fn; - -assembly.prototype.init = function(cfg) { - this.initialized = true; - - // function _getClassName(_constructor, _constr) { - // var _constr = _constr || ""; - // if (_constructor.superclass) { - // var args = /(\w+)\.superclass/.exec(_constructor.arguments.callee); - // if (args != null) { - // _constr += args[1] + "-"; - // // return _getClassName(_constructor.superclass.constructor, _constr); - // } - // } - // return _constr; - // } - this.__Uid = me.getUid('me'); - this.oninit(cfg); - me.list[this.__Uid] = this; -}; -assembly.prototype.destory = function() { - this.initialized = false; - delete me.list[this.__Uid]; -}; -assembly.prototype.getUid = function() { - return this.__Uid; -}; -assembly.prototype.getOptions = function() { - return this.options; -}; -assembly.prototype.config = function() { - if (arguments.length > 0) { - if (typeof (arguments[0]) === 'string') { - if (arguments.length > 1) { - this.options[arguments[0]] = arguments[1]; - } else { - return this.options[name]; - } - } - } else { - return this.options; - } -}; -assembly.prototype.on = function(name, callback) { - var __self = this; - var _e = __self.registerEvent[name]; - - if (_e) { - _e.push(callback); - } - return _e; -}; -assembly.prototype.off = function(name, callback) { - var __self = this; - var _e = __self.registerEvent[name]; - var e = []; - - me.each(_e, function(name, _callback) { - - if (_callback === callback) { - e.push(name); - } - }); - - me.each(e.reverse(), function(name, _callback) { - _e.splice(_callback, 1); - }); -}; -me.assembly = assembly; - +var assembly; +var classtype = { + '[object Array]': 'array', + '[object Boolean]': 'boolean', + '[object Date]': 'date', + '[object Function]': 'function', + '[object Number]': 'number', + '[object Object]': 'object', + '[object RegExp]': 'regexp', + '[object String]': 'string' + }; +var me = { + __Index: 0, + list: [], + get: function(id) { + return id === undefined ? this.list : this.list[id]; + }, + fn: function() { }, + inherit: function(childClass, parentClass) { + var Constructor = me.fn; + + Constructor.prototype = parentClass.prototype; + childClass.prototype = new Constructor(); + + childClass.prototype.constructor = childClass; + childClass.superclass = parentClass.prototype; + + if (childClass.prototype.constructor === Object.prototype.constructor) { + childClass.prototype.constructor = parentClass; + } + }, + extend: function(obj, newProperties) { + var key; + + for (key in newProperties) { + if (newProperties.hasOwnProperty(key)) { + obj[key] = newProperties[key]; + } + } + return obj; + }, + copy: function(TargetClass, obj, newProperties) { + var value,o,key; + + if (typeof obj !== 'object') { + return obj; + } + value = obj.valueOf(); + if (obj !== value) { + return new obj.constructor(value); + } + if (obj instanceof obj.constructor && obj.constructor !== Object) { + if (TargetClass) { + o = new TargetClass(); + } else { + o = me.clone(obj.constructor.prototype); + } + + for (key in obj) { + if (TargetClass || obj.hasOwnProperty(key)) { + o[key] = obj[key]; + } + } + } else { + o = {}; + for (key in obj) { + if (o.hasOwnProperty(key)) { + o[key] = obj[key]; + } + } + } + if (newProperties) { + for (key in newProperties) { + if (o.hasOwnProperty(key)) { + o[key] = newProperties[key]; + } + } + } + + return o; + }, + clone: function(obj) { + me.__cloneFunc.prototype = obj; + return new me.__cloneFunc(); + }, + __cloneFunc: function() { + }, + delegate: function(func, scope) { + var args; + + scope = scope || window; + + if (arguments.length > 2) { + args = Array.prototype.slice.call(arguments, 2); + + return function() { + return func.apply(scope, args); + }; + } else { + return function() { + return func.call(scope); + }; + } + }, + dom: function($select, classCss) { + var wrap = $select; + var name, DOM = { + wrap: wrap + }, + els = wrap[0].getElementsByTagName('*'), + elsLen = els.length; + var i; + + for (i = 0; i < elsLen; i++) { + name = els[i].className; + if (name.indexOf(classCss) > -1) { + name = name.split(classCss)[1]; + } + if (name) { + DOM[name] = wrap.find(els[i]); + } + } + return DOM; + }, + + //模板引擎 + template: function() { + var result, key, reg,i; + var args = arguments; + + if (args.length > 0) { + if (me.isString(args[0])) { + result = args[0]; + if (args.length === 2 && me.isObject(args[1])) { + for (key in args[1]) { + if (args[1][key] !== undefined) { + reg = new RegExp('({' + key + '})', 'g'); + + result = result.replace(reg, args[1][key]); + } + } + } else { + for (i = 1; i < args.length; i++) { + if (args[i] !== undefined) { + reg = new RegExp('({[' + (i - 1) + ']})', 'g'); + + result = result.replace(reg, args[i]); + } + } + } + } + } + return result; + }, + __type: function(obj) { + return obj == null ? String(obj) : classtype[Object.prototype.toString.call(obj)] || 'object'; + }, + isObject: function(obj) { + return this.isFunction(obj) || !!(obj && 'object' === typeof obj); + }, + isFunction: function(obj) { + return this.__type(obj) === 'function'; + }, + isArray: Array.isArray || function(obj) { + return this.__type(obj) === 'array'; + }, + isNum: function(obj) { + return !isNaN(parseFloat(obj)) && isFinite(obj); + }, + isString: function(obj) { + return this.__type(obj) === 'string'; + }, + each: function(data, callback, args) { + var i, len; + + if (me.isArray(data)) { + for (i = 0, len = data.length; i < len; i++) { + if (callback.call(data[i], i, data[i], args) === false) { + break; + } + } + } else { + + for (i in data) { + if (callback.call(data[i], i, data[i], args) === false) { + break; + } + } + } + }, + funManager: { + __loadList: {}, + __loadFun: function(item, callback, win) { + + if (item.methord && me.isFunction(item.methord())) { + win = win || window; + item.methord()(item, function() { + callback(); + }, win); + } + }, + load: function(fns, statechange, win, __index) { + __index = __index || 0; + + if (fns[__index]) { + me.funManager.__loadFun(fns[__index], function() { + me.funManager.load(fns, statechange, win, __index + 1); + }, win); + } + statechange(__index, win); + }, + get: function(id) { + return this.__loadList[id]; + } + }, + log: function(msg) { + var console = window.console || { + log: function() { } + }; + + console.log(msg); + }, + Event: { + mousewheel: function(e) { + var _eoe = e.originalEvent; + var _de = _eoe.detail ? _eoe.detail * -1 : _eoe.wheelDelta / 40; + var _direction = _de < 0 ? -1 : 1; + + return { + direction: _direction, + unit: _de + }; + }, + __: function(_e, el, event, handle) { + var key; + + for (key in _e) { + if (window[_e[key].validator]) { + el[_e[key].validator](_e[key].prefix + event, handle, false); + break; + } + } + }, + add: function(el, event, handle) { + var _e = [ + { + validator: 'addEventListener', + prefix: '' + }, + { + validator: 'attachEvent', + prefix: 'on' + } + ]; + + this.__(_e, el, event, handle); + }, + remove: function(el, event, handle) { + var _e = [ + { + validator: 'removeEventListener', + prefix: '' + }, + { + validator: 'detachEvent', + prefix: 'on' + } + ]; + + this.__(_e, el, event, handle); + } + }, + getUid: function(_name) { + return me.template('me-{0}{1}-{2}', _name, new Date().getTime(), me.__Index++); + }, + Browser: { + isTouch: function() { + var msGesture = window.navigator && window.navigator.msPointerEnabled && window.MSGesture; + + return (('ontouchstart' in window) || msGesture || window.DocumentTouch) ? true : false; + }, + Prefix: function() { + var i; + + var props = ['perspectiveProperty', 'WebkitPerspective', 'MozPerspective', 'OPerspective', 'msPerspective']; + var obj = document.createElement('div'); + + for (i in props) { + if (obj.style[props[i]] !== undefined) { + return me.template('-{0}-', props[i].replace('Perspective', '').toLowerCase()); + } + } + }, + parseURL: function(url) { + var a = document.createElement('a'); + var ret,seg,len,i,s; + + a.href = url; + return { + source: url, + protocol: a.protocol.replace(':', ''), + host: a.hostname, + port: a.port, + query: a.search, + params: (function() { + ret = {}, + seg = a.search.replace(/^\?/, '').split('&'), + len = seg.length, i = 0, s; + + for (; i < len; i++) { + if (!seg[i]) { + continue; + } + s = seg[i].split('='); + ret[s[0]] = s[1]; + } + return ret; + })(), + file: (a.pathname.match(/\/([^\/?#]+)$/i) || [null, ''])[1], + hash: a.hash.replace('#', ''), + path: a.pathname.replace(/^([^\/])/, '/$1'), + relative: (a.href.match(/tps?:\/\/[^\/]+(.+)/) || [null, ''])[1], + segments: a.pathname.replace(/^\//, '').split('/') + }; + } + }, + Array: { + indexOf: function(array, val) { + var i; + + for (i = 0; i < array.length; i++) { + if (this[i] === val) { + return i; + } + } + return -1; + }, + remove: function(array, val) { + var index = this.indexOf(array, val); + + if (index > -1) { + array.splice(index, 1); + } + return array; + } + } +}; + +assembly = function(options) { + this.initialized = false; + this.registerEvent = { + before: [], + change: [], + after: [] + }; + this.options = options; + + this.init(options); +}; + +assembly.output = function() { + me.log(me.list); +}; +assembly.prototype.oninit = me.fn; + +assembly.prototype.init = function(cfg) { + this.initialized = true; + + // function _getClassName(_constructor, _constr) { + // var _constr = _constr || ""; + // if (_constructor.superclass) { + // var args = /(\w+)\.superclass/.exec(_constructor.arguments.callee); + // if (args != null) { + // _constr += args[1] + "-"; + // // return _getClassName(_constructor.superclass.constructor, _constr); + // } + // } + // return _constr; + // } + this.__Uid = me.getUid('me'); + this.oninit(cfg); + me.list[this.__Uid] = this; +}; +assembly.prototype.destory = function() { + this.initialized = false; + delete me.list[this.__Uid]; +}; +assembly.prototype.getUid = function() { + return this.__Uid; +}; +assembly.prototype.getOptions = function() { + return this.options; +}; +assembly.prototype.config = function() { + if (arguments.length > 0) { + if (typeof (arguments[0]) === 'string') { + if (arguments.length > 1) { + this.options[arguments[0]] = arguments[1]; + } else { + return this.options[name]; + } + } + } else { + return this.options; + } +}; +assembly.prototype.on = function(name, callback) { + var __self = this; + var _e = __self.registerEvent[name]; + + if (_e) { + _e.push(callback); + } + return _e; +}; +assembly.prototype.off = function(name, callback) { + var __self = this; + var _e = __self.registerEvent[name]; + var e = []; + + me.each(_e, function(name, _callback) { + + if (_callback === callback) { + e.push(name); + } + }); + + me.each(e.reverse(), function(name, _callback) { + _e.splice(_callback, 1); + }); +}; +me.assembly = assembly; + module.exports = me; }); define("js/home/brands", ["jquery","handlebars","source-map"], function(require, exports, module){ -var $ = require("jquery"), - Handlebars = require("handlebars"); - -var $tabs = $('.brands-tabs'); -var $list = $('.brands-list'); -var $gory = $('.brands-category'); -var $brand = $list.find('li>a'); -var $category = $gory.find('a'); -var $tab = $tabs.find('li>a'); -var $arr = $tabs.find('.hoverarr'); - -var categoryHeight = $category.height(); -var categoryTop = $category.offset() ? $category.offset().top : 0; -var timeout; - - -//用于临时存储数据 -var tempdata = {}; - -var templete = '<div class="brands-layer">'; - -templete += ' <div class="layer-content">'; -templete += ' <div class="title">{{title}}</div>'; -templete += ' <div class="clearfix desc">'; -templete += ' <img src="{{icon}}">'; -templete += ' <p class="right">{{content}}</p>'; -templete += ' </div> '; -templete += ' <div class="featured">'; -templete += ' <p>{{subtitle}}</p> '; -templete += ' <div class="clearfix"> '; -templete += ' {{#each imgs}}'; -templete += ' <img src="{{src}}">'; -templete += ' {{/each}}'; -templete += ' </div>'; -templete += ' </div>'; -templete += ' </div>'; -templete += '</div>'; - - -$.easing.easeOutQuint = function(x, t, b, c, d) { - return c * ((t = t / d - 1) * t * t * t * t + 1) + b; -}; - -//头部图片TAB切换展示 -$tab.eq(0).parent('li').find('.brands-content').css('z-index', '1'); -$tab.hover(function() { - var $this = $(this); - - clearTimeout(timeout); - timeout = setTimeout(function() { - var targetLeft = parseFloat($this.offset().left) - parseFloat($tabs.offset().left); - - $arr.animate({ - left: targetLeft - }, 200, 'easeOutQuint'); - }, 200); - $tabs.find('.brands-content').removeAttr('style'); - $this.parent('li').find('.brands-content').css('z-index', '1'); - -}, function() { - clearTimeout(timeout); -}); - -//品牌类别滚动事件 -$(window).scroll(function() { - if ($(this).scrollTop() > categoryTop) { - $gory.addClass('category-fix'); - } else { - $gory.removeClass('category-fix'); - } -}); - -//点击字母,页面滚动到相关区域 -$category.click(function() { - var name = $(this).attr('href').split('#')[1]; - var targetTop = $list.find('[name=' + name + ']').offset().top - categoryHeight; - - $('html,body').animate({ - scrollTop: targetTop - }, 200); - return false; -}); - - -//浮层代码 -function bindTemplete($select, data, templete) { - var $this = $select; - var offset = { - width: $this.width(), - left: $this.offset().left, - right: parseFloat($(window).width()) - parseFloat($this.offset().left) - parseFloat($this.width()) - }; - var myTemplate; - - $list.find('.brands-layer').remove(); - myTemplate = Handlebars.compile(templete); - - $this.parent('li').find('.brands-dialog').html(myTemplate(data)); - - if (offset.right - 350 < 0) { - $this.parent('li').find('.brands-layer') - .addClass('brands-layer-right').css('left', -330 - offset.width); - } -} - -//鼠标悬浮品牌,请求数据,并且展示 -$brand.hover(function() { - var $this = $(this); - var key = $this.attr('data-key'); - - var options = { - url: '/brands/brandinfo', - type: 'get', - success: function(_data) { - - if (_data.code === 200 && _data.brand) { - if (!tempdata.hasOwnProperty(_data.brand.key)) { - tempdata[_data.brand.key] = _data.brand; - } - bindTemplete($this, tempdata[_data.brand.key], templete); - } - } - }; - - clearTimeout(timeout); - timeout = setTimeout(function() { - if (!tempdata.hasOwnProperty(key)) { - $.ajax(options); - } else { - bindTemplete($this, tempdata[key], templete); - } - }, 200); -}, function() { - clearTimeout(timeout); - $list.find('.brands-layer').remove(); -}); - +var $ = require("jquery"), + Handlebars = require("handlebars"); + +var $tabs = $('.brands-tabs'); +var $list = $('.brands-list'); +var $gory = $('.brands-category'); +var $brand = $list.find('li>a'); +var $category = $gory.find('a'); +var $tab = $tabs.find('li>a'); +var $arr = $tabs.find('.hoverarr'); + +var categoryHeight = $category.height(); +var categoryTop = $category.offset() ? $category.offset().top : 0; +var timeout; + + +//用于临时存储数据 +var tempdata = {}; + +var templete = '<div class="brands-layer">'; + +templete += ' <div class="layer-content">'; +templete += ' <div class="title">{{title}}</div>'; +templete += ' <div class="clearfix desc">'; +templete += ' <img src="{{icon}}">'; +templete += ' <p class="right">{{content}}</p>'; +templete += ' </div> '; +templete += ' <div class="featured">'; +templete += ' <p>{{subtitle}}</p> '; +templete += ' <div class="clearfix"> '; +templete += ' {{#each imgs}}'; +templete += ' <img src="{{src}}">'; +templete += ' {{/each}}'; +templete += ' </div>'; +templete += ' </div>'; +templete += ' </div>'; +templete += '</div>'; + + +$.easing.easeOutQuint = function(x, t, b, c, d) { + return c * ((t = t / d - 1) * t * t * t * t + 1) + b; +}; + +//头部图片TAB切换展示 +$tab.eq(0).parent('li').find('.brands-content').css('z-index', '1'); +$tab.hover(function() { + var $this = $(this); + + clearTimeout(timeout); + timeout = setTimeout(function() { + var targetLeft = parseFloat($this.offset().left) - parseFloat($tabs.offset().left); + + $arr.animate({ + left: targetLeft + }, 200, 'easeOutQuint'); + }, 200); + $tabs.find('.brands-content').removeAttr('style'); + $this.parent('li').find('.brands-content').css('z-index', '1'); + +}, function() { + clearTimeout(timeout); +}); + +//品牌类别滚动事件 +$(window).scroll(function() { + if ($(this).scrollTop() > categoryTop) { + $gory.addClass('category-fix'); + } else { + $gory.removeClass('category-fix'); + } +}); + +//点击字母,页面滚动到相关区域 +$category.click(function() { + var name = $(this).attr('href').split('#')[1]; + var targetTop = $list.find('[name=' + name + ']').offset().top - categoryHeight; + + $('html,body').animate({ + scrollTop: targetTop + }, 200); + return false; +}); + + +//浮层代码 +function bindTemplete($select, data, templete) { + var $this = $select; + var offset = { + width: $this.width(), + left: $this.offset().left, + right: parseFloat($(window).width()) - parseFloat($this.offset().left) - parseFloat($this.width()) + }; + var myTemplate; + + $list.find('.brands-layer').remove(); + myTemplate = Handlebars.compile(templete); + + $this.parent('li').find('.brands-dialog').html(myTemplate(data)); + + if (offset.right - 350 < 0) { + $this.parent('li').find('.brands-layer') + .addClass('brands-layer-right').css('left', -330 - offset.width); + } +} + +//鼠标悬浮品牌,请求数据,并且展示 +$brand.hover(function() { + var $this = $(this); + var key = $this.attr('data-key'); + + var options = { + url: '/brands/brandinfo', + type: 'get', + success: function(_data) { + + if (_data.code === 200 && _data.brand) { + if (!tempdata.hasOwnProperty(_data.brand.key)) { + tempdata[_data.brand.key] = _data.brand; + } + bindTemplete($this, tempdata[_data.brand.key], templete); + } + } + }; + + clearTimeout(timeout); + timeout = setTimeout(function() { + if (!tempdata.hasOwnProperty(key)) { + $.ajax(options); + } else { + bindTemplete($this, tempdata[key], templete); + } + }, 200); +}, function() { + clearTimeout(timeout); + $list.find('.brands-layer').remove(); +}); + }); define("js/common/new-arrivls", ["jquery","lazyload","handlebars","source-map"], function(require, exports, module){ @@ -3504,14 +3718,19 @@ module.exports = function(data) { var load = new InfiniteLoad({ offset: { height: function() { - return parseFloat($container.offset().top) + parseFloat($container.height()); + return parseFloat($container.offset().top) + parseFloat($container.height()) - 200; } } }); var options; var url = data.url; + var firstCount = data.firstCount; + var pageCount = data.pageCount; delete data.url; + delete data.firstCount; + delete data.pageCount; + load.on('after', function(p) { @@ -3520,6 +3739,8 @@ module.exports = function(data) { pageIndex: p.index }); + data.pageCount = (data.pageIndex === 1) ? firstCount : pageCount; + options = { type: 'POST', url: url, diff --git a/web-static/dist/yohobuy/0.0.1/index.css b/web-static/dist/yohobuy/0.0.1/index.css index 7d94755..a447a06 100644 --- a/web-static/dist/yohobuy/0.0.1/index.css +++ b/web-static/dist/yohobuy/0.0.1/index.css @@ -1,78 +1,2 @@ -/* -Error: No files were found in the load path matching "order/save/*.png". Your current load paths are: d:/project/yohobuy/web-static/dist/yohobuy/assets/img - on line 1 of d:/project/yohobuy/web-static/sass/order/_index.scss - from line 85 of d:/project/yohobuy/web-static/sass/index.scss - -1: @charset "utf-8"; -2: -3: @import "compass", -4: "compass/reset", -5: "header", -6: "footer", - -Backtrace: -d:/project/yohobuy/web-static/sass/order/_index.scss:1 -d:/project/yohobuy/web-static/sass/index.scss:85 -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/sprite_importer.rb:89:in `files' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/sprite_map.rb:19:in `from_uri' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/sass_extensions/functions/sprites.rb:78:in `sprite_map' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/script/tree/funcall.rb:140:in `_perform' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/script/tree/node.rb:50:in `perform' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:469:in `visit_variable' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/base.rb:36:in `visit' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:158:in `block in visit' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/stack.rb:79:in `block in with_base' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/stack.rb:115:in `with_frame' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/stack.rb:79:in `with_base' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:158:in `visit' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:326:in `block (2 levels) in visit_import' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:326:in `map' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:326:in `block in visit_import' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/stack.rb:88:in `block in with_import' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/stack.rb:115:in `with_frame' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/stack.rb:88:in `with_import' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:323:in `visit_import' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/base.rb:36:in `visit' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:158:in `block in visit' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/stack.rb:79:in `block in with_base' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/stack.rb:115:in `with_frame' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/stack.rb:79:in `with_base' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:158:in `visit' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/base.rb:52:in `block in visit_children' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/base.rb:52:in `map' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/base.rb:52:in `visit_children' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:179:in `with_environment' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:166:in `visit_children' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/base.rb:36:in `block in visit' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:186:in `visit_root' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/base.rb:36:in `visit' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:157:in `visit' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/visitors/perform.rb:8:in `visit' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/root_node.rb:36:in `css_tree' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/root_node.rb:29:in `render_with_sourcemap' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/engine.rb:378:in `_render_with_sourcemap' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/engine.rb:295:in `render_with_sourcemap' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-import-once-1.0.5/lib/compass/import-once/engine.rb:23:in `block in render_with_sourcemap' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-import-once-1.0.5/lib/compass/import-once/engine.rb:29:in `with_import_scope' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-import-once-1.0.5/lib/compass/import-once/engine.rb:22:in `render_with_sourcemap' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/plugin/compiler.rb:490:in `update_stylesheet' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/plugin/compiler.rb:215:in `block in update_stylesheets' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/plugin/compiler.rb:209:in `each' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/plugin/compiler.rb:209:in `update_stylesheets' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/sass_compiler.rb:40:in `compile!' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/commands/update_project.rb:49:in `perform' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/commands/base.rb:18:in `execute' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/commands/project_base.rb:19:in `execute' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:43:in `perform!' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:15:in `run!' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/bin/compass:30:in `block in <top (required)>' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/bin/compass:44:in `call' -D:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/bin/compass:44:in `<top (required)>' -d:/Ruby22/bin/compass:23:in `load' -d:/Ruby22/bin/compass:23:in `<main>' -*/ -body:before { - white-space: pre; - font-family: monospace; - content: "Error: No files were found in the load path matching \"order/save/*.png\". Your current load paths are: d:/project/yohobuy/web-static/dist/yohobuy/assets/img\A on line 1 of d:/project/yohobuy/web-static/sass/order/_index.scss\A from line 85 of d:/project/yohobuy/web-static/sass/index.scss\A \A 1: @charset \"utf-8\";\A 2: \A 3: @import \"compass\", \A 4: \"compass/reset\",\A 5: \"header\",\A 6: \"footer\","; } +html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}.yoho-header .header-topwrapper{width:100%;background-color:#f4f4f4;min-width:1150px}.yoho-header .header-top{width:1150px;height:32px;line-height:32px;margin:0 auto;position:relative}.yoho-header .leftpart{position:relative;padding-left:5px;padding-right:5px}.yoho-header .leftpart:hover{background-color:#dcdcdc}.yoho-header .leftpart:hover .yohoproducts-list{display:block !important}.yoho-header .leftpart .acttags{background-color:#dcdcdc}.yoho-header .yohoproducts-list{position:absolute;display:none;width:170px;left:0;top:32px;background-color:#f4f4f4;padding-top:30px;padding-bottom:10px;padding-left:20px;z-index:10000000}.yoho-header .yohoproducts-item{height:14px;line-height:14px;margin-bottom:20px}.yoho-header .yohoproducts-item a{color:#9196a0;font-size:14px}.yoho-header .yohoproducts-item:hover a{color:black}.yoho-header .rightpart{position:absolute;right:0;top:0}.yoho-header .rightpart .acttags{background-color:#dcdcdc}.yoho-header .rightpart .acttags .tag-seprate{border-color:#dcdcdc}.yoho-header .hi,.yoho-header .loginbar,.yoho-header .registbar{display:inline-block;float:left}.yoho-header .hi{color:#8e8e8e;font-size:12px}.yoho-header #loginBox a,.yoho-header #loginBox span{color:black;font-size:12px}.yoho-header .header-yoho,.yoho-header .loginbar,.yoho-header .login-out,.yoho-header .registbar{color:black;font-size:12px}.yoho-header .registbar{margin-left:7px}.yoho-header .tag-list-wrapper{margin-left:13px;float:left}.yoho-header .tag-list{margin-left:13px;height:34px}.yoho-header .tag-seprate{margin-top:11px;width:0;height:14px;display:inline-block;float:left;border-left:1px solid #dcdcdc}.yoho-header .tag-item{display:inline-block;float:left;line-height:32px;box-sizing:border-box;margin-left:-1px}.yoho-header .tag-item a{color:#8e8e8e;font-size:12px;display:inline-block}.yoho-header .tag-item span{display:inline-block}.yoho-header .myyoho{padding-right:10px;position:relative}.yoho-header .myyoho .tag-seprate{margin-right:12px}.yoho-header .myyoho-info{position:absolute;display:none;top:32px;left:-110px;width:300px;background-color:#f8f8f8;z-index:1000000}.yoho-header .myyoho-photo{overflow:hidden}.yoho-header .myyoho-photo img{display:block;margin:0 auto;width:63px;height:63px;border-radius:50%}.yoho-header .myyoho-info-header{margin:17px auto 0;width:257px;border-bottom:1px solid #dcdcdc;text-align:center;padding-bottom:15px}.yoho-header .user-email{margin-top:14px;color:black;height:25px;line-height:20px;font-size:18px}.yoho-header .user-level{color:black;height:20px;line-height:20px;font-size:18px}.yoho-header .user-level .leveldetail{color:#8cc4f9}.yoho-header .levelinfo{width:100%;padding-top:10px;clear:both;height:15px}.yoho-header .levelwrapper{width:150px;height:14px;background-color:#e2e2e2;margin-left:40px;position:relative}.yoho-header .levelspan{position:absolute;left:2px;height:14px;top:0;line-height:16px}.yoho-header .levelwrapper .integrate{height:14px;line-height:15px;background-color:#ceae64;text-align:left;padding-left:5px}.yoho-header .cardcate{font-size:14px;line-height:14px;margin-left:5px}.yoho-header .myyoho-info-content{margin:20px auto 0;padding-left:35px;padding-right:29px;border-bottom:1px solid #dcdcdc}.yoho-header .myyoho-info-content .item{height:12px;line-height:12px;margin-bottom:16px}.yoho-header .myyoho-info-content .item a{font-size:14px;color:black}.yoho-header .myyoho-info-footer{height:51px;line-height:51px;text-align:center}.yoho-header .myyoho-info-footer a{color:black;font-size:14px}.yoho-header .myorder{padding-right:10px}.yoho-header .myorder .tag-seprate{margin-right:11px}.yoho-header .mycollect{padding-right:11px}.yoho-header .mycollect .tag-seprate{margin-right:11px}.yoho-header .message{padding-right:10px}.yoho-header .message .tag-seprate{margin-right:11px}.yoho-header .phone{padding-right:8px;position:relative}.yoho-header .phone .tag-seprate{margin-right:10px}.yoho-header .qr{position:absolute;display:none;top:32px;left:-100px;width:231px;height:290px;background-color:#f8f8f8;z-index:10000000}.yoho-header .qr-img{position:relative;background-image:url('../assets/img/header/qr.png?1451884387');background-repeat:no-repeat;background-size:100% 100%;margin:32px auto 15px;width:143px;height:147px}.yoho-header .qr-words{height:25px;line-height:25px;font-size:16px;text-align:center}.yoho-header .qr-more{margin-top:6px;line-height:25px;font-size:14px;text-align:center}.yoho-header .onlineserver .tag-seprate{margin-right:10px}.yoho-header .header-navwrapper{width:100%;height:130px;position:relative;min-width:1150px}.yoho-header .header-navcontent{width:1150px;height:130px;margin:0 auto}.yoho-header .first-nav-list{margin-top:45px}.yoho-header .first-nav-item{float:left;padding:8px 23px 0}.yoho-header .all a,.yoho-header .girls a,.yoho-header .boys a,.yoho-header .kids a,.yoho-header .lifestyle a{color:white !important}.yoho-header .all span,.yoho-header .girls span,.yoho-header .boys span,.yoho-header .kids span,.yoho-header .lifestyle span{color:white !important}.yoho-header .all{background-color:#5e4b3c}.yoho-header .all .sub-nav-wrapper{background-color:black;display:block !important}.yoho-header .all .third-nav-wrapper{border-top:2px solid black}.yoho-header .searchcateboys .searchinput{border:1px solid #3a3a3a}.yoho-header .searchcateboys .icon-search{background-color:#3a3a3a !important}.yoho-header .searchcategirls .searchinput{border:1px solid #ff88ae}.yoho-header .searchcategirls .icon-search{background-color:#ff88ae !important}.yoho-header .searchcatewoman .searchinput{border:1px solid #ff88ae}.yoho-header .searchcatewoman .icon-search{background-color:#ff88ae !important}.yoho-header .searchcatekids .searchinput{border:1px solid #7bd3f9 !important}.yoho-header .searchcatekids .icon-search{background-color:#7bd3f9 !important}.yoho-header .gobuyboys{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Q0M1MUU5Nzc5NEUwMTFFNThDRDY4NERDMEY4MjRFMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6Q0M1MUU5Nzg5NEUwMTFFNThDRDY4NERDMEY4MjRFMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpDQzUxRTk3NTk0RTAxMUU1OENENjg0REMwRjgyNEUyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpDQzUxRTk3Njk0RTAxMUU1OENENjg0REMwRjgyNEUyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Po+gT6YAAAG8SURBVHjatJY9S8NAGMdzF5u7hCR9gVJRhw4u4gdQ4lTERTfBUR1d/Sq6iN/AvYPg4ujipA6CL1EKpVVpEvqSxJrEiLW9NElL7eW/hMsd9+Pu+T/3PGBNUTyPCWsxmys+ao1XhpKgFzNhWGaZoSiIWbYbCfq0l6iCLMfh/C/I8/wtOdF13BmaoP5mMuY33k2z9jf+udJ5UTyb+iQA1CrN5iFQFIX87zEJyIcxMHA8CN0kQK7v6wBIRpzKJKQAKIeF9SQgYBhEM0FJpVj4BUM2hIC6IbIIX4dAEocqtEEywqUQKIv5LdrxedAaVgj0rGt3VF+EXsrAqEmWYpwyGN3EgsQU90YNhPhSLCjH83u0QH589FiQqusXVPKHeNJg3CIWTB+nNEL3Y0Fzong8ra0/THO5Px4qEyEV0+mDySGgqhp6ObLwxenFME5/H1ysdl0nkxfEbT/XLsk1C5J0olnWrn9V59VWaycSPu5EvcLluUSvRHZIBUG4qnc6qwM7o7pu27Mjy8SowkVKs8y+K/3yvxJoamy7MLYeTWDbpzh3AgCYf4MkjtPIMlJrtzcH8ZH3ybV+Q3MUtce3AAMAyqGI3gJgP0oAAAAASUVORK5CYII=") !important}.yoho-header .gobuygirls{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QTQ0MEE0NEI5NEUwMTFFNUJCM0NDNjJEQzcwRjYzRjUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QTQ0MEE0NEM5NEUwMTFFNUJCM0NDNjJEQzcwRjYzRjUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBNDQwQTQ0OTk0RTAxMUU1QkIzQ0M2MkRDNzBGNjNGNSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBNDQwQTQ0QTk0RTAxMUU1QkIzQ0M2MkRDNzBGNjNGNSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsQbj+AAAAJiSURBVHjaYrxSPf2hNq+4HAMSePHz88/D7x4KhErq/GCgEmDS4BGVQxeUYOdl52JiDWKgImA69O7Borvf3r1/+fPLT2QJHhY2X6pa5CisFK/MJSR05sPTJGQJIVZOU2paxAJjfPv3e833v7+XcDKzMoKDj4NXbuOLazaUWvCP4f+XQAntC4z/O9bBBW9+efNSnUdEjIHK4PSHJ6eYkAXe/Pp6hoEGwIhf2gzFog9/fqynhUVf//76h2LRN2Ac/fz3h+oWPf7+4QmKRaAM+vj7x7fUtujNr29HmdAFX/36eoHaFn3683MVhkUffn9fR01Lvvz59e/Hvz+bmDAj7vei3///US9+fnx4AYySfxgWAQW/PPn+8QMV4+cUuAjCJgksvS9Sy6KPv3+swGkRUHILNSwBZpf/3//9WYvTos9/fy34S4V4AmaV18Co+IPTIqDkG6CiT5Ra9PrX11PwagKXImD9dJlSi4BZZSVBi579/JTz6ueXX+RacvnTi3s+4hpLMOojdACqQ4AU+7rnV+VJteQvw//vwOB/hbXiwwWCJLUfguhtr26mMzMySQKLk0lAQ94hq9nw4poxNzNb+Le/v7b4S2gdwmYOSsWHp+I6YyogYwxNSV9PfHgsAmshbX55I8BNVGUdOxMLIyil7np9p8RTTK0Xo81ATFDo8UkYwdiynPzcwBZSJKLFxFMBsgTEBvqYQYaDLxtr44TIjPcXmf/n/78nMPavf3/fIMv9+v/3E9kWnfrwpAlYWvwFVor/j79/tN9fQnM3UjZIv/31zRtQsD38/uHLo+8fErCZARBgABfzGasBpkfVAAAAAElFTkSuQmCC") !important}.yoho-header .gobuykids{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6REI3NTMxRkQ5NEUwMTFFNTkxQkFFMTBBNDAzMTQ3NDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6REI3NTMxRkU5NEUwMTFFNTkxQkFFMTBBNDAzMTQ3NDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEQjc1MzFGQjk0RTAxMUU1OTFCQUUxMEE0MDMxNDc0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEQjc1MzFGQzk0RTAxMUU1OTFCQUUxMEE0MDMxNDc0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pme87CMAAAGmSURBVHjaYqy+/PM/Axbw6eB6az77wGMMVAJMuCTYtcz2MlARMP3/+werBJuwBAdVLWJkZmEE0ow/Xz/9gSzByMRMTXsYWGCMn1dOmLI7Bl9Glvx259JDSi34//PHO25tM0NGYGJAEWegEUBNDP9pZg+qRb/ev/5NF4t+XD7qQBeLqJlBUWLk318sGZYG8fTzxaMvGBb9/vTuD7Ut+nXttCyGRd8vHg2ltkV8LmEfMCzis/PbQN0I+o+nUKViPP18/eQ7Tov+fP30j2oWXTmlidOi75eP1VAtfpyCH+K0iNfSs52a8YO34qNGPP16+/wnQYu+Xjt9gVKL2ESkODDqI3QAqkNA9Jez+5aQHGK/ft3ntfSoxVrx4QI8xk4x4BLjw5vfTOyczN/OHyzmtfLqR/H99TNXOZV1tH48vvOES1lHlqTGCbojWQVEWJg5uRmBlvQBW0hW8BL/2f3P3JomWkxsHAxAS2T+fPn4lxKLUACHjuV+OFtSgQcliHj4mahm0d/PHz5SrV2HYvD3L/+Rkz2ngoYYjPv59J4ZKPF19RTW1AoQYAC04pbZt5WEpAAAAABJRU5ErkJggg==") !important}.yoho-header .gobuylifestyle{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QkMyMjYwQzA5NEUwMTFFNUJBMTVFMTIwRDMwMTg0RUIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QkMyMjYwQzE5NEUwMTFFNUJBMTVFMTIwRDMwMTg0RUIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCQzIyNjBCRTk0RTAxMUU1QkExNUUxMjBEMzAxODRFQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCQzIyNjBCRjk0RTAxMUU1QkExNUUxMjBEMzAxODRFQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PnnVB6UAAAInSURBVHjaYswKcP395fd3FgYkwMLIzKAkqCB4693dDwxUAkzoloDAn/9/Gf78/dXCQEXAJMUtepeDme0/yBfI4PufH75UtejZ19cqP/7+YpLjk5qKLPH19zdJaloEDzYWZrYKRgaG7P9wi76zqgjIZ1FsAyPj2zvvH6xkjPO2gYtxsbD//fbnJxMDlYEwB/9XFEN52XjeMtAAvP3xkRvFIi5Wru20sIgRCFEsYmVmy6eFRdysHH9QLAJlUE4W9v/UtggYJU8xIp6Hles9tS3iZOFczoTpTe7d1I4fFmbWWgyLgIJUjSdQlgFGyR8Mi+68v/8SVCRRMX5egYsgbJI8bFwfqeYjVs5VOC0CxtMR6sQPpGjDaREwPxVTJ7Wx/wPGzw+cFgHj6RY7M+t/KsTPa3g1gVMRK/dnyuOHaz1BiwQ4BdKYGckvyPnYuH/f//g4E6M+wgy+ByuB1EpVQUUrUi0BhvkHYPBfw1rx4QK3398/BqIV+GWW/Pv3T4adlSP59rt7d5HVqAgqxPz88yOXjZl9yd0PDyfjrWHxASFgxfXg4xMuEJuNieWOmpAyvIWkxC/Xfvf9gwpoyjGT55N2ffjpqR9Gm4EYi97/+MgFY//694fh959fvTD+x58fc5CT57vv7z2xNk6Iq/ZRlTEyMd2CBwkTyzeUIGJi/k22RTI8EvuYGBnBOV2UU/D9vQ8PO+Gpi53PC5QxocH6X5hLOBGbGQABBgAqqasbPnFSMAAAAABJRU5ErkJggg==") !important}.yoho-header .searchcatelifestyle .searchinput{border:1px solid #5e4b3c !important}.yoho-header .searchcatelifestyle .icon-search{background-color:#5e4b3c !important}.yoho-header .boys{background-color:#3a3a3a}.yoho-header .boys .sub-nav-wrapper{background-color:#3a3a3a;display:block !important}.yoho-header .boys .third-nav-wrapper{border-top:2px solid #3a3a3a}.yoho-header .girls{background-color:#ff88ae}.yoho-header .girls .sub-nav-wrapper{background-color:#ff88ae;display:block !important}.yoho-header .girls .third-nav-wrapper{border-top:2px solid #ff88ae}.yoho-header .kids{background-color:#7bd3f9}.yoho-header .kids .sub-nav-wrapper{background-color:#7bd3f9;display:block !important}.yoho-header .kids .third-nav-wrapper{border-top:2px solid #7bd3f9}.yoho-header .lifestyle{background-color:#5e4b3c}.yoho-header .lifestyle .sub-nav-wrapper{background-color:#5e4b3c;display:block !important}.yoho-header .lifestyle .third-nav-wrapper{border-top:2px solid #5e4b3c}.yoho-header .name-cn{text-align:center;line-height:16px !important}.yoho-header .name-cn a{color:black;font-size:16px !important}.yoho-header .name-en{text-align:center;line-height:14px !important;margin-bottom:6px}.yoho-header .name-en a{color:#8e8e8e;font-size:12px;line-height:14px !important;font-family:'arial' !important}.yoho-header .sub-nav-wrapper{display:none;height:40px;left:0;width:100%;position:absolute;z-index:1000}.yoho-header .sub-nav-list{width:1150px;height:40px;margin:0 auto;overflow:hidden}.yoho-header .sub-nav-item{float:left;padding:12px 46px 12px 0;box-sizing:border-box;margin-right:38px}.yoho-header .sub-nav-item:last-child{margin-right:0 !important}.yoho-header .sub-nav-item a{color:white;font-size:14px;line-height:14px;display:inline-block}.yoho-header .sub-nav-item a{position:relative}.yoho-header .newlogo{display:block;width:26px;height:12px;background-image:url('../assets/img/header/new.png?1451884387');background-repeat:no-repeat;position:absolute;right:-29px;top:-6px}.yoho-header .sub-nav-item:hover>a{padding-bottom:3px;border-bottom:2px solid white}.yoho-header .actsecondnav{padding-bottom:3px;border-bottom:2px solid white}.yoho-header .sub-nav-item:hover .third-nav-wrapper{display:block}.yoho-header .third-nav-wrapper{box-sizing:border-box;height:300px;position:absolute;left:0;top:38px;width:100%;min-width:1150px;display:none;z-index:10000;padding-top:30px;padding-bottom:30px;background-color:#f8f8f8}.yoho-header .third-nav{width:1150px;height:100%;margin:0 auto}.yoho-header .category{width:880px;float:left;overflow:hidden}.yoho-header .category .thirdnavlist{box-sizing:border-box;width:220px;height:240px;float:left;padding-left:20px;border-right:1px solid #dcdcdc;padding-right:20px}.yoho-header .category-title{color:black;font-size:16px;width:178px;padding-bottom:12px;border-bottom:1px solid #000;line-height:16px;margin-bottom:20px}.yoho-header .category-title a{color:black !important}.yoho-header .category-list{margin-top:16px;margin-bottom:30px}.yoho-header .category-item{line-height:28px}.yoho-header .category-list a{color:#a1a1a1 !important;font-size:14px}.yoho-header .category-list .category-item .hot{color:#ee0011 !important;font-size:14px}.yoho-header .category-item-act a{color:black !important}.yoho-header .showdetail{box-sizing:border-box;padding-left:19px;padding-right:19px;width:268px;height:100%;float:right}.yoho-header [class^="icon-"],.yoho-header [class*=" icon-"]{display:inline-block;vertical-align:middle;background-repeat:none}.yoho-header .icon-hamburger{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAALCAYAAACksgdhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MkNDMTBCN0ExRjAzMTFFNUI1NzZENkM4MUQyMEJGQTgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MkNDMTBCN0IxRjAzMTFFNUI1NzZENkM4MUQyMEJGQTgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyQ0MxMEI3ODFGMDMxMUU1QjU3NkQ2QzgxRDIwQkZBOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoyQ0MxMEI3OTFGMDMxMUU1QjU3NkQ2QzgxRDIwQkZBOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqrUNPwAAAAmSURBVHjaYuzr6/vPQCJgAWJGUjUxMZAB6KcJ5KfRgCA3IAACDACZEATHVTZCoQAAAABJRU5ErkJggg==");width:13px;height:11px}.yoho-header .icon-headphones{background-image:url("header/headphones.png");width:15px;height:10px;margin-top:2px}.yoho-header .icon-heart{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAALCAYAAABLcGxfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QkJFNDA0MDMxRjAzMTFFNTgzQUY4OEM0NzJDQ0YyNzAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QkJFNDA0MDQxRjAzMTFFNTgzQUY4OEM0NzJDQ0YyNzAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCQkU0MDQwMTFGMDMxMUU1ODNBRjg4QzQ3MkNDRjI3MCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCQkU0MDQwMjFGMDMxMUU1ODNBRjg4QzQ3MkNDRjI3MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgbjRwsAAADJSURBVHjahNC9DgFBEMDxuXWiUUq0Si+i9AqiukQjkdBRi0R8FlrxAhKtgkfw0aiovYGEhP/EhI0cJvldNjOzu3MbRFEUiEgVeVyQxESeUcEVKRwwDvnUsMPQmjQ3srUedLN1QXu1mENP3qENXdy9Zo0liqHEx/FLPnA2X1r+h/akdEMHAyR+NGutj7az64c2dxA3hv2jPsTJWXKPBZoxG1qYW484r7DCFnUv18AGa/He3A+9pYySHXa23CtczAhTZJHB7LP4EGAA/kUjzWzAmh0AAAAASUVORK5CYII=");width:12px;height:11px;margin-top:-2px}.yoho-header .icon-mail{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RUVFMTA0NDExRjAzMTFFNTg3MzBCMUMzNDQ0Q0E1QkUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUVFMTA0NDIxRjAzMTFFNTg3MzBCMUMzNDQ0Q0E1QkUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFRUUxMDQzRjFGMDMxMUU1ODczMEIxQzM0NDRDQTVCRSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFRUUxMDQ0MDFGMDMxMUU1ODczMEIxQzM0NDRDQTVCRSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ptf44EYAAADcSURBVHjalNJPCwFBGMfxsW3UvgdydJVc7EEOcnH1Amxt/iUHUt6A456EUrwYJS64unkFjhKF79RDk6Q19Znd5nl+M9O2kSAIjkop7aD+GykkbKYdLphgHzKcRh8ni+mMKnrIhgjrnq5kzpYs6ht4aMH9EXalx5OMsoziFb4U81/CBTnVl171uYEed9FB0VgvoW3U38M23qOYYoEVRohJrYwKcpih/rqFbYR1YYyNrDUxxAMNeS5xk17/tYGDOQJsjRvpwODLt1jL6fqmjt4gIz9S7c8fKY7kU4ABAPrAL/PXL7nQAAAAAElFTkSuQmCC");width:16px;height:10px;margin-top:-2px}.yoho-header .icon-iphone{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAOCAYAAAASVl2WAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDNDODgxQzgxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDNDODgxQzkxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEM0M4ODFDNjFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEM0M4ODFDNzFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhJU+6cAAAB7SURBVHjaYnyorNzIwMDwFYgZGVDBPyDmYwESP4C4CyroBqV3QelKkAIeIF4IxNeQdBsCsRYQPwEpYALiE0A8Hc2KTCCWY2IgAIaHAlhI8gFxORCLQsVfQ+kfIAW/gLgTKjALamoJclBzAnEZNLL4oBIg0/4DMRdAgAEA3OsUBsKkQkoAAAAASUVORK5CYII=");width:8px;height:14px;margin-top:-2px}.yoho-header .icon-papers{background-image:url("data:image/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAOCAYAAAAWo42rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUNCQzI5NzcxRjAzMTFFNTg0MTBDRDUyRkVENTFGQTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUNCQzI5NzgxRjAzMTFFNTg0MTBDRDUyRkVENTFGQTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBQ0JDMjk3NTFGMDMxMUU1ODQxMENENTJGRUQ1MUZBNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBQ0JDMjk3NjFGMDMxMUU1ODQxMENENTJGRUQ1MUZBNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqSzZHsAAACCSURBVHjaYkxLS7vKwMBwhAETuABxGhDvBXFYgPggEGdhUTgdiP2h7L0sDLjBfyDOB+KJMBNxgb9APAOIGYF4DrJCfiBmQuJXAvEXKHsassJMIBZA4t8A4gUwDrLCDjzOQFHYDsRCWNQ0oSuspK+JTAxEAqIVgqy2B+KZBNTZAAQYAEaiFCx+VPXeAAAAAElFTkSuQmCC");width:10px;height:14px;margin-top:-2px}.yoho-header .icon-bottomarrow{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAFCAYAAAB8ZH1oAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUEzRDI1MEQxRjAzMTFFNUJENkRGMUM2QzYwNzc5ODAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUEzRDI1MEUxRjAzMTFFNUJENkRGMUM2QzYwNzc5ODAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QTNEMjUwQjFGMDMxMUU1QkQ2REYxQzZDNjA3Nzk4MCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QTNEMjUwQzFGMDMxMUU1QkQ2REYxQzZDNjA3Nzk4MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjEPOcUAAABkSURBVHjaYuzr65vBwMDQB8S3GLADNSAuYgISlUDcDsTGWBSBxDpBakAK3wNxLBAXA7EzkiJnqFg0SA0LVPAbEMcB8VQgFgbi/0DsChX7A1LAhGQCSCADap0JEKfDFIEAQIABAH3lEoANPM6QAAAAAElFTkSuQmCC");width:10px;height:5px;margin-top:-2px}.yoho-header .icon-logo{background-image:url(data:image/png;base64,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);background-repeat:no-repeat;background-position:center center;width:182px;height:53px;top:22px;left:44.2%;position:absolute}.yoho-header .search{position:relative}.yoho-header .searchspan{margin-top:45px;float:left;display:inline-block;overflow:hidden}.yoho-header .searchinput{float:left;width:240px;height:28px;line-height:25px;border:1px solid #000;box-sizing:border-box;padding-left:10px;border-right:none}.yoho-header .icon-search{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAQCAYAAADwMZRfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RUM1RjdENDUxRjA0MTFFNUEwRkRCMURDREZCNjYxQTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUM1RjdENDYxRjA0MTFFNUEwRkRCMURDREZCNjYxQTIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFQzVGN0Q0MzFGMDQxMUU1QTBGREIxRENERkI2NjFBMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFQzVGN0Q0NDFGMDQxMUU1QTBGREIxRENERkI2NjFBMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvM9DyUAAAEMSURBVHjanNS/S4JBHMfx59EnCyGcRBDD8Mca1NDm1qJTDU4NjTo4OEmbNNrgJAjR0FBOLe3+Ca06uDu1OIghGE/vb9wDD9epp194wXF3fJ7nufvyuL7vO6E6QQMJ/EAWPbxj6KwrCVGu0UcqNCc81NFFVFv7EwzO0TFtCCmhvSnkGYdbQsQjMvp8hC9KYoqls71ecKNPSkgeE8euZF/RFLJCzDLkQO3/FzLCmWXIJT5NId9qnLYIucPHuj5JYoDEhptp4da0FlFZX7hHD1UchZ5zgScsUEZcfxFXa3sXFVypQ5QaY4AZCnhADXNT29vK4RXHesfu6hRvwRnuGyKywWXoZ7Jrya+j+SvAAPnfjoCz07o6AAAAAElFTkSuQmCC");width:80px;height:28px;float:left;border:none;margin-top:45px;background-color:#3a3a3a;background-repeat:no-repeat;background-position:center center}.yoho-header .search-list{position:absolute;top:73px;left:0;z-index:1000;box-sizing:border-box;display:none;background-color:white;padding-top:20px;width:100%;max-height:500px;border-left:1px solid #000;border-right:1px solid #000;border-bottom:1px solid #000}.yoho-header .search-item{position:relative;padding:5px;height:25px;line-height:25px;font:12px}.yoho-header .search-item:hover{background-color:#f4f4f4}.yoho-header .searchvalue{position:absolute;left:10px;max-width:192px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.yoho-header .valuenum{position:absolute;right:10px;font-size:12px}.yoho-header .header-tool{padding-right:23px}.yoho-header .gobuy{margin-top:47px;margin-left:23px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MUFFQTNDNEExRjA1MTFFNUIwODc4NTUzNUJFODJCMjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MUFFQTNDNEIxRjA1MTFFNUIwODc4NTUzNUJFODJCMjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxQUVBM0M0ODFGMDUxMUU1QjA4Nzg1NTM1QkU4MkIyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxQUVBM0M0OTFGMDUxMUU1QjA4Nzg1NTM1QkU4MkIyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj44ndIAAAF7SURBVHjavJa7SsRAFEBn11gpov8gCCIKIijYrVjZCYmNFjYidn6BrSCWFoKdjQTsLKw0bHwh2gi+BTu30TWFK+j6OgMTiEOM0Z3shUPmzoQ5ZF6ZnG3ba0KIMfE9zqAH3sQv4bquSBN5GI2p74RuYTCkaAa24Fxr6zctWoEhGNfaBkyKcsxRWG6AMrSo/AaGDThemMeSFal4Bx9GVN4Otya+xnGchbxWVxTZxGy9RA+66AgqGYg8XSQ36F49RFkN306cyDMsuYfTONGhXPsGRUX20Wec6BUODIr88AgSGQ+flyTyDUkCOEkS7UPVgGiX+flIEj2rRWFk2JJEpuZpO41oCa5qkKwybMdhYiW8WIIOaP2HpIqkov9h06ycQN0jBtVmDusCOpTPJihAm8x1SVqRjEW5gmBDnYVW5KfWxeMC1uGSvPDTnSFNTEXKfdAbySegWZUbYbIWUVnLH7VDM+ndP4mm4Q6eYA6uI23LsKk2uDwj5+M6+BJgAFPmZONXOE3uAAAAAElFTkSuQmCC);background-repeat:no-repeat;width:30px;height:30px;position:relative;cursor:pointer}.yoho-header .gobuy-wrapper{position:absolute;display:none;top:30px;right:-14px;width:378px;background-color:#f8f8f8;z-index:10000000}.yoho-header .gobuy-empty{position:absolute;width:100%;height:507px;z-index:1;background-image:url('../assets/img/header/empty_car.png?1451884387');background-repeat:no-repeat;background-position:106px 132px;background-color:#f8f8f8}.yoho-header .gobuy-loading{position:absolute;width:100%;height:407px;z-index:1;background-image:url('../assets/img/header/loading.gif?1451884387');background-repeat:no-repeat;background-position:center 150px;background-color:#f8f8f8}.yoho-header .gobuy-loading .information{margin-top:180px;width:100%;height:12px;line-height:12px;font-size:12px;text-align:center}.yoho-header .gobuy-empty .information{margin-top:300px;width:100%;height:18px;line-height:18px;font-size:18px;text-align:center}.yoho-header .gobuy-notempty{position:absolute;width:100%;z-index:1;background-color:#f8f8f8;overflow:hidden}.yoho-header .goods-list-wrapper{width:96%;max-height:444px;margin-bottom:19px;overflow-y:auto;overflow-x:hidden}.yoho-header .goods-list{margin-top:40px}.yoho-header .goods-item{height:64px;margin-bottom:18px;padding-left:18px}.yoho-header .goods-img{display:inline-block;float:left;width:46px;height:62px;margin-right:13px}.yoho-header .goods-detail{margin-right:16px}.yoho-header .goods-detail .content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:170px;height:14px;line-height:14px;font-size:14px;margin-bottom:13px}.yoho-header .goods-detail .style{height:14px;line-height:14px;font-size:14px;color:#b0b0b0}.yoho-header .goods-price .priceandnum{height:14px;line-height:14px;font-size:14px;margin-bottom:13px;min-width:75px;text-align:right}.yoho-header .goods-price .delete{display:inline-block;float:right;font-size:14px;color:#000}.yoho-header .activity-item{margin-bottom:8px;padding-left:18px}.yoho-header .activity-name{display:inline-block;box-sizing:border-box;border:none;width:60px;height:18px;line-height:18px;background-color:#3a3a3a;color:white;font-size:14px;text-align:center;margin-right:13px}.yoho-header .activity-content{display:inline-block;line-height:14px;height:14px;color:#3a3a3a}.yoho-header .gobuy-notempty-footer{width:100%;height:61px;text-align:center}.yoho-header .gobuy-notempty-footer h3{box-sizing:border-box;width:349px;margin:0 auto;height:61px;line-height:61px;border-top:1px solid #dcdcdc}.yoho-header .gobuy-notempty-footer a{font-size:18px;color:#444}.yoho-header .ic-infomation{position:absolute;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAUCAYAAAB8gkaAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzU2RjA1MDYxRjA0MTFFNTk4RkI5QTc3MzJEQjAzQ0EiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzU2RjA1MDcxRjA0MTFFNTk4RkI5QTc3MzJEQjAzQ0EiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozNTZGMDUwNDFGMDQxMUU1OThGQjlBNzczMkRCMDNDQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozNTZGMDUwNTFGMDQxMUU1OThGQjlBNzczMkRCMDNDQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pg3/ud0AAAFcSURBVHjavJa9SsNQGIa/1Ig6OJtWcZGYZBXFxWvwD6poNztFsINgb0Jw0MHNTaGLFu/CwQ4OCQgurUl6BxalHt8vHq1Gs5TkvPCQk7/zcJJ850SLHIf+yQTYBOtgGRhglNLzBrrgDjTBteF5L8mLtNC2k8e2wDGYpeHTBvWi7zd+yYKBbAScgBpll1NwWPL9Pu/oJMTXiTPgUrapyce/zzsFARnYAa5sZ40bWNZu/Bg7pjmO7RMoUX4JwZwOczlnEcn+yyxbJTVZY9mSItkiywxFsiLLXtEYU2HTxbuIsJ1U4Ip4ZA9ozCuQ3XNR3+ZUzEma2uP0jLKi5pH1wFHOo6qbz50evzM2X4GVHCZizrkVBpefX+Ng1j+QJbCXoehC9hunQMSyGKw5ogoqoP3j+DDw/RU7Cqug/714elNG2m/BNtgAC1z9cnFNC3fI9doCN6DhdKM/vwUfAgwAy/liVzz2H2sAAAAASUVORK5CYII=);width:27px;height:20px;top:-10px;right:-15px;color:white;text-align:center;line-height:20px;font-size:12px}.yoho-header .float-left{float:left}.yoho-header .float-right{float:right}.yoho-header .showdetail img{display:block;box-sizing:border-box;width:226px;height:200px}.yoho-header .showdetail .title{display:block;margin-top:17px;width:100%;height:15px;text-align:center;line-height:15px;font-size:14px;color:black !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yoho-header .cate_row{float:left;height:352px;box-sizing:border-box}.yoho-header .cate_row li{box-sizing:border-box}.yoho-header .cate_row1{width:253px}.yoho-header .cate_row2{width:278px;border-left:1px solid #ccc;padding-left:50px}.yoho-header .cate_row3{width:270px;border-left:1px solid #ccc;padding-left:50px}.yoho-header .third-nav .cattitle{width:180px;padding-bottom:10px;border-bottom:1px solid #000;line-height:18px;margin-bottom:20px}.yoho-header .third-nav .catdetail{line-height:14px;height:14px;margin-bottom:24px;min-width:200px}.yoho-header .third-nav .cattitle h3 a{color:black !important;font-size:14px}.yoho-header .third-nav .catdetail a{color:#a1a1a1 !important;font-size:14px}.yoho-header .thirdcatelink:hover{text-decoration:underline !important}.yoho-header .third-nav .catdetail a.hot{color:#e01 !important}.yoho-header .hovercontent{display:none}.yoho-header .noticewrapper{width:100%;height:100px;background-color:#3a3a3a}.yoho-header .noticecontainer{width:1150px;margin:0 auto}.yoho-header .noticecontainer .noticetitle{padding:0;margin:0;float:left;height:100px;line-height:100px;font-size:27px;font-weight:bold;color:#fff;width:245px;font-family:"微软雅黑"}.yoho-header .noticecontainer .noticecontent{width:853px;float:left;margin-left:38px}.yoho-header .noticecontainer .noticecontent .tips{margin-top:16px;margin-bottom:10px;color:#fff;font-family:'微软雅黑';font-size:12px}.yoho-header .noticecontainer .noticecontent .detail{color:#fff;font-family:'微软雅黑';font-size:12px;line-height:16px}.simple-header{height:66px;margin:0 0 20px 0;border-bottom:2px solid #222}.simple-header .header-inner{width:990px;height:100%;margin:0 auto}.simple-header .logo{float:left;line-height:66px;font-size:0}.simple-header .logo img{vertical-align:middle}.simple-header .header-tool{float:right;line-height:66px;font-size:0}.simple-header .header-tool li{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;padding:0 10px;*margin:19px 0 0;line-height:28px;font-size:12px}.simple-header .header-tool li span,.simple-header .header-tool li a{font-size:12px;vertical-align:middle}.simple-header .header-tool li .tell-icon{font-size:12px}.simple-header .header-tool li .tell-icon ~ span{font-weight:bold}.simple-header .header-tool .login-box a{color:#666}.simple-header .header-tool .tool-options{position:relative;font-size:0;cursor:pointer}.simple-header .header-tool .tool-options:hover{background-color:#eaeceb}.simple-header .header-tool .tool-options:hover .iconfont.up{display:inline-block;*display:inline;*zoom:1}.simple-header .header-tool .tool-options:hover .iconfont.down{display:none}.simple-header .header-tool .tool-options .iconfont,.simple-header .header-tool .tool-options span{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;font-size:12px;height:28px;line-height:28px}.simple-header .header-tool .tool-options .iconfont.up,.simple-header .header-tool .tool-options span.up{display:none}.simple-header .header-tool .tool-options .tool-select{display:none;position:absolute;width:74px;left:0;background:#eaeceb;z-index:9}.simple-header .header-tool .tool-options .tool-select a{display:block;padding:0 0 0 10px;border-top:1px solid #ddd}@media (max-width: 1180px){.yoho-header .header-topwrapper{min-width:990px}.yoho-header .header-top{width:990px}.yoho-header .header-navwrapper{min-width:990px}.yoho-header .header-wrapper{width:990px}.yoho-header .header-navcontent{width:990px}.yoho-header .icon-logo{left:39.2%}.yoho-header .sub-nav-list{width:990px;min-width:990px}.yoho-header .sub-nav-item{margin-right:15px}.yoho-header .first-nav-item{float:left;padding:10px 14px 0;margin-right:3px}.yoho-header .third-nav{width:990px}.yoho-header .third-nav-wrapper{min-width:990px}.yoho-header .category{width:800px}.yoho-header .cate_row1{width:204px}.yoho-header .cate_row2{width:244px;border-left:1px solid #ccc;padding-left:39px}.yoho-header .cate_row3{width:163px;border-left:1px solid #ccc;padding-left:28px}.yoho-header .category .thirdnavlist{width:200px}.yoho-header .category-title{width:152px}.yoho-header .showdetail{width:190px;padding-right:0}.yoho-header .showdetail img{width:174px;height:155px}}.yoho-footer{font-size:12px}.yoho-footer .left{float:left}.yoho-footer .right{float:right}.yoho-footer .center{text-align:center}.yoho-footer *{box-sizing:border-box}.yoho-footer .red{color:#ee0011}.yoho-footer .rgb6{color:#666}.yoho-footer .rgb9{color:#999}.yoho-footer .rgbf{color:#fff}.yoho-footer .index-foot{background:#eeeeee;padding:20px 0}.yoho-footer .index-foot dd{width:370px;margin-right:20px;float:left;overflow:hidden}.yoho-footer .index-foot dd.last{margin-right:0}.yoho-footer .index-foot dd .foot-panel{background:#fff;padding:20px}.yoho-footer .index-foot dd .title{position:relative;text-align:center}.yoho-footer .index-foot dd .title-line{border-bottom:1px solid #dddddd;position:absolute;top:9px;width:100%;left:0}.yoho-footer .index-foot dd .text{position:absolute;width:100%;text-align:center;left:0;top:0}.yoho-footer .index-foot dd .text span{background:#fff;font-size:18px;line-height:18px;padding:0 10px}.yoho-footer .index-foot dd ul{margin-top:18px;padding-top:18px}.yoho-footer .index-foot dd .two-dim{margin-right:-10px;overflow:hidden}.yoho-footer .index-foot dd .two-dim li{border:1px solid #ddd;padding:7px;margin-right:10px}.yoho-footer .index-foot dd .two-dim li a{display:block}.yoho-footer .index-foot dd .two-dim li p{text-align:center;margin-top:13px;margin-bottom:3px;line-height:12px}.yoho-footer .index-foot dd .dim-img{display:block;width:87px;height:87px}.yoho-footer .index-foot dd .dim-hover{position:absolute}.yoho-footer .index-foot dd .dim-hover img{width:38px;height:38px}.yoho-footer .index-foot dd .dim-active .dim-img{opacity:1;filter:alpha(opacity=100)}.yoho-footer .index-foot dd .dim-active .dim-hover{display:none}.yoho-footer .index-foot dd .item-nav{padding-top:20px}.yoho-footer .index-foot dd .item-nav span{color:#fff;padding:0 3px;cursor:pointer;font-size:20px}.yoho-footer .index-foot dd .item-nav .cur{color:#999}.yoho-footer .index-foot .vote{line-height:24px}.yoho-footer .index-foot .vote input{margin:0 5px 0 1px}.yoho-footer .index-foot .vote .button{height:24px;line-height:24px;width:55px;font-size:12px;margin-top:10px;margin-right:10px;background:#222;color:#fff;display:inline-block;text-align:center;cursor:pointer}.yoho-footer .index-foot .vote p{height:24px;overflow:hidden}.yoho-footer .index-foot .vote textarea{width:98%;height:68px;vertical-align:middle;margin:5px 0px 0px 0px;resize:none}.yoho-footer .index-foot .vote-item p{float:left;width:50%}.yoho-footer .index-foot .mobile{margin-right:-10px}.yoho-footer .index-foot .mobile li{margin-right:10px;float:left}.yoho-footer .index-foot .mobile img{display:block;width:103px;height:131px}.yoho-footer .index-foot .index-banner{width:100%;margin-top:20px}.yoho-footer .footerbottom{width:100%}.yoho-footer .promise{padding:20px 0 10px 0;background:#000}.yoho-footer .promise .left{margin-right:60px;line-height:30px;font-size:12px;font-weight:bold}.yoho-footer .promise .left .iconfont{display:inline-block;font-weight:normal;font-size:22px;vertical-align:middle;margin-right:5px}.yoho-footer .promise .left:first-child .iconfont{font-size:27px}.yoho-footer .subscribe{border:1px solid #262626;width:240px}.yoho-footer .subscribe input{width:180px;height:32px;padding:0 10px;line-height:32px;border:none;margin:0;background:#000}.yoho-footer .subscribe a{display:block;float:right;margin-right:20px;font-size:20px;line-height:28px;opacity:0.5;filter:alpha(opacity=50)}.yoho-footer .footer-help{background:#000;font-size:12px;overflow:hidden}.yoho-footer .footer-help>div{padding:15px 0;border-top:1px solid #262626}.yoho-footer .footer-help ul{width:110%}.yoho-footer .footer-help p{line-height:24px}.yoho-footer .footer-help p span{color:#fff}.yoho-footer .footer-help p a{color:#666}.yoho-footer .footer-help p a:hover{text-decoration:underline}.yoho-footer .footer-help li{width:180px}.yoho-footer .footer-help .screen{border-top:1px solid #262626;padding:15px 0}.yoho-footer .footer-link{background:#000;padding:10px 0 30px 0;font-size:12px}.yoho-footer .footer-link .right-flag{margin-top:3px}.yoho-footer .footer-link .right-flag a{margin-right:5px}.yoho-footer .footer-link .about-us{line-height:20px;color:#666;margin-left:10px}.yoho-footer .footer-link .about-us a{color:#666}.yoho-footer .footer-link .about-us span{padding:0 10px}.yoho-footer .return-top{position:fixed;width:60px;height:60px;left:50%;margin-left:595px;text-align:center;line-height:50px;color:#fff;background:#000;opacity:0.5;filter:alpha(opacity=50);bottom:20px;cursor:pointer}.yoho-footer .return-top:hover{opacity:0.9;filter:alpha(opacity=90)}.yoho-footer .return-top .iconfont{font-size:34px}@media (max-width: 1360px){.yoho-footer .return-top{left:100%;right:20px;margin-left:auto}}@media (max-width: 1180px){.yoho-footer .index-foot dd{width:316px}.yoho-footer .index-foot dd .two-dim{margin-top:26px;margin-bottom:10px;overflow:hidden}.yoho-footer .index-foot dd .dim-img{width:69px;height:69px}.yoho-footer .index-foot dd .mobile img{width:85px;height:108px}.yoho-footer .subscribe{width:200px}.yoho-footer .subscribe input{width:140px}.yoho-footer .footer-help li{width:150px}}.path-nav{font-size:12px;padding:15px 0;height:18px;line-height:18px;border-bottom:1px solid #eaeceb;margin-bottom:15px}.path-nav a{color:#666}.path-nav .iconfont{font-size:12px}.slider{position:relative;height:327px;width:100%;overflow:hidden}.slider img{max-width:100%;max-height:100%}.slide-pagination{position:absolute;left:0;right:0;bottom:12px;text-align:center}.slide-pagination-inner{display:inline-block;position:relative;padding:7px;vertical-align:middle}.slide-shade{position:absolute;left:0;right:0;top:0;bottom:0;background:#000;opacity:0.3;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=30);-moz-border-radius:13px;-webkit-border-radius:13px;border-radius:13px}.slide-pagination-last span{display:block;float:left;position:relative;margin:0 7px;width:12px;height:12px;background:#fff;cursor:pointer;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;z-index:2}.slide-pagination-last span.focus{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}.slide-switch{display:none}.slide-switch.show{display:block}.slide-switch a{display:block;position:absolute;top:50%;margin:-30px 0 0;width:60px;height:60px;line-height:56px;text-align:center;z-index:2;background:#fff;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=55);opacity:0.55}.slide-switch a:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);opacity:0.9}.slide-switch a .iconfont{font-size:32px;color:#59585a}.slide-switch .prev{left:0}.slide-switch .next{right:0}.pager{font-size:12px}.pager a{height:24px;padding:0 9px;line-height:24px;display:inline-block;text-align:center;margin-right:8px;color:#222}.pager a.cur{background-color:#222;color:#fff}body{font-family:arial,"Microsoft YaHei"}@font-face{font-family:"iconfont";src:url('../assets/font/iconfont.eot?1451960836');src:url('../assets/font/iconfont.eot?&1451960836#iefix') format("embedded-opentype"),url('../assets/font/iconfont.woff?1451884387') format("woff"),url('../assets/font/iconfont.ttf?1451960836') format("truetype"),url('../assets/font/iconfont.svg?1451960836#iconfont') format("svg")}.iconfont{font-family:"iconfont" !important;font-size:16px;font-style:normal;text-decoration:none;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:0.2px;-moz-osx-font-smoothing:grayscale}.clearfix:before,.clearfix:after{content:"";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}ol,ul{list-style:none}a{text-decoration:none;color:#000}.hide{display:none !important}.pull-left{float:left}.pull-right{float:right}a:focus{outline:none}input,textarea{outline:none}.center-content{width:1150px;margin-left:auto;margin-right:auto}@media (max-width: 1180px){.center-content{width:990px}}.home-page{width:990px;margin:10px auto 0}.home-page .slide-container{position:relative}.home-page .slide-container img{display:block}.home-page .slide-wrapper{position:relative;height:387px;overflow:hidden}.home-page .slide-wrapper ul{position:relative;height:100%}.home-page .slide-wrapper:hover .slide-switch.show{display:block}.home-page .slide-wrapper li{display:none;position:absolute;top:0;right:0;width:100%;height:100%}.home-page .slide-wrapper li:first-child{display:block}.home-page .slide-wrapper li img{width:100%;height:100%}.home-page .slide-switch{display:none}.home-page .slide-switch a{position:absolute;top:50%;margin:-30px 0 0;width:60px;height:60px;line-height:56px;text-align:center;z-index:2;background:#fff;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=55);opacity:0.55}.home-page .slide-switch a.prev{left:0}.home-page .slide-switch a.next{right:0}.home-page .slide-switch a:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);opacity:0.9}.home-page .slide-switch a .iconfont{font-size:32px;color:#59585a}.home-page .thumb-pagination{margin:7px 0 0}.home-page .thumb-pagination li{position:relative;float:left;margin:0 0 0 6px;width:118px;height:46px}.home-page .thumb-pagination li:first-child{margin:0}.home-page .thumb-pagination li.focus a{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.home-page .thumb-pagination li a{position:absolute;left:0;right:0;bottom:0;top:0;background:#000;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=30);opacity:0.3}.home-page .thumb-pagination li img{width:100%;height:100%}.home-page .slide-pagination{position:absolute;left:0;right:0;bottom:12px;text-align:center;font-size:0}.home-page .slide-pagination .slide-pagination-inner{position:relative;padding:7px;display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline}.home-page .slide-pagination .slide-shade{position:absolute;left:0;right:0;top:0;bottom:0;background:#000;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=30);opacity:0.3;-moz-border-radius:13px;-webkit-border-radius:13px;border-radius:13px}.home-page .slide-pagination span{position:relative;display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;margin:0 7px;width:12px;height:12px;background:#fff;cursor:pointer;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;z-index:2}.home-page .slide-pagination span.focus{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}.home-page .debris-slider{height:440px;width:100%}.home-page .debris-slider .col{float:left}.home-page .debris-slider .col a{display:block}.home-page .debris-slider .left-col a,.home-page .debris-slider .right-col a{margin-bottom:10px}.home-page .debris-slider .left-col a:last-child,.home-page .debris-slider .right-col a:last-child{margin-bottom:0}.home-page .debris-slider .right-col img,.home-page .debris-slider .left-col img{height:100%;width:100%}.home-page .debris-slider .left-col{margin-right:9px}.home-page .debris-slider .left-col a{width:240px;height:103px}.home-page .debris-slider .left-col a:first-child{height:214px}.home-page .debris-slider .center-col{position:relative;width:492px;height:100%;margin-right:9px;font-size:0}.home-page .debris-slider .center-col:hover .slide-switch.show{display:block}.home-page .debris-slider .center-col .slide-wrapper{height:100%}.home-page .debris-slider .center-col img{max-width:100%;max-height:100%}.home-page .debris-slider .right-col a{width:240px;height:103px}.home-page .debris-slider .right-col a:first-child{height:326px;margin-bottom:11px}.home-page .new-report img{display:block;width:100%;height:100%}.home-page .new-report .report-list{float:left;width:748px}.home-page .new-report .report-list li{float:left;margin:0 8px 8px 0;width:158px;height:212px;overflow:hidden}.home-page .new-report .report-list li:first-child{margin-right:7px;width:242px;height:432px}.home-page .new-report .last-item{float:left;width:242px;height:432px;overflow:hidden}.home-page .preference-brand{overflow:hidden}.home-page .preference-brand-list{margin-top:8px;width:998px}.home-page .preference-brand-item{float:left;margin-right:7px;margin-bottom:8px}.home-page .preference-brand-item a{display:table-cell;width:159px;height:74px;text-align:center;vertical-align:middle}.home-page .preference-brand-item img{display:block;max-width:100%;max-height:100%;margin:0 auto}.home-page .preference-more{float:left;width:159px;height:74px;line-height:90px;text-align:center;color:black;font-size:16px}.home-page .img-slider-wrapper{position:relative;width:100%;height:480px;background:#8ae6e0}.home-page .img-slider-wrapper .img-brand-switch{display:block}.home-page .img-slider-wrapper .img-brand-switch a{position:absolute;top:50%;font-size:36px;color:#fff}.home-page .img-slider-wrapper .img-brand-switch a.next{right:30px}.home-page .img-slider-wrapper .img-brand-switch a.prev{left:30px}.home-page .img-container-landscape{margin:73px auto 0;box-sizing:border-box;width:844px;height:370px;overflow:hidden}.home-page .img-container-landscape .img-list{width:1000px;height:100%}.home-page .img-container-landscape .img-item{float:left;box-sizing:border-box;width:275px;height:100%;margin-right:9px}.home-page .img-container-landscape .img-item img{width:100%;height:100%}.home-page .img-brand{position:relative;width:100%;height:150px;overflow:hidden}.home-page .img-brand:hover .img-brand-switch{display:block}.home-page .img-brand ul{width:998px}.home-page .img-brand li{float:left;margin:0 8px 0 0;width:325px;height:150px;line-height:150px;overflow:hidden;font-size:0;text-align:center}.home-page .img-brand li img{max-width:100%;max-height:100%;vertical-align:middle}.home-page .img-brand .img-brand-switch{display:none}.home-page .img-brand .img-brand-switch a{position:absolute;top:50%;margin:-20px 0 0;width:40px;height:40px;line-height:40px;text-align:center;z-index:2;background:#fff;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=55);opacity:0.55}.home-page .img-brand .img-brand-switch a.prev{left:0}.home-page .img-brand .img-brand-switch a.next{right:0}.home-page .img-brand .img-brand-switch a:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);opacity:0.9}.home-page .logo-brand{width:100%;height:246px;overflow:hidden}.home-page .logo-brand.logos-10{height:164px}.home-page .logo-brand ul{width:998px}.home-page .logo-brand li{float:left;margin:8px 8px 0 0;width:158px;height:74px;line-height:74px;font-size:0;text-align:center}.home-page .logo-brand li img{max-width:100%;max-height:100%;vertical-align:middle}.home-page .logo-brand .logo-brand-switch{position:relative;background:url('../assets/img/index/logo-brand-line.png?1451884387') no-repeat center center;line-height:normal}.home-page .logo-brand .logo-brand-switch .iconfont{position:absolute;left:50%;font-size:32px}.home-page .logo-brand .logo-brand-switch .iconfont.prev{top:10px;margin:0 0 0 -48px}.home-page .logo-brand .logo-brand-switch .iconfont.next{bottom:12px;margin:0 0 0 20px}.home-page .logo-brand .brand-more{font-size:16px}.home-page .logo-brand .brand-more:hover{text-decoration:underline}.home-page .categorys-list ul{width:1004px}.home-page .categorys-list li{float:left;margin:0 7px 7px 0;width:161px;height:214px}.home-page .categorys-list li.cate-item0{width:160px;height:435px}.home-page .categorys-list li.cate-item1{width:326px;height:435px}.home-page .categorys-list li img{display:block;width:100%;height:100%}.home-page .floor-header{position:relative;margin:50px 0 30px}.home-page .floor-header .floor-title{margin:0 auto;width:298px;height:31px;line-height:31px;border:1px solid #000;font-size:16px;text-align:center}.home-page .floor-header .header-navs{position:absolute;padding:10px 0;top:0;right:0;font-size:14px}.home-page .floor-header .header-navs li{float:left;padding:1px 10px;border-left:1px solid #ccc}.home-page .floor-header .header-navs li:first-child{border-left:none}.home-page .floor-header .header-navs li:hover{text-decoration:underline}.home-page .floor-header .header-navs li a{color:#333}@media screen and (min-width: 1150px){.home-page{width:1150px}.home-page .slide-wrapper{height:450px}.home-page .thumb-pagination{margin:6px 0 0;padding:0 0 0 2px}.home-page .thumb-pagination li{width:138px;height:54px}.home-page .debris-slider{height:510px}.home-page .debris-slider .left-col{margin-right:10px}.home-page .debris-slider .left-col a{width:280px;height:120px}.home-page .debris-slider .left-col a:first-child{height:250px}.home-page .debris-slider .center-col{width:570px;height:100%;margin-right:10px}.home-page .debris-slider .right-col a{width:280px;height:120px}.home-page .debris-slider .right-col a:first-child{height:380px}.home-page .new-report .report-list{width:868px}.home-page .new-report .report-list li{width:185px;height:248px}.home-page .new-report .report-list li:first-child{width:282px;height:504px}.home-page .new-report .last-item{width:282px;height:504px}.home-page .img-slider-wrapper{height:558px}.home-page .img-container-landscape{margin:86px auto 0;width:982px;height:433px}.home-page .img-container-landscape .img-item{width:320px;margin-right:10px}.home-page .preference-brand-list{width:1158px}.home-page .preference-brand-item{margin-right:8px}.home-page .preference-brand-item a{width:185px;height:86px}.home-page .preference-more{width:185px;height:86px;line-height:100px}.home-page .img-brand{height:175px}.home-page .img-brand ul{width:1158px}.home-page .img-brand li{width:378px;height:175px;line-height:175px}.home-page .logo-brand{height:282px}.home-page .logo-brand.logos-10{height:188px}.home-page .logo-brand ul{width:1158px}.home-page .logo-brand li{width:185px;height:86px}.home-page .categorys-list ul{width:1158px}.home-page .categorys-list li{margin:0 8px 8px 0;width:185px;height:248px}.home-page .categorys-list li.cate-item0{width:185px;height:504px}.home-page .categorys-list li.cate-item1{width:377px;height:504px}.home-page .floor-header{margin:80px 0 40px}.home-page .floor-header .header-navs li{padding:1px 15px}}.g-list li{float:left}.g-list li a{position:relative;display:block;overflow:hidden}.g-list li a img{width:100%;height:100%}.g-mask{display:block;position:absolute;height:100%;width:100%;z-index:1;background:#000;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;overflow:hidden;-webkit-transition:opacity 0.6s;transition:opacity 0.6s}.g-title{display:block;text-align:center;font-weight:bold;line-height:2;overflow:hidden;text-overflow:ellipsis;width:100%;word-break:keep-all;white-space:nowrap}.home-page .tpl-recommend{width:100%;position:relative}.home-page .tpl-recommend a{display:block}.home-page .tpl-recommend a img{display:block;width:100%;height:100%}.home-page .tpl-recommend .tpl-body{margin-bottom:8px}.home-page .tpl-recommend .tpl-nav{float:left;overflow:hidden}.home-page .tpl-recommend .tpl-nav .tpl-keywords{margin-bottom:8px}.home-page .tpl-recommend .tpl-nav .tpl-category{padding:10px 0;background-color:#f8f8f8;overflow:hidden}.home-page .tpl-recommend .tpl-nav .tpl-category a{float:left;width:50%;text-align:center;color:#000;overflow:hidden}.home-page .tpl-recommend .tpl-brands{float:left;overflow:hidden;margin-left:8px}.home-page .tpl-recommend .tpl-brands li{margin-top:8px}.home-page .tpl-recommend .tpl-types{float:left;overflow:hidden;margin-top:-8px}.home-page .tpl-recommend .tpl-types li{float:left;margin-left:8px;margin-top:8px}.home-page .tpl-recommend .tpl-products{overflow:hidden;margin-left:-10px}.home-page .tpl-recommend .tpl-products li{float:left;margin-left:10px}.home-page .tpl-recommend .tpl-nav{width:158px}.home-page .tpl-recommend .tpl-nav .keywords0,.home-page .tpl-recommend .tpl-nav .keywords1,.home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:8px;height:65px}.home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:0px}.home-page .tpl-recommend .tpl-nav .tpl-category{height:192px}.home-page .tpl-recommend .tpl-nav .tpl-category a{height:32px;line-height:32px;font-size:12px}.home-page .tpl-recommend .tpl-nav .tpl-category a:hover{text-decoration:underline}.home-page .tpl-recommend .tpl-brands{width:324px;height:432px}.home-page .tpl-recommend .tpl-brands li a{height:212px}.home-page .tpl-recommend .tpl-types{width:498px}.home-page .tpl-recommend .tpl-types li a{width:158px;height:212px}.home-page .tpl-recommend .tpl-products li a{width:190px;height:254px}.home-page .singlehot{overflow:hidden;margin-left:-8px}.home-page .singlehot li{margin-left:8px;margin-bottom:8px}.home-page .singlehot li a{width:158px;height:212px}.home-page .singlehot .impo1,.home-page .singlehot .impo9{width:323px}.home-page .floor-ad a{display:block}.home-page .floor-ad a img{display:block;width:100%;height:100%}.home-page .floor-ad a{height:129px}.home-page .goods-container{margin-right:-10px}.home-page .goods-container .good-info{width:240px;height:400px;margin-bottom:0px}.home-page .goods-container .good-info .good-detail-img{height:320px}.home-page .goods-container .good-detail-text{text-align:center}.home-page .commodity .commodity-list{margin-left:-10px}.home-page .commodity .commodity-list li{margin-left:10px}.home-page .commodity .commodity-list i{position:absolute;bottom:0;width:100%;height:20px;background:#ffac5b;color:#fff;line-height:20px;text-align:center;font-size:12px}.home-page .commodity .commodity-list i.top{position:absolute;top:10px;right:10px;background-color:#ff575c;color:#fff;border-radius:30px}.home-page .commodity .commodity-list .commodity-img{position:relative}.home-page .commodity .commodity-list p.commodity-name{font-size:12px;color:#000;text-align:center;margin-top:14px;line-height:18px}.home-page .commodity .commodity-list p.commodity-price{position:relative;margin:3px 0 0 0;text-align:center;line-height:20px;color:#000}.home-page .commodity .commodity-list p.commodity-price span{display:inline-block;font-size:12px}.home-page .commodity .commodity-brands{margin-left:-8px}.home-page .commodity .commodity-brands a{float:left;margin-left:8px;display:block}.home-page .commodity .commodity-brands a img{width:100%;height:100%}.home-page .commodity .loading{position:relative;width:100%;text-align:center;padding-top:40px}.home-page .commodity .loading a{display:block;height:35px;width:120px;margin:0 auto 40px;background-color:#000;color:#fff;font-size:14px;line-height:35px;text-align:center}.home-page .commodity .commodity-list a{height:400px;width:240px}.home-page .commodity .commodity-list .commodity-img{height:320px}.home-page .commodity .commodity-list i.top{height:52px;width:52px;line-height:52px;font-size:14px}.home-page .commodity .commodity-brands a{width:158px;height:74px}.home-page .slide-accordion{overflow:hidden;height:342px;position:relative}.home-page .slide-accordion a{display:block;position:relative}.home-page .slide-accordion a img{display:block;width:100%;height:100%}.home-page .slide-accordion ul{position:absolute;left:-5px}.home-page .slide-accordion li{position:absolute;border-left:5px solid #fff}.home-page .slide-accordion li a{width:558px;height:342px}.home-page .slide-accordion .g-mask{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=20);opacity:0.2}.home-page .slide-accordion .g-mask:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.boys .tpl-nav .keywords0{margin-bottom:8px !important;height:130px !important}.boys .tpl-nav .keywords1{margin-bottom:0px !important;height:74px !important}.boys .tpl-brands{margin-top:-8px !important}.boys .goods-container .good-info,.lifestyle .goods-container .good-info{width:188px;height:360px}.boys .goods-container .good-info .good-detail-img,.lifestyle .goods-container .good-info .good-detail-img{height:255px}@media screen and (min-width: 1150px){.home-page .tpl-recommend .tpl-nav{width:185px}.home-page .tpl-recommend .tpl-nav .keywords0,.home-page .tpl-recommend .tpl-nav .keywords1,.home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:10px;height:76px}.home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:0px}.home-page .tpl-recommend .tpl-nav .tpl-category{height:228px}.home-page .tpl-recommend .tpl-nav .tpl-category a{height:38px;line-height:38px;font-size:14px}.home-page .tpl-recommend .tpl-brands{width:378px;height:504px}.home-page .tpl-recommend .tpl-brands li a{height:248px}.home-page .tpl-recommend .tpl-types{width:579px}.home-page .tpl-recommend .tpl-types li a{width:185px;height:248px}.home-page .tpl-recommend .tpl-products li a{width:222px;height:298px}.home-page .singlehot li a{width:185px;height:284px}.home-page .singlehot .impo1,.home-page .singlehot .impo9{width:378px}.home-page .adbanner{margin-top:12px}.home-page .adbanner a{height:150px}.home-page .slide-accordion{height:400px}.home-page .slide-accordion li a{width:650px;height:400px}.home-page .goods-container .good-info{width:280px;height:465px}.home-page .goods-container .good-info .good-detail-img{height:374px}.home-page .commodity .commodity-list a{height:465px;width:280px}.home-page .commodity .commodity-list .commodity-img{height:374px}.home-page .commodity .commodity-list i.top{height:60px;width:60px;line-height:60px;font-size:20px}.home-page .commodity .commodity-brands a{width:185px;height:86px}.boys .tpl-nav{width:185px !important}.boys .tpl-nav .keywords0{margin-bottom:10px !important;height:152px !important}.boys .tpl-nav .keywords1{height:86px !important}.boys .tpl-nav .tpl-category a{height:38px !important;line-height:38px !important;font-size:14px !important}.boys .goods-container .good-info,.lifestyle .goods-container .good-info{width:222px !important;height:408px !important}.boys .goods-container .good-info .good-detail-img,.lifestyle .goods-container .good-info .good-detail-img{height:298px !important}}.brands .brands-tabs{margin:20px auto;position:relative}.brands .brands-tabs a{display:block}.brands .brands-tabs a img{width:100%;height:100%;display:block}.brands .brands-tabs li{float:left}.brands .brands-tabs li p{display:block;font-size:30px;text-align:center;color:#dedede;position:absolute;top:50%;width:100%;margin-top:-15px;z-index:3}.brands .brands-tabs li .g-mask{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4}.brands .brands-tabs li:hover .g-mask{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.brands .brands-tabs .brands-content{position:absolute;left:0}.brands .brands-tabs .brands-content .brands-icon{padding:0 4px}.brands .brands-tabs .brands-content .brands-icon a{float:left;width:80px;height:50px}.brands .brands-tabs .hover-contain{position:relative;border-bottom:1px solid #dfdfdf}.brands .brands-tabs .hover-contain .hoverarr{background-color:#3d3d3d;position:absolute;bottom:0px;z-index:1000}.brands .brands-tabs .hover-contain .hoverarr i{width:0;height:0;position:absolute;left:50%;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #3d3d3d;top:-6px;margin-left:-3px}.brands .category-nav{border:2px solid #222;padding-left:16px;height:44px;line-height:44px;font-size:12px;font-weight:bold;position:relative;top:1px;z-index:100;background-color:#fff}.brands .category-nav span{display:inline-block;margin-right:15px}.brands .category-nav a{display:inline-block;padding:0 7px;text-align:center;color:#222;cursor:pointer}.brands .category-fix{position:fixed;top:0;z-index:100;margin-top:0 !important}.brands .brands-list dl{border-top:1px dotted #999;padding:20px 0;position:relative}.brands .brands-list dt{width:130px;text-align:center;font-weight:bold;font-size:16px;text-align:center;top:50%;margin-top:-9px;position:absolute}.brands .brands-list dd{margin-left:130px}.brands .brands-list dd li{float:left;display:block;width:170px;height:18px}.brands .brands-list dd a{color:#666;line-height:18px;font-size:12px;position:relative}.brands .brands-list dd a:hover{text-decoration:underline}.brands .brands-list dd .brands-dialog{display:inline;position:relative}.brands .brands-list dd .hot{font-weight:bold;color:#222}.brands .brands-list dd i{position:relative;top:-4px;color:#ee0011;font-size:10px;line-height:10px;-webkit-transform:scale(0.9)}.brands .sit-nav{padding-top:10px;padding-left:22px;font-size:12px}.brands .sit-nav .sep{margin:0 6px}.brands .brands-category{margin-top:84px;width:990px}.brands .brands-tabs ul{margin-left:-9px}.brands .brands-tabs li{margin-left:9px}.brands .brands-tabs li a{width:190px;height:154px;position:relative}.brands .brands-tabs .brands-content{width:990px;top:200px}.brands .brands-tabs .brands-content .brands-icon{margin-left:-33px;padding:0 4px}.brands .brands-tabs .brands-content .brands-icon a{float:left;width:68px;height:44px;margin-left:33px}.brands .brands-tabs .hover-contain{height:25px}.brands .brands-tabs .hover-contain .hoverarr{height:4px;width:190px}.brands .brandfloor ul{margin-left:-12px}.brands .brandfloor li{margin-left:12px;margin-bottom:26px}.brands .brandfloor li a{width:322px;height:206px}.brands .singlegoods ul{margin-left:-10px}.brands .singlegoods li{margin-left:10px;margin-bottom:10px}.brands .singlegoods li a{width:240px;height:322px}.brands .singlegoods .singlegoods-title{position:absolute;left:0;bottom:0;height:50px;width:100%}.brands .singlegoods .singlegoods-title p{position:absolute;z-index:2;top:0;left:0;display:block;width:100%;height:100%;line-height:50px;font-size:18px;text-align:center;color:#fff}.brands .video ul{margin-left:-10px}.brands .video li{margin-left:10px;margin-bottom:10px}.brands .video li a{width:323px;height:208px}.brands .video .video-play{display:block;position:absolute;left:50%;top:50%;margin-left:-30px;margin-top:-28px;width:60px;height:56px;background-image:url('../assets/img/index/play.png?1451884387')}.brands .video .video-title{position:absolute;left:0;bottom:0;height:32px;width:100%}.brands .video .video-title p{position:absolute;z-index:2;top:0;left:0;display:block;width:100%;height:100%;font-size:14px;line-height:32px;text-align:center;color:#fff}.brands .news{margin-bottom:30px}.brands .news .news-pic{float:left;width:660px;height:376px}.brands .news .news-pic .slide-wrapper{height:376px}.brands .news .news-pic .slide-wrapper img{height:376px}.brands .news .news-pic .slide-wrapper:hover .slide-switch.show{display:none}.brands .news .news-pic .slide-tips{position:absolute;left:0;bottom:0;height:30px;width:100%}.brands .news .news-pic .slide-tips p{position:absolute;left:18px;z-index:2;height:30px;font-size:14px;line-height:30px;color:#fff}.brands .news .news-pic .slide-pagination{right:0;left:initial;bottom:0}.brands .news .news-pic .slide-pagination .slide-shade{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;background:none}.brands .news .news-txt{float:right;padding:20px 16px;width:284px;height:334px;float:right;border:1px solid #000;overflow:auto}.brands .news .news-txt li{position:relative;display:block;margin-top:12px;margin-left:20px}.brands .news .news-txt a{font-size:14px;line-height:24px;cursor:pointer;color:#010101;display:block}.brands .news .news-txt a:hover{color:#fff;background:#000;padding-left:12px;-webkit-transition:padding 0.4s;transition:padding 0.4s}.brands .news .news-txt i{position:absolute;top:-6px;left:-26px;font-size:30px}.brands .ads{margin-bottom:30px}.brands .ads ul{margin-left:-10px}.brands .ads li{margin-left:10px;margin-bottom:10px}.brands .ads li a{width:240px}.brands .ads li a img{height:140px}.brands .ads li .name{font-size:14px}.brands .ads li .des{font-size:12px}.brands .brands-items{margin:25px auto}.brands .brands-items .brands-item{float:left;padding:15px 0;width:50%}.brands .brands-items a.brands-pic{float:left;width:240px;height:116px;display:block}.brands .brands-items a.brands-pic img{width:100%;height:100%}.brands .brands-items .brand-info{float:right;padding:0 20px;width:212px;color:#000}.brands .brands-items .brand-info h3{width:100%;font-size:20px;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brands .brands-items .brand-info .brand-desc{padding:12px 0;height:72px;font-size:14px;line-height:22px;overflow:hidden;text-overflow:ellipsis;word-wrap:break-word}.brands .pagination{margin-top:60px;margin-bottom:60px;text-align:center}.brands .pagination a{height:24px;padding:0 9px;line-height:24px;display:inline-block;text-align:center;margin-right:8px;color:#222;font-size:12px}.brands .pagination a i{position:relative;top:-1px;font-size:10px;-webkit-transform:scale(0.8)}.brands .pagination a.cur{background:#222;color:#fff}@media screen and (min-width: 1150px){.brands .sit-nav{padding-left:26px;font-size:12px}.brands .sit-nav .sep{margin:0 8px}.brands .brands-category{width:1150px}.brands .brands-tabs ul{margin-left:-10px}.brands .brands-tabs li{margin-left:10px}.brands .brands-tabs li a{width:222px;height:180px}.brands .brands-tabs .brands-content{width:1150px;top:230px}.brands .brands-tabs .brands-content .brands-icon{margin-left:-38px;padding:0 4px}.brands .brands-tabs .brands-content .brands-icon a{float:left;width:80px;height:50px;margin-left:38px}.brands .brands-tabs .hover-contain{height:30px}.brands .brands-tabs .hover-contain .hoverarr{height:5px;width:222px}.brands .brandfloor ul{margin-left:-10px}.brands .brandfloor li{margin-left:10px;margin-bottom:32px}.brands .brandfloor li a{width:376px;height:206px}.brands .singlegoods ul{margin-left:-10px}.brands .singlegoods li{margin-left:10px;margin-bottom:10px}.brands .singlegoods li a{width:280px;height:376px}.brands .singlegoods .singlegoods-title{position:absolute;left:0;bottom:0;height:50px;width:100%}.brands .singlegoods .singlegoods-title p{position:absolute;z-index:2;top:0;left:0;display:block;width:100%;height:100%;line-height:50px;font-size:18px;text-align:center;color:#fff}.brands .video ul{margin-left:-10px}.brands .video li{margin-left:10px;margin-bottom:10px}.brands .video li a{width:376px;height:240px}.brands .video .video-play{display:block;position:absolute;left:50%;top:50%;margin-left:-30px;margin-top:-28px;width:60px;height:56px;background-image:url('../assets/img/index/play.png?1451884387')}.brands .video .video-title{position:absolute;left:0;bottom:0;height:32px;width:100%}.brands .video .video-title p{position:absolute;z-index:2;top:0;left:0;display:block;width:100%;height:100%;font-size:14px;line-height:32px;text-align:center;color:#fff}.brands .news .news-pic{width:764px;height:436px}.brands .news .news-pic .slide-wrapper{height:436px}.brands .news .news-pic .slide-wrapper img{height:436px}.brands .news .news-txt{width:342px;height:394px}.brands .ads ul{margin-left:-10px}.brands .ads li{margin-left:10px;margin-bottom:10px}.brands .ads li a{width:280px}.brands .ads li a img{height:160px}.brands .ads li .name{font-size:14px}.brands .ads li .des{font-size:12px}.brands .brands-items a.brands-pic{width:280px;height:136px}.brands .brands-items .brand-info{width:255px;color:#000}.brands .brands-items .brand-info .brand-desc{height:92px}}.brands-layer{position:absolute;z-index:100;top:-83px;left:15px;width:325px;height:287px;background:url(http://static.yohobuy.com/images/v3/index/brands-layer.png) no-repeat;font-weight:normal}.brands-layer .layer-content{padding:20px 20px 20px 35px}.brands-layer .layer-content .title{font-size:24px;line-height:24px;border-bottom:1px solid #ccc;padding-bottom:5px}.brands-layer .layer-content .desc{margin:5px 0 5px 0;height:72px;overflow:hidden}.brands-layer .layer-content .desc img{width:80px;height:50px;margin:3px 5px 0 0;float:left}.brands-layer .layer-content .desc .right{width:180px;float:right;font-size:12px;line-height:150%}.brands-layer .layer-content .featured{font-size:16px;margin-right:-15px}.brands-layer .layer-content .featured img{height:100px;width:80px;float:left;margin:15px 15px 0 0}.brands-layer-right{background:url(http://static.yohobuy.com/images/v3/index/brands-layer.png) no-repeat 0 -287px;left:-325px;top:-83px}.brands-layer-right .layer-content{padding:20px 35px 20px 20px}.product-search-page .goods-container{height:auto;padding:25px 0 0 0;position:relative;width:1160px}@media (max-width: 1180px){.product-search-page .goods-container{height:auto;padding-top:25px;position:relative;width:1000px}.product-search-page .goods-container .good-info{width:190px}.product-search-page .goods-container .good-info .good-detail-img{height:255px}.product-search-page .goods-container .block-next-page{width:190px;height:255px}}.product-list-page .list-left{width:160px}.product-list-page .list-left .sort-container{width:100%;font-size:12px;border-bottom:1px solid #ebebeb;padding-bottom:10px;margin-bottom:10px}.product-list-page .list-left .sort-container h2{height:28px;line-height:28px;color:#222;font-weight:bold;position:relative}.product-list-page .list-left .sort-container h2 span{color:#bbb;padding-left:5px}.product-list-page .list-left .sort-container .product-list-nav h3{height:28px;line-height:28px;color:#222;font-weight:bold;position:relative;text-indent:10px;cursor:pointer}.product-list-page .list-left .sort-container .product-list-nav h3 span{color:#bbb;padding-left:5px}.product-list-page .list-left .sort-container .product-list-nav h3 span.icon-triangle{display:inline-block;padding-left:0;width:0;height:0;border-top:6px solid #fff;border-left:6px solid #000;border-bottom:6px solid #fff;position:absolute;top:50%;margin-top:-6px;left:0;-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.product-list-page .list-left .sort-container .product-list-nav.active h3 span.icon-triangle{-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-webkit-transform:rotate(90deg);transform:rotate(90deg)}.product-list-page .list-left .sort-container ul.sort-child-list{display:none}.product-list-page .list-left .sort-container ul.sort-child-list.new-sale{display:block}.product-list-page .list-left .sort-container ul.sort-child-list li{color:#bbb}.product-list-page .list-left .sort-container ul.sort-child-list li span{padding-left:5px}.product-list-page .list-left .sort-container ul.sort-child-list a{color:#666;padding-left:10px;height:22px;line-height:22px}.product-list-page .list-left .nav-pic-title{height:35px;line-height:35px;color:#000;font-weight:bold;border-bottom:1px solid #ebebeb;font-size:12px}.product-list-page .list-left .pic-nav{display:block}.product-list-page .list-left .pic-nav li,.product-list-page .list-left .pic-nav img{display:block;width:100%;overflow:hidden}.product-list-page .list-right{width:970px}.product-list-page .brand-banner{position:relative}.product-list-page .brand-banner .opt-wrap{position:absolute;width:100%;height:32px;top:50%;margin-top:-16px;text-align:right}.product-list-page .brand-banner a,.product-list-page .brand-banner span{display:inline-block;height:20px;margin-right:5px;line-height:20px;border:1px solid #fff;padding:5px 10px;color:#fff;font-size:12px}.product-list-page .brand-banner .iconfont{font-size:12px}.product-list-page .brand-banner .brand-favor{margin-right:0}.product-list-page .brand-banner .coled{color:#f00}.product-list-page .shop-entry{position:relative;background:#f5f7f6;border:1px solid #eaeceb;padding:12px 15px;margin-bottom:10px}.product-list-page .shop-entry .logo{width:80px;height:50px}.product-list-page .shop-entry .name{margin-left:10px}.product-list-page .shop-entry .shop-name{font-size:16px;color:#222;line-height:26px}.product-list-page .shop-entry .sorts{color:#999;font-size:12px;line-height:18px}.product-list-page .shop-entry .sorts a{color:#999}.product-list-page .shop-entry .entry-btn{position:absolute;right:15px;top:50%;width:110px;height:32px;line-height:32px;margin-top:-16px;background:#222;text-align:center;color:#fff;font-size:12px}.product-list-page .shop-entry .entry-btn .iconfont{font-size:12px}.product-list-page .goods-container{height:auto;padding:25px 0 0 0;position:relative;width:980px}.product-list-page .goods-container .good-info{width:235px}.new-sale-page .header-title{position:relative;width:100%;height:42px;margin:20px 0;text-align:center;font-size:20px}.new-sale-page .header-title .count-wrap{position:relative}.new-sale-page .header-title .count{background:#fff;padding:0 5px;color:#999;font-size:12px;margin-top:6px}.new-sale-page .header-title .line-through{position:absolute;bottom:9px;left:0;right:0;height:1px;border-top:1px dotted #999}.new-sale-page .new-banner img{display:block;width:100%}.new-sale-page .new-brands{position:relative;width:100%;margin-top:25px}.new-sale-page .new-brands>*{float:left}.new-sale-page .new-brands .pre,.new-sale-page .new-brands .next{position:absolute;display:block;width:40px;height:40px;line-height:40px;color:#fff;background:#e0e0e0;text-align:center;top:50%;margin-top:-20px;cursor:pointer;opacity:0.8;filter:Alpha(opacity=80)}.new-sale-page .new-brands .pre:hover,.new-sale-page .new-brands .next:hover{opacity:0.9;filter:Alpha(opacity=90)}.new-sale-page .new-brands .pre{left:0}.new-sale-page .new-brands .next{right:0}.new-sale-page .new-brands .brands-wrap{position:relative;overflow:hidden;width:890px;height:76px;margin-left:40px}.new-sale-page .new-brands .brands{position:absolute;width:auto;height:76px}.new-sale-page .new-brands .brands li{float:left;margin-left:14px}.new-sale-page .new-brands .brands li a{display:block;width:164px;height:76px;line-height:76px;vertical-align:middle;text-align:center}.new-sale-page .new-brands .brands li img{vertical-align:middle;max-width:100%;max-height:100%;border:none}.new-sale-page .new-floor-title{position:relative;margin:35px auto;width:300px;height:31px;line-height:31px;font-size:18px;border:1px solid #000}.new-sale-page .new-floor-title .date{position:absolute;left:-1px;top:-1px;width:155px;height:33px;color:#fff;text-align:center;background:url('../assets/img/product/floor-title.png?1451884387')}.new-sale-page .new-floor-title .title{float:right;margin-right:40px}@media (max-width: 1180px){.new-sale-page .new-brands .brands-wrap{width:730px}}.filter-box{border:1px solid #dfdfdf}.filter-box .section{padding:10px 15px;font-size:14px;border-top:1px solid #dfdfdf}.filter-box .section:first-child{border-top:none;background:#eaeceb}.filter-box .title{float:left;width:90px;line-height:30px}.filter-box .attr-content{margin-left:90px}.filter-box .multi-select{display:inline-block;width:60px;height:18px;line-height:18px;border:1px solid #000;text-align:center;cursor:pointer}.filter-box .attr{display:block;float:left;padding:0 10px;margin-right:30px;line-height:30px;cursor:pointer;-moz-user-select:none}.filter-box .attr:first-child{margin-left:0}.filter-box .attr.checked{color:#e01}.filter-box .attr.checked a{color:#e01}.filter-box .checked-conditions{line-height:30px}.filter-box .checked-conditions .tag{display:block;float:left;padding:0 10px;margin-right:30px;background:#000;color:#fff;cursor:pointer}.filter-box .checked-conditions .color-block{height:14px;width:14px;border:1px solid #fff;margin-bottom:-3px}.filter-box .checked-conditions .clear-checked{color:#999;float:right}.filter-box .sort-pre .active .attr{border:1px solid #000}.filter-box .sort-sub-wrap{width:100%}.filter-box .sort-sub-wrap .sort-sub{padding:15px 0}.filter-box .brand{position:relative}.filter-box .brand .attr{box-sizing:border-box;width:20%;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.filter-box .brand .attr-content{max-width:900px}.filter-box .brand .brand-opt{position:absolute;right:20px;top:15px}.filter-box .brand .brand-more{margin-right:20px;cursor:pointer}.filter-box .brand .brands-index{float:left;line-height:30px}.filter-box .brand .brands-index span{margin:0 5px;cursor:pointer;-moz-user-select:none}.filter-box .brand .brands-index span:first-child{margin-left:10px}.filter-box .brand .brand-search{float:left;height:18px;line-height:18px;border:1px solid #b0b0b0;margin-top:5px;margin-left:15px}.filter-box .brand .brand-search input{float:left;border:none;width:100px;height:18px;padding:0}.filter-box .brand .brand-search .btn{display:inline-block;width:55px;height:18px;background:#b0b0b0;color:#fff;text-align:center;cursor:default}.filter-box .brand .panel-body{padding:15px 20px;margin-top:5px;background:#f4f7f6;min-height:30px;border:1px solid #000}.filter-box .btns{display:none;margin-top:10px;text-align:center}.filter-box .multi .btns{display:block}.filter-box .multi-select-ok,.filter-box .multi-select-cancel{width:55px;height:24px;border:none;background:#000;color:#fff;font-size:15px;margin-right:15px;cursor:pointer}.filter-box .multi-select-ok.dis,.filter-box .multi-select-cancel.dis{background:#ccc}.filter-box .ud-price-range{margin-top:2px}.filter-box .limit{height:22px;width:42px;border:1px solid #ccc;padding:0}.filter-box .price-sep{margin:0 5px}.filter-box .price-sure{height:24px;width:44px;border:1px solid #e0e0e0;background:#fff;color:#666;margin-left:10px}.filter-box .color-block{display:inline-block;height:22px;width:22px;border:1px solid #ccc;margin-bottom:-6px;margin-right:5px}.filter-box .senior{padding-bottom:6px}.filter-box .senior .attr-content{position:relative}.filter-box .senior-attr-wrap{position:relative}.filter-box .senior-attr-wrap>.attr:hover>.iconfont,.filter-box .senior-attr-wrap>.attr.hover>.iconfont{visibility:hidden}.filter-box .senior-attr-wrap>.attr:hover .senior-up-icon,.filter-box .senior-attr-wrap>.attr.hover .senior-up-icon{visibility:visible}.filter-box .senior-sub{box-sizing:border-box;position:absolute;padding:15px 0;left:0;right:0;top:39px;background:#fff;border:1px solid #eaeceb}.filter-box .senior-sub ul{max-width:950px}.filter-box .senior-sub.multi .multi-select{display:none}.filter-box .senior-sub .multi-select{position:absolute;top:20px;right:15px}.filter-box .senior-up-icon{width:100%;height:9px;z-index:1;margin-left:-11px;visibility:hidden;background:url('../assets/img/product/senior-up.png?1451884387') no-repeat;background-position-x:50%}.filter-box .checkbox{display:none}.filter-box .multi .checkbox{display:inline}.sort-pager{height:48px;background:#f5f7f6;line-height:48px;margin:10px 0}.sort-pager .sort-type,.sort-pager .checks{color:#ccc;font-size:14px;padding:0 10px}.sort-pager .sort-type .iconfont,.sort-pager .checks .iconfont{font-size:14px}.sort-pager .sort-type.active,.sort-pager .sort-type.checked,.sort-pager .checks.active,.sort-pager .checks.checked{color:#000}.sort-pager .pager-wrap{float:right;padding:15px 0}.sort-pager .page-count{position:relative;height:18px;float:left;font-size:12px;line-height:18px}.sort-pager .page-count>span{float:left;display:block;width:42px;height:10px;line-height:10px;padding:3px;border:1px solid #ccc;color:#222;cursor:pointer;margin-right:10px}.sort-pager .page-count .iconfont{font-size:14px;color:#ccc;float:right}.sort-pager .page-count>ul{position:absolute;display:none;width:42px;padding:0 3px;border-left:1px solid #ccc;border-right:1px solid #ccc}.sort-pager .page-count li{border-bottom:1px solid #ccc}.sort-pager .page-count a{display:block;width:100%}.sort-pager .pager{float:left;font-size:14px;line-height:15px;margin:0 20px}.sort-pager .pager .dis-icon{color:#e6e6e6}.sort-pager .pager i{color:#f00}.good-info{margin-bottom:35px;width:222px;margin-right:10px;float:left}.good-info .good-detail-img{width:100%;height:300px;position:relative}.good-info .good-detail-img .good-thumb,.good-info .good-detail-img img.lazy{display:block;overflow:hidden;width:100%;height:100%}.good-info .good-detail-img .few-tag{width:100%;position:absolute;left:0;height:16px;line-height:16px;background:#ffac5b;color:#fff;font-size:12px;text-align:center;bottom:0}.good-info .good-detail-text{color:#222;font-size:12px;text-align:center;overflow:hidden}.good-info .good-detail-text>a{margin-top:16px;line-height:1.5;display:block;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.good-info .good-detail-text>.price{margin-top:10px}.good-info .col-btn{position:absolute;top:15px;right:15px;color:#ccc;font-size:12px;display:none}.good-info .tag-container{font-size:12px;height:22px;line-height:22px}.good-info .tag-container .good-tag{padding:0 7px;display:block;float:left;margin-right:3px}.good-info .tag-container .good-tag:nth-last-of-type(1){margin-right:0}.good-info .tag-container .good-tag.new-tag{color:#fff;background:#78dc7d}.good-info .tag-container .good-tag.renew-tag{color:#fff;background:#78dc7e}.good-info .tag-container .good-tag.new-festival-tag{color:#fff;background:#000}.good-info .tag-container .good-tag.yep-tag{color:#fff;background:#ff565b}.good-info .tag-container .good-tag.ymp-tag{color:#fff;background:#ff565b}.good-info .tag-container .good-tag.sale-tag{color:#fff;background:#ff565b}.good-info .tag-container .good-tag.limit-tag{color:#4e4e4e;border:1px solid #4e4e4e}.good-item-wrapper{border:1px solid #dddddd;padding-left:20px;padding-top:18px;padding-right:20px;position:absolute;background:#fff;display:none}.good-item-wrapper .good-info-main{float:left}.good-item-wrapper .good-info-main .col-btn{display:block}.good-item-wrapper .good-info-main .col-btn:hover{color:#f95b4f;cursor:pointer}.good-item-wrapper .good-select-color{float:left;margin-top:22px}.good-item-wrapper .good-select-color ul{display:block;float:left;margin-left:15px}.good-item-wrapper .good-select-color li{width:50px;margin-bottom:15px}.good-item-wrapper .good-select-color li a,.good-item-wrapper .good-select-color li img{display:block;overflow:hidden;width:100%}.good-item-wrapper .good-info{margin-right:10px}.block-next-page{width:222px;height:297px;padding-top:22px;margin-bottom:35px;margin-right:10px;float:left;cursor:pointer}.block-next-page a{display:block}.block-next-page a img{width:100%;height:100%;display:block;overflow:hidden}.latest-walk{overflow:hidden;border-top:2px solid #eaeceb;font-size:12px}.latest-walk h2{padding-top:15px;font-size:14px}.latest-walk .goods{width:984px;height:241px;margin:30px 0;overflow:hidden}.latest-walk .good{float:left;margin-right:14px}.latest-walk img{display:block;width:150px;height:201px}.latest-walk .name{display:block;height:18px;line-height:18px;max-width:150px;margin:5px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.latest-walk .market-price{color:#999;margin-right:5px;text-decoration:line-through}.latest-walk .sale-price{color:#000;font-weight:bold}@media (max-width: 1180px){.latest-walk .goods{width:820px;height:301px}.latest-walk .good{margin-right:10px}.latest-walk img{width:195px;height:261px}}.product-page .sort-container{width:100%;font-size:12px;border-bottom:1px solid #ebebeb;padding-bottom:10px;margin-bottom:10px}.product-page .sort-container h2{height:28px;line-height:28px;color:#222;font-weight:bold;position:relative}.product-page .sort-container h2 span{color:#bbb;padding-left:5px}.product-page .sort-container .product-list-nav h3{height:28px;line-height:28px;color:#222;font-weight:bold;position:relative;text-indent:10px;cursor:pointer}.product-page .sort-container .product-list-nav h3 span{color:#bbb;padding-left:5px}.product-page .sort-container .product-list-nav h3 span.icon-triangle{display:inline-block;padding-left:0;width:0;height:0;border-top:6px solid #fff;border-left:6px solid #000;border-bottom:6px solid #fff;position:absolute;top:50%;margin-top:-6px;left:0;-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.product-page .sort-container .product-list-nav.active h3 span.icon-triangle{-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-webkit-transform:rotate(90deg);transform:rotate(90deg)}.product-page .sort-container .product-list-nav.active ul.sort-child-list{display:block}.product-page .sort-container ul.sort-child-list{display:none}.product-page .sort-container ul.sort-child-list.new-sale{display:block}.product-page .sort-container ul.sort-child-list li{color:#bbb}.product-page .sort-container ul.sort-child-list li.active{background:#333;color:#fff}.product-page .sort-container ul.sort-child-list li.active a{color:#fff}.product-page .sort-container ul.sort-child-list li span{padding-left:5px}.product-page .sort-container ul.sort-child-list a{color:#666;padding-left:10px;height:22px;line-height:22px}.product-page .nav-pic-title{height:35px;line-height:35px;color:#000;font-weight:bold;border-bottom:1px solid #ebebeb;font-size:12px}.product-page .pic-nav{display:block}.product-page .pic-nav li,.product-page .pic-nav img{display:block;width:100%;overflow:hidden}.product-page .no-result{border:1px solid #eaeceb;padding:60px 0;text-align:center;margin-bottom:20px}.product-page .no-result .no-title{font-size:16px}.product-page .no-result .keyword{color:#ee0011}.product-page .no-result .search-again{width:490px;margin:15px auto}.product-page .no-result .search-again input{float:left;width:380px;height:18px;padding:15px 5px;border:10px solid #343434;color:#333;outline:none}.product-page .no-result .search-again span{float:left;display:block;width:80px;height:24px;line-height:24px;padding:22px 0;background:#343434;vertical-align:middle;color:#fff}.product-page .no-result .search-again .iconfont{font-size:26px}.product-page .no-result .no-tip{font-size:12px;color:#999}.product-page .product-pager{padding:20px 0;font-size:12px;color:#6a6a6a;border-top:2px solid #eaeceb}.product-page .product-pager .pager{float:right}.product-page .list-left{width:160px}.product-page .list-right{width:970px}.product-list-page .goods-container,.new-sale-page .goods-container{height:auto;padding-top:25px;position:relative;width:980px}.product-list-page .goods-container .good-info,.new-sale-page .goods-container .good-info{width:235px}.product-list-page .goods-container .good-info .good-detail-img,.new-sale-page .goods-container .good-info .good-detail-img{height:315px}.product-list-page .goods-container .block-next-page,.new-sale-page .goods-container .block-next-page{width:235px;height:315px}@media (max-width: 1180px){.product-list-page .list-right,.new-sale-page .list-right{width:810px}.product-list-page .goods-container,.new-sale-page .goods-container{height:auto;padding-top:25px;position:relative;width:820px}.product-list-page .goods-container .good-info,.new-sale-page .goods-container .good-info{width:195px}.product-list-page .goods-container .good-info .good-detail-img,.new-sale-page .goods-container .good-info .good-detail-img{height:261px}.product-list-page .goods-container .block-next-page,.new-sale-page .goods-container .block-next-page{width:195px;height:261px}}.guang-page{width:1150px;margin:0 auto}.guang-page .left-side{float:left;width:830px}.guang-page .right-side{float:left;width:290px;margin-left:30px}.guang-page img.blink,.guang-page .bg-img.blink{opacity:0.8;filter:alpha(opacity=80)}.guang-page .ex-reco-title{color:#333;line-height:24px;padding-bottom:10px;border-bottom:1px solid #ccc;font-size:20px;font-weight:bold}.guang-page .ex-reco-list{margin-top:14px}.guang-page .ex-reco-item{box-sizing:border-box;height:60px;margin-bottom:14px}.guang-page .ex-reco-item:last-child{margin-bottom:0}.guang-page .ex-reco-img{display:block;float:left;width:90px;height:60px;margin-right:5px}.guang-page .ex-reco-img span{display:block;height:100%;width:100%;-webkit-background-size:cover;-moz-background-size:cover;background-size:cover;background-position:center}.guang-page .ex-reco-img span img{width:100%;height:100%}.guang-page .ex-reco-context{float:left;max-width:195px;height:40px;line-height:20px;font-size:13px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guang-page .ex-reco-context:hover{color:#cc3300}.guang-page .hot{margin-top:40px}.guang-page .hot .hot-title{color:#333;line-height:24px;padding-bottom:10px;border-bottom:1px solid #ccc;font-weight:bold;font-size:20px}.guang-page .hot .hot-tag-list{margin-top:14px;max-height:150px;overflow:hidden}.guang-page .hot .hot-tag{display:inline-block;float:left;padding:5px;font-size:12px;background-color:#ccc;border:none;margin-right:10px;margin-bottom:10px;color:white;font-weight:bold}.guang-page .hot .hot-tag:hover{background-color:#333}.guang-page .ads{margin-top:30px}.guang-page .ads .ad{display:block;box-sizing:border-box;margin-bottom:24px;width:290px}.guang-page .ads .ad img{display:block;width:100%}.guang-page .msg-content{padding:24px 0;border-bottom:1px solid #ccc;position:relative}.guang-page .msg-content .content{height:80px;line-height:24px}.guang-page .msg-content .iconfont{color:#ccc}.guang-page .msg-content .msg-img{position:relative;float:left;margin-right:26px}.guang-page .msg-content .msg-img img{display:block;width:360px;height:240px}.guang-page .msg-content .msg-img img.square{height:360px}.guang-page .msg-content .classification{position:absolute;background-color:#000;color:#fff;text-align:center;width:80px;height:32px;line-height:32px;font-size:13px;opacity:0.9;filter:Alpha(opacity=90);z-index:99}.guang-page .msg-content .reco{position:absolute;top:0;left:66px;height:32px;width:32px;background:url('../assets/img/guang/msg-reco.png?1451884387');background-size:100% 100%;z-index:100}.guang-page .msg-content .msg-info{float:left;width:440px}.guang-page .msg-content .msg-title{display:block;font-size:22px;color:#333;line-height:30px;max-height:64px}.guang-page .msg-content .msg-title:hover{color:#CC3300}.guang-page .msg-content .content{font-size:14px;color:#666}.guang-page .msg-content .msg-app{line-height:34px;color:#999;font-size:13px}.guang-page .msg-content .author{display:block;float:left;color:#333;margin-right:22px;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guang-page .msg-content .author:hover{color:#CC3300}.guang-page .msg-content .publish-time,.guang-page .msg-content .page-view{color:#999}.guang-page .msg-content .tags,.guang-page .msg-content .like-comment{position:absolute;bottom:24px;font-size:12px}.guang-page .msg-content .tags.tags,.guang-page .msg-content .like-comment.tags{left:386px;max-width:350px;height:20px;overflow:hidden}.guang-page .msg-content .tags.like-comment,.guang-page .msg-content .like-comment.like-comment{right:0;color:#999}.guang-page .msg-content .tags .like,.guang-page .msg-content .like-comment .like{margin-right:10px}.guang-page .msg-content .tags .like:hover *,.guang-page .msg-content .like-comment .like:hover *{color:#000}.guang-page .msg-content .tags .like-icon,.guang-page .msg-content .like-comment .like-icon{cursor:pointer}.guang-page .msg-content .msg-tag{display:inline-block;text-align:center;height:20px;line-height:20px;padding:0 10px;margin-right:10px;background-color:#ccc;color:#fff}.guang-page .msg-content .msg-tag:last-child{margin-right:0}.guang-page .msg-content .msg-tag:hover{background-color:#333}.guang-page .pager{font-size:12px}.guang-page .pager a{height:24px;padding:0 9px;line-height:24px;display:inline-block;text-align:center;margin-right:8px;color:#222}.guang-page .pager a.cur{background-color:#222;color:#fff}.guang-index-page .msg-nav{border-bottom:1px solid #000;margin-top:24px;height:30px}.guang-index-page .msg-nav li{float:left;height:30px;line-height:30px;text-align:center;font-size:18px;padding:0 28px}.guang-index-page .msg-nav li a{display:block;height:100%;width:100%;color:#333}.guang-index-page .msg-nav li.actived{background-color:#111}.guang-index-page .msg-nav li.actived a{color:#fff}.guang-index-page .msg-pager{float:right;margin:20px 0}.guang-detail-page{width:1150px;margin:0 auto 95px}.guang-detail-page b{font-weight:bold}.guang-detail-page i{font-style:italic}.guang-detail-page .block{margin:15px 0}.guang-detail-page .excellent-recommendation-title{margin-top:4px}.guang-detail-page .block-header{position:relative;border-bottom:1px solid #c1c1c1;font-size:18px;height:38px;line-height:38px;text-align:center;margin-bottom:24px;color:#333}.guang-detail-page .block-header .more-reco{position:absolute;right:0;color:#000;font-size:14px;text-decoration:none}.guang-detail-page .related-brand .brands{width:852px}.guang-detail-page .related-reco .recos{width:850px}.guang-detail-page .detail-title{font-size:28px;line-height:64px;border-bottom:1px dotted #c1c1c1;word-wrap:break-word}.guang-detail-page .article-author{float:left;line-height:64px}.guang-detail-page .article-author .author-avatar{clear:both;width:38px;height:64px}.guang-detail-page .article-author .author-avatar img{width:38px;height:38px;border-radius:50%;vertical-align:middle}.guang-detail-page .author-info{float:left;margin-left:10px;font-size:14px;max-width:447px}.guang-detail-page .author-info .author-name{display:block;height:64px;line-height:64px;cursor:pointer;color:#000}.guang-detail-page .author-info .author-name:hover{color:#cc3300}.guang-detail-page .author-info .author-introduce{color:#999}.guang-detail-page .article-status{float:right;height:64px;line-height:64px;color:#999;font-size:13px}.guang-detail-page .article-status .article-click{margin:0 25px}.guang-detail-page .article-status .article-comment{color:#cc3300;cursor:pointer}.guang-detail-page .article-main img{display:block;max-width:100%;margin:0 auto}.guang-detail-page .article-main .article-text{margin:2px 0 20px;line-height:28px;font-size:14px}.guang-detail-page .article-main .article-small-pic{text-align:center;font-size:0}.guang-detail-page .article-main .article-small-pic img{display:inline-block;*display:inline;*zoom:1;max-width:412px}.guang-detail-page .article-main .article-small-pic img:first-child{margin:0 6px 0 0}.guang-detail-page .article-main .block:first-child{margin-top:10px}.guang-detail-page .user-handle{margin:30px 0 0 0;text-align:center}.guang-detail-page .user-handle ul{display:inline-block}.guang-detail-page .user-handle ul li{float:left;margin:0 15px;cursor:pointer}.guang-detail-page .user-handle ul li a{position:relative;display:block;padding:0 10px;height:36px;line-height:36px;color:#535353;font-size:0;background:#efefef;text-align:left}.guang-detail-page .user-handle ul li a i,.guang-detail-page .user-handle ul li a span{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;font-style:normal;font-size:14px}.guang-detail-page .user-handle ul li a i{margin:0 5px 0 0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;font-size:18px}.guang-detail-page .user-handle ul li a .cancel-collect{display:none}.guang-detail-page .user-handle ul .like-status.liked i,.guang-detail-page .user-handle ul .like-status.hover i{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}.guang-detail-page .user-handle ul .like-statis.hover .like-num{color:#000}.guang-detail-page .user-handle ul .sort-collect a i{width:21px}.guang-detail-page .user-handle ul .sort-collect.collected a i{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}.guang-detail-page .user-handle ul .sort-collect.collected a span{display:none}.guang-detail-page .user-handle ul .sort-collect.collected a .cancel-collect{display:inline}.guang-detail-page .user-handle ul .sort-collect.hover i{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}.guang-detail-page .user-handle ul .sort-collect.hover span{color:#000}.guang-detail-page .article-bottom-info{margin:44px 0 0 0;padding:0 0 10px;border-bottom:1px dotted #c1c1c1}.guang-detail-page .article-tag{float:left;width:588px}.guang-detail-page .article-tag .tag-icon{float:left;margin:0 12px 0 0;font-size:20px;font-style:normal}.guang-detail-page .article-tag ul{float:left;max-width:555px}.guang-detail-page .article-tag ul li{float:left;margin:0 10px 10px 0}.guang-detail-page .article-tag ul li a{display:block;padding:0 15px;height:20px;line-height:20px;font-size:12px;color:#fff;font-weight:bold;background:#c1c1c1}.guang-detail-page .article-tag ul li:hover a{background:#333}.guang-detail-page .article-tag ul li:first-child{margin-left:0}.guang-detail-page .article-share{float:right}.guang-detail-page .article-share .share-to{position:relative;font-size:12px}.guang-detail-page .detail-related-posts{margin:14px 0 0 0}.guang-detail-page .detail-related-posts li{float:left;width:264px;margin-left:19px}.guang-detail-page .detail-related-posts li a{display:block}.guang-detail-page .detail-related-posts li .bg-img{display:block;width:100%;height:173px;line-height:173px;text-align:center;font-size:0}.guang-detail-page .detail-related-posts li .bg-img img{max-width:100%;max-height:100%;vertical-align:middle}.guang-detail-page .detail-related-posts li .post-title{margin:8px 0 0 0}.guang-detail-page .detail-related-posts li .post-title h2{line-height:16px;font-size:14px;color:#000;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.guang-detail-page .detail-related-posts li .post-title:hover h2{color:#cc3300 !important}.guang-detail-page .detail-related-posts li:first-child{margin-left:0}.guang-detail-page .comment-area{margin:58px 0 0 0}.guang-detail-page .comment-area .comment-publish{height:48px}.guang-detail-page .comment-textarea textarea{display:block;width:812px;height:86px;padding:12px 12px;resize:none;outline:none;font-size:14px;line-height:18px;color:#535353;font-family:"arial","helvetica","微软雅黑";border:1px solid #e7e7e7}.guang-detail-page .word-count-tip{display:inline-block;height:48px;line-height:48px;font-size:12px;color:#c8c8c8}.guang-detail-page .word-count-tip .exceed-count{color:#f00}.guang-detail-page .publish-btn{margin:10px 0 0 0;float:right;width:90px;height:33px;line-height:33px;text-align:center;color:#fff;font-size:14px;background:#cb3a3e;cursor:pointer}.guang-detail-page .publish-btn:hover{background:#c03234}.guang-detail-page .publish-btn.disable{background-color:#e79c9e}.guang-detail-page .comments-wrap h4{position:relative;line-height:32px;border-bottom:1px solid #e7e7e7}.guang-detail-page .comments-wrap h4 .comment-num{margin-right:5px;color:#c11e00}.guang-detail-page .comments-wrap h4 i{position:absolute;width:13px;height:7px;left:30px;bottom:-7px;background:url('../assets/img/guang/detail/comment-icon.png?1451884387') no-repeat}.guang-detail-page .comments-wrap .comment-pager{float:right;margin:20px 0}.guang-detail-page .comments-empty{display:none;color:#ccc;margin:20px 0;font-size:12px;line-height:12px;text-align:center}.guang-detail-page .commnets-resultwrapper{display:none}.guang-detail-page .comments-list li{margin:14px 0 0;padding:0 0 15px;border-bottom:1px dotted #e7e7e7}.guang-detail-page .comments-list li .avatar{float:left;width:40px;height:40px;overflow:hidden}.guang-detail-page .comments-list li .avatar img{display:block;width:100%;height:100%;border-radius:50%}.guang-detail-page .comments-list li .comment-info{float:left;width:774px;margin:0 0 0 16px}.guang-detail-page .comments-list li .comment-info .comment-user-name{color:#c11e00;font-size:15px;line-height:15px}.guang-detail-page .comments-list li .comment-info .comment-content{margin-top:10px;line-height:16px;font-size:12px;word-wrap:break-word}.guang-detail-page .comments-list li .comment-info .comment-time{margin:10px 0 0 0;color:#c8c8c8;font-size:12px;line-height:12px;clear:both}.guang-detail-page .brand{margin-right:22px;margin-bottom:20px;float:left}.guang-detail-page .brand .thumb{display:table-cell;border:1px solid #f5f5f5;height:120px;width:120px;box-sizing:border-box;text-align:center;vertical-align:middle}.guang-detail-page .brand .thumb img{display:block;max-width:120px;max-height:120px;margin:0 auto}.guang-detail-page .brand .brand-name{width:120px;font-size:13px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center;color:#333}.guang-detail-page .good-info{width:192px;height:325px;margin-right:20px;margin-bottom:20px}.guang-detail-page .share-to .share-a{width:16px;height:16px;display:inline-block;vertical-align:top;margin:0 2px 0 3px;cursor:pointer}.guang-detail-page .share-to .share-sina{background:url('../assets/img/guang/detail/icon-share.png?1451884387') no-repeat 0 0}.guang-detail-page .share-to .share-weixin{background:url('../assets/img/guang/detail/icon-share.png?1451884387') no-repeat 0 -96px}.guang-detail-page .share-to .share-tencent{background:url('../assets/img/guang/detail/icon-share.png?1451884387') no-repeat 0 -16px}.guang-detail-page .share-to .share-renren{background:url('../assets/img/guang/detail/icon-share.png?1451884387') no-repeat 0 -32px}.guang-detail-page .share-to .share-qzone{background:url('../assets/img/guang/detail/icon-share.png?1451884387') no-repeat 0 -48px}.guang-detail-page .share-to .share-qq{background:url('../assets/img/guang/detail/icon-share.png?1451884387') no-repeat 0 -64px}.guang-detail-page .share-to .share-douban{background:url('../assets/img/guang/detail/icon-share.png?1451884387') no-repeat 0 -80px}.guang-detail-page .shareWeixin{width:282px;height:302px;position:absolute;padding-top:9px;text-align:center;font-family:Microsoft Yahei, Arial, Verdana;top:22px;right:-3px;display:none;z-index:2}.guang-detail-page .shareWeixin em,.guang-detail-page .shareWeixin em i{width:0;height:0;font-size:0;position:absolute;border-width:0 10px 9px;border-style:dashed dashed solid}.guang-detail-page .shareWeixin em{border-color:transparent transparent #d6d6d6;top:0px;left:50%;margin-left:-10px}.guang-detail-page .shareWeixin em i{border-color:transparent transparent #e8e8e8;overflow:hidden;top:1px;left:-10px}.guang-detail-page .shareWeixin .con{width:280px;height:300px;overflow:hidden;background-color:#FFFFFF;border:1px solid #d6d6d6;box-shadow:0px 2px 4px #d1d1d1;position:relative}.guang-detail-page .shareWeixin h2{height:46px;line-height:46px;background-color:#e8e8e8;color:#000000;font-size:18px;display:block}.guang-detail-page .shareWeixin p.pic,.guang-detail-page .shareWeixin p.pic img{width:168px;height:168px}.guang-detail-page .shareWeixin p.pic{overflow:hidden;margin:16px auto}.guang-detail-page .shareWeixin p.w{font-size:13px;color:#9f9f9f;line-height:20px}.guang-detail-page .shareWeixin a.close{width:45px;height:45px;line-height:45px;overflow:hidden;position:absolute;top:9px;right:0;font-size:16px;color:#999999}.guang-editor-page .tag-header,.guang-list-page .tag-header{height:45px;line-height:45px;color:#333;font-size:14px;font-weight:bold;border-bottom:1px solid #ccc}.guang-editor-page .tag-header>span,.guang-list-page .tag-header>span{font-size:20px}.guang-editor-page .msg-pager,.guang-list-page .msg-pager{float:right;margin:20px 0}.guang-editor-page .right-side{margin-top:20px}.guang-list-page .right-side{margin-top:11px}.guang-editor-page .editor-info{padding:10px 10px;background:#fafafa}.guang-editor-page .editor-info .author-avatar{float:left;width:80px;height:100%}.guang-editor-page .editor-info .author-avatar img{width:80px;height:80px;vertical-align:middle;border-radius:50%}.guang-editor-page .editor-info .author-info{float:left;margin:0 0 0 10px;max-width:1060px}.guang-editor-page .editor-info .author-name{margin-top:11px;font-size:20px;height:30px !important;line-height:30px !important}.guang-editor-page .editor-info .author-introduce{line-height:24px;font-size:14px;color:#999}.guang-editor-page .editor-info .intro-content{margin:15px 0 0 0;line-height:18px;font-size:14px;color:#999}.login-page .relative{position:relative}.login-page .right{float:right}.login-page .login-ul>li{margin-bottom:25px}.login-page .title{float:left;font-size:20px}.login-page .country-code{cursor:pointer;color:#b9b9b9}.login-page .country-list{display:none;position:absolute;padding:0 10px;background:#fff;border:1px solid #000;top:20px;right:0;z-index:1;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.login-page .country-list li{height:20px;line-height:20px;color:#000}.login-page .email-autocomplete{position:absolute;width:248px;padding:0 10px;z-index:1;margin-top:5px;border-radius:5px;cursor:pointer;border:1px solid #fefefe;background-color:#161616;color:#fff}.login-page .email-autocomplete li{height:24px;line-height:24px}.login-page .remeber-me{cursor:pointer}.login-page .other-opts{color:#b9b9b9;font-size:14px}.login-page .other-opts .iconfont{font-size:14px}.login-page .other-opts .fast-reg{color:#ff1901}.login-page .forget-password{color:#b9b9b9}.login-page .third-party-login{display:table}.login-page .third-party-login a{display:table-cell;width:54px;background-size:100% 100%}.login-page .third-party-login .icon{display:block;width:30px;height:30px;margin:0 auto}.login-page .third-party-login .qq{background:url('../assets/img/passport/third-s81c3ccb2fa.png') 0 -60px no-repeat}.login-page .third-party-login .weibo{background:url('../assets/img/passport/third-s81c3ccb2fa.png') 0 -120px no-repeat}.login-page .third-party-login .alipay{background:url('../assets/img/passport/third-s81c3ccb2fa.png') 0 0 no-repeat}.login-page .third-party-login .douban{background:url('../assets/img/passport/third-s81c3ccb2fa.png') 0 -30px no-repeat}.login-page .third-party-login .renren{background:url('../assets/img/passport/third-s81c3ccb2fa.png') 0 -90px no-repeat}.content .register-page{font-size:14px;color:#b9b9b9}.content .register-form{height:auto}.content .register-form li{margin-bottom:25px;width:270px;position:relative}.content .register-form li.w330{width:330px}.content .register-form li input,.content .register-form li select{outline:none}.content .register-form li input{height:43px;line-height:43px;font-size:16px;width:268px;border:1px solid #dbdbdb;text-indent:10px;font-family:'黑体' Regular;color:#9a9a9a;padding:0}.content .register-form li input.error{border:1px solid red}.content .register-form li input.phone-num{width:209px;display:block;float:left}.content .register-form li input.captcha,.content .register-form li input.msg-captcha{width:160px;float:left}.content .register-form li input.send-captcha{top:0;background:#ff1901;position:absolute;width:100px;right:0;font-size:12px;text-indent:0;letter-spacing:0}.content .register-form li input.send-captcha.disable{background:#555}.content .register-form li input.agree-terms{width:initial;height:initial;vertical-align:middle}.content .register-form li .link{text-decoration:underline;color:#ff1901}.content .register-form li .btn{height:45px;line-height:45px;color:#fff;border:none;padding:0;font-family:'黑体' Regular;text-align:center}.content .register-form li select.region{height:30px;padding:4px 0;width:132px;border-color:#c1c1c1;color:#9a9a9a;font-size:16px;font-family:'黑体' Regular}.content .register-form li .country-code{width:58px;height:43px;line-height:43px;text-align:center;white-space:nowrap;border:1px solid #dbdbdb;border-right:0;font-size:16px;display:block;float:left}.content .register-form li .captcha-img{height:37px;width:90px;border:0;vertical-align:middle;outline:none;margin-left:10px;margin-top:4px;float:left}.content .register-form li .change-captcha{margin-left:10px;cursor:pointer;float:left;height:43px;line-height:43px}.content .register-form li .pwd-intensity-container{width:270px;text-align:right;margin-top:5px;height:auto;overflow:hidden}.content .register-form li .pwd-intensity-container .pwd-intensity{height:15px;font-size:12px;background-color:#e8e8e8;padding:1px 10px;text-align:center}.content .register-form li .pwd-intensity-container.red{color:red}.content .register-form li .pwd-intensity-container.red .color{background:red;color:#fff}.content .register-form li .pwd-intensity-container.yellow .color{background:#ff0;color:#fff}.content .register-form li .pwd-intensity-container.green .color{background:#3ee392;color:#fff}.content .register-form li.items-container{font-size:13px;text-align:right;white-space:nowrap}.content .register-form li .register-btn{width:270px;font-size:20px;font-weight:bold;background:#ff1901}.content .register-form li .register-btn.disable{background:#555}.content .register-form li.quick-login-container{width:270px;font-size:13px;text-align:right;white-space:nowrap}.content .register-form .err-tip{z-index:1000;position:absolute;height:30px;line-height:30px;color:red;background-color:#ffebeb;border:1px solid #ffbdbe;padding:0 10px}.content .register-form .err-tip b{display:block;position:absolute;top:30px;left:20px;background:url('../assets/img/passport/tip-saaf6d94c96.png') 0 0 no-repeat;width:17px;height:9px}.back-page{font-size:14px}.back-page .content{margin:175px 0 0 !important}.back-page .back-header{position:relative;width:268px;line-height:40px;margin-bottom:5px}.back-page .back-header .country-code{float:right;cursor:pointer;color:#b9b9b9}.back-page .back-header .country-code .iconfont{font-size:14px;vertical-align:middle}.back-page .title{float:left;margin:0px;font-size:22px;line-height:40px;color:#000;font-weight:normal}.back-page .title2{margin:0 0 5px;font-size:22px;line-height:40px;color:#000;font-weight:normal}.back-page .err-tip.captcha-err{top:10px;left:326px}.back-page .country-code-list{display:none;position:absolute;padding:0 10px;color:#000;background-color:#fff;border:1px solid #000;margin-top:5px;cursor:pointer;z-index:100;top:30px;right:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.back-page .country-code-list li{height:20px;line-height:20px}.back-page input{padding:0;outline:none;font-family:Regular, arial, 'Microsoft YaHei'}.back-page .input-container-li{position:relative;margin-bottom:22px}.back-page .input-container-li .btn{width:270px;height:45px;line-height:45px;cursor:pointer;font-size:20px;border:none;letter-spacing:0}.back-page .input-container-li .captcha{width:160px}.back-page .input-container-li .captcha-img{height:37px;width:90px;border:0;margin-left:10px;vertical-align:middle;outline:none;cursor:pointer}.back-page .input-container-li .change-captcha{color:#ff1901;font-size:12px;text-decoration:underline;margin-left:10px;cursor:pointer}.send-email-page{font-size:14px}.send-email-page .content{margin:216px 0 0 !important}.send-email-page .send-tips{line-height:28px;color:#4c4c4c;text-align:center;font-size:15px}.send-email-page .send-tips .iconfont{margin:0 8px 0 0}.send-email-page .no-find{margin:10px 0 0 0;line-height:20px;color:#a5a4a4;text-align:center}.send-email-page .to-my-email a{display:block;margin:53px auto 0;width:270px;height:45px;line-height:45px;background:#ff1901;text-align:center;color:#fff;letter-spacing:2px}.verification-page .content li{position:relative;margin-bottom:43px}.verification-page .content .btn{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;border:none}.verification-page .content .head-title{font-size:24px;color:#000}.verification-page .content .pn-label{color:#828282;font-size:16px}.verification-page .content .country-code{margin:0 10px}.verification-page .content .country-code,.verification-page .content .phone-num{color:#000;font-size:16px}.verification-page .content .captcha{width:160px !important}.verification-page .content .send-captcha{width:133px;font-size:12px;position:relative;top:-1px;letter-spacing:0}.verification-page .content .err-tip{left:310px}.verification-page .content .captcha-tips{position:absolute;top:50px;color:#a5a4a4}.verification-page .content .captcha-tips .iconfont{color:#0F9ACD;font-size:14px;margin:0 8px 0 0;vertical-align:12%}.reset-success-page .content{margin:255px 0 0 !important}.reset-success-page .success-text{line-height:35px}.reset-success-page .success-text .iconfont{font-size:30px;color:#ee3f14}.reset-success-page .success-text span{font-size:24px;margin:0 18px}.reset-success-page .success-text #count-down{color:#ee3f14}.reset-success-page .success-btn{display:block;margin:43px auto 0;width:269px;line-height:269px;height:45px;line-height:45px;font-size:14px;color:#fff;text-align:center;background-color:#ff1901}.passport-page{width:1150px;margin-left:auto;margin-right:auto}.passport-page .content{float:left;margin-top:107px;padding-left:85px}.passport-page .input{height:43px;font-size:16px;line-height:1.2;line-height:43px\9;width:268px;border:1px solid #dbdbdb;text-indent:10px;color:#9a9a9a;color:rgba(0,0,0,0.5)}.passport-page .error{border-color:#f00 !important}.passport-page .btn{display:block;height:46px;line-height:46px;width:100%;text-align:center;color:#fff;background-color:#ff1901;letter-spacing:10px;font-size:20px;cursor:pointer}.passport-page .btn.disable{background-color:#555;cursor:default}.passport-page .pwd-intensity-container{width:270px;text-align:right;padding-top:5px}.passport-page .pwd-intensity-container.red .pwd-intensity{color:#ee0011}.passport-page .pwd-intensity-container.red .color{background:#ee0011;color:#fff}.passport-page .pwd-intensity-container.yellow .pwd-intensity{color:#f6da1e}.passport-page .pwd-intensity-container.yellow .color{background:#f6da1e;color:#fff}.passport-page .pwd-intensity-container.green .pwd-intensity{color:#3ee392}.passport-page .pwd-intensity-container.green .color{background:#3ee392;color:#fff}.passport-page .pwd-intensity-container .pwd-intensity{height:15px;font-size:12px;background-color:#e8e8e8;padding:0px 10px;text-align:center;color:#b9b9b9}.passport-page .pwd-tips{position:absolute;top:-10px;left:285px;width:160px !important;height:72px;padding-top:7px;font-size:12px;background:url('../assets/img/passport/tip-saaf6d94c96.png') 0 -19px no-repeat}.passport-page .pwd-tips>div{position:relative;height:22px;line-height:22px;margin-left:15px;padding-left:15px;font-size:12px;color:#b9b9b9}.passport-page .pwd-tips>div i{position:absolute;width:14px;height:14px;left:-2px;top:50%;margin:-7px 0 0;background:url('../assets/img/passport/tip-saaf6d94c96.png') 0 -132px}.passport-page .pwd-tips>div.no{color:red}.passport-page .pwd-tips>div.no i{background:url('../assets/img/passport/tip-saaf6d94c96.png') 0 -108px}.passport-page .pwd-tips>div.yes i{background:url('../assets/img/passport/tip-saaf6d94c96.png') 0 -156px}.passport-page .tip-panel{position:absolute;display:none;width:248px;padding:0 10px;z-index:100;background-color:#161616;border:1px solid rgba(255,255,255,0.7);margin-top:5px;cursor:pointer;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.passport-page .tip-panel li{height:20px;line-height:20px;color:#b9b9b9}.passport-page .err-tip{position:absolute;font-size:14px;white-space:nowrap;top:8px;left:285px;padding:6px 0;color:#f00}.passport-page .err-tip i{display:block;float:left;height:14px;width:14px;background:url('../assets/img/passport/tip-saaf6d94c96.png') 0 -108px no-repeat;margin-right:5px}.passport-cover{float:left;margin:107px 0;width:575px}.passport-cover .cover-content{width:100%;height:318px;padding:50px 0;border-right:1px solid #dfdfdf}.passport-cover .cover-img{display:block;width:252px;height:190px;margin:0 auto;margin-top:50px}.err-page{width:650px;height:200px;overflow:hidden;margin:100px auto}.err-page:before{content:'';display:block;width:200px;height:200px;background:url('../assets/img/404.png?1451960836') center center no-repeat;float:left}.err-page .tips-404{float:left;height:200px;padding-left:20px}.err-page .tips-404 .tip{font-size:24px;color:#000;margin-top:55px}.err-page .tips-404 .links{font-size:12px;color:#666;margin-top:15px}.order-save-page{width:990px;margin:40px auto}.order-save-page .order-edit{width:100%;position:relative;margin-bottom:35px}.order-save-page .order-edit:before{content:'';display:block;background:url('../assets/img/order/save-seee72b8e60.png') 0 -22px no-repeat;width:117px;height:33px}.order-save-page .order-edit .order-title ul{display:block;background:url('../assets/img/order/save-seee72b8e60.png') 0 -65px no-repeat;width:364px;height:12px;position:absolute;right:0;top:0}.order-save-page .order-edit .order-title ul li{display:block;width:33.33333333%;float:left;font-size:12px;color:#999;height:50px;line-height:50px}.order-save-page .order-edit .order-title ul li.active{color:#333;text-align:center}.order-save-page .order-edit .order-title ul li.active:after{display:block;content:'';background:url('../assets/img/order/save-seee72b8e60.png') 0 0 no-repeat;width:12px;height:12px;position:absolute;left:50%;margin-left:-6px;top:0}.order-save-page .order-edit .order-title ul li.end{text-align:right}.order-save-page .order-edit .order-edit-main{border:1px solid #ccc;margin-top:30px}.order-save-page .order-edit .order-edit-main h2.title{height:30px;line-height:30px;background:#000000;color:#fff;font-size:12px;text-indent:15px}.order-save-page .order-edit .order-edit-main .order-content{padding:5px 30px;font-size:12px;color:#333}.order-save-page .order-edit .order-edit-main .order-content .order-selection{border-bottom:1px dashed #ccc;padding:15px 0}.order-save-page .order-edit .order-edit-main .order-content .order-selection h2{font-size:14px;color:#000}.order-save-page .order-edit .order-edit-main .order-content .order-selection h2 span{color:#e8044f;text-decoration:underline;cursor:pointer}.order-save-page .order-edit .order-edit-main .order-content .address-list ul{padding:15px 0}.order-save-page .order-edit .order-edit-main .order-content .address-list ul li{padding:10px 0}.order-save-page .order-edit .order-edit-main .order-content .address-list ul li strong{font-weight:bold;margin-right:15px}.order-save-page .order-edit .order-edit-main .order-content .address-list ul li input.radio{margin:0;vertical-align:middle}.order-save-page .order-edit .order-edit-main .order-content .address-list ul .order-modify-btn{display:inline-block;float:right;color:#e8044f;width:80px;padding-right:20px;height:auto;overflow:hidden}.order-save-page .order-edit .order-edit-main .order-content .address-list ul .order-modify-btn span{text-decoration:underline;cursor:pointer;float:right}.order-save-page .order-edit .order-edit-main .order-content .address-list ul .order-modify-btn span.address-modify{float:left}.order-save-page .order-edit .order-edit-main .order-content .address-list ul.exist-address-list li{border:1px solid #fff;padding-left:15px}.order-save-page .order-edit .order-edit-main .order-content .address-list ul.exist-address-list li.active{background:#dbedf7;border:1px solid #8fb8e0}.order-save-page .order-edit .order-edit-main .order-content .address-list ul.exist-address-list li.has-exist-address .default-address{color:#468fa2;text-decoration:underline;cursor:pointer}.order-save-page .order-edit .order-edit-main .order-content .address-manage{border-top:1px dashed #ccc}.order-save-page .order-edit .order-edit-main .order-content .address-manage li{height:25px;line-height:25px}.order-save-page .order-edit .order-edit-main .order-content .address-manage li .address-legend{width:80px;text-align:right;display:inline-block;color:#333}.order-save-page .order-edit .order-edit-main .order-content .address-manage li .address-legend i{color:#e8044f}.order-save-page .order-edit .order-edit-main .order-content .address-manage li .text-input{height:25px;line-height:25px;width:180px;padding:0;border:1px solid #ccc;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.order-save-page .order-edit .order-edit-main .order-content .address-manage li select.text-input{width:100px}.order-save-page .order-edit .order-edit-main .order-content .address-manage li .address-tel-input{width:180px;text-align:center;display:inline-block;height:25px;line-height:25px}.order-save-page .order-edit .order-edit-main .order-content .address-manage li .address-tel-input input{text-align:left;float:right;width:120px}.order-save-page .order-edit .order-edit-main .order-content .address-manage li .address-tel-input input.tel-lengend{float:left;width:40px}.order-save-page .order-edit .order-edit-main .order-content .save-btn{background:url('../assets/img/order/save-seee72b8e60.png') 0 -131px no-repeat;width:200px;height:34px;line-height:34px;display:block;font-size:14px;color:#fff;font-weight:bold;text-indent:25px;cursor:pointer}.order-save-page .order-edit .order-edit-main .order-content .pay-btn{background:url('../assets/img/order/save-seee72b8e60.png') 0 -87px no-repeat;width:119px;height:34px;line-height:34px;display:block;font-size:14px;color:#fff;font-weight:bold;text-indent:25px;cursor:pointer}.order-save-page .order-edit .order-edit-main .order-content .pay-time ul{padding:15px}.order-save-page .order-edit .order-edit-main .order-content .pay-time ul li{margin:10px 0}.order-save-page .order-edit .order-edit-main .order-content .pay-time ul li input.radio{margin:0;vertical-align:middle}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify h3{height:25px;line-height:25px;border:1px solid #e6e6e6;background:#efefef;text-indent:25px;position:relative}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify h3:after{content:'';display:block;width:11px;height:11px;background:url('../assets/img/order/roundgreybtn.gif?1451884387');position:absolute;top:7px;left:8px}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-dashed-hr{border-bottom:1px dashed #ccc;padding-bottom:10px}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-type-tips{color:#999}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify div.pay-type-legend{width:130px;display:inline-block;padding:0;text-indent:0}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify span.pay-type-legend{margin:0;color:#468fa2;cursor:pointer}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify span.pay-type-legend:after{content:'';width:12px;height:12px;background:url('../assets/img/order/icon_arrow.png?1451884387');display:inline-block;-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify span.pay-type-legend.active:after{-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .support-type{display:block;margin-left:130px;border-left:1px dashed #ccc;font-size:12px}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .support-type h4{padding:10px 0 10px 15px}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .support-type ul{height:auto;overflow:hidden;margin:0;padding:0}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .support-type ul li{display:block;float:left;width:105px;height:30px;border:1px solid #ccc;margin:0 0 10px 15px}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .support-type ul li img{display:block;width:100%;height:100%;overflow:hidden}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-recommend{font-size:0}.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-recommend .pay-type-legend,.order-save-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-recommend .support-type{font-size:12px}.order-save-page .order-edit .order-edit-main .order-content .select-express{border-bottom:none}.order-save-page .order-edit .order-edit-main .order-content .select-express .express-list{padding-left:15px;margin:10px 0}.order-save-page .order-edit .order-edit-main .order-content .select-express .express-list input.radio{margin:0;vertical-align:middle}.order-save-page .order-edit .order-edit-main .order-content .select-express .express-tips{color:#999}.order-save-page .order-pay{width:100%}.order-pay{font-size:12px;line-height:150%}.order-pay .pay-wapper{border:1px solid #ccc}.order-pay table{width:100%}.order-pay table td{border:1px solid #ccc;border-left:0 none;padding:10px;text-align:center}.order-pay thead{background:#000}.order-pay thead th{height:32px;line-height:32px;color:#fff;vertical-align:middle;text-align:center;font-weight:bold}.order-pay thead .clo1{width:10%}.order-pay thead .clo2{width:20%}.order-pay thead .clo4{width:40%}.order-pay .pay-pro .pay-pro-icon{float:left;display:inline;width:60px;height:60px;display:block}.order-pay .pay-pro .pay-pro-info{color:#999;margin-left:70px;padding-top:15px;text-align:left}.order-pay .pay-pro .pay-pro-info a{color:#468fa2;text-decoration:none;display:block}.order-pay .pay-pro .pay-pro-info a:hover{text-decoration:underline}.order-pay .play-content{padding:10px}.order-pay .play-content .red{color:#e8044f !important}.order-pay .play-content .orange{color:#f60 !important}.order-pay .play-content .strong{font-weight:bold;color:#000}.order-pay .play-content .pan dt{width:105px;height:30px;padding:0px 0px 0px 30px;line-height:30px;text-align:left;border:0px;color:#fff;display:inline-block;cursor:pointer;background:url(http://static.yohobuy.com/images/btn_openclose.png) no-repeat 0px -60px;margin-bottom:5px}.order-pay .play-content .pan dd{display:none;border:1px #ccc solid;padding:10px 15px;margin-bottom:10px}.order-pay .play-content .textbox{height:20px;line-height:20px;color:#333;border:1px #c9c9c9 solid;vertical-align:top}.order-pay .play-content .dropdown{height:20px;line-height:20px;color:#333;border:1px #c9c9c9 solid;vertical-align:top}.order-pay .play-content .btn-group{text-align:right}.order-pay .play-content .btn-group input{display:inline-block;background:none;border:1px solid #ccc;border-radius:2px;height:20px}.order-pay .play-content .btn-group .ok{background-color:#000;color:#fff}.order-pay .play-content .play-left{float:left;width:405px}.order-pay .play-content .play-left .pan{text-align:left}.order-pay .play-content .play-left .pan dt{color:#000;background:url(http://static.yohobuy.com/images/btn_openclose.png) no-repeat 0px 0px}.order-pay .play-content .play-piao-pan li{height:25px;padding:10px 0px;line-height:22px}.order-pay .play-content .play-piao-pan li label{width:65px;display:inline-block}.order-pay .play-content .play-piao-pan li .textbox{width:200px}.order-pay .play-content .play-remark-pan .textbox{width:369px;height:70px}.order-pay .play-content .play-remark-pan .note{padding:5px 0;color:#999}.order-pay .play-content .play-right{float:right;width:50%;width:405px}.order-pay .play-content .play-right .play-total{text-align:right;padding-bottom:20px}.order-pay .play-content .play-right .play-total label{padding-right:10px}.order-pay .play-content .play-right .play-total em{width:80px;text-align:left;display:inline-block}.order-pay .play-content .play-right .play-total a{color:#468fa2;text-decoration:underline}.order-pay .play-content .play-right .pan{text-align:right}.order-pay .play-content .play-juan-pan dd{text-align:left}.order-pay .play-content .play-juan-pan .play-juan{padding:10px 0}.order-pay .play-content .play-juan-pan .play-juan .textbox{width:70px}.order-pay .play-content .play-bi-pan dd{text-align:right}.order-pay .play-content .play-bi-pan .textbox{width:70px}.order-pay .play-content .play-bi-pan p{padding:10px 0}.order-pay .to-play p{padding:10px 0px;font-size:14px;text-align:right;color:#000}.order-pay .to-play p em{color:#e8044f;font-size:24px}.order-pay .to-play .btn-group{padding:10px 0px 40px 0px}.order-pay .to-play .btn-group .submit{float:right;width:133px;height:33px;padding:0px;text-align:center;border:0px;line-height:33px;font-size:14px;color:#fff;font-weight:bold;background:url(http://static.yohobuy.com/images/btns.png) no-repeat 0px -33px;display:inline-block;cursor:pointer} +/*# sourceMappingURL=index.css.map */ diff --git a/web-static/dist/yohobuy/0.0.1/index.js b/web-static/dist/yohobuy/0.0.1/index.js index 7cab740..7d2a9b8 100644 --- a/web-static/dist/yohobuy/0.0.1/index.js +++ b/web-static/dist/yohobuy/0.0.1/index.js @@ -1,2 +1,2 @@ -define("index",["jquery","handlebars","source-map","index","lazyload"],function(e,t,n){var i;e("js/common"),e("js/product/entry"),e("js/home/entry"),n.exports=i}),define("js/common",["jquery","handlebars","source-map","index"],function(e,t,n){function i(e){var t,n,i=document.cookie;return document.cookie&&""!==document.cookie&&(n=i.indexOf(e+"="),n>-1&&(n+=e.length+1,t=decodeURIComponent(c.trim(i.substring(n,i.indexOf(";",n)))))),t}function o(e,t,n){var i,o,a,r,s="";"undefined"!=typeof t&&(n=n||{},null===t&&(t="",n.expires=-1),n.expires&&("number"==typeof n.expires||n.expires.toUTCString)&&("number"==typeof n.expires?(r=new Date,r.setTime(r.getTime()+24*n.expires*60*60*1e3)):r=n.expires,s="; expires="+r.toUTCString()),i=n.path?"; path="+n.path:"",o=n.domain?"; domain="+n.domain:"",a=n.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(t),s,i,o,a].join(""))}function a(){var e,t=i("_UID");return"undefined"==typeof t?0:(e=t.split("::"),"undefined"==typeof e||e.length<4?0:e)}function r(){var e=a();return 0===e?0:e[1]}function s(){var e=i("_g");return"undefined"==typeof e?"":JSON.parse(e).k}var c=e("jquery");e("js/footer"),e("js/header"),window.cookie=i,window.setCookie=o,window.getUser=a,window.getUid=r,window.getShoppingKey=s}),define("js/footer",["jquery"],function(e,t,n){function i(){var e=s("#subscriber-box"),t=s("#subscriber-btn"),n=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/,i={method:"open.subscriber.subscriber",v:1,return_type:"jsonp",open_key:"12345"},o={mail:"",tick:""},a=s.trim(e.val()),r={};e.focus(function(){s(this).val("").css("color",""),t.removeClass("done").html(o.mail)}),t.click(function(){if(""!==a&&n.test(a)){s.extend(r,i,{email:a,tmp:Math.random(),uid:s.uid("_UID")});try{s.getJSON("http://test.open.yohobuy.com/?callback=?",r,function(n){1===n.data.result?(e.val("已订阅到:"+a),t.addClass("done").html(o.tick)):e.css("color","red")})}catch(c){console.log(c.message)}}else e.css("color","red")})}function o(){var e=s(".vote"),t=s("#feed-back-page"),n=e.children("li").length;t.on("click","span",function(){var t=s(this);t.hasClass("cur")||(t.siblings(".cur").removeClass("cur"),t.addClass("cur"),e.children().not(".hide").addClass("hide").end().eq(t.index()).removeClass("hide"))}),e.on("click",".feed-back-btn",function(){var i=s(this),o=i.closest("li"),a=o.index(),c={},l=[],d=o.find(".feedback-answer").val(),u=o.find(".feedback-id").val(),f=o.find(".question-id").val();o.find(":checked").each(function(){l.push(s(this).val())}),c={method:"open.feedback.submit",feedback:u||0,question:f||0,answer:d||"",solution:l.join(",")},s.getData(r,c,function(i){var r=a+1;if(1===i.result){if(a===n-1)return void alert("感谢您的参与!");o.addClass("hide"),e.eq(a+1).removeClass("hide"),t.children(".cur").removeClass("cur"),t.eq(r).addClass("cur")}})})}function a(){s(window).height()<s(document).height()?c.removeClass("hide"):c.addClass("hide")}var r,s=e("jquery"),c=s(".return-top");c.click(function(){s("html,body").animate({scrollTop:0},500)}),s(window).scroll(function(){0===s(window).scrollTop()?c.addClass("hide"):c.removeClass("hide")}),a(),c.hasClass("hide")&&s("img").load(a),i(),o(),window.rePosReturnTop=a}),define("js/header",["jquery","handlebars","source-map","index"],function(e,t,n){function i(e){var t;200===+e.code&&"object"==typeof e.data&&(t='<a target="_blank" href="'+e.data.url+'" class="page-top-banner"style="height:50px;border:none;background-image:url('+window.unescape(e.data.src)+');background-position: center;display:block;background-color:#ff5409;"> </a>',N("body").prepend(t))}function o(e){200===+e.code&&(D=!0)}function a(){var e;D||(e='<div class="noticewrapper"><div class="noticecontainer"><h1 class="noticetitle">关于系统升级的公告</h1><div class="noticecontent"><p class="tips">尊敬的顾客:</p><p class="detail">您好!为了向您提供更优质的服务,目前系统正在升级,请耐心等待。</p><p class="detail">系统升级期间,部分地区用户体验会有暂时中断,如遇紧急事宜,欢迎垂询客服热线:400-889-9646 09:00-22:30(周一至周日)。稍后系统将恢复正常</p><p class="detail">使用,欢迎您继续光顾YOHO!BUY有货!带来不便之处深表歉意,请您谅解!</p></div></div></div>',N(".header-topwrapper").append(e))}function r(e){var t=document.createElement("script");t.src="http://new.yohobuy.com/resource/getbanner?content_code="+e+"&client_type=web&callback=JsonPCallBack",document.getElementsByTagName("head")[0].appendChild(t)}function s(e){var t=document.createElement("script");t.src="http://new.yohobuy.com/resource/getbanner?content_code="+e+"&client_type=web&callback=NoticeCallBack",document.getElementsByTagName("head")[0].appendChild(t),window.setTimeout(a,5e3)}function c(e,t){var n,i;N(e).hover(function(e){e.preventDefault(),n=N(this),i=N(t)[0],""===i.style.display?(n.addClass("acttags"),i.style.display="block"):(n.removeClass("acttags"),i.style.display="")})}function l(){var e,t,n=[{sourceClass:".myyoho",targetClass:".myyoho-info"},{sourceClass:".phone",targetClass:".qr"}];for(t=0;t<n.length;t++)e=n[t],c(e.sourceClass,e.targetClass)}function d(){var e;N(".yohogroup").mouseenter(function(){e=N(this),e.text(e.attr("cn"))}),N(".yohogroup").mouseleave(function(){e=N(this),e.text(e.attr("en"))})}function u(){var e,t,n=["webkit","moz","ms"];for(t=0;t<n.length;t++)return e=n[t]+"RequestAnimationFrame",window[e]?!0:!1}function f(){var e=["webkit","moz","ms"],t=e[0]+"RequestAnimationFrame",n=e[1]+"RequestAnimationFrame",i=e[2]+"RequestAnimationFrame";return window[t]?function(e){window[t](e)}:window[n]?function(e){window[n](e)}:window[i]?function(e){window[i](e)}:function(e){window.setTimeout(e,67)}}function p(){window.start+=10,window.$logotrans.css({transform:"rotateX("+window.start+"deg)","-webkit-transform":"rotateX("+window.start+"deg)","-moz-transform":"rotateX("+window.start+"deg)"}),window.start/90%2===1&&(window.isen?(window.$logotrans.css("background-image","url(http://static.yohobuy.com/newheader/img/logo1.png)"),window.isen=!1):(window.$logotrans.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),window.isen=!0)),window.start/90%2===0&&window.start%360!==0?window.setTimeout(p,3e3):window.start%360===0?window.setTimeout(p,6e4):window.requestFrame(function(){p()})}function h(){window.globaltimeout&&window.clearTimeout(window.globaltimeout),window.logotrans.fadeOut(window.loopdurationtime,function(){window.isen=!1,window.logotrans.css("background-image","url(http://static.yohobuy.com/newheader/img/logo.png)"),window.logotrans.fadeIn(window.loopdurationtime,function(){window.onetimeoout=window.setTimeout(function(){window.logotrans.fadeOut(window.loopdurationtime,function(){window.clearTimeout(window.onetimeoout),window.isen=!0,window.logotrans.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),window.logotrans.fadeIn(window.loopdurationtime,function(){window.globaltimeout=window.setTimeout(h,6e4)})})},3e3)})})}function m(){u()?window.setTimeout(p,3e3):window.setTimeout(h,3e3)}function g(){var e=N("#nav_keyword").text(),t="vans",n=N("#query_key");""!==e?(n.css({color:"#000"}),n.val(e)):(n.css({color:"#e0e0e0"}),n.val(t),n.on("focus",function(e){n.css({color:"#000"}),n.val("")}))}function w(e,t,n){try{window.dataLayer.push({louceng:e,weizhi:t,event:n})}catch(i){}}function v(){var e=N.cookie("_Gender"),t=N(".cure");"undefined"!=typeof e&&""!==e&&N.setcookie("_Gender",1,{path:"/",domain:".yohobuy.com",expires:7}),"男生"===t.find(".name-cn a").text()&&(N.setcookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:7}),N.setcookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7})),"女生"===t.find(".name-cn a").text()&&(N.setcookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:7}),N.setcookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})),"创意生活"===t.find(".name-cn a").text()&&N.setcookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),"潮童"===t.find(".name-cn a").text()&&N.setcookie("_Channel","kids",{path:"/",domain:".yohobuy.com",expires:7})}function y(){var e,t,n,i=document.cookie,o=i.split(";");for(e=0;e<o.length;e++)t=o[e].split("="),n=t[0].replace(/\s/g,""),window.cookieMap[n]=t[1]}function b(){var e;N(".first-nav-item").click(function(){e=N.cookie("_Gender"),"undefined"!=typeof e&&""!==e&&N.setcookie("_Gender",1,{path:"/",domain:".yohobuy.com",expires:7}),"男生"===N(this).find(".name-cn a").text()&&(N.setcookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:7}),N.setcookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7})),"女生"===N(this).find(".name-cn a").text()&&(N.setcookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:7}),N.setcookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})),"创意生活"===N(this).find(".name-cn a").text()&&N.setcookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),"潮童"===N(this).find(".name-cn a").text()&&N.setcookie("_Channel","kids",{path:"/",domain:".yohobuy.com",expires:7})}),N("#backToOld").click(function(){N.setcookie("_New",1,{path:"/",domain:".yohobuy.com"}),location.href="http://www.yohobuy.com"})}function x(){N("#miniCartBox").miniCart({cartNum:".ic-infomation"})}function k(){var e,t,n;N.getData(window.apiDomain,{method:"open.Shoppingcart.getCartData",shopping_key:N.getShoppingKey()},function(i){""===window.cartTpl&&(window.cartTpl=P.compile(N("#mini-cart-tpl").html())),N("#miniCartBox").children(".gobuy-wrapper").html(window.cartTpl({carData:i})),0===parseInt(N(".ic-infomation").html())&&N("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>'),N("#miniCartBox .goods-list li").length<1&&(e=N.cookie("_g"),t=F.parse(e),null!==t&&(n='{"_k":"'+t._k+'","_nac":0,"_ac":0,"_r":0}',N.setcookie("_g",n,{path:"/",domain:".yohobuy.com"})),N(".ic-infomation").html(0),N("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>'))})}function _(e,t){N.getData(window.apiDomain,{method:"open.Shoppingcart.delone",shopping_key:N.getShoppingKey(),id:e,isreduce:t},function(e){var t=N.cookie("_g"),n=F.parse(t),i='{"_k":"'+n._k+'","_nac":'+e.total_goods_num+',"_ac":0,"_r":0}';N.setcookie("_g",i,{path:"/",domain:".yohobuy.com"}),k(),x()})}function C(){var e,t,n;N(document).on("click",".goodscardelete",function(i){e=N(this),t=e.attr("goodsid"),n=e.attr("cheapest"),_(t,n)})}function j(){var e;N(document).on("click",".mycart_i_down",function(t){e=N(this),e.toggleClass("mycart_i_up"),N("#mycartmore").slideToggle(300)})}function q(){var e,t="http://www.yohobuy.com/shopping/cart";N("#miniCartBox").on("click",function(n){e=N(n.target),e.hasClass("gobuy")&&(window.location.href=t)})}function T(e){1===e?(N("#miniCartBox").addClass("list-cur"),N(".gobuy-wrapper").show(),0!==parseInt(N(".ic-infomation").html())?(N("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-loading"><h3 class="information">加载中,请稍后</h3></div>'),k()):N("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>')):(N("#miniCartBox").removeClass("list-cur"),N(".gobuy-wrapper").hide())}function $(){var e;N("#miniCartBox").mouseenter(function(t){e=N(t.target),("miniCartBox"===e.attr("id")||"ic-infomation"===e.attr("class"))&&T(1)}),N("#miniCartBox").mouseleave(function(e){T(0)})}function S(){var e,t="indexkids",n="indexlifestyle",i="indexboys",o="indexgirls",a="uniquebrand",c=window.location.href,l=window.location.host,d="";-1!==c.indexOf("search")&&(d=window.bannerMap["search"+window.cookieMap._Channel]),-1!==c.indexOf("list")&&(d=window.bannerMap["list"+window.cookieMap._Channel]),-1!==c.indexOf("brands")&&(d=window.bannerMap["brands"+window.cookieMap._Channel]),-1!==c.indexOf("new")&&(d=window.bannerMap["new"+window.cookieMap._Channel]),-1!==c.indexOf("sale")&&(d=window.bannerMap["sale"+window.cookieMap._Channel]),-1!==c.indexOf("home")&&(d=window.bannerMap["home"+window.cookieMap._Channel]),-1!==c.indexOf("kids")&&(d=window.bannerMap[t]),-1!==c.indexOf("woman")&&(d=window.bannerMap[o]),-1!==c.indexOf("lifestyle")&&(d=window.bannerMap[n]),-1!==c.indexOf("www.yohobuy.com")&&"/"===window.location.pathname&&(d=window.bannerMap[i]),e=l.split(".")[0],"list"!==e&&"search"!==e&&"www"!==e&&"new"!==e&&"item"!==e&&"guang"!==e&&(d=window.bannerMap[a+window.cookieMap._Channel]),r(d),s(d)}function I(e){N(".hot-brands").find("ul").stop().animate({opacity:0,"z-index":1},200).eq(e).animate({opacity:1,"z-index":2},200)}function O(){var e,t=0;N(".hot-brands").size()>0&&(e=N(".hot-brands").find("ul").size(),N(".hot-brands").find("ul").eq(0).css({opacity:1,"z-index":2}),N(".brands-control").on("click",".next",function(){t===e-1?t=0:t++,I(t)}),N(".brands-control").on("click",".prev",function(){0===t?t=e-1:t--,I(t)}))}function E(){setInterval(x,2e3)}function M(){var e=N("#goodcartempwarpper").html().replace(/\\/g,"");N("#goodcartempwarpper").html(e)}function z(){var e="http://search.yohobuy.com/api/suggest";N("#query_key").search(e)}function B(){M(),v(),y(),d(),l(),m(),S(),O(),g(),b(),$(),x(),E(),z(),q(),C(),j()}var N=e("jquery"),P=e("handlebars"),F=e("index"),D=!1;P.registerHelper("equalone",function(e,t){return"1"===e?t.fn(this):t.inverse(this)}),e("plugin/yohocookie"),e("plugin/yohocart"),window.JsonPCallBack=i,window.NoticeCallBack=o,window.requestFrame=f(),window.start=0,window.$logotrans=N(".icon-logo"),window.isen=!0,window.loopdurationtime=500,window.globaltimeout,window.onetimeoout,window.dataLayer=[],window.reg=/^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/\s]{0,}$/g,window.keyword="",window.link="",window.submitSearch=function(){var e,t,n=N("#query_key").val(),i="Search",o="Head Search",a="Search";if(e=N.trim(window.keyword.toLowerCase()),t=N.trim(n.toLowerCase()),w(i,o,a),""!==window.link&&""!==window.keyword&&e===t)location.href=window.link.replace("'","");else{if(!window.reg.test(n))return N("#searchForm").submit(),!1;location.href="http://search.yohobuy.com/error?query="+n+"&result=error"}},window.bannerMap={listboys:"4f78b0f418fc42314d8b6e791cfb7fa8",listgirls:"00c1f025a51b6b597dc37925951ea27d",listkids:"b02df11184727701ade1b6de9737d08c",listlifestyle:"fd35c52dced0c880976ba858346d1fc5",searchboys:"9fb8986ea700cc27a8057361c3924394",searchgirls:"e3e207a1443ca60c8037fe52a5560c18",searchkids:"620fc77f479da8feaeb06f2324e5d0bb",searchlifestyle:"a3c93301c6ffaf3ed0f36a4a451be36d",uniquebrandboys:"2ebb0810c0d1a67e5229149c9c3aba7d",uniquebrandgirls:"99e23385f4ba4b65f406b7e2968ac821",uniquebrandkids:"a74ebc9b17840c91b9ea46568111fe6b",uniquebrandlifestyle:"0e8c81ead53f56302baa4d0ad967f527",brandsboys:"77b352db07129c76a9d532acad149f9f",brandsgirls:"bf047f16e52ebc38be5ce9c7623831e6",brandskids:"e3ae1ce9b5e13c6d271ef3eccb831652",brandslifestyle:"e4ac8029c30f65d7f1af030980d140fe",newboys:"869d3c5f3b450fb52101d00a61ce87cb",newgirls:"d953b6dfdac02483d1dcce8d96055954",newkids:"0874cb6d75df8e0e78f2d475e53ecc08",newlifestyle:"43e8fc8e178115c262bbce2bd0012db7",saleboys:"c846e3165c994769b4201d8c32f3ae9b",salegirls:"52b1d389edcbc62d65de71b80c4d6ad0",salekids:"ad8b1703c761ba00973868ab5199cc27",salelifestyle:"7acc64905c70ac91846f43fb2cec4bbd",homeboys:"b0856a771ef1b59ab1234c74688fa42d",homegirls:"2bd61fa12e4933211518f70fe5ce3c48",homekids:"895c59e8c64b40399c9533509507320c",homelifestyle:"2e037d4e25d2767352ca3e0a4627f7bd",indexboys:"0c911d3000f52e8ca7cffb74f5864c29",indexgirls:"b645b8980c423ab30485e0a9d08c2ef7",indexkids:"17f6d5d5d454d2c507bc5fcbc90f7756",indexlifestyle:"735cd393e841762af8793c346abbbc36"},window.cookieMap={},window.apiDomain="http://api.open.yohobuy.com",window.cartTpl="",B()}),define("plugin/yohocookie",["jquery"],function(e,t,n){var i=e("jquery");!function(e){e.extend({cookie:function(e){var t=null;if(document.cookie&&""!=document.cookie)for(var n=document.cookie.split(";"),o=0;o<n.length;o++){var a=i.trim(n[o]);if(a.substring(0,e.length+1)==e+"="){t=decodeURIComponent(a.substring(e.length+1));break}}return t},setcookie:function(e,t,n){var i="";if("undefined"!=typeof t){if(n=n||{},null===t&&(t="",n.expires=-1),n.expires&&("number"==typeof n.expires||n.expires.toUTCString)){var o;"number"==typeof n.expires?(o=new Date,o.setTime(o.getTime()+24*n.expires*60*60*1e3)):o=n.expires,i="; expires="+o.toUTCString()}var a=n.path?"; path="+n.path:"",r=n.domain?"; domain="+n.domain:"",s=n.secure?"; secure":"";document.cookie=[e,"=",encodeURIComponent(t),i,a,r,s].join("")}}})}(i)}),define("plugin/yohocart",["jquery"],function(require,exports,module){var jQuery=require("jquery"),$yohocookie=require("plugin/yohocookie");!function($){$.fn.miniCart=function(options){var defaults={cookie:"_g",cartNum:""},params=$.extend(defaults,options),cartInfo=eval("("+$.cookie(params.cookie)+")");if(null!=cartInfo){var totalNum=parseInt(cartInfo._nac)+parseInt(cartInfo._ac);0==totalNum?$("#icart-num").attr("class","icart-num icart-none"):$("#icart-num").attr("class","icart-num"),$(params.cartNum).html(totalNum)}},$.fn.search=function(e){function t(t){var n=$.trim($(t).val());return n=n.replace(new RegExp("'","gm"),""),""==n?($(".search-list").hide(),!1):(n=encodeURI(n),void $.get(e+"?callback=?&query="+n,function(e){$(".search-list").html(e.data),i=$(".search-list").children("li").length,o=-1,i>0?$(".search-list").show():$(".search-list").hide(),$(".search-list").find("a").hover(function(){$(this).css("background-color","#eee")},function(){$(this).css("background-color","#fff")})},"jsonp"))}function n(e){$(".search-list li:eq("+a+")").children("a").css("background-color","#fff"),$(".search-list li:eq("+o+")").children("a").css("background-color","#eee");var t=$(".search-list li:eq("+o+")").children("a").attr("title");$("#query_key").val(t)}var i=0,o=0,a=0;return this.each(function(){$(this).keyup(function(e){if(38==e.which){if(0==i)return!1;-1==o&&(o=0),a=o,o=(o-1+i)%i,n(this)}else if(40==e.which){if(0==i)return!1;a=o,o=(o+1)%i,n(this)}else 13==e.which?submitSearch():t(this)})})},$.extend({getData:function(domain,options,onSuccess){var defaults={page:1,method:"",v:1,return_type:"jsonp",open_key:"12345",tmp:Math.random()};if(void 0==typeof domain||""==domain)return console.log("请设置请求的api地址"),!1;var params=$.extend(defaults,options);if(params.page=params.page||1,""==params.method)return console.log("请设置请求的URL"),!1;try{$.getJSON(domain+"/?callback=?",params,function(_data){return""!=onSuccess?(eval(onSuccess(_data.data)),!1):void 0})}catch(e){console.log(e.message)}},getShoppingKey:function(){var shoppingInfo=$.cookie("_g");if("undefined"==typeof shoppingInfo||null==shoppingInfo)return"";var shoppingData=eval("("+shoppingInfo+")");return shoppingData._k}})}(jQuery),exports.init=function(){}}),define("js/product/entry",["jquery","handlebars","source-map","lazyload"],function(e,t,n){e("js/product/list"),e("js/product/hotrank")}),define("js/product/list",["jquery"],function(e,t,n){e("js/product/filter"),e("js/product/sort-pager"),e("js/product/product")}),define("js/product/filter",["jquery"],function(e,t,n){function i(e){e.removeClass("checked").html(w.unchecked)}function o(){y.addClass("hide"),b.removeClass("hide")}function a(){b.addClass("hide"),y.removeClass("hide")}function r(e,t){var n,i=decodeURIComponent(window.location.search),o=e+"="+t;n=""===i?"?"+o:i+"&"+o,window.location.href=n}function s(e){T.children(".senior-sub:eq("+m+")").addClass("hide"),$.children(".attr:eq("+m+")").removeClass("hover"),m=-1}var c,l,d,u,f,p,h,m,g=e("jquery"),w={unchecked:"",checked:""},v={up:"",down:""},y=g(".brand .default"),b=g(".brand .brand-panel"),x=g(".brand .attr"),k=g("#brand-more"),_=g("#brand-multi"),C=g(".ud-price-range"),j=/^\d+$/,q=g(".sort-sub-wrap"),T=g(".senior-sub-wrap"),$=g(".senior-attr-wrap");g(".filter-box").on("selectstart",".attr, .brands-index span",function(){return!1}),g(".sort-pre").on("click","li",function(){var e=g(this),t=e.index();e.siblings(".active").removeClass("active"),e.addClass("active"),q.children(":not(.hide)").addClass("hide"),q.children(":eq("+t+")").removeClass("hide")}),k.length>0&&(c=k.children("em"),l=k.children(".iconfont")),_.click(function(){"none"===b.css("display")&&o(),b.addClass("multi"),g(this).addClass("hide")}),k.click(function(){var e=g(this);e.hasClass("more")?(a(),c.text("更多"),l.html(v.down)):(o(),c.text("收起"),l.html(v.up)),g(this).toggleClass("more")}),g(".brands-index").on("click","span",function(){var e=g(this),t=e.data("index");0===e.index()?x.removeClass("hide"):x.addClass("hide").filter("[data-index="+t+"]").removeClass("hide")}),g("#brand-search-input").keyup(function(){var e=g(this).val().toLowerCase();""===e?x.removeClass("hide"):x.addClass("hide").filter("[data-key*="+e+"]").removeClass("hide")}),g("#brand-multi-ok").click(function(){var e="";g(this).hasClass("dis")||(b.find(".checked").each(function(){var t=g(this).data("id");e+=""===e?t:","+t}),r("brand",e))}),g(".multi-select-cancel").click(function(){var e=g(this).closest(".multi");e.hasClass("brand-panel")&&(a(),_.removeClass("hide")),e.removeClass("multi"),i(e.find(".checkbox.checked"))}),g(".check-container").on("click",".attr",function(){var e=g(this),t=e.find(".checkbox"),n=e.parent(".check-container").next(".btns").find(".multi-select-ok");t.toggleClass("checked"),t.hasClass("checked")?t.html(w.checked):t.html(w.unchecked),t.hasClass("checked")||e.siblings(".attr").find(".checked").length>0?n.removeClass("dis"):n.addClass("dis")}),g(".brand, .senior").on("click",".attr > a",function(e){g(this).closest(".multi").length>0&&e.preventDefault()}),C.length>0&&(d=C.find(".limit"),u=d.filter(".min"),f=d.filter(".max"),p=C.find(".price-sure"),d.keyup(function(){var e=g.trim(u.val()),t=g.trim(f.val()),n=j.test(e),i=j.test(t);i&&(""===e||n)||n&&(""===t||i)?p.removeClass("hide"):p.addClass("hide")}),p.click(function(){var e,t=g.trim(u.val()),n=g.trim(f.val());""!==t&&""!==n&&+t>+n&&(e=n,n=t,t=e),r("price",t+","+n)})),$.on("mouseenter",".attr",function(){var e=g(this).addClass("hover").index();T.children(".senior-sub:eq("+e+")").removeClass("hide")}).on("mouseleave",".attr",function(){var e=g(this),t=e.index();m=t,h=setTimeout(function(){s()},100)}),g(".senior-sub").on("click",".multi-select",function(){g(this).closest(".senior-sub").addClass("multi")}).on("click",".multi-select-ok",function(){var e=g(this),t=e.closest(".senior-sub"),n="";e.hasClass("dis")||(t.find(".checked").each(function(){var e=g(this).data("id");n+=""===n?e:","+e}),r(t.data("attr"),n))}).on("mouseenter",function(){clearTimeout(h)}).on("mouseleave",function(){s()})}),define("js/product/sort-pager",["jquery"],function(e,t,n){var i=e("jquery"),o=i("#count-per-page"),a=o.next("ul"),r=200;i(document).click(function(e){i(e.target).closest(".page-count").length>0||a&&a.slideUp(r)}),o.click(function(){"none"===a.css("display")?a.slideDown(r):a.slideUp(r)})}),define("js/product/product",["jquery"],function(e,t,n){var i,o=e("jquery"),a=e("js/common/product-event"),r=o(".goods-container"),s=r.find(".good-info"),c=r.find(".good-item-wrapper"),l=r.find(".good-info-main"),d=r.find(".good-select-color"),u=o(".product-list-nav");t.init=function(e){function t(e){var t,n,i,o="",a=e.length,r=4,s=Math.ceil(a/r),c=0;for(t=0;s>t;t++)for(o+="<ul>",n=0;r>n&&(i=t*r+n,i!==a);n++)o+='<li><a href="'+e[t*r+n].url+'"><img src="'+e[t*r+n].src+'" /></a></li>',n===r-1&&(o+="</ul>",c++);return s>c&&(o+="</ul>"),{colorListStr:o,ulNum:s}}i=a(s,e),i.addHandler("MouseEnter",function(e){var n,i,a,s,u,f,p,h,m=10,g=35,w="";l.html(""),d.html(""),c.css({display:"none"}),o.ajax({type:"GET",url:"/product/index/productColor",dataType:"json"}).then(function(v){w=t(v).colorListStr,n=t(v).ulNum,l.append(e.targetDuplicate),d.append(o(w)),f=c.css("paddingLeft"),p=c.css("paddingTop"),h=r.css("paddingTop"),i=10+65*n+e.targetWidth,s=(e.targetX-1)*(e.targetWidth+m)-(parseInt(f)+1),u=(e.targetY-1)*(e.targetHeight+g)+parseInt(h)-(parseInt(p)+1),a=e.offsetR-(65*n+25),0>=a&&(s+=a),c.css({width:i,left:s,top:u,display:"inline-block"})})}),c.mouseleave(function(){l.html(""),d.html(""),c.css({display:"none"})}),u.click(function(){o(this).hasClass("active")?o(this).find(".sort-child-list").stop(!0,!0).slideUp():o(this).find(".sort-child-list").stop(!0,!0).slideDown(),o(this).toggleClass("active")})}}),define("js/common/product-event",["jquery"],function(e,t,n){function i(){this.handlers={}}var o=e("jquery");i.prototype={constructor:i,addHandler:function(e,t){"undefined"==typeof this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t)},fire:function(e){var t,n;if(e.target||(e.target=this),this.handlers[e.type]instanceof Array)for(t=this.handlers[e.type],n=0;n<t.length;n++)t[n](e)},removeHandler:function(e,t){var n,i;if(this.handlers[e]instanceof Array){for(n=this.handlers[e],i=0;i<n.length&&n[i]!==t;i++);n.splice(i,1)}}},n.exports=function(e,t){function n(e){var n,i=0,l=0,d=t,u=0,f="",p=0,h=0;switch(e.type){case"mouseenter":n=o(this),f=n.clone(),u=n.index()+1,i=u%d===0?d:u%d,l=Math.ceil(u/d),p=n.offset().left,h=c-(p+r),a.fire({type:"MouseEnter",target:n,targetWidth:r,targetHeight:s,targetX:i,targetY:l,rowWidth:d,activeIndex:u,targetDuplicate:f,offsetL:p,offsetR:h});break;case"mouseleave":a.fire({type:"MouseLeave"})}}var a=new i,r=e.eq(0).width(),s=e.eq(0).height(),c=o(window).width();return e.bind("mouseenter",n),a}}),define("js/product/hotrank",["jquery","handlebars","source-map","lazyload"],function(e,t,n){var i=e("jquery"),o=e("handlebars"),a=e("lazyload");e("js/common/slider"),e("js/common/logo-brand"),a(i("img.lazy")),i(".slide-container").slider(),i(".logo-brand").logoBrand({showNum:10,url:"./getBrand"}),function(e){function t(t,n){var c={};c=n?{sid:t,page:n}:{sid:t},e.ajax({type:"GET",dataType:"json",url:"/hotrank/getdata",data:c,success:function(t){var c;200===t.code&&(c={list:t.data},r=o.compile(i),n?(e(".hot-week-list").append(r(c)),s.css({position:"fixed",marginTop:-s.height()/2,top:"50%"})):e(".hot-week-list").html(r(c)),a(e("img.lazy")),u=!1)}})}var n,i,r,s=e(".hot-week").find(".floatlayer"),c=e(".hot-cate").find("li").eq(0).data("sid"),l=1,d=0,u=!1;i='{{# list}}<div class="good-info"><div class="item-img"><a class="good-thumb" target="_blank" href="{{url}}"><img class="lazy" data-original="{{img}}"></a></div><div class="good-detail-text"><a target="_blank" href="{{url}}">{{name}}</a><p class="price"><span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">¥{{salePrice}}</span>{{# marketPrice}}<span class="market-price">¥{{.}}</span>{{/ marketPrice}}</p></div></div>{{/ list}}',e(window).on("scroll",function(){var i=n+e(".hot-week").outerHeight();n=e(".hot-week").offset().top,e(this).scrollTop()>=n-e(window).height()/2?s.offset().top+s.outerHeight()>=i?s.css({position:"absolute",marginTop:0,top:e(".hot-week").outerHeight()-s.outerHeight()}):s.css({marginTop:-s.height()/2}).stop().animate({opacity:1},200,function(){s.show()}):s.stop().animate({opacity:0},200,function(){s.hide()}),s.offset().top>=e(this).scrollTop()+(e(window).height()-s.outerHeight())/2&&s.css({position:"fixed",marginTop:-s.height()/2,top:"50%"}),e(this).scrollTop()>=n+e(".hot-week").height()-e(window).height()&&(u||(l++,u=!0,t(c,l)))}),e(".hot-cate").find("li").each(function(t){var n=e(".hot-cate").width();n>=d&&(d+=e(this).width(),d>=n&&e(".floatlayer").find("li").eq(t).hide().nextAll().hide())}),e(".hot-cate").on("click","li",function(){var i=e(this).index(),o=e(this).data("sid");e(this).addClass("current").siblings().removeClass("current"),e(".floatlayer").find("li").removeClass("current").eq(i).addClass("current"),e("body,html").stop().animate({scrollTop:n-110},500),t(o),l=1}),e(".floatlayer").on("click","li",function(){var t=e(this).index();e(".hot-cate").find("li").trigger("click"),e(this).addClass("current").siblings().removeClass("current"),e(".hot-cate").find("li").removeClass("current").eq(t).addClass("current")}),e(".hot-cate").find("li").eq(0).addClass("current"),e(".floatlayer").find("li").eq(0).addClass("current")}(i)}),define("js/common/slider",["jquery","lazyload"],function(e,t,n){var i=e("jquery"),o=e("lazyload");!function(e){var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.slider.defaults,n),this.bigItem=this.$element.find(".slide-wrapper").find("li"),this.smallItem=null,this.len=this.bigItem.size(),this.index=0,this.timer=null,this.init()};t.prototype={init:function(){return this.len<=1?void o(this.$element.find("img.lazy")):(this.options.pagination?this.smallItem=e(this.options.pagination).find("li"):this._createPage(),this.options.orient&&this._createOrient(),this._slideShow(),this._bindEvent(),void this._autoplay())},_createOrient:function(){var e='<div class="slide-switch"><a class="prev" href="javascript:;"><span class="iconfont"></span></a><a class="next" href="javascript:;"><span class="iconfont"></span></a></div>';this.$element.find(".slide-switch").length>0||this.$element.append(e)},_createPage:function(){var t='<div class="slide-pagination"><div class="slide-pagination-inner"><div class="slide-shade"></div><div class="slide-pagination-last">',n=0;if(!(this.len<=1)){for(n=0;n<this.len;n++)t+="<span></span>";t+="</div></div></div>",this.$element.append(e(t)),this.smallItem=e(".slide-pagination-inner").find("span")}},_bindEvent:function(){var t=this;this.$element.find(".slide-switch").on("click",".next",function(){t._nextSlide(),clearInterval(t.timer),t.timer=setInterval(function(){t._nextSlide()},t.options.time)}).on("click",".prev",function(){t._prevSlide(),clearInterval(t.timer),t.timer=setInterval(function(){t._nextSlide()},t.options.time)}),this.smallItem.on("mouseenter",function(){t.index=e(this).index(),clearInterval(t.timer),t._slideShow()}).on("mouseleave",function(){t._autoplay()}),this.$element.on("mouseenter",function(){e(this).find(".slide-switch").addClass("show")}).on("mouseleave",function(){e(this).find(".slide-switch").removeClass("show")})},_nextSlide:function(){this.index===this.len-1?this.index=0:this.index++,this._slideShow()},_prevSlide:function(){0===this.index?this.index=this.len-1:this.index--,this._slideShow()},_slideShow:function(){var e=this.bigItem.eq(this.index).find("img.lazy");e.attr("src")!==e.data("original")&&(o(e,{event:"sporty"}),e.trigger("sporty")),this.smallItem.eq(this.index).addClass("focus").siblings().removeClass("focus"),this.bigItem.eq(this.index).fadeIn().siblings().fadeOut()},_autoplay:function(){var e=this;clearInterval(this.timer),this.timer=setInterval(function(){e._nextSlide()},this.options.time)}},e.fn.slider=function(n){return this.each(function(){var i=e(this),o=i.data("Slider"),a="object"==typeof n&&n;o||i.data("Slider",o=new t(this,a)),"string"==typeof n&&o[n]()})},e.fn.slider.Constructor=t,e.fn.slider.defaults={time:5e3,orient:!0,pagination:null}}(i)}),define("js/common/logo-brand",["jquery","handlebars","source-map","lazyload"],function(e,t,n){var i=e("jquery"),o=e("handlebars"),a=e("lazyload");!function(e){var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.logoBrand.defaults,n),this.init()};t.prototype={init:function(){this.$element.addClass("logos-"+this.options.showNum),this._sendRequest()},_createHelper:function(){var e=this.options.showNum;o.registerHelper("brandList",function(t,n){var i="<ul>",o=0,a=null,r=0;if(t.length%e!==0)for(r=e-t.length%e,o=0;r>o;o++)t.push({href:"javascript:;",img:""});for(o=0;o<t.length;o++)a=n.fn(t[o]),i=o%e===5||5===o?i+'<li class="logo-brand-switch" data-page="'+Math.floor(o/e)+'"><a class="prev iconfont" href="javascript:;"></a><a class="next iconfont" href="javascript:;"></a></li><li data-page="'+Math.floor(o/e)+'">'+a+"</li>":0!==o&&o%e===0?i+'<li class="brand-more" data-page="'+Math.floor(o/(e+1))+'"><a href="javascript:;">MORE ></a></li><li data-page="'+Math.floor(o/e)+'">'+a+"</li>":i+'<li data-page="'+Math.floor(o/e)+'">'+a+"</li>";return i+'<li class="brand-more" data-page="'+Math.floor(o/(e+1))+'"><a href="javascript:;">MORE ></a></li></ul>'})},_sendRequest:function(){var t=this;e.ajax({type:"GET",url:t.options.url,dataType:"json",success:function(e){var n,i;t._createHelper(),i='{{#brandList logoBrand}}<a href="{{href}}"><img class="lazy" data-original="{{img}}" alt=""></a>{{/brandList}}',n=o.compile(i),t.$element.html(n(e)),t.$element.find(".brand-more a").attr("href",e.moreBrand), -a(t.$element.find("img.lazy")),t._bindEvent()}})},_brandShow:function(t,n){var i=this;a(e("li[data-page="+n+"]").find("img.lazy").trigger("appear")),i.$element.find("li[data-page="+t+"]").find("img").fadeOut("normal",function(){i.$element.find("li").hide(),i.$element.find("li[data-page="+n+"]").show().find("img").fadeIn()})},_bindEvent:function(){var t=this;t.$element.on("click",".next",function(){var n=e(this).parent().data("page"),i=0,o=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;i=n===o?0:n+1,t._brandShow(n,i)}),t.$element.on("click",".prev",function(){var n=e(this).parent().data("page"),i=0,o=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;i=0===n?o:n-1,t._brandShow(n,i)})}},e.fn.logoBrand=function(n){return this.each(function(){var i=e(this),o=i.data("LogoBrand"),a="object"==typeof n&&n;o||i.data("LogoBrand",o=new t(this,a)),"string"==typeof n&&o[n]()})},e.fn.logoBrand.Constructor=t,e.fn.logoBrand.defaults={showNum:16,url:"/boys/getBrand"}}(i)}),define("js/home/entry",["jquery","lazyload","handlebars","source-map"],function(e,t,n){e("js/home/home")}),define("js/home/home",["jquery","lazyload","handlebars","source-map"],function(e,t,n){var i=e("jquery"),o=e("lazyload"),a=i(".home-page").data("page"),r=i(".logo-brand").data("url");e("js/common/slider"),e("js/common/slider2"),e("js/common/logo-brand"),e("js/common/accordion"),"brands"===a&&e("js/home/brands"),["boys","girls","kids","lifestyle"].indexOf(a)>-1&&e("js/common/new-arrivls")({type:a,url:"/common/getNewArrival",pageCount:"boys"===a?"15":"20"}),o(i("img.lazy")),"boys"===a?i(".slide-container").slider({pagination:".thumb-pagination"}):"girls"===a?i(".center-col").slider():i(".slide-container").slider(),"boys"===a?(i(".logo-brand").logoBrand({url:r}),i(".img-brand").slider2()):(i(".logo-brand").logoBrand({showNum:10,url:r}),i(".img-slider-wrapper").slider2())}),define("js/common/slider2",["jquery"],function(e,t,n){var i=e("jquery");!function(e){e.fn.slider2=function(t){function n(t,n,o){o===!0?(e(".next").trigger("click"),t===n-3?i(--t,n,!1):i(++t,n,!0)):(e(".prev").trigger("click"),0===t?i(++t,n,!0):i(--t,n,!1))}function i(t,i,o){window.setTimeout(n,e.fn.slider2.defaults.delaytime,t,i,o)}function o(t,n,i){var o=-(t*n);e(".img-list").animate({"margin-left":o+"px"},"slow",i)}return e.fn.slider2.defaults={index:0,shownum:3,autoplay:!1,delaytime:3e3},this.each(function(){var n=e.extend({},e.fn.slider2.defaults,t),a=parseInt(e(".img-item").css("margin-right")),r=e(".img-item"),s=[],c=r.outerWidth()+a,l=r.length,d=0;if(3>=l)return void e(this).find(".img-brand-switch").hide();for(d=0;d<r.length;d++)s.push(r[d]);l=s.length,e(this).find(".img-list").css({width:c*l}),e(this).find(".next").on("click",function(t){var n=0,i=null;t.preventDefault(),o(3,c,function(){for(n=0;3>n;n++)i=s.shift(),e(".img-item").parent().append(i.outerHTML),s.push(i);e(".img-item").first().remove(),e(".img-item").first().remove(),e(".img-item").first().remove(),e(".img-list").css({"margin-left":"0"})})}),e(this).find(".prev").on("click",function(t){var n=0,i=null,a="";for(t.preventDefault(),n=0;3>n;n++)i=s.pop(),e(".img-item").parent().prepend(i.outerHTML),s.unshift(i);a=3*c,e(".img-item").last().remove(),e(".img-item").last().remove(),e(".img-item").last().remove(),e(".img-list").css({"margin-left":-a+"px"}),o(0,c)}),n.autoplay===!0&&i(n.index,l,!0)})}}(i)}),define("js/common/accordion",["jquery"],function(e,t,n){function i(e){c.each(function(t){r(this).css("zIndex",t),e>=t?r(this).stop().animate({left:t*d},400):r(this).stop().animate({left:e*d+l+d*(t-e-1)},400)})}var o,a=e("js/common/yohoui/YH.slide"),r=e("jquery"),s=r(".slide-accordion"),c=s.find("li"),l=c.width(),d=1150===parseInt(r(".home-page").width())?125:107;i(0),o=new a({length:5,loop:!1,auto:!1,timeout:2,index:3}),o.on("change",function(e){i(e.to)}),c.mouseover(function(){o.go(r(this).index())}),o.init()}),define("js/common/yohoui/YH.slide",[],function(e,t,n){var i=e("js/common/yohoui/YH.base"),o=function(e){this.__lastTime=null,this.__isStop=!1,e=i.extend(this.defaults,e),o.superclass.constructor.call(this,e)};i.inherit(o,i.assembly),o.prototype.oninit=function(){var e=this,t=e.options;return t.auto&&e.play(),e.go(t.index),this},o.prototype.go=function(e,t){var n,i,o,a,r,s,c,l,d=this,u=d.options;d.__lastTime&&(clearTimeout(d.__lastTime),d.__lastTime=null),t="undefined"==typeof t?u.index:t,n=e===t?0:e>t?1:-1,i=u.loop,a=u.length-1,r=e,e=i?e>a?e-a-1:0>e?e+a+1:e:e>a?a:0>e?0:e,o=u.index=e,s={from:t,to:e,originalto:r,direction:n};for(c in d.registerEvent)if(d.registerEvent[c].length>0)for(l in d.registerEvent[c])d.registerEvent[c].hasOwnProperty(l)&&d.registerEvent[c][l](s);o!==a||e?!d.__isStop&&u.auto&&d.play():d.__lastTime&&clearTimeout(d.__lastTime)},o.prototype.play=function(){var e=this,t=e.options;return e.__lastTime=setTimeout(function(){e.next()},1e3*t.timeout),this},o.prototype.next=function(){var e=this,t=e.options,n=t.index,i=n+t.step;e.go(i,n)},o.prototype.prev=function(){var e=this,t=e.options,n=t.index,i=n-t.step;e.go(i,n)},o.prototype.pause=function(){var e=this;e.__lastTime&&clearTimeout(e.__lastTime),e.__isStop=!0},o.prototype.resume=function(){var e=this;e.__isStop=!1,e.play()},o.prototype.defaults={index:0,timeout:5,step:1,per:1,auto:!1,loop:!1},n.exports=o}),define("js/common/yohoui/YH.base",[],function(e,t,n){var i,o={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Function]":"function","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object String]":"string"},a={__Index:0,list:[],get:function(e){return void 0===e?this.list:this.list[e]},fn:function(){},inherit:function(e,t){var n=a.fn;n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.superclass=t.prototype,e.prototype.constructor===Object.prototype.constructor&&(e.prototype.constructor=t)},extend:function(e,t){var n;for(n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},copy:function(e,t,n){var i,o,r;if("object"!=typeof t)return t;if(i=t.valueOf(),t!==i)return new t.constructor(i);if(t instanceof t.constructor&&t.constructor!==Object){o=e?new e:a.clone(t.constructor.prototype);for(r in t)(e||t.hasOwnProperty(r))&&(o[r]=t[r])}else{o={};for(r in t)o.hasOwnProperty(r)&&(o[r]=t[r])}if(n)for(r in n)o.hasOwnProperty(r)&&(o[r]=n[r]);return o},clone:function(e){return a.__cloneFunc.prototype=e,new a.__cloneFunc},__cloneFunc:function(){},delegate:function(e,t){var n;return t=t||window,arguments.length>2?(n=Array.prototype.slice.call(arguments,2),function(){return e.apply(t,n)}):function(){return e.call(t)}},dom:function(e,t){var n,i,o=e,a={wrap:o},r=o[0].getElementsByTagName("*"),s=r.length;for(i=0;s>i;i++)n=r[i].className,n.indexOf(t)>-1&&(n=n.split(t)[1]),n&&(a[n]=o.find(r[i]));return a},template:function(){var e,t,n,i,o=arguments;if(o.length>0&&a.isString(o[0]))if(e=o[0],2===o.length&&a.isObject(o[1]))for(t in o[1])void 0!==o[1][t]&&(n=new RegExp("({"+t+"})","g"),e=e.replace(n,o[1][t]));else for(i=1;i<o.length;i++)void 0!==o[i]&&(n=new RegExp("({["+(i-1)+"]})","g"),e=e.replace(n,o[i]));return e},__type:function(e){return null==e?String(e):o[Object.prototype.toString.call(e)]||"object"},isObject:function(e){return this.isFunction(e)||!(!e||"object"!=typeof e)},isFunction:function(e){return"function"===this.__type(e)},isArray:Array.isArray||function(e){return"array"===this.__type(e)},isNum:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},isString:function(e){return"string"===this.__type(e)},each:function(e,t,n){var i,o;if(a.isArray(e))for(i=0,o=e.length;o>i&&t.call(e[i],i,e[i],n)!==!1;i++);else for(i in e)if(t.call(e[i],i,e[i],n)===!1)break},funManager:{__loadList:{},__loadFun:function(e,t,n){e.methord&&a.isFunction(e.methord())&&(n=n||window,e.methord()(e,function(){t()},n))},load:function(e,t,n,i){i=i||0,e[i]&&a.funManager.__loadFun(e[i],function(){a.funManager.load(e,t,n,i+1)},n),t(i,n)},get:function(e){return this.__loadList[e]}},log:function(e){var t=window.console||{log:function(){}};t.log(e)},Event:{mousewheel:function(e){var t=e.originalEvent,n=t.detail?-1*t.detail:t.wheelDelta/40,i=0>n?-1:1;return{direction:i,unit:n}},__:function(e,t,n,i){var o;for(o in e)if(window[e[o].validator]){t[e[o].validator](e[o].prefix+n,i,!1);break}},add:function(e,t,n){var i=[{validator:"addEventListener",prefix:""},{validator:"attachEvent",prefix:"on"}];this.__(i,e,t,n)},remove:function(e,t,n){var i=[{validator:"removeEventListener",prefix:""},{validator:"detachEvent",prefix:"on"}];this.__(i,e,t,n)}},getUid:function(e){return a.template("me-{0}{1}-{2}",e,(new Date).getTime(),a.__Index++)},Browser:{isTouch:function(){var e=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture;return"ontouchstart"in window||e||window.DocumentTouch?!0:!1},Prefix:function(){var e,t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"],n=document.createElement("div");for(e in t)if(void 0!==n.style[t[e]])return a.template("-{0}-",t[e].replace("Perspective","").toLowerCase())},parseURL:function(e){var t,n,i,o,a,r=document.createElement("a");return r.href=e,{source:e,protocol:r.protocol.replace(":",""),host:r.hostname,port:r.port,query:r.search,params:function(){for(t={},n=r.search.replace(/^\?/,"").split("&"),i=n.length,o=0,a;i>o;o++)n[o]&&(a=n[o].split("="),t[a[0]]=a[1]);return t}(),file:(r.pathname.match(/\/([^\/?#]+)$/i)||[null,""])[1],hash:r.hash.replace("#",""),path:r.pathname.replace(/^([^\/])/,"/$1"),relative:(r.href.match(/tps?:\/\/[^\/]+(.+)/)||[null,""])[1],segments:r.pathname.replace(/^\//,"").split("/")}}},Array:{indexOf:function(e,t){var n;for(n=0;n<e.length;n++)if(this[n]===t)return n;return-1},remove:function(e,t){var n=this.indexOf(e,t);return n>-1&&e.splice(n,1),e}}};i=function(e){this.initialized=!1,this.registerEvent={before:[],change:[],after:[]},this.options=e,this.init(e)},i.output=function(){a.log(a.list)},i.prototype.oninit=a.fn,i.prototype.init=function(e){this.initialized=!0,this.__Uid=a.getUid("me"),this.oninit(e),a.list[this.__Uid]=this},i.prototype.destory=function(){this.initialized=!1,delete a.list[this.__Uid]},i.prototype.getUid=function(){return this.__Uid},i.prototype.getOptions=function(){return this.options},i.prototype.config=function(){if(!(arguments.length>0))return this.options;if("string"==typeof arguments[0]){if(!(arguments.length>1))return this.options[name];this.options[arguments[0]]=arguments[1]}},i.prototype.on=function(e,t){var n=this,i=n.registerEvent[e];return i&&i.push(t),i},i.prototype.off=function(e,t){var n=this,i=n.registerEvent[e],o=[];a.each(i,function(e,n){n===t&&o.push(e)}),a.each(o.reverse(),function(e,t){i.splice(t,1)})},a.assembly=i,n.exports=a}),define("js/home/brands",["jquery","handlebars","source-map"],function(e,t,n){function i(e,t,n){var i,o=e,s={width:o.width(),left:o.offset().left,right:parseFloat(a(window).width())-parseFloat(o.offset().left)-parseFloat(o.width())};c.find(".brands-layer").remove(),i=r.compile(n),o.parent("li").find(".brands-dialog").html(i(t)),s.right-350<0&&o.parent("li").find(".brands-layer").addClass("brands-layer-right").css("left",-330-s.width)}var o,a=e("jquery"),r=e("handlebars"),s=a(".brands-tabs"),c=a(".brands-list"),l=a(".brands-category"),d=c.find("li>a"),u=l.find("a"),f=s.find("li>a"),p=s.find(".hoverarr"),h=u.height(),m=u.offset()?u.offset().top:0,g={},w='<div class="brands-layer">';w+=' <div class="layer-content">',w+=' <div class="title">{{title}}</div>',w+=' <div class="clearfix desc">',w+=' <img src="{{icon}}">',w+=' <p class="right">{{content}}</p>',w+=" </div> ",w+=' <div class="featured">',w+=" <p>{{subtitle}}</p> ",w+=' <div class="clearfix"> ',w+=" {{#each imgs}}",w+=' <img src="{{src}}">',w+=" {{/each}}",w+=" </div>",w+=" </div>",w+=" </div>",w+="</div>",a.easing.easeOutQuint=function(e,t,n,i,o){return i*((t=t/o-1)*t*t*t*t+1)+n},f.eq(0).parent("li").find(".brands-content").css("z-index","1"),f.hover(function(){var e=a(this);clearTimeout(o),o=setTimeout(function(){var t=parseFloat(e.offset().left)-parseFloat(s.offset().left);p.animate({left:t},200,"easeOutQuint")},200),s.find(".brands-content").removeAttr("style"),e.parent("li").find(".brands-content").css("z-index","1")},function(){clearTimeout(o)}),a(window).scroll(function(){a(this).scrollTop()>m?l.addClass("category-fix"):l.removeClass("category-fix")}),u.click(function(){var e=a(this).attr("href").split("#")[1],t=c.find("[name="+e+"]").offset().top-h;return a("html,body").animate({scrollTop:t},200),!1}),d.hover(function(){var e=a(this),t=e.attr("data-key"),n={url:"/brands/brandinfo",type:"get",success:function(t){200===t.code&&t.brand&&(g.hasOwnProperty(t.brand.key)||(g[t.brand.key]=t.brand),i(e,g[t.brand.key],w))}};clearTimeout(o),o=setTimeout(function(){g.hasOwnProperty(t)?i(e,g[t],w):a.ajax(n)},200)},function(){clearTimeout(o),c.find(".brands-layer").remove()})}),define("js/common/new-arrivls",["jquery","lazyload","handlebars","source-map"],function(e,t,n){function i(e){var t={index:0,isload:!0,isrun:!0,offset:{height:null,width:null}};return this.registerEvent={before:[],change:[],after:[]},this.options=o.extend(!0,{},t,e),this}var o=e("jquery"),a=e("lazyload"),r=e("handlebars");i.prototype.on=function(e,t){var n=this,i=n.registerEvent[e];return i&&i.push(t),i},i.prototype.exect=function(e,t){var n,i=this;if(i.registerEvent[e]&&i.registerEvent[e].length>0)for(n in i.registerEvent[e])i.registerEvent[e].hasOwnProperty(n)&&i.registerEvent[e][n](t)},i.prototype.init=function(){function e(){n.isrun&&n.isload&&t.__directionCalculation()&&(n.isload=!1,n.index++,t.exect("after",n)),t.exect("change",n)}var t=this,n=this.options;t.exect("before",n),o(window).scroll(e)},i.prototype.emit=function(){var e=this.options;e.isload=!0},i.prototype.stop=function(){var e=this.options;e.isrun=!1,e.isload=!1},i.prototype.__directionCalculation=function(){var e=this.options;return e.offset.height&&e.offset.height()>0&&o(window).scrollTop()+o(window).height()>=e.offset.height()?!0:!1},n.exports=function(e){var t,n=o("#newarrivals .goods-container"),s=o(".loading a"),c=new i({offset:{height:function(){return parseFloat(n.offset().top)+parseFloat(n.height())}}}),l=e.url;delete e.url,c.on("after",function(i){e=o.extend({},e,{pageIndex:i.index}),t={type:"POST",url:l,data:e,success:function(e){var t,i=e.code;200===i?(t=r.compile(c.tpl),n.append(t(e.goods)),a(n.find("img.lazy")),c.emit()):(c.stop(),s.html("查看更多"))},error:function(){c.stop(),s.html("网络断开连接了~")}},o.ajax(t)}),c.on("before",function(){c.tpl="{{#each this}}",c.tpl+='<div class="good-info" data-skn="{{skn}}">',c.tpl+=' <div class="tag-container clearfix">',c.tpl+=" {{# tags}}",c.tpl+=" {{# isNew}}",c.tpl+=' <span class="good-tag new-tag">NEW</span>',c.tpl+=" {{/ isNew}}",c.tpl+=" {{# isReNew}}",c.tpl+=' <span class="good-tag renew-tag">再到着</span>',c.tpl+=" {{/ isReNew}}",c.tpl+=" {{# isSale}}",c.tpl+=' <span class="good-tag sale-tag">SALE</span>',c.tpl+=" {{/ isSale}}",c.tpl+=" {{# isNewFestival}}",c.tpl+=' <span class="good-tag new-festival-tag">新品节</span>',c.tpl+=" {{/ isNewFestival}}",c.tpl+=" {{# isLimit}}",c.tpl+=' <span class="good-tag limit-tag">限量商品</span>',c.tpl+=" {{/ isLimit}}",c.tpl+=" {{# isYearEndPromotion}}",c.tpl+=' <span class="good-tag yep-tag">年终大促</span>',c.tpl+=" {{/ isYearEndPromotion}}",c.tpl+=" {{# isYearMidPromotion}}",c.tpl+=' <span class="good-tag ymp-tag">年中热促</span>',c.tpl+=" {{/ isYearMidPromotion}}",c.tpl+=" {{/ tags}}",c.tpl+=" </div>",c.tpl+=' <div class="good-detail-img">',c.tpl+=' <a class="good-thumb" href="{{url}}">',c.tpl+=' <img class="lazy" data-original="{{thumb}}">',c.tpl+=" </a>",c.tpl+=" {{# isFew}}",c.tpl+=' <p class="few-tag">即将售罄</p>',c.tpl+=" {{/ isFew}}",c.tpl+=" {{#if showColBtn}}",c.tpl+=' <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>',c.tpl+=" {{/if}}",c.tpl+=" </div>",c.tpl+=' <div class="good-detail-text">',c.tpl+=' <a href="{{url}}">{{name}}</a>',c.tpl+=' <p class="price">',c.tpl+=' <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">',c.tpl+=" ¥{{salePrice}}",c.tpl+=" </span>",c.tpl+=" {{# marketPrice}}",c.tpl+=' <span class="market-price">¥{{.}}</span>',c.tpl+=" {{/ marketPrice}}",c.tpl+=" </p>",c.tpl+=" </div>",c.tpl+="</div>",c.tpl+="{{/each}}",c.emit()}),c.init()}}); \ No newline at end of file +define("index",["jquery","handlebars","source-map","index","lazyload"],function(e,t,n){var i;e("js/common"),e("js/product/entry"),e("js/home/entry"),n.exports=i}),define("js/common",["jquery","handlebars","source-map","index"],function(e,t,n){function i(e){var t,n,i=document.cookie;return document.cookie&&""!==document.cookie&&(n=i.indexOf(e+"="),n>-1&&(n+=e.length+1,t=decodeURIComponent(c.trim(i.substring(n,i.indexOf(";",n)))))),t}function o(e,t,n){var i,o,a,s,r="";"undefined"!=typeof t&&(n=n||{},null===t&&(t="",n.expires=-1),n.expires&&("number"==typeof n.expires||n.expires.toUTCString)&&("number"==typeof n.expires?(s=new Date,s.setTime(s.getTime()+24*n.expires*60*60*1e3)):s=n.expires,r="; expires="+s.toUTCString()),i=n.path?"; path="+n.path:"",o=n.domain?"; domain="+n.domain:"",a=n.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(t),r,i,o,a].join(""))}function a(){var e,t=i("_UID");return"undefined"==typeof t?0:(e=t.split("::"),"undefined"==typeof e||e.length<4?0:e)}function s(){var e=a();return 0===e?0:e[1]}function r(){var e=i("_g");return"undefined"==typeof e?"":JSON.parse(e).k}var c=e("jquery");e("js/footer"),e("js/simple-header"),e("js/header"),window.cookie=i,window.setCookie=o,window.getUser=a,window.getUid=s,window.getShoppingKey=r}),define("js/footer",["jquery"],function(e,t,n){function i(){var e=r("#subscriber-box"),t=r("#subscriber-btn"),n=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/,i={method:"open.subscriber.subscriber",v:1,return_type:"jsonp",open_key:"12345"},o={mail:"",tick:""},a=r.trim(e.val()),s={};e.focus(function(){r(this).val("").css("color",""),t.removeClass("done").html(o.mail)}),t.click(function(){if(""!==a&&n.test(a)){r.extend(s,i,{email:a,tmp:Math.random(),uid:r.uid("_UID")});try{r.getJSON("http://test.open.yohobuy.com/?callback=?",s,function(n){1===n.data.result?(e.val("已订阅到:"+a),t.addClass("done").html(o.tick)):e.css("color","red")})}catch(c){console.log(c.message)}}else e.css("color","red")})}function o(){var e=r(".vote"),t=r("#feed-back-page"),n=e.children("li").length;t.on("click","span",function(){var t=r(this);t.hasClass("cur")||(t.siblings(".cur").removeClass("cur"),t.addClass("cur"),e.children().not(".hide").addClass("hide").end().eq(t.index()).removeClass("hide"))}),e.on("click",".feed-back-btn",function(){var i=r(this),o=i.closest("li"),a=o.index(),c={},l=[],d=o.find(".feedback-answer").val(),u=o.find(".feedback-id").val(),h=o.find(".question-id").val();o.find(":checked").each(function(){l.push(r(this).val())}),c={method:"open.feedback.submit",feedback:u||0,question:h||0,answer:d||"",solution:l.join(",")},r.getData(s,c,function(i){var s=a+1;if(1===i.result){if(a===n-1)return void alert("感谢您的参与!");o.addClass("hide"),e.eq(a+1).removeClass("hide"),t.children(".cur").removeClass("cur"),t.eq(s).addClass("cur")}})})}function a(){r(window).height()<r(document).height()?c.removeClass("hide"):c.addClass("hide")}var s,r=e("jquery"),c=r(".return-top");c.click(function(){r("html,body").animate({scrollTop:0},500)}),r(window).scroll(function(){0===r(window).scrollTop()?c.addClass("hide"):c.removeClass("hide")}),a(),c.hasClass("hide")&&r("img").load(a),i(),o(),window.rePosReturnTop=a}),define("js/simple-header",["jquery"],function(e,t,n){var i=e("jquery");i(".simple-header").size()>0&&i(".tool-options").on("mouseenter",function(){i(this).find(".tool-select").fadeIn()}).on("mouseleave",function(){i(this).find(".tool-select").fadeOut()})}),define("js/header",["jquery","handlebars","source-map","index"],function(e,t,n){function i(e){var t;200===+e.code&&"object"==typeof e.data&&(t='<a target="_blank" href="'+e.data.url+'" class="page-top-banner"style="height:50px;border:none;background-image:url('+window.unescape(e.data.src)+');background-position: center;display:block;background-color:#ff5409;"> </a>',F("body").prepend(t))}function o(e){200===+e.code&&(H=!0)}function a(){var e;H||(e='<div class="noticewrapper"><div class="noticecontainer"><h1 class="noticetitle">关于系统升级的公告</h1><div class="noticecontent"><p class="tips">尊敬的顾客:</p><p class="detail">您好!为了向您提供更优质的服务,目前系统正在升级,请耐心等待。</p><p class="detail">系统升级期间,部分地区用户体验会有暂时中断,如遇紧急事宜,欢迎垂询客服热线:400-889-9646 09:00-22:30(周一至周日)。稍后系统将恢复正常</p><p class="detail">使用,欢迎您继续光顾YOHO!BUY有货!带来不便之处深表歉意,请您谅解!</p></div></div></div>',F(".header-topwrapper").append(e))}function s(e){var t=document.createElement("script");t.src="http://new.yohobuy.com/resource/getbanner?content_code="+e+"&client_type=web&callback=JsonPCallBack",document.getElementsByTagName("head")[0].appendChild(t)}function r(e){var t=document.createElement("script");t.src="http://new.yohobuy.com/resource/getbanner?content_code="+e+"&client_type=web&callback=NoticeCallBack",document.getElementsByTagName("head")[0].appendChild(t),window.setTimeout(a,5e3)}function c(e,t){var n,i;F(e).hover(function(e){e.preventDefault(),n=F(this),i=F(t)[0],""===i.style.display?(n.addClass("acttags"),i.style.display="block"):(n.removeClass("acttags"),i.style.display="")})}function l(){var e,t,n=[{sourceClass:".myyoho",targetClass:".myyoho-info"},{sourceClass:".phone",targetClass:".qr"}];for(t=0;t<n.length;t++)e=n[t],c(e.sourceClass,e.targetClass)}function d(){var e;F(".yohogroup").mouseenter(function(){e=F(this),e.text(e.attr("cn"))}),F(".yohogroup").mouseleave(function(){e=F(this),e.text(e.attr("en"))})}function u(){var e,t,n=["webkit","moz","ms"];for(t=0;t<n.length;t++)return e=n[t]+"RequestAnimationFrame",window[e]?!0:!1}function h(){var e=["webkit","moz","ms"],t=e[0]+"RequestAnimationFrame",n=e[1]+"RequestAnimationFrame",i=e[2]+"RequestAnimationFrame";return window[t]?function(e){window[t](e)}:window[n]?function(e){window[n](e)}:window[i]?function(e){window[i](e)}:function(e){window.setTimeout(e,67)}}function f(){window.start+=10,window.$logotrans.css({transform:"rotateX("+window.start+"deg)","-webkit-transform":"rotateX("+window.start+"deg)","-moz-transform":"rotateX("+window.start+"deg)"}),window.start/90%2===1&&(window.isen?(window.$logotrans.css("background-image","url(http://static.yohobuy.com/newheader/img/logo1.png)"),window.isen=!1):(window.$logotrans.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),window.isen=!0)),window.start/90%2===0&&window.start%360!==0?window.setTimeout(f,3e3):window.start%360===0?window.setTimeout(f,6e4):window.requestFrame(function(){f()})}function p(){window.globaltimeout&&window.clearTimeout(window.globaltimeout),window.$logotrans.fadeOut(window.loopdurationtime,function(){window.isen=!1,window.$logotrans.css("background-image","url(http://static.yohobuy.com/newheader/img/logo.png)"),window.$logotrans.fadeIn(window.loopdurationtime,function(){window.onetimeoout=window.setTimeout(function(){window.$logotrans.fadeOut(window.loopdurationtime,function(){window.clearTimeout(window.onetimeoout),window.isen=!0,window.$logotrans.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),window.$logotrans.fadeIn(window.loopdurationtime,function(){window.globaltimeout=window.setTimeout(p,6e4)})})},3e3)})})}function m(){u()?window.setTimeout(f,3e3):window.setTimeout(p,3e3)}function g(){var e=F("#nav_keyword").text(),t="vans",n=F("#query_key");""!==e?(n.css({color:"#000"}),n.val(e)):(n.css({color:"#e0e0e0"}),n.val(t),n.on("focus",function(e){n.css({color:"#000"}),n.val("")}))}function w(e,t,n){try{window.dataLayer.push({louceng:e,weizhi:t,event:n})}catch(i){}}function y(){var e=F.cookie("_Gender"),t=F(".cure");"undefined"!=typeof e&&""!==e&&F.setcookie("_Gender",1,{path:"/",domain:".yohobuy.com",expires:7}),"男生"===t.find(".name-cn a").text()&&(F.setcookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:7}),F.setcookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7})),"女生"===t.find(".name-cn a").text()&&(F.setcookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:7}),F.setcookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})),"创意生活"===t.find(".name-cn a").text()&&F.setcookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),"潮童"===t.find(".name-cn a").text()&&F.setcookie("_Channel","kids",{path:"/",domain:".yohobuy.com",expires:7})}function v(){var e,t,n,i=document.cookie,o=i.split(";");for(e=0;e<o.length;e++)t=o[e].split("="),n=t[0].replace(/\s/g,""),window.cookieMap[n]=t[1]}function b(){var e;F(".first-nav-item").click(function(){e=F.cookie("_Gender"),"undefined"!=typeof e&&""!==e&&F.setcookie("_Gender",1,{path:"/",domain:".yohobuy.com",expires:7}),"男生"===F(this).find(".name-cn a").text()&&(F.setcookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:7}),F.setcookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7})),"女生"===F(this).find(".name-cn a").text()&&(F.setcookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:7}),F.setcookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})),"创意生活"===F(this).find(".name-cn a").text()&&F.setcookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),"潮童"===F(this).find(".name-cn a").text()&&F.setcookie("_Channel","kids",{path:"/",domain:".yohobuy.com",expires:7})}),F("#backToOld").click(function(){F.setcookie("_New",1,{path:"/",domain:".yohobuy.com"}),location.href="http://www.yohobuy.com"})}function k(){F("#miniCartBox").miniCart({cartNum:".ic-infomation"})}function x(){var e,t,n;F.getData(Y,{method:"open.Shoppingcart.getCartData",shopping_key:F.getShoppingKey()},function(i){""===window.cartTpl&&(window.cartTpl=D.compile(F("#mini-cart-tpl").html())),F("#miniCartBox").children(".gobuy-wrapper").html(window.cartTpl({carData:i})),0===parseInt(F(".ic-infomation").html())&&F("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>'),F("#miniCartBox .goods-list li").length<1&&(e=F.cookie("_g"),t=L.parse(e),null!==t&&(n='{"_k":"'+t._k+'","_nac":0,"_ac":0,"_r":0}',F.setcookie("_g",n,{path:"/",domain:".yohobuy.com"})),F(".ic-infomation").html(0),F("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>'))})}function _(e,t){F.getData(Y,{method:"open.Shoppingcart.delone",shopping_key:F.getShoppingKey(),id:e,isreduce:t},function(e){var t=F.cookie("_g"),n=L.parse(t),i='{"_k":"'+n._k+'","_nac":'+e.total_goods_num+',"_ac":0,"_r":0}';F.setcookie("_g",i,{path:"/",domain:".yohobuy.com"}),x(),k()})}function C(){var e,t,n;F(document).on("click",".goodscardelete",function(i){e=F(this),t=e.attr("goodsid"),n=e.attr("cheapest"),_(t,n)})}function j(){var e;F(document).on("click",".mycart_i_down",function(t){e=F(this),e.toggleClass("mycart_i_up"),F("#mycartmore").slideToggle(300)})}function q(){var e,t="http://www.yohobuy.com/shopping/cart";F("#miniCartBox").on("click",function(n){e=F(n.target),e.hasClass("gobuy")&&(window.location.href=t)})}function T(e){1===e?(F("#miniCartBox").addClass("list-cur"),F(".gobuy-wrapper").show(),0!==parseInt(F(".ic-infomation").html())?(F("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-loading"><h3 class="information">加载中,请稍后</h3></div>'),x()):F("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>')):(F("#miniCartBox").removeClass("list-cur"),F(".gobuy-wrapper").hide())}function $(){var e;F("#miniCartBox").mouseenter(function(t){e=F(t.target),("miniCartBox"===e.attr("id")||"ic-infomation"===e.attr("class"))&&T(1)}),F("#miniCartBox").mouseleave(function(e){T(0)})}function S(){var e,t="indexkids",n="indexlifestyle",i="indexboys",o="indexgirls",a="uniquebrand",c=window.location.href,l=window.location.host,d="";-1!==c.indexOf("search")&&(d=window.bannerMap["search"+window.cookieMap._Channel]),-1!==c.indexOf("list")&&(d=window.bannerMap["list"+window.cookieMap._Channel]),-1!==c.indexOf("brands")&&(d=window.bannerMap["brands"+window.cookieMap._Channel]),-1!==c.indexOf("new")&&(d=window.bannerMap["new"+window.cookieMap._Channel]),-1!==c.indexOf("sale")&&(d=window.bannerMap["sale"+window.cookieMap._Channel]),-1!==c.indexOf("home")&&(d=window.bannerMap["home"+window.cookieMap._Channel]),-1!==c.indexOf("kids")&&(d=window.bannerMap[t]),-1!==c.indexOf("woman")&&(d=window.bannerMap[o]),-1!==c.indexOf("lifestyle")&&(d=window.bannerMap[n]),-1!==c.indexOf("www.yohobuy.com")&&"/"===window.location.pathname&&(d=window.bannerMap[i]),e=l.split(".")[0],"list"!==e&&"search"!==e&&"www"!==e&&"new"!==e&&"item"!==e&&"guang"!==e&&(d=window.bannerMap[a+window.cookieMap._Channel]),s(d),r(d)}function I(e){F(".hot-brands").find("ul").stop().animate({opacity:0,"z-index":1},200).eq(e).animate({opacity:1,"z-index":2},200)}function z(){var e,t=0;F(".hot-brands").size()>0&&(e=F(".hot-brands").find("ul").size(),F(".hot-brands").find("ul").eq(0).css({opacity:1,"z-index":2}),F(".brands-control").on("click",".next",function(){t===e-1?t=0:t++,I(t)}),F(".brands-control").on("click",".prev",function(){0===t?t=e-1:t--,I(t)}))}function O(){setInterval(k,2e3)}function E(){var e=F("#goodcartempwarpper").html().replace(/\\/g,"");F("#goodcartempwarpper").html(e),R=D.compile(F("#tmpl-my-login-new").html())}function M(){var e="http://search.yohobuy.com/api/suggest";F("#query_key").search(e)}function B(e){var t=(new Date).getTime(),n='<span>Hi~</span>[<a href="http://www.yohobuy.com/signin.html" class="list-a login-out ">请登录</a>] [<a href="http://www.yohobuy.com/reg.html" class="list-a login-out" onclick="">免费注册</a>]',i='<span>Hi~<a href="http://www.yohobuy.com/home?t='+t+'">{{user_name}}</a></span> {{#equalone islogin}}[<a href="{{logout}}" class="list-a login-out">退出</a>]{{else}}[<a href="http://www.yohobuy.com/signin.html" class="list-a login-out">请登录</a>] [<a href="http://www.yohobuy.com/reg.html" onclick="" class="list-a login-out">免费注册</a>]{{/equalone}}',o=F("#loginBox"),a=F.cookie("_UID")||"",s=e.data.profile_name||"",r=0,c=0,l="",d=a.split("::")||"",u=d[0]||" ",h="",f="1",p=0,m={user_name:s,logout:h,random:Math.random()};if(A=D.compile(i),"undefined"==typeof a||null===a)return o.html(n),!1;if("undefined"==typeof d||d.length<4)return o.html(n),!1;for(c;c<u.length;c++)l=u.substr(c,1),r+=/.*[\u4e00-\u9fa5]+.*$/.test(l)?2:1;if(10>=r)s=u;else{for(p=0,c;c<u.length;c++)10>p&&(l=u.substr(c,1),"*"!==l&&(p+=/.*[\u4e00-\u9fa5]+.*$/.test(l)?2:1),s+=l);s.length<u.length&&(s+="...")}h=/http:\/\//.test(d[3])?d[3].replace("www.yohobuy.com","www.yohobuy.com"):"http://www.yohobuy.com/logout_"+d[3]+".html",-1===e.result&&(f="-1"),m.islogin=f,o.html(A(m))}function N(e){var t=e.data,n="";if(1===e.result){if(void 0===typeof t||t.length<1)return!1;F("#myYohoBox").mouseenter(function(){return F(this).addClass("acttags"),F("#myYohoBox .myyoho-info").show().html(R(t)),n=F(".myyoho-photo img").attr("data-url"),1===F._checkUrlState?void F(".myyoho-photo").show().find("img").attr("src",n):void(""!==n&&""===F._checkUrl&&F.ajax({url:n,type:"GET",complete:function(e){(200===e.status||0===e.status)&&(F(".myyoho-photo").show().find("img").attr("src",n),F._checkUrlState=1),F._checkUrl=n}}))}),F("#myYohoBox").mouseleave(function(){F(this).removeClass("acttags"),F("#myYohoBox .myyoho-info").hide()})}}function P(){var e={method:"open.passport.get"};F.getData(Y,e,function(e){B(e),N(e)})}function U(){E(),y(),v(),d(),l(),m(),S(),z(),g(),b(),$(),k(),O(),M(),q(),C(),j(),P()}var F=e("jquery"),D=e("handlebars"),L=e("index"),H=!1,R=null,A=null,Y="http://api.open.yohobuy.com";D.registerHelper("equalone",function(e,t){return"1"===e?t.fn(this):t.inverse(this)}),D.registerHelper("equallevelthree",function(e,t){return"3"===e?t.fn(this):t.inverse(this)}),D.registerHelper("equalzero",function(e,t){return"0"===e?t.fn(this):t.inverse(this)}),e("plugin/yohocookie"),e("plugin/yohocart"),window.JsonPCallBack=i,window.NoticeCallBack=o,window.requestFrame=h(),window.start=0,window.$logotrans=F(".icon-logo"),window.isen=!0,window.loopdurationtime=500,window.globaltimeout,window.onetimeoout,window.dataLayer=[],window.reg=/^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/\s]{0,}$/g,window.keyword="",window.link="",window.submitSearch=function(){var e,t,n=F("#query_key").val(),i="Search",o="Head Search",a="Search";if(e=F.trim(window.keyword.toLowerCase()),t=F.trim(n.toLowerCase()),w(i,o,a),""!==window.link&&""!==window.keyword&&e===t)location.href=window.link.replace("'","");else{if(!window.reg.test(n))return F("#searchForm").submit(),!1;location.href="http://search.yohobuy.com/error?query="+n+"&result=error"}},window.bannerMap={listboys:"4f78b0f418fc42314d8b6e791cfb7fa8",listgirls:"00c1f025a51b6b597dc37925951ea27d",listkids:"b02df11184727701ade1b6de9737d08c",listlifestyle:"fd35c52dced0c880976ba858346d1fc5",searchboys:"9fb8986ea700cc27a8057361c3924394",searchgirls:"e3e207a1443ca60c8037fe52a5560c18",searchkids:"620fc77f479da8feaeb06f2324e5d0bb",searchlifestyle:"a3c93301c6ffaf3ed0f36a4a451be36d",uniquebrandboys:"2ebb0810c0d1a67e5229149c9c3aba7d",uniquebrandgirls:"99e23385f4ba4b65f406b7e2968ac821",uniquebrandkids:"a74ebc9b17840c91b9ea46568111fe6b",uniquebrandlifestyle:"0e8c81ead53f56302baa4d0ad967f527",brandsboys:"77b352db07129c76a9d532acad149f9f",brandsgirls:"bf047f16e52ebc38be5ce9c7623831e6",brandskids:"e3ae1ce9b5e13c6d271ef3eccb831652",brandslifestyle:"e4ac8029c30f65d7f1af030980d140fe",newboys:"869d3c5f3b450fb52101d00a61ce87cb",newgirls:"d953b6dfdac02483d1dcce8d96055954",newkids:"0874cb6d75df8e0e78f2d475e53ecc08",newlifestyle:"43e8fc8e178115c262bbce2bd0012db7",saleboys:"c846e3165c994769b4201d8c32f3ae9b",salegirls:"52b1d389edcbc62d65de71b80c4d6ad0",salekids:"ad8b1703c761ba00973868ab5199cc27",salelifestyle:"7acc64905c70ac91846f43fb2cec4bbd",homeboys:"b0856a771ef1b59ab1234c74688fa42d",homegirls:"2bd61fa12e4933211518f70fe5ce3c48",homekids:"895c59e8c64b40399c9533509507320c",homelifestyle:"2e037d4e25d2767352ca3e0a4627f7bd",indexboys:"0c911d3000f52e8ca7cffb74f5864c29",indexgirls:"b645b8980c423ab30485e0a9d08c2ef7",indexkids:"17f6d5d5d454d2c507bc5fcbc90f7756",indexlifestyle:"735cd393e841762af8793c346abbbc36"},window.cookieMap={},U()}),define("plugin/yohocookie",["jquery"],function(e,t,n){var i=e("jquery");!function(e){e.extend({cookie:function(e){var t=null;if(document.cookie&&""!=document.cookie)for(var n=document.cookie.split(";"),o=0;o<n.length;o++){var a=i.trim(n[o]);if(a.substring(0,e.length+1)==e+"="){t=decodeURIComponent(a.substring(e.length+1));break}}return t},setcookie:function(e,t,n){var i="";if("undefined"!=typeof t){if(n=n||{},null===t&&(t="",n.expires=-1),n.expires&&("number"==typeof n.expires||n.expires.toUTCString)){var o;"number"==typeof n.expires?(o=new Date,o.setTime(o.getTime()+24*n.expires*60*60*1e3)):o=n.expires,i="; expires="+o.toUTCString()}var a=n.path?"; path="+n.path:"",s=n.domain?"; domain="+n.domain:"",r=n.secure?"; secure":"";document.cookie=[e,"=",encodeURIComponent(t),i,a,s,r].join("")}}})}(i)}),define("plugin/yohocart",["jquery"],function(require,exports,module){var jQuery=require("jquery"),$yohocookie=require("plugin/yohocookie");!function($){$.fn.miniCart=function(options){var defaults={cookie:"_g",cartNum:""},params=$.extend(defaults,options),cartInfo=eval("("+$.cookie(params.cookie)+")");if(null!=cartInfo){var totalNum=parseInt(cartInfo._nac)+parseInt(cartInfo._ac);0==totalNum?$("#icart-num").attr("class","icart-num icart-none"):$("#icart-num").attr("class","icart-num"),$(params.cartNum).html(totalNum)}},$.fn.search=function(e){function t(t){var n=$.trim($(t).val());return n=n.replace(new RegExp("'","gm"),""),""==n?($(".search-list").hide(),!1):(n=encodeURI(n),void $.get(e+"?callback=?&query="+n,function(e){$(".search-list").html(e.data),i=$(".search-list").children("li").length,o=-1,i>0?$(".search-list").show():$(".search-list").hide(),$(".search-list").find("a").hover(function(){$(this).css("background-color","#eee")},function(){$(this).css("background-color","#fff")})},"jsonp"))}function n(e){$(".search-list li:eq("+a+")").children("a").css("background-color","#fff"),$(".search-list li:eq("+o+")").children("a").css("background-color","#eee");var t=$(".search-list li:eq("+o+")").children("a").attr("title");$("#query_key").val(t)}var i=0,o=0,a=0;return this.each(function(){$(this).keyup(function(e){if(38==e.which){if(0==i)return!1;-1==o&&(o=0),a=o,o=(o-1+i)%i,n(this)}else if(40==e.which){if(0==i)return!1;a=o,o=(o+1)%i,n(this)}else 13==e.which?submitSearch():t(this)})})},$.extend({getData:function(domain,options,onSuccess){var defaults={page:1,method:"",v:1,return_type:"jsonp",open_key:"12345",tmp:Math.random()};if(void 0==typeof domain||""==domain)return console.log("请设置请求的api地址"),!1;var params=$.extend(defaults,options);if(params.page=params.page||1,""==params.method)return console.log("请设置请求的URL"),!1;try{$.getJSON(domain+"/?callback=?",params,function(_data){return""!=onSuccess?(eval(onSuccess(_data.data)),!1):void 0})}catch(e){console.log(e.message)}},getShoppingKey:function(){var shoppingInfo=$.cookie("_g");if("undefined"==typeof shoppingInfo||null==shoppingInfo)return"";var shoppingData=eval("("+shoppingInfo+")");return shoppingData._k}})}(jQuery),exports.init=function(){}}),define("js/product/entry",["jquery","lazyload","handlebars","source-map"],function(e,t,n){e("js/product/list"),e("js/product/hotrank")}),define("js/product/list",["jquery","lazyload"],function(e,t,n){e("js/product/filter"),e("js/product/sort-pager"),e("js/product/product")}),define("js/product/filter",["jquery"],function(e,t,n){function i(e){e.removeClass("checked").html(w.unchecked)}function o(){v.addClass("hide"),b.removeClass("hide")}function a(){b.addClass("hide"),v.removeClass("hide")}function s(e,t){var n,i=decodeURIComponent(window.location.search),o=e+"="+t;n=""===i?"?"+o:i+"&"+o,window.location.href=n}function r(e){T.children(".senior-sub:eq("+m+")").addClass("hide"),$.children(".attr:eq("+m+")").removeClass("hover"),m=-1}var c,l,d,u,h,f,p,m,g=e("jquery"),w={unchecked:"",checked:""},y={up:"",down:""},v=g(".brand .default"),b=g(".brand .brand-panel"),k=g(".brand .attr"),x=g("#brand-more"),_=g("#brand-multi"),C=g(".ud-price-range"),j=/^\d+$/,q=g(".sort-sub-wrap"),T=g(".senior-sub-wrap"),$=g(".senior-attr-wrap");g(".filter-box").on("selectstart",".attr, .brands-index span",function(){return!1}),g(".sort-pre").on("click","li",function(){var e=g(this),t=e.index();e.siblings(".active").removeClass("active"),e.addClass("active"),q.children(":not(.hide)").addClass("hide"),q.children(":eq("+t+")").removeClass("hide")}),x.length>0&&(c=x.children("em"),l=x.children(".iconfont")),_.click(function(){"none"===b.css("display")&&o(),b.addClass("multi"),g(this).addClass("hide")}),x.click(function(){var e=g(this);e.hasClass("more")?(a(),c.text("更多"),l.html(y.down)):(o(),c.text("收起"),l.html(y.up)),g(this).toggleClass("more")}),g(".brands-index").on("click","span",function(){var e=g(this),t=e.data("index");0===e.index()?k.removeClass("hide"):k.addClass("hide").filter("[data-index="+t+"]").removeClass("hide")}),g("#brand-search-input").keyup(function(){var e=g(this).val().toLowerCase();""===e?k.removeClass("hide"):k.addClass("hide").filter("[data-key*="+e+"]").removeClass("hide")}),g("#brand-multi-ok").click(function(){var e="";g(this).hasClass("dis")||(b.find(".checked").each(function(){var t=g(this).data("id");e+=""===e?t:","+t}),s("brand",e))}),g(".multi-select-cancel").click(function(){var e=g(this).closest(".multi");e.hasClass("brand-panel")&&(a(),_.removeClass("hide")),e.removeClass("multi"),i(e.find(".checkbox.checked"))}),g(".check-container").on("click",".attr",function(){var e=g(this),t=e.find(".checkbox"),n=e.parent(".check-container").next(".btns").find(".multi-select-ok");t.toggleClass("checked"),t.hasClass("checked")?t.html(w.checked):t.html(w.unchecked),t.hasClass("checked")||e.siblings(".attr").find(".checked").length>0?n.removeClass("dis"):n.addClass("dis")}),g(".brand, .senior").on("click",".attr > a",function(e){g(this).closest(".multi").length>0&&e.preventDefault()}),C.length>0&&(d=C.find(".limit"),u=d.filter(".min"),h=d.filter(".max"),f=C.find(".price-sure"),d.keyup(function(){var e=g.trim(u.val()),t=g.trim(h.val()),n=j.test(e),i=j.test(t);i&&(""===e||n)||n&&(""===t||i)?f.removeClass("hide"):f.addClass("hide")}),f.click(function(){var e,t=g.trim(u.val()),n=g.trim(h.val());""!==t&&""!==n&&+t>+n&&(e=n,n=t,t=e),s("price",t+","+n)})),$.on("mouseenter",".attr",function(){var e=g(this).addClass("hover").index();T.children(".senior-sub:eq("+e+")").removeClass("hide")}).on("mouseleave",".attr",function(){var e=g(this),t=e.index();m=t,p=setTimeout(function(){r()},100)}),g(".senior-sub").on("click",".multi-select",function(){g(this).closest(".senior-sub").addClass("multi")}).on("click",".multi-select-ok",function(){var e=g(this),t=e.closest(".senior-sub"),n="";e.hasClass("dis")||(t.find(".checked").each(function(){var e=g(this).data("id");n+=""===n?e:","+e}),s(t.data("attr"),n))}).on("mouseenter",function(){clearTimeout(p)}).on("mouseleave",function(){r()})}),define("js/product/sort-pager",["jquery"],function(e,t,n){var i=e("jquery"),o=i("#count-per-page"),a=o.next("ul"),s=200;i(document).click(function(e){i(e.target).closest(".page-count").length>0||a&&a.slideUp(s)}),o.click(function(){"none"===a.css("display")?a.slideDown(s):a.slideUp(s)})}),define("js/product/product",["jquery","lazyload"],function(e,t,n){var i,o=e("jquery"),a=e("lazyload"),s=e("js/common/product-event"),r=o(".goods-container"),c=r.find(".good-info"),l=r.find(".good-item-wrapper"),d=r.find(".good-info-main"),u=r.find(".good-select-color"),h=o(".product-list-nav");a(o("img.lazy")),t.init=function(e){function t(e){var t,n,i,o="",a=e.length,s=4,r=Math.ceil(a/s),c=0;for(t=0;r>t;t++)for(o+="<ul>",n=0;s>n&&(i=t*s+n,i!==a);n++)o+='<li><a href="'+e[t*s+n].url+'"><img src="'+e[t*s+n].src+'" data-cover="'+e[t*s+n].coverImg+'" /></a></li>',n===s-1&&(o+="</ul>",c++);return r>c&&(o+="</ul>"),{colorListStr:o,ulNum:r}}i=null,c.unbind(),i=s(c,e),i.addHandler("MouseEnter",function(e){var n,i,a,s,c,h,f,p,m=10,g=35,w="";d.html(""),u.html(""),l.css({display:"none"}),o.ajax({type:"POST",url:"/product/list/getProductPic",dataType:"json",data:{skn:e.target.attr("data-skn")}}).then(function(y){w=t(y).colorListStr,n=t(y).ulNum,d.append(e.targetDuplicate),u.append(o(w)),h=l.css("paddingLeft"),f=l.css("paddingTop"),p=r.css("paddingTop"),i=l.width(),s=(e.targetX-1)*(e.targetWidth+m)-(parseInt(h)+1),c=(e.targetY-1)*(e.targetHeight+g)+parseInt(p)-(parseInt(f)+1),a=e.offsetR-(65*n+25),0>=a&&(s=s+a-25),l.css({width:i,left:s,top:c,display:"inline-block"})})}),l.mouseleave(function(){d.html(""),u.html(""),l.css({display:"none"})})},o(document).on("hover",".good-select-color li",function(){var e=o(this).find("img").attr("data-cover"),t=o(this).closest(".good-item-wrapper").find(".good-detail-img").find("img");t.attr("src",e)}),h.click(function(){o(this).hasClass("active")?o(this).find(".sort-child-list").stop(!0,!0).slideUp():o(this).find(".sort-child-list").stop(!0,!0).slideDown(),o(this).toggleClass("active")})}),define("js/common/product-event",["jquery"],function(e,t,n){function i(){this.handlers={}}var o=e("jquery");i.prototype={constructor:i,addHandler:function(e,t){"undefined"==typeof this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t)},fire:function(e){var t,n;if(e.target||(e.target=this),this.handlers[e.type]instanceof Array)for(t=this.handlers[e.type],n=0;n<t.length;n++)t[n](e)},removeHandler:function(e,t){var n,i;if(this.handlers[e]instanceof Array){for(n=this.handlers[e],i=0;i<n.length&&n[i]!==t;i++);n.splice(i,1)}}},n.exports=function(e,t){function n(e){var n,i=0,l=0,d=t,u=0,h="",f=0,p=0;switch(e.type){case"mouseenter":n=o(this),h=n.clone(),u=n.index()+1,i=u%d===0?d:u%d,l=Math.ceil(u/d),f=n.offset().left,p=c-(f+s),a.fire({type:"MouseEnter",target:n,targetWidth:s,targetHeight:r,targetX:i,targetY:l,rowWidth:d,activeIndex:u,targetDuplicate:h,offsetL:f,offsetR:p});break;case"mouseleave":a.fire({type:"MouseLeave"})}}var a=new i,s=e.eq(0).width(),r=e.eq(0).height(),c=o(window).width();return e.bind("mouseenter",n),a}}),define("js/product/hotrank",["jquery","handlebars","source-map","lazyload"],function(e,t,n){var i=e("jquery"),o=e("handlebars"),a=e("lazyload");e("js/common/slider"),e("js/common/logo-brand"),a(i("img.lazy")),i(".slide-container").slider(),i(".logo-brand").logoBrand({showNum:10,url:"./getBrand"}),function(e){function t(t,n){var c={};c=n?{sid:t,page:n}:{sid:t},e.ajax({type:"GET",dataType:"json",url:"/hotrank/getdata",data:c,success:function(t){var c;200===t.code&&(c={list:t.data},s=o.compile(i),n?(e(".hot-week-list").append(s(c)),r.css({position:"fixed",marginTop:-r.height()/2,top:"50%"})):e(".hot-week-list").html(s(c)),a(e("img.lazy")),u=!1)}})}var n,i,s,r=e(".hot-week").find(".floatlayer"),c=e(".hot-cate").find("li").eq(0).data("sid"),l=1,d=0,u=!1;i='{{# list}}<div class="good-info"><div class="item-img"><a class="good-thumb" target="_blank" href="{{url}}"><img class="lazy" data-original="{{img}}"></a></div><div class="good-detail-text"><a target="_blank" href="{{url}}">{{name}}</a><p class="price"><span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">¥{{salePrice}}</span>{{# marketPrice}}<span class="market-price">¥{{.}}</span>{{/ marketPrice}}</p></div></div>{{/ list}}',e(window).on("scroll",function(){var i=n+e(".hot-week").outerHeight();n=e(".hot-week").offset().top,e(this).scrollTop()>=n-e(window).height()/2?r.offset().top+r.outerHeight()>=i?r.css({position:"absolute",marginTop:0,top:e(".hot-week").outerHeight()-r.outerHeight()}):r.css({marginTop:-r.height()/2}).stop().animate({opacity:1},200,function(){r.show()}):r.stop().animate({opacity:0},200,function(){r.hide()}),r.offset().top>=e(this).scrollTop()+(e(window).height()-r.outerHeight())/2&&r.css({position:"fixed",marginTop:-r.height()/2,top:"50%"}),e(this).scrollTop()>=n+e(".hot-week").height()-e(window).height()&&(u||(l++,u=!0,t(c,l)))}),e(".hot-cate").find("li").each(function(t){var n=e(".hot-cate").width();n>=d&&(d+=e(this).width(),d>=n&&e(".floatlayer").find("li").eq(t).hide().nextAll().hide())}),e(".hot-cate").on("click","li",function(){var i=e(this).index(),o=e(this).data("sid");e(this).addClass("current").siblings().removeClass("current"),e(".floatlayer").find("li").removeClass("current").eq(i).addClass("current"),e("body,html").stop().animate({scrollTop:n-110},500),t(o),l=1}),e(".floatlayer").on("click","li",function(){var t=e(this).index();e(".hot-cate").find("li").trigger("click"),e(this).addClass("current").siblings().removeClass("current"),e(".hot-cate").find("li").removeClass("current").eq(t).addClass("current")}),e(".hot-cate").find("li").eq(0).addClass("current"),e(".floatlayer").find("li").eq(0).addClass("current")}(i)}),define("js/common/slider",["jquery","lazyload"],function(e,t,n){var i=e("jquery"),o=e("lazyload");!function(e){var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.slider.defaults,n),this.bigItem=this.$element.find(".slide-wrapper").find("li"),this.smallItem=null,this.len=this.bigItem.size(),this.index=0,this.timer=null,this.init()};t.prototype={init:function(){return this.len<=1?void o(this.$element.find("img.lazy")):(this.options.pagination?this.smallItem=e(this.options.pagination).find("li"):this._createPage(),this.options.orient&&this._createOrient(),this._slideShow(),this._bindEvent(),void this._autoplay())},_createOrient:function(){var e='<div class="slide-switch"><a class="prev" href="javascript:;"><span class="iconfont"></span></a><a class="next" href="javascript:;"><span class="iconfont"></span></a></div>';this.$element.find(".slide-switch").length>0||this.$element.append(e)},_createPage:function(){var t='<div class="slide-pagination"><div class="slide-pagination-inner"><div class="slide-shade"></div><div class="slide-pagination-last">',n=0;if(!(this.len<=1)){for(n=0;n<this.len;n++)t+="<span></span>";t+="</div></div></div>",this.$element.append(e(t)),this.smallItem=e(".slide-pagination-inner").find("span")}},_bindEvent:function(){var t=this;this.$element.find(".slide-switch").on("click",".next",function(){t._nextSlide(),clearInterval(t.timer),t.timer=setInterval(function(){t._nextSlide()},t.options.time); +}).on("click",".prev",function(){t._prevSlide(),clearInterval(t.timer),t.timer=setInterval(function(){t._nextSlide()},t.options.time)}),this.smallItem.on("mouseenter",function(){t.index=e(this).index(),clearInterval(t.timer),t._slideShow()}).on("mouseleave",function(){t._autoplay()}),this.$element.on("mouseenter",function(){e(this).find(".slide-switch").addClass("show")}).on("mouseleave",function(){e(this).find(".slide-switch").removeClass("show")})},_nextSlide:function(){this.index===this.len-1?this.index=0:this.index++,this._slideShow()},_prevSlide:function(){0===this.index?this.index=this.len-1:this.index--,this._slideShow()},_slideShow:function(){var e=this.bigItem.eq(this.index).find("img.lazy");e.attr("src")!==e.data("original")&&(o(e,{event:"sporty"}),e.trigger("sporty")),this.smallItem.eq(this.index).addClass("focus").siblings().removeClass("focus"),this.bigItem.eq(this.index).fadeIn().siblings().fadeOut()},_autoplay:function(){var e=this;clearInterval(this.timer),this.timer=setInterval(function(){e._nextSlide()},this.options.time)}},e.fn.slider=function(n){return this.each(function(){var i=e(this),o=i.data("Slider"),a="object"==typeof n&&n;o||i.data("Slider",o=new t(this,a)),"string"==typeof n&&o[n]()})},e.fn.slider.Constructor=t,e.fn.slider.defaults={time:5e3,orient:!0,pagination:null}}(i)}),define("js/common/logo-brand",["jquery","handlebars","source-map","lazyload"],function(e,t,n){var i=e("jquery"),o=e("handlebars"),a=e("lazyload");!function(e){var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.logoBrand.defaults,n),this.init()};t.prototype={init:function(){this.$element.addClass("logos-"+this.options.showNum),this._sendRequest()},_createHelper:function(){var e=this.options.showNum;o.registerHelper("brandList",function(t,n){var i="<ul>",o=0,a=null,s=0;if(t.length%e!==0)for(s=e-t.length%e,o=0;s>o;o++)t.push({href:"javascript:;",img:""});for(o=0;o<t.length;o++)a=n.fn(t[o]),i=o%e===5||5===o?i+'<li class="logo-brand-switch" data-page="'+Math.floor(o/e)+'"><a class="prev iconfont" href="javascript:;"></a><a class="next iconfont" href="javascript:;"></a></li><li data-page="'+Math.floor(o/e)+'">'+a+"</li>":0!==o&&o%e===0?i+'<li class="brand-more" data-page="'+Math.floor(o/(e+1))+'"><a href="javascript:;">MORE ></a></li><li data-page="'+Math.floor(o/e)+'">'+a+"</li>":i+'<li data-page="'+Math.floor(o/e)+'">'+a+"</li>";return i+'<li class="brand-more" data-page="'+Math.floor(o/(e+1))+'"><a href="javascript:;">MORE ></a></li></ul>'})},_sendRequest:function(){var t=this;e.ajax({type:"GET",url:t.options.url,dataType:"json",success:function(e){var n,i;t._createHelper(),i='{{#brandList logoBrand}}<a href="{{href}}"><img class="lazy" data-original="{{img}}" alt=""></a>{{/brandList}}',n=o.compile(i),t.$element.html(n(e)),t.$element.find(".brand-more a").attr("href",e.moreBrand),a(t.$element.find("img.lazy")),t._bindEvent()}})},_brandShow:function(t,n){var i=this;a(e("li[data-page="+n+"]").find("img.lazy").trigger("appear")),i.$element.find("li[data-page="+t+"]").find("img").fadeOut("normal",function(){i.$element.find("li").hide(),i.$element.find("li[data-page="+n+"]").show().find("img").fadeIn()})},_bindEvent:function(){var t=this;t.$element.on("click",".next",function(){var n=e(this).parent().data("page"),i=0,o=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;i=n===o?0:n+1,t._brandShow(n,i)}),t.$element.on("click",".prev",function(){var n=e(this).parent().data("page"),i=0,o=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;i=0===n?o:n-1,t._brandShow(n,i)})}},e.fn.logoBrand=function(n){return this.each(function(){var i=e(this),o=i.data("LogoBrand"),a="object"==typeof n&&n;o||i.data("LogoBrand",o=new t(this,a)),"string"==typeof n&&o[n]()})},e.fn.logoBrand.Constructor=t,e.fn.logoBrand.defaults={showNum:16,url:"/boys/getBrand"}}(i)}),define("js/home/entry",["jquery","lazyload","handlebars","source-map"],function(e,t,n){e("js/home/home")}),define("js/home/home",["jquery","lazyload","handlebars","source-map"],function(e,t,n){var i=e("jquery"),o=e("lazyload"),a=i(".home-page").data("page"),s=i(".logo-brand").data("url");e("js/common/slider"),e("js/common/slider2"),e("js/common/logo-brand"),e("js/common/accordion"),"brands"===a&&e("js/home/brands"),i.inArray(a,["boys","girls","kids","lifestyle"])>-1&&(e("js/common/new-arrivls")({type:a,url:"/common/getNewArrival",firstCount:"boys"===a?"25":"20",pageCount:"boys"===a?"15":"12"}),window.setCookie("_Channel",a,{domain:".yohobuy.com",path:"/",expires:365})),o(i("img.lazy")),"boys"===a?i(".slide-container").slider({pagination:".thumb-pagination"}):"girls"===a?i(".center-col").slider():i(".slide-container").slider(),"boys"===a?(i(".logo-brand").logoBrand({url:s}),i(".img-brand").slider2()):(i(".logo-brand").logoBrand({showNum:10,url:s}),i(".img-slider-wrapper").slider2())}),define("js/common/slider2",["jquery"],function(e,t,n){var i=e("jquery");!function(e){e.fn.slider2=function(t){function n(t,n,o){o===!0?(e(".next").trigger("click"),t===n-3?i(--t,n,!1):i(++t,n,!0)):(e(".prev").trigger("click"),0===t?i(++t,n,!0):i(--t,n,!1))}function i(t,i,o){window.setTimeout(n,e.fn.slider2.defaults.delaytime,t,i,o)}function o(t,n,i){var o=-(t*n);e(".img-list").animate({"margin-left":o+"px"},"slow",i)}return e.fn.slider2.defaults={index:0,shownum:3,autoplay:!1,delaytime:3e3},this.each(function(){var n=e.extend({},e.fn.slider2.defaults,t),a=parseInt(e(".img-item").css("margin-right")),s=e(".img-item"),r=[],c=s.outerWidth()+a,l=s.length,d=0;if(3>=l)return void e(this).find(".img-brand-switch").hide();for(d=0;d<s.length;d++)r.push(s[d]);l=r.length,e(this).find(".img-list").css({width:c*l}),e(this).find(".next").on("click",function(t){var n=0,i=null;t.preventDefault(),o(3,c,function(){for(n=0;3>n;n++)i=r.shift(),e(".img-item").parent().append(i.outerHTML),r.push(i);e(".img-item").first().remove(),e(".img-item").first().remove(),e(".img-item").first().remove(),e(".img-list").css({"margin-left":"0"})})}),e(this).find(".prev").on("click",function(t){var n=0,i=null,a="";for(t.preventDefault(),n=0;3>n;n++)i=r.pop(),e(".img-item").parent().prepend(i.outerHTML),r.unshift(i);a=3*c,e(".img-item").last().remove(),e(".img-item").last().remove(),e(".img-item").last().remove(),e(".img-list").css({"margin-left":-a+"px"}),o(0,c)}),n.autoplay===!0&&i(n.index,l,!0)})}}(i)}),define("js/common/accordion",["jquery"],function(e,t,n){function i(e){c.each(function(t){s(this).css("zIndex",t),e>=t?s(this).stop().animate({left:t*d},400):s(this).stop().animate({left:e*d+l+d*(t-e-1)},400)})}var o,a=e("js/common/yohoui/YH.slide"),s=e("jquery"),r=s(".slide-accordion"),c=r.find("li"),l=c.width(),d=1150===parseInt(s(".home-page").width())?125:107;i(0),o=new a({length:5,loop:!1,auto:!1,timeout:2,index:3}),o.on("change",function(e){i(e.to)}),c.mouseover(function(){o.go(s(this).index())}),o.init()}),define("js/common/yohoui/YH.slide",[],function(e,t,n){var i=e("js/common/yohoui/YH.base"),o=function(e){this.__lastTime=null,this.__isStop=!1,e=i.extend(this.defaults,e),o.superclass.constructor.call(this,e)};i.inherit(o,i.assembly),o.prototype.oninit=function(){var e=this,t=e.options;return t.auto&&e.play(),e.go(t.index),this},o.prototype.go=function(e,t){var n,i,o,a,s,r,c,l,d=this,u=d.options;d.__lastTime&&(clearTimeout(d.__lastTime),d.__lastTime=null),t="undefined"==typeof t?u.index:t,n=e===t?0:e>t?1:-1,i=u.loop,a=u.length-1,s=e,e=i?e>a?e-a-1:0>e?e+a+1:e:e>a?a:0>e?0:e,o=u.index=e,r={from:t,to:e,originalto:s,direction:n};for(c in d.registerEvent)if(d.registerEvent[c].length>0)for(l in d.registerEvent[c])d.registerEvent[c].hasOwnProperty(l)&&d.registerEvent[c][l](r);o!==a||e?!d.__isStop&&u.auto&&d.play():d.__lastTime&&clearTimeout(d.__lastTime)},o.prototype.play=function(){var e=this,t=e.options;return e.__lastTime=setTimeout(function(){e.next()},1e3*t.timeout),this},o.prototype.next=function(){var e=this,t=e.options,n=t.index,i=n+t.step;e.go(i,n)},o.prototype.prev=function(){var e=this,t=e.options,n=t.index,i=n-t.step;e.go(i,n)},o.prototype.pause=function(){var e=this;e.__lastTime&&clearTimeout(e.__lastTime),e.__isStop=!0},o.prototype.resume=function(){var e=this;e.__isStop=!1,e.play()},o.prototype.defaults={index:0,timeout:5,step:1,per:1,auto:!1,loop:!1},n.exports=o}),define("js/common/yohoui/YH.base",[],function(e,t,n){var i,o={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Function]":"function","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object String]":"string"},a={__Index:0,list:[],get:function(e){return void 0===e?this.list:this.list[e]},fn:function(){},inherit:function(e,t){var n=a.fn;n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.superclass=t.prototype,e.prototype.constructor===Object.prototype.constructor&&(e.prototype.constructor=t)},extend:function(e,t){var n;for(n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},copy:function(e,t,n){var i,o,s;if("object"!=typeof t)return t;if(i=t.valueOf(),t!==i)return new t.constructor(i);if(t instanceof t.constructor&&t.constructor!==Object){o=e?new e:a.clone(t.constructor.prototype);for(s in t)(e||t.hasOwnProperty(s))&&(o[s]=t[s])}else{o={};for(s in t)o.hasOwnProperty(s)&&(o[s]=t[s])}if(n)for(s in n)o.hasOwnProperty(s)&&(o[s]=n[s]);return o},clone:function(e){return a.__cloneFunc.prototype=e,new a.__cloneFunc},__cloneFunc:function(){},delegate:function(e,t){var n;return t=t||window,arguments.length>2?(n=Array.prototype.slice.call(arguments,2),function(){return e.apply(t,n)}):function(){return e.call(t)}},dom:function(e,t){var n,i,o=e,a={wrap:o},s=o[0].getElementsByTagName("*"),r=s.length;for(i=0;r>i;i++)n=s[i].className,n.indexOf(t)>-1&&(n=n.split(t)[1]),n&&(a[n]=o.find(s[i]));return a},template:function(){var e,t,n,i,o=arguments;if(o.length>0&&a.isString(o[0]))if(e=o[0],2===o.length&&a.isObject(o[1]))for(t in o[1])void 0!==o[1][t]&&(n=new RegExp("({"+t+"})","g"),e=e.replace(n,o[1][t]));else for(i=1;i<o.length;i++)void 0!==o[i]&&(n=new RegExp("({["+(i-1)+"]})","g"),e=e.replace(n,o[i]));return e},__type:function(e){return null==e?String(e):o[Object.prototype.toString.call(e)]||"object"},isObject:function(e){return this.isFunction(e)||!(!e||"object"!=typeof e)},isFunction:function(e){return"function"===this.__type(e)},isArray:Array.isArray||function(e){return"array"===this.__type(e)},isNum:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},isString:function(e){return"string"===this.__type(e)},each:function(e,t,n){var i,o;if(a.isArray(e))for(i=0,o=e.length;o>i&&t.call(e[i],i,e[i],n)!==!1;i++);else for(i in e)if(t.call(e[i],i,e[i],n)===!1)break},funManager:{__loadList:{},__loadFun:function(e,t,n){e.methord&&a.isFunction(e.methord())&&(n=n||window,e.methord()(e,function(){t()},n))},load:function(e,t,n,i){i=i||0,e[i]&&a.funManager.__loadFun(e[i],function(){a.funManager.load(e,t,n,i+1)},n),t(i,n)},get:function(e){return this.__loadList[e]}},log:function(e){var t=window.console||{log:function(){}};t.log(e)},Event:{mousewheel:function(e){var t=e.originalEvent,n=t.detail?-1*t.detail:t.wheelDelta/40,i=0>n?-1:1;return{direction:i,unit:n}},__:function(e,t,n,i){var o;for(o in e)if(window[e[o].validator]){t[e[o].validator](e[o].prefix+n,i,!1);break}},add:function(e,t,n){var i=[{validator:"addEventListener",prefix:""},{validator:"attachEvent",prefix:"on"}];this.__(i,e,t,n)},remove:function(e,t,n){var i=[{validator:"removeEventListener",prefix:""},{validator:"detachEvent",prefix:"on"}];this.__(i,e,t,n)}},getUid:function(e){return a.template("me-{0}{1}-{2}",e,(new Date).getTime(),a.__Index++)},Browser:{isTouch:function(){var e=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture;return"ontouchstart"in window||e||window.DocumentTouch?!0:!1},Prefix:function(){var e,t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"],n=document.createElement("div");for(e in t)if(void 0!==n.style[t[e]])return a.template("-{0}-",t[e].replace("Perspective","").toLowerCase())},parseURL:function(e){var t,n,i,o,a,s=document.createElement("a");return s.href=e,{source:e,protocol:s.protocol.replace(":",""),host:s.hostname,port:s.port,query:s.search,params:function(){for(t={},n=s.search.replace(/^\?/,"").split("&"),i=n.length,o=0,a;i>o;o++)n[o]&&(a=n[o].split("="),t[a[0]]=a[1]);return t}(),file:(s.pathname.match(/\/([^\/?#]+)$/i)||[null,""])[1],hash:s.hash.replace("#",""),path:s.pathname.replace(/^([^\/])/,"/$1"),relative:(s.href.match(/tps?:\/\/[^\/]+(.+)/)||[null,""])[1],segments:s.pathname.replace(/^\//,"").split("/")}}},Array:{indexOf:function(e,t){var n;for(n=0;n<e.length;n++)if(this[n]===t)return n;return-1},remove:function(e,t){var n=this.indexOf(e,t);return n>-1&&e.splice(n,1),e}}};i=function(e){this.initialized=!1,this.registerEvent={before:[],change:[],after:[]},this.options=e,this.init(e)},i.output=function(){a.log(a.list)},i.prototype.oninit=a.fn,i.prototype.init=function(e){this.initialized=!0,this.__Uid=a.getUid("me"),this.oninit(e),a.list[this.__Uid]=this},i.prototype.destory=function(){this.initialized=!1,delete a.list[this.__Uid]},i.prototype.getUid=function(){return this.__Uid},i.prototype.getOptions=function(){return this.options},i.prototype.config=function(){if(!(arguments.length>0))return this.options;if("string"==typeof arguments[0]){if(!(arguments.length>1))return this.options[name];this.options[arguments[0]]=arguments[1]}},i.prototype.on=function(e,t){var n=this,i=n.registerEvent[e];return i&&i.push(t),i},i.prototype.off=function(e,t){var n=this,i=n.registerEvent[e],o=[];a.each(i,function(e,n){n===t&&o.push(e)}),a.each(o.reverse(),function(e,t){i.splice(t,1)})},a.assembly=i,n.exports=a}),define("js/home/brands",["jquery","handlebars","source-map"],function(e,t,n){function i(e,t,n){var i,o=e,r={width:o.width(),left:o.offset().left,right:parseFloat(a(window).width())-parseFloat(o.offset().left)-parseFloat(o.width())};c.find(".brands-layer").remove(),i=s.compile(n),o.parent("li").find(".brands-dialog").html(i(t)),r.right-350<0&&o.parent("li").find(".brands-layer").addClass("brands-layer-right").css("left",-330-r.width)}var o,a=e("jquery"),s=e("handlebars"),r=a(".brands-tabs"),c=a(".brands-list"),l=a(".brands-category"),d=c.find("li>a"),u=l.find("a"),h=r.find("li>a"),f=r.find(".hoverarr"),p=u.height(),m=u.offset()?u.offset().top:0,g={},w='<div class="brands-layer">';w+=' <div class="layer-content">',w+=' <div class="title">{{title}}</div>',w+=' <div class="clearfix desc">',w+=' <img src="{{icon}}">',w+=' <p class="right">{{content}}</p>',w+=" </div> ",w+=' <div class="featured">',w+=" <p>{{subtitle}}</p> ",w+=' <div class="clearfix"> ',w+=" {{#each imgs}}",w+=' <img src="{{src}}">',w+=" {{/each}}",w+=" </div>",w+=" </div>",w+=" </div>",w+="</div>",a.easing.easeOutQuint=function(e,t,n,i,o){return i*((t=t/o-1)*t*t*t*t+1)+n},h.eq(0).parent("li").find(".brands-content").css("z-index","1"),h.hover(function(){var e=a(this);clearTimeout(o),o=setTimeout(function(){var t=parseFloat(e.offset().left)-parseFloat(r.offset().left);f.animate({left:t},200,"easeOutQuint")},200),r.find(".brands-content").removeAttr("style"),e.parent("li").find(".brands-content").css("z-index","1")},function(){clearTimeout(o)}),a(window).scroll(function(){a(this).scrollTop()>m?l.addClass("category-fix"):l.removeClass("category-fix")}),u.click(function(){var e=a(this).attr("href").split("#")[1],t=c.find("[name="+e+"]").offset().top-p;return a("html,body").animate({scrollTop:t},200),!1}),d.hover(function(){var e=a(this),t=e.attr("data-key"),n={url:"/brands/brandinfo",type:"get",success:function(t){200===t.code&&t.brand&&(g.hasOwnProperty(t.brand.key)||(g[t.brand.key]=t.brand),i(e,g[t.brand.key],w))}};clearTimeout(o),o=setTimeout(function(){g.hasOwnProperty(t)?i(e,g[t],w):a.ajax(n)},200)},function(){clearTimeout(o),c.find(".brands-layer").remove()})}),define("js/common/new-arrivls",["jquery","lazyload","handlebars","source-map"],function(e,t,n){function i(e){var t={index:0,isload:!0,isrun:!0,offset:{height:null,width:null}};return this.registerEvent={before:[],change:[],after:[]},this.options=o.extend(!0,{},t,e),this}var o=e("jquery"),a=e("lazyload"),s=e("handlebars");i.prototype.on=function(e,t){var n=this,i=n.registerEvent[e];return i&&i.push(t),i},i.prototype.exect=function(e,t){var n,i=this;if(i.registerEvent[e]&&i.registerEvent[e].length>0)for(n in i.registerEvent[e])i.registerEvent[e].hasOwnProperty(n)&&i.registerEvent[e][n](t)},i.prototype.init=function(){function e(){n.isrun&&n.isload&&t.__directionCalculation()&&(n.isload=!1,n.index++,t.exect("after",n)),t.exect("change",n)}var t=this,n=this.options;t.exect("before",n),o(window).scroll(e)},i.prototype.emit=function(){var e=this.options;e.isload=!0},i.prototype.stop=function(){var e=this.options;e.isrun=!1,e.isload=!1},i.prototype.__directionCalculation=function(){var e=this.options;return e.offset.height&&e.offset.height()>0&&o(window).scrollTop()+o(window).height()>=e.offset.height()?!0:!1},n.exports=function(e){var t,n=o("#newarrivals .goods-container"),r=o(".loading a"),c=new i({offset:{height:function(){return parseFloat(n.offset().top)+parseFloat(n.height())-200}}}),l=e.url,d=e.firstCount,u=e.pageCount;delete e.url,delete e.firstCount,delete e.pageCount,c.on("after",function(i){e=o.extend({},e,{pageIndex:i.index}),e.pageCount=1===e.pageIndex?d:u,t={type:"POST",url:l,data:e,success:function(e){var t,i=e.code;200===i?(t=s.compile(c.tpl),n.append(t(e.goods)),a(n.find("img.lazy")),c.emit()):(c.stop(),r.html("查看更多"))},error:function(){c.stop(),r.html("网络断开连接了~")}},o.ajax(t)}),c.on("before",function(){c.tpl="{{#each this}}",c.tpl+='<div class="good-info" data-skn="{{skn}}">',c.tpl+=' <div class="tag-container clearfix">',c.tpl+=" {{# tags}}",c.tpl+=" {{# isNew}}",c.tpl+=' <span class="good-tag new-tag">NEW</span>',c.tpl+=" {{/ isNew}}",c.tpl+=" {{# isReNew}}",c.tpl+=' <span class="good-tag renew-tag">再到着</span>',c.tpl+=" {{/ isReNew}}",c.tpl+=" {{# isSale}}",c.tpl+=' <span class="good-tag sale-tag">SALE</span>',c.tpl+=" {{/ isSale}}",c.tpl+=" {{# isNewFestival}}",c.tpl+=' <span class="good-tag new-festival-tag">新品节</span>',c.tpl+=" {{/ isNewFestival}}",c.tpl+=" {{# isLimit}}",c.tpl+=' <span class="good-tag limit-tag">限量商品</span>',c.tpl+=" {{/ isLimit}}",c.tpl+=" {{# isYearEndPromotion}}",c.tpl+=' <span class="good-tag yep-tag">年终大促</span>',c.tpl+=" {{/ isYearEndPromotion}}",c.tpl+=" {{# isYearMidPromotion}}",c.tpl+=' <span class="good-tag ymp-tag">年中热促</span>',c.tpl+=" {{/ isYearMidPromotion}}",c.tpl+=" {{/ tags}}",c.tpl+=" </div>",c.tpl+=' <div class="good-detail-img">',c.tpl+=' <a class="good-thumb" href="{{url}}">',c.tpl+=' <img class="lazy" data-original="{{thumb}}">',c.tpl+=" </a>",c.tpl+=" {{# isFew}}",c.tpl+=' <p class="few-tag">即将售罄</p>',c.tpl+=" {{/ isFew}}",c.tpl+=" {{#if showColBtn}}",c.tpl+=' <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>',c.tpl+=" {{/if}}",c.tpl+=" </div>",c.tpl+=' <div class="good-detail-text">',c.tpl+=' <a href="{{url}}">{{name}}</a>',c.tpl+=' <p class="price">',c.tpl+=' <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">',c.tpl+=" ¥{{salePrice}}",c.tpl+=" </span>",c.tpl+=" {{# marketPrice}}",c.tpl+=' <span class="market-price">¥{{.}}</span>',c.tpl+=" {{/ marketPrice}}",c.tpl+=" </p>",c.tpl+=" </div>",c.tpl+="</div>",c.tpl+="{{/each}}",c.emit()}),c.init()}}); \ No newline at end of file diff --git a/web-static/dist/yohobuy/assets/font/iconfont.eot b/web-static/dist/yohobuy/assets/font/iconfont.eot index b48b1aa..50239f0 100644 Binary files a/web-static/dist/yohobuy/assets/font/iconfont.eot and b/web-static/dist/yohobuy/assets/font/iconfont.eot differ diff --git a/web-static/dist/yohobuy/assets/font/iconfont.svg b/web-static/dist/yohobuy/assets/font/iconfont.svg index ac5be0e..6ccc291 100644 --- a/web-static/dist/yohobuy/assets/font/iconfont.svg +++ b/web-static/dist/yohobuy/assets/font/iconfont.svg @@ -2,7 +2,7 @@ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > <svg xmlns="http://www.w3.org/2000/svg"> <metadata> -Created by FontForge 20120731 at Thu Dec 17 16:09:31 2015 +Created by FontForge 20120731 at Tue Dec 29 10:24:41 2015 By Ads </metadata> <defs> @@ -16,10 +16,10 @@ Created by FontForge 20120731 at Thu Dec 17 16:09:31 2015 ascent="896" descent="-128" x-height="792" - bbox="0 -214 1172.1 864" + bbox="0 -214 1172.1 894" underline-thickness="50" underline-position="-100" - unicode-range="U+0078-E629" + unicode-range="U+0078-E630" /> <missing-glyph horiz-adv-x="374" d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" /> @@ -134,7 +134,39 @@ q14 5 23 14.5t12 20.5t3 23t-3.5 22t-8.5 18t-10 11zM0 295v-380q0 -28 20 -48.5t49 <glyph glyph-name="uniE627" unicode="" horiz-adv-x="1025" d="M512 623q-167 0 -304.5 -89.5t-205.5 -236.5q-4 -9 0 -18q45 -96 121 -169.5t177 -115t212 -41.5q167 0 304.5 89.5t205.5 236.5q1 3 1.5 6t0 6t-1.5 6q-68 147 -205.5 236.5t-304.5 89.5zM512 57q-96 0 -163.5 67.5t-67.5 163.5t67.5 163.5t163.5 67.5t163.5 -67.5 t67.5 -163.5q0 -47 -18.5 -89.5t-49.5 -73.5t-73.5 -49.5t-89.5 -18.5zM364 288q0 -61 43.5 -104.5t104.5 -43.5t104.5 43.5t43.5 104.5t-43.5 104.5t-104.5 43.5t-104.5 -43.5t-43.5 -104.5z" /> + <glyph glyph-name="uniE628" unicode="" +d="M482 83q-24 0 -41.5 -17.5t-17.5 -42.5t17.5 -42.5t42 -17.5t42 17.5t17.5 42.5q0 16 -8 30t-21.5 22t-30.5 8zM769 83q-25 0 -42.5 -17.5t-17.5 -42.5q0 -16 8 -30t21.5 -22t30.5 -8q25 0 42.5 17.5t17.5 42.5q0 38 -34 54q-13 6 -26 6zM839 193h-417l-143 425 +q-7 18 -29 18h-127q-13 0 -22 -8t-9 -20q0 -4 1 -7t2.5 -6t3.5 -5.5t4.5 -4.5t5.5 -3.5t6.5 -2t7.5 -0.5h105l143 -424q7 -19 29 -19h439q13 0 21.5 8t8.5 20.5t-8.5 20.5t-21.5 8zM904 524l-516 45q-12 1 -18.5 -7t-1.5 -20l90 -270q4 -12 16 -21.5t24 -9.5h377q12 0 22 10 +t11 23l23 216q1 8 -2 15.5t-10 12.5t-15 6z" /> <glyph glyph-name="uniE629" unicode="" d="M154 686v-646h146l-14 -208l240 208h344v646h-716zM752 176h-134v159h-192v-159h-134v382h134v-148h192v148h134v-382z" /> + <glyph glyph-name="uniE62A" unicode="" +d="M328 -66q-3 0 -5.5 0.5t-5.5 2.5q-14 6 -14 22v128h-193q-10 0 -17.5 7t-7.5 18v549q0 10 7.5 17.5t17.5 7.5h804q7 0 13 -3.5t9 -9t3 -12.5v-549q0 -11 -7 -18t-18 -7h-401l-169 -146q-7 -7 -16 -7zM171 172h188q10 0 17.5 -7.5t7.5 -17.5v-73l103 92q7 6 17 6h350v426 +h-683v-426zM739 485h-454q-5 0 -9.5 2t-8 5t-5.5 8t-2 10q0 10 7.5 17.5t17.5 7.5h454q3 0 5.5 -0.5t4.5 -1.5t4 -2.5t3.5 -3t3 -3.5t2.5 -4.5t1.5 -5t0.5 -4.5q0 -11 -7 -18t-18 -7zM739 362h-454q-4 0 -8 1t-7 3.5t-5.5 5.5t-3.5 7t-1 8t1 8t3.5 7t5.5 5t7 3.5t8 1.5h454 +q10 0 17.5 -7.5t7.5 -18t-7 -17.5t-18 -7zM549 239h-264q-10 0 -17.5 7t-7.5 17.5t7.5 18t17.5 7.5h264q10 0 17.5 -7.5t7.5 -17.5q0 -7 -3.5 -12.5t-9 -9t-12.5 -3.5z" /> + <glyph glyph-name="uniE62B" unicode="" +d="M511 -144q-73 0 -141 22.5t-123 64t-96.5 96.5t-64 123t-22.5 141q0 60 16 118t45 107t70 90t90 70t107 45t119 16q90 0 173 -35.5t142.5 -95.5t95 -142.5t35.5 -172.5q0 -46 -9 -90.5t-26 -84t-41.5 -75.5t-54.5 -66t-66 -54.5t-75.5 -41.5t-84 -26t-89.5 -9zM511 703 +q-82 0 -156 -32t-127.5 -85.5t-85.5 -127.5t-32 -155q0 -109 54 -201.5t146 -146t200.5 -53.5t201 53.5t146 146t53.5 201.5q0 165 -117.5 282.5t-282.5 117.5zM465 164v29q0 9 1 17.5t2 15.5l2 10q1 5 3 9.5t4 8.5q1 2 2 4.5t2 4.5t2.5 4t2.5 4t2.5 4.5t3.5 4.5 +q10 12 24 26l35 33q15 13 25.5 29.5t10.5 39.5q0 15 -5 27.5t-14 23.5q-5 5 -10.5 8.5t-12.5 6.5t-14.5 4t-16.5 1q-18 0 -32 -6q-5 -3 -9 -5.5t-8 -5.5t-8 -7q-1 -2 -2.5 -3.5t-3 -3.5t-2.5 -3.5t-2 -3.5l-2 -4l-2 -4l-2 -4q-1 -5 -2.5 -10t-2.5 -10t-1 -10l-95 8 +q5 37 20 66t39 49q12 10 25.5 18t29.5 13q31 10 66 10q33 0 63 -9.5t53 -28.5q6 -5 11 -10t9.5 -11t8 -12.5t7.5 -13.5q13 -27 13 -64q0 -12 -1.5 -23t-3.5 -20q-2 -4 -3 -7.5t-3 -7.5l-2 -6q-2 -4 -4 -7l-4 -6q-10 -16 -24 -30q-5 -5 -10 -9.5t-11 -10t-11 -10.5 +q-16 -13 -25.5 -23t-15.5 -20t-8 -22q-1 -5 -1.5 -12.5t-0.5 -15.5v-20h-92zM450 56q0 25 18 43t44 18q24 0 43 -17q18 -18 19 -42q0 -13 -5 -23.5t-14 -19.5q-18 -17 -43 -17q-12 0 -23.5 4.5t-20.5 12.5q-8 7 -13 18t-5 23z" /> + <glyph glyph-name="uniE62C" unicode="" +d="M505 776q77 0 148.5 -23.5t129 -67t101 -101.5t67.5 -129.5t24 -147.5q0 -64 -17 -125t-47.5 -112t-74 -94.5t-94.5 -74t-112 -47.5t-125 -17q-95 0 -182 37.5t-150 100.5t-100 150t-37 182t37 182t100 150t150 100t182 37zM505 -104q112 0 206.5 55t149.5 149.5 +t55 206.5q0 37 -6.5 73.5t-19.5 69.5t-30.5 64t-40.5 57.5t-49.5 49.5t-57.5 40.5t-64 30t-69.5 19t-73.5 6.5q-111 0 -205.5 -55t-149.5 -149.5t-55 -206t55 -206t149.5 -149.5t205.5 -55zM528 138v-59h-58v59h58zM470 564h58v-349h-58v349z" /> + <glyph glyph-name="uniE62D" unicode="" +d="M828 618q65 -65 98 -148t33 -169t-33 -169t-98 -148q-66 -66 -149 -99q-16 -6 -33 -11.5t-33.5 -9t-33.5 -6.5t-34 -4t-35 -1q-43 0 -85 8t-84 24q-82 33 -148 98q-66 66 -98.5 149t-32.5 169t32.5 169t98.5 149q66 65 148.5 97.5t168.5 32.5q15 0 29 -0.5t28 -2.5 +t28.5 -4.5t28.5 -6.5t27.5 -8.5t27.5 -9.5q83 -33 149 -99v0zM258 49q53 -53 118.5 -79t134.5 -26q34 0 68 6.5t67 19.5q65 26 117.5 78.5t78.5 118t26 134.5q0 35 -6.5 68.5t-19.5 66.5q-26 65 -78 118q-53 53 -119 79t-135 26q-23 0 -45.5 -3t-44.5 -9t-44 -14 +q-66 -26 -118 -78.5t-78.5 -118t-26.5 -134.5t26.5 -134.5t78.5 -118.5v0zM748 602l69 -72l-531 -530l-70 70zM748 602z" /> + <glyph glyph-name="uniE62E" unicode="" horiz-adv-x="1025" +d="M491 6q9 -10 21.5 -10t21.5 10l357 407q4 5 5.5 9.5t0 8t-6 5.5t-11.5 2h-133q-14 0 -23.5 9.5t-9.5 22.5v261q0 9 -4.5 16.5t-12.5 11.5t-17 4h-333q-14 0 -24 -9.5t-10 -22.5v-261q0 -13 -9.5 -22.5t-23.5 -9.5h-133q-14 0 -17.5 -7.5t5.5 -17.5z" /> + <glyph glyph-name="uniE62F" unicode="" +d="M512 832v-1v1q-51 0 -99 -11t-92.5 -33.5t-71 -38.5t-67.5 -45v-396q0 -50 17 -97t42.5 -82t60.5 -66.5t66.5 -52.5t64.5 -38t50.5 -24.5t28.5 -11.5q7 3 17 7t29 12.5t39 19.5t44.5 26t47.5 33.5t46 40t42 47.5t34 54.5t23 62t8 69.5v396q-23 16 -36.5 25t-38.5 24.5 +t-43.5 24.5t-46 20.5t-51.5 18t-54 11t-60 4.5zM772 308q0 -128 -130 -223q-65 -47 -130 -72q-65 25 -130 72q-44 32 -72.5 66.5t-43 73.5t-14.5 83v371q76 46 128.5 65t131.5 20q79 -1 131.5 -20t128.5 -65v-371zM512 710q-59 0 -99 -11t-105 -43v-351q0 -28 8 -53.5 +t22.5 -46t30 -37.5t36.5 -31t36 -23.5t33.5 -18t24.5 -11t13 -4.5q9 3 16.5 6t30 14t40.5 22.5t41 31t38.5 40.5t26.5 50.5t11 60.5v351q-27 13 -46 21.5t-38 15.5t-37 10.5t-38 5t-45 1.5v0zM648 573v-42h-92v-58h81v-54h-81v-67h102v-50h-292v50h37v147h57v-147h39v179 +h-121v54h270v-12z" /> + <glyph glyph-name="uniE630" unicode="" horiz-adv-x="1163" +d="M295 196q67 0 114 -47t47 -113.5t-47 -114t-114 -47.5t-114 47.5t-47 113.5q0 44 21.5 81t58.5 58.5t81 21.5zM917 196q67 0 114 -47t47 -114q0 -32 -12.5 -62t-34 -51.5t-51.5 -34.5t-63 -13q-66 0 -113.5 47.5t-47.5 113.5q0 79 62 127q44 34 99 34zM400 894v-99h-210 +v0l-187 -294v-372h95q27 56 80 90.5t117 34.5q43 0 82 -16t68.5 -44t46.5 -65h228q27 56 80 90.5t117 34.5q22 0 43 -4.5t39.5 -12t36 -18.5t32 -25t26.5 -30.5t20 -34.5h46v765h-760zM400 452h-283l159 250l124 1v-251v0zM893 701l-131 -276l-63 31l101 206h-105v68h198 +v-29v0z" /> </font> </defs></svg> diff --git a/web-static/dist/yohobuy/assets/font/iconfont.ttf b/web-static/dist/yohobuy/assets/font/iconfont.ttf index 57a7f96..29ec8f0 100644 Binary files a/web-static/dist/yohobuy/assets/font/iconfont.ttf and b/web-static/dist/yohobuy/assets/font/iconfont.ttf differ diff --git a/web-static/dist/yohobuy/assets/font/iconfont.woff b/web-static/dist/yohobuy/assets/font/iconfont.woff index dfc0aae..c73c128 100644 Binary files a/web-static/dist/yohobuy/assets/font/iconfont.woff and b/web-static/dist/yohobuy/assets/font/iconfont.woff differ diff --git a/web-static/dist/yohobuy/respond.min.js b/web-static/dist/yohobuy/respond.min.js index 80a7b69..4bd176e 100644 --- a/web-static/dist/yohobuy/respond.min.js +++ b/web-static/dist/yohobuy/respond.min.js @@ -1,5 +1,5 @@ -/*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl - * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT - * */ - +/*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl + * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT + * */ + !function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){u(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var g,h,i,j=a.document,k=j.documentElement,l=[],m=[],n=[],o={},p=30,q=j.getElementsByTagName("head")[0]||k,r=j.getElementsByTagName("base")[0],s=q.getElementsByTagName("link"),t=function(){var a,b=j.createElement("div"),c=j.body,d=k.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=j.createElement("body"),c.style.background="none"),k.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&k.insertBefore(c,k.firstChild),a=b.offsetWidth,f?k.removeChild(c):c.removeChild(b),k.style.fontSize=d,e&&(c.style.fontSize=e),a=i=parseFloat(a)},u=function(b){var c="clientWidth",d=k[c],e="CSS1Compat"===j.compatMode&&d||j.body[c]||d,f={},o=s[s.length-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=j.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b<s.length;b++){var c=s[b],e=c.href,f=c.media,g=c.rel&&"stylesheet"===c.rel.toLowerCase();e&&g&&!o[e]&&(c.styleSheet&&c.styleSheet.rawCssText?(v(c.styleSheet.rawCssText,e,f),o[e]=!0):(!/^([a-zA-Z:]*\/\/)/.test(e)&&!r||e.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&("//"===e.substring(0,2)&&(e=a.location.protocol+e),d.push({href:e,media:f})))}w()};x(),c.update=x,c.getEmValue=t,a.addEventListener?a.addEventListener("resize",b,!1):a.attachEvent&&a.attachEvent("onresize",b)}}(this); \ No newline at end of file diff --git a/web-static/js/common.js b/web-static/js/common.js index 3ecd27e..6d96c9f 100644 --- a/web-static/js/common.js +++ b/web-static/js/common.js @@ -6,6 +6,7 @@ var $ = require('yoho.jquery'); require('./footer'); +require('./simple-header'); require('./header'); function cookie(name) { diff --git a/web-static/js/common/new-arrivls.js b/web-static/js/common/new-arrivls.js index c213754..4bf9ebb 100644 --- a/web-static/js/common/new-arrivls.js +++ b/web-static/js/common/new-arrivls.js @@ -83,7 +83,7 @@ InfiniteLoad.prototype.stop = function() { InfiniteLoad.prototype.__directionCalculation = function() { var p = this.options; - if (p.offset.height && p.offset.height() > 0 && $(window).scrollTop() + $(window).height() >= p.offset.height()) { + if (p.offset.height && p.offset.height() > 0 && $(window).scrollTop() + window.innerHeight >= p.offset.height()) { return true; } return false; @@ -93,33 +93,32 @@ module.exports = function(data) { var $container = $('#newarrivals .goods-container'); var $load = $('.loading a'); var load = new InfiniteLoad({ + index: 1, offset: { height: function() { - return parseFloat($container.offset().top) + parseFloat($container.height()); + return parseFloat($container.offset().top) + parseFloat($container.height()) - 200; } } }); - var options; + var loadAjax; var url = data.url; delete data.url; - - load.on('after', function(p) { - - data = $.extend({}, data, { - pageIndex: p.index - }); - - options = { + loadAjax = function(url, data, count) { + var options = { type: 'POST', url: url, data: data, success: function(data) { var code = data.code; - var myTemplate; + var myTemplate,len,pos; if (code === 200) { + len = data.goods.length % count; + pos = data.goods.length - len - 1; + + data.goods.splice(pos, len); myTemplate = Handlebars.compile(load.tpl); @@ -143,23 +142,22 @@ module.exports = function(data) { }; $.ajax(options); + }; + + + load.on('after', function(p) { + data = $.extend({}, data, { + pageIndex: p.index + }); + + + data.pageCount = data.count * data.rows[1]; + + loadAjax(url, data); }); - load.on('before', function() { - - //请求模板 - // load.tpl = '{{#each this}}'; - // load.tpl += '<li>'; - // load.tpl += ' <a href="{{url}}"><div class="commodity-img">'; - // load.tpl += ' {{# tip}}'; - // load.tpl += ' <i class="commodity-tag">{{.}}</i>'; - // load.tpl += ' {{/ tip}}'; - // load.tpl += ' <img class="lazy" data-original="{{img}}" src="{{img}}"/></div>'; - // load.tpl += ' <p class="commodity-name">{{name}}</p>'; - // load.tpl += ' <p class="commodity-price"><span>¥{{price}}</span></p>'; - // load.tpl += ' </a>'; - // load.tpl += '</li>'; - // load.tpl += '{{/each}}'; + load.on('before', function(p) { + load.tpl = '{{#each this}}'; load.tpl += '<div class="good-info" data-skn="{{skn}}">'; @@ -214,6 +212,14 @@ module.exports = function(data) { load.tpl += '</div>'; load.tpl += '{{/each}}'; + data = $.extend({}, data, { + pageIndex: p.index + }); + + + data.pageCount = data.count * data.rows[0]; + + loadAjax(url, data, data.count); load.emit(); }); diff --git a/web-static/js/common/product-event.js b/web-static/js/common/product-event.js index 9363ab2..bf8ae76 100644 --- a/web-static/js/common/product-event.js +++ b/web-static/js/common/product-event.js @@ -109,7 +109,5 @@ module.exports = function($o, rowWidth) { $o.bind('mouseenter', handleEvent); - //$o.bind('mouseleave', handleEvent); - return pMouseHover; }; \ No newline at end of file diff --git a/web-static/js/header.js b/web-static/js/header.js index 18dc73e..20358e4 100644 --- a/web-static/js/header.js +++ b/web-static/js/header.js @@ -3,13 +3,14 @@ * @author: wangqing<robin.wang@yoho.cn> * @date: 2015/12/01 */ - - var $ = require('yoho.jquery'); var handlebars = require('yoho.handlebars'); var json2 = require('json2'); var noticeSuccess = false; - +var vipInfoCombine = null; +var loginInfoCombine = null; +var apiDomain = 'http://api.open.yohobuy.com'; +var cartTpl = ''; /** * 判断为1的helper * @param {[type]} v1 [description] @@ -24,6 +25,37 @@ handlebars.registerHelper('equalone', function(v1, options) { return options.inverse(this); } }); +/** + * 判断等级为3的helper + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ + +handlebars.registerHelper('equallevelthree', function(v1, options) { + + if (v1 === '3') { + return options.fn(this); + } else { + return options.inverse(this); + } +}); + +/** + * 判断为0的helper + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ + +handlebars.registerHelper('equalzero', function(v1, options) { + + if (v1 === '0') { + return options.fn(this); + } else { + return options.inverse(this); + } +}); require('../plugin/yohocookie'); require('../plugin/yohocart'); /** @@ -266,16 +298,18 @@ function fadeAnimate() { if (window.globaltimeout) { window.clearTimeout(window.globaltimeout); } - window.logotrans.fadeOut(window.loopdurationtime, function() { + window.$logotrans.fadeOut(window.loopdurationtime, function() { window.isen = false; - window.logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo.png)'); - window.logotrans.fadeIn(window.loopdurationtime, function() { + + window.$logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo.png)'); + window.$logotrans.fadeIn(window.loopdurationtime, function() { window.onetimeoout = window.setTimeout(function() { - window.logotrans.fadeOut(window.loopdurationtime, function() { + window.$logotrans.fadeOut(window.loopdurationtime, function() { window.clearTimeout(window.onetimeoout); window.isen = true; - window.logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); - window.logotrans.fadeIn(window.loopdurationtime, function() { + window.$logotrans.css('background-image', + 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); + window.$logotrans.fadeIn(window.loopdurationtime, function() { window.globaltimeout = window.setTimeout(fadeAnimate, 1 * 60 * 1000); }); }); @@ -559,7 +593,7 @@ function loadCartData() { shoppingData, strK; - $.getData(window.apiDomain, { + $.getData(apiDomain, { method: 'open.Shoppingcart.getCartData', shopping_key: $.getShoppingKey() }, function(jsonData) { @@ -596,7 +630,7 @@ function loadCartData() { * @return {[type]} [description] */ function delCartGoods(id, isreduce) { - $.getData(window.apiDomain, { + $.getData(apiDomain, { method: 'open.Shoppingcart.delone', shopping_key: $.getShoppingKey(), id: id, @@ -614,8 +648,7 @@ function delCartGoods(id, isreduce) { actionUpdateCartNum(); }); } -window.apiDomain = 'http://api.open.yohobuy.com'; -window.cartTpl = ''; + /** * 监听购物车删除 @@ -817,6 +850,7 @@ function actionExeTemplate() { var resulthtml = $('#goodcartempwarpper').html().replace(/\\/g, ''); $('#goodcartempwarpper').html(resulthtml); + vipInfoCombine = handlebars.compile($('#tmpl-my-login-new').html()); } /** * 执行搜索 @@ -828,6 +862,148 @@ function actionSearch() { $('#query_key').search(searchDomain); } /** + * 获取登录状态 + * @return {[type]} [description] + */ +function actionLoginState(_data) { + var timestamp = new Date().getTime(); + var noLoginHtml = '<span>Hi~</span>[<a href="http://www.yohobuy.com/signin.html" class="list-a login-out ">' + + '请登录</a>] ' + + '[<a href="http://www.yohobuy.com/reg.html" class="list-a login-out" onclick="">免费注册</a>]'; + var loginHtml = '<span>Hi~<a href="http://www.yohobuy.com/home?t=' + timestamp + + '">{{user_name}}</a></span> ' + + '{{#equalone islogin}}' + + '[<a href="{{logout}}" class="list-a login-out">退出</a>]' + + '{{else}}' + + '[<a href="http://www.yohobuy.com/signin.html" class="list-a login-out">请登录</a>] ' + + '[<a href="http://www.yohobuy.com/reg.html" onclick="" class="list-a login-out">免费注册</a>]' + + '{{/equalone}}'; + var $boxObj = $('#loginBox'); + var info = $.cookie('_UID')||''; + var name = _data.data.profile_name||''; + var _length = 0; + var t = 0; + var char = ''; + var user = info.split('::')||''; + var userName = user[0] || ' '; + var _logout = ''; + var islogin = '1'; + var _num = 0; + var data = { + user_name: name, + logout: _logout, + random: Math.random() + }; + + + loginInfoCombine = handlebars.compile(loginHtml); + if (typeof info === 'undefined' || info === null) { + $boxObj.html(noLoginHtml); + return false; + } + if (typeof user === 'undefined' || user.length < 4) { + $boxObj.html(noLoginHtml); + return false; + } + + for (t; t < userName.length; t++) { + char = userName.substr(t, 1); + if (/.*[\u4e00-\u9fa5]+.*$/.test(char)) { + _length += 2; + } else { + _length += 1; + } + } + if (_length <= 10) { + name = userName; + } else { + _num = 0; + for (t; t < userName.length; t++) { + if (_num < 10) { + char = userName.substr(t, 1); + if (char !== '*') { + if (/.*[\u4e00-\u9fa5]+.*$/.test(char)) { + _num += 2; + } else { + _num += 1; + } + } + name += char; + } + } + if (name.length < userName.length) { + name += '...'; + } + } + + + if (/http:\/\//.test(user[3])) { + _logout = user[3].replace('www.yohobuy.com', 'www.yohobuy.com'); + } else { + _logout = 'http://www.yohobuy.com/logout_' + user[3] + '.html'; + } + if (_data.result === -1) { + islogin = '-1'; + } + data.islogin = islogin; + $boxObj.html(loginInfoCombine(data)); +} +/** + * 获得vip用户信息 + * @return {[type]} [description] + */ +function actionVipInfo(_data) { + var vipInfo = _data.data; + var headUrl = ''; + + if (_data.result === 1) { + if (typeof vipInfo === undefined || vipInfo.length < 1) { + return false; + } + $('#myYohoBox').mouseenter(function() { + $(this).addClass('acttags'); + $('#myYohoBox .myyoho-info').show().html(vipInfoCombine(vipInfo)); + headUrl = $('.myyoho-photo img').attr('data-url'); + if ($._checkUrlState === 1) { + $('.myyoho-photo').show().find('img').attr('src', headUrl); + return; + } + if (headUrl === '' || $._checkUrl !== '') { + return; + } + $.ajax({ + url: headUrl, + type: 'GET', + complete: function(response) { + if (response.status === 200 || response.status === 0) { + $('.myyoho-photo').show().find('img').attr('src', headUrl); + $._checkUrlState = 1; + } + $._checkUrl = headUrl; + } + }); + }); + $('#myYohoBox').mouseleave(function() { + $(this).removeClass('acttags'); + $('#myYohoBox .myyoho-info').hide(); + }); + } +} +/** + * 获取登录信息 + * @return {[type]} [description] + */ +function actionLoginInfo() { + var param = { + method: 'open.passport.get' + }; + + $.getData(apiDomain, param, function(_data) { + actionLoginState(_data); // 更改登录状态 + actionVipInfo(_data); //获得vip; + }); +} +/** * 初始化函数 * @return {[type]} [description] */ @@ -849,6 +1025,7 @@ function init() { actionClickMiniCartBox(); //点击购物车跳转 actionListenDelCarGoods(); //监听购物车删除 actionListenCartMore(); // + actionLoginInfo(); //获取登录信息 } init(); \ No newline at end of file diff --git a/web-static/js/home/home.js b/web-static/js/home/home.js index be8ec96..b782c50 100644 --- a/web-static/js/home/home.js +++ b/web-static/js/home/home.js @@ -24,7 +24,13 @@ if ($.inArray(homePage, ['boys','girls','kids','lifestyle']) > -1) { require('../common/new-arrivls')({ type: homePage, url: '/common/getNewArrival', - pageCount: homePage === 'boys' ? '15' : '20' + count: (homePage === 'boys') || (homePage === 'lifestyle') ? 5 : 4, + rows: [5,3] + }); + window.setCookie('_Channel', homePage, { + domain: '.yohobuy.com', + path: '/', + expires: 365 }); } @@ -54,3 +60,4 @@ if (homePage === 'boys') { $('.img-slider-wrapper').slider2(); } + diff --git a/web-static/js/product/product.js b/web-static/js/product/product.js index 393d476..f664695 100644 --- a/web-static/js/product/product.js +++ b/web-static/js/product/product.js @@ -26,6 +26,8 @@ exports.init = function(num) { productList = null; + $goodItem.unbind(); + productList = productEvent($goodItem, num); /** @@ -74,8 +76,6 @@ exports.init = function(num) { productList.addHandler('MouseEnter', function(event) { - - var itemMr = 10, //list的右边距 itemMb = 35, //list的下边距 ulStr = '', @@ -88,20 +88,20 @@ exports.init = function(num) { wrapperPt, //鼠标移入时弹层的上内边距 containerPt; //商品列表容器的上内边距 - $goodInfoMain.html(''); - $goodSelectColor.html(''); - $goodItemWrapper.css({ - display: 'none' - }); $.ajax({ type: 'POST', - url: '/product/index/getProductPic', + url: '/product/list/getProductPic', dataType: 'json', data: { skn: event.target.attr('data-skn') } }).then(function(data) { + //setTimeout(function () { + + removeHtmlFn(); + + ulStr = createColorList(data).colorListStr; //ajax请求的颜色列表 ulNum = createColorList(data).ulNum;//ajax请求的颜色的数量 @@ -112,8 +112,9 @@ exports.init = function(num) { wrapperPt = $goodItemWrapper.css('paddingTop'); containerPt = $goodsContainer.css('paddingTop'); - //wrapperWidth = 10 + (15 + 50) * ulNum + event.targetWidth; - wrapperWidth = $goodItemWrapper.width(); + wrapperWidth = 10 + (15 + 50) * ulNum + event.targetWidth; + + //wrapperWidth = $goodItemWrapper.width(); wrapperX = (event.targetX - 1) * (event.targetWidth + itemMr) - (parseInt(wrapperPl) + 1); wrapperY = (event.targetY - 1) * @@ -133,32 +134,37 @@ exports.init = function(num) { display: 'inline-block' }); + //}, 1000); }); }); $goodItemWrapper.mouseleave(function() { + removeHtmlFn(); + }); + + function removeHtmlFn() { $goodInfoMain.html(''); $goodSelectColor.html(''); $goodItemWrapper.css({ display: 'none' }); - }); - - //鼠标放在颜色列表上效果 - $(document).on('hover', '.good-select-color li', function() { - var coverImg = $(this).find('img').attr('data-cover'), - $coverImg = $(this).closest('.good-item-wrapper').find('.good-detail-img').find('img'); - - $coverImg.attr('src', coverImg); - }); - - // 左侧导航 - $productListNav.click(function() { - if ($(this).hasClass('active')) { - $(this).find('.sort-child-list').stop(true, true).slideUp(); - } else { - $(this).find('.sort-child-list').stop(true, true).slideDown(); - } - $(this).toggleClass('active'); - }); -}; \ No newline at end of file + } +}; + +//鼠标放在颜色列表上效果 +$(document).on('hover', '.good-select-color li', function() { + var coverImg = $(this).find('img').attr('data-cover'), + $coverImg = $(this).closest('.good-item-wrapper').find('.good-detail-img').find('img'); + + $coverImg.attr('src', coverImg); +}); + +// 左侧导航 +$productListNav.click(function() { + if ($(this).hasClass('active')) { + $(this).find('.sort-child-list').stop(true, true).slideUp(); + } else { + $(this).find('.sort-child-list').stop(true, true).slideDown(); + } + $(this).toggleClass('active'); +}); \ No newline at end of file diff --git a/web-static/sass/home/_index-pliffy.scss b/web-static/sass/home/_index-pliffy.scss index 174e8b2..3955526 100644 --- a/web-static/sass/home/_index-pliffy.scss +++ b/web-static/sass/home/_index-pliffy.scss @@ -413,7 +413,7 @@ .singlehot{ li a{ width: 185px; - height: 284px; + height: 248px; } .impo1,.impo9{ width: 378px; diff --git a/web-static/sass/product/_filter-box.scss b/web-static/sass/product/_filter-box.scss index 35d1b21..003f049 100644 --- a/web-static/sass/product/_filter-box.scss +++ b/web-static/sass/product/_filter-box.scss @@ -12,7 +12,7 @@ } } - .title { + .title { float: left; width: 90px; line-height: 30px; @@ -44,6 +44,14 @@ margin-left: 0; } + &.checked { + color: #e01; + + a { + color: #e01; + } + } + -moz-user-select: none; } @@ -287,4 +295,4 @@ .multi .checkbox { display: inline; } -} \ No newline at end of file +} diff --git a/yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Coupon.php b/yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Coupon.php index bd5eabf..0065559 100644 --- a/yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Coupon.php +++ b/yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Coupon.php @@ -21,20 +21,6 @@ class CouponController extends HuodongAction const SESSION_UID = 'coupon_uid'; /** - 正式活动ID(绑优惠券) - 男生 364 - 女生 366 - 潮童 368 - 创意生活 370 - - 正式活动share_ID - 男生 406 - 女生 408 - 潮童 410 - 创意生活 412 - */ - - /** * 男生的品牌领券 */ public function boysbrandAction() @@ -533,6 +519,56 @@ class CouponController extends HuodongAction 'url_1026' => 'http://list.m.yohobuy.com/?msort=6&misort=45&openby:yohobuy={"action":"go.list","params":{"msort":"6","misort":"45","title":"冬靴"}}' )); } + + /** + * 新客领券(第三波)2016年1月7号上线 + */ + public function newuser3Action() + { + // 判断是否是应用访问, 拼接APP需要的URL参数 + $isApp = null !== $this->get('app_version'); + $isAppLogged = true; + if ($isApp) { + $isLogged = $this->get('uid') !== null; + $isAppLogged = $this->checkIsLogin(); + } else { + $isLogged = $this->getUid(); + } + $urlNewuser = Helpers::url('/cuxiao/coupon/newuser3'); + $urlYohope = Helpers::url('/cuxiao/coupon/yohope'); + $urlHelp = Helpers::url('/cuxiao/coupon/help'); + $urlMycoupon = Helpers::url('/home/coupons', null, 'default'); + $urlEncode = strtr($urlNewuser, array('/' => '\\/')); + $channel = $this->get('yh_channel', '1'); + switch (strval($channel)) { + case '1': + $gender = '1,3'; + break; + case '2': + $gender = '2,3'; + break; + default: + $gender = '1,2,3'; + } + $url = Helpers::url('/boys', array(), 'default') . '?openby:yohobuy={"action":"go.home","params":{"gender":"' . $gender . '","channel":"' . $channel . '"}}'; + + $this->_view->display('newuser3-test', array( + 'activityId' => 94, // 472活动ID + 'staticTitle' => '新人潮这看,超值惊喜等你领', // 标题 + 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}', + 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录 + 'url_mycoupon' => $urlMycoupon . '?openby:yohobuy={"action":"go.coupon"}', + 'url_yohope' => $urlYohope . '?yohobuy={"action":"go.h5","params":{"islogin":"Y","type":0,"url":"' . $urlYohope . '","param":{}}}', + 'url_help' => $urlHelp . '?yohobuy={"action":"go.h5","params":{"islogin":"Y","type":0,"url":"' . $urlHelp . '","param":{}}}', + 'url_more' => $url, + 'url_1' => 'http://list.m.yohobuy.com/?msort=1&misort=18,20,21,22&title=冬装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"18,20,21,22","title":"冬装"}}', + 'url_2' => 'http://list.m.yohobuy.com/?msort=6&misort=45&title=靴子&openby:yohobuy={"action":"go.list","params":{"msort":"6","misort":"45","title":"靴子"}}', + 'url_3' => 'http://list.m.yohobuy.com/?msort=1&misort=16,257&title=春装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"16,257","title":"春装"}}', + 'url_4' => 'http://list.m.yohobuy.com/?msort=3,4&title=下装&openby:yohobuy={"action":"go.list","params":{"msort":"3,4","title":"下装"}}', + 'url_5' => 'http://list.m.yohobuy.com/?msort=7,8&title=包配&openby:yohobuy={"action":"go.list","params":{"msort":"7,8","title":"包配"}}', + 'url_6' => 'http://list.m.yohobuy.com/?msort=1,3,6&misort=11,28,12,46&title=反季&openby:yohobuy={"action":"go.list","params":{"msort":"1,3,6","misort":"11,28,12,46","title":"反季"}}', + )); + } /** * 新客领券YOHOPE diff --git a/yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Newyear.php b/yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Newyear.php index 2586411..2943fc0 100644 --- a/yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Newyear.php +++ b/yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Newyear.php @@ -62,6 +62,9 @@ class NewyearController extends HuodongAction 'bannerUrl_2' => 'http://m.yohobuy.com/girls?openby:yohobuy={"action":"go.home","params":{"channel":"2"}}', 'bannerUrl_3' => 'http://m.yohobuy.com/kids?openby:yohobuy={"action":"go.home","params":{"channel":"3"}}', 'bannerUrl_4' => 'http://m.yohobuy.com/lifestyle?openby:yohobuy={"action":"go.home","params":{"channel":"4"}}', + 'playAgain' => 'http://feature.yoho.cn/2016lishifeng/index.html', + 'appUrl_1' => 'http://www.yohoshow.com/about/index/yohobuyqr', + 'appUrl_2' => 'http://www.yohoshow.com/about/index/yohoboysqr', )); } diff --git a/yohobuy/m.yohobuy.com/application/controllers/Home.php b/yohobuy/m.yohobuy.com/application/controllers/Home.php index d33f040..53fe7ec 100644 --- a/yohobuy/m.yohobuy.com/application/controllers/Home.php +++ b/yohobuy/m.yohobuy.com/application/controllers/Home.php @@ -870,7 +870,7 @@ class HomeController extends AbstractAction break; } - $totalFee = intval(strtr($orderDetail['data']['amount'], array('¥' => ''))) * 100; + $totalFee = strval($orderDetail['data']['payment_amount'] * 100); $openId = $this->getSession('weixinOpenId'); if (empty($openId)) { break; diff --git a/yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Reg.php b/yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Reg.php index 11c721c..570c20b 100644 --- a/yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Reg.php +++ b/yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Reg.php @@ -28,8 +28,10 @@ class RegController extends AbstractAction $data['areaCode'] = '+86'; // 默认的区号 $data['countrys'] = RegData::getAreasData(); // 地区信息列表 - $refer = $this->get('refer', SITE_MAIN . '/?go=1'); - $this->setCookie('refer', $refer); + $refer = $this->get('refer'); + if (!empty($refer)) { + $this->setCookie('refer', $refer); + } // 生成HTML(reg.html) //$this->_view->html('reg'); diff --git a/yohobuy/m.yohobuy.com/configs/application.developer.ini b/yohobuy/m.yohobuy.com/configs/application.developer.ini index 67f3aa7..f3f9632 100644 --- a/yohobuy/m.yohobuy.com/configs/application.developer.ini +++ b/yohobuy/m.yohobuy.com/configs/application.developer.ini @@ -50,7 +50,7 @@ application.template.ext = ".phtml" application.assets.path = ROOT_PATH "/assets" ; 应用的版本号 -application.version = "1.3.2" +application.version = "1.3.3" ; 网站SEO信息 application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" diff --git a/yohobuy/m.yohobuy.com/configs/application.preview.ini b/yohobuy/m.yohobuy.com/configs/application.preview.ini index 8357347..9627d53 100644 --- a/yohobuy/m.yohobuy.com/configs/application.preview.ini +++ b/yohobuy/m.yohobuy.com/configs/application.preview.ini @@ -50,7 +50,7 @@ application.template.ext = ".phtml" application.assets.path = ROOT_PATH "/assets" ; 应用的版本号 -application.version = "1.3.2" +application.version = "1.3.3" ; 网站SEO信息 application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" diff --git a/yohobuy/m.yohobuy.com/configs/application.production.ini b/yohobuy/m.yohobuy.com/configs/application.production.ini index a4afd0d..3e7d767 100644 --- a/yohobuy/m.yohobuy.com/configs/application.production.ini +++ b/yohobuy/m.yohobuy.com/configs/application.production.ini @@ -50,7 +50,7 @@ application.template.ext = ".phtml" application.assets.path = ROOT_PATH "/assets" ; 应用的版本号 -application.version = "1.3.2" +application.version = "1.3.3" ; 网站SEO信息 application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" diff --git a/yohobuy/m.yohobuy.com/configs/application.testing.ini b/yohobuy/m.yohobuy.com/configs/application.testing.ini index 3e8d245..eda34f8 100644 --- a/yohobuy/m.yohobuy.com/configs/application.testing.ini +++ b/yohobuy/m.yohobuy.com/configs/application.testing.ini @@ -50,7 +50,7 @@ application.template.ext = ".phtml" application.assets.path = ROOT_PATH "/assets" ; 应用的版本号 -application.version = "1.3.2" +application.version = "1.3.3" ; 网站SEO信息 application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" diff --git a/yohobuy/www.yohobuy.com/application/Bootstrap.php b/yohobuy/www.yohobuy.com/application/Bootstrap.php index a7f1b45..7213968 100644 --- a/yohobuy/www.yohobuy.com/application/Bootstrap.php +++ b/yohobuy/www.yohobuy.com/application/Bootstrap.php @@ -66,22 +66,19 @@ class Bootstrap extends Bootstrap_Abstract { $hostParts = explode('.', $dispatcher->getRequest()->getServer('HTTP_HOST', '')); $level = count($hostParts) - 1; + /* 根据域名的级别,设置默认的模块、控制器、方法 */ $module = 'Index'; $controller = 'Index'; $action = 'Index'; - $levelNum = 2; - if(APPLICATION_ENV == 'developer') { - $levelNum = 3; - } - // 三级域名 - if ($levelNum === $level) { + + // 二级域名 + if (2 === $level) { $subDomain = strval($hostParts[0]); switch (strtolower($subDomain)) { - case 'www': - case 'web': // 老版(到频道选择) - case 'new': // 原新版(到男生首页) - $controller = 'Boys'; + case 'www': // 主站 + case 'new': // 原新版 + case 'dev': // 开发环境 break; case 'search': // 搜索 $controller = 'Search'; diff --git a/yohobuy/www.yohobuy.com/application/controllers/Boys.php b/yohobuy/www.yohobuy.com/application/controllers/Boys.php index 7b46cd4..5120a76 100644 --- a/yohobuy/www.yohobuy.com/application/controllers/Boys.php +++ b/yohobuy/www.yohobuy.com/application/controllers/Boys.php @@ -1,6 +1,5 @@ <?php use Action\WebAction; -use Index\HomeModel; /** * 男首 @@ -10,11 +9,12 @@ class BoysController extends WebAction public function indexAction() { - $this->setWebNavHeader(Index\HomeModel::COOKIE_NAME_BOYS); + $this->setWebNavHeader(\Index\HomeModel::COOKIE_NAME_BOYS); $data = array( 'boysHomePage' => true, - 'boys' => HomeModel::getChannelResource(HomeModel::COOKIE_NAME_BOYS, HomeModel::CODE_BOYS_CHANNEL) + 'boys' => \Index\HomeModel::getChannelResource(HomeModel::COOKIE_NAME_BOYS, HomeModel::CODE_BOYS_CHANNEL) ); $this->_view->display('index', $data); } + } \ No newline at end of file diff --git a/yohobuy/www.yohobuy.com/application/controllers/Index.php b/yohobuy/www.yohobuy.com/application/controllers/Index.php index 734d1b9..6354dd9 100644 --- a/yohobuy/www.yohobuy.com/application/controllers/Index.php +++ b/yohobuy/www.yohobuy.com/application/controllers/Index.php @@ -1,10 +1,33 @@ <?php +/** + * 默认控制器 + */ use Action\WebAction; + class IndexController extends WebAction { + + /** + * 男生首页 + */ public function indexAction() { - echo 'hello'; - exit(); + if (null !== $this->get('go')) { + // 先检查COOKIE是否有访问过, 有则跳转到相应的频道页 + \Index\HomeModel::goSwitchChannel(); + } else { + // 设置客户端浏览器1分钟内不改变 + $this->setLastModified(mktime(date('H'), date('i'), 0, date('n'), date('j'), date('Y'))); + // 设置浏览器缓存1分钟 + $this->setExpires(60); + } + + $this->setWebNavHeader(\Index\HomeModel::COOKIE_NAME_BOYS); + $data = array( + 'boysHomePage' => true, + 'boys' => \Index\HomeModel::getChannelResource(\Index\HomeModel::COOKIE_NAME_BOYS, \Index\HomeModel::CODE_BOYS_CHANNEL) + ); + $this->_view->display('index', $data); } + } \ No newline at end of file diff --git a/yohobuy/www.yohobuy.com/application/models/Index/Home.php b/yohobuy/www.yohobuy.com/application/models/Index/Home.php index 2e91c44..8dbf129 100644 --- a/yohobuy/www.yohobuy.com/application/models/Index/Home.php +++ b/yohobuy/www.yohobuy.com/application/models/Index/Home.php @@ -113,6 +113,20 @@ class HomeModel } return $menu; } + + /** + * 选择频道 + * + * @return void + */ + public static function goSwitchChannel() + { + // 通过COOKIE检查是否已设置过首页频道时,跳转到对应的频道页 + if (!empty($_COOKIE['_Channel'])) { + headers_sent() || header('Location: /' . $_COOKIE['_Channel']); + exit(); + } + } /** * 设置选择的频道保存到浏览器COOKIE @@ -202,6 +216,14 @@ class HomeModel 'order' => 's_t_desc', 'shelve_time' => strtotime("-60 days") . ',' . time() ); + //男首频道最新上架参数是gender=1,3 + if($channel == self::COOKIE_NAME_BOYS) { + $params['gender'] = '1,3'; + } + //女首频道最新上架参数是gender=2,3 + else if($channel == self::COOKIE_NAME_GIRLS) { + $params['gender'] = '2,3'; + } // 最新上架分类 if (isset(ChannelConfig::$newArrivalSortList[$channel])) { $sortList = ChannelConfig::$newArrivalSortList[$channel]; diff --git a/yohobuy/www.yohobuy.com/application/models/Passport/Passport.php b/yohobuy/www.yohobuy.com/application/models/Passport/Passport.php new file mode 100644 index 0000000..4dd3e15 --- /dev/null +++ b/yohobuy/www.yohobuy.com/application/models/Passport/Passport.php @@ -0,0 +1,114 @@ +<?php + +namespace Passport; + +use Plugin\Helpers; +use LibModels\Web\Home\IndexData; +use LibModels\Web\Passport\RegData; +use Plugin\Images; +use Plugin\Captcha; + +/** + * web登录注册等相关数据构建 + * + * @name PassportModel + * @package models + * @copyright yoho.inc + * @version 1.0 (2015-12-29 14:38:00) + * @author xiaowei <xiaowei.gong@yoho.cn> + */ +class PassportModel +{ + + const REGISTER_LEFT_BANNER_CODE = 'c479ec90120cae7f96e52922b4917064';//注册左边的banner + const BACK_LFFT_BANNER_CODE = '3bbaf502c447a2ddad60879042e286d8';//找回密码左边的banner + + //简单头部 + public static function getSimpleHeader($isLogin, $username = '') + { + $tool = array( + 'favoriteHref' => Helpers::url('/home/favorite/index'), //我的收藏链接 + 'couponHref' => Helpers::url('/home/coupons/index'), //我的优惠券链接 + 'orderHref' => Helpers::url('/home/orders/index'), //订单中心连接 + 'helpHref' => Helpers::url('/help'), + ); + if ($isLogin) { + $tool+=array( + 'user' => $username, + 'userCenter' => Helpers::url('/home/index'), //用户中心链接 + 'logoutHref' => Helpers::url('/passport/signout/index'), //退出 + ); + } + else { + $tool+=array( + 'loginHref' => Helpers::url('/signin.html'), //登录链接,已登录不传 + 'registerHref' => Helpers::url('/reg.html'), //注册链接,已登录不传 + ); + } + + $simpleHeader = array( + 'logo' => array( + 'img' => 'http://static.yohobuy.com/newheader/img/logo_e.png', + 'url' => SITE_MAIN + ), + 'tool' => $tool + ); + + return $simpleHeader; + } + + /** + * 获取左侧banner + * + * @param string $code + * @return array + */ + public static function getLeftBanner($code) + { + $ret = array('img'=>'','url'=>''); + $resource = IndexData::getResourceData($code); + if(isset($resource['data'][0])) + { + $val = current($resource['data'][0]['data']); + $ret['img'] = Images::getImageUrl($val['src'], 252, 190); + $ret['url'] = $val['url']; + } + return $ret; + } + + /** + * 校验验证码 + * + * @param string $verifyCode + * @return boolean + */ + public static function verifyCode($verifyCode) + { + $verifyCode = strtolower($verifyCode); + $ret = true; + //检测验证码不正确 + if($verifyCode != strtolower(Captcha::getFromSession('passport_istration'))) { + $ret = false; + } + return $ret; + } + + /** + * 根据手机号获取用户信息 + * + * @param string $area + * @param string $mobile + * @return array + */ + public static function getUserInfoByMobile($area, $mobile) { + $ret = array(); + $data = RegData::getUserInfoByMobile($area, $mobile); + if($data['code'] == 200) { + if(!empty($data['data'])) { + $ret = current($data['data']); + } + } + return $ret; + } + +} diff --git a/yohobuy/www.yohobuy.com/application/models/Product/Brands.php b/yohobuy/www.yohobuy.com/application/models/Product/Brands.php index b07338b..2ae0725 100644 --- a/yohobuy/www.yohobuy.com/application/models/Product/Brands.php +++ b/yohobuy/www.yohobuy.com/application/models/Product/Brands.php @@ -1,19 +1,76 @@ <?php + namespace Product; use Plugin\Helpers; +use Plugin\HelperSearch; use LibModels\Web\Product\BrandData; -use Product\SearchModel; +use LibModels\Wap\Product\SearchData; +use LibModels\Web\Product\SearchData as WebProduct; /** - * Description of Brands + * 品牌首页模板数据模型 * * @author Administrator */ -class BrandsModel -{ +class BrandsModel { + + const URL_BRAND_INDEX = '/product/index/brand'; - const URL_BRAND_INDEX = '/product/brands/index'; + public static $shopName; + public static $home; + + /** + * 搜索品牌数据 + * + * @param $condition array + * 搜索数据的条件 + * @param $options array + * @return array + */ + public static function getBrandSearchData($condition, $options, $domain, $uid, $brandId) { + + // 调用商品搜索接口 + $data = SearchData::searchElasticByCondition($condition); + + //获取品牌banner数据 + $banner = self::getBannerByDomain($domain, $brandId, $uid = ''); + $brandName = self::$shopName; + $options['brandName'] = $brandName; + + if (isset($data['code']) && $data['code'] === 200) { + //获取分类列表数据 + $param = array(); + $param['brand'] = $condition['brand']; + $classes = WebProduct::getClassesData($param); + if (isset($classes['code']) && $classes['code'] === 200) { + $data['data']['filter']['group_sort'] = $classes['data']['sort']; + } + + //用户浏览记录 + + + // 组织模板数据 + $list = HelperSearch::getList($data, $options); + + //合并商品搜索数据与品牌banner数据 + $list = array_merge_recursive($list,$banner); + + $data = array( + //初始化js + 'productListPage' => true, + 'list' => $list + ); + } else { + $data = array(); + } + + //获取品牌系列数据 + $adNav = self::getAdNav($condition['brand']); + $data['list']['leftContent'][] = array('picLink' => $adNav); + + return $data; + } /** * 获取品牌首页banner条 @@ -23,25 +80,24 @@ class BrandsModel * * @return array 品牌banner条数据 */ - public static function getBannerByDomain($domain, $bannerId, $uid = '') - { + public static function getBannerByDomain($domain, $brandId, $uid = '') { // 构造品牌主页url - $home = Helpers::url('', '', $domain) . self::URL_BRAND_INDEX; + self::$home = Helpers::url('', '', $domain) . self::URL_BRAND_INDEX; // 根据品牌Id获取品牌banner图 - $bannerImg = BrandData::getBrandBanner($bannerId); + $bannerImg = BrandData::getBrandBanner($brandId); if (isset($bannerImg['data'])) { - $bannerImg = Helpers::getImageUrl($bannerImg['data']['banner'], 1366, 150); + $bannerImg = Helpers::getImageUrl($bannerImg['data']['banner'], '', 150); } // 根据品牌Id获取品牌(简介)、收藏 if (isset($uid)) { - $intro = BrandData::getBrandIntro($bannerId, $uid); + $intro = BrandData::getBrandIntro($brandId, $uid); } $is_favorite = false; $logo = false; $shopName = false; - + do { - if (! isset($intro['data'])) { + if (!isset($intro['data'])) { break; } // 获取是否收藏 @@ -53,21 +109,20 @@ class BrandsModel // 获取品牌logo $logo = Helpers::getImageUrl($intro['data']['brand_ico'], 80, 50); // 获取品牌名 - $shopName = $intro['data']['brand_name']; + self::$shopName = $intro['data']['brand_name']; } while (false); - + // 返回banner数据 return array( - 'list' => array( 'brandBanner' => array( 'bannerHeight' => '150', 'coled' => $is_favorite, 'banner' => $bannerImg ), 'shopEntry' => array( - 'home' => $home, + 'home' => self::$home, 'logo' => $logo, - 'shopName' => $shopName, + 'shopName' => self::$shopName, 'sort' => array( array( 'href' => '', @@ -79,24 +134,21 @@ class BrandsModel ) ) ) - ) - ); + ); } - /** - * 搜索品牌数据 - * - * @param $condition array - * 搜索数据的条件 - * @param $options array - * @return array - */ - public static function getBrandSearchData($condition, $options) - { - // 调用商品搜索接口 - $data = \Product\SearchModel::getSearchData($condition, $options); - unset($data['list']['filters']['brand']); - return $data; - } - -} + //获取品牌系列数据 + public static function getAdNav($brandId, $status = 1) { + //调用接口获得数据 + $advNav = BrandData::getFolderByBrand($brandId, $status); + $result = array(); + if (isset($advNav['data']) && $advNav['code'] === 200) { + foreach ($advNav['data'] as $key => $value) { + $result['list'][$key]['href'] = self::$home . '?folder_id=' . $value['id']; + $result['list'][$key]['src'] = $value['brand_sort_ico']; + } + } + return $result; + } + +} diff --git a/yohobuy/www.yohobuy.com/application/models/Product/Search.php b/yohobuy/www.yohobuy.com/application/models/Product/Search.php index b083fba..2a850ed 100644 --- a/yohobuy/www.yohobuy.com/application/models/Product/Search.php +++ b/yohobuy/www.yohobuy.com/application/models/Product/Search.php @@ -1,9 +1,6 @@ <?php namespace Product; -use Configs\CacheConfig; -use Plugin\Images; -use Plugin\Cache; use Plugin\HelperSearch; use \LibModels\Web\Product\SearchData; @@ -22,7 +19,7 @@ class SearchModel /** * 根据条件获取搜索数据 * - * @param $condition 搜索数据的条件 + * @param $condition 搜索数据的条件 * @param $options Array([imgSize] * => Array([0] => 235[1] => 314)[minImgSize] => Array([0] => 60[1] => 80)[gender] => 1[needPd] => Y[rowNum] => 5[viewNum] => 60) * @author sefon 2015-12-17 16:12:18 @@ -30,32 +27,59 @@ class SearchModel */ public static function getSearchData($condition, $options) { + $data = array(); // 调用接口查询商品数据 $result = SearchData::searchElasticByCondition($condition); - // 调用分类信息 - $category = SearchData::getClassesData(); - if (isset($category['code']) && $category['code'] === 200) { - $result['data']['filter']['group_sort'] = $category['data']['sort']; - } - // 调用折扣区间 - $discount = SearchData::getDiscount(); - if (isset($discount['code']) && $discount['code'] === 200) { - $result['data']['filter']['discount'] = $discount['data']['discount']; - } - // 调用最新上架 - $recent = SearchData::recentShelve(); - if (isset($discount['code']) && $discount['code'] === 200) { - $result['data']['filter']['recent'] = $recent['data']['recent']; - } - // 组织模板数据 if (isset($result['code']) && $result['code'] === 200) { - $res = HelperSearch::getList($result, $options); - $list = HelperSearch::getTemplateData($res, $options); + // 调用分类信息 + $category = SearchData::getClassesData(); + if (isset($category['code']) && $category['code'] === 200) { + $result['data']['filter']['group_sort'] = $category['data']['sort']; + } + // 调用折扣区间 + $discount = SearchData::getDiscount(); + if (isset($discount['code']) && $discount['code'] === 200) { + $result['data']['filter']['discount'] = $discount['data']['discount']; + } + // 调用最新上架 + $recent = SearchData::recentShelve(); + if (isset($discount['code']) && $discount['code'] === 200) { + $result['data']['filter']['recent'] = $recent['data']['recent']; + } + //用户浏览记录 + $result['data']['filter']['review'] = SearchData::getRecentReview(); + // 组织模板数据 + $list = HelperSearch::getList($result, $options); $data = array( - 'productListPage' => true, //初始化js - 'list' => $list - ); - } - return $data; - } + //初始化js + 'productListPage' => true, + 'list' => $list + ); + }else{ + //接口异常,调用二级缓存 + $data = array(); + } + return $data; + } + + /** + * 根据product_sn查询产品图片信息 + * @param $product_sn + * @param $options + * @author sefon 2015-12-28 18:09:28 + * @return array + */ + public static function getProductPic($product_sn, $options) + { + $condition['query'] = $product_sn; + //返回搜索条件 + $condition['needFilter'] = 0; + //获取产品数据 + $data = SearchData::searchElasticByCondition($condition); + if (isset($data['code']) && $data['code'] === 200 && isset($data['data']['product_list']) && !empty($data['data']['product_list'])) { + //组织数据结构 + $data = HelperSearch::getProductPic($data['data']['product_list'], $options); + } + echo json_encode($data); + } } \ No newline at end of file diff --git a/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Back.php b/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Back.php index 0abb7ba..0abc388 100644 --- a/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Back.php +++ b/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Back.php @@ -1,62 +1,52 @@ <?php +use Action\WebAction; +use LibModels\Web\Passport\RegData; +use Passport\PassportModel; +use Plugin\Helpers; -use Action\AbstractAction; - -class BackController extends AbstractAction +class BackController extends WebAction { /** * 找回密码 */ public function indexAction() { - - $simpleHeader = array( - 'logo' => array( - 'img' => 'http://static.yohobuy.com/newheader/img/logo_e.png', - 'url' => 'http://www.yohobuy.com' - ), - 'tool' => array( - 'user' => '2586703@qq.com', - 'userCenter' => '', - 'loginHref' => '', - 'registerHref' => '', - 'favoriteHref' => '', - 'couponHref' => '', - 'orderHref' => '', - 'helpHref' => '' - ) - ); + $banner = PassportModel::getLeftBanner(PassportModel::BACK_LFFT_BANNER_CODE); $data = array( - 'simpleHeader' => $simpleHeader, + 'simpleHeader' => PassportModel::getSimpleHeader(false), 'backPage' => true, 'back' => array( - 'coverHref' => '/passport', - 'coverImg' => 'http://img12.static.yhbimg.com/yhb-img01/2015/12/01/07/020a0b6e7ff908d0c2bc4045b4fef42b9f.png?imageView/2/w/252/h/190', + 'coverHref' => $banner['url'], + 'coverImg' => $banner['img'], 'countryCode' => '86', 'countryName' => '中国', - 'countryList' => array( - array( - 'code' => '61', - 'name' => '澳大利亚' - ), - array( - 'code' => '82', - 'name' => '韩国' - ), - array( - 'code' => '1', - 'name' => '加拿大' - ), - array( - 'code' => '86', - 'name' => '中国' - ) - ) + 'countryList' => RegData::getAreasData(), ) ); $this->_view->display('index', $data); } + public function authcodeAction() + { + echo $this->echoJson(array('code'=> 200)); + } + + /** + * + */ + public function emailAction() + { + $phoneNum = $this->post('phoneNum',''); + $captcha = $this->post('captcha',''); + if(Helpers::verifyEmail($phoneNum)){ //验证邮箱 + $email = $phoneNum; + $this->redirect('sendemail'); + } else if(Helpers::verifyMobile($phoneNum)) {//验证手机号 + $mobile = $phoneNum; + $this->redirect('verification'); + } + } + /** * 发送邮件 */ diff --git a/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Back1.php b/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Back1.php new file mode 100644 index 0000000..0abb7ba --- /dev/null +++ b/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Back1.php @@ -0,0 +1,183 @@ +<?php + +use Action\AbstractAction; + +class BackController extends AbstractAction +{ + /** + * 找回密码 + */ + public function indexAction() + { + + $simpleHeader = array( + 'logo' => array( + 'img' => 'http://static.yohobuy.com/newheader/img/logo_e.png', + 'url' => 'http://www.yohobuy.com' + ), + 'tool' => array( + 'user' => '2586703@qq.com', + 'userCenter' => '', + 'loginHref' => '', + 'registerHref' => '', + 'favoriteHref' => '', + 'couponHref' => '', + 'orderHref' => '', + 'helpHref' => '' + ) + ); + $data = array( + 'simpleHeader' => $simpleHeader, + 'backPage' => true, + 'back' => array( + 'coverHref' => '/passport', + 'coverImg' => 'http://img12.static.yhbimg.com/yhb-img01/2015/12/01/07/020a0b6e7ff908d0c2bc4045b4fef42b9f.png?imageView/2/w/252/h/190', + 'countryCode' => '86', + 'countryName' => '中国', + 'countryList' => array( + array( + 'code' => '61', + 'name' => '澳大利亚' + ), + array( + 'code' => '82', + 'name' => '韩国' + ), + array( + 'code' => '1', + 'name' => '加拿大' + ), + array( + 'code' => '86', + 'name' => '中国' + ) + ) + ) + ); + $this->_view->display('index', $data); + } + + /** + * 发送邮件 + */ + public function sendemailAction() { + $simpleHeader = array( + 'logo' => array( + 'img' => 'http://static.yohobuy.com/newheader/img/logo_e.png', + 'url' => 'http://www.yohobuy.com' + ), + 'tool' => array( + 'user' => '2586703@qq.com', + 'userCenter' => '', + 'loginHref' => '', + 'logoutHref' => '', + 'registerHref' => '', + 'favoriteHref' => '', + 'couponHref' => '', + 'orderHref' => '', + 'helpHref' => '' + ) + ); + $data = array( + 'simpleHeader' => $simpleHeader, + 'sendEmail' => array( + 'coverHref' => '/passport', + 'coverImg' => 'http://img12.static.yhbimg.com/yhb-img01/2015/12/01/07/020a0b6e7ff908d0c2bc4045b4fef42b9f.png?imageView/2/w/252/h/190', + 'countrys' => array() + ) + ); + $this->_view->display('send-email', $data); + } + + /** + * 重置密码 + */ + public function resetPwdAction() { + $simpleHeader = array( + 'logo' => array( + 'img' => 'http://static.yohobuy.com/newheader/img/logo_e.png', + 'url' => 'http://www.yohobuy.com' + ), + 'tool' => array( + 'user' => '2586703@qq.com', + 'userCenter' => '', + 'loginHref' => '', + 'logoutHref' => '', + 'registerHref' => '', + 'favoriteHref' => '', + 'couponHref' => '', + 'orderHref' => '', + 'helpHref' => '' + ) + ); + $data = array( + 'simpleHeader' => $simpleHeader, + 'resetPage' => true, + 'resetPwd' => array( + 'coverHref' => '/passport', + 'coverImg' => 'http://img12.static.yhbimg.com/yhb-img01/2015/12/01/07/020a0b6e7ff908d0c2bc4045b4fef42b9f.png?imageView/2/w/252/h/190', + 'countrys' => array() + ) + ); + $this->_view->display('reset-pwd', $data); + } + + public function resetSuccessAction() { + $simpleHeader = array( + 'logo' => array( + 'img' => 'http://static.yohobuy.com/newheader/img/logo_e.png', + 'url' => 'http://www.yohobuy.com' + ), + 'tool' => array( + 'user' => '2586703@qq.com', + 'userCenter' => '', + 'loginHref' => '', + 'logoutHref' => '', + 'registerHref' => '', + 'favoriteHref' => '', + 'couponHref' => '', + 'orderHref' => '', + 'helpHref' => '' + ) + ); + $data = array( + 'simpleHeader' => $simpleHeader, + 'resetSuccess' => array( + 'coverHref' => '/passport', + 'coverImg' => 'http://img12.static.yhbimg.com/yhb-img01/2015/12/01/07/020a0b6e7ff908d0c2bc4045b4fef42b9f.png?imageView/2/w/252/h/190', + 'countrys' => array() + ) + ); + $this->_view->display('reset-success', $data); + } + + public function verificationAction() { + $simpleHeader = array( + 'logo' => array( + 'img' => 'http://static.yohobuy.com/newheader/img/logo_e.png', + 'url' => 'http://www.yohobuy.com' + ), + 'tool' => array( + 'user' => '2586703@qq.com', + 'userCenter' => '', + 'loginHref' => '', + 'logoutHref' => '', + 'registerHref' => '', + 'favoriteHref' => '', + 'couponHref' => '', + 'orderHref' => '', + 'helpHref' => '' + ) + ); + $data = array( + 'simpleHeader' => $simpleHeader, + 'vertificationPage' => true, + 'verification' => array( + 'coverHref' => '/passport', + 'coverImg' => 'http://img12.static.yhbimg.com/yhb-img01/2015/12/01/07/020a0b6e7ff908d0c2bc4045b4fef42b9f.png?imageView/2/w/252/h/190', + 'countrys' => array() + ) + ); + $this->_view->display('verification', $data); + } +} \ No newline at end of file diff --git a/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Images.php b/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Images.php new file mode 100644 index 0000000..da31805 --- /dev/null +++ b/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Images.php @@ -0,0 +1,34 @@ +<?php +use Action\WebAction; +use Plugin\Captcha; +class ImagesController extends WebAction +{ + /** + * 验证码-生成 + * + * @return mixed 验证码图片 + */ + public function indexAction() + { + $g = trim($this->get('g')); + $namespace = !empty($g) ? $g : 'passport_istration'; + $imgCode = new Captcha(); + $imgCode->setWidth(150)->setHeight(50)->setWordLen(4)->generate($namespace); + exit(); + } + + /** + * 验证码-检测 + * + * @param string auth_code (验证码) + * @return string true|false + */ + public function verifyimgcodeAction () + { + if (strtolower($this->get('auth_code')) !== strtolower(Captcha::getFromSession('passport_istration'))) + { + die('false'); + } + die('true'); + } +} \ No newline at end of file diff --git a/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Login.php b/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Login.php index dcf78e6..4fdcf1d 100644 --- a/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Login.php +++ b/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Login.php @@ -1,41 +1,421 @@ -<?php - -use Action\AbstractAction; - -class LoginController extends AbstractAction -{ - /** - * 登录页 - */ - public function indexAction() - { - $data = array( - 'loginPage' => true, - 'passport' => array( - 'coverHref' => '/passport', - 'coverImg' => 'http://img12.static.yhbimg.com/yhb-img01/2015/12/01/07/020a0b6e7ff908d0c2bc4045b4fef42b9f.png?imageView/2/w/252/h/190', - 'countryCode' => '86', - 'countryName' => '中国', - 'countryList' => array( - array( - 'code' => '61', - 'name' => '澳大利亚' - ), - array( - 'code' => '82', - 'name' => '韩国' - ), - array( - 'code' => '1', - 'name' => '加拿大' - ), - array( - 'code' => '86', - 'name' => '中国' - ) - ) - ) - ); - $this->_view->display('index', $data); - } -} \ No newline at end of file +<?php + +use Action\AbstractAction; +use LibModels\Web\Passport\RegData; +use LibModels\Web\Passport\LoginData; +use LibModels\Web\Home\IndexData; +use Passport\PassportModel as PassportModel; +use Plugin\Helpers; +use Plugin\Images; +use Plugin\Partner\Factory; + +class LoginController extends AbstractAction +{ + + /** + * 登录页 + */ + public function indexAction() + { + $this->setTitle('用户登录'); + // 设置登录有效时间30分钟, 防机器刷 + $this->setSession('_LOGIN_EXPIRE', time() + 1800); + + // 清除客户端 + $this->setCookie('_UID', ''); + $this->setCookie('_TOKEN', ''); + + //登录后跳转页面 + $refer = $this->get('refer'); + if (!empty($refer)) { + $this->setCookie('refer', $refer); + } + //获取用户 + $uid = $this->getUid(true); + if (!$uid) { + $isLogin = false; + $username = ''; + } + else { + $isLogin = true; + $username = $this->_uname; + } + $simpleHeader = PassportModel::getSimpleHeader($isLogin, $username); + //获取登陆页左侧资源 + $adInfo = IndexData::getResourceData('db350894e01e90eac55cd3a13ad77331'); + $coverHref = ''; + $coverImg = ''; + if (isset($adInfo['data'][0]['data']) && $adInfo['data'][0]['data']) { + $coverHref = $adInfo['data'][0]['data'][0]['url']; + $coverImg = Images::getImageUrl($adInfo['data'][0]['data'][0]['src'], 252, 190); + } + //整合 + $data = array( + 'loginPage' => true, + 'simpleHeader' => $simpleHeader, + 'passport' => array( + 'coverHref' => $coverHref, + 'coverImg' => $coverImg, + 'countryCode' => '+86', + 'countryName' => '中国', + 'countryList' => RegData::getAreasData(), + 'forgetPwd' => Helpers::url('/passport/back/index'), + 'fastReg' => Helpers::url('/reg.html'), + 'qqLogin' => Helpers::url('/passport/login/qq'), + 'weiboLogin' => Helpers::url('/passport/login/sina'), + 'alipayLogin' => Helpers::url('/passport/login/alipay'), + 'doubanLogin' => Helpers::url('/passport/login/douban'), + 'renrenLogin' => Helpers::url('/passport/login/renren'), + ), + ); + + $this->_view->display('index', $data); + } + + /** + * 登录操作 + * + * @param string areaCode 地区编号, 不需要+号 + * @param string account 账号(邮箱或手机号) + * @param string password 密码 + * @return json + */ + public function authAction() + { + $data = array('code' => 400, 'message' => '账号或密码不正确', 'data' => ''); + + do { + /* 判断是不是AJAX请求 */ + if (!$this->isAjax()) { + break; + } + + /* 判断参数是否传递 */ + $area = $this->post('areaCode', '86'); + $profile = $this->post('account'); + $password = $this->post('password'); + if (!is_numeric($area) || empty($profile) || empty($password)) { + break; + } + + /* 判断参数是否有效 */ + $verifyEmail = Helpers::verifyEmail($profile); + $verifyMobile = ($area === '86') ? Helpers::verifyMobile($profile) : Helpers::verifyAreaMobile($profile, $area); + if (!$verifyEmail && !$verifyMobile) { + break; + } + + /* 设置登录有效时间30分钟, 防机器刷 */ + $expire = $this->getSession('_LOGIN_EXPIRE'); + if (empty($expire) || $expire < time()) { + break; + } + + /* 调用登录接口进行登录 */ + // 获取未登录时的唯一识别码 + $shoppingKey = Helpers::getShoppingKeyByCookie(); + $data = LoginData::signin($area, $profile, $password, $shoppingKey); + if (!isset($data['code']) || $data['code'] != 200 || !isset($data['data']['uid'])) { + break; + } + + $refer = $this->getCookie('refer'); + if (empty($refer)) { + $refer = SITE_MAIN . '/?go=1'; + } + else { + $refer = rawurldecode($refer); + } + $data['data']['session'] = Helpers::syncUserSession($data['data']['uid']); + $data['data']['href'] = $refer; + + $token = Helpers::makeToken($data['data']['uid']); + $this->setCookie('_TOKEN', $token); + $this->setSession('_TOKEN', $token); + $this->setSession('_LOGIN_UID', $data['data']['uid']); + } + while (false); + + $this->echoJson($data); + } + + //退出 + public function outAction() + { + // 清除服务端会话 + $this->setSession('_TOKEN', ''); + $this->setSession('_LOGIN_UID', ''); + + // 清除客户端 + $this->setCookie('_UID', ''); + $this->setCookie('_TOKEN', ''); + $this->setCookie('_SPK', ''); + + $refer = $this->server('HTTP_REFERER', SITE_MAIN); + $token = $this->get('token'); + if (!empty($token)) { + $this->go(Helpers::logoutSession($token, $refer)); + } + + $this->go($refer); + } + + //第三方登录 + /** + * 支付宝登录:授权页面 + */ + public function alipayAction() + { + $this->setSession('_TOKEN', ''); + + Factory::create('alipay')->getAuthorizeUrl(); + + exit(); + } + + /** + * QQ账号登录:授权页面 + */ + public function qqAction() + { + $this->setSession('_TOKEN', ''); + + Factory::create('qqconnect')->getAuthorizeUrl(); + + exit(); + } + + /** + * 新浪微博账号登录:授权页面 + */ + public function sinaAction() + { + $this->setSession('_TOKEN', ''); + + $this->go(Factory::create('sinaweibo')->getAuthorizeUrl()); + } + + /** + * 新浪微博账号登录:授权页面 + */ + public function renrenAction() + { + $this->setSession('_TOKEN', ''); + + $this->go(Factory::create('renren')->getAuthorizeUrl()); + } + + /** + * 豆瓣账号登录:授权页面 + */ + public function doubanAction() + { + $this->setSession('_TOKEN', ''); + + $this->go(Factory::create('douban')->getAuthorizeUrl()); + } + + /** + * 支付宝账号登录:回调方法 + */ + public function alipaycallbackAction() + { + $realName = $this->_request->get('real_name'); + $email = $this->_request->get('email'); + $userId = $this->_request->get('user_id'); + + $result = array(); + if (isset($realName, $email, $userId)) { + $shoppingKey = Helpers::getShoppingKeyByCookie(); + $result = LoginData::signinByOpenID($realName, $userId, 'alipay', $shoppingKey); + } + + //判定是否需要绑定手机号 + if (isset($result['data']['mobile']) && $result['data']['mobile'] == '') { + $this->go(Helpers::url('/passport/bind/index', array('openId' => $userId, 'sourceType' => 'alipay', 'nickname' => $realName))); + } + + $refer = $this->getCookie('refer'); + if (empty($refer)) { + $refer = SITE_MAIN . '/?go=1'; + } + else { + $refer = rawurldecode($refer); + } + + if (isset($result['code']) && $result['code'] == 200 && !empty($result['data']['uid'])) { + $token = Helpers::makeToken($result['data']['uid']); + $this->setSession('_TOKEN', $token); + $this->setSession('_LOGIN_UID', $result['data']['uid']); + $this->setCookie('_TOKEN', $token); + $this->go(Helpers::syncUserSession($result['data']['uid'], $refer)); + } + else { + $this->go($refer); + } + } + + /** + * QQ账号登录:回调方法 + */ + public function qqcallbackAction() + { + $qqconnect = Factory::create('qqconnect'); + $access = $qqconnect->getAccessToken(); + /* 获取QQ腾讯用户的详细信息 */ + $partnerInfo = $qqconnect->getUserInfo($access); + $result = array(); + if (!empty($partnerInfo) && isset($partnerInfo['nickname'])) { + $shoppingKey = Helpers::getShoppingKeyByCookie(); + $result = LoginData::signinByOpenID($partnerInfo['nickname'], $access['openid'], 'qq', $shoppingKey); + } + + //判定是否需要绑定手机号 + if (isset($result['data']['mobile']) && $result['data']['mobile'] == '') { +// $this->go(Helpers::url('/passport/bind/index', array('openId' => $access['openid'], 'sourceType' => 'qq', 'nickname' => $partnerInfo['nickname']))); + } + + $refer = $this->getCookie('refer'); + if (empty($refer)) { + $refer = SITE_MAIN . '/?go=1'; + } + else { + $refer = rawurldecode($refer); + } + + if (isset($result['code']) && $result['code'] == 200 && !empty($result['data']['uid'])) { + $token = Helpers::makeToken($result['data']['uid']); + $this->setSession('_TOKEN', $token); + $this->setSession('_LOGIN_UID', $result['data']['uid']); + $this->setCookie('_TOKEN', $token); + $this->go(Helpers::syncUserSession($result['data']['uid'], $refer)); + } + else { + $this->go($refer); + } + } + + /** + * 新浪微博账号登录:回调方法 + */ + public function sinacallbackAction() + { + $sina = Factory::create('sinaweibo'); + $access = $sina->getAccessToken(); + /* 获取用户的详细信息 */ + $partnerInfo = $sina->getUserInfo($access); + + $result = array(); + if ($partnerInfo && is_array($partnerInfo)) { + $shoppingKey = Helpers::getShoppingKeyByCookie(); + $result = LoginData::signinByOpenID($partnerInfo['screen_name'], $access['uid'], 'sina', $shoppingKey); + } + + //判定是否需要绑定手机号 + if (isset($result['data']['mobile']) && $result['data']['mobile'] == '') { +// $this->go(Helpers::url('/passport/bind/index', array('openId' => $access['uid'], 'sourceType' => 'sina', 'nickname' => $partnerInfo['screen_name']))); + } + + $refer = $this->getCookie('refer'); + if (empty($refer)) { + $refer = SITE_MAIN . '/?go=1'; + } + else { + $refer = rawurldecode($refer); + } + + if (isset($result['code']) && $result['code'] == 200 && !empty($result['data']['uid'])) { + $token = Helpers::makeToken($result['data']['uid']); + $this->setSession('_TOKEN', $token); + $this->setSession('_LOGIN_UID', $result['data']['uid']); + $this->setCookie('_TOKEN', $token); + $this->go(Helpers::syncUserSession($result['data']['uid'], $refer)); + } + else { + $this->go($refer); + } + } + + /** + * renren账号登录:回调方法 + */ + public function renrenbackAction() + { + $renren = Factory::create('renren'); + $access = $renren->getAccessToken(); + /* 获取用户的详细信息 */ + $partnerInfo = $renren->getUserInfo($access); + + $result = array(); + if ($partnerInfo && is_array($partnerInfo)) { + $shoppingKey = Helpers::getShoppingKeyByCookie(); + $result = LoginData::signinByOpenID($partnerInfo['nickname'], $access['uid'], 'renren', $shoppingKey); + } + + //判定是否需要绑定手机号 + if (isset($result['data']['mobile']) && $result['data']['mobile'] == '') { +// $this->go(Helpers::url('/passport/bind/index', array('openId' => $access['uid'], 'sourceType' => 'sina', 'nickname' => $partnerInfo['nick_name']))); + } + + $refer = $this->getCookie('refer'); + if (empty($refer)) { + $refer = SITE_MAIN . '/?go=1'; + } + else { + $refer = rawurldecode($refer); + } + + if (isset($result['code']) && $result['code'] == 200 && !empty($result['data']['uid'])) { + $token = Helpers::makeToken($result['data']['uid']); + $this->setSession('_TOKEN', $token); + $this->setSession('_LOGIN_UID', $result['data']['uid']); + $this->setCookie('_TOKEN', $token); + $this->go(Helpers::syncUserSession($result['data']['uid'], $refer)); + } + else { + $this->go($refer); + } + } + + /** + * douban账号登录:回调方法 + */ + public function doubanbackAction() + { + $sina = Factory::create('douban'); + $access = $sina->getAccessToken(); + /* 获取用户的详细信息 */ + $partnerInfo = $sina->getUserInfo($access); + + $result = array(); + if ($partnerInfo && is_array($partnerInfo)) { + $shoppingKey = Helpers::getShoppingKeyByCookie(); + $result = LoginData::signinByOpenID($partnerInfo['nickname'], $access['uid'], 'douban', $shoppingKey); + } + + //判定是否需要绑定手机号 + if (isset($result['data']['mobile']) && $result['data']['mobile'] == '') { +// $this->go(Helpers::url('/passport/bind/index', array('openId' => $access['uid'], 'sourceType' => 'sina', 'nickname' => $partnerInfo['screen_name']))); + } + + $refer = $this->getCookie('refer'); + if (empty($refer)) { + $refer = SITE_MAIN . '/?go=1'; + } + else { + $refer = rawurldecode($refer); + } + + if (isset($result['code']) && $result['code'] == 200 && !empty($result['data']['uid'])) { + $token = Helpers::makeToken($result['data']['uid']); + $this->setSession('_TOKEN', $token); + $this->setSession('_LOGIN_UID', $result['data']['uid']); + $this->setCookie('_TOKEN', $token); + $this->go(Helpers::syncUserSession($result['data']['uid'], $refer)); + } + else { + $this->go($refer); + } + } + +} diff --git a/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Register.php b/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Register.php index 391d09f..eeadcf8 100644 --- a/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Register.php +++ b/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Register.php @@ -1,84 +1,177 @@ -<?php - -use Action\AbstractAction; - -class RegisterController extends AbstractAction -{ - /** - * 登录页 - */ - public function indexAction() - { - $data = array( - 'registerPage' => true, - 'passport' => array( - 'actionUrl' => '/passport/register/mobileregister', - 'region' => array( - array( - 'id' => 86, - 'name' => '中国', - 'selected' => true - ), - array( - 'id' => 853, - 'name' => '中国澳门', - 'selected' => false - ), - array( - 'id' => 886, - 'name' => '中国台湾', - 'selected' => false - ), - array( - 'id' => 65, - 'name' => '中国香港', - 'selected' => false - ), - array( - 'id' => 60, - 'name' => '马来西亚', - 'selected' => false - ), - ), - 'location' => '+86', - 'captchaUrl' => 'http://www.yohobuy.com/passport/images?t=1449799445', - 'itemUrl' => '##', - 'referUrl' => 'http://www.yohobuy.com/', - 'loginUrl' => '/signin.html?refer=http://www.yohobuy.com/', - 'coverHref' => '/passport', - 'coverImg' => 'http://img12.static.yhbimg.com/yhb-img01/2015/12/01/07/020a0b6e7ff908d0c2bc4045b4fef42b9f.png?imageView/2/w/252/h/190' - ) - ); - $this->_view->display('index', $data); - } - - public function checkmobileAction() - { - $data = array( - 'code' => 200 - ); - - $this -> echoJson($data); - - } - - public function piccaptchaAction() - { - $data = array( - 'code' => 200 - ); - - $this -> echoJson($data); - - } - - public function msgcaptchaAction() - { - $data = array( - 'code' => 200 - ); - - $this -> echoJson($data); - - } +<?php +use Action\WebAction; +use LibModels\Web\Passport\RegData; +use Passport\RegModel; +use Plugin\Helpers; +use Plugin\Cache; +use Passport\PassportModel; +class RegisterController extends WebAction +{ + /** + * 注册页 + */ + public function indexAction() + { + $refer = $this->get('refer', SITE_MAIN); + $cover = PassportModel::getLeftBanner(PassportModel::REGISTER_LEFT_BANNER_CODE); + $data = array( + 'registerPage' => true, + 'passport' => array( + 'actionUrl' => '/passport/register/mobileregister', + 'region' => RegData::getAreasData(), + 'location' => '+86', + 'captchaUrl' => 'http://web.dev.yohobuy.com/passport/images?t=1449799445', + 'itemUrl' => '##', + 'referUrl' => $refer, + 'loginUrl' => '/signin.html?refer='.$refer, + 'coverHref' => $cover['url'], + 'coverImg' => $cover['img'] + ) + ); + $this->setCookie('refer', $refer); + $this->_view->display('index', $data); + } + /** + * + */ + public function checkmobileAction() + { + $mobile = trim($this->post('mobile'), ' '); + $area = intval(trim($this->post('area'), ' ')); + $ip = Helpers::getClientIp(); + $data = array('code' => 400, 'message' => '', 'data' => ''); + $ip_key = md5('ip_checkmobile_' . $ip); + $ip_times = Cache::increment($ip_key); + do{ + /* 判断是不是AJAX请求 */ + if (!$this->isAjax()) { + break; + } + /* 判断参数是否合法 */ + if (!is_numeric($mobile) || !is_numeric($area)) { + $data['message'] = '手机号码格式不正确'; + break; + } + if ($ip_times >= 1000) { + $data['message'] = '由于你IP受限无法注册'; + break; + } + if(!empty(PassportModel::getUserInfoByMobile($area, $mobile))) { + $data['message'] = '手机号码已经存在'; + break; + } + $data['code'] = 200; + } while(false); + $this->echoJson($data); + } + + /** + * 校验并发送验证码 + * + * @return json + */ + public function piccaptchaAction() + { + $mobile = trim($this->post('mobile'), ' '); + $area = intval(trim($this->post('area'), ' ')); + $verifyCode = strtolower(trim($this->post('code'),' ')); + $data = array('code' => 400, 'message' => '', 'data' => ''); + do + { + /* 判断是不是AJAX请求 */ + if (!$this->isAjax()) { + break; + } + /* 判断参数是否合法 */ + if (!is_numeric($mobile) || !is_numeric($area)) { + $code = 400; + $data['message'] = '手机号码格式不正确'; + break; + } + //检测验证码不正确 + if(!PassportModel::verifyCode($verifyCode)) { + $data['message'] = '验证码不正确'; + break; + } + + /* 向手机发送注册验证码 */ + $data = RegData::sendCodeToMobile($area, $mobile); + if (!isset($data['code'])) { + break; + } + } + while(false); + $this->echoJson($data); + } + + public function msgcaptchaAction() + { + $this->echoJson(array('code'=>200)); + } + + /** + * 手机注册 + * + */ + public function mobileregisterAction() + { + $mobile = trim($this->post('phoneNum'), ' ');//mobile + $area = intval(trim($this->post('region'), ' '));//area + $verifyCode = strtolower(trim($this->post('captcha'),' '));//captcha + $code = trim($this->post('msgCaptcha'),'');//code + $password = $this->post('pwd'); + $url = '/passport/register/index'; + $refer = $this->getCookie('refer'); + $data = array('code' => 400, 'message' => '', 'data' => ''); + if(!empty($refer)) { + $refer = $url.'?refer='.$refer; + } + do + { + /* 判断参数是否合法 */ + if (!is_numeric($mobile) || !is_numeric($area)) { + $data['message'] = '手机号码格式不正确'; + break; + } + //检测验证码不正确 + if(!PassportModel::verifyCode($verifyCode)) { + $data['message'] = '验证码不正确'; + break; + } + /* 判断密码是否符合规则 */ + if (!Helpers::verifyPassword($password)) { + $data['message'] = '密码不正确'; + break; + } + /* 验证注册的标识码是否有效 */ + $data = RegData::validMobileCode($area, $mobile, $code); + if (!isset($data['code']) || $data['code'] != 200) { + $data['message'] = '验证码错误'; + break; + } + /*手机注册*/ + $data = RegData::regMobile($area, $mobile, $password); + if (!isset($data['code']) || $data['code'] != 200) { + break; + } + /* 返回跳转到来源页面 */ + $refer = $this->getCookie('refer'); + if (empty($refer)) { + $refer = SITE_MAIN; + } else { + $refer = rawurldecode($refer); + } + +// $data['data']['href'] = $refer; +// $data['data']['session'] = Helpers::syncUserSession($data['data']['uid']); + $token = Helpers::makeToken($data['data']['uid']); + $this->setCookie('_TOKEN', $token); + $this->setSession('_TOKEN', $token); + $this->setSession('_LOGIN_UID', $data['data']['uid']); + //$this->setSession('session_key', $data['data']['session_key']); + + }while(false); + $this->go($refer); + } + } \ No newline at end of file diff --git a/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Register1.php b/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Register1.php new file mode 100644 index 0000000..e1dc78d --- /dev/null +++ b/yohobuy/www.yohobuy.com/application/modules/Passport/controllers/Register1.php @@ -0,0 +1,87 @@ +<?php + +use Action\AbstractAction; + +class RegisterController extends AbstractAction +{ + /** + * 登录页 + */ + public function indexAction() + { + $data = array( + 'registerPage' => true, + 'passport' => array( + 'actionUrl' => '/passport/register/mobileregister', + 'region' => array( + array( + 'id' => 86, + 'name' => '中国', + 'selected' => true + ), + array( + 'id' => 853, + 'name' => '中国澳门', + 'selected' => false + ), + array( + 'id' => 886, + 'name' => '中国台湾', + 'selected' => false + ), + array( + 'id' => 65, + 'name' => '中国香港', + 'selected' => false + ), + array( + 'id' => 60, + 'name' => '马来西亚', + 'selected' => false + ), + ), + 'location' => '+86', + 'captchaUrl' => 'http://web.dev.yohobuy.com/passport/images?t=1449799445', + 'itemUrl' => '##', + 'referUrl' => 'http://www.yohobuy.com/', + 'loginUrl' => '/signin.html?refer=http://www.yohobuy.com/', + 'coverHref' => '/passport', + 'coverImg' => 'http://img12.static.yhbimg.com/yhb-img01/2015/12/01/07/020a0b6e7ff908d0c2bc4045b4fef42b9f.png?imageView/2/w/252/h/190' + ) + ); + $this->_view->display('index', $data); + } + + public function checkmobileAction() + { + $mobile = trim($this->get('mobile'), ' '); + $area = intval(trim($this->get('area'), ' ')); + + $data = array( + 'code' => 200 + ); + + $this -> echoJson($data); + + } + + public function piccaptchaAction() + { + $data = array( + 'code' => 200 + ); + + $this -> echoJson($data); + + } + + public function msgcaptchaAction() + { + $data = array( + 'code' => 200 + ); + + $this -> echoJson($data); + + } +} \ No newline at end of file diff --git a/yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index.php b/yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index.php index daff4d7..1dcf376 100644 --- a/yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index.php +++ b/yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index.php @@ -16,16 +16,16 @@ class IndexController extends WebAction $this->go(SITE_MAIN); } $uid = $this->getUid(); - //根据品牌域名获取品牌id + //根据品牌域名获取品牌id(同时判断品牌域名是否有效) $brandInfo = BrandData::getBrandLogoByDomain($domain); if(!empty($brandInfo['data']) && $brandInfo['code'] === 200){ $brandId = $brandInfo['data']['id']; }else{ $this->go(SITE_MAIN); } - //获取品牌banner - $brandBanner = BrandsModel::getBannerByDomain($domain, $brandId, $uid = ''); + /* 过滤请求参数 */ + $condition = array(); $condition = filter_input_array(INPUT_GET, array( //'query' => FILTER_SANITIZE_STRING, 'sort' => FILTER_VALIDATE_INT, @@ -38,10 +38,6 @@ class IndexController extends WebAction 'gender' => FILTER_DEFAULT, 'p_d' => FILTER_DEFAULT, 'shelve_time' => FILTER_DEFAULT, - 'parameter_790' => FILTER_DEFAULT, - 'parameter_824' => FILTER_DEFAULT, - 'parameter_825' => FILTER_DEFAULT, - 'parameter_787' => FILTER_DEFAULT, 'isNew' => FILTER_DEFAULT, 'specialoffer' => FILTER_DEFAULT, 'limited' => FILTER_DEFAULT, @@ -50,8 +46,8 @@ class IndexController extends WebAction 'rowNum' => FILTER_VALIDATE_INT, 'page' => FILTER_VALIDATE_INT,), false); - if(!empty($condition)) { - //字符转码 + //字符转码 + if (!empty($condition)) { foreach ($condition as &$value) { $value = rawurldecode($value); } @@ -59,17 +55,16 @@ class IndexController extends WebAction //传品牌ID参数 $condition['brand'] = $brandId; //获取性别数据 - $gender_cookie = !isset($_COOKIE['_Gender']) ? '3' : ($_COOKIE['_Gender']=='2,3' ? 2 : 1); - $gender = $this->get('gender') ? ($this->get('gender') == '2,3' ? 2 : 1) : $gender_cookie; + $gender = $this->get('gender') ? ($this->get('gender') == '2,3' ? 2 : 1) : (!isset($_COOKIE['_Gender']) ? '3' : ($_COOKIE['_Gender']=='2,3' ? 2 : 1)); $condition['gender'] = $gender; //每页显示商品数 if(!isset($condition['viewNum']) || empty($condition['viewNum'])){ - $condition['viewNum'] = 60; + $condition['viewNum'] = 59; } $view_num_arr = array(60, 100, 200); if (!in_array($condition['viewNum'], $view_num_arr)) { - $condition['viewNum'] = 60; + $condition['viewNum'] = 59; } //每行显示的商品数量 if(!isset($condition['rowNum']) || empty($condition['rowNum'])){ @@ -92,17 +87,14 @@ class IndexController extends WebAction 'gender' => $gender, 'needPd' => 'Y', 'rowNum' => $condition['rowNum'], - 'viewNum' => $condition['viewNum'], + 'viewNum' => $condition['viewNum'] - 1, ); $params = $condition + $_GET; $params = array_filter($params); - $data = Product\BrandsModel::getBrandSearchData($params,$options); + $data = Product\BrandsModel::getBrandSearchData($params,$options,$domain,$uid,$brandId); $cate = array('boys','girls','kids','lifestyle'); $this->setWebNavHeader($cate[$gender-1]); - //合并banner与搜索数据 - $data = array_merge_recursive($data,$brandBanner); - //删除搜索参数中的品牌选项 //渲染模板 $this->_view->display('list',$data); } diff --git a/yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index1.php b/yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index1.php index 37510aa..9f33d51 100644 --- a/yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index1.php +++ b/yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index1.php @@ -44,7 +44,8 @@ class Index1Controller extends AbstractAction 'channel' => array( array( 'href' => '/?gender=1,3', - 'name' => 'BOYS' + 'name' => 'BOYS', + 'checked' => true ), array( 'href' => '/?gender=2,3', @@ -63,10 +64,12 @@ class Index1Controller extends AbstractAction array( 'id' => '1', 'name' => '上衣', + 'checked' => true, 'sub' => array( array( 'href' => '', - 'name' => 'T恤' + 'name' => 'T恤', + 'checked' => true ), array( 'href' => '', @@ -95,7 +98,8 @@ class Index1Controller extends AbstractAction 'default' => array( array( 'href' => '', - 'name' => 'CLOT' + 'name' => 'CLOT', + 'checked' => true ), array( 'href' => '', @@ -133,7 +137,8 @@ class Index1Controller extends AbstractAction 'brandIndex' => array( array( 'index' => 'all', - 'name' => '全部' + 'name' => '全部', + 'checked' => true ), array( 'index' => '0-9', @@ -185,7 +190,8 @@ class Index1Controller extends AbstractAction 'price' => array( array( 'href' => '', - 'name' => '0-239' + 'name' => '0-239', + 'checked' => true ), array( 'href' => '', @@ -196,7 +202,8 @@ class Index1Controller extends AbstractAction array( 'href' => '', 'name' => '黑色', - 'rgb' => '#000' + 'rgb' => '#000', + 'checked' => true ), array( 'href' => '', @@ -207,7 +214,8 @@ class Index1Controller extends AbstractAction 'size' => array( array( 'href' => '', - 'name' => 'S' + 'name' => 'S', + 'checked' => true ), array( 'href' => '', @@ -223,7 +231,8 @@ class Index1Controller extends AbstractAction array( 'id' => '1', 'href' => '', - 'name' => '街头' + 'name' => '街头', + 'checked' => true ), array( 'id' => '2', @@ -239,7 +248,8 @@ class Index1Controller extends AbstractAction array( 'id' => '1', 'href' => '', - 'name' => '春天' + 'name' => '春天', + 'checked' => true ), array( 'id' => '2', @@ -1540,8 +1550,33 @@ class Index1Controller extends AbstractAction 'url' => 'http://item.yohobuy.com/product/pro_187471_252595/NIKEAIRMAX90ESSENTIAL537384126.html', 'src' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90' ), + array( + 'coverImg' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90', + 'url' => 'http://item.yohobuy.com/product/pro_187471_252595/NIKEAIRMAX90ESSENTIAL537384126.html', + 'src' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90' + ), + array( + 'coverImg' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90', + 'url' => 'http://item.yohobuy.com/product/pro_187471_252595/NIKEAIRMAX90ESSENTIAL537384126.html', + 'src' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90' + ), + array( + 'coverImg' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90', + 'url' => 'http://item.yohobuy.com/product/pro_187471_252595/NIKEAIRMAX90ESSENTIAL537384126.html', + 'src' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90' + ), + array( + 'coverImg' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90', + 'url' => 'http://item.yohobuy.com/product/pro_187471_252595/NIKEAIRMAX90ESSENTIAL537384126.html', + 'src' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90' + ), + array( + 'coverImg' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90', + 'url' => 'http://item.yohobuy.com/product/pro_187471_252595/NIKEAIRMAX90ESSENTIAL537384126.html', + 'src' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90' + ) ); $this->echoJson($data); } -} \ No newline at end of file +} diff --git a/yohobuy/www.yohobuy.com/application/modules/Product/controllers/List.php b/yohobuy/www.yohobuy.com/application/modules/Product/controllers/List.php index ca56370..7e30861 100644 --- a/yohobuy/www.yohobuy.com/application/modules/Product/controllers/List.php +++ b/yohobuy/www.yohobuy.com/application/modules/Product/controllers/List.php @@ -1,13 +1,17 @@ <?php use Action\WebAction; +use Product\SearchModel; class ListController extends WebAction { public function indexAction() { - + } - - + + public function newAction(){ + + } + /** * list列表sale */ @@ -44,11 +48,11 @@ class ListController extends WebAction $condition['gender'] = $gender; //每页显示商品数 if(!isset($condition['viewNum']) || empty($condition['viewNum'])){ - $condition['viewNum'] =60; + $condition['viewNum'] =59; } $view_num_arr = array(60, 100, 200); if (!in_array($condition['viewNum'], $view_num_arr)) { - $condition['viewNum'] = 60; + $condition['viewNum'] = 59; } //每行显示的商品数量 if(!isset($condition['rowNum']) || empty($condition['rowNum'])){ @@ -66,19 +70,61 @@ class ListController extends WebAction //$query = $this->get('query'); //返回搜索条件 $condition['needFilter'] = 1; + //过滤赠品 + $condition['attribute_not'] = 2; + /*sale*/ + //默认排序 + if (!isset($condition['order']) || empty($condition['order'])) { + $condition['order'] = 's_n_desc'; + } + if (!isset($condition['p_d']) || empty($condition['p_d'])) { + $condition['p_d'] = '0,0.9'; + } $options = array( 'imgSize' => $imgSize, 'minImgSize' => $minImgSize, 'gender' => $gender, 'needPd' => 'Y', 'rowNum' =>$condition['rowNum'], - 'viewNum' =>$condition['viewNum'], + 'viewNum' =>$condition['viewNum']-1, ); + $params = $condition + $_GET; $params = array_filter($params); - $data = Product\SearchModel::getSearchData($params,$options); + $data = SearchModel::getSearchData($params,$options); $cate = array('boys','girls','kids','lifestyle'); $this->setWebNavHeader($cate[$gender-1]); $this->_view->display('list', $data); } + + /** + * 根据product_skn获取产品图片信息 + * @author sefon 2015-12-28 18:35:24 + * @return json + */ + public function getProductPicAction() + { + $product_skn = $this->post('skn'); + if (!$product_skn) { + return ; + } + //大图 + $imgSize = array(); + //小图 + $minImgSize = array(); + $rowNum = $this->post('rowNum'); + if ($rowNum == 5) { + $imgSize = array(195, 260); + $minImgSize = array(50, 67); + } else { + $condition['rowNum'] = 4; + $imgSize = array(235, 314); + $minImgSize = array(60, 80); + } + $options = array( + 'imgSize' => $imgSize, + 'minImgSize' => $minImgSize, + ); + SearchModel::getProductPic($product_skn, $options); + } } \ No newline at end of file diff --git a/yohobuy/www.yohobuy.com/configs/routes.index.ini b/yohobuy/www.yohobuy.com/configs/routes.index.ini index efe5b7d..7b9f539 100644 --- a/yohobuy/www.yohobuy.com/configs/routes.index.ini +++ b/yohobuy/www.yohobuy.com/configs/routes.index.ini @@ -1,6 +1,34 @@ ;woman首页 -routes.productsale.type = "rewrite" -routes.productsale.match = "/woman" -routes.productsale.route.module = Index -routes.productsale.route.controller = Girls -routes.productsale.route.action = index \ No newline at end of file +routes.girlindex.type = "rewrite" +routes.girlindex.match = "/woman" +routes.girlindex.route.module = Index +routes.girlindex.route.controller = Girls +routes.girlindex.route.action = index + +;验证码 +routes.passportimage.type = "rewrite" +routes.passportimage.match = "/passport/images" +routes.passportimage.route.module = Passport +routes.passportimage.route.controller = Images +routes.passportimage.route.action = index + +; 登录页 +routes.login.type = "rewrite" +routes.login.match = "/signin.html" +routes.login.route.module = Passport +routes.login.route.controller = Login +routes.login.route.action = Index + +; 登录退出页 +routes.logout.type = "rewrite" +routes.logout.match = "/passport/signout/index" +routes.logout.route.module = Passport +routes.logout.route.controller = Login +routes.logout.route.action = Out + +; 注册页 +routes.reg.type = "rewrite" +routes.reg.match = "/reg.html" +routes.reg.route.module = Passport +routes.reg.route.controller = Register +routes.reg.route.action = Index \ No newline at end of file diff --git a/yohobuy/www.yohobuy.com/configs/routes.passport.ini b/yohobuy/www.yohobuy.com/configs/routes.passport.ini new file mode 100644 index 0000000..a2accef --- /dev/null +++ b/yohobuy/www.yohobuy.com/configs/routes.passport.ini @@ -0,0 +1,6 @@ +;验证码 +routes.passportimage.type = "rewrite" +routes.passportimage.match = "/test" +routes.passportimage.route.module = Passport +routes.passportimage.route.controller = Images +routes.passportimage.route.action = index diff --git a/yohobuy/www.yohobuy.com/public/index-dev.php b/yohobuy/www.yohobuy.com/public/index-dev.php index 89d6287..8656083 100644 --- a/yohobuy/www.yohobuy.com/public/index-dev.php +++ b/yohobuy/www.yohobuy.com/public/index-dev.php @@ -1,10 +1,10 @@ <?php use Yaf\Application; -define('SITE_MAIN', 'http://web.dev.yohobuy.com'); // 网站主域名 -define('OLD_MAIN', 'http://web.yohobuy.com'); // 网站旧域名 -define('COOKIE_DOMAIN', '.dev.yohobuy.com'); // COOKIE作用域 -define('SUB_DOMAIN', '.dev.yohobuy.com'); // 子域名后缀 +define('SITE_MAIN', 'http://dev.yohobuy.com'); // 网站主域名 +define('OLD_MAIN', 'http://www.yohobuy.com'); // 网站旧域名 +define('COOKIE_DOMAIN', '.yohobuy.com'); // COOKIE作用域 +define('SUB_DOMAIN', '.yohobuy.com'); // 子域名后缀 define('USE_CACHE', false); // 缓存的开关 define('APPLICATION_PATH', dirname(__DIR__)); // 应用目录 define('ROOT_PATH', dirname(dirname(APPLICATION_PATH))); // 根目录