Authored by hf

do merge test fixed bug

Showing 65 changed files with 0 additions and 4913 deletions
define("index", ["zepto","lazyload","swiper","mlellipsis","index"], function(require, exports, module){
var yohobuy;
require("js/passport/index");
require("js/guang/index");
require("js/home/index");
require("js/product/index");
module.exports = yohobuy;
});
define("js/passport/index", ["zepto"], function(require, exports, module){
/**
* 注册、登录、密码找回打包入口
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
//注册
require("js/passport/register/register");
require("js/passport/register/code");
require("js/passport/register/password");
//登录
require("js/passport/login/login");
require("js/passport/login/interational");
//密码找回
require("js/passport/back/mobile");
require("js/passport/back/code");
require("js/passport/back/email");
require("js/passport/back/email-success");
require("js/passport/back/new-password");
});
define("js/passport/register/register", ["zepto"], function(require, exports, module){
/**
* 注册
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $phoneNum = $('#phone-num'),
$countrySelect = $('#country-select'),
$areaCode = $('#area-code'),
$btnNext = $('#btn-next');
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
api.selectCssHack($('#country-select'));
api.bindClearEvt();
$phoneNum.bind('input', function() {
if (trim($phoneNum.val()) === '') {
$btnNext.addClass('disable');
} else {
$btnNext.removeClass('disable');
}
});
$countrySelect.change(function() {
$areaCode.text($countrySelect.val());
});
$btnNext.on('touchstart', function() {
var pn = trim($phoneNum.val()),
areaCode = $countrySelect.val();
if ($btnNext.hasClass('disable')) {
return;
}
if (api.phoneRegx[areaCode].test(pn)) {
$.ajax({
url: '/passport/reg/verifymobile',
type: 'POST',
data: {
areaCode: areaCode.replace('+', ''),
phoneNum: pn
},
success: function(data) {
if (data.code === 200) {
location.href = data.data;
} else {
showErrTip(data.message);
}
}
});
} else {
showErrTip('手机号格式不正确,请重新输入');
}
});
});
define("js/passport/api", ["zepto"], function(require, exports, module){
/**
* 登录注册公用API
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var trim = $.trim;
//邮箱验证规则
var emailRegx = /^([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
//手机号码验证规则
var phoneRegx = {
'+86': /^1[35847]{1}[0-9]{9}$/,
'+852': /^[965]{1}[0-9]{7}$/,
'+853': /^[0-9]{8}$/,
'+886': /^[0-9]{10}$/,
'+65': /^[98]{1}[0-9]{7}$/,
'+60': /^1[1234679]{1}[0-9]{8}$/,
'+1': /^[0-9]{10}$/,
'+82': /^01[0-9]{9}$/,
'+44': /^7[789][0-9]{8}$/,
'+81': /^0[9|8|7][0-9]{9}$/,
'+61': /^[0-9]{11}$/
};
//密码显示隐藏
function bindEyesEvt() {
var $hasEye = $('.has-eye'),
$eye;
$hasEye.append('<div class="eye close"></div>');
$eye = $hasEye.children('.eye');
$eye.on('touchstart', function(e) {
var $this = $(this),
$pwd = $this.siblings('.pwd');
e.preventDefault();
$this.toggleClass('close');
//切换密码显示和文本显示
if ($this.hasClass('close')) {
$pwd.attr('type', 'password');
} else {
$pwd.attr('type', 'text');
}
$pwd.focus();
});
}
// 清空账号显示
function bindClearEvt() {
var $hasClear = $('.has-clear'),
$clear;
$hasClear.append('<div class="clear-input"></div>');
$clear = $hasClear.children('.clear-input');
$clear.on('touchstart', function(e) {
var $input = $clear.siblings('.input');
$input.val('').trigger('input').focus();
e.preventDefault();
});
//反向逻辑
$hasClear.children('.input').bind('input', function() {
var $this = $(this),
$thisClear = $this.siblings('.clear-input'),
val = trim($this.val());
if (val === '') {
$thisClear.hide();
} else {
$thisClear.show();
}
});
}
// 密码长度验证
function pwdValidate(pwd) {
if (pwd.length >= 6 && pwd.length <= 20) {
return true;
}
return false;
}
// hack for resolving direction:rtl didn't work in android uc
function selectCssHack($countrySelect) {
var u = navigator.userAgent;
function autoSelectWidth() {
var wordCount = $countrySelect.find('option:selected').text().length;
switch (wordCount) {
//分别有2,3,4个汉字的情况
case 2:
$countrySelect.outerWidth(90);
break;
case 3:
$countrySelect.outerWidth(110);
break;
default:
$countrySelect.outerWidth(130);
}
}
if (u.match(/uc/i) && u.match(/android/i)) {
$countrySelect.change(function() {
autoSelectWidth();
});
} else {
$countrySelect.removeClass('in-android-uc');
}
}
//Exports APIs
module.exports = {
emailRegx: emailRegx,
phoneRegx: phoneRegx,
bindEyesEvt: bindEyesEvt,
bindClearEvt: bindClearEvt,
pwdValidate: pwdValidate,
selectCssHack: selectCssHack
};
});
define("js/plugin/tip", ["zepto"], function(require, exports, module){
/**
* 弹框提示
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("zepto");
var $tip, tipItime;
/**
* 初始化提示框
*/
(function() {
var tipHtml = '<div id="yoho-tip" class="yoho-tip"></div>';
//插入提示HTML
$('.yoho-page').append(tipHtml);
$tip = $('#yoho-tip');
$tip.on('touchstart', function() {
$tip.hide();
//清除Timeout
clearTimeout(tipItime);
});
}());
/**
* 显示提示
*/
function show(con, dur) {
var content, duration;
if (typeof con === 'undefined') {
return;
}
content = con.toString();
duration = (dur && dur > 0) ? dur : 2000;
$tip.text(content).show();
tipItime = setTimeout(function() {
if ($tip.css('display') === 'block') {
$tip.hide();
}
}, duration);
}
exports.show = show;
});
define("js/passport/register/code", ["zepto"], function(require, exports, module){
/**
* 注册-验证码
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
require("js/passport/code")(true);
});
define("js/passport/code", ["zepto"], function(require, exports, module){
/**
* 注册/找回密码-验证码
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
module.exports = function(useInRegister) {
var $captcha = $('#captcha'),
$btnNext = $('#btn-next'),
$captchaTip = $('#captcha-tip'),
phoneNum = $('#phone-num').val(),
areaCode = $('#area-code').val().replace('+', '');
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
var urlMid = useInRegister ? 'reg' : 'back';
function countDown() {
var count = 59,
itime;
itime = setInterval(function() {
if (count === 0) {
$captchaTip.text('重发验证码').removeClass('disable');
clearInterval(itime);
} else {
$captchaTip.text('重发验证码 (' + count-- + '秒)');
}
}, 1000);
}
api.bindClearEvt();
$captcha.bind('input', function() {
if (trim($captcha.val()) !== '') {
$btnNext.removeClass('disable');
} else {
$btnNext.addClass('disable');
}
});
//重新发送验证码
$captchaTip.on('touchstart', function() {
if ($captchaTip.hasClass('disable')) {
return;
}
$.ajax({
type: 'POST',
url: '/passport/' + urlMid + '/sendcode',
data: {
phoneNum: phoneNum,
areaCode: areaCode
},
success: function(data) {
if (data.code === 200) {
$captchaTip.text('重发验证码 (60秒)').addClass('disable');
countDown();
} else {
//验证码不正确,显示提示
showErrTip(data.message);
}
}
});
});
$btnNext.on('touchstart', function() {
if ($btnNext.hasClass('disable')) {
return;
}
$.ajax({
type: 'POST',
url: '/passport/' + urlMid + '/verifycode',
data: {
phoneNum: phoneNum,
areaCode: areaCode,
code: trim($captcha.val()),
token: $('#token').val()
},
success: function(data) {
if (data.code === 200) {
location.href = data.data;
} else {
//验证码不正确,显示提示
showErrTip(data.message);
}
}
});
});
countDown();
};
});
define("js/passport/register/password", ["zepto"], function(require, exports, module){
/**
* 注册-密码
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $pwd = $('#pwd'),
$btnSure = $('#btn-sure');
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
api.bindEyesEvt();
$pwd.bind('input', function() {
if (trim($pwd.val()) === '') {
$btnSure.addClass('disable');
} else {
$btnSure.removeClass('disable');
}
});
$btnSure.on('touchstart', function() {
var pwd = trim($pwd.val());
if ($btnSure.hasClass('disable')) {
return;
}
if (api.pwdValidate(pwd) === false) {
showErrTip('密码6-20位,请重新输入');
} else {
$.ajax({
type: 'POST',
url: '/passport/reg/setpassword',
data: {
password: pwd,
phoneNum: $('#phone-num').val(),
areaCode: $('#area-code').val(),
token: $('#token').val()
},
success: function(data) {
if (data.code === 200) {
showErrTip('注册成功');
//1000ms后跳转页面
setTimeout(function() {
location.href = data.data;
}, 1000);
} else {
if (data.code === 401 || data.code === 404 || data.code === 505) {
showErrTip(data.message);
} else {
showErrTip(data.message);
setTimeout(function() {
location.href = data.data;
}, 1000);
}
}
}
});
}
});
});
define("js/passport/login/login", ["zepto"], function(require, exports, module){
/**
* 登录
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/9/30
*/
var $ = require("zepto");
var $account = $('#account'),
$pwd = $('#pwd'),
$loginBtn = $('#btn-login'),
$mask = $('#retrive-pwd-mask'),
$ways = $('#retrive-pwd-ways'),
accPass = false,
pwdPass = false;
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
//登录按钮状态切换
function switchLoginBtnStatus() {
if (accPass && pwdPass) {
$loginBtn.removeClass('disable');
} else {
$loginBtn.addClass('disable');
}
}
//显示找回密码面板
function showRetrivePanel() {
$mask.show();
$ways.show();
}
//隐藏找回密码面板
function hideRetrivePanel() {
$mask.hide();
$ways.hide();
}
//密码显示与隐藏
api.bindEyesEvt();
//清空账号输入框
api.bindClearEvt();
$account.bind('input', function() {
if (trim($account.val()) !== '') {
accPass = true;
} else {
accPass = false;
}
switchLoginBtnStatus();
});
$pwd.bind('input', function() {
if (trim($pwd.val()) === '') {
pwdPass = false;
} else {
pwdPass = true;
}
switchLoginBtnStatus();
});
// Login
$loginBtn.on('touchstart', function() {
var acc = trim($account.val()),
pwd = trim($pwd.val());
if ($loginBtn.hasClass('disable')) {
return;
}
//验证账号(数字或者邮箱)和密码合理性
if ((/^[0-9]+$/.test(acc) || api.emailRegx.test(acc)) && api.pwdValidate(pwd)) {
$.ajax({
type: 'POST',
url: '/passport/login/auth',
data: {
account: acc,
password: pwd
},
success: function(data) {
if (data.code === 200) {
showErrTip('登录成功');
//1s后跳转页面
setTimeout(function() {
location.href = data.data;
}, 1000);
} else {
showErrTip(data.message);
}
},
error: function() {
showErrTip('网络断开连接啦~');
}
});
} else {
showErrTip('账号或密码有错误,请重新输入');
}
});
$('#forget-pwd').on('touchstart', function() {
showRetrivePanel();
});
$mask.on('touchstart', function() {
hideRetrivePanel();
});
$('#cancel-retrive').on('touchstart', function(e) {
e.preventDefault();
hideRetrivePanel();
});
//对初始有默认值的情况去初始化登录按钮状态
$account.trigger('input');
$pwd.trigger('input');
});
define("js/passport/login/interational", ["zepto"], function(require, exports, module){
/**
* 国际账号登录
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $phoneNum = $('#phone-num'),
$countrySelect = $('#country-select'),
$areaCode = $('#area-code'),
$pwd = $('#pwd'),
$loginBtn = $('#btn-login'),
pnPass = false,
pwdPass = false;
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
//登录按钮状态切换
function switchLoginBtnStatus() {
if (pnPass && pwdPass) {
$loginBtn.removeClass('disable');
} else {
$loginBtn.addClass('disable');
}
}
//Android-UC下显示select的direction:rtl无效的临时解决办法
api.selectCssHack($countrySelect);
//显示隐藏密码
api.bindEyesEvt();
//清空手机号码
api.bindClearEvt();
$phoneNum.bind('input', function() {
if (trim($phoneNum.val()) === '') {
pnPass = false;
} else {
pnPass = true;
}
switchLoginBtnStatus();
});
$pwd.bind('input', function() {
var pwd = trim($pwd.val());
if (pwd === '') {
pwdPass = false;
} else {
pwdPass = true;
}
switchLoginBtnStatus();
});
$countrySelect.change(function() {
$areaCode.text($countrySelect.val());
});
$loginBtn.on('touchstart', function() {
var pn = trim($phoneNum.val()),
areaCode = $countrySelect.val(),
pwd = trim($pwd.val());
if ($loginBtn.hasClass('disable')) {
return;
}
if (api.phoneRegx[areaCode].test(pn) && api.pwdValidate(pwd)) {
$.ajax({
type: 'POST',
url: '/passport/login/auth',
data: {
areaCode: areaCode.replace('+', ''),
account: pn,
password: pwd
},
success: function(data) {
if (data.code === 200) {
showErrTip('登录成功');
//1000ms后跳转页面
setTimeout(function() {
location.href = data.data;
}, 1000);
} else {
showErrTip(data.message);
}
},
error: function() {
showErrTip('网络断开连接啦~');
}
});
} else {
showErrTip('账号或密码有错误,请重新输入');
}
});
//对初始有默认值的情况去初始化登录按钮状态
$phoneNum.trigger('input');
$pwd.trigger('input');
});
define("js/passport/back/mobile", ["zepto"], function(require, exports, module){
/**
* 找回密码-手机
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $phoneNum = $('#phone-num'),
$countrySelect = $('#country-select'),
$areaCode = $('#area-code'),
$btnNext = $('#btn-next');
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
api.selectCssHack($('#country-select'));
api.bindClearEvt();
$phoneNum.bind('input', function() {
if (trim($phoneNum.val()) === '') {
$btnNext.addClass('disable');
} else {
$btnNext.removeClass('disable');
}
});
$countrySelect.change(function() {
$areaCode.text($countrySelect.val());
});
$btnNext.on('touchstart', function() {
var pn = trim($phoneNum.val()),
area = $countrySelect.val();
if ($btnNext.hasClass('disable')) {
return;
}
if (api.phoneRegx[area].test(pn)) {
$.ajax({
url: '/passport/back/sendcode',
type: 'POST',
data: {
areaCode: area.replace('+', ''),
phoneNum: pn
},
success: function(data) {
if (data.code === 200) {
location.href = data.data;
} else {
showErrTip(data.message);
}
}
});
} else {
showErrTip('手机号格式不正确,请重新输入');
}
});
});
define("js/passport/back/code", ["zepto"], function(require, exports, module){
/**
* 找回密码-验证码
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
require("js/passport/code")(false);
});
define("js/passport/back/email", ["zepto"], function(require, exports, module){
/**
* 找回密码-邮箱找回
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $email = $('#email'),
$btnSure = $('#btn-sure');
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
api.bindClearEvt();
$email.bind('input', function() {
if (trim($email.val()) === '') {
$btnSure.addClass('disable');
} else {
$btnSure.removeClass('disable');
}
});
$btnSure.on('touchstart', function() {
var email = trim($email.val());
if ($btnSure.hasClass('disable')) {
return;
}
if (api.emailRegx.test(email)) {
$.ajax({
url: '/passport/back/sendemail',
type: 'POST',
data: {
email: email
},
success: function(data) {
if (data.code === 200) {
location.href = data.data;
} else {
showErrTip(data.message);
}
}
});
} else {
showErrTip('邮箱格式不正确,请重新输入');
}
});
});
define("js/passport/back/email-success", ["zepto"], function(require, exports, module){
/**
* 找回密码-邮箱找回成功
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $resend = $('#resend');
var tip = require("js/plugin/tip"),
showErrTip = tip.show;
$resend.on('touchstart', function(e) {
e.preventDefault();
$.ajax({
url: $resend.data('url'),
type: 'GET',
success: function(data) {
if (data.code === 200) {
showErrTip(data.message);
} else {
showErrTip(data.message);
}
}
});
});
});
define("js/passport/back/new-password", ["zepto"], function(require, exports, module){
/**
* 密码找回-新密码
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $pwd = $('#pwd'),
$btnOk = $('#btn-ok');
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
var $phoneNum = $('#phone-num');
api.bindEyesEvt();
$pwd.bind('input', function() {
if (trim($pwd.val()) === '') {
$btnOk.addClass('disable');
} else {
$btnOk.removeClass('disable');
}
});
$btnOk.on('touchstart', function() {
var pwd = trim($pwd.val()),
mobileBack = true,
setting,
url;
if ($btnOk.hasClass('disable')) {
return;
}
setting = {
password: pwd
};
if ($phoneNum.length === 0) {
mobileBack = false;
}
if (mobileBack) {
$.extend(setting, {
phoneNum: $phoneNum.val(),
areaCode: $('#areaCode').val(),
token: $('#token').val()
});
url = '/passport/back/passwordByMobile';
} else {
$.extend(setting, {
code: $('#email-code').val()
});
url = '/passport/back/passwordByEmail';
}
if (api.pwdValidate(pwd)) {
$.ajax({
type: 'POST',
url: url,
data: setting,
success: function(data) {
if (data.code === 200) {
showErrTip('密码修改成功');
//1000ms后跳转页面
setTimeout(function() {
location.href = data.data;
}, 1000);
} else {
showErrTip(data.message);
}
}
});
} else {
showErrTip('密码6-20位,请重新输入');
}
});
});
define("js/guang/index", ["zepto","lazyload","swiper","mlellipsis","index"], function(require, exports, module){
/**
* 逛打包入口
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/9
*/
require("js/guang/plus-star/list");
require("js/guang/plus-star/detail");
require("js/guang/home");
require("js/guang/list");
});
define("js/guang/plus-star/list", ["zepto","lazyload","swiper","index"], function(require, exports, module){
/**
* PLUS+STAR列表页
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("zepto"),
lazyLoad = require("lazyload"),
Swiper = require("swiper");
var $navs = $('#nav-tab > li'),
$contents = $('#ps-content > .content');
var mySwiper;
lazyLoad($('img.lazy'));
mySwiper = new Swiper('.swiper-container', {
lazyLoading: true,
pagination: '.swiper-pagination'
});
$('#nav-tab').delegate('li', 'touchstart', function() {
if ($(this).hasClass('focus')) {
return;
}
$navs.toggleClass('focus');
$contents.toggleClass('hide');
$(document).trigger('scroll'); //Trigger lazyLoad
});
});
define("js/guang/plus-star/detail", ["zepto","mlellipsis","lazyload"], function(require, exports, module){
/**
* PLUS+STAR详情页
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("zepto"),
ellipsis = require("mlellipsis"),
lazyLoad = require("lazyload");
var $intro = $('#intro'),
$imt = $('#intro-more-txt'),
$infosContainer = $('#related-infos-container');
var info = require("js/guang/info");
var tip = require("js/plugin/tip");
var brandId = $('#brand-info').data('id');
var mIntro, aIntro;
ellipsis.init();
//Init LazyLoad
lazyLoad($('img.lazy'));
//文字介绍文字截取
$intro[0].mlellipsis(3);
//获取截取文字和完整文字
setTimeout(function() {
mIntro = $intro.text();
aIntro = $intro.attr('title');
});
info.initInfosEvt($infosContainer);
//文字介绍收起与展开
$('#more-intro').bind('touchstart', function() {
var $this = $(this);
$this.toggleClass('spread');
if ($this.hasClass('spread')) {
//显示
$intro.text(aIntro);
$imt.text('收起');
} else {
//隐藏
$intro.text(mIntro);
$imt.text('more');
}
});
//品牌收藏
$('#brand-like').bind('touchstart', function(e) {
var opt = 'ok',
$this = $(this);
e.preventDefault();
if ($this.hasClass('like')) {
opt = 'cancel';
}
$.ajax({
type: 'POST',
url: '/guang/opt/favoriteBrand',
data: {
id: brandId,
opt: opt
},
success: function(data) {
if (data.code === 200) {
$this.toggleClass('like');
} else if (data.code === 400) {
tip.show('未登录');
}
},
error: function() {
tip.show('网络断开连接了~');
}
});
});
});
define("js/guang/info", ["zepto","mlellipsis","lazyload"], function(require, exports, module){
/**
* 资讯相关API
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("zepto"),
ellipsis = require("mlellipsis"),
lazyLoad = require("lazyload");
var tip = require("js/plugin/tip");
var $loadMoreInfo = $('#load-more-info');
var $loading = $(''),
$noMore = $('');
var loading = false;
ellipsis.init();
if ($loadMoreInfo.length > 0) {
$loading = $loadMoreInfo.children('.loading');
$noMore = $loadMoreInfo.children('.no-more');
}
/**
* 设置指定资讯项的Lazyload和文字截取
* @params $infos 资讯项
*/
function setLazyLoadAndMellipsis($infos) {
lazyLoad($infos.find('img.lazy'));
$infos.each(function() {
var $this = $(this),
$title = $this.find('.info-title'),
$text = $this.find('.info-text');
//减少重复调用
if ($title.attr('title') && $text.attr('title')) {
return;
}
$title[0].mlellipsis(2);
$text[0].mlellipsis(2);
});
}
/**
* 初始化资讯列表事件绑定
* @params $container 逛资讯列表容器
*/
function initInfosEvt($container) {
$container.delegate('.like-btn', 'touchstart', function(e) {
var $likeBtn = $(e.currentTarget),
$info = $likeBtn.closest('.guang-info'),
opt = 'ok';
if ($likeBtn.hasClass('like')) {
opt = 'cancel';
}
$.ajax({
type: 'POST',
url: '/guang/opt/praiseArticle',
data: {
id: $info.data('id'),
opt: opt
},
success: function(data) {
var code = data.code;
if (code === 200) {
$likeBtn.next('.like-count').text(data.data);
//切换点赞状态
$likeBtn.toggleClass('like');
}
},
error: function() {
tip.show('网络断开连接了~');
}
});
});
setLazyLoadAndMellipsis($container.find('.guang-info'));
}
/**
* 资讯LoadMore
*/
function loadMore($container, opt) {
if (loading) {
return;
}
if (opt.end) {
return;
}
loading = true;
$.ajax({
type: 'GET',
url: ' /guang/list/page',
data: opt,
success: function(data) {
if (data === ' ') {
opt.end = true;
loading = false;
//
$loading.addClass('hide');
$noMore.removeClass('hide');
return;
}
$container.append(data);
setLazyLoadAndMellipsis($container.find('.guang-info'));
opt.page++;
loading = false;
},
error: function() {
tip.show('网络断开连接了~');
loading = false;
}
});
}
exports.initInfosEvt = initInfosEvt;
exports.setLazyLoadAndMellipsis = setLazyLoadAndMellipsis;
exports.loadMore = loadMore;
});
define("js/guang/home", ["zepto","swiper","mlellipsis","lazyload","index"], function(require, exports, module){
/**
* 逛首页
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("zepto"),
Swiper = require("swiper");
var info = require("js/guang/info"),
setLazyLoadAndMellipsis = info.setLazyLoadAndMellipsis,
loadMore = info.loadMore;
var $loadMoreInfo = $('#load-more-info');
var $loading = $(''),
$noMore = $('');
var winH = $(window).height(),
loadMoreH = $loadMoreInfo.height();
var $infoList = $('#info-list'),
$infos = $infoList.children('.info-list'),
$nav = $('#guang-nav'),
$curNav = $nav.children('.focus'),
curType = $curNav.data('type');
var state = {};
var mySwiper;
if ($loadMoreInfo.length > 0) {
$loading = $loadMoreInfo.children('.loading');
$noMore = $loadMoreInfo.children('.no-more');
}
mySwiper = new Swiper('.swiper-container', {
lazyLoading: true,
pagination: '.swiper-pagination'
});
info.initInfosEvt($infoList);
//初始化各Nav下资讯加载的状态
(function() {
var gender = $('#gender').val();
$nav.children('.guang-nav-item').each(function() {
var type = $(this).data('type');
state[type] = {
page: 1,
gender: gender,
type: type,
end: false
};
});
}());
$nav.delegate('.guang-nav-item', 'touchstart', function() {
var $this = $(this),
$content,
index;
if ($this.hasClass('focus')) {
return;
}
index = $this.index();
$this.addClass('focus');
$curNav.removeClass('focus');
$infos.not('.hide').addClass('hide');
$content = $infos.eq(index);
$content.removeClass('hide');
//lazyload & mellipsis
setLazyLoadAndMellipsis($content.children('.guang-info'));
$curNav = $this;
curType = $this.data('type');
//重置当前Tab的load-more
if (state[curType].end) {
$loading.addClass('hide');
$noMore.removeClass('hide');
} else {
$loading.removeClass('hide');
$noMore.addClass('hide');
}
});
$(document).scroll(function() {
if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH) {
loadMore($infos, state[curType]);
}
});
});
define("js/guang/list", ["zepto","mlellipsis","lazyload"], function(require, exports, module){
/**
* 列表页,编辑页
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("zepto");
var info = require("js/guang/info"),
loadMore = info.loadMore;
var winH = $(window).height(),
loadMoreH = $('#load-more').height();
var $author = $('#author-infos');
var $tag = $('#tag');
var setting = {
page: 1,
end: false
};
var $infos = $('#info-list');
info.initInfosEvt($infos);
if ($author.length > 0) {
$.extend(setting, {
authorId: $author.data('id')
});
}
if ($tag.length > 0) {
$.extend(setting, {
tag: $tag.val()
});
}
$(document).scroll(function() {
if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH) {
loadMore($infos, setting);
}
});
});
define("js/home/index", ["zepto","swiper","lazyload","index"], function(require, exports, module){
/**
* 首页打包入口
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/12
*/
require("js/home/home");
require("js/home/maybe-like");
});
define("js/home/home", ["zepto","swiper","lazyload","index"], function(require, exports, module){
/**
* 首页
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/12
*/
var $ = require("zepto"),
Swiper = require("swiper"),
lazyLoad = require("lazyload"),
bannerSwiper,
recommendSwiper,
trendTopicSwiper,
goodsSwiper;
var requestFrame,
thisFunc,
start = 0,
i,
swiperClass,
supportCss3,
$logotrans = $('.home-header .logo'),
isen = true;
require("js/home/maybe-like");
lazyLoad($('img.lazy'));
//$('img:in-viewport').trigger('appear');
//点击首页汉堡menu图标,滑出侧栏导航
$('.nav-btn').on('click', function (event) {
if (!$(this).hasClass('menu-open')) {
$('.mobile-wrap').addClass('menu-open');
$('.overlay').addClass('show');
$('.side-nav').addClass('on');
//设置boy高宽,页面不能上下滑动
$('body').css({
height: $(window).height(),
width: '100%',
overflow: 'hidden'
});
}
event.stopPropagation();
});
//点击页面主体,收起侧栏导航及二级导航
$('.mobile-wrap').on('click', function () {
if ($(this).hasClass('menu-open')) {
$('.mobile-wrap').removeClass('menu-open');
$('.overlay').removeClass('show');
$('.sub-nav').removeClass('show');
$('.side-nav').removeClass('on');
$('body').css({
height: 'auto',
overflow: 'auto'
});
}
});
//点击一级导航,弹出二级导航
$('.side-nav').on('click', 'li', function () {
if ($(this).find('.sub-nav').size() > 0) {
$('.sub-nav').removeClass('show');
$(this).find('.sub-nav').addClass('show');
}
});
//返回一级导航,收起二级导航
$('.sub-nav').each(function () {
$(this).find('li').eq(0).on('click', function (e) {
$('.sub-nav').removeClass('show');
e.stopPropagation();
});
});
//二级导航样式控制
$('.sub-nav').on('mouseenter', 'li', function () {
if ($(this).index() !== 0) {
$(this).addClass('current').siblings().removeClass('current');
}
});
//头部banner轮播
if ($('.banner-swiper').find('li').size() > 1) {
bannerSwiper = new Swiper('.banner-swiper', {
loop: true,
autoplay: 3000,
autoplayDisableOnInteraction: false,
paginationClickable: true,
slideElement: 'li',
pagination: '.banner-top .pagination-inner'
});
}
//热门品牌滑动
// hotBrandsSwiper = new Swiper('.brands-swiper', {
// grabCursor: true,
// slidesPerView: 'auto',
// wrapperClass: 'brands-list',
// slideElement: 'li'
// });
//推荐搭配滑动
recommendSwiper = new Swiper('.recommend-swiper', {
grabCursor: true,
slidesPerView: 'auto',
wrapperClass: 'recommend-list',
slideElement: 'li'
});
//潮品话题轮播
if ($('.trend-topic-swiper').find('li').size() > 1) {
trendTopicSwiper = new Swiper('.trend-topic-swiper', {
loop: true,
autoplay: 3000,
autoplayDisableOnInteraction: false,
paginationClickable: true,
slideElement: 'li',
pagination: '.trend-topic-content .pagination-inner'
});
}
//潮流上装/经典裤装等轮播
$('.category-swiper').each(function (i, index) {
swiperClass = 'category-swiper' + i;
$(this).addClass(swiperClass);
if ($('.' + swiperClass).find('.swiper-slide').size() > 1) {
goodsSwiper = new Swiper('.' + swiperClass, {
loop: true,
autoplay: 3000,
autoplayDisableOnInteraction: false,
paginationClickable: true,
slideElement: 'li',
pagination: '.' + swiperClass + ' .pagination-inner'
});
}
});
//回到顶部
// $('.back-to-top').bind('touchstart', function (e) {
// e.preventDefault();
// $(window).scrollTop(0);
// });
//关闭头部下载浮层
$('.header-download').on('click', '.close-btn', function () {
$(this).parent().remove();
});
//logo动画
requestFrame = (function () {
var tempFunc = null,
prefixList = ['webkit', 'moz', 'ms'];
for (i = 0; i < prefixList.length; i++) {
thisFunc = prefixList[i] + 'RequestAnimationFrame';
if (window[thisFunc]) {
supportCss3 = true;
tempFunc = thisFunc;
}
}
if (supportCss3) {
return function (callback) {
window[tempFunc](callback);
};
}
return function (callback) {
window.setTimeout(callback, 67);
};
})();
function tsAnimate() {
start = start + 10;
$logotrans.css({
transform: 'rotateX(' + start + 'deg)',
'-webkit-transform': 'rotateX(' + start + 'deg)',
'-moz-transform': 'rotateX(' + start + 'deg)'
});
if (start / 90 % 2 === 1) {
if (isen) {
$logotrans.addClass('animate');
isen = false;
} else {
$logotrans.removeClass('animate');
isen = true;
}
}
if (start / 90 % 2 === 0 && start % 360 !== 0) {
window.setTimeout(tsAnimate, 3000);
} else {
if (start % 360 === 0) {
window.setTimeout(tsAnimate, 3 * 60 * 1000);
} else {
requestFrame(function () {
tsAnimate();
});
}
}
}
tsAnimate();
});
define("js/home/maybe-like", ["zepto","lazyload"], function(require, exports, module){
/**
* “你可能喜欢”模块JS
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/12
*/
var $ = require("zepto"),
tip = require("js/plugin/tip"),
lazyLoad = require("lazyload");
var winH = $(window).height(),
loadMoreH = $('#load-more').height(),
$goodList = $('#goods-list'),
loading = false,
page = 0,
gender = $('.mobile-wrap').hasClass('boys-wrap') ? '1,3' : '2,3',
kidsType = $('.mobile-wrap').hasClass('kids-wrap') ? true : false,
lifestyleType = $('.mobile-wrap').hasClass('lifestyle-wrap') ? true : false,
num,
url;
var $curNav,
index,
$navList = $('#maybe-like-nav');
//ajax url
if (kidsType) {
url = '/product/recom/maylikekids';
} else if (lifestyleType) {
url = '/product/recom/maylikelife';
} else {
url = '/product/recom/maylike?gender=' + gender;
}
$curNav = $navList.children('.focus');
$('#maybe-like-nav').delegate('li', 'touchstart', function() {
var $this = $(this),
$goods = $('.goods-list'),
$content;
if ($this.hasClass('focus')) {
return;
}
index = $this.index();
$this.addClass('focus');
$curNav.removeClass('focus');
$goods.not('.hide').addClass('hide');
$content = $goods.eq(index);
$content.removeClass('hide');
$curNav = $this;
$(document).trigger('scroll'); //Trigger lazyLoad
});
//srcoll to load more
$(window).scroll(function () {
if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH) {
if (loading) {
return;
}
loading = true;
num = $goodList.children('.good-info').length;
$.ajax({
type: 'GET',
url: url,
data: {
page: page + 1
},
success: function(data) {
if (data === ' ') {
loading = true;
return;
}
$goodList.append(data);
//lazyLoad
//lazyLoad($goodList.children('.good-info:gt(' + (num - 1) + ')').find('img.lazy'));
lazyLoad($('.good-info').find('img.lazy'));
loading = false;
page++;
},
error: function() {
tip.show('网络断开连接了~');
loading = false;
}
});
}
});
});
define("js/product/index", ["zepto","swiper","lazyload","index"], function(require, exports, module){
/**
* 产品打包入口
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/12
*/
require("js/product/newsale/newarrival");
require("js/product/newsale/discount");
});
define("js/product/newsale/newarrival", ["zepto","swiper","lazyload","index"], function(require, exports, module){
var $ = require("zepto"),
tip = require("js/plugin/tip"),
Swiper = require("swiper"),
lazyLoad = require("lazyload");
var $curNav,
$navList = $('#newarrival-nav'),
$newArrivalList = $('#newarrival-goods-list'),
$goods = $newArrivalList.children('.goods-list');
var winH = $(window).height(),
loadMoreH = $('#load-more').height(),
$goodList = $('.goods-list'),
loading = false,
page = 0,
index = 0,
num;
var swiper;
swiper = new Swiper('.swiper-container', {
lazyLoading: true,
pagination: '.swiper-pagination'
});
lazyLoad($('img.lazy'));
$curNav = $navList.children('.focus');
$('#newarrival-nav').delegate('li', 'touchstart', function() {
var $this = $(this),
$content;
if ($this.hasClass('focus')) {
return;
}
index = $this.index();
$this.addClass('focus');
$curNav.removeClass('focus');
$goods.not('.hide').addClass('hide');
$content = $goods.eq(index);
$content.removeClass('hide');
$curNav = $this;
$(document).trigger('scroll'); //Trigger lazyLoad
});
//srcoll to load more
$(window).scroll(function () {
if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH) {
if (loading) {
return;
}
loading = true;
num = $goodList.children('.good-info').length;
$.ajax({
type: 'GET',
url: '/product/newsale/selectNewSale',
data: {
dayLimit: index + 1,
page: page + 1
},
success: function(data) {
if (data === ' ') {
//opt.end = true;
loading = false;
return;
}
$goodList.append(data);
//lazyLoad
//lazyLoad($goodList.children('.good-info:gt(' + (num - 1) + ')').find('img.lazy'));
lazyLoad($('.good-info').find('img.lazy'));
loading = false;
page++;
},
error: function() {
tip.show('网络断开连接了~');
loading = false;
}
});
}
});
});
define("js/product/newsale/discount", ["zepto","swiper","lazyload","index"], function(require, exports, module){
var $ = require("zepto"),
Swiper = require("swiper"),
lazyLoad = require("lazyload");
var $curNav,
$navList = $('#discount-nav'),
$newArrivalList = $('#discount-goods-list'),
$goods = $newArrivalList.children('.goods-list'),
$goodList = $('.goods-list');
var swiper;
var index = 0,
winH = $(window).height(),
loadMoreH = $('#load-more').height(),
loading = false,
page = 0,
pd = "";
swiper = new Swiper('.swiper-container', {
lazyLoading: true,
pagination: '.swiper-pagination'
});
lazyLoad($('img.lazy'));
$curNav = $navList.children('.focus');
$('#discount-nav').delegate('li', 'touchstart', function() {
var $this = $(this),
$content;
if ($this.hasClass('focus')) {
return;
}
index = $this.index();
pd = getSalePdByChoose(index);
$this.addClass('focus');
$curNav.removeClass('focus');
$goods.not('.hide').addClass('hide');
$content = $goods.eq(index);
$content.removeClass('hide');
$curNav = $this;
$(document).trigger('scroll'); //Trigger lazyLoad
});
//srcoll to load more
$(window).scroll(function () {
if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH) {
if (loading) {
return;
}
loading = true;
num = $goodList.children('.good-info').length;
$.ajax({
type: 'GET',
url: '/product/newsale/selectNewSale',
data: {
p_d: pd,
page: page + 1
},
success: function(data) {
if (data === ' ') {
//opt.end = true;
loading = false;
return;
}
$goodList.append(data);
//lazyLoad
//lazyLoad($goodList.children('.good-info:gt(' + (num - 1) + ')').find('img.lazy'));
lazyLoad($('.good-info').find('img.lazy'));
loading = false;
page++;
},
error: function() {
tip.show('网络断开连接了~');
loading = false;
}
});
}
});
/**
* 根据用户的选择获取商品折扣值
*
* @param int index
* @return string
*/
function getSalePdByChoose(index) {
var pd = "0.1,0.3";
switch (index) {
case 0:
pd = "0.1,0.3";
break;
case 1:
pd = "0.4,0.6";
break;
case 2:
pd = "0.7,0.9";
break;
case 3:
pd = "0.1,0.9";
break;
}
return pd;
}
});
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}*{-webkit-tap-highlight-color:transparent;-moz-tap-highlight-color:transparent;tap-highlight-color:transparent}html,body{font-family:helvetica,Arial,"黑体";width:100%;font-size:12px;line-height:1.4}.clearfix:before,.clearfix:after{content:"";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}img{max-width:100%;display:block;border:0;margin:0 auto}a{text-decoration:none;outline:none;color:#000}*:focus{outline:none}.hide{display:none}@font-face{font-family:"iconfont";src:url('../assets/font/iconfont.eot?1445072438');src:url('../assets/font/iconfont.eot?&1445072438#iefix') format("embedded-opentype"),url('../assets/font/iconfont.woff?1445072439') format("woff"),url('../assets/font/iconfont.ttf?1445072439') format("truetype"),url('../assets/font/iconfont.svg?1445072439#iconfont') format("svg")}@font-face{font-family:"icomoon";src:url('../assets/font/icomoon.eot?1445073108');src:url('../assets/font/icomoon.eot?&1445073108#iefix') format("embedded-opentype"),url('../assets/font/icomoon.woff?1445072438') format("woff"),url('../assets/font/icomoon.ttf?1445073108') format("truetype"),url('../assets/font/icomoon.svg?1445073108#icomoon') 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}.icomoon{font-family:"icomoon" !important;font-size:16px;font-style:normal;text-decoration:none;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:0.2px;-moz-osx-font-smoothing:grayscale}.yoho-tip{position:absolute;display:none;text-align:center;width:70%;padding:34px 0;top:50%;left:50%;margin-left:-35%;margin-top:-45px;background-color:#000;opacity:0.7;color:#fff;font-size:18px;border:none;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}.yoho-header{position:relative;background-color:#000;color:#fff;width:100%;overflow:hidden;height:44px;line-height:44px}.yoho-header .nav-back{position:absolute;left:17px;top:14px;width:9px;height:16px;background:url('../../../img/layout/back.png?1445072968') no-repeat;background-size:100% 100%;outline:none}.yoho-header .nav-home{position:absolute;top:14px;right:17px;width:20px;height:20px;background:url('../../../img/layout/home.png?1445072968') no-repeat;background-size:100% 100%;outline:none}.yoho-header .nav-title{position:absolute;margin-left:26px;margin-right:32px;height:100%;font-size:18px;color:#fff;font-weight:bold;top:0;right:0;left:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.yoho-footer{font-size:12px;background-color:#fff}.yoho-footer .op-row{position:relative;padding:0 30px;height:60px;line-height:60px}.yoho-footer .op-row .user-name{text-decoration:underline}.yoho-footer .op-row .back-to-top{position:absolute;right:20px}.yoho-footer .copyright{height:60px;line-height:60px;border-top:1px solid #ccc;text-align:center;color:#666;background-color:#eee}.good-info{float:left;width:6.9rem;height:12.15rem;margin:0.7rem 0.375rem 0}.good-info .tag-container{height:0.7rem;width:100%}.good-info .tag-container .good-tag{display:block;float:left;height:0.7rem;font-size:0.45rem;text-align:center;line-height:0.8rem;margin-right:0.1rem}.good-info .tag-container .good-tag:last-child{margin-right:0}.good-info .tag-container .new-tag{width:1.5rem;background-color:#78dc7e;color:#fff}.good-info .tag-container .renew-tag{width:2.25rem;background-color:#78dc7e;color:#fff}.good-info .tag-container .sale-tag{width:1.5rem;background-color:#ff575c;color:#fff}.good-info .tag-container .new-festival-tag{width:2.25rem;background-color:#000;color:#fff}.good-info .tag-container .limit-tag{box-sizing:border-box;width:2.25rem;border:1px solid #000;color:#000;line-height:0.6rem}.good-detail-img{position:relative}.good-detail-img img{display:block;width:100%;height:9.15rem}.good-detail-img .few-tag{position:absolute;bottom:0;width:100%;height:0.7rem;background:#ffac5b;font-size:0.45rem;color:#fff;line-height:0.7rem;text-align:center}.good-detail-text .name a{display:block;line-height:1.4rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-decoration:none;font-size:0.55rem;color:#444}.good-detail-text .price{line-height:0.55rem;font-size:0.55rem}.good-detail-text .price .sale-price{color:#d62927}.good-detail-text .price .sale-price.no-price{color:#000}.good-detail-text .price .market-price{margin:0 0 0 0.125rem;color:#b0b0b0;text-decoration:line-through}body.passport-body{background-color:#444;font-family:"MicroSoft YaHei",SimSun,sans-serif}body.passport-body *{box-sizing:border-box}.passport-page{text-align:center;padding:0 6%}.passport-page .header{position:relative;height:40px;margin:20px 0 30px}.passport-page .header .go-back{display:block;position:absolute;height:30px;width:30px;top:5px;left:0;background:url('../../../img/passport/go-back.png?1445072968') no-repeat;background-size:100% 100%}.passport-page .header .title{font-size:20px;line-height:40px;color:#fff}.passport-page .header .img-header{width:68px;height:40px;background:url('../../../img/passport/yoho-family.png?1445072968') no-repeat;background-size:100% 100%;margin:0 auto}.passport-page .input-container,.passport-page .select-container{position:relative;width:100%;height:52px;font-size:20px;background-color:#575757;border:1px solid #606060;border-radius:5px;text-align:left;color:#fff}.passport-page .select-container .select{position:absolute;height:50px;padding-right:40px;right:0;color:#fff;background-color:transparent;border:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-appearance:none;-webkit-appearance:none;direction:rtl}.passport-page .select-container .select:focus{outline:0;border:none}.passport-page .select-container .select:-moz-focusring{color:transparent;text-shadow:0 0 0 #fff}.passport-page .select-container .select-title{line-height:2.5;margin-left:15px}.passport-page .select-container .arrow-right{position:absolute;width:13px;height:20px;right:15px;top:16px;background-image:url("http://static.dev.yohobuy.com/img/passport/arrow-right.png");background-size:100% 100%}.passport-page .has-eye,.passport-page .has-clear{padding-right:30px}.passport-page .area-code{position:absolute;left:15px;line-height:2.5}.passport-page .phone-container{padding-left:55px}.passport-page .input{width:100%;line-height:26px;padding:12px 0;padding-left:15px;border-radius:5px;color:#fff;background-color:transparent;border:none}.passport-page .btn{display:block;width:100%;font-size:20px;line-height:2.5;background-color:#36a74c;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;color:#fff}.passport-page .btn.disable{background-color:#a2a2a2}.passport-page .country-select.in-android-uc{width:90px}.passport-page .clear-input{position:absolute;display:none;top:18px;right:10px;width:16px;height:16px;background-image:url("http://static.dev.yohobuy.com/img/passport/clear-input.png");background-size:100% 100%}.passport-page .eye{position:absolute;top:20px;right:10px;width:19px;height:12px;background-image:url("http://static.dev.yohobuy.com/img/passport/eye.png");background-size:100% 100%}.passport-page .eye.close{background-image:url("http://static.dev.yohobuy.com/img/passport/eye-close.png")}.passport-page .row{margin-bottom:10px}.reg-page .register-tip{color:#fff;font-size:15px}.login-page .yoho-logo{position:absolute;height:31px;width:26px;background:url('../../../img/passport/yoho.png?1445072968');background-size:100% 100%;top:10px;left:15px}.login-page .acc-container{padding-left:45px}.login-page .op-container{position:relative;width:100%;margin:20px 0;text-align:left;font-size:16px}.login-page .op-container .go-register{text-decoration:underline;color:#858585}.login-page .op-container .forget-pwd{position:absolute;right:0;text-decoration:underline;color:#858585}.login-page .third-party-login{text-align:left}.login-page .third-party-login>span{font-size:16px;color:#858585}.login-page .third-party-login .tp-link{text-align:center;padding:20px 0}.login-page .third-party-login .tp-link>a{display:inline-block;width:44px;height:44px;margin:0 7px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;background-color:#333;background-repeat:no-repeat;background-size:100% 100%}.login-page .third-party-login .tp-link .alipay{background-image:url('../../../img/passport/alipay.png?1445072968')}.login-page .third-party-login .tp-link .weibo{background-image:url('../../../img/passport/weibo.png?1445072968')}.login-page .third-party-login .tp-link .weixin{background-image:url('../../../img/passport/weixin.png?1445072968')}.login-page .third-party-login .tp-link .qq{background-image:url('../../../img/passport/qq.png?1445072968')}.login-page .interational{display:block;width:200px;padding:5px 10px;background-color:#333;border:none;border-radius:20px;margin:0 auto;font-size:16px;color:#d8d8d8}.login-page .login-tip{font-size:16px;position:relative;color:#d8d8d8;margin:15px 0}.login-page .login-tip .info-icon{display:inline-block;height:12px;width:12px;background-image:url('../../../img/passport/info.png?1445072968');background-size:100% 100%}.login-page .mask{position:fixed;display:none;top:0;bottom:0;right:0;left:0;background-color:rgba(0,0,0,0.5)}.login-page .retrive-pwd-ways{position:fixed;display:none;bottom:5px;left:10px;right:10px;font-size:16px}.login-page .retrive-pwd-ways li{background-color:#fff;width:100%;height:40px;line-height:40px;text-align:center}.login-page .retrive-pwd-ways li:nth-child(1){-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;border-top-right-radius:5px;border-bottom:1px solid #9f9f9f}.login-page .retrive-pwd-ways li:nth-child(2){-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;border-bottom-left-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;border-bottom-right-radius:5px}.login-page .retrive-pwd-ways li:last-child{margin-top:10px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.back-email-success-page .tip{font-size:20px;color:#fff;margin-top:30px}.back-email-success-page .sub-tip,.back-email-success-page .resend{color:#939393;font-size:16px}.back-email-success-page .go-email{margin:20px 0 10px}.back-email-success-page .resend{float:right}.reg-code-page .captcha-tip,.back-code-page .captcha-tip{position:absolute;width:148px;text-align:center;right:15px;top:8px;color:#36a74c;padding:5px 0;border:1px solid #36a74c;border-radius:20px;font-size:16px}.reg-code-page .captcha-tip.disable,.back-code-page .captcha-tip.disable{color:#8f8f8f;border-color:#8f8f8f}.reg-code-page .input-container,.back-code-page .input-container{padding-right:190px}.reg-code-page .text-container,.back-code-page .text-container{color:#fff;font-size:16px;margin-bottom:20px}.reg-code-page .phone,.back-code-page .phone{color:#4ecae8}.reg-code-page .clear-input,.back-code-page .clear-input{right:170px}.time-view-like-share{color:#b0b0b0;line-height:0.95rem;height:0.95rem;font-size:0.6rem}.time-view-like-share .iconfont{vertical-align:9%;margin-right:0.1rem;font-size:0.6rem}.time-view-like-share .like-share-container{display:inline-block;float:right}.time-view-like-share .like-share-container>*{float:left}.time-view-like-share .like-share-container .iconfont{position:relative;height:1.5rem;line-height:1.5rem;display:inline-block;color:#b0b0b0;width:1.5rem;top:-0.35rem;font-size:0.85rem;text-align:center;margin-right:0;outline:none}.time-view-like-share .like-share-container .share-btn{margin-left:0.5rem}.time-view-like-share .like-share-container .like-btn.like{color:#444}.time-view-like-share .like-share-container .collect-btn{margin-left:0.5rem}.time-view-like-share .like-share-container .collect-btn.collected{color:#444}.guang-info{margin-bottom:0.75rem;padding:0 0 0.6rem 0;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.guang-info .info-author{display:block;width:100%}.guang-info .info-author .avatar{float:left;margin-top:0.5rem;width:1.25rem;height:1.25rem;margin-left:0.75rem;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.guang-info .info-author .name{float:left;margin-left:0.75rem;padding:0.75rem 0;font-size:0.7rem;color:#000}.guang-info:last-child{margin-bottom:0}.guang-info .info-img{position:relative;width:100%}.guang-info .info-img img{display:block;width:100%}.guang-info .info-match{position:absolute;top:0;left:0;width:3.25rem;height:1.25rem;line-height:1.25rem;font-size:0.7rem;color:#fff;background:#000;text-align:center;text-decoration:none}.guang-info .info-tag{position:absolute;top:0;left:2.625rem;height:1.25rem;width:1.25rem}.guang-info .info-tag.collocation{background:url('../../../img/guang/info/collocation.png?1445072968');background-size:100% 100%}.guang-info .info-tag.fashion-good{background:url('../../../img/guang/info/fashion-good.png?1445072968');background-size:100% 100%}.guang-info .info-tag.fashion-man{background:url('../../../img/guang/info/fashion-man.png?1445072968');background-size:100% 100%}.guang-info .info-tag.tip{background:url('../../../img/guang/info/tip.png?1445072968');background-size:100% 100%}.guang-info .info-tag.topic{background:url('../../../img/guang/info/topic.png?1445072968');background-size:100% 100%}.guang-info .info-deps{margin:0.8rem 0 0 0;padding:0 1rem 0 0.75rem}.guang-info .info-deps .info-title-container{text-decoration:none;color:#000}.guang-info .info-deps .info-title{line-height:1.1rem;color:#000;font-size:1rem;font-weight:bold}.guang-info .info-deps .info-text{margin:0.4rem 0 0 0;line-height:1.15rem;font-size:0.7rem;color:#444}.guang-info .info-deps .time-view-like-share{margin-top:0.4rem}.ps-list-page{background-color:#f0f0f0}.ps-list-page .nav-tab,.ps-list-page .ps-content{width:100%}.ps-list-page .nav-tab{height:1.5rem;padding:0.25rem 0;background-color:#fff}.ps-list-page .star-nav,.ps-list-page .plus-nav{box-sizing:border-box;float:left;width:50%;height:1.5rem;line-height:1.5rem;font-size:16px;text-align:center;color:#ccc}.ps-list-page .star-nav.focus,.ps-list-page .plus-nav.focus{color:#000}.ps-list-page .star-nav{border-right:1px solid #ccc}.ps-list-page .plus-star-row{margin-bottom:0.25rem}.ps-list-page .plus-star-row:last-child{margin-bottom:0}.ps-list-page .plus-star-row>a{display:block;height:7.75rem}.ps-list-page .content.hide{display:none}.ps-list-page .swiper-container{height:7.75rem}.ps-list-page .swiper-pagination-bullet-active{background:#fff}.ps-list-page .brand-deps{height:1rem;line-height:1rem;padding-left:0.25rem;font-size:14px;background:#fff;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ps-detail-page{background-color:#f0f0f0}.ps-detail-page .ps-block{margin-bottom:0.75rem;border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0;background-color:#fff}.ps-detail-page .ps-block.header,.ps-detail-page .ps-block.related-infos{border-top:none}.ps-detail-page .ps-block.related-infos{margin-bottom:0;background-color:#f0f0f0}.ps-detail-page .header{position:relative}.ps-detail-page .header .banner{width:100%;height:7.75rem}.ps-detail-page .header .logo{position:absolute;border:1px solid #b5b5b5;height:4.2rem;width:4.2rem;top:5.65rem;left:1.25rem}.ps-detail-page .header .header-content{padding:0 0.75rem}.ps-detail-page .header .name-islike-container{padding-left:6.2rem;margin-top:0.6rem;font-size:0.85rem}.ps-detail-page .header .name{color:#000;height:1.025rem;width:7.375rem}.ps-detail-page .header .brand-islike{position:relative;float:right;color:#b0b0b0;height:1.5rem;width:1.5rem;line-height:1.5rem;text-align:center;top:-0.25rem;left:-0.25rem}.ps-detail-page .header .brand-islike.like{color:#f00}.ps-detail-page .intro{margin-top:1.225rem;font-size:0.6rem;color:#444;line-height:150%}.ps-detail-page .more-intro{padding:0.75rem 0;font-size:0.7rem;line-height:104%;color:#bbb;float:right}.ps-detail-page .more-intro .icon{display:inline-block;height:100%;width:1rem;-moz-transition:-moz-transform 0.1s ease-in;-o-transition:-o-transform 0.1s ease-in;-webkit-transition:-webkit-transform 0.1s ease-in;transition:transform 0.1s ease-in}.ps-detail-page .more-intro.spread .icon{-moz-transform:rotate(-180deg);-ms-transform:rotate(-180deg);-webkit-transform:rotate(-180deg);transform:rotate(-180deg);-moz-transform:scale(0.83, 0.83);-ms-transform:scale(0.83, 0.83);-webkit-transform:scale(0.83, 0.83);transform:scale(0.83, 0.83)}.ps-detail-page .new-arrival{padding-left:0 0.75rem}.ps-detail-page .new-arrival .new-arrival-content{padding:0.5rem 0.35rem}.ps-detail-page .new-arrival .more-goods-container{height:2.25rem;padding:0 0.75rem;border-top:1px solid #e0e0e0;color:#000}.ps-detail-page .new-arrival .mg-text{height:100%;line-height:2.25rem;color:#000;text-decoration:none;display:block;font-size:16px}.ps-detail-page .new-arrival .more-prods{float:right;color:#b0b0b0}.ps-detail-page .new-arrival .new-arrival-header .more-prods{margin-right:0.75rem;margin-top:0.25rem}.ps-detail-page .new-arrival-header{padding-left:5.55rem;padding-top:0.825rem}.ps-detail-page .new-arrival-header .header-text{font-size:0.7rem;color:#000;line-height:122%;font-weight:bold}.ps-detail-page .related-info-title{margin:0 0.725rem;border:1px solid #e0e0e0;border-bottom:none;line-height:1.8rem;font-size:0.75rem;color:#b0b0b0;text-align:center;background-color:#fff}.ps-detail-page .related-infos-container .guang-info:first-child{margin-top:0}.guang-list-page .editor-header{margin-bottom:0.75rem;padding-top:0.9rem;padding-bottom:1rem;background:#fff;border-bottom:1px solid #e0e0e0}.guang-list-page .avatar{float:left;margin-left:0.75rem}.guang-list-page .avatar img{width:2.5rem;height:2.5rem;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.guang-list-page .text{float:left;margin-left:0.8rem;width:11.875rem}.guang-list-page .text .name{font-size:0.8rem;line-height:1rem}.guang-list-page .text .info{margin-top:0.15rem;color:#bdbdbf;font-size:0.6rem;line-height:0.8rem}.guang-list-page .swiper-container{width:100%;height:7.75rem}.guang-list-page .swiper-container img{height:100%;width:100%}.guang-list-page .swiper-container .swiper-pagination{bottom:0;left:0;width:100%}.guang-list-page .swiper-container .swiper-pagination-bullet-active{background:#fff}.guang-list-page .guang-nav{background-color:#fff;overflow:hidden;height:2rem}.guang-list-page .guang-nav-item{float:left;color:#ccc;font-size:0.7rem;padding:0 0.55rem;line-height:2rem}.guang-list-page .guang-nav-item.focus{color:#000}.guang-list-page .info-list.hide{display:none}.guang-list-page .load-more-info{width:100%;height:1.75rem;line-height:1.75rem;text-align:center;font-size:14px;overflow:hidden}.guang-list-page .load-more-info .status.hide{display:none}.clothes-sprite{background-image:url('../../../img/guang/clothes-s7f658d7d2c.png');background-repeat:no-repeat}.guang-detail-page #wrapper.ios{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.guang-detail-page .author{border-bottom:1px solid #e0e0e0;background:#fff}.guang-detail-page .author>a{display:block;height:100%}.guang-detail-page .author .avatar{float:left;margin-top:0.5rem;margin-left:0.75rem;width:1.25rem;height:1.25rem;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.guang-detail-page .author .name{float:left;font-size:0.7rem;color:#000;padding:0.75rem 0;margin-left:0.75rem}.guang-detail-page .author .intro{float:left;font-size:0.7rem;color:#b0b0b0;padding:0.75rem 0;margin-left:0.75rem}.guang-detail-page .post-title{padding:0.4rem 0 0.65rem 0.75rem;background:#fff}.guang-detail-page .post-title .title{line-height:1.5rem;font-size:1rem;color:#000;font-weight:bold}.guang-detail-page .text-block{padding:0.5rem 0.75rem;line-height:1.15rem;font-size:0.7rem;background:#fff;color:#444}.guang-detail-page .big-img-block{padding-bottom:0.125rem;background:#fff}.guang-detail-page .big-img-block img{width:100%;height:16rem}.guang-detail-page .small-img-block{padding-bottom:0.2rem;background:#fff}.guang-detail-page .small-img-block img{float:right;width:7.875rem;height:10.5rem}.guang-detail-page .small-img-block img:first-child{float:left}.guang-detail-page .collocation-block{background:#fff}.guang-detail-page .collocation-block .good-list{padding-left:0.375rem}.guang-detail-page .thumb-container{padding-top:0.75rem;padding-left:0.75rem;background:transparent url('../../../img/guang/thumb-container-bg.png?1445072968') no-repeat;background-size:200% 100%}.guang-detail-page .thumb-container.fixed-top{position:fixed;left:0;right:0;top:0}.guang-detail-page .thumb-container.fixed-bottom{position:fixed;left:0;right:0;bottom:0;background:rgba(255,255,255,0.9)}.guang-detail-page .thumb-container.absolute{position:absolute;left:0;right:0}.guang-detail-page .thumb-container.static{position:static}.guang-detail-page .thumb-container.hide{display:none}.guang-detail-page .clothe-type{position:absolute;right:0.15rem;bottom:0.85rem;width:20px;height:20px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.guang-detail-page .clothe-type.bag{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 0 no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.cloth{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -20px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.dress{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -40px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.headset{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -60px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.lamp{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -80px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.pants{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -100px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.shoe{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -120px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.swim-suit{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -140px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.under{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -160px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.watch{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -180px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .thumb{display:inline-block;position:relative;margin-right:0.55rem;padding-bottom:0.75rem}.guang-detail-page .thumb:last-child{margin-right:0}.guang-detail-page .thumb.focus .thumb-img{border-color:#000}.guang-detail-page .thumb-img{height:3.35rem;width:2.4rem;border:1px solid transparent}.guang-detail-page .related-reco-block{background:#fff;padding-left:0.375rem;border-top:1px solid #e0e0e0}.guang-detail-page .related-reco-block h2{margin-left:-0.375rem;line-height:2.6rem;font-size:0.75rem;color:#b0b0b0;text-align:center}.guang-detail-page .related-reco-block .one-good{padding-left:0.375rem;padding-right:0.75rem;margin-bottom:0.5rem}.guang-detail-page .related-reco-block .one-good .thumb{float:left;height:3.35rem;width:2.4rem}.guang-detail-page .related-reco-block .one-good .content-container{padding-left:3rem;height:3.35rem;line-height:1;font-size:0.6rem}.guang-detail-page .related-reco-block .one-good .content-container>p{height:50%;line-height:2.35rem}.guang-detail-page .related-reco-block .one-good .content-container span{display:inline-block;line-height:0.6rem}.guang-detail-page .related-reco-block .one-good .content-container .price{line-height:1.175rem}.guang-detail-page .related-reco-block .one-good .sale-price{color:#d62927;line-height:1.5}.guang-detail-page .related-reco-block .one-good .sale-price.no-price{color:#000}.guang-detail-page .related-reco-block .one-good .market-price{margin-left:0.125rem;color:#b0b0b0;text-decoration:line-through;line-height:1.5}.guang-detail-page .related-reco-block .one-good .check-detail{display:inline-block;color:#000;border:1px solid;border-radius:2px;float:right;padding:0 5px;line-height:1.5}.guang-detail-page .related-brand{margin-top:0.75rem}.guang-detail-page .related-brand h2{margin:0 0.725rem;background:#fff;border:1px solid #e0e0e0;border-bottom:none;line-height:1.8rem;font-size:0.75rem;color:#b0b0b0;text-align:center}.guang-detail-page .related-brand .brand-list{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;padding:0.75rem 0 0.75rem;background:#fff}.guang-detail-page .related-brand .brand{float:left;width:3.95rem;height:3.2rem;border-right:1px solid #e0e0e0;margin-bottom:0.25rem}.guang-detail-page .related-brand .brand a{display:block}.guang-detail-page .related-brand .brand:nth-child(4n){border-right:none}.guang-detail-page .related-brand .brand-logo{display:table-cell;width:3.95rem;height:2.35rem;vertical-align:middle}.guang-detail-page .related-brand .brand-logo img{display:block;max-width:3.95rem;max-height:2.35rem;vertical-align:middle;margin:0 auto}.guang-detail-page .related-brand .brand-name{margin:0.25rem 0 0 0;line-height:0.6rem;font-size:0.45rem;color:#babac2;text-align:center;text-decoration:none;border-bottom:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guang-detail-page .related-tag{position:relative;padding-bottom:0.75rem;border-bottom:1px solid #e0e0e0;background:#fff}.guang-detail-page .related-tag .tag-bg{position:absolute;height:1rem;width:1rem;background:url('../../../img/guang/tag.png?1445072968') no-repeat;background-size:100% 100%;top:0.875rem;left:0.5rem}.guang-detail-page .related-tag .tag-list{margin-left:1.25rem}.guang-detail-page .related-tag li{float:left;margin-top:0.775rem;margin-left:0.775rem}.guang-detail-page .related-tag a{height:1.25rem;line-height:1.25rem;font-size:0.75rem;color:#000;text-decoration:underline;white-space:nowrap}.guang-detail-page .related-info{margin-top:0.75rem}.guang-detail-page .related-info h2{margin:0 0.725rem;background:#fff;border:1px solid #e0e0e0;border-bottom:none;line-height:1.8rem;font-size:0.75rem;color:#b0b0b0;text-align:center}.guang-detail-page .related-info .info-list{background:#fff;padding-bottom:0.75rem;border-top:1px solid #e0e0e0}.guang-detail-page .related-info li{padding-top:0.75rem;margin-bottom:0.25rem}.guang-detail-page .related-info li a{display:block}.guang-detail-page .related-info li img{float:left;margin-left:0.75rem;width:4.55rem;height:2.85rem}.guang-detail-page .related-info li img.square{height:4.55rem}.guang-detail-page .related-info .title,.guang-detail-page .related-info .publish-time{float:left;width:9rem;margin-left:0.75rem;line-height:1rem;color:#444;font-size:0.7rem}.guang-detail-page .related-info .publish-time{font-size:0.45rem;margin-top:0;color:#b0b0b0}.guang-detail-page .related-info .publish-time .iconfont{font-size:0.45rem}.header-download{position:relative;height:5.3rem;padding:1.2rem 0 0;overflow:hidden}.header-download .download-bg{position:absolute;left:0;top:0;width:100%;z-index:-1}.header-download .yoho-logo{height:1.425rem;background:url('../../../img/app-logo.png?1445072968') no-repeat center center;background-size:auto 100%}.header-download p{line-height:1.2rem;font-size:0.7rem;color:#fff;text-align:center}.header-download .download-btn{display:block;margin:0.45rem auto 0;width:7.35rem;height:1.6rem;line-height:1.6rem;border:0.075rem solid #fff;font-size:0.9rem;text-align:center;color:#fff}.header-download .close-btn{position:absolute;top:0.425rem;right:0.325rem;width:1.25rem;height:1.25rem;background:url('../../../img/close-icon.png?1445072968');background-size:100% 100%}.banner-top{position:relative}.banner-top .swiper-pagination{position:absolute;left:0;right:0;bottom:0.5rem;text-align:center}.banner-top .swiper-pagination .pagination-inner{display:inline-block}.banner-top .swiper-pagination .pagination-inner span{display:inline-block;width:0.35rem;height:0.35rem;background:#fff;opacity:0.5;margin:0 0.225rem;border-radius:50%}.banner-top .swiper-pagination .pagination-inner span.swiper-active-switch{opacity:1}.banner-swiper{height:7.725rem;overflow:hidden}.banner-swiper ul{position:relative;height:100%}.banner-swiper ul li{float:left;height:100%}.banner-swiper ul li img{width:100%;height:100%}.banner-center{margin:0.75rem 0 0;height:5rem;overflow:hidden}.banner-center img{display:block;width:100%}.banner-bottom{margin:0.75rem 0 0;height:4rem;overflow:hidden}.banner-bottom img{display:block;width:100%}.side-nav{display:none;background:#fff;position:fixed;top:0;right:2.5rem;bottom:0;left:0;z-index:1;overflow:hidden}.side-nav ul{background:#f0f0f0}.side-nav li{position:relative;height:3.2rem;line-height:3.2rem;border-bottom:1px solid #e0e0e0;background:#fff}.side-nav li a{display:block;height:100%;padding-left:2.75rem;color:#444;font-size:0.6rem}.side-nav li .nav-icon,.side-nav li .nav-img{position:absolute;width:1.5rem;height:1.5rem;top:50%;margin-top:-0.75rem;left:0.6rem}.side-nav li .enter-subnav{position:absolute;right:0.75rem;top:0;bottom:0;font-size:0.9rem;color:#b0b0b0;font-weight:lighter}.side-nav li em{margin-right:0.25rem;font-weight:bold;font-size:0.85rem}.side-nav li.boys i{background:url('../../../img/side-nav/boys.png?1445072968') no-repeat left center;background-size:100% 100%}.side-nav li.girls i{background:url('../../../img/side-nav/girls.png?1445072968') no-repeat left center;background-size:100% 100%}.side-nav li.kids i{background:url('../../../img/side-nav/kids.png?1445072968') no-repeat left center;background-size:100% 100%}.side-nav li.life i{background:url('../../../img/side-nav/life.png?1445072968') no-repeat left center;background-size:100% 100%}.side-nav li.new{margin:0.475rem 0 0;border-top:1px solid #e0e0e0}.side-nav li.new i{background:url('../../../img/side-nav/new.png?1445072968') no-repeat left center;background-size:100% 100%}.side-nav li.guang .nav-icon,.side-nav li.trendfinder .nav-icon{background:url('../../../img/side-nav/guang.png?1445072968') no-repeat left center;background-size:100% 100%}.side-nav.on{display:block}.sub-nav{position:fixed;top:0;right:2.5rem;left:0;bottom:0;background:#fff !important;z-index:2;-moz-transform:translateX(100%);-ms-transform:translateX(100%);-webkit-transform:translateX(100%);transform:translateX(100%);-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.sub-nav li{height:2.725rem;line-height:2.725rem;border:none}.sub-nav li a{position:relative;display:block;margin:0 0 0 0.75rem;padding-left:1.25rem;border-bottom:1px solid #e0e0e0;font-size:0.9rem;z-index:2}.sub-nav li .nav-point{position:absolute;left:0rem;font-size:0.4rem;color:#f0f0f0}.sub-nav li em{font-weight:normal;font-size:0.9rem}.sub-nav li:hover .nav-point,.sub-nav li.current .nav-point{color:#3e3e3e}.sub-nav li:first-child{height:2.2rem;line-height:2.2rem;background:#3e3e3e}.sub-nav li:first-child a{color:#fff;border-bottom:none;padding-left:2.75rem}.sub-nav li:first-child .nav-back{position:absolute;left:0}.sub-nav.show{-moz-transform:translateX(0);-ms-transform:translateX(0);-webkit-transform:translateX(0);transform:translateX(0);-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.floor-header{margin:0.725rem 0.75rem 0;background:#fff;border:1px solid #e0e0e0;border-bottom:none;height:1.75rem;line-height:1.75rem;text-align:center;font-size:0.75rem;color:#b1b1b1}.floor-header-more{position:relative;height:2.475rem;line-height:2.475rem;margin:0.725rem 0 0;background:#fff;border-top:1px solid #e0e0e0;text-align:center;font-size:0.8rem;color:#444}.floor-header-more .more-btn{position:absolute;right:0.75rem;top:0;bottom:0;color:#b0b0b0}.hot-brands{background:#fff;border-bottom:1px solid #e0e0e0}.hot-brands a{display:block;text-decoration:none;height:100%}.hot-brands .brand{float:left;width:3.95rem;height:4.35rem;border-right:1px solid #e0e0e0;border-top:1px solid #e0e0e0;overflow:hidden}.hot-brands .brand .brand-logo{width:100%;height:3.2rem;line-height:3.2rem;text-align:center;font-size:0}.hot-brands .brand .brand-logo img{vertical-align:middle;max-width:100%;max-height:100%}.hot-brands .brand .brand-name{line-height:1.1rem;font-size:0.45rem;color:#babac2;text-align:center;text-decoration:none;border-bottom:none;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap}.hot-brands .brand:nth-child(4n){border-right:none}.hot-brands .more{float:left;width:7.925rem;height:4.35rem;border-top:1px solid #e0e0e0}.hot-brands .more a{display:block;width:100%;height:100%;background:url('../../../img/more-brand.png?1445072968') no-repeat;background-size:100% 100%}.brands-swiper{background:#fff;width:100%;height:3.5rem;margin-bottom:0.7rem;overflow:hidden}.brands-swiper .brands-list{position:relative;height:3.5rem}.brands-swiper .brands-list li{float:left;padding-left:5%;width:21.875%;height:3.5rem}.brands-swiper .brands-list li a{position:relative;display:block;width:100%;height:100%;line-height:3.5rem;font-size:0}.brands-swiper .brands-list li img{max-width:100%;max-height:100%;vertical-align:middle}.brands-swiper .brands-list li .brands-title{position:absolute;left:0.2rem;right:0.2rem;bottom:0.2rem;height:0.7rem;line-height:0.7rem;text-align:center;font-size:0.45rem;color:#444;background:rgba(255,255,255,0.5);overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap}.fine-brands{background:#fff;border-top:1px solid #e0e0e0}.fine-brands a{display:block;text-decoration:none}.fine-brands .brand{float:left;width:3.95rem;height:4.35rem;border-right:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.fine-brands .brand .brand-logo{display:table-cell;width:3.95rem;height:3.25rem;vertical-align:middle}.fine-brands .brand .brand-logo img{display:block;max-width:3.95rem;max-height:3.25rem;vertical-align:middle;margin:0 auto}.fine-brands .brand .brand-name{line-height:1.1rem;font-size:0.45rem;color:#babac2;text-align:center;text-decoration:none;border-bottom:none;overflow:hidden}.fine-brands .brand:nth-child(4n){border-right:none}.creative-life{background:#fff}.creative-life .banner{display:block}.creative-life .banner img{width:100%;height:10.1rem}.creative-life .classify-list>li{float:left;width:5.3rem;height:4.8rem;border-bottom:1px solid #e0e0e0;border-right:1px solid #e0e0e0}.creative-life .classify-logo{display:table-cell;width:5.3rem;height:3.5rem;vertical-align:middle}.creative-life .classify-logo img{display:block;max-width:5.3rem;max-height:3.5rem;vertical-align:middle;margin:0 auto}.creative-life .classify-name{line-height:1.3rem;font-size:0.65rem;color:#000;text-align:center;text-decoration:none;border-bottom:none;overflow:hidden}.creative-life .classify:nth-child(3n){border-right:0}.plus-star img{display:block;width:100%;height:4.95rem}.h5-footer{font-size:12px;background-color:#fff;z-index:100}.h5-footer a{color:#000}.h5-footer .user-name{text-decoration:underline}.h5-footer .op-row{position:relative;padding:0 0.75rem;height:1.5rem;line-height:1.5rem}.h5-footer .back-to-top{position:absolute;right:0.5rem}.h5-footer .copyright{height:1.5rem;line-height:1.5rem;text-align:center;color:#666;border-top:1px solid #ccc;background-color:#eee}.maybe-like{background:#fff;padding-left:0.375rem;border-top:1px solid #ccc;border-bottom:1px solid #ccc;margin-top:0.75rem}.maybe-like .title{height:2.6rem;line-height:2.6rem;text-align:center;color:#dadada}.maybe-like .icon{display:inline-block;height:0.775rem;width:0.775rem;background:url('../../../img/up-icon.png?1445072968') no-repeat;background-size:100% 100%}.maybe-like .maybe-like-nav{width:100%;height:1.5rem;padding:0.25rem 0;background-color:#fff}.maybe-like .maybe-like-nav-item{box-sizing:border-box;float:left;width:50%;height:1.5rem;line-height:1.5rem;text-align:center;color:#ccc;border-right:1px solid #ccc}.maybe-like .maybe-like-nav-item.focus{color:#000}.icons-wrapper{box-sizing:border-box;padding:0.75rem 0 0.4rem;background:#fff;border-bottom:1px solid #e0e0e0}.icons-item{float:left;margin-bottom:0.25rem;width:25%;height:3.65rem;text-align:center}.imagebar{margin:0 auto;display:flex;display:-webkit-flex;width:2.45rem;height:2.45rem;border-radius:50%;border:0.05rem solid #e0e0e0;box-sizing:border-box;overflow:hidden;align-items:center;justify-content:center}.imagebar img{max-width:80%;max-height:80%}.linkbar{display:block;line-height:1.1rem;font-size:0.6rem;color:#444}.trend-coll-wrapper{background:#fff;height:16.125rem;border-bottom:1px solid #e0e0e0}.trend-coll-header{position:relative;widows:100%}.trend-coll-header .trend-coll-title{width:100%;height:2.5rem;line-height:2.5rem;text-align:center;font-size:0.85rem;color:#747474}.trend-coll-header .more{position:absolute;right:0.6rem;top:0.5rem}.trend-coll-content{padding:0 0.375rem}.trend-coll-content .lspan{float:left;margin:0 0.375rem}.trend-coll-content .rspan{float:right;margin:0 0.375rem}.lspanimg{display:block;float:right;width:6.875rem;height:6.875rem}.rspanimg{display:block;float:right;width:6.875rem;height:6.875rem}.trend-coll-tail{box-sizing:border-box;width:100%;height:6.675rem;clear:both}.recommend-title{widows:100%;height:2.5rem;line-height:2.5rem;text-align:center;font-size:0.85rem}.recommend-swiper{width:100%;height:3.5rem;overflow:hidden}.recommend-list{position:relative}.recommend-list .recommend-item{float:left;padding-left:0.75rem;width:3.5rem;height:3.5rem}.recommend-list .recommend-item a{display:block;width:100%;height:100%}.recommend-list .recommend-item a img{width:100%;height:100%}.trend-topic-wrapper{background:#fff}.trend-topic-content{position:relative;width:100%;border-bottom:1px solid #e0e0e0}.trend-topic-content .swiper-pagination{position:absolute;left:0;right:0;bottom:0.55rem;text-align:center}.trend-topic-content .swiper-pagination .pagination-inner{display:inline-block}.trend-topic-content .swiper-pagination span{float:left;width:0.4rem;height:0.4rem;margin:0 0.2rem;background:#efefef;border-radius:50%}.trend-topic-content .swiper-pagination span.swiper-active-switch{background:#b0b0b0}.trend-topic-swiper{height:13.35rem;overflow:hidden}.trend-topic-swiper ul{position:relative}.trend-topic-swiper ul li{float:left;height:13.35rem}.trend-topic-swiper ul li .img-box{display:flex;display:-webkit-flex;height:9rem;margin:0 0.75rem;align-items:center;justify-content:center}.trend-topic-swiper ul li .img-box img{max-width:100%;max-height:100%}.trend-topic-swiper ul li .item-content{margin:0.5rem 0.75rem 0}.trend-topic-swiper ul li .item-content .title{line-height:1.3rem;font-size:0.75rem;color:#000}.trend-topic-swiper ul li .item-content .time{margin:0.4rem 0 0;line-height:0.6rem;color:#afafaf;font-size:0.45rem}.trend-topic-swiper ul li .item-content .time .time-icon{margin-right:0.2rem;font-size:0.35rem}.category-swiper{position:relative;height:10.075rem;overflow:hidden}.category-swiper ul li{float:left;width:100%}.category-swiper ul li a,.category-swiper ul li img{display:block;width:100%;height:100%}.category-swiper .swiper-pagination{position:absolute;left:0;right:0;bottom:0.5rem;text-align:center}.category-swiper .swiper-pagination .pagination-inner{display:inline-block}.category-swiper .swiper-pagination .pagination-inner span{display:inline-block;width:0.35rem;height:0.35rem;background:#fff;opacity:0.5;margin:0 0.225rem;border-radius:50%}.category-swiper .swiper-pagination .pagination-inner span.swiper-active-switch{opacity:1}.goods-category .category-list{background:#f5f7f6;height:9.575rem}.goods-category .category-list li{float:left;width:4.775rem;height:4.525rem;padding:0.25rem 0 0;border-left:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.goods-category .category-list li .first-show{display:none}.goods-category .category-list li .img-box{display:flex;display:-webkit-flex;height:3.5rem;align-items:center;justify-content:center}.goods-category .category-list li .img-box img{max-width:100%;max-height:100%}.goods-category .category-list li .category-name{line-height:0.8rem;font-size:0.5rem;color:#444;text-align:center}.goods-category .category-list li:first-child{width:6.325rem;height:8.375rem;border-left:none;padding:1.2rem 0 0 0}.goods-category .category-list li:first-child .first-show{display:block;line-height:1.1rem;font-size:0.75rem;color:#444;text-align:center}.goods-category .category-list li:first-child .img-box{height:5.5rem}.goods-category .category-list li:first-child .category-name{line-height:1rem;font-size:0.55rem}.hot-category{margin:0.75rem 0 0;border-top:1px solid #e0e0e0}.hot-category .category-banner{height:4.95rem}.hot-category .category-banner img{display:block;width:100%;height:100%}.hot-category .category-list{background:#fff;border-top:1px solid #e0e0e0}.hot-category .category-list li{float:left;width:3.95rem;height:4.35rem;border-bottom:1px solid #e0e0e0;border-left:1px solid #e0e0e0}.hot-category .category-list li .img-box{width:100%;height:3.45rem;text-align:center;vertical-align:middle}.hot-category .category-list li .img-box img{max-width:100%;max-height:100%;vertical-align:middle}.hot-category .category-list li .category-title{line-height:0.55rem;color:#aaa;font-size:0.45rem;text-align:center}.home-header{height:2.2rem;line-height:2.2rem;background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMyMzIzMiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzQxNDE0MSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background-size:100%;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #323232),color-stop(100%, #414141));background-image:-moz-linear-gradient(#323232,#414141);background-image:-webkit-linear-gradient(#323232,#414141);background-image:linear-gradient(#323232,#414141);position:relative}.home-header .iconfont{color:#fff}.home-header .nav-btn{position:absolute;left:0.8rem;top:0;bottom:0;z-index:2}.home-header .logo{display:block;margin:0 auto;width:5.2rem;height:2.175rem;background:url('../../../img/yohologo02.png?1445072968') no-repeat center center;background-size:100%}.home-header .logo.animate{background:url('../../../img/yohologo01.png?1445072968') no-repeat center center;background-size:100%}.home-header .search-btn{position:absolute;right:0.8rem;top:0;bottom:0}.home-header .search-btn a{color:#fff}.girls-wrap .home-header{background:#FF88AE}.kids-wrap .logo{font-style:italic;font-family:"helvetica","Arial","榛戜綋";font-weight:bold;color:#fff}.mobile-container{width:100%;overflow:hidden}.mobile-wrap{position:relative;z-index:2;background:#f0f0f0;-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.mobile-wrap.menu-open{-moz-transform:translateX(13.5rem);-ms-transform:translateX(13.5rem);-webkit-transform:translateX(13.5rem);transform:translateX(13.5rem);-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.overlay{display:none;position:absolute;top:0;left:0;right:0;bottom:0;background:#000;opacity:0.3;z-index:99}.overlay.show{display:block}.login-tip{display:none}.category-page{font-size:0.75rem}.category-page .search-input{position:relative;background-color:#f8f8f8;padding:0.325rem 0.5rem}.category-page .search-input p{box-sizing:border-box;width:100%;height:1.5rem;line-height:1.5rem;border:none;padding-left:1.325rem;border-radius:1.5rem;font-size:0.75rem;background:#fff;color:#999}.category-page .search-icon{position:absolute;top:0;bottom:0;left:1.075rem;line-height:2.15rem;color:#999}.category-page .category-nav{height:1.775rem;border-bottom:1px solid #e6e6e6}.category-page .category-nav li{display:block;box-sizing:border-box;float:left;height:100%;line-height:1.775rem;width:25%;text-align:center;border-right:1px solid #e6e6e6;color:#999}.category-page .category-nav li:last-child{border-right:none}.category-page .category-nav li.focus{color:#000}.category-page .content.hide{display:none}.category-page .primary-level{float:left;box-sizing:border-box;width:40%;background:#f8f8f8}.category-page .primary-level>li{height:1.725rem;line-height:1.725rem;padding-left:0.8rem}.category-page .primary-level>li.focus{background-color:#fff}.category-page .sub-level-container{float:left;box-sizing:border-box;padding-left:0.5rem;background:#fff;width:60%}.category-page .sub-level{width:100%}.category-page .sub-level.hide{display:none}.category-page .sub-level>li{height:1.775rem;line-height:1.775rem;border-bottom:1px solid #e6e6e6}.category-page .sub-level>li:last-child{border-bottom:none}.newarrival-page{background-color:#f0f0f0}.newarrival-page .swiper-container{width:100%;height:7.75rem}.newarrival-page .swiper-container img{height:100%;width:100%}.newarrival-page .swiper-container .swiper-pagination{bottom:0;left:0;width:100%}.newarrival-page .swiper-container .swiper-pagination-bullet-active{background:#fff}.newarrival-page .newarrival-nav{width:100%;height:1.5rem;padding:0.25rem 0;background-color:#fff}.newarrival-page .newarrival-nav-item{box-sizing:border-box;float:left;width:33.333333%;height:1.5rem;line-height:1.5rem;text-align:center;color:#ccc;border-right:1px solid #ccc}.newarrival-page .newarrival-nav-item.focus{color:#000}.newarrival-page .goods-list.hide{display:none}.discount-page{background-color:#f0f0f0}.discount-page .swiper-container{width:100%;height:7.75rem}.discount-page .swiper-container img{height:100%;width:100%}.discount-page .swiper-container .swiper-pagination{bottom:0;left:0;width:100%}.discount-page .swiper-container .swiper-pagination-bullet-active{background:#fff}.discount-page .discount-nav{width:100%;height:1.5rem;padding:0.25rem 0;background-color:#fff}.discount-page .discount-nav-item{box-sizing:border-box;float:left;width:25%;height:1.5rem;line-height:1.5rem;text-align:center;color:#ccc;border-right:1px solid #ccc}.discount-page .discount-nav-item.focus{color:#000}.discount-page .goods-list.hide{display:none}.index-page{width:100%;overflow:hidden;margin:0 auto}.index-page .index-container{position:relative;-moz-transition:-moz-transform 0.5s;-o-transition:-o-transform 0.5s;-webkit-transition:-webkit-transform 0.5s;transition:transform 0.5s;background-color:white}.index-page .index-container .index_header{height:2rem;line-height:2rem;overflow:hidden;padding:0 0.25rem}.index-page .index-container .index-channel{color:#FFF;text-align:center;position:relative;background-color:#000000}.index-page .index-container .index-channel .index-channel-list{padding-top:50%;width:100%;position:absolute;top:0}.index-page .index-container .index-channel .index-channel-list .homestyle{margin-bottom:1.25rem;width:7.1825rem}
define("index",["zepto","lazyload","swiper","mlellipsis","index"],function(e,a,t){var n;e("js/passport/index"),e("js/guang/index"),e("js/home/index"),e("js/product/index"),t.exports=n}),define("js/passport/index",["zepto"],function(e,a,t){e("js/passport/register/register"),e("js/passport/register/code"),e("js/passport/register/password"),e("js/passport/login/login"),e("js/passport/login/interational"),e("js/passport/back/mobile"),e("js/passport/back/code"),e("js/passport/back/email"),e("js/passport/back/email-success"),e("js/passport/back/new-password")}),define("js/passport/register/register",["zepto"],function(e,a,t){var n=e("zepto"),s=n("#phone-num"),o=n("#country-select"),i=n("#area-code"),l=n("#btn-next"),r=e("js/passport/api"),d=e("js/plugin/tip"),c=n.trim,p=d.show;r.selectCssHack(n("#country-select")),r.bindClearEvt(),s.bind("input",function(){""===c(s.val())?l.addClass("disable"):l.removeClass("disable")}),o.change(function(){i.text(o.val())}),l.on("touchstart",function(){var e=c(s.val()),a=o.val();l.hasClass("disable")||(r.phoneRegx[a].test(e)?n.ajax({url:"/passport/reg/verifymobile",type:"POST",data:{areaCode:a.replace("+",""),phoneNum:e},success:function(e){200===e.code?location.href=e.data:p(e.message)}}):p("手机号格式不正确,请重新输入"))})}),define("js/passport/api",["zepto"],function(e,a,t){function n(){var e,a=l(".has-eye");a.append('<div class="eye close"></div>'),e=a.children(".eye"),e.on("touchstart",function(e){var a=l(this),t=a.siblings(".pwd");e.preventDefault(),a.toggleClass("close"),a.hasClass("close")?t.attr("type","password"):t.attr("type","text"),t.focus()})}function s(){var e,a=l(".has-clear");a.append('<div class="clear-input"></div>'),e=a.children(".clear-input"),e.on("touchstart",function(a){var t=e.siblings(".input");t.val("").trigger("input").focus(),a.preventDefault()}),a.children(".input").bind("input",function(){var e=l(this),a=e.siblings(".clear-input"),t=r(e.val());""===t?a.hide():a.show()})}function o(e){return e.length>=6&&e.length<=20?!0:!1}function i(e){function a(){var a=e.find("option:selected").text().length;switch(a){case 2:e.outerWidth(90);break;case 3:e.outerWidth(110);break;default:e.outerWidth(130)}}var t=navigator.userAgent;t.match(/uc/i)&&t.match(/android/i)?e.change(function(){a()}):e.removeClass("in-android-uc")}var l=e("zepto"),r=l.trim,d=/^([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/,c={"+86":/^1[35847]{1}[0-9]{9}$/,"+852":/^[965]{1}[0-9]{7}$/,"+853":/^[0-9]{8}$/,"+886":/^[0-9]{10}$/,"+65":/^[98]{1}[0-9]{7}$/,"+60":/^1[1234679]{1}[0-9]{8}$/,"+1":/^[0-9]{10}$/,"+82":/^01[0-9]{9}$/,"+44":/^7[789][0-9]{8}$/,"+81":/^0[9|8|7][0-9]{9}$/,"+61":/^[0-9]{11}$/};t.exports={emailRegx:d,phoneRegx:c,bindEyesEvt:n,bindClearEvt:s,pwdValidate:o,selectCssHack:i}}),define("js/plugin/tip",["zepto"],function(e,a,t){function n(e,a){var t,n;"undefined"!=typeof e&&(t=e.toString(),n=a&&a>0?a:2e3,s.text(t).show(),o=setTimeout(function(){"block"===s.css("display")&&s.hide()},n))}var s,o,i=e("zepto");!function(){var e='<div id="yoho-tip" class="yoho-tip"></div>';i(".yoho-page").append(e),s=i("#yoho-tip"),s.on("touchstart",function(){s.hide(),clearTimeout(o)})}(),a.show=n}),define("js/passport/register/code",["zepto"],function(e,a,t){e("js/passport/code")(!0)}),define("js/passport/code",["zepto"],function(e,a,t){var n=e("zepto");t.exports=function(a){function t(){var e,a=59;e=setInterval(function(){0===a?(i.text("重发验证码").removeClass("disable"),clearInterval(e)):i.text("重发验证码 ("+a--+"秒)")},1e3)}var s=n("#captcha"),o=n("#btn-next"),i=n("#captcha-tip"),l=n("#phone-num").val(),r=n("#area-code").val().replace("+",""),d=e("js/passport/api"),c=e("js/plugin/tip"),p=n.trim,u=c.show,f=a?"reg":"back";d.bindClearEvt(),s.bind("input",function(){""!==p(s.val())?o.removeClass("disable"):o.addClass("disable")}),i.on("touchstart",function(){i.hasClass("disable")||n.ajax({type:"POST",url:"/passport/"+f+"/sendcode",data:{phoneNum:l,areaCode:r},success:function(e){200===e.code?(i.text("重发验证码 (60秒)").addClass("disable"),t()):u(e.message)}})}),o.on("touchstart",function(){o.hasClass("disable")||n.ajax({type:"POST",url:"/passport/"+f+"/verifycode",data:{phoneNum:l,areaCode:r,code:p(s.val()),token:n("#token").val()},success:function(e){200===e.code?location.href=e.data:u(e.message)}})}),t()}}),define("js/passport/register/password",["zepto"],function(e,a,t){var n=e("zepto"),s=n("#pwd"),o=n("#btn-sure"),i=e("js/passport/api"),l=e("js/plugin/tip"),r=n.trim,d=l.show;i.bindEyesEvt(),s.bind("input",function(){""===r(s.val())?o.addClass("disable"):o.removeClass("disable")}),o.on("touchstart",function(){var e=r(s.val());o.hasClass("disable")||(i.pwdValidate(e)===!1?d("密码6-20位,请重新输入"):n.ajax({type:"POST",url:"/passport/reg/setpassword",data:{password:e,phoneNum:n("#phone-num").val(),areaCode:n("#area-code").val(),token:n("#token").val()},success:function(e){200===e.code?(d("注册成功"),setTimeout(function(){location.href=e.data},1e3)):401===e.code||404===e.code||505===e.code?d(e.message):(d(e.message),setTimeout(function(){location.href=e.data},1e3))}}))})}),define("js/passport/login/login",["zepto"],function(e,a,t){function n(){u&&f?d.removeClass("disable"):d.addClass("disable")}function s(){c.show(),p.show()}function o(){c.hide(),p.hide()}var i=e("zepto"),l=i("#account"),r=i("#pwd"),d=i("#btn-login"),c=i("#retrive-pwd-mask"),p=i("#retrive-pwd-ways"),u=!1,f=!1,h=e("js/passport/api"),g=e("js/plugin/tip"),v=i.trim,m=g.show;h.bindEyesEvt(),h.bindClearEvt(),l.bind("input",function(){u=""!==v(l.val())?!0:!1,n()}),r.bind("input",function(){f=""===v(r.val())?!1:!0,n()}),d.on("touchstart",function(){var e=v(l.val()),a=v(r.val());d.hasClass("disable")||((/^[0-9]+$/.test(e)||h.emailRegx.test(e))&&h.pwdValidate(a)?i.ajax({type:"POST",url:"/passport/login/auth",data:{account:e,password:a},success:function(e){200===e.code?(m("登录成功"),setTimeout(function(){location.href=e.data},1e3)):m(e.message)},error:function(){m("网络断开连接啦~")}}):m("账号或密码有错误,请重新输入"))}),i("#forget-pwd").on("touchstart",function(){s()}),c.on("touchstart",function(){o()}),i("#cancel-retrive").on("touchstart",function(e){e.preventDefault(),o()}),l.trigger("input"),r.trigger("input")}),define("js/passport/login/interational",["zepto"],function(e,a,t){function n(){c&&p?d.removeClass("disable"):d.addClass("disable")}var s=e("zepto"),o=s("#phone-num"),i=s("#country-select"),l=s("#area-code"),r=s("#pwd"),d=s("#btn-login"),c=!1,p=!1,u=e("js/passport/api"),f=e("js/plugin/tip"),h=s.trim,g=f.show;u.selectCssHack(i),u.bindEyesEvt(),u.bindClearEvt(),o.bind("input",function(){c=""===h(o.val())?!1:!0,n()}),r.bind("input",function(){var e=h(r.val());p=""===e?!1:!0,n()}),i.change(function(){l.text(i.val())}),d.on("touchstart",function(){var e=h(o.val()),a=i.val(),t=h(r.val());d.hasClass("disable")||(u.phoneRegx[a].test(e)&&u.pwdValidate(t)?s.ajax({type:"POST",url:"/passport/login/auth",data:{areaCode:a.replace("+",""),account:e,password:t},success:function(e){200===e.code?(g("登录成功"),setTimeout(function(){location.href=e.data},1e3)):g(e.message)},error:function(){g("网络断开连接啦~")}}):g("账号或密码有错误,请重新输入"))}),o.trigger("input"),r.trigger("input")}),define("js/passport/back/mobile",["zepto"],function(e,a,t){var n=e("zepto"),s=n("#phone-num"),o=n("#country-select"),i=n("#area-code"),l=n("#btn-next"),r=e("js/passport/api"),d=e("js/plugin/tip"),c=n.trim,p=d.show;r.selectCssHack(n("#country-select")),r.bindClearEvt(),s.bind("input",function(){""===c(s.val())?l.addClass("disable"):l.removeClass("disable")}),o.change(function(){i.text(o.val())}),l.on("touchstart",function(){var e=c(s.val()),a=o.val();l.hasClass("disable")||(r.phoneRegx[a].test(e)?n.ajax({url:"/passport/back/sendcode",type:"POST",data:{areaCode:a.replace("+",""),phoneNum:e},success:function(e){200===e.code?location.href=e.data:p(e.message)}}):p("手机号格式不正确,请重新输入"))})}),define("js/passport/back/code",["zepto"],function(e,a,t){e("js/passport/code")(!1)}),define("js/passport/back/email",["zepto"],function(e,a,t){var n=e("zepto"),s=n("#email"),o=n("#btn-sure"),i=e("js/passport/api"),l=e("js/plugin/tip"),r=n.trim,d=l.show;i.bindClearEvt(),s.bind("input",function(){""===r(s.val())?o.addClass("disable"):o.removeClass("disable")}),o.on("touchstart",function(){var e=r(s.val());o.hasClass("disable")||(i.emailRegx.test(e)?n.ajax({url:"/passport/back/sendemail",type:"POST",data:{email:e},success:function(e){200===e.code?location.href=e.data:d(e.message)}}):d("邮箱格式不正确,请重新输入"))})}),define("js/passport/back/email-success",["zepto"],function(e,a,t){var n=e("zepto"),s=n("#resend"),o=e("js/plugin/tip"),i=o.show;s.on("touchstart",function(e){e.preventDefault(),n.ajax({url:s.data("url"),type:"GET",success:function(e){i(200===e.code?e.message:e.message)}})})}),define("js/passport/back/new-password",["zepto"],function(e,a,t){var n=e("zepto"),s=n("#pwd"),o=n("#btn-ok"),i=e("js/passport/api"),l=e("js/plugin/tip"),r=n.trim,d=l.show,c=n("#phone-num");i.bindEyesEvt(),s.bind("input",function(){""===r(s.val())?o.addClass("disable"):o.removeClass("disable")}),o.on("touchstart",function(){var e,a,t=r(s.val()),l=!0;o.hasClass("disable")||(e={password:t},0===c.length&&(l=!1),l?(n.extend(e,{phoneNum:c.val(),areaCode:n("#areaCode").val(),token:n("#token").val()}),a="/passport/back/passwordByMobile"):(n.extend(e,{code:n("#email-code").val()}),a="/passport/back/passwordByEmail"),i.pwdValidate(t)?n.ajax({type:"POST",url:a,data:e,success:function(e){200===e.code?(d("密码修改成功"),setTimeout(function(){location.href=e.data},1e3)):d(e.message)}}):d("密码6-20位,请重新输入"))})}),define("js/guang/index",["zepto","lazyload","swiper","mlellipsis","index"],function(e,a,t){e("js/guang/plus-star/list"),e("js/guang/plus-star/detail"),e("js/guang/home"),e("js/guang/list")}),define("js/guang/plus-star/list",["zepto","lazyload","swiper","index"],function(e,a,t){var n,s=e("zepto"),o=e("lazyload"),i=e("swiper"),l=s("#nav-tab > li"),r=s("#ps-content > .content");o(s("img.lazy")),n=new i(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),s("#nav-tab").delegate("li","touchstart",function(){s(this).hasClass("focus")||(l.toggleClass("focus"),r.toggleClass("hide"),s(document).trigger("scroll"))})}),define("js/guang/plus-star/detail",["zepto","mlellipsis","lazyload"],function(e,a,t){var n,s,o=e("zepto"),i=e("mlellipsis"),l=e("lazyload"),r=o("#intro"),d=o("#intro-more-txt"),c=o("#related-infos-container"),p=e("js/guang/info"),u=e("js/plugin/tip"),f=o("#brand-info").data("id");i.init(),l(o("img.lazy")),r[0].mlellipsis(3),setTimeout(function(){n=r.text(),s=r.attr("title")}),p.initInfosEvt(c),o("#more-intro").bind("touchstart",function(){var e=o(this);e.toggleClass("spread"),e.hasClass("spread")?(r.text(s),d.text("收起")):(r.text(n),d.text("more"))}),o("#brand-like").bind("touchstart",function(e){var a="ok",t=o(this);e.preventDefault(),t.hasClass("like")&&(a="cancel"),o.ajax({type:"POST",url:"/guang/opt/favoriteBrand",data:{id:f,opt:a},success:function(e){200===e.code?t.toggleClass("like"):400===e.code&&u.show("未登录")},error:function(){u.show("网络断开连接了~")}})})}),define("js/guang/info",["zepto","mlellipsis","lazyload"],function(e,a,t){function n(e){r(e.find("img.lazy")),e.each(function(){var e=i(this),a=e.find(".info-title"),t=e.find(".info-text");a.attr("title")&&t.attr("title")||(a[0].mlellipsis(2),t[0].mlellipsis(2))})}function s(e){e.delegate(".like-btn","touchstart",function(e){var a=i(e.currentTarget),t=a.closest(".guang-info"),n="ok";a.hasClass("like")&&(n="cancel"),i.ajax({type:"POST",url:"/guang/opt/praiseArticle",data:{id:t.data("id"),opt:n},success:function(e){var t=e.code;200===t&&(a.next(".like-count").text(e.data),a.toggleClass("like"))},error:function(){d.show("网络断开连接了~")}})}),n(e.find(".guang-info"))}function o(e,a){f||a.end||(f=!0,i.ajax({type:"GET",url:" /guang/list/page",data:a,success:function(t){return" "===t?(a.end=!0,f=!1,p.addClass("hide"),void u.removeClass("hide")):(e.append(t),n(e.find(".guang-info")),a.page++,void(f=!1))},error:function(){d.show("网络断开连接了~"),f=!1}}))}var i=e("zepto"),l=e("mlellipsis"),r=e("lazyload"),d=e("js/plugin/tip"),c=i("#load-more-info"),p=i(""),u=i(""),f=!1;l.init(),c.length>0&&(p=c.children(".loading"),u=c.children(".no-more")),a.initInfosEvt=s,a.setLazyLoadAndMellipsis=n,a.loadMore=o}),define("js/guang/home",["zepto","swiper","mlellipsis","lazyload","index"],function(e,a,t){var n,s=e("zepto"),o=e("swiper"),i=e("js/guang/info"),l=i.setLazyLoadAndMellipsis,r=i.loadMore,d=s("#load-more-info"),c=s(""),p=s(""),u=s(window).height(),f=d.height(),h=s("#info-list"),g=h.children(".info-list"),v=s("#guang-nav"),m=v.children(".focus"),w=m.data("type"),b={};d.length>0&&(c=d.children(".loading"),p=d.children(".no-more")),n=new o(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),i.initInfosEvt(h),function(){var e=s("#gender").val();v.children(".guang-nav-item").each(function(){var a=s(this).data("type");b[a]={page:1,gender:e,type:a,end:!1}})}(),v.delegate(".guang-nav-item","touchstart",function(){var e,a,t=s(this);t.hasClass("focus")||(a=t.index(),t.addClass("focus"),m.removeClass("focus"),g.not(".hide").addClass("hide"),e=g.eq(a),e.removeClass("hide"),l(e.children(".guang-info")),m=t,w=t.data("type"),b[w].end?(c.addClass("hide"),p.removeClass("hide")):(c.removeClass("hide"),p.addClass("hide")))}),s(document).scroll(function(){s(window).scrollTop()+u>=s(document).height()-f&&r(g,b[w])})}),define("js/guang/list",["zepto","mlellipsis","lazyload"],function(e,a,t){var n=e("zepto"),s=e("js/guang/info"),o=s.loadMore,i=n(window).height(),l=n("#load-more").height(),r=n("#author-infos"),d=n("#tag"),c={page:1,end:!1},p=n("#info-list");s.initInfosEvt(p),r.length>0&&n.extend(c,{authorId:r.data("id")}),d.length>0&&n.extend(c,{tag:d.val()}),n(document).scroll(function(){n(window).scrollTop()+i>=n(document).height()-l&&o(p,c)})}),define("js/home/index",["zepto","swiper","lazyload","index"],function(e,a,t){e("js/home/home"),e("js/home/maybe-like")}),define("js/home/home",["zepto","swiper","lazyload","index"],function(e,a,t){function n(){v+=10,m.css({transform:"rotateX("+v+"deg)","-webkit-transform":"rotateX("+v+"deg)","-moz-transform":"rotateX("+v+"deg)"}),v/90%2===1&&(w?(m.addClass("animate"),w=!1):(m.removeClass("animate"),w=!0)),v/90%2===0&&v%360!==0?window.setTimeout(n,3e3):v%360===0?window.setTimeout(n,18e4):r(function(){n()})}var s,o,i,l,r,d,c,p,u,f=e("zepto"),h=e("swiper"),g=e("lazyload"),v=0,m=f(".home-header .logo"),w=!0;e("js/home/maybe-like"),g(f("img.lazy")),f(".nav-btn").on("click",function(e){f(this).hasClass("menu-open")||(f(".mobile-wrap").addClass("menu-open"),f(".overlay").addClass("show"),f(".side-nav").addClass("on"),f("body").css({height:f(window).height(),width:"100%",overflow:"hidden"})),e.stopPropagation()}),f(".mobile-wrap").on("click",function(){f(this).hasClass("menu-open")&&(f(".mobile-wrap").removeClass("menu-open"),f(".overlay").removeClass("show"),f(".sub-nav").removeClass("show"),f(".side-nav").removeClass("on"),f("body").css({height:"auto",overflow:"auto"}))}),f(".side-nav").on("click","li",function(){f(this).find(".sub-nav").size()>0&&(f(".sub-nav").removeClass("show"),f(this).find(".sub-nav").addClass("show"))}),f(".sub-nav").each(function(){f(this).find("li").eq(0).on("click",function(e){f(".sub-nav").removeClass("show"),e.stopPropagation()})}),f(".sub-nav").on("mouseenter","li",function(){0!==f(this).index()&&f(this).addClass("current").siblings().removeClass("current")}),f(".banner-swiper").find("li").size()>1&&(s=new h(".banner-swiper",{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".banner-top .pagination-inner"})),o=new h(".recommend-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"recommend-list",slideElement:"li"}),f(".trend-topic-swiper").find("li").size()>1&&(i=new h(".trend-topic-swiper",{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".trend-topic-content .pagination-inner"})),f(".category-swiper").each(function(e,a){p="category-swiper"+e,f(this).addClass(p),f("."+p).find(".swiper-slide").size()>1&&(l=new h("."+p,{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:"."+p+" .pagination-inner"}))}),f(".header-download").on("click",".close-btn",function(){f(this).parent().remove()}),r=function(){var e=null,a=["webkit","moz","ms"];for(c=0;c<a.length;c++)d=a[c]+"RequestAnimationFrame",window[d]&&(u=!0,e=d);return u?function(a){window[e](a)}:function(e){window.setTimeout(e,67)}}(),n()}),define("js/home/maybe-like",["zepto","lazyload"],function(e,a,t){var n,s,o,i,l=e("zepto"),r=e("js/plugin/tip"),d=e("lazyload"),c=l(window).height(),p=l("#load-more").height(),u=l("#goods-list"),f=!1,h=0,g=l(".mobile-wrap").hasClass("boys-wrap")?"1,3":"2,3",v=l(".mobile-wrap").hasClass("kids-wrap")?!0:!1,m=l(".mobile-wrap").hasClass("lifestyle-wrap")?!0:!1,w=l("#maybe-like-nav");s=v?"/product/recom/maylikekids":m?"/product/recom/maylikelife":"/product/recom/maylike?gender="+g,o=w.children(".focus"),l("#maybe-like-nav").delegate("li","touchstart",function(){var e,a=l(this),t=l(".goods-list");a.hasClass("focus")||(i=a.index(),a.addClass("focus"),o.removeClass("focus"),t.not(".hide").addClass("hide"),e=t.eq(i),e.removeClass("hide"),o=a,l(document).trigger("scroll"))}),l(window).scroll(function(){if(l(window).scrollTop()+c>=l(document).height()-p){if(f)return;f=!0,n=u.children(".good-info").length,l.ajax({type:"GET",url:s,data:{page:h+1},success:function(e){return" "===e?void(f=!0):(u.append(e),d(l(".good-info").find("img.lazy")),f=!1,void h++)},error:function(){r.show("网络断开连接了~"),f=!1}})}})}),define("js/product/index",["zepto","swiper","lazyload","index"],function(e,a,t){e("js/product/newsale/newarrival"),e("js/product/newsale/discount")}),define("js/product/newsale/newarrival",["zepto","swiper","lazyload","index"],function(e,a,t){var n,s,o,i=e("zepto"),l=e("js/plugin/tip"),r=e("swiper"),d=e("lazyload"),c=i("#newarrival-nav"),p=i("#newarrival-goods-list"),u=p.children(".goods-list"),f=i(window).height(),h=i("#load-more").height(),g=i(".goods-list"),v=!1,m=0,w=0;o=new r(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),d(i("img.lazy")),n=c.children(".focus"),i("#newarrival-nav").delegate("li","touchstart",function(){var e,a=i(this);a.hasClass("focus")||(w=a.index(),a.addClass("focus"),n.removeClass("focus"),u.not(".hide").addClass("hide"),e=u.eq(w),e.removeClass("hide"),n=a,i(document).trigger("scroll"))}),i(window).scroll(function(){if(i(window).scrollTop()+f>=i(document).height()-h){if(v)return;v=!0,s=g.children(".good-info").length,i.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:{dayLimit:w+1,page:m+1},success:function(e){return" "===e?void(v=!1):(g.append(e),d(i(".good-info").find("img.lazy")),v=!1,void m++)},error:function(){l.show("网络断开连接了~"),v=!1}})}})}),define("js/product/newsale/discount",["zepto","swiper","lazyload","index"],function(e,a,t){function n(e){var a="0.1,0.3";switch(e){case 0:a="0.1,0.3";break;case 1:a="0.4,0.6";break;case 2:a="0.7,0.9";break;case 3:a="0.1,0.9"}return a}var s,o,i=e("zepto"),l=e("swiper"),r=e("lazyload"),d=i("#discount-nav"),c=i("#discount-goods-list"),p=c.children(".goods-list"),u=i(".goods-list"),f=0,h=i(window).height(),g=i("#load-more").height(),v=!1,m=0,w="";o=new l(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),r(i("img.lazy")),s=d.children(".focus"),i("#discount-nav").delegate("li","touchstart",function(){var e,a=i(this);a.hasClass("focus")||(f=a.index(),w=n(f),a.addClass("focus"),s.removeClass("focus"),p.not(".hide").addClass("hide"),e=p.eq(f),e.removeClass("hide"),s=a,i(document).trigger("scroll"))}),i(window).scroll(function(){if(i(window).scrollTop()+h>=i(document).height()-g){if(v)return;v=!0,num=u.children(".good-info").length,i.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:{p_d:w,page:m+1},success:function(e){return" "===e?void(v=!1):(u.append(e),r(i(".good-info").find("img.lazy")),v=!1,void m++)},error:function(){tip.show("网络断开连接了~"),v=!1}})}})});
\ No newline at end of file
This diff could not be displayed because it is too large.
define("index", ["zepto","lazyload","swiper","mlellipsis","iscroll-probe","index"], function(require, exports, module){
var yohobuy;
require("js/common");
require("js/passport/index");
require("js/guang/index");
require("js/home/index");
require("js/product/index");
require("js/index/index");
module.exports = yohobuy;
});
define("js/common", ["zepto"], function(require, exports, module){
/**
* 页面公共逻辑
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/21
*/
var $ = require("zepto");
function cookie(name) {
var cookies = document.cookie,
cookieVal,
offset;
if (document.cookie && document.cookie !== '') {
offset = cookies.indexOf(name + '=');
if (offset > -1) {
offset += name.length + 1;
cookieVal = decodeURIComponent($.trim(cookies.substring(offset, cookies.indexOf(';', offset))));
}
}
return cookieVal;
}
function 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;
}
//页面通用底部位置及status设置
(function() {
var $footer = $('#yoho-footer'),
$op = $footer.children('.op-row');
var user = getUser();
if ($('body').height() < $(window).height()) {
$footer.addClass('bottom');
}
if (user === 0) {
//未登录
$op.prepend(
'<a href="http://m.yohobuy.com/signin.html">登录</a>' +
'<span class="sep-line">|</span>' +
'<a href="http://m.yohobuy.com/reg.html">注册</a>'
);
} else {
//已登录
$op.prepend(
'Hi,' +
'<a class="user-name" href="http://m.yohobuy.com/home?tmp=' + Math.random() + '">' + user[0] + '</a>' +
'<a href="http://m.yohobuy.com/passport/signout/index?token=' + user[3] + '">退出</a>'
);
}
$footer.removeClass('hide');
}());
//暴露公共接口
window.cookie = cookie;
window.getUser = getUser;
window.getUid = getUid;
window.getShoppingKey = getShoppingKey;
});
define("js/passport/index", ["zepto"], function(require, exports, module){
/**
* 注册、登录、密码找回打包入口
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
//注册
require("js/passport/register/register");
require("js/passport/register/code");
require("js/passport/register/password");
//登录
require("js/passport/login/login");
require("js/passport/login/international");
//密码找回
require("js/passport/back/mobile");
require("js/passport/back/code");
require("js/passport/back/email");
require("js/passport/back/email-success");
require("js/passport/back/new-password");
});
define("js/passport/register/register", ["zepto"], function(require, exports, module){
/**
* 注册
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $phoneNum = $('#phone-num'),
$countrySelect = $('#country-select'),
$areaCode = $('#area-code'),
$btnNext = $('#btn-next');
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
api.selectCssHack($('#country-select'));
api.bindClearEvt();
$phoneNum.bind('input', function() {
if (trim($phoneNum.val()) === '') {
$btnNext.addClass('disable');
} else {
$btnNext.removeClass('disable');
}
});
$countrySelect.change(function() {
$areaCode.text($countrySelect.val());
});
$btnNext.on('touchstart', function() {
var pn = trim($phoneNum.val()),
areaCode = $countrySelect.val();
if ($btnNext.hasClass('disable')) {
return;
}
if (api.phoneRegx[areaCode].test(pn)) {
$.ajax({
url: '/passport/reg/verifymobile',
type: 'POST',
data: {
areaCode: areaCode.replace('+', ''),
phoneNum: pn
},
success: function(data) {
if (data.code === 200) {
location.href = data.data;
} else {
showErrTip(data.message);
}
}
});
} else {
showErrTip('手机号格式不正确,请重新输入');
}
});
});
define("js/passport/api", ["zepto"], function(require, exports, module){
/**
* 登录注册公用API
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var trim = $.trim;
//邮箱验证规则
var emailRegx = /^([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
//手机号码验证规则
var phoneRegx = {
'+86': /^1[35847]{1}[0-9]{9}$/,
'+852': /^[965]{1}[0-9]{7}$/,
'+853': /^[0-9]{8}$/,
'+886': /^[0-9]{10}$/,
'+65': /^[98]{1}[0-9]{7}$/,
'+60': /^1[1234679]{1}[0-9]{8}$/,
'+1': /^[0-9]{10}$/,
'+82': /^01[0-9]{9}$/,
'+44': /^7[789][0-9]{8}$/,
'+81': /^0[9|8|7][0-9]{9}$/,
'+61': /^[0-9]{11}$/
};
//密码显示隐藏
function bindEyesEvt() {
var $hasEye = $('.has-eye'),
$eye;
$hasEye.append('<div class="eye close"></div>');
$eye = $hasEye.children('.eye');
$eye.on('touchstart', function(e) {
var $this = $(this),
$pwd = $this.siblings('.pwd');
e.preventDefault();
$this.toggleClass('close');
//切换密码显示和文本显示
if ($this.hasClass('close')) {
$pwd.attr('type', 'password');
} else {
$pwd.attr('type', 'text');
}
$pwd.focus();
});
}
// 清空账号显示
function bindClearEvt() {
var $hasClear = $('.has-clear'),
$clear;
$hasClear.append('<div class="clear-input"></div>');
$clear = $hasClear.children('.clear-input');
$clear.on('touchstart', function(e) {
var $input = $clear.siblings('.input');
$input.val('').trigger('input').focus();
e.preventDefault();
});
//反向逻辑
$hasClear.children('.input').bind('input', function() {
var $this = $(this),
$thisClear = $this.siblings('.clear-input'),
val = trim($this.val());
if (val === '') {
$thisClear.hide();
} else {
$thisClear.show();
}
});
}
// 密码长度验证
function pwdValidate(pwd) {
if (pwd.length >= 6 && pwd.length <= 20) {
return true;
}
return false;
}
// hack for resolving direction:rtl didn't work in android uc
function selectCssHack($countrySelect) {
var u = navigator.userAgent;
function autoSelectWidth() {
var wordCount = $countrySelect.find('option:selected').text().length;
switch (wordCount) {
//分别有2,3,4个汉字的情况
case 2:
$countrySelect.outerWidth(90);
break;
case 3:
$countrySelect.outerWidth(110);
break;
default:
$countrySelect.outerWidth(130);
}
}
if (u.match(/uc/i) && u.match(/android/i)) {
$countrySelect.change(function() {
autoSelectWidth();
});
} else {
$countrySelect.removeClass('in-android-uc');
}
}
//Exports APIs
module.exports = {
emailRegx: emailRegx,
phoneRegx: phoneRegx,
bindEyesEvt: bindEyesEvt,
bindClearEvt: bindClearEvt,
pwdValidate: pwdValidate,
selectCssHack: selectCssHack
};
});
define("js/plugin/tip", ["zepto"], function(require, exports, module){
/**
* 弹框提示
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("zepto");
var $tip, tipItime;
/**
* 初始化提示框
*/
(function() {
var tipHtml = '<div id="yoho-tip" class="yoho-tip"></div>';
//插入提示HTML
$('.yoho-page').append(tipHtml);
$tip = $('#yoho-tip');
$tip.on('touchstart', function() {
$tip.hide();
//清除Timeout
clearTimeout(tipItime);
});
}());
/**
* 显示提示
*/
function show(con, dur) {
var content, duration;
if (typeof con === 'undefined') {
return;
}
content = con.toString();
duration = (dur && dur > 0) ? dur : 2000;
$tip.text(content).show();
tipItime = setTimeout(function() {
if ($tip.css('display') === 'block') {
$tip.hide();
}
}, duration);
}
exports.show = show;
});
define("js/passport/register/code", ["zepto"], function(require, exports, module){
/**
* 注册-验证码
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
require("js/passport/code")(true);
});
define("js/passport/code", ["zepto"], function(require, exports, module){
/**
* 注册/找回密码-验证码
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
module.exports = function(useInRegister) {
var $captcha = $('#captcha'),
$btnNext = $('#btn-next'),
$captchaTip = $('#captcha-tip'),
phoneNum = $('#phone-num').val(),
areaCode = $('#area-code').val().replace('+', '');
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
var urlMid = useInRegister ? 'reg' : 'back';
function countDown() {
var count = 59,
itime;
itime = setInterval(function() {
if (count === 0) {
$captchaTip.text('重发验证码').removeClass('disable');
clearInterval(itime);
} else {
$captchaTip.text('重发验证码 (' + count-- + '秒)');
}
}, 1000);
}
api.bindClearEvt();
$captcha.bind('input', function() {
if (trim($captcha.val()) !== '') {
$btnNext.removeClass('disable');
} else {
$btnNext.addClass('disable');
}
});
//重新发送验证码
$captchaTip.on('touchstart', function() {
if ($captchaTip.hasClass('disable')) {
return;
}
$.ajax({
type: 'POST',
url: '/passport/' + urlMid + '/sendcode',
data: {
phoneNum: phoneNum,
areaCode: areaCode
},
success: function(data) {
if (data.code === 200) {
$captchaTip.text('重发验证码 (60秒)').addClass('disable');
countDown();
} else {
//验证码不正确,显示提示
showErrTip(data.message);
}
}
});
});
$btnNext.on('touchstart', function() {
if ($btnNext.hasClass('disable')) {
return;
}
$.ajax({
type: 'POST',
url: '/passport/' + urlMid + '/verifycode',
data: {
phoneNum: phoneNum,
areaCode: areaCode,
code: trim($captcha.val()),
token: $('#token').val()
},
success: function(data) {
if (data.code === 200) {
location.href = data.data;
} else {
//验证码不正确,显示提示
showErrTip(data.message);
}
}
});
});
countDown();
};
});
define("js/passport/register/password", ["zepto"], function(require, exports, module){
/**
* 注册-密码
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $pwd = $('#pwd'),
$btnSure = $('#btn-sure');
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
api.bindEyesEvt();
$pwd.bind('input', function() {
if (trim($pwd.val()) === '') {
$btnSure.addClass('disable');
} else {
$btnSure.removeClass('disable');
}
});
$btnSure.on('touchstart', function() {
var pwd = trim($pwd.val());
if ($btnSure.hasClass('disable')) {
return;
}
if (api.pwdValidate(pwd) === false) {
showErrTip('密码6-20位,请重新输入');
} else {
$.ajax({
type: 'POST',
url: '/passport/reg/setpassword',
data: {
password: pwd,
phoneNum: $('#phone-num').val(),
areaCode: $('#area-code').val(),
token: $('#token').val()
},
success: function(data) {
if (data.code === 200) {
showErrTip('注册成功');
//1000ms后跳转页面
setTimeout(function() {
location.href = data.data;
}, 1000);
} else {
if (data.code === 401 || data.code === 404 || data.code === 505) {
showErrTip(data.message);
} else {
showErrTip(data.message);
setTimeout(function() {
location.href = data.data;
}, 1000);
}
}
}
});
}
});
});
define("js/passport/login/login", ["zepto"], function(require, exports, module){
/**
* 登录
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/9/30
*/
var $ = require("zepto");
var $account = $('#account'),
$pwd = $('#pwd'),
$loginBtn = $('#btn-login'),
$mask = $('#retrive-pwd-mask'),
$ways = $('#retrive-pwd-ways'),
accPass = false,
pwdPass = false;
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
//登录按钮状态切换
function switchLoginBtnStatus() {
if (accPass && pwdPass) {
$loginBtn.removeClass('disable');
} else {
$loginBtn.addClass('disable');
}
}
//显示找回密码面板
function showRetrivePanel() {
$mask.show();
$ways.show();
}
//隐藏找回密码面板
function hideRetrivePanel() {
$mask.hide();
$ways.hide();
}
//密码显示与隐藏
api.bindEyesEvt();
//清空账号输入框
api.bindClearEvt();
$account.bind('input', function() {
if (trim($account.val()) !== '') {
accPass = true;
} else {
accPass = false;
}
switchLoginBtnStatus();
});
$pwd.bind('input', function() {
if (trim($pwd.val()) === '') {
pwdPass = false;
} else {
pwdPass = true;
}
switchLoginBtnStatus();
});
// Login
$loginBtn.on('touchstart', function() {
var acc = trim($account.val()),
pwd = trim($pwd.val());
if ($loginBtn.hasClass('disable')) {
return;
}
//验证账号(数字或者邮箱)和密码合理性
if ((/^[0-9]+$/.test(acc) || api.emailRegx.test(acc)) && api.pwdValidate(pwd)) {
$.ajax({
type: 'POST',
url: '/passport/login/auth',
data: {
account: acc,
password: pwd
},
success: function(data) {
if (data.code === 200) {
showErrTip('登录成功');
//1s后跳转页面
setTimeout(function() {
location.href = data.data;
}, 1000);
} else {
showErrTip(data.message);
}
},
error: function() {
showErrTip('网络断开连接啦~');
}
});
} else {
showErrTip('账号或密码有错误,请重新输入');
}
});
$('#forget-pwd').on('touchstart', function() {
showRetrivePanel();
});
$mask.on('touchstart', function() {
hideRetrivePanel();
});
$('#cancel-retrive').on('touchstart', function(e) {
e.preventDefault();
hideRetrivePanel();
});
//对初始有默认值的情况去初始化登录按钮状态
$account.trigger('input');
$pwd.trigger('input');
});
define("js/passport/login/international", ["zepto"], function(require, exports, module){
/**
* 国际账号登录
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $phoneNum = $('#phone-num'),
$countrySelect = $('#country-select'),
$areaCode = $('#area-code'),
$pwd = $('#pwd'),
$loginBtn = $('#btn-login'),
pnPass = false,
pwdPass = false;
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
//登录按钮状态切换
function switchLoginBtnStatus() {
if (pnPass && pwdPass) {
$loginBtn.removeClass('disable');
} else {
$loginBtn.addClass('disable');
}
}
//Android-UC下显示select的direction:rtl无效的临时解决办法
api.selectCssHack($countrySelect);
//显示隐藏密码
api.bindEyesEvt();
//清空手机号码
api.bindClearEvt();
$phoneNum.bind('input', function() {
if (trim($phoneNum.val()) === '') {
pnPass = false;
} else {
pnPass = true;
}
switchLoginBtnStatus();
});
$pwd.bind('input', function() {
var pwd = trim($pwd.val());
if (pwd === '') {
pwdPass = false;
} else {
pwdPass = true;
}
switchLoginBtnStatus();
});
$countrySelect.change(function() {
$areaCode.text($countrySelect.val());
});
$loginBtn.on('touchstart', function() {
var pn = trim($phoneNum.val()),
areaCode = $countrySelect.val(),
pwd = trim($pwd.val());
if ($loginBtn.hasClass('disable')) {
return;
}
if (api.phoneRegx[areaCode].test(pn) && api.pwdValidate(pwd)) {
$.ajax({
type: 'POST',
url: '/passport/login/auth',
data: {
areaCode: areaCode.replace('+', ''),
account: pn,
password: pwd
},
success: function(data) {
if (data.code === 200) {
showErrTip('登录成功');
//1000ms后跳转页面
setTimeout(function() {
location.href = data.data;
}, 1000);
} else {
showErrTip(data.message);
}
},
error: function() {
showErrTip('网络断开连接啦~');
}
});
} else {
showErrTip('账号或密码有错误,请重新输入');
}
});
//对初始有默认值的情况去初始化登录按钮状态
$phoneNum.trigger('input');
$pwd.trigger('input');
});
define("js/passport/back/mobile", ["zepto"], function(require, exports, module){
/**
* 找回密码-手机
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $phoneNum = $('#phone-num'),
$countrySelect = $('#country-select'),
$areaCode = $('#area-code'),
$btnNext = $('#btn-next');
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
api.selectCssHack($('#country-select'));
api.bindClearEvt();
$phoneNum.bind('input', function() {
if (trim($phoneNum.val()) === '') {
$btnNext.addClass('disable');
} else {
$btnNext.removeClass('disable');
}
});
$countrySelect.change(function() {
$areaCode.text($countrySelect.val());
});
$btnNext.on('touchstart', function() {
var pn = trim($phoneNum.val()),
area = $countrySelect.val();
if ($btnNext.hasClass('disable')) {
return;
}
if (api.phoneRegx[area].test(pn)) {
$.ajax({
url: '/passport/back/sendcode',
type: 'POST',
data: {
areaCode: area.replace('+', ''),
phoneNum: pn
},
success: function(data) {
if (data.code === 200) {
location.href = data.data;
} else {
showErrTip(data.message);
}
}
});
} else {
showErrTip('手机号格式不正确,请重新输入');
}
});
});
define("js/passport/back/code", ["zepto"], function(require, exports, module){
/**
* 找回密码-验证码
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
require("js/passport/code")(false);
});
define("js/passport/back/email", ["zepto"], function(require, exports, module){
/**
* 找回密码-邮箱找回
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $email = $('#email'),
$btnSure = $('#btn-sure');
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
api.bindClearEvt();
$email.bind('input', function() {
if (trim($email.val()) === '') {
$btnSure.addClass('disable');
} else {
$btnSure.removeClass('disable');
}
});
$btnSure.on('touchstart', function() {
var email = trim($email.val());
if ($btnSure.hasClass('disable')) {
return;
}
if (api.emailRegx.test(email)) {
$.ajax({
url: '/passport/back/sendemail',
type: 'POST',
data: {
email: email
},
success: function(data) {
if (data.code === 200) {
location.href = data.data;
} else {
showErrTip(data.message);
}
}
});
} else {
showErrTip('邮箱格式不正确,请重新输入');
}
});
});
define("js/passport/back/email-success", ["zepto"], function(require, exports, module){
/**
* 找回密码-邮箱找回成功
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $resend = $('#resend');
var tip = require("js/plugin/tip"),
showErrTip = tip.show;
$resend.on('touchstart', function(e) {
e.preventDefault();
$.ajax({
url: $resend.data('url'),
type: 'GET',
success: function(data) {
if (data.code === 200) {
showErrTip(data.message);
} else {
showErrTip(data.message);
}
}
});
});
});
define("js/passport/back/new-password", ["zepto"], function(require, exports, module){
/**
* 密码找回-新密码
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require("zepto");
var $pwd = $('#pwd'),
$btnOk = $('#btn-ok');
var api = require("js/passport/api");
var tip = require("js/plugin/tip");
var trim = $.trim;
var showErrTip = tip.show;
var $phoneNum = $('#phone-num');
api.bindEyesEvt();
$pwd.bind('input', function() {
if (trim($pwd.val()) === '') {
$btnOk.addClass('disable');
} else {
$btnOk.removeClass('disable');
}
});
$btnOk.on('touchstart', function() {
var pwd = trim($pwd.val()),
mobileBack = true,
setting,
url;
if ($btnOk.hasClass('disable')) {
return;
}
setting = {
password: pwd
};
if ($phoneNum.length === 0) {
mobileBack = false;
}
if (mobileBack) {
$.extend(setting, {
phoneNum: $phoneNum.val(),
areaCode: $('#areaCode').val(),
token: $('#token').val()
});
url = '/passport/back/passwordByMobile';
} else {
$.extend(setting, {
code: $('#email-code').val()
});
url = '/passport/back/passwordByEmail';
}
if (api.pwdValidate(pwd)) {
$.ajax({
type: 'POST',
url: url,
data: setting,
success: function(data) {
if (data.code === 200) {
showErrTip('密码修改成功');
//1000ms后跳转页面
setTimeout(function() {
location.href = data.data;
}, 1000);
} else {
showErrTip(data.message);
}
}
});
} else {
showErrTip('密码6-20位,请重新输入');
}
});
});
define("js/guang/index", ["zepto","lazyload","swiper","mlellipsis","iscroll-probe","index"], function(require, exports, module){
/**
* 逛打包入口
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/9
*/
require("js/guang/plus-star/list");
require("js/guang/plus-star/detail");
require("js/guang/home");
require("js/guang/list");
require("js/guang/detail");
});
define("js/guang/plus-star/list", ["zepto","lazyload","swiper","index"], function(require, exports, module){
/**
* PLUS+STAR列表页
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("zepto"),
lazyLoad = require("lazyload"),
Swiper = require("swiper");
var $navs = $('#nav-tab > li'),
$contents = $('#ps-content > .content');
var mySwiper;
lazyLoad($('img.lazy'));
mySwiper = new Swiper('.swiper-container', {
lazyLoading: true,
pagination: '.swiper-pagination'
});
$('#nav-tab').delegate('li', 'touchstart', function() {
if ($(this).hasClass('focus')) {
return;
}
$navs.toggleClass('focus');
$contents.toggleClass('hide');
$(document).trigger('scroll'); //Trigger lazyLoad
});
});
define("js/guang/plus-star/detail", ["zepto","mlellipsis","lazyload"], function(require, exports, module){
/**
* PLUS+STAR详情页
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("zepto"),
ellipsis = require("mlellipsis"),
lazyLoad = require("lazyload");
var $intro = $('#intro'),
$imt = $('#intro-more-txt'),
$infosContainer = $('#related-infos-container');
var info = require("js/guang/info");
var tip = require("js/plugin/tip");
var brandId = $('#brand-info').data('id');
var mIntro, aIntro;
ellipsis.init();
//Init LazyLoad
lazyLoad($('img.lazy'));
//文字介绍文字截取
$intro[0].mlellipsis(3);
//获取截取文字和完整文字
setTimeout(function() {
mIntro = $intro.text();
aIntro = $intro.attr('title');
});
info.initInfosEvt($infosContainer);
//文字介绍收起与展开
$('#more-intro').bind('touchstart', function() {
var $this = $(this);
$this.toggleClass('spread');
if ($this.hasClass('spread')) {
//显示
$intro.text(aIntro);
$imt.text('收起');
} else {
//隐藏
$intro.text(mIntro);
$imt.text('more');
}
});
//品牌收藏
$('#brand-like').bind('touchstart', function(e) {
var opt = 'ok',
$this = $(this);
e.preventDefault();
if ($this.hasClass('like')) {
opt = 'cancel';
}
$.ajax({
type: 'POST',
url: '/guang/opt/favoriteBrand',
data: {
id: brandId,
opt: opt
},
success: function(data) {
if (data.code === 200) {
$this.toggleClass('like');
} else if (data.code === 400) {
tip.show('未登录');
}
},
error: function() {
tip.show('网络断开连接了~');
}
});
});
});
define("js/guang/info", ["zepto","mlellipsis","lazyload"], function(require, exports, module){
/**
* 资讯相关API
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("zepto"),
ellipsis = require("mlellipsis"),
lazyLoad = require("lazyload");
var tip = require("js/plugin/tip");
var $loadMoreInfo = $('#load-more-info');
var $loading = $(''),
$noMore = $('');
var loading = false;
ellipsis.init();
if ($loadMoreInfo.length > 0) {
$loading = $loadMoreInfo.children('.loading');
$noMore = $loadMoreInfo.children('.no-more');
}
/**
* 设置指定资讯项的Lazyload和文字截取
* @params $infos 资讯项
*/
function setLazyLoadAndMellipsis($infos) {
lazyLoad($infos.find('img.lazy'));
$infos.each(function() {
var $this = $(this),
$title = $this.find('.info-title'),
$text = $this.find('.info-text');
$title[0].mlellipsis(2);
$text[0].mlellipsis(2);
});
}
/**
* 初始化资讯列表事件绑定
* @params $container 逛资讯列表容器
*/
function initInfosEvt($container) {
$container.delegate('.like-btn', 'touchstart', function(e) {
var $likeBtn = $(e.currentTarget),
$info = $likeBtn.closest('.guang-info'),
opt = 'ok';
if ($likeBtn.hasClass('like')) {
opt = 'cancel';
}
$.ajax({
type: 'POST',
url: '/guang/opt/praiseArticle',
data: {
id: $info.data('id'),
opt: opt
},
success: function(data) {
var code = data.code;
if (code === 200) {
$likeBtn.next('.like-count').text(data.data);
//切换点赞状态
$likeBtn.toggleClass('like');
}
},
error: function() {
tip.show('网络断开连接了~');
}
});
});
setLazyLoadAndMellipsis($container.find('.guang-info'));
}
/**
* 资讯LoadMore
*/
function loadMore($container, opt) {
if (loading) {
return;
}
if (opt.end) {
return;
}
loading = true;
$.ajax({
type: 'GET',
url: ' /guang/list/page',
data: opt,
success: function(data) {
if (data === ' ') {
opt.end = true;
loading = false;
//
$loading.addClass('hide');
$noMore.removeClass('hide');
return;
}
$container.append(data);
setLazyLoadAndMellipsis($container.find('.guang-info'));
opt.page++;
loading = false;
},
error: function() {
tip.show('网络断开连接了~');
loading = false;
}
});
}
exports.initInfosEvt = initInfosEvt;
exports.setLazyLoadAndMellipsis = setLazyLoadAndMellipsis;
exports.loadMore = loadMore;
});
define("js/guang/home", ["zepto","swiper","mlellipsis","lazyload","index"], function(require, exports, module){
/**
* 逛首页
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("zepto"),
Swiper = require("swiper");
var info = require("js/guang/info"),
setLazyLoadAndMellipsis = info.setLazyLoadAndMellipsis,
loadMore = info.loadMore;
var $loadMoreInfo = $('#load-more-info');
var $loading = $(''),
$noMore = $('');
var winH = $(window).height(),
loadMoreH = $loadMoreInfo.height();
var $infoList = $('#info-list'),
$infos = $infoList.children('.info-list'),
$nav = $('#guang-nav'),
$curNav = $nav.children('.focus'),
curType = $curNav.data('type');
var state = {};
var mySwiper;
if ($loadMoreInfo.length > 0) {
$loading = $loadMoreInfo.children('.loading');
$noMore = $loadMoreInfo.children('.no-more');
}
mySwiper = new Swiper('.swiper-container', {
lazyLoading: true,
pagination: '.swiper-pagination'
});
info.initInfosEvt($infoList);
//初始化各Nav下资讯加载的状态
(function() {
var gender = $('#gender').val();
$nav.children('.guang-nav-item').each(function() {
var type = $(this).data('type');
state[type] = {
page: 1,
gender: gender,
type: type,
end: false
};
});
}());
$nav.delegate('.guang-nav-item', 'touchstart', function() {
var $this = $(this),
$content,
index;
if ($this.hasClass('focus')) {
return;
}
index = $this.index();
$this.addClass('focus');
$curNav.removeClass('focus');
$infos.not('.hide').addClass('hide');
$content = $infos.eq(index);
$content.removeClass('hide');
//lazyload & mellipsis
setLazyLoadAndMellipsis($content.children('.guang-info'));
$curNav = $this;
curType = $this.data('type');
//重置当前Tab的load-more
if (state[curType].end) {
$loading.addClass('hide');
$noMore.removeClass('hide');
} else {
$loading.removeClass('hide');
$noMore.addClass('hide');
}
});
$(document).scroll(function() {
if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH) {
loadMore($infos, state[curType]);
}
});
});
define("js/guang/list", ["zepto","mlellipsis","lazyload"], function(require, exports, module){
/**
* 列表页,编辑页
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("zepto");
var info = require("js/guang/info"),
loadMore = info.loadMore;
var winH = $(window).height(),
loadMoreH = $('#load-more').height();
var $author = $('#author-infos');
var $tag = $('#tag');
var setting = {
page: 1,
end: false
};
var $infos = $('#info-list');
info.initInfosEvt($infos);
if ($author.length > 0) {
$.extend(setting, {
authorId: $author.data('id')
});
}
if ($tag.length > 0) {
$.extend(setting, {
tag: $tag.val()
});
}
$(document).scroll(function() {
if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH) {
loadMore($infos, setting);
}
});
});
define("js/guang/detail", ["zepto","mlellipsis","lazyload","iscroll-probe"], function(require, exports, module){
/**
* 逛详情页
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/13
*/
var $ = require("zepto"),
ellipsis = require("mlellipsis"),
lazyLoad = require("lazyload"),
IScroll = require("iscroll-probe");
var $authorIntro = $('.author .intro');
var isIphone = navigator.userAgent.indexOf('iPhone') > 0 ? true : false;
var hasCollocationBlock = $('.collocation-block').length > 0 ? true : false;
//collocation block variable
var thumbWidth = 0,
$fixedThumbContainer = $(''),
$coBlock, $thumbContainer, $thumbs, $prods,
scrollToEl;
var scrollToEl = document.querySelector('#wrapper .collocation-block');
var winW = $(window).width();
var myScroll;
/**
* 计算搭配的箭头的位置
* @param $curPos 当前focus的搭配项
*/
function posCollocationArrow($curCo) {
var left = $curCo.offset().left,
bgPos = -winW + left + (thumbWidth / 2) + 'px';
$thumbContainer.css({
backgroundPosition: bgPos + ' bottom'
});
if (isIphone) {
$fixedThumbContainer.css({
backgroundPosition: bgPos + ' bottom'
});
}
}
//搭配thumb的touch事件句柄
function thumbTouchEvt(e) {
var $curCo = $(e.currentTarget),
index = $curCo.index(),
$brother, $brotherCo,
$curProds;
if ($curCo.hasClass('focus')) {
return;
}
$thumbs.filter('.focus').removeClass('focus');
if (isIphone) {
if ($curCo.closest('.fixed-thumb-container').length > 0) {
$brother = $thumbContainer;
} else {
$brother = $fixedThumbContainer;
}
$brotherCo = $brother.find('.thumb').eq(index);
$fixedThumbContainer.find('.thumb.focus').removeClass('focus');
$brotherCo.addClass('focus');
}
$curCo.addClass('focus');
//定位arrow
posCollocationArrow($curCo);
$prods.not('.hide').addClass('hide');
$curProds = $prods.eq(index);
$curProds.removeClass('hide');
//
lazyLoad($curProds.find('.lazy'));
if (isIphone) {
if (myScroll) {
myScroll.scrollToElement(scrollToEl, 400);
}
} else {
$('body').animate({
scrollTop: $coBlock.offset().top
}, 400);
}
}
if (isIphone) {
$('#wrapper').addClass('ios');
}
ellipsis.init();
lazyLoad($('.lazy'));
//title mlellipsis
$('.info-list .title, .one-good .reco-name').each(function() {
this.mlellipsis(2);
});
//offset.left约等于marginLeft的值则表示介绍被换行,则清除intro的paddingTop让其更靠近头像和作者名
if (parseInt($authorIntro.offset().left, 10) === parseInt($authorIntro.css('margin-left'), 10)) {
$authorIntro.css('padding-top', 0);
}
//有搭配模块,iphone使用iscroll初始化滚动并有固定的搭配栏,其他的没有
if (hasCollocationBlock) {
$coBlock = $('.collocation-block');
$thumbContainer = $coBlock.children('.thumb-container');
$thumbs = $thumbContainer.find('li');
$prods = $coBlock.find('.prod');
thumbWidth = $thumbs.width();
if (isIphone) {
$fixedThumbContainer = $('#wrapper')
.after($thumbContainer.clone().addClass('fixed-thumb-container fixed-bottom'))
.next('.thumb-container');
//load img of fixed thumb container
lazyLoad($fixedThumbContainer.find('.lazy'), {
event: 'sporty'
});
}
//Init Arrow Position
posCollocationArrow($thumbs.filter('.focus'));
$thumbContainer.delegate('.thumb', 'touchend', thumbTouchEvt);
if (isIphone) {
$fixedThumbContainer.delegate('.thumb', 'touchend', thumbTouchEvt);
}
}
// 初始化iscroll
window.onload = function() {
var $scroller = $('#scroller');
var winH, tcH, cbH, cbTop, fixedThumbDom;
if (!isIphone) {
return;
}
myScroll = new IScroll('#wrapper', {
probeType: 3,
mouseWheel: true,
click: true
});
document.addEventListener('touchmove', function (e) {
e.preventDefault();
}, false);
if (!hasCollocationBlock) {
myScroll.on('scroll', function() {
$scroller.trigger('scroll');
});
return;
}
winH = $(window).height();
fixedThumbDom = $fixedThumbContainer[0];
tcH = $thumbContainer.height();
cbH = $coBlock.height();
cbTop = $coBlock.offset().top;
myScroll.on('scroll', function() {
var sTop = -this.y;
var classList = fixedThumbDom.className;
if (sTop <= cbTop - winH + tcH) {
if (classList.indexOf('fixed-bottom') === -1) {
$fixedThumbContainer
.addClass('fixed-bottom')
.removeClass('hide');
}
} else if (sTop <= cbTop) {
if (classList.indexOf('hide') === -1) {
$fixedThumbContainer
.addClass('hide')
.removeClass('fixed-bottom fixed-top');
}
} else if (sTop <= cbTop + cbH - tcH) {
if (classList.indexOf('fixed-top') === -1) {
$fixedThumbContainer
.addClass('fixed-top')
.removeClass('hide absolute')
.css('top', '');
}
} else if (sTop <= cbTop + cbH) {
if (classList.indexOf('absolute') === -1) {
$fixedThumbContainer
.addClass('absolute')
.removeClass('fixed-top hide');
}
fixedThumbDom.style.top = cbTop + cbH - tcH - sTop + 'px';
} else if (sTop > cbTop + cbH) {
if (classList.indexOf('hide') === -1) {
$fixedThumbContainer
.addClass('hide')
.removeClass('absolute');
}
}
$scroller.trigger('scroll');
});
};
});
define("js/home/index", ["zepto","swiper","lazyload","index"], function(require, exports, module){
/**
* 首页打包入口
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/12
*/
require("js/home/home");
require("js/home/maybe-like");
});
define("js/home/home", ["zepto","swiper","lazyload","index"], function(require, exports, module){
/**
* 首页
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/12
*/
var $ = require("zepto"),
Swiper = require("swiper"),
lazyLoad = require("lazyload"),
bannerSwiper,
recommendSwiper,
hotBrandsSwiper,
trendTopicSwiper,
goodsSwiper;
var requestFrame,
thisFunc,
start = 0,
i,
swiperClass,
supportCss3,
$logotrans = $('.home-header .logo'),
isen = true;
require("js/home/maybe-like");
lazyLoad($('img.lazy'));
//$('img:in-viewport').trigger('appear');
//点击首页汉堡menu图标,滑出侧栏导航
$('.nav-btn').on('click', function (event) {
if (!$(this).hasClass('menu-open')) {
$('.mobile-wrap').addClass('menu-open');
$('.overlay').addClass('show');
$('.side-nav').addClass('on');
//设置boy高宽,页面不能上下滑动
$('body').css({
height: $(window).height(),
width: '100%',
overflow: 'hidden'
});
}
event.stopPropagation();
});
//点击页面主体,收起侧栏导航及二级导航
$('.mobile-wrap').on('click', function () {
if ($(this).hasClass('menu-open')) {
$('.mobile-wrap').removeClass('menu-open');
$('.overlay').removeClass('show');
$('.sub-nav').removeClass('show');
$('.side-nav').removeClass('on');
$('body').css({
height: 'auto',
overflow: 'auto'
});
}
});
//点击一级导航,弹出二级导航
$('.side-nav').on('click', 'li', function () {
if ($(this).find('.sub-nav').size() > 0) {
$('.sub-nav').removeClass('show');
$(this).find('.sub-nav').addClass('show');
}
});
//返回一级导航,收起二级导航
$('.sub-nav').each(function () {
$(this).find('li').eq(0).on('click', function (e) {
$('.sub-nav').removeClass('show');
e.stopPropagation();
});
});
//二级导航样式控制
$('.sub-nav').on('mouseenter', 'li', function () {
if ($(this).index() !== 0) {
$(this).addClass('current').siblings().removeClass('current');
}
});
//头部banner轮播
if ($('.banner-swiper').find('li').size() > 1) {
bannerSwiper = new Swiper('.banner-swiper', {
loop: true,
autoplay: 3000,
autoplayDisableOnInteraction: false,
paginationClickable: true,
slideElement: 'li',
pagination: '.banner-top .pagination-inner'
});
}
//热门品牌滑动
hotBrandsSwiper = new Swiper('.brands-swiper', {
grabCursor: true,
slidesPerView: 'auto',
wrapperClass: 'brands-list',
slideElement: 'li'
});
//推荐搭配滑动
recommendSwiper = new Swiper('.recommend-swiper', {
grabCursor: true,
slidesPerView: 'auto',
wrapperClass: 'recommend-list',
slideElement: 'li'
});
//潮品话题轮播
if ($('.trend-topic-swiper').find('li').size() > 1) {
trendTopicSwiper = new Swiper('.trend-topic-swiper', {
loop: true,
autoplay: 3000,
autoplayDisableOnInteraction: false,
paginationClickable: true,
slideElement: 'li',
pagination: '.trend-topic-content .pagination-inner'
});
}
//潮流上装/经典裤装等轮播
$('.category-swiper').each(function (i, index) {
swiperClass = 'category-swiper' + i;
$(this).addClass(swiperClass);
if ($('.' + swiperClass).find('.swiper-slide').size() > 1) {
goodsSwiper = new Swiper('.' + swiperClass, {
loop: true,
autoplay: 3000,
autoplayDisableOnInteraction: false,
paginationClickable: true,
slideElement: 'li',
pagination: '.' + swiperClass + ' .pagination-inner'
});
}
});
//回到顶部
// $('.back-to-top').bind('touchstart', function (e) {
// e.preventDefault();
// $(window).scrollTop(0);
// });
//关闭头部下载浮层
$('.header-download').on('click', '.close-btn', function () {
$(this).parent().remove();
});
//logo动画
requestFrame = (function () {
var tempFunc = null,
prefixList = ['webkit', 'moz', 'ms'];
for (i = 0; i < prefixList.length; i++) {
thisFunc = prefixList[i] + 'RequestAnimationFrame';
if (window[thisFunc]) {
supportCss3 = true;
tempFunc = thisFunc;
}
}
if (supportCss3) {
return function (callback) {
window[tempFunc](callback);
};
}
return function (callback) {
window.setTimeout(callback, 67);
};
})();
function tsAnimate() {
start = start + 10;
$logotrans.css({
transform: 'rotateX(' + start + 'deg)',
'-webkit-transform': 'rotateX(' + start + 'deg)',
'-moz-transform': 'rotateX(' + start + 'deg)'
});
if (start / 90 % 2 === 1) {
if (isen) {
$logotrans.addClass('animate');
isen = false;
} else {
$logotrans.removeClass('animate');
isen = true;
}
}
if (start / 90 % 2 === 0 && start % 360 !== 0) {
window.setTimeout(tsAnimate, 3000);
} else {
if (start % 360 === 0) {
window.setTimeout(tsAnimate, 3 * 60 * 1000);
} else {
requestFrame(function () {
tsAnimate();
});
}
}
}
tsAnimate();
});
define("js/home/maybe-like", ["zepto","lazyload"], function(require, exports, module){
/**
* “你可能喜欢”模块JS
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/12
*/
var $ = require("zepto"),
tip = require("js/plugin/tip"),
lazyLoad = require("lazyload");
var winH = $(window).height(),
loadMoreH = $('#load-more').height(),
$goodList = $('#goods-list'),
loading = false,
page = 0,
gender = $('.mobile-wrap').hasClass('boys-wrap') ? '1,3' : '2,3',
kidsType = $('.mobile-wrap').hasClass('kids-wrap') ? true : false,
lifestyleType = $('.mobile-wrap').hasClass('lifestyle-wrap') ? true : false,
num,
url;
var $curNav,
index,
$navList = $('#maybe-like-nav');
//ajax url
if (kidsType) {
url = '/product/recom/maylikekids';
} else if (lifestyleType) {
url = '/product/recom/maylikelife';
} else {
url = '/product/recom/maylike?gender=' + gender;
}
$curNav = $navList.children('.focus');
$('#maybe-like-nav').delegate('li', 'touchstart', function() {
var $this = $(this),
$goods = $('.goods-list'),
$content;
if ($this.hasClass('focus')) {
return;
}
index = $this.index();
$this.addClass('focus');
$curNav.removeClass('focus');
$goods.not('.hide').addClass('hide');
$content = $goods.eq(index);
$content.removeClass('hide');
$curNav = $this;
$(document).trigger('scroll'); //Trigger lazyLoad
});
//srcoll to load more
$(window).scroll(function () {
if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH) {
if (loading) {
return;
}
loading = true;
num = $goodList.children('.good-info').length;
$.ajax({
type: 'GET',
url: url,
data: {
page: page + 1
},
success: function(data) {
if (data === ' ') {
loading = true;
return;
}
$goodList.append(data);
//lazyLoad
//lazyLoad($goodList.children('.good-info:gt(' + (num - 1) + ')').find('img.lazy'));
lazyLoad($('.good-info').find('img.lazy'));
loading = false;
page++;
},
error: function() {
tip.show('网络断开连接了~');
loading = false;
}
});
}
});
});
define("js/product/index", ["zepto","swiper","lazyload","index"], function(require, exports, module){
/**
* 产品打包入口
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/12
*/
require("js/product/newsale/newarrival");
require("js/product/newsale/discount");
require("js/product/list");
require("js/product/detail/detail");
});
define("js/product/newsale/newarrival", ["zepto","swiper","lazyload","index"], function(require, exports, module){
var $ = require("zepto"),
tip = require("js/plugin/tip"),
Swiper = require("swiper"),
lazyLoad = require("lazyload");
var $curNav,
$navList = $('#newarrival-nav'),
$newArrivalList = $('#newarrival-goods-list'),
$goods = $newArrivalList.children('.goods-list');
var winH = $(window).height(),
loadMoreH = $('#load-more').height(),
$goodList = $('.goods-list'),
loading = false,
page = 0,
index = 0;
var swiper;
swiper = new Swiper('.swiper-container', {
lazyLoading: true,
pagination: '.swiper-pagination'
});
lazyLoad($('img.lazy'));
$curNav = $navList.children('.focus');
$('#newarrival-nav').delegate('li', 'touchstart', function() {
var $this = $(this),
$content;
if ($this.hasClass('focus')) {
return;
}
index = $this.index();
$this.addClass('focus');
$curNav.removeClass('focus');
$goods.not('.hide').addClass('hide');
$content = $goods.eq(index);
$content.removeClass('hide');
$curNav = $this;
$(document).trigger('scroll'); //Trigger lazyLoad
});
//srcoll to load more
$(window).scroll(function () {
if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH) {
if (loading) {
return;
}
loading = true;
//num = $goodList.children('.good-info').length;
$.ajax({
type: 'GET',
url: '/product/newsale/selectNewSale',
data: {
dayLimit: index + 1,
page: page + 1
},
success: function(data) {
if (data === ' ') {
loading = true;
return;
}
$goodList.append(data);
//lazyLoad
//lazyLoad($goodList.children('.good-info:gt(' + (num - 1) + ')').find('img.lazy'));
lazyLoad($('.good-info').find('img.lazy'));
loading = false;
page++;
},
error: function() {
tip.show('网络断开连接了~');
loading = false;
}
});
}
});
});
define("js/product/newsale/discount", ["zepto","swiper","lazyload","index"], function(require, exports, module){
var $ = require("zepto"),
Swiper = require("swiper"),
lazyLoad = require("lazyload");
var $curNav,
$navList = $('#discount-nav'),
$newArrivalList = $('#discount-goods-list'),
$goods = $newArrivalList.children('.goods-list'),
$goodList = $('.goods-list');
var swiper;
var index = 0,
winH = $(window).height(),
loadMoreH = $('#load-more').height(),
loading = false,
page = 0,
pd = "";
swiper = new Swiper('.swiper-container', {
lazyLoading: true,
pagination: '.swiper-pagination'
});
lazyLoad($('img.lazy'));
$curNav = $navList.children('.focus');
$('#discount-nav').delegate('li', 'touchstart', function() {
var $this = $(this),
$content;
if ($this.hasClass('focus')) {
return;
}
index = $this.index();
pd = getSalePdByChoose(index);
$this.addClass('focus');
$curNav.removeClass('focus');
$goods.not('.hide').addClass('hide');
$content = $goods.eq(index);
$content.removeClass('hide');
$curNav = $this;
$(document).trigger('scroll'); //Trigger lazyLoad
});
//srcoll to load more
$(window).scroll(function () {
if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH) {
if (loading) {
return;
}
loading = true;
// num = $goodList.children('.good-info').length;
$.ajax({
type: 'GET',
url: '/product/newsale/selectNewSale',
data: {
p_d: pd,
page: page + 1
},
success: function(data) {
if (data === ' ') {
//opt.end = true;
loading = false;
return;
}
$goodList.append(data);
//lazyLoad
//lazyLoad($goodList.children('.good-info:gt(' + (num - 1) + ')').find('img.lazy'));
lazyLoad($('.good-info').find('img.lazy'));
loading = false;
page++;
},
error: function() {
tip.show('网络断开连接了~');
loading = false;
}
});
}
});
/**
* 根据用户的选择获取商品折扣值
*
* @param int index
* @return string
*/
function getSalePdByChoose(index) {
var pd = "0.1,0.3";
switch (index) {
case 0:
pd = "0.1,0.3";
break;
case 1:
pd = "0.4,0.6";
break;
case 2:
pd = "0.7,0.9";
break;
case 3:
pd = "0.1,0.9";
break;
}
return pd;
}
});
define("js/product/list", ["zepto","lazyload"], function(require, exports, module){
/**
* 商品列表页
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/20
*/
var $ = require("zepto"),
lazyLoad = require("lazyload");
//品牌页参数
var $brandHeader = $('#brand-header'),
$introBox = $('#intro-box');
var filter = require("js/plugin/filter");
var $goodsContainer = $('#goods-container'),
$ngc = $goodsContainer.children('.new-goods'),
$pgc = $goodsContainer.children('.price-goods'),
$dgc = $goodsContainer.children('.discount-goods');
var winH = $(window).height();
//默认筛选条件
var defaultOpt = {
gender: $('#gender').val(),
brand: $('#brand').val(),
msort: $('#msort').val(),
color: $('#color').val(),
size: $('#size').val(),
price: $('#price').val(),
discount: $('#discount').val()
};
var $listNav = $('#list-nav'),
//导航数据信息
navInfo = {
newest: {
order: 1,
reload: true,
page: 0,
end: false
},
price: {
order: 0,
reload: true,
page: 0,
end: false
},
discount: {
order: 0,
reload: true,
page: 0,
end: false
}
},
$pre, //纪录进入筛选前的active项
searching;
/**
* 筛选注册的回调,筛选子项点击后逻辑
* 需要执行search的场景:1.点选筛选项;2.relaod为true时切换导航;3.下拉加载
* @param opt {type, id}
*/
function search(opt) {
var setting = {},
ext,
att,
nav, navType,
page;
if (opt) {
//筛选项变更则重置reload为true
for (att in navInfo) {
if (navInfo.hasOwnProperty(att)) {
navInfo[att].reload = true;
}
}
//处理active状态
$listNav.children('.active').removeClass('active');
$pre.addClass('active');
switch (opt.type) {
case 'gender':
ext = {
gender: opt.id
};
break;
case 'brand':
ext = {
brand: opt.id
};
break;
case 'msort':
ext = {
msort: opt.id
};
break;
case 'color':
ext = {
color: opt.id
};
break;
case 'size':
ext = {
size: opt.id
};
break;
case 'price':
ext = {
price: opt.id
};
break;
case 'discount':
ext = {
discount: opt.id
};
break;
}
$.extend(defaultOpt, ext); //扩展筛选项
}
if (searching) {
return;
}
//导航类别
if ($pre.hasClass('new')) {
navType = 'newest';
} else if ($pre.hasClass('price')) {
navType = 'price';
} else if ($pre.hasClass('discount')) {
navType = 'discount';
}
nav = navInfo[navType];
page = nav.page + 1;
if (nav.reload) {
page = 1;
} else if (nav.end) {
//不需要重新加载并且数据请求结束
return;
}
$.extend(setting, defaultOpt, {
type: navType,
order: nav.order,
page: page
});
searching = true;
$.ajax({
type: 'GET',
url: '/product/list/search',
data: setting,
success: function(data) {
var noResult = '<p class="no-result">未找到相关搜索结果</p>',
$container;
switch (navType) {
case 'newest':
$container = $ngc;
break;
case 'price':
$container = $pgc;
break;
case 'discount':
$container = $dgc;
break;
}
if (data === ' ') {
nav.end = true;
if (nav.reload) {
$container.html(noResult);
}
} else {
if (nav.reload) {
$container.html(data);
} else {
$container.append(data);
}
lazyLoad($container.find('.lazy'));
}
nav.reload = true;
nav.page = page;
searching = false;
}
});
}
lazyLoad($('.lazy'));
filter.registerCbFn(search);
//导航栏点击逻辑说明:
//1.点击非active项时切换active状态
//2.价格和折扣active状态时继续点击切换排序
//3.筛选无active时点击展开筛选面板
//4.筛选有active时点击隐藏筛选面板并恢复点击筛选前active项的active状态
//5.当前active为筛选并且点击其他项时,隐藏筛选面板
$listNav.delegate('li', 'touchstart', function() {
var $this = $(this),
nav,
navType,
$active;
if ($this.hasClass('filter')) {
//筛选面板切换状态
if ($this.hasClass('active')) {
filter.hideFilter();
//点击筛选钱的active项回复active
$pre.addClass('active');
$this.removeClass('active');
} else {
$pre = $this.siblings('.active');
$pre.removeClass('active');
$this.addClass('active');
filter.showFilter();
}
} else {
if ($this.hasClass('new')) {
navType = 'newest';
} else if ($this.hasClass('price')) {
navType = 'price';
} else if ($this.hasClass('discount')) {
navType = 'discount';
}
nav = navInfo[navType];
if ($this.hasClass('active')) {
//最新无排序切换
if ($this.hasClass('new')) {
return;
}
if ($this.hasClass('price') || $this.hasClass('discount')) {
// 价格/折扣切换排序状态
$this.find('.icon > .iconfont').toggleClass('cur');
$pre = $this; //更新pre为当前项
nav.reload = true; //重置reload,HTML会被替换为逆序的HTML
nav.order = nav.order === 0 ? 1 : 0; //切换排序
}
} else {
$active = $this.siblings('.active');
$pre = $this; //$pre为除筛选导航的其他导航项,若当前active的为筛选,则把$pre置为当前点击项
if ($active.hasClass('filter')) {
//若之前active项为筛选,则隐藏筛选面板
filter.hideFilter();
} else {
//切换container显示
$goodsContainer.children('.container:not(.hide)').addClass('hide');
switch (navType) {
case 'newest':
$ngc.removeClass('hide');
break;
case 'price':
$pgc.removeClass('hide');
break;
case 'discount':
$dgc.removeClass('hide');
break;
}
}
$active.removeClass('active');
$this.addClass('active');
}
if (nav.reload) {
search();
}
}
});
$(window).scroll(function() {
//当scroll到1/4$goodsContainer高度后继续请求下一页数据
if ($(window).scrollTop() + winH >
$(document).height() - 0.25 * $goodsContainer.height()) {
search();
}
});
//品牌介绍
$brandHeader.children('.btn-intro').bind('touchstart', function() {
$introBox.removeClass('hide');
});
$('.close-intro, .brand-intro-box').click(function() {
$introBox.addClass('hide');
});
$('#brand-intro').click(function(e) {
e.stopPropagation();
});
//品牌收藏
$brandHeader.children('.btn-col').bind('touchstart', function() {
$(this).toggleClass('coled');
});
});
define("js/plugin/filter", ["zepto"], function(require, exports, module){
/**
* 筛选JS
* 暴露三个接口:注册回调、显示filter、隐藏filter
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/19
*/
var $ = require("zepto");
var $filter = $('.filter-mask, .filter-body');
var $classify = $filter.find('.classify'),
$subClassify = $filter.find('.sub-classify');
var cbFn;
//隐藏筛选界面
function hideFilter() {
$filter.addClass('hide');
}
//显示筛选界面
function showFilter() {
$filter.removeClass('hide');
}
//注册sub-classify点击后的回调
function registerCbFn(cb) {
cbFn = cb;
}
//设置完高度后显示sub并设置选中
$classify.children(':first-child').addClass('active'); //T:不在HTML中使用{{#if @first}}active{{/if}}来初始化active为避免sub设置高度时的闪烁
//classify switch
$classify.delegate('.classify-item', 'touchstart', function() {
var $this = $(this);
if ($this.hasClass('active')) {
return;
}
$this.siblings('.active').removeClass('active');
$this.addClass('active');
});
//点击Mask隐藏筛选界面
$filter.filter('.filter-mask').click(function() {
hideFilter();
});
$subClassify.delegate('li', 'click', function(e) {
var $this = $(this),
id = $this.data('id');
var $sub = $this.closest('.sub-classify');
var $shower = $sub.siblings('.shower');
var html, shower;
e.stopPropagation();
if ($this.hasClass('chosed')) {
return;
}
$sub.children('.chosed').removeClass('chosed');
$this.addClass('chosed');
html = $.trim($this.html());
shower = $.trim($shower.html());
$shower.html(
shower.substring(0, shower.indexOf('</span>') + 7) + //拆分出shower的title
html.substring(0, html.indexOf('<i')) //拆分选中筛选值
);
if ($this.index() === 0) {
$shower.addClass('default');
} else {
$shower.removeClass('default');
}
if (cbFn) {
cbFn({
type: $sub.data('type'),
id: id
});
}
hideFilter();
});
exports.showFilter = showFilter;
exports.hideFilter = hideFilter;
exports.registerCbFn = registerCbFn;
});
define("js/product/detail/detail", ["zepto","swiper","lazyload","index"], function(require, exports, module){
/**
* 产品打包入口
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/20
*/
var $ = require("zepto"),
Swiper = require("swiper"),
lazyLoad = require("lazyload"),
goodsSwiper;
lazyLoad($('img.lazy'));
goodsSwiper = new Swiper('.banner-swiper', {
loop: true,
pagination: '.banner-top .pagination-inner',
slideElement: 'div',
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev'
});
});
define("js/index/index", ["zepto"], function(require, exports, module){
/**
* Index打包入口
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/19
*/
require("js/index/search");
require("js/index/channel");
});
define("js/index/search", ["zepto"], function(require, exports, module){
/**
* 搜索JS
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/19
*/
var $ = require("zepto");
var $input = $('#search-input > input');
var $clear = $('#search-input > .clear-input');
var $history = $('.history');
$('#clear-history').bind('touchstart', function() {
$.ajax({
type: 'POST',
url: '/search/clearHistory',
success: function(data) {
if (data.code === 200) {
$history.html(''); //clear search history items
}
}
});
});
$('#search').bind('touchstart', function() {
var val = $input.val();
$.ajax({
type: 'POST',
url: '/search',
data: {
val: val
},
success: function(data) {
if (data.code === 200) {
location.href = data.data;
}
}
});
});
$input.bind('input', function() {
if ($input.val() === '') {
$clear.addClass('hide');
} else {
$clear.removeClass('hide');
}
});
$clear.bind('touchstart', function() {
$input.val('').trigger('input');
});
});
define("js/index/channel", [], function(require, exports, module){
/**
* 频道选择
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/12
*/
});
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}*{-webkit-tap-highlight-color:transparent;-moz-tap-highlight-color:transparent;tap-highlight-color:transparent}html,body{font-family:helvetica,Arial,"黑体";width:100%;font-size:12px;line-height:1.4}.clearfix:before,.clearfix:after{content:"";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}img{max-width:100%;display:block;border:0;margin:0 auto}a{text-decoration:none;outline:none;color:#000}*:focus{outline:none}.hide{display:none}@font-face{font-family:"iconfont";src:url('../assets/font/iconfont.eot?1445599435');src:url('../assets/font/iconfont.eot?&1445599435#iefix') format("embedded-opentype"),url('../assets/font/iconfont.woff?1445598999') format("woff"),url('../assets/font/iconfont.ttf?1445599435') format("truetype"),url('../assets/font/iconfont.svg?1445599435#iconfont') format("svg")}.iconfont{font-family:"iconfont" !important;font-size:16px;font-style:normal;text-decoration:none;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:0.2px;-moz-osx-font-smoothing:grayscale}.yoho-tip{position:absolute;display:none;text-align:center;width:70%;padding:34px 0;top:50%;left:50%;margin-left:-35%;margin-top:-45px;background-color:#000;opacity:0.7;color:#fff;font-size:18px;border:none;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}.yoho-header{position:relative;background-color:#000;color:#fff;width:100%;overflow:hidden;height:44px;line-height:44px}.yoho-header .nav-back{position:absolute;left:17px;top:14px;width:9px;height:16px;background:url('../../../img/layout/back.png?1445571430') no-repeat;background-size:100% 100%;outline:none}.yoho-header .nav-home{position:absolute;top:14px;right:17px;width:20px;height:20px;background:url('../../../img/layout/home.png?1445571430') no-repeat;background-size:100% 100%;outline:none}.yoho-header .nav-title{position:absolute;margin-left:26px;margin-right:32px;height:100%;font-size:18px;color:#fff;font-weight:bold;top:0;right:0;left:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.yoho-footer{font-size:12px;background-color:#fff}.yoho-footer .op-row{position:relative;padding:0 30px;height:60px;line-height:60px}.yoho-footer .op-row .user-name{text-decoration:underline;margin-left:.3em;margin-right:1em}.yoho-footer .op-row .back-to-top{position:absolute;right:20px}.yoho-footer .op-row .sep-line{margin:0 0.3em}.yoho-footer .copyright{height:60px;line-height:60px;border-top:1px solid #ccc;text-align:center;color:#666;background-color:#eee}.yoho-footer.bottom{position:absolute;width:100%;bottom:0}.good-info{float:left;width:6.9rem;height:12.15rem;margin:0.7rem 0.375rem 0}.good-info .tag-container{height:0.7rem;width:100%}.good-info .tag-container .good-tag{display:block;float:left;height:0.7rem;font-size:0.45rem;text-align:center;line-height:0.8rem;margin-right:0.1rem}.good-info .tag-container .good-tag:last-child{margin-right:0}.good-info .tag-container .new-tag{width:1.5rem;background-color:#78dc7e;color:#fff}.good-info .tag-container .renew-tag{width:2.25rem;background-color:#78dc7e;color:#fff}.good-info .tag-container .sale-tag{width:1.5rem;background-color:#ff575c;color:#fff}.good-info .tag-container .new-festival-tag{width:2.25rem;background-color:#000;color:#fff}.good-info .tag-container .limit-tag{box-sizing:border-box;width:2.25rem;border:1px solid #000;color:#000;line-height:0.6rem}.good-detail-img{position:relative}.good-detail-img img{display:block;width:100%;height:9.15rem}.good-detail-img .few-tag{position:absolute;bottom:0;width:100%;height:0.7rem;background:#ffac5b;font-size:0.45rem;color:#fff;line-height:0.7rem;text-align:center}.good-detail-text .name a{display:block;line-height:1.4rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-decoration:none;font-size:0.55rem;color:#444}.good-detail-text .price{line-height:0.55rem;font-size:0.55rem}.good-detail-text .price .sale-price{color:#d62927}.good-detail-text .price .sale-price.no-price{color:#000}.good-detail-text .price .market-price{margin:0 0 0 0.125rem;color:#b0b0b0;text-decoration:line-through}.filter-mask,.filter-body{position:absolute;left:0;right:0;top:0}.filter-mask{height:100%;background:rgba(0,0,0,0.1)}.filter-body{background:#fff;color:#000;cursor:pointer;font-size:14px;height:440px}.filter-body .classify{width:50%;height:100%;background:#f8f8f8}.filter-body .classify>li{height:60px;line-height:60px}.filter-body .classify>li>*{box-sizing:border-box}.filter-body .classify>li.active{background:#fff}.filter-body .classify>li .shower{padding-left:20px;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.filter-body .classify>li .default{color:#999}.filter-body .classify>li .title{float:left;color:#000}.filter-body .sub-classify{position:absolute;display:none;width:50%;height:440px;padding-left:15px;left:50%;top:0;overflow:auto}.filter-body .sub-classify>li{height:60px;line-height:60px;border-bottom:1px solid #e6e6e6;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.filter-body .sub-classify .chosed-icon{display:none}.filter-body .sub-classify .chosed .chosed-icon{display:inline}.filter-body .active>.sub-classify{display:block}body.passport-body{background-color:#444;font-family:"MicroSoft YaHei",SimSun,sans-serif}body.passport-body *{box-sizing:border-box}.passport-page{text-align:center;padding:0 6%}.passport-page .header{position:relative;height:40px;margin:20px 0 30px}.passport-page .header .go-back{display:block;position:absolute;height:30px;width:30px;top:5px;left:0;background:url('../../../img/passport/go-back.png?1445571430') no-repeat;background-size:100% 100%}.passport-page .header .title{font-size:20px;line-height:40px;color:#fff}.passport-page .header .img-header{width:68px;height:40px;background:url('../../../img/passport/yoho-family.png?1445571430') no-repeat;background-size:100% 100%;margin:0 auto}.passport-page .input-container,.passport-page .select-container{position:relative;width:100%;height:52px;font-size:20px;background-color:#575757;border:1px solid #606060;border-radius:5px;text-align:left;color:#fff}.passport-page .select-container .select{position:absolute;height:50px;padding-right:40px;right:0;color:#fff;background-color:transparent;border:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-appearance:none;-webkit-appearance:none;direction:rtl}.passport-page .select-container .select:focus{outline:0;border:none}.passport-page .select-container .select:-moz-focusring{color:transparent;text-shadow:0 0 0 #fff}.passport-page .select-container .select-title{line-height:2.5;margin-left:15px}.passport-page .select-container .arrow-right{position:absolute;width:13px;height:20px;right:15px;top:16px;background-image:url("http://static.dev.yohobuy.com/img/passport/arrow-right.png");background-size:100% 100%}.passport-page .has-eye,.passport-page .has-clear{padding-right:30px}.passport-page .area-code{position:absolute;left:15px;line-height:2.5}.passport-page .phone-container{padding-left:55px}.passport-page .input{width:100%;line-height:26px;padding:12px 0;padding-left:15px;border-radius:5px;color:#fff;background-color:transparent;border:none}.passport-page .btn{display:block;width:100%;font-size:20px;line-height:2.5;background-color:#36a74c;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;color:#fff}.passport-page .btn.disable{background-color:#a2a2a2}.passport-page .country-select.in-android-uc{width:90px}.passport-page .clear-input{position:absolute;display:none;top:18px;right:10px;width:16px;height:16px;background-image:url("http://static.dev.yohobuy.com/img/passport/clear-input.png");background-size:100% 100%}.passport-page .eye{position:absolute;top:20px;right:10px;width:19px;height:12px;background-image:url("http://static.dev.yohobuy.com/img/passport/eye.png");background-size:100% 100%}.passport-page .eye.close{background-image:url("http://static.dev.yohobuy.com/img/passport/eye-close.png")}.passport-page .row{margin-bottom:10px}.reg-page .register-tip{color:#fff;font-size:15px}.login-page .yoho-logo{position:absolute;height:31px;width:26px;background:url('../../../img/passport/yoho.png?1445571430');background-size:100% 100%;top:10px;left:15px}.login-page .acc-container{padding-left:45px}.login-page .op-container{position:relative;width:100%;margin:20px 0;text-align:left;font-size:16px}.login-page .op-container .go-register{text-decoration:underline;color:#858585}.login-page .op-container .forget-pwd{position:absolute;right:0;text-decoration:underline;color:#858585}.login-page .third-party-login{text-align:left}.login-page .third-party-login>span{font-size:16px;color:#858585}.login-page .third-party-login .tp-link{text-align:center;padding:20px 0}.login-page .third-party-login .tp-link>a{display:inline-block;width:44px;height:44px;margin:0 7px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;background-color:#333;background-repeat:no-repeat;background-size:100% 100%}.login-page .third-party-login .tp-link .alipay{background-image:url('../../../img/passport/alipay.png?1445571430')}.login-page .third-party-login .tp-link .weibo{background-image:url('../../../img/passport/weibo.png?1445571430')}.login-page .third-party-login .tp-link .weixin{background-image:url('../../../img/passport/weixin.png?1445571430')}.login-page .third-party-login .tp-link .qq{background-image:url('../../../img/passport/qq.png?1445571430')}.login-page .international{display:block;width:200px;padding:5px 10px;background-color:#333;border:none;border-radius:20px;margin:0 auto;font-size:16px;color:#d8d8d8}.login-page .login-tip{font-size:16px;position:relative;color:#d8d8d8;margin:15px 0}.login-page .login-tip .info-icon{display:inline-block;height:12px;width:12px;background-image:url('../../../img/passport/info.png?1445571430');background-size:100% 100%}.login-page .mask{position:fixed;display:none;top:0;bottom:0;right:0;left:0;background-color:rgba(0,0,0,0.5)}.login-page .retrive-pwd-ways{position:fixed;display:none;bottom:5px;left:10px;right:10px;font-size:16px}.login-page .retrive-pwd-ways li{background-color:#fff;width:100%;height:40px;line-height:40px;text-align:center}.login-page .retrive-pwd-ways li:nth-child(1){-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;border-top-right-radius:5px;border-bottom:1px solid #9f9f9f}.login-page .retrive-pwd-ways li:nth-child(2){-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;border-bottom-left-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;border-bottom-right-radius:5px}.login-page .retrive-pwd-ways li:last-child{margin-top:10px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.back-email-success-page .tip{font-size:20px;color:#fff;margin-top:30px}.back-email-success-page .sub-tip,.back-email-success-page .resend{color:#939393;font-size:16px}.back-email-success-page .go-email{margin:20px 0 10px}.back-email-success-page .resend{float:right}.reg-code-page .captcha-tip,.back-code-page .captcha-tip{position:absolute;width:148px;text-align:center;right:15px;top:8px;color:#36a74c;padding:5px 0;border:1px solid #36a74c;border-radius:20px;font-size:16px}.reg-code-page .captcha-tip.disable,.back-code-page .captcha-tip.disable{color:#8f8f8f;border-color:#8f8f8f}.reg-code-page .input-container,.back-code-page .input-container{padding-right:190px}.reg-code-page .text-container,.back-code-page .text-container{color:#fff;font-size:16px;margin-bottom:20px}.reg-code-page .phone,.back-code-page .phone{color:#4ecae8}.reg-code-page .clear-input,.back-code-page .clear-input{right:170px}.time-view-like-share{color:#b0b0b0;line-height:0.95rem;height:0.95rem;font-size:0.6rem}.time-view-like-share .iconfont{vertical-align:9%;margin-right:0.1rem;font-size:0.6rem}.time-view-like-share .like-share-container{display:inline-block;float:right}.time-view-like-share .like-share-container>*{float:left}.time-view-like-share .like-share-container .iconfont{position:relative;height:1.5rem;line-height:1.5rem;display:inline-block;color:#b0b0b0;width:1.5rem;top:-0.35rem;font-size:0.85rem;text-align:center;margin-right:0;outline:none}.time-view-like-share .like-share-container .share-btn{margin-left:0.5rem}.time-view-like-share .like-share-container .like-btn.like{color:#444}.time-view-like-share .like-share-container .collect-btn{margin-left:0.5rem}.time-view-like-share .like-share-container .collect-btn.collected{color:#444}.guang-info{margin-bottom:0.75rem;padding:0 0 0.6rem 0;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.guang-info .info-author{display:block;width:100%}.guang-info .info-author .avatar{float:left;margin-top:0.5rem;width:1.25rem;height:1.25rem;margin-left:0.75rem;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.guang-info .info-author .name{float:left;margin-left:0.75rem;padding:0.75rem 0;font-size:0.7rem;color:#000}.guang-info:last-child{margin-bottom:0}.guang-info .info-img{position:relative;width:100%}.guang-info .info-img img{display:block;width:100%}.guang-info .info-match{position:absolute;top:0;left:0;width:3.25rem;height:1.25rem;line-height:1.25rem;font-size:0.7rem;color:#fff;background:#000;text-align:center;text-decoration:none}.guang-info .info-tag{position:absolute;top:0;left:2.625rem;height:1.25rem;width:1.25rem}.guang-info .info-tag.collocation{background:url('../../../img/guang/info/collocation.png?1445571430');background-size:100% 100%}.guang-info .info-tag.fashion-good{background:url('../../../img/guang/info/fashion-good.png?1445571430');background-size:100% 100%}.guang-info .info-tag.fashion-man{background:url('../../../img/guang/info/fashion-man.png?1445571430');background-size:100% 100%}.guang-info .info-tag.tip{background:url('../../../img/guang/info/tip.png?1445571430');background-size:100% 100%}.guang-info .info-tag.topic{background:url('../../../img/guang/info/topic.png?1445571430');background-size:100% 100%}.guang-info .info-deps{margin:0.8rem 0 0 0;padding:0 1rem 0 0.75rem}.guang-info .info-deps .info-title-container{text-decoration:none;color:#000}.guang-info .info-deps .info-title{line-height:1.1rem;color:#000;font-size:1rem;font-weight:bold}.guang-info .info-deps .info-text{margin:0.4rem 0 0 0;line-height:1.15rem;font-size:0.7rem;color:#444}.guang-info .info-deps .time-view-like-share{margin-top:0.4rem}.ps-list-page{background-color:#f0f0f0}.ps-list-page .nav-tab,.ps-list-page .ps-content{width:100%}.ps-list-page .nav-tab{height:1.5rem;padding:0.25rem 0;background-color:#fff}.ps-list-page .star-nav,.ps-list-page .plus-nav{box-sizing:border-box;float:left;width:50%;height:1.5rem;line-height:1.5rem;font-size:16px;text-align:center;color:#ccc}.ps-list-page .star-nav.focus,.ps-list-page .plus-nav.focus{color:#000}.ps-list-page .star-nav{border-right:1px solid #ccc}.ps-list-page .plus-star-row{margin-bottom:0.25rem}.ps-list-page .plus-star-row:last-child{margin-bottom:0}.ps-list-page .plus-star-row>a{display:block;height:7.75rem}.ps-list-page .content.hide{display:none}.ps-list-page .swiper-container{height:7.75rem}.ps-list-page .swiper-pagination-bullet-active{background:#fff}.ps-list-page .brand-deps{height:1rem;line-height:1rem;padding-left:0.25rem;font-size:14px;background:#fff;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ps-detail-page{background-color:#f0f0f0}.ps-detail-page .ps-block{margin-bottom:0.75rem;border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0;background-color:#fff}.ps-detail-page .ps-block.header,.ps-detail-page .ps-block.related-infos{border-top:none}.ps-detail-page .ps-block.related-infos{margin-bottom:0;background-color:#f0f0f0}.ps-detail-page .header{position:relative}.ps-detail-page .header .banner{width:100%;height:7.75rem}.ps-detail-page .header .logo{position:absolute;border:1px solid #b5b5b5;height:4.2rem;width:4.2rem;top:5.65rem;left:1.25rem}.ps-detail-page .header .header-content{padding:0 0.75rem}.ps-detail-page .header .name-islike-container{padding-left:6.2rem;margin-top:0.6rem;font-size:0.85rem}.ps-detail-page .header .name{color:#000;height:1.025rem;width:7.375rem}.ps-detail-page .header .brand-islike{position:relative;float:right;color:#b0b0b0;height:1.5rem;width:1.5rem;line-height:1.5rem;text-align:center;top:-0.25rem;left:-0.25rem}.ps-detail-page .header .brand-islike.like{color:#f00}.ps-detail-page .intro{margin-top:1.225rem;font-size:0.6rem;color:#444;line-height:150%}.ps-detail-page .more-intro{padding:0.75rem 0;font-size:0.7rem;line-height:104%;color:#bbb;float:right}.ps-detail-page .more-intro .icon{display:inline-block;height:100%;width:1rem;-moz-transition:-moz-transform 0.1s ease-in;-o-transition:-o-transform 0.1s ease-in;-webkit-transition:-webkit-transform 0.1s ease-in;transition:transform 0.1s ease-in}.ps-detail-page .more-intro.spread .icon{-moz-transform:rotate(-180deg);-ms-transform:rotate(-180deg);-webkit-transform:rotate(-180deg);transform:rotate(-180deg);-moz-transform:scale(0.83, 0.83);-ms-transform:scale(0.83, 0.83);-webkit-transform:scale(0.83, 0.83);transform:scale(0.83, 0.83)}.ps-detail-page .new-arrival{padding-left:0 0.75rem}.ps-detail-page .new-arrival .new-arrival-content{padding:0.5rem 0.35rem}.ps-detail-page .new-arrival .more-goods-container{height:2.25rem;padding:0 0.75rem;border-top:1px solid #e0e0e0;color:#000}.ps-detail-page .new-arrival .mg-text{height:100%;line-height:2.25rem;color:#000;text-decoration:none;display:block;font-size:16px}.ps-detail-page .new-arrival .more-prods{float:right;color:#b0b0b0}.ps-detail-page .new-arrival .new-arrival-header .more-prods{margin-right:0.75rem;margin-top:0.25rem}.ps-detail-page .new-arrival-header{padding-left:5.55rem;padding-top:0.825rem}.ps-detail-page .new-arrival-header .header-text{font-size:0.7rem;color:#000;line-height:122%;font-weight:bold}.ps-detail-page .related-info-title{margin:0 0.725rem;border:1px solid #e0e0e0;border-bottom:none;line-height:1.8rem;font-size:0.75rem;color:#b0b0b0;text-align:center;background-color:#fff}.ps-detail-page .related-infos-container .guang-info:first-child{margin-top:0}.guang-list-page .editor-header{margin-bottom:0.75rem;padding-top:0.9rem;padding-bottom:1rem;background:#fff;border-bottom:1px solid #e0e0e0}.guang-list-page .avatar{float:left;margin-left:0.75rem}.guang-list-page .avatar img{width:2.5rem;height:2.5rem;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.guang-list-page .text{float:left;margin-left:0.8rem;width:11.875rem}.guang-list-page .text .name{font-size:0.8rem;line-height:1rem}.guang-list-page .text .info{margin-top:0.15rem;color:#bdbdbf;font-size:0.6rem;line-height:0.8rem}.guang-list-page .swiper-container{width:100%;height:7.75rem}.guang-list-page .swiper-container img{height:100%;width:100%}.guang-list-page .swiper-container .swiper-pagination{bottom:0;left:0;width:100%}.guang-list-page .swiper-container .swiper-pagination-bullet-active{background:#fff}.guang-list-page .guang-nav{background-color:#fff;overflow:hidden;height:2rem}.guang-list-page .guang-nav-item{float:left;color:#ccc;font-size:0.7rem;padding:0 0.55rem;line-height:2rem}.guang-list-page .guang-nav-item.focus{color:#000}.guang-list-page .info-list.hide{display:none}.guang-list-page .load-more-info{width:100%;height:1.75rem;line-height:1.75rem;text-align:center;font-size:14px;overflow:hidden}.guang-list-page .load-more-info .status.hide{display:none}.clothes-sprite{background-image:url('../../../img/guang/clothes-s7f658d7d2c.png');background-repeat:no-repeat}.guang-detail-page #wrapper.ios{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.guang-detail-page .author{border-bottom:1px solid #e0e0e0;background:#fff}.guang-detail-page .author>a{display:block;height:100%}.guang-detail-page .author .avatar{float:left;margin-top:0.5rem;margin-left:0.75rem;width:1.25rem;height:1.25rem;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.guang-detail-page .author .name{float:left;font-size:0.7rem;color:#000;padding:0.75rem 0;margin-left:0.75rem}.guang-detail-page .author .intro{float:left;font-size:0.7rem;color:#b0b0b0;padding:0.75rem 0;margin-left:0.75rem}.guang-detail-page .post-title{padding:0.4rem 0 0.65rem 0.75rem;background:#fff}.guang-detail-page .post-title .title{line-height:1.5rem;font-size:1rem;color:#000;font-weight:bold}.guang-detail-page .text-block{padding:0.5rem 0.75rem;line-height:1.15rem;font-size:0.7rem;background:#fff;color:#444}.guang-detail-page .big-img-block{padding-bottom:0.125rem;background:#fff}.guang-detail-page .big-img-block img{width:100%;height:16rem}.guang-detail-page .small-img-block{padding-bottom:0.2rem;background:#fff}.guang-detail-page .small-img-block img{float:right;width:7.875rem;height:10.5rem}.guang-detail-page .small-img-block img:first-child{float:left}.guang-detail-page .collocation-block{background:#fff}.guang-detail-page .collocation-block .good-list{padding-left:0.375rem}.guang-detail-page .thumb-container{padding-top:0.75rem;padding-left:0.75rem;background:transparent url('../../../img/guang/thumb-container-bg.png?1445571430') no-repeat;background-size:200% 100%}.guang-detail-page .thumb-container.fixed-top{position:fixed;left:0;right:0;top:0}.guang-detail-page .thumb-container.fixed-bottom{position:fixed;left:0;right:0;bottom:0;background:rgba(255,255,255,0.9)}.guang-detail-page .thumb-container.absolute{position:absolute;left:0;right:0}.guang-detail-page .thumb-container.static{position:static}.guang-detail-page .thumb-container.hide{display:none}.guang-detail-page .clothe-type{position:absolute;right:0.15rem;bottom:0.85rem;width:20px;height:20px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.guang-detail-page .clothe-type.bag{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 0 no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.cloth{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -20px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.dress{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -40px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.headset{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -60px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.lamp{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -80px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.pants{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -100px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.shoe{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -120px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.swim-suit{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -140px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.under{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -160px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .clothe-type.watch{background:url('../../../img/guang/clothes-se45f5825d0.png') 0 -180px no-repeat;-moz-background-size:20px auto;-o-background-size:20px auto;-webkit-background-size:20px auto;background-size:20px auto;display:block;background-color:#fff;background-size:100%}.guang-detail-page .thumb{display:inline-block;position:relative;margin-right:0.55rem;padding-bottom:0.75rem}.guang-detail-page .thumb:last-child{margin-right:0}.guang-detail-page .thumb.focus .thumb-img{border-color:#000}.guang-detail-page .thumb-img{height:3.35rem;width:2.4rem;border:1px solid transparent}.guang-detail-page .related-reco-block{background:#fff;padding-left:0.375rem;border-top:1px solid #e0e0e0}.guang-detail-page .related-reco-block h2{margin-left:-0.375rem;line-height:2.6rem;font-size:0.75rem;color:#b0b0b0;text-align:center}.guang-detail-page .related-reco-block .one-good{padding-left:0.375rem;padding-right:0.75rem;margin-bottom:0.5rem}.guang-detail-page .related-reco-block .one-good .thumb{float:left;height:3.35rem;width:2.4rem}.guang-detail-page .related-reco-block .one-good .content-container{padding-left:3rem;height:3.35rem;line-height:1;font-size:0.6rem}.guang-detail-page .related-reco-block .one-good .content-container>p{height:50%;line-height:2.35rem}.guang-detail-page .related-reco-block .one-good .content-container span{display:inline-block;line-height:0.6rem}.guang-detail-page .related-reco-block .one-good .content-container .price{line-height:1.175rem}.guang-detail-page .related-reco-block .one-good .sale-price{color:#d62927;line-height:1.5}.guang-detail-page .related-reco-block .one-good .sale-price.no-price{color:#000}.guang-detail-page .related-reco-block .one-good .market-price{margin-left:0.125rem;color:#b0b0b0;text-decoration:line-through;line-height:1.5}.guang-detail-page .related-reco-block .one-good .check-detail{display:inline-block;color:#000;border:1px solid;border-radius:2px;float:right;padding:0 5px;line-height:1.5}.guang-detail-page .related-brand{margin-top:0.75rem}.guang-detail-page .related-brand h2{margin:0 0.725rem;background:#fff;border:1px solid #e0e0e0;border-bottom:none;line-height:1.8rem;font-size:0.75rem;color:#b0b0b0;text-align:center}.guang-detail-page .related-brand .brand-list{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;padding:0.75rem 0 0.75rem;background:#fff}.guang-detail-page .related-brand .brand{float:left;width:3.95rem;height:3.2rem;border-right:1px solid #e0e0e0;margin-bottom:0.25rem}.guang-detail-page .related-brand .brand a{display:block}.guang-detail-page .related-brand .brand:nth-child(4n){border-right:none}.guang-detail-page .related-brand .brand-logo{display:table-cell;width:3.95rem;height:2.35rem;vertical-align:middle}.guang-detail-page .related-brand .brand-logo img{display:block;max-width:3.95rem;max-height:2.35rem;vertical-align:middle;margin:0 auto}.guang-detail-page .related-brand .brand-name{margin:0.25rem 0 0 0;line-height:0.6rem;font-size:0.45rem;color:#babac2;text-align:center;text-decoration:none;border-bottom:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guang-detail-page .related-tag{position:relative;padding-bottom:0.75rem;border-bottom:1px solid #e0e0e0;background:#fff}.guang-detail-page .related-tag .tag-bg{position:absolute;height:1rem;width:1rem;background:url('../../../img/guang/tag.png?1445571430') no-repeat;background-size:100% 100%;top:0.875rem;left:0.5rem}.guang-detail-page .related-tag .tag-list{margin-left:1.25rem}.guang-detail-page .related-tag li{float:left;margin-top:0.775rem;margin-left:0.775rem}.guang-detail-page .related-tag a{height:1.25rem;line-height:1.25rem;font-size:0.75rem;color:#000;text-decoration:underline;white-space:nowrap}.guang-detail-page .related-info{margin-top:0.75rem}.guang-detail-page .related-info h2{margin:0 0.725rem;background:#fff;border:1px solid #e0e0e0;border-bottom:none;line-height:1.8rem;font-size:0.75rem;color:#b0b0b0;text-align:center}.guang-detail-page .related-info .info-list{background:#fff;padding-bottom:0.75rem;border-top:1px solid #e0e0e0}.guang-detail-page .related-info li{padding-top:0.75rem;margin-bottom:0.25rem}.guang-detail-page .related-info li a{display:block}.guang-detail-page .related-info li img{float:left;margin-left:0.75rem;width:4.55rem;height:2.85rem}.guang-detail-page .related-info li img.square{height:4.55rem}.guang-detail-page .related-info .title,.guang-detail-page .related-info .publish-time{float:left;width:9rem;margin-left:0.75rem;line-height:1rem;color:#444;font-size:0.7rem}.guang-detail-page .related-info .publish-time{font-size:0.45rem;margin-top:0;color:#b0b0b0}.guang-detail-page .related-info .publish-time .iconfont{font-size:0.45rem}.header-download{position:relative;height:5.3rem;padding:1.2rem 0 0;overflow:hidden}.header-download .download-bg{position:absolute;left:0;top:0;width:100%;z-index:-1}.header-download .yoho-logo{height:1.425rem;background:url('../../../img/app-logo.png?1445571430') no-repeat center center;background-size:auto 100%}.header-download p{line-height:1.2rem;font-size:0.7rem;color:#fff;text-align:center}.header-download .download-btn{display:block;margin:0.45rem auto 0;width:7.35rem;height:1.6rem;line-height:1.6rem;border:0.075rem solid #fff;font-size:0.9rem;text-align:center;color:#fff}.header-download .close-btn{position:absolute;top:0.425rem;right:0.325rem;width:1.25rem;height:1.25rem;background:url('../../../img/close-icon.png?1445571430');background-size:100% 100%}.banner-top{position:relative}.banner-top .swiper-pagination{position:absolute;left:0;right:0;bottom:0.5rem;text-align:center}.banner-top .swiper-pagination .pagination-inner{display:inline-block}.banner-top .swiper-pagination .pagination-inner span{display:inline-block;width:0.35rem;height:0.35rem;background:#fff;opacity:0.5;margin:0 0.225rem;border-radius:50%}.banner-top .swiper-pagination .pagination-inner span.swiper-active-switch{opacity:1}.banner-swiper{height:7.725rem;overflow:hidden}.banner-swiper ul{position:relative;height:100%}.banner-swiper ul li{float:left;height:100%}.banner-swiper ul li img{width:100%;height:100%}.banner-center{margin:0.75rem 0 0;height:5rem;overflow:hidden}.banner-center img{display:block;width:100%;height:100%}.banner-bottom{margin:0.75rem 0 0;height:4rem;overflow:hidden}.banner-bottom img{display:block;width:100%}.side-nav{display:none;background:#fff;position:fixed;top:0;right:2.5rem;bottom:0;left:0;z-index:1;overflow:hidden}.side-nav ul{background:#f0f0f0}.side-nav li{position:relative;height:3.2rem;line-height:3.2rem;border-bottom:1px solid #e0e0e0;background:#fff}.side-nav li a{display:block;height:100%;padding-left:2.75rem;color:#444;font-size:0.6rem}.side-nav li .nav-icon,.side-nav li .nav-img{position:absolute;width:1.5rem;height:1.5rem;top:50%;margin-top:-0.75rem;left:0.6rem}.side-nav li .enter-subnav{position:absolute;right:0.75rem;top:0;bottom:0;font-size:0.9rem;color:#b0b0b0;font-weight:lighter}.side-nav li em{margin-right:0.25rem;font-weight:bold;font-size:0.85rem}.side-nav li.boys i{background:url('../../../img/side-nav/boys.png?1445571430') no-repeat left center;background-size:100% 100%}.side-nav li.girls i{background:url('../../../img/side-nav/girls.png?1445571430') no-repeat left center;background-size:100% 100%}.side-nav li.kids i{background:url('../../../img/side-nav/kids.png?1445571430') no-repeat left center;background-size:100% 100%}.side-nav li.life i{background:url('../../../img/side-nav/life.png?1445571430') no-repeat left center;background-size:100% 100%}.side-nav li.new{margin:0.475rem 0 0;border-top:1px solid #e0e0e0}.side-nav li.new i{background:url('../../../img/side-nav/new.png?1445571430') no-repeat left center;background-size:100% 100%}.side-nav li.guang .nav-icon,.side-nav li.trendfinder .nav-icon{background:url('../../../img/side-nav/guang.png?1445571430') no-repeat left center;background-size:100% 100%}.side-nav.on{display:block}.sub-nav{position:fixed;top:0;right:2.5rem;left:0;bottom:0;background:#fff !important;z-index:2;-moz-transform:translateX(100%);-ms-transform:translateX(100%);-webkit-transform:translateX(100%);transform:translateX(100%);-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.sub-nav li{height:2.725rem;line-height:2.725rem;border:none}.sub-nav li a{position:relative;display:block;margin:0 0 0 0.75rem;padding-left:1.25rem;border-bottom:1px solid #e0e0e0;font-size:0.9rem;z-index:2}.sub-nav li .nav-point{position:absolute;left:0rem;font-size:0.4rem;color:#f0f0f0}.sub-nav li em{font-weight:normal;font-size:0.9rem}.sub-nav li:hover .nav-point,.sub-nav li.current .nav-point{color:#3e3e3e}.sub-nav li:first-child{height:2.2rem;line-height:2.2rem;background:#3e3e3e}.sub-nav li:first-child a{color:#fff;border-bottom:none;padding-left:2.75rem}.sub-nav li:first-child .nav-back{position:absolute;left:0}.sub-nav.show{-moz-transform:translateX(0);-ms-transform:translateX(0);-webkit-transform:translateX(0);transform:translateX(0);-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.floor-header{margin:0.725rem 0.75rem 0;background:#fff;border:1px solid #e0e0e0;border-bottom:none;height:1.75rem;line-height:1.75rem;text-align:center;font-size:0.75rem;color:#b1b1b1}.floor-header-more{position:relative;height:2.475rem;line-height:2.475rem;margin:0.725rem 0 0;background:#fff;border-top:1px solid #e0e0e0;text-align:center;font-size:0.8rem;color:#444}.floor-header-more .more-btn{position:absolute;right:0.75rem;top:0;bottom:0;color:#b0b0b0}.hot-brands{background:#fff;border-bottom:1px solid #e0e0e0}.hot-brands a{display:block;text-decoration:none;height:100%}.hot-brands .brand{float:left;width:3.95rem;height:4.35rem;border-right:1px solid #e0e0e0;border-top:1px solid #e0e0e0;overflow:hidden}.hot-brands .brand .brand-logo{width:100%;height:3.2rem;line-height:3.2rem;text-align:center;font-size:0}.hot-brands .brand .brand-logo img{vertical-align:middle;max-width:100%;max-height:100%}.hot-brands .brand .brand-name{line-height:1.1rem;font-size:0.45rem;color:#babac2;text-align:center;text-decoration:none;border-bottom:none;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap}.hot-brands .brand:nth-child(5n){border-right:none}.hot-brands .more{float:left;width:7.925rem;height:4.35rem;border-top:1px solid #e0e0e0}.hot-brands .more a{display:block;width:100%;height:100%;background:url('../../../img/more-brand.png?1445571430') no-repeat;background-size:100% 100%}.brands-swiper{background:#fff;width:100%;height:3.5rem;margin-bottom:0.7rem;overflow:hidden}.brands-swiper .brands-list{position:relative;height:3.5rem}.brands-swiper .brands-list li{float:left;padding-left:5%;width:21.875%;height:3.5rem;border-top:1px solid #e0e0e0}.brands-swiper .brands-list li a{position:relative;display:block;width:100%;height:100%;line-height:3.5rem;font-size:0}.brands-swiper .brands-list li img{max-width:100%;max-height:100%;vertical-align:middle}.brands-swiper .brands-list li .brands-title{position:absolute;left:0.2rem;right:0.2rem;bottom:0.2rem;height:0.7rem;line-height:0.7rem;text-align:center;font-size:0.45rem;color:#444;background:rgba(255,255,255,0.5);overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap}.fine-brands{background:#fff;border-top:1px solid #e0e0e0}.fine-brands a{display:block;text-decoration:none}.fine-brands .brand{float:left;width:3.95rem;height:4.35rem;border-right:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.fine-brands .brand .brand-logo{display:table-cell;width:3.95rem;height:3.25rem;vertical-align:middle}.fine-brands .brand .brand-logo img{display:block;max-width:3.95rem;max-height:3.25rem;vertical-align:middle;margin:0 auto}.fine-brands .brand .brand-name{line-height:1.1rem;font-size:0.45rem;color:#babac2;text-align:center;text-decoration:none;border-bottom:none;overflow:hidden}.fine-brands .brand:nth-child(4n){border-right:none}.creative-life{background:#fff}.creative-life .banner{display:block}.creative-life .banner img{width:100%;height:10.1rem}.creative-life .classify-list>li{float:left;width:5.3rem;height:4.8rem;border-bottom:1px solid #e0e0e0;border-right:1px solid #e0e0e0}.creative-life .classify-logo{display:table-cell;width:5.3rem;height:3.5rem;vertical-align:middle}.creative-life .classify-logo img{display:block;max-width:5.3rem;max-height:3.5rem;vertical-align:middle;margin:0 auto}.creative-life .classify-name{line-height:1.3rem;font-size:0.65rem;color:#000;text-align:center;text-decoration:none;border-bottom:none;overflow:hidden}.creative-life .classify:nth-child(3n){border-right:0}.plus-star img{display:block;width:100%;height:4.95rem}.maybe-like{background:#fff;padding-left:0.375rem;border-top:1px solid #ccc;border-bottom:1px solid #ccc;margin-top:0.75rem}.maybe-like .title{height:2.6rem;line-height:2.6rem;text-align:center;color:#dadada}.maybe-like .icon{display:inline-block;height:0.775rem;width:0.775rem;background:url('../../../img/up-icon.png?1445571430') no-repeat;background-size:100% 100%}.maybe-like .maybe-like-nav{width:100%;height:1.5rem;padding:0.25rem 0;background-color:#fff}.maybe-like .maybe-like-nav-item{box-sizing:border-box;float:left;width:50%;height:1.5rem;line-height:1.5rem;text-align:center;color:#ccc;border-right:1px solid #ccc}.maybe-like .maybe-like-nav-item.focus{color:#000}.maybe-like .load-more-info{width:100%;height:14.25rem;line-height:1.75rem;text-align:center;font-size:14px;overflow:hidden}.maybe-like .load-more-info .status.hide{display:none}.icons-wrapper{box-sizing:border-box;padding:0.75rem 0 0.4rem;background:#fff;border-bottom:1px solid #e0e0e0}.icons-item{float:left;margin-bottom:0.25rem;width:25%;height:3.65rem;text-align:center}.imagebar{margin:0 auto;display:flex;display:-webkit-flex;width:2.45rem;height:2.45rem;overflow:hidden;align-items:center;justify-content:center}.imagebar img{max-width:100%;max-height:100%}.linkbar{display:block;line-height:1.1rem;font-size:0.6rem;color:#444}.trend-coll-wrapper{background:#fff;height:16.125rem;border-bottom:1px solid #e0e0e0}.trend-coll-header{position:relative;widows:100%}.trend-coll-header .trend-coll-title{width:100%;height:2.5rem;line-height:2.5rem;text-align:center;font-size:0.85rem;color:#747474}.trend-coll-header .more{position:absolute;right:0.6rem;top:0.5rem}.trend-coll-content{padding:0 0.375rem}.trend-coll-content .lspan{float:left;margin:0 0.375rem}.trend-coll-content .rspan{float:right;margin:0 0.375rem}.lspanimg{display:block;float:right;width:6.875rem;height:6.875rem}.rspanimg{display:block;float:right;width:6.875rem;height:6.875rem}.trend-coll-tail{box-sizing:border-box;width:100%;height:6.675rem;clear:both}.recommend-title{widows:100%;height:2.5rem;line-height:2.5rem;text-align:center;font-size:0.85rem}.recommend-swiper{width:100%;height:3.5rem;overflow:hidden}.recommend-list{position:relative}.recommend-list .recommend-item{float:left;padding-left:0.75rem;width:3.5rem;height:3.5rem}.recommend-list .recommend-item a{display:block;width:100%;height:100%}.recommend-list .recommend-item a img{width:100%;height:100%}.trend-topic-wrapper{background:#fff}.trend-topic-content{position:relative;width:100%;border-bottom:1px solid #e0e0e0}.trend-topic-content .swiper-pagination{position:absolute;left:0;right:0;bottom:0.55rem;text-align:center}.trend-topic-content .swiper-pagination .pagination-inner{display:inline-block}.trend-topic-content .swiper-pagination span{float:left;width:0.4rem;height:0.4rem;margin:0 0.2rem;background:#efefef;border-radius:50%}.trend-topic-content .swiper-pagination span.swiper-active-switch{background:#b0b0b0}.trend-topic-swiper{height:13.35rem;overflow:hidden}.trend-topic-swiper ul{position:relative}.trend-topic-swiper ul li{float:left;height:13.35rem}.trend-topic-swiper ul li .img-box{display:flex;display:-webkit-flex;height:9rem;margin:0 0.75rem;align-items:center;justify-content:center}.trend-topic-swiper ul li .img-box img{max-width:100%;max-height:100%}.trend-topic-swiper ul li .item-content{margin:0.5rem 0.75rem 0}.trend-topic-swiper ul li .item-content .title{line-height:1.3rem;font-size:0.75rem;color:#000}.trend-topic-swiper ul li .item-content .time{margin:0.4rem 0 0;line-height:0.6rem;color:#afafaf;font-size:0.45rem}.trend-topic-swiper ul li .item-content .time .time-icon{margin-right:0.2rem;font-size:0.35rem}.category-swiper{position:relative;height:10.075rem;overflow:hidden}.category-swiper ul li{float:left;width:100%}.category-swiper ul li a,.category-swiper ul li img{display:block;width:100%;height:100%}.category-swiper .swiper-pagination{position:absolute;left:0;right:0;bottom:0.5rem;text-align:center}.category-swiper .swiper-pagination .pagination-inner{display:inline-block}.category-swiper .swiper-pagination .pagination-inner span{display:inline-block;width:0.35rem;height:0.35rem;background:#fff;opacity:0.5;margin:0 0.225rem;border-radius:50%}.category-swiper .swiper-pagination .pagination-inner span.swiper-active-switch{opacity:1}.goods-category .category-list{background:#f5f7f6;height:9.575rem}.goods-category .category-list li{float:left;width:4.775rem;height:4.525rem;padding:0.25rem 0 0;border-left:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.goods-category .category-list li .first-show{display:none}.goods-category .category-list li .img-box{display:flex;display:-webkit-flex;height:3.5rem;align-items:center;justify-content:center}.goods-category .category-list li .img-box img{max-width:100%;max-height:100%}.goods-category .category-list li .category-name{line-height:0.8rem;font-size:0.5rem;color:#444;text-align:center}.goods-category .category-list li:first-child{width:6.325rem;height:8.375rem;border-left:none;padding:1.2rem 0 0 0}.goods-category .category-list li:first-child .first-show{display:block;line-height:1.1rem;font-size:0.75rem;color:#444;text-align:center}.goods-category .category-list li:first-child .img-box{height:5.5rem}.goods-category .category-list li:first-child .category-name{line-height:1rem;font-size:0.55rem}.hot-category{margin:0.75rem 0 0;border-top:1px solid #e0e0e0}.hot-category .category-banner{height:4.95rem}.hot-category .category-banner img{display:block;width:100%;height:100%}.hot-category .category-list{background:#fff;border-top:1px solid #e0e0e0}.hot-category .category-list li{float:left;width:3.95rem;height:4.35rem;border-bottom:1px solid #e0e0e0;border-left:1px solid #e0e0e0}.hot-category .category-list li .img-box{width:100%;height:3.45rem;text-align:center;vertical-align:middle}.hot-category .category-list li .img-box img{max-width:100%;max-height:100%;vertical-align:middle}.home-header{height:2.2rem;line-height:2.2rem;background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMyMzIzMiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzQxNDE0MSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background-size:100%;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #323232),color-stop(100%, #414141));background-image:-moz-linear-gradient(#323232,#414141);background-image:-webkit-linear-gradient(#323232,#414141);background-image:linear-gradient(#323232,#414141);position:relative}.home-header .iconfont{color:#fff}.home-header .nav-btn{position:absolute;left:0.8rem;top:0;bottom:0;z-index:2}.home-header .logo{display:block;margin:0 auto;width:5.2rem;height:2.175rem;background:url('../../../img/yohologo02.png?1445571430') no-repeat center center;background-size:100%}.home-header .logo.animate{background:url('../../../img/yohologo01.png?1445571430') no-repeat center center;background-size:100%}.home-header .search-btn{position:absolute;right:0.8rem;top:0;bottom:0}.home-header .search-btn a{color:#fff}.girls-wrap .home-header{background:#FF88AE}.kids-wrap .logo{font-style:italic;font-family:"helvetica","Arial","榛戜綋";font-weight:bold;color:#fff}.mobile-container{width:100%;overflow:hidden}.mobile-wrap{position:relative;z-index:2;background:#f0f0f0;-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.mobile-wrap.menu-open{-moz-transform:translateX(13.5rem);-ms-transform:translateX(13.5rem);-webkit-transform:translateX(13.5rem);transform:translateX(13.5rem);-moz-transition:-moz-transform 0.3s;-o-transition:-o-transform 0.3s;-webkit-transition:-webkit-transform 0.3s;transition:transform 0.3s}.overlay{display:none;position:absolute;top:0;left:0;right:0;bottom:0;background:#000;opacity:0.3;z-index:99}.overlay.show{display:block}.brand-page .newbrand-search{width:93.75%;height:30px;padding:7px 3.125%;background-color:#f8f8f8;left:0;z-index:10}.brand-page .newbrand-search .search-box{position:relative;height:30px;background-color:#FFF;border-radius:15px;padding:0 16px 0 26px}.brand-page .newbrand-search .search-box .search-input{width:100%;height:30px;border:0}.brand-page .newbrand-search .search-box .search-icon{position:absolute;font-size:12px;top:16px;left:24px}.brand-page .hot-brand{margin:0.75rem 0 0}.brand-page .hot-brand .hot-brand-list{background:#fff}.brand-page .hot-brand .hot-brand-list li{float:left;width:3.95rem;height:3.95rem}.brand-page .hot-brand .hot-brand-list li .img-box{width:100%;height:100%}.brand-page .brand-list{width:100%}.brand-page .brand-list .title-bar{width:100%;background:#eeeeee;color:#999999;font-weight:bold;position:relative}.brand-page .brand-list .title-bar h2{width:100%;height:25px;line-height:25px;font-size:17px;border-top:1px solid #e6e6e6;background-color:#f4f4f4}.brand-page .brand-list p{cursor:pointer;height:25px;padding-right:10px}.brand-page .brand-list p a{display:block;font-size:17px;border-bottom:1px solid #f3f3f3;border-top:1px solid #f9f9f9}.brand-page .brand-list p a i{position:relative;top:1px;color:#ff0000;padding-left:16px}.brand-page .right-bar{width:30px;top:120px !important;overflow:hidden;position:fixed;right:1px;border-radius:6px;background:rgba(0,0,0,0.8);z-index:2}.brand-page .right-bar b{height:16px;line-height:14px;text-align:center;display:block;color:#999999;font-weight:bold}.brand-page .con{padding-top:5px}.category-page{font-size:0.75rem}.category-page .search-input{position:relative;background-color:#f8f8f8;padding:0.325rem 0.5rem}.category-page .search-input p{box-sizing:border-box;width:100%;height:1.5rem;line-height:1.5rem;border:none;padding-left:1.325rem;border-radius:1.5rem;font-size:0.75rem;background:#fff;color:#999}.category-page .search-icon{position:absolute;top:0;bottom:0;left:1.075rem;line-height:2.15rem;color:#999}.category-page .category-nav{height:1.775rem;border-bottom:1px solid #e6e6e6}.category-page .category-nav li{display:block;box-sizing:border-box;float:left;height:100%;line-height:1.775rem;width:25%;text-align:center;border-right:1px solid #e6e6e6;color:#999}.category-page .category-nav li:last-child{border-right:none}.category-page .category-nav li.focus{color:#000}.category-page .content.hide{display:none}.category-page .primary-level{float:left;box-sizing:border-box;width:40%;background:#f8f8f8}.category-page .primary-level>li{height:1.725rem;line-height:1.725rem;padding-left:0.8rem}.category-page .primary-level>li.focus{background-color:#fff}.category-page .sub-level-container{float:left;box-sizing:border-box;padding-left:0.5rem;background:#fff;width:60%}.category-page .sub-level{width:100%}.category-page .sub-level.hide{display:none}.category-page .sub-level>li{height:1.775rem;line-height:1.775rem;border-bottom:1px solid #e6e6e6}.category-page .sub-level>li:last-child{border-bottom:none}.newarrival-page{background-color:#f0f0f0}.newarrival-page .swiper-container{width:100%;height:7.75rem}.newarrival-page .swiper-container img{height:100%;width:100%}.newarrival-page .swiper-container .swiper-pagination{bottom:0;left:0;width:100%}.newarrival-page .swiper-container .swiper-pagination-bullet-active{background:#fff}.newarrival-page .newarrival-nav{width:100%;height:1.5rem;padding:0.25rem 0;background-color:#fff}.newarrival-page .newarrival-nav-item{box-sizing:border-box;float:left;width:33.333333%;height:1.5rem;line-height:1.5rem;text-align:center;color:#ccc;border-right:1px solid #ccc}.newarrival-page .newarrival-nav-item.focus{color:#000}.newarrival-page .goods-list.hide{display:none}.discount-page{background-color:#f0f0f0}.discount-page .swiper-container{width:100%;height:7.75rem}.discount-page .swiper-container img{height:100%;width:100%}.discount-page .swiper-container .swiper-pagination{bottom:0;left:0;width:100%}.discount-page .swiper-container .swiper-pagination-bullet-active{background:#fff}.discount-page .discount-nav{width:100%;height:1.5rem;padding:0.25rem 0;background-color:#fff}.discount-page .discount-nav-item{box-sizing:border-box;float:left;width:25%;height:1.5rem;line-height:1.5rem;text-align:center;color:#ccc;border-right:1px solid #ccc}.discount-page .discount-nav-item.focus{color:#000}.discount-page .goods-list.hide{display:none}.good-list-page .search-input{position:relative;padding:7px 46px 7px 15px;background:#f8f8f8}.good-list-page .search-input .search-icon{position:absolute;font-size:12px;top:16px;left:24px}.good-list-page .search-input input{height:30px;width:100%;border-radius:15px;text-indent:26px;background:#fff;border:none}.good-list-page .search-input .clear-input{position:absolute;top:12px;right:50px}.good-list-page .search-input .search{position:absolute;top:12px;right:0;border:none;background:transparent;font-size:16px}.good-list-page .brand-way{padding-bottom:10px;background:#f4f4f4}.good-list-page .brand-way>a{display:block;height:40px;line-height:40px;padding:0 10px;border-bottom:1px solid #e6e6e6;border-top:1px solid #e6e6e6;font-size:17px;background:#fff}.good-list-page .brand-way .brand-thumb{display:block;float:left;width:75px;height:40px;margin:0}.good-list-page .brand-way .entry{color:#999;font-size:14px;float:right}.good-list-page .brand-header{position:relative;height:3.75rem}.good-list-page .brand-header>img{display:block;height:100%}.good-list-page .btn-intro,.good-list-page .btn-col{position:absolute;display:block;width:62px;height:24px;line-height:24px;text-align:center;border:1px solid #fff;color:#fff;top:50%;margin-top:-12px}.good-list-page .btn-intro{right:90px}.good-list-page .btn-col{right:15px}.good-list-page .btn-col .iconfont{font-size:12px}.good-list-page .brand-intro-box{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.3);padding:44px 0;z-index:1;overflow:auto}.good-list-page .brand-intro-box .brand-intro{position:relative;box-sizing:border-box;width:85%;margin:0 7.5%;background:#fff;padding:10px 8%}.good-list-page .brand-intro-box h2{text-align:center;font-size:17px;line-height:40px}.good-list-page .brand-intro-box .con{font-size:12px;line-height:16px;padding:20px 0;border-top:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6;overflow-x:hidden}.good-list-page .brand-intro-box .fo{font-size:18px;height:40px;line-height:40px;text-align:center}.good-list-page .brand-intro-box .close-intro{position:absolute;top:6px;right:6px}.good-list-page .list-nav>li{float:left;width:25%;height:33px;line-height:33px;text-align:center;font-size:14px}.good-list-page .list-nav a{display:block;box-sizing:border-box;width:100%;height:100%;color:#999}.good-list-page .list-nav .active>a{border-bottom:2px solid #000;color:#000}.good-list-page .list-nav .active>a .iconfont{color:#999}.good-list-page .list-nav .active>a .iconfont.cur{color:#000}.good-list-page .list-nav .new .iconfont{-moz-transform:scale(0.8, 0.8);-ms-transform:scale(0.8, 0.8);-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8);font-weight:bold}.good-list-page .list-nav .filter .iconfont{font-size:12px;-moz-transition:-moz-transform ease-in;-o-transition:-o-transform ease-in;-webkit-transition:-webkit-transform ease-in;transition:transform ease-in}.good-list-page .list-nav .filter.active .iconfont{-moz-transform:rotate(-180deg);-ms-transform:rotate(-180deg);-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.good-list-page .list-nav .icon{position:relative}.good-list-page .list-nav .icon i{position:absolute;-moz-transform:scale(0.8, 0.8);-ms-transform:scale(0.8, 0.8);-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8);font-weight:bold}.good-list-page .list-nav .icon .up{top:-11px}.good-list-page .list-nav .icon .down{top:-4px}.good-list-page .no-result{text-align:center;vertical-align:middle;color:#ccc;font-size:1.2em;margin-top:220px}.good-list-page .goods-container{position:relative;min-height:440px}.good-detail-page .banner-top{height:16.5rem;overflow:hidden;position:relative}.good-detail-page .banner-top .swiper-pagination{position:absolute;left:0;right:0;bottom:1rem;text-align:center}.good-detail-page .banner-top .swiper-pagination .pagination-inner{display:inline-block}.good-detail-page .banner-top .swiper-pagination .pagination-inner span{display:inline-block;width:0.35rem;height:0.35rem;background:#fff;opacity:0.5;margin:0 0.225rem;border-radius:50%}.good-detail-page .banner-top .swiper-pagination .pagination-inner span.swiper-active-switch{opacity:1}.good-detail-page .banner-top .swiper-pagination .pagination-inner .swiper-pagination-bullet-active{background-color:#000000}.good-detail-page .banner-swiper{height:15rem;width:11.2rem;margin:0.75rem 2.4rem;position:relative;overflow:hidden}.good-detail-page .banner-swiper ul{position:relative;height:100%}.good-detail-page .banner-swiper ul li{float:left;height:100%}.good-detail-page .detailName{font-size:0.7rem;color:#222222;padding-bottom:6px;text-align:center}.good-detail-page .detailTitle{font-size:0.9rem;text-align:center;padding-bottom:2px;font-weight:bold}.good-detail-page .vipLevel{color:#999999;text-align:center;padding-bottom:15px}.good-detail-page .detailToBuy{padding:0 10px;margin-bottom:20px;text-align:center;overflow:hidden}.good-detail-page .detailToBuy .AddFavorite{background-color:#cccccc;width:2.75rem;height:2.5rem;line-height:2.5rem;font-size:1.7em;color:white;margin-right:0.5rem;overflow:hidden;float:left !important}.good-detail-page .detailToBuy .toBuyNow{height:50px;line-height:50px;color:white;display:block;margin-left:2.4em;font-size:1.84em;overflow:hidden;font-weight:bold;background-color:#ed0010}.good-detail-page .discountNotice{margin-bottom:20px}.good-detail-page .discountNotice p{height:44px;line-height:44px;padding:0 10px;margin-bottom:1px;font-size:12px;background-color:#eeeeee}.good-detail-page .detailToShop{margin:0 10px 20px;padding:10px;height:47px;line-height:47px;overflow:hidden;background-color:#eee}.good-detail-page .detailToShop .fz14{font-size:1.2em;float:right !important}.good-detail-page .detailSize{padding:0 10px;margin-bottom:20px}.good-detail-page .detailSize h3{text-align:center;font-size:1.3em;margin-bottom:5px}.good-detail-page .detailSize h3 span{font-size:0.6em;display:block;text-transform:uppercase}.good-detail-page .detailSize table{background-color:white;width:100%}.good-detail-page .detailSize td{text-align:left;padding:0.4em 0.8em;border:1px solid white;background-color:#eee;font-size:1em}.good-detail-page .detail-img{padding:0 10px;margin-bottom:10px}.index-page{width:100%;overflow:hidden;margin:0 auto}.index-page .index-container{position:relative;-moz-transition:-moz-transform 0.5s;-o-transition:-o-transform 0.5s;-webkit-transition:-webkit-transform 0.5s;transition:transform 0.5s;background-color:white}.index-page .index-container .index_header{height:2rem;line-height:2rem;overflow:hidden;padding:0 0.25rem}.index-page .index-container .index-channel{color:#FFF;text-align:center;position:relative;background-color:#000000}.index-page .index-container .index-channel .index-channel-list{padding-top:50%;width:100%;position:absolute;top:0}.index-page .index-container .index-channel .index-channel-list .homestyle{margin-bottom:1.25rem;width:7.1825rem}.search-page .search-input{position:relative;padding:7px 46px 7px 15px;background:#f8f8f8}.search-page .search-input .search-icon{position:absolute;font-size:12px;top:16px;left:24px}.search-page .search-input input{height:30px;width:100%;border-radius:15px;text-indent:26px;background:#fff;border:none}.search-page .search-input .clear-input{position:absolute;top:12px;right:50px}.search-page .search-input .search{position:absolute;top:12px;right:0;border:none;background:transparent;font-size:16px}.search-page .search-items{padding:20px 10px}.search-page .search-items h3{font-size:12px;margin-bottom:10px}.search-page .search-items li{float:left;height:34px;line-height:34px;font-size:14px;height:34px;line-height:34px;margin-right:10px;margin-bottom:10px;padding:0 10px;background:#f8f8f8;color:#000}.search-page .search-items .clear-history{height:32px;line-height:32px;border:1px solid #e6e6e6;background:#fff;font-size:14px}.shopping-cart-good{position:relative;padding-left:0.4rem}.shopping-cart-good .checkbox{position:absolute;top:50%;margin-top:-0.35rem;font-size:0.7rem;color:#f0f0f0}.shopping-cart-good .checkbox.icon-cb-checked{color:#000}.shopping-cart-good .info{float:left;margin-left:1.25rem;padding:0.4rem 0;border-bottom:1px solid #e0e0e0}.shopping-cart-good .thumb{float:left;width:3rem;height:4rem}.shopping-cart-good .deps{margin-left:3.375rem;padding-right:0.5rem}.shopping-cart-good .name{font-size:0.7rem}.shopping-cart-good .row:nth-child(2){font-size:0.55rem;height:1.125rem;line-height:1.125rem}.shopping-cart-good .row:nth-child(2)>span{margin-right:0.375rem}.shopping-cart-good .row:nth-child(3){position:relative}.shopping-cart-good .color,.shopping-cart-good .size{color:#b6b6b6}.shopping-cart-good .appear-date{color:#e01}.shopping-cart-good .price{font-size:0.6rem;color:#000}.shopping-cart-good .count{font-size:0.5rem;color:#999;margin-left:0.55rem}.shopping-cart-good .sold-out,.shopping-cart-good .low-stocks{display:inline-block;width:2.5rem;height:0.75rem;line-height:0.75rem;font-size:0.55rem;border:none;color:#fff;text-align:center;margin-left:0.4rem}.shopping-cart-good .sold-out{background:#999}.shopping-cart-good .low-stocks{background:#e01}.shopping-cart-good .icon-del,.shopping-cart-good .icon-edit{position:absolute;color:#ccc;font-size:0.75rem}.shopping-cart-good .icon-del{right:0.35rem}.shopping-cart-good .icon-edit{right:1.8rem}.shopping-cart-good .opt-panel{position:absolute;width:5.5rem;height:4.75rem;right:0;color:#fff}.shopping-cart-good .opt-panel>div{float:left;box-sizing:border-box;width:2.75rem;height:100%;text-align:center;padding:1rem 0.5rem 0;font-size:15px}.shopping-cart-good .opt-panel span{display:block}.shopping-cart-good .opt-panel .put-in-favorite{background:#bbb}.shopping-cart-good .opt-panel .del{background:#999}.shopping-cart-good .opt-panel .del .iconfont{margin-bottom:0.5rem}.chose-panel{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,0.3)}.chose-panel .main{position:absolute;height:15.25rem;bottom:0;left:0;right:0;background:#fff}.chose-panel .infos{height:11.5rem;padding:0 0.55rem;padding-top:0.75rem}.chose-panel .chose-items{height:8.125rem;overflow:auto}.chose-panel .basic-info{margin-bottom:0.75rem}.chose-panel .thumb{float:left;width:2rem;height:2.65rem}.chose-panel .text-info{margin-left:2.55rem}.chose-panel .text-info .name{font-size:0.7rem}.chose-panel .text-info .sale-price{color:#e10}.chose-panel .text-info .sale-price.no-price{color:#000}.chose-panel .text-info .market-price{color:#b0b0b0;text-decoration:line-through}.chose-panel .color-list,.chose-panel .size-list,.chose-panel .num{position:relative;font-size:0.7rem;padding-left:2rem}.chose-panel .color-list>span,.chose-panel .size-list>span,.chose-panel .num>span{position:absolute;left:0;top:0.5rem}.chose-panel .block{float:left;display:block;width:2rem;height:2rem;border:1px solid #000;margin-right:0.75rem;margin-bottom:0.75rem;line-height:2rem;text-align:center}.chose-panel .block.chosed{border-color:#e10;background:url('../../../img/shopping-cart/right.png?1445571430') no-repeat;background-size:0.95rem;background-position:bottom right;color:#e10}.chose-panel .num{margin-bottom:0.5rem}.chose-panel .num .btn{float:left;display:block;height:2rem;width:2rem;text-align:center;line-height:2rem;border:1px solid #e6e6e6}.chose-panel .num .btn.disable{color:#e6e6e6}.chose-panel .good-num{float:left;width:2.65rem;height:2rem;line-height:2rem;padding:0;border:none;border-top:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6;text-align:center}.chose-panel .btn-wrap{height:3rem;border-top:1px solid #e6e6e6;padding:0.5rem;text-align:center;box-sizing:border-box}.chose-panel .btn-wrap .btn-sure{width:6.5rem;height:2rem;background:#e10;color:#fff;font-size:0.8rem;border:none}.gift-advance-page .gift-advance-good{position:relative;padding:0.5rem 0;margin-left:0.85rem;height:4rem;border-bottom:1px solid #e0e0e0}.gift-advance-page .gift-advance-good:last-child{border-bottom:none}.gift-advance-page .advance-block .gift-advance-good:last-child{border-bottom:none}.gift-advance-page .advance-block:last-child .gift-advance-good:last-child{border-bottom:1px solid #e0e0e0}.gift-advance-page .thumb-wrap{position:relative;float:left;width:3rem;height:4rem}.gift-advance-page .thumb-wrap .thumb{width:100%;height:100%}.gift-advance-page .tag{position:absolute;bottom:0;left:0;right:0;height:0.625rem;color:#fff;text-align:center;background:#a1ce4e}.gift-advance-page .tag:before{content:'赠品'}.gift-advance-page .deps{margin-left:3.375rem}.gift-advance-page .name{font-size:0.7rem}.gift-advance-page .row:nth-child(2){font-size:0.55rem;height:1.125rem;line-height:1.125rem}.gift-advance-page .row:nth-child(2)>span{margin-right:0.375rem}.gift-advance-page .row:nth-child(3){position:relative}.gift-advance-page .color,.gift-advance-page .size{color:#b6b6b6}.gift-advance-page .price{font-size:0.6rem;color:#000}.gift-advance-page .count{font-size:0.5rem;color:#999;margin-left:0.55rem}.gift-advance-page .chose{position:absolute;width:2.2rem;height:1.45rem;background:#f8f8f8;border:1px solid #ccc;right:0.5rem;top:1.775rem;font-size:0.65rem}.gift-advance-page .title{height:1.25rem;line-height:1.25rem;padding-left:0.5rem;font-size:0.6rem;background:#f8f8f8}.gift-advance-page .advance-block .tag{background:#eb76aa}.gift-advance-page .advance-block .tag:before{content:'加价购'}.icon-checkbox:before{content:"\e61c"}.icon-cb-checked:before{content:"\e61d"}.shopping-cart-page{padding-bottom:3rem}.shopping-cart-page .cart-nav{height:0.75rem;color:#c6c6c6;border-bottom:1px solid #e0e0e0;padding:0.75rem 0}.shopping-cart-page .cart-nav li{float:left;width:50%}.shopping-cart-page .cart-nav li.active{color:#000}.shopping-cart-page .cart-nav span{display:block;box-sizing:border-box;width:100%;height:0.75rem;line-height:0.75rem;font-size:0.75rem;text-align:center}.shopping-cart-page .cart-nav li:first-child span{border-right:1px solid #e0e0e0}.shopping-cart-page .login-info{height:1.15rem;padding:0.425rem 0.5rem;color:#24acaa;text-align:center;font-size:0.7rem}.shopping-cart-page .login-info .btn{display:inline-block;background:#ed0010;color:#fff;width:2rem;height:1.15rem;line-height:1.15rem}.shopping-cart-page .presell-info{height:1.5rem;padding:0.375rem 0.75rem;font-size:0.55rem;background:#f0f0f0;color:#b7b7b7}.shopping-cart-page .presell-info>span{display:block}.shopping-cart-page .presell-info .iconfont{float:left;font-size:1.125rem}.shopping-cart-page .presell-info .txt{height:0.75rem;line-height:0.75rem;margin-left:2rem}.shopping-cart-page .cart-goods{border-bottom:1px solid #e0e0e0}.shopping-cart-page .cart-goods .shopping-cart-good:last-child .info{border-bottom:none}.shopping-cart-page .freebie-and-advance-buy{padding:0.5rem;font-size:0.6rem;border-bottom:1px solid #e0e0e0}.shopping-cart-page .freebie-and-advance-buy>li{box-sizing:border-box;height:2.25rem;line-height:2.25rem;margin-bottom:0.25rem;background:#f8f8f8;padding:0 0.5rem}.shopping-cart-page .freebie-and-advance-buy>li:last-child{margin-bottom:0}.shopping-cart-page .freebie-and-advance-buy>li a{float:right}.shopping-cart-page .freebie-and-advance-buy .count{color:#f00}.shopping-cart-page .freebie-and-advance-buy .icon-right-arrow{color:#8f8f8f}.shopping-cart-page .price-compute{padding:0.5rem;border-bottom:1px solid #e0e0e0;font-size:0.65rem}.shopping-cart-page .price-compute .title{display:inline-block;width:4.375rem}.shopping-cart-page .price-compute .minus{float:right}.shopping-cart-page .balance{position:fixed;box-sizing:border-box;bottom:0;width:100%;padding:0.5rem;height:3rem;border-top:1px solid #e0e0e0;background:#fff}.shopping-cart-page .balance .iconfont{position:absolute;top:50%;margin-top:-0.35rem;font-size:0.7rem}.shopping-cart-page .balance p{float:left;margin-left:1.25rem;font-size:0.65rem}.shopping-cart-page .balance p span{display:block;height:1rem;line-height:1rem}.shopping-cart-page .balance p .tip{color:#666;font-size:0.55rem}.shopping-cart-page .balance .btn-balance{float:right;width:3.5rem;height:2rem;line-height:2rem;text-align:center;background:#e01;color:#fff;border:none;font-size:0.7rem}
define("index",["zepto","lazyload","swiper","mlellipsis","iscroll-probe","index"],function(e,a,s){var t;e("js/common"),e("js/passport/index"),e("js/guang/index"),e("js/home/index"),e("js/product/index"),e("js/index/index"),s.exports=t}),define("js/common",["zepto"],function(e,a,s){function t(e){var a,s,t=document.cookie;return document.cookie&&""!==document.cookie&&(s=t.indexOf(e+"="),s>-1&&(s+=e.length+1,a=decodeURIComponent(l.trim(t.substring(s,t.indexOf(";",s)))))),a}function i(){var e,a=t("_UID");return"undefined"==typeof a?0:(e=a.split("::"),"undefined"==typeof e||e.length<4?0:e)}function o(){var e=i();return 0===e?0:e[1]}function n(){var e=t("_g");return"undefined"==typeof e?"":JSON.parse(e).k}var l=e("zepto");!function(){var e=l("#yoho-footer"),a=e.children(".op-row"),s=i();l("body").height()<l(window).height()&&e.addClass("bottom"),0===s?a.prepend('<a href="http://m.yohobuy.com/signin.html">登录</a><span class="sep-line">|</span><a href="http://m.yohobuy.com/reg.html">注册</a>'):a.prepend('Hi,<a class="user-name" href="http://m.yohobuy.com/home?tmp='+Math.random()+'">'+s[0]+'</a><a href="http://m.yohobuy.com/passport/signout/index?token='+s[3]+'">退出</a>'),e.removeClass("hide")}(),window.cookie=t,window.getUser=i,window.getUid=o,window.getShoppingKey=n}),define("js/passport/index",["zepto"],function(e,a,s){e("js/passport/register/register"),e("js/passport/register/code"),e("js/passport/register/password"),e("js/passport/login/login"),e("js/passport/login/international"),e("js/passport/back/mobile"),e("js/passport/back/code"),e("js/passport/back/email"),e("js/passport/back/email-success"),e("js/passport/back/new-password")}),define("js/passport/register/register",["zepto"],function(e,a,s){var t=e("zepto"),i=t("#phone-num"),o=t("#country-select"),n=t("#area-code"),l=t("#btn-next"),r=e("js/passport/api"),d=e("js/plugin/tip"),c=t.trim,p=d.show;r.selectCssHack(t("#country-select")),r.bindClearEvt(),i.bind("input",function(){""===c(i.val())?l.addClass("disable"):l.removeClass("disable")}),o.change(function(){n.text(o.val())}),l.on("touchstart",function(){var e=c(i.val()),a=o.val();l.hasClass("disable")||(r.phoneRegx[a].test(e)?t.ajax({url:"/passport/reg/verifymobile",type:"POST",data:{areaCode:a.replace("+",""),phoneNum:e},success:function(e){200===e.code?location.href=e.data:p(e.message)}}):p("手机号格式不正确,请重新输入"))})}),define("js/passport/api",["zepto"],function(e,a,s){function t(){var e,a=l(".has-eye");a.append('<div class="eye close"></div>'),e=a.children(".eye"),e.on("touchstart",function(e){var a=l(this),s=a.siblings(".pwd");e.preventDefault(),a.toggleClass("close"),a.hasClass("close")?s.attr("type","password"):s.attr("type","text"),s.focus()})}function i(){var e,a=l(".has-clear");a.append('<div class="clear-input"></div>'),e=a.children(".clear-input"),e.on("touchstart",function(a){var s=e.siblings(".input");s.val("").trigger("input").focus(),a.preventDefault()}),a.children(".input").bind("input",function(){var e=l(this),a=e.siblings(".clear-input"),s=r(e.val());""===s?a.hide():a.show()})}function o(e){return e.length>=6&&e.length<=20?!0:!1}function n(e){function a(){var a=e.find("option:selected").text().length;switch(a){case 2:e.outerWidth(90);break;case 3:e.outerWidth(110);break;default:e.outerWidth(130)}}var s=navigator.userAgent;s.match(/uc/i)&&s.match(/android/i)?e.change(function(){a()}):e.removeClass("in-android-uc")}var l=e("zepto"),r=l.trim,d=/^([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/,c={"+86":/^1[35847]{1}[0-9]{9}$/,"+852":/^[965]{1}[0-9]{7}$/,"+853":/^[0-9]{8}$/,"+886":/^[0-9]{10}$/,"+65":/^[98]{1}[0-9]{7}$/,"+60":/^1[1234679]{1}[0-9]{8}$/,"+1":/^[0-9]{10}$/,"+82":/^01[0-9]{9}$/,"+44":/^7[789][0-9]{8}$/,"+81":/^0[9|8|7][0-9]{9}$/,"+61":/^[0-9]{11}$/};s.exports={emailRegx:d,phoneRegx:c,bindEyesEvt:t,bindClearEvt:i,pwdValidate:o,selectCssHack:n}}),define("js/plugin/tip",["zepto"],function(e,a,s){function t(e,a){var s,t;"undefined"!=typeof e&&(s=e.toString(),t=a&&a>0?a:2e3,i.text(s).show(),o=setTimeout(function(){"block"===i.css("display")&&i.hide()},t))}var i,o,n=e("zepto");!function(){var e='<div id="yoho-tip" class="yoho-tip"></div>';n(".yoho-page").append(e),i=n("#yoho-tip"),i.on("touchstart",function(){i.hide(),clearTimeout(o)})}(),a.show=t}),define("js/passport/register/code",["zepto"],function(e,a,s){e("js/passport/code")(!0)}),define("js/passport/code",["zepto"],function(e,a,s){var t=e("zepto");s.exports=function(a){function s(){var e,a=59;e=setInterval(function(){0===a?(n.text("重发验证码").removeClass("disable"),clearInterval(e)):n.text("重发验证码 ("+a--+"秒)")},1e3)}var i=t("#captcha"),o=t("#btn-next"),n=t("#captcha-tip"),l=t("#phone-num").val(),r=t("#area-code").val().replace("+",""),d=e("js/passport/api"),c=e("js/plugin/tip"),p=t.trim,u=c.show,h=a?"reg":"back";d.bindClearEvt(),i.bind("input",function(){""!==p(i.val())?o.removeClass("disable"):o.addClass("disable")}),n.on("touchstart",function(){n.hasClass("disable")||t.ajax({type:"POST",url:"/passport/"+h+"/sendcode",data:{phoneNum:l,areaCode:r},success:function(e){200===e.code?(n.text("重发验证码 (60秒)").addClass("disable"),s()):u(e.message)}})}),o.on("touchstart",function(){o.hasClass("disable")||t.ajax({type:"POST",url:"/passport/"+h+"/verifycode",data:{phoneNum:l,areaCode:r,code:p(i.val()),token:t("#token").val()},success:function(e){200===e.code?location.href=e.data:u(e.message)}})}),s()}}),define("js/passport/register/password",["zepto"],function(e,a,s){var t=e("zepto"),i=t("#pwd"),o=t("#btn-sure"),n=e("js/passport/api"),l=e("js/plugin/tip"),r=t.trim,d=l.show;n.bindEyesEvt(),i.bind("input",function(){""===r(i.val())?o.addClass("disable"):o.removeClass("disable")}),o.on("touchstart",function(){var e=r(i.val());o.hasClass("disable")||(n.pwdValidate(e)===!1?d("密码6-20位,请重新输入"):t.ajax({type:"POST",url:"/passport/reg/setpassword",data:{password:e,phoneNum:t("#phone-num").val(),areaCode:t("#area-code").val(),token:t("#token").val()},success:function(e){200===e.code?(d("注册成功"),setTimeout(function(){location.href=e.data},1e3)):401===e.code||404===e.code||505===e.code?d(e.message):(d(e.message),setTimeout(function(){location.href=e.data},1e3))}}))})}),define("js/passport/login/login",["zepto"],function(e,a,s){function t(){u&&h?d.removeClass("disable"):d.addClass("disable")}function i(){c.show(),p.show()}function o(){c.hide(),p.hide()}var n=e("zepto"),l=n("#account"),r=n("#pwd"),d=n("#btn-login"),c=n("#retrive-pwd-mask"),p=n("#retrive-pwd-ways"),u=!1,h=!1,f=e("js/passport/api"),g=e("js/plugin/tip"),m=n.trim,v=g.show;f.bindEyesEvt(),f.bindClearEvt(),l.bind("input",function(){u=""!==m(l.val())?!0:!1,t()}),r.bind("input",function(){h=""===m(r.val())?!1:!0,t()}),d.on("touchstart",function(){var e=m(l.val()),a=m(r.val());d.hasClass("disable")||((/^[0-9]+$/.test(e)||f.emailRegx.test(e))&&f.pwdValidate(a)?n.ajax({type:"POST",url:"/passport/login/auth",data:{account:e,password:a},success:function(e){200===e.code?(v("登录成功"),setTimeout(function(){location.href=e.data},1e3)):v(e.message)},error:function(){v("网络断开连接啦~")}}):v("账号或密码有错误,请重新输入"))}),n("#forget-pwd").on("touchstart",function(){i()}),c.on("touchstart",function(){o()}),n("#cancel-retrive").on("touchstart",function(e){e.preventDefault(),o()}),l.trigger("input"),r.trigger("input")}),define("js/passport/login/international",["zepto"],function(e,a,s){function t(){c&&p?d.removeClass("disable"):d.addClass("disable")}var i=e("zepto"),o=i("#phone-num"),n=i("#country-select"),l=i("#area-code"),r=i("#pwd"),d=i("#btn-login"),c=!1,p=!1,u=e("js/passport/api"),h=e("js/plugin/tip"),f=i.trim,g=h.show;u.selectCssHack(n),u.bindEyesEvt(),u.bindClearEvt(),o.bind("input",function(){c=""===f(o.val())?!1:!0,t()}),r.bind("input",function(){var e=f(r.val());p=""===e?!1:!0,t()}),n.change(function(){l.text(n.val())}),d.on("touchstart",function(){var e=f(o.val()),a=n.val(),s=f(r.val());d.hasClass("disable")||(u.phoneRegx[a].test(e)&&u.pwdValidate(s)?i.ajax({type:"POST",url:"/passport/login/auth",data:{areaCode:a.replace("+",""),account:e,password:s},success:function(e){200===e.code?(g("登录成功"),setTimeout(function(){location.href=e.data},1e3)):g(e.message)},error:function(){g("网络断开连接啦~")}}):g("账号或密码有错误,请重新输入"))}),o.trigger("input"),r.trigger("input")}),define("js/passport/back/mobile",["zepto"],function(e,a,s){var t=e("zepto"),i=t("#phone-num"),o=t("#country-select"),n=t("#area-code"),l=t("#btn-next"),r=e("js/passport/api"),d=e("js/plugin/tip"),c=t.trim,p=d.show;r.selectCssHack(t("#country-select")),r.bindClearEvt(),i.bind("input",function(){""===c(i.val())?l.addClass("disable"):l.removeClass("disable")}),o.change(function(){n.text(o.val())}),l.on("touchstart",function(){var e=c(i.val()),a=o.val();l.hasClass("disable")||(r.phoneRegx[a].test(e)?t.ajax({url:"/passport/back/sendcode",type:"POST",data:{areaCode:a.replace("+",""),phoneNum:e},success:function(e){200===e.code?location.href=e.data:p(e.message)}}):p("手机号格式不正确,请重新输入"))})}),define("js/passport/back/code",["zepto"],function(e,a,s){e("js/passport/code")(!1)}),define("js/passport/back/email",["zepto"],function(e,a,s){var t=e("zepto"),i=t("#email"),o=t("#btn-sure"),n=e("js/passport/api"),l=e("js/plugin/tip"),r=t.trim,d=l.show;n.bindClearEvt(),i.bind("input",function(){""===r(i.val())?o.addClass("disable"):o.removeClass("disable")}),o.on("touchstart",function(){var e=r(i.val());o.hasClass("disable")||(n.emailRegx.test(e)?t.ajax({url:"/passport/back/sendemail",type:"POST",data:{email:e},success:function(e){200===e.code?location.href=e.data:d(e.message)}}):d("邮箱格式不正确,请重新输入"))})}),define("js/passport/back/email-success",["zepto"],function(e,a,s){var t=e("zepto"),i=t("#resend"),o=e("js/plugin/tip"),n=o.show;i.on("touchstart",function(e){e.preventDefault(),t.ajax({url:i.data("url"),type:"GET",success:function(e){n(200===e.code?e.message:e.message)}})})}),define("js/passport/back/new-password",["zepto"],function(e,a,s){var t=e("zepto"),i=t("#pwd"),o=t("#btn-ok"),n=e("js/passport/api"),l=e("js/plugin/tip"),r=t.trim,d=l.show,c=t("#phone-num");n.bindEyesEvt(),i.bind("input",function(){""===r(i.val())?o.addClass("disable"):o.removeClass("disable")}),o.on("touchstart",function(){var e,a,s=r(i.val()),l=!0;o.hasClass("disable")||(e={password:s},0===c.length&&(l=!1),l?(t.extend(e,{phoneNum:c.val(),areaCode:t("#areaCode").val(),token:t("#token").val()}),a="/passport/back/passwordByMobile"):(t.extend(e,{code:t("#email-code").val()}),a="/passport/back/passwordByEmail"),n.pwdValidate(s)?t.ajax({type:"POST",url:a,data:e,success:function(e){200===e.code?(d("密码修改成功"),setTimeout(function(){location.href=e.data},1e3)):d(e.message)}}):d("密码6-20位,请重新输入"))})}),define("js/guang/index",["zepto","lazyload","swiper","mlellipsis","iscroll-probe","index"],function(e,a,s){e("js/guang/plus-star/list"),e("js/guang/plus-star/detail"),e("js/guang/home"),e("js/guang/list"),e("js/guang/detail")}),define("js/guang/plus-star/list",["zepto","lazyload","swiper","index"],function(e,a,s){var t,i=e("zepto"),o=e("lazyload"),n=e("swiper"),l=i("#nav-tab > li"),r=i("#ps-content > .content");o(i("img.lazy")),t=new n(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),i("#nav-tab").delegate("li","touchstart",function(){i(this).hasClass("focus")||(l.toggleClass("focus"),r.toggleClass("hide"),i(document).trigger("scroll"))})}),define("js/guang/plus-star/detail",["zepto","mlellipsis","lazyload"],function(e,a,s){var t,i,o=e("zepto"),n=e("mlellipsis"),l=e("lazyload"),r=o("#intro"),d=o("#intro-more-txt"),c=o("#related-infos-container"),p=e("js/guang/info"),u=e("js/plugin/tip"),h=o("#brand-info").data("id");n.init(),l(o("img.lazy")),r[0].mlellipsis(3),setTimeout(function(){t=r.text(),i=r.attr("title")}),p.initInfosEvt(c),o("#more-intro").bind("touchstart",function(){var e=o(this);e.toggleClass("spread"),e.hasClass("spread")?(r.text(i),d.text("收起")):(r.text(t),d.text("more"))}),o("#brand-like").bind("touchstart",function(e){var a="ok",s=o(this);e.preventDefault(),s.hasClass("like")&&(a="cancel"),o.ajax({type:"POST",url:"/guang/opt/favoriteBrand",data:{id:h,opt:a},success:function(e){200===e.code?s.toggleClass("like"):400===e.code&&u.show("未登录")},error:function(){u.show("网络断开连接了~")}})})}),define("js/guang/info",["zepto","mlellipsis","lazyload"],function(e,a,s){function t(e){r(e.find("img.lazy")),e.each(function(){var e=n(this),a=e.find(".info-title"),s=e.find(".info-text");a[0].mlellipsis(2),s[0].mlellipsis(2)})}function i(e){e.delegate(".like-btn","touchstart",function(e){var a=n(e.currentTarget),s=a.closest(".guang-info"),t="ok";a.hasClass("like")&&(t="cancel"),n.ajax({type:"POST",url:"/guang/opt/praiseArticle",data:{id:s.data("id"),opt:t},success:function(e){var s=e.code;200===s&&(a.next(".like-count").text(e.data),a.toggleClass("like"))},error:function(){d.show("网络断开连接了~")}})}),t(e.find(".guang-info"))}function o(e,a){h||a.end||(h=!0,n.ajax({type:"GET",url:" /guang/list/page",data:a,success:function(s){return" "===s?(a.end=!0,h=!1,p.addClass("hide"),void u.removeClass("hide")):(e.append(s),t(e.find(".guang-info")),a.page++,void(h=!1))},error:function(){d.show("网络断开连接了~"),h=!1}}))}var n=e("zepto"),l=e("mlellipsis"),r=e("lazyload"),d=e("js/plugin/tip"),c=n("#load-more-info"),p=n(""),u=n(""),h=!1;l.init(),c.length>0&&(p=c.children(".loading"),u=c.children(".no-more")),a.initInfosEvt=i,a.setLazyLoadAndMellipsis=t,a.loadMore=o}),define("js/guang/home",["zepto","swiper","mlellipsis","lazyload","index"],function(e,a,s){var t,i=e("zepto"),o=e("swiper"),n=e("js/guang/info"),l=n.setLazyLoadAndMellipsis,r=n.loadMore,d=i("#load-more-info"),c=i(""),p=i(""),u=i(window).height(),h=d.height(),f=i("#info-list"),g=f.children(".info-list"),m=i("#guang-nav"),v=m.children(".focus"),w=v.data("type"),b={};d.length>0&&(c=d.children(".loading"),p=d.children(".no-more")),t=new o(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),n.initInfosEvt(f),function(){var e=i("#gender").val();m.children(".guang-nav-item").each(function(){var a=i(this).data("type");b[a]={page:1,gender:e,type:a,end:!1}})}(),m.delegate(".guang-nav-item","touchstart",function(){var e,a,s=i(this);s.hasClass("focus")||(a=s.index(),s.addClass("focus"),v.removeClass("focus"),g.not(".hide").addClass("hide"),e=g.eq(a),e.removeClass("hide"),l(e.children(".guang-info")),v=s,w=s.data("type"),b[w].end?(c.addClass("hide"),p.removeClass("hide")):(c.removeClass("hide"),p.addClass("hide")))}),i(document).scroll(function(){i(window).scrollTop()+u>=i(document).height()-h&&r(g,b[w])})}),define("js/guang/list",["zepto","mlellipsis","lazyload"],function(e,a,s){var t=e("zepto"),i=e("js/guang/info"),o=i.loadMore,n=t(window).height(),l=t("#load-more").height(),r=t("#author-infos"),d=t("#tag"),c={page:1,end:!1},p=t("#info-list");i.initInfosEvt(p),r.length>0&&t.extend(c,{authorId:r.data("id")}),d.length>0&&t.extend(c,{tag:d.val()}),t(document).scroll(function(){t(window).scrollTop()+n>=t(document).height()-l&&o(p,c)})}),define("js/guang/detail",["zepto","mlellipsis","lazyload","iscroll-probe"],function(e,a,s){function t(e){var a=e.offset().left,s=-C+a+w/2+"px";n.css({backgroundPosition:s+" bottom"}),m&&b.css({backgroundPosition:s+" bottom"})}function i(e){var a,s,i,u=p(e.currentTarget),f=u.index();u.hasClass("focus")||(l.filter(".focus").removeClass("focus"),m&&(a=u.closest(".fixed-thumb-container").length>0?n:b,s=a.find(".thumb").eq(f),b.find(".thumb.focus").removeClass("focus"),s.addClass("focus")),u.addClass("focus"),t(u),r.not(".hide").addClass("hide"),i=r.eq(f),i.removeClass("hide"),h(i.find(".lazy")),m?c&&c.scrollToElement(d,400):p("body").animate({scrollTop:o.offset().top},400))}var o,n,l,r,d,c,p=e("zepto"),u=e("mlellipsis"),h=e("lazyload"),f=e("iscroll-probe"),g=p(".author .intro"),m=navigator.userAgent.indexOf("iPhone")>0?!0:!1,v=p(".collocation-block").length>0?!0:!1,w=0,b=p(""),d=document.querySelector("#wrapper .collocation-block"),C=p(window).width();m&&p("#wrapper").addClass("ios"),u.init(),h(p(".lazy")),p(".info-list .title, .one-good .reco-name").each(function(){this.mlellipsis(2)}),parseInt(g.offset().left,10)===parseInt(g.css("margin-left"),10)&&g.css("padding-top",0),v&&(o=p(".collocation-block"),n=o.children(".thumb-container"),l=n.find("li"),r=o.find(".prod"),w=l.width(),m&&(b=p("#wrapper").after(n.clone().addClass("fixed-thumb-container fixed-bottom")).next(".thumb-container"),h(b.find(".lazy"),{event:"sporty"})),t(l.filter(".focus")),n.delegate(".thumb","touchend",i),m&&b.delegate(".thumb","touchend",i)),window.onload=function(){var e,a,s,t,i,l=p("#scroller");if(m){if(c=new f("#wrapper",{probeType:3,mouseWheel:!0,click:!0}),document.addEventListener("touchmove",function(e){e.preventDefault()},!1),!v)return void c.on("scroll",function(){l.trigger("scroll")});e=p(window).height(),i=b[0],a=n.height(),s=o.height(),t=o.offset().top,c.on("scroll",function(){var o=-this.y,n=i.className;t-e+a>=o?-1===n.indexOf("fixed-bottom")&&b.addClass("fixed-bottom").removeClass("hide"):t>=o?-1===n.indexOf("hide")&&b.addClass("hide").removeClass("fixed-bottom fixed-top"):t+s-a>=o?-1===n.indexOf("fixed-top")&&b.addClass("fixed-top").removeClass("hide absolute").css("top",""):t+s>=o?(-1===n.indexOf("absolute")&&b.addClass("absolute").removeClass("fixed-top hide"),i.style.top=t+s-a-o+"px"):o>t+s&&-1===n.indexOf("hide")&&b.addClass("hide").removeClass("absolute"),l.trigger("scroll")})}}}),define("js/home/index",["zepto","swiper","lazyload","index"],function(e,a,s){e("js/home/home"),e("js/home/maybe-like")}),define("js/home/home",["zepto","swiper","lazyload","index"],function(e,a,s){function t(){v+=10,w.css({transform:"rotateX("+v+"deg)","-webkit-transform":"rotateX("+v+"deg)","-moz-transform":"rotateX("+v+"deg)"}),v/90%2===1&&(b?(w.addClass("animate"),b=!1):(w.removeClass("animate"),b=!0)),v/90%2===0&&v%360!==0?window.setTimeout(t,3e3):v%360===0?window.setTimeout(t,18e4):d(function(){t()})}var i,o,n,l,r,d,c,p,u,h,f=e("zepto"),g=e("swiper"),m=e("lazyload"),v=0,w=f(".home-header .logo"),b=!0;e("js/home/maybe-like"),m(f("img.lazy")),f(".nav-btn").on("click",function(e){f(this).hasClass("menu-open")||(f(".mobile-wrap").addClass("menu-open"),f(".overlay").addClass("show"),f(".side-nav").addClass("on"),f("body").css({height:f(window).height(),width:"100%",overflow:"hidden"})),e.stopPropagation()}),f(".mobile-wrap").on("click",function(){f(this).hasClass("menu-open")&&(f(".mobile-wrap").removeClass("menu-open"),f(".overlay").removeClass("show"),f(".sub-nav").removeClass("show"),f(".side-nav").removeClass("on"),f("body").css({height:"auto",overflow:"auto"}))}),f(".side-nav").on("click","li",function(){f(this).find(".sub-nav").size()>0&&(f(".sub-nav").removeClass("show"),f(this).find(".sub-nav").addClass("show"))}),f(".sub-nav").each(function(){f(this).find("li").eq(0).on("click",function(e){f(".sub-nav").removeClass("show"),e.stopPropagation()})}),f(".sub-nav").on("mouseenter","li",function(){0!==f(this).index()&&f(this).addClass("current").siblings().removeClass("current")}),f(".banner-swiper").find("li").size()>1&&(i=new g(".banner-swiper",{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".banner-top .pagination-inner"})),n=new g(".brands-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"brands-list",slideElement:"li"}),o=new g(".recommend-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"recommend-list",slideElement:"li"}),f(".trend-topic-swiper").find("li").size()>1&&(l=new g(".trend-topic-swiper",{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".trend-topic-content .pagination-inner"})),f(".category-swiper").each(function(e,a){u="category-swiper"+e,f(this).addClass(u),f("."+u).find(".swiper-slide").size()>1&&(r=new g("."+u,{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:"."+u+" .pagination-inner"}))}),f(".header-download").on("click",".close-btn",function(){f(this).parent().remove()}),d=function(){var e=null,a=["webkit","moz","ms"];for(p=0;p<a.length;p++)c=a[p]+"RequestAnimationFrame",window[c]&&(h=!0,e=c);return h?function(a){window[e](a)}:function(e){window.setTimeout(e,67)}}(),t()}),define("js/home/maybe-like",["zepto","lazyload"],function(e,a,s){var t,i,o,n,l=e("zepto"),r=e("js/plugin/tip"),d=e("lazyload"),c=l(window).height(),p=l("#load-more").height(),u=l("#goods-list"),h=!1,f=0,g=l(".mobile-wrap").hasClass("boys-wrap")?"1,3":"2,3",m=l(".mobile-wrap").hasClass("kids-wrap")?!0:!1,v=l(".mobile-wrap").hasClass("lifestyle-wrap")?!0:!1,w=l("#maybe-like-nav");i=m?"/product/recom/maylikekids":v?"/product/recom/maylikelife":"/product/recom/maylike?gender="+g,o=w.children(".focus"),l("#maybe-like-nav").delegate("li","touchstart",function(){var e,a=l(this),s=l(".goods-list");a.hasClass("focus")||(n=a.index(),a.addClass("focus"),o.removeClass("focus"),s.not(".hide").addClass("hide"),e=s.eq(n),e.removeClass("hide"),o=a,l(document).trigger("scroll"))}),l(window).scroll(function(){if(l(window).scrollTop()+c>=l(document).height()-p){if(h)return;h=!0,t=u.children(".good-info").length,l.ajax({type:"GET",url:i,data:{page:f+1},success:function(e){return" "===e?void(h=!0):(u.append(e),d(l(".good-info").find("img.lazy")),h=!1,void f++)},error:function(){r.show("网络断开连接了~"),h=!1}})}})}),define("js/product/index",["zepto","swiper","lazyload","index"],function(e,a,s){e("js/product/newsale/newarrival"),e("js/product/newsale/discount"),e("js/product/list"),e("js/product/detail/detail")}),define("js/product/newsale/newarrival",["zepto","swiper","lazyload","index"],function(e,a,s){var t,i,o=e("zepto"),n=e("js/plugin/tip"),l=e("swiper"),r=e("lazyload"),d=o("#newarrival-nav"),c=o("#newarrival-goods-list"),p=c.children(".goods-list"),u=o(window).height(),h=o("#load-more").height(),f=o(".goods-list"),g=!1,m=0,v=0;i=new l(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),r(o("img.lazy")),t=d.children(".focus"),o("#newarrival-nav").delegate("li","touchstart",function(){var e,a=o(this);a.hasClass("focus")||(v=a.index(),a.addClass("focus"),t.removeClass("focus"),p.not(".hide").addClass("hide"),e=p.eq(v),e.removeClass("hide"),t=a,o(document).trigger("scroll"))}),o(window).scroll(function(){if(o(window).scrollTop()+u>=o(document).height()-h){if(g)return;g=!0,o.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:{dayLimit:v+1,page:m+1},success:function(e){return" "===e?void(g=!0):(f.append(e),r(o(".good-info").find("img.lazy")),g=!1,void m++)},error:function(){n.show("网络断开连接了~"),g=!1}})}})}),define("js/product/newsale/discount",["zepto","swiper","lazyload","index"],function(e,a,s){function t(e){var a="0.1,0.3";switch(e){case 0:a="0.1,0.3";break;case 1:a="0.4,0.6";break;case 2:a="0.7,0.9";break;case 3:a="0.1,0.9"}return a}var i,o,n=e("zepto"),l=e("swiper"),r=e("lazyload"),d=n("#discount-nav"),c=n("#discount-goods-list"),p=c.children(".goods-list"),u=n(".goods-list"),h=0,f=n(window).height(),g=n("#load-more").height(),m=!1,v=0,w="";o=new l(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),r(n("img.lazy")),i=d.children(".focus"),n("#discount-nav").delegate("li","touchstart",function(){var e,a=n(this);a.hasClass("focus")||(h=a.index(),w=t(h),a.addClass("focus"),i.removeClass("focus"),p.not(".hide").addClass("hide"),e=p.eq(h),e.removeClass("hide"),i=a,n(document).trigger("scroll"))}),n(window).scroll(function(){if(n(window).scrollTop()+f>=n(document).height()-g){if(m)return;m=!0,n.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:{p_d:w,page:v+1},success:function(e){return" "===e?void(m=!1):(u.append(e),r(n(".good-info").find("img.lazy")),m=!1,void v++)},error:function(){tip.show("网络断开连接了~"),m=!1}})}})}),define("js/product/list",["zepto","lazyload"],function(e,a,s){function t(e){var a,s,t,r,d,c={};if(e){for(s in w)w.hasOwnProperty(s)&&(w[s].reload=!0);switch(v.children(".active").removeClass("active"),i.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"msort":a={msort:e.id};break;case"color":a={color:e.id};break;case"size":a={size:e.id};break;case"price":a={price:e.id};break;case"discount":a={discount:e.id}}n.extend(m,a)}if(!o){if(i.hasClass("new")?r="newest":i.hasClass("price")?r="price":i.hasClass("discount")&&(r="discount"),t=w[r],d=t.page+1,t.reload)d=1;else if(t.end)return;n.extend(c,m,{type:r,order:t.order,page:d}),o=!0,n.ajax({type:"GET",url:"/product/list/search",data:c,success:function(e){var a,s='<p class="no-result">未找到相关搜索结果</p>';switch(r){case"newest":a=u;break;case"price":a=h;break;case"discount":a=f}" "===e?(t.end=!0,t.reload&&a.html(s)):(t.reload?a.html(e):a.append(e),l(a.find(".lazy"))),t.reload=!0,t.page=d,o=!1}})}}var i,o,n=e("zepto"),l=e("lazyload"),r=n("#brand-header"),d=n("#intro-box"),c=e("js/plugin/filter"),p=n("#goods-container"),u=p.children(".new-goods"),h=p.children(".price-goods"),f=p.children(".discount-goods"),g=n(window).height(),m={gender:n("#gender").val(),brand:n("#brand").val(),msort:n("#msort").val(),color:n("#color").val(),size:n("#size").val(),price:n("#price").val(),discount:n("#discount").val()},v=n("#list-nav"),w={newest:{order:1,reload:!0,page:0,end:!1},price:{order:0,reload:!0,page:0,end:!1},discount:{order:0,reload:!0,page:0,end:!1}};l(n(".lazy")),c.registerCbFn(t),v.delegate("li","touchstart",function(){var e,a,s,o=n(this);if(o.hasClass("filter"))o.hasClass("active")?(c.hideFilter(),i.addClass("active"),o.removeClass("active")):(i=o.siblings(".active"),i.removeClass("active"),o.addClass("active"),c.showFilter());else{if(o.hasClass("new")?a="newest":o.hasClass("price")?a="price":o.hasClass("discount")&&(a="discount"),e=w[a],o.hasClass("active")){if(o.hasClass("new"))return;(o.hasClass("price")||o.hasClass("discount"))&&(o.find(".icon > .iconfont").toggleClass("cur"),i=o,e.reload=!0,e.order=0===e.order?1:0)}else{if(s=o.siblings(".active"),i=o,s.hasClass("filter"))c.hideFilter();else switch(p.children(".container:not(.hide)").addClass("hide"),a){case"newest":u.removeClass("hide");break;case"price":h.removeClass("hide");break;case"discount":f.removeClass("hide")}s.removeClass("active"),o.addClass("active")}e.reload&&t()}}),n(window).scroll(function(){n(window).scrollTop()+g>n(document).height()-.25*p.height()&&t()}),r.children(".btn-intro").bind("touchstart",function(){d.removeClass("hide")}),n(".close-intro, .brand-intro-box").click(function(){d.addClass("hide")}),n("#brand-intro").click(function(e){e.stopPropagation()}),r.children(".btn-col").bind("touchstart",function(){n(this).toggleClass("coled")})}),define("js/plugin/filter",["zepto"],function(e,a,s){function t(){r.addClass("hide")}function i(){r.removeClass("hide")}function o(e){n=e}var n,l=e("zepto"),r=l(".filter-mask, .filter-body"),d=r.find(".classify"),c=r.find(".sub-classify");d.children(":first-child").addClass("active"),d.delegate(".classify-item","touchstart",function(){var e=l(this);e.hasClass("active")||(e.siblings(".active").removeClass("active"),e.addClass("active"))}),r.filter(".filter-mask").click(function(){t()}),c.delegate("li","click",function(e){var a,s,i=l(this),o=i.data("id"),r=i.closest(".sub-classify"),d=r.siblings(".shower");e.stopPropagation(),i.hasClass("chosed")||(r.children(".chosed").removeClass("chosed"),i.addClass("chosed"),a=l.trim(i.html()),s=l.trim(d.html()),d.html(s.substring(0,s.indexOf("</span>")+7)+a.substring(0,a.indexOf("<i"))),0===i.index()?d.addClass("default"):d.removeClass("default"),n&&n({type:r.data("type"),id:o}),t())}),a.showFilter=i,a.hideFilter=t,a.registerCbFn=o}),define("js/product/detail/detail",["zepto","swiper","lazyload","index"],function(e,a,s){var t,i=e("zepto"),o=e("swiper"),n=e("lazyload");n(i("img.lazy")),t=new o(".banner-swiper",{loop:!0,pagination:".banner-top .pagination-inner",slideElement:"div",nextButton:".swiper-button-next",prevButton:".swiper-button-prev"})}),define("js/index/index",["zepto"],function(e,a,s){e("js/index/search"),e("js/index/channel")}),define("js/index/search",["zepto"],function(e,a,s){var t=e("zepto"),i=t("#search-input > input"),o=t("#search-input > .clear-input"),n=t(".history");t("#clear-history").bind("touchstart",function(){t.ajax({type:"POST",url:"/search/clearHistory",success:function(e){200===e.code&&n.html("")}})}),t("#search").bind("touchstart",function(){var e=i.val();t.ajax({type:"POST",url:"/search",data:{val:e},success:function(e){200===e.code&&(location.href=e.data)}})}),i.bind("input",function(){""===i.val()?o.addClass("hide"):o.removeClass("hide")}),o.bind("touchstart",function(){i.val("").trigger("input")})}),define("js/index/channel",[],function(e,a,s){});
\ No newline at end of file
This diff could not be displayed because it is too large.
<?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" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata></metadata>
<defs>
<font id="icomoonregular" horiz-adv-x="2048" >
<font-face units-per-em="2048" ascent="1920" descent="-128" />
<missing-glyph horiz-adv-x="1024" />
<glyph horiz-adv-x="0" d="M0 0z" />
<glyph horiz-adv-x="0" d="M0 0z" />
<glyph unicode="&#xd;" horiz-adv-x="682" />
<glyph horiz-adv-x="0" d="M0 0z" />
<glyph unicode=" " horiz-adv-x="1024" d="M0 0z" />
<glyph unicode="!" d="M0 472l600 -600h848l600 600v848l-600 600h-848l-600 -600v-848zM144 532v728l516 516h728l516 -516v-728l-516 -516h-728zM932 408v184h184v-184h-184zM932 754v630h184v-630h-184z" />
<glyph unicode="#" d="M212 1254h1640l-256 -1382h-1128zM212 1408v204h360v308h870v-308h410v-204h-1640zM622 180h154v818h-154v-818zM724 1612h564v154h-564v-154zM930 180h154v818h-154v-818zM1236 180h154v818h-154v-818z" />
<glyph unicode="$" d="M328 -76v1944q0 22 13 37t33 15h1070h3h1q6 -2 14 -4h1h3q8 -4 14 -10v-2l358 -348v-2q8 -8 10 -14l2 -2q2 -2 2 -3t2 -6t4 -7l3 -1t3 -3v-1594q0 -22 -20 -37t-42 -15h-1428q-20 0 -33 15t-13 37zM430 -26h1330v1486h-316q-20 0 -31 18t-11 40v300h-972v-1844zM604 281 q0 21 15 36t35 15h900q20 0 35 -15t15 -36t-15 -36t-35 -15h-900q-20 0 -35 15t-15 36zM604 537q0 21 15 36t35 15h900q20 0 35 -15t15 -36t-15 -36t-35 -15h-900q-20 0 -35 15t-15 36zM604 845q0 21 15 36t35 15h900q20 0 35 -15t15 -36t-15 -36t-35 -15h-900q-20 0 -35 15 t-15 36zM1504 1562h172l-172 184v-184z" />
<glyph unicode="%" d="M0 538v1074q0 22 15 37t37 15h1126q20 0 35 -15t15 -37v-1074q0 -22 -15 -37t-35 -15h-1126q-22 0 -37 15t-15 37zM102 588h1024v974h-1024v-974zM318 346q0 22 15 37t36 15t36 -15t15 -37q0 -66 47 -112t113 -46t112 46t46 112q0 22 15 37t36 15t36 -15t15 -37 q0 -108 -76 -185t-184 -77t-185 77t-77 185zM1382 844v564q0 22 15 37t37 15h348q30 0 44 -26l216 -370q6 -12 6 -26v-500q0 -22 -15 -37t-37 -15h-512q-20 0 -35 15t-15 36t15 36t35 15h462v436l-194 332h-268v-460h206q20 0 35 -15t15 -36t-15 -36t-35 -15h-256 q-22 0 -37 15t-15 35zM1496 346q0 22 15 37t36 15t36 -15t15 -37q0 -66 47 -112t113 -46t113 46t47 112q0 22 15 37t36 15t36 -15t15 -37q0 -108 -77 -185t-185 -77t-185 77t-77 185z" />
<glyph unicode="&#x26;" d="M284 1184q0 200 102 369t279 268t386 99t386 -99t280 -268t103 -369q0 -206 -112 -380l-424 -630q-12 -16 -33 -20t-38 8t-21 32t6 38l426 628q92 148 92 324q0 172 -89 318t-242 231t-334 85t-334 -85t-242 -231t-89 -318q0 -176 94 -326l614 -906q12 -18 8 -39t-22 -33 q-12 -8 -28 -8q-28 0 -42 22l-616 908q-110 176 -110 382zM692 1187q0 149 105 254t254 105t255 -105t106 -254t-106 -255t-255 -106t-254 106t-105 255zM796 1187q0 -105 75 -180t180 -75t180 75t75 180t-75 179t-180 74t-180 -74t-75 -179z" />
<glyph unicode="'" d="M0 896q0 28 20 48l956 956q20 20 48 20t48 -20l956 -956q20 -20 20 -48t-20 -48t-48 -20t-48 20l-908 908l-908 -908q-20 -20 -48 -20t-48 20t-20 48zM274 -44v818q0 28 20 48t48 20t48 -20t20 -48v-750h1228v750q0 28 20 48t48 20t48 -20t20 -48v-818q0 -28 -20 -48 t-48 -20h-1364q-28 0 -48 20t-20 48zM750 296v410q0 28 20 48t50 20h408q30 0 50 -20t20 -48v-410q0 -28 -20 -48t-49 -20t-49 20t-20 48v342h-272v-342q0 -28 -20 -48t-49 -20t-49 20t-20 48z" />
<glyph unicode="(" d="M410 1296q0 254 180 434t434 180t434 -180t180 -434q0 -132 -53 -250t-147 -204l-416 -960l-420 966q-90 86 -141 202t-51 246zM670 1310q0 -146 104 -250t250 -104t250 104t104 250t-104 250t-250 104t-250 -104t-104 -250z" />
<glyph unicode=")" d="M92 16l74 202l126 -128zM186 282l124 346l394 -394l-346 -122zM342 684l974 974l418 -418l-976 -974zM530 684l46 -46l784 784l-44 46zM622 592l46 -46l784 786l-46 44zM714 502l46 -46l784 784l-46 46zM1360 1700l142 142q40 38 94 38t92 -38l230 -230q38 -38 37 -92 t-39 -92l-142 -142z" />
<glyph unicode="*" d="M0 896q0 278 137 514t373 373t514 137t514 -137t373 -373t137 -514t-137 -514t-373 -373t-514 -137t-514 137t-373 373t-137 514zM404 845q0 -29 20 -49l376 -374q20 -20 48 -20t48 20l752 750q20 20 20 48t-20 48t-49 20t-49 -20l-702 -702l-328 328q-20 20 -48 20 t-48 -20t-20 -49z" />
<glyph unicode="+" d="M0 800h924v-924h200v924h924v200h-924v924h-200v-924h-924v-200z" />
<glyph unicode="," d="M0 476l182 -182l842 840l842 -840l182 182l-1024 1026z" />
<glyph unicode="-" d="M438 460l142 -142l436 436l438 -436l140 142l-436 436l436 436l-140 142l-438 -436l-436 436l-142 -142l438 -436z" />
<glyph unicode="." d="M0 1316l182 182l842 -840l842 840l182 -182l-1024 -1026z" />
<glyph unicode="/" d="M0 896q0 -212 80 -399t219 -326t326 -219t399 -80t399 80t326 219t219 326t80 399t-80 399t-219 326t-326 219t-399 80t-399 -80t-326 -219t-219 -326t-80 -399zM158 896q0 180 68 337t186 275t275 186t337 68q78 0 152 -13t143 -39t133 -62t120 -82l-1218 -1218 q-46 56 -82 120t-62 133t-39 143t-13 152zM476 226l1218 1218q46 -56 82 -120t62 -133t39 -143t13 -152q0 -180 -68 -337t-186 -275t-275 -186t-337 -68q-78 0 -152 13t-143 39t-133 62t-120 82z" />
<glyph unicode="0" d="M0 896q0 -212 80 -399t219 -326t326 -219t399 -80t399 80t326 219t219 326t80 399t-80 399t-219 326t-326 219t-399 80t-399 -80t-326 -219t-219 -326t-80 -399zM158 896q0 180 68 337t186 275t275 186t337 68t337 -68t275 -186t186 -275t68 -337t-68 -337t-186 -275 t-275 -186t-337 -68t-337 68t-275 186t-186 275t-68 337zM544 896q0 100 38 187t103 152t152 103t187 38t187 -38t152 -103t103 -152t38 -187t-38 -187t-103 -152t-152 -103t-187 -38t-187 38t-152 103t-103 152t-38 187z" />
<glyph unicode="1" d="M0 1126l512 -500l-120 -704l632 332l632 -332l-120 704l512 500l-708 102l-316 642l-316 -642z" />
<glyph unicode="2" d="M0 1126l512 -500l-120 -704l632 332l632 -332l-120 704l512 500l-708 102l-316 642l-316 -642zM1022 412l2 1142l224 -454l500 -72l-362 -352l84 -498l-446 236z" />
<glyph unicode="3" d="M0 1126l512 -500l-120 -704l632 332l632 -332l-120 704l512 500l-708 102l-316 642l-316 -642zM300 1028l500 72l224 454l224 -454l500 -72l-362 -352l84 -498l-446 236l-446 -236l84 498z" />
<glyph unicode="4" d="M406 1171q0 39 2 69t4 52t4 36l2 14l8 46h50q90 0 176 18t143 45t102 53t65 46l22 18l40 40l40 -40q0 -2 21 -20t66 -45t102 -53t142 -44t173 -18h50l12 -50l2 -14t4 -36t4 -52t2 -68t-2 -80t-9 -91t-17 -97q-20 -92 -57 -180t-101 -185t-168 -185t-240 -150l-24 -12 l-24 12q-136 62 -240 150t-168 185t-101 185t-57 180q-10 48 -17 98t-9 92t-2 81zM524 1272q-20 -164 20 -356q92 -414 476 -606q388 190 480 606q36 154 24 356q-292 14 -500 176q-208 -162 -500 -176zM626 1200q224 8 390 138q144 -110 340 -134l-626 -504 q-66 114 -86 220q-30 120 -18 280zM758 658l12 -16l640 516q0 -144 -22 -238q-74 -328 -372 -474q-162 80 -258 212zM1410 1200z" />
<glyph unicode="5" d="M82 524v168h258q-48 -22 -81 -67t-41 -101h-136zM82 740v742h1220v-742h-1220zM246 494q0 80 55 135t133 55t133 -55t55 -134t-55 -134t-133 -55t-133 56t-55 132zM340 498q0 -40 27 -67t67 -27t67 27t27 67t-27 67t-67 27t-67 -27t-27 -67zM528 692h790v-66 q-28 -50 -28 -102h-642q-8 54 -39 100t-81 68zM1324 516q0 78 55 133t133 55q76 0 130 -55t58 -133q0 -80 -56 -135t-132 -55q-80 0 -134 56t-54 134zM1352 666v816h368l246 -550v-404h-242q-2 86 -65 147t-151 61q-86 0 -156 -70zM1418 520q0 -40 27 -68t67 -28q38 0 66 28 t28 68t-27 67t-67 27t-67 -27t-27 -67zM1438 1002h380l-160 386h-220v-386z" />
<glyph unicode="6" d="M192 1088q0 202 166 343t400 141q206 0 369 -113t201 -285q-18 4 -54 4q-202 0 -343 -130t-141 -316q0 -58 22 -118q-18 -4 -54 -4q-32 0 -61 3t-76 13t-59 12l-214 -106l70 176q-226 158 -226 380zM484 1260q0 -28 26 -49t60 -21q32 0 50 20t18 51t-18 50t-50 19 q-36 0 -61 -20t-25 -50zM880 1265q0 -29 27 -49t59 -20t51 19t19 50t-19 50t-51 19t-59 -20t-27 -49zM892 695q0 169 141 289t343 120q192 0 336 -120t144 -284q0 -180 -198 -328l42 -148l-156 90q-92 -28 -168 -28q-202 0 -343 120t-141 289zM1164 822q0 -22 18 -40t38 -18 q30 0 50 18t20 40t-20 40t-50 18q-20 0 -38 -18t-18 -40zM1474 822q0 -22 18 -40t40 -18q30 0 50 18t20 40t-20 40t-50 18q-22 0 -40 -18t-18 -40z" />
<glyph unicode=";" d="M0 -128v2048h2048v-2048h-2048z" />
<glyph unicode="&#x3c;" d="M448 896l1026 1024l122 -122l-900 -902l900 -902l-122 -122z" />
<glyph unicode="=" d="M0 852l700 -700l1348 1348l-140 140l-1208 -1206l-560 560z" />
<glyph unicode="&#x3e;" d="M452 -6l122 -122l1026 1024l-1026 1024l-122 -122l900 -902z" />
<glyph unicode="?" d="M0 896q0 -212 80 -399t219 -326t326 -219t399 -80t399 80t326 219t219 326t80 399t-80 399t-219 326t-326 219t-399 80t-399 -80t-326 -219t-219 -326t-80 -399zM158 896q0 180 68 337t186 275t275 186t337 68t337 -68t275 -186t186 -275t68 -337t-68 -337t-186 -275 t-275 -186t-337 -68t-337 68t-275 186t-186 275t-68 337zM758 1284l64 -136q12 6 25 12l26 12t25 11t26 9l24 8t23 6t22 3t21 1q12 0 23 -1t20 -4t17 -7t14 -10t10 -13t7 -14t5 -15t2 -16q0 -6 -1 -12t-1 -11t-1 -9t-3 -8q-2 -6 -3 -10t-3 -8t-5 -8t-5 -8t-6 -8t-7 -8t-7 -8 l-8 -8q-6 -4 -11 -8t-10 -9t-11 -9t-12 -10q-8 -6 -15 -12t-13 -11t-12 -11l-12 -12q-4 -4 -9 -10t-9 -12t-8 -11t-8 -11q-2 -6 -5 -12l-6 -12t-5 -12t-4 -14q-2 -6 -3 -13l-2 -14t-1 -14v-15v-46h164v38v9v9t1 8t1 8q2 2 3 6l2 8t3 7t6 7q2 2 4 6t6 7t7 7t7 8t9 8l10 8 t11 9t14 11t16 13t15 13l14 12t13 14q8 6 13 12t11 12t10 13t10 13q4 6 7 13t7 14t6 14t4 15l4 16t3 17l2 18t1 19q0 14 -1 26t-4 24t-6 23t-9 21q-4 10 -10 20t-13 19t-14 17t-17 14q-8 8 -18 14t-21 12t-22 11t-25 7q-12 4 -25 7t-28 5t-30 3t-29 1h-18t-16 -1t-17 -2 t-17 -3q-10 -2 -18 -4t-17 -4t-17 -4t-16 -6q-10 -2 -18 -5l-16 -6l-16 -6t-16 -7t-15 -7t-14 -7l-14 -8t-15 -8zM886 522q0 -6 1 -12t3 -12t4 -10q2 -6 5 -10t5 -8t6 -8l8 -8q2 -2 6 -5t9 -5l10 -4t9 -4q6 -2 11 -3l10 -2t11 -1h10h11t11 1t11 2t9 3t9 4t9 4t8 5t8 5 q4 4 7 8l6 8l6 8t5 10q2 4 4 10t3 12t1 12v12v15t-1 13t-3 11t-4 11q-2 4 -5 9t-6 9l-6 8t-7 6q-4 4 -8 6t-8 5t-9 4t-9 3t-9 3t-11 2t-11 1h-11h-10t-11 -1l-10 -2t-11 -3q-4 -2 -9 -3t-10 -4t-9 -5t-6 -6q-4 -2 -8 -6t-6 -8t-5 -9t-5 -9q-2 -6 -4 -11t-3 -11t-1 -13v-15 v-12z" />
<glyph unicode="A" d="M195 906q-4 -48 -4 -96q0 -92 16 -185q25 -141 79 -270t120 -223q32 -48 68 -95t76 -84t84 -60q40 -21 88 -21h8q48 2 84 15t72 29t78 28t100 12q60 0 101 -13t76 -29t73 -28t88 -12q52 2 96 24t82 57t71 80t65 91q36 54 63 105t44 92t25 66t10 29q-2 0 -44 21t-93 70 t-94 128t-45 195q0 98 33 170t74 120t76 73t39 27q-46 66 -100 105t-107 61t-98 29t-69 7q-18 2 -36 2q-41 0 -81 -10q-57 -14 -108 -33t-94 -36t-73 -17t-68 15t-82 32t-91 30t-97 13q-66 -2 -128 -20t-116 -51t-100 -80t-80 -105q-68 -118 -81 -258zM1022 1448 q15 -2 30 -2q27 0 55 7q43 11 82 30t74 48t63 59v2q26 34 48 71t36 80t20 86q4 26 4 53q0 18 -2 38q-38 -4 -80 -15t-82 -33t-76 -48t-64 -62q-24 -26 -47 -63t-38 -78t-22 -86q-4 -24 -4 -48q0 -20 3 -39z" />
<glyph unicode="B" d="M0 1680l28 -144q0 -6 2 -12t4 -11t5 -7t7 -2h32h74h87h71q8 0 13 -1t8 -3t5 -5t2 -7q22 -94 51 -230t57 -261t47 -214l19 -89q8 -30 20 -51t29 -35t38 -20t45 -6h1116q8 0 15 3t13 7t9 10t3 12l34 144q0 6 -3 12t-8 11t-13 7t-16 2h-124h-292h-343h-277q-14 0 -26 3 t-20 8t-14 14t-8 21q-18 82 -47 215t-57 259t-48 218l-20 92q-6 30 -18 48t-30 28t-43 13t-57 3h-57h-121h-120h-54q-4 0 -7 -3t-6 -7t-4 -10t-1 -12zM686 254q0 36 14 68t38 56t56 38t68 14t68 -14t55 -38t37 -56t14 -68t-14 -68t-37 -55t-55 -37t-68 -14t-68 14t-56 37 t-38 55t-14 68zM740 1494l106 -494q0 -8 3 -15t9 -12t13 -8t15 -3h976q8 0 15 3t12 8t8 12t3 15l148 494q0 6 -3 13t-8 12t-12 8t-15 3h-1232q-8 0 -15 -3t-12 -8t-8 -12t-3 -13zM1368 254q0 36 14 68t38 56t55 38t67 14t68 -14t56 -38t38 -56t14 -68t-14 -68t-38 -55 t-56 -37t-68 -14t-67 14t-55 37t-38 55t-14 68z" />
<glyph unicode="C" d="M2 1470l2 -1404h2046l2 1404h-390l-254 256h-768l-254 -256h-384zM514 824v10q0 102 40 191q42 93 110 163t163 111t201 41q108 0 201 -41t164 -111t110 -163t41 -201q-2 -106 -41 -200t-110 -164t-164 -110t-201 -40q-106 0 -201 40t-163 110t-110 164q-40 90 -40 190 v10zM778 828v-9q0 -47 19 -89q21 -46 54 -80t79 -54t98 -20q54 0 99 20t80 54t53 80t20 98q-2 52 -20 98t-53 80t-80 54t-99 20q-52 0 -98 -20t-79 -54t-54 -80q-19 -42 -19 -89v-9z" />
<glyph unicode="D" d="M0 896q0 278 137 514t373 373t514 137t514 -137t373 -373t137 -514t-137 -514t-373 -373t-514 -137t-514 137t-373 373t-137 514zM102 896q0 -192 76 -364t210 -302q106 90 280 138q70 28 96 52q30 30 34 60q2 11 2 50t-2 106q-52 60 -96 188q-54 28 -68 100q-5 24 -5 44 q0 40 19 66q-18 104 -18 191q0 195 90 305q104 124 310 124h12q78 0 111 -14t55 -44q10 -14 14 -16q94 0 150 -74q50 -68 55 -192q1 -14 0 -28q0 -113 -35 -250q15 -17 15 -51q0 -26 -9 -63q-6 -34 -34 -62t-54 -40q-4 -10 -12 -37t-11 -37t-12 -30t-18 -32t-25 -26t-38 -24 v-146q0 -16 11 -27t29 -22t26 -17l40 -16q16 -12 82 -42q170 -46 276 -136q134 128 211 301t77 367q0 188 -73 358t-197 294t-294 197t-358 73t-358 -73t-294 -197t-197 -294t-73 -358z" />
<glyph unicode="E" horiz-adv-x="1556" d="M6 712v1160q0 22 13 35t33 13h1452q40 0 40 -40v-1164q0 -12 -8 -37t-14 -31l-700 -740q-4 -4 -11 -14t-14 -17t-13 -7h-4q-6 0 -13 8t-15 19t-10 15l-722 764q-14 14 -14 36zM388 1220q-6 -16 8 -28l186 -158l-56 -236q-4 -16 10 -28q8 -4 16 -4q6 0 14 4l212 126 l212 -126q14 -10 28 0q14 12 10 28l-56 236l186 158q14 12 8 28q-4 18 -22 18l-248 20l-94 224q-8 16 -25 16t-23 -16l-96 -224l-248 -20q-16 -2 -22 -18z" />
<glyph unicode="F" d="M0 1154q0 -150 59 -255t149 -185t196 -141t196 -121q88 -56 161 -122t129 -127t91 -115t45 -86q8 30 44 85t93 117t130 129t155 123q88 64 194 125t196 141t150 184t60 254q-2 150 -45 268t-114 195t-162 118q-87 39 -180 39h-9h-11l-137 -22q-74 -24 -142 -71t-125 -120 t-99 -167q-42 98 -100 172t-125 121t-140 72q-68 23 -136 23h-11v2v-2h-9q-93 0 -181 -40q-92 -42 -163 -122t-114 -200t-45 -272zM72 1154q0 64 10 125t27 114t44 100t61 85q30 34 64 59t72 44t79 27t83 10q70 0 135 -24t123 -68t105 -109t83 -145l66 -156l66 156 q18 40 39 77t47 70t54 60t60 49q28 20 58 35t61 26t64 16t65 5q42 0 83 -9t79 -26t72 -42t64 -57q34 -38 60 -83t43 -98t27 -112t10 -123q0 -48 -8 -92t-23 -84t-39 -77t-58 -73q-30 -34 -65 -63t-74 -57t-79 -53t-78 -51q-20 -12 -39 -23t-37 -23t-35 -24t-35 -24 q-56 -40 -111 -86t-104 -93t-91 -95t-74 -92q-30 42 -71 89t-90 95t-106 94t-119 86q-14 10 -28 19t-29 18l-30 18t-31 17q-84 52 -165 104t-144 119t-102 150t-39 195z" />
<glyph unicode="G" d="M2 1065q-2 9 0 18t8 17q2 2 23 26t56 48t81 37q17 5 35 5q31 0 65 -14h1h1q4 -2 21 -15t28 -46q8 -24 8 -60q0 -13 -1 -28q-4 -55 -40 -139q-6 -14 -11 -28t-8 -27t-3 -24t4 -17q0 -2 1 -3t3 -2t5 -2t9 -1q30 -4 51 -2t37 8t26 13t16 13q2 2 4 3t3 2t3 2t2 3q8 4 17 6 t18 1t17 -6t14 -13t7 -18t0 -19t-6 -16t-13 -13q-2 0 -2 -1t-1 -1t-1 -1t-2 -1q-8 -6 -21 -16t-32 -19t-45 -16t-60 -7q-4 0 -10 1t-11 1t-11 1t-12 1q-20 2 -35 8t-25 14t-17 17t-13 17q-12 26 -13 55t5 55t13 45t11 25q20 44 27 75t8 50t-1 29t-4 10q-26 10 -52 0t-47 -26 t-34 -31l-13 -15q-6 -8 -14 -13t-17 -6t-18 1t-17 8t-12 14t-6 17zM14 618q-2 10 0 19t7 17t12 13t17 7t19 1t17 -6t13 -13t7 -16q6 -22 13 -36t13 -22t11 -11l5 -3h1h1v-1q0 -1 2 -1q18 -9 36 -9q13 0 26 5q30 12 53 34t37 44l14 22q2 0 2 1v1v1v1q44 64 84 145t70 151 t47 119l17 49q4 10 10 17t14 11t18 5t18 -3q10 -2 17 -9t11 -15t4 -17t-2 -19q-2 -4 -20 -55t-49 -124t-72 -156t-87 -151q-14 -22 -35 -49t-48 -50t-60 -38t-69 -15q-10 0 -19 1t-19 4l-20 6t-20 9q-6 2 -19 10t-27 24t-27 41t-23 61zM484 652l40 -66v-46h24v46l40 66h-26 l-26 -44l-26 44h-26zM594 596q0 -8 1 -14t3 -11t5 -10t7 -7q4 -4 8 -7t9 -5t10 -3t13 -1q6 0 11 1t10 3t9 5t8 7t7 8t5 9t3 11t1 14q0 6 -1 12t-3 12t-5 10t-7 8t-8 7t-9 5t-11 3t-12 1q-2 0 -6 -1t-7 -1t-5 -1t-6 -1q-2 -2 -4 -3t-3 -2l-3 -3l-4 -4q-2 0 -3 -2l-2 -4t-3 -4 t-2 -4q-2 -4 -3 -7t-1 -6t-1 -7t-1 -8zM618 596q0 4 1 9t2 8l2 6t3 5t5 4t6 3l6 2t7 1q2 0 5 -1l6 -2l6 -2t5 -5q2 -2 3 -5l2 -6t2 -8t1 -9t-1 -9t-2 -8l-2 -6t-3 -7q-2 -2 -5 -4t-6 -3t-6 -1h-5h-7t-6 1t-6 3t-5 6q-2 2 -3 5l-2 6t-2 8t-1 9zM642 866q0 32 7 60t15 47 t12 23q24 46 50 74t52 44t52 22t46 6q24 0 43 -5t34 -11t24 -11t11 -7h1t1 -1v-1h2q32 -28 41 -66q7 -28 7 -56q0 -9 -1 -18q-3 -36 -13 -66t-14 -40q-4 -14 -19 -38t-40 -48t-60 -40t-81 -16h-14t-15 1t-15 3l-16 4q-22 6 -38 15t-28 20t-20 22t-12 21q-12 30 -12 62z M720 540h24v48h44v-48h22v112h-22v-44h-44v44h-24v-112zM736 871q0 -17 4 -29q2 -4 4 -7t6 -6t11 -7t15 -6q6 -2 10 -2t9 -1t9 -1h8q30 0 50 12t34 26t20 26l6 12q0 2 1 3t1 2v1l2 2q4 12 10 31t9 39t1 38t-12 28q-4 0 -9 3t-12 6t-17 5t-20 2q-16 0 -32 -6t-31 -18t-29 -30 t-26 -42q-4 -6 -9 -20t-9 -29t-4 -32zM830 582q0 -6 2 -11t5 -10t7 -7q4 -4 8 -7t9 -5t11 -3t12 -1t11 1t10 3t10 5t7 7q4 4 7 8t5 9t3 11t1 14q0 6 -1 12t-3 12t-5 10t-7 8q-2 4 -7 7t-10 5t-10 3t-11 1q-4 0 -7 -1t-6 -1t-6 -1t-5 -1q-2 -2 -4 -3l-4 -2t-4 -3l-4 -4 q-2 0 -3 -2l-2 -4l-2 -4t-3 -4q-2 -4 -2 -7t-1 -6t-1 -7v-8v-14zM852 596q0 4 1 9t2 8l2 6t3 5q4 2 6 4t5 3l6 2t7 1q2 0 6 -1t6 -2t5 -2t5 -5q2 -2 4 -5t3 -6t1 -8v-9v-9t-1 -8t-3 -6t-4 -7q-2 -2 -5 -4t-6 -3t-6 -1h-5h-7t-6 1t-5 3t-4 6q-4 2 -5 5l-2 6t-2 8t-1 9z M956 540h38h9h8h6h3q2 0 4 1l4 2t4 1t4 2l3 3l2 2t2 3t3 4q0 2 1 3t1 3v4v4v5t-1 5l-2 4t-1 4q-2 0 -4 2t-4 3l-4 2t-4 3q2 0 3 1t3 2t3 3t3 4l1 2q1 2 1 4t1 4t1 4t-1 3t-1 3t-1 3t-1 3t-1 3l-2 2t-3 2t-2 3q-2 0 -3 1t-3 2t-3 1h-3h-4t-4 1t-5 1h-7h-44v-112zM978 558v30 h18h7h6h5t2 -2h3t2 -1t1 -2t2 -1v-1q0 -1 1 -3t1 -3v-1v-3t-1 -3t-1 -3t-2 -1l-1 -1l-2 -2t-2 -1h-3h-2q-2 0 -4 -1t-4 -1h-6h-20zM978 608v24h12h8h6h4h2h3t2 -1t2 -1t1 -2q2 0 2 -1t1 -2t1 -2v-3t-1 -3t-1 -2t-1 -2l-1 -1q0 -2 -1 -2t-2 -1t-3 -1h-2h-3h-3h-5h-7h-14z M1016 1275q-2 9 0 18t8 17t14 13t17 7t18 0t17 -8q4 -4 26 -29t41 -83t27 -158q2 -27 2 -57q0 -85 -16 -199q-2 -8 -6 -15t-10 -13t-14 -9t-18 -3h-1h-2h-1h-2q-10 2 -18 7t-13 12t-8 16t-1 19q15 106 15 182q0 17 -1 32q-4 84 -16 133t-25 68t-15 19q-8 6 -12 14t-6 17z M1068 575q0 -3 1 -6t1 -5t1 -4t2 -3t2 -3l1 -2l3 -3l3 -3t4 -3t4 -1q2 -2 4 -2t5 -1t7 -1h8h7t5 1t5 1t5 2q2 0 4 1t3 2l3 3l2 2q2 2 3 4t2 3t1 3t2 4v5v7t1 8t1 8v60h-24v-62v-7v-5v-4v-4l-1 -2t-2 -3l-2 -2l-1 -1l-3 -3t-3 -1h-4h-4h-6h-4t-3 1l-3 3q-2 0 -3 1t-2 3t-1 3 v3t-1 3t-1 4v6v5v62h-22v-60v-9v-8zM1093 971q-1 9 1 18t8 17q6 6 32 36t66 60t90 49q29 11 58 11q22 0 44 -6q38 -10 69 -40t55 -79t40 -117t26 -156q2 -10 -1 -19t-9 -16t-14 -12t-18 -5h-1h-1h-1h-1q-10 0 -18 3t-14 9t-10 13t-6 17q-10 96 -26 156t-34 94t-35 46t-27 16 q-24 6 -53 -6t-56 -32t-48 -43t-31 -37q-6 -8 -15 -12t-17 -6t-18 1t-16 9q-8 6 -13 14t-6 17zM1170 652l40 -66v-46h22v46l42 66h-26l-26 -44l-26 44h-26zM1268 540v22h20v-22h-20zM1308 582q0 -6 2 -11t5 -10t7 -7q4 -4 8 -7t8 -5t9 -3t11 -1q4 0 8 1l8 2l8 2t6 3q2 4 5 6 t5 6l4 8t2 8l-22 6q0 -2 -1 -5t-2 -5l-2 -4t-3 -4q-2 0 -4 -1l-4 -2t-4 -1h-4h-6t-5 1t-5 3l-4 4t-3 5t-2 7t-2 9t-1 9q0 6 1 10l2 8t2 7t3 5t4 3t5 3t6 2h5h4t4 -1l4 -2t4 -1q2 -2 3 -4t2 -3t2 -3t1 -4l22 4q0 4 -1 7t-3 6t-4 5l-4 4t-6 4l-8 4t-9 3t-9 1q-6 0 -11 -1 t-10 -3t-9 -5t-8 -7t-7 -9t-5 -10t-2 -11v-14v-12zM1420 596q0 -8 1 -14t3 -11l4 -10t6 -7q4 -4 8 -7t9 -5t11 -3t12 -1t12 1t10 3t9 5t9 7q2 4 5 8t5 9t3 11t1 14q0 6 -1 12t-3 12t-5 10t-5 8q-4 4 -9 7t-10 5t-10 3t-11 1q-4 0 -7 -1t-6 -1t-6 -1t-5 -1q-2 -2 -4 -3l-4 -2 t-4 -3t-2 -4q-2 0 -4 -2t-3 -4l-2 -4t-3 -4q0 -4 -1 -7l-2 -6t-1 -7v-8zM1442 596q0 4 1 9t2 8t3 6t4 5l4 4t5 3l6 2t7 1t7 -1l6 -2t5 -2t4 -5q2 -2 4 -5t3 -6t1 -8v-9v-9t-1 -8t-3 -6t-4 -7q-2 -2 -5 -4t-5 -3t-5 -1h-7h-7t-6 1t-5 3t-4 6q-2 2 -4 5t-3 6t-2 8t-1 9z M1546 540h20v88l22 -88h22l22 88v-88h22v112h-34l-20 -76l-20 76h-34v-112zM1598 988q0 26 7 56t27 56q8 12 20 24t29 22t39 17t52 9h1q1 0 2 1t2 1h3q34 0 69 -12t64 -36t48 -65t21 -99q2 -18 -4 -45t-24 -53t-50 -49t-84 -33l-3 -1q-3 -1 -7 -2t-11 -1h-13q-16 0 -39 4 t-49 18t-50 42t-40 74q0 2 -1 2t-1 1v1q0 4 -4 23t-4 45zM1688 642q0 10 2 19t8 16t14 12t18 5l22 4t57 13t80 25t91 40q8 6 18 7t18 -2t15 -9t13 -14q4 -8 5 -18t-2 -18t-8 -16t-15 -12q-52 -28 -102 -46t-90 -28t-64 -14t-28 -6h-1h-1h-1h-1q-10 0 -18 3t-14 9t-10 14 t-6 16zM1692 987q0 -15 2 -26t2 -15q8 -18 17 -32t20 -23t24 -14t29 -5h5h5t3 1l1 1q32 6 50 18t27 25t10 25t1 16q-2 40 -14 64t-29 37t-35 17t-30 4q-12 -2 -23 -5t-20 -7t-16 -9t-13 -13q-8 -12 -12 -28t-4 -31zM1787 783q1 9 5 18t10 15t16 10q10 2 19 2t17 -4t14 -11 t10 -15q0 -2 5 -16t11 -40t13 -64t13 -86q0 -10 -3 -19t-8 -16t-14 -12t-19 -5h-1h-2h-1q-8 0 -16 3t-15 9t-11 13t-4 17q-4 44 -10 78t-12 57t-10 35t-4 14q-4 8 -3 17z" />
<glyph unicode="H" d="M0 690q24 36 45 68t36 56t24 38l9 14v-374h126v142h340v-96v-44h312q50 2 92 11t77 21t63 27t48 33l3 3l3 3l3 3l1 1q4 0 34 -10t76 -25t101 -33t107 -34v118q-40 12 -84 24t-82 23t-65 19t-31 10q4 10 6 22l4 24t4 26t4 30h-122q-2 -30 -6 -52t-13 -39t-23 -31t-38 -26 q-20 -12 -42 -21t-53 -14t-75 -8t-110 -3h4h-70v3t1 2t1 3v2v446h-466l56 72h76h167h167t76 -2q12 8 23 18t22 21t22 21t21 20v-258h120v48l122 54q0 -24 11 -41t29 -27t43 -15t55 -5h114q26 0 49 6t40 15t29 22t16 29q2 10 4 44t2 75v82v65q-62 -24 -101 -39t-67 -26 t-50 -20t-50 -19v108h-124v-146l-122 -48v194h-190l-70 -62h-360l3 5t9 13t13 18t15 22h-162q-10 -12 -17 -22t-12 -18t-8 -12t-3 -6h-212v-116h140q-10 -14 -24 -35t-32 -49t-40 -60t-44 -66v-222zM240 740v44h340v-44h-340zM240 890v52h340v-52h-340zM872 646h122v174h386 v-134l122 -30v262h-630v-272zM1240 1086l152 62v-22v-17t-1 -11l-1 -4q0 -10 -4 -18t-11 -14t-16 -8t-21 -2h-46q-14 0 -23 2t-16 6t-10 11t-3 15z" />
<glyph unicode="I" d="M192 1680l2 -1568v-22q0 -59 9 -98q11 -46 36 -73t72 -37t117 -10h1194q70 0 117 10t72 37t36 73q9 39 9 98v22l2 1568q-2 74 -11 120t-36 73t-72 37t-119 10h-1190q-74 0 -119 -10t-72 -37t-36 -73t-11 -120zM448 1664h1154l-2 -1408h-1150zM894 66q2 26 11 50t28 41 t41 27t50 10q26 0 50 -10t41 -27t28 -41t9 -50q2 -26 -9 -50t-28 -41t-41 -27t-50 -10q-28 0 -50 10t-41 27t-28 41t-11 50z" />
<glyph unicode="J" d="M0 256q0 -80 13 -141t50 -103t104 -64t175 -22h1364q108 0 175 22t104 64t50 103t13 141v1284h-558q-22 70 -65 130t-101 103t-129 68t-149 25t-149 -25t-129 -68t-101 -103t-65 -130h-602v-1284zM186 256v540h186v-288q0 -52 8 -91t32 -65t66 -40t110 -14h872 q68 0 110 14t66 40t32 65t8 91v288h186v-540q0 -54 -3 -83t-17 -42t-46 -16t-90 -3h-1364q-58 0 -90 3t-46 16t-17 42t-3 83zM186 982v372h1676v-372h-372v186h-124v-186h-684v186h-124v-186h-372zM496 514v282h62v-250h124v250h684v-250h124v250h62v-282q0 -34 -2 -53 t-11 -27t-29 -10t-56 -2h-860q-36 0 -56 2t-29 10t-11 27t-2 53zM700 1540q22 52 56 94t79 73t98 48t113 17q58 0 111 -17t98 -48t80 -73t55 -94h-690z" />
<glyph unicode="K" d="M0 -128h902v902h-902v-902zM0 1018h902v902h-902v-902zM226 98v450h450v-450h-450zM226 1244v450h450v-450h-450zM1146 -128h902v902h-902v-902zM1146 1018h902v902h-902v-902zM1372 98v450h450v-450h-450zM1372 1244v450h450v-450h-450z" />
<glyph unicode="L" d="M0 444l168 -2q24 52 59 91t81 69t99 45t111 17q56 -2 109 -17t99 -45t81 -69t59 -91l404 2q24 48 59 89t81 69t99 45q47 15 99 15h12h12q50 0 97 -15q53 -17 99 -45t81 -69t59 -89l80 -2v1356l-1346 -2v2v-176l-370 2l-332 -522v-658zM202 1014l282 444l218 2v-444 q0 -2 0 -1t0 -1v2zM232 278q0 58 22 111t61 91t91 61q48 21 102 21h10h9q53 0 101 -21q52 -23 91 -61t61 -91t22 -111q0 -60 -22 -111t-61 -91t-91 -61t-110 -23q-60 2 -112 23t-91 61t-61 91t-22 111zM1226 1388v118l350 2v-52v2l-232 -490l-110 56l176 362zM1334 276 q0 62 22 113t61 91t91 61t112 23q58 -2 110 -23t91 -61t61 -91t22 -113q0 -56 -22 -109t-61 -91t-91 -61q-48 -21 -101 -21h-9h-10q-55 0 -102 21q-52 23 -91 61t-61 91t-22 109z" />
<glyph unicode="M" d="M190 704l844 -826l820 810v362l-830 -804l-578 568v856h1152v-626l256 256v626h-1664v-1222zM702 1168l150 -166l-28 -228l198 96l198 -96l-28 228l150 166l-214 44l-106 202l-106 -202z" />
<glyph unicode="N" d="M58 -128h1928v1688l-240 -242v-1206h-1446v1568h1446l240 240h-1928v-2048zM420 1198h120q0 -100 38 -188t104 -153t153 -103t187 -38t188 38t153 103t103 153t38 188h120v120h-360v-120h120q0 -76 -28 -142t-78 -115t-115 -77t-141 -28q-74 0 -140 28t-115 77t-77 115 t-28 142h120v120h-362v-120z" />
<glyph unicode="O" d="M0 896q0 -212 80 -399t219 -326t326 -219t399 -80t399 80t326 219t219 326t80 399t-80 399t-219 326t-326 219t-399 80t-399 -80t-326 -219t-219 -326t-80 -399z" />
<glyph unicode="P" d="M0 186l834 -180l184 604l188 -604l842 182l-520 1598h-1132zM198 312l328 1308h878l438 -1308l-524 -112l-300 968l-298 -968z" />
<glyph unicode="Q" d="M0 896q0 -212 80 -399t219 -326t326 -219t399 -80t399 80t326 219t219 326t80 399t-80 399t-219 326t-326 219t-399 80t-399 -80t-326 -219t-219 -326t-80 -399zM560 430v932h184v-374h560v374h184v-932h-184v374h-560v-374h-184z" />
<glyph unicode="S" d="M252 898q12 -138 69 -259t147 -214t209 -153t255 -76v-324h184v324q136 16 255 76t209 153t147 214t69 259h-144q-12 -118 -66 -222t-138 -180t-193 -120t-231 -44t-231 44t-193 120t-138 180t-66 222h-144zM660 934q0 -76 29 -142t78 -115t115 -78t142 -29t142 29 t115 78t78 115t29 142v622q0 76 -29 142t-78 115t-115 78t-142 29t-142 -29t-115 -78t-78 -115t-29 -142v-622z" />
<glyph unicode="T" d="M0 896q0 -212 80 -399t219 -326t326 -219t399 -80t399 80t326 219t219 326t80 399t-80 399t-219 326t-326 219t-399 80t-399 -80t-326 -219t-219 -326t-80 -399zM158 896q0 180 68 337t186 275t275 186t337 68t337 -68t275 -186t186 -275t68 -337t-68 -337t-186 -275 t-275 -186t-337 -68t-337 68t-275 186t-186 275t-68 337zM806 672h748v174h-574v460h-174v-634z" />
<glyph unicode="U" d="M86 -128h1876v1578h-16l14 14l-456 456l-10 -10v10h-1408v-2048zM342 128v1536h1056l308 -308v-1228h-1364zM512 426v214h1024v-214h-1024zM640 896v342h256v-342h-256zM1152 896v342h256v-342h-256z" />
<glyph unicode="V" d="M0 1093q0 225 110 415t301 301t415 111t414 -111t300 -301t110 -416q0 -300 -190 -530l570 -572l-116 -118l-572 574q-226 -182 -516 -182q-224 0 -415 111t-301 302t-110 416zM154 1093q0 -183 90 -338t244 -245t337 -90t337 90t244 245t90 338t-90 338t-244 245 t-337 90t-337 -90t-244 -245t-90 -338z" />
<glyph unicode="W" d="M0 574q0 -126 73 -230t192 -178t270 -114t307 -40q204 0 371 57t287 145t185 194t65 202q0 58 -22 104t-57 80t-78 58t-87 36q-10 4 -19 7t-14 9t-5 15t6 23q12 30 18 59t7 54t-5 48t-20 41q-24 36 -68 53t-103 17t-129 -17t-148 -51q0 2 -9 -2t-20 -5t-17 5t0 26 q10 38 15 74q4 26 4 48q0 9 -1 18q-2 30 -12 55t-30 43q-40 44 -113 44t-162 -35t-188 -104t-195 -165q-70 -72 -126 -146t-94 -147t-58 -144t-20 -137zM202 500q-1 14 -1 27q0 68 33 132q40 77 117 139t183 104t230 54q46 4 91 4q75 0 146 -12q113 -20 200 -66t141 -113 t62 -151q1 -14 1 -27q0 -68 -33 -132q-40 -77 -116 -139t-183 -104t-231 -54q-46 -4 -91 -4q-75 0 -146 12q-113 20 -199 66t-141 114t-63 150zM470 488q8 -40 35 -73t65 -54t86 -28q20 -3 40 -3q29 0 58 6q50 10 91 35t68 59t39 74q7 22 7 44q0 19 -5 38q-8 42 -34 75 t-65 54t-86 28q-19 3 -39 3q-28 0 -58 -6q-50 -10 -91 -35t-68 -59t-39 -75q-7 -25 -7 -50q0 -16 3 -33zM1356 1436q-2 -14 1 -28t10 -25t19 -20t26 -11q40 -8 74 -27t61 -46t46 -62t27 -73q4 -16 12 -27t19 -19t25 -11t30 1q14 2 26 10t19 20t10 26t1 28q-12 60 -41 113 t-71 95t-95 71t-113 41q-16 4 -30 1t-25 -11t-19 -19t-12 -27zM1358 1706q0 -14 6 -27t16 -23t23 -15t27 -5q98 0 184 -38t151 -102t102 -150t37 -184q0 -16 6 -29t15 -23t23 -15t28 -5t28 5t23 15t15 23t6 29v2q0 128 -49 240t-132 196t-196 132t-241 48q-14 0 -27 -6 t-23 -16t-16 -23t-6 -29z" />
<glyph unicode="X" d="M0 896q0 -212 80 -399t219 -326t326 -219t399 -80t399 80t326 219t219 326t80 399t-80 399t-219 326t-326 219t-399 80t-399 -80t-326 -219t-219 -326t-80 -399zM504 540l364 364l-364 364l142 142l364 -364l364 364l142 -142l-364 -364l364 -364l-142 -142l-364 364 l-364 -364z" />
<glyph unicode="Y" d="M0 1300l178 -588l-68 -220h164l68 220l184 588h-166l-98 -320l-98 320h-164zM484 644l54 -86v-64h30v62l56 88h-36l-34 -60l-36 60h-34zM532 926q0 -20 1 -37t1 -30t2 -21q2 -10 4 -19t6 -18t10 -17t12 -18q6 -8 14 -15t17 -13t19 -11t20 -9q12 -4 23 -7t24 -5t26 -3 t27 -1t27 1t26 3t25 6t22 8q12 4 22 9t18 11t16 13t14 15t11 17t9 17t7 18t3 20q2 8 3 21t1 30t1 37t1 42v62q0 24 -1 44t-1 36t-1 30t-3 22q-2 10 -4 19t-6 18t-9 17t-13 18q-6 8 -14 15t-17 13t-19 11t-20 9t-22 7t-24 5t-26 3t-26 1q-16 0 -29 -1t-26 -3t-25 -6t-22 -8 q-12 -4 -21 -9t-18 -11t-17 -13t-14 -15t-11 -17t-9 -17t-6 -18l-4 -20q-2 -8 -3 -21t-1 -30v-37v-42v-62v-44zM632 568q0 -8 1 -16t4 -15t7 -13l8 -12q4 -4 10 -8t13 -7t14 -4t15 -1q10 0 17 1t14 4t12 7t11 8l8 12t6 13t4 15t2 16q0 10 -2 18t-4 15t-6 13l-8 12l-12 8 t-12 7t-14 4t-16 1h-8t-8 -1l-8 -2t-8 -3q-2 0 -5 -2t-5 -3t-4 -3t-4 -6q-4 -2 -6 -4t-3 -5t-3 -5t-2 -6l-4 -8t-2 -9t-1 -10t-1 -11zM664 557v13v11t2 10t4 9l4 8q4 2 7 5t7 4l8 2t8 1q6 0 10 -1l8 -2t7 -4l5 -5q4 -4 6 -8t3 -8t2 -10t1 -12t-1 -12t-2 -11t-3 -9t-6 -8 l-5 -5t-7 -4l-8 -2t-10 -1q-4 0 -8 1l-8 2t-7 4l-5 5q-4 4 -6 8t-4 9t-2 10zM692 887v25v182v22t2 17t4 12t6 7q2 2 6 4t8 3t9 2t11 1q8 0 13 -1l10 -2t8 -4l5 -5l4 -8t3 -11t2 -16t1 -21v-178q0 -12 -1 -24t-2 -20t-3 -14t-4 -10t-5 -7t-8 -4t-11 -2t-14 -1h-12t-11 2t-8 4 t-5 6q-2 2 -4 8t-3 14t-1 19zM802 494h30v66h58v-66h30v150h-30v-60h-58v60h-30v-150zM946 568q0 -8 1 -16t4 -15t6 -13t9 -12q4 -4 10 -8t13 -7t14 -4t15 -1t16 1t14 4t12 7l12 8l8 12t6 13t3 15t1 16q0 10 -1 18t-3 15t-6 13t-10 12q-4 4 -10 8t-12 7t-14 4t-16 1h-9 t-9 -1t-7 -2t-7 -3q-2 0 -5 -2t-5 -3t-5 -3t-5 -6l-4 -4t-4 -5t-3 -5l-3 -6t-3 -8t-2 -9t-1 -10v-11zM976 570q0 6 1 11t3 10t4 9l4 8q4 2 7 5t7 4l8 2t8 1q6 0 10 -1t7 -2t7 -4t6 -5q4 -4 6 -8t3 -8t2 -10t1 -12t-1 -12t-2 -11t-4 -9t-5 -8q-2 -2 -6 -5t-7 -4t-8 -2t-9 -1 t-8 1l-8 2t-7 4t-7 5l-4 8t-4 9t-3 10t-1 13zM984 702h156v214h104v-214h156v598h-156v-228h-104v228h-156v-598zM1114 494h52h12h11t8 1t5 1t5 1t6 1t5 2t4 2l4 4l4 4t3 4t3 4q0 2 1 5t2 5t1 5v5t-1 5l-2 6l-2 6t-3 5l-4 4t-5 4t-6 3t-5 3q2 0 4 2t4 3t4 3t2 4q2 2 3 5t2 5 t1 5v5v4t-1 5t-2 5t-1 4l-3 3t-2 3t-3 3t-4 3q-2 0 -4 1t-3 2t-4 2t-5 1h-4t-6 1t-8 1h-8h-60v-150zM1144 520v40h26h8t8 -1t6 -1h4q2 -2 3 -2t2 -1l2 -2l3 -3l1 -2q1 -2 1 -3v-3v-2v-4v-4t-1 -3l-3 -3l-2 -1q-2 -1 -3 -2l-2 -2t-3 -1h-4h-4h-6h-8h-28zM1144 584v34h18h10h7 h5h4h3t3 -1t3 -2l3 -3l1 -1q1 -1 1 -3v-3v-3v-4v-3t-1 -2l-3 -3l-2 -1q-2 -1 -3 -2t-3 -1t-4 -2h-2h-5h-7h-8h-20zM1266 542q0 -4 1 -8t1 -8q0 -2 1 -4l2 -4l2 -4t3 -4l4 -4l4 -4t5 -3t5 -3q2 0 6 -1l8 -2t9 -1h9h8t8 1t7 2t7 1q2 2 4 3t5 3t5 3t2 3l4 4t3 5t2 5t1 6 q0 2 1 6t1 8v10v14v78h-30v-82v-10v-7t-1 -5t-1 -4v-4t-1 -3l-3 -3l-4 -4l-2 -1t-5 -2t-6 -1h-5h-7t-5 1l-4 2t-4 3q-2 0 -4 2t-3 4l-2 4t-1 4v4v5v7v8v82h-30v-80v-12v-10zM1400 644l56 -86v-64h30v62l54 88h-34l-34 -60l-36 60h-36zM1448 926q0 -20 1 -36t2 -30t1 -22 q2 -10 4 -19t6 -18t10 -17t12 -18q6 -8 14 -15t17 -13t19 -11t20 -9q12 -4 23 -7t24 -5t26 -3t27 -1t28 1t26 3t24 6t22 8q12 4 22 9t18 11t16 13t14 15t11 17t9 17t7 18t3 20q2 8 3 21t1 30t1 37t1 42v62q0 24 -1 44t-1 36t-1 30t-3 22q0 10 -3 19t-7 18t-9 17t-13 18 q-6 8 -14 15t-17 13t-18 11t-21 9q-10 4 -22 7t-24 5t-25 3t-27 1q-16 0 -29 -1t-26 -3t-25 -6t-22 -8q-12 -4 -21 -9t-18 -11t-16 -13l-15 -15q-6 -8 -11 -17t-9 -17t-6 -18l-4 -20q-2 -8 -2 -21t-1 -30t-1 -37v-42v-62v-44zM1532 494h28v28h-28v-28zM1586 568q0 -10 1 -17 t3 -14t6 -13l8 -12q6 -4 11 -8t11 -7t13 -4t15 -1q6 0 11 1l10 2t10 3t9 6q4 2 7 6t6 9t5 10t4 11l-30 10q0 -4 -2 -8t-3 -7t-3 -5l-4 -4t-5 -4t-5 -3t-5 -1h-7t-7 1t-7 2t-7 3t-5 6q-2 2 -4 6t-3 9t-2 11t-1 14q0 6 1 12t2 11t3 9t4 6q4 4 7 6t6 3t7 2t8 1h5t6 -1t5 -2 t4 -3l4 -4t3 -4t2 -5t3 -5l30 6q-2 6 -4 10t-4 7l-4 6t-4 5q-4 4 -9 7t-11 5t-12 3t-12 1q-8 0 -15 -1t-14 -4t-12 -7t-11 -8l-8 -12t-6 -13t-3 -15t-1 -18zM1608 887v25v182v22t2 17t4 12t6 7q2 2 6 4t8 3t9 2t11 1q8 0 13 -1l10 -2t8 -4l5 -5l4 -8t3 -11t2 -16t1 -21v-178 q0 -12 -1 -24t-2 -20t-3 -14t-4 -10t-5 -7t-8 -4t-11 -2t-14 -1h-12t-11 2t-8 4t-5 6q-2 2 -4 8t-3 14t-1 19zM1736 568q0 -8 1 -16t3 -15t6 -13l8 -12l12 -8t12 -7t14 -4t16 -1t16 1t14 4t12 7t10 8q6 6 9 12t6 13t4 15t1 16q0 10 -1 18t-4 15t-6 13t-9 12q-4 4 -10 8 t-13 7t-14 4t-15 1h-9t-9 -1l-8 -2t-6 -3q-4 0 -6 -2t-5 -3t-5 -3t-4 -6l-4 -4t-4 -5t-3 -5l-3 -6t-3 -8t-2 -9t-1 -10v-11zM1766 570q0 6 1 11l2 10t4 9t5 8q2 2 6 5t7 4t8 2t9 1t9 -1t8 -2t7 -4t6 -5q2 -4 5 -8t4 -8t2 -10t1 -12t-1 -12t-3 -11t-4 -9l-4 -8q-4 -2 -7 -5 t-7 -4l-8 -2t-8 -1t-8 1l-8 2t-7 4t-7 5q-2 4 -5 8t-4 9l-2 10t-1 13zM1904 494h28v118l30 -118h28l30 118v-118h28v150h-46l-26 -102l-28 102h-44v-150zM1904 700h140v136h-140v-136zM1904 882h140v418h-140v-418z" />
<glyph unicode="Z" d="M146 -128h1756l-286 1130v916l-418 2l-16 -170q-2 -38 -18 -71t-40 -58t-56 -39t-66 -14q-36 0 -67 14t-56 39t-40 58t-19 71l-14 170h-420v-908zM370 56l200 922h858l242 -922h-1300zM570 1162v574h66q6 -74 37 -138t80 -112t113 -75t136 -27q70 0 134 27t113 75t80 112 t37 138l66 -2v-572h-862z" />
<glyph unicode="[" d="M0 240h2048l-1022 1312z" />
<glyph unicode="\" d="M0 822l744 -950l738 950h-1482zM0 970h1482l-738 950z" />
<glyph unicode="]" d="M0 1552h2048l-1022 -1312z" />
<glyph unicode="_" d="M0 796v200h2048v-200h-2048z" />
<glyph unicode="a" d="M128 640q0 -26 10 -49t27 -41t41 -28t50 -10t50 10t41 28t27 41t10 49v512q0 26 -10 49t-27 41t-41 28t-50 10t-50 -10t-41 -28t-27 -41t-10 -49v-512zM448 448q0 -40 15 -75t41 -61t61 -41t75 -15h64v-256q0 -26 10 -49t27 -41t41 -28t50 -10t50 10t41 28t27 41t10 49 v256h128v-256q0 -26 10 -49t27 -41t41 -28t50 -10t50 10t41 28t27 41t10 49v256h64q40 0 75 15t61 41t41 61t15 75v704h-1152v-704zM452 1280h1144q-8 78 -36 148t-72 129t-101 106t-125 79l80 154q2 4 2 7t-1 6t-3 5l-4 4q-4 2 -7 2t-6 -1t-5 -3l-4 -4l-82 -158 q-24 8 -49 16t-51 12t-53 7t-55 3t-55 -3t-53 -7t-51 -12t-49 -16l-82 158l-4 4t-5 3t-6 1t-7 -2l-4 -4t-3 -5t-1 -6t2 -7l80 -154q-68 -32 -125 -79t-101 -106t-72 -129t-36 -148zM676 1472q0 20 7 37t19 29t29 19t37 7t37 -7t29 -19t19 -29t7 -37t-7 -37t-19 -29t-29 -19 t-37 -7t-37 7t-29 19t-19 29t-7 37zM1188 1472q0 20 7 37t19 29t29 19t37 7t37 -7t29 -19t19 -29t7 -37t-7 -37t-19 -29t-29 -19t-37 -7t-37 7t-29 19t-19 29t-7 37zM1664 640q0 -26 10 -49t27 -41t41 -28t50 -10t50 10t41 28t27 41t10 49v512q0 26 -10 49t-27 41t-41 28 t-50 10t-50 -10t-41 -28t-27 -41t-10 -49v-512z" />
<glyph unicode="b" d="M0 1027q0 -171 65 -336t197 -295q64 -66 139 -115t156 -82t166 -49t169 -16q68 0 134 10t130 30t125 49t117 69l420 -420l230 230l-420 420q90 130 129 280q29 112 29 226q0 38 -3 76q-13 152 -78 295t-181 259q-66 66 -140 115t-155 82t-166 49t-171 16q-84 0 -169 -16 t-166 -49t-156 -82t-139 -115q-132 -130 -197 -295t-65 -336zM286 1030q0 124 47 235t129 193t193 129t235 47q126 0 236 -47t192 -129t130 -193t48 -235q0 -126 -48 -236t-130 -192t-192 -130t-236 -48q-124 0 -235 48t-193 130t-129 192t-47 236z" />
<glyph unicode="c" d="M0 1252l294 -596l172 120v-654h1120v654l170 -106l292 582l-722 418l-72 -48q-16 -12 -44 -27t-60 -29t-65 -24t-61 -10q-26 0 -58 9t-64 23t-61 29t-47 29l-72 48zM184 1198l532 306l28 -17t73 -38t100 -39t107 -18t107 18t100 39t73 38l28 17l532 -306l-168 -336 l-250 148v-748h-840v748l-254 -148z" />
<glyph unicode="d" d="M0 838l966 -966l192 194l344 342v386l-536 -536l-580 580l810 808h578v-964l274 272v964h-2v2h-964zM1366 1374q0 -28 10 -53t29 -44t44 -29t53 -10t53 10t43 29t29 44t11 53t-10 53t-29 43t-44 29t-53 11t-53 -11t-44 -29t-29 -43t-10 -53z" />
<glyph unicode="e" d="M62 -128l816 2l1108 1100l-814 814l-1108 -1100zM228 136q0 20 8 37t20 30t29 20t37 7t37 -7t29 -20t20 -30t8 -37q0 -18 -8 -35t-20 -30t-29 -20t-37 -7t-37 7t-29 20t-20 30t-8 35zM234 1008l794 770l-300 142zM396 566l762 760l108 -106l-762 -762zM636 326l756 758 l108 -108l-758 -758z" />
<glyph unicode="f" d="M0 1154q0 -148 59 -254t149 -185t196 -141t196 -120q88 -58 161 -123t129 -127t91 -115t45 -87q8 32 44 86t93 117t130 129t155 124q88 62 194 124t196 141t150 184t60 253q-2 270 -127 425t-292 188q-44 9 -89 9q-123 0 -250 -68q-172 -92 -266 -314q-100 232 -272 324 q-124 66 -244 66q-47 0 -94 -10q-166 -36 -289 -196t-125 -430z" />
<glyph unicode="g" d="M268 722q0 -210 108 -366t243 -260t257 -159t148 -65q26 10 148 65t257 159t243 260t108 366v252v260v231v163q-70 48 -150 99t-173 94t-201 71t-232 28t-232 -28t-201 -71t-173 -94t-150 -99v-163v-231v-260v-252zM430 722v848q74 44 139 80t133 61t146 40t176 15 t176 -15t146 -40t133 -61t139 -80v-848q0 -76 -18 -145t-55 -132t-93 -121t-132 -114q-44 -30 -87 -57t-81 -47t-71 -35t-57 -25q-24 10 -57 25t-71 35t-81 47t-87 57q-76 56 -132 114t-93 121t-55 132t-18 145zM558 716q0 -132 68 -227t152 -158t159 -95t87 -36q12 4 87 36 t159 95t152 158t68 227v206v238v216v142q-72 36 -127 59t-107 38t-107 21t-125 6t-125 -6t-107 -21t-108 -38t-126 -59v-142v-216v-238v-206zM690 708v114h86v336h128v-336h92v412h-278v122h618v-28v-94h-212v-134h186v-124h-186v-154h234v-114h-668z" />
<glyph unicode="h" d="M0 -128h624v812h800v-812h624v1252l-1024 796l-1024 -796v-1252z" />
<glyph unicode="i" d="M384 72v1648q0 54 11 91t36 62t62 36t91 11h880q54 0 91 -11t62 -36t36 -62t11 -91v-1648q0 -54 -11 -91t-36 -62t-62 -36t-91 -11h-880q-54 0 -91 11t-62 36t-36 62t-11 91zM512 384h1024v1152h-1024v-1152zM768 1664h512v128h-512v-128zM896 128q0 -26 10 -49t27 -41 t41 -28t50 -10t49 10t41 28t28 41t10 49t-10 49t-28 41t-41 28t-49 10t-50 -10t-41 -28t-27 -41t-10 -49z" />
<glyph unicode="k" d="M0 -10v298h2048v-298h-2048zM0 762v298h2048v-298h-2048zM0 1536v298h2048v-298h-2048z" />
<glyph unicode="l" d="M0 30h1574v-158h-1574v158zM0 186v160h2048v-160h-2048zM0 488h2048v1432h-2048v-1432zM226 714v980h1596v-980h-1596z" />
<glyph unicode="m" d="M0 314l552 580l-552 548v-1128zM0 1610l1024 -1012l1018 1014zM52 182l1940 2l-586 628l-382 -398l-386 394zM1496 892l552 -576v1122z" />
<glyph unicode="n" d="M-4 1008q2 -14 3 -27t6 -25l10 -24t15 -24q8 -10 18 -20t20 -17t23 -13t23 -8q18 -4 31 -5t26 0t18 3t7 2q4 0 10 2t9 4t9 4t8 4h2q-2 -8 -2 -16t-4 -15t-7 -14t-11 -13q-4 -8 -11 -12t-13 -7t-15 -5t-15 -2h-2h-80l-2 -80h84q8 0 16 1t12 2t8 1t2 0q16 4 27 10t22 13 t20 16t19 21q6 10 13 22t10 25l6 26t1 27l2 232h-82l2 -88q-2 -8 -2 -16t-4 -15t-7 -14t-11 -13q-4 -6 -11 -11t-13 -8t-15 -5t-15 -2q-10 0 -16 2t-14 5t-14 8t-14 11q-2 6 -8 13t-8 14t-4 15t0 16l-2 88h-78zM338 930l4 -32t9 -31t14 -28t21 -25q10 -12 24 -21t27 -15 t29 -9t30 -3q18 0 32 3t30 9t27 15t25 21q10 12 20 25t15 28t9 31t2 32q2 18 -2 34t-9 30t-15 28t-20 26q-14 12 -25 21t-27 15t-30 9t-32 3q-14 0 -30 -3t-29 -9t-27 -15t-24 -21q-14 -12 -21 -26l-14 -28t-9 -30t-4 -34zM418 930q2 10 3 18t4 15t7 14t10 13q4 6 12 11 t13 8t14 4t15 1q10 0 17 -1t15 -4t13 -8t13 -11q4 -6 9 -13t7 -14t4 -15t0 -18q2 -8 0 -16t-4 -15t-7 -14t-9 -13q-8 -6 -13 -11t-13 -8t-15 -4t-17 -1q-6 0 -14 1t-14 4t-14 8t-10 11q-8 6 -12 13t-7 14t-4 15t-3 16zM678 766h82l-2 124h144l-2 -124h84l-2 206h-80h-2h-140 l-2 124h-78zM900 1014h84l-2 82h-80zM1006 930l4 -32t9 -31t14 -28t21 -25q10 -12 24 -21t27 -15t29 -9t30 -3q18 0 32 3t29 9t27 15t26 21q10 12 20 25t15 28t9 31t2 32q2 18 -2 34t-9 30t-15 28t-20 26q-14 12 -26 21t-27 15t-29 9t-32 3q-14 0 -30 -3t-29 -9t-27 -15 t-24 -21q-14 -12 -21 -26l-14 -28t-9 -30t-4 -34zM1086 930q2 10 3 18t4 15t7 14t10 13q4 6 11 11t13 8t15 4t15 1q10 0 17 -1t15 -4t13 -8t13 -11q4 -6 9 -13t7 -14t4 -15t0 -18q2 -8 0 -16t-4 -15t-7 -14t-9 -13q-8 -6 -13 -11t-13 -8t-15 -4t-17 -1q-6 0 -14 1t-14 4 t-14 8t-12 11q-6 6 -10 13t-7 14t-4 15t-3 16zM1346 766l2 74h80l2 -74h-84zM1346 840l2 -74h78l2 74h-82zM1446 930l4 -32t9 -31t15 -28t22 -25q10 -12 23 -21t26 -15t30 -9t31 -3h98l-2 80h-94q-10 0 -17 2t-15 5t-13 8t-13 11q-4 6 -9 13t-7 14t-5 15t-1 16q-2 8 1 16 t5 16t7 15t9 13q8 6 13 11t13 8t15 4t17 1h94l2 82h-98q-14 0 -31 -3t-30 -9t-26 -15t-23 -21q-14 -12 -22 -26t-15 -28t-9 -30t-4 -34zM1726 930l2 -164h78l2 164q-2 8 1 16t4 16t7 15t10 13q6 6 12 11t14 8t14 4t16 1q6 0 15 -1t15 -4t13 -8t11 -11q8 -6 11 -13t7 -15 t4 -16t2 -16l-2 -164h84l-2 164q2 18 -2 34t-9 30t-15 28t-20 26q-12 12 -24 21t-27 15t-29 9t-34 3q-14 0 -30 -3t-29 -9t-27 -15t-24 -21q-14 -12 -21 -26l-14 -28t-9 -30t-4 -34z" />
<glyph unicode="o" d="M0 896q0 -212 80 -399t219 -326t326 -219t399 -80t399 80t326 219t219 326t80 399t-80 399t-219 326t-326 219t-399 80t-399 -80t-326 -219t-219 -326t-80 -399zM158 896q0 180 68 337t186 275t275 186t337 68t337 -68t275 -186t186 -275t68 -337t-68 -337t-186 -275 t-275 -186t-337 -68t-337 68t-275 186t-186 275t-68 337z" />
<glyph unicode="p" d="M2 1414q10 -76 58 -191t125 -247t179 -268t218 -254q118 -116 255 -218t268 -179t246 -125t191 -58q16 -2 32 -2q53 0 103 21q65 27 126 81t118 126t111 150q8 12 12 25t4 26t-6 26t-16 23q-2 0 -3 1l-2 2l-2 2l-3 3l-440 314q-12 8 -25 12t-26 3t-25 -7t-22 -16 q-2 0 -2 -1t-1 -2l-2 -2l-3 -3v-1t-1 -2l-1 -1v-2q-12 -16 -18 -26t-11 -18t-11 -17t-14 -23q-12 -20 -26 -45t-28 -54t-29 -61t-29 -68q-46 8 -103 32t-122 64t-136 98t-147 134t-134 147t-99 136t-64 122t-31 103q36 14 68 29t61 29t54 28t45 26q14 8 23 14t17 11t18 11 t26 16l2 2l1 1q1 1 2 1h1l3 3t2 1t2 1t1 3q10 10 16 22t7 25t-3 26t-12 25l-314 440q-2 0 -3 2t-2 3l-2 2t-1 3q-10 10 -23 15t-26 6t-26 -3t-25 -12q-78 -54 -150 -111t-126 -118t-82 -126q-21 -48 -21 -99q0 -18 3 -36z" />
<glyph unicode="q" d="M282 896q2 -152 59 -287t159 -236t236 -159t288 -58q150 0 286 58t236 159t159 236q57 131 57 277v10v10q0 146 -57 277q-59 135 -159 236t-236 159t-286 58q-154 0 -288 -58t-236 -159t-159 -236t-59 -287zM456 896v10q0 112 43 212q45 104 121 181t181 121t221 44 q120 0 223 -44t181 -121t121 -181t45 -222q-2 -118 -45 -222t-121 -181t-181 -121t-223 -44q-116 0 -221 44t-181 121t-121 181q-43 100 -43 212v10zM680 42h686l-2 -170h-682zM680 1750l2 170h682l2 -170h-686zM966 1294l2 -454h338l2 112h-230l2 342h-114z" />
<glyph unicode="s" d="M0 134l2048 2v620l-1052 516l-148 382l-848 -168v-1352zM180 390v946l578 118l116 -332l86 -40l-84 -174l106 -52l86 170l134 -64l-86 -174l108 -52l86 170l134 -64l-88 -174l108 -52l88 170l316 -154v-244z" />
<glyph unicode="t" d="M0 448h384v-512l516 512h1148v1408h-2048v-1408zM418 876v174h1100v-174h-1100zM418 1224v174h1212v-174h-1212z" />
<glyph unicode="u" d="M0 -128h2048v334q0 92 -80 173t-219 142t-326 96t-399 35t-399 -35t-326 -96t-219 -142t-80 -173v-334zM468 1366q0 116 43 216t118 176t176 119t215 43q116 0 216 -43t176 -119t119 -176t43 -216q0 -114 -43 -215t-119 -176t-176 -118t-216 -43q-114 0 -215 43t-176 118 t-118 176t-43 215z" />
<glyph unicode="v" d="M0 -128h2048v2048h-2048v-2048zM252 888l142 142l414 -416l846 846l142 -142l-988 -986z" />
<glyph unicode="w" d="M-2 1108q2 -76 21 -144t57 -129t91 -115t123 -102l-74 -218l254 126q32 -6 65 -12t62 -12t61 -9t64 -3q12 0 19 1t17 1h17t17 2q-6 18 -10 36t-7 37t-4 39t-3 40q2 118 49 223t131 182t196 123t242 46q8 0 17 -1t17 -1t18 -1t16 -3q-22 110 -90 203t-165 161t-220 107 t-255 39q-150 0 -281 -48t-231 -131t-156 -196t-58 -241zM378 1326q2 20 11 37t25 28t35 18t41 7q18 0 36 -7t28 -18t18 -28t6 -37q2 -22 -6 -38t-18 -28t-28 -19t-36 -7q-24 0 -42 7t-34 19t-25 28t-11 38zM814 654q2 -108 49 -204t131 -168t195 -113t243 -41q26 0 54 3 t54 8t54 12t54 13l200 -108l-56 180q56 42 102 89t81 100t53 110t20 119h-2v8q0 103 -49 196q-51 96 -135 168t-197 113t-233 41q-132 0 -243 -41t-195 -113t-131 -168t-49 -204zM888 1326q-2 20 8 37t25 28t35 18t38 7q24 0 39 -7t28 -18t19 -28t8 -37q-2 -22 -8 -38 t-19 -28t-28 -19t-39 -7q-18 0 -38 7t-35 19t-25 28t-8 38zM1160 818q-2 12 5 25t16 24t23 17t26 6q22 0 38 -6t29 -17t19 -24t8 -25q-2 -14 -8 -27t-19 -23t-29 -17t-38 -7q-12 0 -26 7t-23 17t-16 23t-5 27zM1558 818q2 12 7 25t16 24t23 17t28 6q18 0 35 -6t28 -17 t19 -24t6 -25q2 -14 -6 -27t-19 -23t-28 -17t-35 -7q-16 0 -28 7t-23 17t-16 23t-7 27z" />
<glyph unicode="x" d="M0 888q0 -212 80 -398t219 -325t326 -220t399 -81t399 81t326 220t219 325t80 398t-80 399t-219 326t-326 219t-399 80t-399 -80t-326 -219t-219 -326t-80 -399zM158 888q0 180 68 338t186 275t275 185t337 68t337 -68t275 -185t186 -275t68 -338q0 -178 -68 -336 t-186 -275t-275 -186t-337 -69t-337 69t-275 186t-186 275t-68 336zM504 540l142 -142l364 364l364 -364l142 142l-364 364l364 364l-142 142l-364 -364l-364 364l-142 -142l364 -364z" />
<glyph unicode="y" d="M0 1042q0 -18 3 -36t8 -35t13 -32t20 -29q10 -16 23 -28t27 -22t29 -17t33 -11q20 -6 39 -6t34 1t24 3l9 2q6 2 13 4t13 4t12 5t12 7q0 -12 -2 -22t-6 -20t-10 -19t-12 -17q-8 -8 -16 -14t-17 -10t-19 -6t-20 -2h-108v-106h108q10 0 20 1t17 2t11 2l4 1q16 4 32 11t30 17 t26 22t24 28q10 14 18 30t14 32t8 34t2 36v304h-104v-114q0 -12 -2 -22t-6 -20t-10 -19t-12 -17q-8 -8 -16 -14t-17 -11t-19 -7t-22 -2q-10 0 -20 2t-19 7t-17 11t-16 14t-13 17t-9 19t-6 20t-2 22v114h-106v-114zM450 938q0 -22 4 -43t11 -40t19 -36t26 -33q16 -16 33 -28 t35 -20t38 -12t42 -4t42 4t38 12t35 20t33 28q14 16 26 33t19 36t11 40t4 43t-4 43t-11 40t-19 37t-26 34q-16 16 -33 28t-35 20t-38 12t-42 4t-42 -4t-38 -12t-35 -20t-33 -28q-14 -16 -26 -34t-19 -37t-11 -40t-4 -43zM492 650v46h18q2 0 3 -1t2 -1h2h3l1 -1q1 -1 2 -1 t1 -1t2 -1v-2l1 -1q1 -1 1 -2v-1v-2l-1 -1q-1 -1 -1 -2v-1l-1 -1q-1 -1 -2 -1t-1 -1t-2 -1q2 0 3 -1t2 -1t1 -1t2 -1v-2l1 -1q1 -1 1 -2v-3v-1v-2t-1 -1t-1 -2l-1 -1l-1 -1v-1q0 -1 -2 -1h-1q-1 0 -1 -1t-1 -1h-3h-1h-2h-2h-3h-18zM498 654h12h2l1 1l1 1h2h1h1h2v1v1h1h1v2 v1v1v2v1v1v2h-2v1q0 1 -1 1h-1h-2h-1h-2h-3h-12v-16zM498 676h12h1h2h2h1l1 1l1 1h1h1v2v1v1v2v1v1q0 2 -1 2h-1h-1q-1 0 -1 2h-1h-2h-2h-3h-10v-14zM536 662v4v4t1 3t2 3l1 2l3 3t3 1t4 1t4 1t3 -1t3 -1t3 -1l3 -3l1 -2q1 -2 2 -3t1 -3v-4v-1v-1h-28l1 -2t1 -3t1 -1t1 -2 l1 -1q1 -1 2 -1h2h3h1h2h1l2 2h1q1 0 1 1t1 2l1 1h6q0 -2 -1 -3l-2 -2t-1 -2t-2 -1q0 -2 -2 -2h-3t-2 -1t-3 -1t-4 1t-4 1t-3 1l-3 3l-1 2q-1 2 -2 3t-1 3zM542 670h22l-1 1q-1 1 -1 2v1v2q-2 0 -3 1t-2 1h-2h-1h-3h-2t-2 -1l-1 -1l-1 -1q-1 -1 -1 -2v-2t-2 -1zM556 938 q0 12 2 22t5 20t9 19t14 17q6 8 15 14t18 11t19 7t20 2t20 -2t19 -7t18 -11t15 -14q8 -8 14 -17t9 -19t5 -20t2 -22q0 -10 -2 -21t-5 -20t-9 -18t-14 -17q-6 -8 -15 -14t-18 -11t-19 -7t-20 -2t-20 2t-19 7t-18 11t-15 14q-8 8 -14 17t-9 18t-5 20t-2 21zM578 650v32h6v-32 h-6zM578 688v8h6v-8h-6zM594 650v32h6v-4q0 2 1 3t3 1t3 1t3 1h3t1 -1t1 -1h1h2l1 -1l1 -1h2v-2v-1v-1h2v-2v-1v-2v-1v-20h-6v20v1q0 1 -1 2l-1 1v2l-1 1l-1 1h-1h-1h-1h-1h-3h-2t-1 -1t-2 -1l-1 -1t-1 -2v-2v-3v-18h-6zM630 666v3t1 2t1 2v1q0 2 1 3l2 2t2 1t1 2h1q1 0 3 1 t3 1h1q2 0 4 -1t3 -1t2 -1l3 -3v4h6v-28q0 -2 -1 -4t-1 -3v-2v-1q-2 -2 -2 -3t-1 -1t-2 -1l-1 -1q-2 0 -3 -1t-2 -1h-2h-3h-3t-2 1t-3 1h-2q-2 2 -2 3t-1 2t-1 2v1h6v-1v-1l1 -1l1 -1h1t2 -1t2 -1h1h3t2 1l1 1h2v1q0 1 1 1t1 1v1v2v1v2v3q0 -2 -1 -2t-3 -1t-3 -1h-3h-3t-3 1 t-3 2t-3 1q0 2 -1 3t-1 3t-1 3t-1 3zM638 661q0 -1 1 -2l1 -1q0 -2 1 -2t2 -1t2 -1h3h1q1 0 2 1t2 1t1 2q2 0 2 1v2t1 2t1 3t-1 3t-1 2v2t-2 3l-1 1q-1 1 -2 1h-2h-1h-3h-2t-2 -1l-1 -1q0 -2 -1 -3t-1 -2v-2v-3v-2v-3zM688 682h8l6 -18q2 -2 2 -3v-2t1 -2l1 -1v1t1 2t1 2v3 l8 18h6l-14 -34l-1 -1q-1 -1 -1 -2v-2t-2 -1v-2l-1 -1l-1 -1q-2 0 -2 -1t-1 -1h-2h-1h-1h-1h-1h-1v6h1h1h2h1h1l1 1l1 1l1 1q1 1 1 2v1v1v1zM726 662v4v4t1 4t2 3t1 3q2 0 3 1t3 1t3 1t3 1t4 -1t3 -1t3 -1t2 -3q2 0 3 -1t2 -3t1 -4v-4v-3t-1 -2t-1 -2v-3l-1 -1l-2 -2t-2 -1 t-1 -2h-3h-2t-2 -1t-3 -1t-3 1t-3 1t-3 1l-3 3q-2 0 -2 2t-1 3t-1 3zM732 661q0 -1 1 -2t1 -3q2 0 3 -1t2 -1h2h1h3h2t2 1l1 1q0 2 1 3t1 2t1 2t1 3t-1 3t-1 2t-1 2t-1 3l-1 1q-1 1 -2 1h-2h-3h-1h-2t-2 -1t-3 -1q0 -2 -1 -3t-1 -2v-2v-3v-3v-2zM766 661v1v20h8v-18v-1v-2 v-2v-1v-1v-1h1q1 0 1 -2h1h1h1h1h2h1h2t1 2h1h1l1 1l1 1v2v1v2v1v18h6v-32h-4v4q-2 0 -3 -2t-3 -2t-3 -1t-3 -1t-2 1t-1 1h-2h-1h-2l-1 1l-1 1l-2 2v1v1v2l-1 1q-1 1 -1 2zM806 650v32h6v-4l3 3t2 1t3 1t4 1h1q1 0 2 -1t2 -1h1h1q1 0 2 -1l1 -1q0 -2 1 -2t1 -1v-1v-2v-1v-2 v-1v-20h-6v20v1v2v1q0 2 -1 2h-1v1q0 1 -2 1h-1h-1h-2h-1h-2t-2 -1l-1 -1l-1 -1q-1 -1 -1 -2t-1 -2t-1 -3v-18h-6zM844 646h8v-1v-1v-1q0 -1 2 -1h1q1 0 1 -1t1 -1h3h1q1 0 2 1t2 1h1l1 1l1 1l1 1l1 1v2v1v2v3q-2 -2 -3 -2t-2 -1t-2 -1h-3h-4t-3 1t-3 2l-2 1q-2 2 -2 3t-1 3 t-1 3v3v3v2t1 2l1 1q0 2 1 3t1 2t1 1t3 2h1q1 0 2 1t2 1h3t3 -1t3 -1t3 -1t1 -3v4h6v-28v-4v-3t-1 -2l-1 -1q0 -2 -1 -3l-1 -1l-1 -1q-1 -1 -3 -1l-1 -1q-1 -1 -2 -1h-3h-2h-4t-3 1t-2 1h-3q0 2 -1 3t-1 2t-1 2zM850 664q0 -2 1 -3t1 -2t2 -1q0 -2 1 -2t2 -1t2 -1h1h3t2 1 l1 1l2 2l1 1q1 1 1 2v2v3v3v2t-1 2t-1 3q-2 0 -2 1t-1 1h-2h-3h-1h-2t-2 -1l-1 -1q-2 -2 -2 -3t-1 -2t-1 -2v-3v-2zM896 722h106v164h186v-164h106v270h-106h-186v164h-106v-434zM906 650v32h6v-32h-6zM906 688v8h6v-8h-6zM918 660h6l1 -1q1 -1 1 -2v-1h2q0 -2 1 -2h2h2h1h3 h1h1q1 0 1 2h2v1v1v2v1q0 1 -2 1h-1q-1 0 -2 1t-3 1h-3t-2 1t-2 1h-3v1q0 1 -1 1h-1l-2 2v1v2v1v1v1v1v1l1 1l1 1h1h1v2h1h2h1l1 1q1 1 2 1h1h2h1q1 0 2 -1t2 -1h1h2l1 -1q1 -1 2 -1h1v-2l1 -1q1 -1 1 -2v-1h-6v1q0 1 -1 1h-1v2h-2h-1h-2h-1h-3h-1h-1h-1q-2 0 -2 -1v-1v-1 v-1v-1v-1h1h1q0 -2 1 -2h2h2h1q2 0 3 -1t3 -1h2l2 -2h1h1l1 -1l1 -1v-1v-1l1 -1l1 -1q0 -2 -1 -2t-1 -1v-2v-1q-2 0 -2 -1t-1 -1t-2 -1l-1 -1h-1h-2t-2 -1t-3 -1t-3 1t-3 1h-3t-1 2q-2 0 -3 1t-1 2t-1 2t-1 3zM974 657v1v1v2t1 1h1v2h1q1 0 1 1v1h2l1 1l1 1h2h1h2h1q2 0 4 1 t3 1h2h3v1v1v1v2t-1 1h-1q0 2 -1 2h-2h-2h-3h-1h-2h-1h-2v-2l-1 -1l-1 -1v-2l-6 2v1v1l1 1l1 1q0 2 1 2t1 1t1 1h3h1t2 1t2 1h3h2q2 0 3 -1l1 -1h2h1q1 0 1 -1t1 -1h1v-1q0 -1 1 -1t1 -1v-1v-1v-1v-1v-3v-6v-4v-3v-2v-1v-1q0 -1 1 -1t1 -1v-1h-6h-1q-1 0 -1 1v2v1l-1 -1 q-1 -1 -2 -1t-2 -1l-1 -1h-2h-1q-1 0 -2 -1t-3 -1l-2 1q-2 1 -3 1h-2t-1 2q-2 0 -2 1t-1 2t-1 2zM980 658l1 -1l1 -1v-2h2h1h2h1h2h1h2h1l2 2h1q1 0 1 1v1q2 0 2 1v2v2v1v2h-2q-2 0 -3 -1t-2 -1h-3h-2h-1h-2t-1 -2h-1h-1v-2h-1q-1 0 -1 -1v-1zM1016 650v32h6v-4q0 2 1 3t3 1 t4 1t4 1h1q1 0 2 -1l1 -1h2h1q1 0 1 -1t1 -1h1v-2v-1q0 -1 1 -1h1v-2v-1v-2v-1v-20h-6v20v1v2t-1 1h-1v2l-1 1l-1 1h-1h-1h-1h-1h-3h-1l-1 -1q-1 -1 -3 -1v-1q0 -1 -1 -2t-1 -2v-3v-18h-6zM1072 658v1q0 1 1 2l1 1q0 2 1 2h1v1q0 1 2 1l1 1q1 1 2 1h1h1h1h1h3t3 1t3 1h3h1v1 v1v1v2v1h-2q0 2 -1 2h-2h-2h-1h-3h-1h-1h-1l-2 -2l-1 -1l-1 -1v-2l-6 2v1t1 1t1 1v1l2 2l1 1q1 1 2 1h1h1q1 0 3 1t3 1h1h3t2 -1t2 -1h1h1q1 0 2 -1l1 -1l1 -1l1 -1v-1v-1v-1v-1v-1v-3v-6v-4v-3t1 -2l1 -1v-1v-1v-1v-1h-6v1v2t-2 1l-1 -1q-1 -1 -2 -1t-1 -1t-2 -1h-1h-2 t-2 -1l-1 -1q-2 0 -3 1t-3 1h-3t-1 2l-1 1q-1 1 -1 2t-1 2zM1080 656l2 -2h1h1h1h1h3h2h1h2q0 2 1 2h1l1 1l1 1v1v2v2v1v2h-1q-1 0 -2 -1t-3 -1h-4h-1h-2h-1l-2 -2h-1h-1v-2v-1v-1v-1v-1zM1110 678v4h6v8l6 4v-12h6v-4h-6v-20v-1v-1v-1q0 -1 2 -1h2h1h1v-4h-1h-1h-1h-1h-1 h-2h-1h-2l-1 1l-1 1v2v1v2v3v18h-6zM1130 678v4h6v8l6 4v-12h6v-4h-6v-20v-1v-1v-1v-1h2h2h1h1v-4h-1h-1h-1h-1h-1h-2h-1h-2l-1 1l-1 1v2v1v2v3v18h-6zM1154 650v32h6v-32h-6zM1154 688v8h6v-8h-6zM1166 678v4h4v8l6 4v-12h8v-4h-8v-20l1 -1l1 -1v-1v-1h1h1h1h1h2v-4h-1h-2 h-1h-3h-1h-1h-1h-1q-1 0 -1 1v1q0 2 -1 2t-1 1v2v3v18h-4zM1188 1050h106v106h-106v-106zM1190 655v1v2v1v2v1v20h6v-18v-1v-2v-2v-1v-1v-1h1q1 0 1 -2h1h1h1h1h3h1h1q1 0 1 2h1h1l1 1l1 1v2v1v2v1v18h8v-32h-6v4q-2 0 -3 -2t-3 -2t-3 -1t-3 -1t-2 1t-1 1h-2h-1h-2l-1 1 l-1 1q0 2 -1 2t-1 1zM1226 663v3v3t1 2t1 2v1q0 2 1 3l2 2t2 1t1 2h1q1 0 2 1t3 1h2h2l1 -1q1 -1 2 -1h1l1 -1q1 -1 2 -1h1v-2v18h6v-46h-6v4q0 -2 -1 -3t-2 -1t-3 -1t-4 -1l-1 1q-1 1 -2 1h-2t-3 2h-1q-1 0 -2 1t-1 2t-2 3v1q0 1 -1 2t-1 2zM1232 666q0 -2 1 -3t1 -2t1 -2 t1 -3l1 -1q1 -1 2 -1h2h3h1h2t2 1l1 1q0 2 1 3t1 2t1 2t1 3t-1 3t-1 2t-1 2t-1 3l-1 1q-1 1 -2 1h-2h-3h-1h-2t-2 -1l-1 -1q0 -2 -1 -3t-1 -2t-1 -2t-1 -3zM1266 662v4v4t1 3t2 3t3 2q0 2 1 3t3 1t4 1t4 1t3 -1t3 -1t3 -1l3 -3l1 -2q1 -2 2 -3t1 -3v-4v-1v-1h-28l1 -2t1 -3 t1 -1t1 -2l1 -1q1 -1 2 -1h2h3h1h2h1l2 2h1q1 0 1 1t1 2l1 1h6q0 -2 -1 -3l-2 -2t-1 -2t-2 -1q0 -2 -2 -2h-3t-2 -1t-3 -1t-4 1t-4 1t-3 1l-3 3l-1 2q-1 2 -2 3t-1 3zM1274 670h20l-1 1q-1 1 -1 2v1v2q-2 0 -3 1t-2 1h-2h-1h-3h-2t-1 -1t-2 -1l-1 -1q-1 -1 -1 -2v-2v-1z M1326 938q0 -22 4 -43t12 -40t19 -36t27 -33t32 -28t35 -20t39 -12t42 -4q20 0 40 4t39 12t36 20t31 28q16 16 27 33t19 36t12 40t4 43t-4 43t-12 40t-19 37t-27 34q-14 16 -31 28t-36 20t-39 12t-40 4q-22 0 -42 -4t-39 -12t-35 -20t-32 -28t-27 -34t-19 -37t-12 -40 t-4 -43zM1432 938q0 12 2 22t6 20t10 19t12 17q8 8 16 14t17 11t19 7t22 2q10 0 20 -2t19 -7t17 -11t16 -14t13 -17t9 -19t6 -20t2 -22q0 -10 -2 -21t-6 -20t-9 -18t-13 -17t-16 -14t-17 -11t-19 -7t-20 -2q-12 0 -22 2t-19 7t-17 11t-16 14q-6 8 -12 17t-10 18t-6 20t-2 21 zM1774 722h106v98h-106v-98zM1774 854h106v302h-106v-302zM1938 1150v6h46v-6h-20v-42h-8v42h-18zM1992 1108v48h12l14 -34v-3t1 -2t1 -2v-1l1 1t1 2v2t2 3l14 34h10v-48h-8v40l-16 -40h-8l-16 40v-40h-8z" />
<glyph unicode="z" d="M166 -128h1716v2048h-1716v-2048zM364 70v330h1320v-330h-1320zM364 532v1190h1320v-1190h-1320zM924 236q0 -22 8 -40t22 -31t32 -21t38 -8t38 8t32 21t22 31t8 40q0 20 -8 38t-22 31t-32 21t-38 8t-38 -8t-32 -21t-22 -31t-8 -38z" />
<glyph unicode="{" d="M368 894l1312 1026v-2048z" />
<glyph unicode="|" d="M0 736q0 236 119 437t319 313q-158 36 -273 150t-147 270q308 -124 650 -124q212 0 420 52q88 18 198 60q4 2 11 4t11 4q32 10 68 10q86 0 151 -59t69 -143v-14v-14q-4 -4 -6 -8q-8 0 -20 -2t-16 -2q-138 -14 -372 -72q-22 -10 -66 -24q-322 -122 -582 -376 q-8 -10 -26 -30t-28 -28q-42 -48 -76 -108q-72 -134 -72 -290q0 -122 54 -248q64 -124 182 -203t260 -91q14 -2 42 -2q226 0 386 158t160 383t-160 383t-386 158q-6 0 -21 -1t-21 -1q92 46 184 60q48 12 104 12h4h4q212 0 378 -130t218 -334q22 -74 18 -150q0 -92 -18 -156 q-56 -304 -296 -506t-558 -202q-262 0 -477 143t-317 377q-72 162 -72 344zM8 1912q2 0 10 8q4 -4 4 -14q-2 2 -7 3t-7 3zM590 736l280 282l282 -282l-282 -280zM1116 122h4h-4z" />
<glyph unicode="}" d="M368 -126l1312 1022l-1312 1026v-2048z" />
<glyph unicode="~" horiz-adv-x="2192" d="M404 1202q0 138 54 268q50 124 148 222q94 94 220 146q126 54 268 54q144 0 270 -54q122 -50 220 -146q96 -96 148 -222q54 -130 54 -268t-54 -268q-34 -78 -72 -130l-458 -694q-46 -70 -106 -70q-62 0 -110 70l-456 694q-44 64 -72 130q-54 130 -54 268zM838 1202 q0 -108 74 -182q76 -76 182 -76t182 76t76 182t-76 182t-182 76t-182 -76q-74 -74 -74 -182z" />
<glyph unicode="&#xa0;" horiz-adv-x="1024" d="M0 0z" />
<glyph unicode="&#xad;" d="M438 460l142 -142l436 436l438 -436l140 142l-436 436l436 436l-140 142l-438 -436l-436 436l-142 -142l438 -436z" />
<glyph unicode="&#x2000;" horiz-adv-x="963" />
<glyph unicode="&#x2001;" horiz-adv-x="1926" />
<glyph unicode="&#x2002;" horiz-adv-x="963" />
<glyph unicode="&#x2003;" horiz-adv-x="1926" />
<glyph unicode="&#x2004;" horiz-adv-x="642" />
<glyph unicode="&#x2005;" horiz-adv-x="481" />
<glyph unicode="&#x2006;" horiz-adv-x="321" />
<glyph unicode="&#x2007;" horiz-adv-x="321" />
<glyph unicode="&#x2008;" horiz-adv-x="240" />
<glyph unicode="&#x2009;" horiz-adv-x="385" />
<glyph unicode="&#x200a;" horiz-adv-x="107" />
<glyph unicode="&#x2010;" d="M438 460l142 -142l436 436l438 -436l140 142l-436 436l436 436l-140 142l-438 -436l-436 436l-142 -142l438 -436z" />
<glyph unicode="&#x2011;" d="M438 460l142 -142l436 436l438 -436l140 142l-436 436l436 436l-140 142l-438 -436l-436 436l-142 -142l438 -436z" />
<glyph unicode="&#x2012;" d="M438 460l142 -142l436 436l438 -436l140 142l-436 436l436 436l-140 142l-438 -436l-436 436l-142 -142l438 -436z" />
<glyph unicode="&#x2013;" horiz-adv-x="1916" d="M438 460l126 -142l386 436l388 -436l124 142l-386 436l386 436l-124 142l-388 -436l-386 436l-126 -142l388 -436z" />
<glyph unicode="&#x2014;" horiz-adv-x="2940" d="M438 460l252 -142l772 436l776 -436l248 142l-772 436l772 436l-248 142l-776 -436l-772 436l-252 -142l776 -436z" />
<glyph unicode="&#x202f;" horiz-adv-x="385" />
<glyph unicode="&#x205f;" horiz-adv-x="481" />
<glyph unicode="&#x25fc;" horiz-adv-x="1910" d="M0 0v1910h1910v-1910h-1910z" />
</font>
</defs></svg>
\ No newline at end of file
<?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 Fri Oct 23 16:38:57 2015
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="812"
descent="-212"
x-height="792"
bbox="-0.75 -224 3943 812.871"
underline-thickness="50"
underline-position="-100"
unicode-range="U+0078-E628"
/>
<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="&#xe600;" horiz-adv-x="1463"
d="M798 -160q0 -46 25 -58t61 16l537 420q36 28 36 68t-36 68l-537 424q-36 29 -61 16.5t-25 -57.5v-238q-138 0 -252.5 -24.5t-192 -63.5t-137.5 -94t-94.5 -109t-57.5 -117t-31.5 -109.5t-11 -94t-1.5 -63.5t2 -25q47 62 87 104t90 78t103.5 57.5t127 36.5t161.5 21t207 6
v-262z" />
<glyph glyph-name="uniE601" unicode="&#xe601;"
d="M281 372q-9 -6 -16.5 -14.5t-11.5 -18t-4 -18.5v-7v-483h1q4 -15 13.5 -28t24 -20t30.5 -7h582q28 0 48.5 20t20.5 49t-20.5 49t-48.5 20h41q35 0 59 24.5t24 58.5t-24 58.5t-59 24.5q35 0 59 24t24 59q0 16 -6.5 31.5t-17.5 26.5t-26.5 17.5t-32.5 6.5h-48q21 0 38 10.5
t27.5 27.5t10.5 38v-13q0 31 -22.5 54t-53.5 24q-125 6 -259 9q40 148 16 278q-4 25 -13.5 44.5t-22 31.5t-27 19.5t-29.5 8t-29.5 -2.5t-27.5 -12t-23 -21t-15.5 -30t-5.5 -38q-3 -19 -4.5 -36.5t-2.5 -28.5v-22q-1 -11 -2 -18.5t-2 -16t-3 -16.5t-5.5 -18t-8.5 -23
q-24 -60 -133 -115q-4 -1 -7 -2.5t-6 -3.5l-2 -1v0zM60 356q-25 0 -42.5 -17.5t-17.5 -42.5v-405q0 -25 17.5 -42.5t42.5 -17.5h134v525h-134z" />
<glyph glyph-name="uniE602" unicode="&#xe602;" horiz-adv-x="1323"
d="M643 472q0 -68 -47.5 -116t-113.5 -48q0 -68 47 -116t113.5 -48t113.5 48t47 116t-47 116t-113 48zM643 800q-68 0 -139.5 -21.5t-133 -57t-119 -80.5t-102.5 -93t-79 -94t-52 -84t-18 -62q0 -28 25 -75t68 -102t105 -111t131 -101.5t152 -74.5t161.5 -29t161.5 29
t152 74.5t131 101.5t105 111t68 102t25 75t-25 75t-68 101.5t-105 110.5t-131 102t-152 74.5t-161 28.5zM643 -21q-88 0 -162 44t-117 120t-43 165q0 66 25.5 127t68.5 105t102.5 70t125.5 26q131 0 225 -94q94 -99 96 -234q0 -30 -5.5 -59t-15 -55.5t-23.5 -51.5t-32 -46
t-38.5 -39.5t-44.5 -32.5t-50 -24t-54.5 -15.5t-57.5 -5.5z" />
<glyph glyph-name="uniE603" unicode="&#xe603;"
d="M512 286v343h85v-426h-81v-2h-256v85h252zM512 -224q139 0 257 68.5t186.5 186.5t68.5 257t-68.5 257t-186.5 186.5t-257 68.5t-257 -68.5t-186.5 -186.5t-68.5 -257t68.5 -257t186.5 -186.5t257 -68.5z" />
<glyph glyph-name="uniE604" unicode="&#xe604;"
d="M774 324q6 -9 9.5 -19t2.5 -20.5t-5.5 -20.5t-12.5 -18l-1 -1l-427 -428q-18 -17 -42.5 -17t-41.5 17q-12 12 -16 27t0 30.5t15 26.5l387 387l-387 387q-17 17 -17 41.5t17.5 42t42 17.5t42.5 -17l427 -428q1 0 1 -1q2 -1 3.5 -2.5t2.5 -3.5z" />
<glyph glyph-name="uniE605" unicode="&#xe605;"
d="M707 748q-55 0 -105 -20.5t-90 -56.5q-40 36 -90 56.5t-105 20.5q-34 0 -67 -8t-62 -23t-54.5 -35.5t-45.5 -46.5t-34.5 -55.5t-22 -63t-7.5 -68.5q0 -110 69 -194l2 -2l344 -391q30 -33 73 -33t73 33l344 391q0 1 1 2h1q22 27 37.5 58.5t23.5 66t8 69.5q0 49 -14.5 94.5
t-42 82.5t-63.5 64.5t-80.5 43t-92.5 15.5z" />
<glyph glyph-name="uniE606" unicode="&#xe606;" horiz-adv-x="1000"
d="M109 415q19 0 35.5 -7t28.5 -19t19.5 -29t7.5 -35q0 -25 -12.5 -45.5t-33 -32.5t-45.5 -12q-37 0 -63.5 26.5t-26.5 63.5t26.5 63.5t63.5 26.5zM515.5 415q37.5 0 63.5 -26.5t26 -63.5t-26 -63.5t-63.5 -26.5t-64 26.5t-26.5 63.5t26.5 63.5t64 26.5zM921 415
q37 0 63.5 -26.5t26.5 -63.5t-26.5 -63.5t-63.5 -26.5t-63.5 26.5t-26.5 63.5t26.5 63.5t63.5 26.5z" />
<glyph glyph-name="uniE607" unicode="&#xe607;" horiz-adv-x="1643"
d="M547 190h-1l45 -46l248 239l-45 46l-201 -194l-195 201l-46 -44z" />
<glyph glyph-name="uniE608" unicode="&#xe608;" horiz-adv-x="1821"
d="M930 135q-14 -13 -33.5 -13t-33.5 13l-252 242q-14 13 -14 32t14 32t34 13t34 -13l251 -242q6 -5 9.5 -11.5t4.5 -13.5t0 -14t-4.5 -13.5t-9.5 -11.5zM360 135q-14 13 -14 32t14 32l251 242q14 13 34 13t34 -13q6 -6 9.5 -15t3.5 -17.5t-3.5 -17t-9.5 -14.5l-252 -242
q-14 -13 -33.5 -13t-33.5 13z" />
<glyph glyph-name="uniE609" unicode="&#xe609;" horiz-adv-x="1821"
d="M930 377l-251 -242q-14 -13 -34 -13t-34 13q-9 9 -12 20.5t0 23.5t12 20l252 242q14 13 33.5 13t33.5 -13t14 -32t-14 -32zM427 441l252 -242q9 -8 12 -20t0 -23.5t-12 -20.5q-14 -13 -34 -13t-34 13l-251 242q-14 13 -14 32t14 32q6 7 15 10.5t18 3.5t18 -3.5t16 -10.5z
" />
<glyph glyph-name="uniE60A" unicode="&#xe60a;"
d="M1024 288q0 -139 -68.5 -257t-186.5 -186.5t-257 -68.5t-257 68.5t-186.5 186.5t-68.5 257t68.5 257t186.5 186.5t257 68.5t257 -68.5t186.5 -186.5t68.5 -257zM801 498l-365 -366l-156 156l-37 -37l193 -193l403 403z" />
<glyph glyph-name="uniE60B" unicode="&#xe60b;" horiz-adv-x="1344"
d="M1280 236h-1216q-27 0 -45.5 18.5t-18.5 45.5t18.5 45.5t45.5 18.5h1216q27 0 45.5 -18.5t18.5 -45.5t-18.5 -45.5t-45.5 -18.5zM1280 -212h-1216q-27 0 -45.5 18.5t-18.5 45.5t18.5 45.5t45.5 18.5h1216q27 0 45.5 -18.5t18.5 -45.5t-18.5 -45.5t-45.5 -18.5zM1280 684
h-1216q-27 0 -45.5 18.5t-18.5 45.5t18.5 45.5t45.5 18.5h1216q27 0 45.5 -18.5t18.5 -45.5t-18.5 -45.5t-45.5 -18.5z" />
<glyph glyph-name="uniE60C" unicode="&#xe60c;"
d="M1024 300q0 -139 -68.5 -257t-186.5 -186.5t-257 -68.5t-257 68.5t-186.5 186.5t-68.5 257t68.5 257t186.5 186.5t257 68.5t257 -68.5t186.5 -186.5t68.5 -257z" />
<glyph glyph-name="uniE60D" unicode="&#xe60d;" horiz-adv-x="1685"
d="M1229 -77l289 -135l58 124l-281 131q-7 -18 -18 -39.5t-23 -41.5t-25 -39zM944 475v-134h137v258q42 47 62 81l-118 69q-2 -4 -8 -12t-24.5 -30.5t-41 -45.5t-60.5 -54.5t-81 -59.5l75 -114q6 4 12.5 8t12.5 8.5t11.5 8.5t11.5 8t11 9zM1524 19v304h-605v-304h137v167
h332v-167h136zM1283 169h-137v-66q0 -26 -13.5 -48.5t-37 -40t-52 -32t-63 -25.5t-64 -19t-60.5 -14l74 -124q55 14 103 30.5t95.5 43t80.5 58t53.5 75.5t20.5 96v66zM1088 570l31 -133q42 9 85 21q19 -49 59 -78q49 -36 120 -36q26 0 49.5 4t42.5 10q69 21 133 78l-67 125
q-7 -7 -17 -16t-24 -20.5t-31 -21t-34 -14.5q-29 -9 -53.5 -8.5t-37.5 9.5q-4 3 -8 9q147 51 240 103l-81 111q-74 -38 -173 -74v85h-137v-129q-50 -14 -97 -25zM755 477v137h-348q11 42 19 84l-134 26q-4 -19 -8 -37.5t-9.5 -36.5t-10.5 -36h-200v-137h142
q-79 -149 -206 -260l90 -103q43 38 85 83v-389h137v165h260v-24h-124l48 -137h83q54 0 92 38t38 92v490h-373q11 22 21 45h398zM312 134h260v-24h-260v24zM312 295h260v-24h-260v24zM1683 732q0 -33 -22.5 -56t-55.5 -23q-22 0 -40 10.5t-28.5 28.5t-10.5 40q0 16 6 30.5
t16.5 25t25.5 16.5t31 6q33 0 55.5 -22.5t22.5 -55.5zM1545 732q0 -10 3 -20t8.5 -17.5t13 -13.5t16.5 -9t19 -3q25 0 41.5 18t16.5 44q0 27 -16.5 45.5t-42.5 18.5q-25 0 -42 -18.5t-17 -44.5zM1592 691h-17v79q17 2 29 2q18 0 26 -6q2 -1 3.5 -3t2.5 -4t1.5 -4.5t0.5 -5.5
q0 -7 -4.5 -11.5t-11.5 -7.5v-1q10 -3 14 -19q1 -8 2.5 -12t3.5 -7h-19q-2 3 -6 19q-2 12 -16 12h-9v-31zM1593 735h8q18 0 18 12q0 5 -4 8.5t-12 3.5q-4 0 -6 -0.5t-4 -0.5v-23z" />
<glyph glyph-name="uniE60E" unicode="&#xe60e;" horiz-adv-x="3958"
d="M611 639h-177l-150 -222l-95 222h-178l168 -395v-2l-31 -243h156l30 231zM699 481q-100 0 -179.5 -72.5t-92.5 -175.5q-13 -105 51 -178q61 -68 157 -68q99 0 178.5 72.5t92.5 175.5q13 104 -51 177q-60 69 -156 69zM759 233q-2 -16 -8.5 -31.5t-16.5 -27.5t-22.5 -21.5
t-27 -14.5t-29.5 -5q-12 0 -23 3t-20.5 9t-16.5 15q-13 14 -18.5 33.5t-2.5 41.5q2 16 8.5 31t16.5 27.5t22.5 21.5t27.5 14.5t30 5.5q36 0 59 -27q27 -30 21 -75zM1656 481q-65 0 -124.5 -33t-99 -90.5t-48.5 -124.5q-13 -105 51 -178q20 -22 44.5 -37t53 -23t59.5 -8
q99 0 178.5 72.5t92.5 175.5q3 25 1.5 49.5t-8 47t-17.5 43t-27 37.5q-29 34 -69.5 51.5t-86.5 17.5zM1717 233q-4 -27 -19 -50t-38 -36.5t-48 -13.5q-18 0 -33.5 7t-26.5 20q-13 14 -18.5 33.5t-2.5 41.5q5 41 36 70.5t69 29.5q8 0 16.5 -2t16 -5.5t14.5 -8.5t13 -11
q26 -30 21 -75zM1332 418q-44 50 -114 50q-13 0 -25.5 -1.5t-24.5 -5t-24 -9t-23 -11.5l-10 -6l26 204h-156l-80 -640h155l37 288q3 24 22 41t43 17q12 0 22.5 -4.5t17.5 -12.5q16 -18 12 -42l-36 -287h156l37 298q2 13 1.5 26.5t-3 26.5t-7 25t-11 23t-15.5 20zM2949 460
l-37 -288q-3 -24 -22 -41t-44 -17q-24 0 -39 17q-5 6 -8.5 12.5t-4.5 14t0 15.5l37 287h-156l-38 -298q-9 -71 36 -121q21 -25 50.5 -37.5t63.5 -12.5q25 0 49.5 7t47.5 20l9 6l-3 -25h156l58 461h-155zM1951 639l-55 -432h156l55 432h-156zM1970 168q-18 0 -36 -7.5
t-31.5 -19.5t-22.5 -28.5t-12 -34.5q-4 -37 19 -63q11 -13 26 -19.5t33 -6.5q37 0 67 26.5t34 63.5q5 37 -18 63q-4 5 -9.5 9t-11 7t-12 5.5t-13 3.5t-13.5 1zM2608 178q4 34 -3.5 64.5t-26.5 55t-47 39.5l-8 5l8 5q19 10 35.5 25t28.5 32.5t19.5 37t10.5 40.5q8 63 -30 108
q-37 44 -97 48l-6 1h-314l-81 -640h317q72 3 128.5 55t65.5 124zM2451 200q-3 -27 -25 -46.5t-50 -19.5h-106l17 134h107q27 -1 43.5 -20.5t13.5 -47.5zM2483 447q-2 -16 -12 -30t-25 -22.5t-31 -8.5h-113l15 124h112q25 0 41.5 -18.5t12.5 -44.5zM3132 -211q65 0 124 37.5
t89 99.5l264 534h-156l-127 -258l-63 258h-156l113 -471l-7 -14q-8 -18 -25 -29t-36 -11q-5 0 -10 1t-10 3l-29 11l-67 -139l29 -10q31 -12 67 -12zM3943 646q0 -16 -3 -31.5t-9 -29.5t-14.5 -26.5t-19 -23t-23 -19t-26.5 -14.5t-29.5 -9t-31.5 -3q-32 0 -61 12t-50 33
t-33 50t-12 61q0 43 20.5 79t57 56.5t79.5 20.5q65 0 110 -45t45 -111zM3670 646q0 -25 9 -48t24.5 -40t37.5 -26.5t47 -9.5q24 0 46 9.5t37 26t24 39.5t9 48q0 53 -33.5 89.5t-84.5 36.5q-32 0 -59 -17t-42 -45.5t-15 -62.5zM3763 566h-35v155q11 2 16.5 2.5t18 1.5t23.5 1
q21 0 32.5 -3t19.5 -9q7 -6 11.5 -14.5t4.5 -19.5q0 -13 -8.5 -22.5t-23.5 -14.5v-2q20 -6 27 -37q2 -9 3.5 -15.5t3 -11t2.5 -7t2 -4.5h-37q-4 5 -12 38q-2 12 -9.5 17.5t-21.5 5.5h-17v-61zM3764 653h17q35 0 35 23t-32 23q-7 0 -12 -0.5t-8 -0.5v-45z" />
<glyph glyph-name="uniE60F" unicode="&#xe60f;"
d="M682 74q-108 -89 -249 -89q-53 0 -104.5 14.5t-94.5 39.5t-79.5 61.5t-61.5 79.5t-39.5 94t-14.5 105q0 107 53 197.5t143.5 143.5t197.5 53t197.5 -53t143.5 -143.5t53 -197.5q0 -141 -89 -249l286 -286l-56 -56zM433 64q131 0 223 92t92 222.5t-92 223t-223 92.5
t-223 -93q-91 -93 -92 -222q0 -86 42 -158.5t115 -114.5t158 -42z" />
<glyph glyph-name="uniE610" unicode="&#xe610;"
d="M245 300l-9 9l472 472l80 -80l-400 -401l400 -401l-80 -80l-472 472z" />
<glyph glyph-name="uniE611" unicode="&#xe611;"
d="M509 780q-4 -2 -245 -245q-221 -224 -235 -245q-6 -9 -6 -15q0 -35 42 -33q7 0 233 227l225 228l226 -228q105 -106 167 -166.5t65 -60.5q21 -1 31.5 7.5t10.5 25.5q0 12 -32 46q-33 36 -206 212q-241 243 -246 246q-15 8 -30 1zM171 245q-12 -8 -14 -38.5t-2 -188
t2 -188t14 -38.5q7 -6 352.5 -6t352.5 6q11 8 13 36q2 30 2 190q0 158 -2 188.5t-13 38.5q-8 7 -21.5 5.5t-21.5 -10.5l-10 -9v-381h-600v381l-10 9q-15 16 -36 9q-4 -2 -6 -4zM398 202l-11 -12v-215l11 -12q6 -8 11 -10.5t14 -2.5q16 0 26 13l10 12v175h128v-175l11 -12
q7 -9 16 -12t18.5 0t16.5 12l10 12v215l-20 24h-231z" />
<glyph glyph-name="uniE612" unicode="&#xe612;"
d="M951 -7h-878l439 614z" />
<glyph glyph-name="uniE613" unicode="&#xe613;"
d="M512 -7l-439 614h878z" />
<glyph glyph-name="uniE614" unicode="&#xe614;"
d="M313 -49l349 349l-349 349q-7 7 -7 16.5t6.5 16t16 6.5t16.5 -6l345 -345q16 -15 21 -20q7 -7 7 -17t-7 -17q-4 -4 -25.5 -25t-22.5 -22l-318 -318q-7 -6 -16.5 -6t-16 6.5t-6.5 16t7 16.5z" />
<glyph glyph-name="uniE615" unicode="&#xe615;"
d="M527.5 475q2.5 0 4.5 -1l6 -2q2 -1 3 -3l293 -288q3 -3 5 -6.5t2 -7.5t-1.5 -8t-4.5 -7q-6 -6 -14.5 -6t-14.5 6l-279 273l-278 -273q-7 -6 -15 -6t-14 6t-6 14.5t6 14.5l293 288q2 2 4 3t5 2t5.5 1z" />
<glyph glyph-name="uniE616" unicode="&#xe616;"
d="M527 146q-4 0 -7.5 1.5t-6.5 4.5l-293 288q-6 6 -6 14t6 14.5t14 6.5t15 -6l278 -274l279 274q6 6 14.5 6t14.5 -6.5t5.5 -14.5t-6.5 -14l-293 -288q-5 -6 -14 -6z" />
<glyph glyph-name="uniE617" unicode="&#xe617;" horiz-adv-x="1030"
d="M-195 162zM520 770q-98 0 -187.5 -38t-154 -102.5t-102.5 -154t-38 -187.5q0 -79 24 -152.5t69 -132.5t104 -103.5t132.5 -69t152.5 -24.5q98 0 187.5 38t154 102.5t102.5 154t38 187.5t-38 187.5t-102.5 154t-154 102.5t-187.5 38zM857 485l-339 -451l-328 238
q-12 9 -14 23.5t7 26.5q5 8 13.5 11.5t18 2.5t17.5 -6l271 -198l297 396q6 8 14.5 11.5t18 2.5t17.5 -7q12 -9 14 -23.5t-7 -26.5z" />
<glyph glyph-name="uniE618" unicode="&#xe618;"
d="M224 192q-40 0 -68 28t-28 68t28 68t68 28t68 -28t28 -68t-28 -68t-68 -28zM512 192q-40 0 -68 28t-28 68t28 68t68 28t68 -28t28 -68t-28 -68t-68 -28zM800 192q-40 0 -68 28t-28 68t28 68t68 28t68 -28t28 -68t-28 -68t-68 -28z" />
<glyph glyph-name="uniE619" unicode="&#xe619;"
d="M126 225q30 0 50.5 21.5t20.5 52.5q0 33 -20.5 54.5t-51 21.5t-51.5 -21.5t-21 -54.5q0 -45 38 -66q17 -8 35 -8zM512 225q15 0 28.5 5.5t23 15.5t15 24t5.5 29q0 9 -2 18t-5.5 16.5t-8 14t-10.5 11.5t-13.5 9t-15.5 5.5t-17 1.5q-30 0 -51 -21.5t-21 -54.5q0 -45 38 -66
q16 -8 34 -8zM899.5 225q30.5 0 51 21.5t20.5 52.5q0 9 -2 18t-5.5 16.5t-8 14t-11 11.5t-13.5 9t-15 5.5t-17 1.5q-20 0 -36.5 -9.5t-26 -27t-9.5 -39.5q0 -31 21 -52.5t51.5 -21.5z" />
<glyph glyph-name="uniE61A" unicode="&#xe61a;"
d="M512 -146q-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 -95t95 -142t35.5 -173.5q0 -61 -16 -118.5t-45 -106.5t-70 -90t-90 -70t-106.5 -45t-118.5 -16zM512 682q-104 0 -192 -51
t-139 -139t-51 -192t51 -192t139 -139t192 -51t192 51t139 139t51 192t-51 192t-139 139t-192 51zM512 508zM464 508q0 20 14 34t34 14t34 -14t14 -34t-14 -34t-34 -14t-34 14t-14 34zM512 44q-13 0 -22.5 9.5t-9.5 22.5v288q0 13 9.5 22.5t22.5 9.5t22.5 -9.5t9.5 -22.5
v-288q0 -13 -9.5 -22.5t-22.5 -9.5z" />
<glyph glyph-name="uniE61B" unicode="&#xe61b;"
d="M437 41h-193q-27 2 -41.5 22.5t-17.5 45.5q3 25 17.5 41t41.5 18h193v63l-193 1q-27 2 -41.5 19t-17.5 43q3 25 17.5 41t41.5 18h144l-134 236q-10 12 -19 30.5t-8 40.5q5 28 20 45.5t56 22.5q24 -2 43 -16.5t31 -31.5l152 -278l167 280q12 17 31 30t43 16q15 -1 27.5 -4
t22 -10t16 -20t9.5 -34q0 -29 -20 -55l-155 -252h147q26 -2 41 -18t17 -41q-2 -26 -17.5 -44t-41.5 -20l-191 -1v-61h192q26 -2 41 -20t17 -43q-2 -26 -17 -43.5t-41 -19.5l-192 1v-106q-4 -85 -93 -85q-44 0 -68.5 21t-26.5 64v104z" />
<glyph glyph-name="uniE61C" unicode="&#xe61c;"
d="M946 -196h-868q-26 0 -44 18t-18 44v868q0 26 18 44t44 18h868q26 0 44 -18t18 -44v-868q0 -26 -18 -44t-44 -18zM946 703q0 13 -9 22t-22 9h-806q-13 0 -22 -9t-9 -22v-806q0 -13 9 -22t22 -9h806q13 0 22 9t9 22v806z" />
<glyph glyph-name="uniE61D" unicode="&#xe61d;"
d="M939 -202h-876q-17 0 -31.5 8.5t-23 23t-8.5 31.5v876q0 26 18.5 44.5t44.5 18.5h876q26 0 44.5 -18.5t18.5 -44.5v-876q0 -39 -35 -57q-14 -6 -28 -6zM814 612l-376 -438l-250 188l-63 -126l313 -250l439 501z" />
<glyph glyph-name="uniE61E" unicode="&#xe61e;"
d="M224 211l416 410l179 -179l-416 -410zM659 525l-19 19l-333 -333l19 -19zM698 486l-20 20l-332 -333l19 -19zM736 448l-19 19l-333 -333l19 -19zM717 704q14 14 38 14t39 -14l102 -102q6 -6 9.5 -14t4.5 -16.5t0 -17t-4.5 -16.5t-9.5 -13l-64 -58l-173 173zM211 186
l167 -167l-148 -51l-70 70zM205 -45l-83 -32l32 83z" />
<glyph glyph-name="uniE61F" unicode="&#xe61f;"
d="M512 812q-138 0 -256 -69t-187 -187t-69 -256t69 -256t187 -187t256 -69t256 69t187 187t69 256t-69 256t-187 187t-256 69zM563 44h-102v307h102v-307zM563 454h-102v102h102v-102z" />
<glyph glyph-name="uniE620" unicode="&#xe620;"
d="M938 276h-400v274h-50v-274h-399q-15 0 -29 5.5t-24 15.5t-16 24t-6 29v175q0 31 22 53t53 22h90q-18 21 -29 46t-11 54q0 27 10 47.5t25 30t29.5 15t24.5 6.5l11 1q53 0 100 -15.5t81 -42t56 -50t39 -50.5q17 27 39.5 51t56 50t79.5 41.5t98 15.5h4q2 0 8.5 -1.5
t13.5 -3t16 -5.5t16.5 -9t15.5 -13t13.5 -17.5t9 -23.5t3.5 -30q0 -28 -9.5 -52t-25.5 -45h85q31 0 53 -22t22 -53v-175q0 -44 -39 -65q-17 -9 -36 -9zM264 725q-15 0 -26 -2.5t-15.5 -6t-6.5 -7.5t-2 -6v-3q0 -49 66 -100h173q-14 30 -30 52.5t-34 35.5t-33 21t-34.5 11.5
t-30 4t-27.5 0.5zM763 723q-13 0 -20 -0.5t-21.5 -1.5t-24.5 -4.5t-24 -9t-25.5 -14.5t-24 -21.5t-24.5 -30.5t-22 -41h177q59 50 59 97v3q0 2 -2 6.5t-7 7.5t-15.5 6t-25.5 3zM488 -224h-349q-15 0 -29 6t-24 16t-16 24t-6 29v375h424v-450zM538 226h400v-375
q0 -31 -22 -53t-53 -22h-325v450z" />
<glyph glyph-name="uniE621" unicode="&#xe621;"
d="M160 492v-640q0 -26 19 -45t45 -19h576q26 0 45 19t19 45v640h-704zM352 -84h-64v448h64v-448zM480 -84h-64v448h64v-448zM608 -84h-64v448h64v-448zM736 -84h-64v448h64v-448zM880 684h-208v80q0 20 -14 34t-34 14h-224q-8 0 -15 -2.5t-13 -7t-10.5 -10.5t-7 -13
t-2.5 -15v-80h-208q-20 0 -34 -14t-14 -34v-80h832v80q0 6 -1.5 11t-3.5 10t-5.5 9t-7.5 7.5t-9 5.5t-10 3.5t-11 1.5zM608 684h-192v63h192v-63z" />
<glyph glyph-name="uniE622" unicode="&#xe622;" 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="uniE623" unicode="&#xe623;"
d="M835 576l-60 63l-263 -275v0l-263 275l-60 -63l262 -276l-262 -276l60 -63l263 275v0l263 -275l60 63l-262 276z" />
<glyph glyph-name="uniE624" unicode="&#xe624;" horiz-adv-x="1000"
d="M459 754h22h23h20h22h22v-191v-191h191h191v-109h-191h-191v-191v-190h-109v190v191h-191h-190q-1 37 -1 109h128h127h127v116v150v116z" />
<glyph glyph-name="uniE625" unicode="&#xe625;" horiz-adv-x="1000"
d="M77 372h873v-109h-873v109z" />
<glyph glyph-name="uniE626" unicode="&#xe626;"
d="M866.5 663.5q-97.5 97.5 -228 132t-261.5 0t-228.5 -132t-132 -228.5t0 -261.5t132 -228t228.5 -132t261.5 0t228 132t132 228t0 261.5t-132 228.5zM798 115l-101 -101l-187 186l-186 -186l-101 101l186 186l-186 187l101 101l186 -186l187 186l101 -101l-186 -187z" />
<glyph glyph-name="uniE628" unicode="&#xe628;"
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" />
</font>
</defs></svg>