1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pagesA-my-admintechnical-orderDetail"],{"0499":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-button",{staticClass:"tui-btn",class:[t.plain?"tui-"+t.type+"-outline":"tui-btn-"+(t.type||"primary"),t.getDisabledClass(t.disabled,t.type,t.plain),t.getShapeClass(t.shape,t.plain),t.getShadowClass(t.type,t.shadow,t.plain),t.bold?"tui-text-bold":"",t.link?"tui-btn__link":""],style:{width:t.width,height:t.height,lineHeight:t.height,fontSize:t.size+"rpx",margin:t.margin},attrs:{"hover-class":t.getHoverClass(t.disabled,t.type,t.plain),loading:t.loading,"form-type":t.formType,"open-type":t.openType,disabled:t.disabled},on:{getuserinfo:function(e){arguments[0]=e=t.$handleEvent(e),t.bindgetuserinfo.apply(void 0,arguments)},getphonenumber:function(e){arguments[0]=e=t.$handleEvent(e),t.bindgetphonenumber.apply(void 0,arguments)},contact:function(e){arguments[0]=e=t.$handleEvent(e),t.bindcontact.apply(void 0,arguments)},error:function(e){arguments[0]=e=t.$handleEvent(e),t.binderror.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClick.apply(void 0,arguments)}}},[t._t("default")],2)},o=[]},1269:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".tui-countdown-box[data-v-12996aca]{display:flex;align-items:center}.tui-countdown-box[data-v-12996aca]{display:flex;align-items:center}.tui-countdown-item[data-v-12996aca]{border:%?1?% solid;display:flex;align-items:center;justify-content:center;border-radius:%?6?%;white-space:nowrap;-webkit-transform:translateZ(0);transform:translateZ(0)}.tui-countdown-time[data-v-12996aca]{margin:0;padding:0}.tui-countdown-colon[data-v-12996aca]{display:flex;justify-content:center;padding:0 %?5?%}.tui-colon-pad[data-v-12996aca]{padding:0!important}.tui-countdown-scale[data-v-12996aca]{-webkit-transform:scale(.9);transform:scale(.9);-webkit-transform-origin:center center;transform-origin:center center}.tui-countdown__ms[data-v-12996aca]{border:%?1?% solid;overflow:hidden;border-radius:%?6?%}\r\n\r\n/*ms使用css3代替js频繁更新操作,性能优化*/.tui-ms__list[data-v-12996aca]{-webkit-animation:loop-data-v-12996aca 1s steps(10) infinite;animation:loop-data-v-12996aca 1s steps(10) infinite}@-webkit-keyframes loop-data-v-12996aca{from{-webkit-transform:translateY(0);transform:translateY(0)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes loop-data-v-12996aca{from{-webkit-transform:translateY(0);transform:translateY(0)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.tui-ms__item[data-v-12996aca]{display:flex;align-items:center;justify-content:center}",""]),t.exports=e},"45ccc":function(t,e,i){"use strict";var a=i("b427"),o=i.n(a);o.a},"469b":function(t,e,i){"use strict";var a=i("55de"),o=i.n(a);o.a},5237:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'.tui-btn-primary[data-v-0eb7194e]{background:#5677fc!important;color:#fff}.tui-shadow-primary[data-v-0eb7194e]{box-shadow:0 %?10?% %?14?% 0 rgba(86,119,252,.2)}.tui-btn-danger[data-v-0eb7194e]{background:#eb0909!important;color:#fff}.tui-shadow-danger[data-v-0eb7194e]{box-shadow:0 %?10?% %?14?% 0 rgba(235,9,9,.2)}.tui-btn-warning[data-v-0eb7194e]{background:#fc872d!important;color:#fff}.tui-shadow-warning[data-v-0eb7194e]{box-shadow:0 %?10?% %?14?% 0 rgba(252,135,45,.2)}.tui-btn-green[data-v-0eb7194e]{background:#07c160!important;color:#fff}.tui-shadow-green[data-v-0eb7194e]{box-shadow:0 %?10?% %?14?% 0 rgba(7,193,96,.2)}.tui-btn-blue[data-v-0eb7194e]{background:#007aff!important;color:#fff}.tui-shadow-blue[data-v-0eb7194e]{box-shadow:0 %?10?% %?14?% 0 rgba(0,122,255,.2)}.tui-btn-white[data-v-0eb7194e]{background:#fff!important;color:#333!important}.tui-btn-gray[data-v-0eb7194e]{background:#bfbfbf!important;color:#fff!important}.tui-btn-black[data-v-0eb7194e]{background:#333!important;color:#fff!important}.tui-btn-brown[data-v-0eb7194e]{background:#ac9157!important;color:#fff!important}.tui-btn-gray-black[data-v-0eb7194e]{background:#f2f2f2!important;color:#333}.tui-btn-gray-primary[data-v-0eb7194e]{background:#f2f2f2!important;color:#5677fc!important}.tui-gray-primary-hover[data-v-0eb7194e]{background:#d9d9d9!important}.tui-btn-gray-green[data-v-0eb7194e]{background:#f2f2f2!important;color:#07c160!important}.tui-gray-green-hover[data-v-0eb7194e]{background:#d9d9d9!important}.tui-btn-gray-danger[data-v-0eb7194e]{background:#f2f2f2!important;color:#eb0909!important}.tui-gray-danger-hover[data-v-0eb7194e]{background:#d9d9d9!important}.tui-btn-gray-warning[data-v-0eb7194e]{background:#f2f2f2!important;color:#fc872d!important}.tui-gray-warning-hover[data-v-0eb7194e]{background:#d9d9d9!important}.tui-shadow-gray[data-v-0eb7194e]{box-shadow:0 %?10?% %?14?% 0 hsla(0,0%,74.9%,.2)}.tui-hover-gray[data-v-0eb7194e]{background:#f7f7f9!important}.tui-black-hover[data-v-0eb7194e]{background:#555!important;color:#e5e5e5!important}.tui-brown-hover[data-v-0eb7194e]{background:#a37f49!important;color:#e5e5e5!important}\r\n\r\n/* button start*/.tui-btn[data-v-0eb7194e]{width:100%;position:relative;border:0!important;border-radius:%?6?%;padding-left:0;padding-right:0;overflow:visible}.tui-btn[data-v-0eb7194e]::after{content:"";position:absolute;width:200%;height:200%;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scale(.5) translateZ(0);transform:scale(.5) translateZ(0);box-sizing:border-box;left:0;top:0;border-radius:%?12?%;border:0}.tui-text-bold[data-v-0eb7194e]{font-weight:700}.tui-btn-white[data-v-0eb7194e]::after{border:1px solid #bfbfbf}.tui-white-hover[data-v-0eb7194e]{background:#e5e5e5!important;color:#2e2e2e!important}.tui-dark-disabled[data-v-0eb7194e]{opacity:.6!important;color:#fafbfc!important}.tui-dark-disabled-outline[data-v-0eb7194e]{opacity:.5!important}.tui-gray-disabled[data-v-0eb7194e]{background:#f3f3f3!important;color:#919191!important;box-shadow:none}.tui-outline-hover[data-v-0eb7194e]{opacity:.5}.tui-primary-hover[data-v-0eb7194e]{background:#4a67d6!important;color:#e5e5e5!important}.tui-primary-outline[data-v-0eb7194e]::after{border:1px solid #5677fc!important}.tui-primary-outline[data-v-0eb7194e]{color:#5677fc!important;background:transparent}.tui-danger-hover[data-v-0eb7194e]{background:#c80808!important;color:#e5e5e5!important}.tui-danger-outline[data-v-0eb7194e]{color:#eb0909!important;background:transparent}.tui-danger-outline[data-v-0eb7194e]::after{border:1px solid #eb0909!important}.tui-warning-hover[data-v-0eb7194e]{background:#d67326!important;color:#e5e5e5!important}.tui-warning-outline[data-v-0eb7194e]{color:#fc872d!important;background:transparent}.tui-warning-outline[data-v-0eb7194e]::after{border:1px solid #fc872d!important}.tui-green-hover[data-v-0eb7194e]{background:#06ad56!important;color:#e5e5e5!important}.tui-green-outline[data-v-0eb7194e]{color:#07c160!important;background:transparent}.tui-green-outline[data-v-0eb7194e]::after{border:1px solid #07c160!important}.tui-blue-hover[data-v-0eb7194e]{background:#0062cc!important;color:#e5e5e5!important}.tui-blue-outline[data-v-0eb7194e]{color:#007aff!important;background:transparent}.tui-blue-outline[data-v-0eb7194e]::after{border:1px solid #007aff!important}\n.tui-btn-gradual[data-v-0eb7194e]{background:linear-gradient(90deg,#ff5926,#f00e2c)!important;color:#fff!important}.tui-shadow-gradual[data-v-0eb7194e]{box-shadow:0 %?10?% %?14?% 0 rgba(235,9,9,.15)}\n.tui-gray-hover[data-v-0eb7194e]{background:#a3a3a3!important;color:#898989}\n.tui-gradual-hover[data-v-0eb7194e]{background:linear-gradient(90deg,#d74620,#cd1225)!important;color:#fff!important}\n.tui-gray-outline[data-v-0eb7194e]{color:#999!important;background:transparent!important}.tui-white-outline[data-v-0eb7194e]{color:#fff!important;background:transparent!important}.tui-black-outline[data-v-0eb7194e]{background:transparent!important;color:#333!important}.tui-gray-outline[data-v-0eb7194e]::after{border:1px solid #ccc!important}.tui-white-outline[data-v-0eb7194e]::after{border:1px solid #fff!important}.tui-black-outline[data-v-0eb7194e]::after{border:1px solid #333!important}.tui-brown-outline[data-v-0eb7194e]{color:#ac9157!important;background:transparent}.tui-brown-outline[data-v-0eb7194e]::after{border:1px solid #ac9157!important}\r\n\r\n/*圆角 */.tui-fillet[data-v-0eb7194e]{border-radius:%?50?%}.tui-btn-white.tui-fillet[data-v-0eb7194e]::after{border-radius:%?98?%}.tui-outline-fillet[data-v-0eb7194e]::after{border-radius:%?98?%}\r\n\r\n/*平角*/.tui-rightAngle[data-v-0eb7194e]{border-radius:0}.tui-btn-white.tui-rightAngle[data-v-0eb7194e]::after{border-radius:0}.tui-outline-rightAngle[data-v-0eb7194e]::after{border-radius:0}.tui-btn__link[data-v-0eb7194e]::after{border:0!important}',""]),t.exports=e},"55de":function(t,e,i){var a=i("1269");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("4afc60e3",a,!0,{sourceMap:!1,shadowMode:!1})},"61fd":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("d401"),i("d3b7"),i("25f0");var a={name:"tuiCountdown",props:{width:{type:Number,default:32},height:{type:Number,default:32},borderColor:{type:String,default:"#333"},backgroundColor:{type:String,default:"#fff"},size:{type:Number,default:24},color:{type:String,default:"#333"},scale:{type:Boolean,default:!1},colonSize:{type:Number,default:28},colonColor:{type:String,default:"#333"},time:{type:Number,default:0},days:{type:Boolean,default:!1},hours:{type:Boolean,default:!0},minutes:{type:Boolean,default:!0},seconds:{type:Boolean,default:!0},unitEn:{type:Boolean,default:!1},isColon:{type:Boolean,default:!0},returnTime:{type:Boolean,default:!1},isMs:{type:Boolean,default:!1},msWidth:{type:Number,default:32},msSize:{type:Number,default:24},msColor:{type:String,default:"#333"}},watch:{time:function(t){this.clearTimer(),this.doLoop()}},data:function(){return{countdown:null,d:"0",h:"00",i:"00",s:"00",ms:[0,1,2,3,4,5,6,7,8,9],ani:!1}},created:function(){this.clearTimer(),this.doLoop()},beforeDestroy:function(){this.clearTimer()},methods:{getWidth:function(t,e){return t>99?e/2*t.toString().length:e},clearTimer:function(){clearInterval(this.countdown),this.countdown=null},endOfTime:function(){this.ani=!1,this.clearTimer(),this.$emit("end",{})},doLoop:function(){var t=this,e=this.time||0;this.ani=!0,this.countDown(e),this.countdown=setInterval((function(){e--,e<0?t.endOfTime():(t.countDown(e),t.returnTime&&t.$emit("time",{seconds:e}))}),1e3)},countDown:function(t){var e=0,i=0,a=0,o=0;t>0?(e=this.days?Math.floor(t/86400):0,i=this.hours?Math.floor(t/3600)-24*e:0,a=this.minutes?Math.floor(t/60)-60*i-24*e*60:0,o=Math.floor(t)-24*e*60*60-60*i*60-60*a):this.endOfTime(),i=i<10?"0"+i:i,a=a<10?"0"+a:a,o=o<10?"0"+o:o,this.d=e,this.h=i,this.i=a,this.s=o}}};e.default=a},7466:function(t,e,i){"use strict";i.r(e);var a=i("8879"),o=i("a24f");for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);i("469b");var n=i("f0c5"),d=Object(n["a"])(o["default"],a["b"],a["c"],!1,null,"12996aca",null,!1,a["a"],void 0);e["default"]=d.exports},8879:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tui-countdown-box"},[t.days?i("v-uni-view",{staticClass:"tui-countdown-item",style:{background:t.backgroundColor,borderColor:t.borderColor,width:t.getWidth(t.d,t.width)+"rpx",height:t.height+"rpx"}},[i("v-uni-view",{staticClass:"tui-countdown-time",class:[t.scale?"tui-countdown-scale":""],style:{fontSize:t.size+"rpx",color:t.color,lineHeight:t.size+"rpx"}},[t._v(t._s(t.d))])],1):t._e(),t.days?i("v-uni-view",{staticClass:"tui-countdown-colon",class:{"tui-colon-pad":"transparent"==t.borderColor},style:{lineHeight:t.colonSize+"rpx",fontSize:t.colonSize+"rpx",color:t.colonColor}},[t._v(t._s(t.isColon?":":"天"))]):t._e(),t.hours?i("v-uni-view",{staticClass:"tui-countdown-item",style:{background:t.backgroundColor,borderColor:t.borderColor,width:t.getWidth(t.h,t.width)+"rpx",height:t.height+"rpx"}},[i("v-uni-view",{staticClass:"tui-countdown-time",class:[t.scale?"tui-countdown-scale":""],style:{fontSize:t.size+"rpx",color:t.color,lineHeight:t.size+"rpx"}},[t._v(t._s(t.h))])],1):t._e(),t.hours?i("v-uni-view",{staticClass:"tui-countdown-colon",class:{"tui-colon-pad":"transparent"==t.borderColor},style:{lineHeight:t.colonSize+"rpx",fontSize:t.colonSize+"rpx",color:t.colonColor}},[t._v(t._s(t.isColon?":":"时"))]):t._e(),t.minutes?i("v-uni-view",{staticClass:"tui-countdown-item",style:{background:t.backgroundColor,borderColor:t.borderColor,width:t.getWidth(t.i,t.width)+"rpx",height:t.height+"rpx"}},[i("v-uni-view",{staticClass:"tui-countdown-time",class:[t.scale?"tui-countdown-scale":""],style:{fontSize:t.size+"rpx",color:t.color,lineHeight:t.size+"rpx"}},[t._v(t._s(t.i))])],1):t._e(),t.minutes?i("v-uni-view",{staticClass:"tui-countdown-colon",class:{"tui-colon-pad":"transparent"==t.borderColor},style:{lineHeight:t.colonSize+"rpx",fontSize:t.colonSize+"rpx",color:t.colonColor}},[t._v(t._s(t.isColon?":":"分"))]):t._e(),t.seconds?i("v-uni-view",{staticClass:"tui-countdown-item",style:{background:t.backgroundColor,borderColor:t.borderColor,width:t.getWidth(t.s,t.width)+"rpx",height:t.height+"rpx"}},[i("v-uni-view",{staticClass:"tui-countdown-time",class:[t.scale?"tui-countdown-scale":""],style:{fontSize:t.size+"rpx",color:t.color,lineHeight:t.size+"rpx"}},[t._v(t._s(t.s))])],1):t._e(),t.seconds&&!t.isColon?i("v-uni-view",{staticClass:"tui-countdown-colon",class:{"tui-colon-pad":"transparent"==t.borderColor},style:{lineHeight:t.colonSize+"rpx",fontSize:t.colonSize+"rpx",color:t.colonColor}},[t._v(t._s(t.unitEn?"s":"秒"))]):t._e(),t.seconds&&t.isMs&&t.isColon?i("v-uni-view",{staticClass:"tui-countdown-colon",style:{lineHeight:t.colonSize+"rpx",fontSize:t.colonSize+"rpx",color:t.colonColor}},[t._v(".")]):t._e(),t.seconds&&t.isMs?i("v-uni-view",{staticClass:"tui-countdown__ms",style:{background:t.backgroundColor,borderColor:t.borderColor,fontSize:t.msSize+"rpx",color:t.msColor,height:t.height+"rpx",width:t.msWidth>0?t.msWidth+"rpx":"auto"}},[i("v-uni-view",{class:{"tui-ms__list":t.ani}},t._l(t.ms,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tui-ms__item",style:{height:t.height+"rpx"}},[i("v-uni-view",{class:[t.scale?"tui-countdown-scale":""]},[t._v(t._s(e))])],1)})),1)],1):t._e()],1)},o=[]},"895f":function(t,e,i){"use strict";i.r(e);var a=i("91e0"),o=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},"91e0":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var o=a(i("01f0")),r=a(i("7466")),n={components:{diyfields:o.default,tuiCountdown:r.default},data:function(){return{orderid:0,status:1,time_amount:0,orderDetail:[],OrderImage:[],is_show:0}},onLoad:function(t){this.orderid=t.id,t&&t.scene&&(this.orderid=t.scene)},onShow:function(t){this.detail(),this.downDetail()},methods:{openLocation:function(){uni.openLocation({latitude:Number(this.orderDetail.orderInfo.address.latitude),longitude:Number(this.orderDetail.orderInfo.address.longitude),address:this.orderDetail.orderInfo.address.address,success:function(){console.log("success")},fail:function(){console.log("fail")}})},toTel:function(t){console.log(t),uni.makePhoneCall({phoneNumber:t})},takeopenLocation:function(){uni.openLocation({latitude:Number(this.orderDetail.orderInfo.take_address.latitude),longitude:Number(this.orderDetail.orderInfo.take_address.longitude),address:this.orderDetail.orderInfo.take_address.address,success:function(){console.log("success")},fail:function(){console.log("fail")}})},detail:function(){var t=this;t.$request.get("order.detail",{samkey:(new Date).valueOf(),id:t.orderid}).then((function(e){0==e.errno?(t.orderDetail=e.data,t.orderDetail&&t.orderDetail.orderInfo&&(t.OrderImage=t.orderDetail.orderInfo.OrderImage)):uni.showModal({title:"错误",content:e.msg,showCancel:!1})}))},downDetail:function(){var t=this;t.$request.get("order.countdown",{samkey:(new Date).valueOf(),id:t.orderid}).then((function(e){t.time_amount=e.data.time_amount}))},receiving:function(){var t=this;t.$request.post("order.receiving",{orderid:t.orderDetail.orderInfo.id}).then((function(e){0==e.errno&&t.detail()}))},start:function(){var t=this;t.$request.post("order.start",{orderid:t.orderDetail.orderInfo.id}).then((function(e){0==e.errno&&uni.showModal({title:"提示",content:"开始服务",showCancel:!1,success:function(e){t.detail(),t.downDetail()}})}))},complete:function(){var t=this;t.$request.post("order.complete",{orderid:t.orderDetail.orderInfo.id}).then((function(e){0==e.errno&&t.detail()}))},additional:function(){var t="/pagesA/my/admintechnical/additional?id="+this.orderDetail.orderInfo.id;uni.navigateTo({url:t})},previewImage:function(t){var e=this.OrderImage;console.log(e),uni.previewImage({current:t,urls:e})}},onPullDownRefresh:function(){this.detail(),this.downDetail(),setTimeout((function(){uni.stopPullDownRefresh()}),200)}};e.default=n},"97b8":function(t,e,i){"use strict";var a=i("e724"),o=i.n(a);o.a},"9a88":function(t,e,i){"use strict";i.r(e);var a=i("9e6e"),o=i("895f");for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);i("45ccc");var n=i("f0c5"),d=Object(n["a"])(o["default"],a["b"],a["c"],!1,null,"690a39a6",null,!1,a["a"],void 0);e["default"]=d.exports},"9e6e":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var a={tuiCountdown:i("7466").default,tuiListCell:i("aa25").default,tuiButton:i("a057").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"container"},[i("v-uni-view",{staticClass:"tui-order-header"},[i("v-uni-image",{staticClass:"tui-img-bg",attrs:{src:"/static/images/mall/order/img_detail_bg.png",mode:"widthFix"}}),i("v-uni-view",{staticClass:"tui-header-content"},[i("v-uni-view",[i("v-uni-view",{staticClass:"tui-status-text"},[t._v(t._s(t.orderDetail.orderInfo.orderStatus.name))])],1),t.time_amount>0&&8==t.orderDetail.orderInfo.order_status_id?i("tui-countdown",{attrs:{time:t.time_amount,width:80,height:80,size:"60",backgroundColor:"#333",borderColor:"#333",color:"#fff",colonColor:"#fff"}}):t._e(),1==t.orderDetail.orderInfo.order_status_id?i("v-uni-image",{staticClass:"tui-status-img",attrs:{src:"/static/images/mall/order/img_order_payment3x.png",mode:"widthFix"}}):t._e(),2==t.orderDetail.orderInfo.order_status_id?i("v-uni-image",{staticClass:"tui-status-img",attrs:{src:"/static/images/mall/order/img_order_send3x.png",mode:"widthFix"}}):t._e(),3==t.orderDetail.orderInfo.order_status_id?i("v-uni-image",{staticClass:"tui-status-img",attrs:{src:"/static/images/mall/order/img_order_received3x.png",mode:"widthFix"}}):t._e(),5==t.orderDetail.orderInfo.order_status_id?i("v-uni-image",{staticClass:"tui-status-img",attrs:{src:"/static/images/mall/order/img_order_signed3x.png",mode:"widthFix"}}):t._e(),4==t.orderDetail.orderInfo.order_status_id?i("v-uni-image",{staticClass:"tui-status-img",attrs:{src:"/static/images/mall/order/img_order_closed3x.png",mode:"widthFix"}}):t._e()],1)],1),1==t.orderDetail.orderInfo.is_errands?i("tui-list-cell",{attrs:{unlined:!0,hover:!1}},[i("v-uni-view",{staticClass:"tui-flex-box"},[i("v-uni-image",{staticClass:"tui-icon-img",attrs:{src:"/static/images/mall/order/img_order_address3x.png"}}),i("v-uni-view",{staticClass:"tui-addr"},[i("v-uni-view",{staticClass:"tui-addr-text"},[t._v("取件地址")]),i("v-uni-view",{staticClass:"tui-addr-userinfo",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toTel(t.orderDetail.orderInfo.take_address.telephone)}}},[t._v("联系人:"+t._s(t.orderDetail.orderInfo.take_address.name)),i("v-uni-text",{staticClass:"tui-addr-tel",staticStyle:{color:"#5454f3"}},[t._v(t._s(t.orderDetail.orderInfo.take_address.telephone))])],1),i("v-uni-view",{staticClass:"tui-addr-text",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.takeopenLocation.apply(void 0,arguments)}}},[t._v("地址:"+t._s(t.orderDetail.orderInfo.take_address.province_name)+t._s(t.orderDetail.orderInfo.take_address.city_name)+t._s(t.orderDetail.orderInfo.take_address.district_name)+t._s(t.orderDetail.orderInfo.take_address.address)),i("v-uni-image",{staticClass:"map-img",attrs:{src:"/static/images/map.png"}}),i("v-uni-text",{staticStyle:{color:"#5454f3"}},[t._v("导航到这里")])],1)],1)],1)],1):t._e(),1==t.orderDetail.orderInfo.deliverymode||3==t.orderDetail.orderInfo.deliverymode?i("tui-list-cell",{attrs:{unlined:!0,hover:!1}},[i("v-uni-view",{staticClass:"tui-flex-box"},[i("v-uni-image",{staticClass:"tui-icon-img",attrs:{src:"/static/images/mall/order/img_order_address3x.png"}}),i("v-uni-view",{staticClass:"tui-addr"},[1==t.orderDetail.orderInfo.is_errands?i("v-uni-view",{staticClass:"tui-addr-text"},[t._v("收件地址")]):t._e(),i("v-uni-view",{staticClass:"tui-addr-userinfo",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toTel(t.orderDetail.orderInfo.address.telephone)}}},[t._v("联系人:"+t._s(t.orderDetail.orderInfo.address.name)),i("v-uni-text",{staticClass:"tui-addr-tel",staticStyle:{color:"#5454f3"}},[t._v(t._s(t.orderDetail.orderInfo.address.telephone))])],1),i("v-uni-view",{staticClass:"tui-addr-text",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openLocation.apply(void 0,arguments)}}},[t._v("地址:"+t._s(t.orderDetail.orderInfo.address.alladdress)),i("v-uni-image",{staticClass:"map-img",attrs:{src:"/static/images/map.png"}}),i("v-uni-text",{staticStyle:{color:"#5454f3"}},[t._v("导航到这里")])],1),1!=t.orderDetail.orderInfo.is_errands?i("v-uni-view",{staticClass:"tui-addr-text"},[t._v("预约时间:"+t._s(t.orderDetail.orderInfo.ServiceTime))]):t._e()],1)],1)],1):2==t.orderDetail.orderInfo.deliverymode?i("tui-list-cell",{attrs:{unlined:!0,hover:!1}},[i("v-uni-view",{staticClass:"tui-flex-box"},[i("v-uni-image",{staticClass:"tui-icon-img",attrs:{src:"/static/images/mall/order/img_order_address3x.png"}}),i("v-uni-view",{staticClass:"tui-addr"},[i("v-uni-view",{staticClass:"tui-addr-userinfo",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toTel(t.orderDetail.orderInfo.address.telephone)}}},[t._v("门店:"+t._s(t.orderDetail.orderInfo.store.title)),i("v-uni-text",{staticClass:"tui-addr-tel",staticStyle:{color:"#5454f3"}},[t._v(t._s(t.orderDetail.orderInfo.address.telephone))])],1),i("v-uni-view",{staticClass:"tui-addr-text"},[t._v("地址:"+t._s(t.orderDetail.orderInfo.store.province_name)+t._s(t.orderDetail.orderInfo.store.city_name)+t._s(t.orderDetail.orderInfo.store.district_name)+t._s(t.orderDetail.orderInfo.store.region_name))]),i("v-uni-view",{staticClass:"tui-addr-text"},[t._v("电话:"+t._s(t.orderDetail.orderInfo.store.tel))])],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"tui-order-item"},[i("tui-list-cell",{attrs:{hover:!1,lineLeft:!1}},[i("v-uni-view",{staticClass:"tui-goods-title"},[t._v("服务内容")])],1),t._l(t.orderDetail.goods,(function(e,a){return[i("tui-list-cell",{key:a+"_0",attrs:{padding:"0"}},[i("v-uni-view",{staticClass:"tui-goods-item"},[i("v-uni-image",{staticClass:"tui-goods-img",attrs:{src:e.image,mode:"widthFix"}}),i("v-uni-view",{staticClass:"tui-goods-center"},[i("v-uni-view",{staticClass:"tui-goods-name"},[t._v(t._s(e.name))]),e.label?i("v-uni-view",{staticClass:"tui-goods-attr"},[t._v(t._s(e.label))]):t._e()],1),i("v-uni-view",{staticClass:"tui-price-right"},[i("v-uni-view",[t._v("¥"+t._s(e.price))]),i("v-uni-view",[t._v("x"+t._s(e.quantity))])],1)],1)],1)]})),i("tui-list-cell",{attrs:{hover:!1,lineLeft:!1}},[i("v-uni-view",{staticClass:"tui-goods-title"},[t._v("订单备注")])],1),t.orderDetail.orderInfo.remark?i("v-uni-view",{staticClass:"tui-goods-attr"},[t._v(t._s(t.orderDetail.orderInfo.remark))]):t._e(),t.OrderImage&&t.OrderImage.length>0?i("v-uni-view",{staticClass:"tui-img__box"},[t._l(t.OrderImage,(function(e,a){return[i("v-uni-image",{key:a+"_0",class:{"tui-image":1===t.OrderImage.length},attrs:{src:e,mode:1===t.OrderImage.length?"widthFix":"aspectFill"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.previewImage(a)}}})]}))],2):t._e(),1==t.orderDetail.orderInfo.is_additional?i("v-uni-view",{staticClass:"tui-goods-info"},[i("v-uni-view",{staticClass:"tui-price-flex tui-size32 tui-pbtm20"},[i("v-uni-view",{staticClass:"tui-flex-shrink"},[t._v("预付金额")]),i("v-uni-view",{staticClass:"tui-goods-price"},[i("v-uni-view",{staticClass:"tui-size-24"},[t._v("¥")]),i("v-uni-view",{staticClass:"tui-price-large"},[t._v(t._s(t.orderDetail.orderInfo.total))])],1)],1),t.orderDetail.orderInfo.additional>0?i("v-uni-view",{staticClass:"tui-price-flex tui-size32 tui-pbtm20"},[i("v-uni-view",{staticClass:"tui-flex-shrink"},[t._v("尾款")]),i("v-uni-view",{staticClass:"tui-goods-price"},[i("v-uni-view",{staticClass:"tui-size-24"},[t.orderDetail.orderInfo.additional_pay_time>0?i("v-uni-text",[t._v("已支付")]):t._e(),0==t.orderDetail.orderInfo.additional_pay_time?i("v-uni-text",[t._v("未支付")]):t._e(),t._v("¥")],1),i("v-uni-view",{staticClass:"tui-price-large"},[t._v(t._s(t.orderDetail.orderInfo.additional))])],1)],1):t._e()],1):i("v-uni-view",{staticClass:"tui-goods-info"},[i("v-uni-view",{staticClass:"tui-price-flex tui-size32 tui-pbtm20"},[i("v-uni-view",{staticClass:"tui-flex-shrink"},[t._v("合计")]),i("v-uni-view",{staticClass:"tui-goods-price"},[i("v-uni-view",{staticClass:"tui-size-24"},[t._v("¥")]),i("v-uni-view",{staticClass:"tui-price-large"},[t._v(t._s(t.orderDetail.orderInfo.total))])],1)],1)],1)],2),i("v-uni-view",{staticClass:"tui-order-item",staticStyle:{"padding-bottom":"100rpx"}},[i("diyfields",{attrs:{ptype:"complete",orderid:t.orderid,gourl:"no",submittxt:"提交备注",posturl:"order.custom"}})],1),i("v-uni-view",{staticClass:"tui-safe-area"}),i("v-uni-view",{staticClass:"tui-tabbar tui-order-btn"},[2==t.orderDetail.orderInfo.order_status_id?i("v-uni-view",{staticClass:"tui-btn-mr"},[i("tui-button",{attrs:{type:"black",plain:!0,width:"152rpx",height:"56rpx",size:26,shape:"circle"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.receiving.apply(void 0,arguments)}}},[t._v("确认接单")])],1):t._e(),8==t.orderDetail.orderInfo.order_status_id&&1==t.orderDetail.orderInfo.is_additional?i("v-uni-view",{staticClass:"tui-btn-mr"},[i("tui-button",{attrs:{type:"black",plain:!0,width:"152rpx",height:"56rpx",size:26,shape:"circle"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.additional.apply(void 0,arguments)}}},[t._v("修改尾款")])],1):t._e(),3==t.orderDetail.orderInfo.order_status_id?i("v-uni-view",{staticClass:"tui-btn-mr"},[i("tui-button",{attrs:{type:"black",plain:!0,width:"152rpx",height:"56rpx",size:26,shape:"circle"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.start.apply(void 0,arguments)}}},[t._v("开始服务")])],1):t._e(),8==t.orderDetail.orderInfo.order_status_id?i("v-uni-view",{staticClass:"tui-btn-mr"},[i("tui-button",{attrs:{type:"black",plain:!0,width:"152rpx",height:"56rpx",size:26,shape:"circle"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.complete.apply(void 0,arguments)}}},[t._v("完成服务")])],1):t._e()],1)],1)},r=[]},a057:function(t,e,i){"use strict";i.r(e);var a=i("0499"),o=i("f47f");for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);i("97b8");var n=i("f0c5"),d=Object(n["a"])(o["default"],a["b"],a["c"],!1,null,"0eb7194e",null,!1,a["a"],void 0);e["default"]=d.exports},a24f:function(t,e,i){"use strict";i.r(e);var a=i("61fd"),o=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},b427:function(t,e,i){var a=i("fc77");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("5509a428",a,!0,{sourceMap:!1,shadowMode:!1})},bab1:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("c975");var a={name:"tuiButton",behaviors:["wx://form-field-button"],props:{type:{type:String,default:"primary"},shadow:{type:Boolean,default:!1},width:{type:String,default:"100%"},height:{type:String,default:"96rpx"},size:{type:Number,default:32},bold:{type:Boolean,default:!1},margin:{type:String,default:"0"},shape:{type:String,default:"square"},plain:{type:Boolean,default:!1},link:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},disabledGray:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},formType:{type:String,default:""},openType:{type:String,default:""},index:{type:[Number,String],default:0},preventClick:{type:Boolean,default:!1}},data:function(){return{time:0}},methods:{handleClick:function(){var t=this;if(!this.disabled){if(this.preventClick){if((new Date).getTime()-this.time<=200)return;this.time=(new Date).getTime(),setTimeout((function(){t.time=0}),200)}this.$emit("click",{index:Number(this.index)})}},bindgetuserinfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.detail,i=void 0===e?{}:e;this.$emit("getuserinfo",i)},bindcontact:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.detail,i=void 0===e?{}:e;this.$emit("contact",i)},bindgetphonenumber:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.detail,i=void 0===e?{}:e;this.$emit("getphonenumber",i)},binderror:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.detail,i=void 0===e?{}:e;this.$emit("error",i)},getShadowClass:function(t,e,i){var a="";return e&&"white"!=t&&!i&&(a="tui-shadow-"+t),a},getDisabledClass:function(t,e,i){var a="";if(t&&"white"!=e&&-1==e.indexOf("-")){var o=this.disabledGray?"tui-gray-disabled":"tui-dark-disabled";a=i?"tui-dark-disabled-outline":o}return a},getShapeClass:function(t,e){var i="";return"circle"==t?i=e?"tui-outline-fillet":"tui-fillet":"rightAngle"==t&&(i=e?"tui-outline-rightAngle":"tui-rightAngle"),i},getHoverClass:function(t,e,i){var a="";return t||(a=i?"tui-outline-hover":"tui-"+(e||"primary")+"-hover"),a}}};e.default=a},e724:function(t,e,i){var a=i("5237");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("3d123f11",a,!0,{sourceMap:!1,shadowMode:!1})},f47f:function(t,e,i){"use strict";i.r(e);var a=i("bab1"),o=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},fc77:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'.container[data-v-690a39a6]{padding-bottom:%?118?%}.tui-order-header[data-v-690a39a6]{width:100%;height:%?160?%;position:relative;background-color:#eb0909}.tui-img-bg[data-v-690a39a6]{width:100%;height:%?160?%}.tui-header-content[data-v-690a39a6]{width:100%;height:%?160?%;position:absolute;z-index:10;left:0;top:0;display:flex;align-items:center;justify-content:space-between;padding:0 %?70?%;box-sizing:border-box}.tui-status-text[data-v-690a39a6]{font-size:%?34?%;line-height:%?34?%;color:#fefefe}.tui-reason[data-v-690a39a6]{font-size:%?24?%;line-height:%?24?%;color:hsla(0,0%,99.6%,.75);padding-top:%?15?%;display:flex;align-items:center}.tui-reason-text[data-v-690a39a6]{padding-right:%?12?%}.tui-status-img[data-v-690a39a6]{width:%?80?%;height:%?80?%;display:block}.tui-flex-box[data-v-690a39a6]{width:100%;display:flex;align-items:center}.tui-icon-img[data-v-690a39a6]{width:%?44?%;height:%?44?%;flex-shrink:0}.map-img[data-v-690a39a6]{width:%?50?%;height:%?50?%;margin-left:%?10?%;margin-right:%?10?%;margin-top:%?-30?%;margin-bottom:%?-10?%}.tui-addr[data-v-690a39a6]{display:flex;flex-direction:column;justify-content:center;padding-left:%?20?%;box-sizing:border-box}.tui-addr-userinfo[data-v-690a39a6]{font-size:%?30?%;line-height:%?30?%;font-weight:700}.tui-addr-text[data-v-690a39a6]{font-size:%?24?%;line-height:%?32?%;padding-top:%?16?%}.tui-addr-tel[data-v-690a39a6]{padding-left:%?40?%}.tui-order-item[data-v-690a39a6]{margin-top:%?20?%;border-radius:%?10?%;overflow:hidden}.tui-goods-title[data-v-690a39a6]{width:100%;font-size:%?28?%;line-height:%?28?%;display:flex;align-items:center;justify-content:space-between}.tui-goods-item[data-v-690a39a6]{width:100%;padding:%?20?% %?30?%;box-sizing:border-box;display:flex;justify-content:space-between}.tui-goods-img[data-v-690a39a6]{width:%?180?%;height:%?180?%;display:block;flex-shrink:0}.tui-goods-center[data-v-690a39a6]{flex:1;padding:%?20?% %?8?%;box-sizing:border-box}.tui-goods-name[data-v-690a39a6]{max-width:%?310?%;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:%?26?%;line-height:%?32?%}.tui-goods-attr[data-v-690a39a6]{font-size:%?22?%;color:#888;line-height:%?32?%;padding-top:%?20?%;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.tui-price-right[data-v-690a39a6]{text-align:right;font-size:%?24?%;color:#888;line-height:%?30?%;padding-top:%?20?%}.tui-color-red[data-v-690a39a6]{color:#e41f19;padding-right:%?30?%}.tui-goods-price[data-v-690a39a6]{width:100%;display:flex;align-items:flex-end;justify-content:flex-end;font-size:%?24?%}.tui-size-24[data-v-690a39a6]{font-size:%?24?%;line-height:%?24?%}.tui-price-large[data-v-690a39a6]{font-size:%?32?%;line-height:%?30?%}.tui-goods-info[data-v-690a39a6]{width:100%;padding:%?30?%;box-sizing:border-box;background:#fff}.tui-price-flex[data-v-690a39a6]{display:flex;align-items:center;justify-content:space-between}.tui-size24[data-v-690a39a6]{padding-bottom:%?20?%;font-size:%?24?%;line-height:%?24?%;color:#888}.tui-size32[data-v-690a39a6]{font-size:%?32?%;line-height:%?32?%;font-weight:500}.tui-pbtm20[data-v-690a39a6]{padding-bottom:%?20?%}.tui-flex-shrink[data-v-690a39a6]{flex-shrink:0}.tui-primary-color[data-v-690a39a6]{color:#eb0909}.tui-order-info[data-v-690a39a6]{margin-top:%?20?%}.tui-order-title[data-v-690a39a6]{position:relative;font-size:%?28?%;line-height:%?28?%;padding-left:%?12?%;box-sizing:border-box}.tui-order-title[data-v-690a39a6]::before{content:"";position:absolute;left:0;top:0;border-left:%?4?% solid #eb0909;height:100%}.tui-order-content[data-v-690a39a6]{width:100%;padding:%?24?% %?30?%;box-sizing:border-box;background:#fff;font-size:%?24?%;line-height:%?30?%}.tui-order-flex[data-v-690a39a6]{display:flex;padding-top:%?18?%}.tui-order-flex[data-v-690a39a6]:first-child{padding-top:0}.tui-item-title[data-v-690a39a6]{width:%?132?%;flex-shrink:0}.tui-item-content[data-v-690a39a6]{color:#666;line-height:%?32?%}.tui-safe-area[data-v-690a39a6]{height:%?1?%;padding-bottom:env(safe-area-inset-bottom)}.tui-tabbar[data-v-690a39a6]{width:100%;height:%?98?%;background:#fff;position:fixed;left:0;bottom:0;display:flex;align-items:center;justify-content:flex-end;font-size:%?26?%;box-shadow:0 0 1px rgba(0,0,0,.3);padding-bottom:env(safe-area-inset-bottom);z-index:996}.tui-btn-mr[data-v-690a39a6]{margin-right:%?30?%}.tui-contact[data-v-690a39a6]{display:flex;align-items:center;justify-content:center;font-size:%?28?%}.tui-contact uni-image[data-v-690a39a6]{width:%?36?%;height:%?36?%;margin-right:%?16?%}.tui-btn-box[data-v-690a39a6]{width:100%;padding:0 %?30?%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;margin-top:%?30?%}.tui-img__box[data-v-690a39a6]{width:100%;font-size:0;padding-top:%?4?%}.tui-img__box uni-image[data-v-690a39a6]{width:%?200?%;height:%?200?%;margin-right:%?12?%;margin-top:%?12?%}.tui-image[data-v-690a39a6]{width:%?400?%!important;height:auto}',""]),t.exports=e}}]);
|