(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["cat-detail"],{"1a6a":function(e,t,i){"use strict";i("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("5c47"),i("a1c1"),i("d4b5");i("9b8e");var a=i("a9e5"),n=i("e0a2"),o=i("f9ce"),s={data:function(){return{bg:n.BASE_URL+"uploads/images/202504111126153f4340075.png",wx:n.BASE_URL+"uploads/images/20250411114054d264c5519.png",hz:n.BASE_URL+"uploads/images/202504111419131f68c4515.png",card:n.BASE_URL+"uploads/images/1/2025/04/20250414140320599887206.png",unfold:!1,unfoldDetail:!1,detail:{},loading:!1,id:"",navbarBgColor:"transparent"}},computed:{formattedNotePoints:function(){return this.detail.note_points?this.detail.note_points.replace(/\n/g,"
"):""}},onPageScroll:function(e){e.scrollTop>40?this.navbarBgColor="#fff":this.navbarBgColor="transparent"},onLoad:function(e){var t;this.id=null!==(t=null===e||void 0===e?void 0:e.id)&&void 0!==t?t:"",this.id||uni.redirectTo({url:"/pages/index/index"}),this.getSPDetail(this.id)},methods:{getSPDetail:function(e){var t=this;uni.showLoading({title:"加载中"}),(0,a.getSPDetail)({id:e}).then((function(e){var i;uni.hideLoading(),t.loading=!0,t.detail=e,uni.setNavigationBarTitle({title:null!==(i=null===e||void 0===e?void 0:e.product_name)&&void 0!==i?i:"商品详情"}),console.log("res",e)})).catch((function(){uni.hideLoading(),uni.showModal({title:"提示",content:err.msg||"加载失败",callback:function(){navBack()}})}))},goto:function(){var e=this;this.loading?(0,o.checkUserIsLogin)().then((function(){var t={id:e.id,product_name:e.detail.product_name,sale_price:e.detail.sale_price,product_img:e.detail.product_img,visit_fee:e.detail.visit_fee,tax:e.detail.tax};uni.navigateTo({url:"/cat/pay?data="+encodeURIComponent(JSON.stringify(t))})})).catch((function(){uni.showModal({title:"提示",content:"请先登录",showCancel:!1,success:function(){setTimeout((function(){uni.navigateTo({url:"/user-info-page/login/login?from=expireLogin"})}),500)}})})):uni.showModal({title:"提示",content:"商品加载失败,请重新进入",callback:function(){navBack()}})},previewImage:function(e){uni.previewImage({urls:[e],longPressActions:{success:function(e){},fail:function(e){}}})},toggleCollapse:function(){this.unfold=!this.unfold}}};t.default=s},"48cd":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("custom-page",{attrs:{"custom-navbar":!0,"navbar-title":" ",navbarBgColor:e.navbarBgColor,"wrapper-bg-color":"#F3F2F7"}},[i("v-uni-view",{staticClass:"detail-container"},[i("v-uni-image",{staticClass:"header-image",attrs:{src:e.detail.product_img,mode:"widthFix"}}),i("v-uni-view",{staticClass:"title-section"},[i("v-uni-text",{staticClass:"title"},[e._v(e._s(e.detail.product_name||"-"))]),i("v-uni-view",{staticClass:"price flex space alend"},[e.detail.sale_price?i("v-uni-view",{},[i("span",{staticClass:"price-icon"},[e._v(e._s(e.detail.sale_price.unit))]),e._v(e._s(e.detail.sale_price.value||"0"))]):e._e(),e.detail.visit_fee?i("v-uni-view",{staticClass:"ft14 ftw500",staticStyle:{color:"#262626"}},[e._v("上门费"+e._s(e.detail.visit_fee.unit)+e._s(e.detail.visit_fee.value||"0"))]):e._e()],1)],1),e.detail.buy_notes?i("v-uni-view",{staticClass:"info-section"},[i("v-uni-view",{staticClass:"section-title"},[e._v("购买须知")]),i("v-uni-view",{},[i("v-uni-text",[e._v(e._s(e.detail.buy_notes))])],1)],1):e._e(),e.detail.service_process?i("v-uni-view",{staticClass:"materials-section"},[i("v-uni-view",{staticClass:"section-title",staticStyle:{"margin-bottom":"42rpx"}},[e._v("商品详情")]),i("v-uni-view",{staticClass:"service-table"},[i("v-uni-view",{staticClass:"table-main-header"},[i("v-uni-text",[e._v("猫咪焕新精致洗护")])],1),i("v-uni-view",{staticClass:"table-row-header"},[i("v-uni-view",{staticClass:"table-cell col-1"},[e._v("服务流程")]),i("v-uni-view",{staticClass:"table-cell col-2"},[e._v("包含项目")])],1),i("v-uni-view",{staticClass:"table-row"},[i("v-uni-view",{staticClass:"table-cell col-1"},[e._v("体格检查")]),i("v-uni-view",{staticClass:"table-cell col-2"},[i("v-uni-text",[e._v(e._s(e.detail.service_process.body_check))])],1)],1),i("v-uni-view",{staticClass:"table-row"},[i("v-uni-view",{staticClass:"table-cell col-1"},[e._v("定制洗护方案")]),i("v-uni-view",{staticClass:"table-cell col-2"},[i("v-uni-text",[e._v(e._s(e.detail.service_process.customized_clean))])],1)],1),i("v-uni-view",{staticClass:"table-row"},[i("v-uni-view",{staticClass:"table-cell col-1"},[e._v("贴心护理")]),i("v-uni-view",{staticClass:"table-cell col-2"},[i("v-uni-text",[e._v(e._s(e.detail.service_process.thoughtful_care))])],1)],1),i("v-uni-view",{staticClass:"table-row"},[i("v-uni-view",{staticClass:"table-cell col-1"},[e._v("精洗 (开结)")]),i("v-uni-view",{staticClass:"table-cell col-2"},[i("v-uni-text",[e._v(e._s(e.detail.service_process.fine_wash))])],1)],1),i("v-uni-view",{staticClass:"table-row"},[i("v-uni-view",{staticClass:"table-cell col-1"},[e._v("洗护")]),i("v-uni-view",{staticClass:"table-cell col-2"},[i("v-uni-text",[e._v(e._s(e.detail.service_process.wash_protect))])],1)],1)],1)],1):e._e(),i("v-uni-view",{staticClass:"action-bar"},[i("v-uni-view",{staticClass:"order-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goto.apply(void 0,arguments)}}},[e._v("立即预定")])],1)],1)],1)},n=[]},"7dfa":function(e,t,i){"use strict";i.r(t);var a=i("48cd"),n=i("eb07");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("e1df");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"40f9ee11",null,!1,a["a"],void 0);t["default"]=r.exports},"9c0c":function(e,t,i){var a=i("c4f2");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("967d").default;n("532e2078",a,!0,{sourceMap:!1,shadowMode:!1})},a9e5:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.submitAndPay=t.projectList=t.getSPDetail=t.getPayType=t.getCatOrderListApi=t.getCatOrderDetailApi=t.cancelCatOrderApi=void 0;var n=a(i("7653"));t.getSPDetail=function(e){return n.default.post("api/user.product.washPet/detail",e)};t.getPayType=function(e){return n.default.post("api/user.dict.pay/list",e)};t.submitAndPay=function(e){return n.default.post("api/user.order.washPet/submitAndPay",e)};t.projectList=function(e){return n.default.post("api/user.product.washPet/list",e)};t.getCatOrderListApi=function(e){return n.default.post("api/user.order.washPet/list",e)};t.getCatOrderDetailApi=function(e){return n.default.post("api/user.order.washPet/detail",e)};t.cancelCatOrderApi=function(e){return n.default.post("api/user.order.washPet/cancel",e)}},c4f2:function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.detail-container[data-v-40f9ee11]{padding-bottom:%?120?%;background:#f5f5f5}.header-image[data-v-40f9ee11]{margin-top:%?-90?%;width:100%;height:%?400?%;object-fit:cover}.title-section[data-v-40f9ee11]{padding:%?24?%;background:#fff}.title-section .title[data-v-40f9ee11]{font-family:Source Han Sans CN;font-weight:500;font-size:%?36?%;color:#000;line-height:%?55?%}.title-section .price[data-v-40f9ee11]{margin-top:%?16?%;font-family:Source Han Sans CN;font-weight:800;font-size:%?46?%;color:#f60;line-height:%?42?%}.title-section .price .price-icon[data-v-40f9ee11]{font-family:Source Han Sans CN;font-weight:500;font-size:%?26?%;color:#f60;line-height:%?42?%}.section-title[data-v-40f9ee11]{font-family:Source Han Sans CN;font-weight:700;font-size:%?34?%;color:#000;line-height:%?42?%;margin-bottom:%?42?%}.info-section[data-v-40f9ee11]{margin-top:%?30?%;padding:%?36?% %?30?% %?31?% %?28?%;background:#fff}.info-section .info-grid[data-v-40f9ee11]{margin-bottom:%?30?%;display:grid;grid-template-columns:repeat(3,1fr);gap:%?24?% %?16?%}.info-section .info-grid .info-item[data-v-40f9ee11]{background:#f8f9fb;border-radius:%?14?%;padding:%?2?%;height:%?160?%;display:flex;justify-content:center;align-items:center}.info-section .info-grid .info-item .info-item-item[data-v-40f9ee11]{display:flex;flex-direction:column;text-align:center}.info-section .info-grid .info-item .info-item-item .info-label[data-v-40f9ee11]{margin-bottom:%?2?%;font-family:Source Han Sans CN;font-weight:500;font-size:%?26?%;color:#6b6b6b;line-height:%?42?%}.info-section .info-grid .info-item .info-item-item .info-value[data-v-40f9ee11]{font-family:Source Han Sans CN;font-weight:500;font-size:%?26?%;color:#121212;line-height:%?42?%}.info-section .info-note[data-v-40f9ee11]{margin-left:%?8?%;font-family:Source Han Sans CN;font-weight:500;font-size:%?26?%;color:#6b6b6b;line-height:%?42?%;text-align:left}.materials-section[data-v-40f9ee11]{margin-bottom:%?80?%;margin-top:%?30?%;padding:%?28?%;background:#fff}.materials-section .required-tag[data-v-40f9ee11]{font-family:Source Han Sans CN;font-weight:500;font-size:%?26?%;color:#6b6b6b;line-height:%?42?%;margin-bottom:%?36?%}.materials-section .star[data-v-40f9ee11]{color:red}.materials-section .passport[data-v-40f9ee11]{margin:0 %?2?%;display:flex;background:#f8f9fb;border-radius:%?14?%;padding:%?26?% %?17?%}.materials-section .passport .passport-bg[data-v-40f9ee11]{background:#efeff4;margin-right:%?32?%;display:flex;align-items:center;justify-content:center}.materials-section .passport .passport-bg .passport-img[data-v-40f9ee11]{width:%?128?%;height:%?96?%}.materials-section .passport .passport-text[data-v-40f9ee11]{display:flex;flex-direction:column;margin-top:%?6?%;margin-right:%?5?%}.materials-section .passport .passport-text .material-title[data-v-40f9ee11]{font-family:Source Han Sans CN;font-weight:700;font-size:%?30?%;color:#121212;line-height:%?42?%;margin-bottom:%?2?%}.materials-section .material-item[data-v-40f9ee11]{margin-bottom:%?24?%}.materials-section .material-item .material-desc[data-v-40f9ee11]{font-family:Source Han Sans CN;font-weight:500;font-size:%?28?%;color:#6b6b6b;line-height:%?42?%}.star[data-v-40f9ee11]{color:red}.process-section[data-v-40f9ee11]{margin-top:%?30?%;padding:20px;background:#fff}.process-section .process-steps[data-v-40f9ee11]{display:grid;grid-template-columns:repeat(3,1fr);gap:%?20?%;padding:%?20?% 0}.process-section .step[data-v-40f9ee11]{display:flex;flex-direction:column;align-items:center;position:relative;width:100%}.process-section .step-circle[data-v-40f9ee11]{width:%?62?%;height:%?62?%;background:#efeff4;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:Source Han Sans CN;font-weight:800;font-size:%?30?%;color:#0e0e0e;line-height:%?42?%;margin-bottom:10px;z-index:1}.process-section .step-text[data-v-40f9ee11]{font-family:Source Han Sans CN;font-weight:500;font-size:%?28?%;color:#6b6b6b;line-height:%?42?%}.process-section .step-connector[data-v-40f9ee11]{position:absolute;top:%?31?%;right:-50%;width:100%;height:%?2?%;background:repeating-linear-gradient(90deg,#efeff4 0,#efeff4 %?8?%,transparent %?8?%,transparent %?16?%)}.open[data-v-40f9ee11]{color:#ffca28;text-align:center;margin-top:%?20?%}.notes-section[data-v-40f9ee11]{margin-top:%?30?%;margin-bottom:%?80?%;padding:%?36?% %?29?%;background:#fff}.notes-section .note-item[data-v-40f9ee11]{font-family:Source Han Sans CN;font-weight:500;font-size:%?28?%;color:#6b6b6b;line-height:%?42?%;margin-bottom:%?8?%;padding-left:%?20?%;position:relative}.notes-section .faq-item[data-v-40f9ee11]{margin-bottom:%?30?%}.notes-section .faq-item .faq-question[data-v-40f9ee11]{font-family:Source Han Sans CN;font-weight:700;font-size:%?32?%;color:#39f;margin-bottom:%?15?%}.notes-section .faq-item .faq-answer[data-v-40f9ee11]{font-family:Source Han Sans CN;font-size:%?28?%;color:#333;line-height:1.6}.notes-section .faq-item .faq-answer uni-view[data-v-40f9ee11]{margin-bottom:%?10?%}.faq-question[data-v-40f9ee11]{font-family:Source Han Sans CN;font-weight:700;font-size:%?32?%;color:#39f;margin-bottom:%?15?%}.action-bar[data-v-40f9ee11]{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;padding:%?30?% %?38?%;background-color:#fff;box-shadow:0 -2px 10px rgba(0,0,0,.05);z-index:100}.action-bar .consult-btn[data-v-40f9ee11]{display:flex;align-items:center;justify-content:center;font-family:Source Han Sans CN;font-weight:500;font-size:%?22?%;color:#ffca28;background:#fff4d1;border-radius:50%;opacity:.5;height:%?100?%;width:%?100?%}.action-bar .consult-btn .consult-btn-i[data-v-40f9ee11]{display:flex;flex-direction:column}.action-bar .consult-btn .icon[data-v-40f9ee11]{width:%?41?%;height:%?38?%;margin-bottom:%?9?%}.action-bar .order-btn[data-v-40f9ee11]{flex:1;background-color:#ffd84d;font-family:Source Han Sans CN;font-weight:700;font-size:%?36?%;color:#333;line-height:%?39?%;border:none;border-radius:%?20?%;padding:8px;font-size:16px;height:%?90?%;display:flex;align-items:center;justify-content:center}.process-detail[data-v-40f9ee11]{margin-top:%?20?%;padding:0 %?20?%}.process-detail .process-item[data-v-40f9ee11]{display:flex;margin-bottom:%?30?%}.process-detail .process-item .process-number[data-v-40f9ee11]{width:%?40?%;height:%?40?%;line-height:%?40?%;text-align:center;background:#efeff4;border-radius:50%;font-size:%?24?%;color:#333;margin-right:%?20?%;flex-shrink:0}.process-detail .process-item .process-content[data-v-40f9ee11]{flex:1}.process-detail .process-item .process-content .process-title[data-v-40f9ee11]{font-size:%?28?%;color:#333;font-weight:700;margin-bottom:%?10?%}.process-detail .process-item .process-content .process-desc[data-v-40f9ee11]{font-size:%?26?%;color:#666;line-height:1.5}.entry-requirements[data-v-40f9ee11]{margin-top:%?20?%;padding:%?20?%;background:#fff;border-radius:%?14?%;font-family:Source Han Sans CN;font-weight:500;font-size:%?28?%;color:#6b6b6b;line-height:1.6}.entry-requirements .collapse-btn[data-v-40f9ee11]{text-align:center;color:#39f;margin-top:%?20?%;font-size:%?26?%;cursor:pointer}.note-content[data-v-40f9ee11] :deep(p){margin-bottom:%?10?%}.service-table[data-v-40f9ee11]{border:%?1?% solid #eaeaea;border-radius:%?8?%;overflow:hidden;margin-top:%?20?%;font-size:%?26?%}.service-table .table-main-header[data-v-40f9ee11]{background-color:#feef88;padding:%?20?%;text-align:center;font-weight:700;font-size:%?30?%;color:#333;border-bottom:%?1?% solid #eaeaea}.service-table .table-row-header[data-v-40f9ee11]{display:flex;background-color:#fff;font-weight:700;color:#333}.service-table .table-row[data-v-40f9ee11]{display:flex;border-top:%?1?% solid #eaeaea}.service-table .table-cell[data-v-40f9ee11]{padding:%?20?%}.service-table .col-1[data-v-40f9ee11]{flex:1;text-align:center;border-right:%?1?% solid #eaeaea;display:flex;align-items:center;justify-content:center}.service-table .col-2[data-v-40f9ee11]{flex:2}.service-table .col-2 uni-view[data-v-40f9ee11]{padding:%?4?% 0}',""]),e.exports=t},e1df:function(e,t,i){"use strict";var a=i("9c0c"),n=i.n(a);n.a},eb07:function(e,t,i){"use strict";i.r(t);var a=i("1a6a"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);t["default"]=n.a},f9ce:function(e,t,i){"use strict";i("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.checkUserIsLogin=void 0,i("bf0f");var a=i("262c");t.checkUserIsLogin=function(){return new Promise((function(e,t){var i=(0,a.getTokenFromCache)();return i?e():t()}))}}}]);