Authored by uedxwg

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

Showing 92 changed files with 407 additions and 12 deletions
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
define("index",["jquery","hammer","swiper","lazyload","mlellipsis","iscroll-probe","handlebars","source-map","index"],function(e,a,n){var t;e("js/common"),e("js/category/entry"),e("js/guang/entry"),e("js/home/entry"),e("js/index/entry"),e("js/passport/entry"),e("js/product/entry"),e("js/me/entry"),n.exports=t}),define("js/common",["jquery"],function(e,a,n){function t(e){var a,n,t=document.cookie;return document.cookie&&""!==document.cookie&&(n=t.indexOf(e+"="),n>-1&&(n+=e.length+1,a=decodeURIComponent(d.trim(t.substring(n,t.indexOf(";",n)))))),a}function o(e,a,n){var t,o,s,i,r="";"undefined"!=typeof a&&(n=n||{},null===a&&(a="",n.expires=-1),n.expires&&("number"==typeof n.expires||n.expires.toUTCString)&&("number"==typeof n.expires?(i=new Date,i.setTime(i.getTime()+24*n.expires*60*60*1e3)):i=n.expires,r="; expires="+i.toUTCString()),t=n.path?"; path="+n.path:"",o=n.domain?"; domain="+n.domain:"",s=n.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(a),r,t,o,s].join(""))}function s(){var e,a=t("_UID");return"undefined"==typeof a?0:(e=a.split("::"),"undefined"==typeof e||e.length<4?0:e)}function i(){var e=s();return 0===e?0:e[1]}function r(){var e=t("_g");return"undefined"==typeof e?"":JSON.parse(e).k}function l(){0!==c.length&&(d("body").height()<=d(window).height()?c.addClass("bottom"):c.removeClass("bottom"))}var d=e("jquery"),c=d("#yoho-footer");!function(){var e=c.children(".op-row"),a=s();d("body").height()<=d(window).height()&&c.addClass("bottom"),0===a?e.prepend('<a href="/signin.html?refer='+location.href+'">登录</a><span class="sep-line">|</span><a href="/reg.html">注册</a>'):e.prepend('Hi,<a class="user-name" href="/home?tmp='+Math.random()+'">'+a[0]+'</a><a href="/passport/signout/index?token='+a[3]+'">退出</a>'),e.find(".back-to-top").on("touchend",function(){return d(window).scrollTop(0),!1}),c.removeClass("hide")}(),function(){var e=i();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.13","yohobuy_m",e,"")}(),window.cookie=t,window.setCookie=o,window.getUser=s,window.getUid=i,window.getShoppingKey=r,window.rePosFooter=l}),define("js/category/entry",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){e("js/category/index"),e("js/category/brand")}),define("js/category/index",["jquery","hammer"],function(e,a,n){var t,o,s=e("jquery"),i=e("hammer"),r=s(".category-nav"),l=s(".category-container"),d=l.children(".content"),c=s(".sub-level li"),u=d.not(".hide");!function(){var e=s(".yoho-header"),a=s("#search-input"),n=s(window).height()-e.outerHeight()-a.outerHeight()-r.outerHeight();l.css("min-height",n),d.height(n)}(),s("#search-input").focus(function(){s(this).blur()}),t=new i(r[0]),t.on("tap",function(e){var a=s(e.target).closest("li"),n=a.index();a.hasClass("focus")||(r.find("li.focus").removeClass("focus"),a.addClass("focus"),u.addClass("hide"),u=d.eq(n).removeClass("hide"))}),o=new i(l[0]),o.on("tap",function(e){var a,n,t,o=s(e.target);if(n=o.closest(".p-level-item"),n.length>0){if(t=n.index(),a=o.closest(".content").find(".sub-level"),o.hasClass("focus"))return;o.closest(".primary-level").children(".focus").removeClass("focus"),o.addClass("focus"),a.not(".hide").addClass("hide"),a.eq(t).removeClass("hide")}}),c.on("touchstart",function(){c.removeClass("highlight"),s(this).addClass("highlight")}).on("touchend touchcancel",function(){s(this).removeClass("highlight")})}),define("js/category/brand",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){function t(){var e=u(".brand-list").find("p");e.on("touchstart",function(){e.css("background","#fff"),u(this).css("background","#eee")}).on("touchend touchcancel",function(){u(this).css("background","#fff")})}function o(){var e=(d.val()+"").toLowerCase(),a={},n=0,o="";""!==e&&(u.each(l,function(n,t){u.isArray(t)&&u.each(t,function(t,o){o.name.toLowerCase().indexOf(e)>-1&&(a[n]=a[n]||[],a[n].push(o))})}),u.each(a,function(e,a){var t=['<div class="brand-list bar-',n,'">'];n++,t.push('<div class="title-bar"><h2>'),t.push(e),t.push("</h2></div>"),u.each(a,function(e,a){t.push('<p><a href="'+a.url+'">'+a.name),a.isNew&&t.push('<i class="icon-hot">HOT</i>'),a.isHot&&t.push('<i class="icon-new">NEW</i>'),t.push("</a></p>")}),t.push("</div>"),o+=t.join("")})),u(".search-result").html(o),t()}var s,i,r,l,d,c,u=e("jquery"),p=e("hammer"),h=e("swiper"),f=e("lazyload"),g=u(".brand-list"),m=u(".search-icon"),v=u(".newbrand-search").outerHeight(),w=u(".yoho-header").outerHeight(),y=parseInt(v)+parseInt(w)-1;s=new h(".swiper-container",{lazyLoading:!0,loop:!0,autoplay:3e3,pagination:".swiper-pagination .pagination-inner"}),f(u("img.lazy")),u(".yoho-header").css({"z-index":2,position:"fixed",top:0}),i=u('<div class="title-bar fixed-title-bar"><h2></h2></div>'),i.css({position:"fixed",top:y}).hide(),r=y+u(".hot-brand").outerHeight()+u(".banner-top").outerHeight(),g.last().append(i),u(window).scroll(function(){var e=u(window).scrollTop();g.eq(0).offset().top<r&&i.hide(),g.each(function(){var a=u(this).offset().top-y;e>=a&&i.css({display:"block"}).find("h2").html(u(this).find(".title-bar").text())})}),t(),u(".brand-search-page").length&&(l=u.parseJSON(u("#brands-data").html()),d=u("#keyword"),d.on("input",function(){d.val().length?(m.css("color","#000"),u(this).closest(".search-box").css("width","11.25rem"),u(".search-action").show()):(m.css("color","#b2b2b2"),u(this).closest(".search-box").css("width","12.5rem"),u(".search-action").hide()),o()}).focus(),c=new p(u(".clear-text")[0]),c.on("tap",function(e){e.preventDefault(),u(".search-result").html(""),u("#keyword").val("").trigger("input"),e.srcEvent.stopPropagation()}),u("form.search-box").on("submit",function(){return!1}))}),define("js/guang/entry",["jquery","hammer","lazyload","swiper","mlellipsis","iscroll-probe","index"],function(e,a,n){e("js/guang/plus-star/list"),e("js/guang/plus-star/detail"),e("js/guang/home"),e("js/guang/list"),e("js/guang/detail")}),define("js/guang/plus-star/list",["jquery","hammer","lazyload","swiper","index"],function(e,a,n){var t,o,s=e("jquery"),i=e("hammer"),r=e("lazyload"),l=e("swiper"),d=s("#nav-tab > li"),c=s("#ps-content > .content");r(s("img.lazy")),t=new l(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),o=new i(document.getElementById("nav-tab")),o.on("tap",function(e){var a=s(e.target).closest("li");a.hasClass("focus")||(d.toggleClass("focus"),c.toggleClass("hide"),s(document).trigger("scroll"))})}),define("js/guang/plus-star/detail",["jquery","hammer","mlellipsis","lazyload"],function(e,a,n){var t,o,s,i,r=e("jquery"),l=e("hammer"),d=e("mlellipsis"),c=e("lazyload"),u=r("#intro"),p=r("#intro-more-txt"),h=r("#related-infos-container"),f=e("js/guang/info"),g=e("js/plugin/tip"),m=r("#brand-info").data("id"),v=r("#jump-to-app").val();e("js/plugin/wx-share"),d.init(),c(r("img.lazy")),u[0].mlellipsis(3),setTimeout(function(){t=u.text(),o=u.attr("title")}),f.initInfosEvt(h),s=new l(document.getElementById("more-intro")),s.on("tap",function(e){var a=r(e.target).closest("#more-intro");a.toggleClass("spread"),a.hasClass("spread")?(u.text(o),p.text("收起")):(u.text(t),p.text("more"),r(window).scrollTop(0,400)),e.preventDefault()}),i=new l(document.getElementById("brand-like")),i.on("tap",function(e){var a="ok",n=r(e.target);"1"!==v&&(e.preventDefault(),n.hasClass("like")&&(a="cancel"),r.ajax({type:"POST",url:"/guang/opt/favoriteBrand",data:{id:m,opt:a},success:function(e){200===e.code?n.toggleClass("like"):400===e.code||412===e.code?location.href=e.data:g.show(e.message)},error:function(){g.show("网络断开连接了~")}}))})}),define("js/guang/info",["jquery","hammer","mlellipsis","lazyload"],function(e,a,n){function t(e){d(e.find("img.lazy")),e.each(function(){var e=i(this),a=e.find(".info-title"),n=e.find(".info-text");a[0].mlellipsis(2),n[0].mlellipsis(2)})}function o(e){var a;"undefined"!=typeof e&&(a=new r(e[0]),a.on("tap",function(e){var a,n,t=i(e.target),o="ok";return e.preventDefault(),a=t.closest(".like-btn"),a.length>0?(a.hasClass("like")&&(o="cancel"),n=t.closest(".guang-info"),void i.ajax({type:"POST",url:"/guang/opt/praiseArticle",data:{id:n.data("id"),opt:o},success:function(e){var n=e.code;200===n&&(a.next(".like-count").text(e.data),a.toggleClass("like"))},error:function(){c.show("网络断开连接了~")}})):(a=t.closest(".collect-btn"),void(a.length>0&&(a.hasClass("collected")&&(o="cancel"),n=t.closest(".guang-info"),i.ajax({type:"POST",url:"/guang/opt/collectArticle",data:{id:n.data("id"),opt:o},success:function(e){e.code&&200===e.code&&a.toggleClass("collected")},error:function(){c.show("网络断开连接了~")}}))))}),t(e.find(".guang-info")))}function s(e,a){var n;g||a.end||(1===a.page&&u.showLoadingMask(),n=e.find(".guang-info").length,g=!0,i.ajax({type:"GET",url:" /guang/index/page",data:a,success:function(o){var s;return" "===o?(a.end=!0,g=!1,h.addClass("hide"),void f.removeClass("hide")):(e.append(o),s=n>0?e.find(".guang-info:gt("+(n-1)+")"):e.find(".guang-info"),t(s),1===a.page&&(u.hideLoadingMask(),h.removeClass("hide"),window.rePosFooter()),a.page++,void(g=!1))},error:function(){c.show("网络断开连接了~"),g=!1}}))}var i=e("jquery"),r=e("hammer"),l=e("mlellipsis"),d=e("lazyload"),c=e("js/plugin/tip"),u=e("js/plugin/loading"),p=i("#load-more-info"),h=i(""),f=i(""),g=!1;l.init(),p.length>0&&(h=p.children(".loading"),f=p.children(".no-more")),a.initInfosEvt=o,a.setLazyLoadAndMellipsis=t,a.loadMore=s}),define("js/plugin/tip",["jquery"],function(e,a,n){function t(e,a){var n,t;"undefined"!=typeof e&&(n=e.toString(),t=a&&a>0?a:2e3,o.text(n).show(),s=setTimeout(function(){"block"===o.css("display")&&o.hide()},t))}var o,s,i=e("jquery");!function(){var e='<div id="yoho-tip" class="yoho-tip"></div>';i(".yoho-page").append(e),o=i("#yoho-tip"),o.on("touchend",function(){o.hide(),clearTimeout(s)})}(),a.show=t}),define("js/plugin/loading",["jquery"],function(e,a,n){function t(e){var a='<div class="loading-mask hide"><div class="loading"></div></div>';d=!0,void 0===e&&(e=l),e.append(a),i=e.children(".loading-mask")}function o(){d||(t(),d=!0),i.removeClass("hide")}function s(){i.addClass("hide")}var i,r=e("jquery"),l=r(".yoho-page"),d=!1;a.init=t,a.showLoadingMask=o,a.hideLoadingMask=s}),define("js/plugin/wx-share",["jquery"],function(e,a,n){var t=e("jquery");n.exports=function(){var e="http://www.yohoshow.com/api/wechat/getSignPackage";t.getJSON(e+"?pageurl="+encodeURIComponent(location.href.split("#")[0])+"&callback=?",function(e){var a,n,t,o;void 0!==e&&""!==e&&(a=e.appId.toString(),n=e.timestamp,t=e.nonceStr.toString(),o=e.signature.toString(),wx.config({debug:!1,appId:a,timestamp:n,nonceStr:t,signature:o,jsApiList:["checkJsApi","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","hideMenuItems","showMenuItems","hideAllNonBaseMenuItem","showAllNonBaseMenuItem","translateVoice","startRecord","stopRecord","onRecordEnd","playVoice","pauseVoice","stopVoice","uploadVoice","downloadVoice","chooseImage","previewImage","uploadImage","downloadImage","getNetworkType","openLocation","getLocation","hideOptionMenu","showOptionMenu","closeWindow","scanQRCode","chooseWXPay","openProductSpecificView","addCard","chooseCard","openCard"]}))}),wx.ready(function(){var e=t("#shareTitle").val(),a=t("#shareImg").val(),n=t("#shareDesc").val(),o=t("#shareLink").val(),s={title:e,desc:n,imgUrl:a,link:o};wx.onMenuShareAppMessage(s),wx.onMenuShareTimeline(s),wx.onMenuShareQQ(s),wx.onMenuShareWeibo(s)})}}),define("js/guang/home",["jquery","hammer","swiper","mlellipsis","lazyload","index"],function(e,a,n){var t,o,s=e("jquery"),i=e("hammer"),r=e("swiper"),l=e("js/guang/info"),d=l.loadMore,c=s("#load-more-info"),u=s(""),p=s(""),h=s(window).height(),f=s("#info-list"),g=f.children(".info-list"),m=s("#guang-nav"),v=m.children(".focus"),w=v.data("type"),y={};c.length>0&&(u=c.children(".loading"),p=c.children(".no-more")),t=new r(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination",autoplay:3e3}),l.initInfosEvt(f),function(){var e=s("#gender").val();m.children(".guang-nav-item").each(function(){var a=s(this).data("type"),n=s(this).hasClass("focus");y[a]={page:n?2:1,gender:e,type:a,end:!1}})}(),o=new i(m[0]),o.on("tap",function(e){var a,n,t=s(e.target).closest(".guang-nav-item");t.hasClass("focus")||(n=t.index(),t.addClass("focus"),v.removeClass("focus"),a=g.eq(n),v=t,w=t.data("type"),1===y[w].page?(u.addClass("hide"),p.addClass("hide"),d(a,y[w])):y[w].end?(u.addClass("hide"),p.removeClass("hide")):(u.removeClass("hide"),p.addClass("hide")),g.not(".hide").addClass("hide"),a.removeClass("hide"),1===y[w].page&&window.rePosFooter())}),s(document).scroll(function(){var e=g.not(".hide");s(window).scrollTop()+h>=s(document).height()-.25*e.height()&&d(e,y[w])})}),define("js/guang/list",["jquery","hammer","mlellipsis","lazyload"],function(e,a,n){var t=e("jquery"),o=e("js/guang/info"),s=o.loadMore,i=t(window).height(),r=t("#author-infos"),l=t("#tag"),d=t("#gender"),c=t("#isApp"),u={page:2,end:!1},p=t("#info-list");o.initInfosEvt(p),r.length>0&&t.extend(u,{authorId:r.data("id"),isApp:c.val()}),l.length>0&&t.extend(u,{tag:l.val(),gender:d.val(),isApp:c.val()}),t(document).scroll(function(){t(window).scrollTop()+i>=t(document).height()-.25*p.height()&&s(p,u)})}),define("js/guang/detail",["jquery","mlellipsis","lazyload","iscroll-probe"],function(e,a,n){function t(e){var a=e.offset().left,n=-C+a+y/2+"px";r.css({backgroundPosition:n+" bottom"}),v&&b.css({backgroundPosition:n+" bottom"})}function o(e){var a,n,o,s=p(e.currentTarget),h=s.index();s.hasClass("focus")||(l.filter(".focus").removeClass("focus"),v&&(a=s.closest(".fixed-thumb-container").length>0?r:b,n=a.find(".thumb").eq(h),b.find(".thumb.focus").removeClass("focus"),n.addClass("focus")),s.addClass("focus"),t(s),d.not(".hide").addClass("hide"),o=d.eq(h),o.removeClass("hide"),f(o.find(".lazy")),v?u&&u.scrollToElement(c,400):p("body").animate({scrollTop:i.offset().top},400),u&&u.refresh())}function s(){var e,a,n,t,o,s=p("#scroller"),l=p(".yoho-header"),d=0;return l.length>0&&(d=l.outerHeight()),u=new g("#wrapper",{probeType:3,mouseWheel:!0,click:!0}),document.addEventListener("touchmove",function(e){e.preventDefault()},!1),w?(e=p(window).height()-d,o=b[0],a=r.outerHeight(),n=i.outerHeight(),t=i.offset().top-d,void u.on("scroll",function(){var i=-this.y,r=o.className;t-e+a>=i?-1===r.indexOf("fixed-bottom")&&b.addClass("fixed-bottom").removeClass("hide"):t>=i?-1===r.indexOf("hide")&&b.addClass("hide").removeClass("fixed-bottom fixed-top"):t+n-a>=i?-1===r.indexOf("fixed-top")&&b.addClass("fixed-top").removeClass("hide absolute").css("top",""):t+n>=i?(-1===r.indexOf("absolute")&&b.addClass("absolute").removeClass("fixed-top hide"),o.style.top=t+d+n-a-i+"px"):i>t+n&&-1===r.indexOf("hide")&&b.addClass("hide").removeClass("absolute"),s.trigger("scroll")})):void u.on("scroll",function(){s.trigger("scroll")})}var i,r,l,d,c,u,p=e("jquery"),h=e("mlellipsis"),f=e("lazyload"),g=e("iscroll-probe"),m=p(".author .intro"),v=!1,w=p(".collocation-block").length>0?!0:!1,y=0,b=p(""),c=document.querySelector("#wrapper .collocation-block"),C=p(window).width();e("js/plugin/wx-share")(),window.onload=function(){u&&u.refresh()},a.i=function(e){var a=navigator.userAgent.indexOf("iPhone")>0?!0:!1;v=a&&e,h.init(),f(p(".lazy")),p(".info-list .title, .one-good .reco-name").each(function(){this.mlellipsis(2)}),m.offset()&&parseInt(m.offset().left,10)===parseInt(m.css("margin-left"),10)&&m.css("padding-top",0),v&&(p(".yoho-header").length>0?p("#wrapper").addClass("ios has-head"):p("#wrapper").addClass("ios")),w&&(i=p(".collocation-block"),r=i.children(".thumb-container"),l=r.find("li"),d=i.find(".prod"),y=l.width(),v&&(b=p("#wrapper").after(r.clone().addClass("fixed-thumb-container fixed-bottom")).next(".thumb-container"),f(b.find(".lazy"),{event:"sporty"})),t(l.filter(".focus")),r.delegate(".thumb","touchend",o),v&&b.delegate(".thumb","touchend",o)),v&&s()}}),define("js/home/entry",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){e("js/home/home"),e("js/home/maybe-like")}),define("js/home/home",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){function t(){b.hasClass("menu-open")&&(b.removeClass("menu-open"),m(".overlay").hide(),m(".sub-nav").removeClass("show"),j.removeClass("on"),m("body").css({height:"auto",overflow:"auto"}))}function o(){k+=10,q.css({transform:"rotateX("+k+"deg)","-webkit-transform":"rotateX("+k+"deg)","-moz-transform":"rotateX("+k+"deg)"}),k/90%2===1&&(z?(q.addClass("animate"),z=!1):(q.removeClass("animate"),z=!0)),k/90%2===0&&k%360!==0?window.setTimeout(o,3e3):k%360===0?window.setTimeout(o,6e4):c(function(){o()})}var s,i,r,l,d,c,u,p,h,f,g,m=e("jquery"),v=e("hammer"),w=e("swiper"),y=e("lazyload"),b=m(".mobile-wrap"),C=m(".overlay"),j=m(".side-nav"),x=m(".sub-nav"),k=0,q=m(".home-header .logo"),z=!0;e("js/home/maybe-like"),y(m("img.lazy")),g=new v(m(".nav-btn")[0]),g.on("tap",function(e){return e.preventDefault(),b.addClass("menu-open"),C.show().css("opacity",.3),j.addClass("on"),m("body").css({height:m(window).height(),width:m(window).width(),overflow:"hidden"}),e.srcEvent.stopPropagation(),!1}),m(".overlay").on("touchstart",function(e){return t(),!1}),j.on("touchstart","li",function(e){return m(this).find(".sub-nav").size()>0&&(m(".sub-nav").removeClass("show"),m(this).find(".sub-nav").addClass("show")),e.stopPropagation(),e.target.pathname===location.pathname?(t(),!1):void 0}),x.each(function(){m(this).find("li").eq(0).on("touchstart",function(e){return m(".sub-nav").removeClass("show"),e.stopPropagation(),!1})}).on("touchstart",function(e){e.currentTarget!==e.target&&x.find("li").removeClass("current")}),j.children("ul").children("li").on("touchstart",function(){j.children("ul").children("li").css("background","#fff"),m(this).css("background","#eee")}).on("touchend touchcancel",function(){m(this).css("background","#fff")}),m(".banner-swiper").find("li").size()>1&&(s=new w(".banner-swiper",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".banner-top .pagination-inner"})),r=new w(".brands-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"brands-list",slideElement:"li"}),i=new w(".recommend-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"recommend-list",slideElement:"li"}),m(".trend-topic-swiper").find("li").size()>1&&(l=new w(".trend-topic-swiper",{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".trend-topic-content .pagination-inner"})),m(".category-swiper").each(function(e,a){h="category-swiper"+e,m(this).addClass(h),m("."+h).find(".swiper-slide").size()>1&&(d=new w("."+h,{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:"."+h+" .pagination-inner"}))}),c=function(){var e=null,a=["webkit","moz","ms"];for(p=0;p<a.length;p++)u=a[p]+"RequestAnimationFrame",window[u]&&(f=!0,e=u);return f?function(a){window[e](a)}:function(e){window.setTimeout(e,67)}}(),setTimeout(o,3e3),m("#yoho-footer").css({"margin-bottom":"2.5rem"}),a.set=function(e){window.setCookie("_Channel",e,{expires:365,domain:".m.yohobuy.com"})}}),define("js/home/maybe-like",["jquery","hammer","lazyload"],function(e,a,n){function t(){m||(m=!0,p.showLoadingMask(),d.ajax({type:"GET",url:i,data:{page:v+1},success:function(e){return" "===e?(m=!1,p.hideLoadingMask(),void(w&&(i="1,3"===w?"/boys/bottomBanner":"/girls/bottomBanner",d.ajax({type:"GET",url:i,success:function(e){e&&e.img&&(d("#load-more-img").show(),d("#load-more-img a").attr("href",e.url),d("#load-more-img a > img").attr("src",e.img))},error:function(){}})))):(s=g.find(".good-info").length,g.append(e),h(0===s?g.find(".good-info").find("img.lazy"):g.find(".good-info:gt("+(s-1)+")").find("img.lazy")),m=!1,p.hideLoadingMask(),void v++)},error:function(){u.show("网络断开连接了~"),m=!1,p.hideLoadingMask()}}))}var o,s,i,r,l,d=e("jquery"),c=e("hammer"),u=e("js/plugin/tip"),p=e("js/plugin/loading"),h=e("lazyload"),f=d(window).height(),g=d("#goods-list"),m=!1,v=0,w=null,y=d(".mobile-wrap").hasClass("kids-wrap")?!0:!1,b=d(".mobile-wrap").hasClass("lifestyle-wrap")?!0:!1,C=d("#maybe-like-nav");y?i="/product/recom/maylikekids":b?i="/product/recom/maylikelife":(w=d(".mobile-wrap").hasClass("boys-wrap")?"1,3":"2,3",i="/product/recom/maylike?gender="+w),r=C.children(".focus"),b&&(o=new c(C[0]),o.on("tap",function(e){var a,n=d(e.target).closest("li"),t=d(".goods-list");e.preventDefault(),n.hasClass("focus")||(l=n.index(),n.addClass("focus"),r.removeClass("focus"),t.not(".hide").addClass("hide"),a=t.eq(l),a.removeClass("hide"),r=n,d(document).trigger("scroll"),e.srcEvent.stopPropagation())})),p.init(d(".maybe-like")),d(".maybe-like p").on("touchstart",function(e){t()}),d(window).scroll(function(){d(window).scrollTop()+f>=d(document).height()-50&&t()})}),define("js/index/entry",["jquery","hammer"],function(e,a,n){e("js/index/search"),e("js/index/footer"),e("js/index/channel")}),define("js/index/search",["jquery","hammer"],function(e,a,n){var t,o,s=e("jquery"),i=e("hammer"),r=s("#search-input input"),l=s("#search-input .clear-input"),d=s(".search-icon"),c=s("#search-form"),u=s(".history"),p=s("#clear-history"),h=e("js/index/write-search"),f=h.getRanToken();t=new i(p[0]),t.on("tap",function(){localStorage.removeItem("historys"),u.html("")}),r.on("input",function(){""===r.val()?(d.css("color","#b2b2b2"),l.addClass("hide")):(d.css("color","#666"),l.removeClass("hide"))}),o=new i(l[0]),o.on("tap",function(){r.val("").trigger("input")}),s("#search").on("touchend",function(){return s(this).closest("form").submit(),!1}),function(){var e,a,n,t="";if(localStorage&&(a=localStorage.getItem("historys"),a&&a.length>0)){for(a=a.split(f),n=0;n<a.length;n++)e=a[n],""!==e&&(t+='<li><a href="/?query='+e+'">'+e+"</li>");u.html(t),p.removeClass("hide")}}(),h.bindWirteLocal(c)}),define("js/index/write-search",[],function(e,a,n){function t(){return s}function o(e){e.on("submit",function(){var e,a=this.query.value;if(localStorage){if(e=localStorage.getItem("historys"),e=e?e:"",e.indexOf(s+a+s)>-1)return;""===e&&(a=s+a),e+=a+s,localStorage.setItem("historys",e)}})}var s=" ??++ ";a.getRanToken=t,a.bindWirteLocal=o}),define("js/index/footer",["jquery","hammer"],function(e,a,n){function t(){var e="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445",a=new Date;setTimeout(function(){new Date-a<2e3&&(window.location=e)},500)}var o,s=e("jquery"),i=e("hammer");e("js/common"),s("#float-layer-close").on("touchend",function(e){return s("#float-layer-app").hide(),window.setCookie("_float-layer-app","id490655927",{domain:".yohobuy.com"}),window.setCookie("_float-layer-app-close",1,{domain:".yohobuy.com",expires:1}),!1}),s("#float-layer-btn")&&s("#float-layer-btn")[0]&&(o=new i(s("#float-layer-btn")[0]),o.on("tap",function(e){t("bottom"),e.srcEvent.stopPropagation()}),"function"!=typeof window.cookie||window.cookie("_float-layer-app")?s("#float-layer-app").hide():s("#float-layer-app").show())}),define("js/index/channel",["jquery"],function(e,a,n){var t=e("jquery"),o=t(".search-box"),s=t(".box"),i=t(".index-search"),r=t(".index-logo"),l=t(".index-channel a"),d=o.children('input[type="text"]'),c=s.children(".no-search"),u=o.children(".search-icon");e("js/common"),d.on("focus",function(){s.addClass("action"),r.addClass("action")}).on("input",function(){""===d.val()?u.addClass("empty"):u.removeClass("empty")}),c.on("touchend",function(){return s.removeClass("action"),r.removeClass("action"),d.blur(),!1}),o.children(".clear-text").on("touchstart",function(){d.val("").focus().trigger("input")}),o.children(".search-icon").on("touchstart",function(){i.submit()}),t(".index-channel img").on("load error",function(){window.rePosFooter&&window.rePosFooter()}),l.on("touchstart",function(){l.css({background:"#000",color:"#fff",borderColor:"#fff"}),t(this).css({background:"rgba(255, 255, 255, 0.5)",color:"#000",borderColor:"#000"})}).on("touchend touchcancel",function(){t(this).css({background:"#000",color:"#fff",borderColor:"#fff"})})}),define("js/passport/entry",["jquery"],function(e,a,n){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",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#phone-num"),s=t("#country-select"),i=t("#area-code"),r=t("#btn-next"),l=e("js/passport/api"),d=e("js/plugin/tip"),c=t.trim,u=d.show;l.selectCssHack(t("#country-select")),l.bindClearEvt(),o.bind("input",function(){""===c(o.val())?r.addClass("disable"):r.removeClass("disable")}),s.change(function(){i.text(s.val())}),r.on("touchstart",function(){var e=c(o.val()),a=s.val();r.hasClass("disable")||(l.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:u(e.message)}}):u("手机号格式不正确,请重新输入"))})}),define("js/passport/api",["jquery"],function(e,a,n){function t(e){var a,n=r(".has-eye");e&&"open"===e.status?n.append('<div class="eye"></div>'):n.append('<div class="eye close"></div>'),a=n.children(".eye"),a.on("touchstart",function(e){var a=r(this),n=a.siblings(".pwd");e.preventDefault(),a.toggleClass("close"),a.hasClass("close")?n.attr("type","password"):n.attr("type","text"),n.focus()})}function o(){var e,a=r(".has-clear");a.append('<div class="clear-input"></div>'),e=a.children(".clear-input"),e.on("touchstart",function(a){var n=e.siblings(".input");n.val("").trigger("input").focus(),a.preventDefault()}),a.children(".input").bind("input",function(){var e=r(this),a=e.siblings(".clear-input"),n=l(e.val());""===n?a.hide():a.show()})}function s(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 n=navigator.userAgent;n.match(/uc/i)&&n.match(/android/i)?e.change(function(){a()}):e.removeClass("in-android-uc")}var r=e("jquery"),l=r.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}$/};n.exports={emailRegx:d,phoneRegx:c,bindEyesEvt:t,bindClearEvt:o,pwdValidate:s,selectCssHack:i}}),define("js/passport/register/code",["jquery"],function(e,a,n){e("js/passport/code")(!0)}),define("js/passport/code",["jquery"],function(e,a,n){var t=e("jquery");n.exports=function(a){function n(){var e,a=59;e=setInterval(function(){0===a?(i.text("重发验证码").removeClass("disable"),clearInterval(e)):i.text("重发验证码 ("+a--+"秒)")},1e3)}var o=t("#captcha"),s=t("#btn-next"),i=t("#captcha-tip"),r=t("#phone-num").val(),l=t("#area-code").val().replace("+",""),d=e("js/passport/api"),c=e("js/plugin/tip"),u=t.trim,p=c.show,h=a?"reg":"back";d.bindClearEvt(),o.bind("input",function(){""!==u(o.val())?s.removeClass("disable"):s.addClass("disable")}),i.on("touchstart",function(){i.hasClass("disable")||t.ajax({type:"POST",url:"/passport/"+h+"/sendcode",data:{phoneNum:r,areaCode:l},success:function(e){200===e.code?(i.text("重发验证码 (60秒)").addClass("disable"),n()):p(e.message)}})}),s.on("touchstart",function(){s.hasClass("disable")||t.ajax({type:"POST",url:"/passport/"+h+"/verifycode",data:{phoneNum:r,areaCode:l,code:u(o.val()),token:t("#token").val()},success:function(e){200===e.code?location.href=e.data:p(e.message)}})}),n()}}),define("js/passport/register/password",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#pwd"),s=t("#btn-sure"),i=e("js/passport/api"),r=e("js/plugin/tip"),l=t.trim,d=r.show;i.bindEyesEvt({status:"open"}),o.bind("input",function(){""===l(o.val())?s.addClass("disable"):s.removeClass("disable")}),s.on("touchstart",function(){var e=l(o.val());s.hasClass("disable")||(i.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)):d(e.message)}}))})}),define("js/passport/login/login",["jquery"],function(e,a,n){function t(){p&&h?d.removeClass("disable"):d.addClass("disable")}function o(){c.show(),u.show()}function s(){c.hide(),u.hide()}var i=e("jquery"),r=i("#account"),l=i("#pwd"),d=i("#btn-login"),c=i("#retrive-pwd-mask"),u=i("#retrive-pwd-ways"),p=!1,h=!1,f=e("js/passport/api"),g=e("js/plugin/tip"),m=i.trim,v=g.show;f.bindEyesEvt(),f.bindClearEvt(),r.bind("input",function(){p=""!==m(r.val())?!0:!1,t()}),l.bind("input",function(){h=""===m(l.val())?!1:!0,t()}),d.on("touchstart",function(){var e=m(r.val()),a=m(l.val());d.hasClass("disable")||((/^[0-9]+$/.test(e)||f.emailRegx.test(e))&&f.pwdValidate(a)?i.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("账号或密码有错误,请重新输入"))}),i("#forget-pwd").on("touchstart",function(){o()}),c.on("touchstart",function(){s()}),i("#cancel-retrive").on("touchstart",function(e){e.preventDefault(),s()}),r.trigger("input"),l.trigger("input")}),define("js/passport/login/international",["jquery"],function(e,a,n){function t(){c&&u?d.removeClass("disable"):d.addClass("disable")}var o=e("jquery"),s=o("#phone-num"),i=o("#country-select"),r=o("#area-code"),l=o("#pwd"),d=o("#btn-login"),c=!1,u=!1,p=e("js/passport/api"),h=e("js/plugin/tip"),f=o.trim,g=h.show;p.selectCssHack(i),p.bindEyesEvt(),p.bindClearEvt(),s.bind("input",function(){c=""===f(s.val())?!1:!0,t()}),l.bind("input",function(){var e=f(l.val());u=""===e?!1:!0,t()}),i.change(function(){r.text(i.val())}),d.on("touchstart",function(){var e=f(s.val()),a=i.val(),n=f(l.val());d.hasClass("disable")||(p.phoneRegx[a].test(e)&&p.pwdValidate(n)?o.ajax({type:"POST",url:"/passport/login/auth",data:{areaCode:a.replace("+",""),account:e,password:n},success:function(e){200===e.code?(g("登录成功"),setTimeout(function(){location.href=e.data},1e3)):g(e.message)},error:function(){g("网络断开连接啦~")}}):g("账号或密码有错误,请重新输入"))}),s.trigger("input"),l.trigger("input")}),define("js/passport/back/mobile",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#phone-num"),s=t("#country-select"),i=t("#area-code"),r=t("#btn-next"),l=e("js/passport/api"),d=e("js/plugin/tip"),c=t.trim,u=d.show;l.selectCssHack(t("#country-select")),l.bindClearEvt(),o.bind("input",function(){""===c(o.val())?r.addClass("disable"):r.removeClass("disable")}),s.change(function(){i.text(s.val())}),r.on("touchstart",function(){var e=c(o.val()),a=s.val();r.hasClass("disable")||(l.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:u(e.message)}}):u("手机号格式不正确,请重新输入"))})}),define("js/passport/back/code",["jquery"],function(e,a,n){e("js/passport/code")(!1)}),define("js/passport/back/email",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#email"),s=t("#btn-sure"),i=e("js/passport/api"),r=e("js/plugin/tip"),l=t.trim,d=r.show;i.bindClearEvt(),o.bind("input",function(){""===l(o.val())?s.addClass("disable"):s.removeClass("disable")}),s.on("touchstart",function(){var e=l(o.val());s.hasClass("disable")||(i.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",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#resend"),s=e("js/plugin/tip"),i=s.show;o.on("touchstart",function(e){e.preventDefault(),
t.ajax({url:o.data("url"),type:"GET",success:function(e){i(200===e.code?e.message:e.message)}})})}),define("js/passport/back/new-password",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#pwd"),s=t("#btn-ok"),i=e("js/passport/api"),r=e("js/plugin/tip"),l=t.trim,d=r.show,c=t("#phone-num");i.bindEyesEvt({status:"open"}),o.bind("input",function(){""===l(o.val())?s.addClass("disable"):s.removeClass("disable")}),s.on("touchstart",function(){var e,a,n=l(o.val()),r=!0;s.hasClass("disable")||(e={password:n},0===c.length&&(r=!1),r?(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"),i.pwdValidate(n)?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/product/entry",["jquery","swiper","hammer","lazyload","handlebars","source-map","index"],function(e,a,n){e("js/product/newsale/newarrival"),e("js/product/newsale/discount"),e("js/product/list"),e("js/product/detail/detail")}),define("js/product/newsale/newarrival",["jquery","swiper","hammer","lazyload","index"],function(e,a,n){function t(e){var a,n,t,o,l,u,p={};if(!d){if(e){for(n in T)T.hasOwnProperty(n)&&(T[n].reload=!0);switch(z.children(".active").removeClass("active"),E.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"sort":a={sort: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};break;case"limit":a={limit:e.id};break;case"channel":a={channel:e.id};break;case"p_d":a={p_d:e.id}}c.extend(C,a)}if(E.hasClass("today")?(o="today",l=1):E.hasClass("week")?(o="week",l=2):E.hasClass("sale")&&(o="sale",l=3),t=T[o],u=t.page+1,t.reload)u=1;else if(t.end)return;c.extend(p,C,{dayLimit:l,page:u}),d=!0,m.showLoadingMask(),c.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:p,success:function(e){var a,n;switch(o){case"today":a=s;break;case"week":a=i;break;case"sale":a=r}" "===e?(t.end=!0,t.reload&&a.html(b)):t.reload?(a.html(e),h(a.find(".lazy"))):(n=a.find(".good-info").length,a.append(e),h(a.find(".good-info:gt("+(n-1)+") .lazy"))),t.reload=!1,t.page=u,d=!1,m.hideLoadingMask(),window.rePosFooter()},error:function(){f.show("网络断开连接了~"),d=!1,m.hideLoadingMask()}})}}var o,s,i,r,l,d,c=e("jquery"),u=e("swiper"),p=e("hammer"),h=e("lazyload"),f=e("js/plugin/tip"),g=e("js/plugin/filter"),m=e("js/plugin/loading"),v=c("#goods-container"),w=v.children(),s=c(w.get(0)),i=c(w.get(1)).addClass("hide"),r=c(w.get(2)).addClass("hide"),y=c(window).height(),b='<p class="no-result">未找到相关搜索结果</p>',C={gender:c("#gender").val(),brand:c("#brand").val(),sort:c("#sort").val(),msort:c("#msort").val(),misort:c("#misort").val(),color:c("#color").val(),size:c("#size").val(),price:c("#price").val(),discount:c("#discount").val(),limit:c("#limit").val(),channel:c("#channel").val(),p_d:c("#p_d").val(),dayLimit:1,style:c("#style").val()},j=c.extend({},C),x=new Date,k=x.getMonth()+1,q=x.getDate(),z=c("#list-nav"),T={today:{reload:!0,page:0,end:!1},week:{reload:!0,page:0,end:!1},sale:{reload:!0,page:0,end:!1}},E=z.find(".active");e("js/product/suspend-cart"),c("#today a").text(k+"月"+q+"号"),c(".swiper-container .swiper-slide").length>1&&(o=new u(".swiper-container",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner"})),c.ajax({type:"GET",url:"/product/newsale/filter",data:C,success:function(e){v.append(e),g.initFilter({fCbFn:t,hCbFn:function(){E.addClass("active"),E.siblings(".filter").removeClass("active")}})}}),h(c(".lazy")),l=new p(z[0]),l.on("tap",function(e){var a,n,o,l=c(e.target).closest("li");if(e.preventDefault(),l.hasClass("filter"))l.hasClass("active")?(g.hideFilter(),E.addClass("active"),l.removeClass("active")):(E=l.siblings(".active"),E.removeClass("active"),l.addClass("active"),g.showFilter());else{if(l.hasClass("today")?n="today":l.hasClass("week")?n="week":l.hasClass("sale")&&(n="sale"),a=T[n],!l.hasClass("active")){if(o=l.siblings(".active"),E=l,o.hasClass("filter"))g.hideFilter();else{switch(v.children(".container:not(.hide)").addClass("hide"),n){case"today":s.removeClass("hide");break;case"week":i.removeClass("hide");break;case"sale":r.removeClass("hide")}g.resetFilter(),C=c.extend({},j)}o.removeClass("active"),l.addClass("active")}a.reload&&t()}e.srcEvent.stopPropagation()}),c(window).scroll(function(){c(window).scrollTop()+y>c(document).height()-.25*v.height()-50&&void 0!==E&&t()}),t()}),define("js/plugin/filter",["jquery","hammer"],function(e,a,n){function t(){u.addClass("hide")}function o(){u.removeClass("hide")}function s(){var e=g(".filter-body .sub-item");e.on("touchstart",function(){e.removeClass("highlight"),g(this).addClass("highlight")}).on("touchend touchcancel",function(){g(this).removeClass("highlight")})}function i(e){e.hasClass("active")||(e.siblings(".active").removeClass("active"),e.addClass("active"))}function r(e){var a,n,t=e.closest(".sub-classify"),o=t.siblings(".shower");return e.hasClass("chosed")?t:(t.children(".chosed").removeClass("chosed"),e.addClass("chosed"),a=g.trim(e.html()),n=g.trim(o.html()),o.html(n.substring(0,n.indexOf("</span>")+7)+a.substring(0,a.indexOf("<i"))),0===e.index()?o.addClass("default"):o.removeClass("default"),t)}function l(e){var a,n=e.data("id");a=r(e),p&&p({type:a.data("type"),id:n}),t()}function d(e){var a;p=e.fCbFn,h=e.hCbFn,f=e.missStatus,s(),u=g(".filter-mask"),a=new m(u[0]),a.on("tap",function(e){var a,n=g(e.target);e.preventDefault(),n.closest(".filter-body").length>0?(a=n.closest(".sub-item"),a.length>0?(a=n.closest("li"),l(a)):(a=n.closest(".classify-item"),e.srcEvent.stopPropagation(),i(a))):(t(),h&&h())})}function c(){"undefined"!=typeof u&&(g(".sub-classify").each(function(){r(g(this).children(":first-child"))}),i(g(".classify > :first-child")))}var u,p,h,f,g=e("jquery"),m=e("hammer");a.initFilter=d,a.showFilter=o,a.hideFilter=t,a.resetFilter=c}),define("js/product/suspend-cart",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#suspend-cart");t.ajax({type:"GET",url:"/cart/index/count",success:function(e){200===e.code&&o.find(".cart-count").html(e.data.cart_goods_count).removeClass("hide")}})}),define("js/product/newsale/discount",["jquery","swiper","hammer","lazyload","index"],function(e,a,n){function t(e){var a,n,t,o,s,l={};if(!i){if(e){for(n in x)x.hasOwnProperty(n)&&(x[n].reload=!0);switch(j.children(".active").removeClass("active"),k.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"sort":a={sort: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}}r.extend(C,a)}if(k.hasClass("new")?o="newest":k.hasClass("price")?o="price":k.hasClass("discount")&&(o="discount"),t=x[o],s=t.page+1,t.reload)s=1;else if(t.end)return;r.extend(l,C,{type:o,order:t.order,page:s}),i=!0,h.showLoadingMask(),r.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:l,success:function(e){var a,n;switch(o){case"newest":a=m;break;case"price":a=v;break;case"discount":a=w}" "===e?(t.end=!0,t.reload&&a.html(b)):t.reload?(a.html(e),c(a.find(".lazy"))):(n=a.find(".good-info").length,a.append(e),c(a.find(".good-info:gt("+(n-1)+") .lazy"))),t.reload=!1,t.page=s,i=!1,h.hideLoadingMask(),window.rePosFooter()},error:function(){u.show("网络断开连接了~"),i=!1,h.hideLoadingMask()}})}}var o,s,i,r=e("jquery"),l=e("swiper"),d=e("hammer"),c=e("lazyload"),u=e("js/plugin/tip"),p=e("js/plugin/filter"),h=e("js/plugin/loading"),f=r("#goods-container"),g=f.children(),m=r(g.get(0)),v=r(g.get(1)),w=r(g.get(2)),y=r(window).height(),b='<p class="no-result">未找到相关搜索结果</p>',C={gender:r("#gender").val(),brand:r("#brand").val(),sort:r("#sort").val(),msort:r("#msort").val(),misort:r("#misort").val(),color:r("#color").val(),size:r("#size").val(),price:r("#price").val(),discount:r("#discount").val(),style:r("#style").val()},j=r("#list-nav"),x={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}},k=j.find(".active");e("js/product/suspend-cart"),r(".swiper-container .swiper-slide").length>1&&(o=new l(".swiper-container",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner"})),r.ajax({type:"GET",url:"/product/newsale/filter",data:C,success:function(e){f.append(e),p.initFilter({fCbFn:t,hCbFn:function(){k.addClass("active"),k.siblings(".filter").removeClass("active")},missStatus:!0})}}),c(r(".lazy")),s=new d(j[0]),s.on("tap",function(e){var a,n,o,s=r(e.target).closest("li");if(e.preventDefault(),"undefined"!=typeof s&&0!==s.length){if(s.hasClass("filter"))s.hasClass("active")?(p.hideFilter(),k.addClass("active"),s.removeClass("active")):(k=s.siblings(".active"),k.removeClass("active"),s.addClass("active"),p.showFilter());else{if(s.hasClass("new")?n="newest":s.hasClass("price")?n="price":s.hasClass("discount")&&(n="discount"),a=x[n],s.hasClass("active")){if(s.hasClass("new"))return;(s.hasClass("price")||s.hasClass("discount"))&&(s.find(".icon > .iconfont").toggleClass("cur"),k=s,a.reload=!0,a.order=0===a.order?1:0)}else{if(o=s.siblings(".active"),k=s,o.hasClass("filter"))p.hideFilter();else switch(f.children(".container:not(.hide)").addClass("hide"),n){case"newest":m.removeClass("hide");break;case"price":v.removeClass("hide");break;case"discount":w.removeClass("hide")}o.removeClass("active"),s.addClass("active")}a.reload&&t()}e.srcEvent.stopPropagation()}}),r(window).scroll(function(){r(window).scrollTop()+y>r(document).height()-.25*f.height()-50&&void 0!==k&&t()}),t()}),define("js/product/list",["jquery","hammer","lazyload"],function(e,a,n){function t(e){var a,n,t,s,i,r={};if(!o){if(e){for(n in E)E.hasOwnProperty(n)&&(E[n].reload=!0);switch(T.children(".active").removeClass("active"),P.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"sort":a={sort: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}}d.extend(z,a)}if(P.hasClass("new")?s="newest":P.hasClass("price")?s="price":P.hasClass("discount")&&(s="discount"),t=E[s],i=t.page+1,t.reload)i=1;else if(t.end)return;d.extend(r,z,{type:s,order:t.order,page:i}),o=!0,v.showLoadingMask(),d.ajax({type:"GET",url:"/index/search/search",data:r,success:function(e){var a,n,r='<p class="no-result">未找到相关搜索结果</p>';switch(s){case"newest":n=y;break;case"price":n=b;break;case"discount":n=C}" "===e?(t.end=!0,t.reload&&n.html(r)):t.reload?(n.html(e),u(n.find(".lazy"))):(a=n.find(".good-info").length,n.append(e),u(n.find(".good-info:gt("+(a-1)+") .lazy"))),t.reload=!1,t.page=i,o=!1,v.hideLoadingMask(),window.rePosFooter()}})}}var o,s,i,r,l,d=e("jquery"),c=e("hammer"),u=e("lazyload"),p=d("#brand-header"),h=d("#intro-box"),f=e("js/plugin/filter"),g=e("js/index/write-search"),m=e("js/plugin/tip"),v=e("js/plugin/loading"),w=d("#goods-container"),y=w.children(".new-goods"),b=w.children(".price-goods"),C=w.children(".discount-goods"),j=d(window).height(),x=d("#search-input input"),k=d(".search-icon"),q=d("#search-input .clear-input"),z={gender:d("#gender").val(),brand:d("#brand").val(),sort:d("#sort").val(),msort:d("#msort").val(),misort:d("#misort").val(),color:d("#color").val(),size:d("#size").val(),price:d("#price").val(),discount:d("#discount").val(),query:d("#query").val(),style:d("#style").val()},T=d("#list-nav"),E={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}},P=T.find(".active");x.on("input",function(){""===x.val()?(k.css("color","#b2b2b2"),q.addClass("hide")):(k.css("color","#666"),q.removeClass("hide"))}),q.on("touchend",function(){x.val("").trigger("input")}),d("#search").on("touchend",function(){return d(this).closest("form").submit(),!1}),e("js/product/suspend-cart"),d.ajax({type:"GET",url:"/search/filter",data:z,success:function(e){w.append(e),f.initFilter({fCbFn:t,hCbFn:function(){P.addClass("active"),P.siblings(".filter").removeClass("active")}})}}),u(d(".lazy")),g.bindWirteLocal(d("#search-form")),s=new c(T[0]),s.on("tap",function(e){var a,n,o,s=d(e.target).closest("li");if(s.hasClass("filter"))s.hasClass("active")?(f.hideFilter(),P.addClass("active"),s.removeClass("active")):(P=s.siblings(".active"),P.removeClass("active"),s.addClass("active"),f.showFilter());else{if(s.hasClass("new")?n="newest":s.hasClass("price")?n="price":s.hasClass("discount")&&(n="discount"),a=E[n],s.hasClass("active")){if(s.hasClass("new"))return;(s.hasClass("price")||s.hasClass("discount"))&&(s.find(".icon > .iconfont").toggleClass("cur"),P=s,a.reload=!0,a.order=0===a.order?1:0)}else{if(o=s.siblings(".active"),P=s,o.hasClass("filter"))f.hideFilter();else switch(w.children(".container:not(.hide)").addClass("hide"),n){case"newest":y.removeClass("hide");break;case"price":b.removeClass("hide");break;case"discount":C.removeClass("hide")}o.removeClass("active"),s.addClass("active")}a.reload&&t()}}),d(window).scroll(function(){d(window).scrollTop()+j>d(document).height()-.25*w.height()&&t()}),p.length>0&&(i=new c(p.children(".btn-intro")[0]),i.on("tap",function(){h.removeClass("hide"),d("body").addClass("overflow-hidden")}),r=new c(document.getElementById("intro-box")),r.on("tap",function(e){var a=d(e.target);e.srcEvent.preventDefault(),(0===a.closest("#brand-intro").length||a.hasClass("close-intro"))&&(h.addClass("hide"),d("body").removeClass("overflow-hidden"))}),l=new c(p.children(".btn-col")[0]),l.on("tap",function(){var e,a=d(this),n=p.data("id");e=a.hasClass("coled")?"cancel":"ok",d.ajax({type:"POST",url:"/product/opt/favoriteBrand",data:{id:n,opt:e},success:function(e){200===e.code?a.toggleClass("coled"):400===e.code?location.href=e.data:m.show(e.message)},error:function(){m.show("网络断开连接了~")}})})),t()}),define("js/product/detail/detail",["jquery","swiper","lazyload","handlebars","source-map","index"],function(e,a,n){var t,o,s,i,r=e("jquery"),l=e("swiper"),d=e("lazyload"),c=e("handlebars");d(r("img.lazy")),t=new l(".banner-swiper",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner",nextButton:".swiper-button-next",prevButton:".swiper-button-prev"}),r("#nav-tab li").on("click",function(){var e=r(this).index();r(this).hasClass("focus")||(r("#nav-tab li").each(function(){r(this).removeClass("focus")}),r("#feedback-content .content").each(function(){r(this).addClass("hide")}),r(this).addClass("focus"),r("#feedback-content .content:eq("+e+")").removeClass("hide"))}),o=new l("#size-swiper-container",{slidesPerView:"auto"}),s=new l("#reference-swiper-container",{slidesPerView:"auto"}),i=c.registerHelper("addOne",function(e){return e+1})}),define("js/me/entry",["jquery","hammer","lazyload","swiper","index"],function(e,a,n){e("js/me/order"),e("js/me/order-detail"),e("js/me/fav"),e("js/me/index"),e("js/me/coupons"),e("js/me/online-service")}),define("js/me/order",["jquery","hammer","lazyload"],function(e,a,n){function t(e){var a={type:p,page:h.page+1},n=e&&e.showLoadingMask;f||(f=!0,n&&g.showLoadingMask(),s.ajax({type:"GET",url:"/home/getOrders",data:a,success:function(e){var t;" "!==e?(h.page=a.page,1===a.page?(c.html(e),r(c.find(".lazy"))):(t=c.children(".order").length,c.append(e),r(c.children(".order:gt("+(t-1)+")").find(".lazy"))),window.rePosFooter()):h.end=!0,f=!1,n&&g.hideLoadingMask()}}))}var o,s=e("jquery"),i=e("hammer"),r=e("lazyload"),l=s("#order-nav > li"),d=s("#order-container"),c=d.children(".orders:not(.hide)"),u=s(window).height(),p=l.filter(".active").data("type"),h={page:0,end:!1},f=!1,g=e("js/plugin/loading");r(),function(){var e=l.length;4!==e&&l.width(100/e+"%")}(),g.init(s("body")),o=new i(document.getElementById("order-container")),o.on("tap",function(e){var a,n,t,o=s(e.target);o.closest(".locHref").length>0||(a=o.closest(".order"),n=a.data("id"),o.closest(".del").length>0?s.ajax({type:"GET",url:"/home/delOrder",data:{id:n},success:function(e){200===e.code&&(location.href=location.href)}}):o.closest(".cancel").length>0?s.ajax({type:"GET",url:"/home/cancelOrder",data:{id:n},success:function(e){200===e.code&&(location.href=location.href)}}):(t=a.data("href"),location.href=t))}),s(window).scroll(function(){h.end===!1&&s(window).scrollTop()+u>s(document).height()-.25*d.height()&&t({noLoadingMask:!0})}),t()}),define("js/me/order-detail",["jquery","lazyload","hammer"],function(e,a,n){var t,o=e("jquery"),s=e("lazyload"),i=e("hammer"),r=o("#order-detail").data("id");s(),t=new i(document.getElementsByClassName("opt")[0]),t.on("tap",function(e){var a=o(e.target);a.hasClass("btn-del")?confirm("确定删除订单吗?")&&o.ajax({type:"GET",url:"/home/delOrder",data:{id:r}}):a.hasClass("btn-cancel")&&confirm("确定取消订单吗?")&&o.ajax({type:"GET",url:"/home/cancelOrder",data:{id:r}})})}),define("js/me/fav",["jquery","hammer","lazyload","swiper","index"],function(e,a,n){var t,o=e("jquery"),s=e("hammer"),i=(e("lazyload"),e("swiper")),r=o("#fav-tab > li"),l=o(".fav-content"),d=l.children(".fav-type").first(),c=o(".swiper-container"),u={};t=new s(document.getElementById("fav-tab")),t.on("tap",function(e){var a,n=o(e.target).closest("li");if(0!==n.length&&!n.hasClass("active")&&(a=n.index(),r.filter(".active").removeClass("active"),n.addClass("active"),d.addClass("hide"),d=l.children(":eq("+a+")").removeClass("hide"),1===a))for(var t=0;t<c.length;t++){var s=c.eq(t).attr("data-id");u[s]=new i("#swiper-container-"+s,{slidesPerView:"auto",grabCursor:!0,slideElement:"li",wrapperClass:"swiper-wrapper-"+s,lazyLoading:!0,watchSlidesVisibility:!0})}})}),define("js/me/index",["swiper","index"],function(e,a,n){e("js/product/recommend-for-you")}),define("js/product/recommend-for-you",["swiper","index"],function(e,a,n){var t,o=e("swiper");t=new o(".swiper-recommend",{slidesPerView:"auto"})}),define("js/me/coupons",["jquery","hammer"],function(e,a,n){var t,o=e("jquery"),s=e("hammer");o(".employ span").each(function(e){t=new s(o(".employ span")[e]),t.on("tap",function(a){o(".employ-list").addClass("none").eq(e).removeClass("none"),o(".employ span").removeClass("active").eq(e).addClass("active")})})}),define("js/me/online-service",["jquery"],function(e,a,n){var t=e("jquery"),o=t(".question-tab .tab-item");o.on("touchend",function(){var e=t(this).data("tab");e='[data-tab-name="'+e+'"]',o.removeClass("current"),t(this).addClass("current"),t(".question-list").removeClass("current"),t(e).addClass("current")})});
\ No newline at end of file
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
define("index",["jquery","hammer","swiper","lazyload","mlellipsis","iscroll-probe","handlebars","source-map","index"],function(e,a,n){var t;e("js/common"),e("js/category/entry"),e("js/guang/entry"),e("js/home/entry"),e("js/index/entry"),e("js/passport/entry"),e("js/product/entry"),e("js/me/entry"),n.exports=t}),define("js/common",["jquery"],function(e,a,n){function t(e){var a,n,t=document.cookie;return document.cookie&&""!==document.cookie&&(n=t.indexOf(e+"="),n>-1&&(n+=e.length+1,a=decodeURIComponent(d.trim(t.substring(n,t.indexOf(";",n)))))),a}function o(e,a,n){var t,o,s,i,r="";"undefined"!=typeof a&&(n=n||{},null===a&&(a="",n.expires=-1),n.expires&&("number"==typeof n.expires||n.expires.toUTCString)&&("number"==typeof n.expires?(i=new Date,i.setTime(i.getTime()+24*n.expires*60*60*1e3)):i=n.expires,r="; expires="+i.toUTCString()),t=n.path?"; path="+n.path:"",o=n.domain?"; domain="+n.domain:"",s=n.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(a),r,t,o,s].join(""))}function s(){var e,a=t("_UID");return"undefined"==typeof a?0:(e=a.split("::"),"undefined"==typeof e||e.length<4?0:e)}function i(){var e=s();return 0===e?0:e[1]}function r(){var e=t("_g");return"undefined"==typeof e?"":JSON.parse(e).k}function l(){0!==c.length&&(d("body").height()<=d(window).height()?c.addClass("bottom"):c.removeClass("bottom"))}var d=e("jquery"),c=d("#yoho-footer"),u=d(".yoho-header");!function(){var e=c.children(".op-row"),a=s();d("body").height()<=d(window).height()&&c.addClass("bottom"),0===a?e.prepend('<a href="/signin.html?refer='+location.href+'">登录</a><span class="sep-line">|</span><a href="/reg.html">注册</a>'):e.prepend('Hi,<a class="user-name" href="/home?tmp='+Math.random()+'">'+a[0]+'</a><a href="/passport/signout/index?token='+a[3]+'">退出</a>'),e.find(".back-to-top").on("touchend",function(){return d(window).scrollTop(0),!1}),c.removeClass("hide")}(),function(){var e=i();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.13","yohobuy_m",e,"")}(),u.on("touchstart","a",function(){u.find("a").removeClass("highlight"),d(this).addClass("highlight")}).on("touchend touchcancel","a",function(){d(this).removeClass("highlight")}),function(){var e,a,n=0,t="webkit moz ms o".split(" "),o=window.requestAnimationFrame,s=window.cancelAnimationFrame;for(a=0;a<t.length&&(!o||!s);a++)e=t[a],o=o||window[e+"RequestAnimationFrame"],s=s||window[e+"CancelAnimationFrame"]||window[e+"CancelRequestAnimationFrame"];o&&s||(o=function(e,a){var t=(new Date).getTime(),o=Math.max(0,16-(t-n)),s=window.setTimeout(function(){e(t+o)},o);return n=t+o,s},s=function(e){window.clearTimeout(e)}),window.requestAnimationFrame=o,window.cancelAnimationFrame=s}(),window.cookie=t,window.setCookie=o,window.getUser=s,window.getUid=i,window.getShoppingKey=r,window.rePosFooter=l}),define("js/category/entry",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){e("js/category/index"),e("js/category/brand")}),define("js/category/index",["jquery"],function(e,a,n){var t=e("jquery"),o=t(".category-nav"),s=t(".category-container"),i=s.children(".content"),r=s.find(".sub-level li"),l=s.find(".primary-level li"),d=i.not(".hide");!function(){var e=t(".yoho-header"),a=t("#search-input"),n=t(window).height()-e.outerHeight()-a.outerHeight()-o.outerHeight();s.css("min-height",n),i.height(n)}(),t("#search-input").focus(function(){t(this).blur()}),o.bind("contextmenu",function(e){return!1}),t(".category-container").bind("contextmenu",function(e){return!1}),o.on("touchend touchcancel",function(e){var a=t(e.target).closest("li"),n=a.index();a.hasClass("focus")||(o.find("li.focus").removeClass("focus"),a.addClass("focus"),d.addClass("hide"),d=i.eq(n).removeClass("hide"))}),s.on("touchend",function(e){var a,n,o,s=t(e.target);if(n=s.closest(".p-level-item"),n.length>0){if(o=n.index(),a=s.closest(".content").find(".sub-level"),s.hasClass("focus"))return;s.closest(".primary-level").children(".focus").removeClass("focus"),s.addClass("focus"),a.not(".hide").addClass("hide"),a.eq(o).removeClass("hide")}}),s.find(".primary-level").on("touchstart touchend touchcancel","li",function(){l.removeClass("highlight"),t(this).addClass("highlight")}).on("touchend touchcancel","li",function(){t(this).removeClass("highlight")}),s.find(".sub-level").on("touchstart","li",function(){r.removeClass("highlight"),t(this).addClass("highlight")}).on("touchend touchcancel","li",function(){t(this).removeClass("highlight")}),o.on("touchstart","li",function(){o.find("li").removeClass("bytouch"),t(this).addClass("bytouch")}).on("touchend touchcancel","li",function(){o.find("li").removeClass("bytouch")})}),define("js/category/brand",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){function t(){var e=u(".brand-list").find("p");e.on("touchstart",function(){e.css("background","#fff"),u(this).css("background","#eee")}).on("touchend touchcancel",function(){u(this).css("background","#fff")})}function o(){var e=(d.val()+"").toLowerCase(),a={},n=0,o="";""!==e&&(u.each(l,function(n,t){u.isArray(t)&&u.each(t,function(t,o){o.name.toLowerCase().indexOf(e)>-1&&(a[n]=a[n]||[],a[n].push(o))})}),u.each(a,function(e,a){var t=['<div class="brand-list bar-',n,'">'];n++,t.push('<div class="title-bar"><h2>'),t.push(e),t.push("</h2></div>"),u.each(a,function(e,a){t.push('<p><a href="'+a.url+'">'+a.name),a.isNew&&t.push('<i class="icon-hot">HOT</i>'),a.isHot&&t.push('<i class="icon-new">NEW</i>'),t.push("</a></p>")}),t.push("</div>"),o+=t.join("")})),u(".search-result").html(o),t()}var s,i,r,l,d,c,u=e("jquery"),h=e("hammer"),p=e("swiper"),f=e("lazyload"),g=u(".brand-list"),m=u(".search-icon"),v=u(".newbrand-search").outerHeight(),w=u(".yoho-header").outerHeight(),y=parseInt(v)+parseInt(w)-1;s=new p(".swiper-container",{lazyLoading:!0,loop:!0,autoplay:3e3,pagination:".swiper-pagination .pagination-inner"}),f(u("img.lazy")),u(".yoho-header").css({"z-index":2,position:"fixed",top:0}),i=u('<div class="title-bar fixed-title-bar"><h2></h2></div>'),i.css({position:"fixed",top:y}).hide(),r=y+u(".hot-brand").outerHeight()+u(".banner-top").outerHeight(),g.last().append(i),u(window).scroll(function(){var e=u(window).scrollTop();g.eq(0).offset().top<r&&i.hide(),g.each(function(){var a=u(this).offset().top-y;e>=a&&i.css({display:"block"}).find("h2").html(u(this).find(".title-bar").text())})}),t(),u(".brand-search-page").length&&(l=u.parseJSON(u("#brands-data").html()),d=u("#keyword"),d.on("input",function(){d.val().length?(m.css("color","#000"),u(this).closest(".search-box").css("width","11.25rem"),u(".search-action").show()):(m.css("color","#b2b2b2"),u(this).closest(".search-box").css("width","12.5rem"),u(".search-action").hide()),o()}).focus(),c=new h(u(".clear-text")[0]),c.on("tap",function(e){e.preventDefault(),u(".search-result").html(""),u("#keyword").val("").trigger("input"),e.srcEvent.stopPropagation()}),u("form.search-box").on("submit",function(){return!1}))}),define("js/guang/entry",["jquery","lazyload","swiper","hammer","mlellipsis","iscroll-probe","index"],function(e,a,n){e("js/guang/plus-star/list"),e("js/guang/plus-star/detail"),e("js/guang/home"),e("js/guang/list"),e("js/guang/detail")}),define("js/guang/plus-star/list",["jquery","lazyload","swiper","index"],function(e,a,n){var t,o=e("jquery"),s=e("lazyload"),i=e("swiper"),r=o("#nav-tab > li"),l=o("#ps-content > .content");s(o("img.lazy")),t=new i(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),o("#nav-tab").bind("contextmenu",function(e){return!1}),o("#nav-tab").on("touchend touchcancel",function(e){var a=o(e.target).closest("li");a.hasClass("focus")||(r.toggleClass("focus"),l.toggleClass("hide"),o(document).trigger("scroll"))}),o("#nav-tab").on("touchstart",function(e){var a=e.target||e.srcElement;a.className="bytouch "+a.className}).on("touchend touchcancel",function(){r.removeClass("bytouch")})}),define("js/guang/plus-star/detail",["jquery","hammer","mlellipsis","lazyload"],function(e,a,n){var t,o,s,i,r=e("jquery"),l=e("hammer"),d=e("mlellipsis"),c=e("lazyload"),u=r("#intro"),h=r("#intro-more-txt"),p=r("#related-infos-container"),f=e("js/guang/info"),g=e("js/plugin/tip"),m=r("#brand-info").data("id"),v=r("#jump-to-app").val();e("js/plugin/wx-share"),d.init(),c(r("img.lazy")),u[0].mlellipsis(3),setTimeout(function(){t=u.text(),o=u.attr("title")}),f.initInfosEvt(p),s=new l(document.getElementById("more-intro")),s.on("tap",function(e){var a=r(e.target).closest("#more-intro");a.toggleClass("spread"),a.hasClass("spread")?(u.text(o),h.text("收起")):(u.text(t),h.text("more"),r(window).scrollTop(0,400)),e.preventDefault()}),i=new l(document.getElementById("brand-like")),i.on("tap",function(e){var a="ok",n=r(e.target);"1"!==v&&(e.preventDefault(),n.hasClass("like")&&(a="cancel"),r.ajax({type:"POST",url:"/guang/opt/favoriteBrand",data:{id:m,opt:a},success:function(e){200===e.code?n.toggleClass("like"):400===e.code||412===e.code?location.href=e.data:g.show(e.message)},error:function(){g.show("网络断开连接了~")}}))})}),define("js/guang/info",["jquery","hammer","mlellipsis","lazyload"],function(e,a,n){function t(e){d(e.find("img.lazy")),e.each(function(){var e=i(this),a=e.find(".info-title"),n=e.find(".info-text");a[0].mlellipsis(2),n[0].mlellipsis(2)})}function o(e){var a;"undefined"!=typeof e&&(a=new r(e[0]),a.on("tap",function(e){var a,n,t=i(e.target),o="ok";return a=t.closest(".like-btn"),a.length>0?(e.preventDefault(),a.hasClass("like")&&(o="cancel"),n=t.closest(".guang-info"),void i.ajax({type:"POST",url:"/guang/opt/praiseArticle",data:{id:n.data("id"),opt:o},success:function(e){var n=e.code;200===n&&(a.next(".like-count").text(e.data),a.toggleClass("like"))},error:function(){c.show("网络断开连接了~")}})):(a=t.closest(".collect-btn"),void(a.length>0&&(e.preventDefault(),a.hasClass("collected")&&(o="cancel"),n=t.closest(".guang-info"),i.ajax({type:"POST",url:"/guang/opt/collectArticle",data:{id:n.data("id"),opt:o},success:function(e){e.code&&200===e.code&&a.toggleClass("collected")},error:function(){c.show("网络断开连接了~")}}))))}),t(e.find(".guang-info")))}function s(e,a,n){var o;g||a.end||(1===a.page&&u.showLoadingMask(),o=e.find(".guang-info").length,g=!0,i.ajax({type:"GET",url:n?n:"/guang/index/page",data:a,success:function(n){var s;return" "===n?(a.end=!0,g=!1,p.addClass("hide"),void f.removeClass("hide")):(e.append(n),s=o>0?e.find(".guang-info:gt("+(o-1)+")"):e.find(".guang-info"),t(s),1===a.page&&(u.hideLoadingMask(),p.removeClass("hide"),window.rePosFooter()),a.page++,void(g=!1))},error:function(){c.show("网络断开连接了~"),g=!1}}))}var i=e("jquery"),r=e("hammer"),l=e("mlellipsis"),d=e("lazyload"),c=e("js/plugin/tip"),u=e("js/plugin/loading"),h=i("#load-more-info"),p=i(""),f=i(""),g=!1;l.init(),h.length>0&&(p=h.children(".loading"),f=h.children(".no-more")),a.initInfosEvt=o,a.setLazyLoadAndMellipsis=t,a.loadMore=s}),define("js/plugin/tip",["jquery"],function(e,a,n){function t(e,a){var n,t;"undefined"!=typeof e&&(n=e.toString(),t=a&&a>0?a:2e3,o.text(n).show(),s=setTimeout(function(){"block"===o.css("display")&&o.hide()},t))}var o,s,i=e("jquery");!function(){var e='<div id="yoho-tip" class="yoho-tip"></div>';i(".yoho-page").append(e),o=i("#yoho-tip"),o.on("touchend",function(){o.hide(),clearTimeout(s)})}(),a.show=t}),define("js/plugin/loading",["jquery"],function(e,a,n){function t(e){var a='<div class="loading-mask hide"><div class="loading"></div></div>';d=!0,void 0===e&&(e=l),e.append(a),i=e.children(".loading-mask")}function o(){d||(t(),d=!0),i.removeClass("hide")}function s(){i.addClass("hide")}var i,r=e("jquery"),l=r(".yoho-page"),d=!1;a.init=t,a.showLoadingMask=o,a.hideLoadingMask=s}),define("js/plugin/wx-share",["jquery"],function(e,a,n){var t=e("jquery");n.exports=function(){var e="http://www.yohoshow.com/api/wechat/getSignPackage";t.getJSON(e+"?pageurl="+encodeURIComponent(location.href.split("#")[0])+"&callback=?",function(e){var a,n,t,o;void 0!==e&&""!==e&&(a=e.appId.toString(),n=e.timestamp,t=e.nonceStr.toString(),o=e.signature.toString(),wx.config({debug:!1,appId:a,timestamp:n,nonceStr:t,signature:o,jsApiList:["checkJsApi","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","hideMenuItems","showMenuItems","hideAllNonBaseMenuItem","showAllNonBaseMenuItem","translateVoice","startRecord","stopRecord","onRecordEnd","playVoice","pauseVoice","stopVoice","uploadVoice","downloadVoice","chooseImage","previewImage","uploadImage","downloadImage","getNetworkType","openLocation","getLocation","hideOptionMenu","showOptionMenu","closeWindow","scanQRCode","chooseWXPay","openProductSpecificView","addCard","chooseCard","openCard"]}))}),wx.ready(function(){var e=t("#shareTitle").val(),a=t("#shareImg").val(),n=t("#shareDesc").val(),o=t("#shareLink").val(),s={title:e,desc:n,imgUrl:a,link:o};wx.onMenuShareAppMessage(s),wx.onMenuShareTimeline(s),wx.onMenuShareQQ(s),wx.onMenuShareWeibo(s)})}}),define("js/guang/home",["jquery","swiper","hammer","mlellipsis","lazyload","index"],function(e,a,n){var t,o=e("jquery"),s=e("swiper"),i=e("js/guang/info"),r=i.loadMore,l=o("#load-more-info"),d=o(""),c=o(""),u=o(window).height(),h=o("#info-list"),p=h.children(".info-list"),f=o("#guang-nav"),g=f.children(".focus"),m=g.data("type"),v={};l.length>0&&(d=l.children(".loading"),c=l.children(".no-more")),t=new s(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination",autoplay:3e3}),i.initInfosEvt(h),function(){var e=o("#gender").val();f.children(".guang-nav-item").each(function(){var a=o(this).data("type"),n=o(this).hasClass("focus");v[a]={page:n?2:1,gender:e,type:a,end:!1}})}(),f.bind("contextmenu",function(e){return!1}),f.on("touchend touchcancel",function(e){var a,n,t=o(e.target).closest(".guang-nav-item");t.hasClass("focus")||(n=t.index(),t.addClass("focus"),g.removeClass("focus"),a=p.eq(n),g=t,m=t.data("type"),1===v[m].page?(d.addClass("hide"),c.addClass("hide"),r(a,v[m])):v[m].end?(d.addClass("hide"),c.removeClass("hide")):(d.removeClass("hide"),c.addClass("hide")),p.not(".hide").addClass("hide"),a.removeClass("hide"),1===v[m].page&&window.rePosFooter())}),o(document).scroll(function(){var e=p.not(".hide");o(window).scrollTop()+u>=o(document).height()-.25*e.height()&&r(e,v[m])}),f.on("touchstart",function(e){var a=e.target||e.srcElement;a.className="bytouch "+a.className}).on("touchend touchcancel",function(){f.find("li").removeClass("bytouch")})}),define("js/guang/list",["jquery","hammer","mlellipsis","lazyload"],function(e,a,n){var t=e("jquery"),o=e("js/guang/info"),s=o.loadMore,i=t(window).height(),r=t("#author-infos"),l=t("#tag"),d=t("#gender"),c=t("#isApp"),u={page:2,end:!1},h=t("#info-list");o.initInfosEvt(h),r.length>0&&t.extend(u,{authorId:r.data("id"),isApp:c.val()}),l.length>0&&t.extend(u,{tag:l.val(),gender:d.val(),isApp:c.val()}),t(document).scroll(function(){t(window).scrollTop()+i>=t(document).height()-.25*h.height()&&s(h,u)})}),define("js/guang/detail",["jquery","mlellipsis","lazyload","iscroll-probe"],function(e,a,n){function t(e){var a=e.offset().left,n=-C+a+y/2+"px";r.css({backgroundPosition:n+" bottom"}),v&&b.css({backgroundPosition:n+" bottom"})}function o(e){var a,n,o,s=h(e.currentTarget),p=s.index();s.hasClass("focus")||(l.filter(".focus").removeClass("focus"),v&&(a=s.closest(".fixed-thumb-container").length>0?r:b,n=a.find(".thumb").eq(p),b.find(".thumb.focus").removeClass("focus"),n.addClass("focus")),s.addClass("focus"),t(s),d.not(".hide").addClass("hide"),o=d.eq(p),o.removeClass("hide"),f(o.find(".lazy")),v?u&&u.scrollToElement(c,400):h("body").animate({scrollTop:i.offset().top},400),u&&u.refresh())}function s(){var e,a,n,t,o,s=h("#scroller"),l=h(".yoho-header"),d=0;return l.length>0&&(d=l.outerHeight()),u=new g("#wrapper",{probeType:3,mouseWheel:!0,click:!0}),document.addEventListener("touchmove",function(e){e.preventDefault()},!1),w?(e=h(window).height()-d,o=b[0],a=r.outerHeight(),n=i.outerHeight(),t=i.offset().top-d,void u.on("scroll",function(){var i=-this.y,r=o.className;t-e+a>=i?-1===r.indexOf("fixed-bottom")&&b.addClass("fixed-bottom").removeClass("hide"):t>=i?-1===r.indexOf("hide")&&b.addClass("hide").removeClass("fixed-bottom fixed-top"):t+n-a>=i?-1===r.indexOf("fixed-top")&&b.addClass("fixed-top").removeClass("hide absolute").css("top",""):t+n>=i?(-1===r.indexOf("absolute")&&b.addClass("absolute").removeClass("fixed-top hide"),o.style.top=t+d+n-a-i+"px"):i>t+n&&-1===r.indexOf("hide")&&b.addClass("hide").removeClass("absolute"),s.trigger("scroll")})):void u.on("scroll",function(){s.trigger("scroll")})}var i,r,l,d,c,u,h=e("jquery"),p=e("mlellipsis"),f=e("lazyload"),g=e("iscroll-probe"),m=h(".author .intro"),v=!1,w=h(".collocation-block").length>0?!0:!1,y=0,b=h(""),c=document.querySelector("#wrapper .collocation-block"),C=h(window).width();e("js/plugin/wx-share")(),window.onload=function(){u&&u.refresh()},a.i=function(e){var a=navigator.userAgent.indexOf("iPhone")>0?!0:!1;v=a&&e,p.init(),f(h(".lazy")),h(".info-list .title, .one-good .reco-name").each(function(){this.mlellipsis(2)}),m.offset()&&parseInt(m.offset().left,10)===parseInt(m.css("margin-left"),10)&&m.css("padding-top",0),v&&(h(".yoho-header").length>0?h("#wrapper").addClass("ios has-head"):h("#wrapper").addClass("ios")),w&&(i=h(".collocation-block"),r=i.children(".thumb-container"),l=r.find("li"),d=i.find(".prod"),y=l.width(),v&&(b=h("#wrapper").after(r.clone().addClass("fixed-thumb-container fixed-bottom")).next(".thumb-container"),f(b.find(".lazy"),{event:"sporty"})),t(l.filter(".focus")),r.delegate(".thumb","touchend",o),v&&b.delegate(".thumb","touchend",o)),v&&s()}}),define("js/home/entry",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){e("js/home/home"),e("js/home/maybe-like")}),define("js/home/home",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){function t(){b.hasClass("menu-open")&&(b.removeClass("menu-open"),m(".overlay").hide(),m(".sub-nav").removeClass("show"),j.removeClass("on"),m("body").css({height:"auto",overflow:"auto"}))}function o(){k+=10,q.css({transform:"rotateX("+k+"deg)","-webkit-transform":"rotateX("+k+"deg)","-moz-transform":"rotateX("+k+"deg)"}),k/90%2===1&&(z?(q.addClass("animate"),z=!1):(q.removeClass("animate"),z=!0)),k/90%2===0&&k%360!==0?window.setTimeout(o,3e3):k%360===0?window.setTimeout(o,6e4):c(function(){o()})}var s,i,r,l,d,c,u,h,p,f,g,m=e("jquery"),v=e("hammer"),w=e("swiper"),y=e("lazyload"),b=m(".mobile-wrap"),C=m(".overlay"),j=m(".side-nav"),x=m(".sub-nav"),k=0,q=m(".home-header .logo"),z=!0;e("js/home/maybe-like"),y(m("img.lazy")),g=new v(m(".nav-btn")[0]),g.on("tap",function(e){return e.preventDefault(),b.addClass("menu-open"),C.show().css("opacity",.3),j.addClass("on"),m("body").css({height:m(window).height(),width:m(window).width(),overflow:"hidden"}),e.srcEvent.stopPropagation(),!1}),m(".overlay").on("touchstart",function(e){return t(),!1}),j.on("touchstart","li",function(e){return m(this).find(".sub-nav").size()>0&&(m(".sub-nav").removeClass("show"),m(this).find(".sub-nav").addClass("show")),e.stopPropagation(),e.target.pathname===location.pathname?(t(),!1):void 0}),x.each(function(){m(this).find("li").eq(0).on("touchstart",function(e){return m(".sub-nav").removeClass("show"),e.stopPropagation(),!1})}).on("touchstart",function(e){e.currentTarget!==e.target&&x.find("li").removeClass("current")}),j.children("ul").children("li").on("touchstart",function(){j.children("ul").children("li").css("background","#fff"),m(this).css("background","#eee")}).on("touchend touchcancel",function(){m(this).css("background","#fff")}),m(".banner-swiper").find("li").size()>1&&(s=new w(".banner-swiper",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".banner-top .pagination-inner"})),r=new w(".brands-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"brands-list",slideElement:"li"}),i=new w(".recommend-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"recommend-list",slideElement:"li"}),m(".trend-topic-swiper").find("li").size()>1&&(l=new w(".trend-topic-swiper",{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".trend-topic-content .pagination-inner"})),m(".category-swiper").each(function(e,a){p="category-swiper"+e,m(this).addClass(p),m("."+p).find(".swiper-slide").size()>1&&(d=new w("."+p,{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:"."+p+" .pagination-inner"}))}),c=function(){var e=null,a=["webkit","moz","ms"];for(h=0;h<a.length;h++)u=a[h]+"RequestAnimationFrame",window[u]&&(f=!0,e=u);return f?function(a){window[e](a)}:function(e){window.setTimeout(e,67)}}(),setTimeout(o,3e3),m(".home-header .iconfont").on("touchstart",function(){m(this).addClass("highlight")}).on("touchend touchcancel",function(){m(this).removeClass("highlight")}),m("#yoho-footer").css({"margin-bottom":"2.5rem"}),a.set=function(e){window.setCookie("_Channel",e,{expires:365,domain:".m.yohobuy.com"})}}),define("js/home/maybe-like",["jquery","hammer","lazyload"],function(e,a,n){function t(){m||(m=!0,h.showLoadingMask(),d.ajax({type:"GET",url:i,data:{page:v+1},success:function(e){return" "===e?(m=!1,h.hideLoadingMask(),void(w&&(i="1,3"===w?"/boys/bottomBanner":"/girls/bottomBanner",d.ajax({type:"GET",url:i,success:function(e){e&&e.img&&(d("#load-more-img").show(),d("#load-more-img a").attr("href",e.url),d("#load-more-img a > img").attr("src",e.img))},error:function(){}})))):(s=g.find(".good-info").length,g.append(e),p(0===s?g.find(".good-info").find("img.lazy"):g.find(".good-info:gt("+(s-1)+")").find("img.lazy")),m=!1,h.hideLoadingMask(),void v++)},error:function(){u.show("网络断开连接了~"),m=!1,h.hideLoadingMask()}}))}var o,s,i,r,l,d=e("jquery"),c=e("hammer"),u=e("js/plugin/tip"),h=e("js/plugin/loading"),p=e("lazyload"),f=d(window).height(),g=d("#goods-list"),m=!1,v=0,w=null,y=d(".mobile-wrap").hasClass("kids-wrap")?!0:!1,b=d(".mobile-wrap").hasClass("lifestyle-wrap")?!0:!1,C=d("#maybe-like-nav");y?i="/product/recom/maylikekids":b?i="/product/recom/maylikelife":(w=d(".mobile-wrap").hasClass("boys-wrap")?"1,3":"2,3",i="/product/recom/maylike?gender="+w),r=C.children(".focus"),b&&(o=new c(C[0]),o.on("tap",function(e){var a,n=d(e.target).closest("li"),t=d(".goods-list");e.preventDefault(),n.hasClass("focus")||(l=n.index(),n.addClass("focus"),r.removeClass("focus"),t.not(".hide").addClass("hide"),a=t.eq(l),a.removeClass("hide"),r=n,d(document).trigger("scroll"),e.srcEvent.stopPropagation())})),h.init(d(".maybe-like")),d(".maybe-like p").on("touchstart",function(e){t()}),d(window).scroll(function(){d(window).scrollTop()+f>=d(document).height()-50&&t()})}),define("js/index/entry",["jquery","hammer"],function(e,a,n){e("js/index/search"),e("js/index/footer"),e("js/index/channel")}),define("js/index/search",["jquery","hammer"],function(e,a,n){var t,o,s=e("jquery"),i=e("hammer"),r=s("#search-input input"),l=s("#search-input .clear-input"),d=s(".search-icon"),c=s("#search-form"),u=s(".history"),h=s("#clear-history"),p=e("js/index/write-search"),f=p.getRanToken();t=new i(h[0]),t.on("tap",function(){localStorage.removeItem("historys"),u.html("")}),r.on("input",function(){""===r.val()?(d.css("color","#b2b2b2"),l.addClass("hide")):(d.css("color","#666"),l.removeClass("hide"))}),o=new i(l[0]),o.on("tap",function(){r.val("").trigger("input")}),s("#search").on("touchend",function(){return s(this).closest("form").submit(),!1}),function(){var e,a,n,t="";if(localStorage&&(a=localStorage.getItem("historys"),a&&a.length>0)){for(a=a.split(f),n=0;n<a.length;n++)e=a[n],""!==e&&(t+='<li><a href="/?query='+e+'">'+e+"</li>");u.html(t),h.removeClass("hide")}}(),p.bindWirteLocal(c)}),define("js/index/write-search",[],function(e,a,n){function t(){return s}function o(e){e.on("submit",function(){var e,a=this.query.value;if(localStorage){if(e=localStorage.getItem("historys"),e=e?e:"",e.indexOf(s+a+s)>-1)return;""===e&&(a=s+a),e+=a+s,localStorage.setItem("historys",e)}})}var s=" ??++ ";a.getRanToken=t,a.bindWirteLocal=o}),define("js/index/footer",["jquery","hammer"],function(e,a,n){function t(){var e="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445",a=new Date;setTimeout(function(){new Date-a<2e3&&(window.location=e)},500)}var o,s=e("jquery"),i=e("hammer");e("js/common"),s("#float-layer-close").on("touchend",function(e){return s("#float-layer-app").hide(),window.setCookie("_float-layer-app","id490655927",{domain:".yohobuy.com"}),window.setCookie("_float-layer-app-close",1,{domain:".yohobuy.com",expires:1}),!1}),s("#float-layer-btn")&&s("#float-layer-btn")[0]&&(o=new i(s("#float-layer-btn")[0]),o.on("tap",function(e){t("bottom"),e.srcEvent.stopPropagation()}),"function"!=typeof window.cookie||window.cookie("_float-layer-app")?s("#float-layer-app").hide():s("#float-layer-app").show())}),define("js/index/channel",["jquery"],function(e,a,n){var t=e("jquery"),o=t(".search-box"),s=t(".box"),i=t(".index-search"),r=t(".index-logo"),l=t(".index-channel a"),d=o.children('input[type="text"]'),c=s.children(".no-search"),u=o.children(".search-icon");e("js/common"),d.on("focus",function(){s.addClass("action"),r.addClass("action")}).on("input",function(){""===d.val()?u.addClass("empty"):u.removeClass("empty")}),c.on("touchend",function(){return s.removeClass("action"),r.removeClass("action"),d.blur(),!1}),o.children(".clear-text").on("touchstart",function(){d.val("").focus().trigger("input")}),o.children(".search-icon").on("touchstart",function(){i.submit()}),t(".index-channel img").on("load error",function(){window.rePosFooter&&window.rePosFooter()}),l.on("touchstart",function(){l.css({background:"#000",color:"#fff",borderColor:"#fff"}),t(this).css({background:"rgba(255, 255, 255, 0.5)",color:"#000",borderColor:"#000"})}).on("touchend touchcancel",function(){t(this).css({background:"#000",color:"#fff",borderColor:"#fff"})})}),define("js/passport/entry",["jquery"],function(e,a,n){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",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#phone-num"),s=t("#country-select"),i=t("#area-code"),r=t("#btn-next"),l=e("js/passport/api"),d=e("js/plugin/tip"),c=t.trim,u=d.show;l.selectCssHack(t("#country-select")),l.bindClearEvt(),o.bind("input",function(){""===c(o.val())?r.addClass("disable"):r.removeClass("disable")}),s.change(function(){i.text(s.val())}),r.on("touchstart",function(){var e=c(o.val()),a=s.val();r.hasClass("disable")||(l.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:u(e.message)}}):u("手机号格式不正确,请重新输入"))})}),define("js/passport/api",["jquery"],function(e,a,n){function t(e){var a,n=r(".has-eye");e&&"open"===e.status?n.append('<div class="eye"></div>'):n.append('<div class="eye close"></div>'),a=n.children(".eye"),a.on("touchstart",function(e){var a=r(this),n=a.siblings(".pwd");e.preventDefault(),a.toggleClass("close"),a.hasClass("close")?n.attr("type","password"):n.attr("type","text"),n.focus()})}function o(){var e,a=r(".has-clear");a.append('<div class="clear-input"></div>'),e=a.children(".clear-input"),e.on("touchstart",function(a){var n=e.siblings(".input");n.val("").trigger("input").focus(),a.preventDefault()}),a.children(".input").bind("input",function(){var e=r(this),a=e.siblings(".clear-input"),n=l(e.val());""===n?a.hide():a.show()})}function s(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 n=navigator.userAgent;n.match(/uc/i)&&n.match(/android/i)?e.change(function(){a()}):e.removeClass("in-android-uc")}var r=e("jquery"),l=r.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}$/};n.exports={emailRegx:d,phoneRegx:c,bindEyesEvt:t,bindClearEvt:o,pwdValidate:s,selectCssHack:i}}),define("js/passport/register/code",["jquery"],function(e,a,n){e("js/passport/code")(!0)}),define("js/passport/code",["jquery"],function(e,a,n){var t=e("jquery");n.exports=function(a){function n(){var e,a=59;e=setInterval(function(){0===a?(i.text("重发验证码").removeClass("disable"),clearInterval(e)):i.text("重发验证码 ("+a--+"秒)")},1e3)}var o=t("#captcha"),s=t("#btn-next"),i=t("#captcha-tip"),r=t("#phone-num").val(),l=t("#area-code").val().replace("+",""),d=e("js/passport/api"),c=e("js/plugin/tip"),u=t.trim,h=c.show,p=a?"reg":"back";d.bindClearEvt(),o.bind("input",function(){""!==u(o.val())?s.removeClass("disable"):s.addClass("disable")}),i.on("touchstart",function(){i.hasClass("disable")||t.ajax({type:"POST",url:"/passport/"+p+"/sendcode",data:{phoneNum:r,areaCode:l},success:function(e){200===e.code?(i.text("重发验证码 (60秒)").addClass("disable"),n()):h(e.message)}})}),s.on("touchstart",function(){s.hasClass("disable")||t.ajax({type:"POST",url:"/passport/"+p+"/verifycode",data:{phoneNum:r,areaCode:l,code:u(o.val()),token:t("#token").val()},success:function(e){200===e.code?location.href=e.data:h(e.message)}})}),n()}}),define("js/passport/register/password",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#pwd"),s=t("#btn-sure"),i=e("js/passport/api"),r=e("js/plugin/tip"),l=t.trim,d=r.show;i.bindEyesEvt({status:"open"}),o.bind("input",function(){""===l(o.val())?s.addClass("disable"):s.removeClass("disable")}),s.on("touchstart",function(){var e=l(o.val());s.hasClass("disable")||(i.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)):d(e.message)}}))})}),define("js/passport/login/login",["jquery"],function(e,a,n){function t(){h&&p?d.removeClass("disable"):d.addClass("disable")}function o(){c.show(),u.show()}function s(){c.hide(),u.hide()}var i=e("jquery"),r=i("#account"),l=i("#pwd"),d=i("#btn-login"),c=i("#retrive-pwd-mask"),u=i("#retrive-pwd-ways"),h=!1,p=!1,f=e("js/passport/api"),g=e("js/plugin/tip"),m=i.trim,v=g.show;f.bindEyesEvt(),f.bindClearEvt(),r.bind("input",function(){h=""!==m(r.val())?!0:!1,t()}),l.bind("input",function(){p=""===m(l.val())?!1:!0,t()}),d.on("touchstart",function(){var e=m(r.val()),a=m(l.val());d.hasClass("disable")||((/^[0-9]+$/.test(e)||f.emailRegx.test(e))&&f.pwdValidate(a)?i.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("账号或密码有错误,请重新输入"))}),i("#forget-pwd").on("touchstart",function(){o()}),c.on("touchstart",function(){s()}),i("#cancel-retrive").on("touchstart",function(e){e.preventDefault(),s()}),r.trigger("input"),l.trigger("input")}),define("js/passport/login/international",["jquery"],function(e,a,n){function t(){c&&u?d.removeClass("disable"):d.addClass("disable")}var o=e("jquery"),s=o("#phone-num"),i=o("#country-select"),r=o("#area-code"),l=o("#pwd"),d=o("#btn-login"),c=!1,u=!1,h=e("js/passport/api"),p=e("js/plugin/tip"),f=o.trim,g=p.show;h.selectCssHack(i),h.bindEyesEvt(),h.bindClearEvt(),s.bind("input",function(){c=""===f(s.val())?!1:!0,t()}),l.bind("input",function(){var e=f(l.val());u=""===e?!1:!0,t()}),i.change(function(){r.text(i.val())}),d.on("touchstart",function(){var e=f(s.val()),a=i.val(),n=f(l.val());d.hasClass("disable")||(h.phoneRegx[a].test(e)&&h.pwdValidate(n)?o.ajax({
type:"POST",url:"/passport/login/auth",data:{areaCode:a.replace("+",""),account:e,password:n},success:function(e){200===e.code?(g("登录成功"),setTimeout(function(){location.href=e.data},1e3)):g(e.message)},error:function(){g("网络断开连接啦~")}}):g("账号或密码有错误,请重新输入"))}),s.trigger("input"),l.trigger("input")}),define("js/passport/back/mobile",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#phone-num"),s=t("#country-select"),i=t("#area-code"),r=t("#btn-next"),l=e("js/passport/api"),d=e("js/plugin/tip"),c=t.trim,u=d.show;l.selectCssHack(t("#country-select")),l.bindClearEvt(),o.bind("input",function(){""===c(o.val())?r.addClass("disable"):r.removeClass("disable")}),s.change(function(){i.text(s.val())}),r.on("touchstart",function(){var e=c(o.val()),a=s.val();r.hasClass("disable")||(l.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:u(e.message)}}):u("手机号格式不正确,请重新输入"))})}),define("js/passport/back/code",["jquery"],function(e,a,n){e("js/passport/code")(!1)}),define("js/passport/back/email",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#email"),s=t("#btn-sure"),i=e("js/passport/api"),r=e("js/plugin/tip"),l=t.trim,d=r.show;i.bindClearEvt(),o.bind("input",function(){""===l(o.val())?s.addClass("disable"):s.removeClass("disable")}),s.on("touchstart",function(){var e=l(o.val());s.hasClass("disable")||(i.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",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#resend"),s=e("js/plugin/tip"),i=s.show;o.on("touchstart",function(e){e.preventDefault(),t.ajax({url:o.data("url"),type:"GET",success:function(e){i(200===e.code?e.message:e.message)}})})}),define("js/passport/back/new-password",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#pwd"),s=t("#btn-ok"),i=e("js/passport/api"),r=e("js/plugin/tip"),l=t.trim,d=r.show,c=t("#phone-num");i.bindEyesEvt({status:"open"}),o.bind("input",function(){""===l(o.val())?s.addClass("disable"):s.removeClass("disable")}),s.on("touchstart",function(){var e,a,n=l(o.val()),r=!0;s.hasClass("disable")||(e={password:n},0===c.length&&(r=!1),r?(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"),i.pwdValidate(n)?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/product/entry",["jquery","swiper","lazyload","hammer","index"],function(e,a,n){e("js/product/newsale/newarrival"),e("js/product/newsale/discount"),e("js/product/list"),e("js/product/detail/detail"),e("js/product/detail/desc")}),define("js/product/newsale/newarrival",["jquery","swiper","lazyload","index"],function(e,a,n){function t(e){var a,n,t,o,c,p,g={};if(!l){if(e){for(n in q)q.hasOwnProperty(n)&&(q[n].reload=!0);switch(k.children(".active").removeClass("active"),z.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"sort":a={sort: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};break;case"limit":a={limit:e.id};break;case"channel":a={channel:e.id};break;case"p_d":a={p_d:e.id}}d.extend(y,a)}if(z.hasClass("today")?(o="today",c=1):z.hasClass("week")?(o="week",c=2):z.hasClass("sale")&&(o="sale",c=3),t=q[o],p=t.page+1,t.reload)p=1;else if(t.end)return;d.extend(g,y,{dayLimit:c,page:p}),l=!0,f.showLoadingMask(),d.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:g,success:function(e){var a,n;switch(o){case"today":a=s;break;case"week":a=i;break;case"sale":a=r}" "===e?(t.end=!0,t.reload&&a.html(w)):t.reload?(a.html(e),u(a.find(".lazy"))):(n=a.find(".good-info").length,a.append(e),u(a.find(".good-info:gt("+(n-1)+") .lazy"))),t.reload=!1,t.page=p,l=!1,f.hideLoadingMask(),window.rePosFooter()},error:function(){h.show("网络断开连接了~"),l=!1,f.hideLoadingMask()}})}}var o,s,i,r,l,d=e("jquery"),c=e("swiper"),u=e("lazyload"),h=e("js/plugin/tip"),p=e("js/plugin/filter"),f=e("js/plugin/loading"),g=d("#goods-container"),m=g.children(),s=d(m.get(0)),i=d(m.get(1)).addClass("hide"),r=d(m.get(2)).addClass("hide"),v=d(window).height(),w='<p class="no-result">未找到相关搜索结果</p>',y=e("js/product/extract-url"),b=d.extend({},y),C=new Date,j=C.getMonth()+1,x=C.getDate(),k=d("#list-nav"),q={today:{reload:!0,page:0,end:!1},week:{reload:!0,page:0,end:!1},sale:{reload:!0,page:0,end:!1}},z=k.find(".active");e("js/product/suspend-cart"),d("#today a").text(j+"月"+x+"号"),d(".swiper-container .swiper-slide").length>1&&(o=new c(".swiper-container",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner"})),d.ajax({type:"GET",url:"/product/newsale/filter",data:y,success:function(e){g.append(e),p.initFilter({fCbFn:t,hCbFn:function(){z.addClass("active"),z.siblings(".filter").removeClass("active")}})}}),u(d(".lazy")),k.bind("contextmenu",function(e){return!1}),k.on("touchend touchcancel",function(e){var a,n,o,l=d(e.target).closest("li");if(e.preventDefault(),l.hasClass("filter"))l.hasClass("active")?(p.hideFilter(),z.addClass("active"),l.removeClass("active")):(z=l.siblings(".active"),z.removeClass("active"),l.addClass("active"),p.showFilter());else{if(l.hasClass("today")?n="today":l.hasClass("week")?n="week":l.hasClass("sale")&&(n="sale"),a=q[n],!l.hasClass("active")){if(o=l.siblings(".active"),z=l,o.hasClass("filter"))p.hideFilter();else{switch(g.children(".container:not(.hide)").addClass("hide"),n){case"today":s.removeClass("hide");break;case"week":i.removeClass("hide");break;case"sale":r.removeClass("hide")}p.resetFilter(),y=d.extend({},b)}o.removeClass("active"),l.addClass("active")}a.reload&&t()}e.stopPropagation()}),d(window).scroll(function(){d(window).scrollTop()+v>d(document).height()-.25*g.height()-50&&void 0!==z&&t()}),t(),k.on("touchstart","li",function(e){d(this).addClass("bytouch")}).on("touchend touchcancel",function(){k.find("li").removeClass("bytouch")})}),define("js/plugin/filter",["jquery"],function(e,a,n){function t(){h.addClass("hide")}function o(){h.removeClass("hide")}function s(){var e=m(".filter-body .classify");e.on("touchstart",".shower",function(){e.removeClass("highlight"),m(this).addClass("highlight")}).on("touchend touchcancel",".shower",function(){m(this).removeClass("highlight")})}function i(){var e=m(".filter-body .sub-item");e.on("touchstart",function(){e.removeClass("highlight"),m(this).addClass("highlight")}).on("touchend touchcancel",function(){m(this).removeClass("highlight")})}function r(e){e.hasClass("active")||(e.siblings(".active").removeClass("active"),e.addClass("active"))}function l(e){var a,n,t=e.closest(".sub-classify"),o=t.siblings(".shower");return e.hasClass("chosed")?t:(t.children(".chosed").removeClass("chosed"),e.addClass("chosed"),a=m.trim(e.html()),n=m.trim(o.html()),o.html(n.substring(0,n.indexOf("</span>")+7)+a.substring(0,a.indexOf("<i"))),0===e.index()?o.addClass("default"):o.removeClass("default"),t)}function d(e){var a,n=e.data("id");a=l(e),p&&p({type:a.data("type"),id:n}),t()}function c(e){p=e.fCbFn,f=e.hCbFn,g=e.missStatus,s(),i(),h=m(".filter-mask"),h.on("touchend",function(e){var a,n=m(e.target);e.preventDefault(),n.closest(".filter-body").length>0?(a=n.closest(".sub-item"),a.length>0?(a=n.closest("li"),d(a)):(a=n.closest(".classify-item"),e.stopPropagation(),r(a))):(t(),f&&f())})}function u(){"undefined"!=typeof h&&(m(".sub-classify").each(function(){l(m(this).children(":first-child"))}),r(m(".classify > :first-child")))}var h,p,f,g,m=e("jquery");a.initFilter=c,a.showFilter=o,a.hideFilter=t,a.resetFilter=u}),define("js/product/extract-url",[],function(e,a,n){var t,o,s,i={},r=window.location.search.split("?")[1],l=r.split("&");for(t=l.length;t>0;t--)switch(o=l[t-1].split("="),s=o[1],o=o[0]){case"gender":i.gender=s;break;case"brand":i.brand=s;break;case"sort":i.sort=s;break;case"msort":i.msort=s;break;case"misort":i.misort=s;break;case"color":i.color=s;break;case"size":i.size=s;break;case"price":i.price=s;break;case"discount":i.discount=s;break;case"query":i.query=s;break;case"style":i.style=s;break;case"limit":i.limit=s;break;case"channel":i.channel=s;break;case"p_d":i.p_d=s;break;case"dayLimit":i.dayLimit=s}n.exports=i}),define("js/product/suspend-cart",["jquery"],function(e,a,n){var t=e("jquery"),o=t("#suspend-cart");t.ajax({type:"GET",url:"/cart/index/count",success:function(e){200===e.code&&o.find(".cart-count").html(e.data.cart_goods_count).removeClass("hide")}})}),define("js/product/newsale/discount",["jquery","swiper","lazyload","index"],function(e,a,n){function t(e){var a,n,t,o,r,c={};if(!s){if(e){for(n in C)C.hasOwnProperty(n)&&(C[n].reload=!0);switch(b.children(".active").removeClass("active"),j.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"sort":a={sort: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}}i.extend(y,a)}if(j.hasClass("new")?o="newest":j.hasClass("price")?o="price":j.hasClass("discount")&&(o="discount"),t=C[o],r=t.page+1,t.reload)r=1;else if(t.end)return;i.extend(c,y,{type:o,order:t.order,page:r}),s=!0,u.showLoadingMask(),i.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:c,success:function(e){var a,n;switch(o){case"newest":a=f;break;case"price":a=g;break;case"discount":a=m}" "===e?(t.end=!0,t.reload&&a.html(w)):t.reload?(a.html(e),l(a.find(".lazy"))):(n=a.find(".good-info").length,a.append(e),l(a.find(".good-info:gt("+(n-1)+") .lazy"))),t.reload=!1,t.page=r,s=!1,u.hideLoadingMask(),window.rePosFooter()},error:function(){d.show("网络断开连接了~"),s=!1,u.hideLoadingMask()}})}}var o,s,i=e("jquery"),r=e("swiper"),l=e("lazyload"),d=e("js/plugin/tip"),c=e("js/plugin/filter"),u=e("js/plugin/loading"),h=i("#goods-container"),p=h.children(),f=i(p.get(0)),g=i(p.get(1)),m=i(p.get(2)),v=i(window).height(),w='<p class="no-result">未找到相关搜索结果</p>',y=e("js/product/extract-url"),b=i("#list-nav"),C={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}},j=b.find(".active");e("js/product/suspend-cart"),i(".swiper-container .swiper-slide").length>1&&(o=new r(".swiper-container",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner"})),i.ajax({type:"GET",url:"/product/newsale/filter",data:y,success:function(e){h.append(e),c.initFilter({fCbFn:t,hCbFn:function(){j.addClass("active"),j.siblings(".filter").removeClass("active")},missStatus:!0})}}),l(i(".lazy")),b.bind("contextmenu",function(e){return!1}),b.on("touchend touchcancel",function(e){var a,n,o,s=i(e.target).closest("li");if(e.preventDefault(),"undefined"!=typeof s&&0!==s.length){if(s.hasClass("filter"))s.hasClass("active")?(c.hideFilter(),j.addClass("active"),s.removeClass("active")):(j=s.siblings(".active"),j.removeClass("active"),s.addClass("active"),c.showFilter());else{if(s.hasClass("new")?n="newest":s.hasClass("price")?n="price":s.hasClass("discount")&&(n="discount"),a=C[n],s.hasClass("active")){if(s.hasClass("new"))return;(s.hasClass("price")||s.hasClass("discount"))&&(s.find(".icon > .iconfont").toggleClass("cur"),j=s,a.reload=!0,a.order=0===a.order?1:0)}else{if(o=s.siblings(".active"),j=s,o.hasClass("filter"))c.hideFilter();else switch(h.children(".container:not(.hide)").addClass("hide"),n){case"newest":f.removeClass("hide");break;case"price":g.removeClass("hide");break;case"discount":m.removeClass("hide")}o.removeClass("active"),s.addClass("active")}a.reload&&t()}e.stopPropagation()}}),i(window).scroll(function(){i(window).scrollTop()+v>i(document).height()-.25*h.height()-50&&void 0!==j&&t()}),t(),b.on("touchstart","li",function(e){i(this).addClass("bytouch")}).on("touchend touchcancel",function(){b.find("li").removeClass("bytouch")})}),define("js/product/list",["jquery","hammer","lazyload"],function(e,a,n){function t(e){var a,n,t,s,i,r={};if(!o){if(e){for(n in T)T.hasOwnProperty(n)&&(T[n].reload=!0);switch(z.children(".active").removeClass("active"),E.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"sort":a={sort: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}}l.extend(q,a)}if(E.hasClass("new")?s="newest":E.hasClass("price")?s="price":E.hasClass("discount")&&(s="discount"),t=T[s],i=t.page+1,t.reload)i=1;else if(t.end)return;l.extend(r,q,{type:s,order:t.order,page:i}),o=!0,m.showLoadingMask(),l.ajax({type:"GET",url:"/index/search/search",data:r,success:function(e){var a,n,r='<p class="no-result">未找到相关搜索结果</p>';switch(s){case"newest":n=w;break;case"price":n=y;break;case"discount":n=b}" "===e?(t.end=!0,t.reload&&n.html(r)):t.reload?(n.html(e),c(n.find(".lazy"))):(a=n.find(".good-info").length,n.append(e),c(n.find(".good-info:gt("+(a-1)+") .lazy"))),t.reload=!1,t.page=i,o=!1,m.hideLoadingMask(),window.rePosFooter()}})}}var o,s,i,r,l=e("jquery"),d=e("hammer"),c=e("lazyload"),u=l("#brand-header"),h=l("#intro-box"),p=e("js/plugin/filter"),f=e("js/index/write-search"),g=e("js/plugin/tip"),m=e("js/plugin/loading"),v=l("#goods-container"),w=v.children(".new-goods"),y=v.children(".price-goods"),b=v.children(".discount-goods"),C=l(window).height(),j=l("#search-input input"),x=l(".search-icon"),k=l("#search-input .clear-input"),q=e("js/product/extract-url"),z=l("#list-nav"),T={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}},E=z.find(".active");j.on("input",function(){""===j.val()?(x.css("color","#b2b2b2"),k.addClass("hide")):(x.css("color","#666"),k.removeClass("hide"))}),k.on("touchend",function(){j.val("").trigger("input")}),l("#search").on("touchend",function(){return l(this).closest("form").submit(),!1}),e("js/product/suspend-cart"),l.ajax({type:"GET",url:"/search/filter",data:q,success:function(e){v.append(e),p.initFilter({fCbFn:t,hCbFn:function(){E.addClass("active"),E.siblings(".filter").removeClass("active")}})}}),c(l(".lazy")),f.bindWirteLocal(l("#search-form")),z.bind("contextmenu",function(e){return!1}),z.on("touchend touchcancel",function(e){var a,n,o,s=l(e.target).closest("li");if(s.hasClass("filter"))s.hasClass("active")?(p.hideFilter(),E.addClass("active"),s.removeClass("active")):(E=s.siblings(".active"),E.removeClass("active"),s.addClass("active"),p.showFilter());else{if(s.hasClass("new")?n="newest":s.hasClass("price")?n="price":s.hasClass("discount")&&(n="discount"),a=T[n],s.hasClass("active")){if(s.hasClass("new"))return;(s.hasClass("price")||s.hasClass("discount"))&&(s.find(".icon > .iconfont").toggleClass("cur"),E=s,a.reload=!0,a.order=0===a.order?1:0)}else{if(o=s.siblings(".active"),E=s,o.hasClass("filter"))p.hideFilter();else switch(v.children(".container:not(.hide)").addClass("hide"),n){case"newest":w.removeClass("hide");break;case"price":y.removeClass("hide");break;case"discount":b.removeClass("hide")}o.removeClass("active"),s.addClass("active")}a.reload&&t()}}),l(window).scroll(function(){l(window).scrollTop()+C>l(document).height()-.25*v.height()&&t()}),u.length>0&&(s=new d(u.children(".btn-intro")[0]),s.on("tap",function(){h.removeClass("hide"),l("body").addClass("overflow-hidden")}),i=new d(document.getElementById("intro-box")),i.on("tap",function(e){var a=l(e.target);e.srcEvent.preventDefault(),(0===a.closest("#brand-intro").length||a.hasClass("close-intro"))&&(h.addClass("hide"),l("body").removeClass("overflow-hidden"))}),r=new d(u.children(".btn-col")[0]),r.on("tap",function(){var e,a=l(this),n=u.data("id");e=a.hasClass("coled")?"cancel":"ok",l.ajax({type:"POST",url:"/product/opt/favoriteBrand",data:{id:n,opt:e},success:function(e){200===e.code?a.toggleClass("coled"):400===e.code?location.href=e.data:g.show(e.message)},error:function(){g.show("网络断开连接了~")}})})),t(),z.on("touchstart","li",function(){z.find("li").removeClass("bytouch"),l(this).addClass("bytouch")}).on("touchend touchcancel","li",function(){z.find("li").removeClass("bytouch")})}),define("js/product/detail/detail",["jquery","swiper","lazyload","index"],function(e,a,n){var t,o,s,i=e("jquery"),r=e("swiper"),l=e("lazyload");e("js/product/detail/desc"),e("js/product/detail/comments-consults"),l(i("img.lazy")),t=new r(".banner-swiper",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner",nextButton:".my-swiper-button-next",prevButton:".my-swiper-button-prev"}),function(){0===i(".goods-discount .discount-folder").children().length&&(i(".goods-discount .discount-folder").css("display","none"),i(".goods-discount .first-item span").html(""))}(),i(".goodsDiscount .dropdown").on("click",function(){i(".goodsDiscount .discount-folder").is(":hidden")?(i(".goodsDiscount .first-item span").removeClass("icon-down"),i(".goodsDiscount .first-item span").addClass("icon-up"),i(".goodsDiscount .first-item span").html("&#xe608;"),i(".goodsDiscount .discount-folder").slideDown()):(i(".goodsDiscount .first-item span").removeClass("icon-up"),i(".goodsDiscount .first-item span").addClass("icon-down"),i(".goodsDiscount .first-item span").html("&#xe609;"),i(".goodsDiscount .discount-folder").slideUp())}),o=new r("#size-swiper-container",{slidesPerView:"auto"}),s=new r("#reference-swiper-container",{slidesPerView:"auto"})}),define("js/product/detail/desc",["jquery","lazyload"],function(e,a,n){function t(){h||p||(h=!0,l.showLoadingMask(),i.ajax({type:"GET",url:c,success:function(e){s=i("#productDesc"),s.append(e),r(s.find("img.lazy")),h=!1,p=!0,l.hideLoadingMask()},error:function(){d.show("网络断开连接了~"),h=!1,l.hideLoadingMask()}}))}function o(){(!p||i(window).scrollTop()+u>=i(document).height()-50)&&t()}var s,i=e("jquery"),r=e("lazyload"),l=e("js/plugin/loading"),d=e("js/plugin/tip"),c=i("#introUrl").val(),u=i(window).height(),h=!1,p=!1;i(window).scroll(function(){window.requestAnimationFrame(o)})}),define("js/product/detail/comments-consults",["jquery"],function(e,a,n){var t,o=e("jquery"),s=e("js/plugin/tip");!function(){var e=o("#nav-tab .consults-num").html()-0;t=o("#nav-tab .comments-num").html()-0,o("#nav-tab li").each(function(){o(this).removeClass("focus")}),o("#feedback-content .content").each(function(){o(this).addClass("hide")}),0!==t?(o("#nav-tab .comment-nav").addClass("focus"),o("#feedback-content .comment-content").removeClass("hide")):0!==e&&(o("#nav-tab .consult-nav").addClass("focus"),o("#feedback-content .consult-content").removeClass("hide"))}(),o("#nav-tab li").on("touchend",function(){var e=o(this).index();o(this).hasClass("comment-nav")&&0===t?s.show("暂无商品评价"):o(this).hasClass("focus")||(o("#nav-tab li").each(function(){o(this).removeClass("focus")}),o("#feedback-content .content").each(function(){o(this).addClass("hide")}),o(this).addClass("focus"),o("#feedback-content .content:eq("+e+")").removeClass("hide"))})}),define("js/me/entry",["jquery","hammer","lazyload","swiper","handlebars","source-map","index"],function(e,a,n){e("js/me/order"),e("js/me/order-detail"),e("js/me/fav"),e("js/me/index"),e("js/me/coupons"),e("js/me/online-service")}),define("js/me/order",["jquery","hammer","lazyload"],function(e,a,n){function t(e){var a={type:h,page:p.page+1},n=e&&e.showLoadingMask;f||(f=!0,n&&g.showLoadingMask(),s.ajax({type:"GET",url:"/home/getOrders",data:a,success:function(e){var t;" "!==e?(p.page=a.page,1===a.page?(c.html(e),r(c.find(".lazy"))):(t=c.children(".order").length,c.append(e),r(c.children(".order:gt("+(t-1)+")").find(".lazy"))),window.rePosFooter()):p.end=!0,f=!1,n&&g.hideLoadingMask()}}))}var o,s=e("jquery"),i=e("hammer"),r=e("lazyload"),l=s("#order-nav > li"),d=s("#order-container"),c=d.children(".orders:not(.hide)"),u=s(window).height(),h=l.filter(".active").data("type"),p={page:0,end:!1},f=!1,g=e("js/plugin/loading");r(),function(){var e=l.length;4!==e&&l.width(100/e+"%")}(),g.init(s("body")),o=new i(document.getElementById("order-container")),o.on("tap",function(e){var a,n,t,o=s(e.target);o.closest(".locHref").length>0||(a=o.closest(".order"),n=a.data("id"),o.closest(".del").length>0?s.ajax({type:"GET",url:"/home/delOrder",data:{id:n},success:function(e){200===e.code&&(location.href=location.href)}}):o.closest(".cancel").length>0?s.ajax({type:"GET",url:"/home/cancelOrder",data:{id:n},success:function(e){200===e.code&&(location.href=location.href)}}):(t=a.data("href"),location.href=t))}),s(window).scroll(function(){p.end===!1&&s(window).scrollTop()+u>s(document).height()-.25*d.height()&&t({noLoadingMask:!0})}),t()}),define("js/me/order-detail",["jquery","lazyload","hammer"],function(e,a,n){var t,o=e("jquery"),s=e("lazyload"),i=e("hammer"),r=o("#order-detail").data("id");s(),t=new i(document.getElementsByClassName("opt")[0]),t.on("tap",function(e){var a=o(e.target);a.hasClass("btn-del")?confirm("确定删除订单吗?")&&o.ajax({type:"GET",url:"/home/delOrder",data:{id:r}}):a.hasClass("btn-cancel")&&confirm("确定取消订单吗?")&&o.ajax({type:"GET",url:"/home/cancelOrder",data:{id:r}})})}),define("js/me/fav",["jquery","hammer","swiper","handlebars","source-map","index"],function(e,a,n){function t(e){var a,n;if(c.filter(".active").removeClass("active"),c.eq(e).addClass("active"),u.filter(".show").removeClass("show"),u.eq(e).addClass("show"),1===e)for(a=0;a<h.length;a++)n=h.eq(a).attr("data-id"),p[n]=new l("#swiper-container-"+n,{slidesPerView:"auto",grabCursor:!0,slideElement:"li",wrapperClass:"swiper-wrapper-"+n,lazyLoading:!0,watchSlidesVisibility:!0})}var o,s,i=e("jquery"),r=e("hammer"),l=e("swiper"),d=e("js/me/dialog"),c=i("#fav-tab > li"),u=i(".fav-content > .fav-type"),h=i(".swiper-container"),p={};t(i("#fav-tab").hasClass("brand-tab")?1:0),o=new r(document.getElementById("fav-tab")),o.on("tap",function(e){var a,n=i(e.target).closest("li");0===n.length||n.hasClass("active")||(a=n.index(),t(a))}),s=new r(document.getElementById("fav-content")),s.on("tap",function(e){var a="";i(e.target).hasClass("del-fav")&&d.showDialog({dialogText:"您确定要取消收藏吗?",hasFooter:{leftBtnText:"取消",rightBtnText:"确定"}},function(){a=i(e.target).closest("li").attr("data-id"),i.ajax({method:"post",url:"/home/favoriteDel",data:{id:a}}).then(function(a){200===a.code?(d.showDialog({autoHide:!0,fast:!0,dialogText:"已经取消收藏"}),i(e.target).closest("li").remove()):400===a.code?d.showDialog({autoHide:!0,fast:!0,dialogText:a.message}):d.showDialog({autoHide:!0,fast:!0,dialogText:"取消收藏失败"})}).fail(function(){})})})}),define("js/me/dialog",["jquery","handlebars","source-map","hammer"],function(e,a,n){var t,o,s=e("jquery"),i=e("handlebars"),r=e("hammer");t='<div id="dialog-wrapper" class="dialog-wrapper"><div class="dialog-box">{{# hasHeader}}{{/ hasHeader}}<div class="dialog-content">{{dialogText}}</div>{{# hasFooter}}<div class="dialog-footer">{{# leftBtnText}}<span class="dialog-left-btn">{{.}}</span>{{/ leftBtnText}}{{# rightBtnText}}<span class="dialog-right-btn">{{.}}</span>{{/ rightBtnText}}</div>{{/ hasFooter}}</div></div>',o=i.compile(t),a.showDialog=function(e,a){var n,t,i,l=o(e);s(".dialog-wrapper").remove(),s("body").append(s(l)),n=s(".dialog-box"),t=s(".dialog-wrapper"),i=new r(document.getElementById("dialog-wrapper")),e.fast?t.css({display:"block"}):t.fadeIn(),n.css({top:"50%",marginTop:-(n.height()/2)}),e.autoHide&&setTimeout(function(){t.fadeOut()},1e3),i.on("tap",function(e){s(e.target).hasClass("dialog-left-btn")?t.fadeOut():s(e.target).hasClass("dialog-right-btn")&&a()})}}),define("js/me/index",["jquery","swiper","index"],function(e,a,n){var t=e("jquery"),o=t(".user-avatar"),s=new Image;e("js/product/recommend-for-you"),s.src=o.attr("src"),s.onerror=function(){o.attr("src","http://static.dev.yohobuy.com/img/me/index/user-avatar.png")}}),define("js/product/recommend-for-you",["swiper","index"],function(e,a,n){var t,o=e("swiper");t=new o("#swiper-recommend",{slidesPerView:"auto",grabCursor:!0,slideElement:"li",lazyLoading:!0,watchSlidesVisibility:!0})}),define("js/me/coupons",["jquery","hammer"],function(e,a,n){var t,o=e("jquery"),s=e("hammer");o(".employ span").each(function(e){t=new s(o(".employ span")[e]),t.on("tap",function(a){o(".employ-list").addClass("none").eq(e).removeClass("none"),o(".employ span").removeClass("active").eq(e).addClass("active")})})}),define("js/me/online-service",["jquery"],function(e,a,n){var t=e("jquery"),o=t(".question-tab .tab-item");o.on("touchend",function(){var e=t(this).data("tab");e='[data-tab-name="'+e+'"]',o.removeClass("current"),t(this).addClass("current"),t(".question-list").removeClass("current"),t(e).addClass("current")})});
\ No newline at end of file
... ...
This diff could not be displayed because it is too large.
No preview for this file type
<?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 Mon Nov 16 18:08:15 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-E63E"
/>
<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="uniE627" unicode="&#xe627;"
d="M741 258q-23 9 -22 34q6 114 -8 186q-13 68 -37.5 125.5t-48 89.5t-50.5 57t-38 32t-18 10l-7 3l-7 -3q-7 -3 -18 -10t-38 -32t-50.5 -57t-48 -89.5t-37.5 -125.5q-14 -72 -8 -186q1 -25 -22 -34q-19 -9 -37 -19.5t-39 -29.5t-36 -41.5t-25.5 -56t-10.5 -72.5v-16h198
q2 -22 17.5 -36.5t37.5 -14.5h248q22 0 37.5 14.5t17.5 36.5h198v16q0 48 -14.5 87.5t-39 65t-47 40.5t-47.5 26zM512 442q-31 0 -53 22t-22 53t22 53t53 22q20 0 37.5 -10t27.5 -27t10 -38q0 -31 -22 -53t-53 -22zM453 -61q-14 0 -23.5 -10t-9.5 -24v-83q0 -10 4.5 -17.5
t12 -12t16.5 -4.5t17 4.5t12.5 12t4.5 17.5v83q0 9 -4.5 17t-12.5 12.5t-17 4.5zM571 -61q-7 0 -13.5 -2.5t-11 -7t-7 -11t-2.5 -13.5v-83q0 -14 10 -24t24 -10q6 0 12.5 2.5t11 7t7 11t2.5 13.5v83q0 9 -4.5 17t-12 12.5t-16.5 4.5z" />
<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" />
<glyph glyph-name="uniE629" unicode="&#xe629;"
d="M512 809v0q-58 0 -112.5 -12t-105.5 -38t-80.5 -44t-77.5 -51v-450q0 -57 19.5 -110.5t49 -93.5t69 -76t75.5 -59.5t73.5 -43t57 -28t32.5 -12.5q13 4 32.5 12.5t57 28t73.5 43t75.5 59.5t69 76t49 93.5t19.5 110.5v450q-48 33 -77.5 51t-80.5 44t-105.5 38t-112.5 12z
M808 214q0 -76 -36.5 -138t-112.5 -117q-39 -28 -78.5 -49.5t-68.5 -32.5q-74 29 -147 82q-76 55 -112.5 117t-36.5 138v421q87 53 146.5 75t149.5 23q90 -1 149.5 -23t146.5 -75v-421zM512 671q-46 0 -81.5 -6t-67.5 -18.5t-83 -37.5v-399q0 -35 12.5 -68.5t30 -57.5
t44 -46t47 -35.5t46 -26t34 -16t18.5 -6.5q10 3 18.5 6.5t34 16t46 26t47 35.5t44 46t30 57.5t12.5 68.5v399q-74 37 -119.5 49.5t-112.5 12.5v0zM667 515v-47h-105v-67h92v-61h-92v-77h116v-57h-332v57h42v168h64v-168h46v205h-138v61h307v-14z" />
<glyph glyph-name="uniE62A" unicode="&#xe62a;"
d="M497 806l-451 -386q-6 -6 -11 -13t-7 -15t-2 -17v-500q0 -32 22.5 -54.5t53.5 -22.5h256v333h308v-333h256q31 0 53.5 22.5t22.5 54.5v500q0 27 -20 45l-451 386q-15 13 -30 0z" />
<glyph glyph-name="uniE62B" unicode="&#xe62b;"
d="M761 539q0 -104 -73 -177t-177 -73q-51 0 -97 19.5t-79.5 53t-53.5 80t-20 97.5q0 104 73.5 177t177 73t176.5 -73t73 -177zM888 -164q11 22 9 48q-3 43 -15 83.5t-32 76t-46.5 66.5t-59.5 55t-69.5 42t-78.5 27t-85 9q-100 0 -186.5 -47.5t-139.5 -130t-60 -181.5
q-1 -26 10 -48q5 -12 16 -18.5t24 -6.5h673q12 0 23 6.5t17 18.5z" />
<glyph glyph-name="uniE62C" unicode="&#xe62c;" horiz-adv-x="1048"
d="M832 -127q0 -23 -11.5 -42.5t-31 -31t-43 -11.5t-43 11.5t-31 31t-11.5 42.5q0 36 25 61t60.5 25t60.5 -25t25 -61zM533 -126.5q0 -35.5 -25 -60.5t-60 -25t-60 25t-25 60.5t25 60.5t60 25t60 -25t25 -60.5zM277 620l-35 159q-3 14 -15 23.5t-27 9.5h-147
q-22 0 -37.5 -15.5t-15.5 -37.5t15.5 -38t37.5 -16h54l157 -627q3 -12 9.5 -22.5t16 -17.5t21 -11t23.5 -4h527q16 0 30.5 7t25 19.5t14.5 28.5l113 452q9 34 -13 62t-57 28h-697z" />
<glyph glyph-name="uniE62D" unicode="&#xe62d;"
d="M442 274h-84v-76h-230v76h-81q-20 0 -33.5 -12.5t-13.5 -31.5v-395q0 -20 13.5 -33.5t33.5 -13.5h395q19 0 31.5 13.5t12.5 33.5v395q0 13 -5.5 23t-15.5 15.5t-23 5.5zM977 812h-81v-77h-230v77h-84q-10 0 -18 -3.5t-14 -10t-9 -15t-3 -18.5v-395q0 -13 5.5 -23
t15.5 -15.5t23 -5.5h395q20 0 33.5 12.5t13.5 31.5v395q0 20 -13.5 33.5t-33.5 13.5zM977 274h-81v-76h-230v76h-84q-13 0 -23 -5.5t-15.5 -15.5t-5.5 -23v-395q0 -13 5.5 -23.5t15.5 -17t23 -6.5h395q20 0 33.5 13.5t13.5 33.5v395q0 19 -13.5 31.5t-33.5 12.5z" />
<glyph glyph-name="uniE62E" unicode="&#xe62e;" horiz-adv-x="1639"
d="M1 783h1045v-625h-1045v625zM1424 783h-337v-625l61 -33q16 7 34 10.5t36 3.5q66 0 116 -42t61 -105l7 -4h205v398zM1178 411v290h164l121 -290h-285zM235 125h-235v-163h111q2 57 36.5 101.5t87.5 61.5zM452 -46q0 15 -2.5 29t-7.5 26.5t-12 24.5t-16 22.5t-19.5 19.5
t-22.5 15.5t-25 11.5t-27 7.5t-29 2.5q-66 0 -113.5 -46.5t-47.5 -112.5t47.5 -112.5t114 -46.5t113.5 46.5t47 112.5zM1067 125h-721q35 -11 63 -35t44 -57t18 -71h570q0 50 26 92v71zM1380 -44q0 43 -21.5 79.5t-58.5 58t-80.5 21.5t-80.5 -21.5t-58.5 -58t-21.5 -79.5
q0 -66 47 -112.5t113.5 -46.5t113.5 46.5t47 112.5z" />
<glyph glyph-name="uniE62F" unicode="&#xe62f;"
d="M474 28v161h-167v50h167v74h-167v49h134l-168 265h87l152 -257v386q-48 0 -96.5 4t-83.5 10.5t-63.5 12.5t-42.5 10l-14 4q-2 -43 -16.5 -74t-34 -44t-38.5 -20t-33 -7h-13q0 -110 10.5 -203.5t20.5 -131.5l10 -38q15 -61 45 -120.5t65.5 -105.5t75.5 -87.5t76 -70.5
t66.5 -50.5t47.5 -31.5t18 -10v225h-38zM550 28v161h167v50h-167v74h167v49h-134l168 265h-87l-152 -257v386q35 0 70.5 2t64 6t55.5 8.5t46.5 8.5t34 8t22.5 6l7 2q2 -43 16.5 -74t34 -44t38.5 -20t33 -7h13q0 -110 -10.5 -203.5t-20.5 -131.5l-10 -38q-15 -61 -45 -120.5
t-65.5 -105.5t-75.5 -87.5t-76 -70.5t-66.5 -50.5t-47.5 -31.5t-18 -10v225h38z" />
<glyph glyph-name="uniE630" unicode="&#xe630;"
d="M629 -71h-268v20q0 31 -21.5 53t-52.5 22t-52.5 -22t-21.5 -53v-20h-174v609h590v-609zM400 -30h188v527h-508v-527h94q7 41 39 68t74 27t74 -27t39 -68zM989 -71h-136v20q0 21 -10 38t-27 27t-37 10q-31 0 -52.5 -22t-21.5 -53v-20h-117v476h210q22 0 57 -34
q27 -26 58 -67q31 -40 52 -75q14 -25 19 -39t5 -23v-238zM892 -30h56v197q0 9 -18 40t-46 68q-7 9 -14 17.5t-13.5 16.5t-13 15t-12.5 14q-10 9 -18 16t-11 8.5t-5 1.5h-168v-394h37q7 41 39 68t74 27q28 0 52 -12.5t40.5 -34t20.5 -48.5zM989 137h-287v193h191l6 -8
q35 -43 61 -84q29 -48 29 -71v-30zM743 178h202q-6 15 -21 39q-21 34 -50 72h-131v-111zM779.5 -166q-47.5 0 -81.5 34t-34 81.5t34 81.5t81 34q24 0 45 -9.5t36.5 -25t24.5 -36.5t9 -45q0 -47 -33.5 -81t-81 -34zM779 24q-31 0 -52.5 -22t-21.5 -53q0 -15 6 -28.5t16 -23.5
t23.5 -16t28.5 -6q12 0 23.5 4t20.5 10.5t16 16t10.5 20.5t3.5 23q0 21 -10 38t-27 27t-37 10zM287 -166q-48 0 -81.5 34t-33.5 81.5t33.5 81.5t81.5 34t81.5 -34t33.5 -81.5t-33.5 -81.5t-81.5 -34zM287 24q-31 0 -52.5 -22t-21.5 -52.5t21.5 -52.5t52.5 -22t52.5 22
t21.5 52.5t-21.5 52.5t-52.5 22z" />
<glyph glyph-name="uniE631" unicode="&#xe631;"
d="M24 799zM47 799zM70 799zM94 799zM117 799zM140 799zM163 799zM187 799zM210 799zM233 799zM256 799zM280 799zM303 799zM326 799zM349 799zM373 799zM396 799zM419 799zM442 799zM466 799zM489 799zM512 799zM535 799zM558 799zM582 799zM605 799zM628 799zM651 799z
M675 799zM698 799zM721 799zM744 799zM768 799zM791 799zM814 799zM837 799zM861 799zM884 799zM907 799zM930 799zM954 799zM977 799zM1000 799zM1 776zM1 753zM1 730zM1 706zM1 683zM1 660zM1 637zM1 613zM1 590zM1 567zM1 544zM1 520zM1 497zM1 474zM1 451zM1 427zM1 404
zM1 381zM1 358zM1 334zM1 311zM1 288zM1 265zM1 242zM1 218zM1 195zM1 172zM1 149zM1 125zM1 102zM1 79zM1 56zM1 32zM1 9zM1 -14zM1 -37zM1 -61zM1 -84zM1 -107zM1 -130zM1 -154zM1 -177zM1 -200zM512 -223q-7 8 -18.5 22t-45.5 59t-64.5 91t-68 113.5t-64.5 131.5
t-45.5 139t-18.5 141q0 52 11 96.5t30 75.5t43 56.5t51 41t54 27t51.5 17t43.5 8.5t30 3h11q7 0 18.5 -0.5t45.5 -7t64.5 -17.5t68 -35.5t64.5 -57.5t45.5 -87t18.5 -120t-18 -140.5t-46.5 -140.5t-63 -130t-69.5 -114.5t-63.5 -90t-46.5 -60.5zM740 517q-16 85 -86 140
q-1 1 -4 3.5t-5 3.5q-5 4 -22 13l-4 2q-2 1 -3.5 2t-3.5 2l-4 2l-4 2q-1 0 -20 7q-2 0 -7.5 2t-9 3.5t-7.5 1.5q-24 5 -48 5v0q-24 0 -47 -5q-15 -3 -29.5 -8t-27.5 -11.5t-25 -14.5h-1q-12 -9 -27 -23q-2 -1 -5 -4l-3 -3q-2 -2 -4.5 -5t-4 -4.5t-4 -5t-3.5 -4.5
q-12 -16 -13 -17q-2 -3 -4.5 -7.5t-3.5 -5.5q0 -1 -1 -2q-2 -4 -3 -6.5t-3 -6t-3.5 -6.5t-2.5 -6q-1 -2 -2 -7q-1 -3 -2 -4q-7 -21 -9 -32q-4 -22 -4 -44q0 -183 175 -470l57 -88q9 13 25 36.5t56 92t70.5 133.5t55.5 148t25 148q0 11 -1 21.5t-3 21.5zM373 474
q0 58 40.5 98.5t98.5 40.5t98.5 -40.5t40.5 -98.5t-40.5 -99t-98.5 -41q-28 0 -54 11.5t-44.5 30t-29.5 44.5t-11 54z" />
<glyph glyph-name="uniE632" unicode="&#xe632;"
d="M313 163h397v69h-397v-69zM313 26h397v68h-397v-68zM611 747h-430q-4 0 -7 -0.5t-6 -2t-6 -3.5t-5 -4t-4 -5t-3 -6t-1.5 -6.5t-0.5 -6.5v-825q0 -5 1.5 -10.5t4.5 -9.5t7 -7.5t9 -5t11 -1.5h661q9 0 17 4.5t12.5 12.5t4.5 17v619zM644 626l131 -119h-131v119zM809 -77
h-595v755h364v-206q0 -14 9.5 -24t23.5 -10h198v-515zM313 300h397v69h-397v-69z" />
<glyph glyph-name="uniE633" unicode="&#xe633;" horiz-adv-x="1304"
d="M1303 454l-161 242h-304v-443h233q12 0 23 6.5t17 17t6 23.5q0 8 -2.5 15t-6.5 12.5t-10 10t-13 7t-14 2.5h-140v256h161l118 -177v-242h-442v577q0 14 -7 25.5t-18.5 18.5t-25.5 7h-666q-21 0 -36 -15t-15 -36v-620q0 -21 15 -35.5t36 -14.5h142q-30 -49 -30 -105
q0 -82 58 -140t140 -58t140 58t58 140q0 28 -8 54.5t-23 50.5h363q-30 -49 -30 -105q0 -82 58 -140t140 -58t140 58t58 140q0 56 -31 105h77v363zM93 719h582v-535h-582v535zM465 -14q0 -43 -30.5 -74t-74 -31t-74 31t-30.5 74t30.5 74t74 31t74 -31t30.5 -74zM1164 -14
q0 -29 -14 -53t-38.5 -38t-52.5 -14q-43 0 -74 31t-31 74t31 74t74 31t74 -31t31 -74z" />
<glyph glyph-name="uniE634" unicode="&#xe634;" horiz-adv-x="1476"
d="M1403 812h-1331q-14 0 -27.5 -5.5t-23.5 -15.5t-15.5 -23.5t-5.5 -27.5v-880q0 -30 21 -51t51 -21h1331q30 0 51.5 21t21.5 51v880q0 19 -10 36t-26.5 26.5t-36.5 9.5zM120 692h1235v-151h-1235v151zM120 330h1235v-422h-1235v422zM211 210h572v-61h-572v61zM211 89h331
v-60h-331v60z" />
<glyph glyph-name="uniE635" unicode="&#xe635;"
d="M512 797q-102 0 -194.5 -39.5t-160 -106.5t-107 -160t-39.5 -195q0 -68 18 -133t50.5 -119.5t78.5 -101t101 -79t120 -50.5t133 -18q102 0 194.5 40t160 107t107 160t39.5 194q0 82 -25.5 158.5t-71.5 138t-108 108t-138 71.5t-158 25zM512 -118q-112 0 -207.5 55.5
t-151 151t-55.5 207.5q0 84 33 161t88.5 132.5t132 88t160.5 32.5q112 0 207.5 -55.5t151 -150.5t55.5 -207.5t-55.5 -208t-151 -151t-207.5 -55.5zM512 471q25 0 43 -18t18 -44h87q0 50 -29 89t-75 53v50q0 6 -3 11t-8 8t-11 3h-44q-9 0 -15.5 -6.5t-6.5 -15.5v-50
q-22 -7 -41.5 -20.5t-33.5 -32t-21.5 -41.5t-7.5 -48q0 -104 133 -154q27 -9 44 -20t23 -22t7.5 -16.5t1.5 -13.5q0 -25 -18 -43t-43 -18q-17 0 -31 8.5t-22 22.5t-8 30h-87q0 -73 59 -118q21 -16 45 -24v-50q0 -9 6.5 -15t15.5 -6h44q6 0 11 2.5t8 7.5t3 11v50q46 15 75 54
t29 88q0 105 -133 154q-18 7 -32 14.5t-22 14.5t-13 13t-6.5 12.5t-2 10t-0.5 7.5q0 26 18 44t43 18z" />
<glyph glyph-name="uniE636" unicode="&#xe636;"
d="M947 675h-892q-23 0 -39 -16t-16 -38v-642q0 -23 16 -39t39 -16h892q22 0 38 16t16 39v642q0 15 -7 27.5t-19.5 19.5t-27.5 7zM836 584l-335 -260l-336 260h671zM91 16v511l376 -293q4 -3 8 -5t8 -3.5t8.5 -2t9.5 -0.5q18 0 33 11l376 293v-511h-819z" />
<glyph glyph-name="uniE637" unicode="&#xe637;"
d="M512 572q-31 0 -59 -12t-48.5 -32.5t-32.5 -48.5t-12 -59q0 -63 44.5 -107.5t107.5 -44.5q31 0 59 12t48.5 32.5t32.5 48.5t12 59q0 63 -44.5 107.5t-107.5 44.5zM512 796q-149 0 -257 -103q-107 -100 -117 -245q-1 -14 -1 -28q0 -56 36 -137.5t81 -151t104 -146.5
t85 -107t44 -50l25 -28l25 28q18 20 44 50t85 107t104 146.5t81 151t36 137.5q0 76 -29.5 145.5t-80 120t-120 80.5t-145.5 30zM512 -97q-46 54 -93.5 115.5t-98.5 137t-83 147t-32 117.5q0 127 90 217t217 90t217 -90t90 -217q0 -46 -32 -117.5t-83 -147t-98.5 -137
t-93.5 -115.5z" />
<glyph glyph-name="uniE638" unicode="&#xe638;" horiz-adv-x="1335"
d="M1273 -88h-1179q-26 0 -44 -18t-18 -44t18 -44t44 -18h1179q17 0 31 8.5t22.5 22.5t8.5 31t-8.5 31.5t-22.5 22.5t-31 8zM841 657h429q27 0 46 18t19 44t-19 44t-46 18h-429q-27 0 -46 -18t-19 -44q0 -10 3.5 -19.5t9.5 -17t14 -13.5t17.5 -9t20.5 -3zM841 230h429
q27 0 46 18t19 44q0 17 -8.5 31.5t-23.5 22.5t-33 8h-429q-13 0 -25 -5t-20.5 -13t-14 -19.5t-5.5 -24t5.5 -24t14 -20t20.5 -13.5t25 -5zM85 230h434q26 0 44 18t18 44v435q0 17 -8 31t-22.5 22.5t-31.5 8.5h-434q-26 0 -44 -18.5t-18 -43.5v-435q0 -25 18 -43.5t44 -18.5z
M147 665h310v-311h-310v311z" />
<glyph glyph-name="uniE639" unicode="&#xe639;"
d="M507 811q-81 0 -157.5 -25.5t-138 -72t-108 -108t-72 -138t-25.5 -157.5q0 -185 121 -326q115 -134 287 -167q47 -8 93 -9q46 0 90.5 8.5t85 23.5t78 37t70 49.5t60 60t49.5 70t37 78t23.5 85t8.5 90.5q0 101 -40 194t-107 160t-160 107t-195 40zM507 -104
q-112 0 -207.5 55.5t-150.5 150.5t-55 207.5t55 208t150.5 151t207.5 55.5q68 0 131 -21t114 -59.5t89.5 -89.5t59 -114t20.5 -130q0 -113 -55.5 -208t-150.5 -150.5t-208 -55.5zM506 605h-1h-1q-67 0 -115 -47q-48 -48 -48 -116q0 -9 3 -17t9 -14t14 -9.5t17 -3.5t17 3.5
t14 9.5t9.5 14t3.5 17q0 32 22 54q22 21 55 22q10 0 19.5 -3t17.5 -8t15 -12t12 -15t8 -17.5t3 -19.5q1 -24 -12 -43t-34 -29q-22 -9 -39 -26t-26 -39.5t-9 -47.5v-36q0 -18 13 -30.5t31 -12.5t31 12.5t13 30.5v36q0 24 20 33q46 20 73 61.5t26 91.5q-1 66 -48 113t-113 48z
M504 135q-23 0 -39 -16t-16 -38q0 -5 1 -10t3 -9.5t4 -8.5t5 -7.5t6.5 -6.5t8 -5.5t8.5 -4t9 -2.5t10 -1q23 0 38.5 16t15.5 39q0 9 -2.5 17t-7.5 15t-12 12t-15 7.5t-17 2.5z" />
<glyph glyph-name="uniE63A" unicode="&#xe63a;"
d="M964 376q14 1 25 8t17.5 18.5t6.5 25.5v147q0 14 -7 26t-19 19t-26 7h-898q-10 0 -20 -4t-17 -11t-11 -17t-4 -20v-147q0 -21 14 -36t35 -16q29 -2 49.5 -24t20.5 -52t-20.5 -52t-49.5 -24q-21 -1 -35 -16t-14 -36v-147q0 -21 15.5 -36.5t36.5 -15.5h898q21 0 36.5 15.5
t15.5 36.5v147q0 21 -14 36t-35 16q-19 2 -35.5 12.5t-25.5 27t-9 36.5q0 15 5.5 28.5t15 23.5t22.5 16.5t27 7.5zM926 143v-83h-828v83q52 15 85.5 58.5t33.5 98.5t-33.5 98.5t-85.5 58.5v83h283v-66h66v66h479v-83q-52 -15 -85.5 -58.5t-33.5 -98.5t33.5 -98.5t85.5 -58.5
zM381 278h66v-109h-66v109zM381 431h66v-109h-66v109zM381 126h66v-66h-66v66z" />
<glyph glyph-name="uniE63B" unicode="&#xe63b;" horiz-adv-x="1199"
d="M1149 812h-1099q-21 0 -35.5 -14.5t-14.5 -35.5v-350q0 -20 14.5 -35t35.5 -15h1099q13 0 24.5 7t18.5 18.5t7 24.5v350q0 21 -14.5 35.5t-35.5 14.5zM100 712h999v-250h-999v250zM1024 312q-21 0 -35.5 -14.5t-14.5 -34.5v-375h-749v375q0 20 -14.5 34.5t-35.5 14.5
t-35.5 -14.5t-14.5 -34.5v-425q0 -21 14.5 -35.5t35.5 -14.5h849q10 0 19.5 4t16 10.5t10.5 16t4 19.5v425q0 20 -14.5 34.5t-35.5 14.5zM325 312q-10 0 -19.5 -3.5t-16 -10.5t-10.5 -16t-4 -19v-200q0 -33 30 -46q10 -4 20 -4h549q21 0 35.5 14.5t14.5 35.5v200
q0 20 -14.5 34.5t-35.5 14.5t-35.5 -14.5t-14.5 -34.5v-150h-449v150q0 32 -30 45q-10 4 -20 4z" />
<glyph glyph-name="uniE63C" unicode="&#xe63c;" horiz-adv-x="1048"
d="M298 437q-21 0 -35.5 -14.5t-14.5 -35.5t14.5 -35.5t35.5 -14.5q13 0 24.5 7t18.5 18.5t7 25t-7 25t-18.5 18t-24.5 6.5zM953 -55q95 93 95 215t-94 214q0 2 0.5 7t1 9t0.5 7q0 111 -64 205t-174.5 148.5t-239.5 54.5q-97 0 -185.5 -32.5t-152.5 -87t-102 -130
t-38 -158.5q0 -78 33 -148.5t93 -125.5l-77 -123q-8 -12 -6.5 -26t10.5 -25l5 -5q2 -2 4.5 -3.5t5 -2.5t5.5 -2t6 -1.5t6 -0.5q9 0 18 4l180 80q4 2 7 4q20 -7 39 -12q48 -80 138.5 -128t199.5 -48q38 0 74.5 6t70.5 19q1 -1 2 -1l140 -62q2 -2 5 -2l6 -2h6q20 0 32 15
q10 10 11 24t-7 26zM286 160q0 -17 2 -35v1q-35 16 -64.5 38t-53 48t-40.5 55.5t-26 62.5t-9 67q0 85 51.5 157t139.5 114t192 42q142 0 249.5 -76.5t128.5 -189.5q-43 21 -91 32t-98 11q-39 0 -77 -6.5t-71.5 -19t-64.5 -30.5t-56.5 -40t-46.5 -48.5t-35.5 -55.5t-22 -61
t-7.5 -66zM381 160q0 63 38.5 116.5t104 84.5t143.5 31q118 0 202 -68t84 -164q0 -62 -38.5 -115.5t-104.5 -84.5t-143 -31q-118 0 -202 68t-84 163zM527 191q-16 0 -27.5 -11t-11.5 -27q0 -11 5.5 -20t14.5 -14t19 -5q16 0 27.5 11.5t11.5 27.5t-11.5 27t-27.5 11zM667 191
q-16 0 -27.5 -11t-11.5 -27t11.5 -27.5t27.5 -11.5q10 0 19 5t14.5 14t5.5 20q0 7 -3.5 14.5t-8.5 12.5t-12 8t-15 3zM806 191q-16 0 -27 -11t-11 -27t11 -27.5t27 -11.5t27.5 11.5t11.5 27.5q0 7 -3 14.5t-8 12.5t-12.5 8t-15.5 3z" />
<glyph glyph-name="uniE63E" unicode="&#xe63e;"
d="M521 317zM768 -178h-1h-1h-1h-1h-1h-1h-1h-1h-1h-1h-1q-11 1 -23 2h-1h-1h-1h-1h-1l-1 1h-1h-1h-1h-1h-1h-1h-1l-1 1h-1h-1h-1h-1h-1l-1 1h-1h-1h-1h-1h-1h-1l-1 1h-1h-1h-1h-1l-1 1h-1h-1h-1h-1l-1 1h-1h-1h-1h-1l-1 1h-1h-1h-1l-1 1h-1h-1h-1h-1l-1 1h-1h-1l-1 1h-1h-1
h-1h-1l-1 1h-1h-1h-1l-1 1h-1h-1h-1l-1 1h-1l-1 1h-1h-1h-1l-1 1h-1h-1h-1l-1 1h-1h-1l-1 1h-1h-1h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1
h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1q-145 72 -277 204.5t-205 277.5q-55 113 -56.5 201t52.5 140q13 13 30 13
t30 -13q8 -8 11 -19t0 -21.5t-11 -19.5q-32 -32 -26.5 -98t47.5 -149q68 -137 187.5 -256.5t256.5 -187.5q83 -42 149 -47.5t98 26.5q13 13 30 13t30 -13t13 -30t-13 -30q-54 -47 -141 -47zM333 355q-26 0 -39 26q-9 16 -4 32.5t21 23.5l99 46q15 8 26 23t8 33q0 13 -17 30
l-141 145q-10 9 -24.5 12.5t-31.5 0.5q-12 -7 -25 -13l-68 -73q-9 -8 -19.5 -11t-21.5 0t-19 11q-13 13 -13 30t13 30l68 68q28 28 60 34q80 20 141 -34l140 -140q4 -4 7 -8l6 -8q3 -4 6 -8.5t5 -8.5l4 -10q2 -4 4 -9l2 -10q2 -5 3 -10l2 -10q1 -8 1 -16.5t-1 -16.5
t-3.5 -16.5t-5.5 -16.5t-7.5 -15.5t-10 -15t-11.5 -14t-13 -12.5t-14.5 -11.5t-15.5 -10.5l-98 -47q0 2 -2.5 2t-6 -1t-4.5 -1zM875 -139q-10 0 -17 3t-13 9q-13 13 -13 30t13 30l68 68q13 13 13 26q7 35 -13 55l-141 141q-4 4 -30 17q-12 2 -23.5 -2t-19.5 -12.5t-12 -19.5
l-47 -98q-3 -6 -7 -11t-10 -8t-12.5 -4t-13 0.5t-12.5 5.5q-8 3 -13.5 9t-8 13.5t-1.5 16.5t5 16l47 99q23 42 62 64.5t83 16.5q45 -7 77 -39l141 -141q29 -28 38 -65t-4 -75q-17 -43 -34 -60l-72 -73q-5 -4 -9.5 -7t-9.5 -4t-11 -1zM602 87q-4 0 -9 1.5t-8 2.5t-9 4
q-77 58 -154 128q-76 77 -128 154q-9 12 -6 29.5t19 30.5q6 3 13 5t13.5 2t13 -2t11.5 -5.5t9 -8.5q15 -21 27 -36.5t27.5 -35t32 -37t32.5 -32.5q14 -12 21 -18.5t19.5 -17.5t20.5 -18t19.5 -17t20.5 -17.5t19.5 -15.5t20.5 -15q11 -7 16 -17t3 -21.5t-10 -21.5
q-6 -21 -34 -21z" />
</font>
</defs></svg>
... ...
No preview for this file type
No preview for this file type
{
"name": "yohobuy",
"version": "1.1.9a",
"version": "1.2.0",
"description": "yohobuy statics",
"keywords": [],
"homepage": "",
... ...
{{#goodsDescription}}
<div class="goods-desc page-block">
<img class="service lazy" data-original="http://static.dev.yohobuy.com/img/product/service.png" alt="">
<h1 class="title">
{{title}}
<span class="en-title">{{enTitle}}</span>
</h1>
{{#detail}}
<ul class="detail table clearfix">
{{#list}}
<div class="column">{{param}}</div>
{{/list}}
</ul>
{{/detail}}
<div class="desc-text">{{desc}}</div>
</div>
{{/goodsDescription}}
<div class="gap-block"></div>
{{#sizeInfo}}
<div class="size-info page-block">
<h1 class="title">
{{title}}
<span class="en-title">{{enTitle}}</span>
</h1>
{{#detail}}
<div class="detail">
<div class="swiper-container detail-swiper" id="size-swiper-container">
<div class="swiper-wrapper">
{{#list}}
<div class="swiper-slide " >
{{#params}}
<div class="cell">{{param}}</div>
{{/params}}
</div>
{{/list}}
</div>
</div>
<p class="tips">提示:左滑查看完整表格信息</p>
</div>
{{/detail}}
</div>
{{/sizeInfo}}
<div class="gap-block"></div>
{{#measurementMethod}}
<div class="measurement-method page-block">
<h1 class="title">
{{title}}
<span class="en-title">{{enTitle}}</span>
</h1>
<div class="detail" style="width:100%">
<img class="lazy" data-original="{{img}}" alt="">
</div>
</div>
{{/measurementMethod}}
<div class="gap-block"></div>
{{#reference}}
<div class="size-info page-block">
<h1 class="title">
{{title}}
<span class="en-title">{{enTitle}}</span>
</h1>
{{#detail}}
<div class="detail">
<div class="swiper-container detail-swiper" id="reference-swiper-container">
<div class="swiper-wrapper">
{{#list}}
{{#if @first}}
<div class="swiper-slide first-group" >
</div>
{{else}}
<div class="swiper-slide" >
{{#params}}
<div class=" cell">{{param}}</div>
{{/params}}
</div>
{{/if}}
{{/list}}
</div>
</div>
<p class="tips">提示:左滑查看完整表格信息</p>
</div>
{{/detail}}
</div>
{{/reference}}
<div class="gap-block"></div>
{{#materials}}
<div class="materials page-block">
<h1 class="title">
{{title}}
<span class="en-title">{{enTitle}}</span>
</h1>
<div class="detail">
{{#list}}
<div class="material-item">
<img class="lazy" data-original="{{img}}" alt="">
<p class="material-desc">
{{desc}}
</p>
</div>
{{/list}}
</div>
</div>
{{/materials}}
<div class="wash-tips page-block">
<div class="detail table clearfix">
{{#washTips}}
<div class="tip">
<img src="{{img}}" alt="">
<span class="caption">{{caption}}</span>
</div>
{{/washTips}}
</div>
</div>
<div class="gap-block"></div>
{{#productDetail}}
<div class="product-detail page-block">
<h1 class="title">
{{{title}}}
<span class="en-title">{{{enTitle}}}</span>
</h1>
<div class="detail">
<p>{{{desc}}}</p>
{{#list}}
<img class="lazy" data-original="{{img}}" alt="">
{{/list}}
</div>
</div>
{{/productDetail}}
\ No newline at end of file
... ...
... ... @@ -417,7 +417,7 @@ class HomeController extends AbstractAction
$gender = Helpers::getGenderByCookie();
$channel = Helpers::getChannelByCookie();
$uid = $this->getUid();
$data = GradeModel::getGrade($gender, $channel, $uid);
$data = \Home\GradeModel::getGrade($gender, $channel, $uid);
$data['pageFooter'] = true;
$this->_view->display('vip-grade', $data);
}
... ... @@ -425,7 +425,6 @@ class HomeController extends AbstractAction
/*
* 会员特权查看页
*/
public function preferentialAction()
{
//设置网站seo信息
... ... @@ -435,22 +434,22 @@ class HomeController extends AbstractAction
$channel = Helpers::getChannelByCookie();
$uid = $this->getUid();
$data = GradeModel::getPreferential($channel, $uid);
$data = \Home\GradeModel::getPreferential($channel, $uid);
$data['pageFooter'] = true;
$this->_view->display('privilege', $data);
}
/*
* 我的订单页面,获得nav导航条焦点。并且异步请求订单详情列表页(getOrders)
*/
public function orderAction()
{
//获得type值,type:1=>全部,2=>待付款,3=>待发货,4=>待收货,5=>待评论。
$type = $this->get('type', 1);
$this->setTitle('我的订单');
$this->setNavHeader('我的订单');
$data = OrderModel::getNavs($type);
$data = \Home\OrderModel::getNavs($type);
if (!empty($data)) {
$order['navs'] = $data;
} else {
... ... @@ -479,7 +478,7 @@ class HomeController extends AbstractAction
$yh_channel = $this->get('yh_channel', 1);
$uid = $this->getUid();
//调用模型层getOrder方法获得并处理数据
$data = OrderModel::getOrder($type, $page, $limit, $gender, $yh_channel, $uid);
$data = \Home\OrderModel::getOrder($type, $page, $limit, $gender, $yh_channel, $uid);
/* 如果取不到订单数据时,分两种情况:
1、page>1时,echo一个空格字符串到浏览器。
2、page=1时,就给一个随便逛逛的链接。
... ... @@ -516,7 +515,7 @@ class HomeController extends AbstractAction
$yh_channel = $this->get('yh_channel', 1);
$method = 'app.SpaceOrders.close';
//调用取消订单接口,返回订单取消状态
$data = OrderData::cancelOrderData($order_code, $uid, $gender, $yh_channel, $method);
$data = \Home\OrderData::cancelOrderData($order_code, $uid, $gender, $yh_channel, $method);
//将取消状态返回至浏览器
$this->echoJson($data);
}
... ... @@ -538,7 +537,7 @@ class HomeController extends AbstractAction
$yh_channel = $this->get('yh_channel', 1);
$method = 'app.SpaceOrders.delOrderByCode';
//调用接口删除订单,并返回订单删除状态
$data = OrderData::deleteOrderData($order_code, $uid, $gender, $yh_channel, $method);
$data = \Home\OrderData::deleteOrderData($order_code, $uid, $gender, $yh_channel, $method);
//将订单删除状态返回至浏览器
$this->echoJson($data);
}
... ... @@ -551,7 +550,7 @@ class HomeController extends AbstractAction
{
$gender = Helpers::getGenderByCookie();
$yh_channel = $this->get('yh_channel', 1);
OrderModel::payment($gender, $yh_channel);
\Home\OrderModel::payment($gender, $yh_channel);
}
/*
... ... @@ -564,7 +563,7 @@ class HomeController extends AbstractAction
$gender = Helpers::getGenderByCookie();
$yh_channel = $this->get('yh_channel', 1);
//调用接口获取随便逛逛url地址,并return数据
$data = OrderModel::stroll($gender, $yh_channel);
$data = \Home\OrderModel::stroll($gender, $yh_channel);
return $data;
}
... ...
... ... @@ -4,6 +4,7 @@ namespace Home;
use LibModels\Wap\Home\OrderData;
use Plugin\Helpers;
use Plugin\Cache;
use Configs\CacheConfig;
/*
... ...
... ... @@ -5,7 +5,7 @@ define('SITE_MAIN', 'http://buy.test.yoho.cn'); // 网站主域名
define('OLD_MAIN', 'http://m.yohobuy.com'); // 网站旧域名
define('COOKIE_DOMAIN', '.test.yoho.cn'); // COOKIE作用域
define('SUB_DOMAIN', '.test.yoho.cn'); // 子域名后缀
define('USE_CACHE', true); // 缓存的开关
define('USE_CACHE', false); // 缓存的开关
define('APPLICATION_PATH', dirname(__DIR__)); // 应用目录
define('ROOT_PATH', dirname(dirname(APPLICATION_PATH))); // 根目录
defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'testing');
... ...