diff --git a/compile/www.yohobuy.com/0.0.9/12c133e86eda73b9de77dbd0bda9fc88.php b/compile/www.yohobuy.com/0.0.9/12c133e86eda73b9de77dbd0bda9fc88.php new file mode 100644 index 0000000..967b281 --- /dev/null +++ b/compile/www.yohobuy.com/0.0.9/12c133e86eda73b9de77dbd0bda9fc88.php @@ -0,0 +1,1124 @@ +<?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="X-UA-Compatible" content="IE=edge,chrome=1" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Cache-Control" content="no-siteapp" /> + <meta name="renderer" content="webkit"> + <meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'"> + <meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'"> + <title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + <link rel="dns-prefetch" href="//img10.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img11.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css"> +';}).'</head> +<body> +'.''.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <div class="yoho-header"> + <div class="header-topwrapper clearfix"> + <div class="header-top"> + <div class="leftpart float-left"> + <span class="icon-hamburger"></span> + <a href="http://www.yohobuy.com" class="header-yoho" >YOHO!有货</a> + <ul class="yohoproducts-list"> + <li class="yohoproducts-item"> + <a href="http://www.yoho.cn" class="yohogroup" en="YOHO!" cn="集团官网">YOHO!</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoboys.com" class="yohogroup" en="YOHO!BOYS" cn="男生潮流">YOHO!BOYS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohogirls.com" class="yohogroup" en="YOHO!GIRLS" cn="女生潮流">YOHO!GIRLS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoshow.com" class="yohogroup" en="YOHO!SHOW" cn="物趣分享">YOHO!SHOW</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohood.cn" class="yohogroup" en="YO\'HOOD" cn="潮流嘉年华">YO\'HOOD</a> + </li> + </ul> + </div> + <div class="rightpart"> + <div id="loginBox" class="float-left"> + <span class="hi">Hi~</span> + <a href="http://www.yohobuy.com/signin.html" class="loginbar">[请登录]</a> + <a href="http://www.yohobuy.com/reg.html" class="registbar">[免费注册]</a> + </div> + <div class="tag-list-wrapper"> + <ul class="tag-list"> + <li class="tag-item myyoho" id="myYohoBox"> + <span class="tag-seprate"></span> + <a href="http://www.yohobuy.com/home?t=1453340799.4986">MY有货</a> + <span class="icon-bottomarrow"></span> + <div class="myyoho-info"></div> + </li> + <li class="tag-item myorder"> + <span class="tag-seprate"></span> + <span class="icon-papers"></span> + <a href="http://www.yohobuy.com/home/orders?t=1453168898.0176">我的订单</a> + </li> + <li class="tag-item mycollect"> + <span class="tag-seprate"></span> + <span class="icon-heart"></span> + <a href="http://www.yohobuy.com/home/favorite?t=1453168898.0176">我的收藏</a> + </li> + <li class="tag-item message"> + <span class="tag-seprate"></span> + <span class="icon-mail"></span> + <a href="http://www.yohobuy.com/home/message?t=1453168898.0176">消息</a> + </li> + <li class="tag-item phone"> + <span class="tag-seprate"></span> + <span class="icon-iphone"></span> + <a href="http://www.yohobuy.com/download/app">手机版</a> + <div class="qr"> + <div class="qr-img"></div> + <h3 class="qr-words">扫描二维码</h3> + <h3 class="qr-words">下载有货手机客户端</h3> + <h3 class="qr-more"> + <a href="http://www.yohobuy.com/download/app">更多客户端下载</a> + </h3> + </div> + </li> + </ul> + </div> + </div> + </div> + </div> + <div class="header-navwrapper clearfix"> + <div class="header-navcontent"> + <ul class="first-nav-list float-left"> +'.Plugin\LCRun3::debug('[navbars]', 'sec', $cx, Plugin\LCRun3::debug('[navbars]', 'v', $cx, $in, array('navbars')), $in, false, function($cx, $in) {return ' <li class="first-nav-item '.Plugin\LCRun3::debug('[classname]', 'encq', $cx, Plugin\LCRun3::debug('[classname]', 'v', $cx, $in, array('classname'))).'"> + <h3 class="name-cn"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_cn]', 'encq', $cx, Plugin\LCRun3::debug('[name_cn]', 'v', $cx, $in, array('name_cn'))).'</a> + </h3> + <h3 class="name-en"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_en]', 'encq', $cx, Plugin\LCRun3::debug('[name_en]', 'v', $cx, $in, array('name_en'))).'</a> + </h3> + <div class=\'sub-nav-wrapper\'> + <ul class="sub-nav-list"> +'.Plugin\LCRun3::debug('[subnav]', 'sec', $cx, Plugin\LCRun3::debug('[subnav]', 'v', $cx, $in, array('subnav')), $in, false, function($cx, $in) {return ' <li class="sub-nav-item"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [is_new]', 'ifv', $cx, Plugin\LCRun3::debug('[is_new]', 'v', $cx, $in, array('is_new')), $in, function($cx, $in) {return ' <span class="newlogo"></span> +';}).' </a> +'.Plugin\LCRun3::debug('if [thirdnav]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, function($cx, $in) {return ' <div class="third-nav-wrapper"> + <div class="third-nav"> + <div class="categorywrapper" id="category'.Plugin\LCRun3::debug('../[index_main]', 'encq', $cx, Plugin\LCRun3::debug('../[index_main]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('index_main'))).''.Plugin\LCRun3::debug('[index_sub]', 'encq', $cx, Plugin\LCRun3::debug('[index_sub]', 'v', $cx, $in, array('index_sub'))).'"> + <div class="category"> +'.Plugin\LCRun3::debug('[thirdnav]', 'sec', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, false, function($cx, $in) {return ' <div class="thirdnavlist"> + <h1 class="category-title thirdnavbar"><a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</a> </h1> + <ul class="category-list"> +'.Plugin\LCRun3::debug('[branditems]', 'sec', $cx, Plugin\LCRun3::debug('[branditems]', 'v', $cx, $in, array('branditems')), $in, false, function($cx, $in) {return ' <li class="category- + item thirdnavbar"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'" hot='.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).' >'.Plugin\LCRun3::debug('[brandname]', 'encq', $cx, Plugin\LCRun3::debug('[brandname]', 'v', $cx, $in, array('brandname'))).'</a> + </li> +';}).' </ul> + </div> +';}).' </div> + </div> + <div class="showdetail" data-code="'.Plugin\LCRun3::debug('[content_code]', 'encq', $cx, Plugin\LCRun3::debug('[content_code]', 'v', $cx, $in, array('content_code'))).'"> + <a href="http://list.yohobuy.com/?gender=1,3&msort=8"> + <img src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="" style=""></a> + <a class="title" href="http://list.yohobuy.com/?gender=1,3&msort=8">热门小物优选</a> + </div> + </div> + </div> +';}).' </li> +';}).' </ul> + </div> + </li> +';}).' </ul> + <div class="icon-logo"><a href="http://www.yohobuy.com/" class="main-link"></a></div> + <div class="header-tool float-right"> + <div class="search float-left '.Plugin\LCRun3::debug('[searchcate]', 'encq', $cx, Plugin\LCRun3::debug('[searchcate]', 'v', $cx, $in, array('searchcate'))).'" > + <form action="http://search.yohobuy.com" method="get" id="searchForm"> + <span class="searchspan"> + <input type="hidden" id="defaultsearch"> + <input class="searchinput" type="text" name="query" id="query_key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value=\'\';this.style.color=\'#333\'}" onblur="if(this.value==\'\'){this.value=this.defaultValue;this.style.color=\'#999\'}" maxlength="30"></span> + <a class="icon-search" href="javascript:submitSearch();"></a> + <ul class="search-list"></ul> + </form> + </div> + <div class="gobuy float-left '.Plugin\LCRun3::debug('[gobytype]', 'encq', $cx, Plugin\LCRun3::debug('[gobytype]', 'v', $cx, $in, array('gobytype'))).'" id="miniCartBox"> + + <span class="ic-infomation">0</span> + <div class="gobuy-wrapper"></div> + + </div> + </div> + </div> + </div> + </div> + <div id="goodcartempwarpper"> + <script type="text/html" id="mini-cart-tpl"> + \\{\\{#carData\\}\\} + <div class="gobuy-notempty"> + <div class="goods-list-wrapper"> + <ul class="goods-list"> + \\{\\{#main_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img" /> + </a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/main_goods\\}\\} + \\{\\{#advance_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/advance_goods\\}\\} + \\{\\{# outlet_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/outlet_goods\\}\\} + \\{\\{#gift_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/gift_goods\\}\\} + \\{\\{#need_pay_gifts\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/need_pay_gifts\\}\\} + </ul> + <ul class="activity-list"> + {{#if has_promotion\\}\\} + <li class="activity-item"> + <span class="activity-name">活动</span> + <h3 class="activity-content"> + \\{\\{#if fit_outlet_promotion \\}\\}购outlet商品,满¥1999再享9折 + \\{\\{/if\\}\\} + \\{\\{#if has_other_promotion\\}\\} + <span class="mycart_i_down" title="更多" ></span> + \\{\\{/if\\}\\} + \\{\\{#if has_first_promotion\\}\\} + \\{\\{first_promotions.promotion_title\\}\\} + \\{\\{/if\\}\\} + </h3> + </li> + \\{\\{/if\\}\\} + \\{\\{#if fit_free_shipping \\}\\} + <li class="activity-item"> + <span class="activity-name">免运费</span> + <h3 class="activity-content">全场满 ¥\\{\\{fit_free_shipping\\}\\}免运费</h3> + </li> + \\{\\{/if\\}\\} + </ul> + </div> + <div class="gobuy-notempty-footer"> + <h3> + <a href="http://www.yohobuy.com/shopping/cart">去购物车结算</a> + </h3> + </div> + \\{\\{/carData\\}\\} + </script> + <script type="text/html" id="tmpl-my-login-new"> + <div class="myyoho-info-header clearfix"> + <div class="myyoho-photo" ><img src="\\{\\{headerimg head_ico\\}\\}" alt="" data-url =""></div> + <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\\{\\{random\\}\\}">\\{\\{profile_name\\}\\}</a></h3> + <h3 class="user-level"> + VIP: + <span class="leveldetail">\\{\\{vip.curVipInfo.title\\}\\}</span> + </h3> + \\{\\{#unless vip3 \\}\\} + <div class="levelinfo"> + <div class="levelwrapper float-left"> + <div class="levelspan"> + \\{\\{vip.curYearCost\\}\\}/\\{\\{vip.nextVipInfo.needCost\\}\\} + </div> + <p class="\\{\\{#if vip.curYearCostPer\\}\\}integrate\\{\\{/if\\}\\}" style="width: \\{\\{vip.curYearCostPer\\}\\}%;"></p> + </div> + <span class="cardcate float-left">\\{\\{vip.nextVipInfo.title\\}\\}</span> + </div> + \\{\\{/unless\\}\\} + </div> + <ul class="myyoho-info-content"> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/orders?t=\\{\\{timestamp\\}\\}">待处理的订单</a> + </span> + <span class="itemnum float-right">\\{\\{orderCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/favorite?t=\\{\\{timestamp\\}\\}">我的收藏</a> + </span> + <span class="itemnum float-right"></span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/coupons?t=\\{\\{timestamp\\}\\}">我的优惠券</a> + </span> + <span class="itemnum float-right">\\{\\{couponCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/currency?t=\\{\\{timestamp\\}\\}">我的YOHO币</a> + </span> + <span class="itemnum float-right">\\{\\{YohocoinCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/returns?t=\\{\\{timestamp\\}\\}">我的退货换货</a> + </span> + <span class="itemnum float-right">\\{\\{refundCount\\}\\}</span> + </li> + </ul> + <div class="myyoho-info-footer"> + <a href="http://www.yohobuy.com/home/user?t=\\{\\{timestamp\\}\\}">完善资料</a> + </div> + </script> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +';}).' +'.' '.''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return '<div class="simple-header"> + <div class="header-inner clearfix"> +'.Plugin\LCRun3::debug('[logo]', 'sec', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo')), $in, false, function($cx, $in) {return ' <h1 class="logo"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'"> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </h1> +';}).' <ul class="header-tool clearfix"> +'.Plugin\LCRun3::debug('[tool]', 'sec', $cx, Plugin\LCRun3::debug('[tool]', 'v', $cx, $in, array('tool')), $in, false, function($cx, $in) {return ' <li> + <span>Hi~</span> +'.Plugin\LCRun3::debug('[user]', 'sec', $cx, Plugin\LCRun3::debug('[user]', 'v', $cx, $in, array('user')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</a> +';}).' +'.Plugin\LCRun3::debug('[loginHref]', 'sec', $cx, Plugin\LCRun3::debug('[loginHref]', 'v', $cx, $in, array('loginHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[请登录]</a> +';}).' +'.Plugin\LCRun3::debug('[logoutHref]', 'sec', $cx, Plugin\LCRun3::debug('[logoutHref]', 'v', $cx, $in, array('logoutHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[退出]</a> +';}).' +'.Plugin\LCRun3::debug('[registerHref]', 'sec', $cx, Plugin\LCRun3::debug('[registerHref]', 'v', $cx, $in, array('registerHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[免费注册]</a> +';}).' </li> + <li class="tool-options"> + <span><a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">MY有货</a></span> + <i class="options-icon down iconfont"></i> + <i class="options-icon up iconfont"></i> + <div class="tool-select"> + <a href="'.Plugin\LCRun3::debug('[favoriteHref]', 'encq', $cx, Plugin\LCRun3::debug('[favoriteHref]', 'v', $cx, $in, array('favoriteHref'))).'">我的收藏</a> + <a href="'.Plugin\LCRun3::debug('[couponHref]', 'encq', $cx, Plugin\LCRun3::debug('[couponHref]', 'v', $cx, $in, array('couponHref'))).'">优惠券</a> + </div> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[orderHref]', 'encq', $cx, Plugin\LCRun3::debug('[orderHref]', 'v', $cx, $in, array('orderHref'))).'">订单中心</a> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[helpHref]', 'encq', $cx, Plugin\LCRun3::debug('[helpHref]', 'v', $cx, $in, array('helpHref'))).'">帮助中心</a> + </li> + <li> + <i class="tell-icon iconfont"></i> + <span>400-9889-9646</span> + </li> +';}).' </ul> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +</div> +';}).''.''.'<div class="login-page passport-page yoho-page clearfix"> +'.Plugin\LCRun3::debug('[passport]', 'sec', $cx, Plugin\LCRun3::debug('[passport]', 'v', $cx, $in, array('passport')), $in, false, function($cx, $in) {return ''.' <div class="passport-cover"> + <div class="cover-content"> +'.Plugin\LCRun3::debug('if [coverHref]', 'ifv', $cx, Plugin\LCRun3::debug('[coverHref]', 'v', $cx, $in, array('coverHref')), $in, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[coverHref]', 'encq', $cx, Plugin\LCRun3::debug('[coverHref]', 'v', $cx, $in, array('coverHref'))).'" target="_bank"> + <img class="cover-img" src="'.Plugin\LCRun3::debug('[coverImg]', 'encq', $cx, Plugin\LCRun3::debug('[coverImg]', 'v', $cx, $in, array('coverImg'))).'"> + </a> +';}, function($cx, $in) {return ' <img class="cover-img" src="'.Plugin\LCRun3::debug('[coverImg]', 'encq', $cx, Plugin\LCRun3::debug('[coverImg]', 'v', $cx, $in, array('coverImg'))).'"> +';}).' </div> + </div>'.' <div class="content"> + <ul class="login-ul"> + <li class="relative clearfix"> + <h2 class="title">会员登录</h2> + <span id="country-code" class="country-code right"> + <em>'.Plugin\LCRun3::debug('[countryName]', 'encq', $cx, Plugin\LCRun3::debug('[countryName]', 'v', $cx, $in, array('countryName'))).' '.Plugin\LCRun3::debug('[countryCode]', 'encq', $cx, Plugin\LCRun3::debug('[countryCode]', 'v', $cx, $in, array('countryCode'))).'</em> + <i class="iconfont"></i> + <ul id="country-list" class="country-list"> +'.Plugin\LCRun3::debug('each [countryList]', 'sec', $cx, Plugin\LCRun3::debug('[countryList]', 'v', $cx, $in, array('countryList')), $in, true, function($cx, $in) {return ' <li data-cc="'.Plugin\LCRun3::debug('[areaCode]', 'encq', $cx, Plugin\LCRun3::debug('[areaCode]', 'v', $cx, $in, array('areaCode'))).'" '.Plugin\LCRun3::debug('[selected]', 'sec', $cx, Plugin\LCRun3::debug('[selected]', 'v', $cx, $in, array('selected')), $in, false, function($cx, $in) {return 'selected';}).'>'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' '.Plugin\LCRun3::debug('[areaCode]', 'encq', $cx, Plugin\LCRun3::debug('[areaCode]', 'v', $cx, $in, array('areaCode'))).'</li> +';}).' </ul> + </span> + </li> + <li class="relative"> + <input id="account" class="account input va" name="account" value="'.Plugin\LCRun3::debug('[bindMobile]', 'encq', $cx, Plugin\LCRun3::debug('[bindMobile]', 'v', $cx, $in, array('bindMobile'))).'" type="text" placeholder="邮箱/手机号码" autocomplete="off"> + <span class="err-tip hide"> + <i></i> + <em></em> + </span> + </li> + <li class="relative"> + <input id="password" class="password input va" name="password" type="password" placeholder="密码" autocomplete="off" maxlength="20"> + <span id="caps-lock" class="caps-lock hide">大写状态开启</span> + <span class="err-tip hide"> + <i></i> + <em>请输入密码</em> + </span> + </li> + <li class="clearfix captcha-wrap hide"> + <input id="captcha" class="input va captcha" type="text" name="captcha" placeholder="图形验证码" autocomplete="off" maxlength="4"> + <img id="captcha-img" class="captcha-img" alt=""> + <a class="link change-captcha">换一张</a> + <span class="err-tip hide"> + <i></i> + <em></em> + </span> + </li> + <li> + <span id="login-btn" class="login-btn btn">登录</span> + </li> + <li class="other-opts"> + <span class="remember-me"> + <i class="iconfont"></i> + 记住登录状态 + </span> + <span class="right"> + <a class="forget-password" href="'.Plugin\LCRun3::debug('[forgetPwd]', 'encq', $cx, Plugin\LCRun3::debug('[forgetPwd]', 'v', $cx, $in, array('forgetPwd'))).'">忘记密码?</a> + | + <a class="fast-reg" href="'.Plugin\LCRun3::debug('[fastReg]', 'encq', $cx, Plugin\LCRun3::debug('[fastReg]', 'v', $cx, $in, array('fastReg'))).'">快速注册</a> + </span> + </li> + <li class="third-party-login"> + <a href="'.Plugin\LCRun3::debug('[weixinLogin]', 'encq', $cx, Plugin\LCRun3::debug('[weixinLogin]', 'v', $cx, $in, array('weixinLogin'))).'"> + <span class="icon weixin"></span> + </a> + <a href="'.Plugin\LCRun3::debug('[qqLogin]', 'encq', $cx, Plugin\LCRun3::debug('[qqLogin]', 'v', $cx, $in, array('qqLogin'))).'"> + <span class="icon qq"></span> + </a> + <a href="'.Plugin\LCRun3::debug('[weiboLogin]', 'encq', $cx, Plugin\LCRun3::debug('[weiboLogin]', 'v', $cx, $in, array('weiboLogin'))).'"> + <span class="icon weibo"></span> + </a> + <a href="'.Plugin\LCRun3::debug('[alipayLogin]', 'encq', $cx, Plugin\LCRun3::debug('[alipayLogin]', 'v', $cx, $in, array('alipayLogin'))).'"> + <span class="icon alipay"></span> + </a> + <a href="'.Plugin\LCRun3::debug('[doubanLogin]', 'encq', $cx, Plugin\LCRun3::debug('[doubanLogin]', 'v', $cx, $in, array('doubanLogin'))).'"> + <span class="icon douban"></span> + </a> + <a href="'.Plugin\LCRun3::debug('[renrenLogin]', 'encq', $cx, Plugin\LCRun3::debug('[renrenLogin]', 'v', $cx, $in, array('renrenLogin'))).'"> + <span class="icon renren"></span> + </a> + </li> + </ul> + <input id="country-code-hide" name="countryCode" type="hidden" value="'.Plugin\LCRun3::debug('[countryCode]', 'encq', $cx, Plugin\LCRun3::debug('[countryCode]', 'v', $cx, $in, array('countryCode'))).'"> + </div> +';}).'</div> +'.''.' <div class="yoho-footer"> +'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> + <div class="index-foot"> + <dl class="center-content clearfix"> + <dd> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>有货SERVICES</span> + </div> + </div> + <div id="foot-services"> + <ul class="two-dim clearfix"> + <li class="left"> + <img class="dim-img lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png"> + <p>YOHO!有货</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg"> + <p>微信</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png"> + <p>微博</p> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur" key="0"></span> + </p> + </dd> + <dd> + <div id="feed-back-box-list" class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>意见反馈</span> + </div> + </div> + <ul class="vote clearfix"> + <li key="0"> + <form class="feed-back-form" action="#"> + <div>您喜欢有货的新版吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="33">非常喜欢 + </p> + <p> + <input type="radio" name="solution" value="34">喜欢 + </p> + <p> + <input type="radio" name="solution" value="35">一般般 + </p> + <p> + <input type="radio" name="solution" value="36">不喜欢 + </p> + <p> + <input type="radio" name="solution" value="37">非常不喜欢 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" name="question_id" value="38"> + <input class="feedback-id" type="hidden" name="feedback_id" value="5"> + </form> + </li> + <li class="hide" key="1"> + <form class="feed-back-form" action="#"> + <div>您可以方便的找到想查看的内容吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="38">非常方便 + </p> + <p> + <input type="radio" name="solution" value="39">方便 + </p> + <p> + <input type="radio" name="solution" value="40">一般般 + </p> + <p> + <input type="radio" name="solution" value="41">不方便 + </p> + <p> + <input type="radio" name="solution" value="42">非常不方便 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="39"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + <li class="hide" key="2"> + <form class="feed-back-form" action="#"> + <div>您对新版还有哪些意见或建议?</div> + <textarea name="answer" id="feedback-answer" class="feedback-answer"></textarea> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="37"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + </ul> + </div> + <p id="feed-back-page" class="item-nav center"> + <span class="iconfont cur"></span> + <span class="iconfont "></span> + <span class="iconfont "></span> + </p> + </dd> + <dd class="last"> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>更多 YOHO!产品</span> + </div> + </div> + <div id="foot-mobile"> + <ul class="mobile clearfix"> + <li> + <a href="http://app.yohoshow.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg"> + </a> + </li> + <li> + <a href="http://www.yohoboys.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg"> + </a> + </li> + <li> + <a href="http://www.yohogirls.com/" target="_blank"> + <img class="lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg"> + </a> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur"></span> + </p> + </dd> + </dl> + </div> + </div> +';}).' <div class="footerbottom"> + <div class="promise"> + <div class="center-content clearfix"> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">100%</span> + <span class="rgbf">品牌授权正品</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">7天</span> + <span class="rgbf">无理由退换货</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="rgbf">客服电话:</span> + <span class="red">400-889-9646</span> + + <span class="rgb9">08:00-22:30(周一至周日)</span> + + <span> + <a class="red" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank">在线客服</a> + </span> + </div> + <div class="right subscribe footer-right"> + <input id="subscriber-box" class="rgb6 top" name="subscriberBox"value="订阅我们的邮件"> + <a id="subscriber-btn" href="javascript:void(0);" class="iconfont rgbf"></a> + </div> + </div> + </div> + <div class="footer-help"> + <div class="center-content clearfix"> + <div class="left"> + <ul class="clearfix"> + <li class="left"> + <p> + <span>新手指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a> + </p> + </li> + <li class="left"> + <p> + <span>会员中心</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=87" target="_blank">YOHO币</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a> + </p> + </li> + <li class="left"> + <p> + <span>购物指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=99" target="_blank">发票</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a> + </p> + </li> + <li class="left"> + <p> + <span>支付方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=111" target="_blank">YOHO币支付</a> + </p> + </li> + <li class="left"> + <p> + <span>配送方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a> + </p> + </li> + <li class="left"> + <p> + <span>售后服务</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a> + </p> + </li> + <li class="left"> + <p> + <span>APP常见问题</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a> + </p> + </li> + </ul> + </div> + </div> + </div> + <div class="footer-link"> + <div class="center-content clearfix"> + <div class="left right-flag"> + <a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&ct=df&a=1&pa=0.5902942178957805" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/credit-flag3.png"> + </a> + <a href="http://www.isc.org.cn/" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/isc2.png"> + </a> + </div> + <div class="left about-us"> + <p> + <a href="http://www.yohobuy.com">返回首页</a> + <span>|</span> + <a href="http://www.yohobuy.com">YOHO!有货</a> + <span>|</span> + <a href="http://www.yohobuy.com/newpower.html">新力传媒</a> + <span>|</span> + <a href="http://www.yohobuy.com/contact.html">联系我们</a> + <span>|</span> + <a href="http://shop.yohobuy.com/settled">商家入驻</a> + <span>|</span> + <a href="http://www.yohobuy.com/privacy.html">隐私条款</a> + <span>|</span> + <a href="http://www.yohobuy.com/link.html">友情链接</a> + </p> + <p> + CopyRight © 2007-2016 南京新与力文化传播有限公司 + <a class="rbg6" href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备09011225号</a> + NewPower Co. 版权所有 经营许可证编号:苏B2-20120395 + </p> + </div> + + </div> + </div> + </div> + <div class="return-top hide"> + <span class="iconfont"></span> + </div> + </div>'.''.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <script src="http://localhost:8001/static/js/sea.js?nowrap"></script> + <script> + seajs.config({ + base: \'http://localhost:8001/\' + }); + </script> +';}).''.' <script> + seajs.use(\'js/common\'); + </script> +'.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/header\'); + </script> +';}).''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/simple-header\'); + </script> +';}).''.Plugin\LCRun3::debug('if [boysHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/index/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [searchListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[searchListPage]', 'v', $cx, $in, array('searchListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(5); + window.onresize = function () { + setTimeout(function () { + product.init(5); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [brandPage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productListPage]', 'v', $cx, $in, array('productListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productDetailPage]', 'v', $cx, $in, array('productDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/item\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangIndexPage]', 'v', $cx, $in, array('guangIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangDetailPage]', 'v', $cx, $in, array('guangDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/detail\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangListPage]', 'v', $cx, $in, array('guangListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/list\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleIndexPage]', 'v', $cx, $in, array('saleIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/sale/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleListPage]', 'v', $cx, $in, array('saleListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [saleCatPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleCatPage]', 'v', $cx, $in, array('saleCatPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [loginPage]', 'ifv', $cx, Plugin\LCRun3::debug('[loginPage]', 'v', $cx, $in, array('loginPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/login\'); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdLogin]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdLogin]', 'v', $cx, $in, array('thirdLogin')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/thirdlogin\'); + </script> +';}).''.Plugin\LCRun3::debug('if [enablePerfectInformation]', 'ifv', $cx, Plugin\LCRun3::debug('[enablePerfectInformation]', 'v', $cx, $in, array('enablePerfectInformation')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/third-pwd\'); + </script> +';}).''.Plugin\LCRun3::debug('if [registerPage]', 'ifv', $cx, Plugin\LCRun3::debug('[registerPage]', 'v', $cx, $in, array('registerPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'reg\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdPage]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdPage]', 'v', $cx, $in, array('thirdPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'third\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [backPage]', 'ifv', $cx, Plugin\LCRun3::debug('[backPage]', 'v', $cx, $in, array('backPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/back\'); + </script> +';}).''.Plugin\LCRun3::debug('if [resetPage]', 'ifv', $cx, Plugin\LCRun3::debug('[resetPage]', 'v', $cx, $in, array('resetPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reset\'); + </script> +';}).''.Plugin\LCRun3::debug('if [vertificationPage]', 'ifv', $cx, Plugin\LCRun3::debug('[vertificationPage]', 'v', $cx, $in, array('vertificationPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/vertification\'); + </script> +';}).''.Plugin\LCRun3::debug('if [hotrankPage]', 'ifv', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/hotrank\'); + </script> +';}).''.Plugin\LCRun3::debug('if [brandsHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandsHomePage]', 'v', $cx, $in, array('brandsHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/brand/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [orderEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/order/ensure\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meIndexPage]', 'v', $cx, $in, array('meIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/index\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meOrdersPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meOrdersPage]', 'v', $cx, $in, array('meOrdersPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/orders\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meFavoritePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meFavoritePage]', 'v', $cx, $in, array('meFavoritePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/favorite\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meReturnsPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meReturnsPage]', 'v', $cx, $in, array('meReturnsPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/returns\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meCommentPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meCommentPage]', 'v', $cx, $in, array('meCommentPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/comment\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meEditPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meEditPage]', 'v', $cx, $in, array('meEditPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/edit\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meGiftPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meGiftPage]', 'v', $cx, $in, array('meGiftPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/gift\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meValidatePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meValidatePage]', 'v', $cx, $in, array('meValidatePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/validate\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meAddressPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meAddressPage]', 'v', $cx, $in, array('meAddressPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/address\'); + seajs.use(\'js/home/common-address\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [cartEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[cartEnsurePage]', 'v', $cx, $in, array('cartEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/cart/cart\'); + </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 || []; + var _gaq = _gaq || []; + (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() { + _gaq.push([\'_setAccount\', \'UA-48997038-32\']); + _gaq.push([\'_trackPageview\']); + var ga = document.createElement(\'script\'); + ga.type = \'text/javascript\'; ga.async = true; + ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\'; + var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s); + })(); + (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); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.criteo.net/js/ld/ld.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + var u = _ozuid || ""; + u = (u == 0) ? "" : u; + window.criteo_q = window.criteo_q || []; + window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" }); + })(); + } + if (window.addEventListener) { + window.addEventListener(\'load\', async_load, false); + } else if (window.attachEvent) { + window.attachEvent(\'onload\', async_load); + } + })(); + </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/js/v3/o_code.js?v=20150420" async="async"></script> +'.' </body> +</html> +'.''; +} +?> \ No newline at end of file diff --git a/compile/www.yohobuy.com/0.0.9/2d7f5df052d297cf2b705d165b72f2bc.php b/compile/www.yohobuy.com/0.0.9/2d7f5df052d297cf2b705d165b72f2bc.php new file mode 100644 index 0000000..4d6e68b --- /dev/null +++ b/compile/www.yohobuy.com/0.0.9/2d7f5df052d297cf2b705d165b72f2bc.php @@ -0,0 +1,1101 @@ +<?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="X-UA-Compatible" content="IE=edge,chrome=1" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Cache-Control" content="no-siteapp" /> + <meta name="renderer" content="webkit"> + <meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'"> + <meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'"> + <title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + <link rel="dns-prefetch" href="//img10.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img11.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css"> +';}).'</head> +<body> +'.''.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <div class="yoho-header"> + <div class="header-topwrapper clearfix"> + <div class="header-top"> + <div class="leftpart float-left"> + <span class="icon-hamburger"></span> + <a href="http://www.yohobuy.com" class="header-yoho" >YOHO!有货</a> + <ul class="yohoproducts-list"> + <li class="yohoproducts-item"> + <a href="http://www.yoho.cn" class="yohogroup" en="YOHO!" cn="集团官网">YOHO!</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoboys.com" class="yohogroup" en="YOHO!BOYS" cn="男生潮流">YOHO!BOYS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohogirls.com" class="yohogroup" en="YOHO!GIRLS" cn="女生潮流">YOHO!GIRLS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoshow.com" class="yohogroup" en="YOHO!SHOW" cn="物趣分享">YOHO!SHOW</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohood.cn" class="yohogroup" en="YO\'HOOD" cn="潮流嘉年华">YO\'HOOD</a> + </li> + </ul> + </div> + <div class="rightpart"> + <div id="loginBox" class="float-left"> + <span class="hi">Hi~</span> + <a href="http://www.yohobuy.com/signin.html" class="loginbar">[请登录]</a> + <a href="http://www.yohobuy.com/reg.html" class="registbar">[免费注册]</a> + </div> + <div class="tag-list-wrapper"> + <ul class="tag-list"> + <li class="tag-item myyoho" id="myYohoBox"> + <span class="tag-seprate"></span> + <a href="http://www.yohobuy.com/home?t=1453340799.4986">MY有货</a> + <span class="icon-bottomarrow"></span> + <div class="myyoho-info"></div> + </li> + <li class="tag-item myorder"> + <span class="tag-seprate"></span> + <span class="icon-papers"></span> + <a href="http://www.yohobuy.com/home/orders?t=1453168898.0176">我的订单</a> + </li> + <li class="tag-item mycollect"> + <span class="tag-seprate"></span> + <span class="icon-heart"></span> + <a href="http://www.yohobuy.com/home/favorite?t=1453168898.0176">我的收藏</a> + </li> + <li class="tag-item message"> + <span class="tag-seprate"></span> + <span class="icon-mail"></span> + <a href="http://www.yohobuy.com/home/message?t=1453168898.0176">消息</a> + </li> + <li class="tag-item phone"> + <span class="tag-seprate"></span> + <span class="icon-iphone"></span> + <a href="http://www.yohobuy.com/download/app">手机版</a> + <div class="qr"> + <div class="qr-img"></div> + <h3 class="qr-words">扫描二维码</h3> + <h3 class="qr-words">下载有货手机客户端</h3> + <h3 class="qr-more"> + <a href="http://www.yohobuy.com/download/app">更多客户端下载</a> + </h3> + </div> + </li> + </ul> + </div> + </div> + </div> + </div> + <div class="header-navwrapper clearfix"> + <div class="header-navcontent"> + <ul class="first-nav-list float-left"> +'.Plugin\LCRun3::debug('[navbars]', 'sec', $cx, Plugin\LCRun3::debug('[navbars]', 'v', $cx, $in, array('navbars')), $in, false, function($cx, $in) {return ' <li class="first-nav-item '.Plugin\LCRun3::debug('[classname]', 'encq', $cx, Plugin\LCRun3::debug('[classname]', 'v', $cx, $in, array('classname'))).'"> + <h3 class="name-cn"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_cn]', 'encq', $cx, Plugin\LCRun3::debug('[name_cn]', 'v', $cx, $in, array('name_cn'))).'</a> + </h3> + <h3 class="name-en"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_en]', 'encq', $cx, Plugin\LCRun3::debug('[name_en]', 'v', $cx, $in, array('name_en'))).'</a> + </h3> + <div class=\'sub-nav-wrapper\'> + <ul class="sub-nav-list"> +'.Plugin\LCRun3::debug('[subnav]', 'sec', $cx, Plugin\LCRun3::debug('[subnav]', 'v', $cx, $in, array('subnav')), $in, false, function($cx, $in) {return ' <li class="sub-nav-item"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [is_new]', 'ifv', $cx, Plugin\LCRun3::debug('[is_new]', 'v', $cx, $in, array('is_new')), $in, function($cx, $in) {return ' <span class="newlogo"></span> +';}).' </a> +'.Plugin\LCRun3::debug('if [thirdnav]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, function($cx, $in) {return ' <div class="third-nav-wrapper"> + <div class="third-nav"> + <div class="categorywrapper" id="category'.Plugin\LCRun3::debug('../[index_main]', 'encq', $cx, Plugin\LCRun3::debug('../[index_main]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('index_main'))).''.Plugin\LCRun3::debug('[index_sub]', 'encq', $cx, Plugin\LCRun3::debug('[index_sub]', 'v', $cx, $in, array('index_sub'))).'"> + <div class="category"> +'.Plugin\LCRun3::debug('[thirdnav]', 'sec', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, false, function($cx, $in) {return ' <div class="thirdnavlist"> + <h1 class="category-title thirdnavbar"><a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</a> </h1> + <ul class="category-list"> +'.Plugin\LCRun3::debug('[branditems]', 'sec', $cx, Plugin\LCRun3::debug('[branditems]', 'v', $cx, $in, array('branditems')), $in, false, function($cx, $in) {return ' <li class="category- + item thirdnavbar"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'" hot='.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).' >'.Plugin\LCRun3::debug('[brandname]', 'encq', $cx, Plugin\LCRun3::debug('[brandname]', 'v', $cx, $in, array('brandname'))).'</a> + </li> +';}).' </ul> + </div> +';}).' </div> + </div> + <div class="showdetail" data-code="'.Plugin\LCRun3::debug('[content_code]', 'encq', $cx, Plugin\LCRun3::debug('[content_code]', 'v', $cx, $in, array('content_code'))).'"> + <a href="http://list.yohobuy.com/?gender=1,3&msort=8"> + <img src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="" style=""></a> + <a class="title" href="http://list.yohobuy.com/?gender=1,3&msort=8">热门小物优选</a> + </div> + </div> + </div> +';}).' </li> +';}).' </ul> + </div> + </li> +';}).' </ul> + <div class="icon-logo"><a href="http://www.yohobuy.com/" class="main-link"></a></div> + <div class="header-tool float-right"> + <div class="search float-left '.Plugin\LCRun3::debug('[searchcate]', 'encq', $cx, Plugin\LCRun3::debug('[searchcate]', 'v', $cx, $in, array('searchcate'))).'" > + <form action="http://search.yohobuy.com" method="get" id="searchForm"> + <span class="searchspan"> + <input type="hidden" id="defaultsearch"> + <input class="searchinput" type="text" name="query" id="query_key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value=\'\';this.style.color=\'#333\'}" onblur="if(this.value==\'\'){this.value=this.defaultValue;this.style.color=\'#999\'}" maxlength="30"></span> + <a class="icon-search" href="javascript:submitSearch();"></a> + <ul class="search-list"></ul> + </form> + </div> + <div class="gobuy float-left '.Plugin\LCRun3::debug('[gobytype]', 'encq', $cx, Plugin\LCRun3::debug('[gobytype]', 'v', $cx, $in, array('gobytype'))).'" id="miniCartBox"> + + <span class="ic-infomation">0</span> + <div class="gobuy-wrapper"></div> + + </div> + </div> + </div> + </div> + </div> + <div id="goodcartempwarpper"> + <script type="text/html" id="mini-cart-tpl"> + \\{\\{#carData\\}\\} + <div class="gobuy-notempty"> + <div class="goods-list-wrapper"> + <ul class="goods-list"> + \\{\\{#main_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img" /> + </a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/main_goods\\}\\} + \\{\\{#advance_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/advance_goods\\}\\} + \\{\\{# outlet_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/outlet_goods\\}\\} + \\{\\{#gift_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/gift_goods\\}\\} + \\{\\{#need_pay_gifts\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/need_pay_gifts\\}\\} + </ul> + <ul class="activity-list"> + {{#if has_promotion\\}\\} + <li class="activity-item"> + <span class="activity-name">活动</span> + <h3 class="activity-content"> + \\{\\{#if fit_outlet_promotion \\}\\}购outlet商品,满¥1999再享9折 + \\{\\{/if\\}\\} + \\{\\{#if has_other_promotion\\}\\} + <span class="mycart_i_down" title="更多" ></span> + \\{\\{/if\\}\\} + \\{\\{#if has_first_promotion\\}\\} + \\{\\{first_promotions.promotion_title\\}\\} + \\{\\{/if\\}\\} + </h3> + </li> + \\{\\{/if\\}\\} + \\{\\{#if fit_free_shipping \\}\\} + <li class="activity-item"> + <span class="activity-name">免运费</span> + <h3 class="activity-content">全场满 ¥\\{\\{fit_free_shipping\\}\\}免运费</h3> + </li> + \\{\\{/if\\}\\} + </ul> + </div> + <div class="gobuy-notempty-footer"> + <h3> + <a href="http://www.yohobuy.com/shopping/cart">去购物车结算</a> + </h3> + </div> + \\{\\{/carData\\}\\} + </script> + <script type="text/html" id="tmpl-my-login-new"> + <div class="myyoho-info-header clearfix"> + <div class="myyoho-photo" ><img src="\\{\\{headerimg head_ico\\}\\}" alt="" data-url =""></div> + <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\\{\\{random\\}\\}">\\{\\{profile_name\\}\\}</a></h3> + <h3 class="user-level"> + VIP: + <span class="leveldetail">\\{\\{vip.curVipInfo.title\\}\\}</span> + </h3> + \\{\\{#unless vip3 \\}\\} + <div class="levelinfo"> + <div class="levelwrapper float-left"> + <div class="levelspan"> + \\{\\{vip.curYearCost\\}\\}/\\{\\{vip.nextVipInfo.needCost\\}\\} + </div> + <p class="\\{\\{#if vip.curYearCostPer\\}\\}integrate\\{\\{/if\\}\\}" style="width: \\{\\{vip.curYearCostPer\\}\\}%;"></p> + </div> + <span class="cardcate float-left">\\{\\{vip.nextVipInfo.title\\}\\}</span> + </div> + \\{\\{/unless\\}\\} + </div> + <ul class="myyoho-info-content"> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/orders?t=\\{\\{timestamp\\}\\}">待处理的订单</a> + </span> + <span class="itemnum float-right">\\{\\{orderCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/favorite?t=\\{\\{timestamp\\}\\}">我的收藏</a> + </span> + <span class="itemnum float-right"></span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/coupons?t=\\{\\{timestamp\\}\\}">我的优惠券</a> + </span> + <span class="itemnum float-right">\\{\\{couponCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/currency?t=\\{\\{timestamp\\}\\}">我的YOHO币</a> + </span> + <span class="itemnum float-right">\\{\\{YohocoinCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/returns?t=\\{\\{timestamp\\}\\}">我的退货换货</a> + </span> + <span class="itemnum float-right">\\{\\{refundCount\\}\\}</span> + </li> + </ul> + <div class="myyoho-info-footer"> + <a href="http://www.yohobuy.com/home/user?t=\\{\\{timestamp\\}\\}">完善资料</a> + </div> + </script> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +';}).' +'.' '.''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return '<div class="simple-header"> + <div class="header-inner clearfix"> +'.Plugin\LCRun3::debug('[logo]', 'sec', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo')), $in, false, function($cx, $in) {return ' <h1 class="logo"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'"> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </h1> +';}).' <ul class="header-tool clearfix"> +'.Plugin\LCRun3::debug('[tool]', 'sec', $cx, Plugin\LCRun3::debug('[tool]', 'v', $cx, $in, array('tool')), $in, false, function($cx, $in) {return ' <li> + <span>Hi~</span> +'.Plugin\LCRun3::debug('[user]', 'sec', $cx, Plugin\LCRun3::debug('[user]', 'v', $cx, $in, array('user')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</a> +';}).' +'.Plugin\LCRun3::debug('[loginHref]', 'sec', $cx, Plugin\LCRun3::debug('[loginHref]', 'v', $cx, $in, array('loginHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[请登录]</a> +';}).' +'.Plugin\LCRun3::debug('[logoutHref]', 'sec', $cx, Plugin\LCRun3::debug('[logoutHref]', 'v', $cx, $in, array('logoutHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[退出]</a> +';}).' +'.Plugin\LCRun3::debug('[registerHref]', 'sec', $cx, Plugin\LCRun3::debug('[registerHref]', 'v', $cx, $in, array('registerHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[免费注册]</a> +';}).' </li> + <li class="tool-options"> + <span><a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">MY有货</a></span> + <i class="options-icon down iconfont"></i> + <i class="options-icon up iconfont"></i> + <div class="tool-select"> + <a href="'.Plugin\LCRun3::debug('[favoriteHref]', 'encq', $cx, Plugin\LCRun3::debug('[favoriteHref]', 'v', $cx, $in, array('favoriteHref'))).'">我的收藏</a> + <a href="'.Plugin\LCRun3::debug('[couponHref]', 'encq', $cx, Plugin\LCRun3::debug('[couponHref]', 'v', $cx, $in, array('couponHref'))).'">优惠券</a> + </div> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[orderHref]', 'encq', $cx, Plugin\LCRun3::debug('[orderHref]', 'v', $cx, $in, array('orderHref'))).'">订单中心</a> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[helpHref]', 'encq', $cx, Plugin\LCRun3::debug('[helpHref]', 'v', $cx, $in, array('helpHref'))).'">帮助中心</a> + </li> + <li> + <i class="tell-icon iconfont"></i> + <span>400-9889-9646</span> + </li> +';}).' </ul> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +</div> +';}).''.''.'<div class="home-page yoho-page brands" data-page="brands"> +'.Plugin\LCRun3::debug('[brands]', 'sec', $cx, Plugin\LCRun3::debug('[brands]', 'v', $cx, $in, array('brands')), $in, false, function($cx, $in) {return ' +'.''.Plugin\LCRun3::debug('if [pathNav]', 'ifv', $cx, Plugin\LCRun3::debug('[pathNav]', 'v', $cx, $in, array('pathNav')), $in, function($cx, $in) {return ' <p class="path-nav"> +'.Plugin\LCRun3::debug('each [pathNav]', 'sec', $cx, Plugin\LCRun3::debug('[pathNav]', 'v', $cx, $in, array('pathNav')), $in, true, function($cx, $in) {return ''.Plugin\LCRun3::debug('if [href]', 'ifv', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href')), $in, function($cx, $in) {return ' <a '.Plugin\LCRun3::debug('if @[last]', 'ifv', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return 'class="last"';}).' href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[pathTitle]', 'encq', $cx, Plugin\LCRun3::debug('[pathTitle]', 'v', $cx, $in, array('pathTitle'))).'">'.Plugin\LCRun3::debug('[name]', 'raw', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}, function($cx, $in) {return ' <span '.Plugin\LCRun3::debug('if @[last]', 'ifv', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return 'class="last"';}).' title="'.Plugin\LCRun3::debug('[pathTitle]', 'encq', $cx, Plugin\LCRun3::debug('[pathTitle]', 'v', $cx, $in, array('pathTitle'))).'">'.Plugin\LCRun3::debug('[name]', 'raw', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</span> +';}).' +'.Plugin\LCRun3::debug('unless @[last]', 'unl', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return ' <span class="iconfont"></span> +';}).'';}).' </p> +';}).''.' +'.Plugin\LCRun3::debug('if [isTab]', 'ifv', $cx, Plugin\LCRun3::debug('[isTab]', 'v', $cx, $in, array('isTab')), $in, function($cx, $in) {return ' <div class="brands-tabs"> + <ul class="clearfix"> +'.Plugin\LCRun3::debug('each [tabHeader]', 'sec', $cx, Plugin\LCRun3::debug('[tabHeader]', 'v', $cx, $in, array('tabHeader')), $in, true, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'"> + <div class="g-mask"></div> + <p class="tips">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</p> + <img class="lazy" data-original="'.Plugin\LCRun3::debug('[src]', 'encq', $cx, Plugin\LCRun3::debug('[src]', 'v', $cx, $in, array('src'))).'"/> + </a> + </li> +';}).' </ul> + <div class="hover-contain"> + <div class="hoverarr"> + <i></i> + </div> + </div> + </div> +';}, function($cx, $in) {return ' <ul class="brands-ad clearfix"> +'.Plugin\LCRun3::debug('each [tabHeader]', 'sec', $cx, Plugin\LCRun3::debug('[tabHeader]', 'v', $cx, $in, array('tabHeader')), $in, true, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'" target="_blank"> + <img class="lazy" data-original="'.Plugin\LCRun3::debug('[src]', 'encq', $cx, Plugin\LCRun3::debug('[src]', 'v', $cx, $in, array('src'))).'"> + </a> + </li> +';}).' </ul> +';}).' <div class="brands-logo clearfix"> +'.Plugin\LCRun3::debug('each [logos]', 'sec', $cx, Plugin\LCRun3::debug('[logos]', 'v', $cx, $in, array('logos')), $in, true, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" target="_blank"> + <img class="lazy" data-original="'.Plugin\LCRun3::debug('[src]', 'encq', $cx, Plugin\LCRun3::debug('[src]', 'v', $cx, $in, array('src'))).'"> + </a> +';}).' </div> + <div class="brands-category"> + <div class="category-nav"> + <span>BRANDS A-Z:</span> +'.Plugin\LCRun3::debug('each [navigation]', 'sec', $cx, Plugin\LCRun3::debug('[navigation]', 'v', $cx, $in, array('navigation')), $in, true, function($cx, $in) {return ' <a href="#'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</a> +';}).' </div> + </div> + <div class="brands-list" > +'.''.Plugin\LCRun3::debug('each [category]', 'sec', $cx, Plugin\LCRun3::debug('[category]', 'v', $cx, $in, array('category')), $in, true, function($cx, $in) {return ' <dl class="clearfix" name="'.Plugin\LCRun3::debug('@[key]', 'encq', $cx, Plugin\LCRun3::debug('@[key]', 'v', $cx, $cx['sp_vars'], array('key'))).'"> + <dt>'.Plugin\LCRun3::debug('@[key]', 'encq', $cx, Plugin\LCRun3::debug('@[key]', 'v', $cx, $cx['sp_vars'], array('key'))).'</dt> + <dd> + <ul class="clearfix"> +'.Plugin\LCRun3::debug('each this', 'sec', $cx, $in, $in, true, function($cx, $in) {return ' <li> + <a class="'.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).'" data-key="'.Plugin\LCRun3::debug('[key]', 'encq', $cx, Plugin\LCRun3::debug('[key]', 'v', $cx, $in, array('key'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target="_blank"> + <span>'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</span> + </a> +'.Plugin\LCRun3::debug('[hot]', 'sec', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot')), $in, false, function($cx, $in) {return ' <i class="iconfont"></i> +';}).' </li> +';}).' </ul> + </dd> + </dl> + ';}).''.' </div> +';}).'</div> +'.''.' <div class="yoho-footer"> +'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> + <div class="index-foot"> + <dl class="center-content clearfix"> + <dd> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>有货SERVICES</span> + </div> + </div> + <div id="foot-services"> + <ul class="two-dim clearfix"> + <li class="left"> + <img class="dim-img lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png"> + <p>YOHO!有货</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg"> + <p>微信</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png"> + <p>微博</p> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur" key="0"></span> + </p> + </dd> + <dd> + <div id="feed-back-box-list" class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>意见反馈</span> + </div> + </div> + <ul class="vote clearfix"> + <li key="0"> + <form class="feed-back-form" action="#"> + <div>您喜欢有货的新版吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="33">非常喜欢 + </p> + <p> + <input type="radio" name="solution" value="34">喜欢 + </p> + <p> + <input type="radio" name="solution" value="35">一般般 + </p> + <p> + <input type="radio" name="solution" value="36">不喜欢 + </p> + <p> + <input type="radio" name="solution" value="37">非常不喜欢 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" name="question_id" value="38"> + <input class="feedback-id" type="hidden" name="feedback_id" value="5"> + </form> + </li> + <li class="hide" key="1"> + <form class="feed-back-form" action="#"> + <div>您可以方便的找到想查看的内容吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="38">非常方便 + </p> + <p> + <input type="radio" name="solution" value="39">方便 + </p> + <p> + <input type="radio" name="solution" value="40">一般般 + </p> + <p> + <input type="radio" name="solution" value="41">不方便 + </p> + <p> + <input type="radio" name="solution" value="42">非常不方便 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="39"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + <li class="hide" key="2"> + <form class="feed-back-form" action="#"> + <div>您对新版还有哪些意见或建议?</div> + <textarea name="answer" id="feedback-answer" class="feedback-answer"></textarea> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="37"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + </ul> + </div> + <p id="feed-back-page" class="item-nav center"> + <span class="iconfont cur"></span> + <span class="iconfont "></span> + <span class="iconfont "></span> + </p> + </dd> + <dd class="last"> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>更多 YOHO!产品</span> + </div> + </div> + <div id="foot-mobile"> + <ul class="mobile clearfix"> + <li> + <a href="http://app.yohoshow.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg"> + </a> + </li> + <li> + <a href="http://www.yohoboys.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg"> + </a> + </li> + <li> + <a href="http://www.yohogirls.com/" target="_blank"> + <img class="lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg"> + </a> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur"></span> + </p> + </dd> + </dl> + </div> + </div> +';}).' <div class="footerbottom"> + <div class="promise"> + <div class="center-content clearfix"> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">100%</span> + <span class="rgbf">品牌授权正品</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">7天</span> + <span class="rgbf">无理由退换货</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="rgbf">客服电话:</span> + <span class="red">400-889-9646</span> + + <span class="rgb9">08:00-22:30(周一至周日)</span> + + <span> + <a class="red" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank">在线客服</a> + </span> + </div> + <div class="right subscribe footer-right"> + <input id="subscriber-box" class="rgb6 top" name="subscriberBox"value="订阅我们的邮件"> + <a id="subscriber-btn" href="javascript:void(0);" class="iconfont rgbf"></a> + </div> + </div> + </div> + <div class="footer-help"> + <div class="center-content clearfix"> + <div class="left"> + <ul class="clearfix"> + <li class="left"> + <p> + <span>新手指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a> + </p> + </li> + <li class="left"> + <p> + <span>会员中心</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=87" target="_blank">YOHO币</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a> + </p> + </li> + <li class="left"> + <p> + <span>购物指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=99" target="_blank">发票</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a> + </p> + </li> + <li class="left"> + <p> + <span>支付方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=111" target="_blank">YOHO币支付</a> + </p> + </li> + <li class="left"> + <p> + <span>配送方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a> + </p> + </li> + <li class="left"> + <p> + <span>售后服务</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a> + </p> + </li> + <li class="left"> + <p> + <span>APP常见问题</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a> + </p> + </li> + </ul> + </div> + </div> + </div> + <div class="footer-link"> + <div class="center-content clearfix"> + <div class="left right-flag"> + <a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&ct=df&a=1&pa=0.5902942178957805" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/credit-flag3.png"> + </a> + <a href="http://www.isc.org.cn/" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/isc2.png"> + </a> + </div> + <div class="left about-us"> + <p> + <a href="http://www.yohobuy.com">返回首页</a> + <span>|</span> + <a href="http://www.yohobuy.com">YOHO!有货</a> + <span>|</span> + <a href="http://www.yohobuy.com/newpower.html">新力传媒</a> + <span>|</span> + <a href="http://www.yohobuy.com/contact.html">联系我们</a> + <span>|</span> + <a href="http://shop.yohobuy.com/settled">商家入驻</a> + <span>|</span> + <a href="http://www.yohobuy.com/privacy.html">隐私条款</a> + <span>|</span> + <a href="http://www.yohobuy.com/link.html">友情链接</a> + </p> + <p> + CopyRight © 2007-2016 南京新与力文化传播有限公司 + <a class="rbg6" href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备09011225号</a> + NewPower Co. 版权所有 经营许可证编号:苏B2-20120395 + </p> + </div> + + </div> + </div> + </div> + <div class="return-top hide"> + <span class="iconfont"></span> + </div> + </div>'.''.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <script src="http://localhost:8001/static/js/sea.js?nowrap"></script> + <script> + seajs.config({ + base: \'http://localhost:8001/\' + }); + </script> +';}).''.' <script> + seajs.use(\'js/common\'); + </script> +'.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/header\'); + </script> +';}).''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/simple-header\'); + </script> +';}).''.Plugin\LCRun3::debug('if [boysHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/index/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [searchListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[searchListPage]', 'v', $cx, $in, array('searchListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(5); + window.onresize = function () { + setTimeout(function () { + product.init(5); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [brandPage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productListPage]', 'v', $cx, $in, array('productListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productDetailPage]', 'v', $cx, $in, array('productDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/item\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangIndexPage]', 'v', $cx, $in, array('guangIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangDetailPage]', 'v', $cx, $in, array('guangDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/detail\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangListPage]', 'v', $cx, $in, array('guangListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/list\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleIndexPage]', 'v', $cx, $in, array('saleIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/sale/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleListPage]', 'v', $cx, $in, array('saleListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [saleCatPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleCatPage]', 'v', $cx, $in, array('saleCatPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [loginPage]', 'ifv', $cx, Plugin\LCRun3::debug('[loginPage]', 'v', $cx, $in, array('loginPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/login\'); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdLogin]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdLogin]', 'v', $cx, $in, array('thirdLogin')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/thirdlogin\'); + </script> +';}).''.Plugin\LCRun3::debug('if [enablePerfectInformation]', 'ifv', $cx, Plugin\LCRun3::debug('[enablePerfectInformation]', 'v', $cx, $in, array('enablePerfectInformation')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/third-pwd\'); + </script> +';}).''.Plugin\LCRun3::debug('if [registerPage]', 'ifv', $cx, Plugin\LCRun3::debug('[registerPage]', 'v', $cx, $in, array('registerPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'reg\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdPage]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdPage]', 'v', $cx, $in, array('thirdPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'third\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [backPage]', 'ifv', $cx, Plugin\LCRun3::debug('[backPage]', 'v', $cx, $in, array('backPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/back\'); + </script> +';}).''.Plugin\LCRun3::debug('if [resetPage]', 'ifv', $cx, Plugin\LCRun3::debug('[resetPage]', 'v', $cx, $in, array('resetPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reset\'); + </script> +';}).''.Plugin\LCRun3::debug('if [vertificationPage]', 'ifv', $cx, Plugin\LCRun3::debug('[vertificationPage]', 'v', $cx, $in, array('vertificationPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/vertification\'); + </script> +';}).''.Plugin\LCRun3::debug('if [hotrankPage]', 'ifv', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/hotrank\'); + </script> +';}).''.Plugin\LCRun3::debug('if [brandsHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandsHomePage]', 'v', $cx, $in, array('brandsHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/brand/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [orderEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/order/ensure\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meIndexPage]', 'v', $cx, $in, array('meIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/index\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meOrdersPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meOrdersPage]', 'v', $cx, $in, array('meOrdersPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/orders\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meFavoritePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meFavoritePage]', 'v', $cx, $in, array('meFavoritePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/favorite\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meReturnsPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meReturnsPage]', 'v', $cx, $in, array('meReturnsPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/returns\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meCommentPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meCommentPage]', 'v', $cx, $in, array('meCommentPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/comment\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meEditPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meEditPage]', 'v', $cx, $in, array('meEditPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/edit\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meGiftPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meGiftPage]', 'v', $cx, $in, array('meGiftPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/gift\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meValidatePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meValidatePage]', 'v', $cx, $in, array('meValidatePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/validate\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meAddressPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meAddressPage]', 'v', $cx, $in, array('meAddressPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/address\'); + seajs.use(\'js/home/common-address\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [cartEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[cartEnsurePage]', 'v', $cx, $in, array('cartEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/cart/cart\'); + </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 || []; + var _gaq = _gaq || []; + (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() { + _gaq.push([\'_setAccount\', \'UA-48997038-32\']); + _gaq.push([\'_trackPageview\']); + var ga = document.createElement(\'script\'); + ga.type = \'text/javascript\'; ga.async = true; + ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\'; + var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s); + })(); + (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); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.criteo.net/js/ld/ld.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + var u = _ozuid || ""; + u = (u == 0) ? "" : u; + window.criteo_q = window.criteo_q || []; + window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" }); + })(); + } + if (window.addEventListener) { + window.addEventListener(\'load\', async_load, false); + } else if (window.attachEvent) { + window.attachEvent(\'onload\', async_load); + } + })(); + </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/js/v3/o_code.js?v=20150420" async="async"></script> +'.' </body> +</html> +'.''; +} +?> \ No newline at end of file diff --git a/compile/www.yohobuy.com/0.0.9/3b18d2dbcfe444fa22ffdce1ad688f64.php b/compile/www.yohobuy.com/0.0.9/3b18d2dbcfe444fa22ffdce1ad688f64.php new file mode 100644 index 0000000..24d664d --- /dev/null +++ b/compile/www.yohobuy.com/0.0.9/3b18d2dbcfe444fa22ffdce1ad688f64.php @@ -0,0 +1,1164 @@ +<?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="X-UA-Compatible" content="IE=edge,chrome=1" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Cache-Control" content="no-siteapp" /> + <meta name="renderer" content="webkit"> + <meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'"> + <meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'"> + <title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + <link rel="dns-prefetch" href="//img10.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img11.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css"> +';}).'</head> +<body> +'.''.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <div class="yoho-header"> + <div class="header-topwrapper clearfix"> + <div class="header-top"> + <div class="leftpart float-left"> + <span class="icon-hamburger"></span> + <a href="http://www.yohobuy.com" class="header-yoho" >YOHO!有货</a> + <ul class="yohoproducts-list"> + <li class="yohoproducts-item"> + <a href="http://www.yoho.cn" class="yohogroup" en="YOHO!" cn="集团官网">YOHO!</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoboys.com" class="yohogroup" en="YOHO!BOYS" cn="男生潮流">YOHO!BOYS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohogirls.com" class="yohogroup" en="YOHO!GIRLS" cn="女生潮流">YOHO!GIRLS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoshow.com" class="yohogroup" en="YOHO!SHOW" cn="物趣分享">YOHO!SHOW</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohood.cn" class="yohogroup" en="YO\'HOOD" cn="潮流嘉年华">YO\'HOOD</a> + </li> + </ul> + </div> + <div class="rightpart"> + <div id="loginBox" class="float-left"> + <span class="hi">Hi~</span> + <a href="http://www.yohobuy.com/signin.html" class="loginbar">[请登录]</a> + <a href="http://www.yohobuy.com/reg.html" class="registbar">[免费注册]</a> + </div> + <div class="tag-list-wrapper"> + <ul class="tag-list"> + <li class="tag-item myyoho" id="myYohoBox"> + <span class="tag-seprate"></span> + <a href="http://www.yohobuy.com/home?t=1453340799.4986">MY有货</a> + <span class="icon-bottomarrow"></span> + <div class="myyoho-info"></div> + </li> + <li class="tag-item myorder"> + <span class="tag-seprate"></span> + <span class="icon-papers"></span> + <a href="http://www.yohobuy.com/home/orders?t=1453168898.0176">我的订单</a> + </li> + <li class="tag-item mycollect"> + <span class="tag-seprate"></span> + <span class="icon-heart"></span> + <a href="http://www.yohobuy.com/home/favorite?t=1453168898.0176">我的收藏</a> + </li> + <li class="tag-item message"> + <span class="tag-seprate"></span> + <span class="icon-mail"></span> + <a href="http://www.yohobuy.com/home/message?t=1453168898.0176">消息</a> + </li> + <li class="tag-item phone"> + <span class="tag-seprate"></span> + <span class="icon-iphone"></span> + <a href="http://www.yohobuy.com/download/app">手机版</a> + <div class="qr"> + <div class="qr-img"></div> + <h3 class="qr-words">扫描二维码</h3> + <h3 class="qr-words">下载有货手机客户端</h3> + <h3 class="qr-more"> + <a href="http://www.yohobuy.com/download/app">更多客户端下载</a> + </h3> + </div> + </li> + </ul> + </div> + </div> + </div> + </div> + <div class="header-navwrapper clearfix"> + <div class="header-navcontent"> + <ul class="first-nav-list float-left"> +'.Plugin\LCRun3::debug('[navbars]', 'sec', $cx, Plugin\LCRun3::debug('[navbars]', 'v', $cx, $in, array('navbars')), $in, false, function($cx, $in) {return ' <li class="first-nav-item '.Plugin\LCRun3::debug('[classname]', 'encq', $cx, Plugin\LCRun3::debug('[classname]', 'v', $cx, $in, array('classname'))).'"> + <h3 class="name-cn"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_cn]', 'encq', $cx, Plugin\LCRun3::debug('[name_cn]', 'v', $cx, $in, array('name_cn'))).'</a> + </h3> + <h3 class="name-en"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_en]', 'encq', $cx, Plugin\LCRun3::debug('[name_en]', 'v', $cx, $in, array('name_en'))).'</a> + </h3> + <div class=\'sub-nav-wrapper\'> + <ul class="sub-nav-list"> +'.Plugin\LCRun3::debug('[subnav]', 'sec', $cx, Plugin\LCRun3::debug('[subnav]', 'v', $cx, $in, array('subnav')), $in, false, function($cx, $in) {return ' <li class="sub-nav-item"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [is_new]', 'ifv', $cx, Plugin\LCRun3::debug('[is_new]', 'v', $cx, $in, array('is_new')), $in, function($cx, $in) {return ' <span class="newlogo"></span> +';}).' </a> +'.Plugin\LCRun3::debug('if [thirdnav]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, function($cx, $in) {return ' <div class="third-nav-wrapper"> + <div class="third-nav"> + <div class="categorywrapper" id="category'.Plugin\LCRun3::debug('../[index_main]', 'encq', $cx, Plugin\LCRun3::debug('../[index_main]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('index_main'))).''.Plugin\LCRun3::debug('[index_sub]', 'encq', $cx, Plugin\LCRun3::debug('[index_sub]', 'v', $cx, $in, array('index_sub'))).'"> + <div class="category"> +'.Plugin\LCRun3::debug('[thirdnav]', 'sec', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, false, function($cx, $in) {return ' <div class="thirdnavlist"> + <h1 class="category-title thirdnavbar"><a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</a> </h1> + <ul class="category-list"> +'.Plugin\LCRun3::debug('[branditems]', 'sec', $cx, Plugin\LCRun3::debug('[branditems]', 'v', $cx, $in, array('branditems')), $in, false, function($cx, $in) {return ' <li class="category- + item thirdnavbar"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'" hot='.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).' >'.Plugin\LCRun3::debug('[brandname]', 'encq', $cx, Plugin\LCRun3::debug('[brandname]', 'v', $cx, $in, array('brandname'))).'</a> + </li> +';}).' </ul> + </div> +';}).' </div> + </div> + <div class="showdetail" data-code="'.Plugin\LCRun3::debug('[content_code]', 'encq', $cx, Plugin\LCRun3::debug('[content_code]', 'v', $cx, $in, array('content_code'))).'"> + <a href="http://list.yohobuy.com/?gender=1,3&msort=8"> + <img src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="" style=""></a> + <a class="title" href="http://list.yohobuy.com/?gender=1,3&msort=8">热门小物优选</a> + </div> + </div> + </div> +';}).' </li> +';}).' </ul> + </div> + </li> +';}).' </ul> + <div class="icon-logo"><a href="http://www.yohobuy.com/" class="main-link"></a></div> + <div class="header-tool float-right"> + <div class="search float-left '.Plugin\LCRun3::debug('[searchcate]', 'encq', $cx, Plugin\LCRun3::debug('[searchcate]', 'v', $cx, $in, array('searchcate'))).'" > + <form action="http://search.yohobuy.com" method="get" id="searchForm"> + <span class="searchspan"> + <input type="hidden" id="defaultsearch"> + <input class="searchinput" type="text" name="query" id="query_key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value=\'\';this.style.color=\'#333\'}" onblur="if(this.value==\'\'){this.value=this.defaultValue;this.style.color=\'#999\'}" maxlength="30"></span> + <a class="icon-search" href="javascript:submitSearch();"></a> + <ul class="search-list"></ul> + </form> + </div> + <div class="gobuy float-left '.Plugin\LCRun3::debug('[gobytype]', 'encq', $cx, Plugin\LCRun3::debug('[gobytype]', 'v', $cx, $in, array('gobytype'))).'" id="miniCartBox"> + + <span class="ic-infomation">0</span> + <div class="gobuy-wrapper"></div> + + </div> + </div> + </div> + </div> + </div> + <div id="goodcartempwarpper"> + <script type="text/html" id="mini-cart-tpl"> + \\{\\{#carData\\}\\} + <div class="gobuy-notempty"> + <div class="goods-list-wrapper"> + <ul class="goods-list"> + \\{\\{#main_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img" /> + </a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/main_goods\\}\\} + \\{\\{#advance_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/advance_goods\\}\\} + \\{\\{# outlet_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/outlet_goods\\}\\} + \\{\\{#gift_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/gift_goods\\}\\} + \\{\\{#need_pay_gifts\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/need_pay_gifts\\}\\} + </ul> + <ul class="activity-list"> + {{#if has_promotion\\}\\} + <li class="activity-item"> + <span class="activity-name">活动</span> + <h3 class="activity-content"> + \\{\\{#if fit_outlet_promotion \\}\\}购outlet商品,满¥1999再享9折 + \\{\\{/if\\}\\} + \\{\\{#if has_other_promotion\\}\\} + <span class="mycart_i_down" title="更多" ></span> + \\{\\{/if\\}\\} + \\{\\{#if has_first_promotion\\}\\} + \\{\\{first_promotions.promotion_title\\}\\} + \\{\\{/if\\}\\} + </h3> + </li> + \\{\\{/if\\}\\} + \\{\\{#if fit_free_shipping \\}\\} + <li class="activity-item"> + <span class="activity-name">免运费</span> + <h3 class="activity-content">全场满 ¥\\{\\{fit_free_shipping\\}\\}免运费</h3> + </li> + \\{\\{/if\\}\\} + </ul> + </div> + <div class="gobuy-notempty-footer"> + <h3> + <a href="http://www.yohobuy.com/shopping/cart">去购物车结算</a> + </h3> + </div> + \\{\\{/carData\\}\\} + </script> + <script type="text/html" id="tmpl-my-login-new"> + <div class="myyoho-info-header clearfix"> + <div class="myyoho-photo" ><img src="\\{\\{headerimg head_ico\\}\\}" alt="" data-url =""></div> + <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\\{\\{random\\}\\}">\\{\\{profile_name\\}\\}</a></h3> + <h3 class="user-level"> + VIP: + <span class="leveldetail">\\{\\{vip.curVipInfo.title\\}\\}</span> + </h3> + \\{\\{#unless vip3 \\}\\} + <div class="levelinfo"> + <div class="levelwrapper float-left"> + <div class="levelspan"> + \\{\\{vip.curYearCost\\}\\}/\\{\\{vip.nextVipInfo.needCost\\}\\} + </div> + <p class="\\{\\{#if vip.curYearCostPer\\}\\}integrate\\{\\{/if\\}\\}" style="width: \\{\\{vip.curYearCostPer\\}\\}%;"></p> + </div> + <span class="cardcate float-left">\\{\\{vip.nextVipInfo.title\\}\\}</span> + </div> + \\{\\{/unless\\}\\} + </div> + <ul class="myyoho-info-content"> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/orders?t=\\{\\{timestamp\\}\\}">待处理的订单</a> + </span> + <span class="itemnum float-right">\\{\\{orderCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/favorite?t=\\{\\{timestamp\\}\\}">我的收藏</a> + </span> + <span class="itemnum float-right"></span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/coupons?t=\\{\\{timestamp\\}\\}">我的优惠券</a> + </span> + <span class="itemnum float-right">\\{\\{couponCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/currency?t=\\{\\{timestamp\\}\\}">我的YOHO币</a> + </span> + <span class="itemnum float-right">\\{\\{YohocoinCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/returns?t=\\{\\{timestamp\\}\\}">我的退货换货</a> + </span> + <span class="itemnum float-right">\\{\\{refundCount\\}\\}</span> + </li> + </ul> + <div class="myyoho-info-footer"> + <a href="http://www.yohobuy.com/home/user?t=\\{\\{timestamp\\}\\}">完善资料</a> + </div> + </script> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +';}).' +'.' '.''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return '<div class="simple-header"> + <div class="header-inner clearfix"> +'.Plugin\LCRun3::debug('[logo]', 'sec', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo')), $in, false, function($cx, $in) {return ' <h1 class="logo"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'"> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </h1> +';}).' <ul class="header-tool clearfix"> +'.Plugin\LCRun3::debug('[tool]', 'sec', $cx, Plugin\LCRun3::debug('[tool]', 'v', $cx, $in, array('tool')), $in, false, function($cx, $in) {return ' <li> + <span>Hi~</span> +'.Plugin\LCRun3::debug('[user]', 'sec', $cx, Plugin\LCRun3::debug('[user]', 'v', $cx, $in, array('user')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</a> +';}).' +'.Plugin\LCRun3::debug('[loginHref]', 'sec', $cx, Plugin\LCRun3::debug('[loginHref]', 'v', $cx, $in, array('loginHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[请登录]</a> +';}).' +'.Plugin\LCRun3::debug('[logoutHref]', 'sec', $cx, Plugin\LCRun3::debug('[logoutHref]', 'v', $cx, $in, array('logoutHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[退出]</a> +';}).' +'.Plugin\LCRun3::debug('[registerHref]', 'sec', $cx, Plugin\LCRun3::debug('[registerHref]', 'v', $cx, $in, array('registerHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[免费注册]</a> +';}).' </li> + <li class="tool-options"> + <span><a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">MY有货</a></span> + <i class="options-icon down iconfont"></i> + <i class="options-icon up iconfont"></i> + <div class="tool-select"> + <a href="'.Plugin\LCRun3::debug('[favoriteHref]', 'encq', $cx, Plugin\LCRun3::debug('[favoriteHref]', 'v', $cx, $in, array('favoriteHref'))).'">我的收藏</a> + <a href="'.Plugin\LCRun3::debug('[couponHref]', 'encq', $cx, Plugin\LCRun3::debug('[couponHref]', 'v', $cx, $in, array('couponHref'))).'">优惠券</a> + </div> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[orderHref]', 'encq', $cx, Plugin\LCRun3::debug('[orderHref]', 'v', $cx, $in, array('orderHref'))).'">订单中心</a> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[helpHref]', 'encq', $cx, Plugin\LCRun3::debug('[helpHref]', 'v', $cx, $in, array('helpHref'))).'">帮助中心</a> + </li> + <li> + <i class="tell-icon iconfont"></i> + <span>400-9889-9646</span> + </li> +';}).' </ul> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +</div> +';}).''.''.'<div class="home-page yoho-page lifestyle" data-page="lifestyle"> +'.Plugin\LCRun3::debug('[lifestyle]', 'sec', $cx, Plugin\LCRun3::debug('[lifestyle]', 'v', $cx, $in, array('lifestyle')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('[slide]', 'sec', $cx, Plugin\LCRun3::debug('[slide]', 'v', $cx, $in, array('slide')), $in, false, function($cx, $in) {return ''.' <div class="slide-container '.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return 'slide-thumb-container';}).'"> + <div class="slide-wrapper"> + <ul> +'.Plugin\LCRun3::debug('[list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li style="'.Plugin\LCRun3::debug('if [bgColor]', 'ifv', $cx, Plugin\LCRun3::debug('[bgColor]', 'v', $cx, $in, array('bgColor')), $in, function($cx, $in) {return 'background:'.Plugin\LCRun3::debug('[bgColor]', 'encq', $cx, Plugin\LCRun3::debug('[bgColor]', 'v', $cx, $in, array('bgColor'))).'';}).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"> +'.Plugin\LCRun3::debug('if @[first]', 'ifv', $cx, Plugin\LCRun3::debug('@[first]', 'v', $cx, $cx['sp_vars'], array('first')), $in, function($cx, $in) {return ' <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"> +';}, function($cx, $in) {return ' <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> +';}).' </a> +'.Plugin\LCRun3::debug('[tips]', 'sec', $cx, Plugin\LCRun3::debug('[tips]', 'v', $cx, $in, array('tips')), $in, false, function($cx, $in) {return ' <div class="slide-tips"> + <div class="g-mark"></div> + <p>'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p> + </div> +';}).' </li> +';}).' </ul> + </div> + +'.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return ' <div class="thumb-pagination"> + <ul class="clearfix"> +'.Plugin\LCRun3::debug('[pagination]', 'sec', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, false, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target="_blank"></a> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </li> +';}).' </ul> + </div> +';}).' </div> + <div class="slide-container-placeholder '.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return 'slide-thumb-container-placeholder';}).'"></div> +'.'';}).' +'.Plugin\LCRun3::debug('[preferenceBrands]', 'sec', $cx, Plugin\LCRun3::debug('[preferenceBrands]', 'v', $cx, $in, array('preferenceBrands')), $in, false, function($cx, $in) {return ''.''.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="preference-brand imgopacity"> + <div class="img-slider-wrapper clearfix" style="background-color:'.Plugin\LCRun3::debug('[sliderColor]', 'encq', $cx, Plugin\LCRun3::debug('[sliderColor]', 'v', $cx, $in, array('sliderColor'))).';"> + <div class="img-brand-switch"> + <a class="prev iconfont" href="javascript:;"></a> + <a class="next iconfont" href="javascript:;"></a> + </div> + <div class="img-container-landscape"> + <ul class="img-list"> +'.Plugin\LCRun3::debug('[imgBrand]', 'sec', $cx, Plugin\LCRun3::debug('[imgBrand]', 'v', $cx, $in, array('imgBrand')), $in, false, function($cx, $in) {return ' <li class="img-item"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"> <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt="'.Plugin\LCRun3::debug('[alt]', 'encq', $cx, Plugin\LCRun3::debug('[alt]', 'v', $cx, $in, array('alt'))).'"></a> + </li> +';}).' </ul> + </div> + </div> + <div class="logo-brand " data-url="'.Plugin\LCRun3::debug('[brandUrl]', 'encq', $cx, Plugin\LCRun3::debug('[brandUrl]', 'v', $cx, $in, array('brandUrl'))).'"> + </div> + </div>'.'';}).' +'.Plugin\LCRun3::debug('[category]', 'sec', $cx, Plugin\LCRun3::debug('[category]', 'v', $cx, $in, array('category')), $in, false, function($cx, $in) {return ''.''.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="categorys-list imgopacity"> + <ul class="clearfix"> +'.Plugin\LCRun3::debug('[list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="cate-item'.Plugin\LCRun3::debug('@[index]', 'encq', $cx, Plugin\LCRun3::debug('@[index]', 'v', $cx, $cx['sp_vars'], array('index'))).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"> + <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </li> +';}).' </ul> + </div>'.'';}).' +'.Plugin\LCRun3::debug('[accordion]', 'sec', $cx, Plugin\LCRun3::debug('[accordion]', 'v', $cx, $in, array('accordion')), $in, false, function($cx, $in) {return ''.''.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="slide-accordion clearfix"> + <ul> +'.Plugin\LCRun3::debug('each [slide]', 'sec', $cx, Plugin\LCRun3::debug('[slide]', 'v', $cx, $in, array('slide')), $in, true, function($cx, $in) {return ' <li><a title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><div class="g-mask"></div><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a></li> +';}).' </ul> + </div> + +'.'';}).' +'.Plugin\LCRun3::debug('[singlehot]', 'sec', $cx, Plugin\LCRun3::debug('[singlehot]', 'v', $cx, $in, array('singlehot')), $in, false, function($cx, $in) {return ''.' <div class="commodity clearfix"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="commodity-list"> + <ul class="g-list imgopacity clearfix"> +'.Plugin\LCRun3::debug('each [imgHot]', 'sec', $cx, Plugin\LCRun3::debug('[imgHot]', 'v', $cx, $in, array('imgHot')), $in, true, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><div class="commodity-img"> +'.Plugin\LCRun3::debug('[tip]', 'sec', $cx, Plugin\LCRun3::debug('[tip]', 'v', $cx, $in, array('tip')), $in, false, function($cx, $in) {return ' <i class="top">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</i> +';}).' <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></div> + <p class="commodity-name">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</p> + <p class="commodity-price"><span>¥'.Plugin\LCRun3::debug('[price]', 'encq', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price'))).'</span></p> + </a> + </li> +';}).' </ul> + </div> + <div class="commodity-brands imgopacity clearfix"> +'.Plugin\LCRun3::debug('each [brands]', 'sec', $cx, Plugin\LCRun3::debug('[brands]', 'v', $cx, $in, array('brands')), $in, true, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a> +';}).' </div> + </div> +'.'';}).' +'.Plugin\LCRun3::debug('[newArrivls]', 'sec', $cx, Plugin\LCRun3::debug('[newArrivls]', 'v', $cx, $in, array('newArrivls')), $in, false, function($cx, $in) {return ''.' <div class="commodity clearfix" id="newarrivals"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' + <div class="goods-container clearfix"> + </div> + <div class="loading"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">Loading...</a> + </div> + </div>'.'';}).'';}).'</div> +'.''.' <div class="yoho-footer"> +'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> + <div class="index-foot"> + <dl class="center-content clearfix"> + <dd> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>有货SERVICES</span> + </div> + </div> + <div id="foot-services"> + <ul class="two-dim clearfix"> + <li class="left"> + <img class="dim-img lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png"> + <p>YOHO!有货</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg"> + <p>微信</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png"> + <p>微博</p> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur" key="0"></span> + </p> + </dd> + <dd> + <div id="feed-back-box-list" class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>意见反馈</span> + </div> + </div> + <ul class="vote clearfix"> + <li key="0"> + <form class="feed-back-form" action="#"> + <div>您喜欢有货的新版吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="33">非常喜欢 + </p> + <p> + <input type="radio" name="solution" value="34">喜欢 + </p> + <p> + <input type="radio" name="solution" value="35">一般般 + </p> + <p> + <input type="radio" name="solution" value="36">不喜欢 + </p> + <p> + <input type="radio" name="solution" value="37">非常不喜欢 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" name="question_id" value="38"> + <input class="feedback-id" type="hidden" name="feedback_id" value="5"> + </form> + </li> + <li class="hide" key="1"> + <form class="feed-back-form" action="#"> + <div>您可以方便的找到想查看的内容吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="38">非常方便 + </p> + <p> + <input type="radio" name="solution" value="39">方便 + </p> + <p> + <input type="radio" name="solution" value="40">一般般 + </p> + <p> + <input type="radio" name="solution" value="41">不方便 + </p> + <p> + <input type="radio" name="solution" value="42">非常不方便 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="39"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + <li class="hide" key="2"> + <form class="feed-back-form" action="#"> + <div>您对新版还有哪些意见或建议?</div> + <textarea name="answer" id="feedback-answer" class="feedback-answer"></textarea> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="37"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + </ul> + </div> + <p id="feed-back-page" class="item-nav center"> + <span class="iconfont cur"></span> + <span class="iconfont "></span> + <span class="iconfont "></span> + </p> + </dd> + <dd class="last"> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>更多 YOHO!产品</span> + </div> + </div> + <div id="foot-mobile"> + <ul class="mobile clearfix"> + <li> + <a href="http://app.yohoshow.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg"> + </a> + </li> + <li> + <a href="http://www.yohoboys.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg"> + </a> + </li> + <li> + <a href="http://www.yohogirls.com/" target="_blank"> + <img class="lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg"> + </a> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur"></span> + </p> + </dd> + </dl> + </div> + </div> +';}).' <div class="footerbottom"> + <div class="promise"> + <div class="center-content clearfix"> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">100%</span> + <span class="rgbf">品牌授权正品</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">7天</span> + <span class="rgbf">无理由退换货</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="rgbf">客服电话:</span> + <span class="red">400-889-9646</span> + + <span class="rgb9">08:00-22:30(周一至周日)</span> + + <span> + <a class="red" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank">在线客服</a> + </span> + </div> + <div class="right subscribe footer-right"> + <input id="subscriber-box" class="rgb6 top" name="subscriberBox"value="订阅我们的邮件"> + <a id="subscriber-btn" href="javascript:void(0);" class="iconfont rgbf"></a> + </div> + </div> + </div> + <div class="footer-help"> + <div class="center-content clearfix"> + <div class="left"> + <ul class="clearfix"> + <li class="left"> + <p> + <span>新手指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a> + </p> + </li> + <li class="left"> + <p> + <span>会员中心</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=87" target="_blank">YOHO币</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a> + </p> + </li> + <li class="left"> + <p> + <span>购物指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=99" target="_blank">发票</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a> + </p> + </li> + <li class="left"> + <p> + <span>支付方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=111" target="_blank">YOHO币支付</a> + </p> + </li> + <li class="left"> + <p> + <span>配送方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a> + </p> + </li> + <li class="left"> + <p> + <span>售后服务</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a> + </p> + </li> + <li class="left"> + <p> + <span>APP常见问题</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a> + </p> + </li> + </ul> + </div> + </div> + </div> + <div class="footer-link"> + <div class="center-content clearfix"> + <div class="left right-flag"> + <a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&ct=df&a=1&pa=0.5902942178957805" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/credit-flag3.png"> + </a> + <a href="http://www.isc.org.cn/" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/isc2.png"> + </a> + </div> + <div class="left about-us"> + <p> + <a href="http://www.yohobuy.com">返回首页</a> + <span>|</span> + <a href="http://www.yohobuy.com">YOHO!有货</a> + <span>|</span> + <a href="http://www.yohobuy.com/newpower.html">新力传媒</a> + <span>|</span> + <a href="http://www.yohobuy.com/contact.html">联系我们</a> + <span>|</span> + <a href="http://shop.yohobuy.com/settled">商家入驻</a> + <span>|</span> + <a href="http://www.yohobuy.com/privacy.html">隐私条款</a> + <span>|</span> + <a href="http://www.yohobuy.com/link.html">友情链接</a> + </p> + <p> + CopyRight © 2007-2016 南京新与力文化传播有限公司 + <a class="rbg6" href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备09011225号</a> + NewPower Co. 版权所有 经营许可证编号:苏B2-20120395 + </p> + </div> + + </div> + </div> + </div> + <div class="return-top hide"> + <span class="iconfont"></span> + </div> + </div>'.''.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <script src="http://localhost:8001/static/js/sea.js?nowrap"></script> + <script> + seajs.config({ + base: \'http://localhost:8001/\' + }); + </script> +';}).''.' <script> + seajs.use(\'js/common\'); + </script> +'.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/header\'); + </script> +';}).''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/simple-header\'); + </script> +';}).''.Plugin\LCRun3::debug('if [boysHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/index/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [searchListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[searchListPage]', 'v', $cx, $in, array('searchListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(5); + window.onresize = function () { + setTimeout(function () { + product.init(5); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [brandPage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productListPage]', 'v', $cx, $in, array('productListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productDetailPage]', 'v', $cx, $in, array('productDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/item\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangIndexPage]', 'v', $cx, $in, array('guangIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangDetailPage]', 'v', $cx, $in, array('guangDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/detail\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangListPage]', 'v', $cx, $in, array('guangListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/list\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleIndexPage]', 'v', $cx, $in, array('saleIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/sale/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleListPage]', 'v', $cx, $in, array('saleListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [saleCatPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleCatPage]', 'v', $cx, $in, array('saleCatPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [loginPage]', 'ifv', $cx, Plugin\LCRun3::debug('[loginPage]', 'v', $cx, $in, array('loginPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/login\'); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdLogin]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdLogin]', 'v', $cx, $in, array('thirdLogin')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/thirdlogin\'); + </script> +';}).''.Plugin\LCRun3::debug('if [enablePerfectInformation]', 'ifv', $cx, Plugin\LCRun3::debug('[enablePerfectInformation]', 'v', $cx, $in, array('enablePerfectInformation')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/third-pwd\'); + </script> +';}).''.Plugin\LCRun3::debug('if [registerPage]', 'ifv', $cx, Plugin\LCRun3::debug('[registerPage]', 'v', $cx, $in, array('registerPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'reg\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdPage]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdPage]', 'v', $cx, $in, array('thirdPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'third\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [backPage]', 'ifv', $cx, Plugin\LCRun3::debug('[backPage]', 'v', $cx, $in, array('backPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/back\'); + </script> +';}).''.Plugin\LCRun3::debug('if [resetPage]', 'ifv', $cx, Plugin\LCRun3::debug('[resetPage]', 'v', $cx, $in, array('resetPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reset\'); + </script> +';}).''.Plugin\LCRun3::debug('if [vertificationPage]', 'ifv', $cx, Plugin\LCRun3::debug('[vertificationPage]', 'v', $cx, $in, array('vertificationPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/vertification\'); + </script> +';}).''.Plugin\LCRun3::debug('if [hotrankPage]', 'ifv', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/hotrank\'); + </script> +';}).''.Plugin\LCRun3::debug('if [brandsHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandsHomePage]', 'v', $cx, $in, array('brandsHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/brand/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [orderEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/order/ensure\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meIndexPage]', 'v', $cx, $in, array('meIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/index\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meOrdersPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meOrdersPage]', 'v', $cx, $in, array('meOrdersPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/orders\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meFavoritePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meFavoritePage]', 'v', $cx, $in, array('meFavoritePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/favorite\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meReturnsPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meReturnsPage]', 'v', $cx, $in, array('meReturnsPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/returns\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meCommentPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meCommentPage]', 'v', $cx, $in, array('meCommentPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/comment\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meEditPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meEditPage]', 'v', $cx, $in, array('meEditPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/edit\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meGiftPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meGiftPage]', 'v', $cx, $in, array('meGiftPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/gift\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meValidatePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meValidatePage]', 'v', $cx, $in, array('meValidatePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/validate\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meAddressPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meAddressPage]', 'v', $cx, $in, array('meAddressPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/address\'); + seajs.use(\'js/home/common-address\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [cartEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[cartEnsurePage]', 'v', $cx, $in, array('cartEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/cart/cart\'); + </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 || []; + var _gaq = _gaq || []; + (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() { + _gaq.push([\'_setAccount\', \'UA-48997038-32\']); + _gaq.push([\'_trackPageview\']); + var ga = document.createElement(\'script\'); + ga.type = \'text/javascript\'; ga.async = true; + ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\'; + var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s); + })(); + (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); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.criteo.net/js/ld/ld.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + var u = _ozuid || ""; + u = (u == 0) ? "" : u; + window.criteo_q = window.criteo_q || []; + window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" }); + })(); + } + if (window.addEventListener) { + window.addEventListener(\'load\', async_load, false); + } else if (window.attachEvent) { + window.attachEvent(\'onload\', async_load); + } + })(); + </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/js/v3/o_code.js?v=20150420" async="async"></script> +'.' </body> +</html> +'.''; +} +?> \ No newline at end of file diff --git a/compile/www.yohobuy.com/0.0.9/518ade417ca42e404317941296383c9f.php b/compile/www.yohobuy.com/0.0.9/518ade417ca42e404317941296383c9f.php new file mode 100644 index 0000000..2c17a4c --- /dev/null +++ b/compile/www.yohobuy.com/0.0.9/518ade417ca42e404317941296383c9f.php @@ -0,0 +1,1192 @@ +<?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="X-UA-Compatible" content="IE=edge,chrome=1" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Cache-Control" content="no-siteapp" /> + <meta name="renderer" content="webkit"> + <meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'"> + <meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'"> + <title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + <link rel="dns-prefetch" href="//img10.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img11.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css"> +';}).'</head> +<body> +'.''.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <div class="yoho-header"> + <div class="header-topwrapper clearfix"> + <div class="header-top"> + <div class="leftpart float-left"> + <span class="icon-hamburger"></span> + <a href="http://www.yohobuy.com" class="header-yoho" >YOHO!有货</a> + <ul class="yohoproducts-list"> + <li class="yohoproducts-item"> + <a href="http://www.yoho.cn" class="yohogroup" en="YOHO!" cn="集团官网">YOHO!</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoboys.com" class="yohogroup" en="YOHO!BOYS" cn="男生潮流">YOHO!BOYS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohogirls.com" class="yohogroup" en="YOHO!GIRLS" cn="女生潮流">YOHO!GIRLS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoshow.com" class="yohogroup" en="YOHO!SHOW" cn="物趣分享">YOHO!SHOW</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohood.cn" class="yohogroup" en="YO\'HOOD" cn="潮流嘉年华">YO\'HOOD</a> + </li> + </ul> + </div> + <div class="rightpart"> + <div id="loginBox" class="float-left"> + <span class="hi">Hi~</span> + <a href="http://www.yohobuy.com/signin.html" class="loginbar">[请登录]</a> + <a href="http://www.yohobuy.com/reg.html" class="registbar">[免费注册]</a> + </div> + <div class="tag-list-wrapper"> + <ul class="tag-list"> + <li class="tag-item myyoho" id="myYohoBox"> + <span class="tag-seprate"></span> + <a href="http://www.yohobuy.com/home?t=1453340799.4986">MY有货</a> + <span class="icon-bottomarrow"></span> + <div class="myyoho-info"></div> + </li> + <li class="tag-item myorder"> + <span class="tag-seprate"></span> + <span class="icon-papers"></span> + <a href="http://www.yohobuy.com/home/orders?t=1453168898.0176">我的订单</a> + </li> + <li class="tag-item mycollect"> + <span class="tag-seprate"></span> + <span class="icon-heart"></span> + <a href="http://www.yohobuy.com/home/favorite?t=1453168898.0176">我的收藏</a> + </li> + <li class="tag-item message"> + <span class="tag-seprate"></span> + <span class="icon-mail"></span> + <a href="http://www.yohobuy.com/home/message?t=1453168898.0176">消息</a> + </li> + <li class="tag-item phone"> + <span class="tag-seprate"></span> + <span class="icon-iphone"></span> + <a href="http://www.yohobuy.com/download/app">手机版</a> + <div class="qr"> + <div class="qr-img"></div> + <h3 class="qr-words">扫描二维码</h3> + <h3 class="qr-words">下载有货手机客户端</h3> + <h3 class="qr-more"> + <a href="http://www.yohobuy.com/download/app">更多客户端下载</a> + </h3> + </div> + </li> + </ul> + </div> + </div> + </div> + </div> + <div class="header-navwrapper clearfix"> + <div class="header-navcontent"> + <ul class="first-nav-list float-left"> +'.Plugin\LCRun3::debug('[navbars]', 'sec', $cx, Plugin\LCRun3::debug('[navbars]', 'v', $cx, $in, array('navbars')), $in, false, function($cx, $in) {return ' <li class="first-nav-item '.Plugin\LCRun3::debug('[classname]', 'encq', $cx, Plugin\LCRun3::debug('[classname]', 'v', $cx, $in, array('classname'))).'"> + <h3 class="name-cn"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_cn]', 'encq', $cx, Plugin\LCRun3::debug('[name_cn]', 'v', $cx, $in, array('name_cn'))).'</a> + </h3> + <h3 class="name-en"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_en]', 'encq', $cx, Plugin\LCRun3::debug('[name_en]', 'v', $cx, $in, array('name_en'))).'</a> + </h3> + <div class=\'sub-nav-wrapper\'> + <ul class="sub-nav-list"> +'.Plugin\LCRun3::debug('[subnav]', 'sec', $cx, Plugin\LCRun3::debug('[subnav]', 'v', $cx, $in, array('subnav')), $in, false, function($cx, $in) {return ' <li class="sub-nav-item"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [is_new]', 'ifv', $cx, Plugin\LCRun3::debug('[is_new]', 'v', $cx, $in, array('is_new')), $in, function($cx, $in) {return ' <span class="newlogo"></span> +';}).' </a> +'.Plugin\LCRun3::debug('if [thirdnav]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, function($cx, $in) {return ' <div class="third-nav-wrapper"> + <div class="third-nav"> + <div class="categorywrapper" id="category'.Plugin\LCRun3::debug('../[index_main]', 'encq', $cx, Plugin\LCRun3::debug('../[index_main]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('index_main'))).''.Plugin\LCRun3::debug('[index_sub]', 'encq', $cx, Plugin\LCRun3::debug('[index_sub]', 'v', $cx, $in, array('index_sub'))).'"> + <div class="category"> +'.Plugin\LCRun3::debug('[thirdnav]', 'sec', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, false, function($cx, $in) {return ' <div class="thirdnavlist"> + <h1 class="category-title thirdnavbar"><a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</a> </h1> + <ul class="category-list"> +'.Plugin\LCRun3::debug('[branditems]', 'sec', $cx, Plugin\LCRun3::debug('[branditems]', 'v', $cx, $in, array('branditems')), $in, false, function($cx, $in) {return ' <li class="category- + item thirdnavbar"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'" hot='.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).' >'.Plugin\LCRun3::debug('[brandname]', 'encq', $cx, Plugin\LCRun3::debug('[brandname]', 'v', $cx, $in, array('brandname'))).'</a> + </li> +';}).' </ul> + </div> +';}).' </div> + </div> + <div class="showdetail" data-code="'.Plugin\LCRun3::debug('[content_code]', 'encq', $cx, Plugin\LCRun3::debug('[content_code]', 'v', $cx, $in, array('content_code'))).'"> + <a href="http://list.yohobuy.com/?gender=1,3&msort=8"> + <img src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="" style=""></a> + <a class="title" href="http://list.yohobuy.com/?gender=1,3&msort=8">热门小物优选</a> + </div> + </div> + </div> +';}).' </li> +';}).' </ul> + </div> + </li> +';}).' </ul> + <div class="icon-logo"><a href="http://www.yohobuy.com/" class="main-link"></a></div> + <div class="header-tool float-right"> + <div class="search float-left '.Plugin\LCRun3::debug('[searchcate]', 'encq', $cx, Plugin\LCRun3::debug('[searchcate]', 'v', $cx, $in, array('searchcate'))).'" > + <form action="http://search.yohobuy.com" method="get" id="searchForm"> + <span class="searchspan"> + <input type="hidden" id="defaultsearch"> + <input class="searchinput" type="text" name="query" id="query_key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value=\'\';this.style.color=\'#333\'}" onblur="if(this.value==\'\'){this.value=this.defaultValue;this.style.color=\'#999\'}" maxlength="30"></span> + <a class="icon-search" href="javascript:submitSearch();"></a> + <ul class="search-list"></ul> + </form> + </div> + <div class="gobuy float-left '.Plugin\LCRun3::debug('[gobytype]', 'encq', $cx, Plugin\LCRun3::debug('[gobytype]', 'v', $cx, $in, array('gobytype'))).'" id="miniCartBox"> + + <span class="ic-infomation">0</span> + <div class="gobuy-wrapper"></div> + + </div> + </div> + </div> + </div> + </div> + <div id="goodcartempwarpper"> + <script type="text/html" id="mini-cart-tpl"> + \\{\\{#carData\\}\\} + <div class="gobuy-notempty"> + <div class="goods-list-wrapper"> + <ul class="goods-list"> + \\{\\{#main_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img" /> + </a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/main_goods\\}\\} + \\{\\{#advance_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/advance_goods\\}\\} + \\{\\{# outlet_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/outlet_goods\\}\\} + \\{\\{#gift_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/gift_goods\\}\\} + \\{\\{#need_pay_gifts\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/need_pay_gifts\\}\\} + </ul> + <ul class="activity-list"> + {{#if has_promotion\\}\\} + <li class="activity-item"> + <span class="activity-name">活动</span> + <h3 class="activity-content"> + \\{\\{#if fit_outlet_promotion \\}\\}购outlet商品,满¥1999再享9折 + \\{\\{/if\\}\\} + \\{\\{#if has_other_promotion\\}\\} + <span class="mycart_i_down" title="更多" ></span> + \\{\\{/if\\}\\} + \\{\\{#if has_first_promotion\\}\\} + \\{\\{first_promotions.promotion_title\\}\\} + \\{\\{/if\\}\\} + </h3> + </li> + \\{\\{/if\\}\\} + \\{\\{#if fit_free_shipping \\}\\} + <li class="activity-item"> + <span class="activity-name">免运费</span> + <h3 class="activity-content">全场满 ¥\\{\\{fit_free_shipping\\}\\}免运费</h3> + </li> + \\{\\{/if\\}\\} + </ul> + </div> + <div class="gobuy-notempty-footer"> + <h3> + <a href="http://www.yohobuy.com/shopping/cart">去购物车结算</a> + </h3> + </div> + \\{\\{/carData\\}\\} + </script> + <script type="text/html" id="tmpl-my-login-new"> + <div class="myyoho-info-header clearfix"> + <div class="myyoho-photo" ><img src="\\{\\{headerimg head_ico\\}\\}" alt="" data-url =""></div> + <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\\{\\{random\\}\\}">\\{\\{profile_name\\}\\}</a></h3> + <h3 class="user-level"> + VIP: + <span class="leveldetail">\\{\\{vip.curVipInfo.title\\}\\}</span> + </h3> + \\{\\{#unless vip3 \\}\\} + <div class="levelinfo"> + <div class="levelwrapper float-left"> + <div class="levelspan"> + \\{\\{vip.curYearCost\\}\\}/\\{\\{vip.nextVipInfo.needCost\\}\\} + </div> + <p class="\\{\\{#if vip.curYearCostPer\\}\\}integrate\\{\\{/if\\}\\}" style="width: \\{\\{vip.curYearCostPer\\}\\}%;"></p> + </div> + <span class="cardcate float-left">\\{\\{vip.nextVipInfo.title\\}\\}</span> + </div> + \\{\\{/unless\\}\\} + </div> + <ul class="myyoho-info-content"> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/orders?t=\\{\\{timestamp\\}\\}">待处理的订单</a> + </span> + <span class="itemnum float-right">\\{\\{orderCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/favorite?t=\\{\\{timestamp\\}\\}">我的收藏</a> + </span> + <span class="itemnum float-right"></span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/coupons?t=\\{\\{timestamp\\}\\}">我的优惠券</a> + </span> + <span class="itemnum float-right">\\{\\{couponCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/currency?t=\\{\\{timestamp\\}\\}">我的YOHO币</a> + </span> + <span class="itemnum float-right">\\{\\{YohocoinCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/returns?t=\\{\\{timestamp\\}\\}">我的退货换货</a> + </span> + <span class="itemnum float-right">\\{\\{refundCount\\}\\}</span> + </li> + </ul> + <div class="myyoho-info-footer"> + <a href="http://www.yohobuy.com/home/user?t=\\{\\{timestamp\\}\\}">完善资料</a> + </div> + </script> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +';}).' +'.' '.''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return '<div class="simple-header"> + <div class="header-inner clearfix"> +'.Plugin\LCRun3::debug('[logo]', 'sec', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo')), $in, false, function($cx, $in) {return ' <h1 class="logo"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'"> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </h1> +';}).' <ul class="header-tool clearfix"> +'.Plugin\LCRun3::debug('[tool]', 'sec', $cx, Plugin\LCRun3::debug('[tool]', 'v', $cx, $in, array('tool')), $in, false, function($cx, $in) {return ' <li> + <span>Hi~</span> +'.Plugin\LCRun3::debug('[user]', 'sec', $cx, Plugin\LCRun3::debug('[user]', 'v', $cx, $in, array('user')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</a> +';}).' +'.Plugin\LCRun3::debug('[loginHref]', 'sec', $cx, Plugin\LCRun3::debug('[loginHref]', 'v', $cx, $in, array('loginHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[请登录]</a> +';}).' +'.Plugin\LCRun3::debug('[logoutHref]', 'sec', $cx, Plugin\LCRun3::debug('[logoutHref]', 'v', $cx, $in, array('logoutHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[退出]</a> +';}).' +'.Plugin\LCRun3::debug('[registerHref]', 'sec', $cx, Plugin\LCRun3::debug('[registerHref]', 'v', $cx, $in, array('registerHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[免费注册]</a> +';}).' </li> + <li class="tool-options"> + <span><a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">MY有货</a></span> + <i class="options-icon down iconfont"></i> + <i class="options-icon up iconfont"></i> + <div class="tool-select"> + <a href="'.Plugin\LCRun3::debug('[favoriteHref]', 'encq', $cx, Plugin\LCRun3::debug('[favoriteHref]', 'v', $cx, $in, array('favoriteHref'))).'">我的收藏</a> + <a href="'.Plugin\LCRun3::debug('[couponHref]', 'encq', $cx, Plugin\LCRun3::debug('[couponHref]', 'v', $cx, $in, array('couponHref'))).'">优惠券</a> + </div> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[orderHref]', 'encq', $cx, Plugin\LCRun3::debug('[orderHref]', 'v', $cx, $in, array('orderHref'))).'">订单中心</a> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[helpHref]', 'encq', $cx, Plugin\LCRun3::debug('[helpHref]', 'v', $cx, $in, array('helpHref'))).'">帮助中心</a> + </li> + <li> + <i class="tell-icon iconfont"></i> + <span>400-9889-9646</span> + </li> +';}).' </ul> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +</div> +';}).''.''.'<div class="home-page yoho-page boys" data-page="boys"> +'.Plugin\LCRun3::debug('[boys]', 'sec', $cx, Plugin\LCRun3::debug('[boys]', 'v', $cx, $in, array('boys')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('[slide]', 'sec', $cx, Plugin\LCRun3::debug('[slide]', 'v', $cx, $in, array('slide')), $in, false, function($cx, $in) {return ''.' <div class="slide-container '.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return 'slide-thumb-container';}).'"> + <div class="slide-wrapper"> + <ul> +'.Plugin\LCRun3::debug('[list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li style="'.Plugin\LCRun3::debug('if [bgColor]', 'ifv', $cx, Plugin\LCRun3::debug('[bgColor]', 'v', $cx, $in, array('bgColor')), $in, function($cx, $in) {return 'background:'.Plugin\LCRun3::debug('[bgColor]', 'encq', $cx, Plugin\LCRun3::debug('[bgColor]', 'v', $cx, $in, array('bgColor'))).'';}).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"> +'.Plugin\LCRun3::debug('if @[first]', 'ifv', $cx, Plugin\LCRun3::debug('@[first]', 'v', $cx, $cx['sp_vars'], array('first')), $in, function($cx, $in) {return ' <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"> +';}, function($cx, $in) {return ' <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> +';}).' </a> +'.Plugin\LCRun3::debug('[tips]', 'sec', $cx, Plugin\LCRun3::debug('[tips]', 'v', $cx, $in, array('tips')), $in, false, function($cx, $in) {return ' <div class="slide-tips"> + <div class="g-mark"></div> + <p>'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p> + </div> +';}).' </li> +';}).' </ul> + </div> + +'.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return ' <div class="thumb-pagination"> + <ul class="clearfix"> +'.Plugin\LCRun3::debug('[pagination]', 'sec', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, false, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target="_blank"></a> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </li> +';}).' </ul> + </div> +';}).' </div> + <div class="slide-container-placeholder '.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return 'slide-thumb-container-placeholder';}).'"></div> +'.'';}).' +'.Plugin\LCRun3::debug('[newReport]', 'sec', $cx, Plugin\LCRun3::debug('[newReport]', 'v', $cx, $in, array('newReport')), $in, false, function($cx, $in) {return ' <div class="new-report imgopacity clearfix"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' + <ul class="report-list clearfix"> +'.Plugin\LCRun3::debug('[list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('unless @[last]', 'unl', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"> + <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt="" > + </a> + </li> +';}).'';}).' </ul> + +'.Plugin\LCRun3::debug('[list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('if @[last]', 'ifv', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return ' <div class="last-item"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"> + <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </div> +';}).'';}).' </div> +';}).' +'.Plugin\LCRun3::debug('[preferenceBrands]', 'sec', $cx, Plugin\LCRun3::debug('[preferenceBrands]', 'v', $cx, $in, array('preferenceBrands')), $in, false, function($cx, $in) {return ' <div class="preference-brand"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="img-brand"> + <ul class="img-list imgopacity clearfix"> +'.Plugin\LCRun3::debug('[imgBrand]', 'sec', $cx, Plugin\LCRun3::debug('[imgBrand]', 'v', $cx, $in, array('imgBrand')), $in, false, function($cx, $in) {return ' <li class="img-item"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </li> +';}).' </ul> + <div class="img-brand-switch"> + <a class="prev" href="javascript:;"> + <span class="iconfont"></span> + </a> + <a class="next" href="javascript:;"> + <span class="iconfont"></span> + </a> + </div> + </div> + <div class="logo-brand imgopacity" data-url="'.Plugin\LCRun3::debug('[brandUrl]', 'encq', $cx, Plugin\LCRun3::debug('[brandUrl]', 'v', $cx, $in, array('brandUrl'))).'"></div> + </div> +';}).' +'.Plugin\LCRun3::debug('[singlehot]', 'sec', $cx, Plugin\LCRun3::debug('[singlehot]', 'v', $cx, $in, array('singlehot')), $in, false, function($cx, $in) {return ''.' <div class="singlehot clearfix"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <ul class="g-list imgopacity"> +'.Plugin\LCRun3::debug('each [imgHot]', 'sec', $cx, Plugin\LCRun3::debug('[imgHot]', 'v', $cx, $in, array('imgHot')), $in, true, function($cx, $in) {return ' <li><a class="impo'.Plugin\LCRun3::debug('@[index]', 'encq', $cx, Plugin\LCRun3::debug('@[index]', 'v', $cx, $cx['sp_vars'], array('index'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a></li> +';}).' </ul> + </div> +'.'';}).' +'.Plugin\LCRun3::debug('[adbanner]', 'sec', $cx, Plugin\LCRun3::debug('[adbanner]', 'v', $cx, $in, array('adbanner')), $in, false, function($cx, $in) {return ' <div class="floor-ad"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a> + </div> +';}).' +'.Plugin\LCRun3::debug('[recommend]', 'sec', $cx, Plugin\LCRun3::debug('[recommend]', 'v', $cx, $in, array('recommend')), $in, false, function($cx, $in) {return ''.''.Plugin\LCRun3::debug('[tplrecommend]', 'sec', $cx, Plugin\LCRun3::debug('[tplrecommend]', 'v', $cx, $in, array('tplrecommend')), $in, false, function($cx, $in) {return ' <div class="tpl-recommend clearfix"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="tpl-body clearfix"> + <div class="tpl-nav"> + <div class="tpl-keywords"> +'.Plugin\LCRun3::debug('each [keyword]', 'sec', $cx, Plugin\LCRun3::debug('[keyword]', 'v', $cx, $in, array('keyword')), $in, true, function($cx, $in) {return ' <a class="keywords'.Plugin\LCRun3::debug('@[index]', 'encq', $cx, Plugin\LCRun3::debug('@[index]', 'v', $cx, $cx['sp_vars'], array('index'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a> +';}).' </div> + <div class="tpl-category clearfix"> +'.Plugin\LCRun3::debug('each [category]', 'sec', $cx, Plugin\LCRun3::debug('[category]', 'v', $cx, $in, array('category')), $in, true, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}).' </div> + </div> + <div class="tpl-brands imgopacity clearfix"> + <ul> +'.Plugin\LCRun3::debug('each [brands]', 'sec', $cx, Plugin\LCRun3::debug('[brands]', 'v', $cx, $in, array('brands')), $in, true, function($cx, $in) {return ' <li><a title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a></li> +';}).' </ul> + </div> + <div class="tpl-types imgopacity clearfix"> + <ul> +'.Plugin\LCRun3::debug('each [types]', 'sec', $cx, Plugin\LCRun3::debug('[types]', 'v', $cx, $in, array('types')), $in, true, function($cx, $in) {return ' <li><a title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a></li> +';}).' </ul> + </div> + </div> + <div class="tpl-products imgopacity clearfix"> + <ul> +'.Plugin\LCRun3::debug('each [products]', 'sec', $cx, Plugin\LCRun3::debug('[products]', 'v', $cx, $in, array('products')), $in, true, function($cx, $in) {return ' <li><a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a></li> +';}).' </ul> + </div> + </div> +';}).' + +'.'';}).' +'.Plugin\LCRun3::debug('[newArrivls]', 'sec', $cx, Plugin\LCRun3::debug('[newArrivls]', 'v', $cx, $in, array('newArrivls')), $in, false, function($cx, $in) {return ''.' <div class="commodity clearfix" id="newarrivals"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' + <div class="goods-container clearfix"> + </div> + <div class="loading"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">Loading...</a> + </div> + </div>'.'';}).'';}).'</div> +<script>__custom = {"yopid":"index"};</script> +'.''.' <div class="yoho-footer"> +'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> + <div class="index-foot"> + <dl class="center-content clearfix"> + <dd> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>有货SERVICES</span> + </div> + </div> + <div id="foot-services"> + <ul class="two-dim clearfix"> + <li class="left"> + <img class="dim-img lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png"> + <p>YOHO!有货</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg"> + <p>微信</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png"> + <p>微博</p> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur" key="0"></span> + </p> + </dd> + <dd> + <div id="feed-back-box-list" class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>意见反馈</span> + </div> + </div> + <ul class="vote clearfix"> + <li key="0"> + <form class="feed-back-form" action="#"> + <div>您喜欢有货的新版吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="33">非常喜欢 + </p> + <p> + <input type="radio" name="solution" value="34">喜欢 + </p> + <p> + <input type="radio" name="solution" value="35">一般般 + </p> + <p> + <input type="radio" name="solution" value="36">不喜欢 + </p> + <p> + <input type="radio" name="solution" value="37">非常不喜欢 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" name="question_id" value="38"> + <input class="feedback-id" type="hidden" name="feedback_id" value="5"> + </form> + </li> + <li class="hide" key="1"> + <form class="feed-back-form" action="#"> + <div>您可以方便的找到想查看的内容吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="38">非常方便 + </p> + <p> + <input type="radio" name="solution" value="39">方便 + </p> + <p> + <input type="radio" name="solution" value="40">一般般 + </p> + <p> + <input type="radio" name="solution" value="41">不方便 + </p> + <p> + <input type="radio" name="solution" value="42">非常不方便 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="39"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + <li class="hide" key="2"> + <form class="feed-back-form" action="#"> + <div>您对新版还有哪些意见或建议?</div> + <textarea name="answer" id="feedback-answer" class="feedback-answer"></textarea> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="37"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + </ul> + </div> + <p id="feed-back-page" class="item-nav center"> + <span class="iconfont cur"></span> + <span class="iconfont "></span> + <span class="iconfont "></span> + </p> + </dd> + <dd class="last"> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>更多 YOHO!产品</span> + </div> + </div> + <div id="foot-mobile"> + <ul class="mobile clearfix"> + <li> + <a href="http://app.yohoshow.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg"> + </a> + </li> + <li> + <a href="http://www.yohoboys.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg"> + </a> + </li> + <li> + <a href="http://www.yohogirls.com/" target="_blank"> + <img class="lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg"> + </a> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur"></span> + </p> + </dd> + </dl> + </div> + </div> +';}).' <div class="footerbottom"> + <div class="promise"> + <div class="center-content clearfix"> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">100%</span> + <span class="rgbf">品牌授权正品</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">7天</span> + <span class="rgbf">无理由退换货</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="rgbf">客服电话:</span> + <span class="red">400-889-9646</span> + + <span class="rgb9">08:00-22:30(周一至周日)</span> + + <span> + <a class="red" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank">在线客服</a> + </span> + </div> + <div class="right subscribe footer-right"> + <input id="subscriber-box" class="rgb6 top" name="subscriberBox"value="订阅我们的邮件"> + <a id="subscriber-btn" href="javascript:void(0);" class="iconfont rgbf"></a> + </div> + </div> + </div> + <div class="footer-help"> + <div class="center-content clearfix"> + <div class="left"> + <ul class="clearfix"> + <li class="left"> + <p> + <span>新手指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a> + </p> + </li> + <li class="left"> + <p> + <span>会员中心</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=87" target="_blank">YOHO币</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a> + </p> + </li> + <li class="left"> + <p> + <span>购物指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=99" target="_blank">发票</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a> + </p> + </li> + <li class="left"> + <p> + <span>支付方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=111" target="_blank">YOHO币支付</a> + </p> + </li> + <li class="left"> + <p> + <span>配送方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a> + </p> + </li> + <li class="left"> + <p> + <span>售后服务</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a> + </p> + </li> + <li class="left"> + <p> + <span>APP常见问题</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a> + </p> + </li> + </ul> + </div> + </div> + </div> + <div class="footer-link"> + <div class="center-content clearfix"> + <div class="left right-flag"> + <a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&ct=df&a=1&pa=0.5902942178957805" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/credit-flag3.png"> + </a> + <a href="http://www.isc.org.cn/" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/isc2.png"> + </a> + </div> + <div class="left about-us"> + <p> + <a href="http://www.yohobuy.com">返回首页</a> + <span>|</span> + <a href="http://www.yohobuy.com">YOHO!有货</a> + <span>|</span> + <a href="http://www.yohobuy.com/newpower.html">新力传媒</a> + <span>|</span> + <a href="http://www.yohobuy.com/contact.html">联系我们</a> + <span>|</span> + <a href="http://shop.yohobuy.com/settled">商家入驻</a> + <span>|</span> + <a href="http://www.yohobuy.com/privacy.html">隐私条款</a> + <span>|</span> + <a href="http://www.yohobuy.com/link.html">友情链接</a> + </p> + <p> + CopyRight © 2007-2016 南京新与力文化传播有限公司 + <a class="rbg6" href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备09011225号</a> + NewPower Co. 版权所有 经营许可证编号:苏B2-20120395 + </p> + </div> + + </div> + </div> + </div> + <div class="return-top hide"> + <span class="iconfont"></span> + </div> + </div>'.''.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <script src="http://localhost:8001/static/js/sea.js?nowrap"></script> + <script> + seajs.config({ + base: \'http://localhost:8001/\' + }); + </script> +';}).''.' <script> + seajs.use(\'js/common\'); + </script> +'.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/header\'); + </script> +';}).''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/simple-header\'); + </script> +';}).''.Plugin\LCRun3::debug('if [boysHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/index/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [searchListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[searchListPage]', 'v', $cx, $in, array('searchListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(5); + window.onresize = function () { + setTimeout(function () { + product.init(5); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [brandPage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productListPage]', 'v', $cx, $in, array('productListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productDetailPage]', 'v', $cx, $in, array('productDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/item\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangIndexPage]', 'v', $cx, $in, array('guangIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangDetailPage]', 'v', $cx, $in, array('guangDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/detail\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangListPage]', 'v', $cx, $in, array('guangListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/list\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleIndexPage]', 'v', $cx, $in, array('saleIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/sale/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleListPage]', 'v', $cx, $in, array('saleListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [saleCatPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleCatPage]', 'v', $cx, $in, array('saleCatPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [loginPage]', 'ifv', $cx, Plugin\LCRun3::debug('[loginPage]', 'v', $cx, $in, array('loginPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/login\'); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdLogin]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdLogin]', 'v', $cx, $in, array('thirdLogin')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/thirdlogin\'); + </script> +';}).''.Plugin\LCRun3::debug('if [enablePerfectInformation]', 'ifv', $cx, Plugin\LCRun3::debug('[enablePerfectInformation]', 'v', $cx, $in, array('enablePerfectInformation')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/third-pwd\'); + </script> +';}).''.Plugin\LCRun3::debug('if [registerPage]', 'ifv', $cx, Plugin\LCRun3::debug('[registerPage]', 'v', $cx, $in, array('registerPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'reg\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdPage]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdPage]', 'v', $cx, $in, array('thirdPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'third\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [backPage]', 'ifv', $cx, Plugin\LCRun3::debug('[backPage]', 'v', $cx, $in, array('backPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/back\'); + </script> +';}).''.Plugin\LCRun3::debug('if [resetPage]', 'ifv', $cx, Plugin\LCRun3::debug('[resetPage]', 'v', $cx, $in, array('resetPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reset\'); + </script> +';}).''.Plugin\LCRun3::debug('if [vertificationPage]', 'ifv', $cx, Plugin\LCRun3::debug('[vertificationPage]', 'v', $cx, $in, array('vertificationPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/vertification\'); + </script> +';}).''.Plugin\LCRun3::debug('if [hotrankPage]', 'ifv', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/hotrank\'); + </script> +';}).''.Plugin\LCRun3::debug('if [brandsHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandsHomePage]', 'v', $cx, $in, array('brandsHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/brand/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [orderEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/order/ensure\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meIndexPage]', 'v', $cx, $in, array('meIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/index\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meOrdersPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meOrdersPage]', 'v', $cx, $in, array('meOrdersPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/orders\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meFavoritePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meFavoritePage]', 'v', $cx, $in, array('meFavoritePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/favorite\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meReturnsPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meReturnsPage]', 'v', $cx, $in, array('meReturnsPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/returns\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meCommentPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meCommentPage]', 'v', $cx, $in, array('meCommentPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/comment\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meEditPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meEditPage]', 'v', $cx, $in, array('meEditPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/edit\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meGiftPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meGiftPage]', 'v', $cx, $in, array('meGiftPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/gift\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meValidatePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meValidatePage]', 'v', $cx, $in, array('meValidatePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/validate\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meAddressPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meAddressPage]', 'v', $cx, $in, array('meAddressPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/address\'); + seajs.use(\'js/home/common-address\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [cartEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[cartEnsurePage]', 'v', $cx, $in, array('cartEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/cart/cart\'); + </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 || []; + var _gaq = _gaq || []; + (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() { + _gaq.push([\'_setAccount\', \'UA-48997038-32\']); + _gaq.push([\'_trackPageview\']); + var ga = document.createElement(\'script\'); + ga.type = \'text/javascript\'; ga.async = true; + ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\'; + var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s); + })(); + (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); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.criteo.net/js/ld/ld.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + var u = _ozuid || ""; + u = (u == 0) ? "" : u; + window.criteo_q = window.criteo_q || []; + window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" }); + })(); + } + if (window.addEventListener) { + window.addEventListener(\'load\', async_load, false); + } else if (window.attachEvent) { + window.attachEvent(\'onload\', async_load); + } + })(); + </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/js/v3/o_code.js?v=20150420" async="async"></script> +'.' </body> +</html> +'.''; +} +?> \ No newline at end of file diff --git a/compile/www.yohobuy.com/0.0.9/604eb287b68eb7b38741e856c3b9a8c0.php b/compile/www.yohobuy.com/0.0.9/604eb287b68eb7b38741e856c3b9a8c0.php new file mode 100644 index 0000000..821c893 --- /dev/null +++ b/compile/www.yohobuy.com/0.0.9/604eb287b68eb7b38741e856c3b9a8c0.php @@ -0,0 +1,1188 @@ +<?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="X-UA-Compatible" content="IE=edge,chrome=1" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Cache-Control" content="no-siteapp" /> + <meta name="renderer" content="webkit"> + <meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'"> + <meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'"> + <title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + <link rel="dns-prefetch" href="//img10.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img11.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css"> +';}).'</head> +<body> +'.''.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <div class="yoho-header"> + <div class="header-topwrapper clearfix"> + <div class="header-top"> + <div class="leftpart float-left"> + <span class="icon-hamburger"></span> + <a href="http://www.yohobuy.com" class="header-yoho" >YOHO!有货</a> + <ul class="yohoproducts-list"> + <li class="yohoproducts-item"> + <a href="http://www.yoho.cn" class="yohogroup" en="YOHO!" cn="集团官网">YOHO!</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoboys.com" class="yohogroup" en="YOHO!BOYS" cn="男生潮流">YOHO!BOYS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohogirls.com" class="yohogroup" en="YOHO!GIRLS" cn="女生潮流">YOHO!GIRLS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoshow.com" class="yohogroup" en="YOHO!SHOW" cn="物趣分享">YOHO!SHOW</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohood.cn" class="yohogroup" en="YO\'HOOD" cn="潮流嘉年华">YO\'HOOD</a> + </li> + </ul> + </div> + <div class="rightpart"> + <div id="loginBox" class="float-left"> + <span class="hi">Hi~</span> + <a href="http://www.yohobuy.com/signin.html" class="loginbar">[请登录]</a> + <a href="http://www.yohobuy.com/reg.html" class="registbar">[免费注册]</a> + </div> + <div class="tag-list-wrapper"> + <ul class="tag-list"> + <li class="tag-item myyoho" id="myYohoBox"> + <span class="tag-seprate"></span> + <a href="http://www.yohobuy.com/home?t=1453340799.4986">MY有货</a> + <span class="icon-bottomarrow"></span> + <div class="myyoho-info"></div> + </li> + <li class="tag-item myorder"> + <span class="tag-seprate"></span> + <span class="icon-papers"></span> + <a href="http://www.yohobuy.com/home/orders?t=1453168898.0176">我的订单</a> + </li> + <li class="tag-item mycollect"> + <span class="tag-seprate"></span> + <span class="icon-heart"></span> + <a href="http://www.yohobuy.com/home/favorite?t=1453168898.0176">我的收藏</a> + </li> + <li class="tag-item message"> + <span class="tag-seprate"></span> + <span class="icon-mail"></span> + <a href="http://www.yohobuy.com/home/message?t=1453168898.0176">消息</a> + </li> + <li class="tag-item phone"> + <span class="tag-seprate"></span> + <span class="icon-iphone"></span> + <a href="http://www.yohobuy.com/download/app">手机版</a> + <div class="qr"> + <div class="qr-img"></div> + <h3 class="qr-words">扫描二维码</h3> + <h3 class="qr-words">下载有货手机客户端</h3> + <h3 class="qr-more"> + <a href="http://www.yohobuy.com/download/app">更多客户端下载</a> + </h3> + </div> + </li> + </ul> + </div> + </div> + </div> + </div> + <div class="header-navwrapper clearfix"> + <div class="header-navcontent"> + <ul class="first-nav-list float-left"> +'.Plugin\LCRun3::debug('[navbars]', 'sec', $cx, Plugin\LCRun3::debug('[navbars]', 'v', $cx, $in, array('navbars')), $in, false, function($cx, $in) {return ' <li class="first-nav-item '.Plugin\LCRun3::debug('[classname]', 'encq', $cx, Plugin\LCRun3::debug('[classname]', 'v', $cx, $in, array('classname'))).'"> + <h3 class="name-cn"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_cn]', 'encq', $cx, Plugin\LCRun3::debug('[name_cn]', 'v', $cx, $in, array('name_cn'))).'</a> + </h3> + <h3 class="name-en"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_en]', 'encq', $cx, Plugin\LCRun3::debug('[name_en]', 'v', $cx, $in, array('name_en'))).'</a> + </h3> + <div class=\'sub-nav-wrapper\'> + <ul class="sub-nav-list"> +'.Plugin\LCRun3::debug('[subnav]', 'sec', $cx, Plugin\LCRun3::debug('[subnav]', 'v', $cx, $in, array('subnav')), $in, false, function($cx, $in) {return ' <li class="sub-nav-item"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [is_new]', 'ifv', $cx, Plugin\LCRun3::debug('[is_new]', 'v', $cx, $in, array('is_new')), $in, function($cx, $in) {return ' <span class="newlogo"></span> +';}).' </a> +'.Plugin\LCRun3::debug('if [thirdnav]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, function($cx, $in) {return ' <div class="third-nav-wrapper"> + <div class="third-nav"> + <div class="categorywrapper" id="category'.Plugin\LCRun3::debug('../[index_main]', 'encq', $cx, Plugin\LCRun3::debug('../[index_main]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('index_main'))).''.Plugin\LCRun3::debug('[index_sub]', 'encq', $cx, Plugin\LCRun3::debug('[index_sub]', 'v', $cx, $in, array('index_sub'))).'"> + <div class="category"> +'.Plugin\LCRun3::debug('[thirdnav]', 'sec', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, false, function($cx, $in) {return ' <div class="thirdnavlist"> + <h1 class="category-title thirdnavbar"><a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</a> </h1> + <ul class="category-list"> +'.Plugin\LCRun3::debug('[branditems]', 'sec', $cx, Plugin\LCRun3::debug('[branditems]', 'v', $cx, $in, array('branditems')), $in, false, function($cx, $in) {return ' <li class="category- + item thirdnavbar"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'" hot='.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).' >'.Plugin\LCRun3::debug('[brandname]', 'encq', $cx, Plugin\LCRun3::debug('[brandname]', 'v', $cx, $in, array('brandname'))).'</a> + </li> +';}).' </ul> + </div> +';}).' </div> + </div> + <div class="showdetail" data-code="'.Plugin\LCRun3::debug('[content_code]', 'encq', $cx, Plugin\LCRun3::debug('[content_code]', 'v', $cx, $in, array('content_code'))).'"> + <a href="http://list.yohobuy.com/?gender=1,3&msort=8"> + <img src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="" style=""></a> + <a class="title" href="http://list.yohobuy.com/?gender=1,3&msort=8">热门小物优选</a> + </div> + </div> + </div> +';}).' </li> +';}).' </ul> + </div> + </li> +';}).' </ul> + <div class="icon-logo"><a href="http://www.yohobuy.com/" class="main-link"></a></div> + <div class="header-tool float-right"> + <div class="search float-left '.Plugin\LCRun3::debug('[searchcate]', 'encq', $cx, Plugin\LCRun3::debug('[searchcate]', 'v', $cx, $in, array('searchcate'))).'" > + <form action="http://search.yohobuy.com" method="get" id="searchForm"> + <span class="searchspan"> + <input type="hidden" id="defaultsearch"> + <input class="searchinput" type="text" name="query" id="query_key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value=\'\';this.style.color=\'#333\'}" onblur="if(this.value==\'\'){this.value=this.defaultValue;this.style.color=\'#999\'}" maxlength="30"></span> + <a class="icon-search" href="javascript:submitSearch();"></a> + <ul class="search-list"></ul> + </form> + </div> + <div class="gobuy float-left '.Plugin\LCRun3::debug('[gobytype]', 'encq', $cx, Plugin\LCRun3::debug('[gobytype]', 'v', $cx, $in, array('gobytype'))).'" id="miniCartBox"> + + <span class="ic-infomation">0</span> + <div class="gobuy-wrapper"></div> + + </div> + </div> + </div> + </div> + </div> + <div id="goodcartempwarpper"> + <script type="text/html" id="mini-cart-tpl"> + \\{\\{#carData\\}\\} + <div class="gobuy-notempty"> + <div class="goods-list-wrapper"> + <ul class="goods-list"> + \\{\\{#main_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img" /> + </a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/main_goods\\}\\} + \\{\\{#advance_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/advance_goods\\}\\} + \\{\\{# outlet_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/outlet_goods\\}\\} + \\{\\{#gift_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/gift_goods\\}\\} + \\{\\{#need_pay_gifts\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/need_pay_gifts\\}\\} + </ul> + <ul class="activity-list"> + {{#if has_promotion\\}\\} + <li class="activity-item"> + <span class="activity-name">活动</span> + <h3 class="activity-content"> + \\{\\{#if fit_outlet_promotion \\}\\}购outlet商品,满¥1999再享9折 + \\{\\{/if\\}\\} + \\{\\{#if has_other_promotion\\}\\} + <span class="mycart_i_down" title="更多" ></span> + \\{\\{/if\\}\\} + \\{\\{#if has_first_promotion\\}\\} + \\{\\{first_promotions.promotion_title\\}\\} + \\{\\{/if\\}\\} + </h3> + </li> + \\{\\{/if\\}\\} + \\{\\{#if fit_free_shipping \\}\\} + <li class="activity-item"> + <span class="activity-name">免运费</span> + <h3 class="activity-content">全场满 ¥\\{\\{fit_free_shipping\\}\\}免运费</h3> + </li> + \\{\\{/if\\}\\} + </ul> + </div> + <div class="gobuy-notempty-footer"> + <h3> + <a href="http://www.yohobuy.com/shopping/cart">去购物车结算</a> + </h3> + </div> + \\{\\{/carData\\}\\} + </script> + <script type="text/html" id="tmpl-my-login-new"> + <div class="myyoho-info-header clearfix"> + <div class="myyoho-photo" ><img src="\\{\\{headerimg head_ico\\}\\}" alt="" data-url =""></div> + <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\\{\\{random\\}\\}">\\{\\{profile_name\\}\\}</a></h3> + <h3 class="user-level"> + VIP: + <span class="leveldetail">\\{\\{vip.curVipInfo.title\\}\\}</span> + </h3> + \\{\\{#unless vip3 \\}\\} + <div class="levelinfo"> + <div class="levelwrapper float-left"> + <div class="levelspan"> + \\{\\{vip.curYearCost\\}\\}/\\{\\{vip.nextVipInfo.needCost\\}\\} + </div> + <p class="\\{\\{#if vip.curYearCostPer\\}\\}integrate\\{\\{/if\\}\\}" style="width: \\{\\{vip.curYearCostPer\\}\\}%;"></p> + </div> + <span class="cardcate float-left">\\{\\{vip.nextVipInfo.title\\}\\}</span> + </div> + \\{\\{/unless\\}\\} + </div> + <ul class="myyoho-info-content"> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/orders?t=\\{\\{timestamp\\}\\}">待处理的订单</a> + </span> + <span class="itemnum float-right">\\{\\{orderCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/favorite?t=\\{\\{timestamp\\}\\}">我的收藏</a> + </span> + <span class="itemnum float-right"></span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/coupons?t=\\{\\{timestamp\\}\\}">我的优惠券</a> + </span> + <span class="itemnum float-right">\\{\\{couponCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/currency?t=\\{\\{timestamp\\}\\}">我的YOHO币</a> + </span> + <span class="itemnum float-right">\\{\\{YohocoinCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/returns?t=\\{\\{timestamp\\}\\}">我的退货换货</a> + </span> + <span class="itemnum float-right">\\{\\{refundCount\\}\\}</span> + </li> + </ul> + <div class="myyoho-info-footer"> + <a href="http://www.yohobuy.com/home/user?t=\\{\\{timestamp\\}\\}">完善资料</a> + </div> + </script> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +';}).' +'.' '.''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return '<div class="simple-header"> + <div class="header-inner clearfix"> +'.Plugin\LCRun3::debug('[logo]', 'sec', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo')), $in, false, function($cx, $in) {return ' <h1 class="logo"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'"> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </h1> +';}).' <ul class="header-tool clearfix"> +'.Plugin\LCRun3::debug('[tool]', 'sec', $cx, Plugin\LCRun3::debug('[tool]', 'v', $cx, $in, array('tool')), $in, false, function($cx, $in) {return ' <li> + <span>Hi~</span> +'.Plugin\LCRun3::debug('[user]', 'sec', $cx, Plugin\LCRun3::debug('[user]', 'v', $cx, $in, array('user')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</a> +';}).' +'.Plugin\LCRun3::debug('[loginHref]', 'sec', $cx, Plugin\LCRun3::debug('[loginHref]', 'v', $cx, $in, array('loginHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[请登录]</a> +';}).' +'.Plugin\LCRun3::debug('[logoutHref]', 'sec', $cx, Plugin\LCRun3::debug('[logoutHref]', 'v', $cx, $in, array('logoutHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[退出]</a> +';}).' +'.Plugin\LCRun3::debug('[registerHref]', 'sec', $cx, Plugin\LCRun3::debug('[registerHref]', 'v', $cx, $in, array('registerHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[免费注册]</a> +';}).' </li> + <li class="tool-options"> + <span><a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">MY有货</a></span> + <i class="options-icon down iconfont"></i> + <i class="options-icon up iconfont"></i> + <div class="tool-select"> + <a href="'.Plugin\LCRun3::debug('[favoriteHref]', 'encq', $cx, Plugin\LCRun3::debug('[favoriteHref]', 'v', $cx, $in, array('favoriteHref'))).'">我的收藏</a> + <a href="'.Plugin\LCRun3::debug('[couponHref]', 'encq', $cx, Plugin\LCRun3::debug('[couponHref]', 'v', $cx, $in, array('couponHref'))).'">优惠券</a> + </div> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[orderHref]', 'encq', $cx, Plugin\LCRun3::debug('[orderHref]', 'v', $cx, $in, array('orderHref'))).'">订单中心</a> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[helpHref]', 'encq', $cx, Plugin\LCRun3::debug('[helpHref]', 'v', $cx, $in, array('helpHref'))).'">帮助中心</a> + </li> + <li> + <i class="tell-icon iconfont"></i> + <span>400-9889-9646</span> + </li> +';}).' </ul> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +</div> +';}).''.''.'<div class="home-page yoho-page kids" data-page="kids"> +'.Plugin\LCRun3::debug('[kids]', 'sec', $cx, Plugin\LCRun3::debug('[kids]', 'v', $cx, $in, array('kids')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('[slide]', 'sec', $cx, Plugin\LCRun3::debug('[slide]', 'v', $cx, $in, array('slide')), $in, false, function($cx, $in) {return ''.' <div class="slide-container '.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return 'slide-thumb-container';}).'"> + <div class="slide-wrapper"> + <ul> +'.Plugin\LCRun3::debug('[list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li style="'.Plugin\LCRun3::debug('if [bgColor]', 'ifv', $cx, Plugin\LCRun3::debug('[bgColor]', 'v', $cx, $in, array('bgColor')), $in, function($cx, $in) {return 'background:'.Plugin\LCRun3::debug('[bgColor]', 'encq', $cx, Plugin\LCRun3::debug('[bgColor]', 'v', $cx, $in, array('bgColor'))).'';}).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"> +'.Plugin\LCRun3::debug('if @[first]', 'ifv', $cx, Plugin\LCRun3::debug('@[first]', 'v', $cx, $cx['sp_vars'], array('first')), $in, function($cx, $in) {return ' <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"> +';}, function($cx, $in) {return ' <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> +';}).' </a> +'.Plugin\LCRun3::debug('[tips]', 'sec', $cx, Plugin\LCRun3::debug('[tips]', 'v', $cx, $in, array('tips')), $in, false, function($cx, $in) {return ' <div class="slide-tips"> + <div class="g-mark"></div> + <p>'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p> + </div> +';}).' </li> +';}).' </ul> + </div> + +'.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return ' <div class="thumb-pagination"> + <ul class="clearfix"> +'.Plugin\LCRun3::debug('[pagination]', 'sec', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, false, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target="_blank"></a> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </li> +';}).' </ul> + </div> +';}).' </div> + <div class="slide-container-placeholder '.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return 'slide-thumb-container-placeholder';}).'"></div> +'.'';}).' +'.Plugin\LCRun3::debug('[preferenceBrands]', 'sec', $cx, Plugin\LCRun3::debug('[preferenceBrands]', 'v', $cx, $in, array('preferenceBrands')), $in, false, function($cx, $in) {return ''.''.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="preference-brand imgopacity"> + <div class="img-slider-wrapper clearfix" style="background-color:'.Plugin\LCRun3::debug('[sliderColor]', 'encq', $cx, Plugin\LCRun3::debug('[sliderColor]', 'v', $cx, $in, array('sliderColor'))).';"> + <div class="img-brand-switch"> + <a class="prev iconfont" href="javascript:;"></a> + <a class="next iconfont" href="javascript:;"></a> + </div> + <div class="img-container-landscape"> + <ul class="img-list"> +'.Plugin\LCRun3::debug('[imgBrand]', 'sec', $cx, Plugin\LCRun3::debug('[imgBrand]', 'v', $cx, $in, array('imgBrand')), $in, false, function($cx, $in) {return ' <li class="img-item"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"> <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt="'.Plugin\LCRun3::debug('[alt]', 'encq', $cx, Plugin\LCRun3::debug('[alt]', 'v', $cx, $in, array('alt'))).'"></a> + </li> +';}).' </ul> + </div> + </div> + <div class="logo-brand " data-url="'.Plugin\LCRun3::debug('[brandUrl]', 'encq', $cx, Plugin\LCRun3::debug('[brandUrl]', 'v', $cx, $in, array('brandUrl'))).'"> + </div> + </div>'.'';}).' +'.Plugin\LCRun3::debug('[recommend]', 'sec', $cx, Plugin\LCRun3::debug('[recommend]', 'v', $cx, $in, array('recommend')), $in, false, function($cx, $in) {return ''.''.Plugin\LCRun3::debug('[tplrecommend]', 'sec', $cx, Plugin\LCRun3::debug('[tplrecommend]', 'v', $cx, $in, array('tplrecommend')), $in, false, function($cx, $in) {return ' <div class="tpl-recommend clearfix"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="tpl-body clearfix"> + <div class="tpl-nav"> + <div class="tpl-keywords"> +'.Plugin\LCRun3::debug('each [keyword]', 'sec', $cx, Plugin\LCRun3::debug('[keyword]', 'v', $cx, $in, array('keyword')), $in, true, function($cx, $in) {return ' <a class="keywords'.Plugin\LCRun3::debug('@[index]', 'encq', $cx, Plugin\LCRun3::debug('@[index]', 'v', $cx, $cx['sp_vars'], array('index'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a> +';}).' </div> + <div class="tpl-category clearfix"> +'.Plugin\LCRun3::debug('each [category]', 'sec', $cx, Plugin\LCRun3::debug('[category]', 'v', $cx, $in, array('category')), $in, true, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}).' </div> + </div> + <div class="tpl-brands imgopacity clearfix"> +'.Plugin\LCRun3::debug('each [brands]', 'sec', $cx, Plugin\LCRun3::debug('[brands]', 'v', $cx, $in, array('brands')), $in, true, function($cx, $in) {return ' <a title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a> +';}).' </div> + <div class="tpl-types imgopacity clearfix"> + <ul> +'.Plugin\LCRun3::debug('each [types]', 'sec', $cx, Plugin\LCRun3::debug('[types]', 'v', $cx, $in, array('types')), $in, true, function($cx, $in) {return ' <li><a title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a></li> +';}).' </ul> + </div> + </div> + </div> + ';}).''.'';}).' +'.Plugin\LCRun3::debug('[singlehot]', 'sec', $cx, Plugin\LCRun3::debug('[singlehot]', 'v', $cx, $in, array('singlehot')), $in, false, function($cx, $in) {return ''.' <div class="commodity clearfix"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="commodity-list"> + <ul class="g-list imgopacity clearfix"> +'.Plugin\LCRun3::debug('each [imgHot]', 'sec', $cx, Plugin\LCRun3::debug('[imgHot]', 'v', $cx, $in, array('imgHot')), $in, true, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><div class="commodity-img"> +'.Plugin\LCRun3::debug('[tip]', 'sec', $cx, Plugin\LCRun3::debug('[tip]', 'v', $cx, $in, array('tip')), $in, false, function($cx, $in) {return ' <i class="top">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</i> +';}).' <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></div> + <p class="commodity-name">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</p> + <p class="commodity-price"><span>¥'.Plugin\LCRun3::debug('[price]', 'encq', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price'))).'</span></p> + </a> + </li> +';}).' </ul> + </div> + <div class="commodity-brands imgopacity clearfix"> +'.Plugin\LCRun3::debug('each [brands]', 'sec', $cx, Plugin\LCRun3::debug('[brands]', 'v', $cx, $in, array('brands')), $in, true, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a> +';}).' </div> + </div> +'.'';}).' +'.Plugin\LCRun3::debug('[girlkids]', 'sec', $cx, Plugin\LCRun3::debug('[girlkids]', 'v', $cx, $in, array('girlkids')), $in, false, function($cx, $in) {return ''.' <div class="commodity clearfix"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="commodity-list"> + <ul class="g-list imgopacity clearfix"> +'.Plugin\LCRun3::debug('each [imgHot]', 'sec', $cx, Plugin\LCRun3::debug('[imgHot]', 'v', $cx, $in, array('imgHot')), $in, true, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><div class="commodity-img"> +'.Plugin\LCRun3::debug('[tip]', 'sec', $cx, Plugin\LCRun3::debug('[tip]', 'v', $cx, $in, array('tip')), $in, false, function($cx, $in) {return ' <i class="top">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</i> +';}).' <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></div> + <p class="commodity-name">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</p> + <p class="commodity-price"><span>¥'.Plugin\LCRun3::debug('[price]', 'encq', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price'))).'</span></p> + </a> + </li> +';}).' </ul> + </div> + <div class="commodity-brands imgopacity clearfix"> +'.Plugin\LCRun3::debug('each [brands]', 'sec', $cx, Plugin\LCRun3::debug('[brands]', 'v', $cx, $in, array('brands')), $in, true, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a> +';}).' </div> + </div> +'.'';}).' + +'.Plugin\LCRun3::debug('[newArrivls]', 'sec', $cx, Plugin\LCRun3::debug('[newArrivls]', 'v', $cx, $in, array('newArrivls')), $in, false, function($cx, $in) {return ''.' <div class="commodity clearfix" id="newarrivals"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' + <div class="goods-container clearfix"> + </div> + <div class="loading"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">Loading...</a> + </div> + </div>'.'';}).'';}).'</div> +'.''.' <div class="yoho-footer"> +'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> + <div class="index-foot"> + <dl class="center-content clearfix"> + <dd> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>有货SERVICES</span> + </div> + </div> + <div id="foot-services"> + <ul class="two-dim clearfix"> + <li class="left"> + <img class="dim-img lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png"> + <p>YOHO!有货</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg"> + <p>微信</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png"> + <p>微博</p> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur" key="0"></span> + </p> + </dd> + <dd> + <div id="feed-back-box-list" class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>意见反馈</span> + </div> + </div> + <ul class="vote clearfix"> + <li key="0"> + <form class="feed-back-form" action="#"> + <div>您喜欢有货的新版吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="33">非常喜欢 + </p> + <p> + <input type="radio" name="solution" value="34">喜欢 + </p> + <p> + <input type="radio" name="solution" value="35">一般般 + </p> + <p> + <input type="radio" name="solution" value="36">不喜欢 + </p> + <p> + <input type="radio" name="solution" value="37">非常不喜欢 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" name="question_id" value="38"> + <input class="feedback-id" type="hidden" name="feedback_id" value="5"> + </form> + </li> + <li class="hide" key="1"> + <form class="feed-back-form" action="#"> + <div>您可以方便的找到想查看的内容吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="38">非常方便 + </p> + <p> + <input type="radio" name="solution" value="39">方便 + </p> + <p> + <input type="radio" name="solution" value="40">一般般 + </p> + <p> + <input type="radio" name="solution" value="41">不方便 + </p> + <p> + <input type="radio" name="solution" value="42">非常不方便 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="39"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + <li class="hide" key="2"> + <form class="feed-back-form" action="#"> + <div>您对新版还有哪些意见或建议?</div> + <textarea name="answer" id="feedback-answer" class="feedback-answer"></textarea> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="37"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + </ul> + </div> + <p id="feed-back-page" class="item-nav center"> + <span class="iconfont cur"></span> + <span class="iconfont "></span> + <span class="iconfont "></span> + </p> + </dd> + <dd class="last"> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>更多 YOHO!产品</span> + </div> + </div> + <div id="foot-mobile"> + <ul class="mobile clearfix"> + <li> + <a href="http://app.yohoshow.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg"> + </a> + </li> + <li> + <a href="http://www.yohoboys.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg"> + </a> + </li> + <li> + <a href="http://www.yohogirls.com/" target="_blank"> + <img class="lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg"> + </a> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur"></span> + </p> + </dd> + </dl> + </div> + </div> +';}).' <div class="footerbottom"> + <div class="promise"> + <div class="center-content clearfix"> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">100%</span> + <span class="rgbf">品牌授权正品</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">7天</span> + <span class="rgbf">无理由退换货</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="rgbf">客服电话:</span> + <span class="red">400-889-9646</span> + + <span class="rgb9">08:00-22:30(周一至周日)</span> + + <span> + <a class="red" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank">在线客服</a> + </span> + </div> + <div class="right subscribe footer-right"> + <input id="subscriber-box" class="rgb6 top" name="subscriberBox"value="订阅我们的邮件"> + <a id="subscriber-btn" href="javascript:void(0);" class="iconfont rgbf"></a> + </div> + </div> + </div> + <div class="footer-help"> + <div class="center-content clearfix"> + <div class="left"> + <ul class="clearfix"> + <li class="left"> + <p> + <span>新手指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a> + </p> + </li> + <li class="left"> + <p> + <span>会员中心</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=87" target="_blank">YOHO币</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a> + </p> + </li> + <li class="left"> + <p> + <span>购物指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=99" target="_blank">发票</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a> + </p> + </li> + <li class="left"> + <p> + <span>支付方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=111" target="_blank">YOHO币支付</a> + </p> + </li> + <li class="left"> + <p> + <span>配送方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a> + </p> + </li> + <li class="left"> + <p> + <span>售后服务</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a> + </p> + </li> + <li class="left"> + <p> + <span>APP常见问题</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a> + </p> + </li> + </ul> + </div> + </div> + </div> + <div class="footer-link"> + <div class="center-content clearfix"> + <div class="left right-flag"> + <a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&ct=df&a=1&pa=0.5902942178957805" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/credit-flag3.png"> + </a> + <a href="http://www.isc.org.cn/" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/isc2.png"> + </a> + </div> + <div class="left about-us"> + <p> + <a href="http://www.yohobuy.com">返回首页</a> + <span>|</span> + <a href="http://www.yohobuy.com">YOHO!有货</a> + <span>|</span> + <a href="http://www.yohobuy.com/newpower.html">新力传媒</a> + <span>|</span> + <a href="http://www.yohobuy.com/contact.html">联系我们</a> + <span>|</span> + <a href="http://shop.yohobuy.com/settled">商家入驻</a> + <span>|</span> + <a href="http://www.yohobuy.com/privacy.html">隐私条款</a> + <span>|</span> + <a href="http://www.yohobuy.com/link.html">友情链接</a> + </p> + <p> + CopyRight © 2007-2016 南京新与力文化传播有限公司 + <a class="rbg6" href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备09011225号</a> + NewPower Co. 版权所有 经营许可证编号:苏B2-20120395 + </p> + </div> + + </div> + </div> + </div> + <div class="return-top hide"> + <span class="iconfont"></span> + </div> + </div>'.''.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <script src="http://localhost:8001/static/js/sea.js?nowrap"></script> + <script> + seajs.config({ + base: \'http://localhost:8001/\' + }); + </script> +';}).''.' <script> + seajs.use(\'js/common\'); + </script> +'.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/header\'); + </script> +';}).''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/simple-header\'); + </script> +';}).''.Plugin\LCRun3::debug('if [boysHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/index/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [searchListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[searchListPage]', 'v', $cx, $in, array('searchListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(5); + window.onresize = function () { + setTimeout(function () { + product.init(5); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [brandPage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productListPage]', 'v', $cx, $in, array('productListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productDetailPage]', 'v', $cx, $in, array('productDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/item\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangIndexPage]', 'v', $cx, $in, array('guangIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangDetailPage]', 'v', $cx, $in, array('guangDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/detail\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangListPage]', 'v', $cx, $in, array('guangListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/list\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleIndexPage]', 'v', $cx, $in, array('saleIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/sale/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleListPage]', 'v', $cx, $in, array('saleListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [saleCatPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleCatPage]', 'v', $cx, $in, array('saleCatPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [loginPage]', 'ifv', $cx, Plugin\LCRun3::debug('[loginPage]', 'v', $cx, $in, array('loginPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/login\'); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdLogin]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdLogin]', 'v', $cx, $in, array('thirdLogin')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/thirdlogin\'); + </script> +';}).''.Plugin\LCRun3::debug('if [enablePerfectInformation]', 'ifv', $cx, Plugin\LCRun3::debug('[enablePerfectInformation]', 'v', $cx, $in, array('enablePerfectInformation')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/third-pwd\'); + </script> +';}).''.Plugin\LCRun3::debug('if [registerPage]', 'ifv', $cx, Plugin\LCRun3::debug('[registerPage]', 'v', $cx, $in, array('registerPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'reg\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdPage]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdPage]', 'v', $cx, $in, array('thirdPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'third\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [backPage]', 'ifv', $cx, Plugin\LCRun3::debug('[backPage]', 'v', $cx, $in, array('backPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/back\'); + </script> +';}).''.Plugin\LCRun3::debug('if [resetPage]', 'ifv', $cx, Plugin\LCRun3::debug('[resetPage]', 'v', $cx, $in, array('resetPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reset\'); + </script> +';}).''.Plugin\LCRun3::debug('if [vertificationPage]', 'ifv', $cx, Plugin\LCRun3::debug('[vertificationPage]', 'v', $cx, $in, array('vertificationPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/vertification\'); + </script> +';}).''.Plugin\LCRun3::debug('if [hotrankPage]', 'ifv', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/hotrank\'); + </script> +';}).''.Plugin\LCRun3::debug('if [brandsHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandsHomePage]', 'v', $cx, $in, array('brandsHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/brand/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [orderEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/order/ensure\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meIndexPage]', 'v', $cx, $in, array('meIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/index\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meOrdersPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meOrdersPage]', 'v', $cx, $in, array('meOrdersPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/orders\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meFavoritePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meFavoritePage]', 'v', $cx, $in, array('meFavoritePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/favorite\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meReturnsPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meReturnsPage]', 'v', $cx, $in, array('meReturnsPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/returns\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meCommentPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meCommentPage]', 'v', $cx, $in, array('meCommentPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/comment\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meEditPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meEditPage]', 'v', $cx, $in, array('meEditPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/edit\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meGiftPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meGiftPage]', 'v', $cx, $in, array('meGiftPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/gift\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meValidatePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meValidatePage]', 'v', $cx, $in, array('meValidatePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/validate\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meAddressPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meAddressPage]', 'v', $cx, $in, array('meAddressPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/address\'); + seajs.use(\'js/home/common-address\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [cartEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[cartEnsurePage]', 'v', $cx, $in, array('cartEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/cart/cart\'); + </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 || []; + var _gaq = _gaq || []; + (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() { + _gaq.push([\'_setAccount\', \'UA-48997038-32\']); + _gaq.push([\'_trackPageview\']); + var ga = document.createElement(\'script\'); + ga.type = \'text/javascript\'; ga.async = true; + ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\'; + var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s); + })(); + (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); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.criteo.net/js/ld/ld.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + var u = _ozuid || ""; + u = (u == 0) ? "" : u; + window.criteo_q = window.criteo_q || []; + window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" }); + })(); + } + if (window.addEventListener) { + window.addEventListener(\'load\', async_load, false); + } else if (window.attachEvent) { + window.attachEvent(\'onload\', async_load); + } + })(); + </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/js/v3/o_code.js?v=20150420" async="async"></script> +'.' </body> +</html> +'.''; +} +?> \ No newline at end of file diff --git a/compile/www.yohobuy.com/0.0.9/7ec5ce955349829ec6109190bf1e5fa2.php b/compile/www.yohobuy.com/0.0.9/7ec5ce955349829ec6109190bf1e5fa2.php new file mode 100644 index 0000000..e8271e1 --- /dev/null +++ b/compile/www.yohobuy.com/0.0.9/7ec5ce955349829ec6109190bf1e5fa2.php @@ -0,0 +1,1507 @@ +<?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="X-UA-Compatible" content="IE=edge,chrome=1" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Cache-Control" content="no-siteapp" /> + <meta name="renderer" content="webkit"> + <meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'"> + <meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'"> + <title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + <link rel="dns-prefetch" href="//img10.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img11.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css"> +';}).'</head> +<body> +'.''.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <div class="yoho-header"> + <div class="header-topwrapper clearfix"> + <div class="header-top"> + <div class="leftpart float-left"> + <span class="icon-hamburger"></span> + <a href="http://www.yohobuy.com" class="header-yoho" >YOHO!有货</a> + <ul class="yohoproducts-list"> + <li class="yohoproducts-item"> + <a href="http://www.yoho.cn" class="yohogroup" en="YOHO!" cn="集团官网">YOHO!</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoboys.com" class="yohogroup" en="YOHO!BOYS" cn="男生潮流">YOHO!BOYS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohogirls.com" class="yohogroup" en="YOHO!GIRLS" cn="女生潮流">YOHO!GIRLS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoshow.com" class="yohogroup" en="YOHO!SHOW" cn="物趣分享">YOHO!SHOW</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohood.cn" class="yohogroup" en="YO\'HOOD" cn="潮流嘉年华">YO\'HOOD</a> + </li> + </ul> + </div> + <div class="rightpart"> + <div id="loginBox" class="float-left"> + <span class="hi">Hi~</span> + <a href="http://www.yohobuy.com/signin.html" class="loginbar">[请登录]</a> + <a href="http://www.yohobuy.com/reg.html" class="registbar">[免费注册]</a> + </div> + <div class="tag-list-wrapper"> + <ul class="tag-list"> + <li class="tag-item myyoho" id="myYohoBox"> + <span class="tag-seprate"></span> + <a href="http://www.yohobuy.com/home?t=1453340799.4986">MY有货</a> + <span class="icon-bottomarrow"></span> + <div class="myyoho-info"></div> + </li> + <li class="tag-item myorder"> + <span class="tag-seprate"></span> + <span class="icon-papers"></span> + <a href="http://www.yohobuy.com/home/orders?t=1453168898.0176">我的订单</a> + </li> + <li class="tag-item mycollect"> + <span class="tag-seprate"></span> + <span class="icon-heart"></span> + <a href="http://www.yohobuy.com/home/favorite?t=1453168898.0176">我的收藏</a> + </li> + <li class="tag-item message"> + <span class="tag-seprate"></span> + <span class="icon-mail"></span> + <a href="http://www.yohobuy.com/home/message?t=1453168898.0176">消息</a> + </li> + <li class="tag-item phone"> + <span class="tag-seprate"></span> + <span class="icon-iphone"></span> + <a href="http://www.yohobuy.com/download/app">手机版</a> + <div class="qr"> + <div class="qr-img"></div> + <h3 class="qr-words">扫描二维码</h3> + <h3 class="qr-words">下载有货手机客户端</h3> + <h3 class="qr-more"> + <a href="http://www.yohobuy.com/download/app">更多客户端下载</a> + </h3> + </div> + </li> + </ul> + </div> + </div> + </div> + </div> + <div class="header-navwrapper clearfix"> + <div class="header-navcontent"> + <ul class="first-nav-list float-left"> +'.Plugin\LCRun3::debug('[navbars]', 'sec', $cx, Plugin\LCRun3::debug('[navbars]', 'v', $cx, $in, array('navbars')), $in, false, function($cx, $in) {return ' <li class="first-nav-item '.Plugin\LCRun3::debug('[classname]', 'encq', $cx, Plugin\LCRun3::debug('[classname]', 'v', $cx, $in, array('classname'))).'"> + <h3 class="name-cn"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_cn]', 'encq', $cx, Plugin\LCRun3::debug('[name_cn]', 'v', $cx, $in, array('name_cn'))).'</a> + </h3> + <h3 class="name-en"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_en]', 'encq', $cx, Plugin\LCRun3::debug('[name_en]', 'v', $cx, $in, array('name_en'))).'</a> + </h3> + <div class=\'sub-nav-wrapper\'> + <ul class="sub-nav-list"> +'.Plugin\LCRun3::debug('[subnav]', 'sec', $cx, Plugin\LCRun3::debug('[subnav]', 'v', $cx, $in, array('subnav')), $in, false, function($cx, $in) {return ' <li class="sub-nav-item"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [is_new]', 'ifv', $cx, Plugin\LCRun3::debug('[is_new]', 'v', $cx, $in, array('is_new')), $in, function($cx, $in) {return ' <span class="newlogo"></span> +';}).' </a> +'.Plugin\LCRun3::debug('if [thirdnav]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, function($cx, $in) {return ' <div class="third-nav-wrapper"> + <div class="third-nav"> + <div class="categorywrapper" id="category'.Plugin\LCRun3::debug('../[index_main]', 'encq', $cx, Plugin\LCRun3::debug('../[index_main]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('index_main'))).''.Plugin\LCRun3::debug('[index_sub]', 'encq', $cx, Plugin\LCRun3::debug('[index_sub]', 'v', $cx, $in, array('index_sub'))).'"> + <div class="category"> +'.Plugin\LCRun3::debug('[thirdnav]', 'sec', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, false, function($cx, $in) {return ' <div class="thirdnavlist"> + <h1 class="category-title thirdnavbar"><a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</a> </h1> + <ul class="category-list"> +'.Plugin\LCRun3::debug('[branditems]', 'sec', $cx, Plugin\LCRun3::debug('[branditems]', 'v', $cx, $in, array('branditems')), $in, false, function($cx, $in) {return ' <li class="category- + item thirdnavbar"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'" hot='.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).' >'.Plugin\LCRun3::debug('[brandname]', 'encq', $cx, Plugin\LCRun3::debug('[brandname]', 'v', $cx, $in, array('brandname'))).'</a> + </li> +';}).' </ul> + </div> +';}).' </div> + </div> + <div class="showdetail" data-code="'.Plugin\LCRun3::debug('[content_code]', 'encq', $cx, Plugin\LCRun3::debug('[content_code]', 'v', $cx, $in, array('content_code'))).'"> + <a href="http://list.yohobuy.com/?gender=1,3&msort=8"> + <img src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="" style=""></a> + <a class="title" href="http://list.yohobuy.com/?gender=1,3&msort=8">热门小物优选</a> + </div> + </div> + </div> +';}).' </li> +';}).' </ul> + </div> + </li> +';}).' </ul> + <div class="icon-logo"><a href="http://www.yohobuy.com/" class="main-link"></a></div> + <div class="header-tool float-right"> + <div class="search float-left '.Plugin\LCRun3::debug('[searchcate]', 'encq', $cx, Plugin\LCRun3::debug('[searchcate]', 'v', $cx, $in, array('searchcate'))).'" > + <form action="http://search.yohobuy.com" method="get" id="searchForm"> + <span class="searchspan"> + <input type="hidden" id="defaultsearch"> + <input class="searchinput" type="text" name="query" id="query_key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value=\'\';this.style.color=\'#333\'}" onblur="if(this.value==\'\'){this.value=this.defaultValue;this.style.color=\'#999\'}" maxlength="30"></span> + <a class="icon-search" href="javascript:submitSearch();"></a> + <ul class="search-list"></ul> + </form> + </div> + <div class="gobuy float-left '.Plugin\LCRun3::debug('[gobytype]', 'encq', $cx, Plugin\LCRun3::debug('[gobytype]', 'v', $cx, $in, array('gobytype'))).'" id="miniCartBox"> + + <span class="ic-infomation">0</span> + <div class="gobuy-wrapper"></div> + + </div> + </div> + </div> + </div> + </div> + <div id="goodcartempwarpper"> + <script type="text/html" id="mini-cart-tpl"> + \\{\\{#carData\\}\\} + <div class="gobuy-notempty"> + <div class="goods-list-wrapper"> + <ul class="goods-list"> + \\{\\{#main_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img" /> + </a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/main_goods\\}\\} + \\{\\{#advance_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/advance_goods\\}\\} + \\{\\{# outlet_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/outlet_goods\\}\\} + \\{\\{#gift_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/gift_goods\\}\\} + \\{\\{#need_pay_gifts\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/need_pay_gifts\\}\\} + </ul> + <ul class="activity-list"> + {{#if has_promotion\\}\\} + <li class="activity-item"> + <span class="activity-name">活动</span> + <h3 class="activity-content"> + \\{\\{#if fit_outlet_promotion \\}\\}购outlet商品,满¥1999再享9折 + \\{\\{/if\\}\\} + \\{\\{#if has_other_promotion\\}\\} + <span class="mycart_i_down" title="更多" ></span> + \\{\\{/if\\}\\} + \\{\\{#if has_first_promotion\\}\\} + \\{\\{first_promotions.promotion_title\\}\\} + \\{\\{/if\\}\\} + </h3> + </li> + \\{\\{/if\\}\\} + \\{\\{#if fit_free_shipping \\}\\} + <li class="activity-item"> + <span class="activity-name">免运费</span> + <h3 class="activity-content">全场满 ¥\\{\\{fit_free_shipping\\}\\}免运费</h3> + </li> + \\{\\{/if\\}\\} + </ul> + </div> + <div class="gobuy-notempty-footer"> + <h3> + <a href="http://www.yohobuy.com/shopping/cart">去购物车结算</a> + </h3> + </div> + \\{\\{/carData\\}\\} + </script> + <script type="text/html" id="tmpl-my-login-new"> + <div class="myyoho-info-header clearfix"> + <div class="myyoho-photo" ><img src="\\{\\{headerimg head_ico\\}\\}" alt="" data-url =""></div> + <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\\{\\{random\\}\\}">\\{\\{profile_name\\}\\}</a></h3> + <h3 class="user-level"> + VIP: + <span class="leveldetail">\\{\\{vip.curVipInfo.title\\}\\}</span> + </h3> + \\{\\{#unless vip3 \\}\\} + <div class="levelinfo"> + <div class="levelwrapper float-left"> + <div class="levelspan"> + \\{\\{vip.curYearCost\\}\\}/\\{\\{vip.nextVipInfo.needCost\\}\\} + </div> + <p class="\\{\\{#if vip.curYearCostPer\\}\\}integrate\\{\\{/if\\}\\}" style="width: \\{\\{vip.curYearCostPer\\}\\}%;"></p> + </div> + <span class="cardcate float-left">\\{\\{vip.nextVipInfo.title\\}\\}</span> + </div> + \\{\\{/unless\\}\\} + </div> + <ul class="myyoho-info-content"> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/orders?t=\\{\\{timestamp\\}\\}">待处理的订单</a> + </span> + <span class="itemnum float-right">\\{\\{orderCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/favorite?t=\\{\\{timestamp\\}\\}">我的收藏</a> + </span> + <span class="itemnum float-right"></span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/coupons?t=\\{\\{timestamp\\}\\}">我的优惠券</a> + </span> + <span class="itemnum float-right">\\{\\{couponCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/currency?t=\\{\\{timestamp\\}\\}">我的YOHO币</a> + </span> + <span class="itemnum float-right">\\{\\{YohocoinCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/returns?t=\\{\\{timestamp\\}\\}">我的退货换货</a> + </span> + <span class="itemnum float-right">\\{\\{refundCount\\}\\}</span> + </li> + </ul> + <div class="myyoho-info-footer"> + <a href="http://www.yohobuy.com/home/user?t=\\{\\{timestamp\\}\\}">完善资料</a> + </div> + </script> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +';}).' +'.' '.''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return '<div class="simple-header"> + <div class="header-inner clearfix"> +'.Plugin\LCRun3::debug('[logo]', 'sec', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo')), $in, false, function($cx, $in) {return ' <h1 class="logo"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'"> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </h1> +';}).' <ul class="header-tool clearfix"> +'.Plugin\LCRun3::debug('[tool]', 'sec', $cx, Plugin\LCRun3::debug('[tool]', 'v', $cx, $in, array('tool')), $in, false, function($cx, $in) {return ' <li> + <span>Hi~</span> +'.Plugin\LCRun3::debug('[user]', 'sec', $cx, Plugin\LCRun3::debug('[user]', 'v', $cx, $in, array('user')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</a> +';}).' +'.Plugin\LCRun3::debug('[loginHref]', 'sec', $cx, Plugin\LCRun3::debug('[loginHref]', 'v', $cx, $in, array('loginHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[请登录]</a> +';}).' +'.Plugin\LCRun3::debug('[logoutHref]', 'sec', $cx, Plugin\LCRun3::debug('[logoutHref]', 'v', $cx, $in, array('logoutHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[退出]</a> +';}).' +'.Plugin\LCRun3::debug('[registerHref]', 'sec', $cx, Plugin\LCRun3::debug('[registerHref]', 'v', $cx, $in, array('registerHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[免费注册]</a> +';}).' </li> + <li class="tool-options"> + <span><a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">MY有货</a></span> + <i class="options-icon down iconfont"></i> + <i class="options-icon up iconfont"></i> + <div class="tool-select"> + <a href="'.Plugin\LCRun3::debug('[favoriteHref]', 'encq', $cx, Plugin\LCRun3::debug('[favoriteHref]', 'v', $cx, $in, array('favoriteHref'))).'">我的收藏</a> + <a href="'.Plugin\LCRun3::debug('[couponHref]', 'encq', $cx, Plugin\LCRun3::debug('[couponHref]', 'v', $cx, $in, array('couponHref'))).'">优惠券</a> + </div> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[orderHref]', 'encq', $cx, Plugin\LCRun3::debug('[orderHref]', 'v', $cx, $in, array('orderHref'))).'">订单中心</a> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[helpHref]', 'encq', $cx, Plugin\LCRun3::debug('[helpHref]', 'v', $cx, $in, array('helpHref'))).'">帮助中心</a> + </li> + <li> + <i class="tell-icon iconfont"></i> + <span>400-9889-9646</span> + </li> +';}).' </ul> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +</div> +';}).''.''.'<div class="product-list-page'.Plugin\LCRun3::debug('if [list].[searchPage]', 'ifv', $cx, Plugin\LCRun3::debug('[list].[searchPage]', 'v', $cx, $in, array('list','searchPage')), $in, function($cx, $in) {return ' search-page';}).' product-page yoho-page"> +'.Plugin\LCRun3::debug('[list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('[brandBanner]', 'sec', $cx, Plugin\LCRun3::debug('[brandBanner]', 'v', $cx, $in, array('brandBanner')), $in, false, function($cx, $in) {return ' <div class="brand-banner"> + <div class="banner-img" style="height: '.Plugin\LCRun3::debug('[bannerHeight]', 'encq', $cx, Plugin\LCRun3::debug('[bannerHeight]', 'v', $cx, $in, array('bannerHeight'))).'px;background: url('.Plugin\LCRun3::debug('[banner]', 'encq', $cx, Plugin\LCRun3::debug('[banner]', 'v', $cx, $in, array('banner'))).')"></div> + <div class="opt-wrap"> + <p class="opt center-content"> + <a href="'.Plugin\LCRun3::debug('[brandHome]', 'encq', $cx, Plugin\LCRun3::debug('[brandHome]', 'v', $cx, $in, array('brandHome'))).'"> + <i class="iconfont"></i> + 品牌首页 + </a> + <a href="'.Plugin\LCRun3::debug('[brandIntro]', 'encq', $cx, Plugin\LCRun3::debug('[brandIntro]', 'v', $cx, $in, array('brandIntro'))).'"> + <i class="iconfont"></i> + 品牌介绍 + </a> + <span id="brand-favor" class="brand-favor" data-id="'.Plugin\LCRun3::debug('[dataId]', 'encq', $cx, Plugin\LCRun3::debug('[dataId]', 'v', $cx, $in, array('dataId'))).'"> + <i class="iconfont'.Plugin\LCRun3::debug('if [coled]', 'ifv', $cx, Plugin\LCRun3::debug('[coled]', 'v', $cx, $in, array('coled')), $in, function($cx, $in) {return ' coled';}).'"></i> + </span> + </p> + </div> + </div> +';}).' + <div class="center-content clearfix"> +'.''.Plugin\LCRun3::debug('if [pathNav]', 'ifv', $cx, Plugin\LCRun3::debug('[pathNav]', 'v', $cx, $in, array('pathNav')), $in, function($cx, $in) {return ' <p class="path-nav"> +'.Plugin\LCRun3::debug('each [pathNav]', 'sec', $cx, Plugin\LCRun3::debug('[pathNav]', 'v', $cx, $in, array('pathNav')), $in, true, function($cx, $in) {return ''.Plugin\LCRun3::debug('if [href]', 'ifv', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href')), $in, function($cx, $in) {return ' <a '.Plugin\LCRun3::debug('if @[last]', 'ifv', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return 'class="last"';}).' href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[pathTitle]', 'encq', $cx, Plugin\LCRun3::debug('[pathTitle]', 'v', $cx, $in, array('pathTitle'))).'">'.Plugin\LCRun3::debug('[name]', 'raw', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}, function($cx, $in) {return ' <span '.Plugin\LCRun3::debug('if @[last]', 'ifv', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return 'class="last"';}).' title="'.Plugin\LCRun3::debug('[pathTitle]', 'encq', $cx, Plugin\LCRun3::debug('[pathTitle]', 'v', $cx, $in, array('pathTitle'))).'">'.Plugin\LCRun3::debug('[name]', 'raw', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</span> +';}).' +'.Plugin\LCRun3::debug('unless @[last]', 'unl', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return ' <span class="iconfont"></span> +';}).'';}).' </p> +';}).''.' +'.Plugin\LCRun3::debug('if [brandAbout]', 'ifv', $cx, Plugin\LCRun3::debug('[brandAbout]', 'v', $cx, $in, array('brandAbout')), $in, function($cx, $in) {return ' <div class="brand-about"> + '.Plugin\LCRun3::debug('[brandAbout]', 'raw', $cx, Plugin\LCRun3::debug('[brandAbout]', 'v', $cx, $in, array('brandAbout'))).' + </div> +';}, function($cx, $in) {return ' <div class="list-left pull-left"> +'.''.Plugin\LCRun3::debug('[leftContent]', 'sec', $cx, Plugin\LCRun3::debug('[leftContent]', 'v', $cx, $in, array('leftContent')), $in, false, function($cx, $in) {return ' +'.Plugin\LCRun3::debug('[allDiscount]', 'sec', $cx, Plugin\LCRun3::debug('[allDiscount]', 'v', $cx, $in, array('allDiscount')), $in, false, function($cx, $in) {return ' <div class="sort-container"> + <ul class="sort-child-list new-sale"> +'.Plugin\LCRun3::debug('each [list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, true, function($cx, $in) {return ' <li '.Plugin\LCRun3::debug('if [active]', 'ifv', $cx, Plugin\LCRun3::debug('[active]', 'v', $cx, $in, array('active')), $in, function($cx, $in) {return 'class="active"';}).'> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <span>'.Plugin\LCRun3::debug('[num]', 'encq', $cx, Plugin\LCRun3::debug('[num]', 'v', $cx, $in, array('num'))).'</span> + </a> + </li> +';}).' </ul> + </div> +';}).' +'.Plugin\LCRun3::debug('[newSales]', 'sec', $cx, Plugin\LCRun3::debug('[newSales]', 'v', $cx, $in, array('newSales')), $in, false, function($cx, $in) {return ' <div class="sort-container"> + <h2 title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'"> + 一周新品上架 + <span>'.Plugin\LCRun3::debug('[updateNum]', 'encq', $cx, Plugin\LCRun3::debug('[updateNum]', 'v', $cx, $in, array('updateNum'))).'</span> + </h2> + <ul class="sort-child-list new-sale"> +'.Plugin\LCRun3::debug('each [list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, true, function($cx, $in) {return ' <li '.Plugin\LCRun3::debug('if [active]', 'ifv', $cx, Plugin\LCRun3::debug('[active]', 'v', $cx, $in, array('active')), $in, function($cx, $in) {return 'class="active"';}).'> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <span>'.Plugin\LCRun3::debug('[num]', 'encq', $cx, Plugin\LCRun3::debug('[num]', 'v', $cx, $in, array('num'))).'</span> + </a> + </li> +';}).' </ul> + </div> +';}).' +'.Plugin\LCRun3::debug('[allSort]', 'sec', $cx, Plugin\LCRun3::debug('[allSort]', 'v', $cx, $in, array('allSort')), $in, false, function($cx, $in) {return ' <div class="sort-container"> + <ul> +'.Plugin\LCRun3::debug('[all]', 'sec', $cx, Plugin\LCRun3::debug('[all]', 'v', $cx, $in, array('all')), $in, false, function($cx, $in) {return ' <li> + <h2> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <span>'.Plugin\LCRun3::debug('[updateNum]', 'encq', $cx, Plugin\LCRun3::debug('[updateNum]', 'v', $cx, $in, array('updateNum'))).'</span> + </a> + </h2> + </li> +';}).''.Plugin\LCRun3::debug('each [list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, true, function($cx, $in) {return ' <li class="product-list-nav '.Plugin\LCRun3::debug('if [active]', 'ifv', $cx, Plugin\LCRun3::debug('[active]', 'v', $cx, $in, array('active')), $in, function($cx, $in) {return 'active';}).'"> + <h3 title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'"> + <span class="icon-triangle"></span> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <span>'.Plugin\LCRun3::debug('[num]', 'encq', $cx, Plugin\LCRun3::debug('[num]', 'v', $cx, $in, array('num'))).'</span> + </h3> + <ul class="sort-child-list"> +'.Plugin\LCRun3::debug('each [childList]', 'sec', $cx, Plugin\LCRun3::debug('[childList]', 'v', $cx, $in, array('childList')), $in, true, function($cx, $in) {return ' <li class="'.Plugin\LCRun3::debug('if [childActive]', 'ifv', $cx, Plugin\LCRun3::debug('[childActive]', 'v', $cx, $in, array('childActive')), $in, function($cx, $in) {return 'active';}).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <span>'.Plugin\LCRun3::debug('[num]', 'encq', $cx, Plugin\LCRun3::debug('[num]', 'v', $cx, $in, array('num'))).'</span> + </a> + </li> +';}).' </ul> + </li> +';}).' </ul> + </div> +';}).' +'.Plugin\LCRun3::debug('[picLink]', 'sec', $cx, Plugin\LCRun3::debug('[picLink]', 'v', $cx, $in, array('picLink')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('if [picTitle]', 'ifv', $cx, Plugin\LCRun3::debug('[picTitle]', 'v', $cx, $in, array('picTitle')), $in, function($cx, $in) {return ' <h2 class="nav-pic-title">'.Plugin\LCRun3::debug('[picTitle]', 'encq', $cx, Plugin\LCRun3::debug('[picTitle]', 'v', $cx, $in, array('picTitle'))).'</h2> +';}).' <ul class="pic-nav"> +'.Plugin\LCRun3::debug('each [list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, true, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + <img src="'.Plugin\LCRun3::debug('[src]', 'encq', $cx, Plugin\LCRun3::debug('[src]', 'v', $cx, $in, array('src'))).'"> + </a> + </li> +';}).' </ul> +';}).'';}).''.' </div> + <div class="list-right pull-right"> +'.Plugin\LCRun3::debug('[sortIntro]', 'sec', $cx, Plugin\LCRun3::debug('[sortIntro]', 'v', $cx, $in, array('sortIntro')), $in, false, function($cx, $in) {return ' <div class="sort-intro clearfix"> + <div class="texts pull-left"> + <p class="name">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</p> + <p class="en-name">'.Plugin\LCRun3::debug('[enName]', 'encq', $cx, Plugin\LCRun3::debug('[enName]', 'v', $cx, $in, array('enName'))).'</p> + <p class="desc">'.Plugin\LCRun3::debug('[description]', 'raw', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'</p> + <div class="key-entry"> +'.Plugin\LCRun3::debug('each [keyEntry]', 'sec', $cx, Plugin\LCRun3::debug('[keyEntry]', 'v', $cx, $in, array('keyEntry')), $in, true, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}).' </div> + </div> + <img class="pull-right img" src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"> + </div> +';}).' +'.''.Plugin\LCRun3::debug('[shopEntry]', 'sec', $cx, Plugin\LCRun3::debug('[shopEntry]', 'v', $cx, $in, array('shopEntry')), $in, false, function($cx, $in) {return ' <div class="shop-entry clearfix"> + <a class="pull-left" href="'.Plugin\LCRun3::debug('[home]', 'encq', $cx, Plugin\LCRun3::debug('[home]', 'v', $cx, $in, array('home'))).'"> + <img class="logo" src="'.Plugin\LCRun3::debug('[logo]', 'encq', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo'))).'"> + </a> + + <div class="name pull-left"> + <a class="shop-name" href="'.Plugin\LCRun3::debug('[home]', 'encq', $cx, Plugin\LCRun3::debug('[home]', 'v', $cx, $in, array('home'))).'">'.Plugin\LCRun3::debug('[shopName]', 'encq', $cx, Plugin\LCRun3::debug('[shopName]', 'v', $cx, $in, array('shopName'))).'</a> + <p class="sorts"> +'.Plugin\LCRun3::debug('each [sort]', 'sec', $cx, Plugin\LCRun3::debug('[sort]', 'v', $cx, $in, array('sort')), $in, true, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + +'.Plugin\LCRun3::debug('unless @[last]', 'unl', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return ' / +';}).'';}).' </p> + </div> + + <a class="entry-btn pull-right" href="'.Plugin\LCRun3::debug('[home]', 'encq', $cx, Plugin\LCRun3::debug('[home]', 'v', $cx, $in, array('home'))).'"> + 进入品牌店铺 + <span class="iconfont"></span> + </a> + </div> +';}).''.' +'.''.Plugin\LCRun3::debug('[filters]', 'sec', $cx, Plugin\LCRun3::debug('[filters]', 'v', $cx, $in, array('filters')), $in, false, function($cx, $in) {return ''.' <div class="filter-box"> +'.Plugin\LCRun3::debug('[checkedConditions]', 'sec', $cx, Plugin\LCRun3::debug('[checkedConditions]', 'v', $cx, $in, array('checkedConditions')), $in, false, function($cx, $in) {return ' <div class="checked-conditions section"> + <span class="title">已选条件:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('each [conditions]', 'sec', $cx, Plugin\LCRun3::debug('[conditions]', 'v', $cx, $in, array('conditions')), $in, true, function($cx, $in) {return ' <a class="tag" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> +'.Plugin\LCRun3::debug('if [name]', 'ifv', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name')), $in, function($cx, $in) {return ' '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +';}, function($cx, $in) {return ' <i class="color-block" style="background: '.Plugin\LCRun3::debug('[color]', 'encq', $cx, Plugin\LCRun3::debug('[color]', 'v', $cx, $in, array('color'))).'"></i> +';}).' <i class="close iconfont"></i> + </a> +';}).' + <a class="clear-checked" href="'.Plugin\LCRun3::debug('[clearUrl]', 'encq', $cx, Plugin\LCRun3::debug('[clearUrl]', 'v', $cx, $in, array('clearUrl'))).'">清空筛选条件</a> + </div> + </div> +';}).' +'.Plugin\LCRun3::debug('if [channel]', 'ifv', $cx, Plugin\LCRun3::debug('[channel]', 'v', $cx, $in, array('channel')), $in, function($cx, $in) {return ' <div class="channel section"> + <span class="title">频道:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('each [channel]', 'sec', $cx, Plugin\LCRun3::debug('[channel]', 'v', $cx, $in, array('channel')), $in, true, function($cx, $in) {return ' <a class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + </a> +';}).' </div> + </div> +';}).' +'.Plugin\LCRun3::debug('if [gender]', 'ifv', $cx, Plugin\LCRun3::debug('[gender]', 'v', $cx, $in, array('gender')), $in, function($cx, $in) {return ' <div class="channel section"> + <span class="title">性别:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('each [gender]', 'sec', $cx, Plugin\LCRun3::debug('[gender]', 'v', $cx, $in, array('gender')), $in, true, function($cx, $in) {return ' <a class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + </a> +';}).' </div> + </div> +';}).' +'.Plugin\LCRun3::debug('if [sort]', 'ifv', $cx, Plugin\LCRun3::debug('[sort]', 'v', $cx, $in, array('sort')), $in, function($cx, $in) {return ' <div class="sort section"> + <span class="title">分类:</span> + + <div class="attr-content"> + <ul class="sort-pre clearfix"> +'.Plugin\LCRun3::debug('each [sort]', 'sec', $cx, Plugin\LCRun3::debug('[sort]', 'v', $cx, $in, array('sort')), $in, true, function($cx, $in) {return ' <li data-id="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <span class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <div class="sort-up-icon"></div> + </span> + </li> +';}).' </ul> + + <div class="sort-sub-wrap"> +'.Plugin\LCRun3::debug('each [sort]', 'sec', $cx, Plugin\LCRun3::debug('[sort]', 'v', $cx, $in, array('sort')), $in, true, function($cx, $in) {return ' <ul class="sort-sub clearfix hide"> +'.Plugin\LCRun3::debug('each [sub]', 'sec', $cx, Plugin\LCRun3::debug('[sub]', 'v', $cx, $in, array('sub')), $in, true, function($cx, $in) {return ' <li class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div> + </div> + </div> +';}).' +'.Plugin\LCRun3::debug('if [misort]', 'ifv', $cx, Plugin\LCRun3::debug('[misort]', 'v', $cx, $in, array('misort')), $in, function($cx, $in) {return ' <div class="misort section"> + <span class="title">品类:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('each [misort]', 'sec', $cx, Plugin\LCRun3::debug('[misort]', 'v', $cx, $in, array('misort')), $in, true, function($cx, $in) {return ' <a class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + </a> +';}).' </div> + </div> +';}).' +'.Plugin\LCRun3::debug('[brand]', 'sec', $cx, Plugin\LCRun3::debug('[brand]', 'v', $cx, $in, array('brand')), $in, false, function($cx, $in) {return ' <div class="brand section"> + <span class="title">品牌:</span> + + <div class="attr-content"> + <ul class="default clearfix"> +'.Plugin\LCRun3::debug('[default]', 'sec', $cx, Plugin\LCRun3::debug('[default]', 'v', $cx, $in, array('default')), $in, false, function($cx, $in) {return ' <li class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> + + <div class="brand-opt"> +'.Plugin\LCRun3::debug('if [showMore]', 'ifv', $cx, Plugin\LCRun3::debug('[showMore]', 'v', $cx, $in, array('showMore')), $in, function($cx, $in) {return ' <span id="brand-more" class="brand-more"> + <em>更多</em> + <i class="iconfont"></i> + </span> +';}).' +'.Plugin\LCRun3::debug('if [showMulti]', 'ifv', $cx, Plugin\LCRun3::debug('[showMulti]', 'v', $cx, $in, array('showMulti')), $in, function($cx, $in) {return ' <span id="brand-multi" class="multi-select">多选 +</span> +';}).' </div> + + <div class="brand-panel hide"> + <div class="panel-head clearfix"> + <p class="brands-index"> +'.Plugin\LCRun3::debug('each [brandIndex]', 'sec', $cx, Plugin\LCRun3::debug('[brandIndex]', 'v', $cx, $in, array('brandIndex')), $in, true, function($cx, $in) {return ' <span data-index="'.Plugin\LCRun3::debug('[index]', 'encq', $cx, Plugin\LCRun3::debug('[index]', 'v', $cx, $in, array('index'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</span> +';}).' </p> + + <div class="brand-search"> + <input id="brand-search-input" type="text"> + <span class="btn"> + <i class="iconfont"></i> + </span> + </div> + </div> + + <div class="panel-body"> + <div class="ul-scroll"> + <ul class="check-container clearfix"> +'.Plugin\LCRun3::debug('[brandsShow]', 'sec', $cx, Plugin\LCRun3::debug('[brandsShow]', 'v', $cx, $in, array('brandsShow')), $in, false, function($cx, $in) {return ' <li class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'" data-index="'.Plugin\LCRun3::debug('[index]', 'encq', $cx, Plugin\LCRun3::debug('[index]', 'v', $cx, $in, array('index'))).'" data-key="'.Plugin\LCRun3::debug('[key]', 'encq', $cx, Plugin\LCRun3::debug('[key]', 'v', $cx, $in, array('key'))).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + <span class="iconfont checkbox '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'" data-id="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> +'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return '  +';}, function($cx, $in) {return '  +';}).' </span> + <span title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</span> + </a> + </li> +';}).' </ul> + </div> + </div> + + <div class="btns"> + <button id="brand-multi-ok" class="multi-select-ok dis">确定</button> + <button class="multi-select-cancel">取消</button> + </div> + </div> + </div> + </div> +';}).' +'.Plugin\LCRun3::debug('if [price]', 'ifv', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price')), $in, function($cx, $in) {return ' <div class="price section"> + <span class="title">价格:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('[price]', 'sec', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price')), $in, false, function($cx, $in) {return ' <a class="attr'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return ' checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">¥'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}).' + <div class="ud-price-range"> + ¥ + <input type="text" class="min limit" value="'.Plugin\LCRun3::debug('[customPrice].[min]', 'encq', $cx, Plugin\LCRun3::debug('[customPrice].[min]', 'v', $cx, $in, array('customPrice','min'))).'"> + <span class="price-sep">-</span> + <input type="text" class="max limit" value="'.Plugin\LCRun3::debug('[customPrice].[max]', 'encq', $cx, Plugin\LCRun3::debug('[customPrice].[max]', 'v', $cx, $in, array('customPrice','max'))).'"> + + <button class="price-sure hide">确定</button> + </div> + </div> + </div> +';}).' +'.Plugin\LCRun3::debug('if [color]', 'ifv', $cx, Plugin\LCRun3::debug('[color]', 'v', $cx, $in, array('color')), $in, function($cx, $in) {return ' <div class="color section"> + <span class="title">颜色:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('[color]', 'sec', $cx, Plugin\LCRun3::debug('[color]', 'v', $cx, $in, array('color')), $in, false, function($cx, $in) {return ' <a class="attr'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return ' checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> +'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return ' <span class="color-block"> + <i class="sub-color-block" style="background: '.Plugin\LCRun3::debug('[rgb]', 'encq', $cx, Plugin\LCRun3::debug('[rgb]', 'v', $cx, $in, array('rgb'))).'"></i> + </span> +';}, function($cx, $in) {return ' <i class="color-block" style="background: '.Plugin\LCRun3::debug('[rgb]', 'encq', $cx, Plugin\LCRun3::debug('[rgb]', 'v', $cx, $in, array('rgb'))).'"></i> +';}).' '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + </a> +';}).' </div> + </div> +';}).' + <div class="size section '.Plugin\LCRun3::debug('unless [size]', 'unl', $cx, Plugin\LCRun3::debug('[size]', 'v', $cx, $in, array('size')), $in, function($cx, $in) {return 'hide';}).'" '.Plugin\LCRun3::debug('if [size]', 'ifv', $cx, Plugin\LCRun3::debug('[size]', 'v', $cx, $in, array('size')), $in, function($cx, $in) {return 'data-load="true"';}).'> + <span class="title">尺码:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('[size]', 'sec', $cx, Plugin\LCRun3::debug('[size]', 'v', $cx, $in, array('size')), $in, false, function($cx, $in) {return ' <a class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}).' </div> + </div> + +'.Plugin\LCRun3::debug('if [seniorChose]', 'ifv', $cx, Plugin\LCRun3::debug('[seniorChose]', 'v', $cx, $in, array('seniorChose')), $in, function($cx, $in) {return ' <div class="senior section"> + <span class="title">高级选项:</span> + + <div class="attr-content"> + <ul class="clearfix senior-attr-wrap"> +'.Plugin\LCRun3::debug('each [seniorChose]', 'sec', $cx, Plugin\LCRun3::debug('[seniorChose]', 'v', $cx, $in, array('seniorChose')), $in, true, function($cx, $in) {return ' <li class="attr'.Plugin\LCRun3::debug('unless [sub]', 'unl', $cx, Plugin\LCRun3::debug('[sub]', 'v', $cx, $in, array('sub')), $in, function($cx, $in) {return ' no-sub';}).'"> +'.Plugin\LCRun3::debug('if [sub]', 'ifv', $cx, Plugin\LCRun3::debug('[sub]', 'v', $cx, $in, array('sub')), $in, function($cx, $in) {return ' '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <span class="iconfont"></span> + + <div class="senior-up-icon"></div> +';}, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}).' </li> +';}).' </ul> + + <div class="senior-sub-wrap"> +'.Plugin\LCRun3::debug('each [seniorChose]', 'sec', $cx, Plugin\LCRun3::debug('[seniorChose]', 'v', $cx, $in, array('seniorChose')), $in, true, function($cx, $in) {return ''.Plugin\LCRun3::debug('if [sub]', 'ifv', $cx, Plugin\LCRun3::debug('[sub]', 'v', $cx, $in, array('sub')), $in, function($cx, $in) {return ' <div class="senior-sub hide" data-attr="'.Plugin\LCRun3::debug('[attr]', 'encq', $cx, Plugin\LCRun3::debug('[attr]', 'v', $cx, $in, array('attr'))).'"> + <div class="senior-baffle"></div> + <div class="senior-content"> +'.Plugin\LCRun3::debug('if [showMulti]', 'ifv', $cx, Plugin\LCRun3::debug('[showMulti]', 'v', $cx, $in, array('showMulti')), $in, function($cx, $in) {return ' <span class="multi-select">多选 +</span> +';}).' <ul class="clearfix check-container"> +'.Plugin\LCRun3::debug('each [sub]', 'sec', $cx, Plugin\LCRun3::debug('[sub]', 'v', $cx, $in, array('sub')), $in, true, function($cx, $in) {return ' <li class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> +'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return ' <span class="iconfont checkbox checked" data-id="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"></span> +';}, function($cx, $in) {return ' <span class="iconfont checkbox" data-id="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"></span> +';}).' <span>'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</span> + </a> + </li> +';}).' </ul> + <div class="btns"> + <button class="multi-select-ok dis">确定</button> + <button class="multi-select-cancel">取消</button> + </div> + </div> + </div> +';}).'';}).' </div> + </div> + </div> +';}).' </div> +'.'';}).' +'.Plugin\LCRun3::debug('[opts]', 'sec', $cx, Plugin\LCRun3::debug('[opts]', 'v', $cx, $in, array('opts')), $in, false, function($cx, $in) {return ' <div class="sort-pager"> +'.Plugin\LCRun3::debug('[sortType]', 'sec', $cx, Plugin\LCRun3::debug('[sortType]', 'v', $cx, $in, array('sortType')), $in, false, function($cx, $in) {return ' <a class="sort-type'.Plugin\LCRun3::debug('if [active]', 'ifv', $cx, Plugin\LCRun3::debug('[active]', 'v', $cx, $in, array('active')), $in, function($cx, $in) {return ' active';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [hasSortOrient]', 'ifv', $cx, Plugin\LCRun3::debug('[hasSortOrient]', 'v', $cx, $in, array('hasSortOrient')), $in, function($cx, $in) {return ''.Plugin\LCRun3::debug('if [active]', 'ifv', $cx, Plugin\LCRun3::debug('[active]', 'v', $cx, $in, array('active')), $in, function($cx, $in) {return ''.Plugin\LCRun3::debug('if [desc]', 'ifv', $cx, Plugin\LCRun3::debug('[desc]', 'v', $cx, $in, array('desc')), $in, function($cx, $in) {return ' <span class="active-icon iconfont"></span> +';}, function($cx, $in) {return ' <span class="active-icon iconfont"></span> +';}).'';}, function($cx, $in) {return ' <span class="iconfont"></span> +';}).'';}, function($cx, $in) {return ' <span class="iconfont"></span> +';}).' </a> +';}).' +'.Plugin\LCRun3::debug('[checks]', 'sec', $cx, Plugin\LCRun3::debug('[checks]', 'v', $cx, $in, array('checks')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('if this', 'ifv', $cx, $in, $in, function($cx, $in) {return ' <a class="checks'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return ' checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> +'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return ' <span class="iconfont"></span> +';}, function($cx, $in) {return ' <span class="iconfont"></span> +';}).' '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + </a> +';}).'';}).' +'.Plugin\LCRun3::debug('if ../[goods]', 'ifv', $cx, Plugin\LCRun3::debug('../[goods]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('goods')), $in, function($cx, $in) {return ' <div class="pager-wrap"> + <div class="page-count"> + <span id="count-per-page"> + '.Plugin\LCRun3::debug('[countPerPage]', 'encq', $cx, Plugin\LCRun3::debug('[countPerPage]', 'v', $cx, $in, array('countPerPage'))).' + <i class="iconfont"></i> + </span> + 每页 + <ul> +'.Plugin\LCRun3::debug('[pageCounts]', 'sec', $cx, Plugin\LCRun3::debug('[pageCounts]', 'v', $cx, $in, array('pageCounts')), $in, false, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[count]', 'encq', $cx, Plugin\LCRun3::debug('[count]', 'v', $cx, $in, array('count'))).'</a> + </li> +';}).' </ul> + </div> + + <p class="page-orient"> +'.Plugin\LCRun3::debug('if [preHref]', 'ifv', $cx, Plugin\LCRun3::debug('[preHref]', 'v', $cx, $in, array('preHref')), $in, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[preHref]', 'encq', $cx, Plugin\LCRun3::debug('[preHref]', 'v', $cx, $in, array('preHref'))).'"> + <span class="iconfont"></span> + </a> +';}, function($cx, $in) {return ' <span class="dis-icon iconfont"></span> +';}).' + <span> + <i>'.Plugin\LCRun3::debug('[curPage]', 'encq', $cx, Plugin\LCRun3::debug('[curPage]', 'v', $cx, $in, array('curPage'))).'</i>/'.Plugin\LCRun3::debug('[pageCount]', 'encq', $cx, Plugin\LCRun3::debug('[pageCount]', 'v', $cx, $in, array('pageCount'))).' + </span> + +'.Plugin\LCRun3::debug('if [nextHref]', 'ifv', $cx, Plugin\LCRun3::debug('[nextHref]', 'v', $cx, $in, array('nextHref')), $in, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[nextHref]', 'encq', $cx, Plugin\LCRun3::debug('[nextHref]', 'v', $cx, $in, array('nextHref'))).'"> + <span class="iconfont"></span> + </a> +';}, function($cx, $in) {return ' <span class="dis-icon iconfont"></span> +';}).' </p> + </div> +';}).' </div> +';}).' +'.Plugin\LCRun3::debug('if [goods]', 'ifv', $cx, Plugin\LCRun3::debug('[goods]', 'v', $cx, $in, array('goods')), $in, function($cx, $in) {return ' <div class="goods-container clearfix"> +'.Plugin\LCRun3::debug('each [goods]', 'sec', $cx, Plugin\LCRun3::debug('[goods]', 'v', $cx, $in, array('goods')), $in, true, function($cx, $in) {return ''.' <div class="good-info" data-skn="'.Plugin\LCRun3::debug('[skn]', 'encq', $cx, Plugin\LCRun3::debug('[skn]', 'v', $cx, $in, array('skn'))).'" data-from="'.Plugin\LCRun3::debug('[from]', 'encq', $cx, Plugin\LCRun3::debug('[from]', 'v', $cx, $in, array('from'))).'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::debug('[tags]', 'sec', $cx, Plugin\LCRun3::debug('[tags]', 'v', $cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('[isNew]', 'sec', $cx, Plugin\LCRun3::debug('[isNew]', 'v', $cx, $in, array('isNew')), $in, false, function($cx, $in) {return ' <span class="good-tag new-tag">NEW</span> +';}).''.Plugin\LCRun3::debug('[isReNew]', 'sec', $cx, Plugin\LCRun3::debug('[isReNew]', 'v', $cx, $in, array('isReNew')), $in, false, function($cx, $in) {return ' <span class="good-tag renew-tag">再到着</span> +';}).''.Plugin\LCRun3::debug('[isSale]', 'sec', $cx, Plugin\LCRun3::debug('[isSale]', 'v', $cx, $in, array('isSale')), $in, false, function($cx, $in) {return ' <span class="good-tag sale-tag">SALE</span> +';}).''.Plugin\LCRun3::debug('[isNewFestival]', 'sec', $cx, Plugin\LCRun3::debug('[isNewFestival]', 'v', $cx, $in, array('isNewFestival')), $in, false, function($cx, $in) {return ' <span class="good-tag new-festival-tag">新品节</span> +';}).''.Plugin\LCRun3::debug('[isLimit]', 'sec', $cx, Plugin\LCRun3::debug('[isLimit]', 'v', $cx, $in, array('isLimit')), $in, false, function($cx, $in) {return ' <span class="good-tag limit-tag">限量商品</span> +';}).''.Plugin\LCRun3::debug('[isYearEndPromotion]', 'sec', $cx, Plugin\LCRun3::debug('[isYearEndPromotion]', 'v', $cx, $in, array('isYearEndPromotion')), $in, false, function($cx, $in) {return ' <span class="good-tag yep-tag">年终大促</span> +';}).''.Plugin\LCRun3::debug('[isYearMidPromotion]', 'sec', $cx, Plugin\LCRun3::debug('[isYearMidPromotion]', 'v', $cx, $in, array('isYearMidPromotion')), $in, false, function($cx, $in) {return ' <span class="good-tag ymp-tag">年中热促</span> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'" target="_blank"> + <img class="lazy" data-original="'.Plugin\LCRun3::debug('[thumb]', 'encq', $cx, Plugin\LCRun3::debug('[thumb]', 'v', $cx, $in, array('thumb'))).'"> + </a> +'.Plugin\LCRun3::debug('[isFew]', 'sec', $cx, Plugin\LCRun3::debug('[isFew]', 'v', $cx, $in, array('isFew')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' +'.Plugin\LCRun3::debug('if [showColBtn]', 'ifv', $cx, Plugin\LCRun3::debug('[showColBtn]', 'v', $cx, $in, array('showColBtn')), $in, function($cx, $in) {return ' <span class="col-btn iconfont'.Plugin\LCRun3::debug('if [coled]', 'ifv', $cx, Plugin\LCRun3::debug('[coled]', 'v', $cx, $in, array('coled')), $in, function($cx, $in) {return ' coled';}).'"></span> +';}).' </div> + <div class="good-detail-text"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'" target="_blank">'.Plugin\LCRun3::debug('[name]', 'raw', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +'.Plugin\LCRun3::debug('[brand]', 'sec', $cx, Plugin\LCRun3::debug('[brand]', 'v', $cx, $in, array('brand')), $in, false, function($cx, $in) {return ' <p class="brand"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </p> +';}).' <p class="price"> +'.Plugin\LCRun3::debug('[marketPrice]', 'sec', $cx, Plugin\LCRun3::debug('[marketPrice]', 'v', $cx, $in, array('marketPrice')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</span> +';}).' <span class="sale-price'.Plugin\LCRun3::debug('unless [marketPrice]', 'unl', $cx, Plugin\LCRun3::debug('[marketPrice]', 'v', $cx, $in, array('marketPrice')), $in, function($cx, $in) {return 'prime-cost';}).'"> + ¥'.Plugin\LCRun3::debug('[salePrice]', 'encq', $cx, Plugin\LCRun3::debug('[salePrice]', 'v', $cx, $in, array('salePrice'))).' + </span> + </p> + </div> + </div> +'.'';}).''.Plugin\LCRun3::debug('[hasNextPage]', 'sec', $cx, Plugin\LCRun3::debug('[hasNextPage]', 'v', $cx, $in, array('hasNextPage')), $in, false, function($cx, $in) {return ' <div class="block-next-page"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + <img src="'.Plugin\LCRun3::debug('[src]', 'encq', $cx, Plugin\LCRun3::debug('[src]', 'v', $cx, $in, array('src'))).'" alt=""/> + </a> + </div> +';}).' <div class="good-item-wrapper"> + <div class="good-info-main"></div> + <div class="good-select-color"></div> + </div> + </div> + + <div class="product-pager clearfix"> + <span class="total">'.Plugin\LCRun3::debug('[opts].[start]', 'encq', $cx, Plugin\LCRun3::debug('[opts].[start]', 'v', $cx, $in, array('opts','start'))).' - '.Plugin\LCRun3::debug('[opts].[end]', 'encq', $cx, Plugin\LCRun3::debug('[opts].[end]', 'v', $cx, $in, array('opts','end'))).' / 共'.Plugin\LCRun3::debug('[totalCount]', 'encq', $cx, Plugin\LCRun3::debug('[totalCount]', 'v', $cx, $in, array('totalCount'))).'件商品</span> + + <div class="pager"> + '.Plugin\LCRun3::debug('[pager]', 'raw', $cx, Plugin\LCRun3::debug('[pager]', 'v', $cx, $in, array('pager'))).' + </div> + </div> +';}, function($cx, $in) {return ''.' <div class="no-result"> + <p class="no-title"> + 抱歉!没有找到'.Plugin\LCRun3::debug('if [keyWord]', 'ifv', $cx, Plugin\LCRun3::debug('[keyWord]', 'v', $cx, $in, array('keyWord')), $in, function($cx, $in) {return '与"<b class="keyword">'.Plugin\LCRun3::debug('[keyWord]', 'encq', $cx, Plugin\LCRun3::debug('[keyWord]', 'v', $cx, $in, array('keyWord'))).'</b>"';}).'相关的商品 + </p> + <div class="search-again clearfix"> + <form method="GET" action="'.Plugin\LCRun3::debug('[searchActionUrl]', 'encq', $cx, Plugin\LCRun3::debug('[searchActionUrl]', 'v', $cx, $in, array('searchActionUrl'))).'"> + <input id="no-result-input" name="query" type="text" placeholder="换个关键词试试"> + <button class="search-again-btn" type="submit"> + <i class="iconfont"></i> + </button> + </form> + </div> + <p class="no-tip">建议您:看看输入的文字是否有误 / 减少分类条件限制 / 重新搜索</p> + </div> +'.'';}).''.' +'.''.Plugin\LCRun3::debug('if [latestWalk]', 'ifv', $cx, Plugin\LCRun3::debug('[latestWalk]', 'v', $cx, $in, array('latestWalk')), $in, function($cx, $in) {return ' <input id="latest-walk-count" type="hidden" value="'.Plugin\LCRun3::debug('[latestWalk]', 'encq', $cx, Plugin\LCRun3::debug('[latestWalk]', 'v', $cx, $in, array('latestWalk'))).'"> + <div class="latest-walk"> + <h2>最近浏览的商品</h2> + <div id="latest-walk-goods" class="goods clearfix"></div> + </div> +'.' <script id="latest-walk-tpl" type="text/html"> + {{# latestWalk}} + <div class="good"> + <a href="{{href}}" target="_blank"> + <img class="lazy" data-original="{{img}}"> + </a> + <a class="name" href="{{href}}" target="_blank">{{name}}</a> + <p class="price"> + <span class="market-price">{{marketPrice}}</span> + <span class="sale-price">{{salePrice}}</span> + </p> + </div> + {{/ latestWalk}} + </script>'.' ';}).''.' </div> +';}).' </div> +';}).'</div> +'.''.' <div class="yoho-footer"> +'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> + <div class="index-foot"> + <dl class="center-content clearfix"> + <dd> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>有货SERVICES</span> + </div> + </div> + <div id="foot-services"> + <ul class="two-dim clearfix"> + <li class="left"> + <img class="dim-img lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png"> + <p>YOHO!有货</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg"> + <p>微信</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png"> + <p>微博</p> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur" key="0"></span> + </p> + </dd> + <dd> + <div id="feed-back-box-list" class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>意见反馈</span> + </div> + </div> + <ul class="vote clearfix"> + <li key="0"> + <form class="feed-back-form" action="#"> + <div>您喜欢有货的新版吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="33">非常喜欢 + </p> + <p> + <input type="radio" name="solution" value="34">喜欢 + </p> + <p> + <input type="radio" name="solution" value="35">一般般 + </p> + <p> + <input type="radio" name="solution" value="36">不喜欢 + </p> + <p> + <input type="radio" name="solution" value="37">非常不喜欢 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" name="question_id" value="38"> + <input class="feedback-id" type="hidden" name="feedback_id" value="5"> + </form> + </li> + <li class="hide" key="1"> + <form class="feed-back-form" action="#"> + <div>您可以方便的找到想查看的内容吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="38">非常方便 + </p> + <p> + <input type="radio" name="solution" value="39">方便 + </p> + <p> + <input type="radio" name="solution" value="40">一般般 + </p> + <p> + <input type="radio" name="solution" value="41">不方便 + </p> + <p> + <input type="radio" name="solution" value="42">非常不方便 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="39"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + <li class="hide" key="2"> + <form class="feed-back-form" action="#"> + <div>您对新版还有哪些意见或建议?</div> + <textarea name="answer" id="feedback-answer" class="feedback-answer"></textarea> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="37"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + </ul> + </div> + <p id="feed-back-page" class="item-nav center"> + <span class="iconfont cur"></span> + <span class="iconfont "></span> + <span class="iconfont "></span> + </p> + </dd> + <dd class="last"> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>更多 YOHO!产品</span> + </div> + </div> + <div id="foot-mobile"> + <ul class="mobile clearfix"> + <li> + <a href="http://app.yohoshow.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg"> + </a> + </li> + <li> + <a href="http://www.yohoboys.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg"> + </a> + </li> + <li> + <a href="http://www.yohogirls.com/" target="_blank"> + <img class="lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg"> + </a> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur"></span> + </p> + </dd> + </dl> + </div> + </div> +';}).' <div class="footerbottom"> + <div class="promise"> + <div class="center-content clearfix"> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">100%</span> + <span class="rgbf">品牌授权正品</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">7天</span> + <span class="rgbf">无理由退换货</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="rgbf">客服电话:</span> + <span class="red">400-889-9646</span> + + <span class="rgb9">08:00-22:30(周一至周日)</span> + + <span> + <a class="red" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank">在线客服</a> + </span> + </div> + <div class="right subscribe footer-right"> + <input id="subscriber-box" class="rgb6 top" name="subscriberBox"value="订阅我们的邮件"> + <a id="subscriber-btn" href="javascript:void(0);" class="iconfont rgbf"></a> + </div> + </div> + </div> + <div class="footer-help"> + <div class="center-content clearfix"> + <div class="left"> + <ul class="clearfix"> + <li class="left"> + <p> + <span>新手指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a> + </p> + </li> + <li class="left"> + <p> + <span>会员中心</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=87" target="_blank">YOHO币</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a> + </p> + </li> + <li class="left"> + <p> + <span>购物指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=99" target="_blank">发票</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a> + </p> + </li> + <li class="left"> + <p> + <span>支付方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=111" target="_blank">YOHO币支付</a> + </p> + </li> + <li class="left"> + <p> + <span>配送方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a> + </p> + </li> + <li class="left"> + <p> + <span>售后服务</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a> + </p> + </li> + <li class="left"> + <p> + <span>APP常见问题</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a> + </p> + </li> + </ul> + </div> + </div> + </div> + <div class="footer-link"> + <div class="center-content clearfix"> + <div class="left right-flag"> + <a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&ct=df&a=1&pa=0.5902942178957805" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/credit-flag3.png"> + </a> + <a href="http://www.isc.org.cn/" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/isc2.png"> + </a> + </div> + <div class="left about-us"> + <p> + <a href="http://www.yohobuy.com">返回首页</a> + <span>|</span> + <a href="http://www.yohobuy.com">YOHO!有货</a> + <span>|</span> + <a href="http://www.yohobuy.com/newpower.html">新力传媒</a> + <span>|</span> + <a href="http://www.yohobuy.com/contact.html">联系我们</a> + <span>|</span> + <a href="http://shop.yohobuy.com/settled">商家入驻</a> + <span>|</span> + <a href="http://www.yohobuy.com/privacy.html">隐私条款</a> + <span>|</span> + <a href="http://www.yohobuy.com/link.html">友情链接</a> + </p> + <p> + CopyRight © 2007-2016 南京新与力文化传播有限公司 + <a class="rbg6" href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备09011225号</a> + NewPower Co. 版权所有 经营许可证编号:苏B2-20120395 + </p> + </div> + + </div> + </div> + </div> + <div class="return-top hide"> + <span class="iconfont"></span> + </div> + </div>'.''.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <script src="http://localhost:8001/static/js/sea.js?nowrap"></script> + <script> + seajs.config({ + base: \'http://localhost:8001/\' + }); + </script> +';}).''.' <script> + seajs.use(\'js/common\'); + </script> +'.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/header\'); + </script> +';}).''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/simple-header\'); + </script> +';}).''.Plugin\LCRun3::debug('if [boysHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/index/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [searchListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[searchListPage]', 'v', $cx, $in, array('searchListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(5); + window.onresize = function () { + setTimeout(function () { + product.init(5); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [brandPage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productListPage]', 'v', $cx, $in, array('productListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productDetailPage]', 'v', $cx, $in, array('productDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/item\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangIndexPage]', 'v', $cx, $in, array('guangIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangDetailPage]', 'v', $cx, $in, array('guangDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/detail\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangListPage]', 'v', $cx, $in, array('guangListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/list\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleIndexPage]', 'v', $cx, $in, array('saleIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/sale/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleListPage]', 'v', $cx, $in, array('saleListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [saleCatPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleCatPage]', 'v', $cx, $in, array('saleCatPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [loginPage]', 'ifv', $cx, Plugin\LCRun3::debug('[loginPage]', 'v', $cx, $in, array('loginPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/login\'); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdLogin]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdLogin]', 'v', $cx, $in, array('thirdLogin')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/thirdlogin\'); + </script> +';}).''.Plugin\LCRun3::debug('if [enablePerfectInformation]', 'ifv', $cx, Plugin\LCRun3::debug('[enablePerfectInformation]', 'v', $cx, $in, array('enablePerfectInformation')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/third-pwd\'); + </script> +';}).''.Plugin\LCRun3::debug('if [registerPage]', 'ifv', $cx, Plugin\LCRun3::debug('[registerPage]', 'v', $cx, $in, array('registerPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'reg\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdPage]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdPage]', 'v', $cx, $in, array('thirdPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'third\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [backPage]', 'ifv', $cx, Plugin\LCRun3::debug('[backPage]', 'v', $cx, $in, array('backPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/back\'); + </script> +';}).''.Plugin\LCRun3::debug('if [resetPage]', 'ifv', $cx, Plugin\LCRun3::debug('[resetPage]', 'v', $cx, $in, array('resetPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reset\'); + </script> +';}).''.Plugin\LCRun3::debug('if [vertificationPage]', 'ifv', $cx, Plugin\LCRun3::debug('[vertificationPage]', 'v', $cx, $in, array('vertificationPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/vertification\'); + </script> +';}).''.Plugin\LCRun3::debug('if [hotrankPage]', 'ifv', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/hotrank\'); + </script> +';}).''.Plugin\LCRun3::debug('if [brandsHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandsHomePage]', 'v', $cx, $in, array('brandsHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/brand/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [orderEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/order/ensure\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meIndexPage]', 'v', $cx, $in, array('meIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/index\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meOrdersPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meOrdersPage]', 'v', $cx, $in, array('meOrdersPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/orders\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meFavoritePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meFavoritePage]', 'v', $cx, $in, array('meFavoritePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/favorite\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meReturnsPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meReturnsPage]', 'v', $cx, $in, array('meReturnsPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/returns\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meCommentPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meCommentPage]', 'v', $cx, $in, array('meCommentPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/comment\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meEditPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meEditPage]', 'v', $cx, $in, array('meEditPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/edit\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meGiftPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meGiftPage]', 'v', $cx, $in, array('meGiftPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/gift\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meValidatePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meValidatePage]', 'v', $cx, $in, array('meValidatePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/validate\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meAddressPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meAddressPage]', 'v', $cx, $in, array('meAddressPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/address\'); + seajs.use(\'js/home/common-address\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [cartEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[cartEnsurePage]', 'v', $cx, $in, array('cartEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/cart/cart\'); + </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 || []; + var _gaq = _gaq || []; + (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() { + _gaq.push([\'_setAccount\', \'UA-48997038-32\']); + _gaq.push([\'_trackPageview\']); + var ga = document.createElement(\'script\'); + ga.type = \'text/javascript\'; ga.async = true; + ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\'; + var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s); + })(); + (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); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.criteo.net/js/ld/ld.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + var u = _ozuid || ""; + u = (u == 0) ? "" : u; + window.criteo_q = window.criteo_q || []; + window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" }); + })(); + } + if (window.addEventListener) { + window.addEventListener(\'load\', async_load, false); + } else if (window.attachEvent) { + window.attachEvent(\'onload\', async_load); + } + })(); + </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/js/v3/o_code.js?v=20150420" async="async"></script> +'.' </body> +</html> +'.''.''; +} +?> \ No newline at end of file diff --git a/compile/www.yohobuy.com/0.0.9/8dd002de39daf2d0019a98d5fb656b4d.php b/compile/www.yohobuy.com/0.0.9/8dd002de39daf2d0019a98d5fb656b4d.php new file mode 100644 index 0000000..dc2b2aa --- /dev/null +++ b/compile/www.yohobuy.com/0.0.9/8dd002de39daf2d0019a98d5fb656b4d.php @@ -0,0 +1,1208 @@ +<?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="X-UA-Compatible" content="IE=edge,chrome=1" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Cache-Control" content="no-siteapp" /> + <meta name="renderer" content="webkit"> + <meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'"> + <meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'"> + <title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + <link rel="dns-prefetch" href="//img10.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img11.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css"> +';}).'</head> +<body> +'.''.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <div class="yoho-header"> + <div class="header-topwrapper clearfix"> + <div class="header-top"> + <div class="leftpart float-left"> + <span class="icon-hamburger"></span> + <a href="http://www.yohobuy.com" class="header-yoho" >YOHO!有货</a> + <ul class="yohoproducts-list"> + <li class="yohoproducts-item"> + <a href="http://www.yoho.cn" class="yohogroup" en="YOHO!" cn="集团官网">YOHO!</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoboys.com" class="yohogroup" en="YOHO!BOYS" cn="男生潮流">YOHO!BOYS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohogirls.com" class="yohogroup" en="YOHO!GIRLS" cn="女生潮流">YOHO!GIRLS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoshow.com" class="yohogroup" en="YOHO!SHOW" cn="物趣分享">YOHO!SHOW</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohood.cn" class="yohogroup" en="YO\'HOOD" cn="潮流嘉年华">YO\'HOOD</a> + </li> + </ul> + </div> + <div class="rightpart"> + <div id="loginBox" class="float-left"> + <span class="hi">Hi~</span> + <a href="http://www.yohobuy.com/signin.html" class="loginbar">[请登录]</a> + <a href="http://www.yohobuy.com/reg.html" class="registbar">[免费注册]</a> + </div> + <div class="tag-list-wrapper"> + <ul class="tag-list"> + <li class="tag-item myyoho" id="myYohoBox"> + <span class="tag-seprate"></span> + <a href="http://www.yohobuy.com/home?t=1453340799.4986">MY有货</a> + <span class="icon-bottomarrow"></span> + <div class="myyoho-info"></div> + </li> + <li class="tag-item myorder"> + <span class="tag-seprate"></span> + <span class="icon-papers"></span> + <a href="http://www.yohobuy.com/home/orders?t=1453168898.0176">我的订单</a> + </li> + <li class="tag-item mycollect"> + <span class="tag-seprate"></span> + <span class="icon-heart"></span> + <a href="http://www.yohobuy.com/home/favorite?t=1453168898.0176">我的收藏</a> + </li> + <li class="tag-item message"> + <span class="tag-seprate"></span> + <span class="icon-mail"></span> + <a href="http://www.yohobuy.com/home/message?t=1453168898.0176">消息</a> + </li> + <li class="tag-item phone"> + <span class="tag-seprate"></span> + <span class="icon-iphone"></span> + <a href="http://www.yohobuy.com/download/app">手机版</a> + <div class="qr"> + <div class="qr-img"></div> + <h3 class="qr-words">扫描二维码</h3> + <h3 class="qr-words">下载有货手机客户端</h3> + <h3 class="qr-more"> + <a href="http://www.yohobuy.com/download/app">更多客户端下载</a> + </h3> + </div> + </li> + </ul> + </div> + </div> + </div> + </div> + <div class="header-navwrapper clearfix"> + <div class="header-navcontent"> + <ul class="first-nav-list float-left"> +'.Plugin\LCRun3::debug('[navbars]', 'sec', $cx, Plugin\LCRun3::debug('[navbars]', 'v', $cx, $in, array('navbars')), $in, false, function($cx, $in) {return ' <li class="first-nav-item '.Plugin\LCRun3::debug('[classname]', 'encq', $cx, Plugin\LCRun3::debug('[classname]', 'v', $cx, $in, array('classname'))).'"> + <h3 class="name-cn"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_cn]', 'encq', $cx, Plugin\LCRun3::debug('[name_cn]', 'v', $cx, $in, array('name_cn'))).'</a> + </h3> + <h3 class="name-en"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_en]', 'encq', $cx, Plugin\LCRun3::debug('[name_en]', 'v', $cx, $in, array('name_en'))).'</a> + </h3> + <div class=\'sub-nav-wrapper\'> + <ul class="sub-nav-list"> +'.Plugin\LCRun3::debug('[subnav]', 'sec', $cx, Plugin\LCRun3::debug('[subnav]', 'v', $cx, $in, array('subnav')), $in, false, function($cx, $in) {return ' <li class="sub-nav-item"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [is_new]', 'ifv', $cx, Plugin\LCRun3::debug('[is_new]', 'v', $cx, $in, array('is_new')), $in, function($cx, $in) {return ' <span class="newlogo"></span> +';}).' </a> +'.Plugin\LCRun3::debug('if [thirdnav]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, function($cx, $in) {return ' <div class="third-nav-wrapper"> + <div class="third-nav"> + <div class="categorywrapper" id="category'.Plugin\LCRun3::debug('../[index_main]', 'encq', $cx, Plugin\LCRun3::debug('../[index_main]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('index_main'))).''.Plugin\LCRun3::debug('[index_sub]', 'encq', $cx, Plugin\LCRun3::debug('[index_sub]', 'v', $cx, $in, array('index_sub'))).'"> + <div class="category"> +'.Plugin\LCRun3::debug('[thirdnav]', 'sec', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, false, function($cx, $in) {return ' <div class="thirdnavlist"> + <h1 class="category-title thirdnavbar"><a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</a> </h1> + <ul class="category-list"> +'.Plugin\LCRun3::debug('[branditems]', 'sec', $cx, Plugin\LCRun3::debug('[branditems]', 'v', $cx, $in, array('branditems')), $in, false, function($cx, $in) {return ' <li class="category- + item thirdnavbar"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'" hot='.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).' >'.Plugin\LCRun3::debug('[brandname]', 'encq', $cx, Plugin\LCRun3::debug('[brandname]', 'v', $cx, $in, array('brandname'))).'</a> + </li> +';}).' </ul> + </div> +';}).' </div> + </div> + <div class="showdetail" data-code="'.Plugin\LCRun3::debug('[content_code]', 'encq', $cx, Plugin\LCRun3::debug('[content_code]', 'v', $cx, $in, array('content_code'))).'"> + <a href="http://list.yohobuy.com/?gender=1,3&msort=8"> + <img src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="" style=""></a> + <a class="title" href="http://list.yohobuy.com/?gender=1,3&msort=8">热门小物优选</a> + </div> + </div> + </div> +';}).' </li> +';}).' </ul> + </div> + </li> +';}).' </ul> + <div class="icon-logo"><a href="http://www.yohobuy.com/" class="main-link"></a></div> + <div class="header-tool float-right"> + <div class="search float-left '.Plugin\LCRun3::debug('[searchcate]', 'encq', $cx, Plugin\LCRun3::debug('[searchcate]', 'v', $cx, $in, array('searchcate'))).'" > + <form action="http://search.yohobuy.com" method="get" id="searchForm"> + <span class="searchspan"> + <input type="hidden" id="defaultsearch"> + <input class="searchinput" type="text" name="query" id="query_key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value=\'\';this.style.color=\'#333\'}" onblur="if(this.value==\'\'){this.value=this.defaultValue;this.style.color=\'#999\'}" maxlength="30"></span> + <a class="icon-search" href="javascript:submitSearch();"></a> + <ul class="search-list"></ul> + </form> + </div> + <div class="gobuy float-left '.Plugin\LCRun3::debug('[gobytype]', 'encq', $cx, Plugin\LCRun3::debug('[gobytype]', 'v', $cx, $in, array('gobytype'))).'" id="miniCartBox"> + + <span class="ic-infomation">0</span> + <div class="gobuy-wrapper"></div> + + </div> + </div> + </div> + </div> + </div> + <div id="goodcartempwarpper"> + <script type="text/html" id="mini-cart-tpl"> + \\{\\{#carData\\}\\} + <div class="gobuy-notempty"> + <div class="goods-list-wrapper"> + <ul class="goods-list"> + \\{\\{#main_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img" /> + </a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/main_goods\\}\\} + \\{\\{#advance_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/advance_goods\\}\\} + \\{\\{# outlet_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/outlet_goods\\}\\} + \\{\\{#gift_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/gift_goods\\}\\} + \\{\\{#need_pay_gifts\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/need_pay_gifts\\}\\} + </ul> + <ul class="activity-list"> + {{#if has_promotion\\}\\} + <li class="activity-item"> + <span class="activity-name">活动</span> + <h3 class="activity-content"> + \\{\\{#if fit_outlet_promotion \\}\\}购outlet商品,满¥1999再享9折 + \\{\\{/if\\}\\} + \\{\\{#if has_other_promotion\\}\\} + <span class="mycart_i_down" title="更多" ></span> + \\{\\{/if\\}\\} + \\{\\{#if has_first_promotion\\}\\} + \\{\\{first_promotions.promotion_title\\}\\} + \\{\\{/if\\}\\} + </h3> + </li> + \\{\\{/if\\}\\} + \\{\\{#if fit_free_shipping \\}\\} + <li class="activity-item"> + <span class="activity-name">免运费</span> + <h3 class="activity-content">全场满 ¥\\{\\{fit_free_shipping\\}\\}免运费</h3> + </li> + \\{\\{/if\\}\\} + </ul> + </div> + <div class="gobuy-notempty-footer"> + <h3> + <a href="http://www.yohobuy.com/shopping/cart">去购物车结算</a> + </h3> + </div> + \\{\\{/carData\\}\\} + </script> + <script type="text/html" id="tmpl-my-login-new"> + <div class="myyoho-info-header clearfix"> + <div class="myyoho-photo" ><img src="\\{\\{headerimg head_ico\\}\\}" alt="" data-url =""></div> + <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\\{\\{random\\}\\}">\\{\\{profile_name\\}\\}</a></h3> + <h3 class="user-level"> + VIP: + <span class="leveldetail">\\{\\{vip.curVipInfo.title\\}\\}</span> + </h3> + \\{\\{#unless vip3 \\}\\} + <div class="levelinfo"> + <div class="levelwrapper float-left"> + <div class="levelspan"> + \\{\\{vip.curYearCost\\}\\}/\\{\\{vip.nextVipInfo.needCost\\}\\} + </div> + <p class="\\{\\{#if vip.curYearCostPer\\}\\}integrate\\{\\{/if\\}\\}" style="width: \\{\\{vip.curYearCostPer\\}\\}%;"></p> + </div> + <span class="cardcate float-left">\\{\\{vip.nextVipInfo.title\\}\\}</span> + </div> + \\{\\{/unless\\}\\} + </div> + <ul class="myyoho-info-content"> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/orders?t=\\{\\{timestamp\\}\\}">待处理的订单</a> + </span> + <span class="itemnum float-right">\\{\\{orderCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/favorite?t=\\{\\{timestamp\\}\\}">我的收藏</a> + </span> + <span class="itemnum float-right"></span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/coupons?t=\\{\\{timestamp\\}\\}">我的优惠券</a> + </span> + <span class="itemnum float-right">\\{\\{couponCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/currency?t=\\{\\{timestamp\\}\\}">我的YOHO币</a> + </span> + <span class="itemnum float-right">\\{\\{YohocoinCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/returns?t=\\{\\{timestamp\\}\\}">我的退货换货</a> + </span> + <span class="itemnum float-right">\\{\\{refundCount\\}\\}</span> + </li> + </ul> + <div class="myyoho-info-footer"> + <a href="http://www.yohobuy.com/home/user?t=\\{\\{timestamp\\}\\}">完善资料</a> + </div> + </script> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +';}).' +'.' '.''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return '<div class="simple-header"> + <div class="header-inner clearfix"> +'.Plugin\LCRun3::debug('[logo]', 'sec', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo')), $in, false, function($cx, $in) {return ' <h1 class="logo"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'"> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </h1> +';}).' <ul class="header-tool clearfix"> +'.Plugin\LCRun3::debug('[tool]', 'sec', $cx, Plugin\LCRun3::debug('[tool]', 'v', $cx, $in, array('tool')), $in, false, function($cx, $in) {return ' <li> + <span>Hi~</span> +'.Plugin\LCRun3::debug('[user]', 'sec', $cx, Plugin\LCRun3::debug('[user]', 'v', $cx, $in, array('user')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</a> +';}).' +'.Plugin\LCRun3::debug('[loginHref]', 'sec', $cx, Plugin\LCRun3::debug('[loginHref]', 'v', $cx, $in, array('loginHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[请登录]</a> +';}).' +'.Plugin\LCRun3::debug('[logoutHref]', 'sec', $cx, Plugin\LCRun3::debug('[logoutHref]', 'v', $cx, $in, array('logoutHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[退出]</a> +';}).' +'.Plugin\LCRun3::debug('[registerHref]', 'sec', $cx, Plugin\LCRun3::debug('[registerHref]', 'v', $cx, $in, array('registerHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[免费注册]</a> +';}).' </li> + <li class="tool-options"> + <span><a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">MY有货</a></span> + <i class="options-icon down iconfont"></i> + <i class="options-icon up iconfont"></i> + <div class="tool-select"> + <a href="'.Plugin\LCRun3::debug('[favoriteHref]', 'encq', $cx, Plugin\LCRun3::debug('[favoriteHref]', 'v', $cx, $in, array('favoriteHref'))).'">我的收藏</a> + <a href="'.Plugin\LCRun3::debug('[couponHref]', 'encq', $cx, Plugin\LCRun3::debug('[couponHref]', 'v', $cx, $in, array('couponHref'))).'">优惠券</a> + </div> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[orderHref]', 'encq', $cx, Plugin\LCRun3::debug('[orderHref]', 'v', $cx, $in, array('orderHref'))).'">订单中心</a> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[helpHref]', 'encq', $cx, Plugin\LCRun3::debug('[helpHref]', 'v', $cx, $in, array('helpHref'))).'">帮助中心</a> + </li> + <li> + <i class="tell-icon iconfont"></i> + <span>400-9889-9646</span> + </li> +';}).' </ul> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +</div> +';}).''.''.' +<div class="home-page yoho-page girls" data-page="girls"> +'.Plugin\LCRun3::debug('[girls]', 'sec', $cx, Plugin\LCRun3::debug('[girls]', 'v', $cx, $in, array('girls')), $in, false, function($cx, $in) {return ' +'.Plugin\LCRun3::debug('[slide]', 'sec', $cx, Plugin\LCRun3::debug('[slide]', 'v', $cx, $in, array('slide')), $in, false, function($cx, $in) {return ''.' <div class="slide-container '.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return 'slide-thumb-container';}).'"> + <div class="slide-wrapper"> + <ul> +'.Plugin\LCRun3::debug('[list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li style="'.Plugin\LCRun3::debug('if [bgColor]', 'ifv', $cx, Plugin\LCRun3::debug('[bgColor]', 'v', $cx, $in, array('bgColor')), $in, function($cx, $in) {return 'background:'.Plugin\LCRun3::debug('[bgColor]', 'encq', $cx, Plugin\LCRun3::debug('[bgColor]', 'v', $cx, $in, array('bgColor'))).'';}).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"> +'.Plugin\LCRun3::debug('if @[first]', 'ifv', $cx, Plugin\LCRun3::debug('@[first]', 'v', $cx, $cx['sp_vars'], array('first')), $in, function($cx, $in) {return ' <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"> +';}, function($cx, $in) {return ' <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> +';}).' </a> +'.Plugin\LCRun3::debug('[tips]', 'sec', $cx, Plugin\LCRun3::debug('[tips]', 'v', $cx, $in, array('tips')), $in, false, function($cx, $in) {return ' <div class="slide-tips"> + <div class="g-mark"></div> + <p>'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p> + </div> +';}).' </li> +';}).' </ul> + </div> + +'.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return ' <div class="thumb-pagination"> + <ul class="clearfix"> +'.Plugin\LCRun3::debug('[pagination]', 'sec', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, false, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target="_blank"></a> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </li> +';}).' </ul> + </div> +';}).' </div> + <div class="slide-container-placeholder '.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return 'slide-thumb-container-placeholder';}).'"></div> +'.'';}).''.Plugin\LCRun3::debug('[debrisSlider]', 'sec', $cx, Plugin\LCRun3::debug('[debrisSlider]', 'v', $cx, $in, array('debrisSlider')), $in, false, function($cx, $in) {return ' <div class="debris-slider clearfix"> + <div class="left-col col"> +'.Plugin\LCRun3::debug('[left]', 'sec', $cx, Plugin\LCRun3::debug('[left]', 'v', $cx, $in, array('left')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target="_blank"> + <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"> + </a> +';}).' </div> + <div class="center-col col"> + <ul class="slide-wrapper"> +'.Plugin\LCRun3::debug('[center]', 'sec', $cx, Plugin\LCRun3::debug('[center]', 'v', $cx, $in, array('center')), $in, false, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target="_blank"> + <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"> + </a> + </li> +';}).' </ul> + <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> + </div> + <div class="right-col col"> +'.Plugin\LCRun3::debug('[right]', 'sec', $cx, Plugin\LCRun3::debug('[right]', 'v', $cx, $in, array('right')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target="_blank"> + <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"> + </a> +';}).' </div> + </div> +';}).' +'.Plugin\LCRun3::debug('[preferenceBrands]', 'sec', $cx, Plugin\LCRun3::debug('[preferenceBrands]', 'v', $cx, $in, array('preferenceBrands')), $in, false, function($cx, $in) {return ''.''.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="preference-brand imgopacity"> + <div class="img-slider-wrapper clearfix" style="background-color:'.Plugin\LCRun3::debug('[sliderColor]', 'encq', $cx, Plugin\LCRun3::debug('[sliderColor]', 'v', $cx, $in, array('sliderColor'))).';"> + <div class="img-brand-switch"> + <a class="prev iconfont" href="javascript:;"></a> + <a class="next iconfont" href="javascript:;"></a> + </div> + <div class="img-container-landscape"> + <ul class="img-list"> +'.Plugin\LCRun3::debug('[imgBrand]', 'sec', $cx, Plugin\LCRun3::debug('[imgBrand]', 'v', $cx, $in, array('imgBrand')), $in, false, function($cx, $in) {return ' <li class="img-item"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"> <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt="'.Plugin\LCRun3::debug('[alt]', 'encq', $cx, Plugin\LCRun3::debug('[alt]', 'v', $cx, $in, array('alt'))).'"></a> + </li> +';}).' </ul> + </div> + </div> + <div class="logo-brand " data-url="'.Plugin\LCRun3::debug('[brandUrl]', 'encq', $cx, Plugin\LCRun3::debug('[brandUrl]', 'v', $cx, $in, array('brandUrl'))).'"> + </div> + </div>'.'';}).' +'.Plugin\LCRun3::debug('[recommend]', 'sec', $cx, Plugin\LCRun3::debug('[recommend]', 'v', $cx, $in, array('recommend')), $in, false, function($cx, $in) {return ''.''.Plugin\LCRun3::debug('[tplrecommend]', 'sec', $cx, Plugin\LCRun3::debug('[tplrecommend]', 'v', $cx, $in, array('tplrecommend')), $in, false, function($cx, $in) {return ' <div class="tpl-recommend clearfix"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="tpl-body clearfix"> + <div class="tpl-nav"> + <div class="tpl-keywords"> +'.Plugin\LCRun3::debug('each [keyword]', 'sec', $cx, Plugin\LCRun3::debug('[keyword]', 'v', $cx, $in, array('keyword')), $in, true, function($cx, $in) {return ' <a class="keywords'.Plugin\LCRun3::debug('@[index]', 'encq', $cx, Plugin\LCRun3::debug('@[index]', 'v', $cx, $cx['sp_vars'], array('index'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a> +';}).' </div> + <div class="tpl-category clearfix"> +'.Plugin\LCRun3::debug('each [category]', 'sec', $cx, Plugin\LCRun3::debug('[category]', 'v', $cx, $in, array('category')), $in, true, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}).' </div> + </div> + <div class="tpl-brands imgopacity clearfix"> +'.Plugin\LCRun3::debug('each [brands]', 'sec', $cx, Plugin\LCRun3::debug('[brands]', 'v', $cx, $in, array('brands')), $in, true, function($cx, $in) {return ' <a title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a> +';}).' </div> + <div class="tpl-types imgopacity clearfix"> + <ul> +'.Plugin\LCRun3::debug('each [types]', 'sec', $cx, Plugin\LCRun3::debug('[types]', 'v', $cx, $in, array('types')), $in, true, function($cx, $in) {return ' <li><a title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a></li> +';}).' </ul> + </div> + </div> + </div> + ';}).''.'';}).' +'.Plugin\LCRun3::debug('[accordion]', 'sec', $cx, Plugin\LCRun3::debug('[accordion]', 'v', $cx, $in, array('accordion')), $in, false, function($cx, $in) {return ''.''.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="slide-accordion clearfix"> + <ul> +'.Plugin\LCRun3::debug('each [slide]', 'sec', $cx, Plugin\LCRun3::debug('[slide]', 'v', $cx, $in, array('slide')), $in, true, function($cx, $in) {return ' <li><a title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><div class="g-mask"></div><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a></li> +';}).' </ul> + </div> + +'.'';}).' +'.Plugin\LCRun3::debug('[singlehot]', 'sec', $cx, Plugin\LCRun3::debug('[singlehot]', 'v', $cx, $in, array('singlehot')), $in, false, function($cx, $in) {return ''.' <div class="commodity clearfix"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' <div class="commodity-list"> + <ul class="g-list imgopacity clearfix"> +'.Plugin\LCRun3::debug('each [imgHot]', 'sec', $cx, Plugin\LCRun3::debug('[imgHot]', 'v', $cx, $in, array('imgHot')), $in, true, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><div class="commodity-img"> +'.Plugin\LCRun3::debug('[tip]', 'sec', $cx, Plugin\LCRun3::debug('[tip]', 'v', $cx, $in, array('tip')), $in, false, function($cx, $in) {return ' <i class="top">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</i> +';}).' <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></div> + <p class="commodity-name">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</p> + <p class="commodity-price"><span>¥'.Plugin\LCRun3::debug('[price]', 'encq', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price'))).'</span></p> + </a> + </li> +';}).' </ul> + </div> + <div class="commodity-brands imgopacity clearfix"> +'.Plugin\LCRun3::debug('each [brands]', 'sec', $cx, Plugin\LCRun3::debug('[brands]', 'v', $cx, $in, array('brands')), $in, true, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a> +';}).' </div> + </div> +'.'';}).' +'.Plugin\LCRun3::debug('[newArrivls]', 'sec', $cx, Plugin\LCRun3::debug('[newArrivls]', 'v', $cx, $in, array('newArrivls')), $in, false, function($cx, $in) {return ''.' <div class="commodity clearfix" id="newarrivals"> +'.' <div class="floor-header clearfix"> + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2> +'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs"> +'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div>'.' + <div class="goods-container clearfix"> + </div> + <div class="loading"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">Loading...</a> + </div> + </div>'.'';}).' +';}).'</div> +'.''.' <div class="yoho-footer"> +'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> + <div class="index-foot"> + <dl class="center-content clearfix"> + <dd> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>有货SERVICES</span> + </div> + </div> + <div id="foot-services"> + <ul class="two-dim clearfix"> + <li class="left"> + <img class="dim-img lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png"> + <p>YOHO!有货</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg"> + <p>微信</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png"> + <p>微博</p> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur" key="0"></span> + </p> + </dd> + <dd> + <div id="feed-back-box-list" class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>意见反馈</span> + </div> + </div> + <ul class="vote clearfix"> + <li key="0"> + <form class="feed-back-form" action="#"> + <div>您喜欢有货的新版吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="33">非常喜欢 + </p> + <p> + <input type="radio" name="solution" value="34">喜欢 + </p> + <p> + <input type="radio" name="solution" value="35">一般般 + </p> + <p> + <input type="radio" name="solution" value="36">不喜欢 + </p> + <p> + <input type="radio" name="solution" value="37">非常不喜欢 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" name="question_id" value="38"> + <input class="feedback-id" type="hidden" name="feedback_id" value="5"> + </form> + </li> + <li class="hide" key="1"> + <form class="feed-back-form" action="#"> + <div>您可以方便的找到想查看的内容吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="38">非常方便 + </p> + <p> + <input type="radio" name="solution" value="39">方便 + </p> + <p> + <input type="radio" name="solution" value="40">一般般 + </p> + <p> + <input type="radio" name="solution" value="41">不方便 + </p> + <p> + <input type="radio" name="solution" value="42">非常不方便 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="39"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + <li class="hide" key="2"> + <form class="feed-back-form" action="#"> + <div>您对新版还有哪些意见或建议?</div> + <textarea name="answer" id="feedback-answer" class="feedback-answer"></textarea> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="37"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + </ul> + </div> + <p id="feed-back-page" class="item-nav center"> + <span class="iconfont cur"></span> + <span class="iconfont "></span> + <span class="iconfont "></span> + </p> + </dd> + <dd class="last"> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>更多 YOHO!产品</span> + </div> + </div> + <div id="foot-mobile"> + <ul class="mobile clearfix"> + <li> + <a href="http://app.yohoshow.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg"> + </a> + </li> + <li> + <a href="http://www.yohoboys.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg"> + </a> + </li> + <li> + <a href="http://www.yohogirls.com/" target="_blank"> + <img class="lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg"> + </a> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur"></span> + </p> + </dd> + </dl> + </div> + </div> +';}).' <div class="footerbottom"> + <div class="promise"> + <div class="center-content clearfix"> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">100%</span> + <span class="rgbf">品牌授权正品</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">7天</span> + <span class="rgbf">无理由退换货</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="rgbf">客服电话:</span> + <span class="red">400-889-9646</span> + + <span class="rgb9">08:00-22:30(周一至周日)</span> + + <span> + <a class="red" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank">在线客服</a> + </span> + </div> + <div class="right subscribe footer-right"> + <input id="subscriber-box" class="rgb6 top" name="subscriberBox"value="订阅我们的邮件"> + <a id="subscriber-btn" href="javascript:void(0);" class="iconfont rgbf"></a> + </div> + </div> + </div> + <div class="footer-help"> + <div class="center-content clearfix"> + <div class="left"> + <ul class="clearfix"> + <li class="left"> + <p> + <span>新手指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a> + </p> + </li> + <li class="left"> + <p> + <span>会员中心</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=87" target="_blank">YOHO币</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a> + </p> + </li> + <li class="left"> + <p> + <span>购物指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=99" target="_blank">发票</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a> + </p> + </li> + <li class="left"> + <p> + <span>支付方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=111" target="_blank">YOHO币支付</a> + </p> + </li> + <li class="left"> + <p> + <span>配送方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a> + </p> + </li> + <li class="left"> + <p> + <span>售后服务</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a> + </p> + </li> + <li class="left"> + <p> + <span>APP常见问题</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a> + </p> + </li> + </ul> + </div> + </div> + </div> + <div class="footer-link"> + <div class="center-content clearfix"> + <div class="left right-flag"> + <a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&ct=df&a=1&pa=0.5902942178957805" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/credit-flag3.png"> + </a> + <a href="http://www.isc.org.cn/" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/isc2.png"> + </a> + </div> + <div class="left about-us"> + <p> + <a href="http://www.yohobuy.com">返回首页</a> + <span>|</span> + <a href="http://www.yohobuy.com">YOHO!有货</a> + <span>|</span> + <a href="http://www.yohobuy.com/newpower.html">新力传媒</a> + <span>|</span> + <a href="http://www.yohobuy.com/contact.html">联系我们</a> + <span>|</span> + <a href="http://shop.yohobuy.com/settled">商家入驻</a> + <span>|</span> + <a href="http://www.yohobuy.com/privacy.html">隐私条款</a> + <span>|</span> + <a href="http://www.yohobuy.com/link.html">友情链接</a> + </p> + <p> + CopyRight © 2007-2016 南京新与力文化传播有限公司 + <a class="rbg6" href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备09011225号</a> + NewPower Co. 版权所有 经营许可证编号:苏B2-20120395 + </p> + </div> + + </div> + </div> + </div> + <div class="return-top hide"> + <span class="iconfont"></span> + </div> + </div>'.''.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <script src="http://localhost:8001/static/js/sea.js?nowrap"></script> + <script> + seajs.config({ + base: \'http://localhost:8001/\' + }); + </script> +';}).''.' <script> + seajs.use(\'js/common\'); + </script> +'.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/header\'); + </script> +';}).''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/simple-header\'); + </script> +';}).''.Plugin\LCRun3::debug('if [boysHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/index/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [searchListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[searchListPage]', 'v', $cx, $in, array('searchListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(5); + window.onresize = function () { + setTimeout(function () { + product.init(5); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [brandPage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productListPage]', 'v', $cx, $in, array('productListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productDetailPage]', 'v', $cx, $in, array('productDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/item\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangIndexPage]', 'v', $cx, $in, array('guangIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangDetailPage]', 'v', $cx, $in, array('guangDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/detail\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangListPage]', 'v', $cx, $in, array('guangListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/list\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleIndexPage]', 'v', $cx, $in, array('saleIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/sale/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleListPage]', 'v', $cx, $in, array('saleListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [saleCatPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleCatPage]', 'v', $cx, $in, array('saleCatPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [loginPage]', 'ifv', $cx, Plugin\LCRun3::debug('[loginPage]', 'v', $cx, $in, array('loginPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/login\'); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdLogin]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdLogin]', 'v', $cx, $in, array('thirdLogin')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/thirdlogin\'); + </script> +';}).''.Plugin\LCRun3::debug('if [enablePerfectInformation]', 'ifv', $cx, Plugin\LCRun3::debug('[enablePerfectInformation]', 'v', $cx, $in, array('enablePerfectInformation')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/third-pwd\'); + </script> +';}).''.Plugin\LCRun3::debug('if [registerPage]', 'ifv', $cx, Plugin\LCRun3::debug('[registerPage]', 'v', $cx, $in, array('registerPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'reg\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdPage]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdPage]', 'v', $cx, $in, array('thirdPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'third\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [backPage]', 'ifv', $cx, Plugin\LCRun3::debug('[backPage]', 'v', $cx, $in, array('backPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/back\'); + </script> +';}).''.Plugin\LCRun3::debug('if [resetPage]', 'ifv', $cx, Plugin\LCRun3::debug('[resetPage]', 'v', $cx, $in, array('resetPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reset\'); + </script> +';}).''.Plugin\LCRun3::debug('if [vertificationPage]', 'ifv', $cx, Plugin\LCRun3::debug('[vertificationPage]', 'v', $cx, $in, array('vertificationPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/vertification\'); + </script> +';}).''.Plugin\LCRun3::debug('if [hotrankPage]', 'ifv', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/hotrank\'); + </script> +';}).''.Plugin\LCRun3::debug('if [brandsHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandsHomePage]', 'v', $cx, $in, array('brandsHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/brand/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [orderEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/order/ensure\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meIndexPage]', 'v', $cx, $in, array('meIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/index\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meOrdersPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meOrdersPage]', 'v', $cx, $in, array('meOrdersPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/orders\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meFavoritePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meFavoritePage]', 'v', $cx, $in, array('meFavoritePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/favorite\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meReturnsPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meReturnsPage]', 'v', $cx, $in, array('meReturnsPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/returns\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meCommentPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meCommentPage]', 'v', $cx, $in, array('meCommentPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/comment\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meEditPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meEditPage]', 'v', $cx, $in, array('meEditPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/edit\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meGiftPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meGiftPage]', 'v', $cx, $in, array('meGiftPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/gift\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meValidatePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meValidatePage]', 'v', $cx, $in, array('meValidatePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/validate\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meAddressPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meAddressPage]', 'v', $cx, $in, array('meAddressPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/address\'); + seajs.use(\'js/home/common-address\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [cartEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[cartEnsurePage]', 'v', $cx, $in, array('cartEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/cart/cart\'); + </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 || []; + var _gaq = _gaq || []; + (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() { + _gaq.push([\'_setAccount\', \'UA-48997038-32\']); + _gaq.push([\'_trackPageview\']); + var ga = document.createElement(\'script\'); + ga.type = \'text/javascript\'; ga.async = true; + ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\'; + var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s); + })(); + (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); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.criteo.net/js/ld/ld.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + var u = _ozuid || ""; + u = (u == 0) ? "" : u; + window.criteo_q = window.criteo_q || []; + window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" }); + })(); + } + if (window.addEventListener) { + window.addEventListener(\'load\', async_load, false); + } else if (window.attachEvent) { + window.attachEvent(\'onload\', async_load); + } + })(); + </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/js/v3/o_code.js?v=20150420" async="async"></script> +'.' </body> +</html> +'.''; +} +?> \ No newline at end of file diff --git a/compile/www.yohobuy.com/0.0.9/9c8cf7cda232ce8f0875908562a40845.php b/compile/www.yohobuy.com/0.0.9/9c8cf7cda232ce8f0875908562a40845.php new file mode 100644 index 0000000..ceb7f7f --- /dev/null +++ b/compile/www.yohobuy.com/0.0.9/9c8cf7cda232ce8f0875908562a40845.php @@ -0,0 +1,1052 @@ +<?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="X-UA-Compatible" content="IE=edge,chrome=1" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Cache-Control" content="no-siteapp" /> + <meta name="renderer" content="webkit"> + <meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'"> + <meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'"> + <title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + <link rel="dns-prefetch" href="//img10.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img11.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css"> +';}).'</head> +<body> +'.''.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <div class="yoho-header"> + <div class="header-topwrapper clearfix"> + <div class="header-top"> + <div class="leftpart float-left"> + <span class="icon-hamburger"></span> + <a href="http://www.yohobuy.com" class="header-yoho" >YOHO!有货</a> + <ul class="yohoproducts-list"> + <li class="yohoproducts-item"> + <a href="http://www.yoho.cn" class="yohogroup" en="YOHO!" cn="集团官网">YOHO!</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoboys.com" class="yohogroup" en="YOHO!BOYS" cn="男生潮流">YOHO!BOYS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohogirls.com" class="yohogroup" en="YOHO!GIRLS" cn="女生潮流">YOHO!GIRLS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoshow.com" class="yohogroup" en="YOHO!SHOW" cn="物趣分享">YOHO!SHOW</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohood.cn" class="yohogroup" en="YO\'HOOD" cn="潮流嘉年华">YO\'HOOD</a> + </li> + </ul> + </div> + <div class="rightpart"> + <div id="loginBox" class="float-left"> + <span class="hi">Hi~</span> + <a href="http://www.yohobuy.com/signin.html" class="loginbar">[请登录]</a> + <a href="http://www.yohobuy.com/reg.html" class="registbar">[免费注册]</a> + </div> + <div class="tag-list-wrapper"> + <ul class="tag-list"> + <li class="tag-item myyoho" id="myYohoBox"> + <span class="tag-seprate"></span> + <a href="http://www.yohobuy.com/home?t=1453340799.4986">MY有货</a> + <span class="icon-bottomarrow"></span> + <div class="myyoho-info"></div> + </li> + <li class="tag-item myorder"> + <span class="tag-seprate"></span> + <span class="icon-papers"></span> + <a href="http://www.yohobuy.com/home/orders?t=1453168898.0176">我的订单</a> + </li> + <li class="tag-item mycollect"> + <span class="tag-seprate"></span> + <span class="icon-heart"></span> + <a href="http://www.yohobuy.com/home/favorite?t=1453168898.0176">我的收藏</a> + </li> + <li class="tag-item message"> + <span class="tag-seprate"></span> + <span class="icon-mail"></span> + <a href="http://www.yohobuy.com/home/message?t=1453168898.0176">消息</a> + </li> + <li class="tag-item phone"> + <span class="tag-seprate"></span> + <span class="icon-iphone"></span> + <a href="http://www.yohobuy.com/download/app">手机版</a> + <div class="qr"> + <div class="qr-img"></div> + <h3 class="qr-words">扫描二维码</h3> + <h3 class="qr-words">下载有货手机客户端</h3> + <h3 class="qr-more"> + <a href="http://www.yohobuy.com/download/app">更多客户端下载</a> + </h3> + </div> + </li> + </ul> + </div> + </div> + </div> + </div> + <div class="header-navwrapper clearfix"> + <div class="header-navcontent"> + <ul class="first-nav-list float-left"> +'.Plugin\LCRun3::debug('[navbars]', 'sec', $cx, Plugin\LCRun3::debug('[navbars]', 'v', $cx, $in, array('navbars')), $in, false, function($cx, $in) {return ' <li class="first-nav-item '.Plugin\LCRun3::debug('[classname]', 'encq', $cx, Plugin\LCRun3::debug('[classname]', 'v', $cx, $in, array('classname'))).'"> + <h3 class="name-cn"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_cn]', 'encq', $cx, Plugin\LCRun3::debug('[name_cn]', 'v', $cx, $in, array('name_cn'))).'</a> + </h3> + <h3 class="name-en"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_en]', 'encq', $cx, Plugin\LCRun3::debug('[name_en]', 'v', $cx, $in, array('name_en'))).'</a> + </h3> + <div class=\'sub-nav-wrapper\'> + <ul class="sub-nav-list"> +'.Plugin\LCRun3::debug('[subnav]', 'sec', $cx, Plugin\LCRun3::debug('[subnav]', 'v', $cx, $in, array('subnav')), $in, false, function($cx, $in) {return ' <li class="sub-nav-item"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [is_new]', 'ifv', $cx, Plugin\LCRun3::debug('[is_new]', 'v', $cx, $in, array('is_new')), $in, function($cx, $in) {return ' <span class="newlogo"></span> +';}).' </a> +'.Plugin\LCRun3::debug('if [thirdnav]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, function($cx, $in) {return ' <div class="third-nav-wrapper"> + <div class="third-nav"> + <div class="categorywrapper" id="category'.Plugin\LCRun3::debug('../[index_main]', 'encq', $cx, Plugin\LCRun3::debug('../[index_main]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('index_main'))).''.Plugin\LCRun3::debug('[index_sub]', 'encq', $cx, Plugin\LCRun3::debug('[index_sub]', 'v', $cx, $in, array('index_sub'))).'"> + <div class="category"> +'.Plugin\LCRun3::debug('[thirdnav]', 'sec', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, false, function($cx, $in) {return ' <div class="thirdnavlist"> + <h1 class="category-title thirdnavbar"><a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</a> </h1> + <ul class="category-list"> +'.Plugin\LCRun3::debug('[branditems]', 'sec', $cx, Plugin\LCRun3::debug('[branditems]', 'v', $cx, $in, array('branditems')), $in, false, function($cx, $in) {return ' <li class="category- + item thirdnavbar"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'" hot='.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).' >'.Plugin\LCRun3::debug('[brandname]', 'encq', $cx, Plugin\LCRun3::debug('[brandname]', 'v', $cx, $in, array('brandname'))).'</a> + </li> +';}).' </ul> + </div> +';}).' </div> + </div> + <div class="showdetail" data-code="'.Plugin\LCRun3::debug('[content_code]', 'encq', $cx, Plugin\LCRun3::debug('[content_code]', 'v', $cx, $in, array('content_code'))).'"> + <a href="http://list.yohobuy.com/?gender=1,3&msort=8"> + <img src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="" style=""></a> + <a class="title" href="http://list.yohobuy.com/?gender=1,3&msort=8">热门小物优选</a> + </div> + </div> + </div> +';}).' </li> +';}).' </ul> + </div> + </li> +';}).' </ul> + <div class="icon-logo"><a href="http://www.yohobuy.com/" class="main-link"></a></div> + <div class="header-tool float-right"> + <div class="search float-left '.Plugin\LCRun3::debug('[searchcate]', 'encq', $cx, Plugin\LCRun3::debug('[searchcate]', 'v', $cx, $in, array('searchcate'))).'" > + <form action="http://search.yohobuy.com" method="get" id="searchForm"> + <span class="searchspan"> + <input type="hidden" id="defaultsearch"> + <input class="searchinput" type="text" name="query" id="query_key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value=\'\';this.style.color=\'#333\'}" onblur="if(this.value==\'\'){this.value=this.defaultValue;this.style.color=\'#999\'}" maxlength="30"></span> + <a class="icon-search" href="javascript:submitSearch();"></a> + <ul class="search-list"></ul> + </form> + </div> + <div class="gobuy float-left '.Plugin\LCRun3::debug('[gobytype]', 'encq', $cx, Plugin\LCRun3::debug('[gobytype]', 'v', $cx, $in, array('gobytype'))).'" id="miniCartBox"> + + <span class="ic-infomation">0</span> + <div class="gobuy-wrapper"></div> + + </div> + </div> + </div> + </div> + </div> + <div id="goodcartempwarpper"> + <script type="text/html" id="mini-cart-tpl"> + \\{\\{#carData\\}\\} + <div class="gobuy-notempty"> + <div class="goods-list-wrapper"> + <ul class="goods-list"> + \\{\\{#main_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img" /> + </a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/main_goods\\}\\} + \\{\\{#advance_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/advance_goods\\}\\} + \\{\\{# outlet_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/outlet_goods\\}\\} + \\{\\{#gift_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/gift_goods\\}\\} + \\{\\{#need_pay_gifts\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/need_pay_gifts\\}\\} + </ul> + <ul class="activity-list"> + {{#if has_promotion\\}\\} + <li class="activity-item"> + <span class="activity-name">活动</span> + <h3 class="activity-content"> + \\{\\{#if fit_outlet_promotion \\}\\}购outlet商品,满¥1999再享9折 + \\{\\{/if\\}\\} + \\{\\{#if has_other_promotion\\}\\} + <span class="mycart_i_down" title="更多" ></span> + \\{\\{/if\\}\\} + \\{\\{#if has_first_promotion\\}\\} + \\{\\{first_promotions.promotion_title\\}\\} + \\{\\{/if\\}\\} + </h3> + </li> + \\{\\{/if\\}\\} + \\{\\{#if fit_free_shipping \\}\\} + <li class="activity-item"> + <span class="activity-name">免运费</span> + <h3 class="activity-content">全场满 ¥\\{\\{fit_free_shipping\\}\\}免运费</h3> + </li> + \\{\\{/if\\}\\} + </ul> + </div> + <div class="gobuy-notempty-footer"> + <h3> + <a href="http://www.yohobuy.com/shopping/cart">去购物车结算</a> + </h3> + </div> + \\{\\{/carData\\}\\} + </script> + <script type="text/html" id="tmpl-my-login-new"> + <div class="myyoho-info-header clearfix"> + <div class="myyoho-photo" ><img src="\\{\\{headerimg head_ico\\}\\}" alt="" data-url =""></div> + <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\\{\\{random\\}\\}">\\{\\{profile_name\\}\\}</a></h3> + <h3 class="user-level"> + VIP: + <span class="leveldetail">\\{\\{vip.curVipInfo.title\\}\\}</span> + </h3> + \\{\\{#unless vip3 \\}\\} + <div class="levelinfo"> + <div class="levelwrapper float-left"> + <div class="levelspan"> + \\{\\{vip.curYearCost\\}\\}/\\{\\{vip.nextVipInfo.needCost\\}\\} + </div> + <p class="\\{\\{#if vip.curYearCostPer\\}\\}integrate\\{\\{/if\\}\\}" style="width: \\{\\{vip.curYearCostPer\\}\\}%;"></p> + </div> + <span class="cardcate float-left">\\{\\{vip.nextVipInfo.title\\}\\}</span> + </div> + \\{\\{/unless\\}\\} + </div> + <ul class="myyoho-info-content"> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/orders?t=\\{\\{timestamp\\}\\}">待处理的订单</a> + </span> + <span class="itemnum float-right">\\{\\{orderCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/favorite?t=\\{\\{timestamp\\}\\}">我的收藏</a> + </span> + <span class="itemnum float-right"></span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/coupons?t=\\{\\{timestamp\\}\\}">我的优惠券</a> + </span> + <span class="itemnum float-right">\\{\\{couponCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/currency?t=\\{\\{timestamp\\}\\}">我的YOHO币</a> + </span> + <span class="itemnum float-right">\\{\\{YohocoinCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/returns?t=\\{\\{timestamp\\}\\}">我的退货换货</a> + </span> + <span class="itemnum float-right">\\{\\{refundCount\\}\\}</span> + </li> + </ul> + <div class="myyoho-info-footer"> + <a href="http://www.yohobuy.com/home/user?t=\\{\\{timestamp\\}\\}">完善资料</a> + </div> + </script> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +';}).' +'.' '.''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return '<div class="simple-header"> + <div class="header-inner clearfix"> +'.Plugin\LCRun3::debug('[logo]', 'sec', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo')), $in, false, function($cx, $in) {return ' <h1 class="logo"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'"> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </h1> +';}).' <ul class="header-tool clearfix"> +'.Plugin\LCRun3::debug('[tool]', 'sec', $cx, Plugin\LCRun3::debug('[tool]', 'v', $cx, $in, array('tool')), $in, false, function($cx, $in) {return ' <li> + <span>Hi~</span> +'.Plugin\LCRun3::debug('[user]', 'sec', $cx, Plugin\LCRun3::debug('[user]', 'v', $cx, $in, array('user')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</a> +';}).' +'.Plugin\LCRun3::debug('[loginHref]', 'sec', $cx, Plugin\LCRun3::debug('[loginHref]', 'v', $cx, $in, array('loginHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[请登录]</a> +';}).' +'.Plugin\LCRun3::debug('[logoutHref]', 'sec', $cx, Plugin\LCRun3::debug('[logoutHref]', 'v', $cx, $in, array('logoutHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[退出]</a> +';}).' +'.Plugin\LCRun3::debug('[registerHref]', 'sec', $cx, Plugin\LCRun3::debug('[registerHref]', 'v', $cx, $in, array('registerHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[免费注册]</a> +';}).' </li> + <li class="tool-options"> + <span><a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">MY有货</a></span> + <i class="options-icon down iconfont"></i> + <i class="options-icon up iconfont"></i> + <div class="tool-select"> + <a href="'.Plugin\LCRun3::debug('[favoriteHref]', 'encq', $cx, Plugin\LCRun3::debug('[favoriteHref]', 'v', $cx, $in, array('favoriteHref'))).'">我的收藏</a> + <a href="'.Plugin\LCRun3::debug('[couponHref]', 'encq', $cx, Plugin\LCRun3::debug('[couponHref]', 'v', $cx, $in, array('couponHref'))).'">优惠券</a> + </div> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[orderHref]', 'encq', $cx, Plugin\LCRun3::debug('[orderHref]', 'v', $cx, $in, array('orderHref'))).'">订单中心</a> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[helpHref]', 'encq', $cx, Plugin\LCRun3::debug('[helpHref]', 'v', $cx, $in, array('helpHref'))).'">帮助中心</a> + </li> + <li> + <i class="tell-icon iconfont"></i> + <span>400-9889-9646</span> + </li> +';}).' </ul> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +</div> +';}).''.''.''.Plugin\LCRun3::debug('if [errorPage]', 'ifv', $cx, Plugin\LCRun3::debug('[errorPage]', 'v', $cx, $in, array('errorPage')), $in, function($cx, $in) {return '<div class="err-page err-404 screen"> + <div class="tips-404"> + <p class="tip">很抱歉,您访问的页面不存在!</p> + <p class="links"> + <a href="'.Plugin\LCRun3::debug('[newProductLink]', 'encq', $cx, Plugin\LCRun3::debug('[newProductLink]', 'v', $cx, $in, array('newProductLink'))).'">浏览新品</a> + + <a href="http://www.yohobuy.com/">返回首页</a> + </p> + </div> +</div> +';}).''.''.' <div class="yoho-footer"> +'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> + <div class="index-foot"> + <dl class="center-content clearfix"> + <dd> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>有货SERVICES</span> + </div> + </div> + <div id="foot-services"> + <ul class="two-dim clearfix"> + <li class="left"> + <img class="dim-img lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png"> + <p>YOHO!有货</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg"> + <p>微信</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png"> + <p>微博</p> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur" key="0"></span> + </p> + </dd> + <dd> + <div id="feed-back-box-list" class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>意见反馈</span> + </div> + </div> + <ul class="vote clearfix"> + <li key="0"> + <form class="feed-back-form" action="#"> + <div>您喜欢有货的新版吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="33">非常喜欢 + </p> + <p> + <input type="radio" name="solution" value="34">喜欢 + </p> + <p> + <input type="radio" name="solution" value="35">一般般 + </p> + <p> + <input type="radio" name="solution" value="36">不喜欢 + </p> + <p> + <input type="radio" name="solution" value="37">非常不喜欢 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" name="question_id" value="38"> + <input class="feedback-id" type="hidden" name="feedback_id" value="5"> + </form> + </li> + <li class="hide" key="1"> + <form class="feed-back-form" action="#"> + <div>您可以方便的找到想查看的内容吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="38">非常方便 + </p> + <p> + <input type="radio" name="solution" value="39">方便 + </p> + <p> + <input type="radio" name="solution" value="40">一般般 + </p> + <p> + <input type="radio" name="solution" value="41">不方便 + </p> + <p> + <input type="radio" name="solution" value="42">非常不方便 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="39"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + <li class="hide" key="2"> + <form class="feed-back-form" action="#"> + <div>您对新版还有哪些意见或建议?</div> + <textarea name="answer" id="feedback-answer" class="feedback-answer"></textarea> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="37"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + </ul> + </div> + <p id="feed-back-page" class="item-nav center"> + <span class="iconfont cur"></span> + <span class="iconfont "></span> + <span class="iconfont "></span> + </p> + </dd> + <dd class="last"> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>更多 YOHO!产品</span> + </div> + </div> + <div id="foot-mobile"> + <ul class="mobile clearfix"> + <li> + <a href="http://app.yohoshow.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg"> + </a> + </li> + <li> + <a href="http://www.yohoboys.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg"> + </a> + </li> + <li> + <a href="http://www.yohogirls.com/" target="_blank"> + <img class="lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg"> + </a> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur"></span> + </p> + </dd> + </dl> + </div> + </div> +';}).' <div class="footerbottom"> + <div class="promise"> + <div class="center-content clearfix"> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">100%</span> + <span class="rgbf">品牌授权正品</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">7天</span> + <span class="rgbf">无理由退换货</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="rgbf">客服电话:</span> + <span class="red">400-889-9646</span> + + <span class="rgb9">08:00-22:30(周一至周日)</span> + + <span> + <a class="red" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank">在线客服</a> + </span> + </div> + <div class="right subscribe footer-right"> + <input id="subscriber-box" class="rgb6 top" name="subscriberBox"value="订阅我们的邮件"> + <a id="subscriber-btn" href="javascript:void(0);" class="iconfont rgbf"></a> + </div> + </div> + </div> + <div class="footer-help"> + <div class="center-content clearfix"> + <div class="left"> + <ul class="clearfix"> + <li class="left"> + <p> + <span>新手指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a> + </p> + </li> + <li class="left"> + <p> + <span>会员中心</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=87" target="_blank">YOHO币</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a> + </p> + </li> + <li class="left"> + <p> + <span>购物指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=99" target="_blank">发票</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a> + </p> + </li> + <li class="left"> + <p> + <span>支付方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=111" target="_blank">YOHO币支付</a> + </p> + </li> + <li class="left"> + <p> + <span>配送方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a> + </p> + </li> + <li class="left"> + <p> + <span>售后服务</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a> + </p> + </li> + <li class="left"> + <p> + <span>APP常见问题</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a> + </p> + </li> + </ul> + </div> + </div> + </div> + <div class="footer-link"> + <div class="center-content clearfix"> + <div class="left right-flag"> + <a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&ct=df&a=1&pa=0.5902942178957805" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/credit-flag3.png"> + </a> + <a href="http://www.isc.org.cn/" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/isc2.png"> + </a> + </div> + <div class="left about-us"> + <p> + <a href="http://www.yohobuy.com">返回首页</a> + <span>|</span> + <a href="http://www.yohobuy.com">YOHO!有货</a> + <span>|</span> + <a href="http://www.yohobuy.com/newpower.html">新力传媒</a> + <span>|</span> + <a href="http://www.yohobuy.com/contact.html">联系我们</a> + <span>|</span> + <a href="http://shop.yohobuy.com/settled">商家入驻</a> + <span>|</span> + <a href="http://www.yohobuy.com/privacy.html">隐私条款</a> + <span>|</span> + <a href="http://www.yohobuy.com/link.html">友情链接</a> + </p> + <p> + CopyRight © 2007-2016 南京新与力文化传播有限公司 + <a class="rbg6" href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备09011225号</a> + NewPower Co. 版权所有 经营许可证编号:苏B2-20120395 + </p> + </div> + + </div> + </div> + </div> + <div class="return-top hide"> + <span class="iconfont"></span> + </div> + </div>'.''.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <script src="http://localhost:8001/static/js/sea.js?nowrap"></script> + <script> + seajs.config({ + base: \'http://localhost:8001/\' + }); + </script> +';}).''.' <script> + seajs.use(\'js/common\'); + </script> +'.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/header\'); + </script> +';}).''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/simple-header\'); + </script> +';}).''.Plugin\LCRun3::debug('if [boysHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/index/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [searchListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[searchListPage]', 'v', $cx, $in, array('searchListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(5); + window.onresize = function () { + setTimeout(function () { + product.init(5); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [brandPage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productListPage]', 'v', $cx, $in, array('productListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productDetailPage]', 'v', $cx, $in, array('productDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/item\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangIndexPage]', 'v', $cx, $in, array('guangIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangDetailPage]', 'v', $cx, $in, array('guangDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/detail\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangListPage]', 'v', $cx, $in, array('guangListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/list\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleIndexPage]', 'v', $cx, $in, array('saleIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/sale/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleListPage]', 'v', $cx, $in, array('saleListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [saleCatPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleCatPage]', 'v', $cx, $in, array('saleCatPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [loginPage]', 'ifv', $cx, Plugin\LCRun3::debug('[loginPage]', 'v', $cx, $in, array('loginPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/login\'); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdLogin]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdLogin]', 'v', $cx, $in, array('thirdLogin')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/thirdlogin\'); + </script> +';}).''.Plugin\LCRun3::debug('if [enablePerfectInformation]', 'ifv', $cx, Plugin\LCRun3::debug('[enablePerfectInformation]', 'v', $cx, $in, array('enablePerfectInformation')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/third-pwd\'); + </script> +';}).''.Plugin\LCRun3::debug('if [registerPage]', 'ifv', $cx, Plugin\LCRun3::debug('[registerPage]', 'v', $cx, $in, array('registerPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'reg\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdPage]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdPage]', 'v', $cx, $in, array('thirdPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'third\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [backPage]', 'ifv', $cx, Plugin\LCRun3::debug('[backPage]', 'v', $cx, $in, array('backPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/back\'); + </script> +';}).''.Plugin\LCRun3::debug('if [resetPage]', 'ifv', $cx, Plugin\LCRun3::debug('[resetPage]', 'v', $cx, $in, array('resetPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reset\'); + </script> +';}).''.Plugin\LCRun3::debug('if [vertificationPage]', 'ifv', $cx, Plugin\LCRun3::debug('[vertificationPage]', 'v', $cx, $in, array('vertificationPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/vertification\'); + </script> +';}).''.Plugin\LCRun3::debug('if [hotrankPage]', 'ifv', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/hotrank\'); + </script> +';}).''.Plugin\LCRun3::debug('if [brandsHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandsHomePage]', 'v', $cx, $in, array('brandsHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/brand/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [orderEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/order/ensure\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meIndexPage]', 'v', $cx, $in, array('meIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/index\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meOrdersPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meOrdersPage]', 'v', $cx, $in, array('meOrdersPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/orders\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meFavoritePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meFavoritePage]', 'v', $cx, $in, array('meFavoritePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/favorite\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meReturnsPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meReturnsPage]', 'v', $cx, $in, array('meReturnsPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/returns\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meCommentPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meCommentPage]', 'v', $cx, $in, array('meCommentPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/comment\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meEditPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meEditPage]', 'v', $cx, $in, array('meEditPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/edit\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meGiftPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meGiftPage]', 'v', $cx, $in, array('meGiftPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/gift\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meValidatePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meValidatePage]', 'v', $cx, $in, array('meValidatePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/validate\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meAddressPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meAddressPage]', 'v', $cx, $in, array('meAddressPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/address\'); + seajs.use(\'js/home/common-address\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [cartEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[cartEnsurePage]', 'v', $cx, $in, array('cartEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/cart/cart\'); + </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 || []; + var _gaq = _gaq || []; + (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() { + _gaq.push([\'_setAccount\', \'UA-48997038-32\']); + _gaq.push([\'_trackPageview\']); + var ga = document.createElement(\'script\'); + ga.type = \'text/javascript\'; ga.async = true; + ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\'; + var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s); + })(); + (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); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.criteo.net/js/ld/ld.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + var u = _ozuid || ""; + u = (u == 0) ? "" : u; + window.criteo_q = window.criteo_q || []; + window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" }); + })(); + } + if (window.addEventListener) { + window.addEventListener(\'load\', async_load, false); + } else if (window.attachEvent) { + window.attachEvent(\'onload\', async_load); + } + })(); + </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/js/v3/o_code.js?v=20150420" async="async"></script> +'.' </body> +</html> +'.''; +} +?> \ No newline at end of file diff --git a/compile/www.yohobuy.com/0.0.9/a786fdab67d35dd6e2c4475baa41d726.php b/compile/www.yohobuy.com/0.0.9/a786fdab67d35dd6e2c4475baa41d726.php new file mode 100644 index 0000000..11e9c85 --- /dev/null +++ b/compile/www.yohobuy.com/0.0.9/a786fdab67d35dd6e2c4475baa41d726.php @@ -0,0 +1,1115 @@ +<?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="X-UA-Compatible" content="IE=edge,chrome=1" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Cache-Control" content="no-siteapp" /> + <meta name="renderer" content="webkit"> + <meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'"> + <meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'"> + <title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + <link rel="dns-prefetch" href="//img10.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img11.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css"> +';}).'</head> +<body> +'.''.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <div class="yoho-header"> + <div class="header-topwrapper clearfix"> + <div class="header-top"> + <div class="leftpart float-left"> + <span class="icon-hamburger"></span> + <a href="http://www.yohobuy.com" class="header-yoho" >YOHO!有货</a> + <ul class="yohoproducts-list"> + <li class="yohoproducts-item"> + <a href="http://www.yoho.cn" class="yohogroup" en="YOHO!" cn="集团官网">YOHO!</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoboys.com" class="yohogroup" en="YOHO!BOYS" cn="男生潮流">YOHO!BOYS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohogirls.com" class="yohogroup" en="YOHO!GIRLS" cn="女生潮流">YOHO!GIRLS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoshow.com" class="yohogroup" en="YOHO!SHOW" cn="物趣分享">YOHO!SHOW</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohood.cn" class="yohogroup" en="YO\'HOOD" cn="潮流嘉年华">YO\'HOOD</a> + </li> + </ul> + </div> + <div class="rightpart"> + <div id="loginBox" class="float-left"> + <span class="hi">Hi~</span> + <a href="http://www.yohobuy.com/signin.html" class="loginbar">[请登录]</a> + <a href="http://www.yohobuy.com/reg.html" class="registbar">[免费注册]</a> + </div> + <div class="tag-list-wrapper"> + <ul class="tag-list"> + <li class="tag-item myyoho" id="myYohoBox"> + <span class="tag-seprate"></span> + <a href="http://www.yohobuy.com/home?t=1453340799.4986">MY有货</a> + <span class="icon-bottomarrow"></span> + <div class="myyoho-info"></div> + </li> + <li class="tag-item myorder"> + <span class="tag-seprate"></span> + <span class="icon-papers"></span> + <a href="http://www.yohobuy.com/home/orders?t=1453168898.0176">我的订单</a> + </li> + <li class="tag-item mycollect"> + <span class="tag-seprate"></span> + <span class="icon-heart"></span> + <a href="http://www.yohobuy.com/home/favorite?t=1453168898.0176">我的收藏</a> + </li> + <li class="tag-item message"> + <span class="tag-seprate"></span> + <span class="icon-mail"></span> + <a href="http://www.yohobuy.com/home/message?t=1453168898.0176">消息</a> + </li> + <li class="tag-item phone"> + <span class="tag-seprate"></span> + <span class="icon-iphone"></span> + <a href="http://www.yohobuy.com/download/app">手机版</a> + <div class="qr"> + <div class="qr-img"></div> + <h3 class="qr-words">扫描二维码</h3> + <h3 class="qr-words">下载有货手机客户端</h3> + <h3 class="qr-more"> + <a href="http://www.yohobuy.com/download/app">更多客户端下载</a> + </h3> + </div> + </li> + </ul> + </div> + </div> + </div> + </div> + <div class="header-navwrapper clearfix"> + <div class="header-navcontent"> + <ul class="first-nav-list float-left"> +'.Plugin\LCRun3::debug('[navbars]', 'sec', $cx, Plugin\LCRun3::debug('[navbars]', 'v', $cx, $in, array('navbars')), $in, false, function($cx, $in) {return ' <li class="first-nav-item '.Plugin\LCRun3::debug('[classname]', 'encq', $cx, Plugin\LCRun3::debug('[classname]', 'v', $cx, $in, array('classname'))).'"> + <h3 class="name-cn"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_cn]', 'encq', $cx, Plugin\LCRun3::debug('[name_cn]', 'v', $cx, $in, array('name_cn'))).'</a> + </h3> + <h3 class="name-en"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_en]', 'encq', $cx, Plugin\LCRun3::debug('[name_en]', 'v', $cx, $in, array('name_en'))).'</a> + </h3> + <div class=\'sub-nav-wrapper\'> + <ul class="sub-nav-list"> +'.Plugin\LCRun3::debug('[subnav]', 'sec', $cx, Plugin\LCRun3::debug('[subnav]', 'v', $cx, $in, array('subnav')), $in, false, function($cx, $in) {return ' <li class="sub-nav-item"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [is_new]', 'ifv', $cx, Plugin\LCRun3::debug('[is_new]', 'v', $cx, $in, array('is_new')), $in, function($cx, $in) {return ' <span class="newlogo"></span> +';}).' </a> +'.Plugin\LCRun3::debug('if [thirdnav]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, function($cx, $in) {return ' <div class="third-nav-wrapper"> + <div class="third-nav"> + <div class="categorywrapper" id="category'.Plugin\LCRun3::debug('../[index_main]', 'encq', $cx, Plugin\LCRun3::debug('../[index_main]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('index_main'))).''.Plugin\LCRun3::debug('[index_sub]', 'encq', $cx, Plugin\LCRun3::debug('[index_sub]', 'v', $cx, $in, array('index_sub'))).'"> + <div class="category"> +'.Plugin\LCRun3::debug('[thirdnav]', 'sec', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, false, function($cx, $in) {return ' <div class="thirdnavlist"> + <h1 class="category-title thirdnavbar"><a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</a> </h1> + <ul class="category-list"> +'.Plugin\LCRun3::debug('[branditems]', 'sec', $cx, Plugin\LCRun3::debug('[branditems]', 'v', $cx, $in, array('branditems')), $in, false, function($cx, $in) {return ' <li class="category- + item thirdnavbar"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'" hot='.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).' >'.Plugin\LCRun3::debug('[brandname]', 'encq', $cx, Plugin\LCRun3::debug('[brandname]', 'v', $cx, $in, array('brandname'))).'</a> + </li> +';}).' </ul> + </div> +';}).' </div> + </div> + <div class="showdetail" data-code="'.Plugin\LCRun3::debug('[content_code]', 'encq', $cx, Plugin\LCRun3::debug('[content_code]', 'v', $cx, $in, array('content_code'))).'"> + <a href="http://list.yohobuy.com/?gender=1,3&msort=8"> + <img src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="" style=""></a> + <a class="title" href="http://list.yohobuy.com/?gender=1,3&msort=8">热门小物优选</a> + </div> + </div> + </div> +';}).' </li> +';}).' </ul> + </div> + </li> +';}).' </ul> + <div class="icon-logo"><a href="http://www.yohobuy.com/" class="main-link"></a></div> + <div class="header-tool float-right"> + <div class="search float-left '.Plugin\LCRun3::debug('[searchcate]', 'encq', $cx, Plugin\LCRun3::debug('[searchcate]', 'v', $cx, $in, array('searchcate'))).'" > + <form action="http://search.yohobuy.com" method="get" id="searchForm"> + <span class="searchspan"> + <input type="hidden" id="defaultsearch"> + <input class="searchinput" type="text" name="query" id="query_key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value=\'\';this.style.color=\'#333\'}" onblur="if(this.value==\'\'){this.value=this.defaultValue;this.style.color=\'#999\'}" maxlength="30"></span> + <a class="icon-search" href="javascript:submitSearch();"></a> + <ul class="search-list"></ul> + </form> + </div> + <div class="gobuy float-left '.Plugin\LCRun3::debug('[gobytype]', 'encq', $cx, Plugin\LCRun3::debug('[gobytype]', 'v', $cx, $in, array('gobytype'))).'" id="miniCartBox"> + + <span class="ic-infomation">0</span> + <div class="gobuy-wrapper"></div> + + </div> + </div> + </div> + </div> + </div> + <div id="goodcartempwarpper"> + <script type="text/html" id="mini-cart-tpl"> + \\{\\{#carData\\}\\} + <div class="gobuy-notempty"> + <div class="goods-list-wrapper"> + <ul class="goods-list"> + \\{\\{#main_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img" /> + </a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/main_goods\\}\\} + \\{\\{#advance_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/advance_goods\\}\\} + \\{\\{# outlet_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/outlet_goods\\}\\} + \\{\\{#gift_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/gift_goods\\}\\} + \\{\\{#need_pay_gifts\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/need_pay_gifts\\}\\} + </ul> + <ul class="activity-list"> + {{#if has_promotion\\}\\} + <li class="activity-item"> + <span class="activity-name">活动</span> + <h3 class="activity-content"> + \\{\\{#if fit_outlet_promotion \\}\\}购outlet商品,满¥1999再享9折 + \\{\\{/if\\}\\} + \\{\\{#if has_other_promotion\\}\\} + <span class="mycart_i_down" title="更多" ></span> + \\{\\{/if\\}\\} + \\{\\{#if has_first_promotion\\}\\} + \\{\\{first_promotions.promotion_title\\}\\} + \\{\\{/if\\}\\} + </h3> + </li> + \\{\\{/if\\}\\} + \\{\\{#if fit_free_shipping \\}\\} + <li class="activity-item"> + <span class="activity-name">免运费</span> + <h3 class="activity-content">全场满 ¥\\{\\{fit_free_shipping\\}\\}免运费</h3> + </li> + \\{\\{/if\\}\\} + </ul> + </div> + <div class="gobuy-notempty-footer"> + <h3> + <a href="http://www.yohobuy.com/shopping/cart">去购物车结算</a> + </h3> + </div> + \\{\\{/carData\\}\\} + </script> + <script type="text/html" id="tmpl-my-login-new"> + <div class="myyoho-info-header clearfix"> + <div class="myyoho-photo" ><img src="\\{\\{headerimg head_ico\\}\\}" alt="" data-url =""></div> + <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\\{\\{random\\}\\}">\\{\\{profile_name\\}\\}</a></h3> + <h3 class="user-level"> + VIP: + <span class="leveldetail">\\{\\{vip.curVipInfo.title\\}\\}</span> + </h3> + \\{\\{#unless vip3 \\}\\} + <div class="levelinfo"> + <div class="levelwrapper float-left"> + <div class="levelspan"> + \\{\\{vip.curYearCost\\}\\}/\\{\\{vip.nextVipInfo.needCost\\}\\} + </div> + <p class="\\{\\{#if vip.curYearCostPer\\}\\}integrate\\{\\{/if\\}\\}" style="width: \\{\\{vip.curYearCostPer\\}\\}%;"></p> + </div> + <span class="cardcate float-left">\\{\\{vip.nextVipInfo.title\\}\\}</span> + </div> + \\{\\{/unless\\}\\} + </div> + <ul class="myyoho-info-content"> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/orders?t=\\{\\{timestamp\\}\\}">待处理的订单</a> + </span> + <span class="itemnum float-right">\\{\\{orderCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/favorite?t=\\{\\{timestamp\\}\\}">我的收藏</a> + </span> + <span class="itemnum float-right"></span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/coupons?t=\\{\\{timestamp\\}\\}">我的优惠券</a> + </span> + <span class="itemnum float-right">\\{\\{couponCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/currency?t=\\{\\{timestamp\\}\\}">我的YOHO币</a> + </span> + <span class="itemnum float-right">\\{\\{YohocoinCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/returns?t=\\{\\{timestamp\\}\\}">我的退货换货</a> + </span> + <span class="itemnum float-right">\\{\\{refundCount\\}\\}</span> + </li> + </ul> + <div class="myyoho-info-footer"> + <a href="http://www.yohobuy.com/home/user?t=\\{\\{timestamp\\}\\}">完善资料</a> + </div> + </script> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +';}).' +'.' '.''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return '<div class="simple-header"> + <div class="header-inner clearfix"> +'.Plugin\LCRun3::debug('[logo]', 'sec', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo')), $in, false, function($cx, $in) {return ' <h1 class="logo"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'"> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </h1> +';}).' <ul class="header-tool clearfix"> +'.Plugin\LCRun3::debug('[tool]', 'sec', $cx, Plugin\LCRun3::debug('[tool]', 'v', $cx, $in, array('tool')), $in, false, function($cx, $in) {return ' <li> + <span>Hi~</span> +'.Plugin\LCRun3::debug('[user]', 'sec', $cx, Plugin\LCRun3::debug('[user]', 'v', $cx, $in, array('user')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</a> +';}).' +'.Plugin\LCRun3::debug('[loginHref]', 'sec', $cx, Plugin\LCRun3::debug('[loginHref]', 'v', $cx, $in, array('loginHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[请登录]</a> +';}).' +'.Plugin\LCRun3::debug('[logoutHref]', 'sec', $cx, Plugin\LCRun3::debug('[logoutHref]', 'v', $cx, $in, array('logoutHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[退出]</a> +';}).' +'.Plugin\LCRun3::debug('[registerHref]', 'sec', $cx, Plugin\LCRun3::debug('[registerHref]', 'v', $cx, $in, array('registerHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[免费注册]</a> +';}).' </li> + <li class="tool-options"> + <span><a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">MY有货</a></span> + <i class="options-icon down iconfont"></i> + <i class="options-icon up iconfont"></i> + <div class="tool-select"> + <a href="'.Plugin\LCRun3::debug('[favoriteHref]', 'encq', $cx, Plugin\LCRun3::debug('[favoriteHref]', 'v', $cx, $in, array('favoriteHref'))).'">我的收藏</a> + <a href="'.Plugin\LCRun3::debug('[couponHref]', 'encq', $cx, Plugin\LCRun3::debug('[couponHref]', 'v', $cx, $in, array('couponHref'))).'">优惠券</a> + </div> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[orderHref]', 'encq', $cx, Plugin\LCRun3::debug('[orderHref]', 'v', $cx, $in, array('orderHref'))).'">订单中心</a> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[helpHref]', 'encq', $cx, Plugin\LCRun3::debug('[helpHref]', 'v', $cx, $in, array('helpHref'))).'">帮助中心</a> + </li> + <li> + <i class="tell-icon iconfont"></i> + <span>400-9889-9646</span> + </li> +';}).' </ul> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +</div> +';}).''.''.'<div class="passport-page yoho-page clearfix"> +'.Plugin\LCRun3::debug('[passport]', 'sec', $cx, Plugin\LCRun3::debug('[passport]', 'v', $cx, $in, array('passport')), $in, false, function($cx, $in) {return ''.' <div class="passport-cover"> + <div class="cover-content"> +'.Plugin\LCRun3::debug('if [coverHref]', 'ifv', $cx, Plugin\LCRun3::debug('[coverHref]', 'v', $cx, $in, array('coverHref')), $in, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[coverHref]', 'encq', $cx, Plugin\LCRun3::debug('[coverHref]', 'v', $cx, $in, array('coverHref'))).'" target="_bank"> + <img class="cover-img" src="'.Plugin\LCRun3::debug('[coverImg]', 'encq', $cx, Plugin\LCRun3::debug('[coverImg]', 'v', $cx, $in, array('coverImg'))).'"> + </a> +';}, function($cx, $in) {return ' <img class="cover-img" src="'.Plugin\LCRun3::debug('[coverImg]', 'encq', $cx, Plugin\LCRun3::debug('[coverImg]', 'v', $cx, $in, array('coverImg'))).'"> +';}).' </div> + </div>'.' <div class="content"> +'.' <div class="register-page"> + <ul> + <li class="clearfix"> + <select id="region" class="region" name="region"> +'.Plugin\LCRun3::debug('each [region]', 'sec', $cx, Plugin\LCRun3::debug('[region]', 'v', $cx, $in, array('region')), $in, true, function($cx, $in) {return ' <option '.Plugin\LCRun3::debug('if [selected]', 'ifv', $cx, Plugin\LCRun3::debug('[selected]', 'v', $cx, $in, array('selected')), $in, function($cx, $in) {return 'selected="selected"';}).' value="'.Plugin\LCRun3::debug('[areaCode]', 'encq', $cx, Plugin\LCRun3::debug('[areaCode]', 'v', $cx, $in, array('areaCode'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</option> +';}).' </select> + </li> + <li class="clearfix" data-index="0"> + <span id="country-code" class="country-code">'.Plugin\LCRun3::debug('[location]', 'encq', $cx, Plugin\LCRun3::debug('[location]', 'v', $cx, $in, array('location'))).'</span> + <input value="" id="phone-num" class="input va phone-num" type="text" name="phoneNum" placeholder="请输入手机号码" autocomplete="off"> + </li> + <li class="w330 clearfix" data-index="1"> + <input id="captcha" class="input va captcha" type="text" name="captcha" placeholder="图形验证码" autocomplete="off" maxlength="4"> + <img id="captcha-img" class="captcha-img" src="'.Plugin\LCRun3::debug('[captchaUrl]', 'encq', $cx, Plugin\LCRun3::debug('[captchaUrl]', 'v', $cx, $in, array('captchaUrl'))).'" alt=""> + <a class="link change-captcha">换一张</a> + </li> + <li class="clearfix" data-index="2"> + <input id="msg-captcha" class="input va msg-captcha" type="text" name="msgCaptcha" placeholder="短信验证码" autocomplete="off" maxlength="4"> + <input id="send-captcha" class="btn send-captcha disable" type="button" value="获取短信验证码"> + <span id="msg-tip" class="hide msg-tip">短信验证码已发送至您的手机,请查收</span> + </li> + <li class="clearfix" data-index="3"> + <input id="pwd" class="input va pwd" name="pwd" placeholder="设置密码" autocomplete="off" maxlength="20" type="password"> + <div class="pwd-intensity-container"> + <span class="pwd-intensity low">低</span> + <span class="pwd-intensity mid">中</span> + <span class="pwd-intensity high">高</span> + </div> + <div id="pwd-tips" class="hide pwd-tips"> + <div class="default" id="pwd-tip1"><i></i>密码只支持6-20位字符</div> + <div class="default" id="pwd-tip2"><i></i>由字母、 数字组合,不能包含特殊符号</div> + </div> + </li> + + <li class="items-container clearfix"> + <input id="agree-terms" class="agree-terms" type="checkbox" checked=""> + <span> + 我已阅读并同意遵守 + <a class="link go-yoho-items" href="'.Plugin\LCRun3::debug('[itemUrl]', 'encq', $cx, Plugin\LCRun3::debug('[itemUrl]', 'v', $cx, $in, array('itemUrl'))).'" target="_blank">YOHO!有货服务条款</a> + </span> + </li> + <li class="clearfix"> + <input name="refer" id="refer" type="hidden" value="'.Plugin\LCRun3::debug('[referUrl]', 'encq', $cx, Plugin\LCRun3::debug('[referUrl]', 'v', $cx, $in, array('referUrl'))).'"> + <input id="register-btn" class="btn register-btn disable" type="submit" value="'.Plugin\LCRun3::debug('[regBtnText]', 'encq', $cx, Plugin\LCRun3::debug('[regBtnText]', 'v', $cx, $in, array('regBtnText'))).'" disabled=""> + </li> +'.Plugin\LCRun3::debug('[loginUrl]', 'sec', $cx, Plugin\LCRun3::debug('[loginUrl]', 'v', $cx, $in, array('loginUrl')), $in, false, function($cx, $in) {return ' <li class="quick-login-container"> + 我已注册YOHO!有货账号 + <a class="link go-login" href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">快速登录</a> + </li> +';}).' +'.Plugin\LCRun3::debug('[skipUrl]', 'sec', $cx, Plugin\LCRun3::debug('[skipUrl]', 'v', $cx, $in, array('skipUrl')), $in, false, function($cx, $in) {return ' <li class="skip-user-info"> + <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">跳过此步</a> + </li> +';}).' + </ul> + <div id="err-tip" class="err-tip hide"> + <span></span> + <b></b> + </div> + <input name="" type="hidden" id="open-id" value="'.Plugin\LCRun3::debug('[openId]', 'encq', $cx, Plugin\LCRun3::debug('[openId]', 'v', $cx, $in, array('openId'))).'"/> + <input name="" type="hidden" id="source-type" value="'.Plugin\LCRun3::debug('[sourceType]', 'encq', $cx, Plugin\LCRun3::debug('[sourceType]', 'v', $cx, $in, array('sourceType'))).'"/> + </div> +'.' </div> +';}).'</div> +'.''.' <div class="yoho-footer"> +'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> + <div class="index-foot"> + <dl class="center-content clearfix"> + <dd> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>有货SERVICES</span> + </div> + </div> + <div id="foot-services"> + <ul class="two-dim clearfix"> + <li class="left"> + <img class="dim-img lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png"> + <p>YOHO!有货</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg"> + <p>微信</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png"> + <p>微博</p> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur" key="0"></span> + </p> + </dd> + <dd> + <div id="feed-back-box-list" class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>意见反馈</span> + </div> + </div> + <ul class="vote clearfix"> + <li key="0"> + <form class="feed-back-form" action="#"> + <div>您喜欢有货的新版吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="33">非常喜欢 + </p> + <p> + <input type="radio" name="solution" value="34">喜欢 + </p> + <p> + <input type="radio" name="solution" value="35">一般般 + </p> + <p> + <input type="radio" name="solution" value="36">不喜欢 + </p> + <p> + <input type="radio" name="solution" value="37">非常不喜欢 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" name="question_id" value="38"> + <input class="feedback-id" type="hidden" name="feedback_id" value="5"> + </form> + </li> + <li class="hide" key="1"> + <form class="feed-back-form" action="#"> + <div>您可以方便的找到想查看的内容吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="38">非常方便 + </p> + <p> + <input type="radio" name="solution" value="39">方便 + </p> + <p> + <input type="radio" name="solution" value="40">一般般 + </p> + <p> + <input type="radio" name="solution" value="41">不方便 + </p> + <p> + <input type="radio" name="solution" value="42">非常不方便 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="39"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + <li class="hide" key="2"> + <form class="feed-back-form" action="#"> + <div>您对新版还有哪些意见或建议?</div> + <textarea name="answer" id="feedback-answer" class="feedback-answer"></textarea> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="37"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + </ul> + </div> + <p id="feed-back-page" class="item-nav center"> + <span class="iconfont cur"></span> + <span class="iconfont "></span> + <span class="iconfont "></span> + </p> + </dd> + <dd class="last"> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>更多 YOHO!产品</span> + </div> + </div> + <div id="foot-mobile"> + <ul class="mobile clearfix"> + <li> + <a href="http://app.yohoshow.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg"> + </a> + </li> + <li> + <a href="http://www.yohoboys.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg"> + </a> + </li> + <li> + <a href="http://www.yohogirls.com/" target="_blank"> + <img class="lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg"> + </a> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur"></span> + </p> + </dd> + </dl> + </div> + </div> +';}).' <div class="footerbottom"> + <div class="promise"> + <div class="center-content clearfix"> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">100%</span> + <span class="rgbf">品牌授权正品</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">7天</span> + <span class="rgbf">无理由退换货</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="rgbf">客服电话:</span> + <span class="red">400-889-9646</span> + + <span class="rgb9">08:00-22:30(周一至周日)</span> + + <span> + <a class="red" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank">在线客服</a> + </span> + </div> + <div class="right subscribe footer-right"> + <input id="subscriber-box" class="rgb6 top" name="subscriberBox"value="订阅我们的邮件"> + <a id="subscriber-btn" href="javascript:void(0);" class="iconfont rgbf"></a> + </div> + </div> + </div> + <div class="footer-help"> + <div class="center-content clearfix"> + <div class="left"> + <ul class="clearfix"> + <li class="left"> + <p> + <span>新手指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a> + </p> + </li> + <li class="left"> + <p> + <span>会员中心</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=87" target="_blank">YOHO币</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a> + </p> + </li> + <li class="left"> + <p> + <span>购物指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=99" target="_blank">发票</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a> + </p> + </li> + <li class="left"> + <p> + <span>支付方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=111" target="_blank">YOHO币支付</a> + </p> + </li> + <li class="left"> + <p> + <span>配送方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a> + </p> + </li> + <li class="left"> + <p> + <span>售后服务</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a> + </p> + </li> + <li class="left"> + <p> + <span>APP常见问题</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a> + </p> + </li> + </ul> + </div> + </div> + </div> + <div class="footer-link"> + <div class="center-content clearfix"> + <div class="left right-flag"> + <a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&ct=df&a=1&pa=0.5902942178957805" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/credit-flag3.png"> + </a> + <a href="http://www.isc.org.cn/" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/isc2.png"> + </a> + </div> + <div class="left about-us"> + <p> + <a href="http://www.yohobuy.com">返回首页</a> + <span>|</span> + <a href="http://www.yohobuy.com">YOHO!有货</a> + <span>|</span> + <a href="http://www.yohobuy.com/newpower.html">新力传媒</a> + <span>|</span> + <a href="http://www.yohobuy.com/contact.html">联系我们</a> + <span>|</span> + <a href="http://shop.yohobuy.com/settled">商家入驻</a> + <span>|</span> + <a href="http://www.yohobuy.com/privacy.html">隐私条款</a> + <span>|</span> + <a href="http://www.yohobuy.com/link.html">友情链接</a> + </p> + <p> + CopyRight © 2007-2016 南京新与力文化传播有限公司 + <a class="rbg6" href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备09011225号</a> + NewPower Co. 版权所有 经营许可证编号:苏B2-20120395 + </p> + </div> + + </div> + </div> + </div> + <div class="return-top hide"> + <span class="iconfont"></span> + </div> + </div>'.''.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <script src="http://localhost:8001/static/js/sea.js?nowrap"></script> + <script> + seajs.config({ + base: \'http://localhost:8001/\' + }); + </script> +';}).''.' <script> + seajs.use(\'js/common\'); + </script> +'.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/header\'); + </script> +';}).''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/simple-header\'); + </script> +';}).''.Plugin\LCRun3::debug('if [boysHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/index/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [searchListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[searchListPage]', 'v', $cx, $in, array('searchListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(5); + window.onresize = function () { + setTimeout(function () { + product.init(5); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [brandPage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productListPage]', 'v', $cx, $in, array('productListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productDetailPage]', 'v', $cx, $in, array('productDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/item\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangIndexPage]', 'v', $cx, $in, array('guangIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangDetailPage]', 'v', $cx, $in, array('guangDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/detail\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangListPage]', 'v', $cx, $in, array('guangListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/list\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleIndexPage]', 'v', $cx, $in, array('saleIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/sale/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleListPage]', 'v', $cx, $in, array('saleListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [saleCatPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleCatPage]', 'v', $cx, $in, array('saleCatPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [loginPage]', 'ifv', $cx, Plugin\LCRun3::debug('[loginPage]', 'v', $cx, $in, array('loginPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/login\'); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdLogin]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdLogin]', 'v', $cx, $in, array('thirdLogin')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/thirdlogin\'); + </script> +';}).''.Plugin\LCRun3::debug('if [enablePerfectInformation]', 'ifv', $cx, Plugin\LCRun3::debug('[enablePerfectInformation]', 'v', $cx, $in, array('enablePerfectInformation')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/third-pwd\'); + </script> +';}).''.Plugin\LCRun3::debug('if [registerPage]', 'ifv', $cx, Plugin\LCRun3::debug('[registerPage]', 'v', $cx, $in, array('registerPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'reg\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdPage]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdPage]', 'v', $cx, $in, array('thirdPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'third\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [backPage]', 'ifv', $cx, Plugin\LCRun3::debug('[backPage]', 'v', $cx, $in, array('backPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/back\'); + </script> +';}).''.Plugin\LCRun3::debug('if [resetPage]', 'ifv', $cx, Plugin\LCRun3::debug('[resetPage]', 'v', $cx, $in, array('resetPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reset\'); + </script> +';}).''.Plugin\LCRun3::debug('if [vertificationPage]', 'ifv', $cx, Plugin\LCRun3::debug('[vertificationPage]', 'v', $cx, $in, array('vertificationPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/vertification\'); + </script> +';}).''.Plugin\LCRun3::debug('if [hotrankPage]', 'ifv', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/hotrank\'); + </script> +';}).''.Plugin\LCRun3::debug('if [brandsHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandsHomePage]', 'v', $cx, $in, array('brandsHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/brand/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [orderEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/order/ensure\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meIndexPage]', 'v', $cx, $in, array('meIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/index\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meOrdersPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meOrdersPage]', 'v', $cx, $in, array('meOrdersPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/orders\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meFavoritePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meFavoritePage]', 'v', $cx, $in, array('meFavoritePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/favorite\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meReturnsPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meReturnsPage]', 'v', $cx, $in, array('meReturnsPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/returns\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meCommentPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meCommentPage]', 'v', $cx, $in, array('meCommentPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/comment\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meEditPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meEditPage]', 'v', $cx, $in, array('meEditPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/edit\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meGiftPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meGiftPage]', 'v', $cx, $in, array('meGiftPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/gift\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meValidatePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meValidatePage]', 'v', $cx, $in, array('meValidatePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/validate\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meAddressPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meAddressPage]', 'v', $cx, $in, array('meAddressPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/address\'); + seajs.use(\'js/home/common-address\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [cartEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[cartEnsurePage]', 'v', $cx, $in, array('cartEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/cart/cart\'); + </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 || []; + var _gaq = _gaq || []; + (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() { + _gaq.push([\'_setAccount\', \'UA-48997038-32\']); + _gaq.push([\'_trackPageview\']); + var ga = document.createElement(\'script\'); + ga.type = \'text/javascript\'; ga.async = true; + ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\'; + var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s); + })(); + (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); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.criteo.net/js/ld/ld.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + var u = _ozuid || ""; + u = (u == 0) ? "" : u; + window.criteo_q = window.criteo_q || []; + window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" }); + })(); + } + if (window.addEventListener) { + window.addEventListener(\'load\', async_load, false); + } else if (window.attachEvent) { + window.attachEvent(\'onload\', async_load); + } + })(); + </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/js/v3/o_code.js?v=20150420" async="async"></script> +'.' </body> +</html> +'.''; +} +?> \ No newline at end of file diff --git a/compile/www.yohobuy.com/0.0.9/b6b3bbae7ac664cb5709b8f91d07dba5.php b/compile/www.yohobuy.com/0.0.9/b6b3bbae7ac664cb5709b8f91d07dba5.php new file mode 100644 index 0000000..8a16cea --- /dev/null +++ b/compile/www.yohobuy.com/0.0.9/b6b3bbae7ac664cb5709b8f91d07dba5.php @@ -0,0 +1,1487 @@ +<?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="X-UA-Compatible" content="IE=edge,chrome=1" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Cache-Control" content="no-siteapp" /> + <meta name="renderer" content="webkit"> + <meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'"> + <meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'"> + <title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + <link rel="dns-prefetch" href="//img10.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img11.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css"> +';}).'</head> +<body> +'.''.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <div class="yoho-header"> + <div class="header-topwrapper clearfix"> + <div class="header-top"> + <div class="leftpart float-left"> + <span class="icon-hamburger"></span> + <a href="http://www.yohobuy.com" class="header-yoho" >YOHO!有货</a> + <ul class="yohoproducts-list"> + <li class="yohoproducts-item"> + <a href="http://www.yoho.cn" class="yohogroup" en="YOHO!" cn="集团官网">YOHO!</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoboys.com" class="yohogroup" en="YOHO!BOYS" cn="男生潮流">YOHO!BOYS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohogirls.com" class="yohogroup" en="YOHO!GIRLS" cn="女生潮流">YOHO!GIRLS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoshow.com" class="yohogroup" en="YOHO!SHOW" cn="物趣分享">YOHO!SHOW</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohood.cn" class="yohogroup" en="YO\'HOOD" cn="潮流嘉年华">YO\'HOOD</a> + </li> + </ul> + </div> + <div class="rightpart"> + <div id="loginBox" class="float-left"> + <span class="hi">Hi~</span> + <a href="http://www.yohobuy.com/signin.html" class="loginbar">[请登录]</a> + <a href="http://www.yohobuy.com/reg.html" class="registbar">[免费注册]</a> + </div> + <div class="tag-list-wrapper"> + <ul class="tag-list"> + <li class="tag-item myyoho" id="myYohoBox"> + <span class="tag-seprate"></span> + <a href="http://www.yohobuy.com/home?t=1453340799.4986">MY有货</a> + <span class="icon-bottomarrow"></span> + <div class="myyoho-info"></div> + </li> + <li class="tag-item myorder"> + <span class="tag-seprate"></span> + <span class="icon-papers"></span> + <a href="http://www.yohobuy.com/home/orders?t=1453168898.0176">我的订单</a> + </li> + <li class="tag-item mycollect"> + <span class="tag-seprate"></span> + <span class="icon-heart"></span> + <a href="http://www.yohobuy.com/home/favorite?t=1453168898.0176">我的收藏</a> + </li> + <li class="tag-item message"> + <span class="tag-seprate"></span> + <span class="icon-mail"></span> + <a href="http://www.yohobuy.com/home/message?t=1453168898.0176">消息</a> + </li> + <li class="tag-item phone"> + <span class="tag-seprate"></span> + <span class="icon-iphone"></span> + <a href="http://www.yohobuy.com/download/app">手机版</a> + <div class="qr"> + <div class="qr-img"></div> + <h3 class="qr-words">扫描二维码</h3> + <h3 class="qr-words">下载有货手机客户端</h3> + <h3 class="qr-more"> + <a href="http://www.yohobuy.com/download/app">更多客户端下载</a> + </h3> + </div> + </li> + </ul> + </div> + </div> + </div> + </div> + <div class="header-navwrapper clearfix"> + <div class="header-navcontent"> + <ul class="first-nav-list float-left"> +'.Plugin\LCRun3::debug('[navbars]', 'sec', $cx, Plugin\LCRun3::debug('[navbars]', 'v', $cx, $in, array('navbars')), $in, false, function($cx, $in) {return ' <li class="first-nav-item '.Plugin\LCRun3::debug('[classname]', 'encq', $cx, Plugin\LCRun3::debug('[classname]', 'v', $cx, $in, array('classname'))).'"> + <h3 class="name-cn"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_cn]', 'encq', $cx, Plugin\LCRun3::debug('[name_cn]', 'v', $cx, $in, array('name_cn'))).'</a> + </h3> + <h3 class="name-en"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_en]', 'encq', $cx, Plugin\LCRun3::debug('[name_en]', 'v', $cx, $in, array('name_en'))).'</a> + </h3> + <div class=\'sub-nav-wrapper\'> + <ul class="sub-nav-list"> +'.Plugin\LCRun3::debug('[subnav]', 'sec', $cx, Plugin\LCRun3::debug('[subnav]', 'v', $cx, $in, array('subnav')), $in, false, function($cx, $in) {return ' <li class="sub-nav-item"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [is_new]', 'ifv', $cx, Plugin\LCRun3::debug('[is_new]', 'v', $cx, $in, array('is_new')), $in, function($cx, $in) {return ' <span class="newlogo"></span> +';}).' </a> +'.Plugin\LCRun3::debug('if [thirdnav]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, function($cx, $in) {return ' <div class="third-nav-wrapper"> + <div class="third-nav"> + <div class="categorywrapper" id="category'.Plugin\LCRun3::debug('../[index_main]', 'encq', $cx, Plugin\LCRun3::debug('../[index_main]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('index_main'))).''.Plugin\LCRun3::debug('[index_sub]', 'encq', $cx, Plugin\LCRun3::debug('[index_sub]', 'v', $cx, $in, array('index_sub'))).'"> + <div class="category"> +'.Plugin\LCRun3::debug('[thirdnav]', 'sec', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, false, function($cx, $in) {return ' <div class="thirdnavlist"> + <h1 class="category-title thirdnavbar"><a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</a> </h1> + <ul class="category-list"> +'.Plugin\LCRun3::debug('[branditems]', 'sec', $cx, Plugin\LCRun3::debug('[branditems]', 'v', $cx, $in, array('branditems')), $in, false, function($cx, $in) {return ' <li class="category- + item thirdnavbar"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'" hot='.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).' >'.Plugin\LCRun3::debug('[brandname]', 'encq', $cx, Plugin\LCRun3::debug('[brandname]', 'v', $cx, $in, array('brandname'))).'</a> + </li> +';}).' </ul> + </div> +';}).' </div> + </div> + <div class="showdetail" data-code="'.Plugin\LCRun3::debug('[content_code]', 'encq', $cx, Plugin\LCRun3::debug('[content_code]', 'v', $cx, $in, array('content_code'))).'"> + <a href="http://list.yohobuy.com/?gender=1,3&msort=8"> + <img src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="" style=""></a> + <a class="title" href="http://list.yohobuy.com/?gender=1,3&msort=8">热门小物优选</a> + </div> + </div> + </div> +';}).' </li> +';}).' </ul> + </div> + </li> +';}).' </ul> + <div class="icon-logo"><a href="http://www.yohobuy.com/" class="main-link"></a></div> + <div class="header-tool float-right"> + <div class="search float-left '.Plugin\LCRun3::debug('[searchcate]', 'encq', $cx, Plugin\LCRun3::debug('[searchcate]', 'v', $cx, $in, array('searchcate'))).'" > + <form action="http://search.yohobuy.com" method="get" id="searchForm"> + <span class="searchspan"> + <input type="hidden" id="defaultsearch"> + <input class="searchinput" type="text" name="query" id="query_key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value=\'\';this.style.color=\'#333\'}" onblur="if(this.value==\'\'){this.value=this.defaultValue;this.style.color=\'#999\'}" maxlength="30"></span> + <a class="icon-search" href="javascript:submitSearch();"></a> + <ul class="search-list"></ul> + </form> + </div> + <div class="gobuy float-left '.Plugin\LCRun3::debug('[gobytype]', 'encq', $cx, Plugin\LCRun3::debug('[gobytype]', 'v', $cx, $in, array('gobytype'))).'" id="miniCartBox"> + + <span class="ic-infomation">0</span> + <div class="gobuy-wrapper"></div> + + </div> + </div> + </div> + </div> + </div> + <div id="goodcartempwarpper"> + <script type="text/html" id="mini-cart-tpl"> + \\{\\{#carData\\}\\} + <div class="gobuy-notempty"> + <div class="goods-list-wrapper"> + <ul class="goods-list"> + \\{\\{#main_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img" /> + </a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/main_goods\\}\\} + \\{\\{#advance_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/advance_goods\\}\\} + \\{\\{# outlet_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/outlet_goods\\}\\} + \\{\\{#gift_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/gift_goods\\}\\} + \\{\\{#need_pay_gifts\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/need_pay_gifts\\}\\} + </ul> + <ul class="activity-list"> + {{#if has_promotion\\}\\} + <li class="activity-item"> + <span class="activity-name">活动</span> + <h3 class="activity-content"> + \\{\\{#if fit_outlet_promotion \\}\\}购outlet商品,满¥1999再享9折 + \\{\\{/if\\}\\} + \\{\\{#if has_other_promotion\\}\\} + <span class="mycart_i_down" title="更多" ></span> + \\{\\{/if\\}\\} + \\{\\{#if has_first_promotion\\}\\} + \\{\\{first_promotions.promotion_title\\}\\} + \\{\\{/if\\}\\} + </h3> + </li> + \\{\\{/if\\}\\} + \\{\\{#if fit_free_shipping \\}\\} + <li class="activity-item"> + <span class="activity-name">免运费</span> + <h3 class="activity-content">全场满 ¥\\{\\{fit_free_shipping\\}\\}免运费</h3> + </li> + \\{\\{/if\\}\\} + </ul> + </div> + <div class="gobuy-notempty-footer"> + <h3> + <a href="http://www.yohobuy.com/shopping/cart">去购物车结算</a> + </h3> + </div> + \\{\\{/carData\\}\\} + </script> + <script type="text/html" id="tmpl-my-login-new"> + <div class="myyoho-info-header clearfix"> + <div class="myyoho-photo" ><img src="\\{\\{headerimg head_ico\\}\\}" alt="" data-url =""></div> + <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\\{\\{random\\}\\}">\\{\\{profile_name\\}\\}</a></h3> + <h3 class="user-level"> + VIP: + <span class="leveldetail">\\{\\{vip.curVipInfo.title\\}\\}</span> + </h3> + \\{\\{#unless vip3 \\}\\} + <div class="levelinfo"> + <div class="levelwrapper float-left"> + <div class="levelspan"> + \\{\\{vip.curYearCost\\}\\}/\\{\\{vip.nextVipInfo.needCost\\}\\} + </div> + <p class="\\{\\{#if vip.curYearCostPer\\}\\}integrate\\{\\{/if\\}\\}" style="width: \\{\\{vip.curYearCostPer\\}\\}%;"></p> + </div> + <span class="cardcate float-left">\\{\\{vip.nextVipInfo.title\\}\\}</span> + </div> + \\{\\{/unless\\}\\} + </div> + <ul class="myyoho-info-content"> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/orders?t=\\{\\{timestamp\\}\\}">待处理的订单</a> + </span> + <span class="itemnum float-right">\\{\\{orderCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/favorite?t=\\{\\{timestamp\\}\\}">我的收藏</a> + </span> + <span class="itemnum float-right"></span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/coupons?t=\\{\\{timestamp\\}\\}">我的优惠券</a> + </span> + <span class="itemnum float-right">\\{\\{couponCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/currency?t=\\{\\{timestamp\\}\\}">我的YOHO币</a> + </span> + <span class="itemnum float-right">\\{\\{YohocoinCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/returns?t=\\{\\{timestamp\\}\\}">我的退货换货</a> + </span> + <span class="itemnum float-right">\\{\\{refundCount\\}\\}</span> + </li> + </ul> + <div class="myyoho-info-footer"> + <a href="http://www.yohobuy.com/home/user?t=\\{\\{timestamp\\}\\}">完善资料</a> + </div> + </script> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +';}).' +'.' '.''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return '<div class="simple-header"> + <div class="header-inner clearfix"> +'.Plugin\LCRun3::debug('[logo]', 'sec', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo')), $in, false, function($cx, $in) {return ' <h1 class="logo"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'"> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </h1> +';}).' <ul class="header-tool clearfix"> +'.Plugin\LCRun3::debug('[tool]', 'sec', $cx, Plugin\LCRun3::debug('[tool]', 'v', $cx, $in, array('tool')), $in, false, function($cx, $in) {return ' <li> + <span>Hi~</span> +'.Plugin\LCRun3::debug('[user]', 'sec', $cx, Plugin\LCRun3::debug('[user]', 'v', $cx, $in, array('user')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</a> +';}).' +'.Plugin\LCRun3::debug('[loginHref]', 'sec', $cx, Plugin\LCRun3::debug('[loginHref]', 'v', $cx, $in, array('loginHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[请登录]</a> +';}).' +'.Plugin\LCRun3::debug('[logoutHref]', 'sec', $cx, Plugin\LCRun3::debug('[logoutHref]', 'v', $cx, $in, array('logoutHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[退出]</a> +';}).' +'.Plugin\LCRun3::debug('[registerHref]', 'sec', $cx, Plugin\LCRun3::debug('[registerHref]', 'v', $cx, $in, array('registerHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[免费注册]</a> +';}).' </li> + <li class="tool-options"> + <span><a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">MY有货</a></span> + <i class="options-icon down iconfont"></i> + <i class="options-icon up iconfont"></i> + <div class="tool-select"> + <a href="'.Plugin\LCRun3::debug('[favoriteHref]', 'encq', $cx, Plugin\LCRun3::debug('[favoriteHref]', 'v', $cx, $in, array('favoriteHref'))).'">我的收藏</a> + <a href="'.Plugin\LCRun3::debug('[couponHref]', 'encq', $cx, Plugin\LCRun3::debug('[couponHref]', 'v', $cx, $in, array('couponHref'))).'">优惠券</a> + </div> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[orderHref]', 'encq', $cx, Plugin\LCRun3::debug('[orderHref]', 'v', $cx, $in, array('orderHref'))).'">订单中心</a> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[helpHref]', 'encq', $cx, Plugin\LCRun3::debug('[helpHref]', 'v', $cx, $in, array('helpHref'))).'">帮助中心</a> + </li> + <li> + <i class="tell-icon iconfont"></i> + <span>400-9889-9646</span> + </li> +';}).' </ul> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +</div> +';}).''.''.'<div class="new-sale-page product-page yoho-page"> +'.Plugin\LCRun3::debug('[newSale]', 'sec', $cx, Plugin\LCRun3::debug('[newSale]', 'v', $cx, $in, array('newSale')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('[saleBanner]', 'sec', $cx, Plugin\LCRun3::debug('[saleBanner]', 'v', $cx, $in, array('saleBanner')), $in, false, function($cx, $in) {return ' <div class="banner-img" style="height: '.Plugin\LCRun3::debug('[bannerHeight]', 'encq', $cx, Plugin\LCRun3::debug('[bannerHeight]', 'v', $cx, $in, array('bannerHeight'))).'px;background:url('.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).') no-repeat top center;"></div> +';}).' + <div class="center-content clearfix"> +'.''.Plugin\LCRun3::debug('if [pathNav]', 'ifv', $cx, Plugin\LCRun3::debug('[pathNav]', 'v', $cx, $in, array('pathNav')), $in, function($cx, $in) {return ' <p class="path-nav"> +'.Plugin\LCRun3::debug('each [pathNav]', 'sec', $cx, Plugin\LCRun3::debug('[pathNav]', 'v', $cx, $in, array('pathNav')), $in, true, function($cx, $in) {return ''.Plugin\LCRun3::debug('if [href]', 'ifv', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href')), $in, function($cx, $in) {return ' <a '.Plugin\LCRun3::debug('if @[last]', 'ifv', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return 'class="last"';}).' href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[pathTitle]', 'encq', $cx, Plugin\LCRun3::debug('[pathTitle]', 'v', $cx, $in, array('pathTitle'))).'">'.Plugin\LCRun3::debug('[name]', 'raw', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}, function($cx, $in) {return ' <span '.Plugin\LCRun3::debug('if @[last]', 'ifv', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return 'class="last"';}).' title="'.Plugin\LCRun3::debug('[pathTitle]', 'encq', $cx, Plugin\LCRun3::debug('[pathTitle]', 'v', $cx, $in, array('pathTitle'))).'">'.Plugin\LCRun3::debug('[name]', 'raw', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</span> +';}).' +'.Plugin\LCRun3::debug('unless @[last]', 'unl', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return ' <span class="iconfont"></span> +';}).'';}).' </p> +';}).''.' +'.Plugin\LCRun3::debug('[saleTitle]', 'sec', $cx, Plugin\LCRun3::debug('[saleTitle]', 'v', $cx, $in, array('saleTitle')), $in, false, function($cx, $in) {return ' <div class="header-title"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <p class="line-through"></p> + <p class="count-wrap"> + <span class="count">共'.Plugin\LCRun3::debug('[count]', 'encq', $cx, Plugin\LCRun3::debug('[count]', 'v', $cx, $in, array('count'))).'个结果</span> + </p> + </div> +';}).' + <div class="list-left pull-left"> +'.''.Plugin\LCRun3::debug('[leftContent]', 'sec', $cx, Plugin\LCRun3::debug('[leftContent]', 'v', $cx, $in, array('leftContent')), $in, false, function($cx, $in) {return ' +'.Plugin\LCRun3::debug('[allDiscount]', 'sec', $cx, Plugin\LCRun3::debug('[allDiscount]', 'v', $cx, $in, array('allDiscount')), $in, false, function($cx, $in) {return ' <div class="sort-container"> + <ul class="sort-child-list new-sale"> +'.Plugin\LCRun3::debug('each [list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, true, function($cx, $in) {return ' <li '.Plugin\LCRun3::debug('if [active]', 'ifv', $cx, Plugin\LCRun3::debug('[active]', 'v', $cx, $in, array('active')), $in, function($cx, $in) {return 'class="active"';}).'> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <span>'.Plugin\LCRun3::debug('[num]', 'encq', $cx, Plugin\LCRun3::debug('[num]', 'v', $cx, $in, array('num'))).'</span> + </a> + </li> +';}).' </ul> + </div> +';}).' +'.Plugin\LCRun3::debug('[newSales]', 'sec', $cx, Plugin\LCRun3::debug('[newSales]', 'v', $cx, $in, array('newSales')), $in, false, function($cx, $in) {return ' <div class="sort-container"> + <h2 title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'"> + 一周新品上架 + <span>'.Plugin\LCRun3::debug('[updateNum]', 'encq', $cx, Plugin\LCRun3::debug('[updateNum]', 'v', $cx, $in, array('updateNum'))).'</span> + </h2> + <ul class="sort-child-list new-sale"> +'.Plugin\LCRun3::debug('each [list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, true, function($cx, $in) {return ' <li '.Plugin\LCRun3::debug('if [active]', 'ifv', $cx, Plugin\LCRun3::debug('[active]', 'v', $cx, $in, array('active')), $in, function($cx, $in) {return 'class="active"';}).'> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <span>'.Plugin\LCRun3::debug('[num]', 'encq', $cx, Plugin\LCRun3::debug('[num]', 'v', $cx, $in, array('num'))).'</span> + </a> + </li> +';}).' </ul> + </div> +';}).' +'.Plugin\LCRun3::debug('[allSort]', 'sec', $cx, Plugin\LCRun3::debug('[allSort]', 'v', $cx, $in, array('allSort')), $in, false, function($cx, $in) {return ' <div class="sort-container"> + <ul> +'.Plugin\LCRun3::debug('[all]', 'sec', $cx, Plugin\LCRun3::debug('[all]', 'v', $cx, $in, array('all')), $in, false, function($cx, $in) {return ' <li> + <h2> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <span>'.Plugin\LCRun3::debug('[updateNum]', 'encq', $cx, Plugin\LCRun3::debug('[updateNum]', 'v', $cx, $in, array('updateNum'))).'</span> + </a> + </h2> + </li> +';}).''.Plugin\LCRun3::debug('each [list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, true, function($cx, $in) {return ' <li class="product-list-nav '.Plugin\LCRun3::debug('if [active]', 'ifv', $cx, Plugin\LCRun3::debug('[active]', 'v', $cx, $in, array('active')), $in, function($cx, $in) {return 'active';}).'"> + <h3 title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'"> + <span class="icon-triangle"></span> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <span>'.Plugin\LCRun3::debug('[num]', 'encq', $cx, Plugin\LCRun3::debug('[num]', 'v', $cx, $in, array('num'))).'</span> + </h3> + <ul class="sort-child-list"> +'.Plugin\LCRun3::debug('each [childList]', 'sec', $cx, Plugin\LCRun3::debug('[childList]', 'v', $cx, $in, array('childList')), $in, true, function($cx, $in) {return ' <li class="'.Plugin\LCRun3::debug('if [childActive]', 'ifv', $cx, Plugin\LCRun3::debug('[childActive]', 'v', $cx, $in, array('childActive')), $in, function($cx, $in) {return 'active';}).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <span>'.Plugin\LCRun3::debug('[num]', 'encq', $cx, Plugin\LCRun3::debug('[num]', 'v', $cx, $in, array('num'))).'</span> + </a> + </li> +';}).' </ul> + </li> +';}).' </ul> + </div> +';}).' +'.Plugin\LCRun3::debug('[picLink]', 'sec', $cx, Plugin\LCRun3::debug('[picLink]', 'v', $cx, $in, array('picLink')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('if [picTitle]', 'ifv', $cx, Plugin\LCRun3::debug('[picTitle]', 'v', $cx, $in, array('picTitle')), $in, function($cx, $in) {return ' <h2 class="nav-pic-title">'.Plugin\LCRun3::debug('[picTitle]', 'encq', $cx, Plugin\LCRun3::debug('[picTitle]', 'v', $cx, $in, array('picTitle'))).'</h2> +';}).' <ul class="pic-nav"> +'.Plugin\LCRun3::debug('each [list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, true, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + <img src="'.Plugin\LCRun3::debug('[src]', 'encq', $cx, Plugin\LCRun3::debug('[src]', 'v', $cx, $in, array('src'))).'"> + </a> + </li> +';}).' </ul> +';}).'';}).''.' </div> + + <div class="list-right pull-right"> +'.Plugin\LCRun3::debug('[newMain]', 'sec', $cx, Plugin\LCRun3::debug('[newMain]', 'v', $cx, $in, array('newMain')), $in, false, function($cx, $in) {return ' <div class="new-banner"> + <a href="'.Plugin\LCRun3::debug('[bannerHref]', 'encq', $cx, Plugin\LCRun3::debug('[bannerHref]', 'v', $cx, $in, array('bannerHref'))).'"> + <img src="'.Plugin\LCRun3::debug('[banner]', 'encq', $cx, Plugin\LCRun3::debug('[banner]', 'v', $cx, $in, array('banner'))).'"> + </a> + </div> + <div class="new-brands clearfix"> + <span class="iconfont pre"></span> + <div class="brands-wrap"> + <ul class="brands"> +'.Plugin\LCRun3::debug('[brands]', 'sec', $cx, Plugin\LCRun3::debug('[brands]', 'v', $cx, $in, array('brands')), $in, false, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + <img src="'.Plugin\LCRun3::debug('[logo]', 'encq', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo'))).'"> + </a> + </li> +';}).' </ul> + </div> + <span class="iconfont next"></span> + </div> + <div class="new-floor-title"> + <span class="date">'.Plugin\LCRun3::debug('[date]', 'encq', $cx, Plugin\LCRun3::debug('[date]', 'v', $cx, $in, array('date'))).'</span> + <span class="title">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</span> + </div> +';}).' +'.''.Plugin\LCRun3::debug('[filters]', 'sec', $cx, Plugin\LCRun3::debug('[filters]', 'v', $cx, $in, array('filters')), $in, false, function($cx, $in) {return ''.' <div class="filter-box"> +'.Plugin\LCRun3::debug('[checkedConditions]', 'sec', $cx, Plugin\LCRun3::debug('[checkedConditions]', 'v', $cx, $in, array('checkedConditions')), $in, false, function($cx, $in) {return ' <div class="checked-conditions section"> + <span class="title">已选条件:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('each [conditions]', 'sec', $cx, Plugin\LCRun3::debug('[conditions]', 'v', $cx, $in, array('conditions')), $in, true, function($cx, $in) {return ' <a class="tag" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> +'.Plugin\LCRun3::debug('if [name]', 'ifv', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name')), $in, function($cx, $in) {return ' '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +';}, function($cx, $in) {return ' <i class="color-block" style="background: '.Plugin\LCRun3::debug('[color]', 'encq', $cx, Plugin\LCRun3::debug('[color]', 'v', $cx, $in, array('color'))).'"></i> +';}).' <i class="close iconfont"></i> + </a> +';}).' + <a class="clear-checked" href="'.Plugin\LCRun3::debug('[clearUrl]', 'encq', $cx, Plugin\LCRun3::debug('[clearUrl]', 'v', $cx, $in, array('clearUrl'))).'">清空筛选条件</a> + </div> + </div> +';}).' +'.Plugin\LCRun3::debug('if [channel]', 'ifv', $cx, Plugin\LCRun3::debug('[channel]', 'v', $cx, $in, array('channel')), $in, function($cx, $in) {return ' <div class="channel section"> + <span class="title">频道:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('each [channel]', 'sec', $cx, Plugin\LCRun3::debug('[channel]', 'v', $cx, $in, array('channel')), $in, true, function($cx, $in) {return ' <a class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + </a> +';}).' </div> + </div> +';}).' +'.Plugin\LCRun3::debug('if [gender]', 'ifv', $cx, Plugin\LCRun3::debug('[gender]', 'v', $cx, $in, array('gender')), $in, function($cx, $in) {return ' <div class="channel section"> + <span class="title">性别:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('each [gender]', 'sec', $cx, Plugin\LCRun3::debug('[gender]', 'v', $cx, $in, array('gender')), $in, true, function($cx, $in) {return ' <a class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + </a> +';}).' </div> + </div> +';}).' +'.Plugin\LCRun3::debug('if [sort]', 'ifv', $cx, Plugin\LCRun3::debug('[sort]', 'v', $cx, $in, array('sort')), $in, function($cx, $in) {return ' <div class="sort section"> + <span class="title">分类:</span> + + <div class="attr-content"> + <ul class="sort-pre clearfix"> +'.Plugin\LCRun3::debug('each [sort]', 'sec', $cx, Plugin\LCRun3::debug('[sort]', 'v', $cx, $in, array('sort')), $in, true, function($cx, $in) {return ' <li data-id="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> + <span class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <div class="sort-up-icon"></div> + </span> + </li> +';}).' </ul> + + <div class="sort-sub-wrap"> +'.Plugin\LCRun3::debug('each [sort]', 'sec', $cx, Plugin\LCRun3::debug('[sort]', 'v', $cx, $in, array('sort')), $in, true, function($cx, $in) {return ' <ul class="sort-sub clearfix hide"> +'.Plugin\LCRun3::debug('each [sub]', 'sec', $cx, Plugin\LCRun3::debug('[sub]', 'v', $cx, $in, array('sub')), $in, true, function($cx, $in) {return ' <li class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> +';}).' </div> + </div> + </div> +';}).' +'.Plugin\LCRun3::debug('if [misort]', 'ifv', $cx, Plugin\LCRun3::debug('[misort]', 'v', $cx, $in, array('misort')), $in, function($cx, $in) {return ' <div class="misort section"> + <span class="title">品类:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('each [misort]', 'sec', $cx, Plugin\LCRun3::debug('[misort]', 'v', $cx, $in, array('misort')), $in, true, function($cx, $in) {return ' <a class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + </a> +';}).' </div> + </div> +';}).' +'.Plugin\LCRun3::debug('[brand]', 'sec', $cx, Plugin\LCRun3::debug('[brand]', 'v', $cx, $in, array('brand')), $in, false, function($cx, $in) {return ' <div class="brand section"> + <span class="title">品牌:</span> + + <div class="attr-content"> + <ul class="default clearfix"> +'.Plugin\LCRun3::debug('[default]', 'sec', $cx, Plugin\LCRun3::debug('[default]', 'v', $cx, $in, array('default')), $in, false, function($cx, $in) {return ' <li class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </li> +';}).' </ul> + + <div class="brand-opt"> +'.Plugin\LCRun3::debug('if [showMore]', 'ifv', $cx, Plugin\LCRun3::debug('[showMore]', 'v', $cx, $in, array('showMore')), $in, function($cx, $in) {return ' <span id="brand-more" class="brand-more"> + <em>更多</em> + <i class="iconfont"></i> + </span> +';}).' +'.Plugin\LCRun3::debug('if [showMulti]', 'ifv', $cx, Plugin\LCRun3::debug('[showMulti]', 'v', $cx, $in, array('showMulti')), $in, function($cx, $in) {return ' <span id="brand-multi" class="multi-select">多选 +</span> +';}).' </div> + + <div class="brand-panel hide"> + <div class="panel-head clearfix"> + <p class="brands-index"> +'.Plugin\LCRun3::debug('each [brandIndex]', 'sec', $cx, Plugin\LCRun3::debug('[brandIndex]', 'v', $cx, $in, array('brandIndex')), $in, true, function($cx, $in) {return ' <span data-index="'.Plugin\LCRun3::debug('[index]', 'encq', $cx, Plugin\LCRun3::debug('[index]', 'v', $cx, $in, array('index'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</span> +';}).' </p> + + <div class="brand-search"> + <input id="brand-search-input" type="text"> + <span class="btn"> + <i class="iconfont"></i> + </span> + </div> + </div> + + <div class="panel-body"> + <div class="ul-scroll"> + <ul class="check-container clearfix"> +'.Plugin\LCRun3::debug('[brandsShow]', 'sec', $cx, Plugin\LCRun3::debug('[brandsShow]', 'v', $cx, $in, array('brandsShow')), $in, false, function($cx, $in) {return ' <li class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'" data-index="'.Plugin\LCRun3::debug('[index]', 'encq', $cx, Plugin\LCRun3::debug('[index]', 'v', $cx, $in, array('index'))).'" data-key="'.Plugin\LCRun3::debug('[key]', 'encq', $cx, Plugin\LCRun3::debug('[key]', 'v', $cx, $in, array('key'))).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + <span class="iconfont checkbox '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'" data-id="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"> +'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return '  +';}, function($cx, $in) {return '  +';}).' </span> + <span title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</span> + </a> + </li> +';}).' </ul> + </div> + </div> + + <div class="btns"> + <button id="brand-multi-ok" class="multi-select-ok dis">确定</button> + <button class="multi-select-cancel">取消</button> + </div> + </div> + </div> + </div> +';}).' +'.Plugin\LCRun3::debug('if [price]', 'ifv', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price')), $in, function($cx, $in) {return ' <div class="price section"> + <span class="title">价格:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('[price]', 'sec', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price')), $in, false, function($cx, $in) {return ' <a class="attr'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return ' checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">¥'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}).' + <div class="ud-price-range"> + ¥ + <input type="text" class="min limit" value="'.Plugin\LCRun3::debug('[customPrice].[min]', 'encq', $cx, Plugin\LCRun3::debug('[customPrice].[min]', 'v', $cx, $in, array('customPrice','min'))).'"> + <span class="price-sep">-</span> + <input type="text" class="max limit" value="'.Plugin\LCRun3::debug('[customPrice].[max]', 'encq', $cx, Plugin\LCRun3::debug('[customPrice].[max]', 'v', $cx, $in, array('customPrice','max'))).'"> + + <button class="price-sure hide">确定</button> + </div> + </div> + </div> +';}).' +'.Plugin\LCRun3::debug('if [color]', 'ifv', $cx, Plugin\LCRun3::debug('[color]', 'v', $cx, $in, array('color')), $in, function($cx, $in) {return ' <div class="color section"> + <span class="title">颜色:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('[color]', 'sec', $cx, Plugin\LCRun3::debug('[color]', 'v', $cx, $in, array('color')), $in, false, function($cx, $in) {return ' <a class="attr'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return ' checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> +'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return ' <span class="color-block"> + <i class="sub-color-block" style="background: '.Plugin\LCRun3::debug('[rgb]', 'encq', $cx, Plugin\LCRun3::debug('[rgb]', 'v', $cx, $in, array('rgb'))).'"></i> + </span> +';}, function($cx, $in) {return ' <i class="color-block" style="background: '.Plugin\LCRun3::debug('[rgb]', 'encq', $cx, Plugin\LCRun3::debug('[rgb]', 'v', $cx, $in, array('rgb'))).'"></i> +';}).' '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + </a> +';}).' </div> + </div> +';}).' + <div class="size section '.Plugin\LCRun3::debug('unless [size]', 'unl', $cx, Plugin\LCRun3::debug('[size]', 'v', $cx, $in, array('size')), $in, function($cx, $in) {return 'hide';}).'" '.Plugin\LCRun3::debug('if [size]', 'ifv', $cx, Plugin\LCRun3::debug('[size]', 'v', $cx, $in, array('size')), $in, function($cx, $in) {return 'data-load="true"';}).'> + <span class="title">尺码:</span> + + <div class="attr-content clearfix"> +'.Plugin\LCRun3::debug('[size]', 'sec', $cx, Plugin\LCRun3::debug('[size]', 'v', $cx, $in, array('size')), $in, false, function($cx, $in) {return ' <a class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}).' </div> + </div> + +'.Plugin\LCRun3::debug('if [seniorChose]', 'ifv', $cx, Plugin\LCRun3::debug('[seniorChose]', 'v', $cx, $in, array('seniorChose')), $in, function($cx, $in) {return ' <div class="senior section"> + <span class="title">高级选项:</span> + + <div class="attr-content"> + <ul class="clearfix senior-attr-wrap"> +'.Plugin\LCRun3::debug('each [seniorChose]', 'sec', $cx, Plugin\LCRun3::debug('[seniorChose]', 'v', $cx, $in, array('seniorChose')), $in, true, function($cx, $in) {return ' <li class="attr'.Plugin\LCRun3::debug('unless [sub]', 'unl', $cx, Plugin\LCRun3::debug('[sub]', 'v', $cx, $in, array('sub')), $in, function($cx, $in) {return ' no-sub';}).'"> +'.Plugin\LCRun3::debug('if [sub]', 'ifv', $cx, Plugin\LCRun3::debug('[sub]', 'v', $cx, $in, array('sub')), $in, function($cx, $in) {return ' '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + <span class="iconfont"></span> + + <div class="senior-up-icon"></div> +';}, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +';}).' </li> +';}).' </ul> + + <div class="senior-sub-wrap"> +'.Plugin\LCRun3::debug('each [seniorChose]', 'sec', $cx, Plugin\LCRun3::debug('[seniorChose]', 'v', $cx, $in, array('seniorChose')), $in, true, function($cx, $in) {return ''.Plugin\LCRun3::debug('if [sub]', 'ifv', $cx, Plugin\LCRun3::debug('[sub]', 'v', $cx, $in, array('sub')), $in, function($cx, $in) {return ' <div class="senior-sub hide" data-attr="'.Plugin\LCRun3::debug('[attr]', 'encq', $cx, Plugin\LCRun3::debug('[attr]', 'v', $cx, $in, array('attr'))).'"> + <div class="senior-baffle"></div> + <div class="senior-content"> +'.Plugin\LCRun3::debug('if [showMulti]', 'ifv', $cx, Plugin\LCRun3::debug('[showMulti]', 'v', $cx, $in, array('showMulti')), $in, function($cx, $in) {return ' <span class="multi-select">多选 +</span> +';}).' <ul class="clearfix check-container"> +'.Plugin\LCRun3::debug('each [sub]', 'sec', $cx, Plugin\LCRun3::debug('[sub]', 'v', $cx, $in, array('sub')), $in, true, function($cx, $in) {return ' <li class="attr '.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return 'checked';}).'"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> +'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return ' <span class="iconfont checkbox checked" data-id="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"></span> +';}, function($cx, $in) {return ' <span class="iconfont checkbox" data-id="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'"></span> +';}).' <span>'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</span> + </a> + </li> +';}).' </ul> + <div class="btns"> + <button class="multi-select-ok dis">确定</button> + <button class="multi-select-cancel">取消</button> + </div> + </div> + </div> +';}).'';}).' </div> + </div> + </div> +';}).' </div> +'.'';}).' +'.Plugin\LCRun3::debug('[opts]', 'sec', $cx, Plugin\LCRun3::debug('[opts]', 'v', $cx, $in, array('opts')), $in, false, function($cx, $in) {return ' <div class="sort-pager"> +'.Plugin\LCRun3::debug('[sortType]', 'sec', $cx, Plugin\LCRun3::debug('[sortType]', 'v', $cx, $in, array('sortType')), $in, false, function($cx, $in) {return ' <a class="sort-type'.Plugin\LCRun3::debug('if [active]', 'ifv', $cx, Plugin\LCRun3::debug('[active]', 'v', $cx, $in, array('active')), $in, function($cx, $in) {return ' active';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [hasSortOrient]', 'ifv', $cx, Plugin\LCRun3::debug('[hasSortOrient]', 'v', $cx, $in, array('hasSortOrient')), $in, function($cx, $in) {return ''.Plugin\LCRun3::debug('if [active]', 'ifv', $cx, Plugin\LCRun3::debug('[active]', 'v', $cx, $in, array('active')), $in, function($cx, $in) {return ''.Plugin\LCRun3::debug('if [desc]', 'ifv', $cx, Plugin\LCRun3::debug('[desc]', 'v', $cx, $in, array('desc')), $in, function($cx, $in) {return ' <span class="active-icon iconfont"></span> +';}, function($cx, $in) {return ' <span class="active-icon iconfont"></span> +';}).'';}, function($cx, $in) {return ' <span class="iconfont"></span> +';}).'';}, function($cx, $in) {return ' <span class="iconfont"></span> +';}).' </a> +';}).' +'.Plugin\LCRun3::debug('[checks]', 'sec', $cx, Plugin\LCRun3::debug('[checks]', 'v', $cx, $in, array('checks')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('if this', 'ifv', $cx, $in, $in, function($cx, $in) {return ' <a class="checks'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return ' checked';}).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> +'.Plugin\LCRun3::debug('if [checked]', 'ifv', $cx, Plugin\LCRun3::debug('[checked]', 'v', $cx, $in, array('checked')), $in, function($cx, $in) {return ' <span class="iconfont"></span> +';}, function($cx, $in) {return ' <span class="iconfont"></span> +';}).' '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' + </a> +';}).'';}).' +'.Plugin\LCRun3::debug('if ../[goods]', 'ifv', $cx, Plugin\LCRun3::debug('../[goods]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('goods')), $in, function($cx, $in) {return ' <div class="pager-wrap"> + <div class="page-count"> + <span id="count-per-page"> + '.Plugin\LCRun3::debug('[countPerPage]', 'encq', $cx, Plugin\LCRun3::debug('[countPerPage]', 'v', $cx, $in, array('countPerPage'))).' + <i class="iconfont"></i> + </span> + 每页 + <ul> +'.Plugin\LCRun3::debug('[pageCounts]', 'sec', $cx, Plugin\LCRun3::debug('[pageCounts]', 'v', $cx, $in, array('pageCounts')), $in, false, function($cx, $in) {return ' <li> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[count]', 'encq', $cx, Plugin\LCRun3::debug('[count]', 'v', $cx, $in, array('count'))).'</a> + </li> +';}).' </ul> + </div> + + <p class="page-orient"> +'.Plugin\LCRun3::debug('if [preHref]', 'ifv', $cx, Plugin\LCRun3::debug('[preHref]', 'v', $cx, $in, array('preHref')), $in, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[preHref]', 'encq', $cx, Plugin\LCRun3::debug('[preHref]', 'v', $cx, $in, array('preHref'))).'"> + <span class="iconfont"></span> + </a> +';}, function($cx, $in) {return ' <span class="dis-icon iconfont"></span> +';}).' + <span> + <i>'.Plugin\LCRun3::debug('[curPage]', 'encq', $cx, Plugin\LCRun3::debug('[curPage]', 'v', $cx, $in, array('curPage'))).'</i>/'.Plugin\LCRun3::debug('[pageCount]', 'encq', $cx, Plugin\LCRun3::debug('[pageCount]', 'v', $cx, $in, array('pageCount'))).' + </span> + +'.Plugin\LCRun3::debug('if [nextHref]', 'ifv', $cx, Plugin\LCRun3::debug('[nextHref]', 'v', $cx, $in, array('nextHref')), $in, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[nextHref]', 'encq', $cx, Plugin\LCRun3::debug('[nextHref]', 'v', $cx, $in, array('nextHref'))).'"> + <span class="iconfont"></span> + </a> +';}, function($cx, $in) {return ' <span class="dis-icon iconfont"></span> +';}).' </p> + </div> +';}).' </div> +';}).' +'.Plugin\LCRun3::debug('if [goods]', 'ifv', $cx, Plugin\LCRun3::debug('[goods]', 'v', $cx, $in, array('goods')), $in, function($cx, $in) {return ' <div class="goods-container clearfix"> +'.Plugin\LCRun3::debug('each [goods]', 'sec', $cx, Plugin\LCRun3::debug('[goods]', 'v', $cx, $in, array('goods')), $in, true, function($cx, $in) {return ''.' <div class="good-info" data-skn="'.Plugin\LCRun3::debug('[skn]', 'encq', $cx, Plugin\LCRun3::debug('[skn]', 'v', $cx, $in, array('skn'))).'" data-from="'.Plugin\LCRun3::debug('[from]', 'encq', $cx, Plugin\LCRun3::debug('[from]', 'v', $cx, $in, array('from'))).'"> + <div class="tag-container clearfix"> +'.Plugin\LCRun3::debug('[tags]', 'sec', $cx, Plugin\LCRun3::debug('[tags]', 'v', $cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('[isNew]', 'sec', $cx, Plugin\LCRun3::debug('[isNew]', 'v', $cx, $in, array('isNew')), $in, false, function($cx, $in) {return ' <span class="good-tag new-tag">NEW</span> +';}).''.Plugin\LCRun3::debug('[isReNew]', 'sec', $cx, Plugin\LCRun3::debug('[isReNew]', 'v', $cx, $in, array('isReNew')), $in, false, function($cx, $in) {return ' <span class="good-tag renew-tag">再到着</span> +';}).''.Plugin\LCRun3::debug('[isSale]', 'sec', $cx, Plugin\LCRun3::debug('[isSale]', 'v', $cx, $in, array('isSale')), $in, false, function($cx, $in) {return ' <span class="good-tag sale-tag">SALE</span> +';}).''.Plugin\LCRun3::debug('[isNewFestival]', 'sec', $cx, Plugin\LCRun3::debug('[isNewFestival]', 'v', $cx, $in, array('isNewFestival')), $in, false, function($cx, $in) {return ' <span class="good-tag new-festival-tag">新品节</span> +';}).''.Plugin\LCRun3::debug('[isLimit]', 'sec', $cx, Plugin\LCRun3::debug('[isLimit]', 'v', $cx, $in, array('isLimit')), $in, false, function($cx, $in) {return ' <span class="good-tag limit-tag">限量商品</span> +';}).''.Plugin\LCRun3::debug('[isYearEndPromotion]', 'sec', $cx, Plugin\LCRun3::debug('[isYearEndPromotion]', 'v', $cx, $in, array('isYearEndPromotion')), $in, false, function($cx, $in) {return ' <span class="good-tag yep-tag">年终大促</span> +';}).''.Plugin\LCRun3::debug('[isYearMidPromotion]', 'sec', $cx, Plugin\LCRun3::debug('[isYearMidPromotion]', 'v', $cx, $in, array('isYearMidPromotion')), $in, false, function($cx, $in) {return ' <span class="good-tag ymp-tag">年中热促</span> +';}).'';}).' </div> + <div class="good-detail-img"> + <a class="good-thumb" href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'" target="_blank"> + <img class="lazy" data-original="'.Plugin\LCRun3::debug('[thumb]', 'encq', $cx, Plugin\LCRun3::debug('[thumb]', 'v', $cx, $in, array('thumb'))).'"> + </a> +'.Plugin\LCRun3::debug('[isFew]', 'sec', $cx, Plugin\LCRun3::debug('[isFew]', 'v', $cx, $in, array('isFew')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> +';}).' +'.Plugin\LCRun3::debug('if [showColBtn]', 'ifv', $cx, Plugin\LCRun3::debug('[showColBtn]', 'v', $cx, $in, array('showColBtn')), $in, function($cx, $in) {return ' <span class="col-btn iconfont'.Plugin\LCRun3::debug('if [coled]', 'ifv', $cx, Plugin\LCRun3::debug('[coled]', 'v', $cx, $in, array('coled')), $in, function($cx, $in) {return ' coled';}).'"></span> +';}).' </div> + <div class="good-detail-text"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'" target="_blank">'.Plugin\LCRun3::debug('[name]', 'raw', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> +'.Plugin\LCRun3::debug('[brand]', 'sec', $cx, Plugin\LCRun3::debug('[brand]', 'v', $cx, $in, array('brand')), $in, false, function($cx, $in) {return ' <p class="brand"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a> + </p> +';}).' <p class="price"> +'.Plugin\LCRun3::debug('[marketPrice]', 'sec', $cx, Plugin\LCRun3::debug('[marketPrice]', 'v', $cx, $in, array('marketPrice')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</span> +';}).' <span class="sale-price'.Plugin\LCRun3::debug('unless [marketPrice]', 'unl', $cx, Plugin\LCRun3::debug('[marketPrice]', 'v', $cx, $in, array('marketPrice')), $in, function($cx, $in) {return 'prime-cost';}).'"> + ¥'.Plugin\LCRun3::debug('[salePrice]', 'encq', $cx, Plugin\LCRun3::debug('[salePrice]', 'v', $cx, $in, array('salePrice'))).' + </span> + </p> + </div> + </div> +'.'';}).''.Plugin\LCRun3::debug('[hasNextPage]', 'sec', $cx, Plugin\LCRun3::debug('[hasNextPage]', 'v', $cx, $in, array('hasNextPage')), $in, false, function($cx, $in) {return ' <div class="block-next-page"> + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'"> + <img src="'.Plugin\LCRun3::debug('[src]', 'encq', $cx, Plugin\LCRun3::debug('[src]', 'v', $cx, $in, array('src'))).'" alt=""/> + </a> + </div> +';}).' <div class="good-item-wrapper"> + <div class="good-info-main"></div> + <div class="good-select-color"></div> + </div> + </div> + + <div class="product-pager clearfix"> + <span class="total">'.Plugin\LCRun3::debug('[opts].[start]', 'encq', $cx, Plugin\LCRun3::debug('[opts].[start]', 'v', $cx, $in, array('opts','start'))).' - '.Plugin\LCRun3::debug('[opts].[end]', 'encq', $cx, Plugin\LCRun3::debug('[opts].[end]', 'v', $cx, $in, array('opts','end'))).' / 共'.Plugin\LCRun3::debug('[totalCount]', 'encq', $cx, Plugin\LCRun3::debug('[totalCount]', 'v', $cx, $in, array('totalCount'))).'件商品</span> + + <div class="pager"> + '.Plugin\LCRun3::debug('[pager]', 'raw', $cx, Plugin\LCRun3::debug('[pager]', 'v', $cx, $in, array('pager'))).' + </div> + </div> +';}, function($cx, $in) {return ''.' <div class="no-result"> + <p class="no-title"> + 抱歉!没有找到'.Plugin\LCRun3::debug('if [keyWord]', 'ifv', $cx, Plugin\LCRun3::debug('[keyWord]', 'v', $cx, $in, array('keyWord')), $in, function($cx, $in) {return '与"<b class="keyword">'.Plugin\LCRun3::debug('[keyWord]', 'encq', $cx, Plugin\LCRun3::debug('[keyWord]', 'v', $cx, $in, array('keyWord'))).'</b>"';}).'相关的商品 + </p> + <div class="search-again clearfix"> + <form method="GET" action="'.Plugin\LCRun3::debug('[searchActionUrl]', 'encq', $cx, Plugin\LCRun3::debug('[searchActionUrl]', 'v', $cx, $in, array('searchActionUrl'))).'"> + <input id="no-result-input" name="query" type="text" placeholder="换个关键词试试"> + <button class="search-again-btn" type="submit"> + <i class="iconfont"></i> + </button> + </form> + </div> + <p class="no-tip">建议您:看看输入的文字是否有误 / 减少分类条件限制 / 重新搜索</p> + </div> +'.'';}).''.' +'.''.Plugin\LCRun3::debug('if [latestWalk]', 'ifv', $cx, Plugin\LCRun3::debug('[latestWalk]', 'v', $cx, $in, array('latestWalk')), $in, function($cx, $in) {return ' <input id="latest-walk-count" type="hidden" value="'.Plugin\LCRun3::debug('[latestWalk]', 'encq', $cx, Plugin\LCRun3::debug('[latestWalk]', 'v', $cx, $in, array('latestWalk'))).'"> + <div class="latest-walk"> + <h2>最近浏览的商品</h2> + <div id="latest-walk-goods" class="goods clearfix"></div> + </div> +'.' <script id="latest-walk-tpl" type="text/html"> + {{# latestWalk}} + <div class="good"> + <a href="{{href}}" target="_blank"> + <img class="lazy" data-original="{{img}}"> + </a> + <a class="name" href="{{href}}" target="_blank">{{name}}</a> + <p class="price"> + <span class="market-price">{{marketPrice}}</span> + <span class="sale-price">{{salePrice}}</span> + </p> + </div> + {{/ latestWalk}} + </script>'.' ';}).''.' </div> + </div> +';}).'</div> +'.''.' <div class="yoho-footer"> +'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> + <div class="index-foot"> + <dl class="center-content clearfix"> + <dd> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>有货SERVICES</span> + </div> + </div> + <div id="foot-services"> + <ul class="two-dim clearfix"> + <li class="left"> + <img class="dim-img lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png"> + <p>YOHO!有货</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg"> + <p>微信</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png"> + <p>微博</p> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur" key="0"></span> + </p> + </dd> + <dd> + <div id="feed-back-box-list" class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>意见反馈</span> + </div> + </div> + <ul class="vote clearfix"> + <li key="0"> + <form class="feed-back-form" action="#"> + <div>您喜欢有货的新版吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="33">非常喜欢 + </p> + <p> + <input type="radio" name="solution" value="34">喜欢 + </p> + <p> + <input type="radio" name="solution" value="35">一般般 + </p> + <p> + <input type="radio" name="solution" value="36">不喜欢 + </p> + <p> + <input type="radio" name="solution" value="37">非常不喜欢 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" name="question_id" value="38"> + <input class="feedback-id" type="hidden" name="feedback_id" value="5"> + </form> + </li> + <li class="hide" key="1"> + <form class="feed-back-form" action="#"> + <div>您可以方便的找到想查看的内容吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="38">非常方便 + </p> + <p> + <input type="radio" name="solution" value="39">方便 + </p> + <p> + <input type="radio" name="solution" value="40">一般般 + </p> + <p> + <input type="radio" name="solution" value="41">不方便 + </p> + <p> + <input type="radio" name="solution" value="42">非常不方便 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="39"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + <li class="hide" key="2"> + <form class="feed-back-form" action="#"> + <div>您对新版还有哪些意见或建议?</div> + <textarea name="answer" id="feedback-answer" class="feedback-answer"></textarea> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="37"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + </ul> + </div> + <p id="feed-back-page" class="item-nav center"> + <span class="iconfont cur"></span> + <span class="iconfont "></span> + <span class="iconfont "></span> + </p> + </dd> + <dd class="last"> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>更多 YOHO!产品</span> + </div> + </div> + <div id="foot-mobile"> + <ul class="mobile clearfix"> + <li> + <a href="http://app.yohoshow.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg"> + </a> + </li> + <li> + <a href="http://www.yohoboys.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg"> + </a> + </li> + <li> + <a href="http://www.yohogirls.com/" target="_blank"> + <img class="lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg"> + </a> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur"></span> + </p> + </dd> + </dl> + </div> + </div> +';}).' <div class="footerbottom"> + <div class="promise"> + <div class="center-content clearfix"> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">100%</span> + <span class="rgbf">品牌授权正品</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">7天</span> + <span class="rgbf">无理由退换货</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="rgbf">客服电话:</span> + <span class="red">400-889-9646</span> + + <span class="rgb9">08:00-22:30(周一至周日)</span> + + <span> + <a class="red" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank">在线客服</a> + </span> + </div> + <div class="right subscribe footer-right"> + <input id="subscriber-box" class="rgb6 top" name="subscriberBox"value="订阅我们的邮件"> + <a id="subscriber-btn" href="javascript:void(0);" class="iconfont rgbf"></a> + </div> + </div> + </div> + <div class="footer-help"> + <div class="center-content clearfix"> + <div class="left"> + <ul class="clearfix"> + <li class="left"> + <p> + <span>新手指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a> + </p> + </li> + <li class="left"> + <p> + <span>会员中心</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=87" target="_blank">YOHO币</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a> + </p> + </li> + <li class="left"> + <p> + <span>购物指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=99" target="_blank">发票</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a> + </p> + </li> + <li class="left"> + <p> + <span>支付方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=111" target="_blank">YOHO币支付</a> + </p> + </li> + <li class="left"> + <p> + <span>配送方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a> + </p> + </li> + <li class="left"> + <p> + <span>售后服务</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a> + </p> + </li> + <li class="left"> + <p> + <span>APP常见问题</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a> + </p> + </li> + </ul> + </div> + </div> + </div> + <div class="footer-link"> + <div class="center-content clearfix"> + <div class="left right-flag"> + <a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&ct=df&a=1&pa=0.5902942178957805" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/credit-flag3.png"> + </a> + <a href="http://www.isc.org.cn/" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/isc2.png"> + </a> + </div> + <div class="left about-us"> + <p> + <a href="http://www.yohobuy.com">返回首页</a> + <span>|</span> + <a href="http://www.yohobuy.com">YOHO!有货</a> + <span>|</span> + <a href="http://www.yohobuy.com/newpower.html">新力传媒</a> + <span>|</span> + <a href="http://www.yohobuy.com/contact.html">联系我们</a> + <span>|</span> + <a href="http://shop.yohobuy.com/settled">商家入驻</a> + <span>|</span> + <a href="http://www.yohobuy.com/privacy.html">隐私条款</a> + <span>|</span> + <a href="http://www.yohobuy.com/link.html">友情链接</a> + </p> + <p> + CopyRight © 2007-2016 南京新与力文化传播有限公司 + <a class="rbg6" href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备09011225号</a> + NewPower Co. 版权所有 经营许可证编号:苏B2-20120395 + </p> + </div> + + </div> + </div> + </div> + <div class="return-top hide"> + <span class="iconfont"></span> + </div> + </div>'.''.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <script src="http://localhost:8001/static/js/sea.js?nowrap"></script> + <script> + seajs.config({ + base: \'http://localhost:8001/\' + }); + </script> +';}).''.' <script> + seajs.use(\'js/common\'); + </script> +'.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/header\'); + </script> +';}).''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/simple-header\'); + </script> +';}).''.Plugin\LCRun3::debug('if [boysHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/index/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [searchListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[searchListPage]', 'v', $cx, $in, array('searchListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(5); + window.onresize = function () { + setTimeout(function () { + product.init(5); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [brandPage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productListPage]', 'v', $cx, $in, array('productListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productDetailPage]', 'v', $cx, $in, array('productDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/item\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangIndexPage]', 'v', $cx, $in, array('guangIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangDetailPage]', 'v', $cx, $in, array('guangDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/detail\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangListPage]', 'v', $cx, $in, array('guangListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/list\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleIndexPage]', 'v', $cx, $in, array('saleIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/sale/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleListPage]', 'v', $cx, $in, array('saleListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [saleCatPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleCatPage]', 'v', $cx, $in, array('saleCatPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [loginPage]', 'ifv', $cx, Plugin\LCRun3::debug('[loginPage]', 'v', $cx, $in, array('loginPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/login\'); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdLogin]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdLogin]', 'v', $cx, $in, array('thirdLogin')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/thirdlogin\'); + </script> +';}).''.Plugin\LCRun3::debug('if [enablePerfectInformation]', 'ifv', $cx, Plugin\LCRun3::debug('[enablePerfectInformation]', 'v', $cx, $in, array('enablePerfectInformation')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/third-pwd\'); + </script> +';}).''.Plugin\LCRun3::debug('if [registerPage]', 'ifv', $cx, Plugin\LCRun3::debug('[registerPage]', 'v', $cx, $in, array('registerPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'reg\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdPage]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdPage]', 'v', $cx, $in, array('thirdPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'third\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [backPage]', 'ifv', $cx, Plugin\LCRun3::debug('[backPage]', 'v', $cx, $in, array('backPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/back\'); + </script> +';}).''.Plugin\LCRun3::debug('if [resetPage]', 'ifv', $cx, Plugin\LCRun3::debug('[resetPage]', 'v', $cx, $in, array('resetPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reset\'); + </script> +';}).''.Plugin\LCRun3::debug('if [vertificationPage]', 'ifv', $cx, Plugin\LCRun3::debug('[vertificationPage]', 'v', $cx, $in, array('vertificationPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/vertification\'); + </script> +';}).''.Plugin\LCRun3::debug('if [hotrankPage]', 'ifv', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/hotrank\'); + </script> +';}).''.Plugin\LCRun3::debug('if [brandsHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandsHomePage]', 'v', $cx, $in, array('brandsHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/brand/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [orderEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/order/ensure\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meIndexPage]', 'v', $cx, $in, array('meIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/index\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meOrdersPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meOrdersPage]', 'v', $cx, $in, array('meOrdersPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/orders\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meFavoritePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meFavoritePage]', 'v', $cx, $in, array('meFavoritePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/favorite\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meReturnsPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meReturnsPage]', 'v', $cx, $in, array('meReturnsPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/returns\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meCommentPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meCommentPage]', 'v', $cx, $in, array('meCommentPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/comment\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meEditPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meEditPage]', 'v', $cx, $in, array('meEditPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/edit\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meGiftPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meGiftPage]', 'v', $cx, $in, array('meGiftPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/gift\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meValidatePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meValidatePage]', 'v', $cx, $in, array('meValidatePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/validate\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meAddressPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meAddressPage]', 'v', $cx, $in, array('meAddressPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/address\'); + seajs.use(\'js/home/common-address\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [cartEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[cartEnsurePage]', 'v', $cx, $in, array('cartEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/cart/cart\'); + </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 || []; + var _gaq = _gaq || []; + (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() { + _gaq.push([\'_setAccount\', \'UA-48997038-32\']); + _gaq.push([\'_trackPageview\']); + var ga = document.createElement(\'script\'); + ga.type = \'text/javascript\'; ga.async = true; + ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\'; + var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s); + })(); + (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); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.criteo.net/js/ld/ld.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + var u = _ozuid || ""; + u = (u == 0) ? "" : u; + window.criteo_q = window.criteo_q || []; + window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" }); + })(); + } + if (window.addEventListener) { + window.addEventListener(\'load\', async_load, false); + } else if (window.attachEvent) { + window.attachEvent(\'onload\', async_load); + } + })(); + </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/js/v3/o_code.js?v=20150420" async="async"></script> +'.' </body> +</html> +'.''.''; +} +?> \ No newline at end of file diff --git a/compile/www.yohobuy.com/0.0.9/cd094d9ea4226eb8626152a1fbfc74f2.php b/compile/www.yohobuy.com/0.0.9/cd094d9ea4226eb8626152a1fbfc74f2.php new file mode 100644 index 0000000..07fec8e --- /dev/null +++ b/compile/www.yohobuy.com/0.0.9/cd094d9ea4226eb8626152a1fbfc74f2.php @@ -0,0 +1,1088 @@ +<?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="X-UA-Compatible" content="IE=edge,chrome=1" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Cache-Control" content="no-siteapp" /> + <meta name="renderer" content="webkit"> + <meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'"> + <meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'"> + <title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title> + <link rel="dns-prefetch" href="//cdn.yoho.cn"> + <link rel="dns-prefetch" href="//static.yohobuy.com"> + <link rel="dns-prefetch" href="//img10.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img11.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img12.static.yhbimg.com"> + <link rel="dns-prefetch" href="//img13.static.yhbimg.com"> +'.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css"> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css"> +';}).'</head> +<body> +'.''.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <div class="yoho-header"> + <div class="header-topwrapper clearfix"> + <div class="header-top"> + <div class="leftpart float-left"> + <span class="icon-hamburger"></span> + <a href="http://www.yohobuy.com" class="header-yoho" >YOHO!有货</a> + <ul class="yohoproducts-list"> + <li class="yohoproducts-item"> + <a href="http://www.yoho.cn" class="yohogroup" en="YOHO!" cn="集团官网">YOHO!</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoboys.com" class="yohogroup" en="YOHO!BOYS" cn="男生潮流">YOHO!BOYS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohogirls.com" class="yohogroup" en="YOHO!GIRLS" cn="女生潮流">YOHO!GIRLS</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohoshow.com" class="yohogroup" en="YOHO!SHOW" cn="物趣分享">YOHO!SHOW</a> + </li> + <li class="yohoproducts-item"> + <a href="http://www.yohood.cn" class="yohogroup" en="YO\'HOOD" cn="潮流嘉年华">YO\'HOOD</a> + </li> + </ul> + </div> + <div class="rightpart"> + <div id="loginBox" class="float-left"> + <span class="hi">Hi~</span> + <a href="http://www.yohobuy.com/signin.html" class="loginbar">[请登录]</a> + <a href="http://www.yohobuy.com/reg.html" class="registbar">[免费注册]</a> + </div> + <div class="tag-list-wrapper"> + <ul class="tag-list"> + <li class="tag-item myyoho" id="myYohoBox"> + <span class="tag-seprate"></span> + <a href="http://www.yohobuy.com/home?t=1453340799.4986">MY有货</a> + <span class="icon-bottomarrow"></span> + <div class="myyoho-info"></div> + </li> + <li class="tag-item myorder"> + <span class="tag-seprate"></span> + <span class="icon-papers"></span> + <a href="http://www.yohobuy.com/home/orders?t=1453168898.0176">我的订单</a> + </li> + <li class="tag-item mycollect"> + <span class="tag-seprate"></span> + <span class="icon-heart"></span> + <a href="http://www.yohobuy.com/home/favorite?t=1453168898.0176">我的收藏</a> + </li> + <li class="tag-item message"> + <span class="tag-seprate"></span> + <span class="icon-mail"></span> + <a href="http://www.yohobuy.com/home/message?t=1453168898.0176">消息</a> + </li> + <li class="tag-item phone"> + <span class="tag-seprate"></span> + <span class="icon-iphone"></span> + <a href="http://www.yohobuy.com/download/app">手机版</a> + <div class="qr"> + <div class="qr-img"></div> + <h3 class="qr-words">扫描二维码</h3> + <h3 class="qr-words">下载有货手机客户端</h3> + <h3 class="qr-more"> + <a href="http://www.yohobuy.com/download/app">更多客户端下载</a> + </h3> + </div> + </li> + </ul> + </div> + </div> + </div> + </div> + <div class="header-navwrapper clearfix"> + <div class="header-navcontent"> + <ul class="first-nav-list float-left"> +'.Plugin\LCRun3::debug('[navbars]', 'sec', $cx, Plugin\LCRun3::debug('[navbars]', 'v', $cx, $in, array('navbars')), $in, false, function($cx, $in) {return ' <li class="first-nav-item '.Plugin\LCRun3::debug('[classname]', 'encq', $cx, Plugin\LCRun3::debug('[classname]', 'v', $cx, $in, array('classname'))).'"> + <h3 class="name-cn"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_cn]', 'encq', $cx, Plugin\LCRun3::debug('[name_cn]', 'v', $cx, $in, array('name_cn'))).'</a> + </h3> + <h3 class="name-en"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name_en]', 'encq', $cx, Plugin\LCRun3::debug('[name_en]', 'v', $cx, $in, array('name_en'))).'</a> + </h3> + <div class=\'sub-nav-wrapper\'> + <ul class="sub-nav-list"> +'.Plugin\LCRun3::debug('[subnav]', 'sec', $cx, Plugin\LCRun3::debug('[subnav]', 'v', $cx, $in, array('subnav')), $in, false, function($cx, $in) {return ' <li class="sub-nav-item"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' +'.Plugin\LCRun3::debug('if [is_new]', 'ifv', $cx, Plugin\LCRun3::debug('[is_new]', 'v', $cx, $in, array('is_new')), $in, function($cx, $in) {return ' <span class="newlogo"></span> +';}).' </a> +'.Plugin\LCRun3::debug('if [thirdnav]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, function($cx, $in) {return ' <div class="third-nav-wrapper"> + <div class="third-nav"> + <div class="categorywrapper" id="category'.Plugin\LCRun3::debug('../[index_main]', 'encq', $cx, Plugin\LCRun3::debug('../[index_main]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('index_main'))).''.Plugin\LCRun3::debug('[index_sub]', 'encq', $cx, Plugin\LCRun3::debug('[index_sub]', 'v', $cx, $in, array('index_sub'))).'"> + <div class="category"> +'.Plugin\LCRun3::debug('[thirdnav]', 'sec', $cx, Plugin\LCRun3::debug('[thirdnav]', 'v', $cx, $in, array('thirdnav')), $in, false, function($cx, $in) {return ' <div class="thirdnavlist"> + <h1 class="category-title thirdnavbar"><a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</a> </h1> + <ul class="category-list"> +'.Plugin\LCRun3::debug('[branditems]', 'sec', $cx, Plugin\LCRun3::debug('[branditems]', 'v', $cx, $in, array('branditems')), $in, false, function($cx, $in) {return ' <li class="category- + item thirdnavbar"> + <a href="'.Plugin\LCRun3::debug('[link]', 'encq', $cx, Plugin\LCRun3::debug('[link]', 'v', $cx, $in, array('link'))).'" hot='.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).' >'.Plugin\LCRun3::debug('[brandname]', 'encq', $cx, Plugin\LCRun3::debug('[brandname]', 'v', $cx, $in, array('brandname'))).'</a> + </li> +';}).' </ul> + </div> +';}).' </div> + </div> + <div class="showdetail" data-code="'.Plugin\LCRun3::debug('[content_code]', 'encq', $cx, Plugin\LCRun3::debug('[content_code]', 'v', $cx, $in, array('content_code'))).'"> + <a href="http://list.yohobuy.com/?gender=1,3&msort=8"> + <img src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="" style=""></a> + <a class="title" href="http://list.yohobuy.com/?gender=1,3&msort=8">热门小物优选</a> + </div> + </div> + </div> +';}).' </li> +';}).' </ul> + </div> + </li> +';}).' </ul> + <div class="icon-logo"><a href="http://www.yohobuy.com/" class="main-link"></a></div> + <div class="header-tool float-right"> + <div class="search float-left '.Plugin\LCRun3::debug('[searchcate]', 'encq', $cx, Plugin\LCRun3::debug('[searchcate]', 'v', $cx, $in, array('searchcate'))).'" > + <form action="http://search.yohobuy.com" method="get" id="searchForm"> + <span class="searchspan"> + <input type="hidden" id="defaultsearch"> + <input class="searchinput" type="text" name="query" id="query_key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value=\'\';this.style.color=\'#333\'}" onblur="if(this.value==\'\'){this.value=this.defaultValue;this.style.color=\'#999\'}" maxlength="30"></span> + <a class="icon-search" href="javascript:submitSearch();"></a> + <ul class="search-list"></ul> + </form> + </div> + <div class="gobuy float-left '.Plugin\LCRun3::debug('[gobytype]', 'encq', $cx, Plugin\LCRun3::debug('[gobytype]', 'v', $cx, $in, array('gobytype'))).'" id="miniCartBox"> + + <span class="ic-infomation">0</span> + <div class="gobuy-wrapper"></div> + + </div> + </div> + </div> + </div> + </div> + <div id="goodcartempwarpper"> + <script type="text/html" id="mini-cart-tpl"> + \\{\\{#carData\\}\\} + <div class="gobuy-notempty"> + <div class="goods-list-wrapper"> + <ul class="goods-list"> + \\{\\{#main_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img" /> + </a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/main_goods\\}\\} + \\{\\{#advance_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/advance_goods\\}\\} + \\{\\{# outlet_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/outlet_goods\\}\\} + \\{\\{#gift_goods\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/gift_goods\\}\\} + \\{\\{#need_pay_gifts\\}\\} + {{#notzero buy_number}} + <li class="goods-item"> + <a href="\\{\\{product_url\\}\\}"> + <img src="\\{\\{default_img\\}\\}" alt="" class="goods-img"></a> + <div class="goods-detail float-left"> + <h3 class="content"><a href="\\{\\{product_url\\}\\}">\\{\\{product_name\\}\\}</a></h3> + <h3 class="style"> + 颜色: + <span class="color">\\{\\{color_name\\}\\}</span> + 尺码: + <span class="size">\\{\\{size_name\\}\\}</span> + </h3> + </div> + <div class="goods-price float-left"> + <h3 class="priceandnum"> + <span class="price">\\{\\{show_price\\}\\}</span> + x + <span class="num">\\{\\{buy_number\\}\\}</span> + </h3> + <a href="javascript:void(0)" class="delete goodscardelete" goodsid=\\{\\{goods_incart_id\\}\\} cheapest=\\{\\{is_cheapest_free\\}\\}>删除</a> + </div> + </li> + {{/notzero}} + \\{\\{/need_pay_gifts\\}\\} + </ul> + <ul class="activity-list"> + {{#if has_promotion\\}\\} + <li class="activity-item"> + <span class="activity-name">活动</span> + <h3 class="activity-content"> + \\{\\{#if fit_outlet_promotion \\}\\}购outlet商品,满¥1999再享9折 + \\{\\{/if\\}\\} + \\{\\{#if has_other_promotion\\}\\} + <span class="mycart_i_down" title="更多" ></span> + \\{\\{/if\\}\\} + \\{\\{#if has_first_promotion\\}\\} + \\{\\{first_promotions.promotion_title\\}\\} + \\{\\{/if\\}\\} + </h3> + </li> + \\{\\{/if\\}\\} + \\{\\{#if fit_free_shipping \\}\\} + <li class="activity-item"> + <span class="activity-name">免运费</span> + <h3 class="activity-content">全场满 ¥\\{\\{fit_free_shipping\\}\\}免运费</h3> + </li> + \\{\\{/if\\}\\} + </ul> + </div> + <div class="gobuy-notempty-footer"> + <h3> + <a href="http://www.yohobuy.com/shopping/cart">去购物车结算</a> + </h3> + </div> + \\{\\{/carData\\}\\} + </script> + <script type="text/html" id="tmpl-my-login-new"> + <div class="myyoho-info-header clearfix"> + <div class="myyoho-photo" ><img src="\\{\\{headerimg head_ico\\}\\}" alt="" data-url =""></div> + <h3 class="user-email"><a href="http://www.yohobuy.com/home?t=\\{\\{random\\}\\}">\\{\\{profile_name\\}\\}</a></h3> + <h3 class="user-level"> + VIP: + <span class="leveldetail">\\{\\{vip.curVipInfo.title\\}\\}</span> + </h3> + \\{\\{#unless vip3 \\}\\} + <div class="levelinfo"> + <div class="levelwrapper float-left"> + <div class="levelspan"> + \\{\\{vip.curYearCost\\}\\}/\\{\\{vip.nextVipInfo.needCost\\}\\} + </div> + <p class="\\{\\{#if vip.curYearCostPer\\}\\}integrate\\{\\{/if\\}\\}" style="width: \\{\\{vip.curYearCostPer\\}\\}%;"></p> + </div> + <span class="cardcate float-left">\\{\\{vip.nextVipInfo.title\\}\\}</span> + </div> + \\{\\{/unless\\}\\} + </div> + <ul class="myyoho-info-content"> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/orders?t=\\{\\{timestamp\\}\\}">待处理的订单</a> + </span> + <span class="itemnum float-right">\\{\\{orderCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/favorite?t=\\{\\{timestamp\\}\\}">我的收藏</a> + </span> + <span class="itemnum float-right"></span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/coupons?t=\\{\\{timestamp\\}\\}">我的优惠券</a> + </span> + <span class="itemnum float-right">\\{\\{couponCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/currency?t=\\{\\{timestamp\\}\\}">我的YOHO币</a> + </span> + <span class="itemnum float-right">\\{\\{YohocoinCount\\}\\}</span> + </li> + <li class="item"> + <span class="itemdetail float-left"> + <a href="http://www.yohobuy.com/home/returns?t=\\{\\{timestamp\\}\\}">我的退货换货</a> + </span> + <span class="itemnum float-right">\\{\\{refundCount\\}\\}</span> + </li> + </ul> + <div class="myyoho-info-footer"> + <a href="http://www.yohobuy.com/home/user?t=\\{\\{timestamp\\}\\}">完善资料</a> + </div> + </script> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +';}).' +'.' '.''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return '<div class="simple-header"> + <div class="header-inner clearfix"> +'.Plugin\LCRun3::debug('[logo]', 'sec', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo')), $in, false, function($cx, $in) {return ' <h1 class="logo"> + <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'"> + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt=""> + </a> + </h1> +';}).' <ul class="header-tool clearfix"> +'.Plugin\LCRun3::debug('[tool]', 'sec', $cx, Plugin\LCRun3::debug('[tool]', 'v', $cx, $in, array('tool')), $in, false, function($cx, $in) {return ' <li> + <span>Hi~</span> +'.Plugin\LCRun3::debug('[user]', 'sec', $cx, Plugin\LCRun3::debug('[user]', 'v', $cx, $in, array('user')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</a> +';}).' +'.Plugin\LCRun3::debug('[loginHref]', 'sec', $cx, Plugin\LCRun3::debug('[loginHref]', 'v', $cx, $in, array('loginHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[请登录]</a> +';}).' +'.Plugin\LCRun3::debug('[logoutHref]', 'sec', $cx, Plugin\LCRun3::debug('[logoutHref]', 'v', $cx, $in, array('logoutHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[退出]</a> +';}).' +'.Plugin\LCRun3::debug('[registerHref]', 'sec', $cx, Plugin\LCRun3::debug('[registerHref]', 'v', $cx, $in, array('registerHref')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'">[免费注册]</a> +';}).' </li> + <li class="tool-options"> + <span><a href="'.Plugin\LCRun3::debug('[userCenter]', 'encq', $cx, Plugin\LCRun3::debug('[userCenter]', 'v', $cx, $in, array('userCenter'))).'">MY有货</a></span> + <i class="options-icon down iconfont"></i> + <i class="options-icon up iconfont"></i> + <div class="tool-select"> + <a href="'.Plugin\LCRun3::debug('[favoriteHref]', 'encq', $cx, Plugin\LCRun3::debug('[favoriteHref]', 'v', $cx, $in, array('favoriteHref'))).'">我的收藏</a> + <a href="'.Plugin\LCRun3::debug('[couponHref]', 'encq', $cx, Plugin\LCRun3::debug('[couponHref]', 'v', $cx, $in, array('couponHref'))).'">优惠券</a> + </div> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[orderHref]', 'encq', $cx, Plugin\LCRun3::debug('[orderHref]', 'v', $cx, $in, array('orderHref'))).'">订单中心</a> + </li> + <li> + <a href="'.Plugin\LCRun3::debug('[helpHref]', 'encq', $cx, Plugin\LCRun3::debug('[helpHref]', 'v', $cx, $in, array('helpHref'))).'">帮助中心</a> + </li> + <li> + <i class="tell-icon iconfont"></i> + <span>400-9889-9646</span> + </li> +';}).' </ul> + </div> + <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> +</div> +';}).''.''.'<div class="back-page passport-page yoho-page clearfix"> +'.Plugin\LCRun3::debug('[back]', 'sec', $cx, Plugin\LCRun3::debug('[back]', 'v', $cx, $in, array('back')), $in, false, function($cx, $in) {return ''.' <div class="passport-cover"> + <div class="cover-content"> +'.Plugin\LCRun3::debug('if [coverHref]', 'ifv', $cx, Plugin\LCRun3::debug('[coverHref]', 'v', $cx, $in, array('coverHref')), $in, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[coverHref]', 'encq', $cx, Plugin\LCRun3::debug('[coverHref]', 'v', $cx, $in, array('coverHref'))).'" target="_bank"> + <img class="cover-img" src="'.Plugin\LCRun3::debug('[coverImg]', 'encq', $cx, Plugin\LCRun3::debug('[coverImg]', 'v', $cx, $in, array('coverImg'))).'"> + </a> +';}, function($cx, $in) {return ' <img class="cover-img" src="'.Plugin\LCRun3::debug('[coverImg]', 'encq', $cx, Plugin\LCRun3::debug('[coverImg]', 'v', $cx, $in, array('coverImg'))).'"> +';}).' </div> + </div>'.' <div class="content"> + <div class="back-header clearfix"> + <h2 class="title">找回密码</h2> + <span id="country-code" class="country-code"> + <em>'.Plugin\LCRun3::debug('[countryName]', 'encq', $cx, Plugin\LCRun3::debug('[countryName]', 'v', $cx, $in, array('countryName'))).' +'.Plugin\LCRun3::debug('[countryCode]', 'encq', $cx, Plugin\LCRun3::debug('[countryCode]', 'v', $cx, $in, array('countryCode'))).'</em> + <i class="iconfont"></i> + </span> + <ul id="country-code-list" class="country-code-list"> +'.Plugin\LCRun3::debug('[countryList]', 'sec', $cx, Plugin\LCRun3::debug('[countryList]', 'v', $cx, $in, array('countryList')), $in, false, function($cx, $in) {return ' <li data-cc="'.Plugin\LCRun3::debug('[areaCode]', 'encq', $cx, Plugin\LCRun3::debug('[areaCode]', 'v', $cx, $in, array('areaCode'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).' '.Plugin\LCRun3::debug('[areaCode]', 'encq', $cx, Plugin\LCRun3::debug('[areaCode]', 'v', $cx, $in, array('areaCode'))).'</li> +';}).' </ul> + </div> + <form id="back-form" class="back-form" action="/passport/back/email" method="post"> + <input id="country-code-hide" type="hidden" name="area" value="+86"> + <ul> + <li class="input-container-li clearfix"> + <input id="phone-num" class="input va phone-num" type="text" name="phoneNum" placeholder="邮箱/手机号码" autocomplete="off"> + <span id="account-err" class="err-tip hide"> + <i></i> + <em>账户名不能为空</em> + </span> + </li> + <li class="input-container-li clearfix"> + <input id="captcha" class="input va captcha" type="text" name="verifyCode" placeholder="验证码" autocomplete="off" maxlength="4"> + <img id="captcha-img" class="captcha-img" src="'.Plugin\LCRun3::debug('[captchaUrl]', 'encq', $cx, Plugin\LCRun3::debug('[captchaUrl]', 'v', $cx, $in, array('captchaUrl'))).'" alt=""> + <a id="change-captcha" class="link change-captcha">换一张</a> + <span id="captcha-err" class="err-tip captcha-err hide"> + <i></i> + <em>验证码不能为空</em> + </span> + </li> + <li class="input-container-li clearfix"> + <input name="refer" id="refer" type="hidden" value="http%3A%2F%2Fwww.yohobuy.com%2F"> + <input id="find-btn" class="btn find-btn disable" type="submit" value="下一步" disabled=""> + </li> + </ul> + </form> + </div> +';}).'</div> +'.''.' <div class="yoho-footer"> +'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> + <div class="index-foot"> + <dl class="center-content clearfix"> + <dd> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>有货SERVICES</span> + </div> + </div> + <div id="foot-services"> + <ul class="two-dim clearfix"> + <li class="left"> + <img class="dim-img lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/03/20/16/01863b297051f11c2be833785566cf11d1.png"> + <p>YOHO!有货</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img12.static.yhbimg.com/adpic/2014/04/11/14/022ddc2b6d6b2fcabee8cdc03735e5687e.jpg"> + <p>微信</p> + </li> + <li class="left"> + <img class="dim-img lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/03/20/16/02e69d0afa222cf173d17411fd04be380e.png"> + <p>微博</p> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur" key="0"></span> + </p> + </dd> + <dd> + <div id="feed-back-box-list" class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>意见反馈</span> + </div> + </div> + <ul class="vote clearfix"> + <li key="0"> + <form class="feed-back-form" action="#"> + <div>您喜欢有货的新版吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="33">非常喜欢 + </p> + <p> + <input type="radio" name="solution" value="34">喜欢 + </p> + <p> + <input type="radio" name="solution" value="35">一般般 + </p> + <p> + <input type="radio" name="solution" value="36">不喜欢 + </p> + <p> + <input type="radio" name="solution" value="37">非常不喜欢 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" name="question_id" value="38"> + <input class="feedback-id" type="hidden" name="feedback_id" value="5"> + </form> + </li> + <li class="hide" key="1"> + <form class="feed-back-form" action="#"> + <div>您可以方便的找到想查看的内容吗?</div> + <div class="vote-item clearfix"> + <p> + <input type="radio" name="solution" value="38">非常方便 + </p> + <p> + <input type="radio" name="solution" value="39">方便 + </p> + <p> + <input type="radio" name="solution" value="40">一般般 + </p> + <p> + <input type="radio" name="solution" value="41">不方便 + </p> + <p> + <input type="radio" name="solution" value="42">非常不方便 + </p> + </div> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="39"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + <li class="hide" key="2"> + <form class="feed-back-form" action="#"> + <div>您对新版还有哪些意见或建议?</div> + <textarea name="answer" id="feedback-answer" class="feedback-answer"></textarea> + <div> + <span class="feed-back-btn button">提交</span> + </div> + <input class="question-id" type="hidden" value="37"> + <input class="feedback-id" type="hidden" value="5"> + </form> + </li> + </ul> + </div> + <p id="feed-back-page" class="item-nav center"> + <span class="iconfont cur"></span> + <span class="iconfont "></span> + <span class="iconfont "></span> + </p> + </dd> + <dd class="last"> + <div class="foot-panel"> + <div class="title"> + <div class="title-line"></div> + <div class="text"> + <span>更多 YOHO!产品</span> + </div> + </div> + <div id="foot-mobile"> + <ul class="mobile clearfix"> + <li> + <a href="http://app.yohoshow.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/02d5e1cbc15ab59856f4a758fa860462ed.jpg"> + </a> + </li> + <li> + <a href="http://www.yohoboys.com/" target="_blank"> + <img class="lazy" data-original="http://img13.static.yhbimg.com/adpic/2014/07/21/15/0210a3490eae2aad6ef8bf3b8133a49ca9.jpg"> + </a> + </li> + <li> + <a href="http://www.yohogirls.com/" target="_blank"> + <img class="lazy" data-original="http://img11.static.yhbimg.com/adpic/2014/07/21/15/018be2a193424658b5201240ef8c7729e6.jpg"> + </a> + </li> + </ul> + </div> + </div> + <p class="item-nav center"> + <span class="iconfont cur"></span> + </p> + </dd> + </dl> + </div> + </div> +';}).' <div class="footerbottom"> + <div class="promise"> + <div class="center-content clearfix"> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">100%</span> + <span class="rgbf">品牌授权正品</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="red">7天</span> + <span class="rgbf">无理由退换货</span> + </div> + <div class="left"> + <span class="iconfont rgbf"></span> + <span class="rgbf">客服电话:</span> + <span class="red">400-889-9646</span> + + <span class="rgb9">08:00-22:30(周一至周日)</span> + + <span> + <a class="red" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&configID=149091&jid=8732423409" target="_blank">在线客服</a> + </span> + </div> + <div class="right subscribe footer-right"> + <input id="subscriber-box" class="rgb6 top" name="subscriberBox"value="订阅我们的邮件"> + <a id="subscriber-btn" href="javascript:void(0);" class="iconfont rgbf"></a> + </div> + </div> + </div> + <div class="footer-help"> + <div class="center-content clearfix"> + <div class="left"> + <ul class="clearfix"> + <li class="left"> + <p> + <span>新手指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a> + </p> + </li> + <li class="left"> + <p> + <span>会员中心</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=87" target="_blank">YOHO币</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a> + </p> + </li> + <li class="left"> + <p> + <span>购物指南</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=99" target="_blank">发票</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a> + </p> + </li> + <li class="left"> + <p> + <span>支付方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=111" target="_blank">YOHO币支付</a> + </p> + </li> + <li class="left"> + <p> + <span>配送方式</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a> + </p> + </li> + <li class="left"> + <p> + <span>售后服务</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a> + </p> + </li> + <li class="left"> + <p> + <span>APP常见问题</span> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a> + </p> + <p> + <a href="http://www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a> + </p> + </li> + </ul> + </div> + </div> + </div> + <div class="footer-link"> + <div class="center-content clearfix"> + <div class="left right-flag"> + <a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&ct=df&a=1&pa=0.5902942178957805" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/credit-flag3.png"> + </a> + <a href="http://www.isc.org.cn/" target="_blank" rel="nofollow"> + <img src="http://static.yohobuy.com/images/v3/icon/isc2.png"> + </a> + </div> + <div class="left about-us"> + <p> + <a href="http://www.yohobuy.com">返回首页</a> + <span>|</span> + <a href="http://www.yohobuy.com">YOHO!有货</a> + <span>|</span> + <a href="http://www.yohobuy.com/newpower.html">新力传媒</a> + <span>|</span> + <a href="http://www.yohobuy.com/contact.html">联系我们</a> + <span>|</span> + <a href="http://shop.yohobuy.com/settled">商家入驻</a> + <span>|</span> + <a href="http://www.yohobuy.com/privacy.html">隐私条款</a> + <span>|</span> + <a href="http://www.yohobuy.com/link.html">友情链接</a> + </p> + <p> + CopyRight © 2007-2016 南京新与力文化传播有限公司 + <a class="rbg6" href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备09011225号</a> + NewPower Co. 版权所有 经营许可证编号:苏B2-20120395 + </p> + </div> + + </div> + </div> + </div> + <div class="return-top hide"> + <span class="iconfont"></span> + </div> + </div>'.''.Plugin\LCRun3::debug('if [rlsEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script> +';}).''.Plugin\LCRun3::debug('if [preEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [testEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')), $in, function($cx, $in) {return ' <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script> + <script src="http://cdn.yoho.cn/yohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script> +';}).''.Plugin\LCRun3::debug('if [devEnv]', 'ifv', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')), $in, function($cx, $in) {return ' <script src="http://localhost:8001/static/js/sea.js?nowrap"></script> + <script> + seajs.config({ + base: \'http://localhost:8001/\' + }); + </script> +';}).''.' <script> + seajs.use(\'js/common\'); + </script> +'.Plugin\LCRun3::debug('[headerdata]', 'sec', $cx, Plugin\LCRun3::debug('[headerdata]', 'v', $cx, $in, array('headerdata')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/header\'); + </script> +';}).''.Plugin\LCRun3::debug('[simpleHeader]', 'sec', $cx, Plugin\LCRun3::debug('[simpleHeader]', 'v', $cx, $in, array('simpleHeader')), $in, false, function($cx, $in) {return ' <script> + seajs.use(\'js/simple-header\'); + </script> +';}).''.Plugin\LCRun3::debug('if [boysHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/index/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [searchListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[searchListPage]', 'v', $cx, $in, array('searchListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(5); + window.onresize = function () { + setTimeout(function () { + product.init(5); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [brandPage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/brand\'); + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productListPage]', 'v', $cx, $in, array('productListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\'], function (list, product) { + + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + + }); + </script> +';}).''.Plugin\LCRun3::debug('if [productDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[productDetailPage]', 'v', $cx, $in, array('productDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/item\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangIndexPage]', 'v', $cx, $in, array('guangIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangDetailPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangDetailPage]', 'v', $cx, $in, array('guangDetailPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/detail\'); + </script> +';}).''.Plugin\LCRun3::debug('if [guangListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[guangListPage]', 'v', $cx, $in, array('guangListPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/guang/list\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleIndexPage]', 'v', $cx, $in, array('saleIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/sale/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [saleListPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleListPage]', 'v', $cx, $in, array('saleListPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [saleCatPage]', 'ifv', $cx, Plugin\LCRun3::debug('[saleCatPage]', 'v', $cx, $in, array('saleCatPage')), $in, function($cx, $in) {return ' <script> + seajs.use([\'js/product/list\', \'js/product/product\', \'js/sale/banner\'], function (list, product) { + product.init(4); + window.onresize = function () { + setTimeout(function () { + product.init(4); + }, 300); + }; + }); + </script> +';}).''.Plugin\LCRun3::debug('if [loginPage]', 'ifv', $cx, Plugin\LCRun3::debug('[loginPage]', 'v', $cx, $in, array('loginPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/login\'); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdLogin]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdLogin]', 'v', $cx, $in, array('thirdLogin')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/thirdlogin\'); + </script> +';}).''.Plugin\LCRun3::debug('if [enablePerfectInformation]', 'ifv', $cx, Plugin\LCRun3::debug('[enablePerfectInformation]', 'v', $cx, $in, array('enablePerfectInformation')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/third-pwd\'); + </script> +';}).''.Plugin\LCRun3::debug('if [registerPage]', 'ifv', $cx, Plugin\LCRun3::debug('[registerPage]', 'v', $cx, $in, array('registerPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'reg\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [thirdPage]', 'ifv', $cx, Plugin\LCRun3::debug('[thirdPage]', 'v', $cx, $in, array('thirdPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reg\', function (reg) { + reg.init(\'third\'); + }); + </script> +';}).''.Plugin\LCRun3::debug('if [backPage]', 'ifv', $cx, Plugin\LCRun3::debug('[backPage]', 'v', $cx, $in, array('backPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/back\'); + </script> +';}).''.Plugin\LCRun3::debug('if [resetPage]', 'ifv', $cx, Plugin\LCRun3::debug('[resetPage]', 'v', $cx, $in, array('resetPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/reset\'); + </script> +';}).''.Plugin\LCRun3::debug('if [vertificationPage]', 'ifv', $cx, Plugin\LCRun3::debug('[vertificationPage]', 'v', $cx, $in, array('vertificationPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/passport/vertification\'); + </script> +';}).''.Plugin\LCRun3::debug('if [hotrankPage]', 'ifv', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/product/hotrank\'); + </script> +';}).''.Plugin\LCRun3::debug('if [brandsHomePage]', 'ifv', $cx, Plugin\LCRun3::debug('[brandsHomePage]', 'v', $cx, $in, array('brandsHomePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/brand/index\'); + </script> +';}).''.Plugin\LCRun3::debug('if [orderEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/order/ensure\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meIndexPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meIndexPage]', 'v', $cx, $in, array('meIndexPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/index\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meOrdersPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meOrdersPage]', 'v', $cx, $in, array('meOrdersPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/orders\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meFavoritePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meFavoritePage]', 'v', $cx, $in, array('meFavoritePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/favorite\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meReturnsPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meReturnsPage]', 'v', $cx, $in, array('meReturnsPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/returns\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meCommentPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meCommentPage]', 'v', $cx, $in, array('meCommentPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/comment\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meEditPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meEditPage]', 'v', $cx, $in, array('meEditPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/edit\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meGiftPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meGiftPage]', 'v', $cx, $in, array('meGiftPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/gift\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meValidatePage]', 'ifv', $cx, Plugin\LCRun3::debug('[meValidatePage]', 'v', $cx, $in, array('meValidatePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/validate\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [meAddressPage]', 'ifv', $cx, Plugin\LCRun3::debug('[meAddressPage]', 'v', $cx, $in, array('meAddressPage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/home/address\'); + seajs.use(\'js/home/common-address\'); + </script> +';}).' +'.Plugin\LCRun3::debug('if [cartEnsurePage]', 'ifv', $cx, Plugin\LCRun3::debug('[cartEnsurePage]', 'v', $cx, $in, array('cartEnsurePage')), $in, function($cx, $in) {return ' <script> + seajs.use(\'js/cart/cart\'); + </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 || []; + var _gaq = _gaq || []; + (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() { + _gaq.push([\'_setAccount\', \'UA-48997038-32\']); + _gaq.push([\'_trackPageview\']); + var ga = document.createElement(\'script\'); + ga.type = \'text/javascript\'; ga.async = true; + ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\'; + var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s); + })(); + (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); + })(); + (function() { + var hm = document.createElement("script"); + hm.src = "http://static.criteo.net/js/ld/ld.js"; + hm.async = 1; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + var u = _ozuid || ""; + u = (u == 0) ? "" : u; + window.criteo_q = window.criteo_q || []; + window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" }); + })(); + } + if (window.addEventListener) { + window.addEventListener(\'load\', async_load, false); + } else if (window.attachEvent) { + window.attachEvent(\'onload\', async_load); + } + })(); + </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/js/v3/o_code.js?v=20150420" async="async"></script> +'.' </body> +</html> +'.''; +} +?> \ No newline at end of file diff --git a/compile/www.yohobuy.com/0.0.9/d124d38a5e74203524ed52a0ede3cef7.php b/compile/www.yohobuy.com/0.0.9/d124d38a5e74203524ed52a0ede3cef7.php new file mode 100644 index 0000000..38d1f3d --- /dev/null +++ b/compile/www.yohobuy.com/0.0.9/d124d38a5e74203524ed52a0ede3cef7.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 ''.''.Plugin\LCRun3::debug('each [category]', 'sec', $cx, Plugin\LCRun3::debug('[category]', 'v', $cx, $in, array('category')), $in, true, function($cx, $in) {return ' <dl class="clearfix" name="'.Plugin\LCRun3::debug('@[key]', 'encq', $cx, Plugin\LCRun3::debug('@[key]', 'v', $cx, $cx['sp_vars'], array('key'))).'"> + <dt>'.Plugin\LCRun3::debug('@[key]', 'encq', $cx, Plugin\LCRun3::debug('@[key]', 'v', $cx, $cx['sp_vars'], array('key'))).'</dt> + <dd> + <ul class="clearfix"> +'.Plugin\LCRun3::debug('each this', 'sec', $cx, $in, $in, true, function($cx, $in) {return ' <li> + <a class="'.Plugin\LCRun3::debug('[hot]', 'encq', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot'))).'" data-key="'.Plugin\LCRun3::debug('[key]', 'encq', $cx, Plugin\LCRun3::debug('[key]', 'v', $cx, $in, array('key'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target="_blank"> + <span>'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</span> + </a> +'.Plugin\LCRun3::debug('[hot]', 'sec', $cx, Plugin\LCRun3::debug('[hot]', 'v', $cx, $in, array('hot')), $in, false, function($cx, $in) {return ' <i class="iconfont"></i> +';}).' </li> +';}).' </ul> + </dd> + </dl> +';}).''.''; +} +?> \ No newline at end of file diff --git a/web-static/dist/yohobuy/0.0.1/index-debug.js b/web-static/dist/yohobuy/0.0.1/index-debug.js new file mode 100644 index 0000000..aa09b9f --- /dev/null +++ b/web-static/dist/yohobuy/0.0.1/index-debug.js @@ -0,0 +1,6286 @@ +define("index", ["jquery","handlebars","source-map","index","lazyload","jquery.placeholder"], function(require, exports, module){ +var webYohobuy; + +require("js/common"); +require("js/header"); +require("js/simple-header"); +require("js/product/entry"); +require("js/home/entry"); +require("js/passport/entry"); + +module.exports = webYohobuy; + +}); +define("js/common", ["jquery"], function(require, exports, module){ +/** + * 页面公共逻辑和接口 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/23 + */ +var $ = require("jquery"); + + +var $body = $('body'); + +require("js/footer"); + +function cookie(name) { + var re = new RegExp(name + '=([^;$]*)', 'i'), + matchPattern = '$1'; + + return re.test(decodeURIComponent(document.cookie)) ? RegExp[matchPattern] : ''; +} + +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; +} + +//YAS统计代码 +(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.14/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.14', 'yohobuy_web', uid, '', ''); + } +}()); + +//window.resize在width<1180时适配成990 +$(window).on('resize', function() { + var w = $(this).width(); + + //return top + if (w < 1360) { + $('.return-top').addClass('min'); + } else { + $('.return-top').removeClass('min'); + } + + //body + if (w < 1180) { + $body.addClass('min-screen'); + } else { + $body.removeClass('min-screen'); + } +}).trigger('resize'); + +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'); + +/** + * 订阅 + * @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 iconCode = { + mail: '', + tick: '' + }; + + $subscriberBox.focus(function() { + $(this).val('').css('color', ''); + $subscriberBtn.removeClass('done').html(iconCode.mail); + }); + + $subscriberBtn.click(function() { + var email = $.trim($subscriberBox.val()); + + if (email !== '' && emailReg.test(email)) { + try { + $.ajax({ + url: 'http://www.yohobuy.com/common/emailsubscriber', + dataType: 'jsonp', + data: { + email: email, + tmp: Math.random(), + uid: window.getUid() + }, + success: 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(), + _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()); + }); + + $.ajax({ + url: 'http://www.yohobuy.com/common/suggestfeedback', + dataType: 'jsonp', + data: { + feedback_id: _feedback || 0, + question_id: _question || 0, + answer: _answer || '', + solution: _solution.join(',') + }, + success: function(data) { + var next = index + 1; + + if (~~data.data.result === 1) { + if (index === count - 1) { + alert('感谢您的参与!'); + return; + } + + $li.addClass('hide'); + + $vote.children(':eq(' + (index + 1) + ')').removeClass('hide'); + $feedBackPage.children('.cur').removeClass('cur'); + $feedBackPage.children(':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 vipInfoCombine = null; //用户信息编译模板 +var loginInfoCombine = null; //登录信息编译模板 +var apiDomain = $('#api-domain').val(); //获取数据的地址 +var cartTpl = ''; //购物车模板 +/** + * 搜寻的时候过滤非法字符(+-/:等非法字符单独出现) + * @type {RegExp} + */ +var reg = /^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/\s]{0,}$/g; +var keyword = ''; +var link = ''; +var dataLayer = []; +var requestFrame = null; +var logoanimationstart = 0; +var $logotrans = $('.icon-logo'); +var isen = true; +var loopdurationtime = 500; +var globaltimeout; +var onetimeoout; +/** + * banner和地址的映射 + * @type {Object} + */ +var 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' +}; +var cookieMap = {}; + +$('#api-domain').remove(); //删除信息表单 + +function getSource(column, postition, event) { + try { + dataLayer.push({ + louceng: column, + weizhi: postition, + event: event + }); + } catch (e) {} +} + + +window.submitSearch = function() { + var $keywordinput = $('#query_key').val(); + var column = 'Search'; + var postition = 'Head Search'; + var event = 'Search'; + var $formatkeyword, + $formatkeywordinput; + + $formatkeyword = $.trim(keyword.toLowerCase()); + $formatkeywordinput = $.trim($keywordinput.toLowerCase()); + getSource(column, postition, event); + if (link !== '' && keyword !== '' && $formatkeyword === $formatkeywordinput) { + location.href = link.replace('\'', ''); + } else { + if (reg.test($keywordinput)) { + location.href = 'http://search.yohobuy.com/error?query=' + $keywordinput + '&result=error'; + } else { + $('#searchForm').submit(); + return false; + } + } +}; +/** + * 增加关键字 + * @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(''); + }); + } +} +/** + * 定义购物车扩展 + */ + +function actionGoodsCart() { + var defaults = { + cookie: '_g', + cartNum: '' + }; + var params = ''; + var cartInfo = ''; + var queryNum = 0; + var listIndex = 0; + var tmpList = 0; + var totalNum = 0; + var text = ''; + + $.fn.miniCart = function(options) { + params = $.extend(defaults, options); + if (typeof window.cookie(params.cookie) === 'undefined') { + cartInfo = null; + } else { + if (params.cookie) { + try { + cartInfo = json2.parse(window.cookie(params.cookie)); + } catch (e) { + + } + + } + + } + if (cartInfo !== null && cartInfo !== '') { + 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) { + + 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 + '?query=' + key, function(htmlData) { + $('.search-list').html(htmlData.data); + queryNum = $('.search-list').children('li').length; + listIndex = -1; + if (queryNum > 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(' + tmpList + ')').children('a').css('background-color', '#fff'); + $('.search-list li:eq(' + listIndex + ')').children('a').css('background-color', '#eee'); + text = $('.search-list li:eq(' + listIndex + ')').children('a').attr('title'); + $('#query_key').val(text); + } + return this.each(function() { + $(this).keyup(function(event) { + if (event.which === 38) { + if (queryNum === 0) { + return false; + } + if (listIndex === -1) { + listIndex = 0; + } + tmpList = listIndex; + listIndex = (listIndex - 1 + queryNum) % queryNum; + getText(this); + } else if (event.which === 40) { + if (queryNum === 0) { + return false; + } + tmpList = listIndex; + listIndex = (listIndex + 1) % queryNum; + getText(this); + } else if (event.which === 13) { + window.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() + }; + var params = ''; + + if (typeof (domain) === undefined || domain === '') { + return false; + } + params = $.extend(defaults, options); + params.page = params.page || 1; + if (params.method === '') { + return false; + } + try { + $.getJSON(domain + '/?callback=?', params, function(_data) { + if (onSuccess !== '') { + if (typeof onSuccess(_data.data) !== 'undefined') { + json2.parse(onSuccess(_data.data)); + } + return false; + } + }); + } catch (e) { + console.log(e.message); + } + }, + getShoppingKey: function() { + var shoppingInfo = window.cookie('_g'); + var shoppingData = json2.parse(shoppingInfo); + + if (typeof shoppingInfo === 'undefined' || shoppingInfo === null) { + return ''; + } + return shoppingData._k; + } + }); +} +/** + * 判断为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); + } +}); +/** + * 时间戳 + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ +handlebars.registerHelper('timestamp', function() { + return new Date().getTime(); +}); +/** + * 头像 + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ +handlebars.registerHelper('headerimg', function(headerimg) { + + if (headerimg === '') { + return 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif' + + '?imageView/2/w/100/h/100'; + } else { + return headerimg; + } + +}); +/** + * 判断等级为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); + } +}); + +/** + * 获取头部banner的回调函数 + * @param {[type]} data [description] + */ +function JsonPCallBack(data) { + var topbanner; + + if (+data.code === 200) { + if (typeof data.data === 'object') { + if (data.data.url !== '') { + topbanner = '<a target="_blank" href="' + data.data.url + '" class="page-top-banner"' + + 'style="height:36px;border:none;background-image:url(' + window.unescape(data.data.src) + ');' + + 'background-position: center;display:block;"> </a>'; + } else { + topbanner = '<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>'; + } + $('body').prepend(topbanner); + } + } +} + +window.JsonPCallBack = JsonPCallBack; + + +/** + * 获得banner数据 + * @param {[string]} code [banner对应的编码] + * @return {[type]} [description] + */ +function getBannerData(code) { + var script = document.createElement('script'); + + script.src = 'http://www.yohobuy.com/common/getbanner?content_code=' + + code + '&client_type=web&callback=JsonPCallBack'; + document.getElementsByTagName('head')[0].appendChild(script); +} + +/** + * 显示和隐藏 + * @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 requestFrameAct() { + 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) { + requestAnimationFrame(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); + }; +} + + +/** + * css3动画 + * @return {[type]} [description] + */ + +function tsAnimate() { + logoanimationstart += 10; + $logotrans.css({ + transform: 'rotateX(' + logoanimationstart + 'deg)', + '-webkit-transform': 'rotateX(' + logoanimationstart + 'deg)', + '-moz-transform': 'rotateX(' + logoanimationstart + 'deg)' + }); + if (logoanimationstart / 90 % 2 === 1) { + if (isen) { + $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo1.png)'); + isen = false; + } else { + $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); + isen = true; + } + } + if (logoanimationstart / 90 % 2 === 0 && logoanimationstart % 360 !== 0) { + window.setTimeout(tsAnimate, 3000); + } else { + if (logoanimationstart % 360 === 0) { + window.setTimeout(tsAnimate, 1 * 60 * 1000); + } else { + requestFrame(function() { + tsAnimate(); + }); + } + } +} + +/** + * 淡出 + * @return {[type]} [description] + */ +function fadeAnimate() { + if (globaltimeout) { + window.clearTimeout(globaltimeout); + } + $logotrans.fadeOut(loopdurationtime, function() { + isen = false; + + $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo.png)'); + $logotrans.fadeIn(loopdurationtime, function() { + onetimeoout = window.setTimeout(function() { + $logotrans.fadeOut(loopdurationtime, function() { + window.clearTimeout(onetimeoout); + isen = true; + $logotrans.css('background-image', + 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); + $logotrans.fadeIn(loopdurationtime, function() { + globaltimeout = window.setTimeout(fadeAnimate, 1 * 60 * 1000); + }); + }); + }, 3000); + }); + }); +} +/** + * 执行头部logo动画 + * @return {[type]} [description] + */ +function actionTopLogoAnimate() { + if (isSupportCss3Animation()) { + requestFrame = requestFrameAct(); + window.setTimeout(tsAnimate, 3000); + } else { + window.setTimeout(fadeAnimate, 3000); + } +} +window.newArr = []; +window.wrapperindex = 0; +window.gindex = 0; +window.targetArr1 = []; +window.targetArr2 = []; +window.targetArr3 = []; +window.oh1 = 0; +window.oh2 = 0; +window.oh3 = 0; +window.valueIndex = 0; +window.nowIndex = 0; +window.inner1 = ''; +window.inner2 = ''; +window.inner3 = ''; +window.finalresult = ''; + +function createNewArray(obj) { + var $thirdnavpanel = $(obj); + + $thirdnavpanel.find('.thirdnavbar').each(function() { + var $that = $(this); + var $alink = $that.find('a'); + var _href = $alink.attr('href'); + var hottag = $alink.attr('hot') === 'hot' ? true : false; + var objt = {}; + + if ($that.hasClass('category-title')) { + objt = { + type: 'title', + height: 49, + content: $that.text(), + index: window.valueIndex, + href: _href, + hot: false + }; + } else { + objt = { + type: 'catlist', + height: 36, + content: $alink.text(), + index: window.valueIndex, + href: _href, + hot: hottag + }; + } + window.valueIndex++; + window.newArr.push(objt); + }); +} + +function createWrapper() { + var arrlength = window.newArr.length; + var i = 0; + var objnew = []; + var aobj = []; + var bobj = []; + var cobj = []; + var final1 = '', + final2 = '', + final3 = ''; + var a = 0; + var b = 0; + var c = 0; + + for (i; i < arrlength; i++) { + objnew = window.newArr[i]; + if (window.gindex === 0) { + window.oh1 = (window.oh1 + objnew.height); + if (window.oh1 >= 340 && i !== (arrlength - 1)) { + window.targetArr1 = window.newArr.slice(0, objnew.index + 1); + window.nowIndex = objnew.index + 1; + window.gindex++; + } + if (i === (arrlength - 1)) { + window.targetArr1 = window.newArr.slice(0, arrlength + 1); + break; + } + } + if (window.gindex === 1) { + window.oh2 = (window.oh2 + objnew.height); + if (window.oh2 >= 340 && i !== (arrlength - 1)) { + window.targetArr2 = window.newArr.slice(window.nowIndex, objnew.index + 1); + window.nowIndex = objnew.index + 1; + window.gindex++; + } + if (i === (arrlength - 1)) { + window.targetArr2 = window.newArr.slice(window.nowIndex, arrlength + 1); + break; + } + } + if (window.gindex === 2) { + window.oh3 = (window.oh3 + objnew.height); + if (window.oh3 >= 340 && i !== (arrlength - 1)) { + window.targetArr3 = window.newArr.slice(window.nowIndex, objnew.index + 1); + window.nowIndex = objnew.index + 1; + window.gindex++; + break; + } + if (i === (arrlength - 1)) { + window.targetArr3 = window.newArr.slice(window.nowIndex, arrlength + 1); + break; + } + } + } + for (a; a < window.targetArr1.length; a++) { + aobj = window.targetArr1[a] || {}; + if (aobj.type === 'title') { + window.inner1 = window.inner1 + + '<li class="cattitle"><h3><a href="' + + aobj.href + + '">' + + aobj.content + + '</a></h3></li>'; + } else { + if (aobj.hot === true) { + window.inner1 = window.inner1 + + '<li class="catdetail"><a class="thirdcatelink hot" href="' + + aobj.href + + '">' + + aobj.content + + '</a></li>'; + } else { + window.inner1 = window.inner1 + + '<li class="catdetail"><a class="thirdcatelink" href="' + + aobj.href + '">' + + aobj.content + + '</a></li>'; + } + + } + } + for (b; b < window.targetArr2.length; b++) { + bobj = window.targetArr2[b] || {}; + if (bobj.type === 'title') { + window.inner2 = (window.inner2 + + '<li class="cattitle"><h3><a href="' + + bobj.href + '">' + + bobj.content + + '</a></h3></li>'); + } else { + if (bobj.hot === true) { + window.inner2 = (window.inner2 + + '<li class="catdetail"><a class="thirdcatelink hot" href="' + + bobj.href + '">' + bobj.content + '</a></li>'); + } else { + window.inner2 = (window.inner2 + + '<li class="catdetail"><a class="thirdcatelink" href="' + + bobj.href + '">' + bobj.content + '</a></li>'); + } + + } + } + for (c; c < window.targetArr3.length; c++) { + cobj = window.targetArr3[c] || {}; + if (cobj.type === 'title') { + window.inner3 = (window.inner3 + + '<li class="cattitle"><h3><a href="' + + cobj.href + + '">' + + cobj.content + + '</a></h3></li>'); + } else { + if (cobj.hot === true) { + window.inner3 = (window.inner3 + + '<li class="catdetail"><a class="thirdcatelink hot" href="' + + cobj.href + '">' + + cobj.content + + '</a></li>'); + } else { + window.inner3 = (window.inner3 + + '<li class="catdetail"><a class="thirdcatelink" href="' + + cobj.href + '">' + + cobj.content + + '</a></li>'); + } + + } + } + if (window.inner1 !== '') { + final1 = '<ul class="cate_row1 cate_row">' + + window.inner1 + + '</ul>'; + } + if (window.inner2 !== '') { + final2 = '<ul class="cate_row2 cate_row">' + + window.inner2 + + '</ul>'; + } + if (window.inner3 !== '') { + final3 = '<ul class="cate_row3 cate_row">' + + window.inner3 + + '</ul>'; + } + window.finalresult = final1 + final2 + final3; + $('#' + window.wrapperindex).empty().append(window.finalresult); +} + +function actionNav() { + $('.categorywrapper').each(function(index) { + window.wrapperindex = $(this).attr('id'); + window.newArr = []; + window.gindex = 0; + window.targetArr1 = []; + window.targetArr2 = []; + window.targetArr3 = []; + window.oh1 = 0; + window.oh2 = 0; + window.oh3 = 0; + window.valueIndex = 0; + window.nowIndex = 0; + window.inner1 = ''; + window.inner2 = ''; + window.inner3 = ''; + createNewArray($(this).find('.category')); + createWrapper(); + }); +} + +/** + * 获取三级导航的tip图标 + * @return {[type]} [description] + */ +function actionTipPic() { + var tipscode = {}; + var $contentcode = ''; + var serverApi = 'http://www.yohobuy.com/common/getbanner?content_code='; + var $img = ''; + var $title = ''; + var $link = ''; + var logolink = ''; + + $(document).on('mouseenter', '.sub-nav-item', function() { + $contentcode = $(this).find('.showdetail').attr('data-code'); + if ($contentcode) { + if (!tipscode[$contentcode]) { + tipscode[$contentcode] = $contentcode; + $img = $(this).find('.showdetail').find('img'); + $title = $(this).find('.showdetail').find('.title'); + $link = $(this).find('.showdetail').find('a'); + $.get(serverApi + $contentcode + '&width=337&height=250&client_type=web', function(rsdata) { + $img.attr('src', rsdata.data.src); + $link.attr('href', rsdata.data.url); + $title.text(rsdata.data.title); + }, 'jsonp'); + } + } + }); + logolink = $('.cure').find('.name-cn').find('a').attr('href'); + $('.main-link').attr('href', logolink); +} + + + +function closeCover() { + var $cover = $('#cover'); + + $cover.remove(); +} +/** + * 首次进入有弹窗 + * @return {[type]} [description] + */ +function actionCover() { + var gender = window.cookie('_Gender'); + var newMask = ''; + var windowheight = ''; + var selfheight = ''; + var containertop; + var length = ''; + + if (typeof gender === 'undefined' || gender === '' || gender === null) { + $.get('http://www.yohobuy.com/index/guide', function(data) { + newMask = document.createElement('div'); + newMask.id = 'cover'; + newMask.innerHTML = data; + document.body.appendChild(newMask); + windowheight = $(window).height(); + selfheight = $('.guide-box').height(); + containertop = windowheight / 2 - selfheight / 2; + length = $('.guide-box .clear').find('li').length; + $('.guide-box').css({ + width: (200 * length) + 'px', + top: containertop + 'px' + }); + $('#cover').bind('click', function(event) { + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + closeCover(); + }); + $('#cover .guide-box .close').bind('click', function(event) { + getSource('弹窗', 'CLOSE', 'homepage_man'); + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + closeCover(); + }); + $('.boys img , .boys .go').bind('click', function(event) { + getSource('弹窗', 'BOYS', 'homepage_man'); + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + closeCover(); + }); + $('.girls img, .girls .go').bind('click', function(event) { + getSource('弹窗', 'GIRLS', 'homepage_woman'); + window.setCookie('_Gender', '2,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'girls', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + }); + $('.lifestyle img, .lifestyle .go').bind('click', function(event) { + window.setCookie('_Channel', 'lifestyle', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + getSource('弹窗', 'LIEFSTYLE', 'homepage_lifestyle'); + }); + $('#cover .guide-box').bind('click', function(event) { + event.stopPropagation(); + }); + }); + } +} +/** + * 查询跳转后保留关键字 + * @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(''); + }); + } +} + + +/** + * cookie 初始化 + * @return {[type]} [description] + */ +function actionInitCookie() { + var $cookieGender = window.cookie('_Gender'); + var $target = $('.cure'); + + if (typeof $cookieGender !== 'undefined' && $cookieGender !== '') { + window.setCookie('_Gender', 1, { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '男生') { + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '女生') { + window.setCookie('_Gender', '2,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + window.setCookie('_Channel', 'girls', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '创意生活') { + window.setCookie('_Channel', 'lifestyle', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '潮童') { + window.setCookie('_Channel', 'kids', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } +} + +/** + * cookie集合 + * @type {Object} + */ +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('='); + if (typeof temparr[0] !== 'undefined') { + key = temparr[0].replace(/\s/g, ''); + cookieMap[key] = temparr[1]; + } + } +} + + +/** + * 购物车商品数量 + * @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 (cartTpl === '') { + cartTpl = handlebars.compile($('#mini-cart-tpl').html()); + } + $('#miniCartBox').children('.gobuy-wrapper').html(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 = window.cookie('_g'); + shoppingData = json2.parse(shoppingInfo); + if (shoppingData !== null) { + strK = '{"_k":"' + shoppingData._k + '","_nac":0' + ',"_ac":0,"_r":0}'; + window.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 = window.cookie('_g'); + var shoppingData = json2.parse(shoppingInfo); + var strK = '{"_k":"' + shoppingData._k + '","_nac":' + jsonData.total_goods_num + ',"_ac":0,"_r":0}'; + + window.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 = bannerMap['search' + cookieMap._Channel]; + } + if (url.indexOf('list') !== -1) { + code = bannerMap['list' + cookieMap._Channel]; + } + if (url.indexOf('brands') !== -1) { + code = bannerMap['brands' + cookieMap._Channel]; + } + if (url.indexOf('new') !== -1) { + code = bannerMap['new' + cookieMap._Channel]; + } + if (url.indexOf('sale') !== -1) { + code = bannerMap['sale' + cookieMap._Channel]; + } + if (url.indexOf('home') !== -1) { + code = bannerMap['home' + cookieMap._Channel]; + } + if (url.indexOf('kids') !== -1) { + code = bannerMap[INDEXKIDS]; + } + if (url.indexOf('woman') !== -1 || url.indexOf('girls') !== -1) { + code = bannerMap[INDEXWOMAN]; + } + if (url.indexOf('lifestyle') !== -1) { + code = bannerMap[INDEXLIFESTYLE]; + } + if (url.indexOf('www.yohobuy.com') !== -1 && window.location.pathname === '/') { + code = bannerMap[INDEXBOYS]; + } + firstarea = host.split('.')[0]; + if (firstarea !== 'list' && firstarea !== 'search' && firstarea !== 'www' && + firstarea !== 'new' && firstarea !== 'item' && firstarea !== 'guang') { + code = bannerMap[UNIQUEBRAND + cookieMap._Channel]; + } + + getBannerData(code); //获得banner信息 + +} + +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 $goodcartempwarpper = $('#goodcartempwarpper'); + var resulthtml = ''; + + if ($goodcartempwarpper) { + if ($goodcartempwarpper.html()) { + 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 = window.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 = 'http://www.yohobuy.com/logout_'; + var islogin = '1'; + var _num = 0; + var data = { + user_name: name, + logout: _logout + _data.data.token + '.html', + 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; + } + if (vipInfo.vip.curVipInfo.curLevel === '3') { + vipInfo.vip3 = true; + } + + $('#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) { + if (_data.result !== -1) { + actionLoginState(_data); // 更改登录状态 + actionVipInfo(_data); //获得vip; + } + }); +} +/** + * 初始化函数 + * @return {[type]} [description] + */ +function init() { + actionNav(); //处理导航 + actionTipPic(); //鼠标移入后查询 + actionExeTemplate(); //处理模板 + actionCover(); //初次登录弹框 + actionInitCookie(); //初始化cookie + actionExeCookieMap(); //格式化cookie + actionGoodsCart(); //初始化购物车插件 + actionYoHoGroup(); // yoho集团鼠标效果 + actionTopTagToggle(); // yoho上部分开关 + actionTopLogoAnimate(); //yoho logo动画 + actionGetBannerAndNotice(); // 获取banner和服务器维护提示 + actionBrandChange(); //切换品牌 + actionAddKeyWords(); //跳转后增加关键字 + actionGoodsCarMouseEffect(); //鼠标滑入滑出效果 + actionUpdateCartNum(); //更新购物车数量 + actionLoopUpdCartNum(); //循环检测购物车数量 + actionSearch(); //搜索执行 + actionClickMiniCartBox(); //点击购物车跳转 + actionListenDelCarGoods(); //监听购物车删除 + actionListenCartMore(); // + actionLoginInfo(); //获取登录信息 + actionAddKeyWords(); //增加关键字 +} +init(); + +}); +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(); + }); +} + +/** + * 格式化用户名 + * @return {[type]} [description] + */ +function formatUsernName(userName) { + var name, + char, + _num = 0, + _length = 0, + t; + + for (t = 0; 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; + name = ''; + for (t = 0; 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 += '...'; + } + } + return name; +} + +/** + * 设置简单头部登陆状态 + * @return {[type]} [description] + */ +function setLoginStatus(_data) { + var loginHtml, + name; + + if (_data && _data.href && _data.href.user) { + name = formatUsernName(_data.href.user); + loginHtml = '<span>Hi~</span><a href="">' + + name + '</a> <a href="' + _data.href.logout + '">[退出]</a>'; + } else { + name = formatUsernName(_data.user); + loginHtml = '<span>Hi~</span><a href="">' + + name + '</a> <a href="http://www.yohobuy.com/signin.html">[请登录]</a>' + + '<a href="http://www.yohobuy.com/reg.html">[免费注册]</a>'; + } + $('.header-tool li').eq(0).html(loginHtml); +} + +/** + * 获取登录信息 + * @return {[type]} [description] + */ +function actionLoginInfo() { + $.ajax({ + type: 'GET', + url: '/common/getSimpleHeader', + data: {}, + success: function(data) { + if (data.code === 200) { + setLoginStatus(data.data); + } + } + }); +} + +/** + * 初始化函数 + * @return {[type]} [description] + */ +function init() { + actionLoginInfo(); //获取登录信息 +} +init(); + + +}); +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/brand"); + +require("js/product/hotrank"); + +}); +define("js/product/list", ["jquery","handlebars","source-map","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/latest-walk"); + +require("js/product/product"); +}); +define("js/product/filter", ["jquery","handlebars","source-map"], function(require, exports, module){ +/** + * 商品筛选逻辑 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/4 + */ + +var $ = require("jquery"), + Handlebars = require("handlebars"); + +var checkUnicode = { + unchecked: '', + checked: '' +}, +moreUnicode = { + up: '', + down: '' +}; + +//品牌相关变量 +var $brandDefault = $('.brand .default'), + $brandPanel = $('.brand .brand-panel'), + $brandAttrs = $brandPanel.find('.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; + +// 尺寸 handlebars 模板 +var sizeTmpl = '{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a>{{/ size}}', + sizeCache = {}, // 缓存一下尺寸信息 + $sizeWrap = $('.filter-box .size'); + +sizeTmpl = Handlebars.compile(sizeTmpl); + +//清除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(), + id = $this.data('id'); + + if ($this.hasClass('active')) { + + // 选中时,再次点击取消选中 + $this.removeClass('active'); + $sortSub.children(':eq(' + index + ')').addClass('hide'); + $sizeWrap.addClass('hide'); + return; + } + + $this.siblings('.active').removeClass('active'); + $this.addClass('active'); + + $sortSub.children(':not(.hide)').addClass('hide'); + $sortSub.children(':eq(' + index + ')').removeClass('hide'); + + if (!$sizeWrap.data('load')) { + if (sizeCache[id]) { + $sizeWrap.find('.attr-content').html(sizeCache[id]); + $sizeWrap.removeClass('hide'); + } else { + $.ajax({ + url: '/product/search/sortSize', + data: { + msort: id + } + }).then(function(res) { + if ($.type(res) === 'array' && res.length) { + sizeCache[id] = sizeTmpl({ + size: res + }); + $sizeWrap.find('.attr-content').html(sizeCache[id]); + $sizeWrap.removeClass('hide'); + } else { + $sizeWrap.addClass('hide'); + } + }); + } + } +}); + +//【品牌】 +if ($brandMore.length > 0) { + $brandMoreTxt = $brandMore.children('em'); + $brandMoreIcon = $brandMore.children('.iconfont'); +} + +//【品牌】多选 +$brandMulti.click(function() { + if ($brandPanel.css('display') === 'none') { + + //显示品牌面板 + $brandMore.trigger('click'); + } + + brandShowMore(); + $brandPanel.removeClass('hide').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('mouseenter', 'span', function() { + var $this = $(this), + index = $this.data('index'); + + if ($this.hasClass('hover')) { + return; + } + + $this.siblings('span.hover').removeClass('hover'); + $this.addClass('hover'); + + 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')) { + + $brandMulti.removeClass('hide'); //显示多选按钮 + $brandMore.trigger('click'); + } + + $panel.addClass('hide').removeClass('multi'); + brandHideMore(); + clearChecked($panel.find('.checkbox.checked')); //清除选中状态 +}); + +//【品牌/高级选项】checkbox +$('.check-container').on('click', '.attr', function() { + var $this = $(this), + $check = $this.find('.checkbox'), + $btnOk = $this.closest('.brand-panel, .senior-sub').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 $this = $(this); + var index = $this.index(); + + if ($this.hasClass('no-sub')) { + return; + } + $this.addClass('hover').siblings().removeClass('hover'); + + $seniorSubWrap.children('.senior-sub:eq(' + index + ')').removeClass('hide').siblings().addClass('hide'); +}).on('mouseleave', '.attr', function() { + var $this = $(this), + index = $this.index(); + + if ($this.hasClass('no-sub')) { + return; + } + + 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/latest-walk", ["jquery","handlebars","source-map","lazyload"], function(require, exports, module){ +/** + * 最近浏览取接口渲染模板 + * @author: xuqi<qi.xu@yoho.cn> + 8 @date: 2016/1/20 + */ + +var $ = require("jquery"); +var Handlebars = require("handlebars"); +var lazyLoad = require("lazyload"); + +var $latestWalkCount = $('#latest-walk-count'); + +(function() { + var tpl; + + if ($latestWalkCount.length === 0) { + return; + } + + tpl = Handlebars.compile($('#latest-walk-tpl').html()); + + $.ajax({ + url: 'http://itemapi.yohobuy.com/item/item/recentreview', + dataType: 'jsonp', + data: { + limit: $latestWalkCount.val() + }, + success: function(data) { + var latestWalk = [], + res, i, cur; + + if (data.code === 200) { + res = data.data; + + for (i = 0; i < res.length; i++) { + cur = res[i]; + + latestWalk.push({ + href: cur.url, + img: cur.pic_url, + name: cur.product_name, + salePrice: cur.price, + marketPrice: cur.market_price + }); + } + + if (latestWalk.length > 0) { + $('#latest-walk-goods').html(tpl({ + latestWalk: latestWalk + })); + + lazyLoad($('#latest-walk-goods .lazy')); + } + } + } + }); +}()); +}); +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 + }; + } + + function removeHtmlFn() { + $goodInfoMain.html(''); + $goodSelectColor.html(''); + $goodItemWrapper.css({ + display: 'none' + }); + } + + productList.addHandler('MouseEnter', function(event) { + var itemMr = 10, //list的右边距 + itemMb = 35, //list的下边距 + ulStr = '', + ulNum, + wrapperWidth, + diffWidth, + wrapperX, + wrapperY, + wrapperPl, //鼠标移入时弹层的左内边距 + wrapperPt, //鼠标移入时弹层的上内边距 + containerPt; //商品列表容器的上内边距 + + $.ajax({ + type: 'POST', + url: '/product/list/getProductPic', + dataType: 'json', + data: { + skn: event.target.attr('data-skn') + } + }).then(function(data) { + + removeHtmlFn(); + + ulStr = createColorList(data.pics).colorListStr; //ajax请求的颜色列表 + ulNum = createColorList(data.pics).ulNum;//ajax请求的颜色的数量 + + $goodInfoMain.append(event.targetDuplicate); + $goodSelectColor.append($(ulStr)); + + if (data.isFavorite) { + $goodInfoMain.find('.col-btn').addClass('coled'); + } else { + $goodInfoMain.find('.col-btn').removeClass('coled'); + } + + 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' + }); + + // 鼠标悬浮获取到商品信息后显示第一张图片 + if (data.pics[0] && data.pics[0].src) { + $goodInfoMain.find('.good-thumb img').attr('src', data.pics[0].src); + } + }); + }); + + $goodItemWrapper.mouseleave(function() { + + removeHtmlFn(); + }); + +}; + +//鼠标放在颜色列表上效果 +$(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); +}); + +$goodInfoMain.on('click', '.col-btn', function() { + var $this = $(this); + + $.ajax({ + type: 'POST', + url: '/product/list/changeFavorite', + data: { + skn: $this.closest('.good-info').data('skn'), + isFavorite: $this.hasClass('coled') + } + }).then(function(res) { + if (res.code === 200) { + $this.toggleClass('coled'); + } else if (res.code === 403) { + location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); + } + }); +}); + +// 左侧导航 +$productListNav.find('h3').click(function(event) { + var $this = $(this).closest('.product-list-nav'); + + 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/brand", ["jquery"], function(require, exports, module){ +/** + * 品牌页面 + * @auhtor: bikai<kai.bi@yoho.cn> + * @date: 2016/1/21 + */ + +var $ = require("jquery"); + +$('#brand-favor').on('click', function() { + var $this = $(this), + uid = window.getUid(); + + $.ajax({ + type: 'post', + url: '/product/index/favoriteBrand', + data: { + uid: uid, + brandId: $this.data('id') + } + }).then(function(res) { + if (res.code === 200) { + if (res.message === 'add') { + $this.find('i').addClass('coled'); + } else { + $this.find('i').removeClass('coled'); + } + } else if (res.code === 403) { + location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); + } + }); +}); + +}); +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: $('.logo-brand').data('url') +}); + +/* + * 一周热卖 + */ +(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="\{{thumb}}">' + + '</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'); + + if ($(this).hasClass('current')) { + return; + } + + //处理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(); + + if ($(this).hasClass('current')) { + return; + } + + $('.hot-cate').find('li').eq(nowIndex).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: '/product/index/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.$element) { + return; + } + + 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).show().stop().animate({ + opacity: 1 + }).siblings().stop().animate({ + opacity: 0 + }, function() { + $(this).hide(); + }); + }, + _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:;" target="_blank">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:;" target="_blank">MORE ></a></li></ul>'; + + }); + }, + _sendRequest: function() { + var that = this; + + $.ajax({ + type: 'GET', + url: that.options.url, + dataType: 'json', + success: function(data) { + var brandTpl, + brandHtml; + + if (!data || data.length === 0) { + return; + } + + that._createHelper(); + brandHtml = '\{{#brandList logoBrand}}' + + '<a href="\{{href}}" target="_blank"><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"); + +$(document).on('mouseenter', '.imgopacity a img', function() { + $(this).css('opacity', 0.8); +}); +$(document).on('mouseout', '.imgopacity a img', function() { + $(this).css('opacity', 1); +}); + +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', + count: (homePage === 'boys') || (homePage === 'lifestyle') ? 5 : 4, + rows: [5,3] + }); + window.setCookie('_Channel', homePage, { + domain: '.yohobuy.com', + path: '/', + expires: 365 + }); +} + + + +lazyLoad($('img.lazy')); +if (homePage === 'boys') { + $('.slide-container').slider({ + pagination: '.thumb-pagination' + }); +} else { + $('.center-col').slider(); + $('.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: 0 +}); + +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 +}; + +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; + +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(); +}); + + +}); +define("js/common/new-arrivls", ["jquery","lazyload","handlebars","source-map"], function(require, exports, module){ +var $ = require("jquery"), + lazyload = require("lazyload"); +var Handlebars = require("handlebars"); + +function InfiniteLoad(options) { + var defaults = { + index: 0, + isload: true,//是否正在加载 + isrun: true,//判断是否执行 + offset: { + height: null, + width: null + } + }; + + this.registerEvent = { + before: [], + change: [], + after: [] + }; + + this.options = $.extend(true, {}, defaults, options); + + return this; +} + +InfiniteLoad.prototype.on = function(name, callback) { + var g = this; + var _e = g.registerEvent[name]; + + if (_e) { + _e.push(callback); + } + return _e; +}; + +InfiniteLoad.prototype.exect = function(key, params) { + var g = this; + var e; + + if (g.registerEvent[key] && g.registerEvent[key].length > 0) { + for (e in g.registerEvent[key]) { + if (g.registerEvent[key].hasOwnProperty(e)) { + g.registerEvent[key][e](params); + } + } + } +}; + +InfiniteLoad.prototype.init = function() { + var g = this; + var p = this.options; + + function __loadMore() { + + if (p.isrun && p.isload && g.__directionCalculation()) { + p.isload = false; + p.index++; + g.exect('after', p); + } + + g.exect('change', p); + } + + g.exect('before', p); + + $(window).scroll(__loadMore); +}; + +InfiniteLoad.prototype.emit = function() { + var p = this.options; + + p.isload = true; +}; + +InfiniteLoad.prototype.stop = function() { + var p = this.options; + + p.isrun = false; + p.isload = false; +}; + +InfiniteLoad.prototype.__directionCalculation = function() { + var p = this.options; + + if (p.offset.height && p.offset.height() > 0 && $(window).scrollTop() + $(window).height() >= p.offset.height()) { + return true; + } + return false; +}; + +module.exports = function(data) { + var $container = $('#newarrivals .goods-container'); + var $load = $('.loading a'); + var load = new InfiniteLoad({ + index: 1, + isload: false, + offset: { + height: function() { + return parseFloat($container.offset().top) + parseFloat($container.height()) - 200; + } + } + }); + var loadAjax; + var url = data.url, + count = data.count, + rows = data.rows; + + data.pageIndex = 0; + + delete data.url; + delete data.count; + delete data.rows; + + loadAjax = function(url, data, count) { + + var options = { + type: 'POST', + url: url, + success: function(result) { + var code = result.code; + var myTemplate,len,pos; + + if (code === 200) { + len = result.goods.length % count; + pos = result.goods.length - len - 1; + + result.goods.splice(pos, len); + + myTemplate = Handlebars.compile(load.tpl); + + $container.append(myTemplate(result.goods)); + data.pageIndex = data.pageIndex + result.goods.length; + + //懒加载插件貌似有点问题,图片先直接展示 + lazyload($container.find('img.lazy')); + + load.emit(); + } else { + + load.stop(); + $load.html('查看更多'); + } + }, + error: function() { + + load.stop(); + $load.html('网络断开连接了~'); + } + }; + + options.data = data; + $.ajax(options); + }; + + + load.on('after', function(p) { + + data.pageCount = count * rows[1]; + + loadAjax(url, data); + }); + + load.on('before', function(p) { + + + load.tpl = '{{#each this}}'; + load.tpl += '<div class="good-info imgopacity" data-skn="{{skn}}">'; + load.tpl += ' <div class="tag-container clearfix">'; + load.tpl += ' {{# tags}}'; + load.tpl += ' {{# isNew}}'; + load.tpl += ' <span class="good-tag new-tag">NEW</span>'; + load.tpl += ' {{/ isNew}}'; + load.tpl += ' {{# isReNew}}'; + load.tpl += ' <span class="good-tag renew-tag">再到着</span>'; + load.tpl += ' {{/ isReNew}}'; + load.tpl += ' {{# isSale}}'; + load.tpl += ' <span class="good-tag sale-tag">SALE</span>'; + load.tpl += ' {{/ isSale}}'; + load.tpl += ' {{# isNewFestival}}'; + load.tpl += ' <span class="good-tag new-festival-tag">新品节</span>'; + load.tpl += ' {{/ isNewFestival}}'; + load.tpl += ' {{# isLimit}}'; + load.tpl += ' <span class="good-tag limit-tag">限量商品</span>'; + load.tpl += ' {{/ isLimit}}'; + load.tpl += ' {{# isYearEndPromotion}}'; + load.tpl += ' <span class="good-tag yep-tag">年终大促</span>'; + load.tpl += ' {{/ isYearEndPromotion}}'; + load.tpl += ' {{# isYearMidPromotion}}'; + load.tpl += ' <span class="good-tag ymp-tag">年中热促</span>'; + load.tpl += ' {{/ isYearMidPromotion}}'; + load.tpl += ' {{/ tags}}'; + load.tpl += ' </div>'; + load.tpl += ' <div class="good-detail-img">'; + load.tpl += ' <a class="good-thumb" href="{{url}}" target= "_blank">'; + load.tpl += ' <img class="lazy" data-original="{{thumb}}">'; + load.tpl += ' </a>'; + load.tpl += ' {{# isFew}}'; + load.tpl += ' <p class="few-tag">即将售罄</p>'; + load.tpl += ' {{/ isFew}}'; + + load.tpl += ' {{#if showColBtn}}'; + load.tpl += ' <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>'; + load.tpl += ' {{/if}}'; + load.tpl += ' </div>'; + load.tpl += ' <div class="good-detail-text">'; + load.tpl += ' <a href="{{url}}" target= "_blank">{{name}}</a>'; + load.tpl += ' <p class="price">'; + load.tpl += ' <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">'; + load.tpl += ' ¥{{salePrice}}'; + load.tpl += ' </span>'; + load.tpl += ' {{# marketPrice}}'; + load.tpl += ' <span class="market-price">¥{{.}}</span>'; + load.tpl += ' {{/ marketPrice}}'; + load.tpl += ' </p>'; + load.tpl += ' </div>'; + load.tpl += '</div>'; + load.tpl += '{{/each}}'; + + + data.pageCount = count * rows[0]; + + loadAjax(url, data, data.count); + + //load.emit(); + }); + + load.init(); + +}; +}); +define("js/passport/entry", ["jquery","jquery.placeholder"], function(require, exports, module){ +/* + * 密码中心打包入口文件 + */ + +require("js/passport/reg"); +require("js/passport/back"); +require("js/passport/login"); +require("js/passport/reset"); +require("js/passport/vertification"); +require("js/passport/thirdlogin"); +}); +define("js/passport/reg", ["jquery"], function(require, exports, module){ +/* + * @description 注册页js + * @time 2015/12/14 + */ + +var $ = require("jquery"), + regValidate = require("js/passport/mail-phone-regx"), + computeComplex = require("js/passport/pwd-strength"); + +var $registerPage = $('.register-page'), + $pwdTips = $('#pwd-tips'), + $pwdTip1 = $pwdTips.find('#pwd-tip1'), + $errTip = $('#err-tip'), + $registerBtn = $('#register-btn'); + +var $sendCaptcha = $('#send-captcha'), + caCount = 4, + validateResult = []; + +var $pn = $('#phone-num'), + $mc = $('#msg-captcha'), + $pwd = $('#pwd'), + $repwd = $('#repwd'), + $ca = $('#captcha'); + +// 密码强度验证 +var $pwdIntensity = $('.pwd-intensity'), + $pwdParent = $pwdIntensity.closest('.pwd-intensity-container'); + +//signup验证 +var $region = $('#country-code'), + $regionSelect = $('#region'), + isPwd = false, + pwdVal; + +setTimeout(function() { + $pn.val(''); + $mc.val(''); + $pwd.val(''); + $repwd.val(''); + $ca.val(''); +}, 100); + +//验证码位数 +$ca.attr('maxlength', caCount); + +//密码规则提示 +$pwd.focus(function(event) { + $pwdTips.removeClass('hide'); + isPwd = true; + pwdVal = $(this).val(); +}).blur(function() { + $pwdTips.addClass('hide'); + isPwd = false; +}); + + +//IE8 placeholder +//$('[placeholder]').placeholder(); + +// 存储校验信息 +validateResult = [ + { + id: 'phone-num', + message: '', //错误信息 + status: false //当前的状态 + }, + { + id: 'captcha', + message: '', + status: false + }, + { + id: 'msg-captcha', + message: '', + status: false + }, + { + id: 'pwd', + message: '', + status: false + }, + { + id: 'repwd', + message: '', + status: false + } +]; + +//手机号ajax校验 +function phoneAjaxFn(page, callback) { + var url, + data; + + if (page === 'reg') { + url = '/passport/register/checkmobile'; + data = { + mobile: $pn.val(), + area: $region.text().split('+')[1] + }; + } else if (page === 'third') { + url = '/passport/autouserinfo/bindCheck'; + data = { + mobile: $pn.val(), + area: $region.text().split('+')[1], + openId: $('#open-id').val(), + sourceType: $('#source-type').val() + }; + } + + $.ajax({ + url: url, + type: 'POST', + data: data + }).then(function(data) { + switch (data.code) { + case 200: + validateResult[0].message = ''; + validateResult[0].status = true; + break; + case 400: + validateResult[0].message = data.message; + validateResult[0].status = false; + break; + } + + callback(); + }); +} + +//图形验证码ajax校验 +function picCaptchaAjaxFn(page, callback) { + var url; + + if (page === 'reg') { + url = '/passport/register/piccaptcha'; + } else if (page === 'third') { + url = '/passport/autouserinfo/checkPicCode'; + } + $.ajax({ + type: 'POST', + url: url, + data: { + verifyCode: $ca.val() + + //mobile: $pn.val(), + //area: $region.text().split('+')[1] + } + }).then(function(data) { + switch (data.code) { + case 200: + validateResult[1].message = ''; + validateResult[1].status = true; + break; + case 400: + validateResult[1].message = '图形验证码错误'; + validateResult[1].status = false; + break; + } + callback(); + }); +} + +//短信验证码ajax校验 +function msgCaptchaAjaxFn(page, callback) { + var url; + + if (page === 'reg') { + url = '/passport/register/msgcaptcha'; + } else if (page === 'third') { + url = '/passport/autouserinfo/checkBindMsg'; + } + $.ajax({ + type: 'POST', + url: url, + data: { + code: $mc.val(), + mobile: $pn.val(), + area: $region.text().split('+')[1] + } + }).then(function(data) { + switch (data.code) { + case 200: + validateResult[2].message = ''; + validateResult[2].status = true; + break; + case 400: + validateResult[2].message = '短信验证码错误'; + validateResult[2].status = false; + break; + } + + callback(); + }); +} + +// 验证 +function validateRule(page, $element, callback) { + + var val = $.trim($element.val()), + regionCode, + pwdReg = /^([a-zA-Z0-9\-\+_!@\#$%\^&\*\(\)\:\;\.=\[\]\\\',\?]){6,20}$/gi; + + //手机号校验 + if ($element.hasClass('phone-num')) { + + regionCode = $region.text(); + + if (val === '') { + validateResult[0].message = '请输入手机号码'; + validateResult[0].status = false; + callback(); + + } else if (!regValidate.phoneRegx[regionCode].test(val)) { + validateResult[0].message = '手机号码格式不正确,请重新输入'; + validateResult[0].status = false; + callback(); + + } else { + phoneAjaxFn(page, callback); + } + + //图形验证码校验 + } else if ($element.hasClass('captcha')) { + if (val === '') { + validateResult[1].message = '请输入图形验证码'; + validateResult[1].status = false; + callback(); + + } else if (val.length <= 3) { + validateResult[1].message = '图形验证码为4位'; + validateResult[1].status = false; + callback(); + + } else { + + // 并且手机号正确 + if (validateResult[0].status) { + picCaptchaAjaxFn(page, callback); + } else { + validateResult[1].message = '图形验证码错误'; + validateResult[1].status = false; + callback(); + } + + } + + //短信验证码校验 + } else if ($element.hasClass('msg-captcha')) { + + if (val === '') { + validateResult[2].message = '请输入短信验证码'; + validateResult[2].status = false; + callback(); + + } else if (val.length <= 3) { + validateResult[2].message = '短信验证码错误'; + validateResult[2].status = false; + callback(); + + } else { + + // 并且图形验证码正确 + if (validateResult[1].status) { + msgCaptchaAjaxFn(page, callback); + } else { + validateResult[2].message = '短信验证码错误'; + validateResult[2].status = false; + callback(); + } + } + + //密码校验 + } else if ($element.hasClass('pwd')) { + if (val === '') { + validateResult[3].message = '请输入密码'; + validateResult[3].status = false; + + } else if (val.length < 6 || val.length > 20) { + validateResult[3].message = '密码只支持6-20位字符'; + validateResult[3].status = false; + + } else if (!pwdReg.test($element.val())) { + validateResult[3].message = '密码只能包含字母,数字,半角标点符号'; + validateResult[3].status = false; + + } else { + validateResult[3].message = ''; + validateResult[3].status = true; + } + callback(); + + //二次密码校验 + } else if ($element.hasClass('repwd')) { + if (val === '') { + validateResult[4].message = '请输入密码确认'; + validateResult[4].status = false; + + } else if ($pwd.val() !== val) { + validateResult[4].message = '与密码不一致,请重新输入'; + validateResult[4].status = false; + + } else { + validateResult[4].message = ''; + validateResult[4].status = true; + + } + + callback(); + } +} + +//显示提示信息 +function showErrTip() { + + var show = false, + tipPosition, + $container, + i, + validateResultLen = validateResult.length; + + for (i = 0; i < validateResultLen; i++) { + if (!show) { + + //不可以通过status判断 + if (!!validateResult[i].message) { + + //显示错误提示 + $errTip.find('span').text(validateResult[i].message); + + $container = $('#' + validateResult[i].id); + + tipPosition = $container.offset(); + $errTip.css({ + top: tipPosition.top - 40, + left: tipPosition.left + }).removeClass('hide'); + + show = true; //停止判断 + } else { + $errTip.addClass('hide'); + } + } + } +} + +//显示红色边框 +function showBorder() { + + var $errInput, + i, + validateResultLen = validateResult.length; + + for (i = 0; i < validateResultLen; i++) { + if (!!validateResult[i].message) { + + //显示红色边框 + $errInput = $('#' + validateResult[i].id); + $errInput.addClass('error'); + + } else { + + //去掉红色边框 + $errInput = $('#' + validateResult[i].id); + $errInput.removeClass('error'); + } + } +} + +// 密码强度验证 +function pwdFn($obj) { + var pwd = $obj.val(), + pwdStrength = computeComplex(pwd), + level = 0; + + if (pwdStrength === 0) { + level = 0; + } else if (pwdStrength <= 10) { + level = 1; + } else if (pwdStrength <= 20) { + level = 2; + } else { + level = 3; + } + + switch (level) { + case 0: + $pwdParent.removeClass('red yellow green'); + $pwdIntensity.removeClass('color'); + break; + case 1: + $pwdParent.addClass('red').removeClass('yellow green'); + $pwdIntensity.filter('.low').addClass('color'); + $pwdIntensity.filter('.mid,.high').removeClass('color'); + break; + case 2: + $pwdParent.addClass('yellow').removeClass('red green'); + $pwdIntensity.filter('.low,.mid').addClass('color'); + $pwdIntensity.filter('.high').removeClass('color'); + break; + case 3: + $pwdParent.addClass('green').removeClass('yellow red'); + $pwdIntensity.addClass('color'); + break; + } + + //提示框 + if (pwd === '') { + $pwdTip1.removeClass('red yes no').addClass('default'); + } else if (pwd.length < 6 || pwd.length > 20) { + $pwdTip1.removeClass('default yes').addClass('no red'); + } else { + $pwdTip1.removeClass('default no red').addClass('yes'); + } +} + +// 失去焦点时开始校验 +// Tips: 不可以在获得焦点的时候验证,获得焦点和失去焦点的间隔太小,如果中间存在ajax校验的话会出现问题 +// ( ▼-▼ )注册页和信息完善页面接口不同 +exports.init = function(page) { + + $('#agree-terms').click(function() { + if ($(this).attr('notchecked')) { + $(this).removeAttr('notchecked'); + $registerBtn.addClass('disable').attr('disabled', 'true'); + } else { + $(this).attr('notchecked', 'true'); + $registerBtn.removeClass('disable').removeAttr('disabled'); + } + }); + + // 按回车键提交 + $registerPage.on('keydown', function(e) { + var key = e.which; + + if (key === 13) { + $registerBtn.click(); + } + }); + + $registerPage.find('.va').keyup(function() { + + var j, + statusLen = 0, + vLen = validateResult.length, + $that = $(this); + + validateRule(page, $(this), function() { + showErrTip(); // 显示错误提示 + showBorder(); // 显示红色边框 + + // 如果validateResult中有4个status为true表示验证通过 + for (j = 0; j < vLen; j++) { + + if (validateResult[j].status) { + + statusLen++; + } + + } + + if (statusLen === 4 && !$('#agree-terms').attr('notchecked')) { + $registerBtn.removeClass('disable').removeAttr('disabled'); + } else { + $registerBtn.addClass('disable').attr('disabled', 'true'); + } + + // 图形验证通过时,发送短信按钮可点击 + if (validateResult[1].status) { + $sendCaptcha.removeClass('disable'); + } else { + $sendCaptcha.addClass('disable'); + } + + //图形验证通过时,发送短信按钮可点击 end + + }); + + // 如果是密码则校验强度 + if (($that).hasClass('pwd')) { + pwdFn($that); + } + + }).blur(function() { + + /*validateRule($(this), function() { + showErrTip(); + showBorder(); // 显示红色边框 + });*/ + }); + + $regionSelect.change(function() { + + $region.text($('#region').val()); + + validateRule(page, $pn, showErrTip); //验证 + }); + + // 点击发送验证码 + $sendCaptcha.click(function() { + var timeResidue = 20, + t, + url; + + if ($(this).hasClass('disable')) { + return; + } + + if (page === 'reg') { + url = '/passport/register/sendBindMsg'; + } else if (page === 'third') { + url = '/passport/autouserinfo/sendBindMsg'; + } + + //todo ajax 发送验证码 + $.ajax({ + type: 'POST', + url: url, + data: { + area: $region.text().split('+')[1], + mobile: $pn.val(), + verifyCode: $ca.val() + } + }).then(function(data) { + if (data.code === 200) { + t = setInterval(function() { + if (timeResidue <= 0) { + $sendCaptcha.removeClass('disable').val('获取短信验证码'); + clearInterval(t); + return; + } + $sendCaptcha.addClass('disable').val(timeResidue-- + '秒可重新发送'); + }, 1000); + } + }); + }); + + // 防止粘贴密码 + $pwd[0].onpaste = function() { + return false; + }; + + //ajax表单提交 + $registerBtn.click(function() { + var url; + + if (page === 'reg') { + url = '/passport/register/mobileregister'; + } else if (page === 'third') { + url = '/passport/autouserinfo/bindMobile'; + } + + if ($(this).hasClass('disable')) { + return; + } else { + + //ajax提交 + $.ajax({ + type: 'POST', + url: url, + data: { + area: $region.text().split('+')[1], + mobile: $pn.val(), + verifyCode: $ca.val(), + code: $mc.val(), + password: $pwd.val() + } + }).then(function(data) { + + var time = 0, + t, + refer; + + if (data.code === 200) { + + refer = data.data.href; + + t = setTimeout(function() { + time++; + }, 1000); + + $.ajax({ + type: 'GET', + url: data.data.session + }).then(function(data) { + + if (data.code === 200 && t < 3) { + clearInterval(t); + location.href = refer; + } + }); + + if (t >= 3) { + clearInterval(t); + location.href = refer; + } + } else { + + //todo + console.log('网络超时~'); + } + + }); + } + }); + + $('.change-captcha').click(function() { + var time = new Date(), + $captchaImg = $('.captcha-img'), + captchaImgSrc = $captchaImg.attr('src').split('?')[0]; + + $captchaImg.attr('src', captchaImgSrc + '?t=' + time.getTime()); + }); +}; + +}); +define("js/passport/mail-phone-regx", [], function(require, exports, module){ +/** + * 国家区号Map手机号码以及邮箱验证正则 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/11 + */ + +var countryPhoneRegx = { + '+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]{1}[0-9]{8}$/, + '+81': /^0[9|8|7][0-9]{9}$/, + '+61': /^[0-9]{11}$/ +}; + +var emailRegx = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/; + +exports.phoneRegx = countryPhoneRegx; + +exports.emailRegx = emailRegx; +}); +define("js/passport/pwd-strength", [], function(require, exports, module){ +/* + * 计算密码复杂度 + */ + +function gettype(str, i) { + if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { + return 1; + } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { + return 2; + } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { + return 3; + } + + return 4; +} + +function isregular(cur, pre, type) { + var curCode = cur.charCodeAt(0); + var preCode = pre.charCodeAt(0); + + if (curCode - preCode === 0) { + return true; + } + + if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { + return true; + } + + return false; +} + +function getcomplex(curType, preType) { + if (preType === 0 || curType === preType) { + return 0; + } else if (curType === 4 || preType === 4) { + return 2; + } else { + return 1; + } +} + +function computeComplex(password) { + var complex = 0, + length = password.length, + pre = '', + preType = 0, + i = 0, + cur, + curType; + + + for (i = 0; i < length; i++) { + cur = password.charAt(i); + curType = gettype(password, i); + + if (preType !== curType || !isregular(cur, pre, curType)) { + complex += curType + getcomplex(curType, preType); + } + + pre = cur; + preType = curType; + } + + return complex; +} + +module.exports = computeComplex; +}); +define("js/passport/back", ["jquery","jquery.placeholder"], function(require, exports, module){ +/** + * 找回密码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/14 + */ + +var $ = require("jquery"), + phoneRegx = require("js/passport/mail-phone-regx").phoneRegx; + +var $cr = $('#country-code-hide'), + $phoneNum = $('#phone-num'), + $ca = $('#captcha'), + $tipPanel = $('#tip-panel'), + emailReg = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/, + acAccount = [ + ['qq.com', '163.com', '126.com', 'sina.com', 'gmail.com', + 'sohu.com', 'hotmail.com', '139.com', '189.com' + ], //数字顺序 + ['gmail.com', 'qq.com', '163.com', '126.com', 'sina.com', + 'sohu.com', 'hotmail.com', '139.com', '189.com' + ] //组合顺序 + ], + $ccList = $('#country-code-list'), + $cc = $('#country-code'), + $btn = $('#find-btn'), + $accErr = $('#account-err'), + $caErr = $('#captcha-err'), + time, //timeout-id + caCount = 4, //验证码位数 + hasPh = false, + hasCa = false; + +require("jquery.placeholder"); + +/*function getSource(column, postition, event) { + try { + dataLayer.push({ + louceng: column, + weizhi: postition, + event: event + }); + } catch (e) {} +}*/ + +function imgcode() { + var time = new Date(), + $captchaImg = $('#captcha-img'), + captchaImgSrc = $captchaImg.attr('src').split('?')[0]; + + $('#captcha-img').attr('src', captchaImgSrc + '?t=' + time.getTime()); + + //getSource('yoho_family_web', '换一张', 'homepage_man'); +} + +function enableBtn() { + if (hasPh && hasCa) { + $btn.removeClass('disable').prop('disabled', false); + } else { + $btn.addClass('disable').prop('disabled', true); + } +} + +function vaPn(v) { + var pass = true, + errTxt = ''; + + v = $.trim(v); + if (v !== '') { + if (/^[0-9]+$/.test(v)) { + if (phoneRegx[$cr.val()].test(v)) { + pass = true; + } else { + errTxt = '手机号码格式不正确, 请重新输入'; + pass = false; + } + } else { + if (emailReg.test(v)) { + pass = true; + } else { + errTxt = '邮箱格式不正确, 请重新输入'; + pass = false; + } + } + } else { + errTxt = '账户名不能为空'; + pass = false; + } + hasPh = pass; + return { + pass: pass, + errTxt: errTxt + }; +} + +function vaCa() { + var v = $.trim($ca.val()); + + if (v === '' || v.length < caCount) { + hasCa = false; + enableBtn(); + return; + } else { + $.ajax({ + type: 'POST', + url: '/passport/back/authcode', + data: { + verifyCode: v, + phoneNum: $('#phone-num').val(), + area: $('#country-code-hide').val() + } + + }).then(function(data) { + if (data.code === 200) { + hasCa = true; + } else { + hasCa = false; + imgcode(); + } + enableBtn(); + }); + } +} + +$ca.attr('maxlength', caCount); + +//IE8 placeholder +$('input').placeholder(); + +$('#change-captcha, #captcha-img').on('click', function() { + imgcode(); +}); + +$cc.on('click', function(e) { + e.stopPropagation(); + if ($ccList.css('style') === 'block') { + $ccList.slideUp('fast'); + } else { + $ccList.slideDown('fast'); + } +}); + +$ccList.delegate('li', 'click', function(e) { + var $cur = $(this), + code = $cur.data('cc'), + pnVa; + + e.stopPropagation(); + $cr.val(code); + $cc.find('em').html($cur.text()); + + //切换后验证手机号码 + if ($.trim($phoneNum.val()) !== '') { + pnVa = vaPn($phoneNum.val()); + enableBtn(); + if (hasPh) { + $accErr.addClass('hide'); + $phoneNum.removeClass('error'); + } else { + $accErr.removeClass('hide').text(pnVa.errTxt); + $phoneNum.addClass('error'); + } + } + $ccList.slideUp('fast'); +}); + +$(document).click(function() { + if ($tipPanel.css('display') === 'block') { + $tipPanel.slideUp(); + } + if ($ccList.css('display') === 'block') { + $ccList.slideUp(); + } +}); + + + +$phoneNum.keyup(function() { + var account = $.trim($(this).val()), + html = '', + acs, + i; + + //输入@时显示自动补全列表 + if (account.indexOf('@') !== -1 && account.lastIndexOf('@') === account.indexOf('@')) { + if (/^[0-9]*@$/.test(account)) { + + //数字顺序 + acs = acAccount[0]; + } else { + acs = acAccount[1]; + } + for (i = 0; i < acs.length; i++) { + html += '<li>' + account.slice(0, account.indexOf('@')) + '@' + acs[i] + '</li>'; + } + $tipPanel.html(html).slideDown(); + } else { + $tipPanel.slideUp(); + } + vaPn(account); + enableBtn(); +}).blur(function() { + time = setTimeout(function() { + var pnVa = vaPn($phoneNum.val()); + + if (pnVa.pass) { + $accErr.addClass('hide'); + $phoneNum.removeClass('error'); + } else { + $accErr.removeClass('hide').find('em').text(pnVa.errTxt); + $phoneNum.addClass('error'); + } + }, 170); +}).focus(function() { + $(this).removeClass('error'); + + //focus隐藏错误提示 + $accErr.addClass('hide'); +}); + +//验证码在鼠标移开后验证, keyup时不再验证 +$ca.blur(function() { + var errTxt = $.trim($ca.val()) === '' ? '验证码不能为空' : '验证码不正确'; + + if (hasCa) { + $caErr.addClass('hide'); + $ca.removeClass('error'); + } else { + $caErr.removeClass('hide').find('em').text(errTxt); + $ca.addClass('error'); + + //验证码错误则刷新验证码 + imgcode(); + } +}).focus(function() { + $(this).removeClass('error'); + + //focus隐藏错误提示 + $caErr.addClass('hide'); +}).keyup(function() { + vaCa(); +}); + +$tipPanel.delegate('li', 'click', function(e) { + var account = $(this).text(), + pnVa; + + e.stopPropagation(); + $phoneNum.val(account); + if (time) { + clearTimeout(time); + pnVa = vaPn(account); + enableBtn(); + if (pnVa.pass) { + $accErr.addClass('hide'); + $phoneNum.removeClass('error'); + } else { + $accErr.removeClass('hide').find('em').text(pnVa.errTx); + $phoneNum.addClass('error'); + } + time = null; + } + $tipPanel.slideUp(); +}); + +$('#find-btn').click(function(e) { + + //getSource('yoho_family_web', '下一步按钮', 'homepage_man'); + if (/^[0-9]+$/.test($.trim($phoneNum.val()))) { + $('#find-form').attr('action', '/passport/back/mobile'); + } + if ($(this).hasClass('disable')) { + return; + } + if (!hasCa || !hasPh) { + e.preventDefault(); + return true; + } +}); +}); +define("js/passport/login", ["jquery","jquery.placeholder"], function(require, exports, module){ +/** + * 登录 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/11 + */ +var $ = require("jquery"); + +var mailPostfix = { + num: ['qq.com', '163.com', '126.com', 'sina.com', 'gmail.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'], + other: ['gmail.com', 'qq.com', '163.com', '126.com', 'sina.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'] +}; + +var $account = $('#account'), + $password = $('#password'); + +var $accountTip = $account.siblings('.err-tip'), + $passwordTip = $password.siblings('.err-tip'), + $capsLock = $('#caps-lock'); + +var $countryCodeHide = $('#country-code-hide'), + $countryCodeEm = $('#country-code > em'), + $countryList = $('#country-list'); + +var $emailAutoComplete = $('#email-autocomplete'); + +var mailPhoneRegx = require("js/passport/mail-phone-regx"); + +var $remember = $('.remember-me'); + +//checkbox status unicode +var checkbox = { + checked: '', + unchecked: '' +}; + +var authing = false; + +var emailAcTime; + +require("jquery.placeholder"); + + +//验证账户名 +function validateAccount() { + var pass = false, + account = $.trim($account.val()), + err; + + if (account !== '') { + if (/^[0-9]+$/.test(account)) { + + //如果是纯数字,则作为手机号码处理 + if (mailPhoneRegx.phoneRegx[$countryCodeHide.val()].test(account)) { + pass = true; + } else { + pass = false; + err = '手机号码不正确,请重新输入'; + } + } else { + if (mailPhoneRegx.emailRegx.test(account)) { + pass = true; + } else { + pass = false; + err = '邮箱格式不正确,请重新输入'; + } + } + } else { + err = '请输入账户名'; + } + + if (pass) { + $accountTip.addClass('hide'); + $account.removeClass('error'); + } else { + $accountTip.removeClass('hide').children('em').text(err); + $account.addClass('error'); + } + return pass; +} + +//验证密码 +function validatePassword() { + var pass = false, + password = $.trim($password.val()), + err; + + if (password !== '') { + if (password.length < 6) { + err = '请输入长度为6-20字符的密码'; + } else { + pass = true; + } + } else { + err = '请输入密码'; + } + + if (pass) { + $passwordTip.addClass('hide'); + $password.removeClass('error'); + } else { + $passwordTip.removeClass('hide').children('em').text(err); + $password.addClass('error'); + } + return pass; +} + +//验证 +function validate() { + var pass = true, + account = $.trim($account.val()), + password = $.trim($password.val()); + + if (account !== '') { + pass = validateAccount() && validatePassword(); + } else { + pass = false; + $account.addClass('error'); + + if (password === '') { + + //账户名和密码都为空的情况下点击登陆,只在账户输入框后显示错误提示 + $accountTip.addClass('both-error').removeClass('hide').children('em').text('请输入账户名和密码'); + $passwordTip.addClass('hide'); + $password.addClass('error'); + } else { + $accountTip.removeClass('hide').children('em').text('请输入账户名'); + } + } + + return pass; +} + +$('[placeholder]').placeholder(); + +//展开地区列表 +$('#country-code').on('click', function() { + if ($countryList.css('display') === 'none') { + $countryList.slideDown(); + } +}); + +//选中地区列表项 +$countryList.on('click', 'li', function() { + var $this = $(this), + cc = $this.data('cc'); + + $countryCodeEm.html($this.html()); + + $countryCodeHide.val(cc); + + $countryList.slideUp(); +}); + +//点击其他区域,收起区域列表 +$(document).on('click', function(e) { + if ($(e.target).closest('#country-code').length > 0) { + return; + } + + if ($countryList.css('display') === 'block') { + $countryList.slideUp(); + } +}); + +//邮箱 +$account.on('keyup', function() { + var account = $.trim($(this).val()), + html = '', + accountMatch, + matchStr, + postfix, + i; + + //输入@时自动补全邮箱后缀 + //此处>0非错误,用于避免输入的第一个字符为@被识别为邮箱 + if (account.indexOf('@') > 0) { + accountMatch = account.match(/^[0-9]+@(.*)/); + if (accountMatch) { + + //数字邮箱补全 + postfix = mailPostfix.num; + matchStr = accountMatch[1]; + } else { + postfix = mailPostfix.other; + matchStr = account.match(/@(.*)/)[1]; + } + + for (i = 0; i < postfix.length; i++) { + if (postfix[i].indexOf(matchStr) > -1) { + html += '<li>' + account.slice(0, account.indexOf('@')) + '@' + postfix[i] + '</li>'; + } + } + + if (html !== '' && /.com$/.test(account) === false) { + $emailAutoComplete.html(html).removeClass('hide'); + } else { + + //隐藏autocomplete + $emailAutoComplete.html('').addClass('hide'); + } + } +}).on('blur', function() { + emailAcTime = setTimeout(function() { + $emailAutoComplete.addClass('hide'); + + //验证 + validateAccount(); + }, 200); + +}); + +//密码 +$password.on('blur', function() { + validatePassword(); + + if ($capsLock.hasClass('hide')) { + return; + } + + $capsLock.addClass('hide'); +}).on('keypress', function(e) { + var code = e.which; + + //CapsLock检测 + if (code >= 65 && code <= 90) { + $capsLock.removeClass('hide'); + return; + } + $capsLock.addClass('hide'); +}); + +//邮箱自动完成列表项点击 +$emailAutoComplete.on('click', 'li', function() { + clearTimeout(emailAcTime); //清空默认关闭 + + $account.val($(this).text()).focus(); + + $emailAutoComplete.addClass('hide'); +}); + +//记住登录状态 +$remember.on('click', function() { + var $this = $(this); + + $this.toggleClass('checked'); + + if ($this.hasClass('checked')) { + $this.children('i').html(checkbox.checked); + } else { + $this.children('i').html(checkbox.unchecked); + } +}); + +//focus到输入框则隐藏错误提示和样式 +$('.va').on('focus', function() { + var $this = $(this); + + $this.removeClass('error'); + + $this.siblings('.err-tip').addClass('hide'); +}); + +//登录 +$('#login-btn').on('click', function() { + var pass = validate(); + + if (pass && authing === false) { + authing = true; + + $.ajax({ + url: '/passport/login/auth', + type: 'POST', + data: { + areaCode: $countryCodeHide.val().replace('+', ''), + account: $.trim($account.val()), + password: $.trim($password.val()), + isRemember: $remember.hasClass('checked') ? true : false + }, + success: function(data) { + if (data.code === 200) { + if (data.data) { + + //防止data.data为undefined时下行语句执行出错而导致脚本不能走到complete去处理authing + location.href = data.data.session; + } + } else { + $passwordTip.removeClass('hide').children('em').html(data.message); + $password.addClass('error').val(''); + } + }, + complete: function() { + authing = false; + } + }); + } +}); +}); +define("js/passport/reset", ["jquery","jquery.placeholder"], function(require, exports, module){ +/** + * 找回密码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/14 + */ + +var $ = require("jquery"); + +var $pwd = $('#pwd'), + $repwd = $('#re-input'), + $next = $('#reset-pwd-btn'), + $pwdErr = $('#pwd-err'), + $repwdErr = $('#repwd-err'), + $pwdTips = $('#pwd-tips'); + +var hasNoErrPw = false; + +var $pwdIntensity = $('.pwd-intensity'), + $pwdParent = $pwdIntensity.closest('.pwd-intensity-container'), + $pwdTip1 = $('#pwd-tip1'); + +require("jquery.placeholder"); + + +/* + * 计算密码复杂度 + */ + +function gettype(str, i) { + if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { + return 1; + } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { + return 2; + } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { + return 3; + } + + return 4; +} + +function isregular(cur, pre, type) { + var curCode = cur.charCodeAt(0); + var preCode = pre.charCodeAt(0); + + if (curCode - preCode === 0) { + return true; + } + + if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { + return true; + } + + return false; +} + +function getcomplex(curType, preType) { + if (preType === 0 || curType === preType) { + return 0; + } else if (curType === 4 || preType === 4) { + return 2; + } else { + return 1; + } +} + +function computeComplex(password) { + var complex = 0, + length = password.length, + pre = '', + preType = 0, + i = 0, + cur, + curType; + + + for (i = 0; i < length; i++) { + cur = password.charAt(i); + curType = gettype(password, i); + + if (preType !== curType || !isregular(cur, pre, curType)) { + complex += curType + getcomplex(curType, preType); + } + + pre = cur; + preType = curType; + } + + return complex; +} + +function pwdKeyupEvt() { + var pwd = $pwd.val(), + pwdStrength = computeComplex(pwd), + level = 0; + + //TODO:自定义密码强度规则,需要修正 + if (pwdStrength === 0) { + level = 0; + } else if (pwdStrength <= 10) { + level = 1; + } else if (pwdStrength <= 20) { + level = 2; + } else { + level = 3; + } + switch (level) { + case 0: + $pwdParent.removeClass('red yellow green'); + $pwdIntensity.removeClass('color'); + break; + case 1: + $pwdParent.addClass('red').removeClass('yellow green'); + $pwdIntensity.filter('.low').addClass('color'); + $pwdIntensity.filter('.mid,.high').removeClass('color'); + break; + case 2: + $pwdParent.addClass('yellow').removeClass('red green'); + $pwdIntensity.filter('.low,.mid').addClass('color'); + $pwdIntensity.filter('.high').removeClass('color'); + break; + case 3: + $pwdParent.addClass('green').removeClass('yellow red'); + $pwdIntensity.addClass('color'); + break; + } + + // + if (pwd === '') { + hasNoErrPw = false; + $pwdTip1.removeClass('red yes no').addClass('default'); + } else { + if (pwd.length < 6 || pwd.length > 20) { + hasNoErrPw = false; + $pwdTip1.text('密码只支持6-20位字符').removeClass('default yes').addClass('no red'); + } else if (!/[0-9a-zA-Z]{6,20}$/.test(pwd)) { + hasNoErrPw = false; + $pwdTip1.text('不能包含特殊字符').removeClass('default yes').addClass('no red'); + } else { + hasNoErrPw = true; + $pwdTip1.text('密码只支持6-20位字符').removeClass('default no red').addClass('yes'); + } + + //提示2不做验证 + } +} + +//IE8 placeholder +$('input').placeholder(); + +$('.va').keyup(function() { + var pass = true; + + if ($(this).hasClass('pwd')) { + pwdKeyupEvt(); + } else { + if ($(this).val() === '') { + pass = false; + } + } + if (pass && hasNoErrPw && $pwd.val() === $repwd.val()) { + pass = true; + } else { + pass = false; + } + if (pass) { + $next.removeClass('disable').prop('disabled', false); + } else { + $next.addClass('disable').prop('disabled', true); + } +}).blur(function() { + var v = $(this).val(); + + if ($(this).hasClass('pwd')) { + if (v === '') { + $(this).addClass('error'); + $pwdErr.removeClass('hide').find('em').text('请输入密码'); + } else if (v.length < 6 || v.length > 20) { + $(this).addClass('error'); + $pwdErr.removeClass('hide').find('em').text('密码只支持6-20位'); + } else { + $pwdErr.addClass('hide'); + if ($repwd.val() !== '') { + if (v !== $repwd.val()) { + $repwd.addClass('error'); + $repwdErr.removeClass('hide').find('em').text('两次密码输入不一致,请重新输入'); + } else { + $repwd.removeClass('error'); + $repwdErr.addClass('hide'); + } + } + } + } else { + if (v === '') { + $(this).addClass('error'); + $repwdErr.removeClass('hide').find('em').text('请输入密码确认'); + } else { + if ($pwd.val() !== '' && v !== $pwd.val()) { + $(this).addClass('error'); + $repwdErr.removeClass('hide').find('em').text('两次密码输入不一致,请重新输入'); + } else { + $(this).removeClass('error'); + $repwdErr.addClass('hide'); + } + } + } +}).focus(function() { + $(this).removeClass('error'); + + //focus后错误提示隐藏 + if ($(this).hasClass('pwd')) { + $pwdErr.addClass('hide'); + } else { + $repwdErr.addClass('hide'); + } +}); + +$pwd.focus(function() { + $pwdErr.addClass('hide'); + $pwdTips.removeClass('hide'); +}).blur(function() { + $pwdTips.addClass('hide'); +}); + +$('#pwd, #repwd').keydown(function(e) { + var code = e.keyCode || e.which; + + //空格输入过滤 + if (code === 32) { + e.preventDefault(); + return; + } +}); + +}); +define("js/passport/vertification", ["jquery"], function(require, exports, module){ +/** + * 验证手机 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/14 + */ + +var $ = require("jquery"); + +var $sc = $('#send-captcha'), + $msgTip = $('#captcha-tip'), + $errTip = $('#err-tip'), + $next = $('#next-step'), + seconds, + itime; + +$sc.click(function() { + $.post('/passport/back/sendbackmobile', { + mobile: $('#mobile').val(), + area: $('#area').val(), + verifyCode: $('#captchaPic').val() + }, function(jsonData) { + if (jsonData.code === 200) { + $errTip.hide(); + if ($(this).hasClass('disable')) { + return; + } + seconds = 60; + + //$sc.addClass('disable').prop('disabled', true); + $sc.addClass('disable').attr('disabled', true); + $msgTip.removeClass('hide'); + + $sc.val(seconds-- + '秒后可重新操作'); + itime = setInterval(function() { + if (seconds === 0) { + clearInterval(itime); + + //$sc.val('发送验证码').removeClass('disable').prop('disabled', false); + $sc.val('发送验证码').removeClass('disable').removeAttr('disabled'); + } else { + $sc.val(seconds-- + '秒后可重新操作'); + } + }, 1000); + } else { + $(this).addClass('error'); + $errTip.removeClass('hide').text('发送失败'); + } + }); +}); + +if ($(this).hasClass('disable')) { + return; +} +seconds = 60; + +//$sc.addClass('disable').prop('disabled', true); +$sc.addClass('disable').attr('disabled', true); +$msgTip.removeClass('hide'); + +$sc.val(seconds-- + '秒后可重新操作'); +itime = setInterval(function() { + if (seconds === 0) { + clearInterval(itime); + + //$sc.val('发送验证码').removeClass('disable').prop('disabled', false); + $sc.val('发送验证码').removeClass('disable').removeAttr('disabled'); + } else { + $sc.val(seconds-- + '秒后可重新操作'); + } +}, 1000); + + +$('#captcha').keyup(function() { + var v = $.trim($(this).val()), + that = this; + + if (v.length === 4) { + $.ajax({ + type: 'POST', + url: '/passport/back/backmobile', + dataType: 'json', + data: { + code: $('#captcha').val(), + verifyCode: $("#captchaPic").val(), + area: $('#area').val(), + mobile: $('#mobile').val() + }, + success: function(res) { + if (res.code === 200) { + + //添加验证码正确验证 + $next.removeClass('disable').attr('href', res.data); + $errTip.addClass('hide'); + $(that).removeClass('error'); + } else { + $next.addClass('disable'); + $errTip.removeClass('hide').find('em').text('验证码输入错误'); + $(that).addClass('error'); + } + } + }); + } +}).blur(function() { + var v = $.trim($(this).val()); + + if (v === '') { + + //添加验证码正确验证 + $(this).addClass('error'); + $errTip.removeClass('hide').text('请输入验证码'); + } +}).focus(function() { + $(this).removeClass('error'); +}); +}); +define("js/passport/thirdlogin", ["jquery"], function(require, exports, module){ +/** + * 登录 + * @author: wq + * @date: 2016/1/21 + */ +var $ = require("jquery"); + +function chooseProtocol() { + $('.choosetag').on('change', function() { + if ($(this).attr('checked')) { + $('.choosewrapper').css({ + 'background-image': 'url("http://webstatic.dev.yohobuy.com/img/passport/choosed.png")' + }); + } else { + $('.choosewrapper').css({ + 'background-image': 'none' + }); + } + + }); +} + +function chooseAreaToogle() { + $('.optionshow').on('click', function() { + $('.optionslist').toggleClass('hide'); + }); +} + +function cancelChooseArea() { + $(document).on('click', 'body', function(e) { + var $target = $(e.target); + + if ($target.hasClass('yohoselectarea') || + $target.hasClass('yohoselectarea') || + $target.hasClass('areaname') || + $target.hasClass('righttag') || + $target.hasClass('optionslist') || + $target.hasClass('optionitem')) { + return; + } else { + $('.optionslist').addClass('hide'); + } + }); +} + +function chooseArea() { + $('.optionitem').on('click', function() { + var $option = $(this); + var areanum = $option.attr('areanum'); + var areaname = $option.text(); + + $('#areaname').text(areaname); + $('#areanum').text(areanum); + $('#areacode').val(areanum); + $('.optionslist').addClass('hide'); + }); +} + +function isagree() { + return $('.choosetag').attr('checked'); +} + +function closeMask() { + var $target; + + $(document).on('click', '#alreayregist', function(e) { + $target = $(e.target); + if ($target.hasClass('mask') || $target.hasClass('backdrop')) { + $('#alreayregist').hide(); + } + }); +} + +function nextStep() { + var openId = ''; + var sourceType = ''; + var mobile = ''; + var areaCode = ''; + + $('#bindfirststep').on('click', function(e) { + e.preventDefault(); + mobile = $('.phonenum').val(); + areaCode = $('.areanum').text(); + if (mobile === '') { + alert('手机号码不能为空'); + return; + } + if (!isagree()) { + alert('请先同意我们的协议'); + return; + } + openId = $('#openId').val() || '29803EC6D4AAC3AAB8ABDB6AE829D579'; + sourceType = $('#sourceType').val() || 'qq'; + $.ajax({ + type: 'post', + url: '/passport/autouserinfo/bindCheck', + data: { + mobile: mobile, + area: areaCode, + openId: openId, + sourceType: sourceType + }, + dataType: 'json', + success: function(data) { + if (data.code === 200) { + if (data.data.isReg === 0) { + $('#bindmobileform').attr('action', '/passport/thirdlogin/noregist'); + $('#bindmobileform').submit(); + } else { + $('#alreayregist').show(); + } + } else { + alert(data.message); + } + } + }); + }); +} + +function init() { + chooseProtocol(); + chooseArea(); + chooseAreaToogle(); + cancelChooseArea(); + nextStep(); + closeMask(); +} +init(); +}); diff --git a/web-static/dist/yohobuy/0.0.1/index.css b/web-static/dist/yohobuy/0.0.1/index.css new file mode 100644 index 0000000..73e0829 --- /dev/null +++ b/web-static/dist/yohobuy/0.0.1/index.css @@ -0,0 +1 @@ +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?1453821773');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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MUFFQTNDNEExRjA1MTFFNUIwODc4NTUzNUJFODJCMjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MUFFQTNDNEIxRjA1MTFFNUIwODc4NTUzNUJFODJCMjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxQUVBM0M0ODFGMDUxMUU1QjA4Nzg1NTM1QkU4MkIyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxQUVBM0M0OTFGMDUxMUU1QjA4Nzg1NTM1QkU4MkIyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj44ndIAAAF7SURBVHjavJa7SsRAFEBn11gpov8gCCIKIijYrVjZCYmNFjYidn6BrSCWFoKdjQTsLKw0bHwh2gi+BTu30TWFK+j6OgMTiEOM0Z3shUPmzoQ5ZF6ZnG3ba0KIMfE9zqAH3sQv4bquSBN5GI2p74RuYTCkaAa24Fxr6zctWoEhGNfaBkyKcsxRWG6AMrSo/AaGDThemMeSFal4Bx9GVN4Otya+xnGchbxWVxTZxGy9RA+66AgqGYg8XSQ36F49RFkN306cyDMsuYfTONGhXPsGRUX20Wec6BUODIr88AgSGQ+flyTyDUkCOEkS7UPVgGiX+flIEj2rRWFk2JJEpuZpO41oCa5qkKwybMdhYiW8WIIOaP2HpIqkov9h06ycQN0jBtVmDusCOpTPJihAm8x1SVqRjEW5gmBDnYVW5KfWxeMC1uGSvPDTnSFNTEXKfdAbySegWZUbYbIWUVnLH7VDM+ndP4mm4Q6eYA6uI23LsKk2uDwj5+M6+BJgAFPmZONXOE3uAAAAAElFTkSuQmCC") !important}.yoho-header .gobuygirls{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABfklEQVRIx73Vv0vDQBTA8e9F3UR09j8QUSiC4Cg4ud3iJOIi4uZ2m+uBODq46uJipg5ONbRWiyiC4G/BTZdaHfxBrRiHpJLG2NTm4pvevXe5Dxy5O+FqexOYojHOgGGh5AeGwgJkRH0AGDKF1KEFIAech3qjJiFRT1xtZ4CjQG9dKDmTBtQBVIAev3QDTBgwqkLJexGsuNrOApMmt8yPZStUyKeAACz+F/QQhg6BlxQgpwHyD+he6pAfaWzfbhTkGEbKwGkUdABUDUJ5oaT7AxJKvgMlg1ABvLsuKhyDkNMMKhhCnoCTZtA+UDMAFYWSn79CQslXvJ8iaTj1xGplUoLYaQVaBa4SIBtCye/3TcTNdrXd2wZSE0o23JmxUAAcA/qAnFDyLdTrx3v6j4WSt1HfW/EEuNpeAYpAFsi72u4M9AaBC2ALuHS1Pd42BMwF8hEgExhPA91+3gXMJoEqofFjIC/HzP0TNA/cAc/AklDyOtBbA7bxDngJ0FELfAHxEGiu2DHs/wAAAABJRU5ErkJggg==") !important}.yoho-header .gobuykids{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABgUlEQVRIx73Vvy8EQRTA8e8eMo0Itf9ADMlFIlFKVDqNSkQjolNvoZpEIkqFlkaju0J1NneOixCJjd8SHc05Cj8yTlDsnuytdXvcrFe9eW92PslkZ8ayXb0OjFMbJ0C/kuINQ5ECxiLqPUCfKaQKzQJZ4DTUGzQJWdXEdnUaOAj0VpUUk0lALUAZ6PBLV8CIAUMrKW6tYMV2dQYYNbllfiymQoVcAgjA3H9Bd2FoH3hKAHJqIP+A7iQO+ZHE9m1HQY5hpAQcR0F7gDYI5ZQUH98gJcUrUDQI5cG766LCMQg59aC8IeQBOKoH7QIVA1BBSfH+I6SkeMb7KZoNp5qkGpnURGw1Ai0DF00ga0qKr/fNipttu7rzD0hFSVFzZ8ZCAXAI6AKySoqXUK8b7+k/VFJcR32fiifAdvUSUAAyQM52dWug1wucARvAue3q4T9DwHQgHwDSgfEE0O7nbcBUM1A5NL4P5KWYub+CZoAb4BGYV1JcBnorwCbeAS8CC1ELfAIRimiKicNJAQAAAABJRU5ErkJggg==") !important}.yoho-header .gobuylifestyle{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABf0lEQVRIx73VPUvDQBjA8X+ibiI6+w1EFIogSCbBKZuLkxEXETc/gasgjg6u5+Li1gOnGtqrFlEEwXfBTZdaHXyhVtQhqaQxNrW5+EzPPc/lfnDk7gzHtjaBKRrjFBgWUr2jKUxgMqI+AAzpQurQApADzkK9UZ2QUU8c28oAh4GeEFLNpAF1ABWgxy9dAxMajKqQ6s4IVhzbygK2zi3zY8UMFfIpIACL/wXdh6ED4DkFyG2A/AO6mzrkRxrbp6IgVzNSBk6ioH2gqhHKC6k+f0BCqjegpBEqgHfXRYWrEXKbQQVNyCNw3AzaA2oaoKKQ6uNXSEj1gvdTJA23npitTEoQO61Aa8BlAmRDSPX9vhlxsx3b6m0DqQmpGu7MWCgAjgF9QE5I9Rrq9eM9/UdCqpuo7814AhzbWgWKQBbIO7bVGegNAufAFnDh2NZ42xAwF8hHgExgPA10+3kXMJsEqoTGD4G8HDP3T9A8cAs8AUtCqqtAbx3YxjvgJWA5aoEvXQ1rTnQJKpQAAAAASUVORK5CYII=") !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?1453821773');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:410px;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:337px;height:250px;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,iVBORw0KGgoAAAANSUhEUgAAAKsAAAAoCAYAAACBzApvAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAASpElEQVR42u2ceXxVRZbHvxUVROkWbXUior4HaAQCJAgkJJBtFCQIZGERpx27m2bapadH7Y1pp+2PPYvTLh+RRmdamZ6ej6ORJZCEBGQLkIWlBcISE5AtCGqrrYIIIkvO/HHve+8uVfc9tmb+yO+j4dZyTp06t+rUqVN1n5py35TtCKntCAjYfxCJ/GH13Llz80kAxSXFoxB5S+y0iKCA9ghf67+Bi6qqtiXCLwgjR406BnQRxBbT1cY/r1y+/MlzbeNCYEhm5kFBboxm2MLbXXh804Y/vgAwaOjg7iK8H6OM9VOi7yqmZ4cGInWPgTQD8xBebt6y9djF7vu5Ign4bTSlon8cafImTprYPx6j4pKSq4HfO+mVUt5qM8/LQL377uuBLpaISldl319GfWeGIcMyOwHd3RK7Uo4hSMjMydNnpdXBFcBQ4FmgJTVtYPrF7v+5Ign4X+BzX3fdGT9KgNcsoLt+7ACwE8U/nie5e+qzVUTu/5eDFbjFKaRHcoD3HFlhwyB0EXgeoznKXXILsLRf2oDki62Ac0FS2Rtlx1DM1qslmvvtiZMmfsvEpLi0ZCJwn67MNhWnQT1QVVl1vpaikFbKWLrtwqrtrBH25biFd8itwsplaM8Qyvd8nUI9c7EVcC5Isv99GWg391VdDkzTMSgtLU1W8B/OmawZ+E9XVVZuOF9CK91Lj+EUcPBCK+4sEYpT3mauqwINbYKY3C9twFUXWwlniySAsjfK2kBV2joB/Vr+8ISJEy/V5M9W4LG6LvotSYpfn2e53UukW9wDK5YvP3XBNXd26BmRVeO3Ht604Y+fufpogNEkGHOj6AQMvNhKOFskOZ5f1HY0lnkTivHOotIJpVNRjAmg+VopdX9FReXJ8yx3yN2cax1ou7AqO19y+7TtldsarHpz+gYQRhG264VRKgykA2Vurfjor7nYSjhbRC1lWVnZmilT7t0mMCBaqnDtT5W10SoHmDCxNCzCC5Ey8dS18cuKhRXN3sxx48amCAwHUkSkG3BUhIPABpB1NdU1pwOlVoQD3LkLsrkanpNzpUCuQBoiyUAnkE+BFhFWrGto+CgBNkHuS1vkYdDQIZcAN1kDTnRdfWfrxk1tOiYDBqV/G+gNDEH/Tj65EPr5S8C7rM8EZruzrB7basuZMHFiGsg24L9BvhGpo6IRvqiGGoDnI1zGjR/fCZgK8ghCv5gW7foxxb5fOGbMcwIvLamp8VnkUaPvTsLa3WqkBGDfnSPvuhlhqsAoQfogXAnyscAGhNeB8lUrVya0exmem9sf5GcIExRcDrr3T/uw4dmVwJPrGhqbTbwUKqwdepbwe6NJpXqIyKVaHgpEzBNy2+am9v6D0pcDQzRtnFKo7QB9Bw4YDUyO9kZiMVoAEabu2N7sMhopqf1Gg0y2y4kQxuK/HAR6OAptXgKwec+OnTODdB2+7dYHEMl3UktMvkMehag3QJ7BXir0E5N/ALYDuc4anrpHFfztwoUV7QDji8bnKZjdLvTyak+TuhF4AfjO6DGFxUtqFrtejEJ1F+Qyn2yxjBLgSeAyT9kNQBGKIoT1+QUF966qrd1vUtyIvLyuIM8IPGjPwBg7hfd9JAHFwNjM4dnT1zc0Pu/ll5E17AoRrtMpy0ab873ppYoSBq4eCm41zMSa5i1bv7D7MEqEBwwsPvYOVBt3gZ/G1scnwGLgAV//rPSdWMZQi/Btt3YDXgRMG8CnnD4rZWVlXwGvGg4HIpgC/JtPh248vnBhxT6AouKi6UqpWnAOVAgKyygrEjkQqB9dWOh9cWFXxSi/6HM6zoGqFzMTWJVfUHCdrl5Ofl5P4G3gIRWJizqIxbs9iiUvBZ7LHJ79L7r3ESAPHl87RDDaTAUDBqUPw5o4XrSDa6Mb0klhwzQZDPFtAPYqqAsov7HX7SlB9I8CVxl89MMKZviWGgWzBH4CXBLti3uWdI44qEqJy8LY2YuBVwGKioueBqajaSTCU2OlXB0EKkYXFg5esnhxxCUI8vtiDSixvYuI1+dzwMMIL+KJD+fk5/cGWW21bVhbTG3G6j6RkZ21aUPj2oWOCuE4NHuNdd1KOgFcnjb4jlB02bYeugF3iciTRN27SO8VIL9u3rJ1s4NrSC+KAqTN0MkQBrOJNYG0g9Xheed4+ml1NuXWbgiP6rRi085o273nUJKX8M2yNw8CC/xK9T55UwrgM2DawgULpbik+Ac4BqoYOBj4OJ8HQKwjUSWrYC6mljyYlFtQ0COSyM3P7wYswZokCcB4EoWClzKys7p45VYmqZTJDVDeVagTluXz/t8EPAN01Qg0A3zhQ5+Vc0jmG1DOPhiwb1dL627ggwDN5xryH0UZl//DtvwkGSpE7wt4Dge0WnY8PbxwwYIPiktK+mIKhbnolImVN+/x0YWFkVUgHFTdRjuwH+uAwFBZAVyiYKQjc5aydtIeJzVQahNuAL7jSIcDgvqfbly/4UtHOqSMlc/ocOAjYHJz05bHmpu2Rkd8atrAa4BvBNC1eTNS+ve7xjmgvDIoFXUd6g1iA4zwZvdMua0bbmPkxYz9u/YcAsNgnVP2Zj2KLQm/FptsQfmCOfbzTKCzlz4pljwMzFLINOBnWFbBPTHcbmIykGc/h12Txn84sBDosWLZ8hDQA93S5CbpA5BbkJ8D/I2hTuRvHZaLNE0pXgW+1onhoJrsyAj7i6P/eC1ZAq5OQocDnfFaWgsht8xxY75RmgC02ZxWB4jVq9ftKT08eY9AfKsKZssK3p2bb3W2VaUE4AMUjwCUlJRkA3/tpXFYilqgV1VV1d9XVS2avahq0bPAYOA/4ygj2+ZpVJpCtQKTVyxb9iHAiuXLPwK+r9zW39unyK73VyauwFfApIa6utyGurrnG+vqZjfW1f8d1q2mz81kZGZkZ11iZ4QC+LdFUoMzhnZC54YkeKnFU68bqP/qn572tIeiZxw+OjcgYAIpINiyOt7B8KgQKbd1BR4L6OuMtl27D0USQYO1DPizTxloJ8208vnlnwKI4vsBPLcBY6sqqz51ZlYvWtSOdeCw199C9Dk8unD0ZcBNAYK8vmLZMldsVrl2ttoX/nluQUFvoCCg3tSGNWvmeTPX1tdvAzXdRKcsyxa56ZTQgQBws0pE4wYYTiGnp6anTXLkhAJYCKj3NPkuP9pPQyQM2EJk3OiR53j+Ic6jevdq5rKqEDBY55S9eRyXtYssOr5tzKvl88sXA5SWliYpuMe0PAn8uKqyUnvzqnpR9UlgfsB76QbqJoIn2C5N3s3m6lGLcI9uE2n/u6Z+9ZqygDbLtFxjuDIjO6ubJX+k3NdJpyWLWj3lCs1FXc6XgaeU4imI/v8bwHgYYeOZ1PSBEd2FlNl9+KB12/YTmqKQr26MxQfvvtN6AmBXS6sAdQETLAeg1+0pXZVSPzHoAzxWFfwnWF78HvingADOPuBxRzqs4FptYMM65lsZp70PtW1ZmYctJWMHohxBmVjNtkAlu2Mikec2BcXiLY+lgwYqa+vrj2SNGH4Yrd+lADkGJEcP6pxRKIcMWnn1+GXT25s+82YOvGPQE8A8HDFWT3duwdrgrME1IXyhQ1MkIKxjasMbl60HSgz67NPr9pTrgKn4LkBF4bOqEGylQHFZnFu+T82fN/9LR3kvHZOIEiorKuMFLbu7KN3rYVtUyT7jHmtDwzNklMjCPhUc7H43SOCsESOuxh6oPrdScQL4E/ZXDSZ4XJVQQNUjTW9v/ExXsHXT5tPAEx59eDHYpBOHVtoMtEFujOeU0d5kmVGItVE1YcY+j1WF+JY11intLFE7PfWv0OrAojNe3gYYO25skoiUBFTZCGQElB9dtnSp31dS9Aw4HDi6qrb2k/yCAs1gita7Po6OikwdBrZsaFx7KiM7ay/wXYNZElA+N0C/wiiT1YvgEz1tdB2K3LgKGTko/WBVEPLydLTipdkOfAF8UycF1p2RM7KqEH+weixOTED7yau8k6AQJbqlondRcVH/ioUV2w1t/RBUL906DeorkFpgsu4qmGYpdSIU4MZEaE5qXkAExcAcHXFWTs5ViDwVcNJVA7Chce1h4A8kAkVIz0qhzCdLEeQF8AXhWGr6wGSgi3sCu+CbELf3T/0roEvAaZ7Lsu5qaT3du2+felBjDDRmw6WYsW/nrkO6omA3wDEDNYcDx+bPm/exp35bpK5zk+WgfXV80XhfMHrsuHH3As+ha8zCnCWLFx/FsFwbYpW+Pmh4R5R8wBtydGyyJo/Iy/NZ/OE5OdcqqMYZnXA3cxr4n0g6IzurR0Z21vMZWcM2ZmQNax46bNgrQ4Zl3qIhdS23nsOBNkMfGTh40E04brkZ0ITH1dLgK02ee0Xzh7l1dwmCDgd8/bPHlNGqQnzLGraXezQzRCfgDqxLB1cZlowMoKmoaPyL7UILSA+Ee0HuNmzKUIrTCJFvh0LOcpdlUMZL12Z/NHbqsk7BeINBA2HeiLzcPwBVInyNyHDgQeBb3g2KI/3a+obG/QAZ2VkFWPeAuzk49wOKhwzLHPz2uvX7AQZnZlwBXB9gqTulDxmcF0sKIlwB3CHwI5Br9eIDcBxYC6T56kRlVoBMwrGS9BmQepUIuos5Tvh0r2CNdtMaDKNVhTiDVUHYsDMHjSUrn19+unRCaQXeq2cOgZVSvRCZqSsz4MXFNTWto8cUdrav+ZnofAq7c+TIzsAN/kstUfI2O1GO8O8BMiSB+h7I97xti74Dh4FfAGQOz04WkQVEowWu+tdiXWecaqdDBOMhlHrIePPHM8vd9dRrzU1Nh1LT0/4cR+ElfQf2rxJhLkgy1glTKOBVmb552wgcw7OPMV4nj2NV7ZdghkpsCfXieUAkoTi2J4juP7LcQmSHiwrHYaNzA25xV/Gl9gGsWlm7G6iIJ1/ifVHT1jU0fmgnHlbm40SAOxzPYRPHM5XHU/MwVjwWrNXvyzjkY4HXQD0LhMzHsgrgwLvvtPi+edvV0noKWHcGCnwpyKpCwGCdct+UKwHNfc+oj6EdrOXzy7eD+q3Xb3VCDDxdz4q9wLia6prjdkFIXz+KNk1eUEgK3BPux8CXAYcDWqk1ZT9f19DgPO3Kwkhv+f6OrFgs01lPfzhgl5EIfrB9c9P7AM1NW04Br8fUHHi3IBG0BZStToSTUuooxD6RMiHIsoaN9shCUBjlpwpWBXU+yW9FnYlmBbk11dUHXPJoQr6Oz+J0SgvptRN9itKsqq3dq6xb8O16A2LoCNEB0w48tra+wftt/kldrNoxyJbHldcIw52HGE5hDVRvNONfgUOaPpxN00FfLTRohfO3NWvvzneDjmiB4MEacjP3KdwoZHl5+QngHqBKJ6Hu+puK/dDW74Bh1YuqD7rLA38g4vOlb711SCNKUCD70KoVK100q2trFwClwBETUXRqOLog1ipTsLa+YYaG5K0A43IAh0VRwefvCcBF8y5K5W3b3PSKt1Zz09YDWJ//HI3DIxEYx4GC9ThuphlwFGckKABxLKtG9MRmFOXlC45hBczvB/YE6kBxGutq39DqRYserF5UrfOpvhnAoS2oD87BFVv29G7MmtraCiAVa0fcHses7sc6bu67tr5+jUGGl4FlGiW2AgVvr1t/yJGv/RDSry+jMo+jWIq1QvTbtmlzo6lic9PWVVj+8mJtBauJRmtjGSSP+dP3XS2tx7E+D/KwdnGZtWfHzrhW1agLgCn3TUkGkhGxfqrFNnz2P+1z58xJ+AfWikuKk4AcEcnDuj/aVUROiPCe1RlZVlVZ9XEQj8IxY5LFlieCyK/pCfLl0iVv7fbS3DVyZG+J3ueM1AVBTiJ8WrtixZ+C2szNz79BYAzIHWJFIi4F+VyssNsahPUNdXXtxEHm8OwkRErFuinfjtAIUr5h7TrXxmRIZmZPQWKTMvYLg8dF5Hispui+Lj0h8OHWjZvO+DeH+qUNuBm4U4TuQBLIfqC+Zev2vX0G9O8CkuIQx/nFKcDenc3vfGHi3btvn5eBhwxfvB4FQuc8WDvQgXPFrX37JIt1ZfBq32C1LMdv9uzYOT1RfvEOBTrQgYSQktq3lwijgLn2j39kifCKgqsNhwMJ+6oRdAzWDpwv/BLLV34J1NcgnYMqK9TM3Tt2JLT8x2g60IFzREpqv5tB9orYn+8Dnl9qwfHJOMCHQMru1h1HzqCZuBdZOtCBRPAL4JLgWG20sB24/0wHqotDBzpwNkjp3+8GhP0gl4H7N7AiaUf8ph3h4d2tO353Nm11+KwdOFf8HMPPNUVg762OAN/d3bqj/Gwb6rCsHThrpPTv1xX4BLF+XdEd/3WlywV+uruldd+ZtuFEh2XtwLngKNb3VBOwPmUPYf0s6BHgHazfiHhtV0vrjvPR2P8B12P57Lkkf7EAAAAASUVORK5CYII=);background-repeat:no-repeat;background-position:center center;width:182px;height:53px;top:22px;left:44.2%;position:absolute}.yoho-header .icon-logo .main-link{display:block;width:100%;height:100%}.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,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABc0lEQVRIx73VvS9DURjH8W+LTYTZfyBCIhLJM0pMNotJxCJi8xdYJWI0WFkstg6mumn1pxEikXiX2Fgog5dUBUNv5fa62tJzPdNznufc80lO7jknYWbrwDjVcQz0S3rDUSSBsYh6D9DnCqlAs0AaOAn1hlxCiUpiZgPAfqC3KmkyDqgFKAAdfukSGHFgFCXdJIIVM0sBoy63zI/FZKiQiQEBmPsv6C4M7QFPMUBeFeQfUMUO+RHH9m1HQZ5j5BY4ioJ2gaJDKCPp4xsk6RXIO4SyUL7rosJzCHm1oKwj5AE4rAXtACUHUE7S+4+QpGfKP0Wz4VWSZCOTmoitRqBl4LwJZE3S1/uWqDfbzDr/gJQkVd2ZdaEAaEAXkJb0Eup1U376DyRdRX2frE+AmS0BOSAFZMysNdDrBU6BDeDMzIb/DAHTgXwQGAiMJ4B2P28DppqBCqHxfSC/rTP3V9AMcA08AvOSLgK9FWCT8gHPAwtRC3wCDWxrvGA4PUcAAAAASUVORK5CYII=);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?1453821773');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?1453821773');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:100%;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 .content a{color:#666;outline:none;text-decoration:none}.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;font-size:12px}.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:337px;height:250px}.yoho-header .showdetail .title{display:block;margin-top:40px;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 .icon-logo .main-link{display:block;width:100%;height:100%}.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}}#cover{left:0px;top:0px;width:100%;height:100%;position:fixed;z-index:1001}#cover .con{background:rgba(0,0,0,0.6) !important;left:0px;top:0px;width:100%;height:100%;position:absolute;z-index:1002;opacity:0.5;-moz-opacity:0.5}#cover .tag_img_warpper{margin:0px auto;width:180px;height:168px}#cover .tag_img_warpper img{width:100%;height:100%}#cover .guide-box{background:#fff;margin:0px auto;height:400px;position:relative;z-index:1003}#cover .guide-box .close{top:-15px;text-align:center;right:-15px;color:#fff;line-height:22px;font-size:24px;position:absolute}#cover .guide-box .close{background:#000;border-radius:50px;border:currentColor;border-image:none;width:28px;height:28px;line-height:25px;display:block;-moz-border-radius:50px;-webkit-border-radius:50px}#cover .guide-box ul li{padding:10px;width:200px;height:400px;float:left;box-sizing:border-box}#cover .guide-box ul li.girls{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box ul li.lifestyle{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box ul li.kids{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box ul li.boys .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box ul li.girls .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box ul li.kids .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box ul li.lifestyle .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box ul li a.go{margin:26px auto 0px;width:100%;height:18px;text-align:center;color:#b0b0b0;line-height:18px;font-size:18px;font-style:italic;font-weight:lighter;display:block}#cover .boys .block_cn{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:30px}#cover .girls .block_cn{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:30px}#cover .kids .block_cn{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:30px}#cover .lifestyle .block_cn{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:30px}#cover .boys .block_cn{color:black}#cover .boys .block_en{color:black}#cover .girls .block_cn{color:#ff88ae}#cover .girls .block_en{color:#ff88ae}#cover .kids .block_cn{color:#7ad9f8}#cover .kids .block_en{color:#7ad9f8}#cover .lifestyle .block_cn{color:#4f4037 !important}#cover .lifestyle .block_en{color:#4f4037 !important}#cover .boys .block_en{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:19px}#cover .girls .block_en{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:19px}#cover .kids .block_en{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:19px}#cover .lifestyle .block_en{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:19px}#cover .boys .block_line{margin:20px auto 0px;width:50px;height:0px;border-bottom-color:#ccc;border-bottom-width:1px;border-bottom-style:solid}#cover .girls .block_line{margin:20px auto 0px;width:50px;height:0px;border-bottom-color:#ccc;border-bottom-width:1px;border-bottom-style:solid}#cover .kids .block_line{margin:20px auto 0px;width:50px;height:0px;border-bottom-color:#ccc;border-bottom-width:1px;border-bottom-style:solid}#cover .lifestyle .block_line{margin:20px auto 0px;width:50px;height:0px;border-bottom-color:#ccc;border-bottom-width:1px;border-bottom-style:solid}.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;z-index:4}.yoho-footer .return-top:hover{opacity:0.9;filter:alpha(opacity=90)}.yoho-footer .return-top .iconfont{font-size:34px}.yoho-footer .return-top.min{left:100%;right:20px;margin-left:auto}.min-screen .yoho-footer .index-foot dd{width:316px}.min-screen .yoho-footer .index-foot dd .two-dim{margin-top:26px;margin-bottom:10px;overflow:hidden}.min-screen .yoho-footer .index-foot dd .dim-img{width:69px;height:69px}.min-screen .yoho-footer .index-foot dd .mobile img{width:85px;height:108px}.min-screen .yoho-footer .promise .left{margin-right:45px}.min-screen .yoho-footer .subscribe{width:200px}.min-screen .yoho-footer .subscribe input{width:140px}.min-screen .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}b{font-weight:bold}body{font-family:arial,"Microsoft YaHei"}@font-face{font-family:"iconfont";src:url('../assets/font/iconfont.eot?1453821781');src:url('../assets/font/iconfont.eot?&1453821781#iefix') format("embedded-opentype"),url('../assets/font/iconfont.woff?1453821773') format("woff"),url('../assets/font/iconfont.ttf?1453821773') format("truetype"),url('../assets/font/iconfont.svg?1453821781#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}.min-screen .center-content{width:990px}.min-screen .home-page{width:990px}.min-screen .home-page .slide-container{height:387px}.min-screen .home-page .slide-container.slide-thumb-container{height:440px}.min-screen .home-page .slide-container img{display:block}.min-screen .home-page .slide-container-placeholder{height:387px}.min-screen .home-page .slide-container-placeholder.slide-thumb-container-placeholder{height:440px}.min-screen .home-page .slide-wrapper{height:387px}.min-screen .home-page .slide-wrapper li a{width:990px}.min-screen .home-page .slide-switch{display:block}.min-screen .home-page .slide-switch a.prev{margin-left:-495px}.min-screen .home-page .slide-switch a.next{margin-right:-495px}.min-screen .home-page .slide-switch a:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);opacity:0.9}.min-screen .home-page .thumb-pagination{width:990px;margin:7px auto 0;padding:0}.min-screen .home-page .thumb-pagination li{width:118px;height:46px}.min-screen .home-page .debris-slider{height:440px}.min-screen .home-page .debris-slider .left-col{margin-right:9px}.min-screen .home-page .debris-slider .left-col a{width:240px;height:103px}.min-screen .home-page .debris-slider .left-col a:first-child{height:214px}.min-screen .home-page .debris-slider .center-col{width:492px;margin-right:9px}.min-screen .home-page .debris-slider .right-col a{width:240px;height:103px}.min-screen .home-page .debris-slider .right-col a:first-child{height:326px;margin-bottom:10px}.min-screen .home-page .new-report .report-list{width:748px}.min-screen .home-page .new-report .report-list li{width:158px;height:212px}.min-screen .home-page .new-report .report-list li:first-child{width:242px;height:432px}.min-screen .home-page .new-report .last-item{width:242px;height:432px}.min-screen .home-page .preference-brand-list{width:998px}.min-screen .home-page .preference-brand-item{margin-right:7px}.min-screen .home-page .preference-brand-item a{width:159px;height:74px}.min-screen .home-page .preference-more{width:159px;height:74px;line-height:90px}.min-screen .home-page .img-slider-wrapper{height:480px}.min-screen .home-page .img-container-landscape{margin:73px auto 0;width:844px;height:370px}.min-screen .home-page .img-container-landscape .img-item{width:275px;height:100%;margin-right:9px}.min-screen .home-page .img-brand{height:150px}.min-screen .home-page .img-brand ul{width:998px}.min-screen .home-page .img-brand li{width:325px;height:150px;line-height:150px}.min-screen .home-page .img-brand .logo-brand-switch .iconfont{font-size:24px}.min-screen .home-page .img-brand .logo-brand-switch .iconfont.prev{top:-12px}.min-screen .home-page .img-brand .logo-brand-switch .iconfont.bottom{bottom:-12px}.min-screen .home-page .logo-brand{height:246px}.min-screen .home-page .logo-brand.logos-10{height:164px}.min-screen .home-page .logo-brand ul{width:998px}.min-screen .home-page .logo-brand li{margin:8px 8px 0 0;width:158px;height:74px;line-height:74px}.min-screen .home-page .categorys-list ul{width:1004px}.min-screen .home-page .categorys-list li{margin:0 7px 7px 0;width:161px;height:214px}.min-screen .home-page .categorys-list li.cate-item0{width:160px;height:435px}.min-screen .home-page .categorys-list li.cate-item1{width:326px;height:435px}.min-screen .home-page .floor-header{margin:50px 0 30px}.min-screen .home-page .floor-header .header-navs li{padding:1px 10px}.home-page{width:1150px;margin:10px auto 0}.home-page .slide-container{position:absolute;left:0;right:0;height:450px}.home-page .slide-container.slide-thumb-container{height:510px}.home-page .slide-wrapper{position:relative;height:450px;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 a{display:block;height:100%;width:1150px;margin:0 auto}.home-page .slide-wrapper li:first-child{display:block}.home-page .slide-wrapper li img{width:100%;height:100%}.home-page .slide-container-placeholder{height:450px;width:100%}.home-page .slide-container-placeholder.slide-thumb-container-placeholder{height:510px}.home-page .slide-switch{display:block}.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:50%;margin-left:-575px}.home-page .slide-switch a.next{right:50%;margin-right:-575px}.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{width:1148px;margin:6px auto 0;padding:0 0 0 2px}.home-page .thumb-pagination li{position:relative;float:left;margin:0 0 0 6px;width:138px;height:54px}.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:510px;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: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{position:relative;width:570px;height:100%;margin-right:10px;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 .slide-wrapper li a{width:100%}.home-page .debris-slider .center-col .slide-switch a.prev{left:0;margin-left:0}.home-page .debris-slider .center-col .slide-switch a.next{right:0;margin-right:0}.home-page .debris-slider .center-col img{max-width:100%;max-height:100%}.home-page .debris-slider .right-col a{width:280px;height:120px}.home-page .debris-slider .right-col a:first-child{height:380px;margin-bottom:11px}.home-page .new-report img{display:block;width:100%;height:100%}.home-page .new-report .report-list{float:left;width:868px}.home-page .new-report .report-list li{float:left;margin:0 8px 8px 0;width:185px;height:248px;overflow:hidden}.home-page .new-report .report-list li:first-child{margin-right:7px;width:282px;height:504px}.home-page .new-report .last-item{float:left;width:282px;height:504px;overflow:hidden}.home-page .preference-brand{overflow:hidden}.home-page .preference-brand-list{margin-top:8px;width:1158px}.home-page .preference-brand-item{float:left;margin-right:8px;margin-bottom:8px}.home-page .preference-brand-item a{display:table-cell;width:185px;height:86px;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:185px;height:86px;line-height:100px;text-align:center;color:black;font-size:16px}.home-page .img-slider-wrapper{position:relative;width:100%;height:558px;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{box-sizing:border-box;margin:86px auto 0;width:982px;height:433px;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:320px;height:100%;margin-right:10px}.home-page .img-container-landscape .img-item img{width:100%;height:100%}.home-page .img-brand{position:relative;width:100%;height:175px;overflow:hidden}.home-page .img-brand:hover .img-brand-switch{display:block}.home-page .img-brand ul{width:1158px}.home-page .img-brand li{float:left;margin:0 8px 0 0;width:378px;height:175px;line-height:175px;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:282px;overflow:hidden}.home-page .logo-brand.logos-10{height:188px}.home-page .logo-brand ul{width:1158px}.home-page .logo-brand li{float:left;margin:8px 8px 0 0;width:185px;height:86px;line-height:86px;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?1453821773') 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:1158px}.home-page .categorys-list li{float:left;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 .categorys-list li img{display:block;width:100%;height:100%}.home-page .floor-header{position:relative;margin:80px 0 40px}.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 15px;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}.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: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:512px}.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}.min-screen .home-page .tpl-recommend .tpl-nav{width:158px}.min-screen .home-page .tpl-recommend .tpl-nav .keywords0,.min-screen .home-page .tpl-recommend .tpl-nav .keywords1,.min-screen .home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:8px;height:65px}.min-screen .home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:0px}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category{height:192px}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category a{height:32px;line-height:32px;font-size:12px}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category a:hover{text-decoration:underline}.min-screen .home-page .tpl-recommend .tpl-brands{width:324px;height:432px}.min-screen .home-page .tpl-recommend .tpl-brands li a{height:212px}.min-screen .home-page .tpl-recommend .tpl-types{width:498px}.min-screen .home-page .tpl-recommend .tpl-types li a{width:158px;height:212px}.min-screen .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 .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;width:inherit;padding-top:0}.home-page .goods-container .good-info{margin-bottom:0px}.home-page .goods-container .good-detail-text{text-align:center}.home-page .singlehot li a{width:185px;height:248px}.home-page .singlehot .impo1,.home-page .singlehot .impo9{width:378px}.home-page .goods-container .good-info{width:280px;height:485px}.home-page .goods-container .good-info .good-detail-img{height:374px}.home-page .adbanner{margin-top:12px}.home-page .adbanner a{height:150px}.min-screen .home-page .singlehot li a{width:158px;height:212px}.min-screen .home-page .singlehot .impo1,.min-screen .home-page .singlehot .impo9{width:323px}.min-screen .home-page .goods-container .good-info{width:240px;height:412px}.min-screen .home-page .goods-container .good-info .good-detail-img{height:320px}.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;z-index:2}.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: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}.min-screen .home-page .commodity .commodity-list a{height:400px;width:240px}.min-screen .home-page .commodity .commodity-list .commodity-img{height:320px}.min-screen .home-page .commodity .commodity-list i.top{height:52px;width:52px;line-height:52px;font-size:14px}.min-screen .home-page .commodity .commodity-brands a{width:158px;height:74px}.home-page .slide-accordion{overflow:hidden;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}.home-page .slide-accordion{height:400px}.home-page .slide-accordion li a{width:650px;height:400px}.min-screen .home-page .slide-accordion{height:342px}.min-screen .home-page .slide-accordion li a{width:558px;height:342px}.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 .tpl-brands{margin-top:-8px !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}.min-screen .boys .tpl-nav .keywords0{margin-bottom:8px !important;height:130px !important}.min-screen .boys .tpl-nav .keywords1{margin-bottom:0px !important;height:74px !important}.min-screen .boys .tpl-brands{margin-top:-8px !important}.min-screen .boys .goods-container .good-info,.min-screen .lifestyle .goods-container .good-info{width:188px;height:360px}.min-screen .boys .goods-container .good-info .good-detail-img,.min-screen .lifestyle .goods-container .good-info .good-detail-img{height:255px}.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-left:26px;font-size:12px}.brands .sit-nav .sep{margin:0 8px}.brands .brands-category{width:1150px}.brands .brands-tabs{height:280px}.brands .brands-tabs ul{margin-left:-10px}.brands .brands-tabs li{margin-left:10px}.brands .brands-tabs li a{width:222px;height:180px;position:relative}.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?1453821773')}.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{position:relative;float:left;width:764px;height:436px}.brands .news .news-pic .slide-container{height:436px}.brands .news .news-pic .slide-container li a{height:436px;width:764px}.brands .news .news-pic .slide-container: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;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 .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{margin:25px auto}.brands .brands-items .brands-item{float:left;padding:15px 0;width:50%}.brands .brands-items a.brands-pic{float:left;width:280px;height:136px;display:block}.brands .brands-items a.brands-pic img{width:100%;height:100%}.brands .brands-items .brand-info{float:right;padding:0 20px;width:255px;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:92px;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}.min-screen .brands .sit-nav{padding-top:10px;padding-left:22px;font-size:12px}.min-screen .brands .sit-nav .sep{margin:0 6px}.min-screen .brands .brands-category{margin-top:84px;width:990px}.min-screen .brands .brands-tabs ul{margin-left:-9px}.min-screen .brands .brands-tabs li{margin-left:9px}.min-screen .brands .brands-tabs li a{width:190px;height:154px}.min-screen .brands .brands-tabs .brands-content{width:990px;top:200px}.min-screen .brands .brands-tabs .brands-content .brands-icon{margin-left:-33px;padding:0 4px}.min-screen .brands .brands-tabs .brands-content .brands-icon a{float:left;width:68px;height:44px;margin-left:33px}.min-screen .brands .brands-tabs .hover-contain{height:25px}.min-screen .brands .brands-tabs .hover-contain .hoverarr{height:4px;width:190px}.min-screen .brands .brandfloor ul{margin-left:-12px}.min-screen .brands .brandfloor li{margin-left:12px;margin-bottom:26px}.min-screen .brands .brandfloor li a{width:322px;height:206px}.min-screen .brands .singlegoods ul{margin-left:-10px}.min-screen .brands .singlegoods li{margin-left:10px;margin-bottom:10px}.min-screen .brands .singlegoods li a{width:240px;height:322px}.min-screen .brands .singlegoods .singlegoods-title{position:absolute;left:0;bottom:0;height:50px;width:100%}.min-screen .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}.min-screen .brands .video ul{margin-left:-10px}.min-screen .brands .video li{margin-left:10px;margin-bottom:10px}.min-screen .brands .video li a{width:323px;height:208px}.min-screen .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?1453821773')}.min-screen .brands .video .video-title{position:absolute;left:0;bottom:0;height:32px;width:100%}.min-screen .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}.min-screen .brands .news .news-pic{width:660px;height:376px}.min-screen .brands .news .news-pic .slide-container{height:376px}.min-screen .brands .news .news-pic .slide-container img{height:376px}.min-screen .brands .news .news-txt{width:284px;height:334px}.min-screen .brands .ads{margin-bottom:30px}.min-screen .brands .ads ul{margin-left:-10px}.min-screen .brands .ads li{margin-left:10px;margin-bottom:10px}.min-screen .brands .ads li a{width:240px}.min-screen .brands .ads li a img{height:140px}.min-screen .brands .ads li .name{font-size:14px}.min-screen .brands .ads li .des{font-size:12px}.min-screen .brands .brands-items a.brands-pic{width:240px;height:116px}.min-screen .brands .brands-items .brand-info{width:212px}.min-screen .brands .brands-items .brand-info .brand-desc{height:72px}.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}.product-search-page .goods-container .good-info{width:222px}.min-screen .product-search-page .goods-container{height:auto;padding-top:25px;position:relative;width:1000px}.min-screen .product-search-page .goods-container .good-info{width:190px}.min-screen .product-search-page .goods-container .good-info .good-detail-img{height:255px}.min-screen .product-search-page .goods-container .block-next-page{width:190px;height:255px}.min-screen .product-search-page .filter-box .brand .attr-content{max-width:750px}.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 h2 a{color:#000;padding-left:0}.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{display:block;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;cursor:pointer}.product-list-page .brand-banner .coled{color:#f00}.product-list-page .sort-intro{margin-bottom:20px}.product-list-page .sort-intro .texts{width:386px;height:298px;padding:0 50px;border:1px solid #eaeceb;text-align:center;overflow:hidden}.product-list-page .sort-intro .name{font-size:30px;font-weight:bold;margin-top:60px}.product-list-page .sort-intro .en-name{font-size:14px;font-weight:bold}.product-list-page .sort-intro .desc{margin-top:15px;color:#666;margin-top:15px;font-size:12px;line-height:150%}.product-list-page .sort-intro .img{width:480px;height:300px}.product-list-page .sort-intro .key-entry{width:330px;margin:30px auto 0}.product-list-page .sort-intro .key-entry a{float:left;display:block;width:110px;line-height:20px;font-size:12px;color:#069;text-decoration:underline}.min-screen .product-list-page .sort-intro .texts{width:346px;height:248px;padding:0 30px}.min-screen .product-list-page .sort-intro .name{margin-top:30px}.min-screen .product-list-page .sort-intro .img{width:400px;height:250px}.new-sale-page .sale-list-banner{width:100%;position:relative}.new-sale-page .sale-list-banner ul{overflow:hidden;width:100%;position:relative;z-index:1}.new-sale-page .sale-list-banner ul li{width:100%;height:100%;display:block;float:left;position:absolute;top:0;left:0}.new-sale-page .sale-list-banner .sale-list-pagation{z-index:2;position:absolute;left:0;bottom:50px;width:100%;height:20px;text-align:center}.new-sale-page .sale-list-banner .sale-list-pagation div{display:inline-block}.new-sale-page .sale-list-banner .sale-list-pagation span{display:block;width:20px;height:20px;background:url('../assets/img/product/default-normal.png?1453821773');float:left;margin:0 10px;cursor:pointer}.new-sale-page .sale-list-banner .sale-list-pagation span.active{background:url('../assets/img/product/default-active.png?1453821773')}.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?1453821773')}.new-sale-page .new-floor-title .title{float:right;margin-right:40px}.min-screen .new-sale-page .new-brands .brands-wrap{width:730px}.filter-box{border:1px solid #dfdfdf}.filter-box .section{padding:10px 15px;font-size:12px;border-top:1px solid #dfdfdf}.filter-box .section:first-child{border-top:none;background:#eaeceb;padding:5px 15px}.filter-box .title{float:left;width:75px;line-height:30px}.filter-box .attr-content{margin-left:75px}.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 .color .attr{margin-right:0}.filter-box .checked .color-block{width:16px;height:16px;border:2px solid #222;padding:2px;background-size:100% !important}.filter-box .checked .color-block .sub-color-block{display:block;width:16px;height:16px;background-position:center !important}.filter-box .checked-conditions{line-height:30px}.filter-box .checked-conditions .title{margin-top:5px}.filter-box .checked-conditions .tag{display:block;float:left;padding:0 10px;margin:5px 30px 5px 0;background:#000;color:#fff;cursor:pointer}.filter-box .checked-conditions .color-block{height:14px;width:14px;border:1px solid #fff;margin-bottom:-3px;background-size:100% !important}.filter-box .checked-conditions .clear-checked{margin-top:5px;color:#999;float:right}.filter-box .checked-conditions .close{font-size:14px}.filter-box .sort-pre .active .attr{border:1px solid #000}.filter-box .sort-pre .attr{position:relative}.filter-box .active .sort-up-icon{visibility:visible}.filter-box .sort-up-icon{position:absolute;width:15px;height:9px;left:50%;margin-left:-7px;bottom:-17px;z-index:3;visibility:hidden;background:url('../assets/img/product/senior-up.png?1453821773') no-repeat;background-position:50% 0}.filter-box .sort-sub-wrap{width:100%}.filter-box .sort-sub-wrap .sort-sub{border-top:1px solid #dfdfdf;margin-top:15px;padding:0 0 15px}.filter-box .sort-sub-wrap .sort-sub .attr{padding-top:15px}.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:10px;cursor:pointer}.filter-box .brand .brands-index{float:left;line-height:30px;margin-right:5px;cursor:pointer}.filter-box .brand .brands-index span{margin:0 3px;-moz-user-select:none}.filter-box .brand .brands-index span:first-child{margin-left:10px}.filter-box .brand .brands-index span.hover{color:#f00}.filter-box .brand .brand-search{float:left;height:18px;line-height:18px;border:1px solid #b0b0b0;margin-top:5px;margin-left:10px}.filter-box .brand .brand-search input{float:left;border:none;width:100px;height:18px;padding:0}.filter-box .brand .brand-search .btn{position:relative;display:inline-block;top:-1px;width:55px;height:20px;line-height:20px;background:#3a3a3a;color:#fff;text-align:center;cursor:default}.filter-box .brand .panel-body{padding:15px 20px;background:#f4f7f6;margin-top:5px;margin-left:10px}.filter-box .brand .panel-body .ul-scroll{overflow:auto;min-height:30px;max-height:150px}.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:14px;margin-right:20px;cursor:pointer;outline:none}.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;background:#333;color:#fff;margin-left:10px;outline:none;border:none;font-size:12px;cursor:pointer}.filter-box .color-block{display:inline-block;height:22px;width:22px;border:1px solid #ccc;margin-bottom:-6px;margin-right:5px;background-size:100% !important;background-repeat:no-repeat !important}.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,.filter-box .senior-attr-wrap>.attr.hover{font-weight:bold}.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:0 15px 15px 91px;left:-91px;right:-16px;top:39px;background:#fff;border:1px solid #dfdfdf;border-top:0;z-index:2}.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-content{padding-top:15px;border-top:1px solid #eaeceb}.filter-box .senior-up-icon{position:relative;width:100%;height:9px;z-index:3;margin-left:-11px;visibility:hidden;background:url('../assets/img/product/senior-up.png?1453821773') no-repeat;background-position:50% 0}.filter-box .checkbox{display:none;float:left}.filter-box .multi .checkbox{display:block;color:#444;font-size:12px;margin-right:3px}.min-screen .filter-box .brand .attr{width:25%}.sort-pager{height:48px;background:#f5f7f6;line-height:48px;margin:10px 0}.sort-pager .sort-type,.sort-pager .checks{color:#999;font-size:12px;padding:0 10px}.sort-pager .sort-type .iconfont,.sort-pager .checks .iconfont{font-size:12px}.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;background:#fff}.sort-pager .page-count .iconfont{font-size:14px;color:#ccc;float:right}.sort-pager .page-count>ul{position:absolute;display:none;width:48px;border-left:1px solid #ccc;border-right:1px solid #ccc;background:#fff;z-index:1}.sort-pager .page-count li{padding:0 3px;border-bottom:1px solid #ccc}.sort-pager .page-count li:hover{background:#376cf7;color:#fff}.sort-pager .page-count a{display:block;width:100%}.sort-pager .page-orient{float:left;font-size:14px;line-height:15px;margin:0 20px}.sort-pager .page-orient .dis-icon{color:#e6e6e6}.sort-pager .page-orient 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:left;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:5px}.good-info .good-detail-text .brand a{color:#666;line-height:1.5}.good-info .good-detail-text .market-price{text-decoration:line-through;color:#999}.good-info .col-btn{position:absolute;top:15px;right:15px;color:#ccc;font-size:12px;display:none}.good-info .col-btn.coled{color:#f95b4f}.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{cursor:pointer}@keyframes slideRight{from{max-width:0}to{max-width:150px}}.good-item-wrapper .good-select-color{float:left;margin-top:22px;overflow:hidden;animation:slideRight 600ms 1}.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{min-width:984px;height:241px;margin:30px 0;overflow:hidden}.latest-walk .good{float:left;margin-right:14px;width:150px}.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}.min-screen .latest-walk .goods{width:820px;min-width:820px;height:301px}.min-screen .latest-walk .good{margin-right:10px;width:195px}.min-screen .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}.hotrank-page{width:1150px;margin:0 auto}.hotrank-page .popular-list{width:1160px}.hotrank-page .popular-list li{position:relative;float:left;width:378px;height:596px;overflow:hidden;list-style:none;margin:0 8px 0 0}.hotrank-page .popular-list li .item-img{width:100%;height:506px;line-height:506px;text-align:center;overflow:hidden}.hotrank-page .popular-list li img{display:block;width:100%;height:100%}.hotrank-page .popular-list li .polular-icon{position:absolute;top:0;right:0;width:50px;height:50px;line-height:60px;background:#ffc513 url('../assets/img/product/hotrank/popular-icon.png?1453821773') no-repeat center center;text-align:center;color:#ffc513;font-weight:bold}.hotrank-page .popular-list li .item-content{width:100%;padding:14px 0 0 0;height:77px;overflow:hidden;text-align:center;color:#222;line-height:18px}.hotrank-page .popular-list li .item-content h2{max-height:36px;font-size:12px;color:#000;line-height:18px;text-align:center;overflow:hidden}.hotrank-page .popular-list li .item-content p{display:inline-block;margin:3px 0 0 0;font-size:12px;*zoom:1;*display:inline;text-align:center;line-height:20px;color:#000}.hotrank-page .popular-list li .item-content p span{text-decoration:line-through;margin:0 10px 0 0;color:#999}.hotrank-page .popular-list .popular-item6,.hotrank-page .popular-list .popular-item7,.hotrank-page .popular-list .popular-item8,.hotrank-page .popular-list .popular-item9{width:280px;height:464px;margin:0 10px 0 0;overflow:hidden}.hotrank-page .popular-list .popular-item6 .item-img,.hotrank-page .popular-list .popular-item7 .item-img,.hotrank-page .popular-list .popular-item8 .item-img,.hotrank-page .popular-list .popular-item9 .item-img{height:374px;line-height:374px}.hotrank-page .hot-week{position:relative;padding:0 0 40px}.hotrank-page .hot-cate{height:45px;background:#f5f7f6;overflow:hidden}.hotrank-page .hot-cate li{float:left;height:45px;line-height:45px;display:table-cell}.hotrank-page .hot-cate li a{vertical-align:middle;padding:0 26px;font-size:14px;color:#777;border-left:1px solid #999}.hotrank-page .hot-cate li:first-child a{border:none}.hotrank-page .hot-cate li.current a{font-size:16px;color:#000}.hotrank-page .hot-week-list{width:1160px}.hotrank-page .hot-week-list .good-info{width:280px;height:464px;margin:10px 10px 0 0}.hotrank-page .hot-week-list .good-info .tag-container{display:none}.hotrank-page .hot-week-list .good-info .good-detail-img{height:374px;line-height:374px;text-align:center;font-size:0}.hotrank-page .hot-week-list .good-info .good-detail-img img{vertical-align:middle}.hotrank-page .hot-week-list .good-info .good-detail-text{height:77px;overflow:hidden;text-align:center;color:#222;line-height:18px}.hotrank-page .hot-week-list .good-info .good-detail-text a{max-height:36px;font-size:12px;color:#000;line-height:18px;text-align:center;overflow:hidden}.hotrank-page .hot-week-list .good-info .good-detail-text p{display:inline-block;margin:3px 0 0 0;font-size:12px;*zoom:1;*display:inline;text-align:center;line-height:20px;color:#000}.hotrank-page .hot-week-list .good-info .good-detail-text p .sale-price{margin:0 10px 0 0}.hotrank-page .floatlayer{display:none;position:fixed;top:50%;left:50%;margin:0 0 0 575px;opacity:0;filter:alpha(opacity=0)}.hotrank-page .floatlayer li{width:42px;height:42px;border:2px solid #555;border-top:none;border-bottom-width:1px;text-align:center}.hotrank-page .floatlayer li a{position:relative;display:table-cell;width:42px;height:42px;vertical-align:middle;color:#555;font-size:12px}.hotrank-page .floatlayer li a span{display:inline-block;vertical-align:middle;width:28px;*zoom:1;*display:inline;word-wrap:break-word}.hotrank-page .floatlayer li:first-child{border-top:1px solid #555}.hotrank-page .floatlayer li.current,.hotrank-page .floatlayer li:hover{background:#555}.hotrank-page .floatlayer li.current a,.hotrank-page .floatlayer li:hover a{color:#fff}.min-screen .hotrank-page{width:990px}.min-screen .hotrank-page .popular-list li{width:324px;height:521px}.min-screen .hotrank-page .popular-list li .item-img{height:434px;line-height:434px}.min-screen .hotrank-page .popular-list .popular-item6,.min-screen .hotrank-page .popular-list .popular-item7,.min-screen .hotrank-page .popular-list .popular-item8,.min-screen .hotrank-page .popular-list .popular-item9{width:240px;height:408px}.min-screen .hotrank-page .popular-list .popular-item6 .item-img,.min-screen .hotrank-page .popular-list .popular-item7 .item-img,.min-screen .hotrank-page .popular-list .popular-item8 .item-img,.min-screen .hotrank-page .popular-list .popular-item9 .item-img{height:320px;line-height:320px}.min-screen .hotrank-page .hot-week-list .good-info{width:240px;height:408px}.min-screen .hotrank-page .hot-week-list .good-info .good-detail-img{height:320px;line-height:320px}.shop-entry{position:relative;background:#f5f7f6;border:1px solid #eaeceb;padding:12px 15px;margin-bottom:10px}.shop-entry .logo{width:80px;height:50px}.shop-entry .name{margin-left:10px}.shop-entry .shop-name{font-size:16px;color:#222;line-height:26px}.shop-entry .sorts{color:#999;font-size:12px;line-height:18px}.shop-entry .sorts a{color:#999}.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}.shop-entry .entry-btn .iconfont{font-size:12px}.goods-container{height:auto;padding:25px 0 0 0;position:relative;width:980px}.goods-container .good-info{width:235px}.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}.product-list-page .filter-box .brand .attr-content,.new-sale-page .filter-box .brand .attr-content{max-width:730px}.min-screen .product-list-page .list-right,.min-screen .new-sale-page .list-right{width:810px}.min-screen .product-list-page .goods-container,.min-screen .new-sale-page .goods-container{height:auto;padding-top:25px;position:relative;width:820px}.min-screen .product-list-page .goods-container .good-info,.min-screen .new-sale-page .goods-container .good-info{width:195px}.min-screen .product-list-page .goods-container .good-info .good-detail-img,.min-screen .new-sale-page .goods-container .good-info .good-detail-img{height:261px}.min-screen .product-list-page .goods-container .block-next-page,.min-screen .new-sale-page .goods-container .block-next-page{width:195px;height:261px}.min-screen .product-list-page .filter-box .brand .attr-content,.min-screen .new-sale-page .filter-box .brand .attr-content{max-width:570px}.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?1453821773');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?1453821773') 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?1453821773') no-repeat 0 0}.guang-detail-page .share-to .share-weixin{background:url('../assets/img/guang/detail/icon-share.png?1453821773') no-repeat 0 -96px}.guang-detail-page .share-to .share-tencent{background:url('../assets/img/guang/detail/icon-share.png?1453821773') no-repeat 0 -16px}.guang-detail-page .share-to .share-renren{background:url('../assets/img/guang/detail/icon-share.png?1453821773') no-repeat 0 -32px}.guang-detail-page .share-to .share-qzone{background:url('../assets/img/guang/detail/icon-share.png?1453821773') no-repeat 0 -48px}.guang-detail-page .share-to .share-qq{background:url('../assets/img/guang/detail/icon-share.png?1453821773') no-repeat 0 -64px}.guang-detail-page .share-to .share-douban{background:url('../assets/img/guang/detail/icon-share.png?1453821773') 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}.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-page .err-tip a{text-decoration:underline;color:#f00}.passport-page .page-tip{display:block;width:100%;height:30px;line-height:30px;text-align:center;font-size:20px;font-weight:bold;color:#ccc;clear:both;margin-bottom:15px}.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}.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 .remember-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:45px;background-size:100% 100%}.login-page .third-party-login .icon{display:block;width:30px;height:30px;margin:0 auto}.login-page .third-party-login .weixin{background:url('../assets/img/passport/third-sbf9e987704.png') 0 -150px no-repeat}.login-page .third-party-login .qq{background:url('../assets/img/passport/third-sbf9e987704.png') 0 -60px no-repeat}.login-page .third-party-login .weibo{background:url('../assets/img/passport/third-sbf9e987704.png') 0 -120px no-repeat}.login-page .third-party-login .alipay{background:url('../assets/img/passport/third-sbf9e987704.png') 0 0 no-repeat}.login-page .third-party-login .douban{background:url('../assets/img/passport/third-sbf9e987704.png') 0 -30px no-repeat}.login-page .third-party-login .renren{background:url('../assets/img/passport/third-sbf9e987704.png') 0 -90px no-repeat}.login-page .caps-lock{position:absolute;color:#666;border:#ffe57d;background:#fff6d2;white-space:nowrap;top:8px;left:278px;padding:0 20px;height:27px;line-height:30px}.content .register-page{font-size:14px;color:#b9b9b9}.content .register-page{height:auto}.content .register-page li{margin-bottom:25px;width:270px;position:relative}.content .register-page li.w330{width:330px}.content .register-page li input,.content .register-page li select{outline:none}.content .register-page li input.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-page li input.input.error{border:1px solid red}.content .register-page li input.input.phone-num{width:209px;display:block;float:left;position:absolute;top:0;right:0}.content .register-page li input.input.captcha,.content .register-page li input.input.msg-captcha{width:160px;float:left}.content .register-page li input.input.agree-terms{vertical-align:middle}.content .register-page 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-page li input.send-captcha.disable{background:#555}.content .register-page li .link{text-decoration:underline;color:#ff1901}.content .register-page li .btn{height:45px;line-height:45px;color:#fff;border:none;padding:0;font-family:'黑体' Regular;text-align:center}.content .register-page li select.region{height:30px;padding:4px 0;width:132px;border-color:#c1c1c1;color:#9a9a9a;font-size:16px;font-family:'黑体' Regular}.content .register-page 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-page li .captcha-img{height:37px;width:90px;border:0;vertical-align:middle;outline:none;margin-left:10px;margin-top:4px;float:left}.content .register-page li .change-captcha{margin-left:10px;cursor:pointer;float:left;height:43px;line-height:43px}.content .register-page li .pwd-intensity-container{width:270px;text-align:right;margin-top:5px;height:auto;overflow:hidden}.content .register-page li .pwd-intensity-container .pwd-intensity{height:15px;font-size:12px;background-color:#e8e8e8;padding:1px 10px;text-align:center}.content .register-page li .pwd-intensity-container.red{color:red}.content .register-page li .pwd-intensity-container.red .color{background:red;color:#fff}.content .register-page li .pwd-intensity-container.yellow .color{background:#ff0;color:#fff}.content .register-page li .pwd-intensity-container.green .color{background:#3ee392;color:#fff}.content .register-page li.items-container{font-size:13px;text-align:right;white-space:nowrap}.content .register-page li .register-btn{width:270px;font-size:20px;font-weight:bold;background:#ff1901}.content .register-page li .register-btn.disable{background:#555}.content .register-page li.quick-login-container{width:270px;font-size:13px;text-align:right;white-space:nowrap}.content .register-page li.skip-user-info{font-size:18px;text-align:center}.content .register-page li.skip-user-info a{color:#ff1901;text-decoration:underline}.content .register-page .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-page .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}.welcome-page{text-align:center;color:#7f7f7f}.welcome-page .content{padding-top:82px}.welcome-page .wel-title{font-size:30px;margin-bottom:30px}.welcome-page .wel-title em{font-style:normal;color:#ff1901}.welcome-page .wel-sub-title{font-size:16px;margin-bottom:60px}.welcome-page .link{display:block}.welcome-page .link span{color:#7f7f7f}.welcome-page .link-img{height:91px;width:91px;background-size:100% 100%;margin-bottom:10px}.welcome-page .go-shopping{float:left;padding-left:100px}.welcome-page .go-shopping div{background-image:url('../assets/img/passport/go-shopping.png?1453821773')}.welcome-page .complete-info{float:right;padding-right:100px}.welcome-page .complete-info div{background-image:url('../assets/img/passport/edit-info.png?1453821773')}.yohobindbtn{display:block;width:210px;height:45px;line-height:45px;background-color:#f02200;color:#fff;font-size:16px;text-align:center}.hide{display:none}.novisiable{visibility:hidden}.actlevel{background-color:#f02200 !important;color:white !important}.mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;overflow-x:hidden;-webkit-overflow-scrolling:touch;outline:0}.bindwrapper{margin:0 auto;width:980px;min-height:450px;padding-top:122px}.welcomeword{width:100%;text-align:center;font-size:22px;line-height:22px;color:#545454;margin-bottom:15px}.welcomeword .yoho{color:#e12000}.safeword{width:100%;text-align:center;font-size:16px;line-height:16px;color:#545454;margin-bottom:63px}.yohobindrow{width:480px;margin:0 auto 22px;height:40px}.yohobindrow .name{float:left;text-align:right;margin-right:14px;width:96px}.yohobindrow .areatag{height:30px;line-height:30px}.yohobindrow .phonetag,.yohobindrow .setpwdtag{height:47px;line-height:47px}.yohobindrow .content{float:left;text-align:left;margin-top:0;padding-left:0}.yohobindrow::after{display:block;content:'';clear:both}.sendnotify{width:260px;text-align:left;margin:0 auto 18px}.validaterow{overflow:hidden;margin:0 auto 22px;padding-left:250px}.validaterow .name{float:left;text-align:right;margin-right:14px;width:96px}.validaterow .areatag{height:30px;line-height:30px}.validaterow .phonetag{height:47px;line-height:47px}.validaterow .content{float:left;text-align:left}.validaterow::after{display:block;content:'';clear:both}.validaterow .validatewrapper{float:left;height:45px;width:133px;text-align:center;line-height:45px;background-color:#d8d8d8;color:#000;font-size:13px;margin-left:18px}.validaterow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.validatepicrow{overflow:hidden;margin:0 auto 22px;padding-left:250px}.validatepicrow .name{float:left;text-align:right;margin-right:14px;width:96px}.validatepicrow .areatag{height:30px;line-height:30px}.validatepicrow .phonetag{height:47px;line-height:47px}.validatepicrow .content{float:left;text-align:left}.validatepicrow::after{display:block;content:'';clear:both}.validatepicrow .validatewrapper{float:left;height:45px;text-align:center;line-height:45px;color:#000;font-size:13px;margin-left:18px}.validatepicrow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.validatepicrow .change-captcha{cursor:pointer;color:#f02200;text-decoration:underline}.setpwdwrapper{margin-bottom:10px;height:45px}.safelevel{width:291px;height:15px;margin:0 auto;text-align:right;font-size:10px;color:#000}.safelevel span{width:28px;height:15px;line-height:15px;background-color:#e5e5e5;font-size:10px;color:#000;margin-right:4px;padding:1px 8px}.green .color{background-color:#0f0;color:#fff}.yellow .color{background-color:#ff0;color:#fff}.red .color{background-color:#f00;color:#fff}.yohoselectarea{position:relative;box-sizing:border-box;width:131px;height:33px}.yohoselectarea .optionshow{width:100%;height:100%;padding-left:16px;border:1px solid #d9d9d9}.yohoselectarea .optionshow .areaname{display:block;float:left;width:110px;height:100%;line-height:33px;font-size:13px;color:#000}.yohoselectarea .optionshow .righttag{display:block;float:left;width:21px;height:100%;line-height:33px;background-color:#d8d8d8;background-image:url('../assets/img/passport/arrowbottom.png?1453821773');background-repeat:no-repeat;background-position:center center}.yohoselectarea .optionslist{background-color:white;position:absolute;top:35px;left:0;width:149px;z-index:2}.yohoselectarea .optionslist .optionitem{height:33px;line-height:33px;padding-left:16px;font-size:13px}.yohoselectarea .optionslist .optionitem:hover{background-color:#dfdfdf}.yohophonewrapper{width:271px;height:47px;border:1px solid #d9d9d9;position:relative}.yohophonewrapper .areanum{float:left;height:100%;width:63px;line-height:47px;text-align:center;color:#000;background-color:#d8d8d8}.yohophonewrapper .phonenum{outline:none;box-sizing:border-box;float:left;height:45px;width:205px;line-height:38px;padding-left:8px;border:none;color:#000}.protoctolwrapper{width:350px;margin:38px auto 0;padding-left:85px;overflow:hidden}.protoctolwrapper .choosewrapper{float:left;width:13px;height:13px;background-color:#4c4c4c;background-image:none;background-position:center center;background-repeat:no-repeat;margin-right:14px}.protoctolwrapper .choosetag{width:100%;height:100%;display:block;opacity:0;filter:alpha(opacity=0)}.protoctolwrapper span{float:left}.protoctolwrapper .protoctol{color:#f02200;text-decoration:underline}.protoctolwrapper::after{display:block;content:'';clear:both}.confirmwrapper{overflow:hidden;margin-top:47px !important}.btnwrapper{width:350px;margin:20px auto 0;padding-left:85px}.thirdloginwrapper{margin:0 auto;width:1150px;min-height:450px;padding-top:160px}.thirdloginwrapper .safeword{margin-bottom:30px}.thirdloginwrapper .left{box-sizing:border-box;float:left;width:450px;height:318px;border-right:1px solid #e5e5e5}.thirdloginwrapper .right{box-sizing:border-box;float:right;width:696px;padding-top:64px;height:318px}.thirdloginwrapper .gobuy,.thirdloginwrapper .completeprofile{float:left;display:inline-block;width:94px;height:94px;line-height:94px;text-align:center;border-radius:50%;background-color:#f02200;color:white}.thirdloginwrapper .gobuy{margin-left:228px;margin-right:80px}.bindsuccesswrapper{margin:0 auto;width:1150px;min-height:450px;padding-top:160px}.bindsuccesswrapper .successwrapper{width:320px;height:29px;margin:0 auto 16px}.bindsuccesswrapper .successwrapper .successtag{display:inline-block;margin-right:28px;float:left;width:29px;height:29px;background-image:url("../img/bindsuccess.png");background-repeat:no-repeat}.bindsuccesswrapper .successwrapper .congratulation{display:inline-block;height:29px;line-height:29px;font-size:22px}.bindsuccesswrapper .info{text-align:center;font-size:16px;margin-bottom:48px}.bindsuccesswrapper .gobuynow{margin:0 auto}.bindconfrimwrapper{width:900px;height:439px;margin:153px auto;background-color:#fff;box-sizing:border-box;padding-top:37px}.bindconfrimwrapper .topwrapper{width:281px;height:90px;margin:0 auto 32px}.bindconfrimwrapper .topwrapper .userphoto{width:90px;height:90px;vertical-align:middle;border-radius:50%;margin-right:22px}.bindconfrimwrapper .topwrapper .username{vertical-align:middle}.bindconfrimwrapper .usertaginfo{text-align:center;font-size:16px;color:#545454;margin-bottom:10px}.bindconfrimwrapper .usertagremind{text-align:center;font-size:14px;color:#000;margin-bottom:47px}.bindconfrimwrapper .otherphone{margin:0 auto 64px}.bindconfrimwrapper .logindirectly{display:block;text-align:center;text-decoration:underline;color:#f02200}.yohobindbtn[disabled]{background-color:#e5e5e5;cursor:not-allowed}.gobindwrapper{width:100%;height:45px;margin-bottom:70px}.gobindwrapper::after{display:block;content:'';clear:both}.gobindwrapper .myphone{float:left;margin-left:20px;width:193px}.gobindwrapper .logindirectly{display:inline-block}.gobindwrapper .validaterow{overflow:hidden;margin:0 auto 22px;padding-left:222px;float:left}.gobindwrapper .validaterow .name{float:left;text-align:right;margin-right:14px;width:96px}.gobindwrapper .validaterow .areatag{height:30px;line-height:30px}.gobindwrapper .validaterow .phonetag{height:47px;line-height:47px}.gobindwrapper .validaterow .content{float:left;text-align:left}.gobindwrapper .validaterow .content .validatacode{outline:none;box-sizing:border-box;float:left;height:45px;width:113px;line-height:38px;padding-left:8px;border:1px solid #d9d9d9;color:#000}.gobindwrapper .validaterow .validatewrapper{float:left;height:45px;width:133px;text-align:center;line-height:45px;background-color:#d8d8d8;color:#000;font-size:13px;margin-left:18px}.gobindwrapper .validaterow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.gobindbottomwrapper{width:100%;padding-left:341px}.gobindbottomwrapper .logindirectly{display:inline-block;float:left;margin-right:36px;text-decoration:underline;color:#f02200}.pwd-tips{position:absolute;top:-10px;left:285px;width:158px !important;height:70px;padding-top:7px;font-size:12px;background:url(http://6.url.cn/zc/chs/img/pwd_sprite.png?v=10069) no-repeat}.pwd-tips{position:absolute;top:-10px;left:285px;width:158px !important;height:70px;padding-top:7px;font-size:12px;background:url(http://6.url.cn/zc/chs/img/pwd_sprite.png?v=10069) no-repeat}.pwd-tips div{height:22px;line-height:22px;margin-left:15px;padding-left:18px}.pwd-tips .default{background:url(http://6.url.cn/zc/chs/img/pwd_sprite.png?v=10069) 0 -215px no-repeat}.pwd-tips .yes{background:url(http://6.url.cn/zc/chs/img/pwd_sprite.png?v=10069) 0 -247px no-repeat}.pwd-tips .no{background:url(http://6.url.cn/zc/chs/img/pwd_sprite.png?v=10069) 0 -281px no-repeat}.pwd-tips .red{color:red !important}.msg-tip{position:absolute;top:17px;left:285px;white-space:nowrap}.msg-tip img{height:12px;width:12px}.backdrop{position:fixed;background:#000;width:100%;height:100%;left:0;top:0;bottom:0;right:0;opacity:.5;filter:alpha(opacity=50)}.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?1453821781') 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?1453821773');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?1453821773');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}.sale-page{margin-top:10px}.sale-page .slide-container{position:relative;height:450px;overflow:hidden}.sale-page .activity-entry{margin:10px 0}.sale-page .activity-entry .entry-item{display:block;width:377px;margin-right:10px;padding:24px 0;background:#f5f5f5}.sale-page .activity-entry .entry-item.first,.sale-page .activity-entry .entry-item.last{width:376px}.sale-page .activity-entry .entry-item.last{margin-right:0}.sale-page .activity-entry .entry-text{padding-left:160px;font-size:16px}.sale-page .activity-entry .icon{width:70px;height:70px;margin-left:48px;background-repeat:no-repeat}.sale-page .activity-entry .icon.vip{background-image:url('../assets/img/sale/for-vip.png?1453821773')}.sale-page .activity-entry .icon.discount{background-image:url('../assets/img/sale/discount.png?1453821773')}.sale-page .activity-entry .icon.off-price{background-image:url('../assets/img/sale/off-price.png?1453821773')}.sale-page .activity-entry .title{font-size:26px;font-weight:bold;line-height:48px}.sale-page .floor-title{margin:80px auto 40px;width:300px;font-size:16px;line-height:30px;text-align:center;border:1px solid #000}.sale-page .brand-sale .sale-group-big{width:1158px}.sale-page .brand-sale .sale-group-big .item{width:378px;margin-right:8px;margin-bottom:10px}.sale-page .brand-sale .sale-group-big .pic{position:relative;height:400px}.sale-page .brand-sale .sale-group-big .time{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;left:0;bottom:0;width:100%;padding:0 10px;font-size:16px;line-height:30px;text-align:right;color:#fff;background:#4e4e4e}.sale-page .brand-sale .sale-group-big .detail{background:#f5f5f5}.sale-page .brand-sale .sale-group-big .brand{margin:24px 10px 0}.sale-page .brand-sale .sale-group-big .text{padding:24px 10px 24px 0;font-size:14px;color:#fd5659}.sale-page .brand-sale .sale-group-big .discount{font-size:28px;font-weight:bold}.sale-page .brand-sale .sale-group-big .discount .num{font-size:40px}.sale-page .brand-sale .sale-group{width:1158px}.sale-page .brand-sale .sale-group .item{width:185px;margin-right:8px;margin-bottom:10px}.sale-page .brand-sale .sale-group .pic{width:100%;display:block}.sale-page .brand-sale .sale-group .detail{padding:14px 10px;background:#f5f5f5;text-align:center;line-height:20px}.sale-page .brand-sale .sale-group .title{font-size:12px}.sale-page .brand-sale .sale-group .time{font-size:14px}.sale-page .sale-nav li{float:left;width:20%;height:40px;line-height:40px;background-color:#e0e0e0;text-align:center;background-color:#f5f5f5;color:#6d6d6d;margin-bottom:10px}.sale-page .sale-nav li.active{color:#fff;background-repeat:no-repeat;background-size:100% 100%}.sale-page .sale-nav li.green.active{color:#fff;background-image:url('../assets/img/sale/navactive-green-middle.png?1453821773');background-repeat:no-repeat;background-size:100% 100%}.sale-page .sale-nav li.green.first.active{background-image:url('../assets/img/sale/navactive-green-first.png?1453821773')}.sale-page .sale-nav li.green.last.active{background-image:url('../assets/img/sale/navactive-green-last.png?1453821773')}.sale-page .sale-nav li.yellow.active{color:#fff;background-image:url('../assets/img/sale/navactive-yellow-middle.png?1453821773');background-repeat:no-repeat;background-size:100% 100%}.sale-page .sale-nav li.yellow.first.active{background-image:url('../assets/img/sale/navactive-yellow-first.png?1453821773')}.sale-page .sale-nav li.yellow.last.active{background-image:url('../assets/img/sale/navactive-yellow-last.png?1453821773')}.sale-page .sale-nav li.red.active{color:#fff;background-image:url('../assets/img/sale/navactive-red-middle.png?1453821773');background-repeat:no-repeat;background-size:100% 100%}.sale-page .sale-nav li.red.first.active{background-image:url('../assets/img/sale/navactive-red-first.png?1453821773')}.sale-page .sale-nav li.red.last.active{background-image:url('../assets/img/sale/navactive-red-last.png?1453821773')}@media screen and (min-width: 1150px){.sale-page .floor-header{margin:80px 0 40px}.sale-page .floor-header .header-navs li{padding:1px 15px}}.sale-page .commodity-list ul{width:1004px}.sale-page .commodity-item{float:left;width:241px;margin:0 10px 0 0}.sale-page .commodity-img{position:relative;height:323px;text-align:center}.sale-page .commodity-img img{width:100%;height:100%;vertical-align:middle}.sale-page .commodity-img .top-tag{position:absolute;width:60px;height:60px;top:10px;right:10px;line-height:60px;background:url("../assets/images/furniture/top-tag-bg.png?1450667948");font-size:20px;color:#fff}.sale-page .commodity-img .few-tag{position:absolute;bottom:0;width:100%;height:20px;background:#ffac5b;color:#fff;line-height:20px;text-align:center;font-size:12px}.sale-page .commodity-content{padding:10px 0 0 0;height:69px;overflow:hidden}.sale-page .commodity-content .commodity-name{font-size:12px;color:#000;line-height:18px;text-align:center}.sale-page .commodity-content .commodity-price{position:relative;margin:3px 0 0 0;text-align:center;line-height:20px;color:#000}.sale-page .commodity-content .commodity-price span{display:inline-block;*display:inline;*zoom:1;font-size:12px;padding:0 15px}.sale-page .commodity-content .commodity-price span.origin{text-decoration:line-through}.sale-page .commodity-content .commodity-price strong{font-weight:normal;color:#565656;font-size:13px}.sale-page .commodity-content .commodity-price span.vip-tag{background-image:url('../assets/img/sale/vip.png?1453821773');background-repeat:no-repeat;background-size:100% 90%;color:#fff;font-style:italic;margin-right:5px}.sale-page .commodity-content .commodity-price .price-sale{margin-left:10px;padding-left:10px;width:36px;height:20px;line-height:20px;background:url("../assets/images/furniture/sale-tag-bg.png?1450667948");color:#fff}@media screen and (min-width: 1150px){.sale-page .commodity-list ul{width:1160px}.sale-page .commodity-item{width:280px}.sale-page .commodity-img{height:374px}.sale-page .commodity-content{padding:14px 0 0 0;height:77px}}.sale-list-page .sale-title{margin:30px 0;font-size:12px;line-height:26px}.sale-list-page .sale-title .title{margin-right:20px;font-size:16px}.sale-list-page .sale-title .discount{display:inline-block;margin-right:10px;padding:0 10px;font-weight:lighter;line-height:16px;vertical-align:text-bottom;color:#fff;background:#ff575c}.sale-list-page .sale-title .time .iconfont{margin-right:5px}.sale-list-page .sort{padding:10px;border:1px solid #eaeceb}.sale-list-page .sort li{display:inline-block;margin-right:15px;padding:0 10px;font-size:12px;line-height:20px;color:#444}.sale-list-page .sort li.title{margin-right:0;font-weight:bold}.sale-list-page .sort li.active{color:#666;border:1px solid #000} diff --git a/web-static/dist/yohobuy/0.0.1/index.js b/web-static/dist/yohobuy/0.0.1/index.js new file mode 100644 index 0000000..6b1b414 --- /dev/null +++ b/web-static/dist/yohobuy/0.0.1/index.js @@ -0,0 +1,3 @@ +define("index",["jquery","handlebars","source-map","index","lazyload","jquery.placeholder"],function(e,t,i){var n;e("js/common"),e("js/header"),e("js/simple-header"),e("js/product/entry"),e("js/home/entry"),e("js/passport/entry"),i.exports=n}),define("js/common",["jquery"],function(e,t,i){function n(e){var t=new RegExp(e+"=([^;$]*)","i"),i="$1";return t.test(decodeURIComponent(document.cookie))?RegExp[i]:""}function o(e,t,i){var n,o,a,s,r="";"undefined"!=typeof t&&(i=i||{},null===t&&(t="",i.expires=-1),i.expires&&("number"==typeof i.expires||i.expires.toUTCString)&&("number"==typeof i.expires?(s=new Date,s.setTime(s.getTime()+24*i.expires*60*60*1e3)):s=i.expires,r="; expires="+s.toUTCString()),n=i.path?"; path="+i.path:"",o=i.domain?"; domain="+i.domain:"",a=i.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(t),r,n,o,a].join(""))}function a(){var e,t=n("_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=n("_g");return"undefined"==typeof e?"":JSON.parse(e).k}var l=e("jquery"),c=l("body");e("js/footer"),function(e,t,i,n,o){var a=t.createElement(i),s=t.getElementsByTagName(i)[0];e.YohoAcquisitionObject=o,e[o]=function(){e[o].p=arguments},a.async=1,a.src=n,s.parentNode.insertBefore(a,s)}(window,document,"script","http://cdn.yoho.cn/yas-jssdk/1.0.14/yas.js","_yas"),function(){var e=s();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.14","yohobuy_web",e,"","")}(),l(window).on("resize",function(){var e=l(this).width();1360>e?l(".return-top").addClass("min"):l(".return-top").removeClass("min"),1180>e?c.addClass("min-screen"):c.removeClass("min-screen")}).trigger("resize"),window.cookie=n,window.setCookie=o,window.getUser=a,window.getUid=s,window.getShoppingKey=r}),define("js/footer",["jquery"],function(e,t,i){function n(){var e=s("#subscriber-box"),t=s("#subscriber-btn"),i=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/,n={mail:"",tick:""};e.focus(function(){s(this).val("").css("color",""),t.removeClass("done").html(n.mail)}),t.click(function(){var o=s.trim(e.val());if(""!==o&&i.test(o))try{s.ajax({url:"http://www.yohobuy.com/common/emailsubscriber",dataType:"jsonp",data:{email:o,tmp:Math.random(),uid:window.getUid()},success:function(i){1===i.data.result?(e.val("已订阅到:"+o),t.addClass("done").html(n.tick)):e.css("color","red")}})}catch(a){console.log(a.message)}else e.css("color","red")})}function o(){var e=s(".vote"),t=s("#feed-back-page"),i=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 n=s(this),o=n.closest("li"),a=o.index(),r=[],l=o.find(".feedback-answer").val(),c=o.find(".feedback-id").val(),d=o.find(".question-id").val();o.find(":checked").each(function(){r.push(s(this).val())}),s.ajax({url:"http://www.yohobuy.com/common/suggestfeedback",dataType:"jsonp",data:{feedback_id:c||0,question_id:d||0,answer:l||"",solution:r.join(",")},success:function(n){var s=a+1;if(1===~~n.data.result){if(a===i-1)return void alert("感谢您的参与!");o.addClass("hide"),e.children(":eq("+(a+1)+")").removeClass("hide"),t.children(".cur").removeClass("cur"),t.children(":eq("+s+")").addClass("cur")}}})})}function a(){s(window).height()<s(document).height()?r.removeClass("hide"):r.addClass("hide")}var s=e("jquery"),r=s(".return-top");r.click(function(){s("html,body").animate({scrollTop:0},500)}),s(window).scroll(function(){0===s(window).scrollTop()?r.addClass("hide"):r.removeClass("hide")}),a(),r.hasClass("hide")&&s("img").load(a),n(),o(),window.rePosReturnTop=a}),define("js/header",["jquery","handlebars","source-map","index"],function(e,t,i){function n(e,t,i){try{ee.push({louceng:e,weizhi:t,event:i})}catch(n){}}function o(){var e=L("#nav_keyword").text(),t="vans",i=L("#query_key");""!==e?(i.css({color:"#000"}),i.val(e)):(i.css({color:"#e0e0e0"}),i.val(t),i.on("focus",function(e){i.css({color:"#000"}),i.val("")}))}function a(){var e={cookie:"_g",cartNum:""},t="",i="",n=0,o=0,a=0,s=0,r="";L.fn.miniCart=function(n){if(t=L.extend(e,n),"undefined"==typeof window.cookie(t.cookie))i=null;else if(t.cookie)try{i=G.parse(window.cookie(t.cookie))}catch(o){}null!==i&&""!==i&&(s=parseInt(i._nac)+parseInt(i._ac),0===s?L("#icart-num").attr("class","icart-num icart-none"):L("#icart-num").attr("class","icart-num"),L(t.cartNum).html(s))},L.fn.search=function(e){function t(t){var i=L.trim(L(t).val());return i=i.replace(new RegExp("'","gm"),""),""===i?(L(".search-list").hide(),!1):(i=encodeURI(i),void L.get(e+"?query="+i,function(e){L(".search-list").html(e.data),n=L(".search-list").children("li").length,o=-1,n>0?L(".search-list").show():L(".search-list").hide(),L(".search-list").find("a").hover(function(){L(this).css("background-color","#eee")},function(){L(this).css("background-color","#fff")})},"jsonp"))}function i(e){L(".search-list li:eq("+a+")").children("a").css("background-color","#fff"),L(".search-list li:eq("+o+")").children("a").css("background-color","#eee"),r=L(".search-list li:eq("+o+")").children("a").attr("title"),L("#query_key").val(r)}return this.each(function(){L(this).keyup(function(e){if(38===e.which){if(0===n)return!1;-1===o&&(o=0),a=o,o=(o-1+n)%n,i(this)}else if(40===e.which){if(0===n)return!1;a=o,o=(o+1)%n,i(this)}else 13===e.which?window.submitSearch():t(this)})})},L.extend({getData:function(e,t,i){var n={page:1,method:"",v:1,return_type:"jsonp",open_key:"12345",tmp:Math.random()},o="";if(void 0===typeof e||""===e)return!1;if(o=L.extend(n,t),o.page=o.page||1,""===o.method)return!1;try{L.getJSON(e+"/?callback=?",o,function(e){return""!==i?("undefined"!=typeof i(e.data)&&G.parse(i(e.data)),!1):void 0})}catch(a){console.log(a.message)}},getShoppingKey:function(){var e=window.cookie("_g"),t=G.parse(e);return"undefined"==typeof e||null===e?"":t._k}})}function s(e){var t;200===+e.code&&"object"==typeof e.data&&(t=""!==e.data.url?'<a target="_blank" href="'+e.data.url+'" class="page-top-banner"style="height:36px;border:none;background-image:url('+window.unescape(e.data.src)+');background-position: center;display:block;"> </a>':'<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>',L("body").prepend(t))}function r(e){var t=document.createElement("script");t.src="http://www.yohobuy.com/common/getbanner?content_code="+e+"&client_type=web&callback=JsonPCallBack",document.getElementsByTagName("head")[0].appendChild(t)}function l(e,t){var i,n;L(e).hover(function(e){e.preventDefault(),i=L(this),n=L(t)[0],""===n.style.display?(i.addClass("acttags"),n.style.display="block"):(i.removeClass("acttags"),n.style.display="")})}function c(){var e,t,i=[{sourceClass:".myyoho",targetClass:".myyoho-info"},{sourceClass:".phone",targetClass:".qr"}];for(t=0;t<i.length;t++)e=i[t],l(e.sourceClass,e.targetClass)}function d(){var e;L(".yohogroup").mouseenter(function(){e=L(this),e.text(e.attr("cn"))}),L(".yohogroup").mouseleave(function(){e=L(this),e.text(e.attr("en"))})}function h(){var e,t,i=["webkit","moz","ms"];for(t=0;t<i.length;t++)return e=i[t]+"RequestAnimationFrame",window[e]?!0:!1}function u(){var e=["webkit","moz","ms"],t=e[0]+"RequestAnimationFrame",i=e[1]+"RequestAnimationFrame",n=e[2]+"RequestAnimationFrame";return window[t]?function(e){requestAnimationFrame(e)}:window[i]?function(e){window[i](e)}:window[n]?function(e){window[n](e)}:function(e){window.setTimeout(e,67)}}function f(){ie+=10,ne.css({transform:"rotateX("+ie+"deg)","-webkit-transform":"rotateX("+ie+"deg)","-moz-transform":"rotateX("+ie+"deg)"}),ie/90%2===1&&(oe?(ne.css("background-image","url(http://static.yohobuy.com/newheader/img/logo1.png)"),oe=!1):(ne.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),oe=!0)),ie/90%2===0&&ie%360!==0?window.setTimeout(f,3e3):ie%360===0?window.setTimeout(f,6e4):te(function(){f()})}function p(){M&&window.clearTimeout(M),ne.fadeOut(ae,function(){oe=!1,ne.css("background-image","url(http://static.yohobuy.com/newheader/img/logo.png)"),ne.fadeIn(ae,function(){N=window.setTimeout(function(){ne.fadeOut(ae,function(){window.clearTimeout(N),oe=!0,ne.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),ne.fadeIn(ae,function(){M=window.setTimeout(p,6e4)})})},3e3)})})}function m(){h()?(te=u(),window.setTimeout(f,3e3)):window.setTimeout(p,3e3)}function g(e){var t=L(e);t.find(".thirdnavbar").each(function(){var e=L(this),t=e.find("a"),i=t.attr("href"),n="hot"===t.attr("hot")?!0:!1,o={};o=e.hasClass("category-title")?{type:"title",height:49,content:e.text(),index:window.valueIndex,href:i,hot:!1}:{type:"catlist",height:36,content:t.text(),index:window.valueIndex,href:i,hot:n},window.valueIndex++,window.newArr.push(o)})}function w(){var e=window.newArr.length,t=0,i=[],n=[],o=[],a=[],s="",r="",l="",c=0,d=0,h=0;for(t;e>t;t++){if(i=window.newArr[t],0===window.gindex&&(window.oh1=window.oh1+i.height,window.oh1>=340&&t!==e-1&&(window.targetArr1=window.newArr.slice(0,i.index+1),window.nowIndex=i.index+1,window.gindex++),t===e-1)){window.targetArr1=window.newArr.slice(0,e+1);break}if(1===window.gindex&&(window.oh2=window.oh2+i.height,window.oh2>=340&&t!==e-1&&(window.targetArr2=window.newArr.slice(window.nowIndex,i.index+1),window.nowIndex=i.index+1,window.gindex++),t===e-1)){window.targetArr2=window.newArr.slice(window.nowIndex,e+1);break}if(2===window.gindex){if(window.oh3=window.oh3+i.height,window.oh3>=340&&t!==e-1){window.targetArr3=window.newArr.slice(window.nowIndex,i.index+1),window.nowIndex=i.index+1,window.gindex++;break}if(t===e-1){window.targetArr3=window.newArr.slice(window.nowIndex,e+1);break}}}for(c;c<window.targetArr1.length;c++)n=window.targetArr1[c]||{},"title"===n.type?window.inner1=window.inner1+'<li class="cattitle"><h3><a href="'+n.href+'">'+n.content+"</a></h3></li>":n.hot===!0?window.inner1=window.inner1+'<li class="catdetail"><a class="thirdcatelink hot" href="'+n.href+'">'+n.content+"</a></li>":window.inner1=window.inner1+'<li class="catdetail"><a class="thirdcatelink" href="'+n.href+'">'+n.content+"</a></li>";for(d;d<window.targetArr2.length;d++)o=window.targetArr2[d]||{},"title"===o.type?window.inner2=window.inner2+'<li class="cattitle"><h3><a href="'+o.href+'">'+o.content+"</a></h3></li>":o.hot===!0?window.inner2=window.inner2+'<li class="catdetail"><a class="thirdcatelink hot" href="'+o.href+'">'+o.content+"</a></li>":window.inner2=window.inner2+'<li class="catdetail"><a class="thirdcatelink" href="'+o.href+'">'+o.content+"</a></li>";for(h;h<window.targetArr3.length;h++)a=window.targetArr3[h]||{},"title"===a.type?window.inner3=window.inner3+'<li class="cattitle"><h3><a href="'+a.href+'">'+a.content+"</a></h3></li>":a.hot===!0?window.inner3=window.inner3+'<li class="catdetail"><a class="thirdcatelink hot" href="'+a.href+'">'+a.content+"</a></li>":window.inner3=window.inner3+'<li class="catdetail"><a class="thirdcatelink" href="'+a.href+'">'+a.content+"</a></li>";""!==window.inner1&&(s='<ul class="cate_row1 cate_row">'+window.inner1+"</ul>"),""!==window.inner2&&(r='<ul class="cate_row2 cate_row">'+window.inner2+"</ul>"),""!==window.inner3&&(l='<ul class="cate_row3 cate_row">'+window.inner3+"</ul>"),window.finalresult=s+r+l,L("#"+window.wrapperindex).empty().append(window.finalresult)}function v(){L(".categorywrapper").each(function(e){window.wrapperindex=L(this).attr("id"),window.newArr=[],window.gindex=0,window.targetArr1=[],window.targetArr2=[],window.targetArr3=[],window.oh1=0,window.oh2=0,window.oh3=0,window.valueIndex=0,window.nowIndex=0,window.inner1="",window.inner2="",window.inner3="",g(L(this).find(".category")),w()})}function y(){var e={},t="",i="http://www.yohobuy.com/common/getbanner?content_code=",n="",o="",a="",s="";L(document).on("mouseenter",".sub-nav-item",function(){t=L(this).find(".showdetail").attr("data-code"),t&&(e[t]||(e[t]=t,n=L(this).find(".showdetail").find("img"),o=L(this).find(".showdetail").find(".title"),a=L(this).find(".showdetail").find("a"),L.get(i+t+"&width=337&height=250&client_type=web",function(e){n.attr("src",e.data.src),a.attr("href",e.data.url),o.text(e.data.title)},"jsonp")))}),s=L(".cure").find(".name-cn").find("a").attr("href"),L(".main-link").attr("href",s)}function b(){var e=L("#cover");e.remove()}function C(){var e,t=window.cookie("_Gender"),i="",o="",a="",s="";("undefined"==typeof t||""===t||null===t)&&L.get("http://www.yohobuy.com/index/guide",function(t){i=document.createElement("div"),i.id="cover",i.innerHTML=t,document.body.appendChild(i),o=L(window).height(),a=L(".guide-box").height(),e=o/2-a/2,s=L(".guide-box .clear").find("li").length,L(".guide-box").css({width:200*s+"px",top:e+"px"}),L("#cover").bind("click",function(e){window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),L("#cover .guide-box .close").bind("click",function(e){n("弹窗","CLOSE","homepage_man"),window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),L(".boys img , .boys .go").bind("click",function(e){n("弹窗","BOYS","homepage_man"),window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),L(".girls img, .girls .go").bind("click",function(e){n("弹窗","GIRLS","homepage_woman"),window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})}),L(".lifestyle img, .lifestyle .go").bind("click",function(e){window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),n("弹窗","LIEFSTYLE","homepage_lifestyle")}),L("#cover .guide-box").bind("click",function(e){e.stopPropagation()})})}function o(){var e=L("#nav_keyword").text(),t="vans",i=L("#query_key");""!==e?(i.css({color:"#000"}),i.val(e)):(i.css({color:"#e0e0e0"}),i.val(t),i.on("focus",function(e){i.css({color:"#000"}),i.val("")}))}function x(){var e=window.cookie("_Gender"),t=L(".cure");"undefined"!=typeof e&&""!==e&&window.setCookie("_Gender",1,{path:"/",domain:".yohobuy.com",expires:7}),"男生"===t.find(".name-cn a").text()&&(window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7})),"女生"===t.find(".name-cn a").text()&&(window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})),"创意生活"===t.find(".name-cn a").text()&&window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),"潮童"===t.find(".name-cn a").text()&&window.setCookie("_Channel","kids",{path:"/",domain:".yohobuy.com",expires:7})}function k(){var e,t,i,n=document.cookie,o=n.split(";");for(e=0;e<o.length;e++)t=o[e].split("="),"undefined"!=typeof t[0]&&(i=t[0].replace(/\s/g,""),re[i]=t[1])}function _(){L("#miniCartBox").miniCart({cartNum:".ic-infomation"})}function j(){var e,t,i;L.getData(X,{method:"open.Shoppingcart.getCartData",shopping_key:L.getShoppingKey()},function(n){""===J&&(J=Y.compile(L("#mini-cart-tpl").html())),L("#miniCartBox").children(".gobuy-wrapper").html(J({carData:n})),0===parseInt(L(".ic-infomation").html())&&L("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>'),L("#miniCartBox .goods-list li").length<1&&(e=window.cookie("_g"),t=G.parse(e),null!==t&&(i='{"_k":"'+t._k+'","_nac":0,"_ac":0,"_r":0}',window.setCookie("_g",i,{path:"/",domain:".yohobuy.com"})),L(".ic-infomation").html(0),L("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>'))})}function q(e,t){L.getData(X,{method:"open.Shoppingcart.delone",shopping_key:L.getShoppingKey(),id:e,isreduce:t},function(e){var t=window.cookie("_g"),i=G.parse(t),n='{"_k":"'+i._k+'","_nac":'+e.total_goods_num+',"_ac":0,"_r":0}';window.setCookie("_g",n,{path:"/",domain:".yohobuy.com"}),j(),_()})}function T(){var e,t,i;L(document).on("click",".goodscardelete",function(n){e=L(this),t=e.attr("goodsid"),i=e.attr("cheapest"),q(t,i)})}function A(){var e;L(document).on("click",".mycart_i_down",function(t){e=L(this),e.toggleClass("mycart_i_up"),L("#mycartmore").slideToggle(300)})}function I(){var e,t="http://www.yohobuy.com/shopping/cart";L("#miniCartBox").on("click",function(i){e=L(i.target),e.hasClass("gobuy")&&(window.location.href=t)})}function z(e){1===e?(L("#miniCartBox").addClass("list-cur"),L(".gobuy-wrapper").show(),0!==parseInt(L(".ic-infomation").html())?(L("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-loading"><h3 class="information">加载中,请稍后</h3></div>'),j()):L("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>')):(L("#miniCartBox").removeClass("list-cur"),L(".gobuy-wrapper").hide())}function O(){var e;L("#miniCartBox").mouseenter(function(t){e=L(t.target),("miniCartBox"===e.attr("id")||"ic-infomation"===e.attr("class"))&&z(1)}),L("#miniCartBox").mouseleave(function(e){z(0)})}function S(){var e,t="indexkids",i="indexlifestyle",n="indexboys",o="indexgirls",a="uniquebrand",s=window.location.href,l=window.location.host,c="";-1!==s.indexOf("search")&&(c=se["search"+re._Channel]),-1!==s.indexOf("list")&&(c=se["list"+re._Channel]),-1!==s.indexOf("brands")&&(c=se["brands"+re._Channel]),-1!==s.indexOf("new")&&(c=se["new"+re._Channel]),-1!==s.indexOf("sale")&&(c=se["sale"+re._Channel]),-1!==s.indexOf("home")&&(c=se["home"+re._Channel]),-1!==s.indexOf("kids")&&(c=se[t]),(-1!==s.indexOf("woman")||-1!==s.indexOf("girls"))&&(c=se[o]),-1!==s.indexOf("lifestyle")&&(c=se[i]),-1!==s.indexOf("www.yohobuy.com")&&"/"===window.location.pathname&&(c=se[n]),e=l.split(".")[0],"list"!==e&&"search"!==e&&"www"!==e&&"new"!==e&&"item"!==e&&"guang"!==e&&(c=se[a+re._Channel]),r(c)}function E(e){L(".hot-brands").find("ul").stop().animate({opacity:0,"z-index":1},200).eq(e).animate({opacity:1,"z-index":2},200)}function P(){var e,t=0;L(".hot-brands").size()>0&&(e=L(".hot-brands").find("ul").size(),L(".hot-brands").find("ul").eq(0).css({opacity:1,"z-index":2}),L(".brands-control").on("click",".next",function(){t===e-1?t=0:t++,E(t)}),L(".brands-control").on("click",".prev",function(){0===t?t=e-1:t--,E(t)}))}function $(){setInterval(_,2e3)}function B(){var e=L("#goodcartempwarpper"),t="";e&&e.html()&&(t=L("#goodcartempwarpper").html().replace(/\\/g,""),L("#goodcartempwarpper").html(t),Z=Y.compile(L("#tmpl-my-login-new").html()))}function U(){var e="http://search.yohobuy.com/api/suggest";L("#query_key").search(e)}function D(e){var t=(new Date).getTime(),i='<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>]',n='<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=L("#loginBox"),a=window.cookie("_UID"),s=e.data.profile_name,r=0,l=0,c="",d=a.split("::"),h=d[0]||" ",u="http://www.yohobuy.com/logout_",f="1",p=0,m={user_name:s,logout:u+e.data.token+".html",random:Math.random()};if(W=Y.compile(n),"undefined"==typeof a||null===a)return o.html(i),!1;if("undefined"==typeof d||d.length<4)return o.html(i),!1;for(l;l<h.length;l++)c=h.substr(l,1),r+=/.*[\u4e00-\u9fa5]+.*$/.test(c)?2:1;if(10>=r)s=h;else{for(p=0,l;l<h.length;l++)10>p&&(c=h.substr(l,1),"*"!==c&&(p+=/.*[\u4e00-\u9fa5]+.*$/.test(c)?2:1),s+=c);s.length<h.length&&(s+="...")}u=/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(W(m))}function R(e){var t=e.data,i="";if(1===e.result){if(void 0===typeof t||t.length<1)return!1;"3"===t.vip.curVipInfo.curLevel&&(t.vip3=!0),L("#myYohoBox").mouseenter(function(){return L(this).addClass("acttags"),L("#myYohoBox .myyoho-info").show().html(Z(t)),i=L(".myyoho-photo img").attr("data-url"),1===L._checkUrlState?void L(".myyoho-photo").show().find("img").attr("src",i):void(""!==i&&""===L._checkUrl&&L.ajax({url:i,type:"GET",complete:function(e){(200===e.status||0===e.status)&&(L(".myyoho-photo").show().find("img").attr("src",i),L._checkUrlState=1),L._checkUrl=i}}))}),L("#myYohoBox").mouseleave(function(){L(this).removeClass("acttags"),L("#myYohoBox .myyoho-info").hide()})}}function F(){var e={method:"open.passport.get"};L.getData(X,e,function(e){-1!==e.result&&(D(e),R(e))})}function H(){v(),y(),B(),C(),x(),k(),a(),d(),c(),m(),S(),P(),o(),O(),_(),$(),U(),I(),T(),A(),F(),o()}var M,N,L=e("jquery"),Y=e("handlebars"),G=e("index"),Z=null,W=null,X=L("#api-domain").val(),J="",K=/^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/\s]{0,}$/g,Q="",V="",ee=[],te=null,ie=0,ne=L(".icon-logo"),oe=!0,ae=500,se={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"},re={};L("#api-domain").remove(),window.submitSearch=function(){var e,t,i=L("#query_key").val(),o="Search",a="Head Search",s="Search";if(e=L.trim(Q.toLowerCase()),t=L.trim(i.toLowerCase()),n(o,a,s),""!==V&&""!==Q&&e===t)location.href=V.replace("'","");else{if(!K.test(i))return L("#searchForm").submit(),!1;location.href="http://search.yohobuy.com/error?query="+i+"&result=error"}},Y.registerHelper("equalone",function(e,t){return"1"===e?t.fn(this):t.inverse(this)}),Y.registerHelper("timestamp",function(){return(new Date).getTime()}),Y.registerHelper("headerimg",function(e){return""===e?"http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100":e}),Y.registerHelper("equallevelthree",function(e,t){return"3"===e?t.fn(this):t.inverse(this)}),Y.registerHelper("equalzero",function(e,t){return"0"===e?t.fn(this):t.inverse(this)}),window.JsonPCallBack=s,window.newArr=[],window.wrapperindex=0,window.gindex=0,window.targetArr1=[],window.targetArr2=[],window.targetArr3=[],window.oh1=0,window.oh2=0,window.oh3=0,window.valueIndex=0,window.nowIndex=0,window.inner1="",window.inner2="",window.inner3="",window.finalresult="",H()}),define("js/simple-header",["jquery"],function(e,t,i){function n(e){var t,i,n,o=0,a=0;for(n=0;n<e.length;n++)i=e.substr(n,1),a+=/.*[\u4e00-\u9fa5]+.*$/.test(i)?2:1;if(10>=a)t=e;else{for(o=0,t="",n=0;n<e.length;n++)10>o&&(i=e.substr(n,1),"*"!==i&&(o+=/.*[\u4e00-\u9fa5]+.*$/.test(i)?2:1),t+=i);t.length<e.length&&(t+="...")}return t}function o(e){var t,i;e&&e.href&&e.href.user?(i=n(e.href.user),t='<span>Hi~</span><a href="">'+i+'</a> <a href="'+e.href.logout+'">[退出]</a>'):(i=n(e.user),t='<span>Hi~</span><a href="">'+i+'</a> <a href="http://www.yohobuy.com/signin.html">[请登录]</a><a href="http://www.yohobuy.com/reg.html">[免费注册]</a>'),r(".header-tool li").eq(0).html(t)}function a(){r.ajax({type:"GET",url:"/common/getSimpleHeader",data:{},success:function(e){200===e.code&&o(e.data)}})}function s(){a()}var r=e("jquery");r(".simple-header").size()>0&&r(".tool-options").on("mouseenter",function(){r(this).find(".tool-select").fadeIn()}).on("mouseleave",function(){r(this).find(".tool-select").fadeOut()}),s()}),define("js/product/entry",["jquery","handlebars","source-map","lazyload"],function(e,t,i){e("js/product/list"),e("js/product/brand"),e("js/product/hotrank")}),define("js/product/list",["jquery","handlebars","source-map","lazyload"],function(e,t,i){e("js/product/filter"),e("js/product/sort-pager"),e("js/product/latest-walk"),e("js/product/product")}),define("js/product/filter",["jquery","handlebars","source-map"],function(e,t,i){function n(e){e.removeClass("checked").html(v.unchecked)}function o(){b.addClass("hide"),C.removeClass("hide")}function a(){C.addClass("hide"),b.removeClass("hide")}function s(e,t){var i,n=decodeURIComponent(window.location.search),o=e+"="+t;i=""===n?"?"+o:n+"&"+o,window.location.href=i}function r(e){A.children(".senior-sub:eq("+m+")").addClass("hide"),I.children(".attr:eq("+m+")").removeClass("hover"),m=-1}var l,c,d,h,u,f,p,m,g=e("jquery"),w=e("handlebars"),v={unchecked:"",checked:""},y={up:"",down:""},b=g(".brand .default"),C=g(".brand .brand-panel"),x=C.find(".attr"),k=g("#brand-more"),_=g("#brand-multi"),j=g(".ud-price-range"),q=/^\d+$/,T=g(".sort-sub-wrap"),A=g(".senior-sub-wrap"),I=g(".senior-attr-wrap"),z='{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a>{{/ size}}',O={},S=g(".filter-box .size");z=w.compile(z),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(),i=e.data("id");return e.hasClass("active")?(e.removeClass("active"),T.children(":eq("+t+")").addClass("hide"),void S.addClass("hide")):(e.siblings(".active").removeClass("active"),e.addClass("active"),T.children(":not(.hide)").addClass("hide"),T.children(":eq("+t+")").removeClass("hide"),void(S.data("load")||(O[i]?(S.find(".attr-content").html(O[i]),S.removeClass("hide")):g.ajax({url:"/product/search/sortSize",data:{msort:i}}).then(function(e){"array"===g.type(e)&&e.length?(O[i]=z({size:e}),S.find(".attr-content").html(O[i]),S.removeClass("hide")):S.addClass("hide")}))))}),k.length>0&&(l=k.children("em"),c=k.children(".iconfont")),_.click(function(){"none"===C.css("display")&&k.trigger("click"),o(),C.removeClass("hide").addClass("multi"),g(this).addClass("hide")}),k.click(function(){var e=g(this);e.hasClass("more")?(a(),l.text("更多"),c.html(y.down)):(o(),l.text("收起"),c.html(y.up)),g(this).toggleClass("more")}),g(".brands-index").on("mouseenter","span",function(){var e=g(this),t=e.data("index");e.hasClass("hover")||(e.siblings("span.hover").removeClass("hover"),e.addClass("hover"),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")||(C.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")&&(_.removeClass("hide"),k.trigger("click")),e.addClass("hide").removeClass("multi"),a(),n(e.find(".checkbox.checked"))}),g(".check-container").on("click",".attr",function(){var e=g(this),t=e.find(".checkbox"),i=e.closest(".brand-panel, .senior-sub").find(".multi-select-ok");t.toggleClass("checked"),t.hasClass("checked")?t.html(v.checked):t.html(v.unchecked),t.hasClass("checked")||e.siblings(".attr").find(".checked").length>0?i.removeClass("dis"):i.addClass("dis")}),g(".brand, .senior").on("click",".attr > a",function(e){g(this).closest(".multi").length>0&&e.preventDefault()}),j.length>0&&(d=j.find(".limit"),h=d.filter(".min"),u=d.filter(".max"),f=j.find(".price-sure"),d.keyup(function(){var e=g.trim(h.val()),t=g.trim(u.val()),i=q.test(e),n=q.test(t);n&&(""===e||i)||i&&(""===t||n)?f.removeClass("hide"):f.addClass("hide")}),f.click(function(){var e,t=g.trim(h.val()),i=g.trim(u.val());""!==t&&""!==i&&+t>+i&&(e=i,i=t,t=e),s("price",t+","+i)})),I.on("mouseenter",".attr",function(){var e=g(this),t=e.index();e.hasClass("no-sub")||(e.addClass("hover").siblings().removeClass("hover"),A.children(".senior-sub:eq("+t+")").removeClass("hide").siblings().addClass("hide"))}).on("mouseleave",".attr",function(){var e=g(this),t=e.index();e.hasClass("no-sub")||(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"),i="";e.hasClass("dis")||(t.find(".checked").each(function(){var e=g(this).data("id");i+=""===i?e:","+e}),s(t.data("attr"),i))}).on("mouseenter",function(){clearTimeout(p)}).on("mouseleave",function(){r()})}),define("js/product/sort-pager",["jquery"],function(e,t,i){var n=e("jquery"),o=n("#count-per-page"),a=o.next("ul"),s=200;n(document).click(function(e){n(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/latest-walk",["jquery","handlebars","source-map","lazyload"],function(e,t,i){var n=e("jquery"),o=e("handlebars"),a=e("lazyload"),s=n("#latest-walk-count");!function(){var e;0!==s.length&&(e=o.compile(n("#latest-walk-tpl").html()),n.ajax({url:"http://itemapi.yohobuy.com/item/item/recentreview",dataType:"jsonp",data:{limit:s.val()},success:function(t){var i,o,s,r=[];if(200===t.code){for(i=t.data,o=0;o<i.length;o++)s=i[o],r.push({href:s.url,img:s.pic_url,name:s.product_name,salePrice:s.price,marketPrice:s.market_price});r.length>0&&(n("#latest-walk-goods").html(e({latestWalk:r})),a(n("#latest-walk-goods .lazy")))}}}))}()}),define("js/product/product",["jquery","lazyload"],function(e,t,i){var n,o=e("jquery"),a=e("lazyload"),s=e("js/common/product-event"),r=o(".goods-container"),l=r.find(".good-info"),c=r.find(".good-item-wrapper"),d=r.find(".good-info-main"),h=r.find(".good-select-color"),u=o(".product-list-nav");a(o("img.lazy")),t.init=function(e){function t(e){var t,i,n,o="",a=e.length,s=4,r=Math.ceil(a/s),l=0;for(t=0;r>t;t++)for(o+="<ul>",i=0;s>i&&(n=t*s+i,n!==a);i++)o+='<li><a href="'+e[t*s+i].url+'"><img src="'+e[t*s+i].src+'" data-cover="'+e[t*s+i].coverImg+'" /></a></li>',i===s-1&&(o+="</ul>",l++);return r>l&&(o+="</ul>"),{colorListStr:o,ulNum:r}}function i(){d.html(""),h.html(""),c.css({display:"none"})}n=null,l.unbind(),n=s(l,e),n.addHandler("MouseEnter",function(e){var n,a,s,l,u,f,p,m,g=10,w=35,v="";o.ajax({type:"POST",url:"/product/list/getProductPic",dataType:"json",data:{skn:e.target.attr("data-skn")}}).then(function(y){i(), +v=t(y.pics).colorListStr,n=t(y.pics).ulNum,d.append(e.targetDuplicate),h.append(o(v)),y.isFavorite?d.find(".col-btn").addClass("coled"):d.find(".col-btn").removeClass("coled"),f=c.css("paddingLeft"),p=c.css("paddingTop"),m=r.css("paddingTop"),a=10+65*n+e.targetWidth,l=(e.targetX-1)*(e.targetWidth+g)-(parseInt(f)+1),u=(e.targetY-1)*(e.targetHeight+w)+parseInt(m)-(parseInt(p)+1),s=e.offsetR-(65*n+25),0>=s&&(l=l+s-25),c.css({width:a,left:l,top:u,display:"inline-block"}),y.pics[0]&&y.pics[0].src&&d.find(".good-thumb img").attr("src",y.pics[0].src)})}),c.mouseleave(function(){i()})},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)}),d.on("click",".col-btn",function(){var e=o(this);o.ajax({type:"POST",url:"/product/list/changeFavorite",data:{skn:e.closest(".good-info").data("skn"),isFavorite:e.hasClass("coled")}}).then(function(t){200===t.code?e.toggleClass("coled"):403===t.code&&(location.href="http://www.yohobuy.com/signin.html?refer="+encodeURIComponent(location.href))})}),u.find("h3").click(function(e){var t=o(this).closest(".product-list-nav");t.hasClass("active")?t.find(".sort-child-list").stop(!0,!0).slideUp():t.find(".sort-child-list").stop(!0,!0).slideDown(),t.toggleClass("active")})}),define("js/common/product-event",["jquery"],function(e,t,i){function n(){this.handlers={}}var o=e("jquery");n.prototype={constructor:n,addHandler:function(e,t){"undefined"==typeof this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t)},fire:function(e){var t,i;if(e.target||(e.target=this),this.handlers[e.type]instanceof Array)for(t=this.handlers[e.type],i=0;i<t.length;i++)t[i](e)},removeHandler:function(e,t){var i,n;if(this.handlers[e]instanceof Array){for(i=this.handlers[e],n=0;n<i.length&&i[n]!==t;n++);i.splice(n,1)}}},i.exports=function(e,t){function i(e){var i,n=0,c=0,d=t,h=0,u="",f=0,p=0;switch(e.type){case"mouseenter":i=o(this),u=i.clone(),h=i.index()+1,n=h%d===0?d:h%d,c=Math.ceil(h/d),f=i.offset().left,p=l-(f+s),a.fire({type:"MouseEnter",target:i,targetWidth:s,targetHeight:r,targetX:n,targetY:c,rowWidth:d,activeIndex:h,targetDuplicate:u,offsetL:f,offsetR:p});break;case"mouseleave":a.fire({type:"MouseLeave"})}}var a=new n,s=e.eq(0).width(),r=e.eq(0).height(),l=o(window).width();return e.bind("mouseenter",i),a}}),define("js/product/brand",["jquery"],function(e,t,i){var n=e("jquery");n("#brand-favor").on("click",function(){var e=n(this),t=window.getUid();n.ajax({type:"post",url:"/product/index/favoriteBrand",data:{uid:t,brandId:e.data("id")}}).then(function(t){200===t.code?"add"===t.message?e.find("i").addClass("coled"):e.find("i").removeClass("coled"):403===t.code&&(location.href="http://www.yohobuy.com/signin.html?refer="+encodeURIComponent(location.href))})})}),define("js/product/hotrank",["jquery","handlebars","source-map","lazyload"],function(e,t,i){var n=e("jquery"),o=e("handlebars"),a=e("lazyload");e("js/common/slider"),e("js/common/logo-brand"),a(n("img.lazy")),n(".slide-container").slider(),n(".logo-brand").logoBrand({showNum:10,url:n(".logo-brand").data("url")}),function(e){function t(t,i){var l={};l=i?{sid:t,page:i}:{sid:t},e.ajax({type:"GET",dataType:"json",url:"/product/index/getdata",data:l,success:function(t){var l;200===t.code&&(l={list:t.data},s=o.compile(n),i?(e(".hot-week-list").append(s(l)),r.css({position:"fixed",marginTop:-r.height()/2,top:"50%"})):e(".hot-week-list").html(s(l)),a(e("img.lazy")),h=!1)}})}var i,n,s,r=e(".hot-week").find(".floatlayer"),l=e(".hot-cate").find("li").eq(0).data("sid"),c=1,d=0,h=!1;n='{{# list}}<div class="good-info"><div class="item-img"><a class="good-thumb" target="_blank" href="{{url}}"><img class="lazy" data-original="{{thumb}}"></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 n=i+e(".hot-week").outerHeight();i=e(".hot-week").offset().top,e(this).scrollTop()>=i-e(window).height()/2?r.offset().top+r.outerHeight()>=n?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()>=i+e(".hot-week").height()-e(window).height()&&(h||(c++,h=!0,t(l,c)))}),e(".hot-cate").find("li").each(function(t){var i=e(".hot-cate").width();i>=d&&(d+=e(this).width(),d>=i&&e(".floatlayer").find("li").eq(t).hide().nextAll().hide())}),e(".hot-cate").on("click","li",function(){var n=e(this).index(),o=e(this).data("sid");e(this).hasClass("current")||(e(this).addClass("current").siblings().removeClass("current"),e(".floatlayer").find("li").removeClass("current").eq(n).addClass("current"),e("body,html").stop().animate({scrollTop:i-110},500),t(o),c=1)}),e(".floatlayer").on("click","li",function(){var t=e(this).index();e(this).hasClass("current")||(e(".hot-cate").find("li").eq(t).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")}(n)}),define("js/common/slider",["jquery","lazyload"],function(e,t,i){var n=e("jquery"),o=e("lazyload");!function(e){var t=function(t,i){this.$element=e(t),this.options=e.extend({},e.fn.slider.defaults,i),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(){if(this.$element){if(this.len<=1)return 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(),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">',i=0;if(!(this.len<=1)){for(i=0;i<this.len;i++)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 t=this.bigItem.eq(this.index).find("img.lazy");t.attr("src")!==t.data("original")&&(o(t,{event:"sporty"}),t.trigger("sporty")),this.smallItem.eq(this.index).addClass("focus").siblings().removeClass("focus"),this.bigItem.eq(this.index).show().stop().animate({opacity:1}).siblings().stop().animate({opacity:0},function(){e(this).hide()})},_autoplay:function(){var e=this;clearInterval(this.timer),this.timer=setInterval(function(){e._nextSlide()},this.options.time)}},e.fn.slider=function(i){return this.each(function(){var n=e(this),o=n.data("Slider"),a="object"==typeof i&&i;o||n.data("Slider",o=new t(this,a)),"string"==typeof i&&o[i]()})},e.fn.slider.Constructor=t,e.fn.slider.defaults={time:5e3,orient:!0,pagination:null}}(n)}),define("js/common/logo-brand",["jquery","handlebars","source-map","lazyload"],function(e,t,i){var n=e("jquery"),o=e("handlebars"),a=e("lazyload");!function(e){var t=function(t,i){this.$element=e(t),this.options=e.extend({},e.fn.logoBrand.defaults,i),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,i){var n="<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=i.fn(t[o]),n=o%e===5||5===o?n+'<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?n+'<li class="brand-more" data-page="'+Math.floor(o/(e+1))+'"><a href="javascript:;" target="_blank">MORE ></a></li><li data-page="'+Math.floor(o/e)+'">'+a+"</li>":n+'<li data-page="'+Math.floor(o/e)+'">'+a+"</li>";return n+'<li class="brand-more" data-page="'+Math.floor(o/(e+1))+'"><a href="javascript:;" target="_blank">MORE ></a></li></ul>'})},_sendRequest:function(){var t=this;e.ajax({type:"GET",url:t.options.url,dataType:"json",success:function(e){var i,n;e&&0!==e.length&&(t._createHelper(),n='{{#brandList logoBrand}}<a href="{{href}}" target="_blank"><img class="lazy" data-original="{{img}}" alt=""></a>{{/brandList}}',i=o.compile(n),t.$element.html(i(e)),t.$element.find(".brand-more a").attr("href",e.moreBrand),a(t.$element.find("img.lazy")),t._bindEvent())}})},_brandShow:function(t,i){var n=this;a(e("li[data-page="+i+"]").find("img.lazy").trigger("appear")),n.$element.find("li[data-page="+t+"]").find("img").fadeOut("normal",function(){n.$element.find("li").hide(),n.$element.find("li[data-page="+i+"]").show().find("img").fadeIn()})},_bindEvent:function(){var t=this;t.$element.on("click",".next",function(){var i=e(this).parent().data("page"),n=0,o=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;n=i===o?0:i+1,t._brandShow(i,n)}),t.$element.on("click",".prev",function(){var i=e(this).parent().data("page"),n=0,o=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;n=0===i?o:i-1,t._brandShow(i,n)})}},e.fn.logoBrand=function(i){return this.each(function(){var n=e(this),o=n.data("LogoBrand"),a="object"==typeof i&&i;o||n.data("LogoBrand",o=new t(this,a)),"string"==typeof i&&o[i]()})},e.fn.logoBrand.Constructor=t,e.fn.logoBrand.defaults={showNum:16,url:"/boys/getBrand"}}(n)}),define("js/home/entry",["jquery","lazyload","handlebars","source-map"],function(e,t,i){e("js/home/home")}),define("js/home/home",["jquery","lazyload","handlebars","source-map"],function(e,t,i){var n=e("jquery"),o=e("lazyload"),a=n(".home-page").data("page"),s=n(".logo-brand").data("url");e("js/common/slider"),e("js/common/slider2"),e("js/common/logo-brand"),e("js/common/accordion"),n(document).on("mouseenter",".imgopacity a img",function(){n(this).css("opacity",.8)}),n(document).on("mouseout",".imgopacity a img",function(){n(this).css("opacity",1)}),"brands"===a&&e("js/home/brands"),n.inArray(a,["boys","girls","kids","lifestyle"])>-1&&(e("js/common/new-arrivls")({type:a,url:"/common/getNewArrival",count:"boys"===a||"lifestyle"===a?5:4,rows:[5,3]}),window.setCookie("_Channel",a,{domain:".yohobuy.com",path:"/",expires:365})),o(n("img.lazy")),"boys"===a?n(".slide-container").slider({pagination:".thumb-pagination"}):(n(".center-col").slider(),n(".slide-container").slider()),"boys"===a?(n(".logo-brand").logoBrand({url:s}),n(".img-brand").slider2()):(n(".logo-brand").logoBrand({showNum:10,url:s}),n(".img-slider-wrapper").slider2())}),define("js/common/slider2",["jquery"],function(e,t,i){var n=e("jquery");!function(e){e.fn.slider2=function(t){function i(t,i,o){o===!0?(e(".next").trigger("click"),t===i-3?n(--t,i,!1):n(++t,i,!0)):(e(".prev").trigger("click"),0===t?n(++t,i,!0):n(--t,i,!1))}function n(t,n,o){window.setTimeout(i,e.fn.slider2.defaults.delaytime,t,n,o)}function o(t,i,n){var o=-(t*i);e(".img-list").animate({"margin-left":o+"px"},"slow",n)}return e.fn.slider2.defaults={index:0,shownum:3,autoplay:!1,delaytime:3e3},this.each(function(){var i=e.extend({},e.fn.slider2.defaults,t),a=parseInt(e(".img-item").css("margin-right")),s=e(".img-item"),r=[],l=s.outerWidth()+a,c=s.length,d=0;if(3>=c)return void e(this).find(".img-brand-switch").hide();for(d=0;d<s.length;d++)r.push(s[d]);c=r.length,e(this).find(".img-list").css({width:l*c}),e(this).find(".next").on("click",function(t){var i=0,n=null;t.preventDefault(),o(3,l,function(){for(i=0;3>i;i++)n=r.shift(),e(".img-item").parent().append(n.outerHTML),r.push(n);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 i=0,n=null,a="";for(t.preventDefault(),i=0;3>i;i++)n=r.pop(),e(".img-item").parent().prepend(n.outerHTML),r.unshift(n);a=3*l,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,l)}),i.autoplay===!0&&n(i.index,c,!0)})}}(n)}),define("js/common/accordion",["jquery"],function(e,t,i){function n(e){l.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+c+d*(t-e-1)},400)})}var o,a=e("js/common/yohoui/YH.slide"),s=e("jquery"),r=s(".slide-accordion"),l=r.find("li"),c=l.width(),d=1150===parseInt(s(".home-page").width())?125:107;n(0),o=new a({length:5,loop:!1,auto:!1,timeout:2,index:0}),o.on("change",function(e){n(e.to)}),l.mouseover(function(){o.go(s(this).index())}),o.init()}),define("js/common/yohoui/YH.slide",[],function(e,t,i){var n=e("js/common/yohoui/YH.base"),o=function(e){this.__lastTime=null,this.__isStop=!1,e=n.extend(this.defaults,e),o.superclass.constructor.call(this,e)};n.inherit(o,n.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 i,n,o,a,s,r,l,c,d=this,h=d.options;d.__lastTime&&(clearTimeout(d.__lastTime),d.__lastTime=null),t="undefined"==typeof t?h.index:t,i=e===t?0:e>t?1:-1,n=h.loop,a=h.length-1,s=e,e=n?e>a?e-a-1:0>e?e+a+1:e:e>a?a:0>e?0:e,o=h.index=e,r={from:t,to:e,originalto:s,direction:i};for(l in d.registerEvent)if(d.registerEvent[l].length>0)for(c in d.registerEvent[l])d.registerEvent[l].hasOwnProperty(c)&&d.registerEvent[l][c](r);o!==a||e?!d.__isStop&&h.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,i=t.index,n=i+t.step;e.go(n,i)},o.prototype.prev=function(){var e=this,t=e.options,i=t.index,n=i-t.step;e.go(n,i)},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},i.exports=o}),define("js/common/yohoui/YH.base",[],function(e,t,i){var n,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 i=a.fn;i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e,e.superclass=t.prototype,e.prototype.constructor===Object.prototype.constructor&&(e.prototype.constructor=t)},extend:function(e,t){var i;for(i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e},copy:function(e,t,i){var n,o,s;if("object"!=typeof t)return t;if(n=t.valueOf(),t!==n)return new t.constructor(n);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(i)for(s in i)o.hasOwnProperty(s)&&(o[s]=i[s]);return o},clone:function(e){return a.__cloneFunc.prototype=e,new a.__cloneFunc},__cloneFunc:function(){},delegate:function(e,t){var i;return t=t||window,arguments.length>2?(i=Array.prototype.slice.call(arguments,2),function(){return e.apply(t,i)}):function(){return e.call(t)}},dom:function(e,t){var i,n,o=e,a={wrap:o},s=o[0].getElementsByTagName("*"),r=s.length;for(n=0;r>n;n++)i=s[n].className,i.indexOf(t)>-1&&(i=i.split(t)[1]),i&&(a[i]=o.find(s[n]));return a},template:function(){var e,t,i,n,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]&&(i=new RegExp("({"+t+"})","g"),e=e.replace(i,o[1][t]));else for(n=1;n<o.length;n++)void 0!==o[n]&&(i=new RegExp("({["+(n-1)+"]})","g"),e=e.replace(i,o[n]));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,i){var n,o;if(a.isArray(e))for(n=0,o=e.length;o>n&&t.call(e[n],n,e[n],i)!==!1;n++);else for(n in e)if(t.call(e[n],n,e[n],i)===!1)break},funManager:{__loadList:{},__loadFun:function(e,t,i){e.methord&&a.isFunction(e.methord())&&(i=i||window,e.methord()(e,function(){t()},i))},load:function(e,t,i,n){n=n||0,e[n]&&a.funManager.__loadFun(e[n],function(){a.funManager.load(e,t,i,n+1)},i),t(n,i)},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,i=t.detail?-1*t.detail:t.wheelDelta/40,n=0>i?-1:1;return{direction:n,unit:i}},__:function(e,t,i,n){var o;for(o in e)if(window[e[o].validator]){t[e[o].validator](e[o].prefix+i,n,!1);break}},add:function(e,t,i){var n=[{validator:"addEventListener",prefix:""},{validator:"attachEvent",prefix:"on"}];this.__(n,e,t,i)},remove:function(e,t,i){var n=[{validator:"removeEventListener",prefix:""},{validator:"detachEvent",prefix:"on"}];this.__(n,e,t,i)}},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"],i=document.createElement("div");for(e in t)if(void 0!==i.style[t[e]])return a.template("-{0}-",t[e].replace("Perspective","").toLowerCase())},parseURL:function(e){var t,i,n,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={},i=s.search.replace(/^\?/,"").split("&"),n=i.length,o=0,a;n>o;o++)i[o]&&(a=i[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 i;for(i=0;i<e.length;i++)if(this[i]===t)return i;return-1},remove:function(e,t){var i=this.indexOf(e,t);return i>-1&&e.splice(i,1),e}}};n=function(e){this.initialized=!1,this.registerEvent={before:[],change:[],after:[]},this.options=e,this.init(e)},n.output=function(){a.log(a.list)},n.prototype.oninit=a.fn,n.prototype.init=function(e){this.initialized=!0,this.__Uid=a.getUid("me"),this.oninit(e),a.list[this.__Uid]=this},n.prototype.destory=function(){this.initialized=!1,delete a.list[this.__Uid]},n.prototype.getUid=function(){return this.__Uid},n.prototype.getOptions=function(){return this.options},n.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]}},n.prototype.on=function(e,t){var i=this,n=i.registerEvent[e];return n&&n.push(t),n},n.prototype.off=function(e,t){var i=this,n=i.registerEvent[e],o=[];a.each(n,function(e,i){i===t&&o.push(e)}),a.each(o.reverse(),function(e,t){n.splice(t,1)})},a.assembly=n,i.exports=a}),define("js/home/brands",["jquery","handlebars","source-map"],function(e,t,i){function n(e,t,i){var n,o=e,r={width:o.width(),left:o.offset().left,right:parseFloat(a(window).width())-parseFloat(o.offset().left)-parseFloat(o.width())};l.find(".brands-layer").remove(),n=s.compile(i),o.parent("li").find(".brands-dialog").html(n(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"),l=a(".brands-list"),c=a(".brands-category"),d=l.find("li>a"),h=c.find("a"),u=r.find("li>a"),f=r.find(".hoverarr"),p=h.height(),m=h.offset()?h.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,i,n,o){return n*((t=t/o-1)*t*t*t*t+1)+i},u.eq(0).parent("li").find(".brands-content").css("z-index","1"),u.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?c.addClass("category-fix"):c.removeClass("category-fix")}),h.click(function(){var e=a(this).attr("href").split("#")[1],t=l.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"),i={url:"/brands/brandinfo",type:"get",success:function(t){200===t.code&&t.brand&&(g.hasOwnProperty(t.brand.key)||(g[t.brand.key]=t.brand),n(e,g[t.brand.key],w))}};clearTimeout(o),o=setTimeout(function(){g.hasOwnProperty(t)?n(e,g[t],w):a.ajax(i)},200)},function(){clearTimeout(o),l.find(".brands-layer").remove()})}),define("js/common/new-arrivls",["jquery","lazyload","handlebars","source-map"],function(e,t,i){function n(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");n.prototype.on=function(e,t){var i=this,n=i.registerEvent[e];return n&&n.push(t),n},n.prototype.exect=function(e,t){var i,n=this;if(n.registerEvent[e]&&n.registerEvent[e].length>0)for(i in n.registerEvent[e])n.registerEvent[e].hasOwnProperty(i)&&n.registerEvent[e][i](t)},n.prototype.init=function(){function e(){i.isrun&&i.isload&&t.__directionCalculation()&&(i.isload=!1,i.index++,t.exect("after",i)),t.exect("change",i)}var t=this,i=this.options;t.exect("before",i),o(window).scroll(e)},n.prototype.emit=function(){var e=this.options;e.isload=!0},n.prototype.stop=function(){var e=this.options;e.isrun=!1,e.isload=!1},n.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},i.exports=function(e){var t,i=o("#newarrivals .goods-container"),r=o(".loading a"),l=new n({index:1,isload:!1,offset:{height:function(){return parseFloat(i.offset().top)+parseFloat(i.height())-200}}}),c=e.url,d=e.count,h=e.rows;e.pageIndex=0,delete e.url,delete e.count,delete e.rows,t=function(e,t,n){var c={type:"POST",url:e,success:function(e){var o,c,d,h=e.code;200===h?(c=e.goods.length%n,d=e.goods.length-c-1,e.goods.splice(d,c),o=s.compile(l.tpl),i.append(o(e.goods)),t.pageIndex=t.pageIndex+e.goods.length,a(i.find("img.lazy")),l.emit()):(l.stop(),r.html("查看更多"))},error:function(){l.stop(),r.html("网络断开连接了~")}};c.data=t,o.ajax(c)},l.on("after",function(i){e.pageCount=d*h[1],t(c,e)}),l.on("before",function(i){l.tpl="{{#each this}}",l.tpl+='<div class="good-info imgopacity" data-skn="{{skn}}">',l.tpl+=' <div class="tag-container clearfix">',l.tpl+=" {{# tags}}",l.tpl+=" {{# isNew}}",l.tpl+=' <span class="good-tag new-tag">NEW</span>',l.tpl+=" {{/ isNew}}",l.tpl+=" {{# isReNew}}",l.tpl+=' <span class="good-tag renew-tag">再到着</span>',l.tpl+=" {{/ isReNew}}",l.tpl+=" {{# isSale}}",l.tpl+=' <span class="good-tag sale-tag">SALE</span>',l.tpl+=" {{/ isSale}}",l.tpl+=" {{# isNewFestival}}",l.tpl+=' <span class="good-tag new-festival-tag">新品节</span>',l.tpl+=" {{/ isNewFestival}}",l.tpl+=" {{# isLimit}}",l.tpl+=' <span class="good-tag limit-tag">限量商品</span>',l.tpl+=" {{/ isLimit}}",l.tpl+=" {{# isYearEndPromotion}}",l.tpl+=' <span class="good-tag yep-tag">年终大促</span>',l.tpl+=" {{/ isYearEndPromotion}}",l.tpl+=" {{# isYearMidPromotion}}",l.tpl+=' <span class="good-tag ymp-tag">年中热促</span>',l.tpl+=" {{/ isYearMidPromotion}}",l.tpl+=" {{/ tags}}",l.tpl+=" </div>",l.tpl+=' <div class="good-detail-img">',l.tpl+=' <a class="good-thumb" href="{{url}}" target= "_blank">',l.tpl+=' <img class="lazy" data-original="{{thumb}}">',l.tpl+=" </a>",l.tpl+=" {{# isFew}}",l.tpl+=' <p class="few-tag">即将售罄</p>',l.tpl+=" {{/ isFew}}",l.tpl+=" {{#if showColBtn}}",l.tpl+=' <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>',l.tpl+=" {{/if}}",l.tpl+=" </div>",l.tpl+=' <div class="good-detail-text">',l.tpl+=' <a href="{{url}}" target= "_blank">{{name}}</a>',l.tpl+=' <p class="price">',l.tpl+=' <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">',l.tpl+=" ¥{{salePrice}}",l.tpl+=" </span>",l.tpl+=" {{# marketPrice}}",l.tpl+=' <span class="market-price">¥{{.}}</span>',l.tpl+=" {{/ marketPrice}}",l.tpl+=" </p>",l.tpl+=" </div>",l.tpl+="</div>",l.tpl+="{{/each}}",e.pageCount=d*h[0],t(c,e,e.count)}),l.init()}}),define("js/passport/entry",["jquery","jquery.placeholder"],function(e,t,i){e("js/passport/reg"),e("js/passport/back"),e("js/passport/login"),e("js/passport/reset"),e("js/passport/vertification"),e("js/passport/thirdlogin")}),define("js/passport/reg",["jquery"],function(e,t,i){function n(e,t){var i,n;"reg"===e?(i="/passport/register/checkmobile",n={mobile:x.val(),area:I.text().split("+")[1]}):"third"===e&&(i="/passport/autouserinfo/bindCheck",n={mobile:x.val(),area:I.text().split("+")[1],openId:h("#open-id").val(),sourceType:h("#source-type").val()}),h.ajax({url:i,type:"POST",data:n}).then(function(e){switch(e.code){case 200:C[0].message="",C[0].status=!0;break;case 400:C[0].message=e.message,C[0].status=!1}t()})}function o(e,t){var i;"reg"===e?i="/passport/register/piccaptcha":"third"===e&&(i="/passport/autouserinfo/checkPicCode"),h.ajax({type:"POST",url:i,data:{verifyCode:q.val()}}).then(function(e){switch(e.code){case 200:C[1].message="",C[1].status=!0;break;case 400:C[1].message="图形验证码错误",C[1].status=!1}t()})}function a(e,t){var i;"reg"===e?i="/passport/register/msgcaptcha":"third"===e&&(i="/passport/autouserinfo/checkBindMsg"),h.ajax({type:"POST",url:i,data:{code:k.val(),mobile:x.val(),area:I.text().split("+")[1]}}).then(function(e){switch(e.code){case 200:C[2].message="",C[2].status=!0;break;case 400:C[2].message="短信验证码错误",C[2].status=!1}t()})}function s(e,t,i){var s,r=h.trim(t.val()),l=/^([a-zA-Z0-9\-\+_!@\#$%\^&\*\(\)\:\;\.=\[\]\\\',\?]){6,20}$/gi;t.hasClass("phone-num")?(s=I.text(),""===r?(C[0].message="请输入手机号码",C[0].status=!1,i()):u.phoneRegx[s].test(r)?n(e,i):(C[0].message="手机号码格式不正确,请重新输入",C[0].status=!1,i())):t.hasClass("captcha")?""===r?(C[1].message="请输入图形验证码",C[1].status=!1,i()):r.length<=3?(C[1].message="图形验证码为4位",C[1].status=!1,i()):C[0].status?o(e,i):(C[1].message="图形验证码错误",C[1].status=!1,i()):t.hasClass("msg-captcha")?""===r?(C[2].message="请输入短信验证码",C[2].status=!1,i()):r.length<=3?(C[2].message="短信验证码错误",C[2].status=!1,i()):C[1].status?a(e,i):(C[2].message="短信验证码错误",C[2].status=!1,i()):t.hasClass("pwd")?(""===r?(C[3].message="请输入密码",C[3].status=!1):r.length<6||r.length>20?(C[3].message="密码只支持6-20位字符",C[3].status=!1):l.test(t.val())?(C[3].message="",C[3].status=!0):(C[3].message="密码只能包含字母,数字,半角标点符号",C[3].status=!1),i()):t.hasClass("repwd")&&(""===r?(C[4].message="请输入密码确认",C[4].status=!1):_.val()!==r?(C[4].message="与密码不一致,请重新输入",C[4].status=!1):(C[4].message="",C[4].status=!0),i())}function r(){var e,t,i,n=!1,o=C.length;for(i=0;o>i;i++)n||(C[i].message?(w.find("span").text(C[i].message),t=h("#"+C[i].id),e=t.offset(),w.css({top:e.top-40,left:e.left}).removeClass("hide"),n=!0):w.addClass("hide"))}function l(){var e,t,i=C.length;for(t=0;i>t;t++)C[t].message?(e=h("#"+C[t].id),e.addClass("error")):(e=h("#"+C[t].id),e.removeClass("error"))}function c(e){var t=e.val(),i=f(t),n=0;switch(n=0===i?0:10>=i?1:20>=i?2:3){case 0:A.removeClass("red yellow green"),T.removeClass("color");break;case 1:A.addClass("red").removeClass("yellow green"),T.filter(".low").addClass("color"),T.filter(".mid,.high").removeClass("color");break;case 2:A.addClass("yellow").removeClass("red green"),T.filter(".low,.mid").addClass("color"),T.filter(".high").removeClass("color");break;case 3:A.addClass("green").removeClass("yellow red"),T.addClass("color")}""===t?g.removeClass("red yes no").addClass("default"):t.length<6||t.length>20?g.removeClass("default yes").addClass("no red"):g.removeClass("default no red").addClass("yes")}var d,h=e("jquery"),u=e("js/passport/mail-phone-regx"),f=e("js/passport/pwd-strength"),p=h(".register-page"),m=h("#pwd-tips"),g=m.find("#pwd-tip1"),w=h("#err-tip"),v=h("#register-btn"),y=h("#send-captcha"),b=4,C=[],x=h("#phone-num"),k=h("#msg-captcha"),_=h("#pwd"),j=h("#repwd"),q=h("#captcha"),T=h(".pwd-intensity"),A=T.closest(".pwd-intensity-container"),I=h("#country-code"),z=h("#region"),O=!1;setTimeout(function(){x.val(""),k.val(""),_.val(""),j.val(""),q.val("")},100),q.attr("maxlength",b),_.focus(function(e){m.removeClass("hide"),O=!0,d=h(this).val()}).blur(function(){m.addClass("hide"),O=!1}),C=[{id:"phone-num",message:"",status:!1},{id:"captcha",message:"",status:!1},{id:"msg-captcha",message:"",status:!1},{id:"pwd",message:"",status:!1},{id:"repwd",message:"",status:!1}],t.init=function(e){h("#agree-terms").click(function(){h(this).attr("notchecked")?(h(this).removeAttr("notchecked"),v.addClass("disable").attr("disabled","true")):(h(this).attr("notchecked","true"),v.removeClass("disable").removeAttr("disabled"))}),p.on("keydown",function(e){ +var t=e.which;13===t&&v.click()}),p.find(".va").keyup(function(){var t,i=0,n=C.length,o=h(this);s(e,h(this),function(){for(r(),l(),t=0;n>t;t++)C[t].status&&i++;4!==i||h("#agree-terms").attr("notchecked")?v.addClass("disable").attr("disabled","true"):v.removeClass("disable").removeAttr("disabled"),C[1].status?y.removeClass("disable"):y.addClass("disable")}),o.hasClass("pwd")&&c(o)}).blur(function(){}),z.change(function(){I.text(h("#region").val()),s(e,x,r)}),y.click(function(){var t,i,n=20;h(this).hasClass("disable")||("reg"===e?i="/passport/register/sendBindMsg":"third"===e&&(i="/passport/autouserinfo/sendBindMsg"),h.ajax({type:"POST",url:i,data:{area:I.text().split("+")[1],mobile:x.val(),verifyCode:q.val()}}).then(function(e){200===e.code&&(t=setInterval(function(){return 0>=n?(y.removeClass("disable").val("获取短信验证码"),void clearInterval(t)):void y.addClass("disable").val(n--+"秒可重新发送")},1e3))}))}),_[0].onpaste=function(){return!1},v.click(function(){var t;"reg"===e?t="/passport/register/mobileregister":"third"===e&&(t="/passport/autouserinfo/bindMobile"),h(this).hasClass("disable")||h.ajax({type:"POST",url:t,data:{area:I.text().split("+")[1],mobile:x.val(),verifyCode:q.val(),code:k.val(),password:_.val()}}).then(function(e){var t,i,n=0;200===e.code?(i=e.data.href,t=setTimeout(function(){n++},1e3),h.ajax({type:"GET",url:e.data.session}).then(function(e){200===e.code&&3>t&&(clearInterval(t),location.href=i)}),t>=3&&(clearInterval(t),location.href=i)):console.log("网络超时~")})}),h(".change-captcha").click(function(){var e=new Date,t=h(".captcha-img"),i=t.attr("src").split("?")[0];t.attr("src",i+"?t="+e.getTime())})}}),define("js/passport/mail-phone-regx",[],function(e,t,i){var n={"+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]{1}[0-9]{8}$/,"+81":/^0[9|8|7][0-9]{9}$/,"+61":/^[0-9]{11}$/},o=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/;t.phoneRegx=n,t.emailRegx=o}),define("js/passport/pwd-strength",[],function(e,t,i){function n(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function o(e,t,i){var n=e.charCodeAt(0),o=t.charCodeAt(0);return n-o===0?!0:4===i||n-o!==1&&n-o!==-1?!1:!0}function a(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t,i,s=0,r=e.length,l="",c=0,d=0;for(d=0;r>d;d++)t=e.charAt(d),i=n(e,d),c===i&&o(t,l,i)||(s+=i+a(i,c)),l=t,c=i;return s}i.exports=s}),define("js/passport/back",["jquery","jquery.placeholder"],function(e,t,i){function n(){var e=new Date,t=l("#captcha-img"),i=t.attr("src").split("?")[0];l("#captcha-img").attr("src",i+"?t="+e.getTime())}function o(){x&&k?v.removeClass("disable").prop("disabled",!1):v.addClass("disable").prop("disabled",!0)}function a(e){var t=!0,i="";return e=l.trim(e),""!==e?/^[0-9]+$/.test(e)?c[d.val()].test(e)?t=!0:(i="手机号码格式不正确, 请重新输入",t=!1):p.test(e)?t=!0:(i="邮箱格式不正确, 请重新输入",t=!1):(i="账户名不能为空",t=!1),x=t,{pass:t,errTxt:i}}function s(){var e=l.trim(u.val());return""===e||e.length<C?(k=!1,void o()):void l.ajax({type:"POST",url:"/passport/back/authcode",data:{verifyCode:e,phoneNum:l("#phone-num").val(),area:l("#country-code-hide").val()}}).then(function(e){200===e.code?k=!0:(k=!1,n()),o()})}var r,l=e("jquery"),c=e("js/passport/mail-phone-regx").phoneRegx,d=l("#country-code-hide"),h=l("#phone-num"),u=l("#captcha"),f=l("#tip-panel"),p=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/,m=[["qq.com","163.com","126.com","sina.com","gmail.com","sohu.com","hotmail.com","139.com","189.com"],["gmail.com","qq.com","163.com","126.com","sina.com","sohu.com","hotmail.com","139.com","189.com"]],g=l("#country-code-list"),w=l("#country-code"),v=l("#find-btn"),y=l("#account-err"),b=l("#captcha-err"),C=4,x=!1,k=!1;e("jquery.placeholder"),u.attr("maxlength",C),l("input").placeholder(),l("#change-captcha, #captcha-img").on("click",function(){n()}),w.on("click",function(e){e.stopPropagation(),"block"===g.css("style")?g.slideUp("fast"):g.slideDown("fast")}),g.delegate("li","click",function(e){var t,i=l(this),n=i.data("cc");e.stopPropagation(),d.val(n),w.find("em").html(i.text()),""!==l.trim(h.val())&&(t=a(h.val()),o(),x?(y.addClass("hide"),h.removeClass("error")):(y.removeClass("hide").text(t.errTxt),h.addClass("error"))),g.slideUp("fast")}),l(document).click(function(){"block"===f.css("display")&&f.slideUp(),"block"===g.css("display")&&g.slideUp()}),h.keyup(function(){var e,t,i=l.trim(l(this).val()),n="";if(-1!==i.indexOf("@")&&i.lastIndexOf("@")===i.indexOf("@")){for(e=/^[0-9]*@$/.test(i)?m[0]:m[1],t=0;t<e.length;t++)n+="<li>"+i.slice(0,i.indexOf("@"))+"@"+e[t]+"</li>";f.html(n).slideDown()}else f.slideUp();a(i),o()}).blur(function(){r=setTimeout(function(){var e=a(h.val());e.pass?(y.addClass("hide"),h.removeClass("error")):(y.removeClass("hide").find("em").text(e.errTxt),h.addClass("error"))},170)}).focus(function(){l(this).removeClass("error"),y.addClass("hide")}),u.blur(function(){var e=""===l.trim(u.val())?"验证码不能为空":"验证码不正确";k?(b.addClass("hide"),u.removeClass("error")):(b.removeClass("hide").find("em").text(e),u.addClass("error"),n())}).focus(function(){l(this).removeClass("error"),b.addClass("hide")}).keyup(function(){s()}),f.delegate("li","click",function(e){var t,i=l(this).text();e.stopPropagation(),h.val(i),r&&(clearTimeout(r),t=a(i),o(),t.pass?(y.addClass("hide"),h.removeClass("error")):(y.removeClass("hide").find("em").text(t.errTx),h.addClass("error")),r=null),f.slideUp()}),l("#find-btn").click(function(e){return/^[0-9]+$/.test(l.trim(h.val()))&&l("#find-form").attr("action","/passport/back/mobile"),l(this).hasClass("disable")?void 0:k&&x?void 0:(e.preventDefault(),!0)})}),define("js/passport/login",["jquery","jquery.placeholder"],function(e,t,i){function n(){var e,t=!1,i=r.trim(c.val());return""!==i?/^[0-9]+$/.test(i)?v.phoneRegx[p.val()].test(i)?t=!0:(t=!1,e="手机号码不正确,请重新输入"):v.emailRegx.test(i)?t=!0:(t=!1,e="邮箱格式不正确,请重新输入"):e="请输入账户名",t?(h.addClass("hide"),c.removeClass("error")):(h.removeClass("hide").children("em").text(e),c.addClass("error")),t}function o(){var e,t=!1,i=r.trim(d.val());return""!==i?i.length<6?e="请输入长度为6-20字符的密码":t=!0:e="请输入密码",t?(u.addClass("hide"),d.removeClass("error")):(u.removeClass("hide").children("em").text(e),d.addClass("error")),t}function a(){var e=!0,t=r.trim(c.val()),i=r.trim(d.val());return""!==t?e=n()&&o():(e=!1,c.addClass("error"),""===i?(h.addClass("both-error").removeClass("hide").children("em").text("请输入账户名和密码"),u.addClass("hide"),d.addClass("error")):h.removeClass("hide").children("em").text("请输入账户名")),e}var s,r=e("jquery"),l={num:["qq.com","163.com","126.com","sina.com","gmail.com","sohu.com","hotmail.com","139.com","189.com"],other:["gmail.com","qq.com","163.com","126.com","sina.com","sohu.com","hotmail.com","139.com","189.com"]},c=r("#account"),d=r("#password"),h=c.siblings(".err-tip"),u=d.siblings(".err-tip"),f=r("#caps-lock"),p=r("#country-code-hide"),m=r("#country-code > em"),g=r("#country-list"),w=r("#email-autocomplete"),v=e("js/passport/mail-phone-regx"),y=r(".remember-me"),b={checked:"",unchecked:""},C=!1;e("jquery.placeholder"),r("[placeholder]").placeholder(),r("#country-code").on("click",function(){"none"===g.css("display")&&g.slideDown()}),g.on("click","li",function(){var e=r(this),t=e.data("cc");m.html(e.html()),p.val(t),g.slideUp()}),r(document).on("click",function(e){r(e.target).closest("#country-code").length>0||"block"===g.css("display")&&g.slideUp()}),c.on("keyup",function(){var e,t,i,n,o=r.trim(r(this).val()),a="";if(o.indexOf("@")>0){for(e=o.match(/^[0-9]+@(.*)/),e?(i=l.num,t=e[1]):(i=l.other,t=o.match(/@(.*)/)[1]),n=0;n<i.length;n++)i[n].indexOf(t)>-1&&(a+="<li>"+o.slice(0,o.indexOf("@"))+"@"+i[n]+"</li>");""!==a&&/.com$/.test(o)===!1?w.html(a).removeClass("hide"):w.html("").addClass("hide")}}).on("blur",function(){s=setTimeout(function(){w.addClass("hide"),n()},200)}),d.on("blur",function(){o(),f.hasClass("hide")||f.addClass("hide")}).on("keypress",function(e){var t=e.which;return t>=65&&90>=t?void f.removeClass("hide"):void f.addClass("hide")}),w.on("click","li",function(){clearTimeout(s),c.val(r(this).text()).focus(),w.addClass("hide")}),y.on("click",function(){var e=r(this);e.toggleClass("checked"),e.hasClass("checked")?e.children("i").html(b.checked):e.children("i").html(b.unchecked)}),r(".va").on("focus",function(){var e=r(this);e.removeClass("error"),e.siblings(".err-tip").addClass("hide")}),r("#login-btn").on("click",function(){var e=a();e&&C===!1&&(C=!0,r.ajax({url:"/passport/login/auth",type:"POST",data:{areaCode:p.val().replace("+",""),account:r.trim(c.val()),password:r.trim(d.val()),isRemember:y.hasClass("checked")?!0:!1},success:function(e){200===e.code?e.data&&(location.href=e.data.session):(u.removeClass("hide").children("em").html(e.message),d.addClass("error").val(""))},complete:function(){C=!1}}))})}),define("js/passport/reset",["jquery","jquery.placeholder"],function(e,t,i){function n(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function o(e,t,i){var n=e.charCodeAt(0),o=t.charCodeAt(0);return n-o===0?!0:4===i||n-o!==1&&n-o!==-1?!1:!0}function a(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t,i,s=0,r=e.length,l="",c=0,d=0;for(d=0;r>d;d++)t=e.charAt(d),i=n(e,d),c===i&&o(t,l,i)||(s+=i+a(i,c)),l=t,c=i;return s}function r(){var e=c.val(),t=s(e),i=0;switch(i=0===t?0:10>=t?1:20>=t?2:3){case 0:w.removeClass("red yellow green"),g.removeClass("color");break;case 1:w.addClass("red").removeClass("yellow green"),g.filter(".low").addClass("color"),g.filter(".mid,.high").removeClass("color");break;case 2:w.addClass("yellow").removeClass("red green"),g.filter(".low,.mid").addClass("color"),g.filter(".high").removeClass("color");break;case 3:w.addClass("green").removeClass("yellow red"),g.addClass("color")}""===e?(m=!1,v.removeClass("red yes no").addClass("default")):e.length<6||e.length>20?(m=!1,v.text("密码只支持6-20位字符").removeClass("default yes").addClass("no red")):/[0-9a-zA-Z]{6,20}$/.test(e)?(m=!0,v.text("密码只支持6-20位字符").removeClass("default no red").addClass("yes")):(m=!1,v.text("不能包含特殊字符").removeClass("default yes").addClass("no red"))}var l=e("jquery"),c=l("#pwd"),d=l("#re-input"),h=l("#reset-pwd-btn"),u=l("#pwd-err"),f=l("#repwd-err"),p=l("#pwd-tips"),m=!1,g=l(".pwd-intensity"),w=g.closest(".pwd-intensity-container"),v=l("#pwd-tip1");e("jquery.placeholder"),l("input").placeholder(),l(".va").keyup(function(){var e=!0;l(this).hasClass("pwd")?r():""===l(this).val()&&(e=!1),e=e&&m&&c.val()===d.val()?!0:!1,e?h.removeClass("disable").prop("disabled",!1):h.addClass("disable").prop("disabled",!0)}).blur(function(){var e=l(this).val();l(this).hasClass("pwd")?""===e?(l(this).addClass("error"),u.removeClass("hide").find("em").text("请输入密码")):e.length<6||e.length>20?(l(this).addClass("error"),u.removeClass("hide").find("em").text("密码只支持6-20位")):(u.addClass("hide"),""!==d.val()&&(e!==d.val()?(d.addClass("error"),f.removeClass("hide").find("em").text("两次密码输入不一致,请重新输入")):(d.removeClass("error"),f.addClass("hide")))):""===e?(l(this).addClass("error"),f.removeClass("hide").find("em").text("请输入密码确认")):""!==c.val()&&e!==c.val()?(l(this).addClass("error"),f.removeClass("hide").find("em").text("两次密码输入不一致,请重新输入")):(l(this).removeClass("error"),f.addClass("hide"))}).focus(function(){l(this).removeClass("error"),l(this).hasClass("pwd")?u.addClass("hide"):f.addClass("hide")}),c.focus(function(){u.addClass("hide"),p.removeClass("hide")}).blur(function(){p.addClass("hide")}),l("#pwd, #repwd").keydown(function(e){var t=e.keyCode||e.which;return 32===t?void e.preventDefault():void 0})}),define("js/passport/vertification",["jquery"],function(e,t,i){var n,o,a=e("jquery"),s=a("#send-captcha"),r=a("#captcha-tip"),l=a("#err-tip"),c=a("#next-step");s.click(function(){a.post("/passport/back/sendbackmobile",{mobile:a("#mobile").val(),area:a("#area").val(),verifyCode:a("#captchaPic").val()},function(e){if(200===e.code){if(l.hide(),a(this).hasClass("disable"))return;n=60,s.addClass("disable").attr("disabled",!0),r.removeClass("hide"),s.val(n--+"秒后可重新操作"),o=setInterval(function(){0===n?(clearInterval(o),s.val("发送验证码").removeClass("disable").removeAttr("disabled")):s.val(n--+"秒后可重新操作")},1e3)}else a(this).addClass("error"),l.removeClass("hide").text("发送失败")})}),a(this).hasClass("disable")||(n=60,s.addClass("disable").attr("disabled",!0),r.removeClass("hide"),s.val(n--+"秒后可重新操作"),o=setInterval(function(){0===n?(clearInterval(o),s.val("发送验证码").removeClass("disable").removeAttr("disabled")):s.val(n--+"秒后可重新操作")},1e3),a("#captcha").keyup(function(){var e=a.trim(a(this).val()),t=this;4===e.length&&a.ajax({type:"POST",url:"/passport/back/backmobile",dataType:"json",data:{code:a("#captcha").val(),verifyCode:a("#captchaPic").val(),area:a("#area").val(),mobile:a("#mobile").val()},success:function(e){200===e.code?(c.removeClass("disable").attr("href",e.data),l.addClass("hide"),a(t).removeClass("error")):(c.addClass("disable"),l.removeClass("hide").find("em").text("验证码输入错误"),a(t).addClass("error"))}})}).blur(function(){var e=a.trim(a(this).val());""===e&&(a(this).addClass("error"),l.removeClass("hide").text("请输入验证码"))}).focus(function(){a(this).removeClass("error")}))}),define("js/passport/thirdlogin",["jquery"],function(e,t,i){function n(){h(".choosetag").on("change",function(){h(this).attr("checked")?h(".choosewrapper").css({"background-image":'url("http://webstatic.dev.yohobuy.com/img/passport/choosed.png")'}):h(".choosewrapper").css({"background-image":"none"})})}function o(){h(".optionshow").on("click",function(){h(".optionslist").toggleClass("hide")})}function a(){h(document).on("click","body",function(e){var t=h(e.target);t.hasClass("yohoselectarea")||t.hasClass("yohoselectarea")||t.hasClass("areaname")||t.hasClass("righttag")||t.hasClass("optionslist")||t.hasClass("optionitem")||h(".optionslist").addClass("hide")})}function s(){h(".optionitem").on("click",function(){var e=h(this),t=e.attr("areanum"),i=e.text();h("#areaname").text(i),h("#areanum").text(t),h("#areacode").val(t),h(".optionslist").addClass("hide")})}function r(){return h(".choosetag").attr("checked")}function l(){var e;h(document).on("click","#alreayregist",function(t){e=h(t.target),(e.hasClass("mask")||e.hasClass("backdrop"))&&h("#alreayregist").hide()})}function c(){var e="",t="",i="",n="";h("#bindfirststep").on("click",function(o){return o.preventDefault(),i=h(".phonenum").val(),n=h(".areanum").text(),""===i?void alert("手机号码不能为空"):r()?(e=h("#openId").val()||"29803EC6D4AAC3AAB8ABDB6AE829D579",t=h("#sourceType").val()||"qq",void h.ajax({type:"post",url:"/passport/autouserinfo/bindCheck",data:{mobile:i,area:n,openId:e,sourceType:t},dataType:"json",success:function(e){200===e.code?0===e.data.isReg?(h("#bindmobileform").attr("action","/passport/thirdlogin/noregist"),h("#bindmobileform").submit()):h("#alreayregist").show():alert(e.message)}})):void alert("请先同意我们的协议")})}function d(){n(),s(),o(),a(),c(),l()}var h=e("jquery");d()}); \ No newline at end of file diff --git a/web-static/dist/yohobuy/0.0.1/lib.js b/web-static/dist/yohobuy/0.0.1/lib.js new file mode 100644 index 0000000..60ac817 --- /dev/null +++ b/web-static/dist/yohobuy/0.0.1/lib.js @@ -0,0 +1,7 @@ +!function(e,t){function n(e){return function(t){return{}.toString.call(t)=="[object "+e+"]"}}function r(){return E++}function i(e){return e.match(T)[0]}function o(e){for(e=e.replace(P,"/");e.match(L);)e=e.replace(L,"/");return e=e.replace(j,"$1/")}function a(e){var t=e.length-1,n=e.charAt(t);return"#"===n?e.substring(0,t):".js"===e.substring(t-2)||e.indexOf("?")>0||".css"===e.substring(t-3)||"/"===n?e:e+".js"}function s(e){var t=w.alias;return t&&k(t[e])?t[e]:e}function l(e){var t,n=w.paths;return n&&(t=e.match(O))&&k(n[t[1]])&&(e=n[t[1]]+t[2]),e}function u(e){var t=w.vars;return t&&e.indexOf("{")>-1&&(e=e.replace(M,function(e,n){return k(t[n])?t[n]:e})),e}function c(e){var t=w.map,n=e;if(t)for(var r=0,i=t.length;i>r;r++){var o=t[r];if(n=_(o)?o(e)||e:e.replace(o[0],o[1]),n!==e)break}return n}function p(e,t){var n,r=e.charAt(0);if(D.test(e))n=e;else if("."===r)n=o((t?i(t):w.cwd)+e);else if("/"===r){var a=w.cwd.match(H);n=a?a[0]+e.substring(1):e}else n=w.base+e;return 0===n.indexOf("//")&&(n=location.protocol+n),n}function h(e,t){if(!e)return"";e=s(e),e=l(e),e=u(e),e=a(e);var n=p(e,t);return n=c(n)}function f(e){return e.hasAttribute?e.src:e.getAttribute("src",4)}function d(e,t,n){var r=V.test(e),i=I.createElement(r?"link":"script");if(n){var o=_(n)?n(e):n;o&&(i.charset=o)}g(i,t,r,e),r?(i.rel="stylesheet",i.href=e):(i.async=!0,i.src=e),q=i,z?U.insertBefore(i,z):U.appendChild(i),q=null}function g(e,n,r,i){function o(){e.onload=e.onerror=e.onreadystatechange=null,r||w.debug||U.removeChild(e),e=null,n()}var a="onload"in e;return!r||!G&&a?(a?(e.onload=o,e.onerror=function(){N("error",{uri:i,node:e}),o()}):e.onreadystatechange=function(){/loaded|complete/.test(e.readyState)&&o()},t):(setTimeout(function(){m(e,n)},1),t)}function m(e,t){var n,r=e.sheet;if(G)r&&(n=!0);else if(r)try{r.cssRules&&(n=!0)}catch(i){"NS_ERROR_DOM_SECURITY_ERR"===i.name&&(n=!0)}setTimeout(function(){n?t():m(e,t)},20)}function v(){if(q)return q;if(W&&"interactive"===W.readyState)return W;for(var e=U.getElementsByTagName("script"),t=e.length-1;t>=0;t--){var n=e[t];if("interactive"===n.readyState)return W=n}}function y(e){var t=[];return e.replace(K,"").replace(J,function(e,n,r){r&&t.push(r)}),t}function b(e,t){this.uri=e,this.dependencies=t||[],this.exports=null,this.status=0,this._waitings={},this._remain=0}if(!e.seajs){var x=e.seajs={version:"2.2.0"},w=x.data={},S=n("Object"),k=n("String"),C=Array.isArray||n("Array"),_=n("Function"),E=0,A=w.events={};x.on=function(e,t){var n=A[e]||(A[e]=[]);return n.push(t),x},x.off=function(e,t){if(!e&&!t)return A=w.events={},x;var n=A[e];if(n)if(t)for(var r=n.length-1;r>=0;r--)n[r]===t&&n.splice(r,1);else delete A[e];return x};var N=x.emit=function(e,t){var n,r=A[e];if(r)for(r=r.slice();n=r.shift();)n(t);return x},T=/[^?#]*\//,P=/\/\.\//g,L=/\/[^\/]+\/\.\.\//,j=/([^:\/])\/\//g,O=/^([^\/:]+)(\/.+)$/,M=/{([^{]+)}/g,D=/^\/\/.|:\//,H=/^.*?\/\/.*?\//,I=document,R=i(I.URL),B=I.scripts,$=I.getElementById("seajsnode")||B[B.length-1],F=i(f($)||R);x.resolve=h;var q,W,U=I.head||I.getElementsByTagName("head")[0]||I.documentElement,z=U.getElementsByTagName("base")[0],V=/\.css(?:\?|$)/i,G=+navigator.userAgent.replace(/.*AppleWebKit\/(\d+)\..*/,"$1")<536;x.request=d;var X,J=/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|\/\*[\S\s]*?\*\/|\/(?:\\\/|[^\/\r\n])+\/(?=[^\/])|\/\/.*|\.\s*require|(?:^|[^$])\brequire\s*\(\s*(["'])(.+?)\1\s*\)/g,K=/\\\\/g,Y=x.cache={},Q={},Z={},ee={},te=b.STATUS={FETCHING:1,SAVED:2,LOADING:3,LOADED:4,EXECUTING:5,EXECUTED:6};b.prototype.resolve=function(){for(var e=this,t=e.dependencies,n=[],r=0,i=t.length;i>r;r++)n[r]=b.resolve(t[r],e.uri);return n},b.prototype.load=function(){var e=this;if(!(e.status>=te.LOADING)){e.status=te.LOADING;var n=e.resolve();N("load",n);for(var r,i=e._remain=n.length,o=0;i>o;o++)r=b.get(n[o]),r.status<te.LOADED?r._waitings[e.uri]=(r._waitings[e.uri]||0)+1:e._remain--;if(0===e._remain)return e.onload(),t;var a={};for(o=0;i>o;o++)r=Y[n[o]],r.status<te.FETCHING?r.fetch(a):r.status===te.SAVED&&r.load();for(var s in a)a.hasOwnProperty(s)&&a[s]()}},b.prototype.onload=function(){var e=this;e.status=te.LOADED,e.callback&&e.callback();var t,n,r=e._waitings;for(t in r)r.hasOwnProperty(t)&&(n=Y[t],n._remain-=r[t],0===n._remain&&n.onload());delete e._waitings,delete e._remain},b.prototype.fetch=function(e){function n(){x.request(a.requestUri,a.onRequest,a.charset)}function r(){delete Q[s],Z[s]=!0,X&&(b.save(o,X),X=null);var e,t=ee[s];for(delete ee[s];e=t.shift();)e.load()}var i=this,o=i.uri;i.status=te.FETCHING;var a={uri:o};N("fetch",a);var s=a.requestUri||o;return!s||Z[s]?(i.load(),t):Q[s]?(ee[s].push(i),t):(Q[s]=!0,ee[s]=[i],N("request",a={uri:o,requestUri:s,onRequest:r,charset:w.charset}),a.requested||(e?e[a.requestUri]=n:n()),t)},b.prototype.exec=function(){function e(t){return b.get(e.resolve(t)).exec()}var n=this;if(n.status>=te.EXECUTING)return n.exports;n.status=te.EXECUTING;var i=n.uri;e.resolve=function(e){return b.resolve(e,i)},e.async=function(t,n){return b.use(t,n,i+"_async_"+r()),e};var o=n.factory,a=_(o)?o(e,n.exports={},n):o;return a===t&&(a=n.exports),delete n.factory,n.exports=a,n.status=te.EXECUTED,N("exec",n),a},b.resolve=function(e,t){var n={id:e,refUri:t};return N("resolve",n),n.uri||x.resolve(n.id,t)},b.define=function(e,n,r){var i=arguments.length;1===i?(r=e,e=t):2===i&&(r=n,C(e)?(n=e,e=t):n=t),!C(n)&&_(r)&&(n=y(""+r));var o={id:e,uri:b.resolve(e),deps:n,factory:r};if(!o.uri&&I.attachEvent){var a=v();a&&(o.uri=a.src)}N("define",o),o.uri?b.save(o.uri,o):X=o},b.save=function(e,t){var n=b.get(e);n.status<te.SAVED&&(n.id=t.id||e,n.dependencies=t.deps||[],n.factory=t.factory,n.status=te.SAVED)},b.get=function(e,t){return Y[e]||(Y[e]=new b(e,t))},b.use=function(t,n,r){var i=b.get(r,C(t)?t:[t]);i.callback=function(){for(var t=[],r=i.resolve(),o=0,a=r.length;a>o;o++)t[o]=Y[r[o]].exec();n&&n.apply(e,t),delete i.callback},i.load()},b.preload=function(e){var t=w.preload,n=t.length;n?b.use(t,function(){t.splice(0,n),b.preload(e)},w.cwd+"_preload_"+r()):e()},x.use=function(e,t){return b.preload(function(){b.use(e,t,w.cwd+"_use_"+r())}),x},b.define.cmd={},e.define=b.define,x.Module=b,w.fetchedList=Z,w.cid=r,x.require=function(e){var t=b.get(b.resolve(e));return t.status<te.EXECUTING&&(t.onload(),t.exec()),t.exports};var ne=/^(.+?\/)(\?\?)?(seajs\/)+/;w.base=(F.match(ne)||["",F])[1],w.dir=F,w.cwd=R,w.charset="utf-8",w.preload=function(){var e=[],t=location.search.replace(/(seajs-\w+)(&|$)/g,"$1=1$2");return t+=" "+I.cookie,t.replace(/(seajs-\w+)=1/g,function(t,n){e.push(n)}),e}(),x.config=function(e){for(var t in e){var n=e[t],r=w[t];if(r&&S(r))for(var i in n)r[i]=n[i];else C(r)?n=r.concat(n):"base"===t&&("/"!==n.slice(-1)&&(n+="/"),n=p(n)),w[t]=n}return N("config",e),x}}}(this),define("lazyload",[],function(e,t,n){var r=e("jquery");e("lib/jquery.lazyload"),n.exports=function(e,t){var n,i={effect:"fadeIn",effect_speed:10,placeholder:"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==",skip_invisible:!1},o=arguments.length;!function(){switch(o){case 0:n=r("img.lazy");break;case 1:e instanceof r?n=e:(n=r("img.lazy"),r.extend(i,e));break;case 2:n=e,i=r.extend(i,t)}}(),n.lazyload(i)}}),define("jquery",[],function(e,t,n){!function(e,t){function r(e){var t=ge[e]={};return Z.each(e.split(ne),function(e,n){t[n]=!0}),t}function i(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(ve,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:me.test(r)?Z.parseJSON(r):r}catch(o){}Z.data(e,n,r)}else r=t}return r}function o(e){var t;for(t in e)if(("data"!==t||!Z.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function a(){return!1}function s(){return!0}function l(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function u(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function c(e,t,n){if(t=t||0,Z.isFunction(t))return Z.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return Z.grep(e,function(e,r){return e===t===n});if("string"==typeof t){var r=Z.grep(e,function(e){return 1===e.nodeType});if(Ie.test(t))return Z.filter(t,r,!n);t=Z.filter(t,r)}return Z.grep(e,function(e,r){return Z.inArray(e,t)>=0===n})}function p(e){var t=$e.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function h(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function f(e,t){if(1===t.nodeType&&Z.hasData(e)){var n,r,i,o=Z._data(e),a=Z._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)Z.event.add(t,n,s[n][r])}a.data&&(a.data=Z.extend({},a.data))}}function d(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),Z.support.html5Clone&&e.innerHTML&&!Z.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ke.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.selected=e.defaultSelected:"input"===n||"textarea"===n?t.defaultValue=e.defaultValue:"script"===n&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(Z.expando))}function g(e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName("*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll("*"):[]}function m(e){Ke.test(e.type)&&(e.defaultChecked=e.checked)}function v(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=yt.length;i--;)if(t=yt[i]+n,t in e)return t;return r}function y(e,t){return e=t||e,"none"===Z.css(e,"display")||!Z.contains(e.ownerDocument,e)}function b(e,t){for(var n,r,i=[],o=0,a=e.length;a>o;o++)n=e[o],n.style&&(i[o]=Z._data(n,"olddisplay"),t?(i[o]||"none"!==n.style.display||(n.style.display=""),""===n.style.display&&y(n)&&(i[o]=Z._data(n,"olddisplay",k(n.nodeName)))):(r=rt(n,"display"),i[o]||"none"===r||Z._data(n,"olddisplay",r)));for(o=0;a>o;o++)n=e[o],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?i[o]||"":"none"));return e}function x(e,t,n){var r=pt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function w(e,t,n,r){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,o=0;4>i;i+=2)"margin"===n&&(o+=Z.css(e,n+vt[i],!0)),r?("content"===n&&(o-=parseFloat(rt(e,"padding"+vt[i]))||0),"margin"!==n&&(o-=parseFloat(rt(e,"border"+vt[i]+"Width"))||0)):(o+=parseFloat(rt(e,"padding"+vt[i]))||0,"padding"!==n&&(o+=parseFloat(rt(e,"border"+vt[i]+"Width"))||0));return o}function S(e,t,n){var r="width"===t?e.offsetWidth:e.offsetHeight,i=!0,o=Z.support.boxSizing&&"border-box"===Z.css(e,"boxSizing");if(0>=r||null==r){if(r=rt(e,t),(0>r||null==r)&&(r=e.style[t]),ht.test(r))return r;i=o&&(Z.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+w(e,t,n||(o?"border":"content"),i)+"px"}function k(e){if(dt[e])return dt[e];var t=Z("<"+e+">").appendTo(q.body),n=t.css("display");return t.remove(),("none"===n||""===n)&&(it=q.body.appendChild(it||Z.extend(q.createElement("iframe"),{frameBorder:0,width:0,height:0})),ot&&it.createElement||(ot=(it.contentWindow||it.contentDocument).document,ot.write("<!doctype html><html><body>"),ot.close()),t=ot.body.appendChild(ot.createElement(e)),n=rt(t,"display"),q.body.removeChild(it)),dt[e]=n,n}function C(e,t,n,r){var i;if(Z.isArray(t))Z.each(t,function(t,i){n||wt.test(e)?r(e,i):C(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==Z.type(t))r(e,t);else for(i in t)C(e+"["+i+"]",t[i],n,r)}function _(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i,o,a=t.toLowerCase().split(ne),s=0,l=a.length;if(Z.isFunction(n))for(;l>s;s++)r=a[s],o=/^\+/.test(r),o&&(r=r.substr(1)||"*"),i=e[r]=e[r]||[],i[o?"unshift":"push"](n)}}function E(e,n,r,i,o,a){o=o||n.dataTypes[0],a=a||{},a[o]=!0;for(var s,l=e[o],u=0,c=l?l.length:0,p=e===It;c>u&&(p||!s);u++)s=l[u](n,r,i),"string"==typeof s&&(!p||a[s]?s=t:(n.dataTypes.unshift(s),s=E(e,n,r,i,s,a)));return!p&&s||a["*"]||(s=E(e,n,r,i,"*",a)),s}function A(e,n){var r,i,o=Z.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((o[r]?e:i||(i={}))[r]=n[r]);i&&Z.extend(!0,e,i)}function N(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes,c=e.responseFields;for(o in c)o in r&&(n[c[o]]=r[o]);for(;"*"===u[0];)u.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("content-type"));if(i)for(o in l)if(l[o]&&l[o].test(i)){u.unshift(o);break}if(u[0]in r)a=u[0];else{for(o in r){if(!u[0]||e.converters[o+" "+u[0]]){a=o;break}s||(s=o)}a=a||s}return a?(a!==u[0]&&u.unshift(a),r[a]):void 0}function T(e,t){var n,r,i,o,a=e.dataTypes.slice(),s=a[0],l={},u=0;if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a[1])for(n in e.converters)l[n.toLowerCase()]=e.converters[n];for(;i=a[++u];)if("*"!==i){if("*"!==s&&s!==i){if(n=l[s+" "+i]||l["* "+i],!n)for(r in l)if(o=r.split(" "),o[1]===i&&(n=l[s+" "+o[0]]||l["* "+o[0]])){n===!0?n=l[r]:l[r]!==!0&&(i=o[0],a.splice(u--,0,i));break}if(n!==!0)if(n&&e["throws"])t=n(t);else try{t=n(t)}catch(c){return{state:"parsererror",error:n?c:"No conversion from "+s+" to "+i}}}s=i}return{state:"success",data:t}}function P(){try{return new e.XMLHttpRequest}catch(t){}}function L(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function j(){return setTimeout(function(){Xt=t},0),Xt=Z.now()}function O(e,t){Z.each(t,function(t,n){for(var r=(en[t]||[]).concat(en["*"]),i=0,o=r.length;o>i;i++)if(r[i].call(e,t,n))return})}function M(e,t,n){var r,i=0,o=Zt.length,a=Z.Deferred().always(function(){delete s.elem}),s=function(){for(var t=Xt||j(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,i=1-r,o=0,s=l.tweens.length;s>o;o++)l.tweens[o].run(i);return a.notifyWith(e,[l,i,n]),1>i&&s?n:(a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:Z.extend({},t),opts:Z.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xt||j(),duration:n.duration,tweens:[],createTween:function(t,n,r){var i=Z.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(i),i},stop:function(t){for(var n=0,r=t?l.tweens.length:0;r>n;n++)l.tweens[n].run(1);return t?a.resolveWith(e,[l,t]):a.rejectWith(e,[l,t]),this}}),u=l.props;for(D(u,l.opts.specialEasing);o>i;i++)if(r=Zt[i].call(l,e,u,l.opts))return r;return O(l,u),Z.isFunction(l.opts.start)&&l.opts.start.call(e,l),Z.fx.timer(Z.extend(s,{anim:l,queue:l.opts.queue,elem:e})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function D(e,t){var n,r,i,o,a;for(n in e)if(r=Z.camelCase(n),i=t[r],o=e[n],Z.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=Z.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function H(e,t,n){var r,i,o,a,s,l,u,c,p,h=this,f=e.style,d={},g=[],m=e.nodeType&&y(e);n.queue||(c=Z._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,p=c.empty.fire,c.empty.fire=function(){c.unqueued||p()}),c.unqueued++,h.always(function(){h.always(function(){c.unqueued--,Z.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===Z.css(e,"display")&&"none"===Z.css(e,"float")&&(Z.support.inlineBlockNeedsLayout&&"inline"!==k(e.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",Z.support.shrinkWrapBlocks||h.done(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],Kt.exec(o)){if(delete t[r],l=l||"toggle"===o,o===(m?"hide":"show"))continue;g.push(r)}if(a=g.length){s=Z._data(e,"fxshow")||Z._data(e,"fxshow",{}),"hidden"in s&&(m=s.hidden),l&&(s.hidden=!m),m?Z(e).show():h.done(function(){Z(e).hide()}),h.done(function(){var t;Z.removeData(e,"fxshow",!0);for(t in d)Z.style(e,t,d[t])});for(r=0;a>r;r++)i=g[r],u=h.createTween(i,m?s[i]:0),d[i]=s[i]||Z.style(e,i),i in s||(s[i]=u.start,m&&(u.end=u.start,u.start="width"===i||"height"===i?1:0))}}function I(e,t,n,r,i){return new I.prototype.init(e,t,n,r,i)}function R(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=vt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function B(e){return Z.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var $,F,q=e.document,W=e.location,U=e.navigator,z=e.jQuery,V=e.$,G=Array.prototype.push,X=Array.prototype.slice,J=Array.prototype.indexOf,K=Object.prototype.toString,Y=Object.prototype.hasOwnProperty,Q=String.prototype.trim,Z=function(e,t){return new Z.fn.init(e,t,$)},ee=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,te=/\S/,ne=/\s+/,re=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ie=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,oe=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ae=/^[\],:{}\s]*$/,se=/(?:^|:|,)(?:\s*\[)+/g,le=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ue=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ce=/^-ms-/,pe=/-([\da-z])/gi,he=function(e,t){return(t+"").toUpperCase()},fe=function(){q.addEventListener?(q.removeEventListener("DOMContentLoaded",fe,!1),Z.ready()):"complete"===q.readyState&&(q.detachEvent("onreadystatechange",fe),Z.ready())},de={};Z.fn=Z.prototype={constructor:Z,init:function(e,n,r){var i,o,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ie.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1])return n=n instanceof Z?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:q,e=Z.parseHTML(i[1],a,!0),oe.test(i[1])&&Z.isPlainObject(n)&&this.attr.call(e,n,!0),Z.merge(this,e);if(o=q.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=q,this.selector=e,this}return Z.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),Z.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return X.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=Z.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,"find"===t?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return Z.each(this,e,t)},ready:function(e){return Z.ready.promise().done(e),this},eq:function(e){return e=+e,-1===e?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(X.apply(this,arguments),"slice",X.call(arguments).join(","))},map:function(e){return this.pushStack(Z.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:G,sort:[].sort,splice:[].splice},Z.fn.init.prototype=Z.fn,Z.extend=Z.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||Z.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(e=arguments[l]))for(n in e)r=s[n],i=e[n],s!==i&&(c&&i&&(Z.isPlainObject(i)||(o=Z.isArray(i)))?(o?(o=!1,a=r&&Z.isArray(r)?r:[]):a=r&&Z.isPlainObject(r)?r:{},s[n]=Z.extend(c,a,i)):i!==t&&(s[n]=i));return s},Z.extend({noConflict:function(t){return e.$===Z&&(e.$=V),t&&e.jQuery===Z&&(e.jQuery=z),Z},isReady:!1,readyWait:1,holdReady:function(e){e?Z.readyWait++:Z.ready(!0)},ready:function(e){if(e===!0?!--Z.readyWait:!Z.isReady){if(!q.body)return setTimeout(Z.ready,1);Z.isReady=!0,e!==!0&&--Z.readyWait>0||(F.resolveWith(q,[Z]),Z.fn.trigger&&Z(q).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===Z.type(e)},isArray:Array.isArray||function(e){return"array"===Z.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):de[K.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==Z.type(e)||e.nodeType||Z.isWindow(e))return!1;try{if(e.constructor&&!Y.call(e,"constructor")&&!Y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||Y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return e&&"string"==typeof e?("boolean"==typeof t&&(n=t,t=0),t=t||q,(r=oe.exec(e))?[t.createElement(r[1])]:(r=Z.buildFragment([e],t,n?null:[]),Z.merge([],(r.cacheable?Z.clone(r.fragment):r.fragment).childNodes))):null},parseJSON:function(t){return t&&"string"==typeof t?(t=Z.trim(t),e.JSON&&e.JSON.parse?e.JSON.parse(t):ae.test(t.replace(le,"@").replace(ue,"]").replace(se,""))?new Function("return "+t)():void Z.error("Invalid JSON: "+t)):null},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||Z.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&te.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(ce,"ms-").replace(pe,he)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,o=0,a=e.length,s=a===t||Z.isFunction(e);if(r)if(s){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;a>o&&n.apply(e[o++],r)!==!1;);else if(s){for(i in e)if(n.call(e[i],i,e[i])===!1)break}else for(;a>o&&n.call(e[o],o,e[o++])!==!1;);return e},trim:Q&&!Q.call("\ufeff ")?function(e){return null==e?"":Q.call(e)}:function(e){return null==e?"":(e+"").replace(re,"")},makeArray:function(e,t){var n,r=t||[];return null!=e&&(n=Z.type(e),null==e.length||"string"===n||"function"===n||"regexp"===n||Z.isWindow(e)?G.call(r,e):Z.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(J)return J.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else for(;n[o]!==t;)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,n,r){var i,o,a=[],s=0,l=e.length,u=e instanceof Z||l!==t&&"number"==typeof l&&(l>0&&e[0]&&e[l-1]||0===l||Z.isArray(e));if(u)for(;l>s;s++)i=n(e[s],s,r),null!=i&&(a[a.length]=i);else for(o in e)i=n(e[o],o,r),null!=i&&(a[a.length]=i);return a.concat.apply([],a)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(r=e[n],n=e,e=r),Z.isFunction(e)?(i=X.call(arguments,2),o=function(){return e.apply(n,i.concat(X.call(arguments)))},o.guid=e.guid=e.guid||Z.guid++,o):t},access:function(e,n,r,i,o,a,s){var l,u=null==r,c=0,p=e.length;if(r&&"object"==typeof r){for(c in r)Z.access(e,n,c,r[c],1,a,i);o=1}else if(i!==t){if(l=s===t&&Z.isFunction(i),u&&(l?(l=n,n=function(e,t,n){return l.call(Z(e),n)}):(n.call(e,i),n=null)),n)for(;p>c;c++)n(e[c],r,l?i.call(e[c],c,n(e[c],r)):i,s);o=1}return o?e:u?n.call(e):p?n(e[0],r):a},now:function(){return(new Date).getTime()}}),Z.ready.promise=function(t){if(!F)if(F=Z.Deferred(),"complete"===q.readyState)setTimeout(Z.ready,1);else if(q.addEventListener)q.addEventListener("DOMContentLoaded",fe,!1),e.addEventListener("load",Z.ready,!1);else{q.attachEvent("onreadystatechange",fe),e.attachEvent("onload",Z.ready);var n=!1;try{n=null==e.frameElement&&q.documentElement}catch(r){}n&&n.doScroll&&!function i(){if(!Z.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}Z.ready()}}()}return F.promise(t)},Z.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){de["[object "+t+"]"]=t.toLowerCase()}),$=Z(q);var ge={};Z.Callbacks=function(e){e="string"==typeof e?ge[e]||r(e):Z.extend({},e);var n,i,o,a,s,l,u=[],c=!e.once&&[],p=function(t){for(n=e.memory&&t,i=!0,l=a||0,a=0,s=u.length,o=!0;u&&s>l;l++)if(u[l].apply(t[0],t[1])===!1&&e.stopOnFalse){n=!1;break}o=!1,u&&(c?c.length&&p(c.shift()):n?u=[]:h.disable())},h={add:function(){if(u){var t=u.length;!function r(t){Z.each(t,function(t,n){var i=Z.type(n);"function"===i?e.unique&&h.has(n)||u.push(n):n&&n.length&&"string"!==i&&r(n)})}(arguments),o?s=u.length:n&&(a=t,p(n))}return this},remove:function(){return u&&Z.each(arguments,function(e,t){for(var n;(n=Z.inArray(t,u,n))>-1;)u.splice(n,1),o&&(s>=n&&s--,l>=n&&l--)}),this},has:function(e){return Z.inArray(e,u)>-1},empty:function(){return u=[],this},disable:function(){return u=c=n=t,this},disabled:function(){return!u},lock:function(){return c=t,n||h.disable(),this},locked:function(){return!c},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!u||i&&!c||(o?c.push(t):p(t)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!i}};return h},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")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return Z.Deferred(function(n){Z.each(t,function(t,r){var o=r[0],a=e[t];i[r[1]](Z.isFunction(a)?function(){var e=a.apply(this,arguments);e&&Z.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===i?n:this,[e])}:n[o])}),e=null}).promise()},promise:function(e){return null!=e?Z.extend(e,r):r}},i={};return r.pipe=r.then,Z.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=a.fire,i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=X.call(arguments),a=o.length,s=1!==a||e&&Z.isFunction(e.promise)?a:0,l=1===s?e:Z.Deferred(),u=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?X.call(arguments):i,r===t?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&Z.isFunction(o[i].promise)?o[i].promise().done(u(i,r,o)).fail(l.reject).progress(u(i,n,t)):--s;return s||l.resolveWith(r,o),l.promise()}}),Z.support=function(){var t,n,r,i,o,a,s,l,u,c,p,h=q.createElement("div");if(h.setAttribute("className","t"),h.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=h.getElementsByTagName("*"),r=h.getElementsByTagName("a")[0],!n||!r||!n.length)return{};i=q.createElement("select"),o=i.appendChild(q.createElement("option")),a=h.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:3===h.firstChild.nodeType,tbody:!h.getElementsByTagName("tbody").length,htmlSerialize:!!h.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:"on"===a.value,optSelected:o.selected,getSetAttribute:"t"!==h.className,enctype:!!q.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==q.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===q.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,i.disabled=!0,t.optDisabled=!o.disabled;try{delete h.test}catch(f){t.deleteExpando=!1}if(!h.addEventListener&&h.attachEvent&&h.fireEvent&&(h.attachEvent("onclick",p=function(){t.noCloneEvent=!1}),h.cloneNode(!0).fireEvent("onclick"),h.detachEvent("onclick",p)),a=q.createElement("input"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","checked"),a.setAttribute("name","t"),h.appendChild(a),s=q.createDocumentFragment(),s.appendChild(h.lastChild),t.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=a.checked,s.removeChild(a),s.appendChild(h),h.attachEvent)for(u in{submit:!0,change:!0,focusin:!0})l="on"+u,c=l in h,c||(h.setAttribute(l,"return;"),c="function"==typeof h[l]),t[u+"Bubbles"]=c;return Z(function(){var n,r,i,o,a="padding:0;margin:0;border:0;display:block;overflow:hidden;",s=q.getElementsByTagName("body")[0];s&&(n=q.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",s.insertBefore(n,s.firstChild),r=q.createElement("div"),n.appendChild(r),r.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=r.getElementsByTagName("td"),i[0].style.cssText="padding:0;margin:0;border:0;display:none",c=0===i[0].offsetHeight,i[0].style.display="",i[1].style.display="none",t.reliableHiddenOffsets=c&&0===i[0].offsetHeight,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===r.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==s.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(r,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(r,null)||{width:"4px"}).width,o=q.createElement("div"),o.style.cssText=r.style.cssText=a,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),"undefined"!=typeof r.style.zoom&&(r.innerHTML="",r.style.cssText=a+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===r.offsetWidth,r.style.display="block",r.style.overflow="visible",r.innerHTML="<div></div>",r.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==r.offsetWidth,n.style.zoom=1),s.removeChild(n),n=r=i=o=null)}),s.removeChild(h),n=r=i=o=a=s=h=null,t}();var me=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,ve=/([A-Z])/g;Z.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(Z.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?Z.cache[e[Z.expando]]:e[Z.expando],!!e&&!o(e)},data:function(e,n,r,i){if(Z.acceptData(e)){var o,a,s=Z.expando,l="string"==typeof n,u=e.nodeType,c=u?Z.cache:e,p=u?e[s]:e[s]&&s;if(p&&c[p]&&(i||c[p].data)||!l||r!==t)return p||(u?e[s]=p=Z.deletedIds.pop()||Z.guid++:p=s),c[p]||(c[p]={},u||(c[p].toJSON=Z.noop)),("object"==typeof n||"function"==typeof n)&&(i?c[p]=Z.extend(c[p],n):c[p].data=Z.extend(c[p].data,n)),o=c[p],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[Z.camelCase(n)]=r),l?(a=o[n],null==a&&(a=o[Z.camelCase(n)])):a=o,a}},removeData:function(e,t,n){if(Z.acceptData(e)){var r,i,a,s=e.nodeType,l=s?Z.cache:e,u=s?e[Z.expando]:Z.expando;if(l[u]){if(t&&(r=n?l[u]:l[u].data)){Z.isArray(t)||(t in r?t=[t]:(t=Z.camelCase(t),t=t in r?[t]:t.split(" ")));for(i=0,a=t.length;a>i;i++)delete r[t[i]];if(!(n?o:Z.isEmptyObject)(r))return}(n||(delete l[u].data,o(l[u])))&&(s?Z.cleanData([e],!0):Z.support.deleteExpando||l!=l.window?delete l[u]:l[u]=null)}}},_data:function(e,t,n){return Z.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&Z.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),Z.fn.extend({data:function(e,n){var r,o,a,s,l,u=this[0],c=0,p=null;if(e===t){if(this.length&&(p=Z.data(u),1===u.nodeType&&!Z._data(u,"parsedAttrs"))){for(a=u.attributes,l=a.length;l>c;c++)s=a[c].name,s.indexOf("data-")||(s=Z.camelCase(s.substring(5)),i(u,s,p[s]));Z._data(u,"parsedAttrs",!0)}return p}return"object"==typeof e?this.each(function(){Z.data(this,e)}):(r=e.split(".",2),r[1]=r[1]?"."+r[1]:"",o=r[1]+"!",Z.access(this,function(n){return n===t?(p=this.triggerHandler("getData"+o,[r[0]]),p===t&&u&&(p=Z.data(u,e),p=i(u,e,p)),p===t&&r[1]?this.data(r[0]):p):(r[1]=n,void this.each(function(){var t=Z(this);t.triggerHandler("setData"+o,r),Z.data(this,e,n),t.triggerHandler("changeData"+o,r); +}))},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){Z.removeData(this,e)})}}),Z.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=Z._data(e,t),n&&(!r||Z.isArray(n)?r=Z._data(e,t,Z.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=Z.queue(e,t),r=n.length,i=n.shift(),o=Z._queueHooks(e,t),a=function(){Z.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z._data(e,n)||Z._data(e,n,{empty:Z.Callbacks("once memory").add(function(){Z.removeData(e,t+"queue",!0),Z.removeData(e,n,!0)})})}}),Z.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),arguments.length<r?Z.queue(this[0],e):n===t?this:this.each(function(){var t=Z.queue(this,e,n);Z._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&Z.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Z.dequeue(this,e)})},delay:function(e,t){return e=Z.fx?Z.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=Z.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";s--;)r=Z._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var ye,be,xe,we=/[\t\r\n]/g,Se=/\r/g,ke=/^(?:button|input)$/i,Ce=/^(?:button|input|object|select|textarea)$/i,_e=/^a(?:rea|)$/i,Ee=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Ae=Z.support.getSetAttribute;Z.fn.extend({attr:function(e,t){return Z.access(this,Z.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Z.removeAttr(this,e)})},prop:function(e,t){return Z.access(this,Z.prop,e,t,arguments.length>1)},removeProp:function(e){return e=Z.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a,s;if(Z.isFunction(e))return this.each(function(t){Z(this).addClass(e.call(this,t,this.className))});if(e&&"string"==typeof e)for(t=e.split(ne),n=0,r=this.length;r>n;n++)if(i=this[n],1===i.nodeType)if(i.className||1!==t.length){for(o=" "+i.className+" ",a=0,s=t.length;s>a;a++)o.indexOf(" "+t[a]+" ")<0&&(o+=t[a]+" ");i.className=Z.trim(o)}else i.className=e;return this},removeClass:function(e){var n,r,i,o,a,s,l;if(Z.isFunction(e))return this.each(function(t){Z(this).removeClass(e.call(this,t,this.className))});if(e&&"string"==typeof e||e===t)for(n=(e||"").split(ne),s=0,l=this.length;l>s;s++)if(i=this[s],1===i.nodeType&&i.className){for(r=(" "+i.className+" ").replace(we," "),o=0,a=n.length;a>o;o++)for(;r.indexOf(" "+n[o]+" ")>=0;)r=r.replace(" "+n[o]+" "," ");i.className=e?Z.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return Z.isFunction(e)?this.each(function(n){Z(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var i,o=0,a=Z(this),s=t,l=e.split(ne);i=l[o++];)s=r?s:!a.hasClass(i),a[s?"addClass":"removeClass"](i);else("undefined"===n||"boolean"===n)&&(this.className&&Z._data(this,"__className__",this.className),this.className=this.className||e===!1?"":Z._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(we," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=Z.isFunction(e),this.each(function(r){var o,a=Z(this);1===this.nodeType&&(o=i?e.call(this,r,a.val()):e,null==o?o="":"number"==typeof o?o+="":Z.isArray(o)&&(o=Z.map(o,function(e){return null==e?"":e+""})),n=Z.valHooks[this.type]||Z.valHooks[this.nodeName.toLowerCase()],n&&"set"in n&&n.set(this,o,"value")!==t||(this.value=o))});if(o)return n=Z.valHooks[o.type]||Z.valHooks[o.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(o,"value"))!==t?r:(r=o.value,"string"==typeof r?r.replace(Se,""):null==r?"":r)}}}),Z.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;s>l;l++)if(n=r[l],(n.selected||l===i)&&(Z.support.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!Z.nodeName(n.parentNode,"optgroup"))){if(t=Z(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=Z.makeArray(t);return Z(e).find("option").each(function(){this.selected=Z.inArray(Z(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var o,a,s,l=e.nodeType;if(e&&3!==l&&8!==l&&2!==l)return i&&Z.isFunction(Z.fn[n])?Z(e)[n](r):"undefined"==typeof e.getAttribute?Z.prop(e,n,r):(s=1!==l||!Z.isXMLDoc(e),s&&(n=n.toLowerCase(),a=Z.attrHooks[n]||(Ee.test(n)?be:ye)),r!==t?null===r?void Z.removeAttr(e,n):a&&"set"in a&&s&&(o=a.set(e,r,n))!==t?o:(e.setAttribute(n,r+""),r):a&&"get"in a&&s&&null!==(o=a.get(e,n))?o:(o=e.getAttribute(n),null===o?t:o))},removeAttr:function(e,t){var n,r,i,o,a=0;if(t&&1===e.nodeType)for(r=t.split(ne);a<r.length;a++)i=r[a],i&&(n=Z.propFix[i]||i,o=Ee.test(i),o||Z.attr(e,i,""),e.removeAttribute(Ae?i:n),o&&n in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(ke.test(e.nodeName)&&e.parentNode)Z.error("type property can't be changed");else if(!Z.support.radioValue&&"radio"===t&&Z.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return ye&&Z.nodeName(e,"button")?ye.get(e,t):t in e?e.value:null},set:function(e,t,n){return ye&&Z.nodeName(e,"button")?ye.set(e,t,n):void(e.value=t)}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!Z.isXMLDoc(e),a&&(n=Z.propFix[n]||n,o=Z.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):Ce.test(e.nodeName)||_e.test(e.nodeName)&&e.href?0:t}}}}),be={get:function(e,n){var r,i=Z.prop(e,n);return i===!0||"boolean"!=typeof i&&(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;return t===!1?Z.removeAttr(e,n):(r=Z.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},Ae||(xe={name:!0,id:!0,coords:!0},ye=Z.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&(xe[n]?""!==r.value:r.specified)?r.value:t},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=q.createAttribute(n),e.setAttributeNode(r)),r.value=t+""}},Z.each(["width","height"],function(e,t){Z.attrHooks[t]=Z.extend(Z.attrHooks[t],{set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}})}),Z.attrHooks.contenteditable={get:ye.get,set:function(e,t,n){""===t&&(t="false"),ye.set(e,t,n)}}),Z.support.hrefNormalized||Z.each(["href","src","width","height"],function(e,n){Z.attrHooks[n]=Z.extend(Z.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null===r?t:r}})}),Z.support.style||(Z.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=t+""}}),Z.support.optSelected||(Z.propHooks.selected=Z.extend(Z.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),Z.support.enctype||(Z.propFix.enctype="encoding"),Z.support.checkOn||Z.each(["radio","checkbox"],function(){Z.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),Z.each(["radio","checkbox"],function(){Z.valHooks[this]=Z.extend(Z.valHooks[this],{set:function(e,t){return Z.isArray(t)?e.checked=Z.inArray(Z(e).val(),t)>=0:void 0}})});var Ne=/^(?:textarea|input|select)$/i,Te=/^([^\.]*|)(?:\.(.+)|)$/,Pe=/(?:^|\s)hover(\.\S+|)\b/,Le=/^key/,je=/^(?:mouse|contextmenu)|click/,Oe=/^(?:focusinfocus|focusoutblur)$/,Me=function(e){return Z.event.special.hover?e:e.replace(Pe,"mouseenter$1 mouseleave$1")};Z.event={add:function(e,n,r,i,o){var a,s,l,u,c,p,h,f,d,g,m;if(3!==e.nodeType&&8!==e.nodeType&&n&&r&&(a=Z._data(e))){for(r.handler&&(d=r,r=d.handler,o=d.selector),r.guid||(r.guid=Z.guid++),l=a.events,l||(a.events=l={}),s=a.handle,s||(a.handle=s=function(e){return"undefined"==typeof Z||e&&Z.event.triggered===e.type?t:Z.event.dispatch.apply(s.elem,arguments)},s.elem=e),n=Z.trim(Me(n)).split(" "),u=0;u<n.length;u++)c=Te.exec(n[u])||[],p=c[1],h=(c[2]||"").split(".").sort(),m=Z.event.special[p]||{},p=(o?m.delegateType:m.bindType)||p,m=Z.event.special[p]||{},f=Z.extend({type:p,origType:c[1],data:i,handler:r,guid:r.guid,selector:o,needsContext:o&&Z.expr.match.needsContext.test(o),namespace:h.join(".")},d),g=l[p],g||(g=l[p]=[],g.delegateCount=0,m.setup&&m.setup.call(e,i,h,s)!==!1||(e.addEventListener?e.addEventListener(p,s,!1):e.attachEvent&&e.attachEvent("on"+p,s))),m.add&&(m.add.call(e,f),f.handler.guid||(f.handler.guid=r.guid)),o?g.splice(g.delegateCount++,0,f):g.push(f),Z.event.global[p]=!0;e=null}},global:{},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,h,f,d,g,m=Z.hasData(e)&&Z._data(e);if(m&&(h=m.events)){for(t=Z.trim(Me(t||"")).split(" "),o=0;o<t.length;o++)if(a=Te.exec(t[o])||[],s=l=a[1],u=a[2],s){for(f=Z.event.special[s]||{},s=(r?f.delegateType:f.bindType)||s,d=h[s]||[],c=d.length,u=u?new RegExp("(^|\\.)"+u.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,p=0;p<d.length;p++)g=d[p],!i&&l!==g.origType||n&&n.guid!==g.guid||u&&!u.test(g.namespace)||r&&r!==g.selector&&("**"!==r||!g.selector)||(d.splice(p--,1),g.selector&&d.delegateCount--,f.remove&&f.remove.call(e,g));0===d.length&&c!==d.length&&(f.teardown&&f.teardown.call(e,u,m.handle)!==!1||Z.removeEvent(e,s,m.handle),delete h[s])}else for(s in h)Z.event.remove(e,s+t[o],n,r,!0);Z.isEmptyObject(h)&&(delete m.handle,Z.removeData(e,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,i,o){if(!i||3!==i.nodeType&&8!==i.nodeType){var a,s,l,u,c,p,h,f,d,g,m=n.type||n,v=[];if(!Oe.test(m+Z.event.triggered)&&(m.indexOf("!")>=0&&(m=m.slice(0,-1),s=!0),m.indexOf(".")>=0&&(v=m.split("."),m=v.shift(),v.sort()),i&&!Z.event.customEvent[m]||Z.event.global[m]))if(n="object"==typeof n?n[Z.expando]?n:new Z.Event(m,n):new Z.Event(m),n.type=m,n.isTrigger=!0,n.exclusive=s,n.namespace=v.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,p=m.indexOf(":")<0?"on"+m:"",i){if(n.result=t,n.target||(n.target=i),r=null!=r?Z.makeArray(r):[],r.unshift(n),h=Z.event.special[m]||{},!h.trigger||h.trigger.apply(i,r)!==!1){if(d=[[i,h.bindType||m]],!o&&!h.noBubble&&!Z.isWindow(i)){for(g=h.delegateType||m,u=Oe.test(g+m)?i:i.parentNode,c=i;u;u=u.parentNode)d.push([u,g]),c=u;c===(i.ownerDocument||q)&&d.push([c.defaultView||c.parentWindow||e,g])}for(l=0;l<d.length&&!n.isPropagationStopped();l++)u=d[l][0],n.type=d[l][1],f=(Z._data(u,"events")||{})[n.type]&&Z._data(u,"handle"),f&&f.apply(u,r),f=p&&u[p],f&&Z.acceptData(u)&&f.apply&&f.apply(u,r)===!1&&n.preventDefault();return n.type=m,o||n.isDefaultPrevented()||h._default&&h._default.apply(i.ownerDocument,r)!==!1||"click"===m&&Z.nodeName(i,"a")||!Z.acceptData(i)||p&&i[m]&&("focus"!==m&&"blur"!==m||0!==n.target.offsetWidth)&&!Z.isWindow(i)&&(c=i[p],c&&(i[p]=null),Z.event.triggered=m,i[m](),Z.event.triggered=t,c&&(i[p]=c)),n.result}}else{a=Z.cache;for(l in a)a[l].events&&a[l].events[m]&&Z.event.trigger(n,r,a[l].handle.elem,!0)}}},dispatch:function(n){n=Z.event.fix(n||e.event);var r,i,o,a,s,l,u,c,p,h=(Z._data(this,"events")||{})[n.type]||[],f=h.delegateCount,d=X.call(arguments),g=!n.exclusive&&!n.namespace,m=Z.event.special[n.type]||{},v=[];if(d[0]=n,n.delegateTarget=this,!m.preDispatch||m.preDispatch.call(this,n)!==!1){if(f&&(!n.button||"click"!==n.type))for(o=n.target;o!=this;o=o.parentNode||this)if(o.disabled!==!0||"click"!==n.type){for(s={},u=[],r=0;f>r;r++)c=h[r],p=c.selector,s[p]===t&&(s[p]=c.needsContext?Z(p,this).index(o)>=0:Z.find(p,this,null,[o]).length),s[p]&&u.push(c);u.length&&v.push({elem:o,matches:u})}for(h.length>f&&v.push({elem:this,matches:h.slice(f)}),r=0;r<v.length&&!n.isPropagationStopped();r++)for(l=v[r],n.currentTarget=l.elem,i=0;i<l.matches.length&&!n.isImmediatePropagationStopped();i++)c=l.matches[i],(g||!n.namespace&&!c.namespace||n.namespace_re&&n.namespace_re.test(c.namespace))&&(n.data=c.data,n.handleObj=c,a=((Z.event.special[c.origType]||{}).handle||c.handler).apply(l.elem,d),a!==t&&(n.result=a,a===!1&&(n.preventDefault(),n.stopPropagation())));return m.postDispatch&&m.postDispatch.call(this,n),n.result}},props:"attrChange attrName relatedNode srcElement 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 fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,a=n.button,s=n.fromElement;return null==e.pageX&&null!=n.clientX&&(r=e.target.ownerDocument||q,i=r.documentElement,o=r.body,e.pageX=n.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),e.pageY=n.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),e.which||a===t||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[Z.expando])return e;var t,n,r=e,i=Z.event.fixHooks[e.type]||{},o=i.props?this.props.concat(i.props):this.props;for(e=Z.Event(r),t=o.length;t;)n=o[--t],e[n]=r[n];return e.target||(e.target=r.srcElement||q),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,i.filter?i.filter(e,r):e},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){Z.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,r){var i=Z.extend(new Z.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?Z.event.trigger(i,null,t):Z.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},Z.event.handle=Z.event.dispatch,Z.removeEvent=q.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&("undefined"==typeof e[r]&&(e[r]=null),e.detachEvent(r,n))},Z.Event=function(e,t){return this instanceof Z.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?s:a):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={preventDefault:function(){this.isDefaultPrevented=s;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=s;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=s,this.stopPropagation()},isDefaultPrevented:a,isPropagationStopped:a,isImmediatePropagationStopped:a},Z.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){Z.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;o.selector;return(!i||i!==r&&!Z.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Z.support.submitBubbles||(Z.event.special.submit={setup:function(){return Z.nodeName(this,"form")?!1:void Z.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=Z.nodeName(n,"input")||Z.nodeName(n,"button")?n.form:t;r&&!Z._data(r,"_submit_attached")&&(Z.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),Z._data(r,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&Z.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return Z.nodeName(this,"form")?!1:void Z.event.remove(this,"._submit")}}),Z.support.changeBubbles||(Z.event.special.change={setup:function(){return Ne.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(Z.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),Z.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),Z.event.simulate("change",this,e,!0)})),!1):void Z.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ne.test(t.nodeName)&&!Z._data(t,"_change_attached")&&(Z.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||Z.event.simulate("change",this.parentNode,e,!0)}),Z._data(t,"_change_attached",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return Z.event.remove(this,"._change"),!Ne.test(this.nodeName)}}),Z.support.focusinBubbles||Z.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){Z.event.simulate(t,e.target,Z.event.fix(e),!0)};Z.event.special[t]={setup:function(){0===n++&&q.addEventListener(e,r,!0)},teardown:function(){0===--n&&q.removeEventListener(e,r,!0)}}}),Z.fn.extend({on:function(e,n,r,i,o){var s,l;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(l in e)this.on(l,n,r,e[l],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=a;else if(!i)return this;return 1===o&&(s=i,i=function(e){return Z().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=Z.guid++)),this.each(function(){Z.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,Z(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=a),this.each(function(){Z.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return Z(this.context).on(e,this.selector,t,n),this},die:function(e,t){return Z(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){Z.event.trigger(e,t,this)})},triggerHandler:function(e,t){return this[0]?Z.event.trigger(e,t,this[0],!0):void 0},toggle:function(e){var t=arguments,n=e.guid||Z.guid++,r=0,i=function(n){var i=(Z._data(this,"lastToggle"+e.guid)||0)%r;return Z._data(this,"lastToggle"+e.guid,i+1),n.preventDefault(),t[i].apply(this,arguments)||!1};for(i.guid=n;r<t.length;)t[r++].guid=n;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),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,n){return null==n&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},Le.test(t)&&(Z.event.fixHooks[t]=Z.event.keyHooks),je.test(t)&&(Z.event.fixHooks[t]=Z.event.mouseHooks)}),function(e,t){function n(e,t,n,r){n=n||[],t=t||L;var i,o,a,s,l=t.nodeType;if(!e||"string"!=typeof e)return n;if(1!==l&&9!==l)return[];if(a=w(t),!a&&!r&&(i=ne.exec(e)))if(s=i[1]){if(9===l){if(o=t.getElementById(s),!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&S(t,o)&&o.id===s)return n.push(o),n}else{if(i[2])return H.apply(n,I.call(t.getElementsByTagName(e),0)),n;if((s=i[3])&&he&&t.getElementsByClassName)return H.apply(n,I.call(t.getElementsByClassName(s),0)),n}return g(e.replace(Y,"$1"),t,n,r,a)}function r(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function i(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function o(e){return B(function(t){return t=+t,B(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function a(e,t,n){if(e===t)return n;for(var r=e.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}function s(e,t){var r,i,o,a,s,l,u,c=q[T][e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=b.preFilter;s;){(!r||(i=Q.exec(s)))&&(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=ee.exec(s))&&(o.push(r=new P(i.shift())),s=s.slice(r.length),r.type=i[0].replace(Y," "));for(a in b.filter)!(i=se[a].exec(s))||u[a]&&!(i=u[a](i))||(o.push(r=new P(i.shift())),s=s.slice(r.length),r.type=a,r.matches=i);if(!r)break}return t?s.length:s?n.error(e):q(e,l).slice(0)}function l(e,t,n){var r=t.dir,i=n&&"parentNode"===t.dir,o=M++;return t.first?function(t,n,o){for(;t=t[r];)if(i||1===t.nodeType)return e(t,n,o)}:function(t,n,a){if(a){for(;t=t[r];)if((i||1===t.nodeType)&&e(t,n,a))return t}else for(var s,l=O+" "+o+" ",u=l+v;t=t[r];)if(i||1===t.nodeType){if((s=t[T])===u)return t.sizset;if("string"==typeof s&&0===s.indexOf(l)){if(t.sizset)return t}else{if(t[T]=u,e(t,n,a))return t.sizset=!0,t;t.sizset=!1}}}}function u(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function c(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function p(e,t,n,r,i,o){return r&&!r[T]&&(r=p(r)),i&&!i[T]&&(i=p(i,o)),B(function(o,a,s,l){var u,p,h,f=[],g=[],m=a.length,v=o||d(t||"*",s.nodeType?[s]:s,[]),y=!e||!o&&t?v:c(v,f,e,s,l),b=n?i||(o?e:m||r)?[]:a:y;if(n&&n(y,b,s,l),r)for(u=c(b,g),r(u,[],s,l),p=u.length;p--;)(h=u[p])&&(b[g[p]]=!(y[g[p]]=h));if(o){if(i||e){if(i){for(u=[],p=b.length;p--;)(h=b[p])&&u.push(y[p]=h);i(null,b=[],u,l)}for(p=b.length;p--;)(h=b[p])&&(u=i?R.call(o,h):f[p])>-1&&(o[u]=!(a[u]=h))}}else b=c(b===a?b.splice(m,b.length):b),i?i(null,a,b,l):H.apply(a,b)})}function h(e){for(var t,n,r,i=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,c=l(function(e){return e===t},a,!0),f=l(function(e){return R.call(t,e)>-1},a,!0),d=[function(e,n,r){return!o&&(r||n!==E)||((t=n).nodeType?c(e,n,r):f(e,n,r))}];i>s;s++)if(n=b.relative[e[s].type])d=[l(u(d),n)];else{if(n=b.filter[e[s].type].apply(null,e[s].matches),n[T]){for(r=++s;i>r&&!b.relative[e[r].type];r++);return p(s>1&&u(d),s>1&&e.slice(0,s-1).join("").replace(Y,"$1"),n,r>s&&h(e.slice(s,r)),i>r&&h(e=e.slice(r)),i>r&&e.join(""))}d.push(n)}return u(d)}function f(e,t){var r=t.length>0,i=e.length>0,o=function(a,s,l,u,p){var h,f,d,g=[],m=0,y="0",x=a&&[],w=null!=p,S=E,k=a||i&&b.find.TAG("*",p&&s.parentNode||s),C=O+=null==S?1:Math.E;for(w&&(E=s!==L&&s,v=o.el);null!=(h=k[y]);y++){if(i&&h){for(f=0;d=e[f];f++)if(d(h,s,l)){u.push(h);break}w&&(O=C,v=++o.el)}r&&((h=!d&&h)&&m--,a&&x.push(h))}if(m+=y,r&&y!==m){for(f=0;d=t[f];f++)d(x,g,s,l);if(a){if(m>0)for(;y--;)x[y]||g[y]||(g[y]=D.call(u));g=c(g)}H.apply(u,g),w&&!a&&g.length>0&&m+t.length>1&&n.uniqueSort(u)}return w&&(O=C,E=S),x};return o.el=0,r?B(o):o}function d(e,t,r){for(var i=0,o=t.length;o>i;i++)n(e,t[i],r);return r}function g(e,t,n,r,i){var o,a,l,u,c,p=s(e);p.length;if(!r&&1===p.length){if(a=p[0]=p[0].slice(0),a.length>2&&"ID"===(l=a[0]).type&&9===t.nodeType&&!i&&b.relative[a[1].type]){if(t=b.find.ID(l.matches[0].replace(ae,""),t,i)[0],!t)return n;e=e.slice(a.shift().length)}for(o=se.POS.test(e)?-1:a.length-1;o>=0&&(l=a[o],!b.relative[u=l.type]);o--)if((c=b.find[u])&&(r=c(l.matches[0].replace(ae,""),re.test(a[0].type)&&t.parentNode||t,i))){if(a.splice(o,1),e=r.length&&a.join(""),!e)return H.apply(n,I.call(r,0)),n;break}}return k(e,p)(r,t,i,n,re.test(e)),n}function m(){}var v,y,b,x,w,S,k,C,_,E,A=!0,N="undefined",T=("sizcache"+Math.random()).replace(".",""),P=String,L=e.document,j=L.documentElement,O=0,M=0,D=[].pop,H=[].push,I=[].slice,R=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},B=function(e,t){return e[T]=null==t||t,e},$=function(){var e={},t=[];return B(function(n,r){return t.push(n)>b.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},F=$(),q=$(),W=$(),U="[\\x20\\t\\r\\n\\f]",z="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",V=z.replace("w","w#"),G="([*^$|!~]?=)",X="\\["+U+"*("+z+")"+U+"*(?:"+G+U+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+V+")|)|)"+U+"*\\]",J=":("+z+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+X+")|[^:]|\\\\.)*|.*))\\)|)",K=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+U+"*((?:-\\d)?\\d*)"+U+"*\\)|)(?=[^-]|$)",Y=new RegExp("^"+U+"+|((?:^|[^\\\\])(?:\\\\.)*)"+U+"+$","g"),Q=new RegExp("^"+U+"*,"+U+"*"),ee=new RegExp("^"+U+"*([\\x20\\t\\r\\n\\f>+~])"+U+"*"),te=new RegExp(J),ne=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,re=/[\x20\t\r\n\f]*[+~]/,ie=/h\d/i,oe=/input|select|textarea|button/i,ae=/\\(?!\\)/g,se={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),NAME:new RegExp("^\\[name=['\"]?("+z+")['\"]?\\]"),TAG:new RegExp("^("+z.replace("w","w*")+")"),ATTR:new RegExp("^"+X),PSEUDO:new RegExp("^"+J),POS:new RegExp(K,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+U+"*(even|odd|(([+-]|)(\\d*)n|)"+U+"*(?:([+-]|)"+U+"*(\\d+)|))"+U+"*\\)|)","i"),needsContext:new RegExp("^"+U+"*[>+~]|"+K,"i")},le=function(e){var t=L.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},ue=le(function(e){return e.appendChild(L.createComment("")),!e.getElementsByTagName("*").length}),ce=le(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==N&&"#"===e.firstChild.getAttribute("href")}),pe=le(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),he=le(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&e.getElementsByClassName("e").length?(e.lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),fe=le(function(e){e.id=T+0,e.innerHTML="<a name='"+T+"'></a><div name='"+T+"'></div>",j.insertBefore(e,j.firstChild);var t=L.getElementsByName&&L.getElementsByName(T).length===2+L.getElementsByName(T+0).length;return y=!L.getElementById(T),j.removeChild(e),t});try{I.call(j.childNodes,0)[0].nodeType}catch(de){I=function(e){for(var t,n=[];t=this[e];e++)n.push(t);return n}}n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){return n(t,null,null,[e]).length>0},x=n.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=x(t);return n},w=n.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},S=n.contains=j.contains?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&1===r.nodeType&&n.contains&&n.contains(r))}:j.compareDocumentPosition?function(e,t){return t&&!!(16&e.compareDocumentPosition(t))}:function(e,t){for(;t=t.parentNode;)if(t===e)return!0;return!1},n.attr=function(e,t){var n,r=w(e);return r||(t=t.toLowerCase()),(n=b.attrHandle[t])?n(e):r||pe?e.getAttribute(t):(n=e.getAttributeNode(t),n?"boolean"==typeof e[t]?e[t]?t:null:n.specified?n.value:null:null)},b=n.selectors={cacheLength:50,createPseudo:B,match:se,attrHandle:ce?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:y?function(e,t,n){if(typeof t.getElementById!==N&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==N&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==N&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:ue?function(e,t){return typeof t.getElementsByTagName!==N?t.getElementsByTagName(e):void 0}:function(e,t){var n=t.getElementsByTagName(e);if("*"===e){for(var r,i=[],o=0;r=n[o];o++)1===r.nodeType&&i.push(r);return i}return n},NAME:fe&&function(e,t){return typeof t.getElementsByName!==N?t.getElementsByName(name):void 0},CLASS:he&&function(e,t,n){return typeof t.getElementsByClassName===N||n?void 0:t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ae,""),e[3]=(e[4]||e[5]||"").replace(ae,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||n.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&n.error(e[0]),e},PSEUDO:function(e){var t,n;return se.CHILD.test(e[0])?null:(e[3]?e[2]=e[3]:(t=e[4])&&(te.test(t)&&(n=s(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t),e.slice(0,3))}},filter:{ID:y?function(e){return e=e.replace(ae,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace(ae,""),function(t){var n=typeof t.getAttributeNode!==N&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(ae,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=F[T][e+" "];return t||(t=new RegExp("(^|"+U+")"+e+"("+U+"|$)"))&&F(e,function(e){return t.test(e.className||typeof e.getAttribute!==N&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(i,o){var a=n.attr(i,e);return null==a?"!="===t:t?(a+="","="===t?a===r:"!="===t?a!==r:"^="===t?r&&0===a.indexOf(r):"*="===t?r&&a.indexOf(r)>-1:"$="===t?r&&a.substr(a.length-r.length)===r:"~="===t?(" "+a+" ").indexOf(r)>-1:"|="===t?a===r||a.substr(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r){return"nth"===e?function(e){var t,i,o=e.parentNode;if(1===n&&0===r)return!0;if(o)for(i=0,t=o.firstChild;t&&(1!==t.nodeType||(i++,e!==t));t=t.nextSibling);return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":for(;n=n.previousSibling;)if(1===n.nodeType)return!1;if("first"===e)return!0;n=t;case"last":for(;n=n.nextSibling;)if(1===n.nodeType)return!1;return!0}}},PSEUDO:function(e,t){var r,i=b.pseudos[e]||b.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return i[T]?i(t):i.length>1?(r=[e,e,"",t],b.setFilters.hasOwnProperty(e.toLowerCase())?B(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)r=R.call(e,o[a]),e[r]=!(n[r]=o[a])}):function(e){return i(e,0,r)}):i}},pseudos:{not:B(function(e){var t=[],n=[],r=k(e.replace(Y,"$1"));return r[T]?B(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:B(function(e){return function(t){return n(e,t).length>0}}),contains:B(function(e){return function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),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},parent:function(e){return!b.pseudos.empty(e)},empty:function(e){var t;for(e=e.firstChild;e;){if(e.nodeName>"@"||3===(t=e.nodeType)||4===t)return!1;e=e.nextSibling}return!0},header:function(e){return ie.test(e.nodeName)},text:function(e){var t,n;return"input"===e.nodeName.toLowerCase()&&"text"===(t=e.type)&&(null==(n=e.getAttribute("type"))||n.toLowerCase()===t)},radio:r("radio"),checkbox:r("checkbox"),file:r("file"),password:r("password"),image:r("image"),submit:i("submit"),reset:i("reset"),button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return oe.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:o(function(){return[0]}),last:o(function(e,t){return[t-1]}),eq:o(function(e,t,n){return[0>n?n+t:n]}),even:o(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:o(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:o(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:o(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},C=j.compareDocumentPosition?function(e,t){return e===t?(_=!0,0):(e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t):e.compareDocumentPosition)?-1:1}:function(e,t){if(e===t)return _=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],o=[],s=e.parentNode,l=t.parentNode,u=s;if(s===l)return a(e,t);if(!s)return-1;if(!l)return 1;for(;u;)i.unshift(u),u=u.parentNode;for(u=l;u;)o.unshift(u),u=u.parentNode;n=i.length,r=o.length;for(var c=0;n>c&&r>c;c++)if(i[c]!==o[c])return a(i[c],o[c]);return c===n?a(e,o[c],-1):a(i[c],t,1)},[0,0].sort(C),A=!_,n.uniqueSort=function(e){var t,n=[],r=1,i=0;if(_=A,e.sort(C),_){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return e},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},k=n.compile=function(e,t){var n,r=[],i=[],o=W[T][e+" "];if(!o){for(t||(t=s(e)),n=t.length;n--;)o=h(t[n]),o[T]?r.push(o):i.push(o);o=W(e,f(i,r))}return o},L.querySelectorAll&&!function(){var e,t=g,r=/'|\\/g,i=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,o=[":focus"],a=[":active"],l=j.matchesSelector||j.mozMatchesSelector||j.webkitMatchesSelector||j.oMatchesSelector||j.msMatchesSelector;le(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||o.push("\\["+U+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||o.push(":checked")}),le(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&o.push("[*^$]="+U+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'/>",e.querySelectorAll(":enabled").length||o.push(":enabled",":disabled")}),o=new RegExp(o.join("|")),g=function(e,n,i,a,l){if(!a&&!l&&!o.test(e)){var u,c,p=!0,h=T,f=n,d=9===n.nodeType&&e;if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){for(u=s(e),(p=n.getAttribute("id"))?h=p.replace(r,"\\$&"):n.setAttribute("id",h),h="[id='"+h+"'] ",c=u.length;c--;)u[c]=h+u[c].join("");f=re.test(e)&&n.parentNode||n,d=u.join(",")}if(d)try{return H.apply(i,I.call(f.querySelectorAll(d),0)),i}catch(g){}finally{p||n.removeAttribute("id")}}return t(e,n,i,a,l)},l&&(le(function(t){e=l.call(t,"div");try{l.call(t,"[test!='']:sizzle"),a.push("!=",J)}catch(n){}}),a=new RegExp(a.join("|")),n.matchesSelector=function(t,r){if(r=r.replace(i,"='$1']"),!w(t)&&!a.test(r)&&!o.test(r))try{var s=l.call(t,r);if(s||e||t.document&&11!==t.document.nodeType)return s}catch(u){}return n(r,null,null,[t]).length>0})}(),b.pseudos.nth=b.pseudos.eq,b.filters=m.prototype=b.pseudos,b.setFilters=new m,n.attr=Z.attr,Z.find=n,Z.expr=n.selectors,Z.expr[":"]=Z.expr.pseudos,Z.unique=n.uniqueSort,Z.text=n.getText,Z.isXMLDoc=n.isXML,Z.contains=n.contains}(e);var De=/Until$/,He=/^(?:parents|prev(?:Until|All))/,Ie=/^.[^:#\[\.,]*$/,Re=Z.expr.match.needsContext,Be={children:!0,contents:!0,next:!0,prev:!0};Z.fn.extend({find:function(e){var t,n,r,i,o,a,s=this;if("string"!=typeof e)return Z(e).filter(function(){for(t=0,n=s.length;n>t;t++)if(Z.contains(s[t],this))return!0});for(a=this.pushStack("","find",e),t=0,n=this.length;n>t;t++)if(r=a.length,Z.find(e,this[t],a),t>0)for(i=r;i<a.length;i++)for(o=0;r>o;o++)if(a[o]===a[i]){a.splice(i--,1);break}return a},has:function(e){var t,n=Z(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(Z.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(c(this,e,!1),"not",e)},filter:function(e){return this.pushStack(c(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?Re.test(e)?Z(e,this.context).index(this[0])>=0:Z.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=Re.test(e)||"string"!=typeof e?Z(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n.ownerDocument&&n!==t&&11!==n.nodeType;){if(a?a.index(n)>-1:Z.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}return o=o.length>1?Z.unique(o):o,this.pushStack(o,"closest",e)},index:function(e){return e?"string"==typeof e?Z.inArray(this[0],Z(e)):Z.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n="string"==typeof e?Z(e,t):Z.makeArray(e&&e.nodeType?[e]:e),r=Z.merge(this.get(),n);return this.pushStack(l(n[0])||l(r[0])?r:Z.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Z.fn.andSelf=Z.fn.addBack,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,n){return Z.dir(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return Z.dir(e,"nextSibling")},prevAll:function(e){return Z.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Z.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Z.dir(e,"previousSibling",n)},siblings:function(e){return Z.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Z.sibling(e.firstChild)},contents:function(e){return Z.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:Z.merge([],e.childNodes)}},function(e,t){Z.fn[e]=function(n,r){var i=Z.map(this,t,n);return De.test(e)||(r=n),r&&"string"==typeof r&&(i=Z.filter(r,i)),i=this.length>1&&!Be[e]?Z.unique(i):i,this.length>1&&He.test(e)&&(i=i.reverse()),this.pushStack(i,e,X.call(arguments).join(","))}}),Z.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?Z.find.matchesSelector(t[0],e)?[t[0]]:[]:Z.find.matches(e,t)},dir:function(e,n,r){for(var i=[],o=e[n];o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!Z(o).is(r));)1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var $e="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Fe=/ jQuery\d+="(?:null|\d+)"/g,qe=/^\s+/,We=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ue=/<([\w:]+)/,ze=/<tbody/i,Ve=/<|&#?\w+;/,Ge=/<(?:script|style|link)/i,Xe=/<(?:script|object|embed|option|style)/i,Je=new RegExp("<(?:"+$e+")[\\s/>]","i"),Ke=/^(?:checkbox|radio)$/,Ye=/checked\s*(?:[^=]|=\s*.checked.)/i,Qe=/\/(java|ecma)script/i,Ze=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,et={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},tt=p(q),nt=tt.appendChild(q.createElement("div"));et.optgroup=et.option,et.tbody=et.tfoot=et.colgroup=et.caption=et.thead,et.th=et.td,Z.support.htmlSerialize||(et._default=[1,"X<div>","</div>"]),Z.fn.extend({text:function(e){return Z.access(this,function(e){return e===t?Z.text(this):this.empty().append((this[0]&&this[0].ownerDocument||q).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(Z.isFunction(e))return this.each(function(t){Z(this).wrapAll(e.call(this,t))});if(this[0]){var 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.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return 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),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=Z.isFunction(e);return this.each(function(n){Z(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){Z.nodeName(this,"body")||Z(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!l(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=Z.clean(arguments);return this.pushStack(Z.merge(e,this),"before",this.selector)}},after:function(){if(!l(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=Z.clean(arguments);return this.pushStack(Z.merge(this,e),"after",this.selector)}},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)(!e||Z.filter(e,[n]).length)&&(t||1!==n.nodeType||(Z.cleanData(n.getElementsByTagName("*")),Z.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&Z.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);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 Z.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(Fe,""):t;if("string"==typeof e&&!Ge.test(e)&&(Z.support.htmlSerialize||!Je.test(e))&&(Z.support.leadingWhitespace||!qe.test(e))&&!et[(Ue.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(We,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(Z.cleanData(n.getElementsByTagName("*")),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return l(this[0])?this.length?this.pushStack(Z(Z.isFunction(e)?e():e),"replaceWith",e):this:Z.isFunction(e)?this.each(function(t){var n=Z(this),r=n.html();n.replaceWith(e.call(this,t,r))}):("string"!=typeof e&&(e=Z(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;Z(this).remove(),t?Z(t).before(e):Z(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=[].concat.apply([],e);var i,o,a,s,l=0,u=e[0],c=[],p=this.length;if(!Z.support.checkClone&&p>1&&"string"==typeof u&&Ye.test(u))return this.each(function(){Z(this).domManip(e,n,r)});if(Z.isFunction(u))return this.each(function(i){var o=Z(this);e[0]=u.call(this,i,n?o.html():t),o.domManip(e,n,r)});if(this[0]){if(i=Z.buildFragment(e,this,c),a=i.fragment,o=a.firstChild,1===a.childNodes.length&&(a=o),o)for(n=n&&Z.nodeName(o,"tr"),s=i.cacheable||p-1;p>l;l++)r.call(n&&Z.nodeName(this[l],"table")?h(this[l],"tbody"):this[l],l===s?a:Z.clone(a,!0,!0));a=o=null,c.length&&Z.each(c,function(e,t){t.src?Z.ajax?Z.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):Z.error("no ajax"):Z.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Ze,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),Z.buildFragment=function(e,n,r){var i,o,a,s=e[0];return n=n||q,n=!n.nodeType&&n[0]||n,n=n.ownerDocument||n,!(1===e.length&&"string"==typeof s&&s.length<512&&n===q&&"<"===s.charAt(0))||Xe.test(s)||!Z.support.checkClone&&Ye.test(s)||!Z.support.html5Clone&&Je.test(s)||(o=!0,i=Z.fragments[s],a=i!==t),i||(i=n.createDocumentFragment(),Z.clean(e,n,i,r),o&&(Z.fragments[s]=a&&i)),{fragment:i,cacheable:o}},Z.fragments={},Z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Z.fn[e]=function(n){var r,i=0,o=[],a=Z(n),s=a.length,l=1===this.length&&this[0].parentNode;if((null==l||l&&11===l.nodeType&&1===l.childNodes.length)&&1===s)return a[t](this[0]),this;for(;s>i;i++)r=(i>0?this.clone(!0):this).get(),Z(a[i])[t](r),o=o.concat(r);return this.pushStack(o,e,a.selector)}}),Z.extend({clone:function(e,t,n){var r,i,o,a;if(Z.support.html5Clone||Z.isXMLDoc(e)||!Je.test("<"+e.nodeName+">")?a=e.cloneNode(!0):(nt.innerHTML=e.outerHTML,nt.removeChild(a=nt.firstChild)),!(Z.support.noCloneEvent&&Z.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Z.isXMLDoc(e)))for(d(e,a),r=g(e),i=g(a),o=0;r[o];++o)i[o]&&d(r[o],i[o]);if(t&&(f(e,a),n))for(r=g(e),i=g(a),o=0;r[o];++o)f(r[o],i[o]);return r=i=null,a},clean:function(e,t,n,r){var i,o,a,s,l,u,c,h,f,d,g,v=t===q&&tt,y=[];for(t&&"undefined"!=typeof t.createDocumentFragment||(t=q),i=0;null!=(a=e[i]);i++)if("number"==typeof a&&(a+=""),a){if("string"==typeof a)if(Ve.test(a)){for(v=v||p(t),c=t.createElement("div"),v.appendChild(c),a=a.replace(We,"<$1></$2>"),s=(Ue.exec(a)||["",""])[1].toLowerCase(),l=et[s]||et._default,u=l[0],c.innerHTML=l[1]+a+l[2];u--;)c=c.lastChild;if(!Z.support.tbody)for(h=ze.test(a),f="table"!==s||h?"<table>"!==l[1]||h?[]:c.childNodes:c.firstChild&&c.firstChild.childNodes,o=f.length-1;o>=0;--o)Z.nodeName(f[o],"tbody")&&!f[o].childNodes.length&&f[o].parentNode.removeChild(f[o]);!Z.support.leadingWhitespace&&qe.test(a)&&c.insertBefore(t.createTextNode(qe.exec(a)[0]),c.firstChild),a=c.childNodes,c.parentNode.removeChild(c)}else a=t.createTextNode(a);a.nodeType?y.push(a):Z.merge(y,a)}if(c&&(a=c=v=null),!Z.support.appendChecked)for(i=0;null!=(a=y[i]);i++)Z.nodeName(a,"input")?m(a):"undefined"!=typeof a.getElementsByTagName&&Z.grep(a.getElementsByTagName("input"),m);if(n)for(d=function(e){return!e.type||Qe.test(e.type)?r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e):void 0},i=0;null!=(a=y[i]);i++)Z.nodeName(a,"script")&&d(a)||(n.appendChild(a),"undefined"!=typeof a.getElementsByTagName&&(g=Z.grep(Z.merge([],a.getElementsByTagName("script")),d),y.splice.apply(y,[i+1,0].concat(g)),i+=g.length));return y},cleanData:function(e,t){for(var n,r,i,o,a=0,s=Z.expando,l=Z.cache,u=Z.support.deleteExpando,c=Z.event.special;null!=(i=e[a]);a++)if((t||Z.acceptData(i))&&(r=i[s],n=r&&l[r])){if(n.events)for(o in n.events)c[o]?Z.event.remove(i,o):Z.removeEvent(i,o,n.handle);l[r]&&(delete l[r],u?delete i[s]:i.removeAttribute?i.removeAttribute(s):i[s]=null,Z.deletedIds.push(r))}}}),function(){var e,t;Z.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=Z.uaMatch(U.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),Z.browser=t,Z.sub=function(){function e(t,n){return new e.fn.init(t,n)}Z.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(n,r){return r&&r instanceof Z&&!(r instanceof e)&&(r=e(r)),Z.fn.init.call(this,n,r,t)},e.fn.init.prototype=e.fn;var t=e(q);return e}}();var rt,it,ot,at=/alpha\([^)]*\)/i,st=/opacity=([^)]*)/,lt=/^(top|right|bottom|left)$/,ut=/^(none|table(?!-c[ea]).+)/,ct=/^margin/,pt=new RegExp("^("+ee+")(.*)$","i"),ht=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),ft=new RegExp("^([-+])=("+ee+")","i"),dt={BODY:"block"},gt={position:"absolute",visibility:"hidden",display:"block"},mt={letterSpacing:0,fontWeight:400},vt=["Top","Right","Bottom","Left"],yt=["Webkit","O","Moz","ms"],bt=Z.fn.toggle;Z.fn.extend({css:function(e,n){return Z.access(this,function(e,n,r){return r!==t?Z.style(e,n,r):Z.css(e,n)},e,n,arguments.length>1)},show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e,t){var n="boolean"==typeof e;return Z.isFunction(e)&&Z.isFunction(t)?bt.apply(this,arguments):this.each(function(){(n?e:y(this))?Z(this).show():Z(this).hide()})}}),Z.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=rt(e,"opacity");return""===n?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":Z.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=Z.camelCase(n),u=e.style;if(n=Z.cssProps[l]||(Z.cssProps[l]=v(u,l)),s=Z.cssHooks[n]||Z.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=ft.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(Z.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||Z.cssNumber[l]||(r+="px"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=Z.camelCase(n);return n=Z.cssProps[l]||(Z.cssProps[l]=v(e.style,l)),s=Z.cssHooks[n]||Z.cssHooks[l],s&&"get"in s&&(o=s.get(e,!0,i)),o===t&&(o=rt(e,n)),"normal"===o&&n in mt&&(o=mt[n]),r||i!==t?(a=parseFloat(o),r||Z.isNumeric(a)?a||0:o):o},swap:function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=o[i];return r}}),e.getComputedStyle?rt=function(t,n){var r,i,o,a,s=e.getComputedStyle(t,null),l=t.style;return s&&(r=s.getPropertyValue(n)||s[n],""!==r||Z.contains(t.ownerDocument,t)||(r=Z.style(t,n)),ht.test(r)&&ct.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=r,r=s.width,l.width=i,l.minWidth=o,l.maxWidth=a)),r}:q.documentElement.currentStyle&&(rt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],o=e.style;return null==i&&o&&o[t]&&(i=o[t]),ht.test(i)&&!lt.test(t)&&(n=o.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":i,i=o.pixelLeft+"px",o.left=n,r&&(e.runtimeStyle.left=r)),""===i?"auto":i}),Z.each(["height","width"],function(e,t){Z.cssHooks[t]={get:function(e,n,r){return n?0===e.offsetWidth&&ut.test(rt(e,"display"))?Z.swap(e,gt,function(){return S(e,t,r)}):S(e,t,r):void 0},set:function(e,n,r){return x(e,n,r?w(e,t,r,Z.support.boxSizing&&"border-box"===Z.css(e,"boxSizing")):0)}}}),Z.support.opacity||(Z.cssHooks.opacity={get:function(e,t){return st.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=Z.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,t>=1&&""===Z.trim(o.replace(at,""))&&n.removeAttribute&&(n.removeAttribute("filter"),r&&!r.filter)||(n.filter=at.test(o)?o.replace(at,i):o+" "+i)}}),Z(function(){Z.support.reliableMarginRight||(Z.cssHooks.marginRight={get:function(e,t){return Z.swap(e,{display:"inline-block"},function(){return t?rt(e,"marginRight"):void 0})}}),!Z.support.pixelPosition&&Z.fn.position&&Z.each(["top","left"],function(e,t){Z.cssHooks[t]={get:function(e,n){if(n){var r=rt(e,t);return ht.test(r)?Z(e).position()[t]+"px":r}}}})}),Z.expr&&Z.expr.filters&&(Z.expr.filters.hidden=function(e){return 0===e.offsetWidth&&0===e.offsetHeight||!Z.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||rt(e,"display"))},Z.expr.filters.visible=function(e){return!Z.expr.filters.hidden(e)}),Z.each({margin:"",padding:"",border:"Width"},function(e,t){Z.cssHooks[e+t]={expand:function(n){var r,i="string"==typeof n?n.split(" "):[n],o={};for(r=0;4>r;r++)o[e+vt[r]+t]=i[r]||i[r-2]||i[0];return o}},ct.test(e)||(Z.cssHooks[e+t].set=x)});var xt=/%20/g,wt=/\[\]$/,St=/\r?\n/g,kt=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Ct=/^(?:select|textarea)/i;Z.fn.extend({serialize:function(){return Z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?Z.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Ct.test(this.nodeName)||kt.test(this.type))}).map(function(e,t){var n=Z(this).val();return null==n?null:Z.isArray(n)?Z.map(n,function(e,n){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}}),Z.param=function(e,n){var r,i=[],o=function(e,t){t=Z.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=Z.ajaxSettings&&Z.ajaxSettings.traditional),Z.isArray(e)||e.jquery&&!Z.isPlainObject(e))Z.each(e,function(){o(this.name,this.value)});else for(r in e)C(r,e[r],n,o);return i.join("&").replace(xt,"+")};var _t,Et,At=/#.*$/,Nt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Tt=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Pt=/^(?:GET|HEAD)$/,Lt=/^\/\//,jt=/\?/,Ot=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Mt=/([?&])_=[^&]*/,Dt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Ht=Z.fn.load,It={},Rt={},Bt=["*/"]+["*"];try{Et=W.href}catch($t){Et=q.createElement("a"),Et.href="",Et=Et.href}_t=Dt.exec(Et.toLowerCase())||[],Z.fn.load=function(e,n,r){if("string"!=typeof e&&Ht)return Ht.apply(this,arguments);if(!this.length)return this;var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),Z.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(o="POST"),Z.ajax({url:e,type:o,dataType:"html",data:n,complete:function(e,t){r&&s.each(r,a||[e.responseText,t,e])}}).done(function(e){a=arguments,s.html(i?Z("<div>").append(e.replace(Ot,"")).find(i):e)}),this},Z.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){Z.fn[t]=function(e){return this.on(t,e)}}),Z.each(["get","post"],function(e,n){Z[n]=function(e,r,i,o){return Z.isFunction(r)&&(o=o||i,i=r,r=t),Z.ajax({type:n,url:e,data:r,success:i,dataType:o})}}),Z.extend({getScript:function(e,n){return Z.get(e,t,n,"script")},getJSON:function(e,t,n){return Z.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?A(e,Z.ajaxSettings):(t=e,e=Z.ajaxSettings),A(e,t),e},ajaxSettings:{url:Et,isLocal:Tt.test(_t[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Bt},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":Z.parseJSON,"text xml":Z.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:_(It),ajaxTransport:_(Rt),ajax:function(e,n){function r(e,n,r,a){var u,p,y,b,w,k=n;2!==x&&(x=2,l&&clearTimeout(l),s=t,o=a||"",S.readyState=e>0?4:0,r&&(b=N(h,S,r)),e>=200&&300>e||304===e?(h.ifModified&&(w=S.getResponseHeader("Last-Modified"),w&&(Z.lastModified[i]=w),w=S.getResponseHeader("Etag"),w&&(Z.etag[i]=w)),304===e?(k="notmodified",u=!0):(u=T(h,b),k=u.state,p=u.data,y=u.error,u=!y)):(y=k,(!k||e)&&(k="error",0>e&&(e=0))),S.status=e,S.statusText=(n||k)+"",u?g.resolveWith(f,[p,k,S]):g.rejectWith(f,[S,k,y]),S.statusCode(v),v=t,c&&d.trigger("ajax"+(u?"Success":"Error"),[S,h,u?p:y]),m.fireWith(f,[S,k]),c&&(d.trigger("ajaxComplete",[S,h]),--Z.active||Z.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var i,o,a,s,l,u,c,p,h=Z.ajaxSetup({},n),f=h.context||h,d=f!==h&&(f.nodeType||f instanceof Z)?Z(f):Z.event,g=Z.Deferred(),m=Z.Callbacks("once memory"),v=h.statusCode||{},y={},b={},x=0,w="canceled",S={readyState:0,setRequestHeader:function(e,t){if(!x){var n=e.toLowerCase();e=b[n]=b[n]||e,y[e]=t}return this},getAllResponseHeaders:function(){return 2===x?o:null},getResponseHeader:function(e){var n;if(2===x){if(!a)for(a={};n=Nt.exec(o);)a[n[1].toLowerCase()]=n[2];n=a[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return x||(h.mimeType=e),this},abort:function(e){return e=e||w,s&&s.abort(e),r(0,e),this}};if(g.promise(S),S.success=S.done,S.error=S.fail,S.complete=m.add,S.statusCode=function(e){if(e){var t;if(2>x)for(t in e)v[t]=[v[t],e[t]];else t=e[S.status],S.always(t)}return this},h.url=((e||h.url)+"").replace(At,"").replace(Lt,_t[1]+"//"),h.dataTypes=Z.trim(h.dataType||"*").toLowerCase().split(ne),null==h.crossDomain&&(u=Dt.exec(h.url.toLowerCase()),h.crossDomain=!(!u||u[1]===_t[1]&&u[2]===_t[2]&&(u[3]||("http:"===u[1]?80:443))==(_t[3]||("http:"===_t[1]?80:443)))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=Z.param(h.data,h.traditional)),E(It,h,n,S),2===x)return S;if(c=h.global,h.type=h.type.toUpperCase(),h.hasContent=!Pt.test(h.type),c&&0===Z.active++&&Z.event.trigger("ajaxStart"),!h.hasContent&&(h.data&&(h.url+=(jt.test(h.url)?"&":"?")+h.data,delete h.data),i=h.url,h.cache===!1)){var k=Z.now(),C=h.url.replace(Mt,"$1_="+k);h.url=C+(C===h.url?(jt.test(h.url)?"&":"?")+"_="+k:"")}(h.data&&h.hasContent&&h.contentType!==!1||n.contentType)&&S.setRequestHeader("Content-Type",h.contentType),h.ifModified&&(i=i||h.url,Z.lastModified[i]&&S.setRequestHeader("If-Modified-Since",Z.lastModified[i]),Z.etag[i]&&S.setRequestHeader("If-None-Match",Z.etag[i])),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Bt+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)S.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(h.beforeSend.call(f,S,h)===!1||2===x))return S.abort();w="abort";for(p in{success:1,error:1,complete:1})S[p](h[p]);if(s=E(Rt,h,n,S)){S.readyState=1,c&&d.trigger("ajaxSend",[S,h]),h.async&&h.timeout>0&&(l=setTimeout(function(){S.abort("timeout")},h.timeout));try{x=1,s.send(y,r)}catch(_){if(!(2>x))throw _;r(-1,_)}}else r(-1,"No Transport");return S},active:0,lastModified:{},etag:{}});var Ft=[],qt=/\?/,Wt=/(=)\?(?=&|$)|\?\?/,Ut=Z.now();Z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ft.pop()||Z.expando+"_"+Ut++;return this[e]=!0,e}}),Z.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.data,u=n.url,c=n.jsonp!==!1,p=c&&Wt.test(u),h=c&&!p&&"string"==typeof l&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Wt.test(l);return"jsonp"===n.dataTypes[0]||p||h?(o=n.jsonpCallback=Z.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,a=e[o],p?n.url=u.replace(Wt,"$1"+o):h?n.data=l.replace(Wt,"$1"+o):c&&(n.url+=(qt.test(u)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||Z.error(o+" was not called"),s[0]},n.dataTypes[0]="json",e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Ft.push(o)),s&&Z.isFunction(a)&&a(s[0]),s=a=t}),"script"):void 0}),Z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return Z.globalEval(e),e}}}),Z.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),Z.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=q.head||q.getElementsByTagName("head")[0]||q.documentElement;return{send:function(i,o){n=q.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){(i||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var zt,Vt=e.ActiveXObject?function(){for(var e in zt)zt[e](0,1)}:!1,Gt=0;Z.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&P()||L()}:P,function(e){Z.extend(Z.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(Z.ajaxSettings.xhr()),Z.support.ajax&&Z.ajaxTransport(function(n){if(!n.crossDomain||Z.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p,h;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=Z.noop,Vt&&delete zt[a]),i)4!==l.readyState&&l.abort();else{s=l.status,c=l.getAllResponseHeaders(),p={},h=l.responseXML,h&&h.documentElement&&(p.xml=h);try{p.text=l.responseText}catch(f){}try{u=l.statusText}catch(f){u=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,u,p,c)},n.async?4===l.readyState?setTimeout(r,0):(a=++Gt,Vt&&(zt||(zt={},Z(e).unload(Vt)),zt[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var Xt,Jt,Kt=/^(?:toggle|show|hide)$/,Yt=new RegExp("^(?:([-+])=|)("+ee+")([a-z%]*)$","i"),Qt=/queueHooks$/,Zt=[H],en={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=Yt.exec(t),a=i.cur(),s=+a||0,l=1,u=20;if(o){if(n=+o[2],r=o[3]||(Z.cssNumber[e]?"":"px"),"px"!==r&&s){s=Z.css(i.elem,e,!0)||n||1;do l=l||".5",s/=l,Z.style(i.elem,e,s+r);while(l!==(l=i.cur()/a)&&1!==l&&--u)}i.unit=r,i.start=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};Z.Animation=Z.extend(M,{tweener:function(e,t){Z.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],en[n]=en[n]||[],en[n].unshift(t)},prefilter:function(e,t){t?Zt.unshift(e):Zt.push(e)}}),Z.Tween=I,I.prototype={constructor:I,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Z.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.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),n&&n.set?n.set(this):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.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,!1,""),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}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Z.each(["toggle","show","hide"],function(e,t){var n=Z.fn[t];Z.fn[t]=function(r,i,o){return null==r||"boolean"==typeof r||!e&&Z.isFunction(r)&&Z.isFunction(i)?n.apply(this,arguments):this.animate(R(t,!0),r,i,o)}}),Z.fn.extend({fadeTo:function(e,t,n,r){return this.filter(y).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Z.isEmptyObject(e),o=Z.speed(t,n,r),a=function(){var t=M(this,Z.extend({},e),o);i&&t.stop(!0)};return i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=Z.timers,a=Z._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Qt.test(n)&&i(a[n]); +for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&Z.dequeue(this,e)})}}),Z.each({slideDown:R("show"),slideUp:R("hide"),slideToggle:R("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Z.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Z.speed=function(e,t,n){var r=e&&"object"==typeof e?Z.extend({},e):{complete:n||!n&&t||Z.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Z.isFunction(t)&&t};return r.duration=Z.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in Z.fx.speeds?Z.fx.speeds[r.duration]:Z.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){Z.isFunction(r.old)&&r.old.call(this),r.queue&&Z.dequeue(this,r.queue)},r},Z.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Z.timers=[],Z.fx=I.prototype.init,Z.fx.tick=function(){var e,n=Z.timers,r=0;for(Xt=Z.now();r<n.length;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||Z.fx.stop(),Xt=t},Z.fx.timer=function(e){e()&&Z.timers.push(e)&&!Jt&&(Jt=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.interval=13,Z.fx.stop=function(){clearInterval(Jt),Jt=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fx.step={},Z.expr&&Z.expr.filters&&(Z.expr.filters.animated=function(e){return Z.grep(Z.timers,function(t){return e===t.elem}).length});var tn=/^(?:body|html)$/i;Z.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){Z.offset.setOffset(this,e,t)});var n,r,i,o,a,s,l,u={top:0,left:0},c=this[0],p=c&&c.ownerDocument;if(p)return(r=p.body)===c?Z.offset.bodyOffset(c):(n=p.documentElement,Z.contains(n,c)?("undefined"!=typeof c.getBoundingClientRect&&(u=c.getBoundingClientRect()),i=B(p),o=n.clientTop||r.clientTop||0,a=n.clientLeft||r.clientLeft||0,s=i.pageYOffset||n.scrollTop,l=i.pageXOffset||n.scrollLeft,{top:u.top+s-o,left:u.left+l-a}):u)},Z.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return Z.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(Z.css(e,"marginTop"))||0,n+=parseFloat(Z.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=Z.css(e,"position");"static"===r&&(e.style.position="relative");var i,o,a=Z(e),s=a.offset(),l=Z.css(e,"top"),u=Z.css(e,"left"),c=("absolute"===r||"fixed"===r)&&Z.inArray("auto",[l,u])>-1,p={},h={};c?(h=a.position(),i=h.top,o=h.left):(i=parseFloat(l)||0,o=parseFloat(u)||0),Z.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(p.top=t.top-s.top+i),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):a.css(p)}},Z.fn.extend({position:function(){if(this[0]){var e=this[0],t=this.offsetParent(),n=this.offset(),r=tn.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(Z.css(e,"marginTop"))||0,n.left-=parseFloat(Z.css(e,"marginLeft"))||0,r.top+=parseFloat(Z.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(Z.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||q.body;e&&!tn.test(e.nodeName)&&"static"===Z.css(e,"position");)e=e.offsetParent;return e||q.body})}}),Z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);Z.fn[e]=function(i){return Z.access(this,function(e,i,o){var a=B(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:void(a?a.scrollTo(r?Z(a).scrollLeft():o,r?o:Z(a).scrollTop()):e[i]=o)},e,i,arguments.length,null)}}),Z.each({Height:"height",Width:"width"},function(e,n){Z.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){Z.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return Z.access(this,function(n,r,i){var o;return Z.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?Z.css(n,r,i,s):Z.style(n,r,i,s)},n,a?i:t,a,null)}})}),"object"==typeof n&&n&&"object"==typeof n.exports?n.exports=Z:(e.jQuery=e.$=Z,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Z}))}(window)}),define("lib/jquery.lazyload",[],function(e,t,n){var r=e("jquery");!function(e,t,n,r){var i=e(t);e.fn.lazyload=function(o){function a(){var t=0;l.each(function(){var n=e(this);if(!u.skip_invisible||n.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 n.trigger("appear"),t=0})}var s,l=this,u={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return o&&(r!==o.failurelimit&&(o.failure_limit=o.failurelimit,delete o.failurelimit),r!==o.effectspeed&&(o.effect_speed=o.effectspeed,delete o.effectspeed),e.extend(u,o)),s=u.container===r||u.container===t?i:e(u.container),0===u.event.indexOf("scroll")&&s.bind(u.event,function(){return a()}),this.each(function(){var t=this,n=e(t);t.loaded=!1,(n.attr("src")===r||n.attr("src")===!1)&&n.is("img")&&n.attr("src",u.placeholder),n.one("appear",function(){if(!this.loaded){if(u.appear){var r=l.length;u.appear.call(t,r,u)}e("<img />").bind("load",function(){var r=n.attr("data-"+u.data_attribute);n.hide(),n.is("img")?n.attr("src",r):n.css("background-image","url('"+r+"')"),n[u.effect](u.effect_speed),t.loaded=!0;var i=e.grep(l,function(e){return!e.loaded});if(l=e(i),u.load){var o=l.length;u.load.call(t,o,u)}}).attr("src",n.attr("data-"+u.data_attribute))}}),0!==u.event.indexOf("scroll")&&n.bind(u.event,function(){t.loaded||n.trigger("appear")})}),i.bind("resize",function(){a()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&i.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&l.each(function(){e(this).trigger("appear")})}),e(n).ready(function(){a()}),this},e.belowthefold=function(n,o){var a;return a=o.container===r||o.container===t?(t.innerHeight?t.innerHeight:i.height())+i.scrollTop():e(o.container).offset().top+e(o.container).height(),a<=e(n).offset().top-o.threshold},e.rightoffold=function(n,o){var a;return a=o.container===r||o.container===t?i.width()+i.scrollLeft():e(o.container).offset().left+e(o.container).width(),a<=e(n).offset().left-o.threshold},e.abovethetop=function(n,o){var a;return a=o.container===r||o.container===t?i.scrollTop():e(o.container).offset().top,a>=e(n).offset().top+o.threshold+e(n).height()},e.leftofbegin=function(n,o){var a;return a=o.container===r||o.container===t?i.scrollLeft():e(o.container).offset().left,a>=e(n).offset().left+o.threshold+e(n).width()},e.inviewport=function(t,n){return!(e.rightoffold(t,n)||e.leftofbegin(t,n)||e.belowthefold(t,n)||e.abovethetop(t,n))},e.extend(e.expr[":"],{"below-the-fold":function(t){return e.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return e.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!e.rightoffold(t,{threshold:0})},"in-viewport":function(t){return e.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return e.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!e.rightoffold(t,{threshold:0})}})}(r,window,document)}),define("handlebars",[],function(e,t,n){!function(e,r){"object"==typeof t&&"object"==typeof n?n.exports=r():"function"==typeof define&&define.amd?define(r):"object"==typeof t?t.Handlebars=r():e.Handlebars=r()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(){var e=v();return e.compile=function(t,n){return c.compile(t,n,e)},e.precompile=function(t,n){return c.precompile(t,n,e)},e.AST=l["default"],e.Compiler=c.Compiler,e.JavaScriptCompiler=h["default"],e.Parser=u.parser,e.parse=u.parse,e}var i=n(8)["default"];t.__esModule=!0;var o=n(1),a=i(o),s=n(2),l=i(s),u=n(3),c=n(4),p=n(5),h=i(p),f=n(6),d=i(f),g=n(7),m=i(g),v=a["default"].create,y=r();y.create=r,m["default"](y),y.Visitor=d["default"],y["default"]=y,t["default"]=y,e.exports=t["default"]},function(e,t,n){"use strict";function r(){var e=new s.HandlebarsEnvironment;return f.extend(e,s),e.SafeString=u["default"],e.Exception=p["default"],e.Utils=f,e.escapeExpression=f.escapeExpression,e.VM=g,e.template=function(t){return g.template(t,e)},e}var i=n(9)["default"],o=n(8)["default"];t.__esModule=!0;var a=n(10),s=i(a),l=n(11),u=o(l),c=n(12),p=o(c),h=n(13),f=i(h),d=n(14),g=i(d),m=n(7),v=o(m),y=r();y.create=r,v["default"](y),y["default"]=y,t["default"]=y,e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0;var r={Program:function(e,t,n,r){this.loc=r,this.type="Program",this.body=e,this.blockParams=t,this.strip=n},MustacheStatement:function(e,t,n,r,i,o){this.loc=o,this.type="MustacheStatement",this.path=e,this.params=t||[],this.hash=n,this.escaped=r,this.strip=i},BlockStatement:function(e,t,n,r,i,o,a,s,l){this.loc=l,this.type="BlockStatement",this.path=e,this.params=t||[],this.hash=n,this.program=r,this.inverse=i,this.openStrip=o,this.inverseStrip=a,this.closeStrip=s},PartialStatement:function(e,t,n,r,i){this.loc=i,this.type="PartialStatement",this.name=e,this.params=t||[],this.hash=n,this.indent="",this.strip=r},ContentStatement:function(e,t){this.loc=t,this.type="ContentStatement",this.original=this.value=e},CommentStatement:function(e,t,n){this.loc=n,this.type="CommentStatement",this.value=e,this.strip=t},SubExpression:function(e,t,n,r){this.loc=r,this.type="SubExpression",this.path=e,this.params=t||[],this.hash=n},PathExpression:function(e,t,n,r,i){this.loc=i,this.type="PathExpression",this.data=e,this.original=r,this.parts=n,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,n){this.loc=n,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&&!r.helpers.scopedId(e)&&!e.depth}}};t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){if("Program"===e.type)return e;s["default"].yy=g,g.locInfo=function(e){return new g.SourceLocation(t&&t.srcName,e)};var n=new p["default"];return n.accept(s["default"].parse(e))}var i=n(8)["default"],o=n(9)["default"];t.__esModule=!0,t.parse=r;var a=n(15),s=i(a),l=n(2),u=i(l),c=n(16),p=i(c),h=n(17),f=o(h),d=n(13);t.parser=s["default"];var g={};d.extend(g,f,u["default"])},function(e,t,n){"use strict";function r(){}function i(e,t,n){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 r=n.parse(e,t),i=(new n.Compiler).compile(r,t);return(new n.JavaScriptCompiler).compile(i,t)}function o(e,t,n){function r(){var t=n.parse(e,o),r=(new n.Compiler).compile(t,o),i=(new n.JavaScriptCompiler).compile(r,o,void 0,!0);return n.template(i)}function i(e,t){return a||(a=r()),a.call(this,e,t)}var o=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 o||(o.data=!0),o.compat&&(o.useDepths=!0);var a=void 0;return i._setup=function(e){return a||(a=r()),a._setup(e)},i._child=function(e,t,n,i){return a||(a=r()),a._child(e,t,n,i)},i}function a(e,t){if(e===t)return!0;if(p.isArray(e)&&p.isArray(t)&&e.length===t.length){for(var n=0;n<e.length;n++)if(!a(e[n],t[n]))return!1;return!0}}function s(e){if(!e.path.parts){var t=e.path;e.path=new f["default"].PathExpression(!1,0,[t.original+""],t.original+"",t.loc)}}var l=n(8)["default"];t.__esModule=!0,t.Compiler=r,t.precompile=i,t.compile=o;var u=n(12),c=l(u),p=n(13),h=n(2),f=l(h),d=[].slice;r.prototype={compiler:r,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var n=0;t>n;n++){var r=this.opcodes[n],i=e.opcodes[n];if(r.opcode!==i.opcode||!a(r.args,i.args))return!1}t=this.children.length;for(var n=0;t>n;n++)if(!this.children[n].equals(e.children[n]))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 n=t.knownHelpers;if(t.knownHelpers={helperMissing:!0,blockHelperMissing:!0,each:!0,"if":!0,unless:!0,"with":!0,log:!0,lookup:!0},n)for(var r in n)r in n&&(t.knownHelpers[r]=n[r]);return this.accept(e)},compileProgram:function(e){var t=new this.compiler,n=t.compile(e,this.options),r=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[r]=n,this.useDepths=this.useDepths||n.useDepths,r},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,n=t.length,r=0;n>r;r++)this.accept(t[r]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){s(e);var t=e.program,n=e.inverse;t=t&&this.compileProgram(t),n=n&&this.compileProgram(n);var r=this.classifySexpr(e);"helper"===r?this.helperSexpr(e,t,n):"simple"===r?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,n),this.opcode("pushProgram",t),this.opcode("pushProgram",n),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 n=e.name.original,r="SubExpression"===e.name.type;r&&this.accept(e.name),this.setupFullMustacheParams(e,void 0,void 0,!0);var i=e.indent||"";this.options.preventIndent&&i&&(this.opcode("appendContent",i),i=""),this.opcode("invokePartial",r,n,i),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){s(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var r=e.path,i=r.parts[0],o=null!=t||null!=n;this.opcode("getContext",r.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.accept(r),this.opcode("invokeAmbiguous",i,o)},simpleSexpr:function(e){this.accept(e.path),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,n){var r=this.setupFullMustacheParams(e,t,n),i=e.path,o=i.parts[0];if(this.options.knownHelpers[o])this.opcode("invokeKnownHelper",r.length,o);else{if(this.options.knownHelpersOnly)throw new c["default"]("You specified knownHelpersOnly, but used the unknown helper "+o,e);i.falsy=!0,this.accept(i),this.opcode("invokeHelper",r.length,i.original,f["default"].helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=f["default"].helpers.scopedId(e),r=!e.depth&&!n&&this.blockParamIndex(t);r?this.opcode("lookupBlockParam",r,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts)):this.opcode("lookupOnContext",e.parts,e.falsy,n):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,n=0,r=t.length;for(this.opcode("pushHash");r>n;n++)this.pushParam(t[n].value);for(;n--;)this.opcode("assignToHash",t[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:d.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=f["default"].helpers.simpleId(e.path),n=t&&!!this.blockParamIndex(e.path.parts[0]),r=!n&&f["default"].helpers.helperExpression(e),i=!n&&(r||t);if(i&&!r){var o=e.path.parts[0],a=this.options;a.knownHelpers[o]?r=!0:a.knownHelpersOnly&&(i=!1)}return r?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var t=0,n=e.length;n>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 n=void 0;if(!e.parts||f["default"].helpers.scopedId(e)||e.depth||(n=this.blockParamIndex(e.parts[0])),n){var r=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,r)}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,n,r){var i=e.params;return this.pushParams(i),this.opcode("pushProgram",t),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",r),i},blockParamIndex:function(e){for(var t=0,n=this.options.blockParams.length;n>t;t++){var r=this.options.blockParams[t],i=r&&p.indexOf(r,e);if(r&&i>=0)return[t,i]}}}},function(e,t,n){"use strict";function r(e){this.value=e}function i(){}function o(e,t,n,r){var i=t.popStack(),o=0,a=n.length;for(e&&a--;a>o;o++)i=t.nameLookup(i,n[o],r);return e?[t.aliasable("this.strict"),"(",i,", ",t.quotedString(n[o]),")"]:i}var a=n(8)["default"];t.__esModule=!0;var s=n(10),l=n(12),u=a(l),c=n(13),p=n(18),h=a(p);i.prototype={nameLookup:function(e,t){return i.isValidJavaScriptVariableName(t)?[e,".",t]:[e,"['",t,"']"]},depthedLookup:function(e){return[this.aliasable("this.lookup"),'(depths, "',e,'")']},compilerInfo:function(){var e=s.COMPILER_REVISION,t=s.REVISION_CHANGES[e];return[e,t]},appendToBuffer:function(e,t,n){return c.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},compile:function(e,t,n,r){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!r,this.name=this.environment.name,this.isChild=!!n,this.context=n||{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 i=e.opcodes,o=void 0,a=void 0,s=void 0,l=void 0;for(s=0,l=i.length;l>s;s++)o=i[s],this.source.currentLocation=o.loc,a=a||o.loc,this[o.opcode].apply(this,o.args);if(this.source.currentLocation=a,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(r);if(this.isChild)return c;var p={compiler:this.compilerInfo(),main:c},h=this.context.programs;for(s=0,l=h.length;l>s;s++)h[s]&&(p[s]=h[s]);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),r?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="",n=this.stackVars.concat(this.registers.list);n.length>0&&(t+=", "+n.join(", "));var r=0;for(var i in this.aliases){var o=this.aliases[i];this.aliases.hasOwnProperty(i)&&o.children&&o.referenceCount>1&&(t+=", alias"+ ++r+"="+i,o.children[0]="alias"+r)}var a=["depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var s=this.mergeSource(t);return e?(a.push(s),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),") {\n ",s,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,r=void 0,i=void 0,o=void 0,a=void 0;return this.source.each(function(e){e.appendToBuffer?(o?e.prepend(" + "):o=e,a=e):(o&&(i?o.prepend("buffer += "):r=!0,a.add(";"),o=a=void 0),i=!0,t||(n=!1))}),n?o?(o.prepend("return "),a.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(r?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(r?"":";\n")),this.source.merge()},blockValue:function(e){var t=this.aliasable("helpers.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("helpers.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",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,n){var r=0;n||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[r++])),this.resolvePath("context",e,r,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,n,r){var i=this;if(this.options.strict||this.options.assumeObjects)return void this.push(o(this.options.strict,this,t,e));for(var a=t.length;a>n;n++)this.replaceStack(function(o){var a=i.nameLookup(o,t[n],e);return r?[" && ",a]:[" != null ? ",a," : ",o]})},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,n){var r=this.popStack(),i=this.setupHelper(e,t),o=n?[i.name," || "]:"",a=["("].concat(o,r);this.options.strict||a.push(" || ",this.aliasable("helpers.helperMissing")),a.push(")"),this.push(this.source.functionCall(a,"call",i.callParams))},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var n=this.popStack();this.emptyHash();var r=this.setupHelper(0,e,t),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),o=["(","(helper = ",i," || ",n,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("helpers.helperMissing"))),this.push(["(",o,r.paramsInit?["),(",r.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",r.callParams)," : helper))"])},invokePartial:function(e,t,n){var r=[],i=this.setupParams(t,1,r,!1);e&&(t=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers="helpers",i.partials="partials",e?r.unshift(t):r.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(i.depths="depths"),i=this.objectLiteral(i),r.push(i),this.push(this.source.functionCall("this.invokePartial","",r))},assignToHash:function(e){var t=this.popStack(),n=void 0,r=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(r=this.popStack(),n=this.popStack());var o=this.hash;n&&(o.contexts[e]=n),r&&(o.types[e]=r),i&&(o.ids[e]=i),o.values[e]=t},pushId:function(e,t,n){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:i,compileChildren:function(e,t){for(var n=e.children,r=void 0,i=void 0,o=0,a=n.length;a>o;o++){r=n[o],i=new this.compiler;var s=this.matchExistingProgram(r);null==s?(this.context.programs.push(""),s=this.context.programs.length,r.index=s,r.name="program"+s,this.context.programs[s]=i.compile(r,t,this.context,!this.precompile),this.context.environments[s]=r,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams):(r.index=s,r.name="program"+s,this.useDepths=this.useDepths||r.useDepths,this.useBlockParams=this.useBlockParams||r.useBlockParams)}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;n>t;t++){var r=this.context.environments[t];if(r&&r.equals(e))return t}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"this.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof r||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new r(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=["("],n=void 0,i=void 0,o=void 0;if(!this.isInline())throw new u["default"]("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof r)n=[a.value],t=["(",n],o=!0;else{i=!0;var s=this.incrStack();t=["((",this.push(s)," = ",a,")"],n=this.topStack()}var l=e.call(this,n);o||this.popStack(),i&&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,n=e.length;n>t;t++){var i=e[t];if(i instanceof r)this.compileStack.push(i);else{var o=this.incrStack();this.pushSource([o," = ",i,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof r)return n.value;if(!t){if(!this.stackSlot)throw new u["default"]("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof r?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,n){var r=[],i=this.setupHelperArgs(t,e,r,n),o=this.nameLookup("helpers",t,"helper");return{params:r,paramsInit:i,name:o,callParams:[this.contextName(0)].concat(r)}},setupParams:function(e,t,n){var r={},i=[],o=[],a=[],s=void 0;r.name=this.quotedString(e),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack());var l=this.popStack(),u=this.popStack();(u||l)&&(r.fn=u||"this.noop",r.inverse=l||"this.noop");for(var c=t;c--;)s=this.popStack(),n[c]=s,this.trackIds&&(a[c]=this.popStack()),this.stringParams&&(o[c]=this.popStack(),i[c]=this.popStack());return this.trackIds&&(r.ids=this.source.generateArray(a)),this.stringParams&&(r.types=this.source.generateArray(o),r.contexts=this.source.generateArray(i)),this.options.data&&(r.data="data"),this.useBlockParams&&(r.blockParams="blockParams"),r},setupHelperArgs:function(e,t,n,r){var i=this.setupParams(e,t,n,!0);return i=this.objectLiteral(i),r?(this.useRegister("options"),n.push("options"),["options=",i]):(n.push(i),"")}},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=i.RESERVED_WORDS={},n=0,r=e.length;r>n;n++)t[e[n]]=!0}(),i.isValidJavaScriptVariableName=function(e){return!i.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";function r(){this.parents=[]}var i=n(8)["default"];t.__esModule=!0;var o=n(12),a=i(o),s=n(2),l=i(s);r.prototype={constructor:r,mutating:!1,acceptKey:function(e,t){var n=this.accept(e[t]);if(this.mutating){if(n&&(!n.type||!l["default"][n.type]))throw new a["default"]('Unexpected node type "'+n.type+'" found when accepting '+t+" on "+e.type); +e[t]=n}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new a["default"](e.type+" requires "+t)},acceptArray:function(e){for(var t=0,n=e.length;n>t;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,n--)},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"]=r,e.exports=t["default"]},function(e,t,n){(function(n){"use strict";t.__esModule=!0,t["default"]=function(e){var t="undefined"!=typeof n?n:window,r=t.Handlebars;e.noConflict=function(){t.Handlebars===e&&(t.Handlebars=r)}},e.exports=t["default"]}).call(t,function(){return this}())},function(e,t,n){"use strict";t["default"]=function(e){return e&&e.__esModule?e:{"default":e}},t.__esModule=!0},function(e,t,n){"use strict";t["default"]=function(e){if(e&&e.__esModule)return e;var t={};if("object"==typeof e&&null!==e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t},t.__esModule=!0},function(e,t,n){"use strict";function r(e,t){this.helpers=e||{},this.partials=t||{},i(this)}function i(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new p["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')}),e.registerHelper("blockHelperMissing",function(t,n){var r=n.inverse,i=n.fn;if(t===!0)return i(this);if(t===!1||null==t)return r(this);if(g(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):r(this);if(n.data&&n.ids){var a=o(n.data);a.contextPath=u.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(t,n)}),e.registerHelper("each",function(e,t){function n(t,n,i){l&&(l.key=t,l.index=n,l.first=0===n,l.last=!!i,c&&(l.contextPath=c+t)),s+=r(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 r=t.fn,i=t.inverse,a=0,s="",l=void 0,c=void 0;if(t.data&&t.ids&&(c=u.appendContextPath(t.data.contextPath,t.ids[0])+"."),m(e)&&(e=e.call(this)),t.data&&(l=o(t.data)),e&&"object"==typeof e)if(g(e))for(var h=e.length;h>a;a++)n(a,a,a===e.length-1);else{var f=void 0;for(var d in e)e.hasOwnProperty(d)&&(f&&n(f,a-1),f=d,a++);f&&n(f,a-1,!0)}return 0===a&&(s=i(this)),s}),e.registerHelper("if",function(e,t){return m(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||u.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){return e.helpers["if"].call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}),e.registerHelper("with",function(e,t){m(e)&&(e=e.call(this));var n=t.fn;if(u.isEmpty(e))return t.inverse(this);if(t.data&&t.ids){var r=o(t.data);r.contextPath=u.appendContextPath(t.data.contextPath,t.ids[0]),t={data:r}}return n(e,t)}),e.registerHelper("log",function(t,n){var r=n.data&&null!=n.data.level?parseInt(n.data.level,10):1;e.log(r,t)}),e.registerHelper("lookup",function(e,t){return e&&e[t]})}function o(e){var t=u.extend({},e);return t._parent=e,t}var a=n(9)["default"],s=n(8)["default"];t.__esModule=!0,t.HandlebarsEnvironment=r,t.createFrame=o;var l=n(13),u=a(l),c=n(12),p=s(c),h="3.0.1";t.VERSION=h;var f=6;t.COMPILER_REVISION=f;var d={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=d;var g=u.isArray,m=u.isFunction,v=u.toString,y="[object Object]";r.prototype={constructor:r,logger:b,log:x,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 b={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&&b.level<=e){var n=b.methodMap[e];(console[n]||console.log).call(console,t)}}};t.logger=b;var x=b.log;t.log=x},function(e,t,n){"use strict";function r(e){this.string=e}t.__esModule=!0,r.prototype.toString=r.prototype.toHTML=function(){return""+this.string},t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){var n=t&&t.loc,o=void 0,a=void 0;n&&(o=n.start.line,a=n.start.column,e+=" - "+o+":"+a);for(var s=Error.prototype.constructor.call(this,e),l=0;l<i.length;l++)this[i[l]]=s[i[l]];Error.captureStackTrace&&Error.captureStackTrace(this,r),n&&(this.lineNumber=o,this.column=a)}t.__esModule=!0;var i=["description","fileName","lineNumber","message","name","number","stack"];r.prototype=new Error,t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return c[e]}function i(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}function o(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}function a(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,r):e}function s(e){return e||0===e?g(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=i,t.indexOf=o,t.escapeExpression=a,t.isEmpty=s,t.blockParams=l,t.appendContextPath=u;var c={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},p=/[&<>"'`]/g,h=/[&<>"'`]/,f=Object.prototype.toString;t.toString=f;var d=function(e){return"function"==typeof e};d(/x/)&&(t.isFunction=d=function(e){return"function"==typeof e&&"[object Function]"===f.call(e)});var d;t.isFunction=d;var g=Array.isArray||function(e){return e&&"object"==typeof e?"[object Array]"===f.call(e):!1};t.isArray=g},function(e,t,n){"use strict";function r(e){var t=e&&e[0]||1,n=m.COMPILER_REVISION;if(t!==n){if(n>t){var r=m.REVISION_CHANGES[n],i=m.REVISION_CHANGES[t];throw new g["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+i+").")}throw new g["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 i(e,t){function n(n,r,i){i.hash&&(r=f.extend({},r,i.hash)),n=t.VM.resolvePartial.call(this,n,r,i);var o=t.VM.invokePartial.call(this,n,r,i);if(null==o&&t.compile&&(i.partials[i.name]=t.compile(n,e.compilerOptions,t),o=i.partials[i.name](r,i)),null!=o){if(i.indent){for(var a=o.split("\n"),s=0,l=a.length;l>s&&(a[s]||s+1!==l);s++)a[s]=i.indent+a[s];o=a.join("\n")}return o}throw new g["default"]("The partial "+i.name+" could not be compiled when running in runtime-only mode")}function r(t){var n=void 0===arguments[1]?{}:arguments[1],o=n.data;r._setup(n),!n.partial&&e.useData&&(o=u(t,o));var a=void 0,s=e.useBlockParams?[]:void 0;return e.useDepths&&(a=n.depths?[t].concat(n.depths):[t]),e.main.call(i,t,i.helpers,i.partials,o,s,a)}if(!t)throw new g["default"]("No environment passed to template");if(!e||!e.main)throw new g["default"]("Unknown template object: "+typeof e);t.VM.checkRevision(e.compiler);var i={strict:function(e,t){if(!(t in e))throw new g["default"]('"'+t+'" not defined in '+e);return e[t]},lookup:function(e,t){for(var n=e.length,r=0;n>r;r++)if(e[r]&&null!=e[r][t])return e[r][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:f.escapeExpression,invokePartial:n,fn:function(t){return e[t]},programs:[],program:function(e,t,n,r,i){var a=this.programs[e],s=this.fn(e);return t||i||r||n?a=o(this,e,s,t,n,r,i):a||(a=this.programs[e]=o(this,e,s)),a},data:function(e,t){for(;e&&t--;)e=e._parent;return e},merge:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=f.extend({},t,e)),n},noop:t.VM.noop,compilerInfo:e.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(i.helpers=n.helpers,i.partials=n.partials):(i.helpers=i.merge(n.helpers,t.helpers),e.usePartial&&(i.partials=i.merge(n.partials,t.partials)))},r._child=function(t,n,r,a){if(e.useBlockParams&&!r)throw new g["default"]("must pass block params");if(e.useDepths&&!a)throw new g["default"]("must pass parent depths");return o(i,t,e[t],n,0,r,a)},r}function o(e,t,n,r,i,o,a){function s(t){var i=void 0===arguments[1]?{}:arguments[1];return n.call(e,t,e.helpers,e.partials,i.data||r,o&&[i.blockParams].concat(o),a&&[t].concat(a))}return s.program=t,s.depth=a?a.length:0,s.blockParams=i||0,s}function a(e,t,n){return e?e.call||n.name||(n.name=e,e=n.partials[e]):e=n.partials[n.name],e}function s(e,t,n){if(n.partial=!0,void 0===e)throw new g["default"]("The partial "+n.name+" could not be found");return e instanceof Function?e(t,n):void 0}function l(){return""}function u(e,t){return t&&"root"in t||(t=t?m.createFrame(t):{},t.root=e),t}var c=n(9)["default"],p=n(8)["default"];t.__esModule=!0,t.checkRevision=r,t.template=i,t.wrapProgram=o,t.resolvePartial=a,t.invokePartial=s,t.noop=l;var h=n(13),f=c(h),d=n(12),g=p(d),m=n(10)},function(e,t,n){"use strict";t.__esModule=!0;var r=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,n,r,i,o,a){var s=o.length-1;switch(i){case 1:return o[s-1];case 2:this.$=new r.Program(o[s],null,{},r.locInfo(this._$));break;case 3:this.$=o[s];break;case 4:this.$=o[s];break;case 5:this.$=o[s];break;case 6:this.$=o[s];break;case 7:this.$=o[s];break;case 8:this.$=new r.CommentStatement(r.stripComment(o[s]),r.stripFlags(o[s],o[s]),r.locInfo(this._$));break;case 9:this.$=new r.ContentStatement(o[s],r.locInfo(this._$));break;case 10:this.$=r.prepareRawBlock(o[s-2],o[s-1],o[s],this._$);break;case 11:this.$={path:o[s-3],params:o[s-2],hash:o[s-1]};break;case 12:this.$=r.prepareBlock(o[s-3],o[s-2],o[s-1],o[s],!1,this._$);break;case 13:this.$=r.prepareBlock(o[s-3],o[s-2],o[s-1],o[s],!0,this._$);break;case 14:this.$={path:o[s-4],params:o[s-3],hash:o[s-2],blockParams:o[s-1],strip:r.stripFlags(o[s-5],o[s])};break;case 15:this.$={path:o[s-4],params:o[s-3],hash:o[s-2],blockParams:o[s-1],strip:r.stripFlags(o[s-5],o[s])};break;case 16:this.$={path:o[s-4],params:o[s-3],hash:o[s-2],blockParams:o[s-1],strip:r.stripFlags(o[s-5],o[s])};break;case 17:this.$={strip:r.stripFlags(o[s-1],o[s-1]),program:o[s]};break;case 18:var l=r.prepareBlock(o[s-2],o[s-1],o[s],o[s],!1,this._$),u=new r.Program([l],null,{},r.locInfo(this._$));u.chained=!0,this.$={strip:o[s-2].strip,program:u,chain:!0};break;case 19:this.$=o[s];break;case 20:this.$={path:o[s-1],strip:r.stripFlags(o[s-2],o[s])};break;case 21:this.$=r.prepareMustache(o[s-3],o[s-2],o[s-1],o[s-4],r.stripFlags(o[s-4],o[s]),this._$);break;case 22:this.$=r.prepareMustache(o[s-3],o[s-2],o[s-1],o[s-4],r.stripFlags(o[s-4],o[s]),this._$);break;case 23:this.$=new r.PartialStatement(o[s-3],o[s-2],o[s-1],r.stripFlags(o[s-4],o[s]),r.locInfo(this._$));break;case 24:this.$=o[s];break;case 25:this.$=o[s];break;case 26:this.$=new r.SubExpression(o[s-3],o[s-2],o[s-1],r.locInfo(this._$));break;case 27:this.$=new r.Hash(o[s],r.locInfo(this._$));break;case 28:this.$=new r.HashPair(r.id(o[s-2]),o[s],r.locInfo(this._$));break;case 29:this.$=r.id(o[s-1]);break;case 30:this.$=o[s];break;case 31:this.$=o[s];break;case 32:this.$=new r.StringLiteral(o[s],r.locInfo(this._$));break;case 33:this.$=new r.NumberLiteral(o[s],r.locInfo(this._$));break;case 34:this.$=new r.BooleanLiteral(o[s],r.locInfo(this._$));break;case 35:this.$=new r.UndefinedLiteral(r.locInfo(this._$));break;case 36:this.$=new r.NullLiteral(r.locInfo(this._$));break;case 37:this.$=o[s];break;case 38:this.$=o[s];break;case 39:this.$=r.preparePath(!0,o[s],this._$);break;case 40:this.$=r.preparePath(!1,o[s],this._$);break;case 41:o[s-2].push({part:r.id(o[s]),original:o[s],separator:o[s-1]}),this.$=o[s-2];break;case 42:this.$=[{part:r.id(o[s]),original:o[s]}];break;case 43:this.$=[];break;case 44:o[s-1].push(o[s]);break;case 45:this.$=[];break;case 46:o[s-1].push(o[s]);break;case 53:this.$=[];break;case 54:o[s-1].push(o[s]);break;case 59:this.$=[];break;case 60:o[s-1].push(o[s]);break;case 65:this.$=[];break;case 66:o[s-1].push(o[s]);break;case 73:this.$=[];break;case 74:o[s-1].push(o[s]);break;case 77:this.$=[];break;case 78:o[s-1].push(o[s]);break;case 81:this.$=[];break;case 82:o[s-1].push(o[s]);break;case 85:this.$=[];break;case 86:o[s-1].push(o[s]);break;case 89:this.$=[o[s]];break;case 90:o[s-1].push(o[s]);break;case 91:this.$=[o[s]];break;case 92:o[s-1].push(o[s])}},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=n.lexer.lex()||1,"number"!=typeof e&&(e=n.symbols_[e]||e),e}var n=this,r=[0],i=[null],o=[],a=this.table,s="",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;o.push(p);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var f,d,g,m,v,y,b,x,w,S={};;){if(g=r[r.length-1],this.defaultActions[g]?m=this.defaultActions[g]:((null===f||"undefined"==typeof f)&&(f=t()),m=a[g]&&a[g][f]),"undefined"==typeof m||!m.length||!m[0]){var k="";if(!c){w=[];for(y in a[g])this.terminals_[y]&&y>2&&w.push("'"+this.terminals_[y]+"'");k=this.lexer.showPosition?"Parse error on line "+(l+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(k,{text:this.lexer.match,token:this.terminals_[f]||f,line:this.lexer.yylineno,loc:p,expected:w})}}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(m[0]){case 1:r.push(f),i.push(this.lexer.yytext),o.push(this.lexer.yylloc),r.push(m[1]),f=null,d?(f=d,d=null):(u=this.lexer.yyleng,s=this.lexer.yytext,l=this.lexer.yylineno,p=this.lexer.yylloc,c>0&&c--);break;case 2:if(b=this.productions_[m[1]][1],S.$=i[i.length-b],S._$={first_line:o[o.length-(b||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(b||1)].first_column,last_column:o[o.length-1].last_column},h&&(S._$.range=[o[o.length-(b||1)].range[0],o[o.length-1].range[1]]),v=this.performAction.call(S,s,u,l,this.yy,m[1],i,o),"undefined"!=typeof v)return v;b&&(r=r.slice(0,-1*b*2),i=i.slice(0,-1*b),o=o.slice(0,-1*b)),r.push(this.productions_[m[1]][0]),i.push(S.$),o.push(S._$),x=a[r[r.length-2]][r[r.length-1]],r.push(x);break;case 3:return!0}}return!0}},n=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,n=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 r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[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,n,r,i;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),a=0;a<o.length&&(n=this._input.match(this.rules[o[a]]),!n||t&&!(n[0].length>t[0].length)||(t=n,r=a,this.options.flex));a++);return t?(i=t[0].match(/(?:\r\n?|\n).*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.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,o[r],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,n,r){function i(e,n){return t.yytext=t.yytext.substr(e,t.yyleng-n)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(i(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(i(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=i(1,2).replace(/\\"/g,'"'),74;case 30:return t.yytext=i(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=n,e.prototype=t,t.Parser=e,new e}();t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(){}function i(e,t,n){void 0===t&&(t=e.length);var r=e[t-1],i=e[t-2];return r?"ContentStatement"===r.type?(i||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:n}function o(e,t,n){void 0===t&&(t=-1);var r=e[t+1],i=e[t+2];return r?"ContentStatement"===r.type?(i||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:n}function a(e,t,n){var r=e[null==t?0:t+1];if(r&&"ContentStatement"===r.type&&(n||!r.rightStripped)){var i=r.value;r.value=r.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==i}}function s(e,t,n){var r=e[null==t?e.length-1:t-1];if(r&&"ContentStatement"===r.type&&(n||!r.leftStripped)){var i=r.value;return r.value=r.value.replace(n?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==i,r.leftStripped}}var l=n(8)["default"];t.__esModule=!0;var u=n(6),c=l(u);r.prototype=new c["default"],r.prototype.Program=function(e){var t=!this.isRootSeen;this.isRootSeen=!0;for(var n=e.body,r=0,l=n.length;l>r;r++){var u=n[r],c=this.accept(u);if(c){var p=i(n,r,t),h=o(n,r,t),f=c.openStandalone&&p,d=c.closeStandalone&&h,g=c.inlineStandalone&&p&&h;c.close&&a(n,r,!0),c.open&&s(n,r,!0),g&&(a(n,r),s(n,r)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(n[r-1].original)[1])),f&&(a((u.program||u.inverse).body),s(n,r)),d&&(a(n,r),s((u.inverse||u.program).body))}}return e},r.prototype.BlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,n=e.program&&e.inverse,r=n,l=n;if(n&&n.chained)for(r=n.body[0].program;l.chained;)l=l.body[l.body.length-1].program;var u={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:o(t.body),closeStandalone:i((r||t).body)};if(e.openStrip.close&&a(t.body,null,!0),n){var c=e.inverseStrip;c.open&&s(t.body,null,!0),c.close&&a(r.body,null,!0),e.closeStrip.open&&s(l.body,null,!0),i(t.body)&&o(r.body)&&(s(t.body),a(r.body))}else e.closeStrip.open&&s(t.body,null,!0);return u},r.prototype.MustacheStatement=function(e){return e.strip},r.prototype.PartialStatement=r.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(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 i(e){return/^\[.*\]$/.test(e)?e.substr(1,e.length-2):e}function o(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}}function a(e){return e.replace(/^\{\{~?\!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function s(e,t,n){n=this.locInfo(n);for(var r=e?"@":"",i=[],o=0,a="",s=0,l=t.length;l>s;s++){var u=t[s].part,c=t[s].original!==u;if(r+=(t[s].separator||"")+u,c||".."!==u&&"."!==u&&"this"!==u)i.push(u);else{if(i.length>0)throw new f["default"]("Invalid path: "+r,{loc:n});".."===u&&(o++,a+="../")}}return new this.PathExpression(e,o,i,r,n)}function l(e,t,n,r,i,o){var a=r.charAt(3)||r.charAt(2),s="{"!==a&&"&"!==a;return new this.MustacheStatement(e,t,n,s,i,this.locInfo(o))}function u(e,t,n,r){if(e.path.original!==n){var i={loc:e.path.loc};throw new f["default"](e.path.original+" doesn't match "+n,i)}r=this.locInfo(r);var o=new this.Program([t],null,{},r);return new this.BlockStatement(e.path,e.params,e.hash,o,void 0,{},{},{},r)}function c(e,t,n,r,i,o){if(r&&r.path&&e.path.original!==r.path.original){var a={loc:e.path.loc};throw new f["default"](e.path.original+" doesn't match "+r.path.original,a)}t.blockParams=e.blockParams;var s=void 0,l=void 0;return n&&(n.chain&&(n.program.body[0].closeStrip=r.strip),l=n.strip,s=n.program),i&&(i=s,s=t,t=i),new this.BlockStatement(e.path,e.params,e.hash,t,s,e.strip,l,r&&r.strip,this.locInfo(o))}var p=n(8)["default"];t.__esModule=!0,t.SourceLocation=r,t.id=i,t.stripFlags=o,t.stripComment=a,t.preparePath=s,t.prepareMustache=l,t.prepareRawBlock=u,t.prepareBlock=c;var h=n(12),f=p(h)},function(e,t,n){"use strict";function r(e,t,n){if(o.isArray(e)){for(var r=[],i=0,a=e.length;a>i;i++)r.push(t.wrap(e[i],n));return r}return"boolean"==typeof e||"number"==typeof e?e+"":e}function i(e){this.srcFile=e,this.source=[]}t.__esModule=!0;var o=n(13),a=void 0;try{}catch(s){}a||(a=function(e,t,n,r){this.src="",r&&this.add(r)},a.prototype={add:function(e){o.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){o.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),i.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,n=this.source.length;n>t;t++)e(this.source[t])},empty:function(){var e=void 0===arguments[0]?this.currentLocation||{start:{}}:arguments[0];return new a(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 a?e:(e=r(e,this,t),new a(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,n){return n=this.generateList(n),this.wrap([e,t?"."+t+"(":"(",n,")"])},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 n in e)if(e.hasOwnProperty(n)){var i=r(e[n],this);"undefined"!==i&&t.push([this.quotedString(n),":",i])}var o=this.generateList(t);return o.prepend("{"),o.add("}"),o},generateList:function(e,t){for(var n=this.empty(t),i=0,o=e.length;o>i;i++)i&&n.add(","),n.add(r(e[i],this,t));return n},generateArray:function(e,t){var n=this.generateList(e,t);return n.prepend("["),n.add("]"),n}},t["default"]=i,e.exports=t["default"]}])})}),define("source-map",[],function(e,t,n){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,n){define(function(e,t,n){function r(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._sources=new a,this._names=new a,this._mappings=[],this._sourcesContents=null}var i=e("source-map/base64-vlq"),o=e("source-map/util"),a=e("source-map/array-set").ArraySet;r.prototype._version=3,r.fromSourceMap=function(e){var t=e.sourceRoot,n=new r({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&n.setSourceContent(t,r)}),n},r.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._validateMapping(t,n,r,i),null==r||this._sources.has(r)||this._sources.add(r),null==i||this._names.has(i)||this._names.add(i),this._mappings.push({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},r.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},r.prototype.applySourceMap=function(e,t,n){var r=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.');r=e.file}var i=this._sourceRoot;null!=i&&(r=o.relative(i,r));var s=new a,l=new a;this._mappings.forEach(function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=n&&(t.source=o.join(n,t.source)),null!=i&&(t.source=o.relative(i,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var u=t.source;null==u||s.has(u)||s.add(u);var c=t.name;null==c||l.has(c)||l.add(c)},this),this._sources=s,this._names=l,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=i&&(t=o.relative(i,t)),this.setSourceContent(t,r))},this)},r.prototype._validateMapping=function(e,t,n,r){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(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&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},r.prototype._serializeMappings=function(){var e,t=0,n=1,r=0,a=0,s=0,l=0,u="";this._mappings.sort(o.compareByGeneratedPositions);for(var c=0,p=this._mappings.length;p>c;c++){if(e=this._mappings[c],e.generatedLine!==n)for(t=0;e.generatedLine!==n;)u+=";",n++;else if(c>0){if(!o.compareByGeneratedPositions(e,this._mappings[c-1]))continue;u+=","}u+=i.encode(e.generatedColumn-t),t=e.generatedColumn,null!=e.source&&(u+=i.encode(this._sources.indexOf(e.source)-l),l=this._sources.indexOf(e.source),u+=i.encode(e.originalLine-1-a),a=e.originalLine-1,u+=i.encode(e.originalColumn-r),r=e.originalColumn,null!=e.name&&(u+=i.encode(this._names.indexOf(e.name)-s),s=this._names.indexOf(e.name)))}return u},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.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},r.prototype.toString=function(){return JSON.stringify(this)},t.SourceMapGenerator=r})}),define("source-map/base64-vlq",[],function(e,t,n){define(function(e,t,n){function r(e){return 0>e?(-e<<1)+1:(e<<1)+0}function i(e){var t=1===(1&e),n=e>>1;return t?-n:n}var o=e("source-map/base64"),a=5,s=1<<a,l=s-1,u=s;t.encode=function(e){var t,n="",i=r(e);do t=i&l,i>>>=a,i>0&&(t|=u),n+=o.encode(t);while(i>0);return n},t.decode=function(e,t){var n,r,s=0,c=e.length,p=0,h=0;do{if(s>=c)throw new Error("Expected more digits in base 64 VLQ value.");r=o.decode(e.charAt(s++)),n=!!(r&u),r&=l,p+=r<<h,h+=a}while(n);t.value=i(p),t.rest=e.slice(s)}})}),define("source-map/base64",[],function(e,t,n){define(function(e,t,n){var r={},i={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){r[e]=t,i[t]=e}),t.encode=function(e){if(e in i)return i[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){if(e in r)return r[e];throw new TypeError("Not a valid base 64 digit: "+e)}})}),define("source-map/util",[],function(e,t,n){define(function(e,t,n){function r(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function i(e){var t=e.match(d);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(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 a(e){var t=e,n=i(e);if(n){if(!n.path)return e;t=n.path}for(var r,a="/"===t.charAt(0),s=t.split(/\/+/),l=0,u=s.length-1;u>=0;u--)r=s[u],"."===r?s.splice(u,1):".."===r?l++:l>0&&(""===r?(s.splice(u+1,l),l=0):(s.splice(u,2),l--));return t=s.join("/"),""===t&&(t=a?"/":"."),n?(n.path=t,o(n)):t}function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=i(t),r=i(e);if(r&&(e=r.path||"/"),n&&!n.scheme)return r&&(n.scheme=r.scheme),o(n);if(n||t.match(g))return t;if(r&&!r.host&&!r.path)return r.host=t,o(r);var s="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return r?(r.path=s,o(r)):s}function l(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");var n=i(e);return"/"==t.charAt(0)&&n&&"/"==n.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 n=e||"",r=t||"";return(n>r)-(r>n)}function h(e,t,n){var r;return(r=p(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r||n?r:(r=p(e.name,t.name))?r:(r=e.generatedLine-t.generatedLine,r?r:e.generatedColumn-t.generatedColumn))}function f(e,t,n){var r;return(r=e.generatedLine-t.generatedLine)?r:(r=e.generatedColumn-t.generatedColumn,r||n?r:(r=p(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r?r:p(e.name,t.name)))}t.getArg=r;var d=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,g=/^data:.+\,.+$/;t.urlParse=i,t.urlGenerate=o,t.normalize=a,t.join=s,t.relative=l,t.toSetString=u,t.fromSetString=c,t.compareByOriginalPositions=h,t.compareByGeneratedPositions=f})}),define("source-map/array-set",[],function(e,t,n){define(function(e,t,n){function r(){this._array=[],this._set={}}var i=e("source-map/util");r.fromArray=function(e,t){for(var n=new r,i=0,o=e.length;o>i;i++)n.add(e[i],t);return n},r.prototype.add=function(e,t){var n=this.has(e),r=this._array.length;(!n||t)&&this._array.push(e),n||(this._set[i.toSetString(e)]=r)},r.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,i.toSetString(e))},r.prototype.indexOf=function(e){if(this.has(e))return this._set[i.toSetString(e)];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},t.ArraySet=r})}),define("source-map/source-map-consumer",[],function(e,t,n){define(function(e,t,n){function r(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=i.getArg(t,"version"),r=i.getArg(t,"sources"),o=i.getArg(t,"names",[]),s=i.getArg(t,"sourceRoot",null),l=i.getArg(t,"sourcesContent",null),u=i.getArg(t,"mappings"),c=i.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(i.normalize),this._names=a.fromArray(o,!0),this._sources=a.fromArray(r,!0),this.sourceRoot=s,this.sourcesContent=l,this._mappings=u,this.file=c}var i=e("source-map/util"),o=e("source-map/binary-search"),a=e("source-map/array-set").ArraySet,s=e("source-map/base64-vlq");r.fromSourceMap=function(e){var t=Object.create(r.prototype);return t._names=a.fromArray(e._names.toArray(),!0),t._sources=a.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(i.compareByGeneratedPositions),t.__originalMappings=e._mappings.slice().sort(i.compareByOriginalPositions),t},r.prototype._version=3,Object.defineProperty(r.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?i.join(this.sourceRoot,e):e},this)}}),r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__originalMappings}}),r.prototype._nextCharIsMappingSeparator=function(e){var t=e.charAt(0);return";"===t||","===t},r.prototype._parseMappings=function(e,t){for(var n,r=1,o=0,a=0,l=0,u=0,c=0,p=e,h={};p.length>0;)if(";"===p.charAt(0))r++,p=p.slice(1),o=0;else if(","===p.charAt(0))p=p.slice(1);else{if(n={},n.generatedLine=r,s.decode(p,h),n.generatedColumn=o+h.value,o=n.generatedColumn,p=h.rest,p.length>0&&!this._nextCharIsMappingSeparator(p)){if(s.decode(p,h),n.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(s.decode(p,h),n.originalLine=a+h.value,a=n.originalLine,n.originalLine+=1,p=h.rest,0===p.length||this._nextCharIsMappingSeparator(p))throw new Error("Found a source and line, but no column");s.decode(p,h),n.originalColumn=l+h.value,l=n.originalColumn,p=h.rest,p.length>0&&!this._nextCharIsMappingSeparator(p)&&(s.decode(p,h),n.name=this._names.at(c+h.value),c+=h.value,p=h.rest)}this.__generatedMappings.push(n),"number"==typeof n.originalLine&&this.__originalMappings.push(n)}this.__generatedMappings.sort(i.compareByGeneratedPositions),this.__originalMappings.sort(i.compareByOriginalPositions)},r.prototype._findMapping=function(e,t,n,r,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,i)},r.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},r.prototype.originalPositionFor=function(e){var t={generatedLine:i.getArg(e,"line"),generatedColumn:i.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",i.compareByGeneratedPositions);if(n>=0){var r=this._generatedMappings[n];if(r.generatedLine===t.generatedLine){var o=i.getArg(r,"source",null);return null!=o&&null!=this.sourceRoot&&(o=i.join(this.sourceRoot,o)),{source:o,line:i.getArg(r,"originalLine",null),column:i.getArg(r,"originalColumn",null),name:i.getArg(r,"name",null)}}}return{source:null,line:null,column:null,name:null}},r.prototype.sourceContentFor=function(e){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=i.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var t;if(null!=this.sourceRoot&&(t=i.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];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.')},r.prototype.generatedPositionFor=function(e){var t={source:i.getArg(e,"source"),originalLine:i.getArg(e,"line"),originalColumn:i.getArg(e,"column")};null!=this.sourceRoot&&(t.source=i.relative(this.sourceRoot,t.source));var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions);if(n>=0){var r=this._originalMappings[n];return{line:i.getArg(r,"generatedLine",null),column:i.getArg(r,"generatedColumn",null),lastColumn:i.getArg(r,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},r.prototype.allGeneratedPositionsFor=function(e){var t={source:i.getArg(e,"source"),originalLine:i.getArg(e,"line"),originalColumn:1/0};null!=this.sourceRoot&&(t.source=i.relative(this.sourceRoot,t.source));var n=[],r=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions);if(r>=0)for(var o=this._originalMappings[r];o&&o.originalLine===t.originalLine;)n.push({line:i.getArg(o,"generatedLine",null),column:i.getArg(o,"generatedColumn",null),lastColumn:i.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[--r];return n.reverse()},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.prototype.eachMapping=function(e,t,n){var o,a=t||null,s=n||r.GENERATED_ORDER;switch(s){case r.GENERATED_ORDER:o=this._generatedMappings;break;case r.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var l=this.sourceRoot;o.map(function(e){var t=e.source;return null!=t&&null!=l&&(t=i.join(l,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,a)},t.SourceMapConsumer=r})}),define("source-map/binary-search",[],function(e,t,n){define(function(e,t,n){function r(e,t,n,i,o){var a=Math.floor((t-e)/2)+e,s=o(n,i[a],!0);return 0===s?a:s>0?t-a>1?r(a,t,n,i,o):a:a-e>1?r(e,a,n,i,o):0>e?-1:e}t.search=function(e,t,n){return 0===t.length?-1:r(-1,t.length,e,t,n)}})}),define("source-map/source-node",[],function(e,t,n){define(function(e,t,n){function r(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==i?null:i,this[l]=!0,null!=r&&this.add(r)}var i=e("source-map/source-map-generator").SourceMapGenerator,o=e("source-map/util"),a=/(\r?\n)/,s=/\r\n|[\s\S]/g,l="$$$isSourceNode$$$";r.fromStringWithSourceMap=function(e,t,n){function i(e,t){if(null===e||void 0===e.source)s.add(t);else{var i=n?o.join(n,e.source):e.source;s.add(new r(e.originalLine,e.originalColumn,i,t,e.name))}}var s=new r,l=e.split(a),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],n=t.substr(0,e.generatedColumn-p);return l[0]=t.substr(e.generatedColumn-p),p=e.generatedColumn,i(h,n),void(h=e)}var n="";i(h,u()),c++,p=0}for(;c<e.generatedLine;)s.add(u()),c++;if(p<e.generatedColumn){var t=l[0];s.add(t.substr(0,e.generatedColumn)),l[0]=t.substr(e.generatedColumn),p=e.generatedColumn}h=e},this),l.length>0&&(h&&i(h,u()),s.add(l.join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=o.join(n,e)),s.setSourceContent(e,r))}),s},r.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},r.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},r.prototype.walk=function(e){for(var t,n=0,r=this.children.length;r>n;n++)t=this.children[n],t[l]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;r-1>n;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[l]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;n>t;t++)this.children[t][l]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;n>t;t++)e(o.fromSetString(r[t]),this.sourceContents[r[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new i(e),r=!1,o=null,l=null,u=null,c=null;return this.walk(function(e,i){t.code+=e,null!==i.source&&null!==i.line&&null!==i.column?((o!==i.source||l!==i.line||u!==i.column||c!==i.name)&&n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name}),o=i.source,l=i.line,u=i.column,c=i.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,r=!1),e.match(s).forEach(function(e,s,l){a.test(e)?(t.line++,t.column=0,s+1===l.length?(o=null,r=!1):r&&n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name})):t.column+=e.length})}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},t.SourceNode=r})}),define("index",[],function(require,exports,module){"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(e){return 10>e?"0"+e:e}function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,r,i,o,a,s=gap,l=t[e];switch(l&&"object"==typeof l&&"function"==typeof l.toJSON&&(l=l.toJSON(e)),"function"==typeof rep&&(l=rep.call(t,e,l)),typeof l){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(l)){for(o=l.length,n=0;o>n;n+=1)a[n]=str(n,l)||"null";return i=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,i}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;o>n;n+=1)"string"==typeof rep[n]&&(r=rep[n],i=str(r,l),i&&a.push(quote(r)+(gap?": ":":")+i));else for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(i=str(r,l),i&&a.push(quote(r)+(gap?": ":":")+i));return i=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,i}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx,escapable,gap,indent,meta,rep;"function"!=typeof JSON.stringify&&(escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;n>r;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,JSON.parse=function(text,reviver){function walk(e,t){var n,r,i=e[t];if(i&&"object"==typeof i)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r=walk(i,n),void 0!==r?i[n]=r:delete i[n]);return reviver.call(e,t,i)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),module.exports=JSON}),define("jquery-pjax",[],function(e,t,n){var r=e("jquery");!function(e){function t(t,r,i){var o=this;return this.on("click.pjax",t,function(t){var a=e.extend({},v(r,i));a.container||(a.container=e(this).attr("data-pjax")||o),n(t,a)})}function n(t,n,r){r=v(n,r);var i=t.currentTarget;if("A"!==i.tagName.toUpperCase())throw"$.fn.pjax or $.pjax.click requires an anchor element";if(!(t.which>1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||location.protocol!==i.protocol||location.hostname!==i.hostname||i.href.indexOf("#")>-1&&m(i)==m(location)||t.isDefaultPrevented())){var a={url:i.href,container:e(i).attr("data-pjax"),target:i},s=e.extend({},a,r),l=e.Event("pjax:click");e(i).trigger(l,[s]),l.isDefaultPrevented()||(o(s),t.preventDefault(),e(i).trigger("pjax:clicked",[s]))}}function i(t,n,r){r=v(n,r);var i=t.currentTarget;if("FORM"!==i.tagName.toUpperCase())throw"$.pjax.submit requires a form element";var a={type:i.method.toUpperCase(),url:i.action,container:e(i).attr("data-pjax"),target:i};if("GET"!==a.type&&void 0!==window.FormData)a.data=new FormData(i),a.processData=!1,a.contentType=!1;else{if(e(i).find(":file").length)return;a.data=e(i).serializeArray()}o(e.extend({},a,r)),t.preventDefault()}function o(t){function n(t,n,i){i||(i={}),i.relatedTarget=r;var o=e.Event(t,i);return a.trigger(o,n),!o.isDefaultPrevented()}t=e.extend(!0,{},e.ajaxSettings,o.defaults,t),e.isFunction(t.url)&&(t.url=t.url());var r=t.target,i=g(t.url).hash,a=t.context=y(t.container);t.data||(t.data={}),e.isArray(t.data)?t.data.push({name:"_pjax",value:a.selector}):t.data._pjax=a.selector;var l;t.beforeSend=function(e,r){if("GET"!==r.type&&(r.timeout=0),e.setRequestHeader("X-PJAX","true"),e.setRequestHeader("X-PJAX-Container",a.selector),!n("pjax:beforeSend",[e,r]))return!1;r.timeout>0&&(l=setTimeout(function(){n("pjax:timeout",[e,t])&&e.abort("timeout")},r.timeout),r.timeout=0);var o=g(r.url);o.hash=i,t.requestUrl=d(o.href); +},t.complete=function(e,r){l&&clearTimeout(l),n("pjax:complete",[e,r,t]),n("pjax:end",[e,t])},t.error=function(e,r,i){var o=w("",e,t),a=n("pjax:error",[e,r,i,t]);"GET"==t.type&&"abort"!==r&&a&&s(o.url)},t.success=function(r,l,u){var c=o.state,h="function"==typeof e.pjax.defaults.version?e.pjax.defaults.version():e.pjax.defaults.version,f=u.getResponseHeader("X-PJAX-Version"),d=w(r,u,t),m=g(d.url);if(i&&(m.hash=i,d.url=m.href),h&&f&&h!==f)return void s(d.url);if(!d.contents)return void s(d.url);o.state={id:t.id||p(),url:d.url,title:d.title,container:a.selector,fragment:t.fragment,timeout:t.timeout},(t.push||t.replace)&&window.history.replaceState(o.state,d.title,d.url);try{document.activeElement.blur()}catch(v){}d.title&&(document.title=d.title),n("pjax:beforeReplace",[d.contents,t],{state:o.state,previousState:c}),a.html(d.contents);var y=a.find("input[autofocus], textarea[autofocus]").last()[0];y&&document.activeElement!==y&&y.focus(),S(d.scripts);var b=t.scrollTo;if(i){var x=decodeURIComponent(i.slice(1)),k=document.getElementById(x)||document.getElementsByName(x)[0];k&&(b=e(k).offset().top)}"number"==typeof b&&e(window).scrollTop(b),n("pjax:success",[r,l,u,t])},o.state||(o.state={id:p(),url:window.location.href,title:document.title,container:a.selector,fragment:t.fragment,timeout:t.timeout},window.history.replaceState(o.state,document.title)),c(o.xhr),o.options=t;var u=o.xhr=e.ajax(t);return u.readyState>0&&(t.push&&!t.replace&&(k(o.state.id,h(a)),window.history.pushState(null,"",t.requestUrl)),n("pjax:start",[u,t]),n("pjax:send",[u,t])),o.xhr}function a(t,n){var r={url:window.location.href,push:!1,replace:!0,scrollTo:!1};return o(e.extend(r,v(t,n)))}function s(e){window.history.replaceState(null,"",o.state.url),window.location.replace(e)}function l(t){T||c(o.xhr);var n=o.state,r=t.state;if(r&&r.container){if(T&&P==r.url)return;var i,a=r.container;if(n){if(n.id===r.id)return;i=n.id<r.id?"forward":"back","back"==i&&(a=n.container)}var l=e(a);if(l.length){var u=j[r.id];n&&C(i,n.id,h(l));var p=e.Event("pjax:popstate",{state:r,direction:i});l.trigger(p);var f={id:r.id,url:r.url,container:l,push:!1,fragment:r.fragment,timeout:r.timeout,scrollTo:!1};if(u){l.trigger("pjax:start",[null,f]),o.state=r,r.title&&(document.title=r.title);var d=e.Event("pjax:beforeReplace",{state:r,previousState:n});l.trigger(d,[u,f]),l.html(u),l.trigger("pjax:end",[null,f])}else o(f);l[0].offsetHeight}else s(location.href)}T=!1}function u(t){var n=e.isFunction(t.url)?t.url():t.url,r=t.type?t.type.toUpperCase():"GET",i=e("<form>",{method:"GET"===r?"GET":"POST",action:n,style:"display:none"});"GET"!==r&&"POST"!==r&&i.append(e("<input>",{type:"hidden",name:"_method",value:r.toLowerCase()}));var o=t.data;if("string"==typeof o)e.each(o.split("&"),function(t,n){var r=n.split("=");i.append(e("<input>",{type:"hidden",name:r[0],value:r[1]}))});else if(e.isArray(o))e.each(o,function(t,n){i.append(e("<input>",{type:"hidden",name:n.name,value:n.value}))});else if("object"==typeof o){var a;for(a in o)i.append(e("<input>",{type:"hidden",name:a,value:o[a]}))}e(document.body).append(i),i.submit()}function c(t){t&&t.readyState<4&&(t.onreadystatechange=e.noop,t.abort())}function p(){return(new Date).getTime()}function h(e){var t=e.clone();return t.find("script").each(function(){this.src||r._data(this,"globalEval",!1)}),t.contents()}function f(e,t){return e.replace(new RegExp("[?&]"+t+"=[^&#]*"),"").replace(/[?&]($|#)/,"").replace(/[?&]/,"?")}function d(e){return e=f(e,"_pjax"),e=f(e,"_")}function g(e){var t=document.createElement("a");return t.href=e,t}function m(e){return e.href.replace(/#.*/,"")}function v(t,n){return t&&n?n.container=t:n=e.isPlainObject(t)?t:{container:t},n.container&&(n.container=y(n.container)),n}function y(t){if(t=e(t),t.length){if(""!==t.selector&&t.context===document)return t;if(t.attr("id"))return e("#"+t.attr("id"));throw"cant get selector for pjax container!"}throw"no pjax container for "+t.selector}function b(e,t){return e.filter(t).add(e.find(t))}function x(t){return e.parseHTML(t,document,!0)}function w(t,n,r){var i={},o=/<html/i.test(t),a=n.getResponseHeader("X-PJAX-URL");if(i.url=a?d(a):r.requestUrl,o)var s=e(x(t.match(/<head[^>]*>([\s\S.]*)<\/head>/i)[0])),l=e(x(t.match(/<body[^>]*>([\s\S.]*)<\/body>/i)[0]));else var s=l=e(x(t));if(0===l.length)return i;if(i.title=b(s,"title").last().text(),r.fragment){if("body"===r.fragment)var u=l;else var u=b(l,r.fragment).first();u.length&&(i.contents="body"===r.fragment?u:u.contents(),i.title||(i.title=u.attr("title")||u.data("title")))}else o||(i.contents=l);return i.contents&&(i.contents=i.contents.not(function(){return e(this).is("title")}),i.contents.find("title").remove(),i.scripts=b(i.contents,"script[src]").remove(),i.contents=i.contents.not(i.scripts)),i.title&&(i.title=e.trim(i.title)),i}function S(t){if(t){var n=e("script[src]");t.each(function(){var t=this.src,r=n.filter(function(){return this.src===t});if(!r.length){var i=document.createElement("script"),o=e(this).attr("type");o&&(i.type=o),i.src=e(this).attr("src"),document.head.appendChild(i)}})}}function k(e,t){j[e]=t,M.push(e),_(O,0),_(M,o.defaults.maxCacheLength)}function C(e,t,n){var r,i;j[t]=n,"forward"===e?(r=M,i=O):(r=O,i=M),r.push(t),(t=i.pop())&&delete j[t],_(r,o.defaults.maxCacheLength)}function _(e,t){for(;e.length>t;)delete j[e.shift()]}function E(){return e("meta").filter(function(){var t=e(this).attr("http-equiv");return t&&"X-PJAX-VERSION"===t.toUpperCase()}).attr("content")}function A(){e.fn.pjax=t,e.pjax=o,e.pjax.enable=e.noop,e.pjax.disable=N,e.pjax.click=n,e.pjax.submit=i,e.pjax.reload=a,e.pjax.defaults={timeout:650,push:!0,replace:!1,type:"GET",dataType:"html",scrollTo:0,maxCacheLength:20,version:E},e(window).on("popstate.pjax",l)}function N(){e.fn.pjax=function(){return this},e.pjax=u,e.pjax.enable=A,e.pjax.disable=e.noop,e.pjax.click=e.noop,e.pjax.submit=e.noop,e.pjax.reload=function(){window.location.reload()},e(window).off("popstate.pjax",l)}var T=!0,P=window.location.href,L=window.history.state;L&&L.container&&(o.state=L),"state"in window.history&&(T=!1);var j={},O=[],M=[];e.inArray("state",e.event.props)<0&&e.event.props.push("state"),e.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),e.support.pjax?A():N()}(r)}),define("dot",[],function(e,t,n){e("lib/jquery.dotdotdot"),n.exports=function(e){e.dotdotdot({wrap:"letter"})}}),define("lib/jquery.dotdotdot",[],function(e,t,n){var r=e("jquery");!function(e,t){function n(e,t,n){var r=e.children(),i=!1;e.empty();for(var a=0,s=r.length;s>a;a++){var l=r.eq(a);if(e.append(l),n&&e.append(n),o(e,t)){l.remove(),i=!0;break}n&&n.detach()}return i}function r(t,n,a,s,l){var u=!1,c="a, table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style",p="script, .dotdotdot-keep";return t.contents().detach().each(function(){var h=this,f=e(h);if("undefined"==typeof h)return!0;if(f.is(p))t.append(f);else{if(u)return!0;t.append(f),!l||f.is(s.after)||f.find(s.after).length||t[t.is(c)?"after":"append"](l),o(a,s)&&(u=3==h.nodeType?i(f,n,a,s,l):r(f,n,a,s,l),u||(f.detach(),u=!0)),u||l&&l.detach()}}),n.addClass("is-truncated"),u}function i(t,n,r,i,s){var c=t[0];if(!c)return!1;var h=u(c),f=-1!==h.indexOf(" ")?" ":" ",d="letter"==i.wrap?"":f,g=h.split(d),m=-1,v=-1,y=0,b=g.length-1;for(i.fallbackToLetter&&0==y&&0==b&&(d="",g=h.split(d),b=g.length-1);b>=y&&(0!=y||0!=b);){var x=Math.floor((y+b)/2);if(x==v)break;v=x,l(c,g.slice(0,v+1).join(d)+i.ellipsis),o(r,i)?(b=v,i.fallbackToLetter&&0==y&&0==b&&(d="",g=g[0].split(d),m=-1,v=-1,y=0,b=g.length-1)):(m=v,y=v)}if(-1==m||1==g.length&&0==g[0].length){var w=t.parent();t.detach();var S=s&&s.closest(w).length?s.length:0;w.contents().length>S?c=p(w.contents().eq(-1-S),n):(c=p(w,n,!0),S||w.detach()),c&&(h=a(u(c),i),l(c,h),S&&s&&e(c).parent().append(s))}else h=a(g.slice(0,m+1).join(d),i),l(c,h);return!0}function o(e,t){return e.innerHeight()>t.maxHeight}function a(t,n){for(;e.inArray(t.slice(-1),n.lastCharacter.remove)>-1;)t=t.slice(0,-1);return e.inArray(t.slice(-1),n.lastCharacter.noEllipsis)<0&&(t+=n.ellipsis),t}function s(e){return{width:e.innerWidth(),height:e.innerHeight()}}function l(e,t){e.innerText?e.innerText=t:e.nodeValue?e.nodeValue=t:e.textContent&&(e.textContent=t)}function u(e){return e.innerText?e.innerText:e.nodeValue?e.nodeValue:e.textContent?e.textContent:""}function c(e){do e=e.previousSibling;while(e&&1!==e.nodeType&&3!==e.nodeType);return e}function p(t,n,r){var i,o=t&&t[0];if(o){if(!r){if(3===o.nodeType)return o;if(e.trim(t.text()))return p(t.contents().last(),n)}for(i=c(o);!i;){if(t=t.parent(),t.is(n)||!t.length)return!1;i=c(t[0])}if(i)return p(e(i),n)}return!1}function h(t,n){return t?"string"==typeof t?(t=e(t,n),t.length?t:!1):t.jquery?t:!1:!1}function f(e){for(var t=e.innerHeight(),n=["paddingTop","paddingBottom"],r=0,i=n.length;i>r;r++){var o=parseInt(e.css(n[r]),10);isNaN(o)&&(o=0),t-=o}return t}if(!e.fn.dotdotdot){e.fn.dotdotdot=function(t){if(0==this.length)return e.fn.dotdotdot.debug('No element found for "'+this.selector+'".'),this;if(this.length>1)return this.each(function(){e(this).dotdotdot(t)});var i=this;i.data("dotdotdot")&&i.trigger("destroy.dot"),i.data("dotdotdot-style",i.attr("style")||""),i.css("word-wrap","break-word"),"nowrap"===i.css("white-space")&&i.css("white-space","normal"),i.bind_events=function(){return i.bind("update.dot",function(t,s){i.removeClass("is-truncated"),t.preventDefault(),t.stopPropagation(),l.maxHeight="number"==typeof l.height?l.height:f(i),l.maxHeight+=l.tolerance,"undefined"!=typeof s&&(("string"==typeof s||"nodeType"in s&&1===s.nodeType)&&(s=e("<div />").append(s).contents()),s instanceof e&&(a=s)),g=i.wrapInner('<div class="dotdotdot" />').children(),g.contents().detach().end().append(a.clone(!0)).find("br").replaceWith(" <br /> ").end().css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var c=!1,p=!1;return u.afterElement&&(c=u.afterElement.clone(!0),c.show(),u.afterElement.detach()),o(g,l)&&(p="children"==l.wrap?n(g,l,c):r(g,i,g,l,c)),g.replaceWith(g.contents()),g=null,e.isFunction(l.callback)&&l.callback.call(i[0],p,a),u.isTruncated=p,p}).bind("isTruncated.dot",function(e,t){return e.preventDefault(),e.stopPropagation(),"function"==typeof t&&t.call(i[0],u.isTruncated),u.isTruncated}).bind("originalContent.dot",function(e,t){return e.preventDefault(),e.stopPropagation(),"function"==typeof t&&t.call(i[0],a),a}).bind("destroy.dot",function(e){e.preventDefault(),e.stopPropagation(),i.unwatch().unbind_events().contents().detach().end().append(a).attr("style",i.data("dotdotdot-style")||"").data("dotdotdot",!1)}),i},i.unbind_events=function(){return i.unbind(".dot"),i},i.watch=function(){if(i.unwatch(),"window"==l.watch){var t=e(window),n=t.width(),r=t.height();t.bind("resize.dot"+u.dotId,function(){n==t.width()&&r==t.height()&&l.windowResizeFix||(n=t.width(),r=t.height(),p&&clearInterval(p),p=setTimeout(function(){i.trigger("update.dot")},100))})}else c=s(i),p=setInterval(function(){if(i.is(":visible")){var e=s(i);(c.width!=e.width||c.height!=e.height)&&(i.trigger("update.dot"),c=e)}},500);return i},i.unwatch=function(){return e(window).unbind("resize.dot"+u.dotId),p&&clearInterval(p),i};var a=i.contents(),l=e.extend(!0,{},e.fn.dotdotdot.defaults,t),u={},c={},p=null,g=null;return l.lastCharacter.remove instanceof Array||(l.lastCharacter.remove=e.fn.dotdotdot.defaultArrays.lastCharacter.remove),l.lastCharacter.noEllipsis instanceof Array||(l.lastCharacter.noEllipsis=e.fn.dotdotdot.defaultArrays.lastCharacter.noEllipsis),u.afterElement=h(l.after,i),u.isTruncated=!1,u.dotId=d++,i.data("dotdotdot",!0).bind_events().trigger("update.dot"),l.watch&&i.watch(),i},e.fn.dotdotdot.defaults={ellipsis:"... ",wrap:"word",fallbackToLetter:!0,lastCharacter:{},tolerance:0,callback:null,after:null,height:null,watch:!1,windowResizeFix:!0},e.fn.dotdotdot.defaultArrays={lastCharacter:{remove:[" "," ",",",";",".","!","?"],noEllipsis:[]}},e.fn.dotdotdot.debug=function(e){};var d=1,g=e.fn.html;e.fn.html=function(n){return n!=t&&!e.isFunction(n)&&this.data("dotdotdot")?this.trigger("update",[n]):g.apply(this,arguments)};var m=e.fn.text;e.fn.text=function(n){return n!=t&&!e.isFunction(n)&&this.data("dotdotdot")?(n=e("<div />").text(n).html(),this.trigger("update",[n])):m.apply(this,arguments)}}}(r)}),define("jquery.placeholder",[],function(e,t,n){var r=e("jquery");!function(e){function t(t){var n={},r=/^jQuery\d+$/;return e.each(t.attributes,function(e,t){t.specified&&!r.test(t.name)&&(n[t.name]=t.value)}),n}function n(t,n){var r=this,o=e(this);if(r.value===o.attr(s?"placeholder-x":"placeholder")&&o.hasClass(f.customClass))if(r.value="",o.removeClass(f.customClass),o.data("placeholder-password")){if(o=o.hide().nextAll('input[type="password"]:first').show().attr("id",o.removeAttr("id").data("placeholder-id")),t===!0)return o[0].value=n,n;o.focus()}else r==i()&&r.select()}function r(r){var i,o=this,a=e(this),l=o.id;if(!r||"blur"!==r.type||!a.hasClass(f.customClass))if(""===o.value){if("password"===o.type){if(!a.data("placeholder-textinput")){try{i=a.clone().prop({type:"text"})}catch(u){i=e("<input>").attr(e.extend(t(this),{type:"text"}))}i.removeAttr("name").data({"placeholder-enabled":!0,"placeholder-password":a,"placeholder-id":l}).bind("focus.placeholder",n),a.data({"placeholder-textinput":i,"placeholder-id":l}).before(i)}o.value="",a=a.removeAttr("id").hide().prevAll('input[type="text"]:first').attr("id",a.data("placeholder-id")).show()}else{var c=a.data("placeholder-password");c&&(c[0].value="",a.attr("id",a.data("placeholder-id")).show().nextAll('input[type="password"]:last').hide().removeAttr("id"))}a.addClass(f.customClass),a[0].value=a.attr(s?"placeholder-x":"placeholder")}else a.removeClass(f.customClass)}function i(){try{return document.activeElement}catch(e){}}var o,a,s=!1,l="[object OperaMini]"===Object.prototype.toString.call(window.operamini),u="placeholder"in document.createElement("input")&&!l&&!s,c="placeholder"in document.createElement("textarea")&&!l&&!s,p=e.valHooks,h=e.propHooks,f={};u&&c?(a=e.fn.placeholder=function(){return this},a.input=!0,a.textarea=!0):(a=e.fn.placeholder=function(t){var i={customClass:"placeholder"};return f=e.extend({},i,t),this.filter((u?"textarea":":input")+"["+(s?"placeholder-x":"placeholder")+"]").not("."+f.customClass).not(":radio, :checkbox, :hidden").bind({"focus.placeholder":n,"blur.placeholder":r}).data("placeholder-enabled",!0).trigger("blur.placeholder")},a.input=u,a.textarea=c,o={get:function(t){var n=e(t),r=n.data("placeholder-password");return r?r[0].value:n.data("placeholder-enabled")&&n.hasClass(f.customClass)?"":t.value},set:function(t,o){var a,s,l=e(t);return""!==o&&(a=l.data("placeholder-textinput"),s=l.data("placeholder-password"),a?(n.call(a[0],!0,o)||(t.value=o),a[0].value=o):s&&(n.call(t,!0,o)||(s[0].value=o),t.value=o)),l.data("placeholder-enabled")?(""===o?(t.value=o,t!=i()&&r.call(t)):(l.hasClass(f.customClass)&&n.call(t),t.value=o),l):(t.value=o,l)}},u||(p.input=o,h.value=o),c||(p.textarea=o,h.value=o),e(function(){e(document).delegate("form","submit.placeholder",function(){var t=e("."+f.customClass,this).each(function(){n.call(this,!0,"")});setTimeout(function(){t.each(r)},10)})}),e(window).bind("beforeunload.placeholder",function(){var t=!0;try{"javascript:void(0)"===document.activeElement.toString()&&(t=!1)}catch(n){}t&&e("."+f.customClass).each(function(){this.value=""})}))}(r)}); \ No newline at end of file diff --git a/web-static/dist/yohobuy/0.0.4/index-debug.js b/web-static/dist/yohobuy/0.0.4/index-debug.js new file mode 100644 index 0000000..e5fd0f2 --- /dev/null +++ b/web-static/dist/yohobuy/0.0.4/index-debug.js @@ -0,0 +1,6846 @@ +define("index", ["jquery","handlebars","source-map","index","lazyload","jquery.placeholder"], function(require, exports, module){ +var webYohobuy; + +require("js/common"); +require("js/header"); +require("js/simple-header"); +require("js/product/entry"); +require("js/home/entry"); +require("js/passport/entry"); + +module.exports = webYohobuy; + +}); +define("js/common", ["jquery"], function(require, exports, module){ +/** + * 页面公共逻辑和接口 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/23 + */ +var $ = require("jquery"); + + +var $body = $('body'); + +require("js/footer"); + +function cookie(name) { + var re = new RegExp(name + '=([^;$]*)', 'i'), + matchPattern = '$1'; + + return re.test(decodeURIComponent(document.cookie)) ? RegExp[matchPattern] : ''; +} + +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; +} + +//YAS统计代码 +(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.14/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.14', 'yohobuy_web', uid, '', ''); + } +}()); + +//window.resize在width<1180时适配成990 +$(window).on('resize', function() { + var w = $(this).width(); + + //return top + if (w < 1360) { + $('.return-top').addClass('min'); + } else { + $('.return-top').removeClass('min'); + } + + //body + if (w < 1180) { + $body.addClass('min-screen'); + } else { + $body.removeClass('min-screen'); + } +}).trigger('resize'); + +function queryString() { + var vars = {}, + hash, + i, + search = window.location.search, + hashes = search ? decodeURIComponent(search).slice(1).split('&') : []; + + for (i = 0; i < hashes.length; i++) { + hash = hashes[i].split('='); + vars[hash[0]] = hash[1]; + } + return vars; +} + +window.cookie = cookie; + +window.setCookie = setCookie; + +window.getUser = getUser; + +window.getUid = getUid; + +window.getShoppingKey = getShoppingKey; + +window.queryString = queryString; + +}); +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'); + +/** + * 订阅 + * @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 iconCode = { + mail: '', + tick: '' + }; + + $subscriberBox.focus(function() { + $(this).val('').css('color', ''); + $subscriberBtn.removeClass('done').html(iconCode.mail); + }); + + $subscriberBtn.click(function() { + var email = $.trim($subscriberBox.val()); + + if (email !== '' && emailReg.test(email)) { + try { + $.ajax({ + url: 'http://new.yohobuy.com/common/emailsubscriber', + dataType: 'jsonp', + data: { + email: email, + tmp: Math.random(), + uid: window.getUid() + }, + success: 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(), + _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()); + }); + + $.ajax({ + url: 'http://new.yohobuy.com/common/suggestfeedback', + dataType: 'jsonp', + data: { + feedback_id: _feedback || 0, + question_id: _question || 0, + answer: _answer || '', + solution: _solution.join(',') + }, + success: function(data) { + var next = index + 1; + + if (~~data.data.result === 1) { + if (index === count - 1) { + alert('感谢您的参与!'); + return; + } + + $li.addClass('hide'); + + $vote.children(':eq(' + (index + 1) + ')').removeClass('hide'); + $feedBackPage.children('.cur').removeClass('cur'); + $feedBackPage.children(':eq(' + next + ')').addClass('cur'); + } + } + }); + }); +} + +function rePosReturn() { + if ($(window).height() > $(document).height()) { + $returnTop.addClass('hide'); + } + + // 只在窗口高度大于文档高度的时候,隐藏返回顶部 + // else { + // $returnTop.removeClass('hide'); + // } +} + +//返回顶部 +$returnTop.click(function() { + $('html,body').animate({ + scrollTop: 0 + }, 500); +}); + +$(window).scroll(function() { + if ($(window).scrollTop() === 0) { + $returnTop.addClass('hide'); + } else { + $returnTop.removeClass('hide'); + } +}); + +//如果初始是隐藏的,监听图片加载,重新确定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 vipInfoCombine = null; //用户信息编译模板 +var loginInfoCombine = null; //登录信息编译模板 +var apiDomain = $('#api-domain').val(); //获取数据的地址 +var cartTpl = ''; //购物车模板 +/** + * 搜寻的时候过滤非法字符(+-/:等非法字符单独出现) + * @type {RegExp} + */ +var reg = /^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/\s]{0,}$/g; +var keyword = ''; +var link = ''; +var dataLayer = []; +var requestFrame = null; +var logoanimationstart = 0; +var $logotrans = $('.icon-logo'); +var isen = true; +var loopdurationtime = 500; +var globaltimeout; +var onetimeoout; +/** + * banner和地址的映射 + * @type {Object} + */ +var 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' +}; +var cookieMap = {}; + +var bannerApi = 'http://new.yohobuy.com/common/getbanner?content_code='; + +$('#api-domain').remove(); //删除信息表单 + +function getSource(column, postition, event) { + try { + dataLayer.push({ + louceng: column, + weizhi: postition, + event: event + }); + } catch (e) {} +} + + +window.submitSearch = function() { + var $keywordinput = $('#query_key').val(); + var column = 'Search'; + var postition = 'Head Search'; + var event = 'Search'; + var $formatkeyword, + $formatkeywordinput; + + $formatkeyword = $.trim(keyword.toLowerCase()); + $formatkeywordinput = $.trim($keywordinput.toLowerCase()); + getSource(column, postition, event); + if (link !== '' && keyword !== '' && $formatkeyword === $formatkeywordinput) { + location.href = link.replace('\'', ''); + } else { + if (reg.test($keywordinput)) { + location.href = 'http://search.yohobuy.com/error?query=' + $keywordinput + '&result=error'; + } else { + $('#searchForm').submit(); + return false; + } + } +}; +/** + * 增加关键字 + * @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(''); + }); + } +} +/** + * 定义购物车扩展 + */ + +function actionGoodsCart() { + var defaults = { + cookie: '_g', + cartNum: '' + }; + var params = ''; + var cartInfo = ''; + var queryNum = 0; + var listIndex = 0; + var tmpList = 0; + var totalNum = 0; + var text = ''; + + $.fn.miniCart = function(options) { + params = $.extend(defaults, options); + if (typeof window.cookie(params.cookie) === 'undefined') { + cartInfo = null; + } else { + if (params.cookie) { + try { + cartInfo = json2.parse(window.cookie(params.cookie)); + } catch (e) { + + } + + } + + } + if (cartInfo !== null && cartInfo !== '') { + 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) { + + 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 + '?query=' + key, function(htmlData) { + $('.search-list').html(htmlData.data); + queryNum = $('.search-list').children('li').length; + listIndex = -1; + if (queryNum > 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(' + tmpList + ')').children('a').css('background-color', '#fff'); + $('.search-list li:eq(' + listIndex + ')').children('a').css('background-color', '#eee'); + text = $('.search-list li:eq(' + listIndex + ')').children('a').attr('title'); + $('#query_key').val(text); + } + return this.each(function() { + $(this).keyup(function(event) { + if (event.which === 38) { + if (queryNum === 0) { + return false; + } + if (listIndex === -1) { + listIndex = 0; + } + tmpList = listIndex; + listIndex = (listIndex - 1 + queryNum) % queryNum; + getText(this); + } else if (event.which === 40) { + if (queryNum === 0) { + return false; + } + tmpList = listIndex; + listIndex = (listIndex + 1) % queryNum; + getText(this); + } else if (event.which === 13) { + window.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() + }; + var params = ''; + + if (typeof (domain) === undefined || domain === '') { + return false; + } + params = $.extend(defaults, options); + params.page = params.page || 1; + if (params.method === '') { + return false; + } + try { + $.getJSON(domain + '/?callback=?', params, function(_data) { + if (onSuccess !== '') { + if (typeof onSuccess(_data.data) !== 'undefined') { + json2.parse(onSuccess(_data.data)); + } + return false; + } + }); + } catch (e) { + console.log(e.message); + } + }, + getShoppingKey: function() { + var shoppingInfo = window.cookie('_g'); + var shoppingData = json2.parse(shoppingInfo); + + if (typeof shoppingInfo === 'undefined' || shoppingInfo === null) { + return ''; + } + return shoppingData._k; + } + }); +} +/** + * 判断为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); + } +}); +/** + * 时间戳 + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ +handlebars.registerHelper('timestamp', function() { + return new Date().getTime(); +}); +/** + * 头像 + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ +handlebars.registerHelper('headerimg', function(headerimg) { + + if (headerimg === '') { + return 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif' + + '?imageView/2/w/100/h/100'; + } else { + return headerimg; + } + +}); +/** + * 判断等级为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); + } +}); + +/** + * 获取头部banner的回调函数 + * @param {[type]} data [description] + */ +function JsonPCallBack(data) { + var topbanner; + + if (+data.code === 200) { + if (typeof data.data === 'object') { + if (data.data.url !== '') { + topbanner = '<a target="_blank" href="' + data.data.url + '" class="page-top-banner"' + + 'style="height:36px;border:none;background-image:url(' + window.unescape(data.data.src) + ');' + + 'background-position: center;display:block;"> </a>'; + } else { + topbanner = '<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>'; + } + $('body').prepend(topbanner); + } + } +} + +window.JsonPCallBack = JsonPCallBack; + + +/** + * 获得banner数据 + * @param {[string]} code [banner对应的编码] + * @return {[type]} [description] + */ +function getBannerData(code) { + var script = document.createElement('script'); + + script.src = bannerApi + code + '&client_type=web&callback=JsonPCallBack'; + document.getElementsByTagName('head')[0].appendChild(script); +} + +/** + * 显示和隐藏 + * @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 requestFrameAct() { + 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) { + requestAnimationFrame(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); + }; +} + + +/** + * css3动画 + * @return {[type]} [description] + */ + +function tsAnimate() { + logoanimationstart += 10; + $logotrans.css({ + transform: 'rotateX(' + logoanimationstart + 'deg)', + '-webkit-transform': 'rotateX(' + logoanimationstart + 'deg)', + '-moz-transform': 'rotateX(' + logoanimationstart + 'deg)' + }); + if (logoanimationstart / 90 % 2 === 1) { + if (isen) { + $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo1.png)'); + isen = false; + } else { + $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); + isen = true; + } + } + if (logoanimationstart / 90 % 2 === 0 && logoanimationstart % 360 !== 0) { + window.setTimeout(tsAnimate, 3000); + } else { + if (logoanimationstart % 360 === 0) { + window.setTimeout(tsAnimate, 1 * 60 * 1000); + } else { + requestFrame(function() { + tsAnimate(); + }); + } + } +} + +/** + * 淡出 + * @return {[type]} [description] + */ +function fadeAnimate() { + if (globaltimeout) { + window.clearTimeout(globaltimeout); + } + $logotrans.fadeOut(loopdurationtime, function() { + isen = false; + + $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo.png)'); + $logotrans.fadeIn(loopdurationtime, function() { + onetimeoout = window.setTimeout(function() { + $logotrans.fadeOut(loopdurationtime, function() { + window.clearTimeout(onetimeoout); + isen = true; + $logotrans.css('background-image', + 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); + $logotrans.fadeIn(loopdurationtime, function() { + globaltimeout = window.setTimeout(fadeAnimate, 1 * 60 * 1000); + }); + }); + }, 3000); + }); + }); +} +/** + * 执行头部logo动画 + * @return {[type]} [description] + */ +function actionTopLogoAnimate() { + if (isSupportCss3Animation()) { + requestFrame = requestFrameAct(); + window.setTimeout(tsAnimate, 3000); + } else { + window.setTimeout(fadeAnimate, 3000); + } +} +window.newArr = []; +window.wrapperindex = 0; +window.gindex = 0; +window.targetArr1 = []; +window.targetArr2 = []; +window.targetArr3 = []; +window.oh1 = 0; +window.oh2 = 0; +window.oh3 = 0; +window.valueIndex = 0; +window.nowIndex = 0; +window.inner1 = ''; +window.inner2 = ''; +window.inner3 = ''; +window.finalresult = ''; + +function createNewArray(obj) { + var $thirdnavpanel = $(obj); + + $thirdnavpanel.find('.thirdnavbar').each(function() { + var $that = $(this); + var $alink = $that.find('a'); + var _href = $alink.attr('href'); + var hottag = $alink.attr('hot') === 'hot' ? true : false; + var objt = {}; + + if ($that.hasClass('category-title')) { + objt = { + type: 'title', + height: 49, + content: $that.text(), + index: window.valueIndex, + href: _href, + hot: false + }; + } else { + objt = { + type: 'catlist', + height: 36, + content: $alink.text(), + index: window.valueIndex, + href: _href, + hot: hottag + }; + } + window.valueIndex++; + window.newArr.push(objt); + }); +} + +function createWrapper() { + var arrlength = window.newArr.length; + var i = 0; + var objnew = []; + var aobj = []; + var bobj = []; + var cobj = []; + var final1 = '', + final2 = '', + final3 = ''; + var a = 0; + var b = 0; + var c = 0; + + for (i; i < arrlength; i++) { + objnew = window.newArr[i]; + if (window.gindex === 0) { + window.oh1 = (window.oh1 + objnew.height); + if (window.oh1 >= 340 && i !== (arrlength - 1)) { + window.targetArr1 = window.newArr.slice(0, objnew.index + 1); + window.nowIndex = objnew.index + 1; + window.gindex++; + } + if (i === (arrlength - 1)) { + window.targetArr1 = window.newArr.slice(0, arrlength + 1); + break; + } + } + if (window.gindex === 1) { + window.oh2 = (window.oh2 + objnew.height); + if (window.oh2 >= 340 && i !== (arrlength - 1)) { + window.targetArr2 = window.newArr.slice(window.nowIndex, objnew.index + 1); + window.nowIndex = objnew.index + 1; + window.gindex++; + } + if (i === (arrlength - 1)) { + window.targetArr2 = window.newArr.slice(window.nowIndex, arrlength + 1); + break; + } + } + if (window.gindex === 2) { + window.oh3 = (window.oh3 + objnew.height); + if (window.oh3 >= 340 && i !== (arrlength - 1)) { + window.targetArr3 = window.newArr.slice(window.nowIndex, objnew.index + 1); + window.nowIndex = objnew.index + 1; + window.gindex++; + break; + } + if (i === (arrlength - 1)) { + window.targetArr3 = window.newArr.slice(window.nowIndex, arrlength + 1); + break; + } + } + } + for (a; a < window.targetArr1.length; a++) { + aobj = window.targetArr1[a] || {}; + if (aobj.type === 'title') { + window.inner1 = window.inner1 + + '<li class="cattitle"><h3><a href="' + + aobj.href + + '">' + + aobj.content + + '</a></h3></li>'; + } else { + if (aobj.hot === true) { + window.inner1 = window.inner1 + + '<li class="catdetail"><a class="thirdcatelink hot" href="' + + aobj.href + + '">' + + aobj.content + + '</a></li>'; + } else { + window.inner1 = window.inner1 + + '<li class="catdetail"><a class="thirdcatelink" href="' + + aobj.href + '">' + + aobj.content + + '</a></li>'; + } + + } + } + for (b; b < window.targetArr2.length; b++) { + bobj = window.targetArr2[b] || {}; + if (bobj.type === 'title') { + window.inner2 = (window.inner2 + + '<li class="cattitle"><h3><a href="' + + bobj.href + '">' + + bobj.content + + '</a></h3></li>'); + } else { + if (bobj.hot === true) { + window.inner2 = (window.inner2 + + '<li class="catdetail"><a class="thirdcatelink hot" href="' + + bobj.href + '">' + bobj.content + '</a></li>'); + } else { + window.inner2 = (window.inner2 + + '<li class="catdetail"><a class="thirdcatelink" href="' + + bobj.href + '">' + bobj.content + '</a></li>'); + } + + } + } + for (c; c < window.targetArr3.length; c++) { + cobj = window.targetArr3[c] || {}; + if (cobj.type === 'title') { + window.inner3 = (window.inner3 + + '<li class="cattitle"><h3><a href="' + + cobj.href + + '">' + + cobj.content + + '</a></h3></li>'); + } else { + if (cobj.hot === true) { + window.inner3 = (window.inner3 + + '<li class="catdetail"><a class="thirdcatelink hot" href="' + + cobj.href + '">' + + cobj.content + + '</a></li>'); + } else { + window.inner3 = (window.inner3 + + '<li class="catdetail"><a class="thirdcatelink" href="' + + cobj.href + '">' + + cobj.content + + '</a></li>'); + } + + } + } + if (window.inner1 !== '') { + final1 = '<ul class="cate_row1 cate_row">' + + window.inner1 + + '</ul>'; + } + if (window.inner2 !== '') { + final2 = '<ul class="cate_row2 cate_row">' + + window.inner2 + + '</ul>'; + } + if (window.inner3 !== '') { + final3 = '<ul class="cate_row3 cate_row">' + + window.inner3 + + '</ul>'; + } + window.finalresult = final1 + final2 + final3; + $('#' + window.wrapperindex).empty().append(window.finalresult); +} + +function actionNav() { + $('.categorywrapper').each(function(index) { + window.wrapperindex = $(this).attr('id'); + window.newArr = []; + window.gindex = 0; + window.targetArr1 = []; + window.targetArr2 = []; + window.targetArr3 = []; + window.oh1 = 0; + window.oh2 = 0; + window.oh3 = 0; + window.valueIndex = 0; + window.nowIndex = 0; + window.inner1 = ''; + window.inner2 = ''; + window.inner3 = ''; + createNewArray($(this).find('.category')); + createWrapper(); + }); +} + +/** + * 获取三级导航的tip图标 + * @return {[type]} [description] + */ +function actionTipPic() { + var tipscode = {}; + var $contentcode = ''; + var $img = ''; + var $title = ''; + var $link = ''; + var logolink = ''; + + $(document).on('mouseenter', '.sub-nav-item', function() { + $contentcode = $(this).find('.showdetail').attr('data-code'); + if ($contentcode) { + if (!tipscode[$contentcode]) { + tipscode[$contentcode] = $contentcode; + $img = $(this).find('.showdetail').find('img'); + $title = $(this).find('.showdetail').find('.title'); + $link = $(this).find('.showdetail').find('a'); + $.get(bannerApi + $contentcode + '&width=337&height=250&client_type=web', function(rsdata) { + $img.attr('src', rsdata.data.src); + $link.attr('href', rsdata.data.url); + $title.text(rsdata.data.title); + }, 'jsonp'); + } + } + }); + logolink = $('.cure').find('.name-cn').find('a').attr('href'); + $('.main-link').attr('href', logolink); +} + + + +function closeCover() { + var $cover = $('#cover'); + + $cover.remove(); +} +/** + * 首次进入有弹窗 + * @return {[type]} [description] + */ +function actionCover() { + var gender = window.cookie('_Gender'); + var newMask = ''; + var windowheight = ''; + var selfheight = ''; + var containertop; + var length = ''; + + if (window.location.href === 'http://www.yohobuy.com/' && + (typeof gender === 'undefined' || gender === '' || gender === null)) { + $.get('http://www.yohobuy.com/index/guide', function(data) { + newMask = document.createElement('div'); + newMask.id = 'cover'; + newMask.innerHTML = data; + document.body.appendChild(newMask); + windowheight = $(window).height(); + selfheight = $('.guide-box').height(); + containertop = windowheight / 2 - selfheight / 2; + length = $('.guide-box .clear').find('li').length; + $('.guide-box').css({ + width: (200 * length) + 'px', + top: containertop + 'px' + }); + $('#cover').bind('click', function(event) { + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + closeCover(); + }); + $('#cover .guide-box .close').bind('click', function(event) { + getSource('弹窗', 'CLOSE', 'homepage_man'); + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + closeCover(); + }); + $('.boys img , .boys .go').bind('click', function(event) { + getSource('弹窗', 'BOYS', 'homepage_man'); + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + closeCover(); + }); + $('.girls img, .girls .go').bind('click', function(event) { + getSource('弹窗', 'GIRLS', 'homepage_woman'); + window.setCookie('_Gender', '2,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'girls', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + }); + $('.lifestyle img, .lifestyle .go').bind('click', function(event) { + window.setCookie('_Channel', 'lifestyle', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + getSource('弹窗', 'LIEFSTYLE', 'homepage_lifestyle'); + }); + $('#cover .guide-box').bind('click', function(event) { + event.stopPropagation(); + }); + }); + } +} +/** + * 查询跳转后保留关键字 + * @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(''); + }); + } +} + + +/** + * cookie 初始化 + * @return {[type]} [description] + */ +function actionInitCookie() { + var $cookieGender = window.cookie('_Gender'); + var $target = $('.cure'); + + if (typeof $cookieGender !== 'undefined' && $cookieGender !== '') { + window.setCookie('_Gender', 1, { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '男生') { + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '女生') { + window.setCookie('_Gender', '2,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + window.setCookie('_Channel', 'girls', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '创意生活') { + window.setCookie('_Channel', 'lifestyle', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '潮童') { + window.setCookie('_Channel', 'kids', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } +} + +/** + * cookie集合 + * @type {Object} + */ +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('='); + if (typeof temparr[0] !== 'undefined') { + key = temparr[0].replace(/\s/g, ''); + cookieMap[key] = temparr[1]; + } + } +} + + +/** + * 购物车商品数量 + * @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 (cartTpl === '') { + cartTpl = handlebars.compile($('#mini-cart-tpl').html()); + } + $('#miniCartBox').children('.gobuy-wrapper').html(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 = window.cookie('_g'); + shoppingData = json2.parse(shoppingInfo); + if (shoppingData !== null) { + strK = '{"_k":"' + shoppingData._k + '","_nac":0' + ',"_ac":0,"_r":0}'; + window.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 = window.cookie('_g'); + var shoppingData = json2.parse(shoppingInfo); + var strK = '{"_k":"' + shoppingData._k + '","_nac":' + jsonData.total_goods_num + ',"_ac":0,"_r":0}'; + + window.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 = bannerMap['search' + cookieMap._Channel]; + } + if (url.indexOf('list') !== -1) { + code = bannerMap['list' + cookieMap._Channel]; + } + if (url.indexOf('brands') !== -1) { + code = bannerMap['brands' + cookieMap._Channel]; + } + if (url.indexOf('new') !== -1) { + code = bannerMap['new' + cookieMap._Channel]; + } + if (url.indexOf('sale') !== -1) { + code = bannerMap['sale' + cookieMap._Channel]; + } + if (url.indexOf('home') !== -1) { + code = bannerMap['home' + cookieMap._Channel]; + } + if (url.indexOf('kids') !== -1) { + code = bannerMap[INDEXKIDS]; + } + if (url.indexOf('woman') !== -1 || url.indexOf('girls') !== -1) { + code = bannerMap[INDEXWOMAN]; + } + if (url.indexOf('lifestyle') !== -1) { + code = bannerMap[INDEXLIFESTYLE]; + } + if (url.indexOf('www.yohobuy.com') !== -1 && window.location.pathname === '/') { + code = bannerMap[INDEXBOYS]; + } + firstarea = host.split('.')[0]; + if (firstarea !== 'list' && firstarea !== 'search' && firstarea !== 'www' && + firstarea !== 'new' && firstarea !== 'item' && firstarea !== 'guang') { + code = bannerMap[UNIQUEBRAND + cookieMap._Channel]; + } + + getBannerData(code); //获得banner信息 + +} + +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 $goodcartempwarpper = $('#goodcartempwarpper'); + var resulthtml = ''; + + if ($goodcartempwarpper) { + if ($goodcartempwarpper.html()) { + 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 = window.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 = 'http://www.yohobuy.com/logout_'; + var islogin = '1'; + var _num = 0; + var data = { + user_name: name, + logout: _logout + _data.data.token + '.html', + 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; + } + if (vipInfo.vip.curVipInfo.curLevel === '3') { + vipInfo.vip3 = true; + } + + $('#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) { + if (_data.result !== -1) { + actionLoginState(_data); // 更改登录状态 + actionVipInfo(_data); //获得vip; + } + }); +} +/** + * 初始化函数 + * @return {[type]} [description] + */ +function init() { + actionNav(); //处理导航 + actionTipPic(); //鼠标移入后查询 + actionExeTemplate(); //处理模板 + actionCover(); //初次登录弹框 + actionInitCookie(); //初始化cookie + actionExeCookieMap(); //格式化cookie + actionGoodsCart(); //初始化购物车插件 + actionYoHoGroup(); // yoho集团鼠标效果 + actionTopTagToggle(); // yoho上部分开关 + actionTopLogoAnimate(); //yoho logo动画 + actionGetBannerAndNotice(); // 获取banner和服务器维护提示 + actionBrandChange(); //切换品牌 + actionAddKeyWords(); //跳转后增加关键字 + actionGoodsCarMouseEffect(); //鼠标滑入滑出效果 + actionUpdateCartNum(); //更新购物车数量 + actionLoopUpdCartNum(); //循环检测购物车数量 + actionSearch(); //搜索执行 + actionClickMiniCartBox(); //点击购物车跳转 + actionListenDelCarGoods(); //监听购物车删除 + actionListenCartMore(); // + actionLoginInfo(); //获取登录信息 + actionAddKeyWords(); //增加关键字 +} +init(); + +}); +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(); + }); +} + +/** + * 格式化用户名 + * @return {[type]} [description] + */ +function formatUsernName(userName) { + var name, + char, + _num = 0, + _length = 0, + t; + + for (t = 0; 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; + name = ''; + for (t = 0; 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 += '...'; + } + } + return name; +} + +/** + * 设置简单头部登陆状态 + * @return {[type]} [description] + */ +function setLoginStatus(_data) { + var loginHtml, + name; + + if (_data && _data.href && _data.href.user) { + name = formatUsernName(_data.href.user); + loginHtml = '<span>Hi~</span><a href="">' + + name + '</a> <a href="' + _data.href.logout + '">[退出]</a>'; + } else { + name = formatUsernName(_data.user); + loginHtml = '<span>Hi~</span><a href="">' + + name + '</a> <a href="http://www.yohobuy.com/signin.html">[请登录]</a>' + + '<a href="http://www.yohobuy.com/reg.html">[免费注册]</a>'; + } + $('.header-tool li').eq(0).html(loginHtml); +} + +/** + * 获取登录信息 + * @return {[type]} [description] + */ +function actionLoginInfo() { + $.ajax({ + type: 'GET', + url: '/common/getSimpleHeader', + data: {}, + success: function(data) { + if (data.code === 200) { + setLoginStatus(data.data); + } + } + }); +} + +/** + * 初始化函数 + * @return {[type]} [description] + */ +function init() { + actionLoginInfo(); //获取登录信息 +} +init(); + + +}); +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/brand"); + +require("js/product/hotrank"); + +}); +define("js/product/list", ["jquery","handlebars","source-map","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/latest-walk"); + +require("js/product/product"); +}); +define("js/product/filter", ["jquery","handlebars","source-map"], function(require, exports, module){ +/** + * 商品筛选逻辑 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/4 + */ + +var $ = require("jquery"), + Handlebars = require("handlebars"); + +var checkUnicode = { + unchecked: '', + checked: '' +}, +moreUnicode = { + up: '', + down: '' +}; + +//品牌相关变量 +var $brandDefault = $('.brand .default'), + $brandPanel = $('.brand .brand-panel'), + $brandAttrs = $brandPanel.find('.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; + +// 尺寸 handlebars 模板 +var sizeTmpl = '{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a>{{/ size}}', + sizeCache = {}, // 缓存一下尺寸信息 + $sizeWrap = $('.filter-box .size'); + +sizeTmpl = Handlebars.compile(sizeTmpl); + +//清除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 qs = window.queryString(), + newHref; + + qs[attr] = val; + newHref = '?' + decodeURIComponent($.param(qs)); + 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(), + id = $this.data('id'); + + if ($this.hasClass('active')) { + + // 选中时,再次点击取消选中 + $this.removeClass('active'); + $sortSub.children(':eq(' + index + ')').addClass('hide'); + $sizeWrap.addClass('hide'); + return; + } + + $this.siblings('.active').removeClass('active'); + $this.addClass('active'); + + $sortSub.children(':not(.hide)').addClass('hide'); + $sortSub.children(':eq(' + index + ')').removeClass('hide'); + + if (!$sizeWrap.data('load')) { + if (sizeCache[id]) { + $sizeWrap.find('.attr-content').html(sizeCache[id]); + $sizeWrap.removeClass('hide'); + } else { + $.ajax({ + url: '/product/search/sortSize', + data: { + msort: id + } + }).then(function(res) { + if ($.type(res) === 'array' && res.length) { + sizeCache[id] = sizeTmpl({ + size: res + }); + $sizeWrap.find('.attr-content').html(sizeCache[id]); + $sizeWrap.removeClass('hide'); + } else { + $sizeWrap.addClass('hide'); + } + }); + } + } +}); + +//【品牌】 +if ($brandMore.length > 0) { + $brandMoreTxt = $brandMore.children('em'); + $brandMoreIcon = $brandMore.children('.iconfont'); +} + +//【品牌】多选 +$brandMulti.click(function() { + if ($brandPanel.css('display') === 'none') { + + //显示品牌面板 + $brandMore.trigger('click'); + } + + brandShowMore(); + $brandPanel.removeClass('hide').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('mouseenter', 'span', function() { + var $this = $(this), + index = $this.data('index'); + + if ($this.hasClass('hover')) { + return; + } + + $this.siblings('span.hover').removeClass('hover'); + $this.addClass('hover'); + + 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() { + val.push($(this).data('id')); + }); + + uriLoc('brand', val.join(',')); +}); + +//【品牌/高级选项】多选取消 +$('.multi-select-cancel').click(function() { + var $panel = $(this).closest('.multi'); + + if ($panel.hasClass('brand-panel')) { + + $brandMulti.removeClass('hide'); //显示多选按钮 + $brandMore.trigger('click'); + } + + $panel.addClass('hide').removeClass('multi'); + brandHideMore(); + clearChecked($panel.find('.checkbox.checked')); //清除选中状态 +}); + +//【品牌/高级选项】checkbox +$('.check-container').on('click', '.attr', function() { + var $this = $(this), + $check = $this.find('.checkbox'), + $btnOk = $this.closest('.brand-panel, .senior-sub').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 $this = $(this); + var index = $this.index(); + + if ($this.hasClass('no-sub')) { + return; + } + $this.addClass('hover').siblings().removeClass('hover'); + + $seniorSubWrap.children('.senior-sub:eq(' + index + ')').removeClass('hide').siblings().addClass('hide'); +}).on('mouseleave', '.attr', function() { + var $this = $(this), + index = $this.index(); + + if ($this.hasClass('no-sub')) { + return; + } + + 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('span.checked').each(function() { + val.push($(this).data('id')); + }); + + uriLoc($sub.data('attr'), val.join(',')); +}).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/latest-walk", ["jquery","handlebars","source-map","lazyload"], function(require, exports, module){ +/** + * 最近浏览取接口渲染模板 + * @author: xuqi<qi.xu@yoho.cn> + 8 @date: 2016/1/20 + */ + +var $ = require("jquery"); +var Handlebars = require("handlebars"); +var lazyLoad = require("lazyload"); + +var $latestWalkCount = $('#latest-walk-count'); + +(function() { + var tpl; + + if ($latestWalkCount.length === 0) { + return; + } + + tpl = Handlebars.compile($('#latest-walk-tpl').html()); + + $.ajax({ + url: 'http://itemapi.yohobuy.com/item/item/recentreview', + dataType: 'jsonp', + data: { + limit: $latestWalkCount.val() + }, + success: function(data) { + var latestWalk = [], + res, i, cur; + + if (data.code === 200) { + res = data.data; + + for (i = 0; i < res.length; i++) { + cur = res[i]; + + latestWalk.push({ + href: cur.url, + img: cur.pic_url, + name: cur.product_name, + salePrice: cur.price, + marketPrice: cur.market_price + }); + } + + if (latestWalk.length > 0) { + $('#latest-walk-goods').html(tpl({ + latestWalk: latestWalk + })); + + lazyLoad($('#latest-walk-goods .lazy')); + } + } + } + }); +}()); +}); +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 + }; + } + + function removeHtmlFn() { + $goodInfoMain.html(''); + $goodSelectColor.html(''); + $goodItemWrapper.css({ + display: 'none' + }); + } + + productList.addHandler('MouseEnter', function(event) { + var itemMr = 10, //list的右边距 + itemMb = 35, //list的下边距 + ulStr = '', + ulNum, + wrapperWidth, + diffWidth, + wrapperX, + wrapperY, + wrapperPl, //鼠标移入时弹层的左内边距 + wrapperPt, //鼠标移入时弹层的上内边距 + containerPt; //商品列表容器的上内边距 + + $.ajax({ + type: 'POST', + url: '/product/list/getProductPic', + dataType: 'jsonp', + jsonp: 'callback', + data: { + skn: event.target.attr('data-skn') + } + }).then(function(res) { + var data = res.data; + + removeHtmlFn(); + + ulStr = createColorList(data.pics).colorListStr; //ajax请求的颜色列表 + ulNum = createColorList(data.pics).ulNum;//ajax请求的颜色的数量 + + $goodInfoMain.append(event.targetDuplicate); + $goodSelectColor.append($(ulStr)); + + if (data.isFavorite) { + $goodInfoMain.find('.col-btn').addClass('coled'); + } else { + $goodInfoMain.find('.col-btn').removeClass('coled'); + } + + 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' + }); + + // 鼠标悬浮获取到商品信息后显示第一张图片 + if (data.pics[0] && data.pics[0].src) { + $goodInfoMain.find('.good-thumb img').attr('src', data.pics[0].src); + } + }); + }); + + $goodItemWrapper.mouseleave(function() { + + removeHtmlFn(); + }); + +}; + +//鼠标放在颜色列表上效果 +$(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); +}); + +$goodInfoMain.on('click', '.col-btn', function() { + var $this = $(this); + + $.ajax({ + type: 'POST', + url: '/product/list/changeFavorite', + data: { + skn: $this.closest('.good-info').data('skn'), + isFavorite: $this.hasClass('coled') + } + }).then(function(res) { + if (res.code === 200) { + $this.toggleClass('coled'); + } else if (res.code === 403) { + location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); + } + }); +}); + +// 左侧导航 +$productListNav.find('h3').click(function(event) { + var $this = $(this).closest('.product-list-nav'); + + 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/brand", ["jquery"], function(require, exports, module){ +/** + * 品牌页面 + * @auhtor: bikai<kai.bi@yoho.cn> + * @date: 2016/1/21 + */ + +var $ = require("jquery"); + +$('#brand-favor').on('click', function() { + var $this = $(this), + uid = window.getUid(); + + $.ajax({ + type: 'post', + url: '/product/index/favoriteBrand', + data: { + uid: uid, + brandId: $this.data('id') + } + }).then(function(res) { + if (res.code === 200) { + if (res.message === 'add') { + $this.find('i').addClass('coled'); + } else { + $this.find('i').removeClass('coled'); + } + } else if (res.code === 403) { + location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); + } + }); +}); + +}); +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: $('.logo-brand').data('url') +}); + +/* + * 一周热卖 + */ +(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="\{{thumb}}">' + + '</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'); + + if ($(this).hasClass('current')) { + return; + } + + //处理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(); + + if ($(this).hasClass('current')) { + return; + } + + $('.hot-cate').find('li').eq(nowIndex).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: '/product/index/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.$element) { + return; + } + + 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).show().stop().animate({ + opacity: 1 + }).siblings().stop().animate({ + opacity: 0 + }, function() { + $(this).hide(); + }); + }, + _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:;" target="_blank">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:;" target="_blank">MORE ></a></li></ul>'; + + }); + }, + _sendRequest: function() { + var that = this; + + $.ajax({ + type: 'GET', + url: that.options.url, + dataType: 'json', + success: function(data) { + var brandTpl, + brandHtml; + + if (!data || data.length === 0) { + return; + } + + that._createHelper(); + brandHtml = '\{{#brandList logoBrand}}' + + '<a href="\{{href}}" target="_blank"><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"); + +$(document).on('mouseenter', '.imgopacity a img', function() { + $(this).css('opacity', 0.8); +}); +$(document).on('mouseout', '.imgopacity a img', function() { + $(this).css('opacity', 1); +}); + +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', + count: (homePage === 'boys') || (homePage === 'lifestyle') ? 5 : 4, + rows: [5,3] + }); + window.setCookie('_Channel', homePage, { + domain: '.yohobuy.com', + path: '/', + expires: 365 + }); +} + + + +lazyLoad($('img.lazy')); +if (homePage === 'boys') { + $('.slide-container').slider({ + pagination: '.thumb-pagination' + }); +} else { + $('.center-col').slider(); + $('.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: 0 +}); + +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 +}; + +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; + +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(); +}); + + +}); +define("js/common/new-arrivls", ["jquery","lazyload","handlebars","source-map"], function(require, exports, module){ +var $ = require("jquery"), + lazyload = require("lazyload"); +var Handlebars = require("handlebars"); + +function InfiniteLoad(options) { + var defaults = { + index: 0, + isload: true,//是否正在加载 + isrun: true,//判断是否执行 + offset: { + height: null, + width: null + } + }; + + this.registerEvent = { + before: [], + change: [], + after: [] + }; + + this.options = $.extend(true, {}, defaults, options); + + return this; +} + +InfiniteLoad.prototype.on = function(name, callback) { + var g = this; + var _e = g.registerEvent[name]; + + if (_e) { + _e.push(callback); + } + return _e; +}; + +InfiniteLoad.prototype.exect = function(key, params) { + var g = this; + var e; + + if (g.registerEvent[key] && g.registerEvent[key].length > 0) { + for (e in g.registerEvent[key]) { + if (g.registerEvent[key].hasOwnProperty(e)) { + g.registerEvent[key][e](params); + } + } + } +}; + +InfiniteLoad.prototype.init = function() { + var g = this; + var p = this.options; + + function __loadMore() { + + if (p.isrun && p.isload && g.__directionCalculation()) { + p.isload = false; + p.index++; + g.exect('after', p); + } + + g.exect('change', p); + } + + g.exect('before', p); + + $(window).scroll(__loadMore); +}; + +InfiniteLoad.prototype.emit = function() { + var p = this.options; + + p.isload = true; +}; + +InfiniteLoad.prototype.stop = function() { + var p = this.options; + + p.isrun = false; + p.isload = false; +}; + +InfiniteLoad.prototype.__directionCalculation = function() { + var p = this.options; + + if (p.offset.height && p.offset.height() > 0 && $(window).scrollTop() + $(window).height() >= p.offset.height()) { + return true; + } + return false; +}; + +module.exports = function(data) { + var $container = $('#newarrivals .goods-container'); + var $load = $('.loading a'); + var load = new InfiniteLoad({ + index: 1, + isload: false, + offset: { + height: function() { + return parseFloat($container.offset().top) + parseFloat($container.height()) - 200; + } + } + }); + var loadAjax; + var url = data.url, + count = data.count, + rows = data.rows; + + data.pageIndex = 0; + + delete data.url; + delete data.count; + delete data.rows; + + loadAjax = function(url, data, count) { + + var options = { + type: 'POST', + url: url, + success: function(result) { + var code = result.code; + var myTemplate,len,pos; + + if (code === 200) { + len = result.goods.length % count; + pos = result.goods.length - len - 1; + + result.goods.splice(pos, len); + + myTemplate = Handlebars.compile(load.tpl); + + $container.append(myTemplate(result.goods)); + data.pageIndex = data.pageIndex + result.goods.length; + + //懒加载插件貌似有点问题,图片先直接展示 + lazyload($container.find('img.lazy')); + + load.emit(); + } else { + + load.stop(); + $load.html('查看更多'); + } + }, + error: function() { + + load.stop(); + $load.html('网络断开连接了~'); + } + }; + + options.data = data; + $.ajax(options); + }; + + + load.on('after', function(p) { + + data.pageCount = count * rows[1]; + + loadAjax(url, data); + }); + + load.on('before', function(p) { + + + load.tpl = '{{#each this}}'; + load.tpl += '<div class="good-info imgopacity" data-skn="{{skn}}">'; + load.tpl += ' <div class="tag-container clearfix">'; + load.tpl += ' {{# tags}}'; + load.tpl += ' {{# isNew}}'; + load.tpl += ' <span class="good-tag new-tag">NEW</span>'; + load.tpl += ' {{/ isNew}}'; + load.tpl += ' {{# isReNew}}'; + load.tpl += ' <span class="good-tag renew-tag">再到着</span>'; + load.tpl += ' {{/ isReNew}}'; + load.tpl += ' {{# isSale}}'; + load.tpl += ' <span class="good-tag sale-tag">SALE</span>'; + load.tpl += ' {{/ isSale}}'; + load.tpl += ' {{# isNewFestival}}'; + load.tpl += ' <span class="good-tag new-festival-tag">新品节</span>'; + load.tpl += ' {{/ isNewFestival}}'; + load.tpl += ' {{# isLimit}}'; + load.tpl += ' <span class="good-tag limit-tag">限量商品</span>'; + load.tpl += ' {{/ isLimit}}'; + load.tpl += ' {{# isYearEndPromotion}}'; + load.tpl += ' <span class="good-tag yep-tag">年终大促</span>'; + load.tpl += ' {{/ isYearEndPromotion}}'; + load.tpl += ' {{# isYearMidPromotion}}'; + load.tpl += ' <span class="good-tag ymp-tag">年中热促</span>'; + load.tpl += ' {{/ isYearMidPromotion}}'; + load.tpl += ' {{/ tags}}'; + load.tpl += ' </div>'; + load.tpl += ' <div class="good-detail-img">'; + load.tpl += ' <a class="good-thumb" href="{{url}}" target= "_blank">'; + load.tpl += ' <img class="lazy" data-original="{{thumb}}">'; + load.tpl += ' </a>'; + load.tpl += ' {{# isFew}}'; + load.tpl += ' <p class="few-tag">即将售罄</p>'; + load.tpl += ' {{/ isFew}}'; + + load.tpl += ' {{#if showColBtn}}'; + load.tpl += ' <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>'; + load.tpl += ' {{/if}}'; + load.tpl += ' </div>'; + load.tpl += ' <div class="good-detail-text">'; + load.tpl += ' <a href="{{url}}" target= "_blank">{{name}}</a>'; + load.tpl += ' <p class="price">'; + load.tpl += ' <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">'; + load.tpl += ' ¥{{salePrice}}'; + load.tpl += ' </span>'; + load.tpl += ' {{# marketPrice}}'; + load.tpl += ' <span class="market-price">¥{{.}}</span>'; + load.tpl += ' {{/ marketPrice}}'; + load.tpl += ' </p>'; + load.tpl += ' </div>'; + load.tpl += '</div>'; + load.tpl += '{{/each}}'; + + + data.pageCount = count * rows[0]; + + loadAjax(url, data, data.count); + + //load.emit(); + }); + + load.init(); + +}; +}); +define("js/passport/entry", ["jquery","jquery.placeholder"], function(require, exports, module){ +/* + * 密码中心打包入口文件 + */ + +require("js/passport/reg"); +require("js/passport/back"); +require("js/passport/login"); +require("js/passport/reset"); +require("js/passport/vertification"); +require("js/passport/thirdlogin"); +require("js/passport/enablePerfectInformation"); +}); +define("js/passport/reg", ["jquery"], function(require, exports, module){ +/* + * @description 注册页js + * @time 2015/12/14 + */ + +var $ = require("jquery"), + regValidate = require("js/passport/mail-phone-regx"), + computeComplex = require("js/passport/pwd-strength"); + +var $registerPage = $('.register-page'), + $pwdTips = $('#pwd-tips'), + $pwdTip1 = $pwdTips.find('#pwd-tip1'), + $errTip = $('#err-tip'), + $registerBtn = $('#register-btn'); + +var $sendCaptcha = $('#send-captcha'), + caCount = 4, + validateResult = []; + +var $pn = $('#phone-num'), + $mc = $('#msg-captcha'), + $pwd = $('#pwd'), + $repwd = $('#repwd'), + $ca = $('#captcha'); + +// 密码强度验证 +var $pwdIntensity = $('.pwd-intensity'), + $pwdParent = $pwdIntensity.closest('.pwd-intensity-container'); + +//signup验证 +var $region = $('#country-code'), + $regionSelect = $('#region'), + isPwd = false, + pwdVal; + +setTimeout(function() { + $pn.val(''); + $mc.val(''); + $pwd.val(''); + $repwd.val(''); + $ca.val(''); +}, 100); + +//验证码位数 +$ca.attr('maxlength', caCount); + +//密码规则提示 +$pwd.focus(function(event) { + $pwdTips.removeClass('hide'); + isPwd = true; + pwdVal = $(this).val(); +}).blur(function() { + $pwdTips.addClass('hide'); + isPwd = false; +}); + + +//IE8 placeholder +//$('[placeholder]').placeholder(); + +// 存储校验信息 +validateResult = [ + { + id: 'phone-num', + message: '', //错误信息 + status: false //当前的状态 + }, + { + id: 'captcha', + message: '', + status: false + }, + { + id: 'msg-captcha', + message: '', + status: false + }, + { + id: 'pwd', + message: '', + status: false + }, + { + id: 'repwd', + message: '', + status: false + } +]; + +//手机号ajax校验 +function phoneAjaxFn(page, callback) { + var url, + data; + + if (page === 'reg') { + url = '/passport/register/checkmobile'; + data = { + mobile: $pn.val(), + area: $region.text().split('+')[1] + }; + } else if (page === 'third') { + url = '/passport/autouserinfo/bindCheck'; + data = { + mobile: $pn.val(), + area: $region.text().split('+')[1], + openId: $('#open-id').val(), + sourceType: $('#source-type').val() + }; + } + + $.ajax({ + url: url, + type: 'POST', + data: data + }).then(function(data) { + switch (data.code) { + case 200: + validateResult[0].message = ''; + validateResult[0].status = true; + break; + case 400: + validateResult[0].message = data.message; + validateResult[0].status = false; + break; + } + + callback(); + }); +} + +//图形验证码ajax校验 +function picCaptchaAjaxFn(page, callback) { + var url; + + if (page === 'reg') { + url = '/passport/register/piccaptcha'; + } else if (page === 'third') { + url = '/passport/autouserinfo/checkPicCode'; + } + $.ajax({ + type: 'POST', + url: url, + data: { + verifyCode: $ca.val() + + //mobile: $pn.val(), + //area: $region.text().split('+')[1] + } + }).then(function(data) { + switch (data.code) { + case 200: + validateResult[1].message = ''; + validateResult[1].status = true; + break; + case 400: + validateResult[1].message = '图形验证码错误'; + validateResult[1].status = false; + break; + } + callback(); + }); +} + +//短信验证码ajax校验 +function msgCaptchaAjaxFn(page, callback) { + var url; + + if (page === 'reg') { + url = '/passport/register/msgcaptcha'; + } else if (page === 'third') { + url = '/passport/autouserinfo/checkBindMsg'; + } + $.ajax({ + type: 'POST', + url: url, + data: { + code: $mc.val(), + mobile: $pn.val(), + area: $region.text().split('+')[1] + } + }).then(function(data) { + switch (data.code) { + case 200: + validateResult[2].message = ''; + validateResult[2].status = true; + break; + case 400: + validateResult[2].message = '短信验证码错误'; + validateResult[2].status = false; + break; + } + + callback(); + }); +} + +// 验证 +function validateRule(page, $element, callback) { + + var val = $.trim($element.val()), + regionCode, + pwdReg = /^([a-zA-Z0-9\-\+_!@\#$%\^&\*\(\)\:\;\.=\[\]\\\',\?]){6,20}$/gi; + + //手机号校验 + if ($element.hasClass('phone-num')) { + + regionCode = $region.text(); + + if (val === '') { + validateResult[0].message = '请输入手机号码'; + validateResult[0].status = false; + callback(); + + } else if (!regValidate.phoneRegx[regionCode].test(val)) { + validateResult[0].message = '手机号码格式不正确,请重新输入'; + validateResult[0].status = false; + callback(); + + } else { + phoneAjaxFn(page, callback); + } + + //图形验证码校验 + } else if ($element.hasClass('captcha')) { + if (val === '') { + validateResult[1].message = '请输入图形验证码'; + validateResult[1].status = false; + callback(); + + } else if (val.length <= 3) { + validateResult[1].message = '图形验证码为4位'; + validateResult[1].status = false; + callback(); + + } else { + + // 并且手机号正确 + if (validateResult[0].status) { + picCaptchaAjaxFn(page, callback); + } else { + validateResult[1].message = '图形验证码错误'; + validateResult[1].status = false; + callback(); + } + + } + + //短信验证码校验 + } else if ($element.hasClass('msg-captcha')) { + + if (val === '') { + validateResult[2].message = '请输入短信验证码'; + validateResult[2].status = false; + callback(); + + } else if (val.length <= 3) { + validateResult[2].message = '短信验证码错误'; + validateResult[2].status = false; + callback(); + + } else { + + // 并且图形验证码正确 + if (validateResult[1].status) { + msgCaptchaAjaxFn(page, callback); + } else { + validateResult[2].message = '短信验证码错误'; + validateResult[2].status = false; + callback(); + } + } + + //密码校验 + } else if ($element.hasClass('pwd')) { + if (val === '') { + validateResult[3].message = '请输入密码'; + validateResult[3].status = false; + + } else if (val.length < 6 || val.length > 20) { + validateResult[3].message = '密码只支持6-20位字符'; + validateResult[3].status = false; + + } else if (!pwdReg.test($element.val())) { + validateResult[3].message = '密码只能包含字母,数字,半角标点符号'; + validateResult[3].status = false; + + } else { + validateResult[3].message = ''; + validateResult[3].status = true; + } + callback(); + + //二次密码校验 + } else if ($element.hasClass('repwd')) { + if (val === '') { + validateResult[4].message = '请输入密码确认'; + validateResult[4].status = false; + + } else if ($pwd.val() !== val) { + validateResult[4].message = '与密码不一致,请重新输入'; + validateResult[4].status = false; + + } else { + validateResult[4].message = ''; + validateResult[4].status = true; + + } + + callback(); + } +} + +//显示提示信息 +function showErrTip() { + + var show = false, + tipPosition, + $container, + i, + validateResultLen = validateResult.length; + + for (i = 0; i < validateResultLen; i++) { + if (!show) { + + //不可以通过status判断 + if (!!validateResult[i].message) { + + //显示错误提示 + $errTip.find('span').text(validateResult[i].message); + + $container = $('#' + validateResult[i].id); + + tipPosition = $container.offset(); + $errTip.css({ + top: tipPosition.top - 40, + left: tipPosition.left + }).removeClass('hide'); + + show = true; //停止判断 + } else { + $errTip.addClass('hide'); + } + } + } +} + +//显示红色边框 +function showBorder() { + + var $errInput, + i, + validateResultLen = validateResult.length; + + for (i = 0; i < validateResultLen; i++) { + if (!!validateResult[i].message) { + + //显示红色边框 + $errInput = $('#' + validateResult[i].id); + $errInput.addClass('error'); + + } else { + + //去掉红色边框 + $errInput = $('#' + validateResult[i].id); + $errInput.removeClass('error'); + } + } +} + +// 密码强度验证 +function pwdFn($obj) { + var pwd = $obj.val(), + pwdStrength = computeComplex(pwd), + level = 0; + + if (pwdStrength === 0) { + level = 0; + } else if (pwdStrength <= 10) { + level = 1; + } else if (pwdStrength <= 20) { + level = 2; + } else { + level = 3; + } + + switch (level) { + case 0: + $pwdParent.removeClass('red yellow green'); + $pwdIntensity.removeClass('color'); + break; + case 1: + $pwdParent.addClass('red').removeClass('yellow green'); + $pwdIntensity.filter('.low').addClass('color'); + $pwdIntensity.filter('.mid,.high').removeClass('color'); + break; + case 2: + $pwdParent.addClass('yellow').removeClass('red green'); + $pwdIntensity.filter('.low,.mid').addClass('color'); + $pwdIntensity.filter('.high').removeClass('color'); + break; + case 3: + $pwdParent.addClass('green').removeClass('yellow red'); + $pwdIntensity.addClass('color'); + break; + } + + //提示框 + if (pwd === '') { + $pwdTip1.removeClass('red yes no').addClass('default'); + } else if (pwd.length < 6 || pwd.length > 20) { + $pwdTip1.removeClass('default yes').addClass('no red'); + } else { + $pwdTip1.removeClass('default no red').addClass('yes'); + } +} + +// 失去焦点时开始校验 +// Tips: 不可以在获得焦点的时候验证,获得焦点和失去焦点的间隔太小,如果中间存在ajax校验的话会出现问题 +// ( ▼-▼ )注册页和信息完善页面接口不同 +exports.init = function(page) { + + $('#agree-terms').click(function() { + if ($(this).attr('notchecked')) { + $(this).removeAttr('notchecked'); + $registerBtn.addClass('disable').attr('disabled', 'true'); + } else { + $(this).attr('notchecked', 'true'); + $registerBtn.removeClass('disable').removeAttr('disabled'); + } + }); + + // 按回车键提交 + $registerPage.on('keydown', function(e) { + var key = e.which; + + if (key === 13) { + $registerBtn.click(); + } + }); + + $registerPage.find('.va').keyup(function() { + + var j, + statusLen = 0, + vLen = validateResult.length, + $that = $(this); + + validateRule(page, $(this), function() { + showErrTip(); // 显示错误提示 + showBorder(); // 显示红色边框 + + // 如果validateResult中有4个status为true表示验证通过 + for (j = 0; j < vLen; j++) { + + if (validateResult[j].status) { + + statusLen++; + } + + } + + if (statusLen === 4 && !$('#agree-terms').attr('notchecked')) { + $registerBtn.removeClass('disable').removeAttr('disabled'); + } else { + $registerBtn.addClass('disable').attr('disabled', 'true'); + } + + // 图形验证通过时,发送短信按钮可点击 + if (validateResult[1].status) { + $sendCaptcha.removeClass('disable'); + } else { + $sendCaptcha.addClass('disable'); + } + + //图形验证通过时,发送短信按钮可点击 end + + }); + + // 如果是密码则校验强度 + if (($that).hasClass('pwd')) { + pwdFn($that); + } + + }).blur(function() { + + /*validateRule($(this), function() { + showErrTip(); + showBorder(); // 显示红色边框 + });*/ + }); + + $regionSelect.change(function() { + + $region.text($('#region').val()); + + validateRule(page, $pn, showErrTip); //验证 + }); + + // 点击发送验证码 + $sendCaptcha.click(function() { + var timeResidue = 20, + t, + url; + + if ($(this).hasClass('disable')) { + return; + } + + if (page === 'reg') { + url = '/passport/register/sendBindMsg'; + } else if (page === 'third') { + url = '/passport/autouserinfo/sendBindMsg'; + } + + //todo ajax 发送验证码 + $.ajax({ + type: 'POST', + url: url, + data: { + area: $region.text().split('+')[1], + mobile: $pn.val(), + verifyCode: $ca.val() + } + }).then(function(data) { + if (data.code === 200) { + t = setInterval(function() { + if (timeResidue <= 0) { + $sendCaptcha.removeClass('disable').val('获取短信验证码'); + clearInterval(t); + return; + } + $sendCaptcha.addClass('disable').val(timeResidue-- + '秒可重新发送'); + }, 1000); + } + }); + }); + + // 防止粘贴密码 + $pwd[0].onpaste = function() { + return false; + }; + + //ajax表单提交 + $registerBtn.click(function() { + var url; + + if (page === 'reg') { + url = '/passport/register/mobileregister'; + } else if (page === 'third') { + url = '/passport/autouserinfo/bindMobile'; + } + + if ($(this).hasClass('disable')) { + return; + } else { + + //ajax提交 + $.ajax({ + type: 'POST', + url: url, + data: { + area: $region.text().split('+')[1], + mobile: $pn.val(), + verifyCode: $ca.val(), + code: $mc.val(), + password: $pwd.val() + } + }).then(function(data) { + + var time = 0, + t, + refer; + + if (data.code === 200) { + + refer = data.data.href; + + t = setTimeout(function() { + time++; + }, 1000); + + $.ajax({ + type: 'GET', + url: data.data.session + }).then(function(data) { + + if (data.code === 200 && t < 3) { + clearInterval(t); + location.href = refer; + } + }); + + if (t >= 3) { + clearInterval(t); + location.href = refer; + } + } else { + + //todo + console.log('网络超时~'); + } + + }); + } + }); + + $('.change-captcha').click(function() { + var time = new Date(), + $captchaImg = $('.captcha-img'), + captchaImgSrc = $captchaImg.attr('src').split('?')[0]; + + $captchaImg.attr('src', captchaImgSrc + '?t=' + time.getTime()); + }); +}; + +}); +define("js/passport/mail-phone-regx", [], function(require, exports, module){ +/** + * 国家区号Map手机号码以及邮箱验证正则 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/11 + */ + +var countryPhoneRegx = { + '+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]{1}[0-9]{8}$/, + '+81': /^0[9|8|7][0-9]{9}$/, + '+61': /^[0-9]{11}$/ +}; + +var emailRegx = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/; + +exports.phoneRegx = countryPhoneRegx; + +exports.emailRegx = emailRegx; +}); +define("js/passport/pwd-strength", [], function(require, exports, module){ +/* + * 计算密码复杂度 + */ + +function gettype(str, i) { + if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { + return 1; + } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { + return 2; + } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { + return 3; + } + + return 4; +} + +function isregular(cur, pre, type) { + var curCode = cur.charCodeAt(0); + var preCode = pre.charCodeAt(0); + + if (curCode - preCode === 0) { + return true; + } + + if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { + return true; + } + + return false; +} + +function getcomplex(curType, preType) { + if (preType === 0 || curType === preType) { + return 0; + } else if (curType === 4 || preType === 4) { + return 2; + } else { + return 1; + } +} + +function computeComplex(password) { + var complex = 0, + length = password.length, + pre = '', + preType = 0, + i = 0, + cur, + curType; + + + for (i = 0; i < length; i++) { + cur = password.charAt(i); + curType = gettype(password, i); + + if (preType !== curType || !isregular(cur, pre, curType)) { + complex += curType + getcomplex(curType, preType); + } + + pre = cur; + preType = curType; + } + + return complex; +} + +module.exports = computeComplex; +}); +define("js/passport/back", ["jquery","jquery.placeholder"], function(require, exports, module){ +/** + * 找回密码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/14 + */ + +var $ = require("jquery"), + phoneRegx = require("js/passport/mail-phone-regx").phoneRegx; + +var $cr = $('#country-code-hide'), + $phoneNum = $('#phone-num'), + $ca = $('#captcha'), + $tipPanel = $('#tip-panel'), + emailReg = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/, + acAccount = [ + ['qq.com', '163.com', '126.com', 'sina.com', 'gmail.com', + 'sohu.com', 'hotmail.com', '139.com', '189.com' + ], //数字顺序 + ['gmail.com', 'qq.com', '163.com', '126.com', 'sina.com', + 'sohu.com', 'hotmail.com', '139.com', '189.com' + ] //组合顺序 + ], + $ccList = $('#country-code-list'), + $cc = $('#country-code'), + $btn = $('#find-btn'), + $accErr = $('#account-err'), + $caErr = $('#captcha-err'), + time, //timeout-id + caCount = 4, //验证码位数 + hasPh = false, + hasCa = false; + +require("jquery.placeholder"); + +/*function getSource(column, postition, event) { + try { + dataLayer.push({ + louceng: column, + weizhi: postition, + event: event + }); + } catch (e) {} +}*/ + +function imgcode() { + var time = new Date(), + $captchaImg = $('#captcha-img'), + captchaImgSrc = $captchaImg.attr('src').split('?')[0]; + + $('#captcha-img').attr('src', captchaImgSrc + '?t=' + time.getTime()); + + //getSource('yoho_family_web', '换一张', 'homepage_man'); +} + +function enableBtn() { + if (hasPh && hasCa) { + $btn.removeClass('disable').prop('disabled', false); + } else { + $btn.addClass('disable').prop('disabled', true); + } +} + +function vaPn(v) { + var pass = true, + errTxt = ''; + + v = $.trim(v); + if (v !== '') { + if (/^[0-9]+$/.test(v)) { + if (phoneRegx[$cr.val()].test(v)) { + pass = true; + } else { + errTxt = '手机号码格式不正确, 请重新输入'; + pass = false; + } + } else { + if (emailReg.test(v)) { + pass = true; + } else { + errTxt = '邮箱格式不正确, 请重新输入'; + pass = false; + } + } + } else { + errTxt = '账户名不能为空'; + pass = false; + } + hasPh = pass; + return { + pass: pass, + errTxt: errTxt + }; +} + +function vaCa() { + var v = $.trim($ca.val()); + + if (v === '' || v.length < caCount) { + hasCa = false; + enableBtn(); + return; + } else { + $.ajax({ + type: 'POST', + url: '/passport/back/authcode', + data: { + verifyCode: v, + phoneNum: $('#phone-num').val(), + area: $('#country-code-hide').val() + } + + }).then(function(data) { + if (data.code === 200) { + hasCa = true; + } else { + hasCa = false; + imgcode(); + } + enableBtn(); + }); + } +} + +$ca.attr('maxlength', caCount); + +//IE8 placeholder +$('input').placeholder(); + +$('#change-captcha, #captcha-img').on('click', function() { + imgcode(); +}); + +$cc.on('click', function(e) { + e.stopPropagation(); + if ($ccList.css('style') === 'block') { + $ccList.slideUp('fast'); + } else { + $ccList.slideDown('fast'); + } +}); + +$ccList.delegate('li', 'click', function(e) { + var $cur = $(this), + code = $cur.data('cc'), + pnVa; + + e.stopPropagation(); + $cr.val(code); + $cc.find('em').html($cur.text()); + + //切换后验证手机号码 + if ($.trim($phoneNum.val()) !== '') { + pnVa = vaPn($phoneNum.val()); + enableBtn(); + if (hasPh) { + $accErr.addClass('hide'); + $phoneNum.removeClass('error'); + } else { + $accErr.removeClass('hide').text(pnVa.errTxt); + $phoneNum.addClass('error'); + } + } + $ccList.slideUp('fast'); +}); + +$(document).click(function() { + if ($tipPanel.css('display') === 'block') { + $tipPanel.slideUp(); + } + if ($ccList.css('display') === 'block') { + $ccList.slideUp(); + } +}); + + + +$phoneNum.keyup(function() { + var account = $.trim($(this).val()), + html = '', + acs, + i; + + //输入@时显示自动补全列表 + if (account.indexOf('@') !== -1 && account.lastIndexOf('@') === account.indexOf('@')) { + if (/^[0-9]*@$/.test(account)) { + + //数字顺序 + acs = acAccount[0]; + } else { + acs = acAccount[1]; + } + for (i = 0; i < acs.length; i++) { + html += '<li>' + account.slice(0, account.indexOf('@')) + '@' + acs[i] + '</li>'; + } + $tipPanel.html(html).slideDown(); + } else { + $tipPanel.slideUp(); + } + vaPn(account); + enableBtn(); +}).blur(function() { + time = setTimeout(function() { + var pnVa = vaPn($phoneNum.val()); + + if (pnVa.pass) { + $accErr.addClass('hide'); + $phoneNum.removeClass('error'); + } else { + $accErr.removeClass('hide').find('em').text(pnVa.errTxt); + $phoneNum.addClass('error'); + } + }, 170); +}).focus(function() { + $(this).removeClass('error'); + + //focus隐藏错误提示 + $accErr.addClass('hide'); +}); + +//验证码在鼠标移开后验证, keyup时不再验证 +$ca.blur(function() { + var errTxt = $.trim($ca.val()) === '' ? '验证码不能为空' : '验证码不正确'; + + if (hasCa) { + $caErr.addClass('hide'); + $ca.removeClass('error'); + } else { + $caErr.removeClass('hide').find('em').text(errTxt); + $ca.addClass('error'); + + //验证码错误则刷新验证码 + imgcode(); + } +}).focus(function() { + $(this).removeClass('error'); + + //focus隐藏错误提示 + $caErr.addClass('hide'); +}).keyup(function() { + vaCa(); +}); + +$tipPanel.delegate('li', 'click', function(e) { + var account = $(this).text(), + pnVa; + + e.stopPropagation(); + $phoneNum.val(account); + if (time) { + clearTimeout(time); + pnVa = vaPn(account); + enableBtn(); + if (pnVa.pass) { + $accErr.addClass('hide'); + $phoneNum.removeClass('error'); + } else { + $accErr.removeClass('hide').find('em').text(pnVa.errTx); + $phoneNum.addClass('error'); + } + time = null; + } + $tipPanel.slideUp(); +}); + +$('#find-btn').click(function(e) { + + //getSource('yoho_family_web', '下一步按钮', 'homepage_man'); + if (/^[0-9]+$/.test($.trim($phoneNum.val()))) { + $('#find-form').attr('action', '/passport/back/mobile'); + } + if ($(this).hasClass('disable')) { + return; + } + if (!hasCa || !hasPh) { + e.preventDefault(); + return true; + } +}); +}); +define("js/passport/login", ["jquery","jquery.placeholder"], function(require, exports, module){ +/** + * 登录 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/11 + */ +var $ = require("jquery"); + +var mailPostfix = { + num: ['qq.com', '163.com', '126.com', 'sina.com', 'gmail.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'], + other: ['gmail.com', 'qq.com', '163.com', '126.com', 'sina.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'] +}; + +var $account = $('#account'), + $password = $('#password'); + +var $accountTip = $account.siblings('.err-tip'), + $passwordTip = $password.siblings('.err-tip'), + $capsLock = $('#caps-lock'); + +var $countryCodeHide = $('#country-code-hide'), + $countryCodeEm = $('#country-code > em'), + $countryList = $('#country-list'); + +var $emailAutoComplete = $('#email-autocomplete'); + +var mailPhoneRegx = require("js/passport/mail-phone-regx"); + +var $remember = $('.remember-me'); + +//checkbox status unicode +var checkbox = { + checked: '', + unchecked: '' +}; + +var authing = false; + +var emailAcTime; + +require("jquery.placeholder"); + + +//验证账户名 +function validateAccount() { + var pass = false, + account = $.trim($account.val()), + err; + + if (account !== '') { + if (/^[0-9]+$/.test(account)) { + + //如果是纯数字,则作为手机号码处理 + if (mailPhoneRegx.phoneRegx[$countryCodeHide.val()].test(account)) { + pass = true; + } else { + pass = false; + err = '手机号码不正确,请重新输入'; + } + } else { + if (mailPhoneRegx.emailRegx.test(account)) { + pass = true; + } else { + pass = false; + err = '邮箱格式不正确,请重新输入'; + } + } + } else { + err = '请输入账户名'; + } + + if (pass) { + $accountTip.addClass('hide'); + $account.removeClass('error'); + } else { + $accountTip.removeClass('hide').children('em').text(err); + $account.addClass('error'); + } + return pass; +} + +//验证密码 +function validatePassword() { + var pass = false, + password = $.trim($password.val()), + err; + + if (password !== '') { + if (password.length < 6) { + err = '请输入长度为6-20字符的密码'; + } else { + pass = true; + } + } else { + err = '请输入密码'; + } + + if (pass) { + $passwordTip.addClass('hide'); + $password.removeClass('error'); + } else { + $passwordTip.removeClass('hide').children('em').text(err); + $password.addClass('error'); + } + return pass; +} + +//验证 +function validate() { + var pass = true, + account = $.trim($account.val()), + password = $.trim($password.val()); + + if (account !== '') { + pass = validateAccount() && validatePassword(); + } else { + pass = false; + $account.addClass('error'); + + if (password === '') { + + //账户名和密码都为空的情况下点击登陆,只在账户输入框后显示错误提示 + $accountTip.addClass('both-error').removeClass('hide').children('em').text('请输入账户名和密码'); + $passwordTip.addClass('hide'); + $password.addClass('error'); + } else { + $accountTip.removeClass('hide').children('em').text('请输入账户名'); + } + } + + return pass; +} + +$('[placeholder]').placeholder(); + +//展开地区列表 +$('#country-code').on('click', function() { + if ($countryList.css('display') === 'none') { + $countryList.slideDown(); + } +}); + +//选中地区列表项 +$countryList.on('click', 'li', function() { + var $this = $(this), + cc = $this.data('cc'); + + $countryCodeEm.html($this.html()); + + $countryCodeHide.val(cc); + + $countryList.slideUp(); +}); + +//点击其他区域,收起区域列表 +$(document).on('click', function(e) { + if ($(e.target).closest('#country-code').length > 0) { + return; + } + + if ($countryList.css('display') === 'block') { + $countryList.slideUp(); + } +}); + +//邮箱 +$account.on('keyup', function() { + var account = $.trim($(this).val()), + html = '', + accountMatch, + matchStr, + postfix, + i; + + //输入@时自动补全邮箱后缀 + //此处>0非错误,用于避免输入的第一个字符为@被识别为邮箱 + if (account.indexOf('@') > 0) { + accountMatch = account.match(/^[0-9]+@(.*)/); + if (accountMatch) { + + //数字邮箱补全 + postfix = mailPostfix.num; + matchStr = accountMatch[1]; + } else { + postfix = mailPostfix.other; + matchStr = account.match(/@(.*)/)[1]; + } + + for (i = 0; i < postfix.length; i++) { + if (postfix[i].indexOf(matchStr) > -1) { + html += '<li>' + account.slice(0, account.indexOf('@')) + '@' + postfix[i] + '</li>'; + } + } + + if (html !== '' && /.com$/.test(account) === false) { + $emailAutoComplete.html(html).removeClass('hide'); + } else { + + //隐藏autocomplete + $emailAutoComplete.html('').addClass('hide'); + } + } +}).on('blur', function() { + emailAcTime = setTimeout(function() { + $emailAutoComplete.addClass('hide'); + + //验证 + validateAccount(); + }, 200); + +}); + +//密码 +$password.on('blur', function() { + validatePassword(); + + if ($capsLock.hasClass('hide')) { + return; + } + + $capsLock.addClass('hide'); +}).on('keypress', function(e) { + var code = e.which; + + //CapsLock检测 + if (code >= 65 && code <= 90) { + $capsLock.removeClass('hide'); + return; + } + $capsLock.addClass('hide'); +}); + +//邮箱自动完成列表项点击 +$emailAutoComplete.on('click', 'li', function() { + clearTimeout(emailAcTime); //清空默认关闭 + + $account.val($(this).text()).focus(); + + $emailAutoComplete.addClass('hide'); +}); + +//记住登录状态 +$remember.on('click', function() { + var $this = $(this); + + $this.toggleClass('checked'); + + if ($this.hasClass('checked')) { + $this.children('i').html(checkbox.checked); + } else { + $this.children('i').html(checkbox.unchecked); + } +}); + +//focus到输入框则隐藏错误提示和样式 +$('.va').on('focus', function() { + var $this = $(this); + + $this.removeClass('error'); + + $this.siblings('.err-tip').addClass('hide'); +}); + +//登录 +$('#login-btn').on('click', function() { + var pass = validate(); + + if (pass && authing === false) { + authing = true; + + $.ajax({ + url: '/passport/login/auth', + type: 'POST', + data: { + areaCode: $countryCodeHide.val().replace('+', ''), + account: $.trim($account.val()), + password: $.trim($password.val()), + isRemember: $remember.hasClass('checked') ? true : false + }, + success: function(data) { + if (data.code === 200) { + if (data.data) { + + //防止data.data为undefined时下行语句执行出错而导致脚本不能走到complete去处理authing + location.href = data.data.session; + } + } else { + $passwordTip.removeClass('hide').children('em').html(data.message); + $password.addClass('error').val(''); + } + }, + complete: function() { + authing = false; + } + }); + } +}); +}); +define("js/passport/reset", ["jquery","jquery.placeholder"], function(require, exports, module){ +/** + * 找回密码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/14 + */ + +var $ = require("jquery"); + +var $pwd = $('#pwd'), + $repwd = $('#re-input'), + $next = $('#reset-pwd-btn'), + $pwdErr = $('#pwd-err'), + $repwdErr = $('#repwd-err'), + $pwdTips = $('#pwd-tips'); + +var hasNoErrPw = false; + +var $pwdIntensity = $('.pwd-intensity'), + $pwdParent = $pwdIntensity.closest('.pwd-intensity-container'), + $pwdTip1 = $('#pwd-tip1'); + +require("jquery.placeholder"); + + +/* + * 计算密码复杂度 + */ + +function gettype(str, i) { + if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { + return 1; + } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { + return 2; + } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { + return 3; + } + + return 4; +} + +function isregular(cur, pre, type) { + var curCode = cur.charCodeAt(0); + var preCode = pre.charCodeAt(0); + + if (curCode - preCode === 0) { + return true; + } + + if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { + return true; + } + + return false; +} + +function getcomplex(curType, preType) { + if (preType === 0 || curType === preType) { + return 0; + } else if (curType === 4 || preType === 4) { + return 2; + } else { + return 1; + } +} + +function computeComplex(password) { + var complex = 0, + length = password.length, + pre = '', + preType = 0, + i = 0, + cur, + curType; + + + for (i = 0; i < length; i++) { + cur = password.charAt(i); + curType = gettype(password, i); + + if (preType !== curType || !isregular(cur, pre, curType)) { + complex += curType + getcomplex(curType, preType); + } + + pre = cur; + preType = curType; + } + + return complex; +} + +function pwdKeyupEvt() { + var pwd = $pwd.val(), + pwdStrength = computeComplex(pwd), + level = 0; + + //TODO:自定义密码强度规则,需要修正 + if (pwdStrength === 0) { + level = 0; + } else if (pwdStrength <= 10) { + level = 1; + } else if (pwdStrength <= 20) { + level = 2; + } else { + level = 3; + } + switch (level) { + case 0: + $pwdParent.removeClass('red yellow green'); + $pwdIntensity.removeClass('color'); + break; + case 1: + $pwdParent.addClass('red').removeClass('yellow green'); + $pwdIntensity.filter('.low').addClass('color'); + $pwdIntensity.filter('.mid,.high').removeClass('color'); + break; + case 2: + $pwdParent.addClass('yellow').removeClass('red green'); + $pwdIntensity.filter('.low,.mid').addClass('color'); + $pwdIntensity.filter('.high').removeClass('color'); + break; + case 3: + $pwdParent.addClass('green').removeClass('yellow red'); + $pwdIntensity.addClass('color'); + break; + } + + // + if (pwd === '') { + hasNoErrPw = false; + $pwdTip1.removeClass('red yes no').addClass('default'); + } else { + if (pwd.length < 6 || pwd.length > 20) { + hasNoErrPw = false; + $pwdTip1.text('密码只支持6-20位字符').removeClass('default yes').addClass('no red'); + } else if (!/[0-9a-zA-Z]{6,20}$/.test(pwd)) { + hasNoErrPw = false; + $pwdTip1.text('不能包含特殊字符').removeClass('default yes').addClass('no red'); + } else { + hasNoErrPw = true; + $pwdTip1.text('密码只支持6-20位字符').removeClass('default no red').addClass('yes'); + } + + //提示2不做验证 + } +} + +//IE8 placeholder +$('input').placeholder(); + +$('.va').keyup(function() { + var pass = true; + + if ($(this).hasClass('pwd')) { + pwdKeyupEvt(); + } else { + if ($(this).val() === '') { + pass = false; + } + } + if (pass && hasNoErrPw && $pwd.val() === $repwd.val()) { + pass = true; + } else { + pass = false; + } + if (pass) { + $next.removeClass('disable').prop('disabled', false); + } else { + $next.addClass('disable').prop('disabled', true); + } +}).blur(function() { + var v = $(this).val(); + + if ($(this).hasClass('pwd')) { + if (v === '') { + $(this).addClass('error'); + $pwdErr.removeClass('hide').find('em').text('请输入密码'); + } else if (v.length < 6 || v.length > 20) { + $(this).addClass('error'); + $pwdErr.removeClass('hide').find('em').text('密码只支持6-20位'); + } else { + $pwdErr.addClass('hide'); + if ($repwd.val() !== '') { + if (v !== $repwd.val()) { + $repwd.addClass('error'); + $repwdErr.removeClass('hide').find('em').text('两次密码输入不一致,请重新输入'); + } else { + $repwd.removeClass('error'); + $repwdErr.addClass('hide'); + } + } + } + } else { + if (v === '') { + $(this).addClass('error'); + $repwdErr.removeClass('hide').find('em').text('请输入密码确认'); + } else { + if ($pwd.val() !== '' && v !== $pwd.val()) { + $(this).addClass('error'); + $repwdErr.removeClass('hide').find('em').text('两次密码输入不一致,请重新输入'); + } else { + $(this).removeClass('error'); + $repwdErr.addClass('hide'); + } + } + } +}).focus(function() { + $(this).removeClass('error'); + + //focus后错误提示隐藏 + if ($(this).hasClass('pwd')) { + $pwdErr.addClass('hide'); + } else { + $repwdErr.addClass('hide'); + } +}); + +$pwd.focus(function() { + $pwdErr.addClass('hide'); + $pwdTips.removeClass('hide'); +}).blur(function() { + $pwdTips.addClass('hide'); +}); + +$('#pwd, #repwd').keydown(function(e) { + var code = e.keyCode || e.which; + + //空格输入过滤 + if (code === 32) { + e.preventDefault(); + return; + } +}); + +}); +define("js/passport/vertification", ["jquery"], function(require, exports, module){ +/** + * 验证手机 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/14 + */ + +var $ = require("jquery"); + +var $sc = $('#send-captcha'), + $msgTip = $('#captcha-tip'), + $errTip = $('#err-tip'), + $next = $('#next-step'), + seconds, + itime; + +$sc.click(function() { + $.post('/passport/back/sendbackmobile', { + mobile: $('#mobile').val(), + area: $('#area').val(), + verifyCode: $('#captchaPic').val() + }, function(jsonData) { + if (jsonData.code === 200) { + $errTip.hide(); + if ($(this).hasClass('disable')) { + return; + } + seconds = 60; + + //$sc.addClass('disable').prop('disabled', true); + $sc.addClass('disable').attr('disabled', true); + $msgTip.removeClass('hide'); + + $sc.val(seconds-- + '秒后可重新操作'); + itime = setInterval(function() { + if (seconds === 0) { + clearInterval(itime); + + //$sc.val('发送验证码').removeClass('disable').prop('disabled', false); + $sc.val('发送验证码').removeClass('disable').removeAttr('disabled'); + } else { + $sc.val(seconds-- + '秒后可重新操作'); + } + }, 1000); + } else { + $(this).addClass('error'); + $errTip.removeClass('hide').text('发送失败'); + } + }); +}); + +if ($(this).hasClass('disable')) { + return; +} +seconds = 60; + +//$sc.addClass('disable').prop('disabled', true); +$sc.addClass('disable').attr('disabled', true); +$msgTip.removeClass('hide'); + +$sc.val(seconds-- + '秒后可重新操作'); +itime = setInterval(function() { + if (seconds === 0) { + clearInterval(itime); + + //$sc.val('发送验证码').removeClass('disable').prop('disabled', false); + $sc.val('发送验证码').removeClass('disable').removeAttr('disabled'); + } else { + $sc.val(seconds-- + '秒后可重新操作'); + } +}, 1000); + + +$('#captcha').keyup(function() { + var v = $.trim($(this).val()), + that = this; + + if (v.length === 4) { + $.ajax({ + type: 'POST', + url: '/passport/back/backmobile', + dataType: 'json', + data: { + code: $('#captcha').val(), + verifyCode: $("#captchaPic").val(), + area: $('#area').val(), + mobile: $('#mobile').val() + }, + success: function(res) { + if (res.code === 200) { + + //添加验证码正确验证 + $next.removeClass('disable').attr('href', res.data); + $errTip.addClass('hide'); + $(that).removeClass('error'); + } else { + $next.addClass('disable'); + $errTip.removeClass('hide').find('em').text('验证码输入错误'); + $(that).addClass('error'); + } + } + }); + } +}).blur(function() { + var v = $.trim($(this).val()); + + if (v === '') { + + //添加验证码正确验证 + $(this).addClass('error'); + $errTip.removeClass('hide').text('请输入验证码'); + } +}).focus(function() { + $(this).removeClass('error'); +}); +}); +define("js/passport/thirdlogin", ["jquery"], function(require, exports, module){ +/** + * 第三方登录首页 + * @author: wq + * @date: 2016/1/21 + */ +var $ = require("jquery"); +var nomessage = true; +var nopermissionoption = $('#nopermissionmessage').html(); +var sendmessagehtml = $('.validatewrapper').html(); +var second = +$('.second').text(); +var dovalidate = false; +var validatecode = false; +var isvalidatecode = false; + +/** + * 选择协议 + * @return {[type]} [description] + */ +function chooseProtocol() { + $('.choosetag').on('change', function() { + if ($(this).attr('checked') === 'checked') { + $('.choosewrapper').css({ + 'background-image': 'url("http://webstatic.dev.yohobuy.com/img/passport/choosed.png")' + }); + } else { + $('.choosewrapper').css({ + 'background-image': 'none' + }); + } + + }); +} +/** + * 判断是否同意协议 + * @return {[type]} [description] + */ +function isagree() { + return $('.choosetag').attr('checked') === 'checked'; +} +/** + * 选择区域的开关 + * @return {[type]} [description] + */ +function chooseAreaToogle() { + $('.optionshow').on('click', function() { + $('.optionslist').toggleClass('hide'); + }); +} + +/** + * 验证码校验 + * @return {[type]} [description] + */ +function codeValidate() { + var validatenum = ''; + + $(document).on('keyup', '#validatenum', function() { + validatenum = $(this).val(); + if (validatenum.length === 4) { + if (!dovalidate) { + dovalidate = true; + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/checkBindMsg', + data: { + code: validatenum, + mobile: $('#mobile').val(), + area: $('#area').val() + } + }).then(function(data) { + dovalidate = false; + if (data.code === 200) { + validatecode = true; + } else { + alert(data.message); + } + }); + } + } + }); +} + +/** + * 选择区域 + * @return {[type]} [description] + */ +function chooseArea() { + $('.optionitem').on('click', function() { + var $option = $(this); + var areanum = $option.attr('areanum'); + var areaname = $option.text(); + + $('#areaname').text(areaname); + $('#areanum').text(areanum); + $('#areacode').val(areanum); + $('.optionslist').addClass('hide'); + }); +} +/** + * 取消选择区域 + * @return {[type]} [description] + */ +function cancelChooseArea() { + $(document).on('click', 'body', function(e) { + var $target = $(e.target); + + if ($target.hasClass('yohoselectarea') || + $target.hasClass('areaname') || + $target.hasClass('righttag') || + $target.hasClass('optionslist') || + $target.hasClass('optionitem')) { + return; + } else { + $('.optionslist').addClass('hide'); + } + }); +} +/** + * 去掉区域号的加号 + * @return {[type]} [description] + */ +function fixAreaNum() { + var $opitem = ''; + var itemarecode = ''; + + $('.optionitem').each(function() { + $opitem = $(this); + itemarecode = $opitem.attr('areanum').replace(/\+/g, ''); + $opitem.attr('areanum', itemarecode); + }); +} + +/** + * 关闭蒙层 + * @return {[type]} [description] + */ +function closeMask() { + var $target; + + $(document).on('click', '#alreayregist', function(e) { + $target = $(e.target); + if ($target.hasClass('mask') || $target.hasClass('backdrop')) { + $('#alreayregist').hide(); + } + }); + $(document).on('click', '#bindconfirm', function(e) { + $target = $(e.target); + if ($target.hasClass('mask') || $target.hasClass('backdrop')) { + $('#bindconfirm').hide(); + } + }); +} +/** + * 绑定其他手机号 + * @return {[type]} [description] + */ +function yohoBindBtn() { + $(document).on('click', '#yohobindbtn', function(e) { + $('.phonenum').val(''); + $('#bindconfirm').hide(); + }); + $(document).on('click', '#yohobindbtn2', function(e) { + $('.phonenum').val(''); + $('#alreayregist').hide(); + }); +} +/** + * 发送短信的时间变换动画 + * @return {[type]} [description] + */ +function changeSecond() { + second -= 1; + if (second < 0) { + second = 60; + nomessage = true; + $('.validatewrapper').html(sendmessagehtml); + return; + } else { + $('.second').text(second); + window.setTimeout(changeSecond, 1000); + } + +} +/** + * 时间循环 + * @param {[type]} phonenum [description] + * @return {[type]} [description] + */ +function circleTime(phonenum) { + if (nomessage) { + $('.validatewrapper').html(nopermissionoption); + window.setTimeout(changeSecond, 1000); + } +} +/** + * 发送短信 + * @return {[type]} [description] + */ +function sendMessageValidate() { + $(document).on('click', '#sendmessage', function() { + if ($('#sendmessage').attr('disabled') === 'disabled') { + return; + } + circleTime($('#mobile').val()); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/sendBindMsg', + data: { + mobile: $('#mobile').val(), + area: $('#area').val() + } + }).then(function(data) { + if (data.code === 200) { + isvalidatecode = true; + } else { + alert(data.message); + } + }); + + }); +} + +/** + * 最终提交表单 + */ +function actionSubmit() { + var mobile = ''; + var area = ''; + + area = $('#area').val(); + mobile = $('#mobile').val(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/bindMobile', + data: { + area: area, + openId: $('#openId').val(), + sourceType: $('#sourceType').val(), + mobile: mobile + } + }).then(function(data) { + if (data.code === 201) { + window.location.href = '/passport/thirdlogin/bindsuccess'; + } else { + alert(data.message); + } + }); +} + +/** + * 确认去绑定 + * @return {[type]} [description] + */ +function goToBindPhone() { + $(document).on('click', '#gotobindphone', function() { + if (validatecode === true) { + $('#inarea').val($('#areanum').val()); + $('#inmobile').val($('#mobile').val()); + actionSubmit(); + } else { + alert('请输入正确验证码'); + } + }); +} +/** + * 无交互的发送短信 + * @return {[type]} [description] + */ +function sendMessage() { + var mobile = ''; + var area = ''; + + mobile = $('#mobile').val(); + area = $('#areanum').text(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/sendBindMsg', + data: { + mobile: mobile, + area: area + } + }).then(function(data) { + if (data.code === 200) { + isvalidatecode = true; + } else { + alert(data.message); + } + }); +} +/** + * 点击下一步 + * @return {[type]} [description] + */ +function nextStep() { + var openId = ''; + var sourceType = ''; + var mobile = ''; + var areaCode = ''; + var username = ''; + var headImg = ''; + + $('#bindfirststep').on('click', function(e) { + e.preventDefault(); + mobile = $('.phonenum').val(); + areaCode = $('#areanum').text(); + if (mobile === '') { + alert('手机号码不能为空'); + return; + } + if (!isagree()) { + alert('请先同意我们的协议'); + return; + } + openId = $('#openId').val() || '29803EC6D4AAC3AAB8ABDB6AE829D579'; + sourceType = $('#sourceType').val() || 'qq'; + $.ajax({ + type: 'post', + url: '/passport/autouserinfo/bindCheck', + data: { + mobile: mobile, + area: areaCode, + openId: openId, + sourceType: sourceType + }, + dataType: 'json', + success: function(data) { + if (data.code === 200) { + $('#bindmobileform').attr('action', '/passport/thirdlogin/noregist'); + sendMessage(); + $('#bindmobileform').submit(); + } + if (data.code === 506) { + username = data.data.user.username; + headImg = data.data.user.headImg; + $('#registphone').text(mobile); + $('#username').text(username); + $('#userphoto').attr('src', headImg); + $('#logindirectly2').attr('href', data.data.user.bindLogin); + $('#alreayregist').show(); + } + if (data.code === 505) { + username = data.data.user.username; + headImg = data.data.user.headImg; + $('#registphone').text(mobile); + $('#username1').text(username); + $('#userphoto1').attr('src', headImg); + $('#logindirectly').attr('href', data.data.user.bindLogin); + $('#bindconfirm').show(); + } + } + }); + }); +} + +function init() { + fixAreaNum(); //去掉所有区域的+ + sendMessageValidate(); + chooseProtocol(); + chooseArea(); + chooseAreaToogle(); + cancelChooseArea(); + nextStep(); + closeMask(); + yohoBindBtn(); //绑定其他手机号点击 + goToBindPhone(); + codeValidate(); +} +init(); +}); +define("js/passport/enablePerfectInformation", ["jquery"], function(require, exports, module){ +/** + * 第三方绑定完善个人信息 + * @author: wq + * @date: 2016/1/27 + */ +var $ = require("jquery"); +var nomessage = true; +var isvalidatecode = false; +var isvalidatepwd = false; +var second = ''; +var nopermissionoption = ''; +var sendmessagehtml = ''; +var $pwd, + $pwdParent, + $pwdTip1, + $pwdIntensity; + +nopermissionoption = $('#nopermissionmessage').html(); +sendmessagehtml = $('.validatewrapper').html(); +second = +$('.second').text(); + + +function gettype(str, i) { + if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { + return 1; + } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { + return 2; + } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { + return 3; + } + + return 4; +} + +function isregular(cur, pre, type) { + var curCode = cur.charCodeAt(0); + var preCode = pre.charCodeAt(0); + + if (curCode - preCode === 0) { + return true; + } + + if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { + return true; + } + + return false; +} + + +function getcomplex(curType, preType) { + if (preType === 0 || curType === preType) { + return 0; + } else if (curType === 4 || preType === 4) { + return 2; + } else { + return 1; + } +} + + +/** + * @desc: 计算密码复杂度(from:http://www.oschina.net/code/snippet_127301_17269) + * @author: xuqi(qi.xu@yoho.cn) + * @date: 2015/5/6 + */ +function computeComplex(password) { + var complex = 0; + var length = password.length; + var pre = ''; + var preType = 0; + var i = 0; + var cur = ''; + var curType = ''; + + for (i; i < length; i++) { + cur = password.charAt(i); + curType = gettype(password, i); + if (preType !== curType || !isregular(cur, pre, curType)) { + complex += curType + getcomplex(curType, preType); + } + pre = cur; + preType = curType; + } + + return complex; +} + + + +function changeSecond() { + second -= 1; + if (second < 0) { + second = 60; + nomessage = true; + $('.validatewrapper').html(sendmessagehtml); + return; + } else { + $('.second').text(second); + window.setTimeout(changeSecond, 1000); + } + +} + +function circleTime(phonenum) { + if (nomessage) { + $('.validatewrapper').html(nopermissionoption); + window.setTimeout(changeSecond, 1000); + } +} + +function sendMessageValidate() { + var mobile = ''; + var area = ''; + + $(document).on('click', '#sendmessage', function() { + if ($('#sendmessage').attr('disabled') === 'disabled') { + return; + } + mobile = $('#mobile').val(); + area = $('#area').val(); + circleTime($('#mobile').val()); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/sendBindMsg', + data: { + mobile: mobile, + area: area + } + }).then(function(data) { + if (data.code !== 200) { + alert(data.message); + } + }); + + }); +} + + + +function codeValidate() { + var validatenum = ''; + var dovalidate = false; + + $(document).on('keyup', '#validatenum', function() { + validatenum = $(this).val(); + if (validatenum.length === 4) { + if (!dovalidate) { + dovalidate = true; + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/checkBindMsg', + data: { + code: validatenum, + mobile: $('#mobile').val(), + area: $('#area').val() + } + }).then(function(data) { + dovalidate = false; + if (data.code !== 200) { + alert(data.message); + } else { + isvalidatecode = true; + } + }); + } + } + }); +} + +function pwdKeyupEvt() { + var pwd = $pwd.val(), + pwdStrength = computeComplex(pwd), + level = 0; + + if (pwdStrength === 0) { + level = 0; + } else if (pwdStrength <= 10) { + level = 1; + } else if (pwdStrength <= 20) { + level = 2; + } else { + level = 3; + } + switch (level) { + case 0: + $pwdParent.removeClass('red yellow green'); + $pwdIntensity.removeClass('color'); + break; + case 1: + $pwdParent.addClass('red').removeClass('yellow green'); + $pwdIntensity.filter('.low').addClass('color'); + $pwdIntensity.filter('.mid,.high').removeClass('color'); + break; + case 2: + $pwdParent.addClass('yellow').removeClass('red green'); + $pwdIntensity.filter('.low,.mid').addClass('color'); + $pwdIntensity.filter('.high').removeClass('color'); + break; + case 3: + $pwdParent.addClass('green').removeClass('yellow red'); + $pwdIntensity.addClass('color'); + break; + } + if (pwd === '') { + isvalidatepwd = false; + $pwdTip1.removeClass('red yes no').addClass('default'); + } else { + if (pwd.length < 6 || pwd.length > 20) { + isvalidatepwd = false; + $pwdTip1.removeClass('default yes').addClass('no red'); + } else { + isvalidatepwd = true; + $pwdTip1.removeClass('default no red').addClass('yes'); + } + } +} + +function validatePwd() { + + $(document).on('keyup', '.pwdcontent', function() { + + pwdKeyupEvt($(this)); + }); + $(document).on('focus', '.pwdcontent', function() { + $('#pwd-tips').removeClass('hide'); + }); + $(document).on('blur', '.pwdcontent', function() { + $('#pwd-tips').addClass('hide'); + }); +} + +/** + * 最终提交表单 + */ +function actionSubmit() { + var mobile = ''; + var area = ''; + var pwd = ''; + var code = ''; + + area = $('#area').val(); + pwd = $('#pwd').val(); + mobile = $('#mobile').val(); + code = $('#validatenum').val(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/bindMobile', + data: { + area: area, + openId: $('#openId').val(), + sourceType: $('#sourceType').val(), + mobile: mobile, + password: pwd, + code: code + } + }).then(function(data) { + if (data.code === 200) { + window.location.href = '/passport/thirdlogin/bindsuccess'; + } else { + alert(data.message); + } + }); +} + +function actionConfirm() { + var validatenum = ''; + var pwd = ''; + + $('#confirmsubmit').on('click', function() { + validatenum = $('#validatenum').val(); + pwd = $('#pwd').val(); + if (validatenum === '') { + alert('短信验证码不能为空'); + return; + } + if (pwd === '') { + alert('密码不能为空'); + return; + } + if (isvalidatecode === false) { + alert('请输入正确的验证码'); + return; + } + if (isvalidatepwd === false) { + alert('请输入符合强度的密码'); + return; + } + actionSubmit(); + }); +} + + + +function init() { + $pwd = $('#pwd'); + $pwdParent = $('.safelevel'); + $pwdIntensity = $('.pwd-intensity'); + $pwdTip1 = $('#pwd-tip1'); + sendMessageValidate(); + codeValidate(); + validatePwd(); + actionConfirm(); +} + +init(); +}); diff --git a/web-static/dist/yohobuy/0.0.4/index.css b/web-static/dist/yohobuy/0.0.4/index.css new file mode 100644 index 0000000..f14239b --- /dev/null +++ b/web-static/dist/yohobuy/0.0.4/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}.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?1453969227');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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MUFFQTNDNEExRjA1MTFFNUIwODc4NTUzNUJFODJCMjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MUFFQTNDNEIxRjA1MTFFNUIwODc4NTUzNUJFODJCMjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxQUVBM0M0ODFGMDUxMUU1QjA4Nzg1NTM1QkU4MkIyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxQUVBM0M0OTFGMDUxMUU1QjA4Nzg1NTM1QkU4MkIyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj44ndIAAAF7SURBVHjavJa7SsRAFEBn11gpov8gCCIKIijYrVjZCYmNFjYidn6BrSCWFoKdjQTsLKw0bHwh2gi+BTu30TWFK+j6OgMTiEOM0Z3shUPmzoQ5ZF6ZnG3ba0KIMfE9zqAH3sQv4bquSBN5GI2p74RuYTCkaAa24Fxr6zctWoEhGNfaBkyKcsxRWG6AMrSo/AaGDThemMeSFal4Bx9GVN4Otya+xnGchbxWVxTZxGy9RA+66AgqGYg8XSQ36F49RFkN306cyDMsuYfTONGhXPsGRUX20Wec6BUODIr88AgSGQ+flyTyDUkCOEkS7UPVgGiX+flIEj2rRWFk2JJEpuZpO41oCa5qkKwybMdhYiW8WIIOaP2HpIqkov9h06ycQN0jBtVmDusCOpTPJihAm8x1SVqRjEW5gmBDnYVW5KfWxeMC1uGSvPDTnSFNTEXKfdAbySegWZUbYbIWUVnLH7VDM+ndP4mm4Q6eYA6uI23LsKk2uDwj5+M6+BJgAFPmZONXOE3uAAAAAElFTkSuQmCC") !important}.yoho-header .gobuygirls{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABfklEQVRIx73Vv0vDQBTA8e9F3UR09j8QUSiC4Cg4ud3iJOIi4uZ2m+uBODq46uJipg5ONbRWiyiC4G/BTZdaHfxBrRiHpJLG2NTm4pvevXe5Dxy5O+FqexOYojHOgGGh5AeGwgJkRH0AGDKF1KEFIAech3qjJiFRT1xtZ4CjQG9dKDmTBtQBVIAev3QDTBgwqkLJexGsuNrOApMmt8yPZStUyKeAACz+F/QQhg6BlxQgpwHyD+he6pAfaWzfbhTkGEbKwGkUdABUDUJ5oaT7AxJKvgMlg1ABvLsuKhyDkNMMKhhCnoCTZtA+UDMAFYWSn79CQslXvJ8iaTj1xGplUoLYaQVaBa4SIBtCye/3TcTNdrXd2wZSE0o23JmxUAAcA/qAnFDyLdTrx3v6j4WSt1HfW/EEuNpeAYpAFsi72u4M9AaBC2ALuHS1Pd42BMwF8hEgExhPA91+3gXMJoEqofFjIC/HzP0TNA/cAc/AklDyOtBbA7bxDngJ0FELfAHxEGiu2DHs/wAAAABJRU5ErkJggg==") !important}.yoho-header .gobuykids{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABgUlEQVRIx73Vvy8EQRTA8e8eMo0Itf9ADMlFIlFKVDqNSkQjolNvoZpEIkqFlkaju0J1NneOixCJjd8SHc05Cj8yTlDsnuytdXvcrFe9eW92PslkZ8ayXb0OjFMbJ0C/kuINQ5ECxiLqPUCfKaQKzQJZ4DTUGzQJWdXEdnUaOAj0VpUUk0lALUAZ6PBLV8CIAUMrKW6tYMV2dQYYNbllfiymQoVcAgjA3H9Bd2FoH3hKAHJqIP+A7iQO+ZHE9m1HQY5hpAQcR0F7gDYI5ZQUH98gJcUrUDQI5cG766LCMQg59aC8IeQBOKoH7QIVA1BBSfH+I6SkeMb7KZoNp5qkGpnURGw1Ai0DF00ga0qKr/fNipttu7rzD0hFSVFzZ8ZCAXAI6AKySoqXUK8b7+k/VFJcR32fiifAdvUSUAAyQM52dWug1wucARvAue3q4T9DwHQgHwDSgfEE0O7nbcBUM1A5NL4P5KWYub+CZoAb4BGYV1JcBnorwCbeAS8CC1ELfAIRimiKicNJAQAAAABJRU5ErkJggg==") !important}.yoho-header .gobuylifestyle{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABf0lEQVRIx73VPUvDQBjA8X+ibiI6+w1EFIogSCbBKZuLkxEXETc/gasgjg6u5+Li1gOnGtqrFlEEwXfBTZdaHXyhVtQhqaQxNrW5+EzPPc/lfnDk7gzHtjaBKRrjFBgWUr2jKUxgMqI+AAzpQurQApADzkK9UZ2QUU8c28oAh4GeEFLNpAF1ABWgxy9dAxMajKqQ6s4IVhzbygK2zi3zY8UMFfIpIACL/wXdh6ED4DkFyG2A/AO6mzrkRxrbp6IgVzNSBk6ioH2gqhHKC6k+f0BCqjegpBEqgHfXRYWrEXKbQQVNyCNw3AzaA2oaoKKQ6uNXSEj1gvdTJA23npitTEoQO61Aa8BlAmRDSPX9vhlxsx3b6m0DqQmpGu7MWCgAjgF9QE5I9Rrq9eM9/UdCqpuo7814AhzbWgWKQBbIO7bVGegNAufAFnDh2NZ42xAwF8hHgExgPA10+3kXMJsEqoTGD4G8HDP3T9A8cAs8AUtCqqtAbx3YxjvgJWA5aoEvXQ1rTnQJKpQAAAAASUVORK5CYII=") !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?1453969227');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:410px;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:337px;height:250px;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,iVBORw0KGgoAAAANSUhEUgAAAKsAAAAoCAYAAACBzApvAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAASpElEQVR42u2ceXxVRZbHvxUVROkWbXUior4HaAQCJAgkJJBtFCQIZGERpx27m2bapadH7Y1pp+2PPYvTLh+RRmdamZ6ej6ORJZCEBGQLkIWlBcISE5AtCGqrrYIIIkvO/HHve+8uVfc9tmb+yO+j4dZyTp06t+rUqVN1n5py35TtCKntCAjYfxCJ/GH13Llz80kAxSXFoxB5S+y0iKCA9ghf67+Bi6qqtiXCLwgjR406BnQRxBbT1cY/r1y+/MlzbeNCYEhm5kFBboxm2MLbXXh804Y/vgAwaOjg7iK8H6OM9VOi7yqmZ4cGInWPgTQD8xBebt6y9djF7vu5Ign4bTSlon8cafImTprYPx6j4pKSq4HfO+mVUt5qM8/LQL377uuBLpaISldl319GfWeGIcMyOwHd3RK7Uo4hSMjMydNnpdXBFcBQ4FmgJTVtYPrF7v+5Ign4X+BzX3fdGT9KgNcsoLt+7ACwE8U/nie5e+qzVUTu/5eDFbjFKaRHcoD3HFlhwyB0EXgeoznKXXILsLRf2oDki62Ac0FS2Rtlx1DM1qslmvvtiZMmfsvEpLi0ZCJwn67MNhWnQT1QVVl1vpaikFbKWLrtwqrtrBH25biFd8itwsplaM8Qyvd8nUI9c7EVcC5Isv99GWg391VdDkzTMSgtLU1W8B/OmawZ+E9XVVZuOF9CK91Lj+EUcPBCK+4sEYpT3mauqwINbYKY3C9twFUXWwlniySAsjfK2kBV2joB/Vr+8ISJEy/V5M9W4LG6LvotSYpfn2e53UukW9wDK5YvP3XBNXd26BmRVeO3Ht604Y+fufpogNEkGHOj6AQMvNhKOFskOZ5f1HY0lnkTivHOotIJpVNRjAmg+VopdX9FReXJ8yx3yN2cax1ou7AqO19y+7TtldsarHpz+gYQRhG264VRKgykA2Vurfjor7nYSjhbRC1lWVnZmilT7t0mMCBaqnDtT5W10SoHmDCxNCzCC5Ey8dS18cuKhRXN3sxx48amCAwHUkSkG3BUhIPABpB1NdU1pwOlVoQD3LkLsrkanpNzpUCuQBoiyUAnkE+BFhFWrGto+CgBNkHuS1vkYdDQIZcAN1kDTnRdfWfrxk1tOiYDBqV/G+gNDEH/Tj65EPr5S8C7rM8EZruzrB7basuZMHFiGsg24L9BvhGpo6IRvqiGGoDnI1zGjR/fCZgK8ghCv5gW7foxxb5fOGbMcwIvLamp8VnkUaPvTsLa3WqkBGDfnSPvuhlhqsAoQfogXAnyscAGhNeB8lUrVya0exmem9sf5GcIExRcDrr3T/uw4dmVwJPrGhqbTbwUKqwdepbwe6NJpXqIyKVaHgpEzBNy2+am9v6D0pcDQzRtnFKo7QB9Bw4YDUyO9kZiMVoAEabu2N7sMhopqf1Gg0y2y4kQxuK/HAR6OAptXgKwec+OnTODdB2+7dYHEMl3UktMvkMehag3QJ7BXir0E5N/ALYDuc4anrpHFfztwoUV7QDji8bnKZjdLvTyak+TuhF4AfjO6DGFxUtqFrtejEJ1F+Qyn2yxjBLgSeAyT9kNQBGKIoT1+QUF966qrd1vUtyIvLyuIM8IPGjPwBg7hfd9JAHFwNjM4dnT1zc0Pu/ll5E17AoRrtMpy0ab873ppYoSBq4eCm41zMSa5i1bv7D7MEqEBwwsPvYOVBt3gZ/G1scnwGLgAV//rPSdWMZQi/Btt3YDXgRMG8CnnD4rZWVlXwGvGg4HIpgC/JtPh248vnBhxT6AouKi6UqpWnAOVAgKyygrEjkQqB9dWOh9cWFXxSi/6HM6zoGqFzMTWJVfUHCdrl5Ofl5P4G3gIRWJizqIxbs9iiUvBZ7LHJ79L7r3ESAPHl87RDDaTAUDBqUPw5o4XrSDa6Mb0klhwzQZDPFtAPYqqAsov7HX7SlB9I8CVxl89MMKZviWGgWzBH4CXBLti3uWdI44qEqJy8LY2YuBVwGKioueBqajaSTCU2OlXB0EKkYXFg5esnhxxCUI8vtiDSixvYuI1+dzwMMIL+KJD+fk5/cGWW21bVhbTG3G6j6RkZ21aUPj2oWOCuE4NHuNdd1KOgFcnjb4jlB02bYeugF3iciTRN27SO8VIL9u3rJ1s4NrSC+KAqTN0MkQBrOJNYG0g9Xheed4+ml1NuXWbgiP6rRi085o273nUJKX8M2yNw8CC/xK9T55UwrgM2DawgULpbik+Ac4BqoYOBj4OJ8HQKwjUSWrYC6mljyYlFtQ0COSyM3P7wYswZokCcB4EoWClzKys7p45VYmqZTJDVDeVagTluXz/t8EPAN01Qg0A3zhQ5+Vc0jmG1DOPhiwb1dL627ggwDN5xryH0UZl//DtvwkGSpE7wt4Dge0WnY8PbxwwYIPiktK+mIKhbnolImVN+/x0YWFkVUgHFTdRjuwH+uAwFBZAVyiYKQjc5aydtIeJzVQahNuAL7jSIcDgvqfbly/4UtHOqSMlc/ocOAjYHJz05bHmpu2Rkd8atrAa4BvBNC1eTNS+ve7xjmgvDIoFXUd6g1iA4zwZvdMua0bbmPkxYz9u/YcAsNgnVP2Zj2KLQm/FptsQfmCOfbzTKCzlz4pljwMzFLINOBnWFbBPTHcbmIykGc/h12Txn84sBDosWLZ8hDQA93S5CbpA5BbkJ8D/I2hTuRvHZaLNE0pXgW+1onhoJrsyAj7i6P/eC1ZAq5OQocDnfFaWgsht8xxY75RmgC02ZxWB4jVq9ftKT08eY9AfKsKZssK3p2bb3W2VaUE4AMUjwCUlJRkA3/tpXFYilqgV1VV1d9XVS2avahq0bPAYOA/4ygj2+ZpVJpCtQKTVyxb9iHAiuXLPwK+r9zW39unyK73VyauwFfApIa6utyGurrnG+vqZjfW1f8d1q2mz81kZGZkZ11iZ4QC+LdFUoMzhnZC54YkeKnFU68bqP/qn572tIeiZxw+OjcgYAIpINiyOt7B8KgQKbd1BR4L6OuMtl27D0USQYO1DPizTxloJ8208vnlnwKI4vsBPLcBY6sqqz51ZlYvWtSOdeCw199C9Dk8unD0ZcBNAYK8vmLZMldsVrl2ttoX/nluQUFvoCCg3tSGNWvmeTPX1tdvAzXdRKcsyxa56ZTQgQBws0pE4wYYTiGnp6anTXLkhAJYCKj3NPkuP9pPQyQM2EJk3OiR53j+Ic6jevdq5rKqEDBY55S9eRyXtYssOr5tzKvl88sXA5SWliYpuMe0PAn8uKqyUnvzqnpR9UlgfsB76QbqJoIn2C5N3s3m6lGLcI9uE2n/u6Z+9ZqygDbLtFxjuDIjO6ubJX+k3NdJpyWLWj3lCs1FXc6XgaeU4imI/v8bwHgYYeOZ1PSBEd2FlNl9+KB12/YTmqKQr26MxQfvvtN6AmBXS6sAdQETLAeg1+0pXZVSPzHoAzxWFfwnWF78HvingADOPuBxRzqs4FptYMM65lsZp70PtW1ZmYctJWMHohxBmVjNtkAlu2Mikec2BcXiLY+lgwYqa+vrj2SNGH4Yrd+lADkGJEcP6pxRKIcMWnn1+GXT25s+82YOvGPQE8A8HDFWT3duwdrgrME1IXyhQ1MkIKxjasMbl60HSgz67NPr9pTrgKn4LkBF4bOqEGylQHFZnFu+T82fN/9LR3kvHZOIEiorKuMFLbu7KN3rYVtUyT7jHmtDwzNklMjCPhUc7H43SOCsESOuxh6oPrdScQL4E/ZXDSZ4XJVQQNUjTW9v/ExXsHXT5tPAEx59eDHYpBOHVtoMtEFujOeU0d5kmVGItVE1YcY+j1WF+JY11intLFE7PfWv0OrAojNe3gYYO25skoiUBFTZCGQElB9dtnSp31dS9Aw4HDi6qrb2k/yCAs1gita7Po6OikwdBrZsaFx7KiM7ay/wXYNZElA+N0C/wiiT1YvgEz1tdB2K3LgKGTko/WBVEPLydLTipdkOfAF8UycF1p2RM7KqEH+weixOTED7yau8k6AQJbqlondRcVH/ioUV2w1t/RBUL906DeorkFpgsu4qmGYpdSIU4MZEaE5qXkAExcAcHXFWTs5ViDwVcNJVA7Chce1h4A8kAkVIz0qhzCdLEeQF8AXhWGr6wGSgi3sCu+CbELf3T/0roEvAaZ7Lsu5qaT3du2+felBjDDRmw6WYsW/nrkO6omA3wDEDNYcDx+bPm/exp35bpK5zk+WgfXV80XhfMHrsuHH3As+ha8zCnCWLFx/FsFwbYpW+Pmh4R5R8wBtydGyyJo/Iy/NZ/OE5OdcqqMYZnXA3cxr4n0g6IzurR0Z21vMZWcM2ZmQNax46bNgrQ4Zl3qIhdS23nsOBNkMfGTh40E04brkZ0ITH1dLgK02ee0Xzh7l1dwmCDgd8/bPHlNGqQnzLGraXezQzRCfgDqxLB1cZlowMoKmoaPyL7UILSA+Ee0HuNmzKUIrTCJFvh0LOcpdlUMZL12Z/NHbqsk7BeINBA2HeiLzcPwBVInyNyHDgQeBb3g2KI/3a+obG/QAZ2VkFWPeAuzk49wOKhwzLHPz2uvX7AQZnZlwBXB9gqTulDxmcF0sKIlwB3CHwI5Br9eIDcBxYC6T56kRlVoBMwrGS9BmQepUIuos5Tvh0r2CNdtMaDKNVhTiDVUHYsDMHjSUrn19+unRCaQXeq2cOgZVSvRCZqSsz4MXFNTWto8cUdrav+ZnofAq7c+TIzsAN/kstUfI2O1GO8O8BMiSB+h7I97xti74Dh4FfAGQOz04WkQVEowWu+tdiXWecaqdDBOMhlHrIePPHM8vd9dRrzU1Nh1LT0/4cR+ElfQf2rxJhLkgy1glTKOBVmb552wgcw7OPMV4nj2NV7ZdghkpsCfXieUAkoTi2J4juP7LcQmSHiwrHYaNzA25xV/Gl9gGsWlm7G6iIJ1/ifVHT1jU0fmgnHlbm40SAOxzPYRPHM5XHU/MwVjwWrNXvyzjkY4HXQD0LhMzHsgrgwLvvtPi+edvV0noKWHcGCnwpyKpCwGCdct+UKwHNfc+oj6EdrOXzy7eD+q3Xb3VCDDxdz4q9wLia6prjdkFIXz+KNk1eUEgK3BPux8CXAYcDWqk1ZT9f19DgPO3Kwkhv+f6OrFgs01lPfzhgl5EIfrB9c9P7AM1NW04Br8fUHHi3IBG0BZStToSTUuooxD6RMiHIsoaN9shCUBjlpwpWBXU+yW9FnYlmBbk11dUHXPJoQr6Oz+J0SgvptRN9itKsqq3dq6xb8O16A2LoCNEB0w48tra+wftt/kldrNoxyJbHldcIw52HGE5hDVRvNONfgUOaPpxN00FfLTRohfO3NWvvzneDjmiB4MEacjP3KdwoZHl5+QngHqBKJ6Hu+puK/dDW74Bh1YuqD7rLA38g4vOlb711SCNKUCD70KoVK100q2trFwClwBETUXRqOLog1ipTsLa+YYaG5K0A43IAh0VRwefvCcBF8y5K5W3b3PSKt1Zz09YDWJ//HI3DIxEYx4GC9ThuphlwFGckKABxLKtG9MRmFOXlC45hBczvB/YE6kBxGutq39DqRYserF5UrfOpvhnAoS2oD87BFVv29G7MmtraCiAVa0fcHses7sc6bu67tr5+jUGGl4FlGiW2AgVvr1t/yJGv/RDSry+jMo+jWIq1QvTbtmlzo6lic9PWVVj+8mJtBauJRmtjGSSP+dP3XS2tx7E+D/KwdnGZtWfHzrhW1agLgCn3TUkGkhGxfqrFNnz2P+1z58xJ+AfWikuKk4AcEcnDuj/aVUROiPCe1RlZVlVZ9XEQj8IxY5LFlieCyK/pCfLl0iVv7fbS3DVyZG+J3ueM1AVBTiJ8WrtixZ+C2szNz79BYAzIHWJFIi4F+VyssNsahPUNdXXtxEHm8OwkRErFuinfjtAIUr5h7TrXxmRIZmZPQWKTMvYLg8dF5Hispui+Lj0h8OHWjZvO+DeH+qUNuBm4U4TuQBLIfqC+Zev2vX0G9O8CkuIQx/nFKcDenc3vfGHi3btvn5eBhwxfvB4FQuc8WDvQgXPFrX37JIt1ZfBq32C1LMdv9uzYOT1RfvEOBTrQgYSQktq3lwijgLn2j39kifCKgqsNhwMJ+6oRdAzWDpwv/BLLV34J1NcgnYMqK9TM3Tt2JLT8x2g60IFzREpqv5tB9orYn+8Dnl9qwfHJOMCHQMru1h1HzqCZuBdZOtCBRPAL4JLgWG20sB24/0wHqotDBzpwNkjp3+8GhP0gl4H7N7AiaUf8ph3h4d2tO353Nm11+KwdOFf8HMPPNUVg762OAN/d3bqj/Gwb6rCsHThrpPTv1xX4BLF+XdEd/3WlywV+uruldd+ZtuFEh2XtwLngKNb3VBOwPmUPYf0s6BHgHazfiHhtV0vrjvPR2P8B12P57Lkkf7EAAAAASUVORK5CYII=);background-repeat:no-repeat;background-position:center center;width:182px;height:53px;top:22px;left:44.2%;position:absolute}.yoho-header .icon-logo .main-link{display:block;width:100%;height:100%}.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,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABc0lEQVRIx73VvS9DURjH8W+LTYTZfyBCIhLJM0pMNotJxCJi8xdYJWI0WFkstg6mumn1pxEikXiX2Fgog5dUBUNv5fa62tJzPdNznufc80lO7jknYWbrwDjVcQz0S3rDUSSBsYh6D9DnCqlAs0AaOAn1hlxCiUpiZgPAfqC3KmkyDqgFKAAdfukSGHFgFCXdJIIVM0sBoy63zI/FZKiQiQEBmPsv6C4M7QFPMUBeFeQfUMUO+RHH9m1HQZ5j5BY4ioJ2gaJDKCPp4xsk6RXIO4SyUL7rosJzCHm1oKwj5AE4rAXtACUHUE7S+4+QpGfKP0Wz4VWSZCOTmoitRqBl4LwJZE3S1/uWqDfbzDr/gJQkVd2ZdaEAaEAXkJb0Eup1U376DyRdRX2frE+AmS0BOSAFZMysNdDrBU6BDeDMzIb/DAHTgXwQGAiMJ4B2P28DppqBCqHxfSC/rTP3V9AMcA08AvOSLgK9FWCT8gHPAwtRC3wCDWxrvGA4PUcAAAAASUVORK5CYII=);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?1453969227');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?1453969227');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:100%;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 .content a{color:#666;outline:none;text-decoration:none}.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;font-size:12px}.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:337px;height:250px}.yoho-header .showdetail .title{display:block;margin-top:40px;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 .icon-logo .main-link{display:block;width:100%;height:100%}.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}}#cover{left:0px;top:0px;width:100%;height:100%;position:fixed;z-index:1001}#cover .con{background:rgba(0,0,0,0.6) !important;left:0px;top:0px;width:100%;height:100%;position:absolute;z-index:1002;opacity:0.5;-moz-opacity:0.5}#cover .tag_img_warpper{margin:0px auto;width:180px;height:168px}#cover .tag_img_warpper img{width:100%;height:100%}#cover .guide-box{background:#fff;margin:0px auto;height:400px;position:relative;z-index:1003}#cover .guide-box .close{top:-15px;text-align:center;right:-15px;color:#fff;line-height:22px;font-size:24px;position:absolute}#cover .guide-box .close{background:#000;border-radius:50px;border:currentColor;border-image:none;width:28px;height:28px;line-height:25px;display:block;-moz-border-radius:50px;-webkit-border-radius:50px}#cover .guide-box ul li{padding:10px;width:200px;height:400px;float:left;box-sizing:border-box}#cover .guide-box ul li.girls{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box ul li.lifestyle{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box ul li.kids{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box ul li.boys .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box ul li.girls .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box ul li.kids .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box ul li.lifestyle .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box ul li a.go{margin:26px auto 0px;width:100%;height:18px;text-align:center;color:#b0b0b0;line-height:18px;font-size:18px;font-style:italic;font-weight:lighter;display:block}#cover .boys .block_cn{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:30px}#cover .girls .block_cn{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:30px}#cover .kids .block_cn{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:30px}#cover .lifestyle .block_cn{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:30px}#cover .boys .block_cn{color:black}#cover .boys .block_en{color:black}#cover .girls .block_cn{color:#ff88ae}#cover .girls .block_en{color:#ff88ae}#cover .kids .block_cn{color:#7ad9f8}#cover .kids .block_en{color:#7ad9f8}#cover .lifestyle .block_cn{color:#4f4037 !important}#cover .lifestyle .block_en{color:#4f4037 !important}#cover .boys .block_en{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:19px}#cover .girls .block_en{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:19px}#cover .kids .block_en{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:19px}#cover .lifestyle .block_en{text-align:center;line-height:26px;font-size:26px;font-weight:bold;margin-top:19px}#cover .boys .block_line{margin:20px auto 0px;width:50px;height:0px;border-bottom-color:#ccc;border-bottom-width:1px;border-bottom-style:solid}#cover .girls .block_line{margin:20px auto 0px;width:50px;height:0px;border-bottom-color:#ccc;border-bottom-width:1px;border-bottom-style:solid}#cover .kids .block_line{margin:20px auto 0px;width:50px;height:0px;border-bottom-color:#ccc;border-bottom-width:1px;border-bottom-style:solid}#cover .lifestyle .block_line{margin:20px auto 0px;width:50px;height:0px;border-bottom-color:#ccc;border-bottom-width:1px;border-bottom-style:solid}.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;z-index:4}.yoho-footer .return-top:hover{opacity:0.9;filter:alpha(opacity=90)}.yoho-footer .return-top .iconfont{font-size:34px}.yoho-footer .return-top.min{left:100%;right:20px;margin-left:auto}.min-screen .yoho-footer .index-foot dd{width:316px}.min-screen .yoho-footer .index-foot dd .two-dim{margin-top:26px;margin-bottom:10px;overflow:hidden}.min-screen .yoho-footer .index-foot dd .dim-img{width:69px;height:69px}.min-screen .yoho-footer .index-foot dd .mobile img{width:85px;height:108px}.min-screen .yoho-footer .promise .left{margin-right:45px}.min-screen .yoho-footer .subscribe{width:200px}.min-screen .yoho-footer .subscribe input{width:140px}.min-screen .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}b{font-weight:bold}body{font-family:arial,"Microsoft YaHei"}@font-face{font-family:"iconfont";src:url('../assets/font/iconfont.eot?1453969263');src:url('../assets/font/iconfont.eot?&1453969263#iefix') format("embedded-opentype"),url('../assets/font/iconfont.woff?1453969227') format("woff"),url('../assets/font/iconfont.ttf?1453969264') format("truetype"),url('../assets/font/iconfont.svg?1453969264#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}.min-screen .center-content{width:990px}.min-screen .home-page{width:990px}.min-screen .home-page .slide-container{height:387px}.min-screen .home-page .slide-container.slide-thumb-container{height:440px}.min-screen .home-page .slide-container img{display:block}.min-screen .home-page .slide-container-placeholder{height:387px}.min-screen .home-page .slide-container-placeholder.slide-thumb-container-placeholder{height:440px}.min-screen .home-page .slide-wrapper{height:387px}.min-screen .home-page .slide-wrapper li a{width:990px}.min-screen .home-page .slide-switch{display:block}.min-screen .home-page .slide-switch a.prev{margin-left:-495px}.min-screen .home-page .slide-switch a.next{margin-right:-495px}.min-screen .home-page .slide-switch a:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);opacity:0.9}.min-screen .home-page .thumb-pagination{width:990px;margin:7px auto 0;padding:0}.min-screen .home-page .thumb-pagination li{width:118px;height:46px}.min-screen .home-page .debris-slider{height:440px}.min-screen .home-page .debris-slider .left-col{margin-right:9px}.min-screen .home-page .debris-slider .left-col a{width:240px;height:103px}.min-screen .home-page .debris-slider .left-col a:first-child{height:214px}.min-screen .home-page .debris-slider .center-col{width:492px;margin-right:9px}.min-screen .home-page .debris-slider .right-col a{width:240px;height:103px}.min-screen .home-page .debris-slider .right-col a:first-child{height:326px;margin-bottom:10px}.min-screen .home-page .new-report .report-list{width:748px}.min-screen .home-page .new-report .report-list li{width:158px;height:212px}.min-screen .home-page .new-report .report-list li:first-child{width:242px;height:432px}.min-screen .home-page .new-report .last-item{width:242px;height:432px}.min-screen .home-page .preference-brand-list{width:998px}.min-screen .home-page .preference-brand-item{margin-right:7px}.min-screen .home-page .preference-brand-item a{width:159px;height:74px}.min-screen .home-page .preference-more{width:159px;height:74px;line-height:90px}.min-screen .home-page .img-slider-wrapper{height:480px}.min-screen .home-page .img-container-landscape{margin:73px auto 0;width:844px;height:370px}.min-screen .home-page .img-container-landscape .img-item{width:275px;height:100%;margin-right:9px}.min-screen .home-page .img-brand{height:150px}.min-screen .home-page .img-brand ul{width:998px}.min-screen .home-page .img-brand li{width:325px;height:150px;line-height:150px}.min-screen .home-page .img-brand .logo-brand-switch .iconfont{font-size:24px}.min-screen .home-page .img-brand .logo-brand-switch .iconfont.prev{top:-12px}.min-screen .home-page .img-brand .logo-brand-switch .iconfont.bottom{bottom:-12px}.min-screen .home-page .logo-brand{height:246px}.min-screen .home-page .logo-brand.logos-10{height:164px}.min-screen .home-page .logo-brand ul{width:998px}.min-screen .home-page .logo-brand li{margin:8px 8px 0 0;width:158px;height:74px;line-height:74px}.min-screen .home-page .categorys-list ul{width:1004px}.min-screen .home-page .categorys-list li{margin:0 7px 7px 0;width:161px;height:214px}.min-screen .home-page .categorys-list li.cate-item0{width:160px;height:435px}.min-screen .home-page .categorys-list li.cate-item1{width:326px;height:435px}.min-screen .home-page .floor-header{margin:50px 0 30px}.min-screen .home-page .floor-header .header-navs li{padding:1px 10px}.home-page{width:1150px;margin:10px auto 0}.home-page .slide-container{position:absolute;left:0;right:0;height:450px}.home-page .slide-container.slide-thumb-container{height:510px}.home-page .slide-wrapper{position:relative;height:450px;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 a{display:block;height:100%;width:1150px;margin:0 auto}.home-page .slide-wrapper li:first-child{display:block}.home-page .slide-wrapper li img{width:100%;height:100%}.home-page .slide-container-placeholder{height:450px;width:100%}.home-page .slide-container-placeholder.slide-thumb-container-placeholder{height:510px}.home-page .slide-switch{display:block}.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:50%;margin-left:-575px}.home-page .slide-switch a.next{right:50%;margin-right:-575px}.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{width:1148px;margin:6px auto 0;padding:0 0 0 2px}.home-page .thumb-pagination li{position:relative;float:left;margin:0 0 0 6px;width:138px;height:54px}.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:510px;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: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{position:relative;width:570px;height:100%;margin-right:10px;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 .slide-wrapper li a{width:100%}.home-page .debris-slider .center-col .slide-switch a.prev{left:0;margin-left:0}.home-page .debris-slider .center-col .slide-switch a.next{right:0;margin-right:0}.home-page .debris-slider .center-col img{max-width:100%;max-height:100%}.home-page .debris-slider .right-col a{width:280px;height:120px}.home-page .debris-slider .right-col a:first-child{height:380px;margin-bottom:11px}.home-page .new-report img{display:block;width:100%;height:100%}.home-page .new-report .report-list{float:left;width:868px}.home-page .new-report .report-list li{float:left;margin:0 8px 8px 0;width:185px;height:248px;overflow:hidden}.home-page .new-report .report-list li:first-child{margin-right:7px;width:282px;height:504px}.home-page .new-report .last-item{float:left;width:282px;height:504px;overflow:hidden}.home-page .preference-brand{overflow:hidden}.home-page .preference-brand-list{margin-top:8px;width:1158px}.home-page .preference-brand-item{float:left;margin-right:8px;margin-bottom:8px}.home-page .preference-brand-item a{display:table-cell;width:185px;height:86px;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:185px;height:86px;line-height:100px;text-align:center;color:black;font-size:16px}.home-page .img-slider-wrapper{position:relative;width:100%;height:558px;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{box-sizing:border-box;margin:86px auto 0;width:982px;height:433px;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:320px;height:100%;margin-right:10px}.home-page .img-container-landscape .img-item img{width:100%;height:100%}.home-page .img-brand{position:relative;width:100%;height:175px;overflow:hidden}.home-page .img-brand:hover .img-brand-switch{display:block}.home-page .img-brand ul{width:1158px}.home-page .img-brand li{float:left;margin:0 8px 0 0;width:378px;height:175px;line-height:175px;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:282px;overflow:hidden}.home-page .logo-brand.logos-10{height:188px}.home-page .logo-brand ul{width:1158px}.home-page .logo-brand li{float:left;margin:8px 8px 0 0;width:185px;height:86px;line-height:86px;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?1453969227') 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:1158px}.home-page .categorys-list li{float:left;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 .categorys-list li img{display:block;width:100%;height:100%}.home-page .floor-header{position:relative;margin:80px 0 40px}.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 15px;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}.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: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:512px}.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}.min-screen .home-page .tpl-recommend .tpl-nav{width:158px}.min-screen .home-page .tpl-recommend .tpl-nav .keywords0,.min-screen .home-page .tpl-recommend .tpl-nav .keywords1,.min-screen .home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:8px;height:65px}.min-screen .home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:0px}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category{height:192px}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category a{height:32px;line-height:32px;font-size:12px}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category a:hover{text-decoration:underline}.min-screen .home-page .tpl-recommend .tpl-brands{width:324px;height:432px}.min-screen .home-page .tpl-recommend .tpl-brands li a{height:212px}.min-screen .home-page .tpl-recommend .tpl-types{width:498px}.min-screen .home-page .tpl-recommend .tpl-types li a{width:158px;height:212px}.min-screen .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 .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;width:inherit;padding-top:0}.home-page .goods-container .good-info{margin-bottom:0px}.home-page .goods-container .good-detail-text{text-align:center}.home-page .singlehot li a{width:185px;height:248px}.home-page .singlehot .impo1,.home-page .singlehot .impo9{width:378px}.home-page .goods-container .good-info{width:280px;height:485px}.home-page .goods-container .good-info .good-detail-img{height:374px}.home-page .adbanner{margin-top:12px}.home-page .adbanner a{height:150px}.min-screen .home-page .singlehot li a{width:158px;height:212px}.min-screen .home-page .singlehot .impo1,.min-screen .home-page .singlehot .impo9{width:323px}.min-screen .home-page .goods-container .good-info{width:240px;height:412px}.min-screen .home-page .goods-container .good-info .good-detail-img{height:320px}.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;z-index:2}.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: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}.min-screen .home-page .commodity .commodity-list a{height:400px;width:240px}.min-screen .home-page .commodity .commodity-list .commodity-img{height:320px}.min-screen .home-page .commodity .commodity-list i.top{height:52px;width:52px;line-height:52px;font-size:14px}.min-screen .home-page .commodity .commodity-brands a{width:158px;height:74px}.home-page .slide-accordion{overflow:hidden;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}.home-page .slide-accordion{height:400px}.home-page .slide-accordion li a{width:650px;height:400px}.min-screen .home-page .slide-accordion{height:342px}.min-screen .home-page .slide-accordion li a{width:558px;height:342px}.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 .tpl-brands{margin-top:-8px !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}.min-screen .boys .tpl-nav .keywords0{margin-bottom:8px !important;height:130px !important}.min-screen .boys .tpl-nav .keywords1{margin-bottom:0px !important;height:74px !important}.min-screen .boys .tpl-brands{margin-top:-8px !important}.min-screen .boys .goods-container .good-info,.min-screen .lifestyle .goods-container .good-info{width:188px;height:360px}.min-screen .boys .goods-container .good-info .good-detail-img,.min-screen .lifestyle .goods-container .good-info .good-detail-img{height:255px}.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-left:26px;font-size:12px}.brands .sit-nav .sep{margin:0 8px}.brands .brands-category{width:1150px}.brands .brands-tabs{height:280px}.brands .brands-tabs ul{margin-left:-10px}.brands .brands-tabs li{margin-left:10px}.brands .brands-tabs li a{width:222px;height:180px;position:relative}.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?1453969227')}.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{position:relative;float:left;width:764px;height:436px}.brands .news .news-pic .slide-container{height:436px}.brands .news .news-pic .slide-container li a{height:436px;width:764px}.brands .news .news-pic .slide-container: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;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 .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{margin:25px auto}.brands .brands-items .brands-item{float:left;padding:15px 0;width:50%}.brands .brands-items a.brands-pic{float:left;width:280px;height:136px;display:block}.brands .brands-items a.brands-pic img{width:100%;height:100%}.brands .brands-items .brand-info{float:right;padding:0 20px;width:255px;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:92px;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}.min-screen .brands .sit-nav{padding-top:10px;padding-left:22px;font-size:12px}.min-screen .brands .sit-nav .sep{margin:0 6px}.min-screen .brands .brands-category{margin-top:84px;width:990px}.min-screen .brands .brands-tabs ul{margin-left:-9px}.min-screen .brands .brands-tabs li{margin-left:9px}.min-screen .brands .brands-tabs li a{width:190px;height:154px}.min-screen .brands .brands-tabs .brands-content{width:990px;top:200px}.min-screen .brands .brands-tabs .brands-content .brands-icon{margin-left:-33px;padding:0 4px}.min-screen .brands .brands-tabs .brands-content .brands-icon a{float:left;width:68px;height:44px;margin-left:33px}.min-screen .brands .brands-tabs .hover-contain{height:25px}.min-screen .brands .brands-tabs .hover-contain .hoverarr{height:4px;width:190px}.min-screen .brands .brandfloor ul{margin-left:-12px}.min-screen .brands .brandfloor li{margin-left:12px;margin-bottom:26px}.min-screen .brands .brandfloor li a{width:322px;height:206px}.min-screen .brands .singlegoods ul{margin-left:-10px}.min-screen .brands .singlegoods li{margin-left:10px;margin-bottom:10px}.min-screen .brands .singlegoods li a{width:240px;height:322px}.min-screen .brands .singlegoods .singlegoods-title{position:absolute;left:0;bottom:0;height:50px;width:100%}.min-screen .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}.min-screen .brands .video ul{margin-left:-10px}.min-screen .brands .video li{margin-left:10px;margin-bottom:10px}.min-screen .brands .video li a{width:323px;height:208px}.min-screen .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?1453969227')}.min-screen .brands .video .video-title{position:absolute;left:0;bottom:0;height:32px;width:100%}.min-screen .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}.min-screen .brands .news .news-pic{width:660px;height:376px}.min-screen .brands .news .news-pic .slide-container{height:376px}.min-screen .brands .news .news-pic .slide-container img{height:376px}.min-screen .brands .news .news-txt{width:284px;height:334px}.min-screen .brands .ads{margin-bottom:30px}.min-screen .brands .ads ul{margin-left:-10px}.min-screen .brands .ads li{margin-left:10px;margin-bottom:10px}.min-screen .brands .ads li a{width:240px}.min-screen .brands .ads li a img{height:140px}.min-screen .brands .ads li .name{font-size:14px}.min-screen .brands .ads li .des{font-size:12px}.min-screen .brands .brands-items a.brands-pic{width:240px;height:116px}.min-screen .brands .brands-items .brand-info{width:212px}.min-screen .brands .brands-items .brand-info .brand-desc{height:72px}.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}.product-search-page .goods-container .good-info{width:222px}.min-screen .product-search-page .goods-container{height:auto;padding-top:25px;position:relative;width:1000px}.min-screen .product-search-page .goods-container .good-info{width:190px}.min-screen .product-search-page .goods-container .good-info .good-detail-img{height:255px}.min-screen .product-search-page .goods-container .block-next-page{width:190px;height:255px}.min-screen .product-search-page .filter-box .brand .attr-content{max-width:750px}.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 h2 a{color:#000;padding-left:0}.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{display:block;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;cursor:pointer}.product-list-page .brand-banner .coled{color:#f00}.product-list-page .sort-intro{margin-bottom:20px}.product-list-page .sort-intro .texts{width:386px;height:298px;padding:0 50px;border:1px solid #eaeceb;text-align:center;overflow:hidden}.product-list-page .sort-intro .name{font-size:30px;font-weight:bold;margin-top:60px}.product-list-page .sort-intro .en-name{font-size:14px;font-weight:bold}.product-list-page .sort-intro .desc{margin-top:15px;color:#666;margin-top:15px;font-size:12px;line-height:150%}.product-list-page .sort-intro .img{width:480px;height:300px}.product-list-page .sort-intro .key-entry{width:330px;margin:30px auto 0}.product-list-page .sort-intro .key-entry a{float:left;display:block;width:110px;line-height:20px;font-size:12px;color:#069;text-decoration:underline}.min-screen .product-list-page .sort-intro .texts{width:346px;height:248px;padding:0 30px}.min-screen .product-list-page .sort-intro .name{margin-top:30px}.min-screen .product-list-page .sort-intro .img{width:400px;height:250px}.new-sale-page .sale-list-banner{width:100%;position:relative}.new-sale-page .sale-list-banner ul{overflow:hidden;width:100%;position:relative;z-index:1}.new-sale-page .sale-list-banner ul li{width:100%;height:100%;display:block;float:left;position:absolute;top:0;left:0}.new-sale-page .sale-list-banner .sale-list-pagation{z-index:2;position:absolute;left:0;bottom:50px;width:100%;height:20px;text-align:center}.new-sale-page .sale-list-banner .sale-list-pagation div{display:inline-block}.new-sale-page .sale-list-banner .sale-list-pagation span{display:block;width:20px;height:20px;background:url('../assets/img/product/default-normal.png?1453969227');float:left;margin:0 10px;cursor:pointer}.new-sale-page .sale-list-banner .sale-list-pagation span.active{background:url('../assets/img/product/default-active.png?1453969227')}.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?1453969227')}.new-sale-page .new-floor-title .title{float:right;margin-right:40px}.min-screen .new-sale-page .new-brands .brands-wrap{width:730px}.filter-box{border:1px solid #dfdfdf}.filter-box .section{padding:10px 15px;font-size:12px;border-top:1px solid #dfdfdf}.filter-box .section:first-child{border-top:none;background:#eaeceb;padding:5px 15px}.filter-box .title{float:left;width:75px;line-height:30px}.filter-box .attr-content{margin-left:75px}.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 .color .attr{margin-right:0}.filter-box .checked .color-block{width:16px;height:16px;border:2px solid #222;padding:2px;background-size:100% !important}.filter-box .checked .color-block .sub-color-block{display:block;width:16px;height:16px;background-position:center !important}.filter-box .checked-conditions{line-height:30px}.filter-box .checked-conditions .title{margin-top:5px}.filter-box .checked-conditions .tag{display:block;float:left;padding:0 10px;margin:5px 30px 5px 0;background:#000;color:#fff;cursor:pointer}.filter-box .checked-conditions .color-block{height:14px;width:14px;border:1px solid #fff;margin-bottom:-3px;background-size:100% !important}.filter-box .checked-conditions .clear-checked{margin-top:5px;color:#999;float:right}.filter-box .checked-conditions .close{font-size:14px}.filter-box .sort-pre .active .attr{border:1px solid #000}.filter-box .sort-pre .attr{position:relative}.filter-box .active .sort-up-icon{visibility:visible}.filter-box .sort-up-icon{position:absolute;width:15px;height:9px;left:50%;margin-left:-7px;bottom:-17px;z-index:3;visibility:hidden;background:url('../assets/img/product/senior-up.png?1453969227') no-repeat;background-position:50% 0}.filter-box .sort-sub-wrap{width:100%}.filter-box .sort-sub-wrap .sort-sub{border-top:1px solid #dfdfdf;margin-top:15px;padding:0 0 15px}.filter-box .sort-sub-wrap .sort-sub .attr{padding-top:15px}.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:10px;cursor:pointer}.filter-box .brand .brands-index{float:left;line-height:30px;margin-right:5px;cursor:pointer}.filter-box .brand .brands-index span{margin:0 3px;-moz-user-select:none}.filter-box .brand .brands-index span:first-child{margin-left:10px}.filter-box .brand .brands-index span.hover{color:#f00}.filter-box .brand .brand-search{float:left;height:18px;line-height:18px;border:1px solid #b0b0b0;margin-top:5px;margin-left:10px}.filter-box .brand .brand-search input{float:left;border:none;width:100px;height:18px;padding:0}.filter-box .brand .brand-search .btn{position:relative;display:inline-block;top:-1px;width:55px;height:20px;line-height:20px;background:#3a3a3a;color:#fff;text-align:center;cursor:default}.filter-box .brand .panel-body{padding:15px 20px;background:#f4f7f6;margin-top:5px;margin-left:10px}.filter-box .brand .panel-body .ul-scroll{overflow:auto;min-height:30px;max-height:150px}.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:14px;margin-right:20px;cursor:pointer;outline:none}.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;background:#333;color:#fff;margin-left:10px;outline:none;border:none;font-size:12px;cursor:pointer}.filter-box .color-block{display:inline-block;height:22px;width:22px;border:1px solid #ccc;margin-bottom:-6px;margin-right:5px;background-size:100% !important;background-repeat:no-repeat !important}.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,.filter-box .senior-attr-wrap>.attr.hover{font-weight:bold}.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:0 15px 15px 91px;left:-91px;right:-16px;top:39px;background:#fff;border:1px solid #dfdfdf;border-top:0;z-index:2}.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-content{padding-top:15px;border-top:1px solid #eaeceb}.filter-box .senior-up-icon{position:relative;width:100%;height:9px;z-index:3;margin-left:-11px;visibility:hidden;background:url('../assets/img/product/senior-up.png?1453969227') no-repeat;background-position:50% 0}.filter-box .checkbox{display:none;float:left}.filter-box .multi .checkbox{display:block;color:#444;font-size:12px;margin-right:3px}.min-screen .filter-box .brand .attr{width:25%}.sort-pager{height:48px;background:#f5f7f6;line-height:48px;margin:10px 0}.sort-pager .sort-type,.sort-pager .checks{color:#999;font-size:12px;padding:0 10px}.sort-pager .sort-type .iconfont,.sort-pager .checks .iconfont{font-size:12px}.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;background:#fff}.sort-pager .page-count .iconfont{font-size:14px;color:#ccc;float:right}.sort-pager .page-count>ul{position:absolute;display:none;width:48px;border-left:1px solid #ccc;border-right:1px solid #ccc;background:#fff;z-index:1}.sort-pager .page-count li{padding:0 3px;border-bottom:1px solid #ccc}.sort-pager .page-count li:hover{background:#376cf7;color:#fff}.sort-pager .page-count a{display:block;width:100%}.sort-pager .page-orient{float:left;font-size:14px;line-height:15px;margin:0 20px}.sort-pager .page-orient .dis-icon{color:#e6e6e6}.sort-pager .page-orient 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:left;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:5px}.good-info .good-detail-text .brand a{color:#666;line-height:1.5}.good-info .good-detail-text .market-price{text-decoration:line-through;color:#999}.good-info .col-btn{position:absolute;top:15px;right:15px;color:#ccc;font-size:12px;display:none}.good-info .col-btn.coled{color:#f95b4f}.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{cursor:pointer}@keyframes slideRight{from{max-width:0}to{max-width:150px}}.good-item-wrapper .good-select-color{float:left;margin-top:22px;overflow:hidden;animation:slideRight 600ms 1}.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{min-width:984px;height:241px;margin:30px 0;overflow:hidden}.latest-walk .good{float:left;margin-right:14px;width:150px}.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}.min-screen .latest-walk .goods{width:820px;min-width:820px;height:301px}.min-screen .latest-walk .good{margin-right:10px;width:195px}.min-screen .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}.hotrank-page{width:1150px;margin:0 auto}.hotrank-page .popular-list{width:1160px}.hotrank-page .popular-list li{position:relative;float:left;width:378px;height:596px;overflow:hidden;list-style:none;margin:0 8px 0 0}.hotrank-page .popular-list li .item-img{width:100%;height:506px;line-height:506px;text-align:center;overflow:hidden}.hotrank-page .popular-list li img{display:block;width:100%;height:100%}.hotrank-page .popular-list li .polular-icon{position:absolute;top:0;right:0;width:50px;height:50px;line-height:60px;background:#ffc513 url('../assets/img/product/hotrank/popular-icon.png?1453969227') no-repeat center center;text-align:center;color:#ffc513;font-weight:bold}.hotrank-page .popular-list li .item-content{width:100%;padding:14px 0 0 0;height:77px;overflow:hidden;text-align:center;color:#222;line-height:18px}.hotrank-page .popular-list li .item-content h2{max-height:36px;font-size:12px;color:#000;line-height:18px;text-align:center;overflow:hidden}.hotrank-page .popular-list li .item-content p{display:inline-block;margin:3px 0 0 0;font-size:12px;*zoom:1;*display:inline;text-align:center;line-height:20px;color:#000}.hotrank-page .popular-list li .item-content p span{text-decoration:line-through;margin:0 10px 0 0;color:#999}.hotrank-page .popular-list .popular-item6,.hotrank-page .popular-list .popular-item7,.hotrank-page .popular-list .popular-item8,.hotrank-page .popular-list .popular-item9{width:280px;height:464px;margin:0 10px 0 0;overflow:hidden}.hotrank-page .popular-list .popular-item6 .item-img,.hotrank-page .popular-list .popular-item7 .item-img,.hotrank-page .popular-list .popular-item8 .item-img,.hotrank-page .popular-list .popular-item9 .item-img{height:374px;line-height:374px}.hotrank-page .hot-week{position:relative;padding:0 0 40px}.hotrank-page .hot-cate{height:45px;background:#f5f7f6;overflow:hidden}.hotrank-page .hot-cate li{float:left;height:45px;line-height:45px;display:table-cell}.hotrank-page .hot-cate li a{vertical-align:middle;padding:0 26px;font-size:14px;color:#777;border-left:1px solid #999}.hotrank-page .hot-cate li:first-child a{border:none}.hotrank-page .hot-cate li.current a{font-size:16px;color:#000}.hotrank-page .hot-week-list{width:1160px}.hotrank-page .hot-week-list .good-info{width:280px;height:464px;margin:10px 10px 0 0}.hotrank-page .hot-week-list .good-info .tag-container{display:none}.hotrank-page .hot-week-list .good-info .good-detail-img{height:374px;line-height:374px;text-align:center;font-size:0}.hotrank-page .hot-week-list .good-info .good-detail-img img{vertical-align:middle}.hotrank-page .hot-week-list .good-info .good-detail-text{height:77px;overflow:hidden;text-align:center;color:#222;line-height:18px}.hotrank-page .hot-week-list .good-info .good-detail-text a{max-height:36px;font-size:12px;color:#000;line-height:18px;text-align:center;overflow:hidden}.hotrank-page .hot-week-list .good-info .good-detail-text p{display:inline-block;margin:3px 0 0 0;font-size:12px;*zoom:1;*display:inline;text-align:center;line-height:20px;color:#000}.hotrank-page .hot-week-list .good-info .good-detail-text p .sale-price{margin:0 10px 0 0}.hotrank-page .floatlayer{display:none;position:fixed;top:50%;left:50%;margin:0 0 0 575px;opacity:0;filter:alpha(opacity=0)}.hotrank-page .floatlayer li{width:42px;height:42px;border:2px solid #555;border-top:none;border-bottom-width:1px;text-align:center}.hotrank-page .floatlayer li a{position:relative;display:table-cell;width:42px;height:42px;vertical-align:middle;color:#555;font-size:12px}.hotrank-page .floatlayer li a span{display:inline-block;vertical-align:middle;width:28px;*zoom:1;*display:inline;word-wrap:break-word}.hotrank-page .floatlayer li:first-child{border-top:1px solid #555}.hotrank-page .floatlayer li.current,.hotrank-page .floatlayer li:hover{background:#555}.hotrank-page .floatlayer li.current a,.hotrank-page .floatlayer li:hover a{color:#fff}.min-screen .hotrank-page{width:990px}.min-screen .hotrank-page .popular-list li{width:324px;height:521px}.min-screen .hotrank-page .popular-list li .item-img{height:434px;line-height:434px}.min-screen .hotrank-page .popular-list .popular-item6,.min-screen .hotrank-page .popular-list .popular-item7,.min-screen .hotrank-page .popular-list .popular-item8,.min-screen .hotrank-page .popular-list .popular-item9{width:240px;height:408px}.min-screen .hotrank-page .popular-list .popular-item6 .item-img,.min-screen .hotrank-page .popular-list .popular-item7 .item-img,.min-screen .hotrank-page .popular-list .popular-item8 .item-img,.min-screen .hotrank-page .popular-list .popular-item9 .item-img{height:320px;line-height:320px}.min-screen .hotrank-page .hot-week-list .good-info{width:240px;height:408px}.min-screen .hotrank-page .hot-week-list .good-info .good-detail-img{height:320px;line-height:320px}.shop-entry{position:relative;background:#f5f7f6;border:1px solid #eaeceb;padding:12px 15px;margin-bottom:10px}.shop-entry .logo{width:80px;height:50px}.shop-entry .name{margin-left:10px}.shop-entry .shop-name{font-size:16px;color:#222;line-height:26px}.shop-entry .sorts{color:#999;font-size:12px;line-height:18px}.shop-entry .sorts a{color:#999}.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}.shop-entry .entry-btn .iconfont{font-size:12px}.goods-container{height:auto;padding:25px 0 0 0;position:relative;width:980px}.goods-container .good-info{width:235px}.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}.product-list-page .filter-box .brand .attr-content,.new-sale-page .filter-box .brand .attr-content{max-width:730px}.min-screen .product-list-page .list-right,.min-screen .new-sale-page .list-right{width:810px}.min-screen .product-list-page .goods-container,.min-screen .new-sale-page .goods-container{height:auto;padding-top:25px;position:relative;width:820px}.min-screen .product-list-page .goods-container .good-info,.min-screen .new-sale-page .goods-container .good-info{width:195px}.min-screen .product-list-page .goods-container .good-info .good-detail-img,.min-screen .new-sale-page .goods-container .good-info .good-detail-img{height:261px}.min-screen .product-list-page .goods-container .block-next-page,.min-screen .new-sale-page .goods-container .block-next-page{width:195px;height:261px}.min-screen .product-list-page .filter-box .brand .attr-content,.min-screen .new-sale-page .filter-box .brand .attr-content{max-width:570px}.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?1453969227');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?1453969227') 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?1453969227') no-repeat 0 0}.guang-detail-page .share-to .share-weixin{background:url('../assets/img/guang/detail/icon-share.png?1453969227') no-repeat 0 -96px}.guang-detail-page .share-to .share-tencent{background:url('../assets/img/guang/detail/icon-share.png?1453969227') no-repeat 0 -16px}.guang-detail-page .share-to .share-renren{background:url('../assets/img/guang/detail/icon-share.png?1453969227') no-repeat 0 -32px}.guang-detail-page .share-to .share-qzone{background:url('../assets/img/guang/detail/icon-share.png?1453969227') no-repeat 0 -48px}.guang-detail-page .share-to .share-qq{background:url('../assets/img/guang/detail/icon-share.png?1453969227') no-repeat 0 -64px}.guang-detail-page .share-to .share-douban{background:url('../assets/img/guang/detail/icon-share.png?1453969227') 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}.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-page .err-tip a{text-decoration:underline;color:#f00}.passport-page .page-tip{display:block;width:100%;height:30px;line-height:30px;text-align:center;font-size:20px;font-weight:bold;color:#ccc;clear:both;margin-bottom:15px}.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}.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 .remember-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:45px;background-size:100% 100%}.login-page .third-party-login .icon{display:block;width:30px;height:30px;margin:0 auto}.login-page .third-party-login .weixin{background:url('../assets/img/passport/third-sbf9e987704.png') 0 -150px no-repeat}.login-page .third-party-login .qq{background:url('../assets/img/passport/third-sbf9e987704.png') 0 -60px no-repeat}.login-page .third-party-login .weibo{background:url('../assets/img/passport/third-sbf9e987704.png') 0 -120px no-repeat}.login-page .third-party-login .alipay{background:url('../assets/img/passport/third-sbf9e987704.png') 0 0 no-repeat}.login-page .third-party-login .douban{background:url('../assets/img/passport/third-sbf9e987704.png') 0 -30px no-repeat}.login-page .third-party-login .renren{background:url('../assets/img/passport/third-sbf9e987704.png') 0 -90px no-repeat}.login-page .caps-lock{position:absolute;color:#666;border:#ffe57d;background:#fff6d2;white-space:nowrap;top:8px;left:278px;padding:0 20px;height:27px;line-height:30px}.content .register-page{font-size:14px;color:#b9b9b9}.content .register-page{height:auto}.content .register-page li{margin-bottom:25px;width:270px;position:relative}.content .register-page li.w330{width:330px}.content .register-page li input,.content .register-page li select{outline:none}.content .register-page li input.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-page li input.input.error{border:1px solid red}.content .register-page li input.input.phone-num{width:209px;display:block;float:left;position:absolute;top:0;right:0}.content .register-page li input.input.captcha,.content .register-page li input.input.msg-captcha{width:160px;float:left}.content .register-page li input.input.agree-terms{vertical-align:middle}.content .register-page 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-page li input.send-captcha.disable{background:#555}.content .register-page li .link{text-decoration:underline;color:#ff1901}.content .register-page li .btn{height:45px;line-height:45px;color:#fff;border:none;padding:0;font-family:'黑体' Regular;text-align:center}.content .register-page li select.region{height:30px;padding:4px 0;width:132px;border-color:#c1c1c1;color:#9a9a9a;font-size:16px;font-family:'黑体' Regular}.content .register-page 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-page li .captcha-img{height:37px;width:90px;border:0;vertical-align:middle;outline:none;margin-left:10px;margin-top:4px;float:left}.content .register-page li .change-captcha{margin-left:10px;cursor:pointer;float:left;height:43px;line-height:43px}.content .register-page li .pwd-intensity-container{width:270px;text-align:right;margin-top:5px;height:auto;overflow:hidden}.content .register-page li .pwd-intensity-container .pwd-intensity{height:15px;font-size:12px;background-color:#e8e8e8;padding:1px 10px;text-align:center}.content .register-page li .pwd-intensity-container.red{color:red}.content .register-page li .pwd-intensity-container.red .color{background:red;color:#fff}.content .register-page li .pwd-intensity-container.yellow .color{background:#ff0;color:#fff}.content .register-page li .pwd-intensity-container.green .color{background:#3ee392;color:#fff}.content .register-page li.items-container{font-size:13px;text-align:right;white-space:nowrap}.content .register-page li .register-btn{width:270px;font-size:20px;font-weight:bold;background:#ff1901}.content .register-page li .register-btn.disable{background:#555}.content .register-page li.quick-login-container{width:270px;font-size:13px;text-align:right;white-space:nowrap}.content .register-page li.skip-user-info{font-size:18px;text-align:center}.content .register-page li.skip-user-info a{color:#ff1901;text-decoration:underline}.content .register-page .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-page .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}.welcome-page{text-align:center;color:#7f7f7f}.welcome-page .content{padding-top:82px}.welcome-page .wel-title{font-size:30px;margin-bottom:30px}.welcome-page .wel-title em{font-style:normal;color:#ff1901}.welcome-page .wel-sub-title{font-size:16px;margin-bottom:60px}.welcome-page .link{display:block}.welcome-page .link span{color:#7f7f7f}.welcome-page .link-img{height:91px;width:91px;background-size:100% 100%;margin-bottom:10px}.welcome-page .go-shopping{float:left;padding-left:100px}.welcome-page .go-shopping div{background-image:url('../assets/img/passport/go-shopping.png?1453969227')}.welcome-page .complete-info{float:right;padding-right:100px}.welcome-page .complete-info div{background-image:url('../assets/img/passport/edit-info.png?1453969227')}.yohobindbtn{display:block;width:210px;height:45px;line-height:45px;background-color:#f02200;color:#fff;font-size:16px;text-align:center}.hide{display:none}.novisiable{visibility:hidden}.actlevel{background-color:#f02200 !important;color:white !important}.mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.bindwrapper{margin:0 auto;width:980px;min-height:450px;padding-top:122px}.welcomeword{width:100%;text-align:center;font-size:22px;line-height:22px;color:#545454;margin-bottom:15px}.welcomeword .yoho{color:#e12000}.safeword{width:100%;text-align:center;font-size:16px;line-height:16px;color:#545454;margin-bottom:63px}.yohobindrow{width:480px;margin:0 auto 22px;height:40px}.yohobindrow .name{float:left;text-align:right;margin-right:14px;width:96px}.yohobindrow .areatag{height:30px;line-height:30px}.yohobindrow .phonetag,.yohobindrow .setpwdtag{height:47px;line-height:47px}.yohobindrow .content{float:left;text-align:left;margin-top:0;padding-left:0}.yohobindrow::after{display:block;content:'';clear:both}.sendnotify{width:260px;text-align:left;margin:0 auto 18px}.validaterow{overflow:hidden;margin:0 auto 22px;padding-left:250px}.validaterow .name{float:left;text-align:right;margin-right:14px;width:96px}.validaterow .areatag{height:30px;line-height:30px}.validaterow .phonetag{height:47px;line-height:47px}.validaterow .content{float:left;text-align:left}.validaterow::after{display:block;content:'';clear:both}.validaterow .validatewrapper{float:left;height:45px;width:133px;text-align:center;line-height:45px;background-color:#d8d8d8;color:#000;font-size:13px;margin-left:18px}.validaterow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.validatepicrow{overflow:hidden;margin:0 auto 22px;padding-left:250px}.validatepicrow .name{float:left;text-align:right;margin-right:14px;width:96px}.validatepicrow .areatag{height:30px;line-height:30px}.validatepicrow .phonetag{height:47px;line-height:47px}.validatepicrow .content{float:left;text-align:left}.validatepicrow::after{display:block;content:'';clear:both}.validatepicrow .validatewrapper{float:left;height:45px;text-align:center;line-height:45px;color:#000;font-size:13px;margin-left:18px}.validatepicrow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.validatepicrow .change-captcha{cursor:pointer;color:#f02200;text-decoration:underline}.setpwdwrapper{margin-bottom:10px;height:45px}.safelevel{width:291px;height:15px;margin:0 auto;text-align:right;font-size:10px;color:#000}.safelevel span{width:28px;height:15px;line-height:15px;background-color:#e5e5e5;font-size:10px;color:#000;margin-right:4px;padding:1px 8px}.green .color{background-color:#0f0;color:#fff}.yellow .color{background-color:#ff0;color:#fff}.red .color{background-color:#f00;color:#fff}.yohoselectarea{position:relative;box-sizing:border-box;width:131px;height:33px}.yohoselectarea .optionshow{width:100%;height:100%;padding-left:16px;border:1px solid #d9d9d9}.yohoselectarea .optionshow .areaname{display:block;float:left;width:110px;height:100%;line-height:33px;font-size:13px;color:#000}.yohoselectarea .optionshow .righttag{display:block;float:left;width:21px;height:100%;line-height:33px;background-color:#d8d8d8;background-image:url('../assets/img/passport/arrowbottom.png?1453969227');background-repeat:no-repeat;background-position:center center}.yohoselectarea .optionslist{background-color:white;position:absolute;top:35px;left:0;width:149px;z-index:2}.yohoselectarea .optionslist .optionitem{height:33px;line-height:33px;padding-left:16px;font-size:13px}.yohoselectarea .optionslist .optionitem:hover{background-color:#dfdfdf}.yohophonewrapper{width:271px;height:47px;border:1px solid #d9d9d9;position:relative}.yohophonewrapper .areanum{float:left;height:100%;width:63px;line-height:47px;text-align:center;color:#000;background-color:#d8d8d8}.yohophonewrapper .phonenum{outline:none;box-sizing:border-box;float:left;height:45px;width:205px;line-height:38px;padding-left:8px;border:none;color:#000}.protoctolwrapper{width:350px;margin:38px auto 0;padding-left:85px;overflow:hidden}.protoctolwrapper .choosewrapper{float:left;width:13px;height:13px;background-color:#4c4c4c;background-image:none;background-position:center center;background-repeat:no-repeat;margin-right:14px}.protoctolwrapper .choosetag{width:110%;height:110%;display:block;opacity:0;filter:alpha(opacity=0);margin:0}.protoctolwrapper span{float:left}.protoctolwrapper .protoctol{color:#f02200;text-decoration:underline}.protoctolwrapper::after{display:block;content:'';clear:both}.confirmwrapper{overflow:hidden;margin-top:47px !important}.btnwrapper{width:350px;margin:20px auto 0;padding-left:85px}.thirdloginwrapper{margin:0 auto;width:1150px;min-height:450px;padding-top:160px}.thirdloginwrapper .safeword{margin-bottom:30px}.thirdloginwrapper .left{box-sizing:border-box;float:left;width:450px;height:318px;border-right:1px solid #e5e5e5}.thirdloginwrapper .right{box-sizing:border-box;float:right;width:696px;padding-top:64px;height:318px}.thirdloginwrapper .gobuy,.thirdloginwrapper .completeprofile{float:left;display:inline-block;width:94px;height:94px;line-height:94px;text-align:center;border-radius:50%;background-color:#f02200;color:white}.thirdloginwrapper .gobuy{margin-left:228px;margin-right:80px}.bindsuccesswrapper{margin:0 auto;width:1150px;min-height:450px;padding-top:160px}.bindsuccesswrapper .successwrapper{width:320px;height:29px;margin:0 auto 16px}.bindsuccesswrapper .successwrapper .successtag{display:inline-block;margin-right:28px;float:left;width:29px;height:29px;background-image:url("../img/bindsuccess.png");background-repeat:no-repeat}.bindsuccesswrapper .successwrapper .congratulation{display:inline-block;height:29px;line-height:29px;font-size:22px}.bindsuccesswrapper .info{text-align:center;font-size:16px;margin-bottom:48px}.bindsuccesswrapper .gobuynow{margin:0 auto}.bindconfrimwrapper{width:900px;height:439px;margin:153px auto;background-color:#fff;box-sizing:border-box;padding-top:37px}.bindconfrimwrapper .topwrapper{width:281px;height:90px;margin:0 auto 32px}.bindconfrimwrapper .topwrapper .userphoto{width:90px;height:90px;vertical-align:middle;border-radius:50%;margin-right:22px}.bindconfrimwrapper .topwrapper .username{vertical-align:middle;display:inline-block;width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.bindconfrimwrapper .usertaginfo{text-align:center;font-size:16px;color:#545454;margin-bottom:10px}.bindconfrimwrapper .usertagremind{text-align:center;font-size:14px;color:#000;margin-bottom:47px}.bindconfrimwrapper .otherphone{margin:0 auto 64px}.bindconfrimwrapper .logindirectly{display:block;text-align:center;text-decoration:underline;color:#f02200}.yohobindbtn[disabled]{background-color:#e5e5e5;cursor:not-allowed}.gobindwrapper{width:100%;height:45px;margin-bottom:70px}.gobindwrapper::after{display:block;content:'';clear:both}.gobindwrapper .myphone{float:left;margin-left:20px;width:193px}.gobindwrapper .logindirectly{display:inline-block}.gobindwrapper .validaterow{overflow:hidden;margin:0 auto 22px;padding-left:222px;float:left}.gobindwrapper .validaterow .name{float:left;text-align:right;margin-right:14px;width:96px}.gobindwrapper .validaterow .areatag{height:30px;line-height:30px}.gobindwrapper .validaterow .phonetag{height:47px;line-height:47px}.gobindwrapper .validaterow .content{float:left;text-align:left}.gobindwrapper .validaterow .content .validatacode{outline:none;box-sizing:border-box;float:left;height:45px;width:113px;line-height:38px;padding-left:8px;border:1px solid #d9d9d9;color:#000}.gobindwrapper .validaterow .validatewrapper{float:left;height:45px;width:133px;text-align:center;line-height:45px;background-color:#d8d8d8;color:#000;font-size:13px;margin-left:18px}.gobindwrapper .validaterow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.gobindbottomwrapper{width:100%;padding-left:341px}.gobindbottomwrapper .logindirectly{display:inline-block;float:left;margin-right:36px;text-decoration:underline;color:#f02200}.pwd-tips{position:absolute;top:-10px;left:285px;width:158px !important;height:70px;padding-top:7px;font-size:12px;background:url(http://6.url.cn/zc/chs/img/pwd_sprite.png?v=10069) no-repeat}.pwd-tips{position:absolute;top:-10px;left:285px;width:158px !important;height:70px;padding-top:7px;font-size:12px;background:url(http://6.url.cn/zc/chs/img/pwd_sprite.png?v=10069) no-repeat}.pwd-tips div{height:22px;line-height:22px;margin-left:15px;padding-left:18px}.pwd-tips .default{background:url(http://6.url.cn/zc/chs/img/pwd_sprite.png?v=10069) 0 -215px no-repeat}.pwd-tips .yes{background:url(http://6.url.cn/zc/chs/img/pwd_sprite.png?v=10069) 0 -247px no-repeat}.pwd-tips .no{background:url(http://6.url.cn/zc/chs/img/pwd_sprite.png?v=10069) 0 -281px no-repeat}.pwd-tips .red{color:red !important}.msg-tip{position:absolute;top:17px;left:285px;white-space:nowrap}.msg-tip img{height:12px;width:12px}.backdrop{position:fixed;background:#000;width:100%;height:100%;left:0;top:0;bottom:0;right:0;opacity:.5;filter:alpha(opacity=50)}.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?1453969263') 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?1453969227');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?1453969227');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}.sale-page{margin-top:10px}.sale-page .slide-container{position:relative;height:450px;overflow:hidden}.sale-page .activity-entry{margin:10px 0}.sale-page .activity-entry .entry-item{display:block;width:377px;margin-right:10px;padding:24px 0;background:#f5f5f5}.sale-page .activity-entry .entry-item.first,.sale-page .activity-entry .entry-item.last{width:376px}.sale-page .activity-entry .entry-item.last{margin-right:0}.sale-page .activity-entry .entry-text{padding-left:160px;font-size:16px}.sale-page .activity-entry .icon{width:70px;height:70px;margin-left:48px;background-repeat:no-repeat}.sale-page .activity-entry .icon.vip{background-image:url('../assets/img/sale/for-vip.png?1453969227')}.sale-page .activity-entry .icon.discount{background-image:url('../assets/img/sale/discount.png?1453969227')}.sale-page .activity-entry .icon.off-price{background-image:url('../assets/img/sale/off-price.png?1453969227')}.sale-page .activity-entry .title{font-size:26px;font-weight:bold;line-height:48px}.sale-page .floor-title{margin:80px auto 40px;width:300px;font-size:16px;line-height:30px;text-align:center;border:1px solid #000}.sale-page .brand-sale .sale-group-big{width:1158px}.sale-page .brand-sale .sale-group-big .item{width:378px;margin-right:8px;margin-bottom:10px}.sale-page .brand-sale .sale-group-big .pic{position:relative;height:400px}.sale-page .brand-sale .sale-group-big .time{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;left:0;bottom:0;width:100%;padding:0 10px;font-size:16px;line-height:30px;text-align:right;color:#fff;background:#4e4e4e}.sale-page .brand-sale .sale-group-big .detail{background:#f5f5f5}.sale-page .brand-sale .sale-group-big .brand{margin:24px 10px 0}.sale-page .brand-sale .sale-group-big .text{padding:24px 10px 24px 0;font-size:14px;color:#fd5659}.sale-page .brand-sale .sale-group-big .discount{font-size:28px;font-weight:bold}.sale-page .brand-sale .sale-group-big .discount .num{font-size:40px}.sale-page .brand-sale .sale-group{width:1158px}.sale-page .brand-sale .sale-group .item{width:185px;margin-right:8px;margin-bottom:10px}.sale-page .brand-sale .sale-group .pic{width:100%;display:block}.sale-page .brand-sale .sale-group .detail{padding:14px 10px;background:#f5f5f5;text-align:center;line-height:20px}.sale-page .brand-sale .sale-group .title{font-size:12px}.sale-page .brand-sale .sale-group .time{font-size:14px}.sale-page .sale-nav li{float:left;width:20%;height:40px;line-height:40px;background-color:#e0e0e0;text-align:center;background-color:#f5f5f5;color:#6d6d6d;margin-bottom:10px}.sale-page .sale-nav li.active{color:#fff;background-repeat:no-repeat;background-size:100% 100%}.sale-page .sale-nav li.green.active{color:#fff;background-image:url('../assets/img/sale/navactive-green-middle.png?1453969227');background-repeat:no-repeat;background-size:100% 100%}.sale-page .sale-nav li.green.first.active{background-image:url('../assets/img/sale/navactive-green-first.png?1453969227')}.sale-page .sale-nav li.green.last.active{background-image:url('../assets/img/sale/navactive-green-last.png?1453969227')}.sale-page .sale-nav li.yellow.active{color:#fff;background-image:url('../assets/img/sale/navactive-yellow-middle.png?1453969227');background-repeat:no-repeat;background-size:100% 100%}.sale-page .sale-nav li.yellow.first.active{background-image:url('../assets/img/sale/navactive-yellow-first.png?1453969227')}.sale-page .sale-nav li.yellow.last.active{background-image:url('../assets/img/sale/navactive-yellow-last.png?1453969227')}.sale-page .sale-nav li.red.active{color:#fff;background-image:url('../assets/img/sale/navactive-red-middle.png?1453969227');background-repeat:no-repeat;background-size:100% 100%}.sale-page .sale-nav li.red.first.active{background-image:url('../assets/img/sale/navactive-red-first.png?1453969227')}.sale-page .sale-nav li.red.last.active{background-image:url('../assets/img/sale/navactive-red-last.png?1453969227')}@media screen and (min-width: 1150px){.sale-page .floor-header{margin:80px 0 40px}.sale-page .floor-header .header-navs li{padding:1px 15px}}.sale-page .commodity-list ul{width:1004px}.sale-page .commodity-item{float:left;width:241px;margin:0 10px 0 0}.sale-page .commodity-img{position:relative;height:323px;text-align:center}.sale-page .commodity-img img{width:100%;height:100%;vertical-align:middle}.sale-page .commodity-img .top-tag{position:absolute;width:60px;height:60px;top:10px;right:10px;line-height:60px;background:url("../assets/images/furniture/top-tag-bg.png?1450667948");font-size:20px;color:#fff}.sale-page .commodity-img .few-tag{position:absolute;bottom:0;width:100%;height:20px;background:#ffac5b;color:#fff;line-height:20px;text-align:center;font-size:12px}.sale-page .commodity-content{padding:10px 0 0 0;height:69px;overflow:hidden}.sale-page .commodity-content .commodity-name{font-size:12px;color:#000;line-height:18px;text-align:center}.sale-page .commodity-content .commodity-price{position:relative;margin:3px 0 0 0;text-align:center;line-height:20px;color:#000}.sale-page .commodity-content .commodity-price span{display:inline-block;*display:inline;*zoom:1;font-size:12px;padding:0 15px}.sale-page .commodity-content .commodity-price span.origin{text-decoration:line-through}.sale-page .commodity-content .commodity-price strong{font-weight:normal;color:#565656;font-size:13px}.sale-page .commodity-content .commodity-price span.vip-tag{background-image:url('../assets/img/sale/vip.png?1453969227');background-repeat:no-repeat;background-size:100% 90%;color:#fff;font-style:italic;margin-right:5px}.sale-page .commodity-content .commodity-price .price-sale{margin-left:10px;padding-left:10px;width:36px;height:20px;line-height:20px;background:url("../assets/images/furniture/sale-tag-bg.png?1450667948");color:#fff}@media screen and (min-width: 1150px){.sale-page .commodity-list ul{width:1160px}.sale-page .commodity-item{width:280px}.sale-page .commodity-img{height:374px}.sale-page .commodity-content{padding:14px 0 0 0;height:77px}}.sale-list-page .sale-title{margin:30px 0;font-size:12px;line-height:26px}.sale-list-page .sale-title .title{margin-right:20px;font-size:16px}.sale-list-page .sale-title .discount{display:inline-block;margin-right:10px;padding:0 10px;font-weight:lighter;line-height:16px;vertical-align:text-bottom;color:#fff;background:#ff575c}.sale-list-page .sale-title .time .iconfont{margin-right:5px}.sale-list-page .sort{padding:10px;border:1px solid #eaeceb}.sale-list-page .sort li{display:inline-block;margin-right:15px;padding:0 10px;font-size:12px;line-height:20px;color:#444}.sale-list-page .sort li.title{margin-right:0;font-weight:bold}.sale-list-page .sort li.active{color:#666;border:1px solid #000} +/*# sourceMappingURL=index.css.map */ diff --git a/web-static/dist/yohobuy/0.0.4/index.css.map b/web-static/dist/yohobuy/0.0.4/index.css.map new file mode 100644 index 0000000..6984ed7 --- /dev/null +++ b/web-static/dist/yohobuy/0.0.4/index.css.map @@ -0,0 +1,7 @@ +{ +"version": 3, +"mappings": "CAIE,yZAYyB,EAiDzB,KAAM,EAAE,AAAC,EACT,MAAO,EAAE,AAAC,EACV,KAAM,EAAE,AAAC,EAIT,GAAI,EAAE,MAAO,EACb,QAAS,EAAE,GAAI,EACf,aAAc,EAAE,OAAQ,EApDxB,GAAK,EA6DL,UAAW,EAAE,AAAC,EA3Dd,IAAO,EA+DP,SAAU,EAAE,GAAI,EA7DhB,IAAM,EAiEN,cAAe,EAAE,OAAQ,EACzB,aAAc,EAAE,AAAC,EAhEjB,YAAgB,EAoEhB,SAAU,EAAE,GAAI,EAChB,UAAW,EAAE,KAAM,EACnB,aAAc,EAAE,KAAM,EApEtB,WAAc,EAwEd,KAAM,EAAE,GAAI,EACZ,kDAAkB,EAChB,MAAO,EAAE,CAAE,EACX,MAAO,EAAE,GAAI,EAzEf,IAAM,EA6EN,KAAM,EAAE,GAAI,EAOZ,yFAAiC,EAC/B,MAAO,EAAE,IAAK,ECnHd,8BAAmB,EACf,IAAK,EAAE,GAAI,EACX,eAAgB,EAAE,MAAO,EACzB,QAAS,EAAE,KAAM,EAGrB,uBAAY,EACR,IAAK,EAAE,KAAM,EACb,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,KAAM,EACd,OAAQ,EAAE,OAAQ,EAGtB,qBAAU,EACN,OAAQ,EAAE,OAAQ,EAClB,WAAY,EAAE,EAAG,EACjB,YAAa,EAAE,EAAG,EAGtB,2BAAgB,EACZ,eAAgB,EAAE,MAAO,EACzB,8CAAmB,EACf,MAAO,EAAE,eAAgB,EAGjC,8BAAmB,EACf,eAAgB,EAAE,MAAO,EAG7B,8BAAmB,EACf,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,GAAI,EACb,IAAK,EAAE,IAAK,EACZ,GAAI,EAAE,AAAC,EACP,EAAG,EAAE,GAAI,EACT,eAAgB,EAAE,MAAO,EACzB,UAAW,EAAE,GAAI,EACjB,aAAc,EAAE,GAAI,EACpB,WAAY,EAAE,GAAI,EAClB,MAAO,EAAE,OAAQ,EAGrB,8BAAmB,EACf,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,GAAI,EAEvB,gCAAqB,EACjB,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EAEnB,sCAA2B,EACvB,IAAK,EAAE,IAAK,EAGhB,sBAAW,EACP,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,AAAC,EACR,EAAG,EAAE,AAAC,EAEV,+BAAoB,EAChB,eAAgB,EAAE,MAAO,EAE7B,4CAAiC,EAC7B,WAAY,EAAE,MAAO,EAEzB,8DAEW,EACP,MAAO,EAAE,WAAY,EACrB,IAAK,EAAE,GAAI,EAGf,eAAI,EACA,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EAEnB,mDACe,EACX,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EAEnB,+FAGW,EACP,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EAGnB,sBAAW,EACP,UAAW,EAAE,EAAG,EAEpB,6BAAkB,EACd,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EAEf,qBAAU,EACN,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,GAAI,EAEhB,wBAAa,EACT,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,AAAC,EACR,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,WAAY,EACrB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,gBAAiB,EAElC,qBAAU,EACN,MAAO,EAAE,WAAY,EACrB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,SAAU,EACtB,UAAW,EAAE,GAAI,EAErB,uBAAY,EACR,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EACf,MAAO,EAAE,WAAY,EAEzB,0BAAe,EACX,MAAO,EAAE,WAAY,EAEzB,mBAAQ,EACJ,YAAa,EAAE,GAAI,EACnB,OAAQ,EAAE,OAAQ,EAEtB,gCAAqB,EACjB,WAAY,EAAE,GAAI,EAEtB,wBAAa,EACT,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,GAAI,EACb,EAAG,EAAE,GAAI,EACT,GAAI,EAAE,KAAM,EACZ,IAAK,EAAE,IAAK,EACZ,eAAgB,EAAE,MAAO,EACzB,MAAO,EAAE,MAAO,EAEpB,yBAAc,EACV,OAAQ,EAAE,KAAM,EAEpB,6BAAiB,EACb,MAAO,EAAE,IAAK,EACd,KAAM,EAAC,KAAM,EACb,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,YAAa,EAAE,EAAG,EAEtB,+BAAoB,EAChB,KAAM,EAAE,UAAW,EACnB,IAAK,EAAE,IAAK,EACZ,YAAa,EAAE,gBAAiB,EAChC,SAAU,EAAE,KAAM,EAClB,aAAc,EAAE,GAAI,EAGxB,uBAAY,EACR,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EAGnB,uBAAY,EACR,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EAEnB,oCAAyB,EACrB,IAAK,EAAE,MAAO,EAGlB,sBAAW,EACP,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAGhB,yBAAc,EACV,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,eAAgB,EAAE,MAAO,EACzB,UAAW,EAAE,GAAI,EACjB,OAAQ,EAAE,OAAQ,EAEtB,sBAAW,EACP,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,EAAG,EACT,KAAM,EAAE,GAAI,EACZ,EAAG,EAAE,AAAC,EACN,UAAW,EAAE,GAAI,EAErB,oCAAyB,EACrB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,eAAgB,EAAE,MAAO,EACzB,SAAU,EAAE,GAAI,EAChB,WAAY,EAAE,EAAG,EAGrB,qBAAU,EACN,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,UAAW,EAAE,EAAG,EAGpB,gCAAqB,EACjB,KAAM,EAAE,UAAW,EACnB,WAAY,EAAE,GAAI,EAClB,YAAa,EAAE,GAAI,EACnB,YAAa,EAAE,gBAAiB,EAEpC,sCAA2B,EACvB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,GAAI,EAEvB,wCAA6B,EACzB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,IAAK,EAGhB,+BAAoB,EAChB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAEtB,iCAAsB,EAClB,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EAEnB,oBAAS,EACL,YAAa,EAAE,GAAI,EAEvB,iCAAsB,EAClB,WAAY,EAAE,GAAI,EAEtB,sBAAW,EACP,YAAa,EAAE,GAAI,EAEvB,mCAAwB,EACpB,WAAY,EAAE,GAAI,EAEtB,oBAAS,EACL,YAAa,EAAE,GAAI,EAEvB,iCAAsB,EAClB,WAAY,EAAE,GAAI,EAEtB,kBAAO,EACH,YAAa,EAAE,EAAG,EAClB,OAAQ,EAAE,OAAQ,EAEtB,+BAAoB,EAChB,WAAY,EAAE,GAAI,EAEtB,eAAI,EACA,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,GAAI,EACb,EAAG,EAAE,GAAI,EACT,GAAI,EAAE,KAAM,EACZ,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,eAAgB,EAAE,MAAO,EACzB,MAAO,EAAE,OAAQ,EAGrB,mBAAQ,EACJ,OAAQ,EAAE,OAAQ,EAClB,eAAgB,EAAE,4CAA0B,EAC5C,gBAAiB,EAAE,QAAS,EAC5B,cAAe,EAAE,QAAS,EAC1B,KAAM,EAAE,aAAc,EACtB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAGjB,qBAAU,EACN,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAGtB,oBAAS,EACL,SAAU,EAAE,EAAG,EACf,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAGtB,sCAA2B,EACvB,WAAY,EAAE,GAAI,EAGtB,8BAAmB,EACf,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,OAAQ,EAClB,QAAS,EAAE,KAAM,EAGrB,8BAAmB,EACf,IAAK,EAAE,KAAM,EACb,KAAM,EAAE,IAAK,EACb,KAAM,EAAE,KAAM,EAGlB,2BAAgB,EACZ,SAAU,EAAE,GAAI,EAGpB,2BAAgB,EACZ,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,SAAU,EAGvB,4GAIa,EACT,IAAK,EAAE,eAAgB,EAE3B,2HAIgB,EACZ,IAAK,EAAE,eAAgB,EAG3B,gBAAK,EACD,eAAgB,EAAE,MAAO,EAG7B,iCAAsB,EAClB,eAAgB,EAAE,IAAK,EACvB,MAAO,EAAE,eAAgB,EAG7B,mCAAwB,EACpB,SAAU,EAAE,cAAe,EAG3B,wCAAa,EACT,KAAM,EAAE,gBACZ,EACA,wCAAa,EACT,eAAgB,EAAE,iBACtB,EAGA,yCAAa,EACT,KAAM,EAAE,gBACZ,EACA,yCAAa,EACT,eAAgB,EAAE,iBACtB,EAGA,yCAAa,EACT,KAAM,EAAE,gBACZ,EACA,yCAAa,EACT,eAAgB,EAAE,iBACtB,EAGA,wCAAa,EACT,KAAM,EAAE,2BACZ,EACA,wCAAa,EACT,eAAgB,EAAE,iBACtB,EAEJ,sBAAW,EACP,eAAgB,EAAE,2tDAA4tD,EAElvD,uBAAY,EACR,eAAgB,EAAE,uvBAAwvB,EAE9wB,sBAAW,EACP,eAAgB,EAAE,2vBAA4vB,EAElxB,2BAAgB,EACZ,eAAgB,EAAE,uvBAAwvB,EAG1wB,6CAAa,EACT,KAAM,EAAE,2BACZ,EACA,6CAAa,EACT,eAAgB,EAAE,iBACtB,EAEJ,iBAAM,EACF,eAAgB,EAAE,MAAO,EAG7B,kCAAuB,EACnB,eAAgB,EAAE,MAAO,EACzB,MAAO,EAAE,eAAgB,EAG7B,oCAAyB,EACrB,SAAU,EAAE,gBAAiB,EAGjC,kBAAO,EACH,eAAgB,EAAE,MAAO,EAG7B,mCAAwB,EACpB,eAAgB,EAAE,MAAO,EACzB,MAAO,EAAE,eAAgB,EAG7B,qCAA0B,EACtB,SAAU,EAAE,gBAAiB,EAGjC,iBAAM,EACF,eAAgB,EAAE,MAAO,EAG7B,kCAAuB,EACnB,eAAgB,EAAE,MAAO,EACzB,MAAO,EAAE,eAAgB,EAG7B,oCAAyB,EACrB,SAAU,EAAE,gBAAiB,EAGjC,sBAAW,EACP,eAAgB,EAAE,MAAO,EAG7B,uCAA4B,EACxB,eAAgB,EAAE,MAAO,EACzB,MAAO,EAAE,eAAgB,EAG7B,yCAA8B,EAC1B,SAAU,EAAE,gBAAiB,EAGjC,oBAAS,EACL,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,cAAe,EAEhC,sBAAW,EACP,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,cAAe,EAG9B,oBAAS,EACL,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,cAAe,EAC5B,YAAa,EAAE,EAAG,EAEtB,sBAAW,EACP,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,cAAe,EAC5B,UAAW,EAAE,iBAAkB,EAGnC,4BAAiB,EACb,MAAO,EAAE,GAAI,EACb,KAAM,EAAE,GAAI,EACZ,GAAI,EAAE,AAAC,EACP,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,GAAI,EAGjB,yBAAc,EACV,IAAK,EAAE,KAAM,EACb,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,KAAM,EACd,OAAQ,EAAE,KAAM,EAGpB,yBAAc,EACV,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,eAAgB,EACzB,SAAU,EAAE,SAAU,EACtB,WAAY,EAAE,GAAI,EAEtB,oCAAyB,EACrB,WAAY,EAAE,WAAY,EAE9B,2BAAgB,EACZ,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,MAAO,EAAE,WAAY,EAEzB,2BAAe,EACX,OAAQ,EAAE,OAAQ,EAEtB,oBAAS,EACL,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,eAAgB,EAAE,6CAA2B,EAC7C,gBAAiB,EAAE,QAAS,EAC5B,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,IAAK,EACZ,EAAG,EAAE,GAAI,EAEb,iCAAsB,EAClB,aAAc,EAAE,EAAG,EACnB,YAAa,EAAE,cAAe,EAElC,yBAAc,EACV,aAAc,EAAE,EAAG,EACnB,YAAa,EAAE,cAAe,EAElC,kDAAuC,EACnC,MAAO,EAAE,IAAK,EAGlB,8BAAmB,EACf,SAAU,EAAE,SAAU,EACtB,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,EAAG,EAAE,GAAI,EACT,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,KAAM,EACjB,MAAO,EAAE,GAAI,EACb,MAAO,EAAE,IAAK,EACd,UAAW,EAAE,GAAI,EACjB,aAAc,EAAE,GAAI,EACpB,eAAgB,EAAE,MAAO,EAG7B,sBAAW,EACP,IAAK,EAAE,KAAM,EACb,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,KAAM,EAGlB,qBAAU,EACN,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,KAAM,EACZ,mCAAc,EACV,SAAU,EAAE,SAAU,EACtB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,GAAI,EAClB,WAAY,EAAE,gBAAiB,EAC/B,YAAa,EAAE,GAAI,EAI/B,2BAAgB,EACZ,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,IAAK,EACZ,aAAc,EAAE,GAAI,EACpB,YAAa,EAAE,aAAc,EAC7B,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,GAAI,EACnB,6BAAE,EACE,IAAK,EAAE,eAAgB,EAI/B,0BAAe,EACX,SAAU,EAAE,GAAI,EAChB,YAAa,EAAE,GAAI,EAGvB,0BAAe,EACX,UAAW,EAAE,GAAI,EAErB,4BAAgB,EACZ,IAAK,EAAE,iBAAkB,EACzB,QAAS,EAAE,GAAI,EAEnB,8CAAkC,EAC9B,IAAK,EAAE,iBAAkB,EACzB,QAAS,EAAE,GAAI,EAEnB,gCAAoB,EAChB,IAAK,EAAE,eAAgB,EAE3B,uBAAY,EACR,SAAU,EAAE,SAAU,EACtB,WAAY,EAAE,GAAI,EAClB,YAAa,EAAE,GAAI,EACnB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,IAAK,EAGhB,2DAAoC,EAChC,MAAO,EAAE,WAAY,EACrB,aAAc,EAAE,KAAM,EACtB,gBAAiB,EAAE,GAAI,EAG3B,2BAAgB,EACZ,eAAgB,EAAE,4wCAA6wC,EAC/xC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAGhB,4BAAiB,EACb,eAAgB,EAAE,2BAA4B,EAC9C,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,EAAG,EAGnB,uBAAY,EACR,eAAgB,EAAE,o+CAAq+C,EACv/C,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,GAAI,EAGpB,sBAAW,EACP,eAAgB,EAAE,4/CAA6/C,EAC/gD,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,GAAI,EAGpB,wBAAa,EACT,eAAgB,EAAE,43CAA63C,EAC/4C,IAAK,EAAE,EAAG,EACV,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,GAAI,EAGpB,wBAAa,EACT,eAAgB,EAAE,o4CAAq4C,EACv5C,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,GAAI,EAGpB,6BAAkB,EACd,eAAgB,EAAE,41CAA61C,EAC/2C,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,EAAG,EACX,SAAU,EAAE,GAAI,EAGpB,sBAAW,EACP,eAAgB,EAAE,s8MAAu8M,EACz9M,gBAAiB,EAAE,QAAS,EAC5B,kBAAmB,EAAE,YAAa,EAClC,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,EAAG,EAAE,GAAI,EACT,GAAI,EAAE,IAAK,EACX,OAAQ,EAAE,OAAQ,EAClB,iCAAW,EACP,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAIpB,mBAAQ,EACJ,OAAQ,EAAE,OAAQ,EAGtB,uBAAY,EACR,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,WAAY,EACrB,OAAQ,EAAE,KAAM,EAGpB,wBAAa,EACT,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,aAAc,EACtB,SAAU,EAAE,SAAU,EACtB,WAAY,EAAE,GAAI,EAClB,WAAY,EAAE,GAAI,EAGtB,wBAAa,EACT,eAAgB,EAAE,4jDAA6jD,EAC/kD,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,GAAI,EAChB,eAAgB,EAAE,MAAO,EACzB,gBAAiB,EAAE,QAAS,EAC5B,kBAAmB,EAAE,YAAa,EAGtC,wBAAa,EACT,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,GAAI,EACT,GAAI,EAAE,AAAC,EACP,MAAO,EAAE,GAAI,EACb,SAAU,EAAE,SAAU,EACtB,MAAO,EAAE,GAAI,EACb,eAAgB,EAAE,IAAK,EACvB,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,IAAK,EACjB,UAAW,EAAE,aAAc,EAC3B,WAAY,EAAE,aAAc,EAC5B,YAAa,EAAE,aAAc,EAGjC,wBAAa,EACT,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,EAAG,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,GAAI,EAAE,GAAI,EAEd,8BAAmB,EACf,eAAgB,EAAE,MAAO,EAG7B,wBAAa,EACT,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,GAAI,EACV,QAAS,EAAE,IAAK,EAChB,OAAQ,EAAE,KAAM,EAChB,YAAa,EAAE,OAAQ,EACvB,UAAW,EAAE,KAAM,EACnB,QAAS,EAAE,GAAI,EAGnB,qBAAU,EACN,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EAEnB,wBAAa,EACT,YAAa,EAAE,GAAI,EAEvB,kBAAO,EACH,SAAU,EAAE,GAAI,EAChB,UAAW,EAAE,GAAI,EACjB,eAAgB,EAAE,0tBAA2tB,EAC7uB,gBAAiB,EAAE,QAAS,EAC5B,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,MAAO,EAGnB,0BAAe,EACX,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,GAAI,EACb,EAAG,EAAE,GAAI,EACT,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,IAAK,EACZ,eAAgB,EAAE,MAAO,EACzB,MAAO,EAAE,OAAQ,EAGrB,wBAAa,EACT,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,MAAO,EAAE,AAAC,EACV,eAAgB,EAAE,mDAAiC,EACnD,gBAAiB,EAAE,QAAS,EAC5B,kBAAmB,EAAE,UAAW,EAChC,eAAgB,EAAE,MAAO,EAE7B,0BAAe,EACX,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,MAAO,EAAE,AAAC,EACV,eAAgB,EAAE,iDAA+B,EACjD,gBAAiB,EAAE,QAAS,EAC5B,kBAAmB,EAAE,WAAY,EACjC,eAAgB,EAAE,MAAO,EAE7B,uCAA4B,EACxB,SAAU,EAAE,IAAK,EACjB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAEtB,qCAA0B,EACtB,SAAU,EAAE,IAAK,EACjB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAGtB,2BAAgB,EACZ,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,AAAC,EACV,eAAgB,EAAE,MAAO,EACzB,OAAQ,EAAE,KAAM,EAGpB,+BAAoB,EAChB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,IAAK,EACjB,YAAa,EAAE,GAAI,EACnB,SAAU,EAAE,GAAI,EAChB,SAAU,EAAE,KAAM,EAGtB,uBAAY,EACR,SAAU,EAAE,GAAI,EAGpB,uBAAY,EACR,KAAM,EAAE,GAAI,EACZ,YAAa,EAAE,GAAI,EACnB,WAAY,EAAE,GAAI,EAEtB,sBAAW,EACP,MAAO,EAAE,WAAY,EACrB,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,WAAY,EAAE,GAAI,EAGtB,yBAAc,EACV,WAAY,EAAE,GAAI,EAEtB,kCAAuB,EACnB,OAAQ,EAAE,KAAM,EAChB,YAAa,EAAE,OAAQ,EACvB,UAAW,EAAE,KAAM,EACnB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,YAAa,EAAE,GAAI,EACnB,oCAAE,EACE,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,GAAI,EACb,cAAe,EAAE,GAAI,EAG7B,gCAAqB,EACjB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,MAAO,EAGlB,qCAA0B,EACtB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,YAAa,EAAE,GAAI,EACnB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,IAAK,EAErB,gCAAqB,EACjB,MAAO,EAAE,WAAY,EACrB,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EAGf,0BAAe,EACX,YAAa,EAAE,EAAG,EAClB,WAAY,EAAE,GAAI,EAGtB,0BAAe,EACX,MAAO,EAAE,WAAY,EACrB,SAAU,EAAC,SAAU,EACrB,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,eAAgB,EAAE,MAAO,EACzB,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAClB,WAAY,EAAE,GAAI,EAGtB,6BAAkB,EACd,MAAO,EAAE,WAAY,EACrB,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EAGnB,kCAAuB,EACnB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,KAAM,EAEtB,qCAA0B,EACtB,SAAU,EAAE,SAAU,EACtB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,KAAM,EACd,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,gBAAiB,EAEjC,oCAAyB,EACrB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EAGf,0BAAe,EACX,OAAQ,EAAE,OAAQ,EAClB,eAAgB,EAAE,sqDAAuqD,EACzrD,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,EAAG,EAAE,IAAK,EACV,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,IAAK,EACZ,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EAGnB,uBAAY,EACR,IAAK,EAAE,GAAI,EAGf,wBAAa,EACT,IAAK,EAAE,IAAK,EAGhB,2BAAgB,EACZ,MAAO,EAAE,IAAK,EACd,SAAU,EAAE,SAAU,EACtB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAElB,8BAAmB,EACd,MAAO,EAAE,IAAK,EACd,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,eAAgB,EACvB,UAAW,EAAE,KAAM,EACnB,OAAQ,EAAE,KAAM,EAChB,YAAa,EAAE,OAAQ,EAE3B,qBAAU,EACN,IAAK,EAAC,GAAI,EACV,KAAM,EAAC,IAAK,EACZ,SAAU,EAAC,SAAU,EAEzB,wBAAa,EACT,SAAU,EAAC,SAAU,EAEzB,sBAAW,EACP,IAAK,EAAC,IAAK,EAEf,sBAAU,EACN,IAAK,EAAC,IAAK,EACX,UAAW,EAAC,aAAc,EAC1B,WAAY,EAAE,GAAI,EAEtB,sBAAU,EACN,IAAK,EAAE,IAAK,EACZ,UAAW,EAAC,aAAc,EAC1B,WAAY,EAAE,GAAI,EAEtB,gCAAqB,EACjB,IAAK,EAAE,IAAK,EACZ,aAAc,EAAE,GAAI,EACpB,YAAa,EAAE,aAAc,EAC7B,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,GAAI,EAEvB,iCAAsB,EAClB,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,GAAI,EACZ,YAAa,EAAE,GAAI,EACnB,QAAS,EAAE,IAAK,EAEpB,qCAAyB,EACrB,IAAK,EAAE,eAAgB,EACvB,QAAS,EAAE,GAAI,EAEnB,mCAAwB,EACpB,IAAK,EAAE,iBAAkB,EACzB,QAAS,EAAE,GAAI,EAEnB,gCAAqB,EACjB,cAAe,EAAE,mBAAqB,EAE1C,uCAA4B,EACxB,IAAK,EAAE,cAAmB,EAE9B,yBAAc,EACV,MAAO,EAAE,GAAI,EAEjB,0BAAc,EACV,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,eAAgB,EAAE,MAAO,EAE7B,4BAAiB,EACb,IAAK,EAAE,KAAM,EACb,KAAM,EAAE,KAAM,EAElB,yCAA6B,EACzB,MAAO,EAAC,AAAC,EACT,KAAM,EAAE,AAAC,EACT,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,UAAW,EAAE,IAAK,EAClB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,KAAM,EAEvB,2CAAgC,EAC5B,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EAErB,iDAAsC,EAClC,SAAU,EAAE,GAAI,EAChB,YAAa,EAAE,GAAI,EACnB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,KAAM,EACnB,QAAS,EAAE,GAAI,EAEnB,mDAAwC,EACpC,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,KAAM,EACnB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EAIzB,aAAe,EACX,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,SAAU,EAClB,YAAa,EAAE,aAAc,EAE7B,2BAAc,EACV,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,KAAM,EAGlB,mBAAM,EACF,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,AAAC,EACZ,uBAAI,EACA,aAAc,EAAE,KAAM,EAKlC,0BAA4B,EACxB,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,AAAC,EACZ,6BAAG,ECjjCL,MAAO,EAAE,WAAY,EAEnB,aAAc,EAXO,KAAM,EAgBzB,cAAe,EAbmD,GAAI,EAexE,IAAK,EAAE,AAAC,EACR,OAAQ,EAAE,KAAM,EDyiCZ,MAAO,EAAE,KAAM,EACf,MAAO,EAAE,OAAQ,EACjB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EAEf,mEAAQ,EACJ,QAAS,EAAE,GAAI,EACf,aAAc,EAAE,KAAM,EAG1B,wCAAW,EACP,QAAS,EAAE,GAAI,EAEnB,+CAAkB,EACd,UAAW,EAAE,GAAI,EAIrB,uCAAE,EACE,IAAK,EAAE,GAAI,EAGnB,wCAAc,EACV,OAAQ,EAAE,OAAQ,EAClB,QAAS,EAAE,AAAC,EACZ,KAAM,EAAE,MAAO,EAEf,8CAAQ,EACJ,eAAgB,EAAE,MAAO,EAErB,2DAAK,EACD,MAAO,EAAE,WAAY,EACrB,OAAQ,EAAE,KAAM,EAChB,IAAK,EAAE,AAAC,EAEZ,6DAAO,EACH,MAAO,EAAE,GAAI,EAIzB,iGAAe,EC3lCrB,MAAO,EAAE,WAAY,EAEnB,aAAc,EAXO,KAAM,EAgBzB,cAAe,EAbmD,GAAI,EAexE,IAAK,EAAE,AAAC,EACR,OAAQ,EAAE,KAAM,EDmlCR,QAAS,EAAE,GAAI,EACf,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,uGAAK,EACD,MAAO,EAAE,GAAI,EAIrB,qDAAa,EACT,MAAO,EAAE,GAAI,EACb,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,GAAI,EAAE,AAAC,EACP,SAAU,EAAE,MAAO,EACnB,MAAO,EAAE,AAAC,EACV,uDAAE,EACE,MAAO,EAAE,IAAK,EACd,MAAO,EAAE,SAAU,EACnB,SAAU,EAAE,aAAc,EAK1C,yBAA0B,EAElB,8BAAmB,EACf,QAAS,EAAE,IAAK,EAEpB,uBAAY,EACR,IAAK,EAAE,IAAK,EAEhB,8BAAmB,EACf,QAAS,EAAE,IAAK,EAEpB,2BAAgB,EACZ,IAAK,EAAE,IAAK,EAEhB,8BAAmB,EACf,IAAK,EAAE,IAAK,EAEhB,sBAAW,EACP,GAAI,EAAE,IAAK,EACX,iCAAW,EACP,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAGpB,yBAAc,EACV,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,IAAK,EAEpB,yBAAc,EACV,WAAY,EAAC,GAAI,EAErB,2BAAgB,EACZ,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,UAAW,EACpB,WAAY,EAAE,EAAG,EAErB,sBAAW,EACP,IAAK,EAAE,IAAK,EAEhB,8BAAmB,EACf,QAAS,EAAE,IAAK,EAEpB,qBAAU,EACN,IAAK,EAAE,IAAK,EAEhB,sBAAW,EACP,IAAK,EAAE,IAAK,EAEhB,sBAAW,EACP,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,aAAc,EAC3B,WAAY,EAAE,GAAI,EAEtB,sBAAW,EACP,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,aAAc,EAC3B,WAAY,EAAE,GAAI,EAEtB,mCAAwB,EACpB,IAAK,EAAE,IAAK,EAEhB,2BAAgB,EACZ,IAAK,EAAE,IAAK,EAEhB,uBAAY,EACR,IAAK,EAAE,IAAK,EACZ,YAAa,EAAE,AAAC,EAChB,2BAAI,EACA,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,GAK7B,KAAO,EACH,GAAI,EAAE,EAAG,EACT,EAAG,EAAE,EAAG,EACR,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,IAAK,EACf,MAAO,EAAE,GAAI,EAEjB,UAAY,EACR,SAAU,EAAE,yBAA6B,EACzC,GAAI,EAAE,EAAG,EACT,EAAG,EAAE,EAAG,EACR,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,GAAI,EACb,MAAO,EAAE,EAAG,EACZ,WAAY,EAAE,EAAG,EAErB,sBAAwB,EACpB,KAAM,EAAE,OAAQ,EAChB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEjB,0BAA4B,EACxB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAEhB,gBAAkB,EACd,SAAU,EAAE,GAAkB,EAC9B,KAAM,EAAE,OAAQ,EAChB,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,GAAI,EAEjB,uBAAyB,EACrB,EAAG,EAAE,IAAK,EACV,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,GAAkB,EACzB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,OAAQ,EAAE,OAAQ,EAEtB,uBAAyB,EACrB,SAAU,EAAE,GAAY,EACxB,YAAa,EAAE,GAAI,EACnB,KAAM,EAAE,WAAY,EACpB,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,MAAO,EAAE,IAAK,EACd,iBAAkB,EAAE,GAAI,EACxB,oBAAqB,EAAE,GAAI,EAE/B,sBAAwB,EACpB,MAAO,EAAE,GAAI,EACb,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,SAAU,EAE1B,4BAA8B,EAC1B,gBAAiB,EAAE,GAAkB,EACrC,gBAAiB,EAAE,EAAG,EACtB,gBAAiB,EAAE,IAAK,EAE5B,gCAAkC,EAC9B,gBAAiB,EAAE,GAAkB,EACrC,gBAAiB,EAAE,EAAG,EACtB,gBAAiB,EAAE,IAAK,EAE5B,2BAA6B,EACzB,gBAAiB,EAAE,GAAkB,EACrC,gBAAiB,EAAE,EAAG,EACtB,gBAAiB,EAAE,IAAK,EAE5B,sCAAwC,EACpC,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAkB,EACzB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAEpB,uCAAyC,EACrC,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAkB,EACzB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAEpB,sCAAwC,EACpC,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAkB,EACzB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAEpB,2CAA6C,EACzC,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAkB,EACzB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAEpB,2BAA6B,EACzB,KAAM,EAAE,YAAa,EACrB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,MAAkB,EACzB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,MAAO,EACpB,MAAO,EAAE,IAAK,EAElB,qBAAuB,EACnB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,GAAI,EAEpB,sBAAwB,EACpB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,GAAI,EAEpB,qBAAuB,EACnB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,GAAI,EAEpB,0BAA4B,EACxB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,GAAI,EAEpB,qBAAuB,EACnB,IAAK,EAAE,IAAK,EAEhB,qBAAuB,EACnB,IAAK,EAAE,IAAK,EAEhB,sBAAwB,EACpB,IAAK,EAAE,MAAkB,EAE7B,sBAAwB,EACpB,IAAK,EAAE,MAAkB,EAE7B,qBAAuB,EACnB,IAAK,EAAE,MAAkB,EAE7B,qBAAuB,EACnB,IAAK,EAAE,MAAkB,EAE7B,0BAA4B,EACxB,IAAK,EAAE,iBAA0B,EAErC,0BAA4B,EACxB,IAAK,EAAE,iBAA0B,EAErC,qBAAuB,EACnB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,GAAI,EAEpB,sBAAwB,EACpB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,GAAI,EAEpB,qBAAuB,EACnB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,GAAI,EAEpB,0BAA4B,EACxB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,GAAI,EAEpB,uBAAyB,EACrB,KAAM,EAAE,YAAa,EACrB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,EAAG,EACX,kBAAmB,EAAE,GAAkB,EACvC,kBAAmB,EAAE,EAAG,EACxB,kBAAmB,EAAE,IAAK,EAE9B,wBAA0B,EACtB,KAAM,EAAE,YAAa,EACrB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,EAAG,EACX,kBAAmB,EAAE,GAAkB,EACvC,kBAAmB,EAAE,EAAG,EACxB,kBAAmB,EAAE,IAAK,EAE9B,uBAAyB,EACrB,KAAM,EAAE,YAAa,EACrB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,EAAG,EACX,kBAAmB,EAAE,GAAkB,EACvC,kBAAmB,EAAE,EAAG,EACxB,kBAAmB,EAAE,IAAK,EAE9B,4BAA8B,EAC1B,KAAM,EAAE,YAAa,EACrB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,EAAG,EACX,kBAAmB,EAAE,GAAkB,EACvC,kBAAmB,EAAE,EAAG,EACxB,kBAAmB,EAAE,IAAK,EEr7C9B,WAAa,EACT,QAAS,EAAE,GAAI,EAEf,iBAAM,EACF,IAAK,EAAE,GAAI,EAGf,kBAAO,EACH,IAAK,EAAE,IAAK,EAGhB,mBAAQ,EACJ,SAAU,EAAE,KAAM,EAGtB,aAAE,EACE,SAAU,EAAE,SAAU,EAG1B,gBAAK,EACD,IAAK,EAAE,MAAO,EAGlB,iBAAM,EACF,IAAK,EAAE,GAAI,EAGf,iBAAM,EACF,IAAK,EAAE,GAAI,EAGf,iBAAM,EACF,IAAK,EAAE,GAAI,EAGf,uBAAY,EACR,SAAU,EAAE,MAAO,EACnB,MAAO,EAAC,KAAM,EAEd,0BAAG,EACC,IAAK,EAAE,IAAK,EACZ,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,GAAI,EACX,OAAQ,EAAC,KAAM,EAEf,+BAAO,EACH,WAAY,EAAE,AAAC,EAGnB,sCAAY,EACR,SAAU,EAAE,GAAI,EAChB,MAAO,EAAE,GAAI,EAGjB,iCAAO,EACH,OAAQ,EAAE,OAAQ,EAClB,SAAU,EAAE,KAAM,EAGtB,sCAAY,EACR,YAAa,EAAE,gBAAiB,EAChC,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,EAAG,EACR,IAAK,EAAE,GAAI,EACX,GAAI,EAAE,AAAC,EAGX,gCAAM,EACF,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,KAAM,EAClB,GAAI,EAAE,AAAC,EACP,EAAG,EAAE,AAAC,EAEN,qCAAK,EACD,SAAU,EAAE,GAAI,EAChB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,MAAO,EAAE,KAAM,EAIvB,6BAAG,EACC,SAAU,EAAE,GAAI,EAChB,UAAW,EAAE,GAAI,EAGrB,mCAAS,EACL,WAAY,EAAE,IAAK,EACnB,OAAQ,EAAE,KAAM,EAEhB,sCAAG,EACC,KAAM,EAAE,aAAc,EACtB,MAAO,EAAE,EAAG,EACZ,WAAY,EAAE,GAAI,EAElB,wCAAE,EACE,MAAO,EAAE,IAAK,EAGlB,wCAAE,EACE,SAAU,EAAE,KAAM,EAClB,SAAU,EAAE,GAAI,EAChB,YAAa,EAAE,EAAG,EAClB,UAAW,EAAE,GAAI,EAK7B,mCAAS,EACL,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAGhB,qCAAW,EACP,OAAQ,EAAE,OAAQ,EAElB,yCAAI,EACA,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAIpB,+CAAqB,EACjB,MAAO,EAAE,AAAC,EACV,KAAM,EAAC,iBAAkB,EAG7B,iDAAuB,EACnB,MAAO,EAAE,GAAI,EAGjB,oCAAS,EACL,UAAW,EAAE,GAAI,EAEjB,yCAAK,EACD,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,IAAK,EACd,KAAM,EAAC,MAAO,EACd,QAAS,EAAE,GAAI,EAGnB,yCAAK,EACD,IAAK,EAAE,GAAI,EAKvB,6BAAM,EACF,UAAW,EAAE,GAAI,EAEjB,mCAAM,EACF,KAAM,EAAE,UAAW,EAGvB,qCAAQ,EACJ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAChB,WAAY,EAAE,GAAI,EAClB,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,WAAY,EACrB,SAAU,EAAE,KAAM,EAClB,KAAM,EAAE,MAAO,EAGnB,+BAAE,EACE,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,KAAM,EAGpB,sCAAQ,EACJ,IAAK,EAAE,EAAG,EACV,KAAM,EAAE,GAAI,EACZ,aAAc,EAAE,KAAM,EACtB,KAAM,EAAE,cAAe,EACvB,KAAM,EAAC,GAAI,EAInB,oCAAa,EACT,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,EAAG,EAId,+BAAQ,EACJ,WAAY,EAAE,IAAK,EAEnB,kCAAG,EACC,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,GAAI,EAGf,mCAAI,EACA,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAIrB,qCAAc,EACV,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAIxB,yBAAc,EACV,IAAK,EAAE,GAAI,EAGf,oBAAS,EACL,MAAO,EAAE,YAAa,EACtB,SAAU,EAAE,GAAI,EAEhB,0BAAM,EACF,WAAY,EAAE,GAAI,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EAEjB,oCAAU,EACN,MAAO,EAAE,WAAY,EACrB,UAAW,EAAE,KAAM,EACnB,QAAS,EAAE,GAAI,EACf,aAAc,EAAE,KAAM,EACtB,WAAY,EAAE,EAAG,EAIzB,gDAA4B,EACxB,QAAS,EAAE,GAAI,EAIvB,sBAAW,EACP,KAAM,EAAE,gBAAiB,EACzB,IAAK,EAAE,IAAK,EAEZ,4BAAM,EACF,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,KAAM,EACf,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,AAAC,EACT,SAAU,EAAE,GAAI,EAGpB,wBAAE,EACE,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,IAAK,EACZ,WAAY,EAAE,GAAI,EAClB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,MAAO,EAAE,EAAG,EACZ,KAAM,EAAE,gBAAiB,EAIjC,wBAAa,EACT,SAAU,EAAE,GAAI,EAChB,QAAS,EAAE,GAAI,EACf,OAAQ,EAAE,KAAM,EAEhB,4BAAM,EACF,MAAO,EAAE,KAAM,EACf,SAAU,EAAE,gBAAiB,EAGjC,2BAAG,EACC,IAAK,EAAE,GAAI,EAGf,0BAAE,EACE,UAAW,EAAE,GAAI,EAEjB,+BAAK,EACD,IAAK,EAAE,GAAI,EAGf,4BAAE,EACE,IAAK,EAAE,GAAI,EAEX,kCAAQ,EACJ,cAAe,EAAE,QAAS,EAKtC,2BAAG,EACC,IAAK,EAAE,IAAK,EAGhB,gCAAQ,EACJ,SAAU,EAAE,gBAAiB,EAC7B,MAAO,EAAE,KAAM,EAIvB,wBAAa,EACT,SAAU,EAAE,GAAI,EAChB,MAAO,EAAE,YAAa,EACtB,QAAS,EAAE,GAAI,EAEf,oCAAY,EACR,SAAU,EAAE,EAAG,EAEf,sCAAE,EACE,WAAY,EAAE,EAAG,EAIzB,kCAAU,EACN,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EAEjB,oCAAE,EACE,IAAK,EAAE,GAAI,EAGf,uCAAK,EACD,MAAO,EAAE,KAAM,EAK3B,uBAAY,EACR,OAAQ,EAAE,IAAK,EACf,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,GAAI,EAAE,EAAG,EACT,UAAW,EAAE,IAAK,EAClB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAChB,MAAO,EAAE,EAAG,EACZ,KAAM,EAAE,gBAAiB,EACzB,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,MAAO,EACf,MAAO,EAAE,AAAC,EAEV,6BAAQ,EACJ,MAAO,EAAE,EAAG,EACZ,KAAM,EAAE,gBAAiB,EAG7B,iCAAU,EACN,QAAS,EAAE,GAAI,EAK3B,2BAA6B,EACzB,GAAI,EAAE,GAAI,EACV,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EAIjB,sCAAe,EACX,IAAK,EAAE,IAAK,EAEZ,+CAAS,EACL,SAAU,EAAE,GAAI,EAChB,YAAa,EAAE,GAAI,EACnB,OAAQ,EAAE,KAAM,EAGpB,+CAAS,EACL,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAGhB,kDAAY,EACR,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EAIrB,sCAAe,EACX,WAAY,EAAE,GAAI,EAGtB,kCAAW,EACP,IAAK,EAAE,IAAK,EAEZ,wCAAM,EACF,IAAK,EAAE,IAAK,EAIpB,uCAAgB,EACZ,IAAK,EAAE,IAAK,EC/YpB,QAAU,EACN,QAAS,EAAE,GAAI,EACf,MAAO,EAAE,KAAM,EACf,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,gBAAiB,EAChC,YAAa,EAAE,GAAI,EAEnB,UAAE,EACE,IAAK,EAAE,GAAI,EAGf,kBAAU,EACN,QAAS,EAAE,GAAI,ECbvB,MAAQ,EACJ,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,KAAM,EAEhB,UAAI,EACA,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAIxB,gBAAkB,EACd,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,IAAK,EAAE,AAAC,EACR,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,KAAM,EAGtB,sBAAwB,EACpB,MAAO,EAAE,WAAY,EACrB,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,EAAG,EACZ,aAAc,EAAE,KAAM,EAG1B,WAAa,EACT,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,IAAK,EAAE,AAAC,EACR,EAAG,EAAE,AAAC,EACN,KAAM,EAAE,AAAC,EACT,SAAU,EAAE,GAAI,EAChB,MAAO,EAAE,EAAG,EACZ,KAAM,EAAE,kDAAmD,ECyT7D,iBAAwC,EDxTf,GAAI,ECwT7B,oBAAwC,EC9Sb,GAAuB,ED8SlD,YAAwC,EDxTf,GAAI,EAG/B,0BAA4B,EACxB,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,GAAI,EAChB,KAAM,EAAE,MAAO,EG/Bb,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EH6BY,EAAG,EC4StB,iBAAwC,ED3Sf,EAAG,EC2S5B,oBAAwC,EC9Sb,EAAuB,ED8SlD,YAAwC,ED3Sf,EAAG,EAC1B,MAAO,EAAE,AAAC,EAEV,gCAAQ,EGtCN,KAAM,EAAE,qDAAiE,EAK7E,MAAO,EHkCgB,AAAC,EAI1B,YAAc,EACV,MAAO,EAAE,GAAI,EAEb,iBAAO,EACH,MAAO,EAAE,IAAK,EAGlB,cAAE,EACE,MAAO,EAAE,IAAK,EACd,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,EAAG,EACR,KAAM,EAAE,QAAS,EACjB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,MAAO,EAAE,AAAC,EACV,SAAU,EAAE,GAAI,EG1DlB,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EHwDgB,GAAI,EAErB,oBAAO,EG7DT,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EH2DoB,EAAG,EAGxB,wBAAU,EACN,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,MAAO,EAItB,kBAAM,EACF,GAAI,EAAE,AAAC,EAGX,kBAAM,EACF,IAAK,EAAE,AAAC,EI5FhB,KAAO,EACH,QAAS,EAAE,GAAI,EAEf,OAAE,EACE,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,IAAK,EACd,UAAW,EAAE,GAAI,EACjB,MAAO,EAAE,WAAY,EACrB,SAAU,EAAE,KAAM,EAClB,WAAY,EAAE,EAAG,EACjB,IAAK,EAAE,GAAI,EAEX,WAAM,EACF,eAAgB,EAAE,GAAI,EACtB,IAAK,EAAE,GAAI,ECJvB,AAAE,EACE,UAAW,EAAE,GAAI,EAGrB,GAAK,EACD,UAAW,EAAE,sBAAuB,EAGxC,SAOC,EANG,UAAW,EAAE,SAAU,EACvB,EAAG,EAAE,4CAAwB,EAC7B,EAAG,EAAE,mRAG+C,EAGxD,QAAU,EACN,UAAW,EAAE,oBAAqB,EAClC,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAClB,cAAe,EAAE,GAAI,EACrB,qBAAsB,EAAE,UAAW,EACnC,wBAAyB,EAAE,IAAK,EAChC,sBAAuB,EAAE,QAAS,EAGtC,+BACgB,EACZ,MAAO,EAAE,CAAE,EACX,MAAO,EAAE,IAAK,EAGlB,cAAgB,EACZ,IAAK,EAAE,GAAI,EAGf,QAAU,EACN,IAAK,EAAE,AAAC,EAGZ,IAAO,EACH,SAAU,EAAE,GAAI,EAGpB,AAAE,EACE,cAAe,EAAE,GAAI,EACrB,IAAK,EAAE,GAAI,EAGf,IAAM,EACF,MAAO,EAAE,cAAe,EAG5B,SAAW,EACP,IAAK,EAAE,GAAI,EAGf,UAAY,EACR,IAAK,EAAE,IAAK,EAGhB,MAAQ,EACJ,MAAO,EAAE,GAAI,EAGjB,aAAe,EACX,MAAO,EAAE,GAAI,EAGjB,cAAgB,EACZ,IAAK,EAAE,KAAM,EACb,UAAW,EAAE,GAAI,EACjB,WAAY,EAAE,GAAI,EAGtB,0BAA4B,EACxB,IAAK,EAAE,IAAK,ECpFhB,qBAAW,EACV,IAAK,EAAE,IAAK,EAGZ,sCAAiB,EACV,KAAM,EAAE,IAAK,EAEb,4DAAwB,EACpB,KAAM,EAAE,IAAK,EAGvB,0CAAI,EACH,MAAO,EAAE,IAAK,EAIb,kDAA6B,EACzB,KAAM,EAAE,IAAK,EAEb,oFAAoC,EAChC,KAAM,EAAE,IAAK,EAKxB,oCAAe,EACd,KAAM,EAAE,IAAK,EAGH,yCAAE,EACE,IAAK,EAAE,IAAK,EAMxB,mCAAc,EACV,MAAO,EAAE,IAAK,EAMV,0CAAO,EACH,UAAW,EAAE,KAAM,EAGvB,0CAAO,EACH,WAAY,EAAE,KAAM,EAGxB,2CAAO,EHtCb,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EGoCwB,EAAG,EAMhC,uCAAkB,EACd,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,SAAU,EAClB,MAAO,EAAE,AAAC,EAEV,0CAAG,EACC,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EAOpB,oCAAe,EACX,KAAM,EAAE,IAAK,EAEb,8CAAU,EACN,WAAY,EAAE,EAAG,EAEjB,gDAAE,EACE,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAGjB,4DAAc,EACV,KAAM,EAAE,IAAK,EAIrB,gDAAY,EACR,IAAK,EAAE,IAAK,EACZ,WAAY,EAAE,EAAG,EAGrB,iDAAa,EACT,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAGjB,6DAAyB,EACrB,KAAM,EAAE,IAAK,EACb,YAAa,EAAE,GAAI,EAMvB,8CAAa,EACT,IAAK,EAAE,IAAK,EACZ,iDAAG,EACC,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,6DAAc,EACV,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAMzB,4CAAW,EACP,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAKrB,4CAAuB,EACnB,IAAK,EAAE,IAAK,EAGhB,4CAAuB,EACnB,WAAY,EAAE,EAAG,EAEjB,8CAAE,EACE,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EAIpB,sCAAiB,EACb,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAGrB,yCAAoB,EAChB,KAAM,EAAE,IAAK,EAGjB,8CAAyB,EACrB,KAAM,EAAE,UAAW,EACnB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEb,wDAAU,EACN,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,WAAY,EAAE,EAAG,EAKzB,gCAAW,EACP,KAAM,EAAE,IAAK,EACb,mCAAG,EACC,IAAK,EAAE,IAAK,EAEhB,mCAAG,EACC,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,UAAW,EAAE,IAAK,EAGlB,6DAAU,EACN,QAAS,EAAE,GAAI,EAEf,kEAAO,EACH,EAAG,EAAE,IAAK,EAEd,oEAAS,EACL,KAAM,EAAG,IAAK,EAS9B,iCAAY,EACR,KAAM,EAAE,IAAK,EAEb,0CAAW,EACP,KAAM,EAAE,IAAK,EAGjB,oCAAG,EACC,IAAK,EAAE,IAAK,EAEhB,oCAAG,EACC,KAAM,EAAE,UAAW,EACnB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAMrB,wCAAG,EACC,IAAK,EAAE,KAAM,EAEjB,wCAAG,EACC,KAAM,EAAE,UAAW,EACnB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEb,mDAAa,EACT,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEjB,mDAAa,EACT,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAO5B,mCAAc,EACV,KAAM,EAAE,UAAW,EAIf,mDAAG,EACC,MAAO,EAAE,OAAQ,EC/O9B,SAAW,EACP,IAAK,EAAE,KAAM,EACb,KAAM,EAAE,UAAW,EAEnB,0BAAgB,EACZ,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,IAAK,EAAE,AAAC,EACR,KAAM,EAAE,IAAK,EAEb,gDAAwB,EACpB,KAAM,EAAE,IAAK,EAKrB,wBAAe,EACX,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,KAAM,EAEhB,2BAAG,EACC,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,GAAI,EAIZ,iDAAmB,EACf,MAAO,EAAE,IAAK,EAItB,2BAAG,EACC,MAAO,EAAE,GAAI,EACb,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,AAAC,EACN,IAAK,EAAE,AAAC,EACR,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAEZ,6BAAE,EACE,MAAO,EAAE,IAAK,EACd,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,KAAM,EACb,KAAM,EAAE,KAAM,EAGlB,uCAAc,EACV,MAAO,EAAE,IAAK,EAGlB,+BAAI,EACA,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAKxB,sCAA6B,EACzB,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,GAAI,EAEX,wEAAoC,EAChC,KAAM,EAAE,IAAK,EAMrB,uBAAc,EACV,MAAO,EAAE,IAAK,EAEd,yBAAE,EACE,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,EAAG,EACR,KAAM,EAAE,QAAS,EACjB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,MAAO,EAAE,AAAC,EACV,SAAU,EAAE,GAAI,EJjEtB,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EI+DoB,GAAI,EAErB,8BAAO,EACH,GAAI,EAAE,EAAG,EACT,UAAW,EAAE,KAAM,EAGvB,8BAAO,EACH,IAAK,EAAE,EAAG,EACV,WAAY,EAAE,KAAM,EAGxB,+BAAO,EJ9Eb,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EI4EwB,EAAG,EAGxB,mCAAU,EACN,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,MAAO,EAK1B,2BAAkB,EACd,IAAK,EAAE,KAAM,EACb,KAAM,EAAE,SAAU,EAClB,MAAO,EAAE,QAAS,EAElB,8BAAG,EACC,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,QAAS,EACjB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EAEZ,0CAAc,EACV,KAAM,EAAE,AAAC,EAIT,sCAAE,EJ1GZ,KAAM,EAAE,iDAAoF,EAGhG,MAAO,EIwG4B,AAAC,EAI1B,gCAAE,EACE,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,IAAK,EAAE,AAAC,EACR,KAAM,EAAE,AAAC,EACT,EAAG,EAAE,AAAC,EACN,SAAU,EAAE,GAAI,EJrH1B,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EImHwB,EAAG,EAGxB,kCAAI,EACA,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAMxB,2BAAkB,EACd,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,IAAK,EAAE,AAAC,EACR,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,AAAC,EACZ,mDAAwB,EACpB,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,EAAG,EVxItB,MAAO,EAAE,WAAY,EAEnB,aAAc,EAXO,KAAM,EAgBzB,cAAe,EAbmD,GAAI,EAexE,IAAK,EAAE,AAAC,EACR,OAAQ,EAAE,KAAM,EUiIZ,wCAAa,EACT,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,IAAK,EAAE,AAAC,EACR,EAAG,EAAE,AAAC,EACN,KAAM,EAAE,AAAC,EACT,SAAU,EAAE,GAAI,EJnJtB,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EIiJoB,EAAG,ENwL9B,iBAAwC,EMvLP,GAAI,ENuLrC,oBAAwC,EC9Sb,GAAuB,ED8SlD,YAAwC,EMvLP,GAAI,EAE/B,gCAAK,EACD,OAAQ,EAAE,OAAQ,EVtJ5B,MAAO,EAAE,WAAY,EAEnB,aAAc,EAXO,KAAM,EAgBzB,cAAe,EAbmD,GAAI,EAexE,IAAK,EAAE,AAAC,EACR,OAAQ,EAAE,KAAM,EU8IR,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,GAAI,EAChB,KAAM,EAAE,MAAO,EJ9JrB,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EI4JoB,EAAG,EN6K9B,iBAAwC,EM5KP,EAAG,EN4KpC,oBAAwC,EC9Sb,EAAuB,ED8SlD,YAAwC,EM5KP,EAAG,EAC1B,MAAO,EAAE,AAAC,EAEV,sCAAQ,EJrKd,KAAM,EAAE,qDAAiE,EAK7E,MAAO,EIiKwB,AAAC,EAM9B,wBAAe,EACX,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,GAAI,EAEX,6BAAK,EACD,IAAK,EAAE,GAAI,EAEX,+BAAE,EACE,MAAO,EAAE,IAAK,EAItB,2EACa,EACT,YAAa,EAAE,GAAI,EAEnB,iGAAa,EACT,YAAa,EAAE,AAAC,EAIxB,+EACc,EACV,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EAGf,kCAAU,EACN,WAAY,EAAE,GAAI,EAElB,oCAAE,EACE,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAGjB,gDAAc,EACV,KAAM,EAAE,IAAK,EAIrB,oCAAY,EACR,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,WAAY,EAAE,GAAI,EAClB,QAAS,EAAE,AAAC,EAGR,6DAAmB,EACf,MAAO,EAAE,IAAK,EAItB,mDAAe,EACX,KAAM,EAAE,GAAI,EAGR,wDAAE,EACE,IAAK,EAAE,GAAI,EAMnB,yDAAO,EACH,GAAI,EAAE,AAAC,EACP,UAAW,EAAE,AAAC,EAElB,yDAAO,EACH,IAAK,EAAE,AAAC,EACR,WAAY,EAAE,AAAC,EAIvB,wCAAI,EACA,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAIxB,qCAAa,EACT,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAGjB,iDAAyB,EACrB,KAAM,EAAE,IAAK,EACb,YAAa,EAAE,GAAI,EAKvB,yBAAI,EACA,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAEhB,kCAAa,EACT,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,qCAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,UAAW,EACnB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,KAAM,EAChB,iDAAc,EACV,WAAY,EAAE,EAAG,EAChB,IAAK,EAAE,IAAK,EACb,KAAM,EAAE,IAAK,EAMzB,gCAAW,EACP,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,KAAM,EAMxB,2BAAkB,EACd,OAAQ,EAAE,KAAM,EAGpB,gCAAuB,EACnB,SAAU,EAAE,EAAG,EACf,IAAK,EAAE,KAAM,EAGjB,gCAAuB,EACnB,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,EAAG,EACjB,YAAa,EAAE,EAAG,EAElB,kCAAE,EACE,MAAO,EAAE,SAAU,EACnB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,KAAM,EAClB,aAAc,EAAE,KAAM,EAG1B,oCAAI,EACA,MAAO,EAAE,IAAK,EACd,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAChB,KAAM,EAAE,KAAM,EAItB,0BAAiB,EACb,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,IAAK,EAClB,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EAGnB,6BAAoB,EAChB,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,SAAU,EAAE,MAAO,EAEnB,+CAAkB,EACd,MAAO,EAAE,IAAK,EACd,iDAAE,EACE,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,EAAG,EACR,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EAEX,sDAAO,EACH,IAAK,EAAE,GAAI,EAGf,sDAAO,EACH,GAAI,EAAE,GAAI,EAM1B,kCAAyB,EACrB,SAAU,EAAE,SAAU,EACtB,KAAM,EAAE,UAAW,EACnB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,KAAM,EAEhB,4CAAU,EACN,IAAK,EAAE,KAAM,EACb,KAAM,EAAE,GAAI,EAGhB,4CAAU,EACN,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,SAAU,EACtB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,WAAY,EAAE,GAAI,EAElB,gDAAI,EACA,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAOxB,oBAAW,EACP,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,KAAM,EAGZ,4CAAkB,EACd,MAAO,EAAE,IAAK,EAGtB,uBAAG,EACC,IAAK,EAAE,KAAM,EAEjB,uBAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,QAAS,EACjB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,UAAW,EAAE,IAAK,EAClB,OAAQ,EAAE,KAAM,EAChB,QAAS,EAAE,AAAC,EACZ,SAAU,EAAE,KAAM,EAElB,2BAAI,EACA,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAChB,aAAc,EAAE,KAAM,EAK9B,sCAAkB,EACd,MAAO,EAAE,GAAI,EACb,wCAAE,EACE,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,EAAG,EACR,KAAM,EAAE,QAAS,EACjB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,MAAO,EAAE,AAAC,EACV,SAAU,EAAE,GAAI,EJ/a1B,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EI6awB,GAAI,EAErB,6CAAO,EACH,GAAI,EAAE,AAAC,EAEX,6CAAO,EACH,IAAK,EAAE,AAAC,EAEZ,8CAAQ,EJxblB,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EIsb4B,EAAG,EAQpC,qBAAY,EACR,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,KAAM,EAEhB,8BAAW,EACP,KAAM,EAAE,IAAK,EAGjB,wBAAG,EACC,IAAK,EAAE,KAAM,EAEjB,wBAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,UAAW,EACnB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,AAAC,EACZ,SAAU,EAAE,KAAM,EAClB,4BAAI,EACA,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAChB,aAAc,EAAE,KAAM,EAG9B,wCAAmB,EACf,OAAQ,EAAE,OAAQ,EAClB,SAAU,EAAE,gFAA8D,EAC1E,UAAW,EAAE,KAAM,EACnB,kDAAU,EACN,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,EAAG,EACT,QAAS,EAAE,GAAI,EAEf,uDAAO,EACH,EAAG,EAAE,GAAI,EAET,KAAM,EAAE,UAAW,EAEvB,uDAAO,EACH,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,SAAU,EAI9B,iCAAY,EACR,QAAS,EAAE,GAAI,EACf,uCAAQ,EACJ,cAAe,EAAE,QAAS,EAOlC,4BAAG,EACC,IAAK,EAAE,KAAM,EAEjB,4BAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,UAAW,EACnB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEb,uCAAa,EACT,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEjB,uCAAa,EACT,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEjB,gCAAI,EACA,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAKxB,uBAAc,EACV,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,UAAW,EAEnB,oCAAa,EACT,KAAM,EAAE,KAAM,EACd,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,aAAc,EACtB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAGtB,oCAAa,EACT,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,KAAM,EACf,EAAG,EAAE,AAAC,EACN,IAAK,EAAE,AAAC,EACR,QAAS,EAAE,GAAI,EAEf,uCAAG,EACC,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,OAAQ,EACjB,UAAW,EAAE,aAAc,EAE3B,mDAAc,EACV,UAAW,EAAE,GAAI,EAGrB,6CAAQ,EACJ,cAAe,EAAE,QAAS,EAG9B,yCAAE,EACE,IAAK,EAAE,GAAI,EClkB3B,SAAE,EACM,IAAK,EAAE,GAAI,EACX,WAAC,EACG,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,IAAK,EACd,OAAQ,EAAE,KAAM,EAChB,eAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAKhC,MAAO,EACH,MAAO,EAAE,IAAK,EACd,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,AAAC,EACV,SAAU,EAAE,GAAI,ELNd,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EKIY,EAAG,EACpB,OAAQ,EAAE,KAAM,EAChB,iBAAkB,EAAE,WAAY,EAChC,SAAU,EAAE,WAAY,EAG5B,OAAQ,EACJ,MAAO,EAAE,IAAK,EACd,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,UAAW,EAAE,AAAC,EACd,OAAQ,EAAE,KAAM,EAChB,YAAa,EAAE,OAAQ,EACvB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,OAAQ,EACpB,UAAW,EAAE,KAAM,EAOnB,wBAAc,EACV,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,OAAQ,EAClB,0BAAC,EACG,MAAO,EAAE,IAAK,EACd,8BAAG,EAAC,MAAO,EAAE,IAAK,EAAC,IAAK,EAAE,GAAI,EAAC,KAAM,EAAE,GAAI,EAE/C,kCAAS,EACL,YAAa,EAAC,EAAG,EAErB,iCAAQ,EACJ,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,KAAM,EAChB,+CAAa,EACT,YAAa,EAAE,EAAG,EAGtB,+CAAa,EACT,MAAO,EAAE,KAAM,EACf,eAAgB,EAAE,MAAO,EACzB,OAAQ,EAAE,KAAM,EAChB,iDAAC,EACG,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,EAAG,EACV,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,KAAM,EAI5B,oCAAW,EACP,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,KAAM,EAChB,UAAW,EAAE,EAAG,EAChB,uCAAE,EACC,SAAU,EAAE,EAAG,EAGtB,mCAAU,EACN,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,KAAM,EAChB,SAAU,EAAE,GAAI,EAChB,sCAAE,EACE,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,EAAG,EAChB,SAAU,EAAE,EAAG,EAGvB,sCAAa,EACT,OAAQ,EAAE,KAAM,EAChB,UAAW,EAAC,IAAK,EACjB,yCAAE,EACE,IAAK,EAAE,GAAI,EACX,UAAW,EAAC,GAAI,EAIxB,iCAAQ,EACA,IAAK,EAAE,IAAK,EACZ,wIAAgC,EAChC,YAAa,EAAC,GAAI,EAClB,KAAM,EAAE,GAAI,EAEhB,4CAAU,EACN,YAAa,EAAC,EAAG,EAErB,+CAAa,EACT,KAAM,EAAE,IAAK,EACb,iDAAC,EACG,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EAI3B,oCAAW,EACP,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,yCAAI,EACA,KAAM,EAAE,IAAK,EAGrB,mCAAU,EACN,IAAK,EAAE,IAAK,EACZ,wCAAI,EACA,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAIjB,2CAAI,EACA,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAUzB,6CAAQ,EACJ,IAAK,EAAE,IAAK,EACZ,4KAAgC,EAC5B,YAAa,EAAC,EAAG,EACjB,KAAM,EAAE,GAAI,EAEhB,wDAAU,EACN,YAAa,EAAC,EAAG,EAErB,2DAAa,EACT,KAAM,EAAE,IAAK,EACb,6DAAC,EACG,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,mEAAO,EACH,cAAe,EAAE,QAAS,EAK1C,gDAAW,EACP,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,qDAAI,EACA,KAAM,EAAE,IAAK,EAGrB,+CAAU,EACN,IAAK,EAAE,IAAK,EACZ,oDAAI,EACA,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAIjB,uDAAI,EACA,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EASrB,oBAAU,EACN,OAAQ,EAAE,KAAM,EAChB,UAAW,EAAC,GAAI,EAChB,uBAAE,EACE,UAAW,EAAC,EAAG,EACf,YAAa,EAAC,EAAG,EAKrB,qBAAC,EACG,MAAO,EAAE,IAAK,EACd,yBAAG,EAAC,MAAO,EAAE,IAAK,EAAC,IAAK,EAAE,GAAI,EAAC,KAAM,EAAE,GAAI,EAE/C,qBAAC,EACG,KAAM,EAAE,IAAK,EAGrB,0BAAgB,EACZ,WAAY,EAAC,IAAK,EAClB,IAAK,EAAE,MAAO,EACd,UAAW,EAAE,AAAC,EACd,qCAAU,EACN,YAAa,EAAC,EAAG,EAErB,4CAAiB,EACb,SAAU,EAAE,KAAM,EAKtB,yBAAI,EACA,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEjB,wDAAa,EACT,IAAK,EAAE,IAAK,EAIhB,qCAAU,EACN,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,sDAAgB,EACZ,KAAM,EAAE,IAAK,EAIzB,mBAAS,EACL,SAAU,EAAC,GAAI,EACf,qBAAC,EACG,KAAM,EAAE,IAAK,EAQjB,qCAAI,EACA,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEjB,gFAAa,EACT,IAAK,EAAE,IAAK,EAIhB,iDAAU,EACN,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,kEAAgB,EACZ,KAAM,EAAE,IAAK,EAWrB,oCAAe,EACX,UAAW,EAAE,IAAK,EAClB,uCAAE,EACE,UAAW,EAAE,GAAI,EAErB,sCAAC,EACG,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,AAAC,EACT,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,MAAO,EACnB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,GAAI,EAEnB,0CAAK,EACD,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,GAAI,EACT,IAAK,EAAE,GAAI,EACX,eAAgB,EAAE,MAAc,EAChC,IAAK,EAAE,GAAI,EACX,YAAa,EAAE,GAAI,EACnB,MAAO,EAAE,AAAC,EAEd,mDAAc,EACV,OAAQ,EAAE,OAAQ,EAEtB,qDAAgB,EACZ,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,KAAM,EAClB,SAAU,EAAE,GAAI,EAChB,UAAW,EAAE,GAAI,EAErB,sDAAiB,EACb,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,QAAS,EACjB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,2DAAI,EACA,MAAO,EAAE,WAAY,EACrB,QAAS,EAAE,GAAI,EAI3B,sCAAiB,EACb,UAAW,EAAE,GAAI,EACjB,wCAAC,EACE,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,EAAG,EAChB,MAAO,EAAE,IAAK,EACd,4CAAG,EACF,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAInB,6BAAQ,EACL,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,+BAAC,EACG,MAAO,EAAE,IAAK,EACd,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,UAAW,EACnB,eAAgB,EAAE,GAAI,EACtB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAQlB,sCAAC,EACG,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,IAAK,EAEhB,mDAAc,EACV,KAAM,EAAE,IAAK,EAEjB,0CAAK,EACD,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EAInB,wCAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EASpB,kDAAC,EACG,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,IAAK,EAEhB,+DAAc,EACV,KAAM,EAAE,IAAK,EAEjB,sDAAK,EACD,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EAInB,oDAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EAUxB,0BAAgB,EACZ,OAAQ,EAAE,KAAM,EAEhB,OAAQ,EAAE,OAAQ,EAClB,4BAAC,EACG,MAAO,EAAE,IAAK,EAEd,OAAQ,EAAE,OAAQ,EADlB,gCAAG,EAAC,MAAO,EAAE,IAAK,EAAC,IAAK,EAAE,GAAI,EAAC,KAAM,EAAE,GAAI,EAG/C,6BAAE,EACE,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,GAAI,EAEd,6BAAE,EACE,OAAQ,EAAE,OAAQ,EAClB,UAAW,EAAE,aAAc,EAC3B,+BAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAIrB,kCAAO,ELjaT,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EK+ZoB,EAAG,EACpB,wCAAO,ELnab,KAAM,EAAE,iDAAoF,EAGhG,MAAO,EKiawB,AAAC,EAK9B,0BAAgB,EACZ,KAAM,EAAE,IAAK,EAET,+BAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAOzB,sCAAgB,EACZ,KAAM,EAAE,IAAK,EAET,2CAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EASrB,wBAAU,EACN,YAAa,EAAE,cAAc,EAC7B,KAAM,EAAE,eAAe,EAE3B,wBAAU,EACN,KAAM,EAAE,cAAc,EAGtB,6BAAC,EACG,KAAM,EAAE,cAAc,EACtB,UAAW,EAAE,cAAc,EAC3B,QAAS,EAAE,cAAc,EAIrC,gBAAW,EACP,SAAU,EAAC,cAAc,EAKzB,uEAAU,EACN,IAAK,EAAE,eAAe,EACtB,KAAM,EAAE,eAAe,EACvB,yGAAgB,EACZ,KAAM,EAAE,eAAe,EAS3B,oCAAU,EACN,YAAa,EAAE,aAAa,EAC5B,KAAM,EAAE,eAAe,EAE3B,oCAAU,EACN,YAAa,EAAC,aAAa,EAC3B,KAAM,EAAE,cAAc,EAG9B,4BAAW,EACP,SAAU,EAAC,cAAc,EAKzB,+FAAU,EACN,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,iIAAgB,EACZ,KAAM,EAAE,IAAK,EAU7B,mBAAY,EACR,KAAM,EAAE,QAAS,EACjB,OAAQ,EAAE,OAAQ,EAClB,qBAAC,EACG,MAAO,EAAE,IAAK,EACd,yBAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,IAAK,EAGtB,sBAAE,EACE,IAAK,EAAE,GAAI,EACX,wBAAC,EACG,MAAO,EAAE,IAAK,EACd,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,MAAO,EACd,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,EAAG,EACR,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,IAAK,EACjB,MAAO,EAAE,AAAC,EAEd,8BAAO,EL1hBb,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EKwhBwB,EAAG,EAExB,oCAAe,EL7hBrB,KAAM,EAAE,iDAAoF,EAGhG,MAAO,EK2hBwB,AAAC,EAG1B,mCAAe,EACX,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,gDAAY,EACR,MAAO,EAAE,IAAK,EACd,kDAAC,EACG,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAKxB,kCAAc,EACV,OAAQ,EAAE,OAAQ,EAClB,YAAa,EAAE,gBAAiB,EAChC,4CAAS,EACL,eAAgB,EAAE,MAAO,EACzB,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,EAAG,EACX,MAAO,EAAE,GAAI,EACb,8CAAC,EACG,IAAK,EAAE,AAAC,EACR,KAAM,EAAE,AAAC,EACT,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,EAAG,EACT,UAAW,EAAE,oBAAqB,EAClC,WAAY,EAAE,oBAAqB,EACnC,YAAa,EAAE,gBAAiB,EAChC,EAAG,EAAE,GAAI,EACT,UAAW,EAAE,GAAI,EAMjC,oBAAa,EACT,KAAM,EAAE,aAAc,EACtB,WAAY,EAAE,GAAI,EAClB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,EAAG,EACR,MAAO,EAAE,EAAG,EACZ,eAAgB,EAAE,GAAI,EACtB,yBAAI,EACA,MAAO,EAAE,WAAY,EACrB,WAAY,EAAE,GAAI,EAEtB,sBAAC,EACG,MAAO,EAAE,WAAY,EACrB,MAAO,EAAE,IAAK,EACd,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,MAAO,EAKvB,oBAAa,EACT,OAAQ,EAAE,IAAK,EACf,EAAG,EAAE,AAAC,EACN,MAAO,EAAE,EAAG,EACZ,SAAU,EAAC,WAAW,EAGtB,sBAAE,EACE,SAAU,EAAE,cAAe,EAC3B,MAAO,EAAE,KAAM,EACf,OAAQ,EAAE,OAAQ,EAEtB,sBAAE,EACE,IAAK,EAAE,IAAK,EACZ,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAClB,EAAG,EAAE,EAAG,EACR,SAAU,EAAE,GAAI,EAChB,OAAQ,EAAE,OAAQ,EAEtB,sBAAE,EACE,UAAW,EAAE,IAAK,EAClB,yBAAE,EACE,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EAEhB,wBAAC,EACG,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,OAAQ,EAAE,OAAQ,EAClB,8BAAO,EACH,cAAe,EAAC,QAAS,EAGjC,qCAAc,EACV,MAAO,EAAE,KAAM,EACf,OAAQ,EAAE,OAAQ,EAEtB,2BAAI,EACA,UAAW,EAAE,GAAI,EACjB,IAAK,EAAC,GAAI,EAEd,wBAAE,EACM,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,GAAI,EACT,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,gBAAiB,EAAE,SAAU,EAM7C,eAAQ,EACA,WAAY,EAAE,GAAI,EAClB,QAAS,EAAE,GAAI,EACf,oBAAI,EACA,KAAM,EAAE,IAAK,EAGrB,uBAAgB,EACZ,IAAK,EAAE,KAAM,EAGjB,mBAAY,EACR,KAAM,EAAE,IAAK,EACb,sBAAE,EACE,UAAW,EAAE,IAAK,EAEvB,sBAAE,EACG,UAAW,EAAE,GAAI,EACjB,wBAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,OAAQ,EAG1B,mCAAe,EACX,IAAK,EAAE,KAAM,EACb,EAAG,EAAE,IAAK,EACV,gDAAY,EACR,UAAW,EAAE,IAAK,EAClB,MAAO,EAAE,IAAK,EACd,kDAAC,EACG,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAI7B,kCAAc,EACV,KAAM,EAAE,GAAI,EACZ,4CAAS,EACL,KAAM,EAAE,EAAG,EACX,IAAK,EAAE,IAAK,EAMpB,qBAAE,EACE,UAAW,EAAE,IAAK,EAEtB,qBAAE,EACE,UAAW,EAAE,GAAI,EACjB,YAAa,EAAC,GAAI,EAClB,uBAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAMrB,sBAAE,EACE,UAAW,EAAE,IAAK,EAEtB,sBAAE,EACE,UAAW,EAAE,GAAI,EACjB,YAAa,EAAC,GAAI,EAClB,wBAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAIrB,sCAAkB,EACd,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,KAAM,EAAE,AAAC,EACT,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,wCAAC,EACG,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,AAAC,EACV,EAAG,EAAE,AAAC,EACN,GAAI,EAAE,AAAC,EACP,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EAKnB,gBAAE,EACE,UAAW,EAAE,IAAK,EAEtB,gBAAE,EACE,UAAW,EAAE,GAAI,EACjB,YAAa,EAAC,GAAI,EAClB,kBAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAGrB,yBAAW,EACP,MAAO,EAAE,IAAK,EACd,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,EAAG,EACT,EAAG,EAAE,EAAG,EACR,UAAW,EAAE,IAAK,EAClB,SAAU,EAAE,IAAK,EACjB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,eAAgB,EAAE,6CAA2B,EAEjD,0BAAY,EACR,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,KAAM,EAAE,AAAC,EACT,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,4BAAC,EACG,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,AAAC,EACV,EAAG,EAAE,AAAC,EACN,GAAI,EAAE,AAAC,EACP,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EAIvB,YAAK,EACA,YAAa,EAAE,GAAI,EACpB,sBAAS,EACL,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,uCAAiB,EACb,KAAM,EAAE,IAAK,EACb,4CAAI,EACA,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,IAAK,EAGZ,gEAAmB,EACf,MAAO,EAAE,GAAI,EAIzB,kCAAW,EACP,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,KAAM,EAAE,AAAC,EACT,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,oCAAC,EACG,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,GAAI,EACV,MAAO,EAAE,AAAC,EACV,KAAM,EAAE,GAAI,EACZ,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EAGnB,wCAAiB,EACb,IAAK,EAAE,AAAC,EACR,GAAI,EAAE,MAAO,EACb,KAAM,EAAE,AAAC,EACT,qDAAY,EL30B1B,KAAM,EAAE,iDAAoF,EAGhG,MAAO,EKy0BgC,AAAC,EAClB,SAAU,EAAC,GAAI,EAI3B,sBAAS,EACL,IAAK,EAAE,IAAK,EACZ,MAAO,EAAE,QAAS,EAClB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,aAAc,EACtB,OAAQ,EAAE,GAAI,EACd,yBAAE,EACE,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,IAAK,EACd,SAAU,EAAE,GAAI,EAChB,UAAW,EAAE,GAAI,EAErB,wBAAC,EAEG,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,MAAO,EACf,IAAK,EAAE,MAAO,EACd,MAAO,EAAE,IAAK,EACd,8BAAQ,EACN,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAChB,WAAY,EAAE,GAAI,EAClB,iBAAkB,EAAE,WAAY,EACxB,SAAU,EAAE,WAAY,EAGtC,wBAAC,EACG,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,GAAI,EACT,GAAI,EAAE,IAAK,EACX,QAAS,EAAE,GAAI,EAGvB,sBAAS,EACL,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAIjB,cAAE,EACE,UAAW,EAAE,IAAK,EAEtB,cAAE,EACE,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,GAAI,EACnB,gBAAC,EACG,IAAK,EAAE,IAAK,EACZ,oBAAG,EACC,KAAM,EAAE,IAAK,EAGrB,oBAAK,EACD,QAAS,EAAE,GAAI,EAEnB,mBAAI,EACA,QAAS,EAAE,GAAI,EAI3B,oBAAa,EACT,KAAM,EAAE,QAAS,EACjB,iCAAY,EACR,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,KAAM,EACf,IAAK,EAAE,EAAG,EAGd,iCAAY,EACR,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,MAAO,EAAE,IAAK,EACd,qCAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAGpB,gCAAW,EACP,IAAK,EAAE,IAAK,EACZ,MAAO,EAAE,KAAM,EACf,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,GAAI,EACX,mCAAE,EACE,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,AAAC,EACd,OAAQ,EAAE,KAAM,EAChB,YAAa,EAAE,OAAQ,EACvB,UAAW,EAAE,KAAM,EAEvB,4CAAW,EACP,MAAO,EAAE,KAAM,EACf,KAAM,EAAE,GAAI,EACZ,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,OAAQ,EAAE,KAAM,EAChB,YAAa,EAAE,OAAQ,EACvB,QAAS,EAAE,SAAU,EAKrC,kBAAW,EACP,SAAU,EAAE,GAAI,EAChB,YAAa,EAAE,GAAI,EACnB,SAAU,EAAE,KAAM,EAClB,oBAAE,EACE,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,IAAK,EACd,UAAW,EAAE,GAAI,EACjB,MAAO,EAAE,WAAY,EACrB,SAAU,EAAE,KAAM,EAClB,WAAY,EAAE,EAAG,EACjB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,sBAAC,EACG,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,GAAI,EACT,QAAS,EAAE,GAAI,EACf,gBAAiB,EAAE,SAAU,EAGrC,wBAAM,EACF,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,GAAI,EAMnB,2BAAQ,EACA,UAAW,EAAE,GAAI,EACjB,WAAY,EAAE,GAAI,EAClB,QAAS,EAAE,GAAI,EACf,gCAAI,EACA,KAAM,EAAE,IAAK,EAGrB,mCAAgB,EACZ,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,IAAK,EAGZ,kCAAE,EACE,UAAW,EAAE,GAAI,EAErB,kCAAE,EACE,UAAW,EAAE,EAAG,EAChB,oCAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAGrB,+CAAe,EACX,IAAK,EAAE,IAAK,EACZ,EAAG,EAAE,IAAK,EACV,4DAAY,EACR,UAAW,EAAE,IAAK,EAClB,MAAO,EAAE,IAAK,EACd,8DAAC,EACG,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAI7B,8CAAc,EACV,KAAM,EAAE,GAAI,EACZ,wDAAS,EACL,KAAM,EAAE,EAAG,EACX,IAAK,EAAE,IAAK,EAOpB,iCAAE,EACE,UAAW,EAAE,IAAK,EAEtB,iCAAE,EACE,UAAW,EAAE,GAAI,EACjB,YAAa,EAAC,GAAI,EAClB,mCAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAMrB,kCAAE,EACE,UAAW,EAAE,IAAK,EAEtB,kCAAE,EACE,UAAW,EAAE,GAAI,EACjB,YAAa,EAAC,GAAI,EAClB,oCAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAIrB,kDAAkB,EACd,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,KAAM,EAAE,AAAC,EACT,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,oDAAC,EACG,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,AAAC,EACV,EAAG,EAAE,AAAC,EACN,GAAI,EAAE,AAAC,EACP,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EAKnB,4BAAE,EACE,UAAW,EAAE,IAAK,EAEtB,4BAAE,EACE,UAAW,EAAE,GAAI,EACjB,YAAa,EAAC,GAAI,EAClB,8BAAC,EACG,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAGrB,qCAAW,EACP,MAAO,EAAE,IAAK,EACd,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,EAAG,EACT,EAAG,EAAE,EAAG,EACR,UAAW,EAAE,IAAK,EAClB,SAAU,EAAE,IAAK,EACjB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,eAAgB,EAAE,6CAA2B,EAEjD,sCAAY,EACR,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,KAAM,EAAE,AAAC,EACT,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,wCAAC,EACG,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,AAAC,EACV,EAAG,EAAE,AAAC,EACN,GAAI,EAAE,AAAC,EACP,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EAKnB,kCAAS,EACL,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,mDAAiB,EACb,KAAM,EAAE,IAAK,EACb,uDAAG,EACC,KAAM,EAAE,IAAK,EAMzB,kCAAS,EACL,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAIrB,uBAAI,EACA,YAAa,EAAE,GAAI,EACnB,0BAAE,EACE,UAAW,EAAE,IAAK,EAEtB,0BAAE,EACE,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,GAAI,EACnB,4BAAC,EACG,IAAK,EAAE,IAAK,EACZ,gCAAG,EACC,KAAM,EAAE,IAAK,EAGrB,gCAAK,EACD,QAAS,EAAE,GAAI,EAEnB,+BAAI,EACA,QAAS,EAAE,GAAI,EAMvB,6CAAY,EACR,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEjB,4CAAW,EACP,IAAK,EAAE,IAAK,EACZ,wDAAW,EACP,KAAM,EAAE,GAAI,EAMhC,YAAa,EACT,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,EAAG,EACZ,EAAG,EAAE,IAAK,EACV,GAAI,EAAE,GAAI,EACV,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,SAAU,EAAE,wEAAyE,EACrF,UAAW,EAAE,KAAM,EACnB,2BAAc,EACV,MAAO,EAAE,kBAAmB,EAC5B,kCAAM,EACF,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,aAAc,EAC7B,aAAc,EAAE,EAAG,EAEvB,iCAAK,EACD,KAAM,EAAE,UAAW,EACnB,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,KAAM,EAChB,qCAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,UAAW,EACnB,IAAK,EAAE,GAAI,EAEf,wCAAM,EACF,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EAGzB,qCAAS,EACL,QAAS,EAAE,GAAI,EACf,WAAY,EAAE,IAAK,EACnB,yCAAG,EACC,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,YAAa,EAKrC,kBAAmB,EACf,SAAU,EAAE,iFAAkF,EAC9F,GAAI,EAAE,KAAM,EACZ,EAAG,EAAE,IAAK,EACV,iCAAc,EACV,MAAO,EAAE,kBAAmB,ECntChC,oCAAiB,EACb,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,SAAU,EACnB,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,KAAa,EAEpB,+CAAW,EACP,IAAK,EAAE,IAAK,EAQpB,gDAAiB,EACb,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,KAAY,EAEnB,2DAAW,EACP,IAAK,EAAE,IAAK,EAEZ,4EAAiB,EACb,KAAM,EAAE,IAAK,EAIrB,iEAAiB,EACb,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAIrB,gEAAiC,EAC7B,QAAS,EAAE,IAAK,EC1CpB,4BAAW,EACP,IAAK,EAAE,IAAK,EAEZ,4CAAgB,EACZ,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,YAAa,EAAE,gBAAiB,EAChC,aAAc,EAAE,GAAI,EACpB,YAAa,EAAE,GAAI,EAEnB,+CAAG,EACC,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,OAAQ,EAAE,OAAQ,EAElB,oDAAK,EACD,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,EAAG,EAKrB,iEAAG,EACC,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,OAAQ,EAAE,OAAQ,EAClB,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,MAAO,EAEf,sEAAK,EACD,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,EAAG,EAEjB,oFAAgB,EACZ,MAAO,EAAE,WAAY,EACrB,WAAY,EAAE,AAAC,EACf,IAAK,EAAE,AAAC,EACR,KAAM,EAAE,AAAC,EACT,SAAU,EAAE,aAAc,EAC1B,UAAW,EAAE,aAAc,EAC3B,YAAa,EAAE,aAAc,EAC7B,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,EAAG,EACR,SAAU,EAAE,GAAI,EAChB,GAAI,EAAE,AAAC,ET2SjC,cAAwC,EU/KR,kBAC8D,EV8K9F,YAAwC,EU/KR,gBAC8D,EV8K9F,iBAAwC,EUlLL,qBACoD,EAenF,SAAU,EAbkB,aAC8D,EDpHpE,2FAAgB,ETkS1C,aAAwC,EWpChC,YAAe,EXoCvB,YAAwC,EWpChC,YAAe,EXoCvB,gBAAwC,EWpChC,YAAe,EXoCvB,QAAwC,EWpChC,YAAe,EFnPb,+DAAmB,EACf,MAAO,EAAE,GAAI,EAEb,wEAAW,EACP,MAAO,EAAE,IAAK,EAGlB,oEAAK,EACD,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,AAAC,EAGnB,kEAAG,EACC,IAAK,EAAE,GAAI,EAEX,uEAAK,EACD,WAAY,EAAE,EAAG,EAIzB,iEAAE,EACE,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,GAAI,EAClB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAK7B,2CAAe,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,gBAAiB,EAChC,QAAS,EAAE,GAAI,EAGnB,qCAAS,EACL,MAAO,EAAE,IAAK,EAEd,mFAAQ,EACJ,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,KAAM,EAK5B,6BAAY,EACR,IAAK,EAAE,IAAK,EAGhB,+BAAc,EACV,OAAQ,EAAE,OAAQ,EAElB,yCAAU,EACN,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,EAAG,EAAE,EAAG,EACR,SAAU,EAAE,IAAK,EACjB,SAAU,EAAE,IAAK,EAGrB,uEAAQ,EACJ,MAAO,EAAE,WAAY,EACrB,KAAM,EAAE,GAAI,EACZ,WAAY,EAAE,EAAG,EACjB,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,aAAc,EACtB,MAAO,EAAE,OAAQ,EACjB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EAGnB,yCAAU,EACN,QAAS,EAAE,GAAI,EAGnB,4CAAa,EACT,WAAY,EAAE,AAAC,EACf,KAAM,EAAE,MAAO,EAGnB,sCAAO,EACH,IAAK,EAAE,GAAI,EAInB,6BAAY,EACR,YAAa,EAAE,GAAI,EAEnB,oCAAO,EACH,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,MAAO,EAAE,KAAM,EACf,KAAM,EAAE,gBAAiB,EACzB,SAAU,EAAE,KAAM,EAClB,OAAQ,EAAE,KAAM,EAGpB,mCAAM,EACF,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,GAAI,EAGpB,sCAAS,EACL,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EAGrB,mCAAM,EACF,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAChB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EAGrB,kCAAK,EACD,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAGjB,wCAAW,EACP,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,UAAW,EAEnB,0CAAE,EACE,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,cAAe,EAAE,QAAS,EAOtC,gDAAO,EACH,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,MAAO,EAAE,KAAM,EAGnB,+CAAM,EACF,SAAU,EAAE,GAAI,EAGpB,8CAAK,EACD,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EG7NjB,+BAAkB,EACd,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,OAAQ,EAElB,kCAAG,EACC,OAAQ,EAAE,KAAM,EAChB,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,AAAC,EAEV,qCAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,AAAC,EACN,GAAI,EAAE,AAAC,EAIf,mDAAoB,EAChB,MAAO,EAAE,AAAC,EACV,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,KAAM,EAElB,uDAAI,EACA,MAAO,EAAE,WAAY,EAGzB,wDAAK,EACD,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,yDAAuC,EACnD,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,KAAM,EACd,KAAM,EAAE,MAAO,EAEf,+DAAS,EACL,SAAU,EAAE,yDAAuC,EAMnE,2BAAc,EACV,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,KAAM,EACd,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,GAAI,EAEf,uCAAY,EACR,OAAQ,EAAE,OAAQ,EAGtB,kCAAO,EACH,SAAU,EAAE,GAAI,EAChB,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,EAAG,EAGnB,yCAAc,EACV,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,EAAG,EACX,GAAI,EAAE,AAAC,EACP,IAAK,EAAE,AAAC,EACR,KAAM,EAAE,EAAG,EACX,SAAU,EAAE,cAAe,EAInC,6BAAgB,EACZ,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EAGf,yBAAY,EACR,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAEhB,2BAAI,EACA,IAAK,EAAE,GAAI,EAGf,+DAAY,EACR,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,MAAO,EACnB,SAAU,EAAE,KAAM,EAClB,EAAG,EAAE,EAAG,EACR,SAAU,EAAE,IAAK,EACjB,KAAM,EAAE,MAAO,EAEf,MAAO,EAAE,EAAG,EACZ,KAAM,EAAE,gBAAiB,EAEzB,2EAAQ,EACJ,MAAO,EAAE,EAAG,EACZ,KAAM,EAAE,gBAAiB,EAIjC,8BAAK,EACD,GAAI,EAAE,AAAC,EAGX,+BAAM,EACF,IAAK,EAAE,AAAC,EAGZ,sCAAa,EACT,OAAQ,EAAE,OAAQ,EAClB,OAAQ,EAAE,KAAM,EAChB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAGrB,iCAAQ,EACJ,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAGhB,oCAAW,EACP,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EAEjB,sCAAE,EACE,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,aAAc,EAAE,KAAM,EACtB,SAAU,EAAE,KAAM,EAGtB,wCAAI,EACA,aAAc,EAAE,KAAM,EACtB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAChB,KAAM,EAAE,GAAI,EAKxB,8BAAiB,EACb,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,QAAS,EACjB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,KAAM,EAAE,aAAc,EAEtB,oCAAM,EACF,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,GAAI,EACV,EAAG,EAAE,GAAI,EACT,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,KAAM,EAClB,SAAU,EAAE,sDAAoC,EAGpD,qCAAO,EACH,IAAK,EAAE,IAAK,EACZ,WAAY,EAAE,GAAI,EAK9B,kDAAoD,EAChD,IAAK,EAAE,IAAK,ECjMhB,UAAY,EACR,KAAM,EAAE,gBAAiB,EAEzB,mBAAS,EACL,MAAO,EAAE,QAAS,EAClB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,gBAAiB,EAE7B,+BAAc,EACV,SAAU,EAAE,GAAI,EAChB,SAAU,EAAE,MAAO,EACnB,MAAO,EAAE,OAAQ,EAIzB,iBAAO,EACH,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EAGrB,wBAAc,EACV,UAAW,EAAE,GAAI,EAGrB,wBAAc,EACV,MAAO,EAAE,WAAY,EACrB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,aAAc,EACtB,SAAU,EAAE,KAAM,EAClB,KAAM,EAAE,MAAO,EAGnB,gBAAM,EACF,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,KAAM,EACf,WAAY,EAAE,GAAI,EAClB,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,MAAO,EAcf,eAAgB,EAAE,GAAI,EAZtB,4BAAc,EACV,UAAW,EAAE,AAAC,EAGlB,wBAAU,EACN,IAAK,EAAE,GAAI,EAEX,0BAAE,EACE,IAAK,EAAE,GAAI,EAOvB,uBAAa,EACT,WAAY,EAAE,AAAC,EAGnB,gCAAsB,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,aAAc,EACtB,MAAO,EAAE,EAAG,EACZ,cAAe,EAAE,cAAe,EAEhC,iDAAiB,EACb,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,kBAAmB,EAAE,gBAAiB,EAI9C,8BAAoB,EAChB,UAAW,EAAE,GAAI,EAEjB,qCAAO,EACH,SAAU,EAAE,EAAG,EAGnB,mCAAK,EACD,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,KAAM,EACf,KAAM,EAAE,aAAc,EACtB,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,MAAO,EAGnB,2CAAa,EACT,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,aAAc,EACtB,YAAa,EAAE,GAAI,EACnB,cAAe,EAAE,cAAe,EAGpC,6CAAe,EACX,SAAU,EAAE,EAAG,EACf,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EAGhB,qCAAO,EACH,QAAS,EAAE,GAAI,EAIvB,kCAAwB,EACpB,KAAM,EAAE,aAAc,EAItB,0BAAM,EACF,OAAQ,EAAE,OAAQ,EAKtB,gCAAc,EACV,SAAU,EAAE,MAAO,EAI3B,wBAAc,EACV,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,EAAG,EACX,GAAI,EAAE,EAAG,EACT,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,IAAK,EACb,MAAO,EAAE,AAAC,EACV,SAAU,EAAE,KAAM,EAClB,SAAU,EAAE,8DAA4C,EACxD,kBAAmB,EAAE,IAAK,EAG9B,yBAAe,EACX,IAAK,EAAE,GAAI,EAEX,mCAAU,EACN,SAAU,EAAE,gBAAiB,EAC7B,SAAU,EAAE,GAAI,EAChB,MAAO,EAAE,OAAQ,EAEjB,yCAAM,EACF,UAAW,EAAE,GAAI,EAK7B,iBAAO,EACH,OAAQ,EAAE,OAAQ,EAElB,uBAAM,EACF,SAAU,EAAE,SAAU,EACtB,IAAK,EAAE,EAAG,EACV,KAAM,EAAE,AAAC,EACT,OAAQ,EAAE,KAAM,EAChB,UAAW,EAAE,KAAM,EACnB,YAAa,EAAE,OAAQ,EAG3B,+BAAc,EACV,QAAS,EAAE,IAAK,EAGpB,4BAAW,EACP,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,EAAG,EAAE,GAAI,EAGb,6BAAY,EACR,WAAY,EAAE,GAAI,EAClB,KAAM,EAAE,MAAO,EAGnB,+BAAc,EACV,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,WAAY,EAAE,EAAG,EACjB,KAAM,EAAE,MAAO,EAEf,oCAAK,EACD,KAAM,EAAE,IAAK,EACb,eAAgB,EAAE,GAAI,EAEtB,gDAAc,EACV,UAAW,EAAE,GAAI,EAGrB,0CAAQ,EACJ,IAAK,EAAE,GAAI,EAKvB,+BAAc,EACV,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,gBAAiB,EACzB,SAAU,EAAE,EAAG,EACf,UAAW,EAAE,GAAI,EAEjB,qCAAM,EACF,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,AAAC,EAGd,oCAAK,EACD,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,WAAY,EACrB,EAAG,EAAE,GAAI,EACT,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,MAAO,EACnB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,KAAM,EAClB,KAAM,EAAE,MAAO,EAIvB,6BAAY,EACR,MAAO,EAAE,QAAS,EAClB,SAAU,EAAE,MAAO,EACnB,SAAU,EAAE,EAAG,EACf,UAAW,EAAE,GAAI,EAEjB,wCAAW,EACP,OAAQ,EAAE,GAAI,EACd,SAAU,EAAE,GAAI,EAChB,SAAU,EAAE,IAAK,EAK7B,gBAAM,EACF,MAAO,EAAE,GAAI,EACb,SAAU,EAAE,GAAI,EAChB,SAAU,EAAE,KAAM,EAGtB,uBAAa,EACT,MAAO,EAAE,IAAK,EAGlB,4DAAuC,EACnC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,WAAY,EAAE,GAAI,EAClB,KAAM,EAAE,MAAO,EACf,MAAO,EAAE,GAAI,EAEb,oEAAM,EACF,SAAU,EAAE,GAAI,EAIxB,0BAAgB,EACZ,SAAU,EAAE,EAAG,EAGnB,iBAAO,EACH,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,aAAc,EACtB,MAAO,EAAE,AAAC,EAGd,qBAAW,EACP,KAAM,EAAE,IAAK,EAGjB,sBAAY,EACR,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,MAAO,EAAE,GAAI,EACb,KAAM,EAAE,GAAI,EACZ,QAAS,EAAE,GAAI,EACf,KAAM,EAAE,MAAO,EAGnB,uBAAa,EACT,MAAO,EAAE,WAAY,EACrB,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,aAAc,EACtB,YAAa,EAAE,GAAI,EACnB,WAAY,EAAE,EAAG,EACjB,cAAe,EAAE,cAAe,EAChC,gBAAiB,EAAE,mBAAoB,EAG3C,kBAAQ,EACJ,aAAc,EAAE,EAAG,EAEnB,gCAAc,EACV,OAAQ,EAAE,OAAQ,EAI1B,4BAAkB,EACd,OAAQ,EAAE,OAAQ,EAGtB,kFACgC,EAC5B,UAAW,EAAE,GAAI,EAEjB,sGAAY,EACR,SAAU,EAAE,KAAM,EAGtB,kHAAgB,EACZ,SAAU,EAAE,MAAO,EAI3B,sBAAY,EACR,SAAU,EAAE,SAAU,EACtB,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,eAAgB,EACzB,GAAI,EAAE,IAAK,EACX,IAAK,EAAE,IAAK,EACZ,EAAG,EAAE,GAAI,EACT,SAAU,EAAE,GAAI,EAChB,KAAM,EAAE,gBAAiB,EACzB,SAAU,EAAE,AAAC,EACb,MAAO,EAAE,AAAC,EAEV,yBAAG,EACC,QAAS,EAAE,IAAK,EAGpB,0CAAsB,EAClB,MAAO,EAAE,GAAI,EAGjB,oCAAc,EACV,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,GAAI,EACT,IAAK,EAAE,GAAI,EAInB,0BAAgB,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,gBAAiB,EAGjC,0BAAgB,EACZ,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,EAAG,EACX,MAAO,EAAE,AAAC,EACV,UAAW,EAAE,IAAK,EAClB,SAAU,EAAE,KAAM,EAClB,SAAU,EAAE,8DAA4C,EACxD,kBAAmB,EAAE,IAAK,EAG9B,oBAAU,EACN,MAAO,EAAE,GAAI,EACb,IAAK,EAAE,GAAI,EAGf,2BAAiB,EACb,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,WAAY,EAAE,EAAG,EAIzB,mCAAqC,EACjC,IAAK,EAAE,EAAG,ECzYd,UAAY,EACR,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,MAAO,EACnB,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,KAAM,EAEd,yCACQ,EACJ,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,MAAO,EAAE,KAAM,EAEf,6DAAU,EACN,QAAS,EAAE,GAAI,EAGnB,kHACU,EACN,IAAK,EAAE,GAAI,EAInB,sBAAY,EACR,IAAK,EAAE,IAAK,EACZ,MAAO,EAAE,KAAM,EAGnB,sBAAY,EACR,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EAEjB,2BAAO,EACH,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,MAAO,EAAE,EAAG,EACZ,KAAM,EAAE,aAAc,EACtB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,MAAO,EACf,WAAY,EAAE,GAAI,EAClB,SAAU,EAAE,GAAI,EAGpB,gCAAU,EACN,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EAGhB,yBAAK,EACD,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,GAAI,EACb,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,aAAc,EAC3B,WAAY,EAAE,aAAc,EAC5B,SAAU,EAAE,GAAI,EAChB,MAAO,EAAE,AAAC,EAGd,yBAAG,EACC,MAAO,EAAE,IAAK,EACd,YAAa,EAAE,aAAc,EAE7B,+BAAQ,EACJ,SAAU,EAAE,MAAO,EACnB,IAAK,EAAE,GAAI,EAInB,wBAAE,EACE,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EAInB,uBAAa,EACT,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,KAAM,EAEd,iCAAU,EACN,IAAK,EAAE,MAAO,EAGlB,yBAAE,EACE,IAAK,EAAE,GAAI,ECtFvB,SAAW,EACP,YAAa,EAAE,GAAI,EACnB,IAAK,EAAE,IAAK,EACZ,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,GAAI,EAGX,0BAAiB,EACb,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,OAAQ,EAElB,2EAAsB,EAClB,MAAO,EAAE,IAAK,EACd,OAAQ,EAAE,KAAM,EAChB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAEhB,mCAAS,EACL,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,MAAO,EACnB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAClB,KAAM,EAAE,AAAC,EAKjB,2BAAkB,EACd,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAChB,OAAQ,EAAE,KAAM,EAEhB,6BAAI,EACA,SAAU,EAAE,GAAI,EAChB,UAAW,EAAE,EAAG,EAChB,MAAO,EAAE,IAAK,ECpCT,UAAW,EAAE,KAAM,EAClC,OAAQ,EAAE,KAAM,ECkB2C,gBAAgB,EDjBtC,OAAQ,ECkBe,eAAe,EDlBtC,OAAQ,ECmBkB,YAAY,EDnBtC,OAAQ,EDsCvC,kCAAS,EACL,SAAU,EAAE,EAAG,EAIf,oCAAE,EACE,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,EAAG,EAIxB,yCAAc,EACV,cAAe,EAAE,WAAY,EAC7B,IAAK,EAAE,GAAI,EAInB,kBAAS,EACL,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,GAAI,EACT,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,MAAO,EAAE,GAAI,EAEb,wBAAQ,EACJ,IAAK,EAAE,MAAO,EAItB,wBAAe,EACX,QAAS,EAAE,GAAI,EACf,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAEjB,kCAAU,EACN,MAAO,EAAE,IAAK,EACd,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,EAAG,EAEjB,sDAAsB,EAClB,WAAY,EAAE,AAAC,EASf,0CAAU,EACN,IAAK,EAPsC,GAAI,EAQ/C,SAAU,EARuC,MAAO,EAM5D,4CAAU,EACN,IAAK,EANO,GAAI,EAOhB,SAAU,EAPQ,MAAO,EAK7B,mDAAU,EACN,IAAK,EALc,GAAI,EAMvB,SAAU,EANe,GAAO,EAIpC,0CAAU,EACN,IAAK,EAJK,GAAI,EAKd,SAAU,EALM,MAAO,EAG3B,0CAAU,EACN,IAAK,EAHK,GAAI,EAId,SAAU,EAJM,MAAO,EAE3B,2CAAU,EACN,IAAK,EAFM,GAAI,EAGf,SAAU,EAHO,MAAO,EAMhC,4CAAY,EACR,IAAK,EAAE,MAAO,EACd,KAAM,EAAE,gBAAiB,EAOzC,iBAAmB,EACf,KAAM,EAAE,gBAAiB,EACzB,WAAY,EAAE,GAAI,EAClB,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,GAAI,EACnB,OAAQ,EAAE,OAAQ,EAClB,SAAU,EAAE,GAAI,EAChB,MAAO,EAAE,GAAI,EAEb,iCAAe,EACX,IAAK,EAAE,GAAI,EAEX,0CAAS,EACL,MAAO,EAAE,IAAK,EAEd,gDAAQ,EAEJ,KAAM,EAAE,MAAO,EAK3B,oBAOC,EANG,GAAK,EACD,QAAS,EAAE,AAAC,EAEhB,CAAG,EACC,QAAS,EAAE,IAAK,GAIxB,oCAAmB,EACf,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAChB,OAAQ,EAAE,KAAM,EAChB,QAAS,EAAE,iBAAkB,EAE7B,uCAAG,EACC,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EAGrB,uCAAG,EACC,IAAK,EAAE,GAAI,EACX,YAAa,EAAE,GAAI,EAEnB,sFAAO,EACH,MAAO,EAAE,IAAK,EACd,OAAQ,EAAE,KAAM,EAChB,IAAK,EAAE,GAAI,EAKvB,4BAAW,EACP,WAAY,EAAE,GAAI,EAM1B,eAAiB,EACb,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,GAAI,EACnB,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,MAAO,EAEf,iBAAE,EACE,MAAO,EAAE,IAAK,EAEd,qBAAI,EACA,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,IAAK,EACd,OAAQ,EAAE,KAAM,EGlM5B,WAAa,EACT,OAAQ,EAAE,KAAM,EAChB,SAAU,EAAE,gBAAiB,EAC7B,QAAS,EAAE,GAAI,EAEf,cAAG,EACC,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EAGnB,kBAAO,EACH,QAAS,EAAE,IAAK,EAChB,KAAM,EAAE,IAAK,EACb,KAAM,EAAE,KAAM,EACd,OAAQ,EAAE,KAAM,EAGpB,iBAAM,EACF,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,IAAK,EAGhB,eAAI,EACA,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAGjB,iBAAM,EACF,MAAO,EAAE,IAAK,EACd,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,IAAK,EAChB,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,KAAM,EAChB,YAAa,EAAE,OAAQ,EACvB,UAAW,EAAE,KAAM,EAGvB,yBAAc,EACV,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,EAAG,EACjB,cAAe,EAAE,WAAY,EAGjC,uBAAY,EACR,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EAKrB,8BAAO,EACH,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,IAAK,EAChB,KAAM,EAAE,IAAK,EAGjB,6BAAM,EACF,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,IAAK,EAGhB,2BAAI,EACA,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,ECjEjB,4BAAgB,EACZ,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,YAAa,EAAE,gBAAiB,EAChC,aAAc,EAAE,GAAI,EACpB,YAAa,EAAE,GAAI,EAEnB,+BAAG,EACC,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,OAAQ,EAAE,OAAQ,EAElB,oCAAK,EACD,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,EAAG,EAKrB,iDAAG,EACC,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,OAAQ,EAAE,OAAQ,EAClB,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,MAAO,EAEf,sDAAK,EACD,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,EAAG,EAEjB,oEAAgB,EACZ,MAAO,EAAE,WAAY,EACrB,WAAY,EAAE,AAAC,EACf,IAAK,EAAE,AAAC,EACR,KAAM,EAAE,AAAC,EACT,SAAU,EAAE,aAAc,EAC1B,UAAW,EAAE,aAAc,EAC3B,YAAa,EAAE,aAAc,EAC7B,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,EAAG,EACR,SAAU,EAAE,GAAI,EAChB,GAAI,EAAE,AAAC,EnB8S7B,cAAwC,EU/KR,kBAC8D,EV8K9F,YAAwC,EU/KR,gBAC8D,EV8K9F,iBAAwC,EUlLL,qBACoD,EAenF,SAAU,EAbkB,aAC8D,ESvHxE,2EAAgB,EnBqStC,aAAwC,EWpChC,YAAe,EXoCvB,YAAwC,EWpChC,YAAe,EXoCvB,gBAAwC,EWpChC,YAAe,EXoCvB,QAAwC,EWpChC,YAAe,EQ5PT,wEAAmB,EACf,MAAO,EAAE,IAAK,EAK1B,+CAAmB,EACf,MAAO,EAAE,GAAI,EAEb,wDAAW,EACP,MAAO,EAAE,IAAK,EAElB,kDAAG,EACC,IAAK,EAAE,GAAI,EAEX,yDAAS,EACL,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,GAAI,EAEX,2DAAE,EACE,IAAK,EAAE,GAAI,EAInB,uDAAK,EACD,WAAY,EAAE,EAAG,EAGzB,iDAAE,EACE,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,GAAI,EAClB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAK7B,2BAAe,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,gBAAiB,EAChC,QAAS,EAAE,GAAI,EAGnB,qBAAS,EACL,MAAO,EAAE,IAAK,EAEd,mDAAQ,EACJ,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,KAAM,EChH5B,uBAAyB,EACrB,KAAM,EAAE,gBAAiB,EACzB,MAAO,EAAE,KAAM,EACf,SAAU,EAAE,KAAM,EAClB,YAAa,EAAE,GAAI,EAEnB,iCAAU,EACN,QAAS,EAAE,GAAI,EAGnB,gCAAS,EACL,IAAK,EAAE,MAAO,EAGlB,qCAAc,EACV,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,QAAS,EAEjB,2CAAM,EACF,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,OAAQ,EACjB,KAAM,EAAE,iBAAkB,EAC1B,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,GAAI,EAGjB,0CAAK,EACD,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,MAAO,EAAE,KAAM,EACf,SAAU,EAAE,MAAO,EACnB,aAAc,EAAE,KAAM,EACtB,IAAK,EAAE,GAAI,EAEf,+CAAU,EACN,QAAS,EAAE,GAAI,EAIvB,+BAAQ,EACJ,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EC9CnB,YAAc,EACV,IAAK,EAAE,KAAM,EACb,KAAM,EAAE,KAAM,EAEd,0BAAc,EACV,IAAK,EAAE,KAAM,EAEb,6BAAG,EACC,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EAEX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,KAAM,EAChB,SAAU,EAAE,GAAI,EAChB,KAAM,EAAE,QAAS,EAEjB,uCAAU,EACN,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,UAAW,EAAE,IAAK,EAElB,SAAU,EAAE,KAAM,EAClB,OAAQ,EAAE,KAAM,EAGpB,iCAAI,EACA,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAGhB,2CAAc,EACV,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,AAAC,EACN,IAAK,EAAE,AAAC,EACR,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,+FAA6E,EACzF,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,MAAO,EACd,UAAW,EAAE,GAAI,EAGrB,2CAAc,EACV,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,SAAU,EACnB,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,KAAM,EAChB,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EAEjB,8CAAG,EACC,SAAU,EAAE,GAAI,EAChB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,OAAQ,EAAE,KAAM,EAGpB,6CAAE,EACE,MAAO,EAAE,WAAY,EACrB,KAAM,EAAE,QAAS,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,AAAC,EACR,OAAQ,EAAE,KAAM,EAChB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EAEX,kDAAK,EACD,cAAe,EAAE,WAAY,EAC7B,KAAM,EAAE,SAAU,EAClB,IAAK,EAAE,GAAI,EAM3B,0KAGe,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,KAAM,EAAE,SAAU,EAClB,OAAQ,EAAE,KAAM,EAEhB,kNAAU,EACN,KAAM,EAAE,IAAK,EACb,UAAW,EAAE,IAAK,EAM9B,sBAAU,EACN,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,OAAQ,EAGrB,sBAAU,EACN,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,MAAO,EACnB,OAAQ,EAAE,KAAM,EAEhB,yBAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,MAAO,EAAE,SAAU,EAEnB,2BAAE,EACE,aAAc,EAAE,KAAM,EACtB,MAAO,EAAE,KAAM,EACf,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,aAAc,EAK/B,uCAAE,EACE,KAAM,EAAE,GAAI,EAKhB,mCAAE,EACE,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EAMvB,2BAAe,EACX,IAAK,EAAE,KAAM,EAEb,sCAAW,EAEP,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,KAAM,EAAE,YAAa,EAErB,qDAAe,EACX,MAAO,EAAE,GAAI,EAGjB,uDAAiB,EACb,KAAM,EAAE,IAAK,EACb,UAAW,EAAE,IAAK,EAClB,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,AAAC,EAEZ,2DAAI,EACA,aAAc,EAAE,KAAM,EAI9B,wDAAkB,EACd,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,KAAM,EAChB,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EAEjB,0DAAE,EACE,SAAU,EAAE,GAAI,EAChB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,OAAQ,EAAE,KAAM,EAGpB,0DAAE,EACE,MAAO,EAAE,WAAY,EACrB,KAAM,EAAE,QAAS,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,AAAC,EACR,OAAQ,EAAE,KAAM,EAChB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EAEX,sEAAY,EACR,KAAM,EAAE,SAAU,EAOtC,wBAAY,EACR,MAAO,EAAE,GAAI,EACb,OAAQ,EAAE,IAAK,EACf,EAAG,EAAE,EAAG,EACR,GAAI,EAAE,EAAG,EACT,KAAM,EAAE,UAAW,EACnB,MAAO,EAAE,AAAC,EACV,KAAM,EAAE,eAAkB,EAE1B,2BAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,aAAc,EACtB,SAAU,EAAE,GAAI,EAChB,kBAAmB,EAAE,EAAG,EACxB,SAAU,EAAE,KAAM,EAElB,6BAAE,EACE,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,SAAU,EACnB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,aAAc,EAAE,KAAM,EACtB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EAEf,kCAAK,EACD,MAAO,EAAE,WAAY,EACrB,aAAc,EAAE,KAAM,EACtB,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,AAAC,EACR,OAAQ,EAAE,KAAM,EAChB,QAAS,EAAE,SAAU,EAKjC,uCAAe,EACX,SAAU,EAAE,aAAc,EAG9B,sEAAqB,EACjB,SAAU,EAAE,GAAI,EAEhB,0EAAE,EACE,IAAK,EAAE,GAAI,EAO3B,wBAAc,EACV,IAAK,EAAE,IAAK,EAGR,yCAAG,EACC,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,mDAAU,EACN,KAAM,EAAE,IAAK,EACb,UAAW,EAAE,IAAK,EAI1B,0NAGe,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEb,kQAAU,EACN,KAAM,EAAE,IAAK,EACb,UAAW,EAAE,IAAK,EAO1B,kDAAW,EACP,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEb,mEAAiB,EACb,KAAM,EAAE,IAAK,EACb,UAAW,EAAE,IAAK,EC5RlC,UAAY,EACR,OAAQ,EAAE,OAAQ,EAClB,SAAU,EAAE,MAAO,EACnB,KAAM,EAAE,gBAAiB,EACzB,MAAO,EAAE,QAAS,EAClB,YAAa,EAAE,GAAI,EAEnB,gBAAM,EACF,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAGhB,gBAAM,EACF,UAAW,EAAE,GAAI,EAGrB,qBAAW,EACP,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EAGrB,iBAAO,EACH,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EAEjB,mBAAE,EACE,IAAK,EAAE,GAAI,EAInB,qBAAW,EACP,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,EAAG,EAAE,EAAG,EACR,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,IAAK,EACjB,SAAU,EAAE,GAAI,EAChB,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EAEf,+BAAU,EACN,QAAS,EAAE,GAAI,EAK3B,eAAiB,EACb,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,SAAU,EACnB,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,IAAY,EAEnB,0BAAW,EACP,IAAK,EAAE,IAAK,ECrDhB,2BAAe,EACX,MAAO,EAAE,KAAM,EACf,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,MAAO,EACd,SAAU,EAAE,gBAAiB,EAE7B,kCAAO,EACH,IAAK,EAAE,IAAK,EAKpB,uBAAW,EACP,IAAK,EAAE,IAAK,EAGhB,wBAAY,EACR,IAAK,EAAE,IAAK,EAKhB,kEAAiB,EACb,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,IAAY,EAEnB,wFAAW,EACP,IAAK,EAAE,IAAK,EAEZ,0HAAiB,EACb,KAAM,EAAE,IAAK,EAIrB,oGAAiB,EACb,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAIrB,kGAAiC,EAC7B,QAAS,EAAE,IAAK,EAQpB,gFAAY,EACR,IAAK,EAAE,IAAK,EAGhB,0FAAiB,EACb,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,IAAY,EAEnB,gHAAW,EACP,IAAK,EAAE,IAAK,EAEZ,kJAAiB,EACb,KAAM,EAAE,IAAK,EAIrB,4HAAiB,EACb,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAIrB,0HAAiC,EAC7B,QAAS,EAAE,IAAK,ECjFxB,UAAY,EACR,IAAK,EAAE,KAAM,EACb,KAAM,EAAE,KAAM,EAEd,qBAAW,EACP,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EAGhB,sBAAY,EACR,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,GAAI,EAGrB,8CACc,EACV,MAAO,EAAE,EAAG,EACZ,KAAM,EAAE,gBAAiB,EAI7B,yBAAe,EACX,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,aAAc,EAAE,GAAI,EACpB,YAAa,EAAE,aAAc,EAC7B,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EAErB,wBAAc,EACV,SAAU,EAAE,GAAI,EAEpB,wBAAc,EACV,SAAU,EAAE,SAAU,EACtB,KAAM,EAAE,GAAI,EACZ,YAAa,EAAE,GAAI,EACnB,mCAAa,EACT,YAAa,EAAE,AAAC,EAGxB,uBAAa,EACT,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAcZ,WAAY,EAAE,EAAG,EAbjB,4BAAK,EACD,MAAO,EAAE,IAAK,EACd,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,sBAAuB,EAAC,IAAK,EAC7B,mBAAoB,EAAC,IAAK,EAC1B,cAAe,EAAC,IAAK,EACrB,kBAAmB,EAAE,KAAM,EAC3B,gCAAI,EACA,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EAKxB,2BAAiB,EACb,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,IAAK,EAChB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,KAAM,EACnB,OAAQ,EAAE,KAAM,EAChB,YAAa,EAAE,OAAQ,EAEvB,iCAAQ,EACJ,IAAK,EAAE,MAAO,EAKtB,eAAK,EACD,SAAU,EAAE,GAAI,EAEhB,0BAAW,EACP,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,aAAc,EAAE,GAAI,EACpB,YAAa,EAAE,aAAc,EAC7B,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EAGnB,6BAAc,EACV,SAAU,EAAE,GAAI,EAChB,SAAU,EAAE,IAAK,EACjB,OAAQ,EAAE,KAAM,EAGpB,wBAAS,EACL,MAAO,EAAE,WAAY,EACrB,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,EAAG,EACZ,QAAS,EAAE,GAAI,EACf,eAAgB,EAAE,GAAI,EACtB,KAAM,EAAE,GAAI,EACZ,WAAY,EAAE,GAAI,EAClB,YAAa,EAAE,GAAI,EACnB,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,GAAI,EACjB,8BAAQ,EACJ,eAAgB,EAAE,GAAI,EAMlC,eAAK,EACD,SAAU,EAAE,GAAI,EAEhB,mBAAI,EACA,MAAO,EAAE,IAAK,EACd,SAAU,EAAE,SAAU,EACtB,YAAa,EAAE,GAAI,EACnB,IAAK,EAAE,IAAK,EACZ,uBAAI,EACA,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EAMvB,uBAAa,EACT,MAAO,EAAE,KAAM,EACf,YAAa,EAAE,aAAc,EAC7B,OAAQ,EAAE,OAAQ,EAElB,gCAAS,EACL,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAGrB,iCAAU,EACN,IAAK,EAAE,GAAI,EAGf,gCAAS,EACL,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,GAAI,EAElB,oCAAI,EACA,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EAEjB,2CAAW,EACP,KAAM,EAAE,IAAK,EAIrB,uCAAgB,EACZ,OAAQ,EAAE,OAAQ,EAClB,eAAgB,EAAE,GAAI,EACtB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,MAAO,EAAE,EAAG,EACZ,KAAM,EAAE,gBAAiB,EACzB,MAAO,EAAE,CAAE,EAGf,6BAAM,EACF,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,AAAC,EACN,GAAI,EAAE,GAAI,EACV,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,iDAA+B,EAC3C,cAAe,EAAE,QAAS,EAC1B,MAAO,EAAE,EAAG,EAGhB,iCAAU,EACN,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EAGhB,kCAAW,EACP,MAAO,EAAE,IAAK,EACd,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,GAAI,EAEhB,wCAAQ,EACJ,IAAK,EAAE,MAAO,EAItB,gCAAS,EACL,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EAGf,gCAAS,EACL,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EAGnB,+BAAQ,EACJ,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,GAAI,EAClB,QAAS,EAAE,IAAK,EAChB,UAAW,EAAE,KAAM,EACnB,OAAQ,EAAE,KAAM,EAChB,YAAa,EAAE,OAAQ,EAEvB,qCAAQ,EACJ,IAAK,EAAE,MAAO,EAItB,yEAA0B,EACtB,IAAK,EAAE,GAAI,EAGf,oEAAqB,EACjB,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,GAAI,EACZ,QAAS,EAAE,GAAI,EACf,8EAAO,EACH,GAAI,EAAE,IAAK,EACX,QAAS,EAAE,IAAK,EAChB,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,KAAM,EAEpB,8FAAe,EACX,IAAK,EAAE,AAAC,EACR,IAAK,EAAE,GAAI,EAEf,gFAAM,EACF,WAAY,EAAE,GAAI,EAClB,gGAAU,EACN,IAAK,EAAE,GAAI,EAGnB,0FAAW,EACP,KAAM,EAAE,MAAO,EAIvB,gCAAS,EACL,MAAO,EAAE,WAAY,EACrB,SAAU,EAAE,KAAM,EAClB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,MAAO,EAAE,KAAM,EACf,WAAY,EAAE,GAAI,EAClB,eAAgB,EAAE,GAAI,EACtB,IAAK,EAAE,GAAI,EACX,2CAAa,EACT,WAAY,EAAE,AAAC,EAEnB,sCAAQ,EACJ,eAAgB,EAAE,GAAI,EAKlC,iBAAO,EACH,QAAS,EAAE,GAAI,EAEf,mBAAE,EACE,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,IAAK,EACd,UAAW,EAAE,GAAI,EACjB,MAAO,EAAE,WAAY,EACrB,SAAU,EAAE,KAAM,EAClB,WAAY,EAAE,EAAG,EACjB,IAAK,EAAE,GAAI,EAEX,uBAAM,EACF,eAAgB,EAAE,GAAI,EACtB,IAAK,EAAE,GAAI,EC/RvB,yBAAS,EACL,YAAa,EAAE,aAAc,EAC7B,SAAU,EAAE,GAAI,EAChB,KAAM,EAAE,GAAI,EACZ,4BAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,GAAI,EACf,MAAO,EAAE,KAAM,EAEf,8BAAE,EACE,MAAO,EAAE,IAAK,EACd,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EAGf,oCAAU,EACN,eAAgB,EAAE,GAAI,EAEtB,sCAAE,EACE,IAAK,EAAE,GAAI,EAM3B,2BAAW,EACP,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,KAAM,EChCtB,iBAAmB,EACf,IAAK,EAAE,KAAM,EACb,KAAM,EAAE,UAAW,EAEnB,mBAAE,EACE,UAAW,EAAE,GAAI,EAGrB,mBAAE,EACE,SAAU,EAAE,KAAM,EAGtB,wBAAO,EACH,KAAM,EAAE,KAAM,EAGlB,iDAAgC,EAC5B,SAAU,EAAE,EAAG,EAGnB,+BAAc,EACV,OAAQ,EAAE,OAAQ,EAClB,YAAa,EAAE,gBAAiB,EAChC,QAAS,EAAE,GAAI,EACf,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,YAAa,EAAE,GAAI,EACnB,IAAK,EAAE,GAAI,EACX,0CAAW,EACP,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,AAAC,EACR,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,cAAe,EAAE,GAAI,EAK7B,wCAAuB,EACnB,IAAK,EAAC,IAAK,EAGf,sCAAqB,EACjB,IAAK,EAAE,IAAK,EAGhB,+BAAc,EACV,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,iBAAkB,EACjC,QAAS,EAAC,SAAU,EAGxB,iCAAgB,EACZ,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,gDAAe,EACX,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,oDAAI,EACA,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,YAAa,EAAE,EAAG,EAClB,aAAc,EAAE,KAAM,EAIlC,8BAAa,EACT,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,QAAS,EAAE,IAAK,EAChB,2CAAa,EACT,MAAO,EAAE,IAAK,EACd,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,MAAO,EACf,IAAK,EAAE,GAAI,EAEX,iDAAQ,EACJ,IAAK,EAAE,MAAO,EAGtB,gDAAkB,EACd,IAAK,EAAE,GAAI,EAInB,iCAAgB,EACZ,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,gDAAe,EACX,KAAM,EAAE,KAAM,EAElB,kDAAiB,EACb,IAAK,EAAE,MAAO,EACd,KAAM,EAAE,MAAO,EAKnB,mCAAI,EACA,MAAO,EAAE,IAAK,EACd,QAAS,EAAE,GAAI,EACf,KAAM,EAAC,KAAM,EAEjB,6CAAc,EACV,KAAM,EAAE,SAAU,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EAEnB,kDAAmB,EACf,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,AAAC,EACZ,sDAAI,EACA,MAAO,EAAE,WAAY,EACrB,OAAQ,EAAE,KAAM,EAChB,IAAK,EAAE,AAAC,EACR,QAAS,EAAE,IAAK,EAChB,kEAAc,EACV,KAAM,EAAE,QAAS,EAK7B,kDAAmB,EACf,SAAU,EAAE,GAAI,EAKxB,8BAAa,EACT,KAAM,EAAE,SAAU,EAClB,SAAU,EAAE,KAAM,EAClB,iCAAG,EACC,MAAO,EAAE,WAAY,EACrB,oCAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,KAAM,EACd,KAAM,EAAE,MAAO,EACf,sCAAE,EACE,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,IAAK,EACd,MAAO,EAAE,KAAM,EACf,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,AAAC,EACZ,SAAU,EAAE,MAAO,EACnB,SAAU,EAAE,GAAI,EAChB,qFAAO,E9BzIzB,MAAO,EAAE,WAAY,EAEnB,aAAc,EAXO,KAAM,EAgBzB,cAAe,EAbmD,GAAI,EAexE,IAAK,EAAE,AAAC,EACR,OAAQ,EAAE,KAAM,E8BiII,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,GAAI,EAEnB,wCAAE,EACE,KAAM,EAAE,QAAS,ExBjJnC,KAAM,EAAE,kDAAoF,EAGhG,MAAO,EwB+IgC,EAAG,EACpB,QAAS,EAAE,GAAI,EAEnB,sDAAgB,EACZ,MAAO,EAAE,GAAI,EAIzB,8GACoB,ExB7J1B,KAAM,EAAE,qDAAiE,EAK7E,MAAO,EwByJwB,AAAC,EAEtB,8DAA6B,EACzB,IAAK,EAAE,GAAI,EAGX,mDAAE,EACE,IAAK,EAAE,GAAI,EAKf,6DAAE,ExB1KZ,KAAM,EAAE,qDAAiE,EAK7E,MAAO,EwBsK4B,AAAC,EAEtB,gEAAK,EACD,MAAO,EAAE,GAAI,EAEjB,2EAAgB,EACZ,MAAO,EAAE,KAAM,EAGvB,uDAAsB,ExBpL5B,KAAM,EAAE,qDAAiE,EAK7E,MAAO,EwBgLwB,AAAC,EAEtB,0DAAyB,EACrB,IAAK,EAAE,GAAI,EAKvB,sCAAqB,EACjB,KAAM,EAAE,SAAU,EAClB,MAAO,EAAE,OAAQ,EACjB,YAAa,EAAE,iBAAkB,EAGrC,8BAAa,EACT,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,wCAAU,EACN,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,SAAU,EAClB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAEtB,iCAAG,EACC,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,IAAK,EAChB,oCAAG,EACC,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,YAAa,EACrB,sCAAE,EACE,MAAO,EAAE,IAAK,EACd,MAAO,EAAE,KAAM,EACf,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,MAAO,EAGvB,4CAAU,EACN,SAAU,EAAC,GAAI,EAGvB,gDAAe,EACX,UAAW,EAAE,AAAC,EAM1B,gCAAe,EACX,IAAK,EAAE,IAAK,EAEZ,0CAAU,EACN,OAAQ,EAAE,OAAQ,EAClB,QAAS,EAAE,GAAI,EAIvB,uCAAsB,EAClB,KAAM,EAAE,SAAU,EAClB,0CAAG,EACC,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,GAAI,EACjB,4CAAE,EACE,MAAO,EAAE,IAAK,EAElB,kDAAQ,EACJ,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,UAAW,EAAE,IAAK,EAClB,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,AAAC,EAEZ,sDAAI,EACA,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,GAAI,EAChB,aAAc,EAAE,KAAM,EAG9B,sDAAY,EACR,KAAM,EAAE,QAAS,EACjB,yDAAG,EACC,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,KAAM,EAChB,UAAW,EAAE,KAAM,EACnB,YAAa,EAAE,OAAQ,EAG/B,+DAAqB,EACjB,IAAK,EAAE,iBAAkB,EAGjC,sDAAe,EACX,UAAW,EAAE,AAAC,EAItB,+BAAc,EACV,KAAM,EAAE,SAAU,EAElB,gDAAiB,EACb,KAAM,EAAE,GAAI,EAKhB,4CAAS,EACL,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,QAAS,EAClB,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,GAAI,EACb,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,MAAO,EACd,UAAW,EAAE,yBAA0B,EACvC,KAAM,EAAE,gBAAiB,EAIjC,iCAAgB,EACZ,MAAO,EAAE,WAAY,EACrB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAEjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,MAAO,EAEd,+CAAc,EACV,IAAK,EAAE,GAAI,EAInB,8BAAa,EACT,KAAM,EAAE,SAAU,EAClB,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,MAAO,EACnB,KAAM,EAAE,MAAO,EAEf,oCAAQ,EACJ,SAAU,EAAE,MAAO,EAGvB,sCAAU,EACN,eAAgB,EAAE,MAAO,EAK7B,mCAAE,EACE,OAAQ,EAAE,OAAQ,EAClB,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,gBAAiB,EAChC,gDAAY,EACR,WAAY,EAAE,EAAG,EACjB,IAAK,EAAE,MAAO,EAElB,qCAAC,EACG,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,EAAG,EACX,GAAI,EAAE,GAAI,EACV,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,sEAAoD,EAIxE,+CAAe,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,KAAM,EAGtB,iCAAgB,EACZ,MAAO,EAAE,GAAI,EACb,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,KAAM,EACd,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAGtB,yCAAwB,EACpB,MAAO,EAAE,GAAI,EAIb,mCAAE,EACE,KAAM,EAAE,OAAQ,EAChB,MAAO,EAAE,OAAQ,EACjB,YAAa,EAAE,iBAAkB,EACjC,2CAAO,EACH,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,KAAM,EAChB,+CAAG,EACC,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,YAAa,EAAE,EAAG,EAG1B,iDAAa,EACT,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,SAAU,EAClB,oEAAkB,EACd,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EAErB,kEAAgB,EACZ,SAAU,EAAE,GAAI,EAChB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,QAAS,EAAC,SAAU,EAExB,+DAAa,EACT,KAAM,EAAE,SAAU,EAClB,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EAQ3B,wBAAO,EACH,WAAY,EAAE,GAAI,EAClB,YAAa,EAAE,GAAI,EACnB,IAAK,EAAE,GAAI,EAEX,+BAAO,EACH,MAAO,EAAE,SAAU,EACnB,KAAM,EAAE,gBAAiB,EACzB,KAAM,EAAE,IAAK,EACb,IAAK,EAAE,IAAK,EACZ,SAAU,EAAE,SAAU,EACtB,SAAU,EAAE,KAAM,EAClB,aAAc,EAAE,KAAM,EAEtB,mCAAI,EACA,MAAO,EAAE,IAAK,EACd,QAAS,EAAE,IAAK,EAChB,SAAU,EAAE,IAAK,EACjB,KAAM,EAAE,KAAM,EAKtB,oCAAY,EACR,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,OAAQ,EAAE,KAAM,EAChB,UAAW,EAAE,KAAM,EACnB,YAAa,EAAE,OAAQ,EACvB,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EAMnB,4BAAW,EACP,IAAK,EAHQ,IAAK,EAIlB,KAAM,EAAE,IAAK,EACb,WAAY,EAAE,GAAI,EAClB,YAAa,EAAE,GAAI,EAGvB,oCAAmB,EACf,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,WAAY,EACrB,aAAc,EAAE,EAAG,EACnB,KAAM,EAAE,UAAW,EACnB,KAAM,EAAE,MAAO,EAGnB,uCAAsB,EAClB,SAAU,EAAE,wEAAsD,EAGtE,yCAAwB,EACpB,SAAU,EAAE,4EAA0D,EAG1E,0CAAyB,EACrB,SAAU,EAAE,4EAA0D,EAG1E,yCAAwB,EACpB,SAAU,EAAE,4EAA0D,EAG1E,wCAAuB,EACnB,SAAU,EAAE,4EAA0D,EAG1E,qCAAoB,EAChB,SAAU,EAAE,4EAA0D,EAG1E,yCAAwB,EACpB,SAAU,EAAE,4EAA0D,EAI1E,8BAAY,EAAC,IAAK,EAAC,IAAK,EAAC,KAAM,EAAC,IAAK,EAAC,OAAQ,EAAC,OAAQ,EAAC,UAAW,EAAC,EAAG,EAAC,SAAU,EAAE,KAAM,EAAC,UAAW,EAAE,8BAA+B,EAAC,EAAG,EAAE,GAAI,EAAC,IAAK,EAAE,GAAI,EAAC,MAAO,EAAC,GAAI,EAAC,MAAO,EAAC,AAAC,EACpL,sEAAkC,EAAC,IAAK,EAAE,AAAC,EAAC,KAAM,EAAE,AAAC,EAAC,QAAS,EAAE,AAAC,EAAC,OAAQ,EAAE,OAAQ,EAAC,WAAY,EAAC,SAAU,EAAC,WAAY,EAAC,kBAAmB,EAC9I,iCAAe,EAAC,WAAY,EAAC,8BAA+B,EAAC,EAAG,EAAE,EAAG,EAAC,GAAI,EAAE,EAAG,EAAC,UAAW,EAAE,IAAK,EAClG,mCAAiB,EAAC,WAAY,EAAC,8BAA+B,EAAC,OAAQ,EAAC,KAAM,EAAC,EAAG,EAAE,EAAG,EAAC,GAAI,EAAE,IAAK,EACnG,mCAAiB,EAAC,IAAK,EAAC,IAAK,EAAC,KAAM,EAAC,IAAK,EAAC,OAAQ,EAAC,KAAM,EAAC,eAAgB,EAAE,MAAO,EAAC,KAAM,EAAC,gBAAiB,EAAC,SAAU,EAAE,kBAAmB,EAAC,OAAQ,EAAC,OAAQ,EAC/J,iCAAe,EAAC,KAAM,EAAC,GAAI,EAAC,UAAW,EAAE,GAAI,EAAC,eAAgB,EAAE,MAAO,EAAC,IAAK,EAAC,MAAO,EAAC,QAAS,EAAE,GAAI,EAAC,MAAO,EAAE,IAAK,EACpH,8EAA0C,EAAC,IAAK,EAAC,IAAK,EAAC,KAAM,EAAC,IAAK,EACnE,oCAAkB,EAAC,OAAQ,EAAC,KAAM,EAAC,KAAM,EAAC,QAAS,EACnD,kCAAgB,EAAC,QAAS,EAAE,GAAI,EAAC,IAAK,EAAC,MAAO,EAAC,UAAW,EAAE,GAAI,EAChE,sCAAoB,EAAC,IAAK,EAAC,GAAI,EAAC,KAAM,EAAC,GAAI,EAAC,UAAW,EAAC,GAAI,EAAC,OAAQ,EAAC,KAAM,EAAC,OAAQ,EAAE,OAAQ,EAAC,EAAG,EAAE,EAAG,EAAC,IAAK,EAAE,AAAC,EAAC,QAAS,EAAE,GAAI,EAAC,IAAK,EAAE,MAAO,EC/gBhJ,0DAAY,EACR,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,aAAc,EAE7B,oEAAO,EACH,QAAS,EAAE,GAAI,EAIvB,wDAAW,EACP,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,KAAM,EAItB,6BAA+B,EAC3B,SAAU,EAAE,GAAI,EAGpB,2BAA6B,EACzB,SAAU,EAAE,GAAI,EAGpB,8BAAgC,EAC5B,MAAO,EAAE,QAAS,EAClB,SAAU,EAAE,MAAO,EACnB,6CAAe,EACX,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,iDAAI,EACA,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,aAAc,EAAE,KAAM,EACtB,YAAa,EAAE,EAAG,EAG1B,2CAAa,EACT,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,SAAU,EAClB,QAAS,EAAE,KAAM,EAGrB,2CAAa,EACT,SAAU,EAAE,GAAI,EAChB,QAAS,EAAE,GAAI,EACf,KAAM,EAAE,cAAe,EACvB,UAAW,EAAE,cAAe,EAEhC,gDAAkB,EACd,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EAGf,6CAAe,EACX,KAAM,EAAE,SAAU,EAClB,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EC/DnB,aAAe,EACX,IAAK,EAAE,KAAM,EACb,UAAW,EAAE,GAAI,EACjB,WAAY,EAAE,GAAI,EAElB,sBAAS,EACL,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,IAAK,EACjB,WAAY,EAAE,GAAI,EAGtB,oBAAO,EACH,KAAM,EAAE,GAAI,EACZ,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,EAAG,EAChB,UAAW,EAAE,KAAM,EACnB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,gBAAiB,EACzB,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,MAAO,EACd,IAAK,EAAE,cAAc,EAGzB,oBAAO,EACH,WAAY,EAAE,cAAe,EAGjC,kBAAK,EACD,MAAO,EAAE,IAAK,EACd,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EACX,eAAgB,EAAE,MAAO,EACzB,aAAc,EAAE,GAAI,EACpB,QAAS,EAAE,GAAI,EACf,KAAM,EAAE,MAAO,EAEf,0BAAU,EACN,eAAgB,EAAE,GAAI,EACtB,KAAM,EAAE,MAAO,EAIvB,sCAAyB,EACrB,IAAK,EAAE,IAAK,EACZ,SAAU,EAAE,IAAK,EACjB,UAAW,EAAE,EAAG,EAGZ,yDAAe,EACX,IAAK,EAAE,MAAO,EAElB,iDAAO,EACH,SAAU,EAAE,MAAO,EACnB,IAAK,EAAE,GAAI,EAKf,4DAAe,EACX,IAAK,EAAE,MAAO,EAElB,oDAAO,EACH,SAAU,EAAE,MAAO,EACnB,IAAK,EAAE,GAAI,EAKf,2DAAe,EACX,IAAK,EAAE,MAAO,EAElB,mDAAO,EACH,SAAU,EAAE,MAAO,EACnB,IAAK,EAAE,GAAI,EAGnB,qDAAe,EACX,KAAM,EAAE,GAAI,EACZ,QAAS,EAAE,GAAI,EACf,eAAgB,EAAE,MAAO,EACzB,MAAO,EAAE,OAAQ,EACjB,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,MAAO,EAItB,uBAAU,EACN,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,IAAK,EACV,GAAI,EAAE,IAAK,EACX,IAAK,EAAE,eAAgB,EACvB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,EAAG,EAChB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,kEAA6B,EAEzC,2BAAK,EACD,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,UAAW,EAAE,GAAI,EACjB,WAAY,EAAE,GAAI,EAClB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,MAAO,EAEd,6BAAE,EACE,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,GAAI,EAAE,GAAI,EACV,EAAG,EAAE,EAAG,EACR,KAAM,EAAE,OAAQ,EAChB,SAAU,EAAE,yDAAkB,EAGlC,8BAAK,EACD,IAAK,EAAE,EAAG,EACV,gCAAE,EACE,SAAU,EAAE,yDAAmB,EAMnC,iCAAE,EACE,SAAU,EAAE,yDAAqB,EAMjD,wBAAW,EACP,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,GAAI,EACb,IAAK,EAAE,IAAK,EACZ,MAAO,EAAE,KAAM,EACf,MAAO,EAAE,EAAG,EACZ,eAAgB,EAAE,MAAO,EACzB,KAAM,EAAE,8BAAkC,EAC1C,SAAU,EAAE,EAAG,EACf,KAAM,EAAE,MAAO,E5B2MrB,iBAAwC,E4B1MX,EAAG,E5B0MhC,oBAAwC,EC9Sb,EAAuB,ED8SlD,YAAwC,E4B1MX,EAAG,EAE1B,2BAAG,EACC,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,MAAO,EAGtB,sBAAS,EACL,OAAQ,EAAE,OAAQ,EAClB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,KAAM,EACnB,EAAG,EAAE,EAAG,EACR,GAAI,EAAE,IAAK,EACX,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EAEX,wBAAE,EACE,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,mEAA6B,EACzC,WAAY,EAAE,EAAG,EAGrB,wBAAE,EACE,cAAe,EAAE,QAAS,EAC1B,IAAK,EAAE,GAAI,EAKnB,uBAAU,EACN,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,YAAa,EAAE,GAAI,EAI3B,cAAgB,EACZ,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,MAAO,EACf,IAAK,EAAE,IAAK,EAEZ,6BAAe,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,MAAO,EAAE,KAAM,EACf,WAAY,EAAE,gBAAiB,EAGnC,yBAAW,EACP,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,KAAM,EAAE,KAAM,EACd,SAAU,EAAE,GAAI,EC/MpB,oBAAU,EACN,OAAQ,EAAE,OAAQ,EAGtB,iBAAO,EACH,IAAK,EAAE,IAAK,EAGhB,uBAAe,EACX,YAAa,EAAE,GAAI,EAGvB,iBAAO,EACH,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EAGnB,wBAAc,EACV,KAAM,EAAE,MAAO,EACf,IAAK,EAAE,MAAO,EAGlB,wBAAc,EACV,MAAO,EAAE,GAAI,EACb,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,KAAM,EACf,SAAU,EAAE,GAAI,EAChB,KAAM,EAAE,aAAc,EACtB,EAAG,EAAE,GAAI,EACT,IAAK,EAAE,AAAC,EACR,MAAO,EAAE,AAAC,E7B2ThB,iBAAwC,E6BzTX,EAAG,E7ByThC,oBAAwC,EC9Sb,EAAuB,ED8SlD,YAAwC,E6BzTX,EAAG,EAE1B,2BAAG,EACC,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EAInB,8BAAoB,EAChB,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,IAAK,EACZ,MAAO,EAAE,KAAM,EACf,MAAO,EAAE,AAAC,EACV,SAAU,EAAE,EAAG,EACf,YAAa,EAAE,EAAG,EAClB,KAAM,EAAE,MAAO,EACf,KAAM,EAAE,gBAAiB,EACzB,eAAgB,EAAE,MAAO,EACzB,IAAK,EAAE,GAAI,EAEX,iCAAG,EACC,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAIzB,uBAAa,EACT,KAAM,EAAE,MAAO,EAGnB,sBAAY,EACR,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EAEf,gCAAU,EACN,QAAS,EAAE,GAAI,EAGnB,gCAAU,EACN,IAAK,EAAE,MAAO,EAItB,2BAAiB,EACb,IAAK,EAAE,MAAO,EAGlB,6BAAmB,EACf,MAAO,EAAE,IAAK,EAEd,+BAAE,EACE,MAAO,EAAE,SAAU,EACnB,IAAK,EAAE,GAAI,EACX,cAAe,EAAE,QAAS,EAG9B,mCAAM,EACF,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,KAAM,EAGlB,qCAAQ,EACJ,SAAU,EAAE,qEAAgC,EAGhD,iCAAI,EACA,SAAU,EAAE,oEAA4B,EAG5C,oCAAO,EACH,SAAU,EAAE,qEAA+B,EAG/C,qCAAQ,EACJ,SAAU,EAAE,gEAAgC,EAGhD,qCAAQ,EACJ,SAAU,EAAE,oEAAgC,EAGhD,qCAAQ,EACJ,SAAU,EAAE,oEAAgC,EAIpD,qBAAW,EACP,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,MAAO,EACf,SAAU,EAAE,MAAO,EACnB,UAAW,EAAE,KAAM,EACnB,EAAG,EAAE,EAAG,EACR,GAAI,EAAE,IAAK,EACX,MAAO,EAAE,KAAM,EACf,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EC9HrB,sBAAe,EACX,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,MAAO,EAGlB,sBAAe,EACX,KAAM,EAAE,GAAI,EAEZ,yBAAG,EACC,YAAa,EAAE,GAAI,EACnB,IAAK,EAAE,IAAK,EACZ,OAAQ,EAAE,OAAQ,EAElB,8BAAO,EACH,IAAK,EAAE,IAAK,EAGhB,iEAAc,EACV,MAAO,EAAE,GAAI,EAGjB,qCAAY,EACR,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,gBAAiB,EACzB,UAAW,EAAE,GAAI,EACjB,UAAW,EAAE,WAAY,EACzB,IAAK,EAAE,MAAO,EACd,MAAO,EAAE,AAAC,EAEV,2CAAQ,EACJ,KAAM,EAAE,YAAa,EAGzB,+CAAY,EACR,IAAK,EAAE,IAAK,EACZ,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,AAAC,EACN,IAAK,EAAE,AAAC,EAGZ,gGAAwB,EACpB,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,GAAI,EAGf,iDAAc,EACV,aAAc,EAAE,KAAM,EAI9B,4CAAmB,EACf,EAAG,EAAE,AAAC,EACN,SAAU,EAAE,MAAO,EACnB,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,AAAC,EACR,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,AAAC,EACd,aAAc,EAAE,AAAC,EAEjB,oDAAU,EACN,SAAU,EAAE,GAAI,EAIxB,+BAAM,EACF,cAAe,EAAE,QAAS,EAC1B,IAAK,EAAE,MAAO,EAGlB,8BAAK,EACD,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,AAAC,EACV,UAAW,EAAE,WAAY,EACzB,SAAU,EAAE,KAAM,EAItB,uCAAc,EACV,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,IAAK,EACZ,WAAY,EAAE,MAAO,EACrB,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,WAAY,EAI7B,uCAAc,EACV,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,KAAM,EACnB,KAAM,EAAE,gBAAiB,EACzB,WAAY,EAAE,AAAC,EACf,QAAS,EAAE,GAAI,EACf,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EAIf,sCAAa,EACT,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,AAAC,EACT,aAAc,EAAE,KAAM,EACtB,MAAO,EAAE,GAAI,EACb,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,EAAG,EACf,IAAK,EAAE,GAAI,EAEf,yCAAgB,EACZ,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,MAAO,EACf,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAIrB,kDAAyB,EACrB,IAAK,EAAE,IAAK,EACZ,SAAU,EAAE,IAAK,EACjB,SAAU,EAAE,EAAG,EACf,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,KAAM,EAEhB,iEAAe,EACX,KAAM,EAAE,GAAI,EACZ,QAAS,EAAE,GAAI,EACf,eAAgB,EAAE,MAAO,EACzB,MAAO,EAAE,OAAQ,EACjB,SAAU,EAAE,KAAM,EAGtB,sDAAM,EACF,IAAK,EAAE,EAAG,EAEV,6DAAO,EACH,SAAU,EAAE,EAAG,EACf,IAAK,EAAE,GAAI,EAKf,gEAAO,EACH,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,GAAI,EAKf,+DAAO,EACH,SAAU,EAAE,MAAO,EACnB,IAAK,EAAE,GAAI,EAMvB,yCAAkB,EACd,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,IAAK,EACjB,UAAW,EAAE,KAAM,EAIvB,uCAAc,EACV,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,MAAO,EAEnB,+CAAU,EACN,SAAU,EAAE,GAAI,EAKxB,+CAAwB,EACpB,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,IAAK,EACjB,UAAW,EAAE,KAAM,EAGvB,wCAAiB,EACb,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAClB,0CAAE,EACE,IAAK,EAAE,MAAO,EACd,cAAe,EAAE,QAAS,EAKtC,+BAAS,EACL,MAAO,EAAE,GAAI,EACb,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,EAAG,EACV,eAAgB,EAAE,MAAO,EACzB,KAAM,EAAE,gBAAiB,EACzB,MAAO,EAAE,KAAM,EAEf,iCAAE,EACE,MAAO,EAAE,IAAK,EACd,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,GAAI,EACT,GAAI,EAAE,GAAI,EACV,SAAU,EAAE,8DAA6B,EACzC,IAAK,EAAE,GAAqC,EAC5C,KAAM,EAAE,EAAsC,ECvO9D,SAAW,EACP,QAAS,EAAE,GAAI,EAEf,kBAAS,EACL,KAAM,EAAE,mBAAoB,EAGhC,sBAAa,EACT,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,GAAI,EACjB,YAAa,EAAE,EAAG,EAElB,oCAAc,EACV,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,MAAO,EACf,IAAK,EAAE,MAAO,EACd,8CAAU,EACN,QAAS,EAAE,GAAI,EACf,aAAc,EAAE,KAAM,EAKlC,gBAAO,EACH,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,EAAG,EACX,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,KAAM,EAEvB,iBAAQ,EACJ,KAAM,EAAE,MAAO,EACf,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,KAAM,EAGvB,8BAAqB,EACjB,EAAG,EAAE,GAAI,EACT,GAAI,EAAE,IAAK,EAGf,4BAAmB,EACf,MAAO,EAAE,GAAI,EACb,OAAQ,EAAE,OAAQ,EAClB,MAAO,EAAE,KAAM,EACf,IAAK,EAAE,GAAI,EACX,eAAgB,EAAE,GAAI,EACtB,KAAM,EAAE,aAAc,EACtB,SAAU,EAAE,EAAG,EACf,KAAM,EAAE,MAAO,EACf,MAAO,EAAE,EAAG,EACZ,EAAG,EAAE,GAAI,EACT,IAAK,EAAE,AAAC,E/BoSd,iBAAwC,E+BnSX,EAAG,E/BmShC,oBAAwC,EC9Sb,EAAuB,ED8SlD,YAAwC,E+BnSX,EAAG,EAE1B,+BAAG,EACC,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAIzB,eAAM,EACF,MAAO,EAAE,AAAC,EACV,MAAO,EAAE,GAAI,EACb,UAAW,EAAE,gCAAiC,EAGlD,6BAAoB,EAChB,OAAQ,EAAE,OAAQ,EAClB,YAAa,EAAE,GAAI,EAEnB,kCAAK,EACD,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,MAAO,EACf,QAAS,EAAE,GAAI,EACf,KAAM,EAAE,GAAI,EACZ,aAAc,EAAE,AAAC,EAGrB,sCAAS,EACL,IAAK,EAAE,IAAK,EAGhB,0CAAa,EACT,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,AAAC,EACT,UAAW,EAAE,GAAI,EACjB,aAAc,EAAE,KAAM,EACtB,MAAO,EAAE,GAAI,EACb,KAAM,EAAE,MAAO,EAEnB,6CAAgB,EACZ,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EACf,cAAe,EAAE,QAAS,EAC1B,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,MAAO,EAM3B,eAAiB,EACb,QAAS,EAAE,GAAI,EAEf,wBAAS,EACL,KAAM,EAAE,mBAAoB,EAGhC,0BAAW,EACP,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,MAAO,EACd,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,GAAI,EAEf,oCAAU,EACN,KAAM,EAAE,QAAS,EAIzB,wBAAS,EACL,KAAM,EAAE,SAAU,EAClB,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,MAAO,EACd,SAAU,EAAE,KAAM,EAIlB,8BAAE,EACE,MAAO,EAAE,IAAK,EACd,KAAM,EAAE,UAAW,EACnB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,MAAO,EACnB,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EACX,aAAc,EAAE,EAAG,EAM3B,6BAAG,EACC,OAAQ,EAAE,OAAQ,EAClB,YAAa,EAAE,GAAI,EAGvB,+BAAK,EnCzIP,MAAO,EAAE,WAAY,EAEnB,aAAc,EAXO,KAAM,EAgBzB,cAAe,EAbmD,GAAI,EAexE,IAAK,EAAE,AAAC,EACR,OAAQ,EAAE,KAAM,EmCiIZ,KAAM,EAAE,GAAI,EAGhB,sCAAY,EACR,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EAGf,oCAAU,EACN,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EAGnB,wCAAc,EACV,KAAM,EAAE,KAAM,EAGlB,+EAA0B,EACtB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EAGnB,mCAAS,EACL,IAAK,EAAE,eAAgB,EAG3B,wCAAc,EACV,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EACf,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,GAAI,EACT,aAAc,EAAE,AAAC,EAGrB,mCAAS,EACL,GAAI,EAAE,IAAK,EAGf,wCAAc,EACV,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,GAAI,EACT,IAAK,EAAE,MAAO,EAEd,kDAAU,EACN,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EACf,KAAM,EAAE,QAAS,EACjB,aAAc,EAAE,EAAG,EAM3B,2BAAS,EACL,KAAM,EAAE,mBAAoB,EAGhC,gCAAc,EACV,UAAW,EAAE,GAAI,EAEjB,0CAAU,EACN,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,MAAO,EAGlB,qCAAK,EACD,QAAS,EAAE,GAAI,EACf,KAAM,EAAE,KAAM,EAGlB,4CAAY,EACR,IAAK,EAAE,MAAO,EAItB,+BAAa,EACT,MAAO,EAAE,IAAK,EACd,KAAM,EAAE,UAAW,EACnB,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,IAAK,EAClB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,KAAM,EAClB,eAAgB,EAAE,MAAO,EClPjC,YAAc,EACV,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,MAAO,EAEd,qBAAS,EACL,UAAW,EAAE,GAAI,EAGrB,uBAAW,EACP,QAAS,EAAE,GAAI,EACf,YAAa,EAAE,GAAI,EAEnB,0BAAG,EACC,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,MAAO,EAItB,2BAAe,EACX,QAAS,EAAE,GAAI,EACf,YAAa,EAAE,GAAI,EAGvB,kBAAM,EACF,MAAO,EAAE,IAAK,EAEd,uBAAK,EACD,IAAK,EAAE,MAAO,EAItB,sBAAU,EACN,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,cAAe,EAAE,QAAS,EAC1B,YAAa,EAAE,GAAI,EAGvB,yBAAa,EACT,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,IAAK,EAEnB,6BAAI,EACA,eAAgB,EAAE,uDAAqC,EAI/D,2BAAe,EACX,IAAK,EAAE,IAAK,EACZ,YAAa,EAAE,IAAK,EAEpB,+BAAI,EACA,eAAgB,EAAE,qDAAmC,ECpDjE,WAAa,EACT,MAAO,EAAE,IAAK,EACd,IAAK,EAAC,IAAK,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,eAAgB,EAAE,MAAO,EACzB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,KAAM,EAEtB,IAAM,EACF,MAAO,EAAE,GAAI,EAEjB,UAAY,EACR,SAAU,EAAE,KAAM,EAEtB,QAAU,EACN,eAAgB,EAAE,iBAAkB,EACpC,IAAK,EAAE,eAAgB,EAE3B,IAAM,EACF,OAAQ,EAAE,IAAK,EACf,EAAG,EAAE,AAAC,EACP,IAAK,EAAE,AAAC,EACR,KAAM,EAAE,AAAC,EACT,GAAI,EAAE,AAAC,EACP,MAAO,EAAE,GAAI,EACb,OAAQ,EAAE,KAAM,EAChB,yBAA0B,EAAE,IAAK,EACjC,MAAO,EAAE,AAAC,EAGb,WAAa,EACX,KAAM,EAAE,KAAM,EACd,IAAK,EAAE,IAAK,EACZ,SAAU,EAAE,IAAK,EACjB,UAAW,EAAE,IAAK,EAEpB,WAAa,EACX,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,MAAO,EACd,YAAa,EAAE,GAAI,EACnB,iBAAM,EACJ,IAAK,EAAE,MAAO,EAGlB,QAAU,EACR,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,MAAO,EACd,YAAa,EAAE,GAAI,EAErB,WAAa,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,UAAW,EACnB,KAAM,EAAE,GAAI,EACZ,iBAAM,EACJ,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,IAAK,EACjB,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,GAAI,EAEb,oBAAS,EACP,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAEnB,6CACW,EACT,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAEnB,oBAAS,EACP,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAChB,SAAU,EAAE,AAAC,EACb,WAAY,EAAE,AAAC,EAGjB,kBAAS,EACP,MAAO,EAAE,IAAK,EACd,MAAO,EAAE,CAAE,EACX,IAAK,EAAE,GAAI,EAGf,UAAY,EACV,IAAK,EAAE,IAAK,EACZ,SAAU,EAAE,GAAI,EAChB,KAAM,EAAE,UAAW,EAErB,WAAa,EACX,OAAQ,EAAE,KAAM,EAChB,KAAM,EAAE,UAAW,EACnB,WAAY,EAAE,IAAK,EACnB,iBAAM,EACJ,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,IAAK,EACjB,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,GAAI,EAEb,oBAAS,EACP,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAEnB,qBAAU,EACR,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAEnB,oBAAS,EACP,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAElB,kBAAS,EACP,MAAO,EAAE,IAAK,EACd,MAAO,EAAE,CAAE,EACX,IAAK,EAAE,GAAI,EAEb,4BAAiB,EACf,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,IAAK,EACZ,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,eAAgB,EAAE,MAAO,EACzB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EAKf,UAAW,EAAE,GAAI,EAJjB,yCAAY,EACV,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EAKrB,cAAgB,EACd,OAAQ,EAAE,KAAM,EAChB,KAAM,EAAE,UAAW,EACnB,WAAY,EAAE,IAAK,EACnB,oBAAM,EACJ,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,IAAK,EACjB,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,GAAI,EAEb,uBAAS,EACP,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAKnB,wBAAU,EACR,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAEnB,uBAAS,EACP,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAElB,qBAAS,EACP,MAAO,EAAE,IAAK,EACd,MAAO,EAAE,CAAE,EACX,IAAK,EAAE,GAAI,EAEb,+BAAiB,EACf,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EAKf,UAAW,EAAE,GAAI,EAJjB,4CAAY,EACV,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EAInB,8BAAgB,EACd,KAAM,EAAE,MAAO,EACf,IAAK,EAAE,MAAO,EACd,cAAe,EAAE,QAAS,EAG9B,aAAe,EACb,YAAa,EAAE,GAAI,EACnB,KAAM,EAAE,GAAI,EAEd,SAAW,EACT,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,KAAM,EACd,SAAU,EAAE,IAAK,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EAEX,cAAK,EACH,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,eAAgB,EAAE,MAAO,EACzB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,EAAG,EACjB,MAAO,EAAE,MAAO,EAGpB,YAAc,EACZ,eAAgB,EAAE,GAAI,EACtB,IAAK,EAAE,GAAI,EAEb,aAAe,EACb,eAAgB,EAAE,GAAI,EACtB,IAAK,EAAE,GAAI,EAEb,UAAY,EACV,eAAgB,EAAE,GAAI,EACtB,IAAK,EAAE,GAAI,EAEb,cAAgB,EACd,OAAQ,EAAE,OAAQ,EAClB,SAAU,EAAE,SAAU,EACtB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,0BAAY,EACV,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,WAAY,EAAE,GAAI,EAClB,KAAM,EAAE,gBAAiB,EACzB,oCAAU,EACR,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EAEb,oCAAU,EACR,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,eAAgB,EAAE,MAAO,EACzB,eAAgB,EAAE,uDAAqC,EACvD,gBAAiB,EAAE,QAAS,EAC5B,kBAAmB,EAAE,YAAa,EAGtC,2BAAa,EACX,eAAgB,EAAE,IAAK,EACvB,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,GAAI,EACT,GAAI,EAAE,AAAC,EACP,IAAK,EAAE,IAAK,EACZ,MAAO,EAAE,AAAC,EACV,uCAAY,EACV,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,WAAY,EAAE,GAAI,EAClB,QAAS,EAAE,GAAI,EACf,6CAAQ,EACN,eAAgB,EAAE,MAAO,EAKjC,gBAAkB,EAChB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,gBAAiB,EACzB,OAAQ,EAAE,OAAQ,EAClB,yBAAS,EACP,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,IAAK,EAAE,GAAI,EACX,eAAgB,EAAE,MAAO,EAE3B,0BAAU,EACR,MAAO,EAAE,GAAI,EACb,SAAU,EAAE,SAAU,EACtB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,GAAI,EACjB,WAAY,EAAE,EAAG,EACjB,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EAGf,gBAAiB,EACb,IAAK,EAAE,IAAK,EACV,KAAM,EAAE,UAAW,EACnB,WAAY,EAAE,GAAI,EAClB,OAAQ,EAAE,KAAM,EAChB,+BAAe,EACb,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,eAAgB,EAAE,MAAO,EACzB,eAAgB,EAAE,GAAI,EACtB,kBAAmB,EAAE,YAAa,EAClC,gBAAiB,EAAE,QAAS,EAC5B,WAAY,EAAE,GAAI,EAEpB,2BAAW,EACT,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,IAAK,EACd,MAAO,EAAE,AAAC,EACV,KAAM,EAAE,eAAgB,EACxB,KAAM,EAAE,AAAC,EAEX,qBAAK,EACH,IAAK,EAAE,GAAI,EAEb,2BAAW,EACX,IAAK,EAAE,MAAO,EACd,cAAe,EAAE,QAAS,EAE1B,uBAAS,EACX,MAAO,EAAE,IAAK,EACd,MAAO,EAAE,CAAE,EACX,IAAK,EAAE,GAAI,EAGf,cAAgB,EACd,OAAQ,EAAE,KAAM,EACf,SAAU,EAAE,cAAe,EAE9B,UAAW,EACP,IAAK,EAAE,IAAK,EACV,KAAM,EAAE,UAAW,EACnB,WAAY,EAAE,GAAI,EAExB,iBAAmB,EACjB,KAAM,EAAE,KAAM,EACd,IAAK,EAAE,KAAM,EACb,SAAU,EAAE,IAAK,EACjB,UAAW,EAAE,IAAK,EAClB,2BAAU,EACR,YAAa,EAAE,GAAI,EAErB,uBAAM,EACJ,SAAU,EAAE,SAAU,EACtB,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,WAAY,EAAE,gBAAiB,EAEjC,wBAAO,EACL,SAAU,EAAE,SAAU,EACtB,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,IAAK,EAEf,4DACiB,EACf,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,WAAY,EACrB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,YAAa,EAAE,EAAG,EAClB,eAAgB,EAAE,MAAO,EACzB,IAAK,EAAE,IAAK,EAEd,wBAAO,EACL,UAAW,EAAE,IAAK,EAClB,WAAY,EAAE,GAAI,EAGtB,kBAAoB,EAClB,KAAM,EAAE,KAAM,EACd,IAAK,EAAE,KAAM,EACb,SAAU,EAAE,IAAK,EACjB,UAAW,EAAE,IAAK,EAClB,kCAAgB,EACd,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,UAAW,EACnB,8CAAY,EACV,MAAO,EAAE,WAAY,EACrB,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,eAAgB,EAAE,4BAA6B,EAC/C,gBAAiB,EAAE,QAAS,EAE9B,kDAAgB,EACd,MAAO,EAAE,WAAY,EACrB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EAGnB,wBAAM,EACJ,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,GAAI,EACf,YAAa,EAAE,GAAI,EAErB,4BAAU,EACR,KAAM,EAAE,KAAM,EAGlB,kBAAoB,EAClB,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,KAAM,EAAE,SAAU,EAClB,eAAgB,EAAE,GAAI,EACtB,SAAU,EAAE,SAAU,EACtB,UAAW,EAAE,GAAI,EACjB,8BAAY,EACV,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,UAAW,EACnB,yCAAW,EACT,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,aAAc,EAAE,KAAM,EACtB,YAAa,EAAE,EAAG,EAClB,WAAY,EAAE,GAAI,EAEpB,wCAAS,EACL,aAAc,EAAE,KAAM,EACtB,MAAO,EAAE,WAAY,EACrB,IAAK,EAAE,IAAK,EACZ,OAAQ,EAAE,KAAM,EAChB,UAAW,EAAE,KAAM,EACnB,YAAa,EAAE,OAAQ,EAG7B,+BAAa,EACX,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,MAAO,EACd,YAAa,EAAE,GAAI,EAErB,iCAAe,EACb,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,YAAa,EAAE,GAAI,EAErB,8BAAW,EACT,KAAM,EAAE,UAAW,EAErB,iCAAe,EACb,MAAO,EAAE,IAAK,EACd,SAAU,EAAE,KAAM,EAClB,cAAe,EAAE,QAAS,EAC1B,IAAK,EAAE,MAAO,EAGlB,qBAAuB,EACrB,eAAgB,EAAE,MAAO,EACzB,KAAM,EAAE,UAAW,EAErB,aAAe,EACb,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,YAAa,EAAE,GAAI,EACnB,oBAAS,EACL,MAAO,EAAE,IAAK,EACd,MAAO,EAAE,CAAE,EACX,IAAK,EAAE,GAAI,EAEf,sBAAS,EACP,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,IAAK,EAEd,4BAAe,EACb,MAAO,EAAE,WAAY,EAEvB,0BAAa,EACX,OAAQ,EAAE,KAAM,EAChB,KAAM,EAAE,UAAW,EACnB,WAAY,EAAE,IAAK,EACnB,IAAK,EAAE,GAAI,EACX,gCAAM,EACJ,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,IAAK,EACjB,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,GAAI,EAEb,mCAAS,EACP,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAEnB,oCAAU,EACR,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAEnB,mCAAS,EACP,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAChB,iDAAc,EACZ,MAAO,EAAE,GAAI,EACb,SAAU,EAAE,SAAU,EACtB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,IAAK,EACZ,UAAW,EAAE,GAAI,EACjB,WAAY,EAAE,EAAG,EACjB,KAAM,EAAE,gBAAiB,EACzB,IAAK,EAAE,GAAI,EAGf,2CAAiB,EACf,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,IAAK,EACZ,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,eAAgB,EAAE,MAAO,EACzB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,wDAAY,EACV,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EAOvB,mBAAqB,EACnB,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,IAAK,EACnB,kCAAe,EACb,MAAO,EAAE,WAAY,EACrB,IAAK,EAAE,GAAI,EACX,WAAY,EAAE,GAAI,EAClB,cAAe,EAAE,QAAS,EAC1B,IAAK,EAAE,MAAO,EAGlB,QAAU,EACR,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,IAAK,EACV,GAAI,EAAE,IAAK,EACX,IAAK,EAAE,eAAgB,EACvB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,EAAG,EAChB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,+DAAgE,EAE9E,QAAU,EACN,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,IAAK,EACV,GAAI,EAAE,IAAK,EACX,IAAK,EAAE,eAAgB,EACvB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,EAAG,EAChB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,+DAChB,EAEA,YAAc,EACV,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,UAAW,EAAE,GAAI,EACjB,WAAY,EAAE,GAAI,EAGtB,iBAAmB,EACf,SAAU,EAAE,wEAAyE,EAGzF,aAAe,EACX,SAAU,EAAE,wEAAyE,EAGzF,YAAc,EACV,SAAU,EAAE,wEAAyE,EAGzF,aAAe,EACX,IAAK,EAAE,aAAc,EAGzB,OAAS,EACP,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,GAAI,EACT,GAAI,EAAE,IAAK,EACX,UAAW,EAAE,KAAM,EAGrB,WAAa,EACX,KAAM,EAAE,GAAI,EACZ,IAAK,EAAE,GAAI,EAEb,QAAU,EACR,OAAQ,EAAE,IAAK,EACf,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,GAAI,EAAE,AAAC,EACP,EAAG,EAAE,AAAC,EACN,KAAM,EAAE,AAAC,EACT,IAAK,EAAE,AAAC,EACR,MAAO,EAAE,CAAE,EACX,KAAM,EAAE,gBAAiB,EC/lB3B,QAAU,EACN,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,KAAM,EAChB,KAAM,EAAE,SAAU,EAElB,eAAS,EACL,MAAO,EAAE,CAAE,EACX,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,IAAK,EACb,SAAU,EAAE,8DAA4C,EACxD,IAAK,EAAE,GAAI,EAGf,kBAAU,EACN,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,IAAK,EACb,WAAY,EAAE,GAAI,EAElB,uBAAK,EACD,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAGpB,yBAAO,EACH,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,ECnC5B,eAAiB,EACb,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,QAAS,EAGjB,2BAAY,EACR,IAAK,EAAE,GAAI,EACX,OAAQ,EAAE,OAAQ,EAClB,YAAa,EAAE,GAAI,EAEnB,kCAAS,EACL,MAAO,EAAE,CAAE,EACX,MAAO,EAAE,IAAK,EACd,SAAU,EAAE,gEAAmC,EAC/C,IAAK,EAAE,IAA2C,EAClD,KAAM,EAAE,GAA4C,EAIpD,2CAAG,EACC,MAAO,EAAE,IAAK,EACd,SAAU,EAAE,gEAAsC,EAClD,IAAK,EAAE,IAA8C,EACrD,KAAM,EAAE,GAA+C,EACvD,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,AAAC,EACR,EAAG,EAAE,AAAC,EAEN,8CAAG,EACC,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,WAAY,EACnB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAEjB,qDAAS,EACL,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,KAAM,EAClB,2DAAQ,EACJ,MAAO,EAAE,IAAK,EACd,MAAO,EAAE,CAAE,EACX,SAAU,EAAE,4DAAyC,EACrD,IAAK,EAAE,GAAiD,EACxD,KAAM,EAAE,GAAkD,EAC1D,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,EAAG,EACT,UAAW,EAAE,GAAsD,EACnE,EAAG,EAAE,AAAC,EAGd,kDAAM,EACF,SAAU,EAAE,IAAK,EAMjC,4CAAiB,EACb,KAAM,EAAE,aAAc,EACtB,SAAU,EAAE,GAAI,EAEhB,qDAAS,EACL,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,MAAO,EACnB,IAAK,EAAE,GAAI,EACX,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EAGrB,2DAAe,EACX,MAAO,EAAE,OAAQ,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EAIX,4EAAiB,EAEb,YAAa,EAAE,cAAe,EAC9B,MAAO,EAAE,KAAM,EAEf,+EAAG,EACC,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EAEX,oFAAK,EACD,IAAK,EAAE,MAAO,EACd,cAAe,EAAE,QAAS,EAC1B,KAAM,EAAE,MAAO,EAQvB,4EAAG,EACC,MAAO,EAAE,KAAM,EAEf,+EAAG,EACC,MAAO,EAAE,KAAM,EAEf,sFAAO,EACH,UAAW,EAAE,GAAI,EACjB,WAAY,EAAE,GAAI,EAGtB,2FAAY,EACR,KAAM,EAAE,AAAC,EACT,aAAc,EAAE,KAAM,EAI9B,8FAAkB,EACd,MAAO,EAAE,WAAY,EACrB,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,MAAO,EACd,IAAK,EAAE,GAAI,EACX,YAAa,EAAE,GAAI,EACnB,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,KAAM,EAEhB,mGAAK,EACD,cAAe,EAAE,QAAS,EAC1B,KAAM,EAAE,MAAO,EAEf,IAAK,EAAE,IAAK,EAEZ,kHAAiB,EACb,IAAK,EAAE,GAAI,EAOnB,kGAAG,EACC,KAAM,EAAE,aAAc,EACtB,WAAY,EAAE,GAAI,EAElB,yGAAS,EACL,SAAU,EAAE,MAAO,EACnB,KAAM,EAAE,gBAAiB,EAIzB,qIAAiB,EACb,IAAK,EAAE,MAAO,EACd,cAAe,EAAE,QAAS,EAC1B,KAAM,EAAE,MAAO,EAQvC,2EAAgB,EACZ,SAAU,EAAE,cAAe,EAE3B,8EAAG,EAEC,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAEjB,8FAAgB,EACZ,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,IAAK,EACjB,MAAO,EAAE,WAAY,EAErB,IAAK,EAAE,GAAI,EAEX,gGAAE,EACE,IAAK,EAAE,MAAO,EAItB,0FAAY,EACR,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,IAAK,EACZ,MAAO,EAAE,AAAC,EACV,KAAM,EAAE,aAAc,EnCmKhD,cAAwC,EoC1U5B,SAAmB,EpC0U/B,iBAAwC,EoC1U5B,SAAmB,EpC0U/B,SAAwC,EoC1U5B,SAAmB,ED0KT,gGAAkB,EACd,IAAK,EAAE,IAAK,EAGhB,iGAAmB,EACf,IAAK,EAAE,IAAK,EACZ,SAAU,EAAE,KAAM,EAClB,MAAO,EAAE,WAAY,EACrB,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EAEjB,uGAAM,EACF,SAAU,EAAE,GAAI,EAChB,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,IAAK,EAEZ,mHAAc,EACV,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,GAAI,EAQ3B,qEAAW,EACP,SAAU,EAAE,iEAAgC,EAC5C,IAAK,EAAE,IAAwC,EAC/C,KAAM,EAAE,GAAyC,EACjD,UAAW,EAAE,GAAyC,EACtD,MAAO,EAAE,IAAK,EACd,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,MAAO,EAVnB,oEAAW,EACP,SAAU,EAAE,gEAAgC,EAC5C,IAAK,EAAE,IAAwC,EAC/C,KAAM,EAAE,GAAyC,EACjD,UAAW,EAAE,GAAyC,EACtD,MAAO,EAAE,IAAK,EACd,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,MAAO,EAQnB,wEAAG,EACC,MAAO,EAAE,GAAI,EAEb,2EAAG,EACC,KAAM,EAAE,KAAM,EAEd,uFAAY,EACR,KAAM,EAAE,AAAC,EACT,aAAc,EAAE,KAAM,EAO9B,yFAAG,EACC,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,KAAM,EAAE,gBAAiB,EACzB,SAAU,EAAE,MAAO,EACnB,UAAW,EAAE,GAAI,EACjB,OAAQ,EAAE,OAAQ,EAElB,+FAAQ,EACJ,MAAO,EAAE,CAAE,EACX,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,qDAAmC,EAC/C,OAAQ,EAAE,OAAQ,EAClB,EAAG,EAAE,EAAG,EACR,GAAI,EAAE,EAAG,EAIjB,qGAAe,EACX,YAAa,EAAE,cAAe,EAC9B,aAAc,EAAE,GAAI,EAGxB,qGAAe,EACX,IAAK,EAAE,GAAI,EAGf,0GAAoB,EAChB,IAAK,EAAE,IAAK,EACZ,MAAO,EAAE,WAAY,EACrB,MAAO,EAAE,AAAC,EACV,UAAW,EAAE,AAAC,EAElB,2GAAqB,EACjB,KAAM,EAAE,AAAC,EACT,IAAK,EAAE,MAAO,EACd,KAAM,EAAE,MAAO,EAEf,iHAAQ,EACJ,MAAO,EAAE,CAAE,EACX,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,mDAAiC,EAC7C,MAAO,EAAE,WAAY,EnCwDnD,cAAwC,EU/KR,kBAC8D,EV8K9F,YAAwC,EU/KR,gBAC8D,EV8K9F,iBAAwC,EUlLL,qBACoD,EAenF,SAAU,EAbkB,aAC8D,EyB2HhE,wHAAQ,EnCmDtC,aAAwC,EWpChC,aAAe,EXoCvB,YAAwC,EWpChC,aAAe,EXoCvB,gBAAwC,EWpChC,aAAe,EXoCvB,QAAwC,EWpChC,aAAe,EwBTD,oGAAc,EACV,MAAO,EAAE,IAAK,EACd,UAAW,EAAE,IAAK,EAClB,UAAW,EAAE,cAAe,EAC5B,QAAS,EAAE,GAAI,EAEf,uGAAG,EACC,MAAO,EAAE,eAAgB,EAG7B,uGAAG,EACC,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,KAAM,EAChB,KAAM,EAAE,AAAC,EACT,MAAO,EAAE,AAAC,EAEV,0GAAG,EACC,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,KAAM,EAAE,aAAc,EACtB,KAAM,EAAE,YAAa,EAErB,8GAAI,EACA,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,KAAM,EAMhC,qGAAe,EACX,QAAS,EAAE,AAAC,EAEZ,2OAAgC,EAC5B,QAAS,EAAE,GAAI,EAM/B,2EAAgB,EAEZ,YAAa,EAAE,GAAI,EAEnB,yFAAc,EACV,WAAY,EAAE,GAAI,EAClB,KAAM,EAAE,KAAM,EAEd,qGAAY,EACR,KAAM,EAAE,AAAC,EACT,aAAc,EAAE,KAAM,EAI9B,yFAAc,EACV,IAAK,EAAE,GAAI,EAS/B,0BAAW,EACP,IAAK,EAAE,GAAI,EEpXnB,SAAU,EACN,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,qBAAW,EACP,KAAM,EAAE,aAAc,EAE1B,eAAK,EACD,IAAK,EAAE,GAAI,EACX,kBAAE,EACE,KAAM,EAAE,aAAc,EACtB,UAAW,EAAE,KAAM,EACnB,MAAO,EAAE,GAAI,EACb,SAAU,EAAE,KAAM,EAG1B,eAAK,EACD,SAAU,EAAE,GAAI,EAChB,kBAAE,EACE,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,aAAc,EAAE,KAAM,EACtB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EAErB,qBAAK,EACD,IAAK,EAAE,EAAG,EAEd,qBAAK,EACD,IAAK,EAAE,EAAG,EAEd,qBAAK,EACD,IAAK,EAAE,EAAG,EAId,gCAAa,EACT,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,KAAM,EACf,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,IAAK,EAElB,gCAAa,EACT,IAAK,EAAE,GAAI,EACX,UAAW,EAAC,GAAI,EAChB,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,GAAI,EAChB,kCAAC,EACG,IAAK,EAAE,MAAO,EACd,cAAe,EAAE,GAAI,EACrB,MAAO,EAAE,IAAK,EACd,wCAAO,EACH,cAAe,EAAE,QAAS,EAK1C,uBAAa,EACT,MAAO,EAAE,GAAI,EACb,4BAAI,EACA,IAAK,EAAE,iBAAiB,EAE5B,+BAAO,EACH,IAAK,EAAE,cAAc,EAEzB,+BAAO,EACH,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EAGX,+BAAE,EACE,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,eAAgB,EACzB,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,GAAI,EAChB,KAAM,EAAE,EAAG,EACX,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,WAAY,EACrB,KAAM,EAAE,MAAO,EACf,SAAU,EAAE,0EAA2E,EACvF,YAAa,EAAC,EAAG,EAErB,+BAAE,EACM,MAAO,EAAE,GAAI,EACb,KAAM,EAAE,aAAc,EACtB,MAAO,EAAE,QAAS,EAClB,YAAa,EAAE,GAAI,EAG/B,gCAAQ,EACJ,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,gBAAiB,EACzB,aAAc,EAAE,EAAG,EAEvB,iCAAS,EACL,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,gBAAiB,EACzB,aAAc,EAAE,EAAG,EAEvB,kCAAU,EACN,SAAU,EAAE,IAAK,EACjB,wCAAK,EACD,MAAO,EAAE,WAAY,EACrB,SAAU,EAAE,GAAI,EAChB,KAAM,EAAE,aAAc,EACtB,YAAa,EAAE,EAAG,EAClB,KAAM,EAAE,GAAI,EAEhB,sCAAG,EACC,eAAgB,EAAE,GAAI,EACtB,IAAK,EAAC,GAAI,EAGlB,kCAAU,EACN,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,uCAAI,EACD,SAAU,EAAE,GAAI,EAChB,0CAAE,EACD,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,wEAAyE,EAMzF,yCAAE,EACE,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,OAAQ,EACjB,UAAW,EAAE,GAAI,EACjB,+CAAK,EACD,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,WAAY,EAEzB,kDAAQ,EACJ,IAAK,EAAE,IAAK,EAKpB,iDAAQ,EACJ,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EAEhB,8CAAK,EACD,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,GAAI,EAGnB,mCAAW,EACP,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,EAAG,EACV,IAAK,EAAE,IAAK,EACZ,+CAAW,EACP,SAAU,EAAE,IAAK,EACjB,aAAc,EAAE,GAAI,EACpB,qDAAK,EACD,YAAa,EAAE,GAAI,EAEvB,kDAAE,EACE,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,GAAI,EAChB,MAAO,EAAE,WAAY,EAEzB,iDAAC,EACG,IAAK,EAAE,MAAO,EACd,cAAe,EAAE,QAAS,EAGlC,wCAAI,EACA,SAAU,EAAE,IAAK,EAKrB,yCAAE,EACE,SAAU,EAAE,GAAI,EAGpB,iDAAU,EACN,MAAO,EAAE,KAAM,EACf,0DAAQ,EACJ,IAAK,EAAE,GAAI,EAMnB,uCAAE,EACE,SAAU,EAAE,IAAK,EAErB,6CAAQ,EACJ,IAAK,EAAE,GAAI,EAEf,sCAAC,EACG,MAAO,EAAE,KAAM,EAOvB,oBAAC,EACG,MAAO,EAAE,OAAQ,EACjB,QAAS,EAAE,GAAI,EACf,SAAU,EAAE,IAAK,EACjB,IAAK,EAAE,GAAI,EACX,uBAAE,EACE,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EAGvB,6BAAU,EACN,MAAO,EAAE,gBAAiB,EAC1B,qCAAO,EACC,IAAK,EAAE,IAAK,EACZ,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,GAAI,EACZ,MAAO,EAAE,EAAG,EACZ,SAAU,EAAE,KAAM,EAClB,KAAM,EAAE,EAAG,EACX,UAAW,EAAE,GAAI,EACjB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,iEAAkE,EAC9E,MAAO,EAAE,WAAY,EACrB,KAAM,EAAE,MAAO,ECzOnC,SAAW,EACP,SAAU,EAAE,GAAI,EAEhB,0BAAiB,EACb,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,IAAK,EACb,OAAQ,EAAE,KAAM,EAGpB,yBAAgB,EACZ,KAAM,EAAE,KAAM,EAEd,qCAAY,EACR,MAAO,EAAE,IAAK,EACd,IAAK,EAAE,IAAK,EACZ,WAAY,EAAE,GAAI,EAClB,MAAO,EAAE,KAAM,EACf,SAAU,EAAE,MAAO,EAEnB,uFACO,EACH,IAAK,EAAE,IAAK,EAGhB,0CAAO,EACH,WAAY,EAAE,AAAC,EAIvB,qCAAY,EACR,WAAY,EAAE,IAAK,EACnB,QAAS,EAAE,GAAI,EAGnB,+BAAM,EACF,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,gBAAiB,EAAE,QAAS,EAE5B,mCAAM,EACF,eAAgB,EAAE,+CAA6B,EAGnD,wCAAW,EACP,eAAgB,EAAE,gDAA8B,EAGpD,yCAAY,EACR,eAAgB,EAAE,iDAA+B,EAIzD,gCAAO,EACH,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,UAAW,EAAE,GAAI,EAIzB,sBAAa,EACT,KAAM,EAAE,aAAc,EACtB,IAAK,EAAE,IAAK,EACZ,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,KAAM,EAAE,aAAc,EAItB,qCAAgB,EACZ,IAAK,EAAE,KAAY,EAEnB,2CAAM,EACF,IAAK,EAAE,IAAK,EACZ,WAAY,EAAE,EAAG,EACjB,YAAa,EAAE,GAAI,EAGvB,0CAAK,EACD,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,IAAK,EAGjB,2CAAM,EtCwQhB,cAAwC,EoC1U5B,SAAmB,EpC0U/B,iBAAwC,EoC1U5B,SAAmB,EpC0U/B,SAAwC,EoC1U5B,SAAmB,EEoEjB,OAAQ,EAAE,OAAQ,EAClB,GAAI,EAAE,AAAC,EACP,KAAM,EAAE,AAAC,EACT,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,KAAM,EACf,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,IAAK,EACjB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,MAAO,EAGvB,6CAAQ,EACJ,SAAU,EAAE,MAAO,EAGvB,4CAAO,EACH,KAAM,EAAE,UAAW,EAGvB,2CAAM,EACF,MAAO,EAAE,eAAgB,EACzB,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,MAAO,EAGlB,+CAAU,EACN,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EAEjB,oDAAK,EACD,QAAS,EAAE,GAAI,EAK3B,iCAAY,EACR,IAAK,EAAE,KAAY,EAEnB,uCAAM,EACF,IAAK,EAAE,IAAK,EACZ,WAAY,EAAE,EAAG,EACjB,YAAa,EAAE,GAAI,EAGvB,sCAAK,EACD,IAAK,EAAE,GAAI,EACX,MAAO,EAAE,IAAK,EAGlB,yCAAQ,EACJ,MAAO,EAAE,QAAS,EAClB,SAAU,EAAE,MAAO,EACnB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EAGrB,wCAAO,EACH,QAAS,EAAE,GAAI,EAGnB,uCAAM,EACF,QAAS,EAAE,GAAI,EAK3B,sBAAa,EACT,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,EAAG,EACV,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,eAAgB,EAAE,MAAO,EACzB,SAAU,EAAE,KAAM,EAClB,eAAgB,EAAE,MAAO,EACzB,IAAK,EAAE,MAAO,EACd,YAAa,EAAE,GAAI,EACnB,6BAAS,EACP,IAAK,EAAE,GAAI,EACX,gBAAiB,EAAE,QAAS,EAC5B,cAAe,EAAE,QAAS,EAG1B,mCAAS,EACP,IAAK,EAAE,GAAI,EACX,eAAgB,EAAE,8DAA4C,EAC9D,gBAAiB,EAAE,QAAS,EAC5B,cAAe,EAAE,QAAS,EAE5B,yCAAe,EACb,eAAgB,EAAE,6DAA2C,EAE/D,wCAAc,EACZ,eAAgB,EAAE,4DAA0C,EAI9D,oCAAS,EACP,IAAK,EAAE,GAAI,EACX,eAAgB,EAAE,+DAA6C,EAC/D,gBAAiB,EAAE,QAAS,EAC5B,cAAe,EAAE,QAAS,EAE5B,0CAAe,EACb,eAAgB,EAAE,8DAA4C,EAEhE,yCAAc,EACZ,eAAgB,EAAE,6DAA2C,EAI/D,iCAAS,EACP,IAAK,EAAE,GAAI,EACX,eAAgB,EAAE,4DAA0C,EAC5D,gBAAiB,EAAE,QAAS,EAC5B,cAAe,EAAE,QAAS,EAE5B,uCAAe,EACb,eAAgB,EAAE,2DAAyC,EAE7D,sCAAc,EACZ,eAAgB,EAAE,0DAAwC,EAKlE,oCAAsC,EAClC,uBAAc,EACZ,KAAM,EAAE,UAAW,EACnB,uCAAgB,EACd,MAAO,EAAE,OAAQ,GAKzB,4BAAmB,EACf,IAAK,EAAE,KAAM,EAGjB,yBAAgB,EACZ,IAAK,EAAE,GAAI,EACX,IAAK,EAAE,IAAK,EACZ,KAAM,EAAE,SAAU,EAGtB,wBAAe,EACX,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,IAAK,EACb,SAAU,EAAE,KAAM,EAClB,4BAAI,EACF,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,aAAc,EAAE,KAAM,EAExB,iCAAS,EACP,OAAQ,EAAE,OAAQ,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,EAAG,EAAE,GAAI,EACT,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,0DAA2D,EACvE,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EAEb,iCAAS,EACP,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,AAAC,EACT,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,SAAU,EAAE,MAAO,EACnB,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAClB,QAAS,EAAE,GAAI,EAIrB,4BAAmB,EACf,MAAO,EAAE,SAAU,EACnB,KAAM,EAAE,GAAI,EACZ,OAAQ,EAAE,KAAM,EAChB,4CAAgB,EACd,QAAS,EAAE,GAAI,EACf,IAAK,EAAE,GAAI,EACX,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,KAAM,EAEpB,6CAAiB,EACf,OAAQ,EAAE,OAAQ,EAClB,KAAM,EAAE,QAAS,EACjB,SAAU,EAAE,KAAM,EAClB,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EACX,kDAAK,EACH,MAAO,EAAE,WAAY,EACrB,OAAQ,EAAE,KAAM,EAChB,IAAK,EAAE,AAAC,EACR,QAAS,EAAE,GAAI,EACf,MAAO,EAAE,KAAM,EACf,yDAAS,EACP,cAAe,EAAE,WAAY,EAGjC,oDAAO,EACL,UAAW,EAAE,KAAM,EACnB,IAAK,EAAE,MAAO,EACd,QAAS,EAAE,GAAI,EAEjB,0DAAa,EACX,eAAgB,EAAE,2CAAyB,EAC3C,gBAAiB,EAAE,QAAS,EAC5B,cAAe,EAAE,OAAQ,EACzB,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,KAAM,EAClB,WAAY,EAAE,EAAG,EAEnB,yDAAY,EACV,UAAW,EAAE,GAAI,EACjB,WAAY,EAAE,GAAI,EAClB,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,GAAI,EACZ,UAAW,EAAE,GAAI,EACjB,SAAU,EAAE,2DAA4D,EACxE,IAAK,EAAE,GAAI,EAKnB,oCAAsC,EAClC,4BAAmB,EACjB,IAAK,EAAE,KAAM,EAEf,yBAAgB,EACd,IAAK,EAAE,IAAK,EAEd,wBAAe,EACb,KAAM,EAAE,IAAK,EAEf,4BAAmB,EACjB,MAAO,EAAE,SAAU,EACnB,KAAM,EAAE,GAAI,GAQlB,0BAAY,EACR,KAAM,EAAE,KAAM,EACd,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EAEjB,iCAAO,EACH,WAAY,EAAE,GAAI,EAClB,QAAS,EAAE,GAAI,EAGnB,oCAAU,EACN,MAAO,EAAE,WAAY,EACrB,WAAY,EAAE,GAAI,EAClB,MAAO,EAAE,KAAM,EACf,UAAW,EAAE,MAAO,EACpB,UAAW,EAAE,GAAI,EACjB,aAAc,EAAE,UAAW,EAC3B,IAAK,EAAE,GAAI,EACX,SAAU,EAAE,MAAO,EAInB,0CAAU,EACN,WAAY,EAAE,EAAG,EAK7B,oBAAM,EACF,MAAO,EAAE,GAAI,EACb,KAAM,EAAE,gBAAiB,EAEzB,uBAAG,EACC,MAAO,EAAE,WAAY,EACrB,WAAY,EAAE,GAAI,EAClB,MAAO,EAAE,KAAM,EACf,QAAS,EAAE,GAAI,EACf,UAAW,EAAE,GAAI,EACjB,IAAK,EAAE,GAAI,EAEX,6BAAQ,EACJ,WAAY,EAAE,AAAC,EACf,UAAW,EAAE,GAAI,EAGrB,8BAAS,EACL,IAAK,EAAE,GAAI,EACX,KAAM,EAAE,aAAc", +"sources": ["file:///C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss","../../../sass/_header.scss","file:///C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_inline-block.scss","../../../sass/_footer.scss","../../../sass/_path-nav.scss","../../../sass/plugin/_slider.scss","file:///C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/_support.scss","file:///C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_border-radius.scss","file:///C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_opacity.scss","../../../sass/_pager.scss","../../../sass/index.scss","../../../sass/home/_index.scss","../../../sass/home/_index1150.scss","../../../sass/home/_index-pliffy.scss","../../../sass/product/_search.scss","../../../sass/product/_list.scss","file:///C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_transition.scss","file:///C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_transform.scss","../../../sass/product/_new-sale.scss","../../../sass/product/_filter-box.scss","../../../sass/product/_sort-pager.scss","../../../sass/product/_good.scss","file:///C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/typography/text/_ellipsis.scss","file:///C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_deprecated-support.scss","../../../sass/product/_latest-walk.scss","../../../sass/product/_left-content.scss","../../../sass/product/_no-result.scss","../../../sass/product/_hot-rank.scss","../../../sass/product/_shop-entry.scss","../../../sass/product/_index.scss","../../../sass/guang/_index.scss","../../../sass/guang/_home.scss","../../../sass/guang/_detail.scss","../../../sass/guang/_list.scss","../../../sass/passport/_index.scss","../../../sass/passport/_login.scss","../../../sass/passport/_register.scss","../../../sass/passport/_back.scss","../../../sass/passport/_welcome.scss","../../../sass/passport/_third.scss","../../../sass/_error.scss","../../../sass/order/_save.scss","file:///C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_box-sizing.scss","../../../sass/order/_pay.scss","../../../sass/sale/_index.scss"], +"names": [], +"file": "index.css" +} \ No newline at end of file diff --git a/web-static/dist/yohobuy/0.0.4/index.js b/web-static/dist/yohobuy/0.0.4/index.js new file mode 100644 index 0000000..c50ae90 --- /dev/null +++ b/web-static/dist/yohobuy/0.0.4/index.js @@ -0,0 +1,3 @@ +define("index",["jquery","handlebars","source-map","index","lazyload","jquery.placeholder"],function(e,t,n){var i;e("js/common"),e("js/header"),e("js/simple-header"),e("js/product/entry"),e("js/home/entry"),e("js/passport/entry"),n.exports=i}),define("js/common",["jquery"],function(e,t,n){function i(e){var t=new RegExp(e+"=([^;$]*)","i"),n="$1";return t.test(decodeURIComponent(document.cookie))?RegExp[n]:""}function a(e,t,n){var i,a,o,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:"",a=n.domain?"; domain="+n.domain:"",o=n.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(t),r,i,a,o].join(""))}function o(){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=o();return 0===e?0:e[1]}function r(){var e=i("_g");return"undefined"==typeof e?"":JSON.parse(e).k}function l(){var e,t,n={},i=window.location.search,a=i?decodeURIComponent(i).slice(1).split("&"):[];for(t=0;t<a.length;t++)e=a[t].split("="),n[e[0]]=e[1];return n}var d=e("jquery"),c=d("body");e("js/footer"),function(e,t,n,i,a){var o=t.createElement(n),s=t.getElementsByTagName(n)[0];e.YohoAcquisitionObject=a,e[a]=function(){e[a].p=arguments},o.async=1,o.src=i,s.parentNode.insertBefore(o,s)}(window,document,"script","http://cdn.yoho.cn/yas-jssdk/1.0.14/yas.js","_yas"),function(){var e=s();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.14","yohobuy_web",e,"","")}(),d(window).on("resize",function(){var e=d(this).width();1360>e?d(".return-top").addClass("min"):d(".return-top").removeClass("min"),1180>e?c.addClass("min-screen"):c.removeClass("min-screen")}).trigger("resize"),window.cookie=i,window.setCookie=a,window.getUser=o,window.getUid=s,window.getShoppingKey=r,window.queryString=l}),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={mail:"",tick:""};e.focus(function(){s(this).val("").css("color",""),t.removeClass("done").html(i.mail)}),t.click(function(){var a=s.trim(e.val());if(""!==a&&n.test(a))try{s.ajax({url:"http://new.yohobuy.com/common/emailsubscriber",dataType:"jsonp",data:{email:a,tmp:Math.random(),uid:window.getUid()},success:function(n){1===n.data.result?(e.val("已订阅到:"+a),t.addClass("done").html(i.tick)):e.css("color","red")}})}catch(o){console.log(o.message)}else e.css("color","red")})}function a(){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),a=i.closest("li"),o=a.index(),r=[],l=a.find(".feedback-answer").val(),d=a.find(".feedback-id").val(),c=a.find(".question-id").val();a.find(":checked").each(function(){r.push(s(this).val())}),s.ajax({url:"http://new.yohobuy.com/common/suggestfeedback",dataType:"jsonp",data:{feedback_id:d||0,question_id:c||0,answer:l||"",solution:r.join(",")},success:function(i){var s=o+1;if(1===~~i.data.result){if(o===n-1)return void alert("感谢您的参与!");a.addClass("hide"),e.children(":eq("+(o+1)+")").removeClass("hide"),t.children(".cur").removeClass("cur"),t.children(":eq("+s+")").addClass("cur")}}})})}function o(){s(window).height()>s(document).height()&&r.addClass("hide")}var s=e("jquery"),r=s(".return-top");r.click(function(){s("html,body").animate({scrollTop:0},500)}),s(window).scroll(function(){0===s(window).scrollTop()?r.addClass("hide"):r.removeClass("hide")}),r.hasClass("hide")&&s("img").load(o),i(),a(),window.rePosReturnTop=o}),define("js/header",["jquery","handlebars","source-map","index"],function(e,t,n){function i(e,t,n){try{ee.push({louceng:e,weizhi:t,event:n})}catch(i){}}function a(){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 o(){var e={cookie:"_g",cartNum:""},t="",n="",i=0,a=0,o=0,s=0,r="";N.fn.miniCart=function(i){if(t=N.extend(e,i),"undefined"==typeof window.cookie(t.cookie))n=null;else if(t.cookie)try{n=G.parse(window.cookie(t.cookie))}catch(a){}null!==n&&""!==n&&(s=parseInt(n._nac)+parseInt(n._ac),0===s?N("#icart-num").attr("class","icart-num icart-none"):N("#icart-num").attr("class","icart-num"),N(t.cartNum).html(s))},N.fn.search=function(e){function t(t){var n=N.trim(N(t).val());return n=n.replace(new RegExp("'","gm"),""),""===n?(N(".search-list").hide(),!1):(n=encodeURI(n),void N.get(e+"?query="+n,function(e){N(".search-list").html(e.data),i=N(".search-list").children("li").length,a=-1,i>0?N(".search-list").show():N(".search-list").hide(),N(".search-list").find("a").hover(function(){N(this).css("background-color","#eee")},function(){N(this).css("background-color","#fff")})},"jsonp"))}function n(e){N(".search-list li:eq("+o+")").children("a").css("background-color","#fff"),N(".search-list li:eq("+a+")").children("a").css("background-color","#eee"),r=N(".search-list li:eq("+a+")").children("a").attr("title"),N("#query_key").val(r)}return this.each(function(){N(this).keyup(function(e){if(38===e.which){if(0===i)return!1;-1===a&&(a=0),o=a,a=(a-1+i)%i,n(this)}else if(40===e.which){if(0===i)return!1;o=a,a=(a+1)%i,n(this)}else 13===e.which?window.submitSearch():t(this)})})},N.extend({getData:function(e,t,n){var i={page:1,method:"",v:1,return_type:"jsonp",open_key:"12345",tmp:Math.random()},a="";if(void 0===typeof e||""===e)return!1;if(a=N.extend(i,t),a.page=a.page||1,""===a.method)return!1;try{N.getJSON(e+"/?callback=?",a,function(e){return""!==n?("undefined"!=typeof n(e.data)&&G.parse(n(e.data)),!1):void 0})}catch(o){console.log(o.message)}},getShoppingKey:function(){var e=window.cookie("_g"),t=G.parse(e);return"undefined"==typeof e||null===e?"":t._k}})}function s(e){var t;200===+e.code&&"object"==typeof e.data&&(t=""!==e.data.url?'<a target="_blank" href="'+e.data.url+'" class="page-top-banner"style="height:36px;border:none;background-image:url('+window.unescape(e.data.src)+');background-position: center;display:block;"> </a>':'<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("body").prepend(t))}function r(e){var t=document.createElement("script");t.src=le+e+"&client_type=web&callback=JsonPCallBack",document.getElementsByTagName("head")[0].appendChild(t)}function l(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 d(){var e,t,n=[{sourceClass:".myyoho",targetClass:".myyoho-info"},{sourceClass:".phone",targetClass:".qr"}];for(t=0;t<n.length;t++)e=n[t],l(e.sourceClass,e.targetClass)}function c(){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 h(){var e=["webkit","moz","ms"],t=e[0]+"RequestAnimationFrame",n=e[1]+"RequestAnimationFrame",i=e[2]+"RequestAnimationFrame";return window[t]?function(e){requestAnimationFrame(e)}:window[n]?function(e){window[n](e)}:window[i]?function(e){window[i](e)}:function(e){window.setTimeout(e,67)}}function f(){ne+=10,ie.css({transform:"rotateX("+ne+"deg)","-webkit-transform":"rotateX("+ne+"deg)","-moz-transform":"rotateX("+ne+"deg)"}),ne/90%2===1&&(ae?(ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo1.png)"),ae=!1):(ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),ae=!0)),ne/90%2===0&&ne%360!==0?window.setTimeout(f,3e3):ne%360===0?window.setTimeout(f,6e4):te(function(){f()})}function p(){H&&window.clearTimeout(H),ie.fadeOut(oe,function(){ae=!1,ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo.png)"),ie.fadeIn(oe,function(){L=window.setTimeout(function(){ie.fadeOut(oe,function(){window.clearTimeout(L),ae=!0,ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),ie.fadeIn(oe,function(){H=window.setTimeout(p,6e4)})})},3e3)})})}function m(){u()?(te=h(),window.setTimeout(f,3e3)):window.setTimeout(p,3e3)}function g(e){var t=N(e);t.find(".thirdnavbar").each(function(){var e=N(this),t=e.find("a"),n=t.attr("href"),i="hot"===t.attr("hot")?!0:!1,a={};a=e.hasClass("category-title")?{type:"title",height:49,content:e.text(),index:window.valueIndex,href:n,hot:!1}:{type:"catlist",height:36,content:t.text(),index:window.valueIndex,href:n,hot:i},window.valueIndex++,window.newArr.push(a)})}function v(){var e=window.newArr.length,t=0,n=[],i=[],a=[],o=[],s="",r="",l="",d=0,c=0,u=0;for(t;e>t;t++){if(n=window.newArr[t],0===window.gindex&&(window.oh1=window.oh1+n.height,window.oh1>=340&&t!==e-1&&(window.targetArr1=window.newArr.slice(0,n.index+1),window.nowIndex=n.index+1,window.gindex++),t===e-1)){window.targetArr1=window.newArr.slice(0,e+1);break}if(1===window.gindex&&(window.oh2=window.oh2+n.height,window.oh2>=340&&t!==e-1&&(window.targetArr2=window.newArr.slice(window.nowIndex,n.index+1),window.nowIndex=n.index+1,window.gindex++),t===e-1)){window.targetArr2=window.newArr.slice(window.nowIndex,e+1);break}if(2===window.gindex){if(window.oh3=window.oh3+n.height,window.oh3>=340&&t!==e-1){window.targetArr3=window.newArr.slice(window.nowIndex,n.index+1),window.nowIndex=n.index+1,window.gindex++;break}if(t===e-1){window.targetArr3=window.newArr.slice(window.nowIndex,e+1);break}}}for(d;d<window.targetArr1.length;d++)i=window.targetArr1[d]||{},"title"===i.type?window.inner1=window.inner1+'<li class="cattitle"><h3><a href="'+i.href+'">'+i.content+"</a></h3></li>":i.hot===!0?window.inner1=window.inner1+'<li class="catdetail"><a class="thirdcatelink hot" href="'+i.href+'">'+i.content+"</a></li>":window.inner1=window.inner1+'<li class="catdetail"><a class="thirdcatelink" href="'+i.href+'">'+i.content+"</a></li>";for(c;c<window.targetArr2.length;c++)a=window.targetArr2[c]||{},"title"===a.type?window.inner2=window.inner2+'<li class="cattitle"><h3><a href="'+a.href+'">'+a.content+"</a></h3></li>":a.hot===!0?window.inner2=window.inner2+'<li class="catdetail"><a class="thirdcatelink hot" href="'+a.href+'">'+a.content+"</a></li>":window.inner2=window.inner2+'<li class="catdetail"><a class="thirdcatelink" href="'+a.href+'">'+a.content+"</a></li>";for(u;u<window.targetArr3.length;u++)o=window.targetArr3[u]||{},"title"===o.type?window.inner3=window.inner3+'<li class="cattitle"><h3><a href="'+o.href+'">'+o.content+"</a></h3></li>":o.hot===!0?window.inner3=window.inner3+'<li class="catdetail"><a class="thirdcatelink hot" href="'+o.href+'">'+o.content+"</a></li>":window.inner3=window.inner3+'<li class="catdetail"><a class="thirdcatelink" href="'+o.href+'">'+o.content+"</a></li>";""!==window.inner1&&(s='<ul class="cate_row1 cate_row">'+window.inner1+"</ul>"),""!==window.inner2&&(r='<ul class="cate_row2 cate_row">'+window.inner2+"</ul>"),""!==window.inner3&&(l='<ul class="cate_row3 cate_row">'+window.inner3+"</ul>"),window.finalresult=s+r+l,N("#"+window.wrapperindex).empty().append(window.finalresult)}function w(){N(".categorywrapper").each(function(e){window.wrapperindex=N(this).attr("id"),window.newArr=[],window.gindex=0,window.targetArr1=[],window.targetArr2=[],window.targetArr3=[],window.oh1=0,window.oh2=0,window.oh3=0,window.valueIndex=0,window.nowIndex=0,window.inner1="",window.inner2="",window.inner3="",g(N(this).find(".category")),v()})}function y(){var e={},t="",n="",i="",a="",o="";N(document).on("mouseenter",".sub-nav-item",function(){t=N(this).find(".showdetail").attr("data-code"),t&&(e[t]||(e[t]=t,n=N(this).find(".showdetail").find("img"),i=N(this).find(".showdetail").find(".title"),a=N(this).find(".showdetail").find("a"),N.get(le+t+"&width=337&height=250&client_type=web",function(e){n.attr("src",e.data.src),a.attr("href",e.data.url),i.text(e.data.title)},"jsonp")))}),o=N(".cure").find(".name-cn").find("a").attr("href"),N(".main-link").attr("href",o)}function b(){var e=N("#cover");e.remove()}function C(){var e,t=window.cookie("_Gender"),n="",a="",o="",s="";"http://www.yohobuy.com/"!==window.location.href||"undefined"!=typeof t&&""!==t&&null!==t||N.get("http://www.yohobuy.com/index/guide",function(t){n=document.createElement("div"),n.id="cover",n.innerHTML=t,document.body.appendChild(n),a=N(window).height(),o=N(".guide-box").height(),e=a/2-o/2,s=N(".guide-box .clear").find("li").length,N(".guide-box").css({width:200*s+"px",top:e+"px"}),N("#cover").bind("click",function(e){window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),N("#cover .guide-box .close").bind("click",function(e){i("弹窗","CLOSE","homepage_man"),window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),N(".boys img , .boys .go").bind("click",function(e){i("弹窗","BOYS","homepage_man"),window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),N(".girls img, .girls .go").bind("click",function(e){i("弹窗","GIRLS","homepage_woman"),window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})}),N(".lifestyle img, .lifestyle .go").bind("click",function(e){window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),i("弹窗","LIEFSTYLE","homepage_lifestyle")}),N("#cover .guide-box").bind("click",function(e){e.stopPropagation()})})}function a(){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 x(){var e=window.cookie("_Gender"),t=N(".cure");"undefined"!=typeof e&&""!==e&&window.setCookie("_Gender",1,{path:"/",domain:".yohobuy.com",expires:7}),"男生"===t.find(".name-cn a").text()&&(window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7})),"女生"===t.find(".name-cn a").text()&&(window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})),"创意生活"===t.find(".name-cn a").text()&&window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),"潮童"===t.find(".name-cn a").text()&&window.setCookie("_Channel","kids",{path:"/",domain:".yohobuy.com",expires:7})}function k(){var e,t,n,i=document.cookie,a=i.split(";");for(e=0;e<a.length;e++)t=a[e].split("="),"undefined"!=typeof t[0]&&(n=t[0].replace(/\s/g,""),re[n]=t[1])}function _(){N("#miniCartBox").miniCart({cartNum:".ic-infomation"})}function j(){var e,t,n;N.getData(X,{method:"open.Shoppingcart.getCartData",shopping_key:N.getShoppingKey()},function(i){""===J&&(J=Y.compile(N("#mini-cart-tpl").html())),N("#miniCartBox").children(".gobuy-wrapper").html(J({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=window.cookie("_g"),t=G.parse(e),null!==t&&(n='{"_k":"'+t._k+'","_nac":0,"_ac":0,"_r":0}',window.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 q(e,t){N.getData(X,{method:"open.Shoppingcart.delone",shopping_key:N.getShoppingKey(),id:e,isreduce:t},function(e){var t=window.cookie("_g"),n=G.parse(t),i='{"_k":"'+n._k+'","_nac":'+e.total_goods_num+',"_ac":0,"_r":0}';window.setCookie("_g",i,{path:"/",domain:".yohobuy.com"}),j(),_()})}function T(){var e,t,n;N(document).on("click",".goodscardelete",function(i){e=N(this),t=e.attr("goodsid"),n=e.attr("cheapest"),q(t,n)})}function A(){var e;N(document).on("click",".mycart_i_down",function(t){e=N(this),e.toggleClass("mycart_i_up"),N("#mycartmore").slideToggle(300)})}function I(){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 S(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>'),j()):N("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>')):(N("#miniCartBox").removeClass("list-cur"),N(".gobuy-wrapper").hide())}function O(){var e;N("#miniCartBox").mouseenter(function(t){e=N(t.target),("miniCartBox"===e.attr("id")||"ic-infomation"===e.attr("class"))&&S(1)}),N("#miniCartBox").mouseleave(function(e){S(0)})}function z(){var e,t="indexkids",n="indexlifestyle",i="indexboys",a="indexgirls",o="uniquebrand",s=window.location.href,l=window.location.host,d="";-1!==s.indexOf("search")&&(d=se["search"+re._Channel]),-1!==s.indexOf("list")&&(d=se["list"+re._Channel]),-1!==s.indexOf("brands")&&(d=se["brands"+re._Channel]),-1!==s.indexOf("new")&&(d=se["new"+re._Channel]),-1!==s.indexOf("sale")&&(d=se["sale"+re._Channel]),-1!==s.indexOf("home")&&(d=se["home"+re._Channel]),-1!==s.indexOf("kids")&&(d=se[t]),(-1!==s.indexOf("woman")||-1!==s.indexOf("girls"))&&(d=se[a]),-1!==s.indexOf("lifestyle")&&(d=se[n]),-1!==s.indexOf("www.yohobuy.com")&&"/"===window.location.pathname&&(d=se[i]),e=l.split(".")[0],"list"!==e&&"search"!==e&&"www"!==e&&"new"!==e&&"item"!==e&&"guang"!==e&&(d=se[o+re._Channel]),r(d)}function P(e){N(".hot-brands").find("ul").stop().animate({opacity:0,"z-index":1},200).eq(e).animate({opacity:1,"z-index":2},200)}function E(){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++,P(t)}),N(".brands-control").on("click",".prev",function(){0===t?t=e-1:t--,P(t)}))}function B(){setInterval(_,2e3)}function $(){var e=N("#goodcartempwarpper"),t="";e&&e.html()&&(t=N("#goodcartempwarpper").html().replace(/\\/g,""),N("#goodcartempwarpper").html(t),Z=Y.compile(N("#tmpl-my-login-new").html()))}function M(){var e="http://search.yohobuy.com/api/suggest";N("#query_key").search(e)}function U(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}}',a=N("#loginBox"),o=window.cookie("_UID"),s=e.data.profile_name,r=0,l=0,d="",c=o.split("::"),u=c[0]||" ",h="http://www.yohobuy.com/logout_",f="1",p=0,m={user_name:s,logout:h+e.data.token+".html",random:Math.random()};if(W=Y.compile(i),"undefined"==typeof o||null===o)return a.html(n),!1;if("undefined"==typeof c||c.length<4)return a.html(n),!1;for(l;l<u.length;l++)d=u.substr(l,1),r+=/.*[\u4e00-\u9fa5]+.*$/.test(d)?2:1;if(10>=r)s=u;else{for(p=0,l;l<u.length;l++)10>p&&(d=u.substr(l,1),"*"!==d&&(p+=/.*[\u4e00-\u9fa5]+.*$/.test(d)?2:1),s+=d);s.length<u.length&&(s+="...")}h=/http:\/\//.test(c[3])?c[3].replace("www.yohobuy.com","www.yohobuy.com"):"http://www.yohobuy.com/logout_"+c[3]+".html",-1===e.result&&(f="-1"),m.islogin=f,a.html(W(m))}function D(e){var t=e.data,n="";if(1===e.result){if(void 0===typeof t||t.length<1)return!1;"3"===t.vip.curVipInfo.curLevel&&(t.vip3=!0),N("#myYohoBox").mouseenter(function(){return N(this).addClass("acttags"),N("#myYohoBox .myyoho-info").show().html(Z(t)),n=N(".myyoho-photo img").attr("data-url"),1===N._checkUrlState?void N(".myyoho-photo").show().find("img").attr("src",n):void(""!==n&&""===N._checkUrl&&N.ajax({url:n,type:"GET",complete:function(e){(200===e.status||0===e.status)&&(N(".myyoho-photo").show().find("img").attr("src",n),N._checkUrlState=1),N._checkUrl=n}}))}),N("#myYohoBox").mouseleave(function(){N(this).removeClass("acttags"),N("#myYohoBox .myyoho-info").hide()})}}function R(){var e={method:"open.passport.get"};N.getData(X,e,function(e){-1!==e.result&&(U(e),D(e))})}function F(){w(),y(),$(),C(),x(),k(),o(),c(),d(),m(),z(),E(),a(),O(),_(),B(),M(),I(),T(),A(),R(),a()}var H,L,N=e("jquery"),Y=e("handlebars"),G=e("index"),Z=null,W=null,X=N("#api-domain").val(),J="",K=/^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/\s]{0,}$/g,Q="",V="",ee=[],te=null,ne=0,ie=N(".icon-logo"),ae=!0,oe=500,se={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"},re={},le="http://new.yohobuy.com/common/getbanner?content_code=";N("#api-domain").remove(),window.submitSearch=function(){var e,t,n=N("#query_key").val(),a="Search",o="Head Search",s="Search";if(e=N.trim(Q.toLowerCase()),t=N.trim(n.toLowerCase()),i(a,o,s),""!==V&&""!==Q&&e===t)location.href=V.replace("'","");else{if(!K.test(n))return N("#searchForm").submit(),!1;location.href="http://search.yohobuy.com/error?query="+n+"&result=error"}},Y.registerHelper("equalone",function(e,t){return"1"===e?t.fn(this):t.inverse(this)}),Y.registerHelper("timestamp",function(){return(new Date).getTime()}),Y.registerHelper("headerimg",function(e){return""===e?"http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100":e}),Y.registerHelper("equallevelthree",function(e,t){return"3"===e?t.fn(this):t.inverse(this)}),Y.registerHelper("equalzero",function(e,t){return"0"===e?t.fn(this):t.inverse(this)}),window.JsonPCallBack=s,window.newArr=[],window.wrapperindex=0,window.gindex=0,window.targetArr1=[],window.targetArr2=[],window.targetArr3=[],window.oh1=0,window.oh2=0,window.oh3=0,window.valueIndex=0,window.nowIndex=0,window.inner1="",window.inner2="",window.inner3="",window.finalresult="",F()}),define("js/simple-header",["jquery"],function(e,t,n){function i(e){var t,n,i,a=0,o=0;for(i=0;i<e.length;i++)n=e.substr(i,1),o+=/.*[\u4e00-\u9fa5]+.*$/.test(n)?2:1;if(10>=o)t=e;else{for(a=0,t="",i=0;i<e.length;i++)10>a&&(n=e.substr(i,1),"*"!==n&&(a+=/.*[\u4e00-\u9fa5]+.*$/.test(n)?2:1),t+=n);t.length<e.length&&(t+="...")}return t}function a(e){var t,n;e&&e.href&&e.href.user?(n=i(e.href.user),t='<span>Hi~</span><a href="">'+n+'</a> <a href="'+e.href.logout+'">[退出]</a>'):(n=i(e.user),t='<span>Hi~</span><a href="">'+n+'</a> <a href="http://www.yohobuy.com/signin.html">[请登录]</a><a href="http://www.yohobuy.com/reg.html">[免费注册]</a>'),r(".header-tool li").eq(0).html(t)}function o(){r.ajax({type:"GET",url:"/common/getSimpleHeader",data:{},success:function(e){200===e.code&&a(e.data)}})}function s(){o()}var r=e("jquery");r(".simple-header").size()>0&&r(".tool-options").on("mouseenter",function(){r(this).find(".tool-select").fadeIn()}).on("mouseleave",function(){r(this).find(".tool-select").fadeOut()}),s()}),define("js/product/entry",["jquery","handlebars","source-map","lazyload"],function(e,t,n){e("js/product/list"),e("js/product/brand"),e("js/product/hotrank")}),define("js/product/list",["jquery","handlebars","source-map","lazyload"],function(e,t,n){e("js/product/filter"),e("js/product/sort-pager"),e("js/product/latest-walk"),e("js/product/product")}),define("js/product/filter",["jquery","handlebars","source-map"],function(e,t,n){function i(e){e.removeClass("checked").html(w.unchecked)}function a(){b.addClass("hide"),C.removeClass("hide")}function o(){C.addClass("hide"),b.removeClass("hide")}function s(e,t){var n,i=window.queryString();i[e]=t,n="?"+decodeURIComponent(g.param(i)),window.location.href=n}function r(e){A.children(".senior-sub:eq("+m+")").addClass("hide"),I.children(".attr:eq("+m+")").removeClass("hover"),m=-1}var l,d,c,u,h,f,p,m,g=e("jquery"),v=e("handlebars"),w={unchecked:"",checked:""},y={up:"",down:""},b=g(".brand .default"),C=g(".brand .brand-panel"),x=C.find(".attr"),k=g("#brand-more"),_=g("#brand-multi"),j=g(".ud-price-range"),q=/^\d+$/,T=g(".sort-sub-wrap"),A=g(".senior-sub-wrap"),I=g(".senior-attr-wrap"),S='{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a>{{/ size}}',O={},z=g(".filter-box .size");S=v.compile(S),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(),n=e.data("id");return e.hasClass("active")?(e.removeClass("active"),T.children(":eq("+t+")").addClass("hide"),void z.addClass("hide")):(e.siblings(".active").removeClass("active"),e.addClass("active"),T.children(":not(.hide)").addClass("hide"),T.children(":eq("+t+")").removeClass("hide"),void(z.data("load")||(O[n]?(z.find(".attr-content").html(O[n]),z.removeClass("hide")):g.ajax({url:"/product/search/sortSize",data:{msort:n}}).then(function(e){"array"===g.type(e)&&e.length?(O[n]=S({size:e}),z.find(".attr-content").html(O[n]),z.removeClass("hide")):z.addClass("hide")}))))}),k.length>0&&(l=k.children("em"),d=k.children(".iconfont")),_.click(function(){"none"===C.css("display")&&k.trigger("click"),a(),C.removeClass("hide").addClass("multi"),g(this).addClass("hide")}),k.click(function(){var e=g(this);e.hasClass("more")?(o(),l.text("更多"),d.html(y.down)):(a(),l.text("收起"),d.html(y.up)),g(this).toggleClass("more")}),g(".brands-index").on("mouseenter","span",function(){var e=g(this),t=e.data("index");e.hasClass("hover")||(e.siblings("span.hover").removeClass("hover"),e.addClass("hover"),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")||(C.find(".checked").each(function(){e.push(g(this).data("id"))}),s("brand",e.join(",")))}),g(".multi-select-cancel").click(function(){var e=g(this).closest(".multi");e.hasClass("brand-panel")&&(_.removeClass("hide"),k.trigger("click")),e.addClass("hide").removeClass("multi"),o(),i(e.find(".checkbox.checked"))}),g(".check-container").on("click",".attr",function(){var e=g(this),t=e.find(".checkbox"),n=e.closest(".brand-panel, .senior-sub").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()}),j.length>0&&(c=j.find(".limit"),u=c.filter(".min"),h=c.filter(".max"),f=j.find(".price-sure"),c.keyup(function(){var e=g.trim(u.val()),t=g.trim(h.val()),n=q.test(e),i=q.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)})),I.on("mouseenter",".attr",function(){var e=g(this),t=e.index();e.hasClass("no-sub")||(e.addClass("hover").siblings().removeClass("hover"),A.children(".senior-sub:eq("+t+")").removeClass("hide").siblings().addClass("hide"))}).on("mouseleave",".attr",function(){var e=g(this),t=e.index();e.hasClass("no-sub")||(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("span.checked").each(function(){n.push(g(this).data("id"))}),s(t.data("attr"),n.join(",")))}).on("mouseenter",function(){clearTimeout(p)}).on("mouseleave",function(){r()})}),define("js/product/sort-pager",["jquery"],function(e,t,n){var i=e("jquery"),a=i("#count-per-page"),o=a.next("ul"),s=200;i(document).click(function(e){i(e.target).closest(".page-count").length>0||o&&o.slideUp(s)}),a.click(function(){"none"===o.css("display")?o.slideDown(s):o.slideUp(s)})}),define("js/product/latest-walk",["jquery","handlebars","source-map","lazyload"],function(e,t,n){var i=e("jquery"),a=e("handlebars"),o=e("lazyload"),s=i("#latest-walk-count");!function(){var e;0!==s.length&&(e=a.compile(i("#latest-walk-tpl").html()),i.ajax({url:"http://itemapi.yohobuy.com/item/item/recentreview",dataType:"jsonp",data:{limit:s.val()},success:function(t){var n,a,s,r=[];if(200===t.code){for(n=t.data,a=0;a<n.length;a++)s=n[a],r.push({href:s.url,img:s.pic_url,name:s.product_name,salePrice:s.price,marketPrice:s.market_price});r.length>0&&(i("#latest-walk-goods").html(e({latestWalk:r})),o(i("#latest-walk-goods .lazy")))}}}))}()}),define("js/product/product",["jquery","lazyload"],function(e,t,n){var i,a=e("jquery"),o=e("lazyload"),s=e("js/common/product-event"),r=a(".goods-container"),l=r.find(".good-info"),d=r.find(".good-item-wrapper"),c=r.find(".good-info-main"),u=r.find(".good-select-color"),h=a(".product-list-nav");o(a("img.lazy")),t.init=function(e){function t(e){var t,n,i,a="",o=e.length,s=4,r=Math.ceil(o/s),l=0;for(t=0;r>t;t++)for(a+="<ul>",n=0;s>n&&(i=t*s+n,i!==o);n++)a+='<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&&(a+="</ul>",l++);return r>l&&(a+="</ul>"),{colorListStr:a,ulNum:r}}function n(){c.html(""),u.html(""),d.css({display:"none"})}i=null,l.unbind(),i=s(l,e),i.addHandler("MouseEnter",function(e){var i,o,s,l,h,f,p,m,g=10,v=35,w=""; +a.ajax({type:"POST",url:"/product/list/getProductPic",dataType:"jsonp",jsonp:"callback",data:{skn:e.target.attr("data-skn")}}).then(function(y){var b=y.data;n(),w=t(b.pics).colorListStr,i=t(b.pics).ulNum,c.append(e.targetDuplicate),u.append(a(w)),b.isFavorite?c.find(".col-btn").addClass("coled"):c.find(".col-btn").removeClass("coled"),f=d.css("paddingLeft"),p=d.css("paddingTop"),m=r.css("paddingTop"),o=10+65*i+e.targetWidth,l=(e.targetX-1)*(e.targetWidth+g)-(parseInt(f)+1),h=(e.targetY-1)*(e.targetHeight+v)+parseInt(m)-(parseInt(p)+1),s=e.offsetR-(65*i+25),0>=s&&(l=l+s-25),d.css({width:o,left:l,top:h,display:"inline-block"}),b.pics[0]&&b.pics[0].src&&c.find(".good-thumb img").attr("src",b.pics[0].src)})}),d.mouseleave(function(){n()})},a(document).on("hover",".good-select-color li",function(){var e=a(this).find("img").attr("data-cover"),t=a(this).closest(".good-item-wrapper").find(".good-detail-img").find("img");t.attr("src",e)}),c.on("click",".col-btn",function(){var e=a(this);a.ajax({type:"POST",url:"/product/list/changeFavorite",data:{skn:e.closest(".good-info").data("skn"),isFavorite:e.hasClass("coled")}}).then(function(t){200===t.code?e.toggleClass("coled"):403===t.code&&(location.href="http://www.yohobuy.com/signin.html?refer="+encodeURIComponent(location.href))})}),h.find("h3").click(function(e){var t=a(this).closest(".product-list-nav");t.hasClass("active")?t.find(".sort-child-list").stop(!0,!0).slideUp():t.find(".sort-child-list").stop(!0,!0).slideDown(),t.toggleClass("active")})}),define("js/common/product-event",["jquery"],function(e,t,n){function i(){this.handlers={}}var a=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,d=0,c=t,u=0,h="",f=0,p=0;switch(e.type){case"mouseenter":n=a(this),h=n.clone(),u=n.index()+1,i=u%c===0?c:u%c,d=Math.ceil(u/c),f=n.offset().left,p=l-(f+s),o.fire({type:"MouseEnter",target:n,targetWidth:s,targetHeight:r,targetX:i,targetY:d,rowWidth:c,activeIndex:u,targetDuplicate:h,offsetL:f,offsetR:p});break;case"mouseleave":o.fire({type:"MouseLeave"})}}var o=new i,s=e.eq(0).width(),r=e.eq(0).height(),l=a(window).width();return e.bind("mouseenter",n),o}}),define("js/product/brand",["jquery"],function(e,t,n){var i=e("jquery");i("#brand-favor").on("click",function(){var e=i(this),t=window.getUid();i.ajax({type:"post",url:"/product/index/favoriteBrand",data:{uid:t,brandId:e.data("id")}}).then(function(t){200===t.code?"add"===t.message?e.find("i").addClass("coled"):e.find("i").removeClass("coled"):403===t.code&&(location.href="http://www.yohobuy.com/signin.html?refer="+encodeURIComponent(location.href))})})}),define("js/product/hotrank",["jquery","handlebars","source-map","lazyload"],function(e,t,n){var i=e("jquery"),a=e("handlebars"),o=e("lazyload");e("js/common/slider"),e("js/common/logo-brand"),o(i("img.lazy")),i(".slide-container").slider(),i(".logo-brand").logoBrand({showNum:10,url:i(".logo-brand").data("url")}),function(e){function t(t,n){var l={};l=n?{sid:t,page:n}:{sid:t},e.ajax({type:"GET",dataType:"json",url:"/product/index/getdata",data:l,success:function(t){var l;200===t.code&&(l={list:t.data},s=a.compile(i),n?(e(".hot-week-list").append(s(l)),r.css({position:"fixed",marginTop:-r.height()/2,top:"50%"})):e(".hot-week-list").html(s(l)),o(e("img.lazy")),u=!1)}})}var n,i,s,r=e(".hot-week").find(".floatlayer"),l=e(".hot-cate").find("li").eq(0).data("sid"),d=1,c=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="{{thumb}}"></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||(d++,u=!0,t(l,d)))}),e(".hot-cate").find("li").each(function(t){var n=e(".hot-cate").width();n>=c&&(c+=e(this).width(),c>=n&&e(".floatlayer").find("li").eq(t).hide().nextAll().hide())}),e(".hot-cate").on("click","li",function(){var i=e(this).index(),a=e(this).data("sid");e(this).hasClass("current")||(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(a),d=1)}),e(".floatlayer").on("click","li",function(){var t=e(this).index();e(this).hasClass("current")||(e(".hot-cate").find("li").eq(t).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"),a=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(){if(this.$element){if(this.len<=1)return void a(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(),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 t=this.bigItem.eq(this.index).find("img.lazy");t.attr("src")!==t.data("original")&&(a(t,{event:"sporty"}),t.trigger("sporty")),this.smallItem.eq(this.index).addClass("focus").siblings().removeClass("focus"),this.bigItem.eq(this.index).show().stop().animate({opacity:1}).siblings().stop().animate({opacity:0},function(){e(this).hide()})},_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),a=i.data("Slider"),o="object"==typeof n&&n;a||i.data("Slider",a=new t(this,o)),"string"==typeof n&&a[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"),a=e("handlebars"),o=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;a.registerHelper("brandList",function(t,n){var i="<ul>",a=0,o=null,s=0;if(t.length%e!==0)for(s=e-t.length%e,a=0;s>a;a++)t.push({href:"javascript:;",img:""});for(a=0;a<t.length;a++)o=n.fn(t[a]),i=a%e===5||5===a?i+'<li class="logo-brand-switch" data-page="'+Math.floor(a/e)+'"><a class="prev iconfont" href="javascript:;"></a><a class="next iconfont" href="javascript:;"></a></li><li data-page="'+Math.floor(a/e)+'">'+o+"</li>":0!==a&&a%e===0?i+'<li class="brand-more" data-page="'+Math.floor(a/(e+1))+'"><a href="javascript:;" target="_blank">MORE ></a></li><li data-page="'+Math.floor(a/e)+'">'+o+"</li>":i+'<li data-page="'+Math.floor(a/e)+'">'+o+"</li>";return i+'<li class="brand-more" data-page="'+Math.floor(a/(e+1))+'"><a href="javascript:;" target="_blank">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;e&&0!==e.length&&(t._createHelper(),i='{{#brandList logoBrand}}<a href="{{href}}" target="_blank"><img class="lazy" data-original="{{img}}" alt=""></a>{{/brandList}}',n=a.compile(i),t.$element.html(n(e)),t.$element.find(".brand-more a").attr("href",e.moreBrand),o(t.$element.find("img.lazy")),t._bindEvent())}})},_brandShow:function(t,n){var i=this;o(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,a=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;i=n===a?0:n+1,t._brandShow(n,i)}),t.$element.on("click",".prev",function(){var n=e(this).parent().data("page"),i=0,a=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;i=0===n?a:n-1,t._brandShow(n,i)})}},e.fn.logoBrand=function(n){return this.each(function(){var i=e(this),a=i.data("LogoBrand"),o="object"==typeof n&&n;a||i.data("LogoBrand",a=new t(this,o)),"string"==typeof n&&a[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"),a=e("lazyload"),o=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"),i(document).on("mouseenter",".imgopacity a img",function(){i(this).css("opacity",.8)}),i(document).on("mouseout",".imgopacity a img",function(){i(this).css("opacity",1)}),"brands"===o&&e("js/home/brands"),i.inArray(o,["boys","girls","kids","lifestyle"])>-1&&(e("js/common/new-arrivls")({type:o,url:"/common/getNewArrival",count:"boys"===o||"lifestyle"===o?5:4,rows:[5,3]}),window.setCookie("_Channel",o,{domain:".yohobuy.com",path:"/",expires:365})),a(i("img.lazy")),"boys"===o?i(".slide-container").slider({pagination:".thumb-pagination"}):(i(".center-col").slider(),i(".slide-container").slider()),"boys"===o?(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,a){a===!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,a){window.setTimeout(n,e.fn.slider2.defaults.delaytime,t,i,a)}function a(t,n,i){var a=-(t*n);e(".img-list").animate({"margin-left":a+"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),o=parseInt(e(".img-item").css("margin-right")),s=e(".img-item"),r=[],l=s.outerWidth()+o,d=s.length,c=0;if(3>=d)return void e(this).find(".img-brand-switch").hide();for(c=0;c<s.length;c++)r.push(s[c]);d=r.length,e(this).find(".img-list").css({width:l*d}),e(this).find(".next").on("click",function(t){var n=0,i=null;t.preventDefault(),a(3,l,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,o="";for(t.preventDefault(),n=0;3>n;n++)i=r.pop(),e(".img-item").parent().prepend(i.outerHTML),r.unshift(i);o=3*l,e(".img-item").last().remove(),e(".img-item").last().remove(),e(".img-item").last().remove(),e(".img-list").css({"margin-left":-o+"px"}),a(0,l)}),n.autoplay===!0&&i(n.index,d,!0)})}}(i)}),define("js/common/accordion",["jquery"],function(e,t,n){function i(e){l.each(function(t){s(this).css("zIndex",t),e>=t?s(this).stop().animate({left:t*c},400):s(this).stop().animate({left:e*c+d+c*(t-e-1)},400)})}var a,o=e("js/common/yohoui/YH.slide"),s=e("jquery"),r=s(".slide-accordion"),l=r.find("li"),d=l.width(),c=1150===parseInt(s(".home-page").width())?125:107;i(0),a=new o({length:5,loop:!1,auto:!1,timeout:2,index:0}),a.on("change",function(e){i(e.to)}),l.mouseover(function(){a.go(s(this).index())}),a.init()}),define("js/common/yohoui/YH.slide",[],function(e,t,n){var i=e("js/common/yohoui/YH.base"),a=function(e){this.__lastTime=null,this.__isStop=!1,e=i.extend(this.defaults,e),a.superclass.constructor.call(this,e)};i.inherit(a,i.assembly),a.prototype.oninit=function(){var e=this,t=e.options;return t.auto&&e.play(),e.go(t.index),this},a.prototype.go=function(e,t){var n,i,a,o,s,r,l,d,c=this,u=c.options;c.__lastTime&&(clearTimeout(c.__lastTime),c.__lastTime=null),t="undefined"==typeof t?u.index:t,n=e===t?0:e>t?1:-1,i=u.loop,o=u.length-1,s=e,e=i?e>o?e-o-1:0>e?e+o+1:e:e>o?o:0>e?0:e,a=u.index=e,r={from:t,to:e,originalto:s,direction:n};for(l in c.registerEvent)if(c.registerEvent[l].length>0)for(d in c.registerEvent[l])c.registerEvent[l].hasOwnProperty(d)&&c.registerEvent[l][d](r);a!==o||e?!c.__isStop&&u.auto&&c.play():c.__lastTime&&clearTimeout(c.__lastTime)},a.prototype.play=function(){var e=this,t=e.options;return e.__lastTime=setTimeout(function(){e.next()},1e3*t.timeout),this},a.prototype.next=function(){var e=this,t=e.options,n=t.index,i=n+t.step;e.go(i,n)},a.prototype.prev=function(){var e=this,t=e.options,n=t.index,i=n-t.step;e.go(i,n)},a.prototype.pause=function(){var e=this;e.__lastTime&&clearTimeout(e.__lastTime),e.__isStop=!0},a.prototype.resume=function(){var e=this;e.__isStop=!1,e.play()},a.prototype.defaults={index:0,timeout:5,step:1,per:1,auto:!1,loop:!1},n.exports=a}),define("js/common/yohoui/YH.base",[],function(e,t,n){var i,a={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Function]":"function","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object String]":"string"},o={__Index:0,list:[],get:function(e){return void 0===e?this.list:this.list[e]},fn:function(){},inherit:function(e,t){var n=o.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,a,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){a=e?new e:o.clone(t.constructor.prototype);for(s in t)(e||t.hasOwnProperty(s))&&(a[s]=t[s])}else{a={};for(s in t)a.hasOwnProperty(s)&&(a[s]=t[s])}if(n)for(s in n)a.hasOwnProperty(s)&&(a[s]=n[s]);return a},clone:function(e){return o.__cloneFunc.prototype=e,new o.__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,a=e,o={wrap:a},s=a[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&&(o[n]=a.find(s[i]));return o},template:function(){var e,t,n,i,a=arguments;if(a.length>0&&o.isString(a[0]))if(e=a[0],2===a.length&&o.isObject(a[1]))for(t in a[1])void 0!==a[1][t]&&(n=new RegExp("({"+t+"})","g"),e=e.replace(n,a[1][t]));else for(i=1;i<a.length;i++)void 0!==a[i]&&(n=new RegExp("({["+(i-1)+"]})","g"),e=e.replace(n,a[i]));return e},__type:function(e){return null==e?String(e):a[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,a;if(o.isArray(e))for(i=0,a=e.length;a>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&&o.isFunction(e.methord())&&(n=n||window,e.methord()(e,function(){t()},n))},load:function(e,t,n,i){i=i||0,e[i]&&o.funManager.__loadFun(e[i],function(){o.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 a;for(a in e)if(window[e[a].validator]){t[e[a].validator](e[a].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 o.template("me-{0}{1}-{2}",e,(new Date).getTime(),o.__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 o.template("-{0}-",t[e].replace("Perspective","").toLowerCase())},parseURL:function(e){var t,n,i,a,o,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,a=0,o;i>a;a++)n[a]&&(o=n[a].split("="),t[o[0]]=o[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(){o.log(o.list)},i.prototype.oninit=o.fn,i.prototype.init=function(e){this.initialized=!0,this.__Uid=o.getUid("me"),this.oninit(e),o.list[this.__Uid]=this},i.prototype.destory=function(){this.initialized=!1,delete o.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],a=[];o.each(i,function(e,n){n===t&&a.push(e)}),o.each(a.reverse(),function(e,t){i.splice(t,1)})},o.assembly=i,n.exports=o}),define("js/home/brands",["jquery","handlebars","source-map"],function(e,t,n){function i(e,t,n){var i,a=e,r={width:a.width(),left:a.offset().left,right:parseFloat(o(window).width())-parseFloat(a.offset().left)-parseFloat(a.width())};l.find(".brands-layer").remove(),i=s.compile(n),a.parent("li").find(".brands-dialog").html(i(t)),r.right-350<0&&a.parent("li").find(".brands-layer").addClass("brands-layer-right").css("left",-330-r.width)}var a,o=e("jquery"),s=e("handlebars"),r=o(".brands-tabs"),l=o(".brands-list"),d=o(".brands-category"),c=l.find("li>a"),u=d.find("a"),h=r.find("li>a"),f=r.find(".hoverarr"),p=u.height(),m=u.offset()?u.offset().top:0,g={},v='<div class="brands-layer">';v+=' <div class="layer-content">',v+=' <div class="title">{{title}}</div>',v+=' <div class="clearfix desc">',v+=' <img src="{{icon}}">',v+=' <p class="right">{{content}}</p>',v+=" </div> ",v+=' <div class="featured">',v+=" <p>{{subtitle}}</p> ",v+=' <div class="clearfix"> ',v+=" {{#each imgs}}",v+=' <img src="{{src}}">',v+=" {{/each}}",v+=" </div>",v+=" </div>",v+=" </div>",v+="</div>",o.easing.easeOutQuint=function(e,t,n,i,a){return i*((t=t/a-1)*t*t*t*t+1)+n},h.eq(0).parent("li").find(".brands-content").css("z-index","1"),h.hover(function(){var e=o(this);clearTimeout(a),a=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(a)}),o(window).scroll(function(){o(this).scrollTop()>m?d.addClass("category-fix"):d.removeClass("category-fix")}),u.click(function(){var e=o(this).attr("href").split("#")[1],t=l.find("[name="+e+"]").offset().top-p;return o("html,body").animate({scrollTop:t},200),!1}),c.hover(function(){var e=o(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],v))}};clearTimeout(a),a=setTimeout(function(){g.hasOwnProperty(t)?i(e,g[t],v):o.ajax(n)},200)},function(){clearTimeout(a),l.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=a.extend(!0,{},t,e),this}var a=e("jquery"),o=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),a(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&&a(window).scrollTop()+a(window).height()>=e.offset.height()?!0:!1},n.exports=function(e){var t,n=a("#newarrivals .goods-container"),r=a(".loading a"),l=new i({index:1,isload:!1,offset:{height:function(){return parseFloat(n.offset().top)+parseFloat(n.height())-200}}}),d=e.url,c=e.count,u=e.rows;e.pageIndex=0,delete e.url,delete e.count,delete e.rows,t=function(e,t,i){var d={type:"POST",url:e,success:function(e){var a,d,c,u=e.code;200===u?(d=e.goods.length%i,c=e.goods.length-d-1,e.goods.splice(c,d),a=s.compile(l.tpl),n.append(a(e.goods)),t.pageIndex=t.pageIndex+e.goods.length,o(n.find("img.lazy")),l.emit()):(l.stop(),r.html("查看更多"))},error:function(){l.stop(),r.html("网络断开连接了~")}};d.data=t,a.ajax(d)},l.on("after",function(n){e.pageCount=c*u[1],t(d,e)}),l.on("before",function(n){l.tpl="{{#each this}}",l.tpl+='<div class="good-info imgopacity" data-skn="{{skn}}">',l.tpl+=' <div class="tag-container clearfix">',l.tpl+=" {{# tags}}",l.tpl+=" {{# isNew}}",l.tpl+=' <span class="good-tag new-tag">NEW</span>',l.tpl+=" {{/ isNew}}",l.tpl+=" {{# isReNew}}",l.tpl+=' <span class="good-tag renew-tag">再到着</span>',l.tpl+=" {{/ isReNew}}",l.tpl+=" {{# isSale}}",l.tpl+=' <span class="good-tag sale-tag">SALE</span>',l.tpl+=" {{/ isSale}}",l.tpl+=" {{# isNewFestival}}",l.tpl+=' <span class="good-tag new-festival-tag">新品节</span>',l.tpl+=" {{/ isNewFestival}}",l.tpl+=" {{# isLimit}}",l.tpl+=' <span class="good-tag limit-tag">限量商品</span>',l.tpl+=" {{/ isLimit}}",l.tpl+=" {{# isYearEndPromotion}}",l.tpl+=' <span class="good-tag yep-tag">年终大促</span>',l.tpl+=" {{/ isYearEndPromotion}}",l.tpl+=" {{# isYearMidPromotion}}",l.tpl+=' <span class="good-tag ymp-tag">年中热促</span>',l.tpl+=" {{/ isYearMidPromotion}}",l.tpl+=" {{/ tags}}",l.tpl+=" </div>",l.tpl+=' <div class="good-detail-img">',l.tpl+=' <a class="good-thumb" href="{{url}}" target= "_blank">',l.tpl+=' <img class="lazy" data-original="{{thumb}}">',l.tpl+=" </a>",l.tpl+=" {{# isFew}}",l.tpl+=' <p class="few-tag">即将售罄</p>',l.tpl+=" {{/ isFew}}",l.tpl+=" {{#if showColBtn}}",l.tpl+=' <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>',l.tpl+=" {{/if}}",l.tpl+=" </div>",l.tpl+=' <div class="good-detail-text">',l.tpl+=' <a href="{{url}}" target= "_blank">{{name}}</a>',l.tpl+=' <p class="price">',l.tpl+=' <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">',l.tpl+=" ¥{{salePrice}}",l.tpl+=" </span>",l.tpl+=" {{# marketPrice}}",l.tpl+=' <span class="market-price">¥{{.}}</span>',l.tpl+=" {{/ marketPrice}}",l.tpl+=" </p>",l.tpl+=" </div>",l.tpl+="</div>",l.tpl+="{{/each}}",e.pageCount=c*u[0],t(d,e,e.count)}),l.init()}}),define("js/passport/entry",["jquery","jquery.placeholder"],function(e,t,n){e("js/passport/reg"),e("js/passport/back"),e("js/passport/login"),e("js/passport/reset"),e("js/passport/vertification"),e("js/passport/thirdlogin"),e("js/passport/enablePerfectInformation")}),define("js/passport/reg",["jquery"],function(e,t,n){function i(e,t){var n,i;"reg"===e?(n="/passport/register/checkmobile",i={mobile:x.val(),area:I.text().split("+")[1]}):"third"===e&&(n="/passport/autouserinfo/bindCheck",i={mobile:x.val(),area:I.text().split("+")[1],openId:u("#open-id").val(),sourceType:u("#source-type").val()}),u.ajax({url:n,type:"POST",data:i}).then(function(e){switch(e.code){case 200:C[0].message="",C[0].status=!0;break;case 400:C[0].message=e.message,C[0].status=!1}t()})}function a(e,t){var n;"reg"===e?n="/passport/register/piccaptcha":"third"===e&&(n="/passport/autouserinfo/checkPicCode"),u.ajax({type:"POST",url:n,data:{verifyCode:q.val()}}).then(function(e){switch(e.code){case 200:C[1].message="",C[1].status=!0;break;case 400:C[1].message="图形验证码错误",C[1].status=!1}t()})}function o(e,t){var n;"reg"===e?n="/passport/register/msgcaptcha":"third"===e&&(n="/passport/autouserinfo/checkBindMsg"),u.ajax({type:"POST",url:n,data:{code:k.val(),mobile:x.val(),area:I.text().split("+")[1]}}).then(function(e){switch(e.code){case 200:C[2].message="",C[2].status=!0;break;case 400:C[2].message="短信验证码错误",C[2].status=!1}t()})}function s(e,t,n){var s,r=u.trim(t.val()),l=/^([a-zA-Z0-9\-\+_!@\#$%\^&\*\(\)\:\;\.=\[\]\\\',\?]){6,20}$/gi;t.hasClass("phone-num")?(s=I.text(),""===r?(C[0].message="请输入手机号码",C[0].status=!1,n()):h.phoneRegx[s].test(r)?i(e,n):(C[0].message="手机号码格式不正确,请重新输入",C[0].status=!1,n())):t.hasClass("captcha")?""===r?(C[1].message="请输入图形验证码",C[1].status=!1,n()):r.length<=3?(C[1].message="图形验证码为4位",C[1].status=!1,n()):C[0].status?a(e,n):(C[1].message="图形验证码错误",C[1].status=!1,n()):t.hasClass("msg-captcha")?""===r?(C[2].message="请输入短信验证码",C[2].status=!1,n()):r.length<=3?(C[2].message="短信验证码错误",C[2].status=!1,n()):C[1].status?o(e,n):(C[2].message="短信验证码错误",C[2].status=!1,n()):t.hasClass("pwd")?(""===r?(C[3].message="请输入密码",C[3].status=!1):r.length<6||r.length>20?(C[3].message="密码只支持6-20位字符",C[3].status=!1):l.test(t.val())?(C[3].message="",C[3].status=!0):(C[3].message="密码只能包含字母,数字,半角标点符号",C[3].status=!1),n()):t.hasClass("repwd")&&(""===r?(C[4].message="请输入密码确认",C[4].status=!1):_.val()!==r?(C[4].message="与密码不一致,请重新输入",C[4].status=!1):(C[4].message="",C[4].status=!0),n())}function r(){var e,t,n,i=!1,a=C.length;for(n=0;a>n;n++)i||(C[n].message?(v.find("span").text(C[n].message),t=u("#"+C[n].id),e=t.offset(),v.css({top:e.top-40,left:e.left}).removeClass("hide"),i=!0):v.addClass("hide"))}function l(){var e,t,n=C.length;for(t=0;n>t;t++)C[t].message?(e=u("#"+C[t].id),e.addClass("error")):(e=u("#"+C[t].id),e.removeClass("error"))}function d(e){var t=e.val(),n=f(t),i=0;switch(i=0===n?0:10>=n?1:20>=n?2:3){case 0:A.removeClass("red yellow green"),T.removeClass("color");break;case 1:A.addClass("red").removeClass("yellow green"),T.filter(".low").addClass("color"),T.filter(".mid,.high").removeClass("color");break;case 2:A.addClass("yellow").removeClass("red green"),T.filter(".low,.mid").addClass("color"),T.filter(".high").removeClass("color");break;case 3:A.addClass("green").removeClass("yellow red"),T.addClass("color")}""===t?g.removeClass("red yes no").addClass("default"):t.length<6||t.length>20?g.removeClass("default yes").addClass("no red"):g.removeClass("default no red").addClass("yes")}var c,u=e("jquery"),h=e("js/passport/mail-phone-regx"),f=e("js/passport/pwd-strength"),p=u(".register-page"),m=u("#pwd-tips"),g=m.find("#pwd-tip1"),v=u("#err-tip"),w=u("#register-btn"),y=u("#send-captcha"),b=4,C=[],x=u("#phone-num"),k=u("#msg-captcha"),_=u("#pwd"),j=u("#repwd"),q=u("#captcha"),T=u(".pwd-intensity"),A=T.closest(".pwd-intensity-container"),I=u("#country-code"),S=u("#region"),O=!1;setTimeout(function(){x.val(""),k.val(""),_.val(""),j.val(""),q.val("")},100),q.attr("maxlength",b),_.focus(function(e){m.removeClass("hide"),O=!0,c=u(this).val()}).blur(function(){m.addClass("hide"),O=!1}),C=[{id:"phone-num",message:"",status:!1},{id:"captcha",message:"",status:!1},{id:"msg-captcha",message:"",status:!1},{id:"pwd",message:"",status:!1},{id:"repwd",message:"",status:!1}],t.init=function(e){u("#agree-terms").click(function(){ +u(this).attr("notchecked")?(u(this).removeAttr("notchecked"),w.addClass("disable").attr("disabled","true")):(u(this).attr("notchecked","true"),w.removeClass("disable").removeAttr("disabled"))}),p.on("keydown",function(e){var t=e.which;13===t&&w.click()}),p.find(".va").keyup(function(){var t,n=0,i=C.length,a=u(this);s(e,u(this),function(){for(r(),l(),t=0;i>t;t++)C[t].status&&n++;4!==n||u("#agree-terms").attr("notchecked")?w.addClass("disable").attr("disabled","true"):w.removeClass("disable").removeAttr("disabled"),C[1].status?y.removeClass("disable"):y.addClass("disable")}),a.hasClass("pwd")&&d(a)}).blur(function(){}),S.change(function(){I.text(u("#region").val()),s(e,x,r)}),y.click(function(){var t,n,i=20;u(this).hasClass("disable")||("reg"===e?n="/passport/register/sendBindMsg":"third"===e&&(n="/passport/autouserinfo/sendBindMsg"),u.ajax({type:"POST",url:n,data:{area:I.text().split("+")[1],mobile:x.val(),verifyCode:q.val()}}).then(function(e){200===e.code&&(t=setInterval(function(){return 0>=i?(y.removeClass("disable").val("获取短信验证码"),void clearInterval(t)):void y.addClass("disable").val(i--+"秒可重新发送")},1e3))}))}),_[0].onpaste=function(){return!1},w.click(function(){var t;"reg"===e?t="/passport/register/mobileregister":"third"===e&&(t="/passport/autouserinfo/bindMobile"),u(this).hasClass("disable")||u.ajax({type:"POST",url:t,data:{area:I.text().split("+")[1],mobile:x.val(),verifyCode:q.val(),code:k.val(),password:_.val()}}).then(function(e){var t,n,i=0;200===e.code?(n=e.data.href,t=setTimeout(function(){i++},1e3),u.ajax({type:"GET",url:e.data.session}).then(function(e){200===e.code&&3>t&&(clearInterval(t),location.href=n)}),t>=3&&(clearInterval(t),location.href=n)):console.log("网络超时~")})}),u(".change-captcha").click(function(){var e=new Date,t=u(".captcha-img"),n=t.attr("src").split("?")[0];t.attr("src",n+"?t="+e.getTime())})}}),define("js/passport/mail-phone-regx",[],function(e,t,n){var i={"+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]{1}[0-9]{8}$/,"+81":/^0[9|8|7][0-9]{9}$/,"+61":/^[0-9]{11}$/},a=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/;t.phoneRegx=i,t.emailRegx=a}),define("js/passport/pwd-strength",[],function(e,t,n){function i(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function a(e,t,n){var i=e.charCodeAt(0),a=t.charCodeAt(0);return i-a===0?!0:4===n||i-a!==1&&i-a!==-1?!1:!0}function o(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t,n,s=0,r=e.length,l="",d=0,c=0;for(c=0;r>c;c++)t=e.charAt(c),n=i(e,c),d===n&&a(t,l,n)||(s+=n+o(n,d)),l=t,d=n;return s}n.exports=s}),define("js/passport/back",["jquery","jquery.placeholder"],function(e,t,n){function i(){var e=new Date,t=l("#captcha-img"),n=t.attr("src").split("?")[0];l("#captcha-img").attr("src",n+"?t="+e.getTime())}function a(){x&&k?w.removeClass("disable").prop("disabled",!1):w.addClass("disable").prop("disabled",!0)}function o(e){var t=!0,n="";return e=l.trim(e),""!==e?/^[0-9]+$/.test(e)?d[c.val()].test(e)?t=!0:(n="手机号码格式不正确, 请重新输入",t=!1):p.test(e)?t=!0:(n="邮箱格式不正确, 请重新输入",t=!1):(n="账户名不能为空",t=!1),x=t,{pass:t,errTxt:n}}function s(){var e=l.trim(h.val());return""===e||e.length<C?(k=!1,void a()):void l.ajax({type:"POST",url:"/passport/back/authcode",data:{verifyCode:e,phoneNum:l("#phone-num").val(),area:l("#country-code-hide").val()}}).then(function(e){200===e.code?k=!0:(k=!1,i()),a()})}var r,l=e("jquery"),d=e("js/passport/mail-phone-regx").phoneRegx,c=l("#country-code-hide"),u=l("#phone-num"),h=l("#captcha"),f=l("#tip-panel"),p=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/,m=[["qq.com","163.com","126.com","sina.com","gmail.com","sohu.com","hotmail.com","139.com","189.com"],["gmail.com","qq.com","163.com","126.com","sina.com","sohu.com","hotmail.com","139.com","189.com"]],g=l("#country-code-list"),v=l("#country-code"),w=l("#find-btn"),y=l("#account-err"),b=l("#captcha-err"),C=4,x=!1,k=!1;e("jquery.placeholder"),h.attr("maxlength",C),l("input").placeholder(),l("#change-captcha, #captcha-img").on("click",function(){i()}),v.on("click",function(e){e.stopPropagation(),"block"===g.css("style")?g.slideUp("fast"):g.slideDown("fast")}),g.delegate("li","click",function(e){var t,n=l(this),i=n.data("cc");e.stopPropagation(),c.val(i),v.find("em").html(n.text()),""!==l.trim(u.val())&&(t=o(u.val()),a(),x?(y.addClass("hide"),u.removeClass("error")):(y.removeClass("hide").text(t.errTxt),u.addClass("error"))),g.slideUp("fast")}),l(document).click(function(){"block"===f.css("display")&&f.slideUp(),"block"===g.css("display")&&g.slideUp()}),u.keyup(function(){var e,t,n=l.trim(l(this).val()),i="";if(-1!==n.indexOf("@")&&n.lastIndexOf("@")===n.indexOf("@")){for(e=/^[0-9]*@$/.test(n)?m[0]:m[1],t=0;t<e.length;t++)i+="<li>"+n.slice(0,n.indexOf("@"))+"@"+e[t]+"</li>";f.html(i).slideDown()}else f.slideUp();o(n),a()}).blur(function(){r=setTimeout(function(){var e=o(u.val());e.pass?(y.addClass("hide"),u.removeClass("error")):(y.removeClass("hide").find("em").text(e.errTxt),u.addClass("error"))},170)}).focus(function(){l(this).removeClass("error"),y.addClass("hide")}),h.blur(function(){var e=""===l.trim(h.val())?"验证码不能为空":"验证码不正确";k?(b.addClass("hide"),h.removeClass("error")):(b.removeClass("hide").find("em").text(e),h.addClass("error"),i())}).focus(function(){l(this).removeClass("error"),b.addClass("hide")}).keyup(function(){s()}),f.delegate("li","click",function(e){var t,n=l(this).text();e.stopPropagation(),u.val(n),r&&(clearTimeout(r),t=o(n),a(),t.pass?(y.addClass("hide"),u.removeClass("error")):(y.removeClass("hide").find("em").text(t.errTx),u.addClass("error")),r=null),f.slideUp()}),l("#find-btn").click(function(e){return/^[0-9]+$/.test(l.trim(u.val()))&&l("#find-form").attr("action","/passport/back/mobile"),l(this).hasClass("disable")?void 0:k&&x?void 0:(e.preventDefault(),!0)})}),define("js/passport/login",["jquery","jquery.placeholder"],function(e,t,n){function i(){var e,t=!1,n=r.trim(d.val());return""!==n?/^[0-9]+$/.test(n)?w.phoneRegx[p.val()].test(n)?t=!0:(t=!1,e="手机号码不正确,请重新输入"):w.emailRegx.test(n)?t=!0:(t=!1,e="邮箱格式不正确,请重新输入"):e="请输入账户名",t?(u.addClass("hide"),d.removeClass("error")):(u.removeClass("hide").children("em").text(e),d.addClass("error")),t}function a(){var e,t=!1,n=r.trim(c.val());return""!==n?n.length<6?e="请输入长度为6-20字符的密码":t=!0:e="请输入密码",t?(h.addClass("hide"),c.removeClass("error")):(h.removeClass("hide").children("em").text(e),c.addClass("error")),t}function o(){var e=!0,t=r.trim(d.val()),n=r.trim(c.val());return""!==t?e=i()&&a():(e=!1,d.addClass("error"),""===n?(u.addClass("both-error").removeClass("hide").children("em").text("请输入账户名和密码"),h.addClass("hide"),c.addClass("error")):u.removeClass("hide").children("em").text("请输入账户名")),e}var s,r=e("jquery"),l={num:["qq.com","163.com","126.com","sina.com","gmail.com","sohu.com","hotmail.com","139.com","189.com"],other:["gmail.com","qq.com","163.com","126.com","sina.com","sohu.com","hotmail.com","139.com","189.com"]},d=r("#account"),c=r("#password"),u=d.siblings(".err-tip"),h=c.siblings(".err-tip"),f=r("#caps-lock"),p=r("#country-code-hide"),m=r("#country-code > em"),g=r("#country-list"),v=r("#email-autocomplete"),w=e("js/passport/mail-phone-regx"),y=r(".remember-me"),b={checked:"",unchecked:""},C=!1;e("jquery.placeholder"),r("[placeholder]").placeholder(),r("#country-code").on("click",function(){"none"===g.css("display")&&g.slideDown()}),g.on("click","li",function(){var e=r(this),t=e.data("cc");m.html(e.html()),p.val(t),g.slideUp()}),r(document).on("click",function(e){r(e.target).closest("#country-code").length>0||"block"===g.css("display")&&g.slideUp()}),d.on("keyup",function(){var e,t,n,i,a=r.trim(r(this).val()),o="";if(a.indexOf("@")>0){for(e=a.match(/^[0-9]+@(.*)/),e?(n=l.num,t=e[1]):(n=l.other,t=a.match(/@(.*)/)[1]),i=0;i<n.length;i++)n[i].indexOf(t)>-1&&(o+="<li>"+a.slice(0,a.indexOf("@"))+"@"+n[i]+"</li>");""!==o&&/.com$/.test(a)===!1?v.html(o).removeClass("hide"):v.html("").addClass("hide")}}).on("blur",function(){s=setTimeout(function(){v.addClass("hide"),i()},200)}),c.on("blur",function(){a(),f.hasClass("hide")||f.addClass("hide")}).on("keypress",function(e){var t=e.which;return t>=65&&90>=t?void f.removeClass("hide"):void f.addClass("hide")}),v.on("click","li",function(){clearTimeout(s),d.val(r(this).text()).focus(),v.addClass("hide")}),y.on("click",function(){var e=r(this);e.toggleClass("checked"),e.hasClass("checked")?e.children("i").html(b.checked):e.children("i").html(b.unchecked)}),r(".va").on("focus",function(){var e=r(this);e.removeClass("error"),e.siblings(".err-tip").addClass("hide")}),r("#login-btn").on("click",function(){var e=o();e&&C===!1&&(C=!0,r.ajax({url:"/passport/login/auth",type:"POST",data:{areaCode:p.val().replace("+",""),account:r.trim(d.val()),password:r.trim(c.val()),isRemember:y.hasClass("checked")?!0:!1},success:function(e){200===e.code?e.data&&(location.href=e.data.session):(h.removeClass("hide").children("em").html(e.message),c.addClass("error").val(""))},complete:function(){C=!1}}))})}),define("js/passport/reset",["jquery","jquery.placeholder"],function(e,t,n){function i(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function a(e,t,n){var i=e.charCodeAt(0),a=t.charCodeAt(0);return i-a===0?!0:4===n||i-a!==1&&i-a!==-1?!1:!0}function o(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t,n,s=0,r=e.length,l="",d=0,c=0;for(c=0;r>c;c++)t=e.charAt(c),n=i(e,c),d===n&&a(t,l,n)||(s+=n+o(n,d)),l=t,d=n;return s}function r(){var e=d.val(),t=s(e),n=0;switch(n=0===t?0:10>=t?1:20>=t?2:3){case 0:v.removeClass("red yellow green"),g.removeClass("color");break;case 1:v.addClass("red").removeClass("yellow green"),g.filter(".low").addClass("color"),g.filter(".mid,.high").removeClass("color");break;case 2:v.addClass("yellow").removeClass("red green"),g.filter(".low,.mid").addClass("color"),g.filter(".high").removeClass("color");break;case 3:v.addClass("green").removeClass("yellow red"),g.addClass("color")}""===e?(m=!1,w.removeClass("red yes no").addClass("default")):e.length<6||e.length>20?(m=!1,w.text("密码只支持6-20位字符").removeClass("default yes").addClass("no red")):/[0-9a-zA-Z]{6,20}$/.test(e)?(m=!0,w.text("密码只支持6-20位字符").removeClass("default no red").addClass("yes")):(m=!1,w.text("不能包含特殊字符").removeClass("default yes").addClass("no red"))}var l=e("jquery"),d=l("#pwd"),c=l("#re-input"),u=l("#reset-pwd-btn"),h=l("#pwd-err"),f=l("#repwd-err"),p=l("#pwd-tips"),m=!1,g=l(".pwd-intensity"),v=g.closest(".pwd-intensity-container"),w=l("#pwd-tip1");e("jquery.placeholder"),l("input").placeholder(),l(".va").keyup(function(){var e=!0;l(this).hasClass("pwd")?r():""===l(this).val()&&(e=!1),e=e&&m&&d.val()===c.val()?!0:!1,e?u.removeClass("disable").prop("disabled",!1):u.addClass("disable").prop("disabled",!0)}).blur(function(){var e=l(this).val();l(this).hasClass("pwd")?""===e?(l(this).addClass("error"),h.removeClass("hide").find("em").text("请输入密码")):e.length<6||e.length>20?(l(this).addClass("error"),h.removeClass("hide").find("em").text("密码只支持6-20位")):(h.addClass("hide"),""!==c.val()&&(e!==c.val()?(c.addClass("error"),f.removeClass("hide").find("em").text("两次密码输入不一致,请重新输入")):(c.removeClass("error"),f.addClass("hide")))):""===e?(l(this).addClass("error"),f.removeClass("hide").find("em").text("请输入密码确认")):""!==d.val()&&e!==d.val()?(l(this).addClass("error"),f.removeClass("hide").find("em").text("两次密码输入不一致,请重新输入")):(l(this).removeClass("error"),f.addClass("hide"))}).focus(function(){l(this).removeClass("error"),l(this).hasClass("pwd")?h.addClass("hide"):f.addClass("hide")}),d.focus(function(){h.addClass("hide"),p.removeClass("hide")}).blur(function(){p.addClass("hide")}),l("#pwd, #repwd").keydown(function(e){var t=e.keyCode||e.which;return 32===t?void e.preventDefault():void 0})}),define("js/passport/vertification",["jquery"],function(e,t,n){var i,a,o=e("jquery"),s=o("#send-captcha"),r=o("#captcha-tip"),l=o("#err-tip"),d=o("#next-step");s.click(function(){o.post("/passport/back/sendbackmobile",{mobile:o("#mobile").val(),area:o("#area").val(),verifyCode:o("#captchaPic").val()},function(e){if(200===e.code){if(l.hide(),o(this).hasClass("disable"))return;i=60,s.addClass("disable").attr("disabled",!0),r.removeClass("hide"),s.val(i--+"秒后可重新操作"),a=setInterval(function(){0===i?(clearInterval(a),s.val("发送验证码").removeClass("disable").removeAttr("disabled")):s.val(i--+"秒后可重新操作")},1e3)}else o(this).addClass("error"),l.removeClass("hide").text("发送失败")})}),o(this).hasClass("disable")||(i=60,s.addClass("disable").attr("disabled",!0),r.removeClass("hide"),s.val(i--+"秒后可重新操作"),a=setInterval(function(){0===i?(clearInterval(a),s.val("发送验证码").removeClass("disable").removeAttr("disabled")):s.val(i--+"秒后可重新操作")},1e3),o("#captcha").keyup(function(){var e=o.trim(o(this).val()),t=this;4===e.length&&o.ajax({type:"POST",url:"/passport/back/backmobile",dataType:"json",data:{code:o("#captcha").val(),verifyCode:o("#captchaPic").val(),area:o("#area").val(),mobile:o("#mobile").val()},success:function(e){200===e.code?(d.removeClass("disable").attr("href",e.data),l.addClass("hide"),o(t).removeClass("error")):(d.addClass("disable"),l.removeClass("hide").find("em").text("验证码输入错误"),o(t).addClass("error"))}})}).blur(function(){var e=o.trim(o(this).val());""===e&&(o(this).addClass("error"),l.removeClass("hide").text("请输入验证码"))}).focus(function(){o(this).removeClass("error")}))}),define("js/passport/thirdlogin",["jquery"],function(e,t,n){function i(){b(".choosetag").on("change",function(){"checked"===b(this).attr("checked")?b(".choosewrapper").css({"background-image":'url("http://webstatic.dev.yohobuy.com/img/passport/choosed.png")'}):b(".choosewrapper").css({"background-image":"none"})})}function a(){return"checked"===b(".choosetag").attr("checked")}function o(){b(".optionshow").on("click",function(){b(".optionslist").toggleClass("hide")})}function s(){var e="";b(document).on("keyup","#validatenum",function(){e=b(this).val(),4===e.length&&(j||(j=!0,b.ajax({type:"POST",url:"/passport/autouserinfo/checkBindMsg",data:{code:e,mobile:b("#mobile").val(),area:b("#area").val()}}).then(function(e){j=!1,200===e.code?q=!0:alert(e.message)})))})}function r(){b(".optionitem").on("click",function(){var e=b(this),t=e.attr("areanum"),n=e.text();b("#areaname").text(n),b("#areanum").text(t),b("#areacode").val(t),b(".optionslist").addClass("hide")})}function l(){b(document).on("click","body",function(e){var t=b(e.target);t.hasClass("yohoselectarea")||t.hasClass("areaname")||t.hasClass("righttag")||t.hasClass("optionslist")||t.hasClass("optionitem")||b(".optionslist").addClass("hide")})}function d(){var e="",t="";b(".optionitem").each(function(){e=b(this),t=e.attr("areanum").replace(/\+/g,""),e.attr("areanum",t)})}function c(){var e;b(document).on("click","#alreayregist",function(t){e=b(t.target),(e.hasClass("mask")||e.hasClass("backdrop"))&&b("#alreayregist").hide()}),b(document).on("click","#bindconfirm",function(t){e=b(t.target),(e.hasClass("mask")||e.hasClass("backdrop"))&&b("#bindconfirm").hide()})}function u(){b(document).on("click","#yohobindbtn",function(e){b(".phonenum").val(""),b("#bindconfirm").hide()}),b(document).on("click","#yohobindbtn2",function(e){b(".phonenum").val(""),b("#alreayregist").hide()})}function h(){return _-=1,0>_?(_=60,C=!0,void b(".validatewrapper").html(k)):(b(".second").text(_),void window.setTimeout(h,1e3))}function f(e){C&&(b(".validatewrapper").html(x),window.setTimeout(h,1e3))}function p(){b(document).on("click","#sendmessage",function(){"disabled"!==b("#sendmessage").attr("disabled")&&(f(b("#mobile").val()),b.ajax({type:"POST",url:"/passport/autouserinfo/sendBindMsg",data:{mobile:b("#mobile").val(),area:b("#area").val()}}).then(function(e){200===e.code?T=!0:alert(e.message)}))})}function m(){var e="",t="";t=b("#area").val(),e=b("#mobile").val(),b.ajax({type:"POST",url:"/passport/autouserinfo/bindMobile",data:{area:t,openId:b("#openId").val(),sourceType:b("#sourceType").val(),mobile:e}}).then(function(e){201===e.code?window.location.href="/passport/thirdlogin/bindsuccess":alert(e.message)})}function g(){b(document).on("click","#gotobindphone",function(){q===!0?(b("#inarea").val(b("#areanum").val()),b("#inmobile").val(b("#mobile").val()),m()):alert("请输入正确验证码")})}function v(){var e="",t="";e=b("#mobile").val(),t=b("#areanum").text(),b.ajax({type:"POST",url:"/passport/autouserinfo/sendBindMsg",data:{mobile:e,area:t}}).then(function(e){200===e.code?T=!0:alert(e.message)})}function w(){var e="",t="",n="",i="",o="",s="";b("#bindfirststep").on("click",function(r){return r.preventDefault(),n=b(".phonenum").val(),i=b("#areanum").text(),""===n?void alert("手机号码不能为空"):a()?(e=b("#openId").val()||"29803EC6D4AAC3AAB8ABDB6AE829D579",t=b("#sourceType").val()||"qq",void b.ajax({type:"post",url:"/passport/autouserinfo/bindCheck",data:{mobile:n,area:i,openId:e,sourceType:t},dataType:"json",success:function(e){200===e.code&&(b("#bindmobileform").attr("action","/passport/thirdlogin/noregist"),v(),b("#bindmobileform").submit()),506===e.code&&(o=e.data.user.username,s=e.data.user.headImg,b("#registphone").text(n),b("#username").text(o),b("#userphoto").attr("src",s),b("#logindirectly2").attr("href",e.data.user.bindLogin),b("#alreayregist").show()),505===e.code&&(o=e.data.user.username,s=e.data.user.headImg,b("#registphone").text(n),b("#username1").text(o),b("#userphoto1").attr("src",s),b("#logindirectly").attr("href",e.data.user.bindLogin),b("#bindconfirm").show())}})):void alert("请先同意我们的协议")})}function y(){d(),p(),i(),r(),o(),l(),w(),c(),u(),g(),s()}var b=e("jquery"),C=!0,x=b("#nopermissionmessage").html(),k=b(".validatewrapper").html(),_=+b(".second").text(),j=!1,q=!1,T=!1;y()}),define("js/passport/enablePerfectInformation",["jquery"],function(e,t,n){function i(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function a(e,t,n){var i=e.charCodeAt(0),a=t.charCodeAt(0);return i-a===0?!0:4===n||i-a!==1&&i-a!==-1?!1:!0}function o(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t=0,n=e.length,s="",r=0,l=0,d="",c="";for(l;n>l;l++)d=e.charAt(l),c=i(e,l),r===c&&a(d,s,c)||(t+=c+o(c,r)),s=d,r=c;return t}function r(){return _-=1,0>_?(_=60,C=!0,void b(".validatewrapper").html(q)):(b(".second").text(_),void window.setTimeout(r,1e3))}function l(e){C&&(b(".validatewrapper").html(j),window.setTimeout(r,1e3))}function d(){var e="",t="";b(document).on("click","#sendmessage",function(){"disabled"!==b("#sendmessage").attr("disabled")&&(e=b("#mobile").val(),t=b("#area").val(),l(b("#mobile").val()),b.ajax({type:"POST",url:"/passport/autouserinfo/sendBindMsg",data:{mobile:e,area:t}}).then(function(e){200!==e.code&&alert(e.message)}))})}function c(){var e="",t=!1;b(document).on("keyup","#validatenum",function(){e=b(this).val(),4===e.length&&(t||(t=!0,b.ajax({type:"POST",url:"/passport/autouserinfo/checkBindMsg",data:{code:e,mobile:b("#mobile").val(),area:b("#area").val()}}).then(function(e){t=!1,200!==e.code?alert(e.message):x=!0})))})}function u(){var e=g.val(),t=s(e),n=0;switch(n=0===t?0:10>=t?1:20>=t?2:3){case 0:v.removeClass("red yellow green"),y.removeClass("color");break;case 1:v.addClass("red").removeClass("yellow green"),y.filter(".low").addClass("color"),y.filter(".mid,.high").removeClass("color");break;case 2:v.addClass("yellow").removeClass("red green"),y.filter(".low,.mid").addClass("color"),y.filter(".high").removeClass("color");break;case 3:v.addClass("green").removeClass("yellow red"),y.addClass("color")}""===e?(k=!1,w.removeClass("red yes no").addClass("default")):e.length<6||e.length>20?(k=!1,w.removeClass("default yes").addClass("no red")):(k=!0,w.removeClass("default no red").addClass("yes"))}function h(){b(document).on("keyup",".pwdcontent",function(){u(b(this))}),b(document).on("focus",".pwdcontent",function(){b("#pwd-tips").removeClass("hide")}),b(document).on("blur",".pwdcontent",function(){b("#pwd-tips").addClass("hide")})}function f(){var e="",t="",n="",i="";t=b("#area").val(),n=b("#pwd").val(),e=b("#mobile").val(),i=b("#validatenum").val(),b.ajax({type:"POST",url:"/passport/autouserinfo/bindMobile",data:{area:t,openId:b("#openId").val(),sourceType:b("#sourceType").val(),mobile:e,password:n,code:i}}).then(function(e){200===e.code?window.location.href="/passport/thirdlogin/bindsuccess":alert(e.message)})}function p(){var e="",t="";b("#confirmsubmit").on("click",function(){return e=b("#validatenum").val(),t=b("#pwd").val(),""===e?void alert("短信验证码不能为空"):""===t?void alert("密码不能为空"):x===!1?void alert("请输入正确的验证码"):k===!1?void alert("请输入符合强度的密码"):void f()})}function m(){g=b("#pwd"),v=b(".safelevel"),y=b(".pwd-intensity"),w=b("#pwd-tip1"),d(),c(),h(),p()}var g,v,w,y,b=e("jquery"),C=!0,x=!1,k=!1,_="",j="",q="";j=b("#nopermissionmessage").html(),q=b(".validatewrapper").html(),_=+b(".second").text(),m()}); \ No newline at end of file diff --git a/web-static/dist/yohobuy/0.0.4/lib.js b/web-static/dist/yohobuy/0.0.4/lib.js new file mode 100644 index 0000000..60ac817 --- /dev/null +++ b/web-static/dist/yohobuy/0.0.4/lib.js @@ -0,0 +1,7 @@ +!function(e,t){function n(e){return function(t){return{}.toString.call(t)=="[object "+e+"]"}}function r(){return E++}function i(e){return e.match(T)[0]}function o(e){for(e=e.replace(P,"/");e.match(L);)e=e.replace(L,"/");return e=e.replace(j,"$1/")}function a(e){var t=e.length-1,n=e.charAt(t);return"#"===n?e.substring(0,t):".js"===e.substring(t-2)||e.indexOf("?")>0||".css"===e.substring(t-3)||"/"===n?e:e+".js"}function s(e){var t=w.alias;return t&&k(t[e])?t[e]:e}function l(e){var t,n=w.paths;return n&&(t=e.match(O))&&k(n[t[1]])&&(e=n[t[1]]+t[2]),e}function u(e){var t=w.vars;return t&&e.indexOf("{")>-1&&(e=e.replace(M,function(e,n){return k(t[n])?t[n]:e})),e}function c(e){var t=w.map,n=e;if(t)for(var r=0,i=t.length;i>r;r++){var o=t[r];if(n=_(o)?o(e)||e:e.replace(o[0],o[1]),n!==e)break}return n}function p(e,t){var n,r=e.charAt(0);if(D.test(e))n=e;else if("."===r)n=o((t?i(t):w.cwd)+e);else if("/"===r){var a=w.cwd.match(H);n=a?a[0]+e.substring(1):e}else n=w.base+e;return 0===n.indexOf("//")&&(n=location.protocol+n),n}function h(e,t){if(!e)return"";e=s(e),e=l(e),e=u(e),e=a(e);var n=p(e,t);return n=c(n)}function f(e){return e.hasAttribute?e.src:e.getAttribute("src",4)}function d(e,t,n){var r=V.test(e),i=I.createElement(r?"link":"script");if(n){var o=_(n)?n(e):n;o&&(i.charset=o)}g(i,t,r,e),r?(i.rel="stylesheet",i.href=e):(i.async=!0,i.src=e),q=i,z?U.insertBefore(i,z):U.appendChild(i),q=null}function g(e,n,r,i){function o(){e.onload=e.onerror=e.onreadystatechange=null,r||w.debug||U.removeChild(e),e=null,n()}var a="onload"in e;return!r||!G&&a?(a?(e.onload=o,e.onerror=function(){N("error",{uri:i,node:e}),o()}):e.onreadystatechange=function(){/loaded|complete/.test(e.readyState)&&o()},t):(setTimeout(function(){m(e,n)},1),t)}function m(e,t){var n,r=e.sheet;if(G)r&&(n=!0);else if(r)try{r.cssRules&&(n=!0)}catch(i){"NS_ERROR_DOM_SECURITY_ERR"===i.name&&(n=!0)}setTimeout(function(){n?t():m(e,t)},20)}function v(){if(q)return q;if(W&&"interactive"===W.readyState)return W;for(var e=U.getElementsByTagName("script"),t=e.length-1;t>=0;t--){var n=e[t];if("interactive"===n.readyState)return W=n}}function y(e){var t=[];return e.replace(K,"").replace(J,function(e,n,r){r&&t.push(r)}),t}function b(e,t){this.uri=e,this.dependencies=t||[],this.exports=null,this.status=0,this._waitings={},this._remain=0}if(!e.seajs){var x=e.seajs={version:"2.2.0"},w=x.data={},S=n("Object"),k=n("String"),C=Array.isArray||n("Array"),_=n("Function"),E=0,A=w.events={};x.on=function(e,t){var n=A[e]||(A[e]=[]);return n.push(t),x},x.off=function(e,t){if(!e&&!t)return A=w.events={},x;var n=A[e];if(n)if(t)for(var r=n.length-1;r>=0;r--)n[r]===t&&n.splice(r,1);else delete A[e];return x};var N=x.emit=function(e,t){var n,r=A[e];if(r)for(r=r.slice();n=r.shift();)n(t);return x},T=/[^?#]*\//,P=/\/\.\//g,L=/\/[^\/]+\/\.\.\//,j=/([^:\/])\/\//g,O=/^([^\/:]+)(\/.+)$/,M=/{([^{]+)}/g,D=/^\/\/.|:\//,H=/^.*?\/\/.*?\//,I=document,R=i(I.URL),B=I.scripts,$=I.getElementById("seajsnode")||B[B.length-1],F=i(f($)||R);x.resolve=h;var q,W,U=I.head||I.getElementsByTagName("head")[0]||I.documentElement,z=U.getElementsByTagName("base")[0],V=/\.css(?:\?|$)/i,G=+navigator.userAgent.replace(/.*AppleWebKit\/(\d+)\..*/,"$1")<536;x.request=d;var X,J=/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|\/\*[\S\s]*?\*\/|\/(?:\\\/|[^\/\r\n])+\/(?=[^\/])|\/\/.*|\.\s*require|(?:^|[^$])\brequire\s*\(\s*(["'])(.+?)\1\s*\)/g,K=/\\\\/g,Y=x.cache={},Q={},Z={},ee={},te=b.STATUS={FETCHING:1,SAVED:2,LOADING:3,LOADED:4,EXECUTING:5,EXECUTED:6};b.prototype.resolve=function(){for(var e=this,t=e.dependencies,n=[],r=0,i=t.length;i>r;r++)n[r]=b.resolve(t[r],e.uri);return n},b.prototype.load=function(){var e=this;if(!(e.status>=te.LOADING)){e.status=te.LOADING;var n=e.resolve();N("load",n);for(var r,i=e._remain=n.length,o=0;i>o;o++)r=b.get(n[o]),r.status<te.LOADED?r._waitings[e.uri]=(r._waitings[e.uri]||0)+1:e._remain--;if(0===e._remain)return e.onload(),t;var a={};for(o=0;i>o;o++)r=Y[n[o]],r.status<te.FETCHING?r.fetch(a):r.status===te.SAVED&&r.load();for(var s in a)a.hasOwnProperty(s)&&a[s]()}},b.prototype.onload=function(){var e=this;e.status=te.LOADED,e.callback&&e.callback();var t,n,r=e._waitings;for(t in r)r.hasOwnProperty(t)&&(n=Y[t],n._remain-=r[t],0===n._remain&&n.onload());delete e._waitings,delete e._remain},b.prototype.fetch=function(e){function n(){x.request(a.requestUri,a.onRequest,a.charset)}function r(){delete Q[s],Z[s]=!0,X&&(b.save(o,X),X=null);var e,t=ee[s];for(delete ee[s];e=t.shift();)e.load()}var i=this,o=i.uri;i.status=te.FETCHING;var a={uri:o};N("fetch",a);var s=a.requestUri||o;return!s||Z[s]?(i.load(),t):Q[s]?(ee[s].push(i),t):(Q[s]=!0,ee[s]=[i],N("request",a={uri:o,requestUri:s,onRequest:r,charset:w.charset}),a.requested||(e?e[a.requestUri]=n:n()),t)},b.prototype.exec=function(){function e(t){return b.get(e.resolve(t)).exec()}var n=this;if(n.status>=te.EXECUTING)return n.exports;n.status=te.EXECUTING;var i=n.uri;e.resolve=function(e){return b.resolve(e,i)},e.async=function(t,n){return b.use(t,n,i+"_async_"+r()),e};var o=n.factory,a=_(o)?o(e,n.exports={},n):o;return a===t&&(a=n.exports),delete n.factory,n.exports=a,n.status=te.EXECUTED,N("exec",n),a},b.resolve=function(e,t){var n={id:e,refUri:t};return N("resolve",n),n.uri||x.resolve(n.id,t)},b.define=function(e,n,r){var i=arguments.length;1===i?(r=e,e=t):2===i&&(r=n,C(e)?(n=e,e=t):n=t),!C(n)&&_(r)&&(n=y(""+r));var o={id:e,uri:b.resolve(e),deps:n,factory:r};if(!o.uri&&I.attachEvent){var a=v();a&&(o.uri=a.src)}N("define",o),o.uri?b.save(o.uri,o):X=o},b.save=function(e,t){var n=b.get(e);n.status<te.SAVED&&(n.id=t.id||e,n.dependencies=t.deps||[],n.factory=t.factory,n.status=te.SAVED)},b.get=function(e,t){return Y[e]||(Y[e]=new b(e,t))},b.use=function(t,n,r){var i=b.get(r,C(t)?t:[t]);i.callback=function(){for(var t=[],r=i.resolve(),o=0,a=r.length;a>o;o++)t[o]=Y[r[o]].exec();n&&n.apply(e,t),delete i.callback},i.load()},b.preload=function(e){var t=w.preload,n=t.length;n?b.use(t,function(){t.splice(0,n),b.preload(e)},w.cwd+"_preload_"+r()):e()},x.use=function(e,t){return b.preload(function(){b.use(e,t,w.cwd+"_use_"+r())}),x},b.define.cmd={},e.define=b.define,x.Module=b,w.fetchedList=Z,w.cid=r,x.require=function(e){var t=b.get(b.resolve(e));return t.status<te.EXECUTING&&(t.onload(),t.exec()),t.exports};var ne=/^(.+?\/)(\?\?)?(seajs\/)+/;w.base=(F.match(ne)||["",F])[1],w.dir=F,w.cwd=R,w.charset="utf-8",w.preload=function(){var e=[],t=location.search.replace(/(seajs-\w+)(&|$)/g,"$1=1$2");return t+=" "+I.cookie,t.replace(/(seajs-\w+)=1/g,function(t,n){e.push(n)}),e}(),x.config=function(e){for(var t in e){var n=e[t],r=w[t];if(r&&S(r))for(var i in n)r[i]=n[i];else C(r)?n=r.concat(n):"base"===t&&("/"!==n.slice(-1)&&(n+="/"),n=p(n)),w[t]=n}return N("config",e),x}}}(this),define("lazyload",[],function(e,t,n){var r=e("jquery");e("lib/jquery.lazyload"),n.exports=function(e,t){var n,i={effect:"fadeIn",effect_speed:10,placeholder:"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==",skip_invisible:!1},o=arguments.length;!function(){switch(o){case 0:n=r("img.lazy");break;case 1:e instanceof r?n=e:(n=r("img.lazy"),r.extend(i,e));break;case 2:n=e,i=r.extend(i,t)}}(),n.lazyload(i)}}),define("jquery",[],function(e,t,n){!function(e,t){function r(e){var t=ge[e]={};return Z.each(e.split(ne),function(e,n){t[n]=!0}),t}function i(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(ve,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:me.test(r)?Z.parseJSON(r):r}catch(o){}Z.data(e,n,r)}else r=t}return r}function o(e){var t;for(t in e)if(("data"!==t||!Z.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function a(){return!1}function s(){return!0}function l(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function u(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function c(e,t,n){if(t=t||0,Z.isFunction(t))return Z.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return Z.grep(e,function(e,r){return e===t===n});if("string"==typeof t){var r=Z.grep(e,function(e){return 1===e.nodeType});if(Ie.test(t))return Z.filter(t,r,!n);t=Z.filter(t,r)}return Z.grep(e,function(e,r){return Z.inArray(e,t)>=0===n})}function p(e){var t=$e.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function h(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function f(e,t){if(1===t.nodeType&&Z.hasData(e)){var n,r,i,o=Z._data(e),a=Z._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)Z.event.add(t,n,s[n][r])}a.data&&(a.data=Z.extend({},a.data))}}function d(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),Z.support.html5Clone&&e.innerHTML&&!Z.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ke.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.selected=e.defaultSelected:"input"===n||"textarea"===n?t.defaultValue=e.defaultValue:"script"===n&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(Z.expando))}function g(e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName("*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll("*"):[]}function m(e){Ke.test(e.type)&&(e.defaultChecked=e.checked)}function v(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=yt.length;i--;)if(t=yt[i]+n,t in e)return t;return r}function y(e,t){return e=t||e,"none"===Z.css(e,"display")||!Z.contains(e.ownerDocument,e)}function b(e,t){for(var n,r,i=[],o=0,a=e.length;a>o;o++)n=e[o],n.style&&(i[o]=Z._data(n,"olddisplay"),t?(i[o]||"none"!==n.style.display||(n.style.display=""),""===n.style.display&&y(n)&&(i[o]=Z._data(n,"olddisplay",k(n.nodeName)))):(r=rt(n,"display"),i[o]||"none"===r||Z._data(n,"olddisplay",r)));for(o=0;a>o;o++)n=e[o],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?i[o]||"":"none"));return e}function x(e,t,n){var r=pt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function w(e,t,n,r){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,o=0;4>i;i+=2)"margin"===n&&(o+=Z.css(e,n+vt[i],!0)),r?("content"===n&&(o-=parseFloat(rt(e,"padding"+vt[i]))||0),"margin"!==n&&(o-=parseFloat(rt(e,"border"+vt[i]+"Width"))||0)):(o+=parseFloat(rt(e,"padding"+vt[i]))||0,"padding"!==n&&(o+=parseFloat(rt(e,"border"+vt[i]+"Width"))||0));return o}function S(e,t,n){var r="width"===t?e.offsetWidth:e.offsetHeight,i=!0,o=Z.support.boxSizing&&"border-box"===Z.css(e,"boxSizing");if(0>=r||null==r){if(r=rt(e,t),(0>r||null==r)&&(r=e.style[t]),ht.test(r))return r;i=o&&(Z.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+w(e,t,n||(o?"border":"content"),i)+"px"}function k(e){if(dt[e])return dt[e];var t=Z("<"+e+">").appendTo(q.body),n=t.css("display");return t.remove(),("none"===n||""===n)&&(it=q.body.appendChild(it||Z.extend(q.createElement("iframe"),{frameBorder:0,width:0,height:0})),ot&&it.createElement||(ot=(it.contentWindow||it.contentDocument).document,ot.write("<!doctype html><html><body>"),ot.close()),t=ot.body.appendChild(ot.createElement(e)),n=rt(t,"display"),q.body.removeChild(it)),dt[e]=n,n}function C(e,t,n,r){var i;if(Z.isArray(t))Z.each(t,function(t,i){n||wt.test(e)?r(e,i):C(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==Z.type(t))r(e,t);else for(i in t)C(e+"["+i+"]",t[i],n,r)}function _(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i,o,a=t.toLowerCase().split(ne),s=0,l=a.length;if(Z.isFunction(n))for(;l>s;s++)r=a[s],o=/^\+/.test(r),o&&(r=r.substr(1)||"*"),i=e[r]=e[r]||[],i[o?"unshift":"push"](n)}}function E(e,n,r,i,o,a){o=o||n.dataTypes[0],a=a||{},a[o]=!0;for(var s,l=e[o],u=0,c=l?l.length:0,p=e===It;c>u&&(p||!s);u++)s=l[u](n,r,i),"string"==typeof s&&(!p||a[s]?s=t:(n.dataTypes.unshift(s),s=E(e,n,r,i,s,a)));return!p&&s||a["*"]||(s=E(e,n,r,i,"*",a)),s}function A(e,n){var r,i,o=Z.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((o[r]?e:i||(i={}))[r]=n[r]);i&&Z.extend(!0,e,i)}function N(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes,c=e.responseFields;for(o in c)o in r&&(n[c[o]]=r[o]);for(;"*"===u[0];)u.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("content-type"));if(i)for(o in l)if(l[o]&&l[o].test(i)){u.unshift(o);break}if(u[0]in r)a=u[0];else{for(o in r){if(!u[0]||e.converters[o+" "+u[0]]){a=o;break}s||(s=o)}a=a||s}return a?(a!==u[0]&&u.unshift(a),r[a]):void 0}function T(e,t){var n,r,i,o,a=e.dataTypes.slice(),s=a[0],l={},u=0;if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a[1])for(n in e.converters)l[n.toLowerCase()]=e.converters[n];for(;i=a[++u];)if("*"!==i){if("*"!==s&&s!==i){if(n=l[s+" "+i]||l["* "+i],!n)for(r in l)if(o=r.split(" "),o[1]===i&&(n=l[s+" "+o[0]]||l["* "+o[0]])){n===!0?n=l[r]:l[r]!==!0&&(i=o[0],a.splice(u--,0,i));break}if(n!==!0)if(n&&e["throws"])t=n(t);else try{t=n(t)}catch(c){return{state:"parsererror",error:n?c:"No conversion from "+s+" to "+i}}}s=i}return{state:"success",data:t}}function P(){try{return new e.XMLHttpRequest}catch(t){}}function L(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function j(){return setTimeout(function(){Xt=t},0),Xt=Z.now()}function O(e,t){Z.each(t,function(t,n){for(var r=(en[t]||[]).concat(en["*"]),i=0,o=r.length;o>i;i++)if(r[i].call(e,t,n))return})}function M(e,t,n){var r,i=0,o=Zt.length,a=Z.Deferred().always(function(){delete s.elem}),s=function(){for(var t=Xt||j(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,i=1-r,o=0,s=l.tweens.length;s>o;o++)l.tweens[o].run(i);return a.notifyWith(e,[l,i,n]),1>i&&s?n:(a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:Z.extend({},t),opts:Z.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xt||j(),duration:n.duration,tweens:[],createTween:function(t,n,r){var i=Z.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(i),i},stop:function(t){for(var n=0,r=t?l.tweens.length:0;r>n;n++)l.tweens[n].run(1);return t?a.resolveWith(e,[l,t]):a.rejectWith(e,[l,t]),this}}),u=l.props;for(D(u,l.opts.specialEasing);o>i;i++)if(r=Zt[i].call(l,e,u,l.opts))return r;return O(l,u),Z.isFunction(l.opts.start)&&l.opts.start.call(e,l),Z.fx.timer(Z.extend(s,{anim:l,queue:l.opts.queue,elem:e})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function D(e,t){var n,r,i,o,a;for(n in e)if(r=Z.camelCase(n),i=t[r],o=e[n],Z.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=Z.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function H(e,t,n){var r,i,o,a,s,l,u,c,p,h=this,f=e.style,d={},g=[],m=e.nodeType&&y(e);n.queue||(c=Z._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,p=c.empty.fire,c.empty.fire=function(){c.unqueued||p()}),c.unqueued++,h.always(function(){h.always(function(){c.unqueued--,Z.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===Z.css(e,"display")&&"none"===Z.css(e,"float")&&(Z.support.inlineBlockNeedsLayout&&"inline"!==k(e.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",Z.support.shrinkWrapBlocks||h.done(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],Kt.exec(o)){if(delete t[r],l=l||"toggle"===o,o===(m?"hide":"show"))continue;g.push(r)}if(a=g.length){s=Z._data(e,"fxshow")||Z._data(e,"fxshow",{}),"hidden"in s&&(m=s.hidden),l&&(s.hidden=!m),m?Z(e).show():h.done(function(){Z(e).hide()}),h.done(function(){var t;Z.removeData(e,"fxshow",!0);for(t in d)Z.style(e,t,d[t])});for(r=0;a>r;r++)i=g[r],u=h.createTween(i,m?s[i]:0),d[i]=s[i]||Z.style(e,i),i in s||(s[i]=u.start,m&&(u.end=u.start,u.start="width"===i||"height"===i?1:0))}}function I(e,t,n,r,i){return new I.prototype.init(e,t,n,r,i)}function R(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=vt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function B(e){return Z.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var $,F,q=e.document,W=e.location,U=e.navigator,z=e.jQuery,V=e.$,G=Array.prototype.push,X=Array.prototype.slice,J=Array.prototype.indexOf,K=Object.prototype.toString,Y=Object.prototype.hasOwnProperty,Q=String.prototype.trim,Z=function(e,t){return new Z.fn.init(e,t,$)},ee=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,te=/\S/,ne=/\s+/,re=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ie=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,oe=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ae=/^[\],:{}\s]*$/,se=/(?:^|:|,)(?:\s*\[)+/g,le=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ue=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ce=/^-ms-/,pe=/-([\da-z])/gi,he=function(e,t){return(t+"").toUpperCase()},fe=function(){q.addEventListener?(q.removeEventListener("DOMContentLoaded",fe,!1),Z.ready()):"complete"===q.readyState&&(q.detachEvent("onreadystatechange",fe),Z.ready())},de={};Z.fn=Z.prototype={constructor:Z,init:function(e,n,r){var i,o,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ie.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1])return n=n instanceof Z?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:q,e=Z.parseHTML(i[1],a,!0),oe.test(i[1])&&Z.isPlainObject(n)&&this.attr.call(e,n,!0),Z.merge(this,e);if(o=q.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=q,this.selector=e,this}return Z.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),Z.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return X.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=Z.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,"find"===t?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return Z.each(this,e,t)},ready:function(e){return Z.ready.promise().done(e),this},eq:function(e){return e=+e,-1===e?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(X.apply(this,arguments),"slice",X.call(arguments).join(","))},map:function(e){return this.pushStack(Z.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:G,sort:[].sort,splice:[].splice},Z.fn.init.prototype=Z.fn,Z.extend=Z.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||Z.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(e=arguments[l]))for(n in e)r=s[n],i=e[n],s!==i&&(c&&i&&(Z.isPlainObject(i)||(o=Z.isArray(i)))?(o?(o=!1,a=r&&Z.isArray(r)?r:[]):a=r&&Z.isPlainObject(r)?r:{},s[n]=Z.extend(c,a,i)):i!==t&&(s[n]=i));return s},Z.extend({noConflict:function(t){return e.$===Z&&(e.$=V),t&&e.jQuery===Z&&(e.jQuery=z),Z},isReady:!1,readyWait:1,holdReady:function(e){e?Z.readyWait++:Z.ready(!0)},ready:function(e){if(e===!0?!--Z.readyWait:!Z.isReady){if(!q.body)return setTimeout(Z.ready,1);Z.isReady=!0,e!==!0&&--Z.readyWait>0||(F.resolveWith(q,[Z]),Z.fn.trigger&&Z(q).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===Z.type(e)},isArray:Array.isArray||function(e){return"array"===Z.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):de[K.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==Z.type(e)||e.nodeType||Z.isWindow(e))return!1;try{if(e.constructor&&!Y.call(e,"constructor")&&!Y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||Y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return e&&"string"==typeof e?("boolean"==typeof t&&(n=t,t=0),t=t||q,(r=oe.exec(e))?[t.createElement(r[1])]:(r=Z.buildFragment([e],t,n?null:[]),Z.merge([],(r.cacheable?Z.clone(r.fragment):r.fragment).childNodes))):null},parseJSON:function(t){return t&&"string"==typeof t?(t=Z.trim(t),e.JSON&&e.JSON.parse?e.JSON.parse(t):ae.test(t.replace(le,"@").replace(ue,"]").replace(se,""))?new Function("return "+t)():void Z.error("Invalid JSON: "+t)):null},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||Z.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&te.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(ce,"ms-").replace(pe,he)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,o=0,a=e.length,s=a===t||Z.isFunction(e);if(r)if(s){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;a>o&&n.apply(e[o++],r)!==!1;);else if(s){for(i in e)if(n.call(e[i],i,e[i])===!1)break}else for(;a>o&&n.call(e[o],o,e[o++])!==!1;);return e},trim:Q&&!Q.call("\ufeff ")?function(e){return null==e?"":Q.call(e)}:function(e){return null==e?"":(e+"").replace(re,"")},makeArray:function(e,t){var n,r=t||[];return null!=e&&(n=Z.type(e),null==e.length||"string"===n||"function"===n||"regexp"===n||Z.isWindow(e)?G.call(r,e):Z.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(J)return J.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else for(;n[o]!==t;)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,n,r){var i,o,a=[],s=0,l=e.length,u=e instanceof Z||l!==t&&"number"==typeof l&&(l>0&&e[0]&&e[l-1]||0===l||Z.isArray(e));if(u)for(;l>s;s++)i=n(e[s],s,r),null!=i&&(a[a.length]=i);else for(o in e)i=n(e[o],o,r),null!=i&&(a[a.length]=i);return a.concat.apply([],a)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(r=e[n],n=e,e=r),Z.isFunction(e)?(i=X.call(arguments,2),o=function(){return e.apply(n,i.concat(X.call(arguments)))},o.guid=e.guid=e.guid||Z.guid++,o):t},access:function(e,n,r,i,o,a,s){var l,u=null==r,c=0,p=e.length;if(r&&"object"==typeof r){for(c in r)Z.access(e,n,c,r[c],1,a,i);o=1}else if(i!==t){if(l=s===t&&Z.isFunction(i),u&&(l?(l=n,n=function(e,t,n){return l.call(Z(e),n)}):(n.call(e,i),n=null)),n)for(;p>c;c++)n(e[c],r,l?i.call(e[c],c,n(e[c],r)):i,s);o=1}return o?e:u?n.call(e):p?n(e[0],r):a},now:function(){return(new Date).getTime()}}),Z.ready.promise=function(t){if(!F)if(F=Z.Deferred(),"complete"===q.readyState)setTimeout(Z.ready,1);else if(q.addEventListener)q.addEventListener("DOMContentLoaded",fe,!1),e.addEventListener("load",Z.ready,!1);else{q.attachEvent("onreadystatechange",fe),e.attachEvent("onload",Z.ready);var n=!1;try{n=null==e.frameElement&&q.documentElement}catch(r){}n&&n.doScroll&&!function i(){if(!Z.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}Z.ready()}}()}return F.promise(t)},Z.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){de["[object "+t+"]"]=t.toLowerCase()}),$=Z(q);var ge={};Z.Callbacks=function(e){e="string"==typeof e?ge[e]||r(e):Z.extend({},e);var n,i,o,a,s,l,u=[],c=!e.once&&[],p=function(t){for(n=e.memory&&t,i=!0,l=a||0,a=0,s=u.length,o=!0;u&&s>l;l++)if(u[l].apply(t[0],t[1])===!1&&e.stopOnFalse){n=!1;break}o=!1,u&&(c?c.length&&p(c.shift()):n?u=[]:h.disable())},h={add:function(){if(u){var t=u.length;!function r(t){Z.each(t,function(t,n){var i=Z.type(n);"function"===i?e.unique&&h.has(n)||u.push(n):n&&n.length&&"string"!==i&&r(n)})}(arguments),o?s=u.length:n&&(a=t,p(n))}return this},remove:function(){return u&&Z.each(arguments,function(e,t){for(var n;(n=Z.inArray(t,u,n))>-1;)u.splice(n,1),o&&(s>=n&&s--,l>=n&&l--)}),this},has:function(e){return Z.inArray(e,u)>-1},empty:function(){return u=[],this},disable:function(){return u=c=n=t,this},disabled:function(){return!u},lock:function(){return c=t,n||h.disable(),this},locked:function(){return!c},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!u||i&&!c||(o?c.push(t):p(t)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!i}};return h},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")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return Z.Deferred(function(n){Z.each(t,function(t,r){var o=r[0],a=e[t];i[r[1]](Z.isFunction(a)?function(){var e=a.apply(this,arguments);e&&Z.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===i?n:this,[e])}:n[o])}),e=null}).promise()},promise:function(e){return null!=e?Z.extend(e,r):r}},i={};return r.pipe=r.then,Z.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=a.fire,i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=X.call(arguments),a=o.length,s=1!==a||e&&Z.isFunction(e.promise)?a:0,l=1===s?e:Z.Deferred(),u=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?X.call(arguments):i,r===t?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&Z.isFunction(o[i].promise)?o[i].promise().done(u(i,r,o)).fail(l.reject).progress(u(i,n,t)):--s;return s||l.resolveWith(r,o),l.promise()}}),Z.support=function(){var t,n,r,i,o,a,s,l,u,c,p,h=q.createElement("div");if(h.setAttribute("className","t"),h.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=h.getElementsByTagName("*"),r=h.getElementsByTagName("a")[0],!n||!r||!n.length)return{};i=q.createElement("select"),o=i.appendChild(q.createElement("option")),a=h.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:3===h.firstChild.nodeType,tbody:!h.getElementsByTagName("tbody").length,htmlSerialize:!!h.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:"on"===a.value,optSelected:o.selected,getSetAttribute:"t"!==h.className,enctype:!!q.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==q.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===q.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,i.disabled=!0,t.optDisabled=!o.disabled;try{delete h.test}catch(f){t.deleteExpando=!1}if(!h.addEventListener&&h.attachEvent&&h.fireEvent&&(h.attachEvent("onclick",p=function(){t.noCloneEvent=!1}),h.cloneNode(!0).fireEvent("onclick"),h.detachEvent("onclick",p)),a=q.createElement("input"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","checked"),a.setAttribute("name","t"),h.appendChild(a),s=q.createDocumentFragment(),s.appendChild(h.lastChild),t.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=a.checked,s.removeChild(a),s.appendChild(h),h.attachEvent)for(u in{submit:!0,change:!0,focusin:!0})l="on"+u,c=l in h,c||(h.setAttribute(l,"return;"),c="function"==typeof h[l]),t[u+"Bubbles"]=c;return Z(function(){var n,r,i,o,a="padding:0;margin:0;border:0;display:block;overflow:hidden;",s=q.getElementsByTagName("body")[0];s&&(n=q.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",s.insertBefore(n,s.firstChild),r=q.createElement("div"),n.appendChild(r),r.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=r.getElementsByTagName("td"),i[0].style.cssText="padding:0;margin:0;border:0;display:none",c=0===i[0].offsetHeight,i[0].style.display="",i[1].style.display="none",t.reliableHiddenOffsets=c&&0===i[0].offsetHeight,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===r.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==s.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(r,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(r,null)||{width:"4px"}).width,o=q.createElement("div"),o.style.cssText=r.style.cssText=a,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),"undefined"!=typeof r.style.zoom&&(r.innerHTML="",r.style.cssText=a+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===r.offsetWidth,r.style.display="block",r.style.overflow="visible",r.innerHTML="<div></div>",r.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==r.offsetWidth,n.style.zoom=1),s.removeChild(n),n=r=i=o=null)}),s.removeChild(h),n=r=i=o=a=s=h=null,t}();var me=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,ve=/([A-Z])/g;Z.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(Z.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?Z.cache[e[Z.expando]]:e[Z.expando],!!e&&!o(e)},data:function(e,n,r,i){if(Z.acceptData(e)){var o,a,s=Z.expando,l="string"==typeof n,u=e.nodeType,c=u?Z.cache:e,p=u?e[s]:e[s]&&s;if(p&&c[p]&&(i||c[p].data)||!l||r!==t)return p||(u?e[s]=p=Z.deletedIds.pop()||Z.guid++:p=s),c[p]||(c[p]={},u||(c[p].toJSON=Z.noop)),("object"==typeof n||"function"==typeof n)&&(i?c[p]=Z.extend(c[p],n):c[p].data=Z.extend(c[p].data,n)),o=c[p],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[Z.camelCase(n)]=r),l?(a=o[n],null==a&&(a=o[Z.camelCase(n)])):a=o,a}},removeData:function(e,t,n){if(Z.acceptData(e)){var r,i,a,s=e.nodeType,l=s?Z.cache:e,u=s?e[Z.expando]:Z.expando;if(l[u]){if(t&&(r=n?l[u]:l[u].data)){Z.isArray(t)||(t in r?t=[t]:(t=Z.camelCase(t),t=t in r?[t]:t.split(" ")));for(i=0,a=t.length;a>i;i++)delete r[t[i]];if(!(n?o:Z.isEmptyObject)(r))return}(n||(delete l[u].data,o(l[u])))&&(s?Z.cleanData([e],!0):Z.support.deleteExpando||l!=l.window?delete l[u]:l[u]=null)}}},_data:function(e,t,n){return Z.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&Z.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),Z.fn.extend({data:function(e,n){var r,o,a,s,l,u=this[0],c=0,p=null;if(e===t){if(this.length&&(p=Z.data(u),1===u.nodeType&&!Z._data(u,"parsedAttrs"))){for(a=u.attributes,l=a.length;l>c;c++)s=a[c].name,s.indexOf("data-")||(s=Z.camelCase(s.substring(5)),i(u,s,p[s]));Z._data(u,"parsedAttrs",!0)}return p}return"object"==typeof e?this.each(function(){Z.data(this,e)}):(r=e.split(".",2),r[1]=r[1]?"."+r[1]:"",o=r[1]+"!",Z.access(this,function(n){return n===t?(p=this.triggerHandler("getData"+o,[r[0]]),p===t&&u&&(p=Z.data(u,e),p=i(u,e,p)),p===t&&r[1]?this.data(r[0]):p):(r[1]=n,void this.each(function(){var t=Z(this);t.triggerHandler("setData"+o,r),Z.data(this,e,n),t.triggerHandler("changeData"+o,r); +}))},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){Z.removeData(this,e)})}}),Z.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=Z._data(e,t),n&&(!r||Z.isArray(n)?r=Z._data(e,t,Z.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=Z.queue(e,t),r=n.length,i=n.shift(),o=Z._queueHooks(e,t),a=function(){Z.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z._data(e,n)||Z._data(e,n,{empty:Z.Callbacks("once memory").add(function(){Z.removeData(e,t+"queue",!0),Z.removeData(e,n,!0)})})}}),Z.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),arguments.length<r?Z.queue(this[0],e):n===t?this:this.each(function(){var t=Z.queue(this,e,n);Z._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&Z.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Z.dequeue(this,e)})},delay:function(e,t){return e=Z.fx?Z.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=Z.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";s--;)r=Z._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var ye,be,xe,we=/[\t\r\n]/g,Se=/\r/g,ke=/^(?:button|input)$/i,Ce=/^(?:button|input|object|select|textarea)$/i,_e=/^a(?:rea|)$/i,Ee=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Ae=Z.support.getSetAttribute;Z.fn.extend({attr:function(e,t){return Z.access(this,Z.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Z.removeAttr(this,e)})},prop:function(e,t){return Z.access(this,Z.prop,e,t,arguments.length>1)},removeProp:function(e){return e=Z.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a,s;if(Z.isFunction(e))return this.each(function(t){Z(this).addClass(e.call(this,t,this.className))});if(e&&"string"==typeof e)for(t=e.split(ne),n=0,r=this.length;r>n;n++)if(i=this[n],1===i.nodeType)if(i.className||1!==t.length){for(o=" "+i.className+" ",a=0,s=t.length;s>a;a++)o.indexOf(" "+t[a]+" ")<0&&(o+=t[a]+" ");i.className=Z.trim(o)}else i.className=e;return this},removeClass:function(e){var n,r,i,o,a,s,l;if(Z.isFunction(e))return this.each(function(t){Z(this).removeClass(e.call(this,t,this.className))});if(e&&"string"==typeof e||e===t)for(n=(e||"").split(ne),s=0,l=this.length;l>s;s++)if(i=this[s],1===i.nodeType&&i.className){for(r=(" "+i.className+" ").replace(we," "),o=0,a=n.length;a>o;o++)for(;r.indexOf(" "+n[o]+" ")>=0;)r=r.replace(" "+n[o]+" "," ");i.className=e?Z.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return Z.isFunction(e)?this.each(function(n){Z(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var i,o=0,a=Z(this),s=t,l=e.split(ne);i=l[o++];)s=r?s:!a.hasClass(i),a[s?"addClass":"removeClass"](i);else("undefined"===n||"boolean"===n)&&(this.className&&Z._data(this,"__className__",this.className),this.className=this.className||e===!1?"":Z._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(we," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=Z.isFunction(e),this.each(function(r){var o,a=Z(this);1===this.nodeType&&(o=i?e.call(this,r,a.val()):e,null==o?o="":"number"==typeof o?o+="":Z.isArray(o)&&(o=Z.map(o,function(e){return null==e?"":e+""})),n=Z.valHooks[this.type]||Z.valHooks[this.nodeName.toLowerCase()],n&&"set"in n&&n.set(this,o,"value")!==t||(this.value=o))});if(o)return n=Z.valHooks[o.type]||Z.valHooks[o.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(o,"value"))!==t?r:(r=o.value,"string"==typeof r?r.replace(Se,""):null==r?"":r)}}}),Z.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;s>l;l++)if(n=r[l],(n.selected||l===i)&&(Z.support.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!Z.nodeName(n.parentNode,"optgroup"))){if(t=Z(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=Z.makeArray(t);return Z(e).find("option").each(function(){this.selected=Z.inArray(Z(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var o,a,s,l=e.nodeType;if(e&&3!==l&&8!==l&&2!==l)return i&&Z.isFunction(Z.fn[n])?Z(e)[n](r):"undefined"==typeof e.getAttribute?Z.prop(e,n,r):(s=1!==l||!Z.isXMLDoc(e),s&&(n=n.toLowerCase(),a=Z.attrHooks[n]||(Ee.test(n)?be:ye)),r!==t?null===r?void Z.removeAttr(e,n):a&&"set"in a&&s&&(o=a.set(e,r,n))!==t?o:(e.setAttribute(n,r+""),r):a&&"get"in a&&s&&null!==(o=a.get(e,n))?o:(o=e.getAttribute(n),null===o?t:o))},removeAttr:function(e,t){var n,r,i,o,a=0;if(t&&1===e.nodeType)for(r=t.split(ne);a<r.length;a++)i=r[a],i&&(n=Z.propFix[i]||i,o=Ee.test(i),o||Z.attr(e,i,""),e.removeAttribute(Ae?i:n),o&&n in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(ke.test(e.nodeName)&&e.parentNode)Z.error("type property can't be changed");else if(!Z.support.radioValue&&"radio"===t&&Z.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return ye&&Z.nodeName(e,"button")?ye.get(e,t):t in e?e.value:null},set:function(e,t,n){return ye&&Z.nodeName(e,"button")?ye.set(e,t,n):void(e.value=t)}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!Z.isXMLDoc(e),a&&(n=Z.propFix[n]||n,o=Z.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):Ce.test(e.nodeName)||_e.test(e.nodeName)&&e.href?0:t}}}}),be={get:function(e,n){var r,i=Z.prop(e,n);return i===!0||"boolean"!=typeof i&&(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;return t===!1?Z.removeAttr(e,n):(r=Z.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},Ae||(xe={name:!0,id:!0,coords:!0},ye=Z.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&(xe[n]?""!==r.value:r.specified)?r.value:t},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=q.createAttribute(n),e.setAttributeNode(r)),r.value=t+""}},Z.each(["width","height"],function(e,t){Z.attrHooks[t]=Z.extend(Z.attrHooks[t],{set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}})}),Z.attrHooks.contenteditable={get:ye.get,set:function(e,t,n){""===t&&(t="false"),ye.set(e,t,n)}}),Z.support.hrefNormalized||Z.each(["href","src","width","height"],function(e,n){Z.attrHooks[n]=Z.extend(Z.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null===r?t:r}})}),Z.support.style||(Z.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=t+""}}),Z.support.optSelected||(Z.propHooks.selected=Z.extend(Z.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),Z.support.enctype||(Z.propFix.enctype="encoding"),Z.support.checkOn||Z.each(["radio","checkbox"],function(){Z.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),Z.each(["radio","checkbox"],function(){Z.valHooks[this]=Z.extend(Z.valHooks[this],{set:function(e,t){return Z.isArray(t)?e.checked=Z.inArray(Z(e).val(),t)>=0:void 0}})});var Ne=/^(?:textarea|input|select)$/i,Te=/^([^\.]*|)(?:\.(.+)|)$/,Pe=/(?:^|\s)hover(\.\S+|)\b/,Le=/^key/,je=/^(?:mouse|contextmenu)|click/,Oe=/^(?:focusinfocus|focusoutblur)$/,Me=function(e){return Z.event.special.hover?e:e.replace(Pe,"mouseenter$1 mouseleave$1")};Z.event={add:function(e,n,r,i,o){var a,s,l,u,c,p,h,f,d,g,m;if(3!==e.nodeType&&8!==e.nodeType&&n&&r&&(a=Z._data(e))){for(r.handler&&(d=r,r=d.handler,o=d.selector),r.guid||(r.guid=Z.guid++),l=a.events,l||(a.events=l={}),s=a.handle,s||(a.handle=s=function(e){return"undefined"==typeof Z||e&&Z.event.triggered===e.type?t:Z.event.dispatch.apply(s.elem,arguments)},s.elem=e),n=Z.trim(Me(n)).split(" "),u=0;u<n.length;u++)c=Te.exec(n[u])||[],p=c[1],h=(c[2]||"").split(".").sort(),m=Z.event.special[p]||{},p=(o?m.delegateType:m.bindType)||p,m=Z.event.special[p]||{},f=Z.extend({type:p,origType:c[1],data:i,handler:r,guid:r.guid,selector:o,needsContext:o&&Z.expr.match.needsContext.test(o),namespace:h.join(".")},d),g=l[p],g||(g=l[p]=[],g.delegateCount=0,m.setup&&m.setup.call(e,i,h,s)!==!1||(e.addEventListener?e.addEventListener(p,s,!1):e.attachEvent&&e.attachEvent("on"+p,s))),m.add&&(m.add.call(e,f),f.handler.guid||(f.handler.guid=r.guid)),o?g.splice(g.delegateCount++,0,f):g.push(f),Z.event.global[p]=!0;e=null}},global:{},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,h,f,d,g,m=Z.hasData(e)&&Z._data(e);if(m&&(h=m.events)){for(t=Z.trim(Me(t||"")).split(" "),o=0;o<t.length;o++)if(a=Te.exec(t[o])||[],s=l=a[1],u=a[2],s){for(f=Z.event.special[s]||{},s=(r?f.delegateType:f.bindType)||s,d=h[s]||[],c=d.length,u=u?new RegExp("(^|\\.)"+u.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,p=0;p<d.length;p++)g=d[p],!i&&l!==g.origType||n&&n.guid!==g.guid||u&&!u.test(g.namespace)||r&&r!==g.selector&&("**"!==r||!g.selector)||(d.splice(p--,1),g.selector&&d.delegateCount--,f.remove&&f.remove.call(e,g));0===d.length&&c!==d.length&&(f.teardown&&f.teardown.call(e,u,m.handle)!==!1||Z.removeEvent(e,s,m.handle),delete h[s])}else for(s in h)Z.event.remove(e,s+t[o],n,r,!0);Z.isEmptyObject(h)&&(delete m.handle,Z.removeData(e,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,i,o){if(!i||3!==i.nodeType&&8!==i.nodeType){var a,s,l,u,c,p,h,f,d,g,m=n.type||n,v=[];if(!Oe.test(m+Z.event.triggered)&&(m.indexOf("!")>=0&&(m=m.slice(0,-1),s=!0),m.indexOf(".")>=0&&(v=m.split("."),m=v.shift(),v.sort()),i&&!Z.event.customEvent[m]||Z.event.global[m]))if(n="object"==typeof n?n[Z.expando]?n:new Z.Event(m,n):new Z.Event(m),n.type=m,n.isTrigger=!0,n.exclusive=s,n.namespace=v.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,p=m.indexOf(":")<0?"on"+m:"",i){if(n.result=t,n.target||(n.target=i),r=null!=r?Z.makeArray(r):[],r.unshift(n),h=Z.event.special[m]||{},!h.trigger||h.trigger.apply(i,r)!==!1){if(d=[[i,h.bindType||m]],!o&&!h.noBubble&&!Z.isWindow(i)){for(g=h.delegateType||m,u=Oe.test(g+m)?i:i.parentNode,c=i;u;u=u.parentNode)d.push([u,g]),c=u;c===(i.ownerDocument||q)&&d.push([c.defaultView||c.parentWindow||e,g])}for(l=0;l<d.length&&!n.isPropagationStopped();l++)u=d[l][0],n.type=d[l][1],f=(Z._data(u,"events")||{})[n.type]&&Z._data(u,"handle"),f&&f.apply(u,r),f=p&&u[p],f&&Z.acceptData(u)&&f.apply&&f.apply(u,r)===!1&&n.preventDefault();return n.type=m,o||n.isDefaultPrevented()||h._default&&h._default.apply(i.ownerDocument,r)!==!1||"click"===m&&Z.nodeName(i,"a")||!Z.acceptData(i)||p&&i[m]&&("focus"!==m&&"blur"!==m||0!==n.target.offsetWidth)&&!Z.isWindow(i)&&(c=i[p],c&&(i[p]=null),Z.event.triggered=m,i[m](),Z.event.triggered=t,c&&(i[p]=c)),n.result}}else{a=Z.cache;for(l in a)a[l].events&&a[l].events[m]&&Z.event.trigger(n,r,a[l].handle.elem,!0)}}},dispatch:function(n){n=Z.event.fix(n||e.event);var r,i,o,a,s,l,u,c,p,h=(Z._data(this,"events")||{})[n.type]||[],f=h.delegateCount,d=X.call(arguments),g=!n.exclusive&&!n.namespace,m=Z.event.special[n.type]||{},v=[];if(d[0]=n,n.delegateTarget=this,!m.preDispatch||m.preDispatch.call(this,n)!==!1){if(f&&(!n.button||"click"!==n.type))for(o=n.target;o!=this;o=o.parentNode||this)if(o.disabled!==!0||"click"!==n.type){for(s={},u=[],r=0;f>r;r++)c=h[r],p=c.selector,s[p]===t&&(s[p]=c.needsContext?Z(p,this).index(o)>=0:Z.find(p,this,null,[o]).length),s[p]&&u.push(c);u.length&&v.push({elem:o,matches:u})}for(h.length>f&&v.push({elem:this,matches:h.slice(f)}),r=0;r<v.length&&!n.isPropagationStopped();r++)for(l=v[r],n.currentTarget=l.elem,i=0;i<l.matches.length&&!n.isImmediatePropagationStopped();i++)c=l.matches[i],(g||!n.namespace&&!c.namespace||n.namespace_re&&n.namespace_re.test(c.namespace))&&(n.data=c.data,n.handleObj=c,a=((Z.event.special[c.origType]||{}).handle||c.handler).apply(l.elem,d),a!==t&&(n.result=a,a===!1&&(n.preventDefault(),n.stopPropagation())));return m.postDispatch&&m.postDispatch.call(this,n),n.result}},props:"attrChange attrName relatedNode srcElement 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 fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,a=n.button,s=n.fromElement;return null==e.pageX&&null!=n.clientX&&(r=e.target.ownerDocument||q,i=r.documentElement,o=r.body,e.pageX=n.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),e.pageY=n.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),e.which||a===t||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[Z.expando])return e;var t,n,r=e,i=Z.event.fixHooks[e.type]||{},o=i.props?this.props.concat(i.props):this.props;for(e=Z.Event(r),t=o.length;t;)n=o[--t],e[n]=r[n];return e.target||(e.target=r.srcElement||q),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,i.filter?i.filter(e,r):e},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){Z.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,r){var i=Z.extend(new Z.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?Z.event.trigger(i,null,t):Z.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},Z.event.handle=Z.event.dispatch,Z.removeEvent=q.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&("undefined"==typeof e[r]&&(e[r]=null),e.detachEvent(r,n))},Z.Event=function(e,t){return this instanceof Z.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?s:a):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={preventDefault:function(){this.isDefaultPrevented=s;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=s;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=s,this.stopPropagation()},isDefaultPrevented:a,isPropagationStopped:a,isImmediatePropagationStopped:a},Z.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){Z.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;o.selector;return(!i||i!==r&&!Z.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Z.support.submitBubbles||(Z.event.special.submit={setup:function(){return Z.nodeName(this,"form")?!1:void Z.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=Z.nodeName(n,"input")||Z.nodeName(n,"button")?n.form:t;r&&!Z._data(r,"_submit_attached")&&(Z.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),Z._data(r,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&Z.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return Z.nodeName(this,"form")?!1:void Z.event.remove(this,"._submit")}}),Z.support.changeBubbles||(Z.event.special.change={setup:function(){return Ne.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(Z.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),Z.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),Z.event.simulate("change",this,e,!0)})),!1):void Z.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ne.test(t.nodeName)&&!Z._data(t,"_change_attached")&&(Z.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||Z.event.simulate("change",this.parentNode,e,!0)}),Z._data(t,"_change_attached",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return Z.event.remove(this,"._change"),!Ne.test(this.nodeName)}}),Z.support.focusinBubbles||Z.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){Z.event.simulate(t,e.target,Z.event.fix(e),!0)};Z.event.special[t]={setup:function(){0===n++&&q.addEventListener(e,r,!0)},teardown:function(){0===--n&&q.removeEventListener(e,r,!0)}}}),Z.fn.extend({on:function(e,n,r,i,o){var s,l;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(l in e)this.on(l,n,r,e[l],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=a;else if(!i)return this;return 1===o&&(s=i,i=function(e){return Z().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=Z.guid++)),this.each(function(){Z.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,Z(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=a),this.each(function(){Z.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return Z(this.context).on(e,this.selector,t,n),this},die:function(e,t){return Z(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){Z.event.trigger(e,t,this)})},triggerHandler:function(e,t){return this[0]?Z.event.trigger(e,t,this[0],!0):void 0},toggle:function(e){var t=arguments,n=e.guid||Z.guid++,r=0,i=function(n){var i=(Z._data(this,"lastToggle"+e.guid)||0)%r;return Z._data(this,"lastToggle"+e.guid,i+1),n.preventDefault(),t[i].apply(this,arguments)||!1};for(i.guid=n;r<t.length;)t[r++].guid=n;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),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,n){return null==n&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},Le.test(t)&&(Z.event.fixHooks[t]=Z.event.keyHooks),je.test(t)&&(Z.event.fixHooks[t]=Z.event.mouseHooks)}),function(e,t){function n(e,t,n,r){n=n||[],t=t||L;var i,o,a,s,l=t.nodeType;if(!e||"string"!=typeof e)return n;if(1!==l&&9!==l)return[];if(a=w(t),!a&&!r&&(i=ne.exec(e)))if(s=i[1]){if(9===l){if(o=t.getElementById(s),!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&S(t,o)&&o.id===s)return n.push(o),n}else{if(i[2])return H.apply(n,I.call(t.getElementsByTagName(e),0)),n;if((s=i[3])&&he&&t.getElementsByClassName)return H.apply(n,I.call(t.getElementsByClassName(s),0)),n}return g(e.replace(Y,"$1"),t,n,r,a)}function r(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function i(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function o(e){return B(function(t){return t=+t,B(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function a(e,t,n){if(e===t)return n;for(var r=e.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}function s(e,t){var r,i,o,a,s,l,u,c=q[T][e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=b.preFilter;s;){(!r||(i=Q.exec(s)))&&(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=ee.exec(s))&&(o.push(r=new P(i.shift())),s=s.slice(r.length),r.type=i[0].replace(Y," "));for(a in b.filter)!(i=se[a].exec(s))||u[a]&&!(i=u[a](i))||(o.push(r=new P(i.shift())),s=s.slice(r.length),r.type=a,r.matches=i);if(!r)break}return t?s.length:s?n.error(e):q(e,l).slice(0)}function l(e,t,n){var r=t.dir,i=n&&"parentNode"===t.dir,o=M++;return t.first?function(t,n,o){for(;t=t[r];)if(i||1===t.nodeType)return e(t,n,o)}:function(t,n,a){if(a){for(;t=t[r];)if((i||1===t.nodeType)&&e(t,n,a))return t}else for(var s,l=O+" "+o+" ",u=l+v;t=t[r];)if(i||1===t.nodeType){if((s=t[T])===u)return t.sizset;if("string"==typeof s&&0===s.indexOf(l)){if(t.sizset)return t}else{if(t[T]=u,e(t,n,a))return t.sizset=!0,t;t.sizset=!1}}}}function u(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function c(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function p(e,t,n,r,i,o){return r&&!r[T]&&(r=p(r)),i&&!i[T]&&(i=p(i,o)),B(function(o,a,s,l){var u,p,h,f=[],g=[],m=a.length,v=o||d(t||"*",s.nodeType?[s]:s,[]),y=!e||!o&&t?v:c(v,f,e,s,l),b=n?i||(o?e:m||r)?[]:a:y;if(n&&n(y,b,s,l),r)for(u=c(b,g),r(u,[],s,l),p=u.length;p--;)(h=u[p])&&(b[g[p]]=!(y[g[p]]=h));if(o){if(i||e){if(i){for(u=[],p=b.length;p--;)(h=b[p])&&u.push(y[p]=h);i(null,b=[],u,l)}for(p=b.length;p--;)(h=b[p])&&(u=i?R.call(o,h):f[p])>-1&&(o[u]=!(a[u]=h))}}else b=c(b===a?b.splice(m,b.length):b),i?i(null,a,b,l):H.apply(a,b)})}function h(e){for(var t,n,r,i=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,c=l(function(e){return e===t},a,!0),f=l(function(e){return R.call(t,e)>-1},a,!0),d=[function(e,n,r){return!o&&(r||n!==E)||((t=n).nodeType?c(e,n,r):f(e,n,r))}];i>s;s++)if(n=b.relative[e[s].type])d=[l(u(d),n)];else{if(n=b.filter[e[s].type].apply(null,e[s].matches),n[T]){for(r=++s;i>r&&!b.relative[e[r].type];r++);return p(s>1&&u(d),s>1&&e.slice(0,s-1).join("").replace(Y,"$1"),n,r>s&&h(e.slice(s,r)),i>r&&h(e=e.slice(r)),i>r&&e.join(""))}d.push(n)}return u(d)}function f(e,t){var r=t.length>0,i=e.length>0,o=function(a,s,l,u,p){var h,f,d,g=[],m=0,y="0",x=a&&[],w=null!=p,S=E,k=a||i&&b.find.TAG("*",p&&s.parentNode||s),C=O+=null==S?1:Math.E;for(w&&(E=s!==L&&s,v=o.el);null!=(h=k[y]);y++){if(i&&h){for(f=0;d=e[f];f++)if(d(h,s,l)){u.push(h);break}w&&(O=C,v=++o.el)}r&&((h=!d&&h)&&m--,a&&x.push(h))}if(m+=y,r&&y!==m){for(f=0;d=t[f];f++)d(x,g,s,l);if(a){if(m>0)for(;y--;)x[y]||g[y]||(g[y]=D.call(u));g=c(g)}H.apply(u,g),w&&!a&&g.length>0&&m+t.length>1&&n.uniqueSort(u)}return w&&(O=C,E=S),x};return o.el=0,r?B(o):o}function d(e,t,r){for(var i=0,o=t.length;o>i;i++)n(e,t[i],r);return r}function g(e,t,n,r,i){var o,a,l,u,c,p=s(e);p.length;if(!r&&1===p.length){if(a=p[0]=p[0].slice(0),a.length>2&&"ID"===(l=a[0]).type&&9===t.nodeType&&!i&&b.relative[a[1].type]){if(t=b.find.ID(l.matches[0].replace(ae,""),t,i)[0],!t)return n;e=e.slice(a.shift().length)}for(o=se.POS.test(e)?-1:a.length-1;o>=0&&(l=a[o],!b.relative[u=l.type]);o--)if((c=b.find[u])&&(r=c(l.matches[0].replace(ae,""),re.test(a[0].type)&&t.parentNode||t,i))){if(a.splice(o,1),e=r.length&&a.join(""),!e)return H.apply(n,I.call(r,0)),n;break}}return k(e,p)(r,t,i,n,re.test(e)),n}function m(){}var v,y,b,x,w,S,k,C,_,E,A=!0,N="undefined",T=("sizcache"+Math.random()).replace(".",""),P=String,L=e.document,j=L.documentElement,O=0,M=0,D=[].pop,H=[].push,I=[].slice,R=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},B=function(e,t){return e[T]=null==t||t,e},$=function(){var e={},t=[];return B(function(n,r){return t.push(n)>b.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},F=$(),q=$(),W=$(),U="[\\x20\\t\\r\\n\\f]",z="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",V=z.replace("w","w#"),G="([*^$|!~]?=)",X="\\["+U+"*("+z+")"+U+"*(?:"+G+U+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+V+")|)|)"+U+"*\\]",J=":("+z+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+X+")|[^:]|\\\\.)*|.*))\\)|)",K=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+U+"*((?:-\\d)?\\d*)"+U+"*\\)|)(?=[^-]|$)",Y=new RegExp("^"+U+"+|((?:^|[^\\\\])(?:\\\\.)*)"+U+"+$","g"),Q=new RegExp("^"+U+"*,"+U+"*"),ee=new RegExp("^"+U+"*([\\x20\\t\\r\\n\\f>+~])"+U+"*"),te=new RegExp(J),ne=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,re=/[\x20\t\r\n\f]*[+~]/,ie=/h\d/i,oe=/input|select|textarea|button/i,ae=/\\(?!\\)/g,se={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),NAME:new RegExp("^\\[name=['\"]?("+z+")['\"]?\\]"),TAG:new RegExp("^("+z.replace("w","w*")+")"),ATTR:new RegExp("^"+X),PSEUDO:new RegExp("^"+J),POS:new RegExp(K,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+U+"*(even|odd|(([+-]|)(\\d*)n|)"+U+"*(?:([+-]|)"+U+"*(\\d+)|))"+U+"*\\)|)","i"),needsContext:new RegExp("^"+U+"*[>+~]|"+K,"i")},le=function(e){var t=L.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},ue=le(function(e){return e.appendChild(L.createComment("")),!e.getElementsByTagName("*").length}),ce=le(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==N&&"#"===e.firstChild.getAttribute("href")}),pe=le(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),he=le(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&e.getElementsByClassName("e").length?(e.lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),fe=le(function(e){e.id=T+0,e.innerHTML="<a name='"+T+"'></a><div name='"+T+"'></div>",j.insertBefore(e,j.firstChild);var t=L.getElementsByName&&L.getElementsByName(T).length===2+L.getElementsByName(T+0).length;return y=!L.getElementById(T),j.removeChild(e),t});try{I.call(j.childNodes,0)[0].nodeType}catch(de){I=function(e){for(var t,n=[];t=this[e];e++)n.push(t);return n}}n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){return n(t,null,null,[e]).length>0},x=n.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=x(t);return n},w=n.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},S=n.contains=j.contains?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&1===r.nodeType&&n.contains&&n.contains(r))}:j.compareDocumentPosition?function(e,t){return t&&!!(16&e.compareDocumentPosition(t))}:function(e,t){for(;t=t.parentNode;)if(t===e)return!0;return!1},n.attr=function(e,t){var n,r=w(e);return r||(t=t.toLowerCase()),(n=b.attrHandle[t])?n(e):r||pe?e.getAttribute(t):(n=e.getAttributeNode(t),n?"boolean"==typeof e[t]?e[t]?t:null:n.specified?n.value:null:null)},b=n.selectors={cacheLength:50,createPseudo:B,match:se,attrHandle:ce?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:y?function(e,t,n){if(typeof t.getElementById!==N&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==N&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==N&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:ue?function(e,t){return typeof t.getElementsByTagName!==N?t.getElementsByTagName(e):void 0}:function(e,t){var n=t.getElementsByTagName(e);if("*"===e){for(var r,i=[],o=0;r=n[o];o++)1===r.nodeType&&i.push(r);return i}return n},NAME:fe&&function(e,t){return typeof t.getElementsByName!==N?t.getElementsByName(name):void 0},CLASS:he&&function(e,t,n){return typeof t.getElementsByClassName===N||n?void 0:t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ae,""),e[3]=(e[4]||e[5]||"").replace(ae,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||n.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&n.error(e[0]),e},PSEUDO:function(e){var t,n;return se.CHILD.test(e[0])?null:(e[3]?e[2]=e[3]:(t=e[4])&&(te.test(t)&&(n=s(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t),e.slice(0,3))}},filter:{ID:y?function(e){return e=e.replace(ae,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace(ae,""),function(t){var n=typeof t.getAttributeNode!==N&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(ae,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=F[T][e+" "];return t||(t=new RegExp("(^|"+U+")"+e+"("+U+"|$)"))&&F(e,function(e){return t.test(e.className||typeof e.getAttribute!==N&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(i,o){var a=n.attr(i,e);return null==a?"!="===t:t?(a+="","="===t?a===r:"!="===t?a!==r:"^="===t?r&&0===a.indexOf(r):"*="===t?r&&a.indexOf(r)>-1:"$="===t?r&&a.substr(a.length-r.length)===r:"~="===t?(" "+a+" ").indexOf(r)>-1:"|="===t?a===r||a.substr(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r){return"nth"===e?function(e){var t,i,o=e.parentNode;if(1===n&&0===r)return!0;if(o)for(i=0,t=o.firstChild;t&&(1!==t.nodeType||(i++,e!==t));t=t.nextSibling);return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":for(;n=n.previousSibling;)if(1===n.nodeType)return!1;if("first"===e)return!0;n=t;case"last":for(;n=n.nextSibling;)if(1===n.nodeType)return!1;return!0}}},PSEUDO:function(e,t){var r,i=b.pseudos[e]||b.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return i[T]?i(t):i.length>1?(r=[e,e,"",t],b.setFilters.hasOwnProperty(e.toLowerCase())?B(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)r=R.call(e,o[a]),e[r]=!(n[r]=o[a])}):function(e){return i(e,0,r)}):i}},pseudos:{not:B(function(e){var t=[],n=[],r=k(e.replace(Y,"$1"));return r[T]?B(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:B(function(e){return function(t){return n(e,t).length>0}}),contains:B(function(e){return function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),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},parent:function(e){return!b.pseudos.empty(e)},empty:function(e){var t;for(e=e.firstChild;e;){if(e.nodeName>"@"||3===(t=e.nodeType)||4===t)return!1;e=e.nextSibling}return!0},header:function(e){return ie.test(e.nodeName)},text:function(e){var t,n;return"input"===e.nodeName.toLowerCase()&&"text"===(t=e.type)&&(null==(n=e.getAttribute("type"))||n.toLowerCase()===t)},radio:r("radio"),checkbox:r("checkbox"),file:r("file"),password:r("password"),image:r("image"),submit:i("submit"),reset:i("reset"),button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return oe.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:o(function(){return[0]}),last:o(function(e,t){return[t-1]}),eq:o(function(e,t,n){return[0>n?n+t:n]}),even:o(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:o(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:o(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:o(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},C=j.compareDocumentPosition?function(e,t){return e===t?(_=!0,0):(e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t):e.compareDocumentPosition)?-1:1}:function(e,t){if(e===t)return _=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],o=[],s=e.parentNode,l=t.parentNode,u=s;if(s===l)return a(e,t);if(!s)return-1;if(!l)return 1;for(;u;)i.unshift(u),u=u.parentNode;for(u=l;u;)o.unshift(u),u=u.parentNode;n=i.length,r=o.length;for(var c=0;n>c&&r>c;c++)if(i[c]!==o[c])return a(i[c],o[c]);return c===n?a(e,o[c],-1):a(i[c],t,1)},[0,0].sort(C),A=!_,n.uniqueSort=function(e){var t,n=[],r=1,i=0;if(_=A,e.sort(C),_){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return e},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},k=n.compile=function(e,t){var n,r=[],i=[],o=W[T][e+" "];if(!o){for(t||(t=s(e)),n=t.length;n--;)o=h(t[n]),o[T]?r.push(o):i.push(o);o=W(e,f(i,r))}return o},L.querySelectorAll&&!function(){var e,t=g,r=/'|\\/g,i=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,o=[":focus"],a=[":active"],l=j.matchesSelector||j.mozMatchesSelector||j.webkitMatchesSelector||j.oMatchesSelector||j.msMatchesSelector;le(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||o.push("\\["+U+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||o.push(":checked")}),le(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&o.push("[*^$]="+U+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'/>",e.querySelectorAll(":enabled").length||o.push(":enabled",":disabled")}),o=new RegExp(o.join("|")),g=function(e,n,i,a,l){if(!a&&!l&&!o.test(e)){var u,c,p=!0,h=T,f=n,d=9===n.nodeType&&e;if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){for(u=s(e),(p=n.getAttribute("id"))?h=p.replace(r,"\\$&"):n.setAttribute("id",h),h="[id='"+h+"'] ",c=u.length;c--;)u[c]=h+u[c].join("");f=re.test(e)&&n.parentNode||n,d=u.join(",")}if(d)try{return H.apply(i,I.call(f.querySelectorAll(d),0)),i}catch(g){}finally{p||n.removeAttribute("id")}}return t(e,n,i,a,l)},l&&(le(function(t){e=l.call(t,"div");try{l.call(t,"[test!='']:sizzle"),a.push("!=",J)}catch(n){}}),a=new RegExp(a.join("|")),n.matchesSelector=function(t,r){if(r=r.replace(i,"='$1']"),!w(t)&&!a.test(r)&&!o.test(r))try{var s=l.call(t,r);if(s||e||t.document&&11!==t.document.nodeType)return s}catch(u){}return n(r,null,null,[t]).length>0})}(),b.pseudos.nth=b.pseudos.eq,b.filters=m.prototype=b.pseudos,b.setFilters=new m,n.attr=Z.attr,Z.find=n,Z.expr=n.selectors,Z.expr[":"]=Z.expr.pseudos,Z.unique=n.uniqueSort,Z.text=n.getText,Z.isXMLDoc=n.isXML,Z.contains=n.contains}(e);var De=/Until$/,He=/^(?:parents|prev(?:Until|All))/,Ie=/^.[^:#\[\.,]*$/,Re=Z.expr.match.needsContext,Be={children:!0,contents:!0,next:!0,prev:!0};Z.fn.extend({find:function(e){var t,n,r,i,o,a,s=this;if("string"!=typeof e)return Z(e).filter(function(){for(t=0,n=s.length;n>t;t++)if(Z.contains(s[t],this))return!0});for(a=this.pushStack("","find",e),t=0,n=this.length;n>t;t++)if(r=a.length,Z.find(e,this[t],a),t>0)for(i=r;i<a.length;i++)for(o=0;r>o;o++)if(a[o]===a[i]){a.splice(i--,1);break}return a},has:function(e){var t,n=Z(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(Z.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(c(this,e,!1),"not",e)},filter:function(e){return this.pushStack(c(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?Re.test(e)?Z(e,this.context).index(this[0])>=0:Z.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=Re.test(e)||"string"!=typeof e?Z(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n.ownerDocument&&n!==t&&11!==n.nodeType;){if(a?a.index(n)>-1:Z.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}return o=o.length>1?Z.unique(o):o,this.pushStack(o,"closest",e)},index:function(e){return e?"string"==typeof e?Z.inArray(this[0],Z(e)):Z.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n="string"==typeof e?Z(e,t):Z.makeArray(e&&e.nodeType?[e]:e),r=Z.merge(this.get(),n);return this.pushStack(l(n[0])||l(r[0])?r:Z.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Z.fn.andSelf=Z.fn.addBack,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,n){return Z.dir(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return Z.dir(e,"nextSibling")},prevAll:function(e){return Z.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Z.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Z.dir(e,"previousSibling",n)},siblings:function(e){return Z.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Z.sibling(e.firstChild)},contents:function(e){return Z.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:Z.merge([],e.childNodes)}},function(e,t){Z.fn[e]=function(n,r){var i=Z.map(this,t,n);return De.test(e)||(r=n),r&&"string"==typeof r&&(i=Z.filter(r,i)),i=this.length>1&&!Be[e]?Z.unique(i):i,this.length>1&&He.test(e)&&(i=i.reverse()),this.pushStack(i,e,X.call(arguments).join(","))}}),Z.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?Z.find.matchesSelector(t[0],e)?[t[0]]:[]:Z.find.matches(e,t)},dir:function(e,n,r){for(var i=[],o=e[n];o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!Z(o).is(r));)1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var $e="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Fe=/ jQuery\d+="(?:null|\d+)"/g,qe=/^\s+/,We=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ue=/<([\w:]+)/,ze=/<tbody/i,Ve=/<|&#?\w+;/,Ge=/<(?:script|style|link)/i,Xe=/<(?:script|object|embed|option|style)/i,Je=new RegExp("<(?:"+$e+")[\\s/>]","i"),Ke=/^(?:checkbox|radio)$/,Ye=/checked\s*(?:[^=]|=\s*.checked.)/i,Qe=/\/(java|ecma)script/i,Ze=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,et={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},tt=p(q),nt=tt.appendChild(q.createElement("div"));et.optgroup=et.option,et.tbody=et.tfoot=et.colgroup=et.caption=et.thead,et.th=et.td,Z.support.htmlSerialize||(et._default=[1,"X<div>","</div>"]),Z.fn.extend({text:function(e){return Z.access(this,function(e){return e===t?Z.text(this):this.empty().append((this[0]&&this[0].ownerDocument||q).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(Z.isFunction(e))return this.each(function(t){Z(this).wrapAll(e.call(this,t))});if(this[0]){var 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.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return 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),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=Z.isFunction(e);return this.each(function(n){Z(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){Z.nodeName(this,"body")||Z(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!l(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=Z.clean(arguments);return this.pushStack(Z.merge(e,this),"before",this.selector)}},after:function(){if(!l(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=Z.clean(arguments);return this.pushStack(Z.merge(this,e),"after",this.selector)}},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)(!e||Z.filter(e,[n]).length)&&(t||1!==n.nodeType||(Z.cleanData(n.getElementsByTagName("*")),Z.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&Z.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);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 Z.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(Fe,""):t;if("string"==typeof e&&!Ge.test(e)&&(Z.support.htmlSerialize||!Je.test(e))&&(Z.support.leadingWhitespace||!qe.test(e))&&!et[(Ue.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(We,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(Z.cleanData(n.getElementsByTagName("*")),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return l(this[0])?this.length?this.pushStack(Z(Z.isFunction(e)?e():e),"replaceWith",e):this:Z.isFunction(e)?this.each(function(t){var n=Z(this),r=n.html();n.replaceWith(e.call(this,t,r))}):("string"!=typeof e&&(e=Z(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;Z(this).remove(),t?Z(t).before(e):Z(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=[].concat.apply([],e);var i,o,a,s,l=0,u=e[0],c=[],p=this.length;if(!Z.support.checkClone&&p>1&&"string"==typeof u&&Ye.test(u))return this.each(function(){Z(this).domManip(e,n,r)});if(Z.isFunction(u))return this.each(function(i){var o=Z(this);e[0]=u.call(this,i,n?o.html():t),o.domManip(e,n,r)});if(this[0]){if(i=Z.buildFragment(e,this,c),a=i.fragment,o=a.firstChild,1===a.childNodes.length&&(a=o),o)for(n=n&&Z.nodeName(o,"tr"),s=i.cacheable||p-1;p>l;l++)r.call(n&&Z.nodeName(this[l],"table")?h(this[l],"tbody"):this[l],l===s?a:Z.clone(a,!0,!0));a=o=null,c.length&&Z.each(c,function(e,t){t.src?Z.ajax?Z.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):Z.error("no ajax"):Z.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Ze,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),Z.buildFragment=function(e,n,r){var i,o,a,s=e[0];return n=n||q,n=!n.nodeType&&n[0]||n,n=n.ownerDocument||n,!(1===e.length&&"string"==typeof s&&s.length<512&&n===q&&"<"===s.charAt(0))||Xe.test(s)||!Z.support.checkClone&&Ye.test(s)||!Z.support.html5Clone&&Je.test(s)||(o=!0,i=Z.fragments[s],a=i!==t),i||(i=n.createDocumentFragment(),Z.clean(e,n,i,r),o&&(Z.fragments[s]=a&&i)),{fragment:i,cacheable:o}},Z.fragments={},Z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Z.fn[e]=function(n){var r,i=0,o=[],a=Z(n),s=a.length,l=1===this.length&&this[0].parentNode;if((null==l||l&&11===l.nodeType&&1===l.childNodes.length)&&1===s)return a[t](this[0]),this;for(;s>i;i++)r=(i>0?this.clone(!0):this).get(),Z(a[i])[t](r),o=o.concat(r);return this.pushStack(o,e,a.selector)}}),Z.extend({clone:function(e,t,n){var r,i,o,a;if(Z.support.html5Clone||Z.isXMLDoc(e)||!Je.test("<"+e.nodeName+">")?a=e.cloneNode(!0):(nt.innerHTML=e.outerHTML,nt.removeChild(a=nt.firstChild)),!(Z.support.noCloneEvent&&Z.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Z.isXMLDoc(e)))for(d(e,a),r=g(e),i=g(a),o=0;r[o];++o)i[o]&&d(r[o],i[o]);if(t&&(f(e,a),n))for(r=g(e),i=g(a),o=0;r[o];++o)f(r[o],i[o]);return r=i=null,a},clean:function(e,t,n,r){var i,o,a,s,l,u,c,h,f,d,g,v=t===q&&tt,y=[];for(t&&"undefined"!=typeof t.createDocumentFragment||(t=q),i=0;null!=(a=e[i]);i++)if("number"==typeof a&&(a+=""),a){if("string"==typeof a)if(Ve.test(a)){for(v=v||p(t),c=t.createElement("div"),v.appendChild(c),a=a.replace(We,"<$1></$2>"),s=(Ue.exec(a)||["",""])[1].toLowerCase(),l=et[s]||et._default,u=l[0],c.innerHTML=l[1]+a+l[2];u--;)c=c.lastChild;if(!Z.support.tbody)for(h=ze.test(a),f="table"!==s||h?"<table>"!==l[1]||h?[]:c.childNodes:c.firstChild&&c.firstChild.childNodes,o=f.length-1;o>=0;--o)Z.nodeName(f[o],"tbody")&&!f[o].childNodes.length&&f[o].parentNode.removeChild(f[o]);!Z.support.leadingWhitespace&&qe.test(a)&&c.insertBefore(t.createTextNode(qe.exec(a)[0]),c.firstChild),a=c.childNodes,c.parentNode.removeChild(c)}else a=t.createTextNode(a);a.nodeType?y.push(a):Z.merge(y,a)}if(c&&(a=c=v=null),!Z.support.appendChecked)for(i=0;null!=(a=y[i]);i++)Z.nodeName(a,"input")?m(a):"undefined"!=typeof a.getElementsByTagName&&Z.grep(a.getElementsByTagName("input"),m);if(n)for(d=function(e){return!e.type||Qe.test(e.type)?r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e):void 0},i=0;null!=(a=y[i]);i++)Z.nodeName(a,"script")&&d(a)||(n.appendChild(a),"undefined"!=typeof a.getElementsByTagName&&(g=Z.grep(Z.merge([],a.getElementsByTagName("script")),d),y.splice.apply(y,[i+1,0].concat(g)),i+=g.length));return y},cleanData:function(e,t){for(var n,r,i,o,a=0,s=Z.expando,l=Z.cache,u=Z.support.deleteExpando,c=Z.event.special;null!=(i=e[a]);a++)if((t||Z.acceptData(i))&&(r=i[s],n=r&&l[r])){if(n.events)for(o in n.events)c[o]?Z.event.remove(i,o):Z.removeEvent(i,o,n.handle);l[r]&&(delete l[r],u?delete i[s]:i.removeAttribute?i.removeAttribute(s):i[s]=null,Z.deletedIds.push(r))}}}),function(){var e,t;Z.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=Z.uaMatch(U.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),Z.browser=t,Z.sub=function(){function e(t,n){return new e.fn.init(t,n)}Z.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(n,r){return r&&r instanceof Z&&!(r instanceof e)&&(r=e(r)),Z.fn.init.call(this,n,r,t)},e.fn.init.prototype=e.fn;var t=e(q);return e}}();var rt,it,ot,at=/alpha\([^)]*\)/i,st=/opacity=([^)]*)/,lt=/^(top|right|bottom|left)$/,ut=/^(none|table(?!-c[ea]).+)/,ct=/^margin/,pt=new RegExp("^("+ee+")(.*)$","i"),ht=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),ft=new RegExp("^([-+])=("+ee+")","i"),dt={BODY:"block"},gt={position:"absolute",visibility:"hidden",display:"block"},mt={letterSpacing:0,fontWeight:400},vt=["Top","Right","Bottom","Left"],yt=["Webkit","O","Moz","ms"],bt=Z.fn.toggle;Z.fn.extend({css:function(e,n){return Z.access(this,function(e,n,r){return r!==t?Z.style(e,n,r):Z.css(e,n)},e,n,arguments.length>1)},show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e,t){var n="boolean"==typeof e;return Z.isFunction(e)&&Z.isFunction(t)?bt.apply(this,arguments):this.each(function(){(n?e:y(this))?Z(this).show():Z(this).hide()})}}),Z.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=rt(e,"opacity");return""===n?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":Z.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=Z.camelCase(n),u=e.style;if(n=Z.cssProps[l]||(Z.cssProps[l]=v(u,l)),s=Z.cssHooks[n]||Z.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=ft.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(Z.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||Z.cssNumber[l]||(r+="px"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=Z.camelCase(n);return n=Z.cssProps[l]||(Z.cssProps[l]=v(e.style,l)),s=Z.cssHooks[n]||Z.cssHooks[l],s&&"get"in s&&(o=s.get(e,!0,i)),o===t&&(o=rt(e,n)),"normal"===o&&n in mt&&(o=mt[n]),r||i!==t?(a=parseFloat(o),r||Z.isNumeric(a)?a||0:o):o},swap:function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=o[i];return r}}),e.getComputedStyle?rt=function(t,n){var r,i,o,a,s=e.getComputedStyle(t,null),l=t.style;return s&&(r=s.getPropertyValue(n)||s[n],""!==r||Z.contains(t.ownerDocument,t)||(r=Z.style(t,n)),ht.test(r)&&ct.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=r,r=s.width,l.width=i,l.minWidth=o,l.maxWidth=a)),r}:q.documentElement.currentStyle&&(rt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],o=e.style;return null==i&&o&&o[t]&&(i=o[t]),ht.test(i)&&!lt.test(t)&&(n=o.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":i,i=o.pixelLeft+"px",o.left=n,r&&(e.runtimeStyle.left=r)),""===i?"auto":i}),Z.each(["height","width"],function(e,t){Z.cssHooks[t]={get:function(e,n,r){return n?0===e.offsetWidth&&ut.test(rt(e,"display"))?Z.swap(e,gt,function(){return S(e,t,r)}):S(e,t,r):void 0},set:function(e,n,r){return x(e,n,r?w(e,t,r,Z.support.boxSizing&&"border-box"===Z.css(e,"boxSizing")):0)}}}),Z.support.opacity||(Z.cssHooks.opacity={get:function(e,t){return st.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=Z.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,t>=1&&""===Z.trim(o.replace(at,""))&&n.removeAttribute&&(n.removeAttribute("filter"),r&&!r.filter)||(n.filter=at.test(o)?o.replace(at,i):o+" "+i)}}),Z(function(){Z.support.reliableMarginRight||(Z.cssHooks.marginRight={get:function(e,t){return Z.swap(e,{display:"inline-block"},function(){return t?rt(e,"marginRight"):void 0})}}),!Z.support.pixelPosition&&Z.fn.position&&Z.each(["top","left"],function(e,t){Z.cssHooks[t]={get:function(e,n){if(n){var r=rt(e,t);return ht.test(r)?Z(e).position()[t]+"px":r}}}})}),Z.expr&&Z.expr.filters&&(Z.expr.filters.hidden=function(e){return 0===e.offsetWidth&&0===e.offsetHeight||!Z.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||rt(e,"display"))},Z.expr.filters.visible=function(e){return!Z.expr.filters.hidden(e)}),Z.each({margin:"",padding:"",border:"Width"},function(e,t){Z.cssHooks[e+t]={expand:function(n){var r,i="string"==typeof n?n.split(" "):[n],o={};for(r=0;4>r;r++)o[e+vt[r]+t]=i[r]||i[r-2]||i[0];return o}},ct.test(e)||(Z.cssHooks[e+t].set=x)});var xt=/%20/g,wt=/\[\]$/,St=/\r?\n/g,kt=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Ct=/^(?:select|textarea)/i;Z.fn.extend({serialize:function(){return Z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?Z.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Ct.test(this.nodeName)||kt.test(this.type))}).map(function(e,t){var n=Z(this).val();return null==n?null:Z.isArray(n)?Z.map(n,function(e,n){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}}),Z.param=function(e,n){var r,i=[],o=function(e,t){t=Z.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=Z.ajaxSettings&&Z.ajaxSettings.traditional),Z.isArray(e)||e.jquery&&!Z.isPlainObject(e))Z.each(e,function(){o(this.name,this.value)});else for(r in e)C(r,e[r],n,o);return i.join("&").replace(xt,"+")};var _t,Et,At=/#.*$/,Nt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Tt=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Pt=/^(?:GET|HEAD)$/,Lt=/^\/\//,jt=/\?/,Ot=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Mt=/([?&])_=[^&]*/,Dt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Ht=Z.fn.load,It={},Rt={},Bt=["*/"]+["*"];try{Et=W.href}catch($t){Et=q.createElement("a"),Et.href="",Et=Et.href}_t=Dt.exec(Et.toLowerCase())||[],Z.fn.load=function(e,n,r){if("string"!=typeof e&&Ht)return Ht.apply(this,arguments);if(!this.length)return this;var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),Z.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(o="POST"),Z.ajax({url:e,type:o,dataType:"html",data:n,complete:function(e,t){r&&s.each(r,a||[e.responseText,t,e])}}).done(function(e){a=arguments,s.html(i?Z("<div>").append(e.replace(Ot,"")).find(i):e)}),this},Z.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){Z.fn[t]=function(e){return this.on(t,e)}}),Z.each(["get","post"],function(e,n){Z[n]=function(e,r,i,o){return Z.isFunction(r)&&(o=o||i,i=r,r=t),Z.ajax({type:n,url:e,data:r,success:i,dataType:o})}}),Z.extend({getScript:function(e,n){return Z.get(e,t,n,"script")},getJSON:function(e,t,n){return Z.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?A(e,Z.ajaxSettings):(t=e,e=Z.ajaxSettings),A(e,t),e},ajaxSettings:{url:Et,isLocal:Tt.test(_t[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Bt},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":Z.parseJSON,"text xml":Z.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:_(It),ajaxTransport:_(Rt),ajax:function(e,n){function r(e,n,r,a){var u,p,y,b,w,k=n;2!==x&&(x=2,l&&clearTimeout(l),s=t,o=a||"",S.readyState=e>0?4:0,r&&(b=N(h,S,r)),e>=200&&300>e||304===e?(h.ifModified&&(w=S.getResponseHeader("Last-Modified"),w&&(Z.lastModified[i]=w),w=S.getResponseHeader("Etag"),w&&(Z.etag[i]=w)),304===e?(k="notmodified",u=!0):(u=T(h,b),k=u.state,p=u.data,y=u.error,u=!y)):(y=k,(!k||e)&&(k="error",0>e&&(e=0))),S.status=e,S.statusText=(n||k)+"",u?g.resolveWith(f,[p,k,S]):g.rejectWith(f,[S,k,y]),S.statusCode(v),v=t,c&&d.trigger("ajax"+(u?"Success":"Error"),[S,h,u?p:y]),m.fireWith(f,[S,k]),c&&(d.trigger("ajaxComplete",[S,h]),--Z.active||Z.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var i,o,a,s,l,u,c,p,h=Z.ajaxSetup({},n),f=h.context||h,d=f!==h&&(f.nodeType||f instanceof Z)?Z(f):Z.event,g=Z.Deferred(),m=Z.Callbacks("once memory"),v=h.statusCode||{},y={},b={},x=0,w="canceled",S={readyState:0,setRequestHeader:function(e,t){if(!x){var n=e.toLowerCase();e=b[n]=b[n]||e,y[e]=t}return this},getAllResponseHeaders:function(){return 2===x?o:null},getResponseHeader:function(e){var n;if(2===x){if(!a)for(a={};n=Nt.exec(o);)a[n[1].toLowerCase()]=n[2];n=a[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return x||(h.mimeType=e),this},abort:function(e){return e=e||w,s&&s.abort(e),r(0,e),this}};if(g.promise(S),S.success=S.done,S.error=S.fail,S.complete=m.add,S.statusCode=function(e){if(e){var t;if(2>x)for(t in e)v[t]=[v[t],e[t]];else t=e[S.status],S.always(t)}return this},h.url=((e||h.url)+"").replace(At,"").replace(Lt,_t[1]+"//"),h.dataTypes=Z.trim(h.dataType||"*").toLowerCase().split(ne),null==h.crossDomain&&(u=Dt.exec(h.url.toLowerCase()),h.crossDomain=!(!u||u[1]===_t[1]&&u[2]===_t[2]&&(u[3]||("http:"===u[1]?80:443))==(_t[3]||("http:"===_t[1]?80:443)))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=Z.param(h.data,h.traditional)),E(It,h,n,S),2===x)return S;if(c=h.global,h.type=h.type.toUpperCase(),h.hasContent=!Pt.test(h.type),c&&0===Z.active++&&Z.event.trigger("ajaxStart"),!h.hasContent&&(h.data&&(h.url+=(jt.test(h.url)?"&":"?")+h.data,delete h.data),i=h.url,h.cache===!1)){var k=Z.now(),C=h.url.replace(Mt,"$1_="+k);h.url=C+(C===h.url?(jt.test(h.url)?"&":"?")+"_="+k:"")}(h.data&&h.hasContent&&h.contentType!==!1||n.contentType)&&S.setRequestHeader("Content-Type",h.contentType),h.ifModified&&(i=i||h.url,Z.lastModified[i]&&S.setRequestHeader("If-Modified-Since",Z.lastModified[i]),Z.etag[i]&&S.setRequestHeader("If-None-Match",Z.etag[i])),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Bt+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)S.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(h.beforeSend.call(f,S,h)===!1||2===x))return S.abort();w="abort";for(p in{success:1,error:1,complete:1})S[p](h[p]);if(s=E(Rt,h,n,S)){S.readyState=1,c&&d.trigger("ajaxSend",[S,h]),h.async&&h.timeout>0&&(l=setTimeout(function(){S.abort("timeout")},h.timeout));try{x=1,s.send(y,r)}catch(_){if(!(2>x))throw _;r(-1,_)}}else r(-1,"No Transport");return S},active:0,lastModified:{},etag:{}});var Ft=[],qt=/\?/,Wt=/(=)\?(?=&|$)|\?\?/,Ut=Z.now();Z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ft.pop()||Z.expando+"_"+Ut++;return this[e]=!0,e}}),Z.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.data,u=n.url,c=n.jsonp!==!1,p=c&&Wt.test(u),h=c&&!p&&"string"==typeof l&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Wt.test(l);return"jsonp"===n.dataTypes[0]||p||h?(o=n.jsonpCallback=Z.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,a=e[o],p?n.url=u.replace(Wt,"$1"+o):h?n.data=l.replace(Wt,"$1"+o):c&&(n.url+=(qt.test(u)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||Z.error(o+" was not called"),s[0]},n.dataTypes[0]="json",e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Ft.push(o)),s&&Z.isFunction(a)&&a(s[0]),s=a=t}),"script"):void 0}),Z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return Z.globalEval(e),e}}}),Z.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),Z.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=q.head||q.getElementsByTagName("head")[0]||q.documentElement;return{send:function(i,o){n=q.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){(i||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var zt,Vt=e.ActiveXObject?function(){for(var e in zt)zt[e](0,1)}:!1,Gt=0;Z.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&P()||L()}:P,function(e){Z.extend(Z.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(Z.ajaxSettings.xhr()),Z.support.ajax&&Z.ajaxTransport(function(n){if(!n.crossDomain||Z.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p,h;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=Z.noop,Vt&&delete zt[a]),i)4!==l.readyState&&l.abort();else{s=l.status,c=l.getAllResponseHeaders(),p={},h=l.responseXML,h&&h.documentElement&&(p.xml=h);try{p.text=l.responseText}catch(f){}try{u=l.statusText}catch(f){u=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,u,p,c)},n.async?4===l.readyState?setTimeout(r,0):(a=++Gt,Vt&&(zt||(zt={},Z(e).unload(Vt)),zt[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var Xt,Jt,Kt=/^(?:toggle|show|hide)$/,Yt=new RegExp("^(?:([-+])=|)("+ee+")([a-z%]*)$","i"),Qt=/queueHooks$/,Zt=[H],en={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=Yt.exec(t),a=i.cur(),s=+a||0,l=1,u=20;if(o){if(n=+o[2],r=o[3]||(Z.cssNumber[e]?"":"px"),"px"!==r&&s){s=Z.css(i.elem,e,!0)||n||1;do l=l||".5",s/=l,Z.style(i.elem,e,s+r);while(l!==(l=i.cur()/a)&&1!==l&&--u)}i.unit=r,i.start=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};Z.Animation=Z.extend(M,{tweener:function(e,t){Z.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],en[n]=en[n]||[],en[n].unshift(t)},prefilter:function(e,t){t?Zt.unshift(e):Zt.push(e)}}),Z.Tween=I,I.prototype={constructor:I,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Z.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.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),n&&n.set?n.set(this):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.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,!1,""),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}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Z.each(["toggle","show","hide"],function(e,t){var n=Z.fn[t];Z.fn[t]=function(r,i,o){return null==r||"boolean"==typeof r||!e&&Z.isFunction(r)&&Z.isFunction(i)?n.apply(this,arguments):this.animate(R(t,!0),r,i,o)}}),Z.fn.extend({fadeTo:function(e,t,n,r){return this.filter(y).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Z.isEmptyObject(e),o=Z.speed(t,n,r),a=function(){var t=M(this,Z.extend({},e),o);i&&t.stop(!0)};return i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=Z.timers,a=Z._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Qt.test(n)&&i(a[n]); +for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&Z.dequeue(this,e)})}}),Z.each({slideDown:R("show"),slideUp:R("hide"),slideToggle:R("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Z.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Z.speed=function(e,t,n){var r=e&&"object"==typeof e?Z.extend({},e):{complete:n||!n&&t||Z.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Z.isFunction(t)&&t};return r.duration=Z.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in Z.fx.speeds?Z.fx.speeds[r.duration]:Z.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){Z.isFunction(r.old)&&r.old.call(this),r.queue&&Z.dequeue(this,r.queue)},r},Z.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Z.timers=[],Z.fx=I.prototype.init,Z.fx.tick=function(){var e,n=Z.timers,r=0;for(Xt=Z.now();r<n.length;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||Z.fx.stop(),Xt=t},Z.fx.timer=function(e){e()&&Z.timers.push(e)&&!Jt&&(Jt=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.interval=13,Z.fx.stop=function(){clearInterval(Jt),Jt=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fx.step={},Z.expr&&Z.expr.filters&&(Z.expr.filters.animated=function(e){return Z.grep(Z.timers,function(t){return e===t.elem}).length});var tn=/^(?:body|html)$/i;Z.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){Z.offset.setOffset(this,e,t)});var n,r,i,o,a,s,l,u={top:0,left:0},c=this[0],p=c&&c.ownerDocument;if(p)return(r=p.body)===c?Z.offset.bodyOffset(c):(n=p.documentElement,Z.contains(n,c)?("undefined"!=typeof c.getBoundingClientRect&&(u=c.getBoundingClientRect()),i=B(p),o=n.clientTop||r.clientTop||0,a=n.clientLeft||r.clientLeft||0,s=i.pageYOffset||n.scrollTop,l=i.pageXOffset||n.scrollLeft,{top:u.top+s-o,left:u.left+l-a}):u)},Z.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return Z.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(Z.css(e,"marginTop"))||0,n+=parseFloat(Z.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=Z.css(e,"position");"static"===r&&(e.style.position="relative");var i,o,a=Z(e),s=a.offset(),l=Z.css(e,"top"),u=Z.css(e,"left"),c=("absolute"===r||"fixed"===r)&&Z.inArray("auto",[l,u])>-1,p={},h={};c?(h=a.position(),i=h.top,o=h.left):(i=parseFloat(l)||0,o=parseFloat(u)||0),Z.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(p.top=t.top-s.top+i),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):a.css(p)}},Z.fn.extend({position:function(){if(this[0]){var e=this[0],t=this.offsetParent(),n=this.offset(),r=tn.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(Z.css(e,"marginTop"))||0,n.left-=parseFloat(Z.css(e,"marginLeft"))||0,r.top+=parseFloat(Z.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(Z.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||q.body;e&&!tn.test(e.nodeName)&&"static"===Z.css(e,"position");)e=e.offsetParent;return e||q.body})}}),Z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);Z.fn[e]=function(i){return Z.access(this,function(e,i,o){var a=B(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:void(a?a.scrollTo(r?Z(a).scrollLeft():o,r?o:Z(a).scrollTop()):e[i]=o)},e,i,arguments.length,null)}}),Z.each({Height:"height",Width:"width"},function(e,n){Z.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){Z.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return Z.access(this,function(n,r,i){var o;return Z.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?Z.css(n,r,i,s):Z.style(n,r,i,s)},n,a?i:t,a,null)}})}),"object"==typeof n&&n&&"object"==typeof n.exports?n.exports=Z:(e.jQuery=e.$=Z,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Z}))}(window)}),define("lib/jquery.lazyload",[],function(e,t,n){var r=e("jquery");!function(e,t,n,r){var i=e(t);e.fn.lazyload=function(o){function a(){var t=0;l.each(function(){var n=e(this);if(!u.skip_invisible||n.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 n.trigger("appear"),t=0})}var s,l=this,u={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return o&&(r!==o.failurelimit&&(o.failure_limit=o.failurelimit,delete o.failurelimit),r!==o.effectspeed&&(o.effect_speed=o.effectspeed,delete o.effectspeed),e.extend(u,o)),s=u.container===r||u.container===t?i:e(u.container),0===u.event.indexOf("scroll")&&s.bind(u.event,function(){return a()}),this.each(function(){var t=this,n=e(t);t.loaded=!1,(n.attr("src")===r||n.attr("src")===!1)&&n.is("img")&&n.attr("src",u.placeholder),n.one("appear",function(){if(!this.loaded){if(u.appear){var r=l.length;u.appear.call(t,r,u)}e("<img />").bind("load",function(){var r=n.attr("data-"+u.data_attribute);n.hide(),n.is("img")?n.attr("src",r):n.css("background-image","url('"+r+"')"),n[u.effect](u.effect_speed),t.loaded=!0;var i=e.grep(l,function(e){return!e.loaded});if(l=e(i),u.load){var o=l.length;u.load.call(t,o,u)}}).attr("src",n.attr("data-"+u.data_attribute))}}),0!==u.event.indexOf("scroll")&&n.bind(u.event,function(){t.loaded||n.trigger("appear")})}),i.bind("resize",function(){a()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&i.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&l.each(function(){e(this).trigger("appear")})}),e(n).ready(function(){a()}),this},e.belowthefold=function(n,o){var a;return a=o.container===r||o.container===t?(t.innerHeight?t.innerHeight:i.height())+i.scrollTop():e(o.container).offset().top+e(o.container).height(),a<=e(n).offset().top-o.threshold},e.rightoffold=function(n,o){var a;return a=o.container===r||o.container===t?i.width()+i.scrollLeft():e(o.container).offset().left+e(o.container).width(),a<=e(n).offset().left-o.threshold},e.abovethetop=function(n,o){var a;return a=o.container===r||o.container===t?i.scrollTop():e(o.container).offset().top,a>=e(n).offset().top+o.threshold+e(n).height()},e.leftofbegin=function(n,o){var a;return a=o.container===r||o.container===t?i.scrollLeft():e(o.container).offset().left,a>=e(n).offset().left+o.threshold+e(n).width()},e.inviewport=function(t,n){return!(e.rightoffold(t,n)||e.leftofbegin(t,n)||e.belowthefold(t,n)||e.abovethetop(t,n))},e.extend(e.expr[":"],{"below-the-fold":function(t){return e.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return e.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!e.rightoffold(t,{threshold:0})},"in-viewport":function(t){return e.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return e.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!e.rightoffold(t,{threshold:0})}})}(r,window,document)}),define("handlebars",[],function(e,t,n){!function(e,r){"object"==typeof t&&"object"==typeof n?n.exports=r():"function"==typeof define&&define.amd?define(r):"object"==typeof t?t.Handlebars=r():e.Handlebars=r()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(){var e=v();return e.compile=function(t,n){return c.compile(t,n,e)},e.precompile=function(t,n){return c.precompile(t,n,e)},e.AST=l["default"],e.Compiler=c.Compiler,e.JavaScriptCompiler=h["default"],e.Parser=u.parser,e.parse=u.parse,e}var i=n(8)["default"];t.__esModule=!0;var o=n(1),a=i(o),s=n(2),l=i(s),u=n(3),c=n(4),p=n(5),h=i(p),f=n(6),d=i(f),g=n(7),m=i(g),v=a["default"].create,y=r();y.create=r,m["default"](y),y.Visitor=d["default"],y["default"]=y,t["default"]=y,e.exports=t["default"]},function(e,t,n){"use strict";function r(){var e=new s.HandlebarsEnvironment;return f.extend(e,s),e.SafeString=u["default"],e.Exception=p["default"],e.Utils=f,e.escapeExpression=f.escapeExpression,e.VM=g,e.template=function(t){return g.template(t,e)},e}var i=n(9)["default"],o=n(8)["default"];t.__esModule=!0;var a=n(10),s=i(a),l=n(11),u=o(l),c=n(12),p=o(c),h=n(13),f=i(h),d=n(14),g=i(d),m=n(7),v=o(m),y=r();y.create=r,v["default"](y),y["default"]=y,t["default"]=y,e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0;var r={Program:function(e,t,n,r){this.loc=r,this.type="Program",this.body=e,this.blockParams=t,this.strip=n},MustacheStatement:function(e,t,n,r,i,o){this.loc=o,this.type="MustacheStatement",this.path=e,this.params=t||[],this.hash=n,this.escaped=r,this.strip=i},BlockStatement:function(e,t,n,r,i,o,a,s,l){this.loc=l,this.type="BlockStatement",this.path=e,this.params=t||[],this.hash=n,this.program=r,this.inverse=i,this.openStrip=o,this.inverseStrip=a,this.closeStrip=s},PartialStatement:function(e,t,n,r,i){this.loc=i,this.type="PartialStatement",this.name=e,this.params=t||[],this.hash=n,this.indent="",this.strip=r},ContentStatement:function(e,t){this.loc=t,this.type="ContentStatement",this.original=this.value=e},CommentStatement:function(e,t,n){this.loc=n,this.type="CommentStatement",this.value=e,this.strip=t},SubExpression:function(e,t,n,r){this.loc=r,this.type="SubExpression",this.path=e,this.params=t||[],this.hash=n},PathExpression:function(e,t,n,r,i){this.loc=i,this.type="PathExpression",this.data=e,this.original=r,this.parts=n,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,n){this.loc=n,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&&!r.helpers.scopedId(e)&&!e.depth}}};t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){if("Program"===e.type)return e;s["default"].yy=g,g.locInfo=function(e){return new g.SourceLocation(t&&t.srcName,e)};var n=new p["default"];return n.accept(s["default"].parse(e))}var i=n(8)["default"],o=n(9)["default"];t.__esModule=!0,t.parse=r;var a=n(15),s=i(a),l=n(2),u=i(l),c=n(16),p=i(c),h=n(17),f=o(h),d=n(13);t.parser=s["default"];var g={};d.extend(g,f,u["default"])},function(e,t,n){"use strict";function r(){}function i(e,t,n){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 r=n.parse(e,t),i=(new n.Compiler).compile(r,t);return(new n.JavaScriptCompiler).compile(i,t)}function o(e,t,n){function r(){var t=n.parse(e,o),r=(new n.Compiler).compile(t,o),i=(new n.JavaScriptCompiler).compile(r,o,void 0,!0);return n.template(i)}function i(e,t){return a||(a=r()),a.call(this,e,t)}var o=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 o||(o.data=!0),o.compat&&(o.useDepths=!0);var a=void 0;return i._setup=function(e){return a||(a=r()),a._setup(e)},i._child=function(e,t,n,i){return a||(a=r()),a._child(e,t,n,i)},i}function a(e,t){if(e===t)return!0;if(p.isArray(e)&&p.isArray(t)&&e.length===t.length){for(var n=0;n<e.length;n++)if(!a(e[n],t[n]))return!1;return!0}}function s(e){if(!e.path.parts){var t=e.path;e.path=new f["default"].PathExpression(!1,0,[t.original+""],t.original+"",t.loc)}}var l=n(8)["default"];t.__esModule=!0,t.Compiler=r,t.precompile=i,t.compile=o;var u=n(12),c=l(u),p=n(13),h=n(2),f=l(h),d=[].slice;r.prototype={compiler:r,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var n=0;t>n;n++){var r=this.opcodes[n],i=e.opcodes[n];if(r.opcode!==i.opcode||!a(r.args,i.args))return!1}t=this.children.length;for(var n=0;t>n;n++)if(!this.children[n].equals(e.children[n]))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 n=t.knownHelpers;if(t.knownHelpers={helperMissing:!0,blockHelperMissing:!0,each:!0,"if":!0,unless:!0,"with":!0,log:!0,lookup:!0},n)for(var r in n)r in n&&(t.knownHelpers[r]=n[r]);return this.accept(e)},compileProgram:function(e){var t=new this.compiler,n=t.compile(e,this.options),r=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[r]=n,this.useDepths=this.useDepths||n.useDepths,r},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,n=t.length,r=0;n>r;r++)this.accept(t[r]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){s(e);var t=e.program,n=e.inverse;t=t&&this.compileProgram(t),n=n&&this.compileProgram(n);var r=this.classifySexpr(e);"helper"===r?this.helperSexpr(e,t,n):"simple"===r?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,n),this.opcode("pushProgram",t),this.opcode("pushProgram",n),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 n=e.name.original,r="SubExpression"===e.name.type;r&&this.accept(e.name),this.setupFullMustacheParams(e,void 0,void 0,!0);var i=e.indent||"";this.options.preventIndent&&i&&(this.opcode("appendContent",i),i=""),this.opcode("invokePartial",r,n,i),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){s(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var r=e.path,i=r.parts[0],o=null!=t||null!=n;this.opcode("getContext",r.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.accept(r),this.opcode("invokeAmbiguous",i,o)},simpleSexpr:function(e){this.accept(e.path),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,n){var r=this.setupFullMustacheParams(e,t,n),i=e.path,o=i.parts[0];if(this.options.knownHelpers[o])this.opcode("invokeKnownHelper",r.length,o);else{if(this.options.knownHelpersOnly)throw new c["default"]("You specified knownHelpersOnly, but used the unknown helper "+o,e);i.falsy=!0,this.accept(i),this.opcode("invokeHelper",r.length,i.original,f["default"].helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=f["default"].helpers.scopedId(e),r=!e.depth&&!n&&this.blockParamIndex(t);r?this.opcode("lookupBlockParam",r,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts)):this.opcode("lookupOnContext",e.parts,e.falsy,n):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,n=0,r=t.length;for(this.opcode("pushHash");r>n;n++)this.pushParam(t[n].value);for(;n--;)this.opcode("assignToHash",t[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:d.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=f["default"].helpers.simpleId(e.path),n=t&&!!this.blockParamIndex(e.path.parts[0]),r=!n&&f["default"].helpers.helperExpression(e),i=!n&&(r||t);if(i&&!r){var o=e.path.parts[0],a=this.options;a.knownHelpers[o]?r=!0:a.knownHelpersOnly&&(i=!1)}return r?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var t=0,n=e.length;n>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 n=void 0;if(!e.parts||f["default"].helpers.scopedId(e)||e.depth||(n=this.blockParamIndex(e.parts[0])),n){var r=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,r)}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,n,r){var i=e.params;return this.pushParams(i),this.opcode("pushProgram",t),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",r),i},blockParamIndex:function(e){for(var t=0,n=this.options.blockParams.length;n>t;t++){var r=this.options.blockParams[t],i=r&&p.indexOf(r,e);if(r&&i>=0)return[t,i]}}}},function(e,t,n){"use strict";function r(e){this.value=e}function i(){}function o(e,t,n,r){var i=t.popStack(),o=0,a=n.length;for(e&&a--;a>o;o++)i=t.nameLookup(i,n[o],r);return e?[t.aliasable("this.strict"),"(",i,", ",t.quotedString(n[o]),")"]:i}var a=n(8)["default"];t.__esModule=!0;var s=n(10),l=n(12),u=a(l),c=n(13),p=n(18),h=a(p);i.prototype={nameLookup:function(e,t){return i.isValidJavaScriptVariableName(t)?[e,".",t]:[e,"['",t,"']"]},depthedLookup:function(e){return[this.aliasable("this.lookup"),'(depths, "',e,'")']},compilerInfo:function(){var e=s.COMPILER_REVISION,t=s.REVISION_CHANGES[e];return[e,t]},appendToBuffer:function(e,t,n){return c.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},compile:function(e,t,n,r){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!r,this.name=this.environment.name,this.isChild=!!n,this.context=n||{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 i=e.opcodes,o=void 0,a=void 0,s=void 0,l=void 0;for(s=0,l=i.length;l>s;s++)o=i[s],this.source.currentLocation=o.loc,a=a||o.loc,this[o.opcode].apply(this,o.args);if(this.source.currentLocation=a,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(r);if(this.isChild)return c;var p={compiler:this.compilerInfo(),main:c},h=this.context.programs;for(s=0,l=h.length;l>s;s++)h[s]&&(p[s]=h[s]);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),r?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="",n=this.stackVars.concat(this.registers.list);n.length>0&&(t+=", "+n.join(", "));var r=0;for(var i in this.aliases){var o=this.aliases[i];this.aliases.hasOwnProperty(i)&&o.children&&o.referenceCount>1&&(t+=", alias"+ ++r+"="+i,o.children[0]="alias"+r)}var a=["depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var s=this.mergeSource(t);return e?(a.push(s),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),") {\n ",s,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,r=void 0,i=void 0,o=void 0,a=void 0;return this.source.each(function(e){e.appendToBuffer?(o?e.prepend(" + "):o=e,a=e):(o&&(i?o.prepend("buffer += "):r=!0,a.add(";"),o=a=void 0),i=!0,t||(n=!1))}),n?o?(o.prepend("return "),a.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(r?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(r?"":";\n")),this.source.merge()},blockValue:function(e){var t=this.aliasable("helpers.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("helpers.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",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,n){var r=0;n||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[r++])),this.resolvePath("context",e,r,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,n,r){var i=this;if(this.options.strict||this.options.assumeObjects)return void this.push(o(this.options.strict,this,t,e));for(var a=t.length;a>n;n++)this.replaceStack(function(o){var a=i.nameLookup(o,t[n],e);return r?[" && ",a]:[" != null ? ",a," : ",o]})},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,n){var r=this.popStack(),i=this.setupHelper(e,t),o=n?[i.name," || "]:"",a=["("].concat(o,r);this.options.strict||a.push(" || ",this.aliasable("helpers.helperMissing")),a.push(")"),this.push(this.source.functionCall(a,"call",i.callParams))},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var n=this.popStack();this.emptyHash();var r=this.setupHelper(0,e,t),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),o=["(","(helper = ",i," || ",n,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("helpers.helperMissing"))),this.push(["(",o,r.paramsInit?["),(",r.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",r.callParams)," : helper))"])},invokePartial:function(e,t,n){var r=[],i=this.setupParams(t,1,r,!1);e&&(t=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers="helpers",i.partials="partials",e?r.unshift(t):r.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(i.depths="depths"),i=this.objectLiteral(i),r.push(i),this.push(this.source.functionCall("this.invokePartial","",r))},assignToHash:function(e){var t=this.popStack(),n=void 0,r=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(r=this.popStack(),n=this.popStack());var o=this.hash;n&&(o.contexts[e]=n),r&&(o.types[e]=r),i&&(o.ids[e]=i),o.values[e]=t},pushId:function(e,t,n){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:i,compileChildren:function(e,t){for(var n=e.children,r=void 0,i=void 0,o=0,a=n.length;a>o;o++){r=n[o],i=new this.compiler;var s=this.matchExistingProgram(r);null==s?(this.context.programs.push(""),s=this.context.programs.length,r.index=s,r.name="program"+s,this.context.programs[s]=i.compile(r,t,this.context,!this.precompile),this.context.environments[s]=r,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams):(r.index=s,r.name="program"+s,this.useDepths=this.useDepths||r.useDepths,this.useBlockParams=this.useBlockParams||r.useBlockParams)}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;n>t;t++){var r=this.context.environments[t];if(r&&r.equals(e))return t}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"this.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof r||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new r(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=["("],n=void 0,i=void 0,o=void 0;if(!this.isInline())throw new u["default"]("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof r)n=[a.value],t=["(",n],o=!0;else{i=!0;var s=this.incrStack();t=["((",this.push(s)," = ",a,")"],n=this.topStack()}var l=e.call(this,n);o||this.popStack(),i&&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,n=e.length;n>t;t++){var i=e[t];if(i instanceof r)this.compileStack.push(i);else{var o=this.incrStack();this.pushSource([o," = ",i,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof r)return n.value;if(!t){if(!this.stackSlot)throw new u["default"]("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof r?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,n){var r=[],i=this.setupHelperArgs(t,e,r,n),o=this.nameLookup("helpers",t,"helper");return{params:r,paramsInit:i,name:o,callParams:[this.contextName(0)].concat(r)}},setupParams:function(e,t,n){var r={},i=[],o=[],a=[],s=void 0;r.name=this.quotedString(e),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack());var l=this.popStack(),u=this.popStack();(u||l)&&(r.fn=u||"this.noop",r.inverse=l||"this.noop");for(var c=t;c--;)s=this.popStack(),n[c]=s,this.trackIds&&(a[c]=this.popStack()),this.stringParams&&(o[c]=this.popStack(),i[c]=this.popStack());return this.trackIds&&(r.ids=this.source.generateArray(a)),this.stringParams&&(r.types=this.source.generateArray(o),r.contexts=this.source.generateArray(i)),this.options.data&&(r.data="data"),this.useBlockParams&&(r.blockParams="blockParams"),r},setupHelperArgs:function(e,t,n,r){var i=this.setupParams(e,t,n,!0);return i=this.objectLiteral(i),r?(this.useRegister("options"),n.push("options"),["options=",i]):(n.push(i),"")}},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=i.RESERVED_WORDS={},n=0,r=e.length;r>n;n++)t[e[n]]=!0}(),i.isValidJavaScriptVariableName=function(e){return!i.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";function r(){this.parents=[]}var i=n(8)["default"];t.__esModule=!0;var o=n(12),a=i(o),s=n(2),l=i(s);r.prototype={constructor:r,mutating:!1,acceptKey:function(e,t){var n=this.accept(e[t]);if(this.mutating){if(n&&(!n.type||!l["default"][n.type]))throw new a["default"]('Unexpected node type "'+n.type+'" found when accepting '+t+" on "+e.type); +e[t]=n}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new a["default"](e.type+" requires "+t)},acceptArray:function(e){for(var t=0,n=e.length;n>t;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,n--)},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"]=r,e.exports=t["default"]},function(e,t,n){(function(n){"use strict";t.__esModule=!0,t["default"]=function(e){var t="undefined"!=typeof n?n:window,r=t.Handlebars;e.noConflict=function(){t.Handlebars===e&&(t.Handlebars=r)}},e.exports=t["default"]}).call(t,function(){return this}())},function(e,t,n){"use strict";t["default"]=function(e){return e&&e.__esModule?e:{"default":e}},t.__esModule=!0},function(e,t,n){"use strict";t["default"]=function(e){if(e&&e.__esModule)return e;var t={};if("object"==typeof e&&null!==e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t},t.__esModule=!0},function(e,t,n){"use strict";function r(e,t){this.helpers=e||{},this.partials=t||{},i(this)}function i(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new p["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')}),e.registerHelper("blockHelperMissing",function(t,n){var r=n.inverse,i=n.fn;if(t===!0)return i(this);if(t===!1||null==t)return r(this);if(g(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):r(this);if(n.data&&n.ids){var a=o(n.data);a.contextPath=u.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(t,n)}),e.registerHelper("each",function(e,t){function n(t,n,i){l&&(l.key=t,l.index=n,l.first=0===n,l.last=!!i,c&&(l.contextPath=c+t)),s+=r(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 r=t.fn,i=t.inverse,a=0,s="",l=void 0,c=void 0;if(t.data&&t.ids&&(c=u.appendContextPath(t.data.contextPath,t.ids[0])+"."),m(e)&&(e=e.call(this)),t.data&&(l=o(t.data)),e&&"object"==typeof e)if(g(e))for(var h=e.length;h>a;a++)n(a,a,a===e.length-1);else{var f=void 0;for(var d in e)e.hasOwnProperty(d)&&(f&&n(f,a-1),f=d,a++);f&&n(f,a-1,!0)}return 0===a&&(s=i(this)),s}),e.registerHelper("if",function(e,t){return m(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||u.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){return e.helpers["if"].call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}),e.registerHelper("with",function(e,t){m(e)&&(e=e.call(this));var n=t.fn;if(u.isEmpty(e))return t.inverse(this);if(t.data&&t.ids){var r=o(t.data);r.contextPath=u.appendContextPath(t.data.contextPath,t.ids[0]),t={data:r}}return n(e,t)}),e.registerHelper("log",function(t,n){var r=n.data&&null!=n.data.level?parseInt(n.data.level,10):1;e.log(r,t)}),e.registerHelper("lookup",function(e,t){return e&&e[t]})}function o(e){var t=u.extend({},e);return t._parent=e,t}var a=n(9)["default"],s=n(8)["default"];t.__esModule=!0,t.HandlebarsEnvironment=r,t.createFrame=o;var l=n(13),u=a(l),c=n(12),p=s(c),h="3.0.1";t.VERSION=h;var f=6;t.COMPILER_REVISION=f;var d={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=d;var g=u.isArray,m=u.isFunction,v=u.toString,y="[object Object]";r.prototype={constructor:r,logger:b,log:x,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 b={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&&b.level<=e){var n=b.methodMap[e];(console[n]||console.log).call(console,t)}}};t.logger=b;var x=b.log;t.log=x},function(e,t,n){"use strict";function r(e){this.string=e}t.__esModule=!0,r.prototype.toString=r.prototype.toHTML=function(){return""+this.string},t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){var n=t&&t.loc,o=void 0,a=void 0;n&&(o=n.start.line,a=n.start.column,e+=" - "+o+":"+a);for(var s=Error.prototype.constructor.call(this,e),l=0;l<i.length;l++)this[i[l]]=s[i[l]];Error.captureStackTrace&&Error.captureStackTrace(this,r),n&&(this.lineNumber=o,this.column=a)}t.__esModule=!0;var i=["description","fileName","lineNumber","message","name","number","stack"];r.prototype=new Error,t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return c[e]}function i(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}function o(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}function a(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,r):e}function s(e){return e||0===e?g(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=i,t.indexOf=o,t.escapeExpression=a,t.isEmpty=s,t.blockParams=l,t.appendContextPath=u;var c={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},p=/[&<>"'`]/g,h=/[&<>"'`]/,f=Object.prototype.toString;t.toString=f;var d=function(e){return"function"==typeof e};d(/x/)&&(t.isFunction=d=function(e){return"function"==typeof e&&"[object Function]"===f.call(e)});var d;t.isFunction=d;var g=Array.isArray||function(e){return e&&"object"==typeof e?"[object Array]"===f.call(e):!1};t.isArray=g},function(e,t,n){"use strict";function r(e){var t=e&&e[0]||1,n=m.COMPILER_REVISION;if(t!==n){if(n>t){var r=m.REVISION_CHANGES[n],i=m.REVISION_CHANGES[t];throw new g["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+i+").")}throw new g["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 i(e,t){function n(n,r,i){i.hash&&(r=f.extend({},r,i.hash)),n=t.VM.resolvePartial.call(this,n,r,i);var o=t.VM.invokePartial.call(this,n,r,i);if(null==o&&t.compile&&(i.partials[i.name]=t.compile(n,e.compilerOptions,t),o=i.partials[i.name](r,i)),null!=o){if(i.indent){for(var a=o.split("\n"),s=0,l=a.length;l>s&&(a[s]||s+1!==l);s++)a[s]=i.indent+a[s];o=a.join("\n")}return o}throw new g["default"]("The partial "+i.name+" could not be compiled when running in runtime-only mode")}function r(t){var n=void 0===arguments[1]?{}:arguments[1],o=n.data;r._setup(n),!n.partial&&e.useData&&(o=u(t,o));var a=void 0,s=e.useBlockParams?[]:void 0;return e.useDepths&&(a=n.depths?[t].concat(n.depths):[t]),e.main.call(i,t,i.helpers,i.partials,o,s,a)}if(!t)throw new g["default"]("No environment passed to template");if(!e||!e.main)throw new g["default"]("Unknown template object: "+typeof e);t.VM.checkRevision(e.compiler);var i={strict:function(e,t){if(!(t in e))throw new g["default"]('"'+t+'" not defined in '+e);return e[t]},lookup:function(e,t){for(var n=e.length,r=0;n>r;r++)if(e[r]&&null!=e[r][t])return e[r][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:f.escapeExpression,invokePartial:n,fn:function(t){return e[t]},programs:[],program:function(e,t,n,r,i){var a=this.programs[e],s=this.fn(e);return t||i||r||n?a=o(this,e,s,t,n,r,i):a||(a=this.programs[e]=o(this,e,s)),a},data:function(e,t){for(;e&&t--;)e=e._parent;return e},merge:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=f.extend({},t,e)),n},noop:t.VM.noop,compilerInfo:e.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(i.helpers=n.helpers,i.partials=n.partials):(i.helpers=i.merge(n.helpers,t.helpers),e.usePartial&&(i.partials=i.merge(n.partials,t.partials)))},r._child=function(t,n,r,a){if(e.useBlockParams&&!r)throw new g["default"]("must pass block params");if(e.useDepths&&!a)throw new g["default"]("must pass parent depths");return o(i,t,e[t],n,0,r,a)},r}function o(e,t,n,r,i,o,a){function s(t){var i=void 0===arguments[1]?{}:arguments[1];return n.call(e,t,e.helpers,e.partials,i.data||r,o&&[i.blockParams].concat(o),a&&[t].concat(a))}return s.program=t,s.depth=a?a.length:0,s.blockParams=i||0,s}function a(e,t,n){return e?e.call||n.name||(n.name=e,e=n.partials[e]):e=n.partials[n.name],e}function s(e,t,n){if(n.partial=!0,void 0===e)throw new g["default"]("The partial "+n.name+" could not be found");return e instanceof Function?e(t,n):void 0}function l(){return""}function u(e,t){return t&&"root"in t||(t=t?m.createFrame(t):{},t.root=e),t}var c=n(9)["default"],p=n(8)["default"];t.__esModule=!0,t.checkRevision=r,t.template=i,t.wrapProgram=o,t.resolvePartial=a,t.invokePartial=s,t.noop=l;var h=n(13),f=c(h),d=n(12),g=p(d),m=n(10)},function(e,t,n){"use strict";t.__esModule=!0;var r=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,n,r,i,o,a){var s=o.length-1;switch(i){case 1:return o[s-1];case 2:this.$=new r.Program(o[s],null,{},r.locInfo(this._$));break;case 3:this.$=o[s];break;case 4:this.$=o[s];break;case 5:this.$=o[s];break;case 6:this.$=o[s];break;case 7:this.$=o[s];break;case 8:this.$=new r.CommentStatement(r.stripComment(o[s]),r.stripFlags(o[s],o[s]),r.locInfo(this._$));break;case 9:this.$=new r.ContentStatement(o[s],r.locInfo(this._$));break;case 10:this.$=r.prepareRawBlock(o[s-2],o[s-1],o[s],this._$);break;case 11:this.$={path:o[s-3],params:o[s-2],hash:o[s-1]};break;case 12:this.$=r.prepareBlock(o[s-3],o[s-2],o[s-1],o[s],!1,this._$);break;case 13:this.$=r.prepareBlock(o[s-3],o[s-2],o[s-1],o[s],!0,this._$);break;case 14:this.$={path:o[s-4],params:o[s-3],hash:o[s-2],blockParams:o[s-1],strip:r.stripFlags(o[s-5],o[s])};break;case 15:this.$={path:o[s-4],params:o[s-3],hash:o[s-2],blockParams:o[s-1],strip:r.stripFlags(o[s-5],o[s])};break;case 16:this.$={path:o[s-4],params:o[s-3],hash:o[s-2],blockParams:o[s-1],strip:r.stripFlags(o[s-5],o[s])};break;case 17:this.$={strip:r.stripFlags(o[s-1],o[s-1]),program:o[s]};break;case 18:var l=r.prepareBlock(o[s-2],o[s-1],o[s],o[s],!1,this._$),u=new r.Program([l],null,{},r.locInfo(this._$));u.chained=!0,this.$={strip:o[s-2].strip,program:u,chain:!0};break;case 19:this.$=o[s];break;case 20:this.$={path:o[s-1],strip:r.stripFlags(o[s-2],o[s])};break;case 21:this.$=r.prepareMustache(o[s-3],o[s-2],o[s-1],o[s-4],r.stripFlags(o[s-4],o[s]),this._$);break;case 22:this.$=r.prepareMustache(o[s-3],o[s-2],o[s-1],o[s-4],r.stripFlags(o[s-4],o[s]),this._$);break;case 23:this.$=new r.PartialStatement(o[s-3],o[s-2],o[s-1],r.stripFlags(o[s-4],o[s]),r.locInfo(this._$));break;case 24:this.$=o[s];break;case 25:this.$=o[s];break;case 26:this.$=new r.SubExpression(o[s-3],o[s-2],o[s-1],r.locInfo(this._$));break;case 27:this.$=new r.Hash(o[s],r.locInfo(this._$));break;case 28:this.$=new r.HashPair(r.id(o[s-2]),o[s],r.locInfo(this._$));break;case 29:this.$=r.id(o[s-1]);break;case 30:this.$=o[s];break;case 31:this.$=o[s];break;case 32:this.$=new r.StringLiteral(o[s],r.locInfo(this._$));break;case 33:this.$=new r.NumberLiteral(o[s],r.locInfo(this._$));break;case 34:this.$=new r.BooleanLiteral(o[s],r.locInfo(this._$));break;case 35:this.$=new r.UndefinedLiteral(r.locInfo(this._$));break;case 36:this.$=new r.NullLiteral(r.locInfo(this._$));break;case 37:this.$=o[s];break;case 38:this.$=o[s];break;case 39:this.$=r.preparePath(!0,o[s],this._$);break;case 40:this.$=r.preparePath(!1,o[s],this._$);break;case 41:o[s-2].push({part:r.id(o[s]),original:o[s],separator:o[s-1]}),this.$=o[s-2];break;case 42:this.$=[{part:r.id(o[s]),original:o[s]}];break;case 43:this.$=[];break;case 44:o[s-1].push(o[s]);break;case 45:this.$=[];break;case 46:o[s-1].push(o[s]);break;case 53:this.$=[];break;case 54:o[s-1].push(o[s]);break;case 59:this.$=[];break;case 60:o[s-1].push(o[s]);break;case 65:this.$=[];break;case 66:o[s-1].push(o[s]);break;case 73:this.$=[];break;case 74:o[s-1].push(o[s]);break;case 77:this.$=[];break;case 78:o[s-1].push(o[s]);break;case 81:this.$=[];break;case 82:o[s-1].push(o[s]);break;case 85:this.$=[];break;case 86:o[s-1].push(o[s]);break;case 89:this.$=[o[s]];break;case 90:o[s-1].push(o[s]);break;case 91:this.$=[o[s]];break;case 92:o[s-1].push(o[s])}},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=n.lexer.lex()||1,"number"!=typeof e&&(e=n.symbols_[e]||e),e}var n=this,r=[0],i=[null],o=[],a=this.table,s="",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;o.push(p);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var f,d,g,m,v,y,b,x,w,S={};;){if(g=r[r.length-1],this.defaultActions[g]?m=this.defaultActions[g]:((null===f||"undefined"==typeof f)&&(f=t()),m=a[g]&&a[g][f]),"undefined"==typeof m||!m.length||!m[0]){var k="";if(!c){w=[];for(y in a[g])this.terminals_[y]&&y>2&&w.push("'"+this.terminals_[y]+"'");k=this.lexer.showPosition?"Parse error on line "+(l+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(k,{text:this.lexer.match,token:this.terminals_[f]||f,line:this.lexer.yylineno,loc:p,expected:w})}}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(m[0]){case 1:r.push(f),i.push(this.lexer.yytext),o.push(this.lexer.yylloc),r.push(m[1]),f=null,d?(f=d,d=null):(u=this.lexer.yyleng,s=this.lexer.yytext,l=this.lexer.yylineno,p=this.lexer.yylloc,c>0&&c--);break;case 2:if(b=this.productions_[m[1]][1],S.$=i[i.length-b],S._$={first_line:o[o.length-(b||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(b||1)].first_column,last_column:o[o.length-1].last_column},h&&(S._$.range=[o[o.length-(b||1)].range[0],o[o.length-1].range[1]]),v=this.performAction.call(S,s,u,l,this.yy,m[1],i,o),"undefined"!=typeof v)return v;b&&(r=r.slice(0,-1*b*2),i=i.slice(0,-1*b),o=o.slice(0,-1*b)),r.push(this.productions_[m[1]][0]),i.push(S.$),o.push(S._$),x=a[r[r.length-2]][r[r.length-1]],r.push(x);break;case 3:return!0}}return!0}},n=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,n=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 r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[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,n,r,i;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),a=0;a<o.length&&(n=this._input.match(this.rules[o[a]]),!n||t&&!(n[0].length>t[0].length)||(t=n,r=a,this.options.flex));a++);return t?(i=t[0].match(/(?:\r\n?|\n).*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.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,o[r],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,n,r){function i(e,n){return t.yytext=t.yytext.substr(e,t.yyleng-n)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(i(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(i(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=i(1,2).replace(/\\"/g,'"'),74;case 30:return t.yytext=i(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=n,e.prototype=t,t.Parser=e,new e}();t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(){}function i(e,t,n){void 0===t&&(t=e.length);var r=e[t-1],i=e[t-2];return r?"ContentStatement"===r.type?(i||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:n}function o(e,t,n){void 0===t&&(t=-1);var r=e[t+1],i=e[t+2];return r?"ContentStatement"===r.type?(i||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:n}function a(e,t,n){var r=e[null==t?0:t+1];if(r&&"ContentStatement"===r.type&&(n||!r.rightStripped)){var i=r.value;r.value=r.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==i}}function s(e,t,n){var r=e[null==t?e.length-1:t-1];if(r&&"ContentStatement"===r.type&&(n||!r.leftStripped)){var i=r.value;return r.value=r.value.replace(n?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==i,r.leftStripped}}var l=n(8)["default"];t.__esModule=!0;var u=n(6),c=l(u);r.prototype=new c["default"],r.prototype.Program=function(e){var t=!this.isRootSeen;this.isRootSeen=!0;for(var n=e.body,r=0,l=n.length;l>r;r++){var u=n[r],c=this.accept(u);if(c){var p=i(n,r,t),h=o(n,r,t),f=c.openStandalone&&p,d=c.closeStandalone&&h,g=c.inlineStandalone&&p&&h;c.close&&a(n,r,!0),c.open&&s(n,r,!0),g&&(a(n,r),s(n,r)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(n[r-1].original)[1])),f&&(a((u.program||u.inverse).body),s(n,r)),d&&(a(n,r),s((u.inverse||u.program).body))}}return e},r.prototype.BlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,n=e.program&&e.inverse,r=n,l=n;if(n&&n.chained)for(r=n.body[0].program;l.chained;)l=l.body[l.body.length-1].program;var u={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:o(t.body),closeStandalone:i((r||t).body)};if(e.openStrip.close&&a(t.body,null,!0),n){var c=e.inverseStrip;c.open&&s(t.body,null,!0),c.close&&a(r.body,null,!0),e.closeStrip.open&&s(l.body,null,!0),i(t.body)&&o(r.body)&&(s(t.body),a(r.body))}else e.closeStrip.open&&s(t.body,null,!0);return u},r.prototype.MustacheStatement=function(e){return e.strip},r.prototype.PartialStatement=r.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(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 i(e){return/^\[.*\]$/.test(e)?e.substr(1,e.length-2):e}function o(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}}function a(e){return e.replace(/^\{\{~?\!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function s(e,t,n){n=this.locInfo(n);for(var r=e?"@":"",i=[],o=0,a="",s=0,l=t.length;l>s;s++){var u=t[s].part,c=t[s].original!==u;if(r+=(t[s].separator||"")+u,c||".."!==u&&"."!==u&&"this"!==u)i.push(u);else{if(i.length>0)throw new f["default"]("Invalid path: "+r,{loc:n});".."===u&&(o++,a+="../")}}return new this.PathExpression(e,o,i,r,n)}function l(e,t,n,r,i,o){var a=r.charAt(3)||r.charAt(2),s="{"!==a&&"&"!==a;return new this.MustacheStatement(e,t,n,s,i,this.locInfo(o))}function u(e,t,n,r){if(e.path.original!==n){var i={loc:e.path.loc};throw new f["default"](e.path.original+" doesn't match "+n,i)}r=this.locInfo(r);var o=new this.Program([t],null,{},r);return new this.BlockStatement(e.path,e.params,e.hash,o,void 0,{},{},{},r)}function c(e,t,n,r,i,o){if(r&&r.path&&e.path.original!==r.path.original){var a={loc:e.path.loc};throw new f["default"](e.path.original+" doesn't match "+r.path.original,a)}t.blockParams=e.blockParams;var s=void 0,l=void 0;return n&&(n.chain&&(n.program.body[0].closeStrip=r.strip),l=n.strip,s=n.program),i&&(i=s,s=t,t=i),new this.BlockStatement(e.path,e.params,e.hash,t,s,e.strip,l,r&&r.strip,this.locInfo(o))}var p=n(8)["default"];t.__esModule=!0,t.SourceLocation=r,t.id=i,t.stripFlags=o,t.stripComment=a,t.preparePath=s,t.prepareMustache=l,t.prepareRawBlock=u,t.prepareBlock=c;var h=n(12),f=p(h)},function(e,t,n){"use strict";function r(e,t,n){if(o.isArray(e)){for(var r=[],i=0,a=e.length;a>i;i++)r.push(t.wrap(e[i],n));return r}return"boolean"==typeof e||"number"==typeof e?e+"":e}function i(e){this.srcFile=e,this.source=[]}t.__esModule=!0;var o=n(13),a=void 0;try{}catch(s){}a||(a=function(e,t,n,r){this.src="",r&&this.add(r)},a.prototype={add:function(e){o.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){o.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),i.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,n=this.source.length;n>t;t++)e(this.source[t])},empty:function(){var e=void 0===arguments[0]?this.currentLocation||{start:{}}:arguments[0];return new a(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 a?e:(e=r(e,this,t),new a(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,n){return n=this.generateList(n),this.wrap([e,t?"."+t+"(":"(",n,")"])},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 n in e)if(e.hasOwnProperty(n)){var i=r(e[n],this);"undefined"!==i&&t.push([this.quotedString(n),":",i])}var o=this.generateList(t);return o.prepend("{"),o.add("}"),o},generateList:function(e,t){for(var n=this.empty(t),i=0,o=e.length;o>i;i++)i&&n.add(","),n.add(r(e[i],this,t));return n},generateArray:function(e,t){var n=this.generateList(e,t);return n.prepend("["),n.add("]"),n}},t["default"]=i,e.exports=t["default"]}])})}),define("source-map",[],function(e,t,n){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,n){define(function(e,t,n){function r(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._sources=new a,this._names=new a,this._mappings=[],this._sourcesContents=null}var i=e("source-map/base64-vlq"),o=e("source-map/util"),a=e("source-map/array-set").ArraySet;r.prototype._version=3,r.fromSourceMap=function(e){var t=e.sourceRoot,n=new r({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&n.setSourceContent(t,r)}),n},r.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._validateMapping(t,n,r,i),null==r||this._sources.has(r)||this._sources.add(r),null==i||this._names.has(i)||this._names.add(i),this._mappings.push({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},r.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},r.prototype.applySourceMap=function(e,t,n){var r=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.');r=e.file}var i=this._sourceRoot;null!=i&&(r=o.relative(i,r));var s=new a,l=new a;this._mappings.forEach(function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=n&&(t.source=o.join(n,t.source)),null!=i&&(t.source=o.relative(i,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var u=t.source;null==u||s.has(u)||s.add(u);var c=t.name;null==c||l.has(c)||l.add(c)},this),this._sources=s,this._names=l,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=i&&(t=o.relative(i,t)),this.setSourceContent(t,r))},this)},r.prototype._validateMapping=function(e,t,n,r){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(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&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},r.prototype._serializeMappings=function(){var e,t=0,n=1,r=0,a=0,s=0,l=0,u="";this._mappings.sort(o.compareByGeneratedPositions);for(var c=0,p=this._mappings.length;p>c;c++){if(e=this._mappings[c],e.generatedLine!==n)for(t=0;e.generatedLine!==n;)u+=";",n++;else if(c>0){if(!o.compareByGeneratedPositions(e,this._mappings[c-1]))continue;u+=","}u+=i.encode(e.generatedColumn-t),t=e.generatedColumn,null!=e.source&&(u+=i.encode(this._sources.indexOf(e.source)-l),l=this._sources.indexOf(e.source),u+=i.encode(e.originalLine-1-a),a=e.originalLine-1,u+=i.encode(e.originalColumn-r),r=e.originalColumn,null!=e.name&&(u+=i.encode(this._names.indexOf(e.name)-s),s=this._names.indexOf(e.name)))}return u},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.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},r.prototype.toString=function(){return JSON.stringify(this)},t.SourceMapGenerator=r})}),define("source-map/base64-vlq",[],function(e,t,n){define(function(e,t,n){function r(e){return 0>e?(-e<<1)+1:(e<<1)+0}function i(e){var t=1===(1&e),n=e>>1;return t?-n:n}var o=e("source-map/base64"),a=5,s=1<<a,l=s-1,u=s;t.encode=function(e){var t,n="",i=r(e);do t=i&l,i>>>=a,i>0&&(t|=u),n+=o.encode(t);while(i>0);return n},t.decode=function(e,t){var n,r,s=0,c=e.length,p=0,h=0;do{if(s>=c)throw new Error("Expected more digits in base 64 VLQ value.");r=o.decode(e.charAt(s++)),n=!!(r&u),r&=l,p+=r<<h,h+=a}while(n);t.value=i(p),t.rest=e.slice(s)}})}),define("source-map/base64",[],function(e,t,n){define(function(e,t,n){var r={},i={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){r[e]=t,i[t]=e}),t.encode=function(e){if(e in i)return i[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){if(e in r)return r[e];throw new TypeError("Not a valid base 64 digit: "+e)}})}),define("source-map/util",[],function(e,t,n){define(function(e,t,n){function r(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function i(e){var t=e.match(d);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(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 a(e){var t=e,n=i(e);if(n){if(!n.path)return e;t=n.path}for(var r,a="/"===t.charAt(0),s=t.split(/\/+/),l=0,u=s.length-1;u>=0;u--)r=s[u],"."===r?s.splice(u,1):".."===r?l++:l>0&&(""===r?(s.splice(u+1,l),l=0):(s.splice(u,2),l--));return t=s.join("/"),""===t&&(t=a?"/":"."),n?(n.path=t,o(n)):t}function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=i(t),r=i(e);if(r&&(e=r.path||"/"),n&&!n.scheme)return r&&(n.scheme=r.scheme),o(n);if(n||t.match(g))return t;if(r&&!r.host&&!r.path)return r.host=t,o(r);var s="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return r?(r.path=s,o(r)):s}function l(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");var n=i(e);return"/"==t.charAt(0)&&n&&"/"==n.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 n=e||"",r=t||"";return(n>r)-(r>n)}function h(e,t,n){var r;return(r=p(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r||n?r:(r=p(e.name,t.name))?r:(r=e.generatedLine-t.generatedLine,r?r:e.generatedColumn-t.generatedColumn))}function f(e,t,n){var r;return(r=e.generatedLine-t.generatedLine)?r:(r=e.generatedColumn-t.generatedColumn,r||n?r:(r=p(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r?r:p(e.name,t.name)))}t.getArg=r;var d=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,g=/^data:.+\,.+$/;t.urlParse=i,t.urlGenerate=o,t.normalize=a,t.join=s,t.relative=l,t.toSetString=u,t.fromSetString=c,t.compareByOriginalPositions=h,t.compareByGeneratedPositions=f})}),define("source-map/array-set",[],function(e,t,n){define(function(e,t,n){function r(){this._array=[],this._set={}}var i=e("source-map/util");r.fromArray=function(e,t){for(var n=new r,i=0,o=e.length;o>i;i++)n.add(e[i],t);return n},r.prototype.add=function(e,t){var n=this.has(e),r=this._array.length;(!n||t)&&this._array.push(e),n||(this._set[i.toSetString(e)]=r)},r.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,i.toSetString(e))},r.prototype.indexOf=function(e){if(this.has(e))return this._set[i.toSetString(e)];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},t.ArraySet=r})}),define("source-map/source-map-consumer",[],function(e,t,n){define(function(e,t,n){function r(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=i.getArg(t,"version"),r=i.getArg(t,"sources"),o=i.getArg(t,"names",[]),s=i.getArg(t,"sourceRoot",null),l=i.getArg(t,"sourcesContent",null),u=i.getArg(t,"mappings"),c=i.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(i.normalize),this._names=a.fromArray(o,!0),this._sources=a.fromArray(r,!0),this.sourceRoot=s,this.sourcesContent=l,this._mappings=u,this.file=c}var i=e("source-map/util"),o=e("source-map/binary-search"),a=e("source-map/array-set").ArraySet,s=e("source-map/base64-vlq");r.fromSourceMap=function(e){var t=Object.create(r.prototype);return t._names=a.fromArray(e._names.toArray(),!0),t._sources=a.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(i.compareByGeneratedPositions),t.__originalMappings=e._mappings.slice().sort(i.compareByOriginalPositions),t},r.prototype._version=3,Object.defineProperty(r.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?i.join(this.sourceRoot,e):e},this)}}),r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__originalMappings}}),r.prototype._nextCharIsMappingSeparator=function(e){var t=e.charAt(0);return";"===t||","===t},r.prototype._parseMappings=function(e,t){for(var n,r=1,o=0,a=0,l=0,u=0,c=0,p=e,h={};p.length>0;)if(";"===p.charAt(0))r++,p=p.slice(1),o=0;else if(","===p.charAt(0))p=p.slice(1);else{if(n={},n.generatedLine=r,s.decode(p,h),n.generatedColumn=o+h.value,o=n.generatedColumn,p=h.rest,p.length>0&&!this._nextCharIsMappingSeparator(p)){if(s.decode(p,h),n.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(s.decode(p,h),n.originalLine=a+h.value,a=n.originalLine,n.originalLine+=1,p=h.rest,0===p.length||this._nextCharIsMappingSeparator(p))throw new Error("Found a source and line, but no column");s.decode(p,h),n.originalColumn=l+h.value,l=n.originalColumn,p=h.rest,p.length>0&&!this._nextCharIsMappingSeparator(p)&&(s.decode(p,h),n.name=this._names.at(c+h.value),c+=h.value,p=h.rest)}this.__generatedMappings.push(n),"number"==typeof n.originalLine&&this.__originalMappings.push(n)}this.__generatedMappings.sort(i.compareByGeneratedPositions),this.__originalMappings.sort(i.compareByOriginalPositions)},r.prototype._findMapping=function(e,t,n,r,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,i)},r.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},r.prototype.originalPositionFor=function(e){var t={generatedLine:i.getArg(e,"line"),generatedColumn:i.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",i.compareByGeneratedPositions);if(n>=0){var r=this._generatedMappings[n];if(r.generatedLine===t.generatedLine){var o=i.getArg(r,"source",null);return null!=o&&null!=this.sourceRoot&&(o=i.join(this.sourceRoot,o)),{source:o,line:i.getArg(r,"originalLine",null),column:i.getArg(r,"originalColumn",null),name:i.getArg(r,"name",null)}}}return{source:null,line:null,column:null,name:null}},r.prototype.sourceContentFor=function(e){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=i.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var t;if(null!=this.sourceRoot&&(t=i.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];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.')},r.prototype.generatedPositionFor=function(e){var t={source:i.getArg(e,"source"),originalLine:i.getArg(e,"line"),originalColumn:i.getArg(e,"column")};null!=this.sourceRoot&&(t.source=i.relative(this.sourceRoot,t.source));var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions);if(n>=0){var r=this._originalMappings[n];return{line:i.getArg(r,"generatedLine",null),column:i.getArg(r,"generatedColumn",null),lastColumn:i.getArg(r,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},r.prototype.allGeneratedPositionsFor=function(e){var t={source:i.getArg(e,"source"),originalLine:i.getArg(e,"line"),originalColumn:1/0};null!=this.sourceRoot&&(t.source=i.relative(this.sourceRoot,t.source));var n=[],r=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions);if(r>=0)for(var o=this._originalMappings[r];o&&o.originalLine===t.originalLine;)n.push({line:i.getArg(o,"generatedLine",null),column:i.getArg(o,"generatedColumn",null),lastColumn:i.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[--r];return n.reverse()},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.prototype.eachMapping=function(e,t,n){var o,a=t||null,s=n||r.GENERATED_ORDER;switch(s){case r.GENERATED_ORDER:o=this._generatedMappings;break;case r.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var l=this.sourceRoot;o.map(function(e){var t=e.source;return null!=t&&null!=l&&(t=i.join(l,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,a)},t.SourceMapConsumer=r})}),define("source-map/binary-search",[],function(e,t,n){define(function(e,t,n){function r(e,t,n,i,o){var a=Math.floor((t-e)/2)+e,s=o(n,i[a],!0);return 0===s?a:s>0?t-a>1?r(a,t,n,i,o):a:a-e>1?r(e,a,n,i,o):0>e?-1:e}t.search=function(e,t,n){return 0===t.length?-1:r(-1,t.length,e,t,n)}})}),define("source-map/source-node",[],function(e,t,n){define(function(e,t,n){function r(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==i?null:i,this[l]=!0,null!=r&&this.add(r)}var i=e("source-map/source-map-generator").SourceMapGenerator,o=e("source-map/util"),a=/(\r?\n)/,s=/\r\n|[\s\S]/g,l="$$$isSourceNode$$$";r.fromStringWithSourceMap=function(e,t,n){function i(e,t){if(null===e||void 0===e.source)s.add(t);else{var i=n?o.join(n,e.source):e.source;s.add(new r(e.originalLine,e.originalColumn,i,t,e.name))}}var s=new r,l=e.split(a),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],n=t.substr(0,e.generatedColumn-p);return l[0]=t.substr(e.generatedColumn-p),p=e.generatedColumn,i(h,n),void(h=e)}var n="";i(h,u()),c++,p=0}for(;c<e.generatedLine;)s.add(u()),c++;if(p<e.generatedColumn){var t=l[0];s.add(t.substr(0,e.generatedColumn)),l[0]=t.substr(e.generatedColumn),p=e.generatedColumn}h=e},this),l.length>0&&(h&&i(h,u()),s.add(l.join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=o.join(n,e)),s.setSourceContent(e,r))}),s},r.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},r.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},r.prototype.walk=function(e){for(var t,n=0,r=this.children.length;r>n;n++)t=this.children[n],t[l]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;r-1>n;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[l]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;n>t;t++)this.children[t][l]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;n>t;t++)e(o.fromSetString(r[t]),this.sourceContents[r[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new i(e),r=!1,o=null,l=null,u=null,c=null;return this.walk(function(e,i){t.code+=e,null!==i.source&&null!==i.line&&null!==i.column?((o!==i.source||l!==i.line||u!==i.column||c!==i.name)&&n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name}),o=i.source,l=i.line,u=i.column,c=i.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,r=!1),e.match(s).forEach(function(e,s,l){a.test(e)?(t.line++,t.column=0,s+1===l.length?(o=null,r=!1):r&&n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name})):t.column+=e.length})}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},t.SourceNode=r})}),define("index",[],function(require,exports,module){"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(e){return 10>e?"0"+e:e}function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,r,i,o,a,s=gap,l=t[e];switch(l&&"object"==typeof l&&"function"==typeof l.toJSON&&(l=l.toJSON(e)),"function"==typeof rep&&(l=rep.call(t,e,l)),typeof l){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(l)){for(o=l.length,n=0;o>n;n+=1)a[n]=str(n,l)||"null";return i=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,i}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;o>n;n+=1)"string"==typeof rep[n]&&(r=rep[n],i=str(r,l),i&&a.push(quote(r)+(gap?": ":":")+i));else for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(i=str(r,l),i&&a.push(quote(r)+(gap?": ":":")+i));return i=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,i}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx,escapable,gap,indent,meta,rep;"function"!=typeof JSON.stringify&&(escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;n>r;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,JSON.parse=function(text,reviver){function walk(e,t){var n,r,i=e[t];if(i&&"object"==typeof i)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r=walk(i,n),void 0!==r?i[n]=r:delete i[n]);return reviver.call(e,t,i)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),module.exports=JSON}),define("jquery-pjax",[],function(e,t,n){var r=e("jquery");!function(e){function t(t,r,i){var o=this;return this.on("click.pjax",t,function(t){var a=e.extend({},v(r,i));a.container||(a.container=e(this).attr("data-pjax")||o),n(t,a)})}function n(t,n,r){r=v(n,r);var i=t.currentTarget;if("A"!==i.tagName.toUpperCase())throw"$.fn.pjax or $.pjax.click requires an anchor element";if(!(t.which>1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||location.protocol!==i.protocol||location.hostname!==i.hostname||i.href.indexOf("#")>-1&&m(i)==m(location)||t.isDefaultPrevented())){var a={url:i.href,container:e(i).attr("data-pjax"),target:i},s=e.extend({},a,r),l=e.Event("pjax:click");e(i).trigger(l,[s]),l.isDefaultPrevented()||(o(s),t.preventDefault(),e(i).trigger("pjax:clicked",[s]))}}function i(t,n,r){r=v(n,r);var i=t.currentTarget;if("FORM"!==i.tagName.toUpperCase())throw"$.pjax.submit requires a form element";var a={type:i.method.toUpperCase(),url:i.action,container:e(i).attr("data-pjax"),target:i};if("GET"!==a.type&&void 0!==window.FormData)a.data=new FormData(i),a.processData=!1,a.contentType=!1;else{if(e(i).find(":file").length)return;a.data=e(i).serializeArray()}o(e.extend({},a,r)),t.preventDefault()}function o(t){function n(t,n,i){i||(i={}),i.relatedTarget=r;var o=e.Event(t,i);return a.trigger(o,n),!o.isDefaultPrevented()}t=e.extend(!0,{},e.ajaxSettings,o.defaults,t),e.isFunction(t.url)&&(t.url=t.url());var r=t.target,i=g(t.url).hash,a=t.context=y(t.container);t.data||(t.data={}),e.isArray(t.data)?t.data.push({name:"_pjax",value:a.selector}):t.data._pjax=a.selector;var l;t.beforeSend=function(e,r){if("GET"!==r.type&&(r.timeout=0),e.setRequestHeader("X-PJAX","true"),e.setRequestHeader("X-PJAX-Container",a.selector),!n("pjax:beforeSend",[e,r]))return!1;r.timeout>0&&(l=setTimeout(function(){n("pjax:timeout",[e,t])&&e.abort("timeout")},r.timeout),r.timeout=0);var o=g(r.url);o.hash=i,t.requestUrl=d(o.href); +},t.complete=function(e,r){l&&clearTimeout(l),n("pjax:complete",[e,r,t]),n("pjax:end",[e,t])},t.error=function(e,r,i){var o=w("",e,t),a=n("pjax:error",[e,r,i,t]);"GET"==t.type&&"abort"!==r&&a&&s(o.url)},t.success=function(r,l,u){var c=o.state,h="function"==typeof e.pjax.defaults.version?e.pjax.defaults.version():e.pjax.defaults.version,f=u.getResponseHeader("X-PJAX-Version"),d=w(r,u,t),m=g(d.url);if(i&&(m.hash=i,d.url=m.href),h&&f&&h!==f)return void s(d.url);if(!d.contents)return void s(d.url);o.state={id:t.id||p(),url:d.url,title:d.title,container:a.selector,fragment:t.fragment,timeout:t.timeout},(t.push||t.replace)&&window.history.replaceState(o.state,d.title,d.url);try{document.activeElement.blur()}catch(v){}d.title&&(document.title=d.title),n("pjax:beforeReplace",[d.contents,t],{state:o.state,previousState:c}),a.html(d.contents);var y=a.find("input[autofocus], textarea[autofocus]").last()[0];y&&document.activeElement!==y&&y.focus(),S(d.scripts);var b=t.scrollTo;if(i){var x=decodeURIComponent(i.slice(1)),k=document.getElementById(x)||document.getElementsByName(x)[0];k&&(b=e(k).offset().top)}"number"==typeof b&&e(window).scrollTop(b),n("pjax:success",[r,l,u,t])},o.state||(o.state={id:p(),url:window.location.href,title:document.title,container:a.selector,fragment:t.fragment,timeout:t.timeout},window.history.replaceState(o.state,document.title)),c(o.xhr),o.options=t;var u=o.xhr=e.ajax(t);return u.readyState>0&&(t.push&&!t.replace&&(k(o.state.id,h(a)),window.history.pushState(null,"",t.requestUrl)),n("pjax:start",[u,t]),n("pjax:send",[u,t])),o.xhr}function a(t,n){var r={url:window.location.href,push:!1,replace:!0,scrollTo:!1};return o(e.extend(r,v(t,n)))}function s(e){window.history.replaceState(null,"",o.state.url),window.location.replace(e)}function l(t){T||c(o.xhr);var n=o.state,r=t.state;if(r&&r.container){if(T&&P==r.url)return;var i,a=r.container;if(n){if(n.id===r.id)return;i=n.id<r.id?"forward":"back","back"==i&&(a=n.container)}var l=e(a);if(l.length){var u=j[r.id];n&&C(i,n.id,h(l));var p=e.Event("pjax:popstate",{state:r,direction:i});l.trigger(p);var f={id:r.id,url:r.url,container:l,push:!1,fragment:r.fragment,timeout:r.timeout,scrollTo:!1};if(u){l.trigger("pjax:start",[null,f]),o.state=r,r.title&&(document.title=r.title);var d=e.Event("pjax:beforeReplace",{state:r,previousState:n});l.trigger(d,[u,f]),l.html(u),l.trigger("pjax:end",[null,f])}else o(f);l[0].offsetHeight}else s(location.href)}T=!1}function u(t){var n=e.isFunction(t.url)?t.url():t.url,r=t.type?t.type.toUpperCase():"GET",i=e("<form>",{method:"GET"===r?"GET":"POST",action:n,style:"display:none"});"GET"!==r&&"POST"!==r&&i.append(e("<input>",{type:"hidden",name:"_method",value:r.toLowerCase()}));var o=t.data;if("string"==typeof o)e.each(o.split("&"),function(t,n){var r=n.split("=");i.append(e("<input>",{type:"hidden",name:r[0],value:r[1]}))});else if(e.isArray(o))e.each(o,function(t,n){i.append(e("<input>",{type:"hidden",name:n.name,value:n.value}))});else if("object"==typeof o){var a;for(a in o)i.append(e("<input>",{type:"hidden",name:a,value:o[a]}))}e(document.body).append(i),i.submit()}function c(t){t&&t.readyState<4&&(t.onreadystatechange=e.noop,t.abort())}function p(){return(new Date).getTime()}function h(e){var t=e.clone();return t.find("script").each(function(){this.src||r._data(this,"globalEval",!1)}),t.contents()}function f(e,t){return e.replace(new RegExp("[?&]"+t+"=[^&#]*"),"").replace(/[?&]($|#)/,"").replace(/[?&]/,"?")}function d(e){return e=f(e,"_pjax"),e=f(e,"_")}function g(e){var t=document.createElement("a");return t.href=e,t}function m(e){return e.href.replace(/#.*/,"")}function v(t,n){return t&&n?n.container=t:n=e.isPlainObject(t)?t:{container:t},n.container&&(n.container=y(n.container)),n}function y(t){if(t=e(t),t.length){if(""!==t.selector&&t.context===document)return t;if(t.attr("id"))return e("#"+t.attr("id"));throw"cant get selector for pjax container!"}throw"no pjax container for "+t.selector}function b(e,t){return e.filter(t).add(e.find(t))}function x(t){return e.parseHTML(t,document,!0)}function w(t,n,r){var i={},o=/<html/i.test(t),a=n.getResponseHeader("X-PJAX-URL");if(i.url=a?d(a):r.requestUrl,o)var s=e(x(t.match(/<head[^>]*>([\s\S.]*)<\/head>/i)[0])),l=e(x(t.match(/<body[^>]*>([\s\S.]*)<\/body>/i)[0]));else var s=l=e(x(t));if(0===l.length)return i;if(i.title=b(s,"title").last().text(),r.fragment){if("body"===r.fragment)var u=l;else var u=b(l,r.fragment).first();u.length&&(i.contents="body"===r.fragment?u:u.contents(),i.title||(i.title=u.attr("title")||u.data("title")))}else o||(i.contents=l);return i.contents&&(i.contents=i.contents.not(function(){return e(this).is("title")}),i.contents.find("title").remove(),i.scripts=b(i.contents,"script[src]").remove(),i.contents=i.contents.not(i.scripts)),i.title&&(i.title=e.trim(i.title)),i}function S(t){if(t){var n=e("script[src]");t.each(function(){var t=this.src,r=n.filter(function(){return this.src===t});if(!r.length){var i=document.createElement("script"),o=e(this).attr("type");o&&(i.type=o),i.src=e(this).attr("src"),document.head.appendChild(i)}})}}function k(e,t){j[e]=t,M.push(e),_(O,0),_(M,o.defaults.maxCacheLength)}function C(e,t,n){var r,i;j[t]=n,"forward"===e?(r=M,i=O):(r=O,i=M),r.push(t),(t=i.pop())&&delete j[t],_(r,o.defaults.maxCacheLength)}function _(e,t){for(;e.length>t;)delete j[e.shift()]}function E(){return e("meta").filter(function(){var t=e(this).attr("http-equiv");return t&&"X-PJAX-VERSION"===t.toUpperCase()}).attr("content")}function A(){e.fn.pjax=t,e.pjax=o,e.pjax.enable=e.noop,e.pjax.disable=N,e.pjax.click=n,e.pjax.submit=i,e.pjax.reload=a,e.pjax.defaults={timeout:650,push:!0,replace:!1,type:"GET",dataType:"html",scrollTo:0,maxCacheLength:20,version:E},e(window).on("popstate.pjax",l)}function N(){e.fn.pjax=function(){return this},e.pjax=u,e.pjax.enable=A,e.pjax.disable=e.noop,e.pjax.click=e.noop,e.pjax.submit=e.noop,e.pjax.reload=function(){window.location.reload()},e(window).off("popstate.pjax",l)}var T=!0,P=window.location.href,L=window.history.state;L&&L.container&&(o.state=L),"state"in window.history&&(T=!1);var j={},O=[],M=[];e.inArray("state",e.event.props)<0&&e.event.props.push("state"),e.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),e.support.pjax?A():N()}(r)}),define("dot",[],function(e,t,n){e("lib/jquery.dotdotdot"),n.exports=function(e){e.dotdotdot({wrap:"letter"})}}),define("lib/jquery.dotdotdot",[],function(e,t,n){var r=e("jquery");!function(e,t){function n(e,t,n){var r=e.children(),i=!1;e.empty();for(var a=0,s=r.length;s>a;a++){var l=r.eq(a);if(e.append(l),n&&e.append(n),o(e,t)){l.remove(),i=!0;break}n&&n.detach()}return i}function r(t,n,a,s,l){var u=!1,c="a, table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style",p="script, .dotdotdot-keep";return t.contents().detach().each(function(){var h=this,f=e(h);if("undefined"==typeof h)return!0;if(f.is(p))t.append(f);else{if(u)return!0;t.append(f),!l||f.is(s.after)||f.find(s.after).length||t[t.is(c)?"after":"append"](l),o(a,s)&&(u=3==h.nodeType?i(f,n,a,s,l):r(f,n,a,s,l),u||(f.detach(),u=!0)),u||l&&l.detach()}}),n.addClass("is-truncated"),u}function i(t,n,r,i,s){var c=t[0];if(!c)return!1;var h=u(c),f=-1!==h.indexOf(" ")?" ":" ",d="letter"==i.wrap?"":f,g=h.split(d),m=-1,v=-1,y=0,b=g.length-1;for(i.fallbackToLetter&&0==y&&0==b&&(d="",g=h.split(d),b=g.length-1);b>=y&&(0!=y||0!=b);){var x=Math.floor((y+b)/2);if(x==v)break;v=x,l(c,g.slice(0,v+1).join(d)+i.ellipsis),o(r,i)?(b=v,i.fallbackToLetter&&0==y&&0==b&&(d="",g=g[0].split(d),m=-1,v=-1,y=0,b=g.length-1)):(m=v,y=v)}if(-1==m||1==g.length&&0==g[0].length){var w=t.parent();t.detach();var S=s&&s.closest(w).length?s.length:0;w.contents().length>S?c=p(w.contents().eq(-1-S),n):(c=p(w,n,!0),S||w.detach()),c&&(h=a(u(c),i),l(c,h),S&&s&&e(c).parent().append(s))}else h=a(g.slice(0,m+1).join(d),i),l(c,h);return!0}function o(e,t){return e.innerHeight()>t.maxHeight}function a(t,n){for(;e.inArray(t.slice(-1),n.lastCharacter.remove)>-1;)t=t.slice(0,-1);return e.inArray(t.slice(-1),n.lastCharacter.noEllipsis)<0&&(t+=n.ellipsis),t}function s(e){return{width:e.innerWidth(),height:e.innerHeight()}}function l(e,t){e.innerText?e.innerText=t:e.nodeValue?e.nodeValue=t:e.textContent&&(e.textContent=t)}function u(e){return e.innerText?e.innerText:e.nodeValue?e.nodeValue:e.textContent?e.textContent:""}function c(e){do e=e.previousSibling;while(e&&1!==e.nodeType&&3!==e.nodeType);return e}function p(t,n,r){var i,o=t&&t[0];if(o){if(!r){if(3===o.nodeType)return o;if(e.trim(t.text()))return p(t.contents().last(),n)}for(i=c(o);!i;){if(t=t.parent(),t.is(n)||!t.length)return!1;i=c(t[0])}if(i)return p(e(i),n)}return!1}function h(t,n){return t?"string"==typeof t?(t=e(t,n),t.length?t:!1):t.jquery?t:!1:!1}function f(e){for(var t=e.innerHeight(),n=["paddingTop","paddingBottom"],r=0,i=n.length;i>r;r++){var o=parseInt(e.css(n[r]),10);isNaN(o)&&(o=0),t-=o}return t}if(!e.fn.dotdotdot){e.fn.dotdotdot=function(t){if(0==this.length)return e.fn.dotdotdot.debug('No element found for "'+this.selector+'".'),this;if(this.length>1)return this.each(function(){e(this).dotdotdot(t)});var i=this;i.data("dotdotdot")&&i.trigger("destroy.dot"),i.data("dotdotdot-style",i.attr("style")||""),i.css("word-wrap","break-word"),"nowrap"===i.css("white-space")&&i.css("white-space","normal"),i.bind_events=function(){return i.bind("update.dot",function(t,s){i.removeClass("is-truncated"),t.preventDefault(),t.stopPropagation(),l.maxHeight="number"==typeof l.height?l.height:f(i),l.maxHeight+=l.tolerance,"undefined"!=typeof s&&(("string"==typeof s||"nodeType"in s&&1===s.nodeType)&&(s=e("<div />").append(s).contents()),s instanceof e&&(a=s)),g=i.wrapInner('<div class="dotdotdot" />').children(),g.contents().detach().end().append(a.clone(!0)).find("br").replaceWith(" <br /> ").end().css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var c=!1,p=!1;return u.afterElement&&(c=u.afterElement.clone(!0),c.show(),u.afterElement.detach()),o(g,l)&&(p="children"==l.wrap?n(g,l,c):r(g,i,g,l,c)),g.replaceWith(g.contents()),g=null,e.isFunction(l.callback)&&l.callback.call(i[0],p,a),u.isTruncated=p,p}).bind("isTruncated.dot",function(e,t){return e.preventDefault(),e.stopPropagation(),"function"==typeof t&&t.call(i[0],u.isTruncated),u.isTruncated}).bind("originalContent.dot",function(e,t){return e.preventDefault(),e.stopPropagation(),"function"==typeof t&&t.call(i[0],a),a}).bind("destroy.dot",function(e){e.preventDefault(),e.stopPropagation(),i.unwatch().unbind_events().contents().detach().end().append(a).attr("style",i.data("dotdotdot-style")||"").data("dotdotdot",!1)}),i},i.unbind_events=function(){return i.unbind(".dot"),i},i.watch=function(){if(i.unwatch(),"window"==l.watch){var t=e(window),n=t.width(),r=t.height();t.bind("resize.dot"+u.dotId,function(){n==t.width()&&r==t.height()&&l.windowResizeFix||(n=t.width(),r=t.height(),p&&clearInterval(p),p=setTimeout(function(){i.trigger("update.dot")},100))})}else c=s(i),p=setInterval(function(){if(i.is(":visible")){var e=s(i);(c.width!=e.width||c.height!=e.height)&&(i.trigger("update.dot"),c=e)}},500);return i},i.unwatch=function(){return e(window).unbind("resize.dot"+u.dotId),p&&clearInterval(p),i};var a=i.contents(),l=e.extend(!0,{},e.fn.dotdotdot.defaults,t),u={},c={},p=null,g=null;return l.lastCharacter.remove instanceof Array||(l.lastCharacter.remove=e.fn.dotdotdot.defaultArrays.lastCharacter.remove),l.lastCharacter.noEllipsis instanceof Array||(l.lastCharacter.noEllipsis=e.fn.dotdotdot.defaultArrays.lastCharacter.noEllipsis),u.afterElement=h(l.after,i),u.isTruncated=!1,u.dotId=d++,i.data("dotdotdot",!0).bind_events().trigger("update.dot"),l.watch&&i.watch(),i},e.fn.dotdotdot.defaults={ellipsis:"... ",wrap:"word",fallbackToLetter:!0,lastCharacter:{},tolerance:0,callback:null,after:null,height:null,watch:!1,windowResizeFix:!0},e.fn.dotdotdot.defaultArrays={lastCharacter:{remove:[" "," ",",",";",".","!","?"],noEllipsis:[]}},e.fn.dotdotdot.debug=function(e){};var d=1,g=e.fn.html;e.fn.html=function(n){return n!=t&&!e.isFunction(n)&&this.data("dotdotdot")?this.trigger("update",[n]):g.apply(this,arguments)};var m=e.fn.text;e.fn.text=function(n){return n!=t&&!e.isFunction(n)&&this.data("dotdotdot")?(n=e("<div />").text(n).html(),this.trigger("update",[n])):m.apply(this,arguments)}}}(r)}),define("jquery.placeholder",[],function(e,t,n){var r=e("jquery");!function(e){function t(t){var n={},r=/^jQuery\d+$/;return e.each(t.attributes,function(e,t){t.specified&&!r.test(t.name)&&(n[t.name]=t.value)}),n}function n(t,n){var r=this,o=e(this);if(r.value===o.attr(s?"placeholder-x":"placeholder")&&o.hasClass(f.customClass))if(r.value="",o.removeClass(f.customClass),o.data("placeholder-password")){if(o=o.hide().nextAll('input[type="password"]:first').show().attr("id",o.removeAttr("id").data("placeholder-id")),t===!0)return o[0].value=n,n;o.focus()}else r==i()&&r.select()}function r(r){var i,o=this,a=e(this),l=o.id;if(!r||"blur"!==r.type||!a.hasClass(f.customClass))if(""===o.value){if("password"===o.type){if(!a.data("placeholder-textinput")){try{i=a.clone().prop({type:"text"})}catch(u){i=e("<input>").attr(e.extend(t(this),{type:"text"}))}i.removeAttr("name").data({"placeholder-enabled":!0,"placeholder-password":a,"placeholder-id":l}).bind("focus.placeholder",n),a.data({"placeholder-textinput":i,"placeholder-id":l}).before(i)}o.value="",a=a.removeAttr("id").hide().prevAll('input[type="text"]:first').attr("id",a.data("placeholder-id")).show()}else{var c=a.data("placeholder-password");c&&(c[0].value="",a.attr("id",a.data("placeholder-id")).show().nextAll('input[type="password"]:last').hide().removeAttr("id"))}a.addClass(f.customClass),a[0].value=a.attr(s?"placeholder-x":"placeholder")}else a.removeClass(f.customClass)}function i(){try{return document.activeElement}catch(e){}}var o,a,s=!1,l="[object OperaMini]"===Object.prototype.toString.call(window.operamini),u="placeholder"in document.createElement("input")&&!l&&!s,c="placeholder"in document.createElement("textarea")&&!l&&!s,p=e.valHooks,h=e.propHooks,f={};u&&c?(a=e.fn.placeholder=function(){return this},a.input=!0,a.textarea=!0):(a=e.fn.placeholder=function(t){var i={customClass:"placeholder"};return f=e.extend({},i,t),this.filter((u?"textarea":":input")+"["+(s?"placeholder-x":"placeholder")+"]").not("."+f.customClass).not(":radio, :checkbox, :hidden").bind({"focus.placeholder":n,"blur.placeholder":r}).data("placeholder-enabled",!0).trigger("blur.placeholder")},a.input=u,a.textarea=c,o={get:function(t){var n=e(t),r=n.data("placeholder-password");return r?r[0].value:n.data("placeholder-enabled")&&n.hasClass(f.customClass)?"":t.value},set:function(t,o){var a,s,l=e(t);return""!==o&&(a=l.data("placeholder-textinput"),s=l.data("placeholder-password"),a?(n.call(a[0],!0,o)||(t.value=o),a[0].value=o):s&&(n.call(t,!0,o)||(s[0].value=o),t.value=o)),l.data("placeholder-enabled")?(""===o?(t.value=o,t!=i()&&r.call(t)):(l.hasClass(f.customClass)&&n.call(t),t.value=o),l):(t.value=o,l)}},u||(p.input=o,h.value=o),c||(p.textarea=o,h.value=o),e(function(){e(document).delegate("form","submit.placeholder",function(){var t=e("."+f.customClass,this).each(function(){n.call(this,!0,"")});setTimeout(function(){t.each(r)},10)})}),e(window).bind("beforeunload.placeholder",function(){var t=!0;try{"javascript:void(0)"===document.activeElement.toString()&&(t=!1)}catch(n){}t&&e("."+f.customClass).each(function(){this.value=""})}))}(r)}); \ No newline at end of file diff --git a/web-static/dist/yohobuy/0.0.6/index-debug.js b/web-static/dist/yohobuy/0.0.6/index-debug.js index 9195935..6723609 100644 --- a/web-static/dist/yohobuy/0.0.6/index-debug.js +++ b/web-static/dist/yohobuy/0.0.6/index-debug.js @@ -1,7691 +1,7735 @@ define("index", ["jquery","handlebars","source-map","index","lazyload","dot","jquery.placeholder"], function(require, exports, module){ -var webYohobuy; - -require("js/common"); -require("js/header"); -require("js/simple-header"); -require("js/product/entry"); -require("js/home/entry"); -require("js/brand/index"); -require("js/passport/entry"); - -//订单确认 -require("js/order/ensure"); - -module.exports = webYohobuy; +var webYohobuy; + +require("js/common"); +require("js/header"); +require("js/simple-header"); +require("js/product/entry"); +require("js/index/index"); +require("js/brand/index"); +require("js/passport/entry"); + +//订单确认 +require("js/order/ensure"); + +module.exports = webYohobuy; }); define("js/common", ["jquery"], function(require, exports, module){ -/** - * 页面公共逻辑和接口 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/11/23 - */ -var $ = require("jquery"); - +/** + * 页面公共逻辑和接口 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/23 + */ +var $ = require("jquery"); + + +var $body = $('body'); + +require("js/footer"); + +function cookie(name) { + var re = new RegExp(name + '=([^;$]*)', 'i'), + matchPattern = '$1'; + + return re.test(decodeURIComponent(document.cookie)) ? RegExp[matchPattern] : ''; +} + +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; +} + +//YAS统计代码 +(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.14/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.14', 'yohobuy_web', uid, '', ''); + } +}()); + +//window.resize在width<1180时适配成990 +$(window).on('resize', function() { + var w = $(this).width(); + + //return top + if (w < 1360) { + $('.return-top').addClass('min'); + } else { + $('.return-top').removeClass('min'); + } + + //body + if (w < 1180) { + $body.addClass('min-screen'); + } else { + $body.removeClass('min-screen'); + } +}).trigger('resize'); + +function queryString() { + var vars = {}, + hash, + i, + search = window.location.search, + hashes = search ? decodeURIComponent(search).slice(1).split('&') : []; + + for (i = 0; i < hashes.length; i++) { + hash = hashes[i].split('='); + vars[hash[0]] = hash[1]; + } + return vars; +} + +window.cookie = cookie; + +window.setCookie = setCookie; + +window.getUser = getUser; + +window.getUid = getUid; + +window.getShoppingKey = getShoppingKey; + +window.queryString = queryString; -var $body = $('body'); - -require("js/footer"); +}); +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'); + +/** + * 订阅 + * @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 iconCode = { + mail: '', + tick: '' + }; + + $subscriberBox.focus(function() { + $(this).val('').css('color', ''); + $subscriberBtn.removeClass('done').html(iconCode.mail); + }); + + $subscriberBtn.click(function() { + var email = $.trim($subscriberBox.val()); + + if (email !== '' && emailReg.test(email)) { + try { + $.ajax({ + url: 'http://new.yohobuy.com/common/emailsubscriber', + dataType: 'jsonp', + data: { + email: email, + tmp: Math.random(), + uid: window.getUid() + }, + success: 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(), + _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()); + }); + + $.ajax({ + url: 'http://new.yohobuy.com/common/suggestfeedback', + dataType: 'jsonp', + data: { + feedback_id: _feedback || 0, + question_id: _question || 0, + answer: _answer || '', + solution: _solution.join(',') + }, + success: function(data) { + var next = index + 1; + + if (~~data.data.result === 1) { + if (index === count - 1) { + alert('感谢您的参与!'); + return; + } + + $li.addClass('hide'); + + $vote.children(':eq(' + (index + 1) + ')').removeClass('hide'); + $feedBackPage.children('.cur').removeClass('cur'); + $feedBackPage.children(':eq(' + next + ')').addClass('cur'); + } + } + }); + }); +} + +function rePosReturn() { + if ($(window).height() > $(document).height()) { + $returnTop.addClass('hide'); + } + + // 只在窗口高度大于文档高度的时候,隐藏返回顶部 + // else { + // $returnTop.removeClass('hide'); + // } +} + +//返回顶部 +$returnTop.click(function() { + $('html,body').animate({ + scrollTop: 0 + }, 500); +}); + +$(window).scroll(function() { + if ($(window).scrollTop() === 0) { + $returnTop.addClass('hide'); + } else { + $returnTop.removeClass('hide'); + } +}); + +//如果初始是隐藏的,监听图片加载,重新确定return-top的高度 +if ($returnTop.hasClass('hide')) { + $('img').load(rePosReturn); +} + +//初始化 +actionSubscription(); +actionhomeFootChange(); + +//暴露给有可能通AJAX改变内容的页面去用 +window.rePosReturnTop = rePosReturn; -function cookie(name) { - var re = new RegExp(name + '=([^;$]*)', 'i'), - matchPattern = '$1'; +}); +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 vipInfoCombine = null; //用户信息编译模板 +var loginInfoCombine = null; //登录信息编译模板 +var apiDomain = $('#api-domain').val(); //获取数据的地址 +var cartTpl = ''; //购物车模板 +/** + * 搜寻的时候过滤非法字符(+-/:等非法字符单独出现) + * @type {RegExp} + */ +var reg = /^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/]{0,}$/g; +var keyword = ''; +var link = ''; +var dataLayer = []; +var requestFrame = null; +var logoanimationstart = 0; +var $logotrans = $('.icon-logo'); +var isen = true; +var loopdurationtime = 500; +var globaltimeout; +var onetimeoout; +/** + * banner和地址的映射 + * @type {Object} + */ +var 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' +}; +var cookieMap = {}; + +var bannerApi = 'http://new.yohobuy.com/common/getbanner?content_code='; + +$('#api-domain').remove(); //删除信息表单 + +function getSource(column, postition, event) { + try { + dataLayer.push({ + louceng: column, + weizhi: postition, + event: event + }); + } catch (e) {} +} + + +window.submitSearch = function() { + var $keywordinput = $('#query_key').val(); + var $defaultsearch = $('#defaultsearch').val(); + var column = 'Search'; + var postition = 'Head Search'; + var event = 'Search'; + var $formatkeyword, + $formatkeywordinput; + + $formatkeyword = $.trim(keyword.toLowerCase()); + $formatkeywordinput = $.trim($keywordinput.toLowerCase()); + getSource(column, postition, event); + if (link !== '' && keyword !== '' && $formatkeyword === $formatkeywordinput) { + location.href = link.replace('\'', ''); + } else { + if (reg.test($keywordinput) && $keywordinput !== '') { + location.href = 'http://search.yohobuy.com/error?query=' + $keywordinput + '&result=error'; + } else { + if ($keywordinput === '') { + $('#query_key').val($defaultsearch); + } + $('#searchForm').submit(); + return false; + } + } +}; +/** + * 增加关键字 + * @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(''); + }); + } +} +/** + * 定义购物车扩展 + */ + +function actionGoodsCart() { + var defaults = { + cookie: '_g', + cartNum: '' + }; + var params = ''; + var cartInfo = ''; + var queryNum = 0; + var listIndex = 0; + var tmpList = 0; + var totalNum = 0; + var text = ''; + + $.fn.miniCart = function(options) { + params = $.extend(defaults, options); + if (typeof window.cookie(params.cookie) === 'undefined') { + cartInfo = null; + } else { + if (params.cookie) { + try { + cartInfo = json2.parse(window.cookie(params.cookie)); + } catch (e) { + + } + + } + + } + if (cartInfo !== null && cartInfo !== '') { + 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) { + + 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 + '?query=' + key, function(htmlData) { + $('.search-list').html(htmlData.data); + queryNum = $('.search-list').children('li').length; + listIndex = -1; + if (queryNum > 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(' + tmpList + ')').children('a').css('background-color', '#fff'); + $('.search-list li:eq(' + listIndex + ')').children('a').css('background-color', '#eee'); + text = $('.search-list li:eq(' + listIndex + ')').children('a').attr('title'); + $('#query_key').val(text); + } + return this.each(function() { + $(this).keyup(function(event) { + if (event.which === 38) { + if (queryNum === 0) { + return false; + } + if (listIndex === -1) { + listIndex = 0; + } + tmpList = listIndex; + listIndex = (listIndex - 1 + queryNum) % queryNum; + getText(this); + } else if (event.which === 40) { + if (queryNum === 0) { + return false; + } + tmpList = listIndex; + listIndex = (listIndex + 1) % queryNum; + getText(this); + } else if (event.which === 13) { + window.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() + }; + var params = ''; + + if (typeof (domain) === undefined || domain === '') { + return false; + } + params = $.extend(defaults, options); + params.page = params.page || 1; + if (params.method === '') { + return false; + } + try { + $.getJSON(domain + '/?callback=?', params, function(_data) { + if (onSuccess !== '') { + if (typeof onSuccess(_data.data) !== 'undefined') { + json2.parse(onSuccess(_data.data)); + } + return false; + } + }); + } catch (e) { + console.log(e.message); + } + }, + getShoppingKey: function() { + var shoppingInfo = window.cookie('_g'); + var shoppingData = json2.parse(shoppingInfo); + + if (typeof shoppingInfo === 'undefined' || shoppingInfo === null) { + return ''; + } + return shoppingData._k; + } + }); +} + +/** + * 时间戳 + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ +handlebars.registerHelper('timestamp', function() { + return new Date().getTime(); +}); +/** + * 头像 + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ +handlebars.registerHelper('headerimg', function(headerimg) { + + if (headerimg === '') { + return 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif' + + '?imageView/2/w/100/h/100'; + } else { + return headerimg; + } + +}); +/** + * 判断等级为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); + } +}); + +/** + * 获取头部banner的回调函数 + * @param {[type]} data [description] + */ +function JsonPCallBack(data) { + var topbanner; + + if (+data.code === 200) { + if (typeof data.data === 'object') { + if (data.data.url !== '') { + topbanner = '<a target="_blank" href="' + data.data.url + '" class="page-top-banner"' + + 'style="height:36px;border:none;background-image:url(' + window.unescape(data.data.src) + ');' + + 'background-position: center;display:block;"> </a>'; + } else { + topbanner = '<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>'; + } + $('body').prepend(topbanner); + } + } +} + +window.JsonPCallBack = JsonPCallBack; + + +/** + * 获得banner数据 + * @param {[string]} code [banner对应的编码] + * @return {[type]} [description] + */ +function getBannerData(code) { + var script = document.createElement('script'); + + script.src = bannerApi + code + '&client_type=web&callback=JsonPCallBack'; + document.getElementsByTagName('head')[0].appendChild(script); +} + +/** + * 显示和隐藏 + * @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 requestFrameAct() { + 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) { + requestAnimationFrame(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); + }; +} + + +/** + * css3动画 + * @return {[type]} [description] + */ + +function tsAnimate() { + logoanimationstart += 10; + $logotrans.css({ + transform: 'rotateX(' + logoanimationstart + 'deg)', + '-webkit-transform': 'rotateX(' + logoanimationstart + 'deg)', + '-moz-transform': 'rotateX(' + logoanimationstart + 'deg)' + }); + if (logoanimationstart / 90 % 2 === 1) { + if (isen) { + $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo1.png)'); + isen = false; + } else { + $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); + isen = true; + } + } + if (logoanimationstart / 90 % 2 === 0 && logoanimationstart % 360 !== 0) { + window.setTimeout(tsAnimate, 3000); + } else { + if (logoanimationstart % 360 === 0) { + window.setTimeout(tsAnimate, 1 * 60 * 1000); + } else { + requestFrame(function() { + tsAnimate(); + }); + } + } +} + +/** + * 淡出 + * @return {[type]} [description] + */ +function fadeAnimate() { + if (globaltimeout) { + window.clearTimeout(globaltimeout); + } + $logotrans.fadeOut(loopdurationtime, function() { + isen = false; + + $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo.png)'); + $logotrans.fadeIn(loopdurationtime, function() { + onetimeoout = window.setTimeout(function() { + $logotrans.fadeOut(loopdurationtime, function() { + window.clearTimeout(onetimeoout); + isen = true; + $logotrans.css('background-image', + 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); + $logotrans.fadeIn(loopdurationtime, function() { + globaltimeout = window.setTimeout(fadeAnimate, 1 * 60 * 1000); + }); + }); + }, 3000); + }); + }); +} +/** + * 执行头部logo动画 + * @return {[type]} [description] + */ +function actionTopLogoAnimate() { + if (isSupportCss3Animation()) { + requestFrame = requestFrameAct(); + window.setTimeout(tsAnimate, 3000); + } else { + window.setTimeout(fadeAnimate, 3000); + } +} +window.newArr = []; +window.wrapperindex = 0; +window.gindex = 0; +window.targetArr1 = []; +window.targetArr2 = []; +window.targetArr3 = []; +window.oh1 = 0; +window.oh2 = 0; +window.oh3 = 0; +window.valueIndex = 0; +window.nowIndex = 0; +window.inner1 = ''; +window.inner2 = ''; +window.inner3 = ''; +window.finalresult = ''; + +function createNewArray(obj) { + var $thirdnavpanel = $(obj); + + $thirdnavpanel.find('.thirdnavbar').each(function() { + var $that = $(this); + var $alink = $that.find('a'); + var _href = $alink.attr('href'); + var hottag = $alink.attr('hot') === 'hot' ? true : false; + var objt = {}; + + if ($that.hasClass('category-title')) { + objt = { + type: 'title', + height: 49, + content: $that.text(), + index: window.valueIndex, + href: _href, + hot: false + }; + } else { + objt = { + type: 'catlist', + height: 36, + content: $alink.text(), + index: window.valueIndex, + href: _href, + hot: hottag + }; + } + window.valueIndex++; + window.newArr.push(objt); + }); +} + +function createWrapper() { + var arrlength = window.newArr.length; + var i = 0; + var objnew = []; + var aobj = []; + var bobj = []; + var cobj = []; + var final1 = '', + final2 = '', + final3 = ''; + var a = 0; + var b = 0; + var c = 0; + + for (i; i < arrlength; i++) { + objnew = window.newArr[i]; + if (window.gindex === 0) { + window.oh1 = (window.oh1 + objnew.height); + if (window.oh1 >= 340 && i !== (arrlength - 1)) { + window.targetArr1 = window.newArr.slice(0, objnew.index + 1); + window.nowIndex = objnew.index + 1; + window.gindex++; + } + if (i === (arrlength - 1)) { + window.targetArr1 = window.newArr.slice(0, arrlength + 1); + break; + } + } + if (window.gindex === 1) { + window.oh2 = (window.oh2 + objnew.height); + if (window.oh2 >= 340 && i !== (arrlength - 1)) { + window.targetArr2 = window.newArr.slice(window.nowIndex, objnew.index + 1); + window.nowIndex = objnew.index + 1; + window.gindex++; + } + if (i === (arrlength - 1)) { + window.targetArr2 = window.newArr.slice(window.nowIndex, arrlength + 1); + break; + } + } + if (window.gindex === 2) { + window.oh3 = (window.oh3 + objnew.height); + if (window.oh3 >= 340 && i !== (arrlength - 1)) { + window.targetArr3 = window.newArr.slice(window.nowIndex, objnew.index + 1); + window.nowIndex = objnew.index + 1; + window.gindex++; + break; + } + if (i === (arrlength - 1)) { + window.targetArr3 = window.newArr.slice(window.nowIndex, arrlength + 1); + break; + } + } + } + for (a; a < window.targetArr1.length; a++) { + aobj = window.targetArr1[a] || {}; + if (aobj.type === 'title') { + window.inner1 = window.inner1 + + '<li class="cattitle"><h3><a href="' + + aobj.href + + '">' + + aobj.content + + '</a></h3></li>'; + } else { + if (aobj.hot === true) { + window.inner1 = window.inner1 + + '<li class="catdetail"><a class="thirdcatelink hot" href="' + + aobj.href + + '">' + + aobj.content + + '</a></li>'; + } else { + window.inner1 = window.inner1 + + '<li class="catdetail"><a class="thirdcatelink" href="' + + aobj.href + '">' + + aobj.content + + '</a></li>'; + } + + } + } + for (b; b < window.targetArr2.length; b++) { + bobj = window.targetArr2[b] || {}; + if (bobj.type === 'title') { + window.inner2 = (window.inner2 + + '<li class="cattitle"><h3><a href="' + + bobj.href + '">' + + bobj.content + + '</a></h3></li>'); + } else { + if (bobj.hot === true) { + window.inner2 = (window.inner2 + + '<li class="catdetail"><a class="thirdcatelink hot" href="' + + bobj.href + '">' + bobj.content + '</a></li>'); + } else { + window.inner2 = (window.inner2 + + '<li class="catdetail"><a class="thirdcatelink" href="' + + bobj.href + '">' + bobj.content + '</a></li>'); + } + + } + } + for (c; c < window.targetArr3.length; c++) { + cobj = window.targetArr3[c] || {}; + if (cobj.type === 'title') { + window.inner3 = (window.inner3 + + '<li class="cattitle"><h3><a href="' + + cobj.href + + '">' + + cobj.content + + '</a></h3></li>'); + } else { + if (cobj.hot === true) { + window.inner3 = (window.inner3 + + '<li class="catdetail"><a class="thirdcatelink hot" href="' + + cobj.href + '">' + + cobj.content + + '</a></li>'); + } else { + window.inner3 = (window.inner3 + + '<li class="catdetail"><a class="thirdcatelink" href="' + + cobj.href + '">' + + cobj.content + + '</a></li>'); + } + + } + } + if (window.inner1 !== '') { + final1 = '<ul class="cate_row1 cate_row">' + + window.inner1 + + '</ul>'; + } + if (window.inner2 !== '') { + final2 = '<ul class="cate_row2 cate_row">' + + window.inner2 + + '</ul>'; + } + if (window.inner3 !== '') { + final3 = '<ul class="cate_row3 cate_row">' + + window.inner3 + + '</ul>'; + } + window.finalresult = final1 + final2 + final3; + $('#' + window.wrapperindex).empty().append(window.finalresult); +} + +function actionNav() { + $('.categorywrapper').each(function(index) { + window.wrapperindex = $(this).attr('id'); + window.newArr = []; + window.gindex = 0; + window.targetArr1 = []; + window.targetArr2 = []; + window.targetArr3 = []; + window.oh1 = 0; + window.oh2 = 0; + window.oh3 = 0; + window.valueIndex = 0; + window.nowIndex = 0; + window.inner1 = ''; + window.inner2 = ''; + window.inner3 = ''; + createNewArray($(this).find('.category')); + createWrapper(); + }); +} + +/** + * 获取三级导航的tip图标 + * @return {[type]} [description] + */ +function actionTipPic() { + var tipscode = {}; + var $contentcode = ''; + var $img = ''; + var $title = ''; + var $link = ''; + var logolink = ''; + + $(document).on('mouseenter', '.sub-nav-item', function() { + $contentcode = $(this).find('.showdetail').attr('data-code'); + if ($contentcode) { + if (!tipscode[$contentcode]) { + tipscode[$contentcode] = $contentcode; + $img = $(this).find('.showdetail').find('img'); + $title = $(this).find('.showdetail').find('.title'); + $link = $(this).find('.showdetail').find('a'); + $.get(bannerApi + $contentcode + '&width=337&height=250&client_type=web', function(rsdata) { + $img.attr('src', rsdata.data.src); + $link.attr('href', rsdata.data.url); + $title.text(rsdata.data.title); + }, 'jsonp'); + } + } + }); + logolink = $('.cure').find('.name-cn').find('a').attr('href'); + $('.main-link').attr('href', logolink); +} + + + +function closeCover() { + var $cover = $('#cover'); + + $cover.remove(); +} +/** + * 首次进入有弹窗 + * @return {[type]} [description] + */ +function actionCover() { + var gender = window.cookie('_Gender'); + var newMask = ''; + var windowheight = ''; + var selfheight = ''; + var containertop; + var length = ''; + + if (window.location.href === 'http://www.yohobuy.com/' && + (typeof gender === 'undefined' || gender === '' || gender === null)) { + $.get('http://www.yohobuy.com/index/guide', function(data) { + newMask = document.createElement('div'); + newMask.id = 'cover'; + newMask.innerHTML = data; + document.body.appendChild(newMask); + windowheight = $(window).height(); + selfheight = $('.guide-box').height(); + containertop = windowheight / 2 - selfheight / 2; + length = $('.guide-box .clear').find('li').length; + $('.guide-box').css({ + width: (200 * length) + 'px', + top: containertop + 'px' + }); + $('#cover').bind('click', function(event) { + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + closeCover(); + }); + $('#cover .guide-box .close').bind('click', function(event) { + getSource('弹窗', 'CLOSE', 'homepage_man'); + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + closeCover(); + }); + $('.boys img , .boys .go').bind('click', function(event) { + getSource('弹窗', 'BOYS', 'homepage_man'); + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + closeCover(); + }); + $('.girls img, .girls .go').bind('click', function(event) { + getSource('弹窗', 'GIRLS', 'homepage_woman'); + window.setCookie('_Gender', '2,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'girls', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + }); + $('.lifestyle img, .lifestyle .go').bind('click', function(event) { + window.setCookie('_Channel', 'lifestyle', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + getSource('弹窗', 'LIEFSTYLE', 'homepage_lifestyle'); + }); + $('#cover .guide-box').bind('click', function(event) { + event.stopPropagation(); + }); + }); + } +} +/** + * 查询跳转后保留关键字 + * @return {[type]} [description] + */ +function actionAddKeyWords() { + var $keywords = $('#nav_keyword').text(); + var defaultsearch = $('#defaultsearch').val(); + 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(''); + }); + } +} + + +/** + * cookie 初始化 + * @return {[type]} [description] + */ +function actionInitCookie() { + var $cookieGender = window.cookie('_Gender'); + var $target = $('.cure'); + + if (typeof $cookieGender !== 'undefined' && $cookieGender !== '') { + window.setCookie('_Gender', 1, { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '男生') { + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '女生') { + window.setCookie('_Gender', '2,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + + // window.setCookie('_Channel', 'girls', { + // path: '/', + // domain: '.yohobuy.com', + // expires: 7 + // }); + } + if ($target.find('.name-cn a').text() === '创意生活') { + window.setCookie('_Channel', 'lifestyle', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '潮童') { + window.setCookie('_Channel', 'kids', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } +} +/** + * 提前设置好频道的cookie + */ +function setChannelCookie() { + $('.first-nav-item').click(function() { + var _cookieGender = window.cookie('_Gender'); + + if (typeof _cookieGender !== 'undefined' && _cookieGender !== '') { + window.setCookie('_Gender', 1, { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($(this).find('.name-cn a').text() === '男生') { + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($(this).find('.name-cn a').text() === '女生') { + window.setCookie('_Gender', '2,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + window.setCookie('_Channel', 'girls', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($(this).find('.name-cn a').text() === '创意生活') { + window.setCookie('_Channel', 'lifestyle', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($(this).find('.name-cn a').text() === '潮童') { + window.setCookie('_Channel', 'kids', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + }); + +} +/** + * cookie集合 + * @type {Object} + */ +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('='); + if (typeof temparr[0] !== 'undefined') { + key = temparr[0].replace(/\s/g, ''); + cookieMap[key] = temparr[1]; + } + } +} + + +/** + * 购物车商品数量 + * @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 (cartTpl === '') { + cartTpl = handlebars.compile($('#mini-cart-tpl').html()); + } + $('#miniCartBox').children('.gobuy-wrapper').html(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 = window.cookie('_g'); + shoppingData = json2.parse(shoppingInfo); + if (shoppingData !== null) { + strK = '{"_k":"' + shoppingData._k + '","_nac":0' + ',"_ac":0,"_r":0}'; + window.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 = window.cookie('_g'); + var shoppingData = json2.parse(shoppingInfo); + var strK = '{"_k":"' + shoppingData._k + '","_nac":' + jsonData.total_goods_num + ',"_ac":0,"_r":0}'; + + window.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 = bannerMap['search' + cookieMap._Channel]; + } + if (url.indexOf('list') !== -1) { + code = bannerMap['list' + cookieMap._Channel]; + } + if (url.indexOf('brands') !== -1) { + code = bannerMap['brands' + cookieMap._Channel]; + } + if (url.indexOf('new') !== -1) { + code = bannerMap['new' + cookieMap._Channel]; + } + if (url.indexOf('sale') !== -1) { + code = bannerMap['sale' + cookieMap._Channel]; + } + if (url.indexOf('home') !== -1) { + code = bannerMap['home' + cookieMap._Channel]; + } + if (url.indexOf('kids') !== -1) { + code = bannerMap[INDEXKIDS]; + } + if (url.indexOf('woman') !== -1 || url.indexOf('girls') !== -1) { + code = bannerMap[INDEXWOMAN]; + } + if (url.indexOf('lifestyle') !== -1) { + code = bannerMap[INDEXLIFESTYLE]; + } + if (url.indexOf('www.yohobuy.com') !== -1 && window.location.pathname === '/') { + code = bannerMap[INDEXBOYS]; + } + firstarea = host.split('.')[0]; + if (firstarea !== 'list' && firstarea !== 'search' && firstarea !== 'www' && + firstarea !== 'new' && firstarea !== 'item' && firstarea !== 'guang') { + code = bannerMap[UNIQUEBRAND + cookieMap._Channel]; + } + + getBannerData(code); //获得banner信息 + +} + +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 $goodcartempwarpper = $('#goodcartempwarpper'); + var resulthtml = ''; + + if ($goodcartempwarpper) { + if ($goodcartempwarpper.html()) { + 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> ' + + '{{#if islogin}}' + + '[<a href="{{logout}}" class="list-a login-out">退出</a>]' + + '{{/if}}{{#unless islogin}}' + + '[<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>]' + + '{{/unless}}'; + var $boxObj = $('#loginBox'); + var info = window.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 = 'http://www.yohobuy.com/logout_'; + var islogin = '1'; + var _num = 0; + var data = { + user_name: name, + logout: _logout + _data.data.token + '.html', + 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; + } + if (vipInfo.vip.curVipInfo.curLevel === '3') { + vipInfo.vip3 = true; + } + + $('#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) { + if (_data.result !== -1) { + actionLoginState(_data); // 更改登录状态 + actionVipInfo(_data); //获得vip; + } + }); +} +/** + * 初始化函数 + * @return {[type]} [description] + */ +function init() { + actionNav(); //处理导航 + actionTipPic(); //鼠标移入后查询 + actionExeTemplate(); //处理模板 + actionCover(); //初次登录弹框 + actionInitCookie(); //初始化cookie + setChannelCookie(); //设置频道缓存 + actionExeCookieMap(); //格式化cookie + actionGoodsCart(); //初始化购物车插件 + actionYoHoGroup(); // yoho集团鼠标效果 + actionTopTagToggle(); // yoho上部分开关 + actionTopLogoAnimate(); //yoho logo动画 + actionGetBannerAndNotice(); // 获取banner和服务器维护提示 + actionBrandChange(); //切换品牌 + actionAddKeyWords(); //跳转后增加关键字 + actionGoodsCarMouseEffect(); //鼠标滑入滑出效果 + actionUpdateCartNum(); //更新购物车数量 + actionLoopUpdCartNum(); //循环检测购物车数量 + actionSearch(); //搜索执行 + actionClickMiniCartBox(); //点击购物车跳转 + actionListenDelCarGoods(); //监听购物车删除 + actionListenCartMore(); // + actionLoginInfo(); //获取登录信息 + actionAddKeyWords(); //增加关键字 +} +init(); +}); +define("js/simple-header", ["jquery"], function(require, exports, module){ +var $ = require("jquery"); - return re.test(decodeURIComponent(document.cookie)) ? RegExp[matchPattern] : ''; +if ($('.simple-header').size() > 0) { + $('.tool-options').on('mouseenter', function() { + $(this).find('.tool-select').fadeIn(); + }).on('mouseleave', function() { + $(this).find('.tool-select').fadeOut(); + }); } -function setCookie(name, value, options) { - var expires = '', - path, - domain, - secure, - date; - - if (typeof value !== 'undefined') { - options = options || {}; - if (value === null) { - value = ''; - options.expires = -1; - } +/** + * 格式化用户名 + * @return {[type]} [description] + */ +function formatUsernName(userName) { + var name, + char, + _num = 0, + _length = 0, + t; - 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; + for (t = 0; 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; + name = ''; + for (t = 0; 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; } - 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(''); + if (name.length < userName.length) { + name += '...'; + } } + return name; } -function getUser() { - var c = cookie('_UID'), - user; - - if (typeof c === 'undefined') { - return 0; - } - - user = c.split('::'); +/** + * 设置简单头部登陆状态 + * @return {[type]} [description] + */ +function setLoginStatus(_data) { + var loginHtml, + name; - if (typeof user === 'undefined' || user.length < 4) { - return 0; + if (_data && _data.href && _data.href.user) { + name = formatUsernName(_data.href.user); + loginHtml = '<span>Hi~</span><a href="">' + + name + '</a> <a href="' + _data.href.logout + '">[退出]</a>'; + } else { + name = formatUsernName(_data.user); + loginHtml = '<span>Hi~</span><a href="">' + + name + '</a> <a href="http://www.yohobuy.com/signin.html">[请登录]</a>' + + '<a href="http://www.yohobuy.com/reg.html">[免费注册]</a>'; } - - return user; + $('.header-tool li').eq(0).html(loginHtml); } -function getUid() { - var user = getUser(); - - if (user === 0) { - return 0; - } - - return user[1]; +/** + * 获取登录信息 + * @return {[type]} [description] + */ +function actionLoginInfo() { + $.ajax({ + type: 'GET', + url: '/common/getSimpleHeader', + data: {}, + success: function(data) { + if (data.code === 200) { + setLoginStatus(data.data); + } + } + }); } -function getShoppingKey() { - var c = cookie('_g'); - - if (typeof c === 'undefined') { - return ''; - } - - return JSON.parse(c).k; +/** + * 初始化函数 + * @return {[type]} [description] + */ +function init() { + actionLoginInfo(); //获取登录信息 } +init(); -//YAS统计代码 -(function(w, d, s, j, f) { - var a = d.createElement(s); - var m = d.getElementsByTagName(s)[0]; - w.YohoAcquisitionObject = f; +}); +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/brand"); + +require("js/product/hotrank"); - w[f] = function() { - w[f].p = arguments; - }; +}); +define("js/product/list", ["jquery","handlebars","source-map","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/latest-walk"); + +require("js/product/product"); +}); +define("js/product/filter", ["jquery","handlebars","source-map"], function(require, exports, module){ +/** + * 商品筛选逻辑 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/4 + */ + +var $ = require("jquery"), + Handlebars = require("handlebars"); + +var checkUnicode = { + unchecked: '', + checked: '' +}, +moreUnicode = { + up: '', + down: '' +}; + +//品牌相关变量 +var $brandDefault = $('.brand .default'), + $brandPanel = $('.brand .brand-panel'), + $brandAttrs = $brandPanel.find('.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; + +// 尺寸 handlebars 模板 +var sizeTmpl = '{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a>{{/ size}}', + sizeCache = {}, // 缓存一下尺寸信息 + $sizeWrap = $('.filter-box .size'); + +sizeTmpl = Handlebars.compile(sizeTmpl); + +//清除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 qs = window.queryString(), + newHref; + + qs[attr] = val; + newHref = '?' + decodeURIComponent($.param(qs)); + 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(), + id = $this.data('id'); + + if ($this.hasClass('active')) { + + // 选中时,再次点击取消选中 + $this.removeClass('active'); + $sortSub.children(':eq(' + index + ')').addClass('hide'); + $sizeWrap.addClass('hide'); + return; + } + + $this.siblings('.active').removeClass('active'); + $this.addClass('active'); + + $sortSub.children(':not(.hide)').addClass('hide'); + $sortSub.children(':eq(' + index + ')').removeClass('hide'); + + if (!$sizeWrap.data('load')) { + if (sizeCache[id]) { + $sizeWrap.find('.attr-content').html(sizeCache[id]); + $sizeWrap.removeClass('hide'); + } else { + $.ajax({ + url: '/product/search/sortSize', + data: { + msort: id + } + }).then(function(res) { + if ($.type(res) === 'array' && res.length) { + sizeCache[id] = sizeTmpl({ + size: res + }); + $sizeWrap.find('.attr-content').html(sizeCache[id]); + $sizeWrap.removeClass('hide'); + } else { + $sizeWrap.addClass('hide'); + } + }); + } + } +}); + +//【品牌】 +if ($brandMore.length > 0) { + $brandMoreTxt = $brandMore.children('em'); + $brandMoreIcon = $brandMore.children('.iconfont'); +} + +//【品牌】多选 +$brandMulti.click(function() { + if ($brandPanel.css('display') === 'none') { + + //显示品牌面板 + $brandMore.trigger('click'); + } + + brandShowMore(); + $brandPanel.removeClass('hide').addClass('multi'); //显示出checkbox + $(this).addClass('hide'); + + //隐藏更多按钮 + $brandMore.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('mouseenter', 'span', function() { + var $this = $(this), + index = $this.data('index'); + + if ($this.hasClass('hover')) { + return; + } + + $this.siblings('span.hover').removeClass('hover'); + $this.addClass('hover'); + + 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() { + val.push($(this).data('id')); + }); + + uriLoc('brand', val.join(',')); +}); + +//【品牌/高级选项】多选取消 +$('.multi-select-cancel').click(function() { + var $panel = $(this).closest('.multi'); + + if ($panel.hasClass('brand-panel')) { + + $brandMulti.removeClass('hide'); //显示多选按钮 + $brandMore.trigger('click'); + + //显示出更多按钮 + $brandMore.removeClass('hide'); + } + + $panel.addClass('hide').removeClass('multi'); + brandHideMore(); + clearChecked($panel.find('.checkbox.checked')); //清除选中状态 +}); + +//【品牌/高级选项】checkbox +$('.check-container').on('click', '.attr', function() { + var $this = $(this), + $check = $this.find('.checkbox'), + $btnOk = $this.closest('.brand-panel, .senior-sub').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(); + } +}); + +// 已选中的条件,点击不刷新 +$('.filter-box').on('click', 'li.checked, a.checked', function(e) { + 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 thisPrice = $.trim($(this).val()), + isPriInt = interReg.test(thisPrice), + intPrice, + min, + max; + + if (!isPriInt) { + intPrice = parseInt(thisPrice, 10); + $(this).val(isNaN(intPrice) ? '' : intPrice); + } + + min = $.trim($min.val()); + max = $.trim($max.val()); + + if (min !== '' || max !== '') { + $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 $this = $(this); + var index = $this.index(); + + if ($this.hasClass('no-sub')) { + return; + } + $this.addClass('hover').siblings().removeClass('hover'); + + $seniorSubWrap.children('.senior-sub:eq(' + index + ')').removeClass('hide').siblings().addClass('hide'); +}).on('mouseleave', '.attr', function() { + var $this = $(this), + index = $this.index(); + + if ($this.hasClass('no-sub')) { + return; + } + + 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('span.checked').each(function() { + val.push($(this).data('id')); + }); + + uriLoc($sub.data('attr'), val.join(',')); +}).on('mouseenter', function() { + clearTimeout(seniorHoverTime); +}).on('mouseleave', function() { + hideSeniorPanel(); +}); - a.async = 1; - a.src = j; - m.parentNode.insertBefore(a, m); -})(window, document, 'script', 'http://cdn.yoho.cn/yas-jssdk/1.0.14/yas.js', '_yas'); +}); +define("js/product/sort-pager", ["jquery"], function(require, exports, module){ +/** + * 筛选页和列表页操作banner中的每页N个商品选择逻辑 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/4 + */ -(function() { - var uid = getUid(); +var $ = require("jquery"); - uid = uid === 0 ? '' : uid; +var $countPerPage = $('#count-per-page'), + $countChose = $countPerPage.next('ul'); - window._ozuid = uid; //暴露ozuid +var SLIDETIME = 200; - if (window._yas) { - window._yas(1 * new Date(), '1.0.14', 'yohobuy_web', uid, '', ''); +$(document).click(function(e) { + if ($(e.target).closest('.page-count').length > 0) { + return; } -}()); - -//window.resize在width<1180时适配成990 -$(window).on('resize', function() { - var w = $(this).width(); - //return top - if (w < 1360) { - $('.return-top').addClass('min'); - } else { - $('.return-top').removeClass('min'); - } + $countChose && $countChose.slideUp(SLIDETIME); +}); - //body - if (w < 1180) { - $body.addClass('min-screen'); +$countPerPage.click(function() { + if ($countChose.css('display') === 'none') { + $countChose.slideDown(SLIDETIME); } else { - $body.removeClass('min-screen'); - } -}).trigger('resize'); - -function queryString() { - var vars = {}, - hash, - i, - search = window.location.search, - hashes = search ? decodeURIComponent(search).slice(1).split('&') : []; - - for (i = 0; i < hashes.length; i++) { - hash = hashes[i].split('='); - vars[hash[0]] = hash[1]; + $countChose.slideUp(SLIDETIME); } - return vars; -} - -window.cookie = cookie; - -window.setCookie = setCookie; - -window.getUser = getUser; - -window.getUid = getUid; - -window.getShoppingKey = getShoppingKey; - -window.queryString = queryString; +}); +}); +define("js/product/latest-walk", ["jquery","handlebars","source-map","lazyload"], function(require, exports, module){ +/** + * 最近浏览取接口渲染模板 + * @author: xuqi<qi.xu@yoho.cn> + 8 @date: 2016/1/20 + */ + +var $ = require("jquery"); +var Handlebars = require("handlebars"); +var lazyLoad = require("lazyload"); + +var $latestWalkCount = $('#latest-walk-count'); + +(function() { + var tpl; + + if ($latestWalkCount.length === 0) { + return; + } + + tpl = Handlebars.compile($('#latest-walk-tpl').html()); + + $.ajax({ + url: 'http://itemapi.yohobuy.com/item/item/recentreview', + dataType: 'jsonp', + data: { + limit: $latestWalkCount.val() + }, + success: function(data) { + var latestWalk = [], + res, i, cur; + + if (data.code === 200) { + res = data.data; + + //若无最近浏览,请隐藏容器 + if (res.length === 0) { + $('.latest-walk').addClass('hide'); + return; + } + for (i = 0; i < res.length; i++) { + cur = res[i]; + + latestWalk.push({ + href: cur.url, + img: cur.pic_url, + name: cur.product_name, + salePrice: cur.price, + marketPrice: cur.market_price + }); + } + + if (latestWalk.length > 0) { + $('#latest-walk-goods').html(tpl({ + latestWalk: latestWalk + })); + + lazyLoad($('#latest-walk-goods .lazy')); + } + } + } + }); +}()); +}); +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, _from) { + 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 target="_blank" href="' + data[i * row + j].url + _from + '">' + + '<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 + }; + } + + function removeHtmlFn() { + $goodInfoMain.html(''); + $goodSelectColor.html(''); + $goodItemWrapper.css({ + display: 'none' + }); + } + + productList.addHandler('MouseEnter', function(event) { + var itemMr = 10, //list的右边距 + itemMb = 35, //list的下边距 + ulStr = '', + ulNum, + wrapperWidth, + diffWidth, + wrapperX, + wrapperY, + wrapperPl, //鼠标移入时弹层的左内边距 + wrapperPt, //鼠标移入时弹层的上内边距 + containerPt, //商品列表容器的上内边距 + _from = event.target.attr('data-from') || ''; + + $.ajax({ + type: 'POST', + url: '/product/list/getProductPic', + dataType: 'jsonp', + jsonp: 'callback', + data: { + skn: event.target.attr('data-skn') + } + }).then(function(res) { + var data = res.data, + colorList = createColorList(data.pics, _from); + + removeHtmlFn(); + + ulStr = colorList.colorListStr; //ajax请求的颜色列表 + ulNum = colorList.ulNum;//ajax请求的颜色的数量 + + $goodInfoMain.append(event.targetDuplicate); + $goodSelectColor.append($(ulStr)); + + if (data.isFavorite) { + $goodInfoMain.find('.col-btn').addClass('coled'); + } else { + $goodInfoMain.find('.col-btn').removeClass('coled'); + } + + 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' + }); + + // 鼠标悬浮获取到商品信息后显示第一张图片 + if (data.pics[0] && data.pics[0].src) { + $goodInfoMain.find('.good-thumb img').attr('src', data.pics[0].src); + } + }); + }); + + $goodItemWrapper.mouseleave(function() { + + removeHtmlFn(); + }); + +}; + +//鼠标放在颜色列表上效果 +$(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); +}); + +$goodInfoMain.on('click', '.col-btn', function() { + var $this = $(this); + + $.ajax({ + type: 'POST', + url: '/product/list/changeFavorite', + dataType: 'jsonp', + data: { + skn: $this.closest('.good-info').data('skn'), + isFavorite: $this.hasClass('coled') + } + }).then(function(res) { + if (res.code === 200) { + $this.toggleClass('coled'); + } else if (res.code === 403) { + location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); + } + }); +}); + +// 左侧导航 +$productListNav.find('h3').click(function(event) { + var $this = $(this).closest('.product-list-nav'); + + 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/footer", ["jquery"], function(require, exports, module){ +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/brand", ["jquery"], function(require, exports, module){ /** - * 尾部 - * @author: wangqing<robin.wang@yoho.cn> - * @date: 2015/12/01 + * 品牌页面 + * @auhtor: bikai<kai.bi@yoho.cn> + * @date: 2016/1/21 */ var $ = require("jquery"); -var $returnTop = $('.return-top'); - -/** - * 订阅 - * @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 iconCode = { - mail: '', - tick: '' - }; - - $subscriberBox.focus(function() { - $(this).val('').css('color', ''); - $subscriberBtn.removeClass('done').html(iconCode.mail); - }); - - $subscriberBtn.click(function() { - var email = $.trim($subscriberBox.val()); - - if (email !== '' && emailReg.test(email)) { - try { - $.ajax({ - url: 'http://new.yohobuy.com/common/emailsubscriber', - dataType: 'jsonp', - data: { - email: email, - tmp: Math.random(), - uid: window.getUid() - }, - success: 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); +$('#brand-favor').on('click', function() { + var $this = $(this), + uid = window.getUid(); - if ($this.hasClass('cur')) { - return; + $.ajax({ + type: 'post', + url: '/product/index/favoriteBrand', + data: { + uid: uid, + brandId: $this.data('id') } - - $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(), - _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()); - }); - - $.ajax({ - url: 'http://new.yohobuy.com/common/suggestfeedback', - dataType: 'jsonp', - data: { - feedback_id: _feedback || 0, - question_id: _question || 0, - answer: _answer || '', - solution: _solution.join(',') - }, - success: function(data) { - var next = index + 1; - - if (~~data.data.result === 1) { - if (index === count - 1) { - alert('感谢您的参与!'); - return; - } - - $li.addClass('hide'); - - $vote.children(':eq(' + (index + 1) + ')').removeClass('hide'); - $feedBackPage.children('.cur').removeClass('cur'); - $feedBackPage.children(':eq(' + next + ')').addClass('cur'); - } + }).then(function(res) { + if (res.code === 200) { + if (res.message === 'add') { + $this.find('i').addClass('coled'); + } else { + $this.find('i').removeClass('coled'); } - }); + } else if (res.code === 403) { + location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); + } }); -} - -function rePosReturn() { - if ($(window).height() > $(document).height()) { - $returnTop.addClass('hide'); - } - - // 只在窗口高度大于文档高度的时候,隐藏返回顶部 - // else { - // $returnTop.removeClass('hide'); - // } -} - -//返回顶部 -$returnTop.click(function() { - $('html,body').animate({ - scrollTop: 0 - }, 500); }); -$(window).scroll(function() { - if ($(window).scrollTop() === 0) { - $returnTop.addClass('hide'); - } else { - $returnTop.removeClass('hide'); - } }); +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: $('.logo-brand').data('url') +}); + +/* + * 一周热卖 + */ +(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="\{{thumb}}">' + + '</a>' + + '</div>' + + '<div class="good-detail-text">' + + '<a target="_blank" href="{{url}}">{{name}}</a>' + + '<p class="price">' + + '{{# marketPrice}}<span class="market-price">¥{{.}}</span>{{/ marketPrice}} ' + + '<span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">' + + '¥{{salePrice}}</span>' + + '</p>' + + '</div>' + + '</div>' + + '{{/ list}}'; + + //监听滚动事件,控制浮层样式及下拉加载更多 + $(window).on('scroll', function() { + var maxH = weekOffsetTop + $('.hot-week').outerHeight(), + sid; + + //热卖右侧浮动导航位置 + 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) { + sid = $('.hot-cate').find('li.current').data('sid'); + 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'); + + if ($(this).hasClass('current')) { + return; + } + + //处理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(); + + if ($(this).hasClass('current')) { + return; + } + + $('.hot-cate').find('li').eq(nowIndex).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: '/product/index/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'); +})($); -//如果初始是隐藏的,监听图片加载,重新确定return-top的高度 -if ($returnTop.hasClass('hide')) { - $('img').load(rePosReturn); -} - -//初始化 -actionSubscription(); -actionhomeFootChange(); - -//暴露给有可能通AJAX改变内容的页面去用 -window.rePosReturnTop = rePosReturn; +}); +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.$element) { + return; + } + + 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 = this.$element.find('.slide-pagination-inner 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).show().stop().animate({ + opacity: 1 + }, function() { + + //修正IE下切换时文字会重叠的问题 + $(this).find('.slide-tips > p').removeClass('hide'); + }).siblings().stop().animate({ + opacity: 0 + }, function() { + $(this).hide().find('.slide-tips > p').addClass('hide'); + }); + }, + _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:;" target="_blank">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:;" target="_blank">MORE ></a></li></ul>'; + + }); + }, + _sendRequest: function() { + var that = this; + + $.ajax({ + type: 'GET', + url: that.options.url, + dataType: 'json', + success: function(data) { + var brandTpl, + brandHtml; + + if (!data || data.length === 0) { + return; + } + + that._createHelper(); + brandHtml = '\{{#brandList logoBrand}}' + + '<a href="\{{href}}" target="_blank"><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/index/index", ["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"); + +$(document).on('mouseenter', '.imgopacity a img', function() { + $(this).css('opacity', 0.8); +}); +$(document).on('mouseout', '.imgopacity a img', function() { + $(this).css('opacity', 1); +}); + + + +if ($.inArray(homePage, ['boys','girls','kids','lifestyle']) > -1) { + require("js/common/new-arrivls")({ + type: homePage, + url: '/common/getNewArrival', + count: (homePage === 'boys') || (homePage === 'lifestyle') ? 5 : 4, + rows: [5,3] + }); + window.setCookie('_Channel', homePage, { + domain: '.yohobuy.com', + path: '/', + expires: 365 + }); +} + + + +lazyLoad($('img.lazy')); +if (homePage === 'boys') { + $('.slide-container').slider({ + pagination: '.thumb-pagination' + }); +} else { + $('.center-col').slider(); + $('.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/header", ["jquery","handlebars","source-map","index"], function(require, exports, module){ +define("js/common/slider2", ["jquery"], function(require, exports, module){ /** - * 头部 - * @author: wangqing<robin.wang@yoho.cn> - * @date: 2015/12/01 + * (品牌优选)图片幻灯片插件 + * @author: wangqing(robin.wang@yoho.cn) + * @date: 205/7/2 */ var $ = require("jquery"); -var handlebars = require("handlebars"); -var json2 = require("index"); -var vipInfoCombine = null; //用户信息编译模板 -var loginInfoCombine = null; //登录信息编译模板 -var apiDomain = $('#api-domain').val(); //获取数据的地址 -var cartTpl = ''; //购物车模板 -/** - * 搜寻的时候过滤非法字符(+-/:等非法字符单独出现) - * @type {RegExp} - */ -var reg = /^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/]{0,}$/g; -var keyword = ''; -var link = ''; -var dataLayer = []; -var requestFrame = null; -var logoanimationstart = 0; -var $logotrans = $('.icon-logo'); -var isen = true; -var loopdurationtime = 500; -var globaltimeout; -var onetimeoout; -/** - * banner和地址的映射 - * @type {Object} - */ -var 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' -}; -var cookieMap = {}; - -var bannerApi = 'http://new.yohobuy.com/common/getbanner?content_code='; - -$('#api-domain').remove(); //删除信息表单 - -function getSource(column, postition, event) { - try { - dataLayer.push({ - louceng: column, - weizhi: postition, - event: event - }); - } catch (e) {} -} - -window.submitSearch = function() { - var $keywordinput = $('#query_key').val(); - var $defaultsearch = $('#defaultsearch').val(); - var column = 'Search'; - var postition = 'Head Search'; - var event = 'Search'; - var $formatkeyword, - $formatkeywordinput; - - $formatkeyword = $.trim(keyword.toLowerCase()); - $formatkeywordinput = $.trim($keywordinput.toLowerCase()); - getSource(column, postition, event); - if (link !== '' && keyword !== '' && $formatkeyword === $formatkeywordinput) { - location.href = link.replace('\'', ''); - } else { - if (reg.test($keywordinput) && $keywordinput !== '') { - location.href = 'http://search.yohobuy.com/error?query=' + $keywordinput + '&result=error'; - } else { - if ($keywordinput === '') { - $('#query_key').val($defaultsearch); +(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); + } } - $('#searchForm').submit(); - return false; } - } -}; -/** - * 增加关键字 - * @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(''); - }); - } -} -/** - * 定义购物车扩展 - */ -function actionGoodsCart() { - var defaults = { - cookie: '_g', - cartNum: '' - }; - var params = ''; - var cartInfo = ''; - var queryNum = 0; - var listIndex = 0; - var tmpList = 0; - var totalNum = 0; - var text = ''; - - $.fn.miniCart = function(options) { - params = $.extend(defaults, options); - if (typeof window.cookie(params.cookie) === 'undefined') { - cartInfo = null; - } else { - if (params.cookie) { - try { - cartInfo = json2.parse(window.cookie(params.cookie)); - } catch (e) { + 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); } - if (cartInfo !== null && cartInfo !== '') { - 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'); + $.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; } - $(params.cartNum).html(totalNum); - } - }; - $.fn.search = function(searchDomain) { + 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; - function getKeywords(obj) { - var key = $.trim($(obj).val()); + e.preventDefault(); - key = key.replace(new RegExp('\'', 'gm'), ''); //去掉特殊字符 - if (key === '') { - $('.search-list').hide(); - return false; - } - key = encodeURI(key); - $.get(searchDomain + '?query=' + key, function(htmlData) { - $('.search-list').html(htmlData.data); - queryNum = $('.search-list').children('li').length; - listIndex = -1; - if (queryNum > 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'); - } + changePic(3, _width, function() { + for (i = 0; i < 3; i++) { + _obj = bannerarr.shift(); - function getText(obj) { - $('.search-list li:eq(' + tmpList + ')').children('a').css('background-color', '#fff'); - $('.search-list li:eq(' + listIndex + ')').children('a').css('background-color', '#eee'); - text = $('.search-list li:eq(' + listIndex + ')').children('a').attr('title'); - $('#query_key').val(text); - } - return this.each(function() { - $(this).keyup(function(event) { - if (event.which === 38) { - if (queryNum === 0) { - return false; - } - if (listIndex === -1) { - listIndex = 0; - } - tmpList = listIndex; - listIndex = (listIndex - 1 + queryNum) % queryNum; - getText(this); - } else if (event.which === 40) { - if (queryNum === 0) { - return false; + $('.img-item').parent().append(_obj.outerHTML); + bannerarr.push(_obj); } - tmpList = listIndex; - listIndex = (listIndex + 1) % queryNum; - getText(this); - } else if (event.which === 13) { - window.submitSearch(); - } else { - getKeywords(this); + $('.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); + } }); + }; - $.extend({ - getData: function(domain, options, onSuccess) { - var defaults = { - page: 1, - method: '', - v: 1, - return_type: 'jsonp', - open_key: '12345', - tmp: Math.random() - }; - var params = ''; - if (typeof (domain) === undefined || domain === '') { - return false; - } - params = $.extend(defaults, options); - params.page = params.page || 1; - if (params.method === '') { - return false; - } - try { - $.getJSON(domain + '/?callback=?', params, function(_data) { - if (onSuccess !== '') { - if (typeof onSuccess(_data.data) !== 'undefined') { - json2.parse(onSuccess(_data.data)); - } - return false; - } - }); - } catch (e) { - console.log(e.message); - } - }, - getShoppingKey: function() { - var shoppingInfo = window.cookie('_g'); - var shoppingData = json2.parse(shoppingInfo); +}($)); +}); +define("js/common/accordion", ["jquery"], function(require, exports, module){ +var Slide = require("js/common/yohoui/YH.slide"); +var $ = require("jquery"); - if (typeof shoppingInfo === 'undefined' || shoppingInfo === null) { - return ''; - } - return shoppingData._k; +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); } }); } -/** - * 时间戳 - * @param {[type]} v1 [description] - * @param {[type]} options) { if (v1 [description] - * @return {[type]} [description] - */ -handlebars.registerHelper('timestamp', function() { - return new Date().getTime(); -}); -/** - * 头像 - * @param {[type]} v1 [description] - * @param {[type]} options) { if (v1 [description] - * @return {[type]} [description] - */ -handlebars.registerHelper('headerimg', function(headerimg) { +switchfun(0); - if (headerimg === '') { - return 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif' + - '?imageView/2/w/100/h/100'; - } else { - return headerimg; - } +slide = new Slide({ + length: 5, + loop: false, + auto: false, + timeout: 2, + index: 0 +}); +slide.on('change', function(data) { + switchfun(data.to); }); -/** - * 判断等级为3的helper - * @param {[type]} v1 [description] - * @param {[type]} options) { if (v1 [description] - * @return {[type]} [description] - */ -handlebars.registerHelper('equallevelthree', function(v1, options) { +$item.mouseover(function() { + slide.go($(this).index()); +}); - if (v1 === '3') { - return options.fn(this); - } else { - return options.inverse(this); - } +slide.init(); }); +define("js/common/yohoui/YH.slide", [], function(require, exports, module){ +var me = require("js/common/yohoui/YH.base"); -/** - * 判断为0的helper - * @param {[type]} v1 [description] - * @param {[type]} options) { if (v1 [description] - * @return {[type]} [description] - */ +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); -handlebars.registerHelper('equalzero', function(v1, options) { +slide.prototype.oninit = function() { + var __self = this, + _o = __self.options; - if (v1 === '0') { - return options.fn(this); - } else { - return options.inverse(this); + if (_o.auto) { + __self.play(); } -}); + __self.go(_o.index); + return this; +}; -/** - * 获取头部banner的回调函数 - * @param {[type]} data [description] - */ -function JsonPCallBack(data) { - var topbanner; - - if (+data.code === 200) { - if (typeof data.data === 'object') { - if (data.data.url !== '') { - topbanner = '<a target="_blank" href="' + data.data.url + '" class="page-top-banner"' + - 'style="height:36px;border:none;background-image:url(' + window.unescape(data.data.src) + ');' + - 'background-position: center;display:block;"> </a>'; +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 { - topbanner = '<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>'; + _to = _to; } - $('body').prepend(topbanner); } - } -} - -window.JsonPCallBack = JsonPCallBack; - - -/** - * 获得banner数据 - * @param {[string]} code [banner对应的编码] - * @return {[type]} [description] - */ -function getBannerData(code) { - var script = document.createElement('script'); - - script.src = bannerApi + code + '&client_type=web&callback=JsonPCallBack'; - document.getElementsByTagName('head')[0].appendChild(script); -} - -/** - * 显示和隐藏 - * @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 { + if (_to > _index) { + _to = _index; } else { - $that.removeClass('acttags'); - targetobj.style.display = ''; + if (0 > _to) { + _to = 0; + } else { + _to = _to; + } } - }); -} - -/** - * 执行顶部显示和隐藏 - * @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; + _current = _o.index = _to; - $('.yohogroup').mouseenter(function() { - $this = $(this); - $this.text($this.attr('cn')); - }); - $('.yohogroup').mouseleave(function() { - $this = $(this); - $this.text($this.attr('en')); - }); -} + o = { + from: _from, + to: _to, + originalto: _originalto, + direction: _direction + }; -/** - * 检测是否支持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; + 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); + } + } } } -} -/** - * css3动画 - * @param {Array} ) { var thisFunc, prefixList [description] - * @return {[type]} [description] - */ -function requestFrameAct() { - 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) { - requestAnimationFrame(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); - }; -} - - -/** - * css3动画 - * @return {[type]} [description] - */ - -function tsAnimate() { - logoanimationstart += 10; - $logotrans.css({ - transform: 'rotateX(' + logoanimationstart + 'deg)', - '-webkit-transform': 'rotateX(' + logoanimationstart + 'deg)', - '-moz-transform': 'rotateX(' + logoanimationstart + 'deg)' - }); - if (logoanimationstart / 90 % 2 === 1) { - if (isen) { - $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo1.png)'); - isen = false; - } else { - $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); - isen = true; + if (_current !== _index || _to) { + if (!__self.__isStop && _o.auto) { + __self.play(); } - } - if (logoanimationstart / 90 % 2 === 0 && logoanimationstart % 360 !== 0) { - window.setTimeout(tsAnimate, 3000); } else { - if (logoanimationstart % 360 === 0) { - window.setTimeout(tsAnimate, 1 * 60 * 1000); - } else { - requestFrame(function() { - tsAnimate(); - }); + if (__self.__lastTime) { + clearTimeout(__self.__lastTime); } } -} +}; -/** - * 淡出 - * @return {[type]} [description] - */ -function fadeAnimate() { - if (globaltimeout) { - window.clearTimeout(globaltimeout); - } - $logotrans.fadeOut(loopdurationtime, function() { - isen = false; - - $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo.png)'); - $logotrans.fadeIn(loopdurationtime, function() { - onetimeoout = window.setTimeout(function() { - $logotrans.fadeOut(loopdurationtime, function() { - window.clearTimeout(onetimeoout); - isen = true; - $logotrans.css('background-image', - 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); - $logotrans.fadeIn(loopdurationtime, function() { - globaltimeout = window.setTimeout(fadeAnimate, 1 * 60 * 1000); - }); - }); - }, 3000); - }); - }); -} -/** - * 执行头部logo动画 - * @return {[type]} [description] - */ -function actionTopLogoAnimate() { - if (isSupportCss3Animation()) { - requestFrame = requestFrameAct(); - window.setTimeout(tsAnimate, 3000); - } else { - window.setTimeout(fadeAnimate, 3000); +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); } -} -window.newArr = []; -window.wrapperindex = 0; -window.gindex = 0; -window.targetArr1 = []; -window.targetArr2 = []; -window.targetArr3 = []; -window.oh1 = 0; -window.oh2 = 0; -window.oh3 = 0; -window.valueIndex = 0; -window.nowIndex = 0; -window.inner1 = ''; -window.inner2 = ''; -window.inner3 = ''; -window.finalresult = ''; - -function createNewArray(obj) { - var $thirdnavpanel = $(obj); - - $thirdnavpanel.find('.thirdnavbar').each(function() { - var $that = $(this); - var $alink = $that.find('a'); - var _href = $alink.attr('href'); - var hottag = $alink.attr('hot') === 'hot' ? true : false; - var objt = {}; - - if ($that.hasClass('category-title')) { - objt = { - type: 'title', - height: 49, - content: $that.text(), - index: window.valueIndex, - href: _href, - hot: false - }; - } else { - objt = { - type: 'catlist', - height: 36, - content: $alink.text(), - index: window.valueIndex, - href: _href, - hot: hottag - }; + __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; } - window.valueIndex++; - window.newArr.push(objt); - }); -} + }, + extend: function(obj, newProperties) { + var key; -function createWrapper() { - var arrlength = window.newArr.length; - var i = 0; - var objnew = []; - var aobj = []; - var bobj = []; - var cobj = []; - var final1 = '', - final2 = '', - final3 = ''; - var a = 0; - var b = 0; - var c = 0; - - for (i; i < arrlength; i++) { - objnew = window.newArr[i]; - if (window.gindex === 0) { - window.oh1 = (window.oh1 + objnew.height); - if (window.oh1 >= 340 && i !== (arrlength - 1)) { - window.targetArr1 = window.newArr.slice(0, objnew.index + 1); - window.nowIndex = objnew.index + 1; - window.gindex++; - } - if (i === (arrlength - 1)) { - window.targetArr1 = window.newArr.slice(0, arrlength + 1); - break; + for (key in newProperties) { + if (newProperties.hasOwnProperty(key)) { + obj[key] = newProperties[key]; } } - if (window.gindex === 1) { - window.oh2 = (window.oh2 + objnew.height); - if (window.oh2 >= 340 && i !== (arrlength - 1)) { - window.targetArr2 = window.newArr.slice(window.nowIndex, objnew.index + 1); - window.nowIndex = objnew.index + 1; - window.gindex++; - } - if (i === (arrlength - 1)) { - window.targetArr2 = window.newArr.slice(window.nowIndex, arrlength + 1); - break; - } + return obj; + }, + copy: function(TargetClass, obj, newProperties) { + var value,o,key; + + if (typeof obj !== 'object') { + return obj; } - if (window.gindex === 2) { - window.oh3 = (window.oh3 + objnew.height); - if (window.oh3 >= 340 && i !== (arrlength - 1)) { - window.targetArr3 = window.newArr.slice(window.nowIndex, objnew.index + 1); - window.nowIndex = objnew.index + 1; - window.gindex++; - break; - } - if (i === (arrlength - 1)) { - window.targetArr3 = window.newArr.slice(window.nowIndex, arrlength + 1); - break; - } + value = obj.valueOf(); + if (obj !== value) { + return new obj.constructor(value); } - } - for (a; a < window.targetArr1.length; a++) { - aobj = window.targetArr1[a] || {}; - if (aobj.type === 'title') { - window.inner1 = window.inner1 + - '<li class="cattitle"><h3><a href="' + - aobj.href + - '">' + - aobj.content + - '</a></h3></li>'; - } else { - if (aobj.hot === true) { - window.inner1 = window.inner1 + - '<li class="catdetail"><a class="thirdcatelink hot" href="' + - aobj.href + - '">' + - aobj.content + - '</a></li>'; + if (obj instanceof obj.constructor && obj.constructor !== Object) { + if (TargetClass) { + o = new TargetClass(); } else { - window.inner1 = window.inner1 + - '<li class="catdetail"><a class="thirdcatelink" href="' + - aobj.href + '">' + - aobj.content + - '</a></li>'; + o = me.clone(obj.constructor.prototype); } - } - } - for (b; b < window.targetArr2.length; b++) { - bobj = window.targetArr2[b] || {}; - if (bobj.type === 'title') { - window.inner2 = (window.inner2 + - '<li class="cattitle"><h3><a href="' + - bobj.href + '">' + - bobj.content + - '</a></h3></li>'); + for (key in obj) { + if (TargetClass || obj.hasOwnProperty(key)) { + o[key] = obj[key]; + } + } } else { - if (bobj.hot === true) { - window.inner2 = (window.inner2 + - '<li class="catdetail"><a class="thirdcatelink hot" href="' + - bobj.href + '">' + bobj.content + '</a></li>'); - } else { - window.inner2 = (window.inner2 + - '<li class="catdetail"><a class="thirdcatelink" href="' + - bobj.href + '">' + bobj.content + '</a></li>'); + o = {}; + for (key in obj) { + if (o.hasOwnProperty(key)) { + o[key] = obj[key]; + } } - } - } - for (c; c < window.targetArr3.length; c++) { - cobj = window.targetArr3[c] || {}; - if (cobj.type === 'title') { - window.inner3 = (window.inner3 + - '<li class="cattitle"><h3><a href="' + - cobj.href + - '">' + - cobj.content + - '</a></h3></li>'); - } else { - if (cobj.hot === true) { - window.inner3 = (window.inner3 + - '<li class="catdetail"><a class="thirdcatelink hot" href="' + - cobj.href + '">' + - cobj.content + - '</a></li>'); - } else { - window.inner3 = (window.inner3 + - '<li class="catdetail"><a class="thirdcatelink" href="' + - cobj.href + '">' + - cobj.content + - '</a></li>'); + if (newProperties) { + for (key in newProperties) { + if (o.hasOwnProperty(key)) { + o[key] = newProperties[key]; + } } - } - } - if (window.inner1 !== '') { - final1 = '<ul class="cate_row1 cate_row">' + - window.inner1 + - '</ul>'; - } - if (window.inner2 !== '') { - final2 = '<ul class="cate_row2 cate_row">' + - window.inner2 + - '</ul>'; - } - if (window.inner3 !== '') { - final3 = '<ul class="cate_row3 cate_row">' + - window.inner3 + - '</ul>'; - } - window.finalresult = final1 + final2 + final3; - $('#' + window.wrapperindex).empty().append(window.finalresult); -} -function actionNav() { - $('.categorywrapper').each(function(index) { - window.wrapperindex = $(this).attr('id'); - window.newArr = []; - window.gindex = 0; - window.targetArr1 = []; - window.targetArr2 = []; - window.targetArr3 = []; - window.oh1 = 0; - window.oh2 = 0; - window.oh3 = 0; - window.valueIndex = 0; - window.nowIndex = 0; - window.inner1 = ''; - window.inner2 = ''; - window.inner3 = ''; - createNewArray($(this).find('.category')); - createWrapper(); - }); -} + return o; + }, + clone: function(obj) { + me.__cloneFunc.prototype = obj; + return new me.__cloneFunc(); + }, + __cloneFunc: function() { + }, + delegate: function(func, scope) { + var args; -/** - * 获取三级导航的tip图标 - * @return {[type]} [description] - */ -function actionTipPic() { - var tipscode = {}; - var $contentcode = ''; - var $img = ''; - var $title = ''; - var $link = ''; - var logolink = ''; - - $(document).on('mouseenter', '.sub-nav-item', function() { - $contentcode = $(this).find('.showdetail').attr('data-code'); - if ($contentcode) { - if (!tipscode[$contentcode]) { - tipscode[$contentcode] = $contentcode; - $img = $(this).find('.showdetail').find('img'); - $title = $(this).find('.showdetail').find('.title'); - $link = $(this).find('.showdetail').find('a'); - $.get(bannerApi + $contentcode + '&width=337&height=250&client_type=web', function(rsdata) { - $img.attr('src', rsdata.data.src); - $link.attr('href', rsdata.data.url); - $title.text(rsdata.data.title); - }, 'jsonp'); - } - } - }); - logolink = $('.cure').find('.name-cn').find('a').attr('href'); - $('.main-link').attr('href', logolink); -} + 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; -function closeCover() { - var $cover = $('#cover'); - - $cover.remove(); -} -/** - * 首次进入有弹窗 - * @return {[type]} [description] - */ -function actionCover() { - var gender = window.cookie('_Gender'); - var newMask = ''; - var windowheight = ''; - var selfheight = ''; - var containertop; - var length = ''; - - if (window.location.href === 'http://www.yohobuy.com/' && - (typeof gender === 'undefined' || gender === '' || gender === null)) { - $.get('http://www.yohobuy.com/index/guide', function(data) { - newMask = document.createElement('div'); - newMask.id = 'cover'; - newMask.innerHTML = data; - document.body.appendChild(newMask); - windowheight = $(window).height(); - selfheight = $('.guide-box').height(); - containertop = windowheight / 2 - selfheight / 2; - length = $('.guide-box .clear').find('li').length; - $('.guide-box').css({ - width: (200 * length) + 'px', - top: containertop + 'px' - }); - $('#cover').bind('click', function(event) { - window.setCookie('_Gender', '1,3', { - path: '/', - domain: '.yohobuy.com', - expires: 90 - }); - window.setCookie('_Channel', 'boys', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - closeCover(); - }); - $('#cover .guide-box .close').bind('click', function(event) { - getSource('弹窗', 'CLOSE', 'homepage_man'); - window.setCookie('_Gender', '1,3', { - path: '/', - domain: '.yohobuy.com', - expires: 90 - }); - window.setCookie('_Channel', 'boys', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - closeCover(); - }); - $('.boys img , .boys .go').bind('click', function(event) { - getSource('弹窗', 'BOYS', 'homepage_man'); - window.setCookie('_Gender', '1,3', { - path: '/', - domain: '.yohobuy.com', - expires: 90 - }); - window.setCookie('_Channel', 'boys', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - closeCover(); - }); - $('.girls img, .girls .go').bind('click', function(event) { - getSource('弹窗', 'GIRLS', 'homepage_woman'); - window.setCookie('_Gender', '2,3', { - path: '/', - domain: '.yohobuy.com', - expires: 90 - }); - window.setCookie('_Channel', 'girls', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - }); - $('.lifestyle img, .lifestyle .go').bind('click', function(event) { - window.setCookie('_Channel', 'lifestyle', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - getSource('弹窗', 'LIEFSTYLE', 'homepage_lifestyle'); - }); - $('#cover .guide-box').bind('click', function(event) { - event.stopPropagation(); - }); - }); - } -} -/** - * 查询跳转后保留关键字 - * @return {[type]} [description] - */ -function actionAddKeyWords() { - var $keywords = $('#nav_keyword').text(); - var defaultsearch = $('#defaultsearch').val(); - 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(''); - }); - } -} - - -/** - * cookie 初始化 - * @return {[type]} [description] - */ -function actionInitCookie() { - var $cookieGender = window.cookie('_Gender'); - var $target = $('.cure'); - - if (typeof $cookieGender !== 'undefined' && $cookieGender !== '') { - window.setCookie('_Gender', 1, { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($target.find('.name-cn a').text() === '男生') { - window.setCookie('_Gender', '1,3', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - window.setCookie('_Channel', 'boys', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($target.find('.name-cn a').text() === '女生') { - window.setCookie('_Gender', '2,3', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - - // window.setCookie('_Channel', 'girls', { - // path: '/', - // domain: '.yohobuy.com', - // expires: 7 - // }); - } - if ($target.find('.name-cn a').text() === '创意生活') { - window.setCookie('_Channel', 'lifestyle', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($target.find('.name-cn a').text() === '潮童') { - window.setCookie('_Channel', 'kids', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } -} -/** - * 提前设置好频道的cookie - */ -function setChannelCookie() { - $('.first-nav-item').click(function() { - var _cookieGender = window.cookie('_Gender'); - - if (typeof _cookieGender !== 'undefined' && _cookieGender !== '') { - window.setCookie('_Gender', 1, { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($(this).find('.name-cn a').text() === '男生') { - window.setCookie('_Gender', '1,3', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - window.setCookie('_Channel', 'boys', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($(this).find('.name-cn a').text() === '女生') { - window.setCookie('_Gender', '2,3', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - window.setCookie('_Channel', 'girls', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($(this).find('.name-cn a').text() === '创意生活') { - window.setCookie('_Channel', 'lifestyle', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - if ($(this).find('.name-cn a').text() === '潮童') { - window.setCookie('_Channel', 'kids', { - path: '/', - domain: '.yohobuy.com', - expires: 7 - }); - } - }); - -} -/** - * cookie集合 - * @type {Object} - */ -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('='); - if (typeof temparr[0] !== 'undefined') { - key = temparr[0].replace(/\s/g, ''); - cookieMap[key] = temparr[1]; - } - } -} - - -/** - * 购物车商品数量 - * @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 (cartTpl === '') { - cartTpl = handlebars.compile($('#mini-cart-tpl').html()); - } - $('#miniCartBox').children('.gobuy-wrapper').html(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 = window.cookie('_g'); - shoppingData = json2.parse(shoppingInfo); - if (shoppingData !== null) { - strK = '{"_k":"' + shoppingData._k + '","_nac":0' + ',"_ac":0,"_r":0}'; - window.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 = window.cookie('_g'); - var shoppingData = json2.parse(shoppingInfo); - var strK = '{"_k":"' + shoppingData._k + '","_nac":' + jsonData.total_goods_num + ',"_ac":0,"_r":0}'; - - window.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 = bannerMap['search' + cookieMap._Channel]; - } - if (url.indexOf('list') !== -1) { - code = bannerMap['list' + cookieMap._Channel]; - } - if (url.indexOf('brands') !== -1) { - code = bannerMap['brands' + cookieMap._Channel]; - } - if (url.indexOf('new') !== -1) { - code = bannerMap['new' + cookieMap._Channel]; - } - if (url.indexOf('sale') !== -1) { - code = bannerMap['sale' + cookieMap._Channel]; - } - if (url.indexOf('home') !== -1) { - code = bannerMap['home' + cookieMap._Channel]; - } - if (url.indexOf('kids') !== -1) { - code = bannerMap[INDEXKIDS]; - } - if (url.indexOf('woman') !== -1 || url.indexOf('girls') !== -1) { - code = bannerMap[INDEXWOMAN]; - } - if (url.indexOf('lifestyle') !== -1) { - code = bannerMap[INDEXLIFESTYLE]; - } - if (url.indexOf('www.yohobuy.com') !== -1 && window.location.pathname === '/') { - code = bannerMap[INDEXBOYS]; - } - firstarea = host.split('.')[0]; - if (firstarea !== 'list' && firstarea !== 'search' && firstarea !== 'www' && - firstarea !== 'new' && firstarea !== 'item' && firstarea !== 'guang') { - code = bannerMap[UNIQUEBRAND + cookieMap._Channel]; - } - - getBannerData(code); //获得banner信息 - -} - -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 $goodcartempwarpper = $('#goodcartempwarpper'); - var resulthtml = ''; - - if ($goodcartempwarpper) { - if ($goodcartempwarpper.html()) { - 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> ' + - '{{#if islogin}}' + - '[<a href="{{logout}}" class="list-a login-out">退出</a>]' + - '{{/if}}{{#unless islogin}}' + - '[<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>]' + - '{{/unless}}'; - var $boxObj = $('#loginBox'); - var info = window.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 = 'http://www.yohobuy.com/logout_'; - var islogin = '1'; - var _num = 0; - var data = { - user_name: name, - logout: _logout + _data.data.token + '.html', - 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; - } - if (vipInfo.vip.curVipInfo.curLevel === '3') { - vipInfo.vip3 = true; - } - - $('#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) { - if (_data.result !== -1) { - actionLoginState(_data); // 更改登录状态 - actionVipInfo(_data); //获得vip; - } - }); -} -/** - * 初始化函数 - * @return {[type]} [description] - */ -function init() { - actionNav(); //处理导航 - actionTipPic(); //鼠标移入后查询 - actionExeTemplate(); //处理模板 - actionCover(); //初次登录弹框 - actionInitCookie(); //初始化cookie - setChannelCookie(); //设置频道缓存 - actionExeCookieMap(); //格式化cookie - actionGoodsCart(); //初始化购物车插件 - actionYoHoGroup(); // yoho集团鼠标效果 - actionTopTagToggle(); // yoho上部分开关 - actionTopLogoAnimate(); //yoho logo动画 - actionGetBannerAndNotice(); // 获取banner和服务器维护提示 - actionBrandChange(); //切换品牌 - actionAddKeyWords(); //跳转后增加关键字 - actionGoodsCarMouseEffect(); //鼠标滑入滑出效果 - actionUpdateCartNum(); //更新购物车数量 - actionLoopUpdCartNum(); //循环检测购物车数量 - actionSearch(); //搜索执行 - actionClickMiniCartBox(); //点击购物车跳转 - actionListenDelCarGoods(); //监听购物车删除 - actionListenCartMore(); // - actionLoginInfo(); //获取登录信息 - actionAddKeyWords(); //增加关键字 -} -init(); -}); -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(); - }); -} - -/** - * 格式化用户名 - * @return {[type]} [description] - */ -function formatUsernName(userName) { - var name, - char, - _num = 0, - _length = 0, - t; - - for (t = 0; 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; - name = ''; - for (t = 0; 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 += '...'; - } - } - return name; -} - -/** - * 设置简单头部登陆状态 - * @return {[type]} [description] - */ -function setLoginStatus(_data) { - var loginHtml, - name; - - if (_data && _data.href && _data.href.user) { - name = formatUsernName(_data.href.user); - loginHtml = '<span>Hi~</span><a href="">' + - name + '</a> <a href="' + _data.href.logout + '">[退出]</a>'; - } else { - name = formatUsernName(_data.user); - loginHtml = '<span>Hi~</span><a href="">' + - name + '</a> <a href="http://www.yohobuy.com/signin.html">[请登录]</a>' + - '<a href="http://www.yohobuy.com/reg.html">[免费注册]</a>'; - } - $('.header-tool li').eq(0).html(loginHtml); -} - -/** - * 获取登录信息 - * @return {[type]} [description] - */ -function actionLoginInfo() { - $.ajax({ - type: 'GET', - url: '/common/getSimpleHeader', - data: {}, - success: function(data) { - if (data.code === 200) { - setLoginStatus(data.data); - } - } - }); -} - -/** - * 初始化函数 - * @return {[type]} [description] - */ -function init() { - actionLoginInfo(); //获取登录信息 -} -init(); - - -}); -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/brand"); - -require("js/product/hotrank"); - -}); -define("js/product/list", ["jquery","handlebars","source-map","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/latest-walk"); - -require("js/product/product"); -}); -define("js/product/filter", ["jquery","handlebars","source-map"], function(require, exports, module){ -/** - * 商品筛选逻辑 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/12/4 - */ - -var $ = require("jquery"), - Handlebars = require("handlebars"); - -var checkUnicode = { - unchecked: '', - checked: '' -}, -moreUnicode = { - up: '', - down: '' -}; - -//品牌相关变量 -var $brandDefault = $('.brand .default'), - $brandPanel = $('.brand .brand-panel'), - $brandAttrs = $brandPanel.find('.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; - -// 尺寸 handlebars 模板 -var sizeTmpl = '{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a>{{/ size}}', - sizeCache = {}, // 缓存一下尺寸信息 - $sizeWrap = $('.filter-box .size'); - -sizeTmpl = Handlebars.compile(sizeTmpl); - -//清除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 qs = window.queryString(), - newHref; - - qs[attr] = val; - newHref = '?' + decodeURIComponent($.param(qs)); - 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(), - id = $this.data('id'); - - if ($this.hasClass('active')) { - - // 选中时,再次点击取消选中 - $this.removeClass('active'); - $sortSub.children(':eq(' + index + ')').addClass('hide'); - $sizeWrap.addClass('hide'); - return; - } - - $this.siblings('.active').removeClass('active'); - $this.addClass('active'); - - $sortSub.children(':not(.hide)').addClass('hide'); - $sortSub.children(':eq(' + index + ')').removeClass('hide'); - - if (!$sizeWrap.data('load')) { - if (sizeCache[id]) { - $sizeWrap.find('.attr-content').html(sizeCache[id]); - $sizeWrap.removeClass('hide'); - } else { - $.ajax({ - url: '/product/search/sortSize', - data: { - msort: id - } - }).then(function(res) { - if ($.type(res) === 'array' && res.length) { - sizeCache[id] = sizeTmpl({ - size: res - }); - $sizeWrap.find('.attr-content').html(sizeCache[id]); - $sizeWrap.removeClass('hide'); - } else { - $sizeWrap.addClass('hide'); - } - }); - } - } -}); - -//【品牌】 -if ($brandMore.length > 0) { - $brandMoreTxt = $brandMore.children('em'); - $brandMoreIcon = $brandMore.children('.iconfont'); -} - -//【品牌】多选 -$brandMulti.click(function() { - if ($brandPanel.css('display') === 'none') { - - //显示品牌面板 - $brandMore.trigger('click'); - } - - brandShowMore(); - $brandPanel.removeClass('hide').addClass('multi'); //显示出checkbox - $(this).addClass('hide'); - - //隐藏更多按钮 - $brandMore.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('mouseenter', 'span', function() { - var $this = $(this), - index = $this.data('index'); - - if ($this.hasClass('hover')) { - return; - } - - $this.siblings('span.hover').removeClass('hover'); - $this.addClass('hover'); - - 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() { - val.push($(this).data('id')); - }); - - uriLoc('brand', val.join(',')); -}); - -//【品牌/高级选项】多选取消 -$('.multi-select-cancel').click(function() { - var $panel = $(this).closest('.multi'); - - if ($panel.hasClass('brand-panel')) { - - $brandMulti.removeClass('hide'); //显示多选按钮 - $brandMore.trigger('click'); - - //显示出更多按钮 - $brandMore.removeClass('hide'); - } - - $panel.addClass('hide').removeClass('multi'); - brandHideMore(); - clearChecked($panel.find('.checkbox.checked')); //清除选中状态 -}); - -//【品牌/高级选项】checkbox -$('.check-container').on('click', '.attr', function() { - var $this = $(this), - $check = $this.find('.checkbox'), - $btnOk = $this.closest('.brand-panel, .senior-sub').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(); - } -}); - -// 已选中的条件,点击不刷新 -$('.filter-box').on('click', 'li.checked, a.checked', function(e) { - 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 thisPrice = $.trim($(this).val()), - isPriInt = interReg.test(thisPrice), - intPrice, - min, - max; - - if (!isPriInt) { - intPrice = parseInt(thisPrice, 10); - $(this).val(isNaN(intPrice) ? '' : intPrice); - } - - min = $.trim($min.val()); - max = $.trim($max.val()); - - if (min !== '' || max !== '') { - $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 $this = $(this); - var index = $this.index(); - - if ($this.hasClass('no-sub')) { - return; - } - $this.addClass('hover').siblings().removeClass('hover'); - - $seniorSubWrap.children('.senior-sub:eq(' + index + ')').removeClass('hide').siblings().addClass('hide'); -}).on('mouseleave', '.attr', function() { - var $this = $(this), - index = $this.index(); - - if ($this.hasClass('no-sub')) { - return; - } - - 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('span.checked').each(function() { - val.push($(this).data('id')); - }); - - uriLoc($sub.data('attr'), val.join(',')); -}).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/latest-walk", ["jquery","handlebars","source-map","lazyload"], function(require, exports, module){ -/** - * 最近浏览取接口渲染模板 - * @author: xuqi<qi.xu@yoho.cn> - 8 @date: 2016/1/20 - */ - -var $ = require("jquery"); -var Handlebars = require("handlebars"); -var lazyLoad = require("lazyload"); - -var $latestWalkCount = $('#latest-walk-count'); - -(function() { - var tpl; - - if ($latestWalkCount.length === 0) { - return; - } - - tpl = Handlebars.compile($('#latest-walk-tpl').html()); - - $.ajax({ - url: 'http://itemapi.yohobuy.com/item/item/recentreview', - dataType: 'jsonp', - data: { - limit: $latestWalkCount.val() - }, - success: function(data) { - var latestWalk = [], - res, i, cur; - - if (data.code === 200) { - res = data.data; - - //若无最近浏览,请隐藏容器 - if (res.length === 0) { - $('.latest-walk').addClass('hide'); - return; - } - for (i = 0; i < res.length; i++) { - cur = res[i]; - - latestWalk.push({ - href: cur.url, - img: cur.pic_url, - name: cur.product_name, - salePrice: cur.price, - marketPrice: cur.market_price - }); - } - - if (latestWalk.length > 0) { - $('#latest-walk-goods').html(tpl({ - latestWalk: latestWalk - })); - - lazyLoad($('#latest-walk-goods .lazy')); - } - } - } - }); -}()); -}); -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, _from) { - 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 target="_blank" href="' + data[i * row + j].url + _from + '">' + - '<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 - }; - } - - function removeHtmlFn() { - $goodInfoMain.html(''); - $goodSelectColor.html(''); - $goodItemWrapper.css({ - display: 'none' - }); - } - - productList.addHandler('MouseEnter', function(event) { - var itemMr = 10, //list的右边距 - itemMb = 35, //list的下边距 - ulStr = '', - ulNum, - wrapperWidth, - diffWidth, - wrapperX, - wrapperY, - wrapperPl, //鼠标移入时弹层的左内边距 - wrapperPt, //鼠标移入时弹层的上内边距 - containerPt, //商品列表容器的上内边距 - _from = event.target.attr('data-from') || ''; - - $.ajax({ - type: 'POST', - url: '/product/list/getProductPic', - dataType: 'jsonp', - jsonp: 'callback', - data: { - skn: event.target.attr('data-skn') - } - }).then(function(res) { - var data = res.data, - colorList = createColorList(data.pics, _from); - - removeHtmlFn(); - - ulStr = colorList.colorListStr; //ajax请求的颜色列表 - ulNum = colorList.ulNum;//ajax请求的颜色的数量 - - $goodInfoMain.append(event.targetDuplicate); - $goodSelectColor.append($(ulStr)); - - if (data.isFavorite) { - $goodInfoMain.find('.col-btn').addClass('coled'); - } else { - $goodInfoMain.find('.col-btn').removeClass('coled'); - } - - 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' - }); - - // 鼠标悬浮获取到商品信息后显示第一张图片 - if (data.pics[0] && data.pics[0].src) { - $goodInfoMain.find('.good-thumb img').attr('src', data.pics[0].src); - } - }); - }); - - $goodItemWrapper.mouseleave(function() { - - removeHtmlFn(); - }); - -}; - -//鼠标放在颜色列表上效果 -$(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); -}); - -$goodInfoMain.on('click', '.col-btn', function() { - var $this = $(this); - - $.ajax({ - type: 'POST', - url: '/product/list/changeFavorite', - dataType: 'jsonp', - data: { - skn: $this.closest('.good-info').data('skn'), - isFavorite: $this.hasClass('coled') - } - }).then(function(res) { - if (res.code === 200) { - $this.toggleClass('coled'); - } else if (res.code === 403) { - location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); - } - }); -}); - -// 左侧导航 -$productListNav.find('h3').click(function(event) { - var $this = $(this).closest('.product-list-nav'); - - 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/brand", ["jquery"], function(require, exports, module){ -/** - * 品牌页面 - * @auhtor: bikai<kai.bi@yoho.cn> - * @date: 2016/1/21 - */ - -var $ = require("jquery"); - -$('#brand-favor').on('click', function() { - var $this = $(this), - uid = window.getUid(); - - $.ajax({ - type: 'post', - url: '/product/index/favoriteBrand', - data: { - uid: uid, - brandId: $this.data('id') - } - }).then(function(res) { - if (res.code === 200) { - if (res.message === 'add') { - $this.find('i').addClass('coled'); - } else { - $this.find('i').removeClass('coled'); - } - } else if (res.code === 403) { - location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); - } - }); -}); - -}); -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: $('.logo-brand').data('url') -}); - -/* - * 一周热卖 - */ -(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="\{{thumb}}">' + - '</a>' + - '</div>' + - '<div class="good-detail-text">' + - '<a target="_blank" href="{{url}}">{{name}}</a>' + - '<p class="price">' + - '{{# marketPrice}}<span class="market-price">¥{{.}}</span>{{/ marketPrice}} ' + - '<span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">' + - '¥{{salePrice}}</span>' + - '</p>' + - '</div>' + - '</div>' + - '{{/ list}}'; - - //监听滚动事件,控制浮层样式及下拉加载更多 - $(window).on('scroll', function() { - var maxH = weekOffsetTop + $('.hot-week').outerHeight(), - sid; - - //热卖右侧浮动导航位置 - 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) { - sid = $('.hot-cate').find('li.current').data('sid'); - 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'); - - if ($(this).hasClass('current')) { - return; - } - - //处理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(); - - if ($(this).hasClass('current')) { - return; - } - - $('.hot-cate').find('li').eq(nowIndex).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: '/product/index/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.$element) { - return; - } - - 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 = this.$element.find('.slide-pagination-inner 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).show().stop().animate({ - opacity: 1 - }).siblings().stop().animate({ - opacity: 0 - }, function() { - $(this).hide(); - }); - }, - _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:;" target="_blank">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:;" target="_blank">MORE ></a></li></ul>'; - - }); - }, - _sendRequest: function() { - var that = this; - - $.ajax({ - type: 'GET', - url: that.options.url, - dataType: 'json', - success: function(data) { - var brandTpl, - brandHtml; - - if (!data || data.length === 0) { - return; - } - - that._createHelper(); - brandHtml = '\{{#brandList logoBrand}}' + - '<a href="\{{href}}" target="_blank"><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"); - -$(document).on('mouseenter', '.imgopacity a img', function() { - $(this).css('opacity', 0.8); -}); -$(document).on('mouseout', '.imgopacity a img', function() { - $(this).css('opacity', 1); -}); - - - -if ($.inArray(homePage, ['boys','girls','kids','lifestyle']) > -1) { - require("js/common/new-arrivls")({ - type: homePage, - url: '/common/getNewArrival', - count: (homePage === 'boys') || (homePage === 'lifestyle') ? 5 : 4, - rows: [5,3] - }); - window.setCookie('_Channel', homePage, { - domain: '.yohobuy.com', - path: '/', - expires: 365 - }); -} - - - -lazyLoad($('img.lazy')); -if (homePage === 'boys') { - $('.slide-container').slider({ - pagination: '.thumb-pagination' - }); -} else { - $('.center-col').slider(); - $('.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: 0 -}); - -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 -}; - -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; - -module.exports = me; -}); -define("js/common/new-arrivls", ["jquery","lazyload","handlebars","source-map"], function(require, exports, module){ -var $ = require("jquery"), - lazyload = require("lazyload"); -var Handlebars = require("handlebars"); - -function InfiniteLoad(options) { - var defaults = { - index: 0, - isload: true,//是否正在加载 - isrun: true,//判断是否执行 - offset: { - height: null, - width: null - } - }; - - this.registerEvent = { - before: [], - change: [], - after: [] - }; - - this.options = $.extend(true, {}, defaults, options); - - return this; -} - -InfiniteLoad.prototype.on = function(name, callback) { - var g = this; - var _e = g.registerEvent[name]; - - if (_e) { - _e.push(callback); - } - return _e; -}; - -InfiniteLoad.prototype.exect = function(key, params) { - var g = this; - var e; - - if (g.registerEvent[key] && g.registerEvent[key].length > 0) { - for (e in g.registerEvent[key]) { - if (g.registerEvent[key].hasOwnProperty(e)) { - g.registerEvent[key][e](params); - } - } - } -}; - -InfiniteLoad.prototype.init = function() { - var g = this; - var p = this.options; - - function __loadMore() { - - if (p.isrun && p.isload && g.__directionCalculation()) { - p.isload = false; - p.index++; - g.exect('after', p); - } - - g.exect('change', p); - } - - g.exect('before', p); - - $(window).scroll(__loadMore); -}; - -InfiniteLoad.prototype.emit = function() { - var p = this.options; - - p.isload = true; -}; - -InfiniteLoad.prototype.stop = function() { - var p = this.options; - - p.isrun = false; - p.isload = false; -}; - -InfiniteLoad.prototype.__directionCalculation = function() { - var p = this.options; - - if (p.offset.height && p.offset.height() > 0 && $(window).scrollTop() + $(window).height() >= p.offset.height()) { - return true; - } - return false; -}; - -module.exports = function(data) { - var $container = $('#newarrivals .goods-container'); - var $load = $('.loading a'); - var load = new InfiniteLoad({ - index: 1, - isload: false, - offset: { - height: function() { - return parseFloat($container.offset().top) + parseFloat($container.height()) - 200; - } - } - }); - var loadAjax; - var url = data.url, - count = data.count, - rows = data.rows; - - data.pageIndex = 0; - - delete data.url; - delete data.count; - delete data.rows; - - loadAjax = function(url, data, count) { - - var options = { - type: 'POST', - url: url, - success: function(result) { - var code = result.code; - var myTemplate,len,pos; - - if (code === 200) { - len = result.goods.length % count; - pos = result.goods.length - len - 1; - - result.goods.splice(pos, len); - - myTemplate = Handlebars.compile(load.tpl); - - $container.append(myTemplate(result.goods)); - data.pageIndex = data.pageIndex + result.goods.length; - - //懒加载插件貌似有点问题,图片先直接展示 - lazyload($container.find('img.lazy')); - - load.emit(); - } else { - - load.stop(); - $load.html('查看更多'); - } - }, - error: function() { - - load.stop(); - $load.html('网络断开连接了~'); - } - }; - - options.data = data; - $.ajax(options); - }; - - - load.on('after', function(p) { - - data.pageCount = count * rows[1]; - - loadAjax(url, data); - }); - - load.on('before', function(p) { - - - load.tpl = '{{#each this}}'; - load.tpl += '<div class="good-info imgopacity" data-skn="{{skn}}">'; - load.tpl += ' <div class="tag-container clearfix">'; - load.tpl += ' {{# tags}}'; - load.tpl += ' {{# isNew}}'; - load.tpl += ' <span class="good-tag new-tag">NEW</span>'; - load.tpl += ' {{/ isNew}}'; - load.tpl += ' {{# isReNew}}'; - load.tpl += ' <span class="good-tag renew-tag">再到着</span>'; - load.tpl += ' {{/ isReNew}}'; - load.tpl += ' {{# isSale}}'; - load.tpl += ' <span class="good-tag sale-tag">SALE</span>'; - load.tpl += ' {{/ isSale}}'; - load.tpl += ' {{# isNewFestival}}'; - load.tpl += ' <span class="good-tag new-festival-tag">新品节</span>'; - load.tpl += ' {{/ isNewFestival}}'; - load.tpl += ' {{# isLimit}}'; - load.tpl += ' <span class="good-tag limit-tag">限量商品</span>'; - load.tpl += ' {{/ isLimit}}'; - load.tpl += ' {{# isYearEndPromotion}}'; - load.tpl += ' <span class="good-tag yep-tag">年终大促</span>'; - load.tpl += ' {{/ isYearEndPromotion}}'; - load.tpl += ' {{# isYearMidPromotion}}'; - load.tpl += ' <span class="good-tag ymp-tag">年中热促</span>'; - load.tpl += ' {{/ isYearMidPromotion}}'; - load.tpl += ' {{/ tags}}'; - load.tpl += ' </div>'; - load.tpl += ' <div class="good-detail-img">'; - load.tpl += ' <a class="good-thumb" href="{{url}}" target= "_blank">'; - load.tpl += ' <img class="lazy" data-original="{{thumb}}">'; - load.tpl += ' </a>'; - load.tpl += ' {{# isFew}}'; - load.tpl += ' <p class="few-tag">即将售罄</p>'; - load.tpl += ' {{/ isFew}}'; - - load.tpl += ' {{#if showColBtn}}'; - load.tpl += ' <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>'; - load.tpl += ' {{/if}}'; - load.tpl += ' </div>'; - load.tpl += ' <div class="good-detail-text">'; - load.tpl += ' <a href="{{url}}" target= "_blank">{{name}}</a>'; - load.tpl += ' <p class="price">'; - load.tpl += ' <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">'; - load.tpl += ' ¥{{salePrice}}'; - load.tpl += ' </span>'; - load.tpl += ' {{# marketPrice}}'; - load.tpl += ' <span class="market-price">¥{{.}}</span>'; - load.tpl += ' {{/ marketPrice}}'; - load.tpl += ' </p>'; - load.tpl += ' </div>'; - load.tpl += '</div>'; - load.tpl += '{{/each}}'; - - - data.pageCount = count * rows[0]; - - loadAjax(url, data, data.count); - - //load.emit(); - }); - - load.init(); - -}; -}); -define("js/brand/index", ["jquery","lazyload","handlebars","source-map","dot"], function(require, exports, module){ -/** - * 首页 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/11/23 - */ - -var $ = require("jquery"), - lazyLoad = require("lazyload"); - - -require("js/common/slider"); -require("js/brand/brands"); - -lazyLoad($('img.lazy')); -$('.slide-container').slider({ - orient: true -}); -}); -define("js/brand/brands", ["jquery","handlebars","source-map","dot"], function(require, exports, module){ -var $ = require("jquery"), - Handlebars = require("handlebars"), - dot = require("dot"); - -var $tabs = $('.brands-tabs'); -var $list = $('.brands-list'); -var $gory = $('.brands-category'); -var $news = $('.news-txt ul'); -var $clearfix = $list.find('dl.clearfix'); -var $brand = $list.find('li>a'); -var $category = $gory.find('a'); -var $tab = $tabs.find('li>a'); -var $arr = $tabs.find('.hoverarr'); -var $thisTab; - -var categoryHeight = $category.height(); -var categoryTop = $category.offset() ? $category.offset().top : 0; -var newsHeight = $news.height(); -var newsTop = $news.offset() ? $news.offset().top : 0; -var timeout, _id; - - -//用于临时存储数据 -var tempdata = {}; - -var templete = '<div class="brands-dialog">'; - -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>'; -templete += '</div>'; - -dot($('.brand-desc')); - -$.easing.easeOutQuint = function(x, t, b, c, d) { - return c * ((t = t / d - 1) * t * t * t * t + 1) + b; -}; - -function getQueryString(name) { - var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)'); - var r = window.location.search.substr(1).match(reg); - - if (r != null) { - return window.unescape(r[2]); - } - return null; -} - -// 格式化资讯NEWS标题数量 -if ($news.length) { - $news.find('li').each(function() { - var $dom = $(this); - var domHeight = $dom.offset().top - newsTop + $dom.height(); - - if (domHeight > newsHeight) { - $dom.hide(); - } - }); -} - -//头部图片TAB切换展示 -$tab.eq(0).parent('li').find('.brands-content').css('z-index', '1'); - -_id = getQueryString('id') ? getQueryString('id') : 0; - -// 设置对应TAB选中 -$thisTab = $tab.eq(_id); -$thisTab.find('.g-mask').addClass('g-mask-on'); - -if (_id && $thisTab.length) { - $arr.css({ - left: parseFloat($thisTab.offset().left) - parseFloat($tabs.offset().left) - }); -} -$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'); - }, 50); - $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; - - if (!$gory.hasClass('category-fix')) { - targetTop -= 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 $parent = $this.parent('li'); - var myTemplate; - - $list.find('.brands-dialog').remove(); - myTemplate = Handlebars.compile(templete); - $parent.append(myTemplate(data)); - dot($parent.find('.right')); - - if (offset.right - 350 < 0) { - $parent.find('.brands-layer') - .addClass('brands-layer-right').css('left', -330 - offset.width); - } -} - -//鼠标悬浮品牌,请求数据,并且展示 -function bindHoverEvent() { - $brand.unbind('mouseenter').unbind('mouseleave').hover(function() { - var $this = $(this); - var key = $this.attr('data-key'); - - var options = { - url: '/brands/brandinfo', - type: 'get', - data: { - brandId: key - }, - 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-dialog').remove(); - }); -} - -if ($clearfix.length < 26) { - $.ajax({ - url: '/brands/brandList', - type: 'POST', - data: { - start: $clearfix.length ? ($clearfix.length + 1) : 1 - }, - success: function(_data) { - if (_data) { - $list.append(_data); - $brand = $list.find('li>a'); - bindHoverEvent(); - } - } - }); -} - -bindHoverEvent(); -}); -define("js/passport/entry", ["jquery","jquery.placeholder"], function(require, exports, module){ -/* - * 密码中心打包入口文件 - */ - -require("js/passport/reg"); -require("js/passport/back"); -require("js/passport/login"); -require("js/passport/reset"); -require("js/passport/vertification"); -require("js/passport/thirdlogin"); -require("js/passport/enablePerfectInformation"); -}); -define("js/passport/reg", ["jquery","jquery.placeholder"], function(require, exports, module){ -/* - * @description 注册页js - * @time 2015/12/14 - */ - -var $ = require("jquery"), - regValidate = require("js/passport/mail-phone-regx"), - computeComplex = require("js/passport/pwd-strength"); - -var $registerPage = $('.register-page'), - $pwdTips = $('#pwd-tips'), - $pwdTip1 = $pwdTips.find('#pwd-tip1'), - $errTip = $('#err-tip'), - $registerBtn = $('#register-btn'); - -var $sendCaptcha = $('#send-captcha'), - caCount = 4, - validateResult = []; - -var $pn = $('#phone-num'), - $mc = $('#msg-captcha'), - $pwd = $('#pwd'), - $repwd = $('#repwd'), - $ca = $('#captcha'); - -// 密码强度验证 -var $pwdIntensity = $('.pwd-intensity'), - $pwdParent = $pwdIntensity.closest('.pwd-intensity-container'); - -//signup验证 -var $region = $('#country-code'), - $regionSelect = $('#region'), - isPwd = false, - pwdVal; - -var $curErrContainer; - -require("jquery.placeholder"); - -setTimeout(function() { - $pn.val(''); - $mc.val(''); - $pwd.val(''); - $repwd.val(''); - $ca.val(''); -}, 0); - -//验证码位数 -$ca.attr('maxlength', caCount); - -//密码规则提示 -$pwd.focus(function(event) { - $pwdTips.removeClass('hide'); - isPwd = true; - pwdVal = $(this).val(); -}).blur(function() { - $pwdTips.addClass('hide'); - isPwd = false; -}); - - -//IE8 placeholder -$('[placeholder]').placeholder(); - -// 存储校验信息 -validateResult = [ - { - id: 'phone-num', - message: '', //错误信息 - status: false //当前的状态 - }, - { - id: 'captcha', - message: '', - status: false - }, - { - id: 'msg-captcha', - message: '', - status: false - }, - { - id: 'pwd', - message: '', - status: false - }, - { - id: 'repwd', - message: '', - status: false - } -]; - -//手机号ajax校验 -function phoneAjaxFn(page, callback) { - var url, - data; - - if (page === 'reg') { - url = '/passport/register/checkmobile'; - data = { - mobile: $pn.val(), - area: $region.text().split('+')[1] - }; - } else if (page === 'third') { - url = '/passport/autouserinfo/bindCheck'; - data = { - mobile: $pn.val(), - area: $region.text().split('+')[1], - openId: $('#open-id').val(), - sourceType: $('#source-type').val() - }; - } - - $.ajax({ - url: url, - type: 'POST', - data: data - }).then(function(data) { - switch (data.code) { - case 200: - validateResult[0].message = ''; - validateResult[0].status = true; - break; - case 400: - validateResult[0].message = data.message; - validateResult[0].status = false; - break; - } - - callback(); - }); -} - -//图形验证码ajax校验 -function picCaptchaAjaxFn(page, callback) { - var url; - - if (page === 'reg') { - url = '/passport/register/piccaptcha'; - } else if (page === 'third') { - url = '/passport/autouserinfo/checkPicCode'; - } - $.ajax({ - type: 'POST', - url: url, - data: { - verifyCode: $ca.val() - - //mobile: $pn.val(), - //area: $region.text().split('+')[1] - } - }).then(function(data) { - switch (data.code) { - case 200: - validateResult[1].message = ''; - validateResult[1].status = true; - break; - case 400: - validateResult[1].message = '图形验证码错误'; - validateResult[1].status = false; - break; - } - callback(); - }); -} - -//短信验证码ajax校验 -function msgCaptchaAjaxFn(page, callback) { - var url; - - if (page === 'reg') { - url = '/passport/register/msgcaptcha'; - } else if (page === 'third') { - url = '/passport/autouserinfo/checkBindMsg'; - } - $.ajax({ - type: 'POST', - url: url, - data: { - code: $mc.val(), - mobile: $pn.val(), - area: $region.text().split('+')[1] - } - }).then(function(data) { - switch (data.code) { - case 200: - validateResult[2].message = ''; - validateResult[2].status = true; - break; - case 400: - validateResult[2].message = '短信验证码错误'; - validateResult[2].status = false; - break; - } - - callback(); - }); -} - -// 验证 -function validateRule(page, $element, callback) { - - var val = $.trim($element.val()), - regionCode, - pwdReg = /^(?![^a-zA-Z]+$)(?!\D+$).{6,20}$/; - - // 根据需求http://redmine.yoho.cn/issues/3117改成上边的正则 - // 对应的错误提示语也改了,感觉要不了多久就会改回来 - // pwdReg = /^([a-zA-Z0-9\-\+_!@\#$%\^&\*\(\)\:\;\.=\[\]\\\',\?]){6,20}$/gi; - - //手机号校验 - if ($element.hasClass('phone-num')) { - - regionCode = $region.text(); - - if (val === '') { - validateResult[0].message = '请输入手机号码'; - validateResult[0].status = false; - callback(); - - } else if (!regValidate.phoneRegx[regionCode].test(val)) { - validateResult[0].message = '手机号码格式不正确,请重新输入'; - validateResult[0].status = false; - callback(); - - } else { - phoneAjaxFn(page, callback); - } - - //图形验证码校验 - } else if ($element.hasClass('captcha')) { - if (val === '') { - validateResult[1].message = '请输入图形验证码'; - validateResult[1].status = false; - callback(); - - } else if (val.length <= 3) { - validateResult[1].message = '图形验证码为4位'; - validateResult[1].status = false; - callback(); - - } else { - - // 并且手机号正确 - if (validateResult[0].status) { - picCaptchaAjaxFn(page, callback); - } else { - validateResult[1].message = '图形验证码错误'; - validateResult[1].status = false; - callback(); - } - - } - - //短信验证码校验 - } else if ($element.hasClass('msg-captcha')) { - - if (val === '') { - validateResult[2].message = '请输入短信验证码'; - validateResult[2].status = false; - callback(); - - } else if (val.length <= 3) { - validateResult[2].message = '短信验证码错误'; - validateResult[2].status = false; - callback(); - - } else { - - // 并且图形验证码正确 - if (validateResult[1].status) { - msgCaptchaAjaxFn(page, callback); - } else { - validateResult[2].message = '短信验证码错误'; - validateResult[2].status = false; - callback(); - } - } - - //密码校验 - } else if ($element.hasClass('pwd')) { - if (val === '') { - validateResult[3].message = '请输入密码'; - validateResult[3].status = false; - - } else if (val.length < 6 || val.length > 20) { - validateResult[3].message = '密码只支持6-20位字符'; - validateResult[3].status = false; - - } else if (!pwdReg.test($element.val())) { - validateResult[3].message = '密码只支持6-20位字符,建议字母+数字的组合。'; - validateResult[3].status = false; - - } else { - validateResult[3].message = ''; - validateResult[3].status = true; - } - callback(); - - //二次密码校验 - } else if ($element.hasClass('repwd')) { - if (val === '') { - validateResult[4].message = '请输入密码确认'; - validateResult[4].status = false; - - } else if ($pwd.val() !== val) { - validateResult[4].message = '与密码不一致,请重新输入'; - validateResult[4].status = false; - - } else { - validateResult[4].message = ''; - validateResult[4].status = true; - - } - - callback(); - } -} - -function posErrTip() { - var tipPos = $curErrContainer.offset(); - - return $errTip.css({ - top: tipPos.top - 40, - left: tipPos.left - }); -} - -//显示提示信息 -function showErrTip() { - - var show = false, - i, - validateResultLen = validateResult.length; - - for (i = 0; i < validateResultLen; i++) { - if (!show) { - - //不可以通过status判断 - if (!!validateResult[i].message) { - - //显示错误提示 - $errTip.find('span').text(validateResult[i].message); - $curErrContainer = $('#' + validateResult[i].id); - posErrTip().removeClass('hide'); - - show = true; //停止判断 - } else { - $errTip.addClass('hide'); - } - } - } -} - -//显示红色边框 -function showBorder() { - - var $errInput, - i, - validateResultLen = validateResult.length; - - for (i = 0; i < validateResultLen; i++) { - if (!!validateResult[i].message) { - - //显示红色边框 - $errInput = $('#' + validateResult[i].id); - $errInput.addClass('error'); - - } else { - - //去掉红色边框 - $errInput = $('#' + validateResult[i].id); - $errInput.removeClass('error'); - } - } -} - -// 密码强度验证 -function pwdFn($obj) { - var pwd = $obj.val(), - pwdStrength = computeComplex(pwd), - level = 0; - - if (pwdStrength === 0) { - level = 0; - } else if (pwdStrength <= 10) { - level = 1; - } else if (pwdStrength <= 20) { - level = 2; - } else { - level = 3; - } - - switch (level) { - case 0: - $pwdParent.removeClass('red yellow green'); - $pwdIntensity.removeClass('color'); - break; - case 1: - $pwdParent.addClass('red').removeClass('yellow green'); - $pwdIntensity.filter('.low').addClass('color'); - $pwdIntensity.filter('.mid,.high').removeClass('color'); - break; - case 2: - $pwdParent.addClass('yellow').removeClass('red green'); - $pwdIntensity.filter('.low,.mid').addClass('color'); - $pwdIntensity.filter('.high').removeClass('color'); - break; - case 3: - $pwdParent.addClass('green').removeClass('yellow red'); - $pwdIntensity.addClass('color'); - break; - } - - //提示框 - if (pwd === '') { - $pwdTip1.removeClass('red yes no').addClass('default'); - } else if (pwd.length < 6 || pwd.length > 20) { - $pwdTip1.removeClass('default yes').addClass('no red'); - } else { - $pwdTip1.removeClass('default no red').addClass('yes'); - } -} - -//重新定位错误提示 -$(window).resize(function() { - if ($errTip.hasClass('hide')) { - return; - } - - posErrTip(); -}); - -// 失去焦点时开始校验 -// Tips: 不可以在获得焦点的时候验证,获得焦点和失去焦点的间隔太小,如果中间存在ajax校验的话会出现问题 -// ( ▼-▼ )注册页和信息完善页面接口不同 -exports.init = function(page) { - - $('#agree-terms').click(function() { - if ($(this).attr('notchecked')) { - $(this).removeAttr('notchecked'); - $registerBtn.addClass('disable').attr('disabled', 'true'); - } - }); - - // 按回车键提交 - $registerPage.on('keydown', function(e) { - var key = e.which; - - if (key === 13) { - $registerBtn.click(); - } - }); - - $registerPage.find('.va').keyup(function() { - - var j, - statusLen = 0, - vLen = validateResult.length, - $that = $(this); - - validateRule(page, $(this), function() { - showErrTip(); // 显示错误提示 - showBorder(); // 显示红色边框 - - // 如果validateResult中有4个status为true表示验证通过 - for (j = 0; j < vLen; j++) { - - if (validateResult[j].status) { - - statusLen++; - } - - } - - if (statusLen === 4 && !$('#agree-terms').attr('notchecked')) { - $registerBtn.removeClass('disable').removeAttr('disabled'); - } else { - $registerBtn.addClass('disable').attr('disabled', 'true'); - } - - // 图形验证通过时,发送短信按钮可点击 - if (validateResult[1].status) { - $sendCaptcha.removeClass('disable'); - } else { - $sendCaptcha.addClass('disable'); - } - - //图形验证通过时,发送短信按钮可点击 end - - }); - - // 如果是密码则校验强度 - if (($that).hasClass('pwd')) { - pwdFn($that); - } - - }).blur(function() { - - /*validateRule($(this), function() { - showErrTip(); - showBorder(); // 显示红色边框 - });*/ - }); - - $regionSelect.change(function() { - - $region.text($('#region').val()); - - validateRule(page, $pn, showErrTip); //验证 - }); - - // 点击发送验证码 - $sendCaptcha.click(function() { - var timeResidue = 60, - t, - url; - - if ($(this).hasClass('disable')) { - return; - } - - $sendCaptcha.addClass('disable'); - - t = setInterval(function() { - if (timeResidue <= 0) { - $sendCaptcha.removeClass('disable').val('获取短信验证码'); - clearInterval(t); - return; - } - $sendCaptcha.val(timeResidue-- + '秒可重新发送'); - }, 1000); - - if (page === 'reg') { - url = '/passport/register/sendBindMsg'; - } else if (page === 'third') { - url = '/passport/autouserinfo/sendBindMsg'; - } - - //todo ajax 发送验证码 - $.ajax({ - type: 'POST', - url: url, - data: { - area: $region.text().split('+')[1], - mobile: $pn.val(), - verifyCode: $ca.val() - } - }); - }); - - // 防止粘贴密码 - $pwd[0].onpaste = function() { - return false; - }; - - //ajax表单提交 - $registerBtn.click(function() { - var url; - - if (page === 'reg') { - url = '/passport/register/mobileregister'; - } else if (page === 'third') { - url = '/passport/autouserinfo/bindMobile'; - } - - if ($(this).hasClass('disable')) { - return; - } else { - - //ajax提交 - $.ajax({ - type: 'POST', - url: url, - data: { - area: $region.text().split('+')[1], - mobile: $pn.val(), - verifyCode: $ca.val(), - code: $mc.val(), - password: $pwd.val() - } - }).then(function(data) { - - var time = 0, - t, - refer; - - if (data.code === 200) { - - refer = data.data.href; - - t = setTimeout(function() { - time++; - }, 1000); - - $.ajax({ - type: 'GET', - url: data.data.session - }).then(function(data) { - - if (data.code === 200 && t < 3) { - clearInterval(t); - location.href = refer; - } - }); - - if (t >= 3) { - clearInterval(t); - location.href = refer; - } - } else { - - //todo - console.log('网络超时~'); - } - - }); - } - }); - - $('.change-captcha').click(function() { - var time = new Date(), - $captchaImg = $('.captcha-img'), - captchaImgSrc = $captchaImg.attr('src').split('?')[0]; - - $captchaImg.attr('src', captchaImgSrc + '?t=' + time.getTime()); - }); -}; - -}); -define("js/passport/mail-phone-regx", [], function(require, exports, module){ -/** - * 国家区号Map手机号码以及邮箱验证正则 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/12/11 - */ - -var countryPhoneRegx = { - '+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]{1}[0-9]{8}$/, - '+81': /^0[9|8|7][0-9]{9}$/, - '+61': /^[0-9]{11}$/ -}; - -var emailRegx = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/; - -exports.phoneRegx = countryPhoneRegx; - -exports.emailRegx = emailRegx; -}); -define("js/passport/pwd-strength", [], function(require, exports, module){ -/* - * 计算密码复杂度 - */ - -function gettype(str, i) { - if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { - return 1; - } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { - return 2; - } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { - return 3; - } - - return 4; -} - -function isregular(cur, pre, type) { - var curCode = cur.charCodeAt(0); - var preCode = pre.charCodeAt(0); - - if (curCode - preCode === 0) { - return true; - } - - if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { - return true; - } - - return false; -} - -function getcomplex(curType, preType) { - if (preType === 0 || curType === preType) { - return 0; - } else if (curType === 4 || preType === 4) { - return 2; - } else { - return 1; - } -} - -function computeComplex(password) { - var complex = 0, - length = password.length, - pre = '', - preType = 0, - i = 0, - cur, - curType; - - - for (i = 0; i < length; i++) { - cur = password.charAt(i); - curType = gettype(password, i); - - if (preType !== curType || !isregular(cur, pre, curType)) { - complex += curType + getcomplex(curType, preType); - } - - pre = cur; - preType = curType; - } - - return complex; -} - -module.exports = computeComplex; -}); -define("js/passport/back", ["jquery","jquery.placeholder"], function(require, exports, module){ -/** - * 找回密码 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/12/14 - */ - -var $ = require("jquery"), - phoneRegx = require("js/passport/mail-phone-regx").phoneRegx; - -var $cr = $('#country-code-hide'), - $phoneNum = $('#phone-num'), - $ca = $('#captcha'), - $tipPanel = $('#tip-panel'), - emailReg = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/, - acAccount = [ - ['qq.com', '163.com', '126.com', 'sina.com', 'gmail.com', - 'sohu.com', 'hotmail.com', '139.com', '189.com' - ], //数字顺序 - ['gmail.com', 'qq.com', '163.com', '126.com', 'sina.com', - 'sohu.com', 'hotmail.com', '139.com', '189.com' - ] //组合顺序 - ], - $ccList = $('#country-code-list'), - $cc = $('#country-code'), - $btn = $('#find-btn'), - $accErr = $('#account-err'), - $caErr = $('#captcha-err'), - time, //timeout-id - caCount = 4, //验证码位数 - hasPh = false, - hasCa = false; - -require("jquery.placeholder"); - - -function imgcode() { - var time = new Date(), - $captchaImg = $('#captcha-img'), - captchaImgSrc = $captchaImg.attr('src').split('?')[0]; - - $('#captcha-img').attr('src', captchaImgSrc + '?t=' + time.getTime()); -} - -function enableBtn() { - if (hasPh && hasCa) { - $btn.removeClass('disable').prop('disabled', false); - } else { - $btn.addClass('disable').prop('disabled', true); - } -} - -function vaPn(v) { - var pass = true, - errTxt = ''; - - v = $.trim(v); - if (v !== '') { - if (/^[0-9]+$/.test(v)) { - if (phoneRegx[$cr.val()].test(v)) { - pass = true; - } else { - errTxt = '手机号码格式不正确, 请重新输入'; - pass = false; - } - } else { - if (emailReg.test(v)) { - pass = true; - } else { - errTxt = '邮箱格式不正确, 请重新输入'; - pass = false; - } - } - } else { - errTxt = '账户名不能为空'; - pass = false; - } - hasPh = pass; - return { - pass: pass, - errTxt: errTxt - }; -} - -function vaCa() { - var v = $.trim($ca.val()); - - if (v === '' || v.length < caCount) { - hasCa = false; - enableBtn(); - return; - } else { - $.ajax({ - type: 'POST', - url: '/passport/back/authcode', - data: { - verifyCode: v, - phoneNum: $('#phone-num').val(), - area: $('#country-code-hide').val() - } - - }).then(function(data) { - if (data.code === 200) { - hasCa = true; - } else if (data.code === 402) { - hasPh = false; - hasCa = true; - $accErr.removeClass('hide').find('em').text('该账号不存在'); - $phoneNum.addClass('error'); - } else if (data.code === 400) { - hasCa = false; - imgcode(); - } - enableBtn(); - }); - } -} - -$ca.attr('maxlength', caCount); - -//IE8 placeholder -$('input').placeholder(); - -$('#change-captcha, #captcha-img').on('click', function() { - imgcode(); -}); - -$cc.on('click', function(e) { - e.stopPropagation(); - if ($ccList.css('style') === 'block') { - $ccList.slideUp('fast'); - } else { - $ccList.slideDown('fast'); - } -}); - -$ccList.delegate('li', 'click', function(e) { - var $cur = $(this), - code = $cur.data('cc'), - pnVa; - - e.stopPropagation(); - $cr.val(code); - $cc.find('em').html($cur.text()); - - //切换后验证手机号码 - if ($.trim($phoneNum.val()) !== '') { - pnVa = vaPn($phoneNum.val()); - enableBtn(); - if (hasPh) { - $accErr.addClass('hide'); - $phoneNum.removeClass('error'); - } else { - $accErr.removeClass('hide').text(pnVa.errTxt); - $phoneNum.addClass('error'); - } - } - $ccList.slideUp('fast'); -}); - -$(document).click(function() { - if ($tipPanel.css('display') === 'block') { - $tipPanel.slideUp(); - } - if ($ccList.css('display') === 'block') { - $ccList.slideUp(); - } -}); - -$phoneNum.keyup(function() { - var account = $.trim($(this).val()), - html = '', - acs, - i; - - //输入@时显示自动补全列表 - if (account.indexOf('@') !== -1 && account.lastIndexOf('@') === account.indexOf('@')) { - if (/^[0-9]*@$/.test(account)) { - - //数字顺序 - acs = acAccount[0]; - } else { - acs = acAccount[1]; - } - for (i = 0; i < acs.length; i++) { - html += '<li>' + account.slice(0, account.indexOf('@')) + '@' + acs[i] + '</li>'; - } - $tipPanel.html(html).slideDown(); - } else { - $tipPanel.slideUp(); - } - vaPn(account); - enableBtn(); -}).blur(function() { - time = setTimeout(function() { - var pnVa = vaPn($phoneNum.val()); - - if (pnVa.pass) { - $accErr.addClass('hide'); - $phoneNum.removeClass('error'); - } else { - $accErr.removeClass('hide').find('em').text(pnVa.errTxt); - $phoneNum.addClass('error'); - } - }, 170); -}).focus(function() { - $(this).removeClass('error'); - - //focus隐藏错误提示 - $accErr.addClass('hide'); -}); - -//验证码在鼠标移开后验证, keyup时不再验证 -$ca.blur(function() { - var errTxt = $.trim($ca.val()) === '' ? '验证码不能为空' : '验证码不正确'; - - if (hasCa) { - $caErr.addClass('hide'); - $ca.removeClass('error'); - } else { - $caErr.removeClass('hide').find('em').text(errTxt); - $ca.addClass('error'); - - //验证码错误则刷新验证码 - imgcode(); - } -}).focus(function() { - $(this).removeClass('error'); - - //focus隐藏错误提示 - $caErr.addClass('hide'); -}).keyup(function() { - vaCa(); -}); - -$tipPanel.delegate('li', 'click', function(e) { - var account = $(this).text(), - pnVa; - - e.stopPropagation(); - $phoneNum.val(account); - if (time) { - clearTimeout(time); - pnVa = vaPn(account); - enableBtn(); - if (pnVa.pass) { - $accErr.addClass('hide'); - $phoneNum.removeClass('error'); - } else { - $accErr.removeClass('hide').find('em').text(pnVa.errTx); - $phoneNum.addClass('error'); - } - time = null; - } - $tipPanel.slideUp(); -}); - -$('#find-btn').click(function(e) { - - if (/^[0-9]+$/.test($.trim($phoneNum.val()))) { - $('#find-form').attr('action', '/passport/back/mobile'); - } - if ($(this).hasClass('disable')) { - return; - } - if (!hasCa || !hasPh) { - e.preventDefault(); - return true; - } -}); -}); -define("js/passport/login", ["jquery","jquery.placeholder"], function(require, exports, module){ -/** - * 登录 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/12/11 - */ -var $ = require("jquery"); - -var mailPostfix = { - num: ['qq.com', '163.com', '126.com', 'sina.com', 'gmail.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'], - other: ['gmail.com', 'qq.com', '163.com', '126.com', 'sina.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'] -}; - -var $account = $('#account'), - $password = $('#password'), - $captcha = $('#captcha'); - -var $accountTip = $account.siblings('.err-tip'), - $passwordTip = $password.siblings('.err-tip'), - $captchaTip = $captcha.siblings('.err-tip'), - $capsLock = $('#caps-lock'); - -var $countryCodeHide = $('#country-code-hide'), - $countryCodeEm = $('#country-code > em'), - $countryList = $('#country-list'); - -var $emailAutoComplete = $('#email-autocomplete'); - -var mailPhoneRegx = require("js/passport/mail-phone-regx"); - -var $remember = $('.remember-me'); - -var captchaUrl = '/passport/images?t='; // /passport/images?t=1454464125 - -var $captchaWrap = $('.captcha-wrap'), - $captcha = $captchaWrap.find('#captcha'), - $captchaImg = $captchaWrap.find('#captcha-img'), - $captchaTip = $captchaWrap.find('.err-tip'); - -//checkbox status unicode -var checkbox = { - checked: '', - unchecked: '' -}; - -var authing = false; - -var emailAcTime; - -require("jquery.placeholder"); - - -//验证账户名 -function validateAccount() { - var pass = false, - account = $.trim($account.val()), - err; - - if (account !== '') { - if (/^[0-9]+$/.test(account)) { - - //如果是纯数字,则作为手机号码处理 - if (mailPhoneRegx.phoneRegx[$countryCodeHide.val()].test(account)) { - pass = true; - } else { - pass = false; - err = '手机号码不正确,请重新输入'; - } - } else { - if (mailPhoneRegx.emailRegx.test(account)) { - pass = true; - } else { - pass = false; - err = '邮箱格式不正确,请重新输入'; - } - } - } else { - err = '请输入账户名'; - } - - if (pass) { - $accountTip.addClass('hide'); - $account.removeClass('error'); - } else { - $accountTip.removeClass('hide').children('em').text(err); - $account.addClass('error'); - } - return pass; -} - -//验证密码 -function validatePassword() { - var pass = false, - password = $.trim($password.val()), - err; - - if (password !== '') { - if (password.length < 6) { - err = '请输入长度为6-20字符的密码'; - } else { - pass = true; - } - } else { - err = '请输入密码'; - } - - if (pass) { - $passwordTip.addClass('hide'); - $password.removeClass('error'); - } else { - $passwordTip.removeClass('hide').children('em').text(err); - $password.addClass('error'); - } - return pass; -} - -//验证验证码 -function validateCaptcha() { - var pass = false, - captcha = $.trim($captcha.val()), - err; - - // 验证码不可见的时候不验证 - if ($captchaWrap.is(':hidden')) { - return true; - } - - if (captcha !== '') { - if (captcha.length !== 4) { - err = '请输入长度为4字符的验证码'; - } else { - pass = true; - } - } else { - err = '请输入验证码'; - } - - if (pass) { - $captchaTip.addClass('hide'); - $captcha.removeClass('error'); - } else { - $captchaTip.removeClass('hide').children('em').text(err); - $captcha.addClass('error'); - } - return pass; -} - -//验证 -function validate() { - var pass = true, - account = $.trim($account.val()), - password = $.trim($password.val()); - - if (account !== '') { - pass = validateAccount() && validatePassword() && validateCaptcha(); - } else { - pass = false; - $account.addClass('error'); - - if (password === '') { - - //账户名和密码都为空的情况下点击登陆,只在账户输入框后显示错误提示 - $accountTip.addClass('both-error').removeClass('hide').children('em').text('请输入账户名和密码'); - $passwordTip.addClass('hide'); - $password.addClass('error'); - } else { - $accountTip.removeClass('hide').children('em').text('请输入账户名'); - } - } - - return pass; -} - -$('[placeholder]').placeholder(); - -//展开地区列表 -$('#country-code').on('click', function() { - if ($countryList.css('display') === 'none') { - $countryList.slideDown(); - } -}); - -//选中地区列表项 -$countryList.on('click', 'li', function() { - var $this = $(this), - cc = $this.data('cc'); - - $countryCodeEm.html($this.html()); - - $countryCodeHide.val(cc); - - $countryList.slideUp(); -}); - -//点击其他区域,收起区域列表 -$(document).on('click', function(e) { - if ($(e.target).closest('#country-code').length > 0) { - return; - } - - if ($countryList.css('display') === 'block') { - $countryList.slideUp(); - } -}); - -//邮箱 -$account.on('keyup', function() { - var account = $.trim($(this).val()), - html = '', - accountMatch, - matchStr, - postfix, - i; - - //输入@时自动补全邮箱后缀 - //此处>0非错误,用于避免输入的第一个字符为@被识别为邮箱 - if (account.indexOf('@') > 0) { - accountMatch = account.match(/^[0-9]+@(.*)/); - if (accountMatch) { - - //数字邮箱补全 - postfix = mailPostfix.num; - matchStr = accountMatch[1]; - } else { - postfix = mailPostfix.other; - matchStr = account.match(/@(.*)/)[1]; - } - - for (i = 0; i < postfix.length; i++) { - if (postfix[i].indexOf(matchStr) > -1) { - html += '<li>' + account.slice(0, account.indexOf('@')) + '@' + postfix[i] + '</li>'; - } - } - - if (html !== '' && /.com$/.test(account) === false) { - $emailAutoComplete.html(html).removeClass('hide'); - } else { - - //隐藏autocomplete - $emailAutoComplete.html('').addClass('hide'); - } - } -}).on('blur', function() { - emailAcTime = setTimeout(function() { - $emailAutoComplete.addClass('hide'); - - //验证账户格式是否输入正确后,判断是否输错用户名和密码超过三次,若超过则显示验证码 - if (validateAccount()) { - $.ajax({ - url: '/passport/login/account', - type: 'GET', - data: { - account: $.trim($account.val()) - } - }).then(function(res) { - if (res.data && res.data.needCaptcha) { - $captchaImg.attr('src', captchaUrl + $.now()); - $captchaWrap.removeClass('hide'); - } - }); - } - }, 200); -}); - -//密码 -$password.on('blur', function() { - validatePassword(); - - if ($capsLock.hasClass('hide')) { - return; - } - - $capsLock.addClass('hide'); -}).on('keypress', function(e) { - var code = e.which; - - //CapsLock检测 - if (code >= 65 && code <= 90) { - $capsLock.removeClass('hide'); - return; - } - $capsLock.addClass('hide'); -}); - -// 验证码 -$captcha.on('blur', function() { - validateCaptcha(); -}); - -//邮箱自动完成列表项点击 -$emailAutoComplete.on('click', 'li', function() { - clearTimeout(emailAcTime); //清空默认关闭 - - $account.val($(this).text()).focus(); - - $emailAutoComplete.addClass('hide'); -}); - -//记住登录状态 -$remember.on('click', function() { - var $this = $(this); - - $this.toggleClass('checked'); - - if ($this.hasClass('checked')) { - $this.children('i').html(checkbox.checked); - } else { - $this.children('i').html(checkbox.unchecked); - } -}); - -//focus到输入框则隐藏错误提示和样式 -$('.va').on('focus', function() { - var $this = $(this); - - $this.removeClass('error'); - - $this.siblings('.err-tip').addClass('hide'); -}); - -// 验证码刷新 -$captchaWrap.on('click', '.change-captcha, .captcha-img', function() { - $captchaImg.attr('src', captchaUrl + $.now()); -}); - -//登录 -$('#login-btn').on('click', function() { - var pass = validate(); - - if (pass && authing === false) { - authing = true; - - $.ajax({ - url: '/passport/login/auth', - type: 'POST', - data: { - areaCode: $countryCodeHide.val().replace('+', ''), - account: $.trim($account.val()), - password: $.trim($password.val()), - captcha: $.trim($captcha.val()), - isRemember: $remember.hasClass('checked') ? true : false - }, - success: function(res) { - if (res.code === 200) { - if (res.data) { - - //防止data.data为undefined时下行语句执行出错而导致脚本不能走到complete去处理authing - location.href = res.data.session; - } - } else { - if (res.data.errorType === 'captcha') { - $captchaTip.removeClass('hide').children('em').html(res.message); - $captcha.addClass('error').val(''); - } else { - $passwordTip.removeClass('hide').children('em').html(res.message); - $password.addClass('error').val(''); - } - } - }, - complete: function() { - authing = false; - } - }); - } -}); - -}); -define("js/passport/reset", ["jquery","jquery.placeholder"], function(require, exports, module){ -/** - * 找回密码 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/12/14 - */ - -var $ = require("jquery"); - -var $pwd = $('#pwd'), - $repwd = $('#re-input'), - $next = $('#reset-pwd-btn'), - $pwdErr = $('#pwd-err'), - $repwdErr = $('#repwd-err'), - $pwdTips = $('#pwd-tips'); - -var hasNoErrPw = false; - -var $pwdIntensity = $('.pwd-intensity'), - $pwdParent = $pwdIntensity.closest('.pwd-intensity-container'), - $pwdTip1 = $('#pwd-tip1'); - -require("jquery.placeholder"); - - -/* - * 计算密码复杂度 - */ - -function gettype(str, i) { - if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { - return 1; - } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { - return 2; - } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { - return 3; - } - - return 4; -} - -function isregular(cur, pre, type) { - var curCode = cur.charCodeAt(0); - var preCode = pre.charCodeAt(0); - - if (curCode - preCode === 0) { - return true; - } - - if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { - return true; - } - - return false; -} - -function getcomplex(curType, preType) { - if (preType === 0 || curType === preType) { - return 0; - } else if (curType === 4 || preType === 4) { - return 2; - } else { - return 1; - } -} - -function computeComplex(password) { - var complex = 0, - length = password.length, - pre = '', - preType = 0, - i = 0, - cur, - curType; - - - for (i = 0; i < length; i++) { - cur = password.charAt(i); - curType = gettype(password, i); - - if (preType !== curType || !isregular(cur, pre, curType)) { - complex += curType + getcomplex(curType, preType); - } - - pre = cur; - preType = curType; - } - - return complex; -} - -function pwdKeyupEvt() { - var pwd = $pwd.val(), - pwdStrength = computeComplex(pwd), - level = 0; - - //TODO:自定义密码强度规则,需要修正 - if (pwdStrength === 0) { - level = 0; - } else if (pwdStrength <= 10) { - level = 1; - } else if (pwdStrength <= 20) { - level = 2; - } else { - level = 3; - } - switch (level) { - case 0: - $pwdParent.removeClass('red yellow green'); - $pwdIntensity.removeClass('color'); - break; - case 1: - $pwdParent.addClass('red').removeClass('yellow green'); - $pwdIntensity.filter('.low').addClass('color'); - $pwdIntensity.filter('.mid,.high').removeClass('color'); - break; - case 2: - $pwdParent.addClass('yellow').removeClass('red green'); - $pwdIntensity.filter('.low,.mid').addClass('color'); - $pwdIntensity.filter('.high').removeClass('color'); - break; - case 3: - $pwdParent.addClass('green').removeClass('yellow red'); - $pwdIntensity.addClass('color'); - break; - } - - // - if (pwd === '') { - hasNoErrPw = false; - $pwdTip1.removeClass('red yes no').addClass('default'); - } else { - if (pwd.length < 6 || pwd.length > 20) { - hasNoErrPw = false; - $pwdTip1.text('密码只支持6-20位字符').removeClass('default yes').addClass('no red'); - } else if (!/^(?![^a-zA-Z]+$)(?!\D+$).{6,20}$/.test(pwd)) { - hasNoErrPw = false; - $pwdTip1.text('密码只支持6-20位字符,建议字母+数字的组合。').removeClass('default yes').addClass('no red'); - } else { - hasNoErrPw = true; - $pwdTip1.text('密码只支持6-20位字符').removeClass('default no red').addClass('yes'); - } - - //提示2不做验证 - } -} - -//IE8 placeholder -$('input').placeholder(); - -$('.va').keyup(function() { - var pass = true; - - if ($(this).hasClass('pwd')) { - pwdKeyupEvt(); - } else { - if ($(this).val() === '') { - pass = false; - } - } - if (pass && hasNoErrPw && $pwd.val() === $repwd.val()) { - pass = true; - } else { - pass = false; - } - if (pass) { - $next.removeClass('disable').prop('disabled', false); - } else { - $next.addClass('disable').prop('disabled', true); - } -}).blur(function() { - var v = $(this).val(); - - if ($(this).hasClass('pwd')) { - if (v === '') { - $(this).addClass('error'); - $pwdErr.removeClass('hide').find('em').text('请输入密码'); - } else if (v.length < 6 || v.length > 20) { - $(this).addClass('error'); - $pwdErr.removeClass('hide').find('em').text('密码只支持6-20位'); - } else { - $pwdErr.addClass('hide'); - if ($repwd.val() !== '') { - if (v !== $repwd.val()) { - $repwd.addClass('error'); - $repwdErr.removeClass('hide').find('em').text('两次密码输入不一致,请重新输入'); - } else { - $repwd.removeClass('error'); - $repwdErr.addClass('hide'); - } - } - } - } else { - if (v === '') { - $(this).addClass('error'); - $repwdErr.removeClass('hide').find('em').text('请输入密码确认'); - } else { - if ($pwd.val() !== '' && v !== $pwd.val()) { - $(this).addClass('error'); - $repwdErr.removeClass('hide').find('em').text('两次密码输入不一致,请重新输入'); - } else { - $(this).removeClass('error'); - $repwdErr.addClass('hide'); - } - } - } -}).focus(function() { - $(this).removeClass('error'); - - //focus后错误提示隐藏 - if ($(this).hasClass('pwd')) { - $pwdErr.addClass('hide'); - } else { - $repwdErr.addClass('hide'); - } -}); - -$pwd.focus(function() { - $pwdErr.addClass('hide'); - $pwdTips.removeClass('hide'); -}).blur(function() { - $pwdTips.addClass('hide'); -}); - -$('#pwd, #repwd').keydown(function(e) { - var code = e.keyCode || e.which; - - //空格输入过滤 - if (code === 32) { - e.preventDefault(); - return; - } -}); - -}); -define("js/passport/vertification", ["jquery"], function(require, exports, module){ -/** - * 验证手机 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/12/14 - */ - -var $ = require("jquery"); - -var $sc = $('#send-captcha'), - $msgTip = $('#captcha-tip'), - $errTip = $('#err-tip'), - $next = $('#next-step'), - seconds, - itime; - -$sc.click(function() { - $.post('/passport/back/sendbackmobile', { - mobile: $('#mobile').val(), - area: $('#area').val(), - verifyCode: $('#captchaPic').val() - }, function(jsonData) { - if (jsonData.code === 200) { - $errTip.hide(); - if ($(this).hasClass('disable')) { - return; - } - seconds = 60; - - //$sc.addClass('disable').prop('disabled', true); - $sc.addClass('disable').attr('disabled', true); - $msgTip.removeClass('hide'); - - $sc.val(seconds-- + '秒后可重新操作'); - itime = setInterval(function() { - if (seconds === 0) { - clearInterval(itime); - - //$sc.val('发送验证码').removeClass('disable').prop('disabled', false); - $sc.val('发送验证码').removeClass('disable').removeAttr('disabled'); - } else { - $sc.val(seconds-- + '秒后可重新操作'); - } - }, 1000); - } else { - $(this).addClass('error'); - $errTip.removeClass('hide').text('发送失败'); - } - }); -}); - -if ($(this).hasClass('disable')) { - return; -} -seconds = 60; - -//$sc.addClass('disable').prop('disabled', true); -$sc.addClass('disable').attr('disabled', true); -$msgTip.removeClass('hide'); - -$sc.val(seconds-- + '秒后可重新操作'); -itime = setInterval(function() { - if (seconds === 0) { - clearInterval(itime); - - //$sc.val('发送验证码').removeClass('disable').prop('disabled', false); - $sc.val('发送验证码').removeClass('disable').removeAttr('disabled'); - } else { - $sc.val(seconds-- + '秒后可重新操作'); - } -}, 1000); - - -$('#captcha').keyup(function() { - var v = $.trim($(this).val()), - that = this; - - if (v.length === 4) { - $.ajax({ - type: 'POST', - url: '/passport/back/backmobile', - dataType: 'json', - data: { - code: $('#captcha').val(), - verifyCode: $("#captchaPic").val(), - area: $('#area').val(), - mobile: $('#mobile').val() - }, - success: function(res) { - if (res.code === 200) { - - //添加验证码正确验证 - $next.removeClass('disable').attr('href', res.data); - $errTip.addClass('hide'); - $(that).removeClass('error'); - } else { - $next.addClass('disable'); - $errTip.removeClass('hide').find('em').text('验证码输入错误'); - $(that).addClass('error'); - } - } - }); - } -}).blur(function() { - var v = $.trim($(this).val()); - - if (v === '') { - - //添加验证码正确验证 - $(this).addClass('error'); - $errTip.removeClass('hide').text('请输入验证码'); - } -}).focus(function() { - $(this).removeClass('error'); -}); -}); -define("js/passport/thirdlogin", ["jquery"], function(require, exports, module){ -/** - * 第三方登录首页 - * @author: wq - * @date: 2016/1/21 - */ -var $ = require("jquery"); -var nopermissionoption = $('#nopermissionmessage').html(); //倒计时dom -var sendmessagehtml = $('.validatewrapper').html(); //发送短信dom -var second = +$('.second').text(); //倒计时秒数 -var dovalidate = false; //校验验证码标识 -var validatecode = false; //验证码是否通过 -var choosedpic = 'http://cdn.yoho.cn/yohobuy/assets/img/passport/choosed.png';//已选择图片 - -/** - * 选择协议 - * @return {[type]} [description] - */ -function chooseProtocol() { - $('.choosetag').on('change', function() { - if ($(this).attr('checked') === 'checked') { - $('.choosewrapper').css({ - 'background-image': 'url("' + choosedpic + '")' - }); - } else { - $('.choosewrapper').css({ - 'background-image': 'none' - }); - } - - }); -} -/** - * 判断是否同意协议 - * @return {[type]} [description] - */ -function isagree() { - return $('.choosetag').attr('checked') === 'checked'; -} -/** - * 选择区域的开关 - * @return {[type]} [description] - */ -function chooseAreaToogle() { - $('.optionshow').on('click', function() { - $('.optionslist').toggleClass('hide'); - }); -} - -/** - * 验证码校验 - * @return {[type]} [description] - */ -function codeValidate() { - var validatenum = ''; - - $(document).on('keyup', '#validatenum', function() { - validatenum = $(this).val(); - if (validatenum.length === 4) { - if (!dovalidate) { - dovalidate = true; - $.ajax({ - type: 'POST', - url: '/passport/autouserinfo/checkBindMsg', - data: { - code: validatenum, - mobile: $('#mobile').val(), - area: $('#area').val() - } - }).then(function(data) { - dovalidate = false; - if (data.code === 200) { - validatecode = true; - } else { - alert(data.message); - } - }); - } - } - }); -} - -/** - * 选择区域 - * @return {[type]} [description] - */ -function chooseArea() { - $('.optionitem').on('click', function() { - var $option = $(this); - var areanum = $option.attr('areanum'); - var areaname = $option.text(); - - $('#areaname').text(areaname); - $('#areanum').text(areanum); - $('#areacode').val(areanum); - $('.optionslist').addClass('hide'); - }); -} -/** - * 取消选择区域 - * @return {[type]} [description] - */ -function cancelChooseArea() { - $(document).on('click', 'body', function(e) { - var $target = $(e.target); - - if ($target.hasClass('yohoselectarea') || - $target.hasClass('areaname') || - $target.hasClass('righttag') || - $target.hasClass('optionslist') || - $target.hasClass('optionitem')) { - return; - } else { - $('.optionslist').addClass('hide'); - } - }); -} -/** - * 去掉区域号的加号 - * @return {[type]} [description] - */ -function fixAreaNum() { - var $opitem = ''; - var itemarecode = ''; - - $('.optionitem').each(function() { - $opitem = $(this); - itemarecode = $opitem.attr('areanum').replace(/\+/g, ''); - $opitem.attr('areanum', itemarecode); - }); -} - -/** - * 关闭蒙层 - * @return {[type]} [description] - */ -function closeMask() { - var $target; - - $(document).on('click', '#alreayregist', function(e) { - $target = $(e.target); - if ($target.hasClass('mask') || $target.hasClass('backdrop')) { - $('#alreayregist').hide(); - $('.backdrop').hide(); - } - }); - $(document).on('click', '#bindconfirm', function(e) { - $target = $(e.target); - if ($target.hasClass('mask') || $target.hasClass('backdrop')) { - $('#bindconfirm').hide(); - $('.backdrop').hide(); - } - }); -} -/** - * 绑定其他手机号 - * @return {[type]} [description] - */ -function yohoBindBtn() { - $(document).on('click', '#yohobindbtn', function(e) { - $('.phonenum').val(''); - $('#bindconfirm').hide(); - $('.backdrop').hide(); - }); - $(document).on('click', '#yohobindbtn2', function(e) { - $('.phonenum').val(''); - $('#alreayregist').hide(); - $('.backdrop').hide(); - }); -} -/** - * 发送短信的时间变换动画 - * @return {[type]} [description] - */ -function changeSecond() { - second -= 1; - if (second < 0) { - second = 60; - $('.validatewrapper').html(sendmessagehtml); - return; - } else { - $('.second').text(second); - window.setTimeout(changeSecond, 1000); - } - -} -/** - * 时间循环 - * @param {[type]} phonenum [description] - * @return {[type]} [description] - */ -function circleTime(phonenum) { - $('.validatewrapper').html(nopermissionoption); - window.setTimeout(changeSecond, 1000); -} -/** - * 发送短信 - * @return {[type]} [description] - */ -function sendMessageValidate() { - $(document).on('click', '#sendmessage', function() { - if ($('#sendmessage').attr('disabled') === 'disabled') { - return; - } - circleTime($('#mobile').val()); - $.ajax({ - type: 'POST', - url: '/passport/autouserinfo/sendBindMsg', - data: { - mobile: $('#mobile').val(), - area: $('#area').val() - } - }).then(function(data) { - if (data.code !== 200) { - alert(data.message); - } - }); - - }); -} - -/** - * 最终提交表单 - */ -function actionSubmit() { - var mobile = ''; - var area = ''; - - area = $('#area').val(); - mobile = $('#mobile').val(); - $.ajax({ - type: 'POST', - url: '/passport/autouserinfo/bindMobile', - data: { - area: area, - openId: $('#openId').val(), - sourceType: $('#sourceType').val(), - mobile: mobile - } - }).then(function(data) { - if (data.code === 201) { - window.location.href = '/passport/thirdlogin/bindsuccess'; - } else { - alert(data.message); - } - }); -} - -/** - * 确认去绑定 - * @return {[type]} [description] - */ -function goToBindPhone() { - $(document).on('click', '#gotobindphone', function() { - if (validatecode === true) { - $('#inarea').val($('#areanum').val()); - $('#inmobile').val($('#mobile').val()); - actionSubmit(); - } else { - alert('请输入正确验证码'); - } - }); -} -/** - * 无交互的发送短信 - * @return {[type]} [description] - */ -function sendMessage() { - var mobile = ''; - var area = ''; - - mobile = $('#mobile').val(); - area = $('#areanum').text(); - $.ajax({ - type: 'POST', - url: '/passport/autouserinfo/sendBindMsg', - data: { - mobile: mobile, - area: area - } - }).then(function(data) { - if (data.code !== 200) { - console.log(data.message); - } - }); -} -/** - * 点击下一步 - * @return {[type]} [description] - */ -function nextStep() { - var openId = ''; - var sourceType = ''; - var mobile = ''; - var areaCode = ''; - var username = ''; - var headImg = ''; - - $('#bindfirststep').on('click', function(e) { - e.preventDefault(); - mobile = $('.phonenum').val(); - areaCode = $('#areanum').text(); - if (mobile === '') { - alert('手机号码不能为空'); - return; - } - if (!isagree()) { - alert('请先同意我们的协议'); - return; - } - openId = $('#openId').val() || '29803EC6D4AAC3AAB8ABDB6AE829D579'; - sourceType = $('#sourceType').val() || 'qq'; - $.ajax({ - type: 'post', - url: '/passport/autouserinfo/bindCheck', - data: { - mobile: mobile, - area: areaCode, - openId: openId, - sourceType: sourceType - }, - dataType: 'json', - success: function(data) { - if (data.code === 200) { - $('#bindmobileform').attr('action', '/passport/thirdlogin/noregist'); - sendMessage(); - $('#bindmobileform').submit(); - } - if (data.code === 400 || data.code === 402) { - $('#errinfo').text('手机格式错误'); - } - if (data.code === 506) { - username = data.data.user.username; - headImg = data.data.user.headImg; - $('#registphone').text(mobile); - $('#username').text(username); - if (headImg === '') { - $('#userphoto').attr('src', 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/' + - '01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100'); - } else { - $('#userphoto').attr('src', headImg); - } - $('#logindirectly2').attr('href', data.data.user.bindLogin); - $('.backdrop').show(); - $('#alreayregist').show(); - } - if (data.code === 505) { - username = data.data.user.username; - headImg = data.data.user.headImg; - $('#registphonetwo').text(mobile); - $('#username1').text(username); - if (headImg === '') { - $('#userphoto1').attr('src', 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/' + - '01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100'); - } else { - $('#userphoto').attr('src', headImg); - } - $('#logindirectly').attr('href', data.data.user.bindLogin); - $('.backdrop').show(); - $('#bindconfirm').show(); - } - } - }); - }); -} - -function init() { - fixAreaNum(); //去掉所有区域的+ - sendMessageValidate(); //有交互的发送短信 - chooseProtocol(); //选择协议 - chooseArea(); //选择区域 - chooseAreaToogle(); //选择区域展示或关闭 - cancelChooseArea(); //取消选择区域 - nextStep(); //下一步 - closeMask(); //关闭蒙层 - yohoBindBtn(); //绑定其他手机号点击 - goToBindPhone(); //绑定手机 - codeValidate(); //验证码校验 -} -init(); -}); -define("js/passport/enablePerfectInformation", ["jquery"], function(require, exports, module){ -/** - * 第三方绑定完善个人信息 - * @author: wq - * @date: 2016/1/27 - */ -var $ = require("jquery"); -var dovalidate = false; //校验验证码的标识 -var isvalidatecode = false; //是否验证成功的标识 -var isvalidatepwd = false; //密码验证是否通过的标识 -var second = ''; //倒计时时间 -var nopermissionoption = ''; //倒计时的dom -var sendmessagehtml = ''; //发送短信的dom -var $pwd, - $pwdParent, - $pwdTip1, - $pwdIntensity; - -nopermissionoption = $('#nopermissionmessage').html(); -sendmessagehtml = $('.validatewrapper').html(); -second = +$('.second').text(); - - -function gettype(str, i) { - if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { - return 1; - } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { - return 2; - } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { - return 3; - } - - return 4; -} - -function isregular(cur, pre, type) { - var curCode = cur.charCodeAt(0); - var preCode = pre.charCodeAt(0); - - if (curCode - preCode === 0) { - return true; - } - - if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { - return true; - } - - return false; -} + 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; -function getcomplex(curType, preType) { - if (preType === 0 || curType === preType) { - return 0; - } else if (curType === 4 || preType === 4) { - return 2; - } else { - return 1; - } -} + 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'); -/** - * @desc: 计算密码复杂度(from:http://www.oschina.net/code/snippet_127301_17269) - * @author: xuqi(qi.xu@yoho.cn) - * @date: 2015/5/6 - */ -function computeComplex(password) { - var complex = 0; - var length = password.length; - var pre = ''; - var preType = 0; - var i = 0; - var cur = ''; - var curType = ''; - - for (i; i < length; i++) { - cur = password.charAt(i); - curType = gettype(password, i); - if (preType !== curType || !isregular(cur, pre, curType)) { - complex += curType + getcomplex(curType, preType); + result = result.replace(reg, args[i]); + } + } + } + } } - pre = cur; - preType = curType; - } - - return complex; -} - - - -function changeSecond() { - second -= 1; - if (second < 0) { - second = 60; - $('.validatewrapper').html(sendmessagehtml); - return; - } else { - $('.second').text(second); - window.setTimeout(changeSecond, 1000); - } - -} -/** - * 启动倒计时 - * @return {[type]} [description] - */ -function circleTime() { - $('.validatewrapper').html(nopermissionoption); - window.setTimeout(changeSecond, 1000); -} - -function sendMessageValidate() { - var mobile = ''; - var area = ''; + 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; - $(document).on('click', '#sendmessage', function() { - circleTime(); - mobile = $('#mobile').val(); - area = $('#area').val(); - $.ajax({ - type: 'POST', - url: '/passport/autouserinfo/sendBindMsg', - data: { - mobile: mobile, - area: area - } - }).then(function(data) { - if (data.code !== 200) { - alert(data.message); + if (me.isArray(data)) { + for (i = 0, len = data.length; i < len; i++) { + if (callback.call(data[i], i, data[i], args) === false) { + break; + } } - }); - - }); -} - - - -function codeValidate() { - var validatenum = ''; + } else { - $(document).on('keyup', '#validatenum', function() { - $('#err-info').hide(); - validatenum = $(this).val(); - if (validatenum.length === 4) { - if (!dovalidate) { - dovalidate = true; - $.ajax({ - type: 'POST', - url: '/passport/autouserinfo/checkBindMsg', - data: { - code: validatenum, - mobile: $('#mobile').val(), - area: $('#area').val() - } - }).then(function(data) { - dovalidate = false; - if (data.code !== 200) { - $('#err-info').show(); - } else { - isvalidatecode = true; - } - }); + for (i in data) { + if (callback.call(data[i], i, data[i], args) === false) { + break; + } } } - }); -} + }, + funManager: { + __loadList: {}, + __loadFun: function(item, callback, win) { -function pwdKeyupEvt() { - var pwd = $pwd.val(), - pwdStrength = computeComplex(pwd), - level = 0; - - if (pwdStrength === 0) { - level = 0; - } else if (pwdStrength <= 10) { - level = 1; - } else if (pwdStrength <= 20) { - level = 2; - } else { - level = 3; - } - switch (level) { - case 0: - $pwdParent.removeClass('red yellow green'); - $pwdIntensity.removeClass('color'); - break; - case 1: - $pwdParent.addClass('red').removeClass('yellow green'); - $pwdIntensity.filter('.low').addClass('color'); - $pwdIntensity.filter('.mid,.high').removeClass('color'); - break; - case 2: - $pwdParent.addClass('yellow').removeClass('red green'); - $pwdIntensity.filter('.low,.mid').addClass('color'); - $pwdIntensity.filter('.high').removeClass('color'); - break; - case 3: - $pwdParent.addClass('green').removeClass('yellow red'); - $pwdIntensity.addClass('color'); - break; - } - if (pwd === '') { - isvalidatepwd = false; - $pwdTip1.removeClass('red yes no').addClass('default'); - } else { - if (pwd.length < 6 || pwd.length > 20) { - isvalidatepwd = false; - $pwdTip1.removeClass('default yes').addClass('no red'); - } else { - isvalidatepwd = true; - $pwdTip1.removeClass('default no red').addClass('yes'); + 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() { } + }; -function validatePwd() { - $(document).on('keyup', '.pwdcontent', function() { - pwdKeyupEvt($(this)); - }); - $(document).on('focus', '.pwdcontent', function() { - $('#pwd-tips').removeClass('hide'); - }); - $(document).on('blur', '.pwdcontent', function() { - $('#pwd-tips').addClass('hide'); - }); -} + 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; -/** - * 最终提交表单 - */ -function actionSubmit() { - var mobile = ''; - var area = ''; - var pwd = ''; - var code = ''; - - area = $('#area').val(); - pwd = $('#pwd').val(); - mobile = $('#mobile').val(); - code = $('#validatenum').val(); - $.ajax({ - type: 'POST', - url: '/passport/autouserinfo/bindMobile', - data: { - area: area, - openId: $('#openId').val(), - sourceType: $('#sourceType').val(), - mobile: mobile, - password: pwd, - code: code - } - }).then(function(data) { - if (data.code === 200) { - window.location.href = '/passport/thirdlogin/bindsuccess'; - } else { - alert(data.message); - } - }); -} -/** - * 确定完善信息 - * @return {[type]} [description] - */ -function actionConfirm() { - var validatenum = ''; - var pwd = ''; - - $('#confirmsubmit').on('click', function() { - validatenum = $('#validatenum').val(); - pwd = $('#pwd').val(); - if (validatenum === '') { - alert('短信验证码不能为空'); - return; - } - if (pwd === '') { - alert('密码不能为空'); - return; - } - if (!/^(?![^a-zA-Z]+$)(?!\D+$).{6,20}$/.test(pwd)) { - alert('密码只支持6-20位字符,建议字母+数字的组合。'); - return; - } - if (isvalidatecode === false) { - alert('请输入正确的验证码'); - return; - } - if (isvalidatepwd === false) { - alert('请输入符合强度的密码'); - return; - } - actionSubmit(); - }); -} + 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' + } + ]; -function init() { - circleTime(); //倒计时 - $pwd = $('#pwd'); - $pwdParent = $('.safelevel'); - $pwdIntensity = $('.pwd-intensity'); - $pwdTip1 = $('#pwd-tip1'); - sendMessageValidate(); - codeValidate(); - validatePwd(); - actionConfirm(); -} + 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; -init(); + return (('ontouchstart' in window) || msGesture || window.DocumentTouch) ? true : false; + }, + Prefix: function() { + var i; -}); -define("js/order/ensure", ["jquery"], function(require, exports, module){ -/** - * @description: 订单保存 - * @time: 2015/12/21 - */ + var props = ['perspectiveProperty', 'WebkitPerspective', 'MozPerspective', 'OPerspective', 'msPerspective']; + var obj = document.createElement('div'); -var $ = require("jquery"); + 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; -var address = require("js/order/address"); + 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; -var Order = { - /*业务数据(人民币)*/ - Data: { - product: 0,//商品价格 - activity: 0,//活动 - carriage: 0,//邮费 - juan: 0,//优惠卷 - yohocoin: 0//YOHO币 + 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('/') + }; + } }, - /*view 交互*/ - UI: { - e: { - $pan: $('.pan'), - $jc: $('#juancode'), - $bp: $('#biprice'), - $statistics: $('li', '.play-total'), - $tobi: $('p em', '.play-bi-pan .play-pan'), - $cancel: $('.cancel', '.btn-group'), - $total: $('em', '.to-play'), - $tbody: $('table tbody', '.pay-wapper'), - - //请填写并核对一下信息 - $orderSelectionSave: $('.address-list h2 span'), - $addAddress: $('.add-address'), - $addressManage: $('.address-manage'), - $spanPayTypeLegend: $('span.pay-type-legend'), - $supportType: $('.support-type'), - $existAddressList: $('.exist-address-list').find('li'), - $existAddress: $('.exist-address-list').find('input[name="exist-address"]'), - $payTimeModify: $('.pay-time-modify'), - $switchPayModify: $('.switch-pay-modify') - }, - init: function() { - var e = this.e, - d = Order.Data, - c = Order.Common; - - /*初始化产品价格*/ - e.$tbody.find('tr').each(function(index) { - var td = $(this).find('td'); - var len = e.$tbody.find('tr').length; - var subtotal = parseFloat(td.eq(1).html()) * parseInt(td.eq(3).html()); - - td.eq(4).html(c.strFixed(subtotal)); - d.product += subtotal; - if (!index) { - td.last().attr('rowspan', len); - } else { - td.last().remove(); - } - if (index === len - 1) { - e.$tbody.find('tr').eq(0).find('td').last().html('<strong>' + c.strFixed(d.product) + '</strong>'); - } - }); - - - - /*初始化价格*/ - this.render(); - - /*点击pan dt 打开dd*/ - e.$pan.find('dt').click(function() { - var pan = $(this).parent('dl.pan'); + Array: { + indexOf: function(array, val) { + var i; - if (pan.find('dd').is(':hidden')) { - c.winShow(pan); - } else { - c.winHide(pan); + 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; + } + } +}; - /*使用优惠卷支付 下面的文本框*/ - e.$jc.on('focus change', function(event) { - var radio = $(this).prev('label').prev(':radio'); +assembly = function(options) { + this.initialized = false; + this.registerEvent = { + before: [], + change: [], + after: [] + }; + this.options = options; - if (event.type === 'focus') { - radio.attr('checked', true); - } else { - radio.val($(this).val()); - } + this.init(options); +}; - }); +assembly.output = function() { + me.log(me.list); +}; +assembly.prototype.oninit = me.fn; - /*使用YOHO币支付*/ - e.$bp.data('tobi', e.$tobi.html()); - e.$bp.on('keyup change', function() { - var bi = c.enterNUM($(this).val(), $(this).data('tobi')); +assembly.prototype.init = function(cfg) { + this.initialized = true; - $(this).val(bi); - }); + // 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]; - /*取消关闭小窗口*/ - e.$cancel.click(function() { - var pan = $(this).parents('.pan'); + if (_e) { + _e.push(callback); + } + return _e; +}; +assembly.prototype.off = function(name, callback) { + var __self = this; + var _e = __self.registerEvent[name]; + var e = []; - c.winHide(pan); - }); + me.each(_e, function(name, _callback) { - e.$statistics.slice(3, 5).find('a').click(function() { - var pan = $('.' + $(this).attr('to')); + if (_callback === callback) { + e.push(name); + } + }); - c.winShow(pan); - }); + me.each(e.reverse(), function(name, _callback) { + _e.splice(_callback, 1); + }); +}; +me.assembly = assembly; +module.exports = me; +}); +define("js/common/new-arrivls", ["jquery","lazyload","handlebars","source-map"], function(require, exports, module){ +var $ = require("jquery"), + lazyload = require("lazyload"); +var Handlebars = require("handlebars"); - //请填写并核对一下信息 - e.$orderSelectionSave.click(function() { +function InfiniteLoad(options) { + var defaults = { + index: 0, + isload: true,//是否正在加载 + isrun: true,//判断是否执行 + offset: { + height: null, + width: null + } + }; - if (!$(this).data('expand')) { - $('.address-list-inner').addClass('hide'); + this.registerEvent = { + before: [], + change: [], + after: [] + }; - $(this).data('expand', 'expand').text('[不保存并关闭]'); + this.options = $.extend(true, {}, defaults, options); - } else { - $('.address-list-inner').removeClass('hide'); + return this; +} - $(this).removeData('expand').text('[修改]'); - } +InfiniteLoad.prototype.on = function(name, callback) { + var g = this; + var _e = g.registerEvent[name]; - }); + if (_e) { + _e.push(callback); + } + return _e; +}; +InfiniteLoad.prototype.exect = function(key, params) { + var g = this; + var e; - //支付及送货时间 - e.$switchPayModify.click(function() { + if (g.registerEvent[key] && g.registerEvent[key].length > 0) { + for (e in g.registerEvent[key]) { + if (g.registerEvent[key].hasOwnProperty(e)) { + g.registerEvent[key][e](params); + } + } + } +}; - if (e.$payTimeModify.hasClass('hide')) { - e.$payTimeModify.removeClass('hide'); - $(this).text('[不保存并关闭]'); - } else { - e.$payTimeModify.addClass('hide'); - $(this).text('[修改]'); - } - }); +InfiniteLoad.prototype.init = function() { + var g = this; + var p = this.options; - e.$spanPayTypeLegend.click(function() { - $(this).toggleClass('active'); + function __loadMore() { - e.$supportType.toggleClass('hide'); - }); + if (p.isrun && p.isload && g.__directionCalculation()) { + p.isload = false; + p.index++; + g.exect('after', p); + } - $(document).on('click', '.exist-address-list li', function() { + g.exect('change', p); + } - e.$existAddressList.removeClass('active'); - $(this).addClass('active'); + g.exect('before', p); - e.$existAddress.removeAttr('checked'); - $(this).find('input[name="exist-address"]').attr('checked', 'checked'); + $(window).scroll(__loadMore); +}; - if ($(this).hasClass('use-new-address')) { - e.$addressManage.removeClass('hide'); - } - }); - }, +InfiniteLoad.prototype.emit = function() { + var p = this.options; - //渲染价格明细 - render: function() { - var e = this.e, - d = Order.Data, - c = Order.Common; - var i = 0; - - e.$total.html('0.00'); - e.$statistics.find('em').html('0.00'); - e.$statistics.slice(3, 5).hide(); - - $.each(d, function(key) { - if (d.hasOwnProperty(key)) { - if (d[key]) { - e.$statistics.eq(i).show().find('em').html(c.strFixed(d[key])); - } - } - i++; - }); - e.$total.html(c.strFixed(c.calucate())); + p.isload = true; +}; - } - }, - /*公共方法*/ - Common: { - enterNUM: function(str1, str2) { - str1 = str1.replace(/[^\d]/g, ''); - if (str1 && str2) { - str1 = parseInt(str1); - str2 = parseInt(str2); - if (str1 > str2) { - str1 = str2; - } - } - return str1; - }, - calucate: function() { - var p = Order.Data; +InfiniteLoad.prototype.stop = function() { + var p = this.options; - $.each(Order.Data, function(key, index) { - p[key] = parseFloat(Order.Data[key]); - }); - return p.product - p.activity + p.carriage - p.juan - p.yohocoin; - }, - winShow: function(pan) { - pan.find('dt').show(); - pan.find('dd').show(); - if (pan.attr('class').match(/(-bi-)|(-juan-)/g)) { - pan.find('dt').hide(); - } - }, - winHide: function(pan) { - pan.find('dt').show(); - pan.find('dd').hide(); - }, - strFixed: function(str) { - return parseFloat(str).toFixed(2); - } - }, - /*业务逻辑*/ - Bll: { - e: { - $juanok: $('#juansubmit'), - $juantip: $('.errtip', '.play-juan-pan'), - $biok: $('#bisubmit'), - $carriageGroup: $('input[name="carriagegroup"]') - }, - init: function() { - var e = this.e, - d = Order.Data, - c = Order.Common, - u = Order.UI; - var options; - - e.$carriageGroup.change(function() { - d.carriage = parseFloat($(this).val()); - u.render(); - }); - /*点击 优惠卷支付 确认按钮*/ - e.$juanok.click(function() { - var code = $('input[name="juangroup"]:checked').val(); - var pan = $(this).parents('.pan'); - - if (code) { - options = { - url: '/Order/save/priceByCode', - type: 'post', - data: { - code: code - }, - success: function(data) { - if (data.code === 200) { - if (data.price) { - d.juan = data.price; - Order.UI.render(); - c.winHide(pan); - return; - } - u.render(); - } - e.$juantip.html(data.msg); - }, - error: function() { - e.$juantip.html('网络出现错误~'); - } - }; + p.isrun = false; + p.isload = false; +}; - $.ajax(options); - } - }); - /*点击 YOHO币支付 确认按钮*/ - e.$biok.click(function() { - var pan = $(this).parents('.pan'); +InfiniteLoad.prototype.__directionCalculation = function() { + var p = this.options; - d.yohocoin = parseFloat(u.e.$bp.val()) / 100; - u.render(); - c.winHide(pan); - return; - }); - } + if (p.offset.height && p.offset.height() > 0 && $(window).scrollTop() + $(window).height() >= p.offset.height()) { + return true; } + return false; }; -Order.Data.activity = 0; -Order.Data.carriage = 0; +module.exports = function(data) { + var $container = $('#newarrivals .goods-container'); + var $load = $('.loading a'); + var load = new InfiniteLoad({ + index: 1, + isload: false, + offset: { + height: function() { + return parseFloat($container.offset().top) + parseFloat($container.height()) - 200; + } + } + }); + var loadAjax; + var url = data.url, + count = data.count, + rows = data.rows; -Order.UI.init(); -Order.Bll.init(); + data.pageIndex = 0; + delete data.url; + delete data.count; + delete data.rows; -address.newAddress(); -address.modifyAddress(); -address.saveAddress(); + loadAjax = function(url, data, count) { -}); -define("js/order/address", ["jquery"], function(require, exports, module){ -/** - * @description: 地址管理 - * @author: chenglong.wang@yoho.cn - */ + var options = { + type: 'POST', + url: url, + success: function(result) { + var code = result.code; + var myTemplate,len,pos; -var $ = require("jquery"); + if (code === 200) { + len = result.goods.length % count; + pos = result.goods.length - len - 1; -var isProvinceChecked = false; - -var $addressManage = $('.address-manage'), - $province = $addressManage.find('.text-input[name="province"]'), - $city = $addressManage.find('.text-input[name="city"]'), - $county = $addressManage.find('.text-input[name="county"]'), - $selectList = $addressManage.find('.text-input[name="province"], .text-input[name="city"]'), - $addressList = $('.address-list'), - $name = $addressManage.find('.text-input[name="name"]'), - $phone = $addressManage.find('.text-input[name="phone"]'), - $telCode = $addressManage.find('.text-input[name="code-tel"]'), - $tel = $addressManage.find('.text-input[name="tel"]'), - $mail = $addressManage.find('.text-input[name="mail"]'), - $address = $addressManage.find('.text-input[name="address"]'), - $code = $addressManage.find('.text-input[name="code"]'), - $saveBtn = $('.save-btn'); - -function structureOption($obj, data) { - - var key, - optionHtml, - defaultOption; - - for (key in data) { - - if (data[key].checked) { - optionHtml += '<option selected value="' + data[key].value + '">' + data[key].name + '</option>'; - } else { - optionHtml += '<option value="' + data[key].value + '">' + data[key].name + '</option>'; - } + result.goods.splice(pos, len); + myTemplate = Handlebars.compile(load.tpl); - } + $container.append(myTemplate(result.goods)); + data.pageIndex = data.pageIndex + result.goods.length; - $obj.html(optionHtml); + //懒加载插件貌似有点问题,图片先直接展示 + lazyload($container.find('img.lazy')); - if ($obj.attr('name') === 'province') { - defaultOption = '<option value="0">请选择省份</option>'; - } else if ($obj.attr('name') === 'city') { - defaultOption = '<option value="0">请选择城市</option>'; - } else if ($obj.attr('name') === 'county') { - defaultOption = '<option value="0">请选择区县</option>'; - } - $obj.prepend($(defaultOption)); + load.emit(); + } else { -} -/** - * @description: 改函数会返回地址信息 - * d {Object} type: 'getProvince'获取省 type: 'getCity'获取城市 type: 'getCounty'获取县 - * id: 0 && type: 'getProvince' 获取所有省,默认没有选中项 - * id !== 0 && type: 'getProvince' 获取所有省,默认选中用户所在的省 - */ -function getAddress(d, callback) { + load.stop(); + $load.html('查看更多'); + } + }, + error: function() { - var $obj, - url; + load.stop(); + $load.html('网络断开连接了~'); + } + }; - if (d.type === 'getProvince') { - url = 'getProvince'; + options.data = data; + $.ajax(options); + }; - $obj = $province; - } else if (d.type === 'getCity') { - url = 'getCity'; - $obj = $city; - } else if (d.type === 'getCounty') { - url = 'getCounty'; + load.on('after', function(p) { - $obj = $county; - } - $.ajax({ - type: 'post', - url: '/order/save/' + url, - dataType: 'json', - data: { - id: d.id - } - }).then(function(data) { + data.pageCount = count * rows[1]; - structureOption($obj, data); + loadAjax(url, data); + }); - if (typeof callback === 'function') { - callback(); - } + load.on('before', function(p) { - }).fail(function() { - //todo - }); -} + load.tpl = '{{#each this}}'; + load.tpl += '<div class="good-info imgopacity" data-skn="{{skn}}">'; + load.tpl += ' <div class="tag-container clearfix">'; + load.tpl += ' {{# tags}}'; + load.tpl += ' {{# isNew}}'; + load.tpl += ' <span class="good-tag new-tag">NEW</span>'; + load.tpl += ' {{/ isNew}}'; + load.tpl += ' {{# isReNew}}'; + load.tpl += ' <span class="good-tag renew-tag">再到着</span>'; + load.tpl += ' {{/ isReNew}}'; + load.tpl += ' {{# isSale}}'; + load.tpl += ' <span class="good-tag sale-tag">SALE</span>'; + load.tpl += ' {{/ isSale}}'; + load.tpl += ' {{# isNewFestival}}'; + load.tpl += ' <span class="good-tag new-festival-tag">新品节</span>'; + load.tpl += ' {{/ isNewFestival}}'; + load.tpl += ' {{# isLimit}}'; + load.tpl += ' <span class="good-tag limit-tag">限量商品</span>'; + load.tpl += ' {{/ isLimit}}'; + load.tpl += ' {{# isYearEndPromotion}}'; + load.tpl += ' <span class="good-tag yep-tag">年终大促</span>'; + load.tpl += ' {{/ isYearEndPromotion}}'; + load.tpl += ' {{# isYearMidPromotion}}'; + load.tpl += ' <span class="good-tag ymp-tag">年中热促</span>'; + load.tpl += ' {{/ isYearMidPromotion}}'; + load.tpl += ' {{/ tags}}'; + load.tpl += ' </div>'; + load.tpl += ' <div class="good-detail-img">'; + load.tpl += ' <a class="good-thumb" href="{{url}}" target= "_blank">'; + load.tpl += ' <img class="lazy" data-original="{{thumb}}">'; + load.tpl += ' </a>'; + load.tpl += ' {{# isFew}}'; + load.tpl += ' <p class="few-tag">即将售罄</p>'; + load.tpl += ' {{/ isFew}}'; -function getUserInfo(id) { - $.ajax({ - type: 'post', - url: 'getUserInfo', - data: { - id: id - } - }).then(function(data) { - var key; + load.tpl += ' {{#if showColBtn}}'; + load.tpl += ' <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>'; + load.tpl += ' {{/if}}'; + load.tpl += ' </div>'; + load.tpl += ' <div class="good-detail-text">'; + load.tpl += ' <a href="{{url}}" target= "_blank">{{name}}</a>'; + load.tpl += ' <p class="price">'; + load.tpl += ' <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">'; + load.tpl += ' ¥{{salePrice}}'; + load.tpl += ' </span>'; + load.tpl += ' {{# marketPrice}}'; + load.tpl += ' <span class="market-price">¥{{.}}</span>'; + load.tpl += ' {{/ marketPrice}}'; + load.tpl += ' </p>'; + load.tpl += ' </div>'; + load.tpl += '</div>'; + load.tpl += '{{/each}}'; - for (key in data) { - if (data.hasOwnProperty(key)) { - if (!!data[key]) { - eval('$' + key).val(data[key]); - } - } - } + data.pageCount = count * rows[0]; - }).fail(function() { + loadAjax(url, data, data.count); + //load.emit(); }); -} - -//添加地址 -exports.newAddress = function(id) { - var pId = id !== 'undefined' ? id : 0; + load.init(); - if (!!pId) { - getUserInfo(); - } +}; +}); +define("js/brand/index", ["jquery","lazyload","handlebars","source-map","dot"], function(require, exports, module){ +/** + * 首页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/23 + */ + +var $ = require("jquery"), + lazyLoad = require("lazyload"); + + +require("js/common/slider"); +require("js/brand/brands"); + +lazyLoad($('img.lazy')); +$('.slide-container').slider({ + orient: true +}); +}); +define("js/brand/brands", ["jquery","handlebars","source-map","dot"], function(require, exports, module){ +var $ = require("jquery"), + Handlebars = require("handlebars"), + dot = require("dot"); + +var $tabs = $('.brands-tabs'); +var $list = $('.brands-list'); +var $gory = $('.brands-category'); +var $news = $('.news-txt ul'); +var $clearfix = $list.find('dl.clearfix'); +var $brand = $list.find('li>a'); +var $category = $gory.find('a'); +var $tab = $tabs.find('li>a'); +var $arr = $tabs.find('.hoverarr'); +var $thisTab; + +var categoryHeight = $category.height(); +var categoryTop = $category.offset() ? $category.offset().top : 0; +var newsHeight = $news.height(); +var newsTop = $news.offset() ? $news.offset().top : 0; +var timeout, _id; + + +//用于临时存储数据 +var tempdata = {}; + +var templete = '<div class="brands-dialog">'; + +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>'; +templete += '</div>'; + +dot($('.brand-desc')); + +$.easing.easeOutQuint = function(x, t, b, c, d) { + return c * ((t = t / d - 1) * t * t * t * t + 1) + b; +}; + +function getQueryString(name) { + var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)'); + var r = window.location.search.substr(1).match(reg); + + if (r != null) { + return window.unescape(r[2]); + } + return null; +} + +// 格式化资讯NEWS标题数量 +if ($news.length) { + $news.find('li').each(function() { + var $dom = $(this); + var domHeight = $dom.offset().top - newsTop + $dom.height(); + + if (domHeight > newsHeight) { + $dom.hide(); + } + }); +} + +//头部图片TAB切换展示 +$tab.eq(0).parent('li').find('.brands-content').css('z-index', '1'); + +_id = getQueryString('id') ? getQueryString('id') : 0; + +// 设置对应TAB选中 +$thisTab = $tab.eq(_id); +$thisTab.find('.g-mask').addClass('g-mask-on'); + +if (_id && $thisTab.length) { + $arr.css({ + left: parseFloat($thisTab.offset().left) - parseFloat($tabs.offset().left) + }); +} +$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'); + }, 50); + $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; + + if (!$gory.hasClass('category-fix')) { + targetTop -= 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 $parent = $this.parent('li'); + var myTemplate; + + $list.find('.brands-dialog').remove(); + myTemplate = Handlebars.compile(templete); + $parent.append(myTemplate(data)); + dot($parent.find('.right')); + + if (offset.right - 350 < 0) { + $parent.find('.brands-layer') + .addClass('brands-layer-right').css('left', -330 - offset.width); + } +} + +//鼠标悬浮品牌,请求数据,并且展示 +function bindHoverEvent() { + $brand.unbind('mouseenter').unbind('mouseleave').hover(function() { + var $this = $(this); + var key = $this.attr('data-key'); + + var options = { + url: '/brands/brandinfo', + type: 'get', + data: { + brandId: key + }, + 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-dialog').remove(); + }); +} + +if ($clearfix.length < 26) { + $.ajax({ + url: '/brands/brandList', + type: 'POST', + data: { + start: $clearfix.length ? ($clearfix.length + 1) : 1 + }, + success: function(_data) { + if (_data) { + $list.append(_data); + $brand = $list.find('li>a'); + bindHoverEvent(); + } + } + }); +} + +bindHoverEvent(); +}); +define("js/passport/entry", ["jquery","jquery.placeholder"], function(require, exports, module){ +/* + * 密码中心打包入口文件 + */ + +require("js/passport/reg"); +require("js/passport/back"); +require("js/passport/login"); +require("js/passport/reset"); +require("js/passport/vertification"); +require("js/passport/thirdlogin"); +require("js/passport/third-pwd"); +}); +define("js/passport/reg", ["jquery","jquery.placeholder"], function(require, exports, module){ +/* + * @description 注册页js + * @time 2015/12/14 + */ + +var $ = require("jquery"), + regValidate = require("js/passport/mail-phone-regx"), + computeComplex = require("js/passport/pwd-strength"); + +var $registerPage = $('.register-page'), + $pwdTips = $('#pwd-tips'), + $pwdTip1 = $pwdTips.find('#pwd-tip1'), + $errTip = $('#err-tip'), + $registerBtn = $('#register-btn'); + +var $sendCaptcha = $('#send-captcha'), + caCount = 4, + validateResult = []; + +var $pn = $('#phone-num'), + $mc = $('#msg-captcha'), + $pwd = $('#pwd'), + $repwd = $('#repwd'), + $ca = $('#captcha'); + +// 密码强度验证 +var $pwdIntensity = $('.pwd-intensity'), + $pwdParent = $pwdIntensity.closest('.pwd-intensity-container'); + +//signup验证 +var $region = $('#country-code'), + $regionSelect = $('#region'), + isPwd = false, + pwdVal; + +var pwdReg = regValidate.pwdValidateRegx; + +var $curErrContainer; + +require("jquery.placeholder"); + +setTimeout(function() { + $pn.val(''); + $mc.val(''); + $pwd.val(''); + $repwd.val(''); + $ca.val(''); +}, 0); + +//验证码位数 +$ca.attr('maxlength', caCount); + +//密码规则提示 +$pwd.focus(function(event) { + $pwdTips.removeClass('hide'); + isPwd = true; + pwdVal = $(this).val(); +}).blur(function() { + $pwdTips.addClass('hide'); + isPwd = false; +}); + + +//IE8 placeholder +$('[placeholder]').placeholder(); + +// 存储校验信息 +validateResult = [ + { + id: 'phone-num', + message: '', //错误信息 + status: false //当前的状态 + }, + { + id: 'captcha', + message: '', + status: false + }, + { + id: 'msg-captcha', + message: '', + status: false + }, + { + id: 'pwd', + message: '', + status: false + }, + { + id: 'repwd', + message: '', + status: false + } +]; + +//手机号ajax校验 +function phoneAjaxFn(page, callback) { + var url, + data; + + if (page === 'reg') { + url = '/passport/register/checkmobile'; + data = { + mobile: $pn.val(), + area: $region.text().split('+')[1] + }; + } else if (page === 'third') { + url = '/passport/autouserinfo/bindCheck'; + data = { + mobile: $pn.val(), + area: $region.text().split('+')[1], + openId: $('#open-id').val(), + sourceType: $('#source-type').val() + }; + } + + $.ajax({ + url: url, + type: 'POST', + data: data + }).then(function(data) { + if (!data) { + return; + } + + switch (data.code) { + case 200: + validateResult[0].message = ''; + validateResult[0].status = true; + break; + case 400: + validateResult[0].message = data.message; + validateResult[0].status = false; + break; + } + + callback(); + }); +} + +//图形验证码ajax校验 +function picCaptchaAjaxFn(page, callback) { + var url; + + if (page === 'reg') { + url = '/passport/register/piccaptcha'; + } else if (page === 'third') { + url = '/passport/autouserinfo/checkPicCode'; + } + $.ajax({ + type: 'POST', + url: url, + data: { + verifyCode: $ca.val() + + //mobile: $pn.val(), + //area: $region.text().split('+')[1] + } + }).then(function(data) { + if (!data) { + return; + } + + switch (data.code) { + case 200: + validateResult[1].message = ''; + validateResult[1].status = true; + break; + case 400: + validateResult[1].message = '图形验证码错误'; + validateResult[1].status = false; + break; + } + callback(); + }); +} + +//短信验证码ajax校验 +function msgCaptchaAjaxFn(page, callback) { + var url; + + if (page === 'reg') { + url = '/passport/register/msgcaptcha'; + } else if (page === 'third') { + url = '/passport/autouserinfo/checkBindMsg'; + } + $.ajax({ + type: 'POST', + url: url, + data: { + code: $mc.val(), + mobile: $pn.val(), + area: $region.text().split('+')[1] + } + }).then(function(data) { + if (!data) { + return; + } + + switch (data.code) { + case 200: + validateResult[2].message = ''; + validateResult[2].status = true; + break; + case 400: + validateResult[2].message = '短信验证码错误'; + validateResult[2].status = false; + break; + } + + callback(); + }); +} + +// 验证 +function validateRule(page, $element, callback) { + + var val = $.trim($element.val()), + regionCode; + + // 根据需求http://redmine.yoho.cn/issues/3117改成上边的正则 + // 对应的错误提示语也改了,感觉要不了多久就会改回来 + // pwdReg = /^([a-zA-Z0-9\-\+_!@\#$%\^&\*\(\)\:\;\.=\[\]\\\',\?]){6,20}$/gi; + + //手机号校验 + if ($element.hasClass('phone-num')) { + + regionCode = $region.text(); + + if (val === '') { + validateResult[0].message = '请输入手机号码'; + validateResult[0].status = false; + callback(); + + } else if (!regValidate.phoneRegx[regionCode].test(val)) { + validateResult[0].message = '手机号码格式不正确,请重新输入'; + validateResult[0].status = false; + callback(); + + } else { + phoneAjaxFn(page, callback); + } + + //图形验证码校验 + } else if ($element.hasClass('captcha')) { + if (val === '') { + validateResult[1].message = '请输入图形验证码'; + validateResult[1].status = false; + callback(); + + } else if (val.length <= 3) { + validateResult[1].message = '图形验证码为4位'; + validateResult[1].status = false; + callback(); + + } else { + + // 并且手机号正确 + if (validateResult[0].status) { + picCaptchaAjaxFn(page, callback); + } else { + validateResult[1].message = '图形验证码错误'; + validateResult[1].status = false; + callback(); + } + + } + + //短信验证码校验 + } else if ($element.hasClass('msg-captcha')) { + + if (val === '') { + validateResult[2].message = '请输入短信验证码'; + validateResult[2].status = false; + callback(); + + } else if (val.length <= 3) { + validateResult[2].message = '短信验证码错误'; + validateResult[2].status = false; + callback(); + + } else { + + // 并且图形验证码正确 + if (validateResult[1].status) { + msgCaptchaAjaxFn(page, callback); + } else { + validateResult[2].message = '短信验证码错误'; + validateResult[2].status = false; + callback(); + } + } + + //密码校验 + } else if ($element.hasClass('pwd')) { + if (val === '') { + validateResult[3].message = '请输入密码'; + validateResult[3].status = false; + + } else if (val.length < 6 || val.length > 20) { + validateResult[3].message = '密码只支持6-20位字符'; + validateResult[3].status = false; + + } else if (!pwdReg.test($element.val())) { + validateResult[3].message = '密码须字母和数字组合'; + validateResult[3].status = false; + + } else { + validateResult[3].message = ''; + validateResult[3].status = true; + } + callback(); + + //二次密码校验 + } else if ($element.hasClass('repwd')) { + if (val === '') { + validateResult[4].message = '请输入密码确认'; + validateResult[4].status = false; + + } else if ($pwd.val() !== val) { + validateResult[4].message = '与密码不一致,请重新输入'; + validateResult[4].status = false; + + } else { + validateResult[4].message = ''; + validateResult[4].status = true; + + } + + callback(); + } +} + +function posErrTip() { + var tipPos = $curErrContainer.offset(); + + return $errTip.css({ + top: tipPos.top - 40, + left: tipPos.left + }); +} + +//显示提示信息 +function showErrTip() { + + var show = false, + i, + validateResultLen = validateResult.length; + + for (i = 0; i < validateResultLen; i++) { + if (!show) { + + //不可以通过status判断 + if (!!validateResult[i].message) { + + //显示错误提示 + $errTip.find('span').text(validateResult[i].message); + $curErrContainer = $('#' + validateResult[i].id); + posErrTip().removeClass('hide'); + + show = true; //停止判断 + } else { + $errTip.addClass('hide'); + } + } + } +} + +//显示红色边框 +function showBorder() { + + var $errInput, + i, + validateResultLen = validateResult.length; + + for (i = 0; i < validateResultLen; i++) { + if (!!validateResult[i].message) { + + //显示红色边框 + $errInput = $('#' + validateResult[i].id); + $errInput.addClass('error'); + + } else { + + //去掉红色边框 + $errInput = $('#' + validateResult[i].id); + $errInput.removeClass('error'); + } + } +} + +// 密码强度验证 +function pwdFn($obj) { + var pwd = $obj.val(), + pwdStrength = computeComplex(pwd), + level = 0; + + if (pwdStrength === 0) { + level = 0; + } else if (pwdStrength <= 10) { + level = 1; + } else if (pwdStrength <= 20) { + level = 2; + } else { + level = 3; + } + + switch (level) { + case 0: + $pwdParent.removeClass('red yellow green'); + $pwdIntensity.removeClass('color'); + break; + case 1: + $pwdParent.addClass('red').removeClass('yellow green'); + $pwdIntensity.filter('.low').addClass('color'); + $pwdIntensity.filter('.mid,.high').removeClass('color'); + break; + case 2: + $pwdParent.addClass('yellow').removeClass('red green'); + $pwdIntensity.filter('.low,.mid').addClass('color'); + $pwdIntensity.filter('.high').removeClass('color'); + break; + case 3: + $pwdParent.addClass('green').removeClass('yellow red'); + $pwdIntensity.addClass('color'); + break; + } + + //提示框 + if (pwd === '') { + $pwdTip1.removeClass('red yes no').addClass('default'); + } else if (pwd.length < 6 || pwd.length > 20) { + $pwdTip1.removeClass('default yes').addClass('no red'); + } else { + $pwdTip1.removeClass('default no red').addClass('yes'); + } +} + +//重新定位错误提示 +$(window).resize(function() { + if ($errTip.hasClass('hide')) { + return; + } + + posErrTip(); +}); + +// 失去焦点时开始校验 +// Tips: 不可以在获得焦点的时候验证,获得焦点和失去焦点的间隔太小,如果中间存在ajax校验的话会出现问题 +// ( ▼-▼ )注册页和信息完善页面接口不同 +exports.init = function(page) { + + $('#agree-terms').click(function() { + if ($(this).attr('notchecked')) { + $(this).removeAttr('notchecked'); + $registerBtn.addClass('disable').attr('disabled', 'true'); + } + }); + + // 按回车键提交 + $registerPage.on('keydown', function(e) { + var key = e.which; + + if (key === 13) { + $registerBtn.click(); + } + }); + + $registerPage.find('.va').keyup(function() { + + var j, + statusLen = 0, + vLen = validateResult.length, + $that = $(this); + + validateRule(page, $(this), function() { + showErrTip(); // 显示错误提示 + showBorder(); // 显示红色边框 + + // 如果validateResult中有4个status为true表示验证通过 + for (j = 0; j < vLen; j++) { + + if (validateResult[j].status) { + + statusLen++; + } + + } + + if (statusLen === 4 && !$('#agree-terms').attr('notchecked')) { + $registerBtn.removeClass('disable').removeAttr('disabled'); + } else { + $registerBtn.addClass('disable').attr('disabled', 'true'); + } + + // 图形验证通过时,发送短信按钮可点击 + if (validateResult[1].status) { + $sendCaptcha.removeClass('disable'); + } else { + $sendCaptcha.addClass('disable'); + } + + //图形验证通过时,发送短信按钮可点击 end + + }); + + // 如果是密码则校验强度 + if (($that).hasClass('pwd')) { + pwdFn($that); + } + + }).blur(function() { + + /*validateRule($(this), function() { + showErrTip(); + showBorder(); // 显示红色边框 + });*/ + }); + + $regionSelect.change(function() { + + $region.text($('#region').val()); + + validateRule(page, $pn, showErrTip); //验证 + }); + + // 点击发送验证码 + $sendCaptcha.click(function() { + var timeResidue = 60, + t, + url; + + if ($(this).hasClass('disable')) { + return; + } + + $sendCaptcha.addClass('disable'); + + t = setInterval(function() { + if (timeResidue <= 0) { + $sendCaptcha.removeClass('disable').val('获取短信验证码'); + clearInterval(t); + return; + } + $sendCaptcha.val(timeResidue-- + '秒可重新发送'); + }, 1000); + + if (page === 'reg') { + url = '/passport/register/sendBindMsg'; + } else if (page === 'third') { + url = '/passport/autouserinfo/sendBindMsg'; + } + + //todo ajax 发送验证码 + $.ajax({ + type: 'POST', + url: url, + data: { + area: $region.text().split('+')[1], + mobile: $pn.val(), + verifyCode: $ca.val() + } + }); + }); + + // 防止粘贴密码 + $pwd[0].onpaste = function() { + return false; + }; + + //ajax表单提交 + $registerBtn.click(function() { + var url; + + if (page === 'reg') { + url = '/passport/register/mobileregister'; + } else if (page === 'third') { + url = '/passport/autouserinfo/bindMobile'; + } + + if ($(this).hasClass('disable')) { + return; + } else { + + //ajax提交 + $.ajax({ + type: 'POST', + url: url, + data: { + area: $region.text().split('+')[1], + mobile: $pn.val(), + verifyCode: $ca.val(), + code: $mc.val(), + password: $pwd.val() + } + }).then(function(data) { + + var time = 0, + t, + refer; + + if (data.code === 200) { + + refer = data.data.href; + + t = setTimeout(function() { + time++; + }, 1000); + + $.ajax({ + type: 'GET', + url: data.data.session + }).then(function(data) { + + if (data.code === 200 && t < 3) { + clearInterval(t); + location.href = refer; + } + }); + + if (t >= 3) { + clearInterval(t); + location.href = refer; + } + } else { + + //todo + console.log('网络超时~'); + } + + }); + } + }); + + $('.change-captcha').click(function() { + var time = new Date(), + $captchaImg = $('.captcha-img'), + captchaImgSrc = $captchaImg.attr('src').split('?')[0]; + + $captchaImg.attr('src', captchaImgSrc + '?t=' + time.getTime()); + }); +}; - //获取省 - getAddress({ - id: pId, - type: 'getProvince' - }, function() { +}); +define("js/passport/mail-phone-regx", [], function(require, exports, module){ +/** + * 国家区号Map手机号码以及邮箱验证正则 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/11 + */ + +var countryPhoneRegx = { + '+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]{1}[0-9]{8}$/, + '+81': /^0[9|8|7][0-9]{9}$/, + '+61': /^[0-9]{11}$/ +}; + +var emailRegx = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/; + +var pwdValidateRegx = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/; + +exports.phoneRegx = countryPhoneRegx; + +exports.emailRegx = emailRegx; + +exports.pwdValidateRegx = pwdValidateRegx; +}); +define("js/passport/pwd-strength", [], function(require, exports, module){ +/* + * 计算密码复杂度 + */ + +function gettype(str, i) { + if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { + return 1; + } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { + return 2; + } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { + return 3; + } + + return 4; +} + +function isregular(cur, pre, type) { + var curCode = cur.charCodeAt(0); + var preCode = pre.charCodeAt(0); + + if (curCode - preCode === 0) { + return true; + } + + if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { + return true; + } + + return false; +} + +function getcomplex(curType, preType) { + if (preType === 0 || curType === preType) { + return 0; + } else if (curType === 4 || preType === 4) { + return 2; + } else { + return 1; + } +} + +function computeComplex(password) { + var complex = 0, + length = password.length, + pre = '', + preType = 0, + i = 0, + cur, + curType; + + + for (i = 0; i < length; i++) { + cur = password.charAt(i); + curType = gettype(password, i); + + if (preType !== curType || !isregular(cur, pre, curType)) { + complex += curType + getcomplex(curType, preType); + } + + pre = cur; + preType = curType; + } + + return complex; +} + +module.exports = computeComplex; +}); +define("js/passport/back", ["jquery","jquery.placeholder"], function(require, exports, module){ +/** + * 找回密码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/14 + */ + +var $ = require("jquery"), + regx = require("js/passport/mail-phone-regx"), + emailReg = regx.emailRegx, + phoneRegx = regx.phoneRegx; + +var emailAc = require("js/passport/ac-email"); //邮箱自动完成 + +var $cr = $('#country-code-hide'), + $phoneNum = $('#phone-num'), + $ca = $('#captcha'), + $ccList = $('#country-code-list'), + $cc = $('#country-code'), + $btn = $('#find-btn'), + $accErr = $('#account-err'), + $caErr = $('#captcha-err'), + caCount = 4, //验证码位数 + hasPh = false, + hasCa = false; + + +require("jquery.placeholder"); + +function imgcode() { + var time = new Date(), + $captchaImg = $('#captcha-img'), + captchaImgSrc = $captchaImg.attr('src').split('?')[0]; + + $('#captcha-img').attr('src', captchaImgSrc + '?t=' + time.getTime()); +} + +function enableBtn() { + if (hasPh && hasCa) { + $btn.removeClass('disable').prop('disabled', false); + } else { + $btn.addClass('disable').prop('disabled', true); + } +} + +function vaPn(v) { + var pass = true, + errTxt = ''; + + v = $.trim(v); + if (v !== '') { + if (/^[0-9]+$/.test(v)) { + if (phoneRegx[$cr.val()].test(v)) { + pass = true; + } else { + errTxt = '手机号码格式不正确, 请重新输入'; + pass = false; + } + } else { + if (emailReg.test(v)) { + pass = true; + } else { + errTxt = '邮箱格式不正确, 请重新输入'; + pass = false; + } + } + } else { + errTxt = '账户名不能为空'; + pass = false; + } + hasPh = pass; + return { + pass: pass, + errTxt: errTxt + }; +} + +function vaCa() { + var v = $.trim($ca.val()); + + if (v === '' || v.length < caCount) { + hasCa = false; + enableBtn(); + return; + } else { + $.ajax({ + type: 'POST', + url: '/passport/back/authcode', + data: { + verifyCode: v, + phoneNum: $('#phone-num').val(), + area: $('#country-code-hide').val() + } + + }).then(function(data) { + if (data.code === 200) { + hasCa = true; + } else if (data.code === 402) { + hasPh = false; + hasCa = true; + $accErr.removeClass('hide').find('em').text('该账号不存在'); + $phoneNum.addClass('error'); + } else if (data.code === 400) { + hasCa = false; + imgcode(); + } + enableBtn(); + }); + } +} + +emailAc($phoneNum, function() { + var pnVa = vaPn($phoneNum.val()); + + if (pnVa.pass) { + $accErr.addClass('hide'); + $phoneNum.removeClass('error'); + } else { + $accErr.removeClass('hide').find('em').text(pnVa.errTxt); + $phoneNum.addClass('error'); + } + + enableBtn(); + } +); + +$ca.attr('maxlength', caCount); + +//IE8 placeholder +$('input').placeholder(); + +$('#change-captcha, #captcha-img').on('click', function() { + imgcode(); +}); + +$cc.on('click', function(e) { + e.stopPropagation(); + if ($ccList.css('style') === 'block') { + $ccList.slideUp('fast'); + } else { + $ccList.slideDown('fast'); + } +}); + +$ccList.delegate('li', 'click', function(e) { + var $cur = $(this), + code = $cur.data('cc'), + pnVa; + + e.stopPropagation(); + $cr.val(code); + $cc.find('em').html($cur.text()); + + //切换后验证手机号码 + if ($.trim($phoneNum.val()) !== '') { + pnVa = vaPn($phoneNum.val()); + enableBtn(); + if (hasPh) { + $accErr.addClass('hide'); + $phoneNum.removeClass('error'); + } else { + $accErr.removeClass('hide').text(pnVa.errTxt); + $phoneNum.addClass('error'); + } + } + $ccList.slideUp('fast'); +}); + +$(document).click(function() { + if ($ccList.css('display') === 'block') { + $ccList.slideUp(); + } +}); + +$phoneNum.keyup(function() { + vaPn($.trim($(this).val())); + enableBtn(); +}).focus(function() { + $(this).removeClass('error'); + + //focus隐藏错误提示 + $accErr.addClass('hide'); +}); + +//验证码在鼠标移开后验证, keyup时不再验证 +$ca.blur(function() { + var errTxt = $.trim($ca.val()) === '' ? '验证码不能为空' : '验证码不正确'; + + if (hasCa) { + $caErr.addClass('hide'); + $ca.removeClass('error'); + } else { + $caErr.removeClass('hide').find('em').text(errTxt); + $ca.addClass('error'); + + //验证码错误则刷新验证码 + imgcode(); + } +}).focus(function() { + $(this).removeClass('error'); + + //focus隐藏错误提示 + $caErr.addClass('hide'); +}).keyup(function() { + vaCa(); +}); + +$('#find-btn').click(function(e) { + + if (/^[0-9]+$/.test($.trim($phoneNum.val()))) { + $('#find-form').attr('action', '/passport/back/mobile'); + } + if ($(this).hasClass('disable')) { + return; + } + if (!hasCa || !hasPh) { + e.preventDefault(); + return true; + } +}); +}); +define("js/passport/ac-email", ["jquery"], function(require, exports, module){ +/** + * 邮箱自动补全 + * @author:xuqi<qi.xu@yoho.cn> + * @date: 2016/2/22 + */ +var $ = require("jquery"); + +var mailPostfix = { + num: ['qq.com', '163.com', '126.com', 'sina.com', 'gmail.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'], + other: ['gmail.com', 'qq.com', '163.com', '126.com', 'sina.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'] +}; + +var emailAcTime; + +/** + * @param $input 需要自动完成的$对象 + * @param cb 鼠标移开/点击自动完成项后需要执行的操作(验证等) + */ +module.exports = function($input, cb) { + var ulHtml = '<ul id="email-autocomplete" class="email-autocomplete hide"></ul>'; + + var $emailAutoComplete; + + $input.parent().append(ulHtml); + + $emailAutoComplete = $('#email-autocomplete'); + + $input.on('keyup', function() { + var account = $.trim($(this).val()), + html = '', + accountMatch, + matchStr, + postfix, + i; + + //输入@时自动补全邮箱后缀 + //此处>0非错误,用于避免输入的第一个字符为@被识别为邮箱 + if (account.indexOf('@') > 0) { + accountMatch = account.match(/^[0-9]+@(.*)/); + if (accountMatch) { + + //数字邮箱补全 + postfix = mailPostfix.num; + matchStr = accountMatch[1]; + } else { + postfix = mailPostfix.other; + matchStr = account.match(/@(.*)/)[1]; + } + + for (i = 0; i < postfix.length; i++) { + if (postfix[i].indexOf(matchStr) > -1) { + html += '<li>' + account.slice(0, account.indexOf('@')) + '@' + postfix[i] + '</li>'; + } + } + + if (html !== '' && /.com$/.test(account) === false) { + $emailAutoComplete.html(html).removeClass('hide'); + } else { + + //隐藏autocomplete + $emailAutoComplete.html('').addClass('hide'); + } + } + }).on('blur', function() { + emailAcTime = setTimeout(function() { + + //未点击自动完成项 + $emailAutoComplete.addClass('hide'); + + cb && cb(); + }, 200); + }); + + //邮箱自动完成列表项点击 + $emailAutoComplete.on('click', 'li', function() { + clearTimeout(emailAcTime); //清空默认关闭 + + //点击自动完成项后进行验证 + $input.val($(this).text()).focus(); + + $emailAutoComplete.addClass('hide'); + + cb && cb(); + }); +}; +}); +define("js/passport/login", ["jquery","jquery.placeholder"], function(require, exports, module){ +/** + * 登录 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/11 + */ +var $ = require("jquery"); + +var $account = $('#account'), + $password = $('#password'), + $captcha = $('#captcha'); + +var $accountTip = $account.siblings('.err-tip'), + $passwordTip = $password.siblings('.err-tip'), + $captchaTip = $captcha.siblings('.err-tip'), + $capsLock = $('#caps-lock'); + +var $countryCodeHide = $('#country-code-hide'), + $countryCodeEm = $('#country-code > em'), + $countryList = $('#country-list'); + +var $emailAutoComplete = $('#email-autocomplete'); + +var mailPhoneRegx = require("js/passport/mail-phone-regx"); +var mailAc = require("js/passport/ac-email"); //邮箱自动完成 + +var $remember = $('.remember-me'); + +var captchaUrl = '/passport/images?t='; // /passport/images?t=1454464125 + +var $captchaWrap = $('.captcha-wrap'), + $captcha = $captchaWrap.find('#captcha'), + $captchaImg = $captchaWrap.find('#captcha-img'), + $captchaTip = $captchaWrap.find('.err-tip'); + +//checkbox status unicode +var checkbox = { + checked: '', + unchecked: '' +}; + +var authing = false; + +var emailAcTime; + +require("jquery.placeholder"); + +//验证账户名 +function validateAccount() { + var pass = false, + account = $.trim($account.val()), + err; + + if (account !== '') { + if (/^[0-9]+$/.test(account)) { + + //如果是纯数字,则作为手机号码处理 + if (mailPhoneRegx.phoneRegx[$countryCodeHide.val()].test(account)) { + pass = true; + } else { + pass = false; + err = '手机号码不正确,请重新输入'; + } + } else { + if (mailPhoneRegx.emailRegx.test(account)) { + pass = true; + } else { + pass = false; + err = '邮箱格式不正确,请重新输入'; + } + } + } else { + err = '请输入账户名'; + } + + if (pass) { + $accountTip.addClass('hide'); + $account.removeClass('error'); + } else { + $accountTip.removeClass('hide').children('em').text(err); + $account.addClass('error'); + } + return pass; +} + +//验证密码 +function validatePassword() { + var pass = false, + password = $.trim($password.val()), + err; + + if (password !== '') { + if (password.length < 6) { + err = '请输入长度为6-20字符的密码'; + } else { + pass = true; + } + } else { + err = '请输入密码'; + } + + if (pass) { + $passwordTip.addClass('hide'); + $password.removeClass('error'); + } else { + $passwordTip.removeClass('hide').children('em').text(err); + $password.addClass('error'); + } + return pass; +} + +//验证验证码 +function validateCaptcha() { + var pass = false, + captcha = $.trim($captcha.val()), + err; + + // 验证码不可见的时候不验证 + if ($captchaWrap.is(':hidden')) { + return true; + } + + if (captcha !== '') { + if (captcha.length !== 4) { + err = '请输入长度为4字符的验证码'; + } else { + pass = true; + } + } else { + err = '请输入验证码'; + } + + if (pass) { + $captchaTip.addClass('hide'); + $captcha.removeClass('error'); + } else { + $captchaTip.removeClass('hide').children('em').text(err); + $captcha.addClass('error'); + } + return pass; +} + +//验证 +function validate() { + var pass = true, + account = $.trim($account.val()), + password = $.trim($password.val()); + + if (account !== '') { + pass = validateAccount() && validatePassword() && validateCaptcha(); + } else { + pass = false; + $account.addClass('error'); + + if (password === '') { + + //账户名和密码都为空的情况下点击登陆,只在账户输入框后显示错误提示 + $accountTip.addClass('both-error').removeClass('hide').children('em').text('请输入账户名和密码'); + $passwordTip.addClass('hide'); + $password.addClass('error'); + } else { + $accountTip.removeClass('hide').children('em').text('请输入账户名'); + } + } + + return pass; +} + +//密码错误次数,超过三次显示验证码 +function vaAccountErrTimes() { + $captchaImg.attr('src', captchaUrl + $.now()); + $captcha.val(''); + $captchaWrap.removeClass('hide'); +} + +mailAc($account, function() { + if (validateAccount()) { + $.ajax({ + url: '/passport/login/account', + type: 'GET', + data: { + account: $.trim($account.val()) + } + }).then(function(res) { + if (res.data && res.data.needCaptcha) { + vaAccountErrTimes(); + } + }); + } + } +); + +$('[placeholder]').placeholder(); + +//展开地区列表 +$('#country-code').on('click', function() { + if ($countryList.css('display') === 'none') { + $countryList.slideDown(); + } +}); + +//选中地区列表项 +$countryList.on('click', 'li', function() { + var $this = $(this), + cc = $this.data('cc'); + + $countryCodeEm.html($this.html()); + + $countryCodeHide.val(cc); + + $countryList.slideUp(); +}); + +//点击其他区域,收起区域列表 +$(document).on('click', function(e) { + if ($(e.target).closest('#country-code').length > 0) { + return; + } + + if ($countryList.css('display') === 'block') { + $countryList.slideUp(); + } +}); + +//密码 +$password.on('blur', function() { + validatePassword(); + + if ($capsLock.hasClass('hide')) { + return; + } + + $capsLock.addClass('hide'); +}).on('keypress', function(e) { + var code = e.which; + + //CapsLock检测 + if (code >= 65 && code <= 90) { + $capsLock.removeClass('hide'); + return; + } + $capsLock.addClass('hide'); +}); + +// 验证码 +$captcha.on('blur', function() { + validateCaptcha(); +}); + +//邮箱自动完成列表项点击 +$emailAutoComplete.on('click', 'li', function() { + clearTimeout(emailAcTime); //清空默认关闭 + + $account.val($(this).text()).focus(); + + $emailAutoComplete.addClass('hide'); +}); + +//记住登录状态 +$remember.on('click', function() { + var $this = $(this); + + $this.toggleClass('checked'); + + if ($this.hasClass('checked')) { + $this.children('i').html(checkbox.checked); + } else { + $this.children('i').html(checkbox.unchecked); + } +}); + +//focus到输入框则隐藏错误提示和样式 +$('.va').on('focus', function() { + var $this = $(this); + + $this.removeClass('error'); + + $this.siblings('.err-tip').addClass('hide'); +}); + +// 验证码刷新 +$captchaWrap.on('click', '.change-captcha, .captcha-img', function() { + $captchaImg.attr('src', captchaUrl + $.now()); +}); + +//登录 +$('#login-btn').on('click', function() { + var pass = validate(); + + if (pass && authing === false) { + authing = true; + + $.ajax({ + url: '/passport/login/auth', + type: 'POST', + data: { + areaCode: $countryCodeHide.val().replace('+', ''), + account: $.trim($account.val()), + password: $.trim($password.val()), + captcha: $.trim($captcha.val()), + isRemember: $remember.hasClass('checked') ? true : false + }, + success: function(res) { + if (res.code === 200) { + if (res.data) { + + //防止data.data为undefined时下行语句执行出错而导致脚本不能走到complete去处理authing + location.href = res.data.session; + } + } else { + if (res.data.errorType === 'captcha') { + $captchaTip.removeClass('hide').children('em').html(res.message); + $captcha.addClass('error').val(''); + } else { + $passwordTip.removeClass('hide').children('em').html(res.message); + $password.addClass('error').val(''); + } + + //验证错误次数 + if (res.data && res.data.needCaptcha) { + vaAccountErrTimes(); + } + } + }, + complete: function() { + authing = false; + } + }); + } +}); - var provinceId = $province.val(); +}); +define("js/passport/reset", ["jquery","jquery.placeholder"], function(require, exports, module){ +/** + * 找回密码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/14 + */ + +var $ = require("jquery"); + +var $pwd = $('#pwd'), + $repwd = $('#re-input'), + $next = $('#reset-pwd-btn'), + $pwdErr = $('#pwd-err'), + $repwdErr = $('#repwd-err'), + $pwdTips = $('#pwd-tips'); + +var hasNoErrPw = false; + +var $pwdIntensity = $('.pwd-intensity'), + $pwdParent = $pwdIntensity.closest('.pwd-intensity-container'), + $pwdTip1 = $('#pwd-tip1'); + +var pwdRegx = require("js/passport/mail-phone-regx").pwdValidateRegx; + +require("jquery.placeholder"); + + +/* + * 计算密码复杂度 + */ + +function gettype(str, i) { + if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { + return 1; + } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { + return 2; + } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { + return 3; + } + + return 4; +} + +function isregular(cur, pre, type) { + var curCode = cur.charCodeAt(0); + var preCode = pre.charCodeAt(0); + + if (curCode - preCode === 0) { + return true; + } + + if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { + return true; + } + + return false; +} + +function getcomplex(curType, preType) { + if (preType === 0 || curType === preType) { + return 0; + } else if (curType === 4 || preType === 4) { + return 2; + } else { + return 1; + } +} + +function computeComplex(password) { + var complex = 0, + length = password.length, + pre = '', + preType = 0, + i = 0, + cur, + curType; + + + for (i = 0; i < length; i++) { + cur = password.charAt(i); + curType = gettype(password, i); + + if (preType !== curType || !isregular(cur, pre, curType)) { + complex += curType + getcomplex(curType, preType); + } + + pre = cur; + preType = curType; + } + + return complex; +} + +function pwdKeyupEvt() { + var pwd = $pwd.val(), + pwdStrength = computeComplex(pwd), + level = 0; + + //TODO:自定义密码强度规则,需要修正 + if (pwdStrength === 0) { + level = 0; + } else if (pwdStrength <= 10) { + level = 1; + } else if (pwdStrength <= 20) { + level = 2; + } else { + level = 3; + } + switch (level) { + case 0: + $pwdParent.removeClass('red yellow green'); + $pwdIntensity.removeClass('color'); + break; + case 1: + $pwdParent.addClass('red').removeClass('yellow green'); + $pwdIntensity.filter('.low').addClass('color'); + $pwdIntensity.filter('.mid,.high').removeClass('color'); + break; + case 2: + $pwdParent.addClass('yellow').removeClass('red green'); + $pwdIntensity.filter('.low,.mid').addClass('color'); + $pwdIntensity.filter('.high').removeClass('color'); + break; + case 3: + $pwdParent.addClass('green').removeClass('yellow red'); + $pwdIntensity.addClass('color'); + break; + } + + //提示框 + if (pwd === '') { + $pwdTip1.removeClass('red yes no').addClass('default'); + } else if (pwd.length < 6 || pwd.length > 20) { + $pwdTip1.removeClass('default yes').addClass('no red'); + } else { + $pwdTip1.removeClass('default no red').addClass('yes'); + } + + if (pwdRegx.test(pwd)) { + hasNoErrPw = true; + } else { + hasNoErrPw = false; + } +} + +//IE8 placeholder +$('input').placeholder(); + +$('.va').keyup(function() { + var pass = true; + + if ($(this).hasClass('pwd')) { + pwdKeyupEvt(); + } else { + if ($(this).val() === '') { + pass = false; + } + } + if (pass && hasNoErrPw && $pwd.val() === $repwd.val()) { + pass = true; + } else { + pass = false; + } + if (pass) { + $next.removeClass('disable').prop('disabled', false); + } else { + $next.addClass('disable').prop('disabled', true); + } +}).blur(function() { + var $this = $(this), + v = $this.val(); + + if ($this.hasClass('pwd')) { + if (v === '') { + $this.addClass('error'); + $pwdErr.removeClass('hide').find('em').text('请输入密码'); + } else if (v.length < 6 || v.length > 20) { + $this.addClass('error'); + $pwdErr.removeClass('hide').find('em').text('密码只支持6-20位'); + } else if (!pwdRegx.test(v)) { + $this.addClass('error'); + $pwdErr.removeClass('hide').find('em').text('密码须字母和数字组合'); + } else { + $pwdErr.addClass('hide'); + if ($repwd.val() !== '') { + if (v !== $repwd.val()) { + $repwd.addClass('error'); + $repwdErr.removeClass('hide').find('em').text('两次密码输入不一致,请重新输入'); + } else { + $repwd.removeClass('error'); + $repwdErr.addClass('hide'); + } + } + } + } else { + if (v === '') { + $this.addClass('error'); + $repwdErr.removeClass('hide').find('em').text('请输入密码确认'); + } else { + if ($pwd.val() !== '' && v !== $pwd.val()) { + $this.addClass('error'); + $repwdErr.removeClass('hide').find('em').text('两次密码输入不一致,请重新输入'); + } else { + $this.removeClass('error'); + $repwdErr.addClass('hide'); + } + } + } +}).focus(function() { + $(this).removeClass('error'); + + //focus后错误提示隐藏 + if ($(this).hasClass('pwd')) { + $pwdErr.addClass('hide'); + } else { + $repwdErr.addClass('hide'); + } +}); + +$pwd.focus(function() { + $pwdErr.addClass('hide'); + $pwdTips.removeClass('hide'); +}).blur(function() { + $pwdTips.addClass('hide'); +}); + +$('#pwd, #repwd').keydown(function(e) { + var code = e.keyCode || e.which; + + //空格输入过滤 + if (code === 32) { + e.preventDefault(); + return; + } +}); - if (provinceId !== '0') { +}); +define("js/passport/vertification", ["jquery"], function(require, exports, module){ +/** + * 验证手机 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/14 + */ - //如果获取的省有默认选中项则获取市 - getAddress({ - id: provinceId, - type: 'getCity' - }, function() { +var $ = require("jquery"); - var cityId = $city.val(); +var $sc = $('#send-captcha'), + $msgTip = $('#captcha-tip'), + $errTip = $('#err-tip'), + $next = $('#next-step'), + seconds, + itime; - //如果获取的市有默认选中项则获取县 - if (cityId !== '0') { - getAddress({ - id: cityId, - type: 'getCounty' - }); - } - }); - } - }); +$sc.click(function() { + $.post('/passport/back/sendbackmobile', { + mobile: $('#mobile').val(), + area: $('#area').val(), + verifyCode: $('#captchaPic').val() + }, function(jsonData) { + if (jsonData.code === 200) { + $errTip.hide(); + if ($(this).hasClass('disable')) { + return; + } + seconds = 60; - $selectList.change(function() { - var $this = $(this); + //$sc.addClass('disable').prop('disabled', true); + $sc.addClass('disable').attr('disabled', true); + $msgTip.removeClass('hide'); - if ($this.attr('name') === 'province') { - getAddress({ - id: $this.val(), - type: 'getCity' - }, function() { - isProvinceChecked = true; - }); - } + $sc.val(seconds-- + '秒后可重新操作'); + itime = setInterval(function() { + if (seconds === 0) { + clearInterval(itime); - if ($this.attr('name') === 'city' && isProvinceChecked) { - getAddress({ - id: $this.val(), - type: 'getCounty' - }); + //$sc.val('发送验证码').removeClass('disable').prop('disabled', false); + $sc.val('发送验证码').removeClass('disable').removeAttr('disabled'); + } else { + $sc.val(seconds-- + '秒后可重新操作'); + } + }, 1000); + } else { + $(this).addClass('error'); + $errTip.removeClass('hide').text('发送失败'); } }); -}; +}); -//修改地址 -exports.modifyAddress = function() { +if ($(this).hasClass('disable')) { + return; +} +seconds = 60; - $addressList.click(function(event) { - var $this = $(event.target), - id = $this.closest('li').find('.radio').attr('id'); +//$sc.addClass('disable').prop('disabled', true); +$sc.addClass('disable').attr('disabled', true); +$msgTip.removeClass('hide'); - if ($this.hasClass('address-modify')) { - $addressManage.removeClass('hide'); - exports.newAddress(id); - } else if ($this.hasClass('address-del')) { +$sc.val(seconds-- + '秒后可重新操作'); +itime = setInterval(function() { + if (seconds === 0) { + clearInterval(itime); - $.ajax({ - type: 'post', - url: '/order/save/addressDel', - data: { - id: id - } - }).then(function(data) { + //$sc.val('发送验证码').removeClass('disable').prop('disabled', false); + $sc.val('发送验证码').removeClass('disable').removeAttr('disabled'); + } else { + $sc.val(seconds-- + '秒后可重新操作'); + } +}, 1000); - if (!!data.status) { - $this.closest('li').remove(); - } - }).fail(function() { - //todo - }); - } else if ($this.hasClass('default-address')) { - - // 设为默认地址 - $.ajax({ - type: 'post', - url: '/order/save/defaultAddress', - data: { - id: id - } - }).then(function(data) { +$('#captcha').keyup(function() { + var v = $.trim($(this).val()), + that = this; + + if (v.length === 4) { + $.ajax({ + type: 'POST', + url: '/passport/back/backmobile', + dataType: 'json', + data: { + code: $('#captcha').val(), + verifyCode: $("#captchaPic").val(), + area: $('#area').val(), + mobile: $('#mobile').val() + }, + success: function(res) { + if (res.code === 200) { - if (!!data.status) { - $this.remove(); + //添加验证码正确验证 + $next.removeClass('disable').attr('href', res.data); + $errTip.addClass('hide'); + $(that).removeClass('error'); + } else { + $next.addClass('disable'); + $errTip.removeClass('hide').find('em').text('验证码输入错误'); + $(that).addClass('error'); } - }).fail(function() { + } + }); + } +}).blur(function() { + var v = $.trim($(this).val()); - //todo - }); - } - }); -}; + if (v === '') { -exports.saveAddress = function() { - $saveBtn.click(function() { - - var name = $name.val(), - province = $province.val(), - city = $city.val(), - county = $county.val(), - address = $address.val(), - phone = $phone.val(), - telCode = $telCode.val(), - tel = $tel.val(), - mail = $mail.val(), - code = $code.val(), - id = new Date(); + //添加验证码正确验证 + $(this).addClass('error'); + $errTip.removeClass('hide').text('请输入验证码'); + } +}).focus(function() { + $(this).removeClass('error'); +}); +}); +define("js/passport/thirdlogin", ["jquery"], function(require, exports, module){ +/** + * 第三方登录首页 + * @author: wq + * @date: 2016/1/21 + */ +var $ = require("jquery"); +var nopermissionoption = $('#nopermissionmessage').html(); //倒计时dom +var sendmessagehtml = $('.validatewrapper').html(); //发送短信dom +var second = +$('.second').text(); //倒计时秒数 +var dovalidate = false; //校验验证码标识 +var validatecode = false; //验证码是否通过 +var choosedpic = 'http://cdn.yoho.cn/yohobuy/assets/img/passport/choosed.png';//已选择图片 + +var $wrapper = $('.bindwrapper'), + $phoneTip = $wrapper.find('.phone-err-tip'), + $nextBtn = $wrapper.find('.yohobindbtn'); + +/** + * 选择协议 + * @return {[type]} [description] + */ +function chooseProtocol() { + $('.choosetag').on('change', function() { + var btnColor = '#f02200'; + + if ($(this).attr('checked') === 'checked') { + $('.choosewrapper').css({ + 'background-image': 'url("' + choosedpic + '")' + }); + } else { + $('.choosewrapper').css({ + 'background-image': 'none' + }); + btnColor = '#CCCCCC'; + } + $nextBtn.css({ + 'background-color': btnColor + }); + }); +} +/** + * 判断是否同意协议 + * @return {[type]} [description] + */ +function isagree() { + return $('.choosetag').attr('checked') === 'checked'; +} +/** + * 选择区域的开关 + * @return {[type]} [description] + */ +function chooseAreaToogle() { + $('.optionshow').on('click', function() { + $('.optionslist').toggleClass('hide'); + }); +} + +/** + * 验证码校验 + * @return {[type]} [description] + */ +function codeValidate() { + var validatenum = ''; + + $(document).on('keyup', '#validatenum', function() { + validatenum = $(this).val(); + if (validatenum.length === 4) { + if (!dovalidate) { + dovalidate = true; + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/checkBindMsg', + data: { + code: validatenum, + mobile: $('#mobile').val(), + area: $('#area').val() + } + }).then(function(data) { + dovalidate = false; + if (data.code === 200) { + validatecode = true; + } else { + alert(data.message); + } + }); + } + } + }); +} + +/** + * 选择区域 + * @return {[type]} [description] + */ +function chooseArea() { + $('.optionitem').on('click', function() { + var $option = $(this); + var areanum = $option.attr('areanum'); + var areaname = $option.text(); + + $('#areaname').text(areaname); + $('#areanum').text(areanum); + $('#areacode').val(areanum); + $('.optionslist').addClass('hide'); + }); +} +/** + * 取消选择区域 + * @return {[type]} [description] + */ +function cancelChooseArea() { + $(document).on('click', 'body', function(e) { + var $target = $(e.target); + + if ($target.hasClass('yohoselectarea') || + $target.hasClass('areaname') || + $target.hasClass('righttag') || + $target.hasClass('optionslist') || + $target.hasClass('optionitem')) { + return; + } else { + $('.optionslist').addClass('hide'); + } + }); +} +/** + * 去掉区域号的加号 + * @return {[type]} [description] + */ +function fixAreaNum() { + var $opitem = ''; + var itemarecode = ''; + + $('.optionitem').each(function() { + $opitem = $(this); + itemarecode = $opitem.attr('areanum').replace(/\+/g, ''); + $opitem.attr('areanum', itemarecode); + }); +} + +/** + * 关闭蒙层 + * @return {[type]} [description] + */ +function closeMask() { + var $target; + + $(document).on('click', '#alreayregist', function(e) { + $target = $(e.target); + if ($target.hasClass('mask') || $target.hasClass('backdrop')) { + $('#alreayregist').hide(); + $('.backdrop').hide(); + } + }); + $(document).on('click', '#bindconfirm', function(e) { + $target = $(e.target); + if ($target.hasClass('mask') || $target.hasClass('backdrop')) { + $('#bindconfirm').hide(); + $('.backdrop').hide(); + } + }); +} +/** + * 绑定其他手机号 + * @return {[type]} [description] + */ +function yohoBindBtn() { + $(document).on('click', '#yohobindbtn', function(e) { + $('.phonenum').val(''); + $('#bindconfirm').hide(); + $('.backdrop').hide(); + }); + $(document).on('click', '#yohobindbtn2', function(e) { + $('.phonenum').val(''); + $('#alreayregist').hide(); + $('.backdrop').hide(); + }); +} +/** + * 发送短信的时间变换动画 + * @return {[type]} [description] + */ +function changeSecond() { + second -= 1; + if (second < 0) { + second = 60; + $('.validatewrapper').html(sendmessagehtml); + return; + } else { + $('.second').text(second); + window.setTimeout(changeSecond, 1000); + } + +} +/** + * 时间循环 + * @param {[type]} phonenum [description] + * @return {[type]} [description] + */ +function circleTime(phonenum) { + $('.validatewrapper').html(nopermissionoption); + window.setTimeout(changeSecond, 1000); +} +/** + * 发送短信 + * @return {[type]} [description] + */ +function sendMessageValidate() { + $(document).on('click', '#sendmessage', function() { + if ($('#sendmessage').attr('disabled') === 'disabled') { + return; + } + circleTime($('#mobile').val()); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/sendBindMsg', + data: { + mobile: $('#mobile').val(), + area: $('#area').val() + } + }).then(function(data) { + if (data.code !== 200) { + alert(data.message); + } + }); + + }); +} + +/** + * 最终提交表单 + */ +function actionSubmit() { + var mobile = ''; + var area = ''; + + area = $('#area').val(); + mobile = $('#mobile').val(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/bindMobile', + data: { + area: area, + openId: $('#openId').val(), + sourceType: $('#sourceType').val(), + mobile: mobile + } + }).then(function(data) { + if (data.code === 201) { + window.location.href = '/passport/thirdlogin/bindsuccess'; + } else { + alert(data.message); + } + }); +} + +/** + * 确认去绑定 + * @return {[type]} [description] + */ +function goToBindPhone() { + $(document).on('click', '#gotobindphone', function() { + if (validatecode === true) { + $('#inarea').val($('#areanum').val()); + $('#inmobile').val($('#mobile').val()); + actionSubmit(); + } else { + alert('请输入正确验证码'); + } + }); +} +/** + * 无交互的发送短信 + * @return {[type]} [description] + */ +function sendMessage() { + var mobile = ''; + var area = ''; + + mobile = $('#mobile').val(); + area = $('#areanum').text(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/sendBindMsg', + data: { + mobile: mobile, + area: area + } + }).then(function(data) { + if (data.code !== 200) { + console.log(data.message); + } + }); +} +/** + * 点击下一步 + * @return {[type]} [description] + */ +function nextStep() { + var openId = ''; + var sourceType = ''; + var mobile = ''; + var areaCode = ''; + var username = ''; + var headImg = ''; + + $('#bindfirststep').on('click', function(e) { + e.preventDefault(); + mobile = $('.phonenum').val(); + areaCode = $('#areanum').text(); + if (!isagree()) { + return; + } + if (mobile === '') { + $phoneTip.find('em').text('手机格式错误'); + $phoneTip.removeClass('hide'); + return; + } + openId = $('#openId').val() || '29803EC6D4AAC3AAB8ABDB6AE829D579'; + sourceType = $('#sourceType').val() || 'qq'; + $.ajax({ + type: 'post', + url: '/passport/autouserinfo/bindCheck', + data: { + mobile: mobile, + area: areaCode, + openId: openId, + sourceType: sourceType + }, + dataType: 'json', + success: function(data) { + if (data.code === 200) { + $('#bindmobileform').attr('action', '/passport/thirdlogin/noregist'); + sendMessage(); + $('#bindmobileform').submit(); + } + if (data.code === 400 || data.code === 402) { + $phoneTip.find('em').text('手机格式错误'); + $phoneTip.removeClass('hide'); + } + if (data.code === 506) { + username = data.data.user.username; + headImg = data.data.user.headImg; + $('#registphone').text(mobile); + $('#username').text(username); + if (headImg === '') { + $('#userphoto').attr('src', 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/' + + '01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100'); + } else { + $('#userphoto').attr('src', headImg); + } + $('#logindirectly2').attr('href', data.data.user.bindLogin); + $('.backdrop').show(); + $('#alreayregist').show(); + } + if (data.code === 505) { + username = data.data.user.username; + headImg = data.data.user.headImg; + $('#registphonetwo').text(mobile); + $('#username1').text(username); + if (headImg === '') { + $('#userphoto1').attr('src', 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/' + + '01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100'); + } else { + $('#userphoto').attr('src', headImg); + } + $('#logindirectly').attr('href', data.data.user.bindLogin); + $('.backdrop').show(); + $('#bindconfirm').show(); + } + } + }); + }); +} + +function init() { + fixAreaNum(); //去掉所有区域的+ + sendMessageValidate(); //有交互的发送短信 + chooseProtocol(); //选择协议 + chooseArea(); //选择区域 + chooseAreaToogle(); //选择区域展示或关闭 + cancelChooseArea(); //取消选择区域 + nextStep(); //下一步 + closeMask(); //关闭蒙层 + yohoBindBtn(); //绑定其他手机号点击 + goToBindPhone(); //绑定手机 + codeValidate(); //验证码校验 +} +init(); +}); +define("js/passport/third-pwd", ["jquery"], function(require, exports, module){ +/** + * 第三方绑定完善个人信息 + * @author: wq + * @date: 2016/1/27 + */ +var $ = require("jquery"); +var dovalidate = false; //校验验证码的标识 +var isvalidatecode = false; //是否验证成功的标识 +var isvalidatepwd = false; //密码验证是否通过的标识 +var second = ''; //倒计时时间 +var nopermissionoption = ''; //倒计时的dom +var sendmessagehtml = ''; //发送短信的dom + +var $wrapper = $('.bindwrapper'), + $codeTip = $wrapper.find('.code-err-tip'), + $pwdTip = $wrapper.find('.pwd-err-tip'); +var $pwd, + $pwdParent, + $pwdTip1, + $pwdIntensity; + +var pwdRegx = require("js/passport/mail-phone-regx").pwdValidateRegx; + +nopermissionoption = $('#nopermissionmessage').html(); +sendmessagehtml = $('.validatewrapper').html(); +second = +$('.second').text(); + + +function gettype(str, i) { + if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { + return 1; + } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { + return 2; + } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { + return 3; + } + + return 4; +} + +function isregular(cur, pre, type) { + var curCode = cur.charCodeAt(0); + var preCode = pre.charCodeAt(0); + + if (curCode - preCode === 0) { + return true; + } + + if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { + return true; + } + + return false; +} + + +function getcomplex(curType, preType) { + if (preType === 0 || curType === preType) { + return 0; + } else if (curType === 4 || preType === 4) { + return 2; + } else { + return 1; + } +} + + +/** + * @desc: 计算密码复杂度(from:http://www.oschina.net/code/snippet_127301_17269) + * @author: xuqi(qi.xu@yoho.cn) + * @date: 2015/5/6 + */ +function computeComplex(password) { + var complex = 0; + var length = password.length; + var pre = ''; + var preType = 0; + var i = 0; + var cur = ''; + var curType = ''; + + for (i; i < length; i++) { + cur = password.charAt(i); + curType = gettype(password, i); + if (preType !== curType || !isregular(cur, pre, curType)) { + complex += curType + getcomplex(curType, preType); + } + pre = cur; + preType = curType; + } + + return complex; +} + +function showErrTip($dom, info) { + $dom.find('em').text(info); + $dom.removeClass('hide'); +} + +function changeSecond() { + second -= 1; + if (second < 0) { + second = 60; + $('.validatewrapper').html(sendmessagehtml); + return; + } else { + $('.second').text(second); + window.setTimeout(changeSecond, 1000); + } + +} +/** + * 启动倒计时 + * @return {[type]} [description] + */ +function circleTime() { + $('.validatewrapper').html(nopermissionoption); + window.setTimeout(changeSecond, 1000); +} + +function sendMessageValidate() { + var mobile = ''; + var area = ''; + + $(document).on('click', '#sendmessage', function() { + circleTime(); + mobile = $('#mobile').val(); + area = $('#area').val(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/sendBindMsg', + data: { + mobile: mobile, + area: area + } + }).then(function(data) { + if (data.code !== 200) { + alert(data.message); + } + }); + + }); +} + + + +function codeValidate() { + var validatenum = ''; + + $(document).on('keyup', '#validatenum', function() { + $('#err-info').hide(); + validatenum = $(this).val(); + if (validatenum.length === 4) { + if (!dovalidate) { + dovalidate = true; + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/checkBindMsg', + data: { + code: validatenum, + mobile: $('#mobile').val(), + area: $('#area').val() + } + }).then(function(data) { + dovalidate = false; + if (data.code !== 200) { + $('#err-info').show(); + } else { + isvalidatecode = true; + } + }); + } + } + }); +} + +function pwdKeyupEvt() { + var pwd = $pwd.val(), + pwdStrength = computeComplex(pwd), + level = 0; + + if (pwdStrength === 0) { + level = 0; + } else if (pwdStrength <= 10) { + level = 1; + } else if (pwdStrength <= 20) { + level = 2; + } else { + level = 3; + } + switch (level) { + case 0: + $pwdParent.removeClass('red yellow green'); + $pwdIntensity.removeClass('color'); + break; + case 1: + $pwdParent.addClass('red').removeClass('yellow green'); + $pwdIntensity.filter('.low').addClass('color'); + $pwdIntensity.filter('.mid,.high').removeClass('color'); + break; + case 2: + $pwdParent.addClass('yellow').removeClass('red green'); + $pwdIntensity.filter('.low,.mid').addClass('color'); + $pwdIntensity.filter('.high').removeClass('color'); + break; + case 3: + $pwdParent.addClass('green').removeClass('yellow red'); + $pwdIntensity.addClass('color'); + break; + } + if (pwd === '') { + isvalidatepwd = false; + $pwdTip1.removeClass('red yes no').addClass('default'); + } else { + if (pwd.length < 6 || pwd.length > 20) { + isvalidatepwd = false; + $pwdTip1.removeClass('default yes').addClass('no red'); + } else { + isvalidatepwd = true; + $pwdTip1.removeClass('default no red').addClass('yes'); + } + } +} + +function validatePwd() { + $(document).on('keyup', '.pwdcontent', function() { + pwdKeyupEvt($(this)); + }); + $(document).on('focus', '.pwdcontent', function() { + $('#pwd-tips').removeClass('hide'); + }); + $(document).on('blur', '.pwdcontent', function() { + $('#pwd-tips').addClass('hide'); + }); +} + +/** + * 最终提交表单 + */ +function actionSubmit() { + var mobile = ''; + var area = ''; + var pwd = ''; + var code = ''; + + area = $('#area').val(); + pwd = $('#pwd').val(); + mobile = $('#mobile').val(); + code = $('#validatenum').val(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/bindMobile', + data: { + area: area, + openId: $('#openId').val(), + sourceType: $('#sourceType').val(), + mobile: mobile, + password: pwd, + code: code + } + }).then(function(data) { + if (data.code === 200) { + window.location.href = '/passport/thirdlogin/bindsuccess'; + } else { + alert(data.message); + } + }); +} +/** + * 确定完善信息 + * @return {[type]} [description] + */ +function actionConfirm() { + var validatenum = ''; + var pwd = ''; + + $('#confirmsubmit').on('click', function() { + var isAssess = true; + + validatenum = $('#validatenum').val(); + pwd = $('#pwd').val(); + + if (validatenum === '') { + showErrTip($codeTip, '短信验证码不能为空'); + isAssess = false; + } else if (isvalidatecode === false) { + showErrTip($codeTip, '请输入正确的验证码'); + isAssess = false; + } + + if (pwd === '') { + showErrTip($pwdTip, '密码不能为空'); + isAssess = false; + } else if (pwd.length < 6 || pwd.length > 20) { + showErrTip($pwdTip, '密码只支持6-20位字符'); + isAssess = false; + } else if (!pwdRegx.test(pwd)) { + showErrTip($pwdTip, '密码须由字母和数字组合'); + isAssess = false; + } else if (isvalidatepwd === false) { + showErrTip($pwdTip, '请输入符合强度的密码'); + isAssess = false; + } + + if (!isAssess) { + return; + } + + actionSubmit(); + }); +} + + + +function init() { + circleTime(); //倒计时 + $pwd = $('#pwd'); + $pwdParent = $('.safelevel'); + $pwdIntensity = $('.pwd-intensity'); + $pwdTip1 = $('#pwd-tip1'); + sendMessageValidate(); + codeValidate(); + validatePwd(); + actionConfirm(); +} + +init(); - $.ajax({ - type: 'post', - url: '/order/save/addressSave', - data: { - name: name, - province: province, - city: city, - county: county, - address: address, - phone: phone, - tel: tel, - telCode: telCode, - mail: mail, - code: code, - id: id * 1 - } - }).then(function(data) { - - var addressStr; - - if (!!data.status) { - addressStr = '<li>' + - '<input class="radio" type="radio" name="address" id="' + id * 1 + '" />' + - '<label for="' + id * 1 + '">' + - '<strong>' + name + '</strong>' + - '<span>' + address + '</span>' + - '<a href="javascript:void(0);">设为默认地址</a>' + - '<div class="order-modify-btn">' + - '<span class="address-modify">[修改]</span>' + - '<span class="address-del">[删除]</span>' + - '</div>' + - '</label>' + - '</li>'; - - $('.use-new-address').before($(addressStr)); - } - }).fail(function() { +}); +define("js/order/ensure", ["jquery"], function(require, exports, module){ +/** + * @description: 订单保存 + * @time: 2015/12/21 + */ + +var $ = require("jquery"); + +var address = require("js/order/address"); + +var Order = { + /*业务数据(人民币)*/ + Data: { + product: 0,//商品价格 + activity: 0,//活动 + carriage: 0,//邮费 + juan: 0,//优惠卷 + yohocoin: 0//YOHO币 + }, + /*view 交互*/ + UI: { + e: { + $pan: $('.pan'), + $jc: $('#juancode'), + $bp: $('#biprice'), + $statistics: $('li', '.play-total'), + $tobi: $('p em', '.play-bi-pan .play-pan'), + $cancel: $('.cancel', '.btn-group'), + $total: $('em', '.to-play'), + $tbody: $('table tbody', '.pay-wapper'), + + //请填写并核对一下信息 + $orderSelectionSave: $('.address-list h2 span'), + $addAddress: $('.add-address'), + $addressManage: $('.address-manage'), + $spanPayTypeLegend: $('span.pay-type-legend'), + $supportType: $('.support-type'), + $existAddressList: $('.exist-address-list').find('li'), + $existAddress: $('.exist-address-list').find('input[name="exist-address"]'), + $payTimeModify: $('.pay-time-modify'), + $switchPayModify: $('.switch-pay-modify') + }, + init: function() { + var e = this.e, + d = Order.Data, + c = Order.Common; + + /*初始化产品价格*/ + e.$tbody.find('tr').each(function(index) { + var td = $(this).find('td'); + var len = e.$tbody.find('tr').length; + var subtotal = parseFloat(td.eq(1).html()) * parseInt(td.eq(3).html()); + + td.eq(4).html(c.strFixed(subtotal)); + d.product += subtotal; + if (!index) { + td.last().attr('rowspan', len); + } else { + td.last().remove(); + } + if (index === len - 1) { + e.$tbody.find('tr').eq(0).find('td').last().html('<strong>' + c.strFixed(d.product) + '</strong>'); + } + }); + + + + /*初始化价格*/ + this.render(); + + /*点击pan dt 打开dd*/ + e.$pan.find('dt').click(function() { + var pan = $(this).parent('dl.pan'); + + if (pan.find('dd').is(':hidden')) { + c.winShow(pan); + } else { + c.winHide(pan); + } + + }); + + /*使用优惠卷支付 下面的文本框*/ + e.$jc.on('focus change', function(event) { + var radio = $(this).prev('label').prev(':radio'); + + if (event.type === 'focus') { + radio.attr('checked', true); + } else { + radio.val($(this).val()); + } + + }); + + /*使用YOHO币支付*/ + e.$bp.data('tobi', e.$tobi.html()); + e.$bp.on('keyup change', function() { + var bi = c.enterNUM($(this).val(), $(this).data('tobi')); + + $(this).val(bi); + }); + + /*取消关闭小窗口*/ + e.$cancel.click(function() { + var pan = $(this).parents('.pan'); + + c.winHide(pan); + }); + + e.$statistics.slice(3, 5).find('a').click(function() { + var pan = $('.' + $(this).attr('to')); + + c.winShow(pan); + }); + + + //请填写并核对一下信息 + e.$orderSelectionSave.click(function() { + + if (!$(this).data('expand')) { + $('.address-list-inner').addClass('hide'); + + $(this).data('expand', 'expand').text('[不保存并关闭]'); + + } else { + $('.address-list-inner').removeClass('hide'); + + $(this).removeData('expand').text('[修改]'); + } + + }); + + + //支付及送货时间 + e.$switchPayModify.click(function() { + + if (e.$payTimeModify.hasClass('hide')) { + e.$payTimeModify.removeClass('hide'); + $(this).text('[不保存并关闭]'); + } else { + e.$payTimeModify.addClass('hide'); + $(this).text('[修改]'); + } + }); + + e.$spanPayTypeLegend.click(function() { + $(this).toggleClass('active'); + + e.$supportType.toggleClass('hide'); + }); + + $(document).on('click', '.exist-address-list li', function() { + + e.$existAddressList.removeClass('active'); + $(this).addClass('active'); + + e.$existAddress.removeAttr('checked'); + $(this).find('input[name="exist-address"]').attr('checked', 'checked'); + + if ($(this).hasClass('use-new-address')) { + e.$addressManage.removeClass('hide'); + } + }); + }, + + //渲染价格明细 + render: function() { + var e = this.e, + d = Order.Data, + c = Order.Common; + var i = 0; + + e.$total.html('0.00'); + e.$statistics.find('em').html('0.00'); + e.$statistics.slice(3, 5).hide(); + + $.each(d, function(key) { + if (d.hasOwnProperty(key)) { + if (d[key]) { + e.$statistics.eq(i).show().find('em').html(c.strFixed(d[key])); + } + } + i++; + }); + e.$total.html(c.strFixed(c.calucate())); + + } + }, + /*公共方法*/ + Common: { + enterNUM: function(str1, str2) { + str1 = str1.replace(/[^\d]/g, ''); + if (str1 && str2) { + str1 = parseInt(str1); + str2 = parseInt(str2); + if (str1 > str2) { + str1 = str2; + } + } + return str1; + }, + calucate: function() { + var p = Order.Data; + + $.each(Order.Data, function(key, index) { + p[key] = parseFloat(Order.Data[key]); + }); + return p.product - p.activity + p.carriage - p.juan - p.yohocoin; + }, + winShow: function(pan) { + pan.find('dt').show(); + pan.find('dd').show(); + if (pan.attr('class').match(/(-bi-)|(-juan-)/g)) { + pan.find('dt').hide(); + } + }, + winHide: function(pan) { + pan.find('dt').show(); + pan.find('dd').hide(); + }, + strFixed: function(str) { + return parseFloat(str).toFixed(2); + } + }, + /*业务逻辑*/ + Bll: { + e: { + $juanok: $('#juansubmit'), + $juantip: $('.errtip', '.play-juan-pan'), + $biok: $('#bisubmit'), + $carriageGroup: $('input[name="carriagegroup"]') + }, + init: function() { + var e = this.e, + d = Order.Data, + c = Order.Common, + u = Order.UI; + var options; + + e.$carriageGroup.change(function() { + d.carriage = parseFloat($(this).val()); + u.render(); + }); + /*点击 优惠卷支付 确认按钮*/ + e.$juanok.click(function() { + var code = $('input[name="juangroup"]:checked').val(); + var pan = $(this).parents('.pan'); + + if (code) { + options = { + url: '/Order/save/priceByCode', + type: 'post', + data: { + code: code + }, + success: function(data) { + if (data.code === 200) { + if (data.price) { + d.juan = data.price; + Order.UI.render(); + c.winHide(pan); + return; + } + u.render(); + } + e.$juantip.html(data.msg); + }, + error: function() { + e.$juantip.html('网络出现错误~'); + } + }; + + $.ajax(options); + } + }); + /*点击 YOHO币支付 确认按钮*/ + e.$biok.click(function() { + var pan = $(this).parents('.pan'); + + d.yohocoin = parseFloat(u.e.$bp.val()) / 100; + u.render(); + c.winHide(pan); + return; + }); + } + } +}; + +Order.Data.activity = 0; +Order.Data.carriage = 0; + +Order.UI.init(); +Order.Bll.init(); + + +address.newAddress(); +address.modifyAddress(); +address.saveAddress(); - //todo - }); - }); +}); +define("js/order/address", ["jquery"], function(require, exports, module){ +/** + * @description: 地址管理 + * @author: chenglong.wang@yoho.cn + */ + +var $ = require("jquery"); + +var isProvinceChecked = false; + +var $addressManage = $('.address-manage'), + $province = $addressManage.find('.text-input[name="province"]'), + $city = $addressManage.find('.text-input[name="city"]'), + $county = $addressManage.find('.text-input[name="county"]'), + $selectList = $addressManage.find('.text-input[name="province"], .text-input[name="city"]'), + $addressList = $('.address-list'), + $name = $addressManage.find('.text-input[name="name"]'), + $phone = $addressManage.find('.text-input[name="phone"]'), + $telCode = $addressManage.find('.text-input[name="code-tel"]'), + $tel = $addressManage.find('.text-input[name="tel"]'), + $mail = $addressManage.find('.text-input[name="mail"]'), + $address = $addressManage.find('.text-input[name="address"]'), + $code = $addressManage.find('.text-input[name="code"]'), + $saveBtn = $('.save-btn'); + +function structureOption($obj, data) { + + var key, + optionHtml, + defaultOption; + + for (key in data) { + + if (data[key].checked) { + optionHtml += '<option selected value="' + data[key].value + '">' + data[key].name + '</option>'; + } else { + optionHtml += '<option value="' + data[key].value + '">' + data[key].name + '</option>'; + } + + + } + + $obj.html(optionHtml); + + if ($obj.attr('name') === 'province') { + defaultOption = '<option value="0">请选择省份</option>'; + } else if ($obj.attr('name') === 'city') { + defaultOption = '<option value="0">请选择城市</option>'; + } else if ($obj.attr('name') === 'county') { + defaultOption = '<option value="0">请选择区县</option>'; + } + $obj.prepend($(defaultOption)); + +} +/** + * @description: 改函数会返回地址信息 + * d {Object} type: 'getProvince'获取省 type: 'getCity'获取城市 type: 'getCounty'获取县 + * id: 0 && type: 'getProvince' 获取所有省,默认没有选中项 + * id !== 0 && type: 'getProvince' 获取所有省,默认选中用户所在的省 + */ +function getAddress(d, callback) { + + var $obj, + url; + + if (d.type === 'getProvince') { + url = 'getProvince'; + + $obj = $province; + } else if (d.type === 'getCity') { + url = 'getCity'; + + $obj = $city; + } else if (d.type === 'getCounty') { + url = 'getCounty'; + + $obj = $county; + } + $.ajax({ + type: 'post', + url: '/order/save/' + url, + dataType: 'json', + data: { + id: d.id + } + }).then(function(data) { + + structureOption($obj, data); + + if (typeof callback === 'function') { + callback(); + } + + }).fail(function() { + + //todo + }); +} + +function getUserInfo(id) { + $.ajax({ + type: 'post', + url: 'getUserInfo', + data: { + id: id + } + }).then(function(data) { + var key; + + for (key in data) { + + if (data.hasOwnProperty(key)) { + if (!!data[key]) { + eval('$' + key).val(data[key]); + } + } + } + + }).fail(function() { + + }); +} + +//添加地址 +exports.newAddress = function(id) { + + var pId = id !== 'undefined' ? id : 0; + + if (!!pId) { + getUserInfo(); + } + + //获取省 + getAddress({ + id: pId, + type: 'getProvince' + }, function() { + + var provinceId = $province.val(); + + if (provinceId !== '0') { + + //如果获取的省有默认选中项则获取市 + getAddress({ + id: provinceId, + type: 'getCity' + }, function() { + + var cityId = $city.val(); + + //如果获取的市有默认选中项则获取县 + if (cityId !== '0') { + getAddress({ + id: cityId, + type: 'getCounty' + }); + } + }); + } + }); + + $selectList.change(function() { + var $this = $(this); + + if ($this.attr('name') === 'province') { + getAddress({ + id: $this.val(), + type: 'getCity' + }, function() { + isProvinceChecked = true; + }); + } + + if ($this.attr('name') === 'city' && isProvinceChecked) { + getAddress({ + id: $this.val(), + type: 'getCounty' + }); + } + }); +}; + +//修改地址 +exports.modifyAddress = function() { + + $addressList.click(function(event) { + var $this = $(event.target), + id = $this.closest('li').find('.radio').attr('id'); + + if ($this.hasClass('address-modify')) { + $addressManage.removeClass('hide'); + exports.newAddress(id); + } else if ($this.hasClass('address-del')) { + + $.ajax({ + type: 'post', + url: '/order/save/addressDel', + data: { + id: id + } + }).then(function(data) { + + if (!!data.status) { + $this.closest('li').remove(); + } + }).fail(function() { + + //todo + }); + } else if ($this.hasClass('default-address')) { + + // 设为默认地址 + $.ajax({ + type: 'post', + url: '/order/save/defaultAddress', + data: { + id: id + } + }).then(function(data) { + + if (!!data.status) { + $this.remove(); + } + }).fail(function() { + + //todo + }); + } + }); +}; + +exports.saveAddress = function() { + $saveBtn.click(function() { + + var name = $name.val(), + province = $province.val(), + city = $city.val(), + county = $county.val(), + address = $address.val(), + phone = $phone.val(), + telCode = $telCode.val(), + tel = $tel.val(), + mail = $mail.val(), + code = $code.val(), + id = new Date(); + + $.ajax({ + type: 'post', + url: '/order/save/addressSave', + data: { + name: name, + province: province, + city: city, + county: county, + address: address, + phone: phone, + tel: tel, + telCode: telCode, + mail: mail, + code: code, + id: id * 1 + } + }).then(function(data) { + + var addressStr; + + if (!!data.status) { + addressStr = '<li>' + + '<input class="radio" type="radio" name="address" id="' + id * 1 + '" />' + + '<label for="' + id * 1 + '">' + + '<strong>' + name + '</strong>' + + '<span>' + address + '</span>' + + '<a href="javascript:void(0);">设为默认地址</a>' + + '<div class="order-modify-btn">' + + '<span class="address-modify">[修改]</span>' + + '<span class="address-del">[删除]</span>' + + '</div>' + + '</label>' + + '</li>'; + + $('.use-new-address').before($(addressStr)); + } + }).fail(function() { + + //todo + }); + }); }; }); diff --git a/web-static/dist/yohobuy/0.0.6/index.css b/web-static/dist/yohobuy/0.0.6/index.css index 2cb9888..78bd15e 100644 --- a/web-static/dist/yohobuy/0.0.6/index.css +++ b/web-static/dist/yohobuy/0.0.6/index.css @@ -1 +1 @@ -@charset "utf-8";a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,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,td,th{text-align:left;font-weight:400;vertical-align:middle}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}.clearfix:after{content:'';display:table;clear:both}body{font-family:arial,Microsoft YaHei}@font-face{font-family:iconfont;src:url(../assets/font/iconfont.eot);src:url(../assets/font/iconfont.eot?#iefix) format('embedded-opentype'),url(../assets/font/iconfont.woff) format('woff'),url(../assets/font/iconfont.ttf) format('truetype'),url(../assets/font/iconfont.svg#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:.2px;-moz-osx-font-smoothing:grayscale}.center-content{width:1150px;margin-left:auto;margin-right:auto}.min-screen .center-content{width:990px}.left,.pull-left{float:left}.pull-right,.right{float:right}.center{text-align:center}.hide{display:none!important}a:focus,input,textarea{outline:none}a{text-decoration:none;color:#000}.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:16}.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:#000}.yoho-header .rightpart{position:absolute;right:0;top:0}.yoho-header .rightpart .acttags{background-color:#dcdcdc}.yoho-header .rightpart .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,.yoho-header .header-yoho,.yoho-header .login-out,.yoho-header .loginbar,.yoho-header .registbar{color:#000;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:15}.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:#000;height:25px;line-height:20px;font-size:18px}.yoho-header .user-level{color:#000;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:#000}.yoho-header .myyoho-info-footer{height:51px;line-height:51px;text-align:center}.yoho-header .myyoho-info-footer a{color:#000;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:16}.yoho-header .qr-img{position:relative;background-image:url(../assets/img/header/qr.png);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 .all span,.yoho-header .boys a,.yoho-header .boys span,.yoho-header .girls a,.yoho-header .girls span,.yoho-header .kids a,.yoho-header .kids span,.yoho-header .lifestyle a,.yoho-header .lifestyle span{color:#fff!important}.yoho-header .all{background-color:#5e4b3c}.yoho-header .all .sub-nav-wrapper{background-color:#000;display:block!important}.yoho-header .all .third-nav-wrapper{border-top:2px solid #000}.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:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MUFFQTNDNEExRjA1MTFFNUIwODc4NTUzNUJFODJCMjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MUFFQTNDNEIxRjA1MTFFNUIwODc4NTUzNUJFODJCMjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxQUVBM0M0ODFGMDUxMUU1QjA4Nzg1NTM1QkU4MkIyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxQUVBM0M0OTFGMDUxMUU1QjA4Nzg1NTM1QkU4MkIyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj44ndIAAAF7SURBVHjavJa7SsRAFEBn11gpov8gCCIKIijYrVjZCYmNFjYidn6BrSCWFoKdjQTsLKw0bHwh2gi+BTu30TWFK+j6OgMTiEOM0Z3shUPmzoQ5ZF6ZnG3ba0KIMfE9zqAH3sQv4bquSBN5GI2p74RuYTCkaAa24Fxr6zctWoEhGNfaBkyKcsxRWG6AMrSo/AaGDThemMeSFal4Bx9GVN4Otya+xnGchbxWVxTZxGy9RA+66AgqGYg8XSQ36F49RFkN306cyDMsuYfTONGhXPsGRUX20Wec6BUODIr88AgSGQ+flyTyDUkCOEkS7UPVgGiX+flIEj2rRWFk2JJEpuZpO41oCa5qkKwybMdhYiW8WIIOaP2HpIqkov9h06ycQN0jBtVmDusCOpTPJihAm8x1SVqRjEW5gmBDnYVW5KfWxeMC1uGSvPDTnSFNTEXKfdAbySegWZUbYbIWUVnLH7VDM+ndP4mm4Q6eYA6uI23LsKk2uDwj5+M6+BJgAFPmZONXOE3uAAAAAElFTkSuQmCC) no-repeat}.yoho-header .gobuygirls{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABfklEQVRIx73Vv0vDQBTA8e9F3UR09j8QUSiC4Cg4ud3iJOIi4uZ2m+uBODq46uJipg5ONbRWiyiC4G/BTZdaHfxBrRiHpJLG2NTm4pvevXe5Dxy5O+FqexOYojHOgGGh5AeGwgJkRH0AGDKF1KEFIAech3qjJiFRT1xtZ4CjQG9dKDmTBtQBVIAev3QDTBgwqkLJexGsuNrOApMmt8yPZStUyKeAACz+F/QQhg6BlxQgpwHyD+he6pAfaWzfbhTkGEbKwGkUdABUDUJ5oaT7AxJKvgMlg1ABvLsuKhyDkNMMKhhCnoCTZtA+UDMAFYWSn79CQslXvJ8iaTj1xGplUoLYaQVaBa4SIBtCye/3TcTNdrXd2wZSE0o23JmxUAAcA/qAnFDyLdTrx3v6j4WSt1HfW/EEuNpeAYpAFsi72u4M9AaBC2ALuHS1Pd42BMwF8hEgExhPA91+3gXMJoEqofFjIC/HzP0TNA/cAc/AklDyOtBbA7bxDngJ0FELfAHxEGiu2DHs/wAAAABJRU5ErkJggg==) no-repeat}.yoho-header .gobuykids{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABgUlEQVRIx73Vvy8EQRTA8e8eMo0Itf9ADMlFIlFKVDqNSkQjolNvoZpEIkqFlkaju0J1NneOixCJjd8SHc05Cj8yTlDsnuytdXvcrFe9eW92PslkZ8ayXb0OjFMbJ0C/kuINQ5ECxiLqPUCfKaQKzQJZ4DTUGzQJWdXEdnUaOAj0VpUUk0lALUAZ6PBLV8CIAUMrKW6tYMV2dQYYNbllfiymQoVcAgjA3H9Bd2FoH3hKAHJqIP+A7iQO+ZHE9m1HQY5hpAQcR0F7gDYI5ZQUH98gJcUrUDQI5cG766LCMQg59aC8IeQBOKoH7QIVA1BBSfH+I6SkeMb7KZoNp5qkGpnURGw1Ai0DF00ga0qKr/fNipttu7rzD0hFSVFzZ8ZCAXAI6AKySoqXUK8b7+k/VFJcR32fiifAdvUSUAAyQM52dWug1wucARvAue3q4T9DwHQgHwDSgfEE0O7nbcBUM1A5NL4P5KWYub+CZoAb4BGYV1JcBnorwCbeAS8CC1ELfAIRimiKicNJAQAAAABJRU5ErkJggg==) no-repeat}.yoho-header .gobuylifestyle{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABf0lEQVRIx73VPUvDQBjA8X+ibiI6+w1EFIogSCbBKZuLkxEXETc/gasgjg6u5+Li1gOnGtqrFlEEwXfBTZdaHXyhVtQhqaQxNrW5+EzPPc/lfnDk7gzHtjaBKRrjFBgWUr2jKUxgMqI+AAzpQurQApADzkK9UZ2QUU8c28oAh4GeEFLNpAF1ABWgxy9dAxMajKqQ6s4IVhzbygK2zi3zY8UMFfIpIACL/wXdh6ED4DkFyG2A/AO6mzrkRxrbp6IgVzNSBk6ioH2gqhHKC6k+f0BCqjegpBEqgHfXRYWrEXKbQQVNyCNw3AzaA2oaoKKQ6uNXSEj1gvdTJA23npitTEoQO61Aa8BlAmRDSPX9vhlxsx3b6m0DqQmpGu7MWCgAjgF9QE5I9Rrq9eM9/UdCqpuo7814AhzbWgWKQBbIO7bVGegNAufAFnDh2NZ42xAwF8hHgExgPA10+3kXMJsEqoTGD4G8HDP3T9A8cAs8AUtCqqtAbx3YxjvgJWA5aoEvXQ1rTnQJKpQAAAAASUVORK5CYII=) no-repeat}.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:#000;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:9}.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 a{position:relative;color:#fff;font-size:14px;line-height:14px;display:inline-block}.yoho-header .sub-nav-item:last-child{margin-right:0!important}.yoho-header .newlogo{display:block;width:26px;height:12px;background-image:url(../assets/img/header/new.png);background-repeat:no-repeat;position:absolute;right:-29px;top:-6px}.yoho-header .actsecondnav,.yoho-header .sub-nav-item:hover>a{padding-bottom:3px;border-bottom:2px solid #fff}.yoho-header .sub-nav-item:hover .third-nav-wrapper{display:block}.yoho-header .third-nav-wrapper{box-sizing:border-box;height:410px;position:absolute;left:0;top:38px;width:100%;min-width:1150px;display:none;z-index:14;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:#000;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:#000!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:#e01!important;font-size:14px}.yoho-header .category-item-act a{color:#000!important}.yoho-header .showdetail{box-sizing:border-box;padding-left:19px;padding-right:19px;width:337px;height:250px;float:right}.yoho-header [class*=" icon-"],.yoho-header [class^=icon-]{display:inline-block;vertical-align:middle;background-repeat:none}.yoho-header .icon-hamburger{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAALCAYAAACksgdhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MkNDMTBCN0ExRjAzMTFFNUI1NzZENkM4MUQyMEJGQTgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MkNDMTBCN0IxRjAzMTFFNUI1NzZENkM4MUQyMEJGQTgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyQ0MxMEI3ODFGMDMxMUU1QjU3NkQ2QzgxRDIwQkZBOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoyQ0MxMEI3OTFGMDMxMUU1QjU3NkQ2QzgxRDIwQkZBOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqrUNPwAAAAmSURBVHjaYuzr6/vPQCJgAWJGUjUxMZAB6KcJ5KfRgCA3IAACDACZEATHVTZCoQAAAABJRU5ErkJggg==) no-repeat;width:13px;height:11px}.yoho-header .icon-headphones{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAOCAYAAAASVl2WAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDNDODgxQzgxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDNDODgxQzkxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEM0M4ODFDNjFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEM0M4ODFDNzFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhJU+6cAAAB7SURBVHjaYnyorNzIwMDwFYgZGVDBPyDmYwESP4C4CyroBqV3QelKkAIeIF4IxNeQdBsCsRYQPwEpYALiE0A8Hc2KTCCWY2IgAIaHAlhI8gFxORCLQsVfQ+kfIAW/gLgTKjALamoJclBzAnEZNLL4oBIg0/4DMRdAgAEA3OsUBsKkQkoAAAAASUVORK5CYII=) no-repeat;width:15px;height:10px;margin-top:2px}.yoho-header .icon-heart{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAALCAYAAABLcGxfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QkJFNDA0MDMxRjAzMTFFNTgzQUY4OEM0NzJDQ0YyNzAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QkJFNDA0MDQxRjAzMTFFNTgzQUY4OEM0NzJDQ0YyNzAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCQkU0MDQwMTFGMDMxMUU1ODNBRjg4QzQ3MkNDRjI3MCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCQkU0MDQwMjFGMDMxMUU1ODNBRjg4QzQ3MkNDRjI3MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgbjRwsAAADJSURBVHjahNC9DgFBEMDxuXWiUUq0Si+i9AqiukQjkdBRi0R8FlrxAhKtgkfw0aiovYGEhP/EhI0cJvldNjOzu3MbRFEUiEgVeVyQxESeUcEVKRwwDvnUsMPQmjQ3srUedLN1QXu1mENP3qENXdy9Zo0liqHEx/FLPnA2X1r+h/akdEMHAyR+NGutj7az64c2dxA3hv2jPsTJWXKPBZoxG1qYW484r7DCFnUv18AGa/He3A+9pYySHXa23CtczAhTZJHB7LP4EGAA/kUjzWzAmh0AAAAASUVORK5CYII=) no-repeat;width:12px;height:11px;margin-top:-2px}.yoho-header .icon-mail{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RUVFMTA0NDExRjAzMTFFNTg3MzBCMUMzNDQ0Q0E1QkUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUVFMTA0NDIxRjAzMTFFNTg3MzBCMUMzNDQ0Q0E1QkUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFRUUxMDQzRjFGMDMxMUU1ODczMEIxQzM0NDRDQTVCRSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFRUUxMDQ0MDFGMDMxMUU1ODczMEIxQzM0NDRDQTVCRSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ptf44EYAAADcSURBVHjalNJPCwFBGMfxsW3UvgdydJVc7EEOcnH1Amxt/iUHUt6A456EUrwYJS64unkFjhKF79RDk6Q19Znd5nl+M9O2kSAIjkop7aD+GykkbKYdLphgHzKcRh8ni+mMKnrIhgjrnq5kzpYs6ht4aMH9EXalx5OMsoziFb4U81/CBTnVl171uYEed9FB0VgvoW3U38M23qOYYoEVRohJrYwKcpih/rqFbYR1YYyNrDUxxAMNeS5xk17/tYGDOQJsjRvpwODLt1jL6fqmjt4gIz9S7c8fKY7kU4ABAPrAL/PXL7nQAAAAAElFTkSuQmCC) no-repeat;width:16px;height:10px;margin-top:-2px}.yoho-header .icon-iphone{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAOCAYAAAASVl2WAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDNDODgxQzgxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDNDODgxQzkxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEM0M4ODFDNjFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEM0M4ODFDNzFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhJU+6cAAAB7SURBVHjaYnyorNzIwMDwFYgZGVDBPyDmYwESP4C4CyroBqV3QelKkAIeIF4IxNeQdBsCsRYQPwEpYALiE0A8Hc2KTCCWY2IgAIaHAlhI8gFxORCLQsVfQ+kfIAW/gLgTKjALamoJclBzAnEZNLL4oBIg0/4DMRdAgAEA3OsUBsKkQkoAAAAASUVORK5CYII=) no-repeat;width:8px;height:14px;margin-top:-2px}.yoho-header .icon-papers{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAOCAYAAAAWo42rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUNCQzI5NzcxRjAzMTFFNTg0MTBDRDUyRkVENTFGQTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUNCQzI5NzgxRjAzMTFFNTg0MTBDRDUyRkVENTFGQTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBQ0JDMjk3NTFGMDMxMUU1ODQxMENENTJGRUQ1MUZBNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBQ0JDMjk3NjFGMDMxMUU1ODQxMENENTJGRUQ1MUZBNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqSzZHsAAACCSURBVHjaYkxLS7vKwMBwhAETuABxGhDvBXFYgPggEGdhUTgdiP2h7L0sDLjBfyDOB+KJMBNxgb9APAOIGYF4DrJCfiBmQuJXAvEXKHsassJMIBZA4t8A4gUwDrLCDjzOQFHYDsRCWNQ0oSuspK+JTAxEAqIVgqy2B+KZBNTZAAQYAEaiFCx+VPXeAAAAAElFTkSuQmCC) no-repeat;width:10px;height:14px;margin-top:-2px}.yoho-header .icon-bottomarrow{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAFCAYAAAB8ZH1oAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUEzRDI1MEQxRjAzMTFFNUJENkRGMUM2QzYwNzc5ODAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUEzRDI1MEUxRjAzMTFFNUJENkRGMUM2QzYwNzc5ODAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QTNEMjUwQjFGMDMxMUU1QkQ2REYxQzZDNjA3Nzk4MCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QTNEMjUwQzFGMDMxMUU1QkQ2REYxQzZDNjA3Nzk4MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjEPOcUAAABkSURBVHjaYuzr65vBwMDQB8S3GLADNSAuYgISlUDcDsTGWBSBxDpBakAK3wNxLBAXA7EzkiJnqFg0SA0LVPAbEMcB8VQgFgbi/0DsChX7A1LAhGQCSCADap0JEKfDFIEAQIABAH3lEoANPM6QAAAAAElFTkSuQmCC) no-repeat;width:10px;height:5px;margin-top:-2px}.yoho-header .icon-logo{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAAAoCAYAAACBzApvAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAASpElEQVR42u2ceXxVRZbHvxUVROkWbXUior4HaAQCJAgkJJBtFCQIZGERpx27m2bapadH7Y1pp+2PPYvTLh+RRmdamZ6ej6ORJZCEBGQLkIWlBcISE5AtCGqrrYIIIkvO/HHve+8uVfc9tmb+yO+j4dZyTp06t+rUqVN1n5py35TtCKntCAjYfxCJ/GH13Llz80kAxSXFoxB5S+y0iKCA9ghf67+Bi6qqtiXCLwgjR406BnQRxBbT1cY/r1y+/MlzbeNCYEhm5kFBboxm2MLbXXh804Y/vgAwaOjg7iK8H6OM9VOi7yqmZ4cGInWPgTQD8xBebt6y9djF7vu5Ign4bTSlon8cafImTprYPx6j4pKSq4HfO+mVUt5qM8/LQL377uuBLpaISldl319GfWeGIcMyOwHd3RK7Uo4hSMjMydNnpdXBFcBQ4FmgJTVtYPrF7v+5Ign4X+BzX3fdGT9KgNcsoLt+7ACwE8U/nie5e+qzVUTu/5eDFbjFKaRHcoD3HFlhwyB0EXgeoznKXXILsLRf2oDki62Ac0FS2Rtlx1DM1qslmvvtiZMmfsvEpLi0ZCJwn67MNhWnQT1QVVl1vpaikFbKWLrtwqrtrBH25biFd8itwsplaM8Qyvd8nUI9c7EVcC5Isv99GWg391VdDkzTMSgtLU1W8B/OmawZ+E9XVVZuOF9CK91Lj+EUcPBCK+4sEYpT3mauqwINbYKY3C9twFUXWwlniySAsjfK2kBV2joB/Vr+8ISJEy/V5M9W4LG6LvotSYpfn2e53UukW9wDK5YvP3XBNXd26BmRVeO3Ht604Y+fufpogNEkGHOj6AQMvNhKOFskOZ5f1HY0lnkTivHOotIJpVNRjAmg+VopdX9FReXJ8yx3yN2cax1ou7AqO19y+7TtldsarHpz+gYQRhG264VRKgykA2Vurfjor7nYSjhbRC1lWVnZmilT7t0mMCBaqnDtT5W10SoHmDCxNCzCC5Ey8dS18cuKhRXN3sxx48amCAwHUkSkG3BUhIPABpB1NdU1pwOlVoQD3LkLsrkanpNzpUCuQBoiyUAnkE+BFhFWrGto+CgBNkHuS1vkYdDQIZcAN1kDTnRdfWfrxk1tOiYDBqV/G+gNDEH/Tj65EPr5S8C7rM8EZruzrB7basuZMHFiGsg24L9BvhGpo6IRvqiGGoDnI1zGjR/fCZgK8ghCv5gW7foxxb5fOGbMcwIvLamp8VnkUaPvTsLa3WqkBGDfnSPvuhlhqsAoQfogXAnyscAGhNeB8lUrVya0exmem9sf5GcIExRcDrr3T/uw4dmVwJPrGhqbTbwUKqwdepbwe6NJpXqIyKVaHgpEzBNy2+am9v6D0pcDQzRtnFKo7QB9Bw4YDUyO9kZiMVoAEabu2N7sMhopqf1Gg0y2y4kQxuK/HAR6OAptXgKwec+OnTODdB2+7dYHEMl3UktMvkMehag3QJ7BXir0E5N/ALYDuc4anrpHFfztwoUV7QDji8bnKZjdLvTyak+TuhF4AfjO6DGFxUtqFrtejEJ1F+Qyn2yxjBLgSeAyT9kNQBGKIoT1+QUF966qrd1vUtyIvLyuIM8IPGjPwBg7hfd9JAHFwNjM4dnT1zc0Pu/ll5E17AoRrtMpy0ab873ppYoSBq4eCm41zMSa5i1bv7D7MEqEBwwsPvYOVBt3gZ/G1scnwGLgAV//rPSdWMZQi/Btt3YDXgRMG8CnnD4rZWVlXwGvGg4HIpgC/JtPh248vnBhxT6AouKi6UqpWnAOVAgKyygrEjkQqB9dWOh9cWFXxSi/6HM6zoGqFzMTWJVfUHCdrl5Ofl5P4G3gIRWJizqIxbs9iiUvBZ7LHJ79L7r3ESAPHl87RDDaTAUDBqUPw5o4XrSDa6Mb0klhwzQZDPFtAPYqqAsov7HX7SlB9I8CVxl89MMKZviWGgWzBH4CXBLti3uWdI44qEqJy8LY2YuBVwGKioueBqajaSTCU2OlXB0EKkYXFg5esnhxxCUI8vtiDSixvYuI1+dzwMMIL+KJD+fk5/cGWW21bVhbTG3G6j6RkZ21aUPj2oWOCuE4NHuNdd1KOgFcnjb4jlB02bYeugF3iciTRN27SO8VIL9u3rJ1s4NrSC+KAqTN0MkQBrOJNYG0g9Xheed4+ml1NuXWbgiP6rRi085o273nUJKX8M2yNw8CC/xK9T55UwrgM2DawgULpbik+Ac4BqoYOBj4OJ8HQKwjUSWrYC6mljyYlFtQ0COSyM3P7wYswZokCcB4EoWClzKys7p45VYmqZTJDVDeVagTluXz/t8EPAN01Qg0A3zhQ5+Vc0jmG1DOPhiwb1dL627ggwDN5xryH0UZl//DtvwkGSpE7wt4Dge0WnY8PbxwwYIPiktK+mIKhbnolImVN+/x0YWFkVUgHFTdRjuwH+uAwFBZAVyiYKQjc5aydtIeJzVQahNuAL7jSIcDgvqfbly/4UtHOqSMlc/ocOAjYHJz05bHmpu2Rkd8atrAa4BvBNC1eTNS+ve7xjmgvDIoFXUd6g1iA4zwZvdMua0bbmPkxYz9u/YcAsNgnVP2Zj2KLQm/FptsQfmCOfbzTKCzlz4pljwMzFLINOBnWFbBPTHcbmIykGc/h12Txn84sBDosWLZ8hDQA93S5CbpA5BbkJ8D/I2hTuRvHZaLNE0pXgW+1onhoJrsyAj7i6P/eC1ZAq5OQocDnfFaWgsht8xxY75RmgC02ZxWB4jVq9ftKT08eY9AfKsKZssK3p2bb3W2VaUE4AMUjwCUlJRkA3/tpXFYilqgV1VV1d9XVS2avahq0bPAYOA/4ygj2+ZpVJpCtQKTVyxb9iHAiuXLPwK+r9zW39unyK73VyauwFfApIa6utyGurrnG+vqZjfW1f8d1q2mz81kZGZkZ11iZ4QC+LdFUoMzhnZC54YkeKnFU68bqP/qn572tIeiZxw+OjcgYAIpINiyOt7B8KgQKbd1BR4L6OuMtl27D0USQYO1DPizTxloJ8208vnlnwKI4vsBPLcBY6sqqz51ZlYvWtSOdeCw199C9Dk8unD0ZcBNAYK8vmLZMldsVrl2ttoX/nluQUFvoCCg3tSGNWvmeTPX1tdvAzXdRKcsyxa56ZTQgQBws0pE4wYYTiGnp6anTXLkhAJYCKj3NPkuP9pPQyQM2EJk3OiR53j+Ic6jevdq5rKqEDBY55S9eRyXtYssOr5tzKvl88sXA5SWliYpuMe0PAn8uKqyUnvzqnpR9UlgfsB76QbqJoIn2C5N3s3m6lGLcI9uE2n/u6Z+9ZqygDbLtFxjuDIjO6ubJX+k3NdJpyWLWj3lCs1FXc6XgaeU4imI/v8bwHgYYeOZ1PSBEd2FlNl9+KB12/YTmqKQr26MxQfvvtN6AmBXS6sAdQETLAeg1+0pXZVSPzHoAzxWFfwnWF78HvingADOPuBxRzqs4FptYMM65lsZp70PtW1ZmYctJWMHohxBmVjNtkAlu2Mikec2BcXiLY+lgwYqa+vrj2SNGH4Yrd+lADkGJEcP6pxRKIcMWnn1+GXT25s+82YOvGPQE8A8HDFWT3duwdrgrME1IXyhQ1MkIKxjasMbl60HSgz67NPr9pTrgKn4LkBF4bOqEGylQHFZnFu+T82fN/9LR3kvHZOIEiorKuMFLbu7KN3rYVtUyT7jHmtDwzNklMjCPhUc7H43SOCsESOuxh6oPrdScQL4E/ZXDSZ4XJVQQNUjTW9v/ExXsHXT5tPAEx59eDHYpBOHVtoMtEFujOeU0d5kmVGItVE1YcY+j1WF+JY11intLFE7PfWv0OrAojNe3gYYO25skoiUBFTZCGQElB9dtnSp31dS9Aw4HDi6qrb2k/yCAs1gita7Po6OikwdBrZsaFx7KiM7ay/wXYNZElA+N0C/wiiT1YvgEz1tdB2K3LgKGTko/WBVEPLydLTipdkOfAF8UycF1p2RM7KqEH+weixOTED7yau8k6AQJbqlondRcVH/ioUV2w1t/RBUL906DeorkFpgsu4qmGYpdSIU4MZEaE5qXkAExcAcHXFWTs5ViDwVcNJVA7Chce1h4A8kAkVIz0qhzCdLEeQF8AXhWGr6wGSgi3sCu+CbELf3T/0roEvAaZ7Lsu5qaT3du2+felBjDDRmw6WYsW/nrkO6omA3wDEDNYcDx+bPm/exp35bpK5zk+WgfXV80XhfMHrsuHH3As+ha8zCnCWLFx/FsFwbYpW+Pmh4R5R8wBtydGyyJo/Iy/NZ/OE5OdcqqMYZnXA3cxr4n0g6IzurR0Z21vMZWcM2ZmQNax46bNgrQ4Zl3qIhdS23nsOBNkMfGTh40E04brkZ0ITH1dLgK02ee0Xzh7l1dwmCDgd8/bPHlNGqQnzLGraXezQzRCfgDqxLB1cZlowMoKmoaPyL7UILSA+Ee0HuNmzKUIrTCJFvh0LOcpdlUMZL12Z/NHbqsk7BeINBA2HeiLzcPwBVInyNyHDgQeBb3g2KI/3a+obG/QAZ2VkFWPeAuzk49wOKhwzLHPz2uvX7AQZnZlwBXB9gqTulDxmcF0sKIlwB3CHwI5Br9eIDcBxYC6T56kRlVoBMwrGS9BmQepUIuos5Tvh0r2CNdtMaDKNVhTiDVUHYsDMHjSUrn19+unRCaQXeq2cOgZVSvRCZqSsz4MXFNTWto8cUdrav+ZnofAq7c+TIzsAN/kstUfI2O1GO8O8BMiSB+h7I97xti74Dh4FfAGQOz04WkQVEowWu+tdiXWecaqdDBOMhlHrIePPHM8vd9dRrzU1Nh1LT0/4cR+ElfQf2rxJhLkgy1glTKOBVmb552wgcw7OPMV4nj2NV7ZdghkpsCfXieUAkoTi2J4juP7LcQmSHiwrHYaNzA25xV/Gl9gGsWlm7G6iIJ1/ifVHT1jU0fmgnHlbm40SAOxzPYRPHM5XHU/MwVjwWrNXvyzjkY4HXQD0LhMzHsgrgwLvvtPi+edvV0noKWHcGCnwpyKpCwGCdct+UKwHNfc+oj6EdrOXzy7eD+q3Xb3VCDDxdz4q9wLia6prjdkFIXz+KNk1eUEgK3BPux8CXAYcDWqk1ZT9f19DgPO3Kwkhv+f6OrFgs01lPfzhgl5EIfrB9c9P7AM1NW04Br8fUHHi3IBG0BZStToSTUuooxD6RMiHIsoaN9shCUBjlpwpWBXU+yW9FnYlmBbk11dUHXPJoQr6Oz+J0SgvptRN9itKsqq3dq6xb8O16A2LoCNEB0w48tra+wftt/kldrNoxyJbHldcIw52HGE5hDVRvNONfgUOaPpxN00FfLTRohfO3NWvvzneDjmiB4MEacjP3KdwoZHl5+QngHqBKJ6Hu+puK/dDW74Bh1YuqD7rLA38g4vOlb711SCNKUCD70KoVK100q2trFwClwBETUXRqOLog1ipTsLa+YYaG5K0A43IAh0VRwefvCcBF8y5K5W3b3PSKt1Zz09YDWJ//HI3DIxEYx4GC9ThuphlwFGckKABxLKtG9MRmFOXlC45hBczvB/YE6kBxGutq39DqRYserF5UrfOpvhnAoS2oD87BFVv29G7MmtraCiAVa0fcHses7sc6bu67tr5+jUGGl4FlGiW2AgVvr1t/yJGv/RDSry+jMo+jWIq1QvTbtmlzo6lic9PWVVj+8mJtBauJRmtjGSSP+dP3XS2tx7E+D/KwdnGZtWfHzrhW1agLgCn3TUkGkhGxfqrFNnz2P+1z58xJ+AfWikuKk4AcEcnDuj/aVUROiPCe1RlZVlVZ9XEQj8IxY5LFlieCyK/pCfLl0iVv7fbS3DVyZG+J3ueM1AVBTiJ8WrtixZ+C2szNz79BYAzIHWJFIi4F+VyssNsahPUNdXXtxEHm8OwkRErFuinfjtAIUr5h7TrXxmRIZmZPQWKTMvYLg8dF5Hispui+Lj0h8OHWjZvO+DeH+qUNuBm4U4TuQBLIfqC+Zev2vX0G9O8CkuIQx/nFKcDenc3vfGHi3btvn5eBhwxfvB4FQuc8WDvQgXPFrX37JIt1ZfBq32C1LMdv9uzYOT1RfvEOBTrQgYSQktq3lwijgLn2j39kifCKgqsNhwMJ+6oRdAzWDpwv/BLLV34J1NcgnYMqK9TM3Tt2JLT8x2g60IFzREpqv5tB9orYn+8Dnl9qwfHJOMCHQMru1h1HzqCZuBdZOtCBRPAL4JLgWG20sB24/0wHqotDBzpwNkjp3+8GhP0gl4H7N7AiaUf8ph3h4d2tO353Nm11+KwdOFf8HMPPNUVg762OAN/d3bqj/Gwb6rCsHThrpPTv1xX4BLF+XdEd/3WlywV+uruldd+ZtuFEh2XtwLngKNb3VBOwPmUPYf0s6BHgHazfiHhtV0vrjvPR2P8B12P57Lkkf7EAAAAASUVORK5CYII=) no-repeat center center;width:182px;height:53px;top:22px;left:44.2%;position:absolute}.yoho-header .icon-logo .main-link{display:block;width:100%;height:100%}.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:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAQCAYAAADwMZRfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RUM1RjdENDUxRjA0MTFFNUEwRkRCMURDREZCNjYxQTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUM1RjdENDYxRjA0MTFFNUEwRkRCMURDREZCNjYxQTIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFQzVGN0Q0MzFGMDQxMUU1QTBGREIxRENERkI2NjFBMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFQzVGN0Q0NDFGMDQxMUU1QTBGREIxRENERkI2NjFBMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvM9DyUAAAEMSURBVHjanNS/S4JBHMfx59EnCyGcRBDD8Mca1NDm1qJTDU4NjTo4OEmbNNrgJAjR0FBOLe3+Ca06uDu1OIghGE/vb9wDD9epp194wXF3fJ7nufvyuL7vO6E6QQMJ/EAWPbxj6KwrCVGu0UcqNCc81NFFVFv7EwzO0TFtCCmhvSnkGYdbQsQjMvp8hC9KYoqls71ecKNPSkgeE8euZF/RFLJCzDLkQO3/FzLCmWXIJT5NId9qnLYIucPHuj5JYoDEhptp4da0FlFZX7hHD1UchZ5zgScsUEZcfxFXa3sXFVypQ5QaY4AZCnhADXNT29vK4RXHesfu6hRvwRnuGyKywWXoZ7Jrya+j+SvAAPnfjoCz07o6AAAAAElFTkSuQmCC) no-repeat center center;width:80px;height:28px;float:left;border:none;margin-top:45px;background-color:#3a3a3a}.yoho-header .search-list{position:absolute;top:73px;left:0;z-index:9;box-sizing:border-box;display:none;background-color:#fff;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;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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;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:16}.yoho-header .gobuy-empty{position:absolute;width:100%;height:507px;z-index:1;background:#f8f8f8 url(../assets/img/header/empty_car.png) no-repeat 106px 132px}.yoho-header .gobuy-empty .information{margin-top:300px;width:100%;height:18px;line-height:18px;font-size:18px;text-align:center}.yoho-header .gobuy-loading{position:absolute;width:100%;height:407px;z-index:1;background-image:#f8f8f8 url(../assets/img/header/loading.gif) no-repeat center 150px}.yoho-header .gobuy-loading .information{margin-top:180px;width:100%;height:12px;line-height:12px;font-size:12px;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:100%;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{width:170px;height:14px;line-height:14px;font-size:14px;margin-bottom:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yoho-header .goods-detail .content a{color:#666;outline:none;text-decoration:none}.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:#fff;font-size:14px;text-align:center;margin-right:13px;vertical-align:top}.yoho-header .activity-content{display:inline-block;line-height:14px;width:250px;color:#3a3a3a;font-size:12px;word-break:break-all}.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: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=) no-repeat;width:27px;height:20px;top:-10px;right:-15px;color:#fff;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:337px;height:250px}.yoho-header .showdetail .title{display:block;margin-top:40px;width:100%;height:15px;text-align:center;line-height:15px;font-size:14px;color:#000!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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 .cattitle h3 a{color:#000!important;font-size:14px}.yoho-header .third-nav .catdetail{line-height:14px;height:14px;margin-bottom:24px;min-width:200px}.yoho-header .third-nav .catdetail a{color:#a1a1a1!important;font-size:14px}.yoho-header .third-nav .catdetail .hot{color:#e01!important}.yoho-header .thirdcatelink:hover{text-decoration:underline!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:700;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;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;padding:0 10px;line-height:28px}.simple-header .header-tool li,.simple-header .header-tool li a,.simple-header .header-tool li span{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:700}.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 .iconfont,.simple-header .header-tool .tool-options span{display:inline-block;font-size:12px;height:28px;line-height:28px;vertical-align:top}.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:5}.simple-header .header-tool .tool-options .tool-select a{display:block;padding:0 0 0 10px;border-top:1px solid #ddd}.simple-header .header-tool .tool-options:hover{background-color:#eaeceb}.simple-header .header-tool .tool-options:hover .iconfont.up{display:inline-block}.simple-header .header-tool .tool-options:hover .iconfont.down{display:none}.min-screen .yoho-header .header-topwrapper{min-width:990px}.min-screen .yoho-header .header-top{width:990px}.min-screen .yoho-header .header-navwrapper{min-width:990px}.min-screen .yoho-header .header-navcontent,.min-screen .yoho-header .header-wrapper{width:990px}.min-screen .yoho-header .icon-logo{left:39.2%}.min-screen .yoho-header .icon-logo .main-link{display:block;width:100%;height:100%}.min-screen .yoho-header .sub-nav-list{width:990px;min-width:990px}.min-screen .yoho-header .sub-nav-item{margin-right:15px}.min-screen .yoho-header .first-nav-item{float:left;padding:10px 14px 0;margin-right:3px}.min-screen .yoho-header .third-nav{width:990px}.min-screen .yoho-header .third-nav-wrapper{min-width:990px}.min-screen .yoho-header .category{width:800px}.min-screen .yoho-header .cate_row1{width:204px}.min-screen .yoho-header .cate_row2{width:244px;border-left:1px solid #ccc;padding-left:39px}.min-screen .yoho-header .cate_row3{width:163px;border-left:1px solid #ccc;padding-left:28px}.min-screen .yoho-header .category .thirdnavlist{width:200px}.min-screen .yoho-header .category-title{width:152px}.min-screen .yoho-header .showdetail{width:190px;padding-right:0}.min-screen .yoho-header .showdetail img{width:174px;height:155px}#cover{position:fixed;z-index:10}#cover,#cover .con{left:0;top:0;width:100%;height:100%}#cover .con{background:rgba(0,0,0,.6)!important;position:absolute;z-index:11;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}#cover .tag_img_warpper{margin:0 auto;width:180px;height:168px}#cover .tag_img_warpper img{width:100%;height:100%}#cover .guide-box{background:#fff;margin:0 auto;height:400px;position:relative;z-index:12}#cover .guide-box .close{top:-15px;text-align:center;right:-15px;color:#fff;line-height:22px;font-size:24px;position:absolute;background:#000;border-radius:50px;border:currentColor;border-image:none;width:28px;height:28px;line-height:25px;display:block}#cover .guide-box li{padding:10px;width:200px;height:400px;float:left;box-sizing:border-box}#cover .guide-box li .go{margin:26px auto 0;width:100%;height:18px;text-align:center;color:#b0b0b0;line-height:18px;font-size:18px;font-style:italic;font-weight:lighter;display:block}#cover .guide-box li.girls{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box li.girls .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box li.lifestyle{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box li.lifestyle .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box li.kids{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box li.boys .goods-num,#cover .guide-box li.kids .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .boys .block_cn,#cover .girls .block_cn,#cover .kids .block_cn,#cover .lifestyle .block_cn{text-align:center;line-height:26px;font-size:26px;font-weight:700;margin-top:30px}#cover .boys .block_en,#cover .girls .block_en,#cover .kids .block_en,#cover .lifestyle .block_en{text-align:center;line-height:26px;font-size:26px;font-weight:700;margin-top:19px}#cover .boys .block_cn,#cover .boys .block_en{color:#000}#cover .girls .block_cn,#cover .girls .block_en{color:#ff88ae}#cover .kids .block_cn,#cover .kids .block_en{color:#7ad9f8}#cover .lifestyle .block_cn,#cover .lifestyle .block_en{color:#4f4037!important}#cover .boys .block_line,#cover .girls .block_line,#cover .kids .block_line,#cover .lifestyle .block_line{margin:20px auto 0;width:50px;height:0;border-bottom-color:#ccc;border-bottom-width:1px;border-bottom-style:solid}.yoho-footer{font-size:12px}.yoho-footer *{box-sizing:border-box}.yoho-footer .red{color:#e01}.yoho-footer .rgb6{color:#666}.yoho-footer .rgb9{color:#999}.yoho-footer .rgbf{color:#fff}.yoho-footer .index-foot{background:#eee;padding:20px 0}.yoho-footer .index-foot dd{float:left;width:370px;margin-right:20px;overflow:hidden}.yoho-footer .index-foot dd ul{margin-top:18px;padding-top:18px}.yoho-footer .index-foot dd.last{margin-right:0}.yoho-footer .foot-panel{background:#fff;padding:20px}.yoho-footer .title{position:relative;text-align:center}.yoho-footer .title-line{border-bottom:1px solid #ddd;position:absolute;top:9px;width:100%;left:0}.yoho-footer .text{position:absolute;width:100%;text-align:center;left:0;top:0}.yoho-footer .text span{background:#fff;font-size:18px;line-height:18px;padding:0 10px}.yoho-footer .item-nav{padding-top:20px}.yoho-footer .item-nav span{color:#fff;padding:0 3px;cursor:pointer;font-size:20px}.yoho-footer .item-nav .cur{color:#999}.yoho-footer .vote{line-height:24px}.yoho-footer .vote input{margin:0 5px 0 1px}.yoho-footer .vote .button{height:24px;line-height:24px;width:55px;font-size:12px;margin-top:11px;margin-right:10px;background:#222;color:#fff;display:inline-block;text-align:center;cursor:pointer}.yoho-footer .vote p{height:24px;overflow:hidden}.yoho-footer .vote textarea{width:98%;height:68px;vertical-align:middle;margin:5px 0 0;resize:none}.yoho-footer .vote-item p{float:left;width:50%}.yoho-footer .mobile{margin-right:-10px}.yoho-footer .mobile li{margin-right:10px;float:left}.yoho-footer .mobile img{display:block;width:103px;height:131px}.yoho-footer .index-banner{width:100%;margin-top:20px}.yoho-footer .two-dim{margin-right:-10px;overflow:hidden}.yoho-footer .two-dim li{border:1px solid #ddd;padding:7px;margin-right:10px}.yoho-footer .two-dim li a{display:block}.yoho-footer .two-dim li p{text-align:center;margin-top:13px;margin-bottom:3px;line-height:12px}.yoho-footer .dim-img{display:block;width:87px;height:87px}.yoho-footer .dim-hover{position:absolute}.yoho-footer .dim-hover img{width:38px;height:38px}.yoho-footer .dim-active .dim-img{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.yoho-footer .dim-active .dim-hover{display:none}.yoho-footer .footerbottom{width:100%}.yoho-footer .promise{padding:20px 0 10px;background:#000}.yoho-footer .promise .left{margin-right:60px;line-height:30px;font-size:12px;font-weight:700}.yoho-footer .promise .left .iconfont{display:inline-block;font-weight:400;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:.5;-ms-filter:"progid:DXImageTransform.Microsoft.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;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:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";bottom:20px;cursor:pointer;z-index:4}.yoho-footer .return-top .iconfont{font-size:34px}.yoho-footer .return-top:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.yoho-footer .return-top.min{left:100%;right:20px;margin-left:auto}.min-screen .yoho-footer .index-foot dd{width:316px}.min-screen .yoho-footer .two-dim{margin-top:26px;margin-bottom:10px;overflow:hidden}.min-screen .yoho-footer .dim-img{width:69px;height:69px}.min-screen .yoho-footer .mobile{margin-top:26px;padding-bottom:15px}.min-screen .yoho-footer .mobile img{width:85px;height:108px}.min-screen .yoho-footer .promise .left{margin-right:45px}.min-screen .yoho-footer .subscribe{width:200px}.min-screen .yoho-footer .subscribe input{width:140px}.min-screen .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:.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";border-radius:13px}.slide-pagination-last span{display:block;float:left;position:relative;margin:0 7px;width:12px;height:12px;background:#fff;cursor:pointer;opacity:.6;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";border-radius:6px;z-index:2}.slide-pagination-last span.focus{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.slide-switch{display:none}.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;opacity:.55;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=55)"}.slide-switch a .iconfont{font-size:32px;color:#59585a}.slide-switch a:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.slide-switch .prev{left:0}.slide-switch .next{right:0}.slide-switch.show{display:block}.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{color:#fff;background-color:#222}.err-page{width:650px;height:200px;overflow:hidden;margin:100px auto}.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}.err-page:before{content:'';display:block;width:200px;height:200px;background:url(../assets/img/404.png) center center no-repeat;float:left}.product-search-page .goods-container{height:auto;padding:25px 0 0;position:relative;width:1160px}.product-search-page .goods-container .good-info{width:222px}.min-screen .product-search-page .goods-container{height:auto;padding-top:25px;position:relative;width:1000px}.min-screen .product-search-page .goods-container .good-info{width:190px}.min-screen .product-search-page .goods-container .good-info .good-detail-img{height:255px}.min-screen .product-search-page .goods-container .block-next-page{width:190px;height:255px}.min-screen .product-search-page .filter-box .brand .attr-content{max-width:750px}.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:700;position:relative}.product-list-page .list-left .sort-container h2 span{color:#bbb;padding-left:5px}.product-list-page .list-left .sort-container ul.sort-child-list h2 a{color:#000;padding-left:0}.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 .sort-container ul.sort-child-list.new-sale{display:block}.product-list-page .list-left .product-list-nav h3{height:28px;line-height:28px;color:#222;font-weight:700;position:relative;text-indent:10px;cursor:pointer}.product-list-page .list-left .product-list-nav h3 span{color:#bbb;padding-left:5px}.product-list-page .list-left .product-list-nav .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;transition:transform .3s}.product-list-page .list-left .product-list-nav.active .icon-triangle{transform:rotate(90deg)}.product-list-page .list-left .nav-pic-title{height:35px;line-height:35px;color:#000;font-weight:700;border-bottom:1px solid #ebebeb;font-size:12px}.product-list-page .list-left .pic-nav{display:block}.product-list-page .list-left .pic-nav img,.product-list-page .list-left .pic-nav li{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;cursor:pointer}.product-list-page .brand-banner .coled{color:red}.product-list-page .sort-intro{margin-bottom:20px}.product-list-page .sort-intro .texts{width:386px;height:298px;padding:0 50px;border:1px solid #eaeceb;text-align:center;overflow:hidden}.product-list-page .sort-intro .name{font-size:30px;font-weight:700;margin-top:60px}.product-list-page .sort-intro .en-name{font-size:14px;font-weight:700}.product-list-page .sort-intro .desc{color:#666;margin-top:15px;font-size:12px;line-height:150%}.product-list-page .sort-intro .img{width:480px;height:300px}.product-list-page .sort-intro .key-entry{width:330px;margin:30px auto 0}.product-list-page .sort-intro .key-entry a{float:left;display:block;width:110px;line-height:20px;font-size:12px;color:#069;text-decoration:underline}.min-screen .product-list-page .sort-intro .texts{width:346px;height:248px;padding:0 30px}.min-screen .product-list-page .sort-intro .name{margin-top:30px}.min-screen .product-list-page .sort-intro .img{width:400px;height:250px}.new-sale-page .sale-list-banner{width:100%;position:relative}.new-sale-page .sale-list-banner ul{overflow:hidden;width:100%;position:relative;z-index:1}.new-sale-page .sale-list-banner ul li{width:100%;height:100%;display:block;float:left;position:absolute;top:0;left:0}.new-sale-page .sale-list-pagation{z-index:2;position:absolute;left:0;bottom:50px;width:100%;height:20px;text-align:center}.new-sale-page .sale-list-pagation div{display:inline-block}.new-sale-page .sale-list-pagation span{display:block;width:20px;height:20px;background:url(../assets/img/product/default-normal.png);float:left;margin:0 10px;cursor:pointer}.new-sale-page .sale-list-pagation span.active{background:url(../assets/img/product/default-active.png)}.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 .next,.new-sale-page .new-brands .pre{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:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"}.new-sale-page .new-brands .next:hover,.new-sale-page .new-brands .pre:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.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)}.new-sale-page .new-floor-title .title{float:right;margin-right:40px}.min-screen .new-sale-page .new-brands .brands-wrap{width:730px}.filter-box{border:1px solid #dfdfdf}.filter-box .section{padding:10px 15px;font-size:12px;border-top:1px solid #dfdfdf}.filter-box .section:first-child{border-top:none;padding:5px 15px}.filter-box .title{float:left;width:75px;line-height:30px}.filter-box .attr-content{margin-left:75px}.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,.filter-box .attr.checked a{color:#e01}.filter-box .color .attr{margin-right:0}.filter-box .checked .color-block{width:16px;height:16px;border:2px solid #222;padding:2px;background-size:100%!important}.filter-box .checked .color-block .sub-color-block{display:block;width:16px;height:16px;background-position:center!important}.filter-box .checked-conditions{line-height:30px;background:#eaeceb}.filter-box .checked-conditions .title{margin-top:5px}.filter-box .checked-conditions .tag{display:block;float:left;padding:0 10px;margin:5px 30px 5px 0;background:#000;color:#fff;cursor:pointer}.filter-box .checked-conditions .color-block{height:14px;width:14px;border:1px solid #fff;margin-bottom:-3px;background-size:100%!important;background-position:center!important}.filter-box .checked-conditions .clear-checked{margin-top:5px;color:#999;float:right}.filter-box .checked-conditions .clear-checked:hover{color:#468fa2}.filter-box .checked-conditions .close{font-size:14px}.filter-box .sort-pre .active .attr{border:1px solid #000}.filter-box .sort-pre .attr{position:relative}.filter-box .active .sort-up-icon{visibility:visible}.filter-box .sort-up-icon{position:absolute;width:15px;height:9px;left:50%;margin-left:-7px;bottom:-17px;bottom:-18px\9;z-index:3;visibility:hidden;background:url(../assets/img/product/senior-up.png) no-repeat;background-position:50% 0}.filter-box .sort-sub-wrap{width:100%}.filter-box .sort-sub-wrap .sort-sub{border-top:1px solid #dfdfdf;margin-top:15px;padding:0 0 15px}.filter-box .sort-sub-wrap .sort-sub .attr{padding-top:15px}.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:10px;cursor:pointer}.filter-box .brand .brands-index{float:left;line-height:30px;margin-right:5px;cursor:pointer}.filter-box .brand .brands-index span{margin:0 3px;-moz-user-select:none}.filter-box .brand .brands-index span:first-child{margin-left:10px}.filter-box .brand .brands-index span.hover{color:red}.filter-box .brand .brand-search{float:left;height:18px;line-height:18px;border:1px solid #b0b0b0;margin-top:5px;margin-left:10px}.filter-box .brand .brand-search input{float:left;border:none;width:100px;height:18px;padding:0}.filter-box .brand .brand-search .btn{position:relative;display:inline-block;top:-1px;width:55px;height:20px;line-height:20px;background:#3a3a3a;color:#fff;text-align:center;cursor:default}.filter-box .brand .panel-body{padding:15px 20px;background:#f4f7f6;margin-top:5px;margin-left:10px}.filter-box .brand .panel-body .ul-scroll{overflow:auto;min-height:30px;max-height:150px}.filter-box .btns{display:none;margin-top:10px;text-align:center}.filter-box .multi .btns{display:block}.filter-box .multi-select-cancel,.filter-box .multi-select-ok{width:55px;height:24px;border:none;background:#000;color:#fff;font-size:14px;margin-right:20px;cursor:pointer;outline:none}.filter-box .multi-select-cancel.dis,.filter-box .multi-select-ok.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;background:#333;color:#fff;margin-left:10px;outline:none;border:none;font-size:12px;cursor:pointer}.filter-box .color-block{display:inline-block;height:22px;width:22px;border:1px solid #ccc;margin-bottom:-6px;margin-right:5px;background-size:100%!important;background-repeat:no-repeat!important;background-position:center!important}.filter-box .senior{padding-bottom:6px}.filter-box .senior-attr-wrap,.filter-box .senior .attr-content{position:relative}.filter-box .senior-attr-wrap>.attr.hover,.filter-box .senior-attr-wrap>.attr:hover{font-weight:700}.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:0 15px 15px 91px;left:-91px;right:-16px;top:39px;background:#fff;border:1px solid #dfdfdf;border-top:0;z-index:2}.filter-box .senior-sub ul{max-width:950px}.filter-box .senior-sub .multi-select{position:absolute;top:20px;right:15px}.filter-box .senior-sub.multi .multi-select{display:none}.filter-box .senior-content{padding-top:15px;border-top:1px solid #eaeceb}.filter-box .senior-up-icon{position:relative;width:100%;height:9px;z-index:3;margin-left:-11px;visibility:hidden;background:url(../assets/img/product/senior-up.png) no-repeat;background-position:50% 0;top:1px\9}.filter-box .checkbox{display:none;float:left}.filter-box .multi .checkbox{display:block;color:#000;font-size:12px;margin-right:3px}.filter-box .multi .checkbox.checked+span{color:#000;font-weight:700}.min-screen .filter-box .brand .attr{width:25%}.sort-pager{height:48px;background:#f5f7f6;line-height:48px;margin:10px 0}.sort-pager .checks,.sort-pager .sort-type{color:#999;font-size:12px;padding:0 10px}.sort-pager .checks .iconfont,.sort-pager .sort-type .iconfont{font-size:12px}.sort-pager .checks.active,.sort-pager .checks.checked,.sort-pager .sort-type.active,.sort-pager .sort-type.checked{color:#000}.sort-pager .sort-type:first-child .iconfont{display:none}.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;background:#fff}.sort-pager .page-count .iconfont{font-size:14px;color:#ccc;float:right}.sort-pager .page-count>ul{position:absolute;display:none;width:48px;border-left:1px solid #ccc;border-right:1px solid #ccc;background:#fff;z-index:1}.sort-pager .page-count li{padding:0 3px;border-bottom:1px solid #ccc}.sort-pager .page-count li:hover{background:#376cf7;color:#fff}.sort-pager .page-count a{display:block;width:100%}.sort-pager .page-orient{float:left;font-size:14px;line-height:15px;margin:0 20px}.sort-pager .page-orient .dis-icon{color:#e6e6e6}.sort-pager .page-orient i{color:red}.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:left;overflow:hidden}.good-info .good-detail-text>a{margin-top:16px;line-height:1.5;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.good-info .good-detail-text>.price{margin-top:5px}.good-info .good-detail-text .brand a{color:#666;line-height:1.5}.good-info .good-detail-text .market-price{text-decoration:line-through;color:#999}.good-info .col-btn{position:absolute;top:15px;right:15px;color:#ccc;font-size:12px;display:none}.good-info .col-btn.coled{color:#f95b4f}.good-info .tag-container{font-size:12px;height:22px;line-height:22px}.good-info .tag-container .good-tag{float:left;box-sizing:border-box;display:block;height:22px;padding:0 7px;margin-right:3px;color:#fff}.good-info .tag-container .good-tag:nth-last-of-type(1){margin-right:0}.good-info .tag-container .new-tag{background:#78dc7d}.good-info .tag-container .renew-tag{background:#78dc7e}.good-info .tag-container .new-festival-tag{background:#000}.good-info .tag-container .sale-tag,.good-info .tag-container .yep-tag,.good-info .tag-container .ymp-tag{background:#ff565b}.good-info .tag-container .limit-tag{color:#4e4e4e;border:1px solid #4e4e4e}@keyframes a{0%{max-width:0}to{max-width:150px}}.good-item-wrapper{border:1px solid #ddd;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 .col-btn{display:block}.good-item-wrapper .col-btn:hover{cursor:pointer}.good-item-wrapper .good-select-color{float:left;margin-top:22px;overflow:hidden;animation:a .6s 1}.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%}.block-next-page,.good-item-wrapper .good-info{margin-right:10px}.block-next-page{width:222px;height:297px;padding-top:22px;margin-bottom:35px;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{min-width:984px;height:241px;margin:30px 0;overflow:hidden}.latest-walk .good{float:left;margin-right:14px;width:150px}.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:700}.min-screen .latest-walk .goods{width:820px;min-width:820px;height:301px}.min-screen .latest-walk .good{margin-right:10px;width:195px}.min-screen .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:700;position:relative}.product-page .sort-container h2 span{color:#bbb;padding-left:5px}.product-page .product-list-nav h3{height:28px;line-height:28px;color:#222;font-weight:700;position:relative;text-indent:10px;cursor:pointer}.product-page .product-list-nav h3 span{color:#bbb;padding-left:5px}.product-page .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;transition:transform .3s}.product-page .product-list-nav.active .icon-triangle{transform:rotate(90deg)}.product-page .product-list-nav.active .sort-child-list{display:block}.product-page .sort-child-list{display:none}.product-page .sort-child-list li{color:#bbb}.product-page .sort-child-list li span{padding-left:5px}.product-page .sort-child-list li.active{background:#333;color:#fff}.product-page .sort-child-list li.active a{color:#fff}.product-page .sort-child-list a{display:block;color:#666;padding-left:10px;height:22px;line-height:22px}.product-page .sort-child-list.new-sale{display:block}.product-page .nav-pic-title{height:35px;line-height:35px;color:#000;font-weight:700;border-bottom:1px solid #ebebeb;font-size:12px}.product-page .pic-nav{display:block}.product-page .pic-nav img,.product-page .pic-nav li{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:#e01}.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;box-sizing:content-box}.product-page .no-result .search-again .search-again-btn{float:left;width:80px;height:68px;line-height:68px;background:#343434;vertical-align:middle;color:#fff;cursor:pointer;outline:none;border:none}.product-page .no-result .search-again .iconfont{font-size:30px}.product-page .no-result .no-tip{font-size:12px;color:#999}.hotrank-page .popular-list{width:1160px}.hotrank-page .popular-list li{position:relative;float:left;width:378px;height:596px;overflow:hidden;list-style:none;margin:0 8px 0 0}.hotrank-page .popular-list li .item-img{width:100%;height:506px;line-height:506px;text-align:center;overflow:hidden}.hotrank-page .popular-list li img{display:block;width:100%;height:100%}.hotrank-page .popular-list .polular-icon{position:absolute;top:0;right:0;width:50px;height:50px;line-height:60px;background:#ffc513 url(../assets/img/product/hotrank/popular-icon.png) no-repeat center center;text-align:center;color:#ffc513;font-weight:700}.hotrank-page .popular-list .item-content{width:100%;padding:14px 0 0;height:77px;overflow:hidden;text-align:center;color:#222;line-height:18px}.hotrank-page .popular-list .item-content h2{max-height:36px;font-size:12px;color:#000;line-height:18px;text-align:center;overflow:hidden}.hotrank-page .popular-list .item-content p{display:inline-block;margin:3px 0 0;font-size:12px;text-align:center;line-height:20px;color:#000}.hotrank-page .popular-list .item-content p span{text-decoration:line-through;margin:0 10px 0 0;color:#999}.hotrank-page .popular-list .popular-item6,.hotrank-page .popular-list .popular-item7,.hotrank-page .popular-list .popular-item8,.hotrank-page .popular-list .popular-item9{width:280px;height:464px;margin:0 10px 0 0;overflow:hidden}.hotrank-page .popular-list .popular-item6 .item-img,.hotrank-page .popular-list .popular-item7 .item-img,.hotrank-page .popular-list .popular-item8 .item-img,.hotrank-page .popular-list .popular-item9 .item-img{height:374px;line-height:374px}.hotrank-page .hot-week{position:relative;padding:0 0 40px}.hotrank-page .hot-cate{height:45px;background:#f5f7f6;overflow:hidden}.hotrank-page .hot-cate li{float:left;height:45px;line-height:45px;display:table-cell}.hotrank-page .hot-cate li a{vertical-align:middle;padding:0 26px;font-size:14px;color:#777;border-left:1px solid #999}.hotrank-page .hot-cate li:first-child a{border:none}.hotrank-page .hot-cate li.current a{font-size:16px;color:#000}.hotrank-page .hot-week-list{width:1160px}.hotrank-page .hot-week-list .good-info{width:280px;height:464px;margin:10px 10px 0 0}.hotrank-page .hot-week-list .good-info .tag-container{display:none}.hotrank-page .hot-week-list .good-info .good-detail-img{height:374px;line-height:374px;text-align:center;font-size:0}.hotrank-page .hot-week-list .good-info .good-detail-img img{vertical-align:middle}.hotrank-page .hot-week-list .good-info .good-detail-text{height:77px;overflow:hidden;text-align:center;color:#222;line-height:18px}.hotrank-page .hot-week-list .good-info .good-detail-text a{max-height:36px;font-size:12px;color:#000;line-height:18px;text-align:center;overflow:hidden}.hotrank-page .hot-week-list .good-info .good-detail-text p{display:inline-block;margin:3px 0 0;font-size:12px;text-align:center;line-height:20px;color:#000}.hotrank-page .hot-week-list .good-info .good-detail-text p .sale-price{margin:0 10px 0 0}.hotrank-page .floatlayer{display:none;position:fixed;top:50%;left:50%;margin:0 0 0 575px;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.hotrank-page .floatlayer li{width:42px;height:42px;border:2px solid #555;border-top:none;border-bottom-width:1px;text-align:center}.hotrank-page .floatlayer li a{position:relative;display:table-cell;width:42px;height:42px;vertical-align:middle;color:#555;font-size:12px}.hotrank-page .floatlayer li a span{display:inline-block;vertical-align:middle;width:28px;word-wrap:break-word}.hotrank-page .floatlayer li:first-child{border-top:1px solid #555}.hotrank-page .floatlayer li.current,.hotrank-page .floatlayer li:hover{background:#555}.hotrank-page .floatlayer li.current a,.hotrank-page .floatlayer li:hover a{color:#fff}.min-screen .hotrank-page{width:990px}.min-screen .hotrank-page .popular-list li{width:324px;height:521px}.min-screen .hotrank-page .popular-list li .item-img{height:434px;line-height:434px}.min-screen .hotrank-page .popular-list .popular-item6,.min-screen .hotrank-page .popular-list .popular-item7,.min-screen .hotrank-page .popular-list .popular-item8,.min-screen .hotrank-page .popular-list .popular-item9{width:240px;height:408px}.min-screen .hotrank-page .popular-list .popular-item6 .item-img,.min-screen .hotrank-page .popular-list .popular-item7 .item-img,.min-screen .hotrank-page .popular-list .popular-item8 .item-img,.min-screen .hotrank-page .popular-list .popular-item9 .item-img{height:320px;line-height:320px}.min-screen .hotrank-page .hot-week-list .good-info{width:240px;height:408px}.min-screen .hotrank-page .hot-week-list .good-info .good-detail-img{height:320px;line-height:320px}.shop-entry{position:relative;background:#f5f7f6;border:1px solid #eaeceb;padding:12px 15px;margin-bottom:10px}.shop-entry .logo{width:80px;height:50px}.shop-entry .name{margin-left:10px}.shop-entry .shop-name{font-size:16px;color:#222;line-height:26px}.shop-entry .sorts{color:#999;font-size:12px;line-height:18px}.shop-entry .sorts a{color:#999}.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}.shop-entry .entry-btn .iconfont{font-size:12px}.goods-container{height:auto;padding:25px 0 0;position:relative;width:980px}.goods-container .good-info{width:235px}.product-detail-page .brand-banner{height:45px;width:100%}.product-detail-page .brand-banner img{display:block;height:45px}.product-detail-page .brand-banner .opt{margin-top:5px}.product-detail-page .brand-banner .brand-fav,.product-detail-page .brand-banner .home{display:inline-block;width:32px;height:32px;line-height:32px;border:1px solid #fff;text-align:center;color:#fff}.product-detail-page .brand-banner .home{margin-right:5px}.product-detail-page .brand-banner .home .iconfont{font-size:14px}.product-detail-page .brand-banner .brand-fav .iconfont{font-size:12px}.product-detail-page .brand-banner .coled{color:#ee0014}.product-detail-page .path-nav{border:none;margin-bottom:0}.product-detail-page .main{width:990px;margin:0 auto}.product-detail-page .main .infos{width:465px}.product-detail-page .main .img{position:relative;width:420px;height:560px}.product-detail-page .main .img-show{display:block;width:100%;height:100%}.product-detail-page .main .tags{position:absolute;top:0;left:0}.product-detail-page .main .good-tag{float:left;box-sizing:border-box;height:22px;line-height:22px;color:#fff;padding:0 7px;margin-right:5px;font-size:12px}.product-detail-page .main .new-tag{background:#78dc7d}.product-detail-page .main .renew-tag{background:#78dc7e}.product-detail-page .main .new-festival-tag{background:#000}.product-detail-page .main .sale-tag,.product-detail-page .main .yep-tag,.product-detail-page .main .ymp-tag{background:#ff565b}.product-detail-page .main .few-tag{background:#ffac5b}.product-detail-page .main .limit-tag{border:1px solid #4e4e4e;color:#4e4e4e}.product-detail-page .main .thumbs{width:75px;height:510px;overflow:hidden}.product-detail-page .main .thumb{display:block;width:75px;margin-bottom:2px}.product-detail-page .main .name{font-size:18px;font-weight:700;line-height:24px}.product-detail-page .main .brand-name{color:#666;font-size:12px}.product-detail-page .main .title{color:#999;font-size:12px}.product-detail-page .main .market-price{margin-top:8px}.product-detail-page .main .price{color:#000;font-size:22px;line-height:24px;font-weight:700}.product-detail-page .main .with-sale .price{color:#999;text-decoration:line-through;font-size:12px}.product-detail-page .main .activity{margin-top:12px}.product-detail-page .main .activity li{line-height:20px}.product-detail-page .main .ac-type{display:inline-block;width:43px;height:16px;line-height:16px;margin-right:5px;text-align:center;background:#999;color:#fff;font-size:12px}.product-detail-page .main .ac-des{font-size:12px}.product-detail-page .main .row{margin-top:10px}.product-detail-page .main .trade-content{padding-top:20px;margin-top:20px;border-top:1px solid #eaeceb}.product-detail-page .main .chose-color{font-size:12px}.product-detail-page .main .chose-color .title{margin-top:14px}.product-detail-page .main .chose-color img{display:block;height:36px;width:36px;border:2px solid #fff}.product-detail-page .main .chose-color .focus img{border-color:#222}.product-detail-page .main .chose-color li{margin-right:5px;margin-bottom:5px;cursor:pointer}.product-detail-page .main .chose-size{font-size:12px}.product-detail-page .main .chose-size .title{margin-top:6px}.product-detail-page .main .chose-size li{float:left;display:block;height:22px;line-height:22px;width:38px;margin-right:5px;margin-bottom:5px;border:1px solid #eaeceb;text-align:center;cursor:pointer}.product-detail-page .main .chose-size li.disable{opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}.product-detail-page .main .chose-size li.focus{color:#fff;background:#222}.product-detail-page .main .size{float:left;color:#666}.product-detail-page .main .size-ruler{float:left;display:block;width:57px;height:24px;background:url(../assets/img/product/size-ruler.jpg);margin-bottom:5px;cursor:pointer}.product-detail-page .main .num-warn,.product-detail-page .main .size-warn{height:24px;line-height:24px}.product-detail-page .main .color-size-tip{color:#999}.product-detail-page .main .chose-count .title{margin-top:6px}.product-detail-page .main .num{display:block;width:38px;height:23px;line-height:23px;text-align:center;border:1px solid #eaeceb;color:#333;font-size:12px;background:#ebebe4}.product-detail-page .main .minus-plus{display:block;width:14px;height:23px;border:1px solid #eaeceb;border-left:none;text-align:center;cursor:pointer}.product-detail-page .main .minus-plus i{display:block;width:13px;height:11px;line-height:8px;font-size:12px}.product-detail-page .main .minus{border-top:1px solid #eaeceb;font-size:13px}.product-detail-page .main .lc-btn{display:inline-block;width:80px;height:25px;line-height:25px;color:#fff;background:#222;margin-left:10px;font-size:12px;text-align:center;cursor:default}.product-detail-page .main .lc-btn.had-lc,.product-detail-page .main .lc-btn.lc-sold-out{background:#ccc}.product-detail-page .main .num-wraper{position:relative}.product-detail-page .main .lc-container{position:absolute;top:-39px;right:-233px}.product-detail-page .main .lc-arrow{position:absolute;top:40px;left:-12px;width:13px;height:20px;background:url(../assets/img/product/arrow.png)}.product-detail-page .main .lc-content{box-sizing:border-box;width:220px;height:285px;text-align:center;background:#f8f8f8;border:1px solid #cecece;padding:40px 25px 0}.product-detail-page .main .lc-content .qr-code{width:137px;height:137px;background:url(../assets/img/product/top-good-qr.png);margin:0 auto}.product-detail-page .main .lc-content .title{font-size:18px;color:#000;margin:12px 0;line-height:24px}.product-detail-page .main .lc-content .sub-title{font-size:14px;color:#939290}.product-detail-page .main .buy-btn{display:inline-block;margin-right:10px;height:48px;line-height:48px;width:197px;text-align:center;color:#fff;background:#e92601;font-size:14px;cursor:pointer}.product-detail-page .main .buy-btn.dis{background:#ccc}.product-detail-page .main .collect-product,.product-detail-page .main .keep-shopping{display:inline-block;width:127px;height:48px;text-align:center;line-height:48px;background:#fff;color:#222;border:1px solid #ccc;font-weight:700;font-size:12px;cursor:pointer}.product-detail-page .main .collect-product .iconfont,.product-detail-page .main .keep-shopping .iconfont{color:#ccc;font-size:12px}.product-detail-page .main .collect-product.coled .iconfont,.product-detail-page .main .keep-shopping.coled .iconfont{color:#fa5252}.product-detail-page .main .share-row{margin-top:20px}.product-detail-page .main .share-row .title{margin-top:2px}.product-detail-page .main .share-row i{display:block;float:left;width:16px;height:16px;margin-left:5px}.product-detail-page .main .share-row .weibo{background-image:url(../assets/img/sprite.guang.png);background-position:0 0}.product-detail-page .main .share-row .qweibo{background-image:url(../assets/img/sprite.guang.png);background-position:-18px 0}.product-detail-page .main .share-row .renren{background-image:url(../assets/img/sprite.guang.png);background-position:0 -18px}.product-detail-page .main .share-row .qzone{background-image:url(../assets/img/sprite.guang.png);background-position:-18px -18px}.product-detail-page .main .share-row .qq{background-image:url(../assets/img/sprite.guang.png);background-position:-36px 0}.product-detail-page .main .share-row .douban{background-image:url(../assets/img/sprite.guang.png);background-position:-36px -18px}.product-detail-page .main .share-row .weixin{background-image:url(../assets/img/sprite.guang.png);background-position:0 -36px}.product-detail-page .main .balance{display:none}.product-detail-page .main .balance .success-tip{color:#222;font-size:18px;margin-bottom:10px}.product-detail-page .main .balance .cart-total{color:#999;font-size:12px}.product-detail-page .main .balance .balance-btns{margin-top:20px}.product-detail-page .other-infos{padding-bottom:30px}.product-detail-page .info-block{margin-top:30px;color:#999;border-top:2px solid #eaeceb;font-size:12px}.product-detail-page .info-block .basic{width:640px;margin:0 auto}.product-detail-page .info-block .basic li{float:left;width:25%;line-height:20px}.product-detail-page .info-block .comfort{width:470px;border:1px solid #eaeceb;margin:17px auto 0;padding-bottom:15px}.product-detail-page .info-block .comfort li{margin:12px 20px 0}.product-detail-page .info-block .comfort-block{display:inline-block;width:14px;height:10px;border:1px solid #eaeceb;margin-right:2px}.product-detail-page .info-block .comfort-block.cur{background:#999;border:1px solid #999}.product-detail-page .block-title{margin-bottom:25px;text-align:center}.product-detail-page .block-title .title{display:inline-block;padding-top:15px;font-weight:700;cursor:pointer}.product-detail-page .block-title .title.cur{color:#222;border-top:2px solid #222;margin-top:-2px}.product-detail-page .block-title .sep{display:inline-block;margin:0 30px;color:#eaeceb;font-size:14px;cursor:default;font-weight:700}.product-detail-page .material-content{display:none}.product-detail-page .material-detail{width:860px;margin:0 auto;padding-bottom:20px;margin-bottom:20px;border-bottom:1px dotted #eaeceb}.product-detail-page .material-detail img{float:left;width:125px;height:50px}.product-detail-page .material-detail .name{float:left;width:100px;line-height:25px;border-right:1px dotted #eaeceb;color:#666;font-weight:700;text-align:center;font-size:14px}.product-detail-page .material-detail .text{float:left;width:614px;padding-left:20px;line-height:18px}.product-detail-page .wash{text-align:center}.product-detail-page .wash li{display:inline-block;padding:0 20px;color:#666;border-right:1px solid #eaeceb}.product-detail-page .size-info{text-align:center}.product-detail-page .reference-table,.product-detail-page .size-table{text-align:center;margin:0 auto}.product-detail-page .reference-table td,.product-detail-page .reference-table th,.product-detail-page .size-table td,.product-detail-page .size-table th{width:110px;text-align:center}.product-detail-page .reference-table tr,.product-detail-page .size-table tr{height:30px}.product-detail-page .reference-table thead,.product-detail-page .size-table thead{background:#f5f7f6;color:#999}.product-detail-page .reference-table tbody,.product-detail-page .size-table tbody{color:#222}.product-detail-page .reference-table .avatar,.product-detail-page .size-table .avatar{width:26px;height:26px;border-radius:50px}.product-detail-page .size-tip{color:#999;margin-top:15px;text-align:center}.product-detail-page .details{text-align:center;font-size:12px;color:#999;line-height:18px}.product-detail-page .details-html{width:640px;margin:0 auto}.product-detail-page .details-html b{font-weight:700}.product-detail-page .details-html i{font-style:italic}.product-detail-page .consults{display:none}.product-detail-page .consult-comment .title,.product-detail-page .consult-comment .title.cur{color:#666}.product-detail-page .cc-content{background:#f5f7f6;padding:20px 20px 0;font-size:12px}.product-detail-page .cc-content h2{font-weight:700;font-size:14px;margin-bottom:10px;color:#000}.product-detail-page .cc-content li{border-top:1px solid #eaeceb;padding:20px 0}.product-detail-page .cc-content .user-info{color:#999;line-height:16px}.product-detail-page .cc-content .user-info>*{float:left}.product-detail-page .cc-content .user-info .name{color:#666}.product-detail-page .cc-content .user-info .date{color:#bbb}.product-detail-page .cc-content .user-info .question{color:#222}.product-detail-page .cc-content .user-avatar{width:30px;height:30px;margin-right:5px}.product-detail-page .cc-content .more-wrap{text-align:center;border-top:1px solid #eaeceb;padding:20px 0;font-size:14px;font-weight:700;color:#666}.product-detail-page .cc-content .btn-wrap{padding:20px 0;border-top:1px solid #eaeceb}.product-detail-page .cc-content .load-more{cursor:pointer}.product-detail-page .cc-content .btn{display:block;width:140px;height:32px;line-height:32px;color:#fff;background:#222;text-align:center;font-size:12px;margin:0 auto;cursor:pointer}.product-detail-page .cc-content .btn .iconfont{font-size:14px}.product-detail-page .cc-content .comment,.product-detail-page .cc-content .consult{margin-top:10px}.product-detail-page .cc-content .consults{display:none}.product-detail-page .new-consult{padding:20px 0;border-top:1px solid #eaeceb}.product-detail-page .new-consult textarea{width:590px;height:80px;margin-top:8px;padding:5px;outline:none}.product-detail-page .new-consult .captcha-row{margin:10px 0}.product-detail-page .new-consult .captcha{width:70px;height:20px;line-height:20px;border:1px solid #ccc;margin-right:5px;padding:5px;outline:none}.product-detail-page .new-consult .captcha-img{border:0;height:32px;width:96px;vertical-align:middle}.product-detail-page .new-consult .submit-consult{display:block;width:140px;height:32px;line-height:32px;margin:0}.product-detail-page .new-consult .error{border-color:#e01}.product-detail-page .consult-success{border-top:1px solid #eaeceb;margin-top:30px;text-align:center;padding:20px 0}.product-detail-page .consult-success p{width:295px;height:55px;line-height:55px;margin:0 auto;border:2px solid #222;display:block;color:#222;font-weight:700}.product-detail-page .after-service{text-align:center;margin-top:30px}.product-detail-page .after-service .after-service-content{display:none}.product-detail-page .after-service .after-service-switch{height:44px;line-height:44px;background:#eaeceb;text-align:center;font-size:12px;cursor:pointer}.product-detail-page .after-service .after-service-switch .iconfont{font-size:12px}.product-detail-page .after-service .text{padding:20px 15px;background:#f5f7f6;text-align:left;color:#666;line-height:18px}.product-detail-page .after-service .orange{color:#f9761a}.product-detail-page .after-service h4{font-weight:700;font-size:14px;line-height:24px;color:#222;margin-top:10px}.product-detail-page .after-service h4:first-child{margin-top:0}.product-detail-page .after-service .img-1{width:715px;height:259px;margin:0 auto;background:url(../assets/img/product/after-service-1.png)}.product-detail-page .after-service .img-2{width:715px;height:230px;margin:0 auto;background:url(../assets/img/product/after-service-2.png)}.product-detail-page .after-service a{color:#666}.product-detail-page .service{width:323px;height:30px;margin:45px auto 0;background:url(../assets/img/product/service.png)}.product-detail-page .recent-view{width:1010px;margin:0 auto}.product-detail-page .recent-view li{float:left;width:180px;margin-right:22px}.product-detail-page .recent-view img{height:240px;width:180px;display:block}.product-detail-page .recent-view .name{display:block;margin-top:5px;color:#222;line-height:16px}.product-detail-page .recent-view .price{color:#222;font-weight:700;margin-top:5px}.product-detail-page .recent-view .market-price{margin-right:5px}.product-detail-page .recent-view .has-sale{text-decoration:line-through;color:#999}.product-detail-page .warn-tip{display:inline-block;color:#e01;margin-left:7px;font-size:12px}.product-detail-page .warn-tip i{font-size:14px}.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}.new-sale-page .goods-container,.product-list-page .goods-container{height:auto;padding-top:25px;position:relative;width:980px}.new-sale-page .goods-container .good-info,.product-list-page .goods-container .good-info{width:235px}.new-sale-page .goods-container .good-info .good-detail-img,.product-list-page .goods-container .good-info .good-detail-img{height:315px}.new-sale-page .goods-container .block-next-page,.product-list-page .goods-container .block-next-page{width:235px;height:315px}.new-sale-page .filter-box .brand .attr-content,.product-list-page .filter-box .brand .attr-content{max-width:730px}.min-screen .new-sale-page .list-right,.min-screen .product-list-page .list-right{width:810px}.min-screen .new-sale-page .goods-container,.min-screen .product-list-page .goods-container{height:auto;padding-top:25px;position:relative;width:820px}.min-screen .new-sale-page .goods-container .good-info,.min-screen .product-list-page .goods-container .good-info{width:195px}.min-screen .new-sale-page .goods-container .good-info .good-detail-img,.min-screen .product-list-page .goods-container .good-info .good-detail-img{height:261px}.min-screen .new-sale-page .goods-container .block-next-page,.min-screen .product-list-page .goods-container .block-next-page{width:195px;height:261px}.min-screen .new-sale-page .filter-box .brand .attr-content,.min-screen .product-list-page .filter-box .brand .attr-content{max-width:570px}.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,.5)}.passport-page .error{border-color:red!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 .pwd-intensity{height:15px;font-size:12px;background-color:#e8e8e8;padding:0 10px;text-align:center;color:#b9b9b9}.passport-page .pwd-intensity-container.red .pwd-intensity{color:#e01}.passport-page .pwd-intensity-container.red .color{background:#e01;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-tips{position:absolute;top:-10px;left:285px;width:160px!important;height:72px;padding-top:7px;font-size:12px;background-image:url(../assets/img/sprite.passport.png);background-position:0 0}.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-image:url(../assets/img/sprite.passport.png);background-position:-32px -113px}.passport-page .pwd-tips>div.no{color:red}.passport-page .pwd-tips>div.no i{background-image:url(../assets/img/sprite.passport.png);background-position:-64px -113px}.passport-page .pwd-tips>div.yes i{background-image:url(../assets/img/sprite.passport.png);background-position:-48px -113px}.passport-page .tip-panel{position:absolute;display:none;width:248px;padding:0 10px;z-index:8;background-color:#161616;border:1px solid hsla(0,0%,100%,.7);margin-top:5px;cursor:pointer;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:red}.passport-page .err-tip i{display:block;float:left;height:14px;width:14px;background-image:url(../assets/img/sprite.passport.png);background-position:-64px -113px;margin-right:5px}.passport-page .err-tip a{text-decoration:underline;color:red}.passport-page .page-tip{display:block;width:100%;height:30px;line-height:30px;text-align:center;font-size:20px;font-weight:700;color:#ccc;clear:both;margin-bottom:15px}.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}.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;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 .captcha-wrap{position:relative}.login-page .captcha-wrap .err-tip{left:335px}.login-page .captcha{width:160px;float:left}.login-page .captcha-img{height:37px;width:90px;border:0;vertical-align:middle;outline:none;margin-left:10px;margin-top:4px;float:left}.login-page .change-captcha{position:absolute;top:0;right:-50px;cursor:pointer;float:left;height:43px;font-size:14px;line-height:43px;color:#ff1901}.login-page .remember-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:45px;background-size:100% 100%}.login-page .third-party-login .icon{display:block;width:30px;height:30px;margin:0 auto}.login-page .third-party-login .weixin{background-image:url(../assets/img/sprite.passport.png);background-position:-96px -81px}.login-page .third-party-login .qq{background-image:url(../assets/img/sprite.passport.png);background-position:0 -81px}.login-page .third-party-login .weibo{background-image:url(../assets/img/sprite.passport.png);background-position:0 -113px}.login-page .third-party-login .alipay{background-image:url(../assets/img/sprite.passport.png);background-position:-128px -81px}.login-page .third-party-login .douban{background-image:url(../assets/img/sprite.passport.png);background-position:-64px -81px}.login-page .third-party-login .renren{background-image:url(../assets/img/sprite.passport.png);background-position:-32px -81px}.login-page .caps-lock{position:absolute;color:#666;border:#ffe57d;background:#fff6d2;white-space:nowrap;top:8px;left:278px;padding:0 20px;height:27px;line-height:30px}.register-page{font-size:14px;color:#b9b9b9}.register-page li{margin-bottom:25px;width:270px;position:relative}.register-page li input,.register-page li select{outline:none}.register-page li .input{height:43px;line-height:43px;font-size:16px;width:268px;border:1px solid #dbdbdb;text-indent:10px;color:#9a9a9a;padding:0}.register-page li .input.error{border:1px solid red}.register-page li .input.phone-num{width:209px;display:block;float:left;position:absolute;top:0;right:0}.register-page li .input.captcha,.register-page li .input.msg-captcha{width:160px;float:left}.register-page li .input.agree-terms{vertical-align:middle}.register-page li .send-captcha{top:0;background:#ff1901;position:absolute;width:100px;right:0;font-size:12px;text-indent:0;letter-spacing:0}.register-page li .send-captcha.disable{background:#555}.register-page li .link{text-decoration:underline;color:#ff1901}.register-page li .btn{height:45px;line-height:45px;color:#fff;border:none;padding:0;font-family:黑体,Regular;text-align:center}.register-page li .region{height:30px;padding:4px 0;width:132px;border-color:#c1c1c1;color:#9a9a9a;font-size:16px;font-family:黑体,Regular}.register-page 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}.register-page li .captcha-img{height:37px;width:90px;border:0;vertical-align:middle;outline:none;margin-left:10px;margin-top:4px;float:left}.register-page li .change-captcha{margin-left:10px;cursor:pointer;float:left;height:43px;line-height:43px}.register-page li .pwd-intensity-container{width:270px;text-align:right;margin-top:5px;height:auto;overflow:hidden}.register-page li .pwd-intensity-container .pwd-intensity{height:15px;font-size:12px;background-color:#e8e8e8;padding:1px 10px;text-align:center}.register-page li .pwd-intensity-container.red{color:red}.register-page li .pwd-intensity-container.red .color{background:red;color:#fff}.register-page li .pwd-intensity-container.yellow .color{background:#ff0;color:#fff}.register-page li .pwd-intensity-container.green .color{background:#3ee392;color:#fff}.register-page li .register-btn{width:270px;font-size:20px;font-weight:700;background:#ff1901}.register-page li .register-btn.disable{background:#555}.register-page li.w330{width:330px}.register-page li.items-container,.register-page li.quick-login-container{font-size:13px;text-align:right;white-space:nowrap}.register-page li.quick-login-container{width:270px}.register-page li.skip-user-info{font-size:18px;text-align:center}.register-page li.skip-user-info a{color:#ff1901;text-decoration:underline}.register-page .err-tip{z-index:9;position:absolute;height:30px;line-height:30px;color:red;background-color:#ffebeb;border:1px solid #ffbdbe;padding:0 10px}.register-page .err-tip b{display:block;position:absolute;top:30px;left:20px;background-image:url(../assets/img/sprite.passport.png);background-position:-80px -113px;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:0}.back-page .title,.back-page .title2{font-size:22px;line-height:40px;color:#000;font-weight:400}.back-page .title2{margin:0 0 5px}.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:8;top:30px;right:0;border-radius:5px}.back-page .country-code-list li{height:20px;line-height:20px}.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;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;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}.welcome-page{text-align:center;color:#7f7f7f}.welcome-page .content{padding-top:82px}.welcome-page .wel-title{font-size:30px;margin-bottom:30px}.welcome-page .wel-title em{font-style:normal;color:#ff1901}.welcome-page .wel-sub-title{font-size:16px;margin-bottom:60px}.welcome-page .link{display:block}.welcome-page .link span{color:#7f7f7f}.welcome-page .link-img{height:91px;width:91px;background-size:100% 100%;margin-bottom:10px}.welcome-page .go-shopping{float:left;padding-left:100px}.welcome-page .go-shopping div{background-image:url(../assets/img/passport/go-shopping.png)}.welcome-page .complete-info{float:right;padding-right:100px}.welcome-page .complete-info div{background-image:url(../assets/img/passport/edit-info.png)}.yohobindbtn{display:block;width:210px;height:45px;line-height:45px;background-color:#f02200;color:#fff;font-size:16px;text-align:center}.hide{display:none}.novisiable{visibility:hidden}.actlevel{background-color:#f02200!important;color:#fff!important}.mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:13;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.bindwrapper{margin:0 auto;width:980px;min-height:450px;padding-top:122px}.welcomeword{width:100%;text-align:center;font-size:22px;line-height:22px;color:#545454;margin-bottom:15px}.welcomeword .yoho{color:#e12000}.safeword{width:100%;text-align:center;font-size:16px;line-height:16px;color:#545454;margin-bottom:63px}.yohobindrow{width:485px;margin:0 auto 22px;height:40px}.yohobindrow .name{float:left;text-align:right;margin-right:14px;width:96px}.yohobindrow .areatag{height:30px;line-height:30px}.yohobindrow .phonetag,.yohobindrow .setpwdtag{height:47px;line-height:47px}.yohobindrow .content{float:left;text-align:left;margin-top:0;padding-left:0}.yohobindrow .errinfo{color:#f02200;line-height:49px;margin-left:5px}.yohobindrow:after{display:block;content:'';clear:both}.sendnotify{width:260px;text-align:left;margin:0 auto 18px}.validaterow{margin:0 auto 22px;padding-left:250px}.validaterow .name{float:left;text-align:right;margin-right:14px;width:96px}.validaterow .areatag{height:30px;line-height:30px}.validaterow .phonetag{height:47px;line-height:47px}.validaterow .content{float:left;text-align:left}.validaterow .validatewrapper{float:left;height:45px;width:133px;text-align:center;line-height:45px;background-color:#d8d8d8;color:#000;font-size:13px;margin-left:18px}.validaterow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.validaterow:after{display:block;content:'';clear:both}.validatepicrow{overflow:hidden;margin:0 auto 22px;padding-left:250px}.validatepicrow .name{float:left;text-align:right;margin-right:14px;width:96px}.validatepicrow .areatag{height:30px;line-height:30px}.validatepicrow .phonetag{height:47px;line-height:47px}.validatepicrow .content{float:left;text-align:left}.validatepicrow .validatewrapper{float:left;height:45px;text-align:center;line-height:45px;color:#000;font-size:13px;margin-left:18px}.validatepicrow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.validatepicrow .change-captcha{cursor:pointer;color:#f02200;text-decoration:underline}.validatepicrow:after{display:block;content:'';clear:both}.setpwdwrapper{margin-bottom:10px;height:45px}.safelevel{width:291px;margin:0 auto;text-align:right}.safelevel,.safelevel span{height:15px;font-size:10px;color:#000}.safelevel span{width:28px;line-height:15px;background-color:#e5e5e5;margin-right:4px;padding:1px 8px}.green .color{background-color:#0f0;color:#fff}.yellow .color{background-color:#ff0;color:#fff}.red .color{background-color:red;color:#fff}.yohoselectarea{position:relative;box-sizing:border-box;width:131px;height:33px}.yohoselectarea .optionshow{width:100%;height:100%;padding-left:16px;border:1px solid #d9d9d9}.yohoselectarea .optionshow .areaname{display:block;float:left;width:110px;height:100%;line-height:33px;font-size:13px;color:#000}.yohoselectarea .optionshow .righttag{display:block;float:left;width:21px;height:100%;line-height:33px;background-color:#d8d8d8;background-image:url(../assets/img/passport/arrowbottom.png);background-repeat:no-repeat;background-position:center center}.yohoselectarea .optionslist{background-color:#fff;position:absolute;top:35px;left:0;width:149px;z-index:2}.yohoselectarea .optionslist .optionitem{height:33px;line-height:33px;padding-left:16px;font-size:13px}.yohoselectarea .optionslist .optionitem:hover{background-color:#dfdfdf}.yohophonewrapper{width:271px;height:47px;border:1px solid #d9d9d9;position:relative}.yohophonewrapper .areanum{float:left;height:100%;width:63px;line-height:47px;text-align:center;color:#000;background-color:#d8d8d8}.yohophonewrapper .phonenum{outline:none;box-sizing:border-box;float:left;height:45px;width:205px;line-height:38px;padding-left:8px;border:none;color:#000}.protoctolwrapper{width:350px;margin:38px auto 0;padding-left:85px;overflow:hidden}.protoctolwrapper .choosewrapper{float:left;width:13px;height:13px;background-color:#4c4c4c;background-image:url(../assets/img/passport/choosed.png);background-position:center center;background-repeat:no-repeat;margin-right:14px}.protoctolwrapper .choosetag{width:110%;height:110%;display:block;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";margin:0}.protoctolwrapper span{float:left}.protoctolwrapper .protoctol{color:#f02200;text-decoration:underline}.protoctolwrapper:after{display:block;content:'';clear:both}.confirmwrapper{overflow:hidden;margin-top:47px!important}.btnwrapper{width:350px;margin:20px auto 0;padding-left:85px}.thirdloginwrapper{margin:0 auto;width:1150px;min-height:450px;padding-top:160px}.thirdloginwrapper .safeword{margin-bottom:30px}.thirdloginwrapper .left{box-sizing:border-box;float:left;width:450px;height:318px;border-right:1px solid #e5e5e5}.thirdloginwrapper .right{box-sizing:border-box;float:right;width:696px;padding-top:64px;height:318px}.thirdloginwrapper .completeprofile,.thirdloginwrapper .gobuy{float:left;display:inline-block;width:94px;height:94px;line-height:94px;text-align:center;border-radius:50%;background-color:#f02200;color:#fff}.thirdloginwrapper .gobuy{margin-left:228px;margin-right:80px}.bindsuccesswrapper{margin:0 auto;width:1150px;min-height:450px;padding-top:160px}.bindsuccesswrapper .successwrapper{width:320px;height:29px;margin:0 auto 16px}.bindsuccesswrapper .successwrapper .successtag{display:inline-block;margin-right:28px;float:left;width:29px;height:29px;background-image:url(../assets/img/passport/bindsuccess.png);background-repeat:no-repeat}.bindsuccesswrapper .successwrapper .congratulation{display:inline-block;height:29px;line-height:29px;font-size:22px}.bindsuccesswrapper .info{text-align:center;font-size:16px;margin-bottom:48px}.bindsuccesswrapper .gobuynow{margin:0 auto}.bindconfrimwrapper{width:900px;height:439px;margin:153px auto;background-color:#fff;box-sizing:border-box;padding-top:37px}.bindconfrimwrapper .topwrapper{width:281px;height:90px;margin:0 auto 32px}.bindconfrimwrapper .topwrapper .userphoto{width:90px;height:90px;vertical-align:middle;border-radius:50%;margin-right:22px}.bindconfrimwrapper .topwrapper .username{vertical-align:middle;display:inline-block;width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bindconfrimwrapper .usertaginfo{text-align:center;font-size:16px;color:#545454;margin-bottom:10px}.bindconfrimwrapper .usertagremind{text-align:center;font-size:14px;color:#000;margin-bottom:47px}.bindconfrimwrapper .otherphone{margin:0 auto 64px}.bindconfrimwrapper .logindirectly{display:block;text-align:center;text-decoration:underline;color:#f02200}.yohobindbtn[disabled]{background-color:#e5e5e5;cursor:not-allowed}.gobindwrapper{width:100%;height:45px;margin-bottom:70px}.gobindwrapper .myphone{float:left;margin-left:20px;width:193px}.gobindwrapper .logindirectly{display:inline-block}.gobindwrapper .validaterow{overflow:hidden;margin:0 auto 22px;padding-left:222px;float:left}.gobindwrapper .validaterow .name{float:left;text-align:right;margin-right:14px;width:96px}.gobindwrapper .validaterow .areatag{height:30px;line-height:30px}.gobindwrapper .validaterow .phonetag{height:47px;line-height:47px}.gobindwrapper .validaterow .content{float:left;text-align:left}.gobindwrapper .validaterow .content .validatacode{outline:none;box-sizing:border-box;float:left;height:45px;width:113px;line-height:38px;padding-left:8px;border:1px solid #d9d9d9;color:#000}.gobindwrapper .validaterow .validatewrapper{float:left;height:45px;width:133px;text-align:center;line-height:45px;background-color:#d8d8d8;color:#000;font-size:13px;margin-left:18px}.gobindwrapper .validaterow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.gobindwrapper:after{display:block;content:'';clear:both}.gobindbottomwrapper{width:100%;padding-left:341px}.gobindbottomwrapper .logindirectly{display:inline-block;float:left;margin-right:36px;text-decoration:underline;color:#f02200}.pwd-tips{position:absolute;top:-10px;left:285px;width:160px!important;height:72px;padding-top:7px;font-size:12px;background-image:url(../assets/img/sprite.passport.png);background-position:0 0}.pwd-tips>div{position:relative;height:22px;line-height:22px;margin-left:15px;padding-left:15px;font-size:12px;color:#b9b9b9}.pwd-tips>div i{position:absolute;width:14px;height:14px;left:-2px;top:50%;margin:-7px 0 0;background-image:url(../assets/img/sprite.passport.png);background-position:-32px -113px}.pwd-tips>div.no{color:red}.pwd-tips>div.no i{background-position:-64px -113px}.pwd-tips>div.no i,.pwd-tips>div.yes i{background-image:url(../assets/img/sprite.passport.png)}.pwd-tips>div.yes i{background-position:-48px -113px}.tip-panel{position:absolute;display:none;width:248px;padding:0 10px;z-index:8;background-color:#161616;border:1px solid hsla(0,0%,100%,.7);margin-top:5px;cursor:pointer;border-radius:5px}.tip-panel li{height:20px;line-height:20px;color:#b9b9b9}.err-tip{position:absolute;font-size:14px;white-space:nowrap;top:8px;left:285px;padding:6px 0;color:red}.err-tip i{display:block;float:left;height:14px;width:14px;background-image:url(../assets/img/sprite.passport.png);background-position:-64px -113px;margin-right:5px}.err-tip a{text-decoration:underline;color:red}.backdrop{position:fixed;background:#000;width:100%;height:100%;left:0;top:0;bottom:0;right:0;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}.err-info{display:none;z-index:9;position:absolute;top:-41px;left:0;height:30px;line-height:30px;color:red;background-color:#ffebeb;border:1px solid #ffbdbe;padding:0 10px}.err-info b{background:url(../assets/img/passport/angle.png);position:absolute;height:9px;width:17px;top:30px;left:10px}.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 .bg-img.blink,.guang-page img.blink{opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.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:700}.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%;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:#c30}.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:700;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:#fff;font-weight:700}.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:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";z-index:7}.guang-page .msg-content .reco{position:absolute;top:0;left:66px;height:32px;width:32px;background:url(../assets/img/guang/msg-reco.png);background-size:100% 100%;z-index:8}.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:#c30}.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:#c30}.guang-page .msg-content .page-view,.guang-page .msg-content .publish-time{color:#999}.guang-page .msg-content .like-comment,.guang-page .msg-content .tags{position:absolute;bottom:24px;font-size:12px}.guang-page .msg-content .like-comment .like,.guang-page .msg-content .tags .like{margin-right:10px}.guang-page .msg-content .like-comment .like:hover *,.guang-page .msg-content .tags .like:hover *{color:#000}.guang-page .msg-content .like-comment .like-icon,.guang-page .msg-content .tags .like-icon{cursor:pointer}.guang-page .msg-content .like-comment.tags,.guang-page .msg-content .tags.tags{left:386px;max-width:350px;height:20px;overflow:hidden}.guang-page .msg-content .like-comment.like-comment,.guang-page .msg-content .tags.like-comment{right:0;color:#999}.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:700}.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:#c30}.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:#c30;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;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;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;font-style:normal;font-size:14px}.guang-detail-page .user-handle ul li a i{margin:0 5px 0 0;font-size:18px;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}.guang-detail-page .user-handle ul li a .cancel-collect{display:none}.guang-detail-page .user-handle ul .like-status.hover i,.guang-detail-page .user-handle ul .like-status.liked i{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.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{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.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{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.guang-detail-page .user-handle ul .sort-collect.hover span{color:#000}.guang-detail-page .article-bottom-info{margin:44px 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:700;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}.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}.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:#c30!important}.guang-detail-page .detail-related-posts li:first-child{margin-left:0}.guang-detail-page .comment-area{margin:58px 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;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:red}.guang-detail-page .publish-btn{margin:10px 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/comment-icon.png) 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;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;margin-right:20px;margin-bottom:20px}.guang-detail-page .good-info .good-detail-img{height:auto}.guang-detail-page .good-info .good-detail-img .good-thumb,.guang-detail-page .good-info .good-detail-img img.lazy{height:257px}.guang-detail-page .good-info .good-detail-text>a{margin-top:0;line-height:36px}.guang-detail-page .good-info .good-detail-text>.price{margin-top:0}.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-image:url(../assets/img/sprite.guang.png);background-position:0 0}.guang-detail-page .share-to .share-weixin{background-image:url(../assets/img/sprite.guang.png);background-position:0 -36px}.guang-detail-page .share-to .share-tencent{background-image:url(../assets/img/sprite.guang.png);background-position:-18px 0}.guang-detail-page .share-to .share-renren{background-image:url(../assets/img/sprite.guang.png);background-position:0 -18px}.guang-detail-page .share-to .share-qzone{background-image:url(../assets/img/sprite.guang.png);background-position:-18px -18px}.guang-detail-page .share-to .share-qq{background-image:url(../assets/img/sprite.guang.png);background-position:-36px 0}.guang-detail-page .share-to .share-douban{background-image:url(../assets/img/sprite.guang.png);background-position:-36px -18px}.guang-detail-page .weixin-share-box{display:none;position:absolute;width:282px;height:302px;padding-top:9px;text-align:center;font-family:Microsoft Yahei,Arial,Verdana;top:22px;right:-3px;z-index:2}.guang-detail-page .weixin-share-box em,.guang-detail-page .weixin-share-box em i{position:absolute;width:0;height:0;font-size:0;border-width:0 10px 9px;border-style:dashed dashed solid}.guang-detail-page .weixin-share-box em{border-color:transparent transparent #d6d6d6;top:0;left:50%;margin-left:-10px}.guang-detail-page .weixin-share-box em i{border-color:transparent transparent #e8e8e8;overflow:hidden;top:1px;left:-10px}.guang-detail-page .weixin-share-box .con{position:relative;width:280px;height:300px;overflow:hidden;background-color:#fff;border:1px solid #d6d6d6;box-shadow:0 2px 4px #d1d1d1}.guang-detail-page .weixin-share-box h2{display:block;height:46px;line-height:46px;background-color:#e8e8e8;color:#000;font-size:18px}.guang-detail-page .weixin-share-box .pic,.guang-detail-page .weixin-share-box .pic img{width:168px;height:168px}.guang-detail-page .weixin-share-box .pic{overflow:hidden;margin:16px auto}.guang-detail-page .weixin-share-box .w{font-size:13px;color:#9f9f9f;line-height:20px}.guang-detail-page .weixin-share-box .close{position:absolute;width:45px;height:45px;line-height:45px;overflow:hidden;top:9px;right:0;font-size:16px;color:#999}.guang-editor-page .tag-header,.guang-list-page .tag-header{height:45px;line-height:45px;color:#333;font-size:14px;font-weight:700;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;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;line-height:18px;font-size:14px;color:#999}.home-page{width:1150px;margin:10px auto 0}.home-page .slide-container{position:absolute;left:0;right:0;height:450px}.home-page .slide-thumb-container{height:510px}.home-page .slide-wrapper{position:relative;height:450px;overflow:hidden}.home-page .slide-wrapper ul{position:relative;height:100%}.home-page .slide-wrapper li{display:none;position:absolute;top:0;right:0;width:100%;height:100%}.home-page .slide-wrapper li a{display:block;height:100%;width:1150px;margin:0 auto}.home-page .slide-wrapper li img{width:100%;height:100%}.home-page .slide-wrapper:hover .slide-switch.show,.home-page .slide-wrapper li:first-child{display:block}.home-page .slide-container-placeholder{height:450px;width:100%}.home-page .slide-thumb-container-placeholder{height:510px}.home-page .slide-switch{display:block}.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;opacity:.55;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=55)"}.home-page .slide-switch a .iconfont{font-size:32px;color:#59585a}.home-page .slide-switch a.prev{left:50%;margin-left:-575px}.home-page .slide-switch a.next{right:50%;margin-right:-575px}.home-page .slide-switch a:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.home-page .thumb-pagination{width:1148px;margin:6px auto 0;padding-left:2px}.home-page .thumb-pagination li{position:relative;float:left;margin-left:6px;width:138px;height:54px}.home-page .thumb-pagination li a{position:absolute;left:0;right:0;bottom:0;top:0;background:#000;opacity:.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"}.home-page .thumb-pagination li img{width:100%;height:100%}.home-page .thumb-pagination li:first-child{margin:0}.home-page .thumb-pagination li.focus a{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.home-page .slide-pagination{font-size:0}.home-page .slide-pagination .slide-shade{position:absolute;left:0;right:0;top:0;bottom:0;background:#000;opacity:.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";border-radius:13px}.home-page .slide-pagination span{position:relative;display:inline-block;margin:0 7px;width:12px;height:12px;background:#fff;cursor:pointer;opacity:.6;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";border-radius:6px;z-index:2}.home-page .slide-pagination span.focus{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.home-page .debris-slider{height:510px;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 .left-col img,.home-page .debris-slider .right-col img{height:100%;width:100%}.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{position:relative;width:570px;height:100%;margin-right:10px;font-size:0}.home-page .debris-slider .center-col .slide-wrapper{height:100%}.home-page .debris-slider .center-col .slide-wrapper li a{width:100%}.home-page .debris-slider .center-col .slide-switch a.prev{left:0;margin-left:0}.home-page .debris-slider .center-col .slide-switch a.next{right:0;margin-right:0}.home-page .debris-slider .center-col img{max-width:100%;max-height:100%}.home-page .debris-slider .center-col:hover .slide-switch.show{display:block}.home-page .debris-slider .right-col a{width:280px;height:120px}.home-page .debris-slider .right-col a:first-child{height:380px;margin-bottom:11px}.home-page .new-report img{display:block;width:100%;height:100%}.home-page .new-report .report-list{float:left;width:868px}.home-page .new-report .report-list li{float:left;margin:0 8px 8px 0;width:185px;height:248px;overflow:hidden}.home-page .new-report .report-list li:first-child{margin-right:7px;width:282px;height:504px}.home-page .new-report .last-item{float:left;width:282px;height:504px;overflow:hidden}.home-page .preference-brand{overflow:hidden}.home-page .preference-brand-list{margin-top:8px;width:1158px}.home-page .preference-brand-item{float:left;margin-right:8px;margin-bottom:8px}.home-page .preference-brand-item a{display:table-cell;width:185px;height:86px;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:185px;height:86px;line-height:100px;text-align:center;color:#000;font-size:16px}.home-page .img-slider-wrapper{position:relative;width:100%;height:558px;background:#8ae6e0;overflow:hidden}.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{box-sizing:border-box;margin:86px auto 0;width:982px;height:433px;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:320px;height:100%;margin-right:10px}.home-page .img-container-landscape .img-item img{width:100%;height:100%}.home-page .img-brand{position:relative;width:100%;height:175px;overflow:hidden}.home-page .img-brand ul{width:1158px}.home-page .img-brand li{float:left;margin:0 8px 0 0;width:378px;height:175px;line-height:175px;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;opacity:.55;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=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{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.home-page .img-brand:hover .img-brand-switch{display:block}.home-page .logo-brand{width:100%;height:282px;overflow:hidden}.home-page .logo-brand ul{width:1158px}.home-page .logo-brand li{float:left;margin:8px 8px 0 0;width:185px;height:86px;line-height:86px;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) 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-left:-48px}.home-page .logo-brand .logo-brand-switch .iconfont.next{bottom:12px;margin-left:20px}.home-page .logo-brand .brand-more{font-size:16px}.home-page .logo-brand .brand-more:hover{text-decoration:underline}.home-page .logo-brand.logos-10{height:188px}.home-page .categorys-list ul{width:1158px}.home-page .categorys-list li{float:left;margin:0 8px 8px 0;width:185px;height:248px}.home-page .categorys-list li img{display:block;width:100%;height:100%}.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{position:relative;margin:80px 0 40px}.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 15px;border-left:1px solid #ccc}.home-page .floor-header .header-navs li a{color:#333}.home-page .floor-header .header-navs li:first-child{border-left:none}.home-page .floor-header .header-navs li:hover{text-decoration:underline}.g-list li{float:left}.g-list li a{position:relative;display:block;overflow:hidden}.g-list li a img,.g-mask{width:100%;height:100%}.g-mask{display:block;position:absolute;z-index:1;background:#000;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";overflow:hidden;transition:opacity .6s}.g-title{display:block;text-align:center;font-weight:700;line-height:1.5;width:100%;word-break:keep-all;margin-top:14px}.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;width:579px}.home-page .tpl-recommend .tpl-types li{float:left;margin-left:8px;margin-top:8px}.home-page .tpl-recommend .tpl-types li a{width:185px;height:248px}.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-products li a{width:222px;height:298px}.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:0}.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:512px}.home-page .tpl-recommend .tpl-brands li a{height:248px}.min-screen .home-page .tpl-recommend .tpl-nav{width:158px}.min-screen .home-page .tpl-recommend .tpl-nav .keywords0,.min-screen .home-page .tpl-recommend .tpl-nav .keywords1,.min-screen .home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:8px;height:65px}.min-screen .home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:0}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category{height:192px}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category a{height:32px;line-height:32px;font-size:12px}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category a:hover{text-decoration:underline}.min-screen .home-page .tpl-recommend .tpl-brands{width:324px;height:432px}.min-screen .home-page .tpl-recommend .tpl-brands li a{height:212px}.min-screen .home-page .tpl-recommend .tpl-types{width:498px}.min-screen .home-page .tpl-recommend .tpl-types li a{width:158px;height:212px}.min-screen .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:185px;height:248px}.home-page .singlehot .impo1,.home-page .singlehot .impo9{width:378px}.home-page .floor-ad a{display:block;height:129px}.home-page .floor-ad a img{display:block;width:100%;height:100%}.home-page .goods-container{margin-right:-10px;width:inherit;padding-top:0}.home-page .goods-container .good-info{margin-bottom:0;width:280px;height:485px}.home-page .goods-container .good-detail-img{height:374px}.home-page .goods-container .good-detail-text{text-align:center}.home-page .adbanner{margin-top:12px}.home-page .adbanner a{height:150px}.min-screen .home-page .singlehot li a{width:158px;height:212px}.min-screen .home-page .singlehot .impo1,.min-screen .home-page .singlehot .impo9{width:323px}.min-screen .home-page .goods-container .good-info{width:240px;height:412px}.min-screen .home-page .goods-container .good-info .good-detail-img{height:320px}.home-page .commodity .commodity-list{margin-left:-10px}.home-page .commodity .commodity-list a{height:465px;width:280px}.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;z-index:2;height:60px;width:60px;line-height:60px;font-size:20px}.home-page .commodity .commodity-list .commodity-img{position:relative;height:374px}.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;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;width:185px;height:86px}.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}.min-screen .home-page .commodity .commodity-list a{height:400px;width:240px}.min-screen .home-page .commodity .commodity-list .commodity-img{height:320px}.min-screen .home-page .commodity .commodity-list i.top{height:52px;width:52px;line-height:52px;font-size:14px}.min-screen .home-page .commodity .commodity-brands a{width:158px;height:74px}.home-page .slide-accordion{overflow:hidden;position:relative;height:400px}.home-page .slide-accordion a{position:relative;display:block}.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:650px;height:400px}.home-page .slide-accordion .g-mask{opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"}.home-page .slide-accordion .g-mask:hover{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.min-screen .home-page .slide-accordion{height:342px}.min-screen .home-page .slide-accordion li a{width:558px;height:342px}.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 .tpl-brands{margin-top:-8px!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}.min-screen .boys .tpl-nav .keywords0{margin-bottom:8px!important;height:130px!important}.min-screen .boys .tpl-nav .keywords1{margin-bottom:0!important;height:74px!important}.min-screen .boys .tpl-brands{margin-top:-8px!important}.min-screen .boys .goods-container .good-info,.min-screen .lifestyle .goods-container .good-info{width:188px;height:360px}.min-screen .boys .goods-container .good-info .good-detail-img,.min-screen .lifestyle .goods-container .good-info .good-detail-img{height:255px}.min-screen .home-page{width:990px}.min-screen .home-page .slide-container{height:387px}.min-screen .home-page .slide-container img{display:block}.min-screen .home-page .slide-thumb-container{height:440px}.min-screen .home-page .slide-container-placeholder{height:387px}.min-screen .home-page .slide-thumb-container-placeholder{height:440px}.min-screen .home-page .slide-wrapper{height:387px}.min-screen .home-page .slide-wrapper li a{width:990px}.min-screen .home-page .slide-switch{display:block}.min-screen .home-page .slide-switch a.prev{margin-left:-495px}.min-screen .home-page .slide-switch a.next{margin-right:-495px}.min-screen .home-page .slide-switch a:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.min-screen .home-page .thumb-pagination{width:990px;margin:7px auto 0;padding:0}.min-screen .home-page .thumb-pagination li{width:118px;height:46px}.min-screen .home-page .debris-slider{height:440px}.min-screen .home-page .debris-slider .left-col{margin-right:9px}.min-screen .home-page .debris-slider .left-col a{width:240px;height:103px}.min-screen .home-page .debris-slider .left-col a:first-child{height:214px}.min-screen .home-page .debris-slider .center-col{width:492px;margin-right:9px}.min-screen .home-page .debris-slider .right-col a{width:240px;height:103px}.min-screen .home-page .debris-slider .right-col a:first-child{height:326px;margin-bottom:10px}.min-screen .home-page .new-report .report-list{width:748px}.min-screen .home-page .new-report .report-list li{width:158px;height:212px}.min-screen .home-page .new-report .last-item,.min-screen .home-page .new-report .report-list li:first-child{width:242px;height:432px}.min-screen .home-page .preference-brand-list{width:998px}.min-screen .home-page .preference-brand-item{margin-right:7px}.min-screen .home-page .preference-brand-item a{width:159px;height:74px}.min-screen .home-page .preference-more{width:159px;height:74px;line-height:90px}.min-screen .home-page .img-slider-wrapper{height:480px}.min-screen .home-page .img-container-landscape{margin:73px auto 0;width:844px;height:370px}.min-screen .home-page .img-container-landscape .img-item{width:275px;height:100%;margin-right:9px}.min-screen .home-page .img-brand{height:150px}.min-screen .home-page .img-brand ul{width:998px}.min-screen .home-page .img-brand li{width:325px;height:150px;line-height:150px}.min-screen .home-page .logo-brand{height:246px}.min-screen .home-page .logo-brand ul{width:998px}.min-screen .home-page .logo-brand li{margin:8px 8px 0 0;width:158px;height:74px;line-height:74px}.min-screen .home-page .logo-brand .logo-brand-switch .iconfont{font-size:24px}.min-screen .home-page .logo-brand .logo-brand-switch .iconfont.prev{top:-12px}.min-screen .home-page .logo-brand .logo-brand-switch .iconfont.next{bottom:-12px}.min-screen .home-page .logo-brand.logos-10{height:164px}.min-screen .home-page .categorys-list ul{width:1004px}.min-screen .home-page .categorys-list li{margin:0 7px 7px 0;width:161px;height:214px}.min-screen .home-page .categorys-list li.cate-item0{width:160px;height:435px}.min-screen .home-page .categorys-list li.cate-item1{width:326px;height:435px}.min-screen .home-page .floor-header{margin:50px 0 30px}.min-screen .home-page .floor-header .header-navs li{padding:1px 10px}.brands .brands-tabs{margin-top:20px;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{opacity:.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"}.brands .brands-tabs li .g-mask-on,.brands .brands-tabs li:hover .g-mask{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.brands .brands-tabs .hover-contain{position:relative;border-bottom:1px solid #dfdfdf}.brands .brands-tabs .hover-contain .hoverarr{background-color:#3d3d3d;position:absolute;bottom:0;z-index:6}.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 .header-navs{margin-right:-15px}.brands .category-nav{border:2px solid #222;padding-left:16px;height:44px;line-height:44px;font-size:12px;font-weight:700;position:relative;z-index:8;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:8;margin-top:0!important}.brands .brands-list dl{position:relative;border-top:1px dotted #999;padding:20px 0}.brands .brands-list dt{position:absolute;width:130px;font-weight:700;font-size:16px;text-align:center;top:50%;margin-top:-9px}.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 span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}.brands .brands-list dd a span:hover{text-decoration:underline}.brands .brands-list dd .brands-dialog{display:inline;position:relative}.brands .brands-list dd .hot{font-weight:700;color:#222}.brands .brands-list dd i{position:relative;top:-4px;color:#e01;font-size:14px}.brands .sit-nav{padding-top:10px;font-size:12px}.brands .sit-nav .sep{margin:0 8px}.brands .brands-category{width:1150px}.brands .brands-tabs{width:100%}.brands .brands-tabs li{margin-left:10px}.brands .brands-tabs li a{position:relative;width:222px;height:180px}.brands .brands-tabs li:first-child{margin-left:0}.brands .brands-tabs .hover-contain{height:30px}.brands .brands-tabs .hover-contain .hoverarr{height:5px;width:222px}.brands .brands-ad,.brands .brands-logo{margin:20px 0}.brands .brands-ad li{float:left;margin-left:10px}.brands .brands-ad li img{display:block;width:280px;height:280px}.brands .brands-ad li:first-child{margin-left:0}.brands .brands-ad li:first-child img{width:570px}.brands .brands-logo a{float:left;margin-left:26px}.brands .brands-logo a img{display:block;width:91px;height:38px}.brands .brands-logo a:first-child{margin-left:0}.brands .list-floor{width:1160px}.brands .brandfloor .g-list{margin-top:-32px}.brands .brandfloor li{margin-right:8px;margin-top:32px}.brands .brandfloor li a{width:378px;height:250px}.brands .singlegoods .g-list{margin-top:-10px}.brands .singlegoods li{margin-right:10px;margin-top:10px}.brands .singlegoods li a{width:280px;height:374px}.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 .g-list{margin-top:-10px}.brands .video li{margin-right:8px;margin-top:10px}.brands .video li a{width:378px;height:242px}.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)}.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:40px}.brands .news .news-pic{position:relative;float:left;width:764px;height:436px}.brands .news .news-pic .slide-container{height:100%}.brands .news .news-pic .slide-container li a{height:100%;width:764px}.brands .news .news-pic .slide-container .slide-wrapper{height:100%}.brands .news .news-pic .slide-container .slide-switch{display:none}.brands .news .news-pic .slide-container .slide-switch .prev{left:0;margin-left:0}.brands .news .news-pic .slide-container .slide-switch .next{right:0;margin-right:0}.brands .news .news-pic .slide-container .slide-switch.show{display:block}.brands .news .news-pic .slide-tips{position:absolute;left:0;bottom:0;height:30px;width:100%;background:#000;opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"}.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:auto;bottom:0}.brands .news .news-pic .slide-pagination .slide-shade{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";background:none}.brands .news .news-pic .slide-pagination span{margin-top:3px}.brands .news .news-txt{padding:20px 16px;float:right;border:1px solid #000;overflow:hidden}.brands .news .news-txt ul{height:100%}.brands .news .news-txt li{position:relative;display:block;margin-bottom:10px;margin-left:20px}.brands .news .news-txt a{font-size:14px;line-height:27px;cursor:pointer;color:#010101;display:block}.brands .news .news-txt a:hover{color:#fff;background:#000;padding-left:12px;transition:padding .4s}.brands .news .news-txt i{position:absolute;top:0;left:-26px;font-size:22px}.brands .news .news-txt{width:342px;height:394px}.brands .ads{margin:40px 0}.brands .ads li{margin-right: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{margin:25px auto}.brands .brands-items .brands-item{float:left;padding:15px 0;width:50%}.brands .brands-items a.brands-pic{float:left;width:280px;height:136px;display:block}.brands .brands-items a.brands-pic img{width:100%;height:100%}.brands .brands-items .brand-info{float:right;padding:0 20px;width:255px;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:92px;font-size:14px;line-height:22px;overflow:hidden}.brands .pagination{margin:40px 0 80px;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;transform:scale(.8)}.brands .pagination a.cur{background:#222;color:#fff}.min-screen .brands .header-navs{margin-right:-10px}.min-screen .brands .sit-nav{padding-top:10px;font-size:12px}.min-screen .brands .sit-nav .sep{margin:0 6px}.min-screen .brands .brands-category{width:990px}.min-screen .brands .brands-tabs li a{width:190px;height:154px}.min-screen .brands .brands-tabs .hover-contain{height:25px}.min-screen .brands .brands-tabs .hover-contain .hoverarr{height:4px;width:190px}.min-screen .brands .brands-ad li img{width:240px;height:240px}.min-screen .brands .brands-ad li:first-child img{width:490px}.min-screen .brands .brands-logo a{margin-left:10px}.min-screen .brands .brands-logo a img{width:90px;height:37px}.min-screen .brands .brands-logo a:first-child{margin-left:0}.min-screen .brands .list-floor{width:1000px}.min-screen .brands .brandfloor .g-list{margin-top:-26px}.min-screen .brands .brandfloor li{margin-right:9px;margin-top:26px}.min-screen .brands .brandfloor li a{width:324px;height:214px}.min-screen .brands .singlegoods .g-list{margin-top:-10px}.min-screen .brands .singlegoods li{margin-right:10px;margin-top:10px}.min-screen .brands .singlegoods li a{width:240px;height:324px}.min-screen .brands .singlegoods .singlegoods-title{position:absolute;left:0;bottom:0;height:50px;width:100%}.min-screen .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}.min-screen .brands .video .g-list{margin-top:-10px}.min-screen .brands .video li{margin-right:9px;margin-top:10px}.min-screen .brands .video li a{width:324px;height:206px}.min-screen .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)}.min-screen .brands .video .video-title{position:absolute;left:0;bottom:0;height:30px;width:100%}.min-screen .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:30px;text-align:center;color:#fff}.min-screen .brands .news .news-pic{width:660px;height:376px}.min-screen .brands .news .news-pic .slide-container,.min-screen .brands .news .news-pic .slide-container img{height:376px}.min-screen .brands .news .news-txt{width:284px;height:334px}.min-screen .brands .news .news-txt li{margin-bottom:13px}.min-screen .brands .ads{margin-bottom:30px}.min-screen .brands .ads li{margin-right:10px;margin-bottom:10px}.min-screen .brands .ads li a{width:240px}.min-screen .brands .ads li a img{height:138px}.min-screen .brands .ads li .name{font-size:14px}.min-screen .brands .ads li .des{font-size:12px}.min-screen .brands .brands-items a.brands-pic{width:240px;height:116px}.min-screen .brands .brands-items .brand-info{width:212px}.min-screen .brands .brands-items .brand-info .brand-desc{height:72px}.brands-layer{position:absolute;z-index:8;top:-83px;left:15px;width:325px;height:287px;background:url(../assets/img/index/brands-layer.png) no-repeat;font-weight:400}.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;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brands-layer .layer-content .desc{margin: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%;max-height:80px}.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(../assets/img/index/brands-layer.png) no-repeat 0 -287px;left:-325px;top:-83px}.brands-layer-right .layer-content{padding:20px 35px 20px 20px}.order-ensure-page{width:990px;margin:40px auto}.order-ensure-page .order-edit{width:100%;position:relative;margin-bottom:35px}.order-ensure-page .order-edit .order-title ul{display:block;background-image:url(../assets/img/sprite.order.png);background-position:-202px 0;width:364px;height:12px;position:absolute;right:0;top:0}.order-ensure-page .order-edit .order-title ul li{display:block;width:33.33333333%;float:left;font-size:12px;color:#999;height:50px;line-height:50px;text-align:center;position:relative}.order-ensure-page .order-edit .order-title ul li.active{color:#333}.order-ensure-page .order-edit .order-title ul li.active:after{display:block;content:'';background-image:url(../assets/img/sprite.order.png);background-position:-202px -14px;width:12px;height:12px;position:absolute;left:50%;margin-left:-6px;top:0}.order-ensure-page .order-edit .order-title ul li.active.first:after{left:0;margin-left:0}.order-ensure-page .order-edit .order-title ul li.active.end:after{right:0;margin-left:0}.order-ensure-page .order-edit .order-title ul li.first{text-align:left}.order-ensure-page .order-edit .order-title ul li.end{text-align:right}.order-ensure-page .order-edit .order-edit-main{border:1px solid #ccc;margin-top:30px}.order-ensure-page .order-edit .order-edit-main h2.title{height:30px;line-height:30px;background:#000;color:#fff;font-size:12px;text-indent:15px}.order-ensure-page .order-edit .order-edit-main .order-content{padding:5px 30px;font-size:12px;color:#333}.order-ensure-page .order-edit .order-edit-main .order-content .order-selection{border-bottom:1px dashed #ccc;padding:15px 0}.order-ensure-page .order-edit .order-edit-main .order-content .order-selection h2{font-size:14px;color:#000}.order-ensure-page .order-edit .order-edit-main .order-content .order-selection h2 span{color:#e8044f;text-decoration:underline;cursor:pointer}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul{padding:15px 0}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul li{padding:10px 0}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul li strong{font-weight:700;margin-right:15px}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul li input.radio{margin:0;vertical-align:middle}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .address-list ul .order-modify-btn span{text-decoration:underline;cursor:pointer;float:right}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul .order-modify-btn span.address-modify{float:left}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul.exist-address-list li{border:1px solid #fff;padding-left:15px}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul.exist-address-list li.active{background:#dbedf7;border:1px solid #8fb8e0}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .address-manage{border-top:1px dashed #ccc}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li{height:25px;line-height:25px}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li .address-legend{width:80px;text-align:right;display:inline-block;color:#333}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li .address-legend i{color:#e8044f}.order-ensure-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}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li select.text-input{width:100px}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .address-manage li .address-tel-input input{text-align:left;float:right;width:120px}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li .address-tel-input input.tel-lengend{float:left;width:40px}.order-ensure-page .order-edit .order-edit-main .order-content .pay-btn,.order-ensure-page .order-edit .order-edit-main .order-content .save-btn{display:block;font-size:14px;color:#fff;font-weight:700;text-indent:25px;cursor:pointer}.order-ensure-page .order-edit .order-edit-main .order-content .save-btn{background-image:url(../assets/img/sprite.order.png);background-position:0 0;width:200px;height:34px;line-height:34px}.order-ensure-page .order-edit .order-edit-main .order-content .pay-btn{background-image:url(../assets/img/sprite.order.png);background-position:0 -36px;width:119px;height:34px;line-height:34px}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time ul{padding:15px}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time ul li{margin:10px 0}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time ul li input.radio{margin:0;vertical-align:middle}.order-ensure-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-ensure-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);position:absolute;top:7px;left:8px}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-type-tips{color:#999}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify span.pay-type-legend{margin:0;color:#468fa2;cursor:pointer}.order-ensure-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);display:inline-block;transition:transform .3}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify span.pay-type-legend.active:after{transform:rotate(180deg)}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .support-type h4{padding:10px 0 10px 15px}.order-ensure-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-ensure-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-ensure-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-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-recommend{font-size:0}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-recommend .pay-type-legend,.order-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-recommend .support-type{font-size:12px}.order-ensure-page .order-edit .order-edit-main .order-content .select-express{border-bottom:none}.order-ensure-page .order-edit .order-edit-main .order-content .select-express .express-list{padding-left:15px;margin:10px 0}.order-ensure-page .order-edit .order-edit-main .order-content .select-express .express-list input.radio{margin:0;vertical-align:middle}.order-ensure-page .order-edit .order-edit-main .order-content .select-express .express-tips{color:#999}.order-ensure-page .order-edit:before{content:'';display:block;background-image:url(../assets/img/sprite.order.png);background-position:-121px -36px;width:117px;height:33px}.order-ensure-page .order-edit.order-cart:before{background:url(/order/save/cart.png)}.order-ensure-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:700}.order-pay thead .clo1{width:10%}.order-pay thead .clo2{width:20%}.order-pay thead .clo4{width:40%}.order-pay .pay-pro-icon{float:left;display:inline;width:60px;height:60px;display:block}.order-pay .pay-pro-info{color:#999;margin-left:70px;padding-top:15px;text-align:left}.order-pay .pay-pro-info a{color:#468fa2;text-decoration:none;display:block}.order-pay .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:700;color:#000}.order-pay .play-content .pan dt{width:105px;height:30px;padding:0 0 0 30px;line-height:30px;text-align:left;border:0;color:#fff;display:inline-block;cursor:pointer;background:url(../assets/img/order/btn-openclose.png) no-repeat 0 -60px;margin-bottom:5px}.order-pay .play-content .pan dd{display:none;border:1px solid #ccc;padding:10px 15px;margin-bottom:10px}.order-pay .play-content .dropdown,.order-pay .play-content .textbox{height:20px;line-height:20px;color:#333;border:1px solid #c9c9c9;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(../assets/img/order/btn-openclose.png) no-repeat 0 0}.order-pay .play-content .play-piao-pan li{height:25px;padding:10px 0;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 .pan{text-align:right}.order-pay .play-content .play-total{text-align:right;padding-bottom:20px}.order-pay .play-content .play-total label{padding-right:10px}.order-pay .play-content .play-total em{width:80px;text-align:left;display:inline-block}.order-pay .play-content .play-total a{color:#468fa2;text-decoration:underline}.order-pay .play-content .play-juan-pan dd{text-align:left}.order-pay .play-content .play-juan{padding:10px 0}.order-pay .play-content .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 0;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 0 40px}.order-pay .to-play .btn-group .submit{float:right;width:133px;height:33px;padding:0;text-align:center;border:0;line-height:33px;font-size:14px;color:#fff;font-weight:700;background:url(../assets/img/order/btns.png) no-repeat 0 -33px;display:inline-block;cursor:pointer}.me-page{width:990px;margin-left:auto;margin-right:auto}.me-page .home-path{height:40px;line-height:40px;color:#ccc;font-size:12px}.me-page .home-path .path-icon{float:left;display:block;background-image:url(../assets/img/sprite.me.png);background-position:0 0;width:15px;height:15px;margin-right:10px;margin-top:11px}.me-page .home-path a,.me-page .home-path span{color:#666}.me-page .home-path span{font-weight:700}.me-page .block{border:1px solid #dedede;border-radius:2px}.me-page .me-main .block{margin-bottom:10px}.me-page .title{height:40px;line-height:40px;font-size:16px;font-weight:700;padding:0 8px;background-color:#e3e3e3;background-position:10px 12px;background-repeat:no-repeat}.me-page .user-thumb{text-align:center;padding:20px 0;background:#f8f8f8}.me-page .user-thumb img{width:100px;height:100px}.me-page .home-navigation{float:left;width:180px;margin-right:8px}.me-page .home-navigation .ucenter{background-image:url(../assets/img/me/ucenter.png)}.me-page .nav-group .row{height:38px;line-height:38px;border-top:1px solid #e2e2e2;padding-left:35px;color:#666;background:#f8f8f8;font-size:12px}.me-page .nav-group .row a{display:block;color:#666}.me-page .nav-group .row.active{background:#636363}.me-page .nav-group .row.active a{color:#fff}.me-page .nav-group .row.first{border-top:none}.me-page .nav-group li:hover{background:#fff;color:#000}.me-page .nav-group .nav-title{font-size:14px;border-top:1px solid #ccc;border-bottom:1px solid #ccc;color:#333;background:#e6e6e6;padding-left:0}.me-page .nav-group .nav-title .title-icon{float:left;display:block;width:15px;height:15px;background-image:url(../assets/img/sprite.me.png);background-position:-17px 0;margin:10px 10px 0}.me-page .me-main{float:left;width:800px}.default-me-page{margin-bottom:20px}.default-me-page .message-tip{box-sizing:border-box;width:800px;height:40px;line-height:40px;padding:0 10px;margin-bottom:10px;background:#faf6d9;border:1px solid #f5e8c5;border-radius:2px;font-weight:700;font-size:12px}.default-me-page .message-tip a{color:#468fa2;font-weight:400}.default-me-page .message-tip b{color:#e8044f;margin-right:5px}.default-me-page .message-tip .close{float:right;cursor:pointer;font-weight:400}.default-me-page .more{display:block;float:right;height:21px;line-height:22px;width:63px;margin-top:8px;padding-right:8px;font-size:12px;color:#fdfdfd;text-align:center;border-radius:2px;background:url(../assets/img/me/btn-more.png) no-repeat}.default-me-page .brands ul{padding:10px 0 10px 10px}.default-me-page .brands ul li{float:left;width:122px;height:103px;border:1px solid #f6f6f6;margin-right:7px;overflow:hidden}.default-me-page .brands ul img{width:80px;height:50px;display:block;vertical-align:middle;margin:15px auto}.default-me-page .brands ul .brand-name{display:block;width:114px;height:18px;line-height:18px;color:#333;background:#f4f4f4;font-size:12px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 auto}.default-me-page .new-arrival{overflow:hidden}.default-me-page .new-arrival .pager{float:right}.default-me-page .new-arrival .pager .next,.default-me-page .new-arrival .pager .pre{display:inline-block;height:22px;line-height:22px;margin-top:8px;padding:0 6px;font-size:12px;color:#fff;background:#646464;text-align:center;border-radius:2px;cursor:pointer}.default-me-page .new-arrival .pager .next .iconfont,.default-me-page .new-arrival .pager .pre .iconfont{font-size:12px}.default-me-page .new-arrival .pager .no-visible{visibility:hidden}.default-me-page .new-arrival ul{width:800px;height:218px;overflow:hidden}.default-me-page .new-arrival li{float:left;width:101px;height:160px;padding:29px;border-right:1px solid #e3e3e3;text-align:center;font-size:12px;overflow:hidden}.default-me-page .new-arrival li .thumb{width:100px;height:100px}.default-me-page .new-arrival li .name{margin:10px 0;text-decoration:underline;color:#666;line-height:14px}.default-me-page .new-arrival li .price{color:#000}.default-me-page .banner{display:block;width:800px}.default-me-page .help-us{height:20px;line-height:20px;font-size:12px}.default-me-page .help-us a{color:#468fa2}.default-me-page .help-us .help-us-icon{float:left;display:block;background-image:url(../assets/img/sprite.me.png);background-position:0 -17px;width:12px;height:12px;margin-right:8px;margin-top:3px}.default-me-page .latest-orders .title{background-image:url(../assets/img/me/latest-orders.png)}.default-me-page .brands .title{background-image:url(../assets/img/me/brands.png)}.default-me-page .new-arrival .title{background-image:url(../assets/img/me/new-arrival.png)}.me-orders{font-size:12px}.me-orders .right{float:right}.me-orders .order-table-header{height:30px;line-height:30px;background:#efefef;border-bottom:1px solid #e6e6e6;padding:0 10px}.me-orders .order-table-header>span{display:block;float:left;text-align:center}.me-orders .order-table-header .info{width:330px;text-align:left;padding-left:10px}.me-orders .order-table-header .price{width:75px}.me-orders .order-table-header .count{width:60px}.me-orders .order-table-header .operation,.me-orders .order-table-header .order-status,.me-orders .order-table-header .pay{width:100px}.me-orders .order-title{height:28px;line-height:28px;background:#efefef;padding:0 5px;border-bottom:1px solid #e6e6e6}.me-orders .order{margin:10px;border:1px solid #e6e6e6;border-radius:2px}.me-orders .order li{display:table}.me-orders .order li>div{display:table-cell;color:#666;text-align:center;vertical-align:middle}.me-orders .order .info{width:313px;text-align:left;padding:10px 0 10px 10px}.me-orders .order .info>*{float:left}.me-orders .order .info .color-size{color:#999}.me-orders .order .price{width:90px;font-weight:700}.me-orders .order .count{width:50px}.me-orders .order .operation,.me-orders .order .order-status,.me-orders .order .pay{width:100px;border-left:1px solid #e6e6e6}.me-orders .order .name{color:#468fa2}.me-orders .order .color-size,.me-orders .order .name{display:block;line-height:18px}.me-orders .order .pay{font-weight:700}.me-orders .order .pay-tip{font-weight:400;display:block;line-height:18px;color:#999}.me-orders .order .op-item{display:block;color:#468fa2;line-height:18px}.me-orders .order .complete{color:#999}.me-orders .order .cancel{color:#e8044f}.cartnew-tips{height:auto;margin-top:30px;overflow:hidden;font-size:12px}.cartnew-tips .tipsbox{width:648px;height:23px;line-height:18px;padding:4px 5px 4px 10px;color:#666;background:url(http://static.yohobuy.com/images/cartnew_tipsbox.png) no-repeat;position:relative;float:left}.cartnew-tips .tipsbox .btn_close{width:17px;height:17px;padding:0;background:url(http://static.yohobuy.com/images/i_close_f.png) no-repeat;float:right;cursor:pointer}.cartnew-tips .tipsbox strong{color:#000;font-weight:700}.cartnew-tips .tipsbox a{color:#468fa2}.pay-wapper{position:relative}.pay-wapper .cart-product-num{font-size:12px;text-align:left;height:33px;line-height:33px;background:#f8f8f8;padding:0 10px}.pay-wapper .cart-product-num input{position:relative;top:2px}.pay-wapper input.cart-item-check{float:left;margin-top:25px}.pay-wapper .adjust-cart-num input{width:30px;margin:0 5px;text-align:center}.pay-wapper .adjust-cart-num .minus,.pay-wapper .adjust-cart-num .plus{display:inline-block;width:11px;height:11px;cursor:pointer}.pay-wapper .adjust-cart-num .plus{background:url(/order/save/plus.png)}.pay-wapper .adjust-cart-num .minus{background:url(/order/save/minus.png)}.pay-wapper .cart-del-btn,.pay-wapper .cart-remove-btn{height:22px;line-height:21px;padding:0 10px;display:inline-block;cursor:pointer;color:#666;position:relative}.pay-wapper .cart-del-btn span,.pay-wapper .cart-remove-btn span{position:relative;z-index:8}.pay-wapper .cart-del-btn:after,.pay-wapper .cart-remove-btn:after{content:'';display:block;width:16px;height:100%;background:url(/order/save/btn_hs_03.png);position:absolute;right:0;top:0;z-index:6;background-repeat:no-repeat}.pay-wapper .cart-del-btn:before,.pay-wapper .cart-remove-btn:before{content:'';display:block;width:100%;height:100%;background:url(/order/save/btn_hs_01.png);position:absolute;left:0;top:0;background-repeat:no-repeat}.cartnew-sum{background:#efefef;border:1px solid #ccc;padding:10px;margin-bottom:10px;zoom:1;margin-top:20px;height:auto;overflow:hidden;font-size:12px}.cartnew-sum .left{float:left}.cartnew-sum .left a{color:#333;margin-left:20px}.cartnew-sum .left input{position:relative;top:2px}.cartnew-sum .right{float:right;text-align:right}.cartnew-sum .right strong{color:#e8044f;font-size:18px}.cartnew-sum .sum{color:#333;font-weight:700;padding-bottom:5px}.cartnew-submit{padding:10px 0 40px;text-align:right;position:relative}.cartnew-submit .btn_continue{width:60px;padding:0 0 0 33px;text-align:left;color:#333;background:url(/order/save/cart_01.png);float:left}.cartnew-submit .btn_account,.cartnew-submit .btn_continue{height:33px;border:0;line-height:33px;font-size:14px;font-weight:700;display:inline-block;cursor:pointer}.cartnew-submit .btn_account{width:133px;padding:0;text-align:center;color:#fff;background:url(/order/save/cart_02.png);float:right}.cartnew-submit .go_cash_tips{font-size:12px;width:200px;padding:5px 7px 0 28px;height:45px;position:absolute;right:135px;top:10px;text-align:left;color:#e8044f;background:url(/order/save/cart_03.png);display:block}.cartnew-submit .btn_account_disabled{width:133px;height:33px;padding:0;text-align:center;border:0;line-height:33px;font-size:14px;color:#ccc;font-weight:700;background:url(/order/save/cart_04.png);display:inline-block;cursor:pointer;display:none} \ No newline at end of file +@charset "utf-8";a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,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,td,th{text-align:left;font-weight:400;vertical-align:middle}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}.clearfix:after{content:'';display:table;clear:both}body{font-family:arial,Microsoft YaHei}@font-face{font-family:iconfont;src:url(../assets/font/iconfont.eot?1530bd62fdc);src:url(../assets/font/iconfont.eot?&1530bd62fdc#iefix) format('embedded-opentype'),url(../assets/font/iconfont.woff?1530bd636fd) format('woff'),url(../assets/font/iconfont.ttf?1530bd636fc) format('truetype'),url(../assets/font/iconfont.svg?1530bd62ff0#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:.2px;-moz-osx-font-smoothing:grayscale}.center-content{width:1150px;margin-left:auto;margin-right:auto}.min-screen .center-content{width:990px}.left,.pull-left{float:left}.pull-right,.right{float:right}.center{text-align:center}.hide{display:none!important}a:focus,input,textarea{outline:none}a{text-decoration:none;color:#000}.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:17}.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:#000}.yoho-header .rightpart{position:absolute;right:0;top:0}.yoho-header .rightpart .acttags{background-color:#dcdcdc}.yoho-header .rightpart .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,.yoho-header .header-yoho,.yoho-header .login-out,.yoho-header .loginbar,.yoho-header .registbar{color:#000;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:16}.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:#000;height:25px;line-height:20px;font-size:18px}.yoho-header .user-level{color:#000;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:#000}.yoho-header .myyoho-info-footer{height:51px;line-height:51px;text-align:center}.yoho-header .myyoho-info-footer a{color:#000;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:17}.yoho-header .qr-img{position:relative;background-image:url(../assets/img/header/qr.png);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 .all span,.yoho-header .boys a,.yoho-header .boys span,.yoho-header .girls a,.yoho-header .girls span,.yoho-header .kids a,.yoho-header .kids span,.yoho-header .lifestyle a,.yoho-header .lifestyle span{color:#fff!important}.yoho-header .all{background-color:#5e4b3c}.yoho-header .all .sub-nav-wrapper{background-color:#000;display:block!important}.yoho-header .all .third-nav-wrapper{border-top:2px solid #000}.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:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MUFFQTNDNEExRjA1MTFFNUIwODc4NTUzNUJFODJCMjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MUFFQTNDNEIxRjA1MTFFNUIwODc4NTUzNUJFODJCMjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxQUVBM0M0ODFGMDUxMUU1QjA4Nzg1NTM1QkU4MkIyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxQUVBM0M0OTFGMDUxMUU1QjA4Nzg1NTM1QkU4MkIyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj44ndIAAAF7SURBVHjavJa7SsRAFEBn11gpov8gCCIKIijYrVjZCYmNFjYidn6BrSCWFoKdjQTsLKw0bHwh2gi+BTu30TWFK+j6OgMTiEOM0Z3shUPmzoQ5ZF6ZnG3ba0KIMfE9zqAH3sQv4bquSBN5GI2p74RuYTCkaAa24Fxr6zctWoEhGNfaBkyKcsxRWG6AMrSo/AaGDThemMeSFal4Bx9GVN4Otya+xnGchbxWVxTZxGy9RA+66AgqGYg8XSQ36F49RFkN306cyDMsuYfTONGhXPsGRUX20Wec6BUODIr88AgSGQ+flyTyDUkCOEkS7UPVgGiX+flIEj2rRWFk2JJEpuZpO41oCa5qkKwybMdhYiW8WIIOaP2HpIqkov9h06ycQN0jBtVmDusCOpTPJihAm8x1SVqRjEW5gmBDnYVW5KfWxeMC1uGSvPDTnSFNTEXKfdAbySegWZUbYbIWUVnLH7VDM+ndP4mm4Q6eYA6uI23LsKk2uDwj5+M6+BJgAFPmZONXOE3uAAAAAElFTkSuQmCC) no-repeat}.yoho-header .gobuygirls{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABfklEQVRIx73Vv0vDQBTA8e9F3UR09j8QUSiC4Cg4ud3iJOIi4uZ2m+uBODq46uJipg5ONbRWiyiC4G/BTZdaHfxBrRiHpJLG2NTm4pvevXe5Dxy5O+FqexOYojHOgGGh5AeGwgJkRH0AGDKF1KEFIAech3qjJiFRT1xtZ4CjQG9dKDmTBtQBVIAev3QDTBgwqkLJexGsuNrOApMmt8yPZStUyKeAACz+F/QQhg6BlxQgpwHyD+he6pAfaWzfbhTkGEbKwGkUdABUDUJ5oaT7AxJKvgMlg1ABvLsuKhyDkNMMKhhCnoCTZtA+UDMAFYWSn79CQslXvJ8iaTj1xGplUoLYaQVaBa4SIBtCye/3TcTNdrXd2wZSE0o23JmxUAAcA/qAnFDyLdTrx3v6j4WSt1HfW/EEuNpeAYpAFsi72u4M9AaBC2ALuHS1Pd42BMwF8hEgExhPA91+3gXMJoEqofFjIC/HzP0TNA/cAc/AklDyOtBbA7bxDngJ0FELfAHxEGiu2DHs/wAAAABJRU5ErkJggg==) no-repeat}.yoho-header .gobuykids{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABgUlEQVRIx73Vvy8EQRTA8e8eMo0Itf9ADMlFIlFKVDqNSkQjolNvoZpEIkqFlkaju0J1NneOixCJjd8SHc05Cj8yTlDsnuytdXvcrFe9eW92PslkZ8ayXb0OjFMbJ0C/kuINQ5ECxiLqPUCfKaQKzQJZ4DTUGzQJWdXEdnUaOAj0VpUUk0lALUAZ6PBLV8CIAUMrKW6tYMV2dQYYNbllfiymQoVcAgjA3H9Bd2FoH3hKAHJqIP+A7iQO+ZHE9m1HQY5hpAQcR0F7gDYI5ZQUH98gJcUrUDQI5cG766LCMQg59aC8IeQBOKoH7QIVA1BBSfH+I6SkeMb7KZoNp5qkGpnURGw1Ai0DF00ga0qKr/fNipttu7rzD0hFSVFzZ8ZCAXAI6AKySoqXUK8b7+k/VFJcR32fiifAdvUSUAAyQM52dWug1wucARvAue3q4T9DwHQgHwDSgfEE0O7nbcBUM1A5NL4P5KWYub+CZoAb4BGYV1JcBnorwCbeAS8CC1ELfAIRimiKicNJAQAAAABJRU5ErkJggg==) no-repeat}.yoho-header .gobuylifestyle{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABf0lEQVRIx73VPUvDQBjA8X+ibiI6+w1EFIogSCbBKZuLkxEXETc/gasgjg6u5+Li1gOnGtqrFlEEwXfBTZdaHXyhVtQhqaQxNrW5+EzPPc/lfnDk7gzHtjaBKRrjFBgWUr2jKUxgMqI+AAzpQurQApADzkK9UZ2QUU8c28oAh4GeEFLNpAF1ABWgxy9dAxMajKqQ6s4IVhzbygK2zi3zY8UMFfIpIACL/wXdh6ED4DkFyG2A/AO6mzrkRxrbp6IgVzNSBk6ioH2gqhHKC6k+f0BCqjegpBEqgHfXRYWrEXKbQQVNyCNw3AzaA2oaoKKQ6uNXSEj1gvdTJA23npitTEoQO61Aa8BlAmRDSPX9vhlxsx3b6m0DqQmpGu7MWCgAjgF9QE5I9Rrq9eM9/UdCqpuo7814AhzbWgWKQBbIO7bVGegNAufAFnDh2NZ42xAwF8hHgExgPA10+3kXMJsEqoTGD4G8HDP3T9A8cAs8AUtCqqtAbx3YxjvgJWA5aoEvXQ1rTnQJKpQAAAAASUVORK5CYII=) no-repeat}.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:#000;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:10}.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 a{position:relative;color:#fff;font-size:14px;line-height:14px;display:inline-block}.yoho-header .sub-nav-item:last-child{margin-right:0!important}.yoho-header .newlogo{display:block;width:26px;height:12px;background-image:url(../assets/img/header/new.png);background-repeat:no-repeat;position:absolute;right:-29px;top:-6px}.yoho-header .actsecondnav,.yoho-header .sub-nav-item:hover>a{padding-bottom:3px;border-bottom:2px solid #fff}.yoho-header .sub-nav-item:hover .third-nav-wrapper{display:block}.yoho-header .third-nav-wrapper{box-sizing:border-box;height:410px;position:absolute;left:0;top:38px;width:100%;min-width:1150px;display:none;z-index:15;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:#000;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:#000!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:#e01!important;font-size:14px}.yoho-header .category-item-act a{color:#000!important}.yoho-header .showdetail{box-sizing:border-box;padding-left:19px;padding-right:19px;width:337px;height:250px;float:right}.yoho-header [class*=" icon-"],.yoho-header [class^=icon-]{display:inline-block;vertical-align:middle;background-repeat:none}.yoho-header .icon-hamburger{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAALCAYAAACksgdhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MkNDMTBCN0ExRjAzMTFFNUI1NzZENkM4MUQyMEJGQTgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MkNDMTBCN0IxRjAzMTFFNUI1NzZENkM4MUQyMEJGQTgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyQ0MxMEI3ODFGMDMxMUU1QjU3NkQ2QzgxRDIwQkZBOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoyQ0MxMEI3OTFGMDMxMUU1QjU3NkQ2QzgxRDIwQkZBOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqrUNPwAAAAmSURBVHjaYuzr6/vPQCJgAWJGUjUxMZAB6KcJ5KfRgCA3IAACDACZEATHVTZCoQAAAABJRU5ErkJggg==) no-repeat;width:13px;height:11px}.yoho-header .icon-headphones{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAOCAYAAAASVl2WAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDNDODgxQzgxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDNDODgxQzkxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEM0M4ODFDNjFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEM0M4ODFDNzFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhJU+6cAAAB7SURBVHjaYnyorNzIwMDwFYgZGVDBPyDmYwESP4C4CyroBqV3QelKkAIeIF4IxNeQdBsCsRYQPwEpYALiE0A8Hc2KTCCWY2IgAIaHAlhI8gFxORCLQsVfQ+kfIAW/gLgTKjALamoJclBzAnEZNLL4oBIg0/4DMRdAgAEA3OsUBsKkQkoAAAAASUVORK5CYII=) no-repeat;width:15px;height:10px;margin-top:2px}.yoho-header .icon-heart{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAALCAYAAABLcGxfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QkJFNDA0MDMxRjAzMTFFNTgzQUY4OEM0NzJDQ0YyNzAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QkJFNDA0MDQxRjAzMTFFNTgzQUY4OEM0NzJDQ0YyNzAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCQkU0MDQwMTFGMDMxMUU1ODNBRjg4QzQ3MkNDRjI3MCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCQkU0MDQwMjFGMDMxMUU1ODNBRjg4QzQ3MkNDRjI3MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgbjRwsAAADJSURBVHjahNC9DgFBEMDxuXWiUUq0Si+i9AqiukQjkdBRi0R8FlrxAhKtgkfw0aiovYGEhP/EhI0cJvldNjOzu3MbRFEUiEgVeVyQxESeUcEVKRwwDvnUsMPQmjQ3srUedLN1QXu1mENP3qENXdy9Zo0liqHEx/FLPnA2X1r+h/akdEMHAyR+NGutj7az64c2dxA3hv2jPsTJWXKPBZoxG1qYW484r7DCFnUv18AGa/He3A+9pYySHXa23CtczAhTZJHB7LP4EGAA/kUjzWzAmh0AAAAASUVORK5CYII=) no-repeat;width:12px;height:11px;margin-top:-2px}.yoho-header .icon-mail{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RUVFMTA0NDExRjAzMTFFNTg3MzBCMUMzNDQ0Q0E1QkUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUVFMTA0NDIxRjAzMTFFNTg3MzBCMUMzNDQ0Q0E1QkUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFRUUxMDQzRjFGMDMxMUU1ODczMEIxQzM0NDRDQTVCRSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFRUUxMDQ0MDFGMDMxMUU1ODczMEIxQzM0NDRDQTVCRSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ptf44EYAAADcSURBVHjalNJPCwFBGMfxsW3UvgdydJVc7EEOcnH1Amxt/iUHUt6A456EUrwYJS64unkFjhKF79RDk6Q19Znd5nl+M9O2kSAIjkop7aD+GykkbKYdLphgHzKcRh8ni+mMKnrIhgjrnq5kzpYs6ht4aMH9EXalx5OMsoziFb4U81/CBTnVl171uYEed9FB0VgvoW3U38M23qOYYoEVRohJrYwKcpih/rqFbYR1YYyNrDUxxAMNeS5xk17/tYGDOQJsjRvpwODLt1jL6fqmjt4gIz9S7c8fKY7kU4ABAPrAL/PXL7nQAAAAAElFTkSuQmCC) no-repeat;width:16px;height:10px;margin-top:-2px}.yoho-header .icon-iphone{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAOCAYAAAASVl2WAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDNDODgxQzgxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDNDODgxQzkxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEM0M4ODFDNjFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEM0M4ODFDNzFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhJU+6cAAAB7SURBVHjaYnyorNzIwMDwFYgZGVDBPyDmYwESP4C4CyroBqV3QelKkAIeIF4IxNeQdBsCsRYQPwEpYALiE0A8Hc2KTCCWY2IgAIaHAlhI8gFxORCLQsVfQ+kfIAW/gLgTKjALamoJclBzAnEZNLL4oBIg0/4DMRdAgAEA3OsUBsKkQkoAAAAASUVORK5CYII=) no-repeat;width:8px;height:14px;margin-top:-2px}.yoho-header .icon-papers{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAOCAYAAAAWo42rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUNCQzI5NzcxRjAzMTFFNTg0MTBDRDUyRkVENTFGQTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUNCQzI5NzgxRjAzMTFFNTg0MTBDRDUyRkVENTFGQTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBQ0JDMjk3NTFGMDMxMUU1ODQxMENENTJGRUQ1MUZBNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBQ0JDMjk3NjFGMDMxMUU1ODQxMENENTJGRUQ1MUZBNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqSzZHsAAACCSURBVHjaYkxLS7vKwMBwhAETuABxGhDvBXFYgPggEGdhUTgdiP2h7L0sDLjBfyDOB+KJMBNxgb9APAOIGYF4DrJCfiBmQuJXAvEXKHsassJMIBZA4t8A4gUwDrLCDjzOQFHYDsRCWNQ0oSuspK+JTAxEAqIVgqy2B+KZBNTZAAQYAEaiFCx+VPXeAAAAAElFTkSuQmCC) no-repeat;width:10px;height:14px;margin-top:-2px}.yoho-header .icon-bottomarrow{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAFCAYAAAB8ZH1oAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUEzRDI1MEQxRjAzMTFFNUJENkRGMUM2QzYwNzc5ODAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUEzRDI1MEUxRjAzMTFFNUJENkRGMUM2QzYwNzc5ODAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QTNEMjUwQjFGMDMxMUU1QkQ2REYxQzZDNjA3Nzk4MCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QTNEMjUwQzFGMDMxMUU1QkQ2REYxQzZDNjA3Nzk4MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjEPOcUAAABkSURBVHjaYuzr65vBwMDQB8S3GLADNSAuYgISlUDcDsTGWBSBxDpBakAK3wNxLBAXA7EzkiJnqFg0SA0LVPAbEMcB8VQgFgbi/0DsChX7A1LAhGQCSCADap0JEKfDFIEAQIABAH3lEoANPM6QAAAAAElFTkSuQmCC) no-repeat;width:10px;height:5px;margin-top:-2px}.yoho-header .icon-logo{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAAAoCAYAAACBzApvAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAASpElEQVR42u2ceXxVRZbHvxUVROkWbXUior4HaAQCJAgkJJBtFCQIZGERpx27m2bapadH7Y1pp+2PPYvTLh+RRmdamZ6ej6ORJZCEBGQLkIWlBcISE5AtCGqrrYIIIkvO/HHve+8uVfc9tmb+yO+j4dZyTp06t+rUqVN1n5py35TtCKntCAjYfxCJ/GH13Llz80kAxSXFoxB5S+y0iKCA9ghf67+Bi6qqtiXCLwgjR406BnQRxBbT1cY/r1y+/MlzbeNCYEhm5kFBboxm2MLbXXh804Y/vgAwaOjg7iK8H6OM9VOi7yqmZ4cGInWPgTQD8xBebt6y9djF7vu5Ign4bTSlon8cafImTprYPx6j4pKSq4HfO+mVUt5qM8/LQL377uuBLpaISldl319GfWeGIcMyOwHd3RK7Uo4hSMjMydNnpdXBFcBQ4FmgJTVtYPrF7v+5Ign4X+BzX3fdGT9KgNcsoLt+7ACwE8U/nie5e+qzVUTu/5eDFbjFKaRHcoD3HFlhwyB0EXgeoznKXXILsLRf2oDki62Ac0FS2Rtlx1DM1qslmvvtiZMmfsvEpLi0ZCJwn67MNhWnQT1QVVl1vpaikFbKWLrtwqrtrBH25biFd8itwsplaM8Qyvd8nUI9c7EVcC5Isv99GWg391VdDkzTMSgtLU1W8B/OmawZ+E9XVVZuOF9CK91Lj+EUcPBCK+4sEYpT3mauqwINbYKY3C9twFUXWwlniySAsjfK2kBV2joB/Vr+8ISJEy/V5M9W4LG6LvotSYpfn2e53UukW9wDK5YvP3XBNXd26BmRVeO3Ht604Y+fufpogNEkGHOj6AQMvNhKOFskOZ5f1HY0lnkTivHOotIJpVNRjAmg+VopdX9FReXJ8yx3yN2cax1ou7AqO19y+7TtldsarHpz+gYQRhG264VRKgykA2Vurfjor7nYSjhbRC1lWVnZmilT7t0mMCBaqnDtT5W10SoHmDCxNCzCC5Ey8dS18cuKhRXN3sxx48amCAwHUkSkG3BUhIPABpB1NdU1pwOlVoQD3LkLsrkanpNzpUCuQBoiyUAnkE+BFhFWrGto+CgBNkHuS1vkYdDQIZcAN1kDTnRdfWfrxk1tOiYDBqV/G+gNDEH/Tj65EPr5S8C7rM8EZruzrB7basuZMHFiGsg24L9BvhGpo6IRvqiGGoDnI1zGjR/fCZgK8ghCv5gW7foxxb5fOGbMcwIvLamp8VnkUaPvTsLa3WqkBGDfnSPvuhlhqsAoQfogXAnyscAGhNeB8lUrVya0exmem9sf5GcIExRcDrr3T/uw4dmVwJPrGhqbTbwUKqwdepbwe6NJpXqIyKVaHgpEzBNy2+am9v6D0pcDQzRtnFKo7QB9Bw4YDUyO9kZiMVoAEabu2N7sMhopqf1Gg0y2y4kQxuK/HAR6OAptXgKwec+OnTODdB2+7dYHEMl3UktMvkMehag3QJ7BXir0E5N/ALYDuc4anrpHFfztwoUV7QDji8bnKZjdLvTyak+TuhF4AfjO6DGFxUtqFrtejEJ1F+Qyn2yxjBLgSeAyT9kNQBGKIoT1+QUF966qrd1vUtyIvLyuIM8IPGjPwBg7hfd9JAHFwNjM4dnT1zc0Pu/ll5E17AoRrtMpy0ab873ppYoSBq4eCm41zMSa5i1bv7D7MEqEBwwsPvYOVBt3gZ/G1scnwGLgAV//rPSdWMZQi/Btt3YDXgRMG8CnnD4rZWVlXwGvGg4HIpgC/JtPh248vnBhxT6AouKi6UqpWnAOVAgKyygrEjkQqB9dWOh9cWFXxSi/6HM6zoGqFzMTWJVfUHCdrl5Ofl5P4G3gIRWJizqIxbs9iiUvBZ7LHJ79L7r3ESAPHl87RDDaTAUDBqUPw5o4XrSDa6Mb0klhwzQZDPFtAPYqqAsov7HX7SlB9I8CVxl89MMKZviWGgWzBH4CXBLti3uWdI44qEqJy8LY2YuBVwGKioueBqajaSTCU2OlXB0EKkYXFg5esnhxxCUI8vtiDSixvYuI1+dzwMMIL+KJD+fk5/cGWW21bVhbTG3G6j6RkZ21aUPj2oWOCuE4NHuNdd1KOgFcnjb4jlB02bYeugF3iciTRN27SO8VIL9u3rJ1s4NrSC+KAqTN0MkQBrOJNYG0g9Xheed4+ml1NuXWbgiP6rRi085o273nUJKX8M2yNw8CC/xK9T55UwrgM2DawgULpbik+Ac4BqoYOBj4OJ8HQKwjUSWrYC6mljyYlFtQ0COSyM3P7wYswZokCcB4EoWClzKys7p45VYmqZTJDVDeVagTluXz/t8EPAN01Qg0A3zhQ5+Vc0jmG1DOPhiwb1dL627ggwDN5xryH0UZl//DtvwkGSpE7wt4Dge0WnY8PbxwwYIPiktK+mIKhbnolImVN+/x0YWFkVUgHFTdRjuwH+uAwFBZAVyiYKQjc5aydtIeJzVQahNuAL7jSIcDgvqfbly/4UtHOqSMlc/ocOAjYHJz05bHmpu2Rkd8atrAa4BvBNC1eTNS+ve7xjmgvDIoFXUd6g1iA4zwZvdMua0bbmPkxYz9u/YcAsNgnVP2Zj2KLQm/FptsQfmCOfbzTKCzlz4pljwMzFLINOBnWFbBPTHcbmIykGc/h12Txn84sBDosWLZ8hDQA93S5CbpA5BbkJ8D/I2hTuRvHZaLNE0pXgW+1onhoJrsyAj7i6P/eC1ZAq5OQocDnfFaWgsht8xxY75RmgC02ZxWB4jVq9ftKT08eY9AfKsKZssK3p2bb3W2VaUE4AMUjwCUlJRkA3/tpXFYilqgV1VV1d9XVS2avahq0bPAYOA/4ygj2+ZpVJpCtQKTVyxb9iHAiuXLPwK+r9zW39unyK73VyauwFfApIa6utyGurrnG+vqZjfW1f8d1q2mz81kZGZkZ11iZ4QC+LdFUoMzhnZC54YkeKnFU68bqP/qn572tIeiZxw+OjcgYAIpINiyOt7B8KgQKbd1BR4L6OuMtl27D0USQYO1DPizTxloJ8208vnlnwKI4vsBPLcBY6sqqz51ZlYvWtSOdeCw199C9Dk8unD0ZcBNAYK8vmLZMldsVrl2ttoX/nluQUFvoCCg3tSGNWvmeTPX1tdvAzXdRKcsyxa56ZTQgQBws0pE4wYYTiGnp6anTXLkhAJYCKj3NPkuP9pPQyQM2EJk3OiR53j+Ic6jevdq5rKqEDBY55S9eRyXtYssOr5tzKvl88sXA5SWliYpuMe0PAn8uKqyUnvzqnpR9UlgfsB76QbqJoIn2C5N3s3m6lGLcI9uE2n/u6Z+9ZqygDbLtFxjuDIjO6ubJX+k3NdJpyWLWj3lCs1FXc6XgaeU4imI/v8bwHgYYeOZ1PSBEd2FlNl9+KB12/YTmqKQr26MxQfvvtN6AmBXS6sAdQETLAeg1+0pXZVSPzHoAzxWFfwnWF78HvingADOPuBxRzqs4FptYMM65lsZp70PtW1ZmYctJWMHohxBmVjNtkAlu2Mikec2BcXiLY+lgwYqa+vrj2SNGH4Yrd+lADkGJEcP6pxRKIcMWnn1+GXT25s+82YOvGPQE8A8HDFWT3duwdrgrME1IXyhQ1MkIKxjasMbl60HSgz67NPr9pTrgKn4LkBF4bOqEGylQHFZnFu+T82fN/9LR3kvHZOIEiorKuMFLbu7KN3rYVtUyT7jHmtDwzNklMjCPhUc7H43SOCsESOuxh6oPrdScQL4E/ZXDSZ4XJVQQNUjTW9v/ExXsHXT5tPAEx59eDHYpBOHVtoMtEFujOeU0d5kmVGItVE1YcY+j1WF+JY11intLFE7PfWv0OrAojNe3gYYO25skoiUBFTZCGQElB9dtnSp31dS9Aw4HDi6qrb2k/yCAs1gita7Po6OikwdBrZsaFx7KiM7ay/wXYNZElA+N0C/wiiT1YvgEz1tdB2K3LgKGTko/WBVEPLydLTipdkOfAF8UycF1p2RM7KqEH+weixOTED7yau8k6AQJbqlondRcVH/ioUV2w1t/RBUL906DeorkFpgsu4qmGYpdSIU4MZEaE5qXkAExcAcHXFWTs5ViDwVcNJVA7Chce1h4A8kAkVIz0qhzCdLEeQF8AXhWGr6wGSgi3sCu+CbELf3T/0roEvAaZ7Lsu5qaT3du2+felBjDDRmw6WYsW/nrkO6omA3wDEDNYcDx+bPm/exp35bpK5zk+WgfXV80XhfMHrsuHH3As+ha8zCnCWLFx/FsFwbYpW+Pmh4R5R8wBtydGyyJo/Iy/NZ/OE5OdcqqMYZnXA3cxr4n0g6IzurR0Z21vMZWcM2ZmQNax46bNgrQ4Zl3qIhdS23nsOBNkMfGTh40E04brkZ0ITH1dLgK02ee0Xzh7l1dwmCDgd8/bPHlNGqQnzLGraXezQzRCfgDqxLB1cZlowMoKmoaPyL7UILSA+Ee0HuNmzKUIrTCJFvh0LOcpdlUMZL12Z/NHbqsk7BeINBA2HeiLzcPwBVInyNyHDgQeBb3g2KI/3a+obG/QAZ2VkFWPeAuzk49wOKhwzLHPz2uvX7AQZnZlwBXB9gqTulDxmcF0sKIlwB3CHwI5Br9eIDcBxYC6T56kRlVoBMwrGS9BmQepUIuos5Tvh0r2CNdtMaDKNVhTiDVUHYsDMHjSUrn19+unRCaQXeq2cOgZVSvRCZqSsz4MXFNTWto8cUdrav+ZnofAq7c+TIzsAN/kstUfI2O1GO8O8BMiSB+h7I97xti74Dh4FfAGQOz04WkQVEowWu+tdiXWecaqdDBOMhlHrIePPHM8vd9dRrzU1Nh1LT0/4cR+ElfQf2rxJhLkgy1glTKOBVmb552wgcw7OPMV4nj2NV7ZdghkpsCfXieUAkoTi2J4juP7LcQmSHiwrHYaNzA25xV/Gl9gGsWlm7G6iIJ1/ifVHT1jU0fmgnHlbm40SAOxzPYRPHM5XHU/MwVjwWrNXvyzjkY4HXQD0LhMzHsgrgwLvvtPi+edvV0noKWHcGCnwpyKpCwGCdct+UKwHNfc+oj6EdrOXzy7eD+q3Xb3VCDDxdz4q9wLia6prjdkFIXz+KNk1eUEgK3BPux8CXAYcDWqk1ZT9f19DgPO3Kwkhv+f6OrFgs01lPfzhgl5EIfrB9c9P7AM1NW04Br8fUHHi3IBG0BZStToSTUuooxD6RMiHIsoaN9shCUBjlpwpWBXU+yW9FnYlmBbk11dUHXPJoQr6Oz+J0SgvptRN9itKsqq3dq6xb8O16A2LoCNEB0w48tra+wftt/kldrNoxyJbHldcIw52HGE5hDVRvNONfgUOaPpxN00FfLTRohfO3NWvvzneDjmiB4MEacjP3KdwoZHl5+QngHqBKJ6Hu+puK/dDW74Bh1YuqD7rLA38g4vOlb711SCNKUCD70KoVK100q2trFwClwBETUXRqOLog1ipTsLa+YYaG5K0A43IAh0VRwefvCcBF8y5K5W3b3PSKt1Zz09YDWJ//HI3DIxEYx4GC9ThuphlwFGckKABxLKtG9MRmFOXlC45hBczvB/YE6kBxGutq39DqRYserF5UrfOpvhnAoS2oD87BFVv29G7MmtraCiAVa0fcHses7sc6bu67tr5+jUGGl4FlGiW2AgVvr1t/yJGv/RDSry+jMo+jWIq1QvTbtmlzo6lic9PWVVj+8mJtBauJRmtjGSSP+dP3XS2tx7E+D/KwdnGZtWfHzrhW1agLgCn3TUkGkhGxfqrFNnz2P+1z58xJ+AfWikuKk4AcEcnDuj/aVUROiPCe1RlZVlVZ9XEQj8IxY5LFlieCyK/pCfLl0iVv7fbS3DVyZG+J3ueM1AVBTiJ8WrtixZ+C2szNz79BYAzIHWJFIi4F+VyssNsahPUNdXXtxEHm8OwkRErFuinfjtAIUr5h7TrXxmRIZmZPQWKTMvYLg8dF5Hispui+Lj0h8OHWjZvO+DeH+qUNuBm4U4TuQBLIfqC+Zev2vX0G9O8CkuIQx/nFKcDenc3vfGHi3btvn5eBhwxfvB4FQuc8WDvQgXPFrX37JIt1ZfBq32C1LMdv9uzYOT1RfvEOBTrQgYSQktq3lwijgLn2j39kifCKgqsNhwMJ+6oRdAzWDpwv/BLLV34J1NcgnYMqK9TM3Tt2JLT8x2g60IFzREpqv5tB9orYn+8Dnl9qwfHJOMCHQMru1h1HzqCZuBdZOtCBRPAL4JLgWG20sB24/0wHqotDBzpwNkjp3+8GhP0gl4H7N7AiaUf8ph3h4d2tO353Nm11+KwdOFf8HMPPNUVg762OAN/d3bqj/Gwb6rCsHThrpPTv1xX4BLF+XdEd/3WlywV+uruldd+ZtuFEh2XtwLngKNb3VBOwPmUPYf0s6BHgHazfiHhtV0vrjvPR2P8B12P57Lkkf7EAAAAASUVORK5CYII=) no-repeat center center;width:182px;height:53px;top:22px;left:44.2%;position:absolute}.yoho-header .icon-logo .main-link{display:block;width:100%;height:100%}.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:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAQCAYAAADwMZRfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RUM1RjdENDUxRjA0MTFFNUEwRkRCMURDREZCNjYxQTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUM1RjdENDYxRjA0MTFFNUEwRkRCMURDREZCNjYxQTIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFQzVGN0Q0MzFGMDQxMUU1QTBGREIxRENERkI2NjFBMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFQzVGN0Q0NDFGMDQxMUU1QTBGREIxRENERkI2NjFBMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvM9DyUAAAEMSURBVHjanNS/S4JBHMfx59EnCyGcRBDD8Mca1NDm1qJTDU4NjTo4OEmbNNrgJAjR0FBOLe3+Ca06uDu1OIghGE/vb9wDD9epp194wXF3fJ7nufvyuL7vO6E6QQMJ/EAWPbxj6KwrCVGu0UcqNCc81NFFVFv7EwzO0TFtCCmhvSnkGYdbQsQjMvp8hC9KYoqls71ecKNPSkgeE8euZF/RFLJCzDLkQO3/FzLCmWXIJT5NId9qnLYIucPHuj5JYoDEhptp4da0FlFZX7hHD1UchZ5zgScsUEZcfxFXa3sXFVypQ5QaY4AZCnhADXNT29vK4RXHesfu6hRvwRnuGyKywWXoZ7Jrya+j+SvAAPnfjoCz07o6AAAAAElFTkSuQmCC) no-repeat center center;width:80px;height:28px;float:left;border:none;margin-top:45px;background-color:#3a3a3a}.yoho-header .search-list{position:absolute;top:73px;left:0;z-index:10;box-sizing:border-box;display:none;background-color:#fff;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;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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;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:17}.yoho-header .gobuy-empty{position:absolute;width:100%;height:507px;z-index:1;background:#f8f8f8 url(../assets/img/header/empty_car.png) no-repeat 106px 132px}.yoho-header .gobuy-empty .information{margin-top:300px;width:100%;height:18px;line-height:18px;font-size:18px;text-align:center}.yoho-header .gobuy-loading{position:absolute;width:100%;height:407px;z-index:1;background:#f8f8f8 url(../assets/img/header/loading.gif) no-repeat center 150px}.yoho-header .gobuy-loading .information{margin-top:180px;width:100%;height:12px;line-height:12px;font-size:12px;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:100%;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{width:170px;height:14px;line-height:14px;font-size:14px;margin-bottom:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yoho-header .goods-detail .content a{color:#666;outline:none;text-decoration:none}.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:#fff;font-size:14px;text-align:center;margin-right:13px;vertical-align:top}.yoho-header .activity-content{display:inline-block;line-height:14px;width:250px;color:#3a3a3a;font-size:12px;word-break:break-all}.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: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=) no-repeat;width:27px;height:20px;top:-10px;right:-15px;color:#fff;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:337px;height:250px}.yoho-header .showdetail .title{display:block;margin-top:40px;width:100%;height:15px;text-align:center;line-height:15px;font-size:14px;color:#000!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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 .cattitle h3 a{color:#000!important;font-size:14px}.yoho-header .third-nav .catdetail{line-height:14px;height:14px;margin-bottom:24px;min-width:200px}.yoho-header .third-nav .catdetail a{color:#a1a1a1!important;font-size:14px}.yoho-header .third-nav .catdetail .hot{color:#e01!important}.yoho-header .thirdcatelink:hover{text-decoration:underline!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:700;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;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;padding:0 10px;line-height:28px}.simple-header .header-tool li,.simple-header .header-tool li a,.simple-header .header-tool li span{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:700}.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 .iconfont,.simple-header .header-tool .tool-options span{display:inline-block;font-size:12px;height:28px;line-height:28px;vertical-align:top}.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:5}.simple-header .header-tool .tool-options .tool-select a{display:block;padding:0 0 0 10px;border-top:1px solid #ddd}.simple-header .header-tool .tool-options:hover{background-color:#eaeceb}.simple-header .header-tool .tool-options:hover .iconfont.up{display:inline-block}.simple-header .header-tool .tool-options:hover .iconfont.down{display:none}.min-screen .yoho-header .header-topwrapper{min-width:990px}.min-screen .yoho-header .header-top{width:990px}.min-screen .yoho-header .header-navwrapper{min-width:990px}.min-screen .yoho-header .header-navcontent,.min-screen .yoho-header .header-wrapper{width:990px}.min-screen .yoho-header .icon-logo{left:39.2%}.min-screen .yoho-header .icon-logo .main-link{display:block;width:100%;height:100%}.min-screen .yoho-header .sub-nav-list{width:990px;min-width:990px}.min-screen .yoho-header .sub-nav-item{margin-right:15px}.min-screen .yoho-header .first-nav-item{float:left;padding:10px 14px 0;margin-right:3px}.min-screen .yoho-header .third-nav{width:990px}.min-screen .yoho-header .third-nav-wrapper{min-width:990px}.min-screen .yoho-header .category{width:800px}.min-screen .yoho-header .cate_row1{width:204px}.min-screen .yoho-header .cate_row2{width:244px;border-left:1px solid #ccc;padding-left:39px}.min-screen .yoho-header .cate_row3{width:163px;border-left:1px solid #ccc;padding-left:28px}.min-screen .yoho-header .category .thirdnavlist{width:200px}.min-screen .yoho-header .category-title{width:152px}.min-screen .yoho-header .showdetail{width:190px;padding-right:0}.min-screen .yoho-header .showdetail img{width:174px;height:155px}#cover{position:fixed;z-index:11}#cover,#cover .con{left:0;top:0;width:100%;height:100%}#cover .con{background:rgba(0,0,0,.6)!important;position:absolute;z-index:12;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}#cover .tag_img_warpper{margin:0 auto;width:180px;height:168px}#cover .tag_img_warpper img{width:100%;height:100%}#cover .guide-box{background:#fff;margin:0 auto;height:400px;position:relative;z-index:13}#cover .guide-box .close{top:-15px;text-align:center;right:-15px;color:#fff;line-height:22px;font-size:24px;position:absolute;background:#000;border-radius:50px;border:currentColor;border-image:none;width:28px;height:28px;line-height:25px;display:block}#cover .guide-box li{padding:10px;width:200px;height:400px;float:left;box-sizing:border-box}#cover .guide-box li .go{margin:26px auto 0;width:100%;height:18px;text-align:center;color:#b0b0b0;line-height:18px;font-size:18px;font-style:italic;font-weight:lighter;display:block}#cover .guide-box li.girls{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box li.girls .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box li.lifestyle{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box li.lifestyle .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box li.kids{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box li.boys .goods-num,#cover .guide-box li.kids .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .boys .block_cn,#cover .girls .block_cn,#cover .kids .block_cn,#cover .lifestyle .block_cn{text-align:center;line-height:26px;font-size:26px;font-weight:700;margin-top:30px}#cover .boys .block_en,#cover .girls .block_en,#cover .kids .block_en,#cover .lifestyle .block_en{text-align:center;line-height:26px;font-size:26px;font-weight:700;margin-top:19px}#cover .boys .block_cn,#cover .boys .block_en{color:#000}#cover .girls .block_cn,#cover .girls .block_en{color:#ff88ae}#cover .kids .block_cn,#cover .kids .block_en{color:#7ad9f8}#cover .lifestyle .block_cn,#cover .lifestyle .block_en{color:#4f4037!important}#cover .boys .block_line,#cover .girls .block_line,#cover .kids .block_line,#cover .lifestyle .block_line{margin:20px auto 0;width:50px;height:0;border-bottom-color:#ccc;border-bottom-width:1px;border-bottom-style:solid}.yoho-footer{font-size:12px}.yoho-footer *{box-sizing:border-box}.yoho-footer .red{color:#e01}.yoho-footer .rgb6{color:#666}.yoho-footer .rgb9{color:#999}.yoho-footer .rgbf{color:#fff}.yoho-footer .index-foot{background:#eee;padding:20px 0}.yoho-footer .index-foot dd{float:left;width:370px;margin-right:20px;overflow:hidden}.yoho-footer .index-foot dd ul{margin-top:18px;padding-top:18px}.yoho-footer .index-foot dd.last{margin-right:0}.yoho-footer .foot-panel{background:#fff;padding:20px}.yoho-footer .title{position:relative;text-align:center}.yoho-footer .title-line{border-bottom:1px solid #ddd;position:absolute;top:9px;width:100%;left:0}.yoho-footer .text{position:absolute;width:100%;text-align:center;left:0;top:0}.yoho-footer .text span{background:#fff;font-size:18px;line-height:18px;padding:0 10px}.yoho-footer .item-nav{padding-top:20px}.yoho-footer .item-nav span{color:#fff;padding:0 3px;cursor:pointer;font-size:20px}.yoho-footer .item-nav .cur{color:#999}.yoho-footer .vote{line-height:24px}.yoho-footer .vote input{margin:0 5px 0 1px}.yoho-footer .vote .button{height:24px;line-height:24px;width:55px;font-size:12px;margin-top:11px;margin-right:10px;background:#222;color:#fff;display:inline-block;text-align:center;cursor:pointer}.yoho-footer .vote p{height:24px;overflow:hidden}.yoho-footer .vote textarea{width:98%;height:68px;vertical-align:middle;margin:5px 0 0;resize:none}.yoho-footer .vote-item p{float:left;width:50%}.yoho-footer .mobile{margin-right:-10px}.yoho-footer .mobile li{margin-right:10px;float:left}.yoho-footer .mobile img{display:block;width:103px;height:131px}.yoho-footer .index-banner{width:100%;margin-top:20px}.yoho-footer .two-dim{margin-right:-10px;overflow:hidden}.yoho-footer .two-dim li{border:1px solid #ddd;padding:7px;margin-right:10px}.yoho-footer .two-dim li a{display:block}.yoho-footer .two-dim li p{text-align:center;margin-top:13px;margin-bottom:3px;line-height:12px}.yoho-footer .dim-img{display:block;width:87px;height:87px}.yoho-footer .dim-hover{position:absolute}.yoho-footer .dim-hover img{width:38px;height:38px}.yoho-footer .dim-active .dim-img{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.yoho-footer .dim-active .dim-hover{display:none}.yoho-footer .footerbottom{width:100%}.yoho-footer .promise{padding:20px 0 10px;background:#000}.yoho-footer .promise .left{margin-right:60px;line-height:30px;font-size:12px;font-weight:700}.yoho-footer .promise .left .iconfont{display:inline-block;font-weight:400;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:.5;-ms-filter:"progid:DXImageTransform.Microsoft.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;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:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";bottom:20px;cursor:pointer;z-index:4}.yoho-footer .return-top .iconfont{font-size:34px}.yoho-footer .return-top:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.yoho-footer .return-top.min{left:100%;right:20px;margin-left:auto}.min-screen .yoho-footer .index-foot dd{width:316px}.min-screen .yoho-footer .two-dim{margin-top:26px;margin-bottom:10px;overflow:hidden}.min-screen .yoho-footer .dim-img{width:69px;height:69px}.min-screen .yoho-footer .mobile{margin-top:26px;padding-bottom:15px}.min-screen .yoho-footer .mobile img{width:85px;height:108px}.min-screen .yoho-footer .promise .left{margin-right:45px}.min-screen .yoho-footer .subscribe{width:200px}.min-screen .yoho-footer .subscribe input{width:140px}.min-screen .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:.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";border-radius:13px}.slide-pagination-last span{display:block;float:left;position:relative;margin:0 7px;width:12px;height:12px;background:#fff;cursor:pointer;opacity:.6;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";border-radius:6px;z-index:2}.slide-pagination-last span.focus{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.slide-switch{display:none}.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;opacity:.55;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=55)"}.slide-switch a .iconfont{font-size:32px;color:#59585a}.slide-switch a:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.slide-switch .prev{left:0}.slide-switch .next{right:0}.slide-switch.show{display:block}.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{color:#fff;background-color:#222}.pager a:first-child .iconfont{right:auto;left:-5px}.pager .iconfont{position:relative;vertical-align:middle;bottom:1px;right:-5px;font-size:14px}.err-page{width:650px;height:200px;overflow:hidden;margin:100px auto}.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}.err-page:before{content:'';display:block;width:200px;height:200px;background:url(../assets/img/404.png) center center no-repeat;float:left}.product-search-page .goods-container{height:auto;padding:25px 0 0;position:relative;width:1160px}.product-search-page .goods-container .good-info{width:222px}.min-screen .product-search-page .goods-container{height:auto;padding-top:25px;position:relative;width:1000px}.min-screen .product-search-page .goods-container .good-info{width:190px}.min-screen .product-search-page .goods-container .good-info .good-detail-img{height:255px}.min-screen .product-search-page .goods-container .block-next-page{width:190px;height:255px}.min-screen .product-search-page .filter-box .brand .attr-content{max-width:750px}.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:700;position:relative}.product-list-page .list-left .sort-container h2 span{color:#bbb;padding-left:5px}.product-list-page .list-left .sort-container ul.sort-child-list h2 a{color:#000;padding-left:0}.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 .sort-container ul.sort-child-list.new-sale{display:block}.product-list-page .list-left .product-list-nav h3{height:28px;line-height:28px;color:#222;font-weight:700;position:relative;text-indent:10px;cursor:pointer}.product-list-page .list-left .product-list-nav h3 span{color:#bbb;padding-left:5px}.product-list-page .list-left .product-list-nav .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;transition:transform .3s}.product-list-page .list-left .product-list-nav.active .icon-triangle{transform:rotate(90deg)}.product-list-page .list-left .nav-pic-title{height:35px;line-height:35px;color:#000;font-weight:700;border-bottom:1px solid #ebebeb;font-size:12px}.product-list-page .list-left .pic-nav{display:block}.product-list-page .list-left .pic-nav img,.product-list-page .list-left .pic-nav li{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;cursor:pointer}.product-list-page .brand-banner .coled{color:red}.product-list-page .brand-about{font-size:12px;line-height:150%}.product-list-page .sort-intro{margin-bottom:20px}.product-list-page .sort-intro .texts{width:386px;height:298px;padding:0 50px;border:1px solid #eaeceb;text-align:center;overflow:hidden}.product-list-page .sort-intro .name{font-size:30px;font-weight:700;margin-top:60px}.product-list-page .sort-intro .en-name{font-size:14px;font-weight:700}.product-list-page .sort-intro .desc{color:#666;margin-top:15px;font-size:12px;line-height:150%}.product-list-page .sort-intro .img{width:480px;height:300px}.product-list-page .sort-intro .key-entry{width:330px;margin:30px auto 0}.product-list-page .sort-intro .key-entry a{float:left;display:block;width:110px;line-height:20px;font-size:12px;color:#069;text-decoration:underline}.min-screen .product-list-page .sort-intro .texts{width:346px;height:248px;padding:0 30px}.min-screen .product-list-page .sort-intro .name{margin-top:30px}.min-screen .product-list-page .sort-intro .img{width:400px;height:250px}.new-sale-page .sale-list-banner{width:100%;position:relative}.new-sale-page .sale-list-banner ul{overflow:hidden;width:100%;position:relative;z-index:1}.new-sale-page .sale-list-banner ul li{width:100%;height:100%;display:block;float:left;position:absolute;top:0;left:0}.new-sale-page .sale-list-pagation{z-index:2;position:absolute;left:0;bottom:50px;width:100%;height:20px;text-align:center}.new-sale-page .sale-list-pagation div{display:inline-block}.new-sale-page .sale-list-pagation span{display:block;width:20px;height:20px;background:url(../assets/img/product/default-normal.png);float:left;margin:0 10px;cursor:pointer}.new-sale-page .sale-list-pagation span.active{background:url(../assets/img/product/default-active.png)}.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 .next,.new-sale-page .new-brands .pre{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:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"}.new-sale-page .new-brands .next:hover,.new-sale-page .new-brands .pre:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.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)}.new-sale-page .new-floor-title .title{float:right;margin-right:40px}.min-screen .new-sale-page .new-brands .brands-wrap{width:730px}.filter-box{border:1px solid #dfdfdf}.filter-box .section{padding:10px 15px;font-size:12px;border-top:1px solid #dfdfdf}.filter-box .section:first-child{border-top:none;padding:5px 15px}.filter-box .title{float:left;width:75px;line-height:30px}.filter-box .attr-content{margin-left:75px}.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,.filter-box .attr.checked a{color:#e01}.filter-box .color .attr{margin-right:0}.filter-box .checked .color-block{width:16px;height:16px;border:2px solid #222;padding:2px;background-size:100%!important}.filter-box .checked .color-block .sub-color-block{display:block;width:16px;height:16px;background-position:center!important}.filter-box .checked-conditions{line-height:30px;background:#eaeceb}.filter-box .checked-conditions .title{margin-top:5px}.filter-box .checked-conditions .tag{display:block;float:left;padding:0 10px;margin:5px 30px 5px 0;background:#000;color:#fff;cursor:pointer}.filter-box .checked-conditions .color-block{height:14px;width:14px;border:1px solid #fff;margin-bottom:-3px;background-size:100%!important;background-position:center!important}.filter-box .checked-conditions .clear-checked{margin-top:5px;color:#999;float:right}.filter-box .checked-conditions .clear-checked:hover{color:#468fa2}.filter-box .checked-conditions .close{font-size:14px}.filter-box .sort-pre .active .attr{border:1px solid #000}.filter-box .sort-pre .attr{position:relative}.filter-box .active .sort-up-icon{visibility:visible}.filter-box .sort-up-icon{position:absolute;width:15px;height:9px;left:50%;margin-left:-7px;bottom:-17px;bottom:-18px\9;z-index:3;visibility:hidden;background:url(../assets/img/product/senior-up.png) no-repeat;background-position:50% 0}.filter-box .sort-sub-wrap{width:100%}.filter-box .sort-sub-wrap .sort-sub{border-top:1px solid #dfdfdf;margin-top:15px;padding:0 0 15px}.filter-box .sort-sub-wrap .sort-sub .attr{padding-top:15px}.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:10px;cursor:pointer}.filter-box .brand .brands-index{float:left;line-height:30px;margin-right:5px;cursor:pointer}.filter-box .brand .brands-index span{margin:0 3px;-moz-user-select:none}.filter-box .brand .brands-index span:first-child{margin-left:10px}.filter-box .brand .brands-index span.hover{color:red}.filter-box .brand .brand-search{float:left;height:18px;line-height:18px;border:1px solid #b0b0b0;margin-top:5px;margin-left:10px}.filter-box .brand .brand-search input{float:left;border:none;width:100px;height:18px;padding:0}.filter-box .brand .brand-search .btn{position:relative;display:inline-block;top:-1px;width:55px;height:20px;line-height:20px;background:#3a3a3a;color:#fff;text-align:center;cursor:default}.filter-box .brand .panel-body{padding:15px 20px;background:#f4f7f6;margin-top:5px;margin-left:10px}.filter-box .brand .panel-body .ul-scroll{overflow:auto;min-height:30px;max-height:150px}.filter-box .btns{display:none;margin-top:10px;text-align:center}.filter-box .multi .btns{display:block}.filter-box .multi-select-cancel,.filter-box .multi-select-ok{width:55px;height:24px;border:none;background:#000;color:#fff;font-size:14px;margin-right:20px;cursor:pointer;outline:none}.filter-box .multi-select-cancel.dis,.filter-box .multi-select-ok.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;background:#333;color:#fff;margin-left:10px;outline:none;border:none;font-size:12px;cursor:pointer}.filter-box .color-block{display:inline-block;height:22px;width:22px;border:1px solid #ccc;margin-bottom:-6px;margin-right:5px;background-size:100%!important;background-repeat:no-repeat!important;background-position:center!important}.filter-box .senior{padding-bottom:6px}.filter-box .senior-attr-wrap,.filter-box .senior .attr-content{position:relative}.filter-box .senior-attr-wrap>.attr.hover,.filter-box .senior-attr-wrap>.attr:hover{font-weight:700}.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:0 15px 15px 91px;left:-91px;right:-16px;top:39px;background:#fff;border:1px solid #dfdfdf;border-top:0;z-index:2}.filter-box .senior-sub ul{max-width:950px}.filter-box .senior-sub .multi-select{position:absolute;top:20px;right:15px}.filter-box .senior-sub.multi .multi-select{display:none}.filter-box .senior-content{padding-top:15px;border-top:1px solid #eaeceb}.filter-box .senior-up-icon{position:relative;width:100%;height:9px;z-index:3;margin-left:-11px;visibility:hidden;background:url(../assets/img/product/senior-up.png) no-repeat;background-position:50% 0;top:1px\9}.filter-box .checkbox{display:none;float:left}.filter-box .multi .checkbox{display:block;color:#000;font-size:12px;margin-right:3px}.filter-box .multi .checkbox.checked+span{color:#000;font-weight:700}.min-screen .filter-box .brand .attr{width:25%}.sort-pager{height:48px;background:#f5f7f6;line-height:48px;margin:10px 0}.sort-pager .checks,.sort-pager .sort-type{color:#999;font-size:12px;padding:0 10px}.sort-pager .checks .iconfont,.sort-pager .sort-type .iconfont{font-size:12px}.sort-pager .checks.active,.sort-pager .checks.checked,.sort-pager .sort-type.active,.sort-pager .sort-type.checked{color:#000}.sort-pager .sort-type:first-child .iconfont{display:none}.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;background:#fff}.sort-pager .page-count .iconfont{font-size:14px;color:#ccc;float:right}.sort-pager .page-count>ul{position:absolute;display:none;width:48px;border-left:1px solid #ccc;border-right:1px solid #ccc;background:#fff;z-index:1}.sort-pager .page-count li{padding:0 3px;border-bottom:1px solid #ccc}.sort-pager .page-count li:hover{background:#376cf7;color:#fff}.sort-pager .page-count a{display:block;width:100%}.sort-pager .page-orient{float:left;font-size:14px;line-height:15px;margin:0 20px}.sort-pager .page-orient .dis-icon{color:#e6e6e6}.sort-pager .page-orient i{color:red}.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:left;overflow:hidden}.good-info .good-detail-text>a{margin-top:16px;line-height:1.5;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.good-info .good-detail-text>.price{margin-top:5px}.good-info .good-detail-text .brand a{color:#666;line-height:1.5}.good-info .good-detail-text .market-price{text-decoration:line-through;color:#999}.good-info .col-btn{position:absolute;top:15px;right:15px;color:#ccc;font-size:12px;display:none}.good-info .col-btn.coled{color:#f95b4f}.good-info .tag-container{font-size:12px;height:22px;line-height:22px}.good-info .tag-container .good-tag{float:left;box-sizing:border-box;display:block;height:22px;padding:0 7px;margin-right:3px;color:#fff}.good-info .tag-container .good-tag:nth-last-of-type(1){margin-right:0}.good-info .tag-container .new-tag{background:#78dc7d}.good-info .tag-container .renew-tag{background:#78dc7e}.good-info .tag-container .new-festival-tag{background:#000}.good-info .tag-container .sale-tag,.good-info .tag-container .yep-tag,.good-info .tag-container .ymp-tag{background:#ff565b}.good-info .tag-container .limit-tag{color:#4e4e4e;border:1px solid #4e4e4e}@keyframes a{0%{max-width:0}to{max-width:150px}}.good-item-wrapper{border:1px solid #ddd;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 .col-btn{display:block}.good-item-wrapper .col-btn:hover{cursor:pointer}.good-item-wrapper .good-select-color{float:left;margin-top:22px;overflow:hidden;animation:a .6s 1}.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%}.block-next-page,.good-item-wrapper .good-info{margin-right:10px}.block-next-page{width:222px;height:297px;padding-top:22px;margin-bottom:35px;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{min-width:984px;height:241px;margin:30px 0;overflow:hidden}.latest-walk .good{float:left;margin-right:14px;width:150px}.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:700}.min-screen .latest-walk .goods{width:820px;min-width:820px;height:301px}.min-screen .latest-walk .good{margin-right:10px;width:195px}.min-screen .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:700;position:relative}.product-page .sort-container h2 span{color:#bbb;padding-left:5px}.product-page .product-list-nav h3{height:28px;line-height:28px;color:#222;font-weight:700;position:relative;text-indent:10px;cursor:pointer}.product-page .product-list-nav h3 span{color:#bbb;padding-left:5px}.product-page .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;transition:transform .3s}.product-page .product-list-nav.active .icon-triangle{transform:rotate(90deg)}.product-page .product-list-nav.active .sort-child-list{display:block}.product-page .sort-child-list{display:none}.product-page .sort-child-list li{color:#bbb}.product-page .sort-child-list li span{padding-left:5px}.product-page .sort-child-list li.active{background:#333;color:#fff}.product-page .sort-child-list li.active a{color:#fff}.product-page .sort-child-list a{display:block;color:#666;padding-left:10px;height:22px;line-height:22px}.product-page .sort-child-list.new-sale{display:block}.product-page .nav-pic-title{height:35px;line-height:35px;color:#000;font-weight:700;border-bottom:1px solid #ebebeb;font-size:12px}.product-page .pic-nav{display:block}.product-page .pic-nav img,.product-page .pic-nav li{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:#e01}.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;box-sizing:content-box}.product-page .no-result .search-again .search-again-btn{float:left;width:80px;height:68px;line-height:68px;background:#343434;vertical-align:middle;color:#fff;cursor:pointer;outline:none;border:none}.product-page .no-result .search-again .iconfont{font-size:30px}.product-page .no-result .no-tip{font-size:12px;color:#999}.hotrank-page .popular-list{width:1160px}.hotrank-page .popular-list li{position:relative;float:left;width:378px;height:596px;overflow:hidden;list-style:none;margin:0 8px 0 0}.hotrank-page .popular-list li .item-img{width:100%;height:506px;line-height:506px;text-align:center;overflow:hidden}.hotrank-page .popular-list li img{display:block;width:100%;height:100%}.hotrank-page .popular-list .polular-icon{position:absolute;top:0;right:0;width:50px;height:50px;line-height:60px;background:#ffc513 url(../assets/img/product/hotrank/popular-icon.png) no-repeat center center;text-align:center;color:#ffc513;font-weight:700}.hotrank-page .popular-list .item-content{width:100%;padding:14px 0 0;height:77px;overflow:hidden;text-align:center;color:#222;line-height:18px}.hotrank-page .popular-list .item-content h2{max-height:36px;font-size:12px;color:#000;line-height:18px;text-align:center;overflow:hidden}.hotrank-page .popular-list .item-content p{display:inline-block;margin:3px 0 0;font-size:12px;text-align:center;line-height:20px;color:#000}.hotrank-page .popular-list .item-content p span{text-decoration:line-through;margin:0 10px 0 0;color:#999}.hotrank-page .popular-list .popular-item6,.hotrank-page .popular-list .popular-item7,.hotrank-page .popular-list .popular-item8,.hotrank-page .popular-list .popular-item9{width:280px;height:464px;margin:0 10px 0 0;overflow:hidden}.hotrank-page .popular-list .popular-item6 .item-img,.hotrank-page .popular-list .popular-item7 .item-img,.hotrank-page .popular-list .popular-item8 .item-img,.hotrank-page .popular-list .popular-item9 .item-img{height:374px;line-height:374px}.hotrank-page .hot-week{position:relative;padding:0 0 40px}.hotrank-page .hot-cate{height:45px;background:#f5f7f6;overflow:hidden}.hotrank-page .hot-cate li{float:left;height:45px;line-height:45px;display:table-cell}.hotrank-page .hot-cate li a{vertical-align:middle;padding:0 26px;font-size:14px;color:#777;border-left:1px solid #999}.hotrank-page .hot-cate li:first-child a{border:none}.hotrank-page .hot-cate li.current a{font-size:16px;color:#000}.hotrank-page .hot-week-list{width:1160px}.hotrank-page .hot-week-list .good-info{width:280px;height:464px;margin:10px 10px 0 0}.hotrank-page .hot-week-list .good-info .tag-container{display:none}.hotrank-page .hot-week-list .good-info .good-detail-img{height:374px;line-height:374px;text-align:center;font-size:0}.hotrank-page .hot-week-list .good-info .good-detail-img img{vertical-align:middle}.hotrank-page .hot-week-list .good-info .good-detail-text{height:77px;overflow:hidden;text-align:center;color:#222;line-height:18px}.hotrank-page .hot-week-list .good-info .good-detail-text a{max-height:36px;font-size:12px;color:#000;line-height:18px;text-align:center;overflow:hidden}.hotrank-page .hot-week-list .good-info .good-detail-text p{display:inline-block;margin:3px 0 0;font-size:12px;text-align:center;line-height:20px;color:#000}.hotrank-page .hot-week-list .good-info .good-detail-text p .sale-price{margin:0 10px 0 0}.hotrank-page .floatlayer{display:none;position:fixed;top:50%;left:50%;margin:0 0 0 575px;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.hotrank-page .floatlayer li{width:42px;height:42px;border:2px solid #555;border-top:none;border-bottom-width:1px;text-align:center}.hotrank-page .floatlayer li a{position:relative;display:table-cell;width:42px;height:42px;vertical-align:middle;color:#555;font-size:12px}.hotrank-page .floatlayer li a span{display:inline-block;vertical-align:middle;width:28px;word-wrap:break-word}.hotrank-page .floatlayer li:first-child{border-top:1px solid #555}.hotrank-page .floatlayer li.current,.hotrank-page .floatlayer li:hover{background:#555}.hotrank-page .floatlayer li.current a,.hotrank-page .floatlayer li:hover a{color:#fff}.min-screen .hotrank-page{width:990px}.min-screen .hotrank-page .popular-list li{width:324px;height:521px}.min-screen .hotrank-page .popular-list li .item-img{height:434px;line-height:434px}.min-screen .hotrank-page .popular-list .popular-item6,.min-screen .hotrank-page .popular-list .popular-item7,.min-screen .hotrank-page .popular-list .popular-item8,.min-screen .hotrank-page .popular-list .popular-item9{width:240px;height:408px}.min-screen .hotrank-page .popular-list .popular-item6 .item-img,.min-screen .hotrank-page .popular-list .popular-item7 .item-img,.min-screen .hotrank-page .popular-list .popular-item8 .item-img,.min-screen .hotrank-page .popular-list .popular-item9 .item-img{height:320px;line-height:320px}.min-screen .hotrank-page .hot-week-list .good-info{width:240px;height:408px}.min-screen .hotrank-page .hot-week-list .good-info .good-detail-img{height:320px;line-height:320px}.shop-entry{position:relative;background:#f5f7f6;border:1px solid #eaeceb;padding:12px 15px;margin-bottom:10px}.shop-entry .logo{width:80px;height:50px}.shop-entry .name{margin-left:10px}.shop-entry .shop-name{font-size:16px;color:#222;line-height:26px}.shop-entry .sorts{color:#999;font-size:12px;line-height:18px}.shop-entry .sorts a{color:#999}.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}.shop-entry .entry-btn .iconfont{font-size:12px}.goods-container{height:auto;padding:25px 0 0;position:relative;width:980px}.goods-container .good-info{width:235px}.product-detail-page .brand-banner{height:45px;width:100%}.product-detail-page .brand-banner img{display:block;height:45px}.product-detail-page .brand-banner .opt{margin-top:5px}.product-detail-page .brand-banner .brand-fav,.product-detail-page .brand-banner .home{display:inline-block;width:32px;height:32px;line-height:32px;border:1px solid #fff;text-align:center;color:#fff}.product-detail-page .brand-banner .home{margin-right:5px}.product-detail-page .brand-banner .home .iconfont{font-size:14px}.product-detail-page .brand-banner .brand-fav .iconfont{font-size:12px}.product-detail-page .brand-banner .coled{color:#ee0014}.product-detail-page .path-nav{border:none;margin-bottom:0}.product-detail-page .main{width:990px;margin:0 auto}.product-detail-page .main .infos{width:465px}.product-detail-page .main .img{position:relative;width:420px;height:560px}.product-detail-page .main .img-show{display:block;width:100%;height:100%}.product-detail-page .main .tags{position:absolute;top:0;left:0}.product-detail-page .main .good-tag{float:left;box-sizing:border-box;height:22px;line-height:22px;color:#fff;padding:0 7px;margin-right:5px;font-size:12px}.product-detail-page .main .new-tag{background:#78dc7d}.product-detail-page .main .renew-tag{background:#78dc7e}.product-detail-page .main .new-festival-tag{background:#000}.product-detail-page .main .sale-tag,.product-detail-page .main .yep-tag,.product-detail-page .main .ymp-tag{background:#ff565b}.product-detail-page .main .few-tag{background:#ffac5b}.product-detail-page .main .limit-tag{border:1px solid #4e4e4e;color:#4e4e4e}.product-detail-page .main .thumbs{width:75px;height:510px;overflow:hidden}.product-detail-page .main .thumb{display:block;width:75px;margin-bottom:2px}.product-detail-page .main .name{font-size:18px;font-weight:700;line-height:24px}.product-detail-page .main .sale-tip{color:#ee0014;padding-left:3px}.product-detail-page .main .brand-name{color:#666;font-size:12px}.product-detail-page .main .title{color:#999;font-size:12px}.product-detail-page .main .market-price{margin-top:8px}.product-detail-page .main .price{color:#000;font-size:22px;line-height:24px;font-weight:700}.product-detail-page .main .with-sale .price{color:#999;text-decoration:line-through;font-size:12px}.product-detail-page .main .vip-price{line-height:14px;color:#222;margin-top:5px;background:url(../assets/img/product/vip-price-icon.png) no-repeat;padding-left:48px;font-size:12px}.product-detail-page .main .vip-price .cur,.product-detail-page .main .vip-price .login-url{color:#f02200}.product-detail-page .main .vip-price .vip-price-item{margin-left:5px}.product-detail-page .main .vip-price .vip-schedual{color:#999;text-decoration:underline;margin-left:5px}.product-detail-page .main .activity{margin-top:12px}.product-detail-page .main .activity li{line-height:20px}.product-detail-page .main .ac-type{display:inline-block;width:43px;height:16px;line-height:16px;margin-right:5px;text-align:center;background:#999;color:#fff;font-size:12px}.product-detail-page .main .ac-des{font-size:12px}.product-detail-page .main .row{margin-top:10px}.product-detail-page .main .trade-content{padding-top:20px;margin-top:20px;border-top:1px solid #eaeceb}.product-detail-page .main .chose-color{font-size:12px}.product-detail-page .main .chose-color .title{margin-top:14px}.product-detail-page .main .chose-color img{display:block;height:36px;width:36px;border:2px solid #fff}.product-detail-page .main .chose-color .focus img{border-color:#222}.product-detail-page .main .chose-color li{margin-right:5px;margin-bottom:5px;cursor:pointer}.product-detail-page .main .chose-size{font-size:12px}.product-detail-page .main .chose-size .title{margin-top:6px}.product-detail-page .main .chose-size li{float:left;display:block;height:22px;line-height:22px;width:38px;margin-right:5px;margin-bottom:5px;border:1px solid #eaeceb;text-align:center;cursor:pointer}.product-detail-page .main .chose-size li.disable{opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}.product-detail-page .main .chose-size li.focus{color:#fff;background:#222}.product-detail-page .main .size{float:left;color:#666}.product-detail-page .main .size-ruler{float:left;display:block;width:57px;height:24px;background:url(../assets/img/product/size-ruler.jpg);margin-bottom:5px;cursor:pointer}.product-detail-page .main .num-warn,.product-detail-page .main .size-warn{height:24px;line-height:24px}.product-detail-page .main .color-size-tip{color:#999}.product-detail-page .main .chose-count .title{margin-top:6px}.product-detail-page .main .num{display:block;width:38px;height:23px;line-height:23px;text-align:center;border:1px solid #eaeceb;color:#333;font-size:12px;background:#ebebe4}.product-detail-page .main .minus-plus{display:block;width:14px;height:23px;border:1px solid #eaeceb;border-left:none;text-align:center;cursor:pointer}.product-detail-page .main .minus-plus i{display:block;width:13px;height:11px;line-height:8px;font-size:12px}.product-detail-page .main .minus{border-top:1px solid #eaeceb;font-size:13px}.product-detail-page .main .lc-btn{display:inline-block;width:80px;height:25px;line-height:25px;color:#fff;background:#222;margin-left:10px;font-size:12px;text-align:center;cursor:default}.product-detail-page .main .lc-btn.had-lc,.product-detail-page .main .lc-btn.lc-sold-out{background:#ccc}.product-detail-page .main .num-wraper{position:relative}.product-detail-page .main .lc-container{position:absolute;top:-39px;right:-233px}.product-detail-page .main .lc-arrow{position:absolute;top:40px;left:-12px;width:13px;height:20px;background:url(../assets/img/product/arrow.png)}.product-detail-page .main .lc-content{box-sizing:border-box;width:220px;height:285px;text-align:center;background:#f8f8f8;border:1px solid #cecece;padding:40px 25px 0}.product-detail-page .main .lc-content .qr-code{width:137px;height:137px;background:url(../assets/img/product/top-good-qr.png);margin:0 auto}.product-detail-page .main .lc-content .title{font-size:18px;color:#000;margin:12px 0;line-height:24px}.product-detail-page .main .lc-content .sub-title{font-size:14px;color:#939290}.product-detail-page .main .buy-btn{display:inline-block;margin-right:10px;height:48px;line-height:48px;width:197px;text-align:center;color:#fff;background:#e92601;font-size:14px;cursor:pointer}.product-detail-page .main .buy-btn.dis{background:#ccc}.product-detail-page .main .collect-product,.product-detail-page .main .keep-shopping{display:inline-block;width:127px;height:48px;text-align:center;line-height:48px;background:#fff;color:#222;border:1px solid #ccc;font-weight:700;font-size:12px;cursor:pointer}.product-detail-page .main .collect-product .iconfont,.product-detail-page .main .keep-shopping .iconfont{color:#ccc;font-size:12px}.product-detail-page .main .collect-product.coled .iconfont,.product-detail-page .main .keep-shopping.coled .iconfont{color:#fa5252}.product-detail-page .main .share-row{margin-top:20px}.product-detail-page .main .share-row .title{margin-top:2px}.product-detail-page .main .share-row i{display:block;float:left;width:16px;height:16px;margin-left:5px}.product-detail-page .main .share-row .weibo{background-image:url(../assets/img/sprite.guang.png);background-position:0 0}.product-detail-page .main .share-row .qweibo{background-image:url(../assets/img/sprite.guang.png);background-position:-18px 0}.product-detail-page .main .share-row .renren{background-image:url(../assets/img/sprite.guang.png);background-position:0 -18px}.product-detail-page .main .share-row .qzone{background-image:url(../assets/img/sprite.guang.png);background-position:-18px -18px}.product-detail-page .main .share-row .qq{background-image:url(../assets/img/sprite.guang.png);background-position:-36px 0}.product-detail-page .main .share-row .douban{background-image:url(../assets/img/sprite.guang.png);background-position:-36px -18px}.product-detail-page .main .share-row .weixin{background-image:url(../assets/img/sprite.guang.png);background-position:0 -36px}.product-detail-page .main .balance{display:none}.product-detail-page .main .balance .success-tip{color:#222;font-size:18px;margin-bottom:10px}.product-detail-page .main .balance .cart-total{color:#999;font-size:12px}.product-detail-page .main .balance .balance-btns{margin-top:20px}.product-detail-page .other-infos{padding-bottom:30px}.product-detail-page .info-block{margin-top:30px;color:#999;border-top:2px solid #eaeceb;font-size:12px}.product-detail-page .info-block .basic{width:640px;margin:0 auto}.product-detail-page .info-block .basic li{float:left;width:25%;line-height:20px}.product-detail-page .info-block .comfort{width:470px;border:1px solid #eaeceb;margin:17px auto 0;padding-bottom:15px}.product-detail-page .info-block .comfort li{margin:12px 20px 0}.product-detail-page .info-block .comfort-block{display:inline-block;width:14px;height:10px;border:1px solid #eaeceb;margin-right:2px}.product-detail-page .info-block .comfort-block.cur{background:#999;border:1px solid #999}.product-detail-page .block-title{margin-bottom:25px;text-align:center}.product-detail-page .block-title .title{display:inline-block;padding-top:15px;font-weight:700;cursor:pointer}.product-detail-page .block-title .title.cur{color:#222;border-top:2px solid #222;margin-top:-2px}.product-detail-page .block-title .sep{display:inline-block;margin:0 30px;color:#eaeceb;font-size:14px;cursor:default;font-weight:700}.product-detail-page .material-content{display:none}.product-detail-page .material-detail{width:860px;margin:0 auto;padding-bottom:20px;margin-bottom:20px;border-bottom:1px dotted #eaeceb}.product-detail-page .material-detail img{float:left;width:125px;height:50px}.product-detail-page .material-detail .name{float:left;width:100px;line-height:25px;border-right:1px dotted #eaeceb;color:#666;font-weight:700;text-align:center;font-size:14px}.product-detail-page .material-detail .text{float:left;width:614px;padding-left:20px;line-height:18px}.product-detail-page .wash{text-align:center}.product-detail-page .wash li{display:inline-block;padding:0 20px;color:#666;border-right:1px solid #eaeceb}.product-detail-page .size-info{text-align:center}.product-detail-page .reference-table,.product-detail-page .size-table{text-align:center;margin:0 auto}.product-detail-page .reference-table th,.product-detail-page .size-table th{width:110px;text-align:center}.product-detail-page .reference-table tr,.product-detail-page .size-table tr{height:30px}.product-detail-page .reference-table td,.product-detail-page .reference-table tr,.product-detail-page .size-table td,.product-detail-page .size-table tr{text-align:center}.product-detail-page .reference-table thead,.product-detail-page .size-table thead{background:#f5f7f6;color:#999}.product-detail-page .reference-table tbody,.product-detail-page .size-table tbody{color:#222}.product-detail-page .reference-table .avatar,.product-detail-page .size-table .avatar{width:26px;height:26px;border-radius:50px}.product-detail-page .reference-table .avatar-col,.product-detail-page .size-table .avatar-col{width:26px;padding-left:20px;padding-right:20px}.product-detail-page .reference-table .model-col,.product-detail-page .size-table .model-col{width:90px}.product-detail-page .reference-table .remark-col,.product-detail-page .size-table .remark-col{width:200px}.product-detail-page .ref-model{margin-top:30px;border-top:2px solid #eaeceb;color:#999;padding-top:10px}.product-detail-page .ref-model .model{width:444px;height:35px;padding-top:47px;padding-left:316px;color:#666;overflow:hidden;margin:10px auto 0}.product-detail-page .ref-model .model em{margin-left:5px}.product-detail-page .size-tip{color:#999;margin-top:15px;text-align:center}.product-detail-page .details{text-align:center;font-size:12px;color:#999;line-height:18px}.product-detail-page .details-html{width:640px;margin:0 auto}.product-detail-page .details-html b{font-weight:700}.product-detail-page .details-html i{font-style:italic}.product-detail-page .consults{display:none}.product-detail-page .consult-comment .title,.product-detail-page .consult-comment .title.cur{color:#666}.product-detail-page .cc-content{background:#f5f7f6;padding:20px 20px 0;font-size:12px}.product-detail-page .cc-content h2{font-weight:700;font-size:14px;margin-bottom:10px;color:#000}.product-detail-page .cc-content li{border-top:1px solid #eaeceb;padding:20px 0}.product-detail-page .cc-content .user-info{color:#999;line-height:16px}.product-detail-page .cc-content .user-info>*{float:left}.product-detail-page .cc-content .user-info .name{color:#666}.product-detail-page .cc-content .user-info .date{color:#bbb}.product-detail-page .cc-content .user-info .question{color:#222}.product-detail-page .cc-content .user-avatar{width:30px;height:30px;margin-right:5px}.product-detail-page .cc-content .more-wrap{text-align:center;border-top:1px solid #eaeceb;padding:20px 0;font-size:14px;font-weight:700;color:#666}.product-detail-page .cc-content .btn-wrap{padding:20px 0;border-top:1px solid #eaeceb}.product-detail-page .cc-content .load-more{cursor:pointer}.product-detail-page .cc-content .btn{display:block;width:140px;height:32px;line-height:32px;color:#fff;background:#222;text-align:center;font-size:12px;margin:0 auto;cursor:pointer}.product-detail-page .cc-content .btn .iconfont{font-size:14px}.product-detail-page .cc-content .comment,.product-detail-page .cc-content .consult{margin-top:10px}.product-detail-page .cc-content .consults{display:none}.product-detail-page .new-consult{padding:20px 0;border-top:1px solid #eaeceb}.product-detail-page .new-consult textarea{width:590px;height:80px;margin-top:8px;padding:5px;outline:none}.product-detail-page .new-consult .captcha-row{margin:10px 0}.product-detail-page .new-consult .captcha{width:70px;height:20px;line-height:20px;border:1px solid #ccc;margin-right:5px;padding:5px;outline:none}.product-detail-page .new-consult .captcha-img{border:0;height:32px;width:96px;vertical-align:middle}.product-detail-page .new-consult .submit-consult{display:block;width:140px;height:32px;line-height:32px;margin:0}.product-detail-page .new-consult .error{border-color:#e01}.product-detail-page .consult-success{border-top:1px solid #eaeceb;margin-top:30px;text-align:center;padding:20px 0}.product-detail-page .consult-success p{width:295px;height:55px;line-height:55px;margin:0 auto;border:2px solid #222;display:block;color:#222;font-weight:700}.product-detail-page .after-service{text-align:center;margin-top:30px}.product-detail-page .after-service .after-service-content{display:none}.product-detail-page .after-service .after-service-switch{height:44px;line-height:44px;background:#eaeceb;text-align:center;font-size:12px;cursor:pointer}.product-detail-page .after-service .after-service-switch .iconfont{font-size:12px}.product-detail-page .after-service .text{padding:20px 15px;background:#f5f7f6;text-align:left;color:#666;line-height:18px}.product-detail-page .after-service .orange{color:#f9761a}.product-detail-page .after-service h4{font-weight:700;font-size:14px;line-height:24px;color:#222;margin-top:10px}.product-detail-page .after-service h4:first-child{margin-top:0}.product-detail-page .after-service .img-1{width:715px;height:259px;margin:0 auto;background:url(../assets/img/product/after-service-1.png)}.product-detail-page .after-service .img-2{width:715px;height:230px;margin:0 auto;background:url(../assets/img/product/after-service-2.png)}.product-detail-page .after-service a{color:#666}.product-detail-page .service{width:323px;height:30px;margin:45px auto 0;background:url(../assets/img/product/service.png)}.product-detail-page .latest-walk{overflow:inherit}.product-detail-page .latest-walk .goods{width:1010px;margin:0 auto;height:auto}.product-detail-page .latest-walk .goods>div{float:left;width:180px;margin-right:22px}.product-detail-page .latest-walk img{height:240px;width:180px;display:block}.product-detail-page .latest-walk .name{display:block;margin-top:5px;color:#222;line-height:16px}.product-detail-page .latest-walk .price{color:#222;font-weight:700;margin-top:5px}.product-detail-page .latest-walk .market-price{margin-right:5px}.product-detail-page .latest-walk .has-sale{text-decoration:line-through;color:#999}.product-detail-page .warn-tip{display:inline-block;color:#e01;margin-left:7px;font-size:12px}.product-detail-page .warn-tip i{font-size:14px}.product-detail-page .hot-point-wrap{position:relative}.product-detail-page .hot-point-wrap .hot-point{position:absolute}.product-detail-page .hot-point-wrap .hot-point.hover .pointer{background-position:0 -25px}.product-detail-page .hot-point-wrap .hot-point.hover .hp-good{display:block}.product-detail-page .hot-point-wrap .pointer{position:absolute;display:block;background:url(../assets/img/product/hp-num.png) no-repeat 0 0;color:#fff;cursor:pointer;width:25px;height:25px;line-height:25px;text-align:center;left:0;top:0;font-size:18px}.product-detail-page .hot-point-wrap .hp-good{display:none;position:absolute;left:30px;top:0;width:210px;background:#000;height:60px;padding:10px}.product-detail-page .hot-point-wrap .hp-good .pic{display:block;float:left;width:60px;height:60px;margin-right:10px}.product-detail-page .hot-point-wrap .hp-good .info{position:relative;float:left;color:#fff;font-size:12px;width:140px;height:60px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.product-detail-page .hot-point-wrap .hp-good .check-btn{display:block;position:absolute;height:18px;width:40px;text-decoration:none;right:0;bottom:0;text-align:center;background:#e8e8e8;border-radius:2px}.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}.new-sale-page .goods-container,.product-list-page .goods-container{height:auto;padding-top:25px;position:relative;width:980px}.new-sale-page .goods-container .good-info,.product-list-page .goods-container .good-info{width:235px}.new-sale-page .goods-container .good-info .good-detail-img,.product-list-page .goods-container .good-info .good-detail-img{height:315px}.new-sale-page .goods-container .block-next-page,.product-list-page .goods-container .block-next-page{width:235px;height:315px}.new-sale-page .filter-box .brand .attr-content,.product-list-page .filter-box .brand .attr-content{max-width:730px}.min-screen .new-sale-page .list-right,.min-screen .product-list-page .list-right{width:810px}.min-screen .new-sale-page .goods-container,.min-screen .product-list-page .goods-container{height:auto;padding-top:25px;position:relative;width:820px}.min-screen .new-sale-page .goods-container .good-info,.min-screen .product-list-page .goods-container .good-info{width:195px}.min-screen .new-sale-page .goods-container .good-info .good-detail-img,.min-screen .product-list-page .goods-container .good-info .good-detail-img{height:261px}.min-screen .new-sale-page .goods-container .block-next-page,.min-screen .product-list-page .goods-container .block-next-page{width:195px;height:261px}.min-screen .new-sale-page .filter-box .brand .attr-content,.min-screen .product-list-page .filter-box .brand .attr-content{max-width:570px}.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,.5)}.passport-page .error{border-color:red!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 .pwd-intensity{height:15px;font-size:12px;background-color:#e8e8e8;padding:0 10px;text-align:center;color:#b9b9b9}.passport-page .pwd-intensity-container.red .pwd-intensity{color:#e01}.passport-page .pwd-intensity-container.red .color{background:#e01;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-tips{position:absolute;top:-10px;left:285px;width:160px!important;height:72px;padding-top:7px;font-size:12px;background-image:url(../assets/img/sprite.passport.png);background-position:0 0}.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-image:url(../assets/img/sprite.passport.png);background-position:-32px -113px}.passport-page .pwd-tips>div.no{color:red}.passport-page .pwd-tips>div.no i{background-image:url(../assets/img/sprite.passport.png);background-position:-64px -113px}.passport-page .pwd-tips>div.yes i{background-image:url(../assets/img/sprite.passport.png);background-position:-48px -113px}.passport-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;font-size:16px}.passport-page .email-autocomplete li{height:24px;line-height:24px}.passport-page .err-tip{position:absolute;font-size:14px;white-space:nowrap;top:8px;left:285px;padding:6px 0;color:red}.passport-page .err-tip i{display:block;float:left;height:14px;width:14px;background-image:url(../assets/img/sprite.passport.png);background-position:-64px -113px;margin-right:5px}.passport-page .err-tip a{text-decoration:underline;color:red}.passport-page .page-tip{display:block;width:100%;height:30px;line-height:30px;text-align:center;font-size:20px;font-weight:700;color:#ccc;clear:both;margin-bottom:15px}.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}.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;border-radius:5px}.login-page .country-list li{height:20px;line-height:20px;color:#000}.login-page .captcha-wrap{position:relative}.login-page .captcha-wrap .err-tip{left:335px}.login-page .captcha{width:160px;float:left}.login-page .captcha-img{height:37px;width:90px;border:0;vertical-align:middle;outline:none;margin-left:10px;margin-top:4px;float:left}.login-page .change-captcha{position:absolute;top:0;right:-50px;cursor:pointer;float:left;height:43px;font-size:14px;line-height:43px;color:#ff1901}.login-page .remember-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:45px;background-size:100% 100%}.login-page .third-party-login .icon{display:block;width:30px;height:30px;margin:0 auto}.login-page .third-party-login .weixin{background-image:url(../assets/img/sprite.passport.png);background-position:-96px -81px}.login-page .third-party-login .qq{background-image:url(../assets/img/sprite.passport.png);background-position:0 -81px}.login-page .third-party-login .weibo{background-image:url(../assets/img/sprite.passport.png);background-position:0 -113px}.login-page .third-party-login .alipay{background-image:url(../assets/img/sprite.passport.png);background-position:-128px -81px}.login-page .third-party-login .douban{background-image:url(../assets/img/sprite.passport.png);background-position:-64px -81px}.login-page .third-party-login .renren{background-image:url(../assets/img/sprite.passport.png);background-position:-32px -81px}.login-page .caps-lock{position:absolute;color:#666;border:#ffe57d;background:#fff6d2;white-space:nowrap;top:8px;left:278px;padding:0 20px;height:27px;line-height:30px}.register-page{font-size:14px;color:#b9b9b9}.register-page li{margin-bottom:25px;width:270px;position:relative}.register-page li input,.register-page li select{outline:none}.register-page li .input{height:43px;line-height:43px;font-size:16px;width:268px;border:1px solid #dbdbdb;text-indent:10px;color:#9a9a9a;padding:0}.register-page li .input.error{border:1px solid red}.register-page li .input.phone-num{width:209px;display:block;float:left;position:absolute;top:0;right:0}.register-page li .input.captcha,.register-page li .input.msg-captcha{width:160px;float:left}.register-page li .input.agree-terms{vertical-align:middle}.register-page li .send-captcha{top:0;background:#ff1901;position:absolute;width:100px;right:0;font-size:12px;text-indent:0;letter-spacing:0}.register-page li .send-captcha.disable{background:#555}.register-page li .link{text-decoration:underline;color:#ff1901}.register-page li .btn{height:45px;line-height:45px;color:#fff;border:none;padding:0;font-family:黑体,Regular;text-align:center}.register-page li .region{height:30px;padding:4px 0;width:132px;border-color:#c1c1c1;color:#9a9a9a;font-size:16px;font-family:黑体,Regular}.register-page 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}.register-page li .captcha-img{height:37px;width:90px;border:0;vertical-align:middle;outline:none;margin-left:10px;margin-top:4px;float:left}.register-page li .change-captcha{margin-left:10px;cursor:pointer;float:left;height:43px;line-height:43px}.register-page li .pwd-intensity-container{width:270px;text-align:right;margin-top:5px;height:auto;overflow:hidden}.register-page li .pwd-intensity-container .pwd-intensity{height:15px;font-size:12px;background-color:#e8e8e8;padding:1px 10px;text-align:center}.register-page li .pwd-intensity-container.red{color:red}.register-page li .pwd-intensity-container.red .color{background:red;color:#fff}.register-page li .pwd-intensity-container.yellow .color{background:#ff0;color:#fff}.register-page li .pwd-intensity-container.green .color{background:#3ee392;color:#fff}.register-page li .register-btn{width:270px;font-size:20px;font-weight:700;background:#ff1901}.register-page li .register-btn.disable{background:#555}.register-page li.w330{width:330px}.register-page li.items-container,.register-page li.quick-login-container{font-size:13px;text-align:right;white-space:nowrap}.register-page li.quick-login-container{width:270px}.register-page li.skip-user-info{font-size:18px;text-align:center}.register-page li.skip-user-info a{color:#ff1901;text-decoration:underline}.register-page .err-tip{z-index:10;position:absolute;height:30px;line-height:30px;color:red;background-color:#ffebeb;border:1px solid #ffbdbe;padding:0 10px}.register-page .err-tip b{display:block;position:absolute;top:30px;left:20px;background-image:url(../assets/img/sprite.passport.png);background-position:-80px -113px;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:0}.back-page .title,.back-page .title2{font-size:22px;line-height:40px;color:#000;font-weight:400}.back-page .title2{margin:0 0 5px}.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:8;top:30px;right:0;border-radius:5px}.back-page .country-code-list li{height:20px;line-height:20px}.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;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;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}.welcome-page{text-align:center;color:#7f7f7f}.welcome-page .content{padding-top:82px}.welcome-page .wel-title{font-size:30px;margin-bottom:30px}.welcome-page .wel-title em{font-style:normal;color:#ff1901}.welcome-page .wel-sub-title{font-size:16px;margin-bottom:60px}.welcome-page .link{display:block}.welcome-page .link span{color:#7f7f7f}.welcome-page .link-img{height:91px;width:91px;background-size:100% 100%;margin-bottom:10px}.welcome-page .go-shopping{float:left;padding-left:100px}.welcome-page .go-shopping div{background-image:url(../assets/img/passport/go-shopping.png)}.welcome-page .complete-info{float:right;padding-right:100px}.welcome-page .complete-info div{background-image:url(../assets/img/passport/edit-info.png)}.yohobindbtn{display:block;width:210px;height:45px;line-height:45px;background-color:#f02200;color:#fff;font-size:16px;text-align:center}.hide{display:none}.novisiable{visibility:hidden}.actlevel{background-color:#f02200!important;color:#fff!important}.mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:14;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.bindwrapper{margin:0 auto;width:980px;min-height:450px;padding-top:122px}.welcomeword{width:100%;text-align:center;font-size:22px;line-height:22px;color:#545454;margin-bottom:15px}.welcomeword .yoho{color:#e12000}.safeword{width:100%;text-align:center;font-size:16px;line-height:16px;color:#545454;margin-bottom:63px}.yohobindrow{width:485px;margin:0 auto 22px;height:40px}.yohobindrow .name{float:left;text-align:right;margin-right:14px;width:96px}.yohobindrow .areatag{height:30px;line-height:30px}.yohobindrow .phonetag,.yohobindrow .setpwdtag{height:47px;line-height:47px}.yohobindrow .content{float:left;text-align:left;margin-top:0;padding-left:0}.yohobindrow .errinfo{color:#f02200;line-height:49px;margin-left:5px}.yohobindrow:after{display:block;content:'';clear:both}.sendnotify{width:260px;text-align:left;margin:0 auto 18px}.validaterow{margin:0 auto 22px;padding-left:248px}.validaterow .name{float:left;text-align:right;margin-right:14px;width:96px}.validaterow .areatag{height:30px;line-height:30px}.validaterow .phonetag{height:47px;line-height:47px}.validaterow .content{float:left;text-align:left}.validaterow .content .err-tip{left:430px}.validaterow .validatewrapper{float:left;height:45px;width:133px;text-align:center;line-height:45px;background-color:#d8d8d8;color:#000;font-size:13px;margin-left:18px}.validaterow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.validaterow:after{display:block;content:'';clear:both}.validatepicrow{overflow:hidden;margin:0 auto 22px;padding-left:250px}.validatepicrow .name{float:left;text-align:right;margin-right:14px;width:96px}.validatepicrow .areatag{height:30px;line-height:30px}.validatepicrow .phonetag{height:47px;line-height:47px}.validatepicrow .content{float:left;text-align:left}.validatepicrow .validatewrapper{float:left;height:45px;text-align:center;line-height:45px;color:#000;font-size:13px;margin-left:18px}.validatepicrow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.validatepicrow .change-captcha{cursor:pointer;color:#f02200;text-decoration:underline}.validatepicrow:after{display:block;content:'';clear:both}.setpwdwrapper{margin-bottom:10px;height:45px}.safelevel{width:291px;margin:0 auto;text-align:right}.safelevel,.safelevel span{height:15px;font-size:10px;color:#000}.safelevel span{width:28px;line-height:15px;background-color:#e5e5e5;margin-right:4px;padding:1px 8px}.green .color{background-color:#0f0;color:#fff}.yellow .color{background-color:#ff0;color:#fff}.red .color{background-color:red;color:#fff}.yohoselectarea{position:relative;box-sizing:border-box;width:131px;height:33px}.yohoselectarea .optionshow{width:100%;height:100%;padding-left:16px;border:1px solid #d9d9d9}.yohoselectarea .optionshow .areaname{display:block;float:left;width:110px;height:100%;line-height:33px;font-size:13px;color:#000}.yohoselectarea .optionshow .righttag{display:block;float:left;width:21px;height:100%;line-height:33px;background-color:#d8d8d8;background-image:url(../assets/img/passport/arrowbottom.png);background-repeat:no-repeat;background-position:center center}.yohoselectarea .optionslist{background-color:#fff;position:absolute;top:35px;left:0;width:149px;z-index:2}.yohoselectarea .optionslist .optionitem{height:33px;line-height:33px;padding-left:16px;font-size:13px}.yohoselectarea .optionslist .optionitem:hover{background-color:#dfdfdf}.yohophonewrapper{width:271px;height:47px;border:1px solid #d9d9d9;position:relative}.yohophonewrapper .areanum{float:left;height:100%;width:63px;line-height:47px;text-align:center;color:#000;background-color:#d8d8d8}.yohophonewrapper .phonenum{outline:none;box-sizing:border-box;float:left;height:45px;width:205px;line-height:38px;padding-left:8px;border:none;color:#000}.protoctolwrapper{width:350px;margin:38px auto 0;padding-left:85px;overflow:hidden}.protoctolwrapper .choosewrapper{float:left;width:13px;height:13px;background-color:#4c4c4c;background-image:url(../assets/img/passport/choosed.png);background-position:center center;background-repeat:no-repeat;margin-right:14px}.protoctolwrapper .choosetag{width:110%;height:110%;display:block;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";margin:0}.protoctolwrapper span{float:left}.protoctolwrapper .protoctol{color:#f02200;text-decoration:underline}.protoctolwrapper:after{display:block;content:'';clear:both}.confirmwrapper{overflow:hidden;margin-top:47px!important}.btnwrapper{width:350px;margin:20px auto 0;padding-left:85px}.thirdloginwrapper{margin:0 auto;width:1150px;min-height:450px;padding-top:160px}.thirdloginwrapper .safeword{margin-bottom:30px}.thirdloginwrapper .left{box-sizing:border-box;float:left;width:450px;height:318px;border-right:1px solid #e5e5e5}.thirdloginwrapper .right{box-sizing:border-box;float:right;width:696px;padding-top:64px;height:318px}.thirdloginwrapper .completeprofile,.thirdloginwrapper .gobuy{float:left;display:inline-block;width:94px;height:94px;line-height:94px;text-align:center;border-radius:50%;background-color:#f02200;color:#fff}.thirdloginwrapper .gobuy{margin-left:228px;margin-right:80px}.bindsuccesswrapper{margin:0 auto;width:1150px;min-height:450px;padding-top:160px}.bindsuccesswrapper .successwrapper{width:320px;height:29px;margin:0 auto 16px}.bindsuccesswrapper .successwrapper .successtag{display:inline-block;margin-right:28px;float:left;width:29px;height:29px;background-image:url(../assets/img/passport/bindsuccess.png);background-repeat:no-repeat}.bindsuccesswrapper .successwrapper .congratulation{display:inline-block;height:29px;line-height:29px;font-size:22px}.bindsuccesswrapper .info{text-align:center;font-size:16px;margin-bottom:48px}.bindsuccesswrapper .gobuynow{margin:0 auto}.bindconfrimwrapper{width:900px;height:439px;margin:153px auto;background-color:#fff;box-sizing:border-box;padding-top:37px}.bindconfrimwrapper .topwrapper{width:281px;height:90px;margin:0 auto 32px}.bindconfrimwrapper .topwrapper .userphoto{width:90px;height:90px;vertical-align:middle;border-radius:50%;margin-right:22px}.bindconfrimwrapper .topwrapper .username{vertical-align:middle;display:inline-block;width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bindconfrimwrapper .usertaginfo{text-align:center;font-size:16px;color:#545454;margin-bottom:10px}.bindconfrimwrapper .usertagremind{text-align:center;font-size:14px;color:#000;margin-bottom:47px}.bindconfrimwrapper .otherphone{margin:0 auto 64px}.bindconfrimwrapper .logindirectly{display:block;text-align:center;text-decoration:underline;color:#f02200}.yohobindbtn[disabled]{background-color:#e5e5e5;cursor:not-allowed}.gobindwrapper{width:100%;height:45px;margin-bottom:70px}.gobindwrapper .myphone{float:left;margin-left:20px;width:193px}.gobindwrapper .logindirectly{display:inline-block}.gobindwrapper .validaterow{overflow:hidden;margin:0 auto 22px;padding-left:222px;float:left}.gobindwrapper .validaterow .name{float:left;text-align:right;margin-right:14px;width:96px}.gobindwrapper .validaterow .areatag{height:30px;line-height:30px}.gobindwrapper .validaterow .phonetag{height:47px;line-height:47px}.gobindwrapper .validaterow .content{float:left;text-align:left}.gobindwrapper .validaterow .content .validatacode{outline:none;box-sizing:border-box;float:left;height:45px;width:113px;line-height:38px;padding-left:8px;border:1px solid #d9d9d9;color:#000}.gobindwrapper .validaterow .validatewrapper{float:left;height:45px;width:133px;text-align:center;line-height:45px;background-color:#d8d8d8;color:#000;font-size:13px;margin-left:18px}.gobindwrapper .validaterow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.gobindwrapper:after{display:block;content:'';clear:both}.gobindbottomwrapper{width:100%;padding-left:341px}.gobindbottomwrapper .logindirectly{display:inline-block;float:left;margin-right:36px;text-decoration:underline;color:#f02200}.pwd-tips{position:absolute;z-index:10;top:-10px;left:285px;width:160px!important;height:72px;padding-top:7px;font-size:12px;background-image:url(../assets/img/sprite.passport.png);background-position:0 0;background-color:#fff}.pwd-tips>div{position:relative;height:22px;line-height:22px;margin-left:15px;padding-left:15px;font-size:12px;color:#b9b9b9}.pwd-tips>div i{position:absolute;width:14px;height:14px;left:-2px;top:50%;margin:-7px 0 0;background-image:url(../assets/img/sprite.passport.png);background-position:-32px -113px}.pwd-tips>div.no{color:red}.pwd-tips>div.no i{background-position:-64px -113px}.pwd-tips>div.no i,.pwd-tips>div.yes i{background-image:url(../assets/img/sprite.passport.png)}.pwd-tips>div.yes i{background-position:-48px -113px}.tip-panel{position:absolute;display:none;width:248px;padding:0 10px;z-index:8;background-color:#161616;border:1px solid hsla(0,0%,100%,.7);margin-top:5px;cursor:pointer;border-radius:5px}.tip-panel li{height:20px;line-height:20px;color:#b9b9b9}.err-tip{position:absolute;font-size:14px;white-space:nowrap;top:8px;left:285px;padding:6px 0;color:red}.err-tip i{display:block;float:left;height:14px;width:14px;background-image:url(../assets/img/sprite.passport.png);background-position:-64px -113px;margin-right:5px}.err-tip a{text-decoration:underline;color:red}.backdrop{position:fixed;background:#000;width:100%;height:100%;left:0;top:0;bottom:0;right:0;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}.err-info{display:none;z-index:10;position:absolute;top:-41px;left:0;height:30px;line-height:30px;color:red;background-color:#ffebeb;border:1px solid #ffbdbe;padding:0 10px}.err-info b{background:url(../assets/img/passport/angle.png);position:absolute;height:9px;width:17px;top:30px;left:10px}.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 .bg-img.blink,.guang-page img.blink{opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.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:700}.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%;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:#c30}.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:700;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:#fff;font-weight:700}.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:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";z-index:7}.guang-page .msg-content .reco{position:absolute;top:0;left:66px;height:32px;width:32px;background:url(../assets/img/guang/msg-reco.png);background-size:100% 100%;z-index:8}.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:#c30}.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:#c30}.guang-page .msg-content .page-view,.guang-page .msg-content .publish-time{color:#999}.guang-page .msg-content .like-comment,.guang-page .msg-content .tags{position:absolute;bottom:24px;font-size:12px}.guang-page .msg-content .like-comment .like,.guang-page .msg-content .tags .like{margin-right:10px}.guang-page .msg-content .like-comment .like:hover *,.guang-page .msg-content .tags .like:hover *{color:#000}.guang-page .msg-content .like-comment .like-icon,.guang-page .msg-content .tags .like-icon{cursor:pointer}.guang-page .msg-content .like-comment.tags,.guang-page .msg-content .tags.tags{left:386px;max-width:350px;height:20px;overflow:hidden}.guang-page .msg-content .like-comment.like-comment,.guang-page .msg-content .tags.like-comment{right:0;color:#999}.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:700}.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:#c30}.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:#c30;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;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;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;font-style:normal;font-size:14px}.guang-detail-page .user-handle ul li a i{margin:0 5px 0 0;font-size:18px;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}.guang-detail-page .user-handle ul li a .cancel-collect{display:none}.guang-detail-page .user-handle ul .like-status.hover i,.guang-detail-page .user-handle ul .like-status.liked i{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.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{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.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{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.guang-detail-page .user-handle ul .sort-collect.hover span{color:#000}.guang-detail-page .article-bottom-info{margin:44px 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:700;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}.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}.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:#c30!important}.guang-detail-page .detail-related-posts li:first-child{margin-left:0}.guang-detail-page .comment-area{margin:58px 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;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:red}.guang-detail-page .publish-btn{margin:10px 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/comment-icon.png) 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;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;margin-right:20px;margin-bottom:20px}.guang-detail-page .good-info .good-detail-img{height:auto}.guang-detail-page .good-info .good-detail-img .good-thumb,.guang-detail-page .good-info .good-detail-img img.lazy{height:257px}.guang-detail-page .good-info .good-detail-text>a{margin-top:0;line-height:36px}.guang-detail-page .good-info .good-detail-text>.price{margin-top:0}.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-image:url(../assets/img/sprite.guang.png);background-position:0 0}.guang-detail-page .share-to .share-weixin{background-image:url(../assets/img/sprite.guang.png);background-position:0 -36px}.guang-detail-page .share-to .share-tencent{background-image:url(../assets/img/sprite.guang.png);background-position:-18px 0}.guang-detail-page .share-to .share-renren{background-image:url(../assets/img/sprite.guang.png);background-position:0 -18px}.guang-detail-page .share-to .share-qzone{background-image:url(../assets/img/sprite.guang.png);background-position:-18px -18px}.guang-detail-page .share-to .share-qq{background-image:url(../assets/img/sprite.guang.png);background-position:-36px 0}.guang-detail-page .share-to .share-douban{background-image:url(../assets/img/sprite.guang.png);background-position:-36px -18px}.guang-detail-page .weixin-share-box{display:none;position:absolute;width:282px;height:302px;padding-top:9px;text-align:center;font-family:Microsoft Yahei,Arial,Verdana;top:22px;right:-3px;z-index:2}.guang-detail-page .weixin-share-box em,.guang-detail-page .weixin-share-box em i{position:absolute;width:0;height:0;font-size:0;border-width:0 10px 9px;border-style:dashed dashed solid}.guang-detail-page .weixin-share-box em{border-color:transparent transparent #d6d6d6;top:0;left:50%;margin-left:-10px}.guang-detail-page .weixin-share-box em i{border-color:transparent transparent #e8e8e8;overflow:hidden;top:1px;left:-10px}.guang-detail-page .weixin-share-box .con{position:relative;width:280px;height:300px;overflow:hidden;background-color:#fff;border:1px solid #d6d6d6;box-shadow:0 2px 4px #d1d1d1}.guang-detail-page .weixin-share-box h2{display:block;height:46px;line-height:46px;background-color:#e8e8e8;color:#000;font-size:18px}.guang-detail-page .weixin-share-box .pic,.guang-detail-page .weixin-share-box .pic img{width:168px;height:168px}.guang-detail-page .weixin-share-box .pic{overflow:hidden;margin:16px auto}.guang-detail-page .weixin-share-box .w{font-size:13px;color:#9f9f9f;line-height:20px}.guang-detail-page .weixin-share-box .close{position:absolute;width:45px;height:45px;line-height:45px;overflow:hidden;top:9px;right:0;font-size:16px;color:#999}.guang-editor-page .tag-header,.guang-list-page .tag-header{height:45px;line-height:45px;color:#333;font-size:14px;font-weight:700;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;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;line-height:18px;font-size:14px;color:#999}.home-page{width:1150px;margin:10px auto 0}.home-page .slide-container{position:absolute;left:0;right:0;height:450px}.home-page .slide-thumb-container{height:510px}.home-page .slide-wrapper{position:relative;height:450px;overflow:hidden}.home-page .slide-wrapper ul{position:relative;height:100%}.home-page .slide-wrapper li{display:none;position:absolute;top:0;right:0;width:100%;height:100%}.home-page .slide-wrapper li a{display:block;height:100%;width:1150px;margin:0 auto}.home-page .slide-wrapper li img{width:100%;height:100%}.home-page .slide-wrapper:hover .slide-switch.show,.home-page .slide-wrapper li:first-child{display:block}.home-page .slide-container-placeholder{height:450px;width:100%}.home-page .slide-thumb-container-placeholder{height:510px}.home-page .slide-switch{display:block}.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;opacity:.55;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=55)"}.home-page .slide-switch a .iconfont{font-size:32px;color:#59585a}.home-page .slide-switch a.prev{left:50%;margin-left:-575px}.home-page .slide-switch a.next{right:50%;margin-right:-575px}.home-page .slide-switch a:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.home-page .thumb-pagination{width:1148px;margin:6px auto 0;padding-left:2px}.home-page .thumb-pagination li{position:relative;float:left;margin-left:6px;width:138px;height:54px}.home-page .thumb-pagination li a{position:absolute;left:0;right:0;bottom:0;top:0;background:#000;opacity:.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"}.home-page .thumb-pagination li img{width:100%;height:100%}.home-page .thumb-pagination li:first-child{margin:0}.home-page .thumb-pagination li.focus a{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.home-page .slide-pagination{font-size:0}.home-page .slide-pagination .slide-shade{position:absolute;left:0;right:0;top:0;bottom:0;background:#000;opacity:.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";border-radius:13px}.home-page .slide-pagination span{position:relative;display:inline-block;margin:0 7px;width:12px;height:12px;background:#fff;cursor:pointer;opacity:.6;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";border-radius:6px;z-index:2}.home-page .slide-pagination span.focus{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.home-page .debris-slider{height:510px;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 .left-col img,.home-page .debris-slider .right-col img{height:100%;width:100%}.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{position:relative;width:570px;height:100%;margin-right:10px;font-size:0}.home-page .debris-slider .center-col .slide-wrapper{height:100%}.home-page .debris-slider .center-col .slide-wrapper li a{width:100%}.home-page .debris-slider .center-col .slide-switch a.prev{left:0;margin-left:0}.home-page .debris-slider .center-col .slide-switch a.next{right:0;margin-right:0}.home-page .debris-slider .center-col img{max-width:100%;max-height:100%}.home-page .debris-slider .center-col:hover .slide-switch.show{display:block}.home-page .debris-slider .right-col a{width:280px;height:120px}.home-page .debris-slider .right-col a:first-child{height:380px;margin-bottom:11px}.home-page .new-report img{display:block;width:100%;height:100%}.home-page .new-report .report-list{float:left;width:868px}.home-page .new-report .report-list li{float:left;margin:0 8px 8px 0;width:185px;height:248px;overflow:hidden}.home-page .new-report .report-list li:first-child{margin-right:7px;width:282px;height:504px}.home-page .new-report .last-item{float:left;width:282px;height:504px;overflow:hidden}.home-page .preference-brand{overflow:hidden}.home-page .preference-brand-list{margin-top:8px;width:1158px}.home-page .preference-brand-item{float:left;margin-right:8px;margin-bottom:8px}.home-page .preference-brand-item a{display:table-cell;width:185px;height:86px;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:185px;height:86px;line-height:100px;text-align:center;color:#000;font-size:16px}.home-page .img-slider-wrapper{position:relative;width:100%;height:558px;background:#8ae6e0;overflow:hidden}.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{box-sizing:border-box;margin:86px auto 0;width:982px;height:433px;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:320px;height:100%;margin-right:10px}.home-page .img-container-landscape .img-item img{width:100%;height:100%}.home-page .img-brand{position:relative;width:100%;height:175px;overflow:hidden}.home-page .img-brand ul{width:1158px}.home-page .img-brand li{float:left;margin:0 8px 0 0;width:378px;height:175px;line-height:175px;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;opacity:.55;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=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{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.home-page .img-brand:hover .img-brand-switch{display:block}.home-page .logo-brand{width:100%;height:282px;overflow:hidden}.home-page .logo-brand ul{width:1158px}.home-page .logo-brand li{float:left;margin:8px 8px 0 0;width:185px;height:86px;line-height:86px;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) 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-left:-48px}.home-page .logo-brand .logo-brand-switch .iconfont.next{bottom:12px;margin-left:20px}.home-page .logo-brand .brand-more{font-size:16px}.home-page .logo-brand .brand-more:hover{text-decoration:underline}.home-page .logo-brand.logos-10{height:188px}.home-page .categorys-list ul{width:1158px}.home-page .categorys-list li{float:left;margin:0 8px 8px 0;width:185px;height:248px}.home-page .categorys-list li img{display:block;width:100%;height:100%}.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{position:relative;margin:80px 0 40px}.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 15px;border-left:1px solid #ccc}.home-page .floor-header .header-navs li a{color:#333}.home-page .floor-header .header-navs li:first-child{border-left:none}.home-page .floor-header .header-navs li:hover{text-decoration:underline}.g-list li{float:left}.g-list li a{position:relative;display:block;overflow:hidden}.g-list li a img,.g-mask{width:100%;height:100%}.g-mask{display:block;position:absolute;z-index:1;background:#000;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";overflow:hidden;transition:opacity .6s}.g-title{display:block;text-align:center;font-weight:700;line-height:1.5;width:100%;margin-top:14px}.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;width:579px}.home-page .tpl-recommend .tpl-types li{float:left;margin-left:8px;margin-top:8px}.home-page .tpl-recommend .tpl-types li a{width:185px;height:248px}.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-products li a{width:222px;height:298px}.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:0}.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:512px}.home-page .tpl-recommend .tpl-brands li a{height:248px}.min-screen .home-page .tpl-recommend .tpl-nav{width:158px}.min-screen .home-page .tpl-recommend .tpl-nav .keywords0,.min-screen .home-page .tpl-recommend .tpl-nav .keywords1,.min-screen .home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:8px;height:65px}.min-screen .home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:0}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category{height:192px}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category a{height:32px;line-height:32px;font-size:12px}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category a:hover{text-decoration:underline}.min-screen .home-page .tpl-recommend .tpl-brands{width:324px;height:432px}.min-screen .home-page .tpl-recommend .tpl-brands li a{height:212px}.min-screen .home-page .tpl-recommend .tpl-types{width:498px}.min-screen .home-page .tpl-recommend .tpl-types li a{width:158px;height:212px}.min-screen .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:185px;height:248px}.home-page .singlehot .impo1,.home-page .singlehot .impo9{width:378px}.home-page .floor-ad a{display:block;height:129px}.home-page .floor-ad a img{display:block;width:100%;height:100%}.home-page .goods-container{margin-right:-10px;width:inherit;padding-top:0}.home-page .goods-container .good-info{margin-bottom:0;width:280px;height:485px}.home-page .goods-container .good-detail-img{height:374px}.home-page .goods-container .good-detail-text{text-align:center}.home-page .adbanner{margin-top:12px}.home-page .adbanner a{height:150px}.min-screen .home-page .singlehot li a{width:158px;height:212px}.min-screen .home-page .singlehot .impo1,.min-screen .home-page .singlehot .impo9{width:323px}.min-screen .home-page .goods-container .good-info{width:240px;height:412px}.min-screen .home-page .goods-container .good-info .good-detail-img{height:320px}.home-page .commodity .commodity-list{margin-left:-10px}.home-page .commodity .commodity-list a{height:465px;width:280px}.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;z-index:2;height:60px;width:60px;line-height:60px;font-size:20px}.home-page .commodity .commodity-list .commodity-img{position:relative;height:374px}.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;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;width:185px;height:86px}.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}.min-screen .home-page .commodity .commodity-list a{height:400px;width:240px}.min-screen .home-page .commodity .commodity-list .commodity-img{height:320px}.min-screen .home-page .commodity .commodity-list i.top{height:52px;width:52px;line-height:52px;font-size:14px}.min-screen .home-page .commodity .commodity-brands a{width:158px;height:74px}.home-page .slide-accordion{overflow:hidden;position:relative;height:400px}.home-page .slide-accordion a{position:relative;display:block}.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:650px;height:400px}.home-page .slide-accordion .g-mask{opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"}.home-page .slide-accordion .g-mask:hover{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.min-screen .home-page .slide-accordion{height:342px}.min-screen .home-page .slide-accordion li a{width:558px;height:342px}.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 .tpl-brands{margin-top:-8px!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}.min-screen .boys .tpl-nav .keywords0{margin-bottom:8px!important;height:130px!important}.min-screen .boys .tpl-nav .keywords1{margin-bottom:0!important;height:74px!important}.min-screen .boys .tpl-brands{margin-top:-8px!important}.min-screen .boys .goods-container .good-info,.min-screen .lifestyle .goods-container .good-info{width:188px;height:360px}.min-screen .boys .goods-container .good-info .good-detail-img,.min-screen .lifestyle .goods-container .good-info .good-detail-img{height:255px}.min-screen .home-page{width:990px}.min-screen .home-page .slide-container{height:387px}.min-screen .home-page .slide-container img{display:block}.min-screen .home-page .slide-thumb-container{height:440px}.min-screen .home-page .slide-container-placeholder{height:387px}.min-screen .home-page .slide-thumb-container-placeholder{height:440px}.min-screen .home-page .slide-wrapper{height:387px}.min-screen .home-page .slide-wrapper li a{width:990px}.min-screen .home-page .slide-switch{display:block}.min-screen .home-page .slide-switch a.prev{margin-left:-495px}.min-screen .home-page .slide-switch a.next{margin-right:-495px}.min-screen .home-page .slide-switch a:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.min-screen .home-page .thumb-pagination{width:990px;margin:7px auto 0;padding:0}.min-screen .home-page .thumb-pagination li{width:118px;height:46px}.min-screen .home-page .debris-slider{height:440px}.min-screen .home-page .debris-slider .left-col{margin-right:9px}.min-screen .home-page .debris-slider .left-col a{width:240px;height:103px}.min-screen .home-page .debris-slider .left-col a:first-child{height:214px}.min-screen .home-page .debris-slider .center-col{width:492px;margin-right:9px}.min-screen .home-page .debris-slider .right-col a{width:240px;height:103px}.min-screen .home-page .debris-slider .right-col a:first-child{height:326px;margin-bottom:10px}.min-screen .home-page .new-report .report-list{width:748px}.min-screen .home-page .new-report .report-list li{width:158px;height:212px}.min-screen .home-page .new-report .last-item,.min-screen .home-page .new-report .report-list li:first-child{width:242px;height:432px}.min-screen .home-page .preference-brand-list{width:998px}.min-screen .home-page .preference-brand-item{margin-right:7px}.min-screen .home-page .preference-brand-item a{width:159px;height:74px}.min-screen .home-page .preference-more{width:159px;height:74px;line-height:90px}.min-screen .home-page .img-slider-wrapper{height:480px}.min-screen .home-page .img-container-landscape{margin:73px auto 0;width:844px;height:370px}.min-screen .home-page .img-container-landscape .img-item{width:275px;height:100%;margin-right:9px}.min-screen .home-page .img-brand{height:150px}.min-screen .home-page .img-brand ul{width:998px}.min-screen .home-page .img-brand li{width:325px;height:150px;line-height:150px}.min-screen .home-page .logo-brand{height:246px}.min-screen .home-page .logo-brand ul{width:998px}.min-screen .home-page .logo-brand li{margin:8px 8px 0 0;width:158px;height:74px;line-height:74px}.min-screen .home-page .logo-brand .logo-brand-switch .iconfont{font-size:24px}.min-screen .home-page .logo-brand .logo-brand-switch .iconfont.prev{top:-12px}.min-screen .home-page .logo-brand .logo-brand-switch .iconfont.next{bottom:-12px}.min-screen .home-page .logo-brand.logos-10{height:164px}.min-screen .home-page .categorys-list ul{width:1004px}.min-screen .home-page .categorys-list li{margin:0 7px 7px 0;width:161px;height:214px}.min-screen .home-page .categorys-list li.cate-item0{width:160px;height:435px}.min-screen .home-page .categorys-list li.cate-item1{width:326px;height:435px}.min-screen .home-page .floor-header{margin:50px 0 30px}.min-screen .home-page .floor-header .header-navs li{padding:1px 10px}.brands .brands-tabs{margin-top:20px;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{opacity:.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"}.brands .brands-tabs li .g-mask-on,.brands .brands-tabs li:hover .g-mask{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.brands .brands-tabs .hover-contain{position:relative;border-bottom:1px solid #dfdfdf}.brands .brands-tabs .hover-contain .hoverarr{background-color:#3d3d3d;position:absolute;bottom:0;z-index:6}.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 .header-navs{margin-right:-15px}.brands .category-nav{border:2px solid #222;padding-left:16px;height:44px;line-height:44px;font-size:12px;font-weight:700;position:relative;z-index:8;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:8;margin-top:0!important}.brands .brands-list dl{position:relative;border-top:1px dotted #999;padding:20px 0}.brands .brands-list dt{position:absolute;width:130px;font-weight:700;font-size:16px;text-align:center;top:50%;margin-top:-9px}.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 span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}.brands .brands-list dd a span:hover{text-decoration:underline}.brands .brands-list dd .brands-dialog{display:inline;position:relative}.brands .brands-list dd .hot{font-weight:700;color:#222}.brands .brands-list dd i{position:relative;top:-4px;color:#e01;font-size:14px}.brands .sit-nav{padding-top:10px;font-size:12px}.brands .sit-nav .sep{margin:0 8px}.brands .brands-category{width:1150px}.brands .brands-tabs{width:100%}.brands .brands-tabs li{margin-left:10px}.brands .brands-tabs li a{position:relative;width:222px;height:180px}.brands .brands-tabs li:first-child{margin-left:0}.brands .brands-tabs .hover-contain{height:30px}.brands .brands-tabs .hover-contain .hoverarr{height:5px;width:222px}.brands .brands-ad,.brands .brands-logo{margin:20px 0}.brands .brands-ad li{float:left;margin-left:10px}.brands .brands-ad li img{display:block;width:280px;height:280px}.brands .brands-ad li:first-child{margin-left:0}.brands .brands-ad li:first-child img{width:570px}.brands .brands-logo a{float:left;margin-left:26px}.brands .brands-logo a img{display:block;width:91px;height:38px}.brands .brands-logo a:first-child{margin-left:0}.brands .list-floor{width:1160px}.brands .brandfloor .g-list{margin-top:-32px}.brands .brandfloor li{margin-right:8px;margin-top:32px}.brands .brandfloor li a{width:378px;height:250px}.brands .singlegoods .g-list{margin-top:-10px}.brands .singlegoods li{margin-right:10px;margin-top:10px}.brands .singlegoods li a{width:280px;height:374px}.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 .g-list{margin-top:-10px}.brands .video li{margin-right:8px;margin-top:10px}.brands .video li a{width:378px;height:242px}.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)}.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:40px}.brands .news .news-pic{position:relative;float:left;width:764px;height:436px}.brands .news .news-pic .slide-container{height:100%}.brands .news .news-pic .slide-container li a{height:100%;width:764px}.brands .news .news-pic .slide-container .slide-wrapper{height:100%}.brands .news .news-pic .slide-container .slide-switch{display:none}.brands .news .news-pic .slide-container .slide-switch .prev{left:0;margin-left:0}.brands .news .news-pic .slide-container .slide-switch .next{right:0;margin-right:0}.brands .news .news-pic .slide-container .slide-switch.show{display:block}.brands .news .news-pic .slide-tips{position:absolute;left:0;bottom:0;height:30px;width:100%;background:#000;opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"}.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:auto;bottom:0}.brands .news .news-pic .slide-pagination .slide-shade{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";background:none}.brands .news .news-pic .slide-pagination span{margin-top:3px}.brands .news .news-txt{padding:20px 16px;float:right;border:1px solid #000;overflow:hidden}.brands .news .news-txt ul{height:100%}.brands .news .news-txt li{position:relative;display:block;margin-bottom:10px;margin-left:20px}.brands .news .news-txt a{font-size:14px;line-height:27px;cursor:pointer;color:#010101;display:block}.brands .news .news-txt a:hover{color:#fff;background:#000;padding-left:12px;transition:padding .4s}.brands .news .news-txt i{position:absolute;top:0;left:-26px;font-size:22px}.brands .news .news-txt{width:342px;height:394px}.brands .ads{margin:40px 0}.brands .ads li{margin-right: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{margin:25px auto}.brands .brands-items .brands-item{float:left;padding:15px 0;width:50%}.brands .brands-items a.brands-pic{float:left;width:280px;height:136px;display:block}.brands .brands-items a.brands-pic img{width:100%;height:100%}.brands .brands-items .brand-info{float:right;padding:0 20px;width:255px;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:92px;font-size:14px;line-height:22px;overflow:hidden}.brands .pagination{margin:40px 0 80px;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;transform:scale(.8)}.brands .pagination a.cur{background:#222;color:#fff}.min-screen .brands .header-navs{margin-right:-10px}.min-screen .brands .sit-nav{padding-top:10px;font-size:12px}.min-screen .brands .sit-nav .sep{margin:0 6px}.min-screen .brands .brands-category{width:990px}.min-screen .brands .brands-tabs li a{width:190px;height:154px}.min-screen .brands .brands-tabs .hover-contain{height:25px}.min-screen .brands .brands-tabs .hover-contain .hoverarr{height:4px;width:190px}.min-screen .brands .brands-ad li img{width:240px;height:240px}.min-screen .brands .brands-ad li:first-child img{width:490px}.min-screen .brands .brands-logo a{margin-left:10px}.min-screen .brands .brands-logo a img{width:90px;height:37px}.min-screen .brands .brands-logo a:first-child{margin-left:0}.min-screen .brands .list-floor{width:1000px}.min-screen .brands .brandfloor .g-list{margin-top:-26px}.min-screen .brands .brandfloor li{margin-right:9px;margin-top:26px}.min-screen .brands .brandfloor li a{width:324px;height:214px}.min-screen .brands .singlegoods .g-list{margin-top:-10px}.min-screen .brands .singlegoods li{margin-right:10px;margin-top:10px}.min-screen .brands .singlegoods li a{width:240px;height:324px}.min-screen .brands .singlegoods .singlegoods-title{position:absolute;left:0;bottom:0;height:50px;width:100%}.min-screen .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}.min-screen .brands .video .g-list{margin-top:-10px}.min-screen .brands .video li{margin-right:9px;margin-top:10px}.min-screen .brands .video li a{width:324px;height:206px}.min-screen .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)}.min-screen .brands .video .video-title{position:absolute;left:0;bottom:0;height:30px;width:100%}.min-screen .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:30px;text-align:center;color:#fff}.min-screen .brands .news .news-pic{width:660px;height:376px}.min-screen .brands .news .news-pic .slide-container,.min-screen .brands .news .news-pic .slide-container img{height:376px}.min-screen .brands .news .news-txt{width:284px;height:334px}.min-screen .brands .news .news-txt li{margin-bottom:13px}.min-screen .brands .ads{margin-bottom:30px}.min-screen .brands .ads li{margin-right:10px;margin-bottom:10px}.min-screen .brands .ads li a{width:240px}.min-screen .brands .ads li a img{height:138px}.min-screen .brands .ads li .name{font-size:14px}.min-screen .brands .ads li .des{font-size:12px}.min-screen .brands .brands-items a.brands-pic{width:240px;height:116px}.min-screen .brands .brands-items .brand-info{width:212px}.min-screen .brands .brands-items .brand-info .brand-desc{height:72px}.brands-layer{position:absolute;z-index:8;top:-83px;left:15px;width:325px;height:287px;background:url(../assets/img/index/brands-layer.png) no-repeat;font-weight:400}.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;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brands-layer .layer-content .desc{margin: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%;max-height:80px}.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(../assets/img/index/brands-layer.png) no-repeat 0 -287px;left:-325px;top:-83px}.brands-layer-right .layer-content{padding:20px 35px 20px 20px}.me-page{width:990px;margin:0 auto 20px}.me-page .home-path{height:40px;line-height:40px;color:#ccc;font-size:12px}.me-page .home-path .path-icon{float:left;display:block;background-image:url(../assets/img/sprite.home.png);background-position:0 0;width:15px;height:15px;margin-right:10px;margin-top:11px}.me-page .home-path a,.me-page .home-path span{color:#666}.me-page .home-path span{font-weight:700}.me-page .block{border:1px solid #dedede;border-radius:2px}.me-page .me-main .block{margin-bottom:10px}.me-page .title{height:40px;line-height:40px;font-size:16px;font-weight:700;padding:0 8px;background-color:#e3e3e3;background-position:10px 12px;background-repeat:no-repeat}.me-page .user-thumb{text-align:center;padding:20px 0;background:#f8f8f8}.me-page .user-thumb img{width:100px;height:100px}.me-page .home-navigation{float:left;width:180px;margin-right:8px}.me-page .home-navigation .ucenter{background-image:url(../assets/img/home/ucenter.png)}.me-page .nav-group .row{height:38px;line-height:38px;border-top:1px solid #e2e2e2;padding-left:35px;color:#666;background:#f8f8f8;font-size:12px}.me-page .nav-group .row a{display:block;color:#666}.me-page .nav-group .row.active{background:#636363}.me-page .nav-group .row.active a{color:#fff}.me-page .nav-group .row.first{border-top:none}.me-page .nav-group li:hover{background:#fff;color:#000}.me-page .nav-group .nav-title{font-size:14px;border-top:1px solid #ccc;border-bottom:1px solid #ccc;color:#333;background:#e6e6e6;padding-left:0}.me-page .nav-group .nav-title .title-icon{float:left;display:block;width:15px;height:15px;background-image:url(../assets/img/sprite.home.png);background-position:-17px 0;margin:10px 10px 0}.me-page .me-main{float:left;width:800px}.me-page .me-pager{width:778px;height:22px;line-height:22px;background:#f3f3f3;border-top:1px solid #e3e3e3;padding:10px;font-size:12px;color:#666}.me-page .me-pager .check-all{margin:0;vertical-align:text-top;margin-right:5px}.me-page .me-pager .del-checked{cursor:pointer;margin-left:5px}.me-page .me-pager .del-checked:hover{color:#468fa2;text-decoration:underline}.me-page .me-pager a{border:1px solid #cecece;padding:0 6px;height:18px;line-height:18px;border-radius:2px;margin-right:4px;background-color:#fff}.me-page .me-pager a.cur,.me-page .me-pager a:hover{background-color:#222;color:#fff}.me-page .me-pager .pager-html{display:inline}.me-page .help-us{height:20px;line-height:20px;font-size:12px}.me-page .help-us a{color:#468fa2}.me-page .help-us .help-us-icon{float:left;display:block;background-image:url(../assets/img/sprite.home.png);background-position:0 -17px;width:12px;height:12px;margin-right:8px;margin-top:3px}.me-page .empty-tip{padding:200px 0;text-align:center;overflow:hidden}.default-me-page .message-tip{box-sizing:border-box;width:800px;height:40px;line-height:40px;padding:0 10px;margin-bottom:10px;background:#faf6d9;border:1px solid #f5e8c5;border-radius:2px;font-weight:700;font-size:12px}.default-me-page .message-tip a{color:#468fa2;font-weight:400}.default-me-page .message-tip b{color:#e8044f;margin-right:5px}.default-me-page .message-tip .close{float:right;cursor:pointer;font-weight:400}.default-me-page .more{display:block;float:right;height:21px;line-height:22px;width:63px;margin-top:8px;padding-right:8px;font-size:12px;color:#fdfdfd;text-align:center;border-radius:2px;background:url(../assets/img/home/btn-more.png) no-repeat}.default-me-page .brands ul{padding:10px 0 10px 10px}.default-me-page .brands ul li{float:left;width:122px;height:103px;border:1px solid #f6f6f6;margin-right:7px;overflow:hidden}.default-me-page .brands ul img{width:80px;height:50px;display:block;vertical-align:middle;margin:15px auto}.default-me-page .brands ul .brand-name{display:block;width:114px;height:18px;line-height:18px;color:#333;background:#f4f4f4;font-size:12px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 auto}.default-me-page .new-arrival{overflow:hidden}.default-me-page .new-arrival .na-pager-wrap{float:right}.default-me-page .new-arrival .na-pager-wrap .next,.default-me-page .new-arrival .na-pager-wrap .pre{display:inline-block;height:22px;line-height:22px;margin-top:8px;padding:0 6px;font-size:12px;color:#fff;background:#646464;text-align:center;border-radius:2px;cursor:pointer}.default-me-page .new-arrival .na-pager-wrap .next .iconfont,.default-me-page .new-arrival .na-pager-wrap .pre .iconfont{font-size:12px}.default-me-page .new-arrival .na-pager-wrap .no-visible{visibility:hidden}.default-me-page .new-arrival ul{width:800px;height:218px;overflow:hidden}.default-me-page .new-arrival li{float:left;width:101px;height:160px;padding:29px;border-right:1px solid #e3e3e3;text-align:center;font-size:12px;overflow:hidden}.default-me-page .new-arrival li .thumb{width:100px;height:100px}.default-me-page .new-arrival li .name{margin:10px 0;text-decoration:underline;color:#666;line-height:14px}.default-me-page .new-arrival li .price{color:#000}.default-me-page .banner{display:block;width:800px;border:none}.default-me-page .latest-orders .title{background-image:url(../assets/img/home/latest-orders.png)}.default-me-page .brands .title{background-image:url(../assets/img/home/brands.png)}.default-me-page .new-arrival .title{background-image:url(../assets/img/home/new-arrival.png)}.me-orders{font-size:12px}.me-orders .right{float:right}.me-orders .order-table-header{height:30px;line-height:30px;background:#efefef;border-bottom:1px solid #e6e6e6;padding:0 10px}.me-orders .order-table-header>span{display:block;float:left;text-align:center}.me-orders .order-table-header .info{width:330px;text-align:left;padding-left:10px}.me-orders .order-table-header .price{width:75px}.me-orders .order-table-header .count{width:60px}.me-orders .order-table-header .operation,.me-orders .order-table-header .order-status,.me-orders .order-table-header .pay{width:100px}.me-orders .order-title{height:28px;line-height:28px;background:#efefef;padding:0 5px;border-bottom:1px solid #e6e6e6}.me-orders .order{margin:10px;border:1px solid #e6e6e6;border-radius:2px}.me-orders .order .order-wrap{position:relative;display:table;text-align:center}.me-orders .order .order-wrap>*{display:table-cell;vertical-align:middle}.me-orders .order li{display:table;border-top:1px solid #e6e6e6}.me-orders .order li>div{display:table-cell;color:#666;text-align:center;vertical-align:middle}.me-orders .order li:first-child{border-top:none}.me-orders .order .thumb-wrap{position:relative}.me-orders .order .thumb{width:60px;height:60px}.me-orders .order .advance-buy-tag,.me-orders .order .freebie-tag,.me-orders .order .virtual-good-tag{display:block;position:absolute;bottom:0;left:0;right:0;height:15px;line-height:16px;text-align:center;color:#fff}.me-orders .order .freebie-tag{background:#88be51}.me-orders .order .advance-buy-tag{background:#fc1264}.me-orders .order .virtual-good-tag{background:#333}.me-orders .order .info{position:relative;width:313px;text-align:left;padding:10px 0 10px 10px}.me-orders .order .info>*{float:left}.me-orders .order .info .color-size{color:#999}.me-orders .order .text-info{position:absolute;padding:5px;bottom:10px;left:72px}.me-orders .order .text-info>*{display:block;line-height:18px}.me-orders .order .name{color:#468fa2}.me-orders .order .had-refund{color:#e8044f}.me-orders .order .price{width:90px;font-weight:700}.me-orders .order .count{width:50px}.me-orders .order .operation,.me-orders .order .order-status,.me-orders .order .pay{width:100px;border-left:1px solid #e6e6e6}.me-orders .order .pay{font-weight:700}.me-orders .order .pay-tip{font-weight:400;display:block;line-height:18px;color:#999}.me-orders .order .op-item{display:block;color:#468fa2;line-height:18px}.me-orders .order .no-pay,.me-orders .order .paid{color:#e8044f}.me-orders .order .order-status span{line-height:18px}.me-orders .order .shipped{color:#999}.me-orders .order .shipped .check-logistics{display:block;cursor:pointer;color:#468fa2}.me-orders .order .complete{color:#999}.me-orders .order .cancel{color:#e8044f}.me-orders .order .reback{color:#999}.me-orders .order .logistics{position:absolute;padding:20px 12px;color:#ff8341;border:1px solid #c9c9c9;background:#fff;right:185px;top:15px}.me-orders .order .logistics li{line-height:18px;white-space:nowrap}.me-orders .order .logistics .close-logistics{position:absolute;top:0;right:0;color:#c9c9c9;cursor:pointer}.me-orders .order .logistics .right-triangle{position:absolute;width:0;height:0;right:-6px;top:24px}.me-orders .order .logistics .right-triangle.top{margin-top:1px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:6px solid #fff}.me-orders .order .logistics .right-triangle.bottom{margin-right:-1px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:7px solid #c9c9c9}.me-orders .order .confirm-received{cursor:pointer}.me-history-orders .order-table-header .info,.me-history-orders .order .info{width:520px}.me-history-orders .order .info{text-align:center}.me-history-orders .order-table-header .order-sum,.me-history-orders .order .order-sum{width:90px;text-align:left}.me-history-orders .order li{border:none}.orders-me-page .orders .title{padding-left:130px;line-height:40px;background-image:url(../assets/img/home/orders.png);font-size:12px;font-weight:400}.orders-me-page .order-table-header{padding:0;margin:0 10px;border:1px solid #e6e6e6}.orders-me-page .tabs{width:778px;height:25px;margin:10px auto;background:url(../assets/img/home/tab.png) repeat-x 0 -25px;font-size:12px;line-height:25px}.orders-me-page .tabs li{display:block;float:left;width:88px;height:25px;text-align:center;background:url(../assets/img/home/tab.png) no-repeat -92px 0;margin-right:3px;color:#333}.orders-me-page .tabs li.active{background-position:0 0;font-weight:700}.orders-me-page .tabs a{display:block;width:100%;height:100%}.user-me-page{font-size:12px;line-height:150%}.user-me-page form{display:inline}.user-me-page strong{font-weight:700}.user-me-page .clear{zoom:1}.user-me-page .clear:after{content:".";display:block;height:0;visibility:hidden;overflow:hidden;clear:both}.user-me-page .userinfo-edit form{display:none}.user-me-page .userinfo-edit h2.title{background-image:url(../assets/img/home/edit/title-informations.png)}.user-me-page .account .title{position:relative}.user-me-page .account .title h2{height:16px;font-size:14px;font-weight:700;line-height:16px;position:absolute;top:50%;margin-top:-8px}.user-me-page .account .title h2 span{font-size:10px;-webkit-transform:scale(.85);display:inline-block;line-height:15px;font-weight:400;padding-left:0;padding-left:10px\9;padding-left:10px}.user-me-page .address input[type=button]{margin-top:0}.user-me-page .address input#address{width:340px}.user-me-page .address .title{position:relative}.user-me-page .address .title h2{width:66px;height:16px;background:url(../assets/img/home/edit/title-address.png) no-repeat;text-indent:-999em;float:left;position:absolute;top:50%;margin-top:-8px}.user-me-page .address .main{width:798px;padding:10px 1px 1px;float:left;border:1px solid #dedede;border-radius:2px}.user-me-page .address .address-list{width:776px;margin:0 10px;display:inline;border:1px solid #e6e6e6;border-bottom:0;float:left}.user-me-page .address .address-content{width:756px;padding:10px;border-bottom:1px solid #e6e6e6;float:left}.user-me-page .address .address-content.preferred{background:#fdfcdd;color:#333}.user-me-page .address .address-detail{width:596px;float:left}.user-me-page .address .address-edit{width:150px;padding:10px 0 10px 10px;text-align:center;float:left}.user-me-page .address.block{border:none}.user-me-page .a-edit{color:#468fa2;text-decoration:none}.user-me-page .a-underline{text-decoration:underline}.user-me-page .btn-c3{height:22px;background:url(../assets/img/home/edit/btn_hs.png) no-repeat left -66px;padding-left:8px;display:inline-block}.user-me-page .btn-c3 span{height:22px;line-height:21px;background:url(../assets/img/home/edit/btn_hs.png) no-repeat right -66px;padding-right:10px;display:inline-block;cursor:pointer;color:#fff}.user-me-page .btn-c2{height:22px;background:url(../assets/img/home/edit/btn_hs.png) no-repeat left -44px;padding-left:8px;display:inline-block}.user-me-page .btn-c2 span{height:22px;line-height:21px;background:url(../assets/img/home/edit/btn_hs.png) no-repeat right -44px;padding-right:10px;display:inline-block;cursor:pointer;color:#b3b3b3}.user-me-page .main-info{border-top:1px solid #ddd;padding:20px 10px 10px}.user-me-page .main-info .p1{padding-bottom:10px;font-weight:700}.user-me-page .main-info .blue2{color:#468fa2}.user-me-page .block{min-height:400px;height:auto}.user-me-page .block form#giftCardForm,.user-me-page .block form.first{display:block}.user-me-page .edit-box{padding:10px 11px 11px}.user-me-page .form-group{height:30px;border:1px solid #fff;margin-bottom:2px;line-height:22px;font-size:12px;font-family:Arial,helvetica,sans-serif}.user-me-page .form-group label{width:80px;text-align:right;color:#333;float:left}.user-me-page .plain{color:#666;font-weight:700}.user-me-page .width-300{width:300px}.user-me-page .width-150{width:150px}.user-me-page .input-1{height:20px;line-height:20px;color:#333;border:1px solid #c9c9c9;background:url(../assets/img/home/edit/input_1.png) repeat-x #fff;vertical-align:top}.user-me-page .btn-b1{width:118px;height:34px;border:0;background:url(../assets/img/home/edit/btn_b1.png) no-repeat;color:#fff;font-size:14px;font-weight:700;padding-right:10px;cursor:pointer;display:inline-block;margin-top:12px;margin-left:80px}.user-me-page .tips-p{margin-left:10px;color:#999;display:inline-block}.user-me-page .box{width:778px;clear:both;padding-top:10px;margin-bottom:10px;float:left}.user-me-page .sub-title{clear:both;height:21px;line-height:21px;padding-left:23px;background:url(../assets/img/home/edit/ico_arrow2.png) no-repeat 5px 5px #efefef;border:1px solid #e6e6e6;font-size:12px;color:#333;font-weight:400;cursor:pointer;margin-bottom:2px}.user-me-page .sub-title .more{padding:2px 10px 0 0;float:right}.user-me-page .sub-title .btn-edit{width:37px;height:17px;background:url(../assets/img/home/edit/btn_edit.png) no-repeat;display:inline-block;overflow:hidden;border:0}.user-me-page .user-personal-info .user-info{width:552px;padding-right:38px;float:left}.user-me-page .user-personal-info .user-profile{width:148px;padding:18px;text-align:center;float:right;border-left:1px solid #e0e0e0}.user-me-page .user-personal-info .user-profile img{width:100px;height:100px;margin-bottom:10px}.user-me-page .user-favorite-info ul{clear:both;width:750px;padding:0 20px 20px 0;float:left}.user-me-page .user-favorite-info ul li{height:22px;padding-left:20px;float:left;font-size:12px}.user-me-page .user-favorite-info .brand-box{width:725px;margin:0 0 10px 20px;display:inline;padding:5px 10px 5px 0;border:1px solid #ccc;background:#f8f8f8;color:#000}.user-me-page .user-favorite-info .brand-box li{height:22px;line-height:22px;padding:0 0 0 10px;float:left;display:inline-block;white-space:nowrap}.user-me-page .user-favorite-info .btn-del{height:20px;line-height:20px;border:0;padding-left:18px;background:url(../assets/img/home/edit/ico_del.png) no-repeat 0 2px;color:#468fa2;display:inline-block;overflow:hidden;text-decoration:none;vertical-align:middle}.user-me-page .user-favorite-info .btn-submit-sm{width:56px;height:20px;border:0;font-size:12px;color:#fff;line-height:20px;padding:0;margin:0;background:url(../assets/img/home/edit/btn_s1_z2.png) repeat-x;text-align:center;display:inline-block;cursor:pointer}.user-me-page .user-favorite-info span{color:#999;line-height:25px;display:inline-block}.user-me-page .user-favorite-info .form-group{clear:both;width:730px;padding:0 20px 5px;float:left}.user-me-page .account-row{padding:30px 0;border-bottom:1px solid #ddd}.user-me-page .account-row .content{height:32px;line-height:32px;position:relative}.user-me-page .account-row .content div{float:left;display:inline-block}.user-me-page .account-row .content .left-content{width:200px}.user-me-page .account-row .content .middle-content{width:500px}.user-me-page .account-row .content .middle-content .tip{color:#666}.user-me-page .account-row .content .middle-content .tip.red{color:#e01}.user-me-page .account-row .content .right-content{width:75px;height:20px;line-height:20px;position:absolute;top:50%;margin-top:-10px}.user-me-page .account-row .center{text-align:center}.user-me-page .account-row a{text-decoration:none;color:#666;outline:none}.user-me-page .account-row [class*=" icon-"],.user-me-page .account-row [class^=icon-]{height:32px;line-height:32px;vertical-align:middle;display:inline-block;padding-left:42px;margin-left:20px}.user-me-page .account-row .icon-ok{background:url(../assets/img/home/edit/icon-32.png) no-repeat 0 0}.user-me-page .account-row .icon-warning{background:url(../assets/img/home/edit/icon-32.png) no-repeat 0 -32px}.user-me-page .account-row .account-type{font-size:18px;line-height:32px;display:inline-block;padding-left:20px}.user-me-page .button-icon20{padding-left:5px;background:url(../assets/img/home/edit/btn_bg_20.png) no-repeat left 0;display:inline-block;cursor:pointer}.user-me-page .button-icon20 i{font-style:normal;background:url(../assets/img/home/edit/btn_bg_20.png) repeat-x left -20px;display:inline-block;height:20px;line-height:20px;text-align:center}.user-me-page .button-sliver20 i{background-position:left -80px;width:52px}.user-me-page .button-icon20 span{background:url(../assets/img/home/edit/btn_bg_20.png) no-repeat right -40px;display:inline-block;padding-right:5px}.user-me-page .button-sliver20 span{background-position:right -100px}.user-me-page .button-sliver20{background-position:left -60px}.user-me-page .gift-box{padding:10px 11px 11px}.user-me-page .gift-box li{font-size:12px;font-family:arial,Microsoft YaHei;margin-bottom:25px}.user-me-page .gift-box .gift-input{width:60px;height:20px;line-height:20px;color:#333;border:1px solid #c9c9c9;background:url(../assets/img/home/edit/input_1.png) repeat-x #fff}.user-me-page .gift-box .gift-error{color:red;display:none}.user-me-page .gift-box #imgcode{border:0;vertical-align:middle;outline:none}.user-me-page .gift-box .check-img{color:#468fa2;text-decoration:underline}.user-me-page .gift-box .btn-b1{margin:0}.user-me-page .add-address{width:778px;padding:10px;float:left}.user-me-page .add-address h2{clear:both;height:21px;line-height:21px;padding-left:23px;background:url(../assets/img/home/edit/ico_arrow2.png) no-repeat 5px 5px #efefef;border:1px solid #e6e6e6;font-size:12px;color:#333;font-weight:400}.user-me-page .add-address .add-address-detail{padding:10px 0}.returns-me-page .returns .title{background-image:url(../assets/img/home/returns.png)}.returns-me-page .operation,.returns-me-page .return-status,.returns-me-page .time{width:100px;border-left:1px solid #e6e6e6}.returns-me-page .return-type{width:80px;border-left:1px solid #e6e6e6}.returns-me-page .order-table-header{padding:0;margin:10px 10px 0;border:1px solid #e6e6e6}.returns-me-page .order-table-header>span{text-align:center;border-left:none}.returns-me-page .order-table-header .info{width:384px;padding-left:10px;text-align:left}.returns-me-page .order-wrap li{border-top:none}.returns-me-page .order-wrap li .info{width:384px;padding:5px 0 5px 10px}.returns-me-page .order-wrap li .text-info{width:300px;right:0;bottom:15px}.returns-me-page .order-wrap li .text-info>*{text-align:center}.returns-me-page .order-wrap li .text-info>a:hover{text-decoration:underline}.consult-me-page .consult .title{background-image:url(../assets/img/home/consult.png)}.consult-me-page .consults{margin:10px;font-size:12px}.consult-me-page .consults-table{width:100%;border:1px solid #e6e6e6}.consult-me-page .consults-table th{height:28px;line-height:28px;background:#efefef;padding:0 5px}.consult-me-page .consults-table td{color:#666;border-top:1px solid #e6e6e6;padding:5px;line-height:18px}.consult-me-page .consults-table td .thumb{width:60px;height:60px}.consult-me-page .consults-table td a{color:#468fa2;text-decoration:none}.consult-me-page .consults-table td a:hover{text-decoration:underline}.consult-me-page .consults-table td p{padding-left:20px;margin-top:5px;color:#999}.consult-me-page .consults-table td .question{color:#e9034e;background:url(../assets/img/home/consult-wd.png) no-repeat -13px 2px}.consult-me-page .consults-table td .reply{color:#390;background:url(../assets/img/home/consult-wd.png) no-repeat 0 -25px}.order-ensure-page{width:990px;margin:40px auto}.order-ensure-page .order-edit{width:100%;position:relative;margin-bottom:35px}.order-ensure-page .order-edit .order-title ul{display:block;background-image:url(../assets/img/sprite.order.png);background-position:-202px 0;width:364px;height:12px;position:absolute;right:0;top:0}.order-ensure-page .order-edit .order-title ul li{display:block;width:33.33333333%;float:left;font-size:12px;color:#999;height:50px;line-height:50px;text-align:center;position:relative}.order-ensure-page .order-edit .order-title ul li.active{color:#333}.order-ensure-page .order-edit .order-title ul li.active:after{display:block;content:'';background-image:url(../assets/img/sprite.order.png);background-position:-202px -14px;width:12px;height:12px;position:absolute;left:50%;margin-left:-6px;top:0}.order-ensure-page .order-edit .order-title ul li.active.first:after{left:0;margin-left:0}.order-ensure-page .order-edit .order-title ul li.active.end:after{right:0;margin-left:0}.order-ensure-page .order-edit .order-title ul li.first{text-align:left}.order-ensure-page .order-edit .order-title ul li.end{text-align:right}.order-ensure-page .order-edit .order-edit-main{border:1px solid #ccc;margin-top:30px}.order-ensure-page .order-edit .order-edit-main h2.title{height:30px;line-height:30px;background:#000;color:#fff;font-size:12px;text-indent:15px}.order-ensure-page .order-edit .order-edit-main .order-content{padding:5px 30px;font-size:12px;color:#333}.order-ensure-page .order-edit .order-edit-main .order-content .order-selection{border-bottom:1px dashed #ccc;padding:15px 0}.order-ensure-page .order-edit .order-edit-main .order-content .order-selection h2{font-size:14px;color:#000}.order-ensure-page .order-edit .order-edit-main .order-content .order-selection h2 span{color:#e8044f;text-decoration:underline;cursor:pointer}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul{padding:15px 0}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul li{padding:10px 0}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul li strong{font-weight:700;margin-right:15px}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul li input.radio{margin:0;vertical-align:middle}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .address-list ul .order-modify-btn span{text-decoration:underline;cursor:pointer;float:right}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul .order-modify-btn span.address-modify{float:left}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul.exist-address-list li{border:1px solid #fff;padding-left:15px}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul.exist-address-list li.active{background:#dbedf7;border:1px solid #8fb8e0}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .address-manage{border-top:1px dashed #ccc}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li{height:25px;line-height:25px}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li .address-legend{width:80px;text-align:right;display:inline-block;color:#333}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li .address-legend i{color:#e8044f}.order-ensure-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}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li select.text-input{width:100px}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .address-manage li .address-tel-input input{text-align:left;float:right;width:120px}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li .address-tel-input input.tel-lengend{float:left;width:40px}.order-ensure-page .order-edit .order-edit-main .order-content .pay-btn,.order-ensure-page .order-edit .order-edit-main .order-content .save-btn{display:block;font-size:14px;color:#fff;font-weight:700;text-indent:25px;cursor:pointer}.order-ensure-page .order-edit .order-edit-main .order-content .save-btn{background-image:url(../assets/img/sprite.order.png);background-position:0 0;width:200px;height:34px;line-height:34px}.order-ensure-page .order-edit .order-edit-main .order-content .pay-btn{background-image:url(../assets/img/sprite.order.png);background-position:0 -36px;width:119px;height:34px;line-height:34px}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time ul{padding:15px}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time ul li{margin:10px 0}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time ul li input.radio{margin:0;vertical-align:middle}.order-ensure-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-ensure-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);position:absolute;top:7px;left:8px}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-type-tips{color:#999}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify span.pay-type-legend{margin:0;color:#468fa2;cursor:pointer}.order-ensure-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);display:inline-block;transition:transform .3}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify span.pay-type-legend.active:after{transform:rotate(180deg)}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .support-type h4{padding:10px 0 10px 15px}.order-ensure-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-ensure-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-ensure-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-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-recommend{font-size:0}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-recommend .pay-type-legend,.order-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-recommend .support-type{font-size:12px}.order-ensure-page .order-edit .order-edit-main .order-content .select-express{border-bottom:none}.order-ensure-page .order-edit .order-edit-main .order-content .select-express .express-list{padding-left:15px;margin:10px 0}.order-ensure-page .order-edit .order-edit-main .order-content .select-express .express-list input.radio{margin:0;vertical-align:middle}.order-ensure-page .order-edit .order-edit-main .order-content .select-express .express-tips{color:#999}.order-ensure-page .order-edit:before{content:'';display:block;background-image:url(../assets/img/sprite.order.png);background-position:-121px -36px;width:117px;height:33px}.order-ensure-page .order-edit.order-cart:before{background-image:url(../assets/img/sprite.order.png);background-position:-240px -36px}.order-ensure-page .order-pay{width:100%}.order-pay{font-size:12px;line-height:150%}.order-pay .pay-wapper{border:1px solid #ccc;border-top:noen}.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:700}.order-pay thead .clo1{width:10%}.order-pay thead .clo2{width:20%}.order-pay thead .clo4{width:40%}.order-pay .pay-pro-icon{float:left;width:60px;height:60px;display:block;position:relative}.order-pay .pay-pro-icon span{width:100%;height:16px;line-height:16px;position:absolute;left:0;bottom:0;text-align:center;color:#fff;display:block;cursor:pointer}.order-pay .pay-pro-icon .incentive{background:#f74a87}.order-pay .pay-pro-icon .gift{background:#9c3;display:none}.order-pay .pay-pro-info{color:#999;margin-left:70px;text-align:left}.order-pay .pay-pro-info a{color:#468fa2;text-decoration:none;display:block}.order-pay .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:700;color:#000}.order-pay .play-content .pan dt{width:105px;height:30px;padding:0 0 0 30px;line-height:30px;text-align:left;border:0;color:#fff;display:inline-block;cursor:pointer;background:url(../assets/img/order/btn-openclose.png) no-repeat 0 -60px;margin-bottom:5px}.order-pay .play-content .pan dd{display:none;border:1px solid #ccc;padding:10px 15px;margin-bottom:10px}.order-pay .play-content .dropdown,.order-pay .play-content .textbox{height:20px;line-height:20px;color:#333;border:1px solid #c9c9c9;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(../assets/img/order/btn-openclose.png) no-repeat 0 0}.order-pay .play-content .play-piao-pan li{height:25px;padding:10px 0;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 .pan{text-align:right}.order-pay .play-content .play-total{text-align:right;padding-bottom:20px}.order-pay .play-content .play-total label{padding-right:10px}.order-pay .play-content .play-total em{width:80px;text-align:left;display:inline-block}.order-pay .play-content .play-total a{color:#468fa2;text-decoration:underline}.order-pay .play-content .play-juan-pan dd{text-align:left}.order-pay .play-content .play-juan{padding:10px 0}.order-pay .play-content .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 0;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 0 40px}.order-pay .to-play .btn-group .submit{float:right;width:133px;height:33px;padding:0;text-align:center;border:0;line-height:33px;font-size:14px;color:#fff;font-weight:700;background:url(../assets/img/order/btns.png) no-repeat 0 -33px;display:inline-block;cursor:pointer}.order-ensure-page .order-title{margin-top:30px;height:auto;overflow:hidden}.order-ensure-page .cartnew-tips{height:auto;overflow:hidden;font-size:12px}.order-ensure-page .cartnew-tips .tipsbox{width:648px;height:23px;line-height:18px;padding:4px 5px 4px 10px;color:#666;background:url(http://static.yohobuy.com/images/cartnew_tipsbox.png) no-repeat;position:relative;float:left}.order-ensure-page .cartnew-tips .tipsbox .btn_close{width:17px;height:17px;padding:0;background:url(http://static.yohobuy.com/images/i_close_f.png) no-repeat;float:right;cursor:pointer}.order-ensure-page .cartnew-tips .tipsbox strong{color:#000;font-weight:700}.order-ensure-page .cartnew-tips .tipsbox a{color:#468fa2}.order-ensure-page .pay-wapper{position:relative}.order-ensure-page .pay-wapper .presell{color:#c21250;display:block}.order-ensure-page .pay-wapper .pay-pro-info{padding-left:15px}.order-ensure-page .pay-wapper .pre-sell-box .cart-empty{border:none;padding:100px 0 100px 260px;background:url(../assets/img/cart/cart_empty.gif) 200px 56px no-repeat}.order-ensure-page .pay-wapper .pre-sell-box .cart-empty a{display:inline-block;width:90px;height:35px;background-image:url(../assets/img/sprite.cart.png);background-position:-237px -106px;overflow:hidden;color:#666;line-height:32px}.order-ensure-page .pay-wapper .pre-sell-box .pre-sell-title{background:#fff9d9}.order-ensure-page .pay-wapper .pre-sell-box .incentive{background:#000100;color:#fff}.order-ensure-page .pay-wapper .tip-message{background:#e8044f;color:#fff;font-size:12px}.order-ensure-page .pay-wapper .cart-product-num{font-size:12px;text-align:left;height:33px;line-height:33px;background:#f8f8f8;padding:0 10px;position:relative}.order-ensure-page .pay-wapper .cart-product-num strong{padding-left:20px;font-weight:700}.order-ensure-page .pay-wapper .cart-product-num .icon-minus{position:absolute;top:9px;left:15px;display:block;width:15px;height:15px;background-image:url(../assets/img/sprite.cart.png);background-position:-237px -202px}.order-ensure-page .pay-wapper .cart-product-num .cart-unfold{position:absolute;top:0;right:10px}.order-ensure-page .pay-wapper .cart-product-num .cart-unfold i{width:28px;height:20px;overflow:hidden;display:inline-block;margin-top:5px}.order-ensure-page .pay-wapper .cart-product-num .cart-btn-pre{background-image:url(../assets/img/sprite.cart.png);background-position:-332px -143px}.order-ensure-page .pay-wapper .cart-product-num .cart-btn-next{background-image:url(../assets/img/sprite.cart.png);background-position:-329px -106px}.order-ensure-page .pay-wapper .cart-product-num .unfold-color{color:#666}.order-ensure-page .pay-wapper .cart-product-num .cart-page p{float:left;padding-right:5px}.order-ensure-page .pay-wapper .cart-product-num .cart-page .f-red{color:red}.order-ensure-page .pay-wapper .cart-product-num input{position:relative;top:2px}.order-ensure-page .pay-wapper input.cart-item-check{float:left;margin-top:25px}.order-ensure-page .pay-wapper .adjust-cart-num input{width:30px;margin:0 5px;text-align:center}.order-ensure-page .pay-wapper .adjust-cart-num span{display:inline-block;width:11px;height:11px;cursor:pointer;font-size:10px}.order-ensure-page .pay-wapper .cart-add-btn{width:118px;height:32px;display:inline-block;overflow:hidden;border:0;cursor:pointer;background-image:url(../assets/img/sprite.cart.png);background-position:-237px -71px;line-height:32px}.order-ensure-page .pay-wapper .cart-del-btn,.order-ensure-page .pay-wapper .cart-remove-btn{height:22px;line-height:21px;padding:0 10px;display:inline-block;cursor:pointer;color:#666;position:relative}.order-ensure-page .pay-wapper .cart-del-btn span,.order-ensure-page .pay-wapper .cart-remove-btn span{position:relative;z-index:8}.order-ensure-page .pay-wapper .cart-del-btn:after,.order-ensure-page .pay-wapper .cart-remove-btn:after{content:'';display:block;width:16px;height:100%;background-image:url(../assets/img/sprite.cart.png);background-position:-339px -178px;position:absolute;right:0;top:0;z-index:6}.order-ensure-page .pay-wapper .cart-del-btn:before,.order-ensure-page .pay-wapper .cart-remove-btn:before{content:'';display:block;width:100%;height:100%;background-image:url(../assets/img/sprite.cart.png);background-position:0 -225px;position:absolute;left:0;top:0}.order-ensure-page .cartnew-sum{background:#efefef;border:1px solid #ccc;padding:10px;margin-bottom:10px;zoom:1;margin-top:20px;height:auto;overflow:hidden;font-size:12px}.order-ensure-page .cartnew-sum .left{float:left}.order-ensure-page .cartnew-sum .left a{color:#333;margin-left:20px}.order-ensure-page .cartnew-sum .left input{position:relative;top:2px}.order-ensure-page .cartnew-sum .right{float:right;text-align:right}.order-ensure-page .cartnew-sum .right strong{color:#e8044f;font-size:18px}.order-ensure-page .cartnew-sum .sum{color:#333;font-weight:700;padding-bottom:5px}.order-ensure-page .cartnew-submit{padding:10px 0 40px;text-align:right;position:relative}.order-ensure-page .cartnew-submit .btn_continue{width:60px;padding:0 0 0 33px;text-align:left;color:#333;background-position:-237px -143px;float:left}.order-ensure-page .cartnew-submit .btn_account,.order-ensure-page .cartnew-submit .btn_continue{height:33px;border:0;line-height:33px;font-size:14px;font-weight:700;background-image:url(../assets/img/sprite.cart.png);display:inline-block;cursor:pointer}.order-ensure-page .cartnew-submit .btn_account{width:133px;padding:0;text-align:center;color:#fff;background-position:-237px 0;float:right}.order-ensure-page .cartnew-submit .go_cash_tips{font-size:12px;width:200px;padding:5px 7px 0 28px;height:45px;position:absolute;right:135px;top:10px;text-align:left;color:#e8044f;background-image:url(../assets/img/sprite.cart.png);background-position:0 0;display:block}.order-ensure-page .cartnew-submit .btn_account_disabled{width:133px;height:33px;padding:0;text-align:center;border:0;line-height:33px;font-size:14px;color:#ccc;font-weight:700;background-image:url(../assets/img/sprite.cart.png);background-position:-237px -36px;display:inline-block;cursor:pointer;display:none}.order-ensure-page .cartnew-goodslist{margin-bottom:10px;font-size:12px;border:1px solid #ccc}.order-ensure-page .cartnew-goodslist .title{height:20px;padding:8px 10px;background:#efefef}.order-ensure-page .cartnew-goodslist .title h2{height:20px;line-height:20px;font-size:12px;float:left;cursor:pointer}.order-ensure-page .cartnew-goodslist .title h2 i{width:15px;height:15px;display:inline-block;background-image:url(../assets/img/sprite.cart.png);background-position:-237px -202px;position:relative;top:4px}.order-ensure-page .cartnew-goodslist .right{float:right}.order-ensure-page .cartnew-goodslist .btn_type1{border:1px solid red;display:inline-block;height:22px;padding:0 0 0 2px;overflow:hidden}.order-ensure-page .cartnew-goodslist .btn_type1 a{display:inline-block;height:22px;padding:0 10px;border:none;overflow:visible;cursor:pointer;margin:0;color:#666}.order-ensure-page .cartnew-goodslist .btn_type1 a span{line-height:22px;font-weight:400;color:#666}.order-ensure-page .cartnew-goodslist .pageprev a span{background-position:-332px -143px}.order-ensure-page .cartnew-goodslist .pagenext a span,.order-ensure-page .cartnew-goodslist .pageprev a span{width:4px;height:7px;background-image:url(../assets/img/sprite.cart.png);text-indent:-3000px;overflow:hidden;margin-top:7px;padding-right:4px;display:block}.order-ensure-page .cartnew-goodslist .pagenext a span{background-position:-329px -106px}.order-ensure-page .cartnew-goodslist .main{height:230px;border-top:1px solid #e3e3e3;display:block}.order-ensure-page .cartnew-goodslist .main ul{height:auto;width:100%;overflow:hidden}.order-ensure-page .cartnew-goodslist .main li{width:16.6667%;box-sizing:border-box;height:230px;border-right:1px solid #e3e3e3;float:left}.order-ensure-page .cartnew-goodslist .main li.end{border:none}.order-ensure-page .cartnew-goodslist .main .list{width:100px;padding:10px 0 0;margin:0 auto}.order-ensure-page .cartnew-goodslist .main .thumb{height:110px}.order-ensure-page .cartnew-goodslist .main .name{height:35px;overflow:hidden;font-size:12px}.order-ensure-page .cartnew-goodslist .main .name h3{height:30px;line-height:15px;font-size:12px;font-weight:400;color:#333;cursor:pointer;overflow:hidden}.order-ensure-page .cartnew-goodslist .main .name a{color:#333;text-decoration:underline}.order-ensure-page .cartnew-goodslist .main .price{color:#333;height:25px;line-height:25px;font-weight:700;white-space:nowrap;overflow:hidden;font-size:12px}.order-ensure-page .cartnew-goodslist .main .op{text-align:center;padding:0 0 5px}.order-ensure-page .cartnew-goodslist .main .btn_view_s{width:100px;height:22px;background-image:url(../assets/img/sprite.cart.png);background-position:-237px -178px;display:inline-block;border:0}.goods-detail{position:absolute;top:10%;left:50%;z-index:9;width:650px;height:auto;border:1px solid #ccc;border-radius:5px;background:#fff;margin-left:-325px;display:none}.goods-detail .detail-header{display:block;font-size:12px;line-height:16px;text-align:center;color:#fff;margin-top:5px;box-sizing:border-box;padding-right:5px;height:16px}.goods-detail .detail-header .colse{float:right;width:46px;height:16px;background:#ccc;border-radius:2px}.goods-detail .detail-header .colse:hover{background:#414141}.goods-detail .detail-body{width:610px;padding:15px;margin:0 auto}.goods-detail .detail-body .detail-bigpic{width:290px;padding-bottom:15px;float:left}.goods-detail .detail-body .detail-bigpic .bigpic{width:210px;height:280px;display:block;margin:0 auto 10px}.goods-detail .detail-body .detail-bigpic .bigpic img{width:100%;height:auto}.goods-detail .detail-body .detail-bigpic .piclist{height:65px}.goods-detail .detail-body .detail-bigpic .piclist span{width:10px;height:60px}.goods-detail .detail-body .detail-bigpic .piclist .pre{background-image:url(../assets/img/sprite.cart.png);background-position:0 -248px;float:left}.goods-detail .detail-body .detail-bigpic .piclist .con{width:260px;height:65px;overflow:hidden;float:left;margin-left:5px}.goods-detail .detail-body .detail-bigpic .piclist .con li{float:left;width:60px;height:60px;border:1px solid #ccc;margin:1px;vertical-align:top}.goods-detail .detail-body .detail-bigpic .piclist .con li img{width:100%;height:auto}.goods-detail .detail-body .detail-bigpic .piclist .con .active{width:58px;height:58px;border:2px solid #333}.goods-detail .detail-body .detail-bigpic .piclist .next{background-image:url(../assets/img/sprite.cart.png);background-position:-12px -248px;float:right}.goods-detail .detail-body .detail-info{width:300px;float:right;padding-bottom:15px}.goods-detail .detail-body .detail-info .title{padding:5px 0}.goods-detail .detail-body .detail-info .title h2{width:300px;color:#000;font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden}.goods-detail .detail-body .detail-info .type{padding-bottom:10px}.goods-detail .detail-body .detail-info .type .type-s{background:#ccc;padding:0 5px;color:#fff;font-size:12px;height:15px;line-height:15px;display:inline-block}.goods-detail .detail-body .detail-info .price{padding:0 0 10px;margin-bottom:10px;border-bottom:1px solid #000}.goods-detail .detail-body .detail-info .price .oldprice{color:#999;font-size:14px;font-weight:700;display:block;padding-bottom:5px}.goods-detail .detail-body .detail-info .price .newprice{color:#000;font-size:14px;font-weight:700;display:block;height:30px;line-height:30px;padding:0 0 5px}.goods-detail .detail-body .detail-info .price .newprice b{font-size:22px;font-family:arial}.goods-detail .detail-body .detail-info .order{color:#000;font-size:12px}.goods-detail .detail-body .detail-info .order dd{width:55px;float:left;padding-bottom:8px}.goods-detail .detail-body .detail-info .order dt{width:245px;float:left;padding-bottom:8px}.goods-detail .detail-body .detail-info .order dd.colorBox{line-height:44px}.goods-detail .detail-body .detail-info .order .colorBox{height:75px}.goods-detail .detail-body .detail-info .order .colorBox li{width:44px;height:65px;text-align:center;margin-right:4px;display:inline;float:left}.goods-detail .detail-body .detail-info .order .colorBox li a{width:40px;height:40px;border:2px solid #e8044f;margin:0;display:inline-block;position:relative}.goods-detail .detail-body .detail-info .order .colorBox li a img{width:100%;height:auto}.goods-detail .detail-body .detail-info .order .colorBox li a img:hover{opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"}.goods-detail .detail-body .detail-info .order .colorBox li span{line-height:20px}.goods-detail .detail-body .detail-info .order .showSizeBox{height:20px;line-height:18px}.goods-detail .detail-body .detail-info .order .showSizeBox a{height:17px;padding:0 10px;border:1px solid #ccc;margin:1px 5px 5px 1px;display:inline;float:left;overflow:hidden}.goods-detail .detail-body .detail-info .order .amount_wrapper{width:70px;height:20px;display:inline-block}.goods-detail .detail-body .detail-info .order .amount_wrapper .amount{width:12px;height:12px;display:inline;cursor:pointer;border:0;float:left;font-size:10px;color:#c4c4c4}.goods-detail .detail-body .detail-info .order .amount_wrapper .cut{margin:5px 5px 0 0}.goods-detail .detail-body .detail-info .order .amount_wrapper .add{margin:5px 0 0 5px}.goods-detail .detail-body .detail-info .order .amount_wrapper .mnum{width:33px;height:18px;line-height:16px;border:1px solid #c4c4c4;text-align:center;overflow:hidden;float:left;font-size:12px}.goods-detail .detail-body .detail-info .submit{padding-top:10px;float:left}.goods-detail .detail-body .detail-info .submit input{width:225px;height:45px;overflow:hidden;border:0;cursor:pointer;float:left}.goods-detail .detail-body .detail-info .submit .addcart{background-image:url(../assets/img/sprite.cart.png);background-position:0 -146px}.goods-detail .detail-body .detail-info .submit .btn_pre_sale{background-image:url(../assets/img/sprite.cart.png);background-position:0 -52px}.goods-detail .detail-body .detail-info .submit .btn_sellout{background-image:url(../assets/img/sprite.cart.png);background-position:0 -99px}.goods-detail .detail-body .detail-info .submit .fav_count{background-image:url(../assets/img/sprite.cart.png);background-position:0 -193px;height:30px}.goods-detail .detail-body .detail-size{float:left;border-top:1px dashed #ccc;width:100%;height:auto;padding-bottom:15px}.goods-detail .detail-body .detail-size h3{height:35px;line-height:35px;font-size:14px}.goods-detail .detail-body .detail-size h3 span{font-size:12px}.goods-detail .detail-body .detail-size table{width:100%;height:auto;border:1px solid #ccc;margin-bottom:5px;font-size:12px}.goods-detail .detail-body .detail-size table td{border:1px solid #fff;padding:3px;font-weight:400;background:#fbfbfb;text-align:center;padding:8px 3px}.goods-detail .detail-body .detail-size table tr:nth-of-type(even) td{background:#f4f4f4}.goods-detail .detail-body .detail-size .size-info{font-size:12px;color:#999} \ No newline at end of file diff --git a/web-static/dist/yohobuy/0.0.6/index.js b/web-static/dist/yohobuy/0.0.6/index.js index 6377a6a..d275cdf 100644 --- a/web-static/dist/yohobuy/0.0.6/index.js +++ b/web-static/dist/yohobuy/0.0.6/index.js @@ -1,4 +1,4 @@ -define("index",["jquery","handlebars","source-map","index","lazyload","dot","jquery.placeholder"],function(e,t,a){var n;e("js/common"),e("js/header"),e("js/simple-header"),e("js/product/entry"),e("js/home/entry"),e("js/brand/index"),e("js/passport/entry"),e("js/order/ensure"),a.exports=n}),define("js/common",["jquery"],function(e,t,a){function n(e){var t=new RegExp(e+"=([^;$]*)","i"),a="$1";return t.test(decodeURIComponent(document.cookie))?RegExp[a]:""}function i(e,t,a){var n,i,o,s,r="";"undefined"!=typeof t&&(a=a||{},null===t&&(t="",a.expires=-1),a.expires&&("number"==typeof a.expires||a.expires.toUTCString)&&("number"==typeof a.expires?(s=new Date,s.setTime(s.getTime()+24*a.expires*60*60*1e3)):s=a.expires,r="; expires="+s.toUTCString()),n=a.path?"; path="+a.path:"",i=a.domain?"; domain="+a.domain:"",o=a.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(t),r,n,i,o].join(""))}function o(){var e,t=n("_UID");return"undefined"==typeof t?0:(e=t.split("::"),"undefined"==typeof e||e.length<4?0:e)}function s(){var e=o();return 0===e?0:e[1]}function r(){var e=n("_g");return"undefined"==typeof e?"":JSON.parse(e).k}function d(){var e,t,a={},n=window.location.search,i=n?decodeURIComponent(n).slice(1).split("&"):[];for(t=0;t<i.length;t++)e=i[t].split("="),a[e[0]]=e[1];return a}var l=e("jquery"),c=l("body");e("js/footer"),function(e,t,a,n,i){var o=t.createElement(a),s=t.getElementsByTagName(a)[0];e.YohoAcquisitionObject=i,e[i]=function(){e[i].p=arguments},o.async=1,o.src=n,s.parentNode.insertBefore(o,s)}(window,document,"script","http://cdn.yoho.cn/yas-jssdk/1.0.14/yas.js","_yas"),function(){var e=s();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.14","yohobuy_web",e,"","")}(),l(window).on("resize",function(){var e=l(this).width();1360>e?l(".return-top").addClass("min"):l(".return-top").removeClass("min"),1180>e?c.addClass("min-screen"):c.removeClass("min-screen")}).trigger("resize"),window.cookie=n,window.setCookie=i,window.getUser=o,window.getUid=s,window.getShoppingKey=r,window.queryString=d}),define("js/footer",["jquery"],function(e,t,a){function n(){var e=s("#subscriber-box"),t=s("#subscriber-btn"),a=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/,n={mail:"",tick:""};e.focus(function(){s(this).val("").css("color",""),t.removeClass("done").html(n.mail)}),t.click(function(){var i=s.trim(e.val());if(""!==i&&a.test(i))try{s.ajax({url:"http://new.yohobuy.com/common/emailsubscriber",dataType:"jsonp",data:{email:i,tmp:Math.random(),uid:window.getUid()},success:function(a){1===a.data.result?(e.val("已订阅到:"+i),t.addClass("done").html(n.tick)):e.css("color","red")}})}catch(o){console.log(o.message)}else e.css("color","red")})}function i(){var e=s(".vote"),t=s("#feed-back-page"),a=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 n=s(this),i=n.closest("li"),o=i.index(),r=[],d=i.find(".feedback-answer").val(),l=i.find(".feedback-id").val(),c=i.find(".question-id").val();i.find(":checked").each(function(){r.push(s(this).val())}),s.ajax({url:"http://new.yohobuy.com/common/suggestfeedback",dataType:"jsonp",data:{feedback_id:l||0,question_id:c||0,answer:d||"",solution:r.join(",")},success:function(n){var s=o+1;if(1===~~n.data.result){if(o===a-1)return void alert("感谢您的参与!");i.addClass("hide"),e.children(":eq("+(o+1)+")").removeClass("hide"),t.children(".cur").removeClass("cur"),t.children(":eq("+s+")").addClass("cur")}}})})}function o(){s(window).height()>s(document).height()&&r.addClass("hide")}var s=e("jquery"),r=s(".return-top");r.click(function(){s("html,body").animate({scrollTop:0},500)}),s(window).scroll(function(){0===s(window).scrollTop()?r.addClass("hide"):r.removeClass("hide")}),r.hasClass("hide")&&s("img").load(o),n(),i(),window.rePosReturnTop=o}),define("js/header",["jquery","handlebars","source-map","index"],function(e,t,a){function n(e,t,a){try{te.push({louceng:e,weizhi:t,event:a})}catch(n){}}function i(){var e=G("#nav_keyword").text(),t="vans",a=G("#query_key");""!==e?(a.css({color:"#000"}),a.val(e)):(a.css({color:"#e0e0e0"}),a.val(t),a.on("focus",function(e){a.css({color:"#000"}),a.val("")}))}function o(){var e={cookie:"_g",cartNum:""},t="",a="",n=0,i=0,o=0,s=0,r="";G.fn.miniCart=function(n){if(t=G.extend(e,n),"undefined"==typeof window.cookie(t.cookie))a=null;else if(t.cookie)try{a=Z.parse(window.cookie(t.cookie))}catch(i){}null!==a&&""!==a&&(s=parseInt(a._nac)+parseInt(a._ac),0===s?G("#icart-num").attr("class","icart-num icart-none"):G("#icart-num").attr("class","icart-num"),G(t.cartNum).html(s))},G.fn.search=function(e){function t(t){var a=G.trim(G(t).val());return a=a.replace(new RegExp("'","gm"),""),""===a?(G(".search-list").hide(),!1):(a=encodeURI(a),void G.get(e+"?query="+a,function(e){G(".search-list").html(e.data),n=G(".search-list").children("li").length,i=-1,n>0?G(".search-list").show():G(".search-list").hide(),G(".search-list").find("a").hover(function(){G(this).css("background-color","#eee")},function(){G(this).css("background-color","#fff")})},"jsonp"))}function a(e){G(".search-list li:eq("+o+")").children("a").css("background-color","#fff"),G(".search-list li:eq("+i+")").children("a").css("background-color","#eee"),r=G(".search-list li:eq("+i+")").children("a").attr("title"),G("#query_key").val(r)}return this.each(function(){G(this).keyup(function(e){if(38===e.which){if(0===n)return!1;-1===i&&(i=0),o=i,i=(i-1+n)%n,a(this)}else if(40===e.which){if(0===n)return!1;o=i,i=(i+1)%n,a(this)}else 13===e.which?window.submitSearch():t(this)})})},G.extend({getData:function(e,t,a){var n={page:1,method:"",v:1,return_type:"jsonp",open_key:"12345",tmp:Math.random()},i="";if(void 0===typeof e||""===e)return!1;if(i=G.extend(n,t),i.page=i.page||1,""===i.method)return!1;try{G.getJSON(e+"/?callback=?",i,function(e){return""!==a?("undefined"!=typeof a(e.data)&&Z.parse(a(e.data)),!1):void 0})}catch(o){console.log(o.message)}},getShoppingKey:function(){var e=window.cookie("_g"),t=Z.parse(e);return"undefined"==typeof e||null===e?"":t._k}})}function s(e){var t;200===+e.code&&"object"==typeof e.data&&(t=""!==e.data.url?'<a target="_blank" href="'+e.data.url+'" class="page-top-banner"style="height:36px;border:none;background-image:url('+window.unescape(e.data.src)+');background-position: center;display:block;"> </a>':'<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>',G("body").prepend(t))}function r(e){var t=document.createElement("script");t.src=le+e+"&client_type=web&callback=JsonPCallBack",document.getElementsByTagName("head")[0].appendChild(t)}function d(e,t){var a,n;G(e).hover(function(e){e.preventDefault(),a=G(this),n=G(t)[0],""===n.style.display?(a.addClass("acttags"),n.style.display="block"):(a.removeClass("acttags"),n.style.display="")})}function l(){var e,t,a=[{sourceClass:".myyoho",targetClass:".myyoho-info"},{sourceClass:".phone",targetClass:".qr"}];for(t=0;t<a.length;t++)e=a[t],d(e.sourceClass,e.targetClass)}function c(){var e;G(".yohogroup").mouseenter(function(){e=G(this),e.text(e.attr("cn"))}),G(".yohogroup").mouseleave(function(){e=G(this),e.text(e.attr("en"))})}function u(){var e,t,a=["webkit","moz","ms"];for(t=0;t<a.length;t++)return e=a[t]+"RequestAnimationFrame",window[e]?!0:!1}function h(){var e=["webkit","moz","ms"],t=e[0]+"RequestAnimationFrame",a=e[1]+"RequestAnimationFrame",n=e[2]+"RequestAnimationFrame";return window[t]?function(e){requestAnimationFrame(e)}:window[a]?function(e){window[a](e)}:window[n]?function(e){window[n](e)}:function(e){window.setTimeout(e,67)}}function p(){ne+=10,ie.css({transform:"rotateX("+ne+"deg)","-webkit-transform":"rotateX("+ne+"deg)","-moz-transform":"rotateX("+ne+"deg)"}),ne/90%2===1&&(oe?(ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo1.png)"),oe=!1):(ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),oe=!0)),ne/90%2===0&&ne%360!==0?window.setTimeout(p,3e3):ne%360===0?window.setTimeout(p,6e4):ae(function(){p()})}function f(){N&&window.clearTimeout(N),ie.fadeOut(se,function(){oe=!1,ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo.png)"),ie.fadeIn(se,function(){R=window.setTimeout(function(){ie.fadeOut(se,function(){window.clearTimeout(R),oe=!0,ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),ie.fadeIn(se,function(){N=window.setTimeout(f,6e4)})})},3e3)})})}function m(){u()?(ae=h(),window.setTimeout(p,3e3)):window.setTimeout(f,3e3)}function g(e){var t=G(e);t.find(".thirdnavbar").each(function(){var e=G(this),t=e.find("a"),a=t.attr("href"),n="hot"===t.attr("hot")?!0:!1,i={};i=e.hasClass("category-title")?{type:"title",height:49,content:e.text(),index:window.valueIndex,href:a,hot:!1}:{type:"catlist",height:36,content:t.text(),index:window.valueIndex,href:a,hot:n},window.valueIndex++,window.newArr.push(i)})}function v(){var e=window.newArr.length,t=0,a=[],n=[],i=[],o=[],s="",r="",d="",l=0,c=0,u=0;for(t;e>t;t++){if(a=window.newArr[t],0===window.gindex&&(window.oh1=window.oh1+a.height,window.oh1>=340&&t!==e-1&&(window.targetArr1=window.newArr.slice(0,a.index+1),window.nowIndex=a.index+1,window.gindex++),t===e-1)){window.targetArr1=window.newArr.slice(0,e+1);break}if(1===window.gindex&&(window.oh2=window.oh2+a.height,window.oh2>=340&&t!==e-1&&(window.targetArr2=window.newArr.slice(window.nowIndex,a.index+1),window.nowIndex=a.index+1,window.gindex++),t===e-1)){window.targetArr2=window.newArr.slice(window.nowIndex,e+1);break}if(2===window.gindex){if(window.oh3=window.oh3+a.height,window.oh3>=340&&t!==e-1){window.targetArr3=window.newArr.slice(window.nowIndex,a.index+1),window.nowIndex=a.index+1,window.gindex++;break}if(t===e-1){window.targetArr3=window.newArr.slice(window.nowIndex,e+1);break}}}for(l;l<window.targetArr1.length;l++)n=window.targetArr1[l]||{},"title"===n.type?window.inner1=window.inner1+'<li class="cattitle"><h3><a href="'+n.href+'">'+n.content+"</a></h3></li>":n.hot===!0?window.inner1=window.inner1+'<li class="catdetail"><a class="thirdcatelink hot" href="'+n.href+'">'+n.content+"</a></li>":window.inner1=window.inner1+'<li class="catdetail"><a class="thirdcatelink" href="'+n.href+'">'+n.content+"</a></li>";for(c;c<window.targetArr2.length;c++)i=window.targetArr2[c]||{},"title"===i.type?window.inner2=window.inner2+'<li class="cattitle"><h3><a href="'+i.href+'">'+i.content+"</a></h3></li>":i.hot===!0?window.inner2=window.inner2+'<li class="catdetail"><a class="thirdcatelink hot" href="'+i.href+'">'+i.content+"</a></li>":window.inner2=window.inner2+'<li class="catdetail"><a class="thirdcatelink" href="'+i.href+'">'+i.content+"</a></li>";for(u;u<window.targetArr3.length;u++)o=window.targetArr3[u]||{},"title"===o.type?window.inner3=window.inner3+'<li class="cattitle"><h3><a href="'+o.href+'">'+o.content+"</a></h3></li>":o.hot===!0?window.inner3=window.inner3+'<li class="catdetail"><a class="thirdcatelink hot" href="'+o.href+'">'+o.content+"</a></li>":window.inner3=window.inner3+'<li class="catdetail"><a class="thirdcatelink" href="'+o.href+'">'+o.content+"</a></li>";""!==window.inner1&&(s='<ul class="cate_row1 cate_row">'+window.inner1+"</ul>"),""!==window.inner2&&(r='<ul class="cate_row2 cate_row">'+window.inner2+"</ul>"),""!==window.inner3&&(d='<ul class="cate_row3 cate_row">'+window.inner3+"</ul>"),window.finalresult=s+r+d,G("#"+window.wrapperindex).empty().append(window.finalresult)}function w(){G(".categorywrapper").each(function(e){window.wrapperindex=G(this).attr("id"),window.newArr=[],window.gindex=0,window.targetArr1=[],window.targetArr2=[],window.targetArr3=[],window.oh1=0,window.oh2=0,window.oh3=0,window.valueIndex=0,window.nowIndex=0,window.inner1="",window.inner2="",window.inner3="",g(G(this).find(".category")),v()})}function y(){var e={},t="",a="",n="",i="",o="";G(document).on("mouseenter",".sub-nav-item",function(){t=G(this).find(".showdetail").attr("data-code"),t&&(e[t]||(e[t]=t,a=G(this).find(".showdetail").find("img"),n=G(this).find(".showdetail").find(".title"),i=G(this).find(".showdetail").find("a"),G.get(le+t+"&width=337&height=250&client_type=web",function(e){a.attr("src",e.data.src),i.attr("href",e.data.url),n.text(e.data.title)},"jsonp")))}),o=G(".cure").find(".name-cn").find("a").attr("href"),G(".main-link").attr("href",o)}function b(){var e=G("#cover");e.remove()}function C(){var e,t=window.cookie("_Gender"),a="",i="",o="",s="";"http://www.yohobuy.com/"!==window.location.href||"undefined"!=typeof t&&""!==t&&null!==t||G.get("http://www.yohobuy.com/index/guide",function(t){a=document.createElement("div"),a.id="cover",a.innerHTML=t,document.body.appendChild(a),i=G(window).height(),o=G(".guide-box").height(),e=i/2-o/2,s=G(".guide-box .clear").find("li").length,G(".guide-box").css({width:200*s+"px",top:e+"px"}),G("#cover").bind("click",function(e){window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),G("#cover .guide-box .close").bind("click",function(e){n("弹窗","CLOSE","homepage_man"),window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),G(".boys img , .boys .go").bind("click",function(e){n("弹窗","BOYS","homepage_man"),window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),G(".girls img, .girls .go").bind("click",function(e){n("弹窗","GIRLS","homepage_woman"),window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})}),G(".lifestyle img, .lifestyle .go").bind("click",function(e){window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),n("弹窗","LIEFSTYLE","homepage_lifestyle")}),G("#cover .guide-box").bind("click",function(e){e.stopPropagation()})})}function i(){var e=G("#nav_keyword").text(),t=G("#defaultsearch").val(),a=G("#query_key");""!==e?(a.css({color:"#000"}),a.val(e)):(a.css({color:"#e0e0e0"}),a.val(t),a.on("focus",function(e){a.css({color:"#000"}),a.val("")}))}function x(){var e=window.cookie("_Gender"),t=G(".cure");"undefined"!=typeof e&&""!==e&&window.setCookie("_Gender",1,{path:"/",domain:".yohobuy.com",expires:7}),"男生"===t.find(".name-cn a").text()&&(window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7})),"女生"===t.find(".name-cn a").text()&&window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:7}),"创意生活"===t.find(".name-cn a").text()&&window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),"潮童"===t.find(".name-cn a").text()&&window.setCookie("_Channel","kids",{path:"/",domain:".yohobuy.com",expires:7})}function k(){G(".first-nav-item").click(function(){var e=window.cookie("_Gender");"undefined"!=typeof e&&""!==e&&window.setCookie("_Gender",1,{path:"/",domain:".yohobuy.com",expires:7}),"男生"===G(this).find(".name-cn a").text()&&(window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7})),"女生"===G(this).find(".name-cn a").text()&&(window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})),"创意生活"===G(this).find(".name-cn a").text()&&window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),"潮童"===G(this).find(".name-cn a").text()&&window.setCookie("_Channel","kids",{path:"/",domain:".yohobuy.com",expires:7})})}function j(){var e,t,a,n=document.cookie,i=n.split(";");for(e=0;e<i.length;e++)t=i[e].split("="),"undefined"!=typeof t[0]&&(a=t[0].replace(/\s/g,""),de[a]=t[1])}function _(){G("#miniCartBox").miniCart({cartNum:".ic-infomation"})}function $(){var e,t,a;G.getData(J,{method:"open.Shoppingcart.getCartData",shopping_key:G.getShoppingKey()},function(n){""===K&&(K=Y.compile(G("#mini-cart-tpl").html())),G("#miniCartBox").children(".gobuy-wrapper").html(K({carData:n})),0===parseInt(G(".ic-infomation").html())&&G("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>'),G("#miniCartBox .goods-list li").length<1&&(e=window.cookie("_g"),t=Z.parse(e),null!==t&&(a='{"_k":"'+t._k+'","_nac":0,"_ac":0,"_r":0}',window.setCookie("_g",a,{path:"/",domain:".yohobuy.com"})),G(".ic-infomation").html(0),G("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>'))})}function q(e,t){G.getData(J,{method:"open.Shoppingcart.delone",shopping_key:G.getShoppingKey(),id:e,isreduce:t},function(e){var t=window.cookie("_g"),a=Z.parse(t),n='{"_k":"'+a._k+'","_nac":'+e.total_goods_num+',"_ac":0,"_r":0}';window.setCookie("_g",n,{path:"/",domain:".yohobuy.com"}),$(),_()})}function T(){var e,t,a;G(document).on("click",".goodscardelete",function(n){e=G(this),t=e.attr("goodsid"),a=e.attr("cheapest"),q(t,a)})}function A(){var e;G(document).on("click",".mycart_i_down",function(t){e=G(this),e.toggleClass("mycart_i_up"),G("#mycartmore").slideToggle(300)})}function I(){var e,t="http://www.yohobuy.com/shopping/cart";G("#miniCartBox").on("click",function(a){e=G(a.target),e.hasClass("gobuy")&&(window.location.href=t)})}function S(e){1===e?(G("#miniCartBox").addClass("list-cur"),G(".gobuy-wrapper").show(),0!==parseInt(G(".ic-infomation").html())?(G("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-loading"><h3 class="information">加载中,请稍后</h3></div>'),$()):G("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>')):(G("#miniCartBox").removeClass("list-cur"),G(".gobuy-wrapper").hide())}function O(){var e;G("#miniCartBox").mouseenter(function(t){e=G(t.target),("miniCartBox"===e.attr("id")||"ic-infomation"===e.attr("class"))&&S(1)}),G("#miniCartBox").mouseleave(function(e){S(0)})}function P(){var e,t="indexkids",a="indexlifestyle",n="indexboys",i="indexgirls",o="uniquebrand",s=window.location.href,d=window.location.host,l="";-1!==s.indexOf("search")&&(l=re["search"+de._Channel]),-1!==s.indexOf("list")&&(l=re["list"+de._Channel]),-1!==s.indexOf("brands")&&(l=re["brands"+de._Channel]),-1!==s.indexOf("new")&&(l=re["new"+de._Channel]),-1!==s.indexOf("sale")&&(l=re["sale"+de._Channel]),-1!==s.indexOf("home")&&(l=re["home"+de._Channel]),-1!==s.indexOf("kids")&&(l=re[t]),(-1!==s.indexOf("woman")||-1!==s.indexOf("girls"))&&(l=re[i]),-1!==s.indexOf("lifestyle")&&(l=re[a]),-1!==s.indexOf("www.yohobuy.com")&&"/"===window.location.pathname&&(l=re[n]),e=d.split(".")[0],"list"!==e&&"search"!==e&&"www"!==e&&"new"!==e&&"item"!==e&&"guang"!==e&&(l=re[o+de._Channel]),r(l)}function z(e){G(".hot-brands").find("ul").stop().animate({opacity:0,"z-index":1},200).eq(e).animate({opacity:1,"z-index":2},200)}function M(){var e,t=0;G(".hot-brands").size()>0&&(e=G(".hot-brands").find("ul").size(),G(".hot-brands").find("ul").eq(0).css({opacity:1,"z-index":2}),G(".brands-control").on("click",".next",function(){t===e-1?t=0:t++,z(t)}),G(".brands-control").on("click",".prev",function(){0===t?t=e-1:t--,z(t)}))}function E(){setInterval(_,2e3)}function B(){var e=G("#goodcartempwarpper"),t="";e&&e.html()&&(t=G("#goodcartempwarpper").html().replace(/\\/g,""),G("#goodcartempwarpper").html(t),W=Y.compile(G("#tmpl-my-login-new").html()))}function D(){var e="http://search.yohobuy.com/api/suggest";G("#query_key").search(e)}function U(e){var t=(new Date).getTime(),a='<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>]',n='<span>Hi~<a href="http://www.yohobuy.com/home?t='+t+'">{{user_name}}</a></span> {{#if islogin}}[<a href="{{logout}}" class="list-a login-out">退出</a>]{{/if}}{{#unless islogin}}[<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>]{{/unless}}',i=G("#loginBox"),o=window.cookie("_UID"),s=e.data.profile_name,r=0,d=0,l="",c=o.split("::"),u=c[0]||" ",h="http://www.yohobuy.com/logout_",p="1",f=0,m={user_name:s,logout:h+e.data.token+".html",random:Math.random()};if(X=Y.compile(n),"undefined"==typeof o||null===o)return i.html(a),!1;if("undefined"==typeof c||c.length<4)return i.html(a),!1;for(d;d<u.length;d++)l=u.substr(d,1),r+=/.*[\u4e00-\u9fa5]+.*$/.test(l)?2:1;if(10>=r)s=u;else{for(f=0,d;d<u.length;d++)10>f&&(l=u.substr(d,1),"*"!==l&&(f+=/.*[\u4e00-\u9fa5]+.*$/.test(l)?2:1),s+=l);s.length<u.length&&(s+="...")}h=/http:\/\//.test(c[3])?c[3].replace("www.yohobuy.com","www.yohobuy.com"):"http://www.yohobuy.com/logout_"+c[3]+".html",-1===e.result&&(p="-1"),m.islogin=p,i.html(X(m))}function F(e){var t=e.data,a="";if(1===e.result){if(void 0===typeof t||t.length<1)return!1;"3"===t.vip.curVipInfo.curLevel&&(t.vip3=!0),G("#myYohoBox").mouseenter(function(){return G(this).addClass("acttags"),G("#myYohoBox .myyoho-info").show().html(W(t)),a=G(".myyoho-photo img").attr("data-url"),1===G._checkUrlState?void G(".myyoho-photo").show().find("img").attr("src",a):void(""!==a&&""===G._checkUrl&&G.ajax({url:a,type:"GET",complete:function(e){(200===e.status||0===e.status)&&(G(".myyoho-photo").show().find("img").attr("src",a),G._checkUrlState=1),G._checkUrl=a}}))}),G("#myYohoBox").mouseleave(function(){G(this).removeClass("acttags"),G("#myYohoBox .myyoho-info").hide()})}}function L(){var e={method:"open.passport.get"};G.getData(J,e,function(e){-1!==e.result&&(U(e),F(e))})}function H(){w(),y(),B(),C(),x(),k(),j(),o(),c(),l(),m(),P(),M(),i(),O(),_(),E(),D(),I(),T(),A(),L(),i()}var N,R,G=e("jquery"),Y=e("handlebars"),Z=e("index"),W=null,X=null,J=G("#api-domain").val(),K="",V=/^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/]{0,}$/g,Q="",ee="",te=[],ae=null,ne=0,ie=G(".icon-logo"),oe=!0,se=500,re={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"},de={},le="http://new.yohobuy.com/common/getbanner?content_code=";G("#api-domain").remove(),window.submitSearch=function(){var e,t,a=G("#query_key").val(),i=G("#defaultsearch").val(),o="Search",s="Head Search",r="Search";if(e=G.trim(Q.toLowerCase()),t=G.trim(a.toLowerCase()),n(o,s,r),""!==ee&&""!==Q&&e===t)location.href=ee.replace("'","");else{if(!V.test(a)||""===a)return""===a&&G("#query_key").val(i),G("#searchForm").submit(),!1;location.href="http://search.yohobuy.com/error?query="+a+"&result=error"}},Y.registerHelper("timestamp",function(){return(new Date).getTime()}),Y.registerHelper("headerimg",function(e){return""===e?"http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100":e}),Y.registerHelper("equallevelthree",function(e,t){return"3"===e?t.fn(this):t.inverse(this)}),Y.registerHelper("equalzero",function(e,t){return"0"===e?t.fn(this):t.inverse(this)}),window.JsonPCallBack=s,window.newArr=[],window.wrapperindex=0,window.gindex=0,window.targetArr1=[],window.targetArr2=[],window.targetArr3=[],window.oh1=0,window.oh2=0,window.oh3=0,window.valueIndex=0,window.nowIndex=0,window.inner1="",window.inner2="",window.inner3="",window.finalresult="",H()}),define("js/simple-header",["jquery"],function(e,t,a){function n(e){var t,a,n,i=0,o=0;for(n=0;n<e.length;n++)a=e.substr(n,1),o+=/.*[\u4e00-\u9fa5]+.*$/.test(a)?2:1;if(10>=o)t=e;else{for(i=0,t="",n=0;n<e.length;n++)10>i&&(a=e.substr(n,1),"*"!==a&&(i+=/.*[\u4e00-\u9fa5]+.*$/.test(a)?2:1),t+=a);t.length<e.length&&(t+="...")}return t}function i(e){var t,a;e&&e.href&&e.href.user?(a=n(e.href.user),t='<span>Hi~</span><a href="">'+a+'</a> <a href="'+e.href.logout+'">[退出]</a>'):(a=n(e.user),t='<span>Hi~</span><a href="">'+a+'</a> <a href="http://www.yohobuy.com/signin.html">[请登录]</a><a href="http://www.yohobuy.com/reg.html">[免费注册]</a>'),r(".header-tool li").eq(0).html(t)}function o(){r.ajax({type:"GET",url:"/common/getSimpleHeader",data:{},success:function(e){200===e.code&&i(e.data)}})}function s(){o()}var r=e("jquery");r(".simple-header").size()>0&&r(".tool-options").on("mouseenter",function(){r(this).find(".tool-select").fadeIn()}).on("mouseleave",function(){r(this).find(".tool-select").fadeOut()}),s()}),define("js/product/entry",["jquery","handlebars","source-map","lazyload"],function(e,t,a){e("js/product/list"),e("js/product/brand"),e("js/product/hotrank")}),define("js/product/list",["jquery","handlebars","source-map","lazyload"],function(e,t,a){e("js/product/filter"),e("js/product/sort-pager"),e("js/product/latest-walk"),e("js/product/product")}),define("js/product/filter",["jquery","handlebars","source-map"],function(e,t,a){function n(e){e.removeClass("checked").html(w.unchecked)}function i(){b.addClass("hide"),C.removeClass("hide")}function o(){C.addClass("hide"),b.removeClass("hide")}function s(e,t){var a,n=window.queryString();n[e]=t,a="?"+decodeURIComponent(g.param(n)),window.location.href=a}function r(e){T.children(".senior-sub:eq("+m+")").addClass("hide"),A.children(".attr:eq("+m+")").removeClass("hover"),m=-1}var d,l,c,u,h,p,f,m,g=e("jquery"),v=e("handlebars"),w={unchecked:"",checked:""},y={up:"",down:""},b=g(".brand .default"),C=g(".brand .brand-panel"),x=C.find(".attr"),k=g("#brand-more"),j=g("#brand-multi"),_=g(".ud-price-range"),$=/^\d+$/,q=g(".sort-sub-wrap"),T=g(".senior-sub-wrap"),A=g(".senior-attr-wrap"),I='{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a>{{/ size}}',S={},O=g(".filter-box .size");I=v.compile(I),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(),a=e.data("id");return e.hasClass("active")?(e.removeClass("active"),q.children(":eq("+t+")").addClass("hide"),void O.addClass("hide")):(e.siblings(".active").removeClass("active"),e.addClass("active"),q.children(":not(.hide)").addClass("hide"),q.children(":eq("+t+")").removeClass("hide"),void(O.data("load")||(S[a]?(O.find(".attr-content").html(S[a]),O.removeClass("hide")):g.ajax({url:"/product/search/sortSize",data:{msort:a}}).then(function(e){"array"===g.type(e)&&e.length?(S[a]=I({size:e}),O.find(".attr-content").html(S[a]),O.removeClass("hide")):O.addClass("hide")}))))}),k.length>0&&(d=k.children("em"),l=k.children(".iconfont")),j.click(function(){"none"===C.css("display")&&k.trigger("click"),i(),C.removeClass("hide").addClass("multi"),g(this).addClass("hide"),k.addClass("hide")}),k.click(function(){var e=g(this);e.hasClass("more")?(o(),d.text("更多"),l.html(y.down)):(i(),d.text("收起"),l.html(y.up)),g(this).toggleClass("more")}),g(".brands-index").on("mouseenter","span",function(){var e=g(this),t=e.data("index");e.hasClass("hover")||(e.siblings("span.hover").removeClass("hover"),e.addClass("hover"),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")||(C.find(".checked").each(function(){e.push(g(this).data("id"))}),s("brand",e.join(",")))}),g(".multi-select-cancel").click(function(){var e=g(this).closest(".multi");e.hasClass("brand-panel")&&(j.removeClass("hide"),k.trigger("click"),k.removeClass("hide")),e.addClass("hide").removeClass("multi"),o(),n(e.find(".checkbox.checked"))}),g(".check-container").on("click",".attr",function(){var e=g(this),t=e.find(".checkbox"),a=e.closest(".brand-panel, .senior-sub").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?a.removeClass("dis"):a.addClass("dis")}),g(".brand, .senior").on("click",".attr > a",function(e){g(this).closest(".multi").length>0&&e.preventDefault()}),g(".filter-box").on("click","li.checked, a.checked",function(e){e.preventDefault()}),_.length>0&&(c=_.find(".limit"),u=c.filter(".min"),h=c.filter(".max"),p=_.find(".price-sure"),c.keyup(function(){var e,t,a,n=g.trim(g(this).val()),i=$.test(n);i||(e=parseInt(n,10),g(this).val(isNaN(e)?"":e)),t=g.trim(u.val()),a=g.trim(h.val()),""!==t||""!==a?p.removeClass("hide"):p.addClass("hide")}),p.click(function(){var e,t=g.trim(u.val()),a=g.trim(h.val());""!==t&&""!==a&&+t>+a&&(e=a,a=t,t=e),s("price",t+","+a)})),A.on("mouseenter",".attr",function(){var e=g(this),t=e.index();e.hasClass("no-sub")||(e.addClass("hover").siblings().removeClass("hover"),T.children(".senior-sub:eq("+t+")").removeClass("hide").siblings().addClass("hide"))}).on("mouseleave",".attr",function(){var e=g(this),t=e.index();e.hasClass("no-sub")||(m=t,f=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"),a=[];e.hasClass("dis")||(t.find("span.checked").each(function(){a.push(g(this).data("id"))}),s(t.data("attr"),a.join(",")))}).on("mouseenter",function(){clearTimeout(f)}).on("mouseleave",function(){r()})}),define("js/product/sort-pager",["jquery"],function(e,t,a){var n=e("jquery"),i=n("#count-per-page"),o=i.next("ul"),s=200;n(document).click(function(e){n(e.target).closest(".page-count").length>0||o&&o.slideUp(s)}),i.click(function(){"none"===o.css("display")?o.slideDown(s):o.slideUp(s)})}),define("js/product/latest-walk",["jquery","handlebars","source-map","lazyload"],function(e,t,a){var n=e("jquery"),i=e("handlebars"),o=e("lazyload"),s=n("#latest-walk-count");!function(){var e;0!==s.length&&(e=i.compile(n("#latest-walk-tpl").html()),n.ajax({url:"http://itemapi.yohobuy.com/item/item/recentreview",dataType:"jsonp",data:{limit:s.val()},success:function(t){var a,i,s,r=[];if(200===t.code){if(a=t.data,0===a.length)return void n(".latest-walk").addClass("hide"); -for(i=0;i<a.length;i++)s=a[i],r.push({href:s.url,img:s.pic_url,name:s.product_name,salePrice:s.price,marketPrice:s.market_price});r.length>0&&(n("#latest-walk-goods").html(e({latestWalk:r})),o(n("#latest-walk-goods .lazy")))}}}))}()}),define("js/product/product",["jquery","lazyload"],function(e,t,a){var n,i=e("jquery"),o=e("lazyload"),s=e("js/common/product-event"),r=i(".goods-container"),d=r.find(".good-info"),l=r.find(".good-item-wrapper"),c=r.find(".good-info-main"),u=r.find(".good-select-color"),h=i(".product-list-nav");o(i("img.lazy")),t.init=function(e){function t(e,t){var a,n,i,o="",s=e.length,r=4,d=Math.ceil(s/r),l=0;for(a=0;d>a;a++)for(o+="<ul>",n=0;r>n&&(i=a*r+n,i!==s);n++)o+='<li><a target="_blank" href="'+e[a*r+n].url+t+'"><img src="'+e[a*r+n].src+'" data-cover="'+e[a*r+n].coverImg+'" /></a></li>',n===r-1&&(o+="</ul>",l++);return d>l&&(o+="</ul>"),{colorListStr:o,ulNum:d}}function a(){c.html(""),u.html(""),l.css({display:"none"})}n=null,d.unbind(),n=s(d,e),n.addHandler("MouseEnter",function(e){var n,o,s,d,h,p,f,m,g=10,v=35,w="",y=e.target.attr("data-from")||"";i.ajax({type:"POST",url:"/product/list/getProductPic",dataType:"jsonp",jsonp:"callback",data:{skn:e.target.attr("data-skn")}}).then(function(b){var C=b.data,x=t(C.pics,y);a(),w=x.colorListStr,n=x.ulNum,c.append(e.targetDuplicate),u.append(i(w)),C.isFavorite?c.find(".col-btn").addClass("coled"):c.find(".col-btn").removeClass("coled"),p=l.css("paddingLeft"),f=l.css("paddingTop"),m=r.css("paddingTop"),o=10+65*n+e.targetWidth,d=(e.targetX-1)*(e.targetWidth+g)-(parseInt(p)+1),h=(e.targetY-1)*(e.targetHeight+v)+parseInt(m)-(parseInt(f)+1),s=e.offsetR-(65*n+25),0>=s&&(d=d+s-25),l.css({width:o,left:d,top:h,display:"inline-block"}),C.pics[0]&&C.pics[0].src&&c.find(".good-thumb img").attr("src",C.pics[0].src)})}),l.mouseleave(function(){a()})},i(document).on("hover",".good-select-color li",function(){var e=i(this).find("img").attr("data-cover"),t=i(this).closest(".good-item-wrapper").find(".good-detail-img").find("img");t.attr("src",e)}),c.on("click",".col-btn",function(){var e=i(this);i.ajax({type:"POST",url:"/product/list/changeFavorite",dataType:"jsonp",data:{skn:e.closest(".good-info").data("skn"),isFavorite:e.hasClass("coled")}}).then(function(t){200===t.code?e.toggleClass("coled"):403===t.code&&(location.href="http://www.yohobuy.com/signin.html?refer="+encodeURIComponent(location.href))})}),h.find("h3").click(function(e){var t=i(this).closest(".product-list-nav");t.hasClass("active")?t.find(".sort-child-list").stop(!0,!0).slideUp():t.find(".sort-child-list").stop(!0,!0).slideDown(),t.toggleClass("active")})}),define("js/common/product-event",["jquery"],function(e,t,a){function n(){this.handlers={}}var i=e("jquery");n.prototype={constructor:n,addHandler:function(e,t){"undefined"==typeof this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t)},fire:function(e){var t,a;if(e.target||(e.target=this),this.handlers[e.type]instanceof Array)for(t=this.handlers[e.type],a=0;a<t.length;a++)t[a](e)},removeHandler:function(e,t){var a,n;if(this.handlers[e]instanceof Array){for(a=this.handlers[e],n=0;n<a.length&&a[n]!==t;n++);a.splice(n,1)}}},a.exports=function(e,t){function a(e){var a,n=0,l=0,c=t,u=0,h="",p=0,f=0;switch(e.type){case"mouseenter":a=i(this),h=a.clone(),u=a.index()+1,n=u%c===0?c:u%c,l=Math.ceil(u/c),p=a.offset().left,f=d-(p+s),o.fire({type:"MouseEnter",target:a,targetWidth:s,targetHeight:r,targetX:n,targetY:l,rowWidth:c,activeIndex:u,targetDuplicate:h,offsetL:p,offsetR:f});break;case"mouseleave":o.fire({type:"MouseLeave"})}}var o=new n,s=e.eq(0).width(),r=e.eq(0).height(),d=i(window).width();return e.bind("mouseenter",a),o}}),define("js/product/brand",["jquery"],function(e,t,a){var n=e("jquery");n("#brand-favor").on("click",function(){var e=n(this),t=window.getUid();n.ajax({type:"post",url:"/product/index/favoriteBrand",data:{uid:t,brandId:e.data("id")}}).then(function(t){200===t.code?"add"===t.message?e.find("i").addClass("coled"):e.find("i").removeClass("coled"):403===t.code&&(location.href="http://www.yohobuy.com/signin.html?refer="+encodeURIComponent(location.href))})})}),define("js/product/hotrank",["jquery","handlebars","source-map","lazyload"],function(e,t,a){var n=e("jquery"),i=e("handlebars"),o=e("lazyload");e("js/common/slider"),e("js/common/logo-brand"),o(n("img.lazy")),n(".slide-container").slider(),n(".logo-brand").logoBrand({showNum:10,url:n(".logo-brand").data("url")}),function(e){function t(t,a){var d={};d=a?{sid:t,page:a}:{sid:t},e.ajax({type:"GET",dataType:"json",url:"/product/index/getdata",data:d,success:function(t){var d;200===t.code&&(d={list:t.data},s=i.compile(n),a?(e(".hot-week-list").append(s(d)),r.css({position:"fixed",marginTop:-r.height()/2,top:"50%"})):e(".hot-week-list").html(s(d)),o(e("img.lazy")),c=!1)}})}var a,n,s,r=e(".hot-week").find(".floatlayer"),d=(e(".hot-cate").find("li").eq(0).data("sid"),1),l=0,c=!1;n='{{# list}}<div class="good-info"><div class="item-img"><a class="good-thumb" target="_blank" href="{{url}}"><img class="lazy" data-original="{{thumb}}"></a></div><div class="good-detail-text"><a target="_blank" href="{{url}}">{{name}}</a><p class="price">{{# marketPrice}}<span class="market-price">¥{{.}}</span>{{/ marketPrice}} <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">¥{{salePrice}}</span></p></div></div>{{/ list}}',e(window).on("scroll",function(){var n,i=a+e(".hot-week").outerHeight();a=e(".hot-week").offset().top,e(this).scrollTop()>=a-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()>=a+e(".hot-week").height()-e(window).height()&&(c||(n=e(".hot-cate").find("li.current").data("sid"),d++,c=!0,t(n,d)))}),e(".hot-cate").find("li").each(function(t){var a=e(".hot-cate").width();a>=l&&(l+=e(this).width(),l>=a&&e(".floatlayer").find("li").eq(t).hide().nextAll().hide())}),e(".hot-cate").on("click","li",function(){var n=e(this).index(),i=e(this).data("sid");e(this).hasClass("current")||(e(this).addClass("current").siblings().removeClass("current"),e(".floatlayer").find("li").removeClass("current").eq(n).addClass("current"),e("body,html").stop().animate({scrollTop:a-110},500),t(i),d=1)}),e(".floatlayer").on("click","li",function(){var t=e(this).index();e(this).hasClass("current")||(e(".hot-cate").find("li").eq(t).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")}(n)}),define("js/common/slider",["jquery","lazyload"],function(e,t,a){var n=e("jquery"),i=e("lazyload");!function(e){var t=function(t,a){this.$element=e(t),this.options=e.extend({},e.fn.slider.defaults,a),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(){if(this.$element){if(this.len<=1)return void i(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(),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">',a=0;if(!(this.len<=1)){for(a=0;a<this.len;a++)t+="<span></span>";t+="</div></div></div>",this.$element.append(e(t)),this.smallItem=this.$element.find(".slide-pagination-inner 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 t=this.bigItem.eq(this.index).find("img.lazy");t.attr("src")!==t.data("original")&&(i(t,{event:"sporty"}),t.trigger("sporty")),this.smallItem.eq(this.index).addClass("focus").siblings().removeClass("focus"),this.bigItem.eq(this.index).show().stop().animate({opacity:1}).siblings().stop().animate({opacity:0},function(){e(this).hide()})},_autoplay:function(){var e=this;clearInterval(this.timer),this.timer=setInterval(function(){e._nextSlide()},this.options.time)}},e.fn.slider=function(a){return this.each(function(){var n=e(this),i=n.data("Slider"),o="object"==typeof a&&a;i||n.data("Slider",i=new t(this,o)),"string"==typeof a&&i[a]()})},e.fn.slider.Constructor=t,e.fn.slider.defaults={time:5e3,orient:!0,pagination:null}}(n)}),define("js/common/logo-brand",["jquery","handlebars","source-map","lazyload"],function(e,t,a){var n=e("jquery"),i=e("handlebars"),o=e("lazyload");!function(e){var t=function(t,a){this.$element=e(t),this.options=e.extend({},e.fn.logoBrand.defaults,a),this.init()};t.prototype={init:function(){this.$element.addClass("logos-"+this.options.showNum),this._sendRequest()},_createHelper:function(){var e=this.options.showNum;i.registerHelper("brandList",function(t,a){var n="<ul>",i=0,o=null,s=0;if(t.length%e!==0)for(s=e-t.length%e,i=0;s>i;i++)t.push({href:"javascript:;",img:""});for(i=0;i<t.length;i++)o=a.fn(t[i]),n=i%e===5||5===i?n+'<li class="logo-brand-switch" data-page="'+Math.floor(i/e)+'"><a class="prev iconfont" href="javascript:;"></a><a class="next iconfont" href="javascript:;"></a></li><li data-page="'+Math.floor(i/e)+'">'+o+"</li>":0!==i&&i%e===0?n+'<li class="brand-more" data-page="'+Math.floor(i/(e+1))+'"><a href="javascript:;" target="_blank">MORE ></a></li><li data-page="'+Math.floor(i/e)+'">'+o+"</li>":n+'<li data-page="'+Math.floor(i/e)+'">'+o+"</li>";return n+'<li class="brand-more" data-page="'+Math.floor(i/(e+1))+'"><a href="javascript:;" target="_blank">MORE ></a></li></ul>'})},_sendRequest:function(){var t=this;e.ajax({type:"GET",url:t.options.url,dataType:"json",success:function(e){var a,n;e&&0!==e.length&&(t._createHelper(),n='{{#brandList logoBrand}}<a href="{{href}}" target="_blank"><img class="lazy" data-original="{{img}}" alt=""></a>{{/brandList}}',a=i.compile(n),t.$element.html(a(e)),t.$element.find(".brand-more a").attr("href",e.moreBrand),o(t.$element.find("img.lazy")),t._bindEvent())}})},_brandShow:function(t,a){var n=this;o(e("li[data-page="+a+"]").find("img.lazy").trigger("appear")),n.$element.find("li[data-page="+t+"]").find("img").fadeOut("normal",function(){n.$element.find("li").hide(),n.$element.find("li[data-page="+a+"]").show().find("img").fadeIn()})},_bindEvent:function(){var t=this;t.$element.on("click",".next",function(){var a=e(this).parent().data("page"),n=0,i=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;n=a===i?0:a+1,t._brandShow(a,n)}),t.$element.on("click",".prev",function(){var a=e(this).parent().data("page"),n=0,i=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;n=0===a?i:a-1,t._brandShow(a,n)})}},e.fn.logoBrand=function(a){return this.each(function(){var n=e(this),i=n.data("LogoBrand"),o="object"==typeof a&&a;i||n.data("LogoBrand",i=new t(this,o)),"string"==typeof a&&i[a]()})},e.fn.logoBrand.Constructor=t,e.fn.logoBrand.defaults={showNum:16,url:"/boys/getBrand"}}(n)}),define("js/home/entry",["jquery","lazyload","handlebars","source-map"],function(e,t,a){e("js/home/home")}),define("js/home/home",["jquery","lazyload","handlebars","source-map"],function(e,t,a){var n=e("jquery"),i=e("lazyload"),o=n(".home-page").data("page"),s=n(".logo-brand").data("url");e("js/common/slider"),e("js/common/slider2"),e("js/common/logo-brand"),e("js/common/accordion"),n(document).on("mouseenter",".imgopacity a img",function(){n(this).css("opacity",.8)}),n(document).on("mouseout",".imgopacity a img",function(){n(this).css("opacity",1)}),n.inArray(o,["boys","girls","kids","lifestyle"])>-1&&(e("js/common/new-arrivls")({type:o,url:"/common/getNewArrival",count:"boys"===o||"lifestyle"===o?5:4,rows:[5,3]}),window.setCookie("_Channel",o,{domain:".yohobuy.com",path:"/",expires:365})),i(n("img.lazy")),"boys"===o?n(".slide-container").slider({pagination:".thumb-pagination"}):(n(".center-col").slider(),n(".slide-container").slider()),"boys"===o?(n(".logo-brand").logoBrand({url:s}),n(".img-brand").slider2()):(n(".logo-brand").logoBrand({showNum:10,url:s}),n(".img-slider-wrapper").slider2())}),define("js/common/slider2",["jquery"],function(e,t,a){var n=e("jquery");!function(e){e.fn.slider2=function(t){function a(t,a,i){i===!0?(e(".next").trigger("click"),t===a-3?n(--t,a,!1):n(++t,a,!0)):(e(".prev").trigger("click"),0===t?n(++t,a,!0):n(--t,a,!1))}function n(t,n,i){window.setTimeout(a,e.fn.slider2.defaults.delaytime,t,n,i)}function i(t,a,n){var i=-(t*a);e(".img-list").animate({"margin-left":i+"px"},"slow",n)}return e.fn.slider2.defaults={index:0,shownum:3,autoplay:!1,delaytime:3e3},this.each(function(){var a=e.extend({},e.fn.slider2.defaults,t),o=parseInt(e(".img-item").css("margin-right")),s=e(".img-item"),r=[],d=s.outerWidth()+o,l=s.length,c=0;if(3>=l)return void e(this).find(".img-brand-switch").hide();for(c=0;c<s.length;c++)r.push(s[c]);l=r.length,e(this).find(".img-list").css({width:d*l}),e(this).find(".next").on("click",function(t){var a=0,n=null;t.preventDefault(),i(3,d,function(){for(a=0;3>a;a++)n=r.shift(),e(".img-item").parent().append(n.outerHTML),r.push(n);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 a=0,n=null,o="";for(t.preventDefault(),a=0;3>a;a++)n=r.pop(),e(".img-item").parent().prepend(n.outerHTML),r.unshift(n);o=3*d,e(".img-item").last().remove(),e(".img-item").last().remove(),e(".img-item").last().remove(),e(".img-list").css({"margin-left":-o+"px"}),i(0,d)}),a.autoplay===!0&&n(a.index,l,!0)})}}(n)}),define("js/common/accordion",["jquery"],function(e,t,a){function n(e){d.each(function(t){s(this).css("zIndex",t),e>=t?s(this).stop().animate({left:t*c},400):s(this).stop().animate({left:e*c+l+c*(t-e-1)},400)})}var i,o=e("js/common/yohoui/YH.slide"),s=e("jquery"),r=s(".slide-accordion"),d=r.find("li"),l=d.width(),c=1150===parseInt(s(".home-page").width())?125:107;n(0),i=new o({length:5,loop:!1,auto:!1,timeout:2,index:0}),i.on("change",function(e){n(e.to)}),d.mouseover(function(){i.go(s(this).index())}),i.init()}),define("js/common/yohoui/YH.slide",[],function(e,t,a){var n=e("js/common/yohoui/YH.base"),i=function(e){this.__lastTime=null,this.__isStop=!1,e=n.extend(this.defaults,e),i.superclass.constructor.call(this,e)};n.inherit(i,n.assembly),i.prototype.oninit=function(){var e=this,t=e.options;return t.auto&&e.play(),e.go(t.index),this},i.prototype.go=function(e,t){var a,n,i,o,s,r,d,l,c=this,u=c.options;c.__lastTime&&(clearTimeout(c.__lastTime),c.__lastTime=null),t="undefined"==typeof t?u.index:t,a=e===t?0:e>t?1:-1,n=u.loop,o=u.length-1,s=e,e=n?e>o?e-o-1:0>e?e+o+1:e:e>o?o:0>e?0:e,i=u.index=e,r={from:t,to:e,originalto:s,direction:a};for(d in c.registerEvent)if(c.registerEvent[d].length>0)for(l in c.registerEvent[d])c.registerEvent[d].hasOwnProperty(l)&&c.registerEvent[d][l](r);i!==o||e?!c.__isStop&&u.auto&&c.play():c.__lastTime&&clearTimeout(c.__lastTime)},i.prototype.play=function(){var e=this,t=e.options;return e.__lastTime=setTimeout(function(){e.next()},1e3*t.timeout),this},i.prototype.next=function(){var e=this,t=e.options,a=t.index,n=a+t.step;e.go(n,a)},i.prototype.prev=function(){var e=this,t=e.options,a=t.index,n=a-t.step;e.go(n,a)},i.prototype.pause=function(){var e=this;e.__lastTime&&clearTimeout(e.__lastTime),e.__isStop=!0},i.prototype.resume=function(){var e=this;e.__isStop=!1,e.play()},i.prototype.defaults={index:0,timeout:5,step:1,per:1,auto:!1,loop:!1},a.exports=i}),define("js/common/yohoui/YH.base",[],function(e,t,a){var n,i={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Function]":"function","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object String]":"string"},o={__Index:0,list:[],get:function(e){return void 0===e?this.list:this.list[e]},fn:function(){},inherit:function(e,t){var a=o.fn;a.prototype=t.prototype,e.prototype=new a,e.prototype.constructor=e,e.superclass=t.prototype,e.prototype.constructor===Object.prototype.constructor&&(e.prototype.constructor=t)},extend:function(e,t){var a;for(a in t)t.hasOwnProperty(a)&&(e[a]=t[a]);return e},copy:function(e,t,a){var n,i,s;if("object"!=typeof t)return t;if(n=t.valueOf(),t!==n)return new t.constructor(n);if(t instanceof t.constructor&&t.constructor!==Object){i=e?new e:o.clone(t.constructor.prototype);for(s in t)(e||t.hasOwnProperty(s))&&(i[s]=t[s])}else{i={};for(s in t)i.hasOwnProperty(s)&&(i[s]=t[s])}if(a)for(s in a)i.hasOwnProperty(s)&&(i[s]=a[s]);return i},clone:function(e){return o.__cloneFunc.prototype=e,new o.__cloneFunc},__cloneFunc:function(){},delegate:function(e,t){var a;return t=t||window,arguments.length>2?(a=Array.prototype.slice.call(arguments,2),function(){return e.apply(t,a)}):function(){return e.call(t)}},dom:function(e,t){var a,n,i=e,o={wrap:i},s=i[0].getElementsByTagName("*"),r=s.length;for(n=0;r>n;n++)a=s[n].className,a.indexOf(t)>-1&&(a=a.split(t)[1]),a&&(o[a]=i.find(s[n]));return o},template:function(){var e,t,a,n,i=arguments;if(i.length>0&&o.isString(i[0]))if(e=i[0],2===i.length&&o.isObject(i[1]))for(t in i[1])void 0!==i[1][t]&&(a=new RegExp("({"+t+"})","g"),e=e.replace(a,i[1][t]));else for(n=1;n<i.length;n++)void 0!==i[n]&&(a=new RegExp("({["+(n-1)+"]})","g"),e=e.replace(a,i[n]));return e},__type:function(e){return null==e?String(e):i[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,a){var n,i;if(o.isArray(e))for(n=0,i=e.length;i>n&&t.call(e[n],n,e[n],a)!==!1;n++);else for(n in e)if(t.call(e[n],n,e[n],a)===!1)break},funManager:{__loadList:{},__loadFun:function(e,t,a){e.methord&&o.isFunction(e.methord())&&(a=a||window,e.methord()(e,function(){t()},a))},load:function(e,t,a,n){n=n||0,e[n]&&o.funManager.__loadFun(e[n],function(){o.funManager.load(e,t,a,n+1)},a),t(n,a)},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,a=t.detail?-1*t.detail:t.wheelDelta/40,n=0>a?-1:1;return{direction:n,unit:a}},__:function(e,t,a,n){var i;for(i in e)if(window[e[i].validator]){t[e[i].validator](e[i].prefix+a,n,!1);break}},add:function(e,t,a){var n=[{validator:"addEventListener",prefix:""},{validator:"attachEvent",prefix:"on"}];this.__(n,e,t,a)},remove:function(e,t,a){var n=[{validator:"removeEventListener",prefix:""},{validator:"detachEvent",prefix:"on"}];this.__(n,e,t,a)}},getUid:function(e){return o.template("me-{0}{1}-{2}",e,(new Date).getTime(),o.__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"],a=document.createElement("div");for(e in t)if(void 0!==a.style[t[e]])return o.template("-{0}-",t[e].replace("Perspective","").toLowerCase())},parseURL:function(e){var t,a,n,i,o,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={},a=s.search.replace(/^\?/,"").split("&"),n=a.length,i=0,o;n>i;i++)a[i]&&(o=a[i].split("="),t[o[0]]=o[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 a;for(a=0;a<e.length;a++)if(this[a]===t)return a;return-1},remove:function(e,t){var a=this.indexOf(e,t);return a>-1&&e.splice(a,1),e}}};n=function(e){this.initialized=!1,this.registerEvent={before:[],change:[],after:[]},this.options=e,this.init(e)},n.output=function(){o.log(o.list)},n.prototype.oninit=o.fn,n.prototype.init=function(e){this.initialized=!0,this.__Uid=o.getUid("me"),this.oninit(e),o.list[this.__Uid]=this},n.prototype.destory=function(){this.initialized=!1,delete o.list[this.__Uid]},n.prototype.getUid=function(){return this.__Uid},n.prototype.getOptions=function(){return this.options},n.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]}},n.prototype.on=function(e,t){var a=this,n=a.registerEvent[e];return n&&n.push(t),n},n.prototype.off=function(e,t){var a=this,n=a.registerEvent[e],i=[];o.each(n,function(e,a){a===t&&i.push(e)}),o.each(i.reverse(),function(e,t){n.splice(t,1)})},o.assembly=n,a.exports=o}),define("js/common/new-arrivls",["jquery","lazyload","handlebars","source-map"],function(e,t,a){function n(e){var t={index:0,isload:!0,isrun:!0,offset:{height:null,width:null}};return this.registerEvent={before:[],change:[],after:[]},this.options=i.extend(!0,{},t,e),this}var i=e("jquery"),o=e("lazyload"),s=e("handlebars");n.prototype.on=function(e,t){var a=this,n=a.registerEvent[e];return n&&n.push(t),n},n.prototype.exect=function(e,t){var a,n=this;if(n.registerEvent[e]&&n.registerEvent[e].length>0)for(a in n.registerEvent[e])n.registerEvent[e].hasOwnProperty(a)&&n.registerEvent[e][a](t)},n.prototype.init=function(){function e(){a.isrun&&a.isload&&t.__directionCalculation()&&(a.isload=!1,a.index++,t.exect("after",a)),t.exect("change",a)}var t=this,a=this.options;t.exect("before",a),i(window).scroll(e)},n.prototype.emit=function(){var e=this.options;e.isload=!0},n.prototype.stop=function(){var e=this.options;e.isrun=!1,e.isload=!1},n.prototype.__directionCalculation=function(){var e=this.options;return e.offset.height&&e.offset.height()>0&&i(window).scrollTop()+i(window).height()>=e.offset.height()?!0:!1},a.exports=function(e){var t,a=i("#newarrivals .goods-container"),r=i(".loading a"),d=new n({index:1,isload:!1,offset:{height:function(){return parseFloat(a.offset().top)+parseFloat(a.height())-200}}}),l=e.url,c=e.count,u=e.rows;e.pageIndex=0,delete e.url,delete e.count,delete e.rows,t=function(e,t,n){var l={type:"POST",url:e,success:function(e){var i,l,c,u=e.code;200===u?(l=e.goods.length%n,c=e.goods.length-l-1,e.goods.splice(c,l),i=s.compile(d.tpl),a.append(i(e.goods)),t.pageIndex=t.pageIndex+e.goods.length,o(a.find("img.lazy")),d.emit()):(d.stop(),r.html("查看更多"))},error:function(){d.stop(),r.html("网络断开连接了~")}};l.data=t,i.ajax(l)},d.on("after",function(a){e.pageCount=c*u[1],t(l,e)}),d.on("before",function(a){d.tpl="{{#each this}}",d.tpl+='<div class="good-info imgopacity" data-skn="{{skn}}">',d.tpl+=' <div class="tag-container clearfix">',d.tpl+=" {{# tags}}",d.tpl+=" {{# isNew}}",d.tpl+=' <span class="good-tag new-tag">NEW</span>',d.tpl+=" {{/ isNew}}",d.tpl+=" {{# isReNew}}",d.tpl+=' <span class="good-tag renew-tag">再到着</span>',d.tpl+=" {{/ isReNew}}",d.tpl+=" {{# isSale}}",d.tpl+=' <span class="good-tag sale-tag">SALE</span>',d.tpl+=" {{/ isSale}}",d.tpl+=" {{# isNewFestival}}",d.tpl+=' <span class="good-tag new-festival-tag">新品节</span>',d.tpl+=" {{/ isNewFestival}}",d.tpl+=" {{# isLimit}}",d.tpl+=' <span class="good-tag limit-tag">限量商品</span>',d.tpl+=" {{/ isLimit}}",d.tpl+=" {{# isYearEndPromotion}}",d.tpl+=' <span class="good-tag yep-tag">年终大促</span>',d.tpl+=" {{/ isYearEndPromotion}}",d.tpl+=" {{# isYearMidPromotion}}",d.tpl+=' <span class="good-tag ymp-tag">年中热促</span>',d.tpl+=" {{/ isYearMidPromotion}}",d.tpl+=" {{/ tags}}",d.tpl+=" </div>",d.tpl+=' <div class="good-detail-img">',d.tpl+=' <a class="good-thumb" href="{{url}}" target= "_blank">',d.tpl+=' <img class="lazy" data-original="{{thumb}}">',d.tpl+=" </a>",d.tpl+=" {{# isFew}}",d.tpl+=' <p class="few-tag">即将售罄</p>',d.tpl+=" {{/ isFew}}",d.tpl+=" {{#if showColBtn}}",d.tpl+=' <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>',d.tpl+=" {{/if}}",d.tpl+=" </div>",d.tpl+=' <div class="good-detail-text">',d.tpl+=' <a href="{{url}}" target= "_blank">{{name}}</a>',d.tpl+=' <p class="price">',d.tpl+=' <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">',d.tpl+=" ¥{{salePrice}}",d.tpl+=" </span>",d.tpl+=" {{# marketPrice}}",d.tpl+=' <span class="market-price">¥{{.}}</span>',d.tpl+=" {{/ marketPrice}}",d.tpl+=" </p>",d.tpl+=" </div>",d.tpl+="</div>",d.tpl+="{{/each}}",e.pageCount=c*u[0],t(l,e,e.count)}),d.init()}}),define("js/brand/index",["jquery","lazyload","handlebars","source-map","dot"],function(e,t,a){var n=e("jquery"),i=e("lazyload");e("js/common/slider"),e("js/brand/brands"),i(n("img.lazy")),n(".slide-container").slider({orient:!0})}),define("js/brand/brands",["jquery","handlebars","source-map","dot"],function(e,t,a){function n(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),a=window.location.search.substr(1).match(t);return null!=a?window.unescape(a[2]):null}function i(e,t,a){var n,i=e,o={width:i.width(),left:i.offset().left,right:parseFloat(l(window).width())-parseFloat(i.offset().left)-parseFloat(i.width())},s=i.parent("li");p.find(".brands-dialog").remove(),n=c.compile(a),s.append(n(t)),u(s.find(".right")),o.right-350<0&&s.find(".brands-layer").addClass("brands-layer-right").css("left",-330-o.width)}function o(){v.unbind("mouseenter").unbind("mouseleave").hover(function(){var e=l(this),t=e.attr("data-key"),a={url:"/brands/brandinfo",type:"get",data:{brandId:t},success:function(t){200===t.code&&t.brand&&(_.hasOwnProperty(t.brand.key)||(_[t.brand.key]=t.brand),i(e,_[t.brand.key],$))}};clearTimeout(r),r=setTimeout(function(){_.hasOwnProperty(t)?i(e,_[t],$):l.ajax(a)},200)},function(){clearTimeout(r),p.find(".brands-dialog").remove()})}var s,r,d,l=e("jquery"),c=e("handlebars"),u=e("dot"),h=l(".brands-tabs"),p=l(".brands-list"),f=l(".brands-category"),m=l(".news-txt ul"),g=p.find("dl.clearfix"),v=p.find("li>a"),w=f.find("a"),y=h.find("li>a"),b=h.find(".hoverarr"),C=w.height(),x=w.offset()?w.offset().top:0,k=m.height(),j=m.offset()?m.offset().top:0,_={},$='<div class="brands-dialog">';$+=' <div class="brands-layer">',$+=' <div class="layer-content">',$+=' <div class="title">{{title}}</div>',$+=' <div class="clearfix desc">',$+=' <img src="{{icon}}">',$+=' <p class="right">{{content}}</p>',$+=" </div> ",$+=' <div class="featured">',$+=" <p>{{subtitle}}</p> ",$+=' <div class="clearfix"> ',$+=" {{#each imgs}}",$+=' <img src="{{src}}">',$+=" {{/each}}",$+=" </div>",$+=" </div>",$+=" </div>",$+=" </div>",$+="</div>",u(l(".brand-desc")),l.easing.easeOutQuint=function(e,t,a,n,i){return n*((t=t/i-1)*t*t*t*t+1)+a},m.length&&m.find("li").each(function(){var e=l(this),t=e.offset().top-j+e.height();t>k&&e.hide()}),y.eq(0).parent("li").find(".brands-content").css("z-index","1"),d=n("id")?n("id"):0,s=y.eq(d),s.find(".g-mask").addClass("g-mask-on"),d&&s.length&&b.css({left:parseFloat(s.offset().left)-parseFloat(h.offset().left)}),y.hover(function(){var e=l(this);clearTimeout(r),r=setTimeout(function(){var t=parseFloat(e.offset().left)-parseFloat(h.offset().left);b.animate({left:t},200,"easeOutQuint")},50),h.find(".brands-content").removeAttr("style"),e.parent("li").find(".brands-content").css("z-index","1")},function(){clearTimeout(r)}),l(window).scroll(function(){l(this).scrollTop()>=x?f.addClass("category-fix"):f.removeClass("category-fix")}),w.click(function(){var e=l(this).attr("href").split("#")[1],t=p.find("[name="+e+"]").offset().top-C;return f.hasClass("category-fix")||(t-=C),l("html,body").animate({scrollTop:t},200),!1}),g.length<26&&l.ajax({url:"/brands/brandList",type:"POST",data:{start:g.length?g.length+1:1},success:function(e){e&&(p.append(e),v=p.find("li>a"),o())}}),o()}),define("js/passport/entry",["jquery","jquery.placeholder"],function(e,t,a){e("js/passport/reg"),e("js/passport/back"),e("js/passport/login"),e("js/passport/reset"),e("js/passport/vertification"),e("js/passport/thirdlogin"),e("js/passport/enablePerfectInformation")}),define("js/passport/reg",["jquery","jquery.placeholder"],function(e,t,a){function n(e,t){var a,n;"reg"===e?(a="/passport/register/checkmobile",n={mobile:j.val(),area:S.text().split("+")[1]}):"third"===e&&(a="/passport/autouserinfo/bindCheck",n={mobile:j.val(),area:S.text().split("+")[1],openId:p("#open-id").val(),sourceType:p("#source-type").val()}),p.ajax({url:a,type:"POST",data:n}).then(function(e){switch(e.code){case 200:k[0].message="",k[0].status=!0;break;case 400:k[0].message=e.message,k[0].status=!1}t()})}function i(e,t){var a;"reg"===e?a="/passport/register/piccaptcha":"third"===e&&(a="/passport/autouserinfo/checkPicCode"),p.ajax({type:"POST",url:a,data:{verifyCode:T.val()}}).then(function(e){switch(e.code){case 200:k[1].message="",k[1].status=!0;break;case 400:k[1].message="图形验证码错误",k[1].status=!1}t()})}function o(e,t){var a;"reg"===e?a="/passport/register/msgcaptcha":"third"===e&&(a="/passport/autouserinfo/checkBindMsg"),p.ajax({type:"POST",url:a,data:{code:_.val(),mobile:j.val(),area:S.text().split("+")[1]}}).then(function(e){switch(e.code){case 200:k[2].message="",k[2].status=!0;break;case 400:k[2].message="短信验证码错误",k[2].status=!1}t()})}function s(e,t,a){var s,r=p.trim(t.val()),d=/^(?![^a-zA-Z]+$)(?!\D+$).{6,20}$/;t.hasClass("phone-num")?(s=S.text(),""===r?(k[0].message="请输入手机号码",k[0].status=!1,a()):f.phoneRegx[s].test(r)?n(e,a):(k[0].message="手机号码格式不正确,请重新输入",k[0].status=!1,a())):t.hasClass("captcha")?""===r?(k[1].message="请输入图形验证码",k[1].status=!1,a()):r.length<=3?(k[1].message="图形验证码为4位",k[1].status=!1,a()):k[0].status?i(e,a):(k[1].message="图形验证码错误",k[1].status=!1,a()):t.hasClass("msg-captcha")?""===r?(k[2].message="请输入短信验证码",k[2].status=!1,a()):r.length<=3?(k[2].message="短信验证码错误",k[2].status=!1,a()):k[1].status?o(e,a):(k[2].message="短信验证码错误",k[2].status=!1,a()):t.hasClass("pwd")?(""===r?(k[3].message="请输入密码", -k[3].status=!1):r.length<6||r.length>20?(k[3].message="密码只支持6-20位字符",k[3].status=!1):d.test(t.val())?(k[3].message="",k[3].status=!0):(k[3].message="密码只支持6-20位字符,建议字母+数字的组合。",k[3].status=!1),a()):t.hasClass("repwd")&&(""===r?(k[4].message="请输入密码确认",k[4].status=!1):$.val()!==r?(k[4].message="与密码不一致,请重新输入",k[4].status=!1):(k[4].message="",k[4].status=!0),a())}function r(){var e=h.offset();return y.css({top:e.top-40,left:e.left})}function d(){var e,t=!1,a=k.length;for(e=0;a>e;e++)t||(k[e].message?(y.find("span").text(k[e].message),h=p("#"+k[e].id),r().removeClass("hide"),t=!0):y.addClass("hide"))}function l(){var e,t,a=k.length;for(t=0;a>t;t++)k[t].message?(e=p("#"+k[t].id),e.addClass("error")):(e=p("#"+k[t].id),e.removeClass("error"))}function c(e){var t=e.val(),a=m(t),n=0;switch(n=0===a?0:10>=a?1:20>=a?2:3){case 0:I.removeClass("red yellow green"),A.removeClass("color");break;case 1:I.addClass("red").removeClass("yellow green"),A.filter(".low").addClass("color"),A.filter(".mid,.high").removeClass("color");break;case 2:I.addClass("yellow").removeClass("red green"),A.filter(".low,.mid").addClass("color"),A.filter(".high").removeClass("color");break;case 3:I.addClass("green").removeClass("yellow red"),A.addClass("color")}""===t?w.removeClass("red yes no").addClass("default"):t.length<6||t.length>20?w.removeClass("default yes").addClass("no red"):w.removeClass("default no red").addClass("yes")}var u,h,p=e("jquery"),f=e("js/passport/mail-phone-regx"),m=e("js/passport/pwd-strength"),g=p(".register-page"),v=p("#pwd-tips"),w=v.find("#pwd-tip1"),y=p("#err-tip"),b=p("#register-btn"),C=p("#send-captcha"),x=4,k=[],j=p("#phone-num"),_=p("#msg-captcha"),$=p("#pwd"),q=p("#repwd"),T=p("#captcha"),A=p(".pwd-intensity"),I=A.closest(".pwd-intensity-container"),S=p("#country-code"),O=p("#region"),P=!1;e("jquery.placeholder"),setTimeout(function(){j.val(""),_.val(""),$.val(""),q.val(""),T.val("")},0),T.attr("maxlength",x),$.focus(function(e){v.removeClass("hide"),P=!0,u=p(this).val()}).blur(function(){v.addClass("hide"),P=!1}),p("[placeholder]").placeholder(),k=[{id:"phone-num",message:"",status:!1},{id:"captcha",message:"",status:!1},{id:"msg-captcha",message:"",status:!1},{id:"pwd",message:"",status:!1},{id:"repwd",message:"",status:!1}],p(window).resize(function(){y.hasClass("hide")||r()}),t.init=function(e){p("#agree-terms").click(function(){p(this).attr("notchecked")&&(p(this).removeAttr("notchecked"),b.addClass("disable").attr("disabled","true"))}),g.on("keydown",function(e){var t=e.which;13===t&&b.click()}),g.find(".va").keyup(function(){var t,a=0,n=k.length,i=p(this);s(e,p(this),function(){for(d(),l(),t=0;n>t;t++)k[t].status&&a++;4!==a||p("#agree-terms").attr("notchecked")?b.addClass("disable").attr("disabled","true"):b.removeClass("disable").removeAttr("disabled"),k[1].status?C.removeClass("disable"):C.addClass("disable")}),i.hasClass("pwd")&&c(i)}).blur(function(){}),O.change(function(){S.text(p("#region").val()),s(e,j,d)}),C.click(function(){var t,a,n=60;p(this).hasClass("disable")||(C.addClass("disable"),t=setInterval(function(){return 0>=n?(C.removeClass("disable").val("获取短信验证码"),void clearInterval(t)):void C.val(n--+"秒可重新发送")},1e3),"reg"===e?a="/passport/register/sendBindMsg":"third"===e&&(a="/passport/autouserinfo/sendBindMsg"),p.ajax({type:"POST",url:a,data:{area:S.text().split("+")[1],mobile:j.val(),verifyCode:T.val()}}))}),$[0].onpaste=function(){return!1},b.click(function(){var t;"reg"===e?t="/passport/register/mobileregister":"third"===e&&(t="/passport/autouserinfo/bindMobile"),p(this).hasClass("disable")||p.ajax({type:"POST",url:t,data:{area:S.text().split("+")[1],mobile:j.val(),verifyCode:T.val(),code:_.val(),password:$.val()}}).then(function(e){var t,a,n=0;200===e.code?(a=e.data.href,t=setTimeout(function(){n++},1e3),p.ajax({type:"GET",url:e.data.session}).then(function(e){200===e.code&&3>t&&(clearInterval(t),location.href=a)}),t>=3&&(clearInterval(t),location.href=a)):console.log("网络超时~")})}),p(".change-captcha").click(function(){var e=new Date,t=p(".captcha-img"),a=t.attr("src").split("?")[0];t.attr("src",a+"?t="+e.getTime())})}}),define("js/passport/mail-phone-regx",[],function(e,t,a){var n={"+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]{1}[0-9]{8}$/,"+81":/^0[9|8|7][0-9]{9}$/,"+61":/^[0-9]{11}$/},i=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/;t.phoneRegx=n,t.emailRegx=i}),define("js/passport/pwd-strength",[],function(e,t,a){function n(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function i(e,t,a){var n=e.charCodeAt(0),i=t.charCodeAt(0);return n-i===0?!0:4===a||n-i!==1&&n-i!==-1?!1:!0}function o(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t,a,s=0,r=e.length,d="",l=0,c=0;for(c=0;r>c;c++)t=e.charAt(c),a=n(e,c),l===a&&i(t,d,a)||(s+=a+o(a,l)),d=t,l=a;return s}a.exports=s}),define("js/passport/back",["jquery","jquery.placeholder"],function(e,t,a){function n(){var e=new Date,t=d("#captcha-img"),a=t.attr("src").split("?")[0];d("#captcha-img").attr("src",a+"?t="+e.getTime())}function i(){x&&k?w.removeClass("disable").prop("disabled",!1):w.addClass("disable").prop("disabled",!0)}function o(e){var t=!0,a="";return e=d.trim(e),""!==e?/^[0-9]+$/.test(e)?l[c.val()].test(e)?t=!0:(a="手机号码格式不正确, 请重新输入",t=!1):f.test(e)?t=!0:(a="邮箱格式不正确, 请重新输入",t=!1):(a="账户名不能为空",t=!1),x=t,{pass:t,errTxt:a}}function s(){var e=d.trim(h.val());return""===e||e.length<C?(k=!1,void i()):void d.ajax({type:"POST",url:"/passport/back/authcode",data:{verifyCode:e,phoneNum:d("#phone-num").val(),area:d("#country-code-hide").val()}}).then(function(e){200===e.code?k=!0:402===e.code?(x=!1,k=!0,y.removeClass("hide").find("em").text("该账号不存在"),u.addClass("error")):400===e.code&&(k=!1,n()),i()})}var r,d=e("jquery"),l=e("js/passport/mail-phone-regx").phoneRegx,c=d("#country-code-hide"),u=d("#phone-num"),h=d("#captcha"),p=d("#tip-panel"),f=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/,m=[["qq.com","163.com","126.com","sina.com","gmail.com","sohu.com","hotmail.com","139.com","189.com"],["gmail.com","qq.com","163.com","126.com","sina.com","sohu.com","hotmail.com","139.com","189.com"]],g=d("#country-code-list"),v=d("#country-code"),w=d("#find-btn"),y=d("#account-err"),b=d("#captcha-err"),C=4,x=!1,k=!1;e("jquery.placeholder"),h.attr("maxlength",C),d("input").placeholder(),d("#change-captcha, #captcha-img").on("click",function(){n()}),v.on("click",function(e){e.stopPropagation(),"block"===g.css("style")?g.slideUp("fast"):g.slideDown("fast")}),g.delegate("li","click",function(e){var t,a=d(this),n=a.data("cc");e.stopPropagation(),c.val(n),v.find("em").html(a.text()),""!==d.trim(u.val())&&(t=o(u.val()),i(),x?(y.addClass("hide"),u.removeClass("error")):(y.removeClass("hide").text(t.errTxt),u.addClass("error"))),g.slideUp("fast")}),d(document).click(function(){"block"===p.css("display")&&p.slideUp(),"block"===g.css("display")&&g.slideUp()}),u.keyup(function(){var e,t,a=d.trim(d(this).val()),n="";if(-1!==a.indexOf("@")&&a.lastIndexOf("@")===a.indexOf("@")){for(e=/^[0-9]*@$/.test(a)?m[0]:m[1],t=0;t<e.length;t++)n+="<li>"+a.slice(0,a.indexOf("@"))+"@"+e[t]+"</li>";p.html(n).slideDown()}else p.slideUp();o(a),i()}).blur(function(){r=setTimeout(function(){var e=o(u.val());e.pass?(y.addClass("hide"),u.removeClass("error")):(y.removeClass("hide").find("em").text(e.errTxt),u.addClass("error"))},170)}).focus(function(){d(this).removeClass("error"),y.addClass("hide")}),h.blur(function(){var e=""===d.trim(h.val())?"验证码不能为空":"验证码不正确";k?(b.addClass("hide"),h.removeClass("error")):(b.removeClass("hide").find("em").text(e),h.addClass("error"),n())}).focus(function(){d(this).removeClass("error"),b.addClass("hide")}).keyup(function(){s()}),p.delegate("li","click",function(e){var t,a=d(this).text();e.stopPropagation(),u.val(a),r&&(clearTimeout(r),t=o(a),i(),t.pass?(y.addClass("hide"),u.removeClass("error")):(y.removeClass("hide").find("em").text(t.errTx),u.addClass("error")),r=null),p.slideUp()}),d("#find-btn").click(function(e){return/^[0-9]+$/.test(d.trim(u.val()))&&d("#find-form").attr("action","/passport/back/mobile"),d(this).hasClass("disable")?void 0:k&&x?void 0:(e.preventDefault(),!0)})}),define("js/passport/login",["jquery","jquery.placeholder"],function(e,t,a){function n(){var e,t=!1,a=d.trim(c.val());return""!==a?/^[0-9]+$/.test(a)?C.phoneRegx[v.val()].test(a)?t=!0:(t=!1,e="手机号码不正确,请重新输入"):C.emailRegx.test(a)?t=!0:(t=!1,e="邮箱格式不正确,请重新输入"):e="请输入账户名",t?(p.addClass("hide"),c.removeClass("error")):(p.removeClass("hide").children("em").text(e),c.addClass("error")),t}function i(){var e,t=!1,a=d.trim(u.val());return""!==a?a.length<6?e="请输入长度为6-20字符的密码":t=!0:e="请输入密码",t?(f.addClass("hide"),u.removeClass("error")):(f.removeClass("hide").children("em").text(e),u.addClass("error")),t}function o(){var e,t=!1,a=d.trim(h.val());return j.is(":hidden")?!0:(""!==a?4!==a.length?e="请输入长度为4字符的验证码":t=!0:e="请输入验证码",t?(m.addClass("hide"),h.removeClass("error")):(m.removeClass("hide").children("em").text(e),h.addClass("error")),t)}function s(){var e=!0,t=d.trim(c.val()),a=d.trim(u.val());return""!==t?e=n()&&i()&&o():(e=!1,c.addClass("error"),""===a?(p.addClass("both-error").removeClass("hide").children("em").text("请输入账户名和密码"),f.addClass("hide"),u.addClass("error")):p.removeClass("hide").children("em").text("请输入账户名")),e}var r,d=e("jquery"),l={num:["qq.com","163.com","126.com","sina.com","gmail.com","sohu.com","hotmail.com","139.com","189.com"],other:["gmail.com","qq.com","163.com","126.com","sina.com","sohu.com","hotmail.com","139.com","189.com"]},c=d("#account"),u=d("#password"),h=d("#captcha"),p=c.siblings(".err-tip"),f=u.siblings(".err-tip"),m=h.siblings(".err-tip"),g=d("#caps-lock"),v=d("#country-code-hide"),w=d("#country-code > em"),y=d("#country-list"),b=d("#email-autocomplete"),C=e("js/passport/mail-phone-regx"),x=d(".remember-me"),k="/passport/images?t=",j=d(".captcha-wrap"),h=j.find("#captcha"),_=j.find("#captcha-img"),m=j.find(".err-tip"),$={checked:"",unchecked:""},q=!1;e("jquery.placeholder"),d("[placeholder]").placeholder(),d("#country-code").on("click",function(){"none"===y.css("display")&&y.slideDown()}),y.on("click","li",function(){var e=d(this),t=e.data("cc");w.html(e.html()),v.val(t),y.slideUp()}),d(document).on("click",function(e){d(e.target).closest("#country-code").length>0||"block"===y.css("display")&&y.slideUp()}),c.on("keyup",function(){var e,t,a,n,i=d.trim(d(this).val()),o="";if(i.indexOf("@")>0){for(e=i.match(/^[0-9]+@(.*)/),e?(a=l.num,t=e[1]):(a=l.other,t=i.match(/@(.*)/)[1]),n=0;n<a.length;n++)a[n].indexOf(t)>-1&&(o+="<li>"+i.slice(0,i.indexOf("@"))+"@"+a[n]+"</li>");""!==o&&/.com$/.test(i)===!1?b.html(o).removeClass("hide"):b.html("").addClass("hide")}}).on("blur",function(){r=setTimeout(function(){b.addClass("hide"),n()&&d.ajax({url:"/passport/login/account",type:"GET",data:{account:d.trim(c.val())}}).then(function(e){e.data&&e.data.needCaptcha&&(_.attr("src",k+d.now()),j.removeClass("hide"))})},200)}),u.on("blur",function(){i(),g.hasClass("hide")||g.addClass("hide")}).on("keypress",function(e){var t=e.which;return t>=65&&90>=t?void g.removeClass("hide"):void g.addClass("hide")}),h.on("blur",function(){o()}),b.on("click","li",function(){clearTimeout(r),c.val(d(this).text()).focus(),b.addClass("hide")}),x.on("click",function(){var e=d(this);e.toggleClass("checked"),e.hasClass("checked")?e.children("i").html($.checked):e.children("i").html($.unchecked)}),d(".va").on("focus",function(){var e=d(this);e.removeClass("error"),e.siblings(".err-tip").addClass("hide")}),j.on("click",".change-captcha, .captcha-img",function(){_.attr("src",k+d.now())}),d("#login-btn").on("click",function(){var e=s();e&&q===!1&&(q=!0,d.ajax({url:"/passport/login/auth",type:"POST",data:{areaCode:v.val().replace("+",""),account:d.trim(c.val()),password:d.trim(u.val()),captcha:d.trim(h.val()),isRemember:x.hasClass("checked")?!0:!1},success:function(e){200===e.code?e.data&&(location.href=e.data.session):"captcha"===e.data.errorType?(m.removeClass("hide").children("em").html(e.message),h.addClass("error").val("")):(f.removeClass("hide").children("em").html(e.message),u.addClass("error").val(""))},complete:function(){q=!1}}))})}),define("js/passport/reset",["jquery","jquery.placeholder"],function(e,t,a){function n(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function i(e,t,a){var n=e.charCodeAt(0),i=t.charCodeAt(0);return n-i===0?!0:4===a||n-i!==1&&n-i!==-1?!1:!0}function o(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t,a,s=0,r=e.length,d="",l=0,c=0;for(c=0;r>c;c++)t=e.charAt(c),a=n(e,c),l===a&&i(t,d,a)||(s+=a+o(a,l)),d=t,l=a;return s}function r(){var e=l.val(),t=s(e),a=0;switch(a=0===t?0:10>=t?1:20>=t?2:3){case 0:v.removeClass("red yellow green"),g.removeClass("color");break;case 1:v.addClass("red").removeClass("yellow green"),g.filter(".low").addClass("color"),g.filter(".mid,.high").removeClass("color");break;case 2:v.addClass("yellow").removeClass("red green"),g.filter(".low,.mid").addClass("color"),g.filter(".high").removeClass("color");break;case 3:v.addClass("green").removeClass("yellow red"),g.addClass("color")}""===e?(m=!1,w.removeClass("red yes no").addClass("default")):e.length<6||e.length>20?(m=!1,w.text("密码只支持6-20位字符").removeClass("default yes").addClass("no red")):/^(?![^a-zA-Z]+$)(?!\D+$).{6,20}$/.test(e)?(m=!0,w.text("密码只支持6-20位字符").removeClass("default no red").addClass("yes")):(m=!1,w.text("密码只支持6-20位字符,建议字母+数字的组合。").removeClass("default yes").addClass("no red"))}var d=e("jquery"),l=d("#pwd"),c=d("#re-input"),u=d("#reset-pwd-btn"),h=d("#pwd-err"),p=d("#repwd-err"),f=d("#pwd-tips"),m=!1,g=d(".pwd-intensity"),v=g.closest(".pwd-intensity-container"),w=d("#pwd-tip1");e("jquery.placeholder"),d("input").placeholder(),d(".va").keyup(function(){var e=!0;d(this).hasClass("pwd")?r():""===d(this).val()&&(e=!1),e=e&&m&&l.val()===c.val()?!0:!1,e?u.removeClass("disable").prop("disabled",!1):u.addClass("disable").prop("disabled",!0)}).blur(function(){var e=d(this).val();d(this).hasClass("pwd")?""===e?(d(this).addClass("error"),h.removeClass("hide").find("em").text("请输入密码")):e.length<6||e.length>20?(d(this).addClass("error"),h.removeClass("hide").find("em").text("密码只支持6-20位")):(h.addClass("hide"),""!==c.val()&&(e!==c.val()?(c.addClass("error"),p.removeClass("hide").find("em").text("两次密码输入不一致,请重新输入")):(c.removeClass("error"),p.addClass("hide")))):""===e?(d(this).addClass("error"),p.removeClass("hide").find("em").text("请输入密码确认")):""!==l.val()&&e!==l.val()?(d(this).addClass("error"),p.removeClass("hide").find("em").text("两次密码输入不一致,请重新输入")):(d(this).removeClass("error"),p.addClass("hide"))}).focus(function(){d(this).removeClass("error"),d(this).hasClass("pwd")?h.addClass("hide"):p.addClass("hide")}),l.focus(function(){h.addClass("hide"),f.removeClass("hide")}).blur(function(){f.addClass("hide")}),d("#pwd, #repwd").keydown(function(e){var t=e.keyCode||e.which;return 32===t?void e.preventDefault():void 0})}),define("js/passport/vertification",["jquery"],function(e,t,a){var n,i,o=e("jquery"),s=o("#send-captcha"),r=o("#captcha-tip"),d=o("#err-tip"),l=o("#next-step");s.click(function(){o.post("/passport/back/sendbackmobile",{mobile:o("#mobile").val(),area:o("#area").val(),verifyCode:o("#captchaPic").val()},function(e){if(200===e.code){if(d.hide(),o(this).hasClass("disable"))return;n=60,s.addClass("disable").attr("disabled",!0),r.removeClass("hide"),s.val(n--+"秒后可重新操作"),i=setInterval(function(){0===n?(clearInterval(i),s.val("发送验证码").removeClass("disable").removeAttr("disabled")):s.val(n--+"秒后可重新操作")},1e3)}else o(this).addClass("error"),d.removeClass("hide").text("发送失败")})}),o(this).hasClass("disable")||(n=60,s.addClass("disable").attr("disabled",!0),r.removeClass("hide"),s.val(n--+"秒后可重新操作"),i=setInterval(function(){0===n?(clearInterval(i),s.val("发送验证码").removeClass("disable").removeAttr("disabled")):s.val(n--+"秒后可重新操作")},1e3),o("#captcha").keyup(function(){var e=o.trim(o(this).val()),t=this;4===e.length&&o.ajax({type:"POST",url:"/passport/back/backmobile",dataType:"json",data:{code:o("#captcha").val(),verifyCode:o("#captchaPic").val(),area:o("#area").val(),mobile:o("#mobile").val()},success:function(e){200===e.code?(l.removeClass("disable").attr("href",e.data),d.addClass("hide"),o(t).removeClass("error")):(l.addClass("disable"),d.removeClass("hide").find("em").text("验证码输入错误"),o(t).addClass("error"))}})}).blur(function(){var e=o.trim(o(this).val());""===e&&(o(this).addClass("error"),d.removeClass("hide").text("请输入验证码"))}).focus(function(){o(this).removeClass("error")}))}),define("js/passport/thirdlogin",["jquery"],function(e,t,a){function n(){b(".choosetag").on("change",function(){"checked"===b(this).attr("checked")?b(".choosewrapper").css({"background-image":'url("'+$+'")'}):b(".choosewrapper").css({"background-image":"none"})})}function i(){return"checked"===b(".choosetag").attr("checked")}function o(){b(".optionshow").on("click",function(){b(".optionslist").toggleClass("hide")})}function s(){var e="";b(document).on("keyup","#validatenum",function(){e=b(this).val(),4===e.length&&(j||(j=!0,b.ajax({type:"POST",url:"/passport/autouserinfo/checkBindMsg",data:{code:e,mobile:b("#mobile").val(),area:b("#area").val()}}).then(function(e){j=!1,200===e.code?_=!0:alert(e.message)})))})}function r(){b(".optionitem").on("click",function(){var e=b(this),t=e.attr("areanum"),a=e.text();b("#areaname").text(a),b("#areanum").text(t),b("#areacode").val(t),b(".optionslist").addClass("hide")})}function d(){b(document).on("click","body",function(e){var t=b(e.target);t.hasClass("yohoselectarea")||t.hasClass("areaname")||t.hasClass("righttag")||t.hasClass("optionslist")||t.hasClass("optionitem")||b(".optionslist").addClass("hide")})}function l(){var e="",t="";b(".optionitem").each(function(){e=b(this),t=e.attr("areanum").replace(/\+/g,""),e.attr("areanum",t)})}function c(){var e;b(document).on("click","#alreayregist",function(t){e=b(t.target),(e.hasClass("mask")||e.hasClass("backdrop"))&&(b("#alreayregist").hide(),b(".backdrop").hide())}),b(document).on("click","#bindconfirm",function(t){e=b(t.target),(e.hasClass("mask")||e.hasClass("backdrop"))&&(b("#bindconfirm").hide(),b(".backdrop").hide())})}function u(){b(document).on("click","#yohobindbtn",function(e){b(".phonenum").val(""),b("#bindconfirm").hide(),b(".backdrop").hide()}),b(document).on("click","#yohobindbtn2",function(e){b(".phonenum").val(""),b("#alreayregist").hide(),b(".backdrop").hide()})}function h(){return k-=1,0>k?(k=60,void b(".validatewrapper").html(x)):(b(".second").text(k),void window.setTimeout(h,1e3))}function p(e){b(".validatewrapper").html(C),window.setTimeout(h,1e3)}function f(){b(document).on("click","#sendmessage",function(){"disabled"!==b("#sendmessage").attr("disabled")&&(p(b("#mobile").val()),b.ajax({type:"POST",url:"/passport/autouserinfo/sendBindMsg",data:{mobile:b("#mobile").val(),area:b("#area").val()}}).then(function(e){200!==e.code&&alert(e.message)}))})}function m(){var e="",t="";t=b("#area").val(),e=b("#mobile").val(),b.ajax({type:"POST",url:"/passport/autouserinfo/bindMobile",data:{area:t,openId:b("#openId").val(),sourceType:b("#sourceType").val(),mobile:e}}).then(function(e){201===e.code?window.location.href="/passport/thirdlogin/bindsuccess":alert(e.message)})}function g(){b(document).on("click","#gotobindphone",function(){_===!0?(b("#inarea").val(b("#areanum").val()),b("#inmobile").val(b("#mobile").val()),m()):alert("请输入正确验证码")})}function v(){var e="",t="";e=b("#mobile").val(),t=b("#areanum").text(),b.ajax({type:"POST",url:"/passport/autouserinfo/sendBindMsg",data:{mobile:e,area:t}}).then(function(e){200!==e.code&&console.log(e.message)})}function w(){var e="",t="",a="",n="",o="",s="";b("#bindfirststep").on("click",function(r){return r.preventDefault(),a=b(".phonenum").val(),n=b("#areanum").text(),""===a?void alert("手机号码不能为空"):i()?(e=b("#openId").val()||"29803EC6D4AAC3AAB8ABDB6AE829D579",t=b("#sourceType").val()||"qq",void b.ajax({type:"post",url:"/passport/autouserinfo/bindCheck",data:{mobile:a,area:n,openId:e,sourceType:t},dataType:"json",success:function(e){200===e.code&&(b("#bindmobileform").attr("action","/passport/thirdlogin/noregist"),v(),b("#bindmobileform").submit()),(400===e.code||402===e.code)&&b("#errinfo").text("手机格式错误"),506===e.code&&(o=e.data.user.username,s=e.data.user.headImg,b("#registphone").text(a),b("#username").text(o),""===s?b("#userphoto").attr("src","http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100"):b("#userphoto").attr("src",s),b("#logindirectly2").attr("href",e.data.user.bindLogin),b(".backdrop").show(),b("#alreayregist").show()),505===e.code&&(o=e.data.user.username,s=e.data.user.headImg,b("#registphonetwo").text(a),b("#username1").text(o),""===s?b("#userphoto1").attr("src","http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100"):b("#userphoto").attr("src",s),b("#logindirectly").attr("href",e.data.user.bindLogin),b(".backdrop").show(),b("#bindconfirm").show())}})):void alert("请先同意我们的协议")})}function y(){l(),f(),n(),r(),o(),d(),w(),c(),u(),g(),s()}var b=e("jquery"),C=b("#nopermissionmessage").html(),x=b(".validatewrapper").html(),k=+b(".second").text(),j=!1,_=!1,$="http://cdn.yoho.cn/yohobuy/assets/img/passport/choosed.png";y()}),define("js/passport/enablePerfectInformation",["jquery"],function(e,t,a){function n(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function i(e,t,a){var n=e.charCodeAt(0),i=t.charCodeAt(0);return n-i===0?!0:4===a||n-i!==1&&n-i!==-1?!1:!0}function o(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t=0,a=e.length,s="",r=0,d=0,l="",c="";for(d;a>d;d++)l=e.charAt(d),c=n(e,d),r===c&&i(l,s,c)||(t+=c+o(c,r)),s=l,r=c;return t}function r(){return j-=1,0>j?(j=60,void b(".validatewrapper").html($)):(b(".second").text(j),void window.setTimeout(r,1e3))}function d(){b(".validatewrapper").html(_),window.setTimeout(r,1e3)}function l(){var e="",t="";b(document).on("click","#sendmessage",function(){d(),e=b("#mobile").val(),t=b("#area").val(),b.ajax({type:"POST",url:"/passport/autouserinfo/sendBindMsg",data:{mobile:e,area:t}}).then(function(e){200!==e.code&&alert(e.message)})})}function c(){var e="";b(document).on("keyup","#validatenum",function(){b("#err-info").hide(),e=b(this).val(),4===e.length&&(C||(C=!0,b.ajax({type:"POST",url:"/passport/autouserinfo/checkBindMsg",data:{code:e,mobile:b("#mobile").val(),area:b("#area").val()}}).then(function(e){C=!1,200!==e.code?b("#err-info").show():x=!0})))})}function u(){var e=g.val(),t=s(e),a=0;switch(a=0===t?0:10>=t?1:20>=t?2:3){case 0:v.removeClass("red yellow green"),y.removeClass("color");break;case 1:v.addClass("red").removeClass("yellow green"),y.filter(".low").addClass("color"),y.filter(".mid,.high").removeClass("color");break;case 2:v.addClass("yellow").removeClass("red green"),y.filter(".low,.mid").addClass("color"),y.filter(".high").removeClass("color");break;case 3:v.addClass("green").removeClass("yellow red"),y.addClass("color")}""===e?(k=!1,w.removeClass("red yes no").addClass("default")):e.length<6||e.length>20?(k=!1,w.removeClass("default yes").addClass("no red")):(k=!0,w.removeClass("default no red").addClass("yes"))}function h(){b(document).on("keyup",".pwdcontent",function(){u(b(this))}),b(document).on("focus",".pwdcontent",function(){b("#pwd-tips").removeClass("hide")}),b(document).on("blur",".pwdcontent",function(){b("#pwd-tips").addClass("hide")})}function p(){var e="",t="",a="",n="";t=b("#area").val(),a=b("#pwd").val(),e=b("#mobile").val(),n=b("#validatenum").val(),b.ajax({type:"POST",url:"/passport/autouserinfo/bindMobile",data:{area:t,openId:b("#openId").val(),sourceType:b("#sourceType").val(),mobile:e,password:a,code:n}}).then(function(e){200===e.code?window.location.href="/passport/thirdlogin/bindsuccess":alert(e.message)})}function f(){var e="",t="";b("#confirmsubmit").on("click",function(){return e=b("#validatenum").val(),t=b("#pwd").val(),""===e?void alert("短信验证码不能为空"):""===t?void alert("密码不能为空"):/^(?![^a-zA-Z]+$)(?!\D+$).{6,20}$/.test(t)?x===!1?void alert("请输入正确的验证码"):k===!1?void alert("请输入符合强度的密码"):void p():void alert("密码只支持6-20位字符,建议字母+数字的组合。")})}function m(){d(),g=b("#pwd"),v=b(".safelevel"),y=b(".pwd-intensity"),w=b("#pwd-tip1"),l(),c(),h(),f()}var g,v,w,y,b=e("jquery"),C=!1,x=!1,k=!1,j="",_="",$="";_=b("#nopermissionmessage").html(),$=b(".validatewrapper").html(),j=+b(".second").text(),m()}),define("js/order/ensure",["jquery"],function(e,t,a){var n=e("jquery"),i=e("js/order/address"),o={Data:{product:0,activity:0,carriage:0,juan:0,yohocoin:0},UI:{e:{$pan:n(".pan"),$jc:n("#juancode"),$bp:n("#biprice"),$statistics:n("li",".play-total"),$tobi:n("p em",".play-bi-pan .play-pan"),$cancel:n(".cancel",".btn-group"),$total:n("em",".to-play"),$tbody:n("table tbody",".pay-wapper"),$orderSelectionSave:n(".address-list h2 span"),$addAddress:n(".add-address"),$addressManage:n(".address-manage"),$spanPayTypeLegend:n("span.pay-type-legend"),$supportType:n(".support-type"),$existAddressList:n(".exist-address-list").find("li"),$existAddress:n(".exist-address-list").find('input[name="exist-address"]'),$payTimeModify:n(".pay-time-modify"),$switchPayModify:n(".switch-pay-modify")},init:function(){var e=this.e,t=o.Data,a=o.Common;e.$tbody.find("tr").each(function(i){var o=n(this).find("td"),s=e.$tbody.find("tr").length,r=parseFloat(o.eq(1).html())*parseInt(o.eq(3).html());o.eq(4).html(a.strFixed(r)),t.product+=r,i?o.last().remove():o.last().attr("rowspan",s),i===s-1&&e.$tbody.find("tr").eq(0).find("td").last().html("<strong>"+a.strFixed(t.product)+"</strong>")}),this.render(),e.$pan.find("dt").click(function(){var e=n(this).parent("dl.pan");e.find("dd").is(":hidden")?a.winShow(e):a.winHide(e)}),e.$jc.on("focus change",function(e){var t=n(this).prev("label").prev(":radio");"focus"===e.type?t.attr("checked",!0):t.val(n(this).val())}),e.$bp.data("tobi",e.$tobi.html()),e.$bp.on("keyup change",function(){var e=a.enterNUM(n(this).val(),n(this).data("tobi"));n(this).val(e)}),e.$cancel.click(function(){var e=n(this).parents(".pan");a.winHide(e)}),e.$statistics.slice(3,5).find("a").click(function(){var e=n("."+n(this).attr("to"));a.winShow(e)}),e.$orderSelectionSave.click(function(){n(this).data("expand")?(n(".address-list-inner").removeClass("hide"),n(this).removeData("expand").text("[修改]")):(n(".address-list-inner").addClass("hide"),n(this).data("expand","expand").text("[不保存并关闭]"))}),e.$switchPayModify.click(function(){e.$payTimeModify.hasClass("hide")?(e.$payTimeModify.removeClass("hide"),n(this).text("[不保存并关闭]")):(e.$payTimeModify.addClass("hide"),n(this).text("[修改]"))}),e.$spanPayTypeLegend.click(function(){n(this).toggleClass("active"),e.$supportType.toggleClass("hide")}),n(document).on("click",".exist-address-list li",function(){e.$existAddressList.removeClass("active"),n(this).addClass("active"),e.$existAddress.removeAttr("checked"),n(this).find('input[name="exist-address"]').attr("checked","checked"),n(this).hasClass("use-new-address")&&e.$addressManage.removeClass("hide")})},render:function(){var e=this.e,t=o.Data,a=o.Common,i=0;e.$total.html("0.00"),e.$statistics.find("em").html("0.00"),e.$statistics.slice(3,5).hide(),n.each(t,function(n){t.hasOwnProperty(n)&&t[n]&&e.$statistics.eq(i).show().find("em").html(a.strFixed(t[n])),i++}),e.$total.html(a.strFixed(a.calucate()))}},Common:{enterNUM:function(e,t){return e=e.replace(/[^\d]/g,""),e&&t&&(e=parseInt(e),t=parseInt(t),e>t&&(e=t)),e},calucate:function(){var e=o.Data;return n.each(o.Data,function(t,a){e[t]=parseFloat(o.Data[t])}),e.product-e.activity+e.carriage-e.juan-e.yohocoin},winShow:function(e){e.find("dt").show(),e.find("dd").show(),e.attr("class").match(/(-bi-)|(-juan-)/g)&&e.find("dt").hide()},winHide:function(e){e.find("dt").show(),e.find("dd").hide()},strFixed:function(e){return parseFloat(e).toFixed(2)}},Bll:{e:{$juanok:n("#juansubmit"),$juantip:n(".errtip",".play-juan-pan"),$biok:n("#bisubmit"),$carriageGroup:n('input[name="carriagegroup"]')},init:function(){var e,t=this.e,a=o.Data,i=o.Common,s=o.UI;t.$carriageGroup.change(function(){a.carriage=parseFloat(n(this).val()),s.render()}),t.$juanok.click(function(){var r=n('input[name="juangroup"]:checked').val(),d=n(this).parents(".pan");r&&(e={url:"/Order/save/priceByCode",type:"post",data:{code:r},success:function(e){if(200===e.code){if(e.price)return a.juan=e.price,o.UI.render(),void i.winHide(d);s.render()}t.$juantip.html(e.msg)},error:function(){t.$juantip.html("网络出现错误~")}},n.ajax(e))}),t.$biok.click(function(){var e=n(this).parents(".pan");a.yohocoin=parseFloat(s.e.$bp.val())/100,s.render(),i.winHide(e)})}}};o.Data.activity=0,o.Data.carriage=0,o.UI.init(),o.Bll.init(),i.newAddress(),i.modifyAddress(),i.saveAddress()}),define("js/order/address",["jquery"],function(require,exports,module){function structureOption(e,t){var a,n,i;for(a in t)n+=t[a].checked?'<option selected value="'+t[a].value+'">'+t[a].name+"</option>":'<option value="'+t[a].value+'">'+t[a].name+"</option>";e.html(n),"province"===e.attr("name")?i='<option value="0">请选择省份</option>':"city"===e.attr("name")?i='<option value="0">请选择城市</option>':"county"===e.attr("name")&&(i='<option value="0">请选择区县</option>'),e.prepend($(i))}function getAddress(e,t){var a,n;"getProvince"===e.type?(n="getProvince",a=$province):"getCity"===e.type?(n="getCity",a=$city):"getCounty"===e.type&&(n="getCounty",a=$county),$.ajax({type:"post",url:"/order/save/"+n,dataType:"json",data:{id:e.id}}).then(function(e){structureOption(a,e),"function"==typeof t&&t()}).fail(function(){})}function getUserInfo(id){$.ajax({type:"post",url:"getUserInfo",data:{id:id}}).then(function(data){var key;for(key in data)data.hasOwnProperty(key)&&data[key]&&eval("$"+key).val(data[key])}).fail(function(){})}var $=require("jquery"),isProvinceChecked=!1,$addressManage=$(".address-manage"),$province=$addressManage.find('.text-input[name="province"]'),$city=$addressManage.find('.text-input[name="city"]'),$county=$addressManage.find('.text-input[name="county"]'),$selectList=$addressManage.find('.text-input[name="province"], .text-input[name="city"]'),$addressList=$(".address-list"),$name=$addressManage.find('.text-input[name="name"]'),$phone=$addressManage.find('.text-input[name="phone"]'),$telCode=$addressManage.find('.text-input[name="code-tel"]'),$tel=$addressManage.find('.text-input[name="tel"]'),$mail=$addressManage.find('.text-input[name="mail"]'),$address=$addressManage.find('.text-input[name="address"]'),$code=$addressManage.find('.text-input[name="code"]'),$saveBtn=$(".save-btn");exports.newAddress=function(e){var t="undefined"!==e?e:0;t&&getUserInfo(),getAddress({id:t,type:"getProvince"},function(){var e=$province.val();"0"!==e&&getAddress({id:e,type:"getCity"},function(){var e=$city.val();"0"!==e&&getAddress({id:e,type:"getCounty"})})}),$selectList.change(function(){var e=$(this);"province"===e.attr("name")&&getAddress({id:e.val(),type:"getCity"},function(){isProvinceChecked=!0}),"city"===e.attr("name")&&isProvinceChecked&&getAddress({id:e.val(),type:"getCounty"})})},exports.modifyAddress=function(){$addressList.click(function(e){var t=$(e.target),a=t.closest("li").find(".radio").attr("id");t.hasClass("address-modify")?($addressManage.removeClass("hide"),exports.newAddress(a)):t.hasClass("address-del")?$.ajax({type:"post",url:"/order/save/addressDel",data:{id:a}}).then(function(e){e.status&&t.closest("li").remove()}).fail(function(){}):t.hasClass("default-address")&&$.ajax({type:"post",url:"/order/save/defaultAddress",data:{id:a}}).then(function(e){e.status&&t.remove()}).fail(function(){})})},exports.saveAddress=function(){$saveBtn.click(function(){var e=$name.val(),t=$province.val(),a=$city.val(),n=$county.val(),i=$address.val(),o=$phone.val(),s=$telCode.val(),r=$tel.val(),d=$mail.val(),l=$code.val(),c=new Date; +define("index",["jquery","handlebars","source-map","index","lazyload","dot","jquery.placeholder"],function(e,t,a){var n;e("js/common"),e("js/header"),e("js/simple-header"),e("js/product/entry"),e("js/index/index"),e("js/brand/index"),e("js/passport/entry"),e("js/order/ensure"),a.exports=n}),define("js/common",["jquery"],function(e,t,a){function n(e){var t=new RegExp(e+"=([^;$]*)","i"),a="$1";return t.test(decodeURIComponent(document.cookie))?RegExp[a]:""}function i(e,t,a){var n,i,o,s,r="";"undefined"!=typeof t&&(a=a||{},null===t&&(t="",a.expires=-1),a.expires&&("number"==typeof a.expires||a.expires.toUTCString)&&("number"==typeof a.expires?(s=new Date,s.setTime(s.getTime()+24*a.expires*60*60*1e3)):s=a.expires,r="; expires="+s.toUTCString()),n=a.path?"; path="+a.path:"",i=a.domain?"; domain="+a.domain:"",o=a.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(t),r,n,i,o].join(""))}function o(){var e,t=n("_UID");return"undefined"==typeof t?0:(e=t.split("::"),"undefined"==typeof e||e.length<4?0:e)}function s(){var e=o();return 0===e?0:e[1]}function r(){var e=n("_g");return"undefined"==typeof e?"":JSON.parse(e).k}function d(){var e,t,a={},n=window.location.search,i=n?decodeURIComponent(n).slice(1).split("&"):[];for(t=0;t<i.length;t++)e=i[t].split("="),a[e[0]]=e[1];return a}var l=e("jquery"),c=l("body");e("js/footer"),function(e,t,a,n,i){var o=t.createElement(a),s=t.getElementsByTagName(a)[0];e.YohoAcquisitionObject=i,e[i]=function(){e[i].p=arguments},o.async=1,o.src=n,s.parentNode.insertBefore(o,s)}(window,document,"script","http://cdn.yoho.cn/yas-jssdk/1.0.14/yas.js","_yas"),function(){var e=s();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.14","yohobuy_web",e,"","")}(),l(window).on("resize",function(){var e=l(this).width();1360>e?l(".return-top").addClass("min"):l(".return-top").removeClass("min"),1180>e?c.addClass("min-screen"):c.removeClass("min-screen")}).trigger("resize"),window.cookie=n,window.setCookie=i,window.getUser=o,window.getUid=s,window.getShoppingKey=r,window.queryString=d}),define("js/footer",["jquery"],function(e,t,a){function n(){var e=s("#subscriber-box"),t=s("#subscriber-btn"),a=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/,n={mail:"",tick:""};e.focus(function(){s(this).val("").css("color",""),t.removeClass("done").html(n.mail)}),t.click(function(){var i=s.trim(e.val());if(""!==i&&a.test(i))try{s.ajax({url:"http://new.yohobuy.com/common/emailsubscriber",dataType:"jsonp",data:{email:i,tmp:Math.random(),uid:window.getUid()},success:function(a){1===a.data.result?(e.val("已订阅到:"+i),t.addClass("done").html(n.tick)):e.css("color","red")}})}catch(o){console.log(o.message)}else e.css("color","red")})}function i(){var e=s(".vote"),t=s("#feed-back-page"),a=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 n=s(this),i=n.closest("li"),o=i.index(),r=[],d=i.find(".feedback-answer").val(),l=i.find(".feedback-id").val(),c=i.find(".question-id").val();i.find(":checked").each(function(){r.push(s(this).val())}),s.ajax({url:"http://new.yohobuy.com/common/suggestfeedback",dataType:"jsonp",data:{feedback_id:l||0,question_id:c||0,answer:d||"",solution:r.join(",")},success:function(n){var s=o+1;if(1===~~n.data.result){if(o===a-1)return void alert("感谢您的参与!");i.addClass("hide"),e.children(":eq("+(o+1)+")").removeClass("hide"),t.children(".cur").removeClass("cur"),t.children(":eq("+s+")").addClass("cur")}}})})}function o(){s(window).height()>s(document).height()&&r.addClass("hide")}var s=e("jquery"),r=s(".return-top");r.click(function(){s("html,body").animate({scrollTop:0},500)}),s(window).scroll(function(){0===s(window).scrollTop()?r.addClass("hide"):r.removeClass("hide")}),r.hasClass("hide")&&s("img").load(o),n(),i(),window.rePosReturnTop=o}),define("js/header",["jquery","handlebars","source-map","index"],function(e,t,a){function n(e,t,a){try{te.push({louceng:e,weizhi:t,event:a})}catch(n){}}function i(){var e=G("#nav_keyword").text(),t="vans",a=G("#query_key");""!==e?(a.css({color:"#000"}),a.val(e)):(a.css({color:"#e0e0e0"}),a.val(t),a.on("focus",function(e){a.css({color:"#000"}),a.val("")}))}function o(){var e={cookie:"_g",cartNum:""},t="",a="",n=0,i=0,o=0,s=0,r="";G.fn.miniCart=function(n){if(t=G.extend(e,n),"undefined"==typeof window.cookie(t.cookie))a=null;else if(t.cookie)try{a=V.parse(window.cookie(t.cookie))}catch(i){}null!==a&&""!==a&&(s=parseInt(a._nac)+parseInt(a._ac),0===s?G("#icart-num").attr("class","icart-num icart-none"):G("#icart-num").attr("class","icart-num"),G(t.cartNum).html(s))},G.fn.search=function(e){function t(t){var a=G.trim(G(t).val());return a=a.replace(new RegExp("'","gm"),""),""===a?(G(".search-list").hide(),!1):(a=encodeURI(a),void G.get(e+"?query="+a,function(e){G(".search-list").html(e.data),n=G(".search-list").children("li").length,i=-1,n>0?G(".search-list").show():G(".search-list").hide(),G(".search-list").find("a").hover(function(){G(this).css("background-color","#eee")},function(){G(this).css("background-color","#fff")})},"jsonp"))}function a(e){G(".search-list li:eq("+o+")").children("a").css("background-color","#fff"),G(".search-list li:eq("+i+")").children("a").css("background-color","#eee"),r=G(".search-list li:eq("+i+")").children("a").attr("title"),G("#query_key").val(r)}return this.each(function(){G(this).keyup(function(e){if(38===e.which){if(0===n)return!1;-1===i&&(i=0),o=i,i=(i-1+n)%n,a(this)}else if(40===e.which){if(0===n)return!1;o=i,i=(i+1)%n,a(this)}else 13===e.which?window.submitSearch():t(this)})})},G.extend({getData:function(e,t,a){var n={page:1,method:"",v:1,return_type:"jsonp",open_key:"12345",tmp:Math.random()},i="";if(void 0===typeof e||""===e)return!1;if(i=G.extend(n,t),i.page=i.page||1,""===i.method)return!1;try{G.getJSON(e+"/?callback=?",i,function(e){return""!==a?("undefined"!=typeof a(e.data)&&V.parse(a(e.data)),!1):void 0})}catch(o){console.log(o.message)}},getShoppingKey:function(){var e=window.cookie("_g"),t=V.parse(e);return"undefined"==typeof e||null===e?"":t._k}})}function s(e){var t;200===+e.code&&"object"==typeof e.data&&(t=""!==e.data.url?'<a target="_blank" href="'+e.data.url+'" class="page-top-banner"style="height:36px;border:none;background-image:url('+window.unescape(e.data.src)+');background-position: center;display:block;"> </a>':'<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>',G("body").prepend(t))}function r(e){var t=document.createElement("script");t.src=le+e+"&client_type=web&callback=JsonPCallBack",document.getElementsByTagName("head")[0].appendChild(t)}function d(e,t){var a,n;G(e).hover(function(e){e.preventDefault(),a=G(this),n=G(t)[0],""===n.style.display?(a.addClass("acttags"),n.style.display="block"):(a.removeClass("acttags"),n.style.display="")})}function l(){var e,t,a=[{sourceClass:".myyoho",targetClass:".myyoho-info"},{sourceClass:".phone",targetClass:".qr"}];for(t=0;t<a.length;t++)e=a[t],d(e.sourceClass,e.targetClass)}function c(){var e;G(".yohogroup").mouseenter(function(){e=G(this),e.text(e.attr("cn"))}),G(".yohogroup").mouseleave(function(){e=G(this),e.text(e.attr("en"))})}function u(){var e,t,a=["webkit","moz","ms"];for(t=0;t<a.length;t++)return e=a[t]+"RequestAnimationFrame",window[e]?!0:!1}function h(){var e=["webkit","moz","ms"],t=e[0]+"RequestAnimationFrame",a=e[1]+"RequestAnimationFrame",n=e[2]+"RequestAnimationFrame";return window[t]?function(e){requestAnimationFrame(e)}:window[a]?function(e){window[a](e)}:window[n]?function(e){window[n](e)}:function(e){window.setTimeout(e,67)}}function p(){ne+=10,ie.css({transform:"rotateX("+ne+"deg)","-webkit-transform":"rotateX("+ne+"deg)","-moz-transform":"rotateX("+ne+"deg)"}),ne/90%2===1&&(oe?(ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo1.png)"),oe=!1):(ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),oe=!0)),ne/90%2===0&&ne%360!==0?window.setTimeout(p,3e3):ne%360===0?window.setTimeout(p,6e4):ae(function(){p()})}function f(){H&&window.clearTimeout(H),ie.fadeOut(se,function(){oe=!1,ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo.png)"),ie.fadeIn(se,function(){N=window.setTimeout(function(){ie.fadeOut(se,function(){window.clearTimeout(N),oe=!0,ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),ie.fadeIn(se,function(){H=window.setTimeout(f,6e4)})})},3e3)})})}function m(){u()?(ae=h(),window.setTimeout(p,3e3)):window.setTimeout(f,3e3)}function g(e){var t=G(e);t.find(".thirdnavbar").each(function(){var e=G(this),t=e.find("a"),a=t.attr("href"),n="hot"===t.attr("hot")?!0:!1,i={};i=e.hasClass("category-title")?{type:"title",height:49,content:e.text(),index:window.valueIndex,href:a,hot:!1}:{type:"catlist",height:36,content:t.text(),index:window.valueIndex,href:a,hot:n},window.valueIndex++,window.newArr.push(i)})}function v(){var e=window.newArr.length,t=0,a=[],n=[],i=[],o=[],s="",r="",d="",l=0,c=0,u=0;for(t;e>t;t++){if(a=window.newArr[t],0===window.gindex&&(window.oh1=window.oh1+a.height,window.oh1>=340&&t!==e-1&&(window.targetArr1=window.newArr.slice(0,a.index+1),window.nowIndex=a.index+1,window.gindex++),t===e-1)){window.targetArr1=window.newArr.slice(0,e+1);break}if(1===window.gindex&&(window.oh2=window.oh2+a.height,window.oh2>=340&&t!==e-1&&(window.targetArr2=window.newArr.slice(window.nowIndex,a.index+1),window.nowIndex=a.index+1,window.gindex++),t===e-1)){window.targetArr2=window.newArr.slice(window.nowIndex,e+1);break}if(2===window.gindex){if(window.oh3=window.oh3+a.height,window.oh3>=340&&t!==e-1){window.targetArr3=window.newArr.slice(window.nowIndex,a.index+1),window.nowIndex=a.index+1,window.gindex++;break}if(t===e-1){window.targetArr3=window.newArr.slice(window.nowIndex,e+1);break}}}for(l;l<window.targetArr1.length;l++)n=window.targetArr1[l]||{},"title"===n.type?window.inner1=window.inner1+'<li class="cattitle"><h3><a href="'+n.href+'">'+n.content+"</a></h3></li>":n.hot===!0?window.inner1=window.inner1+'<li class="catdetail"><a class="thirdcatelink hot" href="'+n.href+'">'+n.content+"</a></li>":window.inner1=window.inner1+'<li class="catdetail"><a class="thirdcatelink" href="'+n.href+'">'+n.content+"</a></li>";for(c;c<window.targetArr2.length;c++)i=window.targetArr2[c]||{},"title"===i.type?window.inner2=window.inner2+'<li class="cattitle"><h3><a href="'+i.href+'">'+i.content+"</a></h3></li>":i.hot===!0?window.inner2=window.inner2+'<li class="catdetail"><a class="thirdcatelink hot" href="'+i.href+'">'+i.content+"</a></li>":window.inner2=window.inner2+'<li class="catdetail"><a class="thirdcatelink" href="'+i.href+'">'+i.content+"</a></li>";for(u;u<window.targetArr3.length;u++)o=window.targetArr3[u]||{},"title"===o.type?window.inner3=window.inner3+'<li class="cattitle"><h3><a href="'+o.href+'">'+o.content+"</a></h3></li>":o.hot===!0?window.inner3=window.inner3+'<li class="catdetail"><a class="thirdcatelink hot" href="'+o.href+'">'+o.content+"</a></li>":window.inner3=window.inner3+'<li class="catdetail"><a class="thirdcatelink" href="'+o.href+'">'+o.content+"</a></li>";""!==window.inner1&&(s='<ul class="cate_row1 cate_row">'+window.inner1+"</ul>"),""!==window.inner2&&(r='<ul class="cate_row2 cate_row">'+window.inner2+"</ul>"),""!==window.inner3&&(d='<ul class="cate_row3 cate_row">'+window.inner3+"</ul>"),window.finalresult=s+r+d,G("#"+window.wrapperindex).empty().append(window.finalresult)}function w(){G(".categorywrapper").each(function(e){window.wrapperindex=G(this).attr("id"),window.newArr=[],window.gindex=0,window.targetArr1=[],window.targetArr2=[],window.targetArr3=[],window.oh1=0,window.oh2=0,window.oh3=0,window.valueIndex=0,window.nowIndex=0,window.inner1="",window.inner2="",window.inner3="",g(G(this).find(".category")),v()})}function y(){var e={},t="",a="",n="",i="",o="";G(document).on("mouseenter",".sub-nav-item",function(){t=G(this).find(".showdetail").attr("data-code"),t&&(e[t]||(e[t]=t,a=G(this).find(".showdetail").find("img"),n=G(this).find(".showdetail").find(".title"),i=G(this).find(".showdetail").find("a"),G.get(le+t+"&width=337&height=250&client_type=web",function(e){a.attr("src",e.data.src),i.attr("href",e.data.url),n.text(e.data.title)},"jsonp")))}),o=G(".cure").find(".name-cn").find("a").attr("href"),G(".main-link").attr("href",o)}function b(){var e=G("#cover");e.remove()}function C(){var e,t=window.cookie("_Gender"),a="",i="",o="",s="";"http://www.yohobuy.com/"!==window.location.href||"undefined"!=typeof t&&""!==t&&null!==t||G.get("http://www.yohobuy.com/index/guide",function(t){a=document.createElement("div"),a.id="cover",a.innerHTML=t,document.body.appendChild(a),i=G(window).height(),o=G(".guide-box").height(),e=i/2-o/2,s=G(".guide-box .clear").find("li").length,G(".guide-box").css({width:200*s+"px",top:e+"px"}),G("#cover").bind("click",function(e){window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),G("#cover .guide-box .close").bind("click",function(e){n("弹窗","CLOSE","homepage_man"),window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),G(".boys img , .boys .go").bind("click",function(e){n("弹窗","BOYS","homepage_man"),window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),G(".girls img, .girls .go").bind("click",function(e){n("弹窗","GIRLS","homepage_woman"),window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})}),G(".lifestyle img, .lifestyle .go").bind("click",function(e){window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),n("弹窗","LIEFSTYLE","homepage_lifestyle")}),G("#cover .guide-box").bind("click",function(e){e.stopPropagation()})})}function i(){var e=G("#nav_keyword").text(),t=G("#defaultsearch").val(),a=G("#query_key");""!==e?(a.css({color:"#000"}),a.val(e)):(a.css({color:"#e0e0e0"}),a.val(t),a.on("focus",function(e){a.css({color:"#000"}),a.val("")}))}function x(){var e=window.cookie("_Gender"),t=G(".cure");"undefined"!=typeof e&&""!==e&&window.setCookie("_Gender",1,{path:"/",domain:".yohobuy.com",expires:7}),"男生"===t.find(".name-cn a").text()&&(window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7})),"女生"===t.find(".name-cn a").text()&&window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:7}),"创意生活"===t.find(".name-cn a").text()&&window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),"潮童"===t.find(".name-cn a").text()&&window.setCookie("_Channel","kids",{path:"/",domain:".yohobuy.com",expires:7})}function k(){G(".first-nav-item").click(function(){var e=window.cookie("_Gender");"undefined"!=typeof e&&""!==e&&window.setCookie("_Gender",1,{path:"/",domain:".yohobuy.com",expires:7}),"男生"===G(this).find(".name-cn a").text()&&(window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7})),"女生"===G(this).find(".name-cn a").text()&&(window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})),"创意生活"===G(this).find(".name-cn a").text()&&window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),"潮童"===G(this).find(".name-cn a").text()&&window.setCookie("_Channel","kids",{path:"/",domain:".yohobuy.com",expires:7})})}function j(){var e,t,a,n=document.cookie,i=n.split(";");for(e=0;e<i.length;e++)t=i[e].split("="),"undefined"!=typeof t[0]&&(a=t[0].replace(/\s/g,""),de[a]=t[1])}function _(){G("#miniCartBox").miniCart({cartNum:".ic-infomation"})}function $(){var e,t,a;G.getData(X,{method:"open.Shoppingcart.getCartData",shopping_key:G.getShoppingKey()},function(n){""===J&&(J=Y.compile(G("#mini-cart-tpl").html())),G("#miniCartBox").children(".gobuy-wrapper").html(J({carData:n})),0===parseInt(G(".ic-infomation").html())&&G("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>'),G("#miniCartBox .goods-list li").length<1&&(e=window.cookie("_g"),t=V.parse(e),null!==t&&(a='{"_k":"'+t._k+'","_nac":0,"_ac":0,"_r":0}',window.setCookie("_g",a,{path:"/",domain:".yohobuy.com"})),G(".ic-infomation").html(0),G("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>'))})}function q(e,t){G.getData(X,{method:"open.Shoppingcart.delone",shopping_key:G.getShoppingKey(),id:e,isreduce:t},function(e){var t=window.cookie("_g"),a=V.parse(t),n='{"_k":"'+a._k+'","_nac":'+e.total_goods_num+',"_ac":0,"_r":0}';window.setCookie("_g",n,{path:"/",domain:".yohobuy.com"}),$(),_()})}function T(){var e,t,a;G(document).on("click",".goodscardelete",function(n){e=G(this),t=e.attr("goodsid"),a=e.attr("cheapest"),q(t,a)})}function A(){var e;G(document).on("click",".mycart_i_down",function(t){e=G(this),e.toggleClass("mycart_i_up"),G("#mycartmore").slideToggle(300)})}function I(){var e,t="http://www.yohobuy.com/shopping/cart";G("#miniCartBox").on("click",function(a){e=G(a.target),e.hasClass("gobuy")&&(window.location.href=t)})}function S(e){1===e?(G("#miniCartBox").addClass("list-cur"),G(".gobuy-wrapper").show(),0!==parseInt(G(".ic-infomation").html())?(G("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-loading"><h3 class="information">加载中,请稍后</h3></div>'),$()):G("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>')):(G("#miniCartBox").removeClass("list-cur"),G(".gobuy-wrapper").hide())}function O(){var e;G("#miniCartBox").mouseenter(function(t){e=G(t.target),("miniCartBox"===e.attr("id")||"ic-infomation"===e.attr("class"))&&S(1)}),G("#miniCartBox").mouseleave(function(e){S(0)})}function P(){var e,t="indexkids",a="indexlifestyle",n="indexboys",i="indexgirls",o="uniquebrand",s=window.location.href,d=window.location.host,l="";-1!==s.indexOf("search")&&(l=re["search"+de._Channel]),-1!==s.indexOf("list")&&(l=re["list"+de._Channel]),-1!==s.indexOf("brands")&&(l=re["brands"+de._Channel]),-1!==s.indexOf("new")&&(l=re["new"+de._Channel]),-1!==s.indexOf("sale")&&(l=re["sale"+de._Channel]),-1!==s.indexOf("home")&&(l=re["home"+de._Channel]),-1!==s.indexOf("kids")&&(l=re[t]),(-1!==s.indexOf("woman")||-1!==s.indexOf("girls"))&&(l=re[i]),-1!==s.indexOf("lifestyle")&&(l=re[a]),-1!==s.indexOf("www.yohobuy.com")&&"/"===window.location.pathname&&(l=re[n]),e=d.split(".")[0],"list"!==e&&"search"!==e&&"www"!==e&&"new"!==e&&"item"!==e&&"guang"!==e&&(l=re[o+de._Channel]),r(l)}function z(e){G(".hot-brands").find("ul").stop().animate({opacity:0,"z-index":1},200).eq(e).animate({opacity:1,"z-index":2},200)}function M(){var e,t=0;G(".hot-brands").size()>0&&(e=G(".hot-brands").find("ul").size(),G(".hot-brands").find("ul").eq(0).css({opacity:1,"z-index":2}),G(".brands-control").on("click",".next",function(){t===e-1?t=0:t++,z(t)}),G(".brands-control").on("click",".prev",function(){0===t?t=e-1:t--,z(t)}))}function E(){setInterval(_,2e3)}function B(){var e=G("#goodcartempwarpper"),t="";e&&e.html()&&(t=G("#goodcartempwarpper").html().replace(/\\/g,""),G("#goodcartempwarpper").html(t),W=Y.compile(G("#tmpl-my-login-new").html()))}function D(){var e="http://search.yohobuy.com/api/suggest";G("#query_key").search(e)}function F(e){var t=(new Date).getTime(),a='<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>]',n='<span>Hi~<a href="http://www.yohobuy.com/home?t='+t+'">{{user_name}}</a></span> {{#if islogin}}[<a href="{{logout}}" class="list-a login-out">退出</a>]{{/if}}{{#unless islogin}}[<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>]{{/unless}}',i=G("#loginBox"),o=window.cookie("_UID"),s=e.data.profile_name,r=0,d=0,l="",c=o.split("::"),u=c[0]||" ",h="http://www.yohobuy.com/logout_",p="1",f=0,m={user_name:s,logout:h+e.data.token+".html",random:Math.random()};if(Z=Y.compile(n),"undefined"==typeof o||null===o)return i.html(a),!1;if("undefined"==typeof c||c.length<4)return i.html(a),!1;for(d;d<u.length;d++)l=u.substr(d,1),r+=/.*[\u4e00-\u9fa5]+.*$/.test(l)?2:1;if(10>=r)s=u;else{for(f=0,d;d<u.length;d++)10>f&&(l=u.substr(d,1),"*"!==l&&(f+=/.*[\u4e00-\u9fa5]+.*$/.test(l)?2:1),s+=l);s.length<u.length&&(s+="...")}h=/http:\/\//.test(c[3])?c[3].replace("www.yohobuy.com","www.yohobuy.com"):"http://www.yohobuy.com/logout_"+c[3]+".html",-1===e.result&&(p="-1"),m.islogin=p,i.html(Z(m))}function U(e){var t=e.data,a="";if(1===e.result){if(void 0===typeof t||t.length<1)return!1;"3"===t.vip.curVipInfo.curLevel&&(t.vip3=!0),G("#myYohoBox").mouseenter(function(){return G(this).addClass("acttags"),G("#myYohoBox .myyoho-info").show().html(W(t)),a=G(".myyoho-photo img").attr("data-url"),1===G._checkUrlState?void G(".myyoho-photo").show().find("img").attr("src",a):void(""!==a&&""===G._checkUrl&&G.ajax({url:a,type:"GET",complete:function(e){(200===e.status||0===e.status)&&(G(".myyoho-photo").show().find("img").attr("src",a),G._checkUrlState=1),G._checkUrl=a}}))}),G("#myYohoBox").mouseleave(function(){G(this).removeClass("acttags"),G("#myYohoBox .myyoho-info").hide()})}}function L(){var e={method:"open.passport.get"};G.getData(X,e,function(e){-1!==e.result&&(F(e),U(e))})}function R(){w(),y(),B(),C(),x(),k(),j(),o(),c(),l(),m(),P(),M(),i(),O(),_(),E(),D(),I(),T(),A(),L(),i()}var H,N,G=e("jquery"),Y=e("handlebars"),V=e("index"),W=null,Z=null,X=G("#api-domain").val(),J="",K=/^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/]{0,}$/g,Q="",ee="",te=[],ae=null,ne=0,ie=G(".icon-logo"),oe=!0,se=500,re={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"},de={},le="http://new.yohobuy.com/common/getbanner?content_code=";G("#api-domain").remove(),window.submitSearch=function(){var e,t,a=G("#query_key").val(),i=G("#defaultsearch").val(),o="Search",s="Head Search",r="Search";if(e=G.trim(Q.toLowerCase()),t=G.trim(a.toLowerCase()),n(o,s,r),""!==ee&&""!==Q&&e===t)location.href=ee.replace("'","");else{if(!K.test(a)||""===a)return""===a&&G("#query_key").val(i),G("#searchForm").submit(),!1;location.href="http://search.yohobuy.com/error?query="+a+"&result=error"}},Y.registerHelper("timestamp",function(){return(new Date).getTime()}),Y.registerHelper("headerimg",function(e){return""===e?"http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100":e}),Y.registerHelper("equallevelthree",function(e,t){return"3"===e?t.fn(this):t.inverse(this)}),Y.registerHelper("equalzero",function(e,t){return"0"===e?t.fn(this):t.inverse(this)}),window.JsonPCallBack=s,window.newArr=[],window.wrapperindex=0,window.gindex=0,window.targetArr1=[],window.targetArr2=[],window.targetArr3=[],window.oh1=0,window.oh2=0,window.oh3=0,window.valueIndex=0,window.nowIndex=0,window.inner1="",window.inner2="",window.inner3="",window.finalresult="",R()}),define("js/simple-header",["jquery"],function(e,t,a){function n(e){var t,a,n,i=0,o=0;for(n=0;n<e.length;n++)a=e.substr(n,1),o+=/.*[\u4e00-\u9fa5]+.*$/.test(a)?2:1;if(10>=o)t=e;else{for(i=0,t="",n=0;n<e.length;n++)10>i&&(a=e.substr(n,1),"*"!==a&&(i+=/.*[\u4e00-\u9fa5]+.*$/.test(a)?2:1),t+=a);t.length<e.length&&(t+="...")}return t}function i(e){var t,a;e&&e.href&&e.href.user?(a=n(e.href.user),t='<span>Hi~</span><a href="">'+a+'</a> <a href="'+e.href.logout+'">[退出]</a>'):(a=n(e.user),t='<span>Hi~</span><a href="">'+a+'</a> <a href="http://www.yohobuy.com/signin.html">[请登录]</a><a href="http://www.yohobuy.com/reg.html">[免费注册]</a>'),r(".header-tool li").eq(0).html(t)}function o(){r.ajax({type:"GET",url:"/common/getSimpleHeader",data:{},success:function(e){200===e.code&&i(e.data)}})}function s(){o()}var r=e("jquery");r(".simple-header").size()>0&&r(".tool-options").on("mouseenter",function(){r(this).find(".tool-select").fadeIn()}).on("mouseleave",function(){r(this).find(".tool-select").fadeOut()}),s()}),define("js/product/entry",["jquery","handlebars","source-map","lazyload"],function(e,t,a){e("js/product/list"),e("js/product/brand"),e("js/product/hotrank")}),define("js/product/list",["jquery","handlebars","source-map","lazyload"],function(e,t,a){e("js/product/filter"),e("js/product/sort-pager"),e("js/product/latest-walk"),e("js/product/product")}),define("js/product/filter",["jquery","handlebars","source-map"],function(e,t,a){function n(e){e.removeClass("checked").html(w.unchecked)}function i(){b.addClass("hide"),C.removeClass("hide")}function o(){C.addClass("hide"),b.removeClass("hide")}function s(e,t){var a,n=window.queryString();n[e]=t,a="?"+decodeURIComponent(g.param(n)),window.location.href=a}function r(e){T.children(".senior-sub:eq("+m+")").addClass("hide"),A.children(".attr:eq("+m+")").removeClass("hover"),m=-1}var d,l,c,u,h,p,f,m,g=e("jquery"),v=e("handlebars"),w={unchecked:"",checked:""},y={up:"",down:""},b=g(".brand .default"),C=g(".brand .brand-panel"),x=C.find(".attr"),k=g("#brand-more"),j=g("#brand-multi"),_=g(".ud-price-range"),$=/^\d+$/,q=g(".sort-sub-wrap"),T=g(".senior-sub-wrap"),A=g(".senior-attr-wrap"),I='{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a>{{/ size}}',S={},O=g(".filter-box .size");I=v.compile(I),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(),a=e.data("id");return e.hasClass("active")?(e.removeClass("active"),q.children(":eq("+t+")").addClass("hide"),void O.addClass("hide")):(e.siblings(".active").removeClass("active"),e.addClass("active"),q.children(":not(.hide)").addClass("hide"),q.children(":eq("+t+")").removeClass("hide"),void(O.data("load")||(S[a]?(O.find(".attr-content").html(S[a]),O.removeClass("hide")):g.ajax({url:"/product/search/sortSize",data:{msort:a}}).then(function(e){"array"===g.type(e)&&e.length?(S[a]=I({size:e}),O.find(".attr-content").html(S[a]),O.removeClass("hide")):O.addClass("hide")}))))}),k.length>0&&(d=k.children("em"),l=k.children(".iconfont")),j.click(function(){"none"===C.css("display")&&k.trigger("click"),i(),C.removeClass("hide").addClass("multi"),g(this).addClass("hide"),k.addClass("hide")}),k.click(function(){var e=g(this);e.hasClass("more")?(o(),d.text("更多"),l.html(y.down)):(i(),d.text("收起"),l.html(y.up)),g(this).toggleClass("more")}),g(".brands-index").on("mouseenter","span",function(){var e=g(this),t=e.data("index");e.hasClass("hover")||(e.siblings("span.hover").removeClass("hover"),e.addClass("hover"),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")||(C.find(".checked").each(function(){e.push(g(this).data("id"))}),s("brand",e.join(",")))}),g(".multi-select-cancel").click(function(){var e=g(this).closest(".multi");e.hasClass("brand-panel")&&(j.removeClass("hide"),k.trigger("click"),k.removeClass("hide")),e.addClass("hide").removeClass("multi"),o(),n(e.find(".checkbox.checked"))}),g(".check-container").on("click",".attr",function(){var e=g(this),t=e.find(".checkbox"),a=e.closest(".brand-panel, .senior-sub").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?a.removeClass("dis"):a.addClass("dis")}),g(".brand, .senior").on("click",".attr > a",function(e){g(this).closest(".multi").length>0&&e.preventDefault()}),g(".filter-box").on("click","li.checked, a.checked",function(e){e.preventDefault()}),_.length>0&&(c=_.find(".limit"),u=c.filter(".min"),h=c.filter(".max"),p=_.find(".price-sure"),c.keyup(function(){var e,t,a,n=g.trim(g(this).val()),i=$.test(n);i||(e=parseInt(n,10),g(this).val(isNaN(e)?"":e)),t=g.trim(u.val()),a=g.trim(h.val()),""!==t||""!==a?p.removeClass("hide"):p.addClass("hide")}),p.click(function(){var e,t=g.trim(u.val()),a=g.trim(h.val());""!==t&&""!==a&&+t>+a&&(e=a,a=t,t=e),s("price",t+","+a)})),A.on("mouseenter",".attr",function(){var e=g(this),t=e.index();e.hasClass("no-sub")||(e.addClass("hover").siblings().removeClass("hover"),T.children(".senior-sub:eq("+t+")").removeClass("hide").siblings().addClass("hide"))}).on("mouseleave",".attr",function(){var e=g(this),t=e.index();e.hasClass("no-sub")||(m=t,f=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"),a=[];e.hasClass("dis")||(t.find("span.checked").each(function(){a.push(g(this).data("id"))}),s(t.data("attr"),a.join(",")))}).on("mouseenter",function(){clearTimeout(f)}).on("mouseleave",function(){r()})}),define("js/product/sort-pager",["jquery"],function(e,t,a){var n=e("jquery"),i=n("#count-per-page"),o=i.next("ul"),s=200;n(document).click(function(e){n(e.target).closest(".page-count").length>0||o&&o.slideUp(s)}),i.click(function(){"none"===o.css("display")?o.slideDown(s):o.slideUp(s)})}),define("js/product/latest-walk",["jquery","handlebars","source-map","lazyload"],function(e,t,a){var n=e("jquery"),i=e("handlebars"),o=e("lazyload"),s=n("#latest-walk-count");!function(){var e;0!==s.length&&(e=i.compile(n("#latest-walk-tpl").html()),n.ajax({url:"http://itemapi.yohobuy.com/item/item/recentreview",dataType:"jsonp",data:{limit:s.val()},success:function(t){var a,i,s,r=[];if(200===t.code){if(a=t.data,0===a.length)return void n(".latest-walk").addClass("hide"); +for(i=0;i<a.length;i++)s=a[i],r.push({href:s.url,img:s.pic_url,name:s.product_name,salePrice:s.price,marketPrice:s.market_price});r.length>0&&(n("#latest-walk-goods").html(e({latestWalk:r})),o(n("#latest-walk-goods .lazy")))}}}))}()}),define("js/product/product",["jquery","lazyload"],function(e,t,a){var n,i=e("jquery"),o=e("lazyload"),s=e("js/common/product-event"),r=i(".goods-container"),d=r.find(".good-info"),l=r.find(".good-item-wrapper"),c=r.find(".good-info-main"),u=r.find(".good-select-color"),h=i(".product-list-nav");o(i("img.lazy")),t.init=function(e){function t(e,t){var a,n,i,o="",s=e.length,r=4,d=Math.ceil(s/r),l=0;for(a=0;d>a;a++)for(o+="<ul>",n=0;r>n&&(i=a*r+n,i!==s);n++)o+='<li><a target="_blank" href="'+e[a*r+n].url+t+'"><img src="'+e[a*r+n].src+'" data-cover="'+e[a*r+n].coverImg+'" /></a></li>',n===r-1&&(o+="</ul>",l++);return d>l&&(o+="</ul>"),{colorListStr:o,ulNum:d}}function a(){c.html(""),u.html(""),l.css({display:"none"})}n=null,d.unbind(),n=s(d,e),n.addHandler("MouseEnter",function(e){var n,o,s,d,h,p,f,m,g=10,v=35,w="",y=e.target.attr("data-from")||"";i.ajax({type:"POST",url:"/product/list/getProductPic",dataType:"jsonp",jsonp:"callback",data:{skn:e.target.attr("data-skn")}}).then(function(b){var C=b.data,x=t(C.pics,y);a(),w=x.colorListStr,n=x.ulNum,c.append(e.targetDuplicate),u.append(i(w)),C.isFavorite?c.find(".col-btn").addClass("coled"):c.find(".col-btn").removeClass("coled"),p=l.css("paddingLeft"),f=l.css("paddingTop"),m=r.css("paddingTop"),o=10+65*n+e.targetWidth,d=(e.targetX-1)*(e.targetWidth+g)-(parseInt(p)+1),h=(e.targetY-1)*(e.targetHeight+v)+parseInt(m)-(parseInt(f)+1),s=e.offsetR-(65*n+25),0>=s&&(d=d+s-25),l.css({width:o,left:d,top:h,display:"inline-block"}),C.pics[0]&&C.pics[0].src&&c.find(".good-thumb img").attr("src",C.pics[0].src)})}),l.mouseleave(function(){a()})},i(document).on("hover",".good-select-color li",function(){var e=i(this).find("img").attr("data-cover"),t=i(this).closest(".good-item-wrapper").find(".good-detail-img").find("img");t.attr("src",e)}),c.on("click",".col-btn",function(){var e=i(this);i.ajax({type:"POST",url:"/product/list/changeFavorite",dataType:"jsonp",data:{skn:e.closest(".good-info").data("skn"),isFavorite:e.hasClass("coled")}}).then(function(t){200===t.code?e.toggleClass("coled"):403===t.code&&(location.href="http://www.yohobuy.com/signin.html?refer="+encodeURIComponent(location.href))})}),h.find("h3").click(function(e){var t=i(this).closest(".product-list-nav");t.hasClass("active")?t.find(".sort-child-list").stop(!0,!0).slideUp():t.find(".sort-child-list").stop(!0,!0).slideDown(),t.toggleClass("active")})}),define("js/common/product-event",["jquery"],function(e,t,a){function n(){this.handlers={}}var i=e("jquery");n.prototype={constructor:n,addHandler:function(e,t){"undefined"==typeof this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t)},fire:function(e){var t,a;if(e.target||(e.target=this),this.handlers[e.type]instanceof Array)for(t=this.handlers[e.type],a=0;a<t.length;a++)t[a](e)},removeHandler:function(e,t){var a,n;if(this.handlers[e]instanceof Array){for(a=this.handlers[e],n=0;n<a.length&&a[n]!==t;n++);a.splice(n,1)}}},a.exports=function(e,t){function a(e){var a,n=0,l=0,c=t,u=0,h="",p=0,f=0;switch(e.type){case"mouseenter":a=i(this),h=a.clone(),u=a.index()+1,n=u%c===0?c:u%c,l=Math.ceil(u/c),p=a.offset().left,f=d-(p+s),o.fire({type:"MouseEnter",target:a,targetWidth:s,targetHeight:r,targetX:n,targetY:l,rowWidth:c,activeIndex:u,targetDuplicate:h,offsetL:p,offsetR:f});break;case"mouseleave":o.fire({type:"MouseLeave"})}}var o=new n,s=e.eq(0).width(),r=e.eq(0).height(),d=i(window).width();return e.bind("mouseenter",a),o}}),define("js/product/brand",["jquery"],function(e,t,a){var n=e("jquery");n("#brand-favor").on("click",function(){var e=n(this),t=window.getUid();n.ajax({type:"post",url:"/product/index/favoriteBrand",data:{uid:t,brandId:e.data("id")}}).then(function(t){200===t.code?"add"===t.message?e.find("i").addClass("coled"):e.find("i").removeClass("coled"):403===t.code&&(location.href="http://www.yohobuy.com/signin.html?refer="+encodeURIComponent(location.href))})})}),define("js/product/hotrank",["jquery","handlebars","source-map","lazyload"],function(e,t,a){var n=e("jquery"),i=e("handlebars"),o=e("lazyload");e("js/common/slider"),e("js/common/logo-brand"),o(n("img.lazy")),n(".slide-container").slider(),n(".logo-brand").logoBrand({showNum:10,url:n(".logo-brand").data("url")}),function(e){function t(t,a){var d={};d=a?{sid:t,page:a}:{sid:t},e.ajax({type:"GET",dataType:"json",url:"/product/index/getdata",data:d,success:function(t){var d;200===t.code&&(d={list:t.data},s=i.compile(n),a?(e(".hot-week-list").append(s(d)),r.css({position:"fixed",marginTop:-r.height()/2,top:"50%"})):e(".hot-week-list").html(s(d)),o(e("img.lazy")),c=!1)}})}var a,n,s,r=e(".hot-week").find(".floatlayer"),d=(e(".hot-cate").find("li").eq(0).data("sid"),1),l=0,c=!1;n='{{# list}}<div class="good-info"><div class="item-img"><a class="good-thumb" target="_blank" href="{{url}}"><img class="lazy" data-original="{{thumb}}"></a></div><div class="good-detail-text"><a target="_blank" href="{{url}}">{{name}}</a><p class="price">{{# marketPrice}}<span class="market-price">¥{{.}}</span>{{/ marketPrice}} <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">¥{{salePrice}}</span></p></div></div>{{/ list}}',e(window).on("scroll",function(){var n,i=a+e(".hot-week").outerHeight();a=e(".hot-week").offset().top,e(this).scrollTop()>=a-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()>=a+e(".hot-week").height()-e(window).height()&&(c||(n=e(".hot-cate").find("li.current").data("sid"),d++,c=!0,t(n,d)))}),e(".hot-cate").find("li").each(function(t){var a=e(".hot-cate").width();a>=l&&(l+=e(this).width(),l>=a&&e(".floatlayer").find("li").eq(t).hide().nextAll().hide())}),e(".hot-cate").on("click","li",function(){var n=e(this).index(),i=e(this).data("sid");e(this).hasClass("current")||(e(this).addClass("current").siblings().removeClass("current"),e(".floatlayer").find("li").removeClass("current").eq(n).addClass("current"),e("body,html").stop().animate({scrollTop:a-110},500),t(i),d=1)}),e(".floatlayer").on("click","li",function(){var t=e(this).index();e(this).hasClass("current")||(e(".hot-cate").find("li").eq(t).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")}(n)}),define("js/common/slider",["jquery","lazyload"],function(e,t,a){var n=e("jquery"),i=e("lazyload");!function(e){var t=function(t,a){this.$element=e(t),this.options=e.extend({},e.fn.slider.defaults,a),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(){if(this.$element){if(this.len<=1)return void i(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(),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">',a=0;if(!(this.len<=1)){for(a=0;a<this.len;a++)t+="<span></span>";t+="</div></div></div>",this.$element.append(e(t)),this.smallItem=this.$element.find(".slide-pagination-inner 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 t=this.bigItem.eq(this.index).find("img.lazy");t.attr("src")!==t.data("original")&&(i(t,{event:"sporty"}),t.trigger("sporty")),this.smallItem.eq(this.index).addClass("focus").siblings().removeClass("focus"),this.bigItem.eq(this.index).show().stop().animate({opacity:1},function(){e(this).find(".slide-tips > p").removeClass("hide")}).siblings().stop().animate({opacity:0},function(){e(this).hide().find(".slide-tips > p").addClass("hide")})},_autoplay:function(){var e=this;clearInterval(this.timer),this.timer=setInterval(function(){e._nextSlide()},this.options.time)}},e.fn.slider=function(a){return this.each(function(){var n=e(this),i=n.data("Slider"),o="object"==typeof a&&a;i||n.data("Slider",i=new t(this,o)),"string"==typeof a&&i[a]()})},e.fn.slider.Constructor=t,e.fn.slider.defaults={time:5e3,orient:!0,pagination:null}}(n)}),define("js/common/logo-brand",["jquery","handlebars","source-map","lazyload"],function(e,t,a){var n=e("jquery"),i=e("handlebars"),o=e("lazyload");!function(e){var t=function(t,a){this.$element=e(t),this.options=e.extend({},e.fn.logoBrand.defaults,a),this.init()};t.prototype={init:function(){this.$element.addClass("logos-"+this.options.showNum),this._sendRequest()},_createHelper:function(){var e=this.options.showNum;i.registerHelper("brandList",function(t,a){var n="<ul>",i=0,o=null,s=0;if(t.length%e!==0)for(s=e-t.length%e,i=0;s>i;i++)t.push({href:"javascript:;",img:""});for(i=0;i<t.length;i++)o=a.fn(t[i]),n=i%e===5||5===i?n+'<li class="logo-brand-switch" data-page="'+Math.floor(i/e)+'"><a class="prev iconfont" href="javascript:;"></a><a class="next iconfont" href="javascript:;"></a></li><li data-page="'+Math.floor(i/e)+'">'+o+"</li>":0!==i&&i%e===0?n+'<li class="brand-more" data-page="'+Math.floor(i/(e+1))+'"><a href="javascript:;" target="_blank">MORE ></a></li><li data-page="'+Math.floor(i/e)+'">'+o+"</li>":n+'<li data-page="'+Math.floor(i/e)+'">'+o+"</li>";return n+'<li class="brand-more" data-page="'+Math.floor(i/(e+1))+'"><a href="javascript:;" target="_blank">MORE ></a></li></ul>'})},_sendRequest:function(){var t=this;e.ajax({type:"GET",url:t.options.url,dataType:"json",success:function(e){var a,n;e&&0!==e.length&&(t._createHelper(),n='{{#brandList logoBrand}}<a href="{{href}}" target="_blank"><img class="lazy" data-original="{{img}}" alt=""></a>{{/brandList}}',a=i.compile(n),t.$element.html(a(e)),t.$element.find(".brand-more a").attr("href",e.moreBrand),o(t.$element.find("img.lazy")),t._bindEvent())}})},_brandShow:function(t,a){var n=this;o(e("li[data-page="+a+"]").find("img.lazy").trigger("appear")),n.$element.find("li[data-page="+t+"]").find("img").fadeOut("normal",function(){n.$element.find("li").hide(),n.$element.find("li[data-page="+a+"]").show().find("img").fadeIn()})},_bindEvent:function(){var t=this;t.$element.on("click",".next",function(){var a=e(this).parent().data("page"),n=0,i=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;n=a===i?0:a+1,t._brandShow(a,n)}),t.$element.on("click",".prev",function(){var a=e(this).parent().data("page"),n=0,i=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;n=0===a?i:a-1,t._brandShow(a,n)})}},e.fn.logoBrand=function(a){return this.each(function(){var n=e(this),i=n.data("LogoBrand"),o="object"==typeof a&&a;i||n.data("LogoBrand",i=new t(this,o)),"string"==typeof a&&i[a]()})},e.fn.logoBrand.Constructor=t,e.fn.logoBrand.defaults={showNum:16,url:"/boys/getBrand"}}(n)}),define("js/index/index",["jquery","lazyload","handlebars","source-map"],function(e,t,a){var n=e("jquery"),i=e("lazyload"),o=n(".home-page").data("page"),s=n(".logo-brand").data("url");e("js/common/slider"),e("js/common/slider2"),e("js/common/logo-brand"),e("js/common/accordion"),n(document).on("mouseenter",".imgopacity a img",function(){n(this).css("opacity",.8)}),n(document).on("mouseout",".imgopacity a img",function(){n(this).css("opacity",1)}),n.inArray(o,["boys","girls","kids","lifestyle"])>-1&&(e("js/common/new-arrivls")({type:o,url:"/common/getNewArrival",count:"boys"===o||"lifestyle"===o?5:4,rows:[5,3]}),window.setCookie("_Channel",o,{domain:".yohobuy.com",path:"/",expires:365})),i(n("img.lazy")),"boys"===o?n(".slide-container").slider({pagination:".thumb-pagination"}):(n(".center-col").slider(),n(".slide-container").slider()),"boys"===o?(n(".logo-brand").logoBrand({url:s}),n(".img-brand").slider2()):(n(".logo-brand").logoBrand({showNum:10,url:s}),n(".img-slider-wrapper").slider2())}),define("js/common/slider2",["jquery"],function(e,t,a){var n=e("jquery");!function(e){e.fn.slider2=function(t){function a(t,a,i){i===!0?(e(".next").trigger("click"),t===a-3?n(--t,a,!1):n(++t,a,!0)):(e(".prev").trigger("click"),0===t?n(++t,a,!0):n(--t,a,!1))}function n(t,n,i){window.setTimeout(a,e.fn.slider2.defaults.delaytime,t,n,i)}function i(t,a,n){var i=-(t*a);e(".img-list").animate({"margin-left":i+"px"},"slow",n)}return e.fn.slider2.defaults={index:0,shownum:3,autoplay:!1,delaytime:3e3},this.each(function(){var a=e.extend({},e.fn.slider2.defaults,t),o=parseInt(e(".img-item").css("margin-right")),s=e(".img-item"),r=[],d=s.outerWidth()+o,l=s.length,c=0;if(3>=l)return void e(this).find(".img-brand-switch").hide();for(c=0;c<s.length;c++)r.push(s[c]);l=r.length,e(this).find(".img-list").css({width:d*l}),e(this).find(".next").on("click",function(t){var a=0,n=null;t.preventDefault(),i(3,d,function(){for(a=0;3>a;a++)n=r.shift(),e(".img-item").parent().append(n.outerHTML),r.push(n);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 a=0,n=null,o="";for(t.preventDefault(),a=0;3>a;a++)n=r.pop(),e(".img-item").parent().prepend(n.outerHTML),r.unshift(n);o=3*d,e(".img-item").last().remove(),e(".img-item").last().remove(),e(".img-item").last().remove(),e(".img-list").css({"margin-left":-o+"px"}),i(0,d)}),a.autoplay===!0&&n(a.index,l,!0)})}}(n)}),define("js/common/accordion",["jquery"],function(e,t,a){function n(e){d.each(function(t){s(this).css("zIndex",t),e>=t?s(this).stop().animate({left:t*c},400):s(this).stop().animate({left:e*c+l+c*(t-e-1)},400)})}var i,o=e("js/common/yohoui/YH.slide"),s=e("jquery"),r=s(".slide-accordion"),d=r.find("li"),l=d.width(),c=1150===parseInt(s(".home-page").width())?125:107;n(0),i=new o({length:5,loop:!1,auto:!1,timeout:2,index:0}),i.on("change",function(e){n(e.to)}),d.mouseover(function(){i.go(s(this).index())}),i.init()}),define("js/common/yohoui/YH.slide",[],function(e,t,a){var n=e("js/common/yohoui/YH.base"),i=function(e){this.__lastTime=null,this.__isStop=!1,e=n.extend(this.defaults,e),i.superclass.constructor.call(this,e)};n.inherit(i,n.assembly),i.prototype.oninit=function(){var e=this,t=e.options;return t.auto&&e.play(),e.go(t.index),this},i.prototype.go=function(e,t){var a,n,i,o,s,r,d,l,c=this,u=c.options;c.__lastTime&&(clearTimeout(c.__lastTime),c.__lastTime=null),t="undefined"==typeof t?u.index:t,a=e===t?0:e>t?1:-1,n=u.loop,o=u.length-1,s=e,e=n?e>o?e-o-1:0>e?e+o+1:e:e>o?o:0>e?0:e,i=u.index=e,r={from:t,to:e,originalto:s,direction:a};for(d in c.registerEvent)if(c.registerEvent[d].length>0)for(l in c.registerEvent[d])c.registerEvent[d].hasOwnProperty(l)&&c.registerEvent[d][l](r);i!==o||e?!c.__isStop&&u.auto&&c.play():c.__lastTime&&clearTimeout(c.__lastTime)},i.prototype.play=function(){var e=this,t=e.options;return e.__lastTime=setTimeout(function(){e.next()},1e3*t.timeout),this},i.prototype.next=function(){var e=this,t=e.options,a=t.index,n=a+t.step;e.go(n,a)},i.prototype.prev=function(){var e=this,t=e.options,a=t.index,n=a-t.step;e.go(n,a)},i.prototype.pause=function(){var e=this;e.__lastTime&&clearTimeout(e.__lastTime),e.__isStop=!0},i.prototype.resume=function(){var e=this;e.__isStop=!1,e.play()},i.prototype.defaults={index:0,timeout:5,step:1,per:1,auto:!1,loop:!1},a.exports=i}),define("js/common/yohoui/YH.base",[],function(e,t,a){var n,i={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Function]":"function","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object String]":"string"},o={__Index:0,list:[],get:function(e){return void 0===e?this.list:this.list[e]},fn:function(){},inherit:function(e,t){var a=o.fn;a.prototype=t.prototype,e.prototype=new a,e.prototype.constructor=e,e.superclass=t.prototype,e.prototype.constructor===Object.prototype.constructor&&(e.prototype.constructor=t)},extend:function(e,t){var a;for(a in t)t.hasOwnProperty(a)&&(e[a]=t[a]);return e},copy:function(e,t,a){var n,i,s;if("object"!=typeof t)return t;if(n=t.valueOf(),t!==n)return new t.constructor(n);if(t instanceof t.constructor&&t.constructor!==Object){i=e?new e:o.clone(t.constructor.prototype);for(s in t)(e||t.hasOwnProperty(s))&&(i[s]=t[s])}else{i={};for(s in t)i.hasOwnProperty(s)&&(i[s]=t[s])}if(a)for(s in a)i.hasOwnProperty(s)&&(i[s]=a[s]);return i},clone:function(e){return o.__cloneFunc.prototype=e,new o.__cloneFunc},__cloneFunc:function(){},delegate:function(e,t){var a;return t=t||window,arguments.length>2?(a=Array.prototype.slice.call(arguments,2),function(){return e.apply(t,a)}):function(){return e.call(t)}},dom:function(e,t){var a,n,i=e,o={wrap:i},s=i[0].getElementsByTagName("*"),r=s.length;for(n=0;r>n;n++)a=s[n].className,a.indexOf(t)>-1&&(a=a.split(t)[1]),a&&(o[a]=i.find(s[n]));return o},template:function(){var e,t,a,n,i=arguments;if(i.length>0&&o.isString(i[0]))if(e=i[0],2===i.length&&o.isObject(i[1]))for(t in i[1])void 0!==i[1][t]&&(a=new RegExp("({"+t+"})","g"),e=e.replace(a,i[1][t]));else for(n=1;n<i.length;n++)void 0!==i[n]&&(a=new RegExp("({["+(n-1)+"]})","g"),e=e.replace(a,i[n]));return e},__type:function(e){return null==e?String(e):i[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,a){var n,i;if(o.isArray(e))for(n=0,i=e.length;i>n&&t.call(e[n],n,e[n],a)!==!1;n++);else for(n in e)if(t.call(e[n],n,e[n],a)===!1)break},funManager:{__loadList:{},__loadFun:function(e,t,a){e.methord&&o.isFunction(e.methord())&&(a=a||window,e.methord()(e,function(){t()},a))},load:function(e,t,a,n){n=n||0,e[n]&&o.funManager.__loadFun(e[n],function(){o.funManager.load(e,t,a,n+1)},a),t(n,a)},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,a=t.detail?-1*t.detail:t.wheelDelta/40,n=0>a?-1:1;return{direction:n,unit:a}},__:function(e,t,a,n){var i;for(i in e)if(window[e[i].validator]){t[e[i].validator](e[i].prefix+a,n,!1);break}},add:function(e,t,a){var n=[{validator:"addEventListener",prefix:""},{validator:"attachEvent",prefix:"on"}];this.__(n,e,t,a)},remove:function(e,t,a){var n=[{validator:"removeEventListener",prefix:""},{validator:"detachEvent",prefix:"on"}];this.__(n,e,t,a)}},getUid:function(e){return o.template("me-{0}{1}-{2}",e,(new Date).getTime(),o.__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"],a=document.createElement("div");for(e in t)if(void 0!==a.style[t[e]])return o.template("-{0}-",t[e].replace("Perspective","").toLowerCase())},parseURL:function(e){var t,a,n,i,o,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={},a=s.search.replace(/^\?/,"").split("&"),n=a.length,i=0,o;n>i;i++)a[i]&&(o=a[i].split("="),t[o[0]]=o[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 a;for(a=0;a<e.length;a++)if(this[a]===t)return a;return-1},remove:function(e,t){var a=this.indexOf(e,t);return a>-1&&e.splice(a,1),e}}};n=function(e){this.initialized=!1,this.registerEvent={before:[],change:[],after:[]},this.options=e,this.init(e)},n.output=function(){o.log(o.list)},n.prototype.oninit=o.fn,n.prototype.init=function(e){this.initialized=!0,this.__Uid=o.getUid("me"),this.oninit(e),o.list[this.__Uid]=this},n.prototype.destory=function(){this.initialized=!1,delete o.list[this.__Uid]},n.prototype.getUid=function(){return this.__Uid},n.prototype.getOptions=function(){return this.options},n.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]}},n.prototype.on=function(e,t){var a=this,n=a.registerEvent[e];return n&&n.push(t),n},n.prototype.off=function(e,t){var a=this,n=a.registerEvent[e],i=[];o.each(n,function(e,a){a===t&&i.push(e)}),o.each(i.reverse(),function(e,t){n.splice(t,1)})},o.assembly=n,a.exports=o}),define("js/common/new-arrivls",["jquery","lazyload","handlebars","source-map"],function(e,t,a){function n(e){var t={index:0,isload:!0,isrun:!0,offset:{height:null,width:null}};return this.registerEvent={before:[],change:[],after:[]},this.options=i.extend(!0,{},t,e),this}var i=e("jquery"),o=e("lazyload"),s=e("handlebars");n.prototype.on=function(e,t){var a=this,n=a.registerEvent[e];return n&&n.push(t),n},n.prototype.exect=function(e,t){var a,n=this;if(n.registerEvent[e]&&n.registerEvent[e].length>0)for(a in n.registerEvent[e])n.registerEvent[e].hasOwnProperty(a)&&n.registerEvent[e][a](t)},n.prototype.init=function(){function e(){a.isrun&&a.isload&&t.__directionCalculation()&&(a.isload=!1,a.index++,t.exect("after",a)),t.exect("change",a)}var t=this,a=this.options;t.exect("before",a),i(window).scroll(e)},n.prototype.emit=function(){var e=this.options;e.isload=!0},n.prototype.stop=function(){var e=this.options;e.isrun=!1,e.isload=!1},n.prototype.__directionCalculation=function(){var e=this.options;return e.offset.height&&e.offset.height()>0&&i(window).scrollTop()+i(window).height()>=e.offset.height()?!0:!1},a.exports=function(e){var t,a=i("#newarrivals .goods-container"),r=i(".loading a"),d=new n({index:1,isload:!1,offset:{height:function(){return parseFloat(a.offset().top)+parseFloat(a.height())-200}}}),l=e.url,c=e.count,u=e.rows;e.pageIndex=0,delete e.url,delete e.count,delete e.rows,t=function(e,t,n){var l={type:"POST",url:e,success:function(e){var i,l,c,u=e.code;200===u?(l=e.goods.length%n,c=e.goods.length-l-1,e.goods.splice(c,l),i=s.compile(d.tpl),a.append(i(e.goods)),t.pageIndex=t.pageIndex+e.goods.length,o(a.find("img.lazy")),d.emit()):(d.stop(),r.html("查看更多"))},error:function(){d.stop(),r.html("网络断开连接了~")}};l.data=t,i.ajax(l)},d.on("after",function(a){e.pageCount=c*u[1],t(l,e)}),d.on("before",function(a){d.tpl="{{#each this}}",d.tpl+='<div class="good-info imgopacity" data-skn="{{skn}}">',d.tpl+=' <div class="tag-container clearfix">',d.tpl+=" {{# tags}}",d.tpl+=" {{# isNew}}",d.tpl+=' <span class="good-tag new-tag">NEW</span>',d.tpl+=" {{/ isNew}}",d.tpl+=" {{# isReNew}}",d.tpl+=' <span class="good-tag renew-tag">再到着</span>',d.tpl+=" {{/ isReNew}}",d.tpl+=" {{# isSale}}",d.tpl+=' <span class="good-tag sale-tag">SALE</span>',d.tpl+=" {{/ isSale}}",d.tpl+=" {{# isNewFestival}}",d.tpl+=' <span class="good-tag new-festival-tag">新品节</span>',d.tpl+=" {{/ isNewFestival}}",d.tpl+=" {{# isLimit}}",d.tpl+=' <span class="good-tag limit-tag">限量商品</span>',d.tpl+=" {{/ isLimit}}",d.tpl+=" {{# isYearEndPromotion}}",d.tpl+=' <span class="good-tag yep-tag">年终大促</span>',d.tpl+=" {{/ isYearEndPromotion}}",d.tpl+=" {{# isYearMidPromotion}}",d.tpl+=' <span class="good-tag ymp-tag">年中热促</span>',d.tpl+=" {{/ isYearMidPromotion}}",d.tpl+=" {{/ tags}}",d.tpl+=" </div>",d.tpl+=' <div class="good-detail-img">',d.tpl+=' <a class="good-thumb" href="{{url}}" target= "_blank">',d.tpl+=' <img class="lazy" data-original="{{thumb}}">',d.tpl+=" </a>",d.tpl+=" {{# isFew}}",d.tpl+=' <p class="few-tag">即将售罄</p>',d.tpl+=" {{/ isFew}}",d.tpl+=" {{#if showColBtn}}",d.tpl+=' <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>',d.tpl+=" {{/if}}",d.tpl+=" </div>",d.tpl+=' <div class="good-detail-text">',d.tpl+=' <a href="{{url}}" target= "_blank">{{name}}</a>',d.tpl+=' <p class="price">',d.tpl+=' <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">',d.tpl+=" ¥{{salePrice}}",d.tpl+=" </span>",d.tpl+=" {{# marketPrice}}",d.tpl+=' <span class="market-price">¥{{.}}</span>',d.tpl+=" {{/ marketPrice}}",d.tpl+=" </p>",d.tpl+=" </div>",d.tpl+="</div>",d.tpl+="{{/each}}",e.pageCount=c*u[0],t(l,e,e.count)}),d.init()}}),define("js/brand/index",["jquery","lazyload","handlebars","source-map","dot"],function(e,t,a){var n=e("jquery"),i=e("lazyload");e("js/common/slider"),e("js/brand/brands"),i(n("img.lazy")),n(".slide-container").slider({orient:!0})}),define("js/brand/brands",["jquery","handlebars","source-map","dot"],function(e,t,a){function n(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),a=window.location.search.substr(1).match(t);return null!=a?window.unescape(a[2]):null}function i(e,t,a){var n,i=e,o={width:i.width(),left:i.offset().left,right:parseFloat(l(window).width())-parseFloat(i.offset().left)-parseFloat(i.width())},s=i.parent("li");p.find(".brands-dialog").remove(),n=c.compile(a),s.append(n(t)),u(s.find(".right")),o.right-350<0&&s.find(".brands-layer").addClass("brands-layer-right").css("left",-330-o.width)}function o(){v.unbind("mouseenter").unbind("mouseleave").hover(function(){var e=l(this),t=e.attr("data-key"),a={url:"/brands/brandinfo",type:"get",data:{brandId:t},success:function(t){200===t.code&&t.brand&&(_.hasOwnProperty(t.brand.key)||(_[t.brand.key]=t.brand),i(e,_[t.brand.key],$))}};clearTimeout(r),r=setTimeout(function(){_.hasOwnProperty(t)?i(e,_[t],$):l.ajax(a)},200)},function(){clearTimeout(r),p.find(".brands-dialog").remove()})}var s,r,d,l=e("jquery"),c=e("handlebars"),u=e("dot"),h=l(".brands-tabs"),p=l(".brands-list"),f=l(".brands-category"),m=l(".news-txt ul"),g=p.find("dl.clearfix"),v=p.find("li>a"),w=f.find("a"),y=h.find("li>a"),b=h.find(".hoverarr"),C=w.height(),x=w.offset()?w.offset().top:0,k=m.height(),j=m.offset()?m.offset().top:0,_={},$='<div class="brands-dialog">';$+=' <div class="brands-layer">',$+=' <div class="layer-content">',$+=' <div class="title">{{title}}</div>',$+=' <div class="clearfix desc">',$+=' <img src="{{icon}}">',$+=' <p class="right">{{content}}</p>',$+=" </div> ",$+=' <div class="featured">',$+=" <p>{{subtitle}}</p> ",$+=' <div class="clearfix"> ',$+=" {{#each imgs}}",$+=' <img src="{{src}}">',$+=" {{/each}}",$+=" </div>",$+=" </div>",$+=" </div>",$+=" </div>",$+="</div>",u(l(".brand-desc")),l.easing.easeOutQuint=function(e,t,a,n,i){return n*((t=t/i-1)*t*t*t*t+1)+a},m.length&&m.find("li").each(function(){var e=l(this),t=e.offset().top-j+e.height();t>k&&e.hide()}),y.eq(0).parent("li").find(".brands-content").css("z-index","1"),d=n("id")?n("id"):0,s=y.eq(d),s.find(".g-mask").addClass("g-mask-on"),d&&s.length&&b.css({left:parseFloat(s.offset().left)-parseFloat(h.offset().left)}),y.hover(function(){var e=l(this);clearTimeout(r),r=setTimeout(function(){var t=parseFloat(e.offset().left)-parseFloat(h.offset().left);b.animate({left:t},200,"easeOutQuint")},50),h.find(".brands-content").removeAttr("style"),e.parent("li").find(".brands-content").css("z-index","1")},function(){clearTimeout(r)}),l(window).scroll(function(){l(this).scrollTop()>=x?f.addClass("category-fix"):f.removeClass("category-fix")}),w.click(function(){var e=l(this).attr("href").split("#")[1],t=p.find("[name="+e+"]").offset().top-C;return f.hasClass("category-fix")||(t-=C),l("html,body").animate({scrollTop:t},200),!1}),g.length<26&&l.ajax({url:"/brands/brandList",type:"POST",data:{start:g.length?g.length+1:1},success:function(e){e&&(p.append(e),v=p.find("li>a"),o())}}),o()}),define("js/passport/entry",["jquery","jquery.placeholder"],function(e,t,a){e("js/passport/reg"),e("js/passport/back"),e("js/passport/login"),e("js/passport/reset"),e("js/passport/vertification"),e("js/passport/thirdlogin"),e("js/passport/third-pwd")}),define("js/passport/reg",["jquery","jquery.placeholder"],function(e,t,a){function n(e,t){var a,n;"reg"===e?(a="/passport/register/checkmobile",n={mobile:j.val(),area:S.text().split("+")[1]}):"third"===e&&(a="/passport/autouserinfo/bindCheck",n={mobile:j.val(),area:S.text().split("+")[1],openId:p("#open-id").val(),sourceType:p("#source-type").val()}),p.ajax({url:a,type:"POST",data:n}).then(function(e){if(e){switch(e.code){case 200:k[0].message="",k[0].status=!0;break;case 400:k[0].message=e.message,k[0].status=!1}t()}})}function i(e,t){var a;"reg"===e?a="/passport/register/piccaptcha":"third"===e&&(a="/passport/autouserinfo/checkPicCode"),p.ajax({type:"POST",url:a,data:{verifyCode:T.val()}}).then(function(e){if(e){switch(e.code){case 200:k[1].message="",k[1].status=!0;break;case 400:k[1].message="图形验证码错误",k[1].status=!1}t()}})}function o(e,t){var a;"reg"===e?a="/passport/register/msgcaptcha":"third"===e&&(a="/passport/autouserinfo/checkBindMsg"),p.ajax({type:"POST",url:a,data:{code:_.val(),mobile:j.val(),area:S.text().split("+")[1]}}).then(function(e){if(e){switch(e.code){case 200:k[2].message="",k[2].status=!0;break;case 400:k[2].message="短信验证码错误",k[2].status=!1}t()}})}function s(e,t,a){var s,r=p.trim(t.val());t.hasClass("phone-num")?(s=S.text(),""===r?(k[0].message="请输入手机号码",k[0].status=!1,a()):f.phoneRegx[s].test(r)?n(e,a):(k[0].message="手机号码格式不正确,请重新输入",k[0].status=!1,a())):t.hasClass("captcha")?""===r?(k[1].message="请输入图形验证码",k[1].status=!1,a()):r.length<=3?(k[1].message="图形验证码为4位",k[1].status=!1,a()):k[0].status?i(e,a):(k[1].message="图形验证码错误",k[1].status=!1,a()):t.hasClass("msg-captcha")?""===r?(k[2].message="请输入短信验证码",k[2].status=!1,a()):r.length<=3?(k[2].message="短信验证码错误",k[2].status=!1,a()):k[1].status?o(e,a):(k[2].message="短信验证码错误",k[2].status=!1,a()):t.hasClass("pwd")?(""===r?(k[3].message="请输入密码",k[3].status=!1):r.length<6||r.length>20?(k[3].message="密码只支持6-20位字符", +k[3].status=!1):z.test(t.val())?(k[3].message="",k[3].status=!0):(k[3].message="密码须字母和数字组合",k[3].status=!1),a()):t.hasClass("repwd")&&(""===r?(k[4].message="请输入密码确认",k[4].status=!1):$.val()!==r?(k[4].message="与密码不一致,请重新输入",k[4].status=!1):(k[4].message="",k[4].status=!0),a())}function r(){var e=h.offset();return y.css({top:e.top-40,left:e.left})}function d(){var e,t=!1,a=k.length;for(e=0;a>e;e++)t||(k[e].message?(y.find("span").text(k[e].message),h=p("#"+k[e].id),r().removeClass("hide"),t=!0):y.addClass("hide"))}function l(){var e,t,a=k.length;for(t=0;a>t;t++)k[t].message?(e=p("#"+k[t].id),e.addClass("error")):(e=p("#"+k[t].id),e.removeClass("error"))}function c(e){var t=e.val(),a=m(t),n=0;switch(n=0===a?0:10>=a?1:20>=a?2:3){case 0:I.removeClass("red yellow green"),A.removeClass("color");break;case 1:I.addClass("red").removeClass("yellow green"),A.filter(".low").addClass("color"),A.filter(".mid,.high").removeClass("color");break;case 2:I.addClass("yellow").removeClass("red green"),A.filter(".low,.mid").addClass("color"),A.filter(".high").removeClass("color");break;case 3:I.addClass("green").removeClass("yellow red"),A.addClass("color")}""===t?w.removeClass("red yes no").addClass("default"):t.length<6||t.length>20?w.removeClass("default yes").addClass("no red"):w.removeClass("default no red").addClass("yes")}var u,h,p=e("jquery"),f=e("js/passport/mail-phone-regx"),m=e("js/passport/pwd-strength"),g=p(".register-page"),v=p("#pwd-tips"),w=v.find("#pwd-tip1"),y=p("#err-tip"),b=p("#register-btn"),C=p("#send-captcha"),x=4,k=[],j=p("#phone-num"),_=p("#msg-captcha"),$=p("#pwd"),q=p("#repwd"),T=p("#captcha"),A=p(".pwd-intensity"),I=A.closest(".pwd-intensity-container"),S=p("#country-code"),O=p("#region"),P=!1,z=f.pwdValidateRegx;e("jquery.placeholder"),setTimeout(function(){j.val(""),_.val(""),$.val(""),q.val(""),T.val("")},0),T.attr("maxlength",x),$.focus(function(e){v.removeClass("hide"),P=!0,u=p(this).val()}).blur(function(){v.addClass("hide"),P=!1}),p("[placeholder]").placeholder(),k=[{id:"phone-num",message:"",status:!1},{id:"captcha",message:"",status:!1},{id:"msg-captcha",message:"",status:!1},{id:"pwd",message:"",status:!1},{id:"repwd",message:"",status:!1}],p(window).resize(function(){y.hasClass("hide")||r()}),t.init=function(e){p("#agree-terms").click(function(){p(this).attr("notchecked")&&(p(this).removeAttr("notchecked"),b.addClass("disable").attr("disabled","true"))}),g.on("keydown",function(e){var t=e.which;13===t&&b.click()}),g.find(".va").keyup(function(){var t,a=0,n=k.length,i=p(this);s(e,p(this),function(){for(d(),l(),t=0;n>t;t++)k[t].status&&a++;4!==a||p("#agree-terms").attr("notchecked")?b.addClass("disable").attr("disabled","true"):b.removeClass("disable").removeAttr("disabled"),k[1].status?C.removeClass("disable"):C.addClass("disable")}),i.hasClass("pwd")&&c(i)}).blur(function(){}),O.change(function(){S.text(p("#region").val()),s(e,j,d)}),C.click(function(){var t,a,n=60;p(this).hasClass("disable")||(C.addClass("disable"),t=setInterval(function(){return 0>=n?(C.removeClass("disable").val("获取短信验证码"),void clearInterval(t)):void C.val(n--+"秒可重新发送")},1e3),"reg"===e?a="/passport/register/sendBindMsg":"third"===e&&(a="/passport/autouserinfo/sendBindMsg"),p.ajax({type:"POST",url:a,data:{area:S.text().split("+")[1],mobile:j.val(),verifyCode:T.val()}}))}),$[0].onpaste=function(){return!1},b.click(function(){var t;"reg"===e?t="/passport/register/mobileregister":"third"===e&&(t="/passport/autouserinfo/bindMobile"),p(this).hasClass("disable")||p.ajax({type:"POST",url:t,data:{area:S.text().split("+")[1],mobile:j.val(),verifyCode:T.val(),code:_.val(),password:$.val()}}).then(function(e){var t,a,n=0;200===e.code?(a=e.data.href,t=setTimeout(function(){n++},1e3),p.ajax({type:"GET",url:e.data.session}).then(function(e){200===e.code&&3>t&&(clearInterval(t),location.href=a)}),t>=3&&(clearInterval(t),location.href=a)):console.log("网络超时~")})}),p(".change-captcha").click(function(){var e=new Date,t=p(".captcha-img"),a=t.attr("src").split("?")[0];t.attr("src",a+"?t="+e.getTime())})}}),define("js/passport/mail-phone-regx",[],function(e,t,a){var n={"+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]{1}[0-9]{8}$/,"+81":/^0[9|8|7][0-9]{9}$/,"+61":/^[0-9]{11}$/},i=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/,o=/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/;t.phoneRegx=n,t.emailRegx=i,t.pwdValidateRegx=o}),define("js/passport/pwd-strength",[],function(e,t,a){function n(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function i(e,t,a){var n=e.charCodeAt(0),i=t.charCodeAt(0);return n-i===0?!0:4===a||n-i!==1&&n-i!==-1?!1:!0}function o(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t,a,s=0,r=e.length,d="",l=0,c=0;for(c=0;r>c;c++)t=e.charAt(c),a=n(e,c),l===a&&i(t,d,a)||(s+=a+o(a,l)),d=t,l=a;return s}a.exports=s}),define("js/passport/back",["jquery","jquery.placeholder"],function(e,t,a){function n(){var e=new Date,t=r("#captcha-img"),a=t.attr("src").split("?")[0];r("#captcha-img").attr("src",a+"?t="+e.getTime())}function i(){C&&x?v.removeClass("disable").prop("disabled",!1):v.addClass("disable").prop("disabled",!0)}function o(e){var t=!0,a="";return e=r.trim(e),""!==e?/^[0-9]+$/.test(e)?c[h.val()].test(e)?t=!0:(a="手机号码格式不正确, 请重新输入",t=!1):l.test(e)?t=!0:(a="邮箱格式不正确, 请重新输入",t=!1):(a="账户名不能为空",t=!1),C=t,{pass:t,errTxt:a}}function s(){var e=r.trim(f.val());return""===e||e.length<b?(x=!1,void i()):void r.ajax({type:"POST",url:"/passport/back/authcode",data:{verifyCode:e,phoneNum:r("#phone-num").val(),area:r("#country-code-hide").val()}}).then(function(e){200===e.code?x=!0:402===e.code?(C=!1,x=!0,w.removeClass("hide").find("em").text("该账号不存在"),p.addClass("error")):400===e.code&&(x=!1,n()),i()})}var r=e("jquery"),d=e("js/passport/mail-phone-regx"),l=d.emailRegx,c=d.phoneRegx,u=e("js/passport/ac-email"),h=r("#country-code-hide"),p=r("#phone-num"),f=r("#captcha"),m=r("#country-code-list"),g=r("#country-code"),v=r("#find-btn"),w=r("#account-err"),y=r("#captcha-err"),b=4,C=!1,x=!1;e("jquery.placeholder"),u(p,function(){var e=o(p.val());e.pass?(w.addClass("hide"),p.removeClass("error")):(w.removeClass("hide").find("em").text(e.errTxt),p.addClass("error")),i()}),f.attr("maxlength",b),r("input").placeholder(),r("#change-captcha, #captcha-img").on("click",function(){n()}),g.on("click",function(e){e.stopPropagation(),"block"===m.css("style")?m.slideUp("fast"):m.slideDown("fast")}),m.delegate("li","click",function(e){var t,a=r(this),n=a.data("cc");e.stopPropagation(),h.val(n),g.find("em").html(a.text()),""!==r.trim(p.val())&&(t=o(p.val()),i(),C?(w.addClass("hide"),p.removeClass("error")):(w.removeClass("hide").text(t.errTxt),p.addClass("error"))),m.slideUp("fast")}),r(document).click(function(){"block"===m.css("display")&&m.slideUp()}),p.keyup(function(){o(r.trim(r(this).val())),i()}).focus(function(){r(this).removeClass("error"),w.addClass("hide")}),f.blur(function(){var e=""===r.trim(f.val())?"验证码不能为空":"验证码不正确";x?(y.addClass("hide"),f.removeClass("error")):(y.removeClass("hide").find("em").text(e),f.addClass("error"),n())}).focus(function(){r(this).removeClass("error"),y.addClass("hide")}).keyup(function(){s()}),r("#find-btn").click(function(e){return/^[0-9]+$/.test(r.trim(p.val()))&&r("#find-form").attr("action","/passport/back/mobile"),r(this).hasClass("disable")?void 0:x&&C?void 0:(e.preventDefault(),!0)})}),define("js/passport/ac-email",["jquery"],function(e,t,a){var n,i=e("jquery"),o={num:["qq.com","163.com","126.com","sina.com","gmail.com","sohu.com","hotmail.com","139.com","189.com"],other:["gmail.com","qq.com","163.com","126.com","sina.com","sohu.com","hotmail.com","139.com","189.com"]};a.exports=function(e,t){var a,s='<ul id="email-autocomplete" class="email-autocomplete hide"></ul>';e.parent().append(s),a=i("#email-autocomplete"),e.on("keyup",function(){var e,t,n,s,r=i.trim(i(this).val()),d="";if(r.indexOf("@")>0){for(e=r.match(/^[0-9]+@(.*)/),e?(n=o.num,t=e[1]):(n=o.other,t=r.match(/@(.*)/)[1]),s=0;s<n.length;s++)n[s].indexOf(t)>-1&&(d+="<li>"+r.slice(0,r.indexOf("@"))+"@"+n[s]+"</li>");""!==d&&/.com$/.test(r)===!1?a.html(d).removeClass("hide"):a.html("").addClass("hide")}}).on("blur",function(){n=setTimeout(function(){a.addClass("hide"),t&&t()},200)}),a.on("click","li",function(){clearTimeout(n),e.val(i(this).text()).focus(),a.addClass("hide"),t&&t()})}}),define("js/passport/login",["jquery","jquery.placeholder"],function(e,t,a){function n(){var e,t=!1,a=l.trim(c.val());return""!==a?/^[0-9]+$/.test(a)?C.phoneRegx[v.val()].test(a)?t=!0:(t=!1,e="手机号码不正确,请重新输入"):C.emailRegx.test(a)?t=!0:(t=!1,e="邮箱格式不正确,请重新输入"):e="请输入账户名",t?(p.addClass("hide"),c.removeClass("error")):(p.removeClass("hide").children("em").text(e),c.addClass("error")),t}function i(){var e,t=!1,a=l.trim(u.val());return""!==a?a.length<6?e="请输入长度为6-20字符的密码":t=!0:e="请输入密码",t?(f.addClass("hide"),u.removeClass("error")):(f.removeClass("hide").children("em").text(e),u.addClass("error")),t}function o(){var e,t=!1,a=l.trim(h.val());return _.is(":hidden")?!0:(""!==a?4!==a.length?e="请输入长度为4字符的验证码":t=!0:e="请输入验证码",t?(m.addClass("hide"),h.removeClass("error")):(m.removeClass("hide").children("em").text(e),h.addClass("error")),t)}function s(){var e=!0,t=l.trim(c.val()),a=l.trim(u.val());return""!==t?e=n()&&i()&&o():(e=!1,c.addClass("error"),""===a?(p.addClass("both-error").removeClass("hide").children("em").text("请输入账户名和密码"),f.addClass("hide"),u.addClass("error")):p.removeClass("hide").children("em").text("请输入账户名")),e}function r(){$.attr("src",j+l.now()),h.val(""),_.removeClass("hide")}var d,l=e("jquery"),c=l("#account"),u=l("#password"),h=l("#captcha"),p=c.siblings(".err-tip"),f=u.siblings(".err-tip"),m=h.siblings(".err-tip"),g=l("#caps-lock"),v=l("#country-code-hide"),w=l("#country-code > em"),y=l("#country-list"),b=l("#email-autocomplete"),C=e("js/passport/mail-phone-regx"),x=e("js/passport/ac-email"),k=l(".remember-me"),j="/passport/images?t=",_=l(".captcha-wrap"),h=_.find("#captcha"),$=_.find("#captcha-img"),m=_.find(".err-tip"),q={checked:"",unchecked:""},T=!1;e("jquery.placeholder"),x(c,function(){n()&&l.ajax({url:"/passport/login/account",type:"GET",data:{account:l.trim(c.val())}}).then(function(e){e.data&&e.data.needCaptcha&&r()})}),l("[placeholder]").placeholder(),l("#country-code").on("click",function(){"none"===y.css("display")&&y.slideDown()}),y.on("click","li",function(){var e=l(this),t=e.data("cc");w.html(e.html()),v.val(t),y.slideUp()}),l(document).on("click",function(e){l(e.target).closest("#country-code").length>0||"block"===y.css("display")&&y.slideUp()}),u.on("blur",function(){i(),g.hasClass("hide")||g.addClass("hide")}).on("keypress",function(e){var t=e.which;return t>=65&&90>=t?void g.removeClass("hide"):void g.addClass("hide")}),h.on("blur",function(){o()}),b.on("click","li",function(){clearTimeout(d),c.val(l(this).text()).focus(),b.addClass("hide")}),k.on("click",function(){var e=l(this);e.toggleClass("checked"),e.hasClass("checked")?e.children("i").html(q.checked):e.children("i").html(q.unchecked)}),l(".va").on("focus",function(){var e=l(this);e.removeClass("error"),e.siblings(".err-tip").addClass("hide")}),_.on("click",".change-captcha, .captcha-img",function(){$.attr("src",j+l.now())}),l("#login-btn").on("click",function(){var e=s();e&&T===!1&&(T=!0,l.ajax({url:"/passport/login/auth",type:"POST",data:{areaCode:v.val().replace("+",""),account:l.trim(c.val()),password:l.trim(u.val()),captcha:l.trim(h.val()),isRemember:k.hasClass("checked")?!0:!1},success:function(e){200===e.code?e.data&&(location.href=e.data.session):("captcha"===e.data.errorType?(m.removeClass("hide").children("em").html(e.message),h.addClass("error").val("")):(f.removeClass("hide").children("em").html(e.message),u.addClass("error").val("")),e.data&&e.data.needCaptcha&&r())},complete:function(){T=!1}}))})}),define("js/passport/reset",["jquery","jquery.placeholder"],function(e,t,a){function n(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function i(e,t,a){var n=e.charCodeAt(0),i=t.charCodeAt(0);return n-i===0?!0:4===a||n-i!==1&&n-i!==-1?!1:!0}function o(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t,a,s=0,r=e.length,d="",l=0,c=0;for(c=0;r>c;c++)t=e.charAt(c),a=n(e,c),l===a&&i(t,d,a)||(s+=a+o(a,l)),d=t,l=a;return s}function r(){var e=l.val(),t=s(e),a=0;switch(a=0===t?0:10>=t?1:20>=t?2:3){case 0:v.removeClass("red yellow green"),g.removeClass("color");break;case 1:v.addClass("red").removeClass("yellow green"),g.filter(".low").addClass("color"),g.filter(".mid,.high").removeClass("color");break;case 2:v.addClass("yellow").removeClass("red green"),g.filter(".low,.mid").addClass("color"),g.filter(".high").removeClass("color");break;case 3:v.addClass("green").removeClass("yellow red"),g.addClass("color")}""===e?w.removeClass("red yes no").addClass("default"):e.length<6||e.length>20?w.removeClass("default yes").addClass("no red"):w.removeClass("default no red").addClass("yes"),m=y.test(e)?!0:!1}var d=e("jquery"),l=d("#pwd"),c=d("#re-input"),u=d("#reset-pwd-btn"),h=d("#pwd-err"),p=d("#repwd-err"),f=d("#pwd-tips"),m=!1,g=d(".pwd-intensity"),v=g.closest(".pwd-intensity-container"),w=d("#pwd-tip1"),y=e("js/passport/mail-phone-regx").pwdValidateRegx;e("jquery.placeholder"),d("input").placeholder(),d(".va").keyup(function(){var e=!0;d(this).hasClass("pwd")?r():""===d(this).val()&&(e=!1),e=e&&m&&l.val()===c.val()?!0:!1,e?u.removeClass("disable").prop("disabled",!1):u.addClass("disable").prop("disabled",!0)}).blur(function(){var e=d(this),t=e.val();e.hasClass("pwd")?""===t?(e.addClass("error"),h.removeClass("hide").find("em").text("请输入密码")):t.length<6||t.length>20?(e.addClass("error"),h.removeClass("hide").find("em").text("密码只支持6-20位")):y.test(t)?(h.addClass("hide"),""!==c.val()&&(t!==c.val()?(c.addClass("error"),p.removeClass("hide").find("em").text("两次密码输入不一致,请重新输入")):(c.removeClass("error"),p.addClass("hide")))):(e.addClass("error"),h.removeClass("hide").find("em").text("密码须字母和数字组合")):""===t?(e.addClass("error"),p.removeClass("hide").find("em").text("请输入密码确认")):""!==l.val()&&t!==l.val()?(e.addClass("error"),p.removeClass("hide").find("em").text("两次密码输入不一致,请重新输入")):(e.removeClass("error"),p.addClass("hide"))}).focus(function(){d(this).removeClass("error"),d(this).hasClass("pwd")?h.addClass("hide"):p.addClass("hide")}),l.focus(function(){h.addClass("hide"),f.removeClass("hide")}).blur(function(){f.addClass("hide")}),d("#pwd, #repwd").keydown(function(e){var t=e.keyCode||e.which;return 32===t?void e.preventDefault():void 0})}),define("js/passport/vertification",["jquery"],function(e,t,a){var n,i,o=e("jquery"),s=o("#send-captcha"),r=o("#captcha-tip"),d=o("#err-tip"),l=o("#next-step");s.click(function(){o.post("/passport/back/sendbackmobile",{mobile:o("#mobile").val(),area:o("#area").val(),verifyCode:o("#captchaPic").val()},function(e){if(200===e.code){if(d.hide(),o(this).hasClass("disable"))return;n=60,s.addClass("disable").attr("disabled",!0),r.removeClass("hide"),s.val(n--+"秒后可重新操作"),i=setInterval(function(){0===n?(clearInterval(i),s.val("发送验证码").removeClass("disable").removeAttr("disabled")):s.val(n--+"秒后可重新操作")},1e3)}else o(this).addClass("error"),d.removeClass("hide").text("发送失败")})}),o(this).hasClass("disable")||(n=60,s.addClass("disable").attr("disabled",!0),r.removeClass("hide"),s.val(n--+"秒后可重新操作"),i=setInterval(function(){0===n?(clearInterval(i),s.val("发送验证码").removeClass("disable").removeAttr("disabled")):s.val(n--+"秒后可重新操作")},1e3),o("#captcha").keyup(function(){var e=o.trim(o(this).val()),t=this;4===e.length&&o.ajax({type:"POST",url:"/passport/back/backmobile",dataType:"json",data:{code:o("#captcha").val(),verifyCode:o("#captchaPic").val(),area:o("#area").val(),mobile:o("#mobile").val()},success:function(e){200===e.code?(l.removeClass("disable").attr("href",e.data),d.addClass("hide"),o(t).removeClass("error")):(l.addClass("disable"),d.removeClass("hide").find("em").text("验证码输入错误"),o(t).addClass("error"))}})}).blur(function(){var e=o.trim(o(this).val());""===e&&(o(this).addClass("error"),d.removeClass("hide").text("请输入验证码"))}).focus(function(){o(this).removeClass("error")}))}),define("js/passport/thirdlogin",["jquery"],function(e,t,a){function n(){b(".choosetag").on("change",function(){var e="#f02200";"checked"===b(this).attr("checked")?b(".choosewrapper").css({"background-image":'url("'+$+'")'}):(b(".choosewrapper").css({"background-image":"none"}),e="#CCCCCC"),A.css({"background-color":e})})}function i(){return"checked"===b(".choosetag").attr("checked")}function o(){b(".optionshow").on("click",function(){b(".optionslist").toggleClass("hide")})}function s(){var e="";b(document).on("keyup","#validatenum",function(){e=b(this).val(),4===e.length&&(j||(j=!0,b.ajax({type:"POST",url:"/passport/autouserinfo/checkBindMsg",data:{code:e,mobile:b("#mobile").val(),area:b("#area").val()}}).then(function(e){j=!1,200===e.code?_=!0:alert(e.message)})))})}function r(){b(".optionitem").on("click",function(){var e=b(this),t=e.attr("areanum"),a=e.text();b("#areaname").text(a),b("#areanum").text(t),b("#areacode").val(t),b(".optionslist").addClass("hide")})}function d(){b(document).on("click","body",function(e){var t=b(e.target);t.hasClass("yohoselectarea")||t.hasClass("areaname")||t.hasClass("righttag")||t.hasClass("optionslist")||t.hasClass("optionitem")||b(".optionslist").addClass("hide")})}function l(){var e="",t="";b(".optionitem").each(function(){e=b(this),t=e.attr("areanum").replace(/\+/g,""),e.attr("areanum",t)})}function c(){var e;b(document).on("click","#alreayregist",function(t){e=b(t.target),(e.hasClass("mask")||e.hasClass("backdrop"))&&(b("#alreayregist").hide(),b(".backdrop").hide())}),b(document).on("click","#bindconfirm",function(t){e=b(t.target),(e.hasClass("mask")||e.hasClass("backdrop"))&&(b("#bindconfirm").hide(),b(".backdrop").hide())})}function u(){b(document).on("click","#yohobindbtn",function(e){b(".phonenum").val(""),b("#bindconfirm").hide(),b(".backdrop").hide()}),b(document).on("click","#yohobindbtn2",function(e){b(".phonenum").val(""),b("#alreayregist").hide(),b(".backdrop").hide()})}function h(){return k-=1,0>k?(k=60,void b(".validatewrapper").html(x)):(b(".second").text(k),void window.setTimeout(h,1e3))}function p(e){b(".validatewrapper").html(C),window.setTimeout(h,1e3)}function f(){b(document).on("click","#sendmessage",function(){"disabled"!==b("#sendmessage").attr("disabled")&&(p(b("#mobile").val()),b.ajax({type:"POST",url:"/passport/autouserinfo/sendBindMsg",data:{mobile:b("#mobile").val(),area:b("#area").val()}}).then(function(e){200!==e.code&&alert(e.message)}))})}function m(){var e="",t="";t=b("#area").val(),e=b("#mobile").val(),b.ajax({type:"POST",url:"/passport/autouserinfo/bindMobile",data:{area:t,openId:b("#openId").val(),sourceType:b("#sourceType").val(),mobile:e}}).then(function(e){201===e.code?window.location.href="/passport/thirdlogin/bindsuccess":alert(e.message)})}function g(){b(document).on("click","#gotobindphone",function(){_===!0?(b("#inarea").val(b("#areanum").val()),b("#inmobile").val(b("#mobile").val()),m()):alert("请输入正确验证码")})}function v(){var e="",t="";e=b("#mobile").val(),t=b("#areanum").text(),b.ajax({type:"POST",url:"/passport/autouserinfo/sendBindMsg",data:{mobile:e,area:t}}).then(function(e){200!==e.code&&console.log(e.message)})}function w(){var e="",t="",a="",n="",o="",s="";b("#bindfirststep").on("click",function(r){if(r.preventDefault(),a=b(".phonenum").val(),n=b("#areanum").text(),i()){if(""===a)return T.find("em").text("手机格式错误"),void T.removeClass("hide");e=b("#openId").val()||"29803EC6D4AAC3AAB8ABDB6AE829D579",t=b("#sourceType").val()||"qq",b.ajax({type:"post",url:"/passport/autouserinfo/bindCheck",data:{mobile:a,area:n,openId:e,sourceType:t},dataType:"json",success:function(e){200===e.code&&(b("#bindmobileform").attr("action","/passport/thirdlogin/noregist"),v(),b("#bindmobileform").submit()),(400===e.code||402===e.code)&&(T.find("em").text("手机格式错误"),T.removeClass("hide")),506===e.code&&(o=e.data.user.username,s=e.data.user.headImg,b("#registphone").text(a),b("#username").text(o),""===s?b("#userphoto").attr("src","http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100"):b("#userphoto").attr("src",s),b("#logindirectly2").attr("href",e.data.user.bindLogin),b(".backdrop").show(),b("#alreayregist").show()),505===e.code&&(o=e.data.user.username,s=e.data.user.headImg,b("#registphonetwo").text(a),b("#username1").text(o),""===s?b("#userphoto1").attr("src","http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100"):b("#userphoto").attr("src",s),b("#logindirectly").attr("href",e.data.user.bindLogin),b(".backdrop").show(),b("#bindconfirm").show())}})}})}function y(){l(),f(),n(),r(),o(),d(),w(),c(),u(),g(),s()}var b=e("jquery"),C=b("#nopermissionmessage").html(),x=b(".validatewrapper").html(),k=+b(".second").text(),j=!1,_=!1,$="http://cdn.yoho.cn/yohobuy/assets/img/passport/choosed.png",q=b(".bindwrapper"),T=q.find(".phone-err-tip"),A=q.find(".yohobindbtn");y()}),define("js/passport/third-pwd",["jquery"],function(e,t,a){function n(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function i(e,t,a){var n=e.charCodeAt(0),i=t.charCodeAt(0);return n-i===0?!0:4===a||n-i!==1&&n-i!==-1?!1:!0}function o(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t=0,a=e.length,s="",r=0,d=0,l="",c="";for(d;a>d;d++)l=e.charAt(d),c=n(e,d),r===c&&i(l,s,c)||(t+=c+o(c,r)),s=l,r=c;return t}function r(e,t){e.find("em").text(t),e.removeClass("hide")}function d(){return _-=1,0>_?(_=60,void C(".validatewrapper").html(q)):(C(".second").text(_),void window.setTimeout(d,1e3))}function l(){C(".validatewrapper").html($),window.setTimeout(d,1e3)}function c(){var e="",t="";C(document).on("click","#sendmessage",function(){l(),e=C("#mobile").val(),t=C("#area").val(),C.ajax({type:"POST",url:"/passport/autouserinfo/sendBindMsg",data:{mobile:e,area:t}}).then(function(e){200!==e.code&&alert(e.message)})})}function u(){var e="";C(document).on("keyup","#validatenum",function(){C("#err-info").hide(),e=C(this).val(),4===e.length&&(x||(x=!0,C.ajax({type:"POST",url:"/passport/autouserinfo/checkBindMsg",data:{code:e,mobile:C("#mobile").val(),area:C("#area").val()}}).then(function(e){x=!1,200!==e.code?C("#err-info").show():k=!0})))})}function h(){var e=v.val(),t=s(e),a=0;switch(a=0===t?0:10>=t?1:20>=t?2:3){case 0:w.removeClass("red yellow green"),b.removeClass("color");break;case 1:w.addClass("red").removeClass("yellow green"),b.filter(".low").addClass("color"),b.filter(".mid,.high").removeClass("color");break;case 2:w.addClass("yellow").removeClass("red green"),b.filter(".low,.mid").addClass("color"),b.filter(".high").removeClass("color");break;case 3:w.addClass("green").removeClass("yellow red"),b.addClass("color")}""===e?(j=!1,y.removeClass("red yes no").addClass("default")):e.length<6||e.length>20?(j=!1,y.removeClass("default yes").addClass("no red")):(j=!0,y.removeClass("default no red").addClass("yes"))}function p(){C(document).on("keyup",".pwdcontent",function(){h(C(this))}),C(document).on("focus",".pwdcontent",function(){C("#pwd-tips").removeClass("hide")}),C(document).on("blur",".pwdcontent",function(){C("#pwd-tips").addClass("hide")})}function f(){var e="",t="",a="",n="";t=C("#area").val(),a=C("#pwd").val(),e=C("#mobile").val(),n=C("#validatenum").val(),C.ajax({type:"POST",url:"/passport/autouserinfo/bindMobile",data:{area:t,openId:C("#openId").val(),sourceType:C("#sourceType").val(),mobile:e,password:a,code:n}}).then(function(e){200===e.code?window.location.href="/passport/thirdlogin/bindsuccess":alert(e.message)})}function m(){var e="",t="";C("#confirmsubmit").on("click",function(){var a=!0;e=C("#validatenum").val(),t=C("#pwd").val(),""===e?(r(A,"短信验证码不能为空"),a=!1):k===!1&&(r(A,"请输入正确的验证码"),a=!1),""===t?(r(I,"密码不能为空"),a=!1):t.length<6||t.length>20?(r(I,"密码只支持6-20位字符"),a=!1):S.test(t)?j===!1&&(r(I,"请输入符合强度的密码"),a=!1):(r(I,"密码须由字母和数字组合"),a=!1),a&&f()})}function g(){l(),v=C("#pwd"),w=C(".safelevel"),b=C(".pwd-intensity"),y=C("#pwd-tip1"),c(),u(),p(),m()}var v,w,y,b,C=e("jquery"),x=!1,k=!1,j=!1,_="",$="",q="",T=C(".bindwrapper"),A=T.find(".code-err-tip"),I=T.find(".pwd-err-tip"),S=e("js/passport/mail-phone-regx").pwdValidateRegx;$=C("#nopermissionmessage").html(),q=C(".validatewrapper").html(),_=+C(".second").text(),g()}),define("js/order/ensure",["jquery"],function(e,t,a){var n=e("jquery"),i=e("js/order/address"),o={Data:{product:0,activity:0,carriage:0,juan:0,yohocoin:0},UI:{e:{$pan:n(".pan"),$jc:n("#juancode"),$bp:n("#biprice"),$statistics:n("li",".play-total"),$tobi:n("p em",".play-bi-pan .play-pan"),$cancel:n(".cancel",".btn-group"),$total:n("em",".to-play"),$tbody:n("table tbody",".pay-wapper"),$orderSelectionSave:n(".address-list h2 span"),$addAddress:n(".add-address"),$addressManage:n(".address-manage"),$spanPayTypeLegend:n("span.pay-type-legend"),$supportType:n(".support-type"),$existAddressList:n(".exist-address-list").find("li"),$existAddress:n(".exist-address-list").find('input[name="exist-address"]'),$payTimeModify:n(".pay-time-modify"),$switchPayModify:n(".switch-pay-modify")},init:function(){var e=this.e,t=o.Data,a=o.Common;e.$tbody.find("tr").each(function(i){var o=n(this).find("td"),s=e.$tbody.find("tr").length,r=parseFloat(o.eq(1).html())*parseInt(o.eq(3).html());o.eq(4).html(a.strFixed(r)),t.product+=r,i?o.last().remove():o.last().attr("rowspan",s),i===s-1&&e.$tbody.find("tr").eq(0).find("td").last().html("<strong>"+a.strFixed(t.product)+"</strong>")}),this.render(),e.$pan.find("dt").click(function(){var e=n(this).parent("dl.pan");e.find("dd").is(":hidden")?a.winShow(e):a.winHide(e)}),e.$jc.on("focus change",function(e){var t=n(this).prev("label").prev(":radio");"focus"===e.type?t.attr("checked",!0):t.val(n(this).val())}),e.$bp.data("tobi",e.$tobi.html()),e.$bp.on("keyup change",function(){var e=a.enterNUM(n(this).val(),n(this).data("tobi"));n(this).val(e)}),e.$cancel.click(function(){var e=n(this).parents(".pan");a.winHide(e)}),e.$statistics.slice(3,5).find("a").click(function(){var e=n("."+n(this).attr("to"));a.winShow(e)}),e.$orderSelectionSave.click(function(){n(this).data("expand")?(n(".address-list-inner").removeClass("hide"),n(this).removeData("expand").text("[修改]")):(n(".address-list-inner").addClass("hide"),n(this).data("expand","expand").text("[不保存并关闭]"))}),e.$switchPayModify.click(function(){e.$payTimeModify.hasClass("hide")?(e.$payTimeModify.removeClass("hide"),n(this).text("[不保存并关闭]")):(e.$payTimeModify.addClass("hide"),n(this).text("[修改]"))}),e.$spanPayTypeLegend.click(function(){n(this).toggleClass("active"),e.$supportType.toggleClass("hide")}),n(document).on("click",".exist-address-list li",function(){e.$existAddressList.removeClass("active"),n(this).addClass("active"),e.$existAddress.removeAttr("checked"),n(this).find('input[name="exist-address"]').attr("checked","checked"),n(this).hasClass("use-new-address")&&e.$addressManage.removeClass("hide")})},render:function(){var e=this.e,t=o.Data,a=o.Common,i=0;e.$total.html("0.00"),e.$statistics.find("em").html("0.00"),e.$statistics.slice(3,5).hide(),n.each(t,function(n){t.hasOwnProperty(n)&&t[n]&&e.$statistics.eq(i).show().find("em").html(a.strFixed(t[n])),i++}),e.$total.html(a.strFixed(a.calucate()))}},Common:{enterNUM:function(e,t){return e=e.replace(/[^\d]/g,""),e&&t&&(e=parseInt(e),t=parseInt(t),e>t&&(e=t)),e},calucate:function(){var e=o.Data;return n.each(o.Data,function(t,a){e[t]=parseFloat(o.Data[t])}),e.product-e.activity+e.carriage-e.juan-e.yohocoin},winShow:function(e){e.find("dt").show(),e.find("dd").show(),e.attr("class").match(/(-bi-)|(-juan-)/g)&&e.find("dt").hide()},winHide:function(e){e.find("dt").show(),e.find("dd").hide()},strFixed:function(e){return parseFloat(e).toFixed(2)}},Bll:{e:{$juanok:n("#juansubmit"),$juantip:n(".errtip",".play-juan-pan"),$biok:n("#bisubmit"),$carriageGroup:n('input[name="carriagegroup"]')},init:function(){var e,t=this.e,a=o.Data,i=o.Common,s=o.UI;t.$carriageGroup.change(function(){a.carriage=parseFloat(n(this).val()),s.render()}),t.$juanok.click(function(){var r=n('input[name="juangroup"]:checked').val(),d=n(this).parents(".pan");r&&(e={url:"/Order/save/priceByCode",type:"post",data:{code:r},success:function(e){if(200===e.code){if(e.price)return a.juan=e.price,o.UI.render(),void i.winHide(d);s.render()}t.$juantip.html(e.msg)},error:function(){t.$juantip.html("网络出现错误~")}},n.ajax(e))}),t.$biok.click(function(){var e=n(this).parents(".pan");a.yohocoin=parseFloat(s.e.$bp.val())/100,s.render(),i.winHide(e)})}}};o.Data.activity=0,o.Data.carriage=0,o.UI.init(),o.Bll.init(),i.newAddress(),i.modifyAddress(),i.saveAddress()}),define("js/order/address",["jquery"],function(require,exports,module){function structureOption(e,t){var a,n,i;for(a in t)n+=t[a].checked?'<option selected value="'+t[a].value+'">'+t[a].name+"</option>":'<option value="'+t[a].value+'">'+t[a].name+"</option>";e.html(n),"province"===e.attr("name")?i='<option value="0">请选择省份</option>':"city"===e.attr("name")?i='<option value="0">请选择城市</option>':"county"===e.attr("name")&&(i='<option value="0">请选择区县</option>'),e.prepend($(i))}function getAddress(e,t){var a,n;"getProvince"===e.type?(n="getProvince",a=$province):"getCity"===e.type?(n="getCity",a=$city):"getCounty"===e.type&&(n="getCounty",a=$county),$.ajax({type:"post",url:"/order/save/"+n,dataType:"json",data:{id:e.id}}).then(function(e){structureOption(a,e),"function"==typeof t&&t()}).fail(function(){})}function getUserInfo(id){$.ajax({type:"post",url:"getUserInfo",data:{id:id}}).then(function(data){var key;for(key in data)data.hasOwnProperty(key)&&data[key]&&eval("$"+key).val(data[key])}).fail(function(){})}var $=require("jquery"),isProvinceChecked=!1,$addressManage=$(".address-manage"),$province=$addressManage.find('.text-input[name="province"]'),$city=$addressManage.find('.text-input[name="city"]'),$county=$addressManage.find('.text-input[name="county"]'),$selectList=$addressManage.find('.text-input[name="province"], .text-input[name="city"]'),$addressList=$(".address-list"),$name=$addressManage.find('.text-input[name="name"]'),$phone=$addressManage.find('.text-input[name="phone"]'),$telCode=$addressManage.find('.text-input[name="code-tel"]'),$tel=$addressManage.find('.text-input[name="tel"]'),$mail=$addressManage.find('.text-input[name="mail"]'),$address=$addressManage.find('.text-input[name="address"]'),$code=$addressManage.find('.text-input[name="code"]'),$saveBtn=$(".save-btn");exports.newAddress=function(e){var t="undefined"!==e?e:0;t&&getUserInfo(),getAddress({id:t,type:"getProvince"},function(){var e=$province.val();"0"!==e&&getAddress({id:e,type:"getCity"},function(){var e=$city.val();"0"!==e&&getAddress({id:e,type:"getCounty"})})}),$selectList.change(function(){var e=$(this);"province"===e.attr("name")&&getAddress({id:e.val(),type:"getCity"},function(){isProvinceChecked=!0}),"city"===e.attr("name")&&isProvinceChecked&&getAddress({id:e.val(),type:"getCounty"})})},exports.modifyAddress=function(){$addressList.click(function(e){var t=$(e.target),a=t.closest("li").find(".radio").attr("id");t.hasClass("address-modify")?($addressManage.removeClass("hide"),exports.newAddress(a)):t.hasClass("address-del")?$.ajax({type:"post",url:"/order/save/addressDel",data:{id:a}}).then(function(e){e.status&&t.closest("li").remove()}).fail(function(){}):t.hasClass("default-address")&&$.ajax({type:"post",url:"/order/save/defaultAddress",data:{id:a}}).then(function(e){e.status&&t.remove()}).fail(function(){})})},exports.saveAddress=function(){$saveBtn.click(function(){var e=$name.val(),t=$province.val(),a=$city.val(),n=$county.val(),i=$address.val(),o=$phone.val(),s=$telCode.val(),r=$tel.val(),d=$mail.val(),l=$code.val(),c=new Date; $.ajax({type:"post",url:"/order/save/addressSave",data:{name:e,province:t,city:a,county:n,address:i,phone:o,tel:r,telCode:s,mail:d,code:l,id:1*c}}).then(function(t){var a;t.status&&(a='<li><input class="radio" type="radio" name="address" id="'+1*c+'" /><label for="'+1*c+'"><strong>'+e+"</strong><span>"+i+'</span><a href="javascript:void(0);">设为默认地址</a><div class="order-modify-btn"><span class="address-modify">[修改]</span><span class="address-del">[删除]</span></div></label></li>',$(".use-new-address").before($(a)))}).fail(function(){})})}}); \ No newline at end of file diff --git a/web-static/dist/yohobuy/0.0.7/index-debug.js b/web-static/dist/yohobuy/0.0.7/index-debug.js new file mode 100644 index 0000000..1c7f167 --- /dev/null +++ b/web-static/dist/yohobuy/0.0.7/index-debug.js @@ -0,0 +1,7796 @@ +define("index", ["jquery","handlebars","source-map","index","lazyload","dot","jquery.placeholder"], function(require, exports, module){ +var webYohobuy; + +require("js/common"); +require("js/header"); +require("js/simple-header"); +require("js/product/entry"); +require("js/index/index"); +require("js/brand/index"); +require("js/passport/entry"); + +//订单确认 +require("js/order/ensure"); + +module.exports = webYohobuy; + +}); +define("js/common", ["jquery"], function(require, exports, module){ +/** + * 页面公共逻辑和接口 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/23 + */ +var $ = require("jquery"); + + +var $body = $('body'); + +require("js/footer"); + +function cookie(name) { + var re = new RegExp(name + '=([^;$]*)', 'i'), + matchPattern = '$1'; + + return re.test(decodeURIComponent(document.cookie)) ? RegExp[matchPattern] : ''; +} + +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; +} + +//YAS统计代码 +(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.14/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.14', 'yohobuy_web', uid, '', ''); + } +}()); + +//window.resize在width<1180时适配成990 +$(window).on('resize', function() { + var w = $(this).width(); + + //return top + if (w < 1360) { + $('.return-top').addClass('min'); + } else { + $('.return-top').removeClass('min'); + } + + //body + if (w < 1180) { + $body.addClass('min-screen'); + } else { + $body.removeClass('min-screen'); + } +}).trigger('resize'); + +function queryString() { + var vars = {}, + hash, + i, + search = window.location.search, + hashes = search ? decodeURIComponent(search).slice(1).split('&') : []; + + for (i = 0; i < hashes.length; i++) { + hash = hashes[i].split('='); + vars[hash[0]] = hash[1]; + } + return vars; +} + +window.cookie = cookie; + +window.setCookie = setCookie; + +window.getUser = getUser; + +window.getUid = getUid; + +window.getShoppingKey = getShoppingKey; + +window.queryString = queryString; + +}); +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'); + +/** + * 订阅 + * @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 iconCode = { + mail: '', + tick: '' + }; + + $subscriberBox.focus(function() { + $(this).val('').css('color', ''); + $subscriberBtn.removeClass('done').html(iconCode.mail); + }); + + $subscriberBtn.click(function() { + var email = $.trim($subscriberBox.val()); + + if (email !== '' && emailReg.test(email)) { + try { + $.ajax({ + url: 'http://new.yohobuy.com/common/emailsubscriber', + dataType: 'jsonp', + data: { + email: email, + tmp: Math.random(), + uid: window.getUid() + }, + success: 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(), + _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()); + }); + + $.ajax({ + url: 'http://new.yohobuy.com/common/suggestfeedback', + dataType: 'jsonp', + data: { + feedback_id: _feedback || 0, + question_id: _question || 0, + answer: _answer || '', + solution: _solution.join(',') + }, + success: function(data) { + var next = index + 1; + + if (~~data.data.result === 1) { + if (index === count - 1) { + alert('感谢您的参与!'); + return; + } + + $li.addClass('hide'); + + $vote.children(':eq(' + (index + 1) + ')').removeClass('hide'); + $feedBackPage.children('.cur').removeClass('cur'); + $feedBackPage.children(':eq(' + next + ')').addClass('cur'); + } + } + }); + }); +} + +function rePosReturn() { + if ($(window).height() > $(document).height()) { + $returnTop.addClass('hide'); + } + + // 只在窗口高度大于文档高度的时候,隐藏返回顶部 + // else { + // $returnTop.removeClass('hide'); + // } +} + +//返回顶部 +$returnTop.click(function() { + $('html,body').animate({ + scrollTop: 0 + }, 500); +}); + +$(window).scroll(function() { + if ($(window).scrollTop() === 0) { + $returnTop.addClass('hide'); + } else { + $returnTop.removeClass('hide'); + } +}); + +//如果初始是隐藏的,监听图片加载,重新确定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 vipInfoCombine = null; //用户信息编译模板 +var loginInfoCombine = null; //登录信息编译模板 +var apiDomain = $('#api-domain').val(); //获取数据的地址 +var cartTpl = ''; //购物车模板 +/** + * 搜寻的时候过滤非法字符(+-/:等非法字符单独出现) + * @type {RegExp} + */ +var reg = /^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/]{0,}$/g; +var keyword = ''; +var link = ''; +var dataLayer = []; +var requestFrame = null; +var logoanimationstart = 0; +var $logotrans = $('.icon-logo'); +var isen = true; +var loopdurationtime = 500; +var globaltimeout; +var onetimeoout; +/** + * banner和地址的映射 + * @type {Object} + */ +var 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' +}; +var cookieMap = {}; + +var bannerApi = 'http://new.yohobuy.com/common/getbanner?content_code='; + +$('#api-domain').remove(); //删除信息表单 + +function getSource(column, postition, event) { + try { + dataLayer.push({ + louceng: column, + weizhi: postition, + event: event + }); + } catch (e) {} +} + + +window.submitSearch = function() { + var $keywordinput = $('#query_key').val(); + var $defaultsearch = $('#defaultsearch').val(); + var column = 'Search'; + var postition = 'Head Search'; + var event = 'Search'; + var $formatkeyword, + $formatkeywordinput; + + $formatkeyword = $.trim(keyword.toLowerCase()); + $formatkeywordinput = $.trim($keywordinput.toLowerCase()); + getSource(column, postition, event); + if (link !== '' && keyword !== '' && $formatkeyword === $formatkeywordinput) { + location.href = link.replace('\'', ''); + } else { + if (reg.test($keywordinput) && $keywordinput !== '') { + location.href = 'http://search.yohobuy.com/error?query=' + $keywordinput + '&result=error'; + } else { + if ($keywordinput === '') { + $('#query_key').val($defaultsearch); + } + $('#searchForm').submit(); + return false; + } + } +}; +/** + * 增加关键字 + * @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(''); + }); + } +} +/** + * 定义购物车扩展 + */ + +function actionGoodsCart() { + var defaults = { + cookie: '_g', + cartNum: '' + }; + var params = ''; + var cartInfo = ''; + var queryNum = 0; + var listIndex = 0; + var tmpList = 0; + var totalNum = 0; + var text = ''; + + $.fn.miniCart = function(options) { + params = $.extend(defaults, options); + if (typeof window.cookie(params.cookie) === 'undefined') { + cartInfo = null; + } else { + if (params.cookie) { + try { + cartInfo = json2.parse(window.cookie(params.cookie)); + } catch (e) { + + } + + } + + } + if (cartInfo !== null && cartInfo !== '') { + 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) { + + 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 + '?query=' + key, function(htmlData) { + $('.search-list').html(htmlData.data); + queryNum = $('.search-list').children('li').length; + listIndex = -1; + if (queryNum > 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(' + tmpList + ')').children('a').css('background-color', '#fff'); + $('.search-list li:eq(' + listIndex + ')').children('a').css('background-color', '#eee'); + text = $('.search-list li:eq(' + listIndex + ')').children('a').attr('title'); + $('#query_key').val(text); + } + return this.each(function() { + $(this).keyup(function(event) { + if (event.which === 38) { + if (queryNum === 0) { + return false; + } + if (listIndex === -1) { + listIndex = 0; + } + tmpList = listIndex; + listIndex = (listIndex - 1 + queryNum) % queryNum; + getText(this); + } else if (event.which === 40) { + if (queryNum === 0) { + return false; + } + tmpList = listIndex; + listIndex = (listIndex + 1) % queryNum; + getText(this); + } else if (event.which === 13) { + window.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() + }; + var params = ''; + + if (typeof (domain) === undefined || domain === '') { + return false; + } + params = $.extend(defaults, options); + params.page = params.page || 1; + if (params.method === '') { + return false; + } + try { + $.getJSON(domain + '/?callback=?', params, function(_data) { + if (onSuccess !== '') { + if (typeof onSuccess(_data.data) !== 'undefined') { + json2.parse(onSuccess(_data.data)); + } + return false; + } + }); + } catch (e) { + console.log(e.message); + } + }, + getShoppingKey: function() { + var shoppingInfo = window.cookie('_g'); + var shoppingData = json2.parse(shoppingInfo); + + if (typeof shoppingInfo === 'undefined' || shoppingInfo === null) { + return ''; + } + return shoppingData._k; + } + }); +} + +/** + * 时间戳 + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ +handlebars.registerHelper('timestamp', function() { + return new Date().getTime(); +}); +/** + * 头像 + * @param {[type]} v1 [description] + * @param {[type]} options) { if (v1 [description] + * @return {[type]} [description] + */ +handlebars.registerHelper('headerimg', function(headerimg) { + + if (headerimg === '') { + return 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif' + + '?imageView/2/w/100/h/100'; + } else { + return headerimg; + } + +}); +/** + * 判断等级为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); + } +}); + +/** + * 获取头部banner的回调函数 + * @param {[type]} data [description] + */ +function JsonPCallBack(data) { + var topbanner; + + if (+data.code === 200) { + if (typeof data.data === 'object') { + if (data.data.url !== '') { + topbanner = '<a target="_blank" href="' + data.data.url + '" class="page-top-banner"' + + 'style="height:36px;border:none;background-image:url(' + window.unescape(data.data.src) + ');' + + 'background-position: center;display:block;"> </a>'; + } else { + topbanner = '<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>'; + } + $('body').prepend(topbanner); + } + } +} + +window.JsonPCallBack = JsonPCallBack; + + +/** + * 获得banner数据 + * @param {[string]} code [banner对应的编码] + * @return {[type]} [description] + */ +function getBannerData(code) { + var script = document.createElement('script'); + + script.src = bannerApi + code + '&client_type=web&callback=JsonPCallBack'; + document.getElementsByTagName('head')[0].appendChild(script); +} + +/** + * 显示和隐藏 + * @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 requestFrameAct() { + 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) { + requestAnimationFrame(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); + }; +} + + +/** + * css3动画 + * @return {[type]} [description] + */ + +function tsAnimate() { + logoanimationstart += 10; + $logotrans.css({ + transform: 'rotateX(' + logoanimationstart + 'deg)', + '-webkit-transform': 'rotateX(' + logoanimationstart + 'deg)', + '-moz-transform': 'rotateX(' + logoanimationstart + 'deg)' + }); + if (logoanimationstart / 90 % 2 === 1) { + if (isen) { + $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo1.png)'); + isen = false; + } else { + $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); + isen = true; + } + } + if (logoanimationstart / 90 % 2 === 0 && logoanimationstart % 360 !== 0) { + window.setTimeout(tsAnimate, 3000); + } else { + if (logoanimationstart % 360 === 0) { + window.setTimeout(tsAnimate, 1 * 60 * 1000); + } else { + requestFrame(function() { + tsAnimate(); + }); + } + } +} + +/** + * 淡出 + * @return {[type]} [description] + */ +function fadeAnimate() { + if (globaltimeout) { + window.clearTimeout(globaltimeout); + } + $logotrans.fadeOut(loopdurationtime, function() { + isen = false; + + $logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo.png)'); + $logotrans.fadeIn(loopdurationtime, function() { + onetimeoout = window.setTimeout(function() { + $logotrans.fadeOut(loopdurationtime, function() { + window.clearTimeout(onetimeoout); + isen = true; + $logotrans.css('background-image', + 'url(http://static.yohobuy.com/newheader/img/logo_e.png)'); + $logotrans.fadeIn(loopdurationtime, function() { + globaltimeout = window.setTimeout(fadeAnimate, 1 * 60 * 1000); + }); + }); + }, 3000); + }); + }); +} +/** + * 执行头部logo动画 + * @return {[type]} [description] + */ +function actionTopLogoAnimate() { + if (isSupportCss3Animation()) { + requestFrame = requestFrameAct(); + window.setTimeout(tsAnimate, 3000); + } else { + window.setTimeout(fadeAnimate, 3000); + } +} +window.newArr = []; +window.wrapperindex = 0; +window.gindex = 0; +window.targetArr1 = []; +window.targetArr2 = []; +window.targetArr3 = []; +window.oh1 = 0; +window.oh2 = 0; +window.oh3 = 0; +window.valueIndex = 0; +window.nowIndex = 0; +window.inner1 = ''; +window.inner2 = ''; +window.inner3 = ''; +window.finalresult = ''; + +function createNewArray(obj) { + var $thirdnavpanel = $(obj); + + $thirdnavpanel.find('.thirdnavbar').each(function() { + var $that = $(this); + var $alink = $that.find('a'); + var _href = $alink.attr('href'); + var hottag = $alink.attr('hot') === 'hot' ? true : false; + var objt = {}; + + if ($that.hasClass('category-title')) { + objt = { + type: 'title', + height: 49, + content: $that.text(), + index: window.valueIndex, + href: _href, + hot: false + }; + } else { + objt = { + type: 'catlist', + height: 36, + content: $alink.text(), + index: window.valueIndex, + href: _href, + hot: hottag + }; + } + window.valueIndex++; + window.newArr.push(objt); + }); +} + +function createWrapper() { + var arrlength = window.newArr.length; + var i = 0; + var objnew = []; + var aobj = []; + var bobj = []; + var cobj = []; + var final1 = '', + final2 = '', + final3 = ''; + var a = 0; + var b = 0; + var c = 0; + + for (i; i < arrlength; i++) { + objnew = window.newArr[i]; + if (window.gindex === 0) { + window.oh1 = (window.oh1 + objnew.height); + if (window.oh1 >= 340 && i !== (arrlength - 1)) { + window.targetArr1 = window.newArr.slice(0, objnew.index + 1); + window.nowIndex = objnew.index + 1; + window.gindex++; + } + if (i === (arrlength - 1)) { + window.targetArr1 = window.newArr.slice(0, arrlength + 1); + break; + } + } + if (window.gindex === 1) { + window.oh2 = (window.oh2 + objnew.height); + if (window.oh2 >= 340 && i !== (arrlength - 1)) { + window.targetArr2 = window.newArr.slice(window.nowIndex, objnew.index + 1); + window.nowIndex = objnew.index + 1; + window.gindex++; + } + if (i === (arrlength - 1)) { + window.targetArr2 = window.newArr.slice(window.nowIndex, arrlength + 1); + break; + } + } + if (window.gindex === 2) { + window.oh3 = (window.oh3 + objnew.height); + if (window.oh3 >= 340 && i !== (arrlength - 1)) { + window.targetArr3 = window.newArr.slice(window.nowIndex, objnew.index + 1); + window.nowIndex = objnew.index + 1; + window.gindex++; + break; + } + if (i === (arrlength - 1)) { + window.targetArr3 = window.newArr.slice(window.nowIndex, arrlength + 1); + break; + } + } + } + for (a; a < window.targetArr1.length; a++) { + aobj = window.targetArr1[a] || {}; + if (aobj.type === 'title') { + window.inner1 = window.inner1 + + '<li class="cattitle"><h3><a href="' + + aobj.href + + '">' + + aobj.content + + '</a></h3></li>'; + } else { + if (aobj.hot === true) { + window.inner1 = window.inner1 + + '<li class="catdetail"><a class="thirdcatelink hot" href="' + + aobj.href + + '">' + + aobj.content + + '</a></li>'; + } else { + window.inner1 = window.inner1 + + '<li class="catdetail"><a class="thirdcatelink" href="' + + aobj.href + '">' + + aobj.content + + '</a></li>'; + } + + } + } + for (b; b < window.targetArr2.length; b++) { + bobj = window.targetArr2[b] || {}; + if (bobj.type === 'title') { + window.inner2 = (window.inner2 + + '<li class="cattitle"><h3><a href="' + + bobj.href + '">' + + bobj.content + + '</a></h3></li>'); + } else { + if (bobj.hot === true) { + window.inner2 = (window.inner2 + + '<li class="catdetail"><a class="thirdcatelink hot" href="' + + bobj.href + '">' + bobj.content + '</a></li>'); + } else { + window.inner2 = (window.inner2 + + '<li class="catdetail"><a class="thirdcatelink" href="' + + bobj.href + '">' + bobj.content + '</a></li>'); + } + + } + } + for (c; c < window.targetArr3.length; c++) { + cobj = window.targetArr3[c] || {}; + if (cobj.type === 'title') { + window.inner3 = (window.inner3 + + '<li class="cattitle"><h3><a href="' + + cobj.href + + '">' + + cobj.content + + '</a></h3></li>'); + } else { + if (cobj.hot === true) { + window.inner3 = (window.inner3 + + '<li class="catdetail"><a class="thirdcatelink hot" href="' + + cobj.href + '">' + + cobj.content + + '</a></li>'); + } else { + window.inner3 = (window.inner3 + + '<li class="catdetail"><a class="thirdcatelink" href="' + + cobj.href + '">' + + cobj.content + + '</a></li>'); + } + + } + } + if (window.inner1 !== '') { + final1 = '<ul class="cate_row1 cate_row">' + + window.inner1 + + '</ul>'; + } + if (window.inner2 !== '') { + final2 = '<ul class="cate_row2 cate_row">' + + window.inner2 + + '</ul>'; + } + if (window.inner3 !== '') { + final3 = '<ul class="cate_row3 cate_row">' + + window.inner3 + + '</ul>'; + } + window.finalresult = final1 + final2 + final3; + $('#' + window.wrapperindex).empty().append(window.finalresult); +} + +function actionNav() { + $('.categorywrapper').each(function(index) { + window.wrapperindex = $(this).attr('id'); + window.newArr = []; + window.gindex = 0; + window.targetArr1 = []; + window.targetArr2 = []; + window.targetArr3 = []; + window.oh1 = 0; + window.oh2 = 0; + window.oh3 = 0; + window.valueIndex = 0; + window.nowIndex = 0; + window.inner1 = ''; + window.inner2 = ''; + window.inner3 = ''; + createNewArray($(this).find('.category')); + createWrapper(); + }); +} + +/** + * 获取三级导航的tip图标 + * @return {[type]} [description] + */ +function actionTipPic() { + var tipscode = {}; + var $contentcode = ''; + var $img = ''; + var $title = ''; + var $link = ''; + var logolink = ''; + + $(document).on('mouseenter', '.sub-nav-item', function() { + $contentcode = $(this).find('.showdetail').attr('data-code'); + if ($contentcode) { + if (!tipscode[$contentcode]) { + tipscode[$contentcode] = $contentcode; + $img = $(this).find('.showdetail').find('img'); + $title = $(this).find('.showdetail').find('.title'); + $link = $(this).find('.showdetail').find('a'); + $.get(bannerApi + $contentcode + '&width=337&height=250&client_type=web', function(rsdata) { + $img.attr('src', rsdata.data.src); + $link.attr('href', rsdata.data.url); + $title.text(rsdata.data.title); + }, 'jsonp'); + } + } + }); + logolink = $('.cure').find('.name-cn').find('a').attr('href'); + $('.main-link').attr('href', logolink); +} + + + +function closeCover() { + var $cover = $('#cover'); + + $cover.remove(); +} +/** + * 首次进入有弹窗 + * @return {[type]} [description] + */ +function actionCover() { + var gender = window.cookie('_Gender'); + var newMask = ''; + var windowheight = ''; + var selfheight = ''; + var containertop; + var length = ''; + + if (window.location.href === 'http://www.yohobuy.com/' && + (typeof gender === 'undefined' || gender === '' || gender === null)) { + $.get('http://www.yohobuy.com/index/guide', function(data) { + newMask = document.createElement('div'); + newMask.id = 'cover'; + newMask.innerHTML = data; + document.body.appendChild(newMask); + windowheight = $(window).height(); + selfheight = $('.guide-box').height(); + containertop = windowheight / 2 - selfheight / 2; + length = $('.guide-box .clear').find('li').length; + $('.guide-box').css({ + width: (200 * length) + 'px', + top: containertop + 'px' + }); + $('#cover').bind('click', function(event) { + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + closeCover(); + }); + $('#cover .guide-box .close').bind('click', function(event) { + getSource('弹窗', 'CLOSE', 'homepage_man'); + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + closeCover(); + }); + $('.boys img , .boys .go').bind('click', function(event) { + getSource('弹窗', 'BOYS', 'homepage_man'); + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + closeCover(); + }); + $('.girls img, .girls .go').bind('click', function(event) { + getSource('弹窗', 'GIRLS', 'homepage_woman'); + window.setCookie('_Gender', '2,3', { + path: '/', + domain: '.yohobuy.com', + expires: 90 + }); + window.setCookie('_Channel', 'girls', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + }); + $('.lifestyle img, .lifestyle .go').bind('click', function(event) { + window.setCookie('_Channel', 'lifestyle', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + getSource('弹窗', 'LIEFSTYLE', 'homepage_lifestyle'); + }); + $('#cover .guide-box').bind('click', function(event) { + event.stopPropagation(); + }); + }); + } +} +/** + * 查询跳转后保留关键字 + * @return {[type]} [description] + */ +function actionAddKeyWords() { + var $keywords = $('#nav_keyword').text(); + var defaultsearch = $('#defaultsearch').val(); + 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(''); + }); + } +} + + +/** + * cookie 初始化 + * @return {[type]} [description] + */ +function actionInitCookie() { + var $cookieGender = window.cookie('_Gender'); + var $target = $('.cure'); + + if (typeof $cookieGender !== 'undefined' && $cookieGender !== '') { + window.setCookie('_Gender', 1, { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '男生') { + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '女生') { + window.setCookie('_Gender', '2,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + + // window.setCookie('_Channel', 'girls', { + // path: '/', + // domain: '.yohobuy.com', + // expires: 7 + // }); + } + if ($target.find('.name-cn a').text() === '创意生活') { + window.setCookie('_Channel', 'lifestyle', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($target.find('.name-cn a').text() === '潮童') { + window.setCookie('_Channel', 'kids', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } +} +/** + * 提前设置好频道的cookie + */ +function setChannelCookie() { + $('.first-nav-item').click(function() { + var _cookieGender = window.cookie('_Gender'); + + if (typeof _cookieGender !== 'undefined' && _cookieGender !== '') { + window.setCookie('_Gender', 1, { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($(this).find('.name-cn a').text() === '男生') { + window.setCookie('_Gender', '1,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + window.setCookie('_Channel', 'boys', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($(this).find('.name-cn a').text() === '女生') { + window.setCookie('_Gender', '2,3', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + window.setCookie('_Channel', 'girls', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($(this).find('.name-cn a').text() === '创意生活') { + window.setCookie('_Channel', 'lifestyle', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + if ($(this).find('.name-cn a').text() === '潮童') { + window.setCookie('_Channel', 'kids', { + path: '/', + domain: '.yohobuy.com', + expires: 7 + }); + } + }); + +} +/** + * cookie集合 + * @type {Object} + */ +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('='); + if (typeof temparr[0] !== 'undefined') { + key = temparr[0].replace(/\s/g, ''); + cookieMap[key] = temparr[1]; + } + } +} + + +/** + * 购物车商品数量 + * @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 (cartTpl === '') { + cartTpl = handlebars.compile($('#mini-cart-tpl').html()); + } + $('#miniCartBox').children('.gobuy-wrapper').html(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 = window.cookie('_g'); + shoppingData = json2.parse(shoppingInfo); + if (shoppingData !== null) { + strK = '{"_k":"' + shoppingData._k + '","_nac":0' + ',"_ac":0,"_r":0}'; + window.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 = window.cookie('_g'); + var shoppingData = json2.parse(shoppingInfo); + var strK = '{"_k":"' + shoppingData._k + '","_nac":' + jsonData.total_goods_num + ',"_ac":0,"_r":0}'; + + window.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 = bannerMap['search' + cookieMap._Channel]; + } + if (url.indexOf('list') !== -1) { + code = bannerMap['list' + cookieMap._Channel]; + } + if (url.indexOf('brands') !== -1) { + code = bannerMap['brands' + cookieMap._Channel]; + } + if (url.indexOf('new') !== -1) { + code = bannerMap['new' + cookieMap._Channel]; + } + if (url.indexOf('sale') !== -1) { + code = bannerMap['sale' + cookieMap._Channel]; + } + if (url.indexOf('home') !== -1) { + code = bannerMap['home' + cookieMap._Channel]; + } + if (url.indexOf('kids') !== -1) { + code = bannerMap[INDEXKIDS]; + } + if (url.indexOf('woman') !== -1 || url.indexOf('girls') !== -1) { + code = bannerMap[INDEXWOMAN]; + } + if (url.indexOf('lifestyle') !== -1) { + code = bannerMap[INDEXLIFESTYLE]; + } + if (url.indexOf('www.yohobuy.com') !== -1 && window.location.pathname === '/') { + code = bannerMap[INDEXBOYS]; + } + firstarea = host.split('.')[0]; + if (firstarea !== 'list' && firstarea !== 'search' && firstarea !== 'www' && + firstarea !== 'new' && firstarea !== 'item' && firstarea !== 'guang') { + code = bannerMap[UNIQUEBRAND + cookieMap._Channel]; + } + + getBannerData(code); //获得banner信息 + +} + +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 $goodcartempwarpper = $('#goodcartempwarpper'); + var resulthtml = ''; + + if ($goodcartempwarpper) { + if ($goodcartempwarpper.html()) { + 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> ' + + '{{#if islogin}}' + + '[<a href="{{logout}}" class="list-a login-out">退出</a>]' + + '{{/if}}{{#unless islogin}}' + + '[<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>]' + + '{{/unless}}'; + var $boxObj = $('#loginBox'); + var info = window.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 = 'http://www.yohobuy.com/logout_'; + var islogin = '1'; + var _num = 0; + var data = { + user_name: name, + logout: _logout + _data.data.token + '.html', + 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; + } + if (vipInfo.vip.curVipInfo.curLevel === '3') { + vipInfo.vip3 = true; + } + + $('#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) { + if (_data.result !== -1) { + actionLoginState(_data); // 更改登录状态 + actionVipInfo(_data); //获得vip; + } + }); +} +/** + * 初始化函数 + * @return {[type]} [description] + */ +function init() { + actionNav(); //处理导航 + actionTipPic(); //鼠标移入后查询 + actionExeTemplate(); //处理模板 + actionCover(); //初次登录弹框 + actionInitCookie(); //初始化cookie + setChannelCookie(); //设置频道缓存 + actionExeCookieMap(); //格式化cookie + actionGoodsCart(); //初始化购物车插件 + actionYoHoGroup(); // yoho集团鼠标效果 + actionTopTagToggle(); // yoho上部分开关 + actionTopLogoAnimate(); //yoho logo动画 + actionGetBannerAndNotice(); // 获取banner和服务器维护提示 + actionBrandChange(); //切换品牌 + actionAddKeyWords(); //跳转后增加关键字 + actionGoodsCarMouseEffect(); //鼠标滑入滑出效果 + actionUpdateCartNum(); //更新购物车数量 + actionLoopUpdCartNum(); //循环检测购物车数量 + actionSearch(); //搜索执行 + actionClickMiniCartBox(); //点击购物车跳转 + actionListenDelCarGoods(); //监听购物车删除 + actionListenCartMore(); // + actionLoginInfo(); //获取登录信息 + actionAddKeyWords(); //增加关键字 +} +init(); +}); +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(); + }); +} + +/** + * 格式化用户名 + * @return {[type]} [description] + */ +function formatUsernName(userName) { + var name, + char, + _num = 0, + _length = 0, + t; + + for (t = 0; 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; + name = ''; + for (t = 0; 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 += '...'; + } + } + return name; +} + +/** + * 设置简单头部登陆状态 + * @return {[type]} [description] + */ +function setLoginStatus(_data) { + var loginHtml, + name; + + if (_data && _data.href && _data.href.user) { + name = formatUsernName(_data.href.user); + loginHtml = '<span>Hi~</span><a href="">' + + name + '</a> <a href="' + _data.href.logout + '">[退出]</a>'; + } else { + name = formatUsernName(_data.user); + loginHtml = '<span>Hi~</span><a href="">' + + name + '</a> <a href="http://www.yohobuy.com/signin.html">[请登录]</a>' + + '<a href="http://www.yohobuy.com/reg.html">[免费注册]</a>'; + } + $('.header-tool li').eq(0).html(loginHtml); +} + +/** + * 获取登录信息 + * @return {[type]} [description] + */ +function actionLoginInfo() { + $.ajax({ + type: 'GET', + url: '/common/getSimpleHeader', + data: {}, + success: function(data) { + if (data.code === 200) { + setLoginStatus(data.data); + } + } + }); +} + +/** + * 初始化函数 + * @return {[type]} [description] + */ +function init() { + actionLoginInfo(); //获取登录信息 +} +init(); + + +}); +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/brand"); + +require("js/product/hotrank"); + +}); +define("js/product/list", ["jquery","handlebars","source-map","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/latest-walk"); + +require("js/product/product"); +}); +define("js/product/filter", ["jquery","handlebars","source-map"], function(require, exports, module){ +/** + * 商品筛选逻辑 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/4 + */ + +var $ = require("jquery"), + Handlebars = require("handlebars"); + +var checkUnicode = { + unchecked: '', + checked: '' +}, +moreUnicode = { + up: '', + down: '' +}; + +//品牌相关变量 +var $brandDefault = $('.brand .default'), + $brandPanel = $('.brand .brand-panel'), + $brandAttrs = $brandPanel.find('.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; + +// 尺寸 handlebars 模板 +var sizeTmpl = '{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a>{{/ size}}', + sizeCache = {}, // 缓存一下尺寸信息 + $sizeWrap = $('.filter-box .size'); + +sizeTmpl = Handlebars.compile(sizeTmpl); + +//清除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 qs = window.queryString(), + newHref; + + qs[attr] = val; + newHref = '?' + decodeURIComponent($.param(qs)); + 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(), + id = $this.data('id'); + + if ($this.hasClass('active')) { + + // 选中时,再次点击取消选中 + $this.removeClass('active'); + $sortSub.children(':eq(' + index + ')').addClass('hide'); + $sizeWrap.addClass('hide'); + return; + } + + $this.siblings('.active').removeClass('active'); + $this.addClass('active'); + + $sortSub.children(':not(.hide)').addClass('hide'); + $sortSub.children(':eq(' + index + ')').removeClass('hide'); + + if (!$sizeWrap.data('load')) { + if (sizeCache[id]) { + $sizeWrap.find('.attr-content').html(sizeCache[id]); + $sizeWrap.removeClass('hide'); + } else { + $.ajax({ + url: '/product/search/sortSize', + data: { + msort: id + } + }).then(function(res) { + if ($.type(res) === 'array' && res.length) { + sizeCache[id] = sizeTmpl({ + size: res + }); + $sizeWrap.find('.attr-content').html(sizeCache[id]); + $sizeWrap.removeClass('hide'); + } else { + $sizeWrap.addClass('hide'); + } + }); + } + } +}); + +//【品牌】 +if ($brandMore.length > 0) { + $brandMoreTxt = $brandMore.children('em'); + $brandMoreIcon = $brandMore.children('.iconfont'); +} + +//【品牌】多选 +$brandMulti.click(function() { + if ($brandPanel.css('display') === 'none') { + + //显示品牌面板 + $brandMore.trigger('click'); + } + + brandShowMore(); + $brandPanel.removeClass('hide').addClass('multi'); //显示出checkbox + $(this).addClass('hide'); + + //隐藏更多按钮 + $brandMore.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('mouseenter', 'span', function() { + var $this = $(this), + index = $this.data('index'); + + if ($this.hasClass('hover')) { + return; + } + + $this.siblings('span.hover').removeClass('hover'); + $this.addClass('hover'); + + 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('span.checked').each(function() { + val.push($(this).data('id')); + }); + + uriLoc('brand', val.join(',')); +}); + +//【品牌/高级选项】多选取消 +$('.multi-select-cancel').click(function() { + var $panel = $(this).closest('.multi'); + + if ($panel.hasClass('brand-panel')) { + + $brandMulti.removeClass('hide'); //显示多选按钮 + $brandMore.trigger('click'); + + //显示出更多按钮 + $brandMore.removeClass('hide'); + } + + $panel.addClass('hide').removeClass('multi'); + brandHideMore(); + clearChecked($panel.find('.checkbox.checked')); //清除选中状态 +}); + +//【品牌/高级选项】checkbox +$('.check-container').on('click', '.attr', function() { + var $this = $(this), + $check = $this.find('.checkbox'), + $btnOk = $this.closest('.brand-panel, .senior-sub').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(); + } +}); + +// 已选中的条件,点击不刷新 +$('.filter-box').on('click', 'li.checked, a.checked', function(e) { + 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 thisPrice = $.trim($(this).val()), + isPriInt = interReg.test(thisPrice), + intPrice, + min, + max; + + if (!isPriInt) { + intPrice = parseInt(thisPrice, 10); + $(this).val(isNaN(intPrice) ? '' : intPrice); + } + + min = $.trim($min.val()); + max = $.trim($max.val()); + + if (min !== '' || max !== '') { + $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 $this = $(this); + var index = $this.index(); + + if ($this.hasClass('no-sub')) { + return; + } + $this.addClass('hover').siblings().removeClass('hover'); + + $seniorSubWrap.children('.senior-sub:eq(' + index + ')').removeClass('hide').siblings().addClass('hide'); +}).on('mouseleave', '.attr', function() { + var $this = $(this), + index = $this.index(); + + if ($this.hasClass('no-sub')) { + return; + } + + 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('span.checked').each(function() { + val.push($(this).data('id')); + }); + + uriLoc($sub.data('attr'), val.join(',')); +}).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/latest-walk", ["jquery","handlebars","source-map","lazyload"], function(require, exports, module){ +/** + * 最近浏览取接口渲染模板 + * @author: xuqi<qi.xu@yoho.cn> + 8 @date: 2016/1/20 + */ + +var $ = require("jquery"); +var Handlebars = require("handlebars"); +var lazyLoad = require("lazyload"); + +var $latestWalkCount = $('#latest-walk-count'); + +(function() { + var tpl; + + if ($latestWalkCount.length === 0) { + return; + } + + tpl = Handlebars.compile($('#latest-walk-tpl').html()); + + $.ajax({ + url: 'http://itemapi.yohobuy.com/item/item/recentreview', + dataType: 'jsonp', + data: { + limit: $latestWalkCount.val() + }, + success: function(data) { + var latestWalk = [], + res, i, cur; + + if (data.code === 200) { + res = data.data; + + //若无最近浏览,请隐藏容器 + if (res.length === 0) { + $('.latest-walk').addClass('hide'); + return; + } + for (i = 0; i < res.length; i++) { + cur = res[i]; + + latestWalk.push({ + href: cur.url, + img: cur.pic_url, + name: cur.product_name, + salePrice: cur.price, + marketPrice: cur.market_price + }); + } + + if (latestWalk.length > 0) { + $('#latest-walk-goods').html(tpl({ + latestWalk: latestWalk + })); + + lazyLoad($('#latest-walk-goods .lazy')); + } + } + } + }); +}()); +}); +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, _from) { + 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 target="_blank" href="' + data[i * row + j].url + _from + '">' + + '<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 + }; + } + + function removeHtmlFn() { + $goodInfoMain.html(''); + $goodSelectColor.html(''); + $goodItemWrapper.css({ + display: 'none' + }); + } + + productList.addHandler('MouseEnter', function(event) { + var itemMr = 10, //list的右边距 + itemMb = 35, //list的下边距 + ulStr = '', + ulNum, + wrapperWidth, + diffWidth, + wrapperX, + wrapperY, + wrapperPl, //鼠标移入时弹层的左内边距 + wrapperPt, //鼠标移入时弹层的上内边距 + containerPt, //商品列表容器的上内边距 + _from = event.target.attr('data-from') || ''; + + $.ajax({ + type: 'POST', + url: '/product/list/getProductPic', + dataType: 'jsonp', + jsonp: 'callback', + data: { + skn: event.target.attr('data-skn') + } + }).then(function(res) { + var data = res.data, + colorList = createColorList(data.pics, _from); + + removeHtmlFn(); + + ulStr = colorList.colorListStr; //ajax请求的颜色列表 + ulNum = colorList.ulNum;//ajax请求的颜色的数量 + + $goodInfoMain.append(event.targetDuplicate); + $goodSelectColor.append($(ulStr)); + + // 点击收藏商品不需要了 + // if (data.isFavorite) { + // $goodInfoMain.find('.col-btn').addClass('coled'); + // } else { + // $goodInfoMain.find('.col-btn').removeClass('coled'); + // } + + 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' + }); + + // 鼠标悬浮获取到商品信息后显示第一张图片 + if (data.pics[0] && data.pics[0].src) { + $goodInfoMain.find('.good-thumb img').attr('src', data.pics[0].src); + } + }); + }); + + $goodItemWrapper.mouseleave(function() { + + removeHtmlFn(); + }); + +}; + +//鼠标放在颜色列表上效果 +$(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); +}); + +// 后端不做接口,杨阳和产品确认过,点击收藏商品不需要了。2016.2.23 +// $goodInfoMain.on('click', '.col-btn', function() { +// var $this = $(this); +// +// $.ajax({ +// type: 'POST', +// url: '/product/list/changeFavorite', +// dataType: 'jsonp', +// data: { +// skn: $this.closest('.good-info').data('skn'), +// isFavorite: $this.hasClass('coled') +// } +// }).then(function(res) { +// if (res.code === 200) { +// $this.toggleClass('coled'); +// } else if (res.code === 403) { +// location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); +// } +// }); +// }); + +// 左侧导航 +$productListNav.find('h3').click(function(event) { + var $this = $(this).closest('.product-list-nav'); + + 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/brand", ["jquery"], function(require, exports, module){ +/** + * 品牌页面 + * @auhtor: bikai<kai.bi@yoho.cn> + * @date: 2016/1/21 + */ + +var $ = require("jquery"); + +$('#brand-favor').on('click', function() { + var $this = $(this), + uid = window.getUid(); + + $.ajax({ + type: 'post', + url: '/product/index/favoriteBrand', + data: { + uid: uid, + brandId: $this.data('id') + } + }).then(function(res) { + if (res.code === 200) { + if (res.message === 'add') { + $this.find('i').addClass('coled'); + } else { + $this.find('i').removeClass('coled'); + } + } else if (res.code === 403) { + location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); + } + }); +}); + +}); +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: $('.logo-brand').data('url') +}); + +/* + * 一周热卖 + */ +(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="\{{thumb}}">' + + '</a>' + + '</div>' + + '<div class="good-detail-text">' + + '<a target="_blank" href="{{url}}">{{name}}</a>' + + '<p class="price">' + + '{{# marketPrice}}<span class="market-price">¥{{.}}</span>{{/ marketPrice}} ' + + '<span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">' + + '¥{{salePrice}}</span>' + + '</p>' + + '</div>' + + '</div>' + + '{{/ list}}'; + + //监听滚动事件,控制浮层样式及下拉加载更多 + $(window).on('scroll', function() { + var maxH = weekOffsetTop + $('.hot-week').outerHeight(), + sid; + + //热卖右侧浮动导航位置 + 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) { + sid = $('.hot-cate').find('li.current').data('sid'); + 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'); + + if ($(this).hasClass('current')) { + return; + } + + //处理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(); + + if ($(this).hasClass('current')) { + return; + } + + $('.hot-cate').find('li').eq(nowIndex).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: '/product/index/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.$element) { + return; + } + + 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 = this.$element.find('.slide-pagination-inner 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).show().stop().animate({ + opacity: 1 + }, function() { + + //修正IE下切换时文字会重叠的问题 + $(this).find('.slide-tips > p').removeClass('hide'); + }).siblings().stop().animate({ + opacity: 0 + }, function() { + $(this).hide().find('.slide-tips > p').addClass('hide'); + }); + }, + _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:;" target="_blank">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:;" target="_blank">MORE ></a></li></ul>'; + + }); + }, + _sendRequest: function() { + var that = this; + + $.ajax({ + type: 'GET', + url: that.options.url, + dataType: 'json', + success: function(data) { + var brandTpl, + brandHtml; + + if (!data || data.length === 0) { + return; + } + + that._createHelper(); + brandHtml = '\{{#brandList logoBrand}}' + + '<a href="\{{href}}" target="_blank"><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/index/index", ["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"); + +$(document).on('mouseenter', '.imgopacity a img', function() { + $(this).css('opacity', 0.8); +}); +$(document).on('mouseout', '.imgopacity a img', function() { + $(this).css('opacity', 1); +}); + + + +if ($.inArray(homePage, ['boys','girls','kids','lifestyle']) > -1) { + require("js/common/new-arrivls")({ + type: homePage, + url: '/common/getNewArrival', + count: (homePage === 'boys') || (homePage === 'lifestyle') ? 5 : 4, + rows: [5,3] + }); + window.setCookie('_Channel', homePage, { + domain: '.yohobuy.com', + path: '/', + expires: 365 + }); +} + + + +lazyLoad($('img.lazy')); +if (homePage === 'boys') { + $('.slide-container').slider({ + pagination: '.thumb-pagination' + }); +} else { + $('.center-col').slider(); + $('.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: 0 +}); + +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 +}; + +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; + +module.exports = me; +}); +define("js/common/new-arrivls", ["jquery","lazyload","handlebars","source-map"], function(require, exports, module){ +var $ = require("jquery"), + lazyload = require("lazyload"); +var Handlebars = require("handlebars"); + +function InfiniteLoad(options) { + var defaults = { + index: 0, + isload: true,//是否正在加载 + isrun: true,//判断是否执行 + offset: { + height: null, + width: null + } + }; + + this.registerEvent = { + before: [], + change: [], + after: [] + }; + + this.options = $.extend(true, {}, defaults, options); + + return this; +} + +InfiniteLoad.prototype.on = function(name, callback) { + var g = this; + var _e = g.registerEvent[name]; + + if (_e) { + _e.push(callback); + } + return _e; +}; + +InfiniteLoad.prototype.exect = function(key, params) { + var g = this; + var e; + + if (g.registerEvent[key] && g.registerEvent[key].length > 0) { + for (e in g.registerEvent[key]) { + if (g.registerEvent[key].hasOwnProperty(e)) { + g.registerEvent[key][e](params); + } + } + } +}; + +InfiniteLoad.prototype.init = function() { + var g = this; + var p = this.options; + + function __loadMore() { + + if (p.isrun && p.isload && g.__directionCalculation()) { + p.isload = false; + p.index++; + g.exect('after', p); + } + + g.exect('change', p); + } + + g.exect('before', p); + + $(window).scroll(__loadMore); +}; + +InfiniteLoad.prototype.emit = function() { + var p = this.options; + + p.isload = true; +}; + +InfiniteLoad.prototype.stop = function() { + var p = this.options; + + p.isrun = false; + p.isload = false; +}; + +InfiniteLoad.prototype.__directionCalculation = function() { + var p = this.options; + + if (p.offset.height && p.offset.height() > 0 && $(window).scrollTop() + $(window).height() >= p.offset.height()) { + return true; + } + return false; +}; + +module.exports = function(data) { + var $container = $('#newarrivals .goods-container'); + var $load = $('.loading a'); + var load = new InfiniteLoad({ + index: 1, + isload: false, + offset: { + height: function() { + return parseFloat($container.offset().top) + parseFloat($container.height()) - 200; + } + } + }); + var loadAjax; + var url = data.url, + count = data.count, + rows = data.rows; + + data.pageIndex = 0; + + delete data.url; + delete data.count; + delete data.rows; + + loadAjax = function(url, data, count) { + + var options = { + type: 'POST', + url: url, + success: function(result) { + var code = result.code; + var myTemplate,len,pos; + + if (code === 200) { + len = result.goods.length % count; + pos = result.goods.length - len - 1; + + result.goods.splice(pos, len); + + myTemplate = Handlebars.compile(load.tpl); + + $container.append(myTemplate(result.goods)); + data.pageIndex = data.pageIndex + result.goods.length; + + //懒加载插件貌似有点问题,图片先直接展示 + lazyload($container.find('img.lazy')); + + load.emit(); + } else { + + load.stop(); + $load.html('查看更多'); + } + }, + error: function() { + + load.stop(); + $load.html('网络断开连接了~'); + } + }; + + options.data = data; + $.ajax(options); + }; + + + load.on('after', function(p) { + + data.pageCount = count * rows[1]; + + loadAjax(url, data); + }); + + load.on('before', function(p) { + + + load.tpl = '{{#each this}}'; + load.tpl += '<div class="good-info imgopacity" data-skn="{{skn}}">'; + load.tpl += ' <div class="tag-container clearfix">'; + load.tpl += ' {{# tags}}'; + load.tpl += ' {{# isNew}}'; + load.tpl += ' <span class="good-tag new-tag">NEW</span>'; + load.tpl += ' {{/ isNew}}'; + load.tpl += ' {{# isReNew}}'; + load.tpl += ' <span class="good-tag renew-tag">再到着</span>'; + load.tpl += ' {{/ isReNew}}'; + load.tpl += ' {{# isSale}}'; + load.tpl += ' <span class="good-tag sale-tag">SALE</span>'; + load.tpl += ' {{/ isSale}}'; + load.tpl += ' {{# isNewFestival}}'; + load.tpl += ' <span class="good-tag new-festival-tag">新品节</span>'; + load.tpl += ' {{/ isNewFestival}}'; + load.tpl += ' {{# isLimit}}'; + load.tpl += ' <span class="good-tag limit-tag">限量商品</span>'; + load.tpl += ' {{/ isLimit}}'; + load.tpl += ' {{# isYearEndPromotion}}'; + load.tpl += ' <span class="good-tag yep-tag">年终大促</span>'; + load.tpl += ' {{/ isYearEndPromotion}}'; + load.tpl += ' {{# isYearMidPromotion}}'; + load.tpl += ' <span class="good-tag ymp-tag">年中热促</span>'; + load.tpl += ' {{/ isYearMidPromotion}}'; + load.tpl += ' {{/ tags}}'; + load.tpl += ' </div>'; + load.tpl += ' <div class="good-detail-img">'; + load.tpl += ' <a class="good-thumb" href="{{url}}" target= "_blank">'; + load.tpl += ' <img class="lazy" data-original="{{thumb}}">'; + load.tpl += ' </a>'; + load.tpl += ' {{# isFew}}'; + load.tpl += ' <p class="few-tag">即将售罄</p>'; + load.tpl += ' {{/ isFew}}'; + + load.tpl += ' {{#if showColBtn}}'; + load.tpl += ' <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>'; + load.tpl += ' {{/if}}'; + load.tpl += ' </div>'; + load.tpl += ' <div class="good-detail-text">'; + load.tpl += ' <a href="{{url}}" target= "_blank">{{name}}</a>'; + load.tpl += ' <p class="price">'; + load.tpl += ' <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">'; + load.tpl += ' ¥{{salePrice}}'; + load.tpl += ' </span>'; + load.tpl += ' {{# marketPrice}}'; + load.tpl += ' <span class="market-price">¥{{.}}</span>'; + load.tpl += ' {{/ marketPrice}}'; + load.tpl += ' </p>'; + load.tpl += ' </div>'; + load.tpl += '</div>'; + load.tpl += '{{/each}}'; + + + data.pageCount = count * rows[0]; + + loadAjax(url, data, data.count); + + //load.emit(); + }); + + load.init(); + +}; +}); +define("js/brand/index", ["jquery","lazyload","handlebars","source-map","dot"], function(require, exports, module){ +/** + * 首页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/23 + */ + +var $ = require("jquery"), + lazyLoad = require("lazyload"); + + +require("js/common/slider"); +require("js/brand/brands"); + +lazyLoad($('img.lazy')); +$('.slide-container').slider({ + orient: true +}); +}); +define("js/brand/brands", ["jquery","handlebars","source-map","dot"], function(require, exports, module){ +var $ = require("jquery"), + Handlebars = require("handlebars"), + dot = require("dot"); + +var $tabs = $('.brands-tabs'); +var $list = $('.brands-list'); +var $gory = $('.brands-category'); +var $news = $('.news-txt ul'); +var $clearfix = $list.find('dl.clearfix'); +var $brand = $list.find('li>a'); +var $category = $gory.find('a'); +var $tab = $tabs.find('li>a'); +var $arr = $tabs.find('.hoverarr'); +var $thisTab; + +var categoryHeight = $category.height(); +var categoryTop = $category.offset() ? $category.offset().top : 0; +var newsHeight = $news.height(); +var newsTop = $news.offset() ? $news.offset().top : 0; +var timeout, _id; + + +//用于临时存储数据 +var tempdata = {}; + +var templete = '<div class="brands-dialog">'; + +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>'; +templete += '</div>'; + +dot($('.brand-desc')); + +$.easing.easeOutQuint = function(x, t, b, c, d) { + return c * ((t = t / d - 1) * t * t * t * t + 1) + b; +}; + +function getQueryString(name) { + var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)'); + var r = window.location.search.substr(1).match(reg); + + if (r != null) { + return window.unescape(r[2]); + } + return null; +} + +// 格式化资讯NEWS标题数量 +if ($news.length) { + $news.find('li').each(function() { + var $dom = $(this); + var domHeight = $dom.offset().top - newsTop + $dom.height(); + + if (domHeight > newsHeight) { + $dom.hide(); + } + }); +} + +//头部图片TAB切换展示 +$tab.eq(0).parent('li').find('.brands-content').css('z-index', '1'); + +_id = getQueryString('id') ? getQueryString('id') : 0; + +// 设置对应TAB选中 +$thisTab = $tab.eq(_id); +$thisTab.find('.g-mask').addClass('g-mask-on'); + +if (_id && $thisTab.length) { + $arr.css({ + left: parseFloat($thisTab.offset().left) - parseFloat($tabs.offset().left) + }); +} +$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'); + }, 50); + $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; + + if (!$gory.hasClass('category-fix')) { + targetTop -= 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 $parent = $this.parent('li'); + var myTemplate; + + $list.find('.brands-dialog').remove(); + myTemplate = Handlebars.compile(templete); + $parent.append(myTemplate(data)); + dot($parent.find('.right')); + + if (offset.right - 350 < 0) { + $parent.find('.brands-layer') + .addClass('brands-layer-right').css('left', -330 - offset.width); + } +} + +//鼠标悬浮品牌,请求数据,并且展示 +function bindHoverEvent() { + $brand.unbind('mouseenter').unbind('mouseleave').hover(function() { + var $this = $(this); + var key = $this.attr('data-key'); + + var options = { + url: '/brands/brandinfo', + type: 'get', + data: { + brandId: key + }, + 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-dialog').remove(); + }); +} + +if ($clearfix.length < 26) { + $.ajax({ + url: '/brands/brandList', + type: 'POST', + data: { + start: $clearfix.length ? ($clearfix.length + 1) : 1 + }, + success: function(_data) { + if (_data) { + $list.append(_data); + $brand = $list.find('li>a'); + bindHoverEvent(); + } + } + }); +} + +bindHoverEvent(); +}); +define("js/passport/entry", ["jquery","jquery.placeholder"], function(require, exports, module){ +/* + * 密码中心打包入口文件 + */ + +require("js/passport/reg"); +require("js/passport/back"); +require("js/passport/login"); +require("js/passport/reset"); +require("js/passport/vertification"); +require("js/passport/thirdlogin"); +require("js/passport/third-pwd"); +}); +define("js/passport/reg", ["jquery","jquery.placeholder"], function(require, exports, module){ +/* + * @description 注册页js + * @time 2015/12/14 + */ + +var $ = require("jquery"), + regValidate = require("js/passport/mail-phone-regx"), + computeComplex = require("js/passport/pwd-strength"); + +var $registerPage = $('.register-page'), + $pwdTips = $('#pwd-tips'), + $pwdTip1 = $pwdTips.find('#pwd-tip1'), + $errTip = $('#err-tip'), + $registerBtn = $('#register-btn'); + +var $sendCaptcha = $('#send-captcha'), + caCount = 4, + validateResult = []; + +var $pn = $('#phone-num'), + $mc = $('#msg-captcha'), + $pwd = $('#pwd'), + $repwd = $('#repwd'), + $ca = $('#captcha'); + +// 密码强度验证 +var $pwdIntensity = $('.pwd-intensity'), + $pwdParent = $pwdIntensity.closest('.pwd-intensity-container'); + +//signup验证 +var $region = $('#country-code'), + $regionSelect = $('#region'), + isPwd = false, + pwdVal; + +var pwdReg = regValidate.pwdValidateRegx; + +var $curErrContainer; + +require("jquery.placeholder"); + +setTimeout(function() { + $pn.val(''); + $mc.val(''); + $pwd.val(''); + $repwd.val(''); + $ca.val(''); +}, 0); + +//验证码位数 +$ca.attr('maxlength', caCount); + +//密码规则提示 +$pwd.focus(function(event) { + $pwdTips.removeClass('hide'); + isPwd = true; + pwdVal = $(this).val(); +}).blur(function() { + $pwdTips.addClass('hide'); + isPwd = false; +}); + + +//IE8 placeholder +$('[placeholder]').placeholder(); + +// 存储校验信息 +validateResult = [ + { + id: 'phone-num', + message: '', //错误信息 + status: false //当前的状态 + }, + { + id: 'captcha', + message: '', + status: false + }, + { + id: 'msg-captcha', + message: '', + status: false + }, + { + id: 'pwd', + message: '', + status: false + }, + { + id: 'repwd', + message: '', + status: false + } +]; + +//手机号ajax校验 +function phoneAjaxFn(page, callback) { + var url, + data; + + if (page === 'reg') { + url = '/passport/register/checkmobile'; + data = { + mobile: $pn.val(), + area: $region.text().split('+')[1] + }; + } else if (page === 'third') { + url = '/passport/autouserinfo/bindCheck'; + data = { + mobile: $pn.val(), + area: $region.text().split('+')[1], + openId: $('#open-id').val(), + sourceType: $('#source-type').val() + }; + } + + $.ajax({ + url: url, + type: 'POST', + data: data + }).then(function(data) { + if (!data) { + return; + } + + switch (data.code) { + case 200: + validateResult[0].message = ''; + validateResult[0].status = true; + break; + case 400: + validateResult[0].message = data.message; + validateResult[0].status = false; + break; + } + + callback(); + }); +} + +//图形验证码ajax校验 +function picCaptchaAjaxFn(page, callback) { + var url; + + if (page === 'reg') { + url = '/passport/register/piccaptcha'; + } else if (page === 'third') { + url = '/passport/autouserinfo/checkPicCode'; + } + $.ajax({ + type: 'POST', + url: url, + data: { + verifyCode: $ca.val() + + //mobile: $pn.val(), + //area: $region.text().split('+')[1] + } + }).then(function(data) { + if (!data) { + return; + } + + switch (data.code) { + case 200: + validateResult[1].message = ''; + validateResult[1].status = true; + break; + case 400: + validateResult[1].message = '图形验证码错误'; + validateResult[1].status = false; + break; + } + callback(); + }); +} + +//短信验证码ajax校验 +function msgCaptchaAjaxFn(page, callback) { + var url; + + if (page === 'reg') { + url = '/passport/register/msgcaptcha'; + } else if (page === 'third') { + url = '/passport/autouserinfo/checkBindMsg'; + } + $.ajax({ + type: 'POST', + url: url, + data: { + code: $mc.val(), + mobile: $pn.val(), + area: $region.text().split('+')[1] + } + }).then(function(data) { + if (!data) { + return; + } + + switch (data.code) { + case 200: + validateResult[2].message = ''; + validateResult[2].status = true; + break; + case 400: + validateResult[2].message = '短信验证码错误'; + validateResult[2].status = false; + break; + } + + callback(); + }); +} + +// 验证 +function validateRule(page, $element, callback) { + + var val = $.trim($element.val()), + regionCode; + + // 根据需求http://redmine.yoho.cn/issues/3117改成上边的正则 + // 对应的错误提示语也改了,感觉要不了多久就会改回来 + // pwdReg = /^([a-zA-Z0-9\-\+_!@\#$%\^&\*\(\)\:\;\.=\[\]\\\',\?]){6,20}$/gi; + + //手机号校验 + if ($element.hasClass('phone-num')) { + + regionCode = $region.text(); + + if (val === '') { + validateResult[0].message = '请输入手机号码'; + validateResult[0].status = false; + callback(); + + } else if (!regValidate.phoneRegx[regionCode].test(val)) { + validateResult[0].message = '手机号码格式不正确,请重新输入'; + validateResult[0].status = false; + callback(); + + } else { + phoneAjaxFn(page, callback); + } + + //图形验证码校验 + } else if ($element.hasClass('captcha')) { + if (val === '') { + validateResult[1].message = '请输入图形验证码'; + validateResult[1].status = false; + callback(); + + } else if (val.length <= 3) { + validateResult[1].message = '图形验证码为4位'; + validateResult[1].status = false; + callback(); + + } else { + + // 并且手机号正确 + if (validateResult[0].status) { + picCaptchaAjaxFn(page, callback); + } else { + validateResult[1].message = '图形验证码错误'; + validateResult[1].status = false; + callback(); + } + + } + + //短信验证码校验 + } else if ($element.hasClass('msg-captcha')) { + + if (val === '') { + validateResult[2].message = '请输入短信验证码'; + validateResult[2].status = false; + callback(); + + } else if (val.length <= 3) { + validateResult[2].message = '短信验证码错误'; + validateResult[2].status = false; + callback(); + + } else { + + // 并且图形验证码正确 + if (validateResult[1].status) { + msgCaptchaAjaxFn(page, callback); + } else { + validateResult[2].message = '短信验证码错误'; + validateResult[2].status = false; + callback(); + } + } + + //密码校验 + } else if ($element.hasClass('pwd')) { + if (val === '') { + validateResult[3].message = '请输入密码'; + validateResult[3].status = false; + + } else if (val.length < 6 || val.length > 20) { + validateResult[3].message = '密码只支持6-20位字符'; + validateResult[3].status = false; + + } else if (!pwdReg.test($element.val())) { + validateResult[3].message = '密码须字母和数字组合'; + validateResult[3].status = false; + + } else { + validateResult[3].message = ''; + validateResult[3].status = true; + } + callback(); + + //二次密码校验 + } else if ($element.hasClass('repwd')) { + if (val === '') { + validateResult[4].message = '请输入密码确认'; + validateResult[4].status = false; + + } else if ($pwd.val() !== val) { + validateResult[4].message = '与密码不一致,请重新输入'; + validateResult[4].status = false; + + } else { + validateResult[4].message = ''; + validateResult[4].status = true; + + } + + callback(); + } +} + +function posErrTip() { + var tipPos = $curErrContainer.offset(); + + return $errTip.css({ + top: tipPos.top - 40, + left: tipPos.left + }); +} + +//显示提示信息 +function showErrTip() { + + var show = false, + i, + validateResultLen = validateResult.length; + + for (i = 0; i < validateResultLen; i++) { + if (!show) { + + //不可以通过status判断 + if (!!validateResult[i].message) { + + //显示错误提示 + $errTip.find('span').text(validateResult[i].message); + $curErrContainer = $('#' + validateResult[i].id); + posErrTip().removeClass('hide'); + + show = true; //停止判断 + } else { + $errTip.addClass('hide'); + } + } + } +} + +//显示红色边框 +function showBorder() { + + var $errInput, + i, + validateResultLen = validateResult.length; + + for (i = 0; i < validateResultLen; i++) { + if (!!validateResult[i].message) { + + //显示红色边框 + $errInput = $('#' + validateResult[i].id); + $errInput.addClass('error'); + + } else { + + //去掉红色边框 + $errInput = $('#' + validateResult[i].id); + $errInput.removeClass('error'); + } + } +} + +// 密码强度验证 +function pwdFn($obj) { + var pwd = $obj.val(), + pwdStrength = computeComplex(pwd), + level = 0; + + if (pwdStrength === 0) { + level = 0; + } else if (pwdStrength <= 10) { + level = 1; + } else if (pwdStrength <= 20) { + level = 2; + } else { + level = 3; + } + + switch (level) { + case 0: + $pwdParent.removeClass('red yellow green'); + $pwdIntensity.removeClass('color'); + break; + case 1: + $pwdParent.addClass('red').removeClass('yellow green'); + $pwdIntensity.filter('.low').addClass('color'); + $pwdIntensity.filter('.mid,.high').removeClass('color'); + break; + case 2: + $pwdParent.addClass('yellow').removeClass('red green'); + $pwdIntensity.filter('.low,.mid').addClass('color'); + $pwdIntensity.filter('.high').removeClass('color'); + break; + case 3: + $pwdParent.addClass('green').removeClass('yellow red'); + $pwdIntensity.addClass('color'); + break; + } + + //提示框 + if (pwd === '') { + $pwdTip1.removeClass('red yes no').addClass('default'); + } else if (pwd.length < 6 || pwd.length > 20) { + $pwdTip1.removeClass('default yes').addClass('no red'); + } else { + $pwdTip1.removeClass('default no red').addClass('yes'); + } +} + +//重新定位错误提示 +$(window).resize(function() { + if ($errTip.hasClass('hide')) { + return; + } + + posErrTip(); +}); + +// 失去焦点时开始校验 +// Tips: 不可以在获得焦点的时候验证,获得焦点和失去焦点的间隔太小,如果中间存在ajax校验的话会出现问题 +// ( ▼-▼ )注册页和信息完善页面接口不同 +exports.init = function(page) { + + $('#agree-terms').click(function() { + + var $this = $(this), + i, + passI = 0; + + if (!!$this.attr('notchecked')) { + $this.removeAttr('notchecked'); + $registerBtn.removeClass('disable').removeAttr('disabled'); + } else { + + for (i = 0; i < validateResult.length; i++) { + if (validateResult[i].status) { + passI++; + } + } + if (passI === 4) { + $this.attr('notchecked', 'notchecked'); + $registerBtn.addClass('disable').attr('disabled', 'disabled'); + } + } + }); + + // 按回车键提交 + $registerPage.on('keydown', function(e) { + var key = e.which; + + if (key === 13) { + $registerBtn.click(); + } + }); + + $registerPage.find('.va').keyup(function() { + + var j, + statusLen = 0, + vLen = validateResult.length, + $that = $(this); + + validateRule(page, $(this), function() { + showErrTip(); // 显示错误提示 + showBorder(); // 显示红色边框 + + // 如果validateResult中有4个status为true表示验证通过 + for (j = 0; j < vLen; j++) { + + if (validateResult[j].status) { + + statusLen++; + } + + } + + if (statusLen === 4 && !$('#agree-terms').attr('notchecked')) { + $registerBtn.removeClass('disable').removeAttr('disabled'); + } else { + $registerBtn.addClass('disable').attr('disabled', 'disabled'); + } + + // 图形验证通过时,发送短信按钮可点击 + if (validateResult[1].status) { + $sendCaptcha.removeClass('disable'); + } else { + $sendCaptcha.addClass('disable'); + } + + //图形验证通过时,发送短信按钮可点击 end + + }); + + // 如果是密码则校验强度 + if (($that).hasClass('pwd')) { + pwdFn($that); + } + + }).blur(function() { + + /*validateRule($(this), function() { + showErrTip(); + showBorder(); // 显示红色边框 + });*/ + }); + + $regionSelect.change(function() { + + $region.text($('#region').val()); + + validateRule(page, $pn, showErrTip); //验证 + }); + + // 点击发送验证码 + $sendCaptcha.click(function() { + var timeResidue = 60, + t, + url; + + if ($(this).hasClass('disable')) { + return; + } + + $sendCaptcha.addClass('disable'); + + t = setInterval(function() { + if (timeResidue <= 0) { + $sendCaptcha.removeClass('disable').val('获取短信验证码'); + clearInterval(t); + return; + } + $sendCaptcha.val(timeResidue-- + '秒可重新发送'); + }, 1000); + + if (page === 'reg') { + url = '/passport/register/sendBindMsg'; + } else if (page === 'third') { + url = '/passport/autouserinfo/sendBindMsg'; + } + + //todo ajax 发送验证码 + $.ajax({ + type: 'POST', + url: url, + data: { + area: $region.text().split('+')[1], + mobile: $pn.val(), + verifyCode: $ca.val() + } + }); + }); + + // 防止粘贴密码 + $pwd[0].onpaste = function() { + return false; + }; + + //ajax表单提交 + $registerBtn.click(function() { + var url; + + if (page === 'reg') { + url = '/passport/register/mobileregister'; + } else if (page === 'third') { + url = '/passport/autouserinfo/bindMobile'; + } + + if ($(this).hasClass('disable')) { + return; + } else { + + //ajax提交 + $.ajax({ + type: 'POST', + url: url, + data: { + area: $region.text().split('+')[1], + mobile: $pn.val(), + verifyCode: $ca.val(), + code: $mc.val(), + password: $pwd.val() + } + }).then(function(data) { + + var time = 0, + t, + refer; + + if (data.code === 200) { + + refer = data.data.href; + + t = setTimeout(function() { + time++; + }, 1000); + + $.ajax({ + type: 'GET', + url: data.data.session + }).then(function(data) { + + if (data.code === 200 && t < 3) { + clearInterval(t); + location.href = refer; + } + }); + + if (t >= 3) { + clearInterval(t); + location.href = refer; + } + } else { + + //todo + console.log('网络超时~'); + } + + }); + } + }); + + $('.change-captcha').click(function() { + var time = new Date(), + $captchaImg = $('.captcha-img'), + captchaImgSrc = $captchaImg.attr('src').split('?')[0]; + + $captchaImg.attr('src', captchaImgSrc + '?t=' + time.getTime()); + }); +}; + +}); +define("js/passport/mail-phone-regx", [], function(require, exports, module){ +/** + * 国家区号Map手机号码以及邮箱验证正则 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/11 + */ + +var countryPhoneRegx = { + '+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]{1}[0-9]{8}$/, + '+81': /^0[9|8|7][0-9]{9}$/, + '+61': /^[0-9]{11}$/ +}; + +var emailRegx = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/; + +var pwdValidateRegx = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/; + +exports.phoneRegx = countryPhoneRegx; + +exports.emailRegx = emailRegx; + +exports.pwdValidateRegx = pwdValidateRegx; +}); +define("js/passport/pwd-strength", [], function(require, exports, module){ +/* + * 计算密码复杂度 + */ + +function gettype(str, i) { + if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { + return 1; + } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { + return 2; + } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { + return 3; + } + + return 4; +} + +function isregular(cur, pre, type) { + var curCode = cur.charCodeAt(0); + var preCode = pre.charCodeAt(0); + + if (curCode - preCode === 0) { + return true; + } + + if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { + return true; + } + + return false; +} + +function getcomplex(curType, preType) { + if (preType === 0 || curType === preType) { + return 0; + } else if (curType === 4 || preType === 4) { + return 2; + } else { + return 1; + } +} + +function computeComplex(password) { + var complex = 0, + length = password.length, + pre = '', + preType = 0, + i = 0, + cur, + curType; + + + for (i = 0; i < length; i++) { + cur = password.charAt(i); + curType = gettype(password, i); + + if (preType !== curType || !isregular(cur, pre, curType)) { + complex += curType + getcomplex(curType, preType); + } + + pre = cur; + preType = curType; + } + + return complex; +} + +module.exports = computeComplex; +}); +define("js/passport/back", ["jquery","jquery.placeholder"], function(require, exports, module){ +/** + * 找回密码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/14 + */ + +var $ = require("jquery"), + regx = require("js/passport/mail-phone-regx"), + emailReg = regx.emailRegx, + phoneRegx = regx.phoneRegx; + +var emailAc = require("js/passport/ac-email"); //邮箱自动完成 + +var $cr = $('#country-code-hide'), + $phoneNum = $('#phone-num'), + $ca = $('#captcha'), + $ccList = $('#country-code-list'), + $cc = $('#country-code'), + $btn = $('#find-btn'), + $accErr = $('#account-err'), + $caErr = $('#captcha-err'), + caCount = 4, //验证码位数 + hasPh = false, + hasCa = false; + + +require("jquery.placeholder"); + +function imgcode() { + var time = new Date(), + $captchaImg = $('#captcha-img'), + captchaImgSrc = $captchaImg.attr('src').split('?')[0]; + + $('#captcha-img').attr('src', captchaImgSrc + '?t=' + time.getTime()); +} + +function enableBtn() { + if (hasPh && hasCa) { + $btn.removeClass('disable').prop('disabled', false); + } else { + $btn.addClass('disable').prop('disabled', true); + } +} + +function vaPn(v) { + var pass = true, + errTxt = ''; + + v = $.trim(v); + if (v !== '') { + if (/^[0-9]+$/.test(v)) { + if (phoneRegx[$cr.val()].test(v)) { + pass = true; + } else { + errTxt = '手机号码格式不正确, 请重新输入'; + pass = false; + } + } else { + if (emailReg.test(v)) { + pass = true; + } else { + errTxt = '邮箱格式不正确, 请重新输入'; + pass = false; + } + } + } else { + errTxt = '账户名不能为空'; + pass = false; + } + hasPh = pass; + return { + pass: pass, + errTxt: errTxt + }; +} + +function vaCa() { + var v = $.trim($ca.val()); + + if (v === '' || v.length < caCount) { + hasCa = false; + enableBtn(); + return; + } else { + $.ajax({ + type: 'POST', + url: '/passport/back/authcode', + data: { + verifyCode: v, + phoneNum: $('#phone-num').val(), + area: $('#country-code-hide').val() + } + + }).then(function(data) { + if (data.code === 200) { + hasCa = true; + } else if (data.code === 402) { + hasPh = false; + hasCa = true; + $accErr.removeClass('hide').find('em').text('该账号不存在'); + $phoneNum.addClass('error'); + } else if (data.code === 400) { + hasCa = false; + imgcode(); + } + enableBtn(); + }); + } +} + +emailAc($phoneNum, function() { + var pnVa = vaPn($phoneNum.val()); + + if (pnVa.pass) { + $accErr.addClass('hide'); + $phoneNum.removeClass('error'); + } else { + $accErr.removeClass('hide').find('em').text(pnVa.errTxt); + $phoneNum.addClass('error'); + } + + enableBtn(); + } +); + +$ca.attr('maxlength', caCount); + +//IE8 placeholder +$('input').placeholder(); + +$('#change-captcha, #captcha-img').on('click', function() { + imgcode(); +}); + +$cc.on('click', function(e) { + e.stopPropagation(); + if ($ccList.css('style') === 'block') { + $ccList.slideUp('fast'); + } else { + $ccList.slideDown('fast'); + } +}); + +$ccList.delegate('li', 'click', function(e) { + var $cur = $(this), + code = $cur.data('cc'), + pnVa; + + e.stopPropagation(); + $cr.val(code); + $cc.find('em').html($cur.text()); + + //切换后验证手机号码 + if ($.trim($phoneNum.val()) !== '') { + pnVa = vaPn($phoneNum.val()); + enableBtn(); + if (hasPh) { + $accErr.addClass('hide'); + $phoneNum.removeClass('error'); + } else { + $accErr.removeClass('hide').text(pnVa.errTxt); + $phoneNum.addClass('error'); + } + } + $ccList.slideUp('fast'); +}); + +$(document).click(function() { + if ($ccList.css('display') === 'block') { + $ccList.slideUp(); + } +}); + +$phoneNum.keyup(function() { + vaPn($.trim($(this).val())); + enableBtn(); +}).focus(function() { + $(this).removeClass('error'); + + //focus隐藏错误提示 + $accErr.addClass('hide'); +}); + +//验证码在鼠标移开后验证, keyup时不再验证 +$ca.blur(function() { + var errTxt = $.trim($ca.val()) === '' ? '验证码不能为空' : '验证码不正确'; + + if (hasCa) { + $caErr.addClass('hide'); + $ca.removeClass('error'); + } else { + $caErr.removeClass('hide').find('em').text(errTxt); + $ca.addClass('error'); + + //验证码错误则刷新验证码 + imgcode(); + } +}).focus(function() { + $(this).removeClass('error'); + + //focus隐藏错误提示 + $caErr.addClass('hide'); +}).keyup(function() { + vaCa(); +}); + +$('#find-btn').click(function(e) { + + if (/^[0-9]+$/.test($.trim($phoneNum.val()))) { + $('#find-form').attr('action', '/passport/back/mobile'); + } + if ($(this).hasClass('disable')) { + return; + } + if (!hasCa || !hasPh) { + e.preventDefault(); + return true; + } +}); +}); +define("js/passport/ac-email", ["jquery"], function(require, exports, module){ +/** + * 邮箱自动补全 + * @author:xuqi<qi.xu@yoho.cn> + * @date: 2016/2/22 + */ +var $ = require("jquery"); + +var mailPostfix = { + num: ['qq.com', '163.com', '126.com', 'sina.com', 'gmail.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'], + other: ['gmail.com', 'qq.com', '163.com', '126.com', 'sina.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'] +}; + +var emailAcTime; + +/** + * @param $input 需要自动完成的$对象 + * @param cb 鼠标移开/点击自动完成项后需要执行的操作(验证等) + */ +module.exports = function($input, cb) { + var ulHtml = '<ul id="email-autocomplete" class="email-autocomplete hide"></ul>'; + + var $emailAutoComplete; + + $input.parent().append(ulHtml); + + $emailAutoComplete = $('#email-autocomplete'); + + $input.on('keyup', function() { + var account = $.trim($(this).val()), + html = '', + accountMatch, + matchStr, + postfix, + i; + + //输入@时自动补全邮箱后缀 + //此处>0非错误,用于避免输入的第一个字符为@被识别为邮箱 + if (account.indexOf('@') > 0) { + accountMatch = account.match(/^[0-9]+@(.*)/); + if (accountMatch) { + + //数字邮箱补全 + postfix = mailPostfix.num; + matchStr = accountMatch[1]; + } else { + postfix = mailPostfix.other; + matchStr = account.match(/@(.*)/)[1]; + } + + for (i = 0; i < postfix.length; i++) { + if (postfix[i].indexOf(matchStr) > -1) { + html += '<li>' + account.slice(0, account.indexOf('@')) + '@' + postfix[i] + '</li>'; + } + } + + if (html !== '' && /.com$/.test(account) === false) { + $emailAutoComplete.html(html).removeClass('hide'); + } else { + + //隐藏autocomplete + $emailAutoComplete.html('').addClass('hide'); + } + } + }).on('blur', function() { + emailAcTime = setTimeout(function() { + + //未点击自动完成项 + $emailAutoComplete.addClass('hide'); + + cb && cb(); + }, 200); + }); + + //邮箱自动完成列表项点击 + $emailAutoComplete.on('click', 'li', function() { + clearTimeout(emailAcTime); //清空默认关闭 + + //点击自动完成项后进行验证 + $input.val($(this).text()).focus(); + + $emailAutoComplete.addClass('hide'); + + cb && cb(); + }); +}; +}); +define("js/passport/login", ["jquery","jquery.placeholder"], function(require, exports, module){ +/** + * 登录 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/11 + */ +var $ = require("jquery"); + +var $account = $('#account'), + $password = $('#password'), + $captcha = $('#captcha'); + +var $accountTip = $account.siblings('.err-tip'), + $passwordTip = $password.siblings('.err-tip'), + $captchaTip = $captcha.siblings('.err-tip'), + $capsLock = $('#caps-lock'); + +var $countryCodeHide = $('#country-code-hide'), + $countryCodeEm = $('#country-code > em'), + $countryList = $('#country-list'); + +var $emailAutoComplete = $('#email-autocomplete'); + +var mailPhoneRegx = require("js/passport/mail-phone-regx"); +var mailAc = require("js/passport/ac-email"); //邮箱自动完成 + +var $remember = $('.remember-me'); + +var captchaUrl = '/passport/images?t='; // /passport/images?t=1454464125 + +var $captchaWrap = $('.captcha-wrap'), + $captcha = $captchaWrap.find('#captcha'), + $captchaImg = $captchaWrap.find('#captcha-img'), + $captchaTip = $captchaWrap.find('.err-tip'); + +//checkbox status unicode +var checkbox = { + checked: '', + unchecked: '' +}; + +var authing = false; + +var emailAcTime; + +require("jquery.placeholder"); + +//验证账户名 +function validateAccount() { + var pass = false, + account = $.trim($account.val()), + err; + + if (account !== '') { + if (/^[0-9]+$/.test(account)) { + + //如果是纯数字,则作为手机号码处理 + if (mailPhoneRegx.phoneRegx[$countryCodeHide.val()].test(account)) { + pass = true; + } else { + pass = false; + err = '手机号码不正确,请重新输入'; + } + } else { + if (mailPhoneRegx.emailRegx.test(account)) { + pass = true; + } else { + pass = false; + err = '邮箱格式不正确,请重新输入'; + } + } + } else { + err = '请输入账户名'; + } + + if (pass) { + $accountTip.addClass('hide'); + $account.removeClass('error'); + } else { + $accountTip.removeClass('hide').children('em').text(err); + $account.addClass('error'); + } + return pass; +} + +//验证密码 +function validatePassword() { + var pass = false, + password = $.trim($password.val()), + err; + + if (password !== '') { + if (password.length < 6) { + err = '请输入长度为6-20字符的密码'; + } else { + pass = true; + } + } else { + err = '请输入密码'; + } + + if (pass) { + $passwordTip.addClass('hide'); + $password.removeClass('error'); + } else { + $passwordTip.removeClass('hide').children('em').text(err); + $password.addClass('error'); + } + return pass; +} + +//验证验证码 +function validateCaptcha() { + var pass = false, + captcha = $.trim($captcha.val()), + err; + + // 验证码不可见的时候不验证 + if ($captchaWrap.is(':hidden')) { + return true; + } + + if (captcha !== '') { + if (captcha.length !== 4) { + err = '请输入长度为4字符的验证码'; + } else { + pass = true; + } + } else { + err = '请输入验证码'; + } + + if (pass) { + $captchaTip.addClass('hide'); + $captcha.removeClass('error'); + } else { + $captchaTip.removeClass('hide').children('em').text(err); + $captcha.addClass('error'); + } + return pass; +} + +//验证 +function validate() { + var pass = true, + account = $.trim($account.val()), + password = $.trim($password.val()); + + if (account !== '') { + pass = validateAccount() && validatePassword() && validateCaptcha(); + } else { + pass = false; + $account.addClass('error'); + + if (password === '') { + + //账户名和密码都为空的情况下点击登陆,只在账户输入框后显示错误提示 + $accountTip.addClass('both-error').removeClass('hide').children('em').text('请输入账户名和密码'); + $passwordTip.addClass('hide'); + $password.addClass('error'); + } else { + $accountTip.removeClass('hide').children('em').text('请输入账户名'); + } + } + + return pass; +} + +//密码错误次数,超过三次显示验证码 +function vaAccountErrTimes() { + $captchaImg.attr('src', captchaUrl + $.now()); + $captcha.val(''); + $captchaWrap.removeClass('hide'); +} + +//登录 +function login() { + var pass = validate(); + + if (pass && authing === false) { + authing = true; + + $.ajax({ + url: '/passport/login/auth', + type: 'POST', + data: { + areaCode: $countryCodeHide.val().replace('+', ''), + account: $.trim($account.val()), + password: $.trim($password.val()), + captcha: $.trim($captcha.val()), + isRemember: $remember.hasClass('checked') ? true : false + }, + success: function(res) { + if (res.code === 200) { + if (res.data) { + + //防止data.data为undefined时下行语句执行出错而导致脚本不能走到complete去处理authing + location.href = res.data.session; + } + } else { + if (res.data.errorType === 'captcha') { + $captchaTip.removeClass('hide').children('em').html(res.message); + $captcha.addClass('error').val(''); + } else { + $passwordTip.removeClass('hide').children('em').html(res.message); + $password.addClass('error').val(''); + } + + //验证错误次数 + if (res.data && res.data.needCaptcha) { + vaAccountErrTimes(); + } + } + }, + complete: function() { + authing = false; + } + }); + } +} + +mailAc($account, function() { + if (validateAccount()) { + $.ajax({ + url: '/passport/login/account', + type: 'GET', + data: { + account: $.trim($account.val()) + } + }).then(function(res) { + if (res.data && res.data.needCaptcha) { + vaAccountErrTimes(); + } + }); + } + } +); + +$('[placeholder]').placeholder(); + +//展开地区列表 +$('#country-code').on('click', function() { + if ($countryList.css('display') === 'none') { + $countryList.slideDown(); + } +}); + +//选中地区列表项 +$countryList.on('click', 'li', function() { + var $this = $(this), + cc = $this.data('cc'); + + $countryCodeEm.html($this.html()); + + $countryCodeHide.val(cc); + + $countryList.slideUp(); +}); + +//点击其他区域,收起区域列表 +$(document).on('click', function(e) { + if ($(e.target).closest('#country-code').length > 0) { + return; + } + + if ($countryList.css('display') === 'block') { + $countryList.slideUp(); + } +}); + +//密码 +$password.on('blur', function() { + validatePassword(); + + if ($capsLock.hasClass('hide')) { + return; + } + + $capsLock.addClass('hide'); +}).on('keypress', function(e) { + var code = e.which; + + //CapsLock检测 + if (code >= 65 && code <= 90) { + $capsLock.removeClass('hide'); + return; + } + $capsLock.addClass('hide'); +}); + +// 验证码 +$captcha.on('blur', function() { + validateCaptcha(); +}); + +//邮箱自动完成列表项点击 +$emailAutoComplete.on('click', 'li', function() { + clearTimeout(emailAcTime); //清空默认关闭 + + $account.val($(this).text()).focus(); + + $emailAutoComplete.addClass('hide'); +}); + +//记住登录状态 +$remember.on('click', function() { + var $this = $(this); + + $this.toggleClass('checked'); + + if ($this.hasClass('checked')) { + $this.children('i').html(checkbox.checked); + } else { + $this.children('i').html(checkbox.unchecked); + } +}); + +//focus到输入框则隐藏错误提示和样式 +$('.va').on('focus', function() { + var $this = $(this); + + $this.removeClass('error'); + + $this.siblings('.err-tip').addClass('hide'); +}); + +// 验证码刷新 +$captchaWrap.on('click', '.change-captcha, .captcha-img', function() { + $captchaImg.attr('src', captchaUrl + $.now()); +}); + +//登录 +$('#login-btn').on('click', login); + +//Enter登录 +$('#account, #password, #captcha').on('keypress', function(e) { + if (e.which === 13) { + login(); + } +}); + +// 初始:只带账户名的页面,密码输入获得焦点 +if (($account.val() !== '' || $account.val() === $account.attr('placeholder')) && + $password.val() === '') { + $password.focus(); +} +}); +define("js/passport/reset", ["jquery","jquery.placeholder"], function(require, exports, module){ +/** + * 找回密码 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/14 + */ + +var $ = require("jquery"); + +var $pwd = $('#pwd'), + $repwd = $('#re-input'), + $next = $('#reset-pwd-btn'), + $pwdErr = $('#pwd-err'), + $repwdErr = $('#repwd-err'), + $pwdTips = $('#pwd-tips'); + +var hasNoErrPw = false; + +var $pwdIntensity = $('.pwd-intensity'), + $pwdParent = $pwdIntensity.closest('.pwd-intensity-container'), + $pwdTip1 = $('#pwd-tip1'); + +var pwdRegx = require("js/passport/mail-phone-regx").pwdValidateRegx; + +require("jquery.placeholder"); + + +/* + * 计算密码复杂度 + */ + +function gettype(str, i) { + if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { + return 1; + } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { + return 2; + } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { + return 3; + } + + return 4; +} + +function isregular(cur, pre, type) { + var curCode = cur.charCodeAt(0); + var preCode = pre.charCodeAt(0); + + if (curCode - preCode === 0) { + return true; + } + + if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { + return true; + } + + return false; +} + +function getcomplex(curType, preType) { + if (preType === 0 || curType === preType) { + return 0; + } else if (curType === 4 || preType === 4) { + return 2; + } else { + return 1; + } +} + +function computeComplex(password) { + var complex = 0, + length = password.length, + pre = '', + preType = 0, + i = 0, + cur, + curType; + + + for (i = 0; i < length; i++) { + cur = password.charAt(i); + curType = gettype(password, i); + + if (preType !== curType || !isregular(cur, pre, curType)) { + complex += curType + getcomplex(curType, preType); + } + + pre = cur; + preType = curType; + } + + return complex; +} + +function pwdKeyupEvt() { + var pwd = $pwd.val(), + pwdStrength = computeComplex(pwd), + level = 0; + + //TODO:自定义密码强度规则,需要修正 + if (pwdStrength === 0) { + level = 0; + } else if (pwdStrength <= 10) { + level = 1; + } else if (pwdStrength <= 20) { + level = 2; + } else { + level = 3; + } + switch (level) { + case 0: + $pwdParent.removeClass('red yellow green'); + $pwdIntensity.removeClass('color'); + break; + case 1: + $pwdParent.addClass('red').removeClass('yellow green'); + $pwdIntensity.filter('.low').addClass('color'); + $pwdIntensity.filter('.mid,.high').removeClass('color'); + break; + case 2: + $pwdParent.addClass('yellow').removeClass('red green'); + $pwdIntensity.filter('.low,.mid').addClass('color'); + $pwdIntensity.filter('.high').removeClass('color'); + break; + case 3: + $pwdParent.addClass('green').removeClass('yellow red'); + $pwdIntensity.addClass('color'); + break; + } + + //提示框 + if (pwd === '') { + $pwdTip1.removeClass('red yes no').addClass('default'); + } else if (pwd.length < 6 || pwd.length > 20) { + $pwdTip1.removeClass('default yes').addClass('no red'); + } else { + $pwdTip1.removeClass('default no red').addClass('yes'); + } + + if (pwdRegx.test(pwd)) { + hasNoErrPw = true; + } else { + hasNoErrPw = false; + } +} + +//IE8 placeholder +$('input').placeholder(); + +$('.va').keyup(function() { + var pass = true; + + if ($(this).hasClass('pwd')) { + pwdKeyupEvt(); + } else { + if ($(this).val() === '') { + pass = false; + } + } + if (pass && hasNoErrPw && $pwd.val() === $repwd.val()) { + pass = true; + } else { + pass = false; + } + if (pass) { + $next.removeClass('disable').prop('disabled', false); + } else { + $next.addClass('disable').prop('disabled', true); + } +}).blur(function() { + var $this = $(this), + v = $this.val(); + + if ($this.hasClass('pwd')) { + if (v === '') { + $this.addClass('error'); + $pwdErr.removeClass('hide').find('em').text('请输入密码'); + } else if (v.length < 6 || v.length > 20) { + $this.addClass('error'); + $pwdErr.removeClass('hide').find('em').text('密码只支持6-20位'); + } else if (!pwdRegx.test(v)) { + $this.addClass('error'); + $pwdErr.removeClass('hide').find('em').text('密码须字母和数字组合'); + } else { + $pwdErr.addClass('hide'); + if ($repwd.val() !== '') { + if (v !== $repwd.val()) { + $repwd.addClass('error'); + $repwdErr.removeClass('hide').find('em').text('两次密码输入不一致,请重新输入'); + } else { + $repwd.removeClass('error'); + $repwdErr.addClass('hide'); + } + } + } + } else { + if (v === '') { + $this.addClass('error'); + $repwdErr.removeClass('hide').find('em').text('请输入密码确认'); + } else { + if ($pwd.val() !== '' && v !== $pwd.val()) { + $this.addClass('error'); + $repwdErr.removeClass('hide').find('em').text('两次密码输入不一致,请重新输入'); + } else { + $this.removeClass('error'); + $repwdErr.addClass('hide'); + } + } + } +}).focus(function() { + $(this).removeClass('error'); + + //focus后错误提示隐藏 + if ($(this).hasClass('pwd')) { + $pwdErr.addClass('hide'); + } else { + $repwdErr.addClass('hide'); + } +}); + +$pwd.focus(function() { + $pwdErr.addClass('hide'); + $pwdTips.removeClass('hide'); +}).blur(function() { + $pwdTips.addClass('hide'); +}); + +$('#pwd, #repwd').keydown(function(e) { + var code = e.keyCode || e.which; + + //空格输入过滤 + if (code === 32) { + e.preventDefault(); + return; + } +}); + +}); +define("js/passport/vertification", ["jquery"], function(require, exports, module){ +/** + * 验证手机 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/14 + */ + +var $ = require("jquery"); + +var $sc = $('#send-captcha'), + $msgTip = $('#captcha-tip'), + $errTip = $('#err-tip'), + $next = $('#next-step'), + seconds, + itime; + +$sc.click(function() { + $.post('/passport/back/sendbackmobile', { + mobile: $('#mobile').val(), + area: $('#area').val(), + verifyCode: $('#captchaPic').val() + }, function(jsonData) { + if (jsonData.code === 200) { + $errTip.hide(); + if ($(this).hasClass('disable')) { + return; + } + seconds = 60; + + //$sc.addClass('disable').prop('disabled', true); + $sc.addClass('disable').attr('disabled', true); + $msgTip.removeClass('hide'); + + $sc.val(seconds-- + '秒后可重新操作'); + itime = setInterval(function() { + if (seconds === 0) { + clearInterval(itime); + + //$sc.val('发送验证码').removeClass('disable').prop('disabled', false); + $sc.val('发送验证码').removeClass('disable').removeAttr('disabled'); + } else { + $sc.val(seconds-- + '秒后可重新操作'); + } + }, 1000); + } else { + $(this).addClass('error'); + $errTip.removeClass('hide').text('发送失败'); + } + }); +}); + +if ($(this).hasClass('disable')) { + return; +} +seconds = 60; + +//$sc.addClass('disable').prop('disabled', true); +$sc.addClass('disable').attr('disabled', true); +$msgTip.removeClass('hide'); + +$sc.val(seconds-- + '秒后可重新操作'); +itime = setInterval(function() { + if (seconds === 0) { + clearInterval(itime); + + //$sc.val('发送验证码').removeClass('disable').prop('disabled', false); + $sc.val('发送验证码').removeClass('disable').removeAttr('disabled'); + } else { + $sc.val(seconds-- + '秒后可重新操作'); + } +}, 1000); + + +$('#captcha').keyup(function() { + var v = $.trim($(this).val()), + that = this; + + if (v.length === 4) { + $.ajax({ + type: 'POST', + url: '/passport/back/backmobile', + dataType: 'json', + data: { + code: $('#captcha').val(), + verifyCode: $("#captchaPic").val(), + area: $('#area').val(), + mobile: $('#mobile').val() + }, + success: function(res) { + if (res.code === 200) { + + //添加验证码正确验证 + $next.removeClass('disable').attr('href', res.data); + $errTip.addClass('hide'); + $(that).removeClass('error'); + } else { + $next.addClass('disable'); + $errTip.removeClass('hide').find('em').text('验证码输入错误'); + $(that).addClass('error'); + } + } + }); + } +}).blur(function() { + var v = $.trim($(this).val()); + + if (v === '') { + + //添加验证码正确验证 + $(this).addClass('error'); + $errTip.removeClass('hide').text('请输入验证码'); + } +}).focus(function() { + $(this).removeClass('error'); +}); +}); +define("js/passport/thirdlogin", ["jquery"], function(require, exports, module){ +/** + * 第三方登录首页 + * @author: wq + * @date: 2016/1/21 + */ +var $ = require("jquery"); +var nopermissionoption = $('#nopermissionmessage').html(); //倒计时dom +var sendmessagehtml = $('.validatewrapper').html(); //发送短信dom +var second = +$('.second').text(); //倒计时秒数 +var dovalidate = false; //校验验证码标识 +var validatecode = false; //验证码是否通过 +var choosedpic = 'http://cdn.yoho.cn/yohobuy/assets/img/passport/choosed.png';//已选择图片 + +var $wrapper = $('.bindwrapper'), + $phoneTip = $wrapper.find('.phone-err-tip'), + $nextBtn = $wrapper.find('.yohobindbtn'); + +/** + * 选择协议 + * @return {[type]} [description] + */ +function chooseProtocol() { + $('.choosetag').on('change', function() { + var btnColor = '#f02200'; + + if ($(this).attr('checked') === 'checked') { + $('.choosewrapper').css({ + 'background-image': 'url("' + choosedpic + '")' + }); + } else { + $('.choosewrapper').css({ + 'background-image': 'none' + }); + btnColor = '#CCCCCC'; + } + $nextBtn.css({ + 'background-color': btnColor + }); + }); +} +/** + * 判断是否同意协议 + * @return {[type]} [description] + */ +function isagree() { + return $('.choosetag').attr('checked') === 'checked'; +} +/** + * 选择区域的开关 + * @return {[type]} [description] + */ +function chooseAreaToogle() { + $('.optionshow').on('click', function() { + $('.optionslist').toggleClass('hide'); + }); +} + +/** + * 验证码校验 + * @return {[type]} [description] + */ +function codeValidate() { + var validatenum = ''; + + $(document).on('keyup', '#validatenum', function() { + validatenum = $(this).val(); + if (validatenum.length === 4) { + if (!dovalidate) { + dovalidate = true; + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/checkBindMsg', + data: { + code: validatenum, + mobile: $('#mobile').val(), + area: $('#areacode').val() + } + }).then(function(data) { + dovalidate = false; + if (data.code === 200) { + validatecode = true; + } else { + alert(data.message); + } + }); + } + } + }); + + $('#validatenum').focus(function() { + $(this).removeAttr('placeholder'); + }).blur(function() { + $(this).attr('placeholder', '验证码'); + }); +} + +/** + * 选择区域 + * @return {[type]} [description] + */ +function chooseArea() { + $('.optionitem').on('click', function() { + var $option = $(this); + var areanum = $option.attr('areanum'); + var areaname = $option.text(); + + $('#areaname').text(areaname); + $('#areanum').text(areanum); + $('#areacode').val(areanum); + $('.optionslist').addClass('hide'); + }); +} +/** + * 取消选择区域 + * @return {[type]} [description] + */ +function cancelChooseArea() { + $(document).on('click', 'body', function(e) { + var $target = $(e.target); + + if ($target.hasClass('yohoselectarea') || + $target.hasClass('areaname') || + $target.hasClass('righttag') || + $target.hasClass('optionslist') || + $target.hasClass('optionitem')) { + return; + } else { + $('.optionslist').addClass('hide'); + } + }); +} +/** + * 去掉区域号的加号 + * @return {[type]} [description] + */ +function fixAreaNum() { + var $opitem = ''; + var itemarecode = ''; + + $('.optionitem').each(function() { + $opitem = $(this); + itemarecode = $opitem.attr('areanum').replace(/\+/g, ''); + $opitem.attr('areanum', itemarecode); + }); +} + +/** + * 关闭蒙层 + * @return {[type]} [description] + */ +function closeMask() { + var $target; + + $(document).on('click', '#alreayregist', function(e) { + $target = $(e.target); + if ($target.hasClass('mask') || $target.hasClass('backdrop')) { + $('#alreayregist').hide(); + $('.backdrop').hide(); + } + }); + $(document).on('click', '#bindconfirm', function(e) { + $target = $(e.target); + if ($target.hasClass('mask') || $target.hasClass('backdrop')) { + $('#bindconfirm').hide(); + $('.backdrop').hide(); + } + }); +} +/** + * 绑定其他手机号 + * @return {[type]} [description] + */ +function yohoBindBtn() { + $(document).on('click', '#yohobindbtn', function(e) { + $('.phonenum').val(''); + $('#bindconfirm').hide(); + $('.backdrop').hide(); + }); + $(document).on('click', '#yohobindbtn2', function(e) { + $('.phonenum').val(''); + $('#alreayregist').hide(); + $('.backdrop').hide(); + }); +} +/** + * 发送短信的时间变换动画 + * @return {[type]} [description] + */ +function changeSecond() { + second -= 1; + if (second < 0) { + second = 60; + $('.validatewrapper').html(sendmessagehtml); + return; + } else { + $('.second').text(second); + window.setTimeout(changeSecond, 1000); + } + +} +/** + * 时间循环 + * @param {[type]} phonenum [description] + * @return {[type]} [description] + */ +function circleTime(phonenum) { + $('.validatewrapper').html(nopermissionoption); + window.setTimeout(changeSecond, 1000); +} +/** + * 发送短信 + * @return {[type]} [description] + */ +function sendMessageValidate() { + $(document).on('click', '#sendmessage', function() { + if ($('#sendmessage').attr('disabled') === 'disabled') { + return; + } + circleTime($('#mobile').val()); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/sendBindMsg', + data: { + mobile: $('#mobile').val(), + area: $('#areacode').val() + } + }).then(function(data) { + if (data.code !== 200) { + alert(data.message); + } + }); + + }); +} + +/** + * 最终提交表单 + */ +function actionSubmit() { + var mobile = ''; + var area = ''; + + area = $('#areacode').val(); + mobile = $('#mobile').val(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/bindMobile', + data: { + area: area, + openId: $('#openId').val(), + sourceType: $('#sourceType').val(), + mobile: mobile + } + }).then(function(data) { + if (data.code === 201) { + window.location.href = '/passport/thirdlogin/bindsuccess'; + } else { + alert(data.message); + } + }); +} + +/** + * 确认去绑定 + * @return {[type]} [description] + */ +function goToBindPhone() { + $(document).on('click', '#gotobindphone', function() { + if (validatecode === true) { + $('#inarea').val($('#areacode').val()); + $('#inmobile').val($('#mobile').val()); + actionSubmit(); + } else { + alert('请输入正确验证码'); + } + }); +} +/** + * 无交互的发送短信 + * @return {[type]} [description] + */ +function sendMessage() { + var mobile = ''; + var area = ''; + + mobile = $('#mobile').val(); + area = $('#areanum').text(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/sendBindMsg', + data: { + mobile: mobile, + area: area + } + }).then(function(data) { + if (data.code !== 200) { + console.log(data.message); + } + }); +} +/** + * 点击下一步 + * @return {[type]} [description] + */ +function nextStep() { + var openId = ''; + var sourceType = ''; + var mobile = ''; + var areaCode = ''; + var username = ''; + var headImg = ''; + + $('#bindfirststep').on('click', function(e) { + e.preventDefault(); + mobile = $('.phonenum').val(); + areaCode = $('#areanum').text(); + if (!isagree()) { + return; + } + if (mobile === '') { + $phoneTip.find('em').text('手机格式错误'); + $phoneTip.removeClass('hide'); + return; + } + openId = $('#openId').val() || '29803EC6D4AAC3AAB8ABDB6AE829D579'; + sourceType = $('#sourceType').val() || 'qq'; + $.ajax({ + type: 'post', + url: '/passport/autouserinfo/bindCheck', + data: { + mobile: mobile, + area: areaCode, + openId: openId, + sourceType: sourceType + }, + dataType: 'json', + success: function(data) { + var winHeight = $(window).height(); + + if (data.code === 200) { + $('#bindmobileform').attr('action', '/passport/thirdlogin/noregist'); + sendMessage(); + $('#bindmobileform').submit(); + } + if (data.code === 400 || data.code === 402) { + $phoneTip.find('em').text('手机格式错误'); + $phoneTip.removeClass('hide'); + } + if (data.code === 506) { + username = data.data.user.username; + headImg = data.data.user.headImg; + $('#registphone').text(mobile); + $('#username').text(username); + if (headImg === '') { + $('#userphoto').attr('src', 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/' + + '01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100'); + } else { + $('#userphoto').attr('src', headImg); + } + $('#logindirectly2').attr('href', data.data.user.bindLogin); + $('.backdrop').show(); + $('#sendmessage').click(); + $('#alreayregist .mask').css({ + 'padding-top': winHeight > 440 ? winHeight / 2 : 217 + }); + $('#alreayregist').show(); + } + if (data.code === 505) { + username = data.data.user.username; + headImg = data.data.user.headImg; + $('#registphonetwo').text(mobile); + $('#username1').text(username); + if (headImg === '') { + $('#userphoto1').attr('src', 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/' + + '01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100'); + } else { + $('#userphoto1').attr('src', headImg); + } + $('#logindirectly').attr('href', data.data.user.bindLogin); + $('.backdrop').show(); + $('#bindconfirm .mask').css({ + 'padding-top': winHeight > 440 ? winHeight / 2 : 217 + }); + $('#bindconfirm').show(); + } + } + }); + }); +} + +function init() { + fixAreaNum(); //去掉所有区域的+ + sendMessageValidate(); //有交互的发送短信 + chooseProtocol(); //选择协议 + chooseArea(); //选择区域 + chooseAreaToogle(); //选择区域展示或关闭 + cancelChooseArea(); //取消选择区域 + nextStep(); //下一步 + closeMask(); //关闭蒙层 + yohoBindBtn(); //绑定其他手机号点击 + goToBindPhone(); //绑定手机 + codeValidate(); //验证码校验 +} +init(); +}); +define("js/passport/third-pwd", ["jquery"], function(require, exports, module){ +/** + * 第三方绑定完善个人信息 + * @author: wq + * @date: 2016/1/27 + */ +var $ = require("jquery"); +var dovalidate = false; //校验验证码的标识 +var isvalidatecode = false; //是否验证成功的标识 +var isvalidatepwd = false; //密码验证是否通过的标识 +var second = ''; //倒计时时间 +var nopermissionoption = ''; //倒计时的dom +var sendmessagehtml = ''; //发送短信的dom +var submitStatus = false; //信息提交状态 + +var $wrapper = $('.bindwrapper'), + $codeTip = $wrapper.find('.code-err-tip'), + $pwdTip = $wrapper.find('.pwd-err-tip'); +var $pwd, + $pwdParent, + $pwdTip1, + $pwdIntensity; + +var pwdRegx = require("js/passport/mail-phone-regx").pwdValidateRegx; + +nopermissionoption = $('#nopermissionmessage').html(); +sendmessagehtml = $('.validatewrapper').html(); +second = +$('.second').text(); + + +function gettype(str, i) { + if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { + return 1; + } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { + return 2; + } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { + return 3; + } + + return 4; +} + +function isregular(cur, pre, type) { + var curCode = cur.charCodeAt(0); + var preCode = pre.charCodeAt(0); + + if (curCode - preCode === 0) { + return true; + } + + if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { + return true; + } + + return false; +} + + +function getcomplex(curType, preType) { + if (preType === 0 || curType === preType) { + return 0; + } else if (curType === 4 || preType === 4) { + return 2; + } else { + return 1; + } +} + + +/** + * @desc: 计算密码复杂度(from:http://www.oschina.net/code/snippet_127301_17269) + * @author: xuqi(qi.xu@yoho.cn) + * @date: 2015/5/6 + */ +function computeComplex(password) { + var complex = 0; + var length = password.length; + var pre = ''; + var preType = 0; + var i = 0; + var cur = ''; + var curType = ''; + + for (i; i < length; i++) { + cur = password.charAt(i); + curType = gettype(password, i); + if (preType !== curType || !isregular(cur, pre, curType)) { + complex += curType + getcomplex(curType, preType); + } + pre = cur; + preType = curType; + } + + return complex; +} + +function showErrTip($dom, info) { + $dom.find('em').text(info); + $dom.removeClass('hide'); +} + +function changeSecond() { + second -= 1; + if (second < 0) { + second = 60; + $('.validatewrapper').html(sendmessagehtml); + return; + } else { + $('.second').text(second); + window.setTimeout(changeSecond, 1000); + } + +} +/** + * 启动倒计时 + * @return {[type]} [description] + */ +function circleTime() { + $('.validatewrapper').html(nopermissionoption); + window.setTimeout(changeSecond, 1000); +} + +function sendMessageValidate() { + var mobile = ''; + var area = ''; + + $(document).on('click', '#sendmessage', function() { + circleTime(); + mobile = $('#mobile').val(); + area = $('#area').val(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/sendBindMsg', + data: { + mobile: mobile, + area: area + } + }).then(function(data) { + if (data.code !== 200) { + alert(data.message); + } + }); + + }); +} + + + +function codeValidate() { + var validatenum = ''; + + $(document).on('keyup', '#validatenum', function() { + $('#err-info').hide(); + validatenum = $(this).val(); + if (validatenum.length === 4) { + if (!dovalidate) { + dovalidate = true; + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/checkBindMsg', + data: { + code: validatenum, + mobile: $('#mobile').val(), + area: $('#area').val() + } + }).then(function(data) { + dovalidate = false; + if (data.code !== 200) { + $('#err-info').show(); + } else { + isvalidatecode = true; + } + }); + } + } + }); +} + +function pwdKeyupEvt() { + var pwd = $pwd.val(), + pwdStrength = computeComplex(pwd), + level = 0; + + if (pwdStrength === 0) { + level = 0; + } else if (pwdStrength <= 10) { + level = 1; + } else if (pwdStrength <= 20) { + level = 2; + } else { + level = 3; + } + switch (level) { + case 0: + $pwdParent.removeClass('red yellow green'); + $pwdIntensity.removeClass('color'); + break; + case 1: + $pwdParent.addClass('red').removeClass('yellow green'); + $pwdIntensity.filter('.low').addClass('color'); + $pwdIntensity.filter('.mid,.high').removeClass('color'); + break; + case 2: + $pwdParent.addClass('yellow').removeClass('red green'); + $pwdIntensity.filter('.low,.mid').addClass('color'); + $pwdIntensity.filter('.high').removeClass('color'); + break; + case 3: + $pwdParent.addClass('green').removeClass('yellow red'); + $pwdIntensity.addClass('color'); + break; + } + if (pwd === '') { + isvalidatepwd = false; + $pwdTip1.removeClass('red yes no').addClass('default'); + } else { + if (pwd.length < 6 || pwd.length > 20) { + isvalidatepwd = false; + $pwdTip1.removeClass('default yes').addClass('no red'); + } else { + isvalidatepwd = true; + $pwdTip1.removeClass('default no red').addClass('yes'); + } + } +} + +function validatePwd() { + $(document).on('keyup', '.pwdcontent', function() { + pwdKeyupEvt($(this)); + }); + $(document).on('focus', '.pwdcontent', function() { + $('#pwd-tips').removeClass('hide'); + }); + $(document).on('blur', '.pwdcontent', function() { + $('#pwd-tips').addClass('hide'); + }); +} + +/** + * 最终提交表单 + */ +function actionSubmit() { + var mobile = ''; + var area = ''; + var pwd = ''; + var code = ''; + + // 查看提交状态,避免重复提交 + if (submitStatus) { + return; + } + submitStatus = true; + setTimeout(function() { + submitStatus = false; + }, 50000); + + area = $('#area').val(); + pwd = $('#pwd').val(); + mobile = $('#mobile').val(); + code = $('#validatenum').val(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/bindMobile', + data: { + area: area, + openId: $('#openId').val(), + sourceType: $('#sourceType').val(), + mobile: mobile, + password: pwd, + code: code + } + }).then(function(data) { + submitStatus = false; + if (data.code === 200) { + if (data.data && data.data.refer) { + window.location.href = data.data.refer; + } + } else { + alert(data.message); + } + }); +} +/** + * 确定完善信息 + * @return {[type]} [description] + */ +function actionConfirm() { + var validatenum = ''; + var pwd = ''; + + $('#confirmsubmit').on('click', function() { + var isAssess = true; + + validatenum = $('#validatenum').val(); + pwd = $('#pwd').val(); + + if (validatenum === '') { + showErrTip($codeTip, '短信验证码不能为空'); + isAssess = false; + } else if (isvalidatecode === false) { + showErrTip($codeTip, '请输入正确的验证码'); + isAssess = false; + } + + if (pwd === '') { + showErrTip($pwdTip, '密码不能为空'); + isAssess = false; + } else if (pwd.length < 6 || pwd.length > 20) { + showErrTip($pwdTip, '密码只支持6-20位字符'); + isAssess = false; + } else if (!pwdRegx.test(pwd)) { + showErrTip($pwdTip, '密码须由字母和数字组合'); + isAssess = false; + } else if (isvalidatepwd === false) { + showErrTip($pwdTip, '请输入符合强度的密码'); + isAssess = false; + } + + if (!isAssess) { + return; + } + + actionSubmit(); + }); +} + + + +function init() { + circleTime(); //倒计时 + $pwd = $('#pwd'); + $pwdParent = $('.safelevel'); + $pwdIntensity = $('.pwd-intensity'); + $pwdTip1 = $('#pwd-tip1'); + sendMessageValidate(); + codeValidate(); + validatePwd(); + actionConfirm(); +} + +init(); + +}); +define("js/order/ensure", ["jquery"], function(require, exports, module){ +/** + * @description: 订单保存 + * @time: 2015/12/21 + */ + +var $ = require("jquery"); + +var address = require("js/order/address"); + +var Order = { + /*业务数据(人民币)*/ + Data: { + product: 0,//商品价格 + activity: 0,//活动 + carriage: 0,//邮费 + juan: 0,//优惠卷 + yohocoin: 0//YOHO币 + }, + /*view 交互*/ + UI: { + e: { + $pan: $('.pan'), + $jc: $('#juancode'), + $bp: $('#biprice'), + $statistics: $('li', '.play-total'), + $tobi: $('p em', '.play-bi-pan .play-pan'), + $cancel: $('.cancel', '.btn-group'), + $total: $('em', '.to-play'), + $tbody: $('table tbody', '.pay-wapper'), + + //请填写并核对一下信息 + $orderSelectionSave: $('.address-list h2 span'), + $addAddress: $('.add-address'), + $addressManage: $('.address-manage'), + $spanPayTypeLegend: $('span.pay-type-legend'), + $supportType: $('.support-type'), + $existAddressList: $('.exist-address-list').find('li'), + $existAddress: $('.exist-address-list').find('input[name="exist-address"]'), + $payTimeModify: $('.pay-time-modify'), + $switchPayModify: $('.switch-pay-modify') + }, + init: function() { + var e = this.e, + d = Order.Data, + c = Order.Common; + + /*初始化产品价格*/ + e.$tbody.find('tr').each(function(index) { + var td = $(this).find('td'); + var len = e.$tbody.find('tr').length; + var subtotal = parseFloat(td.eq(1).html()) * parseInt(td.eq(3).html()); + + td.eq(4).html(c.strFixed(subtotal)); + d.product += subtotal; + if (!index) { + td.last().attr('rowspan', len); + } else { + td.last().remove(); + } + if (index === len - 1) { + e.$tbody.find('tr').eq(0).find('td').last().html('<strong>' + c.strFixed(d.product) + '</strong>'); + } + }); + + + + /*初始化价格*/ + this.render(); + + /*点击pan dt 打开dd*/ + e.$pan.find('dt').click(function() { + var pan = $(this).parent('dl.pan'); + + if (pan.find('dd').is(':hidden')) { + c.winShow(pan); + } else { + c.winHide(pan); + } + + }); + + /*使用优惠卷支付 下面的文本框*/ + e.$jc.on('focus change', function(event) { + var radio = $(this).prev('label').prev(':radio'); + + if (event.type === 'focus') { + radio.attr('checked', true); + } else { + radio.val($(this).val()); + } + + }); + + /*使用YOHO币支付*/ + e.$bp.data('tobi', e.$tobi.html()); + e.$bp.on('keyup change', function() { + var bi = c.enterNUM($(this).val(), $(this).data('tobi')); + + $(this).val(bi); + }); + + /*取消关闭小窗口*/ + e.$cancel.click(function() { + var pan = $(this).parents('.pan'); + + c.winHide(pan); + }); + + e.$statistics.slice(3, 5).find('a').click(function() { + var pan = $('.' + $(this).attr('to')); + + c.winShow(pan); + }); + + + //请填写并核对一下信息 + e.$orderSelectionSave.click(function() { + + if (!$(this).data('expand')) { + $('.address-list-inner').addClass('hide'); + + $(this).data('expand', 'expand').text('[不保存并关闭]'); + + } else { + $('.address-list-inner').removeClass('hide'); + + $(this).removeData('expand').text('[修改]'); + } + + }); + + + //支付及送货时间 + e.$switchPayModify.click(function() { + + if (e.$payTimeModify.hasClass('hide')) { + e.$payTimeModify.removeClass('hide'); + $(this).text('[不保存并关闭]'); + } else { + e.$payTimeModify.addClass('hide'); + $(this).text('[修改]'); + } + }); + + e.$spanPayTypeLegend.click(function() { + $(this).toggleClass('active'); + + e.$supportType.toggleClass('hide'); + }); + + $(document).on('click', '.exist-address-list li', function() { + + e.$existAddressList.removeClass('active'); + $(this).addClass('active'); + + e.$existAddress.removeAttr('checked'); + $(this).find('input[name="exist-address"]').attr('checked', 'checked'); + + if ($(this).hasClass('use-new-address')) { + e.$addressManage.removeClass('hide'); + } + }); + }, + + //渲染价格明细 + render: function() { + var e = this.e, + d = Order.Data, + c = Order.Common; + var i = 0; + + e.$total.html('0.00'); + e.$statistics.find('em').html('0.00'); + e.$statistics.slice(3, 5).hide(); + + $.each(d, function(key) { + if (d.hasOwnProperty(key)) { + if (d[key]) { + e.$statistics.eq(i).show().find('em').html(c.strFixed(d[key])); + } + } + i++; + }); + e.$total.html(c.strFixed(c.calucate())); + + } + }, + /*公共方法*/ + Common: { + enterNUM: function(str1, str2) { + str1 = str1.replace(/[^\d]/g, ''); + if (str1 && str2) { + str1 = parseInt(str1); + str2 = parseInt(str2); + if (str1 > str2) { + str1 = str2; + } + } + return str1; + }, + calucate: function() { + var p = Order.Data; + + $.each(Order.Data, function(key, index) { + p[key] = parseFloat(Order.Data[key]); + }); + return p.product - p.activity + p.carriage - p.juan - p.yohocoin; + }, + winShow: function(pan) { + pan.find('dt').show(); + pan.find('dd').show(); + if (pan.attr('class').match(/(-bi-)|(-juan-)/g)) { + pan.find('dt').hide(); + } + }, + winHide: function(pan) { + pan.find('dt').show(); + pan.find('dd').hide(); + }, + strFixed: function(str) { + return parseFloat(str).toFixed(2); + } + }, + /*业务逻辑*/ + Bll: { + e: { + $juanok: $('#juansubmit'), + $juantip: $('.errtip', '.play-juan-pan'), + $biok: $('#bisubmit'), + $carriageGroup: $('input[name="carriagegroup"]') + }, + init: function() { + var e = this.e, + d = Order.Data, + c = Order.Common, + u = Order.UI; + var options; + + e.$carriageGroup.change(function() { + d.carriage = parseFloat($(this).val()); + u.render(); + }); + /*点击 优惠卷支付 确认按钮*/ + e.$juanok.click(function() { + var code = $('input[name="juangroup"]:checked').val(); + var pan = $(this).parents('.pan'); + + if (code) { + options = { + url: '/Order/save/priceByCode', + type: 'post', + data: { + code: code + }, + success: function(data) { + if (data.code === 200) { + if (data.price) { + d.juan = data.price; + Order.UI.render(); + c.winHide(pan); + return; + } + u.render(); + } + e.$juantip.html(data.msg); + }, + error: function() { + e.$juantip.html('网络出现错误~'); + } + }; + + $.ajax(options); + } + }); + /*点击 YOHO币支付 确认按钮*/ + e.$biok.click(function() { + var pan = $(this).parents('.pan'); + + d.yohocoin = parseFloat(u.e.$bp.val()) / 100; + u.render(); + c.winHide(pan); + return; + }); + } + } +}; + +Order.Data.activity = 0; +Order.Data.carriage = 0; + +Order.UI.init(); +Order.Bll.init(); + + +address.newAddress(); +address.modifyAddress(); +address.saveAddress(); + +}); +define("js/order/address", ["jquery"], function(require, exports, module){ +/** + * @description: 地址管理 + * @author: chenglong.wang@yoho.cn + */ + +var $ = require("jquery"); + +var isProvinceChecked = false; + +var $addressManage = $('.address-manage'), + $province = $addressManage.find('.text-input[name="province"]'), + $city = $addressManage.find('.text-input[name="city"]'), + $county = $addressManage.find('.text-input[name="county"]'), + $selectList = $addressManage.find('.text-input[name="province"], .text-input[name="city"]'), + $addressList = $('.address-list'), + $name = $addressManage.find('.text-input[name="name"]'), + $phone = $addressManage.find('.text-input[name="phone"]'), + $telCode = $addressManage.find('.text-input[name="code-tel"]'), + $tel = $addressManage.find('.text-input[name="tel"]'), + $mail = $addressManage.find('.text-input[name="mail"]'), + $address = $addressManage.find('.text-input[name="address"]'), + $code = $addressManage.find('.text-input[name="code"]'), + $saveBtn = $('.save-btn'); + +function structureOption($obj, data) { + + var key, + optionHtml, + defaultOption; + + for (key in data) { + + if (data[key].checked) { + optionHtml += '<option selected value="' + data[key].value + '">' + data[key].name + '</option>'; + } else { + optionHtml += '<option value="' + data[key].value + '">' + data[key].name + '</option>'; + } + + + } + + $obj.html(optionHtml); + + if ($obj.attr('name') === 'province') { + defaultOption = '<option value="0">请选择省份</option>'; + } else if ($obj.attr('name') === 'city') { + defaultOption = '<option value="0">请选择城市</option>'; + } else if ($obj.attr('name') === 'county') { + defaultOption = '<option value="0">请选择区县</option>'; + } + $obj.prepend($(defaultOption)); + +} +/** + * @description: 改函数会返回地址信息 + * d {Object} type: 'getProvince'获取省 type: 'getCity'获取城市 type: 'getCounty'获取县 + * id: 0 && type: 'getProvince' 获取所有省,默认没有选中项 + * id !== 0 && type: 'getProvince' 获取所有省,默认选中用户所在的省 + */ +function getAddress(d, callback) { + + var $obj, + url; + + if (d.type === 'getProvince') { + url = 'getProvince'; + + $obj = $province; + } else if (d.type === 'getCity') { + url = 'getCity'; + + $obj = $city; + } else if (d.type === 'getCounty') { + url = 'getCounty'; + + $obj = $county; + } + $.ajax({ + type: 'post', + url: '/order/save/' + url, + dataType: 'json', + data: { + id: d.id + } + }).then(function(data) { + + structureOption($obj, data); + + if (typeof callback === 'function') { + callback(); + } + + }).fail(function() { + + //todo + }); +} + +function getUserInfo(id) { + $.ajax({ + type: 'post', + url: 'getUserInfo', + data: { + id: id + } + }).then(function(data) { + var key; + + for (key in data) { + + if (data.hasOwnProperty(key)) { + if (!!data[key]) { + eval('$' + key).val(data[key]); + } + } + } + + }).fail(function() { + + }); +} + +//添加地址 +exports.newAddress = function(id) { + + var pId = id !== 'undefined' ? id : 0; + + if (!!pId) { + getUserInfo(); + } + + //获取省 + getAddress({ + id: pId, + type: 'getProvince' + }, function() { + + var provinceId = $province.val(); + + if (provinceId !== '0') { + + //如果获取的省有默认选中项则获取市 + getAddress({ + id: provinceId, + type: 'getCity' + }, function() { + + var cityId = $city.val(); + + //如果获取的市有默认选中项则获取县 + if (cityId !== '0') { + getAddress({ + id: cityId, + type: 'getCounty' + }); + } + }); + } + }); + + $selectList.change(function() { + var $this = $(this); + + if ($this.attr('name') === 'province') { + getAddress({ + id: $this.val(), + type: 'getCity' + }, function() { + isProvinceChecked = true; + }); + } + + if ($this.attr('name') === 'city' && isProvinceChecked) { + getAddress({ + id: $this.val(), + type: 'getCounty' + }); + } + }); +}; + +//修改地址 +exports.modifyAddress = function() { + + $addressList.click(function(event) { + var $this = $(event.target), + id = $this.closest('li').find('.radio').attr('id'); + + if ($this.hasClass('address-modify')) { + $addressManage.removeClass('hide'); + exports.newAddress(id); + } else if ($this.hasClass('address-del')) { + + $.ajax({ + type: 'post', + url: '/order/save/addressDel', + data: { + id: id + } + }).then(function(data) { + + if (!!data.status) { + $this.closest('li').remove(); + } + }).fail(function() { + + //todo + }); + } else if ($this.hasClass('default-address')) { + + // 设为默认地址 + $.ajax({ + type: 'post', + url: '/order/save/defaultAddress', + data: { + id: id + } + }).then(function(data) { + + if (!!data.status) { + $this.remove(); + } + }).fail(function() { + + //todo + }); + } + }); +}; + +exports.saveAddress = function() { + $saveBtn.click(function() { + + var name = $name.val(), + province = $province.val(), + city = $city.val(), + county = $county.val(), + address = $address.val(), + phone = $phone.val(), + telCode = $telCode.val(), + tel = $tel.val(), + mail = $mail.val(), + code = $code.val(), + id = new Date(); + + $.ajax({ + type: 'post', + url: '/order/save/addressSave', + data: { + name: name, + province: province, + city: city, + county: county, + address: address, + phone: phone, + tel: tel, + telCode: telCode, + mail: mail, + code: code, + id: id * 1 + } + }).then(function(data) { + + var addressStr; + + if (!!data.status) { + addressStr = '<li>' + + '<input class="radio" type="radio" name="address" id="' + id * 1 + '" />' + + '<label for="' + id * 1 + '">' + + '<strong>' + name + '</strong>' + + '<span>' + address + '</span>' + + '<a href="javascript:void(0);">设为默认地址</a>' + + '<div class="order-modify-btn">' + + '<span class="address-modify">[修改]</span>' + + '<span class="address-del">[删除]</span>' + + '</div>' + + '</label>' + + '</li>'; + + $('.use-new-address').before($(addressStr)); + } + }).fail(function() { + + //todo + }); + }); +}; +}); diff --git a/web-static/dist/yohobuy/0.0.7/index.css b/web-static/dist/yohobuy/0.0.7/index.css new file mode 100644 index 0000000..0cf6407 --- /dev/null +++ b/web-static/dist/yohobuy/0.0.7/index.css @@ -0,0 +1 @@ +@charset "utf-8";a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,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,td,th{text-align:left;font-weight:400;vertical-align:middle}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}.clearfix:after{content:'';display:table;clear:both}body{font-family:arial,Microsoft YaHei}@font-face{font-family:iconfont;src:url(../assets/font/iconfont.eot?153129d0200);src:url(../assets/font/iconfont.eot?&153129d0200#iefix) format('embedded-opentype'),url(../assets/font/iconfont.woff?153129d0a1d) format('woff'),url(../assets/font/iconfont.ttf?153129d098d) format('truetype'),url(../assets/font/iconfont.svg?153129d0216#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:.2px;-moz-osx-font-smoothing:grayscale}.center-content{width:1150px;margin-left:auto;margin-right:auto}.min-screen .center-content{width:990px}.left,.pull-left{float:left}.pull-right,.right{float:right}.center{text-align:center}.hide{display:none!important}a:focus,input,textarea{outline:none}a{text-decoration:none;color:#000}.body-mask{position:absolute;z-index:8;background:#000;opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";top:0;left:0}.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:17}.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:#000}.yoho-header .rightpart{position:absolute;right:0;top:0}.yoho-header .rightpart .acttags{background-color:#dcdcdc}.yoho-header .rightpart .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,.yoho-header .header-yoho,.yoho-header .login-out,.yoho-header .loginbar,.yoho-header .registbar{color:#000;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:16}.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:#000;height:25px;line-height:20px;font-size:18px}.yoho-header .user-level{color:#000;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:#000}.yoho-header .myyoho-info-footer{height:51px;line-height:51px;text-align:center}.yoho-header .myyoho-info-footer a{color:#000;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:17}.yoho-header .qr-img{position:relative;background-image:url(../assets/img/header/qr.png);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 .all span,.yoho-header .boys a,.yoho-header .boys span,.yoho-header .girls a,.yoho-header .girls span,.yoho-header .kids a,.yoho-header .kids span,.yoho-header .lifestyle a,.yoho-header .lifestyle span{color:#fff!important}.yoho-header .all{background-color:#5e4b3c}.yoho-header .all .sub-nav-wrapper{background-color:#000;display:block!important}.yoho-header .all .third-nav-wrapper{border-top:2px solid #000}.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:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MUFFQTNDNEExRjA1MTFFNUIwODc4NTUzNUJFODJCMjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MUFFQTNDNEIxRjA1MTFFNUIwODc4NTUzNUJFODJCMjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxQUVBM0M0ODFGMDUxMUU1QjA4Nzg1NTM1QkU4MkIyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxQUVBM0M0OTFGMDUxMUU1QjA4Nzg1NTM1QkU4MkIyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj44ndIAAAF7SURBVHjavJa7SsRAFEBn11gpov8gCCIKIijYrVjZCYmNFjYidn6BrSCWFoKdjQTsLKw0bHwh2gi+BTu30TWFK+j6OgMTiEOM0Z3shUPmzoQ5ZF6ZnG3ba0KIMfE9zqAH3sQv4bquSBN5GI2p74RuYTCkaAa24Fxr6zctWoEhGNfaBkyKcsxRWG6AMrSo/AaGDThemMeSFal4Bx9GVN4Otya+xnGchbxWVxTZxGy9RA+66AgqGYg8XSQ36F49RFkN306cyDMsuYfTONGhXPsGRUX20Wec6BUODIr88AgSGQ+flyTyDUkCOEkS7UPVgGiX+flIEj2rRWFk2JJEpuZpO41oCa5qkKwybMdhYiW8WIIOaP2HpIqkov9h06ycQN0jBtVmDusCOpTPJihAm8x1SVqRjEW5gmBDnYVW5KfWxeMC1uGSvPDTnSFNTEXKfdAbySegWZUbYbIWUVnLH7VDM+ndP4mm4Q6eYA6uI23LsKk2uDwj5+M6+BJgAFPmZONXOE3uAAAAAElFTkSuQmCC) no-repeat}.yoho-header .gobuygirls{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABfklEQVRIx73Vv0vDQBTA8e9F3UR09j8QUSiC4Cg4ud3iJOIi4uZ2m+uBODq46uJipg5ONbRWiyiC4G/BTZdaHfxBrRiHpJLG2NTm4pvevXe5Dxy5O+FqexOYojHOgGGh5AeGwgJkRH0AGDKF1KEFIAech3qjJiFRT1xtZ4CjQG9dKDmTBtQBVIAev3QDTBgwqkLJexGsuNrOApMmt8yPZStUyKeAACz+F/QQhg6BlxQgpwHyD+he6pAfaWzfbhTkGEbKwGkUdABUDUJ5oaT7AxJKvgMlg1ABvLsuKhyDkNMMKhhCnoCTZtA+UDMAFYWSn79CQslXvJ8iaTj1xGplUoLYaQVaBa4SIBtCye/3TcTNdrXd2wZSE0o23JmxUAAcA/qAnFDyLdTrx3v6j4WSt1HfW/EEuNpeAYpAFsi72u4M9AaBC2ALuHS1Pd42BMwF8hEgExhPA91+3gXMJoEqofFjIC/HzP0TNA/cAc/AklDyOtBbA7bxDngJ0FELfAHxEGiu2DHs/wAAAABJRU5ErkJggg==) no-repeat}.yoho-header .gobuykids{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABgUlEQVRIx73Vvy8EQRTA8e8eMo0Itf9ADMlFIlFKVDqNSkQjolNvoZpEIkqFlkaju0J1NneOixCJjd8SHc05Cj8yTlDsnuytdXvcrFe9eW92PslkZ8ayXb0OjFMbJ0C/kuINQ5ECxiLqPUCfKaQKzQJZ4DTUGzQJWdXEdnUaOAj0VpUUk0lALUAZ6PBLV8CIAUMrKW6tYMV2dQYYNbllfiymQoVcAgjA3H9Bd2FoH3hKAHJqIP+A7iQO+ZHE9m1HQY5hpAQcR0F7gDYI5ZQUH98gJcUrUDQI5cG766LCMQg59aC8IeQBOKoH7QIVA1BBSfH+I6SkeMb7KZoNp5qkGpnURGw1Ai0DF00ga0qKr/fNipttu7rzD0hFSVFzZ8ZCAXAI6AKySoqXUK8b7+k/VFJcR32fiifAdvUSUAAyQM52dWug1wucARvAue3q4T9DwHQgHwDSgfEE0O7nbcBUM1A5NL4P5KWYub+CZoAb4BGYV1JcBnorwCbeAS8CC1ELfAIRimiKicNJAQAAAABJRU5ErkJggg==) no-repeat}.yoho-header .gobuylifestyle{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABf0lEQVRIx73VPUvDQBjA8X+ibiI6+w1EFIogSCbBKZuLkxEXETc/gasgjg6u5+Li1gOnGtqrFlEEwXfBTZdaHXyhVtQhqaQxNrW5+EzPPc/lfnDk7gzHtjaBKRrjFBgWUr2jKUxgMqI+AAzpQurQApADzkK9UZ2QUU8c28oAh4GeEFLNpAF1ABWgxy9dAxMajKqQ6s4IVhzbygK2zi3zY8UMFfIpIACL/wXdh6ED4DkFyG2A/AO6mzrkRxrbp6IgVzNSBk6ioH2gqhHKC6k+f0BCqjegpBEqgHfXRYWrEXKbQQVNyCNw3AzaA2oaoKKQ6uNXSEj1gvdTJA23npitTEoQO61Aa8BlAmRDSPX9vhlxsx3b6m0DqQmpGu7MWCgAjgF9QE5I9Rrq9eM9/UdCqpuo7814AhzbWgWKQBbIO7bVGegNAufAFnDh2NZ42xAwF8hHgExgPA10+3kXMJsEqoTGD4G8HDP3T9A8cAs8AUtCqqtAbx3YxjvgJWA5aoEvXQ1rTnQJKpQAAAAASUVORK5CYII=) no-repeat}.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:#000;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:10}.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 a{position:relative;color:#fff;font-size:14px;line-height:14px;display:inline-block}.yoho-header .sub-nav-item:last-child{margin-right:0!important}.yoho-header .newlogo{display:block;width:26px;height:12px;background-image:url(../assets/img/header/new.png);background-repeat:no-repeat;position:absolute;right:-29px;top:-6px}.yoho-header .actsecondnav,.yoho-header .sub-nav-item:hover>a{padding-bottom:3px;border-bottom:2px solid #fff}.yoho-header .sub-nav-item:hover .third-nav-wrapper{display:block}.yoho-header .third-nav-wrapper{box-sizing:border-box;height:410px;position:absolute;left:0;top:38px;width:100%;min-width:1150px;display:none;z-index:15;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:#000;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:#000!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:#e01!important;font-size:14px}.yoho-header .category-item-act a{color:#000!important}.yoho-header .showdetail{box-sizing:border-box;padding-left:19px;padding-right:19px;width:337px;height:250px;float:right}.yoho-header [class*=" icon-"],.yoho-header [class^=icon-]{display:inline-block;vertical-align:middle;background-repeat:none}.yoho-header .icon-hamburger{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAALCAYAAACksgdhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MkNDMTBCN0ExRjAzMTFFNUI1NzZENkM4MUQyMEJGQTgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MkNDMTBCN0IxRjAzMTFFNUI1NzZENkM4MUQyMEJGQTgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyQ0MxMEI3ODFGMDMxMUU1QjU3NkQ2QzgxRDIwQkZBOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoyQ0MxMEI3OTFGMDMxMUU1QjU3NkQ2QzgxRDIwQkZBOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqrUNPwAAAAmSURBVHjaYuzr6/vPQCJgAWJGUjUxMZAB6KcJ5KfRgCA3IAACDACZEATHVTZCoQAAAABJRU5ErkJggg==) no-repeat;width:13px;height:11px}.yoho-header .icon-headphones{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAOCAYAAAASVl2WAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDNDODgxQzgxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDNDODgxQzkxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEM0M4ODFDNjFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEM0M4ODFDNzFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhJU+6cAAAB7SURBVHjaYnyorNzIwMDwFYgZGVDBPyDmYwESP4C4CyroBqV3QelKkAIeIF4IxNeQdBsCsRYQPwEpYALiE0A8Hc2KTCCWY2IgAIaHAlhI8gFxORCLQsVfQ+kfIAW/gLgTKjALamoJclBzAnEZNLL4oBIg0/4DMRdAgAEA3OsUBsKkQkoAAAAASUVORK5CYII=) no-repeat;width:15px;height:10px;margin-top:2px}.yoho-header .icon-heart{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAALCAYAAABLcGxfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QkJFNDA0MDMxRjAzMTFFNTgzQUY4OEM0NzJDQ0YyNzAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QkJFNDA0MDQxRjAzMTFFNTgzQUY4OEM0NzJDQ0YyNzAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCQkU0MDQwMTFGMDMxMUU1ODNBRjg4QzQ3MkNDRjI3MCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCQkU0MDQwMjFGMDMxMUU1ODNBRjg4QzQ3MkNDRjI3MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgbjRwsAAADJSURBVHjahNC9DgFBEMDxuXWiUUq0Si+i9AqiukQjkdBRi0R8FlrxAhKtgkfw0aiovYGEhP/EhI0cJvldNjOzu3MbRFEUiEgVeVyQxESeUcEVKRwwDvnUsMPQmjQ3srUedLN1QXu1mENP3qENXdy9Zo0liqHEx/FLPnA2X1r+h/akdEMHAyR+NGutj7az64c2dxA3hv2jPsTJWXKPBZoxG1qYW484r7DCFnUv18AGa/He3A+9pYySHXa23CtczAhTZJHB7LP4EGAA/kUjzWzAmh0AAAAASUVORK5CYII=) no-repeat;width:12px;height:11px;margin-top:-2px}.yoho-header .icon-mail{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RUVFMTA0NDExRjAzMTFFNTg3MzBCMUMzNDQ0Q0E1QkUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUVFMTA0NDIxRjAzMTFFNTg3MzBCMUMzNDQ0Q0E1QkUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFRUUxMDQzRjFGMDMxMUU1ODczMEIxQzM0NDRDQTVCRSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFRUUxMDQ0MDFGMDMxMUU1ODczMEIxQzM0NDRDQTVCRSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ptf44EYAAADcSURBVHjalNJPCwFBGMfxsW3UvgdydJVc7EEOcnH1Amxt/iUHUt6A456EUrwYJS64unkFjhKF79RDk6Q19Znd5nl+M9O2kSAIjkop7aD+GykkbKYdLphgHzKcRh8ni+mMKnrIhgjrnq5kzpYs6ht4aMH9EXalx5OMsoziFb4U81/CBTnVl171uYEed9FB0VgvoW3U38M23qOYYoEVRohJrYwKcpih/rqFbYR1YYyNrDUxxAMNeS5xk17/tYGDOQJsjRvpwODLt1jL6fqmjt4gIz9S7c8fKY7kU4ABAPrAL/PXL7nQAAAAAElFTkSuQmCC) no-repeat;width:16px;height:10px;margin-top:-2px}.yoho-header .icon-iphone{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAOCAYAAAASVl2WAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDNDODgxQzgxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDNDODgxQzkxRjAzMTFFNUIzMUFDQjFGNUQyMzI4RTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEM0M4ODFDNjFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEM0M4ODFDNzFGMDMxMUU1QjMxQUNCMUY1RDIzMjhFNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhJU+6cAAAB7SURBVHjaYnyorNzIwMDwFYgZGVDBPyDmYwESP4C4CyroBqV3QelKkAIeIF4IxNeQdBsCsRYQPwEpYALiE0A8Hc2KTCCWY2IgAIaHAlhI8gFxORCLQsVfQ+kfIAW/gLgTKjALamoJclBzAnEZNLL4oBIg0/4DMRdAgAEA3OsUBsKkQkoAAAAASUVORK5CYII=) no-repeat;width:8px;height:14px;margin-top:-2px}.yoho-header .icon-papers{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAOCAYAAAAWo42rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUNCQzI5NzcxRjAzMTFFNTg0MTBDRDUyRkVENTFGQTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUNCQzI5NzgxRjAzMTFFNTg0MTBDRDUyRkVENTFGQTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBQ0JDMjk3NTFGMDMxMUU1ODQxMENENTJGRUQ1MUZBNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBQ0JDMjk3NjFGMDMxMUU1ODQxMENENTJGRUQ1MUZBNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqSzZHsAAACCSURBVHjaYkxLS7vKwMBwhAETuABxGhDvBXFYgPggEGdhUTgdiP2h7L0sDLjBfyDOB+KJMBNxgb9APAOIGYF4DrJCfiBmQuJXAvEXKHsassJMIBZA4t8A4gUwDrLCDjzOQFHYDsRCWNQ0oSuspK+JTAxEAqIVgqy2B+KZBNTZAAQYAEaiFCx+VPXeAAAAAElFTkSuQmCC) no-repeat;width:10px;height:14px;margin-top:-2px}.yoho-header .icon-bottomarrow{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAFCAYAAAB8ZH1oAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUEzRDI1MEQxRjAzMTFFNUJENkRGMUM2QzYwNzc5ODAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUEzRDI1MEUxRjAzMTFFNUJENkRGMUM2QzYwNzc5ODAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QTNEMjUwQjFGMDMxMUU1QkQ2REYxQzZDNjA3Nzk4MCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QTNEMjUwQzFGMDMxMUU1QkQ2REYxQzZDNjA3Nzk4MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjEPOcUAAABkSURBVHjaYuzr65vBwMDQB8S3GLADNSAuYgISlUDcDsTGWBSBxDpBakAK3wNxLBAXA7EzkiJnqFg0SA0LVPAbEMcB8VQgFgbi/0DsChX7A1LAhGQCSCADap0JEKfDFIEAQIABAH3lEoANPM6QAAAAAElFTkSuQmCC) no-repeat;width:10px;height:5px;margin-top:-2px}.yoho-header .icon-logo{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAAAoCAYAAACBzApvAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAASpElEQVR42u2ceXxVRZbHvxUVROkWbXUior4HaAQCJAgkJJBtFCQIZGERpx27m2bapadH7Y1pp+2PPYvTLh+RRmdamZ6ej6ORJZCEBGQLkIWlBcISE5AtCGqrrYIIIkvO/HHve+8uVfc9tmb+yO+j4dZyTp06t+rUqVN1n5py35TtCKntCAjYfxCJ/GH13Llz80kAxSXFoxB5S+y0iKCA9ghf67+Bi6qqtiXCLwgjR406BnQRxBbT1cY/r1y+/MlzbeNCYEhm5kFBboxm2MLbXXh804Y/vgAwaOjg7iK8H6OM9VOi7yqmZ4cGInWPgTQD8xBebt6y9djF7vu5Ign4bTSlon8cafImTprYPx6j4pKSq4HfO+mVUt5qM8/LQL377uuBLpaISldl319GfWeGIcMyOwHd3RK7Uo4hSMjMydNnpdXBFcBQ4FmgJTVtYPrF7v+5Ign4X+BzX3fdGT9KgNcsoLt+7ACwE8U/nie5e+qzVUTu/5eDFbjFKaRHcoD3HFlhwyB0EXgeoznKXXILsLRf2oDki62Ac0FS2Rtlx1DM1qslmvvtiZMmfsvEpLi0ZCJwn67MNhWnQT1QVVl1vpaikFbKWLrtwqrtrBH25biFd8itwsplaM8Qyvd8nUI9c7EVcC5Isv99GWg391VdDkzTMSgtLU1W8B/OmawZ+E9XVVZuOF9CK91Lj+EUcPBCK+4sEYpT3mauqwINbYKY3C9twFUXWwlniySAsjfK2kBV2joB/Vr+8ISJEy/V5M9W4LG6LvotSYpfn2e53UukW9wDK5YvP3XBNXd26BmRVeO3Ht604Y+fufpogNEkGHOj6AQMvNhKOFskOZ5f1HY0lnkTivHOotIJpVNRjAmg+VopdX9FReXJ8yx3yN2cax1ou7AqO19y+7TtldsarHpz+gYQRhG264VRKgykA2Vurfjor7nYSjhbRC1lWVnZmilT7t0mMCBaqnDtT5W10SoHmDCxNCzCC5Ey8dS18cuKhRXN3sxx48amCAwHUkSkG3BUhIPABpB1NdU1pwOlVoQD3LkLsrkanpNzpUCuQBoiyUAnkE+BFhFWrGto+CgBNkHuS1vkYdDQIZcAN1kDTnRdfWfrxk1tOiYDBqV/G+gNDEH/Tj65EPr5S8C7rM8EZruzrB7basuZMHFiGsg24L9BvhGpo6IRvqiGGoDnI1zGjR/fCZgK8ghCv5gW7foxxb5fOGbMcwIvLamp8VnkUaPvTsLa3WqkBGDfnSPvuhlhqsAoQfogXAnyscAGhNeB8lUrVya0exmem9sf5GcIExRcDrr3T/uw4dmVwJPrGhqbTbwUKqwdepbwe6NJpXqIyKVaHgpEzBNy2+am9v6D0pcDQzRtnFKo7QB9Bw4YDUyO9kZiMVoAEabu2N7sMhopqf1Gg0y2y4kQxuK/HAR6OAptXgKwec+OnTODdB2+7dYHEMl3UktMvkMehag3QJ7BXir0E5N/ALYDuc4anrpHFfztwoUV7QDji8bnKZjdLvTyak+TuhF4AfjO6DGFxUtqFrtejEJ1F+Qyn2yxjBLgSeAyT9kNQBGKIoT1+QUF966qrd1vUtyIvLyuIM8IPGjPwBg7hfd9JAHFwNjM4dnT1zc0Pu/ll5E17AoRrtMpy0ab873ppYoSBq4eCm41zMSa5i1bv7D7MEqEBwwsPvYOVBt3gZ/G1scnwGLgAV//rPSdWMZQi/Btt3YDXgRMG8CnnD4rZWVlXwGvGg4HIpgC/JtPh248vnBhxT6AouKi6UqpWnAOVAgKyygrEjkQqB9dWOh9cWFXxSi/6HM6zoGqFzMTWJVfUHCdrl5Ofl5P4G3gIRWJizqIxbs9iiUvBZ7LHJ79L7r3ESAPHl87RDDaTAUDBqUPw5o4XrSDa6Mb0klhwzQZDPFtAPYqqAsov7HX7SlB9I8CVxl89MMKZviWGgWzBH4CXBLti3uWdI44qEqJy8LY2YuBVwGKioueBqajaSTCU2OlXB0EKkYXFg5esnhxxCUI8vtiDSixvYuI1+dzwMMIL+KJD+fk5/cGWW21bVhbTG3G6j6RkZ21aUPj2oWOCuE4NHuNdd1KOgFcnjb4jlB02bYeugF3iciTRN27SO8VIL9u3rJ1s4NrSC+KAqTN0MkQBrOJNYG0g9Xheed4+ml1NuXWbgiP6rRi085o273nUJKX8M2yNw8CC/xK9T55UwrgM2DawgULpbik+Ac4BqoYOBj4OJ8HQKwjUSWrYC6mljyYlFtQ0COSyM3P7wYswZokCcB4EoWClzKys7p45VYmqZTJDVDeVagTluXz/t8EPAN01Qg0A3zhQ5+Vc0jmG1DOPhiwb1dL627ggwDN5xryH0UZl//DtvwkGSpE7wt4Dge0WnY8PbxwwYIPiktK+mIKhbnolImVN+/x0YWFkVUgHFTdRjuwH+uAwFBZAVyiYKQjc5aydtIeJzVQahNuAL7jSIcDgvqfbly/4UtHOqSMlc/ocOAjYHJz05bHmpu2Rkd8atrAa4BvBNC1eTNS+ve7xjmgvDIoFXUd6g1iA4zwZvdMua0bbmPkxYz9u/YcAsNgnVP2Zj2KLQm/FptsQfmCOfbzTKCzlz4pljwMzFLINOBnWFbBPTHcbmIykGc/h12Txn84sBDosWLZ8hDQA93S5CbpA5BbkJ8D/I2hTuRvHZaLNE0pXgW+1onhoJrsyAj7i6P/eC1ZAq5OQocDnfFaWgsht8xxY75RmgC02ZxWB4jVq9ftKT08eY9AfKsKZssK3p2bb3W2VaUE4AMUjwCUlJRkA3/tpXFYilqgV1VV1d9XVS2avahq0bPAYOA/4ygj2+ZpVJpCtQKTVyxb9iHAiuXLPwK+r9zW39unyK73VyauwFfApIa6utyGurrnG+vqZjfW1f8d1q2mz81kZGZkZ11iZ4QC+LdFUoMzhnZC54YkeKnFU68bqP/qn572tIeiZxw+OjcgYAIpINiyOt7B8KgQKbd1BR4L6OuMtl27D0USQYO1DPizTxloJ8208vnlnwKI4vsBPLcBY6sqqz51ZlYvWtSOdeCw199C9Dk8unD0ZcBNAYK8vmLZMldsVrl2ttoX/nluQUFvoCCg3tSGNWvmeTPX1tdvAzXdRKcsyxa56ZTQgQBws0pE4wYYTiGnp6anTXLkhAJYCKj3NPkuP9pPQyQM2EJk3OiR53j+Ic6jevdq5rKqEDBY55S9eRyXtYssOr5tzKvl88sXA5SWliYpuMe0PAn8uKqyUnvzqnpR9UlgfsB76QbqJoIn2C5N3s3m6lGLcI9uE2n/u6Z+9ZqygDbLtFxjuDIjO6ubJX+k3NdJpyWLWj3lCs1FXc6XgaeU4imI/v8bwHgYYeOZ1PSBEd2FlNl9+KB12/YTmqKQr26MxQfvvtN6AmBXS6sAdQETLAeg1+0pXZVSPzHoAzxWFfwnWF78HvingADOPuBxRzqs4FptYMM65lsZp70PtW1ZmYctJWMHohxBmVjNtkAlu2Mikec2BcXiLY+lgwYqa+vrj2SNGH4Yrd+lADkGJEcP6pxRKIcMWnn1+GXT25s+82YOvGPQE8A8HDFWT3duwdrgrME1IXyhQ1MkIKxjasMbl60HSgz67NPr9pTrgKn4LkBF4bOqEGylQHFZnFu+T82fN/9LR3kvHZOIEiorKuMFLbu7KN3rYVtUyT7jHmtDwzNklMjCPhUc7H43SOCsESOuxh6oPrdScQL4E/ZXDSZ4XJVQQNUjTW9v/ExXsHXT5tPAEx59eDHYpBOHVtoMtEFujOeU0d5kmVGItVE1YcY+j1WF+JY11intLFE7PfWv0OrAojNe3gYYO25skoiUBFTZCGQElB9dtnSp31dS9Aw4HDi6qrb2k/yCAs1gita7Po6OikwdBrZsaFx7KiM7ay/wXYNZElA+N0C/wiiT1YvgEz1tdB2K3LgKGTko/WBVEPLydLTipdkOfAF8UycF1p2RM7KqEH+weixOTED7yau8k6AQJbqlondRcVH/ioUV2w1t/RBUL906DeorkFpgsu4qmGYpdSIU4MZEaE5qXkAExcAcHXFWTs5ViDwVcNJVA7Chce1h4A8kAkVIz0qhzCdLEeQF8AXhWGr6wGSgi3sCu+CbELf3T/0roEvAaZ7Lsu5qaT3du2+felBjDDRmw6WYsW/nrkO6omA3wDEDNYcDx+bPm/exp35bpK5zk+WgfXV80XhfMHrsuHH3As+ha8zCnCWLFx/FsFwbYpW+Pmh4R5R8wBtydGyyJo/Iy/NZ/OE5OdcqqMYZnXA3cxr4n0g6IzurR0Z21vMZWcM2ZmQNax46bNgrQ4Zl3qIhdS23nsOBNkMfGTh40E04brkZ0ITH1dLgK02ee0Xzh7l1dwmCDgd8/bPHlNGqQnzLGraXezQzRCfgDqxLB1cZlowMoKmoaPyL7UILSA+Ee0HuNmzKUIrTCJFvh0LOcpdlUMZL12Z/NHbqsk7BeINBA2HeiLzcPwBVInyNyHDgQeBb3g2KI/3a+obG/QAZ2VkFWPeAuzk49wOKhwzLHPz2uvX7AQZnZlwBXB9gqTulDxmcF0sKIlwB3CHwI5Br9eIDcBxYC6T56kRlVoBMwrGS9BmQepUIuos5Tvh0r2CNdtMaDKNVhTiDVUHYsDMHjSUrn19+unRCaQXeq2cOgZVSvRCZqSsz4MXFNTWto8cUdrav+ZnofAq7c+TIzsAN/kstUfI2O1GO8O8BMiSB+h7I97xti74Dh4FfAGQOz04WkQVEowWu+tdiXWecaqdDBOMhlHrIePPHM8vd9dRrzU1Nh1LT0/4cR+ElfQf2rxJhLkgy1glTKOBVmb552wgcw7OPMV4nj2NV7ZdghkpsCfXieUAkoTi2J4juP7LcQmSHiwrHYaNzA25xV/Gl9gGsWlm7G6iIJ1/ifVHT1jU0fmgnHlbm40SAOxzPYRPHM5XHU/MwVjwWrNXvyzjkY4HXQD0LhMzHsgrgwLvvtPi+edvV0noKWHcGCnwpyKpCwGCdct+UKwHNfc+oj6EdrOXzy7eD+q3Xb3VCDDxdz4q9wLia6prjdkFIXz+KNk1eUEgK3BPux8CXAYcDWqk1ZT9f19DgPO3Kwkhv+f6OrFgs01lPfzhgl5EIfrB9c9P7AM1NW04Br8fUHHi3IBG0BZStToSTUuooxD6RMiHIsoaN9shCUBjlpwpWBXU+yW9FnYlmBbk11dUHXPJoQr6Oz+J0SgvptRN9itKsqq3dq6xb8O16A2LoCNEB0w48tra+wftt/kldrNoxyJbHldcIw52HGE5hDVRvNONfgUOaPpxN00FfLTRohfO3NWvvzneDjmiB4MEacjP3KdwoZHl5+QngHqBKJ6Hu+puK/dDW74Bh1YuqD7rLA38g4vOlb711SCNKUCD70KoVK100q2trFwClwBETUXRqOLog1ipTsLa+YYaG5K0A43IAh0VRwefvCcBF8y5K5W3b3PSKt1Zz09YDWJ//HI3DIxEYx4GC9ThuphlwFGckKABxLKtG9MRmFOXlC45hBczvB/YE6kBxGutq39DqRYserF5UrfOpvhnAoS2oD87BFVv29G7MmtraCiAVa0fcHses7sc6bu67tr5+jUGGl4FlGiW2AgVvr1t/yJGv/RDSry+jMo+jWIq1QvTbtmlzo6lic9PWVVj+8mJtBauJRmtjGSSP+dP3XS2tx7E+D/KwdnGZtWfHzrhW1agLgCn3TUkGkhGxfqrFNnz2P+1z58xJ+AfWikuKk4AcEcnDuj/aVUROiPCe1RlZVlVZ9XEQj8IxY5LFlieCyK/pCfLl0iVv7fbS3DVyZG+J3ueM1AVBTiJ8WrtixZ+C2szNz79BYAzIHWJFIi4F+VyssNsahPUNdXXtxEHm8OwkRErFuinfjtAIUr5h7TrXxmRIZmZPQWKTMvYLg8dF5Hispui+Lj0h8OHWjZvO+DeH+qUNuBm4U4TuQBLIfqC+Zev2vX0G9O8CkuIQx/nFKcDenc3vfGHi3btvn5eBhwxfvB4FQuc8WDvQgXPFrX37JIt1ZfBq32C1LMdv9uzYOT1RfvEOBTrQgYSQktq3lwijgLn2j39kifCKgqsNhwMJ+6oRdAzWDpwv/BLLV34J1NcgnYMqK9TM3Tt2JLT8x2g60IFzREpqv5tB9orYn+8Dnl9qwfHJOMCHQMru1h1HzqCZuBdZOtCBRPAL4JLgWG20sB24/0wHqotDBzpwNkjp3+8GhP0gl4H7N7AiaUf8ph3h4d2tO353Nm11+KwdOFf8HMPPNUVg762OAN/d3bqj/Gwb6rCsHThrpPTv1xX4BLF+XdEd/3WlywV+uruldd+ZtuFEh2XtwLngKNb3VBOwPmUPYf0s6BHgHazfiHhtV0vrjvPR2P8B12P57Lkkf7EAAAAASUVORK5CYII=) no-repeat center center;width:182px;height:53px;top:22px;left:44.2%;position:absolute}.yoho-header .icon-logo .main-link{display:block;width:100%;height:100%}.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:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAQCAYAAADwMZRfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RUM1RjdENDUxRjA0MTFFNUEwRkRCMURDREZCNjYxQTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUM1RjdENDYxRjA0MTFFNUEwRkRCMURDREZCNjYxQTIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFQzVGN0Q0MzFGMDQxMUU1QTBGREIxRENERkI2NjFBMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFQzVGN0Q0NDFGMDQxMUU1QTBGREIxRENERkI2NjFBMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvM9DyUAAAEMSURBVHjanNS/S4JBHMfx59EnCyGcRBDD8Mca1NDm1qJTDU4NjTo4OEmbNNrgJAjR0FBOLe3+Ca06uDu1OIghGE/vb9wDD9epp194wXF3fJ7nufvyuL7vO6E6QQMJ/EAWPbxj6KwrCVGu0UcqNCc81NFFVFv7EwzO0TFtCCmhvSnkGYdbQsQjMvp8hC9KYoqls71ecKNPSkgeE8euZF/RFLJCzDLkQO3/FzLCmWXIJT5NId9qnLYIucPHuj5JYoDEhptp4da0FlFZX7hHD1UchZ5zgScsUEZcfxFXa3sXFVypQ5QaY4AZCnhADXNT29vK4RXHesfu6hRvwRnuGyKywWXoZ7Jrya+j+SvAAPnfjoCz07o6AAAAAElFTkSuQmCC) no-repeat center center;width:80px;height:28px;float:left;border:none;margin-top:45px;background-color:#3a3a3a}.yoho-header .search-list{position:absolute;top:73px;left:0;z-index:10;box-sizing:border-box;display:none;background-color:#fff;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;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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;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:17}.yoho-header .gobuy-empty{position:absolute;width:100%;height:507px;z-index:1;background:#f8f8f8 url(../assets/img/header/empty_car.png) no-repeat 106px 132px}.yoho-header .gobuy-empty .information{margin-top:300px;width:100%;height:18px;line-height:18px;font-size:18px;text-align:center}.yoho-header .gobuy-loading{position:absolute;width:100%;height:407px;z-index:1;background:#f8f8f8 url(../assets/img/header/loading.gif) no-repeat center 150px}.yoho-header .gobuy-loading .information{margin-top:180px;width:100%;height:12px;line-height:12px;font-size:12px;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:100%;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{width:170px;height:14px;line-height:14px;font-size:14px;margin-bottom:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yoho-header .goods-detail .content a{color:#666;outline:none;text-decoration:none}.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:#fff;font-size:14px;text-align:center;margin-right:13px;vertical-align:top}.yoho-header .activity-content{display:inline-block;line-height:14px;width:250px;color:#3a3a3a;font-size:12px;word-break:break-all}.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: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=) no-repeat;width:27px;height:20px;top:-10px;right:-15px;color:#fff;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:337px;height:250px}.yoho-header .showdetail .title{display:block;margin-top:40px;width:100%;height:15px;text-align:center;line-height:15px;font-size:14px;color:#000!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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 .cattitle h3 a{color:#000!important;font-size:14px}.yoho-header .third-nav .catdetail{line-height:14px;height:14px;margin-bottom:24px;min-width:200px}.yoho-header .third-nav .catdetail a{color:#a1a1a1!important;font-size:14px}.yoho-header .third-nav .catdetail .hot{color:#e01!important}.yoho-header .thirdcatelink:hover{text-decoration:underline!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:700;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;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;padding:0 10px;line-height:28px}.simple-header .header-tool li,.simple-header .header-tool li a,.simple-header .header-tool li span{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:700}.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 .iconfont,.simple-header .header-tool .tool-options span{display:inline-block;font-size:12px;height:28px;line-height:28px;vertical-align:top}.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:5}.simple-header .header-tool .tool-options .tool-select a{display:block;padding:0 0 0 10px;border-top:1px solid #ddd}.simple-header .header-tool .tool-options:hover{background-color:#eaeceb}.simple-header .header-tool .tool-options:hover .iconfont.up{display:inline-block}.simple-header .header-tool .tool-options:hover .iconfont.down{display:none}.min-screen .yoho-header .header-topwrapper{min-width:990px}.min-screen .yoho-header .header-top{width:990px}.min-screen .yoho-header .header-navwrapper{min-width:990px}.min-screen .yoho-header .header-navcontent,.min-screen .yoho-header .header-wrapper{width:990px}.min-screen .yoho-header .icon-logo{left:39.2%}.min-screen .yoho-header .icon-logo .main-link{display:block;width:100%;height:100%}.min-screen .yoho-header .sub-nav-list{width:990px;min-width:990px}.min-screen .yoho-header .sub-nav-item{margin-right:15px}.min-screen .yoho-header .first-nav-item{float:left;padding:10px 14px 0;margin-right:3px}.min-screen .yoho-header .third-nav{width:990px}.min-screen .yoho-header .third-nav-wrapper{min-width:990px}.min-screen .yoho-header .category{width:800px}.min-screen .yoho-header .cate_row1{width:204px}.min-screen .yoho-header .cate_row2{width:244px;border-left:1px solid #ccc;padding-left:39px}.min-screen .yoho-header .cate_row3{width:163px;border-left:1px solid #ccc;padding-left:28px}.min-screen .yoho-header .category .thirdnavlist{width:200px}.min-screen .yoho-header .category-title{width:152px}.min-screen .yoho-header .showdetail{width:190px;padding-right:0}.min-screen .yoho-header .showdetail img{width:174px;height:155px}#cover{position:fixed;z-index:11}#cover,#cover .con{left:0;top:0;width:100%;height:100%}#cover .con{background:rgba(0,0,0,.6)!important;position:absolute;z-index:12;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}#cover .tag_img_warpper{margin:0 auto;width:180px;height:168px}#cover .tag_img_warpper img{width:100%;height:100%}#cover .guide-box{background:#fff;margin:0 auto;height:400px;position:relative;z-index:13}#cover .guide-box .close{top:-15px;text-align:center;right:-15px;color:#fff;line-height:22px;font-size:24px;position:absolute;background:#000;border-radius:50px;border:currentColor;border-image:none;width:28px;height:28px;line-height:25px;display:block}#cover .guide-box li{padding:10px;width:200px;height:400px;float:left;box-sizing:border-box}#cover .guide-box li .go{margin:26px auto 0;width:100%;height:18px;text-align:center;color:#b0b0b0;line-height:18px;font-size:18px;font-style:italic;font-weight:lighter;display:block}#cover .guide-box li.girls{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box li.girls .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box li.lifestyle{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box li.lifestyle .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .guide-box li.kids{border-left-color:#eee;border-left-width:1px;border-left-style:solid}#cover .guide-box li.boys .goods-num,#cover .guide-box li.kids .goods-num{text-align:center;color:#bbb;line-height:12px;font-size:12px;margin-top:16px}#cover .boys .block_cn,#cover .girls .block_cn,#cover .kids .block_cn,#cover .lifestyle .block_cn{text-align:center;line-height:26px;font-size:26px;font-weight:700;margin-top:30px}#cover .boys .block_en,#cover .girls .block_en,#cover .kids .block_en,#cover .lifestyle .block_en{text-align:center;line-height:26px;font-size:26px;font-weight:700;margin-top:19px}#cover .boys .block_cn,#cover .boys .block_en{color:#000}#cover .girls .block_cn,#cover .girls .block_en{color:#ff88ae}#cover .kids .block_cn,#cover .kids .block_en{color:#7ad9f8}#cover .lifestyle .block_cn,#cover .lifestyle .block_en{color:#4f4037!important}#cover .boys .block_line,#cover .girls .block_line,#cover .kids .block_line,#cover .lifestyle .block_line{margin:20px auto 0;width:50px;height:0;border-bottom-color:#ccc;border-bottom-width:1px;border-bottom-style:solid}.yoho-footer{font-size:12px}.yoho-footer *{box-sizing:border-box}.yoho-footer .red{color:#e01}.yoho-footer .rgb6{color:#666}.yoho-footer .rgb9{color:#999}.yoho-footer .rgbf{color:#fff}.yoho-footer .index-foot{background:#eee;padding:20px 0}.yoho-footer .index-foot dd{float:left;width:370px;margin-right:20px;overflow:hidden}.yoho-footer .index-foot dd ul{margin-top:18px;padding-top:18px}.yoho-footer .index-foot dd.last{margin-right:0}.yoho-footer .foot-panel{background:#fff;padding:20px}.yoho-footer .title{position:relative;text-align:center}.yoho-footer .title-line{border-bottom:1px solid #ddd;position:absolute;top:9px;width:100%;left:0}.yoho-footer .text{position:absolute;width:100%;text-align:center;left:0;top:0}.yoho-footer .text span{background:#fff;font-size:18px;line-height:18px;padding:0 10px}.yoho-footer .item-nav{padding-top:20px}.yoho-footer .item-nav span{color:#fff;padding:0 3px;cursor:pointer;font-size:20px}.yoho-footer .item-nav .cur{color:#999}.yoho-footer .vote{line-height:24px}.yoho-footer .vote input{margin:0 5px 0 1px}.yoho-footer .vote .button{height:24px;line-height:24px;width:55px;font-size:12px;margin-top:11px;margin-right:10px;background:#222;color:#fff;display:inline-block;text-align:center;cursor:pointer}.yoho-footer .vote p{height:24px;overflow:hidden}.yoho-footer .vote textarea{width:98%;height:68px;vertical-align:middle;margin:5px 0 0;resize:none}.yoho-footer .vote-item p{float:left;width:50%}.yoho-footer .mobile{margin-right:-10px}.yoho-footer .mobile li{margin-right:10px;float:left}.yoho-footer .mobile img{display:block;width:103px;height:131px}.yoho-footer .index-banner{width:100%;margin-top:20px}.yoho-footer .two-dim{margin-right:-10px;overflow:hidden}.yoho-footer .two-dim li{border:1px solid #ddd;padding:7px;margin-right:10px}.yoho-footer .two-dim li a{display:block}.yoho-footer .two-dim li p{text-align:center;margin-top:13px;margin-bottom:3px;line-height:12px}.yoho-footer .dim-img{display:block;width:87px;height:87px}.yoho-footer .dim-hover{position:absolute}.yoho-footer .dim-hover img{width:38px;height:38px}.yoho-footer .dim-active .dim-img{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.yoho-footer .dim-active .dim-hover{display:none}.yoho-footer .footerbottom{width:100%}.yoho-footer .promise{padding:20px 0 10px;background:#000}.yoho-footer .promise .left{margin-right:60px;line-height:30px;font-size:12px;font-weight:700}.yoho-footer .promise .left .iconfont{display:inline-block;font-weight:400;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:.5;-ms-filter:"progid:DXImageTransform.Microsoft.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;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:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";bottom:20px;cursor:pointer;z-index:4}.yoho-footer .return-top .iconfont{font-size:34px}.yoho-footer .return-top:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.yoho-footer .return-top.min{left:100%;right:20px;margin-left:auto}.min-screen .yoho-footer .index-foot dd{width:316px}.min-screen .yoho-footer .two-dim{margin-top:26px;margin-bottom:10px;overflow:hidden}.min-screen .yoho-footer .dim-img{width:69px;height:69px}.min-screen .yoho-footer .mobile{margin-top:26px;padding-bottom:15px}.min-screen .yoho-footer .mobile img{width:85px;height:108px}.min-screen .yoho-footer .promise .left{margin-right:45px}.min-screen .yoho-footer .subscribe{width:200px}.min-screen .yoho-footer .subscribe input{width:140px}.min-screen .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:.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";border-radius:13px}.slide-pagination-last span{display:block;float:left;position:relative;margin:0 7px;width:12px;height:12px;background:#fff;cursor:pointer;opacity:.6;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";border-radius:6px;z-index:2}.slide-pagination-last span.focus{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.slide-switch{display:none}.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;opacity:.55;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=55)"}.slide-switch a .iconfont{font-size:32px;color:#59585a}.slide-switch a:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.slide-switch .prev{left:0}.slide-switch .next{right:0}.slide-switch.show{display:block}.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{color:#fff;background-color:#222}.pager a:first-child .iconfont{right:auto;left:-5px}.pager .iconfont{position:relative;vertical-align:middle;bottom:1px;right:-5px;font-size:14px}.err-page{width:650px;height:200px;overflow:hidden;margin:100px auto}.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}.err-page:before{content:'';display:block;width:200px;height:200px;background:url(../assets/img/404.png) center center no-repeat;float:left}.product-search-page .goods-container{height:auto;padding:25px 0 0;position:relative;width:1160px}.product-search-page .goods-container .good-info{width:222px}.min-screen .product-search-page .goods-container{height:auto;padding-top:25px;position:relative;width:1000px}.min-screen .product-search-page .goods-container .good-info{width:190px}.min-screen .product-search-page .goods-container .good-info .good-detail-img{height:255px}.min-screen .product-search-page .goods-container .block-next-page{width:190px;height:255px}.min-screen .product-search-page .filter-box .brand .attr-content{max-width:750px}.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:700;position:relative}.product-list-page .list-left .sort-container h2 span{color:#bbb;padding-left:5px}.product-list-page .list-left .sort-container ul.sort-child-list h2 a{color:#000;padding-left:0}.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 .sort-container ul.sort-child-list.new-sale{display:block}.product-list-page .list-left .product-list-nav h3{height:28px;line-height:28px;color:#222;font-weight:700;position:relative;text-indent:10px;cursor:pointer}.product-list-page .list-left .product-list-nav h3 span{color:#bbb;padding-left:5px}.product-list-page .list-left .product-list-nav .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;transition:transform .3s}.product-list-page .list-left .product-list-nav.active .icon-triangle{transform:rotate(90deg)}.product-list-page .list-left .nav-pic-title{height:35px;line-height:35px;color:#000;font-weight:700;border-bottom:1px solid #ebebeb;font-size:12px}.product-list-page .list-left .pic-nav{display:block}.product-list-page .list-left .pic-nav img,.product-list-page .list-left .pic-nav li{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;cursor:pointer}.product-list-page .brand-banner .coled{color:red}.product-list-page .brand-about{font-size:12px;line-height:150%}.product-list-page .sort-intro{margin-bottom:20px}.product-list-page .sort-intro .texts{width:386px;height:298px;padding:0 50px;border:1px solid #eaeceb;text-align:center;overflow:hidden}.product-list-page .sort-intro .name{font-size:30px;font-weight:700;margin-top:60px}.product-list-page .sort-intro .en-name{font-size:14px;font-weight:700}.product-list-page .sort-intro .desc{color:#666;margin-top:15px;font-size:12px;line-height:150%}.product-list-page .sort-intro .img{width:480px;height:300px}.product-list-page .sort-intro .key-entry{width:330px;margin:30px auto 0}.product-list-page .sort-intro .key-entry a{float:left;display:block;width:110px;line-height:20px;font-size:12px;color:#069;text-decoration:underline}.min-screen .product-list-page .sort-intro .texts{width:346px;height:248px;padding:0 30px}.min-screen .product-list-page .sort-intro .name{margin-top:30px}.min-screen .product-list-page .sort-intro .img{width:400px;height:250px}.new-sale-page .sale-list-banner{width:100%;position:relative}.new-sale-page .sale-list-banner ul{overflow:hidden;width:100%;position:relative;z-index:1}.new-sale-page .sale-list-banner ul li{width:100%;height:100%;display:block;float:left;position:absolute;top:0;left:0}.new-sale-page .sale-list-pagation{z-index:2;position:absolute;left:0;bottom:50px;width:100%;height:20px;text-align:center}.new-sale-page .sale-list-pagation div{display:inline-block}.new-sale-page .sale-list-pagation span{display:block;width:20px;height:20px;background:url(../assets/img/product/default-normal.png);float:left;margin:0 10px;cursor:pointer}.new-sale-page .sale-list-pagation span.active{background:url(../assets/img/product/default-active.png)}.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 .next,.new-sale-page .new-brands .pre{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:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"}.new-sale-page .new-brands .next:hover,.new-sale-page .new-brands .pre:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.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)}.new-sale-page .new-floor-title .title{float:right;margin-right:40px}.min-screen .new-sale-page .new-brands .brands-wrap{width:730px}.filter-box{border:1px solid #dfdfdf}.filter-box .section{padding:10px 15px;font-size:12px;border-top:1px solid #dfdfdf}.filter-box .section:first-child{border-top:none;padding:5px 15px}.filter-box .title{float:left;width:75px;line-height:30px}.filter-box .attr-content{margin-left:75px}.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,.filter-box .attr.checked a{color:#e01}.filter-box .attr:hover{text-decoration:underline}.filter-box .color .attr{margin-right:0}.filter-box .checked .color-block{width:16px;height:16px;border:2px solid #222;padding:2px;background-size:100%!important}.filter-box .checked .color-block .sub-color-block{display:block;width:16px;height:16px;background-position:center!important}.filter-box .checked-conditions{line-height:30px;background:#eaeceb}.filter-box .checked-conditions .title{margin-top:5px}.filter-box .checked-conditions .tag{display:block;float:left;padding:0 10px;margin:5px 30px 5px 0;background:#000;color:#fff;cursor:pointer}.filter-box .checked-conditions .color-block{height:14px;width:14px;border:1px solid #fff;margin-bottom:-3px;background-size:100%!important;background-position:center!important}.filter-box .checked-conditions .clear-checked{margin-top:5px;color:#999;float:right}.filter-box .checked-conditions .clear-checked:hover{color:#468fa2}.filter-box .checked-conditions .close{font-size:14px}.filter-box .sort-pre .active .attr{border:1px solid #000}.filter-box .sort-pre .attr{position:relative}.filter-box .active .sort-up-icon{visibility:visible}.filter-box .sort-up-icon{position:absolute;width:15px;height:9px;left:50%;margin-left:-7px;bottom:-17px;bottom:-18px\9;z-index:3;visibility:hidden;background:url(../assets/img/product/senior-up.png) no-repeat;background-position:50% 0}.filter-box .sort-sub-wrap{width:100%}.filter-box .sort-sub-wrap .sort-sub{border-top:1px solid #dfdfdf;margin-top:15px;padding:0 0 15px}.filter-box .sort-sub-wrap .sort-sub .attr{padding-top:15px}.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:10px;cursor:pointer}.filter-box .brand .brands-index{float:left;line-height:30px;margin-right:5px;cursor:pointer}.filter-box .brand .brands-index span{margin:0 3px;-moz-user-select:none}.filter-box .brand .brands-index span:first-child{margin-left:10px}.filter-box .brand .brands-index span.hover{color:red}.filter-box .brand .brand-search{float:left;height:18px;line-height:18px;border:1px solid #b0b0b0;margin-top:5px;margin-left:10px}.filter-box .brand .brand-search input{float:left;border:none;width:100px;height:18px;padding:0}.filter-box .brand .brand-search .btn{position:relative;display:inline-block;top:-1px;width:55px;height:20px;line-height:20px;background:#3a3a3a;color:#fff;text-align:center;cursor:default}.filter-box .brand .panel-body{padding:15px 20px;background:#f4f7f6;margin-top:5px;margin-left:10px}.filter-box .brand .panel-body .ul-scroll{overflow:auto;min-height:30px;max-height:150px}.filter-box .btns{display:none;margin-top:10px;text-align:center}.filter-box .multi .btns{display:block}.filter-box .multi-select-cancel,.filter-box .multi-select-ok{width:55px;height:24px;border:none;background:#000;color:#fff;font-size:14px;margin-right:20px;cursor:pointer;outline:none}.filter-box .multi-select-cancel.dis,.filter-box .multi-select-ok.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;background:#333;color:#fff;margin-left:10px;outline:none;border:none;font-size:12px;cursor:pointer}.filter-box .color-block{display:inline-block;height:22px;width:22px;border:1px solid #ccc;margin-bottom:-6px;margin-right:5px;background-size:100%!important;background-repeat:no-repeat!important;background-position:center!important}.filter-box .senior{padding-bottom:6px}.filter-box .senior-attr-wrap,.filter-box .senior .attr-content{position:relative}.filter-box .senior-attr-wrap>.attr.hover,.filter-box .senior-attr-wrap>.attr:hover{font-weight:700}.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:0 15px 15px 91px;left:-91px;right:-16px;top:39px;background:#fff;border:1px solid #dfdfdf;border-top:0;z-index:2}.filter-box .senior-sub ul{max-width:950px}.filter-box .senior-sub .multi-select{position:absolute;top:20px;right:15px}.filter-box .senior-sub.multi .multi-select{display:none}.filter-box .senior-content{padding-top:15px;border-top:1px solid #eaeceb}.filter-box .senior-up-icon{position:relative;width:100%;height:9px;z-index:3;margin-left:-11px;visibility:hidden;background:url(../assets/img/product/senior-up.png) no-repeat;background-position:50% 0;top:1px\9}.filter-box .checkbox{display:none;float:left}.filter-box .multi .checkbox{display:block;color:#000;font-size:12px;margin-right:3px}.filter-box .multi .checkbox.checked+span{color:#000;font-weight:700}.min-screen .filter-box .brand .attr{width:25%}.sort-pager{height:48px;background:#f5f7f6;line-height:48px;margin:10px 0}.sort-pager .checks,.sort-pager .sort-type{color:#999;font-size:12px;padding:0 10px}.sort-pager .checks .iconfont,.sort-pager .sort-type .iconfont{font-size:12px}.sort-pager .checks.active,.sort-pager .checks.checked,.sort-pager .sort-type.active,.sort-pager .sort-type.checked{color:#000}.sort-pager .sort-type:first-child .iconfont{display:none}.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;background:#fff}.sort-pager .page-count .iconfont{font-size:14px;color:#ccc;float:right}.sort-pager .page-count>ul{position:absolute;display:none;width:48px;border-left:1px solid #ccc;border-right:1px solid #ccc;background:#fff;z-index:1}.sort-pager .page-count li{padding:0 3px;border-bottom:1px solid #ccc}.sort-pager .page-count li:hover{background:#376cf7;color:#fff}.sort-pager .page-count a{display:block;width:100%}.sort-pager .page-orient{float:left;font-size:14px;line-height:15px;margin:0 20px}.sort-pager .page-orient .dis-icon{color:#e6e6e6}.sort-pager .page-orient i{color:red}.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:left;overflow:hidden}.good-info .good-detail-text>a{margin-top:16px;line-height:1.5;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.good-info .good-detail-text>.price{margin-top:5px}.good-info .good-detail-text .brand a{color:#666;line-height:1.5}.good-info .good-detail-text .market-price{text-decoration:line-through;color:#999}.good-info .col-btn{position:absolute;top:15px;right:15px;color:#ccc;font-size:12px;display:none}.good-info .col-btn.coled{color:#f95b4f}.good-info .tag-container{font-size:12px;height:22px;line-height:22px}.good-info .tag-container .good-tag{float:left;box-sizing:border-box;display:block;height:22px;padding:0 7px;margin-right:3px;color:#fff}.good-info .tag-container .good-tag:nth-last-of-type(1){margin-right:0}.good-info .tag-container .new-tag{background:#78dc7d}.good-info .tag-container .renew-tag{background:#78dc7e}.good-info .tag-container .new-festival-tag{background:#000}.good-info .tag-container .sale-tag,.good-info .tag-container .yep-tag,.good-info .tag-container .ymp-tag{background:#ff565b}.good-info .tag-container .limit-tag{color:#4e4e4e;border:1px solid #4e4e4e}@keyframes a{0%{max-width:0}to{max-width:150px}}.good-item-wrapper{border:1px solid #ddd;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 .col-btn{display:block}.good-item-wrapper .col-btn:hover{cursor:pointer}.good-item-wrapper .good-select-color{float:left;margin-top:22px;overflow:hidden;animation:a .6s 1}.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%}.block-next-page,.good-item-wrapper .good-info{margin-right:10px}.block-next-page{width:222px;height:297px;padding-top:22px;margin-bottom:35px;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{min-width:984px;height:241px;margin:30px 0;overflow:hidden}.latest-walk .good{float:left;margin-right:14px;width:150px}.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:700}.min-screen .latest-walk .goods{width:820px;min-width:820px;height:301px}.min-screen .latest-walk .good{margin-right:10px;width:195px}.min-screen .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:700;position:relative}.product-page .sort-container h2 span{color:#bbb;padding-left:5px}.product-page .product-list-nav h3{height:28px;line-height:28px;color:#222;font-weight:700;position:relative;text-indent:10px;cursor:pointer}.product-page .product-list-nav h3 span{color:#bbb;padding-left:5px}.product-page .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;transition:transform .3s}.product-page .product-list-nav.active .icon-triangle{transform:rotate(90deg)}.product-page .product-list-nav.active .sort-child-list{display:block}.product-page .sort-child-list{display:none}.product-page .sort-child-list li{color:#bbb}.product-page .sort-child-list li span{padding-left:5px}.product-page .sort-child-list li.active{background:#333;color:#fff}.product-page .sort-child-list li.active a{color:#fff}.product-page .sort-child-list a{display:block;color:#666;padding-left:10px;height:22px;line-height:22px}.product-page .sort-child-list.new-sale{display:block}.product-page .nav-pic-title{height:35px;line-height:35px;color:#000;font-weight:700;border-bottom:1px solid #ebebeb;font-size:12px}.product-page .pic-nav{display:block}.product-page .pic-nav img,.product-page .pic-nav li{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:#e01}.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;box-sizing:content-box}.product-page .no-result .search-again .search-again-btn{float:left;width:80px;height:68px;line-height:68px;background:#343434;vertical-align:middle;color:#fff;cursor:pointer;outline:none;border:none}.product-page .no-result .search-again .iconfont{font-size:30px}.product-page .no-result .no-tip{font-size:12px;color:#999}.hotrank-page .popular-list{width:1160px}.hotrank-page .popular-list li{position:relative;float:left;width:378px;height:596px;overflow:hidden;list-style:none;margin:0 8px 0 0}.hotrank-page .popular-list li .item-img{width:100%;height:506px;line-height:506px;text-align:center;overflow:hidden}.hotrank-page .popular-list li img{display:block;width:100%;height:100%}.hotrank-page .popular-list .polular-icon{position:absolute;top:0;right:0;width:50px;height:50px;line-height:60px;background:#ffc513 url(../assets/img/product/hotrank/popular-icon.png) no-repeat center center;text-align:center;color:#ffc513;font-weight:700}.hotrank-page .popular-list .item-content{width:100%;padding:14px 0 0;height:77px;overflow:hidden;text-align:center;color:#222;line-height:18px}.hotrank-page .popular-list .item-content h2{max-height:36px;font-size:12px;color:#000;line-height:18px;text-align:center;overflow:hidden}.hotrank-page .popular-list .item-content p{display:inline-block;margin:3px 0 0;font-size:12px;text-align:center;line-height:20px;color:#000}.hotrank-page .popular-list .item-content p span{text-decoration:line-through;margin:0 10px 0 0;color:#999}.hotrank-page .popular-list .popular-item6,.hotrank-page .popular-list .popular-item7,.hotrank-page .popular-list .popular-item8,.hotrank-page .popular-list .popular-item9{width:280px;height:464px;margin:0 10px 0 0;overflow:hidden}.hotrank-page .popular-list .popular-item6 .item-img,.hotrank-page .popular-list .popular-item7 .item-img,.hotrank-page .popular-list .popular-item8 .item-img,.hotrank-page .popular-list .popular-item9 .item-img{height:374px;line-height:374px}.hotrank-page .hot-week{position:relative;padding:0 0 40px}.hotrank-page .hot-cate{height:45px;background:#f5f7f6;overflow:hidden}.hotrank-page .hot-cate li{float:left;height:45px;line-height:45px;display:table-cell}.hotrank-page .hot-cate li a{vertical-align:middle;padding:0 26px;font-size:14px;color:#777;border-left:1px solid #999}.hotrank-page .hot-cate li:first-child a{border:none}.hotrank-page .hot-cate li.current a{font-size:16px;color:#000}.hotrank-page .hot-week-list{width:1160px}.hotrank-page .hot-week-list .good-info{width:280px;height:464px;margin:10px 10px 0 0}.hotrank-page .hot-week-list .good-info .tag-container{display:none}.hotrank-page .hot-week-list .good-info .good-detail-img{height:374px;line-height:374px;text-align:center;font-size:0}.hotrank-page .hot-week-list .good-info .good-detail-img img{vertical-align:middle}.hotrank-page .hot-week-list .good-info .good-detail-text{height:77px;overflow:hidden;text-align:center;color:#222;line-height:18px}.hotrank-page .hot-week-list .good-info .good-detail-text a{max-height:36px;font-size:12px;color:#000;line-height:18px;text-align:center;overflow:hidden}.hotrank-page .hot-week-list .good-info .good-detail-text p{display:inline-block;margin:3px 0 0;font-size:12px;text-align:center;line-height:20px;color:#000}.hotrank-page .hot-week-list .good-info .good-detail-text p .sale-price{margin:0 10px 0 0}.hotrank-page .floatlayer{display:none;position:fixed;top:50%;left:50%;margin:0 0 0 575px;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.hotrank-page .floatlayer li{width:42px;height:42px;border:2px solid #555;border-top:none;border-bottom-width:1px;text-align:center}.hotrank-page .floatlayer li a{position:relative;display:table-cell;width:42px;height:42px;vertical-align:middle;color:#555;font-size:12px}.hotrank-page .floatlayer li a span{display:inline-block;vertical-align:middle;width:28px;word-wrap:break-word}.hotrank-page .floatlayer li:first-child{border-top:1px solid #555}.hotrank-page .floatlayer li.current,.hotrank-page .floatlayer li:hover{background:#555}.hotrank-page .floatlayer li.current a,.hotrank-page .floatlayer li:hover a{color:#fff}.min-screen .hotrank-page{width:990px}.min-screen .hotrank-page .popular-list li{width:324px;height:521px}.min-screen .hotrank-page .popular-list li .item-img{height:434px;line-height:434px}.min-screen .hotrank-page .popular-list .popular-item6,.min-screen .hotrank-page .popular-list .popular-item7,.min-screen .hotrank-page .popular-list .popular-item8,.min-screen .hotrank-page .popular-list .popular-item9{width:240px;height:408px}.min-screen .hotrank-page .popular-list .popular-item6 .item-img,.min-screen .hotrank-page .popular-list .popular-item7 .item-img,.min-screen .hotrank-page .popular-list .popular-item8 .item-img,.min-screen .hotrank-page .popular-list .popular-item9 .item-img{height:320px;line-height:320px}.min-screen .hotrank-page .hot-week-list .good-info{width:240px;height:408px}.min-screen .hotrank-page .hot-week-list .good-info .good-detail-img{height:320px;line-height:320px}.shop-entry{position:relative;background:#f5f7f6;border:1px solid #eaeceb;padding:12px 15px;margin-bottom:10px}.shop-entry .logo{width:80px;height:50px}.shop-entry .name{margin-left:10px}.shop-entry .shop-name{font-size:16px;color:#222;line-height:26px}.shop-entry .sorts{color:#999;font-size:12px;line-height:18px}.shop-entry .sorts a{color:#999}.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}.shop-entry .entry-btn .iconfont{font-size:12px}.goods-container{height:auto;padding:25px 0 0;position:relative;width:980px}.goods-container .good-info{width:235px}.product-detail-page .brand-banner{height:45px;width:100%}.product-detail-page .brand-banner img{display:block;height:45px}.product-detail-page .brand-banner .opt{margin-top:5px}.product-detail-page .brand-banner .brand-fav,.product-detail-page .brand-banner .home{display:inline-block;width:32px;height:32px;line-height:32px;border:1px solid #fff;text-align:center;color:#fff}.product-detail-page .brand-banner .home{margin-right:5px}.product-detail-page .brand-banner .home .iconfont{font-size:14px}.product-detail-page .brand-banner .brand-fav .iconfont{font-size:12px}.product-detail-page .brand-banner .coled{color:#ee0014}.product-detail-page .path-nav{border:none;margin-bottom:0}.product-detail-page .main{width:990px;margin:0 auto}.product-detail-page .main .infos{width:465px}.product-detail-page .main .img{position:relative;width:420px;height:560px}.product-detail-page .main .img-show{display:block;width:100%;height:100%}.product-detail-page .main .tags{position:absolute;top:0;left:0}.product-detail-page .main .good-tag{float:left;box-sizing:border-box;height:22px;line-height:22px;color:#fff;padding:0 7px;margin-right:5px;font-size:12px}.product-detail-page .main .new-tag{background:#78dc7d}.product-detail-page .main .renew-tag{background:#78dc7e}.product-detail-page .main .new-festival-tag{background:#000}.product-detail-page .main .sale-tag,.product-detail-page .main .yep-tag,.product-detail-page .main .ymp-tag{background:#ff565b}.product-detail-page .main .few-tag{background:#ffac5b}.product-detail-page .main .limit-tag{border:1px solid #4e4e4e;color:#4e4e4e}.product-detail-page .main .thumbs{width:75px;height:510px;overflow:hidden}.product-detail-page .main .thumb{display:block;width:75px;margin-bottom:2px}.product-detail-page .main .name{font-size:18px;font-weight:700;line-height:24px}.product-detail-page .main .sale-tip{color:#ee0014;padding-left:3px}.product-detail-page .main .brand-name{color:#666;font-size:12px}.product-detail-page .main .title{color:#999;font-size:12px}.product-detail-page .main .market-price{margin-top:8px}.product-detail-page .main .price{color:#000;font-size:22px;line-height:24px;font-weight:700}.product-detail-page .main .with-sale .price{color:#999;text-decoration:line-through;font-size:12px}.product-detail-page .main .vip-price{line-height:14px;color:#222;margin-top:5px;background:url(../assets/img/product/vip-price-icon.png) no-repeat;padding-left:48px;font-size:12px}.product-detail-page .main .vip-price .cur,.product-detail-page .main .vip-price .login-url{color:#f02200}.product-detail-page .main .vip-price .vip-price-item{margin-left:5px}.product-detail-page .main .vip-price .vip-schedual{color:#999;text-decoration:underline;margin-left:5px}.product-detail-page .main .activity{margin-top:12px}.product-detail-page .main .activity li{line-height:20px}.product-detail-page .main .ac-type{display:inline-block;width:43px;height:16px;line-height:16px;margin-right:5px;text-align:center;background:#999;color:#fff;font-size:12px}.product-detail-page .main .ac-des{font-size:12px}.product-detail-page .main .row{margin-top:10px}.product-detail-page .main .trade-content{padding-top:20px;margin-top:20px;border-top:1px solid #eaeceb}.product-detail-page .main .chose-color{font-size:12px}.product-detail-page .main .chose-color .title{margin-top:14px}.product-detail-page .main .chose-color img{display:block;height:36px;width:36px;border:2px solid #fff}.product-detail-page .main .chose-color .focus img{border-color:#222}.product-detail-page .main .chose-color li{margin-right:5px;margin-bottom:5px;cursor:pointer}.product-detail-page .main .chose-size{font-size:12px}.product-detail-page .main .chose-size .title{margin-top:6px}.product-detail-page .main .chose-size li{float:left;display:block;height:22px;line-height:22px;width:38px;margin-right:5px;margin-bottom:5px;border:1px solid #eaeceb;text-align:center;cursor:pointer}.product-detail-page .main .chose-size li.disable{opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}.product-detail-page .main .chose-size li.focus{color:#fff;background:#222}.product-detail-page .main .size{float:left;color:#666}.product-detail-page .main .size-ruler{float:left;display:block;width:57px;height:24px;background:url(../assets/img/product/size-ruler.jpg);margin-bottom:5px;cursor:pointer}.product-detail-page .main .num-warn,.product-detail-page .main .size-warn{height:24px;line-height:24px}.product-detail-page .main .color-size-tip{color:#999}.product-detail-page .main .chose-count .title{margin-top:6px}.product-detail-page .main .num{display:block;width:38px;height:23px;line-height:23px;text-align:center;border:1px solid #eaeceb;color:#333;font-size:12px;background:#ebebe4}.product-detail-page .main .minus-plus{display:block;width:14px;height:23px;border:1px solid #eaeceb;border-left:none;text-align:center;cursor:pointer}.product-detail-page .main .minus-plus i{display:block;width:13px;height:11px;line-height:8px;font-size:12px}.product-detail-page .main .minus{border-top:1px solid #eaeceb;font-size:13px}.product-detail-page .main .lc-btn{display:inline-block;width:80px;height:25px;line-height:25px;color:#fff;background:#222;margin-left:10px;font-size:12px;text-align:center;cursor:default}.product-detail-page .main .lc-btn.had-lc,.product-detail-page .main .lc-btn.lc-sold-out{background:#ccc}.product-detail-page .main .num-wraper{position:relative}.product-detail-page .main .lc-container{position:absolute;top:-39px;right:-233px}.product-detail-page .main .lc-arrow{position:absolute;top:40px;left:-12px;width:13px;height:20px;background:url(../assets/img/product/arrow.png)}.product-detail-page .main .lc-content{box-sizing:border-box;width:220px;height:285px;text-align:center;background:#f8f8f8;border:1px solid #cecece;padding:40px 25px 0}.product-detail-page .main .lc-content .qr-code{width:137px;height:137px;background:url(../assets/img/product/top-good-qr.png);margin:0 auto}.product-detail-page .main .lc-content .title{font-size:18px;color:#000;margin:12px 0;line-height:24px}.product-detail-page .main .lc-content .sub-title{font-size:14px;color:#939290}.product-detail-page .main .buy-btn{display:inline-block;margin-right:10px;height:48px;line-height:48px;width:197px;text-align:center;color:#fff;background:#e92601;font-size:14px;cursor:pointer}.product-detail-page .main .buy-btn.dis{background:#ccc}.product-detail-page .main .collect-product,.product-detail-page .main .keep-shopping{display:inline-block;width:127px;height:48px;text-align:center;line-height:48px;background:#fff;color:#222;border:1px solid #ccc;font-weight:700;font-size:12px;cursor:pointer}.product-detail-page .main .collect-product .iconfont,.product-detail-page .main .keep-shopping .iconfont{color:#ccc;font-size:12px}.product-detail-page .main .collect-product.coled .iconfont,.product-detail-page .main .keep-shopping.coled .iconfont{color:#fa5252}.product-detail-page .main .share-row{margin-top:20px}.product-detail-page .main .share-row .title{margin-top:2px}.product-detail-page .main .share-row i{display:block;float:left;width:16px;height:16px;margin-left:5px}.product-detail-page .main .share-row .weibo{background-image:url(../assets/img/sprite.guang.png);background-position:0 0}.product-detail-page .main .share-row .qweibo{background-image:url(../assets/img/sprite.guang.png);background-position:-18px 0}.product-detail-page .main .share-row .renren{background-image:url(../assets/img/sprite.guang.png);background-position:0 -18px}.product-detail-page .main .share-row .qzone{background-image:url(../assets/img/sprite.guang.png);background-position:-18px -18px}.product-detail-page .main .share-row .qq{background-image:url(../assets/img/sprite.guang.png);background-position:-36px 0}.product-detail-page .main .share-row .douban{background-image:url(../assets/img/sprite.guang.png);background-position:-36px -18px}.product-detail-page .main .share-row .weixin{background-image:url(../assets/img/sprite.guang.png);background-position:0 -36px}.product-detail-page .main .balance{display:none}.product-detail-page .main .balance .success-tip{color:#222;font-size:18px;margin-bottom:10px}.product-detail-page .main .balance .cart-total{color:#999;font-size:12px}.product-detail-page .main .balance .balance-btns{margin-top:20px}.product-detail-page .other-infos{padding-bottom:30px}.product-detail-page .info-block{margin-top:30px;color:#999;border-top:2px solid #eaeceb;font-size:12px}.product-detail-page .info-block .basic{width:640px;margin:0 auto}.product-detail-page .info-block .basic li{float:left;width:25%;line-height:20px}.product-detail-page .info-block .comfort{width:470px;border:1px solid #eaeceb;margin:17px auto 0;padding-bottom:15px}.product-detail-page .info-block .comfort li{margin:12px 20px 0}.product-detail-page .info-block .comfort-block{display:inline-block;width:14px;height:10px;border:1px solid #eaeceb;margin-right:2px}.product-detail-page .info-block .comfort-block.cur{background:#999;border:1px solid #999}.product-detail-page .block-title{margin-bottom:25px;text-align:center}.product-detail-page .block-title .title{display:inline-block;padding-top:15px;font-weight:700;cursor:pointer}.product-detail-page .block-title .title.cur{color:#222;border-top:2px solid #222;margin-top:-2px}.product-detail-page .block-title .sep{display:inline-block;margin:0 30px;color:#eaeceb;font-size:14px;cursor:default;font-weight:700}.product-detail-page .material-content{display:none}.product-detail-page .material-detail{width:860px;margin:0 auto;padding-bottom:20px;margin-bottom:20px;border-bottom:1px dotted #eaeceb}.product-detail-page .material-detail img{float:left;width:125px;height:50px}.product-detail-page .material-detail .name{float:left;width:100px;line-height:25px;border-right:1px dotted #eaeceb;color:#666;font-weight:700;text-align:center;font-size:14px}.product-detail-page .material-detail .text{float:left;width:614px;padding-left:20px;line-height:18px}.product-detail-page .wash{text-align:center}.product-detail-page .wash li{display:inline-block;padding:0 20px;color:#666;border-right:1px solid #eaeceb}.product-detail-page .size-info{text-align:center}.product-detail-page .reference-table,.product-detail-page .size-table{text-align:center;margin:0 auto}.product-detail-page .reference-table th,.product-detail-page .size-table th{width:110px;text-align:center}.product-detail-page .reference-table tr,.product-detail-page .size-table tr{height:30px}.product-detail-page .reference-table td,.product-detail-page .reference-table tr,.product-detail-page .size-table td,.product-detail-page .size-table tr{text-align:center}.product-detail-page .reference-table thead,.product-detail-page .size-table thead{background:#f5f7f6;color:#999}.product-detail-page .reference-table tbody,.product-detail-page .size-table tbody{color:#222}.product-detail-page .reference-table .avatar,.product-detail-page .size-table .avatar{width:26px;height:26px;border-radius:50px}.product-detail-page .reference-table .avatar-col,.product-detail-page .size-table .avatar-col{width:26px;padding-left:20px;padding-right:20px}.product-detail-page .reference-table .model-col,.product-detail-page .size-table .model-col{width:90px}.product-detail-page .reference-table .remark-col,.product-detail-page .size-table .remark-col{width:200px}.product-detail-page .ref-model{margin-top:30px;border-top:2px solid #eaeceb;color:#999;padding-top:10px}.product-detail-page .ref-model .model{width:444px;height:35px;padding-top:47px;padding-left:316px;color:#666;overflow:hidden;margin:10px auto 0}.product-detail-page .ref-model .model em{margin-left:5px}.product-detail-page .size-tip{color:#999;margin-top:15px;text-align:center}.product-detail-page .details{text-align:center;font-size:12px;color:#999;line-height:18px}.product-detail-page .details-html{width:640px;margin:0 auto}.product-detail-page .details-html b{font-weight:700}.product-detail-page .details-html i{font-style:italic}.product-detail-page .consults{display:none}.product-detail-page .consult-comment .title,.product-detail-page .consult-comment .title.cur{color:#666}.product-detail-page .cc-content{background:#f5f7f6;padding:20px 20px 0;font-size:12px}.product-detail-page .cc-content h2{font-weight:700;font-size:14px;margin-bottom:10px;color:#000}.product-detail-page .cc-content li{border-top:1px solid #eaeceb;padding:20px 0}.product-detail-page .cc-content .user-info{color:#999;line-height:16px}.product-detail-page .cc-content .user-info>*{float:left}.product-detail-page .cc-content .user-info .name{color:#666}.product-detail-page .cc-content .user-info .date{color:#bbb}.product-detail-page .cc-content .user-info .question{color:#222}.product-detail-page .cc-content .user-avatar{width:30px;height:30px;margin-right:5px}.product-detail-page .cc-content .more-wrap{text-align:center;border-top:1px solid #eaeceb;padding:20px 0;font-size:14px;font-weight:700;color:#666}.product-detail-page .cc-content .btn-wrap{padding:20px 0;border-top:1px solid #eaeceb}.product-detail-page .cc-content .load-more{cursor:pointer}.product-detail-page .cc-content .btn{display:block;width:140px;height:32px;line-height:32px;color:#fff;background:#222;text-align:center;font-size:12px;margin:0 auto;cursor:pointer}.product-detail-page .cc-content .btn .iconfont{font-size:14px}.product-detail-page .cc-content .comment,.product-detail-page .cc-content .consult{margin-top:10px}.product-detail-page .cc-content .consults{display:none}.product-detail-page .new-consult{padding:20px 0;border-top:1px solid #eaeceb}.product-detail-page .new-consult textarea{width:590px;height:80px;margin-top:8px;padding:5px;outline:none}.product-detail-page .new-consult .captcha-row{margin:10px 0}.product-detail-page .new-consult .captcha{width:70px;height:20px;line-height:20px;border:1px solid #ccc;margin-right:5px;padding:5px;outline:none}.product-detail-page .new-consult .captcha-img{border:0;height:32px;width:96px;vertical-align:middle}.product-detail-page .new-consult .submit-consult{display:block;width:140px;height:32px;line-height:32px;margin:0}.product-detail-page .new-consult .error{border-color:#e01}.product-detail-page .consult-success{border-top:1px solid #eaeceb;margin-top:30px;text-align:center;padding:20px 0}.product-detail-page .consult-success p{width:295px;height:55px;line-height:55px;margin:0 auto;border:2px solid #222;display:block;color:#222;font-weight:700}.product-detail-page .after-service{text-align:center;margin-top:30px}.product-detail-page .after-service .after-service-content{display:none}.product-detail-page .after-service .after-service-switch{height:44px;line-height:44px;background:#eaeceb;text-align:center;font-size:12px;cursor:pointer}.product-detail-page .after-service .after-service-switch .iconfont{font-size:12px}.product-detail-page .after-service .text{padding:20px 15px;background:#f5f7f6;text-align:left;color:#666;line-height:18px}.product-detail-page .after-service .orange{color:#f9761a}.product-detail-page .after-service h4{font-weight:700;font-size:14px;line-height:24px;color:#222;margin-top:10px}.product-detail-page .after-service h4:first-child{margin-top:0}.product-detail-page .after-service .img-1{width:715px;height:259px;margin:0 auto;background:url(../assets/img/product/after-service-1.png)}.product-detail-page .after-service .img-2{width:715px;height:230px;margin:0 auto;background:url(../assets/img/product/after-service-2.png)}.product-detail-page .after-service a{color:#666}.product-detail-page .service{width:323px;height:30px;margin:45px auto 0;background:url(../assets/img/product/service.png)}.product-detail-page .latest-walk{overflow:inherit}.product-detail-page .latest-walk .goods{width:1010px;margin:0 auto;height:auto}.product-detail-page .latest-walk .goods>div{float:left;width:180px;margin-right:22px}.product-detail-page .latest-walk img{height:240px;width:180px;display:block}.product-detail-page .latest-walk .name{display:block;margin-top:5px;color:#222;line-height:16px}.product-detail-page .latest-walk .price{color:#222;font-weight:700;margin-top:5px}.product-detail-page .latest-walk .market-price{margin-right:5px}.product-detail-page .latest-walk .has-sale{text-decoration:line-through;color:#999}.product-detail-page .warn-tip{display:inline-block;color:#e01;margin-left:7px;font-size:12px}.product-detail-page .warn-tip i{font-size:14px}.product-detail-page .hot-point-wrap{position:relative}.product-detail-page .hot-point-wrap .hot-point{position:absolute}.product-detail-page .hot-point-wrap .hot-point.hover .pointer{background-position:0 -25px}.product-detail-page .hot-point-wrap .hot-point.hover .hp-good{display:block}.product-detail-page .hot-point-wrap .pointer{position:absolute;display:block;background:url(../assets/img/product/hp-num.png) no-repeat 0 0;color:#fff;cursor:pointer;width:25px;height:25px;line-height:25px;text-align:center;left:0;top:0;font-size:18px}.product-detail-page .hot-point-wrap .hp-good{display:none;position:absolute;left:30px;top:0;width:210px;background:#000;height:60px;padding:10px}.product-detail-page .hot-point-wrap .hp-good .pic{display:block;float:left;width:60px;height:60px;margin-right:10px}.product-detail-page .hot-point-wrap .hp-good .info{position:relative;float:left;color:#fff;font-size:12px;width:140px;height:60px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.product-detail-page .hot-point-wrap .hp-good .check-btn{display:block;position:absolute;height:18px;width:40px;text-decoration:none;right:0;bottom:0;text-align:center;background:#e8e8e8;border-radius:2px}.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}.new-sale-page .goods-container,.product-list-page .goods-container{height:auto;padding-top:25px;position:relative;width:980px}.new-sale-page .goods-container .good-info,.product-list-page .goods-container .good-info{width:235px}.new-sale-page .goods-container .good-info .good-detail-img,.product-list-page .goods-container .good-info .good-detail-img{height:315px}.new-sale-page .goods-container .block-next-page,.product-list-page .goods-container .block-next-page{width:235px;height:315px}.new-sale-page .filter-box .brand .attr-content,.product-list-page .filter-box .brand .attr-content{max-width:730px}.min-screen .new-sale-page .list-right,.min-screen .product-list-page .list-right{width:810px}.min-screen .new-sale-page .goods-container,.min-screen .product-list-page .goods-container{height:auto;padding-top:25px;position:relative;width:820px}.min-screen .new-sale-page .goods-container .good-info,.min-screen .product-list-page .goods-container .good-info{width:195px}.min-screen .new-sale-page .goods-container .good-info .good-detail-img,.min-screen .product-list-page .goods-container .good-info .good-detail-img{height:261px}.min-screen .new-sale-page .goods-container .block-next-page,.min-screen .product-list-page .goods-container .block-next-page{width:195px;height:261px}.min-screen .new-sale-page .filter-box .brand .attr-content,.min-screen .product-list-page .filter-box .brand .attr-content{max-width:570px}.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,.5)}.passport-page .error{border-color:red!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 .pwd-intensity{height:15px;font-size:12px;background-color:#e8e8e8;padding:0 10px;text-align:center;color:#b9b9b9}.passport-page .pwd-intensity-container.red .pwd-intensity{color:#e01}.passport-page .pwd-intensity-container.red .color{background:#e01;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-tips{position:absolute;top:-10px;left:285px;width:160px!important;height:72px;padding-top:7px;font-size:12px;background-image:url(../assets/img/sprite.passport.png);background-position:0 0}.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-image:url(../assets/img/sprite.passport.png);background-position:-32px -113px}.passport-page .pwd-tips>div.no{color:red}.passport-page .pwd-tips>div.no i{background-image:url(../assets/img/sprite.passport.png);background-position:-64px -113px}.passport-page .pwd-tips>div.yes i{background-image:url(../assets/img/sprite.passport.png);background-position:-48px -113px}.passport-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;font-size:16px}.passport-page .email-autocomplete li{height:24px;line-height:24px}.passport-page .err-tip{position:absolute;font-size:14px;white-space:nowrap;top:8px;left:285px;padding:6px 0;color:red}.passport-page .err-tip i{display:block;float:left;height:14px;width:14px;background-image:url(../assets/img/sprite.passport.png);background-position:-64px -113px;margin-right:5px}.passport-page .err-tip a{text-decoration:underline;color:red}.passport-page .page-tip{display:block;width:100%;height:30px;line-height:30px;text-align:center;font-size:20px;font-weight:700;color:#ccc;clear:both;margin-bottom:15px}.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}.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;border-radius:5px}.login-page .country-list li{height:20px;line-height:20px;color:#000}.login-page .captcha-wrap{position:relative}.login-page .captcha-wrap .err-tip{left:335px}.login-page .captcha{width:160px;float:left}.login-page .captcha-img{height:37px;width:90px;border:0;vertical-align:middle;outline:none;margin-left:10px;margin-top:4px;float:left}.login-page .change-captcha{position:absolute;top:0;right:-50px;cursor:pointer;float:left;height:43px;font-size:14px;line-height:43px;color:#ff1901}.login-page .remember-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:45px;background-size:100% 100%}.login-page .third-party-login .icon{display:block;width:30px;height:30px;margin:0 auto}.login-page .third-party-login .weixin{background-image:url(../assets/img/sprite.passport.png);background-position:-96px -81px}.login-page .third-party-login .qq{background-image:url(../assets/img/sprite.passport.png);background-position:0 -81px}.login-page .third-party-login .weibo{background-image:url(../assets/img/sprite.passport.png);background-position:0 -113px}.login-page .third-party-login .alipay{background-image:url(../assets/img/sprite.passport.png);background-position:-128px -81px}.login-page .third-party-login .douban{background-image:url(../assets/img/sprite.passport.png);background-position:-64px -81px}.login-page .third-party-login .renren{background-image:url(../assets/img/sprite.passport.png);background-position:-32px -81px}.login-page .caps-lock{position:absolute;color:#666;border:#ffe57d;background:#fff6d2;white-space:nowrap;top:8px;left:278px;padding:0 20px;height:27px;line-height:30px}.register-page{font-size:14px;color:#b9b9b9}.register-page li{margin-bottom:25px;width:270px;position:relative}.register-page li input,.register-page li select{outline:none}.register-page li .input{height:43px;line-height:43px;font-size:16px;width:268px;border:1px solid #dbdbdb;text-indent:10px;color:#9a9a9a;padding:0}.register-page li .input.error{border:1px solid red}.register-page li .input.phone-num{width:209px;display:block;float:left;position:absolute;top:0;right:0}.register-page li .input.captcha,.register-page li .input.msg-captcha{width:160px;float:left}.register-page li .input.agree-terms{vertical-align:middle}.register-page li .send-captcha{top:0;background:#ff1901;position:absolute;width:100px;right:0;font-size:12px;text-indent:0;letter-spacing:0}.register-page li .send-captcha.disable{background:#555}.register-page li .link{text-decoration:underline;color:#ff1901}.register-page li .btn{height:45px;line-height:45px;color:#fff;border:none;padding:0;font-family:黑体,Regular;text-align:center}.register-page li .region{height:30px;padding:4px 0;width:132px;border-color:#c1c1c1;color:#9a9a9a;font-size:16px;font-family:黑体,Regular}.register-page 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}.register-page li .captcha-img{height:37px;width:90px;border:0;vertical-align:middle;outline:none;margin-left:10px;margin-top:4px;float:left}.register-page li .change-captcha{margin-left:10px;cursor:pointer;float:left;height:43px;line-height:43px}.register-page li .pwd-intensity-container{width:270px;text-align:right;margin-top:5px;height:auto;overflow:hidden}.register-page li .pwd-intensity-container .pwd-intensity{height:15px;font-size:12px;background-color:#e8e8e8;padding:1px 10px;text-align:center}.register-page li .pwd-intensity-container.red{color:red}.register-page li .pwd-intensity-container.red .color{background:red;color:#fff}.register-page li .pwd-intensity-container.yellow .color{background:#ff0;color:#fff}.register-page li .pwd-intensity-container.green .color{background:#3ee392;color:#fff}.register-page li .register-btn{width:270px;font-size:20px;font-weight:700;background:#ff1901}.register-page li .register-btn.disable{background:#555}.register-page li.w330{width:330px}.register-page li.items-container,.register-page li.quick-login-container{font-size:13px;text-align:right;white-space:nowrap}.register-page li.quick-login-container{width:270px}.register-page li.skip-user-info{font-size:18px;text-align:center}.register-page li.skip-user-info a{color:#ff1901;text-decoration:underline}.register-page .err-tip{z-index:10;position:absolute;height:30px;line-height:30px;color:red;background-color:#ffebeb;border:1px solid #ffbdbe;padding:0 10px}.register-page .err-tip b{display:block;position:absolute;top:30px;left:20px;background-image:url(../assets/img/sprite.passport.png);background-position:-80px -113px;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:0}.back-page .title,.back-page .title2{font-size:22px;line-height:40px;color:#000;font-weight:400}.back-page .title2{margin:0 0 5px}.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:8;top:30px;right:0;border-radius:5px}.back-page .country-code-list li{height:20px;line-height:20px}.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;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;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}.welcome-page{text-align:center;color:#7f7f7f}.welcome-page .content{padding-top:82px}.welcome-page .wel-title{font-size:30px;margin-bottom:30px}.welcome-page .wel-title em{font-style:normal;color:#ff1901}.welcome-page .wel-sub-title{font-size:16px;margin-bottom:60px}.welcome-page .link{display:block}.welcome-page .link span{color:#7f7f7f}.welcome-page .link-img{height:91px;width:91px;background-size:100% 100%;margin-bottom:10px}.welcome-page .go-shopping{float:left;padding-left:100px}.welcome-page .go-shopping div{background-image:url(../assets/img/passport/go-shopping.png)}.welcome-page .complete-info{float:right;padding-right:100px}.welcome-page .complete-info div{background-image:url(../assets/img/passport/edit-info.png)}.yohobindbtn{display:block;width:210px;height:45px;line-height:45px;background-color:#f02200;color:#fff;font-size:16px;text-align:center}.hide{display:none}.novisiable{visibility:hidden}.actlevel{background-color:#f02200!important;color:#fff!important}.mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:14;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.bindwrapper{margin:0 auto;width:980px;min-height:450px;padding-top:122px}.welcomeword{width:100%;text-align:center;font-size:22px;line-height:22px;color:#545454;margin-bottom:15px}.welcomeword .yoho{color:#e12000}.safeword{width:100%;text-align:center;font-size:16px;line-height:16px;color:#545454;margin-bottom:63px}.yohobindrow{width:485px;margin:0 auto 22px;height:40px}.yohobindrow .name{float:left;text-align:right;margin-right:14px;width:96px}.yohobindrow .areatag{height:30px;line-height:30px}.yohobindrow .phonetag,.yohobindrow .setpwdtag{height:47px;line-height:47px}.yohobindrow .content{float:left;text-align:left;margin-top:0;padding-left:0}.yohobindrow .errinfo{color:#f02200;line-height:49px;margin-left:5px}.yohobindrow:after{display:block;content:'';clear:both}.sendnotify{width:260px;text-align:left;margin:0 auto 18px}.validaterow{margin:0 auto 22px;padding-left:248px}.validaterow .name{float:left;text-align:right;margin-right:14px;width:96px}.validaterow .areatag{height:30px;line-height:30px}.validaterow .phonetag{height:47px;line-height:47px}.validaterow .content{float:left;text-align:left}.validaterow .content .err-tip{left:430px}.validaterow .validatewrapper{float:left;height:45px;width:133px;text-align:center;line-height:45px;background-color:#d8d8d8;color:#000;font-size:13px;margin-left:18px}.validaterow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.validaterow:after{display:block;content:'';clear:both}.validatepicrow{overflow:hidden;margin:0 auto 22px;padding-left:250px}.validatepicrow .name{float:left;text-align:right;margin-right:14px;width:96px}.validatepicrow .areatag{height:30px;line-height:30px}.validatepicrow .phonetag{height:47px;line-height:47px}.validatepicrow .content{float:left;text-align:left}.validatepicrow .validatewrapper{float:left;height:45px;text-align:center;line-height:45px;color:#000;font-size:13px;margin-left:18px}.validatepicrow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.validatepicrow .change-captcha{cursor:pointer;color:#f02200;text-decoration:underline}.validatepicrow:after{display:block;content:'';clear:both}.setpwdwrapper{margin-bottom:10px;height:45px}.safelevel{width:291px;margin:0 auto;text-align:right}.safelevel,.safelevel span{height:15px;font-size:10px;color:#000}.safelevel span{width:28px;line-height:15px;background-color:#e5e5e5;margin-right:4px;padding:1px 8px}.green .color{background-color:#0f0;color:#fff}.yellow .color{background-color:#ff0;color:#fff}.red .color{background-color:red;color:#fff}.yohoselectarea{position:relative;box-sizing:border-box;width:131px;height:33px}.yohoselectarea .optionshow{width:100%;height:100%;padding-left:16px;border:1px solid #d9d9d9}.yohoselectarea .optionshow .areaname{display:block;float:left;width:110px;height:100%;line-height:33px;font-size:13px;color:#000}.yohoselectarea .optionshow .righttag{display:block;float:left;width:21px;height:100%;line-height:33px;background-color:#d8d8d8;background-image:url(../assets/img/passport/arrowbottom.png);background-repeat:no-repeat;background-position:center center}.yohoselectarea .optionslist{background-color:#fff;position:absolute;top:35px;left:0;width:149px;z-index:2}.yohoselectarea .optionslist .optionitem{height:33px;line-height:33px;padding-left:16px;font-size:13px}.yohoselectarea .optionslist .optionitem:hover{background-color:#dfdfdf}.yohophonewrapper{width:271px;height:47px;border:1px solid #d9d9d9;position:relative}.yohophonewrapper .areanum{float:left;height:100%;width:63px;line-height:47px;text-align:center;color:#000;background-color:#d8d8d8}.yohophonewrapper .phonenum{outline:none;box-sizing:border-box;float:left;height:45px;width:205px;line-height:38px;padding-left:8px;border:none;color:#000}.protoctolwrapper{width:350px;margin:38px auto 0;padding-left:85px;overflow:hidden}.protoctolwrapper .choosewrapper{float:left;width:13px;height:13px;background-color:#4c4c4c;background-image:url(../assets/img/passport/choosed.png);background-position:center center;background-repeat:no-repeat;margin-right:14px}.protoctolwrapper .choosetag{width:110%;height:110%;display:block;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";margin:0}.protoctolwrapper span{float:left;color:#666;font-size:15px}.protoctolwrapper .protoctol{color:#f02200;text-decoration:underline}.protoctolwrapper:after{display:block;content:'';clear:both}.confirmwrapper{overflow:hidden;margin-top:47px!important}.btnwrapper{width:350px;margin:20px auto 0;padding-left:85px}.thirdloginwrapper{margin:0 auto;width:1150px;min-height:450px;padding-top:160px}.thirdloginwrapper .safeword{margin-bottom:30px}.thirdloginwrapper .left{box-sizing:border-box;float:left;width:450px;height:318px;border-right:1px solid #e5e5e5}.thirdloginwrapper .right{box-sizing:border-box;float:right;width:696px;padding-top:64px;height:318px}.thirdloginwrapper .completeprofile,.thirdloginwrapper .gobuy{float:left;display:inline-block;width:94px;height:94px;line-height:94px;text-align:center;border-radius:50%;background-color:#f02200;color:#fff}.thirdloginwrapper .gobuy{margin-left:228px;margin-right:80px}.bindsuccesswrapper{margin:0 auto;width:1150px;min-height:450px;padding-top:160px}.bindsuccesswrapper .successwrapper{width:320px;height:29px;margin:0 auto 16px}.bindsuccesswrapper .successwrapper .successtag{display:inline-block;margin-right:28px;float:left;width:29px;height:29px;background-image:url(../assets/img/passport/bindsuccess.png);background-repeat:no-repeat}.bindsuccesswrapper .successwrapper .congratulation{display:inline-block;height:29px;line-height:29px;font-size:22px}.bindsuccesswrapper .info{text-align:center;font-size:16px;margin-bottom:48px}.bindsuccesswrapper .gobuynow{margin:0 auto}.bindconfrimwrapper{width:900px;height:439px;margin:-217px auto;background-color:#fff;box-sizing:border-box;padding-top:37px}.bindconfrimwrapper .topwrapper{width:281px;height:90px;margin:0 auto 32px}.bindconfrimwrapper .topwrapper .userphoto{width:90px;height:90px;vertical-align:middle;border-radius:50%;margin-right:22px}.bindconfrimwrapper .topwrapper .username{vertical-align:middle;display:inline-block;width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;color:#545454}.bindconfrimwrapper .usertaginfo{text-align:center;font-size:16px;font-weight:700;color:#545454;margin-bottom:15px}.bindconfrimwrapper .usertagremind{text-align:center;font-size:16px;color:#888;margin-bottom:47px}.bindconfrimwrapper .otherphone{margin:0 auto 64px}.bindconfrimwrapper .logindirectly{display:block;text-align:center;text-decoration:underline;color:#f02200}.yohobindbtn[disabled]{background-color:#e5e5e5;cursor:not-allowed}.gobindwrapper{width:100%;height:45px;margin-bottom:70px}.gobindwrapper .myphone{float:left;margin-left:20px;width:193px}.gobindwrapper .logindirectly{display:inline-block}.gobindwrapper .validaterow{overflow:hidden;margin:0 auto 22px;padding-left:222px;float:left}.gobindwrapper .validaterow .name{float:left;text-align:right;margin-right:14px;width:96px}.gobindwrapper .validaterow .areatag{height:30px;line-height:30px}.gobindwrapper .validaterow .phonetag{height:47px;line-height:47px}.gobindwrapper .validaterow .content{float:left;text-align:left}.gobindwrapper .validaterow .content .validatacode{outline:none;box-sizing:border-box;float:left;height:45px;width:113px;line-height:38px;padding-left:8px;border:1px solid #d9d9d9;color:#000}.gobindwrapper .validaterow .validatewrapper{float:left;height:45px;width:133px;text-align:center;line-height:45px;background-color:#d8d8d8;color:#000;font-size:13px;margin-left:18px}.gobindwrapper .validaterow .validatewrapper .yohobindbtn{width:133px;font-size:13px}.gobindwrapper:after{display:block;content:'';clear:both}.gobindbottomwrapper{width:100%;padding-left:341px}.gobindbottomwrapper .logindirectly{display:inline-block;float:left;margin-right:36px;text-decoration:underline;color:#f02200}.pwd-tips{position:absolute;z-index:10;top:-10px;left:285px;width:160px!important;height:72px;padding-top:7px;font-size:12px;background-image:url(../assets/img/sprite.passport.png);background-position:0 0;background-color:#fff}.pwd-tips>div{position:relative;height:22px;line-height:22px;margin-left:15px;padding-left:15px;font-size:12px;color:#b9b9b9}.pwd-tips>div i{position:absolute;width:14px;height:14px;left:-2px;top:50%;margin:-7px 0 0;background-image:url(../assets/img/sprite.passport.png);background-position:-32px -113px}.pwd-tips>div.no{color:red}.pwd-tips>div.no i{background-position:-64px -113px}.pwd-tips>div.no i,.pwd-tips>div.yes i{background-image:url(../assets/img/sprite.passport.png)}.pwd-tips>div.yes i{background-position:-48px -113px}.tip-panel{position:absolute;display:none;width:248px;padding:0 10px;z-index:8;background-color:#161616;border:1px solid hsla(0,0%,100%,.7);margin-top:5px;cursor:pointer;border-radius:5px}.tip-panel li{height:20px;line-height:20px;color:#b9b9b9}.err-tip{position:absolute;font-size:14px;white-space:nowrap;top:8px;left:285px;padding:6px 0;color:red}.err-tip i{display:block;float:left;height:14px;width:14px;background-image:url(../assets/img/sprite.passport.png);background-position:-64px -113px;margin-right:5px}.err-tip a{text-decoration:underline;color:red}.backdrop{position:fixed;background:#000;width:100%;height:100%;left:0;top:0;bottom:0;right:0;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}.err-info{display:none;z-index:10;position:absolute;top:-41px;left:0;height:30px;line-height:30px;color:red;background-color:#ffebeb;border:1px solid #ffbdbe;padding:0 10px}.err-info b{background:url(../assets/img/passport/angle.png);position:absolute;height:9px;width:17px;top:30px;left:10px}.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 .bg-img.blink,.guang-page img.blink{opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.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:700}.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%;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:#c30}.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:700;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:#fff;font-weight:700}.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:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";z-index:7}.guang-page .msg-content .reco{position:absolute;top:0;left:66px;height:32px;width:32px;background:url(../assets/img/guang/msg-reco.png);background-size:100% 100%;z-index:8}.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:#c30}.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:#c30}.guang-page .msg-content .page-view,.guang-page .msg-content .publish-time{color:#999}.guang-page .msg-content .like-comment,.guang-page .msg-content .tags{position:absolute;bottom:24px;font-size:12px}.guang-page .msg-content .like-comment .like,.guang-page .msg-content .tags .like{margin-right:10px}.guang-page .msg-content .like-comment .like:hover *,.guang-page .msg-content .tags .like:hover *{color:#000}.guang-page .msg-content .like-comment .like-icon,.guang-page .msg-content .tags .like-icon{cursor:pointer}.guang-page .msg-content .like-comment.tags,.guang-page .msg-content .tags.tags{left:386px;max-width:350px;height:20px;overflow:hidden}.guang-page .msg-content .like-comment.like-comment,.guang-page .msg-content .tags.like-comment{right:0;color:#999}.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:700}.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:#c30}.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:#c30;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;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;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;font-style:normal;font-size:14px}.guang-detail-page .user-handle ul li a i{margin:0 5px 0 0;font-size:18px;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}.guang-detail-page .user-handle ul li a .cancel-collect{display:none}.guang-detail-page .user-handle ul .like-status.hover i,.guang-detail-page .user-handle ul .like-status.liked i{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.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{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.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{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.guang-detail-page .user-handle ul .sort-collect.hover span{color:#000}.guang-detail-page .article-bottom-info{margin:44px 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:700;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}.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}.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:#c30!important}.guang-detail-page .detail-related-posts li:first-child{margin-left:0}.guang-detail-page .comment-area{margin:58px 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;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:red}.guang-detail-page .publish-btn{margin:10px 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/comment-icon.png) 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;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;margin-right:20px;margin-bottom:20px}.guang-detail-page .good-info .good-detail-img{height:auto}.guang-detail-page .good-info .good-detail-img .good-thumb,.guang-detail-page .good-info .good-detail-img img.lazy{height:257px}.guang-detail-page .good-info .good-detail-text>a{margin-top:0;line-height:36px}.guang-detail-page .good-info .good-detail-text>.price{margin-top:0}.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-image:url(../assets/img/sprite.guang.png);background-position:0 0}.guang-detail-page .share-to .share-weixin{background-image:url(../assets/img/sprite.guang.png);background-position:0 -36px}.guang-detail-page .share-to .share-tencent{background-image:url(../assets/img/sprite.guang.png);background-position:-18px 0}.guang-detail-page .share-to .share-renren{background-image:url(../assets/img/sprite.guang.png);background-position:0 -18px}.guang-detail-page .share-to .share-qzone{background-image:url(../assets/img/sprite.guang.png);background-position:-18px -18px}.guang-detail-page .share-to .share-qq{background-image:url(../assets/img/sprite.guang.png);background-position:-36px 0}.guang-detail-page .share-to .share-douban{background-image:url(../assets/img/sprite.guang.png);background-position:-36px -18px}.guang-detail-page .weixin-share-box{display:none;position:absolute;width:282px;height:302px;padding-top:9px;text-align:center;font-family:Microsoft Yahei,Arial,Verdana;top:22px;right:-3px;z-index:2}.guang-detail-page .weixin-share-box em,.guang-detail-page .weixin-share-box em i{position:absolute;width:0;height:0;font-size:0;border-width:0 10px 9px;border-style:dashed dashed solid}.guang-detail-page .weixin-share-box em{border-color:transparent transparent #d6d6d6;top:0;left:50%;margin-left:-10px}.guang-detail-page .weixin-share-box em i{border-color:transparent transparent #e8e8e8;overflow:hidden;top:1px;left:-10px}.guang-detail-page .weixin-share-box .con{position:relative;width:280px;height:300px;overflow:hidden;background-color:#fff;border:1px solid #d6d6d6;box-shadow:0 2px 4px #d1d1d1}.guang-detail-page .weixin-share-box h2{display:block;height:46px;line-height:46px;background-color:#e8e8e8;color:#000;font-size:18px}.guang-detail-page .weixin-share-box .pic,.guang-detail-page .weixin-share-box .pic img{width:168px;height:168px}.guang-detail-page .weixin-share-box .pic{overflow:hidden;margin:16px auto}.guang-detail-page .weixin-share-box .w{font-size:13px;color:#9f9f9f;line-height:20px}.guang-detail-page .weixin-share-box .close{position:absolute;width:45px;height:45px;line-height:45px;overflow:hidden;top:9px;right:0;font-size:16px;color:#999}.guang-editor-page .tag-header,.guang-list-page .tag-header{height:45px;line-height:45px;color:#333;font-size:14px;font-weight:700;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;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;line-height:18px;font-size:14px;color:#999}.home-page{width:1150px;margin:10px auto 0}.home-page .slide-container{position:absolute;left:0;right:0;height:450px}.home-page .slide-thumb-container{height:510px}.home-page .slide-wrapper{position:relative;height:450px;overflow:hidden}.home-page .slide-wrapper ul{position:relative;height:100%}.home-page .slide-wrapper li{display:none;position:absolute;top:0;right:0;width:100%;height:100%}.home-page .slide-wrapper li a{display:block;height:100%;width:1150px;margin:0 auto}.home-page .slide-wrapper li img{width:100%;height:100%}.home-page .slide-wrapper:hover .slide-switch.show,.home-page .slide-wrapper li:first-child{display:block}.home-page .slide-container-placeholder{height:450px;width:100%}.home-page .slide-thumb-container-placeholder{height:510px}.home-page .slide-switch{display:block}.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;opacity:.55;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=55)"}.home-page .slide-switch a .iconfont{font-size:32px;color:#59585a}.home-page .slide-switch a.prev{left:50%;margin-left:-575px}.home-page .slide-switch a.next{right:50%;margin-right:-575px}.home-page .slide-switch a:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.home-page .thumb-pagination{width:1148px;margin:6px auto 0;padding-left:2px}.home-page .thumb-pagination li{position:relative;float:left;margin-left:6px;width:138px;height:54px}.home-page .thumb-pagination li a{position:absolute;left:0;right:0;bottom:0;top:0;background:#000;opacity:.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"}.home-page .thumb-pagination li img{width:100%;height:100%}.home-page .thumb-pagination li:first-child{margin:0}.home-page .thumb-pagination li.focus a{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.home-page .slide-pagination{font-size:0}.home-page .slide-pagination .slide-shade{position:absolute;left:0;right:0;top:0;bottom:0;background:#000;opacity:.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";border-radius:13px}.home-page .slide-pagination span{position:relative;display:inline-block;margin:0 7px;width:12px;height:12px;background:#fff;cursor:pointer;opacity:.6;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";border-radius:6px;z-index:2}.home-page .slide-pagination span.focus{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.home-page .debris-slider{height:510px;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 .left-col img,.home-page .debris-slider .right-col img{height:100%;width:100%}.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{position:relative;width:570px;height:100%;margin-right:10px;font-size:0}.home-page .debris-slider .center-col .slide-wrapper{height:100%}.home-page .debris-slider .center-col .slide-wrapper li a{width:100%}.home-page .debris-slider .center-col .slide-switch a.prev{left:0;margin-left:0}.home-page .debris-slider .center-col .slide-switch a.next{right:0;margin-right:0}.home-page .debris-slider .center-col img{max-width:100%;max-height:100%}.home-page .debris-slider .center-col:hover .slide-switch.show{display:block}.home-page .debris-slider .right-col a{width:280px;height:120px}.home-page .debris-slider .right-col a:first-child{height:380px;margin-bottom:11px}.home-page .new-report img{display:block;width:100%;height:100%}.home-page .new-report .report-list{float:left;width:868px}.home-page .new-report .report-list li{float:left;margin:0 8px 8px 0;width:185px;height:248px;overflow:hidden}.home-page .new-report .report-list li:first-child{margin-right:7px;width:282px;height:504px}.home-page .new-report .last-item{float:left;width:282px;height:504px;overflow:hidden}.home-page .preference-brand{overflow:hidden}.home-page .preference-brand-list{margin-top:8px;width:1158px}.home-page .preference-brand-item{float:left;margin-right:8px;margin-bottom:8px}.home-page .preference-brand-item a{display:table-cell;width:185px;height:86px;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:185px;height:86px;line-height:100px;text-align:center;color:#000;font-size:16px}.home-page .img-slider-wrapper{position:relative;width:100%;height:558px;background:#8ae6e0;overflow:hidden}.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{box-sizing:border-box;margin:86px auto 0;width:982px;height:433px;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:320px;height:100%;margin-right:10px}.home-page .img-container-landscape .img-item img{width:100%;height:100%}.home-page .img-brand{position:relative;width:100%;height:175px;overflow:hidden}.home-page .img-brand ul{width:1158px}.home-page .img-brand li{float:left;margin:0 8px 0 0;width:378px;height:175px;line-height:175px;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;opacity:.55;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=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{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.home-page .img-brand:hover .img-brand-switch{display:block}.home-page .logo-brand{width:100%;height:282px;overflow:hidden}.home-page .logo-brand ul{width:1158px}.home-page .logo-brand li{float:left;margin:8px 8px 0 0;width:185px;height:86px;line-height:86px;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) 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-left:-48px}.home-page .logo-brand .logo-brand-switch .iconfont.next{bottom:12px;margin-left:20px}.home-page .logo-brand .brand-more{font-size:16px}.home-page .logo-brand .brand-more:hover{text-decoration:underline}.home-page .logo-brand.logos-10{height:188px}.home-page .categorys-list ul{width:1158px}.home-page .categorys-list li{float:left;margin:0 8px 8px 0;width:185px;height:248px}.home-page .categorys-list li img{display:block;width:100%;height:100%}.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{position:relative;margin:80px 0 40px}.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 15px;border-left:1px solid #ccc}.home-page .floor-header .header-navs li a{color:#333}.home-page .floor-header .header-navs li:first-child{border-left:none}.home-page .floor-header .header-navs li:hover{text-decoration:underline}.g-list li{float:left}.g-list li a{position:relative;display:block;overflow:hidden}.g-list li a img,.g-mask{width:100%;height:100%}.g-mask{display:block;position:absolute;z-index:1;background:#000;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";overflow:hidden;transition:opacity .6s}.g-title{display:block;text-align:center;font-weight:700;line-height:1.5;width:100%;margin-top:14px}.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;width:579px}.home-page .tpl-recommend .tpl-types li{float:left;margin-left:8px;margin-top:8px}.home-page .tpl-recommend .tpl-types li a{width:185px;height:248px}.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-products li a{width:222px;height:298px}.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:0}.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:512px}.home-page .tpl-recommend .tpl-brands li a{height:248px}.min-screen .home-page .tpl-recommend .tpl-nav{width:158px}.min-screen .home-page .tpl-recommend .tpl-nav .keywords0,.min-screen .home-page .tpl-recommend .tpl-nav .keywords1,.min-screen .home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:8px;height:65px}.min-screen .home-page .tpl-recommend .tpl-nav .keywords2{margin-bottom:0}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category{height:192px}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category a{height:32px;line-height:32px;font-size:12px}.min-screen .home-page .tpl-recommend .tpl-nav .tpl-category a:hover{text-decoration:underline}.min-screen .home-page .tpl-recommend .tpl-brands{width:324px;height:432px}.min-screen .home-page .tpl-recommend .tpl-brands li a{height:212px}.min-screen .home-page .tpl-recommend .tpl-types{width:498px}.min-screen .home-page .tpl-recommend .tpl-types li a{width:158px;height:212px}.min-screen .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:185px;height:248px}.home-page .singlehot .impo1,.home-page .singlehot .impo9{width:378px}.home-page .floor-ad a{display:block;height:129px}.home-page .floor-ad a img{display:block;width:100%;height:100%}.home-page .goods-container{margin-right:-10px;width:inherit;padding-top:0}.home-page .goods-container .good-info{margin-bottom:0;width:280px;height:485px}.home-page .goods-container .good-detail-img{height:374px}.home-page .goods-container .good-detail-text{text-align:center}.home-page .adbanner{margin-top:12px}.home-page .adbanner a{height:150px}.min-screen .home-page .singlehot li a{width:158px;height:212px}.min-screen .home-page .singlehot .impo1,.min-screen .home-page .singlehot .impo9{width:323px}.min-screen .home-page .goods-container .good-info{width:240px;height:412px}.min-screen .home-page .goods-container .good-info .good-detail-img{height:320px}.home-page .commodity .commodity-list{margin-left:-10px}.home-page .commodity .commodity-list a{height:465px;width:280px}.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;z-index:2;height:60px;width:60px;line-height:60px;font-size:20px}.home-page .commodity .commodity-list .commodity-img{position:relative;height:374px}.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;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;width:185px;height:86px}.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}.min-screen .home-page .commodity .commodity-list a{height:400px;width:240px}.min-screen .home-page .commodity .commodity-list .commodity-img{height:320px}.min-screen .home-page .commodity .commodity-list i.top{height:52px;width:52px;line-height:52px;font-size:14px}.min-screen .home-page .commodity .commodity-brands a{width:158px;height:74px}.home-page .slide-accordion{overflow:hidden;position:relative;height:400px}.home-page .slide-accordion a{position:relative;display:block}.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:650px;height:400px}.home-page .slide-accordion .g-mask{opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"}.home-page .slide-accordion .g-mask:hover{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.min-screen .home-page .slide-accordion{height:342px}.min-screen .home-page .slide-accordion li a{width:558px;height:342px}.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 .tpl-brands{margin-top:-8px!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}.min-screen .boys .tpl-nav .keywords0{margin-bottom:8px!important;height:130px!important}.min-screen .boys .tpl-nav .keywords1{margin-bottom:0!important;height:74px!important}.min-screen .boys .tpl-brands{margin-top:-8px!important}.min-screen .boys .goods-container .good-info,.min-screen .lifestyle .goods-container .good-info{width:188px;height:360px}.min-screen .boys .goods-container .good-info .good-detail-img,.min-screen .lifestyle .goods-container .good-info .good-detail-img{height:255px}.min-screen .home-page{width:990px}.min-screen .home-page .slide-container{height:387px}.min-screen .home-page .slide-container img{display:block}.min-screen .home-page .slide-thumb-container{height:440px}.min-screen .home-page .slide-container-placeholder{height:387px}.min-screen .home-page .slide-thumb-container-placeholder{height:440px}.min-screen .home-page .slide-wrapper{height:387px}.min-screen .home-page .slide-wrapper li a{width:990px}.min-screen .home-page .slide-switch{display:block}.min-screen .home-page .slide-switch a.prev{margin-left:-495px}.min-screen .home-page .slide-switch a.next{margin-right:-495px}.min-screen .home-page .slide-switch a:hover{opacity:.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}.min-screen .home-page .thumb-pagination{width:990px;margin:7px auto 0;padding:0}.min-screen .home-page .thumb-pagination li{width:118px;height:46px}.min-screen .home-page .debris-slider{height:440px}.min-screen .home-page .debris-slider .left-col{margin-right:9px}.min-screen .home-page .debris-slider .left-col a{width:240px;height:103px}.min-screen .home-page .debris-slider .left-col a:first-child{height:214px}.min-screen .home-page .debris-slider .center-col{width:492px;margin-right:9px}.min-screen .home-page .debris-slider .right-col a{width:240px;height:103px}.min-screen .home-page .debris-slider .right-col a:first-child{height:326px;margin-bottom:10px}.min-screen .home-page .new-report .report-list{width:748px}.min-screen .home-page .new-report .report-list li{width:158px;height:212px}.min-screen .home-page .new-report .last-item,.min-screen .home-page .new-report .report-list li:first-child{width:242px;height:432px}.min-screen .home-page .preference-brand-list{width:998px}.min-screen .home-page .preference-brand-item{margin-right:7px}.min-screen .home-page .preference-brand-item a{width:159px;height:74px}.min-screen .home-page .preference-more{width:159px;height:74px;line-height:90px}.min-screen .home-page .img-slider-wrapper{height:480px}.min-screen .home-page .img-container-landscape{margin:73px auto 0;width:844px;height:370px}.min-screen .home-page .img-container-landscape .img-item{width:275px;height:100%;margin-right:9px}.min-screen .home-page .img-brand{height:150px}.min-screen .home-page .img-brand ul{width:998px}.min-screen .home-page .img-brand li{width:325px;height:150px;line-height:150px}.min-screen .home-page .logo-brand{height:246px}.min-screen .home-page .logo-brand ul{width:998px}.min-screen .home-page .logo-brand li{margin:8px 8px 0 0;width:158px;height:74px;line-height:74px}.min-screen .home-page .logo-brand .logo-brand-switch .iconfont{font-size:24px}.min-screen .home-page .logo-brand .logo-brand-switch .iconfont.prev{top:-12px}.min-screen .home-page .logo-brand .logo-brand-switch .iconfont.next{bottom:-12px}.min-screen .home-page .logo-brand.logos-10{height:164px}.min-screen .home-page .categorys-list ul{width:1004px}.min-screen .home-page .categorys-list li{margin:0 7px 7px 0;width:161px;height:214px}.min-screen .home-page .categorys-list li.cate-item0{width:160px;height:435px}.min-screen .home-page .categorys-list li.cate-item1{width:326px;height:435px}.min-screen .home-page .floor-header{margin:50px 0 30px}.min-screen .home-page .floor-header .header-navs li{padding:1px 10px}.brands .brands-tabs{margin-top:20px;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{opacity:.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"}.brands .brands-tabs li .g-mask-on,.brands .brands-tabs li:hover .g-mask{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.brands .brands-tabs .hover-contain{position:relative;border-bottom:1px solid #dfdfdf}.brands .brands-tabs .hover-contain .hoverarr{background-color:#3d3d3d;position:absolute;bottom:0;z-index:6}.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 .header-navs{margin-right:-15px}.brands .category-nav{border:2px solid #222;padding-left:16px;height:44px;line-height:44px;font-size:12px;font-weight:700;position:relative;z-index:8;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:8;margin-top:0!important}.brands .brands-list dl{position:relative;border-top:1px dotted #999;padding:20px 0}.brands .brands-list dt{position:absolute;width:130px;font-weight:700;font-size:16px;text-align:center;top:50%;margin-top:-9px}.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 span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}.brands .brands-list dd a span:hover{text-decoration:underline}.brands .brands-list dd .brands-dialog{display:inline;position:relative}.brands .brands-list dd .hot{font-weight:700;color:#222}.brands .brands-list dd i{position:relative;top:-4px;color:#e01;font-size:14px}.brands .sit-nav{padding-top:10px;font-size:12px}.brands .sit-nav .sep{margin:0 8px}.brands .brands-category{width:1150px}.brands .brands-tabs{width:100%}.brands .brands-tabs li{margin-left:10px}.brands .brands-tabs li a{position:relative;width:222px;height:180px}.brands .brands-tabs li:first-child{margin-left:0}.brands .brands-tabs .hover-contain{height:30px}.brands .brands-tabs .hover-contain .hoverarr{height:5px;width:222px}.brands .brands-ad,.brands .brands-logo{margin:20px 0}.brands .brands-ad li{float:left;margin-left:10px}.brands .brands-ad li img{display:block;width:280px;height:280px}.brands .brands-ad li:first-child{margin-left:0}.brands .brands-ad li:first-child img{width:570px}.brands .brands-logo a{float:left;margin-left:26px}.brands .brands-logo a img{display:block;width:91px;height:38px}.brands .brands-logo a:first-child{margin-left:0}.brands .list-floor{width:1160px}.brands .brandfloor .g-list{margin-top:-32px}.brands .brandfloor li{margin-right:8px;margin-top:32px}.brands .brandfloor li a{width:378px;height:250px}.brands .singlegoods .g-list{margin-top:-10px}.brands .singlegoods li{margin-right:10px;margin-top:10px}.brands .singlegoods li a{width:280px;height:374px}.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 .g-list{margin-top:-10px}.brands .video li{margin-right:8px;margin-top:10px}.brands .video li a{width:378px;height:242px}.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)}.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:40px}.brands .news .news-pic{position:relative;float:left;width:764px;height:436px}.brands .news .news-pic .slide-container{height:100%}.brands .news .news-pic .slide-container li a{height:100%;width:764px}.brands .news .news-pic .slide-container .slide-wrapper{height:100%}.brands .news .news-pic .slide-container .slide-switch{display:none}.brands .news .news-pic .slide-container .slide-switch .prev{left:0;margin-left:0}.brands .news .news-pic .slide-container .slide-switch .next{right:0;margin-right:0}.brands .news .news-pic .slide-container .slide-switch.show{display:block}.brands .news .news-pic .slide-tips{position:absolute;left:0;bottom:0;height:30px;width:100%;background:#000;opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"}.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:auto;bottom:0}.brands .news .news-pic .slide-pagination .slide-shade{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";background:none}.brands .news .news-pic .slide-pagination span{margin-top:3px}.brands .news .news-txt{padding:20px 16px;float:right;border:1px solid #000;overflow:hidden}.brands .news .news-txt ul{height:100%}.brands .news .news-txt li{position:relative;display:block;margin-bottom:10px;margin-left:20px}.brands .news .news-txt a{font-size:14px;line-height:27px;cursor:pointer;color:#010101;display:block}.brands .news .news-txt a:hover{color:#fff;background:#000;padding-left:12px;transition:padding .4s}.brands .news .news-txt i{position:absolute;top:0;left:-26px;font-size:22px}.brands .news .news-txt{width:342px;height:394px}.brands .ads{margin:40px 0}.brands .ads li{margin-right: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{margin:25px auto}.brands .brands-items .brands-item{float:left;padding:15px 0;width:50%}.brands .brands-items a.brands-pic{float:left;width:280px;height:136px;display:block}.brands .brands-items a.brands-pic img{width:100%;height:100%}.brands .brands-items .brand-info{float:right;padding:0 20px;width:255px;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:92px;font-size:14px;line-height:22px;overflow:hidden}.brands .pagination{margin:40px 0 80px;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;transform:scale(.8)}.brands .pagination a.cur{background:#222;color:#fff}.min-screen .brands .header-navs{margin-right:-10px}.min-screen .brands .sit-nav{padding-top:10px;font-size:12px}.min-screen .brands .sit-nav .sep{margin:0 6px}.min-screen .brands .brands-category{width:990px}.min-screen .brands .brands-tabs li a{width:190px;height:154px}.min-screen .brands .brands-tabs .hover-contain{height:25px}.min-screen .brands .brands-tabs .hover-contain .hoverarr{height:4px;width:190px}.min-screen .brands .brands-ad li img{width:240px;height:240px}.min-screen .brands .brands-ad li:first-child img{width:490px}.min-screen .brands .brands-logo a{margin-left:10px}.min-screen .brands .brands-logo a img{width:90px;height:37px}.min-screen .brands .brands-logo a:first-child{margin-left:0}.min-screen .brands .list-floor{width:1000px}.min-screen .brands .brandfloor .g-list{margin-top:-26px}.min-screen .brands .brandfloor li{margin-right:9px;margin-top:26px}.min-screen .brands .brandfloor li a{width:324px;height:214px}.min-screen .brands .singlegoods .g-list{margin-top:-10px}.min-screen .brands .singlegoods li{margin-right:10px;margin-top:10px}.min-screen .brands .singlegoods li a{width:240px;height:324px}.min-screen .brands .singlegoods .singlegoods-title{position:absolute;left:0;bottom:0;height:50px;width:100%}.min-screen .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}.min-screen .brands .video .g-list{margin-top:-10px}.min-screen .brands .video li{margin-right:9px;margin-top:10px}.min-screen .brands .video li a{width:324px;height:206px}.min-screen .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)}.min-screen .brands .video .video-title{position:absolute;left:0;bottom:0;height:30px;width:100%}.min-screen .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:30px;text-align:center;color:#fff}.min-screen .brands .news .news-pic{width:660px;height:376px}.min-screen .brands .news .news-pic .slide-container,.min-screen .brands .news .news-pic .slide-container img{height:376px}.min-screen .brands .news .news-txt{width:284px;height:334px}.min-screen .brands .news .news-txt li{margin-bottom:13px}.min-screen .brands .ads{margin-bottom:30px}.min-screen .brands .ads li{margin-right:10px;margin-bottom:10px}.min-screen .brands .ads li a{width:240px}.min-screen .brands .ads li a img{height:138px}.min-screen .brands .ads li .name{font-size:14px}.min-screen .brands .ads li .des{font-size:12px}.min-screen .brands .brands-items a.brands-pic{width:240px;height:116px}.min-screen .brands .brands-items .brand-info{width:212px}.min-screen .brands .brands-items .brand-info .brand-desc{height:72px}.brands-layer{position:absolute;z-index:8;top:-83px;left:15px;width:325px;height:287px;background:url(../assets/img/index/brands-layer.png) no-repeat;font-weight:400}.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;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brands-layer .layer-content .desc{margin: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%;max-height:80px}.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(../assets/img/index/brands-layer.png) no-repeat 0 -287px;left:-325px;top:-83px}.brands-layer-right .layer-content{padding:20px 35px 20px 20px}.me-page{width:990px;margin:0 auto 20px}.me-page .home-path{height:40px;line-height:40px;color:#ccc;font-size:12px}.me-page .home-path .path-icon{float:left;display:block;background-image:url(../assets/img/sprite.home.png);background-position:0 0;width:15px;height:15px;margin-right:10px;margin-top:11px}.me-page .home-path a,.me-page .home-path span{color:#666}.me-page .home-path span{font-weight:700}.me-page .block{border:1px solid #dedede;border-radius:2px}.me-page .me-main .block{margin-bottom:10px}.me-page .title{height:40px;line-height:40px;padding:0 8px;background-color:#e3e3e3;background-position:10px 12px;background-repeat:no-repeat}.me-page .user-thumb{text-align:center;padding:20px 0;background:#f8f8f8}.me-page .user-thumb img{width:100px;height:100px}.me-page .home-navigation{float:left;width:180px;margin-right:8px}.me-page .home-navigation .ucenter{background-image:url(../assets/img/home/ucenter.png)}.me-page .nav-group .row{height:38px;line-height:38px;border-top:1px solid #e2e2e2;padding-left:35px;color:#666;background:#f8f8f8;font-size:12px}.me-page .nav-group .row a{display:block;color:#666}.me-page .nav-group .row.active{background:#636363}.me-page .nav-group .row.active a{color:#fff}.me-page .nav-group .row.first{border-top:none}.me-page .nav-group li:hover{background:#fff;color:#000}.me-page .nav-group .nav-title{font-size:14px;border-top:1px solid #ccc;border-bottom:1px solid #ccc;color:#333;background:#e6e6e6;padding-left:0}.me-page .nav-group .nav-title .title-icon{float:left;display:block;width:15px;height:15px;background-image:url(../assets/img/sprite.home.png);background-position:-17px 0;margin:10px 10px 0}.me-page .me-main{float:left;width:800px}.me-page .me-pager{width:778px;height:22px;line-height:22px;background:#f3f3f3;border-top:1px solid #e3e3e3;padding:10px;font-size:12px;color:#666}.me-page .me-pager .check-all{margin:0;vertical-align:text-top;margin-right:5px}.me-page .me-pager .del-checked{cursor:pointer;margin-left:5px}.me-page .me-pager .del-checked:hover{color:#468fa2;text-decoration:underline}.me-page .me-pager a{border:1px solid #cecece;padding:0 6px;height:18px;line-height:18px;border-radius:2px;margin-right:4px;background-color:#fff}.me-page .me-pager a.cur,.me-page .me-pager a:hover{background-color:#222;color:#fff}.me-page .me-pager .pager-html{display:inline}.me-page .help-us{height:20px;line-height:20px;font-size:12px}.me-page .help-us a{color:#468fa2}.me-page .help-us .help-us-icon{float:left;display:block;background-image:url(../assets/img/sprite.home.png);background-position:0 -17px;width:12px;height:12px;margin-right:8px;margin-top:3px}.me-page .empty-tip{padding:200px 0;text-align:center;overflow:hidden}.me-page .tabs{width:778px;height:25px;margin:10px auto;background:url(../assets/img/home/tab.png) repeat-x 0 -25px;font-size:12px;line-height:25px;padding-left:10px}.me-page .tabs li{display:block;float:left;width:88px;height:25px;text-align:center;background:url(../assets/img/home/tab.png) no-repeat -92px 0;margin-right:3px;color:#333}.me-page .tabs li.active{background-position:0 0;font-weight:700}.me-page .tabs a{display:block;width:100%;height:100%}.me-page .table-header{height:30px;line-height:30px;background:#efefef;border:1px solid #e6e6e6;padding:0 10px}.me-page .table-header>span{display:block;float:left;text-align:center}.default-me-page .message-tip{box-sizing:border-box;width:800px;height:40px;line-height:40px;padding:0 10px;margin-bottom:10px;background:#faf6d9;border:1px solid #f5e8c5;border-radius:2px;font-weight:700;font-size:12px}.default-me-page .message-tip a{color:#468fa2;font-weight:400}.default-me-page .message-tip b{color:#e8044f;margin-right:5px}.default-me-page .message-tip .close{float:right;cursor:pointer;font-weight:400}.default-me-page .more{display:block;float:right;height:21px;line-height:22px;width:63px;margin-top:8px;padding-right:8px;font-size:12px;color:#fdfdfd;text-align:center;border-radius:2px;background:url(../assets/img/home/btn-more.png) no-repeat}.default-me-page .brands ul{padding:10px 0 10px 10px}.default-me-page .brands ul li{float:left;width:122px;height:103px;border:1px solid #f6f6f6;margin-right:7px;overflow:hidden}.default-me-page .brands ul img{width:80px;height:50px;display:block;vertical-align:middle;margin:15px auto}.default-me-page .brands ul .brand-name{display:block;width:114px;height:18px;line-height:18px;color:#333;background:#f4f4f4;font-size:12px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 auto}.default-me-page .new-arrival{overflow:hidden}.default-me-page .new-arrival .na-pager-wrap{float:right}.default-me-page .new-arrival .na-pager-wrap .next,.default-me-page .new-arrival .na-pager-wrap .pre{display:inline-block;height:22px;line-height:22px;margin-top:8px;padding:0 6px;font-size:12px;color:#fff;background:#646464;text-align:center;border-radius:2px;cursor:pointer}.default-me-page .new-arrival .na-pager-wrap .next .iconfont,.default-me-page .new-arrival .na-pager-wrap .pre .iconfont{font-size:12px}.default-me-page .new-arrival .na-pager-wrap .no-visible{visibility:hidden}.default-me-page .new-arrival ul{width:800px;height:218px;overflow:hidden}.default-me-page .new-arrival li{float:left;width:101px;height:160px;padding:29px;border-right:1px solid #e3e3e3;text-align:center;font-size:12px;overflow:hidden}.default-me-page .new-arrival li .thumb{width:100px;height:100px}.default-me-page .new-arrival li .name{margin:10px 0;text-decoration:underline;color:#666;line-height:14px}.default-me-page .new-arrival li .price{color:#000}.default-me-page .banner{display:block;width:800px;border:none}.default-me-page .latest-orders .title{background-image:url(../assets/img/home/latest-orders.png)}.default-me-page .brands .title{background-image:url(../assets/img/home/brands.png)}.default-me-page .new-arrival .title{background-image:url(../assets/img/home/new-arrival.png)}.me-orders{font-size:12px}.me-orders .right{float:right}.me-orders .order-table-header .info{width:330px;text-align:left;padding-left:10px}.me-orders .order-table-header .price{width:75px}.me-orders .order-table-header .count{width:60px}.me-orders .order-table-header .operation,.me-orders .order-table-header .order-status,.me-orders .order-table-header .pay{width:100px}.me-orders .order-title{height:28px;line-height:28px;background:#efefef;padding:0 5px;border-bottom:1px solid #e6e6e6}.me-orders .order{margin:10px;border:1px solid #e6e6e6;border-radius:2px}.me-orders .order .order-wrap{position:relative;display:table;text-align:center}.me-orders .order .order-wrap>*{display:table-cell;vertical-align:middle}.me-orders .order li{display:table;border-top:1px solid #e6e6e6}.me-orders .order li>div{display:table-cell;color:#666;text-align:center;vertical-align:middle}.me-orders .order li:first-child{border-top:none}.me-orders .order .thumb-wrap{position:relative}.me-orders .order .thumb{width:60px;height:60px}.me-orders .order .advance-buy-tag,.me-orders .order .freebie-tag,.me-orders .order .virtual-good-tag{display:block;position:absolute;bottom:0;left:0;right:0;height:15px;line-height:16px;text-align:center;color:#fff}.me-orders .order .freebie-tag{background:#88be51}.me-orders .order .advance-buy-tag{background:#fc1264}.me-orders .order .virtual-good-tag{background:#333}.me-orders .order .info{position:relative;width:313px;text-align:left;padding:10px 0 10px 10px}.me-orders .order .info>*{float:left}.me-orders .order .info .color-size{color:#999}.me-orders .order .text-info{position:absolute;padding:5px;bottom:10px;left:72px}.me-orders .order .text-info>*{display:block;line-height:18px}.me-orders .order .name{color:#468fa2}.me-orders .order .had-refund{color:#e8044f}.me-orders .order .price{width:90px;font-weight:700}.me-orders .order .count{width:50px}.me-orders .order .operation,.me-orders .order .order-status,.me-orders .order .pay{width:100px;border-left:1px solid #e6e6e6}.me-orders .order .pay{font-weight:700}.me-orders .order .pay-tip{font-weight:400;display:block;line-height:18px;color:#999}.me-orders .order .op-item{display:block;color:#468fa2;line-height:18px}.me-orders .order .no-pay,.me-orders .order .paid{color:#e8044f}.me-orders .order .order-status span{line-height:18px}.me-orders .order .shipped{color:#999}.me-orders .order .shipped .check-logistics{display:block;cursor:pointer;color:#468fa2}.me-orders .order .complete{color:#999}.me-orders .order .cancel{color:#e8044f}.me-orders .order .reback{color:#999}.me-orders .order .logistics{position:absolute;padding:20px 12px;color:#ff8341;border:1px solid #c9c9c9;background:#fff;right:185px;top:15px}.me-orders .order .logistics li{line-height:18px;white-space:nowrap}.me-orders .order .logistics .close-logistics{position:absolute;top:0;right:0;color:#c9c9c9;cursor:pointer}.me-orders .order .logistics .right-triangle{position:absolute;width:0;height:0;right:-6px;top:24px}.me-orders .order .logistics .right-triangle.top{margin-top:1px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:6px solid #fff}.me-orders .order .logistics .right-triangle.bottom{margin-right:-1px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:7px solid #c9c9c9}.me-orders .order .confirm-received{cursor:pointer}.me-history-orders .order-table-header .info,.me-history-orders .order .info{width:520px}.me-history-orders .order .info{text-align:center}.me-history-orders .order-table-header .order-sum,.me-history-orders .order .order-sum{width:90px;text-align:left}.me-history-orders .order li{border:none}.orders-me-page .orders .title{padding-left:130px;line-height:40px;background-image:url(../assets/img/home/orders.png);font-size:12px;font-weight:400}.orders-me-page .order-table-header{padding:0;margin:0 10px;border:1px solid #e6e6e6}.me-favorite-page .favorite .title{background-image:url(../assets/img/home/favorite.png)}.me-favorite-page .favorite-table-header{font-size:12px;padding:0}.me-favorite-page .favorite-table-header .options{width:136px}.me-favorite-page .fav-row{display:table;padding:10px 0;border-bottom:1px solid #e6e6e6}.me-favorite-page .fav-row>*{display:table-cell;vertical-align:middle}.me-favorite-page .fav-row .checkbox{width:40px;padding-left:10px}.me-favorite-page .del-favorite{color:#666;visibility:hidden}.me-favorite-page .fav-row:hover .del-favorite{visibility:visible}.me-favorite-page .favorite-articles,.me-favorite-page .favorite-brands,.me-favorite-page .favorite-products{margin:0 10px;font-size:12px}.me-favorite-page .price-notice{position:absolute;width:320px;height:194px;z-index:11;top:50%;left:50%;margin-left:-160px;margin-top:-97px;background:#fff;border:1px solid #999;padding:20px;font-size:14px}.me-favorite-page .price-notice .close{position:absolute;display:block;top:5px;right:5px;width:46px;height:16px;cursor:pointer;background:#cdcdcd;color:#fff;border-radius:2px;font-size:12px}.me-favorite-page .price-notice .close:hover{background:#414141}.me-favorite-page .price-notice .price-notice-sure{display:block;width:82px;height:34px;line-height:34px;text-align:center;color:#fff;background:#e90024;font-weight:700;cursor:pointer;margin:20px auto 0}.me-favorite-page .price-notice .tip{line-height:20px;margin:20px 0}.me-favorite-page .price-notice label{margin-right:10px}.me-favorite-page .price-notice input{width:180px;height:30px;line-height:30px;color:#333;padding:0 5px;font-size:14px;border:1px solid #bebebe}.me-favorite-page .price-notice input.error{border-color:red}.me-favorite-page .price-notice .err-text{padding-left:70px;line-height:24px;color:red}.me-favorite-page .price-notice .err-text i{display:block;float:left;height:14px;width:14px;background-image:url(../assets/img/sprite.passport.png);background-position:-64px -113px;margin-right:5px;margin-top:5px}.me-favorite-page .price-notice .success{text-align:center}.me-favorite-page .price-notice .success p{font-size:14px;line-height:22px;margin-top:20px}.me-favorite-page .price-notice .success .iconfont{color:#51c516;font-size:24px}.me-favorite-page .price-notice .success em{color:#e20d29}.fav-products .favorite-products>ul{padding-bottom:20px}.fav-products .sorts{position:relative;padding:10px;min-height:20px;line-height:20px;margin:0 10px 10px;background:#f3f3f3;border:1px solid #e6e6e6;color:#ccc}.fav-products .sorts .sort{float:left;height:20px;line-height:20px;color:#666;font-size:12px}.fav-products .sorts .sort.focus{background:url(../assets/img/home/sort-select.png) no-repeat left;padding-left:18px;color:#fff}.fav-products .sorts .sort.focus em{display:inline-block;background:url(../assets/img/home/sort-select.png) no-repeat right;font-weight:700}.fav-products .sorts .sep{float:left;margin:0 10px}.fav-products .sorts .has-more{float:left;margin-left:10px}.fav-products .all-sorts{display:none}.fav-products .sort-btn{position:absolute;display:block;width:19px;height:19px;line-height:19px;right:10px;top:10px;text-align:center;border:1px solid #ececec;background:#fff;cursor:pointer}.fav-products .sort-btn .iconfont{color:#000;font-size:12px}.fav-products .reduction-filter{height:30px;line-height:30px;text-align:right;font-size:12px;margin:0 10px}.fav-products .reduction-notice{float:left;color:#666}.fav-products .favorite-goods{margin:0 10px;font-size:12px}.fav-products .favorite-goods>ul{padding-bottom:20px}.fav-products .favorite-table-header .info{width:390px;padding-left:50px;text-align:left}.fav-products .favorite-table-header .price{width:200px;text-align:left}.fav-products .fav-good{position:relative}.fav-products .fav-good .thumb{display:block;margin-right:10px;width:100px;height:100px}.fav-products .fav-good .text-info{width:270px;line-height:16px}.fav-products .fav-good .name{color:#468fa2;display:block}.fav-products .fav-good .name:hover{text-decoration:underline}.fav-products .fav-good .has-bought{display:inline-block;width:37px;height:15px;line-height:15px;text-align:center;color:#fff;background:#418fa3;border-radius:2px}.fav-products .fav-good .has-activity{color:#666;cursor:pointer}.fav-products .fav-good .price{width:200px;padding-left:10px}.fav-products .fav-good .price>em{font-weight:700;color:#e8044f;font-size:14px}.fav-products .fav-good .price .price-down{display:block;margin-top:5px}.fav-products .fav-good .price .price-down>em{color:#e8044f}.fav-products .fav-good .price .price-down .iconfont{font-size:12px}.fav-products .fav-good .options{width:136px;text-align:center}.fav-products .fav-good .options>*{display:block}.fav-products .fav-good .options .buy-again,.fav-products .fav-good .options .buy-now{width:92px;height:30px;line-height:30px;font-size:14px;text-align:center;border-radius:4px;margin:0 auto}.fav-products .fav-good .options .buy-now{color:#fff;background:#da044a}.fav-products .fav-good .options .buy-again{color:#666;background:#ececec;border:1px solid #cecece}.fav-products .fav-good .options .price-down-clock{line-height:20px;color:#666;cursor:pointer}.fav-products .fav-good .options .sold-out{color:#666}.fav-products .fav-good .options .buy-again,.fav-products .fav-good .options .buy-now,.fav-products .fav-good .options .sold-out{margin-top:12px}.fav-products .fav-good .activites{position:absolute;left:160px;right:0;top:100px;padding:10px 0;border-top:1px dashed #ccc}.fav-products .fav-good .activites li{line-height:18px}.fav-products .fav-good .activites .type{display:inline-block;width:54px;height:14px;line-height:14px;margin-right:5px;overflow:hidden;background:#6c6c6c;border-radius:2px;color:#fff;text-align:center;vertical-align:middle}.fav-products .fav-good .activites .arrow{position:absolute;width:13px;left:20px;top:-7px;height:7px;background-image:url(../assets/img/sprite.home.png);background-position:-14px -17px}.fav-products .fav-good:hover{background:#f3f3f3}.fav-brands .favorite-brands>ul{padding-bottom:20px}.fav-brands .favorite-table-header .name{width:190px;padding-left:50px;text-align:left}.fav-brands .favorite-table-header .col-count,.fav-brands .favorite-table-header .new-arrival{width:200px}.fav-brands .fav-brand{position:relative;font-size:12px}.fav-brands .fav-brand .thumb{width:190px}.fav-brands .fav-brand .thumb a{display:block;width:115px;padding:5px;text-align:center;border:1px solid #f4f4f4}.fav-brands .fav-brand .thumb .name{display:block;background:#f4f4f4;color:#666;line-height:18px}.fav-brands .fav-brand .thumb img{width:100px;height:100px}.fav-brands .fav-brand .col-count,.fav-brands .fav-brand .new-arrival{width:200px;text-align:center}.fav-brands .fav-brand .new-arrival{cursor:pointer}.fav-brands .fav-brand .options{width:136px;text-align:center}.fav-brands .fav-brand .brand-shop{display:block;width:92px;height:30px;line-height:30px;border:1px solid #c2c2c2;background:#ececec;text-align:center;cursor:pointer;margin:14px auto 10px;border-radius:2px;color:#666;font-size:14px}.fav-brands .fav-brand .na-list{position:absolute;left:50px;right:0;top:152px;padding:10px 0;border-top:1px dashed #ccc}.fav-brands .fav-brand .na-list .arrow{position:absolute;width:13px;left:265px;top:-7px;height:7px;background-image:url(../assets/img/sprite.home.png);background-position:-14px -17px}.fav-brands .fav-brand .na-good{width:102px;height:165px;padding:0 15px;text-align:left}.fav-brands .fav-brand .na-good-thumb{border:1px solid #ccc;width:100px;height:100px;vertical-align:middle}.fav-brands .fav-brand .na-good-name{color:#666;line-height:14px;margin:5px 0;max-height:28px;overflow:hidden}.fav-brands .fav-brand .na-content>*{float:left}.fav-brands .fav-brand .has-sale{text-decoration:line-through}.fav-brands .fav-brand .na-next,.fav-brands .fav-brand .na-pre{display:block;width:31px;height:31px;line-height:33px;text-align:center;background:#f4f4f4;border:1px solid #eee;margin-top:66px}.fav-brands .fav-brand .na-next.hidden,.fav-brands .fav-brand .na-pre.hidden{visibility:hidden}.fav-brands .fav-brand .na-goods{width:660px;height:165px;padding-top:20px}.fav-brands .fav-brand .na-goods>li{float:left}.fav-articles .favorite-articles>ul{padding-bottom:20px}.fav-articles .fav-article:first-child{padding-top:8px}.fav-articles .bg-img{display:block;width:146px;height:96px;backgound-size:cover;background-position:center}.fav-articles .text-info{width:559px;padding-left:20px}.fav-articles .name{display:block;font-weight:700;font-size:14px;line-height:30px;color:#000;max-width:100%;word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fav-articles .name:hover{text-decoration:underline}.fav-articles .desc{color:#333;font-size:12px;line-height:24px;height:48px}.fav-articles .del-favorite{float:right;font-size:12px}.user-me-page{font-size:12px;line-height:150%}.user-me-page form{display:inline}.user-me-page strong{font-weight:700}.user-me-page .clear{zoom:1}.user-me-page .clear:after{content:".";display:block;height:0;visibility:hidden;overflow:hidden;clear:both}.user-me-page .userinfo-edit form{display:none}.user-me-page .userinfo-edit h2.title{background-image:url(../assets/img/home/edit/title-informations.png)}.user-me-page .account,.user-me-page .email,.user-me-page .gift,.user-me-page .mobile,.user-me-page .userpwd{font-size:12px;line-height:150%}.user-me-page .account .title,.user-me-page .email .title,.user-me-page .gift .title,.user-me-page .mobile .title,.user-me-page .userpwd .title{position:relative}.user-me-page .account .title h2,.user-me-page .email .title h2,.user-me-page .gift .title h2,.user-me-page .mobile .title h2,.user-me-page .userpwd .title h2{height:16px;font-size:14px;font-weight:700;line-height:16px;position:absolute;top:50%;margin-top:-8px}.user-me-page .account .title h2 span,.user-me-page .email .title h2 span,.user-me-page .gift .title h2 span,.user-me-page .mobile .title h2 span,.user-me-page .userpwd .title h2 span{font-size:10px;-webkit-transform:scale(.85);display:inline-block;line-height:15px;font-weight:400;padding-left:0;padding-left:10px\9;padding-left:10px}.user-me-page .address input[type=button]{margin-top:0}.user-me-page .address input#address{width:340px}.user-me-page .address .title{position:relative}.user-me-page .address .title h2{width:66px;height:16px;background:url(../assets/img/home/edit/title-address.png) no-repeat;text-indent:-999em;float:left;position:absolute;top:50%;margin-top:-8px}.user-me-page .address .main{width:798px;padding:10px 1px 1px;float:left;border:1px solid #dedede;border-radius:2px}.user-me-page .address .address-list{width:776px;margin:0 10px;display:inline;border:1px solid #e6e6e6;border-bottom:0;float:left}.user-me-page .address .address-content{width:756px;padding:10px;border-bottom:1px solid #e6e6e6;float:left}.user-me-page .address .address-content.preferred{background:#fdfcdd;color:#333}.user-me-page .address .address-detail{width:596px;float:left}.user-me-page .address .address-edit{width:150px;padding:10px 0 10px 10px;text-align:center;float:left}.user-me-page .address.block{border:none}.user-me-page .a-edit{color:#468fa2;text-decoration:none}.user-me-page .a-underline{text-decoration:underline}.user-me-page .btn-c3{height:22px;background:url(../assets/img/home/edit/btn_hs.png) no-repeat left -66px;padding-left:8px;display:inline-block}.user-me-page .btn-c3 span{height:22px;line-height:21px;background:url(../assets/img/home/edit/btn_hs.png) no-repeat right -66px;padding-right:10px;display:inline-block;cursor:pointer;color:#fff}.user-me-page .btn-c2{height:22px;background:url(../assets/img/home/edit/btn_hs.png) no-repeat left -44px;padding-left:8px;display:inline-block}.user-me-page .btn-c2 span{height:22px;line-height:21px;background:url(../assets/img/home/edit/btn_hs.png) no-repeat right -44px;padding-right:10px;display:inline-block;cursor:pointer;color:#b3b3b3}.user-me-page .main-info{border-top:1px solid #ddd;padding:20px 10px 10px}.user-me-page .main-info .p1{padding-bottom:10px;font-weight:700}.user-me-page .main-info .blue2{color:#468fa2}.user-me-page .block{min-height:375px;height:auto}.user-me-page .block form#giftCardForm,.user-me-page .block form#pwdform,.user-me-page .block form.first{display:block}.user-me-page .edit-box{padding:10px 11px 11px}.user-me-page .form-group{height:30px;border:1px solid #fff;margin-bottom:2px;line-height:22px;font-size:12px;font-family:Arial,helvetica,sans-serif}.user-me-page .form-group label{width:80px;text-align:right;color:#333;float:left}.user-me-page .plain{color:#666;font-weight:700}.user-me-page .width-300{width:300px}.user-me-page .width-150{width:150px}.user-me-page .input-1{height:20px;line-height:20px;color:#333;border:1px solid #c9c9c9;background:url(../assets/img/home/edit/input_1.png) repeat-x #fff;vertical-align:top}.user-me-page .btn-b1{width:118px;height:34px;border:0;background:url(../assets/img/home/edit/btn_b1.png) no-repeat;color:#fff;font-size:14px;font-weight:700;padding-right:10px;cursor:pointer;display:inline-block;margin-top:12px;margin-left:80px}.user-me-page .tips-p{margin-left:10px;color:#999;display:inline-block}.user-me-page .box{width:778px;clear:both;padding-top:10px;margin-bottom:10px;float:left}.user-me-page .sub-title{clear:both;height:21px;line-height:21px;padding-left:23px;background:url(../assets/img/home/edit/ico_arrow2.png) no-repeat 5px 5px #efefef;border:1px solid #e6e6e6;font-size:12px;color:#333;font-weight:400;cursor:pointer;margin-bottom:2px}.user-me-page .sub-title .more{padding:2px 10px 0 0;float:right}.user-me-page .sub-title .btn-edit{width:37px;height:17px;background:url(../assets/img/home/edit/btn_edit.png) no-repeat;display:inline-block;overflow:hidden;border:0}.user-me-page .user-personal-info .user-info{width:552px;padding-right:38px;float:left}.user-me-page .user-personal-info .user-profile{width:148px;padding:18px;text-align:center;float:right;border-left:1px solid #e0e0e0}.user-me-page .user-personal-info .user-profile img{width:100px;height:100px;margin-bottom:10px}.user-me-page .user-favorite-info ul{clear:both;width:750px;padding:0 20px 20px 0;float:left}.user-me-page .user-favorite-info ul li{height:22px;padding-left:20px;float:left;font-size:12px}.user-me-page .user-favorite-info .brand-box{width:725px;margin:0 0 10px 20px;display:inline;padding:5px 10px 5px 0;border:1px solid #ccc;background:#f8f8f8;color:#000}.user-me-page .user-favorite-info .brand-box li{height:22px;line-height:22px;padding:0 0 0 10px;float:left;display:inline-block;white-space:nowrap}.user-me-page .user-favorite-info .btn-del{height:20px;line-height:20px;border:0;padding-left:18px;background:url(../assets/img/home/edit/ico_del.png) no-repeat 0 2px;color:#468fa2;display:inline-block;overflow:hidden;text-decoration:none;vertical-align:middle}.user-me-page .user-favorite-info .btn-submit-sm{width:56px;height:20px;border:0;font-size:12px;color:#fff;line-height:20px;padding:0;margin:0;background:url(../assets/img/home/edit/btn_s1_z2.png) repeat-x;text-align:center;display:inline-block;cursor:pointer}.user-me-page .user-favorite-info span{color:#999;line-height:25px;display:inline-block}.user-me-page .user-favorite-info .form-group{clear:both;width:730px;padding:0 20px 5px;float:left}.user-me-page .account-row{padding:30px 0;border-bottom:1px solid #ddd}.user-me-page .account-row .content{height:32px;line-height:32px;position:relative}.user-me-page .account-row .content div{float:left;display:inline-block}.user-me-page .account-row .content .left-content{width:200px}.user-me-page .account-row .content .middle-content{width:500px}.user-me-page .account-row .content .middle-content .tip{color:#666}.user-me-page .account-row .content .middle-content .tip.red{color:#e01}.user-me-page .account-row .content .right-content{width:75px;height:20px;line-height:20px;position:absolute;top:50%;margin-top:-10px}.user-me-page .account-row .center{text-align:center}.user-me-page .account-row a{text-decoration:none;color:#666;outline:none}.user-me-page .account-row [class*=" icon-"],.user-me-page .account-row [class^=icon-]{height:32px;line-height:32px;vertical-align:middle;display:inline-block;padding-left:42px;margin-left:20px}.user-me-page .account-row .icon-ok{background:url(../assets/img/home/edit/icon-32.png) no-repeat 0 0}.user-me-page .account-row .icon-warning{background:url(../assets/img/home/edit/icon-32.png) no-repeat 0 -32px}.user-me-page .account-row .account-type{font-size:18px;line-height:32px;display:inline-block;padding-left:20px}.user-me-page .button-icon20{padding-left:5px;background:url(../assets/img/home/edit/btn_bg_20.png) no-repeat left 0;display:inline-block;cursor:pointer}.user-me-page .button-icon20 i{font-style:normal;background:url(../assets/img/home/edit/btn_bg_20.png) repeat-x left -20px;display:inline-block;height:20px;line-height:20px;text-align:center}.user-me-page .button-sliver20 i{background-position:left -80px;width:52px}.user-me-page .button-icon20 span{background:url(../assets/img/home/edit/btn_bg_20.png) no-repeat right -40px;display:inline-block;padding-right:5px}.user-me-page .button-sliver20 span{background-position:right -100px}.user-me-page .button-sliver20{background-position:left -60px}.user-me-page .gift-box{padding:10px 11px 11px}.user-me-page .gift-box h2{height:16px;font-size:14px;font-weight:700;line-height:16px}.user-me-page .gift-box li{font-size:12px;font-family:arial,Microsoft YaHei;margin-bottom:25px}.user-me-page .gift-box .gift-input{width:60px;height:20px;line-height:20px;color:#333;border:1px solid #c9c9c9;background:url(../assets/img/home/edit/input_1.png) repeat-x #fff}.user-me-page .gift-box .gift-error{color:red;margin-left:10px}.user-me-page .gift-box #imgcode{border:0;vertical-align:middle;outline:none}.user-me-page .gift-box .check-img{color:#468fa2;text-decoration:underline}.user-me-page .gift-box .btn-b1{margin:0}.user-me-page .add-address{width:778px;padding:10px;float:left}.user-me-page .add-address h2{clear:both;height:21px;line-height:21px;padding-left:23px;background:url(../assets/img/home/edit/ico_arrow2.png) no-repeat 5px 5px #efefef;border:1px solid #e6e6e6;font-size:12px;color:#333;font-weight:400}.user-me-page .add-address .add-address-detail{padding:10px 0}.user-me-page .gift-ok{padding:50px 250px}.user-me-page .gift-ok h3{font-size:18px;height:22px;line-height:25px;padding-left:25px;color:#000;background:url(../assets/img/home/edit/ico_i_sf.png) no-repeat}.user-me-page .gift-ok .fail{background-position:0 -22px}.user-me-page .gift-ok .success{background-position:0 0}.user-me-page .check-safe{padding:10px 11px 11px;height:auto;overflow:hidden}.user-me-page .check-safe .progress-bar{width:780px;height:24px}.user-me-page .check-safe .progress-bar li{float:left;width:260px;color:#666;text-align:center;height:24px;line-height:24px}.user-me-page .check-safe .progress-bar li.cur{color:#fff}.user-me-page .check-safe .progress1{background:url(../assets/img/home/edit/icon-bar.png) no-repeat}.user-me-page .check-safe .progress2{background:url(../assets/img/home/edit/icon-bar.png) no-repeat 0 -24px}.user-me-page .check-safe .progress3{background:url(../assets/img/home/edit/icon-bar.png) no-repeat 0 -48px}.user-me-page .check-safe .form-nav{padding:30px 0}.user-me-page .check-safe .form-nav ul{width:690px;margin:0 auto}.user-me-page .check-safe .form-nav li{padding:10px 0;float:left}.user-me-page .check-safe .form-nav .safe-form-l{float:left;width:220px;line-height:30px;padding:0 5px;text-align:right}.user-me-page .check-safe .form-nav .safe-form-r{width:380px;line-height:30px;float:left}.user-me-page .check-safe .form-nav input[type=password],.user-me-page .check-safe .form-nav input[type=text]{height:28px;border:1px solid #bebebe;line-height:28px;padding:0 5px}.user-me-page .check-safe .form-nav .input-text{width:208px}.user-me-page .check-safe .form-nav .input-code{width:60px;margin-right:5px}.user-me-page .check-safe .form-nav #thecodeimg{border:0;vertical-align:middle;outline:none}.user-me-page .check-safe .form-nav .change-code{height:30px;padding:0 0 0 5px;line-height:15px;display:inline-block;vertical-align:middle;color:#666}.user-me-page .check-safe .form-nav .thecode{color:#468fa2}.user-me-page .check-safe .form-nav .btn-b1{margin:0}.user-me-page .check-safe .form-nav .check-info{display:inline-block;vertical-align:top}.user-me-page .check-safe .form-nav .form-error{background:url(../assets/img/home/onError.png) no-repeat 5px 9px #fff2e8;color:#e8044f;margin-left:5px}.user-me-page .check-safe .form-nav .form-error,.user-me-page .check-safe .form-nav .form-success{padding-left:25px;padding-right:5px;font-size:12px;line-height:30px;height:30px;display:inline-block}.user-me-page .check-safe .form-nav .form-success{background:url(../assets/img/home/onCorrect.png) no-repeat 5px 9px;color:green}.user-me-page .feedback dt{height:20px;line-height:20px;background:url(../assets/img/home/suggest-icon.png) no-repeat 2px 3px;padding:0 0 0 20px;float:left;font-family:arial,Microsoft YaHei;font-size:12px}.user-me-page .feedback dt a{color:#468fa2}.user-me-page .feedback dd{float:right}.user-me-page .button-top{width:66px;height:22px;padding-left:10px;line-height:21px;border:0;text-align:center;background:url(../assets/img/home/btn_top.png) no-repeat;color:#666;font-size:12px;cursor:pointer;display:inline-block}.user-me-page .rgb6{color:#666}.user-me-page .font14{font-size:14px}.user-me-page .button-icon{padding-left:5px;background:url(../assets/img/home/button-icon.png) no-repeat left 0;display:inline-block;cursor:pointer}.user-me-page .button-icon i{font-style:normal;background:url(../assets/img/home/button-icon.png) repeat-x left -33px;display:inline-block;height:33px;line-height:33px;text-align:center}.user-me-page .button-icon span{background:url(../assets/img/home/button-icon.png) no-repeat right -66px;display:inline-block;padding-right:5px}.user-me-page .button-red{background-position:left -99px;color:#fff}.user-me-page .button-red i{background-position:left -134px;width:120px}.user-me-page .button-red span{background-position:right -169px}.user-me-page .result-info{padding:30px 0;min-height:360px;width:380px;margin:0 auto}.user-me-page .result-info p{line-height:24px}.user-me-page .result-info .info-detail{margin-top:20px;text-align:left}.user-me-page .result-info .button-icon{margin-top:20px}.returns-me-page .returns .title{background-image:url(../assets/img/home/returns.png)}.returns-me-page .operation,.returns-me-page .return-status,.returns-me-page .time{width:100px;border-left:1px solid #e6e6e6}.returns-me-page .return-type{width:80px;border-left:1px solid #e6e6e6}.returns-me-page .order-table-header{padding:0;margin:10px 10px 0;border:1px solid #e6e6e6}.returns-me-page .order-table-header>span{text-align:center;border-left:none}.returns-me-page .order-table-header .info{width:384px;padding-left:10px;text-align:left}.returns-me-page .order-wrap li{border-top:none}.returns-me-page .order-wrap li .info{width:384px;padding:5px 0 5px 10px}.returns-me-page .order-wrap li .text-info{width:300px;right:0;bottom:15px}.returns-me-page .order-wrap li .text-info>*{text-align:center}.returns-me-page .order-wrap li .text-info>a:hover{text-decoration:underline}.consult-me-page .consult .title{background-image:url(../assets/img/home/consult.png)}.consult-me-page .consults{margin:10px;font-size:12px}.consult-me-page .consults-table{width:100%;border:1px solid #e6e6e6}.consult-me-page .consults-table th{height:28px;line-height:28px;background:#efefef;padding:0 5px}.consult-me-page .consults-table td{color:#666;border-top:1px solid #e6e6e6;padding:5px;line-height:18px}.consult-me-page .consults-table td .thumb{width:60px;height:60px}.consult-me-page .consults-table td a{color:#468fa2;text-decoration:none}.consult-me-page .consults-table td a:hover{text-decoration:underline}.consult-me-page .consults-table td p{padding-left:20px;margin-top:5px;color:#999}.consult-me-page .consults-table td .question{color:#e9034e;background:url(../assets/img/home/consult-wd.png) no-repeat -13px 2px}.consult-me-page .consults-table td .reply{color:#390;background:url(../assets/img/home/consult-wd.png) no-repeat 0 -25px}.complaint-me-page{font-size:12px}.complaint-me-page .complaint .title{background-image:url(../assets/img/home/complaints.png)}.complaint-me-page .me-complaints{padding-top:10px}.complaint-me-page .me-complaints .empty-tip{padding:100px 0}.complaint-me-page .complaint-form{padding:10px}.complaint-me-page .complaint-form h2{clear:both;height:21px;line-height:21px;padding-left:23px;background:url(../assets/img/home/complaint-icon.png) no-repeat 5px 5px #efefef;border:1px solid #e6e6e6;font-size:12px;color:#333;font-weight:400}.complaint-me-page .complaint-form .form-content{font-size:12px;padding:7px 0}.complaint-me-page .complaint-form .form-content dl{padding:7px 5px;line-height:22px}.complaint-me-page .complaint-form .form-content dt{width:75px;color:#333;text-align:right;float:left}.complaint-me-page .complaint-form .form-content dd>input{height:18px;line-height:18px;color:#333;border:1px solid #c9c9c9;background:url(../assets/img/home/input-back.png) repeat-x;vertical-align:top}.complaint-me-page .complaint-form .form-content dd>textarea{color:#333;border:1px solid #c9c9c9;background:url(../assets/img/home/input-back.png) repeat-x;vertical-align:top;overflow:auto}.complaint-me-page .complaint-form .form-submit>input{width:138px;height:34px;margin-left:80px;border:0;background:url(../assets/img/home/submit-btn.png) no-repeat;color:#fff;font-size:14px;font-weight:700;padding-right:20px;cursor:pointer;display:inline-block}.order-ensure-page{width:990px;margin:40px auto}.order-ensure-page .order-edit{width:100%;position:relative;margin-bottom:35px}.order-ensure-page .order-edit .order-title ul{display:block;background-image:url(../assets/img/sprite.order.png);background-position:-202px 0;width:364px;height:12px;position:absolute;right:0;top:0}.order-ensure-page .order-edit .order-title ul li{display:block;width:33.33333333%;float:left;font-size:12px;color:#999;height:50px;line-height:50px;text-align:center;position:relative}.order-ensure-page .order-edit .order-title ul li.active{color:#333}.order-ensure-page .order-edit .order-title ul li.active:after{display:block;content:'';background-image:url(../assets/img/sprite.order.png);background-position:-202px -14px;width:12px;height:12px;position:absolute;left:50%;margin-left:-6px;top:0}.order-ensure-page .order-edit .order-title ul li.active.first:after{left:0;margin-left:0}.order-ensure-page .order-edit .order-title ul li.active.end:after{right:0;margin-left:0}.order-ensure-page .order-edit .order-title ul li.first{text-align:left}.order-ensure-page .order-edit .order-title ul li.end{text-align:right}.order-ensure-page .order-edit .order-edit-main{border:1px solid #ccc;margin-top:30px}.order-ensure-page .order-edit .order-edit-main h2.title{height:30px;line-height:30px;background:#000;color:#fff;font-size:12px;text-indent:15px}.order-ensure-page .order-edit .order-edit-main .order-content{padding:5px 30px;font-size:12px;color:#333}.order-ensure-page .order-edit .order-edit-main .order-content .order-selection{border-bottom:1px dashed #ccc;padding:15px 0}.order-ensure-page .order-edit .order-edit-main .order-content .order-selection h2{font-size:14px;color:#000}.order-ensure-page .order-edit .order-edit-main .order-content .order-selection h2 span{color:#e8044f;text-decoration:underline;cursor:pointer}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul{padding:15px 0}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul li{padding:10px 0}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul li strong{font-weight:700;margin-right:15px}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul li input.radio{margin:0;vertical-align:middle}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .address-list ul .order-modify-btn span{text-decoration:underline;cursor:pointer;float:right}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul .order-modify-btn span.address-modify{float:left}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul.exist-address-list li{border:1px solid #fff;padding-left:15px}.order-ensure-page .order-edit .order-edit-main .order-content .address-list ul.exist-address-list li.active{background:#dbedf7;border:1px solid #8fb8e0}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .address-manage{border-top:1px dashed #ccc}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li{height:25px;line-height:25px}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li .address-legend{width:80px;text-align:right;display:inline-block;color:#333}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li .address-legend i{color:#e8044f}.order-ensure-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}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li select.text-input{width:100px}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .address-manage li .address-tel-input input{text-align:left;float:right;width:120px}.order-ensure-page .order-edit .order-edit-main .order-content .address-manage li .address-tel-input input.tel-lengend{float:left;width:40px}.order-ensure-page .order-edit .order-edit-main .order-content .pay-btn,.order-ensure-page .order-edit .order-edit-main .order-content .save-btn{display:block;font-size:14px;color:#fff;font-weight:700;text-indent:25px;cursor:pointer}.order-ensure-page .order-edit .order-edit-main .order-content .save-btn{background-image:url(../assets/img/sprite.order.png);background-position:0 0;width:200px;height:34px;line-height:34px}.order-ensure-page .order-edit .order-edit-main .order-content .pay-btn{background-image:url(../assets/img/sprite.order.png);background-position:0 -36px;width:119px;height:34px;line-height:34px}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time ul{padding:15px}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time ul li{margin:10px 0}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time ul li input.radio{margin:0;vertical-align:middle}.order-ensure-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-ensure-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);position:absolute;top:7px;left:8px}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-type-tips{color:#999}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify span.pay-type-legend{margin:0;color:#468fa2;cursor:pointer}.order-ensure-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);display:inline-block;transition:transform .3}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify span.pay-type-legend.active:after{transform:rotate(180deg)}.order-ensure-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-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .support-type h4{padding:10px 0 10px 15px}.order-ensure-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-ensure-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-ensure-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-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-recommend{font-size:0}.order-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-recommend .pay-type-legend,.order-ensure-page .order-edit .order-edit-main .order-content .pay-time .pay-time-modify .pay-recommend .support-type{font-size:12px}.order-ensure-page .order-edit .order-edit-main .order-content .select-express{border-bottom:none}.order-ensure-page .order-edit .order-edit-main .order-content .select-express .express-list{padding-left:15px;margin:10px 0}.order-ensure-page .order-edit .order-edit-main .order-content .select-express .express-list input.radio{margin:0;vertical-align:middle}.order-ensure-page .order-edit .order-edit-main .order-content .select-express .express-tips{color:#999}.order-ensure-page .order-edit:before{content:'';display:block;background-image:url(../assets/img/sprite.order.png);background-position:-121px -36px;width:117px;height:33px}.order-ensure-page .order-edit.order-cart:before{background-image:url(../assets/img/sprite.order.png);background-position:-240px -36px}.order-ensure-page .order-pay{width:100%}.order-pay{font-size:12px;line-height:150%}.order-pay .pay-wapper{border:1px solid #ccc;border-top:noen}.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:700}.order-pay thead .clo1{width:10%}.order-pay thead .clo2{width:20%}.order-pay thead .clo4{width:40%}.order-pay .pay-pro-icon{float:left;width:60px;height:60px;display:block;position:relative}.order-pay .pay-pro-icon span{width:100%;height:16px;line-height:16px;position:absolute;left:0;bottom:0;text-align:center;color:#fff;display:block;cursor:pointer}.order-pay .pay-pro-icon .incentive{background:#f74a87}.order-pay .pay-pro-icon .gift{background:#9c3;display:none}.order-pay .pay-pro-info{color:#999;margin-left:70px;text-align:left}.order-pay .pay-pro-info a{color:#468fa2;text-decoration:none;display:block}.order-pay .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:700;color:#000}.order-pay .play-content .pan dt{width:105px;height:30px;padding:0 0 0 30px;line-height:30px;text-align:left;border:0;color:#fff;display:inline-block;cursor:pointer;background:url(../assets/img/order/btn-openclose.png) no-repeat 0 -60px;margin-bottom:5px}.order-pay .play-content .pan dd{display:none;border:1px solid #ccc;padding:10px 15px;margin-bottom:10px}.order-pay .play-content .dropdown,.order-pay .play-content .textbox{height:20px;line-height:20px;color:#333;border:1px solid #c9c9c9;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(../assets/img/order/btn-openclose.png) no-repeat 0 0}.order-pay .play-content .play-piao-pan li{height:25px;padding:10px 0;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 .pan{text-align:right}.order-pay .play-content .play-total{text-align:right;padding-bottom:20px}.order-pay .play-content .play-total label{padding-right:10px}.order-pay .play-content .play-total em{width:80px;text-align:left;display:inline-block}.order-pay .play-content .play-total a{color:#468fa2;text-decoration:underline}.order-pay .play-content .play-juan-pan dd{text-align:left}.order-pay .play-content .play-juan{padding:10px 0}.order-pay .play-content .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 0;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 0 40px}.order-pay .to-play .btn-group .submit{float:right;width:133px;height:33px;padding:0;text-align:center;border:0;line-height:33px;font-size:14px;color:#fff;font-weight:700;background:url(../assets/img/order/btns.png) no-repeat 0 -33px;display:inline-block;cursor:pointer}.order-ensure-page .order-title{margin-top:30px;height:auto;overflow:hidden}.order-ensure-page .salesPromotion{width:990px;height:36px;border-bottom:1px solid #ccc;font-size:12px}.order-ensure-page .salesPromotion p{width:800px;height:36px;line-height:36px;float:left;padding:0 10px}.order-ensure-page .salesPromotion p b{margin-right:5px;background:#6c6c6c;border-radius:4px;padding:1px 5px;color:#fff}.order-ensure-page .salesPromotion span{width:150px;height:36px;padding:0 10px;line-height:36px;float:right;text-align:right;position:relative}.order-ensure-page .salesPromotion span i{position:absolute;top:11px;left:108px;float:left;width:13px;height:13px;background-image:url(../assets/img/sprite.cart.png);background-position:-357px -71px}.order-ensure-page .cartnew-tips{height:auto;overflow:hidden;font-size:12px}.order-ensure-page .cartnew-tips .tipsbox{width:648px;height:23px;line-height:18px;padding:4px 5px 4px 10px;color:#666;background:url(http://static.yohobuy.com/images/cartnew_tipsbox.png) no-repeat;position:relative;float:left}.order-ensure-page .cartnew-tips .tipsbox .btn_close{width:17px;height:17px;padding:0;background:url(http://static.yohobuy.com/images/i_close_f.png) no-repeat;float:right;cursor:pointer}.order-ensure-page .cartnew-tips .tipsbox strong{color:#000;font-weight:700}.order-ensure-page .cartnew-tips .tipsbox a{color:#468fa2}.order-ensure-page .pay-wapper{position:relative}.order-ensure-page .pay-wapper .fold,.order-ensure-page .pay-wapper .none{display:none}.order-ensure-page .pay-wapper .presell{color:#c21250;display:block}.order-ensure-page .pay-wapper .pay-pro-info{padding-left:5px;float:left;margin:0}.order-ensure-page .pay-wapper .pre-sell-box .cart-empty{border:none;padding:100px 0 100px 260px;background:url(../assets/img/cart/cart_empty.gif) 200px 56px no-repeat}.order-ensure-page .pay-wapper .pre-sell-box .cart-empty a{display:inline-block;width:90px;height:35px;background-image:url(../assets/img/sprite.cart.png);background-position:-237px -106px;overflow:hidden;color:#666;line-height:32px}.order-ensure-page .pay-wapper .pre-sell-box .pre-sell-title{background:#fff9d9}.order-ensure-page .pay-wapper .pre-sell-box .incentive{background:#000100;color:#fff}.order-ensure-page .pay-wapper .tip-message{background:#e8044f;color:#fff;font-size:12px}.order-ensure-page .pay-wapper .cart-product-num{font-size:12px;text-align:left;height:33px;line-height:33px;background:#f8f8f8;padding:0 10px;position:relative}.order-ensure-page .pay-wapper .cart-product-num strong{padding-left:20px;font-weight:700}.order-ensure-page .pay-wapper .cart-product-num .icon-minus{background-position:-253px -202px}.order-ensure-page .pay-wapper .cart-product-num .icon-add,.order-ensure-page .pay-wapper .cart-product-num .icon-minus{position:absolute;top:9px;left:15px;float:left;width:15px;height:15px;background-image:url(../assets/img/sprite.cart.png)}.order-ensure-page .pay-wapper .cart-product-num .icon-add{background-position:-237px -202px}.order-ensure-page .pay-wapper .cart-product-num .cart-unfold{position:absolute;top:0;right:10px}.order-ensure-page .pay-wapper .cart-product-num .cart-unfold i{width:28px;height:20px;overflow:hidden;display:inline-block;margin-top:5px}.order-ensure-page .pay-wapper .cart-product-num .cart-btn-pre{background-image:url(../assets/img/sprite.cart.png);background-position:-332px -143px}.order-ensure-page .pay-wapper .cart-product-num .cart-btn-next{background-image:url(../assets/img/sprite.cart.png);background-position:-329px -106px}.order-ensure-page .pay-wapper .cart-product-num .unfold-color{color:#666;cursor:pointer}.order-ensure-page .pay-wapper .cart-product-num .cart-page p{float:left;padding-right:5px}.order-ensure-page .pay-wapper .cart-product-num .cart-page .f-red{color:red}.order-ensure-page .pay-wapper .cart-product-num input{position:relative;top:2px}.order-ensure-page .pay-wapper input.cart-item-check{float:left;margin-top:25px}.order-ensure-page .pay-wapper .adjust-cart-num input{width:30px;margin:0 5px;text-align:center}.order-ensure-page .pay-wapper .adjust-cart-num span{display:inline-block;width:11px;height:11px;cursor:pointer;font-size:10px}.order-ensure-page .pay-wapper .cart-add-btn{width:118px;height:32px;display:inline-block;overflow:hidden;border:0;cursor:pointer;background-image:url(../assets/img/sprite.cart.png);background-position:-237px -71px;line-height:32px}.order-ensure-page .pay-wapper .cart-del-btn,.order-ensure-page .pay-wapper .cart-remove-btn{height:22px;line-height:21px;padding:0 10px;display:inline-block;cursor:pointer;color:#666;position:relative}.order-ensure-page .pay-wapper .cart-del-btn span,.order-ensure-page .pay-wapper .cart-remove-btn span{position:relative;z-index:8}.order-ensure-page .pay-wapper .cart-del-btn:after,.order-ensure-page .pay-wapper .cart-remove-btn:after{content:'';display:block;width:16px;height:100%;background-image:url(../assets/img/sprite.cart.png);background-position:-339px -178px;position:absolute;right:0;top:0;z-index:6}.order-ensure-page .pay-wapper .cart-del-btn:before,.order-ensure-page .pay-wapper .cart-remove-btn:before{content:'';display:block;width:100%;height:100%;background-image:url(../assets/img/sprite.cart.png);background-position:0 -225px;position:absolute;left:0;top:0}.order-ensure-page .cartnew-sum{background:#efefef;border:1px solid #ccc;padding:10px;margin-bottom:10px;zoom:1;margin-top:20px;height:auto;overflow:hidden;font-size:12px}.order-ensure-page .cartnew-sum .left{float:left}.order-ensure-page .cartnew-sum .left a{color:#333;margin-left:20px}.order-ensure-page .cartnew-sum .left input{position:relative;top:2px}.order-ensure-page .cartnew-sum .right{float:right;text-align:right}.order-ensure-page .cartnew-sum .right strong{color:#e8044f;font-size:18px}.order-ensure-page .cartnew-sum .sum{color:#333;font-weight:700;padding-bottom:5px}.order-ensure-page .cartnew-submit{padding:10px 0 40px;text-align:right;position:relative}.order-ensure-page .cartnew-submit .btn_continue{width:60px;padding:0 0 0 33px;text-align:left;color:#333;background-position:-237px -143px;float:left}.order-ensure-page .cartnew-submit .btn_account,.order-ensure-page .cartnew-submit .btn_continue{height:33px;border:0;line-height:33px;font-size:14px;font-weight:700;background-image:url(../assets/img/sprite.cart.png);display:inline-block;cursor:pointer}.order-ensure-page .cartnew-submit .btn_account{width:133px;padding:0;text-align:center;color:#fff;background-position:-237px 0;float:right}.order-ensure-page .cartnew-submit .go_cash_tips{font-size:12px;width:200px;padding:5px 7px 0 28px;height:45px;position:absolute;right:135px;top:10px;text-align:left;color:#e8044f;background-image:url(../assets/img/sprite.cart.png);background-position:0 0;display:block}.order-ensure-page .cartnew-submit .btn_account_disabled{width:133px;height:33px;padding:0;text-align:center;border:0;line-height:33px;font-size:14px;color:#ccc;font-weight:700;background-image:url(../assets/img/sprite.cart.png);background-position:-237px -36px;display:inline-block;cursor:pointer;display:none}.order-ensure-page .cartnew-goodslist{margin-bottom:10px;font-size:12px;border:1px solid #ccc}.order-ensure-page .cartnew-goodslist .title{height:20px;padding:8px 10px;background:#efefef}.order-ensure-page .cartnew-goodslist .title h2{height:20px;line-height:20px;font-size:12px;float:left;cursor:pointer}.order-ensure-page .cartnew-goodslist .title h2 i{width:15px;height:15px;display:inline-block;background-image:url(../assets/img/sprite.cart.png);background-position:-253px -202px;position:relative;top:4px}.order-ensure-page .cartnew-goodslist .right{float:right}.order-ensure-page .cartnew-goodslist .btn_type1{border:1px solid red;display:inline-block;height:22px;padding:0 0 0 2px;overflow:hidden}.order-ensure-page .cartnew-goodslist .btn_type1 a{display:inline-block;height:22px;padding:0 10px;border:none;overflow:visible;cursor:pointer;margin:0;color:#666}.order-ensure-page .cartnew-goodslist .btn_type1 a span{line-height:22px;font-weight:400;color:#666}.order-ensure-page .cartnew-goodslist .pageprev a span{background-position:-332px -143px}.order-ensure-page .cartnew-goodslist .pagenext a span,.order-ensure-page .cartnew-goodslist .pageprev a span{width:4px;height:7px;background-image:url(../assets/img/sprite.cart.png);text-indent:-3000px;overflow:hidden;margin-top:7px;padding-right:4px;display:block}.order-ensure-page .cartnew-goodslist .pagenext a span{background-position:-329px -106px}.order-ensure-page .cartnew-goodslist .main{height:230px;border-top:1px solid #e3e3e3;display:block}.order-ensure-page .cartnew-goodslist .main ul{height:auto;width:100%;overflow:hidden}.order-ensure-page .cartnew-goodslist .main li{width:16.6667%;box-sizing:border-box;height:230px;border-right:1px solid #e3e3e3;float:left}.order-ensure-page .cartnew-goodslist .main li.end{border:none}.order-ensure-page .cartnew-goodslist .main .list{width:100px;padding:10px 0 0;margin:0 auto}.order-ensure-page .cartnew-goodslist .main .thumb{height:110px}.order-ensure-page .cartnew-goodslist .main .name{height:35px;overflow:hidden;font-size:12px}.order-ensure-page .cartnew-goodslist .main .name h3{height:30px;line-height:15px;font-size:12px;font-weight:400;color:#333;cursor:pointer;overflow:hidden}.order-ensure-page .cartnew-goodslist .main .name a{color:#333;text-decoration:underline}.order-ensure-page .cartnew-goodslist .main .price{color:#333;height:25px;line-height:25px;font-weight:700;white-space:nowrap;overflow:hidden;font-size:12px}.order-ensure-page .cartnew-goodslist .main .op{text-align:center;padding:0 0 5px}.order-ensure-page .cartnew-goodslist .main .btn_view_s{width:100px;height:22px;background-image:url(../assets/img/sprite.cart.png);background-position:-237px -178px;display:inline-block;border:0}.goods-detail{position:absolute;top:10%;left:50%;z-index:9;width:650px;height:auto;border:1px solid #ccc;border-radius:5px;background:#fff;margin-left:-325px;display:none}.goods-detail .detail-header{display:block;font-size:12px;line-height:16px;text-align:center;color:#fff;margin-top:5px;box-sizing:border-box;padding-right:5px;height:16px}.goods-detail .detail-header .colse{float:right;width:46px;height:16px;background:#ccc;border-radius:2px}.goods-detail .detail-header .colse:hover{background:#414141}.goods-detail .detail-body{width:610px;padding:15px;margin:0 auto}.goods-detail .detail-body .detail-bigpic{width:290px;padding-bottom:15px;float:left}.goods-detail .detail-body .detail-bigpic .bigpic{width:210px;height:280px;display:block;margin:0 auto 10px}.goods-detail .detail-body .detail-bigpic .bigpic img{width:100%;height:auto}.goods-detail .detail-body .detail-bigpic .piclist{height:65px}.goods-detail .detail-body .detail-bigpic .piclist span{width:10px;height:60px}.goods-detail .detail-body .detail-bigpic .piclist .pre{background-image:url(../assets/img/sprite.cart.png);background-position:0 -248px;float:left}.goods-detail .detail-body .detail-bigpic .piclist .con{width:260px;height:65px;overflow:hidden;float:left;margin-left:5px}.goods-detail .detail-body .detail-bigpic .piclist .con li{float:left;width:60px;height:60px;border:1px solid #ccc;margin:1px;vertical-align:top}.goods-detail .detail-body .detail-bigpic .piclist .con li img{width:100%;height:auto}.goods-detail .detail-body .detail-bigpic .piclist .con .active{width:58px;height:58px;border:2px solid #333}.goods-detail .detail-body .detail-bigpic .piclist .next{background-image:url(../assets/img/sprite.cart.png);background-position:-12px -248px;float:right}.goods-detail .detail-body .detail-info{width:300px;float:right;padding-bottom:15px}.goods-detail .detail-body .detail-info .title{padding:5px 0}.goods-detail .detail-body .detail-info .title h2{width:300px;color:#000;font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden}.goods-detail .detail-body .detail-info .type{padding-bottom:10px}.goods-detail .detail-body .detail-info .type .type-s{background:#ccc;padding:0 5px;color:#fff;font-size:12px;height:15px;line-height:15px;display:inline-block}.goods-detail .detail-body .detail-info .price{padding:0 0 10px;margin-bottom:10px;border-bottom:1px solid #000}.goods-detail .detail-body .detail-info .price .oldprice{color:#999;font-size:14px;font-weight:700;display:block;padding-bottom:5px}.goods-detail .detail-body .detail-info .price .newprice{color:#000;font-size:14px;font-weight:700;display:block;height:30px;line-height:30px;padding:0 0 5px}.goods-detail .detail-body .detail-info .price .newprice b{font-size:22px;font-family:arial}.goods-detail .detail-body .detail-info .order{color:#000;font-size:12px}.goods-detail .detail-body .detail-info .order dd{width:55px;float:left;padding-bottom:8px}.goods-detail .detail-body .detail-info .order dt{width:245px;float:left;padding-bottom:8px}.goods-detail .detail-body .detail-info .order dd.colorBox{line-height:44px}.goods-detail .detail-body .detail-info .order .colorBox{height:75px}.goods-detail .detail-body .detail-info .order .colorBox li{width:44px;height:65px;text-align:center;margin-right:4px;display:inline;float:left}.goods-detail .detail-body .detail-info .order .colorBox li a{width:40px;height:40px;border:2px solid #e8044f;margin:0;display:inline-block;position:relative}.goods-detail .detail-body .detail-info .order .colorBox li a img{width:100%;height:auto}.goods-detail .detail-body .detail-info .order .colorBox li a img:hover{opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"}.goods-detail .detail-body .detail-info .order .colorBox li span{line-height:20px}.goods-detail .detail-body .detail-info .order .showSizeBox{height:20px;line-height:18px}.goods-detail .detail-body .detail-info .order .showSizeBox a{height:17px;padding:0 10px;border:1px solid #ccc;margin:1px 5px 5px 1px;display:inline;float:left;overflow:hidden}.goods-detail .detail-body .detail-info .order .amount_wrapper{width:70px;height:20px;display:inline-block}.goods-detail .detail-body .detail-info .order .amount_wrapper .amount{width:12px;height:12px;display:inline;cursor:pointer;border:0;float:left;font-size:10px;color:#c4c4c4}.goods-detail .detail-body .detail-info .order .amount_wrapper .cut{margin:5px 5px 0 0}.goods-detail .detail-body .detail-info .order .amount_wrapper .add{margin:5px 0 0 5px}.goods-detail .detail-body .detail-info .order .amount_wrapper .mnum{width:33px;height:18px;line-height:16px;border:1px solid #c4c4c4;text-align:center;overflow:hidden;float:left;font-size:12px}.goods-detail .detail-body .detail-info .submit{padding-top:10px;float:left}.goods-detail .detail-body .detail-info .submit input{width:225px;height:45px;overflow:hidden;border:0;cursor:pointer;float:left}.goods-detail .detail-body .detail-info .submit .addcart{background-image:url(../assets/img/sprite.cart.png);background-position:0 -146px}.goods-detail .detail-body .detail-info .submit .btn_pre_sale{background-image:url(../assets/img/sprite.cart.png);background-position:0 -52px}.goods-detail .detail-body .detail-info .submit .btn_sellout{background-image:url(../assets/img/sprite.cart.png);background-position:0 -99px}.goods-detail .detail-body .detail-info .submit .fav_count{background-image:url(../assets/img/sprite.cart.png);background-position:0 -193px;height:30px}.goods-detail .detail-body .detail-size{float:left;border-top:1px dashed #ccc;width:100%;height:auto;padding-bottom:15px}.goods-detail .detail-body .detail-size h3{height:35px;line-height:35px;font-size:14px}.goods-detail .detail-body .detail-size h3 span{font-size:12px}.goods-detail .detail-body .detail-size table{width:100%;height:auto;border:1px solid #ccc;margin-bottom:5px;font-size:12px}.goods-detail .detail-body .detail-size table td{border:1px solid #fff;padding:3px;font-weight:400;background:#fbfbfb;text-align:center;padding:8px 3px}.goods-detail .detail-body .detail-size table tr:nth-of-type(even) td{background:#f4f4f4}.goods-detail .detail-body .detail-size .size-info{font-size:12px;color:#999} \ No newline at end of file diff --git a/web-static/dist/yohobuy/0.0.7/index.js b/web-static/dist/yohobuy/0.0.7/index.js new file mode 100644 index 0000000..2e294d5 --- /dev/null +++ b/web-static/dist/yohobuy/0.0.7/index.js @@ -0,0 +1,4 @@ +define("index",["jquery","handlebars","source-map","index","lazyload","dot","jquery.placeholder"],function(e,t,a){var n;e("js/common"),e("js/header"),e("js/simple-header"),e("js/product/entry"),e("js/index/index"),e("js/brand/index"),e("js/passport/entry"),e("js/order/ensure"),a.exports=n}),define("js/common",["jquery"],function(e,t,a){function n(e){var t=new RegExp(e+"=([^;$]*)","i"),a="$1";return t.test(decodeURIComponent(document.cookie))?RegExp[a]:""}function i(e,t,a){var n,i,o,s,r="";"undefined"!=typeof t&&(a=a||{},null===t&&(t="",a.expires=-1),a.expires&&("number"==typeof a.expires||a.expires.toUTCString)&&("number"==typeof a.expires?(s=new Date,s.setTime(s.getTime()+24*a.expires*60*60*1e3)):s=a.expires,r="; expires="+s.toUTCString()),n=a.path?"; path="+a.path:"",i=a.domain?"; domain="+a.domain:"",o=a.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(t),r,n,i,o].join(""))}function o(){var e,t=n("_UID");return"undefined"==typeof t?0:(e=t.split("::"),"undefined"==typeof e||e.length<4?0:e)}function s(){var e=o();return 0===e?0:e[1]}function r(){var e=n("_g");return"undefined"==typeof e?"":JSON.parse(e).k}function d(){var e,t,a={},n=window.location.search,i=n?decodeURIComponent(n).slice(1).split("&"):[];for(t=0;t<i.length;t++)e=i[t].split("="),a[e[0]]=e[1];return a}var l=e("jquery"),c=l("body");e("js/footer"),function(e,t,a,n,i){var o=t.createElement(a),s=t.getElementsByTagName(a)[0];e.YohoAcquisitionObject=i,e[i]=function(){e[i].p=arguments},o.async=1,o.src=n,s.parentNode.insertBefore(o,s)}(window,document,"script","http://cdn.yoho.cn/yas-jssdk/1.0.14/yas.js","_yas"),function(){var e=s();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.14","yohobuy_web",e,"","")}(),l(window).on("resize",function(){var e=l(this).width();1360>e?l(".return-top").addClass("min"):l(".return-top").removeClass("min"),1180>e?c.addClass("min-screen"):c.removeClass("min-screen")}).trigger("resize"),window.cookie=n,window.setCookie=i,window.getUser=o,window.getUid=s,window.getShoppingKey=r,window.queryString=d}),define("js/footer",["jquery"],function(e,t,a){function n(){var e=s("#subscriber-box"),t=s("#subscriber-btn"),a=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/,n={mail:"",tick:""};e.focus(function(){s(this).val("").css("color",""),t.removeClass("done").html(n.mail)}),t.click(function(){var i=s.trim(e.val());if(""!==i&&a.test(i))try{s.ajax({url:"http://new.yohobuy.com/common/emailsubscriber",dataType:"jsonp",data:{email:i,tmp:Math.random(),uid:window.getUid()},success:function(a){1===a.data.result?(e.val("已订阅到:"+i),t.addClass("done").html(n.tick)):e.css("color","red")}})}catch(o){console.log(o.message)}else e.css("color","red")})}function i(){var e=s(".vote"),t=s("#feed-back-page"),a=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 n=s(this),i=n.closest("li"),o=i.index(),r=[],d=i.find(".feedback-answer").val(),l=i.find(".feedback-id").val(),c=i.find(".question-id").val();i.find(":checked").each(function(){r.push(s(this).val())}),s.ajax({url:"http://new.yohobuy.com/common/suggestfeedback",dataType:"jsonp",data:{feedback_id:l||0,question_id:c||0,answer:d||"",solution:r.join(",")},success:function(n){var s=o+1;if(1===~~n.data.result){if(o===a-1)return void alert("感谢您的参与!");i.addClass("hide"),e.children(":eq("+(o+1)+")").removeClass("hide"),t.children(".cur").removeClass("cur"),t.children(":eq("+s+")").addClass("cur")}}})})}function o(){s(window).height()>s(document).height()&&r.addClass("hide")}var s=e("jquery"),r=s(".return-top");r.click(function(){s("html,body").animate({scrollTop:0},500)}),s(window).scroll(function(){0===s(window).scrollTop()?r.addClass("hide"):r.removeClass("hide")}),r.hasClass("hide")&&s("img").load(o),n(),i(),window.rePosReturnTop=o}),define("js/header",["jquery","handlebars","source-map","index"],function(e,t,a){function n(e,t,a){try{te.push({louceng:e,weizhi:t,event:a})}catch(n){}}function i(){var e=G("#nav_keyword").text(),t="vans",a=G("#query_key");""!==e?(a.css({color:"#000"}),a.val(e)):(a.css({color:"#e0e0e0"}),a.val(t),a.on("focus",function(e){a.css({color:"#000"}),a.val("")}))}function o(){var e={cookie:"_g",cartNum:""},t="",a="",n=0,i=0,o=0,s=0,r="";G.fn.miniCart=function(n){if(t=G.extend(e,n),"undefined"==typeof window.cookie(t.cookie))a=null;else if(t.cookie)try{a=V.parse(window.cookie(t.cookie))}catch(i){}null!==a&&""!==a&&(s=parseInt(a._nac)+parseInt(a._ac),0===s?G("#icart-num").attr("class","icart-num icart-none"):G("#icart-num").attr("class","icart-num"),G(t.cartNum).html(s))},G.fn.search=function(e){function t(t){var a=G.trim(G(t).val());return a=a.replace(new RegExp("'","gm"),""),""===a?(G(".search-list").hide(),!1):(a=encodeURI(a),void G.get(e+"?query="+a,function(e){G(".search-list").html(e.data),n=G(".search-list").children("li").length,i=-1,n>0?G(".search-list").show():G(".search-list").hide(),G(".search-list").find("a").hover(function(){G(this).css("background-color","#eee")},function(){G(this).css("background-color","#fff")})},"jsonp"))}function a(e){G(".search-list li:eq("+o+")").children("a").css("background-color","#fff"),G(".search-list li:eq("+i+")").children("a").css("background-color","#eee"),r=G(".search-list li:eq("+i+")").children("a").attr("title"),G("#query_key").val(r)}return this.each(function(){G(this).keyup(function(e){if(38===e.which){if(0===n)return!1;-1===i&&(i=0),o=i,i=(i-1+n)%n,a(this)}else if(40===e.which){if(0===n)return!1;o=i,i=(i+1)%n,a(this)}else 13===e.which?window.submitSearch():t(this)})})},G.extend({getData:function(e,t,a){var n={page:1,method:"",v:1,return_type:"jsonp",open_key:"12345",tmp:Math.random()},i="";if(void 0===typeof e||""===e)return!1;if(i=G.extend(n,t),i.page=i.page||1,""===i.method)return!1;try{G.getJSON(e+"/?callback=?",i,function(e){return""!==a?("undefined"!=typeof a(e.data)&&V.parse(a(e.data)),!1):void 0})}catch(o){console.log(o.message)}},getShoppingKey:function(){var e=window.cookie("_g"),t=V.parse(e);return"undefined"==typeof e||null===e?"":t._k}})}function s(e){var t;200===+e.code&&"object"==typeof e.data&&(t=""!==e.data.url?'<a target="_blank" href="'+e.data.url+'" class="page-top-banner"style="height:36px;border:none;background-image:url('+window.unescape(e.data.src)+');background-position: center;display:block;"> </a>':'<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>',G("body").prepend(t))}function r(e){var t=document.createElement("script");t.src=le+e+"&client_type=web&callback=JsonPCallBack",document.getElementsByTagName("head")[0].appendChild(t)}function d(e,t){var a,n;G(e).hover(function(e){e.preventDefault(),a=G(this),n=G(t)[0],""===n.style.display?(a.addClass("acttags"),n.style.display="block"):(a.removeClass("acttags"),n.style.display="")})}function l(){var e,t,a=[{sourceClass:".myyoho",targetClass:".myyoho-info"},{sourceClass:".phone",targetClass:".qr"}];for(t=0;t<a.length;t++)e=a[t],d(e.sourceClass,e.targetClass)}function c(){var e;G(".yohogroup").mouseenter(function(){e=G(this),e.text(e.attr("cn"))}),G(".yohogroup").mouseleave(function(){e=G(this),e.text(e.attr("en"))})}function u(){var e,t,a=["webkit","moz","ms"];for(t=0;t<a.length;t++)return e=a[t]+"RequestAnimationFrame",window[e]?!0:!1}function h(){var e=["webkit","moz","ms"],t=e[0]+"RequestAnimationFrame",a=e[1]+"RequestAnimationFrame",n=e[2]+"RequestAnimationFrame";return window[t]?function(e){requestAnimationFrame(e)}:window[a]?function(e){window[a](e)}:window[n]?function(e){window[n](e)}:function(e){window.setTimeout(e,67)}}function p(){ne+=10,ie.css({transform:"rotateX("+ne+"deg)","-webkit-transform":"rotateX("+ne+"deg)","-moz-transform":"rotateX("+ne+"deg)"}),ne/90%2===1&&(oe?(ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo1.png)"),oe=!1):(ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),oe=!0)),ne/90%2===0&&ne%360!==0?window.setTimeout(p,3e3):ne%360===0?window.setTimeout(p,6e4):ae(function(){p()})}function f(){H&&window.clearTimeout(H),ie.fadeOut(se,function(){oe=!1,ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo.png)"),ie.fadeIn(se,function(){N=window.setTimeout(function(){ie.fadeOut(se,function(){window.clearTimeout(N),oe=!0,ie.css("background-image","url(http://static.yohobuy.com/newheader/img/logo_e.png)"),ie.fadeIn(se,function(){H=window.setTimeout(f,6e4)})})},3e3)})})}function m(){u()?(ae=h(),window.setTimeout(p,3e3)):window.setTimeout(f,3e3)}function g(e){var t=G(e);t.find(".thirdnavbar").each(function(){var e=G(this),t=e.find("a"),a=t.attr("href"),n="hot"===t.attr("hot")?!0:!1,i={};i=e.hasClass("category-title")?{type:"title",height:49,content:e.text(),index:window.valueIndex,href:a,hot:!1}:{type:"catlist",height:36,content:t.text(),index:window.valueIndex,href:a,hot:n},window.valueIndex++,window.newArr.push(i)})}function v(){var e=window.newArr.length,t=0,a=[],n=[],i=[],o=[],s="",r="",d="",l=0,c=0,u=0;for(t;e>t;t++){if(a=window.newArr[t],0===window.gindex&&(window.oh1=window.oh1+a.height,window.oh1>=340&&t!==e-1&&(window.targetArr1=window.newArr.slice(0,a.index+1),window.nowIndex=a.index+1,window.gindex++),t===e-1)){window.targetArr1=window.newArr.slice(0,e+1);break}if(1===window.gindex&&(window.oh2=window.oh2+a.height,window.oh2>=340&&t!==e-1&&(window.targetArr2=window.newArr.slice(window.nowIndex,a.index+1),window.nowIndex=a.index+1,window.gindex++),t===e-1)){window.targetArr2=window.newArr.slice(window.nowIndex,e+1);break}if(2===window.gindex){if(window.oh3=window.oh3+a.height,window.oh3>=340&&t!==e-1){window.targetArr3=window.newArr.slice(window.nowIndex,a.index+1),window.nowIndex=a.index+1,window.gindex++;break}if(t===e-1){window.targetArr3=window.newArr.slice(window.nowIndex,e+1);break}}}for(l;l<window.targetArr1.length;l++)n=window.targetArr1[l]||{},"title"===n.type?window.inner1=window.inner1+'<li class="cattitle"><h3><a href="'+n.href+'">'+n.content+"</a></h3></li>":n.hot===!0?window.inner1=window.inner1+'<li class="catdetail"><a class="thirdcatelink hot" href="'+n.href+'">'+n.content+"</a></li>":window.inner1=window.inner1+'<li class="catdetail"><a class="thirdcatelink" href="'+n.href+'">'+n.content+"</a></li>";for(c;c<window.targetArr2.length;c++)i=window.targetArr2[c]||{},"title"===i.type?window.inner2=window.inner2+'<li class="cattitle"><h3><a href="'+i.href+'">'+i.content+"</a></h3></li>":i.hot===!0?window.inner2=window.inner2+'<li class="catdetail"><a class="thirdcatelink hot" href="'+i.href+'">'+i.content+"</a></li>":window.inner2=window.inner2+'<li class="catdetail"><a class="thirdcatelink" href="'+i.href+'">'+i.content+"</a></li>";for(u;u<window.targetArr3.length;u++)o=window.targetArr3[u]||{},"title"===o.type?window.inner3=window.inner3+'<li class="cattitle"><h3><a href="'+o.href+'">'+o.content+"</a></h3></li>":o.hot===!0?window.inner3=window.inner3+'<li class="catdetail"><a class="thirdcatelink hot" href="'+o.href+'">'+o.content+"</a></li>":window.inner3=window.inner3+'<li class="catdetail"><a class="thirdcatelink" href="'+o.href+'">'+o.content+"</a></li>";""!==window.inner1&&(s='<ul class="cate_row1 cate_row">'+window.inner1+"</ul>"),""!==window.inner2&&(r='<ul class="cate_row2 cate_row">'+window.inner2+"</ul>"),""!==window.inner3&&(d='<ul class="cate_row3 cate_row">'+window.inner3+"</ul>"),window.finalresult=s+r+d,G("#"+window.wrapperindex).empty().append(window.finalresult)}function w(){G(".categorywrapper").each(function(e){window.wrapperindex=G(this).attr("id"),window.newArr=[],window.gindex=0,window.targetArr1=[],window.targetArr2=[],window.targetArr3=[],window.oh1=0,window.oh2=0,window.oh3=0,window.valueIndex=0,window.nowIndex=0,window.inner1="",window.inner2="",window.inner3="",g(G(this).find(".category")),v()})}function y(){var e={},t="",a="",n="",i="",o="";G(document).on("mouseenter",".sub-nav-item",function(){t=G(this).find(".showdetail").attr("data-code"),t&&(e[t]||(e[t]=t,a=G(this).find(".showdetail").find("img"),n=G(this).find(".showdetail").find(".title"),i=G(this).find(".showdetail").find("a"),G.get(le+t+"&width=337&height=250&client_type=web",function(e){a.attr("src",e.data.src),i.attr("href",e.data.url),n.text(e.data.title)},"jsonp")))}),o=G(".cure").find(".name-cn").find("a").attr("href"),G(".main-link").attr("href",o)}function b(){var e=G("#cover");e.remove()}function C(){var e,t=window.cookie("_Gender"),a="",i="",o="",s="";"http://www.yohobuy.com/"!==window.location.href||"undefined"!=typeof t&&""!==t&&null!==t||G.get("http://www.yohobuy.com/index/guide",function(t){a=document.createElement("div"),a.id="cover",a.innerHTML=t,document.body.appendChild(a),i=G(window).height(),o=G(".guide-box").height(),e=i/2-o/2,s=G(".guide-box .clear").find("li").length,G(".guide-box").css({width:200*s+"px",top:e+"px"}),G("#cover").bind("click",function(e){window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),G("#cover .guide-box .close").bind("click",function(e){n("弹窗","CLOSE","homepage_man"),window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),G(".boys img , .boys .go").bind("click",function(e){n("弹窗","BOYS","homepage_man"),window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7}),b()}),G(".girls img, .girls .go").bind("click",function(e){n("弹窗","GIRLS","homepage_woman"),window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:90}),window.setCookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})}),G(".lifestyle img, .lifestyle .go").bind("click",function(e){window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),n("弹窗","LIEFSTYLE","homepage_lifestyle")}),G("#cover .guide-box").bind("click",function(e){e.stopPropagation()})})}function i(){var e=G("#nav_keyword").text(),t=G("#defaultsearch").val(),a=G("#query_key");""!==e?(a.css({color:"#000"}),a.val(e)):(a.css({color:"#e0e0e0"}),a.val(t),a.on("focus",function(e){a.css({color:"#000"}),a.val("")}))}function x(){var e=window.cookie("_Gender"),t=G(".cure");"undefined"!=typeof e&&""!==e&&window.setCookie("_Gender",1,{path:"/",domain:".yohobuy.com",expires:7}),"男生"===t.find(".name-cn a").text()&&(window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7})),"女生"===t.find(".name-cn a").text()&&window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:7}),"创意生活"===t.find(".name-cn a").text()&&window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),"潮童"===t.find(".name-cn a").text()&&window.setCookie("_Channel","kids",{path:"/",domain:".yohobuy.com",expires:7})}function k(){G(".first-nav-item").click(function(){var e=window.cookie("_Gender");"undefined"!=typeof e&&""!==e&&window.setCookie("_Gender",1,{path:"/",domain:".yohobuy.com",expires:7}),"男生"===G(this).find(".name-cn a").text()&&(window.setCookie("_Gender","1,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","boys",{path:"/",domain:".yohobuy.com",expires:7})),"女生"===G(this).find(".name-cn a").text()&&(window.setCookie("_Gender","2,3",{path:"/",domain:".yohobuy.com",expires:7}),window.setCookie("_Channel","girls",{path:"/",domain:".yohobuy.com",expires:7})),"创意生活"===G(this).find(".name-cn a").text()&&window.setCookie("_Channel","lifestyle",{path:"/",domain:".yohobuy.com",expires:7}),"潮童"===G(this).find(".name-cn a").text()&&window.setCookie("_Channel","kids",{path:"/",domain:".yohobuy.com",expires:7})})}function j(){var e,t,a,n=document.cookie,i=n.split(";");for(e=0;e<i.length;e++)t=i[e].split("="),"undefined"!=typeof t[0]&&(a=t[0].replace(/\s/g,""),de[a]=t[1])}function _(){G("#miniCartBox").miniCart({cartNum:".ic-infomation"})}function $(){var e,t,a;G.getData(X,{method:"open.Shoppingcart.getCartData",shopping_key:G.getShoppingKey()},function(n){""===J&&(J=Y.compile(G("#mini-cart-tpl").html())),G("#miniCartBox").children(".gobuy-wrapper").html(J({carData:n})),0===parseInt(G(".ic-infomation").html())&&G("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>'),G("#miniCartBox .goods-list li").length<1&&(e=window.cookie("_g"),t=V.parse(e),null!==t&&(a='{"_k":"'+t._k+'","_nac":0,"_ac":0,"_r":0}',window.setCookie("_g",a,{path:"/",domain:".yohobuy.com"})),G(".ic-infomation").html(0),G("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>'))})}function q(e,t){G.getData(X,{method:"open.Shoppingcart.delone",shopping_key:G.getShoppingKey(),id:e,isreduce:t},function(e){var t=window.cookie("_g"),a=V.parse(t),n='{"_k":"'+a._k+'","_nac":'+e.total_goods_num+',"_ac":0,"_r":0}';window.setCookie("_g",n,{path:"/",domain:".yohobuy.com"}),$(),_()})}function T(){var e,t,a;G(document).on("click",".goodscardelete",function(n){e=G(this),t=e.attr("goodsid"),a=e.attr("cheapest"),q(t,a)})}function A(){var e;G(document).on("click",".mycart_i_down",function(t){e=G(this),e.toggleClass("mycart_i_up"),G("#mycartmore").slideToggle(300)})}function I(){var e,t="http://www.yohobuy.com/shopping/cart";G("#miniCartBox").on("click",function(a){e=G(a.target),e.hasClass("gobuy")&&(window.location.href=t)})}function S(e){1===e?(G("#miniCartBox").addClass("list-cur"),G(".gobuy-wrapper").show(),0!==parseInt(G(".ic-infomation").html())?(G("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-loading"><h3 class="information">加载中,请稍后</h3></div>'),$()):G("#miniCartBox .gobuy-wrapper").html('<div class="gobuy-empty"><h3 class="information">您的购物车暂无商品</h3></div>')):(G("#miniCartBox").removeClass("list-cur"),G(".gobuy-wrapper").hide())}function O(){var e;G("#miniCartBox").mouseenter(function(t){e=G(t.target),("miniCartBox"===e.attr("id")||"ic-infomation"===e.attr("class"))&&S(1)}),G("#miniCartBox").mouseleave(function(e){S(0)})}function P(){var e,t="indexkids",a="indexlifestyle",n="indexboys",i="indexgirls",o="uniquebrand",s=window.location.href,d=window.location.host,l="";-1!==s.indexOf("search")&&(l=re["search"+de._Channel]),-1!==s.indexOf("list")&&(l=re["list"+de._Channel]),-1!==s.indexOf("brands")&&(l=re["brands"+de._Channel]),-1!==s.indexOf("new")&&(l=re["new"+de._Channel]),-1!==s.indexOf("sale")&&(l=re["sale"+de._Channel]),-1!==s.indexOf("home")&&(l=re["home"+de._Channel]),-1!==s.indexOf("kids")&&(l=re[t]),(-1!==s.indexOf("woman")||-1!==s.indexOf("girls"))&&(l=re[i]),-1!==s.indexOf("lifestyle")&&(l=re[a]),-1!==s.indexOf("www.yohobuy.com")&&"/"===window.location.pathname&&(l=re[n]),e=d.split(".")[0],"list"!==e&&"search"!==e&&"www"!==e&&"new"!==e&&"item"!==e&&"guang"!==e&&(l=re[o+de._Channel]),r(l)}function z(e){G(".hot-brands").find("ul").stop().animate({opacity:0,"z-index":1},200).eq(e).animate({opacity:1,"z-index":2},200)}function M(){var e,t=0;G(".hot-brands").size()>0&&(e=G(".hot-brands").find("ul").size(),G(".hot-brands").find("ul").eq(0).css({opacity:1,"z-index":2}),G(".brands-control").on("click",".next",function(){t===e-1?t=0:t++,z(t)}),G(".brands-control").on("click",".prev",function(){0===t?t=e-1:t--,z(t)}))}function E(){setInterval(_,2e3)}function B(){var e=G("#goodcartempwarpper"),t="";e&&e.html()&&(t=G("#goodcartempwarpper").html().replace(/\\/g,""),G("#goodcartempwarpper").html(t),W=Y.compile(G("#tmpl-my-login-new").html()))}function D(){var e="http://search.yohobuy.com/api/suggest";G("#query_key").search(e)}function U(e){var t=(new Date).getTime(),a='<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>]',n='<span>Hi~<a href="http://www.yohobuy.com/home?t='+t+'">{{user_name}}</a></span> {{#if islogin}}[<a href="{{logout}}" class="list-a login-out">退出</a>]{{/if}}{{#unless islogin}}[<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>]{{/unless}}',i=G("#loginBox"),o=window.cookie("_UID"),s=e.data.profile_name,r=0,d=0,l="",c=o.split("::"),u=c[0]||" ",h="http://www.yohobuy.com/logout_",p="1",f=0,m={user_name:s,logout:h+e.data.token+".html",random:Math.random()};if(Z=Y.compile(n),"undefined"==typeof o||null===o)return i.html(a),!1;if("undefined"==typeof c||c.length<4)return i.html(a),!1;for(d;d<u.length;d++)l=u.substr(d,1),r+=/.*[\u4e00-\u9fa5]+.*$/.test(l)?2:1;if(10>=r)s=u;else{for(f=0,d;d<u.length;d++)10>f&&(l=u.substr(d,1),"*"!==l&&(f+=/.*[\u4e00-\u9fa5]+.*$/.test(l)?2:1),s+=l);s.length<u.length&&(s+="...")}h=/http:\/\//.test(c[3])?c[3].replace("www.yohobuy.com","www.yohobuy.com"):"http://www.yohobuy.com/logout_"+c[3]+".html",-1===e.result&&(p="-1"),m.islogin=p,i.html(Z(m))}function F(e){var t=e.data,a="";if(1===e.result){if(void 0===typeof t||t.length<1)return!1;"3"===t.vip.curVipInfo.curLevel&&(t.vip3=!0),G("#myYohoBox").mouseenter(function(){return G(this).addClass("acttags"),G("#myYohoBox .myyoho-info").show().html(W(t)),a=G(".myyoho-photo img").attr("data-url"),1===G._checkUrlState?void G(".myyoho-photo").show().find("img").attr("src",a):void(""!==a&&""===G._checkUrl&&G.ajax({url:a,type:"GET",complete:function(e){(200===e.status||0===e.status)&&(G(".myyoho-photo").show().find("img").attr("src",a),G._checkUrlState=1),G._checkUrl=a}}))}),G("#myYohoBox").mouseleave(function(){G(this).removeClass("acttags"),G("#myYohoBox .myyoho-info").hide()})}}function L(){var e={method:"open.passport.get"};G.getData(X,e,function(e){-1!==e.result&&(U(e),F(e))})}function R(){w(),y(),B(),C(),x(),k(),j(),o(),c(),l(),m(),P(),M(),i(),O(),_(),E(),D(),I(),T(),A(),L(),i()}var H,N,G=e("jquery"),Y=e("handlebars"),V=e("index"),W=null,Z=null,X=G("#api-domain").val(),J="",K=/^[\^\!\+\-\(\)\:\[\]\\\{\}\~\*\?\|\&\;\/]{0,}$/g,Q="",ee="",te=[],ae=null,ne=0,ie=G(".icon-logo"),oe=!0,se=500,re={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"},de={},le="http://new.yohobuy.com/common/getbanner?content_code=";G("#api-domain").remove(),window.submitSearch=function(){var e,t,a=G("#query_key").val(),i=G("#defaultsearch").val(),o="Search",s="Head Search",r="Search";if(e=G.trim(Q.toLowerCase()),t=G.trim(a.toLowerCase()),n(o,s,r),""!==ee&&""!==Q&&e===t)location.href=ee.replace("'","");else{if(!K.test(a)||""===a)return""===a&&G("#query_key").val(i),G("#searchForm").submit(),!1;location.href="http://search.yohobuy.com/error?query="+a+"&result=error"}},Y.registerHelper("timestamp",function(){return(new Date).getTime()}),Y.registerHelper("headerimg",function(e){return""===e?"http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100":e}),Y.registerHelper("equallevelthree",function(e,t){return"3"===e?t.fn(this):t.inverse(this)}),Y.registerHelper("equalzero",function(e,t){return"0"===e?t.fn(this):t.inverse(this)}),window.JsonPCallBack=s,window.newArr=[],window.wrapperindex=0,window.gindex=0,window.targetArr1=[],window.targetArr2=[],window.targetArr3=[],window.oh1=0,window.oh2=0,window.oh3=0,window.valueIndex=0,window.nowIndex=0,window.inner1="",window.inner2="",window.inner3="",window.finalresult="",R()}),define("js/simple-header",["jquery"],function(e,t,a){function n(e){var t,a,n,i=0,o=0;for(n=0;n<e.length;n++)a=e.substr(n,1),o+=/.*[\u4e00-\u9fa5]+.*$/.test(a)?2:1;if(10>=o)t=e;else{for(i=0,t="",n=0;n<e.length;n++)10>i&&(a=e.substr(n,1),"*"!==a&&(i+=/.*[\u4e00-\u9fa5]+.*$/.test(a)?2:1),t+=a);t.length<e.length&&(t+="...")}return t}function i(e){var t,a;e&&e.href&&e.href.user?(a=n(e.href.user),t='<span>Hi~</span><a href="">'+a+'</a> <a href="'+e.href.logout+'">[退出]</a>'):(a=n(e.user),t='<span>Hi~</span><a href="">'+a+'</a> <a href="http://www.yohobuy.com/signin.html">[请登录]</a><a href="http://www.yohobuy.com/reg.html">[免费注册]</a>'),r(".header-tool li").eq(0).html(t)}function o(){r.ajax({type:"GET",url:"/common/getSimpleHeader",data:{},success:function(e){200===e.code&&i(e.data)}})}function s(){o()}var r=e("jquery");r(".simple-header").size()>0&&r(".tool-options").on("mouseenter",function(){r(this).find(".tool-select").fadeIn()}).on("mouseleave",function(){r(this).find(".tool-select").fadeOut()}),s()}),define("js/product/entry",["jquery","handlebars","source-map","lazyload"],function(e,t,a){e("js/product/list"),e("js/product/brand"),e("js/product/hotrank")}),define("js/product/list",["jquery","handlebars","source-map","lazyload"],function(e,t,a){e("js/product/filter"),e("js/product/sort-pager"),e("js/product/latest-walk"),e("js/product/product")}),define("js/product/filter",["jquery","handlebars","source-map"],function(e,t,a){function n(e){e.removeClass("checked").html(w.unchecked)}function i(){b.addClass("hide"),C.removeClass("hide")}function o(){C.addClass("hide"),b.removeClass("hide")}function s(e,t){var a,n=window.queryString();n[e]=t,a="?"+decodeURIComponent(g.param(n)),window.location.href=a}function r(e){T.children(".senior-sub:eq("+m+")").addClass("hide"),A.children(".attr:eq("+m+")").removeClass("hover"),m=-1}var d,l,c,u,h,p,f,m,g=e("jquery"),v=e("handlebars"),w={unchecked:"",checked:""},y={up:"",down:""},b=g(".brand .default"),C=g(".brand .brand-panel"),x=C.find(".attr"),k=g("#brand-more"),j=g("#brand-multi"),_=g(".ud-price-range"),$=/^\d+$/,q=g(".sort-sub-wrap"),T=g(".senior-sub-wrap"),A=g(".senior-attr-wrap"),I='{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a>{{/ size}}',S={},O=g(".filter-box .size");I=v.compile(I),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(),a=e.data("id");return e.hasClass("active")?(e.removeClass("active"),q.children(":eq("+t+")").addClass("hide"),void O.addClass("hide")):(e.siblings(".active").removeClass("active"),e.addClass("active"),q.children(":not(.hide)").addClass("hide"),q.children(":eq("+t+")").removeClass("hide"),void(O.data("load")||(S[a]?(O.find(".attr-content").html(S[a]),O.removeClass("hide")):g.ajax({url:"/product/search/sortSize",data:{msort:a}}).then(function(e){"array"===g.type(e)&&e.length?(S[a]=I({size:e}),O.find(".attr-content").html(S[a]),O.removeClass("hide")):O.addClass("hide")}))))}),k.length>0&&(d=k.children("em"),l=k.children(".iconfont")),j.click(function(){"none"===C.css("display")&&k.trigger("click"),i(),C.removeClass("hide").addClass("multi"),g(this).addClass("hide"),k.addClass("hide")}),k.click(function(){var e=g(this);e.hasClass("more")?(o(),d.text("更多"),l.html(y.down)):(i(),d.text("收起"),l.html(y.up)),g(this).toggleClass("more")}),g(".brands-index").on("mouseenter","span",function(){var e=g(this),t=e.data("index");e.hasClass("hover")||(e.siblings("span.hover").removeClass("hover"),e.addClass("hover"),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")||(C.find("span.checked").each(function(){e.push(g(this).data("id"))}),s("brand",e.join(",")))}),g(".multi-select-cancel").click(function(){var e=g(this).closest(".multi");e.hasClass("brand-panel")&&(j.removeClass("hide"),k.trigger("click"),k.removeClass("hide")),e.addClass("hide").removeClass("multi"),o(),n(e.find(".checkbox.checked"))}),g(".check-container").on("click",".attr",function(){var e=g(this),t=e.find(".checkbox"),a=e.closest(".brand-panel, .senior-sub").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?a.removeClass("dis"):a.addClass("dis")}),g(".brand, .senior").on("click",".attr > a",function(e){g(this).closest(".multi").length>0&&e.preventDefault()}),g(".filter-box").on("click","li.checked, a.checked",function(e){e.preventDefault()}),_.length>0&&(c=_.find(".limit"),u=c.filter(".min"),h=c.filter(".max"),p=_.find(".price-sure"),c.keyup(function(){var e,t,a,n=g.trim(g(this).val()),i=$.test(n);i||(e=parseInt(n,10),g(this).val(isNaN(e)?"":e)),t=g.trim(u.val()),a=g.trim(h.val()),""!==t||""!==a?p.removeClass("hide"):p.addClass("hide")}),p.click(function(){var e,t=g.trim(u.val()),a=g.trim(h.val());""!==t&&""!==a&&+t>+a&&(e=a,a=t,t=e),s("price",t+","+a)})),A.on("mouseenter",".attr",function(){var e=g(this),t=e.index();e.hasClass("no-sub")||(e.addClass("hover").siblings().removeClass("hover"),T.children(".senior-sub:eq("+t+")").removeClass("hide").siblings().addClass("hide"))}).on("mouseleave",".attr",function(){var e=g(this),t=e.index();e.hasClass("no-sub")||(m=t,f=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"),a=[];e.hasClass("dis")||(t.find("span.checked").each(function(){a.push(g(this).data("id"))}),s(t.data("attr"),a.join(",")))}).on("mouseenter",function(){clearTimeout(f)}).on("mouseleave",function(){r()})}),define("js/product/sort-pager",["jquery"],function(e,t,a){var n=e("jquery"),i=n("#count-per-page"),o=i.next("ul"),s=200;n(document).click(function(e){n(e.target).closest(".page-count").length>0||o&&o.slideUp(s)}),i.click(function(){"none"===o.css("display")?o.slideDown(s):o.slideUp(s)})}),define("js/product/latest-walk",["jquery","handlebars","source-map","lazyload"],function(e,t,a){var n=e("jquery"),i=e("handlebars"),o=e("lazyload"),s=n("#latest-walk-count");!function(){var e;0!==s.length&&(e=i.compile(n("#latest-walk-tpl").html()),n.ajax({url:"http://itemapi.yohobuy.com/item/item/recentreview",dataType:"jsonp",data:{limit:s.val()},success:function(t){var a,i,s,r=[];if(200===t.code){if(a=t.data,0===a.length)return void n(".latest-walk").addClass("hide"); +for(i=0;i<a.length;i++)s=a[i],r.push({href:s.url,img:s.pic_url,name:s.product_name,salePrice:s.price,marketPrice:s.market_price});r.length>0&&(n("#latest-walk-goods").html(e({latestWalk:r})),o(n("#latest-walk-goods .lazy")))}}}))}()}),define("js/product/product",["jquery","lazyload"],function(e,t,a){var n,i=e("jquery"),o=e("lazyload"),s=e("js/common/product-event"),r=i(".goods-container"),d=r.find(".good-info"),l=r.find(".good-item-wrapper"),c=r.find(".good-info-main"),u=r.find(".good-select-color"),h=i(".product-list-nav");o(i("img.lazy")),t.init=function(e){function t(e,t){var a,n,i,o="",s=e.length,r=4,d=Math.ceil(s/r),l=0;for(a=0;d>a;a++)for(o+="<ul>",n=0;r>n&&(i=a*r+n,i!==s);n++)o+='<li><a target="_blank" href="'+e[a*r+n].url+t+'"><img src="'+e[a*r+n].src+'" data-cover="'+e[a*r+n].coverImg+'" /></a></li>',n===r-1&&(o+="</ul>",l++);return d>l&&(o+="</ul>"),{colorListStr:o,ulNum:d}}function a(){c.html(""),u.html(""),l.css({display:"none"})}n=null,d.unbind(),n=s(d,e),n.addHandler("MouseEnter",function(e){var n,o,s,d,h,p,f,m,g=10,v=35,w="",y=e.target.attr("data-from")||"";i.ajax({type:"POST",url:"/product/list/getProductPic",dataType:"jsonp",jsonp:"callback",data:{skn:e.target.attr("data-skn")}}).then(function(b){var C=b.data,x=t(C.pics,y);a(),w=x.colorListStr,n=x.ulNum,c.append(e.targetDuplicate),u.append(i(w)),p=l.css("paddingLeft"),f=l.css("paddingTop"),m=r.css("paddingTop"),o=10+65*n+e.targetWidth,d=(e.targetX-1)*(e.targetWidth+g)-(parseInt(p)+1),h=(e.targetY-1)*(e.targetHeight+v)+parseInt(m)-(parseInt(f)+1),s=e.offsetR-(65*n+25),0>=s&&(d=d+s-25),l.css({width:o,left:d,top:h,display:"inline-block"}),C.pics[0]&&C.pics[0].src&&c.find(".good-thumb img").attr("src",C.pics[0].src)})}),l.mouseleave(function(){a()})},i(document).on("hover",".good-select-color li",function(){var e=i(this).find("img").attr("data-cover"),t=i(this).closest(".good-item-wrapper").find(".good-detail-img").find("img");t.attr("src",e)}),h.find("h3").click(function(e){var t=i(this).closest(".product-list-nav");t.hasClass("active")?t.find(".sort-child-list").stop(!0,!0).slideUp():t.find(".sort-child-list").stop(!0,!0).slideDown(),t.toggleClass("active")})}),define("js/common/product-event",["jquery"],function(e,t,a){function n(){this.handlers={}}var i=e("jquery");n.prototype={constructor:n,addHandler:function(e,t){"undefined"==typeof this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t)},fire:function(e){var t,a;if(e.target||(e.target=this),this.handlers[e.type]instanceof Array)for(t=this.handlers[e.type],a=0;a<t.length;a++)t[a](e)},removeHandler:function(e,t){var a,n;if(this.handlers[e]instanceof Array){for(a=this.handlers[e],n=0;n<a.length&&a[n]!==t;n++);a.splice(n,1)}}},a.exports=function(e,t){function a(e){var a,n=0,l=0,c=t,u=0,h="",p=0,f=0;switch(e.type){case"mouseenter":a=i(this),h=a.clone(),u=a.index()+1,n=u%c===0?c:u%c,l=Math.ceil(u/c),p=a.offset().left,f=d-(p+s),o.fire({type:"MouseEnter",target:a,targetWidth:s,targetHeight:r,targetX:n,targetY:l,rowWidth:c,activeIndex:u,targetDuplicate:h,offsetL:p,offsetR:f});break;case"mouseleave":o.fire({type:"MouseLeave"})}}var o=new n,s=e.eq(0).width(),r=e.eq(0).height(),d=i(window).width();return e.bind("mouseenter",a),o}}),define("js/product/brand",["jquery"],function(e,t,a){var n=e("jquery");n("#brand-favor").on("click",function(){var e=n(this),t=window.getUid();n.ajax({type:"post",url:"/product/index/favoriteBrand",data:{uid:t,brandId:e.data("id")}}).then(function(t){200===t.code?"add"===t.message?e.find("i").addClass("coled"):e.find("i").removeClass("coled"):403===t.code&&(location.href="http://www.yohobuy.com/signin.html?refer="+encodeURIComponent(location.href))})})}),define("js/product/hotrank",["jquery","handlebars","source-map","lazyload"],function(e,t,a){var n=e("jquery"),i=e("handlebars"),o=e("lazyload");e("js/common/slider"),e("js/common/logo-brand"),o(n("img.lazy")),n(".slide-container").slider(),n(".logo-brand").logoBrand({showNum:10,url:n(".logo-brand").data("url")}),function(e){function t(t,a){var d={};d=a?{sid:t,page:a}:{sid:t},e.ajax({type:"GET",dataType:"json",url:"/product/index/getdata",data:d,success:function(t){var d;200===t.code&&(d={list:t.data},s=i.compile(n),a?(e(".hot-week-list").append(s(d)),r.css({position:"fixed",marginTop:-r.height()/2,top:"50%"})):e(".hot-week-list").html(s(d)),o(e("img.lazy")),c=!1)}})}var a,n,s,r=e(".hot-week").find(".floatlayer"),d=(e(".hot-cate").find("li").eq(0).data("sid"),1),l=0,c=!1;n='{{# list}}<div class="good-info"><div class="item-img"><a class="good-thumb" target="_blank" href="{{url}}"><img class="lazy" data-original="{{thumb}}"></a></div><div class="good-detail-text"><a target="_blank" href="{{url}}">{{name}}</a><p class="price">{{# marketPrice}}<span class="market-price">¥{{.}}</span>{{/ marketPrice}} <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">¥{{salePrice}}</span></p></div></div>{{/ list}}',e(window).on("scroll",function(){var n,i=a+e(".hot-week").outerHeight();a=e(".hot-week").offset().top,e(this).scrollTop()>=a-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()>=a+e(".hot-week").height()-e(window).height()&&(c||(n=e(".hot-cate").find("li.current").data("sid"),d++,c=!0,t(n,d)))}),e(".hot-cate").find("li").each(function(t){var a=e(".hot-cate").width();a>=l&&(l+=e(this).width(),l>=a&&e(".floatlayer").find("li").eq(t).hide().nextAll().hide())}),e(".hot-cate").on("click","li",function(){var n=e(this).index(),i=e(this).data("sid");e(this).hasClass("current")||(e(this).addClass("current").siblings().removeClass("current"),e(".floatlayer").find("li").removeClass("current").eq(n).addClass("current"),e("body,html").stop().animate({scrollTop:a-110},500),t(i),d=1)}),e(".floatlayer").on("click","li",function(){var t=e(this).index();e(this).hasClass("current")||(e(".hot-cate").find("li").eq(t).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")}(n)}),define("js/common/slider",["jquery","lazyload"],function(e,t,a){var n=e("jquery"),i=e("lazyload");!function(e){var t=function(t,a){this.$element=e(t),this.options=e.extend({},e.fn.slider.defaults,a),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(){if(this.$element){if(this.len<=1)return void i(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(),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">',a=0;if(!(this.len<=1)){for(a=0;a<this.len;a++)t+="<span></span>";t+="</div></div></div>",this.$element.append(e(t)),this.smallItem=this.$element.find(".slide-pagination-inner 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 t=this.bigItem.eq(this.index).find("img.lazy");t.attr("src")!==t.data("original")&&(i(t,{event:"sporty"}),t.trigger("sporty")),this.smallItem.eq(this.index).addClass("focus").siblings().removeClass("focus"),this.bigItem.eq(this.index).show().stop().animate({opacity:1},function(){e(this).find(".slide-tips > p").removeClass("hide")}).siblings().stop().animate({opacity:0},function(){e(this).hide().find(".slide-tips > p").addClass("hide")})},_autoplay:function(){var e=this;clearInterval(this.timer),this.timer=setInterval(function(){e._nextSlide()},this.options.time)}},e.fn.slider=function(a){return this.each(function(){var n=e(this),i=n.data("Slider"),o="object"==typeof a&&a;i||n.data("Slider",i=new t(this,o)),"string"==typeof a&&i[a]()})},e.fn.slider.Constructor=t,e.fn.slider.defaults={time:5e3,orient:!0,pagination:null}}(n)}),define("js/common/logo-brand",["jquery","handlebars","source-map","lazyload"],function(e,t,a){var n=e("jquery"),i=e("handlebars"),o=e("lazyload");!function(e){var t=function(t,a){this.$element=e(t),this.options=e.extend({},e.fn.logoBrand.defaults,a),this.init()};t.prototype={init:function(){this.$element.addClass("logos-"+this.options.showNum),this._sendRequest()},_createHelper:function(){var e=this.options.showNum;i.registerHelper("brandList",function(t,a){var n="<ul>",i=0,o=null,s=0;if(t.length%e!==0)for(s=e-t.length%e,i=0;s>i;i++)t.push({href:"javascript:;",img:""});for(i=0;i<t.length;i++)o=a.fn(t[i]),n=i%e===5||5===i?n+'<li class="logo-brand-switch" data-page="'+Math.floor(i/e)+'"><a class="prev iconfont" href="javascript:;"></a><a class="next iconfont" href="javascript:;"></a></li><li data-page="'+Math.floor(i/e)+'">'+o+"</li>":0!==i&&i%e===0?n+'<li class="brand-more" data-page="'+Math.floor(i/(e+1))+'"><a href="javascript:;" target="_blank">MORE ></a></li><li data-page="'+Math.floor(i/e)+'">'+o+"</li>":n+'<li data-page="'+Math.floor(i/e)+'">'+o+"</li>";return n+'<li class="brand-more" data-page="'+Math.floor(i/(e+1))+'"><a href="javascript:;" target="_blank">MORE ></a></li></ul>'})},_sendRequest:function(){var t=this;e.ajax({type:"GET",url:t.options.url,dataType:"json",success:function(e){var a,n;e&&0!==e.length&&(t._createHelper(),n='{{#brandList logoBrand}}<a href="{{href}}" target="_blank"><img class="lazy" data-original="{{img}}" alt=""></a>{{/brandList}}',a=i.compile(n),t.$element.html(a(e)),t.$element.find(".brand-more a").attr("href",e.moreBrand),o(t.$element.find("img.lazy")),t._bindEvent())}})},_brandShow:function(t,a){var n=this;o(e("li[data-page="+a+"]").find("img.lazy").trigger("appear")),n.$element.find("li[data-page="+t+"]").find("img").fadeOut("normal",function(){n.$element.find("li").hide(),n.$element.find("li[data-page="+a+"]").show().find("img").fadeIn()})},_bindEvent:function(){var t=this;t.$element.on("click",".next",function(){var a=e(this).parent().data("page"),n=0,i=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;n=a===i?0:a+1,t._brandShow(a,n)}),t.$element.on("click",".prev",function(){var a=e(this).parent().data("page"),n=0,i=Math.ceil(t.$element.find("li").size()/(t.options.showNum+2))-1;n=0===a?i:a-1,t._brandShow(a,n)})}},e.fn.logoBrand=function(a){return this.each(function(){var n=e(this),i=n.data("LogoBrand"),o="object"==typeof a&&a;i||n.data("LogoBrand",i=new t(this,o)),"string"==typeof a&&i[a]()})},e.fn.logoBrand.Constructor=t,e.fn.logoBrand.defaults={showNum:16,url:"/boys/getBrand"}}(n)}),define("js/index/index",["jquery","lazyload","handlebars","source-map"],function(e,t,a){var n=e("jquery"),i=e("lazyload"),o=n(".home-page").data("page"),s=n(".logo-brand").data("url");e("js/common/slider"),e("js/common/slider2"),e("js/common/logo-brand"),e("js/common/accordion"),n(document).on("mouseenter",".imgopacity a img",function(){n(this).css("opacity",.8)}),n(document).on("mouseout",".imgopacity a img",function(){n(this).css("opacity",1)}),n.inArray(o,["boys","girls","kids","lifestyle"])>-1&&(e("js/common/new-arrivls")({type:o,url:"/common/getNewArrival",count:"boys"===o||"lifestyle"===o?5:4,rows:[5,3]}),window.setCookie("_Channel",o,{domain:".yohobuy.com",path:"/",expires:365})),i(n("img.lazy")),"boys"===o?n(".slide-container").slider({pagination:".thumb-pagination"}):(n(".center-col").slider(),n(".slide-container").slider()),"boys"===o?(n(".logo-brand").logoBrand({url:s}),n(".img-brand").slider2()):(n(".logo-brand").logoBrand({showNum:10,url:s}),n(".img-slider-wrapper").slider2())}),define("js/common/slider2",["jquery"],function(e,t,a){var n=e("jquery");!function(e){e.fn.slider2=function(t){function a(t,a,i){i===!0?(e(".next").trigger("click"),t===a-3?n(--t,a,!1):n(++t,a,!0)):(e(".prev").trigger("click"),0===t?n(++t,a,!0):n(--t,a,!1))}function n(t,n,i){window.setTimeout(a,e.fn.slider2.defaults.delaytime,t,n,i)}function i(t,a,n){var i=-(t*a);e(".img-list").animate({"margin-left":i+"px"},"slow",n)}return e.fn.slider2.defaults={index:0,shownum:3,autoplay:!1,delaytime:3e3},this.each(function(){var a=e.extend({},e.fn.slider2.defaults,t),o=parseInt(e(".img-item").css("margin-right")),s=e(".img-item"),r=[],d=s.outerWidth()+o,l=s.length,c=0;if(3>=l)return void e(this).find(".img-brand-switch").hide();for(c=0;c<s.length;c++)r.push(s[c]);l=r.length,e(this).find(".img-list").css({width:d*l}),e(this).find(".next").on("click",function(t){var a=0,n=null;t.preventDefault(),i(3,d,function(){for(a=0;3>a;a++)n=r.shift(),e(".img-item").parent().append(n.outerHTML),r.push(n);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 a=0,n=null,o="";for(t.preventDefault(),a=0;3>a;a++)n=r.pop(),e(".img-item").parent().prepend(n.outerHTML),r.unshift(n);o=3*d,e(".img-item").last().remove(),e(".img-item").last().remove(),e(".img-item").last().remove(),e(".img-list").css({"margin-left":-o+"px"}),i(0,d)}),a.autoplay===!0&&n(a.index,l,!0)})}}(n)}),define("js/common/accordion",["jquery"],function(e,t,a){function n(e){d.each(function(t){s(this).css("zIndex",t),e>=t?s(this).stop().animate({left:t*c},400):s(this).stop().animate({left:e*c+l+c*(t-e-1)},400)})}var i,o=e("js/common/yohoui/YH.slide"),s=e("jquery"),r=s(".slide-accordion"),d=r.find("li"),l=d.width(),c=1150===parseInt(s(".home-page").width())?125:107;n(0),i=new o({length:5,loop:!1,auto:!1,timeout:2,index:0}),i.on("change",function(e){n(e.to)}),d.mouseover(function(){i.go(s(this).index())}),i.init()}),define("js/common/yohoui/YH.slide",[],function(e,t,a){var n=e("js/common/yohoui/YH.base"),i=function(e){this.__lastTime=null,this.__isStop=!1,e=n.extend(this.defaults,e),i.superclass.constructor.call(this,e)};n.inherit(i,n.assembly),i.prototype.oninit=function(){var e=this,t=e.options;return t.auto&&e.play(),e.go(t.index),this},i.prototype.go=function(e,t){var a,n,i,o,s,r,d,l,c=this,u=c.options;c.__lastTime&&(clearTimeout(c.__lastTime),c.__lastTime=null),t="undefined"==typeof t?u.index:t,a=e===t?0:e>t?1:-1,n=u.loop,o=u.length-1,s=e,e=n?e>o?e-o-1:0>e?e+o+1:e:e>o?o:0>e?0:e,i=u.index=e,r={from:t,to:e,originalto:s,direction:a};for(d in c.registerEvent)if(c.registerEvent[d].length>0)for(l in c.registerEvent[d])c.registerEvent[d].hasOwnProperty(l)&&c.registerEvent[d][l](r);i!==o||e?!c.__isStop&&u.auto&&c.play():c.__lastTime&&clearTimeout(c.__lastTime)},i.prototype.play=function(){var e=this,t=e.options;return e.__lastTime=setTimeout(function(){e.next()},1e3*t.timeout),this},i.prototype.next=function(){var e=this,t=e.options,a=t.index,n=a+t.step;e.go(n,a)},i.prototype.prev=function(){var e=this,t=e.options,a=t.index,n=a-t.step;e.go(n,a)},i.prototype.pause=function(){var e=this;e.__lastTime&&clearTimeout(e.__lastTime),e.__isStop=!0},i.prototype.resume=function(){var e=this;e.__isStop=!1,e.play()},i.prototype.defaults={index:0,timeout:5,step:1,per:1,auto:!1,loop:!1},a.exports=i}),define("js/common/yohoui/YH.base",[],function(e,t,a){var n,i={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Function]":"function","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object String]":"string"},o={__Index:0,list:[],get:function(e){return void 0===e?this.list:this.list[e]},fn:function(){},inherit:function(e,t){var a=o.fn;a.prototype=t.prototype,e.prototype=new a,e.prototype.constructor=e,e.superclass=t.prototype,e.prototype.constructor===Object.prototype.constructor&&(e.prototype.constructor=t)},extend:function(e,t){var a;for(a in t)t.hasOwnProperty(a)&&(e[a]=t[a]);return e},copy:function(e,t,a){var n,i,s;if("object"!=typeof t)return t;if(n=t.valueOf(),t!==n)return new t.constructor(n);if(t instanceof t.constructor&&t.constructor!==Object){i=e?new e:o.clone(t.constructor.prototype);for(s in t)(e||t.hasOwnProperty(s))&&(i[s]=t[s])}else{i={};for(s in t)i.hasOwnProperty(s)&&(i[s]=t[s])}if(a)for(s in a)i.hasOwnProperty(s)&&(i[s]=a[s]);return i},clone:function(e){return o.__cloneFunc.prototype=e,new o.__cloneFunc},__cloneFunc:function(){},delegate:function(e,t){var a;return t=t||window,arguments.length>2?(a=Array.prototype.slice.call(arguments,2),function(){return e.apply(t,a)}):function(){return e.call(t)}},dom:function(e,t){var a,n,i=e,o={wrap:i},s=i[0].getElementsByTagName("*"),r=s.length;for(n=0;r>n;n++)a=s[n].className,a.indexOf(t)>-1&&(a=a.split(t)[1]),a&&(o[a]=i.find(s[n]));return o},template:function(){var e,t,a,n,i=arguments;if(i.length>0&&o.isString(i[0]))if(e=i[0],2===i.length&&o.isObject(i[1]))for(t in i[1])void 0!==i[1][t]&&(a=new RegExp("({"+t+"})","g"),e=e.replace(a,i[1][t]));else for(n=1;n<i.length;n++)void 0!==i[n]&&(a=new RegExp("({["+(n-1)+"]})","g"),e=e.replace(a,i[n]));return e},__type:function(e){return null==e?String(e):i[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,a){var n,i;if(o.isArray(e))for(n=0,i=e.length;i>n&&t.call(e[n],n,e[n],a)!==!1;n++);else for(n in e)if(t.call(e[n],n,e[n],a)===!1)break},funManager:{__loadList:{},__loadFun:function(e,t,a){e.methord&&o.isFunction(e.methord())&&(a=a||window,e.methord()(e,function(){t()},a))},load:function(e,t,a,n){n=n||0,e[n]&&o.funManager.__loadFun(e[n],function(){o.funManager.load(e,t,a,n+1)},a),t(n,a)},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,a=t.detail?-1*t.detail:t.wheelDelta/40,n=0>a?-1:1;return{direction:n,unit:a}},__:function(e,t,a,n){var i;for(i in e)if(window[e[i].validator]){t[e[i].validator](e[i].prefix+a,n,!1);break}},add:function(e,t,a){var n=[{validator:"addEventListener",prefix:""},{validator:"attachEvent",prefix:"on"}];this.__(n,e,t,a)},remove:function(e,t,a){var n=[{validator:"removeEventListener",prefix:""},{validator:"detachEvent",prefix:"on"}];this.__(n,e,t,a)}},getUid:function(e){return o.template("me-{0}{1}-{2}",e,(new Date).getTime(),o.__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"],a=document.createElement("div");for(e in t)if(void 0!==a.style[t[e]])return o.template("-{0}-",t[e].replace("Perspective","").toLowerCase())},parseURL:function(e){var t,a,n,i,o,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={},a=s.search.replace(/^\?/,"").split("&"),n=a.length,i=0,o;n>i;i++)a[i]&&(o=a[i].split("="),t[o[0]]=o[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 a;for(a=0;a<e.length;a++)if(this[a]===t)return a;return-1},remove:function(e,t){var a=this.indexOf(e,t);return a>-1&&e.splice(a,1),e}}};n=function(e){this.initialized=!1,this.registerEvent={before:[],change:[],after:[]},this.options=e,this.init(e)},n.output=function(){o.log(o.list)},n.prototype.oninit=o.fn,n.prototype.init=function(e){this.initialized=!0,this.__Uid=o.getUid("me"),this.oninit(e),o.list[this.__Uid]=this},n.prototype.destory=function(){this.initialized=!1,delete o.list[this.__Uid]},n.prototype.getUid=function(){return this.__Uid},n.prototype.getOptions=function(){return this.options},n.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]}},n.prototype.on=function(e,t){var a=this,n=a.registerEvent[e];return n&&n.push(t),n},n.prototype.off=function(e,t){var a=this,n=a.registerEvent[e],i=[];o.each(n,function(e,a){a===t&&i.push(e)}),o.each(i.reverse(),function(e,t){n.splice(t,1)})},o.assembly=n,a.exports=o}),define("js/common/new-arrivls",["jquery","lazyload","handlebars","source-map"],function(e,t,a){function n(e){var t={index:0,isload:!0,isrun:!0,offset:{height:null,width:null}};return this.registerEvent={before:[],change:[],after:[]},this.options=i.extend(!0,{},t,e),this}var i=e("jquery"),o=e("lazyload"),s=e("handlebars");n.prototype.on=function(e,t){var a=this,n=a.registerEvent[e];return n&&n.push(t),n},n.prototype.exect=function(e,t){var a,n=this;if(n.registerEvent[e]&&n.registerEvent[e].length>0)for(a in n.registerEvent[e])n.registerEvent[e].hasOwnProperty(a)&&n.registerEvent[e][a](t)},n.prototype.init=function(){function e(){a.isrun&&a.isload&&t.__directionCalculation()&&(a.isload=!1,a.index++,t.exect("after",a)),t.exect("change",a)}var t=this,a=this.options;t.exect("before",a),i(window).scroll(e)},n.prototype.emit=function(){var e=this.options;e.isload=!0},n.prototype.stop=function(){var e=this.options;e.isrun=!1,e.isload=!1},n.prototype.__directionCalculation=function(){var e=this.options;return e.offset.height&&e.offset.height()>0&&i(window).scrollTop()+i(window).height()>=e.offset.height()?!0:!1},a.exports=function(e){var t,a=i("#newarrivals .goods-container"),r=i(".loading a"),d=new n({index:1,isload:!1,offset:{height:function(){return parseFloat(a.offset().top)+parseFloat(a.height())-200}}}),l=e.url,c=e.count,u=e.rows;e.pageIndex=0,delete e.url,delete e.count,delete e.rows,t=function(e,t,n){var l={type:"POST",url:e,success:function(e){var i,l,c,u=e.code;200===u?(l=e.goods.length%n,c=e.goods.length-l-1,e.goods.splice(c,l),i=s.compile(d.tpl),a.append(i(e.goods)),t.pageIndex=t.pageIndex+e.goods.length,o(a.find("img.lazy")),d.emit()):(d.stop(),r.html("查看更多"))},error:function(){d.stop(),r.html("网络断开连接了~")}};l.data=t,i.ajax(l)},d.on("after",function(a){e.pageCount=c*u[1],t(l,e)}),d.on("before",function(a){d.tpl="{{#each this}}",d.tpl+='<div class="good-info imgopacity" data-skn="{{skn}}">',d.tpl+=' <div class="tag-container clearfix">',d.tpl+=" {{# tags}}",d.tpl+=" {{# isNew}}",d.tpl+=' <span class="good-tag new-tag">NEW</span>',d.tpl+=" {{/ isNew}}",d.tpl+=" {{# isReNew}}",d.tpl+=' <span class="good-tag renew-tag">再到着</span>',d.tpl+=" {{/ isReNew}}",d.tpl+=" {{# isSale}}",d.tpl+=' <span class="good-tag sale-tag">SALE</span>',d.tpl+=" {{/ isSale}}",d.tpl+=" {{# isNewFestival}}",d.tpl+=' <span class="good-tag new-festival-tag">新品节</span>',d.tpl+=" {{/ isNewFestival}}",d.tpl+=" {{# isLimit}}",d.tpl+=' <span class="good-tag limit-tag">限量商品</span>',d.tpl+=" {{/ isLimit}}",d.tpl+=" {{# isYearEndPromotion}}",d.tpl+=' <span class="good-tag yep-tag">年终大促</span>',d.tpl+=" {{/ isYearEndPromotion}}",d.tpl+=" {{# isYearMidPromotion}}",d.tpl+=' <span class="good-tag ymp-tag">年中热促</span>',d.tpl+=" {{/ isYearMidPromotion}}",d.tpl+=" {{/ tags}}",d.tpl+=" </div>",d.tpl+=' <div class="good-detail-img">',d.tpl+=' <a class="good-thumb" href="{{url}}" target= "_blank">',d.tpl+=' <img class="lazy" data-original="{{thumb}}">',d.tpl+=" </a>",d.tpl+=" {{# isFew}}",d.tpl+=' <p class="few-tag">即将售罄</p>',d.tpl+=" {{/ isFew}}",d.tpl+=" {{#if showColBtn}}",d.tpl+=' <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>',d.tpl+=" {{/if}}",d.tpl+=" </div>",d.tpl+=' <div class="good-detail-text">',d.tpl+=' <a href="{{url}}" target= "_blank">{{name}}</a>',d.tpl+=' <p class="price">',d.tpl+=' <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">',d.tpl+=" ¥{{salePrice}}",d.tpl+=" </span>",d.tpl+=" {{# marketPrice}}",d.tpl+=' <span class="market-price">¥{{.}}</span>',d.tpl+=" {{/ marketPrice}}",d.tpl+=" </p>",d.tpl+=" </div>",d.tpl+="</div>",d.tpl+="{{/each}}",e.pageCount=c*u[0],t(l,e,e.count)}),d.init()}}),define("js/brand/index",["jquery","lazyload","handlebars","source-map","dot"],function(e,t,a){var n=e("jquery"),i=e("lazyload");e("js/common/slider"),e("js/brand/brands"),i(n("img.lazy")),n(".slide-container").slider({orient:!0})}),define("js/brand/brands",["jquery","handlebars","source-map","dot"],function(e,t,a){function n(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),a=window.location.search.substr(1).match(t);return null!=a?window.unescape(a[2]):null}function i(e,t,a){var n,i=e,o={width:i.width(),left:i.offset().left,right:parseFloat(l(window).width())-parseFloat(i.offset().left)-parseFloat(i.width())},s=i.parent("li");p.find(".brands-dialog").remove(),n=c.compile(a),s.append(n(t)),u(s.find(".right")),o.right-350<0&&s.find(".brands-layer").addClass("brands-layer-right").css("left",-330-o.width)}function o(){v.unbind("mouseenter").unbind("mouseleave").hover(function(){var e=l(this),t=e.attr("data-key"),a={url:"/brands/brandinfo",type:"get",data:{brandId:t},success:function(t){200===t.code&&t.brand&&(_.hasOwnProperty(t.brand.key)||(_[t.brand.key]=t.brand),i(e,_[t.brand.key],$))}};clearTimeout(r),r=setTimeout(function(){_.hasOwnProperty(t)?i(e,_[t],$):l.ajax(a)},200)},function(){clearTimeout(r),p.find(".brands-dialog").remove()})}var s,r,d,l=e("jquery"),c=e("handlebars"),u=e("dot"),h=l(".brands-tabs"),p=l(".brands-list"),f=l(".brands-category"),m=l(".news-txt ul"),g=p.find("dl.clearfix"),v=p.find("li>a"),w=f.find("a"),y=h.find("li>a"),b=h.find(".hoverarr"),C=w.height(),x=w.offset()?w.offset().top:0,k=m.height(),j=m.offset()?m.offset().top:0,_={},$='<div class="brands-dialog">';$+=' <div class="brands-layer">',$+=' <div class="layer-content">',$+=' <div class="title">{{title}}</div>',$+=' <div class="clearfix desc">',$+=' <img src="{{icon}}">',$+=' <p class="right">{{content}}</p>',$+=" </div> ",$+=' <div class="featured">',$+=" <p>{{subtitle}}</p> ",$+=' <div class="clearfix"> ',$+=" {{#each imgs}}",$+=' <img src="{{src}}">',$+=" {{/each}}",$+=" </div>",$+=" </div>",$+=" </div>",$+=" </div>",$+="</div>",u(l(".brand-desc")),l.easing.easeOutQuint=function(e,t,a,n,i){return n*((t=t/i-1)*t*t*t*t+1)+a},m.length&&m.find("li").each(function(){var e=l(this),t=e.offset().top-j+e.height();t>k&&e.hide()}),y.eq(0).parent("li").find(".brands-content").css("z-index","1"),d=n("id")?n("id"):0,s=y.eq(d),s.find(".g-mask").addClass("g-mask-on"),d&&s.length&&b.css({left:parseFloat(s.offset().left)-parseFloat(h.offset().left)}),y.hover(function(){var e=l(this);clearTimeout(r),r=setTimeout(function(){var t=parseFloat(e.offset().left)-parseFloat(h.offset().left);b.animate({left:t},200,"easeOutQuint")},50),h.find(".brands-content").removeAttr("style"),e.parent("li").find(".brands-content").css("z-index","1")},function(){clearTimeout(r)}),l(window).scroll(function(){l(this).scrollTop()>=x?f.addClass("category-fix"):f.removeClass("category-fix")}),w.click(function(){var e=l(this).attr("href").split("#")[1],t=p.find("[name="+e+"]").offset().top-C;return f.hasClass("category-fix")||(t-=C),l("html,body").animate({scrollTop:t},200),!1}),g.length<26&&l.ajax({url:"/brands/brandList",type:"POST",data:{start:g.length?g.length+1:1},success:function(e){e&&(p.append(e),v=p.find("li>a"),o())}}),o()}),define("js/passport/entry",["jquery","jquery.placeholder"],function(e,t,a){e("js/passport/reg"),e("js/passport/back"),e("js/passport/login"),e("js/passport/reset"),e("js/passport/vertification"),e("js/passport/thirdlogin"),e("js/passport/third-pwd")}),define("js/passport/reg",["jquery","jquery.placeholder"],function(e,t,a){function n(e,t){var a,n;"reg"===e?(a="/passport/register/checkmobile",n={mobile:j.val(),area:S.text().split("+")[1]}):"third"===e&&(a="/passport/autouserinfo/bindCheck",n={mobile:j.val(),area:S.text().split("+")[1],openId:p("#open-id").val(),sourceType:p("#source-type").val()}),p.ajax({url:a,type:"POST",data:n}).then(function(e){if(e){switch(e.code){case 200:k[0].message="",k[0].status=!0;break;case 400:k[0].message=e.message,k[0].status=!1}t()}})}function i(e,t){var a;"reg"===e?a="/passport/register/piccaptcha":"third"===e&&(a="/passport/autouserinfo/checkPicCode"),p.ajax({type:"POST",url:a,data:{verifyCode:T.val()}}).then(function(e){if(e){switch(e.code){case 200:k[1].message="",k[1].status=!0;break;case 400:k[1].message="图形验证码错误",k[1].status=!1}t()}})}function o(e,t){var a;"reg"===e?a="/passport/register/msgcaptcha":"third"===e&&(a="/passport/autouserinfo/checkBindMsg"),p.ajax({type:"POST",url:a,data:{code:_.val(),mobile:j.val(),area:S.text().split("+")[1]}}).then(function(e){if(e){switch(e.code){case 200:k[2].message="",k[2].status=!0;break;case 400:k[2].message="短信验证码错误",k[2].status=!1}t()}})}function s(e,t,a){var s,r=p.trim(t.val());t.hasClass("phone-num")?(s=S.text(),""===r?(k[0].message="请输入手机号码",k[0].status=!1,a()):f.phoneRegx[s].test(r)?n(e,a):(k[0].message="手机号码格式不正确,请重新输入",k[0].status=!1,a())):t.hasClass("captcha")?""===r?(k[1].message="请输入图形验证码",k[1].status=!1,a()):r.length<=3?(k[1].message="图形验证码为4位",k[1].status=!1,a()):k[0].status?i(e,a):(k[1].message="图形验证码错误",k[1].status=!1,a()):t.hasClass("msg-captcha")?""===r?(k[2].message="请输入短信验证码",k[2].status=!1,a()):r.length<=3?(k[2].message="短信验证码错误",k[2].status=!1,a()):k[1].status?o(e,a):(k[2].message="短信验证码错误",k[2].status=!1,a()):t.hasClass("pwd")?(""===r?(k[3].message="请输入密码",k[3].status=!1):r.length<6||r.length>20?(k[3].message="密码只支持6-20位字符",k[3].status=!1):z.test(t.val())?(k[3].message="",k[3].status=!0):(k[3].message="密码须字母和数字组合",k[3].status=!1),a()):t.hasClass("repwd")&&(""===r?(k[4].message="请输入密码确认",k[4].status=!1):$.val()!==r?(k[4].message="与密码不一致,请重新输入",k[4].status=!1):(k[4].message="",k[4].status=!0),a())}function r(){var e=h.offset();return y.css({top:e.top-40,left:e.left})}function d(){var e,t=!1,a=k.length;for(e=0;a>e;e++)t||(k[e].message?(y.find("span").text(k[e].message), +h=p("#"+k[e].id),r().removeClass("hide"),t=!0):y.addClass("hide"))}function l(){var e,t,a=k.length;for(t=0;a>t;t++)k[t].message?(e=p("#"+k[t].id),e.addClass("error")):(e=p("#"+k[t].id),e.removeClass("error"))}function c(e){var t=e.val(),a=m(t),n=0;switch(n=0===a?0:10>=a?1:20>=a?2:3){case 0:I.removeClass("red yellow green"),A.removeClass("color");break;case 1:I.addClass("red").removeClass("yellow green"),A.filter(".low").addClass("color"),A.filter(".mid,.high").removeClass("color");break;case 2:I.addClass("yellow").removeClass("red green"),A.filter(".low,.mid").addClass("color"),A.filter(".high").removeClass("color");break;case 3:I.addClass("green").removeClass("yellow red"),A.addClass("color")}""===t?w.removeClass("red yes no").addClass("default"):t.length<6||t.length>20?w.removeClass("default yes").addClass("no red"):w.removeClass("default no red").addClass("yes")}var u,h,p=e("jquery"),f=e("js/passport/mail-phone-regx"),m=e("js/passport/pwd-strength"),g=p(".register-page"),v=p("#pwd-tips"),w=v.find("#pwd-tip1"),y=p("#err-tip"),b=p("#register-btn"),C=p("#send-captcha"),x=4,k=[],j=p("#phone-num"),_=p("#msg-captcha"),$=p("#pwd"),q=p("#repwd"),T=p("#captcha"),A=p(".pwd-intensity"),I=A.closest(".pwd-intensity-container"),S=p("#country-code"),O=p("#region"),P=!1,z=f.pwdValidateRegx;e("jquery.placeholder"),setTimeout(function(){j.val(""),_.val(""),$.val(""),q.val(""),T.val("")},0),T.attr("maxlength",x),$.focus(function(e){v.removeClass("hide"),P=!0,u=p(this).val()}).blur(function(){v.addClass("hide"),P=!1}),p("[placeholder]").placeholder(),k=[{id:"phone-num",message:"",status:!1},{id:"captcha",message:"",status:!1},{id:"msg-captcha",message:"",status:!1},{id:"pwd",message:"",status:!1},{id:"repwd",message:"",status:!1}],p(window).resize(function(){y.hasClass("hide")||r()}),t.init=function(e){p("#agree-terms").click(function(){var e,t=p(this),a=0;if(t.attr("notchecked"))t.removeAttr("notchecked"),b.removeClass("disable").removeAttr("disabled");else{for(e=0;e<k.length;e++)k[e].status&&a++;4===a&&(t.attr("notchecked","notchecked"),b.addClass("disable").attr("disabled","disabled"))}}),g.on("keydown",function(e){var t=e.which;13===t&&b.click()}),g.find(".va").keyup(function(){var t,a=0,n=k.length,i=p(this);s(e,p(this),function(){for(d(),l(),t=0;n>t;t++)k[t].status&&a++;4!==a||p("#agree-terms").attr("notchecked")?b.addClass("disable").attr("disabled","disabled"):b.removeClass("disable").removeAttr("disabled"),k[1].status?C.removeClass("disable"):C.addClass("disable")}),i.hasClass("pwd")&&c(i)}).blur(function(){}),O.change(function(){S.text(p("#region").val()),s(e,j,d)}),C.click(function(){var t,a,n=60;p(this).hasClass("disable")||(C.addClass("disable"),t=setInterval(function(){return 0>=n?(C.removeClass("disable").val("获取短信验证码"),void clearInterval(t)):void C.val(n--+"秒可重新发送")},1e3),"reg"===e?a="/passport/register/sendBindMsg":"third"===e&&(a="/passport/autouserinfo/sendBindMsg"),p.ajax({type:"POST",url:a,data:{area:S.text().split("+")[1],mobile:j.val(),verifyCode:T.val()}}))}),$[0].onpaste=function(){return!1},b.click(function(){var t;"reg"===e?t="/passport/register/mobileregister":"third"===e&&(t="/passport/autouserinfo/bindMobile"),p(this).hasClass("disable")||p.ajax({type:"POST",url:t,data:{area:S.text().split("+")[1],mobile:j.val(),verifyCode:T.val(),code:_.val(),password:$.val()}}).then(function(e){var t,a,n=0;200===e.code?(a=e.data.href,t=setTimeout(function(){n++},1e3),p.ajax({type:"GET",url:e.data.session}).then(function(e){200===e.code&&3>t&&(clearInterval(t),location.href=a)}),t>=3&&(clearInterval(t),location.href=a)):console.log("网络超时~")})}),p(".change-captcha").click(function(){var e=new Date,t=p(".captcha-img"),a=t.attr("src").split("?")[0];t.attr("src",a+"?t="+e.getTime())})}}),define("js/passport/mail-phone-regx",[],function(e,t,a){var n={"+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]{1}[0-9]{8}$/,"+81":/^0[9|8|7][0-9]{9}$/,"+61":/^[0-9]{11}$/},i=/^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/,o=/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/;t.phoneRegx=n,t.emailRegx=i,t.pwdValidateRegx=o}),define("js/passport/pwd-strength",[],function(e,t,a){function n(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function i(e,t,a){var n=e.charCodeAt(0),i=t.charCodeAt(0);return n-i===0?!0:4===a||n-i!==1&&n-i!==-1?!1:!0}function o(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t,a,s=0,r=e.length,d="",l=0,c=0;for(c=0;r>c;c++)t=e.charAt(c),a=n(e,c),l===a&&i(t,d,a)||(s+=a+o(a,l)),d=t,l=a;return s}a.exports=s}),define("js/passport/back",["jquery","jquery.placeholder"],function(e,t,a){function n(){var e=new Date,t=r("#captcha-img"),a=t.attr("src").split("?")[0];r("#captcha-img").attr("src",a+"?t="+e.getTime())}function i(){C&&x?v.removeClass("disable").prop("disabled",!1):v.addClass("disable").prop("disabled",!0)}function o(e){var t=!0,a="";return e=r.trim(e),""!==e?/^[0-9]+$/.test(e)?c[h.val()].test(e)?t=!0:(a="手机号码格式不正确, 请重新输入",t=!1):l.test(e)?t=!0:(a="邮箱格式不正确, 请重新输入",t=!1):(a="账户名不能为空",t=!1),C=t,{pass:t,errTxt:a}}function s(){var e=r.trim(f.val());return""===e||e.length<b?(x=!1,void i()):void r.ajax({type:"POST",url:"/passport/back/authcode",data:{verifyCode:e,phoneNum:r("#phone-num").val(),area:r("#country-code-hide").val()}}).then(function(e){200===e.code?x=!0:402===e.code?(C=!1,x=!0,w.removeClass("hide").find("em").text("该账号不存在"),p.addClass("error")):400===e.code&&(x=!1,n()),i()})}var r=e("jquery"),d=e("js/passport/mail-phone-regx"),l=d.emailRegx,c=d.phoneRegx,u=e("js/passport/ac-email"),h=r("#country-code-hide"),p=r("#phone-num"),f=r("#captcha"),m=r("#country-code-list"),g=r("#country-code"),v=r("#find-btn"),w=r("#account-err"),y=r("#captcha-err"),b=4,C=!1,x=!1;e("jquery.placeholder"),u(p,function(){var e=o(p.val());e.pass?(w.addClass("hide"),p.removeClass("error")):(w.removeClass("hide").find("em").text(e.errTxt),p.addClass("error")),i()}),f.attr("maxlength",b),r("input").placeholder(),r("#change-captcha, #captcha-img").on("click",function(){n()}),g.on("click",function(e){e.stopPropagation(),"block"===m.css("style")?m.slideUp("fast"):m.slideDown("fast")}),m.delegate("li","click",function(e){var t,a=r(this),n=a.data("cc");e.stopPropagation(),h.val(n),g.find("em").html(a.text()),""!==r.trim(p.val())&&(t=o(p.val()),i(),C?(w.addClass("hide"),p.removeClass("error")):(w.removeClass("hide").text(t.errTxt),p.addClass("error"))),m.slideUp("fast")}),r(document).click(function(){"block"===m.css("display")&&m.slideUp()}),p.keyup(function(){o(r.trim(r(this).val())),i()}).focus(function(){r(this).removeClass("error"),w.addClass("hide")}),f.blur(function(){var e=""===r.trim(f.val())?"验证码不能为空":"验证码不正确";x?(y.addClass("hide"),f.removeClass("error")):(y.removeClass("hide").find("em").text(e),f.addClass("error"),n())}).focus(function(){r(this).removeClass("error"),y.addClass("hide")}).keyup(function(){s()}),r("#find-btn").click(function(e){return/^[0-9]+$/.test(r.trim(p.val()))&&r("#find-form").attr("action","/passport/back/mobile"),r(this).hasClass("disable")?void 0:x&&C?void 0:(e.preventDefault(),!0)})}),define("js/passport/ac-email",["jquery"],function(e,t,a){var n,i=e("jquery"),o={num:["qq.com","163.com","126.com","sina.com","gmail.com","sohu.com","hotmail.com","139.com","189.com"],other:["gmail.com","qq.com","163.com","126.com","sina.com","sohu.com","hotmail.com","139.com","189.com"]};a.exports=function(e,t){var a,s='<ul id="email-autocomplete" class="email-autocomplete hide"></ul>';e.parent().append(s),a=i("#email-autocomplete"),e.on("keyup",function(){var e,t,n,s,r=i.trim(i(this).val()),d="";if(r.indexOf("@")>0){for(e=r.match(/^[0-9]+@(.*)/),e?(n=o.num,t=e[1]):(n=o.other,t=r.match(/@(.*)/)[1]),s=0;s<n.length;s++)n[s].indexOf(t)>-1&&(d+="<li>"+r.slice(0,r.indexOf("@"))+"@"+n[s]+"</li>");""!==d&&/.com$/.test(r)===!1?a.html(d).removeClass("hide"):a.html("").addClass("hide")}}).on("blur",function(){n=setTimeout(function(){a.addClass("hide"),t&&t()},200)}),a.on("click","li",function(){clearTimeout(n),e.val(i(this).text()).focus(),a.addClass("hide"),t&&t()})}}),define("js/passport/login",["jquery","jquery.placeholder"],function(e,t,a){function n(){var e,t=!1,a=c.trim(u.val());return""!==a?/^[0-9]+$/.test(a)?x.phoneRegx[w.val()].test(a)?t=!0:(t=!1,e="手机号码不正确,请重新输入"):x.emailRegx.test(a)?t=!0:(t=!1,e="邮箱格式不正确,请重新输入"):e="请输入账户名",t?(f.addClass("hide"),u.removeClass("error")):(f.removeClass("hide").children("em").text(e),u.addClass("error")),t}function i(){var e,t=!1,a=c.trim(h.val());return""!==a?a.length<6?e="请输入长度为6-20字符的密码":t=!0:e="请输入密码",t?(m.addClass("hide"),h.removeClass("error")):(m.removeClass("hide").children("em").text(e),h.addClass("error")),t}function o(){var e,t=!1,a=c.trim(p.val());return $.is(":hidden")?!0:(""!==a?4!==a.length?e="请输入长度为4字符的验证码":t=!0:e="请输入验证码",t?(g.addClass("hide"),p.removeClass("error")):(g.removeClass("hide").children("em").text(e),p.addClass("error")),t)}function s(){var e=!0,t=c.trim(u.val()),a=c.trim(h.val());return""!==t?e=n()&&i()&&o():(e=!1,u.addClass("error"),""===a?(f.addClass("both-error").removeClass("hide").children("em").text("请输入账户名和密码"),m.addClass("hide"),h.addClass("error")):f.removeClass("hide").children("em").text("请输入账户名")),e}function r(){q.attr("src",_+c.now()),p.val(""),$.removeClass("hide")}function d(){var e=s();e&&A===!1&&(A=!0,c.ajax({url:"/passport/login/auth",type:"POST",data:{areaCode:w.val().replace("+",""),account:c.trim(u.val()),password:c.trim(h.val()),captcha:c.trim(p.val()),isRemember:j.hasClass("checked")?!0:!1},success:function(e){200===e.code?e.data&&(location.href=e.data.session):("captcha"===e.data.errorType?(g.removeClass("hide").children("em").html(e.message),p.addClass("error").val("")):(m.removeClass("hide").children("em").html(e.message),h.addClass("error").val("")),e.data&&e.data.needCaptcha&&r())},complete:function(){A=!1}}))}var l,c=e("jquery"),u=c("#account"),h=c("#password"),p=c("#captcha"),f=u.siblings(".err-tip"),m=h.siblings(".err-tip"),g=p.siblings(".err-tip"),v=c("#caps-lock"),w=c("#country-code-hide"),y=c("#country-code > em"),b=c("#country-list"),C=c("#email-autocomplete"),x=e("js/passport/mail-phone-regx"),k=e("js/passport/ac-email"),j=c(".remember-me"),_="/passport/images?t=",$=c(".captcha-wrap"),p=$.find("#captcha"),q=$.find("#captcha-img"),g=$.find(".err-tip"),T={checked:"",unchecked:""},A=!1;e("jquery.placeholder"),k(u,function(){n()&&c.ajax({url:"/passport/login/account",type:"GET",data:{account:c.trim(u.val())}}).then(function(e){e.data&&e.data.needCaptcha&&r()})}),c("[placeholder]").placeholder(),c("#country-code").on("click",function(){"none"===b.css("display")&&b.slideDown()}),b.on("click","li",function(){var e=c(this),t=e.data("cc");y.html(e.html()),w.val(t),b.slideUp()}),c(document).on("click",function(e){c(e.target).closest("#country-code").length>0||"block"===b.css("display")&&b.slideUp()}),h.on("blur",function(){i(),v.hasClass("hide")||v.addClass("hide")}).on("keypress",function(e){var t=e.which;return t>=65&&90>=t?void v.removeClass("hide"):void v.addClass("hide")}),p.on("blur",function(){o()}),C.on("click","li",function(){clearTimeout(l),u.val(c(this).text()).focus(),C.addClass("hide")}),j.on("click",function(){var e=c(this);e.toggleClass("checked"),e.hasClass("checked")?e.children("i").html(T.checked):e.children("i").html(T.unchecked)}),c(".va").on("focus",function(){var e=c(this);e.removeClass("error"),e.siblings(".err-tip").addClass("hide")}),$.on("click",".change-captcha, .captcha-img",function(){q.attr("src",_+c.now())}),c("#login-btn").on("click",d),c("#account, #password, #captcha").on("keypress",function(e){13===e.which&&d()}),""===u.val()&&u.val()!==u.attr("placeholder")||""!==h.val()||h.focus()}),define("js/passport/reset",["jquery","jquery.placeholder"],function(e,t,a){function n(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function i(e,t,a){var n=e.charCodeAt(0),i=t.charCodeAt(0);return n-i===0?!0:4===a||n-i!==1&&n-i!==-1?!1:!0}function o(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t,a,s=0,r=e.length,d="",l=0,c=0;for(c=0;r>c;c++)t=e.charAt(c),a=n(e,c),l===a&&i(t,d,a)||(s+=a+o(a,l)),d=t,l=a;return s}function r(){var e=l.val(),t=s(e),a=0;switch(a=0===t?0:10>=t?1:20>=t?2:3){case 0:v.removeClass("red yellow green"),g.removeClass("color");break;case 1:v.addClass("red").removeClass("yellow green"),g.filter(".low").addClass("color"),g.filter(".mid,.high").removeClass("color");break;case 2:v.addClass("yellow").removeClass("red green"),g.filter(".low,.mid").addClass("color"),g.filter(".high").removeClass("color");break;case 3:v.addClass("green").removeClass("yellow red"),g.addClass("color")}""===e?w.removeClass("red yes no").addClass("default"):e.length<6||e.length>20?w.removeClass("default yes").addClass("no red"):w.removeClass("default no red").addClass("yes"),m=y.test(e)?!0:!1}var d=e("jquery"),l=d("#pwd"),c=d("#re-input"),u=d("#reset-pwd-btn"),h=d("#pwd-err"),p=d("#repwd-err"),f=d("#pwd-tips"),m=!1,g=d(".pwd-intensity"),v=g.closest(".pwd-intensity-container"),w=d("#pwd-tip1"),y=e("js/passport/mail-phone-regx").pwdValidateRegx;e("jquery.placeholder"),d("input").placeholder(),d(".va").keyup(function(){var e=!0;d(this).hasClass("pwd")?r():""===d(this).val()&&(e=!1),e=e&&m&&l.val()===c.val()?!0:!1,e?u.removeClass("disable").prop("disabled",!1):u.addClass("disable").prop("disabled",!0)}).blur(function(){var e=d(this),t=e.val();e.hasClass("pwd")?""===t?(e.addClass("error"),h.removeClass("hide").find("em").text("请输入密码")):t.length<6||t.length>20?(e.addClass("error"),h.removeClass("hide").find("em").text("密码只支持6-20位")):y.test(t)?(h.addClass("hide"),""!==c.val()&&(t!==c.val()?(c.addClass("error"),p.removeClass("hide").find("em").text("两次密码输入不一致,请重新输入")):(c.removeClass("error"),p.addClass("hide")))):(e.addClass("error"),h.removeClass("hide").find("em").text("密码须字母和数字组合")):""===t?(e.addClass("error"),p.removeClass("hide").find("em").text("请输入密码确认")):""!==l.val()&&t!==l.val()?(e.addClass("error"),p.removeClass("hide").find("em").text("两次密码输入不一致,请重新输入")):(e.removeClass("error"),p.addClass("hide"))}).focus(function(){d(this).removeClass("error"),d(this).hasClass("pwd")?h.addClass("hide"):p.addClass("hide")}),l.focus(function(){h.addClass("hide"),f.removeClass("hide")}).blur(function(){f.addClass("hide")}),d("#pwd, #repwd").keydown(function(e){var t=e.keyCode||e.which;return 32===t?void e.preventDefault():void 0})}),define("js/passport/vertification",["jquery"],function(e,t,a){var n,i,o=e("jquery"),s=o("#send-captcha"),r=o("#captcha-tip"),d=o("#err-tip"),l=o("#next-step");s.click(function(){o.post("/passport/back/sendbackmobile",{mobile:o("#mobile").val(),area:o("#area").val(),verifyCode:o("#captchaPic").val()},function(e){if(200===e.code){if(d.hide(),o(this).hasClass("disable"))return;n=60,s.addClass("disable").attr("disabled",!0),r.removeClass("hide"),s.val(n--+"秒后可重新操作"),i=setInterval(function(){0===n?(clearInterval(i),s.val("发送验证码").removeClass("disable").removeAttr("disabled")):s.val(n--+"秒后可重新操作")},1e3)}else o(this).addClass("error"),d.removeClass("hide").text("发送失败")})}),o(this).hasClass("disable")||(n=60,s.addClass("disable").attr("disabled",!0),r.removeClass("hide"),s.val(n--+"秒后可重新操作"),i=setInterval(function(){0===n?(clearInterval(i),s.val("发送验证码").removeClass("disable").removeAttr("disabled")):s.val(n--+"秒后可重新操作")},1e3),o("#captcha").keyup(function(){var e=o.trim(o(this).val()),t=this;4===e.length&&o.ajax({type:"POST",url:"/passport/back/backmobile",dataType:"json",data:{code:o("#captcha").val(),verifyCode:o("#captchaPic").val(),area:o("#area").val(),mobile:o("#mobile").val()},success:function(e){200===e.code?(l.removeClass("disable").attr("href",e.data),d.addClass("hide"),o(t).removeClass("error")):(l.addClass("disable"),d.removeClass("hide").find("em").text("验证码输入错误"),o(t).addClass("error"))}})}).blur(function(){var e=o.trim(o(this).val());""===e&&(o(this).addClass("error"),d.removeClass("hide").text("请输入验证码"))}).focus(function(){o(this).removeClass("error")}))}),define("js/passport/thirdlogin",["jquery"],function(e,t,a){function n(){b(".choosetag").on("change",function(){var e="#f02200";"checked"===b(this).attr("checked")?b(".choosewrapper").css({"background-image":'url("'+$+'")'}):(b(".choosewrapper").css({"background-image":"none"}),e="#CCCCCC"),A.css({"background-color":e})})}function i(){return"checked"===b(".choosetag").attr("checked")}function o(){b(".optionshow").on("click",function(){b(".optionslist").toggleClass("hide")})}function s(){var e="";b(document).on("keyup","#validatenum",function(){e=b(this).val(),4===e.length&&(j||(j=!0,b.ajax({type:"POST",url:"/passport/autouserinfo/checkBindMsg",data:{code:e,mobile:b("#mobile").val(),area:b("#areacode").val()}}).then(function(e){j=!1,200===e.code?_=!0:alert(e.message)})))}),b("#validatenum").focus(function(){b(this).removeAttr("placeholder")}).blur(function(){b(this).attr("placeholder","验证码")})}function r(){b(".optionitem").on("click",function(){var e=b(this),t=e.attr("areanum"),a=e.text();b("#areaname").text(a),b("#areanum").text(t),b("#areacode").val(t),b(".optionslist").addClass("hide")})}function d(){b(document).on("click","body",function(e){var t=b(e.target);t.hasClass("yohoselectarea")||t.hasClass("areaname")||t.hasClass("righttag")||t.hasClass("optionslist")||t.hasClass("optionitem")||b(".optionslist").addClass("hide")})}function l(){var e="",t="";b(".optionitem").each(function(){e=b(this),t=e.attr("areanum").replace(/\+/g,""),e.attr("areanum",t)})}function c(){var e;b(document).on("click","#alreayregist",function(t){e=b(t.target),(e.hasClass("mask")||e.hasClass("backdrop"))&&(b("#alreayregist").hide(),b(".backdrop").hide())}),b(document).on("click","#bindconfirm",function(t){e=b(t.target),(e.hasClass("mask")||e.hasClass("backdrop"))&&(b("#bindconfirm").hide(),b(".backdrop").hide())})}function u(){b(document).on("click","#yohobindbtn",function(e){b(".phonenum").val(""),b("#bindconfirm").hide(),b(".backdrop").hide()}),b(document).on("click","#yohobindbtn2",function(e){b(".phonenum").val(""),b("#alreayregist").hide(),b(".backdrop").hide()})}function h(){return k-=1,0>k?(k=60,void b(".validatewrapper").html(x)):(b(".second").text(k),void window.setTimeout(h,1e3))}function p(e){b(".validatewrapper").html(C),window.setTimeout(h,1e3)}function f(){b(document).on("click","#sendmessage",function(){"disabled"!==b("#sendmessage").attr("disabled")&&(p(b("#mobile").val()),b.ajax({type:"POST",url:"/passport/autouserinfo/sendBindMsg",data:{mobile:b("#mobile").val(),area:b("#areacode").val()}}).then(function(e){200!==e.code&&alert(e.message)}))})}function m(){var e="",t="";t=b("#areacode").val(),e=b("#mobile").val(),b.ajax({type:"POST",url:"/passport/autouserinfo/bindMobile",data:{area:t,openId:b("#openId").val(),sourceType:b("#sourceType").val(),mobile:e}}).then(function(e){201===e.code?window.location.href="/passport/thirdlogin/bindsuccess":alert(e.message)})}function g(){b(document).on("click","#gotobindphone",function(){_===!0?(b("#inarea").val(b("#areacode").val()),b("#inmobile").val(b("#mobile").val()),m()):alert("请输入正确验证码")})}function v(){var e="",t="";e=b("#mobile").val(),t=b("#areanum").text(),b.ajax({type:"POST",url:"/passport/autouserinfo/sendBindMsg",data:{mobile:e,area:t}}).then(function(e){200!==e.code&&console.log(e.message)})}function w(){var e="",t="",a="",n="",o="",s="";b("#bindfirststep").on("click",function(r){if(r.preventDefault(),a=b(".phonenum").val(),n=b("#areanum").text(),i()){if(""===a)return T.find("em").text("手机格式错误"),void T.removeClass("hide");e=b("#openId").val()||"29803EC6D4AAC3AAB8ABDB6AE829D579",t=b("#sourceType").val()||"qq",b.ajax({type:"post",url:"/passport/autouserinfo/bindCheck",data:{mobile:a,area:n,openId:e,sourceType:t},dataType:"json",success:function(e){var t=b(window).height();200===e.code&&(b("#bindmobileform").attr("action","/passport/thirdlogin/noregist"),v(),b("#bindmobileform").submit()),(400===e.code||402===e.code)&&(T.find("em").text("手机格式错误"),T.removeClass("hide")),506===e.code&&(o=e.data.user.username,s=e.data.user.headImg,b("#registphone").text(a),b("#username").text(o),""===s?b("#userphoto").attr("src","http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100"):b("#userphoto").attr("src",s),b("#logindirectly2").attr("href",e.data.user.bindLogin),b(".backdrop").show(),b("#sendmessage").click(),b("#alreayregist .mask").css({"padding-top":t>440?t/2:217}),b("#alreayregist").show()),505===e.code&&(o=e.data.user.username,s=e.data.user.headImg,b("#registphonetwo").text(a),b("#username1").text(o),""===s?b("#userphoto1").attr("src","http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100"):b("#userphoto1").attr("src",s),b("#logindirectly").attr("href",e.data.user.bindLogin),b(".backdrop").show(),b("#bindconfirm .mask").css({"padding-top":t>440?t/2:217}),b("#bindconfirm").show())}})}})}function y(){l(),f(),n(),r(),o(),d(),w(),c(),u(),g(),s()}var b=e("jquery"),C=b("#nopermissionmessage").html(),x=b(".validatewrapper").html(),k=+b(".second").text(),j=!1,_=!1,$="http://cdn.yoho.cn/yohobuy/assets/img/passport/choosed.png",q=b(".bindwrapper"),T=q.find(".phone-err-tip"),A=q.find(".yohobindbtn");y()}),define("js/passport/third-pwd",["jquery"],function(e,t,a){function n(e,t){return e.charCodeAt(t)>=48&&e.charCodeAt(t)<=57?1:e.charCodeAt(t)>=97&&e.charCodeAt(t)<=122?2:e.charCodeAt(t)>=65&&e.charCodeAt(t)<=90?3:4}function i(e,t,a){var n=e.charCodeAt(0),i=t.charCodeAt(0);return n-i===0?!0:4===a||n-i!==1&&n-i!==-1?!1:!0}function o(e,t){return 0===t||e===t?0:4===e||4===t?2:1}function s(e){var t=0,a=e.length,s="",r=0,d=0,l="",c="";for(d;a>d;d++)l=e.charAt(d),c=n(e,d),r===c&&i(l,s,c)||(t+=c+o(c,r)),s=l,r=c;return t}function r(e,t){e.find("em").text(t),e.removeClass("hide")}function d(){return _-=1,0>_?(_=60,void C(".validatewrapper").html(q)):(C(".second").text(_),void window.setTimeout(d,1e3))}function l(){C(".validatewrapper").html($),window.setTimeout(d,1e3)}function c(){var e="",t="";C(document).on("click","#sendmessage",function(){l(),e=C("#mobile").val(),t=C("#area").val(),C.ajax({type:"POST",url:"/passport/autouserinfo/sendBindMsg",data:{mobile:e,area:t}}).then(function(e){200!==e.code&&alert(e.message)})})}function u(){var e="";C(document).on("keyup","#validatenum",function(){C("#err-info").hide(),e=C(this).val(),4===e.length&&(x||(x=!0,C.ajax({type:"POST",url:"/passport/autouserinfo/checkBindMsg",data:{code:e,mobile:C("#mobile").val(),area:C("#area").val()}}).then(function(e){x=!1,200!==e.code?C("#err-info").show():k=!0})))})}function h(){var e=v.val(),t=s(e),a=0;switch(a=0===t?0:10>=t?1:20>=t?2:3){case 0:w.removeClass("red yellow green"),b.removeClass("color");break;case 1:w.addClass("red").removeClass("yellow green"),b.filter(".low").addClass("color"),b.filter(".mid,.high").removeClass("color");break;case 2:w.addClass("yellow").removeClass("red green"),b.filter(".low,.mid").addClass("color"),b.filter(".high").removeClass("color");break;case 3:w.addClass("green").removeClass("yellow red"),b.addClass("color")}""===e?(j=!1,y.removeClass("red yes no").addClass("default")):e.length<6||e.length>20?(j=!1,y.removeClass("default yes").addClass("no red")):(j=!0,y.removeClass("default no red").addClass("yes"))}function p(){C(document).on("keyup",".pwdcontent",function(){h(C(this))}),C(document).on("focus",".pwdcontent",function(){C("#pwd-tips").removeClass("hide")}),C(document).on("blur",".pwdcontent",function(){C("#pwd-tips").addClass("hide")})}function f(){var e="",t="",a="",n="";T||(T=!0,setTimeout(function(){T=!1},5e4),t=C("#area").val(),a=C("#pwd").val(),e=C("#mobile").val(),n=C("#validatenum").val(),C.ajax({type:"POST",url:"/passport/autouserinfo/bindMobile",data:{area:t,openId:C("#openId").val(),sourceType:C("#sourceType").val(),mobile:e,password:a,code:n}}).then(function(e){T=!1,200===e.code?e.data&&e.data.refer&&(window.location.href=e.data.refer):alert(e.message)}))}function m(){var e="",t="";C("#confirmsubmit").on("click",function(){var a=!0;e=C("#validatenum").val(),t=C("#pwd").val(),""===e?(r(I,"短信验证码不能为空"),a=!1):k===!1&&(r(I,"请输入正确的验证码"),a=!1),""===t?(r(S,"密码不能为空"),a=!1):t.length<6||t.length>20?(r(S,"密码只支持6-20位字符"),a=!1):O.test(t)?j===!1&&(r(S,"请输入符合强度的密码"),a=!1):(r(S,"密码须由字母和数字组合"),a=!1),a&&f()})}function g(){l(),v=C("#pwd"),w=C(".safelevel"),b=C(".pwd-intensity"),y=C("#pwd-tip1"),c(),u(),p(),m()}var v,w,y,b,C=e("jquery"),x=!1,k=!1,j=!1,_="",$="",q="",T=!1,A=C(".bindwrapper"),I=A.find(".code-err-tip"),S=A.find(".pwd-err-tip"),O=e("js/passport/mail-phone-regx").pwdValidateRegx;$=C("#nopermissionmessage").html(),q=C(".validatewrapper").html(),_=+C(".second").text(),g()}),define("js/order/ensure",["jquery"],function(e,t,a){var n=e("jquery"),i=e("js/order/address"),o={Data:{product:0,activity:0,carriage:0,juan:0,yohocoin:0},UI:{e:{$pan:n(".pan"),$jc:n("#juancode"),$bp:n("#biprice"),$statistics:n("li",".play-total"),$tobi:n("p em",".play-bi-pan .play-pan"),$cancel:n(".cancel",".btn-group"),$total:n("em",".to-play"),$tbody:n("table tbody",".pay-wapper"),$orderSelectionSave:n(".address-list h2 span"),$addAddress:n(".add-address"),$addressManage:n(".address-manage"),$spanPayTypeLegend:n("span.pay-type-legend"),$supportType:n(".support-type"),$existAddressList:n(".exist-address-list").find("li"),$existAddress:n(".exist-address-list").find('input[name="exist-address"]'),$payTimeModify:n(".pay-time-modify"),$switchPayModify:n(".switch-pay-modify")},init:function(){var e=this.e,t=o.Data,a=o.Common;e.$tbody.find("tr").each(function(i){var o=n(this).find("td"),s=e.$tbody.find("tr").length,r=parseFloat(o.eq(1).html())*parseInt(o.eq(3).html());o.eq(4).html(a.strFixed(r)),t.product+=r,i?o.last().remove():o.last().attr("rowspan",s),i===s-1&&e.$tbody.find("tr").eq(0).find("td").last().html("<strong>"+a.strFixed(t.product)+"</strong>")}),this.render(),e.$pan.find("dt").click(function(){var e=n(this).parent("dl.pan");e.find("dd").is(":hidden")?a.winShow(e):a.winHide(e)}),e.$jc.on("focus change",function(e){var t=n(this).prev("label").prev(":radio");"focus"===e.type?t.attr("checked",!0):t.val(n(this).val())}),e.$bp.data("tobi",e.$tobi.html()),e.$bp.on("keyup change",function(){var e=a.enterNUM(n(this).val(),n(this).data("tobi"));n(this).val(e)}),e.$cancel.click(function(){var e=n(this).parents(".pan");a.winHide(e)}),e.$statistics.slice(3,5).find("a").click(function(){var e=n("."+n(this).attr("to"));a.winShow(e)}),e.$orderSelectionSave.click(function(){n(this).data("expand")?(n(".address-list-inner").removeClass("hide"),n(this).removeData("expand").text("[修改]")):(n(".address-list-inner").addClass("hide"),n(this).data("expand","expand").text("[不保存并关闭]"))}),e.$switchPayModify.click(function(){e.$payTimeModify.hasClass("hide")?(e.$payTimeModify.removeClass("hide"),n(this).text("[不保存并关闭]")):(e.$payTimeModify.addClass("hide"),n(this).text("[修改]"))}),e.$spanPayTypeLegend.click(function(){n(this).toggleClass("active"),e.$supportType.toggleClass("hide")}),n(document).on("click",".exist-address-list li",function(){e.$existAddressList.removeClass("active"),n(this).addClass("active"),e.$existAddress.removeAttr("checked"),n(this).find('input[name="exist-address"]').attr("checked","checked"),n(this).hasClass("use-new-address")&&e.$addressManage.removeClass("hide")})},render:function(){var e=this.e,t=o.Data,a=o.Common,i=0;e.$total.html("0.00"),e.$statistics.find("em").html("0.00"),e.$statistics.slice(3,5).hide(),n.each(t,function(n){t.hasOwnProperty(n)&&t[n]&&e.$statistics.eq(i).show().find("em").html(a.strFixed(t[n])),i++}),e.$total.html(a.strFixed(a.calucate()))}},Common:{enterNUM:function(e,t){return e=e.replace(/[^\d]/g,""),e&&t&&(e=parseInt(e),t=parseInt(t),e>t&&(e=t)),e},calucate:function(){var e=o.Data;return n.each(o.Data,function(t,a){e[t]=parseFloat(o.Data[t])}),e.product-e.activity+e.carriage-e.juan-e.yohocoin},winShow:function(e){e.find("dt").show(),e.find("dd").show(),e.attr("class").match(/(-bi-)|(-juan-)/g)&&e.find("dt").hide()},winHide:function(e){e.find("dt").show(),e.find("dd").hide()},strFixed:function(e){return parseFloat(e).toFixed(2)}},Bll:{e:{$juanok:n("#juansubmit"),$juantip:n(".errtip",".play-juan-pan"),$biok:n("#bisubmit"),$carriageGroup:n('input[name="carriagegroup"]')},init:function(){var e,t=this.e,a=o.Data,i=o.Common,s=o.UI;t.$carriageGroup.change(function(){a.carriage=parseFloat(n(this).val()),s.render()}),t.$juanok.click(function(){var r=n('input[name="juangroup"]:checked').val(),d=n(this).parents(".pan");r&&(e={url:"/Order/save/priceByCode",type:"post",data:{code:r},success:function(e){if(200===e.code){if(e.price)return a.juan=e.price,o.UI.render(),void i.winHide(d);s.render()}t.$juantip.html(e.msg)},error:function(){t.$juantip.html("网络出现错误~")}},n.ajax(e))}),t.$biok.click(function(){var e=n(this).parents(".pan");a.yohocoin=parseFloat(s.e.$bp.val())/100,s.render(),i.winHide(e)})}}};o.Data.activity=0,o.Data.carriage=0,o.UI.init(),o.Bll.init(),i.newAddress(),i.modifyAddress(),i.saveAddress()}),define("js/order/address",["jquery"],function(require,exports,module){function structureOption(e,t){var a,n,i;for(a in t)n+=t[a].checked?'<option selected value="'+t[a].value+'">'+t[a].name+"</option>":'<option value="'+t[a].value+'">'+t[a].name+"</option>";e.html(n),"province"===e.attr("name")?i='<option value="0">请选择省份</option>':"city"===e.attr("name")?i='<option value="0">请选择城市</option>':"county"===e.attr("name")&&(i='<option value="0">请选择区县</option>'),e.prepend($(i))}function getAddress(e,t){var a,n;"getProvince"===e.type?(n="getProvince",a=$province):"getCity"===e.type?(n="getCity",a=$city):"getCounty"===e.type&&(n="getCounty",a=$county),$.ajax({type:"post",url:"/order/save/"+n,dataType:"json",data:{id:e.id}}).then(function(e){structureOption(a,e),"function"==typeof t&&t()}).fail(function(){})}function getUserInfo(id){$.ajax({type:"post",url:"getUserInfo",data:{id:id}}).then(function(data){var key;for(key in data)data.hasOwnProperty(key)&&data[key]&&eval("$"+key).val(data[key])}).fail(function(){})}var $=require("jquery"),isProvinceChecked=!1,$addressManage=$(".address-manage"),$province=$addressManage.find('.text-input[name="province"]'),$city=$addressManage.find('.text-input[name="city"]'),$county=$addressManage.find('.text-input[name="county"]'),$selectList=$addressManage.find('.text-input[name="province"], .text-input[name="city"]'),$addressList=$(".address-list"),$name=$addressManage.find('.text-input[name="name"]'),$phone=$addressManage.find('.text-input[name="phone"]'),$telCode=$addressManage.find('.text-input[name="code-tel"]'),$tel=$addressManage.find('.text-input[name="tel"]'),$mail=$addressManage.find('.text-input[name="mail"]'),$address=$addressManage.find('.text-input[name="address"]'),$code=$addressManage.find('.text-input[name="code"]'),$saveBtn=$(".save-btn");exports.newAddress=function(e){var t="undefined"!==e?e:0;t&&getUserInfo(),getAddress({id:t,type:"getProvince"},function(){var e=$province.val();"0"!==e&&getAddress({id:e,type:"getCity"},function(){var e=$city.val();"0"!==e&&getAddress({id:e,type:"getCounty"})})}),$selectList.change(function(){var e=$(this);"province"===e.attr("name")&&getAddress({id:e.val(),type:"getCity"},function(){isProvinceChecked=!0}),"city"===e.attr("name")&&isProvinceChecked&&getAddress({id:e.val(),type:"getCounty"})})},exports.modifyAddress=function(){$addressList.click(function(e){var t=$(e.target),a=t.closest("li").find(".radio").attr("id");t.hasClass("address-modify")?($addressManage.removeClass("hide"),exports.newAddress(a)):t.hasClass("address-del")?$.ajax({type:"post",url:"/order/save/addressDel",data:{id:a}}).then(function(e){e.status&&t.closest("li").remove()}).fail(function(){}):t.hasClass("default-address")&&$.ajax({type:"post",url:"/order/save/defaultAddress", +data:{id:a}}).then(function(e){e.status&&t.remove()}).fail(function(){})})},exports.saveAddress=function(){$saveBtn.click(function(){var e=$name.val(),t=$province.val(),a=$city.val(),n=$county.val(),i=$address.val(),o=$phone.val(),s=$telCode.val(),r=$tel.val(),d=$mail.val(),l=$code.val(),c=new Date;$.ajax({type:"post",url:"/order/save/addressSave",data:{name:e,province:t,city:a,county:n,address:i,phone:o,tel:r,telCode:s,mail:d,code:l,id:1*c}}).then(function(t){var a;t.status&&(a='<li><input class="radio" type="radio" name="address" id="'+1*c+'" /><label for="'+1*c+'"><strong>'+e+"</strong><span>"+i+'</span><a href="javascript:void(0);">设为默认地址</a><div class="order-modify-btn"><span class="address-modify">[修改]</span><span class="address-del">[删除]</span></div></label></li>',$(".use-new-address").before($(a)))}).fail(function(){})})}}); \ No newline at end of file diff --git a/web-static/dist/yohobuy/0.0.7/lib.js b/web-static/dist/yohobuy/0.0.7/lib.js new file mode 100644 index 0000000..60ac817 --- /dev/null +++ b/web-static/dist/yohobuy/0.0.7/lib.js @@ -0,0 +1,7 @@ +!function(e,t){function n(e){return function(t){return{}.toString.call(t)=="[object "+e+"]"}}function r(){return E++}function i(e){return e.match(T)[0]}function o(e){for(e=e.replace(P,"/");e.match(L);)e=e.replace(L,"/");return e=e.replace(j,"$1/")}function a(e){var t=e.length-1,n=e.charAt(t);return"#"===n?e.substring(0,t):".js"===e.substring(t-2)||e.indexOf("?")>0||".css"===e.substring(t-3)||"/"===n?e:e+".js"}function s(e){var t=w.alias;return t&&k(t[e])?t[e]:e}function l(e){var t,n=w.paths;return n&&(t=e.match(O))&&k(n[t[1]])&&(e=n[t[1]]+t[2]),e}function u(e){var t=w.vars;return t&&e.indexOf("{")>-1&&(e=e.replace(M,function(e,n){return k(t[n])?t[n]:e})),e}function c(e){var t=w.map,n=e;if(t)for(var r=0,i=t.length;i>r;r++){var o=t[r];if(n=_(o)?o(e)||e:e.replace(o[0],o[1]),n!==e)break}return n}function p(e,t){var n,r=e.charAt(0);if(D.test(e))n=e;else if("."===r)n=o((t?i(t):w.cwd)+e);else if("/"===r){var a=w.cwd.match(H);n=a?a[0]+e.substring(1):e}else n=w.base+e;return 0===n.indexOf("//")&&(n=location.protocol+n),n}function h(e,t){if(!e)return"";e=s(e),e=l(e),e=u(e),e=a(e);var n=p(e,t);return n=c(n)}function f(e){return e.hasAttribute?e.src:e.getAttribute("src",4)}function d(e,t,n){var r=V.test(e),i=I.createElement(r?"link":"script");if(n){var o=_(n)?n(e):n;o&&(i.charset=o)}g(i,t,r,e),r?(i.rel="stylesheet",i.href=e):(i.async=!0,i.src=e),q=i,z?U.insertBefore(i,z):U.appendChild(i),q=null}function g(e,n,r,i){function o(){e.onload=e.onerror=e.onreadystatechange=null,r||w.debug||U.removeChild(e),e=null,n()}var a="onload"in e;return!r||!G&&a?(a?(e.onload=o,e.onerror=function(){N("error",{uri:i,node:e}),o()}):e.onreadystatechange=function(){/loaded|complete/.test(e.readyState)&&o()},t):(setTimeout(function(){m(e,n)},1),t)}function m(e,t){var n,r=e.sheet;if(G)r&&(n=!0);else if(r)try{r.cssRules&&(n=!0)}catch(i){"NS_ERROR_DOM_SECURITY_ERR"===i.name&&(n=!0)}setTimeout(function(){n?t():m(e,t)},20)}function v(){if(q)return q;if(W&&"interactive"===W.readyState)return W;for(var e=U.getElementsByTagName("script"),t=e.length-1;t>=0;t--){var n=e[t];if("interactive"===n.readyState)return W=n}}function y(e){var t=[];return e.replace(K,"").replace(J,function(e,n,r){r&&t.push(r)}),t}function b(e,t){this.uri=e,this.dependencies=t||[],this.exports=null,this.status=0,this._waitings={},this._remain=0}if(!e.seajs){var x=e.seajs={version:"2.2.0"},w=x.data={},S=n("Object"),k=n("String"),C=Array.isArray||n("Array"),_=n("Function"),E=0,A=w.events={};x.on=function(e,t){var n=A[e]||(A[e]=[]);return n.push(t),x},x.off=function(e,t){if(!e&&!t)return A=w.events={},x;var n=A[e];if(n)if(t)for(var r=n.length-1;r>=0;r--)n[r]===t&&n.splice(r,1);else delete A[e];return x};var N=x.emit=function(e,t){var n,r=A[e];if(r)for(r=r.slice();n=r.shift();)n(t);return x},T=/[^?#]*\//,P=/\/\.\//g,L=/\/[^\/]+\/\.\.\//,j=/([^:\/])\/\//g,O=/^([^\/:]+)(\/.+)$/,M=/{([^{]+)}/g,D=/^\/\/.|:\//,H=/^.*?\/\/.*?\//,I=document,R=i(I.URL),B=I.scripts,$=I.getElementById("seajsnode")||B[B.length-1],F=i(f($)||R);x.resolve=h;var q,W,U=I.head||I.getElementsByTagName("head")[0]||I.documentElement,z=U.getElementsByTagName("base")[0],V=/\.css(?:\?|$)/i,G=+navigator.userAgent.replace(/.*AppleWebKit\/(\d+)\..*/,"$1")<536;x.request=d;var X,J=/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|\/\*[\S\s]*?\*\/|\/(?:\\\/|[^\/\r\n])+\/(?=[^\/])|\/\/.*|\.\s*require|(?:^|[^$])\brequire\s*\(\s*(["'])(.+?)\1\s*\)/g,K=/\\\\/g,Y=x.cache={},Q={},Z={},ee={},te=b.STATUS={FETCHING:1,SAVED:2,LOADING:3,LOADED:4,EXECUTING:5,EXECUTED:6};b.prototype.resolve=function(){for(var e=this,t=e.dependencies,n=[],r=0,i=t.length;i>r;r++)n[r]=b.resolve(t[r],e.uri);return n},b.prototype.load=function(){var e=this;if(!(e.status>=te.LOADING)){e.status=te.LOADING;var n=e.resolve();N("load",n);for(var r,i=e._remain=n.length,o=0;i>o;o++)r=b.get(n[o]),r.status<te.LOADED?r._waitings[e.uri]=(r._waitings[e.uri]||0)+1:e._remain--;if(0===e._remain)return e.onload(),t;var a={};for(o=0;i>o;o++)r=Y[n[o]],r.status<te.FETCHING?r.fetch(a):r.status===te.SAVED&&r.load();for(var s in a)a.hasOwnProperty(s)&&a[s]()}},b.prototype.onload=function(){var e=this;e.status=te.LOADED,e.callback&&e.callback();var t,n,r=e._waitings;for(t in r)r.hasOwnProperty(t)&&(n=Y[t],n._remain-=r[t],0===n._remain&&n.onload());delete e._waitings,delete e._remain},b.prototype.fetch=function(e){function n(){x.request(a.requestUri,a.onRequest,a.charset)}function r(){delete Q[s],Z[s]=!0,X&&(b.save(o,X),X=null);var e,t=ee[s];for(delete ee[s];e=t.shift();)e.load()}var i=this,o=i.uri;i.status=te.FETCHING;var a={uri:o};N("fetch",a);var s=a.requestUri||o;return!s||Z[s]?(i.load(),t):Q[s]?(ee[s].push(i),t):(Q[s]=!0,ee[s]=[i],N("request",a={uri:o,requestUri:s,onRequest:r,charset:w.charset}),a.requested||(e?e[a.requestUri]=n:n()),t)},b.prototype.exec=function(){function e(t){return b.get(e.resolve(t)).exec()}var n=this;if(n.status>=te.EXECUTING)return n.exports;n.status=te.EXECUTING;var i=n.uri;e.resolve=function(e){return b.resolve(e,i)},e.async=function(t,n){return b.use(t,n,i+"_async_"+r()),e};var o=n.factory,a=_(o)?o(e,n.exports={},n):o;return a===t&&(a=n.exports),delete n.factory,n.exports=a,n.status=te.EXECUTED,N("exec",n),a},b.resolve=function(e,t){var n={id:e,refUri:t};return N("resolve",n),n.uri||x.resolve(n.id,t)},b.define=function(e,n,r){var i=arguments.length;1===i?(r=e,e=t):2===i&&(r=n,C(e)?(n=e,e=t):n=t),!C(n)&&_(r)&&(n=y(""+r));var o={id:e,uri:b.resolve(e),deps:n,factory:r};if(!o.uri&&I.attachEvent){var a=v();a&&(o.uri=a.src)}N("define",o),o.uri?b.save(o.uri,o):X=o},b.save=function(e,t){var n=b.get(e);n.status<te.SAVED&&(n.id=t.id||e,n.dependencies=t.deps||[],n.factory=t.factory,n.status=te.SAVED)},b.get=function(e,t){return Y[e]||(Y[e]=new b(e,t))},b.use=function(t,n,r){var i=b.get(r,C(t)?t:[t]);i.callback=function(){for(var t=[],r=i.resolve(),o=0,a=r.length;a>o;o++)t[o]=Y[r[o]].exec();n&&n.apply(e,t),delete i.callback},i.load()},b.preload=function(e){var t=w.preload,n=t.length;n?b.use(t,function(){t.splice(0,n),b.preload(e)},w.cwd+"_preload_"+r()):e()},x.use=function(e,t){return b.preload(function(){b.use(e,t,w.cwd+"_use_"+r())}),x},b.define.cmd={},e.define=b.define,x.Module=b,w.fetchedList=Z,w.cid=r,x.require=function(e){var t=b.get(b.resolve(e));return t.status<te.EXECUTING&&(t.onload(),t.exec()),t.exports};var ne=/^(.+?\/)(\?\?)?(seajs\/)+/;w.base=(F.match(ne)||["",F])[1],w.dir=F,w.cwd=R,w.charset="utf-8",w.preload=function(){var e=[],t=location.search.replace(/(seajs-\w+)(&|$)/g,"$1=1$2");return t+=" "+I.cookie,t.replace(/(seajs-\w+)=1/g,function(t,n){e.push(n)}),e}(),x.config=function(e){for(var t in e){var n=e[t],r=w[t];if(r&&S(r))for(var i in n)r[i]=n[i];else C(r)?n=r.concat(n):"base"===t&&("/"!==n.slice(-1)&&(n+="/"),n=p(n)),w[t]=n}return N("config",e),x}}}(this),define("lazyload",[],function(e,t,n){var r=e("jquery");e("lib/jquery.lazyload"),n.exports=function(e,t){var n,i={effect:"fadeIn",effect_speed:10,placeholder:"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==",skip_invisible:!1},o=arguments.length;!function(){switch(o){case 0:n=r("img.lazy");break;case 1:e instanceof r?n=e:(n=r("img.lazy"),r.extend(i,e));break;case 2:n=e,i=r.extend(i,t)}}(),n.lazyload(i)}}),define("jquery",[],function(e,t,n){!function(e,t){function r(e){var t=ge[e]={};return Z.each(e.split(ne),function(e,n){t[n]=!0}),t}function i(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(ve,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:me.test(r)?Z.parseJSON(r):r}catch(o){}Z.data(e,n,r)}else r=t}return r}function o(e){var t;for(t in e)if(("data"!==t||!Z.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function a(){return!1}function s(){return!0}function l(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function u(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function c(e,t,n){if(t=t||0,Z.isFunction(t))return Z.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return Z.grep(e,function(e,r){return e===t===n});if("string"==typeof t){var r=Z.grep(e,function(e){return 1===e.nodeType});if(Ie.test(t))return Z.filter(t,r,!n);t=Z.filter(t,r)}return Z.grep(e,function(e,r){return Z.inArray(e,t)>=0===n})}function p(e){var t=$e.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function h(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function f(e,t){if(1===t.nodeType&&Z.hasData(e)){var n,r,i,o=Z._data(e),a=Z._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)Z.event.add(t,n,s[n][r])}a.data&&(a.data=Z.extend({},a.data))}}function d(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),Z.support.html5Clone&&e.innerHTML&&!Z.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ke.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.selected=e.defaultSelected:"input"===n||"textarea"===n?t.defaultValue=e.defaultValue:"script"===n&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(Z.expando))}function g(e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName("*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll("*"):[]}function m(e){Ke.test(e.type)&&(e.defaultChecked=e.checked)}function v(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=yt.length;i--;)if(t=yt[i]+n,t in e)return t;return r}function y(e,t){return e=t||e,"none"===Z.css(e,"display")||!Z.contains(e.ownerDocument,e)}function b(e,t){for(var n,r,i=[],o=0,a=e.length;a>o;o++)n=e[o],n.style&&(i[o]=Z._data(n,"olddisplay"),t?(i[o]||"none"!==n.style.display||(n.style.display=""),""===n.style.display&&y(n)&&(i[o]=Z._data(n,"olddisplay",k(n.nodeName)))):(r=rt(n,"display"),i[o]||"none"===r||Z._data(n,"olddisplay",r)));for(o=0;a>o;o++)n=e[o],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?i[o]||"":"none"));return e}function x(e,t,n){var r=pt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function w(e,t,n,r){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,o=0;4>i;i+=2)"margin"===n&&(o+=Z.css(e,n+vt[i],!0)),r?("content"===n&&(o-=parseFloat(rt(e,"padding"+vt[i]))||0),"margin"!==n&&(o-=parseFloat(rt(e,"border"+vt[i]+"Width"))||0)):(o+=parseFloat(rt(e,"padding"+vt[i]))||0,"padding"!==n&&(o+=parseFloat(rt(e,"border"+vt[i]+"Width"))||0));return o}function S(e,t,n){var r="width"===t?e.offsetWidth:e.offsetHeight,i=!0,o=Z.support.boxSizing&&"border-box"===Z.css(e,"boxSizing");if(0>=r||null==r){if(r=rt(e,t),(0>r||null==r)&&(r=e.style[t]),ht.test(r))return r;i=o&&(Z.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+w(e,t,n||(o?"border":"content"),i)+"px"}function k(e){if(dt[e])return dt[e];var t=Z("<"+e+">").appendTo(q.body),n=t.css("display");return t.remove(),("none"===n||""===n)&&(it=q.body.appendChild(it||Z.extend(q.createElement("iframe"),{frameBorder:0,width:0,height:0})),ot&&it.createElement||(ot=(it.contentWindow||it.contentDocument).document,ot.write("<!doctype html><html><body>"),ot.close()),t=ot.body.appendChild(ot.createElement(e)),n=rt(t,"display"),q.body.removeChild(it)),dt[e]=n,n}function C(e,t,n,r){var i;if(Z.isArray(t))Z.each(t,function(t,i){n||wt.test(e)?r(e,i):C(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==Z.type(t))r(e,t);else for(i in t)C(e+"["+i+"]",t[i],n,r)}function _(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i,o,a=t.toLowerCase().split(ne),s=0,l=a.length;if(Z.isFunction(n))for(;l>s;s++)r=a[s],o=/^\+/.test(r),o&&(r=r.substr(1)||"*"),i=e[r]=e[r]||[],i[o?"unshift":"push"](n)}}function E(e,n,r,i,o,a){o=o||n.dataTypes[0],a=a||{},a[o]=!0;for(var s,l=e[o],u=0,c=l?l.length:0,p=e===It;c>u&&(p||!s);u++)s=l[u](n,r,i),"string"==typeof s&&(!p||a[s]?s=t:(n.dataTypes.unshift(s),s=E(e,n,r,i,s,a)));return!p&&s||a["*"]||(s=E(e,n,r,i,"*",a)),s}function A(e,n){var r,i,o=Z.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((o[r]?e:i||(i={}))[r]=n[r]);i&&Z.extend(!0,e,i)}function N(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes,c=e.responseFields;for(o in c)o in r&&(n[c[o]]=r[o]);for(;"*"===u[0];)u.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("content-type"));if(i)for(o in l)if(l[o]&&l[o].test(i)){u.unshift(o);break}if(u[0]in r)a=u[0];else{for(o in r){if(!u[0]||e.converters[o+" "+u[0]]){a=o;break}s||(s=o)}a=a||s}return a?(a!==u[0]&&u.unshift(a),r[a]):void 0}function T(e,t){var n,r,i,o,a=e.dataTypes.slice(),s=a[0],l={},u=0;if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a[1])for(n in e.converters)l[n.toLowerCase()]=e.converters[n];for(;i=a[++u];)if("*"!==i){if("*"!==s&&s!==i){if(n=l[s+" "+i]||l["* "+i],!n)for(r in l)if(o=r.split(" "),o[1]===i&&(n=l[s+" "+o[0]]||l["* "+o[0]])){n===!0?n=l[r]:l[r]!==!0&&(i=o[0],a.splice(u--,0,i));break}if(n!==!0)if(n&&e["throws"])t=n(t);else try{t=n(t)}catch(c){return{state:"parsererror",error:n?c:"No conversion from "+s+" to "+i}}}s=i}return{state:"success",data:t}}function P(){try{return new e.XMLHttpRequest}catch(t){}}function L(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function j(){return setTimeout(function(){Xt=t},0),Xt=Z.now()}function O(e,t){Z.each(t,function(t,n){for(var r=(en[t]||[]).concat(en["*"]),i=0,o=r.length;o>i;i++)if(r[i].call(e,t,n))return})}function M(e,t,n){var r,i=0,o=Zt.length,a=Z.Deferred().always(function(){delete s.elem}),s=function(){for(var t=Xt||j(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,i=1-r,o=0,s=l.tweens.length;s>o;o++)l.tweens[o].run(i);return a.notifyWith(e,[l,i,n]),1>i&&s?n:(a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:Z.extend({},t),opts:Z.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xt||j(),duration:n.duration,tweens:[],createTween:function(t,n,r){var i=Z.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(i),i},stop:function(t){for(var n=0,r=t?l.tweens.length:0;r>n;n++)l.tweens[n].run(1);return t?a.resolveWith(e,[l,t]):a.rejectWith(e,[l,t]),this}}),u=l.props;for(D(u,l.opts.specialEasing);o>i;i++)if(r=Zt[i].call(l,e,u,l.opts))return r;return O(l,u),Z.isFunction(l.opts.start)&&l.opts.start.call(e,l),Z.fx.timer(Z.extend(s,{anim:l,queue:l.opts.queue,elem:e})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function D(e,t){var n,r,i,o,a;for(n in e)if(r=Z.camelCase(n),i=t[r],o=e[n],Z.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=Z.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function H(e,t,n){var r,i,o,a,s,l,u,c,p,h=this,f=e.style,d={},g=[],m=e.nodeType&&y(e);n.queue||(c=Z._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,p=c.empty.fire,c.empty.fire=function(){c.unqueued||p()}),c.unqueued++,h.always(function(){h.always(function(){c.unqueued--,Z.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===Z.css(e,"display")&&"none"===Z.css(e,"float")&&(Z.support.inlineBlockNeedsLayout&&"inline"!==k(e.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",Z.support.shrinkWrapBlocks||h.done(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],Kt.exec(o)){if(delete t[r],l=l||"toggle"===o,o===(m?"hide":"show"))continue;g.push(r)}if(a=g.length){s=Z._data(e,"fxshow")||Z._data(e,"fxshow",{}),"hidden"in s&&(m=s.hidden),l&&(s.hidden=!m),m?Z(e).show():h.done(function(){Z(e).hide()}),h.done(function(){var t;Z.removeData(e,"fxshow",!0);for(t in d)Z.style(e,t,d[t])});for(r=0;a>r;r++)i=g[r],u=h.createTween(i,m?s[i]:0),d[i]=s[i]||Z.style(e,i),i in s||(s[i]=u.start,m&&(u.end=u.start,u.start="width"===i||"height"===i?1:0))}}function I(e,t,n,r,i){return new I.prototype.init(e,t,n,r,i)}function R(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=vt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function B(e){return Z.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var $,F,q=e.document,W=e.location,U=e.navigator,z=e.jQuery,V=e.$,G=Array.prototype.push,X=Array.prototype.slice,J=Array.prototype.indexOf,K=Object.prototype.toString,Y=Object.prototype.hasOwnProperty,Q=String.prototype.trim,Z=function(e,t){return new Z.fn.init(e,t,$)},ee=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,te=/\S/,ne=/\s+/,re=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ie=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,oe=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ae=/^[\],:{}\s]*$/,se=/(?:^|:|,)(?:\s*\[)+/g,le=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ue=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ce=/^-ms-/,pe=/-([\da-z])/gi,he=function(e,t){return(t+"").toUpperCase()},fe=function(){q.addEventListener?(q.removeEventListener("DOMContentLoaded",fe,!1),Z.ready()):"complete"===q.readyState&&(q.detachEvent("onreadystatechange",fe),Z.ready())},de={};Z.fn=Z.prototype={constructor:Z,init:function(e,n,r){var i,o,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ie.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1])return n=n instanceof Z?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:q,e=Z.parseHTML(i[1],a,!0),oe.test(i[1])&&Z.isPlainObject(n)&&this.attr.call(e,n,!0),Z.merge(this,e);if(o=q.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=q,this.selector=e,this}return Z.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),Z.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return X.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=Z.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,"find"===t?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return Z.each(this,e,t)},ready:function(e){return Z.ready.promise().done(e),this},eq:function(e){return e=+e,-1===e?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(X.apply(this,arguments),"slice",X.call(arguments).join(","))},map:function(e){return this.pushStack(Z.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:G,sort:[].sort,splice:[].splice},Z.fn.init.prototype=Z.fn,Z.extend=Z.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||Z.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(e=arguments[l]))for(n in e)r=s[n],i=e[n],s!==i&&(c&&i&&(Z.isPlainObject(i)||(o=Z.isArray(i)))?(o?(o=!1,a=r&&Z.isArray(r)?r:[]):a=r&&Z.isPlainObject(r)?r:{},s[n]=Z.extend(c,a,i)):i!==t&&(s[n]=i));return s},Z.extend({noConflict:function(t){return e.$===Z&&(e.$=V),t&&e.jQuery===Z&&(e.jQuery=z),Z},isReady:!1,readyWait:1,holdReady:function(e){e?Z.readyWait++:Z.ready(!0)},ready:function(e){if(e===!0?!--Z.readyWait:!Z.isReady){if(!q.body)return setTimeout(Z.ready,1);Z.isReady=!0,e!==!0&&--Z.readyWait>0||(F.resolveWith(q,[Z]),Z.fn.trigger&&Z(q).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===Z.type(e)},isArray:Array.isArray||function(e){return"array"===Z.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):de[K.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==Z.type(e)||e.nodeType||Z.isWindow(e))return!1;try{if(e.constructor&&!Y.call(e,"constructor")&&!Y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||Y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return e&&"string"==typeof e?("boolean"==typeof t&&(n=t,t=0),t=t||q,(r=oe.exec(e))?[t.createElement(r[1])]:(r=Z.buildFragment([e],t,n?null:[]),Z.merge([],(r.cacheable?Z.clone(r.fragment):r.fragment).childNodes))):null},parseJSON:function(t){return t&&"string"==typeof t?(t=Z.trim(t),e.JSON&&e.JSON.parse?e.JSON.parse(t):ae.test(t.replace(le,"@").replace(ue,"]").replace(se,""))?new Function("return "+t)():void Z.error("Invalid JSON: "+t)):null},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||Z.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&te.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(ce,"ms-").replace(pe,he)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,o=0,a=e.length,s=a===t||Z.isFunction(e);if(r)if(s){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;a>o&&n.apply(e[o++],r)!==!1;);else if(s){for(i in e)if(n.call(e[i],i,e[i])===!1)break}else for(;a>o&&n.call(e[o],o,e[o++])!==!1;);return e},trim:Q&&!Q.call("\ufeff ")?function(e){return null==e?"":Q.call(e)}:function(e){return null==e?"":(e+"").replace(re,"")},makeArray:function(e,t){var n,r=t||[];return null!=e&&(n=Z.type(e),null==e.length||"string"===n||"function"===n||"regexp"===n||Z.isWindow(e)?G.call(r,e):Z.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(J)return J.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else for(;n[o]!==t;)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,n,r){var i,o,a=[],s=0,l=e.length,u=e instanceof Z||l!==t&&"number"==typeof l&&(l>0&&e[0]&&e[l-1]||0===l||Z.isArray(e));if(u)for(;l>s;s++)i=n(e[s],s,r),null!=i&&(a[a.length]=i);else for(o in e)i=n(e[o],o,r),null!=i&&(a[a.length]=i);return a.concat.apply([],a)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(r=e[n],n=e,e=r),Z.isFunction(e)?(i=X.call(arguments,2),o=function(){return e.apply(n,i.concat(X.call(arguments)))},o.guid=e.guid=e.guid||Z.guid++,o):t},access:function(e,n,r,i,o,a,s){var l,u=null==r,c=0,p=e.length;if(r&&"object"==typeof r){for(c in r)Z.access(e,n,c,r[c],1,a,i);o=1}else if(i!==t){if(l=s===t&&Z.isFunction(i),u&&(l?(l=n,n=function(e,t,n){return l.call(Z(e),n)}):(n.call(e,i),n=null)),n)for(;p>c;c++)n(e[c],r,l?i.call(e[c],c,n(e[c],r)):i,s);o=1}return o?e:u?n.call(e):p?n(e[0],r):a},now:function(){return(new Date).getTime()}}),Z.ready.promise=function(t){if(!F)if(F=Z.Deferred(),"complete"===q.readyState)setTimeout(Z.ready,1);else if(q.addEventListener)q.addEventListener("DOMContentLoaded",fe,!1),e.addEventListener("load",Z.ready,!1);else{q.attachEvent("onreadystatechange",fe),e.attachEvent("onload",Z.ready);var n=!1;try{n=null==e.frameElement&&q.documentElement}catch(r){}n&&n.doScroll&&!function i(){if(!Z.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}Z.ready()}}()}return F.promise(t)},Z.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){de["[object "+t+"]"]=t.toLowerCase()}),$=Z(q);var ge={};Z.Callbacks=function(e){e="string"==typeof e?ge[e]||r(e):Z.extend({},e);var n,i,o,a,s,l,u=[],c=!e.once&&[],p=function(t){for(n=e.memory&&t,i=!0,l=a||0,a=0,s=u.length,o=!0;u&&s>l;l++)if(u[l].apply(t[0],t[1])===!1&&e.stopOnFalse){n=!1;break}o=!1,u&&(c?c.length&&p(c.shift()):n?u=[]:h.disable())},h={add:function(){if(u){var t=u.length;!function r(t){Z.each(t,function(t,n){var i=Z.type(n);"function"===i?e.unique&&h.has(n)||u.push(n):n&&n.length&&"string"!==i&&r(n)})}(arguments),o?s=u.length:n&&(a=t,p(n))}return this},remove:function(){return u&&Z.each(arguments,function(e,t){for(var n;(n=Z.inArray(t,u,n))>-1;)u.splice(n,1),o&&(s>=n&&s--,l>=n&&l--)}),this},has:function(e){return Z.inArray(e,u)>-1},empty:function(){return u=[],this},disable:function(){return u=c=n=t,this},disabled:function(){return!u},lock:function(){return c=t,n||h.disable(),this},locked:function(){return!c},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!u||i&&!c||(o?c.push(t):p(t)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!i}};return h},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")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return Z.Deferred(function(n){Z.each(t,function(t,r){var o=r[0],a=e[t];i[r[1]](Z.isFunction(a)?function(){var e=a.apply(this,arguments);e&&Z.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===i?n:this,[e])}:n[o])}),e=null}).promise()},promise:function(e){return null!=e?Z.extend(e,r):r}},i={};return r.pipe=r.then,Z.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=a.fire,i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=X.call(arguments),a=o.length,s=1!==a||e&&Z.isFunction(e.promise)?a:0,l=1===s?e:Z.Deferred(),u=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?X.call(arguments):i,r===t?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&Z.isFunction(o[i].promise)?o[i].promise().done(u(i,r,o)).fail(l.reject).progress(u(i,n,t)):--s;return s||l.resolveWith(r,o),l.promise()}}),Z.support=function(){var t,n,r,i,o,a,s,l,u,c,p,h=q.createElement("div");if(h.setAttribute("className","t"),h.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=h.getElementsByTagName("*"),r=h.getElementsByTagName("a")[0],!n||!r||!n.length)return{};i=q.createElement("select"),o=i.appendChild(q.createElement("option")),a=h.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:3===h.firstChild.nodeType,tbody:!h.getElementsByTagName("tbody").length,htmlSerialize:!!h.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:"on"===a.value,optSelected:o.selected,getSetAttribute:"t"!==h.className,enctype:!!q.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==q.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===q.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,i.disabled=!0,t.optDisabled=!o.disabled;try{delete h.test}catch(f){t.deleteExpando=!1}if(!h.addEventListener&&h.attachEvent&&h.fireEvent&&(h.attachEvent("onclick",p=function(){t.noCloneEvent=!1}),h.cloneNode(!0).fireEvent("onclick"),h.detachEvent("onclick",p)),a=q.createElement("input"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","checked"),a.setAttribute("name","t"),h.appendChild(a),s=q.createDocumentFragment(),s.appendChild(h.lastChild),t.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=a.checked,s.removeChild(a),s.appendChild(h),h.attachEvent)for(u in{submit:!0,change:!0,focusin:!0})l="on"+u,c=l in h,c||(h.setAttribute(l,"return;"),c="function"==typeof h[l]),t[u+"Bubbles"]=c;return Z(function(){var n,r,i,o,a="padding:0;margin:0;border:0;display:block;overflow:hidden;",s=q.getElementsByTagName("body")[0];s&&(n=q.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",s.insertBefore(n,s.firstChild),r=q.createElement("div"),n.appendChild(r),r.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=r.getElementsByTagName("td"),i[0].style.cssText="padding:0;margin:0;border:0;display:none",c=0===i[0].offsetHeight,i[0].style.display="",i[1].style.display="none",t.reliableHiddenOffsets=c&&0===i[0].offsetHeight,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===r.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==s.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(r,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(r,null)||{width:"4px"}).width,o=q.createElement("div"),o.style.cssText=r.style.cssText=a,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),"undefined"!=typeof r.style.zoom&&(r.innerHTML="",r.style.cssText=a+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===r.offsetWidth,r.style.display="block",r.style.overflow="visible",r.innerHTML="<div></div>",r.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==r.offsetWidth,n.style.zoom=1),s.removeChild(n),n=r=i=o=null)}),s.removeChild(h),n=r=i=o=a=s=h=null,t}();var me=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,ve=/([A-Z])/g;Z.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(Z.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?Z.cache[e[Z.expando]]:e[Z.expando],!!e&&!o(e)},data:function(e,n,r,i){if(Z.acceptData(e)){var o,a,s=Z.expando,l="string"==typeof n,u=e.nodeType,c=u?Z.cache:e,p=u?e[s]:e[s]&&s;if(p&&c[p]&&(i||c[p].data)||!l||r!==t)return p||(u?e[s]=p=Z.deletedIds.pop()||Z.guid++:p=s),c[p]||(c[p]={},u||(c[p].toJSON=Z.noop)),("object"==typeof n||"function"==typeof n)&&(i?c[p]=Z.extend(c[p],n):c[p].data=Z.extend(c[p].data,n)),o=c[p],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[Z.camelCase(n)]=r),l?(a=o[n],null==a&&(a=o[Z.camelCase(n)])):a=o,a}},removeData:function(e,t,n){if(Z.acceptData(e)){var r,i,a,s=e.nodeType,l=s?Z.cache:e,u=s?e[Z.expando]:Z.expando;if(l[u]){if(t&&(r=n?l[u]:l[u].data)){Z.isArray(t)||(t in r?t=[t]:(t=Z.camelCase(t),t=t in r?[t]:t.split(" ")));for(i=0,a=t.length;a>i;i++)delete r[t[i]];if(!(n?o:Z.isEmptyObject)(r))return}(n||(delete l[u].data,o(l[u])))&&(s?Z.cleanData([e],!0):Z.support.deleteExpando||l!=l.window?delete l[u]:l[u]=null)}}},_data:function(e,t,n){return Z.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&Z.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),Z.fn.extend({data:function(e,n){var r,o,a,s,l,u=this[0],c=0,p=null;if(e===t){if(this.length&&(p=Z.data(u),1===u.nodeType&&!Z._data(u,"parsedAttrs"))){for(a=u.attributes,l=a.length;l>c;c++)s=a[c].name,s.indexOf("data-")||(s=Z.camelCase(s.substring(5)),i(u,s,p[s]));Z._data(u,"parsedAttrs",!0)}return p}return"object"==typeof e?this.each(function(){Z.data(this,e)}):(r=e.split(".",2),r[1]=r[1]?"."+r[1]:"",o=r[1]+"!",Z.access(this,function(n){return n===t?(p=this.triggerHandler("getData"+o,[r[0]]),p===t&&u&&(p=Z.data(u,e),p=i(u,e,p)),p===t&&r[1]?this.data(r[0]):p):(r[1]=n,void this.each(function(){var t=Z(this);t.triggerHandler("setData"+o,r),Z.data(this,e,n),t.triggerHandler("changeData"+o,r); +}))},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){Z.removeData(this,e)})}}),Z.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=Z._data(e,t),n&&(!r||Z.isArray(n)?r=Z._data(e,t,Z.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=Z.queue(e,t),r=n.length,i=n.shift(),o=Z._queueHooks(e,t),a=function(){Z.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z._data(e,n)||Z._data(e,n,{empty:Z.Callbacks("once memory").add(function(){Z.removeData(e,t+"queue",!0),Z.removeData(e,n,!0)})})}}),Z.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),arguments.length<r?Z.queue(this[0],e):n===t?this:this.each(function(){var t=Z.queue(this,e,n);Z._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&Z.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Z.dequeue(this,e)})},delay:function(e,t){return e=Z.fx?Z.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=Z.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";s--;)r=Z._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var ye,be,xe,we=/[\t\r\n]/g,Se=/\r/g,ke=/^(?:button|input)$/i,Ce=/^(?:button|input|object|select|textarea)$/i,_e=/^a(?:rea|)$/i,Ee=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Ae=Z.support.getSetAttribute;Z.fn.extend({attr:function(e,t){return Z.access(this,Z.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Z.removeAttr(this,e)})},prop:function(e,t){return Z.access(this,Z.prop,e,t,arguments.length>1)},removeProp:function(e){return e=Z.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a,s;if(Z.isFunction(e))return this.each(function(t){Z(this).addClass(e.call(this,t,this.className))});if(e&&"string"==typeof e)for(t=e.split(ne),n=0,r=this.length;r>n;n++)if(i=this[n],1===i.nodeType)if(i.className||1!==t.length){for(o=" "+i.className+" ",a=0,s=t.length;s>a;a++)o.indexOf(" "+t[a]+" ")<0&&(o+=t[a]+" ");i.className=Z.trim(o)}else i.className=e;return this},removeClass:function(e){var n,r,i,o,a,s,l;if(Z.isFunction(e))return this.each(function(t){Z(this).removeClass(e.call(this,t,this.className))});if(e&&"string"==typeof e||e===t)for(n=(e||"").split(ne),s=0,l=this.length;l>s;s++)if(i=this[s],1===i.nodeType&&i.className){for(r=(" "+i.className+" ").replace(we," "),o=0,a=n.length;a>o;o++)for(;r.indexOf(" "+n[o]+" ")>=0;)r=r.replace(" "+n[o]+" "," ");i.className=e?Z.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return Z.isFunction(e)?this.each(function(n){Z(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var i,o=0,a=Z(this),s=t,l=e.split(ne);i=l[o++];)s=r?s:!a.hasClass(i),a[s?"addClass":"removeClass"](i);else("undefined"===n||"boolean"===n)&&(this.className&&Z._data(this,"__className__",this.className),this.className=this.className||e===!1?"":Z._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(we," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=Z.isFunction(e),this.each(function(r){var o,a=Z(this);1===this.nodeType&&(o=i?e.call(this,r,a.val()):e,null==o?o="":"number"==typeof o?o+="":Z.isArray(o)&&(o=Z.map(o,function(e){return null==e?"":e+""})),n=Z.valHooks[this.type]||Z.valHooks[this.nodeName.toLowerCase()],n&&"set"in n&&n.set(this,o,"value")!==t||(this.value=o))});if(o)return n=Z.valHooks[o.type]||Z.valHooks[o.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(o,"value"))!==t?r:(r=o.value,"string"==typeof r?r.replace(Se,""):null==r?"":r)}}}),Z.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;s>l;l++)if(n=r[l],(n.selected||l===i)&&(Z.support.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!Z.nodeName(n.parentNode,"optgroup"))){if(t=Z(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=Z.makeArray(t);return Z(e).find("option").each(function(){this.selected=Z.inArray(Z(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var o,a,s,l=e.nodeType;if(e&&3!==l&&8!==l&&2!==l)return i&&Z.isFunction(Z.fn[n])?Z(e)[n](r):"undefined"==typeof e.getAttribute?Z.prop(e,n,r):(s=1!==l||!Z.isXMLDoc(e),s&&(n=n.toLowerCase(),a=Z.attrHooks[n]||(Ee.test(n)?be:ye)),r!==t?null===r?void Z.removeAttr(e,n):a&&"set"in a&&s&&(o=a.set(e,r,n))!==t?o:(e.setAttribute(n,r+""),r):a&&"get"in a&&s&&null!==(o=a.get(e,n))?o:(o=e.getAttribute(n),null===o?t:o))},removeAttr:function(e,t){var n,r,i,o,a=0;if(t&&1===e.nodeType)for(r=t.split(ne);a<r.length;a++)i=r[a],i&&(n=Z.propFix[i]||i,o=Ee.test(i),o||Z.attr(e,i,""),e.removeAttribute(Ae?i:n),o&&n in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(ke.test(e.nodeName)&&e.parentNode)Z.error("type property can't be changed");else if(!Z.support.radioValue&&"radio"===t&&Z.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return ye&&Z.nodeName(e,"button")?ye.get(e,t):t in e?e.value:null},set:function(e,t,n){return ye&&Z.nodeName(e,"button")?ye.set(e,t,n):void(e.value=t)}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!Z.isXMLDoc(e),a&&(n=Z.propFix[n]||n,o=Z.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):Ce.test(e.nodeName)||_e.test(e.nodeName)&&e.href?0:t}}}}),be={get:function(e,n){var r,i=Z.prop(e,n);return i===!0||"boolean"!=typeof i&&(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;return t===!1?Z.removeAttr(e,n):(r=Z.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},Ae||(xe={name:!0,id:!0,coords:!0},ye=Z.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&(xe[n]?""!==r.value:r.specified)?r.value:t},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=q.createAttribute(n),e.setAttributeNode(r)),r.value=t+""}},Z.each(["width","height"],function(e,t){Z.attrHooks[t]=Z.extend(Z.attrHooks[t],{set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}})}),Z.attrHooks.contenteditable={get:ye.get,set:function(e,t,n){""===t&&(t="false"),ye.set(e,t,n)}}),Z.support.hrefNormalized||Z.each(["href","src","width","height"],function(e,n){Z.attrHooks[n]=Z.extend(Z.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null===r?t:r}})}),Z.support.style||(Z.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=t+""}}),Z.support.optSelected||(Z.propHooks.selected=Z.extend(Z.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),Z.support.enctype||(Z.propFix.enctype="encoding"),Z.support.checkOn||Z.each(["radio","checkbox"],function(){Z.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),Z.each(["radio","checkbox"],function(){Z.valHooks[this]=Z.extend(Z.valHooks[this],{set:function(e,t){return Z.isArray(t)?e.checked=Z.inArray(Z(e).val(),t)>=0:void 0}})});var Ne=/^(?:textarea|input|select)$/i,Te=/^([^\.]*|)(?:\.(.+)|)$/,Pe=/(?:^|\s)hover(\.\S+|)\b/,Le=/^key/,je=/^(?:mouse|contextmenu)|click/,Oe=/^(?:focusinfocus|focusoutblur)$/,Me=function(e){return Z.event.special.hover?e:e.replace(Pe,"mouseenter$1 mouseleave$1")};Z.event={add:function(e,n,r,i,o){var a,s,l,u,c,p,h,f,d,g,m;if(3!==e.nodeType&&8!==e.nodeType&&n&&r&&(a=Z._data(e))){for(r.handler&&(d=r,r=d.handler,o=d.selector),r.guid||(r.guid=Z.guid++),l=a.events,l||(a.events=l={}),s=a.handle,s||(a.handle=s=function(e){return"undefined"==typeof Z||e&&Z.event.triggered===e.type?t:Z.event.dispatch.apply(s.elem,arguments)},s.elem=e),n=Z.trim(Me(n)).split(" "),u=0;u<n.length;u++)c=Te.exec(n[u])||[],p=c[1],h=(c[2]||"").split(".").sort(),m=Z.event.special[p]||{},p=(o?m.delegateType:m.bindType)||p,m=Z.event.special[p]||{},f=Z.extend({type:p,origType:c[1],data:i,handler:r,guid:r.guid,selector:o,needsContext:o&&Z.expr.match.needsContext.test(o),namespace:h.join(".")},d),g=l[p],g||(g=l[p]=[],g.delegateCount=0,m.setup&&m.setup.call(e,i,h,s)!==!1||(e.addEventListener?e.addEventListener(p,s,!1):e.attachEvent&&e.attachEvent("on"+p,s))),m.add&&(m.add.call(e,f),f.handler.guid||(f.handler.guid=r.guid)),o?g.splice(g.delegateCount++,0,f):g.push(f),Z.event.global[p]=!0;e=null}},global:{},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,h,f,d,g,m=Z.hasData(e)&&Z._data(e);if(m&&(h=m.events)){for(t=Z.trim(Me(t||"")).split(" "),o=0;o<t.length;o++)if(a=Te.exec(t[o])||[],s=l=a[1],u=a[2],s){for(f=Z.event.special[s]||{},s=(r?f.delegateType:f.bindType)||s,d=h[s]||[],c=d.length,u=u?new RegExp("(^|\\.)"+u.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,p=0;p<d.length;p++)g=d[p],!i&&l!==g.origType||n&&n.guid!==g.guid||u&&!u.test(g.namespace)||r&&r!==g.selector&&("**"!==r||!g.selector)||(d.splice(p--,1),g.selector&&d.delegateCount--,f.remove&&f.remove.call(e,g));0===d.length&&c!==d.length&&(f.teardown&&f.teardown.call(e,u,m.handle)!==!1||Z.removeEvent(e,s,m.handle),delete h[s])}else for(s in h)Z.event.remove(e,s+t[o],n,r,!0);Z.isEmptyObject(h)&&(delete m.handle,Z.removeData(e,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,i,o){if(!i||3!==i.nodeType&&8!==i.nodeType){var a,s,l,u,c,p,h,f,d,g,m=n.type||n,v=[];if(!Oe.test(m+Z.event.triggered)&&(m.indexOf("!")>=0&&(m=m.slice(0,-1),s=!0),m.indexOf(".")>=0&&(v=m.split("."),m=v.shift(),v.sort()),i&&!Z.event.customEvent[m]||Z.event.global[m]))if(n="object"==typeof n?n[Z.expando]?n:new Z.Event(m,n):new Z.Event(m),n.type=m,n.isTrigger=!0,n.exclusive=s,n.namespace=v.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,p=m.indexOf(":")<0?"on"+m:"",i){if(n.result=t,n.target||(n.target=i),r=null!=r?Z.makeArray(r):[],r.unshift(n),h=Z.event.special[m]||{},!h.trigger||h.trigger.apply(i,r)!==!1){if(d=[[i,h.bindType||m]],!o&&!h.noBubble&&!Z.isWindow(i)){for(g=h.delegateType||m,u=Oe.test(g+m)?i:i.parentNode,c=i;u;u=u.parentNode)d.push([u,g]),c=u;c===(i.ownerDocument||q)&&d.push([c.defaultView||c.parentWindow||e,g])}for(l=0;l<d.length&&!n.isPropagationStopped();l++)u=d[l][0],n.type=d[l][1],f=(Z._data(u,"events")||{})[n.type]&&Z._data(u,"handle"),f&&f.apply(u,r),f=p&&u[p],f&&Z.acceptData(u)&&f.apply&&f.apply(u,r)===!1&&n.preventDefault();return n.type=m,o||n.isDefaultPrevented()||h._default&&h._default.apply(i.ownerDocument,r)!==!1||"click"===m&&Z.nodeName(i,"a")||!Z.acceptData(i)||p&&i[m]&&("focus"!==m&&"blur"!==m||0!==n.target.offsetWidth)&&!Z.isWindow(i)&&(c=i[p],c&&(i[p]=null),Z.event.triggered=m,i[m](),Z.event.triggered=t,c&&(i[p]=c)),n.result}}else{a=Z.cache;for(l in a)a[l].events&&a[l].events[m]&&Z.event.trigger(n,r,a[l].handle.elem,!0)}}},dispatch:function(n){n=Z.event.fix(n||e.event);var r,i,o,a,s,l,u,c,p,h=(Z._data(this,"events")||{})[n.type]||[],f=h.delegateCount,d=X.call(arguments),g=!n.exclusive&&!n.namespace,m=Z.event.special[n.type]||{},v=[];if(d[0]=n,n.delegateTarget=this,!m.preDispatch||m.preDispatch.call(this,n)!==!1){if(f&&(!n.button||"click"!==n.type))for(o=n.target;o!=this;o=o.parentNode||this)if(o.disabled!==!0||"click"!==n.type){for(s={},u=[],r=0;f>r;r++)c=h[r],p=c.selector,s[p]===t&&(s[p]=c.needsContext?Z(p,this).index(o)>=0:Z.find(p,this,null,[o]).length),s[p]&&u.push(c);u.length&&v.push({elem:o,matches:u})}for(h.length>f&&v.push({elem:this,matches:h.slice(f)}),r=0;r<v.length&&!n.isPropagationStopped();r++)for(l=v[r],n.currentTarget=l.elem,i=0;i<l.matches.length&&!n.isImmediatePropagationStopped();i++)c=l.matches[i],(g||!n.namespace&&!c.namespace||n.namespace_re&&n.namespace_re.test(c.namespace))&&(n.data=c.data,n.handleObj=c,a=((Z.event.special[c.origType]||{}).handle||c.handler).apply(l.elem,d),a!==t&&(n.result=a,a===!1&&(n.preventDefault(),n.stopPropagation())));return m.postDispatch&&m.postDispatch.call(this,n),n.result}},props:"attrChange attrName relatedNode srcElement 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 fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,a=n.button,s=n.fromElement;return null==e.pageX&&null!=n.clientX&&(r=e.target.ownerDocument||q,i=r.documentElement,o=r.body,e.pageX=n.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),e.pageY=n.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),e.which||a===t||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[Z.expando])return e;var t,n,r=e,i=Z.event.fixHooks[e.type]||{},o=i.props?this.props.concat(i.props):this.props;for(e=Z.Event(r),t=o.length;t;)n=o[--t],e[n]=r[n];return e.target||(e.target=r.srcElement||q),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,i.filter?i.filter(e,r):e},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){Z.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,r){var i=Z.extend(new Z.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?Z.event.trigger(i,null,t):Z.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},Z.event.handle=Z.event.dispatch,Z.removeEvent=q.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&("undefined"==typeof e[r]&&(e[r]=null),e.detachEvent(r,n))},Z.Event=function(e,t){return this instanceof Z.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?s:a):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={preventDefault:function(){this.isDefaultPrevented=s;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=s;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=s,this.stopPropagation()},isDefaultPrevented:a,isPropagationStopped:a,isImmediatePropagationStopped:a},Z.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){Z.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;o.selector;return(!i||i!==r&&!Z.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Z.support.submitBubbles||(Z.event.special.submit={setup:function(){return Z.nodeName(this,"form")?!1:void Z.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=Z.nodeName(n,"input")||Z.nodeName(n,"button")?n.form:t;r&&!Z._data(r,"_submit_attached")&&(Z.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),Z._data(r,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&Z.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return Z.nodeName(this,"form")?!1:void Z.event.remove(this,"._submit")}}),Z.support.changeBubbles||(Z.event.special.change={setup:function(){return Ne.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(Z.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),Z.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),Z.event.simulate("change",this,e,!0)})),!1):void Z.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ne.test(t.nodeName)&&!Z._data(t,"_change_attached")&&(Z.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||Z.event.simulate("change",this.parentNode,e,!0)}),Z._data(t,"_change_attached",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return Z.event.remove(this,"._change"),!Ne.test(this.nodeName)}}),Z.support.focusinBubbles||Z.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){Z.event.simulate(t,e.target,Z.event.fix(e),!0)};Z.event.special[t]={setup:function(){0===n++&&q.addEventListener(e,r,!0)},teardown:function(){0===--n&&q.removeEventListener(e,r,!0)}}}),Z.fn.extend({on:function(e,n,r,i,o){var s,l;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(l in e)this.on(l,n,r,e[l],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=a;else if(!i)return this;return 1===o&&(s=i,i=function(e){return Z().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=Z.guid++)),this.each(function(){Z.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,Z(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=a),this.each(function(){Z.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return Z(this.context).on(e,this.selector,t,n),this},die:function(e,t){return Z(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){Z.event.trigger(e,t,this)})},triggerHandler:function(e,t){return this[0]?Z.event.trigger(e,t,this[0],!0):void 0},toggle:function(e){var t=arguments,n=e.guid||Z.guid++,r=0,i=function(n){var i=(Z._data(this,"lastToggle"+e.guid)||0)%r;return Z._data(this,"lastToggle"+e.guid,i+1),n.preventDefault(),t[i].apply(this,arguments)||!1};for(i.guid=n;r<t.length;)t[r++].guid=n;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),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,n){return null==n&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},Le.test(t)&&(Z.event.fixHooks[t]=Z.event.keyHooks),je.test(t)&&(Z.event.fixHooks[t]=Z.event.mouseHooks)}),function(e,t){function n(e,t,n,r){n=n||[],t=t||L;var i,o,a,s,l=t.nodeType;if(!e||"string"!=typeof e)return n;if(1!==l&&9!==l)return[];if(a=w(t),!a&&!r&&(i=ne.exec(e)))if(s=i[1]){if(9===l){if(o=t.getElementById(s),!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&S(t,o)&&o.id===s)return n.push(o),n}else{if(i[2])return H.apply(n,I.call(t.getElementsByTagName(e),0)),n;if((s=i[3])&&he&&t.getElementsByClassName)return H.apply(n,I.call(t.getElementsByClassName(s),0)),n}return g(e.replace(Y,"$1"),t,n,r,a)}function r(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function i(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function o(e){return B(function(t){return t=+t,B(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function a(e,t,n){if(e===t)return n;for(var r=e.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}function s(e,t){var r,i,o,a,s,l,u,c=q[T][e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=b.preFilter;s;){(!r||(i=Q.exec(s)))&&(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=ee.exec(s))&&(o.push(r=new P(i.shift())),s=s.slice(r.length),r.type=i[0].replace(Y," "));for(a in b.filter)!(i=se[a].exec(s))||u[a]&&!(i=u[a](i))||(o.push(r=new P(i.shift())),s=s.slice(r.length),r.type=a,r.matches=i);if(!r)break}return t?s.length:s?n.error(e):q(e,l).slice(0)}function l(e,t,n){var r=t.dir,i=n&&"parentNode"===t.dir,o=M++;return t.first?function(t,n,o){for(;t=t[r];)if(i||1===t.nodeType)return e(t,n,o)}:function(t,n,a){if(a){for(;t=t[r];)if((i||1===t.nodeType)&&e(t,n,a))return t}else for(var s,l=O+" "+o+" ",u=l+v;t=t[r];)if(i||1===t.nodeType){if((s=t[T])===u)return t.sizset;if("string"==typeof s&&0===s.indexOf(l)){if(t.sizset)return t}else{if(t[T]=u,e(t,n,a))return t.sizset=!0,t;t.sizset=!1}}}}function u(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function c(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function p(e,t,n,r,i,o){return r&&!r[T]&&(r=p(r)),i&&!i[T]&&(i=p(i,o)),B(function(o,a,s,l){var u,p,h,f=[],g=[],m=a.length,v=o||d(t||"*",s.nodeType?[s]:s,[]),y=!e||!o&&t?v:c(v,f,e,s,l),b=n?i||(o?e:m||r)?[]:a:y;if(n&&n(y,b,s,l),r)for(u=c(b,g),r(u,[],s,l),p=u.length;p--;)(h=u[p])&&(b[g[p]]=!(y[g[p]]=h));if(o){if(i||e){if(i){for(u=[],p=b.length;p--;)(h=b[p])&&u.push(y[p]=h);i(null,b=[],u,l)}for(p=b.length;p--;)(h=b[p])&&(u=i?R.call(o,h):f[p])>-1&&(o[u]=!(a[u]=h))}}else b=c(b===a?b.splice(m,b.length):b),i?i(null,a,b,l):H.apply(a,b)})}function h(e){for(var t,n,r,i=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,c=l(function(e){return e===t},a,!0),f=l(function(e){return R.call(t,e)>-1},a,!0),d=[function(e,n,r){return!o&&(r||n!==E)||((t=n).nodeType?c(e,n,r):f(e,n,r))}];i>s;s++)if(n=b.relative[e[s].type])d=[l(u(d),n)];else{if(n=b.filter[e[s].type].apply(null,e[s].matches),n[T]){for(r=++s;i>r&&!b.relative[e[r].type];r++);return p(s>1&&u(d),s>1&&e.slice(0,s-1).join("").replace(Y,"$1"),n,r>s&&h(e.slice(s,r)),i>r&&h(e=e.slice(r)),i>r&&e.join(""))}d.push(n)}return u(d)}function f(e,t){var r=t.length>0,i=e.length>0,o=function(a,s,l,u,p){var h,f,d,g=[],m=0,y="0",x=a&&[],w=null!=p,S=E,k=a||i&&b.find.TAG("*",p&&s.parentNode||s),C=O+=null==S?1:Math.E;for(w&&(E=s!==L&&s,v=o.el);null!=(h=k[y]);y++){if(i&&h){for(f=0;d=e[f];f++)if(d(h,s,l)){u.push(h);break}w&&(O=C,v=++o.el)}r&&((h=!d&&h)&&m--,a&&x.push(h))}if(m+=y,r&&y!==m){for(f=0;d=t[f];f++)d(x,g,s,l);if(a){if(m>0)for(;y--;)x[y]||g[y]||(g[y]=D.call(u));g=c(g)}H.apply(u,g),w&&!a&&g.length>0&&m+t.length>1&&n.uniqueSort(u)}return w&&(O=C,E=S),x};return o.el=0,r?B(o):o}function d(e,t,r){for(var i=0,o=t.length;o>i;i++)n(e,t[i],r);return r}function g(e,t,n,r,i){var o,a,l,u,c,p=s(e);p.length;if(!r&&1===p.length){if(a=p[0]=p[0].slice(0),a.length>2&&"ID"===(l=a[0]).type&&9===t.nodeType&&!i&&b.relative[a[1].type]){if(t=b.find.ID(l.matches[0].replace(ae,""),t,i)[0],!t)return n;e=e.slice(a.shift().length)}for(o=se.POS.test(e)?-1:a.length-1;o>=0&&(l=a[o],!b.relative[u=l.type]);o--)if((c=b.find[u])&&(r=c(l.matches[0].replace(ae,""),re.test(a[0].type)&&t.parentNode||t,i))){if(a.splice(o,1),e=r.length&&a.join(""),!e)return H.apply(n,I.call(r,0)),n;break}}return k(e,p)(r,t,i,n,re.test(e)),n}function m(){}var v,y,b,x,w,S,k,C,_,E,A=!0,N="undefined",T=("sizcache"+Math.random()).replace(".",""),P=String,L=e.document,j=L.documentElement,O=0,M=0,D=[].pop,H=[].push,I=[].slice,R=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},B=function(e,t){return e[T]=null==t||t,e},$=function(){var e={},t=[];return B(function(n,r){return t.push(n)>b.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},F=$(),q=$(),W=$(),U="[\\x20\\t\\r\\n\\f]",z="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",V=z.replace("w","w#"),G="([*^$|!~]?=)",X="\\["+U+"*("+z+")"+U+"*(?:"+G+U+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+V+")|)|)"+U+"*\\]",J=":("+z+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+X+")|[^:]|\\\\.)*|.*))\\)|)",K=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+U+"*((?:-\\d)?\\d*)"+U+"*\\)|)(?=[^-]|$)",Y=new RegExp("^"+U+"+|((?:^|[^\\\\])(?:\\\\.)*)"+U+"+$","g"),Q=new RegExp("^"+U+"*,"+U+"*"),ee=new RegExp("^"+U+"*([\\x20\\t\\r\\n\\f>+~])"+U+"*"),te=new RegExp(J),ne=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,re=/[\x20\t\r\n\f]*[+~]/,ie=/h\d/i,oe=/input|select|textarea|button/i,ae=/\\(?!\\)/g,se={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),NAME:new RegExp("^\\[name=['\"]?("+z+")['\"]?\\]"),TAG:new RegExp("^("+z.replace("w","w*")+")"),ATTR:new RegExp("^"+X),PSEUDO:new RegExp("^"+J),POS:new RegExp(K,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+U+"*(even|odd|(([+-]|)(\\d*)n|)"+U+"*(?:([+-]|)"+U+"*(\\d+)|))"+U+"*\\)|)","i"),needsContext:new RegExp("^"+U+"*[>+~]|"+K,"i")},le=function(e){var t=L.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},ue=le(function(e){return e.appendChild(L.createComment("")),!e.getElementsByTagName("*").length}),ce=le(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==N&&"#"===e.firstChild.getAttribute("href")}),pe=le(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),he=le(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&e.getElementsByClassName("e").length?(e.lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),fe=le(function(e){e.id=T+0,e.innerHTML="<a name='"+T+"'></a><div name='"+T+"'></div>",j.insertBefore(e,j.firstChild);var t=L.getElementsByName&&L.getElementsByName(T).length===2+L.getElementsByName(T+0).length;return y=!L.getElementById(T),j.removeChild(e),t});try{I.call(j.childNodes,0)[0].nodeType}catch(de){I=function(e){for(var t,n=[];t=this[e];e++)n.push(t);return n}}n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){return n(t,null,null,[e]).length>0},x=n.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=x(t);return n},w=n.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},S=n.contains=j.contains?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&1===r.nodeType&&n.contains&&n.contains(r))}:j.compareDocumentPosition?function(e,t){return t&&!!(16&e.compareDocumentPosition(t))}:function(e,t){for(;t=t.parentNode;)if(t===e)return!0;return!1},n.attr=function(e,t){var n,r=w(e);return r||(t=t.toLowerCase()),(n=b.attrHandle[t])?n(e):r||pe?e.getAttribute(t):(n=e.getAttributeNode(t),n?"boolean"==typeof e[t]?e[t]?t:null:n.specified?n.value:null:null)},b=n.selectors={cacheLength:50,createPseudo:B,match:se,attrHandle:ce?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:y?function(e,t,n){if(typeof t.getElementById!==N&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==N&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==N&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:ue?function(e,t){return typeof t.getElementsByTagName!==N?t.getElementsByTagName(e):void 0}:function(e,t){var n=t.getElementsByTagName(e);if("*"===e){for(var r,i=[],o=0;r=n[o];o++)1===r.nodeType&&i.push(r);return i}return n},NAME:fe&&function(e,t){return typeof t.getElementsByName!==N?t.getElementsByName(name):void 0},CLASS:he&&function(e,t,n){return typeof t.getElementsByClassName===N||n?void 0:t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ae,""),e[3]=(e[4]||e[5]||"").replace(ae,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||n.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&n.error(e[0]),e},PSEUDO:function(e){var t,n;return se.CHILD.test(e[0])?null:(e[3]?e[2]=e[3]:(t=e[4])&&(te.test(t)&&(n=s(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t),e.slice(0,3))}},filter:{ID:y?function(e){return e=e.replace(ae,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace(ae,""),function(t){var n=typeof t.getAttributeNode!==N&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(ae,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=F[T][e+" "];return t||(t=new RegExp("(^|"+U+")"+e+"("+U+"|$)"))&&F(e,function(e){return t.test(e.className||typeof e.getAttribute!==N&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(i,o){var a=n.attr(i,e);return null==a?"!="===t:t?(a+="","="===t?a===r:"!="===t?a!==r:"^="===t?r&&0===a.indexOf(r):"*="===t?r&&a.indexOf(r)>-1:"$="===t?r&&a.substr(a.length-r.length)===r:"~="===t?(" "+a+" ").indexOf(r)>-1:"|="===t?a===r||a.substr(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r){return"nth"===e?function(e){var t,i,o=e.parentNode;if(1===n&&0===r)return!0;if(o)for(i=0,t=o.firstChild;t&&(1!==t.nodeType||(i++,e!==t));t=t.nextSibling);return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":for(;n=n.previousSibling;)if(1===n.nodeType)return!1;if("first"===e)return!0;n=t;case"last":for(;n=n.nextSibling;)if(1===n.nodeType)return!1;return!0}}},PSEUDO:function(e,t){var r,i=b.pseudos[e]||b.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return i[T]?i(t):i.length>1?(r=[e,e,"",t],b.setFilters.hasOwnProperty(e.toLowerCase())?B(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)r=R.call(e,o[a]),e[r]=!(n[r]=o[a])}):function(e){return i(e,0,r)}):i}},pseudos:{not:B(function(e){var t=[],n=[],r=k(e.replace(Y,"$1"));return r[T]?B(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:B(function(e){return function(t){return n(e,t).length>0}}),contains:B(function(e){return function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),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},parent:function(e){return!b.pseudos.empty(e)},empty:function(e){var t;for(e=e.firstChild;e;){if(e.nodeName>"@"||3===(t=e.nodeType)||4===t)return!1;e=e.nextSibling}return!0},header:function(e){return ie.test(e.nodeName)},text:function(e){var t,n;return"input"===e.nodeName.toLowerCase()&&"text"===(t=e.type)&&(null==(n=e.getAttribute("type"))||n.toLowerCase()===t)},radio:r("radio"),checkbox:r("checkbox"),file:r("file"),password:r("password"),image:r("image"),submit:i("submit"),reset:i("reset"),button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return oe.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:o(function(){return[0]}),last:o(function(e,t){return[t-1]}),eq:o(function(e,t,n){return[0>n?n+t:n]}),even:o(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:o(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:o(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:o(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},C=j.compareDocumentPosition?function(e,t){return e===t?(_=!0,0):(e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t):e.compareDocumentPosition)?-1:1}:function(e,t){if(e===t)return _=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],o=[],s=e.parentNode,l=t.parentNode,u=s;if(s===l)return a(e,t);if(!s)return-1;if(!l)return 1;for(;u;)i.unshift(u),u=u.parentNode;for(u=l;u;)o.unshift(u),u=u.parentNode;n=i.length,r=o.length;for(var c=0;n>c&&r>c;c++)if(i[c]!==o[c])return a(i[c],o[c]);return c===n?a(e,o[c],-1):a(i[c],t,1)},[0,0].sort(C),A=!_,n.uniqueSort=function(e){var t,n=[],r=1,i=0;if(_=A,e.sort(C),_){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return e},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},k=n.compile=function(e,t){var n,r=[],i=[],o=W[T][e+" "];if(!o){for(t||(t=s(e)),n=t.length;n--;)o=h(t[n]),o[T]?r.push(o):i.push(o);o=W(e,f(i,r))}return o},L.querySelectorAll&&!function(){var e,t=g,r=/'|\\/g,i=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,o=[":focus"],a=[":active"],l=j.matchesSelector||j.mozMatchesSelector||j.webkitMatchesSelector||j.oMatchesSelector||j.msMatchesSelector;le(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||o.push("\\["+U+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||o.push(":checked")}),le(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&o.push("[*^$]="+U+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'/>",e.querySelectorAll(":enabled").length||o.push(":enabled",":disabled")}),o=new RegExp(o.join("|")),g=function(e,n,i,a,l){if(!a&&!l&&!o.test(e)){var u,c,p=!0,h=T,f=n,d=9===n.nodeType&&e;if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){for(u=s(e),(p=n.getAttribute("id"))?h=p.replace(r,"\\$&"):n.setAttribute("id",h),h="[id='"+h+"'] ",c=u.length;c--;)u[c]=h+u[c].join("");f=re.test(e)&&n.parentNode||n,d=u.join(",")}if(d)try{return H.apply(i,I.call(f.querySelectorAll(d),0)),i}catch(g){}finally{p||n.removeAttribute("id")}}return t(e,n,i,a,l)},l&&(le(function(t){e=l.call(t,"div");try{l.call(t,"[test!='']:sizzle"),a.push("!=",J)}catch(n){}}),a=new RegExp(a.join("|")),n.matchesSelector=function(t,r){if(r=r.replace(i,"='$1']"),!w(t)&&!a.test(r)&&!o.test(r))try{var s=l.call(t,r);if(s||e||t.document&&11!==t.document.nodeType)return s}catch(u){}return n(r,null,null,[t]).length>0})}(),b.pseudos.nth=b.pseudos.eq,b.filters=m.prototype=b.pseudos,b.setFilters=new m,n.attr=Z.attr,Z.find=n,Z.expr=n.selectors,Z.expr[":"]=Z.expr.pseudos,Z.unique=n.uniqueSort,Z.text=n.getText,Z.isXMLDoc=n.isXML,Z.contains=n.contains}(e);var De=/Until$/,He=/^(?:parents|prev(?:Until|All))/,Ie=/^.[^:#\[\.,]*$/,Re=Z.expr.match.needsContext,Be={children:!0,contents:!0,next:!0,prev:!0};Z.fn.extend({find:function(e){var t,n,r,i,o,a,s=this;if("string"!=typeof e)return Z(e).filter(function(){for(t=0,n=s.length;n>t;t++)if(Z.contains(s[t],this))return!0});for(a=this.pushStack("","find",e),t=0,n=this.length;n>t;t++)if(r=a.length,Z.find(e,this[t],a),t>0)for(i=r;i<a.length;i++)for(o=0;r>o;o++)if(a[o]===a[i]){a.splice(i--,1);break}return a},has:function(e){var t,n=Z(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(Z.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(c(this,e,!1),"not",e)},filter:function(e){return this.pushStack(c(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?Re.test(e)?Z(e,this.context).index(this[0])>=0:Z.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=Re.test(e)||"string"!=typeof e?Z(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n.ownerDocument&&n!==t&&11!==n.nodeType;){if(a?a.index(n)>-1:Z.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}return o=o.length>1?Z.unique(o):o,this.pushStack(o,"closest",e)},index:function(e){return e?"string"==typeof e?Z.inArray(this[0],Z(e)):Z.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n="string"==typeof e?Z(e,t):Z.makeArray(e&&e.nodeType?[e]:e),r=Z.merge(this.get(),n);return this.pushStack(l(n[0])||l(r[0])?r:Z.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Z.fn.andSelf=Z.fn.addBack,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,n){return Z.dir(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return Z.dir(e,"nextSibling")},prevAll:function(e){return Z.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Z.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Z.dir(e,"previousSibling",n)},siblings:function(e){return Z.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Z.sibling(e.firstChild)},contents:function(e){return Z.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:Z.merge([],e.childNodes)}},function(e,t){Z.fn[e]=function(n,r){var i=Z.map(this,t,n);return De.test(e)||(r=n),r&&"string"==typeof r&&(i=Z.filter(r,i)),i=this.length>1&&!Be[e]?Z.unique(i):i,this.length>1&&He.test(e)&&(i=i.reverse()),this.pushStack(i,e,X.call(arguments).join(","))}}),Z.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?Z.find.matchesSelector(t[0],e)?[t[0]]:[]:Z.find.matches(e,t)},dir:function(e,n,r){for(var i=[],o=e[n];o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!Z(o).is(r));)1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var $e="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Fe=/ jQuery\d+="(?:null|\d+)"/g,qe=/^\s+/,We=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ue=/<([\w:]+)/,ze=/<tbody/i,Ve=/<|&#?\w+;/,Ge=/<(?:script|style|link)/i,Xe=/<(?:script|object|embed|option|style)/i,Je=new RegExp("<(?:"+$e+")[\\s/>]","i"),Ke=/^(?:checkbox|radio)$/,Ye=/checked\s*(?:[^=]|=\s*.checked.)/i,Qe=/\/(java|ecma)script/i,Ze=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,et={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},tt=p(q),nt=tt.appendChild(q.createElement("div"));et.optgroup=et.option,et.tbody=et.tfoot=et.colgroup=et.caption=et.thead,et.th=et.td,Z.support.htmlSerialize||(et._default=[1,"X<div>","</div>"]),Z.fn.extend({text:function(e){return Z.access(this,function(e){return e===t?Z.text(this):this.empty().append((this[0]&&this[0].ownerDocument||q).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(Z.isFunction(e))return this.each(function(t){Z(this).wrapAll(e.call(this,t))});if(this[0]){var 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.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return 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),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=Z.isFunction(e);return this.each(function(n){Z(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){Z.nodeName(this,"body")||Z(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!l(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=Z.clean(arguments);return this.pushStack(Z.merge(e,this),"before",this.selector)}},after:function(){if(!l(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=Z.clean(arguments);return this.pushStack(Z.merge(this,e),"after",this.selector)}},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)(!e||Z.filter(e,[n]).length)&&(t||1!==n.nodeType||(Z.cleanData(n.getElementsByTagName("*")),Z.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&Z.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);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 Z.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(Fe,""):t;if("string"==typeof e&&!Ge.test(e)&&(Z.support.htmlSerialize||!Je.test(e))&&(Z.support.leadingWhitespace||!qe.test(e))&&!et[(Ue.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(We,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(Z.cleanData(n.getElementsByTagName("*")),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return l(this[0])?this.length?this.pushStack(Z(Z.isFunction(e)?e():e),"replaceWith",e):this:Z.isFunction(e)?this.each(function(t){var n=Z(this),r=n.html();n.replaceWith(e.call(this,t,r))}):("string"!=typeof e&&(e=Z(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;Z(this).remove(),t?Z(t).before(e):Z(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=[].concat.apply([],e);var i,o,a,s,l=0,u=e[0],c=[],p=this.length;if(!Z.support.checkClone&&p>1&&"string"==typeof u&&Ye.test(u))return this.each(function(){Z(this).domManip(e,n,r)});if(Z.isFunction(u))return this.each(function(i){var o=Z(this);e[0]=u.call(this,i,n?o.html():t),o.domManip(e,n,r)});if(this[0]){if(i=Z.buildFragment(e,this,c),a=i.fragment,o=a.firstChild,1===a.childNodes.length&&(a=o),o)for(n=n&&Z.nodeName(o,"tr"),s=i.cacheable||p-1;p>l;l++)r.call(n&&Z.nodeName(this[l],"table")?h(this[l],"tbody"):this[l],l===s?a:Z.clone(a,!0,!0));a=o=null,c.length&&Z.each(c,function(e,t){t.src?Z.ajax?Z.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):Z.error("no ajax"):Z.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Ze,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),Z.buildFragment=function(e,n,r){var i,o,a,s=e[0];return n=n||q,n=!n.nodeType&&n[0]||n,n=n.ownerDocument||n,!(1===e.length&&"string"==typeof s&&s.length<512&&n===q&&"<"===s.charAt(0))||Xe.test(s)||!Z.support.checkClone&&Ye.test(s)||!Z.support.html5Clone&&Je.test(s)||(o=!0,i=Z.fragments[s],a=i!==t),i||(i=n.createDocumentFragment(),Z.clean(e,n,i,r),o&&(Z.fragments[s]=a&&i)),{fragment:i,cacheable:o}},Z.fragments={},Z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Z.fn[e]=function(n){var r,i=0,o=[],a=Z(n),s=a.length,l=1===this.length&&this[0].parentNode;if((null==l||l&&11===l.nodeType&&1===l.childNodes.length)&&1===s)return a[t](this[0]),this;for(;s>i;i++)r=(i>0?this.clone(!0):this).get(),Z(a[i])[t](r),o=o.concat(r);return this.pushStack(o,e,a.selector)}}),Z.extend({clone:function(e,t,n){var r,i,o,a;if(Z.support.html5Clone||Z.isXMLDoc(e)||!Je.test("<"+e.nodeName+">")?a=e.cloneNode(!0):(nt.innerHTML=e.outerHTML,nt.removeChild(a=nt.firstChild)),!(Z.support.noCloneEvent&&Z.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Z.isXMLDoc(e)))for(d(e,a),r=g(e),i=g(a),o=0;r[o];++o)i[o]&&d(r[o],i[o]);if(t&&(f(e,a),n))for(r=g(e),i=g(a),o=0;r[o];++o)f(r[o],i[o]);return r=i=null,a},clean:function(e,t,n,r){var i,o,a,s,l,u,c,h,f,d,g,v=t===q&&tt,y=[];for(t&&"undefined"!=typeof t.createDocumentFragment||(t=q),i=0;null!=(a=e[i]);i++)if("number"==typeof a&&(a+=""),a){if("string"==typeof a)if(Ve.test(a)){for(v=v||p(t),c=t.createElement("div"),v.appendChild(c),a=a.replace(We,"<$1></$2>"),s=(Ue.exec(a)||["",""])[1].toLowerCase(),l=et[s]||et._default,u=l[0],c.innerHTML=l[1]+a+l[2];u--;)c=c.lastChild;if(!Z.support.tbody)for(h=ze.test(a),f="table"!==s||h?"<table>"!==l[1]||h?[]:c.childNodes:c.firstChild&&c.firstChild.childNodes,o=f.length-1;o>=0;--o)Z.nodeName(f[o],"tbody")&&!f[o].childNodes.length&&f[o].parentNode.removeChild(f[o]);!Z.support.leadingWhitespace&&qe.test(a)&&c.insertBefore(t.createTextNode(qe.exec(a)[0]),c.firstChild),a=c.childNodes,c.parentNode.removeChild(c)}else a=t.createTextNode(a);a.nodeType?y.push(a):Z.merge(y,a)}if(c&&(a=c=v=null),!Z.support.appendChecked)for(i=0;null!=(a=y[i]);i++)Z.nodeName(a,"input")?m(a):"undefined"!=typeof a.getElementsByTagName&&Z.grep(a.getElementsByTagName("input"),m);if(n)for(d=function(e){return!e.type||Qe.test(e.type)?r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e):void 0},i=0;null!=(a=y[i]);i++)Z.nodeName(a,"script")&&d(a)||(n.appendChild(a),"undefined"!=typeof a.getElementsByTagName&&(g=Z.grep(Z.merge([],a.getElementsByTagName("script")),d),y.splice.apply(y,[i+1,0].concat(g)),i+=g.length));return y},cleanData:function(e,t){for(var n,r,i,o,a=0,s=Z.expando,l=Z.cache,u=Z.support.deleteExpando,c=Z.event.special;null!=(i=e[a]);a++)if((t||Z.acceptData(i))&&(r=i[s],n=r&&l[r])){if(n.events)for(o in n.events)c[o]?Z.event.remove(i,o):Z.removeEvent(i,o,n.handle);l[r]&&(delete l[r],u?delete i[s]:i.removeAttribute?i.removeAttribute(s):i[s]=null,Z.deletedIds.push(r))}}}),function(){var e,t;Z.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=Z.uaMatch(U.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),Z.browser=t,Z.sub=function(){function e(t,n){return new e.fn.init(t,n)}Z.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(n,r){return r&&r instanceof Z&&!(r instanceof e)&&(r=e(r)),Z.fn.init.call(this,n,r,t)},e.fn.init.prototype=e.fn;var t=e(q);return e}}();var rt,it,ot,at=/alpha\([^)]*\)/i,st=/opacity=([^)]*)/,lt=/^(top|right|bottom|left)$/,ut=/^(none|table(?!-c[ea]).+)/,ct=/^margin/,pt=new RegExp("^("+ee+")(.*)$","i"),ht=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),ft=new RegExp("^([-+])=("+ee+")","i"),dt={BODY:"block"},gt={position:"absolute",visibility:"hidden",display:"block"},mt={letterSpacing:0,fontWeight:400},vt=["Top","Right","Bottom","Left"],yt=["Webkit","O","Moz","ms"],bt=Z.fn.toggle;Z.fn.extend({css:function(e,n){return Z.access(this,function(e,n,r){return r!==t?Z.style(e,n,r):Z.css(e,n)},e,n,arguments.length>1)},show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e,t){var n="boolean"==typeof e;return Z.isFunction(e)&&Z.isFunction(t)?bt.apply(this,arguments):this.each(function(){(n?e:y(this))?Z(this).show():Z(this).hide()})}}),Z.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=rt(e,"opacity");return""===n?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":Z.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=Z.camelCase(n),u=e.style;if(n=Z.cssProps[l]||(Z.cssProps[l]=v(u,l)),s=Z.cssHooks[n]||Z.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=ft.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(Z.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||Z.cssNumber[l]||(r+="px"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=Z.camelCase(n);return n=Z.cssProps[l]||(Z.cssProps[l]=v(e.style,l)),s=Z.cssHooks[n]||Z.cssHooks[l],s&&"get"in s&&(o=s.get(e,!0,i)),o===t&&(o=rt(e,n)),"normal"===o&&n in mt&&(o=mt[n]),r||i!==t?(a=parseFloat(o),r||Z.isNumeric(a)?a||0:o):o},swap:function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=o[i];return r}}),e.getComputedStyle?rt=function(t,n){var r,i,o,a,s=e.getComputedStyle(t,null),l=t.style;return s&&(r=s.getPropertyValue(n)||s[n],""!==r||Z.contains(t.ownerDocument,t)||(r=Z.style(t,n)),ht.test(r)&&ct.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=r,r=s.width,l.width=i,l.minWidth=o,l.maxWidth=a)),r}:q.documentElement.currentStyle&&(rt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],o=e.style;return null==i&&o&&o[t]&&(i=o[t]),ht.test(i)&&!lt.test(t)&&(n=o.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":i,i=o.pixelLeft+"px",o.left=n,r&&(e.runtimeStyle.left=r)),""===i?"auto":i}),Z.each(["height","width"],function(e,t){Z.cssHooks[t]={get:function(e,n,r){return n?0===e.offsetWidth&&ut.test(rt(e,"display"))?Z.swap(e,gt,function(){return S(e,t,r)}):S(e,t,r):void 0},set:function(e,n,r){return x(e,n,r?w(e,t,r,Z.support.boxSizing&&"border-box"===Z.css(e,"boxSizing")):0)}}}),Z.support.opacity||(Z.cssHooks.opacity={get:function(e,t){return st.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=Z.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,t>=1&&""===Z.trim(o.replace(at,""))&&n.removeAttribute&&(n.removeAttribute("filter"),r&&!r.filter)||(n.filter=at.test(o)?o.replace(at,i):o+" "+i)}}),Z(function(){Z.support.reliableMarginRight||(Z.cssHooks.marginRight={get:function(e,t){return Z.swap(e,{display:"inline-block"},function(){return t?rt(e,"marginRight"):void 0})}}),!Z.support.pixelPosition&&Z.fn.position&&Z.each(["top","left"],function(e,t){Z.cssHooks[t]={get:function(e,n){if(n){var r=rt(e,t);return ht.test(r)?Z(e).position()[t]+"px":r}}}})}),Z.expr&&Z.expr.filters&&(Z.expr.filters.hidden=function(e){return 0===e.offsetWidth&&0===e.offsetHeight||!Z.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||rt(e,"display"))},Z.expr.filters.visible=function(e){return!Z.expr.filters.hidden(e)}),Z.each({margin:"",padding:"",border:"Width"},function(e,t){Z.cssHooks[e+t]={expand:function(n){var r,i="string"==typeof n?n.split(" "):[n],o={};for(r=0;4>r;r++)o[e+vt[r]+t]=i[r]||i[r-2]||i[0];return o}},ct.test(e)||(Z.cssHooks[e+t].set=x)});var xt=/%20/g,wt=/\[\]$/,St=/\r?\n/g,kt=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Ct=/^(?:select|textarea)/i;Z.fn.extend({serialize:function(){return Z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?Z.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Ct.test(this.nodeName)||kt.test(this.type))}).map(function(e,t){var n=Z(this).val();return null==n?null:Z.isArray(n)?Z.map(n,function(e,n){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}}),Z.param=function(e,n){var r,i=[],o=function(e,t){t=Z.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=Z.ajaxSettings&&Z.ajaxSettings.traditional),Z.isArray(e)||e.jquery&&!Z.isPlainObject(e))Z.each(e,function(){o(this.name,this.value)});else for(r in e)C(r,e[r],n,o);return i.join("&").replace(xt,"+")};var _t,Et,At=/#.*$/,Nt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Tt=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Pt=/^(?:GET|HEAD)$/,Lt=/^\/\//,jt=/\?/,Ot=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Mt=/([?&])_=[^&]*/,Dt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Ht=Z.fn.load,It={},Rt={},Bt=["*/"]+["*"];try{Et=W.href}catch($t){Et=q.createElement("a"),Et.href="",Et=Et.href}_t=Dt.exec(Et.toLowerCase())||[],Z.fn.load=function(e,n,r){if("string"!=typeof e&&Ht)return Ht.apply(this,arguments);if(!this.length)return this;var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),Z.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(o="POST"),Z.ajax({url:e,type:o,dataType:"html",data:n,complete:function(e,t){r&&s.each(r,a||[e.responseText,t,e])}}).done(function(e){a=arguments,s.html(i?Z("<div>").append(e.replace(Ot,"")).find(i):e)}),this},Z.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){Z.fn[t]=function(e){return this.on(t,e)}}),Z.each(["get","post"],function(e,n){Z[n]=function(e,r,i,o){return Z.isFunction(r)&&(o=o||i,i=r,r=t),Z.ajax({type:n,url:e,data:r,success:i,dataType:o})}}),Z.extend({getScript:function(e,n){return Z.get(e,t,n,"script")},getJSON:function(e,t,n){return Z.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?A(e,Z.ajaxSettings):(t=e,e=Z.ajaxSettings),A(e,t),e},ajaxSettings:{url:Et,isLocal:Tt.test(_t[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Bt},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":Z.parseJSON,"text xml":Z.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:_(It),ajaxTransport:_(Rt),ajax:function(e,n){function r(e,n,r,a){var u,p,y,b,w,k=n;2!==x&&(x=2,l&&clearTimeout(l),s=t,o=a||"",S.readyState=e>0?4:0,r&&(b=N(h,S,r)),e>=200&&300>e||304===e?(h.ifModified&&(w=S.getResponseHeader("Last-Modified"),w&&(Z.lastModified[i]=w),w=S.getResponseHeader("Etag"),w&&(Z.etag[i]=w)),304===e?(k="notmodified",u=!0):(u=T(h,b),k=u.state,p=u.data,y=u.error,u=!y)):(y=k,(!k||e)&&(k="error",0>e&&(e=0))),S.status=e,S.statusText=(n||k)+"",u?g.resolveWith(f,[p,k,S]):g.rejectWith(f,[S,k,y]),S.statusCode(v),v=t,c&&d.trigger("ajax"+(u?"Success":"Error"),[S,h,u?p:y]),m.fireWith(f,[S,k]),c&&(d.trigger("ajaxComplete",[S,h]),--Z.active||Z.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var i,o,a,s,l,u,c,p,h=Z.ajaxSetup({},n),f=h.context||h,d=f!==h&&(f.nodeType||f instanceof Z)?Z(f):Z.event,g=Z.Deferred(),m=Z.Callbacks("once memory"),v=h.statusCode||{},y={},b={},x=0,w="canceled",S={readyState:0,setRequestHeader:function(e,t){if(!x){var n=e.toLowerCase();e=b[n]=b[n]||e,y[e]=t}return this},getAllResponseHeaders:function(){return 2===x?o:null},getResponseHeader:function(e){var n;if(2===x){if(!a)for(a={};n=Nt.exec(o);)a[n[1].toLowerCase()]=n[2];n=a[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return x||(h.mimeType=e),this},abort:function(e){return e=e||w,s&&s.abort(e),r(0,e),this}};if(g.promise(S),S.success=S.done,S.error=S.fail,S.complete=m.add,S.statusCode=function(e){if(e){var t;if(2>x)for(t in e)v[t]=[v[t],e[t]];else t=e[S.status],S.always(t)}return this},h.url=((e||h.url)+"").replace(At,"").replace(Lt,_t[1]+"//"),h.dataTypes=Z.trim(h.dataType||"*").toLowerCase().split(ne),null==h.crossDomain&&(u=Dt.exec(h.url.toLowerCase()),h.crossDomain=!(!u||u[1]===_t[1]&&u[2]===_t[2]&&(u[3]||("http:"===u[1]?80:443))==(_t[3]||("http:"===_t[1]?80:443)))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=Z.param(h.data,h.traditional)),E(It,h,n,S),2===x)return S;if(c=h.global,h.type=h.type.toUpperCase(),h.hasContent=!Pt.test(h.type),c&&0===Z.active++&&Z.event.trigger("ajaxStart"),!h.hasContent&&(h.data&&(h.url+=(jt.test(h.url)?"&":"?")+h.data,delete h.data),i=h.url,h.cache===!1)){var k=Z.now(),C=h.url.replace(Mt,"$1_="+k);h.url=C+(C===h.url?(jt.test(h.url)?"&":"?")+"_="+k:"")}(h.data&&h.hasContent&&h.contentType!==!1||n.contentType)&&S.setRequestHeader("Content-Type",h.contentType),h.ifModified&&(i=i||h.url,Z.lastModified[i]&&S.setRequestHeader("If-Modified-Since",Z.lastModified[i]),Z.etag[i]&&S.setRequestHeader("If-None-Match",Z.etag[i])),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Bt+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)S.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(h.beforeSend.call(f,S,h)===!1||2===x))return S.abort();w="abort";for(p in{success:1,error:1,complete:1})S[p](h[p]);if(s=E(Rt,h,n,S)){S.readyState=1,c&&d.trigger("ajaxSend",[S,h]),h.async&&h.timeout>0&&(l=setTimeout(function(){S.abort("timeout")},h.timeout));try{x=1,s.send(y,r)}catch(_){if(!(2>x))throw _;r(-1,_)}}else r(-1,"No Transport");return S},active:0,lastModified:{},etag:{}});var Ft=[],qt=/\?/,Wt=/(=)\?(?=&|$)|\?\?/,Ut=Z.now();Z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ft.pop()||Z.expando+"_"+Ut++;return this[e]=!0,e}}),Z.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.data,u=n.url,c=n.jsonp!==!1,p=c&&Wt.test(u),h=c&&!p&&"string"==typeof l&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Wt.test(l);return"jsonp"===n.dataTypes[0]||p||h?(o=n.jsonpCallback=Z.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,a=e[o],p?n.url=u.replace(Wt,"$1"+o):h?n.data=l.replace(Wt,"$1"+o):c&&(n.url+=(qt.test(u)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||Z.error(o+" was not called"),s[0]},n.dataTypes[0]="json",e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Ft.push(o)),s&&Z.isFunction(a)&&a(s[0]),s=a=t}),"script"):void 0}),Z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return Z.globalEval(e),e}}}),Z.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),Z.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=q.head||q.getElementsByTagName("head")[0]||q.documentElement;return{send:function(i,o){n=q.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){(i||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var zt,Vt=e.ActiveXObject?function(){for(var e in zt)zt[e](0,1)}:!1,Gt=0;Z.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&P()||L()}:P,function(e){Z.extend(Z.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(Z.ajaxSettings.xhr()),Z.support.ajax&&Z.ajaxTransport(function(n){if(!n.crossDomain||Z.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p,h;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=Z.noop,Vt&&delete zt[a]),i)4!==l.readyState&&l.abort();else{s=l.status,c=l.getAllResponseHeaders(),p={},h=l.responseXML,h&&h.documentElement&&(p.xml=h);try{p.text=l.responseText}catch(f){}try{u=l.statusText}catch(f){u=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,u,p,c)},n.async?4===l.readyState?setTimeout(r,0):(a=++Gt,Vt&&(zt||(zt={},Z(e).unload(Vt)),zt[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var Xt,Jt,Kt=/^(?:toggle|show|hide)$/,Yt=new RegExp("^(?:([-+])=|)("+ee+")([a-z%]*)$","i"),Qt=/queueHooks$/,Zt=[H],en={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=Yt.exec(t),a=i.cur(),s=+a||0,l=1,u=20;if(o){if(n=+o[2],r=o[3]||(Z.cssNumber[e]?"":"px"),"px"!==r&&s){s=Z.css(i.elem,e,!0)||n||1;do l=l||".5",s/=l,Z.style(i.elem,e,s+r);while(l!==(l=i.cur()/a)&&1!==l&&--u)}i.unit=r,i.start=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};Z.Animation=Z.extend(M,{tweener:function(e,t){Z.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],en[n]=en[n]||[],en[n].unshift(t)},prefilter:function(e,t){t?Zt.unshift(e):Zt.push(e)}}),Z.Tween=I,I.prototype={constructor:I,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Z.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.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),n&&n.set?n.set(this):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.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,!1,""),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}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Z.each(["toggle","show","hide"],function(e,t){var n=Z.fn[t];Z.fn[t]=function(r,i,o){return null==r||"boolean"==typeof r||!e&&Z.isFunction(r)&&Z.isFunction(i)?n.apply(this,arguments):this.animate(R(t,!0),r,i,o)}}),Z.fn.extend({fadeTo:function(e,t,n,r){return this.filter(y).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Z.isEmptyObject(e),o=Z.speed(t,n,r),a=function(){var t=M(this,Z.extend({},e),o);i&&t.stop(!0)};return i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=Z.timers,a=Z._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Qt.test(n)&&i(a[n]); +for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&Z.dequeue(this,e)})}}),Z.each({slideDown:R("show"),slideUp:R("hide"),slideToggle:R("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Z.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Z.speed=function(e,t,n){var r=e&&"object"==typeof e?Z.extend({},e):{complete:n||!n&&t||Z.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Z.isFunction(t)&&t};return r.duration=Z.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in Z.fx.speeds?Z.fx.speeds[r.duration]:Z.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){Z.isFunction(r.old)&&r.old.call(this),r.queue&&Z.dequeue(this,r.queue)},r},Z.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Z.timers=[],Z.fx=I.prototype.init,Z.fx.tick=function(){var e,n=Z.timers,r=0;for(Xt=Z.now();r<n.length;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||Z.fx.stop(),Xt=t},Z.fx.timer=function(e){e()&&Z.timers.push(e)&&!Jt&&(Jt=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.interval=13,Z.fx.stop=function(){clearInterval(Jt),Jt=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fx.step={},Z.expr&&Z.expr.filters&&(Z.expr.filters.animated=function(e){return Z.grep(Z.timers,function(t){return e===t.elem}).length});var tn=/^(?:body|html)$/i;Z.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){Z.offset.setOffset(this,e,t)});var n,r,i,o,a,s,l,u={top:0,left:0},c=this[0],p=c&&c.ownerDocument;if(p)return(r=p.body)===c?Z.offset.bodyOffset(c):(n=p.documentElement,Z.contains(n,c)?("undefined"!=typeof c.getBoundingClientRect&&(u=c.getBoundingClientRect()),i=B(p),o=n.clientTop||r.clientTop||0,a=n.clientLeft||r.clientLeft||0,s=i.pageYOffset||n.scrollTop,l=i.pageXOffset||n.scrollLeft,{top:u.top+s-o,left:u.left+l-a}):u)},Z.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return Z.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(Z.css(e,"marginTop"))||0,n+=parseFloat(Z.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=Z.css(e,"position");"static"===r&&(e.style.position="relative");var i,o,a=Z(e),s=a.offset(),l=Z.css(e,"top"),u=Z.css(e,"left"),c=("absolute"===r||"fixed"===r)&&Z.inArray("auto",[l,u])>-1,p={},h={};c?(h=a.position(),i=h.top,o=h.left):(i=parseFloat(l)||0,o=parseFloat(u)||0),Z.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(p.top=t.top-s.top+i),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):a.css(p)}},Z.fn.extend({position:function(){if(this[0]){var e=this[0],t=this.offsetParent(),n=this.offset(),r=tn.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(Z.css(e,"marginTop"))||0,n.left-=parseFloat(Z.css(e,"marginLeft"))||0,r.top+=parseFloat(Z.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(Z.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||q.body;e&&!tn.test(e.nodeName)&&"static"===Z.css(e,"position");)e=e.offsetParent;return e||q.body})}}),Z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);Z.fn[e]=function(i){return Z.access(this,function(e,i,o){var a=B(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:void(a?a.scrollTo(r?Z(a).scrollLeft():o,r?o:Z(a).scrollTop()):e[i]=o)},e,i,arguments.length,null)}}),Z.each({Height:"height",Width:"width"},function(e,n){Z.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){Z.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return Z.access(this,function(n,r,i){var o;return Z.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?Z.css(n,r,i,s):Z.style(n,r,i,s)},n,a?i:t,a,null)}})}),"object"==typeof n&&n&&"object"==typeof n.exports?n.exports=Z:(e.jQuery=e.$=Z,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Z}))}(window)}),define("lib/jquery.lazyload",[],function(e,t,n){var r=e("jquery");!function(e,t,n,r){var i=e(t);e.fn.lazyload=function(o){function a(){var t=0;l.each(function(){var n=e(this);if(!u.skip_invisible||n.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 n.trigger("appear"),t=0})}var s,l=this,u={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return o&&(r!==o.failurelimit&&(o.failure_limit=o.failurelimit,delete o.failurelimit),r!==o.effectspeed&&(o.effect_speed=o.effectspeed,delete o.effectspeed),e.extend(u,o)),s=u.container===r||u.container===t?i:e(u.container),0===u.event.indexOf("scroll")&&s.bind(u.event,function(){return a()}),this.each(function(){var t=this,n=e(t);t.loaded=!1,(n.attr("src")===r||n.attr("src")===!1)&&n.is("img")&&n.attr("src",u.placeholder),n.one("appear",function(){if(!this.loaded){if(u.appear){var r=l.length;u.appear.call(t,r,u)}e("<img />").bind("load",function(){var r=n.attr("data-"+u.data_attribute);n.hide(),n.is("img")?n.attr("src",r):n.css("background-image","url('"+r+"')"),n[u.effect](u.effect_speed),t.loaded=!0;var i=e.grep(l,function(e){return!e.loaded});if(l=e(i),u.load){var o=l.length;u.load.call(t,o,u)}}).attr("src",n.attr("data-"+u.data_attribute))}}),0!==u.event.indexOf("scroll")&&n.bind(u.event,function(){t.loaded||n.trigger("appear")})}),i.bind("resize",function(){a()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&i.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&l.each(function(){e(this).trigger("appear")})}),e(n).ready(function(){a()}),this},e.belowthefold=function(n,o){var a;return a=o.container===r||o.container===t?(t.innerHeight?t.innerHeight:i.height())+i.scrollTop():e(o.container).offset().top+e(o.container).height(),a<=e(n).offset().top-o.threshold},e.rightoffold=function(n,o){var a;return a=o.container===r||o.container===t?i.width()+i.scrollLeft():e(o.container).offset().left+e(o.container).width(),a<=e(n).offset().left-o.threshold},e.abovethetop=function(n,o){var a;return a=o.container===r||o.container===t?i.scrollTop():e(o.container).offset().top,a>=e(n).offset().top+o.threshold+e(n).height()},e.leftofbegin=function(n,o){var a;return a=o.container===r||o.container===t?i.scrollLeft():e(o.container).offset().left,a>=e(n).offset().left+o.threshold+e(n).width()},e.inviewport=function(t,n){return!(e.rightoffold(t,n)||e.leftofbegin(t,n)||e.belowthefold(t,n)||e.abovethetop(t,n))},e.extend(e.expr[":"],{"below-the-fold":function(t){return e.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return e.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!e.rightoffold(t,{threshold:0})},"in-viewport":function(t){return e.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return e.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!e.rightoffold(t,{threshold:0})}})}(r,window,document)}),define("handlebars",[],function(e,t,n){!function(e,r){"object"==typeof t&&"object"==typeof n?n.exports=r():"function"==typeof define&&define.amd?define(r):"object"==typeof t?t.Handlebars=r():e.Handlebars=r()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(){var e=v();return e.compile=function(t,n){return c.compile(t,n,e)},e.precompile=function(t,n){return c.precompile(t,n,e)},e.AST=l["default"],e.Compiler=c.Compiler,e.JavaScriptCompiler=h["default"],e.Parser=u.parser,e.parse=u.parse,e}var i=n(8)["default"];t.__esModule=!0;var o=n(1),a=i(o),s=n(2),l=i(s),u=n(3),c=n(4),p=n(5),h=i(p),f=n(6),d=i(f),g=n(7),m=i(g),v=a["default"].create,y=r();y.create=r,m["default"](y),y.Visitor=d["default"],y["default"]=y,t["default"]=y,e.exports=t["default"]},function(e,t,n){"use strict";function r(){var e=new s.HandlebarsEnvironment;return f.extend(e,s),e.SafeString=u["default"],e.Exception=p["default"],e.Utils=f,e.escapeExpression=f.escapeExpression,e.VM=g,e.template=function(t){return g.template(t,e)},e}var i=n(9)["default"],o=n(8)["default"];t.__esModule=!0;var a=n(10),s=i(a),l=n(11),u=o(l),c=n(12),p=o(c),h=n(13),f=i(h),d=n(14),g=i(d),m=n(7),v=o(m),y=r();y.create=r,v["default"](y),y["default"]=y,t["default"]=y,e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0;var r={Program:function(e,t,n,r){this.loc=r,this.type="Program",this.body=e,this.blockParams=t,this.strip=n},MustacheStatement:function(e,t,n,r,i,o){this.loc=o,this.type="MustacheStatement",this.path=e,this.params=t||[],this.hash=n,this.escaped=r,this.strip=i},BlockStatement:function(e,t,n,r,i,o,a,s,l){this.loc=l,this.type="BlockStatement",this.path=e,this.params=t||[],this.hash=n,this.program=r,this.inverse=i,this.openStrip=o,this.inverseStrip=a,this.closeStrip=s},PartialStatement:function(e,t,n,r,i){this.loc=i,this.type="PartialStatement",this.name=e,this.params=t||[],this.hash=n,this.indent="",this.strip=r},ContentStatement:function(e,t){this.loc=t,this.type="ContentStatement",this.original=this.value=e},CommentStatement:function(e,t,n){this.loc=n,this.type="CommentStatement",this.value=e,this.strip=t},SubExpression:function(e,t,n,r){this.loc=r,this.type="SubExpression",this.path=e,this.params=t||[],this.hash=n},PathExpression:function(e,t,n,r,i){this.loc=i,this.type="PathExpression",this.data=e,this.original=r,this.parts=n,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,n){this.loc=n,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&&!r.helpers.scopedId(e)&&!e.depth}}};t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){if("Program"===e.type)return e;s["default"].yy=g,g.locInfo=function(e){return new g.SourceLocation(t&&t.srcName,e)};var n=new p["default"];return n.accept(s["default"].parse(e))}var i=n(8)["default"],o=n(9)["default"];t.__esModule=!0,t.parse=r;var a=n(15),s=i(a),l=n(2),u=i(l),c=n(16),p=i(c),h=n(17),f=o(h),d=n(13);t.parser=s["default"];var g={};d.extend(g,f,u["default"])},function(e,t,n){"use strict";function r(){}function i(e,t,n){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 r=n.parse(e,t),i=(new n.Compiler).compile(r,t);return(new n.JavaScriptCompiler).compile(i,t)}function o(e,t,n){function r(){var t=n.parse(e,o),r=(new n.Compiler).compile(t,o),i=(new n.JavaScriptCompiler).compile(r,o,void 0,!0);return n.template(i)}function i(e,t){return a||(a=r()),a.call(this,e,t)}var o=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 o||(o.data=!0),o.compat&&(o.useDepths=!0);var a=void 0;return i._setup=function(e){return a||(a=r()),a._setup(e)},i._child=function(e,t,n,i){return a||(a=r()),a._child(e,t,n,i)},i}function a(e,t){if(e===t)return!0;if(p.isArray(e)&&p.isArray(t)&&e.length===t.length){for(var n=0;n<e.length;n++)if(!a(e[n],t[n]))return!1;return!0}}function s(e){if(!e.path.parts){var t=e.path;e.path=new f["default"].PathExpression(!1,0,[t.original+""],t.original+"",t.loc)}}var l=n(8)["default"];t.__esModule=!0,t.Compiler=r,t.precompile=i,t.compile=o;var u=n(12),c=l(u),p=n(13),h=n(2),f=l(h),d=[].slice;r.prototype={compiler:r,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var n=0;t>n;n++){var r=this.opcodes[n],i=e.opcodes[n];if(r.opcode!==i.opcode||!a(r.args,i.args))return!1}t=this.children.length;for(var n=0;t>n;n++)if(!this.children[n].equals(e.children[n]))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 n=t.knownHelpers;if(t.knownHelpers={helperMissing:!0,blockHelperMissing:!0,each:!0,"if":!0,unless:!0,"with":!0,log:!0,lookup:!0},n)for(var r in n)r in n&&(t.knownHelpers[r]=n[r]);return this.accept(e)},compileProgram:function(e){var t=new this.compiler,n=t.compile(e,this.options),r=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[r]=n,this.useDepths=this.useDepths||n.useDepths,r},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,n=t.length,r=0;n>r;r++)this.accept(t[r]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){s(e);var t=e.program,n=e.inverse;t=t&&this.compileProgram(t),n=n&&this.compileProgram(n);var r=this.classifySexpr(e);"helper"===r?this.helperSexpr(e,t,n):"simple"===r?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,n),this.opcode("pushProgram",t),this.opcode("pushProgram",n),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 n=e.name.original,r="SubExpression"===e.name.type;r&&this.accept(e.name),this.setupFullMustacheParams(e,void 0,void 0,!0);var i=e.indent||"";this.options.preventIndent&&i&&(this.opcode("appendContent",i),i=""),this.opcode("invokePartial",r,n,i),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){s(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var r=e.path,i=r.parts[0],o=null!=t||null!=n;this.opcode("getContext",r.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.accept(r),this.opcode("invokeAmbiguous",i,o)},simpleSexpr:function(e){this.accept(e.path),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,n){var r=this.setupFullMustacheParams(e,t,n),i=e.path,o=i.parts[0];if(this.options.knownHelpers[o])this.opcode("invokeKnownHelper",r.length,o);else{if(this.options.knownHelpersOnly)throw new c["default"]("You specified knownHelpersOnly, but used the unknown helper "+o,e);i.falsy=!0,this.accept(i),this.opcode("invokeHelper",r.length,i.original,f["default"].helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=f["default"].helpers.scopedId(e),r=!e.depth&&!n&&this.blockParamIndex(t);r?this.opcode("lookupBlockParam",r,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts)):this.opcode("lookupOnContext",e.parts,e.falsy,n):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,n=0,r=t.length;for(this.opcode("pushHash");r>n;n++)this.pushParam(t[n].value);for(;n--;)this.opcode("assignToHash",t[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:d.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=f["default"].helpers.simpleId(e.path),n=t&&!!this.blockParamIndex(e.path.parts[0]),r=!n&&f["default"].helpers.helperExpression(e),i=!n&&(r||t);if(i&&!r){var o=e.path.parts[0],a=this.options;a.knownHelpers[o]?r=!0:a.knownHelpersOnly&&(i=!1)}return r?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var t=0,n=e.length;n>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 n=void 0;if(!e.parts||f["default"].helpers.scopedId(e)||e.depth||(n=this.blockParamIndex(e.parts[0])),n){var r=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,r)}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,n,r){var i=e.params;return this.pushParams(i),this.opcode("pushProgram",t),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",r),i},blockParamIndex:function(e){for(var t=0,n=this.options.blockParams.length;n>t;t++){var r=this.options.blockParams[t],i=r&&p.indexOf(r,e);if(r&&i>=0)return[t,i]}}}},function(e,t,n){"use strict";function r(e){this.value=e}function i(){}function o(e,t,n,r){var i=t.popStack(),o=0,a=n.length;for(e&&a--;a>o;o++)i=t.nameLookup(i,n[o],r);return e?[t.aliasable("this.strict"),"(",i,", ",t.quotedString(n[o]),")"]:i}var a=n(8)["default"];t.__esModule=!0;var s=n(10),l=n(12),u=a(l),c=n(13),p=n(18),h=a(p);i.prototype={nameLookup:function(e,t){return i.isValidJavaScriptVariableName(t)?[e,".",t]:[e,"['",t,"']"]},depthedLookup:function(e){return[this.aliasable("this.lookup"),'(depths, "',e,'")']},compilerInfo:function(){var e=s.COMPILER_REVISION,t=s.REVISION_CHANGES[e];return[e,t]},appendToBuffer:function(e,t,n){return c.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},compile:function(e,t,n,r){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!r,this.name=this.environment.name,this.isChild=!!n,this.context=n||{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 i=e.opcodes,o=void 0,a=void 0,s=void 0,l=void 0;for(s=0,l=i.length;l>s;s++)o=i[s],this.source.currentLocation=o.loc,a=a||o.loc,this[o.opcode].apply(this,o.args);if(this.source.currentLocation=a,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(r);if(this.isChild)return c;var p={compiler:this.compilerInfo(),main:c},h=this.context.programs;for(s=0,l=h.length;l>s;s++)h[s]&&(p[s]=h[s]);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),r?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="",n=this.stackVars.concat(this.registers.list);n.length>0&&(t+=", "+n.join(", "));var r=0;for(var i in this.aliases){var o=this.aliases[i];this.aliases.hasOwnProperty(i)&&o.children&&o.referenceCount>1&&(t+=", alias"+ ++r+"="+i,o.children[0]="alias"+r)}var a=["depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var s=this.mergeSource(t);return e?(a.push(s),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),") {\n ",s,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,r=void 0,i=void 0,o=void 0,a=void 0;return this.source.each(function(e){e.appendToBuffer?(o?e.prepend(" + "):o=e,a=e):(o&&(i?o.prepend("buffer += "):r=!0,a.add(";"),o=a=void 0),i=!0,t||(n=!1))}),n?o?(o.prepend("return "),a.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(r?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(r?"":";\n")),this.source.merge()},blockValue:function(e){var t=this.aliasable("helpers.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("helpers.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",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,n){var r=0;n||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[r++])),this.resolvePath("context",e,r,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,n,r){var i=this;if(this.options.strict||this.options.assumeObjects)return void this.push(o(this.options.strict,this,t,e));for(var a=t.length;a>n;n++)this.replaceStack(function(o){var a=i.nameLookup(o,t[n],e);return r?[" && ",a]:[" != null ? ",a," : ",o]})},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,n){var r=this.popStack(),i=this.setupHelper(e,t),o=n?[i.name," || "]:"",a=["("].concat(o,r);this.options.strict||a.push(" || ",this.aliasable("helpers.helperMissing")),a.push(")"),this.push(this.source.functionCall(a,"call",i.callParams))},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var n=this.popStack();this.emptyHash();var r=this.setupHelper(0,e,t),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),o=["(","(helper = ",i," || ",n,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("helpers.helperMissing"))),this.push(["(",o,r.paramsInit?["),(",r.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",r.callParams)," : helper))"])},invokePartial:function(e,t,n){var r=[],i=this.setupParams(t,1,r,!1);e&&(t=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers="helpers",i.partials="partials",e?r.unshift(t):r.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(i.depths="depths"),i=this.objectLiteral(i),r.push(i),this.push(this.source.functionCall("this.invokePartial","",r))},assignToHash:function(e){var t=this.popStack(),n=void 0,r=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(r=this.popStack(),n=this.popStack());var o=this.hash;n&&(o.contexts[e]=n),r&&(o.types[e]=r),i&&(o.ids[e]=i),o.values[e]=t},pushId:function(e,t,n){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:i,compileChildren:function(e,t){for(var n=e.children,r=void 0,i=void 0,o=0,a=n.length;a>o;o++){r=n[o],i=new this.compiler;var s=this.matchExistingProgram(r);null==s?(this.context.programs.push(""),s=this.context.programs.length,r.index=s,r.name="program"+s,this.context.programs[s]=i.compile(r,t,this.context,!this.precompile),this.context.environments[s]=r,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams):(r.index=s,r.name="program"+s,this.useDepths=this.useDepths||r.useDepths,this.useBlockParams=this.useBlockParams||r.useBlockParams)}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;n>t;t++){var r=this.context.environments[t];if(r&&r.equals(e))return t}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"this.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof r||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new r(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=["("],n=void 0,i=void 0,o=void 0;if(!this.isInline())throw new u["default"]("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof r)n=[a.value],t=["(",n],o=!0;else{i=!0;var s=this.incrStack();t=["((",this.push(s)," = ",a,")"],n=this.topStack()}var l=e.call(this,n);o||this.popStack(),i&&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,n=e.length;n>t;t++){var i=e[t];if(i instanceof r)this.compileStack.push(i);else{var o=this.incrStack();this.pushSource([o," = ",i,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof r)return n.value;if(!t){if(!this.stackSlot)throw new u["default"]("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof r?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,n){var r=[],i=this.setupHelperArgs(t,e,r,n),o=this.nameLookup("helpers",t,"helper");return{params:r,paramsInit:i,name:o,callParams:[this.contextName(0)].concat(r)}},setupParams:function(e,t,n){var r={},i=[],o=[],a=[],s=void 0;r.name=this.quotedString(e),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack());var l=this.popStack(),u=this.popStack();(u||l)&&(r.fn=u||"this.noop",r.inverse=l||"this.noop");for(var c=t;c--;)s=this.popStack(),n[c]=s,this.trackIds&&(a[c]=this.popStack()),this.stringParams&&(o[c]=this.popStack(),i[c]=this.popStack());return this.trackIds&&(r.ids=this.source.generateArray(a)),this.stringParams&&(r.types=this.source.generateArray(o),r.contexts=this.source.generateArray(i)),this.options.data&&(r.data="data"),this.useBlockParams&&(r.blockParams="blockParams"),r},setupHelperArgs:function(e,t,n,r){var i=this.setupParams(e,t,n,!0);return i=this.objectLiteral(i),r?(this.useRegister("options"),n.push("options"),["options=",i]):(n.push(i),"")}},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=i.RESERVED_WORDS={},n=0,r=e.length;r>n;n++)t[e[n]]=!0}(),i.isValidJavaScriptVariableName=function(e){return!i.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";function r(){this.parents=[]}var i=n(8)["default"];t.__esModule=!0;var o=n(12),a=i(o),s=n(2),l=i(s);r.prototype={constructor:r,mutating:!1,acceptKey:function(e,t){var n=this.accept(e[t]);if(this.mutating){if(n&&(!n.type||!l["default"][n.type]))throw new a["default"]('Unexpected node type "'+n.type+'" found when accepting '+t+" on "+e.type); +e[t]=n}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new a["default"](e.type+" requires "+t)},acceptArray:function(e){for(var t=0,n=e.length;n>t;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,n--)},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"]=r,e.exports=t["default"]},function(e,t,n){(function(n){"use strict";t.__esModule=!0,t["default"]=function(e){var t="undefined"!=typeof n?n:window,r=t.Handlebars;e.noConflict=function(){t.Handlebars===e&&(t.Handlebars=r)}},e.exports=t["default"]}).call(t,function(){return this}())},function(e,t,n){"use strict";t["default"]=function(e){return e&&e.__esModule?e:{"default":e}},t.__esModule=!0},function(e,t,n){"use strict";t["default"]=function(e){if(e&&e.__esModule)return e;var t={};if("object"==typeof e&&null!==e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t},t.__esModule=!0},function(e,t,n){"use strict";function r(e,t){this.helpers=e||{},this.partials=t||{},i(this)}function i(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new p["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')}),e.registerHelper("blockHelperMissing",function(t,n){var r=n.inverse,i=n.fn;if(t===!0)return i(this);if(t===!1||null==t)return r(this);if(g(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):r(this);if(n.data&&n.ids){var a=o(n.data);a.contextPath=u.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(t,n)}),e.registerHelper("each",function(e,t){function n(t,n,i){l&&(l.key=t,l.index=n,l.first=0===n,l.last=!!i,c&&(l.contextPath=c+t)),s+=r(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 r=t.fn,i=t.inverse,a=0,s="",l=void 0,c=void 0;if(t.data&&t.ids&&(c=u.appendContextPath(t.data.contextPath,t.ids[0])+"."),m(e)&&(e=e.call(this)),t.data&&(l=o(t.data)),e&&"object"==typeof e)if(g(e))for(var h=e.length;h>a;a++)n(a,a,a===e.length-1);else{var f=void 0;for(var d in e)e.hasOwnProperty(d)&&(f&&n(f,a-1),f=d,a++);f&&n(f,a-1,!0)}return 0===a&&(s=i(this)),s}),e.registerHelper("if",function(e,t){return m(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||u.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){return e.helpers["if"].call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}),e.registerHelper("with",function(e,t){m(e)&&(e=e.call(this));var n=t.fn;if(u.isEmpty(e))return t.inverse(this);if(t.data&&t.ids){var r=o(t.data);r.contextPath=u.appendContextPath(t.data.contextPath,t.ids[0]),t={data:r}}return n(e,t)}),e.registerHelper("log",function(t,n){var r=n.data&&null!=n.data.level?parseInt(n.data.level,10):1;e.log(r,t)}),e.registerHelper("lookup",function(e,t){return e&&e[t]})}function o(e){var t=u.extend({},e);return t._parent=e,t}var a=n(9)["default"],s=n(8)["default"];t.__esModule=!0,t.HandlebarsEnvironment=r,t.createFrame=o;var l=n(13),u=a(l),c=n(12),p=s(c),h="3.0.1";t.VERSION=h;var f=6;t.COMPILER_REVISION=f;var d={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=d;var g=u.isArray,m=u.isFunction,v=u.toString,y="[object Object]";r.prototype={constructor:r,logger:b,log:x,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 b={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&&b.level<=e){var n=b.methodMap[e];(console[n]||console.log).call(console,t)}}};t.logger=b;var x=b.log;t.log=x},function(e,t,n){"use strict";function r(e){this.string=e}t.__esModule=!0,r.prototype.toString=r.prototype.toHTML=function(){return""+this.string},t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){var n=t&&t.loc,o=void 0,a=void 0;n&&(o=n.start.line,a=n.start.column,e+=" - "+o+":"+a);for(var s=Error.prototype.constructor.call(this,e),l=0;l<i.length;l++)this[i[l]]=s[i[l]];Error.captureStackTrace&&Error.captureStackTrace(this,r),n&&(this.lineNumber=o,this.column=a)}t.__esModule=!0;var i=["description","fileName","lineNumber","message","name","number","stack"];r.prototype=new Error,t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return c[e]}function i(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}function o(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}function a(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,r):e}function s(e){return e||0===e?g(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=i,t.indexOf=o,t.escapeExpression=a,t.isEmpty=s,t.blockParams=l,t.appendContextPath=u;var c={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},p=/[&<>"'`]/g,h=/[&<>"'`]/,f=Object.prototype.toString;t.toString=f;var d=function(e){return"function"==typeof e};d(/x/)&&(t.isFunction=d=function(e){return"function"==typeof e&&"[object Function]"===f.call(e)});var d;t.isFunction=d;var g=Array.isArray||function(e){return e&&"object"==typeof e?"[object Array]"===f.call(e):!1};t.isArray=g},function(e,t,n){"use strict";function r(e){var t=e&&e[0]||1,n=m.COMPILER_REVISION;if(t!==n){if(n>t){var r=m.REVISION_CHANGES[n],i=m.REVISION_CHANGES[t];throw new g["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+i+").")}throw new g["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 i(e,t){function n(n,r,i){i.hash&&(r=f.extend({},r,i.hash)),n=t.VM.resolvePartial.call(this,n,r,i);var o=t.VM.invokePartial.call(this,n,r,i);if(null==o&&t.compile&&(i.partials[i.name]=t.compile(n,e.compilerOptions,t),o=i.partials[i.name](r,i)),null!=o){if(i.indent){for(var a=o.split("\n"),s=0,l=a.length;l>s&&(a[s]||s+1!==l);s++)a[s]=i.indent+a[s];o=a.join("\n")}return o}throw new g["default"]("The partial "+i.name+" could not be compiled when running in runtime-only mode")}function r(t){var n=void 0===arguments[1]?{}:arguments[1],o=n.data;r._setup(n),!n.partial&&e.useData&&(o=u(t,o));var a=void 0,s=e.useBlockParams?[]:void 0;return e.useDepths&&(a=n.depths?[t].concat(n.depths):[t]),e.main.call(i,t,i.helpers,i.partials,o,s,a)}if(!t)throw new g["default"]("No environment passed to template");if(!e||!e.main)throw new g["default"]("Unknown template object: "+typeof e);t.VM.checkRevision(e.compiler);var i={strict:function(e,t){if(!(t in e))throw new g["default"]('"'+t+'" not defined in '+e);return e[t]},lookup:function(e,t){for(var n=e.length,r=0;n>r;r++)if(e[r]&&null!=e[r][t])return e[r][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:f.escapeExpression,invokePartial:n,fn:function(t){return e[t]},programs:[],program:function(e,t,n,r,i){var a=this.programs[e],s=this.fn(e);return t||i||r||n?a=o(this,e,s,t,n,r,i):a||(a=this.programs[e]=o(this,e,s)),a},data:function(e,t){for(;e&&t--;)e=e._parent;return e},merge:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=f.extend({},t,e)),n},noop:t.VM.noop,compilerInfo:e.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(i.helpers=n.helpers,i.partials=n.partials):(i.helpers=i.merge(n.helpers,t.helpers),e.usePartial&&(i.partials=i.merge(n.partials,t.partials)))},r._child=function(t,n,r,a){if(e.useBlockParams&&!r)throw new g["default"]("must pass block params");if(e.useDepths&&!a)throw new g["default"]("must pass parent depths");return o(i,t,e[t],n,0,r,a)},r}function o(e,t,n,r,i,o,a){function s(t){var i=void 0===arguments[1]?{}:arguments[1];return n.call(e,t,e.helpers,e.partials,i.data||r,o&&[i.blockParams].concat(o),a&&[t].concat(a))}return s.program=t,s.depth=a?a.length:0,s.blockParams=i||0,s}function a(e,t,n){return e?e.call||n.name||(n.name=e,e=n.partials[e]):e=n.partials[n.name],e}function s(e,t,n){if(n.partial=!0,void 0===e)throw new g["default"]("The partial "+n.name+" could not be found");return e instanceof Function?e(t,n):void 0}function l(){return""}function u(e,t){return t&&"root"in t||(t=t?m.createFrame(t):{},t.root=e),t}var c=n(9)["default"],p=n(8)["default"];t.__esModule=!0,t.checkRevision=r,t.template=i,t.wrapProgram=o,t.resolvePartial=a,t.invokePartial=s,t.noop=l;var h=n(13),f=c(h),d=n(12),g=p(d),m=n(10)},function(e,t,n){"use strict";t.__esModule=!0;var r=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,n,r,i,o,a){var s=o.length-1;switch(i){case 1:return o[s-1];case 2:this.$=new r.Program(o[s],null,{},r.locInfo(this._$));break;case 3:this.$=o[s];break;case 4:this.$=o[s];break;case 5:this.$=o[s];break;case 6:this.$=o[s];break;case 7:this.$=o[s];break;case 8:this.$=new r.CommentStatement(r.stripComment(o[s]),r.stripFlags(o[s],o[s]),r.locInfo(this._$));break;case 9:this.$=new r.ContentStatement(o[s],r.locInfo(this._$));break;case 10:this.$=r.prepareRawBlock(o[s-2],o[s-1],o[s],this._$);break;case 11:this.$={path:o[s-3],params:o[s-2],hash:o[s-1]};break;case 12:this.$=r.prepareBlock(o[s-3],o[s-2],o[s-1],o[s],!1,this._$);break;case 13:this.$=r.prepareBlock(o[s-3],o[s-2],o[s-1],o[s],!0,this._$);break;case 14:this.$={path:o[s-4],params:o[s-3],hash:o[s-2],blockParams:o[s-1],strip:r.stripFlags(o[s-5],o[s])};break;case 15:this.$={path:o[s-4],params:o[s-3],hash:o[s-2],blockParams:o[s-1],strip:r.stripFlags(o[s-5],o[s])};break;case 16:this.$={path:o[s-4],params:o[s-3],hash:o[s-2],blockParams:o[s-1],strip:r.stripFlags(o[s-5],o[s])};break;case 17:this.$={strip:r.stripFlags(o[s-1],o[s-1]),program:o[s]};break;case 18:var l=r.prepareBlock(o[s-2],o[s-1],o[s],o[s],!1,this._$),u=new r.Program([l],null,{},r.locInfo(this._$));u.chained=!0,this.$={strip:o[s-2].strip,program:u,chain:!0};break;case 19:this.$=o[s];break;case 20:this.$={path:o[s-1],strip:r.stripFlags(o[s-2],o[s])};break;case 21:this.$=r.prepareMustache(o[s-3],o[s-2],o[s-1],o[s-4],r.stripFlags(o[s-4],o[s]),this._$);break;case 22:this.$=r.prepareMustache(o[s-3],o[s-2],o[s-1],o[s-4],r.stripFlags(o[s-4],o[s]),this._$);break;case 23:this.$=new r.PartialStatement(o[s-3],o[s-2],o[s-1],r.stripFlags(o[s-4],o[s]),r.locInfo(this._$));break;case 24:this.$=o[s];break;case 25:this.$=o[s];break;case 26:this.$=new r.SubExpression(o[s-3],o[s-2],o[s-1],r.locInfo(this._$));break;case 27:this.$=new r.Hash(o[s],r.locInfo(this._$));break;case 28:this.$=new r.HashPair(r.id(o[s-2]),o[s],r.locInfo(this._$));break;case 29:this.$=r.id(o[s-1]);break;case 30:this.$=o[s];break;case 31:this.$=o[s];break;case 32:this.$=new r.StringLiteral(o[s],r.locInfo(this._$));break;case 33:this.$=new r.NumberLiteral(o[s],r.locInfo(this._$));break;case 34:this.$=new r.BooleanLiteral(o[s],r.locInfo(this._$));break;case 35:this.$=new r.UndefinedLiteral(r.locInfo(this._$));break;case 36:this.$=new r.NullLiteral(r.locInfo(this._$));break;case 37:this.$=o[s];break;case 38:this.$=o[s];break;case 39:this.$=r.preparePath(!0,o[s],this._$);break;case 40:this.$=r.preparePath(!1,o[s],this._$);break;case 41:o[s-2].push({part:r.id(o[s]),original:o[s],separator:o[s-1]}),this.$=o[s-2];break;case 42:this.$=[{part:r.id(o[s]),original:o[s]}];break;case 43:this.$=[];break;case 44:o[s-1].push(o[s]);break;case 45:this.$=[];break;case 46:o[s-1].push(o[s]);break;case 53:this.$=[];break;case 54:o[s-1].push(o[s]);break;case 59:this.$=[];break;case 60:o[s-1].push(o[s]);break;case 65:this.$=[];break;case 66:o[s-1].push(o[s]);break;case 73:this.$=[];break;case 74:o[s-1].push(o[s]);break;case 77:this.$=[];break;case 78:o[s-1].push(o[s]);break;case 81:this.$=[];break;case 82:o[s-1].push(o[s]);break;case 85:this.$=[];break;case 86:o[s-1].push(o[s]);break;case 89:this.$=[o[s]];break;case 90:o[s-1].push(o[s]);break;case 91:this.$=[o[s]];break;case 92:o[s-1].push(o[s])}},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=n.lexer.lex()||1,"number"!=typeof e&&(e=n.symbols_[e]||e),e}var n=this,r=[0],i=[null],o=[],a=this.table,s="",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;o.push(p);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var f,d,g,m,v,y,b,x,w,S={};;){if(g=r[r.length-1],this.defaultActions[g]?m=this.defaultActions[g]:((null===f||"undefined"==typeof f)&&(f=t()),m=a[g]&&a[g][f]),"undefined"==typeof m||!m.length||!m[0]){var k="";if(!c){w=[];for(y in a[g])this.terminals_[y]&&y>2&&w.push("'"+this.terminals_[y]+"'");k=this.lexer.showPosition?"Parse error on line "+(l+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(k,{text:this.lexer.match,token:this.terminals_[f]||f,line:this.lexer.yylineno,loc:p,expected:w})}}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(m[0]){case 1:r.push(f),i.push(this.lexer.yytext),o.push(this.lexer.yylloc),r.push(m[1]),f=null,d?(f=d,d=null):(u=this.lexer.yyleng,s=this.lexer.yytext,l=this.lexer.yylineno,p=this.lexer.yylloc,c>0&&c--);break;case 2:if(b=this.productions_[m[1]][1],S.$=i[i.length-b],S._$={first_line:o[o.length-(b||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(b||1)].first_column,last_column:o[o.length-1].last_column},h&&(S._$.range=[o[o.length-(b||1)].range[0],o[o.length-1].range[1]]),v=this.performAction.call(S,s,u,l,this.yy,m[1],i,o),"undefined"!=typeof v)return v;b&&(r=r.slice(0,-1*b*2),i=i.slice(0,-1*b),o=o.slice(0,-1*b)),r.push(this.productions_[m[1]][0]),i.push(S.$),o.push(S._$),x=a[r[r.length-2]][r[r.length-1]],r.push(x);break;case 3:return!0}}return!0}},n=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,n=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 r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[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,n,r,i;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),a=0;a<o.length&&(n=this._input.match(this.rules[o[a]]),!n||t&&!(n[0].length>t[0].length)||(t=n,r=a,this.options.flex));a++);return t?(i=t[0].match(/(?:\r\n?|\n).*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.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,o[r],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,n,r){function i(e,n){return t.yytext=t.yytext.substr(e,t.yyleng-n)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(i(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(i(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=i(1,2).replace(/\\"/g,'"'),74;case 30:return t.yytext=i(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=n,e.prototype=t,t.Parser=e,new e}();t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(){}function i(e,t,n){void 0===t&&(t=e.length);var r=e[t-1],i=e[t-2];return r?"ContentStatement"===r.type?(i||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:n}function o(e,t,n){void 0===t&&(t=-1);var r=e[t+1],i=e[t+2];return r?"ContentStatement"===r.type?(i||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:n}function a(e,t,n){var r=e[null==t?0:t+1];if(r&&"ContentStatement"===r.type&&(n||!r.rightStripped)){var i=r.value;r.value=r.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==i}}function s(e,t,n){var r=e[null==t?e.length-1:t-1];if(r&&"ContentStatement"===r.type&&(n||!r.leftStripped)){var i=r.value;return r.value=r.value.replace(n?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==i,r.leftStripped}}var l=n(8)["default"];t.__esModule=!0;var u=n(6),c=l(u);r.prototype=new c["default"],r.prototype.Program=function(e){var t=!this.isRootSeen;this.isRootSeen=!0;for(var n=e.body,r=0,l=n.length;l>r;r++){var u=n[r],c=this.accept(u);if(c){var p=i(n,r,t),h=o(n,r,t),f=c.openStandalone&&p,d=c.closeStandalone&&h,g=c.inlineStandalone&&p&&h;c.close&&a(n,r,!0),c.open&&s(n,r,!0),g&&(a(n,r),s(n,r)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(n[r-1].original)[1])),f&&(a((u.program||u.inverse).body),s(n,r)),d&&(a(n,r),s((u.inverse||u.program).body))}}return e},r.prototype.BlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,n=e.program&&e.inverse,r=n,l=n;if(n&&n.chained)for(r=n.body[0].program;l.chained;)l=l.body[l.body.length-1].program;var u={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:o(t.body),closeStandalone:i((r||t).body)};if(e.openStrip.close&&a(t.body,null,!0),n){var c=e.inverseStrip;c.open&&s(t.body,null,!0),c.close&&a(r.body,null,!0),e.closeStrip.open&&s(l.body,null,!0),i(t.body)&&o(r.body)&&(s(t.body),a(r.body))}else e.closeStrip.open&&s(t.body,null,!0);return u},r.prototype.MustacheStatement=function(e){return e.strip},r.prototype.PartialStatement=r.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(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 i(e){return/^\[.*\]$/.test(e)?e.substr(1,e.length-2):e}function o(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}}function a(e){return e.replace(/^\{\{~?\!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function s(e,t,n){n=this.locInfo(n);for(var r=e?"@":"",i=[],o=0,a="",s=0,l=t.length;l>s;s++){var u=t[s].part,c=t[s].original!==u;if(r+=(t[s].separator||"")+u,c||".."!==u&&"."!==u&&"this"!==u)i.push(u);else{if(i.length>0)throw new f["default"]("Invalid path: "+r,{loc:n});".."===u&&(o++,a+="../")}}return new this.PathExpression(e,o,i,r,n)}function l(e,t,n,r,i,o){var a=r.charAt(3)||r.charAt(2),s="{"!==a&&"&"!==a;return new this.MustacheStatement(e,t,n,s,i,this.locInfo(o))}function u(e,t,n,r){if(e.path.original!==n){var i={loc:e.path.loc};throw new f["default"](e.path.original+" doesn't match "+n,i)}r=this.locInfo(r);var o=new this.Program([t],null,{},r);return new this.BlockStatement(e.path,e.params,e.hash,o,void 0,{},{},{},r)}function c(e,t,n,r,i,o){if(r&&r.path&&e.path.original!==r.path.original){var a={loc:e.path.loc};throw new f["default"](e.path.original+" doesn't match "+r.path.original,a)}t.blockParams=e.blockParams;var s=void 0,l=void 0;return n&&(n.chain&&(n.program.body[0].closeStrip=r.strip),l=n.strip,s=n.program),i&&(i=s,s=t,t=i),new this.BlockStatement(e.path,e.params,e.hash,t,s,e.strip,l,r&&r.strip,this.locInfo(o))}var p=n(8)["default"];t.__esModule=!0,t.SourceLocation=r,t.id=i,t.stripFlags=o,t.stripComment=a,t.preparePath=s,t.prepareMustache=l,t.prepareRawBlock=u,t.prepareBlock=c;var h=n(12),f=p(h)},function(e,t,n){"use strict";function r(e,t,n){if(o.isArray(e)){for(var r=[],i=0,a=e.length;a>i;i++)r.push(t.wrap(e[i],n));return r}return"boolean"==typeof e||"number"==typeof e?e+"":e}function i(e){this.srcFile=e,this.source=[]}t.__esModule=!0;var o=n(13),a=void 0;try{}catch(s){}a||(a=function(e,t,n,r){this.src="",r&&this.add(r)},a.prototype={add:function(e){o.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){o.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),i.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,n=this.source.length;n>t;t++)e(this.source[t])},empty:function(){var e=void 0===arguments[0]?this.currentLocation||{start:{}}:arguments[0];return new a(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 a?e:(e=r(e,this,t),new a(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,n){return n=this.generateList(n),this.wrap([e,t?"."+t+"(":"(",n,")"])},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 n in e)if(e.hasOwnProperty(n)){var i=r(e[n],this);"undefined"!==i&&t.push([this.quotedString(n),":",i])}var o=this.generateList(t);return o.prepend("{"),o.add("}"),o},generateList:function(e,t){for(var n=this.empty(t),i=0,o=e.length;o>i;i++)i&&n.add(","),n.add(r(e[i],this,t));return n},generateArray:function(e,t){var n=this.generateList(e,t);return n.prepend("["),n.add("]"),n}},t["default"]=i,e.exports=t["default"]}])})}),define("source-map",[],function(e,t,n){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,n){define(function(e,t,n){function r(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._sources=new a,this._names=new a,this._mappings=[],this._sourcesContents=null}var i=e("source-map/base64-vlq"),o=e("source-map/util"),a=e("source-map/array-set").ArraySet;r.prototype._version=3,r.fromSourceMap=function(e){var t=e.sourceRoot,n=new r({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&n.setSourceContent(t,r)}),n},r.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._validateMapping(t,n,r,i),null==r||this._sources.has(r)||this._sources.add(r),null==i||this._names.has(i)||this._names.add(i),this._mappings.push({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},r.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},r.prototype.applySourceMap=function(e,t,n){var r=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.');r=e.file}var i=this._sourceRoot;null!=i&&(r=o.relative(i,r));var s=new a,l=new a;this._mappings.forEach(function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=n&&(t.source=o.join(n,t.source)),null!=i&&(t.source=o.relative(i,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var u=t.source;null==u||s.has(u)||s.add(u);var c=t.name;null==c||l.has(c)||l.add(c)},this),this._sources=s,this._names=l,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=i&&(t=o.relative(i,t)),this.setSourceContent(t,r))},this)},r.prototype._validateMapping=function(e,t,n,r){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(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&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},r.prototype._serializeMappings=function(){var e,t=0,n=1,r=0,a=0,s=0,l=0,u="";this._mappings.sort(o.compareByGeneratedPositions);for(var c=0,p=this._mappings.length;p>c;c++){if(e=this._mappings[c],e.generatedLine!==n)for(t=0;e.generatedLine!==n;)u+=";",n++;else if(c>0){if(!o.compareByGeneratedPositions(e,this._mappings[c-1]))continue;u+=","}u+=i.encode(e.generatedColumn-t),t=e.generatedColumn,null!=e.source&&(u+=i.encode(this._sources.indexOf(e.source)-l),l=this._sources.indexOf(e.source),u+=i.encode(e.originalLine-1-a),a=e.originalLine-1,u+=i.encode(e.originalColumn-r),r=e.originalColumn,null!=e.name&&(u+=i.encode(this._names.indexOf(e.name)-s),s=this._names.indexOf(e.name)))}return u},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.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},r.prototype.toString=function(){return JSON.stringify(this)},t.SourceMapGenerator=r})}),define("source-map/base64-vlq",[],function(e,t,n){define(function(e,t,n){function r(e){return 0>e?(-e<<1)+1:(e<<1)+0}function i(e){var t=1===(1&e),n=e>>1;return t?-n:n}var o=e("source-map/base64"),a=5,s=1<<a,l=s-1,u=s;t.encode=function(e){var t,n="",i=r(e);do t=i&l,i>>>=a,i>0&&(t|=u),n+=o.encode(t);while(i>0);return n},t.decode=function(e,t){var n,r,s=0,c=e.length,p=0,h=0;do{if(s>=c)throw new Error("Expected more digits in base 64 VLQ value.");r=o.decode(e.charAt(s++)),n=!!(r&u),r&=l,p+=r<<h,h+=a}while(n);t.value=i(p),t.rest=e.slice(s)}})}),define("source-map/base64",[],function(e,t,n){define(function(e,t,n){var r={},i={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){r[e]=t,i[t]=e}),t.encode=function(e){if(e in i)return i[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){if(e in r)return r[e];throw new TypeError("Not a valid base 64 digit: "+e)}})}),define("source-map/util",[],function(e,t,n){define(function(e,t,n){function r(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function i(e){var t=e.match(d);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(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 a(e){var t=e,n=i(e);if(n){if(!n.path)return e;t=n.path}for(var r,a="/"===t.charAt(0),s=t.split(/\/+/),l=0,u=s.length-1;u>=0;u--)r=s[u],"."===r?s.splice(u,1):".."===r?l++:l>0&&(""===r?(s.splice(u+1,l),l=0):(s.splice(u,2),l--));return t=s.join("/"),""===t&&(t=a?"/":"."),n?(n.path=t,o(n)):t}function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=i(t),r=i(e);if(r&&(e=r.path||"/"),n&&!n.scheme)return r&&(n.scheme=r.scheme),o(n);if(n||t.match(g))return t;if(r&&!r.host&&!r.path)return r.host=t,o(r);var s="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return r?(r.path=s,o(r)):s}function l(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");var n=i(e);return"/"==t.charAt(0)&&n&&"/"==n.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 n=e||"",r=t||"";return(n>r)-(r>n)}function h(e,t,n){var r;return(r=p(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r||n?r:(r=p(e.name,t.name))?r:(r=e.generatedLine-t.generatedLine,r?r:e.generatedColumn-t.generatedColumn))}function f(e,t,n){var r;return(r=e.generatedLine-t.generatedLine)?r:(r=e.generatedColumn-t.generatedColumn,r||n?r:(r=p(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r?r:p(e.name,t.name)))}t.getArg=r;var d=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,g=/^data:.+\,.+$/;t.urlParse=i,t.urlGenerate=o,t.normalize=a,t.join=s,t.relative=l,t.toSetString=u,t.fromSetString=c,t.compareByOriginalPositions=h,t.compareByGeneratedPositions=f})}),define("source-map/array-set",[],function(e,t,n){define(function(e,t,n){function r(){this._array=[],this._set={}}var i=e("source-map/util");r.fromArray=function(e,t){for(var n=new r,i=0,o=e.length;o>i;i++)n.add(e[i],t);return n},r.prototype.add=function(e,t){var n=this.has(e),r=this._array.length;(!n||t)&&this._array.push(e),n||(this._set[i.toSetString(e)]=r)},r.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,i.toSetString(e))},r.prototype.indexOf=function(e){if(this.has(e))return this._set[i.toSetString(e)];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},t.ArraySet=r})}),define("source-map/source-map-consumer",[],function(e,t,n){define(function(e,t,n){function r(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=i.getArg(t,"version"),r=i.getArg(t,"sources"),o=i.getArg(t,"names",[]),s=i.getArg(t,"sourceRoot",null),l=i.getArg(t,"sourcesContent",null),u=i.getArg(t,"mappings"),c=i.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(i.normalize),this._names=a.fromArray(o,!0),this._sources=a.fromArray(r,!0),this.sourceRoot=s,this.sourcesContent=l,this._mappings=u,this.file=c}var i=e("source-map/util"),o=e("source-map/binary-search"),a=e("source-map/array-set").ArraySet,s=e("source-map/base64-vlq");r.fromSourceMap=function(e){var t=Object.create(r.prototype);return t._names=a.fromArray(e._names.toArray(),!0),t._sources=a.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(i.compareByGeneratedPositions),t.__originalMappings=e._mappings.slice().sort(i.compareByOriginalPositions),t},r.prototype._version=3,Object.defineProperty(r.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?i.join(this.sourceRoot,e):e},this)}}),r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__originalMappings}}),r.prototype._nextCharIsMappingSeparator=function(e){var t=e.charAt(0);return";"===t||","===t},r.prototype._parseMappings=function(e,t){for(var n,r=1,o=0,a=0,l=0,u=0,c=0,p=e,h={};p.length>0;)if(";"===p.charAt(0))r++,p=p.slice(1),o=0;else if(","===p.charAt(0))p=p.slice(1);else{if(n={},n.generatedLine=r,s.decode(p,h),n.generatedColumn=o+h.value,o=n.generatedColumn,p=h.rest,p.length>0&&!this._nextCharIsMappingSeparator(p)){if(s.decode(p,h),n.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(s.decode(p,h),n.originalLine=a+h.value,a=n.originalLine,n.originalLine+=1,p=h.rest,0===p.length||this._nextCharIsMappingSeparator(p))throw new Error("Found a source and line, but no column");s.decode(p,h),n.originalColumn=l+h.value,l=n.originalColumn,p=h.rest,p.length>0&&!this._nextCharIsMappingSeparator(p)&&(s.decode(p,h),n.name=this._names.at(c+h.value),c+=h.value,p=h.rest)}this.__generatedMappings.push(n),"number"==typeof n.originalLine&&this.__originalMappings.push(n)}this.__generatedMappings.sort(i.compareByGeneratedPositions),this.__originalMappings.sort(i.compareByOriginalPositions)},r.prototype._findMapping=function(e,t,n,r,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,i)},r.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},r.prototype.originalPositionFor=function(e){var t={generatedLine:i.getArg(e,"line"),generatedColumn:i.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",i.compareByGeneratedPositions);if(n>=0){var r=this._generatedMappings[n];if(r.generatedLine===t.generatedLine){var o=i.getArg(r,"source",null);return null!=o&&null!=this.sourceRoot&&(o=i.join(this.sourceRoot,o)),{source:o,line:i.getArg(r,"originalLine",null),column:i.getArg(r,"originalColumn",null),name:i.getArg(r,"name",null)}}}return{source:null,line:null,column:null,name:null}},r.prototype.sourceContentFor=function(e){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=i.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var t;if(null!=this.sourceRoot&&(t=i.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];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.')},r.prototype.generatedPositionFor=function(e){var t={source:i.getArg(e,"source"),originalLine:i.getArg(e,"line"),originalColumn:i.getArg(e,"column")};null!=this.sourceRoot&&(t.source=i.relative(this.sourceRoot,t.source));var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions);if(n>=0){var r=this._originalMappings[n];return{line:i.getArg(r,"generatedLine",null),column:i.getArg(r,"generatedColumn",null),lastColumn:i.getArg(r,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},r.prototype.allGeneratedPositionsFor=function(e){var t={source:i.getArg(e,"source"),originalLine:i.getArg(e,"line"),originalColumn:1/0};null!=this.sourceRoot&&(t.source=i.relative(this.sourceRoot,t.source));var n=[],r=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions);if(r>=0)for(var o=this._originalMappings[r];o&&o.originalLine===t.originalLine;)n.push({line:i.getArg(o,"generatedLine",null),column:i.getArg(o,"generatedColumn",null),lastColumn:i.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[--r];return n.reverse()},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.prototype.eachMapping=function(e,t,n){var o,a=t||null,s=n||r.GENERATED_ORDER;switch(s){case r.GENERATED_ORDER:o=this._generatedMappings;break;case r.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var l=this.sourceRoot;o.map(function(e){var t=e.source;return null!=t&&null!=l&&(t=i.join(l,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,a)},t.SourceMapConsumer=r})}),define("source-map/binary-search",[],function(e,t,n){define(function(e,t,n){function r(e,t,n,i,o){var a=Math.floor((t-e)/2)+e,s=o(n,i[a],!0);return 0===s?a:s>0?t-a>1?r(a,t,n,i,o):a:a-e>1?r(e,a,n,i,o):0>e?-1:e}t.search=function(e,t,n){return 0===t.length?-1:r(-1,t.length,e,t,n)}})}),define("source-map/source-node",[],function(e,t,n){define(function(e,t,n){function r(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==i?null:i,this[l]=!0,null!=r&&this.add(r)}var i=e("source-map/source-map-generator").SourceMapGenerator,o=e("source-map/util"),a=/(\r?\n)/,s=/\r\n|[\s\S]/g,l="$$$isSourceNode$$$";r.fromStringWithSourceMap=function(e,t,n){function i(e,t){if(null===e||void 0===e.source)s.add(t);else{var i=n?o.join(n,e.source):e.source;s.add(new r(e.originalLine,e.originalColumn,i,t,e.name))}}var s=new r,l=e.split(a),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],n=t.substr(0,e.generatedColumn-p);return l[0]=t.substr(e.generatedColumn-p),p=e.generatedColumn,i(h,n),void(h=e)}var n="";i(h,u()),c++,p=0}for(;c<e.generatedLine;)s.add(u()),c++;if(p<e.generatedColumn){var t=l[0];s.add(t.substr(0,e.generatedColumn)),l[0]=t.substr(e.generatedColumn),p=e.generatedColumn}h=e},this),l.length>0&&(h&&i(h,u()),s.add(l.join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=o.join(n,e)),s.setSourceContent(e,r))}),s},r.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},r.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},r.prototype.walk=function(e){for(var t,n=0,r=this.children.length;r>n;n++)t=this.children[n],t[l]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;r-1>n;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[l]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;n>t;t++)this.children[t][l]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;n>t;t++)e(o.fromSetString(r[t]),this.sourceContents[r[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new i(e),r=!1,o=null,l=null,u=null,c=null;return this.walk(function(e,i){t.code+=e,null!==i.source&&null!==i.line&&null!==i.column?((o!==i.source||l!==i.line||u!==i.column||c!==i.name)&&n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name}),o=i.source,l=i.line,u=i.column,c=i.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,r=!1),e.match(s).forEach(function(e,s,l){a.test(e)?(t.line++,t.column=0,s+1===l.length?(o=null,r=!1):r&&n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name})):t.column+=e.length})}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},t.SourceNode=r})}),define("index",[],function(require,exports,module){"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(e){return 10>e?"0"+e:e}function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,r,i,o,a,s=gap,l=t[e];switch(l&&"object"==typeof l&&"function"==typeof l.toJSON&&(l=l.toJSON(e)),"function"==typeof rep&&(l=rep.call(t,e,l)),typeof l){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(l)){for(o=l.length,n=0;o>n;n+=1)a[n]=str(n,l)||"null";return i=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,i}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;o>n;n+=1)"string"==typeof rep[n]&&(r=rep[n],i=str(r,l),i&&a.push(quote(r)+(gap?": ":":")+i));else for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(i=str(r,l),i&&a.push(quote(r)+(gap?": ":":")+i));return i=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,i}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx,escapable,gap,indent,meta,rep;"function"!=typeof JSON.stringify&&(escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;n>r;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,JSON.parse=function(text,reviver){function walk(e,t){var n,r,i=e[t];if(i&&"object"==typeof i)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r=walk(i,n),void 0!==r?i[n]=r:delete i[n]);return reviver.call(e,t,i)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),module.exports=JSON}),define("jquery-pjax",[],function(e,t,n){var r=e("jquery");!function(e){function t(t,r,i){var o=this;return this.on("click.pjax",t,function(t){var a=e.extend({},v(r,i));a.container||(a.container=e(this).attr("data-pjax")||o),n(t,a)})}function n(t,n,r){r=v(n,r);var i=t.currentTarget;if("A"!==i.tagName.toUpperCase())throw"$.fn.pjax or $.pjax.click requires an anchor element";if(!(t.which>1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||location.protocol!==i.protocol||location.hostname!==i.hostname||i.href.indexOf("#")>-1&&m(i)==m(location)||t.isDefaultPrevented())){var a={url:i.href,container:e(i).attr("data-pjax"),target:i},s=e.extend({},a,r),l=e.Event("pjax:click");e(i).trigger(l,[s]),l.isDefaultPrevented()||(o(s),t.preventDefault(),e(i).trigger("pjax:clicked",[s]))}}function i(t,n,r){r=v(n,r);var i=t.currentTarget;if("FORM"!==i.tagName.toUpperCase())throw"$.pjax.submit requires a form element";var a={type:i.method.toUpperCase(),url:i.action,container:e(i).attr("data-pjax"),target:i};if("GET"!==a.type&&void 0!==window.FormData)a.data=new FormData(i),a.processData=!1,a.contentType=!1;else{if(e(i).find(":file").length)return;a.data=e(i).serializeArray()}o(e.extend({},a,r)),t.preventDefault()}function o(t){function n(t,n,i){i||(i={}),i.relatedTarget=r;var o=e.Event(t,i);return a.trigger(o,n),!o.isDefaultPrevented()}t=e.extend(!0,{},e.ajaxSettings,o.defaults,t),e.isFunction(t.url)&&(t.url=t.url());var r=t.target,i=g(t.url).hash,a=t.context=y(t.container);t.data||(t.data={}),e.isArray(t.data)?t.data.push({name:"_pjax",value:a.selector}):t.data._pjax=a.selector;var l;t.beforeSend=function(e,r){if("GET"!==r.type&&(r.timeout=0),e.setRequestHeader("X-PJAX","true"),e.setRequestHeader("X-PJAX-Container",a.selector),!n("pjax:beforeSend",[e,r]))return!1;r.timeout>0&&(l=setTimeout(function(){n("pjax:timeout",[e,t])&&e.abort("timeout")},r.timeout),r.timeout=0);var o=g(r.url);o.hash=i,t.requestUrl=d(o.href); +},t.complete=function(e,r){l&&clearTimeout(l),n("pjax:complete",[e,r,t]),n("pjax:end",[e,t])},t.error=function(e,r,i){var o=w("",e,t),a=n("pjax:error",[e,r,i,t]);"GET"==t.type&&"abort"!==r&&a&&s(o.url)},t.success=function(r,l,u){var c=o.state,h="function"==typeof e.pjax.defaults.version?e.pjax.defaults.version():e.pjax.defaults.version,f=u.getResponseHeader("X-PJAX-Version"),d=w(r,u,t),m=g(d.url);if(i&&(m.hash=i,d.url=m.href),h&&f&&h!==f)return void s(d.url);if(!d.contents)return void s(d.url);o.state={id:t.id||p(),url:d.url,title:d.title,container:a.selector,fragment:t.fragment,timeout:t.timeout},(t.push||t.replace)&&window.history.replaceState(o.state,d.title,d.url);try{document.activeElement.blur()}catch(v){}d.title&&(document.title=d.title),n("pjax:beforeReplace",[d.contents,t],{state:o.state,previousState:c}),a.html(d.contents);var y=a.find("input[autofocus], textarea[autofocus]").last()[0];y&&document.activeElement!==y&&y.focus(),S(d.scripts);var b=t.scrollTo;if(i){var x=decodeURIComponent(i.slice(1)),k=document.getElementById(x)||document.getElementsByName(x)[0];k&&(b=e(k).offset().top)}"number"==typeof b&&e(window).scrollTop(b),n("pjax:success",[r,l,u,t])},o.state||(o.state={id:p(),url:window.location.href,title:document.title,container:a.selector,fragment:t.fragment,timeout:t.timeout},window.history.replaceState(o.state,document.title)),c(o.xhr),o.options=t;var u=o.xhr=e.ajax(t);return u.readyState>0&&(t.push&&!t.replace&&(k(o.state.id,h(a)),window.history.pushState(null,"",t.requestUrl)),n("pjax:start",[u,t]),n("pjax:send",[u,t])),o.xhr}function a(t,n){var r={url:window.location.href,push:!1,replace:!0,scrollTo:!1};return o(e.extend(r,v(t,n)))}function s(e){window.history.replaceState(null,"",o.state.url),window.location.replace(e)}function l(t){T||c(o.xhr);var n=o.state,r=t.state;if(r&&r.container){if(T&&P==r.url)return;var i,a=r.container;if(n){if(n.id===r.id)return;i=n.id<r.id?"forward":"back","back"==i&&(a=n.container)}var l=e(a);if(l.length){var u=j[r.id];n&&C(i,n.id,h(l));var p=e.Event("pjax:popstate",{state:r,direction:i});l.trigger(p);var f={id:r.id,url:r.url,container:l,push:!1,fragment:r.fragment,timeout:r.timeout,scrollTo:!1};if(u){l.trigger("pjax:start",[null,f]),o.state=r,r.title&&(document.title=r.title);var d=e.Event("pjax:beforeReplace",{state:r,previousState:n});l.trigger(d,[u,f]),l.html(u),l.trigger("pjax:end",[null,f])}else o(f);l[0].offsetHeight}else s(location.href)}T=!1}function u(t){var n=e.isFunction(t.url)?t.url():t.url,r=t.type?t.type.toUpperCase():"GET",i=e("<form>",{method:"GET"===r?"GET":"POST",action:n,style:"display:none"});"GET"!==r&&"POST"!==r&&i.append(e("<input>",{type:"hidden",name:"_method",value:r.toLowerCase()}));var o=t.data;if("string"==typeof o)e.each(o.split("&"),function(t,n){var r=n.split("=");i.append(e("<input>",{type:"hidden",name:r[0],value:r[1]}))});else if(e.isArray(o))e.each(o,function(t,n){i.append(e("<input>",{type:"hidden",name:n.name,value:n.value}))});else if("object"==typeof o){var a;for(a in o)i.append(e("<input>",{type:"hidden",name:a,value:o[a]}))}e(document.body).append(i),i.submit()}function c(t){t&&t.readyState<4&&(t.onreadystatechange=e.noop,t.abort())}function p(){return(new Date).getTime()}function h(e){var t=e.clone();return t.find("script").each(function(){this.src||r._data(this,"globalEval",!1)}),t.contents()}function f(e,t){return e.replace(new RegExp("[?&]"+t+"=[^&#]*"),"").replace(/[?&]($|#)/,"").replace(/[?&]/,"?")}function d(e){return e=f(e,"_pjax"),e=f(e,"_")}function g(e){var t=document.createElement("a");return t.href=e,t}function m(e){return e.href.replace(/#.*/,"")}function v(t,n){return t&&n?n.container=t:n=e.isPlainObject(t)?t:{container:t},n.container&&(n.container=y(n.container)),n}function y(t){if(t=e(t),t.length){if(""!==t.selector&&t.context===document)return t;if(t.attr("id"))return e("#"+t.attr("id"));throw"cant get selector for pjax container!"}throw"no pjax container for "+t.selector}function b(e,t){return e.filter(t).add(e.find(t))}function x(t){return e.parseHTML(t,document,!0)}function w(t,n,r){var i={},o=/<html/i.test(t),a=n.getResponseHeader("X-PJAX-URL");if(i.url=a?d(a):r.requestUrl,o)var s=e(x(t.match(/<head[^>]*>([\s\S.]*)<\/head>/i)[0])),l=e(x(t.match(/<body[^>]*>([\s\S.]*)<\/body>/i)[0]));else var s=l=e(x(t));if(0===l.length)return i;if(i.title=b(s,"title").last().text(),r.fragment){if("body"===r.fragment)var u=l;else var u=b(l,r.fragment).first();u.length&&(i.contents="body"===r.fragment?u:u.contents(),i.title||(i.title=u.attr("title")||u.data("title")))}else o||(i.contents=l);return i.contents&&(i.contents=i.contents.not(function(){return e(this).is("title")}),i.contents.find("title").remove(),i.scripts=b(i.contents,"script[src]").remove(),i.contents=i.contents.not(i.scripts)),i.title&&(i.title=e.trim(i.title)),i}function S(t){if(t){var n=e("script[src]");t.each(function(){var t=this.src,r=n.filter(function(){return this.src===t});if(!r.length){var i=document.createElement("script"),o=e(this).attr("type");o&&(i.type=o),i.src=e(this).attr("src"),document.head.appendChild(i)}})}}function k(e,t){j[e]=t,M.push(e),_(O,0),_(M,o.defaults.maxCacheLength)}function C(e,t,n){var r,i;j[t]=n,"forward"===e?(r=M,i=O):(r=O,i=M),r.push(t),(t=i.pop())&&delete j[t],_(r,o.defaults.maxCacheLength)}function _(e,t){for(;e.length>t;)delete j[e.shift()]}function E(){return e("meta").filter(function(){var t=e(this).attr("http-equiv");return t&&"X-PJAX-VERSION"===t.toUpperCase()}).attr("content")}function A(){e.fn.pjax=t,e.pjax=o,e.pjax.enable=e.noop,e.pjax.disable=N,e.pjax.click=n,e.pjax.submit=i,e.pjax.reload=a,e.pjax.defaults={timeout:650,push:!0,replace:!1,type:"GET",dataType:"html",scrollTo:0,maxCacheLength:20,version:E},e(window).on("popstate.pjax",l)}function N(){e.fn.pjax=function(){return this},e.pjax=u,e.pjax.enable=A,e.pjax.disable=e.noop,e.pjax.click=e.noop,e.pjax.submit=e.noop,e.pjax.reload=function(){window.location.reload()},e(window).off("popstate.pjax",l)}var T=!0,P=window.location.href,L=window.history.state;L&&L.container&&(o.state=L),"state"in window.history&&(T=!1);var j={},O=[],M=[];e.inArray("state",e.event.props)<0&&e.event.props.push("state"),e.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),e.support.pjax?A():N()}(r)}),define("dot",[],function(e,t,n){e("lib/jquery.dotdotdot"),n.exports=function(e){e.dotdotdot({wrap:"letter"})}}),define("lib/jquery.dotdotdot",[],function(e,t,n){var r=e("jquery");!function(e,t){function n(e,t,n){var r=e.children(),i=!1;e.empty();for(var a=0,s=r.length;s>a;a++){var l=r.eq(a);if(e.append(l),n&&e.append(n),o(e,t)){l.remove(),i=!0;break}n&&n.detach()}return i}function r(t,n,a,s,l){var u=!1,c="a, table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style",p="script, .dotdotdot-keep";return t.contents().detach().each(function(){var h=this,f=e(h);if("undefined"==typeof h)return!0;if(f.is(p))t.append(f);else{if(u)return!0;t.append(f),!l||f.is(s.after)||f.find(s.after).length||t[t.is(c)?"after":"append"](l),o(a,s)&&(u=3==h.nodeType?i(f,n,a,s,l):r(f,n,a,s,l),u||(f.detach(),u=!0)),u||l&&l.detach()}}),n.addClass("is-truncated"),u}function i(t,n,r,i,s){var c=t[0];if(!c)return!1;var h=u(c),f=-1!==h.indexOf(" ")?" ":" ",d="letter"==i.wrap?"":f,g=h.split(d),m=-1,v=-1,y=0,b=g.length-1;for(i.fallbackToLetter&&0==y&&0==b&&(d="",g=h.split(d),b=g.length-1);b>=y&&(0!=y||0!=b);){var x=Math.floor((y+b)/2);if(x==v)break;v=x,l(c,g.slice(0,v+1).join(d)+i.ellipsis),o(r,i)?(b=v,i.fallbackToLetter&&0==y&&0==b&&(d="",g=g[0].split(d),m=-1,v=-1,y=0,b=g.length-1)):(m=v,y=v)}if(-1==m||1==g.length&&0==g[0].length){var w=t.parent();t.detach();var S=s&&s.closest(w).length?s.length:0;w.contents().length>S?c=p(w.contents().eq(-1-S),n):(c=p(w,n,!0),S||w.detach()),c&&(h=a(u(c),i),l(c,h),S&&s&&e(c).parent().append(s))}else h=a(g.slice(0,m+1).join(d),i),l(c,h);return!0}function o(e,t){return e.innerHeight()>t.maxHeight}function a(t,n){for(;e.inArray(t.slice(-1),n.lastCharacter.remove)>-1;)t=t.slice(0,-1);return e.inArray(t.slice(-1),n.lastCharacter.noEllipsis)<0&&(t+=n.ellipsis),t}function s(e){return{width:e.innerWidth(),height:e.innerHeight()}}function l(e,t){e.innerText?e.innerText=t:e.nodeValue?e.nodeValue=t:e.textContent&&(e.textContent=t)}function u(e){return e.innerText?e.innerText:e.nodeValue?e.nodeValue:e.textContent?e.textContent:""}function c(e){do e=e.previousSibling;while(e&&1!==e.nodeType&&3!==e.nodeType);return e}function p(t,n,r){var i,o=t&&t[0];if(o){if(!r){if(3===o.nodeType)return o;if(e.trim(t.text()))return p(t.contents().last(),n)}for(i=c(o);!i;){if(t=t.parent(),t.is(n)||!t.length)return!1;i=c(t[0])}if(i)return p(e(i),n)}return!1}function h(t,n){return t?"string"==typeof t?(t=e(t,n),t.length?t:!1):t.jquery?t:!1:!1}function f(e){for(var t=e.innerHeight(),n=["paddingTop","paddingBottom"],r=0,i=n.length;i>r;r++){var o=parseInt(e.css(n[r]),10);isNaN(o)&&(o=0),t-=o}return t}if(!e.fn.dotdotdot){e.fn.dotdotdot=function(t){if(0==this.length)return e.fn.dotdotdot.debug('No element found for "'+this.selector+'".'),this;if(this.length>1)return this.each(function(){e(this).dotdotdot(t)});var i=this;i.data("dotdotdot")&&i.trigger("destroy.dot"),i.data("dotdotdot-style",i.attr("style")||""),i.css("word-wrap","break-word"),"nowrap"===i.css("white-space")&&i.css("white-space","normal"),i.bind_events=function(){return i.bind("update.dot",function(t,s){i.removeClass("is-truncated"),t.preventDefault(),t.stopPropagation(),l.maxHeight="number"==typeof l.height?l.height:f(i),l.maxHeight+=l.tolerance,"undefined"!=typeof s&&(("string"==typeof s||"nodeType"in s&&1===s.nodeType)&&(s=e("<div />").append(s).contents()),s instanceof e&&(a=s)),g=i.wrapInner('<div class="dotdotdot" />').children(),g.contents().detach().end().append(a.clone(!0)).find("br").replaceWith(" <br /> ").end().css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var c=!1,p=!1;return u.afterElement&&(c=u.afterElement.clone(!0),c.show(),u.afterElement.detach()),o(g,l)&&(p="children"==l.wrap?n(g,l,c):r(g,i,g,l,c)),g.replaceWith(g.contents()),g=null,e.isFunction(l.callback)&&l.callback.call(i[0],p,a),u.isTruncated=p,p}).bind("isTruncated.dot",function(e,t){return e.preventDefault(),e.stopPropagation(),"function"==typeof t&&t.call(i[0],u.isTruncated),u.isTruncated}).bind("originalContent.dot",function(e,t){return e.preventDefault(),e.stopPropagation(),"function"==typeof t&&t.call(i[0],a),a}).bind("destroy.dot",function(e){e.preventDefault(),e.stopPropagation(),i.unwatch().unbind_events().contents().detach().end().append(a).attr("style",i.data("dotdotdot-style")||"").data("dotdotdot",!1)}),i},i.unbind_events=function(){return i.unbind(".dot"),i},i.watch=function(){if(i.unwatch(),"window"==l.watch){var t=e(window),n=t.width(),r=t.height();t.bind("resize.dot"+u.dotId,function(){n==t.width()&&r==t.height()&&l.windowResizeFix||(n=t.width(),r=t.height(),p&&clearInterval(p),p=setTimeout(function(){i.trigger("update.dot")},100))})}else c=s(i),p=setInterval(function(){if(i.is(":visible")){var e=s(i);(c.width!=e.width||c.height!=e.height)&&(i.trigger("update.dot"),c=e)}},500);return i},i.unwatch=function(){return e(window).unbind("resize.dot"+u.dotId),p&&clearInterval(p),i};var a=i.contents(),l=e.extend(!0,{},e.fn.dotdotdot.defaults,t),u={},c={},p=null,g=null;return l.lastCharacter.remove instanceof Array||(l.lastCharacter.remove=e.fn.dotdotdot.defaultArrays.lastCharacter.remove),l.lastCharacter.noEllipsis instanceof Array||(l.lastCharacter.noEllipsis=e.fn.dotdotdot.defaultArrays.lastCharacter.noEllipsis),u.afterElement=h(l.after,i),u.isTruncated=!1,u.dotId=d++,i.data("dotdotdot",!0).bind_events().trigger("update.dot"),l.watch&&i.watch(),i},e.fn.dotdotdot.defaults={ellipsis:"... ",wrap:"word",fallbackToLetter:!0,lastCharacter:{},tolerance:0,callback:null,after:null,height:null,watch:!1,windowResizeFix:!0},e.fn.dotdotdot.defaultArrays={lastCharacter:{remove:[" "," ",",",";",".","!","?"],noEllipsis:[]}},e.fn.dotdotdot.debug=function(e){};var d=1,g=e.fn.html;e.fn.html=function(n){return n!=t&&!e.isFunction(n)&&this.data("dotdotdot")?this.trigger("update",[n]):g.apply(this,arguments)};var m=e.fn.text;e.fn.text=function(n){return n!=t&&!e.isFunction(n)&&this.data("dotdotdot")?(n=e("<div />").text(n).html(),this.trigger("update",[n])):m.apply(this,arguments)}}}(r)}),define("jquery.placeholder",[],function(e,t,n){var r=e("jquery");!function(e){function t(t){var n={},r=/^jQuery\d+$/;return e.each(t.attributes,function(e,t){t.specified&&!r.test(t.name)&&(n[t.name]=t.value)}),n}function n(t,n){var r=this,o=e(this);if(r.value===o.attr(s?"placeholder-x":"placeholder")&&o.hasClass(f.customClass))if(r.value="",o.removeClass(f.customClass),o.data("placeholder-password")){if(o=o.hide().nextAll('input[type="password"]:first').show().attr("id",o.removeAttr("id").data("placeholder-id")),t===!0)return o[0].value=n,n;o.focus()}else r==i()&&r.select()}function r(r){var i,o=this,a=e(this),l=o.id;if(!r||"blur"!==r.type||!a.hasClass(f.customClass))if(""===o.value){if("password"===o.type){if(!a.data("placeholder-textinput")){try{i=a.clone().prop({type:"text"})}catch(u){i=e("<input>").attr(e.extend(t(this),{type:"text"}))}i.removeAttr("name").data({"placeholder-enabled":!0,"placeholder-password":a,"placeholder-id":l}).bind("focus.placeholder",n),a.data({"placeholder-textinput":i,"placeholder-id":l}).before(i)}o.value="",a=a.removeAttr("id").hide().prevAll('input[type="text"]:first').attr("id",a.data("placeholder-id")).show()}else{var c=a.data("placeholder-password");c&&(c[0].value="",a.attr("id",a.data("placeholder-id")).show().nextAll('input[type="password"]:last').hide().removeAttr("id"))}a.addClass(f.customClass),a[0].value=a.attr(s?"placeholder-x":"placeholder")}else a.removeClass(f.customClass)}function i(){try{return document.activeElement}catch(e){}}var o,a,s=!1,l="[object OperaMini]"===Object.prototype.toString.call(window.operamini),u="placeholder"in document.createElement("input")&&!l&&!s,c="placeholder"in document.createElement("textarea")&&!l&&!s,p=e.valHooks,h=e.propHooks,f={};u&&c?(a=e.fn.placeholder=function(){return this},a.input=!0,a.textarea=!0):(a=e.fn.placeholder=function(t){var i={customClass:"placeholder"};return f=e.extend({},i,t),this.filter((u?"textarea":":input")+"["+(s?"placeholder-x":"placeholder")+"]").not("."+f.customClass).not(":radio, :checkbox, :hidden").bind({"focus.placeholder":n,"blur.placeholder":r}).data("placeholder-enabled",!0).trigger("blur.placeholder")},a.input=u,a.textarea=c,o={get:function(t){var n=e(t),r=n.data("placeholder-password");return r?r[0].value:n.data("placeholder-enabled")&&n.hasClass(f.customClass)?"":t.value},set:function(t,o){var a,s,l=e(t);return""!==o&&(a=l.data("placeholder-textinput"),s=l.data("placeholder-password"),a?(n.call(a[0],!0,o)||(t.value=o),a[0].value=o):s&&(n.call(t,!0,o)||(s[0].value=o),t.value=o)),l.data("placeholder-enabled")?(""===o?(t.value=o,t!=i()&&r.call(t)):(l.hasClass(f.customClass)&&n.call(t),t.value=o),l):(t.value=o,l)}},u||(p.input=o,h.value=o),c||(p.textarea=o,h.value=o),e(function(){e(document).delegate("form","submit.placeholder",function(){var t=e("."+f.customClass,this).each(function(){n.call(this,!0,"")});setTimeout(function(){t.each(r)},10)})}),e(window).bind("beforeunload.placeholder",function(){var t=!0;try{"javascript:void(0)"===document.activeElement.toString()&&(t=!1)}catch(n){}t&&e("."+f.customClass).each(function(){this.value=""})}))}(r)}); \ 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 be75dff..76adda3 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 fa53b98..63fa966 100644 --- a/web-static/dist/yohobuy/assets/font/iconfont.svg +++ b/web-static/dist/yohobuy/assets/font/iconfont.svg @@ -1,176 +1,191 @@ -<?xml version="1.0" standalone="no"?> -<!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 Feb 4 15:15:37 2016 - By Ads -</metadata> -<defs> -<font id="iconfont" horiz-adv-x="1024" > - <font-face - font-family="iconfont" - font-weight="500" - font-stretch="normal" - units-per-em="1024" - panose-1="2 0 6 3 0 0 0 0 0 0" - ascent="896" - descent="-128" - x-height="792" - bbox="0 -214 1172.1 896" - underline-thickness="50" - underline-position="-100" - unicode-range="U+0078-E632" - /> -<missing-glyph horiz-adv-x="374" -d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" /> - <glyph glyph-name=".notdef" horiz-adv-x="374" -d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" /> - <glyph glyph-name=".null" horiz-adv-x="0" - /> - <glyph glyph-name="nonmarkingreturn" horiz-adv-x="341" - /> - <glyph glyph-name="x" unicode="x" horiz-adv-x="1001" -d="M281 543q-27 -1 -53 -1h-83q-18 0 -36.5 -6t-32.5 -18.5t-23 -32t-9 -45.5v-76h912v41q0 16 -0.5 30t-0.5 18q0 13 -5 29t-17 29.5t-31.5 22.5t-49.5 9h-133v-97h-438v97zM955 310v-52q0 -23 0.5 -52t0.5 -58t-10.5 -47.5t-26 -30t-33 -16t-31.5 -4.5q-14 -1 -29.5 -0.5 -t-29.5 0.5h-32l-45 128h-439l-44 -128h-29h-34q-20 0 -45 1q-25 0 -41 9.5t-25.5 23t-13.5 29.5t-4 30v167h911zM163 247q-12 0 -21 -8.5t-9 -21.5t9 -21.5t21 -8.5q13 0 22 8.5t9 21.5t-9 21.5t-22 8.5zM316 123q-8 -26 -14 -48q-5 -19 -10.5 -37t-7.5 -25t-3 -15t1 -14.5 -t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-5 19 -11 39h-368zM336 498v228q0 11 2.5 23t10 21.5t20.5 15.5t34 6h188q31 0 51.5 -14.5t20.5 -52.5v-227h-327z" /> - <glyph glyph-name="uniE600" unicode="" -d="M286 413l-46 -45l272 -272l272 272l-46 45l-226 -226z" /> - <glyph glyph-name="uniE601" unicode="" -d="M387 62l45 -46l272 272l-272 272l-45 -46l226 -226z" /> - <glyph glyph-name="uniE602" unicode="" -d="M766 109l-196 192l196 192l-61 60l-196 -193l-196 193l-60 -60l196 -192l-196 -192l60 -59l196 192l196 -192z" /> - <glyph glyph-name="uniE603" unicode="" -d="M951 -7h-878l439 614z" /> - <glyph glyph-name="uniE604" unicode="" -d="M512 -7l-439 614h878z" /> - <glyph glyph-name="uniE605" unicode="" -d="M819 739v-878l-614 439z" /> - <glyph glyph-name="uniE606" unicode="" -d="M205 -139v878l614 -439z" /> - <glyph glyph-name="uniE607" unicode="" -d="M786 705l-415 -405l415 -404q19 -18 19 -44t-19 -45q-12 -12 -29 -16t-33.5 0t-29.5 16l-461 449q-19 18 -19 44.5t19 44.5l461 449q19 18 46 18t46 -18.5t19 -44.5t-19 -44zM786 705z" /> - <glyph glyph-name="uniE608" unicode="" -d="M233 705q-19 18 -19 44t19 44.5t46 18.5t46 -18l461 -449q19 -18 19 -44.5t-19 -44.5l-461 -449q-19 -18 -46 -18t-46 18.5t-19 44.5t19 44l416 404zM233 705z" /> - <glyph glyph-name="uniE609" unicode="" -d="M577 -214q-17 0 -30 11q-16 12 -18 31.5t11 35.5l357 443l-350 404q-13 15 -11.5 34.5t16.5 32.5q9 9 22 11.5t25 -2t20 -14.5l376 -433q12 -13 12 -30.5t-11 -30.5l-382 -475q-14 -18 -37 -18z" /> - <glyph glyph-name="uniE60A" unicode="" -d="M447 -214q-23 0 -37 18l-382 475q-8 8 -10 19t0.5 22t10.5 20l376 433q13 15 32.5 16.5t34.5 -11.5t16.5 -32.5t-11.5 -34.5l-350 -404l357 -443q9 -10 10.5 -22.5t-3 -24.5t-14.5 -20q-13 -11 -30 -11z" /> - <glyph glyph-name="uniE60B" unicode="" -d="M284 -69q-9 -9 -12.5 -21t0 -24t12.5 -20q13 -14 32 -14t32 14l397 401q5 6 8.5 12.5t4 13.5t0 14t-4 13.5t-8.5 12.5l-397 401q-13 14 -32 14t-32 -14q-6 -5 -9 -11.5t-4 -13.5t0 -14t4 -14t8 -12l351 -369l-350 -369v0zM284 -69z" /> - <glyph glyph-name="uniE60C" unicode="" -d="M745 669q13 14 13 33t-13 32q-9 9 -21 12.5t-23.5 0t-20.5 -12.5l-396 -401q-14 -14 -14 -33t14 -33l396 -401q14 -14 32.5 -14t32 13.5t13.5 32.5t-13 33l-351 369l351 369v0zM745 669z" /> - <glyph glyph-name="uniE60D" unicode="" -d="M513 654q-13 0 -22 -9t-9 -22v-311h-249q-6 0 -11.5 -2.5t-10 -6.5t-7 -10t-2.5 -12q0 -8 4.5 -15.5t11.5 -11.5t15 -4h280q12 0 21.5 9t9.5 22v342q0 8 -4.5 15.5t-11.5 11.5t-15 4zM513 778q-81 0 -157 -25t-137 -71t-107 -107t-71 -136.5t-25 -156.5q0 -101 39.5 -193 -t106 -158.5t158.5 -105.5t193 -39t192.5 39t158 105.5t106 158.5t39.5 193t-39.5 193t-106 158t-158 105.5t-192.5 39.5zM513 -152q-118 0 -218 58t-158.5 158t-58.5 218q0 88 34.5 168.5t92.5 138.5t138.5 92.5t169.5 34.5q59 0 115 -15.5t103.5 -43.5t88 -68t68.5 -88 -t43.5 -104t15.5 -115q0 -118 -58 -218t-158 -158t-218 -58z" /> - <glyph glyph-name="uniE60E" unicode="" -d="M710 300l-473 474l38 38l512 -512l-512 -512l-38 38z" /> - <glyph glyph-name="uniE60F" unicode="" -d="M314 300l473 -474l-38 -38l-512 512l512 512l38 -38z" /> - <glyph glyph-name="uniE610" unicode="" -d="M797 135q0 -7 -5 -13l-29 -28q-6 -6 -13.5 -6t-12.5 6l-225 224l-224 -224q-6 -6 -13.5 -6t-13.5 6l-28 28q-6 6 -6 13.5t6 13.5l266 266q6 6 13.5 6t12.5 -6l267 -266q5 -6 5 -14z" /> - <glyph glyph-name="uniE611" unicode="" -d="M892 41l-236 236q54 77 54 172q0 81 -39.5 150t-108.5 108.5t-150 39.5q-123 0 -210.5 -87t-87.5 -211t87.5 -211t210.5 -87q95 0 173 55l236 -236q16 -17 38 -18t37 14q10 10 12.5 23.5t-1.5 27t-15 24.5zM213 449q0 82 58.5 140.5t140.5 58.5t140.5 -58.5t58.5 -140.5 -t-58.5 -140.5t-140.5 -58.5t-140.5 58.5t-58.5 140.5z" /> - <glyph glyph-name="uniE612" unicode="" -d="M939 -212h-854q-23 0 -42.5 11.5t-31 31t-11.5 42.5v854q0 35 25 60t60 25h854q23 0 42.5 -11.5t31 -31t11.5 -42.5v-854q0 -35 -25 -60t-60 -25zM939 705q0 10 -6 16t-16 6h-810q-10 0 -16 -6t-6 -16v-810q0 -7 3 -11.5t7.5 -7.5t11.5 -3h810q10 0 16 6t6 16v810z -M457 99q-5 -6 -13 -9t-17 -3q-21 0 -30 12l-171 171q-13 10 -13 30q0 18 12.5 30.5t30.5 12.5q10 0 17.5 -3.5t12.5 -9.5l141 -141l311 312q13 12 30 12q18 0 30.5 -12.5t12.5 -29.5q0 -21 -13 -30z" /> - <glyph glyph-name="uniE613" unicode="" -d="M877 812h-730q-61 0 -104 -43t-43 -104v-730q0 -61 43 -104t104 -43h730q61 0 104 43t43 104v730q0 61 -43 104t-104 43zM939 -65q0 -26 -18 -44t-44 -18h-730q-26 0 -44 18t-18 44v730q0 17 8.5 31t22.5 22.5t31 8.5h730q26 0 44 -18t18 -44v-730z" /> - <glyph glyph-name="uniE614" unicode="" -d="M160 996zM865 247q0 -18 -13 -31l-308 -308q-13 -13 -31 -13t-31 13l-309 308q-13 13 -13 31t13.5 31t30.5 13h617q18 0 31 -13t13 -31zM865 511q0 -18 -13 -31t-31 -13h-617q-18 0 -31 13t-13 31t13 31l309 309q13 13 31 13t31 -13l308 -309q13 -13 13 -31z" /> - <glyph glyph-name="uniE615" unicode="" -d="M704 569l-41 39l-343 -320l343 -320l41 39l-301 281z" /> - <glyph glyph-name="uniE616" unicode="" horiz-adv-x="1173" -d="M586 588q-64 150 -188 203q-114 47 -222 -7q-112 -56 -155 -192q-20 -67 -21 -144q0 -41 9 -78.5t24 -66.5t39 -57.5t47 -48.5t55.5 -43t56.5 -38t58.5 -35.5t53.5 -33.5q63 -42 118 -94.5t86.5 -95t39.5 -69.5q4 19 25.5 50t53.5 66t75 74t88 71q21 15 53.5 35.5t58 36 -t57 38t55 43t47 48t39 56.5t25 66.5t8.5 78.5q0 75 -19.5 138t-52.5 105.5t-76.5 70.5t-91 37.5t-98 1t-96 -34.5t-85.5 -72.5t-67 -108.5z" /> - <glyph glyph-name="uniE617" unicode="" -d="M500 775l-348 -298q-16 -14 -16 -35v-386q0 -16 8 -30t22 -22t30 -8h197v257h238v-257h197q25 0 42.5 17.5t17.5 42.5v386q0 10 -4.5 19t-11.5 16l-348 298q-3 2 -6 3.5t-6 1.5t-6 -1.5t-6 -3.5z" /> - <glyph glyph-name="uniE618" unicode="" horiz-adv-x="1000" -d="M751 670q21 -20 34 -33t20 -23q3 -4 5 -8t3 -7t1.5 -6t0.5 -5v-13h-119q-4 0 -7.5 1.5t-6.5 4.5q-6 6 -10 14t-6 16.5t-2 12.5v100h3q3 0 6.5 -0.5t6.5 -1.5q7 -2 16 -8q4 -3 9.5 -7t12.5 -9q13 -10 33 -28zM614 624q0 -16 5 -33.5t15 -32t26 -24t38 -9.5h117v-451 -q0 -24 -9.5 -42t-24.5 -31t-33.5 -20t-35.5 -7h-394q-15 0 -33 8.5t-33.5 23t-26.5 32.5q-2 5 -4 9.5t-3.5 9.5t-2 10t-0.5 10v543q0 9 2 17.5t6 17.5q7 18 20.5 33.5t30 25.5t35.5 10h305v-100zM664 125q21 0 35.5 14.5t14.5 35.5t-14.5 35.5t-35.5 14.5h-299 -q-21 0 -35.5 -14.5t-14.5 -35.5t14.5 -35.5t35.5 -14.5h299zM714 374q0 21 -14.5 36t-35.5 15h-299q-21 0 -35.5 -15t-14.5 -36t14.5 -35t35.5 -14h299q21 0 35.5 14t14.5 35zM714 374z" /> - <glyph glyph-name="uniE619" unicode="" -d="M512 515q47 0 88 -18t72 -49t49 -72t18 -89q0 -23 -4.5 -45t-13.5 -42q-18 -41 -49 -72t-72 -49q-20 -9 -42 -13.5t-46 -4.5q-47 0 -88 18t-72 49t-49 72t-18 87q0 48 18 89t49 72t72 49t88 18v0zM512 515z" /> - <glyph glyph-name="uniE61A" unicode="" -d="M903 493l-68 69l-388 -388l-231 230l-68 -68l299 -298l65 65z" /> - <glyph glyph-name="uniE61B" unicode="" -d="M505 253l2 -2q2 -1 4 -1l3 1l430 364q2 2 1 6l-2 2q-1 1 -3 1h-435h-424q-2 0 -3 -1l-2 -2l1 -6zM72 585q-3 2 -6 0l-3 -4v-584q0 -4 3.5 -5t5.5 1l288 346zM953 585h-5l-288 -246l287 -346q3 -2 6 -1t3 5v584q0 3 -3 4zM641 322l-131 -111l-5 5l-125 103l-275 -328 -q-2 -3 -1 -6l2 -2q1 -1 3 -1h396h407q4 0 5 3t-1 6z" /> - <glyph glyph-name="uniE61C" unicode="" -d="M982 137l-4 6l-10 12q-12 13 -42 38q-12 10 -25.5 20.5t-27.5 21t-26 17.5l-48 31l-21 11q-5 2 -11.5 3t-13 0.5t-11.5 -2.5q-7 -2 -13.5 -7.5t-9.5 -10.5l-17 -25q-4 -6 -8 -13l-12 -24q-9 -18 -15 -28q-7 -14 -21 -24t-32 -13.5t-36 7.5q-102 57 -171 123 -q-101 95 -135 172q-8 13 -1.5 37t26.5 34q12 6 25 11.5t23 9.5t18 9q7 4 14.5 8.5t18.5 11.5l2 1l4 4l2 1l3 3q19 18 9 43l-3 8q-1 4 -4 10t-12.5 24.5t-19.5 34.5q-8 14 -19.5 31t-21.5 31q-10 13 -20.5 24t-18.5 17.5t-14.5 11.5t-9.5 6l-4 2l-13 7q-9 4 -17.5 4.5t-16 -1 -t-16.5 -4.5q-5 -2 -9.5 -4.5t-8.5 -4t-9 -4.5l-7 -4q-3 -2 -8 -6t-7 -5t-7.5 -5.5t-7 -5.5t-8 -6.5t-7.5 -5.5q-44 -37 -69.5 -82.5t-19.5 -86.5q10 -72 88 -198.5t182.5 -225.5t237.5 -173t209 -84q79 -10 169 73q16 15 31.5 34.5t24.5 38.5q6 14 7.5 30t-5.5 31v0z -M982 137z" /> - <glyph glyph-name="uniE61D" unicode="" -d="M888 620q8 8 18.5 10.5t20.5 0t18 -10.5q4 -4 6.5 -8.5t4 -9.5t1.5 -10.5t-1.5 -10t-4 -9.5t-6.5 -9l-406 -405q-12 -12 -28.5 -12t-27.5 12q-6 5 -9 12.5t-3 15.5t3 15t9 13zM539 214q3 -3 5 -6t3.5 -7t2 -7.5t0.5 -7.5t-0.5 -8t-2 -7.5t-3.5 -6.5t-5 -6 -q-12 -12 -28.5 -12t-28.5 12l-406 405q-7 8 -10 18.5t0 20.5t10 18q6 6 13.5 9t15 3t15 -3t13.5 -9zM539 214z" /> - <glyph glyph-name="uniE61E" unicode="" -d="M127 769v-770h770v770h-770zM555 170h-86v86h86v-86zM555 298h-86v257h86v-257z" /> - <glyph glyph-name="uniE61F" unicode="" -d="M511.5 747q-72.5 0 -141 -22.5t-123.5 -64t-96 -96.5t-63.5 -123t-22.5 -141q0 -91 35 -173.5t95 -142.5t143 -95.5t173.5 -35.5t173.5 35.5t143 95.5t95 142.5t35 173.5q1 73 -22 141t-64 123t-96 96.5t-123.5 64t-141 22.5zM452 100h-1v0l-38 38l-179 180l38 37 -l179 -179l318 318l38 -38zM512 -147q-91 0 -175 35q-80 34 -142 96t-96 142q-8 21 -15 42t-11 43t-6.5 44t-2.5 45q0 91 35 174q34 81 96 142.5t142 95.5q84 36 175 36q45 0 88.5 -9t85.5 -27q40 -16 75.5 -40.5t66.5 -54.5q20 -21 38 -44t32.5 -47.5t25.5 -51.5 -q35 -83 35 -174t-35 -174q-34 -80 -96 -142t-142 -96q-14 -6 -28 -11t-28.5 -9t-29 -6.5t-29 -4.5t-29.5 -3t-30 -1zM511.5 747q-90.5 0 -173 -35.5t-142.5 -95.5t-95.5 -142.5t-35.5 -173.5t35.5 -173.5t95.5 -142.5t142.5 -95t173 -35t173.5 35t142.5 95t95 142.5 -t35.5 173.5t-35.5 173.5t-95 142.5t-142.5 95.5t-173.5 35.5zM451 99l-38 39l-180 180l39 38l179 -180l318 318l39 -38zM414 138l37 -37l355 355l-37 37l-318 -318l-179 180l-38 -37z" /> - <glyph glyph-name="uniE620" unicode="" -d="M958 662q0 30 -21 51.5t-51 21.5h-749q-30 0 -51 -21.5t-21 -51.5v-748q0 -30 21 -51t51 -21h749q30 0 51 21t21 51v748zM778 358l-267 -267q-14 -14 -34 -14q-9 0 -18 3.5t-16 10.5l-168 168q-14 14 -14 34t14 34q9 10 21.5 13t25 0t21.5 -13l134 -133l233 232 -q9 10 21.5 13t25 0t21.5 -13q14 -14 14 -34t-14 -34z" /> - <glyph glyph-name="uniE621" unicode="" -d="M384 556v-513l321 257z" /> - <glyph glyph-name="uniE622" unicode="" horiz-adv-x="1000" -d="M662 566v-499l-299 250zM662 566z" /> - <glyph glyph-name="uniE623" unicode="" horiz-adv-x="1000" -d="M744 502h-488q-25 0 -46 -12t-33 -33t-12 -46v-290q0 -38 26.5 -64.5t64.5 -26.5h227l200 -138v138h61q38 0 64.5 26.5t26.5 64.5v290q0 15 -4.5 29t-13 25t-19.5 19.5t-25 13t-29 4.5zM744 262z" /> - <glyph glyph-name="uniE624" unicode="" horiz-adv-x="1025" -d="M1024 396v338q0 32 -23 55t-55 23h-331h-14q-55 0 -76 -21l-506 -506q-19 -19 -19 -46t19 -45l387 -387q18 -19 45 -19t46 19l506 506q10 10 15 25.5t5.5 26.5t0.5 31zM764 465q-36 0 -61.5 25.5t-25.5 61.5q0 17 7 33t18.5 28t27.5 18.5t34 6.5q36 0 61 -25t25 -61 -t-25 -61.5t-61 -25.5z" /> - <glyph glyph-name="uniE625" unicode="" -d="M511 748q-91 0 -173.5 -35.5t-142 -95t-95 -142t-35.5 -173.5q0 -61 16 -118.5t45 -106.5t70 -90t90 -70t106.5 -45t118.5 -16q91 0 173.5 35.5t142.5 95t95 142t35 173.5q0 185 -130.5 315.5t-315.5 130.5zM734 253h-237q-7 0 -14 3q-22 9 -22 33v237q0 10 5 18.5 -t13 13.5t18 5q8 0 14.5 -3t11.5 -8t8 -11.5t3 -14.5v-200h200q10 0 18.5 -5t13.5 -13.5t5 -18.5t-5 -18t-13.5 -13t-18.5 -5zM734 253z" /> - <glyph glyph-name="uniE626" unicode="" horiz-adv-x="1025" -d="M994 79q-18 9 -16 30.5t27 46.5q24 27 17.5 54.5t-33.5 40.5q-17 8 -24.5 17.5t-2 20t26.5 19.5q20 7 27 30.5t-1 52.5t-28 53q-17 19 -92 24.5t-142 1.5l-67 -4q3 2 3 145q0 69 -14 109t-37.5 53.5t-60.5 12.5q-18 0 -28.5 -5t-17 -13t-11 -26.5t-7.5 -38t-10 -56.5 -t-16 -74q-12 -47 -38 -94t-54 -80t-55.5 -59t-44 -39t-17.5 -13v-386q8 -12 20 -21t25.5 -15.5t25 -11t23.5 -8.5t16 -6q9 -4 65 -10.5t105.5 -11t51.5 -4.5q4 0 11 0.5t30 2.5t45 4.5t52 6.5t56.5 8t53.5 9.5t47 11t33.5 13t15.5 14.5q5 17 4 30.5t-3.5 23t2.5 17.5t21 15 -q14 5 23 14.5t12 20.5t3 23t-3.5 22t-8.5 18t-10 11zM0 295v-380q0 -28 20 -48.5t49 -20.5h137v518h-137q-29 0 -49 -20.5t-20 -48.5zM0 295z" /> - <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" /> - <glyph glyph-name="uniE631" unicode="" -d="M799 456l127 127v313h-830v-609l421 -413l409 404v181l-414 -401l-288 284v426h575v-312zM671 518l-107 22l-53 100l-52 -100l-108 -22l75 -83l-14 -114l99 49l99 -49l-14 114z" /> - <glyph glyph-name="uniE632" unicode="" -d="M512 718q-104 0 -192.5 -51.5t-140 -140t-51.5 -193t51.5 -193t140 -140t192.5 -51.5t192.5 51.5t140 140t51.5 193.5q0 159 -112.5 271.5t-271.5 112.5zM660 130h-50v175h-196v-175h-50v395h50v-179h196v179h50v-395z" /> - </font> -</defs></svg> +<?xml version="1.0" standalone="no"?> +<!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 Wed Mar 2 13:38:33 2016 + By Ads +</metadata> +<defs> +<font id="iconfont" horiz-adv-x="1024" > + <font-face + font-family="iconfont" + font-weight="500" + font-stretch="normal" + units-per-em="1024" + panose-1="2 0 6 3 0 0 0 0 0 0" + ascent="896" + descent="-128" + x-height="792" + bbox="0 -212 1160 896" + underline-thickness="50" + underline-position="-100" + unicode-range="U+0078-E63A" + /> +<missing-glyph horiz-adv-x="374" +d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" /> + <glyph glyph-name=".notdef" horiz-adv-x="374" +d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" /> + <glyph glyph-name=".null" horiz-adv-x="0" + /> + <glyph glyph-name="nonmarkingreturn" horiz-adv-x="341" + /> + <glyph glyph-name="x" unicode="x" horiz-adv-x="1001" +d="M281 543q-27 -1 -53 -1h-83q-18 0 -36.5 -6t-32.5 -18.5t-23 -32t-9 -45.5v-76h912v41q0 16 -0.5 30t-0.5 18q0 13 -5 29t-17 29.5t-31.5 22.5t-49.5 9h-133v-97h-438v97zM955 310v-52q0 -23 0.5 -52t0.5 -58t-10.5 -47.5t-26 -30t-33 -16t-31.5 -4.5q-14 -1 -29.5 -0.5 +t-29.5 0.5h-32l-45 128h-439l-44 -128h-29h-34q-20 0 -45 1q-25 0 -41 9.5t-25.5 23t-13.5 29.5t-4 30v167h911zM163 247q-12 0 -21 -8.5t-9 -21.5t9 -21.5t21 -8.5q13 0 22 8.5t9 21.5t-9 21.5t-22 8.5zM316 123q-8 -26 -14 -48q-5 -19 -10.5 -37t-7.5 -25t-3 -15t1 -14.5 +t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-5 19 -11 39h-368zM336 498v228q0 11 2.5 23t10 21.5t20.5 15.5t34 6h188q31 0 51.5 -14.5t20.5 -52.5v-227h-327z" /> + <glyph glyph-name="uniE600" unicode="" +d="M286 509l-46 -45l272 -272l272 272l-46 45l-226 -226z" /> + <glyph glyph-name="uniE601" unicode="" +d="M387 158l45 -46l272 272l-272 272l-45 -46l226 -226z" /> + <glyph glyph-name="uniE602" unicode="" +d="M766 193l-196 192l196 192l-61 60l-196 -193l-196 193l-60 -60l196 -192l-196 -192l60 -59l196 192l196 -192z" /> + <glyph glyph-name="uniE603" unicode="" +d="M951 77h-878l439 614z" /> + <glyph glyph-name="uniE604" unicode="" +d="M512 77l-439 614h878z" /> + <glyph glyph-name="uniE605" unicode="" +d="M819 823v-878l-614 439z" /> + <glyph glyph-name="uniE606" unicode="" +d="M205 -55v878l614 -439z" /> + <glyph glyph-name="uniE607" unicode="" +d="M786 789l-415 -405l415 -404q19 -18 19 -44t-19 -45q-12 -12 -29 -16t-33.5 0t-29.5 16l-461 449q-19 18 -19 44.5t19 44.5l461 449q19 18 46 18t46 -18q9 -9 14 -21t5 -24t-5 -23.5t-14 -20.5zM786 789z" /> + <glyph glyph-name="uniE608" unicode="" +d="M233 789q-19 18 -19 44t19 44.5t46 18.5t46 -18l461 -449q19 -18 19 -44.5t-19 -44.5l-461 -449q-12 -12 -29 -16t-33.5 0t-29.5 16q-19 19 -19 45t19 44l416 404zM233 789z" /> + <glyph glyph-name="uniE609" unicode="" +d="M577 -118q-17 0 -30 11q-16 12 -18 31.5t11 35.5l357 443l-350 404q-13 15 -11.5 34.5t16.5 32.5q9 9 22 11.5t25 -2t20 -14.5l376 -433q12 -13 12 -30.5t-11 -30.5l-382 -475q-14 -18 -37 -18z" /> + <glyph glyph-name="uniE60A" unicode="" +d="M447 -118q-23 0 -37 18l-382 475q-8 8 -10 19t0.5 22t10.5 20l376 433q13 15 32.5 16.5t34.5 -11.5t16.5 -32.5t-11.5 -34.5l-350 -404l357 -443q13 -16 11 -35.5t-18 -31.5q-13 -11 -30 -11z" /> + <glyph glyph-name="uniE60B" unicode="" +d="M284 15q-9 -9 -12.5 -21t0 -24t12.5 -20q13 -14 32 -14t32 14l397 401q4 5 7 10.5t4.5 11t1.5 11.5t-1.5 11.5t-4.5 11t-7 10.5l-397 401q-13 14 -32 14t-32 -14q-5 -4 -8 -9.5t-4.5 -11t-1.5 -11.5t1.5 -12t4.5 -11t7 -10l351 -369l-350 -369v0zM284 15z" /> + <glyph glyph-name="uniE60C" unicode="" +d="M745 753q8 9 11.5 21t0 24t-12 20.5t-20.5 12t-23.5 0t-20.5 -12.5l-396 -401q-14 -14 -14 -33t14 -33l396 -401q14 -14 32.5 -14t32 13.5t13.5 32.5t-13 33l-351 369l351 369v0zM745 753z" /> + <glyph glyph-name="uniE60D" unicode="" +d="M513 750q-13 0 -22 -9t-9 -22v-311h-249q-6 0 -11.5 -2.5t-10 -6.5t-7 -10t-2.5 -12q0 -13 9.5 -22t21.5 -9h280q12 0 21.5 9t9.5 22v342q0 6 -2.5 12t-7 10t-10 6.5t-11.5 2.5zM513 874q-51 0 -100.5 -10t-93.5 -29t-84 -46t-73.5 -60.5t-60.5 -73.5t-45.5 -84t-29 -93 +t-10.5 -100q0 -101 39.5 -193t106 -158.5t158.5 -105.5t193 -39t192.5 39t158 105.5t106 158.5t39.5 193t-39.5 193t-106 158t-158 105.5t-192.5 39.5zM513 -56q-118 0 -218 58t-158.5 158t-58.5 218t58.5 218t158.5 158t218 58q88 0 168.5 -34.5t138.5 -92.5t92.5 -138.5 +t34.5 -168.5q0 -118 -58 -218t-158 -158t-218 -58z" /> + <glyph glyph-name="uniE60E" unicode="" +d="M710 384l-473 474l38 38l512 -512l-512 -512l-38 38z" /> + <glyph glyph-name="uniE60F" unicode="" +d="M314 384l473 -474l-38 -38l-512 512l512 512l38 -38z" /> + <glyph glyph-name="uniE610" unicode="" +d="M797 219q0 -7 -5 -13l-29 -28q-6 -6 -13.5 -6t-12.5 6l-225 224l-224 -224q-6 -6 -13.5 -6t-13.5 6l-28 28q-6 6 -6 13.5t6 13.5l266 266q6 6 13.5 6t12.5 -6l267 -266q5 -6 5 -14z" /> + <glyph glyph-name="uniE611" unicode="" +d="M892 125l-236 236q54 77 54 172q0 81 -39.5 150t-108.5 108.5t-150 39.5t-149.5 -39.5t-108.5 -108.5t-40 -150t40 -149.5t108.5 -108.5t149.5 -40q95 0 173 55l236 -236q16 -17 38 -18t37 14q24 24 8 58q-5 10 -12 17zM213 533q0 82 58.5 140.5t140.5 58.5t140.5 -58.5 +t58.5 -140.5t-58.5 -140.5t-140.5 -58.5t-140.5 58.5t-58.5 140.5z" /> + <glyph glyph-name="uniE612" unicode="" +d="M939 -128h-854q-17 0 -33 7t-27 18t-18 27t-7 33v854q0 35 25 60t60 25h854q23 0 42.5 -11.5t31 -31t11.5 -42.5v-854q0 -35 -25 -60t-60 -25zM939 789q0 10 -6 16t-16 6h-810q-10 0 -16 -6t-6 -16v-810q0 -10 6 -16t16 -6h810q10 0 16 6t6 16v810zM457 183 +q-10 -12 -30.5 -12t-29.5 12l-171 171q-13 10 -13 30q0 18 12.5 30.5t30.5 12.5q10 0 17.5 -3.5t12.5 -9.5l141 -141l311 312q13 12 30 12q18 0 30.5 -12.5t12.5 -29.5q0 -21 -13 -30z" /> + <glyph glyph-name="uniE613" unicode="" +d="M877 896h-730q-40 0 -74 -19.5t-53.5 -53.5t-19.5 -74v-730q0 -61 43 -104t104 -43h730q61 0 104 43t43 104v730q0 61 -43 104t-104 43zM939 19q0 -13 -5 -24.5t-13 -19.5t-19.5 -13t-24.5 -5h-730q-26 0 -44 18t-18 44v730q0 9 2 17t6 14.5t10 12.5t12.5 10t14.5 6t17 2 +h730q26 0 44 -18t18 -44v-730z" /> + <glyph glyph-name="uniE614" unicode="" +d="M160 996zM865 247q0 -18 -13 -31l-308 -308q-13 -13 -31 -13t-31 13l-309 308q-13 13 -13 31t13.5 31t30.5 13h617q18 0 31 -13t13 -31zM865 511q0 -18 -13 -31t-31 -13h-617q-18 0 -31 13t-13 31t13 31l309 309q13 13 31 13t31 -13l308 -309q13 -13 13 -31z" /> + <glyph glyph-name="uniE615" unicode="" +d="M704 665l-41 39l-343 -320l343 -320l41 39l-301 281z" /> + <glyph glyph-name="uniE616" unicode="" horiz-adv-x="1173" +d="M569 607q-28 66 -74 108.5t-95 56.5t-100 2.5t-91.5 -45t-66 -94t-26.5 -137.5q0 -36 8.5 -67.5t26 -58t35.5 -47t46.5 -41t49 -34t52.5 -32.5t48 -30q71 -47 124.5 -106.5t63.5 -93.5q7 31 62.5 92t124.5 110q19 14 55.5 36.5t61 38.5t55 42.5t49 52t31.5 62.5t13 79 +q0 76 -26.5 136t-67 92t-92 42.5t-101 -4t-94.5 -56t-72 -104.5z" /> + <glyph glyph-name="uniE617" unicode="" +d="M500 775l-348 -298q-16 -14 -16 -35v-386q0 -16 8 -30t22 -22t30 -8h197v257h238v-257h197q25 0 42.5 17.5t17.5 42.5v386q0 10 -4.5 19t-11.5 16l-348 298q-3 2 -6 3.5t-6 1.5t-6 -1.5t-6 -3.5z" /> + <glyph glyph-name="uniE618" unicode="" horiz-adv-x="1000" +d="M751 766q21 -20 34 -33t20 -23q3 -4 5 -8t3 -7q1 -2 1 -4t0.5 -4t0.5 -3v-13h-119q-8 1 -14 6q-6 6 -10 14t-6 16.5t-2 12.5v100h3q6 0 13 -2q2 -1 3.5 -1.5t3.5 -1.5t4 -2.5t5 -2.5q8 -6 21.5 -16t33.5 -28zM614 720q0 -16 5 -33.5t15 -32t26 -24t38 -9.5h117v-451 +q0 -24 -10 -42q-4 -9 -10 -17t-14 -14t-16 -11t-18 -9q-18 -7 -35 -7h-394q-15 0 -33 8.5t-33.5 23t-26.5 32.5q-5 10 -7.5 19.5t-2.5 19.5v543q0 9 2 17.5t6 17.5q7 18 20.5 33.5t30 25.5t35.5 10h305v-100zM664 221q21 0 35.5 14.5t14.5 35.5t-14.5 35.5t-35.5 14.5h-299 +q-21 0 -35.5 -14.5t-14.5 -35.5t14.5 -35.5t35.5 -14.5h299zM714 470q0 21 -14.5 36t-35.5 15h-299q-21 0 -35.5 -15t-14.5 -36t14.5 -35t35.5 -14h299q21 0 35.5 14t14.5 35zM714 470z" /> + <glyph glyph-name="uniE619" unicode="" +d="M512 599q47 0 88 -18t72 -49t49 -72t18 -89q0 -46 -18 -87t-49 -72t-72 -49t-88 -18t-88 18t-72 49t-49 72t-18 87q0 48 18 89t49 72t72 49t88 18v0zM512 599z" /> + <glyph glyph-name="uniE61A" unicode="" +d="M903 577l-68 69l-388 -388l-231 230l-68 -68l299 -298l65 65z" /> + <glyph glyph-name="uniE61B" unicode="" +d="M505 337l2 -2q2 -1 3.5 -1t3.5 1l430 364q2 2 1 6l-2 2q-1 1 -3 1h-435h-424q-2 0 -3 -1l-2 -2l1 -6zM72 669q-3 2 -6 0l-3 -4v-584q0 -4 3.5 -5t5.5 1l288 346zM953 669h-5l-288 -246l287 -346q3 -2 6 -1q3 2 3 5v584q0 3 -3 4zM641 406l-131 -111l-5 5l-125 103 +l-275 -328q-2 -3 -1 -6l2 -2q1 -1 3 -1h396h407l5 3q1 3 -1 6z" /> + <glyph glyph-name="uniE61C" unicode="" +d="M982 137l-4 6l-10 12q-12 13 -42 38q-12 10 -25.5 20.5t-27.5 21t-26 17.5l-48 31l-21 11q-5 2 -11.5 3t-13 0.5t-11.5 -2.5q-7 -2 -13.5 -7.5t-9.5 -10.5l-17 -25q-4 -6 -8 -13l-12 -24q-9 -18 -15 -28q-7 -14 -21 -24t-32 -13.5t-36 7.5q-102 57 -171 123 +q-101 95 -135 172q-8 13 -1.5 37t26.5 34q12 6 25 11.5t23 9.5t18 9q7 4 14.5 8.5t18.5 11.5l2 1l4 4l2 1l3 3q19 18 9 43l-3 8q-1 4 -4 10t-12.5 24.5t-19.5 34.5q-8 14 -19.5 31t-21.5 31q-10 13 -20.5 24t-18.5 17.5t-14.5 11.5t-9.5 6l-4 2l-13 7q-9 4 -17.5 4.5t-16 -1 +t-16.5 -4.5q-5 -2 -9.5 -4.5t-8.5 -4t-9 -4.5l-7 -4q-3 -2 -8 -6t-7 -5t-7.5 -5.5t-7 -5.5t-8 -6.5t-7.5 -5.5q-44 -37 -69.5 -82.5t-19.5 -86.5q10 -72 88 -198.5t182.5 -225.5t237.5 -173t209 -84q79 -10 169 73q16 15 31.5 34.5t24.5 38.5q6 14 7.5 30t-5.5 31v0z +M982 137z" /> + <glyph glyph-name="uniE61D" unicode="" +d="M888 620q8 8 18.5 10.5t20.5 0t18 -10.5q4 -4 6.5 -8.5t4 -9.5t1.5 -10.5t-1.5 -10t-4 -9.5t-6.5 -9l-406 -405q-12 -12 -28.5 -12t-27.5 12q-6 5 -9 12.5t-3 15.5t3 15t9 13zM539 214q3 -3 5 -6t3.5 -7t2 -7.5t0.5 -7.5t-0.5 -8t-2 -7.5t-3.5 -6.5t-5 -6 +q-12 -12 -28.5 -12t-28.5 12l-406 405q-7 8 -10 18.5t0 20.5t10 18q6 6 13.5 9t15 3t15 -3t13.5 -9zM539 214z" /> + <glyph glyph-name="uniE61E" unicode="" +d="M127 769v-770h770v770h-770zM555 170h-86v86h86v-86zM555 298h-86v257h86v-257z" /> + <glyph glyph-name="uniE61F" unicode="" +d="M511.5 831q-72.5 0 -141 -22.5t-123.5 -64t-96 -96.5t-63.5 -123t-22.5 -141q0 -91 35 -173.5t95 -142.5t143 -95.5t173.5 -35.5t173.5 35.5t143 95.5t95 142.5t35 173.5q1 73 -22 141t-64 123t-96 96.5t-123.5 64t-141 22.5zM452 184h-1v0l-38 38l-179 180l38 37 +l179 -179l318 318l38 -38zM512 -63q-91 0 -175 35q-80 34 -142 96t-96 142q-8 21 -15 42t-11 43t-6.5 44t-2.5 45q0 91 35 174q34 81 96 142.5t142 95.5q84 36 175 36q45 0 88.5 -9t85.5 -27q40 -16 75.5 -40.5t66.5 -54.5q15 -16 29 -32.5t26 -34.5t22 -37t19 -39 +q35 -83 35 -174t-35 -174q-34 -80 -96 -142t-142 -96q-83 -35 -174 -35zM512 831q-46 0 -90.5 -9.5t-84 -26t-75.5 -41t-66 -54.5t-54.5 -66.5t-41.5 -76t-26 -83.5t-9 -90q0 -91 35.5 -173.5t95.5 -142.5t142.5 -95t173.5 -35q40 0 79.5 7t75.5 20.5t69.5 33t62.5 44.5 +t54 54t44 62t33 69t21 76t7 80q0 91 -35.5 173.5t-95 142.5t-142.5 95.5t-173 35.5zM451 183l-38 39l-180 180l39 38l179 -180l318 318l39 -38zM414 222l37 -37l355 355l-37 37l-318 -318l-179 180l-38 -37z" /> + <glyph glyph-name="uniE620" unicode="" +d="M958 758q0 30 -21 51.5t-51 21.5h-749q-19 0 -36 -9.5t-26.5 -26.5t-9.5 -37v-748q0 -30 21 -51t51 -21h749q30 0 51 21t21 51v748zM778 454l-267 -267q-6 -7 -15 -10.5t-19 -3.5q-20 0 -34 14l-168 168q-14 14 -14 34t14 34q7 7 16 11t18 4t18.5 -4t15.5 -11l134 -133 +l233 232q7 7 16 10.5t18 3.5t18 -3.5t16 -10.5t10.5 -16t3.5 -18t-3.5 -18t-10.5 -16z" /> + <glyph glyph-name="uniE621" unicode="" +d="M384 640v-513l321 257z" /> + <glyph glyph-name="uniE622" unicode="" horiz-adv-x="1000" +d="M662 662v-499l-299 250zM662 662z" /> + <glyph glyph-name="uniE623" unicode="" horiz-adv-x="1000" +d="M744 598h-488q-19 0 -35.5 -7t-29 -19.5t-19.5 -29.5t-7 -35v-290q0 -18 7 -35t19.5 -29.5t29 -19.5t35.5 -7h227l200 -138v138h61q25 0 46 12t33 33t12 46v290q0 18 -7 35t-19.5 29.5t-29 19.5t-35.5 7zM744 358z" /> + <glyph glyph-name="uniE624" unicode="" horiz-adv-x="1025" +d="M1024 480v338q0 32 -23 55t-55 23h-331h-14q-55 0 -76 -21l-506 -506q-19 -19 -19 -46t19 -45l387 -387q18 -19 45 -19q13 0 25 5t21 14l506 506q10 10 15 25.5t5.5 26.5t0.5 31zM764 549q-14 0 -27.5 4.5t-24 12.5t-18.5 18.5t-12.5 24t-4.5 27.5q0 17 7 33t18.5 28 +t27.5 18.5t34 6.5q36 0 61 -25t25 -61t-25 -61.5t-61 -25.5z" /> + <glyph glyph-name="uniE625" unicode="" +d="M511 832q-91 0 -173.5 -35.5t-142 -95t-95 -142t-35.5 -173.5q0 -52 11.5 -102t33.5 -94t52.5 -83t69.5 -69.5t83 -52.5t94 -33.5t102 -11.5q91 0 173.5 35.5t142.5 95t95 142t35 173.5q0 185 -130.5 315.5t-315.5 130.5zM734 337h-237q-7 0 -14 3q-22 9 -22 33v237 +q0 15 10.5 26t25.5 11q8 0 14.5 -3t11.5 -8t8 -11.5t3 -14.5v-200h200q10 0 18.5 -5t13.5 -13.5t5 -18.5t-5 -18t-13.5 -13t-18.5 -5zM734 337z" /> + <glyph glyph-name="uniE626" unicode="" horiz-adv-x="1025" +d="M994 163q-18 9 -16 30.5t27 46.5q24 27 17.5 54.5t-33.5 40.5q-17 8 -24.5 17.5t-2 20t26.5 19.5q30 11 29.5 55.5t-31.5 80.5q-17 19 -92 24.5t-142 1.5l-67 -4q3 2 3 145q0 69 -14 109t-37.5 53.5t-60.5 12.5q-18 0 -28.5 -5t-17 -13t-11 -26.5t-7.5 -38t-10 -56.5 +t-16 -74q-12 -47 -38 -94t-54 -80t-55.5 -59t-44 -39t-17.5 -13v-386q8 -12 20 -21t25.5 -15.5t25 -11t23.5 -8.5t16 -6q9 -4 65 -10.5t105.5 -11t51.5 -4.5q4 0 11 0.5t30 2.5t45 4.5t52 6.5t56.5 8t53.5 9.5t47 11t33.5 13t15.5 14.5q5 17 4 30.5t-3.5 23t2.5 17.5t21 15 +q27 10 34.5 34.5t0.5 46t-19 28.5zM0 379v-380q0 -28 20 -48.5t49 -20.5h137v518h-137q-29 0 -49 -20.5t-20 -48.5zM0 379z" /> + <glyph glyph-name="uniE627" unicode="" horiz-adv-x="1025" +d="M512 719q-67 0 -131 -15.5t-120.5 -44t-105.5 -68.5t-87.5 -90t-65.5 -108q-4 -9 0 -18q68 -147 205.5 -236.5t304.5 -89.5q111 0 212 41.5t177 115t121 169.5q4 9 0 18q-68 147 -205.5 236.5t-304.5 89.5zM512 153q-96 0 -163.5 67.5t-67.5 163.5t67.5 163.5t163.5 67.5 +t163.5 -67.5t67.5 -163.5t-67.5 -163.5t-163.5 -67.5zM512 384zM364 384q0 61 43.5 104.5t104.5 43.5q40 0 74 -20t54 -54t20 -74q0 -61 -43.5 -104.5t-104.5 -43.5t-104.5 43.5t-43.5 104.5z" /> + <glyph glyph-name="uniE628" unicode="" +d="M482 167q-24 0 -41.5 -17.5t-17.5 -42.5t17.5 -42.5t42 -17.5t42 17.5t17.5 42.5q0 10 -3 19t-8.5 16.5t-13 13t-16.5 8.5t-19 3zM769 167q-25 0 -42.5 -17.5t-17.5 -42.5q0 -10 3 -19t8.5 -16.5t13 -13t16.5 -8.5t19 -3q25 0 42.5 17.5t17.5 42.5q0 38 -34 54 +q-13 6 -26 6zM839 277h-417l-143 425q-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 608l-516 45q-12 1 -18.5 -7t-1.5 -20l90 -270 +q4 -12 16 -21.5t24 -9.5h377q12 0 22 10t11 23l23 216q1 8 -2 15.5t-10 12.5t-15 6z" /> + <glyph glyph-name="uniE629" unicode="" +d="M154 770v-646h146l-14 -208l240 208h344v646h-716zM752 260h-134v159h-192v-159h-134v382h134v-148h192v148h134v-382z" /> + <glyph glyph-name="uniE62A" unicode="" +d="M328 18q-3 0 -5.5 0.5t-5.5 2.5q-14 6 -14 22v128h-193q-5 0 -9.5 2t-8 5t-5.5 8t-2 10v549q0 10 7.5 17.5t17.5 7.5h804q7 0 13 -3.5t9 -9t3 -12.5v-549q0 -11 -7 -18t-18 -7h-401l-169 -146q-2 -2 -4 -3l-4 -2q-2 -1 -4 -1.5t-4 -0.5zM171 256h188q10 0 17.5 -7.5 +t7.5 -17.5v-73l103 92q7 6 17 6h350v426h-683v-426zM739 569h-454q-10 0 -17.5 7t-7.5 18q0 4 1 7.5t3.5 7t5.5 5.5t7 3.5t8 1.5h454q5 0 9.5 -2t8 -5.5t5.5 -8t2 -9.5q0 -11 -7 -18t-18 -7zM739 446h-454q-4 0 -8 1t-7 3.5t-5.5 5.5t-3.5 7t-1 8t1 8t3.5 7t5.5 5t7 3.5 +t8 1.5h454q10 0 17.5 -7.5t7.5 -18t-7 -17.5t-18 -7zM549 323h-264q-10 0 -17.5 7t-7.5 18q0 7 3.5 12.5t9 9t12.5 3.5h264q10 0 17.5 -7.5t7.5 -17.5t-7.5 -17.5t-17.5 -7.5z" /> + <glyph glyph-name="uniE62B" unicode="" +d="M511 -60q-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 787 +q-82 0 -156 -32t-127.5 -85.5t-85.5 -127.5t-32 -155q0 -109 54 -201.5t146 -146t201 -53.5q54 0 106 14.5t96 40.5t81 63t62.5 80.5t40 95.5t14.5 107q0 165 -117.5 282.5t-282.5 117.5zM465 248v29q0 9 1 17.5t2 15.5q3 15 9 28q5 14 15 26t24 26l35 33q7 7 13.5 14 +t11.5 16q2 2 3 5l2 4l2 6t1.5 5.5t1 5.5t1 6.5t0.5 6.5q0 30 -19 51q-10 10 -23.5 15t-30.5 5q-18 0 -32 -6q-5 -3 -9 -5.5t-8 -5.5t-8 -7q-5 -6 -9 -12.5t-6.5 -14t-4 -15t-2.5 -14.5l-95 8q5 37 20 66t39 49q12 10 25.5 18t29.5 13q31 10 66 10q33 0 63 -9.5t53 -28.5 +q4 -4 8.5 -8t8 -8.5t7 -9.5t6.5 -10t6 -11q13 -27 13 -64q0 -8 -0.5 -15.5t-2 -14.5t-2.5 -13q-1 -2 -2 -4.5t-1.5 -4.5t-1.5 -4.5t-2 -4.5l-2 -4l-2 -4q-1 -2 -2.5 -4t-2.5 -4q-10 -16 -24 -30q-5 -5 -10 -9.5t-11 -10t-11 -10.5q-16 -13 -25.5 -23t-15.5 -20t-8 -22 +q-1 -5 -1.5 -12.5t-0.5 -15.5v-20h-92zM450 140q0 9 2 16t6 14t10 13t13 10t14.5 6t16.5 2q12 0 23 -4.5t20 -12.5q5 -5 8.5 -9.5t5.5 -10t3.5 -11t1.5 -11.5q0 -13 -5 -23.5t-14 -19.5t-20 -13t-23 -4t-23.5 4.5t-20.5 12.5q-8 7 -13 18t-5 23z" /> + <glyph glyph-name="uniE62C" unicode="" +d="M505 860q77 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 -20q112 0 206.5 55t149.5 149.5t55 206.5 +q0 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 222v-59h-58v59h58zM470 648h58v-349h-58v349z" /> + <glyph glyph-name="uniE62D" unicode="" +d="M828 702q65 -65 98 -148t33 -169t-33 -169t-98 -148q-66 -66 -149 -98.5t-169 -32.5t-168.5 32.5t-148.5 97.5q-66 66 -98.5 149t-32.5 169t32.5 169t98.5 149q66 65 148.5 97.5t168.5 32.5q43 0 85.5 -8t83.5 -24q83 -33 149 -99v0zM258 133q53 -53 118.5 -79t134.5 -26 +q34 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-17 0 -34 -1.5t-33.5 -5t-33.5 -8.5t-33 -11q-66 -26 -118 -78.5t-78.5 -118t-26.5 -134.5t26.5 -134.5t78.5 -118.5v0zM748 686l69 -72 +l-531 -530l-70 70zM748 686z" /> + <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" /> + <glyph glyph-name="uniE631" unicode="" +d="M799 456l127 127v313h-830v-609l421 -413l409 404v181l-414 -401l-288 284v426h575v-312zM671 518l-107 22l-53 100l-52 -100l-108 -22l75 -83l-14 -114l99 49l99 -49l-14 114z" /> + <glyph glyph-name="uniE632" unicode="" +d="M512 769q-104 0 -192.5 -51.5t-140 -140t-51.5 -193t51.5 -193t140 -140t192.5 -51.5t192.5 51.5t140 140t51.5 193t-51.5 193t-140 140t-192.5 51.5zM660 181h-50v175h-196v-175h-50v395h50v-179h196v179h50v-395z" /> + <glyph glyph-name="uniE633" unicode="" +d="M1020 810q0 34 -24 58t-59 24h-851q-34 0 -58.5 -24t-24.5 -58v-852q0 -34 24.5 -58t58.5 -24h851q35 0 59 24t24 58v852zM815 464l-304 -304q-5 -5 -11 -8.5t-13 -5.5t-14 -2q-23 0 -39 16l-191 191q-4 4 -7 8t-5 8t-3 9t-1.5 9.5t0 9t1.5 9.5t3 9t5 8t7 8 +q16 16 38.5 16t38.5 -16l153 -152l264 264q16 16 39 16t39 -16t16 -38.5t-16 -38.5z" /> + <glyph glyph-name="uniE634" unicode="" +d="M637 610l-45 46l-272 -272l272 -272l45 46l-226 226z" /> + <glyph glyph-name="uniE637" unicode="" +d="M0 812v-1024h1024v1024h-1024zM983 -171h-942v942h942v-942zM288 280h448q6 0 10.5 2.5t7.5 7t3 10.5q0 8 -6 14t-15 6h-448q-9 0 -15 -6t-6 -14t6 -14t15 -6z" /> + <glyph glyph-name="uniE638" unicode="" +d="M0 812v-1024h1024v1024h-1024zM983 -171h-942v942h942v-942zM288 280h204v-204q0 -6 2.5 -10.5t7 -7.5t10.5 -3q8 0 14 6t6 15v204h204q6 0 10.5 2.5t7.5 7t3 10.5t-3 10.5t-7.5 7t-10.5 2.5h-204v204q0 9 -6 15t-14 6q-6 0 -10.5 -3t-7 -7.5t-2.5 -10.5v-204h-204 +q-9 0 -15 -6t-6 -14t6 -14t15 -6z" /> + <glyph glyph-name="uniE639" unicode="" +d="M774 201h-524l262 366z" /> + <glyph glyph-name="uniE63A" unicode="" +d="M512 188l-280 392h560z" /> + </font> +</defs></svg> diff --git a/web-static/dist/yohobuy/assets/font/iconfont.ttf b/web-static/dist/yohobuy/assets/font/iconfont.ttf index 4c35166..adf8d97 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 b19e491..158f9f8 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/assets/img/cart/btn_b_add.png b/web-static/dist/yohobuy/assets/img/cart/btn_b_add.png new file mode 100644 index 0000000..bc60c1d Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/btn_b_add.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/btn_b_sc.png b/web-static/dist/yohobuy/assets/img/cart/btn_b_sc.png new file mode 100644 index 0000000..5209018 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/btn_b_sc.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/btn_b_sellout.png b/web-static/dist/yohobuy/assets/img/cart/btn_b_sellout.png new file mode 100644 index 0000000..efab37f Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/btn_b_sellout.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/btn_gift_down.png b/web-static/dist/yohobuy/assets/img/cart/btn_gift_down.png new file mode 100644 index 0000000..079a2c5 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/btn_gift_down.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/btn_gift_up.png b/web-static/dist/yohobuy/assets/img/cart/btn_gift_up.png new file mode 100644 index 0000000..1361d8f Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/btn_gift_up.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/btn_hs_01.png b/web-static/dist/yohobuy/assets/img/cart/btn_hs_01.png new file mode 100644 index 0000000..567a143 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/btn_hs_01.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/btn_hs_03.png b/web-static/dist/yohobuy/assets/img/cart/btn_hs_03.png new file mode 100644 index 0000000..dfeaddb Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/btn_hs_03.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/btn_order.png b/web-static/dist/yohobuy/assets/img/cart/btn_order.png new file mode 100644 index 0000000..31546fc Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/btn_order.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/btn_pre_sale.png b/web-static/dist/yohobuy/assets/img/cart/btn_pre_sale.png new file mode 100644 index 0000000..1d7120c Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/btn_pre_sale.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/btn_select_zp.png b/web-static/dist/yohobuy/assets/img/cart/btn_select_zp.png new file mode 100644 index 0000000..1a8ca7d Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/btn_select_zp.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/btn_view_s.png b/web-static/dist/yohobuy/assets/img/cart/btn_view_s.png new file mode 100644 index 0000000..6520082 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/btn_view_s.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/cart_01.png b/web-static/dist/yohobuy/assets/img/cart/cart_01.png new file mode 100644 index 0000000..3a9820e Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/cart_01.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/cart_02.png b/web-static/dist/yohobuy/assets/img/cart/cart_02.png new file mode 100644 index 0000000..4eb11c7 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/cart_02.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/cart_03.png b/web-static/dist/yohobuy/assets/img/cart/cart_03.png new file mode 100644 index 0000000..f78fd7f Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/cart_03.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/cart_04.png b/web-static/dist/yohobuy/assets/img/cart/cart_04.png new file mode 100644 index 0000000..4519581 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/cart_04.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/cart_empty.gif b/web-static/dist/yohobuy/assets/img/cart/cart_empty.gif new file mode 100644 index 0000000..8774d09 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/cart_empty.gif differ diff --git a/web-static/dist/yohobuy/assets/img/cart/cart_gift.png b/web-static/dist/yohobuy/assets/img/cart/cart_gift.png new file mode 100644 index 0000000..c85579c Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/cart_gift.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/cart_gift_banner.jpg b/web-static/dist/yohobuy/assets/img/cart/cart_gift_banner.jpg new file mode 100644 index 0000000..47acbb1 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/cart_gift_banner.jpg differ diff --git a/web-static/dist/yohobuy/assets/img/cart/checkout.png b/web-static/dist/yohobuy/assets/img/cart/checkout.png new file mode 100644 index 0000000..04e365b Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/checkout.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/i_-.png b/web-static/dist/yohobuy/assets/img/cart/i_-.png new file mode 100644 index 0000000..4c28099 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/i_-.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/i_gift.png b/web-static/dist/yohobuy/assets/img/cart/i_gift.png new file mode 100644 index 0000000..865873a Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/i_gift.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/i_minus.png b/web-static/dist/yohobuy/assets/img/cart/i_minus.png new file mode 100644 index 0000000..4c28099 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/i_minus.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/iadd.png b/web-static/dist/yohobuy/assets/img/cart/iadd.png new file mode 100644 index 0000000..daf2935 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/iadd.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/ico_r_act.png b/web-static/dist/yohobuy/assets/img/cart/ico_r_act.png new file mode 100644 index 0000000..5020478 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/ico_r_act.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/ico_r_act_h.png b/web-static/dist/yohobuy/assets/img/cart/ico_r_act_h.png new file mode 100644 index 0000000..1783b4b Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/ico_r_act_h.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/icons02.png b/web-static/dist/yohobuy/assets/img/cart/icons02.png new file mode 100644 index 0000000..0ac522e Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/icons02.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/loading.gif b/web-static/dist/yohobuy/assets/img/cart/loading.gif new file mode 100644 index 0000000..0c04f07 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/loading.gif differ diff --git a/web-static/dist/yohobuy/assets/img/cart/loading_s.gif b/web-static/dist/yohobuy/assets/img/cart/loading_s.gif new file mode 100644 index 0000000..085ccae Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/loading_s.gif differ diff --git a/web-static/dist/yohobuy/assets/img/cart/magnify.png b/web-static/dist/yohobuy/assets/img/cart/magnify.png new file mode 100644 index 0000000..16e23b4 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/magnify.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/next.png b/web-static/dist/yohobuy/assets/img/cart/next.png new file mode 100644 index 0000000..82d89ab Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/next.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/pc_next.png b/web-static/dist/yohobuy/assets/img/cart/pc_next.png new file mode 100644 index 0000000..276a652 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/pc_next.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/pc_pre.png b/web-static/dist/yohobuy/assets/img/cart/pc_pre.png new file mode 100644 index 0000000..eedecb7 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/pc_pre.png differ diff --git a/web-static/dist/yohobuy/assets/img/cart/pre.png b/web-static/dist/yohobuy/assets/img/cart/pre.png new file mode 100644 index 0000000..2333cb7 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/cart/pre.png differ diff --git a/web-static/dist/yohobuy/assets/img/guang/comment-icon.png b/web-static/dist/yohobuy/assets/img/guang/comment-icon.png new file mode 100644 index 0000000..901e64a Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/guang/comment-icon.png differ diff --git a/web-static/dist/yohobuy/assets/img/guang/share/douban.png b/web-static/dist/yohobuy/assets/img/guang/share/douban.png new file mode 100644 index 0000000..6e06167 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/guang/share/douban.png differ diff --git a/web-static/dist/yohobuy/assets/img/guang/share/qq.png b/web-static/dist/yohobuy/assets/img/guang/share/qq.png new file mode 100644 index 0000000..903f8d5 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/guang/share/qq.png differ diff --git a/web-static/dist/yohobuy/assets/img/guang/share/qweibo.png b/web-static/dist/yohobuy/assets/img/guang/share/qweibo.png new file mode 100644 index 0000000..16f78df Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/guang/share/qweibo.png differ diff --git a/web-static/dist/yohobuy/assets/img/guang/share/qzone.png b/web-static/dist/yohobuy/assets/img/guang/share/qzone.png new file mode 100644 index 0000000..8744ce2 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/guang/share/qzone.png differ diff --git a/web-static/dist/yohobuy/assets/img/guang/share/renren.png b/web-static/dist/yohobuy/assets/img/guang/share/renren.png new file mode 100644 index 0000000..a9b1eaa Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/guang/share/renren.png differ diff --git a/web-static/dist/yohobuy/assets/img/guang/share/weibo.png b/web-static/dist/yohobuy/assets/img/guang/share/weibo.png new file mode 100644 index 0000000..57b84b5 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/guang/share/weibo.png differ diff --git a/web-static/dist/yohobuy/assets/img/guang/share/weixin.png b/web-static/dist/yohobuy/assets/img/guang/share/weixin.png new file mode 100644 index 0000000..3376428 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/guang/share/weixin.png differ diff --git a/web-static/dist/yohobuy/assets/img/header/bottom-arrow.png b/web-static/dist/yohobuy/assets/img/header/bottom-arrow.png new file mode 100644 index 0000000..fdefe06 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/header/bottom-arrow.png differ diff --git a/web-static/dist/yohobuy/assets/img/header/cart/boys.png b/web-static/dist/yohobuy/assets/img/header/cart/boys.png new file mode 100644 index 0000000..ed5fbdc Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/header/cart/boys.png differ diff --git a/web-static/dist/yohobuy/assets/img/header/cart/girls.png b/web-static/dist/yohobuy/assets/img/header/cart/girls.png new file mode 100644 index 0000000..04a838c Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/header/cart/girls.png differ diff --git a/web-static/dist/yohobuy/assets/img/header/cart/kids.png b/web-static/dist/yohobuy/assets/img/header/cart/kids.png new file mode 100644 index 0000000..1a92608 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/header/cart/kids.png differ diff --git a/web-static/dist/yohobuy/assets/img/header/cart/lifestyle.png b/web-static/dist/yohobuy/assets/img/header/cart/lifestyle.png new file mode 100644 index 0000000..d9c2104 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/header/cart/lifestyle.png differ diff --git a/web-static/dist/yohobuy/assets/img/header/hamburger.png b/web-static/dist/yohobuy/assets/img/header/hamburger.png new file mode 100644 index 0000000..66371da Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/header/hamburger.png differ diff --git a/web-static/dist/yohobuy/assets/img/header/heart.png b/web-static/dist/yohobuy/assets/img/header/heart.png new file mode 100644 index 0000000..daeacab Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/header/heart.png differ diff --git a/web-static/dist/yohobuy/assets/img/header/ic-information.png b/web-static/dist/yohobuy/assets/img/header/ic-information.png new file mode 100644 index 0000000..bac1a3b Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/header/ic-information.png differ diff --git a/web-static/dist/yohobuy/assets/img/header/iphone.png b/web-static/dist/yohobuy/assets/img/header/iphone.png new file mode 100644 index 0000000..250ee7e Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/header/iphone.png differ diff --git a/web-static/dist/yohobuy/assets/img/header/mail.png b/web-static/dist/yohobuy/assets/img/header/mail.png new file mode 100644 index 0000000..8ed9fe9 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/header/mail.png differ diff --git a/web-static/dist/yohobuy/assets/img/header/paper.png b/web-static/dist/yohobuy/assets/img/header/paper.png new file mode 100644 index 0000000..dc6b13a Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/header/paper.png differ diff --git a/web-static/dist/yohobuy/assets/img/header/search.png b/web-static/dist/yohobuy/assets/img/header/search.png new file mode 100644 index 0000000..bb3e7d8 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/header/search.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/activity-arrow.png b/web-static/dist/yohobuy/assets/img/home/activity-arrow.png new file mode 100644 index 0000000..f8ce77d Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/activity-arrow.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/brands.png b/web-static/dist/yohobuy/assets/img/home/brands.png new file mode 100644 index 0000000..cf76c2f Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/brands.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/btn-jt.png b/web-static/dist/yohobuy/assets/img/home/btn-jt.png new file mode 100644 index 0000000..759918c Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/btn-jt.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/btn-more.png b/web-static/dist/yohobuy/assets/img/home/btn-more.png new file mode 100644 index 0000000..db3614e Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/btn-more.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/btn_top.png b/web-static/dist/yohobuy/assets/img/home/btn_top.png new file mode 100644 index 0000000..ca9eb42 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/btn_top.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/button-icon.png b/web-static/dist/yohobuy/assets/img/home/button-icon.png new file mode 100644 index 0000000..33a1af1 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/button-icon.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/cancel-icon.png b/web-static/dist/yohobuy/assets/img/home/cancel-icon.png new file mode 100644 index 0000000..588dd9e Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/cancel-icon.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/coin-help.png b/web-static/dist/yohobuy/assets/img/home/coin-help.png new file mode 100644 index 0000000..da04a85 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/coin-help.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/comment.png b/web-static/dist/yohobuy/assets/img/home/comment.png new file mode 100644 index 0000000..2035db0 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/comment.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/complaint-icon.png b/web-static/dist/yohobuy/assets/img/home/complaint-icon.png new file mode 100644 index 0000000..d00da3c Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/complaint-icon.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/complaints.png b/web-static/dist/yohobuy/assets/img/home/complaints.png new file mode 100644 index 0000000..5b5f306 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/complaints.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/consult-wd.png b/web-static/dist/yohobuy/assets/img/home/consult-wd.png new file mode 100644 index 0000000..504b91a Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/consult-wd.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/consult.png b/web-static/dist/yohobuy/assets/img/home/consult.png new file mode 100644 index 0000000..bd25d6d Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/consult.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/currency.png b/web-static/dist/yohobuy/assets/img/home/currency.png new file mode 100644 index 0000000..aa77b04 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/currency.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/detail-act.png b/web-static/dist/yohobuy/assets/img/home/detail-act.png new file mode 100644 index 0000000..a313e7d Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/detail-act.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/btn_b1.png b/web-static/dist/yohobuy/assets/img/home/edit/btn_b1.png new file mode 100644 index 0000000..34034c1 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/btn_b1.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/btn_bg_20.png b/web-static/dist/yohobuy/assets/img/home/edit/btn_bg_20.png new file mode 100644 index 0000000..d11dbe3 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/btn_bg_20.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/btn_edit.png b/web-static/dist/yohobuy/assets/img/home/edit/btn_edit.png new file mode 100644 index 0000000..8d4b208 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/btn_edit.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/btn_hs.png b/web-static/dist/yohobuy/assets/img/home/edit/btn_hs.png new file mode 100644 index 0000000..2c01b36 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/btn_hs.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/btn_s1_z2.png b/web-static/dist/yohobuy/assets/img/home/edit/btn_s1_z2.png new file mode 100644 index 0000000..a1fe8b5 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/btn_s1_z2.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/ico_arrow2.png b/web-static/dist/yohobuy/assets/img/home/edit/ico_arrow2.png new file mode 100644 index 0000000..d00da3c Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/ico_arrow2.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/ico_del.png b/web-static/dist/yohobuy/assets/img/home/edit/ico_del.png new file mode 100644 index 0000000..a376ba6 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/ico_del.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/ico_i_sf.png b/web-static/dist/yohobuy/assets/img/home/edit/ico_i_sf.png new file mode 100644 index 0000000..7fb02bf Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/ico_i_sf.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/icon-32.png b/web-static/dist/yohobuy/assets/img/home/edit/icon-32.png new file mode 100644 index 0000000..35a35ce Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/icon-32.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/icon-bar.png b/web-static/dist/yohobuy/assets/img/home/edit/icon-bar.png new file mode 100644 index 0000000..c926c0d Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/icon-bar.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/input_1.png b/web-static/dist/yohobuy/assets/img/home/edit/input_1.png new file mode 100644 index 0000000..dde304b Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/input_1.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/k_r_b.png b/web-static/dist/yohobuy/assets/img/home/edit/k_r_b.png new file mode 100644 index 0000000..863b108 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/k_r_b.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/title-address.png b/web-static/dist/yohobuy/assets/img/home/edit/title-address.png new file mode 100644 index 0000000..9fdfdae Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/title-address.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/edit/title-informations.png b/web-static/dist/yohobuy/assets/img/home/edit/title-informations.png new file mode 100644 index 0000000..d40bbfd Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/edit/title-informations.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/exchange-bg.png b/web-static/dist/yohobuy/assets/img/home/exchange-bg.png new file mode 100644 index 0000000..b820186 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/exchange-bg.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/favorite.png b/web-static/dist/yohobuy/assets/img/home/favorite.png new file mode 100644 index 0000000..8f58388 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/favorite.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/footwear-tips.jpg b/web-static/dist/yohobuy/assets/img/home/footwear-tips.jpg new file mode 100644 index 0000000..8c21ca2 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/footwear-tips.jpg differ diff --git a/web-static/dist/yohobuy/assets/img/home/home-icon.png b/web-static/dist/yohobuy/assets/img/home/home-icon.png new file mode 100644 index 0000000..b38ab4c Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/home-icon.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/icon-24.png b/web-static/dist/yohobuy/assets/img/home/icon-24.png new file mode 100644 index 0000000..247bed7 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/icon-24.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/input-back.png b/web-static/dist/yohobuy/assets/img/home/input-back.png new file mode 100644 index 0000000..dde304b Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/input-back.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/latest-orders.png b/web-static/dist/yohobuy/assets/img/home/latest-orders.png new file mode 100644 index 0000000..d6b9bc7 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/latest-orders.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/new-arrival.png b/web-static/dist/yohobuy/assets/img/home/new-arrival.png new file mode 100644 index 0000000..2114820 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/new-arrival.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/onCorrect.png b/web-static/dist/yohobuy/assets/img/home/onCorrect.png new file mode 100644 index 0000000..e89a8b4 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/onCorrect.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/onError.png b/web-static/dist/yohobuy/assets/img/home/onError.png new file mode 100644 index 0000000..e0a6da5 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/onError.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/onShow.png b/web-static/dist/yohobuy/assets/img/home/onShow.png new file mode 100644 index 0000000..18b8cab Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/onShow.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/openbox_close.png b/web-static/dist/yohobuy/assets/img/home/openbox_close.png new file mode 100644 index 0000000..138afe0 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/openbox_close.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/order-detail.png b/web-static/dist/yohobuy/assets/img/home/order-detail.png new file mode 100644 index 0000000..34ebe7a Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/order-detail.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/order-progress.png b/web-static/dist/yohobuy/assets/img/home/order-progress.png new file mode 100644 index 0000000..a278748 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/order-progress.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/orders.png b/web-static/dist/yohobuy/assets/img/home/orders.png new file mode 100644 index 0000000..99e4ec7 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/orders.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/pre-title.png b/web-static/dist/yohobuy/assets/img/home/pre-title.png new file mode 100644 index 0000000..b05bb62 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/pre-title.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/red-envelopes.png b/web-static/dist/yohobuy/assets/img/home/red-envelopes.png new file mode 100644 index 0000000..32f7d9d Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/red-envelopes.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/reduction-notice.jpg b/web-static/dist/yohobuy/assets/img/home/reduction-notice.jpg new file mode 100644 index 0000000..d34aa66 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/reduction-notice.jpg differ diff --git a/web-static/dist/yohobuy/assets/img/home/refund-bg.png b/web-static/dist/yohobuy/assets/img/home/refund-bg.png new file mode 100644 index 0000000..32fe639 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/refund-bg.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/remark-btn.png b/web-static/dist/yohobuy/assets/img/home/remark-btn.png new file mode 100644 index 0000000..10e72be Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/remark-btn.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/returns.png b/web-static/dist/yohobuy/assets/img/home/returns.png new file mode 100644 index 0000000..429cf57 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/returns.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/sort-select.png b/web-static/dist/yohobuy/assets/img/home/sort-select.png new file mode 100644 index 0000000..741bda3 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/sort-select.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/submit-btn.png b/web-static/dist/yohobuy/assets/img/home/submit-btn.png new file mode 100644 index 0000000..a0c15a6 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/submit-btn.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/success-icon.png b/web-static/dist/yohobuy/assets/img/home/success-icon.png new file mode 100644 index 0000000..f8e5617 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/success-icon.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/suggest-icon.png b/web-static/dist/yohobuy/assets/img/home/suggest-icon.png new file mode 100644 index 0000000..4a260d9 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/suggest-icon.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/tab.png b/web-static/dist/yohobuy/assets/img/home/tab.png new file mode 100644 index 0000000..174e23f Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/tab.png differ diff --git a/web-static/dist/yohobuy/assets/img/home/ucenter.png b/web-static/dist/yohobuy/assets/img/home/ucenter.png new file mode 100644 index 0000000..83bdad3 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/home/ucenter.png differ diff --git a/web-static/dist/yohobuy/assets/img/order/btn-openclose.png b/web-static/dist/yohobuy/assets/img/order/btn-openclose.png new file mode 100644 index 0000000..2227715 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/order/btn-openclose.png differ diff --git a/web-static/dist/yohobuy/assets/img/order/btns.png b/web-static/dist/yohobuy/assets/img/order/btns.png new file mode 100644 index 0000000..e962f95 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/order/btns.png differ diff --git a/web-static/dist/yohobuy/assets/img/order/icon-arrow.png b/web-static/dist/yohobuy/assets/img/order/icon-arrow.png new file mode 100644 index 0000000..aaa56aa Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/order/icon-arrow.png differ diff --git a/web-static/dist/yohobuy/assets/img/order/save/cart.png b/web-static/dist/yohobuy/assets/img/order/save/cart.png new file mode 100644 index 0000000..cc162fc Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/order/save/cart.png differ diff --git a/web-static/dist/yohobuy/assets/img/order/save/cart_03.png b/web-static/dist/yohobuy/assets/img/order/save/cart_03.png new file mode 100644 index 0000000..f78fd7f Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/order/save/cart_03.png differ diff --git a/web-static/dist/yohobuy/assets/img/order/save/cart_04.png b/web-static/dist/yohobuy/assets/img/order/save/cart_04.png new file mode 100644 index 0000000..4519581 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/order/save/cart_04.png differ diff --git a/web-static/dist/yohobuy/assets/img/order/save/new-btn.png b/web-static/dist/yohobuy/assets/img/order/save/new-btn.png new file mode 100644 index 0000000..0de5ee5 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/order/save/new-btn.png differ diff --git a/web-static/dist/yohobuy/assets/img/passport/angle.png b/web-static/dist/yohobuy/assets/img/passport/angle.png new file mode 100644 index 0000000..1fa7f3b Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/passport/angle.png differ diff --git a/web-static/dist/yohobuy/assets/img/passport/tip/succ-info.png b/web-static/dist/yohobuy/assets/img/passport/tip/succ-info.png new file mode 100644 index 0000000..55656e2 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/passport/tip/succ-info.png differ diff --git a/web-static/dist/yohobuy/assets/img/passport/tip/success-icon.png b/web-static/dist/yohobuy/assets/img/passport/tip/success-icon.png new file mode 100644 index 0000000..a0acd70 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/passport/tip/success-icon.png differ diff --git a/web-static/dist/yohobuy/assets/img/product/arrow.png b/web-static/dist/yohobuy/assets/img/product/arrow.png new file mode 100644 index 0000000..4177978 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/product/arrow.png differ diff --git a/web-static/dist/yohobuy/assets/img/product/hp-num.png b/web-static/dist/yohobuy/assets/img/product/hp-num.png new file mode 100644 index 0000000..d9390b9 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/product/hp-num.png differ diff --git a/web-static/dist/yohobuy/assets/img/product/top-good-qr.png b/web-static/dist/yohobuy/assets/img/product/top-good-qr.png new file mode 100644 index 0000000..4d7210b Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/product/top-good-qr.png differ diff --git a/web-static/dist/yohobuy/assets/img/product/vip-price-icon.png b/web-static/dist/yohobuy/assets/img/product/vip-price-icon.png new file mode 100644 index 0000000..f57d2ff Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/product/vip-price-icon.png differ diff --git a/web-static/dist/yohobuy/assets/img/share/douban.png b/web-static/dist/yohobuy/assets/img/share/douban.png new file mode 100644 index 0000000..6e06167 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/share/douban.png differ diff --git a/web-static/dist/yohobuy/assets/img/share/qq.png b/web-static/dist/yohobuy/assets/img/share/qq.png new file mode 100644 index 0000000..903f8d5 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/share/qq.png differ diff --git a/web-static/dist/yohobuy/assets/img/share/qzone.png b/web-static/dist/yohobuy/assets/img/share/qzone.png new file mode 100644 index 0000000..8744ce2 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/share/qzone.png differ diff --git a/web-static/dist/yohobuy/assets/img/share/renren.png b/web-static/dist/yohobuy/assets/img/share/renren.png new file mode 100644 index 0000000..a9b1eaa Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/share/renren.png differ diff --git a/web-static/dist/yohobuy/assets/img/share/tweibo.png b/web-static/dist/yohobuy/assets/img/share/tweibo.png new file mode 100644 index 0000000..16f78df Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/share/tweibo.png differ diff --git a/web-static/dist/yohobuy/assets/img/share/weibo.png b/web-static/dist/yohobuy/assets/img/share/weibo.png new file mode 100644 index 0000000..57b84b5 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/share/weibo.png differ diff --git a/web-static/dist/yohobuy/assets/img/share/weixin.png b/web-static/dist/yohobuy/assets/img/share/weixin.png new file mode 100644 index 0000000..3376428 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/share/weixin.png differ diff --git a/web-static/dist/yohobuy/assets/img/sprite.cart.png b/web-static/dist/yohobuy/assets/img/sprite.cart.png new file mode 100644 index 0000000..5426649 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/sprite.cart.png differ diff --git a/web-static/dist/yohobuy/assets/img/sprite.guang.png b/web-static/dist/yohobuy/assets/img/sprite.guang.png new file mode 100644 index 0000000..0fa570e Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/sprite.guang.png differ diff --git a/web-static/dist/yohobuy/assets/img/sprite.home.png b/web-static/dist/yohobuy/assets/img/sprite.home.png new file mode 100644 index 0000000..06f37fe Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/sprite.home.png differ diff --git a/web-static/dist/yohobuy/assets/img/sprite.me.png b/web-static/dist/yohobuy/assets/img/sprite.me.png new file mode 100644 index 0000000..bd2c0a7 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/sprite.me.png differ diff --git a/web-static/dist/yohobuy/assets/img/sprite.order.png b/web-static/dist/yohobuy/assets/img/sprite.order.png new file mode 100644 index 0000000..c8f2a05 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/sprite.order.png differ diff --git a/web-static/dist/yohobuy/assets/img/sprite.passport.png b/web-static/dist/yohobuy/assets/img/sprite.passport.png new file mode 100644 index 0000000..7d76982 Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/sprite.passport.png differ diff --git a/web-static/dist/yohobuy/assets/img/sprite.share.png b/web-static/dist/yohobuy/assets/img/sprite.share.png new file mode 100644 index 0000000..0fa570e Binary files /dev/null and b/web-static/dist/yohobuy/assets/img/sprite.share.png differ diff --git a/web-static/font/iconfont.eot b/web-static/font/iconfont.eot index be75dff..1beee82 100644 Binary files a/web-static/font/iconfont.eot and b/web-static/font/iconfont.eot differ diff --git a/web-static/font/iconfont.svg b/web-static/font/iconfont.svg index fa53b98..340f2be 100644 --- a/web-static/font/iconfont.svg +++ b/web-static/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 Feb 4 15:15:37 2016 +Created by FontForge 20120731 at Wed Mar 9 20:06:33 2016 By Ads </metadata> <defs> @@ -16,10 +16,10 @@ Created by FontForge 20120731 at Thu Feb 4 15:15:37 2016 ascent="896" descent="-128" x-height="792" - bbox="0 -214 1172.1 896" + bbox="0 -212 1160 896" underline-thickness="50" underline-position="-100" - unicode-range="U+0078-E632" + unicode-range="U+0078-E63A" /> <missing-glyph horiz-adv-x="374" d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" /> @@ -34,69 +34,70 @@ d="M281 543q-27 -1 -53 -1h-83q-18 0 -36.5 -6t-32.5 -18.5t-23 -32t-9 -45.5v-76h91 t-29.5 0.5h-32l-45 128h-439l-44 -128h-29h-34q-20 0 -45 1q-25 0 -41 9.5t-25.5 23t-13.5 29.5t-4 30v167h911zM163 247q-12 0 -21 -8.5t-9 -21.5t9 -21.5t21 -8.5q13 0 22 8.5t9 21.5t-9 21.5t-22 8.5zM316 123q-8 -26 -14 -48q-5 -19 -10.5 -37t-7.5 -25t-3 -15t1 -14.5 t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-5 19 -11 39h-368zM336 498v228q0 11 2.5 23t10 21.5t20.5 15.5t34 6h188q31 0 51.5 -14.5t20.5 -52.5v-227h-327z" /> <glyph glyph-name="uniE600" unicode="" -d="M286 413l-46 -45l272 -272l272 272l-46 45l-226 -226z" /> +d="M286 509l-46 -45l272 -272l272 272l-46 45l-226 -226z" /> <glyph glyph-name="uniE601" unicode="" -d="M387 62l45 -46l272 272l-272 272l-45 -46l226 -226z" /> +d="M387 158l45 -46l272 272l-272 272l-45 -46l226 -226z" /> <glyph glyph-name="uniE602" unicode="" -d="M766 109l-196 192l196 192l-61 60l-196 -193l-196 193l-60 -60l196 -192l-196 -192l60 -59l196 192l196 -192z" /> +d="M766 193l-196 192l196 192l-61 60l-196 -193l-196 193l-60 -60l196 -192l-196 -192l60 -59l196 192l196 -192z" /> <glyph glyph-name="uniE603" unicode="" -d="M951 -7h-878l439 614z" /> +d="M951 77h-878l439 614z" /> <glyph glyph-name="uniE604" unicode="" -d="M512 -7l-439 614h878z" /> +d="M512 77l-439 614h878z" /> <glyph glyph-name="uniE605" unicode="" -d="M819 739v-878l-614 439z" /> +d="M819 823v-878l-614 439z" /> <glyph glyph-name="uniE606" unicode="" -d="M205 -139v878l614 -439z" /> +d="M205 -55v878l614 -439z" /> <glyph glyph-name="uniE607" unicode="" -d="M786 705l-415 -405l415 -404q19 -18 19 -44t-19 -45q-12 -12 -29 -16t-33.5 0t-29.5 16l-461 449q-19 18 -19 44.5t19 44.5l461 449q19 18 46 18t46 -18.5t19 -44.5t-19 -44zM786 705z" /> +d="M786 789l-415 -405l415 -404q19 -18 19 -44t-19 -45q-12 -12 -29 -16t-33.5 0t-29.5 16l-461 449q-19 18 -19 44.5t19 44.5l461 449q19 18 46 18t46 -18q9 -9 14 -21t5 -24t-5 -23.5t-14 -20.5zM786 789z" /> <glyph glyph-name="uniE608" unicode="" -d="M233 705q-19 18 -19 44t19 44.5t46 18.5t46 -18l461 -449q19 -18 19 -44.5t-19 -44.5l-461 -449q-19 -18 -46 -18t-46 18.5t-19 44.5t19 44l416 404zM233 705z" /> +d="M233 789q-19 18 -19 44t19 44.5t46 18.5t46 -18l461 -449q19 -18 19 -44.5t-19 -44.5l-461 -449q-12 -12 -29 -16t-33.5 0t-29.5 16q-19 19 -19 45t19 44l416 404zM233 789z" /> <glyph glyph-name="uniE609" unicode="" -d="M577 -214q-17 0 -30 11q-16 12 -18 31.5t11 35.5l357 443l-350 404q-13 15 -11.5 34.5t16.5 32.5q9 9 22 11.5t25 -2t20 -14.5l376 -433q12 -13 12 -30.5t-11 -30.5l-382 -475q-14 -18 -37 -18z" /> +d="M577 -118q-17 0 -30 11q-16 12 -18 31.5t11 35.5l357 443l-350 404q-13 15 -11.5 34.5t16.5 32.5q9 9 22 11.5t25 -2t20 -14.5l376 -433q12 -13 12 -30.5t-11 -30.5l-382 -475q-14 -18 -37 -18z" /> <glyph glyph-name="uniE60A" unicode="" -d="M447 -214q-23 0 -37 18l-382 475q-8 8 -10 19t0.5 22t10.5 20l376 433q13 15 32.5 16.5t34.5 -11.5t16.5 -32.5t-11.5 -34.5l-350 -404l357 -443q9 -10 10.5 -22.5t-3 -24.5t-14.5 -20q-13 -11 -30 -11z" /> +d="M447 -118q-23 0 -37 18l-382 475q-8 8 -10 19t0.5 22t10.5 20l376 433q13 15 32.5 16.5t34.5 -11.5t16.5 -32.5t-11.5 -34.5l-350 -404l357 -443q13 -16 11 -35.5t-18 -31.5q-13 -11 -30 -11z" /> <glyph glyph-name="uniE60B" unicode="" -d="M284 -69q-9 -9 -12.5 -21t0 -24t12.5 -20q13 -14 32 -14t32 14l397 401q5 6 8.5 12.5t4 13.5t0 14t-4 13.5t-8.5 12.5l-397 401q-13 14 -32 14t-32 -14q-6 -5 -9 -11.5t-4 -13.5t0 -14t4 -14t8 -12l351 -369l-350 -369v0zM284 -69z" /> +d="M284 15q-9 -9 -12.5 -21t0 -24t12.5 -20q13 -14 32 -14t32 14l397 401q4 5 7 10.5t4.5 11t1.5 11.5t-1.5 11.5t-4.5 11t-7 10.5l-397 401q-13 14 -32 14t-32 -14q-5 -4 -8 -9.5t-4.5 -11t-1.5 -11.5t1.5 -12t4.5 -11t7 -10l351 -369l-350 -369v0zM284 15z" /> <glyph glyph-name="uniE60C" unicode="" -d="M745 669q13 14 13 33t-13 32q-9 9 -21 12.5t-23.5 0t-20.5 -12.5l-396 -401q-14 -14 -14 -33t14 -33l396 -401q14 -14 32.5 -14t32 13.5t13.5 32.5t-13 33l-351 369l351 369v0zM745 669z" /> +d="M745 753q8 9 11.5 21t0 24t-12 20.5t-20.5 12t-23.5 0t-20.5 -12.5l-396 -401q-14 -14 -14 -33t14 -33l396 -401q14 -14 32.5 -14t32 13.5t13.5 32.5t-13 33l-351 369l351 369v0zM745 753z" /> <glyph glyph-name="uniE60D" unicode="" -d="M513 654q-13 0 -22 -9t-9 -22v-311h-249q-6 0 -11.5 -2.5t-10 -6.5t-7 -10t-2.5 -12q0 -8 4.5 -15.5t11.5 -11.5t15 -4h280q12 0 21.5 9t9.5 22v342q0 8 -4.5 15.5t-11.5 11.5t-15 4zM513 778q-81 0 -157 -25t-137 -71t-107 -107t-71 -136.5t-25 -156.5q0 -101 39.5 -193 -t106 -158.5t158.5 -105.5t193 -39t192.5 39t158 105.5t106 158.5t39.5 193t-39.5 193t-106 158t-158 105.5t-192.5 39.5zM513 -152q-118 0 -218 58t-158.5 158t-58.5 218q0 88 34.5 168.5t92.5 138.5t138.5 92.5t169.5 34.5q59 0 115 -15.5t103.5 -43.5t88 -68t68.5 -88 -t43.5 -104t15.5 -115q0 -118 -58 -218t-158 -158t-218 -58z" /> +d="M513 750q-13 0 -22 -9t-9 -22v-311h-249q-6 0 -11.5 -2.5t-10 -6.5t-7 -10t-2.5 -12q0 -13 9.5 -22t21.5 -9h280q12 0 21.5 9t9.5 22v342q0 6 -2.5 12t-7 10t-10 6.5t-11.5 2.5zM513 874q-51 0 -100.5 -10t-93.5 -29t-84 -46t-73.5 -60.5t-60.5 -73.5t-45.5 -84t-29 -93 +t-10.5 -100q0 -101 39.5 -193t106 -158.5t158.5 -105.5t193 -39t192.5 39t158 105.5t106 158.5t39.5 193t-39.5 193t-106 158t-158 105.5t-192.5 39.5zM513 -56q-118 0 -218 58t-158.5 158t-58.5 218t58.5 218t158.5 158t218 58q88 0 168.5 -34.5t138.5 -92.5t92.5 -138.5 +t34.5 -168.5q0 -118 -58 -218t-158 -158t-218 -58z" /> <glyph glyph-name="uniE60E" unicode="" -d="M710 300l-473 474l38 38l512 -512l-512 -512l-38 38z" /> +d="M710 384l-473 474l38 38l512 -512l-512 -512l-38 38z" /> <glyph glyph-name="uniE60F" unicode="" -d="M314 300l473 -474l-38 -38l-512 512l512 512l38 -38z" /> +d="M314 384l473 -474l-38 -38l-512 512l512 512l38 -38z" /> <glyph glyph-name="uniE610" unicode="" -d="M797 135q0 -7 -5 -13l-29 -28q-6 -6 -13.5 -6t-12.5 6l-225 224l-224 -224q-6 -6 -13.5 -6t-13.5 6l-28 28q-6 6 -6 13.5t6 13.5l266 266q6 6 13.5 6t12.5 -6l267 -266q5 -6 5 -14z" /> +d="M797 219q0 -7 -5 -13l-29 -28q-6 -6 -13.5 -6t-12.5 6l-225 224l-224 -224q-6 -6 -13.5 -6t-13.5 6l-28 28q-6 6 -6 13.5t6 13.5l266 266q6 6 13.5 6t12.5 -6l267 -266q5 -6 5 -14z" /> <glyph glyph-name="uniE611" unicode="" -d="M892 41l-236 236q54 77 54 172q0 81 -39.5 150t-108.5 108.5t-150 39.5q-123 0 -210.5 -87t-87.5 -211t87.5 -211t210.5 -87q95 0 173 55l236 -236q16 -17 38 -18t37 14q10 10 12.5 23.5t-1.5 27t-15 24.5zM213 449q0 82 58.5 140.5t140.5 58.5t140.5 -58.5t58.5 -140.5 -t-58.5 -140.5t-140.5 -58.5t-140.5 58.5t-58.5 140.5z" /> +d="M892 125l-236 236q54 77 54 172q0 81 -39.5 150t-108.5 108.5t-150 39.5t-149.5 -39.5t-108.5 -108.5t-40 -150t40 -149.5t108.5 -108.5t149.5 -40q95 0 173 55l236 -236q16 -17 38 -18t37 14q24 24 8 58q-5 10 -12 17zM213 533q0 82 58.5 140.5t140.5 58.5t140.5 -58.5 +t58.5 -140.5t-58.5 -140.5t-140.5 -58.5t-140.5 58.5t-58.5 140.5z" /> <glyph glyph-name="uniE612" unicode="" -d="M939 -212h-854q-23 0 -42.5 11.5t-31 31t-11.5 42.5v854q0 35 25 60t60 25h854q23 0 42.5 -11.5t31 -31t11.5 -42.5v-854q0 -35 -25 -60t-60 -25zM939 705q0 10 -6 16t-16 6h-810q-10 0 -16 -6t-6 -16v-810q0 -7 3 -11.5t7.5 -7.5t11.5 -3h810q10 0 16 6t6 16v810z -M457 99q-5 -6 -13 -9t-17 -3q-21 0 -30 12l-171 171q-13 10 -13 30q0 18 12.5 30.5t30.5 12.5q10 0 17.5 -3.5t12.5 -9.5l141 -141l311 312q13 12 30 12q18 0 30.5 -12.5t12.5 -29.5q0 -21 -13 -30z" /> +d="M939 -128h-854q-17 0 -33 7t-27 18t-18 27t-7 33v854q0 35 25 60t60 25h854q23 0 42.5 -11.5t31 -31t11.5 -42.5v-854q0 -35 -25 -60t-60 -25zM939 789q0 10 -6 16t-16 6h-810q-10 0 -16 -6t-6 -16v-810q0 -10 6 -16t16 -6h810q10 0 16 6t6 16v810zM457 183 +q-10 -12 -30.5 -12t-29.5 12l-171 171q-13 10 -13 30q0 18 12.5 30.5t30.5 12.5q10 0 17.5 -3.5t12.5 -9.5l141 -141l311 312q13 12 30 12q18 0 30.5 -12.5t12.5 -29.5q0 -21 -13 -30z" /> <glyph glyph-name="uniE613" unicode="" -d="M877 812h-730q-61 0 -104 -43t-43 -104v-730q0 -61 43 -104t104 -43h730q61 0 104 43t43 104v730q0 61 -43 104t-104 43zM939 -65q0 -26 -18 -44t-44 -18h-730q-26 0 -44 18t-18 44v730q0 17 8.5 31t22.5 22.5t31 8.5h730q26 0 44 -18t18 -44v-730z" /> +d="M877 896h-730q-40 0 -74 -19.5t-53.5 -53.5t-19.5 -74v-730q0 -61 43 -104t104 -43h730q61 0 104 43t43 104v730q0 61 -43 104t-104 43zM939 19q0 -13 -5 -24.5t-13 -19.5t-19.5 -13t-24.5 -5h-730q-26 0 -44 18t-18 44v730q0 9 2 17t6 14.5t10 12.5t12.5 10t14.5 6t17 2 +h730q26 0 44 -18t18 -44v-730z" /> <glyph glyph-name="uniE614" unicode="" d="M160 996zM865 247q0 -18 -13 -31l-308 -308q-13 -13 -31 -13t-31 13l-309 308q-13 13 -13 31t13.5 31t30.5 13h617q18 0 31 -13t13 -31zM865 511q0 -18 -13 -31t-31 -13h-617q-18 0 -31 13t-13 31t13 31l309 309q13 13 31 13t31 -13l308 -309q13 -13 13 -31z" /> <glyph glyph-name="uniE615" unicode="" -d="M704 569l-41 39l-343 -320l343 -320l41 39l-301 281z" /> +d="M704 665l-41 39l-343 -320l343 -320l41 39l-301 281z" /> <glyph glyph-name="uniE616" unicode="" horiz-adv-x="1173" -d="M586 588q-64 150 -188 203q-114 47 -222 -7q-112 -56 -155 -192q-20 -67 -21 -144q0 -41 9 -78.5t24 -66.5t39 -57.5t47 -48.5t55.5 -43t56.5 -38t58.5 -35.5t53.5 -33.5q63 -42 118 -94.5t86.5 -95t39.5 -69.5q4 19 25.5 50t53.5 66t75 74t88 71q21 15 53.5 35.5t58 36 -t57 38t55 43t47 48t39 56.5t25 66.5t8.5 78.5q0 75 -19.5 138t-52.5 105.5t-76.5 70.5t-91 37.5t-98 1t-96 -34.5t-85.5 -72.5t-67 -108.5z" /> +d="M569 607q-28 66 -74 108.5t-95 56.5t-100 2.5t-91.5 -45t-66 -94t-26.5 -137.5q0 -36 8.5 -67.5t26 -58t35.5 -47t46.5 -41t49 -34t52.5 -32.5t48 -30q71 -47 124.5 -106.5t63.5 -93.5q7 31 62.5 92t124.5 110q19 14 55.5 36.5t61 38.5t55 42.5t49 52t31.5 62.5t13 79 +q0 76 -26.5 136t-67 92t-92 42.5t-101 -4t-94.5 -56t-72 -104.5z" /> <glyph glyph-name="uniE617" unicode="" d="M500 775l-348 -298q-16 -14 -16 -35v-386q0 -16 8 -30t22 -22t30 -8h197v257h238v-257h197q25 0 42.5 17.5t17.5 42.5v386q0 10 -4.5 19t-11.5 16l-348 298q-3 2 -6 3.5t-6 1.5t-6 -1.5t-6 -3.5z" /> <glyph glyph-name="uniE618" unicode="" horiz-adv-x="1000" -d="M751 670q21 -20 34 -33t20 -23q3 -4 5 -8t3 -7t1.5 -6t0.5 -5v-13h-119q-4 0 -7.5 1.5t-6.5 4.5q-6 6 -10 14t-6 16.5t-2 12.5v100h3q3 0 6.5 -0.5t6.5 -1.5q7 -2 16 -8q4 -3 9.5 -7t12.5 -9q13 -10 33 -28zM614 624q0 -16 5 -33.5t15 -32t26 -24t38 -9.5h117v-451 -q0 -24 -9.5 -42t-24.5 -31t-33.5 -20t-35.5 -7h-394q-15 0 -33 8.5t-33.5 23t-26.5 32.5q-2 5 -4 9.5t-3.5 9.5t-2 10t-0.5 10v543q0 9 2 17.5t6 17.5q7 18 20.5 33.5t30 25.5t35.5 10h305v-100zM664 125q21 0 35.5 14.5t14.5 35.5t-14.5 35.5t-35.5 14.5h-299 -q-21 0 -35.5 -14.5t-14.5 -35.5t14.5 -35.5t35.5 -14.5h299zM714 374q0 21 -14.5 36t-35.5 15h-299q-21 0 -35.5 -15t-14.5 -36t14.5 -35t35.5 -14h299q21 0 35.5 14t14.5 35zM714 374z" /> +d="M751 766q21 -20 34 -33t20 -23q3 -4 5 -8t3 -7q1 -2 1 -4t0.5 -4t0.5 -3v-13h-119q-8 1 -14 6q-6 6 -10 14t-6 16.5t-2 12.5v100h3q6 0 13 -2q2 -1 3.5 -1.5t3.5 -1.5t4 -2.5t5 -2.5q8 -6 21.5 -16t33.5 -28zM614 720q0 -16 5 -33.5t15 -32t26 -24t38 -9.5h117v-451 +q0 -24 -10 -42q-4 -9 -10 -17t-14 -14t-16 -11t-18 -9q-18 -7 -35 -7h-394q-15 0 -33 8.5t-33.5 23t-26.5 32.5q-5 10 -7.5 19.5t-2.5 19.5v543q0 9 2 17.5t6 17.5q7 18 20.5 33.5t30 25.5t35.5 10h305v-100zM664 221q21 0 35.5 14.5t14.5 35.5t-14.5 35.5t-35.5 14.5h-299 +q-21 0 -35.5 -14.5t-14.5 -35.5t14.5 -35.5t35.5 -14.5h299zM714 470q0 21 -14.5 36t-35.5 15h-299q-21 0 -35.5 -15t-14.5 -36t14.5 -35t35.5 -14h299q21 0 35.5 14t14.5 35zM714 470z" /> <glyph glyph-name="uniE619" unicode="" -d="M512 515q47 0 88 -18t72 -49t49 -72t18 -89q0 -23 -4.5 -45t-13.5 -42q-18 -41 -49 -72t-72 -49q-20 -9 -42 -13.5t-46 -4.5q-47 0 -88 18t-72 49t-49 72t-18 87q0 48 18 89t49 72t72 49t88 18v0zM512 515z" /> +d="M512 599q47 0 88 -18t72 -49t49 -72t18 -89q0 -46 -18 -87t-49 -72t-72 -49t-88 -18t-88 18t-72 49t-49 72t-18 87q0 48 18 89t49 72t72 49t88 18v0zM512 599z" /> <glyph glyph-name="uniE61A" unicode="" -d="M903 493l-68 69l-388 -388l-231 230l-68 -68l299 -298l65 65z" /> +d="M903 577l-68 69l-388 -388l-231 230l-68 -68l299 -298l65 65z" /> <glyph glyph-name="uniE61B" unicode="" -d="M505 253l2 -2q2 -1 4 -1l3 1l430 364q2 2 1 6l-2 2q-1 1 -3 1h-435h-424q-2 0 -3 -1l-2 -2l1 -6zM72 585q-3 2 -6 0l-3 -4v-584q0 -4 3.5 -5t5.5 1l288 346zM953 585h-5l-288 -246l287 -346q3 -2 6 -1t3 5v584q0 3 -3 4zM641 322l-131 -111l-5 5l-125 103l-275 -328 -q-2 -3 -1 -6l2 -2q1 -1 3 -1h396h407q4 0 5 3t-1 6z" /> +d="M505 337l2 -2q2 -1 3.5 -1t3.5 1l430 364q2 2 1 6l-2 2q-1 1 -3 1h-435h-424q-2 0 -3 -1l-2 -2l1 -6zM72 669q-3 2 -6 0l-3 -4v-584q0 -4 3.5 -5t5.5 1l288 346zM953 669h-5l-288 -246l287 -346q3 -2 6 -1q3 2 3 5v584q0 3 -3 4zM641 406l-131 -111l-5 5l-125 103 +l-275 -328q-2 -3 -1 -6l2 -2q1 -1 3 -1h396h407l5 3q1 3 -1 6z" /> <glyph glyph-name="uniE61C" unicode="" d="M982 137l-4 6l-10 12q-12 13 -42 38q-12 10 -25.5 20.5t-27.5 21t-26 17.5l-48 31l-21 11q-5 2 -11.5 3t-13 0.5t-11.5 -2.5q-7 -2 -13.5 -7.5t-9.5 -10.5l-17 -25q-4 -6 -8 -13l-12 -24q-9 -18 -15 -28q-7 -14 -21 -24t-32 -13.5t-36 7.5q-102 57 -171 123 q-101 95 -135 172q-8 13 -1.5 37t26.5 34q12 6 25 11.5t23 9.5t18 9q7 4 14.5 8.5t18.5 11.5l2 1l4 4l2 1l3 3q19 18 9 43l-3 8q-1 4 -4 10t-12.5 24.5t-19.5 34.5q-8 14 -19.5 31t-21.5 31q-10 13 -20.5 24t-18.5 17.5t-14.5 11.5t-9.5 6l-4 2l-13 7q-9 4 -17.5 4.5t-16 -1 @@ -108,62 +109,61 @@ q-12 -12 -28.5 -12t-28.5 12l-406 405q-7 8 -10 18.5t0 20.5t10 18q6 6 13.5 9t15 3t <glyph glyph-name="uniE61E" unicode="" d="M127 769v-770h770v770h-770zM555 170h-86v86h86v-86zM555 298h-86v257h86v-257z" /> <glyph glyph-name="uniE61F" unicode="" -d="M511.5 747q-72.5 0 -141 -22.5t-123.5 -64t-96 -96.5t-63.5 -123t-22.5 -141q0 -91 35 -173.5t95 -142.5t143 -95.5t173.5 -35.5t173.5 35.5t143 95.5t95 142.5t35 173.5q1 73 -22 141t-64 123t-96 96.5t-123.5 64t-141 22.5zM452 100h-1v0l-38 38l-179 180l38 37 -l179 -179l318 318l38 -38zM512 -147q-91 0 -175 35q-80 34 -142 96t-96 142q-8 21 -15 42t-11 43t-6.5 44t-2.5 45q0 91 35 174q34 81 96 142.5t142 95.5q84 36 175 36q45 0 88.5 -9t85.5 -27q40 -16 75.5 -40.5t66.5 -54.5q20 -21 38 -44t32.5 -47.5t25.5 -51.5 -q35 -83 35 -174t-35 -174q-34 -80 -96 -142t-142 -96q-14 -6 -28 -11t-28.5 -9t-29 -6.5t-29 -4.5t-29.5 -3t-30 -1zM511.5 747q-90.5 0 -173 -35.5t-142.5 -95.5t-95.5 -142.5t-35.5 -173.5t35.5 -173.5t95.5 -142.5t142.5 -95t173 -35t173.5 35t142.5 95t95 142.5 -t35.5 173.5t-35.5 173.5t-95 142.5t-142.5 95.5t-173.5 35.5zM451 99l-38 39l-180 180l39 38l179 -180l318 318l39 -38zM414 138l37 -37l355 355l-37 37l-318 -318l-179 180l-38 -37z" /> +d="M511.5 831q-72.5 0 -141 -22.5t-123.5 -64t-96 -96.5t-63.5 -123t-22.5 -141q0 -91 35 -173.5t95 -142.5t143 -95.5t173.5 -35.5t173.5 35.5t143 95.5t95 142.5t35 173.5q1 73 -22 141t-64 123t-96 96.5t-123.5 64t-141 22.5zM452 184h-1v0l-38 38l-179 180l38 37 +l179 -179l318 318l38 -38zM512 -63q-91 0 -175 35q-80 34 -142 96t-96 142q-8 21 -15 42t-11 43t-6.5 44t-2.5 45q0 91 35 174q34 81 96 142.5t142 95.5q84 36 175 36q45 0 88.5 -9t85.5 -27q40 -16 75.5 -40.5t66.5 -54.5q15 -16 29 -32.5t26 -34.5t22 -37t19 -39 +q35 -83 35 -174t-35 -174q-34 -80 -96 -142t-142 -96q-83 -35 -174 -35zM512 831q-46 0 -90.5 -9.5t-84 -26t-75.5 -41t-66 -54.5t-54.5 -66.5t-41.5 -76t-26 -83.5t-9 -90q0 -91 35.5 -173.5t95.5 -142.5t142.5 -95t173.5 -35q40 0 79.5 7t75.5 20.5t69.5 33t62.5 44.5 +t54 54t44 62t33 69t21 76t7 80q0 91 -35.5 173.5t-95 142.5t-142.5 95.5t-173 35.5zM451 183l-38 39l-180 180l39 38l179 -180l318 318l39 -38zM414 222l37 -37l355 355l-37 37l-318 -318l-179 180l-38 -37z" /> <glyph glyph-name="uniE620" unicode="" -d="M958 662q0 30 -21 51.5t-51 21.5h-749q-30 0 -51 -21.5t-21 -51.5v-748q0 -30 21 -51t51 -21h749q30 0 51 21t21 51v748zM778 358l-267 -267q-14 -14 -34 -14q-9 0 -18 3.5t-16 10.5l-168 168q-14 14 -14 34t14 34q9 10 21.5 13t25 0t21.5 -13l134 -133l233 232 -q9 10 21.5 13t25 0t21.5 -13q14 -14 14 -34t-14 -34z" /> +d="M958 758q0 30 -21 51.5t-51 21.5h-749q-19 0 -36 -9.5t-26.5 -26.5t-9.5 -37v-748q0 -30 21 -51t51 -21h749q30 0 51 21t21 51v748zM778 454l-267 -267q-6 -7 -15 -10.5t-19 -3.5q-20 0 -34 14l-168 168q-14 14 -14 34t14 34q7 7 16 11t18 4t18.5 -4t15.5 -11l134 -133 +l233 232q7 7 16 10.5t18 3.5t18 -3.5t16 -10.5t10.5 -16t3.5 -18t-3.5 -18t-10.5 -16z" /> <glyph glyph-name="uniE621" unicode="" -d="M384 556v-513l321 257z" /> +d="M384 640v-513l321 257z" /> <glyph glyph-name="uniE622" unicode="" horiz-adv-x="1000" -d="M662 566v-499l-299 250zM662 566z" /> +d="M662 662v-499l-299 250zM662 662z" /> <glyph glyph-name="uniE623" unicode="" horiz-adv-x="1000" -d="M744 502h-488q-25 0 -46 -12t-33 -33t-12 -46v-290q0 -38 26.5 -64.5t64.5 -26.5h227l200 -138v138h61q38 0 64.5 26.5t26.5 64.5v290q0 15 -4.5 29t-13 25t-19.5 19.5t-25 13t-29 4.5zM744 262z" /> +d="M744 598h-488q-19 0 -35.5 -7t-29 -19.5t-19.5 -29.5t-7 -35v-290q0 -18 7 -35t19.5 -29.5t29 -19.5t35.5 -7h227l200 -138v138h61q25 0 46 12t33 33t12 46v290q0 18 -7 35t-19.5 29.5t-29 19.5t-35.5 7zM744 358z" /> <glyph glyph-name="uniE624" unicode="" horiz-adv-x="1025" -d="M1024 396v338q0 32 -23 55t-55 23h-331h-14q-55 0 -76 -21l-506 -506q-19 -19 -19 -46t19 -45l387 -387q18 -19 45 -19t46 19l506 506q10 10 15 25.5t5.5 26.5t0.5 31zM764 465q-36 0 -61.5 25.5t-25.5 61.5q0 17 7 33t18.5 28t27.5 18.5t34 6.5q36 0 61 -25t25 -61 -t-25 -61.5t-61 -25.5z" /> +d="M1024 480v338q0 32 -23 55t-55 23h-331h-14q-55 0 -76 -21l-506 -506q-19 -19 -19 -46t19 -45l387 -387q18 -19 45 -19q13 0 25 5t21 14l506 506q10 10 15 25.5t5.5 26.5t0.5 31zM764 549q-14 0 -27.5 4.5t-24 12.5t-18.5 18.5t-12.5 24t-4.5 27.5q0 17 7 33t18.5 28 +t27.5 18.5t34 6.5q36 0 61 -25t25 -61t-25 -61.5t-61 -25.5z" /> <glyph glyph-name="uniE625" unicode="" -d="M511 748q-91 0 -173.5 -35.5t-142 -95t-95 -142t-35.5 -173.5q0 -61 16 -118.5t45 -106.5t70 -90t90 -70t106.5 -45t118.5 -16q91 0 173.5 35.5t142.5 95t95 142t35 173.5q0 185 -130.5 315.5t-315.5 130.5zM734 253h-237q-7 0 -14 3q-22 9 -22 33v237q0 10 5 18.5 -t13 13.5t18 5q8 0 14.5 -3t11.5 -8t8 -11.5t3 -14.5v-200h200q10 0 18.5 -5t13.5 -13.5t5 -18.5t-5 -18t-13.5 -13t-18.5 -5zM734 253z" /> +d="M511 832q-91 0 -173.5 -35.5t-142 -95t-95 -142t-35.5 -173.5q0 -52 11.5 -102t33.5 -94t52.5 -83t69.5 -69.5t83 -52.5t94 -33.5t102 -11.5q91 0 173.5 35.5t142.5 95t95 142t35 173.5q0 185 -130.5 315.5t-315.5 130.5zM734 337h-237q-7 0 -14 3q-22 9 -22 33v237 +q0 15 10.5 26t25.5 11q8 0 14.5 -3t11.5 -8t8 -11.5t3 -14.5v-200h200q10 0 18.5 -5t13.5 -13.5t5 -18.5t-5 -18t-13.5 -13t-18.5 -5zM734 337z" /> <glyph glyph-name="uniE626" unicode="" horiz-adv-x="1025" -d="M994 79q-18 9 -16 30.5t27 46.5q24 27 17.5 54.5t-33.5 40.5q-17 8 -24.5 17.5t-2 20t26.5 19.5q20 7 27 30.5t-1 52.5t-28 53q-17 19 -92 24.5t-142 1.5l-67 -4q3 2 3 145q0 69 -14 109t-37.5 53.5t-60.5 12.5q-18 0 -28.5 -5t-17 -13t-11 -26.5t-7.5 -38t-10 -56.5 +d="M994 163q-18 9 -16 30.5t27 46.5q24 27 17.5 54.5t-33.5 40.5q-17 8 -24.5 17.5t-2 20t26.5 19.5q30 11 29.5 55.5t-31.5 80.5q-17 19 -92 24.5t-142 1.5l-67 -4q3 2 3 145q0 69 -14 109t-37.5 53.5t-60.5 12.5q-18 0 -28.5 -5t-17 -13t-11 -26.5t-7.5 -38t-10 -56.5 t-16 -74q-12 -47 -38 -94t-54 -80t-55.5 -59t-44 -39t-17.5 -13v-386q8 -12 20 -21t25.5 -15.5t25 -11t23.5 -8.5t16 -6q9 -4 65 -10.5t105.5 -11t51.5 -4.5q4 0 11 0.5t30 2.5t45 4.5t52 6.5t56.5 8t53.5 9.5t47 11t33.5 13t15.5 14.5q5 17 4 30.5t-3.5 23t2.5 17.5t21 15 -q14 5 23 14.5t12 20.5t3 23t-3.5 22t-8.5 18t-10 11zM0 295v-380q0 -28 20 -48.5t49 -20.5h137v518h-137q-29 0 -49 -20.5t-20 -48.5zM0 295z" /> +q27 10 34.5 34.5t0.5 46t-19 28.5zM0 379v-380q0 -28 20 -48.5t49 -20.5h137v518h-137q-29 0 -49 -20.5t-20 -48.5zM0 379z" /> <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" /> +d="M512 719q-67 0 -131 -15.5t-120.5 -44t-105.5 -68.5t-87.5 -90t-65.5 -108q-4 -9 0 -18q68 -147 205.5 -236.5t304.5 -89.5q111 0 212 41.5t177 115t121 169.5q4 9 0 18q-68 147 -205.5 236.5t-304.5 89.5zM512 153q-96 0 -163.5 67.5t-67.5 163.5t67.5 163.5t163.5 67.5 +t163.5 -67.5t67.5 -163.5t-67.5 -163.5t-163.5 -67.5zM512 384zM364 384q0 61 43.5 104.5t104.5 43.5q40 0 74 -20t54 -54t20 -74q0 -61 -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" /> +d="M482 167q-24 0 -41.5 -17.5t-17.5 -42.5t17.5 -42.5t42 -17.5t42 17.5t17.5 42.5q0 10 -3 19t-8.5 16.5t-13 13t-16.5 8.5t-19 3zM769 167q-25 0 -42.5 -17.5t-17.5 -42.5q0 -10 3 -19t8.5 -16.5t13 -13t16.5 -8.5t19 -3q25 0 42.5 17.5t17.5 42.5q0 38 -34 54 +q-13 6 -26 6zM839 277h-417l-143 425q-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 608l-516 45q-12 1 -18.5 -7t-1.5 -20l90 -270 +q4 -12 16 -21.5t24 -9.5h377q12 0 22 10t11 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" /> +d="M154 770v-646h146l-14 -208l240 208h344v646h-716zM752 260h-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" /> +d="M328 18q-3 0 -5.5 0.5t-5.5 2.5q-14 6 -14 22v128h-193q-5 0 -9.5 2t-8 5t-5.5 8t-2 10v549q0 10 7.5 17.5t17.5 7.5h804q7 0 13 -3.5t9 -9t3 -12.5v-549q0 -11 -7 -18t-18 -7h-401l-169 -146q-2 -2 -4 -3l-4 -2q-2 -1 -4 -1.5t-4 -0.5zM171 256h188q10 0 17.5 -7.5 +t7.5 -17.5v-73l103 92q7 6 17 6h350v426h-683v-426zM739 569h-454q-10 0 -17.5 7t-7.5 18q0 4 1 7.5t3.5 7t5.5 5.5t7 3.5t8 1.5h454q5 0 9.5 -2t8 -5.5t5.5 -8t2 -9.5q0 -11 -7 -18t-18 -7zM739 446h-454q-4 0 -8 1t-7 3.5t-5.5 5.5t-3.5 7t-1 8t1 8t3.5 7t5.5 5t7 3.5 +t8 1.5h454q10 0 17.5 -7.5t7.5 -18t-7 -17.5t-18 -7zM549 323h-264q-10 0 -17.5 7t-7.5 18q0 7 3.5 12.5t9 9t12.5 3.5h264q10 0 17.5 -7.5t7.5 -17.5t-7.5 -17.5t-17.5 -7.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" /> +d="M511 -60q-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 787 +q-82 0 -156 -32t-127.5 -85.5t-85.5 -127.5t-32 -155q0 -109 54 -201.5t146 -146t201 -53.5q54 0 106 14.5t96 40.5t81 63t62.5 80.5t40 95.5t14.5 107q0 165 -117.5 282.5t-282.5 117.5zM465 248v29q0 9 1 17.5t2 15.5q3 15 9 28q5 14 15 26t24 26l35 33q7 7 13.5 14 +t11.5 16q2 2 3 5l2 4l2 6t1.5 5.5t1 5.5t1 6.5t0.5 6.5q0 30 -19 51q-10 10 -23.5 15t-30.5 5q-18 0 -32 -6q-5 -3 -9 -5.5t-8 -5.5t-8 -7q-5 -6 -9 -12.5t-6.5 -14t-4 -15t-2.5 -14.5l-95 8q5 37 20 66t39 49q12 10 25.5 18t29.5 13q31 10 66 10q33 0 63 -9.5t53 -28.5 +q4 -4 8.5 -8t8 -8.5t7 -9.5t6.5 -10t6 -11q13 -27 13 -64q0 -8 -0.5 -15.5t-2 -14.5t-2.5 -13q-1 -2 -2 -4.5t-1.5 -4.5t-1.5 -4.5t-2 -4.5l-2 -4l-2 -4q-1 -2 -2.5 -4t-2.5 -4q-10 -16 -24 -30q-5 -5 -10 -9.5t-11 -10t-11 -10.5q-16 -13 -25.5 -23t-15.5 -20t-8 -22 +q-1 -5 -1.5 -12.5t-0.5 -15.5v-20h-92zM450 140q0 9 2 16t6 14t10 13t13 10t14.5 6t16.5 2q12 0 23 -4.5t20 -12.5q5 -5 8.5 -9.5t5.5 -10t3.5 -11t1.5 -11.5q0 -13 -5 -23.5t-14 -19.5t-20 -13t-23 -4t-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" /> +d="M505 860q77 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 -20q112 0 206.5 55t149.5 149.5t55 206.5 +q0 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 222v-59h-58v59h58zM470 648h58v-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" /> +d="M828 702q65 -65 98 -148t33 -169t-33 -169t-98 -148q-66 -66 -149 -98.5t-169 -32.5t-168.5 32.5t-148.5 97.5q-66 66 -98.5 149t-32.5 169t32.5 169t98.5 149q66 65 148.5 97.5t168.5 32.5q43 0 85.5 -8t83.5 -24q83 -33 149 -99v0zM258 133q53 -53 118.5 -79t134.5 -26 +q34 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-17 0 -34 -1.5t-33.5 -5t-33.5 -8.5t-33 -11q-66 -26 -118 -78.5t-78.5 -118t-26.5 -134.5t26.5 -134.5t78.5 -118.5v0zM748 686l69 -72 +l-531 -530l-70 70zM748 686z" /> <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" /> +d="M512 809v0q-58 0 -112.5 -12t-105.5 -38t-80.5 -44t-77.5 -51v-450q0 -57 19.5 -110.5t49 -93.5t69 -76t75.5 -59.5t73.5 -43t57 -28t32.5 -12.5q13 4 32.5 12.5t57 28t73.5 43t75.5 59.5t69 76t49 93.5t19.5 110.5v450q-48 33 -77.5 51t-80.5 44t-105.5 38t-112.5 12z +M808 214q0 -76 -36.5 -138t-112.5 -117q-39 -28 -78.5 -49.5t-68.5 -32.5q-74 29 -147 82q-76 55 -112.5 117t-36.5 138v421q87 53 146.5 75t149.5 23q90 -1 149.5 -23t146.5 -75v-421zM512 671q-46 0 -81.5 -6t-67.5 -18.5t-83 -37.5v-399q0 -35 12.5 -68.5t30 -57.5 +t44 -46t47 -35.5t46 -26t34 -16t18.5 -6.5q10 3 18.5 6.5t34 16t46 26t47 35.5t44 46t30 57.5t12.5 68.5v399q-74 37 -119.5 49.5t-112.5 12.5v0zM667 515v-47h-105v-67h92v-61h-92v-77h116v-57h-332v57h42v168h64v-168h46v205h-138v61h307v-14z" /> <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 @@ -171,6 +171,24 @@ v-29v0z" /> <glyph glyph-name="uniE631" unicode="" d="M799 456l127 127v313h-830v-609l421 -413l409 404v181l-414 -401l-288 284v426h575v-312zM671 518l-107 22l-53 100l-52 -100l-108 -22l75 -83l-14 -114l99 49l99 -49l-14 114z" /> <glyph glyph-name="uniE632" unicode="" -d="M512 718q-104 0 -192.5 -51.5t-140 -140t-51.5 -193t51.5 -193t140 -140t192.5 -51.5t192.5 51.5t140 140t51.5 193.5q0 159 -112.5 271.5t-271.5 112.5zM660 130h-50v175h-196v-175h-50v395h50v-179h196v179h50v-395z" /> +d="M512 769q-104 0 -192.5 -51.5t-140 -140t-51.5 -193t51.5 -193t140 -140t192.5 -51.5t192.5 51.5t140 140t51.5 193t-51.5 193t-140 140t-192.5 51.5zM660 181h-50v175h-196v-175h-50v395h50v-179h196v179h50v-395z" /> + <glyph glyph-name="uniE633" unicode="" +d="M1020 810q0 34 -24 58t-59 24h-851q-34 0 -58.5 -24t-24.5 -58v-852q0 -34 24.5 -58t58.5 -24h851q35 0 59 24t24 58v852zM815 464l-304 -304q-5 -5 -11 -8.5t-13 -5.5t-14 -2q-23 0 -39 16l-191 191q-4 4 -7 8t-5 8t-3 9t-1.5 9.5t0 9t1.5 9.5t3 9t5 8t7 8 +q16 16 38.5 16t38.5 -16l153 -152l264 264q16 16 39 16t39 -16t16 -38.5t-16 -38.5z" /> + <glyph glyph-name="uniE634" unicode="" +d="M637 610l-45 46l-272 -272l272 -272l45 46l-226 226z" /> + <glyph glyph-name="uniE635" unicode="" +d="M0 896h1024v-1024h-1024v1024zM85 -43h854v854h-854v-854z" /> + <glyph glyph-name="uniE636" unicode="" +d="M1024 -128h-1024v1024h1024v-1024zM947 674l-34 34q-13 13 -30 13t-30 -13l-486 -495l-196 205q-13 13 -30 13t-30 -13l-34 -34q-5 -5 -8.5 -11t-4 -12.5t0 -13t4 -12.5t8.5 -11l256 -256q23 -22 51 -8l6 2l3 6l546 546q18 13 20 30.5t-12 29.5z" /> + <glyph glyph-name="uniE637" unicode="" +d="M0 812v-1024h1024v1024h-1024zM983 -171h-942v942h942v-942zM288 280h448q6 0 10.5 2.5t7.5 7t3 10.5q0 8 -6 14t-15 6h-448q-9 0 -15 -6t-6 -14t6 -14t15 -6z" /> + <glyph glyph-name="uniE638" unicode="" +d="M0 812v-1024h1024v1024h-1024zM983 -171h-942v942h942v-942zM288 280h204v-204q0 -6 2.5 -10.5t7 -7.5t10.5 -3q8 0 14 6t6 15v204h204q6 0 10.5 2.5t7.5 7t3 10.5t-3 10.5t-7.5 7t-10.5 2.5h-204v204q0 9 -6 15t-14 6q-6 0 -10.5 -3t-7 -7.5t-2.5 -10.5v-204h-204 +q-9 0 -15 -6t-6 -14t6 -14t15 -6z" /> + <glyph glyph-name="uniE639" unicode="" +d="M774 201h-524l262 366z" /> + <glyph glyph-name="uniE63A" unicode="" +d="M512 188l-280 392h560z" /> </font> </defs></svg> diff --git a/web-static/font/iconfont.ttf b/web-static/font/iconfont.ttf index 4c35166..d18f94d 100644 Binary files a/web-static/font/iconfont.ttf and b/web-static/font/iconfont.ttf differ diff --git a/web-static/font/iconfont.woff b/web-static/font/iconfont.woff index b19e491..3766044 100644 Binary files a/web-static/font/iconfont.woff and b/web-static/font/iconfont.woff differ diff --git a/web-static/gulpfile.js b/web-static/gulpfile.js index 40f5666..10670e4 100644 --- a/web-static/gulpfile.js +++ b/web-static/gulpfile.js @@ -5,7 +5,6 @@ */ var gulp = require('gulp'), - compass = require('gulp-compass'), cp = require('child_process'); var fs = require('fs'), @@ -16,6 +15,10 @@ var fs = require('fs'), transport = require('gulp-spm'), concat = require('gulp-concat'); +var postcss = require('gulp-postcss'); +var sourcemaps = require('gulp-sourcemaps'); +var cssnano = require('gulp-cssnano'); + var config = JSON.parse(fs.readFileSync('./package.json').toString()); var rootDist = 'dist/yohobuy/', @@ -32,26 +35,100 @@ var distDir = { font: rootDist + 'assets/font' }; -gulp.task('default', ['compass', 'compass-watch', 'spm-doc']); - -// compass -gulp.task('compass', function() { - gulp.src('sass/**/*.scss') - .pipe( - compass({ - config_file: 'config.rb', - css: 'css', - sass: 'sass' - }) - ).on('error', function(error) { - console.log(error); - this.emit('end'); +gulp.task('default', ['postcss-dev', 'postcss-watch', 'spm-doc']); + + +//根据环境变量生成postcss插件配置 +function postcssEnvPlugin(env) { + var sprites = { + spritesmith: { + padding: 2 + }, + groupBy: function(file) { + + // 根据目录分组,防止合并后的图片太大 + var group = file.url.split('/')[1]; + + return group ? Promise.resolve(group) : Promise.reject(); + }, + filterBy: function(file) { + + //使用resolve转化后静态资源生成../img或者../assets/img/的路径 + if (/\/img/.test(file.url) || /data:image/.test(file.url)) { + return Promise.reject(); + } + return Promise.resolve(); + } + }, + assets; + + if (env === 'DEV') { + assets = { + loadPaths: ['font/', 'img/'], + relativeTo: 'css/' + }; + + Object.assign(sprites, { + basePath: './img', + stylesheetPath: './css', + spritePath: './img' + }); + } else if (env === 'PRO') { + assets = { + loadPaths: [distDir.img, distDir.font], + relativeTo: distDir.css, + cachebuster: function(filePath, urlPathname) { + + //只给字体加no-cache + if (/font\//.test(urlPathname)) { + return fs.statSync(filePath).mtime.getTime().toString(16); + } + } + }; + + Object.assign(sprites, { + basePath: distDir.img, + stylesheetPath: distDir.css, + spritePath: distDir.img }); + } + + return [ + require('autoprefixer')({ + browsers: ['not ie < 8'] + }), + require('precss'), + require('postcss-assets')(assets), + require('postcss-sprites').default(sprites), + require('postcss-calc'), + require('postcss-opacity'), + + //可选 + require('postcss-use')({ + modules: ['postcss-clearfix', 'postcss-crip', 'postcss-short', 'postcss-center', 'postcss-position'] + }) + ]; +} + +//Postcss开发环境 +gulp.task('postcss-dev', function() { + return gulp.src('sass/index.css') + .pipe(sourcemaps.init()) + .pipe(postcss(postcssEnvPlugin('DEV'))) + .pipe(sourcemaps.write('.')) + .pipe(gulp.dest('css/')) +}); + +gulp.task('postcss-watch', function() { + gulp.watch('sass/**/*.css', ['postcss-dev']); }); -// compass watch -gulp.task('compass-watch', function() { - gulp.watch('sass/**/*.scss', ['compass']); +//Postcss正式环境生成 +gulp.task('postcss-pro', ['assets'], function() { + return gulp.src('sass/index.css') + .pipe(postcss(postcssEnvPlugin('PRO'))) + .pipe(cssnano()) + .pipe(gulp.dest(distDir.css)) }); // start spm server @@ -72,10 +149,10 @@ gulp.task('spm-doc', function() { }); //生成发布目录,可用于上传测试机 -gulp.task('ge', ['assets', 'compass-production', 'build', 'script']); +gulp.task('ge', ['assets', 'postcss-pro', 'build']); //发布 -gulp.task('dist', ['assets', 'compass-production', 'build', 'script'], function() { +gulp.task('dist', ['assets', 'postcss-pro', 'build'], function() { var ftpstream = ftp(ftpConfig); return gulp.src('dist/**/') @@ -84,31 +161,16 @@ gulp.task('dist', ['assets', 'compass-production', 'build', 'script'], function( }); //font+img->dist/assets -gulp.task('assets', function() { - gulp.src('img/**') +gulp.task('assets', ['img', 'font']); + +gulp.task('img', function() { + return gulp.src('img/**/*') .pipe(gulp.dest(distDir.img)); - gulp.src('font/*') - .pipe(gulp.dest(distDir.font)); }); -//compass -gulp.task('compass-production', ['assets'], function() { - gulp.src('sass/index.scss') - .pipe( - compass({ - css: distDir.css, - sass: 'sass', - image: distDir.img, - font: distDir.font, - http_path: '/', - style: 'compressed', - sourcemap: false - }) - ) - .on('error', function(error) { - console.log(error); - this.emit('end'); - }); +gulp.task('font', function() { + return gulp.src('font/*') + .pipe(gulp.dest(distDir.font)) }); //spm build @@ -192,9 +254,3 @@ gulp.task('business', ['libs'], function() { .pipe(concat('index.js')) .pipe(gulp.dest(distDir.js)); }); - -//页面需要直接标签引用的JS -gulp.task('script', function() { - gulp.src('plugin/page/**/*') - .pipe(gulp.dest(rootDist)); -}); diff --git a/web-static/huodong/2016xinshili-web/1.0.6/js/home.js b/web-static/huodong/2016xinshili-web/1.0.6/js/home.js new file mode 100644 index 0000000..11e4f12 --- /dev/null +++ b/web-static/huodong/2016xinshili-web/1.0.6/js/home.js @@ -0,0 +1,26 @@ +webpackJsonp([1,0],[function(e,t,n){"use strict";var r=n(1);r(function(){r(".close").on("click",function(e){e.preventDefault(),r(".tip").addClass("hide")}),r.ajax({type:"GET",url:"/cuxiao/xinshili/sendCoupon",data:{random:r.now()},dataType:"json",success:function(e){201===e.code&&r(".tip.geted").removeClass("hide"),201!==e.code&&200!==e.code&&r(".tip.fail").removeClass("hide")}})})},function(e,t,n){var r,i;/*! + * jQuery JavaScript Library v1.12.1 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2016-02-22T19:07Z + */ +!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,o){function a(e){var t=!!e&&"length"in e&&e.length,n=ve.type(e);return"function"===n||ve.isWindow(e)?!1:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function s(e,t,n){if(ve.isFunction(t))return ve.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ve.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(Se.test(t))return ve.filter(t,e,n);t=ve.filter(t,e)}return ve.grep(e,function(e){return ve.inArray(e,t)>-1!==n})}function u(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function l(e){var t={};return ve.each(e.match(qe)||[],function(e,n){t[n]=!0}),t}function c(){se.addEventListener?(se.removeEventListener("DOMContentLoaded",d),n.removeEventListener("load",d)):(se.detachEvent("onreadystatechange",d),n.detachEvent("onload",d))}function d(){(se.addEventListener||"load"===n.event.type||"complete"===se.readyState)&&(c(),ve.ready())}function f(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(Re,"-$1").toLowerCase();if(n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Oe.test(n)?ve.parseJSON(n):n}catch(i){}ve.data(e,t,n)}else n=void 0}return n}function p(e){var t;for(t in e)if(("data"!==t||!ve.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function h(e,t,n,r){if(Fe(e)){var i,o,a=ve.expando,s=e.nodeType,u=s?ve.cache:e,l=s?e[a]:e[a]&&a;if(l&&u[l]&&(r||u[l].data)||void 0!==n||"string"!=typeof t)return l||(l=s?e[a]=ae.pop()||ve.guid++:a),u[l]||(u[l]=s?{}:{toJSON:ve.noop}),"object"!=typeof t&&"function"!=typeof t||(r?u[l]=ve.extend(u[l],t):u[l].data=ve.extend(u[l].data,t)),o=u[l],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[ve.camelCase(t)]=n),"string"==typeof t?(i=o[t],null==i&&(i=o[ve.camelCase(t)])):i=o,i}}function m(e,t,n){if(Fe(e)){var r,i,o=e.nodeType,a=o?ve.cache:e,s=o?e[ve.expando]:ve.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){ve.isArray(t)?t=t.concat(ve.map(t,ve.camelCase)):t in r?t=[t]:(t=ve.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!p(r):!ve.isEmptyObject(r))return}(n||(delete a[s].data,p(a[s])))&&(o?ve.cleanData([e],!0):me.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}function g(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return ve.css(e,t,"")},u=s(),l=n&&n[3]||(ve.cssNumber[t]?"":"px"),c=(ve.cssNumber[t]||"px"!==l&&+u)&&Be.exec(ve.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do o=o||".5",c/=o,ve.style(e,t,c+l);while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function v(e){var t=Je.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function y(e,t){var n,r,i=0,o="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||ve.nodeName(r,t)?o.push(r):ve.merge(o,y(r,t));return void 0===t||t&&ve.nodeName(e,t)?ve.merge([e],o):o}function x(e,t){for(var n,r=0;null!=(n=e[r]);r++)ve._data(n,"globalEval",!t||ve._data(t[r],"globalEval"))}function b(e){ze.test(e.type)&&(e.defaultChecked=e.checked)}function w(e,t,n,r,i){for(var o,a,s,u,l,c,d,f=e.length,p=v(t),h=[],m=0;f>m;m++)if(a=e[m],a||0===a)if("object"===ve.type(a))ve.merge(h,a.nodeType?[a]:a);else if(Ge.test(a)){for(u=u||p.appendChild(t.createElement("div")),l=(Xe.exec(a)||["",""])[1].toLowerCase(),d=Ye[l]||Ye._default,u.innerHTML=d[1]+ve.htmlPrefilter(a)+d[2],o=d[0];o--;)u=u.lastChild;if(!me.leadingWhitespace&&Ve.test(a)&&h.push(t.createTextNode(Ve.exec(a)[0])),!me.tbody)for(a="table"!==l||Qe.test(a)?"<table>"!==d[1]||Qe.test(a)?0:u:u.firstChild,o=a&&a.childNodes.length;o--;)ve.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(ve.merge(h,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=p.lastChild}else h.push(t.createTextNode(a));for(u&&p.removeChild(u),me.appendChecked||ve.grep(y(h,"input"),b),m=0;a=h[m++];)if(r&&ve.inArray(a,r)>-1)i&&i.push(a);else if(s=ve.contains(a.ownerDocument,a),u=y(p.appendChild(a),"script"),s&&x(u),n)for(o=0;a=u[o++];)Ue.test(a.type||"")&&n.push(a);return u=null,p}function T(){return!0}function C(){return!1}function E(){try{return se.activeElement}catch(e){}}function N(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)N(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=C;else if(!i)return e;return 1===o&&(a=i,i=function(e){return ve().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=ve.guid++)),e.each(function(){ve.event.add(this,t,i,r,n)})}function k(e,t){return ve.nodeName(e,"table")&&ve.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function S(e){return e.type=(null!==ve.find.attr(e,"type"))+"/"+e.type,e}function A(e){var t=ut.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function D(e,t){if(1===t.nodeType&&ve.hasData(e)){var n,r,i,o=ve._data(e),a=ve._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)ve.event.add(t,n,s[n][r])}a.data&&(a.data=ve.extend({},a.data))}}function j(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!me.noCloneEvent&&t[ve.expando]){i=ve._data(t);for(r in i.events)ve.removeEvent(t,r,i.handle);t.removeAttribute(ve.expando)}"script"===n&&t.text!==e.text?(S(t).text=e.text,A(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),me.html5Clone&&e.innerHTML&&!ve.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&ze.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function L(e,t,n,r){t=le.apply([],t);var i,o,a,s,u,l,c=0,d=e.length,f=d-1,p=t[0],h=ve.isFunction(p);if(h||d>1&&"string"==typeof p&&!me.checkClone&&st.test(p))return e.each(function(i){var o=e.eq(i);h&&(t[0]=p.call(this,i,o.html())),L(o,t,n,r)});if(d&&(l=w(t,e[0].ownerDocument,!1,e,r),i=l.firstChild,1===l.childNodes.length&&(l=i),i||r)){for(s=ve.map(y(l,"script"),S),a=s.length;d>c;c++)o=l,c!==f&&(o=ve.clone(o,!0,!0),a&&ve.merge(s,y(o,"script"))),n.call(e[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,ve.map(s,A),c=0;a>c;c++)o=s[c],Ue.test(o.type||"")&&!ve._data(o,"globalEval")&&ve.contains(u,o)&&(o.src?ve._evalUrl&&ve._evalUrl(o.src):ve.globalEval((o.text||o.textContent||o.innerHTML||"").replace(lt,"")));l=i=null}return e}function H(e,t,n){for(var r,i=t?ve.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ve.cleanData(y(r)),r.parentNode&&(n&&ve.contains(r.ownerDocument,r)&&x(y(r,"script")),r.parentNode.removeChild(r));return e}function q(e,t){var n=ve(t.createElement(e)).appendTo(t.body),r=ve.css(n[0],"display");return n.detach(),r}function M(e){var t=se,n=pt[e];return n||(n=q(e,t),"none"!==n&&n||(ft=(ft||ve("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(ft[0].contentWindow||ft[0].contentDocument).document,t.write(),t.close(),n=q(e,t),ft.detach()),pt[e]=n),n}function _(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function F(e){if(e in At)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=St.length;n--;)if(e=St[n]+t,e in At)return e}function O(e,t){for(var n,r,i,o=[],a=0,s=e.length;s>a;a++)r=e[a],r.style&&(o[a]=ve._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Ie(r)&&(o[a]=ve._data(r,"olddisplay",M(r.nodeName)))):(i=Ie(r),(n&&"none"!==n||!i)&&ve._data(r,"olddisplay",i?n:ve.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function R(e,t,n){var r=Et.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function P(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=ve.css(e,n+We[o],!0,i)),r?("content"===n&&(a-=ve.css(e,"padding"+We[o],!0,i)),"margin"!==n&&(a-=ve.css(e,"border"+We[o]+"Width",!0,i))):(a+=ve.css(e,"padding"+We[o],!0,i),"padding"!==n&&(a+=ve.css(e,"border"+We[o]+"Width",!0,i)));return a}function B(e,t,r){var i=!0,o="width"===t?e.offsetWidth:e.offsetHeight,a=yt(e),s=me.boxSizing&&"border-box"===ve.css(e,"boxSizing",!1,a);if(se.msFullscreenElement&&n.top!==n&&e.getClientRects().length&&(o=Math.round(100*e.getBoundingClientRect()[t])),0>=o||null==o){if(o=xt(e,t,a),(0>o||null==o)&&(o=e.style[t]),mt.test(o))return o;i=s&&(me.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+P(e,t,r||(s?"border":"content"),i,a)+"px"}function W(e,t,n,r,i){return new W.prototype.init(e,t,n,r,i)}function I(){return n.setTimeout(function(){Dt=void 0}),Dt=ve.now()}function $(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=We[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function z(e,t,n){for(var r,i=(V.tweeners[t]||[]).concat(V.tweeners["*"]),o=0,a=i.length;a>o;o++)if(r=i[o].call(n,t,e))return r}function X(e,t,n){var r,i,o,a,s,u,l,c,d=this,f={},p=e.style,h=e.nodeType&&Ie(e),m=ve._data(e,"fxshow");n.queue||(s=ve._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,ve.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=ve.css(e,"display"),c="none"===l?ve._data(e,"olddisplay")||M(e.nodeName):l,"inline"===c&&"none"===ve.css(e,"float")&&(me.inlineBlockNeedsLayout&&"inline"!==M(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",me.shrinkWrapBlocks()||d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Lt.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;h=!0}f[r]=m&&m[r]||ve.style(e,r)}else l=void 0;if(ve.isEmptyObject(f))"inline"===("none"===l?M(e.nodeName):l)&&(p.display=l);else{m?"hidden"in m&&(h=m.hidden):m=ve._data(e,"fxshow",{}),o&&(m.hidden=!h),h?ve(e).show():d.done(function(){ve(e).hide()}),d.done(function(){var t;ve._removeData(e,"fxshow");for(t in f)ve.style(e,t,f[t])});for(r in f)a=z(h?m[r]:0,r,d),r in m||(m[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function U(e,t){var n,r,i,o,a;for(n in e)if(r=ve.camelCase(n),i=t[r],o=e[n],ve.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=ve.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function V(e,t,n){var r,i,o=0,a=V.prefilters.length,s=ve.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=Dt||I(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;u>a;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),1>o&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:ve.extend({},t),opts:ve.extend(!0,{specialEasing:{},easing:ve.easing._default},n),originalProperties:t,originalOptions:n,startTime:Dt||I(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ve.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(U(c,l.opts.specialEasing);a>o;o++)if(r=V.prefilters[o].call(l,e,c,l.opts))return ve.isFunction(r.stop)&&(ve._queueHooks(l.elem,l.opts.queue).stop=ve.proxy(r.stop,r)),r;return ve.map(c,z,l),ve.isFunction(l.opts.start)&&l.opts.start.call(e,l),ve.fx.timer(ve.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function J(e){return ve.attr(e,"class")||""}function Y(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(qe)||[];if(ve.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function G(e,t,n,r){function i(s){var u;return o[s]=!0,ve.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===tn;return i(t.dataTypes[0])||!o["*"]&&i("*")}function Q(e,t){var n,r,i=ve.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&ve.extend(!0,e,n),e}function K(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){o=a;break}r||(r=a)}o=o||r}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}function Z(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=l[u+" "+o]||l["* "+o],!a)for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[i]:l[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function ee(e){return e.style&&e.style.display||ve.css(e,"display")}function te(e){for(;e&&1===e.nodeType;){if("none"===ee(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function ne(e,t,n,r){var i;if(ve.isArray(t))ve.each(t,function(t,i){n||sn.test(e)?r(e,i):ne(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==ve.type(t))r(e,t);else for(i in t)ne(e+"["+i+"]",t[i],n,r)}function re(){try{return new n.XMLHttpRequest}catch(e){}}function ie(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function oe(e){return ve.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var ae=[],se=n.document,ue=ae.slice,le=ae.concat,ce=ae.push,de=ae.indexOf,fe={},pe=fe.toString,he=fe.hasOwnProperty,me={},ge="1.12.1",ve=function(e,t){return new ve.fn.init(e,t)},ye=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,xe=/^-ms-/,be=/-([\da-z])/gi,we=function(e,t){return t.toUpperCase()};ve.fn=ve.prototype={jquery:ge,constructor:ve,selector:"",length:0,toArray:function(){return ue.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:ue.call(this)},pushStack:function(e){var t=ve.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ve.each(this,e)},map:function(e){return this.pushStack(ve.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ue.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:ae.sort,splice:ae.splice},ve.extend=ve.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||ve.isFunction(a)||(a={}),s===u&&(a=this,s--);u>s;s++)if(null!=(i=arguments[s]))for(r in i)e=a[r],n=i[r],a!==n&&(l&&n&&(ve.isPlainObject(n)||(t=ve.isArray(n)))?(t?(t=!1,o=e&&ve.isArray(e)?e:[]):o=e&&ve.isPlainObject(e)?e:{},a[r]=ve.extend(l,o,n)):void 0!==n&&(a[r]=n));return a},ve.extend({expando:"jQuery"+(ge+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ve.type(e)},isArray:Array.isArray||function(e){return"array"===ve.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!ve.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==ve.type(e)||e.nodeType||ve.isWindow(e))return!1;try{if(e.constructor&&!he.call(e,"constructor")&&!he.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!me.ownFirst)for(t in e)return he.call(e,t);for(t in e);return void 0===t||he.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?fe[pe.call(e)]||"object":typeof e},globalEval:function(e){e&&ve.trim(e)&&(n.execScript||function(e){n.eval.call(n,e)})(e)},camelCase:function(e){return e.replace(xe,"ms-").replace(be,we)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(a(e))for(n=e.length;n>r&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(ye,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(a(Object(e))?ve.merge(n,"string"==typeof e?[e]:e):ce.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(de)return de.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;n>r;)e[i++]=t[r++];if(n!==n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;a>o;o++)r=!t(e[o],o),r!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,i,o=0,s=[];if(a(e))for(r=e.length;r>o;o++)i=t(e[o],o,n),null!=i&&s.push(i);else for(o in e)i=t(e[o],o,n),null!=i&&s.push(i);return le.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(i=e[t],t=e,e=i),ve.isFunction(e)?(n=ue.call(arguments,2),r=function(){return e.apply(t||this,n.concat(ue.call(arguments)))},r.guid=e.guid=e.guid||ve.guid++,r):void 0},now:function(){return+new Date},support:me}),"function"==typeof Symbol&&(ve.fn[Symbol.iterator]=ae[Symbol.iterator]),ve.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){fe["[object "+t+"]"]=t.toLowerCase()});var Te=/*! + * Sizzle CSS Selector Engine v2.2.1 + * http://sizzlejs.com/ + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-10-17 + */ +function(e){function t(e,t,n,r){var i,o,a,s,u,l,d,p,h=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!r&&((t?t.ownerDocument||t:B)!==H&&L(t),t=t||H,M)){if(11!==m&&(l=ve.exec(e)))if(i=l[1]){if(9===m){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(h&&(a=h.getElementById(i))&&R(t,a)&&a.id===i)return n.push(a),n}else{if(l[2])return K.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(i)),n}if(w.qsa&&!X[e+" "]&&(!_||!_.test(e))){if(1!==m)h=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,"\\$&"):t.setAttribute("id",s=P),d=N(e),o=d.length,u=fe.test(s)?"#"+s:"[id='"+s+"']";o--;)d[o]=u+" "+f(d[o]);p=d.join(","),h=ye.test(e)&&c(t.parentNode)||t}if(p)try{return K.apply(n,h.querySelectorAll(p)),n}catch(g){}finally{s===P&&t.removeAttribute("id")}}}return S(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>T.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[P]=!0,e}function i(e){var t=H.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)T.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||V)-(~e.sourceIndex||V);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function f(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=I++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,u,l,c=[W,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(l=t[P]||(t[P]={}),u=l[t.uniqueID]||(l[t.uniqueID]={}),(s=u[r])&&s[0]===W&&s[1]===o)return c[2]=s[2];if(u[r]=c,c[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function m(e,n,r){for(var i=0,o=n.length;o>i;i++)t(e,n[i],r);return r}function g(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;u>s;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function v(e,t,n,i,o,a){return i&&!i[P]&&(i=v(i)),o&&!o[P]&&(o=v(o,a)),r(function(r,a,s,u){var l,c,d,f=[],p=[],h=a.length,v=r||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?v:g(v,f,e,s,u),x=n?o||(r?e:h||i)?[]:a:y;if(n&&n(y,x,s,u),i)for(l=g(x,p),i(l,[],s,u),c=l.length;c--;)(d=l[c])&&(x[p[c]]=!(y[p[c]]=d));if(r){if(o||e){if(o){for(l=[],c=x.length;c--;)(d=x[c])&&l.push(y[c]=d);o(null,x=[],l,u)}for(c=x.length;c--;)(d=x[c])&&(l=o?ee(r,d):f[c])>-1&&(r[l]=!(a[l]=d))}}else x=g(x===a?x.splice(h,x.length):x),o?o(null,a,x,u):K.apply(a,x)})}function y(e){for(var t,n,r,i=e.length,o=T.relative[e[0].type],a=o||T.relative[" "],s=o?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==A)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];i>s;s++)if(n=T.relative[e[s].type])c=[p(h(c),n)];else{if(n=T.filter[e[s].type].apply(null,e[s].matches),n[P]){for(r=++s;i>r&&!T.relative[e[r].type];r++);return v(s>1&&h(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,r>s&&y(e.slice(s,r)),i>r&&y(e=e.slice(r)),i>r&&f(e))}c.push(n)}return h(c)}function x(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,d,f,p=0,h="0",m=r&&[],v=[],y=A,x=r||o&&T.find.TAG("*",l),b=W+=null==y?1:Math.random()||.1,w=x.length;for(l&&(A=a===H||a||l);h!==w&&null!=(c=x[h]);h++){if(o&&c){for(d=0,a||c.ownerDocument===H||(L(c),s=!M);f=e[d++];)if(f(c,a||H,s)){u.push(c);break}l&&(W=b)}i&&((c=!f&&c)&&p--,r&&m.push(c))}if(p+=h,i&&h!==p){for(d=0;f=n[d++];)f(m,v,a,s);if(r){if(p>0)for(;h--;)m[h]||v[h]||(v[h]=G.call(u));v=g(v)}K.apply(u,v),l&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(W=b,A=y),m};return i?r(a):a}var b,w,T,C,E,N,k,S,A,D,j,L,H,q,M,_,F,O,R,P="sizzle"+1*new Date,B=e.document,W=0,I=0,$=n(),z=n(),X=n(),U=function(e,t){return e===t&&(j=!0),0},V=1<<31,J={}.hasOwnProperty,Y=[],G=Y.pop,Q=Y.push,K=Y.push,Z=Y.slice,ee=function(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ie="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",oe=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(oe),fe=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,xe=/'|\\/g,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Te=function(){L()};try{K.apply(Y=Z.call(B.childNodes),B.childNodes),Y[B.childNodes.length].nodeType}catch(Ce){K={apply:Y.length?function(e,t){Q.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},L=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:B;return r!==H&&9===r.nodeType&&r.documentElement?(H=r,q=H.documentElement,M=!E(H),(n=H.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Te,!1):n.attachEvent&&n.attachEvent("onunload",Te)),w.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=i(function(e){return e.appendChild(H.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ge.test(H.getElementsByClassName),w.getById=i(function(e){return q.appendChild(e).id=P,!H.getElementsByName||!H.getElementsByName(P).length}),w.getById?(T.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&M){var n=t.getElementById(e);return n?[n]:[]}},T.filter.ID=function(e){var t=e.replace(be,we);return function(e){return e.getAttribute("id")===t}}):(delete T.find.ID,T.filter.ID=function(e){var t=e.replace(be,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),T.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},T.find.CLASS=w.getElementsByClassName&&function(e,t){return"undefined"!=typeof t.getElementsByClassName&&M?t.getElementsByClassName(e):void 0},F=[],_=[],(w.qsa=ge.test(H.querySelectorAll))&&(i(function(e){q.appendChild(e).innerHTML="<a id='"+P+"'></a><select id='"+P+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&_.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||_.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+P+"-]").length||_.push("~="),e.querySelectorAll(":checked").length||_.push(":checked"),e.querySelectorAll("a#"+P+"+*").length||_.push(".#.+[+~]")}),i(function(e){var t=H.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&_.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||_.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),_.push(",.*:")})),(w.matchesSelector=ge.test(O=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(e){w.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),F.push("!=",oe)}),_=_.length&&new RegExp(_.join("|")),F=F.length&&new RegExp(F.join("|")),t=ge.test(q.compareDocumentPosition),R=t||ge.test(q.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=t?function(e,t){if(e===t)return j=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===H||e.ownerDocument===B&&R(B,e)?-1:t===H||t.ownerDocument===B&&R(B,t)?1:D?ee(D,e)-ee(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return j=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===H?-1:t===H?1:i?-1:o?1:D?ee(D,e)-ee(D,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===B?-1:u[r]===B?1:0},H):H},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==H&&L(e),n=n.replace(ce,"='$1']"),w.matchesSelector&&M&&!X[n+" "]&&(!F||!F.test(n))&&(!_||!_.test(n)))try{var r=O.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return t(n,H,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==H&&L(e),R(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==H&&L(e);var n=T.attrHandle[t.toLowerCase()],r=n&&J.call(T.attrHandle,t.toLowerCase())?n(e,t,!M):void 0;return void 0!==r?r:w.attributes||!M?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(j=!w.detectDuplicates,D=!w.sortStable&&e.slice(0),e.sort(U),j){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return D=null,e},C=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=C(t);return n},T=t.selectors={cacheLength:50,createPseudo:r,match:pe,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(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===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,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=N(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:n?(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ae," ")+" ").indexOf(r)>-1:"|="===n?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,d,f,p,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,x=!1;if(g){if(o){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(f=g,d=f[P]||(f[P]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),l=c[e]||[],p=l[0]===W&&l[1],x=p&&l[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(x=p=0)||h.pop();)if(1===f.nodeType&&++x&&f===t){c[e]=[W,p,x];break}}else if(y&&(f=t,d=f[P]||(f[P]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),l=c[e]||[],p=l[0]===W&&l[1],x=p),x===!1)for(;(f=++p&&f&&f[m]||(x=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++x||(y&&(d=f[P]||(f[P]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),c[e]=[W,x]),f!==t)););return x-=i,x===r||x%r===0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=T.pseudos[e]||T.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[P]?o(n):o.length>1?(i=[e,e,"",n],T.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=ee(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(se,"$1"));return i[P]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,we),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,we).toLowerCase(),function(t){var n;do if(n=M?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===q},focus:function(e){return e===H.activeElement&&(!H.hasFocus||H.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!T.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[0>n?n+t:n]}),even:l(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},T.pseudos.nth=T.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[b]=s(b);for(b in{submit:!0,reset:!0})T.pseudos[b]=u(b);return d.prototype=T.filters=T.pseudos,T.setFilters=new d,N=t.tokenize=function(e,n){var r,i,o,a,s,u,l,c=z[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=T.preFilter;s;){r&&!(i=ue.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=le.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(se," ")}),s=s.slice(r.length));for(a in T.filter)!(i=pe[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):z(e,u).slice(0)},k=t.compile=function(e,t){var n,r=[],i=[],o=X[e+" "];if(!o){for(t||(t=N(e)),n=t.length;n--;)o=y(t[n]),o[P]?r.push(o):i.push(o);o=X(e,x(i,r)),o.selector=e}return o},S=t.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,d=!r&&N(e=l.selector||e);if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&w.getById&&9===t.nodeType&&M&&T.relative[o[1].type]){if(t=(T.find.ID(a.matches[0].replace(be,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=pe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!T.relative[s=a.type]);)if((u=T.find[s])&&(r=u(a.matches[0].replace(be,we),ye.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&f(o),!e)return K.apply(n,r),n;break}}return(l||k(e,d))(r,t,!M,n,!t||ye.test(e)&&c(t.parentNode)||t),n},w.sortStable=P.split("").sort(U).join("")===P,w.detectDuplicates=!!j,L(),w.sortDetached=i(function(e){return 1&e.compareDocumentPosition(H.createElement("div"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);ve.find=Te,ve.expr=Te.selectors,ve.expr[":"]=ve.expr.pseudos,ve.uniqueSort=ve.unique=Te.uniqueSort,ve.text=Te.getText,ve.isXMLDoc=Te.isXML,ve.contains=Te.contains;var Ce=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&ve(e).is(n))break;r.push(e)}return r},Ee=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ne=ve.expr.match.needsContext,ke=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Se=/^.[^:#\[\.,]*$/;ve.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ve.find.matchesSelector(r,e)?[r]:[]:ve.find.matches(e,ve.grep(t,function(e){return 1===e.nodeType}))},ve.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(ve(e).filter(function(){for(t=0;i>t;t++)if(ve.contains(r[t],this))return!0}));for(t=0;i>t;t++)ve.find(e,r[t],n);return n=this.pushStack(i>1?ve.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&Ne.test(e)?ve(e):e||[],!1).length}});var Ae,De=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,je=ve.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ae,"string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:De.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ve?t[0]:t,ve.merge(this,ve.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),ke.test(r[1])&&ve.isPlainObject(t))for(r in t)ve.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if(i=se.getElementById(r[2]),i&&i.parentNode){if(i.id!==r[2])return Ae.find(e);this.length=1,this[0]=i}return this.context=se,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ve.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(ve):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ve.makeArray(e,this))};je.prototype=ve.fn,Ae=ve(se);var Le=/^(?:parents|prev(?:Until|All))/,He={children:!0,contents:!0,next:!0,prev:!0};ve.fn.extend({has:function(e){var t,n=ve(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(ve.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=Ne.test(e)||"string"!=typeof e?ve(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&ve.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?ve.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?ve.inArray(this[0],ve(e)):ve.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ve.uniqueSort(ve.merge(this.get(),ve(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ve.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ce(e,"parentNode")},parentsUntil:function(e,t,n){return Ce(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return Ce(e,"nextSibling")},prevAll:function(e){return Ce(e,"previousSibling")},nextUntil:function(e,t,n){return Ce(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ce(e,"previousSibling",n)},siblings:function(e){return Ee((e.parentNode||{}).firstChild,e)},children:function(e){return Ee(e.firstChild)},contents:function(e){return ve.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ve.merge([],e.childNodes)}},function(e,t){ve.fn[e]=function(n,r){var i=ve.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=ve.filter(r,i)),this.length>1&&(He[e]||(i=ve.uniqueSort(i)),Le.test(e)&&(i=i.reverse())),this.pushStack(i)}});var qe=/\S+/g;ve.Callbacks=function(e){e="string"==typeof e?l(e):ve.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)o[s].apply(n[0],n[1])===!1&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function r(t){ve.each(t,function(t,n){ve.isFunction(n)?e.unique&&c.has(n)||o.push(n):n&&n.length&&"string"!==ve.type(n)&&r(n)})}(arguments),n&&!t&&u()),this},remove:function(){return ve.each(arguments,function(e,t){for(var n;(n=ve.inArray(t,o,n))>-1;)o.splice(n,1),s>=n&&s--}),this},has:function(e){return e?ve.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=!0,n||c.disable(),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},ve.extend({Deferred:function(e){var t=[["resolve","done",ve.Callbacks("once memory"),"resolved"],["reject","fail",ve.Callbacks("once memory"),"rejected"],["notify","progress",ve.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ve.Deferred(function(n){ve.each(t,function(t,o){var a=ve.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&ve.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ve.extend(e,r):r}},i={};return r.pipe=r.then,ve.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=ue.call(arguments),a=o.length,s=1!==a||e&&ve.isFunction(e.promise)?a:0,u=1===s?e:ve.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?ue.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&ve.isFunction(o[i].promise)?o[i].promise().progress(l(i,n,t)).done(l(i,r,o)).fail(u.reject):--s;return s||u.resolveWith(r,o),u.promise()}});var Me;ve.fn.ready=function(e){return ve.ready.promise().done(e),this},ve.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ve.readyWait++:ve.ready(!0)},ready:function(e){(e===!0?--ve.readyWait:ve.isReady)||(ve.isReady=!0,e!==!0&&--ve.readyWait>0||(Me.resolveWith(se,[ve]),ve.fn.triggerHandler&&(ve(se).triggerHandler("ready"),ve(se).off("ready"))))}}),ve.ready.promise=function(e){if(!Me)if(Me=ve.Deferred(),"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll)n.setTimeout(ve.ready);else if(se.addEventListener)se.addEventListener("DOMContentLoaded",d),n.addEventListener("load",d);else{se.attachEvent("onreadystatechange",d),n.attachEvent("onload",d);var t=!1;try{t=null==n.frameElement&&se.documentElement}catch(r){}t&&t.doScroll&&!function i(){if(!ve.isReady){try{t.doScroll("left")}catch(e){return n.setTimeout(i,50)}c(),ve.ready()}}()}return Me.promise(e)},ve.ready.promise();var _e;for(_e in ve(me))break;me.ownFirst="0"===_e,me.inlineBlockNeedsLayout=!1,ve(function(){var e,t,n,r;n=se.getElementsByTagName("body")[0],n&&n.style&&(t=se.createElement("div"),r=se.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",me.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=se.createElement("div");me.deleteExpando=!0;try{delete e.test}catch(t){me.deleteExpando=!1}e=null}();var Fe=function(e){var t=ve.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return 1!==n&&9!==n?!1:!t||t!==!0&&e.getAttribute("classid")===t},Oe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Re=/([A-Z])/g;ve.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?ve.cache[e[ve.expando]]:e[ve.expando],!!e&&!p(e)},data:function(e,t,n){return h(e,t,n)},removeData:function(e,t){return m(e,t)},_data:function(e,t,n){return h(e,t,n,!0)},_removeData:function(e,t){return m(e,t,!0)}}),ve.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=ve.data(o),1===o.nodeType&&!ve._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=ve.camelCase(r.slice(5)),f(o,r,i[r])));ve._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){ve.data(this,e)}):arguments.length>1?this.each(function(){ve.data(this,e,t)}):o?f(o,e,ve.data(o,e)):void 0},removeData:function(e){return this.each(function(){ve.removeData(this,e)})}}),ve.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=ve._data(e,t),n&&(!r||ve.isArray(n)?r=ve._data(e,t,ve.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=ve.queue(e,t),r=n.length,i=n.shift(),o=ve._queueHooks(e,t),a=function(){ve.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ve._data(e,n)||ve._data(e,n,{empty:ve.Callbacks("once memory").add(function(){ve._removeData(e,t+"queue"),ve._removeData(e,n)})})}}),ve.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ve.queue(this[0],e):void 0===t?this:this.each(function(){var n=ve.queue(this,e,t);ve._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ve.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ve.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ve.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=ve._data(o[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}}),function(){var e;me.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,r;return n=se.getElementsByTagName("body")[0],n&&n.style?(t=se.createElement("div"),r=se.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(se.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(r),e):void 0}}();var Pe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Be=new RegExp("^(?:([+-])=|)("+Pe+")([a-z%]*)$","i"),We=["Top","Right","Bottom","Left"],Ie=function(e,t){return e=t||e,"none"===ve.css(e,"display")||!ve.contains(e.ownerDocument,e)},$e=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===ve.type(n)){i=!0;for(s in n)$e(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,ve.isFunction(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ve(e),n)})),t))for(;u>s;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},ze=/^(?:checkbox|radio)$/i,Xe=/<([\w:-]+)/,Ue=/^$|\/(?:java|ecma)script/i,Ve=/^\s+/,Je="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var e=se.createElement("div"),t=se.createDocumentFragment(),n=se.createElement("input");e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",me.leadingWhitespace=3===e.firstChild.nodeType,me.tbody=!e.getElementsByTagName("tbody").length,me.htmlSerialize=!!e.getElementsByTagName("link").length,me.html5Clone="<:nav></:nav>"!==se.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),me.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",me.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=se.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),me.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,me.noCloneEvent=!!e.addEventListener,e[ve.expando]=1,me.attributes=!e.getAttribute(ve.expando)}();var Ye={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:me.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Ye.optgroup=Ye.option,Ye.tbody=Ye.tfoot=Ye.colgroup=Ye.caption=Ye.thead,Ye.th=Ye.td;var Ge=/<|&#?\w+;/,Qe=/<tbody/i;!function(){var e,t,r=se.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(me[e]=t in n)||(r.setAttribute(t,"t"),me[e]=r.attributes[t].expando===!1);r=null}(); +var Ke=/^(?:input|select|textarea)$/i,Ze=/^key/,et=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,tt=/^(?:focusinfocus|focusoutblur)$/,nt=/^([^.]*)(?:\.(.+)|)/;ve.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,d,f,p,h,m,g=ve._data(e);if(g){for(n.handler&&(u=n,n=u.handler,i=u.selector),n.guid||(n.guid=ve.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||(c=g.handle=function(e){return"undefined"==typeof ve||e&&ve.event.triggered===e.type?void 0:ve.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(qe)||[""],s=t.length;s--;)o=nt.exec(t[s])||[],p=m=o[1],h=(o[2]||"").split(".").sort(),p&&(l=ve.event.special[p]||{},p=(i?l.delegateType:l.bindType)||p,l=ve.event.special[p]||{},d=ve.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ve.expr.match.needsContext.test(i),namespace:h.join(".")},u),(f=a[p])||(f=a[p]=[],f.delegateCount=0,l.setup&&l.setup.call(e,r,h,c)!==!1||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),l.add&&(l.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,d):f.push(d),ve.event.global[p]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,d,f,p,h,m,g=ve.hasData(e)&&ve._data(e);if(g&&(c=g.events)){for(t=(t||"").match(qe)||[""],l=t.length;l--;)if(s=nt.exec(t[l])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p){for(d=ve.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,f=c[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=f.length;o--;)a=f[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,d.remove&&d.remove.call(e,a));u&&!f.length&&(d.teardown&&d.teardown.call(e,h,g.handle)!==!1||ve.removeEvent(e,p,g.handle),delete c[p])}else for(p in c)ve.event.remove(e,p+t[l],n,r,!0);ve.isEmptyObject(c)&&(delete g.handle,ve._removeData(e,"events"))}},trigger:function(e,t,r,i){var o,a,s,u,l,c,d,f=[r||se],p=he.call(e,"type")?e.type:e,h=he.call(e,"namespace")?e.namespace.split("."):[];if(s=c=r=r||se,3!==r.nodeType&&8!==r.nodeType&&!tt.test(p+ve.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,e=e[ve.expando]?e:new ve.Event(p,"object"==typeof e&&e),e.isTrigger=i?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:ve.makeArray(t,[e]),l=ve.event.special[p]||{},i||!l.trigger||l.trigger.apply(r,t)!==!1)){if(!i&&!l.noBubble&&!ve.isWindow(r)){for(u=l.delegateType||p,tt.test(u+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),c=s;c===(r.ownerDocument||se)&&f.push(c.defaultView||c.parentWindow||n)}for(d=0;(s=f[d++])&&!e.isPropagationStopped();)e.type=d>1?u:l.bindType||p,o=(ve._data(s,"events")||{})[e.type]&&ve._data(s,"handle"),o&&o.apply(s,t),o=a&&s[a],o&&o.apply&&Fe(s)&&(e.result=o.apply(s,t),e.result===!1&&e.preventDefault());if(e.type=p,!i&&!e.isDefaultPrevented()&&(!l._default||l._default.apply(f.pop(),t)===!1)&&Fe(r)&&a&&r[p]&&!ve.isWindow(r)){c=r[a],c&&(r[a]=null),ve.event.triggered=p;try{r[p]()}catch(m){}ve.event.triggered=void 0,c&&(r[a]=c)}return e.result}},dispatch:function(e){e=ve.event.fix(e);var t,n,r,i,o,a=[],s=ue.call(arguments),u=(ve._data(this,"events")||{})[e.type]||[],l=ve.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(a=ve.event.handlers.call(this,e,u),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,r=((ve.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],n=0;s>n;n++)o=t[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?ve(i,this).index(u)>-1:ve.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[ve.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=et.test(i)?this.mouseHooks:Ze.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new ve.Event(o),t=r.length;t--;)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||se),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail 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 fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=e.target.ownerDocument||se,i=r.documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==E()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===E()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return ve.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(e){return ve.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var r=ve.extend(new ve.Event,n,{type:e,isSimulated:!0});ve.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}},ve.removeEvent=se.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var r="on"+t;e.detachEvent&&("undefined"==typeof e[r]&&(e[r]=null),e.detachEvent(r,n))},ve.Event=function(e,t){return this instanceof ve.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?T:C):this.type=e,t&&ve.extend(this,t),this.timeStamp=e&&e.timeStamp||ve.now(),void(this[ve.expando]=!0)):new ve.Event(e,t)},ve.Event.prototype={constructor:ve.Event,isDefaultPrevented:C,isPropagationStopped:C,isImmediatePropagationStopped:C,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=T,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=T,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=T,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},ve.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ve.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||ve.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),me.submit||(ve.event.special.submit={setup:function(){return ve.nodeName(this,"form")?!1:void ve.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=ve.nodeName(t,"input")||ve.nodeName(t,"button")?ve.prop(t,"form"):void 0;n&&!ve._data(n,"submit")&&(ve.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),ve._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&ve.event.simulate("submit",this.parentNode,e))},teardown:function(){return ve.nodeName(this,"form")?!1:void ve.event.remove(this,"._submit")}}),me.change||(ve.event.special.change={setup:function(){return Ke.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(ve.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),ve.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),ve.event.simulate("change",this,e)})),!1):void ve.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ke.test(t.nodeName)&&!ve._data(t,"change")&&(ve.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ve.event.simulate("change",this.parentNode,e)}),ve._data(t,"change",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return ve.event.remove(this,"._change"),!Ke.test(this.nodeName)}}),me.focusin||ve.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ve.event.simulate(t,e.target,ve.event.fix(e))};ve.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=ve._data(r,t);i||r.addEventListener(e,n,!0),ve._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=ve._data(r,t)-1;i?ve._data(r,t,i):(r.removeEventListener(e,n,!0),ve._removeData(r,t))}}}),ve.fn.extend({on:function(e,t,n,r){return N(this,e,t,n,r)},one:function(e,t,n,r){return N(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ve(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=C),this.each(function(){ve.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){ve.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?ve.event.trigger(e,t,n,!0):void 0}});var rt=/ jQuery\d+="(?:null|\d+)"/g,it=new RegExp("<(?:"+Je+")[\\s/>]","i"),ot=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,at=/<script|<style|<link/i,st=/checked\s*(?:[^=]|=\s*.checked.)/i,ut=/^true\/(.*)/,lt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ct=v(se),dt=ct.appendChild(se.createElement("div"));ve.extend({htmlPrefilter:function(e){return e.replace(ot,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,u=ve.contains(e.ownerDocument,e);if(me.html5Clone||ve.isXMLDoc(e)||!it.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(dt.innerHTML=e.outerHTML,dt.removeChild(o=dt.firstChild)),!(me.noCloneEvent&&me.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ve.isXMLDoc(e)))for(r=y(o),s=y(e),a=0;null!=(i=s[a]);++a)r[a]&&j(i,r[a]);if(t)if(n)for(s=s||y(e),r=r||y(o),a=0;null!=(i=s[a]);a++)D(i,r[a]);else D(e,o);return r=y(o,"script"),r.length>0&&x(r,!u&&y(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var n,r,i,o,a=0,s=ve.expando,u=ve.cache,l=me.attributes,c=ve.event.special;null!=(n=e[a]);a++)if((t||Fe(n))&&(i=n[s],o=i&&u[i])){if(o.events)for(r in o.events)c[r]?ve.event.remove(n,r):ve.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l||"undefined"==typeof n.removeAttribute?n[s]=void 0:n.removeAttribute(s),ae.push(i))}}}),ve.fn.extend({domManip:L,detach:function(e){return H(this,e,!0)},remove:function(e){return H(this,e)},text:function(e){return $e(this,function(e){return void 0===e?ve.text(this):this.empty().append((this[0]&&this[0].ownerDocument||se).createTextNode(e))},null,e,arguments.length)},append:function(){return L(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=k(this,e);t.appendChild(e)}})},prepend:function(){return L(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=k(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return L(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return L(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&ve.cleanData(y(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&ve.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return ve.clone(this,e,t)})},html:function(e){return $e(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(rt,""):void 0;if("string"==typeof e&&!at.test(e)&&(me.htmlSerialize||!it.test(e))&&(me.leadingWhitespace||!Ve.test(e))&&!Ye[(Xe.exec(e)||["",""])[1].toLowerCase()]){e=ve.htmlPrefilter(e);try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(ve.cleanData(y(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return L(this,arguments,function(t){var n=this.parentNode;ve.inArray(this,e)<0&&(ve.cleanData(y(this)),n&&n.replaceChild(t,this))},e)}}),ve.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ve.fn[e]=function(e){for(var n,r=0,i=[],o=ve(e),a=o.length-1;a>=r;r++)n=r===a?this:this.clone(!0),ve(o[r])[t](n),ce.apply(i,n.get());return this.pushStack(i)}});var ft,pt={HTML:"block",BODY:"block"},ht=/^margin/,mt=new RegExp("^("+Pe+")(?!px)[a-z%]+$","i"),gt=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i},vt=se.documentElement;!function(){function e(){var e,c,d=se.documentElement;d.appendChild(u),l.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",t=i=s=!1,r=a=!0,n.getComputedStyle&&(c=n.getComputedStyle(l),t="1%"!==(c||{}).top,s="2px"===(c||{}).marginLeft,i="4px"===(c||{width:"4px"}).width,l.style.marginRight="50%",r="4px"===(c||{marginRight:"4px"}).marginRight,e=l.appendChild(se.createElement("div")),e.style.cssText=l.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",l.style.width="1px",a=!parseFloat((n.getComputedStyle(e)||{}).marginRight),l.removeChild(e)),l.style.display="none",o=0===l.getClientRects().length,o&&(l.style.display="",l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",e=l.getElementsByTagName("td"),e[0].style.cssText="margin:0;border:0;padding:0;display:none",o=0===e[0].offsetHeight,o&&(e[0].style.display="",e[1].style.display="none",o=0===e[0].offsetHeight)),d.removeChild(u)}var t,r,i,o,a,s,u=se.createElement("div"),l=se.createElement("div");l.style&&(l.style.cssText="float:left;opacity:.5",me.opacity="0.5"===l.style.opacity,me.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",me.clearCloneStyle="content-box"===l.style.backgroundClip,u=se.createElement("div"),u.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",u.appendChild(l),me.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,ve.extend(me,{reliableHiddenOffsets:function(){return null==t&&e(),o},boxSizingReliable:function(){return null==t&&e(),i},pixelMarginRight:function(){return null==t&&e(),r},pixelPosition:function(){return null==t&&e(),t},reliableMarginRight:function(){return null==t&&e(),a},reliableMarginLeft:function(){return null==t&&e(),s}}))}();var yt,xt,bt=/^(top|right|bottom|left)$/;n.getComputedStyle?(yt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},xt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||yt(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||ve.contains(e.ownerDocument,e)||(a=ve.style(e,t)),n&&!me.pixelMarginRight()&&mt.test(a)&&ht.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o),void 0===a?a:a+""}):vt.currentStyle&&(yt=function(e){return e.currentStyle},xt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||yt(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),mt.test(a)&&!bt.test(t)&&(r=s.left,i=e.runtimeStyle,o=i&&i.left,o&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"});var wt=/alpha\([^)]*\)/i,Tt=/opacity\s*=\s*([^)]*)/i,Ct=/^(none|table(?!-c[ea]).+)/,Et=new RegExp("^("+Pe+")(.*)$","i"),Nt={position:"absolute",visibility:"hidden",display:"block"},kt={letterSpacing:"0",fontWeight:"400"},St=["Webkit","O","Moz","ms"],At=se.createElement("div").style;ve.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=xt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,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":me.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=ve.camelCase(t),u=e.style;if(t=ve.cssProps[s]||(ve.cssProps[s]=F(s)||s),a=ve.cssHooks[t]||ve.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];if(o=typeof n,"string"===o&&(i=Be.exec(n))&&i[1]&&(n=g(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(ve.cssNumber[s]?"":"px")),me.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{u[t]=n}catch(l){}}},css:function(e,t,n,r){var i,o,a,s=ve.camelCase(t);return t=ve.cssProps[s]||(ve.cssProps[s]=F(s)||s),a=ve.cssHooks[t]||ve.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=xt(e,t,r)),"normal"===o&&t in kt&&(o=kt[t]),""===n||n?(i=parseFloat(o),n===!0||isFinite(i)?i||0:o):o}}),ve.each(["height","width"],function(e,t){ve.cssHooks[t]={get:function(e,n,r){return n?Ct.test(ve.css(e,"display"))&&0===e.offsetWidth?gt(e,Nt,function(){return B(e,t,r)}):B(e,t,r):void 0},set:function(e,n,r){var i=r&&yt(e);return R(e,n,r?P(e,t,r,me.boxSizing&&"border-box"===ve.css(e,"boxSizing",!1,i),i):0)}}}),me.opacity||(ve.cssHooks.opacity={get:function(e,t){return Tt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=ve.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ve.trim(o.replace(wt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=wt.test(o)?o.replace(wt,i):o+" "+i)}}),ve.cssHooks.marginRight=_(me.reliableMarginRight,function(e,t){return t?gt(e,{display:"inline-block"},xt,[e,"marginRight"]):void 0}),ve.cssHooks.marginLeft=_(me.reliableMarginLeft,function(e,t){return t?(parseFloat(xt(e,"marginLeft"))||(ve.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-gt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px":void 0}),ve.each({margin:"",padding:"",border:"Width"},function(e,t){ve.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[e+We[r]+t]=o[r]||o[r-2]||o[0];return i}},ht.test(e)||(ve.cssHooks[e+t].set=R)}),ve.fn.extend({css:function(e,t){return $e(this,function(e,t,n){var r,i,o={},a=0;if(ve.isArray(t)){for(r=yt(e),i=t.length;i>a;a++)o[t[a]]=ve.css(e,t[a],!1,r);return o}return void 0!==n?ve.style(e,t,n):ve.css(e,t)},e,t,arguments.length>1)},show:function(){return O(this,!0)},hide:function(){return O(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ie(this)?ve(this).show():ve(this).hide()})}}),ve.Tween=W,W.prototype={constructor:W,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ve.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ve.cssNumber[n]?"":"px")},cur:function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},run:function(e){var t,n=W.propHooks[this.prop];return this.options.duration?this.pos=t=ve.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),n&&n.set?n.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ve.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ve.fx.step[e.prop]?ve.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ve.cssProps[e.prop]]&&!ve.cssHooks[e.prop]?e.elem[e.prop]=e.now:ve.style(e.elem,e.prop,e.now+e.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ve.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ve.fx=W.prototype.init,ve.fx.step={};var Dt,jt,Lt=/^(?:toggle|show|hide)$/,Ht=/queueHooks$/;ve.Animation=ve.extend(V,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return g(n.elem,e,Be.exec(t),n),n}]},tweener:function(e,t){ve.isFunction(e)?(t=e,e=["*"]):e=e.match(qe);for(var n,r=0,i=e.length;i>r;r++)n=e[r],V.tweeners[n]=V.tweeners[n]||[],V.tweeners[n].unshift(t)},prefilters:[X],prefilter:function(e,t){t?V.prefilters.unshift(e):V.prefilters.push(e)}}),ve.speed=function(e,t,n){var r=e&&"object"==typeof e?ve.extend({},e):{complete:n||!n&&t||ve.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ve.isFunction(t)&&t};return r.duration=ve.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ve.fx.speeds?ve.fx.speeds[r.duration]:ve.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){ve.isFunction(r.old)&&r.old.call(this),r.queue&&ve.dequeue(this,r.queue)},r},ve.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ie).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=ve.isEmptyObject(e),o=ve.speed(t,n,r),a=function(){var t=V(this,ve.extend({},e),o);(i||ve._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=ve.timers,a=ve._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&Ht.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||ve.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=ve._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=ve.timers,a=r?r.length:0;for(n.finish=!0,ve.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),ve.each(["toggle","show","hide"],function(e,t){var n=ve.fn[t];ve.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate($(t,!0),e,r,i)}}),ve.each({slideDown:$("show"),slideUp:$("hide"),slideToggle:$("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ve.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),ve.timers=[],ve.fx.tick=function(){var e,t=ve.timers,n=0;for(Dt=ve.now();n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||ve.fx.stop(),Dt=void 0},ve.fx.timer=function(e){ve.timers.push(e),e()?ve.fx.start():ve.timers.pop()},ve.fx.interval=13,ve.fx.start=function(){jt||(jt=n.setInterval(ve.fx.tick,ve.fx.interval))},ve.fx.stop=function(){n.clearInterval(jt),jt=null},ve.fx.speeds={slow:600,fast:200,_default:400},ve.fn.delay=function(e,t){return e=ve.fx?ve.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}})},function(){var e,t=se.createElement("input"),n=se.createElement("div"),r=se.createElement("select"),i=r.appendChild(se.createElement("option"));n=se.createElement("div"),n.setAttribute("className","t"),n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),e=n.getElementsByTagName("a")[0],e.style.cssText="top:1px",me.getSetAttribute="t"!==n.className,me.style=/top/.test(e.getAttribute("style")),me.hrefNormalized="/a"===e.getAttribute("href"),me.checkOn=!!t.value,me.optSelected=i.selected,me.enctype=!!se.createElement("form").enctype,r.disabled=!0,me.optDisabled=!i.disabled,t=se.createElement("input"),t.setAttribute("value",""),me.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),me.radioValue="t"===t.value}();var qt=/\r/g;ve.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=ve.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,ve(this).val()):e,null==i?i="":"number"==typeof i?i+="":ve.isArray(i)&&(i=ve.map(i,function(e){return null==e?"":e+""})),t=ve.valHooks[this.type]||ve.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return t=ve.valHooks[i.type]||ve.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(qt,""):null==n?"":n)}}}),ve.extend({valHooks:{option:{get:function(e){var t=ve.find.attr(e,"value");return null!=t?t:ve.trim(ve.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;s>u;u++)if(n=r[u],(n.selected||u===i)&&(me.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ve.nodeName(n.parentNode,"optgroup"))){if(t=ve(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=ve.makeArray(t),a=i.length;a--;)if(r=i[a],ve.inArray(ve.valHooks.option.get(r),o)>=0)try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),ve.each(["radio","checkbox"],function(){ve.valHooks[this]={set:function(e,t){return ve.isArray(t)?e.checked=ve.inArray(ve(e).val(),t)>-1:void 0}},me.checkOn||(ve.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Mt,_t,Ft=ve.expr.attrHandle,Ot=/^(?:checked|selected)$/i,Rt=me.getSetAttribute,Pt=me.input;ve.fn.extend({attr:function(e,t){return $e(this,ve.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ve.removeAttr(this,e)})}}),ve.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ve.prop(e,t,n):(1===o&&ve.isXMLDoc(e)||(t=t.toLowerCase(),i=ve.attrHooks[t]||(ve.expr.match.bool.test(t)?_t:Mt)),void 0!==n?null===n?void ve.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=ve.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!me.radioValue&&"radio"===t&&ve.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(qe);if(o&&1===e.nodeType)for(;n=o[i++];)r=ve.propFix[n]||n,ve.expr.match.bool.test(n)?Pt&&Rt||!Ot.test(n)?e[r]=!1:e[ve.camelCase("default-"+n)]=e[r]=!1:ve.attr(e,n,""),e.removeAttribute(Rt?n:r)}}),_t={set:function(e,t,n){return t===!1?ve.removeAttr(e,n):Pt&&Rt||!Ot.test(n)?e.setAttribute(!Rt&&ve.propFix[n]||n,n):e[ve.camelCase("default-"+n)]=e[n]=!0,n}},ve.each(ve.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ft[t]||ve.find.attr;Pt&&Rt||!Ot.test(t)?Ft[t]=function(e,t,r){var i,o;return r||(o=Ft[t],Ft[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,Ft[t]=o),i}:Ft[t]=function(e,t,n){return n?void 0:e[ve.camelCase("default-"+t)]?t.toLowerCase():null}}),Pt&&Rt||(ve.attrHooks.value={set:function(e,t,n){return ve.nodeName(e,"input")?void(e.defaultValue=t):Mt&&Mt.set(e,t,n)}}),Rt||(Mt={set:function(e,t,n){var r=e.getAttributeNode(n);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n)?t:void 0}},Ft.id=Ft.name=Ft.coords=function(e,t,n){var r;return n?void 0:(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},ve.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:void 0},set:Mt.set},ve.attrHooks.contenteditable={set:function(e,t,n){Mt.set(e,""===t?!1:t,n)}},ve.each(["width","height"],function(e,t){ve.attrHooks[t]={set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}}})),me.style||(ve.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Bt=/^(?:input|select|textarea|button|object)$/i,Wt=/^(?:a|area)$/i;ve.fn.extend({prop:function(e,t){return $e(this,ve.prop,e,t,arguments.length>1)},removeProp:function(e){return e=ve.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),ve.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ve.isXMLDoc(e)||(t=ve.propFix[t]||t,i=ve.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ve.find.attr(e,"tabindex");return t?parseInt(t,10):Bt.test(e.nodeName)||Wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),me.hrefNormalized||ve.each(["href","src"],function(e,t){ve.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),me.optSelected||(ve.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),ve.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ve.propFix[this.toLowerCase()]=this}),me.enctype||(ve.propFix.enctype="encoding");var It=/[\t\r\n\f]/g;ve.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(ve.isFunction(e))return this.each(function(t){ve(this).addClass(e.call(this,t,J(this)))});if("string"==typeof e&&e)for(t=e.match(qe)||[];n=this[u++];)if(i=J(n),r=1===n.nodeType&&(" "+i+" ").replace(It," ")){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=ve.trim(r),i!==s&&ve.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(ve.isFunction(e))return this.each(function(t){ve(this).removeClass(e.call(this,t,J(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(qe)||[];n=this[u++];)if(i=J(n),r=1===n.nodeType&&(" "+i+" ").replace(It," ")){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=ve.trim(r),i!==s&&ve.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ve.isFunction(e)?this.each(function(n){ve(this).toggleClass(e.call(this,n,J(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=ve(this),o=e.match(qe)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=J(this),t&&ve._data(this,"__className__",t), +ve.attr(this,"class",t||e===!1?"":ve._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+J(n)+" ").replace(It," ").indexOf(t)>-1)return!0;return!1}}),ve.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){ve.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ve.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var $t=n.location,zt=ve.now(),Xt=/\?/,Ut=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ve.parseJSON=function(e){if(n.JSON&&n.JSON.parse)return n.JSON.parse(e+"");var t,r=null,i=ve.trim(e+"");return i&&!ve.trim(i.replace(Ut,function(e,n,i,o){return t&&n&&(r=0),0===r?e:(t=i||n,r+=!o-!i,"")}))?Function("return "+i)():ve.error("Invalid JSON: "+e)},ve.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{n.DOMParser?(r=new n.DOMParser,t=r.parseFromString(e,"text/xml")):(t=new n.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(i){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||ve.error("Invalid XML: "+e),t};var Vt=/#.*$/,Jt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Gt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Qt=/^(?:GET|HEAD)$/,Kt=/^\/\//,Zt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,en={},tn={},nn="*/".concat("*"),rn=$t.href,on=Zt.exec(rn.toLowerCase())||[];ve.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:rn,type:"GET",isLocal:Gt.test(on[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":nn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ve.parseJSON,"text xml":ve.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Q(Q(e,ve.ajaxSettings),t):Q(ve.ajaxSettings,e)},ajaxPrefilter:Y(en),ajaxTransport:Y(tn),ajax:function(e,t){function r(e,t,r,i){var o,d,y,x,w,C=t;2!==b&&(b=2,u&&n.clearTimeout(u),c=void 0,s=i||"",T.readyState=e>0?4:0,o=e>=200&&300>e||304===e,r&&(x=K(f,T,r)),x=Z(f,x,T,o),o?(f.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(ve.lastModified[a]=w),w=T.getResponseHeader("etag"),w&&(ve.etag[a]=w)),204===e||"HEAD"===f.type?C="nocontent":304===e?C="notmodified":(C=x.state,d=x.data,y=x.error,o=!y)):(y=C,!e&&C||(C="error",0>e&&(e=0))),T.status=e,T.statusText=(t||C)+"",o?m.resolveWith(p,[d,C,T]):m.rejectWith(p,[T,C,y]),T.statusCode(v),v=void 0,l&&h.trigger(o?"ajaxSuccess":"ajaxError",[T,f,o?d:y]),g.fireWith(p,[T,C]),l&&(h.trigger("ajaxComplete",[T,f]),--ve.active||ve.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,o,a,s,u,l,c,d,f=ve.ajaxSetup({},t),p=f.context||f,h=f.context&&(p.nodeType||p.jquery)?ve(p):ve.event,m=ve.Deferred(),g=ve.Callbacks("once memory"),v=f.statusCode||{},y={},x={},b=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!d)for(d={};t=Yt.exec(s);)d[t[1].toLowerCase()]=t[2];t=d[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=x[n]=x[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)v[t]=[v[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),r(0,t),this}};if(m.promise(T).complete=g.add,T.success=T.done,T.error=T.fail,f.url=((e||f.url||rn)+"").replace(Vt,"").replace(Kt,on[1]+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=ve.trim(f.dataType||"*").toLowerCase().match(qe)||[""],null==f.crossDomain&&(i=Zt.exec(f.url.toLowerCase()),f.crossDomain=!(!i||i[1]===on[1]&&i[2]===on[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(on[3]||("http:"===on[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=ve.param(f.data,f.traditional)),G(en,f,t,T),2===b)return T;l=ve.event&&f.global,l&&0===ve.active++&&ve.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Qt.test(f.type),a=f.url,f.hasContent||(f.data&&(a=f.url+=(Xt.test(a)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=Jt.test(a)?a.replace(Jt,"$1_="+zt++):a+(Xt.test(a)?"&":"?")+"_="+zt++)),f.ifModified&&(ve.lastModified[a]&&T.setRequestHeader("If-Modified-Since",ve.lastModified[a]),ve.etag[a]&&T.setRequestHeader("If-None-Match",ve.etag[a])),(f.data&&f.hasContent&&f.contentType!==!1||t.contentType)&&T.setRequestHeader("Content-Type",f.contentType),T.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+nn+"; q=0.01":""):f.accepts["*"]);for(o in f.headers)T.setRequestHeader(o,f.headers[o]);if(f.beforeSend&&(f.beforeSend.call(p,T,f)===!1||2===b))return T.abort();w="abort";for(o in{success:1,error:1,complete:1})T[o](f[o]);if(c=G(tn,f,t,T)){if(T.readyState=1,l&&h.trigger("ajaxSend",[T,f]),2===b)return T;f.async&&f.timeout>0&&(u=n.setTimeout(function(){T.abort("timeout")},f.timeout));try{b=1,c.send(y,r)}catch(C){if(!(2>b))throw C;r(-1,C)}}else r(-1,"No Transport");return T},getJSON:function(e,t,n){return ve.get(e,t,n,"json")},getScript:function(e,t){return ve.get(e,void 0,t,"script")}}),ve.each(["get","post"],function(e,t){ve[t]=function(e,n,r,i){return ve.isFunction(n)&&(i=i||r,r=n,n=void 0),ve.ajax(ve.extend({url:e,type:t,dataType:i,data:n,success:r},ve.isPlainObject(e)&&e))}}),ve._evalUrl=function(e){return ve.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},ve.fn.extend({wrapAll:function(e){if(ve.isFunction(e))return this.each(function(t){ve(this).wrapAll(e.call(this,t))});if(this[0]){var t=ve(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return ve.isFunction(e)?this.each(function(t){ve(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ve(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ve.isFunction(e);return this.each(function(n){ve(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ve.nodeName(this,"body")||ve(this).replaceWith(this.childNodes)}).end()}}),ve.expr.filters.hidden=function(e){return me.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:te(e)},ve.expr.filters.visible=function(e){return!ve.expr.filters.hidden(e)};var an=/%20/g,sn=/\[\]$/,un=/\r?\n/g,ln=/^(?:submit|button|image|reset|file)$/i,cn=/^(?:input|select|textarea|keygen)/i;ve.param=function(e,t){var n,r=[],i=function(e,t){t=ve.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ve.ajaxSettings&&ve.ajaxSettings.traditional),ve.isArray(e)||e.jquery&&!ve.isPlainObject(e))ve.each(e,function(){i(this.name,this.value)});else for(n in e)ne(n,e[n],t,i);return r.join("&").replace(an,"+")},ve.fn.extend({serialize:function(){return ve.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ve.prop(this,"elements");return e?ve.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ve(this).is(":disabled")&&cn.test(this.nodeName)&&!ln.test(e)&&(this.checked||!ze.test(e))}).map(function(e,t){var n=ve(this).val();return null==n?null:ve.isArray(n)?ve.map(n,function(e){return{name:t.name,value:e.replace(un,"\r\n")}}):{name:t.name,value:n.replace(un,"\r\n")}}).get()}}),ve.ajaxSettings.xhr=void 0!==n.ActiveXObject?function(){return this.isLocal?ie():se.documentMode>8?re():/^(get|post|head|put|delete|options)$/i.test(this.type)&&re()||ie()}:re;var dn=0,fn={},pn=ve.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var e in fn)fn[e](void 0,!0)}),me.cors=!!pn&&"withCredentials"in pn,pn=me.ajax=!!pn,pn&&ve.ajaxTransport(function(e){if(!e.crossDomain||me.cors){var t;return{send:function(r,i){var o,a=e.xhr(),s=++dn;if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)void 0!==r[o]&&a.setRequestHeader(o,r[o]+"");a.send(e.hasContent&&e.data||null),t=function(n,r){var o,u,l;if(t&&(r||4===a.readyState))if(delete fn[s],t=void 0,a.onreadystatechange=ve.noop,r)4!==a.readyState&&a.abort();else{l={},o=a.status,"string"==typeof a.responseText&&(l.text=a.responseText);try{u=a.statusText}catch(c){u=""}o||!e.isLocal||e.crossDomain?1223===o&&(o=204):o=l.text?200:404}l&&i(o,u,l,a.getAllResponseHeaders())},e.async?4===a.readyState?n.setTimeout(t):a.onreadystatechange=fn[s]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),ve.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ve.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ve.globalEval(e),e}}}),ve.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),ve.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=se.head||ve("head")[0]||se.documentElement;return{send:function(r,i){t=se.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var hn=[],mn=/(=)\?(?=&|$)|\?\?/;ve.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=hn.pop()||ve.expando+"_"+zt++;return this[e]=!0,e}}),ve.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,s=e.jsonp!==!1&&(mn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&mn.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(i=e.jsonpCallback=ve.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(mn,"$1"+i):e.jsonp!==!1&&(e.url+=(Xt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||ve.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?ve(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,hn.push(i)),a&&ve.isFunction(o)&&o(a[0]),a=o=void 0}),"script"):void 0}),me.createHTMLDocument=function(){if(!se.implementation.createHTMLDocument)return!1;var e=se.implementation.createHTMLDocument("");return e.body.innerHTML="<form></form><form></form>",2===e.body.childNodes.length}(),ve.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||(me.createHTMLDocument?se.implementation.createHTMLDocument(""):se);var r=ke.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=w([e],t,i),i&&i.length&&ve(i).remove(),ve.merge([],r.childNodes))};var gn=ve.fn.load;ve.fn.load=function(e,t,n){if("string"!=typeof e&&gn)return gn.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=ve.trim(e.slice(s,e.length)),e=e.slice(0,s)),ve.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&ve.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ve("<div>").append(ve.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(a,o||[e.responseText,t,e])})}),this},ve.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ve.fn[t]=function(e){return this.on(t,e)}}),ve.expr.filters.animated=function(e){return ve.grep(ve.timers,function(t){return e===t.elem}).length},ve.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=ve.css(e,"position"),d=ve(e),f={};"static"===c&&(e.style.position="relative"),s=d.offset(),o=ve.css(e,"top"),u=ve.css(e,"left"),l=("absolute"===c||"fixed"===c)&&ve.inArray("auto",[o,u])>-1,l?(r=d.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),ve.isFunction(t)&&(t=t.call(e,n,ve.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):d.css(f)}},ve.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ve.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,ve.contains(t,i)?("undefined"!=typeof i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=oe(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===ve.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ve.nodeName(e[0],"html")||(n=e.offset()),n.top+=ve.css(e[0],"borderTopWidth",!0),n.left+=ve.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-ve.css(r,"marginTop",!0),left:t.left-n.left-ve.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!ve.nodeName(e,"html")&&"static"===ve.css(e,"position");)e=e.offsetParent;return e||vt})}}),ve.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);ve.fn[e]=function(r){return $e(this,function(e,r,i){var o=oe(e);return void 0===i?o?t in o?o[t]:o.document.documentElement[r]:e[r]:void(o?o.scrollTo(n?ve(o).scrollLeft():i,n?i:ve(o).scrollTop()):e[r]=i)},e,r,arguments.length,null)}}),ve.each(["top","left"],function(e,t){ve.cssHooks[t]=_(me.pixelPosition,function(e,n){return n?(n=xt(e,t),mt.test(n)?ve(e).position()[t]+"px":n):void 0})}),ve.each({Height:"height",Width:"width"},function(e,t){ve.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){ve.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return $e(this,function(t,n,r){var i;return ve.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?ve.css(t,n,a):ve.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),ve.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),ve.fn.size=function(){return this.length},ve.fn.andSelf=ve.fn.addBack,r=[],i=function(){return ve}.apply(t,r),!(void 0!==i&&(e.exports=i));var vn=n.jQuery,yn=n.$;return ve.noConflict=function(e){return n.$===ve&&(n.$=yn),e&&n.jQuery===ve&&(n.jQuery=vn),ve},o||(n.jQuery=n.$=ve),ve})}]); \ No newline at end of file diff --git a/web-static/huodong/2016xinshili-web/1.0.6/js/libs.js b/web-static/huodong/2016xinshili-web/1.0.6/js/libs.js new file mode 100644 index 0000000..8041502 --- /dev/null +++ b/web-static/huodong/2016xinshili-web/1.0.6/js/libs.js @@ -0,0 +1 @@ +!function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(a,p){for(var l,s,c=0,i=[];c<a.length;c++)s=a[c],o[s]&&i.push.apply(i,o[s]),o[s]=0;for(l in p)e[l]=p[l];for(n&&n(a,p);i.length;)i.shift().call(null,t);return p[0]?(r[0]=0,t(0)):void 0};var r={},o={0:0};t.e=function(e,n){if(0===o[e])return n.call(null,t);if(void 0!==o[e])o[e].push(n);else{o[e]=[n];var r=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.src=t.p+""+e+"."+({1:"home"}[e]||e)+".js",r.appendChild(a)}},t.m=e,t.c=r,t.p="/1.0.6/js"}([]); \ No newline at end of file diff --git a/web-static/huodong/2016xinshili-web/1.0.6/map/style.css.map b/web-static/huodong/2016xinshili-web/1.0.6/map/style.css.map new file mode 100644 index 0000000..69b8d55 --- /dev/null +++ b/web-static/huodong/2016xinshili-web/1.0.6/map/style.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["_common.css","style.css"],"names":[],"mappings":"AAAA,iBAGI,sBAAuB,AACvB,SAAU,AACV,SAAW,CACd,AAED,KACI,eAAgB,AAChB,+BAAoC,AACpC,gBAAiB,AACjB,0CAA2C,AAC3C,iBAAmB,CACtB,AAED,aAEI,YAAa,AACb,YAAc,CACjB,AAED,EACI,oBAAsB,CACzB,AAED,MACI,YAAc,CACjB,AAED,WACI,WAAa,CAGhB,AChCD,mBD8BI,iBAAkB,AAClB,iBAAmB,CCzBtB,AAND,QAGI,YAAa,AACb,aAAc,AACd,wDAAgD,CACnD,AAED,QACI,uBAAwB,AACxB,YAAa,AACb,aAAc,AACd,wDAA+C,CAClD,AAED,IACI,cAAe,AACf,iBAAkB,AAClB,YAAa,AACb,YAAa,AACb,eAAgB,AAChB,iBAAkB,AAClB,WAAY,AACZ,mBAAoB,AACpB,iBAAmB,CAStB,AAPG,UACI,WAAY,AACZ,cAAe,AACf,WAAY,AACZ,YAAa,AACb,kBAAoB,CACvB,AAGL,OACI,qBAAsB,AACtB,WAAY,AACZ,YAAa,AACb,8CAAoC,CACvC,AAED,OAEI,YAAa,AACb,aAAc,AACd,8CAAoC,CACvC,AAED,eANI,gBAAkB,CAiBrB,AAXD,QACI,cAAe,AAEf,YAAa,AACb,aAAc,AACd,eAAiB,CAMpB,AAJG,YACI,WAAY,AACZ,WAAa,CAChB,AAGL,QACI,iBAAkB,AAClB,YAAa,AACb,YAAa,AACb,8CAAmC,CACtC,AAED,KACI,eAAgB,AAChB,SAAU,AACV,QAAS,AACT,mBAAoB,AACpB,kBAAmB,AACnB,YAAa,AACb,gBAAiB,AACjB,kBAAmB,AACnB,gBAAkB,CAoCrB,AA1BG,YACI,iBAAkB,AAClB,eAAgB,AAChB,eAAkB,CACrB,AAED,gBACI,cAAgB,CACnB,AAED,WACI,eAAgB,AAChB,UAAY,CACf,AAED,aACI,cAAe,AACf,iBAAkB,AAClB,YAAa,AACb,YAAa,AACb,eAAgB,AAChB,iBAAkB,AAClB,kBAAmB,AACnB,WAAY,AACZ,eAAiB,CACpB,AAjCD,YACI,WAAY,AACZ,cAAe,AACf,WAAY,AACZ,YAAa,AACb,eAAiB,CACpB","file":"style.css","sourcesContent":["*,\n*:before,\n*:after {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\n\nbody {\n font-size: 12px;\n font-family: Helvetica, Arial, \"黑体\";\n background: #fff;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n overflow-x: hidden;\n}\n\ninput,\nbutton {\n border: none;\n outline: none;\n}\n\na {\n text-decoration: none;\n}\n\n.hide {\n display: none;\n}\n\n.main-wrap {\n width: 990px;\n margin-left: auto;\n margin-right: auto;\n}\n","@import \"_common.css\";\n\n.header {\n margin-left: auto;\n margin-right: auto;\n width: 940px;\n height: 428px;\n background: url(\"../img/wuyifan.jpg\") no-repeat;\n}\n\n.coupon {\n margin: -12px auto 30px;\n width: 940px;\n height: 198px;\n background: url(\"../img/coupon.png\") no-repeat;\n}\n\n.go {\n display: block;\n margin: 30px auto;\n width: 560px;\n height: 80px;\n font-size: 29px;\n line-height: 80px;\n color: #fff;\n background: #e0031e;\n text-align: center;\n\n &:after {\n content: '';\n display: block;\n width: 100%;\n height: 10px;\n background: #c61127;\n }\n}\n\n.arrow {\n display: inline-block;\n width: 11px;\n height: 20px;\n background: url(\"../img/arrow.png\");\n}\n\n.share {\n margin: 30px auto;\n width: 911px;\n height: 277px;\n background: url(\"../img/share.png\");\n}\n\n.banner {\n display: block;\n margin: 30px auto;\n width: 900px;\n height: 360px;\n background: #fff;\n\n img {\n width: 100%;\n height: 100%;\n }\n}\n\n.footer {\n margin: 30px auto;\n width: 199px;\n height: 37px;\n background: url(\"../img/yoho.png\");\n}\n\n.tip {\n position: fixed;\n left: 50%;\n top: 50%;\n margin-left: -200px;\n margin-top: -150px;\n width: 400px;\n background: #fff;\n text-align: center;\n line-height: 1.25;\n\n &:before {\n content: '';\n display: block;\n width: 100%;\n height: 40px;\n background: #000;\n }\n\n .title {\n margin: 20px auto;\n font-size: 30px;\n font-weight: bold;\n }\n\n .sub-title {\n font-size: 20px;\n }\n\n .desc {\n font-size: 18px;\n color: #444;\n }\n\n .button {\n display: block;\n margin: 30px auto;\n width: 200px;\n height: 50px;\n font-size: 22px;\n line-height: 56px;\n text-align: center;\n color: #fff;\n background: #000;\n }\n}\n"],"sourceRoot":"/source/"} \ No newline at end of file diff --git a/web-static/huodong/2016xinshili-web/img/1a18c9457ae036a3.jpg b/web-static/huodong/2016xinshili-web/img/1a18c9457ae036a3.jpg new file mode 100644 index 0000000..f628c5d Binary files /dev/null and b/web-static/huodong/2016xinshili-web/img/1a18c9457ae036a3.jpg differ diff --git a/web-static/huodong/2016xinshili-web/img/6ff612dd66b81d4e.png b/web-static/huodong/2016xinshili-web/img/6ff612dd66b81d4e.png new file mode 100644 index 0000000..800d1f7 Binary files /dev/null and b/web-static/huodong/2016xinshili-web/img/6ff612dd66b81d4e.png differ diff --git a/web-static/huodong/2016xinshili-web/img/86959a1009090df9.png b/web-static/huodong/2016xinshili-web/img/86959a1009090df9.png new file mode 100644 index 0000000..0f2ef52 Binary files /dev/null and b/web-static/huodong/2016xinshili-web/img/86959a1009090df9.png differ diff --git a/web-static/huodong/2016xinshili-web/img/a7fab2b69e927249.png b/web-static/huodong/2016xinshili-web/img/a7fab2b69e927249.png new file mode 100644 index 0000000..d0cdc34 Binary files /dev/null and b/web-static/huodong/2016xinshili-web/img/a7fab2b69e927249.png differ diff --git a/web-static/huodong/2016xinshili-web/img/adc45b151f4960f0.png b/web-static/huodong/2016xinshili-web/img/adc45b151f4960f0.png new file mode 100644 index 0000000..2373ed7 Binary files /dev/null and b/web-static/huodong/2016xinshili-web/img/adc45b151f4960f0.png differ diff --git a/web-static/img/cart/btn_b_add.png b/web-static/img/cart/btn_b_add.png new file mode 100644 index 0000000..bc60c1d Binary files /dev/null and b/web-static/img/cart/btn_b_add.png differ diff --git a/web-static/img/cart/btn_b_sc.png b/web-static/img/cart/btn_b_sc.png new file mode 100644 index 0000000..5209018 Binary files /dev/null and b/web-static/img/cart/btn_b_sc.png differ diff --git a/web-static/img/cart/btn_b_sellout.png b/web-static/img/cart/btn_b_sellout.png new file mode 100644 index 0000000..efab37f Binary files /dev/null and b/web-static/img/cart/btn_b_sellout.png differ diff --git a/web-static/img/cart/btn_gift_down.png b/web-static/img/cart/btn_gift_down.png new file mode 100644 index 0000000..079a2c5 Binary files /dev/null and b/web-static/img/cart/btn_gift_down.png differ diff --git a/web-static/img/cart/btn_gift_up.png b/web-static/img/cart/btn_gift_up.png new file mode 100644 index 0000000..1361d8f Binary files /dev/null and b/web-static/img/cart/btn_gift_up.png differ diff --git a/web-static/img/cart/btn_hs_01.png b/web-static/img/cart/btn_hs_01.png new file mode 100644 index 0000000..567a143 Binary files /dev/null and b/web-static/img/cart/btn_hs_01.png differ diff --git a/web-static/img/cart/btn_hs_03.png b/web-static/img/cart/btn_hs_03.png new file mode 100644 index 0000000..dfeaddb Binary files /dev/null and b/web-static/img/cart/btn_hs_03.png differ diff --git a/web-static/img/cart/btn_order.png b/web-static/img/cart/btn_order.png new file mode 100644 index 0000000..31546fc Binary files /dev/null and b/web-static/img/cart/btn_order.png differ diff --git a/web-static/img/cart/btn_pre_sale.png b/web-static/img/cart/btn_pre_sale.png new file mode 100644 index 0000000..1d7120c Binary files /dev/null and b/web-static/img/cart/btn_pre_sale.png differ diff --git a/web-static/img/cart/btn_select_zp.png b/web-static/img/cart/btn_select_zp.png new file mode 100644 index 0000000..1a8ca7d Binary files /dev/null and b/web-static/img/cart/btn_select_zp.png differ diff --git a/web-static/img/cart/btn_view_s.png b/web-static/img/cart/btn_view_s.png new file mode 100644 index 0000000..6520082 Binary files /dev/null and b/web-static/img/cart/btn_view_s.png differ diff --git a/web-static/img/cart/cart_01.png b/web-static/img/cart/cart_01.png new file mode 100644 index 0000000..3a9820e Binary files /dev/null and b/web-static/img/cart/cart_01.png differ diff --git a/web-static/img/cart/cart_02.png b/web-static/img/cart/cart_02.png new file mode 100644 index 0000000..4eb11c7 Binary files /dev/null and b/web-static/img/cart/cart_02.png differ diff --git a/web-static/img/cart/cart_03.png b/web-static/img/cart/cart_03.png new file mode 100644 index 0000000..f78fd7f Binary files /dev/null and b/web-static/img/cart/cart_03.png differ diff --git a/web-static/img/cart/cart_04.png b/web-static/img/cart/cart_04.png new file mode 100644 index 0000000..4519581 Binary files /dev/null and b/web-static/img/cart/cart_04.png differ diff --git a/web-static/img/cart/cart_empty.gif b/web-static/img/cart/cart_empty.gif new file mode 100644 index 0000000..8774d09 Binary files /dev/null and b/web-static/img/cart/cart_empty.gif differ diff --git a/web-static/img/cart/cart_gift.png b/web-static/img/cart/cart_gift.png new file mode 100644 index 0000000..c85579c Binary files /dev/null and b/web-static/img/cart/cart_gift.png differ diff --git a/web-static/img/cart/cart_gift_banner.jpg b/web-static/img/cart/cart_gift_banner.jpg new file mode 100644 index 0000000..47acbb1 Binary files /dev/null and b/web-static/img/cart/cart_gift_banner.jpg differ diff --git a/web-static/img/cart/checkout.png b/web-static/img/cart/checkout.png new file mode 100644 index 0000000..04e365b Binary files /dev/null and b/web-static/img/cart/checkout.png differ diff --git a/web-static/img/cart/del.png b/web-static/img/cart/del.png new file mode 100644 index 0000000..2dfa0a3 Binary files /dev/null and b/web-static/img/cart/del.png differ diff --git a/web-static/img/cart/i_-.png b/web-static/img/cart/i_-.png new file mode 100644 index 0000000..4c28099 Binary files /dev/null and b/web-static/img/cart/i_-.png differ diff --git a/web-static/img/cart/i_gift.png b/web-static/img/cart/i_gift.png new file mode 100644 index 0000000..865873a Binary files /dev/null and b/web-static/img/cart/i_gift.png differ diff --git a/web-static/img/cart/i_minus.png b/web-static/img/cart/i_minus.png new file mode 100644 index 0000000..4c28099 Binary files /dev/null and b/web-static/img/cart/i_minus.png differ diff --git a/web-static/img/cart/iadd.png b/web-static/img/cart/iadd.png new file mode 100644 index 0000000..daf2935 Binary files /dev/null and b/web-static/img/cart/iadd.png differ diff --git a/web-static/img/cart/ico_minus.png b/web-static/img/cart/ico_minus.png new file mode 100644 index 0000000..58d1ed2 Binary files /dev/null and b/web-static/img/cart/ico_minus.png differ diff --git a/web-static/img/cart/ico_plus.png b/web-static/img/cart/ico_plus.png new file mode 100644 index 0000000..85a98f0 Binary files /dev/null and b/web-static/img/cart/ico_plus.png differ diff --git a/web-static/img/cart/ico_r_act.png b/web-static/img/cart/ico_r_act.png new file mode 100644 index 0000000..5020478 Binary files /dev/null and b/web-static/img/cart/ico_r_act.png differ diff --git a/web-static/img/cart/ico_r_act_h.png b/web-static/img/cart/ico_r_act_h.png new file mode 100644 index 0000000..1783b4b Binary files /dev/null and b/web-static/img/cart/ico_r_act_h.png differ diff --git a/web-static/img/cart/icon_charge_free.png b/web-static/img/cart/icon_charge_free.png new file mode 100644 index 0000000..88eda09 Binary files /dev/null and b/web-static/img/cart/icon_charge_free.png differ diff --git a/web-static/img/cart/icons02.png b/web-static/img/cart/icons02.png new file mode 100644 index 0000000..0ac522e Binary files /dev/null and b/web-static/img/cart/icons02.png differ diff --git a/web-static/img/cart/loading_s.gif b/web-static/img/cart/loading_s.gif new file mode 100644 index 0000000..085ccae Binary files /dev/null and b/web-static/img/cart/loading_s.gif differ diff --git a/web-static/img/cart/magnify.png b/web-static/img/cart/magnify.png new file mode 100644 index 0000000..16e23b4 Binary files /dev/null and b/web-static/img/cart/magnify.png differ diff --git a/web-static/img/cart/next.png b/web-static/img/cart/next.png new file mode 100644 index 0000000..82d89ab Binary files /dev/null and b/web-static/img/cart/next.png differ diff --git a/web-static/img/cart/pc_next.png b/web-static/img/cart/pc_next.png new file mode 100644 index 0000000..276a652 Binary files /dev/null and b/web-static/img/cart/pc_next.png differ diff --git a/web-static/img/cart/pc_pre.png b/web-static/img/cart/pc_pre.png new file mode 100644 index 0000000..eedecb7 Binary files /dev/null and b/web-static/img/cart/pc_pre.png differ diff --git a/web-static/img/cart/pre.png b/web-static/img/cart/pre.png new file mode 100644 index 0000000..2333cb7 Binary files /dev/null and b/web-static/img/cart/pre.png differ diff --git a/web-static/img/help/answer-icon.png b/web-static/img/help/answer-icon.png new file mode 100644 index 0000000..abe9501 Binary files /dev/null and b/web-static/img/help/answer-icon.png differ diff --git a/web-static/img/help/ask-icon.png b/web-static/img/help/ask-icon.png new file mode 100644 index 0000000..cf63b22 Binary files /dev/null and b/web-static/img/help/ask-icon.png differ diff --git a/web-static/img/help/help-center.png b/web-static/img/help/help-center.png new file mode 100644 index 0000000..fdc04bd Binary files /dev/null and b/web-static/img/help/help-center.png differ diff --git a/web-static/img/help/help-nav-li.png b/web-static/img/help/help-nav-li.png new file mode 100644 index 0000000..9799ec0 Binary files /dev/null and b/web-static/img/help/help-nav-li.png differ diff --git a/web-static/img/help/help-search.png b/web-static/img/help/help-search.png new file mode 100644 index 0000000..2cddc04 Binary files /dev/null and b/web-static/img/help/help-search.png differ diff --git a/web-static/img/help/yoho-im.png b/web-static/img/help/yoho-im.png new file mode 100644 index 0000000..84901ea Binary files /dev/null and b/web-static/img/help/yoho-im.png differ diff --git a/web-static/img/help/yoho-service.png b/web-static/img/help/yoho-service.png new file mode 100644 index 0000000..4ffed4f Binary files /dev/null and b/web-static/img/help/yoho-service.png differ diff --git a/web-static/img/home/activity-arrow.png b/web-static/img/home/activity-arrow.png new file mode 100644 index 0000000..f8ce77d Binary files /dev/null and b/web-static/img/home/activity-arrow.png differ diff --git a/web-static/img/home/back-orders-btn.png b/web-static/img/home/back-orders-btn.png new file mode 100644 index 0000000..559e686 Binary files /dev/null and b/web-static/img/home/back-orders-btn.png differ diff --git a/web-static/img/home/back-returns-btn.png b/web-static/img/home/back-returns-btn.png new file mode 100644 index 0000000..c9d89bd Binary files /dev/null and b/web-static/img/home/back-returns-btn.png differ diff --git a/web-static/img/home/brands.png b/web-static/img/home/brands.png new file mode 100644 index 0000000..cf76c2f Binary files /dev/null and b/web-static/img/home/brands.png differ diff --git a/web-static/img/home/btn-jt.png b/web-static/img/home/btn-jt.png new file mode 100644 index 0000000..759918c Binary files /dev/null and b/web-static/img/home/btn-jt.png differ diff --git a/web-static/img/home/btn-more.png b/web-static/img/home/btn-more.png new file mode 100644 index 0000000..db3614e Binary files /dev/null and b/web-static/img/home/btn-more.png differ diff --git a/web-static/img/home/btn_top.png b/web-static/img/home/btn_top.png new file mode 100644 index 0000000..ca9eb42 Binary files /dev/null and b/web-static/img/home/btn_top.png differ diff --git a/web-static/img/home/button-icon.png b/web-static/img/home/button-icon.png new file mode 100644 index 0000000..33a1af1 Binary files /dev/null and b/web-static/img/home/button-icon.png differ diff --git a/web-static/img/home/cancel-icon.png b/web-static/img/home/cancel-icon.png new file mode 100644 index 0000000..588dd9e Binary files /dev/null and b/web-static/img/home/cancel-icon.png differ diff --git a/web-static/img/home/coin-help.png b/web-static/img/home/coin-help.png new file mode 100644 index 0000000..da04a85 Binary files /dev/null and b/web-static/img/home/coin-help.png differ diff --git a/web-static/img/home/comment.png b/web-static/img/home/comment.png new file mode 100644 index 0000000..2035db0 Binary files /dev/null and b/web-static/img/home/comment.png differ diff --git a/web-static/img/home/complaint-icon.png b/web-static/img/home/complaint-icon.png new file mode 100644 index 0000000..d00da3c Binary files /dev/null and b/web-static/img/home/complaint-icon.png differ diff --git a/web-static/img/home/complaints.png b/web-static/img/home/complaints.png new file mode 100644 index 0000000..5b5f306 Binary files /dev/null and b/web-static/img/home/complaints.png differ diff --git a/web-static/img/home/consult-wd.png b/web-static/img/home/consult-wd.png new file mode 100644 index 0000000..504b91a Binary files /dev/null and b/web-static/img/home/consult-wd.png differ diff --git a/web-static/img/home/consult.png b/web-static/img/home/consult.png new file mode 100644 index 0000000..bd25d6d Binary files /dev/null and b/web-static/img/home/consult.png differ diff --git a/web-static/img/home/currency.png b/web-static/img/home/currency.png new file mode 100644 index 0000000..aa77b04 Binary files /dev/null and b/web-static/img/home/currency.png differ diff --git a/web-static/img/home/default-thumb.png b/web-static/img/home/default-thumb.png new file mode 100644 index 0000000..36e005f Binary files /dev/null and b/web-static/img/home/default-thumb.png differ diff --git a/web-static/img/home/del-icon.png b/web-static/img/home/del-icon.png new file mode 100644 index 0000000..a376ba6 Binary files /dev/null and b/web-static/img/home/del-icon.png differ diff --git a/web-static/img/home/detail-act.png b/web-static/img/home/detail-act.png new file mode 100644 index 0000000..a313e7d Binary files /dev/null and b/web-static/img/home/detail-act.png differ diff --git a/web-static/img/home/edit/btn_b1.png b/web-static/img/home/edit/btn_b1.png new file mode 100644 index 0000000..34034c1 Binary files /dev/null and b/web-static/img/home/edit/btn_b1.png differ diff --git a/web-static/img/home/edit/btn_bg_20.png b/web-static/img/home/edit/btn_bg_20.png new file mode 100644 index 0000000..d11dbe3 Binary files /dev/null and b/web-static/img/home/edit/btn_bg_20.png differ diff --git a/web-static/img/home/edit/btn_edit.png b/web-static/img/home/edit/btn_edit.png new file mode 100644 index 0000000..8d4b208 Binary files /dev/null and b/web-static/img/home/edit/btn_edit.png differ diff --git a/web-static/img/home/edit/btn_hs.png b/web-static/img/home/edit/btn_hs.png new file mode 100644 index 0000000..2c01b36 Binary files /dev/null and b/web-static/img/home/edit/btn_hs.png differ diff --git a/web-static/img/home/edit/btn_s1_z2.png b/web-static/img/home/edit/btn_s1_z2.png new file mode 100644 index 0000000..a1fe8b5 Binary files /dev/null and b/web-static/img/home/edit/btn_s1_z2.png differ diff --git a/web-static/img/home/edit/ico_arrow2.png b/web-static/img/home/edit/ico_arrow2.png new file mode 100644 index 0000000..d00da3c Binary files /dev/null and b/web-static/img/home/edit/ico_arrow2.png differ diff --git a/web-static/img/home/edit/ico_del.png b/web-static/img/home/edit/ico_del.png new file mode 100644 index 0000000..a376ba6 Binary files /dev/null and b/web-static/img/home/edit/ico_del.png differ diff --git a/web-static/img/home/edit/ico_i_sf.png b/web-static/img/home/edit/ico_i_sf.png new file mode 100644 index 0000000..7fb02bf Binary files /dev/null and b/web-static/img/home/edit/ico_i_sf.png differ diff --git a/web-static/img/home/edit/icon-32.png b/web-static/img/home/edit/icon-32.png new file mode 100644 index 0000000..35a35ce Binary files /dev/null and b/web-static/img/home/edit/icon-32.png differ diff --git a/web-static/img/home/edit/icon-bar.png b/web-static/img/home/edit/icon-bar.png new file mode 100644 index 0000000..c926c0d Binary files /dev/null and b/web-static/img/home/edit/icon-bar.png differ diff --git a/web-static/img/home/edit/input_1.png b/web-static/img/home/edit/input_1.png new file mode 100644 index 0000000..dde304b Binary files /dev/null and b/web-static/img/home/edit/input_1.png differ diff --git a/web-static/img/home/edit/k_r_b.png b/web-static/img/home/edit/k_r_b.png new file mode 100644 index 0000000..863b108 Binary files /dev/null and b/web-static/img/home/edit/k_r_b.png differ diff --git a/web-static/img/home/edit/title-address.png b/web-static/img/home/edit/title-address.png new file mode 100644 index 0000000..9fdfdae Binary files /dev/null and b/web-static/img/home/edit/title-address.png differ diff --git a/web-static/img/home/edit/title-informations.png b/web-static/img/home/edit/title-informations.png new file mode 100644 index 0000000..d40bbfd Binary files /dev/null and b/web-static/img/home/edit/title-informations.png differ diff --git a/web-static/img/home/exchange-apply.png b/web-static/img/home/exchange-apply.png new file mode 100644 index 0000000..ed64c87 Binary files /dev/null and b/web-static/img/home/exchange-apply.png differ diff --git a/web-static/img/home/exchange-bg.png b/web-static/img/home/exchange-bg.png new file mode 100644 index 0000000..b820186 Binary files /dev/null and b/web-static/img/home/exchange-bg.png differ diff --git a/web-static/img/home/favorite.png b/web-static/img/home/favorite.png new file mode 100644 index 0000000..8f58388 Binary files /dev/null and b/web-static/img/home/favorite.png differ diff --git a/web-static/img/home/footwear-tips.jpg b/web-static/img/home/footwear-tips.jpg new file mode 100644 index 0000000..8c21ca2 Binary files /dev/null and b/web-static/img/home/footwear-tips.jpg differ diff --git a/web-static/img/home/home-icon.png b/web-static/img/home/home-icon.png new file mode 100644 index 0000000..b38ab4c Binary files /dev/null and b/web-static/img/home/home-icon.png differ diff --git a/web-static/img/home/icon-24.png b/web-static/img/home/icon-24.png new file mode 100644 index 0000000..247bed7 Binary files /dev/null and b/web-static/img/home/icon-24.png differ diff --git a/web-static/img/home/input-back.png b/web-static/img/home/input-back.png new file mode 100644 index 0000000..dde304b Binary files /dev/null and b/web-static/img/home/input-back.png differ diff --git a/web-static/img/home/latest-orders.png b/web-static/img/home/latest-orders.png new file mode 100644 index 0000000..d6b9bc7 Binary files /dev/null and b/web-static/img/home/latest-orders.png differ diff --git a/web-static/img/home/message.png b/web-static/img/home/message.png new file mode 100644 index 0000000..ad36460 Binary files /dev/null and b/web-static/img/home/message.png differ diff --git a/web-static/img/home/new-arrival.png b/web-static/img/home/new-arrival.png new file mode 100644 index 0000000..2114820 Binary files /dev/null and b/web-static/img/home/new-arrival.png differ diff --git a/web-static/img/home/onCorrect.png b/web-static/img/home/onCorrect.png new file mode 100644 index 0000000..e89a8b4 Binary files /dev/null and b/web-static/img/home/onCorrect.png differ diff --git a/web-static/img/home/onError.png b/web-static/img/home/onError.png new file mode 100644 index 0000000..e0a6da5 Binary files /dev/null and b/web-static/img/home/onError.png differ diff --git a/web-static/img/home/onShow.png b/web-static/img/home/onShow.png new file mode 100644 index 0000000..18b8cab Binary files /dev/null and b/web-static/img/home/onShow.png differ diff --git a/web-static/img/home/openbox_close.png b/web-static/img/home/openbox_close.png new file mode 100644 index 0000000..138afe0 Binary files /dev/null and b/web-static/img/home/openbox_close.png differ diff --git a/web-static/img/home/order-detail.png b/web-static/img/home/order-detail.png new file mode 100644 index 0000000..34ebe7a Binary files /dev/null and b/web-static/img/home/order-detail.png differ diff --git a/web-static/img/home/order-progress.png b/web-static/img/home/order-progress.png new file mode 100644 index 0000000..a278748 Binary files /dev/null and b/web-static/img/home/order-progress.png differ diff --git a/web-static/img/home/orders.png b/web-static/img/home/orders.png new file mode 100644 index 0000000..99e4ec7 Binary files /dev/null and b/web-static/img/home/orders.png differ diff --git a/web-static/img/home/pre-title.png b/web-static/img/home/pre-title.png new file mode 100644 index 0000000..b05bb62 Binary files /dev/null and b/web-static/img/home/pre-title.png differ diff --git a/web-static/img/home/qr-tip.png b/web-static/img/home/qr-tip.png new file mode 100644 index 0000000..b54af57 Binary files /dev/null and b/web-static/img/home/qr-tip.png differ diff --git a/web-static/img/home/red-envelopes.png b/web-static/img/home/red-envelopes.png new file mode 100644 index 0000000..32f7d9d Binary files /dev/null and b/web-static/img/home/red-envelopes.png differ diff --git a/web-static/img/home/reduction-notice.jpg b/web-static/img/home/reduction-notice.jpg new file mode 100644 index 0000000..d34aa66 Binary files /dev/null and b/web-static/img/home/reduction-notice.jpg differ diff --git a/web-static/img/home/refund-apply.png b/web-static/img/home/refund-apply.png new file mode 100644 index 0000000..e2d2429 Binary files /dev/null and b/web-static/img/home/refund-apply.png differ diff --git a/web-static/img/home/refund-bg.png b/web-static/img/home/refund-bg.png new file mode 100644 index 0000000..32fe639 Binary files /dev/null and b/web-static/img/home/refund-bg.png differ diff --git a/web-static/img/home/remark-btn.png b/web-static/img/home/remark-btn.png new file mode 100644 index 0000000..10e72be Binary files /dev/null and b/web-static/img/home/remark-btn.png differ diff --git a/web-static/img/home/return-success-icon.png b/web-static/img/home/return-success-icon.png new file mode 100644 index 0000000..995ce35 Binary files /dev/null and b/web-static/img/home/return-success-icon.png differ diff --git a/web-static/img/home/returns.png b/web-static/img/home/returns.png new file mode 100644 index 0000000..429cf57 Binary files /dev/null and b/web-static/img/home/returns.png differ diff --git a/web-static/img/home/sort-select.png b/web-static/img/home/sort-select.png new file mode 100644 index 0000000..741bda3 Binary files /dev/null and b/web-static/img/home/sort-select.png differ diff --git a/web-static/img/home/submit-btn.png b/web-static/img/home/submit-btn.png new file mode 100644 index 0000000..a0c15a6 Binary files /dev/null and b/web-static/img/home/submit-btn.png differ diff --git a/web-static/img/home/success-icon.png b/web-static/img/home/success-icon.png new file mode 100644 index 0000000..f8e5617 Binary files /dev/null and b/web-static/img/home/success-icon.png differ diff --git a/web-static/img/home/suggest-icon.png b/web-static/img/home/suggest-icon.png new file mode 100644 index 0000000..4a260d9 Binary files /dev/null and b/web-static/img/home/suggest-icon.png differ diff --git a/web-static/img/home/tab.png b/web-static/img/home/tab.png new file mode 100644 index 0000000..174e23f Binary files /dev/null and b/web-static/img/home/tab.png differ diff --git a/web-static/img/home/ucenter.png b/web-static/img/home/ucenter.png new file mode 100644 index 0000000..83bdad3 Binary files /dev/null and b/web-static/img/home/ucenter.png differ diff --git a/web-static/img/home/up-pic-back.png b/web-static/img/home/up-pic-back.png new file mode 100644 index 0000000..50f56a2 Binary files /dev/null and b/web-static/img/home/up-pic-back.png differ diff --git a/web-static/img/home/virtual-order-progress.png b/web-static/img/home/virtual-order-progress.png new file mode 100644 index 0000000..4686da7 Binary files /dev/null and b/web-static/img/home/virtual-order-progress.png differ diff --git a/web-static/img/order/save-sd2e09e2252.png b/web-static/img/order/save-sd2e09e2252.png new file mode 100644 index 0000000..a46d606 Binary files /dev/null and b/web-static/img/order/save-sd2e09e2252.png differ diff --git a/web-static/img/order/save-sdfcbae16f2.png b/web-static/img/order/save-sdfcbae16f2.png deleted file mode 100644 index 1813cff..0000000 Binary files a/web-static/img/order/save-sdfcbae16f2.png and /dev/null differ diff --git a/web-static/img/order/save/btn-new-down.png b/web-static/img/order/save/btn-new-down.png new file mode 100644 index 0000000..691b1bc Binary files /dev/null and b/web-static/img/order/save/btn-new-down.png differ diff --git a/web-static/img/order/save/btn-new-up.png b/web-static/img/order/save/btn-new-up.png new file mode 100644 index 0000000..a24e1aa Binary files /dev/null and b/web-static/img/order/save/btn-new-up.png differ diff --git a/web-static/img/order/save/btn_backcart.png b/web-static/img/order/save/btn_backcart.png new file mode 100644 index 0000000..796553c Binary files /dev/null and b/web-static/img/order/save/btn_backcart.png differ diff --git a/web-static/img/order/save/new-btn.png b/web-static/img/order/save/new-btn.png new file mode 100644 index 0000000..0de5ee5 Binary files /dev/null and b/web-static/img/order/save/new-btn.png differ diff --git a/web-static/img/passport/tip-saaf6d94c96.png b/web-static/img/passport/tip-sf68385e157.png index 4cadc82..bb8b05e 100644 Binary files a/web-static/img/passport/tip-saaf6d94c96.png and b/web-static/img/passport/tip-sf68385e157.png differ diff --git a/web-static/img/passport/tip/succ-info.png b/web-static/img/passport/tip/succ-info.png new file mode 100644 index 0000000..55656e2 Binary files /dev/null and b/web-static/img/passport/tip/succ-info.png differ diff --git a/web-static/img/passport/tip/success-icon.png b/web-static/img/passport/tip/success-icon.png new file mode 100644 index 0000000..a0acd70 Binary files /dev/null and b/web-static/img/passport/tip/success-icon.png differ diff --git a/web-static/img/product/hp-num.png b/web-static/img/product/hp-num.png new file mode 100644 index 0000000..d9390b9 Binary files /dev/null and b/web-static/img/product/hp-num.png differ diff --git a/web-static/img/product/service.png b/web-static/img/product/service.png index 0ea148b..422c4a5 100644 Binary files a/web-static/img/product/service.png and b/web-static/img/product/service.png differ diff --git a/web-static/img/product/top-good-qr.png b/web-static/img/product/top-good-qr.png index 4d7210b..88ec86b 100644 Binary files a/web-static/img/product/top-good-qr.png and b/web-static/img/product/top-good-qr.png differ diff --git a/web-static/img/product/vip-price-icon.png b/web-static/img/product/vip-price-icon.png new file mode 100644 index 0000000..f57d2ff Binary files /dev/null and b/web-static/img/product/vip-price-icon.png differ diff --git a/web-static/img/share/douban.png b/web-static/img/share/douban.png new file mode 100644 index 0000000..6e06167 Binary files /dev/null and b/web-static/img/share/douban.png differ diff --git a/web-static/img/share/qq.png b/web-static/img/share/qq.png new file mode 100644 index 0000000..903f8d5 Binary files /dev/null and b/web-static/img/share/qq.png differ diff --git a/web-static/img/share/qzone.png b/web-static/img/share/qzone.png new file mode 100644 index 0000000..8744ce2 Binary files /dev/null and b/web-static/img/share/qzone.png differ diff --git a/web-static/img/share/renren.png b/web-static/img/share/renren.png new file mode 100644 index 0000000..a9b1eaa Binary files /dev/null and b/web-static/img/share/renren.png differ diff --git a/web-static/img/share/tweibo.png b/web-static/img/share/tweibo.png new file mode 100644 index 0000000..16f78df Binary files /dev/null and b/web-static/img/share/tweibo.png differ diff --git a/web-static/img/share/weibo.png b/web-static/img/share/weibo.png new file mode 100644 index 0000000..57b84b5 Binary files /dev/null and b/web-static/img/share/weibo.png differ diff --git a/web-static/img/share/weixin.png b/web-static/img/share/weixin.png new file mode 100644 index 0000000..3376428 Binary files /dev/null and b/web-static/img/share/weixin.png differ diff --git a/web-static/img/sprite.cart.png b/web-static/img/sprite.cart.png new file mode 100644 index 0000000..7da9581 Binary files /dev/null and b/web-static/img/sprite.cart.png differ diff --git a/web-static/img/sprite.home.png b/web-static/img/sprite.home.png new file mode 100644 index 0000000..06f37fe Binary files /dev/null and b/web-static/img/sprite.home.png differ diff --git a/web-static/img/sprite.order.png b/web-static/img/sprite.order.png index dff645d..19904d2 100644 Binary files a/web-static/img/sprite.order.png and b/web-static/img/sprite.order.png differ diff --git a/web-static/img/sprite.passport.png b/web-static/img/sprite.passport.png index ba58763..7d76982 100644 Binary files a/web-static/img/sprite.passport.png and b/web-static/img/sprite.passport.png differ diff --git a/web-static/img/sprite.share.png b/web-static/img/sprite.share.png new file mode 100644 index 0000000..0fa570e Binary files /dev/null and b/web-static/img/sprite.share.png differ diff --git a/web-static/index.js b/web-static/index.js index 5e18584..0809bd8 100644 --- a/web-static/index.js +++ b/web-static/index.js @@ -1,10 +1,33 @@ var webYohobuy; +//通用 require('./js/common'); + +//头部 require('./js/header'); + +//简化头部 require('./js/simple-header'); + +//商品(列表、搜索、商品详情) require('./js/product/entry'); -require('./js/home/entry'); + +//频道页 +require('./js/index/index'); + +//品牌一览 +require('./js/brand/index'); + +//登录注册找回密码 require('./js/passport/entry'); +//购物车 +require('./js/cart/cart'); + +//个人中心 +require('./js/home/entry'); + +//订单确认 +require('./js/order/ensure'); + module.exports = webYohobuy; diff --git a/web-static/js/cart/cart.js b/web-static/js/cart/cart.js new file mode 100644 index 0000000..e54f1d2 --- /dev/null +++ b/web-static/js/cart/cart.js @@ -0,0 +1,757 @@ +/** + * @description: 购物车 + * @author: chenglong.wang@yoho.cn + * @tips: 购物车的商品计价在服务端处理,客户端只要在每次操作后刷新页面重新渲染就可以了 + */ + +var $ = require('yoho.jquery'); +var Handlerbars = require('yoho.handlebars'); +var dialog = require('../common/dialog'); + +var Confirm = dialog.Confirm; +var Alert = dialog.Alert; + +var $cartnewSum = $('.cartnew-sum'), + $cartnewTips = $('.cartnew-tips'), + $payWapper = $('.pay-wapper'), + $goodsDetail = $('.goods-detail'), + $histroy = $('.histroy'), + $together = $('.together'), + $shopCart = $('.shop-cart'), + $detailBigpic = $('.detail-bigpic'), + togetherProductSource, + togetherProductTemplate, + togetherProductStr, + subjoinPage, + subjoinPageNum, + subjoinPageAll, + pageDom, + selected, + pageNum = 1, + productNum, + goodstype, + delUrl, + count, + countJSON, + id, + dataJSON, + pacList = 0, + shopNum = 1, + shopNumAll, + productSku, + promotionId, + promotionPrice, + yetCollect, + collect, + isClass, + content, + productId, + shopName, + delNum, + understock, + selectArray = []; + + +// 关闭温馨提示 +$cartnewTips.find('.btn_close').click(function() { + $cartnewTips.fadeOut(); +}); + +// checkbox提交ajax +function choiceOut(data) { + dataJSON = { + skuList: JSON.stringify(data) + }; + $.ajax({ + type: 'POST', + dataType: 'json', + url: '/cart/index/select', + data: dataJSON, + beforeSend: function() { + $('.loading').css({ + top: $(document).scrollTop() + 200 + }); + $('.loading').show(); + } + }).then(function(d) { + if (d.code === 200) { + window.history.go(0); + } + }); +} + +//单选提交 +$payWapper.on('click', '.common-sell-box input[type="checkbox"], .pre-sell-box input[type="checkbox"]', function() { + selectArray = []; + selected = $(this).attr('checked') ? 'Y' : 'N'; + id = $(this).parents('tr').data('id'); + productNum = $(this).parents('tr').data('productnum'); + goodstype = $(this).data('goodstype'); + selectArray.push({ + product_sku: id, + selected: selected, + buy_number: productNum, + goods_type: goodstype + }); + choiceOut(selectArray); +}); + +//多选提交 +$cartnewSum.on('click', 'input[type="checkbox"]', function() { + selectArray = []; + selected = $(this).attr('checked') ? 'Y' : 'N'; + $('.pay-wapper:first tr').each(function() { + if ($(this).data('id')) { + selectArray.push({ + product_sku: $(this).data('id'), + selected: selected, + buy_number: $(this).data('productnum'), + goods_type: $(this).find('input[type="checkbox"]').data('goodstype') + }); + } + }); + choiceOut(selectArray); +}); + +// 凑单商品,最近浏览异步加载 +togetherProductSource = $('#togetherProduct').html(); +togetherProductTemplate = Handlerbars.compile(togetherProductSource); + +function getTogetherProduct($obj, url, page) { + $.ajax({ + type: 'GET', + dataType: 'json', + url: url, + data: page + }).then(function(d) { + if (d.code === 200) { + if (d.data.item) { + if (d.data.item.length > 0) { + $obj.html(' '); + togetherProductStr = togetherProductTemplate(d.data); + $obj.append($(togetherProductStr)); + $('#orderProduct li:last').addClass('end'); + $('.gift').removeClass('none'); + } + } + } + }); +} + +// 最近浏览 +getTogetherProduct($histroy, '/cart/index/getHistroyProduct'); + +// 凑单商品 +getTogetherProduct($together, '/cart/index/getTogetherProduct'); + +//凑单商品翻页 +$together.on('click', '.pagenext, .pageprev', function() { + getTogetherProduct($together, '/cart/index/getTogetherProduct', { + page: Math.ceil(Math.random() * 100) + 1 + }); + +}); + +//凑单商品,历史商品商品折叠 +$shopCart.on('click', '.icon-minus, .icon-add', function() { + if ($(this).hasClass('icon-minus')) { + $(this).parents('.title').next('.main').hide(); + $(this).parents('h2').next('.right').hide(); + } else { + $(this).parents('.title').next('.main').show(); + $(this).parents('h2').next('.right').show(); + } + $(this).siblings('i').toggleClass('none'); + $(this).toggleClass('none'); + +}); + +// 最近浏览翻页 +$histroy.on('click', '.pagenext, .pageprev', function() { + if ($(this).hasClass('pagenext')) { + pageNum++; + } else { + --pageNum > 0 || (pageNum = 1); + } + getTogetherProduct($histroy, '/cart/index/getHistroyProduct', { + page: pageNum + }); + +}); + + +//根据id获取商品信息 +function productInfo(data) { + $.ajax({ + type: 'GET', + dataType: 'html', + url: '/cart/index/getProductInfo', + data: data + }).then(function(d) { + $goodsDetail.html(' '); + $goodsDetail.append(d); + $('.bigpic :not(:first)').hide(); + $('.detail-bigpic:first .con li:first').addClass('active'); + if ($('.showSizeBox:not(.none) span:first').data('num') > 0) { + $('.showSizeBox:not(.none) span:first').addClass('atcive'); + } else { + $('.addcart').addClass('none'); + $('.btn_sellout').removeClass('none'); + } + $.each($('.showSizeBox span'), function() { + if ($(this).data('num') <= 0) { + $(this).addClass('nullAtcivec'); + } + }); + + if (typeof promotionPrice !== 'undefined') { + $('.oldprice').html('现价:<del>' + $('.oldprice del').html() + '</div>'); + $('.newprice').html('活动价<b class="promotion-price">' + promotionPrice + '</b>'); + } + $goodsDetail.show(); + }); +} + +function removeInfo() { + $goodsDetail.html(' '); + $goodsDetail.css({ + top: $(document).scrollTop() + 30, + left: $(document).width() / 2 - $goodsDetail.width() / 2 + }); + +} + +//显示加价购商品信息 +$payWapper.on('click', '.cart-add-btn', function() { + productId = $(this).data('id'); + promotionId = $(this).parents('table').data('promotion'); + promotionPrice = $(this).parents('table').find('.subjoin-price').html(); + removeInfo(); + productInfo({ + productId: productId + }); +}); + +//凑单商品,历史商品商品记录 +$('.clearfix').on('click', '.btn_view_s', function() { + productId = $(this).data('id'); + promotionId = $(this).parents('table').data('promotion'); + promotionPrice = $(this).parents('table').find('.subjoin-price').html(); + removeInfo(); + productInfo({ + productId: productId + }); +}); + +//关闭商品信息窗口 +$goodsDetail.on('click', '.colse', function() { + $goodsDetail.hide(); + $goodsDetail.html(' '); + shopNum = 1; +}); + +//展开加价购商品列表 +function fold(icon) { + icon.addClass('none').siblings('i').removeClass('none'); + icon.parents('.cart-product-num').siblings('div').toggleClass('fold'); + icon.siblings('.unfold-color').toggleClass('none'); + icon.siblings('.cart-page').toggleClass('none'); +} + +$payWapper.on('click', '.icon-minusCart, .icon-addCart', function() { + fold($(this)); +}); + + +$payWapper.on('click', '.unfold-color', function() { + fold($(this)); + $(this).siblings('.icon-minusCart').removeClass('none'); + $(this).siblings('.icon-addCart').addClass('none'); +}); + +//加价购商品分页 +$payWapper.on('click', '.cart-btn-next', function() { + subjoinPage = $(this).siblings('p').find('.f-red'); + subjoinPageAll = Number($(this).siblings('p').find('.subjoinPageNum').html()); + subjoinPageNum = Number(subjoinPage.html()); + subjoinPage.html(subjoinPageNum + 1); + if (subjoinPageNum >= subjoinPageAll - 1) { + $(this).hide(); + } else { + $(this).siblings('i').show(); + } + pageDom = $(this).parents('.cart-product-num').siblings('div').find('table'); + pageDom.addClass('none').eq(subjoinPageNum).removeClass('none'); +}); + +$payWapper.on('click', '.cart-btn-pre', function() { + subjoinPage = $(this).siblings('p').find('.f-red'); + subjoinPageAll = Number($(this).siblings('p').find('.subjoinPageNum').html()); + subjoinPageNum = Number(subjoinPage.html()); + subjoinPage.html(subjoinPageNum - 1); + if (subjoinPageNum <= 2) { + $(this).hide(); + } else { + $(this).siblings('i').show(); + } + pageDom = $(this).parents('.cart-product-num').siblings('div').find('table'); + pageDom.addClass('none').eq(subjoinPageNum - 2).removeClass('none'); +}); + +//删除购物车商品,把删除的商品移入cookie中 +function cartDel(data, delUrl, cookieList) { + dataJSON = { + skuList: JSON.stringify(data) + }; + $.ajax({ + type: 'POST', + dataType: 'json', + url: delUrl, + data: dataJSON, + beforeSend: function() { + $('.loading').css({ + top: $(document).scrollTop() + 200 + }); + $('.loading').show(); + } + }).then(function(d) { + if (d.code === 200) { + if (cookieList) { + window.setCookie('cart-del-list', JSON.stringify(cookieList), { + domain: '.yohobuy.com', + path: '/' + }); + } + window.history.go(0); + } else if (d.code === 300) { + $('.loading').hide(); + new Alert(d.message).show(); + } else if (d.code === 403) { + if (d.data.url) { + window.location = d.data.url; + } + } + }); +} + +//商品信息弹出框,加入收藏夹 +$goodsDetail.on('click', '.fav_count', function() { + $.ajax({ + type: 'POST', + dataType: 'json', + url: '/product/item/togglecollect', + data: { + productId: productId, + type: 'add' + } + }).then(function(d) { + if (d.code === 200) { + new Alert(d.message).show(); + } else if (d.code === 403) { + if (d.data.url) { + window.location = d.data.url; + } + } else { + new Alert(d.message).show(); + } + }); +}); + +//删除商品 +$payWapper.on('click', '.cart-del-btn', function() { + id = {}; + countJSON = {}; + isClass = $(this).attr('class'); + productNum = $(this).parents('tr').data('productnum'); + id['' + $(this).parents('tr').data('id')] = productNum; + + content = '<div><span></span>删除商品</div>' + + '<p>确定从购物车中删除此商品?</p>'; + if (!$(this).data('gift')) { + countJSON = { + productPrice: $(this).parents('tr').find('.productPrice').text(), + productTitle: $(this).parents('tr').find('.pay-pro-info a').text(), + link: $(this).parents('tr').find('.pay-pro-info a').attr('href'), + productNum: $(this).parents('tr').data('productnum'), + productSku: $(this).parents('tr').data('id') + }; + } + delUrl = '/cart/index/remove'; + new Confirm({ + content: content, + cb: function() { + cartDel(id, delUrl, countJSON); + } + }).show(); +}); + +//移入收藏夹 +$payWapper.on('click', '.cart-remove-btn', function() { + id = {}; + isClass = $(this).attr('class'); + productNum = $(this).parents('tr').data('productnum'); + id['' + $(this).parents('tr').data('id')] = productNum; + cartDel(id, '/cart/index/fav'); +}); + +//批量删除商品 +$cartnewSum.on('click', '.delAll', function() { + id = {}; + selectArray = []; + $('.pay-wapper:first tr').each(function() { + if ($(this).data('id')) { + if ($(this).find('input[type="checkbox"]').attr('checked')) { + id['' + $(this).data('id')] = $(this).data('productnum'); + countJSON = { + productPrice: $(this).find('.productPrice').text(), + productTitle: $(this).find('.pay-pro-info a').text(), + link: $(this).find('.pay-pro-info a').attr('href'), + productNum: $(this).data('productnum'), + productSku: $(this).data('id') + }; + selectArray.push(countJSON); + } + } + }); + delUrl = '/cart/index/remove'; + content = '<div><span></span>删除商品</div>' + + '<p>确定从购物车中删除所有选中商品?</p>'; + if (!$.isEmptyObject(id)) { + new Confirm({ + content: content, + cb: function() { + cartDel(id, delUrl, selectArray); + } + }).show(); + } else { + new Alert('请至少选择一件商品').show(); + } +}); + +//批量移入收藏夹商品 +$cartnewSum.on('click', '.removeAll', function() { + id = {}; + $('.pay-wapper:first tr').each(function() { + if ($(this).data('id')) { + if ($(this).find('input[type="checkbox"]').attr('checked')) { + id['' + $(this).data('id')] = $(this).data('productnum'); + } + } + }); + if (!$.isEmptyObject(id)) { + cartDel(id, '/cart/index/fav'); + } else { + new Alert('请至少选择一件商品').show(); + } +}); + +//购物车商品增减 +function countAJAX(data) { + $.ajax({ + type: 'POST', + dataType: 'json', + url: '/cart/index/modify', + data: data + }).then(function(d) { + if (d.code === 200) { + window.history.go(0); + } + }); +} + +$payWapper.on('click', '.minus, .plus', function() { + countJSON = {}; + count = $(this).hasClass('minus') ? 'decreaseNum' : 'increaseNum'; + countJSON['' + count] = 1; + if ($(this).siblings('input').val() === '1' && $(this).hasClass('minus')) { + id = {}; + isClass = $(this).attr('class'); + productNum = $(this).parents('tr').data('productnum'); + id['' + $(this).parents('tr').data('id')] = productNum; + + content = '<div><span></span>删除商品</div>' + + '<p>确定从购物车中删除此商品?</p>'; + countJSON = { + productPrice: $(this).parents('tr').find('.productPrice').text(), + productTitle: $(this).parents('tr').find('.pay-pro-info a').text(), + link: $(this).parents('tr').find('.pay-pro-info a').attr('href'), + productNum: $(this).parents('tr').data('productnum'), + productSku: $(this).parents('tr').data('id') + }; + delUrl = '/cart/index/remove'; + + // new Confirm({ + // content: content, + // cb: function() { + // cartDel(id, delUrl); + // } + // }).show(); + return false; + } + + countAJAX($.extend(countJSON, + { + sku: $(this).parents('tr').data('id') + } + )); +}); + + + +$('.gift').on('click', '.up, .down', function() { + $(this).siblings('i').toggleClass('none'); + $(this).toggleClass('none'); +}); + +//加入购物车 + +function addcart(data, cookieList) { + $.ajax({ + type: 'POST', + url: '/cart/index/add', + data: data + }).then(function(d) { + if (d.code === 200) { + window.history.go(0); + if (cookieList) { + window.setCookie('cart-del-list', JSON.stringify(cookieList), { + domain: '.yohobuy.com', + path: '/' + }); + } + } else if (d.code === 500) { + new Alert(d.message).show(); + } + }); +} + +$goodsDetail.on('click', '.addcart', function() { + shopNumAll = $('.showSizeBox:not(.none) .atcive').data('num'); + productSku = $('.showSizeBox:not(.none) .atcive').data('sku'); + dataJSON = { + productSku: productSku, + buyNumber: $('#mnum').val(), + promotionId: promotionId + }; + + if ($('#mnum').val() > shopNumAll) { + new Alert('库存不足,目前还有' + shopNumAll + '个库存').show(); + } else { + addcart(dataJSON); + } +}); + +$goodsDetail.on('click', '.cut, .add', function() { + count = $(this).hasClass('minus') ? 'decreaseNum' : 'increaseNum'; + if (promotionId) { + if ($(this).hasClass('cut')) { + new Alert('-_-,已经是最后一件,不能在减了!').show(); + } else { + new Alert('最多只能购买1,您好像购买的太多了!').show(); + } + } else { + if ($(this).hasClass('add')) { + shopNum++; + } else { + shopNum--; + } + if (shopNum < 1) { + new Alert('-_-,已经是最后一件,不能在减了!').show(); + return false; + } + + $('#mnum').val(shopNum); + } + +}); + +$goodsDetail.on('click', '.color', function() { + $('.color').find('p').removeClass('atcive'); + $(this).find('p').addClass('atcive'); + $('.showSizeBox').addClass('none').eq($(this).index()).removeClass('none'); + if ($('.showSizeBox:not(.none) span:first').data('num') > 0) { + $('.showSizeBox:not(.none) span:first').addClass('atcive'); + $('.addcart').removeClass('none'); + $('.btn_sellout').addClass('none'); + } else { + $('.showSizeBox:not(.none) span:first').addClass('atcivec'); + $('.addcart').addClass('none'); + $('.btn_sellout').removeClass('none'); + } + $detailBigpic.addClass('none').eq($(this).index()).removeClass('none'); + $detailBigpic.eq($(this).index()).find('.bigpic:first').show(); + $detailBigpic.eq($(this).index()).find('.con li:first').addClass('active'); + +}); + +$goodsDetail.on('click', '.showSizeBox span', function() { + shopNumAll = $(this).data('num'); + if ($(this).data('num') > 0) { + $('.showSizeBox:not(.none) span').removeClass('atcivec atcive').eq($(this).index()).addClass('atcive'); + $('.addcart').removeClass('none'); + $('.btn_sellout').addClass('none'); + } else { + $('.showSizeBox:not(.none) span').removeClass('atcivec atcive').eq($(this).index()).addClass('atcivec'); + $('.addcart').addClass('none'); + $('.btn_sellout').removeClass('none'); + } +}); + +//撤销删除 +$('.goBack').on('click', function() { + delNum = $('.dev-revocation .goBack').index(this); + selectArray = []; + $('.dev-revocation tr').each(function(index) { + if (delNum !== index) { + countJSON = { + productPrice: $(this).find('.productPrice').text(), + productTitle: $(this).find('.title').text(), + link: $(this).find('.title').attr('href'), + productNum: $(this).data('productnum'), + productSku: $(this).data('productsku') + }; + selectArray.push(countJSON); + } + }); + dataJSON = { + productSku: $(this).parents('tr').data('productsku'), + buyNumber: $(this).parents('tr').data('productnum') + }; + + addcart(dataJSON, selectArray); +}); + +$goodsDetail.on('click', '.piclist li', function() { + pacList = $(this).index(); + $('.detail-bigpic:not(.none) .piclist li').removeClass('active'); + $(this).addClass('active'); + $('.detail-bigpic:not(.none) .bigpic').hide().eq($(this).index()).show(); +}); + +function isSollect() { + $('.gift-wrapper .fold').show(); + if ($('.pre-sell-box input:checked').length === $('.pre-sell-box input[type="checkbox"]').length) { + $('.per-list input[type="checkbox"]').attr('checked', true); + } + + if ($('.common-sell-box input:checked').length === $('.common-sell-box input[type="checkbox"]').length) { + $('.common-list input[type="checkbox"]').attr('checked', true); + } + + $('.cart-page').each(function() { + if ($(this).data('pageall') === 1) { + $('.cart-btn-pre', this).hide(); + $('.cart-btn-next', this).hide(); + } else { + $('.cart-btn-pre', this).hide(); + } + }); + + if ($('.pre-sell-box input:checked').length > 0 && $('.common-sell-box input:checked').length > 0) { + $('.go_cash_tips').show(); + $('.btn_account_disabled').show(); + $('.btn_account').hide(); + } else { + $('.go_cash_tips').hide(); + $('.btn_account').show(); + $('.btn_account_disabled').hide(); + } + + $('.pay-wapper tr').each(function() { + if ($(this).data('pid')) { + selectArray.push($(this).data('pid') + ''); + } + + }); + $.ajax({ + type: 'POST', + url: '/cart/index/checkFav', + data: { + pidList: JSON.stringify(selectArray) + } + }).then(function(d) { + yetCollect = '<span class="cart-yetremove-btn">已收藏</span>'; + collect = '<a href="javascript:void(0);" class="cart-remove-btn"><span>移入收藏</span></a>'; + $.each(d.data, function(key, val, index) { + $('.pay-wapper tr').each(function() { + if (Number($(this).data('pid')) === Number(key)) { + if (val) { + $(this).find('.cart-operation').append(yetCollect); + } else { + $(this).find('.cart-operation').append(collect); + } + } + }); + }); + }); +} + +isSollect(); + +$goodsDetail.on('click', '.pre, .next', function() { + if ($(this).hasClass('next')) { + if (pacList > $(this).siblings('.con').find('li').length - 2) { + return false; + } + pacList++; + } else { + if (pacList < 1) { + return false; + } + pacList--; + } + + $(this).siblings('.con').find('li').removeClass('active').eq(pacList).addClass('active'); + $('.bigpic').hide().eq(pacList).show(); +}); + +//结算 +$('.btn_account').on('click', function() { + understock = ''; + if ($('.pay-wapper input:checked').parents('tr').find('.tipNoStore').length > 0) { + shopName = $('.pay-wapper input:checked').parents('tr').find('.tipNoStore'); + $.each(shopName.parents('.common-sell-box').find('.pay-pro-info a'), function() { + understock += $(this).html(); + }); + new Alert(understock + '库存不足').show(); + } else { + if ($('.zp').length > 0 && !$(this).attr('title')) { + $(this).attr('title', '1'); + new Alert('您有赠品没有选择,请选择完再结算!').show(); + } else { + if ($('input:checked').length > 0) { + if ($('.pre-sell-box input:checked').length > 0) { + window.location.href = '/cart/index/orderEnsure?type=2'; + } else { + window.location.href = '/cart/index/orderEnsure?type=1'; + } + } else { + new Alert('请至少选择一件商品').show(); + } + } + } +}); + +function isCheck(obj, className) { + selectArray = []; + selected = obj.attr('checked') ? 'Y' : 'N'; + $('.' + className).each(function() { + if ($(this).data('id')) { + selectArray.push({ + product_sku: $(this).data('id'), + selected: selected, + buy_number: $(this).data('productnum'), + goods_type: $(this).find('input[type="checkbox"]').data('goodstype') + }); + } + }); + choiceOut(selectArray); +} + +$('.per-list').on('click', 'input[type="checkbox"]', function() { + isCheck($(this), 'pre-sell-box'); +}); + +$('.common-list').on('click', 'input[type="checkbox"]', function() { + isCheck($(this), 'common-sell-box'); +}); \ No newline at end of file diff --git a/web-static/js/common.js b/web-static/js/common.js index 8b50ad7..6606aed 100644 --- a/web-static/js/common.js +++ b/web-static/js/common.js @@ -1,159 +1,179 @@ -/** - * 页面公共逻辑和接口 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/11/23 - */ -var $ = require('yoho.jquery'); - - -var $body = $('body'); - -require('./footer'); - -function cookie(name) { - var re = new RegExp(name + '=([^;$]*)', 'i'), - matchPattern = '$1'; - - return re.test(decodeURIComponent(document.cookie)) ? RegExp[matchPattern] : ''; -} - -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; -} - -//YAS统计代码 -(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.14/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.14', 'yohobuy_web', uid, '', ''); - } -}()); - -//window.resize在width<1180时适配成990 -$(window).on('resize', function() { - var w = $(this).width(); - - //return top - if (w < 1360) { - $('.return-top').addClass('min'); - } else { - $('.return-top').removeClass('min'); - } - - //body - if (w < 1180) { - $body.addClass('min-screen'); - } else { - $body.removeClass('min-screen'); - } -}).trigger('resize'); - -function queryString() { - var vars = {}, - hash, - i, - search = window.location.search, - hashes = search ? decodeURIComponent(search).slice(1).split('&') : []; - - for (i = 0; i < hashes.length; i++) { - hash = hashes[i].split('='); - vars[hash[0]] = hash[1]; - } - return vars; -} - -window.cookie = cookie; - -window.setCookie = setCookie; - -window.getUser = getUser; - -window.getUid = getUid; - -window.getShoppingKey = getShoppingKey; - -window.queryString = queryString; +/** + * 页面公共逻辑和接口 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/23 + */ +var $ = require('yoho.jquery'); + + +var $body = $('body'); + +require('./footer'); + +function cookie(name) { + var re = new RegExp(name + '=([^;$]*)', 'i'), + matchPattern = '$1'; + + return re.test(decodeURIComponent(document.cookie)) ? RegExp[matchPattern] : ''; +} + +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; +} + +//YAS统计代码 +(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.14/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.14', 'yohobuy_web', uid, '', ''); + } +}()); + +//window.resize在width<1180时适配成990 +$(window).on('resize', function() { + var w = $(this).width(); + + //return top + if (w < 1360) { + $('.return-top').addClass('min'); + } else { + $('.return-top').removeClass('min'); + } + + //body + if (w < 1180) { + $body.addClass('min-screen'); + } else { + $body.removeClass('min-screen'); + } +}).trigger('resize'); + +function queryString() { + var vars = {}, + hash, + i, + search = window.location.search, + hashes = search ? decodeURIComponent(search).slice(1).split('&') : []; + + for (i = 0; i < hashes.length; i++) { + hash = hashes[i].split('='); + vars[hash[0]] = hash[1]; + } + return vars; +} + +//个人中心左侧栏头像加载失败后,显示默认头像 +(function() { + $(window).load(function() { + var thumb = document.getElementById('user-thumb'); + var img; + + if (!thumb) { + return; + } + + img = new Image(); + + img.src = thumb.src; + + img.onerror = function() { + $(thumb).parent().append('<div class="default-user-thumb"></div>').end().remove(); + }; + }); +}()); + +window.cookie = cookie; + +window.setCookie = setCookie; + +window.getUser = getUser; + +window.getUid = getUid; + +window.getShoppingKey = getShoppingKey; + +window.queryString = queryString; diff --git a/web-static/js/common/dialog.js b/web-static/js/common/dialog.js new file mode 100644 index 0000000..d889c9f --- /dev/null +++ b/web-static/js/common/dialog.js @@ -0,0 +1,153 @@ +/** + * 弹框公共组件 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2016/2/24 + */ + +var $ = require('yoho.jquery'), + Handlebars = require('yoho.handlebars'); + +var defaultOptions = { + mask: true, + closeIcon: true +}; + +var tpl = + '<div class="yoho-dialog {{className}} hide">' + + '{{#if closeIcon}}' + + '<span class="close">' + + '<i class="iconfont"></i>' + + '</span>' + + '{{/if}}' + + '<div class="content">' + + '{{{content}}}' + + '</div>' + + '<div class="btns">' + + '{{# btns}}' + + '<span {{#if id}}id="dialog-{{id}}"{{/if}} class="btn{{#each btnClass}} {{.}}{{/each}}">' + + '{{name}}' + + '</span>' + + '{{/ btns}}' + + '</div>' + + '</div>'; + +var tplFn = Handlebars.compile(tpl); + +//背景蒙版 +function createMask() { + if ($('.body-mask').length === 0) { + $('body').append('<div class="body-mask hide"></div>'); + } + + return $('.body-mask').css({ + height: $(document).height(), + width: $(document).width() + }); +} + +function createDialog(data) { + $('body').append(tplFn(data)); + + return $('.yoho-dialog'); +} + +function Dialog(options) { + var opt = $.extend({}, defaultOptions, options); + var that = this, + i; + + if (opt.mask) { + that.$mask = createMask(); + } + that.$el = createDialog(opt); + + //绑定x关闭事件 + that.$el.find('.close').click(function() { + that.close(); + }); + + function bindBtnEvt(index) { + that.$el.find('#dialog-' + opt.btns[index].id).on('click', function() { + opt.btns[index].cb && opt.btns[index].cb(); + }); + } + + //绑定按钮事件 + if (!!opt.btns) { + for (i = 0; i < opt.btns.length; i++) { + bindBtnEvt(i); + } + } +} + +Dialog.prototype.close = function() { + this.$mask && this.$mask.addClass('hide'); + this.$el.remove(); +}; + +Dialog.prototype.show = function() { + this.$mask && this.$mask.removeClass('hide'); + this.$el.removeClass('hide').css({ + 'margin-top': -this.$el.height() / 2, + 'margin-left': -this.$el.width() / 2 + }); +}; + +exports.Dialog = Dialog; + +//Alert +function Alert(content) { + var that = this; + var option = { + content: content, + className: 'alert-dialog', + btns: [ + { + id: 'alert-sure', + btnClass: ['alert-sure'], + name: '确定', + cb: function() { + that.close(); + } + } + ] + }; + + Dialog.call(this, option); +} + +Alert.prototype = new Dialog(); +Alert.prototype.constructor = Alert; +exports.Alert = Alert; + +//Confirm +function Confirm(opt) { + var that = this; + + var option = { + content: opt.content, + className: 'confirm-dialog', + btns: [ + { + id: 'confirm-sure', + btnClass: ['confirm-sure'], + name: '确定', + cb: opt.cb + }, + { + id: 'confirm-cancel', + btnClass: ['confirm-cancel'], + name: '取消', + cb: function() { + that.close(); + } + } + ] + }; + + Dialog.call(this, option); +} + +Confirm.prototype = new Dialog(); +Confirm.prototype.constructor = Confirm; +exports.Confirm = Confirm; \ No newline at end of file diff --git a/web-static/js/common/share.js b/web-static/js/common/share.js index 7c7fdab..e40e0dd 100644 --- a/web-static/js/common/share.js +++ b/web-static/js/common/share.js @@ -1,6 +1,12 @@ -/*var $ = require('yoho.jquery'); +/** + * 分享 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2016/3/1 + */ -module.exports = function(options) { +var $ = require('yoho.jquery'); + +function shareBase(options) { var openUrl = ''; var defOption = { title: '', @@ -10,66 +16,105 @@ module.exports = function(options) { desc: '', channel: '' }; - var shareChannels = ['weibo', 'tqq', 'qzone', 'renren', 'qq', 'douban','weixin']; + var shareChannels = ['weibo', 'tweibo', 'qzone', 'renren', 'qq', 'douban','weixin']; var sharebox; var shareCon = '<em><i></i></em>'; defOption = $.extend(defOption, options); - this.weibo = function() { - openUrl = 'http://service.weibo.com/share/share.php?url=' + - defOption.url + '&title=' + defOption.title + - '&appkey=3739328910&searchPic=true&pic=' + defOption.image; - }; - this.tqq = function() { - openUrl = 'http://share.v.t.qq.com/index.php?c=share&a=index&url=' + - defOption.url + '&title=' + defOption.title + - '&appkey=c0af9c29e0900813028c2ccb42021792&pic=' + defOption.image; - }; - this.qzone = function() { - openUrl = 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=' + - defOption.url + '&title=' + defOption.title + - '&desc=&summary=' + defOption.desc + '&site=YOHO!有货&pics=' + defOption.image; - }; - this.renren = function() { - openUrl = 'http://widget.renren.com/dialog/share?resourceUrl=' + - defOption.url + '&srcUrl=' + defOption.url + '&desc=' + defOption.desc + - '&title=' + defOption.title + '&description=' + - defOption.desc + '&pic=' + defOption.image; - }; - this.qq = function() { - openUrl = 'http://connect.qq.com/widget/shareqq/index.html?url=' + - defOption.url + '&desc=' + defOption.desc + '&title=' + - defOption.title.replace('%', '') + '&desc=&summary=' + defOption.desc + - '&site=YOHO!有货&pics=' + defOption.image; - }; - this.weixin = function() { - openUrl = 'http://s.jiathis.com/qrcode.php?url=' + - defOption.weixinUrl + '&desc=' + defOption.desc + '&title=' + defOption.title + - '&description=' + defOption.desc + '&pic=' + defOption.image; - }; - this.douban = function() { - openUrl = 'http://www.douban.com/share/service?href=' + - defOption.url + '&text=' + defOption.desc + '&image=' + defOption.image + - '&title=' + defOption.title + '&comment='; - }; + if ($.inArray(defOption.channel, shareChannels) === -1) { alert('不存在的分享平台!'); return false; } - eval(defOption.channel + '();'); + + switch (defOption.channel) { + case 'weibo': + openUrl = 'http://service.weibo.com/share/share.php?url=' + defOption.url + '&title=' + + defOption.title + '&appkey=3739328910&searchPic=true&pic=' + defOption.image; + break; + case 'tweibo': + openUrl = 'http://share.v.t.qq.com/index.php?c=share&a=index&url=' + defOption.url + '&title=' + + defOption.title + '&appkey=c0af9c29e0900813028c2ccb42021792&pic=' + defOption.image; + break; + case 'qzone': + openUrl = 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=' + defOption.url + '&title=' + + defOption.title + '&desc=&summary=' + defOption.desc + '&site=YOHO!有货&pics=' + defOption.image; + break; + case 'renren': + openUrl = 'http://widget.renren.com/dialog/share?resourceUrl=' + defOption.url + '&srcUrl=' + + defOption.url + '&desc=' + defOption.desc + '&title=' + defOption.title + '&description=' + + defOption.desc + '&pic=' + defOption.image; + break; + case 'qq': + openUrl = 'http://connect.qq.com/widget/shareqq/index.html?url=' + defOption.url + '&desc=' + + defOption.desc + '&title=' + defOption.title.replace('%', '') + '&desc=&summary=' + + defOption.desc + '&site=YOHO!有货&pics=' + defOption.image; + break; + case 'weixin': + openUrl = 'http://s.jiathis.com/qrcode.php?url=' + defOption.weixinUrl + '&desc=' + + defOption.desc + '&title=' + defOption.title + '&description=' + + defOption.desc + '&pic=' + defOption.image; + break; + case 'douban': + openUrl = 'http://www.douban.com/share/service?href=' + defOption.url + '&text=' + + defOption.desc + '&image=' + defOption.image + '&title=' + defOption.title + '&comment='; + break; + } + if (defOption.channel === 'weixin') { - if (defOption.self && defOption.self.closest('.share-to').find('.shareWeixin')) { - sharebox = defOption.self.closest('.share-to').find('.shareWeixin'); + if (!defOption.self) { + return; + } + + sharebox = defOption.self.closest('.share-to').find('.weixin-share-box'); + + if (sharebox.length > 0) { shareCon += '<div class="con"><h2>分享到微信朋友圈</h2><p class="pic">' + '<img src="' + openUrl + '" /></p><p class="w">打开微信,点击底部得“发现”,使用<br/>“扫一扫“即可将网页分享到我的朋友圈。</p>' + '<a href="javascript:void(0)" class="close">x</a></div>'; sharebox.find('div').length > 0 ? sharebox.show() : sharebox.html(shareCon).show(); sharebox.find('.close').click(function() { - $(this).closest('.shareWeixin').hide(); + $(this).closest('.weixin-share-box').hide(); }); } } else { window.open(encodeURI(openUrl)); } -};*/ \ No newline at end of file +} + +function share(channel, self) { + var title = document.title.replace(/(^\s*)|(\s*$)/g, ''); + var desc = $('#share-desc').val(); + var image = $('#share-img').val(); + var weixinUrl = $('#weixin-url').val(); + + + if (channel === 'weibo' || channel === 'tqq') { + shareBase({ + channel: channel, + title: title, + image: image + }); + } else { + shareBase({ + channel: channel, + title: title, + desc: desc, + image: image, + self: self, + weixinUrl: weixinUrl + }); + } +} + +$('.share-wrapper').on('click', 'i', function() { + var $el = $(this), + type = $el.data('type'); + + if (type === 'weixin') { + share(type, $el); + } else { + share(type); + } +}); \ No newline at end of file diff --git a/web-static/js/common/slider.js b/web-static/js/common/slider.js index 48c39b7..c38ac03 100644 --- a/web-static/js/common/slider.js +++ b/web-static/js/common/slider.js @@ -131,10 +131,14 @@ var $ = require('yoho.jquery'), this.smallItem.eq(this.index).addClass('focus').siblings().removeClass('focus'); this.bigItem.eq(this.index).show().stop().animate({ opacity: 1 + }, function() { + + //修正IE下切换时文字会重叠的问题 + $(this).find('.slide-tips > p').removeClass('hide'); }).siblings().stop().animate({ opacity: 0 }, function() { - $(this).hide(); + $(this).hide().find('.slide-tips > p').addClass('hide'); }); }, _autoplay: function() { diff --git a/web-static/js/guang/detail.js b/web-static/js/guang/detail.js index 8d35848..4210dd7 100644 --- a/web-static/js/guang/detail.js +++ b/web-static/js/guang/detail.js @@ -7,8 +7,7 @@ var $ = require('yoho.jquery'), lazyLoad = require('yoho.lazyload'), $commentArea = $('#comment-area'), - articleId = $('#detail-container').data('id'), - yoShare = require('../common/share'); + articleId = $('#detail-container').data('id'); var $commentList = $commentArea.find('.comments-wrap'), $commentNum = $('#article-comment > .comment-num'), @@ -21,6 +20,8 @@ var $commentList = $commentArea.find('.comments-wrap'), require('./right-side'); require('./img-blink'); +require('../common/share'); + //Pjax require('yoho.pjax'); @@ -132,43 +133,6 @@ $('#collect-btn').click(function() { $(this).toggleClass('hover'); }); -//Share -function share(channel, self) { - var title = $('#share-title').val(); - var desc = document.title.replace(/(^\s*)|(\s*$)/g, ''); - var image = $('#share-img').val(); - var weixinUrl = $('#weixin-url').val(); - - if (channel === 'weibo' || channel === 'tqq') { - yoShare({ - channel: channel, - title: title, - image: image - }); - } else { - yoShare({ - channel: channel, - title: '【YOHO!有货】最快、最全、最权威的潮流品牌型录发布平台', - desc: desc, - image: image, - self: self, - weixinUrl: weixinUrl - }); - } -} - -$('.article-share').delegate('.share-a', 'click', function(e) { - var $el = $(this), - type = $el.data('type'); - - e.preventDefault(); - if (type === 'weixin') { - share(type, $el); - } else { - share(type); - } -}); - //评论 function comment(id) { var commentInfo = $('#comment-info').val(); diff --git a/web-static/js/header.js b/web-static/js/header.js index f7f0592..9f757bb 100644 --- a/web-static/js/header.js +++ b/web-static/js/header.js @@ -272,9 +272,11 @@ function actionGoodsCart() { getShoppingKey: function() { var shoppingInfo = window.cookie('_g'); var shoppingData = json2.parse(shoppingInfo); + var spk; if (typeof shoppingInfo === 'undefined' || shoppingInfo === null) { - return ''; + spk = window.cookie('_SPK'); + return spk ? spk : ''; } return shoppingData._k; } @@ -323,15 +325,14 @@ handlebars.registerHelper('equallevelthree', function(v1, options) { }); /** - * 判断为0的helper + * 判断不为'0'的helper * @param {[type]} v1 [description] * @param {[type]} options) { if (v1 [description] * @return {[type]} [description] */ -handlebars.registerHelper('equalzero', function(v1, options) { - - if (v1 === '0') { +handlebars.registerHelper('notzero', function(v1, options) { + if (v1 !== '0') { return options.fn(this); } else { return options.inverse(this); @@ -1519,6 +1520,11 @@ function actionLoginInfo() { if (_data.result !== -1) { actionLoginState(_data); // 更改登录状态 actionVipInfo(_data); //获得vip; + } else { + window.setCookie('_UID', '', { + domain: '.yohobuy.com', + expires: -1 + }); } }); } diff --git a/web-static/js/home/address.js b/web-static/js/home/address.js new file mode 100644 index 0000000..aeeb73e --- /dev/null +++ b/web-static/js/home/address.js @@ -0,0 +1,354 @@ +/** + * 个人中心页-地址管理 + * @author: wsl<shuiling.wang@yoho.cn> + * @date: 2016/02/24 + */ +var $ = require('yoho.jquery'), + regionCode = require('./common-address'), + dialog = require('../common/dialog'), + Alert = dialog.Alert; + +var active; + +var $del = $('.address-del'), + $edit = $('.address-modify'), + $input = $('.input-1'); + +var address = { + + evil: function(fn) { + var Fn = Function; + + return new Fn('return ' + fn)(); + }, + + clearAddrForm: function() { + $('#addressName').val(''); + $('#address').val(''); + $('#zipCode').val(''); + $('#phone').val(''); + $('#mobile').val(''); + $('#email').val(''); + $('#addrId').val(0); + $('#btn-reset').hide(); + $('#form-status').html('添加新地址'); + }, + + editAddr: function(id) { + $.getJSON('/home/address/editAddress?id=' + id, function(jsonData) { + if (jsonData.code === 200) { + $('#form-status').html('修改地址'); + $('#addressName').val(jsonData.data.consignee); + + regionCode.loadAllData(jsonData.data.area_code, {}); + $('#address').val(jsonData.data.address); + $('#email').val(jsonData.data.email); + $('#phone').val(jsonData.data.phone); + $('#mobile').val(jsonData.data.mobile); + $('#zipCode').val(jsonData.data.zip_code); + $('#addrId').val(jsonData.data.address_id); + $('#btn-reset').show(); + } + }); + }, + + saveAddr: function(callbackFunc) { + $.post('/home/address/saveAddress', $('#address-form').serialize(), function(data) { + if (data.code === 200) { + location.reload(); + } else { + active = new Alert(data.message); + active.show(); + } + }, 'json'); + }, + + // 删除地址 + delAddr: function(addrId) { + $.getJSON('/home/address/delAddress?id=' + addrId, function(jsonData) { + if (jsonData.code === 200) { + $('.address-list').find('li[addressId=' + addrId + ']').remove(); + } else { + active = new Alert('删除失败'); + active.show(); + } + }); + }, + + setDefaultAddr: function(addrId) { + var oldBtn = $('.address-list').find('.default-btn'), + oldLi = $('.address-list').find('.default-btn').parents('li'), + curLi = $('.address-list').find('li[addressId=' + addrId + ']'), + curBtn = curLi.find('.set-default-btn'); + + $.getJSON('/home/address/defaultAddress?id=' + addrId, function(jsonData) { + if (jsonData.code === 200) { + oldBtn.attr('class', 'btn-c3 set-default-btn'); + oldLi.removeClass('preferred'); + oldBtn.html('<span>设为常用地址</span>'); + curBtn.attr('class', 'btn-c2 default-btn'); + oldBtn.html('<span>设为常用地址</span>'); + curLi.addClass('preferred'); + } else { + active = new Alert('设置失败'); + active.show(); + } + }); + } +}; + +if (!Array.prototype.indexOf) { + Array.prototype.indexOf = function(obj, start) { + var i, + j; + + for (i = (start || 0), j = this.length; i < j; i++) { + if (this[i] === obj) { + return i; + } + } + + return -1; + }; +} + +// 获取地址id +function getAddressId(dom) { + var li = dom.parents('.address-content'), + id = li.attr('addressId'); + + return id; +} + +//表单焦点显示 +function focusAction(opt) { + var msg = ''; + + if (opt.inputName === 'addressName') { + msg = '真实姓名在2到5个汉字之间'; + } + + if (opt.inputName === 'address') { + msg = '请填写详细地址'; + } + + if (opt.inputName === 'zipCode') { + msg = '请输入收货人所在地邮编号'; + } + + if (opt.inputName === 'phone') { + msg = '格式例如:0577-88888888'; + } + + if (opt.inputName === 'mobile') { + msg = '请输入手机号,如1360000000'; + } + + if (opt.inputName === 'email') { + msg = '用来接收订单提醒邮件,便于您及时了解订单状态'; + } + + opt.$checkInfo.removeClass('form-prompt').addClass('form-focus').html(msg); +} + +//表单失去焦点显示 +function blurAction(opt) { + var regular = '', + res = true, + msg = '输入正确', + domClass = 'form-info form-success', + value = opt.val; + + if (opt.inputName === 'addressName') { + regular = /^[\u4e00-\u9fa5]{2,5}$/; + + if (opt.len < 1 || opt.len > 12) { + msg = '真实姓名在2到5个汉字之间,请确认'; + res = false; + domClass = 'form-info form-error'; + } else if (regular.test(opt.val) === false) { + msg = '真实姓名至少2个中文,最多5个中文'; + res = false; + domClass = 'form-info form-error'; + } + } + + if (opt.inputName === 'address') { + if (opt.len < 2) { + msg = '请填写详细地址'; + res = false; + domClass = 'form-info form-error'; + } + } + + if (opt.inputName === 'zipCode') { + regular = /^[0-9]{6}$/; + + if (opt.len === 0) { + msg = '请输入收货人所在地邮编号'; + res = false; + domClass = 'form-info form-error'; + } else if (regular.test(opt.val) === false) { + msg = '你输入的邮编式不正确'; + res = false; + domClass = 'form-info form-error'; + } + } + + if (opt.inputName === 'phone') { + regular = /^(0[0-9]{2,3}\-)?([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$/; + + if (opt.len === 0) { + msg = '你真的不想留联系电话了吗?'; + res = true; + domClass = 'form-info form-success'; + } else if (regular.test(opt.val) === false) { + msg = '你输入的联系电话格式不正确'; + res = false; + domClass = 'form-info form-error'; + } + } + + if (opt.inputName === 'mobile') { + regular = /^1[3|4|5|8|7][0-9]{9}$/; + + if (opt.len !== 11) { + msg = '手机号码必须是11位的,请确认'; + res = false; + domClass = 'form-info form-error'; + } else if (regular.test(opt.val) === false) { + msg = '您输入的手机号格式不正确'; + res = false; + domClass = 'form-info form-error'; + } + } + + if (opt.inputName === 'email') { + regular = '^[a-z0-9_\-]+(\.[_a-z0-9\-]+)*@([_a-z0-9\-]+\.)+([a-z]{2}|aero|arpa|biz|com|coop|' + + 'edu|gov|info|int|jobs|mil|museum|name|nato|net|org|pro|travel)$'; + + if (value.match(regular) === null || opt.len === 0) { + msg = '你输入的邮件地址格式不正确'; + res = false; + domClass = 'form-info form-error'; + } + } + + opt.$checkInfo.removeClass().addClass(domClass).html(msg); + return res; +} + + +// 地址表单验证 +function checkAddressForm(dom, action) { + var val = dom.val(), + $domParent = dom.parent(), + opt = { + val: val, + len: val.length, + $domParent: dom.parent(), + $checkInfo: $domParent.find('span'), + inputName: dom.attr('name') + }; + + if (action === 'focus') { + focusAction(opt); + } + + if (action === 'blur') { + return blurAction(opt); + } +} + +function fullOneValidator() { + var phone = $('#phone').next(), + mobile = $('#mobile').next(); + + if (mobile.hasClass('form-success') && !phone.hasClass('form-error') && $('#phone').val().length === 0) { + phone.removeClass().addClass('form-prompt form-info').html('请输入你的联系电话,可以为空哦'); + return true; + } else if (phone.html() === '输入正确' && !mobile.hasClass('form-error') && $('#mobile').val().length === 0) { + mobile.removeClass().addClass('form-prompt form-info').html('填写手机号便于接收发货和收货通知'); + return true; + } else if (!mobile.hasClass('form-success') && phone.html() !== '输入正确') { + phone.removeClass().addClass('form-success form-info').html('你真的不想留联系电话了吗?'); + mobile.removeClass().addClass('form-prompt form-info').html('填写手机号便于接收发货和收货通知'); + $('#mobile').focus(); + return false; + } +} + +//校验所有内容 +function checkAllForm() { + var arr = []; + + $.each($input, function(key, item) { + arr.push(checkAddressForm($(item), 'blur')); + }); + + arr.push(fullOneValidator()); + + $.each($('.form-info'), function(key, item) { + if ($(item).hasClass('form-error')) { + $(item).prev().focus(); + return false; + } + }); + + + if (arr.indexOf(false) === -1) { + return true; + } else { + return false; + } +} + +$(document).on('click', '.set-default-btn', function() { + var id = getAddressId($(this)); + + address.setDefaultAddr(id); +}); + +$del.on('click', function() { + var id = getAddressId($(this)); + + address.delAddr(id); +}); + +$edit.on('click', function() { + var id = getAddressId($(this)); + + address.editAddr(id); + $('#btn-reset').show(); +}); + +$input.on('focus', function() { + checkAddressForm($(this), 'focus'); +}); + +$input.on('blur', function() { + checkAddressForm($(this), 'blur'); +}); + +$('#address-info').on('click', function() { + if (checkAllForm()) { + address.saveAddr(); + } +}); + +$(document).ready(function() { + regionCode.loadAllData( + 0, + { + provinceDomId: 'province', + cityDomId: 'city', + areaDomId: 'areaCode' + } + ); + + address.clearAddrForm(); + + $('#btn-reset').click(function() { + address.clearAddrForm(); + }); +}); \ No newline at end of file diff --git a/web-static/js/home/comment.js b/web-static/js/home/comment.js new file mode 100644 index 0000000..497f753 --- /dev/null +++ b/web-static/js/home/comment.js @@ -0,0 +1,74 @@ +/** + * 退换货申请 + * @author: yyqing<yanqing.yang@yoho.cn> + * @date: 2016/3/1 + */ +var $ = require('yoho.jquery'); + +var $comment = $('.comment-table'), + $remarkBtn = $comment.find('.remark-btn'); + +var $dialog = $('#comment-dialog-widget'), + $titleBar = $dialog.find('.dialog-titlebar'), + $commentArea = $dialog.find('textarea'), + $closeBtn = $dialog.find('.dialog-close-btn'); + +var pageW = $(document).width(), + pageH = $(document).height(), + winH = $(window).height(); + +var dialog = { + padding: 12, + canmove: false, + offset: {}, + maxtop: 0, + maxleft: 0 +}; + +$remarkBtn.click(function() { + var scrollTop = $(document).scrollTop(); + + $commentArea.val(''); + $dialog.removeClass('hide').css({ + top: scrollTop + (winH - $dialog.height() - dialog.padding) / 2, + left: (pageW - $dialog.width() - dialog.padding) / 2 + }); +}); + +// 评论弹窗 +$titleBar.bind('mousedown', function(e) { + if ($(e.target).hasClass('dialog-close-btn')) { + return; + } + + dialog.canmove = true; + dialog.offset = { + x: e.offsetX, + y: e.offsetY + }; + dialog.maxtop = pageH - $dialog.height() - dialog.padding; + dialog.maxleft = pageW - $dialog.width() - dialog.padding; +}); + +$(document).mousemove(function(e) { + var mtop, mleft; + + if (!dialog.canmove) { + return; + } + + mtop = e.pageY - dialog.offset.y; + mleft = e.pageX - dialog.offset.x; + mtop = mtop < dialog.maxtop ? mtop : dialog.maxtop; + mleft = mleft < dialog.maxleft ? mleft : dialog.maxleft; + $dialog.css({ + top: mtop > 0 ? mtop : 0, + left: mleft > 0 ? mleft : 0 + }); +}).mouseup(function(e) { + dialog.canmove = false; +}); + +$closeBtn.click(function() { + $dialog.addClass('hide'); +}); \ No newline at end of file diff --git a/web-static/js/home/common-address.js b/web-static/js/home/common-address.js new file mode 100644 index 0000000..41d41aa --- /dev/null +++ b/web-static/js/home/common-address.js @@ -0,0 +1,176 @@ +/** + * 个人中心页-地址管理 + * @author: wsl<shuiling.wang@yoho.cn> + * @date: 2016/02/24 + */ + +var $ = require('yoho.jquery'), + dialog = require('../common/dialog'), + Alert = dialog.Alert; + +var address = { + + // 省的控件ID + provinceDomId: 'province', + + // 城市的控件ID + cityDomId: 'city', + + // 地区的控件ID + areaDomId: 'areaCode', + + initDomIds: function(domOptions) { + var the = this; + + if (domOptions.provinceDomId !== undefined) { + the.provinceDomId = domOptions.provinceDomId; + } + if (domOptions.cityDomId !== undefined) { + the.cityDomId = domOptions.cityDomId; + } + if (domOptions.areaDomId !== undefined) { + the.areaDomId = domOptions.areaDomId; + } + }, + + // 初始化地址数据 + loadAreaData: function(pCode, toDomId, defaultValue, allCode) { + var $toDom = $('#' + toDomId), + i = 0, + point = ''; + + var active, + val, + nId, + selecter; + + $toDom.empty(); + + if (pCode < 91) { + $('#areaCode').empty(); + $('#county').attr('disabled', 'disabled'); + } + + $.ajax({ + type: 'GET', + url: '/home/address/area', + data: 'id=' + pCode, + + success: function(jsonData) { + jsonData.code = 200; + + if (jsonData.code !== 200) { + active = new Alert('暂无数据'); + active.show(); + return false; + } + + $toDom.append('<option value="0">' + defaultValue + '</option>'); + for (i in jsonData.options) { + if (jsonData.options[i]) { + val = jsonData.options[i]; + point = (toDomId === 'areaCode' && val.is_support === 'Y') ? '*' : ''; + nId = val.value; + selecter = ''; + + if (typeof (allCode) !== 'undefined' && allCode !== 0 && + nId === allCode.substr(0, nId.length)) { + selecter = 'selected'; + } + $toDom.append('<option value="' + nId + '" ' + selecter + '>' + point + val.text + '</option>'); + } + } + } + }); + }, + bindAreaChange: function(domOptions) { + var the = this; + + if ($('#' + the.provinceDomId).data('events') !== undefined) { + return; + } + + // 初始化 + $('#' + the.provinceDomId).change(function() { + var pCode = $('#' + the.provinceDomId).val(); + + if (pCode === '0') { + return; + } + + the.loadAreaData(pCode, the.cityDomId, '请选择城市', pCode); + $('#' + the.areaDomId).hide(); + the.showAreaSel(domOptions.dispDomId); + }); + + $('#' + this.cityDomId).change(function() { + var pCode = $('#' + the.cityDomId).val(); + + if (pCode === '0') { + return; + } + + the.loadAreaData(pCode, the.areaDomId, '请选择区县', pCode); + $('#' + the.areaDomId).show(); + the.showAreaSel(domOptions.dispDomId); + }); + + $('#' + the.areaDomId).change(function() { + the.showAreaSel(domOptions.dispDomId); + }); + + the.showAreaSel(domOptions.dispDomId); + }, + + /** + * 显示地区选择 + */ + showAreaSel: function(dispDomId) { + var the = this, + strAddr = '', + strProvince = $('#' + the.provinceDomId).find('option:selected').text(), + strCity = $('#' + the.cityDomId).find('option:selected').text(), + strArea = $('#' + the.areaDomId).find('option:selected').text(); + + if (dispDomId !== undefined && dispDomId !== '') { + if (strProvince.indexOf('选择') < 0) { + strAddr = strProvince; + } + + if (strCity !== '' && strCity.indexOf('选择') < 0) { + strAddr += ',' + strCity; + } + + if (strArea !== '' && strArea.indexOf('选择') < 0) { + strAddr += ',' + strArea; + } + $('#' + dispDomId).html(strAddr); + } + }, + + loadAllData: function(areaCode, domOptions) { + var the = this; + + the.initDomIds(domOptions); + areaCode += ''; + + if (areaCode < 91) { + the.loadAreaData(0, the.provinceDomId, '请选择省份', ''); + $('#' + the.areaDomId).hide(); + $('#' + the.cityDomId).html('<option value="0">请选择市</option>'); + } else if (areaCode.length === 4) { + the.loadAreaData(0, the.provinceDomId, '请选择省份', areaCode); + the.loadAreaData(areaCode.substr(0, 2), the.cityDomId, '请选择城市', areaCode); + the.loadAreaData(areaCode, the.areaDomId, '请选择区县', areaCode); + $('#' + the.areaDomId).show(); + } else if (areaCode.length === 6) { + the.loadAreaData(0, the.provinceDomId, '请选择省份', areaCode); + the.loadAreaData(areaCode.substr(0, 2), the.cityDomId, '请选择城市', areaCode); + the.loadAreaData(areaCode.substr(0, 4), the.areaDomId, '请选择区县', areaCode); + $('#' + this.areaDomId).show(); + } + the.bindAreaChange(domOptions); + } +}; + +module.exports = address; diff --git a/web-static/js/home/edit.js b/web-static/js/home/edit.js new file mode 100644 index 0000000..04aa945 --- /dev/null +++ b/web-static/js/home/edit.js @@ -0,0 +1,337 @@ +/** + * 个人中心页-个人资料编辑 + * @author: zhaobiao<bill.zhao@yoho.cn> + * @date: 2016/02/17 + */ +var $ = require('yoho.jquery'); + +var $allEditForms = $('.userinfo-edit form'); + +var address = require('./common-address'); + +var date = { + init: function(year, month, day) { + var $year = $('#year'), + $month = $('#month'), + $day = $('#day'); + + var that = this; + + this.createDay($year.val(), $month.val(), $day.val()); + + $year.on('change', function() { + that.update(); + }); + + $month.on('change', function() { + that.update(); + }); + }, + update: function() { + this.createDay($('#year').val(), $('#month').val(), $('#day').val()); + }, + createDay: function(year, month, day) { + var html = '<select name="day" id="day">', + monthArray = new Array(4, 6, 9, 11), + dayNum = 31; + + var select, + i; + + year = parseInt(year); + month = parseInt(month); + + if (year === 0) { + year = 0; + } + + if (month === 0) { + month = 0; + } + + $('#year').val(year.toString()); + $('#month').val(month.toString()); + + html += '<option value="0">日</option>'; + + if (year > 0 && month > 0) { + if ($.inArray(month, monthArray) !== -1) { + dayNum = 30; + } else if (month === 2) { + dayNum = 28; + if (0 === year % 4 && (year % 100 !== 0 || year % 400 === 0)) { + dayNum = 29; + } + } + + for (i = 1; i <= dayNum; i++) { + select = ''; + + if (parseInt(day) === i) { + select = 'selected'; + } + html += '<option value="' + i + '" ' + select + '>' + i + '</option>'; + } + } + html += '</select>'; + + $('#day').replaceWith(html); + } +}; + + +$('.userinfo-edit h2').on('click', function() { + var $form = $(this).next(); + + $allEditForms.slideUp('fast'); + $form.css('display') === 'none' ? $form.slideDown('slow') : null; + +}); + +function checkBaseForm() { + var nicknameLength = $('#nickname').val().length, + usernameLength = $('#username').val().length, + $gender = $('input[name="gender"]'), + $year = $('#year'), + $month = $('#month'), + $day = $('#day'); + + if (nicknameLength === 0) { + alert('请输入昵称'); + return false; + } + + if (usernameLength === 0) { + alert('请输入用户名'); + return false; + } + + if (nicknameLength >= 20) { + alert('昵称最长为20个字符'); + return false; + } + + + if (!$gender.is(':checked')) { + alert('请选择性别'); + return false; + } + + if ($year.val() === '0' || $month.val() === '0' || $day.val() === '0') { + alert('请选择出生年月日'); + return false; + } + + return true; +} + +function checkContactForm() { + if ($('#province').val() === '0' || $('#city').val() === '0' || $('#areaCode').val() === '0') { + alert('请选择所在区域'); + return false; + } + + if ($('#province').val() === null || $('#city').val() === null || $('#areaCode').val() === null) { + alert('请选择所在区域'); + return false; + } + + if ($('#phone').val().length === 0 && $('#mobile').val().length === 0) { + alert('电话和手机号码不能同时为空,请填写!'); + return false; + } + + + if ($('#fullAddress').val().length === 0) { + alert('请填写地址'); + return false; + } + + if ($('#zipCode').val().length === 0 || $('#zipCode').val().length < 2) { + alert('请填写邮编'); + return false; + } + + return true; +} + +function checkHabbitForm() { + if (!$('.user-habbit-info input').is(':checked')) { + alert('请填写购物&着装习惯'); + return false; + } + + return true; +} + +function checkFavoriteForm() { + if ($('#likebrand').val() === '') { + alert('请选择品牌'); + return false; + } + + return true; +} + +function delBrand(brandId) { + var brand = $('#likebrand').val(); + + if (parseInt(brandId) === 0) { + return false; + } + + $('#likebrand').val(brand.replace(',' + brandId + ',', ',')); + $('#pp-' + brandId).attr('checked', false); + $('#brand-' + brandId).remove(); +} + + + +function addBrand(domObj, brandId, brandName) { + var html = '<li id="brand-' + brandId + '">' + + brandName + '<a href="javascript:void(0);" class="btn-del"></a></li>'; + + var brandInfo = $('#brand-' + brandId).html(), + brandStr = $('#likebrand').val(); + + var $brandBox = $('#brand-box'); + + if (parseInt(brandId) === 0) { + return false; + } + + if (typeof domObj !== 'undefined' && domObj !== '' && domObj.checked === false) { + delBrand(brandId); + return false; + } + if (brandInfo) { + alert('您已经选择了该品牌.'); + return false; + } + $brandBox.append(html); + + $brandBox.find('li>a').off('click').on('click', function() { + delBrand($(this).closest('li').attr('id').substr(6)); + }); + + brandStr += brandId + ','; + $('#likebrand').val(brandStr); +} + +function checkBrand() { + var postData = { + brandName: $('#keywords').val() + }; + + $.post('/home/user/isbrandname', postData, function(data) { + if (data.code === 200) { + if (data.data.id && data.data.brand_name) { + addBrand('', data.data.id, data.data.brand_name); + $('#keywords').val(''); + return true; + } else { + alert('网络异常,请重试'); + return false; + } + } + alert(data.message); + return false; + }, 'json'); +} + +function save(postUrl, btnId) { + var $form = $('#' + btnId).closest('form'); + + $.post(postUrl, $form.serialize(), function(data) { + if (data.code === 200) { + alert(data.message); + setTimeout(function() { + $form.closest('div').next().find('h2').click(); + }, 100); + return true; + } + alert(data.message); + return false; + }, 'json'); +} + + +$('#base-info').on('click', function() { + if (checkBaseForm()) { + save('/home/user/edituserinfo/', 'base-info'); + } +}); + +$('#contact-info').on('click', function() { + if (checkContactForm()) { + save('/home/user/editusercontactinfo/', 'contact-info'); + } +}); + +$('#shopping-info').on('click', function() { + if (checkHabbitForm()) { + save('/home/user/edituserhabitsinfo/', 'shopping-info'); + } +}); + +$('#favorite-brand').on('click', function() { + if (checkFavoriteForm()) { + $.ajax({ + url: '/home/user/edituserlikebrand/', + type: 'post', + datatype: 'json', + data: { + brand: $('#likebrand').val() + }, + success: function(data) { + if (data.code === 200) { + alert(data.message); + return true; + } + alert(data.message); + return false; + }, + error: function(err) { + alert('网络异常'); + } + }); + } +}); + +$('#add-brand-btn').on('click', function() { + checkBrand(); +}); + +$('.user-favorite-info input[type="checkbox"]').on('click', function() { + var $this = $(this); + + addBrand(this, $this.attr('id').substr(3), $this.parent().text()); +}); + +(function() { + var $brands = $('#brand-box li'); + + if ($brands.length > 0) { + $brands.find('a').on('click', function() { + delBrand($(this).closest('li').attr('id').substr(6)); + }); + } +})(); + +date.init(); + +(function() { + if (!$('#province').val()) { + address.loadAllData(0, { + provinceDomId: 'province', + cityDomId: 'city', + areaDomId: 'areaCode' + }); + } else { + address.bindAreaChange({ + provinceDomId: 'province', + cityDomId: 'city', + areaDomId: 'areaCode' + }); + } +})(); diff --git a/web-static/js/home/entry.js b/web-static/js/home/entry.js index 3e0f396..5409569 100644 --- a/web-static/js/home/entry.js +++ b/web-static/js/home/entry.js @@ -1,7 +1,18 @@ /** - * 频道页js打包入口文件 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/12/28 + * 个人中心页js打包入口文件 + * @author: zhaobiao<bill.zhao@yoho.cn> + * @date: 2016/02/17 */ -require('./home'); \ No newline at end of file +require('./index'); +require('./orders'); +require('./favorite'); + +require('./returns'); +require('./comment'); + +require('./edit'); +require('./gift'); +require('./validate'); +require('./address'); +require('./common-address'); \ No newline at end of file diff --git a/web-static/js/home/favorite.js b/web-static/js/home/favorite.js new file mode 100644 index 0000000..2205c6f --- /dev/null +++ b/web-static/js/home/favorite.js @@ -0,0 +1,270 @@ +/** + * 我的收藏 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2016/2/23 + */ + +var $ = require('yoho.jquery'); + +var phoneReg = require('../passport/mail-phone-regx').phoneRegx['+86']; + +var clockTxt = { + on: '[ 降价通知 ]', + off: '[ 取消通知 ]' +}; + +var favType; + +var curSkn; + +var $curClock; + +//商品收藏 +(function() { + var $defaultSorts, + $allSorts; + + var $bodyMask, + $priceNotice, + $noticeContent, + $noticeSuccess, + $noticeSubOrCancel; + + //关闭价格订阅弹窗和蒙层 + function closeNoticeBox() { + $bodyMask.addClass('hide'); + $priceNotice.addClass('hide'); + + //重置头部文字 + $noticeSubOrCancel.text('订阅成功'); + } + + //显示价格订阅弹窗和蒙层 + function showNoticeBox() { + if (typeof $bodyMask === 'undefined') { + $('body').append('<div class="body-mask hide"></div>'); + $bodyMask = $('.body-mask'); + } + + $bodyMask.css({ + height: $(document).height(), + width: $(document).width() + }).removeClass('hide'); + + if ($curClock.hasClass('noticed')) { + + //取消降价通知 + $.ajax({ + type: 'GET', + url: '/home/favorite/cancelnotice', + data: { + skn: curSkn + } + }).then(function(data) { + if (data.code === 200) { + $noticeContent.addClass('hide'); + $noticeSuccess.removeClass('hide').find('.notice-num').text(data.data.num); + $noticeSubOrCancel.text('取消成功'); + + if ($curClock.closest('.reduction-products').length > 0) { + $curClock.closest('.fav-good').remove(); + } else { + $curClock.text(clockTxt.on); + } + } + }); + } + + $priceNotice.removeClass('hide'); + } + + if ($('.fav-products').length === 0) { + return; + } + + favType = 'products'; + + $defaultSorts = $('.default-sorts'); + $allSorts = $('.all-sorts'); + + $priceNotice = $('.price-notice'); + + $noticeContent = $('#price-notice .content'); + $noticeSuccess = $('#price-notice .success'); + $noticeSubOrCancel = $noticeSuccess.find('.subscribe-or-cancel'); + + //展开分类 + $('#spread-sort').click(function() { + $defaultSorts.slideUp(function() { + $allSorts.slideDown(); + }); + }); + + //收起分类 + $('#retract-sort').click(function() { + $allSorts.slideUp(function() { + $defaultSorts.slideDown(); + }); + }); + + //降价通知 + $('.price-down-clock').click(function() { + $curClock = $(this), + + showNoticeBox(); + + curSkn = $curClock.closest('.fav-good').data('skn'); + }); + + //降价通知确定按钮 + $('#price-notice').on('click', '.close', function() { + closeNoticeBox(); + }).on('click', '.price-notice-sure', function() { + var $phone = $('#notice-phone-num'), + phone, + errTxt; + + if ($noticeSuccess.hasClass('hide')) { + + //订阅到手机号 + phone = $.trim($phone.val()); + + if (phone === '' || !phoneReg.test(phone)) { + errTxt = phone === '' ? '请输入手机号码' : '手机号码格式不正确'; + + $phone.addClass('error'); + $('#price-notice .err-text').removeClass('hide').find('em').html(errTxt); + return; + } else { + $phone.removeClass('error'); + $('#price-notice .err-text').addClass('hide'); + } + + $.ajax({ + type: 'GET', + url: '/home/favorite/notice', + data: { + phone: phone, + skn: curSkn + } + }).then(function(data) { + if (data.code === 200) { + $noticeSuccess.removeClass('hide'); + $noticeContent.addClass('hide'); + $noticeSuccess.find('.notice-num').html(data.data.num); + + //切换商品通知文字 + $curClock.toggleClass('noticed').text(clockTxt.off); + } + }); + } else { + + //关闭窗口 + closeNoticeBox(); + } + }); + + //商品可参加活动 + $('.has-activity').click(function() { + var $this = $(this), + $activites = $this.next('.activites'), + $li = $this.closest('li'); + + if ($activites.hasClass('hide')) { + + //显示 + $activites.removeClass('hide'); + $li.css('padding-bottom', $activites.outerHeight()); + } else { + + //隐藏 + $activites.addClass('hide'); + $li.css('padding-bottom', ''); + } + }); +}()); + + +//品牌收藏 +(function() { + + if ($('.fav-brands').length === 0) { + return; + } + + // 新品到着 + $('.na-not-zero').click(function() { + var $this = $(this), + $naList = $this.next('.na-list'), + $li = $this.closest('li'); + + if (!$naList.hasClass('hide')) { + $naList.addClass('hide'); + $li.css('padding-bottom', ''); + return; + } + + $.ajax({ + type: 'GET', + url: '/home/newproduct' + }).then(function(html) { + $naList.removeClass('hide').find('.na-content').html(html); + $li.css('padding-bottom', $naList.outerHeight() + 10); + }); + }); + + $('.na-content').on('click', '.na-pre, .na-next', function() { + var $this = $(this), + url = $this.data('url'); + + $.ajax({ + type: 'GET', + url: url + }).then(function(html) { + $this.closest('.na-content').html(html); + }); + }); +}()); + +//全选【通用】 +$('#me-checkall').click(function() { + $('.checkbox input[type="checkbox"]').prop('checked', $(this).prop('checked')); +}); + +//删除多个商品/品牌/文章【通用】 +$('#me-del-checked').click(function() { + var ids = [], + url; + + $('.checkbox input[type="checkbox"]:checked').each(function() { + ids.push($(this).closest('.fav-row').data('id')); + }); + + if (ids.length === 0) { + return; + } + + switch (favType) { + case 'products': + url = '/home/favorite/multidelgoods'; + break; + case 'brands': + url = '/home/favorite/multidelbrands'; + break; + case 'articles': + url = '/home/favorite/multidelarticles'; + break; + } + + $.ajax({ + type: 'GET', + url: url, + data: { + ids: ids + } + }).then(function(data) { + if (data.code === 200) { + window.history.go(0); + } + }); +}); \ No newline at end of file diff --git a/web-static/js/home/gift.js b/web-static/js/home/gift.js new file mode 100644 index 0000000..e8125ee --- /dev/null +++ b/web-static/js/home/gift.js @@ -0,0 +1,109 @@ +/** + * 个人中心页-兑换礼品卡 + * @author: wsl<shuiling.wang@yoho.cn> + * @date: 2016/02/22 + */ +var $ = require('yoho.jquery'); + +var $giftError = $('.giftCardCode').find('.gift-error'), + $codeError = $('.captchaCode').find('.gift-error'), + reg = '', + code = ''; + +var Gift = { + suc1: false, + suc2: false, + suc3: false, + suc4: false, + bindGiftCardForm: function() { + $('#giftCardCode1').bind('blur keyup', function() { + reg = /^[0-9a-zA-Z]{4,4}$/; + + if (!reg.test($('#giftCardCode1').val())) { + $giftError.html('您输入的兑换码有误,兑换码必须为数字或字母,每个文本框里只能输入四个兑换码!'); + Gift.suc1 = false; + } else { + $giftError.html(''); + $('#giftCardCode2').focus(); + Gift.suc1 = true; + } + }); + + $('#giftCardCode2').bind('blur keyup', function() { + reg = /^[0-9a-zA-Z]{4,4}$/; + + if (!reg.test($('#giftCardCode2').val())) { + $giftError.html('您输入的兑换码有误,兑换码必须为数字或字母,每个文本框里只能输入四个兑换码!'); + Gift.suc2 = false; + } else { + $giftError.html(''); + $('#giftCardCode3').focus(); + Gift.suc2 = true; + } + }); + + $('#giftCardCode3').bind('blur keyup', function() { + reg = /^[0-9a-zA-Z]{4,4}$/; + + if (!reg.test($('#giftCardCode3').val())) { + $giftError.html('您输入的兑换码有误,兑换码必须为数字或字母,每个文本框里只能输入四个兑换码!'); + Gift.suc3 = false; + } else { + $giftError.html(''); + Gift.suc3 = true; + } + }); + + $('#captchaCode').bind('blur keyup', function() { + code = $('#captchaCode').val(); + + if (code.length <= 0) { + $codeError.html('请输入验证码!'); + Gift.suc4 = false; + } else { + $codeError.html(''); + Gift.suc4 = true; + } + }); + }, + + checkForm: function() { + if ($.trim($('#giftCardCode1').val()) === '' || $.trim($('#giftCardCode2').val()) === '' || + $.trim($('#giftCardCode3').val()) === '') { + $giftError.html('您输入的兑换码有误,兑换码必须为数字或字母,每个文本框里只能输入四个兑换码!'); + return false; + } + + if ($.trim($('#captchaCode').val()) === '') { + $codeError.html('请输入验证码!'); + return false; + } + + return true; + } +}; + +//更换验证码 +function refreshCaptcha() { + var dt = new Date(); + + $('#imgcode').attr('src', '/home/gift/captcha?t=' + dt.getTime()); + return false; +} + +$('#sub-gift').on('click', function() { + if (Gift.checkForm()) { + $('#giftCardForm').submit(); + } else { + return false; + } +}); + +$(document).on('click', '#imgcode,.check-img', function() { + refreshCaptcha(); +}); + +$(function() { + refreshCaptcha(); + Gift.bindGiftCardForm(); +}); \ No newline at end of file diff --git a/web-static/js/home/index.js b/web-static/js/home/index.js new file mode 100644 index 0000000..bde9785 --- /dev/null +++ b/web-static/js/home/index.js @@ -0,0 +1,65 @@ +/** + * 个人中心首页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2016/2/17 + */ + +var $ = require('yoho.jquery'); + +//关闭消息提示 +$('#close-message').click(function() { + $('.message-tip').slideUp(200); +}); + +//新品上架 +(function() { + var $naPager = $('.na-pager'), + $naUl = $('.new-arrival ul'), + naPage = Math.ceil($naUl.children('li').length / 5), + naItemWith = $naUl.children('li:last-child').outerWidth(), + naCurPage = 1; + + $naUl.width($naUl.width() * naPage); + + //最新上架翻页 + $naPager.click(function() { + var $this = $(this), + left; + + if ($this.hasClass('next')) { + + //后翻 + ++naCurPage; + + //第2页显示前翻按钮 + if (naCurPage === 2) { + $this.siblings().removeClass('no-visible'); + } + + //最后一页隐藏后翻按钮 + if (naCurPage === naPage) { + $this.addClass('no-visible'); + } + } else { + + //前翻 + --naCurPage; + + //倒数第2页显示后翻按钮 + if (naCurPage === naPage - 1) { + $this.siblings().removeClass('no-visible'); + } + + //第1页隐藏前翻按钮 + if (naCurPage === 1) { + $this.addClass('no-visible'); + } + } + + left = -5 * (naCurPage - 1) * naItemWith; + + $naUl.animate({ + marginLeft: left + }, 400); + }); +}()); \ No newline at end of file diff --git a/web-static/js/home/order-block.js b/web-static/js/home/order-block.js new file mode 100644 index 0000000..109ad4b --- /dev/null +++ b/web-static/js/home/order-block.js @@ -0,0 +1,102 @@ +/** + * 订单 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2016/2/17 + */ + +var $ = require('yoho.jquery'); + +var dialog = require('../common/dialog'); + +var Dialog = dialog.Dialog; +var Confirm = dialog.Confirm; + +var $tpl = $('#cancel-dialog-tpl'); + +var html = $tpl.html(); + +var active; + +function dialogFactory(id) { + var options = { + mask: false, + btns: [ + { + id: 'cancel-sure', + name: '确定并取消订单', + btnClass: ['cancel-sure'], + cb: function() { + var $checked = $('.cancel-dialog :checked'); + + $.ajax({ + type: 'POST', + url: '/home/orders/cancelorder', + data: { + orderCode: id, + reason: $checked.length > 0 ? $checked.val() : '' + } + }).then(function(data) { + if (data.code === 200) { + active.close(); + history.go(0); + } else { + $('.cancel-dialog .cancel-tip').html(data.message); + } + }); + } + }, + { + id: 'cancel-no', + name: '取消', + btnClass: ['cancel-no'], + cb: function() { + active.close(); + } + } + ], + content: html, + className: 'cancel-dialog' + }; + + return new Dialog(options); +} + +$tpl.remove(); + +//查看物流 +$('.check-logistics').click(function() { + $(this).parent().siblings('.logistics').removeClass('hide'); +}); + +$('.close-logistics').click(function() { + $(this).closest('.logistics').addClass('hide'); +}); + +$('.me-orders').on('click', '.cancel-order', function(e) { + + //取消订单 + active = dialogFactory($(this).closest('.order').data('id')); + active.show(); +}).on('click', '.confirm-received', function(e) { + var id = $(this).closest('.order').data('id'); + + //确认收货 + active = new Confirm({ + cb: function() { + $.ajax({ + type: 'POST', + url: '/home/orders/confirmorder', + data: { + orderCode: id + } + }).then(function(data) { + if (data.code === 200) { + active.close(); + history.go(0); + } + }); + }, + content: '您确定要确认收货吗?' + }); + active.show(); +}); \ No newline at end of file diff --git a/web-static/js/home/orders.js b/web-static/js/home/orders.js new file mode 100644 index 0000000..4494f70 --- /dev/null +++ b/web-static/js/home/orders.js @@ -0,0 +1,7 @@ +/** + * 我的订单 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2016/2/17 + */ + +require('./order-block'); \ No newline at end of file diff --git a/web-static/js/home/returns-apply.js b/web-static/js/home/returns-apply.js new file mode 100644 index 0000000..13dce43 --- /dev/null +++ b/web-static/js/home/returns-apply.js @@ -0,0 +1,75 @@ +/** + * 退换货申请 + * @author: yyqing<yanqing.yang@yoho.cn> + * @date: 2016/2/29 + */ +var $ = require('yoho.jquery'), + Addr = require('./common-address'); + +var $goosTable = $('#goods-table'), + $reasons = $goosTable.find('.return-reason'), + $file = $goosTable.find('input[type=file]'); + +var $exchange = $('.exchange-detail'), + defaultArea = $exchange.find('input[name="hide-area"]').val(); + +require('../../plugin/jquery.upload'); + +defaultArea = defaultArea ? defaultArea : ''; +Addr.loadAllData(defaultArea, { + areaDomId: 'area' +}); + +$reasons.change(function() { + var $par = $(this).parent().parent(), + type = $(this).val() * 1; + + if (type === 4 || type === 6 || type === 8) { + $par.next().show(); + } else { + $par.next().hide(); + } +}); + +$goosTable.find('.up-image-list li').on('click', '.btn-del', function() { + $(this).parent().empty(); +}); + +$file.each(function(e) { + $('#upload-img-' + e).upload({ + auto: true, + buttonClass: 'upload-img-btn', + fileType: 'image/*', + uploadScript: '/home/suggestimgUpload', + fileObjName: 'fileData', + fileSizeLimit: 5000, + buttonText: '上传图片', + height: 34, + width: 116, + multi: false, + onUploadComplete: function(file, data) { + var $par = $(this).closest('.problem-description'), + $imgList = $par.find('li'), + isShow = false, + img, _html; + + img = JSON.parse(data).imgList[0]; + _html = '<span class="btn-del" title="删除"></span>' + + '<img src="' + img.imgUrl + '" width="126" height="126">'; + $imgList.each(function() { + if (!isShow && !$(this).find('img').length) { + isShow = true; + $(this).html(_html); + } + }); + }, + onError: function(info, fileType, data) { + var msg = '图片上传失败!'; + + if (info === 'FILE_SIZE_LIMIT_EXCEEDED') { + msg = '图片大小超出限制!'; + } + alert(msg); + } + }); +}); diff --git a/web-static/js/home/returns-detail.js b/web-static/js/home/returns-detail.js new file mode 100644 index 0000000..6ff2dae --- /dev/null +++ b/web-static/js/home/returns-detail.js @@ -0,0 +1,93 @@ +/** + * 退换货详情 + * @author: yyqing<yanqing.yang@yoho.cn> + * @date: 2016/2/26 + */ + +var $ = require('yoho.jquery'); + +var $detail = $('.detail-container'), + $courierCode = $('.courier-code'), + $expressCompany = $('#express-company'), + $expressNumber = $('#express-number'), + $expressViewBox = $('.express-view-box > span'); + +var returnId = $('#return-id').val(), + expId = $('#express-old-id').val(), + expNumber = $expressNumber.val(), + expCompany = '', + expList = {}, + isChange = false; + +function syncExpressInfo() { + expCompany = expList[expId] ? expList[expId] : ''; + $expressViewBox.html(expCompany + ' 快递单号:' + expNumber); + $expressCompany.val(expId); + $expressNumber.val(expNumber); +} + +function validateExpress() { + var send = {}; + + send.number = $expressNumber.val(); + send.id = $expressCompany.val() * 1; + + if (!send.id) { + alert('请选择快递公司'); + } else if (!send.number) { + alert('请填入快递单号'); + } else { + return send; + } + + return false; +} + +function sendExpressCode() { + var sendParm = validateExpress(); + + if (!sendParm) { + return; + } + + $.ajax({ + type: 'POST', + url: '/home/returns/setExpressNumber', + data: { + id: returnId, + isChange: isChange, + expressId: sendParm.id, + expressNumber: sendParm.number, + expressCompany: expList[sendParm.id] + } + }).then(function(jsonData) { + if (jsonData.code === 200) { + expId = sendParm.id; + expNumber = sendParm.number; + } else { + alert(jsonData.message); + } + syncExpressInfo(); + $courierCode.removeClass('in-edit'); + }); +} + +if ($detail.parent().hasClass('exchange-detail')) { + isChange = true; +} + +$expressCompany.val(expId); + +$detail.find('.company-list').each(function() { + var data = $(this).data(); + + expList[data.id] = data.name; +}); + +$('#modify').click(function() { + $courierCode.addClass('in-edit'); +}); + +$('#submit-btn').click(function() { + sendExpressCode(); +}); \ No newline at end of file diff --git a/web-static/js/home/returns.js b/web-static/js/home/returns.js new file mode 100644 index 0000000..b1a1585 --- /dev/null +++ b/web-static/js/home/returns.js @@ -0,0 +1,8 @@ +/** + * 我的退/换货 + * @author: yyqing<yanqing.yang@yoho.cn> + * @date: 2016/2/26 + */ + +require('./returns-detail'); +require('./returns-apply'); \ No newline at end of file diff --git a/web-static/js/home/validate.js b/web-static/js/home/validate.js new file mode 100644 index 0000000..d6b26fc --- /dev/null +++ b/web-static/js/home/validate.js @@ -0,0 +1,253 @@ +/** + * 个人中心页-账号安全验证 + * @author: wsl<shuiling.wang@yoho.cn> + * @date: 2016/02/23 + */ +var $ = require('yoho.jquery'); + +var $checkUser = $('.check-user'), + $checkInput = $checkUser.find('input').not('input[type=button],input[type=hidden]'), + canSend = true, + stime = 60, + sInt; + +// 身份校验 +function checkForm(dom) { + var val = dom.val(), + len = val.length, + $domParent = dom.parent(), + $checkInfo = $domParent.find('.check-info'), + inputName = dom.attr('name'), + regular = ''; + + $checkInfo.html(''); + + if (inputName === 'oldpassword') { + if (len === 0) { + $checkInfo.html('<div class="form-error">密码不能为空!</div>'); + dom.addClass('input-error'); + return false; + } else { + $.get('/home/account/pass?pass=' + encodeURIComponent(val), function(data) { + if (typeof data.code !== 'undefined' && data.code === 200) { + $checkInfo.html('<div class="form-success"> </div>'); + dom.removeClass('input-error'); + return true; + } else { + $checkInfo.html('<div class="form-error">密码错误!</div>'); + dom.addClass('input-error'); + return false; + } + }); + } + } + + if (inputName === 'code') { + $.get('/home/account/review?code=' + val, function(data) { + if (typeof data.code !== 'undefined' && data.code === 200) { + $checkInfo.html('<div class="form-success"> </div>'); + dom.removeClass('input-error'); + return true; + } else { + $checkInfo.html('<div class="form-error">验证码错误!</div>'); + dom.addClass('input-error'); + return false; + } + }); + } + + if (inputName === 'newmail') { + regular = '([a-zA-Z0-9]+)@([a-zA-Z0-9]+)[\.]([a-zA-Z0-9]+)'; + + if (val.match(regular) === null) { + $checkInfo.html('<div class="form-error">邮箱错误!</div>'); + dom.addClass('input-error'); + return false; + } else { + $.get('/home/account/mail?mail=' + val, function(data) { + if (typeof data.code !== 'undefined' && data.code === 200) { + $checkInfo.html('<div class="form-success"> </div>'); + dom.removeClass('input-error'); + return true; + } else { + $checkInfo.html('<div class="form-error">邮箱已存在!</div>'); + dom.addClass('input-error'); + return false; + } + }); + + } + } + + if (inputName === 'mobile') { + regular = '^1[35847]{1}[0-9]{9}'; + + if (len === 0) { + $checkInfo.html('<div class="form-error">手机号不能为空!</div>'); + dom.addClass('input-error'); + return false; + } else if (val.match(regular) === null) { + $checkInfo.html('<div class="form-error">手机号错误!</div>'); + dom.addClass('input-error'); + return false; + } else { + $.get('/home/mobile/exmobi?mobile=' + val, function(data) { + if (typeof data.code !== 'undefined' && data.code !== 200) { + dom.addClass('input-error'); + $checkInfo.html('<div class="form-error">手机号已经存在!</div>'); + return false; + } else { + dom.removeClass('input-error'); + $checkInfo.html('<div class="form-success"> </div>'); + return true; + } + }); + } + } + + if (inputName === 'password') { + if (len < 6 || len > 20) { + dom.addClass('input-error'); + $checkInfo.html('<div class="form-error">密码长度为6-20字符</div>'); + return false; + } else { + dom.removeClass('input-error'); + $checkInfo.html('<div class="form-success"> </div>'); + return true; + } + } + + if (inputName === 'confirm_password') { + if ($('#password').val() !== val) { + dom.addClass('input-error'); + $checkInfo.html('<div class="form-error">两次密码不一致!</div>'); + return false; + } else if ($('#password').val() !== '') { + dom.removeClass('input-error'); + $('#password').next().html('<div class="form-success"> </div>'); + $checkInfo.html('<div class="form-success"> </div>'); + return true; + } + } + + return true; +} + +// 校验表单 +function checkAllForm() { + var arr = []; + + $.each($checkInput, function(key, item) { + arr.push(checkForm($(item))); + }); + + if (arr.indexOf(false) >= 0) { + return false; + } else { + return true; + } +} + +// 切换验证码 +function changeCode() { + var timestamp = (new Date()).getTime(); + + $('#the-code-img').attr('src', '/home/account/code?g=email_auth&time=' + timestamp); +} + +// 重新发送倒计时 +function code() { + var sstring = ''; + + if (stime > 0) { + sstring = '重新发送' + stime + '秒'; + $('#sendButton').text(sstring); + stime = stime - 1; + } else { + stime = 60; + $('#sendButton').text('发送验证码'); + clearInterval(sInt); + canSend = true; + } +} + +// 发送手机验证码 +function sendcode() { + var $mobile = $('#mobilevalue'), + $code = $('#inputcode'), + $mcheckInfo = $mobile.next(), + mobileV = $mobile.val(), + $ccheckInfo = $code.parent().find('check-info'); + + if (canSend) { + if (mobileV.match('^1[35847]{1}[0-9]{9}') === null) { + $mcheckInfo.html('<div class="form-error">手机号错误!</div>'); + $mobile.addClass('input-error'); + return false; + } + $.get('/home/mobile/sendcode?mobile=' + mobileV, function(data) { + if (typeof data.code !== 'undefined' && data.code === 200) { + canSend = false; + sInt = setInterval(function() { + code(); + }, 1000); + $ccheckInfo.html(''); + } else { + $ccheckInfo.html('<div class="form-error">验证码发送失败</div>'); + } + }); + } else { + return false; + } +} + +//验证完成后倒计时跳转 +function toHome() { + window.location.href = '/home/account'; +} + +$checkInput.blur(function() { + checkForm($(this)); +}); + +$('.sub-btn').on('click', function() { + if (checkAllForm()) { + $('#pwdform').submit(); + } else { + return false; + } +}); + +$('.the-code').on('click', function() { + changeCode(); +}); + +$('#send-mobile-code').on('click', function() { + sendcode(); +}); + +$('#inputcode').change(function() { + var code = $('#inputcode').val(); + + if (code !== '') { + $.get('/home/mobile/review?code=' + code, function(data) { + if (typeof data.code !== 'undefined' && data.code === 200) { + $('#codetip').html('<div class="form-success"> </div>'); + } else { + $('#codetip').html('<div class="form-error">验证码错误!</div>'); + } + }); + } +}); + +$(function() { + var t = null; + + if ($('.res-info').length > 0) { + t = setTimeout(function() { + toHome(); + }, 5000); + } + + changeCode(); +}); \ No newline at end of file diff --git a/web-static/js/index/index.js b/web-static/js/index/index.js new file mode 100644 index 0000000..f5c0f12 --- /dev/null +++ b/web-static/js/index/index.js @@ -0,0 +1,67 @@ +/** + * 首页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/11/23 + */ + +var $ = require('yoho.jquery'), + lazyLoad = require('yoho.lazyload'), + homePage = $('.home-page').data('page'), + brandUrl = $('.logo-brand').data('url'); + + +require('../common/slider'); +require('../common/slider2'); +require('../common/logo-brand'); + +require('../common/accordion'); + +$(document).on('mouseenter', '.imgopacity a img', function() { + $(this).css('opacity', 0.8); +}); +$(document).on('mouseout', '.imgopacity a img', function() { + $(this).css('opacity', 1); +}); + + + +if ($.inArray(homePage, ['boys','girls','kids','lifestyle']) > -1) { + require('../common/new-arrivls')({ + type: homePage, + url: '/common/getNewArrival', + count: (homePage === 'boys') || (homePage === 'lifestyle') ? 5 : 4, + rows: [5,3] + }); + window.setCookie('_Channel', homePage, { + domain: '.yohobuy.com', + path: '/', + expires: 365 + }); +} + + + +lazyLoad($('img.lazy')); +if (homePage === 'boys') { + $('.slide-container').slider({ + pagination: '.thumb-pagination' + }); +} else { + $('.center-col').slider(); + $('.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(); +} + + diff --git a/web-static/js/order/address.js b/web-static/js/order/address.js index f63f26d..cf81dfb 100644 --- a/web-static/js/order/address.js +++ b/web-static/js/order/address.js @@ -4,6 +4,8 @@ */ var $ = require('yoho.jquery'); +var dialog = require('../common/dialog'); + var isProvinceChecked = false; @@ -15,41 +17,45 @@ var $addressManage = $('.address-manage'), $addressList = $('.address-list'), $name = $addressManage.find('.text-input[name="name"]'), $phone = $addressManage.find('.text-input[name="phone"]'), - $telCode = $addressManage.find('.text-input[name="code-tel"]'), - $tel = $addressManage.find('.text-input[name="tel"]'), $mail = $addressManage.find('.text-input[name="mail"]'), $address = $addressManage.find('.text-input[name="address"]'), $code = $addressManage.find('.text-input[name="code"]'), - $saveBtn = $('.save-btn'); + $saveBtn = $('.save-btn'), + $telCode = $addressManage.find('.text-input[name="tel-code"]'), + $tel = $addressManage.find('.text-input[name="tel"]'), + $useNewAddress = $('.use-new-address'), + $existAddressList = $('.exist-address-list'), + $loading = $('.loading'); -function structureOption($obj, data) { +var cartType = $addressManage.attr('cart-type'); - var key, - optionHtml, +// 构建select下拉选项 +function structureOption($obj, data, selectId) { + + var i, + optionHtml = '', defaultOption; - for (key in data) { + for (i = 0; i < data.length; i++) { - if (data[key].checked) { - optionHtml += '<option selected value="' + data[key].value + '">' + data[key].name + '</option>'; + if (data[i].id === selectId) { + optionHtml += '<option selected value="' + data[i].id + '">' + data[i].caption + '</option>'; } else { - optionHtml += '<option value="' + data[key].value + '">' + data[key].name + '</option>'; + optionHtml += '<option value="' + data[i].id + '">' + data[i].caption + '</option>'; } - - } - $obj.html(optionHtml); if ($obj.attr('name') === 'province') { defaultOption = '<option value="0">请选择省份</option>'; } else if ($obj.attr('name') === 'city') { defaultOption = '<option value="0">请选择城市</option>'; + } else if ($obj.attr('name') === 'county') { defaultOption = '<option value="0">请选择区县</option>'; } - $obj.prepend($(defaultOption)); + $obj.html(defaultOption + optionHtml); } /** * @description: 改函数会返回地址信息 @@ -59,32 +65,33 @@ function structureOption($obj, data) { */ function getAddress(d, callback) { - var $obj, - url; + var $obj; + var selectId = d.selectId; if (d.type === 'getProvince') { - url = 'getProvince'; + //url = 'getProvince'; $obj = $province; } else if (d.type === 'getCity') { - url = 'getCity'; + //url = 'getCity'; $obj = $city; } else if (d.type === 'getCounty') { - url = 'getCounty'; + //url = 'getCounty'; $obj = $county; } + $.ajax({ - type: 'post', - url: '/order/save/' + url, + type: 'GET', + url: '/cart/index/getAreaList', dataType: 'json', data: { - id: d.id + id: d.id * 1 } - }).then(function(data) { + }).then(function(d) { - structureOption($obj, data); + structureOption($obj, d.data, selectId); if (typeof callback === 'function') { callback(); @@ -96,43 +103,144 @@ function getAddress(d, callback) { }); } -function getUserInfo(id) { +// 修改地址时把用户信息带过来 +function getUserInfo($obj) { + + $name.val($obj.attr('data-name')); + $name.attr('data-id', $obj.attr('data-id')); + $address.val($obj.attr('data-addressDesc')); + $phone.val($obj.attr('data-mobile')); + $mail.val($obj.attr('data-email')); + $code.val($obj.attr('data-zipcode')); + $telCode.val($obj.attr('data-phoneCode')); + $tel.val($obj.attr('data-codeNum')); +} + +// 更新地址列表状态 +function refreshAddressStatus() { + $useNewAddress.removeClass('active'); + $existAddressList.find('li:not(".active")').addClass('hide'); + $existAddressList.find('li.active').addClass('address_select'); + $addressManage.addClass('hide'); + $saveBtn.addClass('hide'); + $existAddressList.removeClass('address-expand'); + $('.order-selection h2 span').text('[修改]'); +} + +//获取用户已经存在的地址列表 +exports.getUserAddressList = function() { + + var addressData, + i, + addressStr = '', + isChecked = '', + isHide = '', + addressText = '', + hasDefault = 0; + $.ajax({ - type: 'post', - url: 'getUserInfo', - data: { - id: id - } - }).then(function(data) { - var key; + type: 'GET', + url: '/cart/index/getAddress', + dataType: 'json' + }).then(function(d) { + + if (d.code === 200) { + + addressData = d.data.list; - for (key in data) { + if (!addressData) { - if (data.hasOwnProperty(key)) { - if (!!data[key]) { - eval('$' + key).val(data[key]); + $addressList.find('>h2').find('span').click(); + + $('.exist-address-list li').click(); + + $('.use-new-address').removeClass('active'); + + return; + + } + + for (i = 0; i < addressData.length; i++) { + + if (addressData[i].checked) { + + isChecked = 'checked'; + isHide = 'active address_select'; + hasDefault++; + addressText = '默认地址'; + + } else { + isChecked = ''; + isHide = 'hide'; + addressText = '设为默认地址'; } + + addressStr += + '<li data-id="' + addressData[i].id + '" class="' + isHide + + '" data-express="' + addressData[i].isSupport + '">' + + '<input data-name="' + addressData[i].user + + '" data-areaCode="' + addressData[i].areaCode + + '" data-addressDesc="' + addressData[i].addressDesc + + '" data-mobile="' + addressData[i].mobile + + '" data-phoneNum="' + addressData[i].phoneNum + + '" data-phoneCode="' + addressData[i].phoneCode + + '" data-zipCode="' + addressData[i].zipCode + + '" data-email="' + addressData[i].email + + '" class="radio" type="radio" name="address" ' + isChecked + ' />' + + '<label for="">' + + '<strong>' + addressData[i].user + '</strong>' + addressData[i].address + + '<a href="javascript:void(0);" class="default-address">' + addressText + '</a>' + + '<div class="order-modify-btn">' + + '<span class="address-modify">[修改]</span>' + + '<span class="address-del">[删除]</span>' + + '</div>' + + '</label>' + + '</li>'; } - } - }).fail(function() { + $('.use-new-address').before($(addressStr)); + + //说明用户的地址列表没有默认地址 + if (hasDefault === 0) { + + //没有默认地址则把所有地址都显示出来 + $('.exist-address-list li:not(".use-new-address")').removeClass('hide'); + } + + if ($('.active.address_select').attr('data-express') === 'N') { + $('.express-list input[name="carriagegroup"][value="2"]').attr('disabled', 'disabled'); + $('.express-list input[name="carriagegroup"][value="1"]').attr('checked', 'checked'); + $('.express-list.sf').addClass('hide'); + $('.is-sup').removeClass('hide'); + } else { + $('.express-list input[name="carriagegroup"][value="2"]').removeAttr('disabled'); + $('.express-list.sf').removeClass('hide'); + $('.is-sup').addClass('hide'); + } + + } }); -} +}; -//添加地址 -exports.newAddress = function(id) { +/* + * 添加地址&修改地址 + * id: 根据id获取省市区列表 + * code: 根据code确定是否选中省市区 + */ +exports.newAddress = function(id, code) { - var pId = id !== 'undefined' ? id : 0; + var pId = id || 0; //如果没有传id则获取所有省列表 - if (!!pId) { - getUserInfo(); - } + var addressCodeReg = /[0-9]{2}/gi; + + var codeId = !!code && code.match(addressCodeReg); //获取省 getAddress({ id: pId, - type: 'getProvince' + type: 'getProvince', + selectId: codeId[0] }, function() { var provinceId = $province.val(); @@ -142,7 +250,8 @@ exports.newAddress = function(id) { //如果获取的省有默认选中项则获取市 getAddress({ id: provinceId, - type: 'getCity' + type: 'getCity', + selectId: '' + codeId[0] + codeId[1] }, function() { var cityId = $city.val(); @@ -151,30 +260,48 @@ exports.newAddress = function(id) { if (cityId !== '0') { getAddress({ id: cityId, - type: 'getCounty' + type: 'getCounty', + selectId: code }); } }); + } else { + $addressManage.find('select[name="city"]').html('<option value="0">请选择城市</option>'); + $addressManage.find('select[name="county"]').html('<option value="0">请选择区县</option>'); } }); + // 发生change事件时获取下一级地址 $selectList.change(function() { + var $this = $(this); if ($this.attr('name') === 'province') { - getAddress({ - id: $this.val(), - type: 'getCity' - }, function() { - isProvinceChecked = true; - }); + + if ($this.val() === '0') { + $addressManage.find('select[name="city"]').html('<option value="0">请选择城市</option>'); + $addressManage.find('select[name="county"]').html('<option value="0">请选择区县</option>'); + } else { + getAddress({ + id: $this.val(), + type: 'getCity' + }, function() { + isProvinceChecked = true; + }); + $addressManage.find('select[name="county"]').html('<option value="0">请选择区县</option>'); + } } if ($this.attr('name') === 'city' && isProvinceChecked) { - getAddress({ - id: $this.val(), - type: 'getCounty' - }); + + if ($this.val() === '0') { + $addressManage.find('select[name="county"]').html('<option value="0">请选择区县</option>'); + } else { + getAddress({ + id: $this.val(), + type: 'getCounty' + }); + } } }); }; @@ -183,54 +310,78 @@ exports.newAddress = function(id) { exports.modifyAddress = function() { $addressList.click(function(event) { + var $this = $(event.target), - id = $this.closest('li').find('.radio').attr('id'); + id = $this.closest('li').attr('data-id'), + areaCode = $this.closest('li').find('.radio').attr('data-areaCode'); if ($this.hasClass('address-modify')) { $addressManage.removeClass('hide'); - exports.newAddress(id); + exports.newAddress(0, areaCode); + getUserInfo($this.closest('li').find('.radio')); + $('.address-list-inner .save-btn').removeClass('hide'); + $saveBtn.attr('data-id', id); + isProvinceChecked = true; } else if ($this.hasClass('address-del')) { + $loading.show(); + $.ajax({ - type: 'post', - url: '/order/save/addressDel', + type: 'POST', + url: '/cart/index/delAddress', data: { id: id } - }).then(function(data) { + }).then(function(d) { + + $loading.hide(); + + if (d.code === 200) { - if (!!data.status) { $this.closest('li').remove(); + } else { + new dialog.Alert(d.message).show(); } }).fail(function() { //todo }); - } else if ($this.hasClass('default-address')) { + } else if ($this.hasClass('default-address') && !$this.parents('li').hasClass('address_select')) { + + $loading.show(); // 设为默认地址 $.ajax({ type: 'post', - url: '/order/save/defaultAddress', + url: '/cart/index/setDefaultAddress', data: { id: id } - }).then(function(data) { + }).then(function(d) { - if (!!data.status) { - $this.remove(); - } - }).fail(function() { + $loading.hide(); - //todo + if (d.code === 200) { + + $('.exist-address-list li').removeClass('address_select') + .find('.default-address').text('设为默认地址'); + $this.parents('li').addClass('address_select'); + $this.text('默认地址'); + + } else { + new dialog.Alert(d.message).show(); + } }); } }); }; +// 保存地址并送到这个地址 exports.saveAddress = function() { $saveBtn.click(function() { + var $this = $(this); + var name = $name.val(), province = $province.val(), city = $city.val(), @@ -240,48 +391,357 @@ exports.saveAddress = function() { telCode = $telCode.val(), tel = $tel.val(), mail = $mail.val(), - code = $code.val(), - id = new Date(); - - $.ajax({ - type: 'post', - url: '/order/save/addressSave', - data: { - name: name, - province: province, - city: city, - county: county, - address: address, - phone: phone, - tel: tel, - telCode: telCode, - mail: mail, - code: code, - id: id * 1 + code = $code.val(); + + var provinceText = $province.find('option[value="' + province + '"]').text(), + cityText = $city.find('option[value="' + city + '"]').text(), + countyText = $county.find('option[value="' + county + '"]').text(); + + + var postData = { + consignee: name, + areaCode: county, + address: address, + email: mail, + mobile: phone, + zipCode: code, + phoneCode: telCode, + phoneNum: tel + }; + + var addressStr; + var $modifyLi; + var hasCheckedAddress; + + var nameReg = /^[\u4e00-\u9fa5]{2,5}$/; + var addressReg = /^[\s\S]{3,100}$/; + var phoneReg = /^(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/; + var codeReg = /^[0-9]{6}$/; + var emailReg = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; + var telCodeReg = /^[0-9]{3,5}$/; + var telReg = /^[0-9]{5,10}$/; + + + function hasText(val) { + + if (val === telCode) { + + if (!!val) { + return val + '-'; + } else { + return ' '; + } + + } else { + if (!!val) { + return val + ' '; + } else { + return ' '; + } + } + } + + hasCheckedAddress = $('.exist-address-list li:not(".use-new-address")') + .find('input[name="address"]:checked').length > 0; + + // 说明是送货到这个地址 + if (!$('.add-address').attr('checked') && hasCheckedAddress && !$('.save-btn').attr('data-id')) { + + $('.exist-address-list li').removeClass('address_select'); + $('.exist-address-list li.active').addClass('address_select') + .find('input[name="address"]').attr('checked', 'checked'); + + $('.address-list span').removeAttr('expand'); + + refreshAddressStatus(); + + } + + //if (!!$('.add-address').attr('checked')) { + if (!$('.address-manage').hasClass('hide')) { + + if (!nameReg.test(name)) { + new dialog.Alert('真实姓名至少2个中文,最多5个中文').show(); + return; + } + if (!addressReg.test(address)) { + new dialog.Alert('你输入的地址格式不正确').show(); + return; + } + if (!phoneReg.test(phone)) { + new dialog.Alert('你输入的联系电话格式不正确').show(); + return; + } + + if ((!!telCode && !telCodeReg.test(telCode)) || (!!tel && !telReg.test(tel)) || + (telCodeReg.test(telCode) && !telReg.test(tel)) || + (!telCodeReg.test(telCode) && telReg.test(tel))) { + new dialog.Alert('你输入的电话格式不正确').show(); + return; + } + + if (!!mail && !emailReg.test(mail)) { + new dialog.Alert('你输入的邮箱格式不正确').show(); + return; + } + + if (!!code && !codeReg.test(code)) { + new dialog.Alert('你输入的邮编格式不正确').show(); + return; } - }).then(function(data) { - var addressStr; + // 如果存在data-id说明是修改,否则是新增 + if (!!$saveBtn.attr('data-id')) { + postData.id = $saveBtn.attr('data-id'); + } - if (!!data.status) { - addressStr = '<li>' + - '<input class="radio" type="radio" name="address" id="' + id * 1 + '" />' + - '<label for="' + id * 1 + '">' + + $.ajax({ + type: 'post', + url: '/cart/index/saveAddress', + data: postData + }).then(function(d) { + + var addressData; + + if (d.code === 200) { + + addressData = d.data; + + console.log(addressData); + + if (addressData.is_support === 'Y') { + $('.express-list input[name="carriagegroup"][value="2"]').removeAttr('disabled'); + $('.express-list.sf').removeClass('hide'); + $('.is-sup').addClass('hide'); + + } else { + + $('.express-list input[name="carriagegroup"][value="2"]').attr('disabled', 'disabled'); + $('.express-list.sf').addClass('hide'); + $('.is-sup').removeClass('hide'); + } + + if (!!postData.id) { + + // 修改操作接口没有返回id + addressStr = '<li class="active" data-id="' + postData.id + + '" data-express="' + addressData.is_support + '">' + + '<input data-name="' + postData.consignee + + '" data-areaCode="' + postData.areaCode + + '" data-addressDesc="' + postData.address + + '" data-mobile="' + postData.mobile + + '" data-phoneNum="' + postData.phoneNum + + '" data-phoneCode="' + postData.phoneCode + + '" data-zipCode="' + postData.zipCode + + '" data-email="' + postData.email + + '" checked="checked" class="radio" type="radio" name="address" />' + + '<label>' + '<strong>' + name + '</strong>' + - '<span>' + address + '</span>' + - '<a href="javascript:void(0);">设为默认地址</a>' + + '<span>' + provinceText + ' ' + cityText + ' ' + countyText + ' ' + address + + ' ' + hasText(code) + hasText(phone) + hasText(telCode) + hasText(tel) + '</span>' + + '<a href="javascript:void(0);" class="default-address">设为默认地址</a>' + '<div class="order-modify-btn">' + - '<span class="address-modify">[修改]</span>' + - '<span class="address-del">[删除]</span>' + + '<span class="address-modify">[修改]</span>' + + '<span class="address-del">[删除]</span>' + '</div>' + - '</label>' + - '</li>'; + '</label>' + + '</li>'; + } else { + + //添加操作接口有返回id + addressStr = '<li class="active" data-id="' + addressData.id + + '" data-express="' + addressData.is_support + '">' + + '<input data-name="' + addressData.consignee + + '" data-areaCode="' + addressData.area_code + + '" data-addressDesc="' + addressData.address + + '" data-mobile="' + addressData.mobile + + '" data-phoneNum="' + addressData.a + + '" data-phoneCode="' + addressData.b + + '" data-zipCode="' + addressData.zip_code + + '" data-email="' + addressData.email + + '" checked="checked" class="radio" type="radio" name="address" />' + + '<label>' + + '<strong>' + name + '</strong>' + + '<span>' + provinceText + ' ' + cityText + ' ' + countyText + ' ' + address + + ' ' + hasText(code) + hasText(phone) + hasText(telCode) + hasText(tel) + '</span>' + + '<a href="javascript:void(0);" class="default-address">设为默认地址</a>' + + '<div class="order-modify-btn">' + + '<span class="address-modify">[修改]</span>' + + '<span class="address-del">[删除]</span>' + + '</div>' + + '</label>' + + '</li>'; + } + + + + // 如果dataID存在说明是修改操作 + if (!!$this.attr('data-id')) { + + $modifyLi = $('.exist-address-list li[data-id="' + $this.attr('data-id') + '"]'); + + $modifyLi.after($(addressStr)).remove(); + } else { + $('.use-new-address').before($(addressStr)); + } + + $('.address-list span').removeAttr('expand'); + + refreshAddressStatus(); + } else { + new dialog.Alert(d.message).show(); + } + }); + } + + if ($('.exist-address-list li').find('input[name="address"]:checked').length === 0) { + new dialog.Alert('请选择一个地址').show(); + return; + } + }); +}; + + + +// 支付及送货时间选择 +$('.pay-time-modify .pay-btn').click(function() { + + var $payInfoBox = $('.modity-pay-info'), + $payTime = $('.pay-time-modify'), + payTypeVal = $payTime.find('input[name="pay-type"]:checked').val(), + payTypeText = $payTime.find('input[name="pay-type"]:checked').next('label').text(), + payTimeText = $payTime.find('input[name="pay-time-radio"]:checked').next('label').text(), + payTimeVal = $payTime.find('input[name="pay-time-radio"]:checked').val(), + isCall = $payTime.find('input[name="call-me"]:checked').next('label').text(), + callMeVal = $payTime.find('input[name="call-me"]:checked').val(); + - $('.use-new-address').before($(addressStr)); + $loading.show(); + + $.ajax({ + type: 'POST', + url: '/cart/index/orderCompute', + dataType: 'json', + data: { + cartType: cartType, + paymentType: payTypeVal + } + }).then(function(d) { + + $loading.hide(); + + if (d.code === 200) { + + $payInfoBox.find('li').eq(0).find('span').text(payTypeText); + $payInfoBox.find('li').eq(1).find('span').text(payTimeText); + $payInfoBox.find('li').eq(2).find('span').text(isCall); + + $('.pay-time-modify').addClass('hide') + .find('input[name="pay-type"][value=' + payTypeVal + ']').addClass('checked') + .end().find('input[name="pay-time-radio"][value=' + payTimeVal + ']').addClass('checked') + .end().find('input[name="call-me"][value=' + callMeVal + ']').addClass('checked'); + + $('.modity-pay-info').removeClass('hide'); + + $('.switch-pay-modify').text('[修改]'); + + } else { + new dialog.Alert(d.message).show(); + } + }); +}); + +function getYohoBiList() { + + var $juanUl = $('.play-juan ul'), + juanStr = '', + dLen, + data, + i; + + $.ajax({ + type: 'GET', + dataType: 'json', + url: '/cart/index/getCouponList' + }).then(function(d) { + + if (d.code === 200) { + data = d.data; + dLen = data.length; + + for (i = 0; i < dLen; i++) { + juanStr += '<li>' + + '<input name="juangroup" type="radio" value="' + data[i].code + '">' + + '<label>' + data[i].desc + '</label>' + + '</li>'; } - }).fail(function() { - //todo - }); + $juanUl.prepend($(juanStr)); + + } + }); +} +getYohoBiList(); + +// 把Y、N转换成bool + +function ytoTrue(val) { + + if (val === 'N') { + return false; + } else { + return true; + } +} + + +// 去支付 +$('.to-play input.submit').click(function() { + + var addressId = $('.exist-address-list input[name="address"]:checked').closest('li').attr('data-id'), + deliveryTimeId = $('.pay-time-modify input[name="pay-time-radio"]:checked').val(), + deliveryWayId = $('.pay-time-modify input[name="carriagegroup"]:checked').val(), + invoiceTitle = $('#piaodesc').val(), + invoiceId = $('#piaotype').val(), + paymentType = $('.pay-time-modify input[name="pay-type"]:checked').val(), + paymentId = $('.pay-time-modify input[name="pay-type"]:checked').data('pay'), + remark = $('#notedesc').val(), + couponCode = $('#juancode').val(), + yohoCoin = $('#biprice').val(), + isPreContact = $('.pay-time-modify input[name="call-me"]:checked').val(), + isPrintPrice = $('.pay-time-modify input[name="isPP"]:checked').val(), + redEnvelopes = $('.use-envelopes input:checked').attr('data-use'); + + $loading.show(); + + $.ajax({ + type: 'POST', + dataType: 'json', + url: '/cart/index/orderSub', + data: { + addressId: addressId, + cartType: cartType, + deliveryTimeId: deliveryTimeId, + deliveryWayId: deliveryWayId, + invoiceTitle: invoiceTitle, + invoiceId: invoiceId, + paymentId: paymentId, + paymentType: paymentType, + remark: remark, + couponCode: couponCode, + yohoCoin: yohoCoin, + isPreContact: ytoTrue(isPreContact), + isPrintPrice: ytoTrue(isPrintPrice), + redEnvelopes: redEnvelopes + } + }).then(function(d) { + + $loading.hide(); + + if (d.code === 200) { + window.location.href = d.data.payUrl; + } else { + new dialog.Alert(d.message).show(); + } }); -}; \ No newline at end of file +}); \ No newline at end of file diff --git a/web-static/js/order/ensure.js b/web-static/js/order/ensure.js index 2afc5e6..86f8ba3 100644 --- a/web-static/js/order/ensure.js +++ b/web-static/js/order/ensure.js @@ -7,6 +7,8 @@ var $ = require('yoho.jquery'); var address = require('./address'); +var dialog = require('../common/dialog'); + var Order = { /*业务数据(人民币)*/ Data: { @@ -34,23 +36,35 @@ var Order = { $addressManage: $('.address-manage'), $spanPayTypeLegend: $('span.pay-type-legend'), $supportType: $('.support-type'), + $existAddressListWrap: $('.exist-address-list'), $existAddressList: $('.exist-address-list').find('li'), $existAddress: $('.exist-address-list').find('input[name="exist-address"]'), $payTimeModify: $('.pay-time-modify'), - $switchPayModify: $('.switch-pay-modify') + $switchPayModify: $('.switch-pay-modify'), + $modityPayInfo: $('.modity-pay-info'), + $payTotal: $('.play-total'), + $toPay: $('.to-play em') }, init: function() { var e = this.e, d = Order.Data, c = Order.Common; - /*初始化产品价格*/ + //初始化产品价格(表格中的价格) e.$tbody.find('tr').each(function(index) { + var td = $(this).find('td'); var len = e.$tbody.find('tr').length; var subtotal = parseFloat(td.eq(1).html()) * parseInt(td.eq(3).html()); - td.eq(4).html(c.strFixed(subtotal)); + td.eq(1).html('¥' + td.eq(1).html()); + + if (td.hasClass('xforone')) { + td.eq(4).find('del').html('¥' + c.strFixed(subtotal)); + subtotal = 0; + } else { + td.eq(4).html('¥' + c.strFixed(subtotal)); + } d.product += subtotal; if (!index) { td.last().attr('rowspan', len); @@ -58,73 +72,72 @@ var Order = { td.last().remove(); } if (index === len - 1) { - e.$tbody.find('tr').eq(0).find('td').last().html('<strong>' + c.strFixed(d.product) + '</strong>'); + e.$tbody.find('tr').eq(0).find('td').last().html('<strong>¥' + c.strFixed(d.product) + '</strong>'); } }); - - - /*初始化价格*/ - this.render(); - - /*点击pan dt 打开dd*/ + // 使用优惠券、使用yoho币点击展开 e.$pan.find('dt').click(function() { + var pan = $(this).parent('dl.pan'); if (pan.find('dd').is(':hidden')) { c.winShow(pan); + + $(this).addClass('active'); } else { c.winHide(pan); + + $(this).removeClass('active'); } }); - /*使用优惠卷支付 下面的文本框*/ - e.$jc.on('focus change', function(event) { - var radio = $(this).prev('label').prev(':radio'); + //请填写并核对一下信息 + e.$orderSelectionSave.click(function() { + var i = 0, + $addressLi = $('.exist-address-list li'), + liLen = $addressLi.length, + notSelect = 0; - if (event.type === 'focus') { - radio.attr('checked', true); - } else { - radio.val($(this).val()); - } + if (!$(this).attr('expand')) { - }); + $(this).attr('expand', 'expand').text('[不保存并关闭]'); - /*使用YOHO币支付*/ - e.$bp.data('tobi', e.$tobi.html()); - e.$bp.on('keyup change', function() { - var bi = c.enterNUM($(this).val(), $(this).data('tobi')); + $('.exist-address-list li').removeClass('hide'); - $(this).val(bi); - }); + $('.save-btn').removeClass('hide'); - /*取消关闭小窗口*/ - e.$cancel.click(function() { - var pan = $(this).parents('.pan'); + e.$existAddressListWrap.addClass('address-expand'); - c.winHide(pan); - }); + if (liLen === 1) { + e.$addressManage.removeClass('hide'); + } - e.$statistics.slice(3, 5).find('a').click(function() { - var pan = $('.' + $(this).attr('to')); + } else { - c.winShow(pan); - }); + for (i = 0; i < liLen; i++) { + if ($addressLi.eq(i).hasClass('address_select')) { + notSelect++; + } - //请填写并核对一下信息 - e.$orderSelectionSave.click(function() { + if (!$addressLi.eq(i).hasClass('address_select')) { + $addressLi.eq(i).addClass('hide'); + } + } + + if (notSelect === 0) { + $('.exist-address-list li:not(".use-new-address")').removeClass('hide'); + } - if (!$(this).data('expand')) { - $('.address-list-inner').addClass('hide'); + $(this).removeAttr('expand').text('[修改]'); - $(this).data('expand', 'expand').text('[不保存并关闭]'); + $('.save-btn').addClass('hide'); - } else { - $('.address-list-inner').removeClass('hide'); + e.$existAddressListWrap.removeClass('address-expand'); - $(this).removeData('expand').text('[修改]'); + e.$addressManage.addClass('hide'); } }); @@ -132,13 +145,19 @@ var Order = { //支付及送货时间 e.$switchPayModify.click(function() { - + console.log(1); if (e.$payTimeModify.hasClass('hide')) { e.$payTimeModify.removeClass('hide'); + e.$modityPayInfo.addClass('hide'); $(this).text('[不保存并关闭]'); } else { e.$payTimeModify.addClass('hide'); + e.$modityPayInfo.removeClass('hide'); $(this).text('[修改]'); + + e.$payTimeModify.find('input[name="pay-type"]').filter('.checked').attr('checked', 'checked'); + e.$payTimeModify.find('input[name="pay-time-radio"]').filter('.checked').attr('checked', 'checked'); + e.$payTimeModify.find('input[name="call-me"]').filter('.checked').attr('checked', 'checked'); } }); @@ -150,39 +169,59 @@ var Order = { $(document).on('click', '.exist-address-list li', function() { - e.$existAddressList.removeClass('active'); + $('.exist-address-list li').removeClass('active'); + $(this).addClass('active'); - e.$existAddress.removeAttr('checked'); - $(this).find('input[name="exist-address"]').attr('checked', 'checked'); + $(this).find('input').attr('checked', 'checked'); if ($(this).hasClass('use-new-address')) { e.$addressManage.removeClass('hide'); + + $('.address-manage input').val(''); + + $('.save-btn').removeAttr('data-id'); + + // 0表示获取所有省的列表,'000000'表示无匹配的区域码 + address.newAddress(0, '000000'); } }); }, //渲染价格明细 - render: function() { + render: function(data, tips) { + + // 下面这段是在服务端算价格 var e = this.e, - d = Order.Data, - c = Order.Common; - var i = 0; + i, + dArr = data.promotion_formula_list, + str = '', + isExpress = ''; - e.$total.html('0.00'); - e.$statistics.find('em').html('0.00'); - e.$statistics.slice(3, 5).hide(); + for (i = 0; i < dArr.length; i++) { - $.each(d, function(key) { - if (d.hasOwnProperty(key)) { - if (d[key]) { - e.$statistics.eq(i).show().find('em').html(c.strFixed(d[key])); - } + if (dArr[i].promotion === '优惠券:') { + dArr[i].promotion = tips + '<span class="juan-modify">[修改]</span>:'; } - i++; - }); - e.$total.html(c.strFixed(c.calucate())); + if (dArr[i].promotion === 'YOHO币:') { + dArr[i].promotion = 'YOHO币<span class="bi-modify">[修改]</span>:'; + } + + if (dArr[i].isExpress) { + isExpress = 'total-express-w'; + } else { + isExpress = ''; + } + + str += '<li class="' + isExpress + '">' + + '<label>' + dArr[i].promotion + '</label>' + + '<em>' + dArr[i].promotion_amount + '</em>' + + '</li>'; + } + + e.$payTotal.html(str); + e.$toPay.html((data.last_order_amount).toFixed(2)); } }, /*公共方法*/ @@ -216,6 +255,14 @@ var Order = { winHide: function(pan) { pan.find('dt').show(); pan.find('dd').hide(); + + /*if (pan.hasClass('play-juan-pan') && $('.juan-modify').length > 0) { + pan.find('dt').hide(); + } + + if (pan.hasClass('play-bi-pan') && $('.bi-modify').length > 0) { + pan.find('dt').hide(); + }*/ }, strFixed: function(str) { return parseFloat(str).toFixed(2); @@ -227,60 +274,395 @@ var Order = { $juanok: $('#juansubmit'), $juantip: $('.errtip', '.play-juan-pan'), $biok: $('#bisubmit'), - $carriageGroup: $('input[name="carriagegroup"]') + $carriageGroup: $('input[name="carriagegroup"]'), + $selectExpress: $('.express-list input'), + $bp: $('#biprice'), + $errorTip: $('.errbitip'), + $useEnvelopes: $('.use-envelopes'), + $hasEnvelopes: $('.has-envelopes span'), + $redEnvelopes: $('.red-envelopes'), + $loading: $('.loading') }, init: function() { var e = this.e, - d = Order.Data, - c = Order.Common, - u = Order.UI; - var options; - - e.$carriageGroup.change(function() { - d.carriage = parseFloat($(this).val()); - u.render(); - }); - /*点击 优惠卷支付 确认按钮*/ - e.$juanok.click(function() { - var code = $('input[name="juangroup"]:checked').val(); - var pan = $(this).parents('.pan'); + u = Order.UI, + options, + c = Order.Common; + + function getSelectData(callback) { + + var $juangroupInput = $('.play-juan.is-select input[name="juangroup"]:checked'); + var expressVal = $('.express-list input[name="carriagegroup"]').val(); + var biVal = $('#biprice.is-select').val(); + var codeVal = $juangroupInput.val(); + var cartType = $('.address-manage').attr('cart-type'); + var redEnvelopes = $('.use-envelopes input:checked').attr('data-use'); + var resultData; + + codeVal = !!codeVal ? codeVal : $juangroupInput.closest('li').find('#juancode').val(); + + resultData = { + cartType: cartType, + deliveryWay: expressVal, + couponCode: codeVal, + yohoCoin: biVal + }; + + if (!!redEnvelopes) { + resultData.redEnvelopes = redEnvelopes; + } + + callback(resultData); + + } + + // 选择快递 + e.$selectExpress.click(function() { + + var expressId = $(this).val(); + + e.$loading.show(); + + getSelectData(function(d) { + + d.deliveryWay = expressId; - if (code) { options = { - url: '/Order/save/priceByCode', - type: 'post', - data: { - code: code - }, + type: 'POST', + url: '/cart/index/orderCompute', + data: d, success: function(data) { + + console.log(data); + + e.$loading.hide(); + if (data.code === 200) { - if (data.price) { - d.juan = data.price; - Order.UI.render(); - c.winHide(pan); - return; + u.render(data.data); + + if (expressId === '1') { + + $('.express-list.sf').addClass('hide'); + } else if (expressId === '2') { + $('.express-list.sf').removeClass('hide'); } - u.render(); + + } else { + new dialog.Alert(data.message).show(); } - e.$juantip.html(data.msg); - }, - error: function() { - e.$juantip.html('网络出现错误~'); } }; $.ajax(options); - } + }); }); - /*点击 YOHO币支付 确认按钮*/ + + //点击 优惠卷支付 确认按钮 + e.$juanok.click(function() { + + var pan = $(this).parents('dl.pan'); + + var juanText = ''; + + $('.play-juan').addClass('is-select'); + + getSelectData(function(d) { + + var code = d.couponCode; + + if (!code) { + + e.$juantip.html('请选择或填写一个优惠券'); + $('.play-juan').removeClass('is-select'); + + } else { + + e.$loading.show(); + + options = { + type: 'POST', + url: '/cart/index/orderCompute', + data: d, + success: function(data) { + + e.$loading.hide(); + + if (data.code === 200) { + + juanText = $('.play-juan input[value="' + code + '"]').next().text(); + u.render(data.data, juanText); + + //$('#juancode').val(code); + + c.winHide(pan); + e.$juantip.html(''); + + //$('.play-juan-pan dt').hide(); + + } else { + e.$juantip.html(data.message); + $('.play-juan').removeClass('is-select'); + } + } + }; + + $.ajax(options); + } + }); + + }); + + // 优惠券修改 + $(document).on('click', '.juan-modify', function() { + + + var $pan = $('.play-juan-pan'); + + c.winShow($pan); + }); + e.$biok.click(function() { - var pan = $(this).parents('.pan'); - d.yohocoin = parseFloat(u.e.$bp.val()) / 100; - u.render(); - c.winHide(pan); - return; + var pan = $(this).parents('dl.pan'); + var juanText; + + $('#biprice').addClass('is-select'); + + getSelectData(function(d) { + + if (!!d.couponCode) { + juanText = $('.play-juan input[value="' + d.couponCode + '"]').next().text(); + } + + if (d.yohoCoin * 1 === 0) { + + $('.errbitip').html('请填写一个正整数'); + $('#biprice').removeClass('is-select'); + + } else if (d.yohoCoin * 1 > $('.play-pan em').text() * 1) { + + $('.errbitip').html('您的YOHO币不足'); + $('#biprice').removeClass('is-select'); + + } else { + e.$loading.show(); + + options = { + type: 'POST', + url: '/cart/index/orderCompute', + data: d, + success: function(data) { + + e.$loading.hide(); + + if (data.code === 200) { + u.render(data.data, juanText); + c.winHide(pan); + + //$('.play-bi-pan dt').hide(); + + } else { + $('.errbitip').html(data.message); + $('#biprice').removeClass('is-select'); + } + } + }; + + $.ajax(options); + } + + }); + }); + + // 修改yoho币 + $(document).on('click', '.bi-modify', function() { + + + var $pan = $('.play-bi-pan'); + + c.winShow($pan); + }); + + e.$bp.keyup(function() { + + var val = $(this).val(); + + if (val * 1 < 0 || val.indexOf('.') > 0) { + e.$errorTip.html('请输入一个正整数'); + } else if (val * 1 > $(this).data('bi') * 1) { + e.$errorTip.html('您的YOHO币不足'); + } else { + e.$errorTip.html('抵扣' + (val / 100).toFixed(2) + '元'); + } }); + + // 取消yoho 币 + $('.cancel-bi').click(function() { + + + var $pan = $('.play-bi-pan'); + + if ($('#biprice').hasClass('is-select')) { + + e.$loading.show(); + + getSelectData(function(d) { + + d.yohoCoin = 0; + + options = { + type: 'POST', + url: '/cart/index/orderCompute', + data: d, + success: function(data) { + + e.$loading.hide(); + + if (data.code === 200) { + u.render(data.data); + c.winHide($pan); + + $('#biprice').val('0'); + + //$('.play-bi-pan dt').hide(); + $('#biprice').removeClass('is-select'); + + $('.errbitip').html(''); + + } else { + $('.errbitip').html(data.message); + } + } + }; + + $.ajax(options); + }); + + } else { + c.winHide($pan); + $('#biprice').val('0'); + } + + }); + + // 取消优惠券 + $('.cancel-code').click(function() { + + var $pan = $('.play-juan-pan'); + + if ($('.play-juan').hasClass('is-select')) { + + e.$loading.show(); + + getSelectData(function(d) { + + d.couponCode = ''; + + options = { + type: 'POST', + url: '/cart/index/orderCompute', + data: d, + success: function(data) { + + e.$loading.hide(); + + if (data.code === 200) { + u.render(data.data); + + c.winHide($pan); + $('.play-juan').removeClass('is-select'); + + $('#juancode').val('') + .siblings('input[name="juangroup"]').attr('checked', 'checked'); + + } else { + e.$juantip.html(data.message); + } + } + }; + + $.ajax(options); + }); + } else { + c.winHide($pan); + } + }); + + + // 红包 + e.$useEnvelopes.find('input').click(function() { + + var $this = $(this); + + e.$loading.show(); + + getSelectData(function(d) { + + if (!!$this.attr('checked')) { + + d.redEnvelopes = $this.val(); + + } else { + + d.redEnvelopes = 0; + } + + options = { + type: 'POST', + url: '/cart/index/orderCompute', + data: d, + success: function(data) { + + e.$loading.hide(); + + if (data.code === 200) { + u.render(data.data); + + if (!!$this.attr('checked')) { + e.$redEnvelopes.addClass('active'); + e.$useEnvelopes.find('span').html('-¥' + ($this.val() * 1).toFixed(2)); + e.$hasEnvelopes.html('¥0.00'); + + $this.attr('data-use', $this.val()); + $this.val(0); + + } else { + e.$useEnvelopes.find('span').html('-¥0.00'); + e.$hasEnvelopes.html('¥' + ($this.attr('data-use') * 1).toFixed(2)); + e.$redEnvelopes.removeClass('active'); + + $this.val($this.attr('data-use')); + $this.attr('data-use', 0); + } + } else { + + new dialog.Alert(data.message).show(); + } + } + }; + + $.ajax(options); + }); + + }); + + + //发票抬头和备注字数限制 + function limitStrLen($obj, len) { + + var $this = $obj; + + $this.keyup(function() { + + if ($this.val().length > len) { + + $this.val($this.val().substr(0, len)); + } + }); + } + + limitStrLen($('#piaodesc'), 30); + limitStrLen($('#notedesc'), 100); } } }; @@ -292,6 +674,9 @@ Order.UI.init(); Order.Bll.init(); -address.newAddress(); +address.getUserAddressList(); + +// 0表示获取所有省的列表,'000000'表示无匹配的区域码 +address.newAddress(0, '000000'); address.modifyAddress(); address.saveAddress(); diff --git a/web-static/js/passport/ac-email.js b/web-static/js/passport/ac-email.js new file mode 100644 index 0000000..f45ba70 --- /dev/null +++ b/web-static/js/passport/ac-email.js @@ -0,0 +1,85 @@ +/** + * 邮箱自动补全 + * @author:xuqi<qi.xu@yoho.cn> + * @date: 2016/2/22 + */ +var $ = require('yoho.jquery'); + +var mailPostfix = { + num: ['qq.com', '163.com', '126.com', 'sina.com', 'gmail.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'], + other: ['gmail.com', 'qq.com', '163.com', '126.com', 'sina.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'] +}; + +var emailAcTime; + +/** + * @param $input 需要自动完成的$对象 + * @param cb 鼠标移开/点击自动完成项后需要执行的操作(验证等) + */ +module.exports = function($input, cb) { + var ulHtml = '<ul id="email-autocomplete" class="email-autocomplete hide"></ul>'; + + var $emailAutoComplete; + + $input.parent().append(ulHtml); + + $emailAutoComplete = $('#email-autocomplete'); + + $input.on('keyup', function() { + var account = $.trim($(this).val()), + html = '', + accountMatch, + matchStr, + postfix, + i; + + //输入@时自动补全邮箱后缀 + //此处>0非错误,用于避免输入的第一个字符为@被识别为邮箱 + if (account.indexOf('@') > 0) { + accountMatch = account.match(/^[0-9]+@(.*)/); + if (accountMatch) { + + //数字邮箱补全 + postfix = mailPostfix.num; + matchStr = accountMatch[1]; + } else { + postfix = mailPostfix.other; + matchStr = account.match(/@(.*)/)[1]; + } + + for (i = 0; i < postfix.length; i++) { + if (postfix[i].indexOf(matchStr) > -1) { + html += '<li>' + account.slice(0, account.indexOf('@')) + '@' + postfix[i] + '</li>'; + } + } + + if (html !== '' && /.com$/.test(account) === false) { + $emailAutoComplete.html(html).removeClass('hide'); + } else { + + //隐藏autocomplete + $emailAutoComplete.html('').addClass('hide'); + } + } + }).on('blur', function() { + emailAcTime = setTimeout(function() { + + //未点击自动完成项 + $emailAutoComplete.addClass('hide'); + + cb && cb(); + }, 200); + }); + + //邮箱自动完成列表项点击 + $emailAutoComplete.on('click', 'li', function() { + clearTimeout(emailAcTime); //清空默认关闭 + + //点击自动完成项后进行验证 + $input.val($(this).text()).focus(); + + $emailAutoComplete.addClass('hide'); + + cb && cb(); + }); +}; \ No newline at end of file diff --git a/web-static/js/passport/back.js b/web-static/js/passport/back.js index 130f2b7..f34dff6 100644 --- a/web-static/js/passport/back.js +++ b/web-static/js/passport/back.js @@ -5,33 +5,26 @@ */ var $ = require('yoho.jquery'), - phoneRegx = require('./mail-phone-regx').phoneRegx; + regx = require('./mail-phone-regx'), + emailReg = regx.emailRegx, + phoneRegx = regx.phoneRegx; + +var emailAc = require('./ac-email'); //邮箱自动完成 var $cr = $('#country-code-hide'), $phoneNum = $('#phone-num'), $ca = $('#captcha'), - $tipPanel = $('#tip-panel'), - emailReg = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/, - acAccount = [ - ['qq.com', '163.com', '126.com', 'sina.com', 'gmail.com', - 'sohu.com', 'hotmail.com', '139.com', '189.com' - ], //数字顺序 - ['gmail.com', 'qq.com', '163.com', '126.com', 'sina.com', - 'sohu.com', 'hotmail.com', '139.com', '189.com' - ] //组合顺序 - ], $ccList = $('#country-code-list'), $cc = $('#country-code'), $btn = $('#find-btn'), $accErr = $('#account-err'), $caErr = $('#captcha-err'), - time, //timeout-id caCount = 4, //验证码位数 hasPh = false, hasCa = false; -require('yoho.placeholder'); +require('yoho.placeholder'); function imgcode() { var time = new Date(), @@ -49,6 +42,37 @@ function enableBtn() { } } +function authcode() { + if (!hasPh || !hasCa) { + enableBtn(); + return; + } + + $.ajax({ + type: 'POST', + url: '/passport/back/authcode', + data: { + verifyCode: $.trim($ca.val()), + phoneNum: $phoneNum.val(), + area: $cr.val() + } + + }).then(function(data) { + if (data.code === 200) { + hasCa = true; + } else if (data.code === 402) { + hasPh = false; + hasCa = true; + $accErr.removeClass('hide').find('em').text('该账号不存在'); + $phoneNum.addClass('error'); + } else if (data.code === 400) { + hasCa = false; + imgcode(); + } + enableBtn(); + }); +} + function vaPn(v) { var pass = true, errTxt = ''; @@ -75,6 +99,8 @@ function vaPn(v) { pass = false; } hasPh = pass; + authcode(); + return { pass: pass, errTxt: errTxt @@ -88,33 +114,26 @@ function vaCa() { hasCa = false; enableBtn(); return; - } else { - $.ajax({ - type: 'POST', - url: '/passport/back/authcode', - data: { - verifyCode: v, - phoneNum: $('#phone-num').val(), - area: $('#country-code-hide').val() - } - - }).then(function(data) { - if (data.code === 200) { - hasCa = true; - } else if (data.code === 402) { - hasPh = false; - hasCa = true; - $accErr.removeClass('hide').find('em').text('该账号不存在'); - $phoneNum.addClass('error'); - } else if (data.code === 400) { - hasCa = false; - imgcode(); - } - enableBtn(); - }); } + + hasCa = true; + + authcode(); } +emailAc($phoneNum, function() { + var pnVa = vaPn($phoneNum.val()); + + if (pnVa.pass) { + $accErr.addClass('hide'); + $phoneNum.removeClass('error'); + } else { + $accErr.removeClass('hide').find('em').text(pnVa.errTxt); + $phoneNum.addClass('error'); + } + } +); + $ca.attr('maxlength', caCount); //IE8 placeholder @@ -158,50 +177,13 @@ $ccList.delegate('li', 'click', function(e) { }); $(document).click(function() { - if ($tipPanel.css('display') === 'block') { - $tipPanel.slideUp(); - } if ($ccList.css('display') === 'block') { $ccList.slideUp(); } }); $phoneNum.keyup(function() { - var account = $.trim($(this).val()), - html = '', - acs, - i; - - //输入@时显示自动补全列表 - if (account.indexOf('@') !== -1 && account.lastIndexOf('@') === account.indexOf('@')) { - if (/^[0-9]*@$/.test(account)) { - - //数字顺序 - acs = acAccount[0]; - } else { - acs = acAccount[1]; - } - for (i = 0; i < acs.length; i++) { - html += '<li>' + account.slice(0, account.indexOf('@')) + '@' + acs[i] + '</li>'; - } - $tipPanel.html(html).slideDown(); - } else { - $tipPanel.slideUp(); - } - vaPn(account); - enableBtn(); -}).blur(function() { - time = setTimeout(function() { - var pnVa = vaPn($phoneNum.val()); - - if (pnVa.pass) { - $accErr.addClass('hide'); - $phoneNum.removeClass('error'); - } else { - $accErr.removeClass('hide').find('em').text(pnVa.errTxt); - $phoneNum.addClass('error'); - } - }, 170); + vaPn($.trim($(this).val())); }).focus(function() { $(this).removeClass('error'); @@ -221,7 +203,11 @@ $ca.blur(function() { $ca.addClass('error'); //验证码错误则刷新验证码 - imgcode(); + if ($ca.val() < caCount) { + + //防止重复刷新验证码 + imgcode(); + } } }).focus(function() { $(this).removeClass('error'); @@ -232,28 +218,6 @@ $ca.blur(function() { vaCa(); }); -$tipPanel.delegate('li', 'click', function(e) { - var account = $(this).text(), - pnVa; - - e.stopPropagation(); - $phoneNum.val(account); - if (time) { - clearTimeout(time); - pnVa = vaPn(account); - enableBtn(); - if (pnVa.pass) { - $accErr.addClass('hide'); - $phoneNum.removeClass('error'); - } else { - $accErr.removeClass('hide').find('em').text(pnVa.errTx); - $phoneNum.addClass('error'); - } - time = null; - } - $tipPanel.slideUp(); -}); - $('#find-btn').click(function(e) { if (/^[0-9]+$/.test($.trim($phoneNum.val()))) { diff --git a/web-static/js/passport/entry.js b/web-static/js/passport/entry.js index 9964bd9..f87bb51 100644 --- a/web-static/js/passport/entry.js +++ b/web-static/js/passport/entry.js @@ -8,4 +8,4 @@ require('./login'); require('./reset'); require('./vertification'); require('./thirdlogin'); -require('./enablePerfectInformation'); \ No newline at end of file +require('./third-pwd'); \ No newline at end of file diff --git a/web-static/js/passport/login.js b/web-static/js/passport/login.js index 37cc026..21718b3 100644 --- a/web-static/js/passport/login.js +++ b/web-static/js/passport/login.js @@ -5,11 +5,6 @@ */ var $ = require('yoho.jquery'); -var mailPostfix = { - num: ['qq.com', '163.com', '126.com', 'sina.com', 'gmail.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'], - other: ['gmail.com', 'qq.com', '163.com', '126.com', 'sina.com', 'sohu.com', 'hotmail.com', '139.com', '189.com'] -}; - var $account = $('#account'), $password = $('#password'), $captcha = $('#captcha'); @@ -26,6 +21,7 @@ var $countryCodeHide = $('#country-code-hide'), var $emailAutoComplete = $('#email-autocomplete'); var mailPhoneRegx = require('./mail-phone-regx'); +var mailAc = require('./ac-email'); //邮箱自动完成 var $remember = $('.remember-me'); @@ -48,7 +44,6 @@ var emailAcTime; require('yoho.placeholder'); - //验证账户名 function validateAccount() { var pass = false, @@ -170,6 +165,76 @@ function validate() { return pass; } +//密码错误次数,超过三次显示验证码 +function vaAccountErrTimes() { + $captchaImg.attr('src', captchaUrl + $.now()); + $captcha.val(''); + $captchaWrap.removeClass('hide'); +} + +//登录 +function login() { + var pass = validate(); + + if (pass && authing === false) { + authing = true; + + $.ajax({ + url: '/passport/login/auth', + type: 'POST', + data: { + areaCode: $countryCodeHide.val().replace('+', ''), + account: $.trim($account.val()), + password: $.trim($password.val()), + captcha: $.trim($captcha.val()), + isRemember: $remember.hasClass('checked') ? true : false + }, + success: function(res) { + if (res.code === 200) { + if (res.data) { + + //防止data.data为undefined时下行语句执行出错而导致脚本不能走到complete去处理authing + location.href = res.data.session; + } + } else { + if (res.data.errorType === 'captcha') { + $captchaTip.removeClass('hide').children('em').html(res.message); + $captcha.addClass('error').val(''); + } else { + $passwordTip.removeClass('hide').children('em').html(res.message); + $password.addClass('error').val(''); + } + + //验证错误次数 + if (res.data && res.data.needCaptcha) { + vaAccountErrTimes(); + } + } + }, + complete: function() { + authing = false; + } + }); + } +} + +mailAc($account, function() { + if (validateAccount()) { + $.ajax({ + url: '/passport/login/account', + type: 'GET', + data: { + account: $.trim($account.val()) + } + }).then(function(res) { + if (res.data && res.data.needCaptcha) { + vaAccountErrTimes(); + } + }); + } + } +); + $('[placeholder]').placeholder(); //展开地区列表 @@ -202,65 +267,6 @@ $(document).on('click', function(e) { } }); -//邮箱 -$account.on('keyup', function() { - var account = $.trim($(this).val()), - html = '', - accountMatch, - matchStr, - postfix, - i; - - //输入@时自动补全邮箱后缀 - //此处>0非错误,用于避免输入的第一个字符为@被识别为邮箱 - if (account.indexOf('@') > 0) { - accountMatch = account.match(/^[0-9]+@(.*)/); - if (accountMatch) { - - //数字邮箱补全 - postfix = mailPostfix.num; - matchStr = accountMatch[1]; - } else { - postfix = mailPostfix.other; - matchStr = account.match(/@(.*)/)[1]; - } - - for (i = 0; i < postfix.length; i++) { - if (postfix[i].indexOf(matchStr) > -1) { - html += '<li>' + account.slice(0, account.indexOf('@')) + '@' + postfix[i] + '</li>'; - } - } - - if (html !== '' && /.com$/.test(account) === false) { - $emailAutoComplete.html(html).removeClass('hide'); - } else { - - //隐藏autocomplete - $emailAutoComplete.html('').addClass('hide'); - } - } -}).on('blur', function() { - emailAcTime = setTimeout(function() { - $emailAutoComplete.addClass('hide'); - - //验证账户格式是否输入正确后,判断是否输错用户名和密码超过三次,若超过则显示验证码 - if (validateAccount()) { - $.ajax({ - url: '/passport/login/account', - type: 'GET', - data: { - account: $.trim($account.val()) - } - }).then(function(res) { - if (res.data && res.data.needCaptcha) { - $captchaImg.attr('src', captchaUrl + $.now()); - $captchaWrap.removeClass('hide'); - } - }); - } - }, 200); -}); - //密码 $password.on('blur', function() { validatePassword(); @@ -323,42 +329,17 @@ $captchaWrap.on('click', '.change-captcha, .captcha-img', function() { }); //登录 -$('#login-btn').on('click', function() { - var pass = validate(); +$('#login-btn').on('click', login); - if (pass && authing === false) { - authing = true; - - $.ajax({ - url: '/passport/login/auth', - type: 'POST', - data: { - areaCode: $countryCodeHide.val().replace('+', ''), - account: $.trim($account.val()), - password: $.trim($password.val()), - captcha: $.trim($captcha.val()), - isRemember: $remember.hasClass('checked') ? true : false - }, - success: function(res) { - if (res.code === 200) { - if (res.data) { - - //防止data.data为undefined时下行语句执行出错而导致脚本不能走到complete去处理authing - location.href = res.data.session; - } - } else { - if (res.data.errorType === 'captcha') { - $captchaTip.removeClass('hide').children('em').html(res.message); - $captcha.addClass('error').val(''); - } else { - $passwordTip.removeClass('hide').children('em').html(res.message); - $password.addClass('error').val(''); - } - } - }, - complete: function() { - authing = false; - } - }); +//Enter登录 +$('input.va').on('keypress', function(e) { + if (e.which === 13) { + login(); } }); + +// 初始:只带账户名的页面,密码输入获得焦点 +if (($account.val() !== '' || $account.val() === $account.attr('placeholder')) && + $password.val() === '') { + $password.focus(); +} \ No newline at end of file diff --git a/web-static/js/passport/mail-phone-regx.js b/web-static/js/passport/mail-phone-regx.js index 168af23..fea1494 100644 --- a/web-static/js/passport/mail-phone-regx.js +++ b/web-static/js/passport/mail-phone-regx.js @@ -20,6 +20,10 @@ var countryPhoneRegx = { var emailRegx = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/; +var pwdValidateRegx = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/; + exports.phoneRegx = countryPhoneRegx; -exports.emailRegx = emailRegx; \ No newline at end of file +exports.emailRegx = emailRegx; + +exports.pwdValidateRegx = pwdValidateRegx; \ No newline at end of file diff --git a/web-static/js/passport/reg.js b/web-static/js/passport/reg.js index 6093060..d800b6e 100644 --- a/web-static/js/passport/reg.js +++ b/web-static/js/passport/reg.js @@ -11,7 +11,11 @@ var $registerPage = $('.register-page'), $pwdTips = $('#pwd-tips'), $pwdTip1 = $pwdTips.find('#pwd-tip1'), $errTip = $('#err-tip'), - $registerBtn = $('#register-btn'); + $registerBtn = $('#register-btn'), + $countDown = $('#count-down'), + $successBtn = $('.success-btn'), + countDown = 5, + clearT; var $sendCaptcha = $('#send-captcha'), caCount = 4, @@ -21,7 +25,8 @@ var $pn = $('#phone-num'), $mc = $('#msg-captcha'), $pwd = $('#pwd'), $repwd = $('#repwd'), - $ca = $('#captcha'); + $ca = $('#captcha'), + timeResidue = 0; // 密码强度验证 var $pwdIntensity = $('.pwd-intensity'), @@ -33,8 +38,12 @@ var $region = $('#country-code'), isPwd = false, pwdVal; +var pwdReg = regValidate.pwdValidateRegx; + var $curErrContainer; +var oldPhone = ''; //如果手机号改变时刷新验证码 + require('yoho.placeholder'); setTimeout(function() { @@ -91,6 +100,15 @@ validateResult = [ } ]; +//刷新图形验证码 +function refreshPic() { + var time = new Date(), + $captchaImg = $('.captcha-img'), + captchaImgSrc = $captchaImg.attr('src').split('?')[0]; + + $captchaImg.attr('src', captchaImgSrc + '?t=' + time.getTime()); +} + //手机号ajax校验 function phoneAjaxFn(page, callback) { var url, @@ -112,17 +130,37 @@ function phoneAjaxFn(page, callback) { }; } + validateResult[0].message = 'err'; + validateResult[0].status = false; + $.ajax({ url: url, type: 'POST', data: data }).then(function(data) { + if (!data) { + return; + } + switch (data.code) { case 200: + + if ($pn.val() !== oldPhone && oldPhone !== '') { + + // 如果手机号发生改变则刷新验证码并且更新状态 + refreshPic(); + $sendCaptcha.addClass('disable').attr('disabled', 'disabled'); + validateResult[1].message = '图形验证码错误'; + validateResult[1].status = false; + } + + oldPhone = $pn.val(); + validateResult[0].message = ''; validateResult[0].status = true; break; case 400: + refreshPic(); validateResult[0].message = data.message; validateResult[0].status = false; break; @@ -151,12 +189,17 @@ function picCaptchaAjaxFn(page, callback) { //area: $region.text().split('+')[1] } }).then(function(data) { + if (!data) { + return; + } + switch (data.code) { case 200: validateResult[1].message = ''; validateResult[1].status = true; break; case 400: + refreshPic(); validateResult[1].message = '图形验证码错误'; validateResult[1].status = false; break; @@ -183,6 +226,10 @@ function msgCaptchaAjaxFn(page, callback) { area: $region.text().split('+')[1] } }).then(function(data) { + if (!data) { + return; + } + switch (data.code) { case 200: validateResult[2].message = ''; @@ -202,8 +249,9 @@ function msgCaptchaAjaxFn(page, callback) { function validateRule(page, $element, callback) { var val = $.trim($element.val()), - regionCode, - pwdReg = /^(?![^a-zA-Z]+$)(?!\D+$).{6,20}$/; + regionCode; + + // 根据需求http://redmine.yoho.cn/issues/3117改成上边的正则 // 对应的错误提示语也改了,感觉要不了多久就会改回来 @@ -214,6 +262,7 @@ function validateRule(page, $element, callback) { regionCode = $region.text(); + if (val === '') { validateResult[0].message = '请输入手机号码'; validateResult[0].status = false; @@ -289,7 +338,7 @@ function validateRule(page, $element, callback) { validateResult[3].status = false; } else if (!pwdReg.test($element.val())) { - validateResult[3].message = '密码只支持6-20位字符,建议字母+数字的组合。'; + validateResult[3].message = '密码须字母和数字组合'; validateResult[3].status = false; } else { @@ -338,7 +387,7 @@ function showErrTip() { if (!show) { //不可以通过status判断 - if (!!validateResult[i].message) { + if (!!validateResult[i].message && validateResult[i].message !== 'err') { //显示错误提示 $errTip.find('span').text(validateResult[i].message); @@ -438,9 +487,29 @@ $(window).resize(function() { exports.init = function(page) { $('#agree-terms').click(function() { - if ($(this).attr('notchecked')) { - $(this).removeAttr('notchecked'); - $registerBtn.addClass('disable').attr('disabled', 'true'); + + var $this = $(this), + i, + passI = 0; + + if (!!$this.attr('notchecked')) { + + $this.removeAttr('notchecked'); + + //勾选 + for (i = 0; i < validateResult.length; i++) { + if (validateResult[i].status) { + passI++; + } + } + if (passI === 4) { + $registerBtn.removeClass('disable').removeAttr('disabled'); + } + } else { + + //取消勾选 + $registerBtn.addClass('disable').attr('disabled', 'disabled'); + $this.attr('notchecked', 'notchecked'); } }); @@ -477,14 +546,14 @@ exports.init = function(page) { if (statusLen === 4 && !$('#agree-terms').attr('notchecked')) { $registerBtn.removeClass('disable').removeAttr('disabled'); } else { - $registerBtn.addClass('disable').attr('disabled', 'true'); + $registerBtn.addClass('disable').attr('disabled', 'disabled'); } // 图形验证通过时,发送短信按钮可点击 - if (validateResult[1].status) { - $sendCaptcha.removeClass('disable'); + if (validateResult[1].status && timeResidue <= 0) { + $sendCaptcha.removeClass('disable').removeAttr('disabled'); } else { - $sendCaptcha.addClass('disable'); + $sendCaptcha.addClass('disable').attr('disabled', 'disabled'); } //图形验证通过时,发送短信按钮可点击 end @@ -513,19 +582,22 @@ exports.init = function(page) { // 点击发送验证码 $sendCaptcha.click(function() { - var timeResidue = 60, - t, + var t, url; if ($(this).hasClass('disable')) { return; } - $sendCaptcha.addClass('disable'); + timeResidue = 60; + + $('#msg-tip').removeClass('hide'); + + $sendCaptcha.addClass('disable').attr('disabled', 'disabled'); t = setInterval(function() { if (timeResidue <= 0) { - $sendCaptcha.removeClass('disable').val('获取短信验证码'); + $sendCaptcha.removeClass('disable').removeAttr('disabled').val('获取短信验证码'); clearInterval(t); return; } @@ -551,9 +623,11 @@ exports.init = function(page) { }); // 防止粘贴密码 - $pwd[0].onpaste = function() { - return false; - }; + if ($('.success-box').length <= 0) { + $pwd[0].onpaste = function() { + return false; + }; + } //ajax表单提交 $registerBtn.click(function() { @@ -620,10 +694,20 @@ exports.init = function(page) { }); $('.change-captcha').click(function() { - var time = new Date(), - $captchaImg = $('.captcha-img'), - captchaImgSrc = $captchaImg.attr('src').split('?')[0]; - - $captchaImg.attr('src', captchaImgSrc + '?t=' + time.getTime()); + refreshPic(); }); -}; + + //注册成功页面5秒后跳转 + if ($('.success-box').length > 0) { + clearT = setInterval(function() { + + if (countDown === 0) { + + window.location.href = $successBtn.attr('data-url'); + + clearInterval(clearT); + } + $countDown.text(countDown--); + }, 1000); + } +}; \ No newline at end of file diff --git a/web-static/js/passport/reset.js b/web-static/js/passport/reset.js index 0b83c70..ae73b2d 100644 --- a/web-static/js/passport/reset.js +++ b/web-static/js/passport/reset.js @@ -19,6 +19,8 @@ var $pwdIntensity = $('.pwd-intensity'), $pwdParent = $pwdIntensity.closest('.pwd-intensity-container'), $pwdTip1 = $('#pwd-tip1'); +var pwdRegx = require('./mail-phone-regx').pwdValidateRegx; + require('yoho.placeholder'); @@ -124,23 +126,19 @@ function pwdKeyupEvt() { break; } - // + //提示框 if (pwd === '') { - hasNoErrPw = false; $pwdTip1.removeClass('red yes no').addClass('default'); + } else if (pwd.length < 6 || pwd.length > 20) { + $pwdTip1.removeClass('default yes').addClass('no red'); } else { - if (pwd.length < 6 || pwd.length > 20) { - hasNoErrPw = false; - $pwdTip1.text('密码只支持6-20位字符').removeClass('default yes').addClass('no red'); - } else if (!/^(?![^a-zA-Z]+$)(?!\D+$).{6,20}$/.test(pwd)) { - hasNoErrPw = false; - $pwdTip1.text('密码只支持6-20位字符,建议字母+数字的组合。').removeClass('default yes').addClass('no red'); - } else { - hasNoErrPw = true; - $pwdTip1.text('密码只支持6-20位字符').removeClass('default no red').addClass('yes'); - } + $pwdTip1.removeClass('default no red').addClass('yes'); + } - //提示2不做验证 + if (pwdRegx.test(pwd)) { + hasNoErrPw = true; + } else { + hasNoErrPw = false; } } @@ -168,15 +166,19 @@ $('.va').keyup(function() { $next.addClass('disable').prop('disabled', true); } }).blur(function() { - var v = $(this).val(); + var $this = $(this), + v = $this.val(); - if ($(this).hasClass('pwd')) { + if ($this.hasClass('pwd')) { if (v === '') { - $(this).addClass('error'); + $this.addClass('error'); $pwdErr.removeClass('hide').find('em').text('请输入密码'); } else if (v.length < 6 || v.length > 20) { - $(this).addClass('error'); + $this.addClass('error'); $pwdErr.removeClass('hide').find('em').text('密码只支持6-20位'); + } else if (!pwdRegx.test(v)) { + $this.addClass('error'); + $pwdErr.removeClass('hide').find('em').text('密码须字母和数字组合'); } else { $pwdErr.addClass('hide'); if ($repwd.val() !== '') { @@ -191,14 +193,14 @@ $('.va').keyup(function() { } } else { if (v === '') { - $(this).addClass('error'); + $this.addClass('error'); $repwdErr.removeClass('hide').find('em').text('请输入密码确认'); } else { if ($pwd.val() !== '' && v !== $pwd.val()) { - $(this).addClass('error'); + $this.addClass('error'); $repwdErr.removeClass('hide').find('em').text('两次密码输入不一致,请重新输入'); } else { - $(this).removeClass('error'); + $this.removeClass('error'); $repwdErr.addClass('hide'); } } diff --git a/web-static/js/passport/third-pwd.js b/web-static/js/passport/third-pwd.js new file mode 100644 index 0000000..8249837 --- /dev/null +++ b/web-static/js/passport/third-pwd.js @@ -0,0 +1,344 @@ +/** + * 第三方绑定完善个人信息 + * @author: wq + * @date: 2016/1/27 + */ +var $ = require('yoho.jquery'); +var dovalidate = false; //校验验证码的标识 +var isvalidatecode = false; //是否验证成功的标识 +var isvalidatepwd = false; //密码验证是否通过的标识 +var second = ''; //倒计时时间 +var nopermissionoption = ''; //倒计时的dom +var sendmessagehtml = ''; //发送短信的dom +var submitStatus = false; //信息提交状态 + +var $wrapper = $('.bindwrapper'), + $codeTip = $wrapper.find('.code-err-tip'), + $pwdTip = $wrapper.find('.pwd-err-tip'), + $pwdTip2 = $('#pwd-tip2'), + $sendMsgBtn = $('#sendmessage'); +var $pwd, + $pwdParent, + $pwdTip1, + $pwdIntensity; + +var pwdRegx = require('./mail-phone-regx').pwdValidateRegx; +var mobile = $('#mobile').val(), + area = $('#area').val(); + +nopermissionoption = $('#nopermissionmessage').html(); +sendmessagehtml = $('.validatewrapper').html(); +second = +$('.second').text(); + + +function gettype(str, i) { + if (str.charCodeAt(i) >= 48 && str.charCodeAt(i) <= 57) { + return 1; + } else if (str.charCodeAt(i) >= 97 && str.charCodeAt(i) <= 122) { + return 2; + } else if (str.charCodeAt(i) >= 65 && str.charCodeAt(i) <= 90) { + return 3; + } + + return 4; +} + +function isregular(cur, pre, type) { + var curCode = cur.charCodeAt(0); + var preCode = pre.charCodeAt(0); + + if (curCode - preCode === 0) { + return true; + } + + if (type !== 4 && (curCode - preCode === 1 || curCode - preCode === -1)) { + return true; + } + + return false; +} + + +function getcomplex(curType, preType) { + if (preType === 0 || curType === preType) { + return 0; + } else if (curType === 4 || preType === 4) { + return 2; + } else { + return 1; + } +} + + +/** + * @desc: 计算密码复杂度(from:http://www.oschina.net/code/snippet_127301_17269) + * @author: xuqi(qi.xu@yoho.cn) + * @date: 2015/5/6 + */ +function computeComplex(password) { + var complex = 0; + var length = password.length; + var pre = ''; + var preType = 0; + var i = 0; + var cur = ''; + var curType = ''; + + for (i; i < length; i++) { + cur = password.charAt(i); + curType = gettype(password, i); + if (preType !== curType || !isregular(cur, pre, curType)) { + complex += curType + getcomplex(curType, preType); + } + pre = cur; + preType = curType; + } + + return complex; +} + +function showErrTip($dom, info) { + $dom.find('em').text(info); + $dom.removeClass('hide'); +} + +function changeSecond() { + second -= 1; + if (second < 0) { + second = 60; + $('.validatewrapper').html(sendmessagehtml); + return; + } else { + $('.second').text(second); + window.setTimeout(changeSecond, 1000); + } + +} +/** + * 启动倒计时 + * @return {[type]} [description] + */ +function circleTime() { + $('.validatewrapper').html(nopermissionoption); + window.setTimeout(changeSecond, 1000); +} + +function sendMessageValidate() { + $(document).on('click', '#sendmessage', function() { + circleTime(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/sendBindMsg', + data: { + mobile: mobile, + area: area + } + }).then(function(data) { + if (data.code !== 200) { + alert(data.message); + } + }); + + }); +} + + + +function codeValidate() { + var validatenum = ''; + + $(document).on('keyup', '#validatenum', function() { + $('#err-info').hide(); + validatenum = $(this).val(); + if (validatenum.length === 4) { + if (!dovalidate) { + dovalidate = true; + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/checkBindMsg', + data: { + code: validatenum, + mobile: mobile, + area: area + } + }).then(function(data) { + dovalidate = false; + if (data.code !== 200) { + $('#err-info').show(); + } else { + isvalidatecode = true; + } + }); + } + } + }); +} + +function pwdKeyupEvt() { + var pwd = $pwd.val(), + pwdStrength = computeComplex(pwd), + level = 0; + + if (pwdStrength === 0) { + level = 0; + } else if (pwdStrength <= 10) { + level = 1; + } else if (pwdStrength <= 20) { + level = 2; + } else { + level = 3; + } + switch (level) { + case 0: + $pwdParent.removeClass('red yellow green'); + $pwdIntensity.removeClass('color'); + break; + case 1: + $pwdParent.addClass('red').removeClass('yellow green'); + $pwdIntensity.filter('.low').addClass('color'); + $pwdIntensity.filter('.mid,.high').removeClass('color'); + break; + case 2: + $pwdParent.addClass('yellow').removeClass('red green'); + $pwdIntensity.filter('.low,.mid').addClass('color'); + $pwdIntensity.filter('.high').removeClass('color'); + break; + case 3: + $pwdParent.addClass('green').removeClass('yellow red'); + $pwdIntensity.addClass('color'); + break; + } + if (pwd === '') { + isvalidatepwd = false; + $pwdTip1.removeClass('red yes no').addClass('default'); + } else { + if (pwd.length < 6 || pwd.length > 20) { + isvalidatepwd = false; + $pwdTip1.removeClass('default yes').addClass('no red'); + } else { + isvalidatepwd = true; + $pwdTip1.removeClass('default no red').addClass('yes'); + } + if (/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]*$/.test(pwd)) { + $pwdTip2.removeClass('default no red').addClass('yes'); + } else { + $pwdTip2.removeClass('default yes').addClass('no red'); + } + } +} + +function validatePwd() { + $(document).on('keyup', '.pwdcontent', function() { + pwdKeyupEvt($(this)); + }); + $(document).on('focus', '.pwdcontent', function() { + $('#pwd-tips').removeClass('hide'); + }); + $(document).on('blur', '.pwdcontent', function() { + $('#pwd-tips').addClass('hide'); + }); +} + +/** + * 最终提交表单 + */ +function actionSubmit() { + var pwd = ''; + var code = ''; + + // 查看提交状态,避免重复提交 + if (submitStatus) { + return; + } + submitStatus = true; + setTimeout(function() { + submitStatus = false; + }, 50000); + + pwd = $('#pwd').val(); + code = $('#validatenum').val(); + $.ajax({ + type: 'POST', + url: '/passport/autouserinfo/bindMobile', + data: { + area: area, + openId: $('#openId').val(), + sourceType: $('#sourceType').val(), + mobile: mobile, + password: pwd, + code: code + } + }).then(function(data) { + submitStatus = false; + if (data.code === 200) { + if (data.data && data.data.refer) { + window.location.href = data.data.refer; + } else { + window.location.href = '/passport/thirdlogin/bindsuccess'; + } + } else { + alert(data.message); + } + }); +} +/** + * 确定完善信息 + * @return {[type]} [description] + */ +function actionConfirm() { + var validatenum = ''; + var pwd = ''; + + $('#confirmsubmit').on('click', function() { + var isAssess = true; + + validatenum = $('#validatenum').val(); + pwd = $('#pwd').val(); + + if (validatenum === '') { + showErrTip($codeTip, '短信验证码不能为空'); + isAssess = false; + } else if (isvalidatecode === false) { + showErrTip($codeTip, '请输入正确的验证码'); + isAssess = false; + } + + if (pwd === '') { + showErrTip($pwdTip, '密码不能为空'); + isAssess = false; + } else if (pwd.length < 6 || pwd.length > 20) { + showErrTip($pwdTip, '密码只支持6-20位字符'); + isAssess = false; + } else if (!pwdRegx.test(pwd)) { + showErrTip($pwdTip, '密码须由字母和数字组合'); + isAssess = false; + } else if (isvalidatepwd === false) { + showErrTip($pwdTip, '请输入符合强度的密码'); + isAssess = false; + } + + if (!isAssess) { + return; + } + + actionSubmit(); + }); +} + + + +function init() { + $pwd = $('#pwd'); + $pwdParent = $('.safelevel'); + $pwdIntensity = $('.pwd-intensity'); + $pwdTip1 = $('#pwd-tip1'); + sendMessageValidate(); + codeValidate(); + validatePwd(); + actionConfirm(); + if (mobile && area) { + $sendMsgBtn.click(); + } +} + +init(); diff --git a/web-static/js/passport/thirdlogin.js b/web-static/js/passport/thirdlogin.js index e5ddff7..be97748 100644 --- a/web-static/js/passport/thirdlogin.js +++ b/web-static/js/passport/thirdlogin.js @@ -4,6 +4,8 @@ * @date: 2016/1/21 */ var $ = require('yoho.jquery'); +var phoneRegx = require('./mail-phone-regx').phoneRegx; + var nopermissionoption = $('#nopermissionmessage').html(); //倒计时dom var sendmessagehtml = $('.validatewrapper').html(); //发送短信dom var second = +$('.second').text(); //倒计时秒数 @@ -11,12 +13,18 @@ var dovalidate = false; //校验验证码标识 var validatecode = false; //验证码是否通过 var choosedpic = 'http://cdn.yoho.cn/yohobuy/assets/img/passport/choosed.png';//已选择图片 +var $wrapper = $('.bindwrapper'), + $phoneTip = $wrapper.find('.phone-err-tip'), + $nextBtn = $wrapper.find('.yohobindbtn'); + /** * 选择协议 * @return {[type]} [description] */ function chooseProtocol() { $('.choosetag').on('change', function() { + var btnColor = '#f02200'; + if ($(this).attr('checked') === 'checked') { $('.choosewrapper').css({ 'background-image': 'url("' + choosedpic + '")' @@ -25,8 +33,11 @@ function chooseProtocol() { $('.choosewrapper').css({ 'background-image': 'none' }); + btnColor = '#CCCCCC'; } - + $nextBtn.css({ + 'background-color': btnColor + }); }); } /** @@ -64,7 +75,7 @@ function codeValidate() { data: { code: validatenum, mobile: $('#mobile').val(), - area: $('#area').val() + area: $('#areacode').val() } }).then(function(data) { dovalidate = false; @@ -77,6 +88,12 @@ function codeValidate() { } } }); + + $('#validatenum').focus(function() { + $(this).removeAttr('placeholder'); + }).blur(function() { + $(this).attr('placeholder', '验证码'); + }); } /** @@ -207,7 +224,7 @@ function sendMessageValidate() { url: '/passport/autouserinfo/sendBindMsg', data: { mobile: $('#mobile').val(), - area: $('#area').val() + area: $('#areacode').val() } }).then(function(data) { if (data.code !== 200) { @@ -225,7 +242,7 @@ function actionSubmit() { var mobile = ''; var area = ''; - area = $('#area').val(); + area = $('#areacode').val(); mobile = $('#mobile').val(); $.ajax({ type: 'POST', @@ -234,11 +251,16 @@ function actionSubmit() { area: area, openId: $('#openId').val(), sourceType: $('#sourceType').val(), - mobile: mobile + mobile: mobile, + code: $('#validatenum').val() } }).then(function(data) { - if (data.code === 201) { - window.location.href = '/passport/thirdlogin/bindsuccess'; + if (data.code === 200) { + if (data.data && data.data.refer) { + window.location.href = data.data.refer; + } else { + window.location.href = '/passport/thirdlogin/bindsuccess'; + } } else { alert(data.message); } @@ -252,7 +274,7 @@ function actionSubmit() { function goToBindPhone() { $(document).on('click', '#gotobindphone', function() { if (validatecode === true) { - $('#inarea').val($('#areanum').val()); + $('#inarea').val($('#areacode').val()); $('#inmobile').val($('#mobile').val()); actionSubmit(); } else { @@ -261,29 +283,6 @@ function goToBindPhone() { }); } /** - * 无交互的发送短信 - * @return {[type]} [description] - */ -function sendMessage() { - var mobile = ''; - var area = ''; - - mobile = $('#mobile').val(); - area = $('#areanum').text(); - $.ajax({ - type: 'POST', - url: '/passport/autouserinfo/sendBindMsg', - data: { - mobile: mobile, - area: area - } - }).then(function(data) { - if (data.code !== 200) { - console.log(data.message); - } - }); -} -/** * 点击下一步 * @return {[type]} [description] */ @@ -296,15 +295,19 @@ function nextStep() { var headImg = ''; $('#bindfirststep').on('click', function(e) { + var regx; + e.preventDefault(); mobile = $('.phonenum').val(); areaCode = $('#areanum').text(); - if (mobile === '') { - alert('手机号码不能为空'); + regx = phoneRegx['+' + areaCode]; + + if (!isagree()) { return; } - if (!isagree()) { - alert('请先同意我们的协议'); + if (mobile === '' || !regx || !regx.test(mobile)) { + $phoneTip.find('em').text('手机格式错误'); + $phoneTip.removeClass('hide'); return; } openId = $('#openId').val() || '29803EC6D4AAC3AAB8ABDB6AE829D579'; @@ -320,13 +323,15 @@ function nextStep() { }, dataType: 'json', success: function(data) { + var winHeight = $(window).height(); + if (data.code === 200) { $('#bindmobileform').attr('action', '/passport/thirdlogin/noregist'); - sendMessage(); $('#bindmobileform').submit(); } if (data.code === 400 || data.code === 402) { - $('#errinfo').text('手机格式错误'); + $phoneTip.find('em').text('手机格式错误'); + $phoneTip.removeClass('hide'); } if (data.code === 506) { username = data.data.user.username; @@ -341,6 +346,10 @@ function nextStep() { } $('#logindirectly2').attr('href', data.data.user.bindLogin); $('.backdrop').show(); + $('#sendmessage').click(); + $('#alreayregist .mask').css({ + 'padding-top': winHeight > 440 ? winHeight / 2 : 217 + }); $('#alreayregist').show(); } if (data.code === 505) { @@ -352,10 +361,13 @@ function nextStep() { $('#userphoto1').attr('src', 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/' + '01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100'); } else { - $('#userphoto').attr('src', headImg); + $('#userphoto1').attr('src', headImg); } $('#logindirectly').attr('href', data.data.user.bindLogin); $('.backdrop').show(); + $('#bindconfirm .mask').css({ + 'padding-top': winHeight > 440 ? winHeight / 2 : 217 + }); $('#bindconfirm').show(); } } diff --git a/web-static/js/product/brand.js b/web-static/js/product/brand.js index 0ca1087..244f515 100644 --- a/web-static/js/product/brand.js +++ b/web-static/js/product/brand.js @@ -6,26 +6,44 @@ var $ = require('yoho.jquery'); -$('#brand-favor').on('click', function() { - var $this = $(this), - uid = window.getUid(); +var $brandFavor = $('#brand-favor'), + id = $brandFavor.data('id'); +$brandFavor.on('click', function() { $.ajax({ type: 'post', url: '/product/index/favoriteBrand', data: { - uid: uid, - brandId: $this.data('id') + brandId: id } }).then(function(res) { if (res.code === 200) { if (res.message === 'add') { - $this.find('i').addClass('coled'); + $brandFavor.find('i').addClass('coled'); } else { - $this.find('i').removeClass('coled'); + $brandFavor.find('i').removeClass('coled'); } } else if (res.code === 403) { location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); } }); }); + +//页面进入更新收藏状态 +$.ajax({ + type: 'POST', + url: '/product/index/isFavoriteBrand', + data: { + brandId: id + } +}).then(function(data) { + if (data.code === 200) { + + //已收藏 + $brandFavor.find('i').addClass('coled'); + } else if (data.code === 404) { + + //未收藏 + $brandFavor.find('i').removeClass('coled'); + } +}); diff --git a/web-static/js/product/entry.js b/web-static/js/product/entry.js index d6b223c..03a85c2 100644 --- a/web-static/js/product/entry.js +++ b/web-static/js/product/entry.js @@ -9,3 +9,5 @@ require('./list'); require('./brand'); require('./hotrank'); + +require('./item'); diff --git a/web-static/js/product/filter.js b/web-static/js/product/filter.js index 8a17015..b670477 100644 --- a/web-static/js/product/filter.js +++ b/web-static/js/product/filter.js @@ -8,8 +8,8 @@ var $ = require('yoho.jquery'), Handlebars = require('yoho.handlebars'); var checkUnicode = { - unchecked: '', - checked: '' + unchecked: '', + checked: '' }, moreUnicode = { up: '', @@ -18,10 +18,12 @@ moreUnicode = { //品牌相关变量 var $brandDefault = $('.brand .default'), + $brandInput = $('#brand-search-input'), $brandPanel = $('.brand .brand-panel'), $brandAttrs = $brandPanel.find('.attr'), $brandMore = $('#brand-more'), - $brandMulti = $('#brand-multi'); + $brandMulti = $('#brand-multi'), + $brandsIndex = $('.brands-index'); var $brandMoreTxt, $brandMoreIcon; @@ -46,9 +48,15 @@ var sizeTmpl = '{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{ sizeTmpl = Handlebars.compile(sizeTmpl); -//清除checkbox选中状态 -function clearChecked($checkbox) { - $checkbox.removeClass('checked').html(checkUnicode.unchecked); +//清除checkbox选中状态[页面默认checked不清空] +function clearChecked($checkbox, $checked) { + $checkbox.each(function() { + if ($(this).closest('.attr').hasClass('checked')) { + return; + } + $(this).removeClass('checked').html(checkUnicode.unchecked); + }); + $checked.find('.checkbox').addClass('checked').html(checkUnicode.checked); } //显示更多品牌面板 @@ -61,6 +69,9 @@ function brandShowMore() { function brandHideMore() { $brandPanel.addClass('hide'); $brandDefault.removeClass('hide'); + + //清除索引状态 + $brandsIndex.children('span').removeClass('hover'); } //url构造&跳转 @@ -162,6 +173,9 @@ $brandMore.click(function() { $brandMoreTxt.text('更多'); $brandMoreIcon.html(moreUnicode.down); + + //清空搜索框和搜索结果 + $brandInput.val('').trigger('keyup'); } else { brandShowMore(); @@ -173,28 +187,29 @@ $brandMore.click(function() { }); //【品牌】索引 -$('.brands-index').on('mouseenter', 'span', function() { +$brandsIndex.on('mouseenter', 'span', function() { var $this = $(this), index = $this.data('index'); if ($this.hasClass('hover')) { return; } + setTimeout(function() { + $this.siblings('span.hover').removeClass('hover'); + $this.addClass('hover'); - $this.siblings('span.hover').removeClass('hover'); - $this.addClass('hover'); + if ($this.index() === 0) { - if ($this.index() === 0) { - - //全部 - $brandAttrs.removeClass('hide'); - } else { - $brandAttrs.addClass('hide').filter('[data-index=' + index + ']').removeClass('hide'); - } + //全部 + $brandAttrs.removeClass('hide'); + } else { + $brandAttrs.addClass('hide').filter('[data-index=' + index + ']').removeClass('hide'); + } + }, 120); }); //【品牌】搜索 -$('#brand-search-input').keyup(function() { +$brandInput.keyup(function() { var val = $(this).val().toLowerCase(); if (val === '') { @@ -212,7 +227,7 @@ $('#brand-multi-ok').click(function() { return; } - $brandPanel.find('.checked').each(function() { + $brandPanel.find('span.checked').each(function() { val.push($(this).data('id')); }); @@ -230,11 +245,17 @@ $('.multi-select-cancel').click(function() { //显示出更多按钮 $brandMore.removeClass('hide'); + + //清空搜索框和搜索结果 + $brandInput.val('').trigger('keyup'); + brandHideMore(); } $panel.addClass('hide').removeClass('multi'); - brandHideMore(); - clearChecked($panel.find('.checkbox.checked')); //清除选中状态 + clearChecked($panel.find('.checkbox.checked'), $panel.find('.attr.checked')); //清除选中状态 + + //确定按钮状态恢复dis + $(this).siblings('.multi-select-ok').addClass('dis'); }); //【品牌/高级选项】checkbox diff --git a/web-static/js/product/item.js b/web-static/js/product/item.js index 1ef4ad9..32ad32c 100644 --- a/web-static/js/product/item.js +++ b/web-static/js/product/item.js @@ -1,446 +1,679 @@ -/** - * 商品详情页 - * @author: xuqi<qi.xu@yoho.cn> - * @date: 2015/12/23 - */ - -var $ = require('yoho.jquery'), - lazyLoad = require('yoho.lazyload'); - -var $imgShow = $('#img-show'), - $thumbs = $('#thumbs > .thumb-wrap'); - -var $size = $('#sizes'), - $sizes = $size.children('.size'), - $sizeWarn = $size.children('.size-warn'), - $colorSizeTip = $size.children('.color-size-tip'); - -var $num = $('#num'), - $plusNum = $('#plus-num'), - $minusNum = $('#minus-num'), - $numWarn = $('#num-warn'); - -var $addToCart = $('#add-to-cart'), - $soldOut = $('#sold-out'); - -var $lcContainer = $('.lc-container'), - $itemBuy = $('.item-buy'); - -var thumbsLoaded = {}; - -var skn = $('.main').data('skn'); - -var maxStock = -1; //记录当前选中的颜色-尺码的库存量,若为-1,代表未选择尺码 - -var SLIDETIME = 200; - -var colTxt = { - default: '收藏商品', - coled: '已收藏', - hover: '取消收藏' -}; - -//咨询和评价页数 -var page = { - comments: 1, - consults: 1 -}; - -function imgShow(src) { - $imgShow.attr('src', src); -} - -/** - * 获取当前选择的商品数目 - * @return [Number] - */ -function getNum() { - return +$num.text(); -} - -//重置Num显示为1 -function resetNum() { - $num.text('1'); - - $numWarn.addClass('hide'); -} - -//加入购物车和已售罄状态控制 -function switchBtnStatus() { - if (maxStock === 0) { - $itemBuy.addClass('hide'); //隐藏加入购物车、即将开始、立即购买等相同位置的按钮 - $soldOut.removeClass('hide'); - } else { - - //包括默认的-1情况下 - $itemBuy.removeClass('hide'); - $soldOut.addClass('hide'); - } -} - -//初始化thumbsLoaded -thumbsLoaded[$('.colors .focus').index()] = true; - -//颜色 -$('.colors').on('click', 'li', function() { - var $this = $(this), - index = $this.index(); - - var $imgs; - - if ($this.hasClass('focus')) { - return; - } - - $this.siblings('.focus').removeClass('focus'); - $this.addClass('focus'); - - //切换图片显示 - $thumbs.not('.hide').addClass('hide'); - $imgs = $thumbs.eq(index).removeClass('hide').find('img'); - - if (typeof thumbsLoaded[index] === 'undefined') { - - //trigger layLoad - lazyLoad($imgs, { - event: 'sporty' - }); - - $imgs.trigger('sporty'); - - thumbsLoaded[index] = true; - } - - imgShow($imgs.first().data('shower')); - - //切换尺码显示 - $sizes.not('.hide').addClass('hide'); - $sizes.eq(index).removeClass('hide').children('li').removeClass('focus'); - - $colorSizeTip.addClass('hide'); - - maxStock = -1; - - resetNum(); - - switchBtnStatus(); -}); - -//尺码 -$size.on('click', 'li', function() { - var $this = $(this); - - if ($this.hasClass('focus')) { - return; - } - - maxStock = +$this.data('num'); - - $this.siblings('.focus').removeClass('focus'); - $this.addClass('focus'); - - $colorSizeTip.html($this.data('title')).removeClass('hide'); - - $sizeWarn.addClass('hide'); - - switchBtnStatus(); - - resetNum(); -}).on('click', '.size-ruler', function() { - - //尺码帮助 - -}); - -//数量 -$plusNum.click(function() { - var num = getNum(); - - if (maxStock === -1) { - $sizeWarn.removeClass('hide');//显示选择尺码提示 - return; - } - - //已售罄 - if (maxStock === 0) { - return; - } - - if (num >= maxStock) { - $numWarn.removeClass('hide'); - } else { - $num.text(num + 1); - } -}); - -$minusNum.click(function() { - var num = getNum(); - - if (num === 1) { - return; - } - - if (num <= maxStock) { - $numWarn.addClass('hide'); - } - - $num.text(num - 1); -}); - -//限购码 -$('.get-lc').hover(function() { - $lcContainer.removeClass('hide'); -}, function() { - $lcContainer.addClass('hide'); -}); - -//加入购物车 -$addToCart.click(function() { - if (maxStock === -1) { - $sizeWarn.removeClass('hide'); - return; - } - - $.ajax({ - type: 'GET', - url: '/product/item/addToCart', - data: { - skn: skn - } - }).then(function(data) { - var code = data.code; - - if (code === 200) { - $('#type-chose').slideUp(SLIDETIME); - $('#balance').slideDown(SLIDETIME); - - $('#cart-num').text(data.num); //更新数目 - } - }); -}); - -//收藏 -$('#collect-product').click(function() { - var $this = $(this), - status = 'collect'; - - if ($this.hasClass('coled')) { - status = 'cancel'; - } - - $.ajax({ - type: 'GET', - url: '/product/item/collect', - data: { - skn: skn, - status: status - } - }).then(function(data) { - var code = data.code; - - if (code === 200) { - - $this.toggleClass('coled'); - - if (status === 'cancel') { - $this.find('em').text(colTxt.default); - } else { - $this.find('em').text(colTxt.coled); - } - } else if (code === 400) { - window.location.href = data.data; - } - }); -}).hover(function() { - var $this = $(this); - - if ($this.hasClass('coled')) { - $this.find('em').text(colTxt.hover); - } -}, function() { - var $this = $(this); - - if ($this.hasClass('coled')) { - $this.find('em').text(colTxt.coled); - } -}); - -//继续购物 -$('#keep-shopping').click(function() { - $('#type-chose').slideDown(SLIDETIME); - $('#balance').slideUp(SLIDETIME); -}); - -//商品详情/材质洗涤切换 -$('.description-material').on('click', '.title', function() { - var $this = $(this), - index = $this.index(); - - var $description = $('.description-content'), - $material = $('.material-content'); - - if ($this.hasClass('cur')) { - return; - } - - $this.addClass('cur'); - $this.siblings('.cur').removeClass('cur'); - - if (index === 0) { - - //商品信息 - $description.slideDown(SLIDETIME); - $material.slideUp(SLIDETIME); - } else { - $description.slideUp(SLIDETIME); - $material.slideDown(SLIDETIME); - } -}); - -//评价和咨询切换 -$('.consult-comment').on('click', '.title', function() { - var $this = $(this), - index = $this.index(); - - var $comments = $('.comments'), - $consults = $('.consults'); - - if ($this.hasClass('cur')) { - return; - } - - $this.addClass('cur'); - $this.siblings('.cur').removeClass('cur'); - - if (index === 0) { - - //咨询 - $consults.slideDown(SLIDETIME); - $comments.slideUp(SLIDETIME); - } else { - $consults.slideUp(SLIDETIME); - $comments.slideDown(SLIDETIME); - } -}).on('click', '.load-more', function() { - var $this = $(this), - type; - - if ($this.hasClass('load-more-comments')) { - type = 'comments'; - } else { - type = 'consults'; - } - - $.ajax({ - type: 'GET', - url: '/product/item/' + type, - data: { - page: page[type] + 1 - } - }).then(function(html) { - if (html === ' ') { - $this.closest('.more-wrap').addClass('hide'); - } else { - $(type + '-ul').append(html); - page[type]++; - } - }); -}); - -//我要咨询 -$('#consults-btn').click(function() { - - //TODO:点击我要资讯的时候更新验证码显示 - $('.new-consult').removeClass('hide'); - $('.consult-success').addClass('hide'); -}); - -//提交咨询 -$('#submit-consult').click(function() { - var $this = $(this), - $parent = $this.closest('.new-consult'), - $textarea = $parent.find('.my-consult'), - $captcha = $parent.find('.captcha'), - content = $.trim($textarea.val()), - captcha = $.trim($captcha.val()); - - var $consultWarn = $parent.find('.consult-warn'), - $captchaWarn = $parent.find('.captcha-warn'); - - var pass = true; - - if (content === '') { - $textarea.addClass('error'); - $consultWarn.removeClass('hide'); - - pass = false; - } else { - $textarea.removeClass('error'); - $consultWarn.addClass('hide'); - } - - if (captcha === '') { - $captcha.addClass('error'); - $captchaWarn.removeClass('hide').children('em').text('请输入验证码'); - - pass = false; - } else { - $captcha.removeClass('error'); - $captchaWarn.addClass('hide'); - } - - if (pass === false) { - return; - } - - $.ajax({ - type: 'GET', - url: '/product/item/consult', - data: { - content: content, - captcha: captcha - } - }).then(function(data) { - var code = data.code; - - if (code === 200) { - $parent.addClass('hide'); - - $parent.siblings('.consult-success').removeClass('hide'); - - //清空输入 - $textarea.val(''); - $captcha.val(''); - } else if (code === 400) { - - //跳转登录页 - location.href = data.href; - } else if (code === 401) { - - //验证码错误 - $captcha.addClass('error'); - $captchaWarn.removeClass('hide').children('em').text('验证码错误'); - } - }); -}); - -//售后服务 -$('.after-service-switch').click(function() { - var $this = $(this), - $content = $this.next('.after-service-content'); - - var html = { - default: '', - spread: '' - }; - - if ($content.css('display') === 'none') { - $content.slideDown(SLIDETIME); - - $this.find('.triangle').html(html.spread); - } else { - $content.slideUp(SLIDETIME); - - $this.find('.triangle').html(html.default); - } -}); \ No newline at end of file +/** + * 商品详情页 + * @author: xuqi<qi.xu@yoho.cn> + * @date: 2015/12/23 + */ + +var $ = require('yoho.jquery'), + lazyLoad = require('yoho.lazyload'), + Handlebars = require('yoho.handlebars'), + JSON2 = require('json2'); + +var $imgShow = $('#img-show'), + $thumbs = $('#thumbs > .thumb-wrap'); + +var $size = $('#sizes'), + $sizes = $size.children('.size'), + $sizeWarn = $size.find('.size-warn'), + $colorSizeTip = $size.children('.color-size-tip'); + +var $num = $('#num'), + $plusNum = $('#plus-num'), + $minusNum = $('#minus-num'); + +var $addToCart = $('#add-to-cart'), + $soldOut = $('#sold-out'); + +var $lcContainer = $('.lc-container'), + $itemBuy = $('.item-buy'); + +var $descColor = $('#desc-color'); + +var thumbsLoaded = {}; + +var $main = $('.main'), + id = $main.data('id'); + +var maxStock = -1; //记录当前选中的颜色-尺码的库存量,若为-1,代表未选择尺码 + +var SLIDETIME = 200; + +var colTxt = { + def: '收藏商品', + coled: '已收藏', + hover: '取消收藏' +}; + +var Alert = require('../common/dialog').Alert; + +require('./latest-walk'); + +require('../common/share'); + +function imgShow(src) { + $imgShow.attr('src', src); +} + +/** + * 获取当前选择的商品数目 + * @return [Number] + */ +function getNum() { + return +$num.text(); +} + +//重置Num显示为1 +function resetNum() { + $num.text('1'); + + //+-按钮状态重置 + if (maxStock === 1 || maxStock === 0) { + + //数目为1/0时 + $plusNum.addClass('dis'); + $minusNum.addClass('dis'); + } else { + $plusNum.removeClass('dis'); + $minusNum.addClass('dis'); + } +} + +//加入购物车和已售罄状态控制 +function switchBtnStatus($color) { + if ($itemBuy.length === 0) { + + //全部售罄,按钮状态不变 + return; + } + + //选中的商品存量为0或者某个颜色的total为0 + if (maxStock === 0 || ($color && ~~$color.data('total') === 0)) { + $itemBuy.addClass('hide'); //隐藏加入购物车、即将开始、立即购买等相同位置的按钮 + $soldOut.removeClass('hide'); + } else { + + //包括默认的-1情况下 + $itemBuy.removeClass('hide'); + $soldOut.addClass('hide'); + } +} + +//size warn +function showSizeWarn() { + $sizes.not('.hide').children('.size-warn').removeClass('hide'); +} + +//size title +(function() { + var $sizeTitleJson = $('#size-title-json'), + jsonHtml = $sizeTitleJson.html(), + sizeTitle; + + if (jsonHtml === '') { + return; + } + + sizeTitle = JSON2.parse(jsonHtml); + + //数据获取后删除 + $sizeTitleJson.remove(); + + $sizes.children('li').each(function() { + var $this = $(this), + key = $this.data('name'); + + $this.data('title', sizeTitle[key]); + }); +}()); + +//初始化thumbsLoaded +thumbsLoaded[$('.colors .focus').index()] = true; + +//品牌收藏 +$('#brand-favour').click(function() { + var $this = $(this); + + $.ajax({ + type: 'POST', + url: '/product/index/favoriteBrand', + data: { + brandId: $this.data('id') + } + }).then(function(data) { + if (data.code === 200) { + $this.toggleClass('coled'); + } else if (data.code === 403) { + location.href = data.data.url; + } + }); +}); + +//颜色 +$('.colors').on('click', 'li', function() { + var $this = $(this), + index = $this.index(); + + var $imgs; + + //初始化color-size显示或隐藏 + $colorSizeTip.addClass('hide'); + + //隐藏尺码提示 + $sizeWarn.addClass('hide'); + + maxStock = -1; + + if ($this.hasClass('focus')) { + + //已获取焦点的颜色再次点击,清除尺码的选中 + $sizes.eq(index).children('li').removeClass('focus'); + } else { + + //未获取焦点,选择尺码 + $this.siblings('.focus').removeClass('focus'); + $this.addClass('focus'); + + //切换图片显示 + $thumbs.not('.hide').addClass('hide'); + $imgs = $thumbs.eq(index).removeClass('hide').find('img'); + + if (typeof thumbsLoaded[index] === 'undefined') { + + //trigger layLoad + lazyLoad($imgs, { + event: 'sporty' + }); + + $imgs.trigger('sporty'); + + thumbsLoaded[index] = true; + } + + imgShow($imgs.first().data('shower')); + + //切换详细信息的颜色显示 + $descColor.text($this.data('color')); + + //切换尺码显示 + $sizes.not('.hide').addClass('hide'); + $sizes.eq(index).removeClass('hide').children('li').removeClass('focus'); + } + + resetNum(); + switchBtnStatus($this); +}); + +//缩略图鼠标移入显示 +$('#thumbs').on('mouseenter', '.thumb', function() { + imgShow($(this).data('shower')); +}); + +//尺码 +$size.on('click', 'li', function() { + var $this = $(this); + + if ($this.hasClass('focus')) { + return; + } + + maxStock = +$this.data('num'); + + $this.siblings('.focus').removeClass('focus'); + $this.addClass('focus'); + + $colorSizeTip.html($this.data('title')).removeClass('hide'); + + $sizeWarn.addClass('hide'); + + switchBtnStatus(); + + resetNum(); +}).on('click', '.size-ruler', function() { + + //尺码帮助 + + $('body,html').animate({ + scrollTop: $('.size-info').offset().top + }, 300); +}); + +//数量 +$plusNum.click(function() { + var num = getNum(); + + if ($(this).hasClass('dis')) { + return; + } + + if (maxStock === -1) { + showSizeWarn();//显示选择尺码提示 + return; + } + + //已售罄 + if (maxStock === 0) { + return; + } + + if (num === maxStock - 1) { + + //+按钮不可点 + $(this).addClass('dis'); + } + + //数目为1时点+则移除-不可点状态 + if (num === 1) { + $minusNum.removeClass('dis'); + } + + $num.text(num + 1 > maxStock ? maxStock : num + 1); +}).on('selectstart', function() { + return false; +}); + +$minusNum.click(function() { + var num = getNum(); + + if ($(this).hasClass('dis')) { + return; + } + + if (num === 2) { + $(this).addClass('dis'); + } + + if (num === maxStock) { + + //恢复+可点 + $plusNum.removeClass('dis'); + } + + $num.text(num - 1 < 0 ? 0 : num - 1); +}).on('selectstart', function() { + return false; +}); + +//限购码 +$('.get-lc:not(.dis)').hover(function() { + $lcContainer.removeClass('hide'); +}, function() { + $lcContainer.addClass('hide'); +}); + +//加入购物车 +$addToCart.click(function() { + if (maxStock === -1) { + showSizeWarn(); + return; + } + + $.ajax({ + type: 'POST', + url: '/cart/index/add', + data: { + productSku: $('.size li.focus').data('sku'), + buyNumber: getNum() + } + }).then(function(data) { + var code = data.code; + + if (code === 200) { + $('#type-chose').slideUp(SLIDETIME); + $('#balance').slideDown(SLIDETIME); + + $('#cart-num').text(data.data.goods_count); //更新数目 + } + }); +}); + +//收藏 +$('#collect-product').click(function() { + var $this = $(this), + cancel; + + if ($this.hasClass('coled')) { + cancel = true; + } + + $.ajax({ + type: 'POST', + url: '/product/item/togglecollect', + data: { + productId: id, + type: cancel ? 'cancel' : 'add' + } + }).then(function(data) { + var code = data.code; + + if (code === 200) { + + $this.toggleClass('coled'); + + if (cancel) { + $this.find('em').text(colTxt.def); + } else { + $this.find('em').text(colTxt.coled); + } + } else if (code === 403) { + location.href = data.data.url; + } + }); +}).hover(function() { + var $this = $(this); + + if ($this.hasClass('coled')) { + $this.find('em').text(colTxt.hover); + } +}, function() { + var $this = $(this); + + if ($this.hasClass('coled')) { + $this.find('em').text(colTxt.coled); + } +}); + +//继续购物 +$('#keep-shopping').click(function() { + $('#type-chose').slideDown(SLIDETIME); + $('#balance').slideUp(SLIDETIME); +}); + +//立即购买 +$('#buy-now').click(function() { + var sku, + base, + myAlert; + + if (maxStock === -1) { + showSizeWarn(); + return; + } + + if ($(this).hasClass('dis')) { + return; + } + + base = $(this).data('base'); + + //潮流尖货 + if (!base) { + myAlert = new Alert('打开APP可抢购该商品哦~~'); + myAlert.show(); + return; + } + + sku = $sizes.find('.focus').data('sku'); + + if (sku && base) { + location.href = base + '?product_sku=' + sku; + } +}); + +//按钮鼠标移入效果【dis状态的按钮状态不变】 +$('.buy-btn').mouseover(function() { + if ($(this).hasClass('dis')) { + return; + } + + $(this).addClass('hover'); +}).mouseleave(function() { + $(this).removeClass('hover'); +}); + +//商品详情/材质洗涤切换 +$('.description-material').on('click', '.title', function() { + var $this = $(this), + index = $this.index(); + + var $description = $('.description-content'), + $material = $('.material-content'); + + if ($this.hasClass('cur')) { + return; + } + + $this.addClass('cur'); + $this.siblings('.cur').removeClass('cur'); + + if (index === 0) { + + //商品信息 + $description.slideDown(SLIDETIME); + $material.slideUp(SLIDETIME); + } else { + $description.slideUp(SLIDETIME); + $material.slideDown(SLIDETIME); + } +}); + +//售后服务 +$('.after-service-switch').click(function() { + var $this = $(this), + $content = $this.next('.after-service-content'); + + var html = { + def: '', + spread: '' + }; + + if ($content.css('display') === 'none') { + $content.slideDown(SLIDETIME); + + $this.find('.triangle').html(html.spread); + } else { + $content.slideUp(SLIDETIME); + + $this.find('.triangle').html(html.def); + } +}); + + +//商品详情区的热点 +$.ajax({ + type: 'GET', + url: '/product/item/hotarea', + data: { + productId: id + } +}).then(function(html) { + $('#details-html').prepend(html); + + //Bind Hover event + $('.hot-point').hover(function() { + $(this).addClass('hover'); + }, function() { + $(this).removeClass('hover'); + }); +}); + +//商品详情懒加载 +lazyLoad($('#details-html img')); + +//只有一个尺码(多个或一个颜色)时默认选中 +(function() { + var hasOnlyOneSize = true, + i; + + for (i = 0; i < $sizes.length; i++) { + if ($sizes.eq(i).find('li').length !== 1) { + hasOnlyOneSize = false; + break; + } + } + + if (hasOnlyOneSize) { + $sizes.find('li').click(); + } +}()); + +//咨询和评价 +(function() { + var commentPage = 1, + consultPage = 1; + + var commentsTpl = Handlebars.compile($('#comments-tpl').html()), + consultsTpl = Handlebars.compile($('#consults-tpl').html()); + + var $commentsUl = $('#comments-ul'), + $consultsUl = $('#consults-ul'); + + var $commentNum = $('.comment-num'), + $consultNum = $('.consult-num'); + + //购买评价 + function loadComments() { + $.ajax({ + type: 'GET', + url: '/product/item/comments', + data: { + productId: id, + page: commentPage + } + }).then(function(data) { + var res; + + if (data.code === 200) { + res = data.data; + + if (res.length === 0) { + $commentsUl.next('.more-wrap').addClass('hide'); + return; + } + + //更新总数显示 + $commentNum.text(res[0].total); + + $commentsUl.append(commentsTpl({ + comments: res + })); + commentPage++; + } + }); + } + + //顾客咨询 + function loadConsults() { + $.ajax({ + type: 'GET', + url: '/product/item/consults', + data: { + productId: id, + page: consultPage + } + }).then(function(data) { + var res; + + if (data.code === 200) { + res = data.data; + + if (res.length === 0) { + $consultsUl.next('.more-wrap').addClass('hide'); + return; + } + + //更新总数显示 + $consultNum.text(res[0].total); + + $consultsUl.append(consultsTpl({ + consults: res + })); + consultPage++; + } + }); + } + + //评价和咨询切换 + $('.consult-comment').on('click', '.title', function() { + var $this = $(this), + index = $this.index(); + + var $comments = $('.comments'), + $consults = $('.consults'); + + if ($this.hasClass('cur')) { + return; + } + + $this.addClass('cur'); + $this.siblings('.cur').removeClass('cur'); + + if (index === 0) { + + //咨询 + $consults.slideDown(SLIDETIME); + $comments.slideUp(SLIDETIME); + } else { + $consults.slideUp(SLIDETIME); + $comments.slideDown(SLIDETIME); + } + }).on('click', '.load-more', function() { + var $this = $(this); + + if ($this.hasClass('load-more-comments')) { + loadComments(); + } else { + loadConsults(); + } + }); + + //我要咨询 + $('#consults-btn').click(function() { + + //TODO:点击我要资讯的时候更新验证码显示 + $('.new-consult').removeClass('hide'); + $('.consult-success').addClass('hide'); + }); + + //提交咨询 + $('#submit-consult').click(function() { + var $this = $(this), + $parent = $this.closest('.new-consult'), + $textarea = $parent.find('.my-consult'), + content = $.trim($textarea.val()); + + var $consultWarn = $parent.find('.consult-warn'); + + var pass = true; + + if (content === '') { + $textarea.addClass('error'); + $consultWarn.removeClass('hide'); + + pass = false; + } else { + $textarea.removeClass('error'); + $consultWarn.addClass('hide'); + } + + if (pass === false) { + return; + } + + $.ajax({ + type: 'POST', + url: '/product/item/addconsult', + data: { + productId: id, + content: content + } + }).then(function(data) { + var code = data.code; + + if (code === 200) { + $parent.addClass('hide'); + + $parent.siblings('.consult-success').removeClass('hide'); + + //清空输入 + $textarea.val(''); + } else if (code === 403) { + + //跳转登录页 + location.href = data.data.url; + } + }); + }); + + loadComments(); + loadConsults(); +}()); \ No newline at end of file diff --git a/web-static/js/product/product.js b/web-static/js/product/product.js index 42765bc..eb28cdf 100644 --- a/web-static/js/product/product.js +++ b/web-static/js/product/product.js @@ -116,11 +116,12 @@ exports.init = function(num) { $goodInfoMain.append(event.targetDuplicate); $goodSelectColor.append($(ulStr)); - if (data.isFavorite) { - $goodInfoMain.find('.col-btn').addClass('coled'); - } else { - $goodInfoMain.find('.col-btn').removeClass('coled'); - } + // 点击收藏商品不需要了 + // if (data.isFavorite) { + // $goodInfoMain.find('.col-btn').addClass('coled'); + // } else { + // $goodInfoMain.find('.col-btn').removeClass('coled'); + // } wrapperPl = $goodItemWrapper.css('paddingLeft'); wrapperPt = $goodItemWrapper.css('paddingTop'); @@ -170,25 +171,26 @@ $(document).on('hover', '.good-select-color li', function() { $coverImg.attr('src', coverImg); }); -$goodInfoMain.on('click', '.col-btn', function() { - var $this = $(this); - - $.ajax({ - type: 'POST', - url: '/product/list/changeFavorite', - dataType: 'jsonp', - data: { - skn: $this.closest('.good-info').data('skn'), - isFavorite: $this.hasClass('coled') - } - }).then(function(res) { - if (res.code === 200) { - $this.toggleClass('coled'); - } else if (res.code === 403) { - location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); - } - }); -}); +// 后端不做接口,杨阳和产品确认过,点击收藏商品不需要了。2016.2.23 +// $goodInfoMain.on('click', '.col-btn', function() { +// var $this = $(this); +// +// $.ajax({ +// type: 'POST', +// url: '/product/list/changeFavorite', +// dataType: 'jsonp', +// data: { +// skn: $this.closest('.good-info').data('skn'), +// isFavorite: $this.hasClass('coled') +// } +// }).then(function(res) { +// if (res.code === 200) { +// $this.toggleClass('coled'); +// } else if (res.code === 403) { +// location.href = 'http://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href); +// } +// }); +// }); // 左侧导航 $productListNav.find('h3').click(function(event) { diff --git a/web-static/js/simple-header.js b/web-static/js/simple-header.js index 1f65867..635969b 100644 --- a/web-static/js/simple-header.js +++ b/web-static/js/simple-header.js @@ -1,5 +1,11 @@ var $ = require('yoho.jquery'); +var $apiDom = $('#api-domain'); + +var apiDomain = $apiDom.val(); //获取数据的地址 + +$apiDom.remove(); //删除API信息 + if ($('.simple-header').size() > 0) { $('.tool-options').on('mouseenter', function() { $(this).find('.tool-select').fadeIn(); @@ -56,18 +62,19 @@ function formatUsernName(userName) { * 设置简单头部登陆状态 * @return {[type]} [description] */ -function setLoginStatus(_data) { - var loginHtml, +function setLoginStatus(data) { + var info = data.data, + loginHtml, name; - if (_data && _data.href && _data.href.user) { - name = formatUsernName(_data.href.user); - loginHtml = '<span>Hi~</span><a href="">' + - name + '</a> <a href="' + _data.href.logout + '">[退出]</a>'; + if (data.result !== -1) { + name = formatUsernName(info.profile_name); + loginHtml = '<span>Hi~</span>' + + '<a href="http://www.yohobuy.com/home?t=' + info.random + '">' + name + '</a> ' + + '<a href="http://www.yohobuy.com/logout_' + info.token + '.html">[退出]</a>'; } else { - name = formatUsernName(_data.user); - loginHtml = '<span>Hi~</span><a href="">' + - name + '</a> <a href="http://www.yohobuy.com/signin.html">[请登录]</a>' + + loginHtml = '<span>Hi~</span> ' + + '<a href="http://www.yohobuy.com/signin.html">[请登录]</a> ' + '<a href="http://www.yohobuy.com/reg.html">[免费注册]</a>'; } $('.header-tool li').eq(0).html(loginHtml); @@ -78,24 +85,17 @@ function setLoginStatus(_data) { * @return {[type]} [description] */ function actionLoginInfo() { - $.ajax({ - type: 'GET', - url: '/common/getSimpleHeader', - data: {}, - success: function(data) { - if (data.code === 200) { - setLoginStatus(data.data); - } + var param = { + return_type: 'jsonp', + method: 'open.passport.get' + }; + + $.getJSON(apiDomain + '/?callback=?', param, function(_data) { + if (_data && _data.data) { + setLoginStatus(_data.data); } }); } -/** - * 初始化函数 - * @return {[type]} [description] - */ -function init() { - actionLoginInfo(); //获取登录信息 -} -init(); +actionLoginInfo(); //获取登录信息 diff --git a/web-static/plugin/jquery.upload.js b/web-static/plugin/jquery.upload.js new file mode 100644 index 0000000..cf4feb1 --- /dev/null +++ b/web-static/plugin/jquery.upload.js @@ -0,0 +1,874 @@ +/* +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('yoho.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); \ No newline at end of file diff --git a/web-static/sass/_header.css b/web-static/sass/_header.css index 95e19a6..8f71a71 100644 --- a/web-static/sass/_header.css +++ b/web-static/sass/_header.css @@ -843,7 +843,7 @@ width: 100%; height: 407px; z-index: 1; - background-image: #f8f8f8 resolve("header/loading.gif") no-repeat center 150px; + background: #f8f8f8 resolve(/header/loading.gif) no-repeat center 150px; .information { margin-top: 180px; diff --git a/web-static/sass/_pager.css b/web-static/sass/_pager.css index 1157497..6dc4cc2 100644 --- a/web-static/sass/_pager.css +++ b/web-static/sass/_pager.css @@ -2,29 +2,32 @@ @use postcss-short; .pager { - /*font-size: 12px;*/ fz: 12px; a { - /*height: 24px;*/ h: 24px; - /*padding: 0 9px;*/ p: 0 9px; - /*line-height: 24px;*/ lh: 24px; - /*display: inline-block;*/ d: inline-block; - /*text-align: center;*/ ta: center; - /*margin-right: 8px;*/ mr: 8px; - /*color: #222;*/ c: #222; &.cur { - /*background-color: #222; - color: #fff;*/ c: #fff #222; } + + &:first-child .iconfont { + right: auto; + left: -5px; + } + } + + .iconfont { + position: relative; + vertical-align: middle; + bottom: 1px; + right: -5px; + font-size: 14px; } } \ No newline at end of file diff --git a/web-static/sass/_path-nav.css b/web-static/sass/_path-nav.css index b41c3dc..d170ab6 100644 --- a/web-static/sass/_path-nav.css +++ b/web-static/sass/_path-nav.css @@ -5,6 +5,7 @@ line-height: 18px; border-bottom: 1px solid #eaeceb; margin-bottom: 15px; + color: #666; a { color: #666; @@ -13,4 +14,8 @@ .iconfont { font-size: 12px; } + + .last { + font-weight: bold; + } } \ No newline at end of file diff --git a/web-static/sass/_share.css b/web-static/sass/_share.css new file mode 100644 index 0000000..bc07c31 --- /dev/null +++ b/web-static/sass/_share.css @@ -0,0 +1,103 @@ +.share-wrapper { + position: relative; + + i { + display: block; + float: left; + width: 16px; + height: 16px; + margin-left: 5px; + cursor: pointer; + } + + @each $icon in weibo,tweibo,renren,qzone,qq,douban,weixin { + .$(icon) { + background: url(/share/$(icon).png) no-repeat; + } + } + + .weixin-share-box { + display:none; + position: absolute; + width: 282px; + height: 302px; + padding-top: 9px; + text-align: center; + font-family: Microsoft Yahei, Arial, Verdana; + top: 22px; + right: -26px; + z-index:2; + + em, + em i { + position: absolute; + width: 0; + height: 0; + font-size: 0; + border-width: 0 10px 9px; + border-style: dashed dashed solid; + } + + em { + border-color: transparent transparent #d6d6d6; + top: 0px; + left: 50%; + margin-left: -10px; + } + + em i { + border-color: transparent transparent #e8e8e8; + overflow: hidden; + top: 1px; + left: -15px; + } + + .con { + position: relative; + width: 280px; + height: 300px; + overflow: hidden; + background-color: #fff; + border: 1px solid #d6d6d6; + box-shadow: 0px 2px 4px #d1d1d1; + } + + h2 { + display: block; + height: 46px; + line-height: 46px; + background-color: #e8e8e8; + color: #000; + font-size: 18px; + } + + .pic, + .pic img { + width: 168px; + height: 168px; + } + + .pic { + overflow: hidden; + margin: 16px auto; + } + + .w { + font-size: 13px; + color: #9f9f9f; + line-height: 20px; + } + + .close { + position: absolute; + width: 45px; + height: 45px; + line-height: 45px; + overflow: hidden; + top: 0; + right: 0; + font-size: 16px; + color: #999999; + } + } +} \ No newline at end of file diff --git a/web-static/sass/cart/_cart.css b/web-static/sass/cart/_cart.css index 8f6af9d..fdb8f7f 100644 --- a/web-static/sass/cart/_cart.css +++ b/web-static/sass/cart/_cart.css @@ -1,229 +1,632 @@ -.cartnew-tips { - height: auto; - margin-top: 30px; - overflow: hidden; - font-size: 12px; - - .tipsbox { - width: 648px; - height: 23px; - line-height: 18px; - padding: 4px 5px 4px 10px; - color: #666; - background: url(http://static.yohobuy.com/images/cartnew_tipsbox.png) no-repeat; +.order-ensure-page{ + .none{ + display: none; + } + .gift{ position: relative; - float: left; - - .btn_close { - width: 17px; - height: 17px; - padding: 0px; - background: url(http://static.yohobuy.com/images/i_close_f.png) no-repeat; - float: right; + width: 988px; + height: 50px; + background:resolve(/cart/cart_gift.png) 0 0 repeat; + border: 1px solid #ccc; + text-align: center; + p{ + background:resolve(/cart/cart_gift_banner.jpg) 0 0 no-repeat; + display: inline-block; + width: 450px; + height: 50px; + overflow: hidden; + } + i{ + width: 30px; + height: 30px; + overflow: hidden; + position: absolute; + top: 10px; + right: 5px; cursor: pointer; } - - strong { - color: #000; - font-weight: bold; + .up{ + background: url(/cart/btn_gift_up.png); } - - a { - color: #468fa2; + .down{ + background: url(/cart/btn_gift_down.png); } } -} + .loading{ + width: 120px; + height: 28px; + overflow: hidden; + position: absolute; + left: 50%; + top: 50%; + display: none; + line-height: 30px; + border:1px solid #ccc; + font-size: 12px; + text-indent: 10px; + background: #fff; + span{ + width: 20px; + height: 20px; + float: left; + margin: 4px 4px 4px 13px; + background: resolve(/cart/loading_s.gif) 2px 2px no-repeat; + } + } + .dev-revocation { + border: 1px solid #fcd081; + background: #fff8d9; + margin-bottom: 15px; + td{ + border: none; + a{ + color: #468fa2; + margin-left: 12px; + &:hover{ + text-decoration:underline; + } + } + } + } + .order-title { + margin-top: 30px; + height: auto; + overflow: hidden; + } + .salesPromotion{ + width: 990px; + height: 36px; + border-bottom: #ccc solid 1px; + font-size: 12px; + p{ + width: 800px; + height: 36px; + line-height: 36px; + float: left; + padding: 0 10px; + b{ + margin-right: 5px; + background: #6c6c6c; + border-radius: 4px; + padding: 1px 5px; + color: #fff; + } + } + span{ + width: 150px; + height: 36px; + padding: 0 10px; + line-height: 36px; + float: right; + text-align: right; + position: relative; + i{ + position: absolute; + top: 11px; + left: 108px; + float: left; + width: 13px; + height: 13px; + background: url(/cart/checkout.png); + } + } + } + .cartnew-tips { + height: auto; + overflow: hidden; + font-size: 12px; + margin-bottom: 5px; + .tipsbox { + width: 648px; + height: 23px; + line-height: 18px; + padding: 4px 5px 4px 10px; + color: #666; + background: url(http://static.yohobuy.com/images/cartnew_tipsbox.png) no-repeat; + position: relative; + float: left; -.pay-wapper { - position: relative; + .btn_close { + width: 17px; + height: 17px; + padding: 0px; + background: url(http://static.yohobuy.com/images/i_close_f.png) no-repeat; + float: right; + cursor: pointer; + } - .cart-product-num { - font-size: 12px; - text-align: left; - height: 33px; - line-height: 33px; - background: #f8f8f8; - padding: 0 10px; + strong { + color: #000; + font-weight: bold; + } - input { - position : relative; - top: 2px; + a { + color: #468fa2; + } } } - input.cart-item-check { - float: left; - margin-top: 25px; - } + .pay-wapper { + position: relative; + .pre-sell{ + .pre-sell-title { + background: #fff9d9; + span{ + margin-right: 10px; + } + } + } + .free{ + display: inline-block; + width: 39px; + height: 20px; + background: url(/cart/icon_charge_free.png); + } + .none{ + display: none; + } + .fold{ + display: none; + } + .vipPrice{ + color: #e8044f; + display: block; + } + .presell { + + color: #c21250; + display: block; + } + .giftInfo{ + margin-left: 30px; + } + .pay-pro-info { + padding-left: 15px; + padding-top: 10px; + margin-left: 0; + float: left; + a{ + width: 200px; + } - .adjust-cart-num { + } + .pre-sell-box { + .cart-empty{ + border: none; + padding: 100px 0 100px 260px ; + background: resolve(/cart/cart_empty.gif) 200px 56px no-repeat; + a{ + display: inline-block; + width: 90px; + height: 35px; + background: url(/cart/icons02.png); + overflow: hidden; + color: #666; + line-height: 32px; + } + } + .incentive { + background: #000100; + color: #fff; + } + } + .tip-message { + background: #e8044f; + color: #fff; + font-size: 12px; + margin-top: 5px; + } - input { - width: 30px; - margin: 0 5px; - text-align: center; + .cart-product-num { + font-size: 12px; + text-align: left; + height: 33px; + line-height: 33px; + background: #f8f8f8; + padding: 0 10px; + position: relative; + strong{ + padding-left: 20px; + font-weight: bold; + } + .icon-minusCart{ + position: absolute; + top: 9px; + left: 15px; + float: left; + width: 15px; + height: 15px; + cursor: pointer; + background: url(/cart/i_minus.png); + } + .icon-addCart{ + position: absolute; + top: 9px; + left: 15px; + float: left; + width: 15px; + height: 15px; + cursor: pointer; + background: url(/cart/iadd.png); + } + .icon-zp{ + position: absolute; + top: 8px; + left: 10px; + float: left; + width: 18px; + height: 19px; + background: url(/cart/i_gift.png); + } + .cart-unfold{ + position: absolute; + top: 0; + right: 10px; + i{ + width: 28px; + height: 20px; + overflow: hidden; + display: inline-block; + margin-top: 5px; + cursor: pointer; + } + } + .cart-btn-pre{ + background: url(/cart/pc_pre.png); + } + .cart-btn-next{ + background: url(/cart/pc_next.png); + } + .unfold-color{ + color: #666; + cursor: pointer; + } + .cart-page{ + p{ + float: left; + padding-right: 5px; + } + .f-red{ + color: #f00; + } + } + input { + position : relative; + top: 2px; + } } - .plus, .minus { + + input.cart-item-check { + float: left; + margin-top: 25px; + margin-left: 15px; + } + + .adjust-cart-num { + + input { + width: 30px; + margin: 0 5px; + text-align: center; + } + span { + display: inline-block; + width: 11px; + height: 11px; + cursor: pointer; + font-size: 10px; + } + .minus{ + background: url(/cart/ico_minus.png); + } + .plus{ + background: url(/cart/ico_plus.png); + } + } + .cart-add-btn{ + width: 118px; + height: 32px; display: inline-block; - width: 11px; - height: 11px; + overflow: hidden; + border: 0px; cursor: pointer; + line-height: 32px; } - - .plus { - background: url(/order/save/plus.png); + .zp{ + background: url(/cart/btn_select_zp.png); + } + .order{ + background: url(/cart/btn_order.png); + } + .cart-yetremove-btn { + height: 20px; + line-height: 21px; + padding:0 10px; + display: inline-block; + color: #b3b3b3; + position: relative; + border: 1px solid #dcdcdc; + background: #ebebeb; + border-radius: 3px; } + .cart-del-btn,.cart-remove-btn { + height: 22px; + line-height: 21px; + padding:0 10px; + display: inline-block; + cursor: pointer; + color: #666; + position: relative; + + span { + position : relative; + z-index: 100; + } - .minus { - background: url(/order/save/minus.png); + &:after { + content: ''; + display: block; + width: 16px; + height: 100%; + background: url(/cart/btn_hs_03.png); + position: absolute; + right: 0; + top: 0; + z-index: 10; + background-repeat: no-repeat; + } + + &:before { + content: ''; + display: block; + width: 100%; + height: 100%; + background: url(/cart/btn_hs_01.png); + position : absolute; + left: 0; + top: 0; + background-repeat: no-repeat; + } } } - .cart-del-btn,.cart-remove-btn { - height: 22px; - line-height: 21px; - padding:0 10px; - display: inline-block; - cursor: pointer; - color: #666; - position: relative; - span { - position : relative; - z-index: 100; - } + .cartnew-sum { + background: #efefef; + border: 1px #ccc solid; + padding: 10px; + margin-bottom: 10px; + zoom: 1; + margin-top: 20px; + height: auto; + overflow: hidden; + font-size: 12px; - &:after { - content: ''; - display: block; - width: 16px; - height: 100%; - background: url(/order/save/btn_hs_03.png); - position: absolute; - right: 0; - top: 0; - z-index: 10; - background-repeat: no-repeat; + .left { + float: left; + + a { + color: #333; + margin-left: 20px; + } + input { + position: relative; + top: 2px; + } } - &:before { - content: ''; - display: block; - width: 100%; - height: 100%; - background: url(/order/save/btn_hs_01.png); - position : absolute; - left: 0; - top: 0; - background-repeat: no-repeat; + .right { + float: right; + text-align: right; + + strong { + color: #e8044f; + font-size: 18px; + } } - } -} -.cartnew-sum { - background: #efefef; - border: 1px #ccc solid; - padding: 10px; - margin-bottom: 10px; - zoom: 1; - margin-top: 20px; - height: auto; - overflow: hidden; - font-size: 12px; - - .left { - float: left; - - a { + .sum { color: #333; - margin-left: 20px; - } - input { - position: relative; - top: 2px; + font-weight: bold; + padding-bottom: 5px; } } - .right { - float: right; + .cartnew-submit { + padding: 10px 0 40px 0; text-align: right; + position: relative; - strong { - color: #e8044f; - font-size: 18px; + .btn_continue { + width: 60px; + height: 33px; + padding: 0px 0px 0px 33px; + text-align: left; + border: 0px; + line-height: 33px; + font-size: 14px; + color: #333; + font-weight: bold; + background: url(/cart/cart_01.png); + display: inline-block; + cursor: pointer; + float: left; } - } - .sum { - color: #333; - font-weight: bold; - padding-bottom: 5px; - } -} + .btn_account { + width: 133px; + height: 33px; + padding: 0; + text-align: center; + border: 0; + line-height: 33px; + font-size: 14px; + color: #fff; + font-weight: bold; + background: url(/cart/cart_02.png); + display: inline-block; + cursor: pointer; + float: right; + } -.cartnew-submit { - padding: 10px 0 40px 0; - text-align: right; - position: relative; - - .btn_continue { - width: 60px; - height: 33px; - padding: 0px 0px 0px 33px; - text-align: left; - border: 0px; - line-height: 33px; - font-size: 14px; - color: #333; - font-weight: bold; - background: url(/order/save/cart_01.png); - display: inline-block; - cursor: pointer; - float: left; - } + .go_cash_tips { + font-size: 12px; + width: 200px; + padding: 5px 7px 0 28px; + height: 45px; + position: absolute; + right: 135px; + top: 10px; + text-align: left; + color: #e8044f; + background: url(/cart/cart_03.png); + display: block; + } - .btn_account { - width: 133px; - height: 33px; - padding: 0; - text-align: center; - border: 0; - line-height: 33px; - font-size: 14px; - color: #fff; - font-weight: bold; - background: url(/order/save/cart_02.png); - display: inline-block; - cursor: pointer; - float: right; + .btn_account_disabled { + width: 133px; + height: 33px; + padding: 0; + text-align: center; + border: 0; + line-height: 33px; + font-size: 14px; + color: #ccc; + font-weight: bold; + background: url(/cart/cart_04.png); + display: inline-block; + cursor: pointer; + } } - .go_cash_tips { + .cartnew-goodslist { + margin-bottom: 10px; font-size: 12px; - width: 200px; - padding: 5px 7px 0 28px; - height: 45px; - position: absolute; - right: 135px; - top: 10px; - text-align: left; - color: #e8044f; - background: url(/order/save/cart_03.png); - display: block; - } + border: 1px solid #ccc; + + .title { + height: 20px; + padding: 8px 10px; + background: #efefef; + + h2 { + height: 20px; + line-height: 24px; + overflow: hidden; + font-size: 12px; + float: left; + cursor: pointer; + i { + width: 15px; + height: 15px; + float: left; + position: relative; + top: 4px; + margin-right: 5px; + } + .icon-minus{ + background: url(/cart/i_minus.png); + } + .icon-add{ + background: url(/cart/iadd.png); + } + } + + } + + .right { + float: right; + span{ + width: 28px; + height: 22px; + display: inline-block; + } + .pageprev{ + background: url(/cart/pc_pre.png); + } + .pagenext{ + background: url(/cart/pc_next.png); + } + } + .main { + height: 230px; + border-top: 1px #e3e3e3 solid; + display: block; + + ul { + height: auto; + width: 100%; + overflow: hidden; + } + + li { + width: 16.6667%; + box-sizing: border-box; + height: 230px; + border-right: 1px #e3e3e3 solid; + float: left; + + &.end { + border: none; + } + } + + .list { + width: 100px; + padding: 10px 0 0px 0; + margin: 0 auto; + } + + .thumb { + height: 110px; + } + + .name { + height: 35px; + overflow: hidden; + font-size: 12px; + + h3 { + height: 30px; + line-height: 15px; + font-size: 12px; + font-weight: normal; + color: #333; + cursor: pointer; + overflow: hidden; + } + + a { + color: #333; + text-decoration: underline; + } + } + + .price { + color: #333; + height: 25px; + line-height: 25px; + font-weight: bold; + white-space: nowrap; + overflow: hidden; + font-size: 12px; + del{ + color: #999; + } + } + + .op { + text-align: center; + padding: 0 0 5px 0; + } + + .btn_view_s { + width: 100px; + height: 22px; + background: url(/cart/btn_view_s.png); + display: inline-block; + border: 0; + } + } - .btn_account_disabled { - width: 133px; - height: 33px; - padding: 0; - text-align: center; - border: 0; - line-height: 33px; - font-size: 14px; - color: #ccc; - font-weight: bold; - background: url(/order/save/cart_04.png); - display: inline-block; - cursor: pointer; - display: none; } -} \ No newline at end of file +} diff --git a/web-static/sass/cart/_goods-detail.css b/web-static/sass/cart/_goods-detail.css new file mode 100644 index 0000000..b7f0eae --- /dev/null +++ b/web-static/sass/cart/_goods-detail.css @@ -0,0 +1,348 @@ +.shop-cart{ + .goods-detail{ + position: absolute; + top: 10%; + left: 0; + z-index: 101; + width: 650px; + height: auto; + overflow: hidden; + border:1px solid #ccc; + border-radius: 5px; + background: #fff; + display: none; + .magnify{ + position: absolute; + width: 12px; + height: 12px; + background: url(/cart/magnify.png); + bottom: 2px; + right: 2px; + + } + .detail-header{ + display: block; + font-size: 12px; + line-height: 16px; + text-align: center; + color: #fff; + margin-top: 5px; + box-sizing: border-box; + padding-right: 5px; + height: 16px; + cursor: move; + .colse{ + float: right; + width: 46px; + height: 16px; + background: #ccc; + border-radius: 2px; + cursor: pointer; + &:hover{ + background: #414141; + } + } + } + .detail-body{ + width: 610px; + padding: 15px; + margin: 0 auto; + .none{ + display: none; + } + .detail-bigpic{ + width: 290px; + padding-bottom: 15px; + float: left; + .bigpic{ + width: 210px; + height: 280px; + display: block; + margin:0 auto 10px; + img{ + width: 100%; + height: auto; + } + } + .piclist{ + height: 65px; + cursor: pointer; + span{ + width: 10px; + height: 60px; + } + .pre{ + background: url(/cart/pre.png); + float: left; + } + .con{ + width: 260px; + height: 65px; + overflow: hidden; + float: left; + margin-left: 5px; + li{ + float: left; + width: 60px; + height: 60px; + border: 1px #ccc solid; + margin: 1px; + vertical-align: top; + overflow: hidden; + img{ + width: 100%; + height: auto; + } + } + .active{ + width: 58px; + height: 58px; + border: 2px #333 solid; + } + } + .next{ + background: url(/cart/next.png); + float: right; + } + } + } + .detail-info{ + width: 300px; + float: right; + padding-bottom: 15px; + .title{ + padding: 5px 0; + h2{ + width: 300px; + color: #000; + font-size: 12px; + font-weight: normal; + white-space: nowrap; + overflow: hidden; + } + } + .type{ + padding-bottom: 10px; + .type-s{ + background: #ccc; + padding: 0px 5px; + color: #fff; + font-size: 12px; + height: 15px; + line-height: 15px; + display: inline-block; + } + } + .price{ + padding: 0px 0px 10px 0px; + margin-bottom: 10px; + border-bottom: 1px #000 solid; + .oldprice{ + color: #999; + font-size: 14px; + font-weight: bold; + display: block; + padding-bottom: 5px; + } + .newprice{ + color: #000; + font-size: 14px; + font-weight: bold; + display: block; + height: 30px; + line-height: 30px; + padding: 0px 0px 5px 0px; + b{ + font-size: 22px; + font-family: arial; + } + } + } + .order{ + color: #000; + font-size: 12px; + dd{ + width: 55px; + float: left; + padding-bottom: 8px; + } + dt{ + width: 245px; + float: left; + padding-bottom: 8px; + } + dd.colorBox{ + line-height: 44px; + } + .colorBox{ + height: 75px; + li{ + width: 44px; + height: 65px; + overflow: hidden; + text-align: center; + margin-right: 4px; + display: inline; + float: left; + cursor: pointer; + .atcive{ + width: 40px; + height: 40px; + border: 2px #e8044f solid; + span{ + position: absolute; + bottom: 0; + right: 0; + width: 11px; + height: 11px; + overflow: hidden; + background: resolve(/cart/ico_r_act.png) 0 0 no-repeat; + } + } + p{ + width: 42px; + height: 42px; + margin: 0px; + display: inline-block; + border: 1px #ccc solid; + position: relative; + img{ + width: 100%; + height: auto; + } + } + span{ + line-height: 20px; + } + } + } + .showSizeBox{ + height: 25px; + line-height: 18px; + span{ + cursor: pointer; + height: 18px; + padding: 0px 10px; + border: 1px #ccc solid; + margin: 1px 5px 5px 1px; + display: inline; + float: left; + overflow: hidden; + } + .atcive{ + height: 16px; + border: 2px #f00 solid; + background: resolve(/cart/ico_r_act.png) right bottom no-repeat; + } + .nullAtcivec{ + height: 18px; + border: 1px #ccc solid; + color: #ccc; + } + .atcivec{ + height: 16px; + border: 2px #ccc solid; + background: resolve(/cart/ico_r_act_h.png) right bottom no-repeat; + color: #ccc; + } + } + .amount_wrapper{ + width: 100px; + height: 20px; + display: inline-block; + .amount{ + width: 12px; + height: 12px; + display: inline; + cursor: pointer; + border: 0px; + float: left; + font-size: 10px; + color: #c4c4c4; + } + .cut{ + background: url(/cart/ico_minus.png); + margin: 5px 5px 0px 0px; + } + .add{ + background: url(/cart/ico_plus.png); + margin: 5px 0px 0px 5px; + } + .mnum{ + width: 33px; + height: 18px; + line-height: 16px; + border: #c4c4c4 solid 1px; + text-align: center; + overflow: hidden; + float: left; + font-size: 12px; + } + } + } + .submit{ + padding-top: 10px; + float: left; + input{ + width: 225px; + height: 45px; + overflow: hidden; + border: 0px; + cursor: pointer; + float: left; + } + .addcart{ + background: url(/cart/btn_b_add.png); + } + .btn_pre_sale{ + background: url(/cart/btn_pre_sale.png); + } + .btn_sellout{ + background: url(/cart/btn_b_sellout.png); + } + .fav_count{ + background: url(/cart/btn_b_sc.png); + height: 30px; + } + } + } + .detail-size{ + float: left; + border-top: 1px #ccc dashed; + width: 100%; + height: auto; + padding-bottom: 15px; + h3{ + height: 35px; + line-height: 35px; + font-size: 14px; + span{ + font-size: 12px; + } + } + table{ + width: 100%; + height: auto; + border: 1px solid #ccc; + margin-bottom: 5px; + font-size: 12px; + td{ + border: 1px solid #fff; + padding: 3px; + font-weight: normal; + background: #fbfbfb; + text-align: center; + padding: 8px 3px; + } + tr:nth-of-type(even) td{ + background:#f4f4f4; + } + } + .size-info{ + font-size: 12px; + color: #999; + } + } + } + } +} \ No newline at end of file diff --git a/web-static/sass/cart/_index.css b/web-static/sass/cart/_index.css index 217aedf..c11f617 100644 --- a/web-static/sass/cart/_index.css +++ b/web-static/sass/cart/_index.css @@ -1 +1,2 @@ -@import "cart"; \ No newline at end of file +@import "cart"; +@import "goods-detail"; \ No newline at end of file diff --git a/web-static/sass/guang/_detail.css b/web-static/sass/guang/_detail.css index fdf63cc..7fe2af8 100644 --- a/web-static/sass/guang/_detail.css +++ b/web-static/sass/guang/_detail.css @@ -244,8 +244,7 @@ .article-share { float: right; - .share-to { - position: relative; + .title { font-size: 12px; } } @@ -495,128 +494,5 @@ margin-top: 0; } } - - - .share-to .share-a { - width: 16px; - height: 16px; - display: inline-block; - vertical-align: top; - margin: 0 2px 0 3px; - cursor: pointer; - } - - .share-to .share-sina { - background: url(/guang/share/weibo.png) no-repeat; - } - - .share-to .share-weixin { - background: url(/guang/share/weixin.png) no-repeat; - } - - .share-to .share-tencent { - background: url(/guang/share/qweibo.png) no-repeat; - } - - .share-to .share-renren { - background: url(/guang/share/renren.png) no-repeat; - } - - .share-to .share-qzone { - background: url(/guang/share/qzone.png) no-repeat; - } - - .share-to .share-qq { - background: url(/guang/share/qq.png) no-repeat; - } - - .share-to .share-douban { - background: url(/guang/share/douban.png) no-repeat; - } - - .weixin-share-box { - display:none; - position: absolute; - width: 282px; - height: 302px; - padding-top: 9px; - text-align: center; - font-family: Microsoft Yahei, Arial, Verdana; - top: 22px; - right: -3px; - z-index:2; - - em, - em i { - position: absolute; - width: 0; - height: 0; - font-size: 0; - border-width: 0 10px 9px; - border-style: dashed dashed solid; - } - - em { - border-color: transparent transparent #d6d6d6; - top: 0px; - left: 50%; - margin-left: -10px; - } - - em i { - border-color: transparent transparent #e8e8e8; - overflow: hidden; - top: 1px; - left: -10px; - } - - .con { - position: relative; - width: 280px; - height: 300px; - overflow: hidden; - background-color: #fff; - border: 1px solid #d6d6d6; - box-shadow: 0px 2px 4px #d1d1d1; - } - - h2 { - display: block; - height: 46px; - line-height: 46px; - background-color: #e8e8e8; - color: #000; - font-size: 18px; - } - - .pic, - .pic img { - width: 168px; - height: 168px; - } - - .pic { - overflow: hidden; - margin: 16px auto; - } - - .w { - font-size: 13px; - color: #9f9f9f; - line-height: 20px; - } - - .close { - position: absolute; - width: 45px; - height: 45px; - line-height: 45px; - overflow: hidden; - top: 9px; - right: 0; - font-size: 16px; - color: #999999; - } - } } diff --git a/web-static/sass/help/_index.css b/web-static/sass/help/_index.css new file mode 100644 index 0000000..135418c --- /dev/null +++ b/web-static/sass/help/_index.css @@ -0,0 +1,121 @@ +.help-page { + width: 990px; + font-size: 12px; + margin: 0 auto 20px; + + .left-container { + float: left; + width: 180px; + margin-right: 8px; + } + .block { + border: 1px solid #dedede; + border-radius: 2px; + } + .title { + height: 40px; + line-height: 40px; + padding: 0 8px; + background-color: #e3e3e3; + background-position: 10px 12px; + background-repeat: no-repeat; + } + .help-navigation { + background: #f8f8f8; + margin-bottom: 10px; + + .help-center { + background-image: resolve('/help/help-center.png'); + } + dl { + width: 100%; + height: 40px; + background: #efefef; + border-top: 1px #e6e6e6 solid; + border-bottom: 1px #e6e6e6 solid; + + dt { + width: 132px; + height: 22px; + margin: 10px 0 10px 7px; + overflow: hidden; + background: resolve('/help/help-search.png') no-repeat; + float: left; + + input { + width: 110px; + border: 0px; + background: none; + margin: 3px 10px; + } + } + dd { + width: 31px; + float: left; + margin: 10px 0; + + .search-btn { + width: 31px; + height: 22px; + border: 0; + background: resolve('/help/help-search.png') no-repeat -134px 0px; + cursor: pointer; + text-indent: -999em; + } + } + } + ul { + width: 154px; + padding: 8px 12px; + + li { + line-height: 20px; + font-family: Arial,helvetica,sans-serif; + margin: 6px 0; + padding-left: 20px; + color: #333; + background: resolve('/help/help-nav-li.png') no-repeat; + } + .active { + background-position: 0px -20px; + + a { + color: #fff; + } + } + } + } + .help-service { + background: #f8f8f8; + line-height: 15px; + + .service-center { + background-image: resolve('/help/yoho-service.png'); + background-position: 10px 9px; + } + .service-main { + padding: 12px; + + strong { + color: #000; + font-size: 18px; + font-weight: bold; + font-family: Arial,helvetica,sans-serif; + } + p:first-child { + margin-bottom: 10px; + } + } + } + .help-main { + width: 800px; + float: left; + + .help-content { + width: 100%; + padding: 15px; + } + } +} + +@import "search"; \ No newline at end of file diff --git a/web-static/sass/help/_search.css b/web-static/sass/help/_search.css new file mode 100644 index 0000000..aeef4ea --- /dev/null +++ b/web-static/sass/help/_search.css @@ -0,0 +1,98 @@ +.search-help-page { + .search-content { + padding: 15px; + + h2{ + border-bottom: 2px #eee solid; + font-size: 14px; + color: #333; + height: 20px; + line-height: 20px; + padding-top: 10px; + } + ul { + margin: 10px 0px; + display: block; + min-height: 20px; + + li { + width: 345px; + height: 20px; + line-height: 20px; + padding: 0px 0px 0px 20px; + margin: 0px 15px 5px 0px; + display: inline-block; + overflow: hidden; + background: resolve('/help/ask-icon.png') no-repeat 2px 4px; + font-family: Arial,helvetica,sans-serif; + } + } + .full-search { + line-height: 22px; + padding: 10px 8px; + background-color: #e3e3e3; + font-size: 14px; + font-weight: bold; + + label { + padding: 12px; + } + .full-search-name { + width: 185px; + height: 22px; + padding: 0 10px; + border: 0; + background: resolve('/help/help-search.png') no-repeat 0 -22px; + } + .search-btn { + width: 31px; + height: 22px; + border: 0; + background: resolve('/help/help-search.png') no-repeat -134px 0px; + cursor: pointer; + text-indent: -999em; + } + .yoho-im-btn { + width: 120px; + height: 20px; + background: resolve('/help/yoho-im.png'); + display: inline-block; + vertical-align: middle; + margin-left: 10px; + border: 0px; + cursor: pointer; + } + } + .all-ask-list { + line-height: 18px; + padding-top: 10px; + + .ask-item { + padding: 10px; + } + .ask-item.even { + border: 1px #fbf0d5 solid; + background: #fefaf0; + } + .ask { + min-height: 10px; + padding-left: 20px; + margin-bottom: 10px; + background: resolve('/help/ask-icon.png') no-repeat 2px 2px; + } + .answer { + padding-left: 20px; + color: #f07100; + background: resolve('/help/answer-icon.png') no-repeat 2px 2px; + } + } + .search-pager { + height: 20px; + padding: 10px; + + .pager-html { + display: inline; + } + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_comment.css b/web-static/sass/home/_comment.css new file mode 100644 index 0000000..247d695 --- /dev/null +++ b/web-static/sass/home/_comment.css @@ -0,0 +1,122 @@ +.comment-me-page { + .comment .title { + background-image: resolve(/home/comment.png); + } + .me-comment { + padding: 10px; + font-size: 12px; + line-height: 18px; + } + .main-tip span{ + color: #e8044f; + } + .comment-table-header { + padding: 0; + margin-top: 10px; + + .info { + width: 260px; + } + .time { + width: 415px; + border-left: 1px solid #e6e6e6; + border-right: 1px solid #e6e6e6; + } + .return-type { + width: 98px; + } + } + .comment-table { + width: 100%; + margin-top: 10px; + + tr { + border: 1px solid #e6e6e6; + + th { + background: #efefef; + padding: 5px; + } + td { + color: #666; + padding: 5px; + text-align: center; + } + a { + color: #468fa2; + text-decoration: none; + } + .remarked { + color: #e8044f; + } + .remark-btn { + width: 69px; + height: 22px; + line-height: 21px; + border: 0px; + background: resolve(home/remark-btn.png) no-repeat; + cursor: pointer; + color: #fff; + outline: none; + } + } + .remark-content { + width: 405px; + border: 1px solid #e6e6e6; + } + } + #comment-dialog-widget { + position: absolute; + padding: 5px; + border: 1px solid #999; + background: #fff; + border-radius: 4px; + + .dialog-titlebar { + height: 16px; + cursor: move; + + .dialog-close-btn { + float: right; + width: 46px; + height: 16px; + background: resolve(home/openbox_close.png) no-repeat 0px 0px; + cursor: pointer; + + &:hover { + background-position: 0px -16px; + } + } + } + .dialog-content { + padding: 3px 30px; + + dl { + display: table-row; + } + dd { + display: table-cell; + vertical-align: top; + font-size: 13px; + line-height: 15px; + } + textarea { + width:390px; + height:80px; + max-width: 390px; + max-height: 240px; + background: resolve(/home/input-back.png) repeat-x; + font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; + } + } + .dialog-buttons { + padding-right: 30px; + + button { + padding: 8px 15px; + float: right; + margin-left: 5px; + } + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_complaints.css b/web-static/sass/home/_complaints.css new file mode 100644 index 0000000..4308354 --- /dev/null +++ b/web-static/sass/home/_complaints.css @@ -0,0 +1,79 @@ +.complaint-me-page { + font-size: 12px; + + .complaint .title{ + background-image: resolve(/home/complaints.png); + } + + .me-complaints { + padding-top: 10px; + + .empty-tip { + padding: 100px 0; + } + } + + .complaint-form { + padding: 10px; + + h2 { + clear: both; + height: 21px; + line-height: 21px; + padding-left: 23px; + background: resolve(/home/complaint-icon.png) no-repeat 5px 5px #efefef; + border: 1px #e6e6e6 solid; + font-size: 12px; + color: #333; + font-weight: normal; + } + + .form-content { + font-size: 12px; + padding: 7px 0; + + dl { + padding: 7px 5px; + line-height: 22px; + } + + dt { + width: 75px; + color: #333; + text-align: right; + float: left; + } + + dd > input { + height: 18px; + line-height: 18px; + color: #333; + border: 1px #c9c9c9 solid; + background: resolve(/home/input-back.png) repeat-x; + vertical-align: top; + } + + dd > textarea { + color: #333; + border: 1px #c9c9c9 solid; + background: resolve(/home/input-back.png) repeat-x; + vertical-align: top; + overflow: auto; + } + } + + .form-submit > input { + width: 138px; + height: 34px; + margin-left: 80px; + border: 0px; + background: resolve(/home/submit-btn.png) no-repeat; + color: #fff; + font-size: 14px; + font-weight: bold; + padding-right: 20px; + cursor: pointer; + display: inline-block; + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_consult.css b/web-static/sass/home/_consult.css new file mode 100644 index 0000000..d206bdf --- /dev/null +++ b/web-static/sass/home/_consult.css @@ -0,0 +1,59 @@ +.consult-me-page { + .consult .title { + background-image: resolve(/home/consult.png); + } + + .consults { + margin: 10px; + font-size: 12px; + } + + .consults-table { + width: 100%; + border: 1px solid #e6e6e6; + + th { + height: 28px; + line-height: 28px; + background: #efefef; + padding: 0 5px; + } + + td { + color: #666; + border-top: 1px solid #e6e6e6; + padding: 5px; + line-height: 18px; + + .thumb { + width: 60px; + height: 60px; + } + + a { + color: #468fa2; + text-decoration: none; + + &:hover { + text-decoration: underline; + } + } + + p { + padding-left: 20px; + margin-top: 5px; + color: #999; + } + + .question { + color: #e9034e; + background: resolve(/home/consult-wd.png) no-repeat -13px 2px; + } + + .reply { + color: #339900; + background: resolve(/home/consult-wd.png) no-repeat 0px -25px; + } + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_coupons.css b/web-static/sass/home/_coupons.css new file mode 100644 index 0000000..2ba77c8 --- /dev/null +++ b/web-static/sass/home/_coupons.css @@ -0,0 +1,97 @@ +.me-coupons-page { + font-size: 12px; + + .coupons > .title { + font-size: 14px; + font-weight: bold; + } + + .coupons-header { + width: 776px; + height: 25px; + line-height: 25px; + text-align: center; + border: 1px solid #e6e6e6; + background: #efefef; + margin: 0 auto; + + span { + display: block; + float: left; + } + } + + .coupon { + display: table; + border: 1px solid #e6e6e6; + width: 778px; + margin: 10px auto; + text-align: center; + color: #666; + + > * { + display: table-cell; + vertical-align: middle; + border-left: 1px solid #e6e6e6; + padding: 5px; + line-height: 18px; + } + + .coupons-img { + border-left: none; + } + } + + .coupon .term-of-validity { + color: #e8044f; + } + + .un-use-coupons { + .coupons-img { + width: 20%; + } + + .value { + width: 18%; + } + + .term-of-validity { + width: 22%; + + span { + display: none; + } + } + + .use-remark { + width: 24%; + } + + .status { + width: 16%; + } + + .end-soon span { + display: inline; + padding: 3px 10px; + color: #fff; + background: #e8044f; + } + } + + .used-coupons { + + .coupons-header > span, + .coupon > * { + width: 16.66%; + } + } + + .no-valid-coupons { + + .coupons-header > span, + .coupon > * { + width: 25%; + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_currency.css b/web-static/sass/home/_currency.css new file mode 100644 index 0000000..38a02e6 --- /dev/null +++ b/web-static/sass/home/_currency.css @@ -0,0 +1,124 @@ +.me-currency-page { + font-size: 12px; + + .currencies > .title { + background-image: resolve(/home/currency.png); + } + + .my-currency { + height: 58px; + line-height: 58px; + font-weight: bold; + border-bottom: 1px solid #e8e8e8; + font-size: 18px; + color: #333; + margin: 0 10px; + + em { + color: #ff2400; + font-weight: normal; + } + } + + .tab-wrap, + .currency { + margin: 0 10px; + } + + .tab-wrap { + position: relative; + + .options-helper { + position: absolute; + right: 10px; + top: 0; + } + + .coin-helper { + margin-left: 10px; + color: #468fa2; + } + } + + .tabs { + margin-left: 0; + margin-right: 0; + } + + .currency-header { + height: 25px; + line-height: 25px; + text-align: center; + border: 1px solid #e6e6e6; + background: #efefef; + margin: 0 10px; + + span { + display: block; + float: left; + font-size: 14px; + font-weight: bold; + } + + .date { + width: 159px; + } + + .income-expenditure { + width: 317px; + } + + .remark { + width: 300px; + } + } + + + .currency { + display: table; + border: 1px solid #e6e6e6; + margin-bottom: 20px; + + li { + display: table-row; + text-align: center; + font-size: 14px; + + > * { + display: table-cell; + border-left: 1px solid #e6e6e6; + vertical-align: middle; + color: #666; + padding: 5px; + line-height: 18px; + + &:first-child { + border-left: none; + } + } + } + + .date { + width: 155px; + } + + .remark { + width: 300px; + + > a { + color: #468fa2; + margin-left: 10px; + text-decoration: underline; + } + } + + .income-expenditure { + width: 320px; + color: #0f0; + } + + .isIncome { + color: #f00; + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_default.css b/web-static/sass/home/_default.css new file mode 100644 index 0000000..d51e177 --- /dev/null +++ b/web-static/sass/home/_default.css @@ -0,0 +1,164 @@ +.default-me-page { + + .message-tip { + box-sizing: border-box; + width: 800px; + height: 40px; + line-height: 40px; + padding: 0 10px; + margin-bottom: 10px; + background: #faf6d9; + border: 1px solid #f5e8c5; + border-radius: 2px; + font-weight: bold; + font-size: 12px; + + a { + color: #468fa2; + font-weight: normal; + } + + b { + color: #e8044f; + margin-right: 5px; + } + + .close { + float: right; + cursor: pointer; + font-weight: normal; + } + } + + .more { + display: block; + float: right; + height: 21px; + line-height: 22px; + width: 63px; + margin-top: 8px; + padding-right: 8px; + font-size: 12px; + color: #fdfdfd; + text-align: center; + border-radius: 2px; + background: resolve(/home/btn-more.png) no-repeat; + } + + .brands ul { + padding: 10px 0 10px 10px; + + li { + float: left; + width: 122px; + height: 103px; + border: 1px solid #f6f6f6; + margin-right: 7px; + overflow: hidden; + } + + img { + width: 80px; + height: 50px; + display: block; + vertical-align: middle; + margin: 15px auto; + } + + .brand-name { + display: block; + width: 114px; + height: 18px; + line-height: 18px; + color: #333; + background: #f4f4f4; + font-size: 12px; + text-align: center; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin: 0 auto; + } + } + + .new-arrival { + overflow: hidden; + + .na-pager-wrap { + float: right; + + .pre, .next { + display: inline-block; + height: 22px; + line-height: 22px; + margin-top: 8px; + padding: 0 6px; + font-size: 12px; + color: #fff; + background: #646464; + text-align: center; + border-radius: 2px; + cursor: pointer; + + .iconfont { + font-size: 12px; + } + } + + .no-visible { + visibility: hidden; + } + } + + ul { + width: 800px; + height: 218px; + overflow: hidden; + } + + li { + float: left; + width: 101px; + height: 160px; + padding: 29px; + border-right: 1px solid #e3e3e3; + text-align: center; + font-size: 12px; + overflow: hidden; + + .thumb { + width: 100px; + height: 100px; + } + + .name { + margin: 10px 0; + text-decoration: underline; + color: #666; + line-height: 14px; + } + + .price { + color: #000; + } + } + } + + .banner { + display: block; + width: 800px; + border: none; + } + + .latest-orders .title { + background-image: resolve(/home/latest-orders.png); + } + + .brands .title { + background-image: resolve(/home/brands.png); + } + + .new-arrival .title { + background-image: resolve(/home/new-arrival.png); + } +} \ No newline at end of file diff --git a/web-static/sass/home/_favorite.css b/web-static/sass/home/_favorite.css new file mode 100644 index 0000000..143057b --- /dev/null +++ b/web-static/sass/home/_favorite.css @@ -0,0 +1,683 @@ +.me-favorite-page { + + .favorite .title { + background-image: resolve(/home/favorite.png); + } + + .favorite-table-header { + font-size: 12px; + padding: 0; + + .options { + width: 136px; + } + } + + .fav-row { + display: table; + padding: 10px 0; + border-bottom: 1px solid #e6e6e6; + + > * { + display: table-cell; + vertical-align: middle; + } + + .checkbox { + width: 40px; + padding-left: 10px; + } + } + + .del-favorite { + color: #666; + visibility: hidden; + } + + .fav-row:hover .del-favorite { + visibility: visible; + } + + .favorite-products, + .favorite-brands, + .favorite-articles, + .reduction-notice-tip, + .empty-reduction { + margin: 0 10px; + font-size: 12px; + } + + .price-notice { + position: absolute; + width: 320px; + height: 194px; + z-index: 1001; + top: 50%; + left: 50%; + margin-left: -160px; + margin-top: -97px; + background: #fff; + border: 1px solid #999; + padding: 20px; + font-size: 14px; + + .close { + position: absolute; + display: block; + top: 5px; + right: 5px; + width: 46px; + height: 16px; + cursor: pointer; + background: #cdcdcd; + color: #fff; + border-radius: 2px; + font-size: 12px; + + &:hover { + background: #414141; + } + } + + .price-notice-sure { + display: block; + width: 82px; + height: 34px; + line-height: 34px; + text-align: center; + color: #fff; + background: #e90024; + font-weight: bold; + cursor: pointer; + margin: 20px auto 0; + } + + .tip { + line-height: 20px; + margin: 20px 0; + } + + label { + margin-right: 10px; + } + + input { + width: 180px; + height: 30px; + line-height: 30px; + color: #333; + padding: 0 5px; + font-size: 14px; + border: 1px solid #bebebe; + + &.error { + border-color: #f00; + } + } + + .err-text { + padding-left: 70px; + line-height: 24px; + color: #f00; + + i { + display: block; + float: left; + height: 14px; + width: 14px; + background: url(/passport/tip/error.png); + margin-right: 5px; + margin-top: 5px; + } + } + + .success { + text-align: center; + + p { + font-size: 14px; + line-height: 22px; + margin-top: 20px; + } + + .iconfont { + color: #51c516; + font-size: 24px; + } + + .notice-num { + color: #e20d29; + } + } + } + + /*降价订阅*/ + .reduction-notice-tip { + border: 1px solid #e7e7e7; + padding: 20px; + margin-bottom: 10px; + + .notice-text { + width: 245px; + float: left; + } + + h2 { + color: #000; + font-size: 14px; + line-height: 1.5; + } + + p { + padding: 10px 0; + color: #999; + font-size: 12px; + line-height: 1.5; + } + + .notice-img { + float: right; + $img: /home/reduction-notice.jpg; + width: width($img); + height: height($img); + background: resolve($img); + } + } + + .empty-reduction { + text-align: center; + font-size: 14px; + border: 1px solid #e7e7e7; + padding: 40px; + margin-bottom: 20px; + + a { + display: inline-block; + width: 92px; + height: 30px; + line-height: 30px; + color: #666; + text-align: center; + cursor: pointer; + background: #ededed; + border: 1px solid #dbdbdb; + border-radius: 3px; + } + } + + .reduction-products { + margin-bottom: 20px; + } +} + +/*收藏商品*/ +.fav-products { + .favorite-products > ul { + padding-bottom: 20px; + } + + .sorts { + position: relative; + padding: 10px; + min-height: 20px; + line-height: 20px; + margin: 0 10px 10px; + background: #f3f3f3; + border: 1px solid #e6e6e6; + color: #ccc; + + .sort { + float: left; + height: 20px; + line-height: 20px; + color: #666; + font-size: 12px; + + &.focus { + background: resolve(/home/sort-select.png) no-repeat left; + padding-left: 18px; + color: #fff; + + em { + display: inline-block; + background: resolve(/home/sort-select.png) no-repeat right; + font-weight: bold; + } + } + } + + .sep { + float: left; + margin: 0 10px; + } + + .has-more { + float: left; + margin-left: 10px; + } + } + + .all-sorts { + display: none; + } + + .sort-btn { + position: absolute; + display: block; + width: 19px; + height: 19px; + line-height: 19px; + right: 10px; + top: 10px; + text-align: center; + border: 1px solid #ececec; + background: #fff; + cursor: pointer; + + .iconfont { + color: #000; + font-size: 12px; + } + } + + .reduction-filter { + height: 30px; + line-height: 30px; + text-align: right; + font-size: 12px; + margin: 0 10px; + } + + .reduction-notice { + float: left; + color: #666; + } + + .favorite-goods { + margin: 0 10px; + font-size: 12px; + + > ul { + padding-bottom: 20px; + } + } + + .favorite-table-header { + + .info { + width: 390px; + padding-left: 50px; + text-align: left; + } + + .price { + width: 200px; + text-align: left; + } + } + + .fav-good { + position: relative; + + &:hover { + background: #f3f3f3; + } + + .thumb { + display: block; + margin-right: 10px; + width: 100px; + height: 100px; + } + + .text-info { + width: 270px; + line-height: 16px; + } + + .name { + color: #468fa2; + display: block; + + &:hover { + text-decoration: underline; + } + } + + .has-bought { + display: inline-block; + width: 37px; + height: 15px; + line-height: 15px; + text-align: center; + color: #fff; + background: #418fa3; + border-radius: 2px; + } + + .has-activity { + color: #666; + cursor: pointer; + } + + .price { + width: 200px; + padding-left: 10px; + + > em { + font-weight: bold; + color: #e8044f; + font-size: 14px; + } + + .price-down { + display: block; + margin-top: 5px; + + > em { + color: #e8044f; + } + + .iconfont { + font-size: 12px; + } + } + } + + .options { + width: 136px; + text-align: center; + + > * { + display: block; + } + + .buy-again, + .buy-now { + width: 92px; + height: 30px; + line-height: 30px; + font-size: 14px; + text-align: center; + border-radius: 4px; + margin: 0 auto; + } + + .buy-now { + color: #fff; + background: #da044a; + } + + .buy-again { + color: #666; + background: #ececec; + border: 1px solid #cecece; + } + + .price-down-clock { + line-height: 20px; + color: #666; + cursor: pointer; + } + + .sold-out { + color: #666; + } + + /*去除del按钮的位置影响*/ + .buy-now, + .buy-again, + .sold-out { + margin-top: 12px; + } + } + + .activites { + position: absolute; + left: 160px; + right: 0; + top: 100px; + padding: 10px 0; + border-top: 1px dashed #ccc; + + li { + line-height: 18px; + } + + .type { + display: inline-block; + width: 54px; + height: 14px; + line-height: 14px; + margin-right: 5px; + overflow: hidden; + background: #6c6c6c; + border-radius: 2px; + color: #fff; + text-align: center; + vertical-align: middle; + } + + .arrow { + position: absolute; + $height: height(/home/activity-arrow.png); + + width: width(/home/activity-arrow.png); + left: 20px; + top: -calc($height); + height: $height; + background: url(/home/activity-arrow.png) no-repeat; + } + } + } +} + +/*收藏品牌*/ +.fav-brands { + + .favorite-brands > ul { + padding-bottom: 20px; + } + + .favorite-table-header { + .name { + width: 190px; + padding-left: 50px; + text-align: left; + } + + .new-arrival, + .col-count { + width: 200px; + } + } + + .fav-brand { + position: relative; + font-size: 12px; + + .thumb { + width: 190px; + + a { + display: block; + width: 115px; + padding: 5px; + text-align: center; + border: 1px solid #f4f4f4; + } + + .name { + display: block; + background: #f4f4f4; + color: #666; + line-height: 18px; + } + + img { + width: 100px; + height: 100px; + } + } + + .new-arrival, + .col-count { + width: 200px; + text-align: center; + } + + .new-arrival { + cursor: pointer; + } + + .options { + width: 136px; + text-align: center; + } + + .brand-shop { + display: block; + width: 92px; + height: 30px; + line-height: 30px; + border: 1px solid #c2c2c2; + background: #ececec; + text-align: center; + cursor: pointer; + margin: 14px auto 10px; + border-radius: 2px; + color: #666; + font-size: 14px; + } + + .na-list { + position: absolute; + left: 50px; + right: 0; + top: 152px; + padding: 10px 0; + border-top: 1px dashed #ccc; + + .arrow { + position: absolute; + $height: height(/home/activity-arrow.png); + + width: width(/home/activity-arrow.png); + left: 265px; + top: -calc($height); + height: $height; + background: url(/home/activity-arrow.png) no-repeat; + } + } + + .na-good { + width: 102px; + height: 165px; + padding: 0 15px; + text-align: left; + } + + .na-good-thumb { + border: 1px solid #ccc; + width: 100px; + height: 100px; + vertical-align: middle; + } + + .na-good-name { + color: #666; + line-height: 14px; + margin: 5px 0; + max-height: 28px; + overflow: hidden; + } + + .na-content > * { + float: left; + } + + .has-sale { + text-decoration: line-through; + } + + .na-pre, + .na-next { + display: block; + width: 31px; + height: 31px; + line-height: 33px; + text-align: center; + background: #f4f4f4; + border: 1px solid #eee; + margin-top: 66px; + + &.hidden { + visibility: hidden; + } + } + + .na-goods { + width: 660px; + height: 165px; + padding-top: 20px; + + > li { + float: left; + } + } + } +} + +/*收藏文章*/ +.fav-articles { + + .favorite-articles > ul { + padding-bottom: 20px; + } + + .fav-article:first-child { + padding-top: 8px; + } + + .bg-img { + display: block; + width: 146px; + height: 96px; + backgound-size: cover; + background-position: center; + } + + .text-info { + width: 559px; + padding-left: 20px; + } + + .name { + display: block; + font-weight: bold; + font-size: 14px; + line-height: 30px; + color: #000; + max-width: 100%; + word-break: keep-all; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + + &:hover { + text-decoration: underline; + } + } + + .desc { + color: #333; + font-size: 12px; + line-height: 24px; + height: 48px; + } + + .del-favorite { + float: right; + font-size: 12px; + } +} \ No newline at end of file diff --git a/web-static/sass/home/_index.css b/web-static/sass/home/_index.css index d93d04c..a72885d 100644 --- a/web-static/sass/home/_index.css +++ b/web-static/sass/home/_index.css @@ -1,580 +1,269 @@ -.home-page { - width: 1150px; - margin: 10px auto 0; - - .slide-container { - position: absolute; - left: 0; - right: 0; - height: 450px; - } - - .slide-thumb-container { - height: 510px; - } +.me-page { + width: 990px; + margin: 0 auto 20px; - .slide-wrapper { - position: relative; - height: 450px; - overflow: hidden; + .home-path { + height: 40px; + line-height: 40px; + color: #ccc; + font-size: 12px; - ul { - position: relative; - height: 100%; - } - - &:hover .slide-switch.show { + .path-icon { + float: left; display: block; + background: url(/home/home-icon.png); + width: 15px; + height: 15px; + margin-right: 10px; + margin-top: 11px; } - li { - display: none; - position: absolute; - top: 0; - right: 0; - width: 100%; - height: 100%; - - a { - display: block; - height: 100%; - width: 1150px; - margin: 0 auto; - } - - &:first-child { - display: block; - } + a, span { + color: #666; + } - img { - width: 100%; - height: 100%; - } + span { + font-weight: bold; } } - .slide-container-placeholder { - height: 450px; - width: 100%; - + .block { + border: 1px solid #dedede; + border-radius: 2px; } - .slide-thumb-container-placeholder { - height: 510px; + .me-main .block { + margin-bottom: 10px; } - .slide-switch { - display: block; - - a { - position: absolute; - top: 50%; - margin: -30px 0 0; - width: 60px; - height: 60px; - line-height: 56px; - text-align: center; - z-index: 2; - background: #fff; - opacity: 0.55; - - &.prev { - left: 50%; - margin-left: -575px; - } - - &.next { - right: 50%; - margin-right: -575px; - } - - &:hover{ - opacity: 0.9; - } - - .iconfont { - font-size: 32px; - color: #59585a; - } - } + .title { + height: 40px; + line-height: 40px; + padding: 0 8px; + background-color: #e3e3e3; + background-position: 10px 12px; + background-repeat: no-repeat; } - .thumb-pagination { - width: 1148px; - margin: 6px auto 0; - padding-left: 2px; - - li { - position: relative; - float: left; - margin-left: 6px; - width: 138px; - height: 54px; - - &:first-child { - margin: 0; - } - - &.focus a { - opacity: 0; - } - - a { - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 0; - background: #000; - opacity: 0.3 - } - - img { - width: 100%; - height: 100%; - } - } + .default-user-thumb { + width: 100px; + height: 100px; + margin: 0 auto; + background: resolve(/home/default-thumb.png) no-repeat; + background-size: 100%; } - /*大banner圆点*/ - .slide-pagination { - font-size: 0; - - .slide-shade { - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - background: #000; - opacity: 0.3; - border-radius: 13px; - } - - span { - position: relative; - display: inline-block; - margin: 0 7px; - width: 12px; - height: 12px; - background: #fff; - cursor: pointer; - opacity: 0.6; - border-radius: 6px; - z-index: 2; + .user-thumb { + text-align: center; + padding: 20px 0; + background: #f8f8f8; - &.focus { - opacity: 1; - } + img { + width: 100px; + height: 100px; } } - .debris-slider { - height: 510px; - width: 100%; - - .col { - float: left; + .home-navigation { + float: left; + width: 180px; + margin-right: 8px; - a { - display: block; - } + .ucenter { + background-image: resolve(/home/ucenter.png); } + } - .left-col a, - .right-col a { - margin-bottom: 10px; - - &:last-child { - margin-bottom: 0; - } - } + .nav-group .row { + height: 38px; + line-height: 38px; + border-top: 1px solid #e2e2e2; + padding-left: 35px; + color: #666; + background: #f8f8f8; + font-size: 12px; - .right-col img, - .left-col img { - height: 100%; - width: 100%; + a { + display: block; + color: #666; } - .left-col { - margin-right: 10px; + &.active { + background: #636363; a { - width: 280px; - height: 120px; - } - - a:first-child { - height: 250px; - } - } - - .center-col { - position: relative; - width: 570px; - height: 100%; - margin-right: 10px; - font-size: 0; - - &:hover { - .slide-switch.show { - display: block; - } - } - - .slide-wrapper { - height: 100%; - - li { - a { - width: 100%; - } - } - } - - .slide-switch { - a.prev { - left: 0; - margin-left: 0; - } - a.next { - right: 0; - margin-right: 0; - } - } - - img { - max-width: 100%; - max-height: 100%; + color: #fff; } } - .right-col a { - width: 280px; - height: 120px; - } - - .right-col a:first-child { - height: 380px; - margin-bottom: 11px; + &.first { + border-top: none; } } - .new-report { - img { - display: block; - width: 100%; - height: 100%; - } - - .report-list { - float: left; - width: 868px; - - li { - float: left; - margin: 0 8px 8px 0; - width: 185px; - height: 248px; - overflow: hidden; - - &:first-child { - margin-right: 7px; - width: 282px; - height: 504px; - } - } - } - - .last-item { - float: left; - width: 282px; - height: 504px; - overflow: hidden; - } - } - - /*优选品牌*/ - .preference-brand { - overflow: hidden; - } - - .preference-brand-list { - margin-top: 8px; - width: 1158px; + .nav-group li:hover { + background: #fff; + color: #000; } - .preference-brand-item { - float: left; - margin-right: 8px; - margin-bottom: 8px; + .nav-group .nav-title { + font-size: 14px; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; + color: #333; + background: #e6e6e6; + padding-left: 0; - a { - display: table-cell; - width: 185px; - height: 86px; - text-align: center; - vertical-align: middle; - } - - img { + .title-icon { + float: left; display: block; - max-width: 100%; - max-height: 100%; - margin: 0 auto; + width: 15px; + height: 15px; + background: url(/home/pre-title.png); + margin: 10px 10px 0; } } - .preference-more { + .me-main { float: left; - width: 185px; - height: 86px; - line-height: 100px; - text-align: center; - color: black; - font-size: 16px; + width: 800px; } - .img-slider-wrapper { - position: relative; - width: 100%; - height: 558px; - background: #8ae6e0; - overflow: hidden; + .me-pager { + width: 778px; + height: 22px; + line-height: 22px; + background: #f3f3f3; + border-top: 1px solid #e3e3e3; + padding: 10px; + font-size: 12px; + color: #666; - .img-brand-switch { - display: block; - a { - position: absolute; - top: 50%; - font-size: 36px; - color: #fff; + .check-all { + margin: 0; + vertical-align: text-top; + margin-right: 5px; + } - &.next { - right: 30px; - } + .del-checked { + cursor: pointer; + margin-left: 5px; - &.prev { - left: 30px; - } + &:hover { + color: #468fa2; + text-decoration: underline; } } - } - - .img-container-landscape { - box-sizing: border-box; - margin: 86px auto 0; - width: 982px; - height: 433px; - overflow: hidden; - .img-list { - width: 1000px; - height: 100%; + a { + border: 1px solid #cecece; + padding: 0 6px; + height: 18px; + line-height: 18px; + border-radius: 2px; + margin-right: 4px; + background-color: #fff; + + &:hover, + &.cur { + background-color: #222; + color: #fff; + } } - .img-item { - float: left; - box-sizing: border-box; - width: 320px; - height: 100%; - margin-right: 10px; - - img { - width: 100%; - height: 100%; - } + .pager-html { + display: inline; } } - .img-brand { - position: relative; - width: 100%; - height: 175px; - overflow: hidden; + .help-us { + height: 20px; + line-height: 20px; + font-size: 12px; - &:hover { - .img-brand-switch { - display: block; - } - } - ul { - width: 1158px; + a { + color: #468fa2; } - li { + + .help-us-icon { float: left; - margin: 0 8px 0 0; - width: 378px; - height: 175px; - line-height: 175px; - overflow: hidden; - font-size: 0; - text-align: center; - - img { - max-width: 100%; - max-height: 100%; - vertical-align: middle; - } - } - .img-brand-switch { - display: none; - a { - position: absolute; - top: 50%; - margin: -20px 0 0; - width: 40px; - height: 40px; - line-height: 40px; - text-align: center; - z-index: 2; - background: #fff; - opacity: 0.55; - - &.prev { - left: 0; - } - &.next { - right: 0; - } - &:hover { - opacity: 0.9; - - } - } + display: block; + background: url(/home/suggest-icon.png); + width: 12px; + height: 12px; + margin-right: 8px; + margin-top: 3px; } } - .logo-brand { - width: 100%; - height: 282px; + .empty-tip { + padding: 200px 0; + text-align: center; overflow: hidden; + } - &.logos-10 { - height: 188px; - } - - ul { - width: 1158px; - } + .tabs { + height: 25px; + margin: 10px; + background: resolve(/home/tab.png) repeat-x 0px -25px; + font-size: 12px; + line-height: 25px; + padding-left: 10px; li { + display: block; float: left; - margin: 8px 8px 0 0; - width: 185px; - height: 86px; - line-height: 86px; - font-size: 0; + width: 88px; + height: 25px; text-align: center; - img { - max-width: 100%; - max-height: 100%; - vertical-align: middle; - } - } + background: resolve(/home/tab.png) no-repeat -92px 0; + margin-right: 3px; + color: #333; - .logo-brand-switch { - position: relative; - background: resolve(/index/logo-brand-line.png) no-repeat center center; - line-height: normal; - - .iconfont { - position: absolute; - left: 50%; - font-size: 32px; - - &.prev { - top: 10px; - - margin-left: -48px; - } - &.next { - bottom: 12px; - margin-left: 20px; - } + &.active { + background-position: 0 0; + font-weight: bold; } } - .brand-more { - font-size: 16px; - - &:hover { - text-decoration: underline; - } + a { + display: block; + width: 100%; + height: 100%; } } - .categorys-list { - ul { - width: 1158px; - } + .table-header { + height: 30px; + line-height: 30px; + background: #efefef; + border: 1px solid #e6e6e6; + padding: 0 10px; - li { + > span { + display: block; float: left; - margin: 0 8px 8px 0; - width: 185px; - height: 248px; - - &.cate-item0 { - width: 185px; - height: 504px; - } - - &.cate-item1 { - width: 377px; - height: 504px; - } - - img { - display: block; - width: 100%; - height: 100%; - } - } - } - - .floor-header { - position: relative; - margin: 80px 0 40px; - - .floor-title { - margin: 0 auto; - width: 298px; - height: 31px; - line-height: 31px; - border: 1px solid #000; - font-size: 16px; text-align: center; } - - .header-navs { - position: absolute; - padding: 10px 0; - top: 0; - right: 0; - font-size: 14px; - - li { - float: left; - padding: 1px 15px; - border-left: 1px solid #ccc; - - &:first-child { - border-left: none; - } - - &:hover { - text-decoration: underline; - } - - a { - color: #333; - } - } - } } } -@import "index-pliffy"; -@import "min-index"; -@import "brand"; \ No newline at end of file +@import "default"; +@import "order-block"; +@import "orders"; +@import "order-detail"; +@import "order-ticket"; +@import "red-envelopes"; +@import "coupons"; +@import "currency"; +@import "favorite"; +@import "user-info"; +@import "returns"; +@import "returns-detail"; +@import "returns-apply"; +@import "returns-save"; +@import "consult"; +@import "comment"; +@import "complaints"; +@import "message"; +@import "message-content"; diff --git a/web-static/sass/home/_message-content.css b/web-static/sass/home/_message-content.css new file mode 100644 index 0000000..a80f9c5 --- /dev/null +++ b/web-static/sass/home/_message-content.css @@ -0,0 +1,35 @@ +.content-message-page { + .title { + background-image: resolve(/home/message.png); + + .back-list { + font-size: 12px; + float: right; + width: 67px; + height: 22px; + line-height: 22px; + margin-top: 9px; + padding-right: 4px; + text-align: center; + color: #fdfdfd; + display: inline-block; + background: resolve(/home/btn-more.png) no-repeat; + cursor: pointer; + } + } + .text-container { + font-size: 12px; + line-height: 18px; + padding: 20px; + + .text-title { + margin-bottom: 10px; + padding-bottom: 10px; + border-bottom: 1px dashed #999; + + span { + color: #999; + } + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_message.css b/web-static/sass/home/_message.css new file mode 100644 index 0000000..d6db7b2 --- /dev/null +++ b/web-static/sass/home/_message.css @@ -0,0 +1,91 @@ +.message-me-page { + .message .title { + background-image: resolve(/home/message.png); + } + .message-table-header { + font-size: 12px; + + .sender { + width: 118px; + padding-left: 38px; + text-align: left; + } + .heading { + width: 408px; + text-align: left; + } + .time { + width: 130px; + } + .action { + padding-left: 10px; + width: 66px; + } + } + .message-list { + padding: 10px; + font-size: 12px; + + table { + width: 100%; + line-height: 38px; + + tr { + color: #999; + border: 1px solid #e6e6e6; + + td { + text-align: center; + } + input{ + vertical-align: middle; + margin: 0; + } + .del-btn { + color: #468fa2; + text-decoration: none; + } + } + .list-foot{ + background: #f8f8f8; + + button { + float: left; + padding: 2px 10px; + border: 1px solid #ccc; + border-radius: 2px; + cursor: pointer; + outline: none; + } + .del-choose-btn { + background: #DA044A; + border-color: #CC0345; + margin-right: 10px; + color: #fff; + } + .read-choose-btn { + background: #DDDDDD; + color: #b3b3b3; + } + .has-new { + background: #3797AF; + border-color: #147E98; + color: #fff; + } + } + .td-sender { + width: 110px; + color: #666; + text-align: left; + overflow: hidden; + } + .td-title { + width: 410px; + padding-left: 10px; + color: #666; + text-align: left; + overflow: hidden; + } + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_order-block.css b/web-static/sass/home/_order-block.css new file mode 100644 index 0000000..71b40e4 --- /dev/null +++ b/web-static/sass/home/_order-block.css @@ -0,0 +1,359 @@ +.me-orders { + font-size: 12px; + + .right { + float: right; + } + + .order-table-header { + + .info { + width: 330px; + text-align: left; + padding-left: 10px; + } + + .price { + width: 75px; + } + + .count { + width: 60px; + } + + .pay, .order-status, .operation { + width: 100px; + } + } + + .order-title { + height: 28px; + line-height: 28px; + background: #efefef; + padding: 0 5px; + border-bottom: 1px solid #e6e6e6; + } + + .order { + margin: 10px; + border: 1px solid #e6e6e6; + border-radius: 2px; + + .order-wrap { + position: relative; + display: table; + text-align: center; + + > * { + display: table-cell; + vertical-align: middle; + } + } + + li { + display: table; + border-top: 1px solid #e6e6e6; + + &:first-child { + border-top: none; + } + + > div { + display: table-cell; + color: #666; + text-align: center; + vertical-align: middle; + } + } + + .thumb-wrap { + position: relative; + } + + .thumb { + width: 60px; + height: 60px; + } + + .freebie-tag, + .advance-buy-tag, + .virtual-good-tag, + .presall-tag { + display: block; + position: absolute; + bottom: 0; + left: 0; + right: 0; + height: 15px; + line-height: 16px; + text-align: center; + color: #fff; + } + + .freebie-tag { + background: #88be51; + } + + .advance-buy-tag { + background: #fc1264; + } + + .virtual-good-tag, + .presall-tag { + background: #333; + } + + .info { + position: relative; + width: 320px; + text-align: left; + padding: 10px 0 10px 10px; + + > * { + float: left; + } + + .color-size { + color: #999; + } + + .arrival-date { + color: #e8044f; + margin-left: 2px; + } + } + + .text-info { + position: absolute; + padding: 5px; + bottom: 10px; + left: 72px; + + > * { + display: block; + line-height: 18px; + } + } + + .name { + color: #468fa2; + max-width: 245px; + + @mixin ellipsis; + } + + .had-refund { + color: #e8044f; + } + + .price { + width: 80px; + padding: 5px; + font-weight: bold; + + &.free-price em { + text-decoration: line-through; + } + + .free-icon { + display: block; + width: 37px; + height: 18px; + line-height: 18px; + font-size: 12px; + text-align: center; + color: #80bb45; + background: #e7fbc0; + margin: 5px auto; + border: 1px solid #80bb45; + border-radius: 3px; + } + } + + .count { + width: 50px; + } + + .pay, .order-status, .operation { + width: 90px; + border-left: 1px solid #e6e6e6; + padding: 5px; + } + + .pay { + font-weight: bold; + } + + .pay-tip { + font-weight: normal; + display: block; + line-height: 18px; + color: #999; + } + + .op-item { + display: block; + color: #468fa2; + line-height: 18px; + } + + .no-pay, .paid { + color: #e8044f; + } + + .order-status span { + line-height: 18px; + color: #999; + } + + .check-logistics { + display: block; + cursor: pointer; + color: #468fa2; + } + + .cancel { + color: #e8044f; + } + + .logistics { + position: absolute; + padding: 20px 12px; + color: #ff8341; + border: 1px solid #c9c9c9; + background: #fff; + right: 185px; + top: 15px; + + li { + line-height: 18px; + white-space: nowrap; + } + + .close-logistics { + position: absolute; + top: 0; + right: 0; + color: #c9c9c9; + cursor: pointer; + } + + .right-triangle { + position: absolute; + width: 0; + height: 0; + right: -6px; + top: 24px; + + &.top { + margin-top: 1px; + border-top: 5px solid transparent; + border-bottom: 5px solid transparent; + border-left: 6px solid #FFF; + } + + &.bottom { + margin-right: -1px; + border-top: 6px solid transparent; + border-bottom: 6px solid transparent; + border-left: 7px solid #c9c9c9; + } + } + } + + .operation > * { + cursor: pointer; + } + + .operation .pay-now { + display: block; + color: #fff; + background: #de034a; + height: 20px; + line-height: 20px; + text-align: center; + margin: 0 auto; + border-radius: 4px; + width: 68px; + } + } +} + +.me-history-orders { + .order-table-header .info, + .order .info { + width: 520px; + } + + .order .info { + text-align: center; + } + + .order-table-header .order-sum, + .order .order-sum { + width: 90px; + text-align: left; + } + + .order li { + border: none; + } +} + +.cancel-dialog { + header { + font-size: 14px; + padding-bottom: 10px; + border-bottom: 1px dotted #a7a7a7; + color: #000; + text-align: left; + } + + ul { + text-align: left; + padding: 10px 0 0 25px; + + li { + height: 28px; + line-height: 28px; + font-size: 12px; + } + + label { + padding-left: 10px; + } + + input[type="text"] { + margin-left: 10px; + height: 24px; + text-indent: 5px; + } + } + + .btns { + padding: 15px 30px; + text-align: left; + + .btn { + height: 35px; + font-size: 12px; + line-height: 35px; + } + + .cancel-sure { + width: 130px; + border-radius: 3px; + color: #fff; + background: #d60248; + border: none; + } + + .cancel-no { + background: #eaeaea; + border-radius: 3px; + color: #999; + border-color: #ebebeb; + width: 66px; + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_order-detail.css b/web-static/sass/home/_order-detail.css new file mode 100644 index 0000000..cd26af2 --- /dev/null +++ b/web-static/sass/home/_order-detail.css @@ -0,0 +1,287 @@ +.order-detail-page { + font-size: 12px; + + .order-detail > .title { + background-image: resolve(/home/order-detail.png); + } + + .status { + padding: 10px; + background: #efefef; + border-bottom: 1px solid #e6e6e6; + + p { + margin: 5px 0; + line-height: 18px; + } + + .cur-status { + color: #e8044f; + } + + .complete-tip { + color: #999; + } + } + + .detail-info { + padding: 10px; + } + + .sub-title { + height: 21px; + line-height: 21px; + border: 1px solid #e6e6e6; + color: #333; + background: #efefef; + + .icon { + display: inline-block; + height: 11px; + width: 11px; + background-image: url(/home/complaint-icon.png); + margin: 5px 5px 0; + } + } + + .content { + padding: 10px 20px 20px; + + p { + line-height: 18px; + } + } + + .order-progress { + padding-top: 20px; + color: #e9034e; + + li { + position: absolute; + width: 150px; + line-height: 15px; + top: 20px; + } + + .date { + display: block; + color: #999; + padding-left: 12px; + } + } + + .progress-box { + position: relative; + width: 552px; + height: 70px; + margin: 0 auto; + + .pg-0 { + left: -20px; + } + + .pg-1 { + left: 145px; + } + + .pg-2 { + left: 330px; + } + + .pg-3 { + left: 515px; + } + } + + /*虚拟商品订单*/ + .virtual-detail { + .pg-1 { + left: 245px; + } + + .pg-2 { + left: 515px; + } + + .outter-progress { + background: resolve(/home/virtual-order-progress.png) no-repeat 0 0; + } + + .inner-progress { + background: resolve(/home/virtual-order-progress.png) no-repeat 0 -12px; + } + } + + .outter-progress { + width: 552px; + height: 12px; + background: resolve(/home/order-progress.png) no-repeat 0 0; + } + + .inner-progress { + height: 12px; + background: resolve(/home/order-progress.png) no-repeat 0 -12px; + } + + .handle-time { + width: 300px; + } + + .recive-place { + width: 200px; + } + + .logistics-info { + width: 800px; + } + + .trace-order td, + .trace-order th { + line-height: 18px; + } + + .good-list { + table { + border-collapse: collapse; + } + + thead { + height: 25px; + line-height: 25px; + background: #000; + padding: 2px 5px; + color: #fff; + } + + th, + td { + padding: 5px; + text-align: center; + border-right: 1px solid #e6e6e6; + border-bottom: 1px solid #e6e6e6; + } + + th { + border-color: #000; + } + + tr td:last-child, + tr th:last-child { + border-right: none; + } + + .product-info { + width: 314px; + } + + .good-price, + .num, + .sum { + width: 91px; + } + + .yoho-coin { + width: 100px; + + a { + $img: /home/coin-help.png; + display: inline-block; + width: width($img); + height: height($img); + background: url($img); + vertical-align: text-top; + + } + } + + .thumb-link { + float: left; + margin-left: 5px; + margin-right: 10px; + } + + .thumb { + display: block; + width: 60px; + height: 60px; + } + + .name-color-size { + float: left; + color: #999; + padding-top: 12px; + } + + .name { + display: block; + color: #468fa2; + line-height: 18px; + text-align: left; + max-width: 230px; + + @mixin ellipsis; + } + } + + .order-balance { + text-align: right; + border-bottom: 1px solid #e6e6e6; + padding: 10px 0; + + em { + font-weight: bold; + } + + .payment { + color: #e8044f; + } + } + + .order-operation { + text-align: right; + padding: 20px 10px 20px; + + .oo-icon { + display: inline-block; + height: 22px; + width: 22px; + vertical-align: text-bottom; + } + + .success-icon { + background: url(/home/success-icon.png); + } + + .cancel-icon { + background: url(/home/cancel-icon.png); + } + + .oo-btn { + display: inline-block; + height: 30px; + width: 92px; + line-height: 30px; + text-align: center; + border-radius: 3px; + color: #fff; + } + + .go-pay, + .receive-confirm { + background: #d9044a; + border: 1px solid #c54b73; + } + + .receive-confirm { + display: block; + float: right; + margin-top: 5px; + } + + .cancel-order { + background: #ebebeb; + border: 1px solid #c1c1c1; + color: #000; + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_order-ticket.css b/web-static/sass/home/_order-ticket.css new file mode 100644 index 0000000..69bccd8 --- /dev/null +++ b/web-static/sass/home/_order-ticket.css @@ -0,0 +1,76 @@ +.order-ticket-page { + font-size: 12px; + + .order-ticket .title { + background-image: resolve(/home/orders.png); + } + + .ticket-info { + padding: 20px 10px; + + .ticket-tag { + display: inline-block; + width: 72px; + height: 19px; + line-height: 19px; + text-align: center; + font-size: 12px; + color: #fff; + background: #000; + border-radius: 3px; + margin-right: 5px; + } + + .order-num { + margin-left: 10px; + } + + .return-to-orders { + float: right; + color: #468fa2; + } + } + + .qr-codes { + width: 768px; + padding: 10px 0 10px 10px; + border: 1px solid #e7e7e7; + background: #fff; + margin: 0 auto; + + li { + float: left; + width: 232px; + height: 260px; + margin: 10px; + border: 1px solid #e7e7e7; + word-break: break-all; + overflow: hidden; + text-align: center; + } + + .qr { + width: 230px; + height: 230px; + } + } + + .tickets-tip { + width: 758px; + padding: 10px; + border: 1px solid #e7e7e7; + background: #fff; + margin: 20px auto; + + p { + padding-left: 20px; + padding-bottom: 10px; + line-height: 20px; + background: resolve(/home/qr-tip.png) no-repeat -27px 5px; + } + + .warn { + background-position: 0 -23px; + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_orders.css b/web-static/sass/home/_orders.css new file mode 100644 index 0000000..5abcb05 --- /dev/null +++ b/web-static/sass/home/_orders.css @@ -0,0 +1,16 @@ +.orders-me-page { + + .orders .title { + padding-left: 130px; + line-height: 40px; + background-image: resolve(/home/orders.png); + font-size: 12px; + font-weight: normal; + } + + .order-table-header { + padding: 0; + margin: 0 10px; + border: 1px #e6e6e6 solid; + } +} \ No newline at end of file diff --git a/web-static/sass/home/_red-envelopes.css b/web-static/sass/home/_red-envelopes.css new file mode 100644 index 0000000..b97af8f --- /dev/null +++ b/web-static/sass/home/_red-envelopes.css @@ -0,0 +1,66 @@ +.red-envelopes-page { + font-size: 12px; + + .red-envelopes > .title { + font-size: 14px; + font-weight: bold; + } + + .re-header { + height: 25px; + line-height: 25px; + width: 100%; + text-align: center; + border-bottom: 1px solid #e6e6e6; + background: #efefef; + + span { + display: inline-block; + width: 33%; + } + } + + .money { + color: #d52c29; + font-family:'微软雅黑'; + font-size: 20px; + font-weight: bold; + } + + .re-icon { + $img: /home/red-envelopes.png; + display: inline-block; + width: width($img); + height: height($img); + background: url($img); + } + + .red-envelopes-list { + display: table; + width: 100%; + + li { + display: table-row; + color: #666; + border-top: 1px solid #e6e6e6; + + > * { + display: table-cell; + width: 33%; + padding: 10px; + text-align: center; + vertical-align: middle; + border-left: 1px solid #e6e6e6; + + &:first-child { + border-left: none; + } + } + } + + .use-remark { + text-align: left; + line-height: 18px; + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_returns-apply.css b/web-static/sass/home/_returns-apply.css new file mode 100644 index 0000000..9fd8031 --- /dev/null +++ b/web-static/sass/home/_returns-apply.css @@ -0,0 +1,269 @@ +.apply-returns-page { + font-size: 12px; + + .title { + background-image: resolve(/home/refund-apply.png); + } + .exchange .title { + background-image: resolve(/home/exchange-apply.png); + } + select { + width: 85px; + font-size: 12px; + outline: none; + } + .apply-container { + padding: 10px; + + .return-prompt { + padding: 20px; + border: 1px solid #E6E6E6; + margin-bottom: 10px; + line-height: 21px; + color: #333; + + span { + color: #f00; + } + .footwear-tip { + height: 142px; + line-height: 18px; + margin-top: 20px; + padding-left: 536px; + background: resolve(home/footwear-tips.jpg) no-repeat; + + span { + color: #666; + } + span:first-child { + display: block; + margin-bottom: 15px; + } + } + } + h2 { + height: 21px; + line-height: 21px; + padding-left: 23px; + background: resolve(home/complaint-icon.png) no-repeat 5px 5px #efefef; + border: 1px #e6e6e6 solid; + font-size: 12px; + color: #333; + font-weight: 400; + } + .goods-list-table { + width: 100%; + margin-bottom: 10px; + + tr { + border: 1px solid #e6e6e6; + height: 18px; + line-height: 18px; + + th { + text-align: center; + background: #efefef; + padding: 5px; + color: #333; + + &:first-child { + text-align: left; + } + } + td { + color: #666; + padding: 5px; + } + } + .return-goods-info { + a { + color: #468fa2; + text-decoration: none; + } + span { + color: #999; + } + } + .exchange-choose-wrap { + border: 1px solid #e6e6e6; + text-align: center; + + p { + line-height: 29px; + } + select { + width: 85px; + } + } + .refund-price { + width: 185px; + color: #666; + font-weight: bold; + text-align: center; + } + .return-reason-wrap { + width: 200px; + text-align: center; + + select { + width: 190px; + } + label { + color: #999; + padding: 4px 20px; + background: #f5f5f5; + border: 1px solid #dadada; + } + } + .border-style { + border: 1px solid #e6e6e6; + } + .ex-tips, + .re-tips { + text-align: left; + padding-left: 10px; + color: #666; + } + .problem-description { + display: none; + + .left-title { + width: 160px; + text-align: right; + padding-right: 15px; + + .red-icon { + color: #f00; + } + } + textarea { + width: 545px; + height: 75px; + max-width: 545px; + max-height: 300px; + padding: 5px; + border: 1px solid #ccc; + } + .up-image-tips { + width: 545px; + background: #f5f5f5; + border: 1px solid #ccc; + margin-bottom: 15px; + padding: 3px 5px; + } + .up-image-list { + li { + float: left; + width: 126px; + height: 126px; + border: 1px solid #ccc; + padding: 2px; + display: inline-block; + vertical-align: bottom; + margin: 0 0 10px 10px; + background: resolve(home/up-pic-back.png) no-repeat; + position: relative; + } + li:first-child { + margin-left: 0; + } + .btn-del { + padding: 8px; + background: resolve(home/del-icon.png) no-repeat; + color: #468fa2; + display: inline-block; + position: absolute; + right: -1px; + z-index: 5; + cursor: pointer; + } + } + .upload-img-btn{ + background: #000; + font-size: 14px; + color: #fff; + font-weight: bold; + font-family: SimHei; + } + .uploadifive-queue { + display: none; + } + } + } + .refund-detail { + padding-top: 20px; + text-align: center; + + p { + margin-bottom: 25px; + } + .refund-pay-info { + p, tr { + display: none; + } + } + .refund-pay-table { + width: 100%; + margin-bottom: 25px; + + td { + padding: 5px 0 5px 5px; + } + tr td:first-child { + width: 310px; + text-align: right; + } + } + } + .exchange-detail { + padding: 30px; + + dt { + font-weight: bold; + font-size: 14px; + color: #333; + margin: 10px 0; + } + dd { + padding: 10px 5px; + + input[type="radio"] { + margin-left: 50px; + margin-top: 0; + vertical-align: middle; + } + input[type="radio"]:first-child { + margin-left: 0; + } + } + dd > label { + line-height: 20px; + width: 100px; + float: left; + display: block; + + span { + color: #f00; + } + } + } + .submit-box{ + text-align: center; + margin-bottom: 30px; + + .save-btn { + width: 138px; + height: 34px; + border: 0px; + background: resolve(home/submit-btn.png) no-repeat; + color: #fff; + font-size: 14px; + font-weight: bold; + padding-right: 20px; + cursor: pointer; + display: inline-block; + outline: none; + } + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_returns-detail.css b/web-static/sass/home/_returns-detail.css new file mode 100644 index 0000000..7ae1665 --- /dev/null +++ b/web-static/sass/home/_returns-detail.css @@ -0,0 +1,105 @@ +.detail-me-page { + font-size: 12px; + + .returns-detail .title { + background-image: resolve(/home/returns.png); + } + + .order-info { + background: #efefef; + padding: 10px; + + span { + color: #468fa2; + margin: 0 8px; + } + } + .visual-return-state { + margin: 40px auto; + height: 40px; + width: 560px; + background: resolve(/home/exchange-bg.png) no-repeat top center; + + li { + width: 112px; + padding: 20px 0px 0px 0px; + text-align: center; + float: left; + } + .act { + background: resolve(/home/detail-act.png) no-repeat top center + } + } + .detail-container { + padding: 10px; + + h2 { + height: 21px; + line-height: 21px; + padding-left: 23px; + background: url(../img/home/complaint-icon.png) no-repeat 5px 5px #efefef; + border: 1px #e6e6e6 solid; + font-size: 12px; + color: #333; + font-weight: 400; + margin-bottom: 10px; + } + .courier-code { + margin: 60px auto; + text-align: center; + + .express-edit-box { + display: none; + } + button { + padding: 5px 15px; + } + } + .in-edit { + .express-view-box { + display: none; + } + .express-edit-box { + display: block; + } + } + .main-detail table{ + width: 100%; + + tr { + border: 1px solid #e6e6e6; + } + + td { + text-align: left; + padding: 8px 10px; + border: none; + color: #333; + } + + } + .word-h { + display: none; + } + .refund-tips { + color: #999; + margin-top: 10px; + margin-bottom: 40px; + } + } + + .exchange-detail { + + .word-t { + display: none; + } + + .word-h { + display: inline-block; + } + + .refund-tips span{ + display: none; + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_returns-save.css b/web-static/sass/home/_returns-save.css new file mode 100644 index 0000000..5e5ff0e --- /dev/null +++ b/web-static/sass/home/_returns-save.css @@ -0,0 +1,78 @@ +.save-returns-page { + .title { + background-image: resolve(/home/refund-apply.png); + } + .exchange .title { + background-image: resolve(/home/exchange-apply.png); + } + .save-container { + padding: 10px; + + h2 { + height: 21px; + line-height: 21px; + padding-left: 23px; + background: resolve(home/complaint-icon.png) no-repeat 5px 5px #efefef; + border: 1px #e6e6e6 solid; + font-size: 12px; + color: #333; + font-weight: 400; + } + .save-prompt { + width: 527px; + margin: 0 auto; + padding: 100px 0; + + h1 { + font-size: 30px; + color: #99cc00; + margin-bottom: 20px; + font-weight: bold; + background: resolve(home/return-success-icon.png) no-repeat; + cursor: pointer; + display: inline-block; + height: 31px; + line-height: 31px; + padding-left: 45px; + } + p { + font-size: 12px; + color: #999; + line-height: 23px; + + span { + color: #99cc00; + } + } + .retund-address { + font-size: 15px; + font-weight: bold; + color: #333; + margin-bottom: 15px; + } + .backto-center { + margin-top: 30px; + + label { + width: 174px; + height: 35px; + line-height: 33px; + font-size: 14px; + font-weight: bold; + color: #FFFFFF; + text-align: center; + display: inline-block; + background: resolve(home/back-returns-btn.png) no-repeat; + cursor: pointer; + } + a:first-child { + margin-right: 15px; + + label { + background: resolve(home/back-orders-btn.png) no-repeat; + } + } + } + } + } +} \ No newline at end of file diff --git a/web-static/sass/home/_returns.css b/web-static/sass/home/_returns.css new file mode 100644 index 0000000..58ea6c9 --- /dev/null +++ b/web-static/sass/home/_returns.css @@ -0,0 +1,63 @@ +.returns-me-page { + + .returns .title { + background-image: resolve(/home/returns.png); + } + + .time, + .return-status, + .operation { + width: 100px; + border-left: 1px solid #e6e6e6; + } + + .return-type { + width: 80px; + border-left: 1px solid #e6e6e6; + } + + .order-table-header { + padding: 0; + margin: 10px 10px 0 10px; + border: 1px #e6e6e6 solid; + + > span { + text-align: center; + border-left: none; + } + + .info { + width: 384px; + padding-left: 10px; + text-align: left; + } + + } + + .order-wrap { + + li { + border-top: none; + + .info { + width: 384px; + padding: 5px 0 5px 10px; + } + + .text-info { + width: 300px; + right: 0; + bottom: 15px; + + > * { + text-align: center; + } + + > a:hover { + text-decoration: underline; + } + } + } + } + +} \ No newline at end of file diff --git a/web-static/sass/home/_user-info.css b/web-static/sass/home/_user-info.css new file mode 100644 index 0000000..4e73223 --- /dev/null +++ b/web-static/sass/home/_user-info.css @@ -0,0 +1,919 @@ +.user-me-page { + font-size: 12px; + line-height: 150%; + + form { + display: inline; + } + + strong { + font-weight: bold; + } + + .clear { + zoom: 1; + } + + .clear:after { + content: "."; + display: block; + height: 0; + visibility: hidden; + overflow: hidden; + clear: both; + } + .userinfo-edit { + form { + display: none; + } + h2.title { + background-image:resolve(/home/edit/title-informations.png); + } + } + + .account,.email,.gift,.mobile,.userpwd { + font-size: 12px; + line-height: 150%; + + .title { + position: relative; + } + .title h2 { + height: 16px; + font-size: 14px; + font-weight: bold; + line-height: 16px; + position: absolute; + top: 50%; + margin-top: -8px; + } + .title h2 span { + font-size: 10px; + -webkit-transform: scale(0.85); + display: inline-block; + line-height: 15px; + font-weight: normal; + padding-left: 0px; + } + + + } + + .address { + font-family: arial,"Microsoft YaHei"; + + a{ + color: #468fa2; + text-decoration: none; + } + .a-underline { + text-decoration: underline; + } + &.block { + border: none; + } + input[type='button'] { + margin-top: 0; + } + input#address { + width: 340px; + } + .title { + position: relative; + } + .title h2{ + width: 66px; + height: 16px; + background: resolve(/home/edit/title-address.png) no-repeat; + text-indent: -999em; + float: left; + position: absolute; + top: 50%; + margin-top: -8px; + } + .main { + width: 798px; + padding: 10px 1px 1px 1px; + float: left; + border: 1px solid #dedede; + border-radius: 2px; + } + .address-list { + width: 776px; + margin: 0px 10px; + display: inline; + border: 1px #e6e6e6 solid; + border-bottom: 0px; + float: left; + } + .address-content { + width: 756px; + padding: 10px; + border-bottom: 1px #e6e6e6 solid; + float: left; + + &.preferred { + background: #fdfcdd; + color: #333; + } + } + .address-detail { + width: 596px; + float: left; + } + .address-edit { + width: 150px; + padding: 10px 0px 10px 10px; + text-align: center; + float: left; + } + } + + .btn-c3 { + height: 22px; + background: resolve(/home/edit/btn_hs.png) no-repeat left -66px; + padding-left: 8px; + display: inline-block; + + span { + height: 22px; + line-height: 21px; + background: resolve(/home/edit/btn_hs.png) no-repeat right -66px; + padding-right: 10px; + display: inline-block; + cursor: pointer; + color: #fff; + } + } + + .btn-c2 { + height: 22px; + background: resolve(/home/edit/btn_hs.png) no-repeat left -44px; + padding-left: 8px; + display: inline-block; + } + + .btn-c2 span { + height: 22px; + line-height: 21px; + background: resolve(/home/edit/btn_hs.png) no-repeat right -44px; + padding-right: 10px; + display: inline-block; + cursor: pointer; + color: #b3b3b3; + } + + .main-info { + border-top: 1px solid #ddd; + padding: 20px 10px 10px; + + .p1 { + padding-bottom: 10px; + font-weight: bold; + } + .blue2 { + color: #468fa2; + } + } + + .block { + min-height: 375px; + height: auto; + + + form.first { + display: block; + } + + form#giftCardForm{ + display: block; + } + + form#pwdform{ + display: block; + } + } + + .edit-box { + padding: 10px 11px 11px 11px; + } + + .form-group { + + height: 30px; + border: 1px #fff solid; + margin-bottom: 2px; + line-height: 22px; + font-size: 12px; + font-family: Arial,helvetica,sans-serif; + + + label { + width: 80px; + text-align: right; + color: #333; + float: left; + } + + + } + + .plain { + color: #666; + font-weight: bold; + } + + .width-300 { + width: 300px; + } + + .width-150 { + width: 150px; + } + + .input-1 { + height: 20px; + line-height: 20px; + color: #333; + border: 1px #c9c9c9 solid; + background: resolve(/home/edit/input_1.png) repeat-x #fff; + vertical-align: top; + } + + .btn-b1 { + width: 118px; + height: 34px; + border: 0px; + background: resolve(/home/edit/btn_b1.png) no-repeat; + color: #fff; + font-size: 14px; + font-weight: bold; + padding-right: 10px; + cursor: pointer; + display: inline-block; + margin-top: 12px; + margin-left: 80px; + } + + #btn-reset{ + margin-left: 0; + } + + .tips-p { + margin-left: 10px; + color: #999; + display: inline-block; + } + + .box { + width: 778px; + clear: both; + padding-top: 10px; + margin-bottom: 10px; + float: left; + } + + .sub-title { + clear: both; + height: 21px; + line-height: 21px; + padding-left: 23px; + background: resolve(/home/edit/ico_arrow2.png) no-repeat 5px 5px #efefef; + border: 1px #e6e6e6 solid; + font-size: 12px; + color: #333; + font-weight: normal; + cursor: pointer; + margin-bottom: 2px; + + .more { + padding: 2px 10px 0px 0px; + float: right; + } + + .btn-edit { + width: 37px; + height: 17px; + background: resolve(/home/edit/btn_edit.png) no-repeat; + display: inline-block; + overflow: hidden; + border: 0px; + } + } + + .user-personal-info { + + .user-info { + width: 552px; + padding-right: 38px; + float: left; + } + .user-profile { + width: 148px; + padding: 18px; + text-align: center; + float: right; + border-left: 1px solid #e0e0e0; + + img { + width: 100px; + height: 100px; + margin-bottom: 10px; + } + } + } + + + + .user-favorite-info { + ul { + clear: both; + width: 750px; + padding: 0px 20px 0px 0px; + float: left; + + li { + height: 22px; + padding-left: 20px; + float: left; + font-size: 12px; + } + } + + .brand-box { + width: 725px; + margin: 0px 0px 10px 20px; + display: inline; + padding: 5px 10px 5px 0px; + border: 1px #ccc solid; + background: #f8f8f8; + color: #000; + + li { + height: 22px; + line-height: 22px; + padding: 0px 0px 0px 10px; + float: left; + display: inline-block; + white-space: nowrap; + } + } + + .btn-del { + height: 20px; + line-height: 20px; + border: 0px; + padding-left: 18px; + background: resolve(/home/edit/ico_del.png) no-repeat 0px 2px; + color: #468fa2; + display: inline-block; + overflow: hidden; + text-decoration: none; + vertical-align: middle; + } + + .btn-submit-sm { + width: 56px; + height: 20px; + border: 0px; + font-size: 12px; + color: #fff; + line-height: 20px; + padding: 0px; + margin: 0px; + background: resolve(/home/edit/btn_s1_z2.png) repeat-x; + text-align: center; + display: inline-block; + cursor: pointer; + } + + span { + color: #999; + line-height: 25px; + display: inline-block; + } + .form-group { + clear: both; + width: 730px; + padding: 0px 20px 5px 20px; + float: left; + } + } + + + .account-row { + padding: 30px 0; + border-bottom: 1px solid #ddd; + + .content { + height: 32px; + line-height: 32px; + position: relative; + + div { + float: left; + display: inline-block; + } + + .left-content { + width: 200px; + } + + .middle-content { + width: 500px; + .tip { + color: #666; + &.red { + color: #ee0011; + } + } + } + .right-content { + width: 75px; + height: 20px; + line-height: 20px; + position: absolute; + top: 50%; + margin-top: -10px; + text-align: center; + } + } + + .center { + text-align: center; + } + + a { + text-decoration: none; + color: #666; + outline: none; + } + + [class^="icon-"], [class*=" icon-"] { + height: 32px; + line-height: 32px; + vertical-align: middle; + display: inline-block; + padding-left: 42px; + margin-left: 20px; + } + + .icon-ok { + background: resolve(/home/edit/icon-32.png) no-repeat 0 0; + } + .icon-warning { + background: resolve(/home/edit/icon-32.png) no-repeat 0 -32px; + } + + .account-type { + font-size: 18px; + line-height: 32px; + display: inline-block; + padding-left: 20px; + } + } + + .button-icon20 { + padding-left: 5px; + background: resolve(/home/edit/btn_bg_20.png) no-repeat left 0px; + display: inline-block; + cursor: pointer; + } + + .button-icon20 i { + font-style: normal; + background: resolve(/home/edit/btn_bg_20.png) repeat-x left -20px; + display: inline-block; + height: 20px; + line-height: 20px; + text-align: center; + } + + .button-sliver20 i { + background-position: left -80px; + width: 52px; + } + .button-icon20 span { + background: resolve(/home/edit/btn_bg_20.png) no-repeat right -40px; + display: inline-block; + padding-right: 5px; + } + .button-sliver20 span { + background-position: right -100px; + } + + .button-sliver20 { + background-position: left -60px; + } + + .gift-box { + padding: 10px 11px 11px 11px; + + h2 { + height: 16px; + font-size: 14px; + font-weight: bold; + line-height: 16px; + } + + li { + font-size: 12px; + font-family: arial,"Microsoft YaHei"; + margin-bottom: 25px; + } + + .gift-input { + width: 60px; + height: 20px; + line-height: 20px; + color: #333; + border: 1px #c9c9c9 solid; + background: resolve(/home/edit/input_1.png) repeat-x #fff; + } + + .gift-error { + color: red; + margin-left: 10px; + } + + #imgcode { + border: 0; + vertical-align: middle; + outline: none; + } + + .check-img { + color: #468fa2; + text-decoration: underline; + } + + .btn-b1 { + margin:0; + } + } + + .form-error { + background: resolve(/home/onError.png) no-repeat 5px 9px #fff2e8; + padding-left: 25px; + padding-right: 5px; + font-size: 12px; + line-height: 30px; + height: 30px; + display: inline-block; + color: #e8044f; + margin-left: 5px; + } + + .form-success { + background: resolve(/home/onCorrect.png) no-repeat 5px 9px #E9FFEB; + padding-left: 25px; + padding-right: 5px; + font-size: 12px; + line-height: 30px; + height: 30px; + display: inline-block; + color: #008000; + margin-left: 5px; + } + + .form-prompt,.form-focus { + background: resolve(/home/onShow.png) no-repeat 5px 9px; + padding-left: 25px; + font-size: 12px; + line-height: 30px; + height: 30px; + display: inline-block; + color: #999; + } + + .form-focus { + background: resolve(/home/onShow.png) no-repeat 5px 9px #E9F0FF; + color: #666; + } + + .add-address { + width: 778px; + padding: 10px 0; + float: left; + h2 { + clear: both; + height: 21px; + line-height: 21px; + padding-left: 23px; + margin-left: 10px; + background: resolve(/home/edit/ico_arrow2.png) no-repeat 5px 5px #efefef; + border: 1px #e6e6e6 solid; + font-size: 12px; + color: #333; + font-weight: normal; + } + + .form-group { + width: 130%; + } + + .add-address-detail { + padding: 10px 0px; + + .form-info { + vertical-align: middle; + line-height: 22px; + height: 22px; + background-position: 5px 5px; + } + } + + #btnReset { + margin-left: 0; + } + } + + .gift-ok { + padding: 50px 260px; + height: 310px; + + h3 { + font-size: 18px; + height: 22px; + line-height: 25px; + padding-left: 25px; + color: #000; + background: resolve(/home/edit/ico_i_sf.png) no-repeat; + } + + .fail { + background-position: 0px -22px; + } + + .success { + background-position:0px 0px; + } + + .currency-info { + margin-top: 20px; + padding-left: 25px; + } + + .gift-red { + color: #BC0029; + font-size: 16px; + font-weight: bold; + margin-left: 5px; + } + + .yoho-currency { + font-size: 16px; + font-weight: bold; + color: #3E3E3E; + } + } + + .check-safe { + padding: 10px 11px 11px 11px; + height: auto; + overflow: hidden; + + .form-success { + background: url(../img/home/onCorrect.png) no-repeat 5px 9px; + } + + .progress-bar { + width: 780px; + height: 24px; + + li { + float: left; + width: 260px; + color: #666; + text-align: center; + height: 24px; + line-height: 24px; + } + + li.cur { + color: #fff; + } + } + + .progress1 { + background: resolve(/home/edit/icon-bar.png) no-repeat; + } + + .progress2 { + background: resolve(/home/edit/icon-bar.png) no-repeat 0 -24px; + } + + .progress3 { + background: resolve(/home/edit/icon-bar.png) no-repeat 0 -48px; + } + + input[type=text],input[type=password] { + height: 28px; + border: 1px solid #bebebe; + line-height: 28px; + padding: 0 5px; + } + + .form-nav { + padding: 30px 0; + + ul { + width: 690px; + margin:0 auto; + } + + li { + padding: 10px 0; + float: left; + } + + .safe-form-l { + float: left; + width: 220px; + line-height: 30px; + padding: 0 5px; + text-align: right; + } + + .safe-form-r { + width: 380px; + line-height: 30px; + float:left; + } + + .input-text { + width: 208px; + } + + .input-code { + width: 60px; + margin-right:5px; + } + + #the-code-img { + border: 0; + vertical-align: middle; + outline: none; + } + + .change-code { + height: 30px; + padding: 0px 0px 0px 5px; + line-height: 15px; + display: inline-block; + vertical-align: middle; + color: #666; + } + + .the-code { + color: #468fa2; + } + + .btn-b1 { + margin: 0; + } + + .check-info { + display: inline-block; + vertical-align: top; + } + + .input-error { + border: 2px solid #e8044f; + height: 26px; + padding: 0 4px; + } + } + + } + + .feedback { + dt { + height: 20px; + line-height: 20px; + background: resolve(/home/suggest-icon.png) no-repeat 2px 3px; + padding: 0px 0px 0px 20px; + float: left; + font-family: arial,"Microsoft YaHei"; + font-size: 12px; + + a { + color: #468fa2; + } + } + + dd { + float: right; + } + } + + .button-top { + width: 66px; + height: 22px; + padding-left: 10px; + line-height: 21px; + border: 0px; + text-align: center; + background: resolve(/home/btn_top.png) no-repeat; + color: #666; + font-size: 12px; + cursor: pointer; + display: inline-block; + } + + .rgb6 { + color: #666; + } + + .font14 { + font-size: 14px; + } + + .button-icon { + padding-left: 5px; + background: resolve(home/button-icon.png) no-repeat left 0px; + display: inline-block; + cursor: pointer; + + i { + font-style: normal; + background: resolve(home/button-icon.png) repeat-x left -33px; + display: inline-block; + height: 33px; + line-height: 33px; + text-align: center; + } + + span { + background: resolve(home/button-icon.png) no-repeat right -66px; + display: inline-block; + padding-right: 5px; + } + } + + .button-red { + background-position: left -99px; + color: #fff; + + i { + background-position: left -134px; + width: 120px; + + .btn-jt { + background:resolve(home/btn-jt.png) no-repeat; + width: 5px; + height: 8px; + display: inline-block; + margin-left: 10px; + } + } + + span { + background-position: right -169px; + } + } + + .button-sliver { + i { + width: 100px; + color: #666; + } + } + + .result-info { + padding: 30px 0; + min-height: 360px; + width: 380px; + margin: 0 auto; + + p { + line-height:24px; + } + + .info-detail { + margin-top: 20px; + text-align: left; + } + + .button-icon { + margin-top: 20px; + } + } + + .res-info { + height: 24px; + padding-left: 28px; + font-size: 20px; + color: #000; + display: block; + margin: 0 auto; + width: 214px; + line-height: 24px; + } + + .res-success { + background: resolve(/home/icon-24.png) no-repeat; + } +} + + diff --git a/web-static/sass/index.css b/web-static/sass/index.css index 227dce6..ee31e7b 100644 --- a/web-static/sass/index.css +++ b/web-static/sass/index.css @@ -124,6 +124,15 @@ a { color: #000; } +.body-mask { + position: absolute; + z-index: 100; + background: #000; + opacity: 0.2; + top: 0; + left: 0; +} + @define-mixin ellipsis { overflow: hidden; text-overflow: ellipsis; @@ -135,14 +144,17 @@ a { @import "footer"; @import "path-nav"; @import "plugin/slider"; +@import "plugin/dialog"; @import "pager"; @import "error"; +@import "share"; /*模块*/ @import "product/index"; @import "passport/index"; @import "guang/index"; +@import "index/index"; @import "home/index"; +@import "help/index"; @import "order/index"; -@import "me/index"; @import "cart/index"; \ No newline at end of file diff --git a/web-static/sass/index/_brand.css b/web-static/sass/index/_brand.css new file mode 100644 index 0000000..d4f62c6 --- /dev/null +++ b/web-static/sass/index/_brand.css @@ -0,0 +1,760 @@ +.brands { + /*路径导航样式重置*/ + .path-nav { + border-bottom: none; + margin-bottom: 0; + padding-top: 10px; + padding-bottom: 20px; + } + + .brands-tabs { + position: relative; + a { + display: block; + img { + width: 100%; + height: 100%; + display: block; + } + } + li { + float: left; + p { + display: block; + font-size: 30px; + text-align: center; + color: #dedede; + position: absolute; + top: 50%; + width: 100%; + margin-top: -15px; + z-index: 3; + } + .g-mask { + opacity: 0.4; + } + &:hover .g-mask, + .g-mask-on { + opacity: 0; + } + } + .hover-contain { + position: relative; + border-bottom: 1px solid #dfdfdf; + .hoverarr { + background-color: #3d3d3d; + position: absolute; + bottom: 0; + z-index: 10; + 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; + } + } + } + } + .header-navs { + margin-right: -15px; + } + .category-nav { + border: 2px solid #222; + padding-left: 16px; + height: 44px; + line-height: 44px; + font-size: 12px; + font-weight: bold; + position: relative; + z-index: 100; + background-color: #fff; + span { + display: inline-block; + margin-right: 15px; + } + a { + display: inline-block; + padding: 0 7px; + text-align: center; + color: #222; + cursor: pointer; + } + } + .category-fix { + position: fixed; + top: 0; + z-index: 100; + margin-top: 0 !important; + } + .brands-list { + dl { + position: relative; + border-top: 1px dotted #999; + padding: 20px 0; + } + dt { + position: absolute; + width: 130px; + text-align: center; + font-weight: bold; + font-size: 16px; + text-align: center; + top: 50%; + margin-top: -9px; + } + dd { + margin-left: 130px; + li { + float: left; + display: block; + width: 170px; + height: 18px; + } + a { + color: #666; + line-height: 18px; + font-size: 12px; + position: relative; + span { + max-width: 150px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + display: inline-block; + &:hover{ + text-decoration: underline; + } + } + } + .brands-dialog { + display: inline; + position: relative; + } + .hot { + font-weight: bold; + color:#222; + } + i { + position: relative; + top: -4px; + color: #ee0011; + font-size: 14px; + } + } + } + + .brands-category { + width: 1150px; + } + + .brands-tabs { + width: 100%; + li { + margin-left: 10px; + a { + position: relative; + width: 222px; + height: 180px; + } + } + li:first-child { + margin-left: 0; + } + .hover-contain { + height: 30px; + + .hoverarr { + height: 5px; + width: 222px; + } + } + } + + .brands-ad, .brands-logo { + margin: 20px 0; + } + + .brands-ad li { + float: left; + margin-left: 10px; + + img { + display: block; + width: 280px; + height: 280px; + } + + &:first-child { + margin-left: 0; + + img { + width: 570px; + } + } + } + + .brands-logo a { + float: left; + margin-left: 26px; + + &:first-child { + margin-left: 0; + } + + img { + display: block; + width: 91px; + height: 38px; + } + } + + .list-floor { + width: 1160px; + } + + .brandfloor { + .g-list { + margin-top: -32px; + } + li { + margin-right: 8px; + margin-top: 32px; + a { + width: 378px; + height: 250px; + } + } + } + .singlegoods { + .g-list { + margin-top: -10px; + } + li { + margin-right: 10px; + margin-top: 10px; + a { + width: 280px; + height: 374px; + } + } + .singlegoods-title { + position: absolute; + left: 0; + bottom: 0; + height: 50px; + width: 100%; + 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; + } + } + } + .video { + .g-list { + margin-top: -10px; + } + li { + margin-right: 8px; + margin-top: 10px; + a { + width: 378px; + height: 242px; + } + } + .video-play { + display: block; + position: absolute; + left: 50%; + top: 50%; + margin-left: -30px; + margin-top: -28px; + width: 60px; + height: 56px; + background-image: resolve(/index/play.png); + } + .video-title { + position: absolute; + left: 0; + bottom: 0; + height: 32px; + width: 100%; + 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; + } + } + } + .news { + margin-bottom: 40px; + .news-pic{ + position: relative; + float: left; + width: 764px; + height: 436px; + .slide-container { + height: 100%; + li a { + height: 100%; + width: 764px; + } + + .slide-wrapper { + height: 100%; + } + .slide-switch { + display: none; + + .prev { + left: 0; + margin-left: 0; + } + .next { + right: 0; + margin-right: 0; + } + } + .slide-switch.show { + display: block; + } + } + .slide-tips{ + position: absolute; + left: 0; + bottom: 0; + height: 30px; + width: 100%; + background: #000; + opacity: .8; + + p{ + position: absolute; + left: 18px; + z-index: 2; + height: 30px; + font-size: 14px; + line-height: 30px; + color: #fff; + } + } + .slide-pagination{ + right: 0; + left: auto; + bottom: 0; + .slide-shade{ + opacity: 0; + background:none; + } + span { + margin-top: 3px; + } + } + } + .news-txt { + float: right; + padding: 20px 16px; + float: right; + border: 1px solid #000; + overflow: hidden; + ul { + height: 100%; + } + li { + position: relative; + display: block; + margin-bottom: 10px; + margin-left: 20px; + } + a { + font-size: 14px; + line-height: 27px; + cursor: pointer; + color: #010101; + display: block; + &:hover { + color: #fff; + background: #000; + padding-left: 12px; + transition: padding 0.4s; + } + } + i { + position: absolute; + top: 0; + left: -26px; + font-size: 22px; + } + } + .news-txt { + width: 342px; + height: 394px; + } + } + + .ads { + margin: 40px 0; + + li { + margin-right: 10px; + margin-bottom: 10px; + a { + width: 280px; + img { + height: 160px; + } + } + .name { + font-size: 14px + } + .des { + font-size: 12px; + } + } + } + + .brands-items{ + margin: 25px auto; + .brands-item { + float: left; + padding: 15px 0; + width: 50%; + } + a.brands-pic { + float: left; + width: 280px; + height: 136px; + display: block; + img { + width: 100%; + height: 100%; + } + } + .brand-info { + float: right; + padding: 0 20px; + width: 255px; + color: #000; + h3 { + width: 100%; + font-size: 20px; + line-height: 1; + @mixin ellipsis; + } + .brand-desc { + padding: 12px 0; + height: 92px; + font-size: 14px; + line-height: 22px; + overflow: hidden; + } + } + } + .pagination { + margin: 40px 0 80px; + text-align: center; + a { + height: 24px; + padding: 0 9px; + line-height: 24px; + display: inline-block; + text-align: center; + margin-right: 8px; + color: #222; + font-size: 12px; + i { + position: relative; + top: -1px; + font-size: 10px; + transform: scale(0.8); + } + } + a.cur { + background: #222; + color: #fff; + } + } +} + +.min-screen .brands { + .header-navs { + margin-right: -10px; + } + .sit-nav { + padding-top: 10px; + font-size: 12px; + .sep { + margin: 0 6px; + } + } + .brands-category { + width: 990px; + } + .brands-tabs { + li { + a { + width: 190px; + height: 154px; + } + } + .hover-contain { + height: 25px; + .hoverarr { + height: 4px; + width: 190px; + } + } + } + + .brands-ad li { + img { + width: 240px; + height: 240px; + } + + &:first-child img { + width: 490px; + } + } + + .brands-logo a { + margin-left: 10px; + + &:first-child { + margin-left: 0; + } + + img { + width: 90px; + height: 37px; + } + } + + .list-floor { + width: 1000px; + } + + .brandfloor { + .g-list { + margin-top: -26px; + } + li { + margin-right: 9px; + margin-top: 26px; + a { + width: 324px; + height: 214px; + } + } + } + .singlegoods { + .g-list { + margin-top: -10px; + } + li { + margin-right: 10px; + margin-top: 10px; + a { + width: 240px; + height: 324px; + } + } + .singlegoods-title { + position: absolute; + left: 0; + bottom: 0; + height: 50px; + width: 100%; + 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; + } + } + } + .video { + .g-list { + margin-top: -10px; + } + li { + margin-right: 9px; + margin-top: 10px; + a { + width: 324px; + height: 206px; + } + } + .video-play { + display: block; + position: absolute; + left: 50%; + top: 50%; + margin-left: -30px; + margin-top: -28px; + width: 60px; + height: 56px; + background-image: resolve(/index/play.png); + } + .video-title { + position: absolute; + left: 0; + bottom: 0; + height: 30px; + width: 100%; + p { + position: absolute; + z-index: 2; + top: 0; + left: 0; + display: block;; + width: 100%; + height: 100%; + font-size: 14px; + line-height: 30px; + text-align: center; + color: #fff; + } + } + } + .news { + .news-pic { + width: 660px; + height: 376px; + .slide-container { + height: 376px; + img { + height: 376px; + } + } + } + .news-txt { + width: 284px; + height: 334px; + li { + margin-bottom: 13px; + } + } + } + .ads { + margin-bottom: 30px; + + li { + margin-right: 10px; + margin-bottom: 10px; + a { + width: 240px; + img { + height: 138px; + } + } + .name { + font-size: 14px + } + .des { + font-size: 12px; + } + } + } + .brands-items { + a.brands-pic { + width: 240px; + height: 116px; + } + .brand-info { + width: 212px; + .brand-desc { + height: 72px; + } + } + } +} + +.brands-layer { + position: absolute; + z-index: 100; + top: -83px; + left: 15px; + width: 325px; + height: 287px; + background: resolve(/index/brands-layer.png) no-repeat; + font-weight: normal; + + .layer-content { + padding: 20px 20px 20px 35px; + .title { + font-size: 24px; + line-height: 24px; + border-bottom: 1px solid #ccc; + padding-bottom: 5px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + .desc { + margin: 5px 0 5px 0; + height: 72px; + overflow: hidden; + img { + width: 80px; + height: 50px; + margin: 3px 5px 0 0; + float: left; + } + .right { + width: 180px; + float: right; + font-size: 12px; + line-height: 150%; + max-height: 80px; + } + } + .featured { + font-size: 16px; + margin-right: -15px; + img { + height: 100px; + width: 80px; + float: left; + margin: 15px 15px 0 0; + } + } + } +} +.brands-layer-right { + background: resolve(/index/brands-layer.png) no-repeat 0 -287px; + left: -325px; + top: -83px; + + .layer-content { + padding: 20px 35px 20px 20px; + } +} \ No newline at end of file diff --git a/web-static/sass/index/_index-pliffy.css b/web-static/sass/index/_index-pliffy.css new file mode 100644 index 0000000..dd4e5d7 --- /dev/null +++ b/web-static/sass/index/_index-pliffy.css @@ -0,0 +1,500 @@ +/*公共样式*/ +.g-list { + li { + float: left; + a { + position: relative; + display: block; + overflow: hidden; + img { + width: 100%; + height: 100%; + } + } + } +} + +.g-mask { + display: block; + position: absolute; + height: 100%; + width: 100%; + z-index: 1; + background: #000; + opacity: 0.5; + overflow: hidden; + transition: opacity 0.6s; +} + +.g-title { + display: block; + text-align: center; + font-weight: bold; + line-height: 1.5; + width: 100%; + margin-top: 14px; +} + +/*热门推荐模板样式*/ +.home-page { + .tpl-recommend { + width: 100%; + position: relative; + a { + display: block; + img { + display: block; + width: 100%; + height: 100%; + } + } + .tpl-body { + margin-bottom:8px; + } + .tpl-nav { + float: left; + overflow: hidden; + .tpl-keywords { + margin-bottom: 8px; + } + + .tpl-category { + padding: 10px 0; + background-color: #f8f8f8; + overflow: hidden; + + a { + float: left; + width: 50%; + text-align: center; + color: #000; + overflow: hidden; + } + } + } + .tpl-brands { + float: left; + overflow: hidden; + margin-left: 8px; + li { + margin-top: 8px; + } + } + .tpl-types { + float: left; + overflow: hidden; + margin-top: -8px; + width: 579px; + + li { + float: left; + margin-left: 8px; + margin-top: 8px; + + a { + width: 185px; + height: 248px; + } + } + } + .tpl-products { + overflow: hidden; + margin-left:-10px; + li { + float: left; + margin-left:10px; + + a { + width: 222px; + height: 298px; + } + } + } + + .tpl-nav{ + width: 185px; + + .keywords0, + .keywords1, + .keywords2 { + margin-bottom:10px; + height: 76px; + } + .keywords2 { + margin-bottom:0px; + } + .tpl-category { + height: 228px; + + a { + height: 38px; + line-height: 38px; + font-size: 14px; + } + } + } + + .tpl-brands { + width: 378px; + height: 512px; + + li a { + height: 248px; + } + } + } +} + +.min-screen .home-page .tpl-recommend { + .tpl-nav { + width: 158px; + + .keywords0, + .keywords1, + .keywords2 { + margin-bottom:8px; + height: 65px; + } + + .keywords2 { + margin-bottom:0px; + } + + .tpl-category { + height: 192px; + + a { + height: 32px; + line-height: 32px; + font-size: 12px; + + &:hover{ + text-decoration: underline; + } + } + } + } + .tpl-brands{ + width: 324px; + height: 432px; + li a { + height: 212px; + } + } + .tpl-types { + width: 498px; + li a { + width: 158px; + height: 212px; + } + } + .tpl-products li a { + width: 190px; + height: 254px; + } +} + +/*单品模板样式*/ +.home-page { + .singlehot { + overflow: hidden; + margin-left:-8px; + + li { + margin-left: 8px; + margin-bottom: 8px; + + a { + width: 185px; + height: 248px; + } + } + + .impo1, + .impo9 { + width: 378px; + } + } + + .floor-ad a { + display: block; + height: 129px; + + img { + display: block; + width: 100%; + height: 100%; + } + } + + .goods-container { + margin-right: -10px; + width: inherit; + padding-top: 0; + + .good-info { + margin-bottom: 0px; + width: 280px; + height: 485px; + } + + .good-detail-img { + height: 374px; + } + + .good-detail-text { + text-align: center; + } + } + .adbanner { + margin-top:12px; + a { + height: 150px; + } + } +} +.min-screen .home-page { + .singlehot { + li a { + width: 158px; + height: 212px; + } + .impo1, + .impo9{ + width: 323px; + } + } + .goods-container { + .good-info { + width: 240px; + height: 412px; + + .good-detail-img { + height: 320px; + } + } + } +} + +/*人气单品 */ +.home-page .commodity { + .commodity-list{ + margin-left: -10px; + a { + height: 465px; + width: 280px; + } + li { + margin-left: 10px; + } + i { + position: absolute; + bottom: 0; + width: 100%; + height: 20px; + background: #ffac5b; + color: #fff; + line-height: 20px; + text-align: center; + font-size: 12px; + } + i.top { + position: absolute; + top: 10px; + right: 10px; + background-color: rgb(255,87,92); + color: #fff; + border-radius: 30px; + z-index: 2; + height: 60px; + width: 60px; + line-height: 60px; + font-size: 20px; + } + .commodity-img { + position: relative; + height: 374px; + } + p.commodity-name { + font-size: 12px; + color: #000; + text-align: center; + margin-top: 14px; + line-height: 18px; + } + p.commodity-price { + position: relative; + margin: 3px 0 0 0; + text-align: center; + line-height: 20px; + color: #000; + span { + display: inline-block; + font-size: 12px; + } + } + } + .commodity-brands { + margin-left: -8px; + a { + float: left; + margin-left: 8px; + display: block; + width: 185px; + height: 86px; + img { + width: 100%; + height: 100%; + } + } + } + .loading { + position: relative; + width: 100%; + text-align: center; + padding-top: 40px; + 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; + } + } +} + +.min-screen .home-page .commodity { + .commodity-list { + a { + height: 400px; + width: 240px; + } + .commodity-img { + height: 320px; + } + i.top { + height: 52px; + width: 52px; + line-height: 52px; + font-size: 14px; + } + } + .commodity-brands { + a { + width: 158px; + height: 74px; + } + } +} + +/*手风琴*/ +.home-page { + .slide-accordion { + overflow: hidden; + position: relative; + height: 400px; + + a { + position: relative; + display: block; + img { + display: block; + width: 100%; + height: 100%; + } + } + ul { + position: absolute; + left: -5px; + } + li { + position: absolute; + border-left: 5px solid #fff; + a { + width: 650px; + height: 400px; + } + } + .g-mask { + opacity: 0.2; + &:hover { + opacity: 0; + } + } + } +} + +.min-screen .home-page .slide-accordion { + height: 342px; + li a { + width: 558px; + height: 342px; + } +} + + +.boys { + .tpl-nav { + .keywords0 { + margin-bottom: 10px !important; + height: 152px !important; + } + .keywords1 { + height: 86px !important; + } + .tpl-category { + a { + height: 38px !important; + line-height: 38px !important; + font-size: 14px !important; + } + } + } + .tpl-brands { + margin-top:-8px !important; + } +} +.boys,.lifestyle { + .goods-container { + .good-info { + width: 222px !important; + height: 408px !important; + .good-detail-img { + height: 298px !important; + } + } + } +} + +.min-screen { + .boys { + .tpl-nav { + .keywords0 { + margin-bottom: 8px !important; + height: 130px !important; + } + .keywords1 { + margin-bottom: 0 !important; + height: 74px !important; + } + } + .tpl-brands { + margin-top: -8px !important; + } + } + .boys,.lifestyle { + .goods-container { + .good-info { + width: 188px; + height: 360px; + .good-detail-img { + height: 255px; + } + } + } + } +} \ No newline at end of file diff --git a/web-static/sass/index/_index.css b/web-static/sass/index/_index.css new file mode 100644 index 0000000..d93d04c --- /dev/null +++ b/web-static/sass/index/_index.css @@ -0,0 +1,580 @@ +.home-page { + width: 1150px; + margin: 10px auto 0; + + .slide-container { + position: absolute; + left: 0; + right: 0; + height: 450px; + } + + .slide-thumb-container { + height: 510px; + } + + .slide-wrapper { + position: relative; + height: 450px; + overflow: hidden; + + ul { + position: relative; + height: 100%; + } + + &:hover .slide-switch.show { + display: block; + } + + li { + display: none; + position: absolute; + top: 0; + right: 0; + width: 100%; + height: 100%; + + a { + display: block; + height: 100%; + width: 1150px; + margin: 0 auto; + } + + &:first-child { + display: block; + } + + img { + width: 100%; + height: 100%; + } + } + } + + .slide-container-placeholder { + height: 450px; + width: 100%; + + } + + .slide-thumb-container-placeholder { + height: 510px; + } + + .slide-switch { + display: block; + + a { + position: absolute; + top: 50%; + margin: -30px 0 0; + width: 60px; + height: 60px; + line-height: 56px; + text-align: center; + z-index: 2; + background: #fff; + opacity: 0.55; + + &.prev { + left: 50%; + margin-left: -575px; + } + + &.next { + right: 50%; + margin-right: -575px; + } + + &:hover{ + opacity: 0.9; + } + + .iconfont { + font-size: 32px; + color: #59585a; + } + } + } + + .thumb-pagination { + width: 1148px; + margin: 6px auto 0; + padding-left: 2px; + + li { + position: relative; + float: left; + margin-left: 6px; + width: 138px; + height: 54px; + + &:first-child { + margin: 0; + } + + &.focus a { + opacity: 0; + } + + a { + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 0; + background: #000; + opacity: 0.3 + } + + img { + width: 100%; + height: 100%; + } + } + } + + /*大banner圆点*/ + .slide-pagination { + font-size: 0; + + .slide-shade { + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + background: #000; + opacity: 0.3; + border-radius: 13px; + } + + span { + position: relative; + display: inline-block; + margin: 0 7px; + width: 12px; + height: 12px; + background: #fff; + cursor: pointer; + opacity: 0.6; + border-radius: 6px; + z-index: 2; + + &.focus { + opacity: 1; + } + } + } + + .debris-slider { + height: 510px; + width: 100%; + + .col { + float: left; + + a { + display: block; + } + } + + .left-col a, + .right-col a { + margin-bottom: 10px; + + &:last-child { + margin-bottom: 0; + } + } + + .right-col img, + .left-col img { + height: 100%; + width: 100%; + } + + .left-col { + margin-right: 10px; + + a { + width: 280px; + height: 120px; + } + + a:first-child { + height: 250px; + } + } + + .center-col { + position: relative; + width: 570px; + height: 100%; + margin-right: 10px; + font-size: 0; + + &:hover { + .slide-switch.show { + display: block; + } + } + + .slide-wrapper { + height: 100%; + + li { + a { + width: 100%; + } + } + } + + .slide-switch { + a.prev { + left: 0; + margin-left: 0; + } + a.next { + right: 0; + margin-right: 0; + } + } + + img { + max-width: 100%; + max-height: 100%; + } + } + + .right-col a { + width: 280px; + height: 120px; + } + + .right-col a:first-child { + height: 380px; + margin-bottom: 11px; + } + } + + .new-report { + img { + display: block; + width: 100%; + height: 100%; + } + + .report-list { + float: left; + width: 868px; + + li { + float: left; + margin: 0 8px 8px 0; + width: 185px; + height: 248px; + overflow: hidden; + + &:first-child { + margin-right: 7px; + width: 282px; + height: 504px; + } + } + } + + .last-item { + float: left; + width: 282px; + height: 504px; + overflow: hidden; + } + } + + /*优选品牌*/ + .preference-brand { + overflow: hidden; + } + + .preference-brand-list { + margin-top: 8px; + width: 1158px; + } + + .preference-brand-item { + float: left; + margin-right: 8px; + margin-bottom: 8px; + + a { + display: table-cell; + width: 185px; + height: 86px; + text-align: center; + vertical-align: middle; + } + + img { + display: block; + max-width: 100%; + max-height: 100%; + margin: 0 auto; + } + } + + .preference-more { + float: left; + width: 185px; + height: 86px; + line-height: 100px; + text-align: center; + color: black; + font-size: 16px; + } + + .img-slider-wrapper { + position: relative; + width: 100%; + height: 558px; + background: #8ae6e0; + overflow: hidden; + + .img-brand-switch { + display: block; + a { + position: absolute; + top: 50%; + font-size: 36px; + color: #fff; + + &.next { + right: 30px; + } + + &.prev { + left: 30px; + } + } + } + } + + .img-container-landscape { + box-sizing: border-box; + margin: 86px auto 0; + width: 982px; + height: 433px; + overflow: hidden; + + .img-list { + width: 1000px; + height: 100%; + } + + .img-item { + float: left; + box-sizing: border-box; + width: 320px; + height: 100%; + margin-right: 10px; + + img { + width: 100%; + height: 100%; + } + } + } + + .img-brand { + position: relative; + width: 100%; + height: 175px; + overflow: hidden; + + &:hover { + .img-brand-switch { + display: block; + } + } + ul { + width: 1158px; + } + li { + float: left; + margin: 0 8px 0 0; + width: 378px; + height: 175px; + line-height: 175px; + overflow: hidden; + font-size: 0; + text-align: center; + + img { + max-width: 100%; + max-height: 100%; + vertical-align: middle; + } + } + .img-brand-switch { + display: none; + a { + position: absolute; + top: 50%; + margin: -20px 0 0; + width: 40px; + height: 40px; + line-height: 40px; + text-align: center; + z-index: 2; + background: #fff; + opacity: 0.55; + + &.prev { + left: 0; + } + &.next { + right: 0; + } + &:hover { + opacity: 0.9; + + } + } + } + } + + .logo-brand { + width: 100%; + height: 282px; + overflow: hidden; + + &.logos-10 { + height: 188px; + } + + ul { + width: 1158px; + } + + li { + float: left; + margin: 8px 8px 0 0; + width: 185px; + height: 86px; + line-height: 86px; + font-size: 0; + text-align: center; + img { + max-width: 100%; + max-height: 100%; + vertical-align: middle; + } + } + + .logo-brand-switch { + position: relative; + background: resolve(/index/logo-brand-line.png) no-repeat center center; + line-height: normal; + + .iconfont { + position: absolute; + left: 50%; + font-size: 32px; + + &.prev { + top: 10px; + + margin-left: -48px; + } + &.next { + bottom: 12px; + margin-left: 20px; + } + } + } + + .brand-more { + font-size: 16px; + + &:hover { + text-decoration: underline; + } + } + } + + .categorys-list { + ul { + width: 1158px; + } + + li { + float: left; + margin: 0 8px 8px 0; + width: 185px; + height: 248px; + + &.cate-item0 { + width: 185px; + height: 504px; + } + + &.cate-item1 { + width: 377px; + height: 504px; + } + + img { + display: block; + width: 100%; + height: 100%; + } + } + } + + .floor-header { + position: relative; + margin: 80px 0 40px; + + .floor-title { + margin: 0 auto; + width: 298px; + height: 31px; + line-height: 31px; + border: 1px solid #000; + font-size: 16px; + text-align: center; + } + + .header-navs { + position: absolute; + padding: 10px 0; + top: 0; + right: 0; + font-size: 14px; + + li { + float: left; + padding: 1px 15px; + border-left: 1px solid #ccc; + + &:first-child { + border-left: none; + } + + &:hover { + text-decoration: underline; + } + + a { + color: #333; + } + } + } + } +} + +@import "index-pliffy"; +@import "min-index"; +@import "brand"; \ No newline at end of file diff --git a/web-static/sass/index/_min-index.css b/web-static/sass/index/_min-index.css new file mode 100644 index 0000000..c2fdc3d --- /dev/null +++ b/web-static/sass/index/_min-index.css @@ -0,0 +1,238 @@ +/*首页990*/ +.min-screen .home-page { + width: 990px; + + /*大banner*/ + .slide-container { + height: 387px; + + img { + display: block; + } + } + + .slide-thumb-container { + height: 440px; + } + + .slide-container-placeholder { + height: 387px; + } + + .slide-thumb-container-placeholder { + height: 440px; + } + + /*大banner大图*/ + .slide-wrapper { + height: 387px; + + li { + a { + width: 990px; + } + } + } + + /*大图上的左右切换按钮*/ + .slide-switch { + display: block; + + a { + &.prev { + margin-left: -495px; + } + + &.next { + margin-right: -495px; + } + + &:hover{ + opacity: 0.9; + } + } + } + + /*大banner缩略图*/ + .thumb-pagination { + width: 990px; + margin: 7px auto 0; + padding: 0; + + li { + width: 118px; + height: 46px; + } + } + + /*女首碎片banner*/ + .debris-slider { + height: 440px; + + .left-col { + margin-right: 9px; + + a { + width: 240px; + height: 103px; + } + + a:first-child { + height: 214px; + } + } + + .center-col { + width: 492px; + margin-right: 9px; + } + + .right-col a { + width: 240px; + height: 103px; + } + + .right-col a:first-child { + height: 326px; + margin-bottom: 10px; + } + } + + /*男首最新速报*/ + .new-report { + .report-list { + width: 748px; + + li { + width: 158px; + height: 212px; + + &:first-child { + width: 242px; + height: 432px; + } + } + } + + .last-item { + width: 242px; + height: 432px; + } + } + + /*优选品牌*/ + .preference-brand-list { + width: 998px; + } + + .preference-brand-item { + margin-right: 7px; + + a { + width: 159px; + height: 74px; + } + } + + .preference-more { + width: 159px; + height: 74px; + line-height: 90px; + } + + .img-slider-wrapper { + height: 480px; + } + + .img-container-landscape { + margin: 73px auto 0; + width: 844px; + height: 370px; + + .img-item { + width: 275px; + height: 100%; + margin-right: 9px; + } + } + + /*男首优选品牌 图片品牌*/ + .img-brand { + height: 150px; + ul { + width: 998px; + } + li { + width: 325px; + height: 150px; + line-height: 150px; + } + } + + /*男首优选品牌 logo品牌*/ + .logo-brand { + height: 246px; + + &.logos-10 { + height: 164px; + } + + ul { + width: 998px; + } + + li { + margin: 8px 8px 0 0; + width: 158px; + height: 74px; + line-height: 74px; + } + + .logo-brand-switch { + .iconfont { + font-size: 24px; + + &.prev { + top: -12px; + } + &.next { + bottom: -12px; + } + } + } + } + + /*创意生活商品分类*/ + .categorys-list { + ul { + width: 1004px; + } + + li { + margin: 0 7px 7px 0; + width: 161px; + height: 214px; + + &.cate-item0 { + width: 160px; + height: 435px; + } + + &.cate-item1 { + width: 326px; + height: 435px; + } + } + } + + .floor-header { + margin: 50px 0 30px; + + .header-navs { + + li { + padding: 1px 10px; + } + } + } +} diff --git a/web-static/sass/order/_ensure.css b/web-static/sass/order/_ensure.css index 293943e..99a2776 100644 --- a/web-static/sass/order/_ensure.css +++ b/web-static/sass/order/_ensure.css @@ -8,20 +8,26 @@ position: relative; margin-bottom: 35px; - &:before { - content: ''; - display: block; - background: url(/order/save/cart_logo.png); - width: 117px; - height: 33px; - } - &.order-cart { + .order-title { + position: relative; + margin-bottom: 15px; &:before { - background: url(/order/save/cart.png); + content: ''; + display: block; + background: url(/order/save/cart_logo.png); + width: 117px; + height: 33px; } - } - .order-title { + &.cart-page-title { + &:before { + content: ''; + display: block; + background: url(/order/save/cart.png); + width: 117px; + height: 33px; + } + } ul { display: block; background: url(/order/save/cartnew_flow.png); @@ -55,35 +61,35 @@ margin-left: -6px; top: 0; } + } + + &.first { + text-align: left; - &.first { + &.active { &:after { left: 0; - margin-left: 0; + margin-left: 0; } + } + } + &.end { + text-align: right; - } - &.end { - &:after { + &.active { + &:after { right: 0; margin-left: 0; } } } - - &.first { - text-align: left; - } - &.end { - text-align: right; - } } } } .order-edit-main { border: 1px solid #ccc; - margin-top: 30px; + margin-top: 20px; h2.title { height: 30px; @@ -92,6 +98,18 @@ color: #fff; font-size: 12px; text-indent: 15px; + overflow: hidden; + + a { + display: block; + width: 90px; + height: 22px; + background: url(/order/save/btn_backcart.png); + float: right; + margin-top: 4px; + margin-right: 10px; + cursor: pointer; + } } .order-content { @@ -101,7 +119,7 @@ .order-selection { border-bottom: 1px dashed #ccc; - padding: 15px 0; + padding: 15px 0 0 0; h2 { font-size: 14px; @@ -117,8 +135,11 @@ } .address-list { + + h2 { + margin-bottom: 15px; + } ul { - padding: 15px 0; li { padding: 10px 0; @@ -154,23 +175,60 @@ } } } + } - &.exist-address-list { + .exist-address-list { + min-height: 35px; - li { - border: 1px solid #fff; - padding-left: 15px; + li { + border: 1px solid #fff; + padding-left: 15px; + + strong { + color: #e8044f; + } + + .default-address, .order-modify-btn { + display: none; + } + .default-address { + margin-left: 15px; + color: #468fa2; + text-decoration: underline; + } + + &.has-exist-address { + .default-address { + color: #468fa2; + text-decoration: underline; + cursor: pointer; + } + } + .radio { + display: none; + } + } + + &.address-expand { + li { &.active { background: #dbedf7; border: 1px solid #8fb8e0; } - &.has-exist-address { + .radio { + display: inline-block; + } + + .default-address, .order-modify-btn { + display: inline-block; + } + + &.address_select { .default-address { - color: #468fa2; - text-decoration: underline; - cursor: pointer; + color: #999; + text-decoration: none; } } } @@ -179,6 +237,7 @@ } .address-manage { + margin-top: 20px; border-top: 1px dashed #ccc; li { @@ -238,6 +297,7 @@ font-weight: bold; text-indent: 25px; cursor: pointer; + margin-bottom: 15px; } .save-btn { @@ -248,8 +308,8 @@ } .pay-btn { - background: url(/order/save/pay-btn.png); - width: 119px; + background: url(/order/save/new-btn.png); + width: 90px; height: 34px; line-height: 34px; } @@ -267,10 +327,18 @@ vertical-align: middle; } } + + .prev-sell-item { + color: #e8044f + } } .pay-time-modify { + .pay-time-title { + margin-top: 20px; + } + h3 { height: 25px; line-height: 25px; @@ -298,6 +366,7 @@ .pay-type-tips { color: #999; + padding-left: 15px; } div.pay-type-legend { @@ -323,7 +392,7 @@ &.active { &:after { - transform:rotate(180deg); + transform: rotate(180deg); } } } @@ -375,7 +444,10 @@ .select-express { border-bottom: none; - + .sf{ + color: #f00; + text-decoration: underline; + } .express-list { padding-left: 15px; margin: 10px 0; diff --git a/web-static/sass/order/_pay.css b/web-static/sass/order/_pay.css index ab4ac63..dd72b99 100644 --- a/web-static/sass/order/_pay.css +++ b/web-static/sass/order/_pay.css @@ -4,6 +4,16 @@ .pay-wapper { border: 1px solid #ccc; + border-top: none; + + .cart-sub-total { + font-weight: bold; + } + + .cart-sub-total-all { + font-weight: bold; + font-size: 18px; + } } table { @@ -39,16 +49,33 @@ .pay-pro-icon { float: left; - display: inline; width: 60px; height: 60px; display: block; + position: relative; + span{ + width: 100%; + height: 16px; + line-height: 16px; + position: absolute; + left: 0px; + bottom: 0px; + text-align: center; + color: #fff; + display: block; + cursor: pointer; + } + .incentive{ + background: #f74a87; + } + .gift{ + background:#9c3; + } } .pay-pro-info { color: #999; margin-left:70px; - padding-top: 15px; text-align: left; a { color: #468fa2; @@ -127,6 +154,10 @@ .ok { background-color: #000; color:#fff; + cursor: pointer; + } + .cancel{ + cursor: pointer; } } @@ -138,8 +169,12 @@ text-align: left; dt { - color: #000; - background: resolve(/order/btn-openclose.png) no-repeat 0px 0px; + color: #000; + background: url(/order/save/btn-new-up.png); + + &.active { + background: url(/order/save/btn-new-down.png); + } } } } @@ -177,12 +212,46 @@ .pan { text-align: right; } + + .red-envelopes { + width: 200px; + height: 60px; + border: 1px dashed #000; + margin-top: 10px; + float: right; + padding: 15px; + font-size: 12px; + color: #000; + + &.active { + background: #fefccb; + } + } + + .use-envelopes { + font-weight: bold; + } + + .has-envelopes { + + margin-top: 5px; + span { + font-weight: bold; + } + + } } .play-total { text-align: right; padding-bottom: 20px; + .juan-modify, .bi-modify { + color: #468fa2; + text-decoration: underline; + cursor: pointer; + } + label { padding-right: 10px; } @@ -197,6 +266,10 @@ color: #468fa2; text-decoration: underline; } + + .total-express-w { + color: #E80480; + } } .play-juan-pan dd{ @@ -222,6 +295,10 @@ p { padding: 10px 0; + + &.errbitip { + padding-top: 0; + } } } diff --git a/web-static/sass/passport/_index.css b/web-static/sass/passport/_index.css index 1689419..39f72c8 100644 --- a/web-static/sass/passport/_index.css +++ b/web-static/sass/passport/_index.css @@ -97,7 +97,7 @@ font-size: 12px; background: url(/passport/tip/block.png) no-repeat; - >div { + > div { position: relative; height: 22px; line-height: 22px; @@ -130,24 +130,25 @@ } } - .tip-panel { + .email-autocomplete { position: absolute; - display: none; width: 248px; padding: 0 10px; - z-index: 100; - background-color: #161616; - border: 1px solid rgba(255, 255, 255, 0.7); + z-index: 1; margin-top: 5px; - cursor: pointer; border-radius: 5px; + cursor: pointer; + border: 1px solid #fefefe; + background-color: #161616; + color: #fff; + font-size: 16px; li { - height: 20px; - line-height: 20px; - color: #b9b9b9; + height: 24px; + line-height: 24px; } } + .err-tip { position: absolute; font-size: 14px; diff --git a/web-static/sass/passport/_login.css b/web-static/sass/passport/_login.css index 64db7e6..f0ef24a 100644 --- a/web-static/sass/passport/_login.css +++ b/web-static/sass/passport/_login.css @@ -40,24 +40,6 @@ } } - .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; - - li { - height: 24px; - line-height: 24px; - } - } - .captcha-wrap { position: relative; diff --git a/web-static/sass/passport/_register.css b/web-static/sass/passport/_register.css index d1f53b4..2509e9b 100644 --- a/web-static/sass/passport/_register.css +++ b/web-static/sass/passport/_register.css @@ -195,6 +195,21 @@ } } + .msg-tip { + position: absolute; + top: 17px; + left: 285px; + white-space: nowrap; + + &:before { + content: ''; + display: inline-block; + width: 12px; + height: 12px; + margin-right: 5px; + background: url(/passport/tip/succ-info.png) no-repeat; + } + } .err-tip { z-index: 1000; position: absolute; @@ -216,4 +231,49 @@ } } + + /*注册成功*/ + .success-box { + font-size: 14px; + color: #b9b9b9; + margin-top: 130px; + + .success-text { + line-height: 29px; + padding-left: 46px; + font-size: 16px; + color: #000; + + span { + font-size: 22px; + } + + &:before { + content: ''; + display: inline-block; + background: url(/passport/tip/success-icon.png) no-repeat; + width: 29px; + height: 29px; + margin-right: 5px; + position: relative; + top: 6px; + } + + #count-down { + color: #ff1901; + } + } + + .success-btn { + display: block; + margin: 46px auto 0; + width: 270px; + height: 45px; + line-height: 45px; + background: #ff1901; + text-align: center; + color: #fff; + letter-spacing: 2px; + } + } } \ No newline at end of file diff --git a/web-static/sass/passport/_third.css b/web-static/sass/passport/_third.css index 664844e..1f73518 100644 --- a/web-static/sass/passport/_third.css +++ b/web-static/sass/passport/_third.css @@ -98,7 +98,7 @@ } .validaterow { margin: 0 auto 22px; - padding-left: 250px; + padding-left: 248px; .name { float: left; text-align: right; @@ -116,6 +116,9 @@ .content { float: left; text-align: left; + .err-tip { + left: 430px; + } } &::after { display: block; @@ -292,6 +295,11 @@ border: none; color: #000; } + + .validatenum, + .pwdcontent { + width: 100%; + } } .protoctolwrapper{ width: 350px; @@ -317,6 +325,9 @@ } span { float: left; + color: #666; + font-size: 13px; + line-height: 14px; } .protoctol { color: #f02200; @@ -413,7 +424,7 @@ .bindconfrimwrapper { width: 900px; height: 439px; - margin: 153px auto; + margin: -217px auto; background-color: #fff; box-sizing: border-box; padding-top: 37px; @@ -433,18 +444,21 @@ display: inline-block; width: 160px; @mixin ellipsis; + font-weight: bold; + color: #545454; } } .usertaginfo { text-align: center; - font-size: 16px; + font-size: 18px; + font-weight: bold; color: #545454; - margin-bottom: 10px; + margin-bottom: 15px; } .usertagremind { text-align: center; - font-size: 14px; - color: #000; + font-size: 16px; + color: #888888; margin-bottom: 47px; } .otherphone{ @@ -543,13 +557,14 @@ } .pwd-tips { position: absolute; + z-index: 1000; top: -10px; left: 285px; width: 160px !important; height: 72px; padding-top: 7px; font-size: 12px; - background: url(/passport/tip/block.png) no-repeat; + background: #FFFFFF url(/passport/tip/block.png) no-repeat; >div { position: relative; diff --git a/web-static/sass/plugin/_dialog.css b/web-static/sass/plugin/_dialog.css new file mode 100644 index 0000000..582d7b4 --- /dev/null +++ b/web-static/sass/plugin/_dialog.css @@ -0,0 +1,89 @@ +.yoho-dialog { + position: fixed; + padding: 20px; + top: 50%; + left: 50%; + min-height: 130px; + min-width: 350px; + background: #f8f8f8; + z-index: 1001; + border: 5px solid rgba(0,0,0,.38); + + .close { + position: absolute; + top: 5px; + right: 5px; + cursor: pointer; + } + + .content { + text-align: center; + } + + .cancel-tip { + padding-left: 10px; + margin-top: 20px; + color: #d60248; + font-size: 12px; + } + + .btns { + text-align: center; + } + .alert-sure{ + background: #000; + color: #fff; + } + .confirm-sure{ + background: #000; + color: #fff; + } + .btn { + display: inline-block; + width: 56px; + height: 26px; + line-height: 26px; + text-align: center; + border: 1px solid #000; + cursor: pointer; + margin-left: 10px; + &:first-child { + margin-left: 0; + } + } + + &.alert-dialog .content, + &.confirm-dialog .content { + width: 350px; + height: 90px; + line-height: 20px; + position: relative; + padding-top: 40px; + p{ + position: absolute; + left: 0; + bottom: 25px; + width: 100%; + color: #444; + line-height: 25px; + } + div{ + position: absolute; + top: 0; + left: 100px; + padding-top: 30px; + font-size: 22px; + font-weight: bold; + width: 150px; + height: 30px; + line-height: 30px; + margin: 0 auto; + span{ + background: url(/cart/del.png); + float: left; + width: 27px; + height: 30px; + } + } + } +} \ No newline at end of file diff --git a/web-static/sass/product/_detail.css b/web-static/sass/product/_detail.css index eae5679..de5f4b3 100644 --- a/web-static/sass/product/_detail.css +++ b/web-static/sass/product/_detail.css @@ -1,922 +1,1088 @@ -.product-detail-page { - .brand-banner { - height: 45px; - width: 100%; - - img { - display: block; - height: 45px; - } - - .opt { - margin-top: 5px; - } - - .home, .brand-fav { - display: inline-block; - width: 32px; - height: 32px; - line-height: 32px; - border: 1px solid #fff; - text-align: center; - color: #fff; - } - - .home { - margin-right: 5px; - - .iconfont { - font-size: 14px; - } - } - - .brand-fav .iconfont { - font-size: 12px; - } - - .coled { - color: #ee0014; - } - } - - .path-nav { - border: none; - margin-bottom: 0; - } - - .main { - width: 990px; - margin: 0 auto; - - .infos { - width: 465px; - } - - .img { - position: relative; - width: 420px; - height: 560px; - } - - .img-show { - display: block; - width: 100%; - height: 100%; - } - - .tags { - position: absolute; - top: 0; - left: 0; - } - - .good-tag { - float: left; - box-sizing: border-box; - height: 22px; - line-height: 22px; - color: #fff; - padding: 0 7px; - margin-right: 5px; - font-size: 12px; - } - - .new-tag { - background: #78dc7d; - } - - .renew-tag { - background: #78dc7e; - } - - .new-festival-tag { - background: #000; - } - - .yep-tag, .ymp-tag, .sale-tag { - background: #ff565b; - } - - .few-tag { - background: #ffac5b; - } - - .limit-tag { - border: 1px solid #4e4e4e; - color: #4e4e4e; - } - - .thumbs { - width: 75px; - height: 510px; - overflow: hidden; - } - - .thumb { - display: block; - width: 75px; - margin-bottom: 2px; - } - - .name { - font-size: 18px; - font-weight: bold; - line-height: 24px; - } - - .brand-name { - color: #666; - font-size: 12px; - } - - .title { - color: #999; - font-size: 12px; - } - - .market-price { - margin-top: 8px; - } - - .price { - color: #000; - font-size: 22px; - line-height: 24px; - font-weight: bold; - } - - .with-sale .price { - color: #999; - text-decoration: line-through; - font-size: 12px; - } - - .activity { - margin-top: 12px; - - li { - line-height: 20px; - } - } - - .ac-type { - display: inline-block; - width: 43px; - height: 16px; - line-height: 16px; - margin-right: 5px; - text-align: center; - background: #999; - color: #fff; - font-size: 12px; - } - - .ac-des { - font-size: 12px; - } - - .row { - margin-top: 10px; - } - - .trade-content { - padding-top: 20px; - margin-top: 20px; - border-top: 1px solid #eaeceb; - } - - .chose-color { - font-size: 12px; - - .title { - margin-top: 14px; - } - - img { - display: block; - height: 36px; - width: 36px; - border: 2px solid #fff; - } - - .focus img { - border-color: #222; - } - - li { - margin-right: 5px; - margin-bottom: 5px; - cursor: pointer; - } - } - - .chose-size { - font-size: 12px; - - .title { - margin-top: 6px; - } - - li { - float: left; - display: block; - height: 22px; - line-height: 22px; - width: 38px; - margin-right: 5px; - margin-bottom: 5px; - border: 1px solid #eaeceb; - text-align: center; - cursor: pointer; - - &.disable { - opacity: 0.5; - } - - &.focus { - color: #fff; - background: #222; - } - } - } - - .size { - float: left; - color: #666; - } - - .size-ruler { - float: left; - display: block; - width: 57px; - height: 24px; - background: resolve('product/size-ruler.jpg'); - margin-bottom: 5px; - cursor: pointer; - } - - .size-warn, .num-warn { - height: 24px; - line-height: 24px; - } - - .color-size-tip { - color: #999; - } - - .chose-count .title { - margin-top: 6px; - } - - .num { - display: block; - width: 38px; - height: 23px; - line-height: 23px; - text-align: center; - border: 1px solid #eaeceb; - color: #333; - font-size: 12px; - background: #ebebe4; - } - - .minus-plus { - display: block; - width: 14px; - height: 23px; - border: 1px solid #eaeceb; - border-left: none; - text-align: center; - cursor: pointer; - - i { - display: block; - width: 13px; - height: 11px; - line-height: 8px; - font-size: 12px; - } - } - - .minus { - border-top: 1px solid #eaeceb; - font-size: 13px; - } - - .lc-btn { - display: inline-block; - width: 80px; - height: 25px; - line-height: 25px; - color: #fff; - background: #222; - margin-left: 10px; - font-size: 12px; - text-align: center; - cursor: default; - - &.had-lc, &.lc-sold-out { - background: #ccc; - } - } - - .num-wraper { - position: relative; - } - - $arrowTop: 40px; - $arrow: /product/arrow.png; - $contentW: 220px; - - .lc-container { - position: absolute; - top: calc(-($arrowTop - 1px)); - right: calc(-(width($arrow) + $contentW)); - } - - .lc-arrow { - position: absolute; - top: $arrowTop; - left: calc(-(width($arrow) - 1px)); - width: width($arrow); - height: height($arrow); - background: resolve($arrow); - } - - .lc-content { - box-sizing: border-box; - width: $contentW; - height: 285px; - text-align: center; - background: #f8f8f8; - border: 1px solid #cecece; - padding: 40px 25px 0; - - .qr-code { - width: 137px; - height: 137px; - background: resolve(/product/top-good-qr.png); - margin: 0 auto; - } - - .title { - font-size: 18px; - color: #000; - margin: 12px 0; - line-height: 24px; - } - - .sub-title { - font-size: 14px; - color: #939290; - } - } - - .buy-btn { - display: inline-block; - margin-right: 10px; - height: 48px; - line-height: 48px; - width: 197px; - text-align: center; - color: #fff; - background: #e92601; - font-size: 14px; - cursor: pointer; - - &.dis { - background: #ccc; - } - } - - .collect-product, .keep-shopping { - display: inline-block; - width: 127px; - height: 48px; - text-align: center; - line-height: 48px; - background: #fff; - color: #222; - border: 1px solid #ccc; - font-weight: bold; - font-size: 12px; - cursor: pointer; - - .iconfont { - color: #ccc; - font-size: 12px; - } - - &.coled .iconfont{ - color: #fa5252; - } - } - - .share-row { - margin-top: 20px; - - .title { - margin-top: 2px; - } - - i { - display: block; - float: left; - width: 16px; - height: 16px; - margin-left: 5px; - } - - @each $icon in weibo,qweibo,renren,qzone,qq,douban,weixin { - .$(icon) { - background: url(/guang/share/$(icon).png) no-repeat; - } - } - } - - .balance { - display: none; - - .success-tip { - color: #222; - font-size: 18px; - margin-bottom: 10px; - } - - .cart-total { - color: #999; - font-size: 12px; - } - - .balance-btns { - margin-top: 20px; - } - } - } - - .other-infos { - padding-bottom: 30px; - } - - .info-block { - margin-top: 30px; - color: #999; - border-top: 2px solid #eaeceb; - font-size: 12px; - - .basic { - width: 640px; - margin: 0 auto; - - li { - float: left; - width: 25%; - line-height: 20px; - } - } - - .comfort { - width: 470px; - border: 1px solid #eaeceb; - margin: 17px auto 0; - padding-bottom: 15px; - - li { - margin: 12px 20px 0; - } - } - - .comfort-block { - display: inline-block; - width: 14px; - height: 10px; - border: 1px solid #eaeceb; - margin-right: 2px; - - &.cur { - background: #999; - border: 1px solid #999; - } - } - } - - .block-title { - margin-bottom: 25px; - text-align: center; - - .title { - display: inline-block; - padding-top: 15px; - font-weight: bold; - cursor: pointer; - - &.cur { - color: #222; - border-top: 2px solid #222; - margin-top: -2px; - } - } - - .sep { - display: inline-block; - margin: 0 30px; - color: #eaeceb; - font-size: 14px; - cursor: default; - font-weight: bold; - } - } - - .material-content { - display: none; - } - - .material-detail { - width: 860px; - margin: 0 auto; - padding-bottom: 20px; - margin-bottom: 20px; - border-bottom: 1px dotted #eaeceb; - - img { - float: left; - width: 125px; - height: 50px; - } - - .name { - float: left; - width: 100px; - line-height: 25px; - border-right: 1px dotted #eaeceb; - color: #666; - font-weight: bold; - text-align: center; - font-size: 14px; - } - - .text { - float: left; - width: 614px; - padding-left: 20px; - line-height: 18px; - } - } - - .wash { - text-align: center; - - li { - display: inline-block; - padding: 0 20px; - color: #666; - border-right: 1px solid #eaeceb; - } - } - - .size-info { - text-align: center; - } - - .size-table, .reference-table { - text-align: center; - margin: 0 auto; - - td,th { - width: 110px; - text-align: center; - } - - tr { - height: 30px; - } - - thead { - background: #f5f7f6; - color: #999; - } - - tbody { - color: #222; - } - - .avatar { - width: 26px; - height: 26px; - border-radius: 50px; - } - } - - .size-tip { - color: #999; - margin-top: 15px; - text-align: center; - } - - .details { - text-align: center; - font-size: 12px; - color: #999; - line-height: 18px; - } - - .details-html { - width: 640px; - margin: 0 auto; - - b { - font-weight: bold; - } - - i { - font-style: italic; - } - } - - .consults { - display: none; - } - - .consult-comment .title { - color: #666; - - &.cur { - color: #666; - } - } - - .cc-content { - background: #f5f7f6; - padding: 20px 20px 0 20px; - font-size: 12px; - - h2 { - font-weight: bold; - font-size: 14px; - margin-bottom: 10px; - color: #000; - } - - li { - border-top: 1px solid #eaeceb; - padding: 20px 0; - } - - .user-info { - color: #999; - line-height: 16px; - - > * { - float: left; - } - - .name { - color: #666; - } - - .date { - color: #bbb; - } - - .question { - color: #222; - } - } - - .user-avatar { - width: 30px; - height: 30px; - margin-right: 5px; - } - - .more-wrap { - text-align: center; - color: #666; - border-top: 1px solid #eaeceb; - padding: 20px 0; - font-size: 14px; - font-weight: bold; - color: #666; - } - - .btn-wrap { - padding: 20px 0; - border-top: 1px solid #eaeceb; - } - - .load-more { - cursor: pointer; - } - - .btn { - display: block; - width: 140px; - height: 32px; - line-height: 32px; - color: #fff; - background: #222; - text-align: center; - font-size: 12px; - margin: 0 auto; - cursor: pointer; - - .iconfont { - font-size: 14px; - } - } - - .comment, .consult { - margin-top: 10px; - } - - .consults { - display: none; - } - } - - .new-consult { - padding: 20px 0; - border-top: 1px solid #eaeceb; - - textarea { - width: 590px; - height: 80px; - margin-top: 8px; - padding: 5px; - outline: none; - } - - .captcha-row { - margin: 10px 0; - } - - .captcha { - width: 70px; - height: 20px; - line-height: 20px; - border: 1px solid #ccc; - margin-right: 5px; - padding: 5px; - outline: none; - } - - .captcha-img { - border: 0; - height: 32px; - width: 96px; - vertical-align: middle; - } - - .submit-consult { - display: block; - width: 140px; - height: 32px; - line-height: 32px; - margin: 0; - } - - .error { - border-color: #e01; - } - } - - .consult-success { - border-top: 1px solid #eaeceb; - margin-top: 30px; - text-align: center; - padding: 20px 0; - - p { - width: 295px; - height: 55px; - line-height: 55px; - margin: 0 auto; - border: 2px solid #222; - display: block; - color: #222; - font-weight: bold; - } - } - - .after-service { - text-align: center; - margin-top: 30px; - - .after-service-content { - display: none; - } - - .after-service-switch { - height: 44px; - line-height: 44px; - background: #eaeceb; - text-align: center; - font-size: 12px; - cursor: pointer; - - .iconfont { - font-size: 12px; - } - } - - .text { - padding: 20px 15px; - color: #666; - background: #f5f7f6; - text-align: left; - color: #666; - line-height: 18px; - } - - .orange { - color: #f9761a; - } - - h4 { - font-weight: bold; - font-size: 14px; - line-height: 24px; - color: #222; - margin-top: 10px; - - &:first-child { - margin-top: 0; - } - } - - .img-1 { - width: 715px; - height: 259px; - margin: 0 auto; - background: resolve('product/after-service-1.png'); - } - - .img-2 { - width: 715px; - height: 230px; - margin: 0 auto; - background: resolve('product/after-service-2.png'); - } - - a { - color: #666; - } - } - - .service { - width: 323px; - height: 30px; - margin: 45px auto 0; - background: resolve('product/service.png'); - } - - .recent-view { - width: 1010px; - margin: 0 auto; - - li { - float: left; - width: 180px; - margin-right: 22px; - } - - img { - height: 240px; - width: 180px; - display: block; - } - - .name { - display: block; - margin-top: 5px; - color: #222; - line-height: 16px; - } - - .price { - color: #222; - font-weight: bold; - margin-top: 5px; - } - - .market-price { - margin-right: 5px; - } - - .has-sale { - text-decoration: line-through; - color: #999; - } - } - - .warn-tip { - display: inline-block; - color: #e01; - margin-left: 7px; - font-size: 12px; - - i { - font-size: 14px; - } - } +.product-detail-page { + .brand-banner { + height: 45px; + width: 100%; + + img { + display: block; + height: 45px; + } + + .opt { + margin-top: 5px; + } + + .home, .brand-fav { + display: inline-block; + width: 32px; + height: 32px; + line-height: 32px; + border: 1px solid #fff; + text-align: center; + color: #fff; + cursor: pointer; + } + + .home { + margin-right: 5px; + + .iconfont { + font-size: 14px; + } + } + + .brand-fav .iconfont { + font-size: 13px; + } + + .coled { + color: #ee0014; + } + } + + .path-nav { + border: none; + margin-bottom: 0; + } + + .main { + width: 990px; + margin: 0 auto; + + .infos { + width: 465px; + } + + .img { + position: relative; + width: 420px; + height: 560px; + } + + .img-show { + display: block; + width: 100%; + height: 100%; + } + + .tags { + position: absolute; + top: 0; + left: 0; + } + + .good-tag { + float: left; + box-sizing: border-box; + height: 22px; + line-height: 22px; + color: #fff; + padding: 0 7px; + margin-right: 5px; + font-size: 12px; + } + + .new-tag { + background: #78dc7d; + } + + .renew-tag { + background: #78dc7e; + } + + .new-festival-tag { + background: #000; + } + + .yep-tag, .ymp-tag, .sale-tag { + background: #ff565b; + } + + .few-tag { + background: #ffac5b; + } + + .limit-tag { + border: 1px solid #4e4e4e; + color: #4e4e4e; + } + + .thumbs { + width: 75px; + height: 510px; + margin-left: 2px; + overflow: hidden; + } + + .thumb { + display: block; + width: 75px; + cursor: pointer; + margin-bottom: 2px; + } + + .name { + font-size: 18px; + font-weight: bold; + line-height: 24px; + } + + .sale-tip { + color: #ee0014; + padding-left: 3px; + } + + .brand-name { + color: #666; + font-size: 12px; + } + + .title { + color: #999; + font-size: 12px; + } + + .market-price { + margin-top: 8px; + } + + .price { + color: #000; + font-size: 22px; + line-height: 24px; + font-weight: bold; + } + + .has-other-price { + color: #999; + text-decoration: line-through; + font-size: 12px; + } + + .arrival-date { + color: #ee0014; + font-size: 14px; + font-weight: bold; + margin-left: 24px; + } + + .vip-price { + line-height: 14px; + color: #222; + margin-top: 5px; + background: resolve(/product/vip-price-icon.png) no-repeat; + padding-left: calc(5px + width(/product/vip-price-icon.png)); + font-size: 12px; + + .login-url, + .cur { + color: #f02200; + } + + .vip-price-item { + margin-left: 5px; + } + + .vip-schedual { + color: #999; + text-decoration: underline; + margin-left: 5px; + } + } + + .activity { + margin-top: 12px; + + li { + line-height: 20px; + } + } + + .ac-type { + display: inline-block; + width: 60px; + height: 16px; + line-height: 16px; + margin-right: 5px; + text-align: center; + background: #999; + color: #fff; + font-size: 12px; + } + + .ac-des { + font-size: 12px; + } + + .row { + margin-top: 10px; + } + + .trade-content { + padding-top: 20px; + margin-top: 20px; + border-top: 1px solid #eaeceb; + } + + .chose-color { + font-size: 12px; + + .title { + margin-top: 14px; + } + + img { + display: block; + height: 36px; + width: 36px; + border: 2px solid #fff; + } + + .focus img { + border-color: #222; + } + + li { + margin-right: 5px; + margin-bottom: 5px; + cursor: pointer; + } + } + + .chose-size { + font-size: 12px; + + .title { + margin-top: 6px; + } + + li { + float: left; + display: block; + height: 22px; + line-height: 22px; + margin-right: 5px; + margin-bottom: 5px; + padding: 0 5px; + border: 1px solid #eaeceb; + text-align: center; + cursor: pointer; + min-width: 28px; + + &.disable { + opacity: 0.5; + } + + &.focus { + color: #fff; + background: #222; + } + } + } + + .size-wrapper { + width: 415px; + } + + .size { + float: left; + color: #666; + } + + .size-ruler { + float: left; + display: block; + width: 57px; + height: 24px; + background: resolve('product/size-ruler.jpg'); + margin-bottom: 5px; + cursor: pointer; + } + + .size-warn, .num-warn { + float: left; + height: 24px; + line-height: 24px; + } + + .color-size-tip { + color: #999; + clear: both; + line-height: 18px; + } + + .chose-count .title { + margin-top: 6px; + } + + .num { + display: block; + width: 38px; + height: 23px; + line-height: 23px; + text-align: center; + border: 1px solid #eaeceb; + color: #333; + font-size: 12px; + background: #ebebe4; + } + + .minus-plus { + display: block; + width: 14px; + height: 23px; + border: 1px solid #eaeceb; + border-left: none; + text-align: center; + cursor: pointer; + + i { + display: block; + width: 13px; + height: 11px; + line-height: 8px; + font-size: 12px; + -moz-user-select: none; + } + + .dis { + color: #999; + } + } + + .minus { + border-top: 1px solid #eaeceb; + font-size: 13px; + } + + .lc-btn { + float: left; + display: block; + width: 80px; + height: 25px; + line-height: 25px; + color: #fff; + background: #222; + margin-left: 10px; + font-size: 12px; + text-align: center; + cursor: default; + + &.had-lc, &.lc-sold-out { + background: #ccc; + } + + &.dis { + background: #ccc; + } + } + + .num-wraper { + position: relative; + } + + $arrowTop: 40px; + $arrow: /product/arrow.png; + $contentW: 220px; + + .lc-container { + position: absolute; + top: calc(-($arrowTop - 1px)); + right: calc(-(width($arrow) + $contentW)); + z-index: 1; + } + + .lc-arrow { + position: absolute; + top: $arrowTop; + left: calc(-(width($arrow) - 1px)); + width: width($arrow); + height: height($arrow); + background: resolve($arrow); + } + + .lc-content { + box-sizing: border-box; + width: $contentW; + height: 285px; + text-align: center; + background: #f8f8f8; + border: 1px solid #cecece; + padding: 40px 25px 0; + + .qr-code { + width: 137px; + height: 137px; + background: resolve(/product/top-good-qr.png); + margin: 0 auto; + } + + .title { + font-size: 18px; + color: #000; + margin: 12px 0; + line-height: 24px; + } + + .sub-title { + font-size: 14px; + color: #939290; + } + } + + .buy-btn { + display: inline-block; + margin-right: 10px; + height: 48px; + line-height: 48px; + width: 197px; + text-align: center; + color: #fff; + background: #e92601; + font-size: 14px; + cursor: pointer; + + &.hover { + background: #eb3b19; + background: rgba(233, 38, 1, .8); + } + + &.dis { + background: #ccc; + } + } + + .collect-product, .keep-shopping { + display: inline-block; + width: 127px; + height: 48px; + text-align: center; + line-height: 48px; + background: #fff; + color: #222; + border: 1px solid #ccc; + font-weight: bold; + font-size: 12px; + cursor: pointer; + + .iconfont { + color: #ccc; + font-size: 14px; + } + + &.coled .iconfont{ + color: #fa5252; + } + } + + .share-row { + margin-top: 20px; + + .title { + margin-top: 2px; + } + } + + .balance { + display: none; + + .success-tip { + color: #222; + font-size: 18px; + margin-bottom: 10px; + } + + .cart-total { + color: #999; + font-size: 12px; + } + + .balance-btns { + margin-top: 20px; + } + } + } + + .other-infos { + padding-bottom: 30px; + } + + .info-block { + margin-top: 30px; + color: #999; + border-top: 2px solid #eaeceb; + font-size: 12px; + + .basic { + width: 640px; + margin: 0 auto; + + li { + float: left; + width: 25%; + line-height: 20px; + } + } + + .comfort { + width: 470px; + border: 1px solid #eaeceb; + margin: 17px auto 0; + padding-bottom: 15px; + + li { + margin: 12px 20px 0; + } + } + + .comfort-block { + display: inline-block; + width: 14px; + height: 10px; + border: 1px solid #eaeceb; + margin-right: 2px; + + &.cur { + background: #999; + border: 1px solid #999; + } + } + } + + .block-title { + margin-bottom: 25px; + text-align: center; + + .title { + display: inline-block; + padding-top: 15px; + font-weight: bold; + cursor: pointer; + + &.cur { + color: #222; + border-top: 2px solid #222; + margin-top: -2px; + } + } + + .sep { + display: inline-block; + margin: 0 30px; + color: #eaeceb; + font-size: 14px; + cursor: default; + font-weight: bold; + } + } + + .description-content { + overflow: hidden; + } + + .material-content { + display: none; + overflow: hidden; + } + + .material-detail li { + width: 860px; + padding-bottom: 20px; + border-bottom: 1px dotted #eaeceb; + margin: 0 auto 20px; + + img { + float: left; + width: 125px; + height: 50px; + } + + .name { + float: left; + width: 100px; + line-height: 25px; + border-right: 1px dotted #eaeceb; + color: #666; + font-weight: bold; + text-align: center; + font-size: 14px; + } + + .text { + float: left; + width: 614px; + padding-left: 20px; + line-height: 18px; + } + } + + .wash { + text-align: center; + + li { + display: inline-block; + padding: 0 20px; + color: #666; + border-right: 1px solid #eaeceb; + } + } + + .size-info { + text-align: center; + } + + .size-table, + .reference-table, + .fitting-report-table { + text-align: center; + margin: 0 auto; + + th { + width: 110px; + text-align: center; + } + + tr { + height: 30px; + } + + tr, + td { + text-align: center; + } + + thead { + background: #f5f7f6; + color: #999; + } + + tbody { + color: #222; + } + + .avatar { + width: 26px; + height: 26px; + border-radius: 50px; + } + + .avatar-col { + width: 26px; + padding-left: 20px; + padding-right: 20px; + } + + .model-col { + width: 90px; + } + + .remark-col { + width: 200px; + } + } + + .fr-img-wrap { + width: 100%; + text-align: center; + + img { + max-width: 100%; + } + } + + .ref-model { + padding-top: 10px; + + .model { + width: 444px; + height: 35px; + padding-top: 47px; + padding-left: 316px; + color: #666; + overflow: hidden; + margin: 10px auto 0; + + em { + margin-left: 5px; + } + } + } + + .size-tip { + color: #999; + margin-top: 15px; + text-align: center; + } + + .details { + text-align: center; + font-size: 12px; + color: #999; + line-height: 18px; + } + + .details-html { + width: 750px; + text-align: center; + margin: 0 auto; + + b { + font-weight: bold; + } + + i { + font-style: italic; + } + } + + .consults { + display: none; + } + + .consult-comment .title { + color: #666; + + &.cur { + color: #666; + } + } + + .cc-content { + background: #f5f7f6; + padding: 20px 20px 0 20px; + font-size: 12px; + + h2 { + font-weight: bold; + font-size: 14px; + margin-bottom: 10px; + color: #000; + } + + li { + border-top: 1px solid #eaeceb; + padding: 20px 0; + } + + .user-info { + color: #999; + line-height: 16px; + + > * { + float: left; + } + + .name { + color: #666; + } + + .date { + color: #bbb; + } + + .question { + color: #222; + } + } + + .user-avatar { + width: 30px; + height: 30px; + margin-right: 5px; + } + + .more-wrap { + text-align: center; + color: #666; + border-top: 1px solid #eaeceb; + padding: 20px 0; + font-size: 14px; + font-weight: bold; + color: #666; + } + + .btn-wrap { + padding: 20px 0; + border-top: 1px solid #eaeceb; + } + + .load-more { + cursor: pointer; + } + + .btn { + display: block; + width: 140px; + height: 32px; + line-height: 32px; + color: #fff; + background: #222; + text-align: center; + font-size: 12px; + margin: 0 auto; + cursor: pointer; + + .iconfont { + font-size: 14px; + } + } + + .comment, .consult { + margin-top: 10px; + } + + .consults { + display: none; + } + } + + .new-consult { + padding: 20px 0; + border-top: 1px solid #eaeceb; + + textarea { + width: 590px; + height: 80px; + padding: 5px; + outline: none; + } + + .submit-consult { + display: block; + width: 140px; + height: 32px; + line-height: 32px; + margin: 8px 0 0; + } + + .error { + border-color: #e01; + } + } + + .consult-success { + border-top: 1px solid #eaeceb; + margin-top: 30px; + text-align: center; + padding: 20px 0; + + p { + width: 295px; + height: 55px; + line-height: 55px; + margin: 0 auto; + border: 2px solid #222; + display: block; + color: #222; + font-weight: bold; + } + } + + .after-service { + text-align: center; + margin-top: 30px; + + .after-service-content { + display: none; + } + + .after-service-switch { + height: 44px; + line-height: 44px; + background: #eaeceb; + text-align: center; + font-size: 12px; + cursor: pointer; + + .iconfont { + font-size: 12px; + } + } + + .text { + padding: 20px 15px; + color: #666; + background: #f5f7f6; + text-align: left; + color: #666; + line-height: 18px; + } + + .orange { + color: #f9761a; + } + + h4 { + font-weight: bold; + font-size: 14px; + line-height: 24px; + color: #222; + margin-top: 10px; + + &:first-child { + margin-top: 0; + } + } + + .img-1 { + width: 715px; + height: 259px; + margin: 0 auto; + background: resolve('product/after-service-1.png'); + } + + .img-2 { + width: 715px; + height: 230px; + margin: 0 auto; + background: resolve('product/after-service-2.png'); + } + + a { + color: #666; + } + } + + .service { + $service: /product/service.png; + width: width($service); + height: height($service); + margin: 45px auto; + background: resolve($service); + } + + .latest-walk { + overflow: inherit; + + .goods { + width: 1010px; + margin: 0 auto; + height: auto; + + > div { + float: left; + width: 180px; + margin-right: 22px; + } + } + + img { + height: 240px; + width: 180px; + display: block; + } + + .name { + display: block; + margin-top: 5px; + color: #222; + line-height: 16px; + } + + .price { + color: #222; + font-weight: bold; + margin-top: 5px; + } + + .market-price { + margin-right: 5px; + } + + .has-sale { + text-decoration: line-through; + color: #999; + } + } + + .warn-tip { + display: inline-block; + color: #e01; + margin-left: 7px; + font-size: 12px; + + i { + font-size: 14px; + } + } + + .hot-point-wrap { + position: relative; + + + .hot-point { + position: absolute; + background: #fff; + opacity: 0; + + &.hover .pointer{ + background-position: 0 -25px; + } + + &.hover .hp-good { + display: block; + } + } + + .pointer { + position: absolute; + display: block; + background: resolve(/product/hp-num.png) no-repeat 0 0; + color: #fff; + cursor: pointer; + width: 25px; + height: 25px; + line-height: 25px; + text-align: center; + left: 0; + top: 0; + font-size: 18px; + } + + .hp-good { + display: none; + position: absolute; + left: 30px; + top: 0; + width: 210px; + background: #000; + height: 60px; + padding: 10px; + + .pic { + display: block; + float: left; + width: 60px; + height: 60px; + margin-right: 10px; + } + + .info { + position: relative; + float: left; + color: #fff; + font-size: 12px; + width: 140px; + height: 60px; + line-height: 20px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + text-align: left; + } + + .check-btn { + display: block; + position: absolute; + height: 18px; + width: 40px; + text-decoration: none; + right: 0; + bottom: 0; + text-align: center; + background: #e8e8e8; + border-radius: 2px; + } + } + } } \ No newline at end of file diff --git a/web-static/sass/product/_filter-box.css b/web-static/sass/product/_filter-box.css index 0d521c8..3357642 100644 --- a/web-static/sass/product/_filter-box.css +++ b/web-static/sass/product/_filter-box.css @@ -16,6 +16,7 @@ float: left; width: 75px; line-height: 30px; + font-weight: bold; } .attr-content { @@ -27,7 +28,8 @@ width: 60px; height: 18px; line-height: 18px; - border: 1px solid #000; + border: 1px solid #555; + color: #555; text-align: center; cursor: pointer; } @@ -39,6 +41,11 @@ margin-right: 30px; line-height: 30px; cursor: pointer; + color: #666; + + a { + color: #666; + } &:first-child { margin-left: 0; @@ -52,6 +59,10 @@ } } + &:hover { + text-decoration: underline; + } + -moz-user-select: none; } @@ -139,7 +150,6 @@ left: 50%; margin-left: -7px; bottom: -17px; - bottom: -18px\9; z-index: 3; visibility: hidden; background: resolve('product/senior-up.png') no-repeat; @@ -150,7 +160,7 @@ width: 100%; .sort-sub { - border-top: 1px solid #dfdfdf; + border-top: 1px solid #eaeceb; margin-top: 15px; padding: 0 0 15px; @@ -166,6 +176,7 @@ .attr { box-sizing: border-box; width: 20%; + height: 30px; margin: 0; overflow: hidden; white-space: nowrap; @@ -180,8 +191,16 @@ position: absolute; right: 20px; top: 15px; + color: #555; } + .multi .attr.checked { + color: #000; + + a { + color: #000; + } + } .brand-more { margin-right: 10px; cursor: pointer; @@ -271,6 +290,7 @@ margin-right: 20px; cursor: pointer; outline: none; + font-family: Microsoft YaHei; &.dis { background: #ccc; @@ -322,6 +342,9 @@ .attr-content { position: relative; } + .senior-attr-wrap > .attr:hover { + text-decoration: none; + } } .senior-attr-wrap { @@ -366,6 +389,16 @@ top: 20px; right: 15px; } + + .attr { + height: 30px; + } + } + + .senior-baffle { + height: 18px; + margin-top: -18px; + background: none; } .senior-content { @@ -382,6 +415,7 @@ visibility: hidden; background: resolve('product/senior-up.png') no-repeat; background-position: 50% 0; + top: -1px; top: 1px\9; } @@ -392,10 +426,14 @@ .multi .checkbox { display: block; - color: #000; + color: #ccc; font-size: 12px; margin-right: 3px; + &.checked { + color: #000; + } + &.checked + span { color: #000; font-weight: bold; @@ -406,3 +444,8 @@ .min-screen .filter-box .brand .attr { width: 25%; } + +/*高级选项箭头位置IE11Hack*/ +_:-ms-fullscreen, :root .senior-up-icon { + top: 1px; +} \ No newline at end of file diff --git a/web-static/sass/product/_good.css b/web-static/sass/product/_good.css index 5bb2c24..c0655c7 100644 --- a/web-static/sass/product/_good.css +++ b/web-static/sass/product/_good.css @@ -66,7 +66,6 @@ right: 15px; color: #ccc; font-size: 12px; - display: none; &.coled { color: #f95b4f; diff --git a/web-static/sass/product/_left-content.css b/web-static/sass/product/_left-content.css index 8ecc849..f759103 100644 --- a/web-static/sass/product/_left-content.css +++ b/web-static/sass/product/_left-content.css @@ -81,6 +81,7 @@ span { padding-left: 5px; + color: #bbb; } } a { diff --git a/web-static/sass/product/_list.css b/web-static/sass/product/_list.css index cddb19b..7733204 100644 --- a/web-static/sass/product/_list.css +++ b/web-static/sass/product/_list.css @@ -1,108 +1,14 @@ .product-list-page { - .list-left { - width: 160px; - - .sort-container { - width: 100%; - font-size: 12px; - border-bottom: 1px solid #ebebeb; - padding-bottom: 10px; - margin-bottom: 10px; - - h2 { - height: 28px; - line-height: 28px; - color: #222; - font-weight: bold; - position: relative; - - span { - color: #bbb; - padding-left: 5px; - } - } - - ul.sort-child-list { - &.new-sale { - display: block; - } - - h2 a { - color: #000; - padding-left: 0; - } - - li { - color: #bbb; - - span { - padding-left: 5px; - } - } - - a { - color: #666; - padding-left: 10px; - height: 22px; - line-height: 22px; - } - } - } - - .product-list-nav { - h3 { - height: 28px; - line-height: 28px; - color: #222; - font-weight: bold; - position: relative; - text-indent: 10px; - cursor: pointer; - - span { - color: #bbb; - padding-left: 5px; - } - } + &.search-page .path-nav .last { + font-weight: normal; - .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; - transition: transform .3s; - } - - &.active .icon-triangle { - transform: rotate(90deg); - } - } - - .nav-pic-title { - height: 35px; - line-height: 35px; - color: #000; + span { font-weight: bold; - border-bottom: 1px solid #ebebeb; - font-size: 12px; } + } - .pic-nav { - display: block; - - li, img { - display: block; - width: 100%; - overflow: hidden; - } - } + .list-left { + width: 160px; } .list-right { @@ -133,7 +39,7 @@ } .iconfont { - font-size: 12px; + font-size: 13px; } .brand-favor { @@ -146,6 +52,11 @@ } } + .brand-about { + font-size: 12px; + line-height: 150%; + } + .sort-intro { margin-bottom: 20px; diff --git a/web-static/sass/product/_search.css b/web-static/sass/product/_search.css index c6b25df..44b6bfd 100644 --- a/web-static/sass/product/_search.css +++ b/web-static/sass/product/_search.css @@ -9,6 +9,14 @@ width: 222px; } } + + .path-nav .last { + font-weight: normal; + + span { + font-weight: bold; + } + } } .min-screen .product-search-page { diff --git a/web-static/sass/product/_sort-pager.css b/web-static/sass/product/_sort-pager.css index 74d3f74..6235c99 100644 --- a/web-static/sass/product/_sort-pager.css +++ b/web-static/sass/product/_sort-pager.css @@ -17,8 +17,16 @@ &.active, &.checked { color: #000; + font-weight: bold; + + .iconfont { + font-weight: 100; + } } } + .checks .iconfont { + background: #fff; + } .sort-type:first-child .iconfont { display: none; diff --git a/yohobuy/www.yohobuy.com/application/controllers/Error.php b/yohobuy/www.yohobuy.com/application/controllers/Error.php index 0b698dd..837e6ac 100644 --- a/yohobuy/www.yohobuy.com/application/controllers/Error.php +++ b/yohobuy/www.yohobuy.com/application/controllers/Error.php @@ -35,8 +35,8 @@ class ErrorController extends WebAction // @todo debug // echo $exception->getMessage(); - // 生成HTML (error.html) - $this->_view->html('error_'.$channel); + // 生成HTML (error.html) + //$this->_view->html('error_'.$channel); // 渲染模板 $this->_view->display('index', array('errorPage' => true,'newProductLink'=> Helpers::url('/product/new'))); } diff --git a/yohobuy/www.yohobuy.com/configs/application.developer.ini b/yohobuy/www.yohobuy.com/configs/application.developer.ini index 863f37b..72092b2 100644 --- a/yohobuy/www.yohobuy.com/configs/application.developer.ini +++ b/yohobuy/www.yohobuy.com/configs/application.developer.ini @@ -50,7 +50,7 @@ application.template.ext = ".phtml" application.assets.path = ROOT_PATH "/assets/web" ; 应用的版本号 -application.version = "0.0.8" +application.version = "0.0.9" ; 网站SEO信息 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" diff --git a/yohobuy/www.yohobuy.com/configs/application.preview.ini b/yohobuy/www.yohobuy.com/configs/application.preview.ini index fc3fc70..cbe344b 100644 --- a/yohobuy/www.yohobuy.com/configs/application.preview.ini +++ b/yohobuy/www.yohobuy.com/configs/application.preview.ini @@ -50,7 +50,7 @@ application.template.ext = ".phtml" application.assets.path = ROOT_PATH "/assets/web" ; 应用的版本号 -application.version = "0.0.8" +application.version = "0.0.9" ; 网站SEO信息 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" diff --git a/yohobuy/www.yohobuy.com/configs/application.production.ini b/yohobuy/www.yohobuy.com/configs/application.production.ini index 7bbf1e8..aa5a9c2 100644 --- a/yohobuy/www.yohobuy.com/configs/application.production.ini +++ b/yohobuy/www.yohobuy.com/configs/application.production.ini @@ -50,7 +50,7 @@ application.template.ext = ".phtml" application.assets.path = ROOT_PATH "/assets/web" ; 应用的版本号 -application.version = "0.0.8" +application.version = "0.0.9" ; 网站SEO信息 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" diff --git a/yohobuy/www.yohobuy.com/configs/application.testing.ini b/yohobuy/www.yohobuy.com/configs/application.testing.ini index a6f2ca2..c01575c 100644 --- a/yohobuy/www.yohobuy.com/configs/application.testing.ini +++ b/yohobuy/www.yohobuy.com/configs/application.testing.ini @@ -50,7 +50,7 @@ application.template.ext = ".phtml" application.assets.path = ROOT_PATH "/assets/web" ; 应用的版本号 -application.version = "0.0.8" +application.version = "0.0.9" ; 网站SEO信息 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"