1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-customNoMian_step1-index"],{"0ff8":function(e,t,n){"use strict";var a=n("4279"),i=n.n(a);i.a},"3a4d":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.goRule.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.lockTypeList,(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("kj",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.brandTypeList,(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("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.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.serTypeList,(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("xl",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("bb",t,a)}}},[e._v(e._s(t.value))]):e._e()})),1),n("v-uni-view",{staticClass:"label",staticStyle:{"margin-bottom":"32rpx"}},[e._v("包含灯型")]),n("v-uni-view",{staticClass:"parms2"},e._l(e.ktTypeList,(function(t,a){return n("v-uni-view",{staticClass:"itemLast ",class:[e.currHouseIndex4==a?"act":""],on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.goPreview(t.id)}}},[e._v(e._s(t.name))])})),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",staticStyle:{"min-width":"0rpx"}},[e._v("¥"+e._s(e.totalPrice.toFixed(0)))]),e.showConfig?n("v-uni-image",{attrs:{src:"/static/index/arrUp.png",mode:""},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showConfig=!1}}}):n("v-uni-image",{attrs:{src:"/static/index/arrDown.png",mode:""},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showConfig=!0}}})],1),n("v-uni-view",{staticClass:"right",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.preConfig.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(),e.selKj?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.selKj.value))])],1)],1):e._e(),e.selPp?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.selPp.value))])],1)],1):e._e(),e.selXl?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.selXl.value))])],1)],1):e._e(),e.selBb?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.selBb.value))])],1)],1):e._e()],1)],1)],1)},s=[]},4279:function(e,t,n){var a=n("a0ce");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("4f06").default;i("e6f0c1fe",a,!0,{sourceMap:!1,shadowMode:!1})},4502:function(e,t,n){"use strict";n.r(t);var a=n("c327"),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},"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)}},a0ce:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/* 水平间距 */\n/* 水平间距 */.page[data-v-e8a336a2]{overflow-y:scroll;padding-bottom:%?240?%;overflow-x:hidden}.topBg[data-v-e8a336a2]{width:100vw;height:%?850?%;position:relative;z-index:0}.content[data-v-e8a336a2]{padding:0 %?36?%}.content .topBox[data-v-e8a336a2]{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-e8a336a2]{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-e8a336a2]{position:absolute;top:0;z-index:0;height:%?56?%}.content .topBox .lTxt .main[data-v-e8a336a2]{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-e8a336a2]{position:absolute;z-index:2;left:-10%;top:%?-20?%}.content .topBox .rDes[data-v-e8a336a2]{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-e8a336a2]{font-size:%?24?%;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#333}.content .topBox .rDes uni-image[data-v-e8a336a2]{margin-left:%?8?%}.content .label[data-v-e8a336a2]{font-size:%?36?%;font-family:PingFang-SC-Bold,PingFang-SC;font-weight:500;color:#333;margin-top:%?64?%;display:flex;align-items:center;justify-content:space-between}.content .parms[data-v-e8a336a2]{display:flex;flex-wrap:wrap;border-bottom:%?1?% solid #eaeaea;padding-bottom:%?64?%;position:relative}.content .parms .item[data-v-e8a336a2]{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-e8a336a2]:nth-of-type(2n){margin-right:0!important}.content .parms .act[data-v-e8a336a2]{color:#333;border:%?1?% solid #000}.bot[data-v-e8a336a2]{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-e8a336a2]{display:flex;align-items:center}.bot .left .price[data-v-e8a336a2]{font-size:%?42?%;font-family:DINAlternate-Bold,DINAlternate;font-weight:700;color:#333}.bot .left uni-image[data-v-e8a336a2]{width:%?23?%;height:%?12?%;margin-left:%?16?%}.bot .right[data-v-e8a336a2]{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-e8a336a2]{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-e8a336a2]{width:%?32?%;height:%?32?%;margin-bottom:%?8?%}.rule .txt[data-v-e8a336a2]{font-size:%?16?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#333}.topBar[data-v-e8a336a2]{height:%?112?%;background:#f9f9f9;border-radius:%?24?% %?24?% %?0?% %?0?%;display:flex;align-items:center;justify-content:space-between}.topBar .left[data-v-e8a336a2]{width:10%;display:flex;align-items:center;justify-content:center;height:100%}.topBar .cen[data-v-e8a336a2]{font-size:%?32?%;font-family:PingFang-SC-Bold,PingFang-SC;font-weight:700;color:#333}.topBar .close[data-v-e8a336a2]{width:%?24?%;height:%?24?%;color:#666;width:10%;display:flex;align-items:center;justify-content:center;height:100%}.pupopCon[data-v-e8a336a2]{padding:%?48?% %?32?%;padding-bottom:%?84?%}.pupopCon .item[data-v-e8a336a2]{margin-bottom:%?40?%}.pupopCon .item .top[data-v-e8a336a2]{display:flex;justify-content:space-between}.pupopCon .item .top .name[data-v-e8a336a2]{font-size:%?32?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#666}.pupopCon .item .top .info[data-v-e8a336a2]{font-size:%?32?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#333}.pupopCon .item .bottom[data-v-e8a336a2]{display:flex;justify-content:space-between;padding-left:%?24?%}.pupopCon .item .bottom .name[data-v-e8a336a2]{font-size:%?32?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#666}.pupopCon .item .bottom .info[data-v-e8a336a2]{font-size:%?32?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#333}.aginInvite[data-v-e8a336a2]{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-e8a336a2]{position:relative}.sel uni-image[data-v-e8a336a2]{position:absolute;right:%?24?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.parms2[data-v-e8a336a2]{display:flex;justify-content:space-between;flex-wrap:wrap}.parms2 .itemLast[data-v-e8a336a2]{background:red;width:%?150?%;height:%?88?%;background:#333;border-radius:%?4?%;border:%?2?% solid #333;font-size:%?32?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;margin-bottom:%?16?%}',""]),e.exports=t},c327: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"),c={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",show1:!0,show2:!0,show3:!0,show4:!0,show5:!0,showConfig:!1,currHouseIndex:-1,currHouseIndex1:-1,currHouseIndex2:-1,currHouseIndex3:-1,currHouseIndex4:-1,houseTypeList:[],brandTypeList:[],lockTypeList:[],chuanglianTypeList:[],ktTypeList:[{id:1,name:"筒灯"},{id:2,name:"射灯"},{id:3,name:"线性灯"},{id:4,name:"磁吸轨道灯"}],serTypeList:[],selHx:null,selKj:null,selPp:null,selXl:null,selBb:null,rule:"",totalPrice:0,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("1this.topPic",t.topPic),e.next=4,(0,o.getIndexConfigReq)({type:1});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.space,t.serTypeList=n.data.series,t.chuanglianTypeList=n.data.version,t.rule=n.data.rule.content):uni.showToast({title:n.message,icon:"none"});case 6:case"end":return e.stop()}}),e)})))()},onShow:function(){this.cutdownRatio=this.$getCutDown()},computed:{},methods:{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)})))()},sel:function(e,t,n){var a=this;return(0,s.default)((0,i.default)().mark((function s(){var r,c,l,u,d,g,p,v,f,h;return(0,i.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if("hx"!=e){i.next=21;break}return a.currHouseIndex=-1,a.currHouseIndex1=-1,a.currHouseIndex2=-1,a.currHouseIndex3=-1,a.currHouseIndex4=-1,a.selHx=null,a.selKj=null,a.selPp=null,a.selXl=null,a.selBb=null,a.currHouseIndex=n,a.selHx=t,r={type:1,house_type:a.selHx.id},a.selHx&&a.selKj&&a.selPp&&a.selXl&&a.selBb?a.getPrice(r):a.totalPrice=0,i.next=17,(0,o.getHomeDataNextReq)(r);case 17:c=i.sent,0==c.code?(a.brandTypeList=c.data.brand,a.lockTypeList=c.data.space,a.serTypeList=c.data.series,a.chuanglianTypeList=c.data.version):uni.showToast({title:c.message,icon:"none"}),i.next=115;break;case 21:if("kj"!=e){i.next=42;break}if(a.selHx){i.next=24;break}return i.abrupt("return",a.$toast("请先选择户型"));case 24:return a.currHouseIndex1=-1,a.currHouseIndex2=-1,a.currHouseIndex3=-1,a.currHouseIndex4=-1,a.selKj=null,a.selPp=null,a.selXl=null,a.selBb=null,a.currHouseIndex1=n,a.selKj=t,l={type:1,house_type:a.selHx.id,space:a.selKj.id},a.selHx&&a.selKj&&a.selPp&&a.selXl&&a.selBb?a.getPrice(l):a.totalPrice=0,i.next=38,(0,o.getHomeDataNextReq)(l);case 38:u=i.sent,0==u.code?(a.brandTypeList=u.data.brand,a.serTypeList=u.data.series,a.chuanglianTypeList=u.data.version):uni.showToast({title:u.message,icon:"none"}),i.next=115;break;case 42:if("pp"!=e){i.next=65;break}if(a.selHx){i.next=47;break}return i.abrupt("return",a.$toast("请先选择户型"));case 47:if(a.selKj){i.next=49;break}return i.abrupt("return",a.$toast("请先选择空间"));case 49:return a.currHouseIndex2=-1,a.currHouseIndex3=-1,a.currHouseIndex4=-1,a.selPp=null,a.selXl=null,a.selBb=null,a.currHouseIndex2=n,a.selPp=t,d={type:1,house_type:a.selHx.id,space:a.selKj.id,brand:a.selPp.id},a.selHx&&a.selKj&&a.selPp&&a.selXl&&a.selBb?a.getPrice(d):a.totalPrice=0,i.next=61,(0,o.getHomeDataNextReq)(d);case 61:g=i.sent,0==g.code?(console.log("系列返回值:",g),a.serTypeList=g.data.series,a.chuanglianTypeList=g.data.version):uni.showToast({title:g.message,icon:"none"}),i.next=115;break;case 65:if("xl"!=e){i.next=90;break}if(a.selHx){i.next=70;break}return i.abrupt("return",a.$toast("请先选择户型"));case 70:if(a.selKj){i.next=74;break}return i.abrupt("return",a.$toast("请先选择空间"));case 74:if(a.selPp){i.next=76;break}return i.abrupt("return",a.$toast("请先选择品牌"));case 76:return a.currHouseIndex3=-1,a.currHouseIndex4=-1,a.selXl=null,a.selBb=null,a.currHouseIndex3=n,a.selXl=t,p={type:1,house_type:a.selHx.id,space:a.selKj.id,brand:a.selPp.id,series:a.selXl.id},a.selHx&&a.selKj&&a.selPp&&a.selXl&&a.selBb?a.getPrice(p):a.totalPrice=0,i.next=86,(0,o.getHomeDataNextReq)(p);case 86:v=i.sent,0==v.code?a.chuanglianTypeList=v.data.version:uni.showToast({title:v.message,icon:"none"}),i.next=115;break;case 90:if("bb"!=e){i.next=115;break}if(a.selHx){i.next=95;break}return i.abrupt("return",a.$toast("请先选择户型"));case 95:if(a.selKj){i.next=99;break}return i.abrupt("return",a.$toast("请先选择空间"));case 99:if(a.selPp){i.next=103;break}return i.abrupt("return",a.$toast("请先选择品牌"));case 103:if(a.selXl){i.next=105;break}return i.abrupt("return",a.$toast("请先选择系列"));case 105:return a.currHouseIndex4=-1,a.selBb=null,a.currHouseIndex4=n,a.selBb=t,f={type:1,house_type:a.selHx.id,space:a.selKj.id,brand:a.selPp.id,series:a.selXl.id,version:a.selBb.id},a.selHx&&a.selKj&&a.selPp&&a.selXl&&a.selBb?a.getPrice(f):a.totalPrice=0,i.next=113,(0,o.getHomeDataNextReq)(f);case 113:h=i.sent,0==h.code||uni.showToast({title:h.message,icon:"none"});case 115:case"end":return i.stop()}}),s)})))()},preConfig:function(){return 0==this.houseTypeList.length||0==this.brandTypeList.length||0==this.lockTypeList.length||0==this.serTypeList.length||0==this.chuanglianTypeList.length?this.$toast("抱歉!参数配置缺失,暂无法预览配置"):this.selHx?this.selKj?this.selPp?this.selXl?this.selBb?(getApp().selHx=this.selHx,getApp().selKj=this.selKj,getApp().selPp=this.selPp,getApp().selXl=this.selXl,getApp().selBb=this.selBb,getApp().pConfig=this.pConfig,getApp().totalPrice=this.totalPrice,void uni.navigateTo({url:"/pages/index/customNoMian_step2/index"})):this.$toast("请选择版本"):this.$toast("请选择系列"):this.$toast("请选择品牌"):this.$toast("请选择空间"):this.$toast("请选择户型")},goPreview:function(e){uni.navigateTo({url:"/pages/index/customNoMain/index?id="+e})},handleOpenOrClose:function(e){"/static/index/shortLine.png"==this["addOrLessIcon"+e]?(this["addOrLessIcon"+e]="/static/index/add.png",this["show"+e]=!1):(this["addOrLessIcon"+e]="/static/index/shortLine.png",this["show"+e]=!0)},goRule:function(){getApp().content=this.rule,console.log("this.rule",this.rule),uni.navigateTo({url:"/pages/index/rule/index?type=noMain"})},cheSel:function(){return this.selHx?this.selKj?this.selPp?this.selXl?this.selBb?void 0:this.$toast("请先选择版本"):this.$toast("请先选择系列"):this.$toast("请先选择品牌"):this.$toast("请先选择空间"):this.$toast("请先选择户型")}}};t.default=c},ddf4:function(e,t,n){"use strict";n.r(t);var a=n("3a4d"),i=n("4502");for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);n("0ff8");var o=n("f0c5"),r=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"e8a336a2",null,!1,a["a"],void 0);t["default"]=r.exports}}]);
|