(self.webpackChunk_client_app_store=self.webpackChunk_client_app_store||[]).push([[8652],{87546:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return M}});var s,i,o=function(){var t,e,r=this._self._c,s=this._self._setupProxy;return r(s.SWRPage,{attrs:{states:[s.orderDetailState]}},[s.resultViewConfig?r(s.ResultView,{attrs:{config:s.resultViewConfig}}):s.order?r("div",{staticClass:"page_wrap",class:{pc_view:s.ua.isDesktop}},[r("div",{staticClass:"page_cnt",class:[s.ua.isDesktop?"u-mx-auto u-max-w-640 u-flex u-flex-col u-w-full":"u-mx-16",s.clientEnv.mng?"u-pb-40":"u-pb-24"]},[r(s.StatusBar,{class:{"u-mt-16":s.ua.isDesktop,"u-mt-8":!s.ua.isDesktop},attrs:{order:s.order}}),this._v(" "),r(s.ProductCard,{staticClass:"u-mt-12",attrs:{order:s.order}}),this._v(" "),r(s.OrderInfoCard,{staticClass:"u-mt-12",attrs:{order:s.order,"service-corp-info":s.serviceCorpInfo,"custom-name":s.customName}}),this._v(" "),r(s.ServiceInfoCard,{staticClass:"u-mt-12",attrs:{"service-corp-info":s.serviceCorpInfo,consultant:null===(t=s.order.buy_info)||void 0===t?void 0:t.consultant}}),this._v(" "),r(s.ContactUs,{staticClass:"u-mt-24 u-mx-auto",attrs:{"order-id":s.order.out_trade_no}})],1),this._v(" "),s.showFooterAction&&!s.clientEnv.mng?r("div",{staticClass:"page_fixed_holder"}):this._e(),this._v(" "),s.showFooterAction?r(s.FooterAction,{staticClass:"u-flex u-w-full u-box-border",class:[{"u-fixed! u-bottom-0 u-left-0":!s.clientEnv.mng},s.ua.isDesktop?"u-py-15 u-b-t-1 u-b-t-solid u-b-t-base_gray_010 u-justify-center":"u-pt-12 u-px-20 pb-safe-12 u-hl-t-base_gray_007",s.ua.isMobile?"u-bg-bg_gray_mobile_0":s.clientEnv.mng?"u-bg-bg_gray_desktop_2":"u-bg-bg_gray_desktop_1"],attrs:{order:s.order,"is-order-rated":null===(e=s.orderDetailData)||void 0===e?void 0:e.isOrderRated},on:{orderConfirmed:function(t){return s.orderDetailState.mutate()},orderFinished:s.handleOrderFinished,showRating:function(t){s.shouldShowRatingDialog=!0}}}):this._e(),this._v(" "),r(s.WWDialog,{staticClass:"rating-dialog",attrs:{visible:s.shouldShowRatingDialog,"show-overlay":"","close-btn":"","destroy-on-close":"",width:720,footer:!1},on:{"update:visible":function(t){s.shouldShowRatingDialog=t}}},[r(s.OrderRating,{attrs:{"order-id":s.orderId},on:{update:function(t){return s.orderDetailState.mutate()},close:function(t){s.shouldShowRatingDialog=!1}}})],1)],1):this._e()],1)};o._withStripped=!0;var n=r(90015);r(78336);var a=r(40048),l=r(90598),u=r(30231),c=r(84437),d=r(34504),v=r(20977),p=r(58661),f=r(35977),_=r(50972),h=r(88809),b=r(80309),g=r(9434),m=r(81683),y=r(16922),w=function(){var t=this._self._c,e=this._self._setupProxy;return t("div",{staticClass:"u-p-16 u-b-rd-8 u-bg-bg_white_mobile_1 u-flex u-flex-col u-c-base_gray_100",class:{pc_view:e.$userAgent.isDesktop}},[t("div",{staticClass:"u-text-16 u-lh-22",class:{"u-font-500":e.$userAgent.isMobile,"u-font-700":!e.$userAgent.isMobile}},[this._v("\n    "+r(11974).nI().t("服务商")+"\n  ")]),this._v(" "),t("div",[t("div",{staticClass:"row_item"},[t("span",{staticClass:"label"},[this._v(r(11974).nI().t("服务商名称"))]),this._v(" "),t("span",{staticClass:"ellipsis"},[this._v(this._s(e.serviceCorpName))])]),this._v(" "),t("div",{staticClass:"row_item"},[t("span",{staticClass:"label"},[this._v(r(11974).nI().t("服务顾问"))]),this._v(" "),t("span",{staticClass:"u-flex-shrink-0"},[this._v(this._s(this.consultant.name))]),this._v(" "),t("span",{staticClass:"u-c-chrome_orange ellipsis"},[this._v("@"+this._s(this.serviceCorpInfo.name))])])])])};w._withStripped=!0;var C=r(25405),O=(0,n.aZ)({__name:"ServiceInfoCard",props:{serviceCorpInfo:null,consultant:null},setup:function(t){var e=(0,C.Yf)().$userAgent,r=(0,n.Fl)(function(){return t.serviceCorpInfo.full_name||t.serviceCorpInfo.name});return{__sfc:!0,$userAgent:e,props:t,serviceCorpName:r}}}),S=r(6080),D=(0,S.Z)(O,w,[],!1,null,"3513f47b",null).exports,k=function(){var t=this._self._c,e=this._self._setupProxy;return t("div",{staticClass:"u-p-16 u-b-rd-8 u-flex u-items-center",class:{"u-bg-accent_blue_lighten_5":!e.isFinished,"u-c-accent_blue":!e.isFinished,"u-bg-base_gray_003":e.isFinished,"u-c-base_gray_080":e.isFinished}},[t(e.isFinished?e.CheckmarkCircleBold24:e.IconPending24,{tag:"component",staticClass:"u-w24 u-h24"}),this._v(" "),t("span",{staticClass:"u-ml-6 u-text-18 u-font-600 u-lh-24"},[this._v(this._s(e.OrderStatusMap[this.order.order_status]))])],1)};k._withStripped=!0;var x=r(7789),j=r.n(x),P=r(6586),I=r.n(P),F=r(83986),R=(0,n.aZ)({__name:"StatusBar",props:{order:null},setup:function(t){var e=(0,n.Fl)(function(){return t.order.order_status===d.N5});return{__sfc:!0,props:t,isFinished:e,CheckmarkCircleBold24:j(),IconPending24:I(),OrderStatusMap:F.Ct}}}),A=(0,S.Z)(R,k,[],!1,null,null,null).exports,Z=r(13697),E=(0,n.aZ)((s=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},s=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),s.forEach(function(e){var s,i;s=t,i=r[e],e in s?Object.defineProperty(s,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):s[e]=i})}return t}({},{head:function(){return this.$clientEnv.mng?{bodyAttrs:{class:["appStore_body_GrayDesktop2"]}}:{title:r(11974).nI().t("订单详情"),meta:[{name:"viewport",content:"width=device-width, initial-scale=1.0, user-scalable=0, viewport-fit=cover"}],bodyAttrs:{class:this.$userAgent.isMobile?["appStore_body_GrayMobile"]:["appStore_body_GrayDesktop1"]}}}}),i=i={__name:"orderDetail",setup:function(t){var e=(0,p.yj)(),r=(0,l.Cv)(),s=(0,c.FS)(),i=(0,_.E)().reportStat,o=(0,n.Fl)(function(){return e.query.order_id}),w=(0,Z.b)(o.value),C=w.orderDetailData,O=w.orderDetailState,S=w.resultViewConfig,k=(0,n.Fl)(function(){var t;return null===(t=C.value)||void 0===t?void 0:t.order}),x=(0,n.Fl)(function(){var t;return null===(t=C.value)||void 0===t?void 0:t.customName}),j=(0,n.Fl)(function(){var t;return null===(t=C.value)||void 0===t?void 0:t.serviceCorpInfo}),P=(0,n.Fl)(function(){var t,e,r;return null!==(t=C.value)&&void 0!==t&&!!t.canRatedOrder||(null===(e=C.value)||void 0===e?void 0:null===(r=e.order)||void 0===r?void 0:r.order_status)!==d.N5});return(0,n.bv)(function(){i("thirdserv_orderdetail_show",o.value),(0,a.ILv)(function(t){"true"===String(t.visible)&&(O.mutate(),i("thirdserv_orderdetail_show",o.value))})}),{__sfc:!0,route:e,clientEnv:r,ua:s,reportStat:i,orderId:o,orderDetailData:C,orderDetailState:O,resultViewConfig:S,order:k,customName:x,serviceCorpInfo:j,showFooterAction:P,handleOrderFinished:function(){O.mutate(),i("thirdserv_orderdetail_doneclick",o.value)},shouldShowRatingDialog:(0,n.iH)(!1),SWRPage:u.PL,WWDialog:v.i2,ResultView:f.Z,OrderRating:h.Z,ContactUs:b.Z,FooterAction:g.Z,OrderInfoCard:m.Z,ProductCard:y.Z,ServiceInfoCard:D,StatusBar:A}}},Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(i)):(function(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);r.push.apply(r,s)}return r})(Object(i)).forEach(function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(i,t))}),s)),M=(0,S.Z)(E,o,[],!1,null,"1d8bb509",null).exports},6586:function(t){t.exports={functional:!0,render:function(t,e){var r=e._c,s=(e._v,e.data),i=e.children,o=s.class,n=s.staticClass,a=s.style,l=s.staticStyle,u=s.attrs,c=function(t,e){if(null==t)return{};var r,s,i=function(t,e){if(null==t)return{};var r,s,i={},o=Object.keys(t);for(s=0;s<o.length;s++)r=o[s],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(s=0;s<o.length;s++)r=o[s],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(s,["class","staticClass","style","staticStyle","attrs"]);return r("svg",function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},s=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),s.forEach(function(e){var s,i;s=t,i=r[e],e in s?Object.defineProperty(s,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):s[e]=i})}return t}({class:[o,n],style:[a,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},void 0===u?{}:u)},c),(void 0===i?[]:i).concat([r("path",{attrs:{d:"M21 12a9 9 0 11-18 0 9 9 0 0118 0z",stroke:"currentColor","stroke-width":"2"}}),r("path",{attrs:{d:"M12 7v6h4",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]))}}}}]);