(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("64ba"),r=t("31e8");for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);t("4c82");var i=t("f0c5"),o=Object(i["a"])(r["default"],a["b"],a["c"],!1,null,"1e60fe22",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 u in a)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(u);n["default"]=r.a},"4c82":function(e,n,t){"use strict";var a=t("d10f"),r=t.n(a);r.a},"64ba":function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return u})),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})},u=[]},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")),u=a(t("c973")),i=t("057b"),o={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(){var n=this;return(0,u.default)(r.default.mark((function t(){var a,u,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,i.getBannerDataReq)();case 2:return a=t.sent,0==a.code?(n.bannerList=a.data,console.log("顶部轮播图数据",n.bannerList)):n.$toast(a.message),t.next=6,(0,i.getAddressDataReq)();case 6:return u=t.sent,0==u.code?(n.bannerList1=u.data,console.log("地址轮播图数据",n.bannerList1)):n.$toast(u.message),t.next=10,(0,i.getGuideDataReq)();case 10:o=t.sent,0==o.code?(n.leadList=o.data,console.log("首页产品指南列表返回值：",n.leadList)):e.showToast({title:o.message,icon:"none"});case 12:case"end":return t.stop()}}),t)})))()},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"})},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,u.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,i.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"])},d10f:function(e,n,t){}},[["07df","common/runtime","common/vendor"]]]);