');a.append(r),r.append(n);var d=[100-parseFloat(i.css("right"))-parseFloat(i.css("left")),100-parseFloat(i.css("top"))-parseFloat(i.css("bottom"))];t();var s=b;m[s].animate=function(o){return g?void(o&&o.preventDefault()):(h=s,p&&p!==t&&p(),p=t,void a.css({left:i.css("left"),right:i.css("right"),top:i.css("top"),bottom:i.css("bottom")}))},i.on("click",m[s].animate),b++}}),e(),r.on("base-width-change",function(){e(),setTimeout(function(){e()},200)})}var n=$(this),d=n.find.bind(n),c=n.data("link_mask-params"),s=d("img").eq(0);n.css("overflow","hidden"),s.prop("complete")?t():s.on("load",t);var p=void 0})}(e,o),o.exports&&(n["/cloud/action/link_mask/link_mask.js.js"]=o.exports)}(),i.forEach(function(o){o()})}(),$(".rag[data-name='article_page_header']").each(function(){function o(){t.find(".wrap1>div").removeClass("hide")}var t=$(this),i=t.find(".wrap1>img");i[0].complete?o():i.on("load",function(){o()})}),!function(){isEditor||ua.app||ua.weirdhybrid||$.post("//m.xiaomiyoupin.com/app/stat/visitv2",{data:JSON.stringify([{e:{et:"shop",ref2:{page:"$Activity$",id:location.href,v:8,event:"VIEW",t:Math.floor(Date.now()/1e3),did:YouPinStat.uuid},referer:document.referrer?"id="+document.referrer:""}}])})}();var c=void 0,s={},p=void 0;window.allModuleMap=n,c="/cloud/container/pure_container/pure_container.action.js",function(){var o={type:"resource"};!function(o,t){}(e,o),o.exports&&(n["/cloud/container/pure_container/pure_container.action.js"]=o.exports)}(),function(){var o={type:"resource"};!function(o,t){function i(o,t,i,e){function a(o,t){o=o.replace(/[【】]/g,""),o=o.replace(/[,,。 ]+/g," "),o=o.trim();var i=o.split(/ /),e=!1,a=[];return i.every(function(o){if(!e)return a.push(o),e=!0,!0;var i=a.join(",").length;return!(i+o.length+1>=t)&&(a.push(o),!0)}),a.join(",")}var r={unit:"元",name:"",src:"",descr:"",price:"",marketPrice:"",showMarketPrice:"",showTag:o.showTag};if(t.attr_ext){var n=t.attr_ext;(1===n.price_tag||o.daiqi)&&(r.unit="元起"),n.custom_name&&!o.name&&(r.name=n.custom_name)}return r.name||(r.name=o.name||t.name),o.src?r.src=o.src:"限时购"===o.mode||o.showWhiteProductImage?r.src=t.pic_url:r.src=t.album[0],o.descr?r.descr=o.descr:i?r.descr=a(t.summary,18):r.descr=t.summary,t.market_price||(t.market_price=t.price_min),o.price&&(t.price_min=Math.round(100*o.price)),o.priceOriginal&&(t.market_price=Math.round(100*o.priceOriginal)),r.price=e(t.price_min,"cent").short,r.marketPrice=e(t.market_price,"cent").short,r.showMarketPrice=1*t.price_min<1*t.market_price,r.downPriceValue=t.market_price-t.price_min,r.downPrice=e(r.downPriceValue,"cent").short,r.downPriceText="直降"+r.downPrice+"元",r.discountText=""+Math.ceil(t.price_min/t.market_price*100)/10,r.discountText=""+r.discountText.replace(/\.\d+/,function(o){return o.slice(0,2)}).replace(/\.0/,""),r}function e(o,t){o(".unit").text(t.unit),o(".product-name").html(t.name),o(".product-descr").html(t.descr),o(".price-wrap .num").text(t.price),t.showMarketPrice&&(o(".price-wrap-market").show(),o(".price-wrap-market .num").text(t.marketPrice),t.showTag&&o(".link-wrap>.tag").show().text(t.downPriceText));var i=o('[data-editor-tag-name="horizontal_border_label"]'),e=o('[data-editor-tag-name="circle-background-double-line"]'),a=i.find(".tag-content"),r=e.find(".tag-content");if(i.length&&t.showMarketPrice&&(a.text()||(a.text(t.downPriceText),i.children().show())),e.length&&t.showMarketPrice&&!r.text().trim())if(e.find('[data-auto-mode="××折"]').length)r.html('
'+t.discountText+'折
'),e.children().show();else{var n="";t.downPriceValue>1e5&&(n="#ffea00"),r.html('直降
'+t.downPrice+"
"),e.children().show()}}function a(o){function t(o,t){return o.length-1&&(a[t]=o.name)})});var r=void 0;return r=void 0!==o.onsale?o.onsale?1:0:parseInt(o.inventory),{map_id:o.map_id,pid:o.pid,type:a,price:o.price,inventory:r,image_url:o.img,origin_price:parseInt(o.market_price),name:o.name}}),r={price:m(t.detail.data.good.price_min,"cent").short,productName:t.detail.data.good.name,image_url:t.detail.data.good.pic_url};return{info:r,type:e,list:a}}function a(o,t){var e=void 0,a=void 0;parseInt(o)>1e8?(e={model:"Cart",action:"add",parameters:{product_id:o,consumption:"1"}},a=p({url:v,$dom:i})):(e={model:"Cart",action:"add",parameters:{pid:o,num:"1"}},a=p({url:_,$dom:i})),c({detail:e},function(o){o.detail.code?toast(g(o.detail)||"加入购物车失败"):(w.emit("add-cart-success"),l.app?toast("加入购物车成功"):toast("已加入购物车,请前往有品App结算"),t&&t())},!1,a)}function r(){function t(o){n(".bottom").hide(),n('.bottom[data-mode="'+o+'"]').show()}function e(){function o(o,t){for(var i in t)if(o.type[i]!=t[i])return!1;return!0}var i={};n(".tag.active").each(function(){var o=$(this),t=o.parent().data("type-name"),e=o.text().trim();i[t]=e});for(var e in i)n(".tag:not(.active)").addClass("disabled");var a=void 0;b.list.forEach(function(t){if(o(t,i)){a=t;for(var e in t.type)i[e]||n('[data-type-name="'+e+"\"] .tag[data-tag='"+t.type[e]+"']").removeClass("disabled")}});var r=function(t){var e=Object.assign({},i);delete e[t],b.list.forEach(function(i){o(i,e)&&n('[data-type-name="'+t+'"] [data-tag="'+i.type[t]+'"]').removeClass("disabled")})};for(var e in i)r(e);Object.keys(i).length===Object.keys(b.type).length&&a?(n(".title").text(a.name),n(".price").text("¥"+m(a.price,"cent").short),n(".product-img").attr("src",a.image_url),g=a,t(a.inventory?"ready":"gone")):(n(".title").text(b.info.productName),n(".price").text("¥"+b.info.price),n(".product-img").attr("src",b.info.image_url),g=void 0,t("wait"))}var r=$(d(b.info.productName,b.info.price,b.info.image_url)),n=r.find.bind(r),c=function(o){var t=b.type[o],i=$(s(o));n(".layer>main").append(i),t.forEach(function(o){i.find("main").append($(h(o)))})};for(var p in b.type)c(p);var g=void 0;n(".add-cart").on("tap",function(){a(g.pid||g.mapId)});var w=void 0;n(".go-checkout").on("tap",function(){var t=i;if(!g)return void toast("请先选中商品");if(g.pid){if(g.map_id&&"0"!==g.map_id)return w(),void f("https://m.xiaomiyoupin.com/shop/detail?gid="+o.gid+"&pid="+g.pid,{$dom:t});l.app?(w(),f("https://m.xiaomiyoupin.com/shop/check?quickOrder=2&pid="+g.pid,{$dom:t})):(w(),f("https://m.xiaomiyoupin.com/shop/checkshop/check?quickOrder=2&pid="+g.pid,{$dom:t}))}else a(g.mapId,function(){w(),f("https://m.xiaomiyoupin.com/shop/cart",{$dom:t})})}),e();var v=l.pc?"mousedown":"touchstart";r.on(v,".tag",function(){var o=$(this),t=o.parent();o.hasClass("disabled")||(o.hasClass("active")?(o.inactive(),t.inactive()):(o.active(),t.active(),o.siblings().inactive()),e())});var _=u(r,function(){},!1,!0,!0);w=_.exit,r.parent().css({left:0,right:0,"max-width":"none"})}var d=function(o,t,i){return'\n
\n
\n \n

\n
\n \n \n
\n \n
\n
\n
\n
\n
\n'},s=function(o){return'\n'},h=function(o){return' \n '+o+" \n\n"},b={};if(o.gid){if(window.isEditor)return;n(o.gid,function(o){Object.assign(b,e(o))})}else b=o.config;t(function(){var o=0;return b.list?(b.list.forEach(function(t){t.inventory&&t.inventory>0&&o++}),void(o?b.list.length>1?r():a(b.list[0].pid):toast("商品已售罄"))):void getLogin().then(function(o){o?toast("数据加载中..."):jumptoLogin()})})}function n(o,t){y&&clearTimeout(y),j.push({gid:o,cb:t}),y=setTimeout(function(){var o=j.slice(0);j.length=0,y=0;var t={};o.forEach(function(o){var i=o.gid;t[i]={model:"Shopv2",action:"getDetail",parameters:{gid:i}}}),c(t,function(t){var i=function(i){o.forEach(function(o){var e=o.gid,a=o.cb;i==e&&a({detail:t[i]})})};for(var e in t)i(e)},function(o){toast("获取商品信息失败"),console.warn(o)},b(v,"editor-cache",""+Math.floor(Date.now()/36e5)),!0)})}var d=o("util"),c=d.miFetch,s=d.PIPE_URL,p=d.getTracedUrl2,g=d.getChineseMessage,h=d.GPIPE_URL,m=d.formatMoney,l=d.ua,f=d.jumpTo,u=d.showBottomWindow,b=d.addParam,w=d.eventEmitter,v=s.replace("static.",""),_=h.replace("static.",""),k="map_id_add_cart-floating-layer",y=void 0,j=[];t.exports={getFinalInfo:i,renderFinalInfo:e,getRemainTime:a,initBottomWindow:r,getDetail:n}}(e,o),o.exports&&(n["/cloud/module/product_big/util.js"]=o.exports)}(),c="/cloud/module/product_big/product_big.action.js",function(){var o={type:"resource"};!function(o,i){function e(o,t){l&&clearTimeout(l),f.push({gid:o,cb:t}),l=setTimeout(function(){var o=f.slice(0);f.length=0,l=0;var t={};o.forEach(function(o){var i=o.gid;t[i]={model:"Product",action:"GetDetail",parameters:{gid:i}}}),miFetch(t,function(t){var i=function(i){o.forEach(function(o){var e=o.gid,a=o.cb;i===""+e&&a({detail:t[i]})})};for(var e in t)i(e)},function(o){toast("获取商品信息失败"),console.warn(o)},addParam("//m.xiaomiyoupin.com/app/shopv3/pipe","editor-cache",""+Math.floor(Date.now()/36e5)),!0)},100)}var a=o("util"),n=a.formatMoney,d=a.ua,c=a.setTrace,s=o("/cloud/module/product_big/util.js"),p=s.getFinalInfo,g=s.renderFinalInfo,h=s.getRemainTime,m=s.initBottomWindow,l=void 0,f=[];i.exports=function(){function o(i,a){var r=this;t(this,o);var s=$("[data-id="+a+"]"),h=s.find.bind(s);this.$$=h,this.$dom=s;var l=i.gid;if(l){d.pc&&1===window.devicePixelRatio&&s.find(".top-a-wrap").css("border","1px solid rgb(204,204,204)");var f=h("a.product-big-img-link"),u=h("a.buy-btn-wrap");i.startTime&&i.startTime>Date.now()/1e3&&this.initTimer(),i.href?(f.attr("href",i.href),u.attr("href",i.href)):(f.attr("href","//m.xiaomiyoupin.com/shop/detail?gid="+l),u.attr("href","//m.xiaomiyoupin.com/shop/detail?gid="+l)),c(f),c(u),h(".bottom-btn").on("tap",function(){window.countEvent&&window.countEvent("button",this)}),"加入购物车"===i.btn&&m(i,function(o){h(".bottom-btn.cart-btn").on("tap",o)},s);var b=s.parent().is('[data-name="horizontal_layout"],[data-name="test_container"],[data-name="horizontal_scroll_container"],.horizontal_scroll_container_body');this.isSmall=b;var w=s.find(".normal-mode"),v=$(".top-wrap");return d.android&&v.addClass("android"),d.iOS&&v.addClass("iOS"),d.pc&&v.addClass("pc"),b?w.addClass("thin"):w.addClass("big"),i.static?(g(h,i.finalInfo),void setTimeout(this.afterRender.bind(this))):void e(l,function(o){var t=o.detail.data;if(!t)return void console.warn("gid error",l);var e=p(i,t.goods,b,n);g(h,e),r.afterRender()})}}return r(o,[{key:"initTimer",value:function(){function o(o){i.text(h(o))}var t=this.$$,i=t(".bottom-btn"),e="倒计时",a=t(".bottom-btn-wrap"),r=i.html();a.css({"pointer-events":"none",cursor:"not-allowed"});var n=config.startTime-Date.now()/1e3,d=n/3600/24;d>1?(i.text(""+e+Math.floor(d)+"天"),i.addClass("left-days")):!function(){i.addClass("left-time");var t=Math.ceil(config.startTime-Date.now()/1e3);o(t);var e=setInterval(function(){t--,t?o(t):(clearInterval(e),i.html(r).removeClass("left-days").removeClass("left-time"),a.css({"pointer-events":"all",cursor:"pointer"}))},1e3)}()}},{key:"afterRender",value:function(){function o(){var o=i.parent()[0].containerAdjustHeight;o&&o()}function t(){n&&n.css("position","static").removeClass("loading"),r.removeClass("loading").css({"min-height":"0px"}),a?r.css("padding-top","100%"):r.css("padding-top","0px")}var i=this.$dom,e=this.$$,a=this.isSmall,r=(e(".product-img-wrap"),e(".product-big-img-link")),n=e(".product");o(),n.length?n[0].naturalWidth?t():n.on("load",t):t()}}]),o}()}(e,o),o.exports&&(n["/cloud/module/product_big/product_big.action.js"]=o.exports)}(),c="/cloud/container/horizontal_layout/horizontal_layout.action.js",function(){var i={type:"resource"};!function(i,e){var a=i("util"),n=a.eventEmitter;e.exports=function(){function i(o,e){t(this,i);var a=$("[data-id="+e+"]"),r=a.find.bind(a);this.$$=r,this.$dom=a,this.heightAdjust(),"等高"===o.mode&&this.syncHeight()}return r(i,[{key:"heightAdjust",value:function(){function t(){function t(o){var t=o.children()[0].scrollHeight,i=1*(o.css("border-bottom-width").match(/^[\d.]+/)||[0])[0],e=1*(o.css("border-top-width").match(/^[\d.]+/)||[0])[0];return t+i+e}var i=function(i){var a=e[i];if(a.length<2)return"continue";var r=Math.max.apply(Math,o(a.map(t)));a.forEach(function(o){o.css("min-height",r+"px")})};for(var a in e){i(a)}}function i(){setTimeout(t,200),setTimeout(t,2e3)}var e={};this.$$("[data-sync-height]").each(function(){var o=$(this),t=o.data("sync-height");e[t]||(e[t]=[]),e[t].push(o)}),Object.keys(e).length&&(this.$dom[0].containerAdjustHeight=i,i(),n.on("base-width-change",function(){for(var o in e){var t=e[o];t.length<2||t.forEach(function(o){o.css("min-height","0px")})}i()}))}},{key:"syncHeight",value:function(){function o(o){var t=o.match(/[?&]w=(\d+)\b/),i=o.match(/[?&]h=(\d+)\b/);return t&&i?{width:1*t[1],height:1*i[1]}:(toast("图片链接缺少尺寸参数:"+o),{width:0,height:0})}var t=this.$dom.children();this.$dom.addClass("stretch");var i=[],e=[],a=0,r=1,n=!0;t.each(function(t){var i=$(this),a=void 0;a="IMG"===i.prop("tagName")?i:i.find("img");var d=a.attr("src")||a.data("lazy-src"),c=o(d),s=c.width,p=c.height;if(e[t]={width:s,height:p},!s||!p)return void(n=!1);var g=r/p;parseInt(g)!==g&&(r*=p)}),n&&(t.each(function(o){var t=e[o],n=t.width,d=t.height;i[o]=r/d*n,a+=i[o]}),t.each(function(o){$(this).css("width",100*i[o]/a+"%")}))}}]),i}()}(e,i),i.exports&&(n["/cloud/container/horizontal_layout/horizontal_layout.action.js"]=i.exports)}(),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-2"]').length&&p("editor-rag-2",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-4"]').length&&p("editor-rag-4",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-6"]').length&&p("editor-rag-6",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-8"]').length&&p("editor-rag-8",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-16"]').length&&p("editor-rag-16",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-22"]').length&&p("editor-rag-22",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-24"]').length&&p("editor-rag-24",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-26"]').length&&p("editor-rag-26",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-28"]').length&&p("editor-rag-28",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-36"]').length&&p("editor-rag-36",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-39"]').length&&p("editor-rag-39",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-41"]').length&&p("editor-rag-41",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-43"]').length&&p("editor-rag-43",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-45"]').length&&p("editor-rag-45",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-47"]').length&&p("editor-rag-47",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-55"]').length&&p("editor-rag-55",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-60"]').length&&p("editor-rag-60",{mode:"没用"}),p=s["/cloud/container/pure_container/pure_container.action.js"],p&&$('[data-id="editor-rag-66"]').length&&p("editor-rag-66",{mode:"没用"}),$('[data-id="editor-rag-3"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:521,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_e92e537ae297b858c5b2d470b477aa43.png&w=1046&h=485",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_e92e537ae297b858c5b2d470b477aa43.png&w=1046&h=485",name:""},"editor-rag-3"),$('[data-id="editor-rag-5"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100329,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_7db16874e2961af24b851748d67f4f98.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_7db16874e2961af24b851748d67f4f98.png&w=1080&h=501",name:""},"editor-rag-5"),$('[data-id="editor-rag-7"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:749,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_a788a184af1721f624907301bd0a37de.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_a788a184af1721f624907301bd0a37de.png&w=1080&h=501",name:""},"editor-rag-7"),$('[data-id="editor-rag-9"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:840,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_d020d230ec5facb6f2cb32315538c75d.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_d020d230ec5facb6f2cb32315538c75d.png&w=1080&h=501",name:""},"editor-rag-9"),$('[data-id="editor-rag-11"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:613,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_5c0c19fb2bb76d9448fb59c60c82a190.jpeg&w=308&h=362"},"editor-rag-11"),$('[data-id="editor-rag-12"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:747,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_0119ae7752c4bad2ce162ddf51653bbc.jpeg&w=308&h=362"},"editor-rag-12"),$('[data-id="editor-rag-14"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:631,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_3fae8ea818c59151a33b5acace46c786.jpeg&w=308&h=362"},"editor-rag-14"),$('[data-id="editor-rag-15"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:664,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_a060a46f1d271f810b63262ee8040a18.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_a060a46f1d271f810b63262ee8040a18.jpeg"},"editor-rag-15"),$('[data-id="editor-rag-17"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100917,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_63b22e142c0ed21331414150eea39945.jpeg&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_63b22e142c0ed21331414150eea39945.jpeg&w=1080&h=501",name:""},"editor-rag-17"),$('[data-id="editor-rag-19"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100407,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_ef35807cdd489ff1b80f79e50df14fb3.jpeg&w=308&h=362"},"editor-rag-19"),$('[data-id="editor-rag-20"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100334,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_e58333ab1df12dd300eb2b8f68990110.jpeg&w=308&h=362"},"editor-rag-20"),$('[data-id="editor-rag-23"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100491,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_e75047b5ceefef64161c5b6eea3b5458.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_e75047b5ceefef64161c5b6eea3b5458.png&w=1080&h=501",name:""},"editor-rag-23"),$('[data-id="editor-rag-25"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({
btn:"加入购物车",links:[],begin:!1,gid:100347,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_717eda25e580cd865ca9966e37c2d8b6.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_717eda25e580cd865ca9966e37c2d8b6.png&w=1080&h=501",name:""},"editor-rag-25"),$('[data-id="editor-rag-27"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100511,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_e42adea62fadef0a49d5408689b69203.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_e42adea62fadef0a49d5408689b69203.png&w=1080&h=501",name:""},"editor-rag-27"),$('[data-id="editor-rag-29"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100317,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_0aef7df9ff723fc600310810f1babe6c.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_0aef7df9ff723fc600310810f1babe6c.png&w=1080&h=501",name:""},"editor-rag-29"),$('[data-id="editor-rag-31"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100289,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_a17c9f122228867bd8b45dd1cc2c8734.jpeg&w=308&h=362"},"editor-rag-31"),$('[data-id="editor-rag-32"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100658,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_c47c3972422ffea4df7acebab409f2d2.jpeg&w=308&h=362"},"editor-rag-32"),$('[data-id="editor-rag-34"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100557,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_d299a46e6f21bab64d699e43e3c6dfec.jpeg&w=308&h=362"},"editor-rag-34"),$('[data-id="editor-rag-35"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100269,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_4b615a3735babfacf9fb4ec63904dc79.jpeg&w=308&h=362"},"editor-rag-35"),$('[data-id="editor-rag-37"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100323,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_8a2cd84d10e983ff14a171ad889700ff.png&w=1080&h=500",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_8a2cd84d10e983ff14a171ad889700ff.png&w=1080&h=500",name:""},"editor-rag-37"),$('[data-id="editor-rag-40"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:774,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_0f6e78abf10a2d69e0f8fa097ebe80b8.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_0f6e78abf10a2d69e0f8fa097ebe80b8.png&w=1080&h=501",name:""},"editor-rag-40"),$('[data-id="editor-rag-42"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100349,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_77269b04e8979d4948470481ea6f7999.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_77269b04e8979d4948470481ea6f7999.png&w=1080&h=501",name:""},"editor-rag-42"),$('[data-id="editor-rag-44"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:718,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_c8b98e2c0dc364a40d932a4b8ed2dd56.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_c8b98e2c0dc364a40d932a4b8ed2dd56.png&w=1080&h=501",name:""},"editor-rag-44"),$('[data-id="editor-rag-46"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100570,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_daa40a70eb1733b08ac0cff21539dec1.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_daa40a70eb1733b08ac0cff21539dec1.png&w=1080&h=501",name:""},"editor-rag-46"),$('[data-id="editor-rag-48"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:436,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_034b938d58bca949fa427838172b98f1.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_034b938d58bca949fa427838172b98f1.png&w=1080&h=501",name:""},"editor-rag-48"),$('[data-id="editor-rag-50"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:368,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_d50f1f7ee2d90c1637bcc5fbb89e74eb.jpeg&w=308&h=362"},"editor-rag-50"),$('[data-id="editor-rag-51"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:542,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_b8f1baa0a863c5d45fb82e9a21463c45.jpeg&w=308&h=362"},"editor-rag-51"),$('[data-id="editor-rag-53"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100436,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_81b934bbdf8499390c37cfa1d91d7be5.jpeg&w=308&h=362"},"editor-rag-53"),$('[data-id="editor-rag-54"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:533,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_56ec5958190d84e26d60e40eaf06338d.jpeg&w=308&h=362"},"editor-rag-54"),$('[data-id="editor-rag-56"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100386,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_c44e7bf4516faa408ca33eabbacdaeb5.png&w=1080&h=500",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_c44e7bf4516faa408ca33eabbacdaeb5.png&w=1080&h=500",name:""},"editor-rag-56"),$('[data-id="editor-rag-58"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:457,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_3023b52c0265ea34188fcee3ed874076.jpeg&w=308&h=362"},"editor-rag-58"),$('[data-id="editor-rag-59"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:711,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_cd1df283a7838031ee266712ee47d628.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_cd1df283a7838031ee266712ee47d628.jpeg"},"editor-rag-59"),$('[data-id="editor-rag-61"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:893,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_1f1279ad5cbb9bf0d03253b338e106b7.png&w=1080&h=500",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_1f1279ad5cbb9bf0d03253b338e106b7.png&w=1080&h=500",name:""},"editor-rag-61"),$('[data-id="editor-rag-63"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100296,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_7e2410594ab4283689a6099c993b5fd7.jpeg&w=308&h=362"},"editor-rag-63"),$('[data-id="editor-rag-64"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100270,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_6e271414d5c36cb829b8c66bfb0c54a9.jpeg&w=308&h=362"},"editor-rag-64"),$('[data-id="editor-rag-67"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:304,src:"https://shop.io.mi-img.com/app/shop/img?id=shop_40ab4e26810a9910ae13634ac5777556.png&w=1080&h=501",btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_40ab4e26810a9910ae13634ac5777556.png&w=1080&h=501",name:""},"editor-rag-67"),$('[data-id="editor-rag-69"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:100313,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_1f155658c9417ecbdb70ca93b241280b.jpeg&w=308&h=362"},"editor-rag-69"),$('[data-id="editor-rag-70"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:792,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_ebb84ab63d2f0e5cd25dc3e2542e099c.jpeg&w=308&h=362"},"editor-rag-70"),$('[data-id="editor-rag-72"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:276,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_a347713b7ae42db2f7a91f87f9b4053f.jpeg&w=308&h=362"},"editor-rag-72"),$('[data-id="editor-rag-73"]').length&&new n["/cloud/module/product_big/product_big.action.js"]({btn:"加入购物车",links:[],begin:!1,gid:627,btnColor:"#f66f40",hideImg:!1,mode:"普通",showWhiteProductImage:!1,showTag:!1,btnColor2:"#cf2d2d",bottomBg:"#fff",daiqi:!1,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_f3fa8dfa51e3abda1455ced50af0225b.jpeg&w=308&h=362"},"editor-rag-73"),$('[data-id="editor-rag-10"]').length&&new n["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-10"),$('[data-id="editor-rag-13"]').length&&new n["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-13"),$('[data-id="editor-rag-18"]').length&&new n["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-18"),$('[data-id="editor-rag-30"]').length&&new n["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-30"),$('[data-id="editor-rag-33"]').length&&new n["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-33"),$('[data-id="editor-rag-49"]').length&&new n["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-49"),$('[data-id="editor-rag-52"]').length&&new n["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-52"),$('[data-id="editor-rag-57"]').length&&new n["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-57"),$('[data-id="editor-rag-62"]').length&&new n["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-62"),$('[data-id="editor-rag-68"]').length&&new n["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-68"),$('[data-id="editor-rag-71"]').length&&new n["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-71"),window.exportInfo={user:"wing",articleId:"6123",time:"2018年4月17日 15:30:49"},!shareInit({title:"有品洗乐生活",ml:"link",wx:"link",wb:"link",pyq:"link",pyqTitle:"有品洗乐生活",wbTitle:"有品洗乐生活",content:"干净整洁是永不过时的行头,好生活靠打理,有品洗乐生活季。",wbContent:"干净整洁是永不过时的行头,好生活靠打理,有品洗乐生活季。",imgs:[["https://shop.io.mi-img.com/app/shop/img?id=shop_4280b3c13f5d1fe47344910976d9b5da.jpeg&w=200&h=200"],[],[]],bimg:"https%3A%2F%2Fshop.io.mi-img.com%2Fapp%2Fshop%2Fimg%3Fid%3Dshop_4280b3c13f5d1fe47344910976d9b5da.jpeg%26w%3D200%26h%3D200",pics:"http%3A%2F%2Fapi.io.mi.com%2Fapp%2Fshop%2Fzimg%3Fids%3Dthumb_4280b3c13f5d1fe47344910976d9b5da-pic_4280b3c13f5d1fe47344910976d9b5da",image:"https://shop.io.mi-img.com/app/shop/img?id=shop_4280b3c13f5d1fe47344910976d9b5da.jpeg&w=200&h=200"},{disableAppShareToast:0}),window.publicAttribute={"产品模块":{static:!1}},function(){function o(o){var i=o.attr("data-lazy-src");if(i){ua.android&&(parseURL(i).params.t||(i=addParam(i,"t","webp"))),o.attr("src",i).removeAttr("data-lazy-src").css("width","100%").css("opacity","1");var e=window.getRag(o);e&&e.length&&e[0].eventEmitter&&e[0].eventEmitter.emit("lazyload-reach"),setTimeout(function(){o[0].complete&&t(o),o.on("load",function(){t(o)})})}}function t(o){setTimeout(function(){var t=parseInt(o.css("height"));t<1&&console.log("reset failed");var i=o.parent();i.hasClass("product-big-img-link")&&"absolute"===o.css("position")||(i.css("padding-top","0").css("overflow","visible"),o.css("position","static")),i.hasClass("product-big-img-link")&&i.css("overflow","hidden")})}function i(){var t=a.scrollTop(),i=a.height();e=e.filter(function(e,a,r){var n=e.offset().top;return!(nt-1.5*i)||(o(e),!1)})}var e=[];$("img[data-lazy-src]").each(function(){e.push($(this))}),setTimeout(function(){a.scroll(i),i()},500);var a=$(window),r=setInterval(function(){e.length?i():clearInterval(r)},400)}()})