(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index"],{"07df":function(e,n,t){"use strict";(function(e,n){var a=t("4ea4");t("d716");a(t("66fd"));var r=a(t("1b72"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},"1b72":function(e,n,t){"use strict";t.r(n);var a=t("8af9"),r=t("31e8");for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);t("5472");var u=t("f0c5"),o=Object(u["a"])(r["default"],a["b"],a["c"],!1,null,"6d56705a",null,!1,a["a"],void 0);n["default"]=o.exports},"31e8":function(e,n,t){"use strict";t.r(n);var a=t("c5f9"),r=t.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(i);n["default"]=r.a},5472:function(e,n,t){"use strict";var a=t("d578"),r=t.n(a);r.a},"8af9":function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return a}));var a={uSwiper:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-swiper/u-swiper")]).then(t.bind(null,"b273"))},uLoadmore:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-loadmore/u-loadmore")]).then(t.bind(null,"c6fd2"))}},r=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n,t){var a=arguments[arguments.length-1].currentTarget.dataset,r=a.eventParams||a["event-params"];t=r.index;e.currTabIndex=t},e.e1=function(n){return e.currentNum=n.current},e.e2=function(n){return e.currentNum1=n.current})},i=[]},c5f9:function(e,n,t){"use strict";(function(e){var a=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(t("2eee")),i=a(t("c973")),u=t("057b"),o=(t("9ca2"),{data:function(){return{picUrl:this.$picUrl,picBase:this.$picBase,leadList:[],bannerList:[],bannerList1:[],currentNum:0,currentNum1:0,tabList:["无主灯","主灯","吸顶灯"],currTabIndex:0,navImg:t("def6"),list:[]}},onLoad:function(n){var t=this;return(0,i.default)(r.default.mark((function a(){var i,o,s;return r.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n.inviteId&&(e.setStorageSync("inviteId",n.inviteId),console.log("接收到的o.inviteId",n.inviteId)),a.next=3,(0,u.getBannerDataReq)();case 3:return i=a.sent,0==i.code?(t.bannerList=i.data,console.log("顶部轮播图数据",t.bannerList)):t.$toast(i.message),a.next=7,(0,u.getAddressDataReq)();case 7:return o=a.sent,0==o.code?(t.bannerList1=o.data,console.log("地址轮播图数据",t.bannerList1)):t.$toast(o.message),a.next=11,(0,u.getGuideDataReq)();case 11:s=a.sent,0==s.code?(t.leadList=s.data,console.log("首页产品指南列表返回值：",t.leadList)):e.showToast({title:s.message,icon:"none"});case 13:case"end":return a.stop()}}),a)})))()},methods:{toLeadDetail:function(n){getApp().Litem=n,e.navigateTo({url:"/pages/index/productLeadDetail/index"})},toList:function(){0==this.currTabIndex?e.navigateTo({url:"/pages/index/customNoMian_step1/index"}):1==this.currTabIndex?e.navigateTo({url:"/pages/index/customMian_step1/index"}):e.navigateTo({url:"/pages/index/customMian_step1/index?type=5"})},toPage:function(n){2==n?e.navigateTo({url:"/pages/index/fullHouseWifi/index"}):1==n?e.navigateTo({url:"/pages/index/aiControlSys/index"}):e.navigateTo({url:"/pages/index/productLead/index"})},testReq:function(){var e=this;return(0,i.default)(r.default.mark((function n(){var t;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,(0,u.getBannerDataReq)();case 2:t=n.sent,e.$toast(t.msg),console.log("返回值",t);case 5:case"end":return n.stop()}}),n)})))()}}});n.default=o}).call(this,t("543d")["default"])},d578:function(e,n,t){}},[["07df","common/runtime","common/vendor"]]]);