",{src:t});return e[0].naturalWidth?Promise.resolve(e):(e.css({opacity:.01,position:"fixed",bottom:0,left:0,height:"1px",width:"1px","z-index":1e4,"pointer-events":"none"}),$(document.body).append(e),new Promise(function(t){e.on("load",function(){e.detach(),t(e)})}))}function c(t){t=t.replace(/https?:\/\/[\w.-]+/,location.protocol+"//"+location.host);var e=$('');$("body").append(e);var i=f(t).getSize();e.attr("height",i.h),e.attr("width",i.w);var o=e[0].getContext("2d");return Promise.all([r(t)]).then(function(t){o.drawImage(t[0][0],0,0)}).then(function(){return e.remove(),e[0].toDataURL("image/jpeg",.4)}).catch(function(t){alert(""+t.message)})}function d(){var t=location.origin+location.pathname;return m.id&&(t=y(t,"id",m.id)),t.replace("&shareSu=1",""),t}function p(t,e){var i=location.origin+location.pathname;return m.id&&(i=y(i,"id",m.id)),i=y(i,"date",t),i=y(i,"index",e),i=y(i,"shareSu",1)}function l(t){return new Promise(function(e,i){t.success=function(t){e(t)},t.error=function(t){i(t)},n(t)})}var h=t("mi-home-lib"),u=h.showFloatingLayer2,g=h.ua,m=h.args,f=h.SpecificCdnImg,v=h.checkAppApi,b=h.appApi,w=h.toast,y=h.addParam,_=h.Rag,C=h.jumpTo,k=h.countEvent,T=h.appShare3,P=h.getLogin,x=h.jumptoLogin,S=h.initWechatAPI,L={startCheck:function(t){return l({url:"//"+location.host+"/api/market/attendance/clocking-in?activityId="+t,type:"GET",param:{}})},sign:function(t){var e=t.actId;return l({url:"//"+location.host+"/api/market/attendance/clocking-in",type:"POST",param:{activityId:e},paramsType:"json",returnAll:!0})},coupon:function(t){var e=t.actId,i=t.signTo;return l({url:"//"+location.host+"/api/market/attendance/clocking-in",type:"PUT",param:{activityId:e,attendTo:i},paramsType:"json",returnAll:!0})}};o.exports=function(t){function o(){var t=this;i(this,o);for(var e=arguments.length,n=Array(e),r=0;r\n \n ');r.on("click",function(){return t.bindClick({index:i,itemDate:"",status:"goLight"})}),t.$box.append(r)})}},{key:"reDraw",value:function(){var t=this;L.startCheck(this.props.actId).then(function(e){var i=e.currentDate,o=e.attended,n=void 0;t.moons.forEach(function(e,r){var a=t.$box.find(".item-box:nth-child("+(r+1)+")"),s=new Date((e.date+" 12:00:00").replace(/-/g,"/")).getTime()/1e3,c=t.dateEq(s,i);0===c&&(n=a.position().left),t.dateInList(s,o)?(t.signList[r]=!0,a.find(".moon").attr("src",e.pic1),r===t.moons.length-1&&o.length===t.moons.length?a.unbind("click").on("click",function(){return t.bindClick({index:r,itemDate:s,status:"hasLightWithCoupon"})}):r===t.moons.length-1?a.unbind("click").on("click",function(){return t.bindClick({index:r,itemDate:s,status:"waitAllLight"})}):a.unbind("click").on("click",function(){return t.bindClick({index:r,itemDate:s,status:"hasLightWithShare"})})):c<0?(a.find(".moon").attr("src",e.pic3),a.unbind("click").on("click",function(){return t.bindClick({index:r,itemDate:s,status:"waitLight"})})):0===c?r===t.moons.length-1&&o.length===t.moons.length-1?a.unbind("click").on("click",function(){return t.bindClick({index:r,itemDate:s,status:"goLightWithCoupon"})}):r===t.moons.length-1?a.unbind("click").on("click",function(){return t.bindClick({index:r,itemDate:s,status:"waitAllLight"})}):a.unbind("click").on("click",function(){return t.bindClick({index:r,itemDate:s,status:"goLightWithShare"})}):a.unbind("click").on("click",function(){return t.bindClick({index:r,itemDate:s,status:"UnableGoLight"})})}),t.$box.scrollLeft(n-window.innerWidth/8*3)}).catch(function(){})}},{key:"dateInList",value:function(t,e){return this.a=1,t=new Date(1e3*t),e.some(function(e){return e=new Date(1e3*e),e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()})}},{key:"dateEq",value:function(t,e){var i=function(t){return t.length<2?"0"+t:t};this.a=1,t=new Date(1e3*t),e=new Date(1e3*e),t={y:t.getFullYear(),m:i(""+t.getMonth()),d:i(""+t.getDate())},e={y:e.getFullYear(),m:i(""+e.getMonth()),d:i(""+e.getDate())};var o=Number(""+t.y+t.m+t.d),n=Number(""+e.y+e.m+e.d);return o-n}},{key:"bindClick",value:function(t){var e=this,i=t.status,o=t.itemDate,n=t.index;return k("moon",n+1),g.app||g.wxminiprogram?void("goLight"===i?P().then(function(t){t||x()}):"goLightWithShare"===i?this.signList[n]?this.showShare(o,n):(this.sign(n),setTimeout(function(){return e.showShare(o,n)},this.timeout+100)):"goLightWithCoupon"===i?this.signList[n]?this.showCoupon():(this.sign(n),setTimeout(function(){return e.showCoupon()},this.timeout+100)):"waitAllLight"===i?Object.keys(this.signList).length>=this.moons.length-1?(this.sign(n),setTimeout(function(){return e.showCoupon()},this.timeout+100)):w("请先补签未签到日期,才可以在今天签到哦~"):"hasLightWithCoupon"===i?this.showCoupon():"hasLightWithShare"===i?this.showShare(o,n):"waitLight"===i?(this.signList[n]||w("分享海报,即刻获得补签机会"),this.showShare(o,n)):"UnableGoLight"===i&&w("还没到时间,再耐心等等吧~")):void w("请去小米有品App/有品Lite小程序参与签到活动")}},{key:"coupon",value:function(t){return L.coupon({actId:this.props.actId,signTo:t}).then(function(t){t.message&&w(t.message)})}},{key:"sign",value:function(t){var e=this;L.sign({actId:this.props.actId}).then(function(i){i.message&&w(i.message),e.signList[t]=!0}),this.lightChange(t)}},{key:"lightChange",value:function(t){var e=this,i=this.$box.find(".item-box:nth-child("+(Number(t)+1)+")"),o=i.find(".moon");return!!this.signList[t]||(o.fadeToggle(100),setTimeout(function(){o.attr("src",e.moons[t].pic1).fadeIn(e.timeout)},120),void(this.signList[t]=!0))}},{key:"showCoupon",value:function(){var t=this,e=this.$$(".floating");e.find(".jump-btn").replaceWith(e.find(".jump-btn").clone());var i=u({$dom:e,closeOnTapWrap:!0,closeOnTapShadow:!0}),o=i.exit;e.find(".jump-btn").on("click",function(){k("to_use",t.$dom),C(t.props.couponLink||"https://m.xiaomiyoupin.com/shop/coupon"),o()})}},{key:"showShare",value:function(t,e){if(this.state={itemDate:t,index:e},g.app)this.posterIndex=Math.floor(Math.random()*this.props.shareResources.length),this.showSharePoster();else if(g.wxminiprogram){this.showShareTip();try{this.shareMiniprogram({title:this.props.title,image:this.props.shareResources[this.posterIndex].miniprogramPoster,url:d(),callbackUrl:p(t,e)})}catch(t){w(t.message)}}}},{key:"showShareTip",value:function(){var t=this.$$(".share-tip");u({$dom:t,closeOnTapWrap:!0,closeOnTapShadow:!0})}},{key:"showSharePoster",value:function(){var t=this,e=this.$$(".share-poster");e.find("img").attr("src",this.props.shareResources[this.posterIndex].f),e.find(".share-btn").replaceWith(e.find(".share-btn").clone());var i=u({$dom:e,closeOnTapWrap:!0,closeOnTapShadow:!0}),o=i.exit;e.find(".share-btn").on("click",function(){k("share_poster",t.posterIndex+1),t.onShare(),o()})}},{key:"onShare",value:function(){if(v("shareToPyqWithImage",1))try{c(this.props.shareResources[this.posterIndex].bg).then(function(t){v("shareToPyqWithImage",1)?(b("shareToPyqWithImage",t,1),setTimeout(function(){w("图片生成中,请稍等~")},200)):w("需升级最新版本app才能分享哦~")})}catch(t){w(t.message)}else w("需升级最新版本app才能分享哦~")}},{key:"shareMiniprogram",value:function(t){var e=t.title,i=t.image,o=t.url,n=t.callbackUrl;this.a=1;var r={shareTitle:encodeURIComponent(e),shareUrl:o,shareImg:encodeURIComponent(i)};n&&(r.shareCallBack=n),g.wxminiprogram&&wx.miniProgram.postMessage({data:r})}},{key:"onMessage",value:function(){var t=this;eventEmitter.on("share-result",function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];"success"===e.status&&"direct-pyq"===e.channel&&t.state&&t.state.itemDate&&t.coupon(t.state.itemDate).then(function(){t.state&&t.state.hasOwnProperty("index")&&t.lightChange(t.state.index)})})}},{key:"checkMiniProgramShareResult",value:function(){var t=this;m.shareSu&&m.hasOwnProperty("date")&&m.hasOwnProperty("index")&&this.coupon(m.date).then(function(){setTimeout(function(){t.lightChange(m.index)},100)})}},{key:"parseUrl",value:function(){this.a=1;var t=location.href.split("?")[1].split("&"),e={};return t.forEach(function(t){e[t.split("=")[0]]=t.split("=")[1]}),e}},{key:"initShare",value:function(){var t=this;this.a=1;var e=d();if(g.app){var i="/pages/web/web?openUrl="+encodeURIComponent(e);e=y(e,"miniProgramPath",encodeURIComponent(i)),e=y(e,"notDirect","true"),T({title:this.props.allPageTitle,pyqTitle:this.props.allPageTitle,content:this.props.allPageContent,url:e,image:this.props.shareResources[this.posterIndex].miniprogramPoster},{mode:"icon"})}else g.wxminiprogram&&S().then(function(){t.shareMiniprogram({title:t.props.allPageTitle,image:t.props.shareResources[t.posterIndex].miniprogramPoster,url:e})})}}]),o}(_)}(n,t),t.exports&&(c["/cloud/module/sign_in/sign_in.action.js"]=t.exports)}(),l="/cloud/module/video3/video3.action.js",function(){var t={type:"resource"};!function(t,o){var n=t("mi-home-lib"),r=n.Rag,s=n.countEvent,c=n.importScript;o.exports=function(t){function o(){var t=this;i(this,o);for(var e=arguments.length,n=Array(e),r=0;r1e8?(o={model:"Cart",action:"add",parameters:{product_id:t,consumption:"1"}},n=d({url:c,$dom:this.props.$sourceDom})):(o={model:"Cart",action:"add",parameters:{pid:t,num:"1"}},n=d({url:l,$dom:this.props.$sourceDom})),this.props.cartExtraParams&&Object.assign(o.parameters,this.props.cartExtraParams),_({data:{detail:o},url:n,$dom:this.props.$sourceDom}).then(function(t){t.detail.code?y(p(t.detail)||"加入购物车失败"):(w.emit("add-cart-success"),i.emit("cart-success"), y(u.app||u.weirdhybrid||$(".editor-fixed-cart-btn").length?"加入购物车成功":"已加入购物车"),e&&e())})}},{key:"renderSection",value:function(t){return'\n \n '+t+' \n \n \n \n \n '}},{key:"renderTag",value:function(t){return' \n '+t.name+" \n \n "}},{key:"renderFooter",value:function(){return'\n \n '}},{key:"renderPanel",value:function(t,e,i){return'\n \n \n \n \n \n \n '+t+'\n ¥'+e+'\n \n \n \n \n '+this.renderFooter()+"\n \n \n "}},{key:"getDetailWrap",value:function(){var t=this;this.getDetailP||(this.getDetailP=this.getDetail(this.props.gid).then(function(e){Object.assign(t.config,t.handleResult(e))}))}},{key:"onGetDetail",value:function(t){return!t||t.code?void console.log("error getting detail",this.props.gid,t):void(this.config=this.handleResult(t))}},{key:"trigger",value:function(){var e=this;if(window.isEditor)return void y("不支持编辑器内使用");if(!this.fetching){if(!this.config)return void this.getDetail(t({},this.props.gid,!0)).then(function(t){return t=t[e.props.gid],t.code?void y(p(t)):(e.onGetDetail(t),void e.trigger())});var i=0;if(!this.detailResult)return void y("数据加载中...");if(v("trigger-bottom",this.props.$sourceDom),!this.config.list)return this.detailResult&&this.detailgood.code&&y(p(this.detailgood)),void m().then(function(t){t||f()});this.config.list.forEach(function(t){t.inventory&&t.inventory>0&&i++}),i?this.config.list.length>1?(this.emit("show"),this.show()):this.addCart(this.config.list[0].pid):y("商品已售罄")}}},{key:"setMode",value:function(t){var e=this.$$;e(".bottom").hide(),e('.bottom[data-mode="'+t+'"]').show()}},{key:"onPressAddCart",value:function(t){this.addCart(t)}},{key:"onPressCheckout",value:function(){var t=this,e=this.props.$sourceDom;if(!this.selectingProduct)return void y("请先选中商品");if(this.selectingProduct.pid){var i=function(){if(t.selectingProduct.map_id&&"0"!==t.selectingProduct.map_id)return t.exit(),g("/detail?gid="+t.props.gid+"&pid="+t.selectingProduct.pid,{$dom:e}),{v:void 0};var i=void 0;i=u.app?"https://m.xiaomiyoupin.com/shop/check?quickOrder=2&pid="+t.selectingProduct.pid:"https://m.xiaomiyoupin.com/shop/checkshop/check?quickOrder=2&pid="+t.selectingProduct.pid,t.exit(),m().then(function(t){if(t)g(i,{$dom:e});else{var o=d({url:i,$dom:e});f(o)}})}();if("object"==typeof i)return i.v}else this.addCart(this.selectingProduct.mapId,function(){t.exit(),g("/cart",{$dom:e})})}},{key:"onTriggerTag",value:function(){function t(t,e){for(var i in e)if(!t.type[i]||""+t.type[i].tid!=""+e[i])return!1;return!0}var e=this,i=this.$$,o={};i(".tag.active").each(function(){var t=$(this),e=t.parent().data("type-name"),i=t.data("tag");o[e]=i}),i(".tag:not(.active)").addClass("disabled");var n=void 0;this.config.list.forEach(function(e){if(t(e,o)){n=e;for(var r in e.type)o[r]||i('[data-type-name="'+r+"\"] .tag[data-tag='"+e.type[r].tid+"']").removeClass("disabled")}});var r=function(n){var r=Object.assign({},o);delete r[n],e.config.list.forEach(function(e){t(e,r)&&i('[data-type-name="'+n+'"] [data-tag="'+e.type[n].tid+'"]').removeClass("disabled")})};for(var a in o)r(a);Object.keys(o).length===Object.keys(this.config.type).length&&n?(i(".title").text(n.name),i(".price").text("¥"+h(n.price,"cent").short),i(".product-img").attr("src",n.image_url),this.selectingProduct=n,n.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,e=$(this.renderPanel(this.config.info.productName,this.config.info.price,this.config.info.image_url)),i=e.find.bind(e);this.$$=i;var o=function(e){var o=t.config.type[e],n=$(t.renderSection(e));i(".layer>main").append(n),o.forEach(function(e){n.find("main").append($(t.renderTag(e)))})};for(var n in this.config.type)o(n);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;e.on("tap",".tag",function(){var t=$(this),e=t.parent();t.hasClass("disabled")||(t.hasClass("active")?(t.inactive(),e.inactive()):(t.active(),e.active(),t.siblings().inactive()),r.onTriggerTag())});var a=k({$dom:e,cb:function(){return t.emit("exit")},closeOnTap:!1,tapShadowHide:!0,backToExit:!0}),s=a.exit;this.exit=s,e.parent().css({left:0,right:0,"max-width":"none"})}},{key:"handleResult",value:function(t){var e=this;this.detailResult=t;var i={};if(!t.group){var o="none"===this.props.$sourceDom[0].style.display||this.props.$sourceDom.hasClass("hide");return void console.warn("商品信息错误",t,this.props.gid,o?"(已隐藏)":"")}var n=t.group;this.props.pidWhiteList&&this.props.pidWhiteList.match(/[^ ]/)&&!function(){var i=e.props.pidWhiteList.split(/ +/).filter(function(t){return t});t.tag_prop=t.tag_prop.filter(function(t){var e=t.pid;return i.indexOf(""+e)>-1}),t.props=t.props.filter(function(t){var e=t.pid;return i.indexOf(""+e)>-1});var o={};t.tag_prop.forEach(function(t){var e=t.tid;o[e]=!0}),t.group.forEach(function(t){t.tags=t.tags.filter(function(t){var e=t.tid;return o[e]})})}();var r=t.tag_prop;n.forEach(function(t){i[t.name]=[],t.tags.forEach(function(e){i[t.name].push(e)})});var a=t.props.filter(function(t){return"-1"!==t.status&&t.status!==-1}).map(function(t){var e=[],i={};r.forEach(function(i){i.pid===t.pid&&e.push(i.tid)}),n.forEach(function(t){var o=t.name;t.tags.forEach(function(t){var n=e.indexOf(t.tid);n>-1&&(i[o]=t)})});var o=void 0;return o=void 0!==t.onsale?t.onsale?1:0:parseInt(t.inventory),{map_id:t.map_id,pid:t.pid,type:i,price:t.price,inventory:o,image_url:t.img,origin_price:parseInt(t.market_price),name:t.name}}),s={price:h(t.good.price_min,"cent").short,productName:t.good.name,image_url:t.good.pic_url};return{info:s,type:i,list:a}}},{key:"preloadDetail",value:function(t){var e=this;n.getDetailCnt>50?(n.getDetailCnt=0,n.requestQueue=[]):clearTimeout(n.getDetailTimeout),n.requestQueue.push(t),n.getDetailCnt++;var i=n.requestQueue.slice();n.getDetailTimeout=setTimeout(function(){var t={};i.forEach(function(e){t[e.props.gid]=!0}),setTimeout(function(){e.getDetail(t).then(function(t){i.forEach(function(e){var i=e.props.gid;e.onGetDetail(t[i])}),i.length=0})},1e3)})}}]),n}(b);T.requestQueue=[],T.getDetailTimeout=0,T.getDetailCnt=0,n.exports=T}(n,o),o.exports&&(c["/cloud/module/product_big/bottom_window.js"]=o.exports)}(),l="/cloud/module/venue_minor_product/venue_minor_product.action.js",function(){var t={type:"resource"};!function(t,o){function n(t,e){var i=void 0,o=void 0;return parseInt(t)>1e8?(i={model:"Cart",action:"add",parameters:{product_id:t,consumption:"1"}},o=_({url:C,$dom:e})):(i={model:"Cart",action:"add",parameters:{pid:t,num:"1"}},o=_({url:k,$dom:e})),m({data:{detail:i},url:o,$dom:e}).then(function(t){v(t.detail.code?w(t.detail)||"加入购物车失败":g.app||g.weirdhybrid||$(".editor-fixed-cart-btn").length?"加入购物车成功":"已加入购物车")}).catch(function(t){})}function r(t,e){P&&clearTimeout(P),x.push({gid:t,cb:e}),P=setTimeout(function(){var t=x.slice(0);x.length=0,P=0;var e={model:"Product",action:"GetDetailLite",parameters:{}};e.parameters.gid=t.map(function(t){var e=t.gid;return e});var i=void 0;i="static.home.mi.com"===location.host?k:"/app/shopv3/pipe",m({data:{gid:e},success:function(e){if(e.code)return void v(w(e));var i=e.gid.data;t.forEach(function(t){var e=t.gid,o=t.cb;i[e]&&o(i[e])})},error:function(t){v("获取商品信息失败"),console.warn(t)},url:i,skipLogin:!0})},10)}function c(t,e){var i=t.optional||{},o=t.tag||{},n={gid:t.gid,pid:t.pid,name:"",summary:"",src:"",price:"",unit:"元",marketPrice:"",showMarketPrice:"",showTag:!1,tagLineCount:2,firstTagLine:"直降",secondTagLine:"",tagDifferent:!0,btnTitle:t.btnTitle,href:i.href,tagBgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121"};if(e.attr_ext){var r=e.attr_ext;n.name=i.name||r.custom_name,n.summary=i.summary||r.custom_summary,1===r.price_tag&&(n.unit="元起")}return n.name||(n.name=i.name||e.name),n.summary||(n.summary=i.summary||e.summary),e.price_min||(e.price_min=e.price),e.market_price||(e.market_price=e.price_min),i.price&&(e.price_min=Math.round(100*parseFloat(i.price))),i.originalPrice&&(e.market_price=Math.round(100*parseFloat(i.originalPrice))),n.price=u(e.price_min,"cent").short,n.marketPrice=u(e.market_price,"cent").short,n.showMarketPrice=1*e.price_min<1*e.market_price,n.downPriceValue=e.market_price-e.price_min,n.downPrice=u(n.downPriceValue,"cent").short,n.discountText=""+Math.ceil(e.price_min/e.market_price*100)/10,n.discountText=""+n.discountText.replace(/\.\d+/,function(t){return t.slice(0,2)}).replace(/\.0/,""),o.show&&"是"!==o.isUseDefault?(n.showTag=!0,n.tagLineCount=parseInt(o.lines),n.firstTagLine=1===n.tagLineCount?o.text:o.firstLine,n.secondTagLine=2===n.tagLineCount?o.secondLine||"":"",n.tagDifferent=2===n.tagLineCount&&o.different,n.tagBgImg=o.bgImg||"https://shop.io.mi-img.com/app/shop/img?id=shop_c4c9010921186fa4484ac898540d602e.png&w=114&h=132"):(n.showMarketPrice&&(n.showTag=!0,n.secondTagLine=n.downPrice),n.tagBgImg=o.bgImg||"https://shop.io.mi-img.com/app/shop/img?id=shop_c4c9010921186fa4484ac898540d602e.png&w=114&h=132"),e.inventory&&(n.inventory=e.inventory),n}function d(t,e){function i(t){var i="/detail?gid="+e.gid;e.pid&&(i+="&pid="+e.pid);var o=e.href||i;return setTimeout(function(){S||f(o,{$dom:r})}),t&&t.stopPropagation(),!1}var o=t.$$,r=t.$dom,a=o(".tag-box"),s=o(".img-box img"),c=o(".btn");l(r);o(".name").html(e.name).on("tap",i),o(".name-extra").html(e.name).on("tap",i),o(".desc").html(e.summary).on("tap",i),o(".desc-extra").html(e.summary).on("tap",i),o(".present-price").html(e.price),e.showMarketPrice&&o(".market-price").html(e.marketPrice+"元").show(),"元起"===e.unit&&o(".price-yen").html(e.unit),e.pid||c.html(e.btnTitle),e.showTag&&(a.addClass("in").css("background-image","url("+e.tagBgImg+")"),1===e.tagLineCount&&a.addClass("one-line"),e.tagDifferent&&a.addClass("different"),a.find(".first-line").html(e.firstTagLine),a.find(".second-line").html(e.secondTagLine)),s.on("tap",i),g.wxminiprogram&&r.on("tap",i),c.on("tap",function(){return c.hasClass("waiting")?void v("抢购还未开始,请保持关注"):c.hasClass("disable")?void(c.hasClass("soldoff")&&v("商品已售罄,下次早点来吧")):c.hasClass("success")?(p(e.gid,e.pid,r,e.btnTitle),void("加入购物车"===e.btnTitle?n(e.pid,r).catch(function(t){v(t)}):i())):void("加入购物车"===e.btnTitle?t.bottomWindow.trigger():i())})}function p(t,e,i,o){function n(t){var e=parseInt(t/3600),i=parseInt(t%3600/60),o=t-3600*e-60*i;return e<10&&(e="0"+e),i<10&&(i="0"+i),o<10&&(o="0"+o),e+":"+i+":"+o}function r(t,e){d.html(n(t--)),s&&clearInterval(s),s=setInterval(function(){t>0?d.html(n(t--)):e()},1e3)}function a(n){function a(){d.removeClass("waiting"),s&&clearInterval(s),!g.inventory||parseInt(g.inventory)<=0?d.html("已售罄").addClass("disable soldoff"):d.html(o).addClass("success toDetail")}var c=n.detail&&n.detail.data,l=n.activity&&n.activity.data,h=null,u=Array.isArray(c.props)&&c.props,g=null;return u&&u.forEach(function(t){t.pid==e&&(g=t)}),g?y().then(function(n){if(!Array.isArray(l)||0===l.length)return a(),Promise.resolve(g);for(var c=0,u=void 0;c-1||u.pids.indexOf(parseInt(e))>-1)&&n>u.start&&nn?(m=f-n,m>86400&&(m=86400),setTimeout(function(){s&&clearInterval(s),p(t,e,i,o)},1e3*m+500)):m=0,0===m)return void a();d.addClass("waiting");var v=parseInt(m/86400);v>1?(d.html("倒计时"+v+"天"),setTimeout(function(){s&&clearInterval(s),p(t,e,i,o)},1e3*(m-24*v*3600))):r(m,function(){return setTimeout(function(){p(t,e,i,o)},1e3)})}else a();return Promise.resolve(g)}):Promise.reject("no pid detail")}var s=void 0,c={activity:{model:"Activity",action:"getAct",parameters:{gid:t}},detail:{model:"Shopv2",action:"getDetail",parameters:{gid:t}}},d=i.find(".btn").removeClass("hide");return m({data:c}).then(a)}function l(t){var e=t.data("editor-trace");return window.articleModeTraceName+"-"+window.articleId+"-"+e}var h=t("mi-home-lib"),u=h.formatMoney,g=h.ua,m=(h.args,h.addParam,h.miFetch2),f=h.jumpTo,v=h.toast,b=h.Rag,w=h.getChineseMessage,y=(h.floatingLayerId,h.getServerTimestamp),_=h.getTracedUrl2,C=h.PIPE_URL,k=(h.SHOPV3_URL,h.GPIPE_URL),T=t("/cloud/module/product_big/bottom_window.js"),P=void 0,x=[],S=!1,L=void 0;$(window).on("scroll",function(){S=!0,L&&clearTimeout(L),L=setTimeout(function(){L=null,S=!1},100)}),o.exports=function(t){function o(t,e){i(this,o),a(Object.getPrototypeOf(o.prototype),"constructor",this).call(this,t,e),this.initBtnTitle=t.btnTitle,this.init(t,e)}return e(o,t),s(o,[{key:"init",value:function(t){var e=this,i=t.gid,o=t.pid;i&&(o?p(i,o,this.$dom,this.initBtnTitle).then(function(i){var o=c(t,i);d(e,o)}).catch(function(t){return console.log(t)}):r(i,function(o){if(!o)return void console.warn("gid error",i);var n=c(t,o);d(e,n)}),"加入购物车"===t.btnTitle&&(this.bottomWindow=new T({id:"venue-product-floating",gid:t.gid,$sourceDom:this.$dom})))}}]),o}(b)}(n,t),t.exports&&(c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]=t.exports)}(),u=h["/cloud/container/pure_container/pure_container.action.js"],u&&$('[data-id="editor-rag-0"]').length&&u("editor-rag-0",{mode:"没用",hideInEditor:!1}),$('[data-id="editor-rag-6"]').length&&new c["/cloud/module/scroll_footer/scroll_footer.action.js"]({colorHighlightBg:"#ffffff",colorHighlightText:"#cf4a43",colorBg:"#cf4a43",colorText:"#ffffff",arr:[{id:"a",text:"领券专区"},{id:"b",text:"签到送礼专区"},{id:"c",text:"按摩爆品区"},{id:"d",text:"更多好物"},{id:"c",text:"健康养生主会场"}],mode:"header"},"editor-rag-6"),$('[data-id="editor-rag-7"]').length&&new c["/cloud/module/one_to_three_coupon/one_to_three_coupon.action.js"]({themeColorBg:"rgb(236,129,97)",themeFontColor:"rgb(255,240,223)",actIds:"612",ids:"7123 7134",images:{color:"rgb(236,129,97)rgb(255,240,223)1",data:["https://shop.io.mi-img.com/app/shop/img?id=shop_a5b474c049be7a472bd5aed821324eec.png&w=500&h=198","https://shop.io.mi-img.com/app/shop/img?id=shop_3bb3dbce538651b74470b5b892a553a7.png&w=500&h=198","https://shop.io.mi-img.com/app/shop/img?id=shop_4c5d91bb555ea7b5d5b6ddcb96607d1d.png&w=500&h=198"]}},"editor-rag-7"),$('[data-id="editor-rag-8"]').length&&new c["/cloud/module/one_to_three_coupon/one_to_three_coupon.action.js"]({themeColorBg:"rgb(236,129,97)",themeFontColor:"rgb(255,240,223)",actIds:"612",ids:"7121 7122",images:{color:"rgb(236,129,97)rgb(255,240,223)1",data:["https://shop.io.mi-img.com/app/shop/img?id=shop_a5b474c049be7a472bd5aed821324eec.png&w=500&h=198","https://shop.io.mi-img.com/app/shop/img?id=shop_3bb3dbce538651b74470b5b892a553a7.png&w=500&h=198","https://shop.io.mi-img.com/app/shop/img?id=shop_4c5d91bb555ea7b5d5b6ddcb96607d1d.png&w=500&h=198"]}},"editor-rag-8"),$('[data-id="editor-rag-9"]').length&&new c["/cloud/module/sign_in/sign_in.action.js"]({moons:[{date:"2019-4-1",pic1:"https://shop.io.mi-img.com/app/shop/img?id=shop_cf6afd027c719b1db24523007e732bbe.png&w=231&h=193",pic2:"https://shop.io.mi-img.com/app/shop/img?id=shop_b938ee0b1cdd7cceb85ac70d4c560bfd.png&w=231&h=193",pic3:"https://shop.io.mi-img.com/app/shop/img?id=shop_2f41518e5566443fbc727088ea149d15.png&w=231&h=193"},{date:"2019-4-2",pic1:"https://shop.io.mi-img.com/app/shop/img?id=shop_baef195b4fb29c9acca96bdd8c422781.png&w=231&h=193",pic2:"https://shop.io.mi-img.com/app/shop/img?id=shop_a2da7c6bd9a536f3850cacdc39e4f7a6.png&w=231&h=193",pic3:"https://shop.io.mi-img.com/app/shop/img?id=shop_2f41518e5566443fbc727088ea149d15.png&w=231&h=193"},{date:"2019-4-3",pic1:"https://shop.io.mi-img.com/app/shop/img?id=shop_558877bfcd1172ee78d244b7644b922d.png&w=231&h=193",pic2:"https://shop.io.mi-img.com/app/shop/img?id=shop_1244dd733c869c1094708b8e33de66ae.png&w=231&h=193",pic3:"https://shop.io.mi-img.com/app/shop/img?id=shop_2f41518e5566443fbc727088ea149d15.png&w=231&h=193"},{date:"2019-4-4",pic1:"https://shop.io.mi-img.com/app/shop/img?id=shop_808936cbb7766fef31e2be9e498fdab5.png&w=231&h=193",pic2:"https://shop.io.mi-img.com/app/shop/img?id=shop_54ffd16bb7893f841630ecb5d1b5963d.png&w=231&h=193",pic3:"https://shop.io.mi-img.com/app/shop/img?id=shop_2f41518e5566443fbc727088ea149d15.png&w=231&h=193"},{date:"2019-4-5",pic1:"https://shop.io.mi-img.com/app/shop/img?id=shop_ae5f1a3c4cb0907ff38f8be0821b4e5e.png&w=231&h=193",pic2:"https://shop.io.mi-img.com/app/shop/img?id=shop_44ab6f59fa05cb3b168dbef888f1c058.png&w=231&h=193",pic3:"https://shop.io.mi-img.com/app/shop/img?id=shop_2f41518e5566443fbc727088ea149d15.png&w=231&h=193"},{date:"2019-4-6",pic1:"https://shop.io.mi-img.com/app/shop/img?id=shop_c381c5ec5266259551c8d443db0b49a7.png&w=231&h=193",pic2:"https://shop.io.mi-img.com/app/shop/img?id=shop_d486ff79868a9b1dbbadfafe1fbe0803.png&w=231&h=193",pic3:"https://shop.io.mi-img.com/app/shop/img?id=shop_2f41518e5566443fbc727088ea149d15.png&w=231&h=193"}],shareResources:[{f:"https://shop.io.mi-img.com/app/shop/img?id=shop_8dbe24d09fc5fdb0d859a3291746fed2.jpeg&w=800&h=1080",bg:"https://shop.io.mi-img.com/app/shop/img?id=shop_0e25f2c85efea815e7876d576ce2f8ce.jpeg&w=1080&h=1920",miniprogramPoster:"https://shop.io.mi-img.com/app/shop/img?id=shop_ac74c234bfd0ce826b9afa0e230331e5.jpeg&w=500&h=400"}],actId:"893008699b3d403aae0fd4f7f9a88de5",bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_4c12f912f02b92ad1b7c662b781a794b.jpeg&w=1080&h=544",allPageTitle:"乐范&有品2周年庆",allPageContent:"乐范&有品2周年庆",title:"乐范&有品2周年庆",couponLink:"https://m.youpin.mi.com/app/shop/content?id=v95e3f03901c5d6e7",bigCouponImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_a7fd5717a4d1fcb53b257dff57e2240d.jpeg&w=800&h=1080"},"editor-rag-9"),$('[data-id="editor-rag-11"]').length&&new c["/cloud/module/video3/video3.action.js"]({poster:"https://shop.io.mi-img.com/app/shop/img?id=shop_480aebde5b34de071597e88b07943d64.jpeg&w=1080&h=608",showPlayButton:!0,src:"http://video.youpin.mi-img.com/editor1/a2555647da8f88d7c97cb9df4603e2c5.mp4"},"editor-rag-11"),$('[data-id="editor-rag-12"]').length&&new c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]({btnTitle:"立即购买",imgType:"800图",bgColor:"#7e1718",tag:{show:!1,bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121",bgColor:"rgba(0,0,0,0)",textColor:"#fff",lines:"2",text:"众筹",firstLine:"直降",secondLine:"0",different:!0},optional:{show:!1},theme:{show:!1,titleColor:"#333",titleSize:"42",summaryColor:"rgba(51,51,51,0.7)",summarySize:"33",priceColor:"#d13535",priceSize:"54",yenColor:"#d13535",yenSize:"36",marketPriceColor:"rgba(51,51,51,0.7)",marketPriceSize:"36",btnBgColor:"#d13535",btnBorderRadius:"8",btnColor:"#fff",btnSize:"33",contentBgColor:"#fff"},gid:105831,_editor_only_:{gid:105831,name:"乐范四驱魔力贴",summary:"更专业的随身按摩师",src:"//img.youpin.mi-img.com/800_pic/ed13cb60b3521b984851b46d31c20243.png@base@tag=imgScale&w=300",price:"249",marketPrice:"249",showMarketPrice:!1,showTag:!1,tagLineCount:2,firstTagLine:"直降",secondTagLine:"",tagDifferent:!0,btnTitle:"立即购买",downPriceValue:0,downPrice:"0",discountText:"10"},pid:"",src:"",layoutMode:"左文右图"},"editor-rag-12"),$('[data-id="editor-rag-13"]').length&&new c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]({btnTitle:"立即购买",imgType:"场景图",bgColor:"#7e1718",tag:{show:!1,bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121",bgColor:"rgba(0,0,0,0)",textColor:"#fff",lines:"2",text:"众筹",firstLine:"直降",secondLine:"0",different:!0},optional:{show:!1},theme:{show:!1,titleColor:"#333",titleSize:"42",summaryColor:"rgba(51,51,51,0.7)",summarySize:"33",priceColor:"#d13535",priceSize:"54",yenColor:"#d13535",yenSize:"36",marketPriceColor:"rgba(51,51,51,0.7)",marketPriceSize:"36",btnBgColor:"#d13535",btnBorderRadius:"8",btnColor:"#fff",btnSize:"33",contentBgColor:"#fff"},gid:105461,_editor_only_:{gid:105461,name:"乐班护腰塑形坐垫",summary:"好品质,办公、久坐一族好伙伴",src:"https://img.youpin.mi-img.com/goods/shop_65c2e9970c757cdfb2182b0c1c4a1f67.jpeg@base@tag=imgScale&etw=300ð=300?_s=ks3",price:"300",marketPrice:"300",showMarketPrice:!1,showTag:!1,tagLineCount:2,firstTagLine:"直降",secondTagLine:"",tagDifferent:!0,btnTitle:"立即购买",downPriceValue:0,downPrice:"0",discountText:"10"},pid:"",src:"",layoutMode:"左图右文"},"editor-rag-13"),$('[data-id="editor-rag-14"]').length&&new c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]({btnTitle:"立即购买",imgType:"场景图",bgColor:"#7e1718",tag:{show:!1,bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121",bgColor:"rgba(0,0,0,0)",textColor:"#fff",lines:"2",text:"众筹",firstLine:"直降",secondLine:"0",different:!0},optional:{show:!1},theme:{show:!1,titleColor:"#333",titleSize:"42",summaryColor:"rgba(51,51,51,0.7)",summarySize:"33",priceColor:"#d13535",priceSize:"54",yenColor:"#d13535",yenSize:"36",marketPriceColor:"rgba(51,51,51,0.7)",marketPriceSize:"36",btnBgColor:"#d13535",btnBorderRadius:"8",btnColor:"#fff",btnSize:"33",contentBgColor:"#fff"},gid:104829,_editor_only_:{gid:104829,name:"乐范3D揉捏披肩",summary:"一机多用,三档力度,揉捏推拿,3D按摩体验,享受身心放松",src:"https://img.youpin.mi-img.com/goods/shop_a1adc14670b6c191af96cf07f57a50e8.jpeg@base@tag=imgScale&etw=300ð=300?_s=ks3",price:"499",marketPrice:"499",showMarketPrice:!1,showTag:!1,tagLineCount:2,firstTagLine:"直降",secondTagLine:"",tagDifferent:!0,btnTitle:"立即购买",downPriceValue:0,downPrice:"0",discountText:"10"},pid:"",src:"",layoutMode:"左文右图"},"editor-rag-14"),$('[data-id="editor-rag-15"]').length&&new c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]({btnTitle:"立即购买",imgType:"800图",bgColor:"#7e1718",tag:{show:!1,bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121",bgColor:"rgba(0,0,0,0)",textColor:"#fff",lines:"2",text:"众筹",firstLine:"直降",secondLine:"0",different:!0},optional:{show:!1},theme:{show:!1,titleColor:"#333",titleSize:"42",summaryColor:"rgba(51,51,51,0.7)",summarySize:"33",priceColor:"#d13535",priceSize:"54",yenColor:"#d13535",yenSize:"36",marketPriceColor:"rgba(51,51,51,0.7)",marketPriceSize:"36",btnBgColor:"#d13535",btnBorderRadius:"8",btnColor:"#fff",btnSize:"33",contentBgColor:"#fff"},gid:101584,_editor_only_:{gid:101584,name:"眼部冷热按摩仪",summary:"冷热双感敷眼,自动感应按摩",src:"//img.youpin.mi-img.com/800_pic/101118_rpm1c8d3tad3.png@base@tag=imgScale&w=300",price:"369",marketPrice:"369",showMarketPrice:!1,showTag:!1,tagLineCount:2,firstTagLine:"直降",secondTagLine:"",tagDifferent:!0,btnTitle:"立即购买",downPriceValue:0,downPrice:"0",discountText:"10"},pid:"",src:"",layoutMode:"左图右文"},"editor-rag-15"),$('[data-id="editor-rag-16"]').length&&new c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]({btnTitle:"立即购买",imgType:"800图",bgColor:"#7e1718",tag:{show:!1,bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121",bgColor:"rgba(0,0,0,0)",textColor:"#fff",lines:"2",text:"众筹",firstLine:"直降",secondLine:"0",different:!0},optional:{show:!1},theme:{show:!1,titleColor:"#333",titleSize:"42",summaryColor:"rgba(51,51,51,0.7)",summarySize:"33",priceColor:"#d13535",priceSize:"54",yenColor:"#d13535",yenSize:"36",marketPriceColor:"rgba(51,51,51,0.7)",marketPriceSize:"36",btnBgColor:"#d13535",btnBorderRadius:"8",btnColor:"#fff",btnSize:"33",contentBgColor:"#fff"},gid:103324,_editor_only_:{gid:103324,name:"乐范脚部揉捏按摩器",summary:"仿真揉捏,气压按摩,热敷理疗",src:"//img.youpin.mi-img.com/800_pic/b8f53219279ebf9a47ca1c8066a312bf.png@base@tag=imgScale&w=300",price:"399",marketPrice:"399",showMarketPrice:!1,showTag:!1,tagLineCount:2,firstTagLine:"直降",secondTagLine:"",tagDifferent:!0,btnTitle:"立即购买",downPriceValue:0,downPrice:"0",discountText:"10"},pid:"",src:"",layoutMode:"左文右图"},"editor-rag-16"),$('[data-id="editor-rag-17"]').length&&new c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]({btnTitle:"立即购买",imgType:"800图",bgColor:"#7e1718",tag:{show:!1,bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121",bgColor:"rgba(0,0,0,0)",textColor:"#fff",lines:"2",text:"众筹",firstLine:"直降",secondLine:"0",different:!0},optional:{show:!1},theme:{show:!1,titleColor:"#333",titleSize:"42",summaryColor:"rgba(51,51,51,0.7)",summarySize:"33",priceColor:"#d13535",priceSize:"54",yenColor:"#d13535",yenSize:"36",marketPriceColor:"rgba(51,51,51,0.7)",marketPriceSize:"36",btnBgColor:"#d13535",btnBorderRadius:"8",btnColor:"#fff",btnSize:"33",contentBgColor:"#fff"},gid:102601,_editor_only_:{gid:102601,name:"乐范揉捏按摩靠枕 \t\t\t",summary:"3D按摩,无线便携,强劲扭力",src:"//img.youpin.mi-img.com/800_pic/2ba36c0a8c002f4736a354c28d78e602.png@base@tag=imgScale&w=300",price:"369",marketPrice:"369",showMarketPrice:!1,showTag:!1,tagLineCount:2,firstTagLine:"直降",secondTagLine:"",tagDifferent:!0,btnTitle:"立即购买",downPriceValue:0,downPrice:"0",discountText:"10"},pid:"",src:"",layoutMode:"左图右文"},"editor-rag-17"),$('[data-id="editor-rag-18"]').length&&new c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]({btnTitle:"立即购买",imgType:"800图",bgColor:"#7e1718",tag:{show:!1,bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121",bgColor:"rgba(0,0,0,0)",textColor:"#fff",lines:"2",text:"众筹",firstLine:"直降",secondLine:"0",different:!0},optional:{show:!1},theme:{show:!1,titleColor:"#333",titleSize:"42",summaryColor:"rgba(51,51,51,0.7)",summarySize:"33",priceColor:"#d13535",priceSize:"54",yenColor:"#d13535",yenSize:"36",marketPriceColor:"rgba(51,51,51,0.7)",marketPriceSize:"36",btnBgColor:"#d13535",btnBorderRadius:"8",btnColor:"#fff",btnSize:"33",contentBgColor:"#fff"},gid:103652,_editor_only_:{gid:103652,name:"AI智能按摩椅",summary:"小爱语音交互,3D揉捏肩颈",src:"//img.youpin.mi-img.com/800_pic/fb744d170d05cedfdf84812eaed6b823.png@base@tag=imgScale&w=300",price:"4299",marketPrice:"4499",showMarketPrice:!0,showTag:!0,tagLineCount:2,firstTagLine:"直降",secondTagLine:"200",tagDifferent:!0,btnTitle:"立即购买",downPriceValue:2e4,downPrice:"200",discountText:"9.6",bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121"},pid:"",src:"",layoutMode:"左文右图"},"editor-rag-18"),$('[data-id="editor-rag-19"]').length&&new c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]({btnTitle:"立即购买",imgType:"场景图",bgColor:"#7e1718",tag:{show:!1,bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121",bgColor:"rgba(0,0,0,0)",textColor:"#fff",lines:"2",text:"众筹",firstLine:"直降",secondLine:"0",different:!0},optional:{show:!1},theme:{show:!1,titleColor:"#333",titleSize:"42",summaryColor:"rgba(51,51,51,0.7)",summarySize:"33",priceColor:"#d13535",priceSize:"54",yenColor:"#d13535",yenSize:"36",marketPriceColor:"rgba(51,51,51,0.7)",marketPriceSize:"36",btnBgColor:"#d13535",btnBorderRadius:"8",btnColor:"#fff",btnSize:"33",contentBgColor:"#fff"},gid:104391,_editor_only_:{gid:104391,name:"背爽自动按摩椅垫",summary:"简易“按摩椅”,畅享全背放松",src:"https://img.youpin.mi-img.com/goods/shop_3e53a6e2dcaf6d7cd64b79f2c512a445.jpeg@base@tag=imgScale&etw=300ð=300?_s=ks3",price:"529",marketPrice:"529",showMarketPrice:!1,showTag:!1,tagLineCount:2,firstTagLine:"直降",secondTagLine:"",tagDifferent:!0,btnTitle:"立即购买",downPriceValue:0,downPrice:"0",discountText:"10"},pid:"",src:"",layoutMode:"左图右文"},"editor-rag-19"),$('[data-id="editor-rag-20"]').length&&new c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]({btnTitle:"立即购买",imgType:"800图",bgColor:"#7e1718",tag:{show:!1,bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121",bgColor:"rgba(0,0,0,0)",textColor:"#fff",lines:"2",text:"众筹",firstLine:"直降",secondLine:"0",different:!0},optional:{show:!1},theme:{show:!1,titleColor:"#333",titleSize:"42",summaryColor:"rgba(51,51,51,0.7)",summarySize:"33",priceColor:"#d13535",priceSize:"54",yenColor:"#d13535",yenSize:"36",marketPriceColor:"rgba(51,51,51,0.7)",marketPriceSize:"36",btnBgColor:"#d13535",btnBorderRadius:"8",btnColor:"#fff",btnSize:"33",contentBgColor:"#fff"},gid:101197,_editor_only_:{gid:101197,name:"魔力贴温情版",summary:"加热按摩 智能双控 20档力",src:"//img.youpin.mi-img.com/800_pic/100957_d1pmtvs136y2.png@base@tag=imgScale&w=300",price:"199",marketPrice:"199",showMarketPrice:!1,showTag:!1,tagLineCount:2,firstTagLine:"直降",secondTagLine:"",tagDifferent:!0,btnTitle:"立即购买",downPriceValue:0,downPrice:"0",discountText:"10"},pid:"",src:"",layoutMode:"左文右图"},"editor-rag-20"),$('[data-id="editor-rag-21"]').length&&new c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]({btnTitle:"立即购买",imgType:"800图",bgColor:"#7e1718",tag:{show:!1,bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121",bgColor:"rgba(0,0,0,0)",textColor:"#fff",lines:"2",text:"众筹",firstLine:"直降",secondLine:"0",different:!0},optional:{show:!1},theme:{show:!1,titleColor:"#333",titleSize:"42",summaryColor:"rgba(51,51,51,0.7)",summarySize:"33",priceColor:"#d13535",priceSize:"54",yenColor:"#d13535",yenSize:"36",marketPriceColor:"rgba(51,51,51,0.7)",marketPriceSize:"36",btnBgColor:"#d13535",btnBorderRadius:"8",btnColor:"#fff",btnSize:"33",contentBgColor:"#fff"},gid:100932,_editor_only_:{gid:100932,name:"乐范塑形背靠",summary:"塑形挺背、保护腰椎、缓解身体疲劳",src:"//img.youpin.mi-img.com/800_pic/100932_9f43ba43b02a0f717d9b54e29caa15ff.png@base@tag=imgScale&w=300",price:"129",marketPrice:"129",showMarketPrice:!1,showTag:!1,tagLineCount:2,firstTagLine:"直降",secondTagLine:"",tagDifferent:!0,btnTitle:"立即购买",downPriceValue:0,downPrice:"0",discountText:"10"},pid:"",src:"",layoutMode:"左图右文"},"editor-rag-21"),$('[data-id="editor-rag-22"]').length&&new c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]({btnTitle:"立即购买",imgType:"800图",bgColor:"#7e1718",tag:{show:!1,bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121",bgColor:"rgba(0,0,0,0)",textColor:"#fff",lines:"2",text:"众筹",firstLine:"直降",secondLine:"0",different:!0},optional:{show:!1},theme:{show:!1,titleColor:"#333",titleSize:"42",summaryColor:"rgba(51,51,51,0.7)",summarySize:"33",priceColor:"#d13535",priceSize:"54",yenColor:"#d13535",yenSize:"36",marketPriceColor:"rgba(51,51,51,0.7)",marketPriceSize:"36",btnBgColor:"#d13535",btnBorderRadius:"8", btnColor:"#fff",btnSize:"33",contentBgColor:"#fff"},gid:104011,_editor_only_:{gid:104011,name:"乐班电动电脑升降台",summary:"坐站交替,米家APP,呵护颈腰",src:"//img.youpin.mi-img.com/800_pic/6dfdfd3c510a44c1e1a4755911b62fcb.png@base@tag=imgScale&w=300",price:"849",marketPrice:"899",showMarketPrice:!0,showTag:!0,tagLineCount:2,firstTagLine:"直降",secondTagLine:"50",tagDifferent:!0,btnTitle:"立即购买",downPriceValue:5e3,downPrice:"50",discountText:"9.5",bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121"},pid:"",src:"",layoutMode:"左文右图"},"editor-rag-22"),$('[data-id="editor-rag-23"]').length&&new c["/cloud/module/venue_minor_product/venue_minor_product.action.js"]({btnTitle:"立即购买",imgType:"800图",bgColor:"#7e1718",tag:{show:!1,bgImg:"https://shop.io.mi-img.com/app/shop/img?id=shop_afbd3e9203ca5887559d665f6172c625.png&w=120&h=121",bgColor:"rgba(0,0,0,0)",textColor:"#fff",lines:"2",text:"众筹",firstLine:"直降",secondLine:"0",different:!0},optional:{show:!1},theme:{show:!1,titleColor:"#333",titleSize:"42",summaryColor:"rgba(51,51,51,0.7)",summarySize:"33",priceColor:"#d13535",priceSize:"54",yenColor:"#d13535",yenSize:"36",marketPriceColor:"rgba(51,51,51,0.7)",marketPriceSize:"36",btnBgColor:"#d13535",btnBorderRadius:"8",btnColor:"#fff",btnSize:"33",contentBgColor:"#fff"},gid:103363,_editor_only_:{gid:103363,name:"乐范无线手持按摩棒",summary:"深度锤击,5档力度,一键操控",src:"//img.youpin.mi-img.com/800_pic/38ea0d685b73b1596f944067eccbc053.png@base@tag=imgScale&w=300",price:"299",marketPrice:"299",showMarketPrice:!1,showTag:!1,tagLineCount:2,firstTagLine:"直降",secondTagLine:"",tagDifferent:!0,btnTitle:"立即购买",downPriceValue:0,downPrice:"0",discountText:"10"},pid:"",src:"",layoutMode:"左图右文"},"editor-rag-23")})