(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index"],{"07df":function(e,n,t){"use strict";(function(e,n){var r=t("4ea4");t("d716");r(t("66fd"));var a=r(t("1b72"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(a.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},"1b72":function(e,n,t){"use strict";t.r(n);var r=t("68e6"),a=t("31e8");for(var i in a)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(i);t("2477");var u=t("f0c5"),o=Object(u["a"])(a["default"],r["b"],r["c"],!1,null,"6f618929",null,!1,r["a"],void 0);n["default"]=o.exports},2477:function(e,n,t){"use strict";var r=t("dda2"),a=t.n(r);a.a},"31e8":function(e,n,t){"use strict";t.r(n);var r=t("c5f9"),a=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=a.a},"68e6":function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return r}));var r={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"))}},a=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n,t){var r=arguments[arguments.length-1].currentTarget.dataset,a=r.eventParams||r["event-params"];t=a.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 r=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=r(t("2eee")),i=r(t("c973")),u=t("057b"),o={data:function(){return{picUrl:this.$picUrl,leadList:[{img:this.$picUrl+"/static/other/index_img3.png",name:"灯具指南"},{img:this.$picUrl+"/static/other/index_img4.png",name:"安装指南"},{img:this.$picUrl+"/static/other/index_img3.png",name:"灯具指南"}],bannerList:[this.$picUrl+"/static/other/noMain_img3.png",this.$picUrl+"/static/other/noMain_img3.png",this.$picUrl+"/static/other/noMain_img3.png"],bannerList1:[],currentNum:0,currentNum1:0,tabList:["无主灯","主灯","吸顶灯"],currTabIndex:0,navImg:t("def6")}},onLoad:function(){var e=this;return(0,i.default)(a.default.mark((function n(){var t,r;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,(0,u.getBannerDataReq)();case 2:return t=n.sent,0==t.code?(e.bannerList=t.data,console.log("顶部轮播图数据",e.bannerList)):e.$toast(t.message),n.next=6,(0,u.getAddressDataReq)();case 6:r=n.sent,0==r.code?(e.bannerList1=r.data,console.log("地址轮播图数据",e.bannerList1)):e.$toast(r.message);case 8:case"end":return n.stop()}}),n)})))()},methods:{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,i.default)(a.default.mark((function n(){var t;return a.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"])},dda2:function(e,n,t){}},[["07df","common/runtime","common/vendor"]]]);