1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-aiControlSys-index"],{"26a6":function(e,t,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n("c7eb")),s=a(n("1da1")),o=n("531c"),r=n("5757"),l={components:{},data:function(){return{picUrl:this.$picUrl,picBase:this.$picBase,addOrLessIcon1:"/static/index/shortLine.png",addOrLessIcon2:"/static/index/shortLine.png",addOrLessIcon3:"/static/index/shortLine.png",addOrLessIcon4:"/static/index/shortLine.png",addOrLessIcon5:"/static/index/shortLine.png",addOrLessIcon6:"/static/index/shortLine.png",show1:!0,show2:!0,show3:!0,show4:!0,show5:!0,show6:!0,showConfig:!1,currHouseIndex:-1,currHouseIndex1:-1,currHouseIndex2:-1,currHouseIndex3:-1,currHouseIndex4:-1,currHouseIndex5:-1,houseTypeList:[],brandTypeList:[],lockTypeList:[],pannelTypeList:[],chuanglianTypeList:[],ktTypeList:[],rule:null,totalPrice:0,selHx:null,selPp:null,selSuo:null,selMb:null,selCl:null,selKt:null,pConfig:-1,cutdownRatio:1,topPic:""}},onLoad:function(e){var t=this;return(0,s.default)((0,i.default)().mark((function e(){var n;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.topPic=getApp().noMainImg.head_image,console.log("3this.topPic",t.topPic),e.next=4,(0,o.getIndexConfigReq)({type:3});case 4:n=e.sent,0==n.code&&(console.log("获取首页配置返回值-智控: ",n),t.houseTypeList=n.data.house_type,t.brandTypeList=n.data.brand,t.lockTypeList=n.data.mind_lock,t.pannelTypeList=n.data.mind_switch,t.chuanglianTypeList=n.data.mind_curtain,t.ktTypeList=n.data.mind_air_conditioner,t.rule=n.data.rule.content);case 6:case"end":return e.stop()}}),e)})))()},onShow:function(){this.cutdownRatio=this.$getCutDown()},methods:{sel:function(e,t,n){var a=this;return(0,s.default)((0,i.default)().mark((function s(){var r,l,c,d,u,p,g,v,f,h,x,m;return(0,i.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if("hx"!=e){i.next=17;break}return a.currHouseIndex=-1,a.currHouseIndex1=-1,a.currHouseIndex2=-1,a.currHouseIndex3=-1,a.currHouseIndex4=-1,a.currHouseIndex5=-1,a.selHx=null,a.selPp=null,a.selSuo=null,a.selMb=null,a.selCl=null,a.selKt=null,a.currHouseIndex=n,a.selHx=t,r={type:3,house_type:a.selHx.id},a.selHx&&a.selPp&&a.selSuo&&a.selMb&&a.selCl&&a.selKt?a.getPrice(r):a.totalPrice=0,i.next=13,(0,o.getHomeDataNextReq)(r);case 13:l=i.sent,0==l.code?(a.brandTypeList=l.data.brand,a.lockTypeList=l.data.mind_lock,a.pannelTypeList=l.data.mind_switch,a.chuanglianTypeList=l.data.mind_curtain,a.ktTypeList=l.data.mind_air_conditioner):uni.showToast({title:l.message,icon:"none"}),i.next=135;break;case 17:if("pp"!=e){i.next=35;break}if(a.selHx){i.next=20;break}return i.abrupt("return",a.$toast("请先选择户型"));case 20:return a.currHouseIndex1=-1,a.currHouseIndex2=-1,a.currHouseIndex3=-1,a.currHouseIndex4=-1,a.currHouseIndex5=-1,a.selPp=null,a.selSuo=null,a.selMb=null,a.selCl=null,a.selKt=null,a.currHouseIndex1=n,a.selPp=t,c={type:3,house_type:a.selHx.id,brand:a.selPp.id},a.selHx&&a.selPp&&a.selSuo&&a.selMb&&a.selCl&&a.selKt?a.getPrice(c):a.totalPrice=0,i.next=31,(0,o.getHomeDataNextReq)(c);case 31:d=i.sent,0==d.code?(a.lockTypeList=d.data.mind_lock,a.pannelTypeList=d.data.mind_switch,a.chuanglianTypeList=d.data.mind_curtain,a.ktTypeList=d.data.mind_air_conditioner):uni.showToast({title:d.message,icon:"none"}),i.next=135;break;case 35:if("suo"!=e){i.next=56;break}if(a.selHx){i.next=40;break}return i.abrupt("return",a.$toast("请先选择户型"));case 40:if(a.selPp){i.next=42;break}return i.abrupt("return",a.$toast("请先选择品牌"));case 42:return a.currHouseIndex2=-1,a.currHouseIndex3=-1,a.currHouseIndex4=-1,a.currHouseIndex5=-1,a.selSuo=null,a.selMb=null,a.selCl=null,a.selKt=null,a.currHouseIndex2=n,a.selSuo=t,u={type:3,house_type:a.selHx.id,brand:a.selPp.id,mind_lock:a.selSuo.id},a.selHx&&a.selPp&&a.selSuo&&a.selMb&&a.selCl&&a.selKt?a.getPrice(u):a.totalPrice=0,i.next=52,(0,o.getHomeDataNextReq)(u);case 52:p=i.sent,0==p.code?(a.pannelTypeList=p.data.mind_switch,a.chuanglianTypeList=p.data.mind_curtain,a.ktTypeList=p.data.mind_air_conditioner):uni.showToast({title:p.message,icon:"none"}),i.next=135;break;case 56:if("mb"!=e){i.next=80;break}if(a.selHx){i.next=61;break}return i.abrupt("return",a.$toast("请先选择户型"));case 61:if(a.selPp){i.next=65;break}return i.abrupt("return",a.$toast("请先选择品牌"));case 65:if(a.selSuo){i.next=67;break}return i.abrupt("return",a.$toast("请先选择智能锁"));case 67:return a.currHouseIndex3=-1,a.currHouseIndex4=-1,a.currHouseIndex5=-1,a.selMb=null,a.selCl=null,a.selKt=null,a.currHouseIndex3=n,a.selMb=t,g={type:3,house_type:a.selHx.id,brand:a.selPp.id,mind_lock:a.selSuo.id,mind_switch:a.selMb.id},a.selHx&&a.selPp&&a.selSuo&&a.selMb&&a.selCl&&a.selKt?a.getPrice(g):a.totalPrice=0,i.next=76,(0,o.getHomeDataNextReq)(g);case 76:v=i.sent,0==v.code?(a.chuanglianTypeList=v.data.mind_curtain,a.ktTypeList=v.data.mind_air_conditioner):uni.showToast({title:v.message,icon:"none"}),i.next=135;break;case 80:if("cl"!=e){i.next=107;break}if(a.selHx){i.next=85;break}return i.abrupt("return",a.$toast("请先选择户型"));case 85:if(a.selPp){i.next=89;break}return i.abrupt("return",a.$toast("请先选择品牌"));case 89:if(a.selSuo){i.next=93;break}return i.abrupt("return",a.$toast("请先选择智能锁"));case 93:if(a.selMb){i.next=95;break}return i.abrupt("return",a.$toast("请先选择智能面板"));case 95:return a.currHouseIndex4=-1,a.currHouseIndex5=-1,a.selCl=null,a.selKt=null,a.currHouseIndex4=n,a.selCl=t,f={type:3,house_type:a.selHx.id,brand:a.selPp.id,mind_lock:a.selSuo.id,mind_switch:a.selMb.id,mind_curtain:a.selCl.id},a.selHx&&a.selPp&&a.selSuo&&a.selMb&&a.selCl&&a.selKt?a.getPrice(f):a.totalPrice=0,i.next=103,(0,o.getHomeDataNextReq)(f);case 103:h=i.sent,0==h.code?a.ktTypeList=h.data.mind_air_conditioner:uni.showToast({title:h.message,icon:"none"}),i.next=135;break;case 107:if("kt"!=e){i.next=135;break}if(a.selHx){i.next=112;break}return i.abrupt("return",a.$toast("请先选择户型"));case 112:if(a.selPp){i.next=116;break}return i.abrupt("return",a.$toast("请先选择品牌"));case 116:if(a.selSuo){i.next=120;break}return i.abrupt("return",a.$toast("请先选择智能锁"));case 120:if(a.selMb){i.next=124;break}return i.abrupt("return",a.$toast("请先选择智能面板"));case 124:if(a.selCl){i.next=126;break}return i.abrupt("return",a.$toast("请先选择智能窗帘"));case 126:return a.currHouseIndex5=-1,a.selKt=null,a.currHouseIndex5=n,a.selKt=t,x={type:3,house_type:a.selHx.id,brand:a.selPp.id,mind_lock:a.selSuo.id,mind_switch:a.selMb.id,mind_curtain:a.selCl.id,mind_air_conditioner:a.selKt.id},a.selHx&&a.selPp&&a.selSuo&&a.selMb&&a.selCl&&a.selKt?a.getPrice(x):a.totalPrice=0,i.next=133,(0,o.getHomeDataNextReq)(x);case 133:m=i.sent,0==m.code||uni.showToast({title:m.message,icon:"none"});case 135:case"end":return i.stop()}}),s)})))()},getPrice:function(e){var t=this;return(0,s.default)((0,i.default)().mark((function n(){var a;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,(0,r.getDataMoneyReq)(e);case 2:a=n.sent,0==a.code?(console.log("配置价格-智控: ",a),t.totalPrice=a.data.money*t.cutdownRatio,t.pConfig=a.data.id):uni.showToast({title:a.message,icon:"none"});case 4:case"end":return n.stop()}}),n)})))()},toRule:function(){getApp().content=this.rule,uni.navigateTo({url:"/pages/index/rule/index?type=ctrl"})},toNext:function(){return 0==this.houseTypeList.length||0==this.brandTypeList.length||0==this.lockTypeList.length||0==this.pannelTypeList.length||0==this.chuanglianTypeList.length||0==this.ktTypeList.length?this.$toast("抱歉!参数配置缺失,暂无法预览配置"):this.selHx?this.selPp?this.selSuo?this.selMb?this.selCl?this.selKt?(getApp().selHx=this.selHx,getApp().selPp=this.selPp,getApp().selSuo=this.selSuo,getApp().selMb=this.selMb,getApp().selCl=this.selCl,getApp().selKt=this.selKt,getApp().totalPrice=this.totalPrice,getApp().pConfig=this.pConfig,void uni.navigateTo({url:"/pages/index/aiControlSys_step2/index"})):this.$toast("请选择智能空调"):this.$toast("请选择智能窗帘"):this.$toast("请选择智能面板"):this.$toast("请选择智能锁"):this.$toast("请选择品牌"):this.$toast("请选择户型")},handleOpenOrClose:function(e){"/static/index/shortLine.png"==this["addOrLessIcon"+e]?(this["addOrLessIcon"+e]="/static/index/add.png",this["show"+e]=!1):"/static/index/add.png"==this["addOrLessIcon"+e]&&(this["addOrLessIcon"+e]="/static/index/shortLine.png",this["show"+e]=!0)}}};t.default=l},"2e27":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/* 水平间距 */\n/* 水平间距 */.page[data-v-4a6d627a]{overflow-y:scroll;padding-bottom:%?160?%;overflow-x:hidden}.topBg[data-v-4a6d627a]{width:100vw;height:%?850?%;position:relative;z-index:0}.content[data-v-4a6d627a]{padding:0 %?36?%}.content .topBox[data-v-4a6d627a]{width:%?678?%;height:%?120?%;background:#fff;box-shadow:%?0?% %?12?% %?56?% %?-4?% rgba(220,212,205,.5);border-radius:%?24?% %?24?% %?24?% %?4?%;margin-top:%?-60?%;margin-left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);z-index:1;position:relative;display:flex;align-items:center;justify-content:space-between}.content .topBox .lTxt .water[data-v-4a6d627a]{font-size:%?56?%;font-family:Arial-BoldMT,Arial;font-weight:400;color:#eee;position:absolute;top:0;z-index:0}.content .topBox .lTxt .water1[data-v-4a6d627a]{position:absolute;top:0;z-index:0;height:%?56?%}.content .topBox .lTxt .main[data-v-4a6d627a]{height:100%;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;margin-left:%?52?%}.content .topBox .lTxt .main uni-image[data-v-4a6d627a]{position:absolute;z-index:2;left:-10%;top:%?-20?%}.content .topBox .rDes[data-v-4a6d627a]{margin-right:%?32?%;width:%?132?%;height:%?48?%;border:%?1?% solid #333;display:flex;justify-content:center;align-items:center}.content .topBox .rDes .con[data-v-4a6d627a]{font-size:%?24?%;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#333}.content .topBox .rDes uni-image[data-v-4a6d627a]{margin-left:%?8?%}.content .label[data-v-4a6d627a]{font-size:%?36?%;font-family:PingFang-SC-Bold,PingFang-SC;font-weight:500;color:#333;margin-top:%?44?%;display:flex;align-items:center;justify-content:space-between}.content .parms[data-v-4a6d627a]{display:flex;flex-wrap:wrap;border-bottom:%?1?% solid #eaeaea;padding-bottom:%?46?%;position:relative}.content .parms .item[data-v-4a6d627a]{width:%?325?%;height:%?96?%;border-radius:%?4?%;border:%?1?% solid #999;margin-right:%?18?%;margin-bottom:%?18?%;display:flex;align-items:center;justify-content:center;font-size:%?32?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#999}.content .parms .item[data-v-4a6d627a]:nth-of-type(2n){margin-right:0!important}.content .parms .act[data-v-4a6d627a]{color:#333;border:%?1?% solid #000}.bot[data-v-4a6d627a]{height:%?160?%;background:#fff;box-shadow:%?0?% %?0?% %?8?% %?0?% rgba(0,0,0,.16);position:fixed;width:100%;bottom:0;display:flex;justify-content:space-between;align-items:center;padding:0 %?40?%}.bot .left[data-v-4a6d627a]{display:flex;align-items:center}.bot .left .price[data-v-4a6d627a]{font-size:%?42?%;font-family:DINAlternate-Bold,DINAlternate;font-weight:700;color:#333}.bot .left uni-image[data-v-4a6d627a]{width:%?23?%;height:%?12?%;margin-left:%?16?%}.bot .right[data-v-4a6d627a]{width:%?282?%;height:%?96?%;background:#fff;border-radius:%?4?%;border:%?2?% solid #333;display:flex;justify-content:center;align-items:center;font-size:%?32?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#333;margin-right:%?96?%}.rule[data-v-4a6d627a]{position:fixed;width:%?96?%;height:%?96?%;background:#fff;box-shadow:%?0?% %?4?% %?24?% %?-8?% rgba(0,0,0,.28);border:%?2?% solid #fff;right:%?36?%;bottom:%?216?%;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.rule uni-image[data-v-4a6d627a]{width:%?32?%;height:%?32?%;margin-bottom:%?8?%}.rule .txt[data-v-4a6d627a]{font-size:%?16?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#333}.topBar[data-v-4a6d627a]{height:%?112?%;background:#f9f9f9;border-radius:%?24?% %?24?% %?0?% %?0?%;display:flex;align-items:center;justify-content:space-between}.topBar .left[data-v-4a6d627a]{width:10%;display:flex;align-items:center;justify-content:center;height:100%}.topBar .cen[data-v-4a6d627a]{font-size:%?32?%;font-family:PingFang-SC-Bold,PingFang-SC;font-weight:700;color:#333}.topBar .close[data-v-4a6d627a]{width:%?24?%;height:%?24?%;color:#666;width:10%;display:flex;align-items:center;justify-content:center;height:100%}.pupopCon[data-v-4a6d627a]{padding:%?48?% %?32?%}.pupopCon .item[data-v-4a6d627a]{margin-bottom:%?30?%}.pupopCon .item .top[data-v-4a6d627a]{display:flex;justify-content:space-between;margin-bottom:%?30?%}.pupopCon .item .top .name[data-v-4a6d627a]{font-size:%?32?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#666}.pupopCon .item .top .info[data-v-4a6d627a]{font-size:%?32?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#333}.pupopCon .item .bottom[data-v-4a6d627a]{display:flex;justify-content:space-between;padding-left:%?24?%;margin-bottom:%?30?%;margin-top:%?30?%}.pupopCon .item .bottom .name[data-v-4a6d627a]{font-size:%?32?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#666}.pupopCon .item .bottom .info[data-v-4a6d627a]{font-size:%?32?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#333}.aginInvite[data-v-4a6d627a]{height:%?52?%;background:#fff;border-radius:%?4?%;border:%?1?% solid #333;display:flex;align-items:center;justify-content:center;padding:0 %?24?%}.sel[data-v-4a6d627a]{position:relative}.sel uni-image[data-v-4a6d627a]{position:absolute;right:%?24?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}',""]),e.exports=t},"4d56":function(e,t,n){var a=n("2e27");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("4f06").default;i("17790a80",a,!0,{sourceMap:!1,shadowMode:!1})},"531c":function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.wxAuthLoginReq=t.updateUserInfoReq=t.submitFeedbackReq=t.postOrderReq=t.postInviteReq=t.getWxQrCodeReq=t.getUserPhone=t.getUserInfoReq=t.getServerDataReq=t.getSerStepReq=t.getSerDocReq=t.getSerBackReq=t.getSerBackGoodsReq=t.getSerBackConReq=t.getPricePercentReq=t.getOrderDetailReq=t.getMyInviteReq=t.getMyGoodsDetailReq=t.getMallReq=t.getMallCatReq=t.getInviteDetailBg=t.getIndexTopPics=t.getIndexConfigReq=t.getHomeDataNextReq=t.getGoodsPriceReq=t.getConfigTextByTypeReq=t.getConfigTextByIdReq=t.getChangeStepReq=t.getAwardDataReq=t.getAfterSaleCon=t.getActivityDataReq=t.getActivityDataDetailReq=t.cancelCollReq=t.addInviteReq=t.addCollReq=t.addAward=void 0,n("d3b7"),n("159b"),n("b64b"),n("99af");var a=uni.$u.http;t.getAfterSaleCon=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/users/bindingAfterSale",e,t)};t.getIndexTopPics=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/users/bindingAfterSale",e,t)};t.wxAuthLoginReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/auth/mnplogin",e,t)};t.getUserInfoReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.get("/api/users/getUserInfo",e,t)};t.getActivityDataReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.get("/api/getActivityData",e,t)};t.updateUserInfoReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/users/updateUserInfo",e,t)};t.getInviteDetailBg=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/invite/getSharePicTrue",e,t)};t.getUserPhone=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/invite/getUserPhone",e,t)};t.addAward=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/invite/addAward",e,t)};t.getIndexConfigReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/getHomeData",e,t)};t.getHomeDataNextReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="/api/getHomeDataNext";return Object.keys(e).forEach((function(t,a){n+=0==a?"?".concat(t,"=").concat(e[t]):"&".concat(t,"=").concat(e[t])})),console.log("处理后的apiUrl",n),a.get(n,e,t)};t.getActivityDataDetailReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="/api/users/getActivityDataDetail";return Object.keys(e).forEach((function(t,a){n+=0==a?"?".concat(t,"=").concat(e[t]):"&".concat(t,"=").concat(e[t])})),console.log("处理后的apiUrl",n),a.get(n,e,t)};t.postOrderReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/order/submitOrder",e,t)};t.getOrderDetailReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="/api/order/getOrderDetail";return Object.keys(e).forEach((function(t,a){n+=0==a?"?".concat(t,"=").concat(e[t]):"&".concat(t,"=").concat(e[t])})),console.log("处理后的apiUrl",n),a.get(n,e,t)};t.getMallCatReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="/api/goods/getClassifyData";return e&&Object.keys(e).forEach((function(t,a){n+=0==a?"?".concat(t,"=").concat(e[t]):"&".concat(t,"=").concat(e[t])})),console.log("处理后的apiUrl",n),a.get(n,e,t)};t.getMallReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="/api/goods/getGoodsData";return Object.keys(e).forEach((function(t,a){n+=0==a?"?".concat(t,"=").concat(e[t]):"&".concat(t,"=").concat(e[t])})),console.log("处理后的apiUrl",n),a.get(n,e,t)};t.getSerDocReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.get("/api/server/getServerData",e,t)};t.getPricePercentReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.get("/api/common/getPriceConfig",e,t)};t.getSerBackReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.get("/api/users/getMyAfterSaleData",e,t)};t.getSerStepReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.get("/api/users/getMyServiceProcess",e,t)};t.getChangeStepReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.get("/api/users/getRenewFlow",e,t)};t.getSerBackGoodsReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="/api/users/getMyAfterSaleGoods";return Object.keys(e).forEach((function(t,a){n+=0==a?"?".concat(t,"=").concat(e[t]):"&".concat(t,"=").concat(e[t])})),console.log("处理后的apiUrl",n),a.get(n,e,t)};t.getSerBackConReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.get("/api/users/getMyAfterSaleContact",e,t)};t.postInviteReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/invite/submitInviteData",e,t)};t.getMyInviteReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="/api/invite/getMyInviteData";return Object.keys(e).forEach((function(t,a){n+=0==a?"?".concat(t,"=").concat(e[t]):"&".concat(t,"=").concat(e[t])})),console.log("处理后的apiUrl",n),a.get(n,e,t)};t.addInviteReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/invite/addInvite",e,t)};t.addCollReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/users/addCollect",e,t)};t.cancelCollReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/users/cancelCollect",e,t)};t.getGoodsPriceReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/goods/getGoodsPrice",e,t)};t.getServerDataReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.get("/api/server/getServerData",e,t)};t.submitFeedbackReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/users/submitFeedback",e,t)};t.getAwardDataReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.get("/api/users/getAwardData",e,t)};t.getConfigTextByTypeReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="/api/common/getConfigTextByType";return Object.keys(e).forEach((function(t,a){n+=0==a?"?".concat(t,"=").concat(e[t]):"&".concat(t,"=").concat(e[t])})),console.log("处理后的apiUrl",n),a.get(n,e,t)};t.getWxQrCodeReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/common/getWxQrCode",e,t)};t.getConfigTextByIdReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="/api/common/getConfigTextById";return Object.keys(e).forEach((function(t,a){n+=0==a?"?".concat(t,"=").concat(e[t]):"&".concat(t,"=").concat(e[t])})),console.log("处理后的apiUrl",n),a.get(n,e,t)};t.getMyGoodsDetailReq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="/api/goods/getGoodsDetail";return Object.keys(e).forEach((function(t,a){n+=0==a?"?".concat(t,"=").concat(e[t]):"&".concat(t,"=").concat(e[t])})),console.log("处理后的apiUrl",n),a.get(n,e,t)}},"534f":function(e,t,n){"use strict";n.r(t);var a=n("8926"),i=n("d97e");for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);n("8313");var o=n("f0c5"),r=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"4a6d627a",null,!1,a["a"],void 0);t["default"]=r.exports},8313:function(e,t,n){"use strict";var a=n("4d56"),i=n.n(a);i.a},8926:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return a}));var a={uPopup:n("9f39").default,uIcon:n("abd3").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"page"},[n("navBar",{attrs:{title:"智能控制系统",back:!0,color:"black",background:"white"}}),n("v-uni-image",{staticClass:"topBg",attrs:{src:e.picBase+e.topPic,mode:""}}),n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"topBox"},[n("v-uni-view",{staticClass:"lTxt"},[n("v-uni-image",{staticClass:"water1",attrs:{src:"/static/index/water.png",mode:""}}),n("v-uni-view",{staticClass:"main"},[n("v-uni-image",{staticStyle:{width:"56rpx",height:"56rpx"},attrs:{src:"/static/index/halfCircle_275.png",mode:""}}),n("v-uni-text",{staticStyle:{"z-index":"3",position:"relative"}},[e._v("定制我家的智能控制")])],1)],1),n("v-uni-view",{staticClass:"rDes",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toRule.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"con"},[e._v("详情")]),n("v-uni-image",{staticStyle:{width:"25rpx",height:"15rpx"},attrs:{src:e.picUrl+"/static/other/halfRight_b.png",mode:""}})],1)],1),n("v-uni-view",{staticClass:"label",style:{"margin-bottom":"/static/index/shortLine.png"==e.addOrLessIcon1?"32rpx":"0"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleOpenOrClose(1)}}},[n("v-uni-view",{staticClass:"txt"},[e._v("户型")]),n("v-uni-image",{staticStyle:{width:"22rpx","margin-right":"56rpx"},style:{height:"/static/index/shortLine.png"==e.addOrLessIcon1?"2rpx":"22rpx"},attrs:{src:e.addOrLessIcon1,mode:""}})],1),n("v-uni-view",{staticClass:"parms"},e._l(e.houseTypeList,(function(t,a){return e.show1?n("v-uni-view",{staticClass:"item ",class:[e.currHouseIndex==a?"act":""],on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.sel("hx",t,a)}}},[e._v(e._s(t.value))]):e._e()})),1),n("v-uni-view",{staticClass:"label",style:{"margin-bottom":"/static/index/shortLine.png"==e.addOrLessIcon2?"32rpx":"0"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleOpenOrClose(2)}}},[n("v-uni-view",{staticClass:"txt"},[e._v("生态-品牌")]),n("v-uni-image",{staticStyle:{width:"22rpx","margin-right":"56rpx"},style:{height:"/static/index/shortLine.png"==e.addOrLessIcon2?"2rpx":"22rpx"},attrs:{src:e.addOrLessIcon2,mode:""}})],1),n("v-uni-view",{staticClass:"parms"},e._l(e.brandTypeList,(function(t,a){return e.show2?n("v-uni-view",{staticClass:"item ",class:[e.currHouseIndex1==a?"act":""],on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.sel("pp",t,a)}}},[e._v(e._s(t.value))]):e._e()})),1),n("v-uni-view",{staticClass:"label",style:{"margin-bottom":"/static/index/shortLine.png"==e.addOrLessIcon3?"32rpx":"0"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleOpenOrClose(3)}}},[n("v-uni-view",{staticClass:"txt"},[e._v("智能锁")]),n("v-uni-image",{staticStyle:{width:"22rpx","margin-right":"56rpx"},style:{height:"/static/index/shortLine.png"==e.addOrLessIcon3?"2rpx":"22rpx"},attrs:{src:e.addOrLessIcon3,mode:""}})],1),n("v-uni-view",{staticClass:"parms"},e._l(e.lockTypeList,(function(t,a){return e.show3?n("v-uni-view",{staticClass:"item ",class:[e.currHouseIndex2==a?"act":""],on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.sel("suo",t,a)}}},[e._v(e._s(t.value))]):e._e()})),1),n("v-uni-view",{staticClass:"label",style:{"margin-bottom":"/static/index/shortLine.png"==e.addOrLessIcon4?"32rpx":"0"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleOpenOrClose(4)}}},[n("v-uni-view",{staticClass:"txt"},[e._v("智能面板")]),n("v-uni-image",{staticStyle:{width:"22rpx","margin-right":"56rpx"},style:{height:"/static/index/shortLine.png"==e.addOrLessIcon4?"2rpx":"22rpx"},attrs:{src:e.addOrLessIcon4,mode:""}})],1),n("v-uni-view",{staticClass:"parms"},e._l(e.pannelTypeList,(function(t,a){return e.show4?n("v-uni-view",{staticClass:"item ",class:[e.currHouseIndex3==a?"act":""],on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.sel("mb",t,a)}}},[e._v(e._s(t.value))]):e._e()})),1),n("v-uni-view",{staticClass:"label",style:{"margin-bottom":"/static/index/shortLine.png"==e.addOrLessIcon5?"32rpx":"0"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleOpenOrClose(5)}}},[n("v-uni-view",{staticClass:"txt"},[e._v("智能窗帘")]),n("v-uni-image",{staticStyle:{width:"22rpx","margin-right":"56rpx"},style:{height:"/static/index/shortLine.png"==e.addOrLessIcon5?"2rpx":"22rpx"},attrs:{src:e.addOrLessIcon5,mode:""}})],1),n("v-uni-view",{staticClass:"parms"},e._l(e.chuanglianTypeList,(function(t,a){return e.show5?n("v-uni-view",{staticClass:"item ",class:[e.currHouseIndex4==a?"act":""],on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.sel("cl",t,a)}}},[e._v(e._s(t.value))]):e._e()})),1),n("v-uni-view",{staticClass:"label",style:{"margin-bottom":"/static/index/shortLine.png"==e.addOrLessIcon6?"32rpx":"0"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleOpenOrClose(6)}}},[n("v-uni-view",{staticClass:"txt"},[e._v("智能空调")]),n("v-uni-image",{staticStyle:{width:"22rpx","margin-right":"56rpx"},style:{height:"/static/index/shortLine.png"==e.addOrLessIcon6?"2rpx":"22rpx"},attrs:{src:e.addOrLessIcon6,mode:""}})],1),n("v-uni-view",{staticClass:"parms"},e._l(e.ktTypeList,(function(t,a){return e.show6?n("v-uni-view",{staticClass:"item ",class:[e.currHouseIndex5==a?"act":""],on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.sel("kt",t,a)}}},[e._v(e._s(t.value))]):e._e()})),1)],1),n("v-uni-view",{staticClass:"bot"},[n("v-uni-view",{staticClass:"left",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showConfig=!0}}},[n("v-uni-view",{staticClass:"price"},[e._v("¥"+e._s(e.totalPrice.toFixed(0)))]),n("v-uni-image",{attrs:{src:"/static/index/arrDown.png",mode:""}})],1),n("v-uni-view",{staticClass:"right",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toNext.apply(void 0,arguments)}}},[e._v("预览配置")])],1),n("u-popup",{attrs:{show:e.showConfig,round:"10"},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)},open:function(t){arguments[0]=t=e.$handleEvent(t),e.open.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"topBar"},[n("v-uni-view",{staticClass:"left"}),n("v-uni-view",{staticClass:"cen"},[e._v("清单")]),n("v-uni-view",{staticClass:"close",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showConfig=!1}}},[n("u-icon",{attrs:{name:"close"}})],1)],1),n("v-uni-view",{staticClass:"pupopCon"},[e.selHx?n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"top"},[n("v-uni-view",{staticClass:"name"},[e._v("户型")]),n("v-uni-view",{staticClass:"info"},[e._v(e._s(e.selHx.value))])],1)],1):e._e(),n("v-uni-view",{staticClass:"item"},[e.selPp?n("v-uni-view",{staticClass:"top"},[n("v-uni-view",{staticClass:"name"},[e._v("品牌")]),n("v-uni-view",{staticClass:"info"},[e._v(e._s(e.selPp.value))])],1):e._e(),e.selSuo?n("v-uni-view",{staticClass:"top"},[n("v-uni-view",{staticClass:"name"},[e._v("智能锁")]),n("v-uni-view",{staticClass:"info"},[e._v(e._s(e.selSuo.value))])],1):e._e(),e.selMb?n("v-uni-view",{staticClass:"top"},[n("v-uni-view",{staticClass:"name"},[e._v("智能开关")]),n("v-uni-view",{staticClass:"info"},[e._v(e._s(e.selMb.value))])],1):e._e(),e.selCl?n("v-uni-view",{staticClass:"top"},[n("v-uni-view",{staticClass:"name"},[e._v("智能窗帘")]),n("v-uni-view",{staticClass:"info"},[e._v(e._s(e.selCl.value))])],1):e._e(),e.selKt?n("v-uni-view",{staticClass:"top"},[n("v-uni-view",{staticClass:"name"},[e._v("智能空调")]),n("v-uni-view",{staticClass:"info"},[e._v(e._s(e.selKt.value))])],1):e._e()],1)],1)],1)],1)},s=[]},d97e:function(e,t,n){"use strict";n.r(t);var a=n("26a6"),i=n.n(a);for(var s in a)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);t["default"]=i.a}}]);
|