');r.append(n),n.append(d);var s=[100-parseFloat(i.css("right"))-parseFloat(i.css("left")),100-parseFloat(i.css("top"))-parseFloat(i.css("bottom"))];o(),m[t].animate=function(a){return e?void(a&&a.preventDefault()):(h=t,p&&p!==o&&p(),p=o,void r.css({left:i.css("left"),right:i.css("right"),top:i.css("top"),bottom:i.css("bottom")}))},i.on("click",m[t].animate)}}),o(),a.on("base-width-change",o)}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")?o():s.on("load",o);var p=void 0})}(a,t),t.exports&&(c["/cloud/action/link_mask/link_mask.js.js"]=t.exports)}(),i.forEach(function(t){t()})}(),!function(){function t(t){o.forEach(function(o,e){t.apply(i[e],o)})}var o=[],i=[],e=[];$(".editor-action-11mins_timer").each(function(){var t=$(this),e=t.data("11mins_timer-params"),a=new s(t,e);o.push([e,a]),i.push(t)}),function(){var o={type:"resource"};!function(o,i){var e=o("util"),a=e.eventEmitter;t(function(t,o){function i(t){return new Date(1e3*t).format("mm:ss")}function e(t){t<0&&(t=0);var o=i(t);n.text(o),0===t?n.css("color","#e14111"):t<60?(n.css("color","#e14111"),n.active()):n.css("color","#b0ef72")}function r(t){e(t);var o=setInterval(function(){t--,t||(n.inactive(),clearInterval(o)),e(t)},1e3)}var n=$('
');o.$dom.append(n),a.on("module_11mins_cover_start",function(){miFetch({result:{action:"RemainTime",model:"ElevenMinBuy",parameters:{}}},function(t){t.result.code?toast(getChineseMessage(t.result)):r(t.result.data.remain_time)},!1,GPIPE_URL,!0)})})}(a,o),o.exports&&(c["/cloud/action/11mins_timer/11mins_timer.js.js"]=o.exports)}(),e.forEach(function(t){t()})}(),!function(){function t(t){o.forEach(function(o,e){t.apply(i[e],o)})}var o=[],i=[],e=[];$(".editor-action-show_float_layer").each(function(){var t=$(this),e=t.data("show_float_layer-params"),a=new s(t,e);o.push([e,a]),i.push(t)}),function(){var o={type:"resource"};!function(o,i){t(function(t,o){o.onPress(function(){if(ua.rn){RnRender.tools.countEvent("show-float-layer",o.rag);try{RnRender.tools.showFloatingLayer({id:t.id,closeOnTapShadow:!t.clickDoNothing,closeOnTapWrap:!t.clickDoNothing})}catch(t){console.log(t.message)}}else countEvent("show-float-layer",o.$dom),t.clickDoNothing?!function(){var o=showFloatingLayer2({$dom:$("#"+t.id),closeOnTapWrap:!1,closeOnTapShadow:!1}),i=o.$wrap,e=o.exit;i.on("tap",".editor-action-click_to_remove",function(){e()})}():showFloatingLayer2({$dom:$("#"+t.id)})})})}(a,o),o.exports&&(c["/cloud/action/show_float_layer/show_float_layer.js.js"]=o.exports)}(),e.forEach(function(t){t()})}(),$(".rag[data-name='article_page_header']").each(function(){function t(){o.find(".wrap1>div").removeClass("hide")}var o=$(this),i=o.find(".wrap1>img");i[0].complete?t():i.on("load",function(){t()})}),!function(){function t(t,o){document.dispatchEvent(new CustomEvent("share-result",{detail:{status:t,channel:o}}))}function o(t,o){var i=document.createElement("script");i.type="text/javascript",o&&(i.onload=o),document.body.parentNode.insertBefore(i,document.body),i.src=t}function i(){return new Promise(function(t,o){$.get("/app/shopv3/getwxticket",function(o){t(o)})})}function e(o){if(o){var i=parseURL(o);i=i.params;var e=parseURL(decodeURIComponent(i.pics));e=e.params.ids.split("-")[1],e="http://static.home.mi.com/app/shop/img?id=shop_"+e.split("_")[1]+".jpg";var a,r=decodeURIComponent(i.title);i.pyqTitle&&(a=decodeURIComponent(i.pyqTitle));var n=decodeURIComponent(i.content),d=decodeURIComponent(i.url);wx.ready(function(){wx.onMenuShareTimeline({title:a||n,link:d,imgUrl:e,success:function(){t("success","weixin_pyq")},cancel:function(){toast("分享失败"),t("faild","weixin_pyq")}}),wx.onMenuShareAppMessage({title:r,desc:n,link:d,imgUrl:e,success:function(){toast("分享成功"),t("success","weixin_friend")},cancel:function(){toast("分享失败"),t("faild","weixin_friend")}})})}}var a="http://m.xiaomiyoupin.com/shop/goshare?title=%E6%9C%89%E5%93%81%20%C2%B7%2011%E5%88%86%E8%B4%AD%E7%89%A9%E6%B3%95%E5%88%99&content=%E5%B0%91%E4%B8%80%E5%88%86%E6%8C%91%E9%80%89%EF%BC%8C%E5%A4%9A%E4%B8%80%E5%88%86%E4%BD%93%E9%AA%8C%EF%BC%8C%E6%9C%89%E5%93%81%E5%A5%BD%E7%89%A9%E4%B8%8D%E7%94%A8%E6%8C%91~&url=https%3A%2F%2Fhome.mi.com%2Fapp%2Fshop%2Fcontent%3Fid%3Dm9a1650394e5db0a1&ml=link&wx=link&pyq=link&wb=link&pics=http%3A%2F%2Fapi.io.mi.com%2Fapp%2Fshop%2Fzimg%3Fids%3Dthumb_1f5739a299fb8d4334a580bc3320649e-pic_1f5739a299fb8d4334a580bc3320649e&img=https%3A%2F%2Fshop.io.mi-img.com%2Fapp%2Fshop%2Fimg%3Fid%3Dshop_1f5739a299fb8d4334a580bc3320649e.jpeg%26w%3D200%26h%3D200&bimg=https%3A%2F%2Fshop.io.mi-img.com%2Fapp%2Fshop%2Fimg%3Fid%3Dshop_1f5739a299fb8d4334a580bc3320649e.jpeg%26w%3D200%26h%3D200";if(ua&&ua.app&&!args.mihomenoshare){var r=function(){window._MiHomeStore&&window._MiHomeStore.showShareIcon&&window._MiHomeStore.showShareIcon(a)};document.addEventListener("message",function(o){var i=JSON.parse(o.data);"ShareResult"===i.name&&("0"===i.result.toString()?t("success",i.channel):t("faild",i.channel))}),$.ajax({type:"GET",url:a,dataType:"json",timeout:3e3,success:function(){},error:function(){}}),setTimeout(r,1e3),setTimeout(r,2e3),setTimeout(r,1e4)}if(ua&&ua.wechat){var n=new Promise(function(t){o("https://res.wx.qq.com/open/js/jweixin-1.2.0.js",t)}),d=i();n.then(function(){return d}).then(function(t){if(t&&0==t.code&&t.data){var o=t.data;wx.config({debug:!1,appId:o.appId,timestamp:o.timestamp,nonceStr:o.nonceStr,signature:o.signature,jsApiList:["onMenuShareTimeline","onMenuShareAppMessage"]}),e(a)}})}}(),window.exportInfo={user:"smin",articleId:"5807",time:"2017年11月8日 9:52:28"},function(){function t(t){var i=t.attr("data-lazy-src");i&&(t.attr("src",i).removeAttr("data-lazy-src").css("width","100%").css("opacity","1"),setTimeout(function(){t[0].complete&&o(t),t.on("load",function(){o(t)})}))}function o(t){setTimeout(function(){var o=parseInt(t.css("height"));o<1&&console.log("reset failed");var i=t.parent();i.hasClass("product-big-img-link")&&"absolute"===t.css("position")||(i.css("padding-top","0").css("overflow","visible"),t.css("position","static")),i.hasClass("product-big-img-link")&&i.css("overflow","hidden")})}function i(){var o=a.scrollTop(),i=a.height();e=e.filter(function(e,a,r){var n=e.offset().top;return!(n')})}),void l(".start").on("tap",function(){try{p("start",u),c({result:{action:"ClickChallenge",model:"ElevenMinBuy",parameters:{}}},function(t){t.result.code?(toast(s(t.result)),m()):($("html").css("height","auto"),u.remove(),r.emit("module_11mins_cover_start"))},!1,d)}catch(t){}}))}return t}()}(a,t),t.exports&&(c["/cloud/module/11mins_cover/11mins_cover.action.js"]=t.exports)}(),p="/cloud/container/pure_container/pure_container.action.js",function(){var t={type:"resource"};!function(t,o){}(a,t),t.exports&&(c["/cloud/container/pure_container/pure_container.action.js"]=t.exports)}(),p="/cloud/container/horizontal_layout/horizontal_layout.action.js",function(){var o={type:"resource"};!function(o,e){var a=o("util"),r=a.eventEmitter;e.exports=function(){function o(t,e){i(this,o);var a=$("[data-id="+e+"]"),r=a.find.bind(a);this.$$=r,this.$dom=a,this.heightAdjust(),"等高"===t.mode&&this.syncHeight()}return d(o,[{key:"heightAdjust",value:function(){function o(){function o(t){var o=t.children()[0].scrollHeight,i=1*(t.css("border-bottom-width").match(/^[\d.]+/)||[0])[0],e=1*(t.css("border-top-width").match(/^[\d.]+/)||[0])[0];return o+i+e}var i=function(i){var a=e[i];if(a.length<2)return"continue";var r=Math.max.apply(Math,t(a.map(o)));a.forEach(function(t){t.css("min-height",r+"px")})};for(var a in e){i(a)}}function i(){setTimeout(o,200),setTimeout(o,2e3)}var e={};this.$$("[data-sync-height]").each(function(){var t=$(this),o=t.data("sync-height");e[o]||(e[o]=[]),e[o].push(t)}),Object.keys(e).length&&(this.$dom[0].containerAdjustHeight=i,i(),r.on("base-width-change",function(){for(var t in e){var o=e[t];o.length<2||o.forEach(function(t){t.css("min-height","0px")})}i()}))}},{key:"syncHeight",value:function(){function t(t){var o=t.match(/[?&]w=(\d+)\b/),i=t.match(/[?&]h=(\d+)\b/);return o&&i?{width:1*o[1],height:1*i[1]}:(toast("图片链接缺少尺寸参数:"+t),{width:0,height:0})}var o=this.$dom.children();this.$dom.addClass("stretch");var i=[],e=[],a=0,r=1,n=!0;o.each(function(o){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=t(d),s=c.width,p=c.height;if(e[o]={width:s,height:p},!s||!p)return void(n=!1);var h=r/p;parseInt(h)!==h&&(r*=p)}),n&&(o.each(function(t){var o=e[t],n=o.width,d=o.height;i[t]=r/d*n,a+=i[t]}),o.each(function(t){$(this).css("width",100*i[t]/a+"%")}))}}]),o}()}(a,o),o.exports&&(c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]=o.exports)}(),function(){var t={type:"resource"};!function(t,o){function i(t,o,i,e){function a(t,o){t=t.replace(/[【】]/g,""),t=t.replace(/[,,。 ]+/g," "),t=t.trim();var i=t.split(/ /),e=!1,a=[];return i.every(function(t){if(!e)return a.push(t),e=!0,!0;var i=a.join(",").length;return!(i+t.length+1>=o)&&(a.push(t),!0)}),a.join(",")}var r={unit:"元",name:"",src:"",descr:"",price:"",marketPrice:"",showMarketPrice:"",showTag:t.showTag};if(o.attr_ext){var n=o.attr_ext;(1===n.price_tag||t.daiqi)&&(r.unit="元起"),n.custom_name&&!t.name&&(r.name=n.custom_name)}return r.name||(r.name=t.name||o.name),t.src?r.src=t.src:"限时购"===t.mode||t.showWhiteProductImage?r.src=o.pic_url:r.src=o.album[0],t.descr?r.descr=t.descr:i?r.descr=a(o.summary,18):r.descr=o.summary,o.market_price||(o.market_price=o.price_min),t.price?r.price=t.price:(r.price=e(o.price_min,"cent").short,r.marketPrice=e(o.market_price,"cent").short,r.showMarketPrice=1*o.price_min<1*o.market_price,r.downPrice=e(o.market_price-o.price_min,"cent").short,r.downPriceText="直降"+r.downPrice+"元"),r}function e(t,o){t(".unit").text(o.unit),t(".product-name").html(o.name),t(".product-descr").html(o.descr),t(".price-wrap .num").text(o.price),o.showMarketPrice&&(t(".price-wrap-market").show(),t(".price-wrap-market .num").text(o.marketPrice),o.showTag&&t(".link-wrap>.tag").show().text(o.downPriceText));var i=t('[data-editor-tag-name="horizontal_border_label"]'),e=t('[data-editor-tag-name="circle-background-double-line"]'),a=i.find(".tag-content"),r=e.find(".tag-content");i.length&&o.showMarketPrice&&(a.text()||(a.text(o.downPriceText),i.children().show())),e.length&&o.showMarketPrice&&(r.text().trim()||(r.html("直降
"+o.downPrice+"元
"),e.children().show()))}function a(t){function o(t,o){return t.length-1&&(a[o]=t.name)})});var r=void 0;return r=void 0!==t.onsale?t.onsale?1:0:parseInt(t.inventory),{map_id:t.map_id,pid:t.pid,type:a,price:t.price,inventory:r,image_url:t.img,origin_price:parseInt(t.market_price),name:t.name}}),r={price:u(o.detail.data.good.price_min,"cent").short,productName:o.detail.data.good.name,image_url:o.detail.data.good.pic_url};return{info:r,type:e,list:a}}function a(t,o){var e=void 0,a=void 0;parseInt(t)>1e8?(e={model:"Cart",action:"add",parameters:{product_id:t,consumption:"1"}},a=p({url:b,$dom:i})):(e={model:"Cart",action:"add",parameters:{pid:t,num:"1"}},a=p({url:v,$dom:i})),c({detail:e},function(t){t.detail.code?toast(h(t.detail)||"加入购物车失败"):(w.emit("add-cart-success"),l.app?toast("加入购物车成功"):toast("已加入购物车,请前往有品App结算"),o&&o())},!1,a)}function r(){function o(t){n(".bottom").hide(),n('.bottom[data-mode="'+t+'"]').show()}function e(){function t(t,o){for(var i in o)if(t.type[i]!=o[i])return!1;return!0}var i={};n(".tag.active").each(function(){var t=$(this),o=t.parent().data("type-name"),e=t.text().trim();i[o]=e});for(var e in i)n(".tag:not(.active)").addClass("disabled");var a=void 0;_.list.forEach(function(o){if(t(o,i)){a=o;for(var e in o.type)i[e]||n('[data-type-name="'+e+"\"] .tag[data-tag='"+o.type[e]+"']").removeClass("disabled")}});var r=function(o){var e=Object.assign({},i);delete e[o],_.list.forEach(function(i){t(i,e)&&n('[data-type-name="'+o+'"] [data-tag="'+i.type[o]+'"]').removeClass("disabled")})};for(var e in i)r(e);Object.keys(i).length===Object.keys(_.type).length&&a?(n(".title").text(a.name),n(".price").text("¥"+u(a.price,"cent").short),n(".product-img").attr("src",a.image_url),h=a,o(a.inventory?"ready":"gone")):(n(".title").text(_.info.productName),n(".price").text("¥"+_.info.price),n(".product-img").attr("src",_.info.image_url),h=void 0,o("wait"))}var r=$(d(_.info.productName,_.info.price,_.info.image_url)),n=r.find.bind(r),c=function(t){var o=_.type[t],i=$(s(t));n(".layer>main").append(i),o.forEach(function(t){i.find("main").append($(m(t)))})};for(var p in _.type)c(p);var h=void 0;n(".add-cart").on("tap",function(){a(h.pid||h.mapId)});var w=void 0;n(".go-checkout").on("tap",function(){var o=i;if(!h)return void toast("请先选中商品");if(h.pid){if(h.map_id&&"0"!==h.map_id)return w(),void g("https://m.xiaomiyoupin.com/shop/detail?gid="+t.gid+"&pid="+h.pid,{$dom:o});l.app?(w(),g("https://m.xiaomiyoupin.com/shop/check?quickOrder=2&pid="+h.pid,{$dom:o})):(w(),g("https://m.xiaomiyoupin.com/shop/checkshop/check?quickOrder=2&pid="+h.pid,{$dom:o}))}else a(h.mapId,function(){w(),g("https://m.xiaomiyoupin.com/shop/cart",{$dom:o})})}),e();var b=l.pc?"mousedown":"touchstart";r.on(b,".tag",function(){var t=$(this),o=t.parent();t.hasClass("disabled")||(t.hasClass("active")?(t.inactive(),o.inactive()):(t.active(),o.active(),t.siblings().inactive()),e())});var v=f(r,function(){},!1,!0,!0);w=v.exit,r.parent().css({left:0,right:0,"max-width":"none"})}var d=function(t,o,i){return'\n
\n
\n \n

\n
\n \n \n
\n \n
\n
\n
\n
\n
\n'},s=function(t){return'\n'},m=function(t){return' \n '+t+" \n\n"},_={};if(t.gid){if(window.isEditor)return;n(t.gid,function(t){Object.assign(_,e(t))})}else _=t.config;o(function(){var t=0;return _.list?(_.list.forEach(function(o){o.inventory&&o.inventory>0&&t++}),void(t?_.list.length>1?r():a(_.list[0].pid):toast("商品已售罄"))):void getLogin().then(function(t){t?toast("数据加载中..."):jumptoLogin()})})}function n(t,o){k&&clearTimeout(k),j.push({gid:t,cb:o}),k=setTimeout(function(){var t=j.slice(0);j.length=0,k=0;var o={};t.forEach(function(t){var i=t.gid;o[i]={model:"Shopv2",action:"getDetail",parameters:{gid:i}}}),c(o,function(o){var i=function(i){t.forEach(function(t){var e=t.gid,a=t.cb;i==e&&a({detail:o[i]})})};for(var e in o)i(e)},function(t){toast("获取商品信息失败"),console.warn(t)},_(b,"editor-cache",""+Math.floor(Date.now()/36e5)),!0)})}var d=t("util"),c=d.miFetch,s=d.PIPE_URL,p=d.getTracedUrl2,h=d.getChineseMessage,m=d.GPIPE_URL,u=d.formatMoney,l=d.ua,g=d.jumpTo,f=d.showBottomWindow,_=d.addParam,w=d.eventEmitter,b=s.replace("static.",""),v=m.replace("static.",""),y="map_id_add_cart-floating-layer",k=void 0,j=[];o.exports={getFinalInfo:i,renderFinalInfo:e,getRemainTime:a,initBottomWindow:r,getDetail:n}}(a,t),t.exports&&(c["/cloud/module/product_big/util.js"]=t.exports)}(),function(){var t={type:"resource"};!function(t,e){var a=t("util"),r=a.miFetch,c=a.PIPE_URL,s=a.getTracedUrl2,p=a.getChineseMessage,h=a.GPIPE_URL,m=a.formatMoney,u=a.ua,l=a.jumpTo,g=a.showBottomWindow,f=a.addParam,_=a.getLogin,w=a.jumptoLogin,b=a.countEvent,v=a.EventEmitter,y=a.eventEmitter,k=function(t){function e(t){var o=this,a=t.id,r=void 0===a?"map_id_add_cart-floating-layer":a,d=t.gid,c=t.$sourceDom,s=t.cartExtraParams,p=void 0===s?{}:s;i(this,e),n(Object.getPrototypeOf(e.prototype),"constructor",this).call(this),Object.assign(this,{id:r,gid:d,config:{},$sourceDom:c,cartExtraParams:p}),this.getDetail(d,function(t){Object.assign(o.config,o.handleResult(t)),o.emit("ready")})}return o(e,t),d(e,[{key:"getDetail",value:function(t,o){e.getDetailTimeout&&clearTimeout(e.getDetailTimeout),e.requestQueue.push({gid:t,cb:o}),e.getDetailTimeout=setTimeout(function(){var t=e.requestQueue.slice(0);e.requestQueue.length=0,e.getDetailTimeout=0;var o={};t.forEach(function(t){var i=t.gid;o[i]={model:"Shopv2",action:"getDetail",parameters:{gid:i}}}),r(o,function(o){var i=function(i){t.forEach(function(t){var e=t.gid,a=t.cb;i===""+e&&a({detail:o[i]})})};for(var e in o)i(e)},function(t){toast("获取商品信息失败"),console.warn(t)},f("/app/shop/pipe","editor-cache",""+Math.floor(Date.now()/36e5)),!0)},100)}},{key:"addCart",value:function(t,o){var i=this,e=void 0,a=void 0;return parseInt(t)>1e8?(e={model:"Cart",action:"add",parameters:{product_id:t,consumption:"1"}},a=s({url:c,$dom:this.$sourceDom})):(e={model:"Cart",action:"add",parameters:{pid:t,num:"1"}},a=s({url:h,$dom:this.$sourceDom})),Object.assign(e.parameters,this.cartExtraParams),r({detail:e},function(t){t.detail.code?toast(p(t.detail)||"加入购物车失败"):(y.emit("add-cart-success"),i.emit("cart-success"),u.app?toast("加入购物车成功"):toast("已加入购物车,请前往有品App结算"),o&&o())},!1,a)}},{key:"renderSection",value:function(t){return'\n'}},{key:"renderTag",value:function(t){return' \n '+t+" \n\n"}},{key:"renderFooter",value:function(){return'\n \n '}},{key:"renderPanel",value:function(t,o,i){return'\n
\n
\n \n

\n
\n \n \n
\n \n '+this.renderFooter()+"\n
\n
\n "}},{key:"trigger",value:function(){if(window.isEditor)return void toast("不支持编辑器内使用");var t=0;return b("trigger-bottom",this.$sourceDom),this.config.list?(this.config.list.forEach(function(o){o.inventory&&o.inventory>0&&t++}),void(t?this.config.list.length>1?(this.emit("show"),this.show()):this.addCart(this.config.list[0].pid):toast("商品已售罄"))):void _().then(function(t){t?toast("数据加载中..."):w()})}},{key:"setMode",value:function(t){var o=this.$$;o(".bottom").hide(),o('.bottom[data-mode="'+t+'"]').show()}},{key:"onPressAddCart",value:function(t){this.addCart(t)}},{key:"onPressCheckout",value:function(){var t=this,o=this.$sourceDom;if(!this.selectingProduct)return void toast("请先选中商品");if(this.selectingProduct.pid){if(this.selectingProduct.map_id&&"0"!==this.selectingProduct.map_id)return this.exit(),void l("https://m.xiaomiyoupin.com/shop/detail?gid="+this.gid+"&pid="+this.selectingProduct.pid,{$dom:o});u.app?(this.exit(),l("https://m.xiaomiyoupin.com/shop/check?quickOrder=2&pid="+this.selectingProduct.pid,{$dom:o})):(this.exit(),l("https://m.xiaomiyoupin.com/shop/checkshop/check?quickOrder=2&pid="+this.selectingProduct.pid,{
$dom:o}))}else this.addCart(this.selectingProduct.mapId,function(){t.exit(),l("https://m.xiaomiyoupin.com/shop/cart",{$dom:o})})}},{key:"onTriggerTag",value:function(){function t(t,o){for(var i in o)if(""+t.type[i]!=""+o[i])return!1;return!0}var o=this,i=this.$$,e={};i(".tag.active").each(function(){var t=$(this),o=t.parent().data("type-name"),i=t.text().trim();e[o]=i}),i(".tag:not(.active)").addClass("disabled");var a=void 0;this.config.list.forEach(function(o){if(t(o,e)){a=o;for(var r in o.type)e[r]||i('[data-type-name="'+r+"\"] .tag[data-tag='"+o.type[r]+"']").removeClass("disabled")}});var r=function(a){var r=Object.assign({},e);delete r[a],o.config.list.forEach(function(o){t(o,r)&&i('[data-type-name="'+a+'"] [data-tag="'+o.type[a]+'"]').removeClass("disabled")})};for(var n in e)r(n);Object.keys(e).length===Object.keys(this.config.type).length&&a?(i(".title").text(a.name),i(".price").text("¥"+m(a.price,"cent").short),i(".product-img").attr("src",a.image_url),this.selectingProduct=a,a.inventory?this.setMode("ready"):this.setMode("gone")):(i(".title").text(this.config.info.productName),i(".price").text("¥"+this.config.info.price),i(".product-img").attr("src",this.config.info.image_url),this.selectingProduct=void 0,this.setMode("wait")),this.emit("trigger-tag")}},{key:"show",value:function(){var t=this,o=$(this.renderPanel(this.config.info.productName,this.config.info.price,this.config.info.image_url)),i=o.find.bind(o);this.$$=i;var e=function(o){var e=t.config.type[o],a=$(t.renderSection(o));i(".layer>main").append(a),e.forEach(function(o){a.find("main").append($(t.renderTag(o)))})};for(var a in this.config.type)e(a);i(".add-cart").on("tap",function(){t.onPressAddCart(t.selectingProduct.pid||t.selectingProduct.mapId)}),i(".go-checkout").on("tap",function(){t.onPressCheckout()}),this.onTriggerTag();var r=this;o.on("tap",".tag",function(){var t=$(this),o=t.parent();t.hasClass("disabled")||(t.hasClass("active")?(t.inactive(),o.inactive()):(t.active(),o.active(),t.siblings().inactive()),r.onTriggerTag())});var n=g(o,function(){t.emit("exit")},!1,!0,!0),d=n.exit;this.exit=d,o.parent().css({left:0,right:0,"max-width":"none"})}},{key:"handleResult",value:function(t){if(t.detail.code)return void toast(t.detail.description);var o=t.detail.data.tag_prop,i={};if(!t.detail.data.group)return void console.warn(t);t.detail.data.group.forEach(function(t){i[t.name]=[],t.tags.forEach(function(o){i[t.name].push(o.name)})});var e=t.detail.data.props.map(function(i){var e=[],a={};o.forEach(function(t){t.pid===i.pid&&e.push(t.tid)}),t.detail.data.group.forEach(function(t){var o=t.name;t.tags.forEach(function(t){var i=e.indexOf(t.tid);i>-1&&(a[o]=t.name)})});var r=void 0;return r=void 0!==i.onsale?i.onsale?1:0:parseInt(i.inventory),{map_id:i.map_id,pid:i.pid,type:a,price:i.price,inventory:r,image_url:i.img,origin_price:parseInt(i.market_price),name:i.name}}),a={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:a,type:i,list:e}}}]),e}(v);k.requestQueue=[],k.getDetailTimeout=0,e.exports=k}(a,t),t.exports&&(c["/cloud/module/product_big/bottom_window.js"]=t.exports)}(),p="/cloud/module/11mins_product/11mins_product.action.js",function(){var t={type:"resource"};!function(t,e){function a(){location.href="//m.xiaomiyoupin.com/shop/quickcart?11mins=1"}function r(t,o){P&&clearTimeout(P),I.push({gid:t,cb:o}),P=setTimeout(function(){var t=I.slice(0);I.length=0,P=0;var o={};t.forEach(function(t){var i=t.gid;o[i]={model:"Product",action:"GetDetail",parameters:{gid:i}}}),u(o,function(o){var i=function(i){t.forEach(function(t){var e=t.gid,a=t.cb;i===""+e&&a({detail:o[i]})})};for(var e in o)i(e)},function(t){toast("获取商品信息失败"),console.warn(t)},v(f,"editor-cache",""+Math.floor(Date.now()/36e5)),!0)},100)}var c=t("/cloud/module/product_big/util.js"),s=c.getFinalInfo,p=c.renderFinalInfo,h=t("/cloud/module/product_big/bottom_window.js"),m=t("util"),u=m.miFetch,l=m.setTrace,g=m.formatMoney,f=m.GPIPE_URL,_=m.ua,w=m.preloadImage,b=m.eventEmitter,v=m.addParam;w("https://shop.io.mi-img.com/app/shop/img?id=shop_e8ac7ae7b02f67e1fdf4f5bca7723d58.png&w=1080&h=160");var y=function(t){function e(){i(this,e),n(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),d(e,[{key:"renderFooter",value:function(){return'\n \n '}}]),e}(h),k="map_id_add_cart-floating-layer_11mins",j=function(){function t(o){var e=this,r=o.cartImg;i(this,t),this.cartImg=r,this.$dom=this.render(),this.$dom.on("tap",function(){e.intervalUpdateNum(),setTimeout(function(){a()})}),this.$$=this.$dom.find.bind(this.$dom),this.drop(),this.adjustRight(),setInterval(this.adjustRight.bind(this),500),this.$dom.hide(),b.on("module_11mins_cover_start",function(){e.$dom.show()})}return d(t,[{key:"intervalUpdateNum",value:function(){var t=this,o=setInterval(function(){t.updateCartNum()},5e3),i=$(document.body),e=function e(){t.updateCartNum(),clearInterval(o),i.off("touchstart",e)};i.on("touchstart",e)}},{key:"adjustRight",value:function(){this.$dom.css("right",($(window).width()-$("#wrap").width())/2+9+"px")}},{key:"render",value:function(){return $('\n

\n
\n
\n ')}},{key:"drop",value:function(){this.$dom.css("bottom","70px")}},{key:"lift",value:function(){var t=this;setTimeout(function(){t.$dom.css("bottom",$("#"+k).height()+10+"px")},200)}},{key:"setNum",value:function(t){this.$dom.find(".num").text(t)}},{key:"updateCartNum",value:function(){var t=this;u({num:{model:"Cart",action:"GetCount",parameters:{}}},function(o){t.setNum(o.num.data)},function(t){if(401===t.status)return!0},"//m.xiaomiyoupin.com/app/shopv3/pipe",!0)}}]),t}(),x=new j({cartImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_8266301978b30679a725974a353e4e88.png&w=240&h=240"});$(document.body).append(x.$dom),x.updateCartNum();var P=void 0,I=[];e.exports=function(){function t(o,e){function a(){function t(){var t=n.parent()[0].containerAdjustHeight;t&&t()}function o(){t(),h&&h.css("position","static").removeClass("loading"),u.removeClass("loading").css({"min-height":"0px"}),b?u.css("height",m.width()+"px"):u.css("padding-top","0px")}h.length?h[0].naturalWidth?o():(u.css("min-height",m.width()/1017*451+"px"),h.on("load",o)):o()}i(this,t);var n=$("[data-id="+e+"]"),d=n.find.bind(n),c=o.gid,h=d(".product"),m=d(".product-img-wrap"),u=d(".product-big-img-link"),f=d(".product-big-img-link");if(c){f.on("tap",function(){x.intervalUpdateNum()});var w=new y({id:k,gid:c,$sourceDom:n,cartExtraParams:{}});w.on("exit",function(){setTimeout(function(){x.drop()},300)}).on("trigger-tag",function(){x.lift()}).on("cart-success",function(){x.updateCartNum()}).on("show",function(){x.lift()}),d(".bottom-btn").on("tap",function(){w.trigger()});var b=n.parents().filter('[data-name="horizontal_layout"],[data-name="test_container"],[data-name="horizontal_scroll_container"]').length>0;r(c,function(t){var i=t.detail.data,e=s(o,i.goods,b,g);p(d,e),a()}),o.href?f.attr("href",o.href):f.attr("href","//m.xiaomiyoupin.com/shop/detail?gid="+c),l(f);var v=n.find(".normal-mode");b&&v.addClass("thin");var j=$(".top-wrap");_.pc&&j.addClass("pc")}}return t}()}(a,t),t.exports&&(c["/cloud/module/11mins_product/11mins_product.action.js"]=t.exports)}(),$('[data-id="editor-rag-1"]').length&&new c["/cloud/module/11mins_cover/11mins_cover.action.js"]({rule:"https://static.home.mi.com/app/shop/img?id=shop_576b155cd0319bd9c2d3930526c236f8.jpeg&w=1080&h=1270",ruleImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_237865bedf3fb4667cab9e5fd4c06a20.png&w=1001&h=1675",bg:"https://shop.io.mi-img.com/app/shop/img?id=shop_b3918442269e0ebac0933cd27fe9c13d.jpeg&w=1080&h=1469",bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_7a62682f09beb285167d7dd67bb0185e.jpeg&w=1080&h=1469"},"editor-rag-1"),m=h["/cloud/container/pure_container/pure_container.action.js"],m&&$('[data-id="editor-rag-2"]').length&&m("editor-rag-2",{mode:"没用"}),m=h["/cloud/container/pure_container/pure_container.action.js"],m&&$('[data-id="editor-rag-5"]').length&&m("editor-rag-5",{mode:"没用"}),$('[data-id="editor-rag-9"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-9"),$('[data-id="editor-rag-12"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-12"),$('[data-id="editor-rag-15"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-15"),$('[data-id="editor-rag-18"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-18"),$('[data-id="editor-rag-21"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-21"),$('[data-id="editor-rag-24"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-24"),$('[data-id="editor-rag-27"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-27"),$('[data-id="editor-rag-31"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-31"),$('[data-id="editor-rag-34"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-34"),$('[data-id="editor-rag-37"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-37"),$('[data-id="editor-rag-40"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-40"),$('[data-id="editor-rag-43"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-43"),$('[data-id="editor-rag-46"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-46"),$('[data-id="editor-rag-49"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-49"),$('[data-id="editor-rag-52"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-52"),$('[data-id="editor-rag-55"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-55"),$('[data-id="editor-rag-58"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-58"),$('[data-id="editor-rag-61"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-61"),$('[data-id="editor-rag-64"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-64"),$('[data-id="editor-rag-67"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-67"),$('[data-id="editor-rag-70"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-70"),$('[data-id="editor-rag-74"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-74"),$('[data-id="editor-rag-77"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-77"),$('[data-id="editor-rag-80"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-80"),$('[data-id="editor-rag-83"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-83"),$('[data-id="editor-rag-86"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-86"),$('[data-id="editor-rag-90"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-90"),$('[data-id="editor-rag-93"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-93"),$('[data-id="editor-rag-96"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-96"),$('[data-id="editor-rag-99"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-99"),$('[data-id="editor-rag-102"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-102"),$('[data-id="editor-rag-105"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-105"),$('[data-id="editor-rag-109"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-109"),$('[data-id="editor-rag-112"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-112"),$('[data-id="editor-rag-115"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-115"),$('[data-id="editor-rag-118"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-118"),$('[data-id="editor-rag-121"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-121"),$('[data-id="editor-rag-124"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-124"),$('[data-id="editor-rag-127"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-127"),$('[data-id="editor-rag-130"]').length&&new c["/cloud/container/horizontal_layout/horizontal_layout.action.js"]({mode:"等宽"},"editor-rag-130"),$('[data-id="editor-rag-10"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:460,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_139be9a1f793d5bac21171277459b5ba.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_139be9a1f793d5bac21171277459b5ba.jpeg"},"editor-rag-10"),$('[data-id="editor-rag-11"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:206,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_1fadc0cff2dfbcc120643e0704722727.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_1fadc0cff2dfbcc120643e0704722727.jpeg"},"editor-rag-11"),$('[data-id="editor-rag-13"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100360,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_ade5ca7a5a93e5c8c7b2ca539887d496.jpeg&w=308&h=362",src:"http://shop.io.mi-img.com/app/shop/img?id=shop_ade5ca7a5a93e5c8c7b2ca539887d496.jpeg"},"editor-rag-13"),$('[data-id="editor-rag-14"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:435,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_2d6522f2207c9c34cd6e7802b3d76c0e.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_2d6522f2207c9c34cd6e7802b3d76c0e.jpeg"},"editor-rag-14"),$('[data-id="editor-rag-16"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:688,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_acef42a2fc77f57651a57d72c264b149.jpeg&w=308&h=362",src:""},"editor-rag-16"),$('[data-id="editor-rag-17"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:774,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_432019898e627079bcf24597a274cbaf.jpeg&w=308&h=362",src:""},"editor-rag-17"),$('[data-id="editor-rag-19"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100413,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_413970f70b81572a66346c3d9d709890.jpeg&w=308&h=362",src:""},"editor-rag-19"),$('[data-id="editor-rag-20"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100319,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_a8a5d2e82a6c633bb6472066b81dfd4c.jpeg&w=308&h=362",src:"http://shop.io.mi-img.com/app/shop/img?id=shop_a8a5d2e82a6c633bb6472066b81dfd4c.jpeg"},"editor-rag-20"),$('[data-id="editor-rag-22"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:228,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_698e521c8061e135c6ee22593321c3a6.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_698e521c8061e135c6ee22593321c3a6.jpeg"},"editor-rag-22"),$('[data-id="editor-rag-23"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:528,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_34c2629043e8eb9a07c9fdf2c02835b1.jpeg&w=308&h=362",src:""},"editor-rag-23"),$('[data-id="editor-rag-25"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100370,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_030c3fa8684e79c4c066e41d5d5224aa.jpeg&w=308&h=362",src:""},"editor-rag-25"),$('[data-id="editor-rag-26"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100414,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_a19e841e0017c64befacafaad1c2a37c.jpeg&w=308&h=362",src:""},"editor-rag-26"),$('[data-id="editor-rag-28"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100347,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_4565e8d6cc67dd9def0faa34144ef301.jpeg&w=308&h=362",src:""},"editor-rag-28"),$('[data-id="editor-rag-29"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100320,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_acea5c96215e084035ef9aa47314cca9.jpeg&w=308&h=308",src:""},"editor-rag-29"),$('[data-id="editor-rag-32"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:152,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_db65ad400f802c81b2cdd7b81edfb4f2.jpeg&w=308&h=362",src:""},"editor-rag-32"),$('[data-id="editor-rag-33"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:339,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_2811a04b2ce34b2fbaa8c9236fb28e8c.jpeg&w=308&h=362",src:""},"editor-rag-33"),$('[data-id="editor-rag-35"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:97,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_676ce9e8aa027ecb3d7d6f68f0a21897.jpeg&w=308&h=362",src:""},"editor-rag-35"),$('[data-id="editor-rag-36"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100400,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_80b3c0b15f32afebe4614ab936c6c16a.jpeg&w=308&h=362",src:""},"editor-rag-36"),$('[data-id="editor-rag-38"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100242,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_dcb3c29d89c65f4cb6dff83e3ade1f25.jpeg&w=308&h=362",src:""},"editor-rag-38"),$('[data-id="editor-rag-39"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:787,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_a371af10f62113ffb77cf6d1e439d003.jpeg&w=308&h=362",src:""},"editor-rag-39"),$('[data-id="editor-rag-41"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:457,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_3023b52c0265ea34188fcee3ed874076.jpeg&w=308&h=362",src:""},"editor-rag-41"),$('[data-id="editor-rag-42"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:718,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_14cb982be8e00d69e44dd68bad18432f.jpeg&w=308&h=362",src:""},"editor-rag-42"),$('[data-id="editor-rag-44"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100261,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_8a45e839391a6f89794a0fc6c1e2023e.jpeg&w=308&h=362",src:""},"editor-rag-44"),$('[data-id="editor-rag-45"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100375,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_ae067c7b4b3ef5f768da73d2a4176fb4.jpeg&w=308&h=362",src:"http://shop.io.mi-img.com/app/shop/img?id=shop_ae067c7b4b3ef5f768da73d2a4176fb4.jpeg"},"editor-rag-45"),$('[data-id="editor-rag-47"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:147,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_1e4b1bd4bd538d24f260309dcb82729a.jpeg&w=308&h=362",src:""},"editor-rag-47"),$('[data-id="editor-rag-48"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:480,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_3c8181b375f85bc5b7bbd661f8bd48bf.jpeg&w=308&h=362",src:""},"editor-rag-48"),$('[data-id="editor-rag-50"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:401,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_47e83582b728eeee6d7e777dd0b50ac0.jpeg&w=308&h=362",src:""},"editor-rag-50"),$('[data-id="editor-rag-51"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:562,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_397303b2f8892ca94ce1077fa70ed39d.jpeg&w=308&h=362",src:""},"editor-rag-51"),$('[data-id="editor-rag-53"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:239,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_42190e5ee27ca60e10f579ca31553b6f.jpeg&w=308&h=362",src:""},"editor-rag-53"),$('[data-id="editor-rag-54"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:595,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_b46bc8656a51422312f87e5e8562d9b0.jpeg&w=308&h=362",src:""},"editor-rag-54"),$('[data-id="editor-rag-56"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100432,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_3d7c8493e5a4ffc4b098401f720384e0.jpeg&w=308&h=362",src:""},"editor-rag-56"),$('[data-id="editor-rag-57"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:103,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_df3bbee30b651d315b67fc3cd730083f.jpg&w=308&h=362",src:""},"editor-rag-57"),$('[data-id="editor-rag-59"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:834,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_a439d03f42f7f43e3541f120d1c7652e.jpeg&w=308&h=362",src:""},"editor-rag-59"),$('[data-id="editor-rag-60"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100378,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_ba63cea8073ad4a114b652ee821b82b4.jpeg&w=308&h=362",src:""},"editor-rag-60"),$('[data-id="editor-rag-62"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:337,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_8bd4a5fcdfc669b10d187ca6556b5def.jpeg&w=308&h=362",src:""},"editor-rag-62"),$('[data-id="editor-rag-63"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:33,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_7d2324c59c2cde67b3c7e76128f7a40c.jpg&w=308&h=362",src:""},"editor-rag-63"),$('[data-id="editor-rag-65"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:829,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_888516b60d1ca9d42a11d7a445ae7f73.jpeg&w=308&h=362",src:""},"editor-rag-65"),$('[data-id="editor-rag-66"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:543,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_100e30eedf5e5d7fea8698082aacea37.jpeg&w=308&h=362",src:""},"editor-rag-66"),$('[data-id="editor-rag-68"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:197,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_b364358b93c19595baffecb16ae13aa9.jpg&w=308&h=362",src:""},"editor-rag-68"),$('[data-id="editor-rag-69"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:327,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_386032d2a5d10c9511ea00dfc82af33a.jpeg&w=308&h=362",src:""},"editor-rag-69"),$('[data-id="editor-rag-71"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:408,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_bb51e0f9fc2adab5aedbb6532c983be7.jpeg&w=308&h=362",src:""},"editor-rag-71"),$('[data-id="editor-rag-72"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:103,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_0898d0f1fb4e784b3fbecb2924cef601.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_0898d0f1fb4e784b3fbecb2924cef601.jpeg&w=1080&h=1270"},"editor-rag-72"),$('[data-id="editor-rag-75"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:738,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_37a11d42356f0ad2bce40ebc3b6db664.jpeg&w=308&h=362",src:""},"editor-rag-75"),$('[data-id="editor-rag-76"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:505,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_a20a723b29892875fa80988379a3c2c7.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_a20a723b29892875fa80988379a3c2c7.jpeg"},"editor-rag-76"),$('[data-id="editor-rag-78"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:269,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_fc2f7026ce739cb79ded3dc02976ff7a.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_fc2f7026ce739cb79ded3dc02976ff7a.jpeg"},"editor-rag-78"),$('[data-id="editor-rag-79"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:449,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_8db4ac3fd79a9de589fbb9efec5db76d.jpeg&w=308&h=362",src:""},"editor-rag-79"),$('[data-id="editor-rag-81"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100308,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_50c8c2a0bd654441dcf9790070c1693a.jpeg&w=308&h=308",src:"http://shop.io.mi-img.com/app/shop/img?id=shop_50c8c2a0bd654441dcf9790070c1693a.jpeg"},"editor-rag-81"),$('[data-id="editor-rag-82"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100274,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_b03a096f10d8b8468ba2a0c5f3aeb209.jpeg&w=308&h=362",src:"http://shop.io.mi-img.com/app/shop/img?id=shop_b03a096f10d8b8468ba2a0c5f3aeb209.jpeg"},"editor-rag-82"),$('[data-id="editor-rag-84"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:818,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_ea4c5e884213b9160cd916e617650e98.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_ea4c5e884213b9160cd916e617650e98.jpeg"},"editor-rag-84"),$('[data-id="editor-rag-85"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:816,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_96599aeea96bc8fdf054ec0145d2e3bf.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_96599aeea96bc8fdf054ec0145d2e3bf.jpeg"},"editor-rag-85"),$('[data-id="editor-rag-87"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:69,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_50fad08a536190c349d2d8b7fee31141.jpg&w=308&h=308",src:""},"editor-rag-87"),$('[data-id="editor-rag-88"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:375,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_f12940b15b38d01468de74a015a2a218.jpeg&w=308&h=362",src:""},"editor-rag-88"),$('[data-id="editor-rag-91"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100273,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_449f59eb9ef923d3b03af947007d70e7.jpeg&w=308&h=362",src:""},"editor-rag-91"),$('[data-id="editor-rag-92"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100389,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_aa391a0db90d890ffa844387b84dd723.jpeg&w=308&h=362",src:""},"editor-rag-92"),$('[data-id="editor-rag-94"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:890,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_451bcdf902a3d6af77e1863119d8f1aa.jpeg&w=308&h=362",src:"http://shop.io.mi-img.com/app/shop/img?id=shop_451bcdf902a3d6af77e1863119d8f1aa.jpeg"},"editor-rag-94"),$('[data-id="editor-rag-95"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100324,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_fc24b5b725e700d24ea88c6a0bccee68.jpeg&w=308&h=362",src:""},"editor-rag-95"),$('[data-id="editor-rag-97"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:534,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_a843d404357fbeb1f95cca9916b7dbd4.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_a843d404357fbeb1f95cca9916b7dbd4.jpeg"},"editor-rag-97"),$('[data-id="editor-rag-98"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({
showWhiteProductImage:!1,links:[],gid:100392,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_c36265a61e0c1bd70a800deb54c821dc.jpeg&w=308&h=362",src:"http://shop.io.mi-img.com/app/shop/img?id=shop_c36265a61e0c1bd70a800deb54c821dc.jpeg"},"editor-rag-98"),$('[data-id="editor-rag-100"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100408,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_f0f7015e20e740f91336625e310ad075.jpeg&w=308&h=362",src:"http://shop.io.mi-img.com/app/shop/img?id=shop_f0f7015e20e740f91336625e310ad075.jpeg"},"editor-rag-100"),$('[data-id="editor-rag-101"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:685,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_c3a7b219918159ced33bc130aa21078f.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_c3a7b219918159ced33bc130aa21078f.jpeg"},"editor-rag-101"),$('[data-id="editor-rag-103"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100282,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_f4a94e6930753cdc990073e9be3568a6.jpeg&w=308&h=362",src:"http://shop.io.mi-img.com/app/shop/img?id=shop_f4a94e6930753cdc990073e9be3568a6.jpeg"},"editor-rag-103"),$('[data-id="editor-rag-104"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:574,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_d2a7be349ffaa1f7b7f35cf7f0dc89ed.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_d2a7be349ffaa1f7b7f35cf7f0dc89ed.jpeg"},"editor-rag-104"),$('[data-id="editor-rag-106"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100273,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_449f59eb9ef923d3b03af947007d70e7.jpeg&w=308&h=362",src:""},"editor-rag-106"),$('[data-id="editor-rag-107"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:536,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_271cbdb60e4fb974a62d637b5a3b459b.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_271cbdb60e4fb974a62d637b5a3b459b.jpeg"},"editor-rag-107"),$('[data-id="editor-rag-110"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:544,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_d2a403d4996481477024578efeb1d206.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_d2a403d4996481477024578efeb1d206.jpeg"},"editor-rag-110"),$('[data-id="editor-rag-111"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:662,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_6aff8cae34340f752f7d6773893107f9.jpeg&w=308&h=362",src:""},"editor-rag-111"),$('[data-id="editor-rag-113"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:735,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_372dc3c74d42888aa05462d42da620b0.jpeg&w=308&h=362",src:""},"editor-rag-113"),$('[data-id="editor-rag-114"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:336,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_08e055ace9e4bb6c7b63b4da4c7f2656.jpeg&w=308&h=362",src:""},"editor-rag-114"),$('[data-id="editor-rag-116"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100352,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_55b685a4b704e8b34fc46e61e875b6e6.jpeg&w=308&h=362",src:""},"editor-rag-116"),$('[data-id="editor-rag-117"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:689,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_7db3cc4572b57f91f8bb7bee52c7884e.jpeg&w=308&h=362",src:""},"editor-rag-117"),$('[data-id="editor-rag-119"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:815,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_e066adcb1068d37f248b7d27e030d21c.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_e066adcb1068d37f248b7d27e030d21c.jpeg"},"editor-rag-119"),$('[data-id="editor-rag-120"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:647,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_ce1e42d466f2709f40cc4c8af134ba65.jpeg&w=308&h=362",src:""},"editor-rag-120"),$('[data-id="editor-rag-122"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100329,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_00dcd7804a93d71fcf8298799376008a.jpeg&w=308&h=362",src:""},"editor-rag-122"),$('[data-id="editor-rag-123"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:747,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_0119ae7752c4bad2ce162ddf51653bbc.jpeg&w=308&h=362",src:""},"editor-rag-123"),$('[data-id="editor-rag-125"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:276,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_9c2494229825e8bdc1bfcb323f1624a2.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_9c2494229825e8bdc1bfcb323f1624a2.jpeg"},"editor-rag-125"),$('[data-id="editor-rag-126"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:100317,fakeSrc:"//shop.io.mi-img.com/app/shop/img?id=shop_4288fadddcba69953a32e91015595caa.jpeg&w=308&h=362",src:"http://shop.io.mi-img.com/app/shop/img?id=shop_4288fadddcba69953a32e91015595caa.jpeg"},"editor-rag-126"),$('[data-id="editor-rag-128"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:486,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_36aa98b8eb7e55b3de078acce2b5531f.jpeg&w=308&h=362",src:""},"editor-rag-128"),$('[data-id="editor-rag-129"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:482,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_174dc0d1f47f5996eeb44a4de562c23f.jpeg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_174dc0d1f47f5996eeb44a4de562c23f.jpeg&w=1080&h=1270"},"editor-rag-129"),$('[data-id="editor-rag-131"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:399,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_b7ca1d02ec9387433b89e7f3290b9202.jpeg&w=308&h=362",src:""},"editor-rag-131"),$('[data-id="editor-rag-132"]').length&&new c["/cloud/module/11mins_product/11mins_product.action.js"]({showWhiteProductImage:!1,links:[],gid:253,fakeSrc:"//static.home.mi.com/app/shop/img?id=shop_9ad061299c670603ab247d58d6aae037.jpg&w=308&h=362",src:"http://static.home.mi.com/app/shop/img?id=shop_9ad061299c670603ab247d58d6aae037.jpg"},"editor-rag-132")})