text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-detail_local_delivery-detail_local_delivery"],{"28c8":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场（https://ext.dcloud.net.cn）上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者，建议你使用scss预处理，并在插件代码中直接使用这些变量（无需 import 这个文件），方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者（插件使用者），你可以通过修改这些变量来定制自己的插件主题，实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理，你也可以直接在你的 scss 代码中使用如下变量，同时无需 import 这个文件\n */\n/**  -------------------------------------------------------------------默认主题颜色配置-------------------------------------------------- */\n/**  -------------------------------------------------------------------蓝色主题颜色配置-------------------------------------------------- */\n/**  -------------------------------------------------------------------绿色主题颜色配置-------------------------------------------------- */\n/* 文字基本颜色 */\n/* 文字尺寸 */.align-right[data-v-55551eef]{text-align:right}.detail-container[data-v-55551eef]{height:100vh}.detail-container .height-box[data-v-55551eef]{display:block;padding-bottom:%?100?%;padding-bottom:calc(%?100?% + constant(safe-area-inset-bottom));padding-bottom:calc(%?100?% + env(safe-area-inset-bottom))}.status-wrap[data-v-55551eef]{padding:%?40?% %?20?%}.status-wrap > uni-view[data-v-55551eef]{text-align:center;color:#fff}.status-wrap .status-name[data-v-55551eef]{font-size:%?36?%;font-weight:600}.status-wrap .desc[data-v-55551eef]{margin-left:%?20?%}.status-wrap .price[data-v-55551eef]{font-weight:600}.status-wrap .operation-group[data-v-55551eef]{text-align:center;padding-top:%?20?%}.status-wrap .operation-group .operation-btn[data-v-55551eef]{line-height:1;padding:%?16?% %?50?%;display:inline-block;border-radius:%?32?%;background:#fff;box-shadow:0 0 %?14?% hsla(0,0%,62%,.6)}.address-wrap.active[data-v-55551eef]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.address-wrap[data-v-55551eef]{margin:%?20?%;padding:%?20?%;border-radius:4px;background:#fff;position:relative;min-height:%?100?%}.address-wrap .icon[data-v-55551eef]{margin-right:%?20?%}.address-wrap .icon .iconfont[data-v-55551eef]{line-height:%?50?%;font-size:%?28?%}.address-wrap .address-info[data-v-55551eef]{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1}.address-wrap .address-info .info[data-v-55551eef]{display:-webkit-box;display:-webkit-flex;display:flex}.address-wrap .address-info .info uni-text[data-v-55551eef]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.address-wrap .address-info .info uni-text[data-v-55551eef]:last-of-type{text-align:right}.address-wrap .address-info .detail[data-v-55551eef]{line-height:1.3;color:#999}.address-wrap .cell-more[data-v-55551eef]{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:%?10?%}.address-wrap .cell-more .iconfont[data-v-55551eef]{color:#999}.pickup-info[data-v-55551eef]{margin:%?20?%;padding:%?20?%;border-radius:4px;background:#fff;position:relative;padding:%?20?% %?30?%}.pickup-info .pickup-point-info .name[data-v-55551eef]{display:-webkit-box;display:-webkit-flex;display:flex;height:%?50?%;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;margin-bottom:10px}.pickup-info .pickup-point-info .name uni-text[data-v-55551eef]{line-height:1}.pickup-info .pickup-point-info .name uni-text.mark[data-v-55551eef]{font-size:%?20?%;padding:1px %?10?%;border:.5px solid #fff;border-radius:%?4?%;margin-left:%?10?%}.pickup-info .pickup-point-info .address[data-v-55551eef],\n.pickup-info .pickup-point-info .time[data-v-55551eef],\n.pickup-info .pickup-point-info .contact[data-v-55551eef]{font-size:%?26?%;line-height:1;margin-top:%?16?%}.pickup-info .pickup-point-info .address .iconfont[data-v-55551eef],\n.pickup-info .pickup-point-info .time .iconfont[data-v-55551eef],\n.pickup-info .pickup-point-info .contact .iconfont[data-v-55551eef]{color:#999;font-size:%?26?%;line-height:1;margin-right:%?10?%}.pickup-info .hr[data-v-55551eef]{border-top:1px dashed #e5e5e5;margin:%?20?% 0}.pickup-info .pickup-code-info .info[data-v-55551eef]{text-align:center}.pickup-info .pickup-code-info .code[data-v-55551eef]{margin:0 auto;width:%?160?%;height:%?160?%}.pickup-info .pickup-code-info .code uni-image[data-v-55551eef]{width:100%;height:100%}.verify-code-wrap[data-v-55551eef]{margin:%?20?%;padding:%?20?%;border-radius:4px;background:#fff;position:relative}.verify-code-wrap .wrap[data-v-55551eef]{line-height:%?40?%}.verify-code-wrap .wrap .copy[data-v-55551eef]{font-size:%?20?%;display:inline-block;color:#666;background:#f7f7f7;line-height:1;padding:%?6?% %?10?%;margin-left:%?10?%;border-radius:%?18?%}.verify-code-wrap .hr[data-v-55551eef]{border-top:1px dashed #e5e5e5;margin:%?20?% 0}.verify-code-wrap .code[data-v-55551eef]{margin:0 auto;width:%?200?%;height:%?200?%}.verify-code-wrap .code uni-image[data-v-55551eef]{width:100%;height:100%}.site-wrap[data-v-55551eef]{margin:%?20?%;padding:%?20?%;border-radius:4px;background:#fff;position:relative}.site-wrap .site-header[data-v-55551eef]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.site-wrap .site-header .icondianpu[data-v-55551eef]{display:inline-block;line-height:1;margin-right:%?12?%;font-size:%?30?%}.site-wrap .site-body .goods-wrap[data-v-55551eef]{margin-bottom:%?20?%;display:-webkit-box;display:-webkit-flex;display:flex;position:relative}.site-wrap .site-body .goods-wrap[data-v-55551eef]:last-of-type{margin-bottom:0}.site-wrap .site-body .goods-wrap .goods-img[data-v-55551eef]{width:%?180?%;height:%?180?%;padding:%?20?% 0 0 0;margin-right:%?20?%}.site-wrap .site-body .goods-wrap .goods-img uni-image[data-v-55551eef]{width:100%;height:100%;border-radius:4px}.site-wrap .site-body .goods-wrap .goods-info[data-v-55551eef]{-webkit-box-flex:1;-webkit-flex:1;flex:1;position:relative;padding:%?20?% 0 0 0;max-width:calc(100% - %?200?%)}.site-wrap .site-body .goods-wrap .goods-info .goods-name[data-v-55551eef]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5;font-size:%?28?%}.site-wrap .site-body .goods-wrap .goods-info .goods-sub-section[data-v-55551eef]{width:100%;line-height:1.3;display:-webkit-box;display:-webkit-flex;display:flex}.site-wrap .site-body .goods-wrap .goods-info .goods-sub-section .goods-price[data-v-55551eef]{font-weight:700;font-size:15px}.site-wrap .site-body .goods-wrap .goods-info .goods-sub-section .unit[data-v-55551eef]{font-weight:400;font-size:%?24?%;margin-right:%?2?%}.site-wrap .site-body .goods-wrap .goods-info .goods-sub-section uni-view[data-v-55551eef]{-webkit-box-flex:1;-webkit-flex:1;flex:1;line-height:1.3}.site-wrap .site-body .goods-wrap .goods-info .goods-sub-section uni-view[data-v-55551eef]:last-of-type{text-align:right}.site-wrap .site-body .goods-wrap .goods-info .goods-sub-section uni-view:last-of-type .iconfont[data-v-55551eef]{line-height:1;font-size:%?26?%}.site-wrap .site-body .goods-wrap .goods-info .goods-operation[data-v-55551eef]{text-align:right;padding-top:%?20?%}.site-wrap .site-body .goods-wrap .goods-info .goods-operation uni-navigator[data-v-55551eef]{display:inline-block}.site-wrap .site-body .goods-wrap .goods-info .goods-operation .operation-btn[data-v-55551eef]{line-height:1;padding:%?14?% %?20?%;color:#333;display:inline-block;border-radius:%?28?%;background:#fff;border:.5px solid #999;font-size:%?24?%;margin-left:%?10?%}.order-cell[data-v-55551eef]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?20?% 0;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:#fff;line-height:%?40?%}.order-cell .tit[data-v-55551eef]{text-align:left}.order-cell .box[data-v-55551eef]{-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:0 %?20?%;line-height:inherit}.order-cell .box .textarea[data-v-55551eef]{height:%?40?%}.order-cell .iconfont[data-v-55551eef]{color:#bbb;font-size:%?28?%}.order-cell .order-pay[data-v-55551eef]{padding:0}.order-cell .order-pay uni-text[data-v-55551eef]{display:inline-block;margin-left:%?6?%}.order-summary[data-v-55551eef]{margin:%?20?%;padding:%?20?%;border-radius:4px;background:#fff;position:relative}.order-summary .order-cell .tit[data-v-55551eef]{color:#999;width:%?170?%}.order-summary .order-cell .box[data-v-55551eef]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.order-summary .order-cell .copy[data-v-55551eef]{font-size:%?20?%;display:inline-block;color:#666;background:#f7f7f7;line-height:1;padding:%?6?% %?10?%;margin-left:%?10?%;border-radius:%?18?%}.order-summary .hr[data-v-55551eef]{width:calc(100% - %?190?%);margin-left:%?190?%;height:1px;background:#f7f7f7}.order-money[data-v-55551eef]{margin:%?20?%;padding:%?20?%;border-radius:4px;background:#fff;position:relative}.order-money .order-cell .tit[data-v-55551eef]{color:#999}.order-money .order-cell .box[data-v-55551eef]{font-weight:600;padding:0}.order-money .order-cell .box .operator[data-v-55551eef]{font-size:%?24?%;margin-right:%?6?%}.kefu[data-v-55551eef]{margin:%?20?%;padding:%?20?%;border-radius:4px;background:#fff;position:relative}.kefu > uni-view[data-v-55551eef]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.kefu > uni-view .iconfont[data-v-55551eef]{font-weight:700;margin-right:%?10?%;font-size:%?28?%;line-height:1}.kefu uni-button[data-v-55551eef]{width:100%;height:100%;position:absolute;border:none;z-index:1;padding:0;margin:0;background:none}.kefu uni-button[data-v-55551eef]::after{border:none!important}.order-operation[data-v-55551eef]{position:fixed;z-index:5;left:0;bottom:0;width:100vw;height:%?100?%;background:#fff;box-shadow:0 0 10px rgba(0,0,0,.1);text-align:right;line-height:%?100?%}.order-operation.bottom-safe-area[data-v-55551eef]{padding-bottom:0!important;padding-bottom:constant(safe-area-inset-bottom)!important;padding-bottom:env(safe-area-inset-bottom)!important}.order-operation .order-box-btn[data-v-55551eef]{margin-right:%?20?%;margin-left:0}',""]),t.exports=e},"2e6c":function(t,e,i){"use strict";var a=i("4ea4");i("b680"),i("d3b7"),i("acd8"),i("e25e"),i("25f0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,s=a(i("ade3")),n=a(i("dcdf")),r=a(i("5493")),d=(o={components:{},mixins:[n.default],data:function(){return{orderId:0,orderData:{action:[]}}},onLoad:function(t){t.order_id&&(this.orderId=t.order_id)},onShow:function(){this.$langConfig.refresh(),uni.getStorageSync("token")?this.getOrderData():this.$util.redirectTo("/pages/login/login/login",{back:"/pages/order/detail/detail?order_id="+this.orderId})}},(0,s.default)(o,"mixins",[r.default]),(0,s.default)(o,"methods",{goConnect:function(){var t=this;if(uni.getStorageSync("token")){var e={siteId:t.orderData.site_id,orderId:t.orderData.order_id};t.$util.redirectTo("/otherpages/chat/room/room",e)}else t.$util.redirectTo("/pages/login/login/login")},getOrderData:function(){var t=this;this.$api.sendRequest({url:"/api/order/detail",data:{order_id:this.orderId},success:function(e){if(uni.stopPullDownRefresh(),-1==e.code&&"TOKEN_ERROR"==e.error_code){t.$util.showToast({title:"登录失败"});var i=getCurrentPages(),a=i[i.length-1].options,o=i[i.length-1].route;return a.back=o,void setTimeout((function(){t.$util.redirectTo("/pages/login/login/login",a)}),1500)}e.code>=0?(t.$refs.loadingCover&&t.$refs.loadingCover.hide(),t.orderData=e.data):t.$util.showToast({title:"未获取到订单信息!！",success:function(){setTimeout((function(){t.$util.redirectTo("/pages/order/list/list")}),1500)}})},fail:function(e){uni.stopPullDownRefresh(),t.$refs.loadingCover&&t.$refs.loadingCover.hide()}})},onPullDownRefresh:function(){this.getOrderData()},operation:function(t){var e=this;switch(t){case"orderPay":this.orderPay(this.orderData);break;case"orderClose":this.orderClose(this.orderData.order_id,(function(){e.getOrderData()}));break;case"memberTakeDelivery":this.orderDelivery(this.orderData.order_id,(function(){e.getOrderData()}));break;case"trace":this.$util.redirectTo("/pages/order/logistics/logistics",{order_id:this.orderData.order_id});break;case"memberOrderEvaluation":this.$util.redirectTo("/otherpages/order/evaluate/evaluate",{order_id:this.orderData.order_id});break}},imageError:function(t){this.orderData.order_goods[t].sku_image=this.$util.getDefaultImage().default_goods_img,this.$forceUpdate()},toShopDetail:function(t){this.$util.redirectTo("/otherpages/shop/index/index",{site_id:t})}}),(0,s.default)(o,"filters",{abs:function(t){return Math.abs(parseFloat(t)).toFixed(2)},timeStr:function(t){var e=parseInt(t/3600).toString(),i=parseInt(t%3600/60).toString();return 1==i.length&&(i="0"+i),1==e.length&&(e="0"+e),e+":"+i}}),o);e.default=d},4914:function(t,e,i){var a=i("28c8");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("3c5dd277",a,!0,{sourceMap:!1,shadowMode:!1})},"4b00":function(t,e,i){"use strict";var a=i("4914"),o=i.n(a);o.a},5493:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={computed:{Development:function(){return this.$store.state.Development},themeStyleScore:function(){return this.$store.state.themeStyle},themeStyle:function(){return"theme-"+this.$store.state.themeStyle},addonIsExit:function(){return this.$store.state.addonIsExit},wholeSaleNumber:function(){return this.$store.state.wholeSaleNumber}}};e.default=a},"75b9":function(t,e,i){"use strict";i.r(e);var a=i("919d"),o=i("d7dd");for(var s in o)"default"!==s&&function(t){i.d(e,t,(function(){return o[t]}))}(s);i("4b00");var n,r=i("f0c5"),d=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"55551eef",null,!1,a["a"],n);e["default"]=d.exports},"919d":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return a}));var a={loadingCover:i("1ba8").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-scroll-view",{staticClass:"detail-container",class:t.themeStyle,attrs:{"scroll-y":"true"}},[i("v-uni-view",{staticClass:"status-wrap ns-bg-color"},[i("v-uni-view",[i("v-uni-text",{staticClass:"status-name"},[t._v(t._s(t.orderData.order_status_name))])],1),0==t.orderData.order_status?[i("v-uni-view",[i("v-uni-text",{staticClass:"desc"},[t._v("需付款："),i("v-uni-text",{staticClass:"ns-font-size-sm"},[t._v(t._s(t.$lang("common.currencySymbol")))]),i("v-uni-text",{staticClass:"ns-font-size-lg price"},[t._v(t._s(t.orderData.pay_money))])],1)],1),i("v-uni-view",{staticClass:"operation-group"},[i("v-uni-view",{staticClass:"operation-btn ns-text-color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.operation("orderPay")}}},[t._v("去支付")])],1)]:t._e()],2),i("v-uni-view",{staticClass:"address-wrap"},[i("v-uni-view",{staticClass:"address-info"},[i("v-uni-view",{staticClass:"info"},[i("v-uni-text",[t._v("收货人："+t._s(t.orderData.name))]),i("v-uni-text",[t._v(t._s(t.orderData.mobile))])],1),i("v-uni-view",{staticClass:"detail"},[i("v-uni-text",[t._v("收货地址："+t._s(t.orderData.full_address)+" "+t._s(t.orderData.address))])],1)],1),t.orderData.buyer_ask_delivery_time?i("v-uni-view",{staticClass:"pick-block first-pick-block"},[i("v-uni-text",[t._v("送达时间：")]),i("v-uni-text",{staticClass:"last-child"},[t._v(t._s(t._f("timeStr")(t.orderData.buyer_ask_delivery_time)))])],1):i("v-uni-view",{staticClass:"pick-block first-pick-block"},[i("v-uni-text",[t._v("送达时间：")]),i("v-uni-text",{staticClass:"last-child"},[t._v("立即送达")])],1),t.orderData.package_list?[i("v-uni-view",{staticClass:"pick-block"},[i("v-uni-view",[t._v("配送员：")]),i("v-uni-view",{staticClass:"last-child"},[t._v(t._s(t.orderData.package_list.deliverer))])],1),i("v-uni-view",{staticClass:"pick-block"},[i("v-uni-view",[t._v("外卖电话：")]),i("v-uni-view",{staticClass:"last-child"},[t._v(t._s(t.orderData.package_list.deliverer_mobile))])],1)]:t._e()],2),i("v-uni-view",{staticClass:"site-wrap"},[i("v-uni-view",{staticClass:"site-header",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toShopDetail(t.orderData.site_id)}}},[i("v-uni-view",{staticClass:"iconfont icondianpu"}),i("v-uni-text",{staticClass:"site-name"},[t._v(t._s(t.orderData.site_name))]),i("v-uni-view",{staticClass:"iconfont iconright"})],1),i("v-uni-view",{staticClass:"site-body"},t._l(t.orderData.order_goods,(function(e,a){return i("v-uni-view",{key:a,staticClass:"goods-wrap"},[i("v-uni-navigator",{staticClass:"goods-img",attrs:{"hover-class":"none",url:"/pages/goods/detail/detail?sku_id="+e.sku_id}},[i("v-uni-image",{attrs:{src:t.$util.img(e.sku_image,{size:"mid"}),mode:"aspectFill"},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.imageError(a)}}})],1),i("v-uni-view",{staticClass:"goods-info"},[i("v-uni-navigator",{staticClass:"goods-name",attrs:{"hover-class":"none",url:"/pages/goods/detail/detail?sku_id="+e.sku_id}},[t._v(t._s(e.sku_name))]),i("v-uni-view",{staticClass:"goods-sub-section"},[i("v-uni-view",[i("v-uni-text",{staticClass:"goods-price ns-text-color"},[i("v-uni-text",{staticClass:"unit"},[t._v(t._s(t.$lang("common.currencySymbol")))]),i("v-uni-text",[t._v(t._s(e.price))])],1)],1),i("v-uni-view",[i("v-uni-text",[i("v-uni-text",{staticClass:"iconfont iconclose"}),t._v(t._s(e.num))],1)],1)],1),i("v-uni-view",{staticClass:"goods-operation"},[t.orderData.is_enable_refund?[0==e.refund_status||-1==e.refund_status?i("v-uni-navigator",{attrs:{"hover-class":"none",url:"/otherpages/order/refund/refund?order_goods_id="+e.order_goods_id}},[i("v-uni-view",{staticClass:"order-box-btn"},[t._v("退款")])],1):i("v-uni-navigator",{attrs:{"hover-class":"none",url:"/otherpages/order/refund_detail/refund_detail?order_goods_id="+e.order_goods_id}},[i("v-uni-view",{staticClass:"order-box-btn"},[t._v("查看退款")])],1)]:t._e()],2)],1)],1)})),1)],1),i("v-uni-view",{staticClass:"kefu"},[t.addonIsExit.servicer?[i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goConnect.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont iconziyuan"}),i("v-uni-text",[t._v("联系客服")])],1)]:[i("v-uni-view",[i("v-uni-text",{staticClass:"iconfont iconziyuan"}),i("v-uni-text",[t._v("联系客服")])],1)]],2),i("v-uni-view",{staticClass:"order-summary"},[i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("订单编号：")]),i("v-uni-view",{staticClass:"box"},[i("v-uni-text",{staticClass:"ns-text-color-black"},[t._v(t._s(t.orderData.order_no))]),i("v-uni-view",{staticClass:"copy",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$util.copy(t.orderData.order_no)}}},[t._v("复制")])],1)],1),i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("订单交易号：")]),i("v-uni-view",{staticClass:"box"},[i("v-uni-text",{staticClass:"ns-text-color-black"},[t._v(t._s(t.orderData.out_trade_no))])],1)],1),i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("创建时间：")]),i("v-uni-view",{staticClass:"box"},[i("v-uni-text",{staticClass:"ns-text-color-black"},[t._v(t._s(t.$util.timeStampTurnTime(t.orderData.create_time)))])],1)],1),t.orderData.close_time>0?i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("关闭时间：")]),i("v-uni-view",{staticClass:"box"},[i("v-uni-text",{staticClass:"ns-text-color-black"},[t._v(t._s(t.$util.timeStampTurnTime(t.orderData.close_time)))])],1)],1):t._e(),t.orderData.pay_status>0?[i("v-uni-view",{staticClass:"hr"}),i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("支付方式：")]),i("v-uni-view",{staticClass:"box"},[i("v-uni-text",{staticClass:"ns-text-color-black"},[t._v(t._s(t.orderData.pay_type_name))])],1)],1),i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("支付时间：")]),i("v-uni-view",{staticClass:"box"},[i("v-uni-text",{staticClass:"ns-text-color-black"},[t._v(t._s(t.$util.timeStampTurnTime(t.orderData.pay_time)))])],1)],1)]:t._e(),i("v-uni-view",{staticClass:"hr"}),i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("配送方式：")]),i("v-uni-view",{staticClass:"box"},[i("v-uni-text",{staticClass:"ns-text-color-black"},[t._v(t._s(t.orderData.delivery_type_name))])],1)],1),""!=t.orderData.buyer_message?i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("买家留言：")]),i("v-uni-view",{staticClass:"box"},[i("v-uni-text",{staticClass:"ns-text-color-black"},[t._v(t._s(t.orderData.buyer_message))])],1)],1):t._e(),""!=t.orderData.promotion_type_name?i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("店铺活动：")]),i("v-uni-view",{staticClass:"box"},[i("v-uni-text",{staticClass:"ns-text-color-black"},[t._v(t._s(t.orderData.promotion_type_name))])],1)],1):t._e()],2),i("v-uni-view",{staticClass:"order-money"},[i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("商品金额")]),i("v-uni-view",{staticClass:"box align-right"},[i("v-uni-text",{staticClass:"ns-text-color-black"},[i("v-uni-text",{staticClass:"ns-font-size-sm"},[t._v(t._s(t.$lang("common.currencySymbol")))]),t._v(t._s(t.orderData.goods_money))],1)],1)],1),i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("运费")]),i("v-uni-view",{staticClass:"box align-right"},[i("v-uni-text",{staticClass:"ns-text-color"},[i("v-uni-text",{staticClass:"operator"},[t._v("+")]),i("v-uni-text",{staticClass:"ns-font-size-sm"},[t._v(t._s(t.$lang("common.currencySymbol")))]),i("v-uni-text",[t._v(t._s(t.orderData.delivery_money))])],1)],1)],1),t.orderData.invoice_money>0?i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("税费")]),i("v-uni-view",{staticClass:"box align-right"},[i("v-uni-text",{staticClass:"ns-text-color"},[i("v-uni-text",{staticClass:"operator"},[t._v("+")]),i("v-uni-text",{staticClass:"ns-font-size-sm"},[t._v(t._s(t.$lang("common.currencySymbol")))]),i("v-uni-text",[t._v(t._s(t.orderData.invoice_money))])],1)],1)],1):t._e(),0!=t.orderData.adjust_money?i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("订单调整")]),i("v-uni-view",{staticClass:"box align-right"},[i("v-uni-text",{staticClass:"ns-text-color"},[t.orderData.adjust_money<0?i("v-uni-text",{staticClass:"operator"},[t._v("-")]):i("v-uni-text",{staticClass:"operator"},[t._v("+")]),i("v-uni-text",{staticClass:"ns-font-size-sm"},[t._v(t._s(t.$lang("common.currencySymbol")))]),i("v-uni-text",[t._v(t._s(t._f("abs")(t.orderData.adjust_money)))])],1)],1)],1):t._e(),t.orderData.promotion_money>0?i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("优惠")]),i("v-uni-view",{staticClass:"box align-right"},[i("v-uni-text",{staticClass:"ns-text-color"},[i("v-uni-text",{staticClass:"operator"},[t._v("-")]),i("v-uni-text",{staticClass:"ns-font-size-sm"},[t._v(t._s(t.$lang("common.currencySymbol")))]),i("v-uni-text",[t._v(t._s(t.orderData.promotion_money))])],1)],1)],1):t._e(),t.orderData.coupon_money>0?i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("店铺优惠券")]),i("v-uni-view",{staticClass:"box align-right"},[i("v-uni-text",{staticClass:"ns-text-color"},[i("v-uni-text",{staticClass:"operator"},[t._v("-")]),i("v-uni-text",{staticClass:"ns-font-size-sm"},[t._v(t._s(t.$lang("common.currencySymbol")))]),i("v-uni-text",[t._v(t._s(t.orderData.coupon_money))])],1)],1)],1):t._e(),t.orderData.platform_coupon_total_money>0?i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("平台优惠券")]),i("v-uni-view",{staticClass:"box align-right"},[i("v-uni-text",{staticClass:"ns-text-color"},[i("v-uni-text",{staticClass:"operator"},[t._v("-")]),i("v-uni-text",{staticClass:"ns-font-size-sm"},[t._v(t._s(t.$lang("common.currencySymbol")))]),i("v-uni-text",[t._v(t._s(t.orderData.platform_coupon_total_money))])],1)],1)],1):t._e(),t.orderData.balance_money>0?i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-text",{staticClass:"tit"},[t._v("使用余额")]),i("v-uni-view",{staticClass:"box align-right"},[i("v-uni-text",{staticClass:"ns-text-color"},[i("v-uni-text",{staticClass:"operator"},[t._v("-")]),i("v-uni-text",{staticClass:"ns-font-size-sm"},[t._v(t._s(t.$lang("common.currencySymbol")))]),i("v-uni-text",[t._v(t._s(t.orderData.balance_money))])],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"order-cell"},[i("v-uni-view",{staticClass:"box align-right"},[i("v-uni-text",[t._v("应付款：")]),i("v-uni-text",{staticClass:"ns-text-color"},[i("v-uni-text",{staticClass:"ns-font-size-sm"},[t._v(t._s(t.$lang("common.currencySymbol")))]),i("v-uni-text",{staticClass:"ns-font-size-lg"},[t._v(t._s(t.orderData.pay_money))])],1)],1)],1)],1),i("v-uni-view",{staticClass:"height-box"}),t.orderData.action.length>0?i("v-uni-view",{staticClass:"order-operation bottom-safe-area"},[1==t.orderData.is_evaluate?i("v-uni-view",{staticClass:"order-box-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.operation("memberOrderEvaluation")}}},[0==t.orderData.evaluate_status?i("v-uni-text",[t._v("评价")]):1==t.orderData.evaluate_status?i("v-uni-text",[t._v("追评")]):t._e()],1):t._e(),t._l(t.orderData.action,(function(e,a){return i("v-uni-view",{key:a,staticClass:"order-box-btn",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.operation(e.action)}}},[t._v(t._s(e.title))])}))],2):0==t.orderData.action.length&&1==t.orderData.is_evaluate?i("v-uni-view",{staticClass:"order-operation bottom-safe-area"},[i("v-uni-view",{staticClass:"order-box-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.operation("memberOrderEvaluation")}}},[0==t.orderData.evaluate_status?i("v-uni-text",[t._v("评价")]):1==t.orderData.evaluate_status?i("v-uni-text",[t._v("追评")]):t._e()],1)],1):t._e(),i("loading-cover",{ref:"loadingCover"})],1)},s=[]},d7dd:function(t,e,i){"use strict";i.r(e);var a=i("2e6c"),o=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=o.a},dcdf:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={methods:{orderPay:function(t){var e=this;0==t.adjust_money?this.$api.sendRequest({url:"/api/order/pay",data:{order_ids:t.order_id},success:function(t){t.code>=0?e.$util.redirectTo("/pages/pay/index/index",{code:t.data}):e.$util.showToast({title:t.message})}}):uni.showModal({title:"提示",content:"商家已将支付金额调整为"+t.pay_money+"元，是否继续支付？",success:function(i){i.confirm&&e.$api.sendRequest({url:"/api/order/pay",data:{order_ids:t.order_id},success:function(t){t.code>=0?e.$util.redirectTo("/pages/pay/index/index",{code:t.data}):e.$util.showToast({title:t.message})}})}})},orderClose:function(t,e){var i=this;uni.showModal({title:"提示",content:"您确定要关闭该订单吗？",success:function(a){a.confirm&&i.$api.sendRequest({url:"/api/order/close",data:{order_id:t},success:function(t){t.code>=0?"function"==typeof e&&e():i.$util.showToast({title:t.message})}})}})},orderDelivery:function(t,e){var i=this;uni.showModal({title:"提示",content:"您确定已经收到货物了吗？",success:function(a){a.confirm&&i.$api.sendRequest({url:"/api/order/takedelivery",data:{order_id:t},success:function(t){"function"==typeof e&&e()}})}})}}};e.default=a}}]);