define(["$","template","product","cart","api","order","user","config","review","native","IScroll"],function(e,t,n,r,i,s,o,u,a,f,l){function c(t){t.preventDefault(),e(document).trigger("spa:navigate",{hash:"product",pushData:{type:h.productType,needReload:h.needReload,fromHome:h.fromHome}})}var h={};return{title:"壹管家上门服务",body:"",init:function(t,n){var r=t.pushData.productType,i=this,s=e(document);e.newTouch(".back-button",function(e){c.call(this,e)},i),i.on("tapBackButton",function(e){c.call(this,e)}),i.on("swipeRight",function(e){c.call(this,e)}),n.resolve()},beforeopen:function(r,i){var s=this,o=r.requestData[0],a=r.pushData,f=e(document);h.productType=parseFloat(o),h.needReload=a.needReload,h.fromHome=a.fromHome;var c={showNavBar:!u.isWX&&!u.isChubao,tips:n.getGroupDesc(parseFloat(o))},p=t("product/info",c);s.find(".spa-page-body").html(p),setTimeout(function(){h.scroll=new l("#productInfoScroll")},50),i.resolve()}}});