You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shop-app/h5/static/js/pages-order-detail-index.7a...

1 line
42 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-detail-index"],{"0123":function(t,e,n){var a=n("b081");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=n("4f06").default;r("30570ec4",a,!0,{sourceMap:!1,shadowMode:!1})},"09e6":function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("5530"));n("96cf");var o=a(n("1da1")),i=a(n("7932")),s=a(n("5a25")),c=a(n("359f")),u=n("c0d4"),l=a(n("fa07")),d=a(n("2d3a")),f=a(n("b774")),v=a(n("3d82")),p={components:{UiGoodsInfo:i.default,UiWhiteBox:s.default,UiButton:c.default,StatusTips:l.default,OrderInfo:d.default,LogisitcsInfo:f.default,Operation:v.default},data:function(){return{orderInfo:{products:[],logistics:{}}}},onLoad:function(){this.getOrderInfo()},methods:{getOrderInfo:function(){var t=this;return(0,o.default)(regeneratorRuntime.mark((function e(){var n,a,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,u.ApiGetOrderDetail)(t.$Route.query.id);case 2:if(n=e.sent,a=n.error,o=n.result,!a){e.next=8;break}return uni.$u.toast(a.message),e.abrupt("return",!1);case 8:t.orderInfo=(0,r.default)({},o);case 9:case"end":return e.stop()}}),e)})))()},timerCloseOrder:function(){this.orderInfo=(0,r.default)((0,r.default)({},this.orderInfo),{},{orderStatus:2,closeReason:"超时未支付"}),this.getOrderInfo()}}};e.default=p},"0afb":function(t,e,n){"use strict";var a=n("9e99"),r=n.n(a);r.a},1880:function(t,e,n){"use strict";n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{value:{type:String|Number,default:""}},methods:{copy:function(){uni.setClipboardData({data:this.value,showToast:!0})}}};e.default=a},"18fc":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAACURJREFUeNrtnWtsHFcVx393dhzWZps6qRs12InqJqKGJigqqEWV1eRDRSuIwFJBkLaoQSDxEFICahRBi+qgSFQqyP0CEgKRCIlQQSkFURUpFm7zaBGPEpHaKRDFdglO/SKW4zp+7M7hg3GyXs97751de+d8sb0zc2f2f8495/zPPXcMqaSSSiqppJLKqhBVqRtLT2cWsT6II1uDzy5AweOQU3SOy2UAWM559dHvnF5y/99841H3WxUC7lNyL6/nwgFhgoJ1Rj38vcGwuNgVUYTD4xTYD5JzOWPJD0QW7EYt/r54TK6fAyBq6bHi8Rx1FDhdcqOjS8ZYHFspl/GLxlt8nsWPlMsYxZcoBzn2tW5gv3qoqzcIHytRZfyiM0ee44h6ApS7MqQY8CIFeClDxP2Ym9Lc7rUMSHEZv+Q88RlDXM4TuQ+RM3Js34NVpRDW8yOUag8EaNkX9QA5LJAOnhMxAEgfg/BSlKdR2Tg8K0e+2lYVCpE/fPtuUJ9xRyaMRfqA4HbekmOOx0OFArLEjYaYnd5GZWNbXdUxQxznGf94EdJFBQKJRywJoYw4s1OiuDkB4QH56b77K6oQ6T70MKgP+8cLyrNI8QHSy2WJhtkZy6jku9K5y66IQqSnMws85RtQdVgkPkB6xazoQEabneJpVNto3f75yswQRx0EWjzjBUlYJJ6hK5KLcgPcz6h8MzEOy5G9jbF5SH504GOO8AiwA1HZMNdY+Wk499zmBZ/h5Wp8XBQ+IBA+HXWatn5ybnhw15KHO/V9H4PwG98jEyNy3GtC5R4HDkRSyMhIb24duZ+LsFtF5Pfq7de5powYQHqCFRVIK5NTipxrUI8OpLexEJSalxxz2C8//soP1Rd+cD6Uy5KeHnsduZeA3ZFrMtNjWJf/FT5ohidZ0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hq3qWuRXO1NQGrjTB0duGCVoKPGnrNaY64e84AnY+3xkKAz3wZ+A0rqUQhYLhKsAAAAAElFTkSuQmCC"},"26dd":function(t,e,n){var a=n("c2fd");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=n("4f06").default;r("ccd3d934",a,!0,{sourceMap:!1,shadowMode:!1})},"27d0":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={uCell:n("4290").default},r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("UiWhiteBox",[t.lastLogisitcs?a("u-cell",{staticClass:"address",attrs:{isLink:!0},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push("/logisitcsInfo?orderId="+t.orderInfo.orderId)}}},[a("v-uni-view",{staticClass:"address--title",attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.lastLogisitcs.context))]),a("v-uni-image",{staticClass:"address--icon",attrs:{slot:"icon",src:n("1ed2")},slot:"icon"}),a("v-uni-view",{staticClass:"address--label",attrs:{slot:"label"},slot:"label"},[a("v-uni-text",[t._v(t._s(t.lastLogisitcs.time))])],1)],1):t._e(),a("u-cell",{staticClass:"address",attrs:{border:!1}},[a("v-uni-view",{class:t.lastLogisitcs?"address--title__grey":"",attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.logisitcsInfo.recipientAddress))]),t.lastLogisitcs?a("v-uni-image",{staticClass:"address--icon",attrs:{slot:"icon",src:n("9294")},slot:"icon"}):a("v-uni-image",{staticClass:"address--icon",attrs:{slot:"icon",src:n("cc7f")},slot:"icon"}),a("v-uni-view",{staticClass:"address--label",attrs:{slot:"label"},slot:"label"},[a("v-uni-text",[t._v(t._s(t.logisitcsInfo.recipientName))]),a("v-uni-text",[t._v(t._s(t.logisitcsInfo.recipientPhone))])],1)],1)],1)},o=[]},"297e":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("UiRadioPicker",{attrs:{title:"请选择支付方式",show:t.show,options:t.options},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}})},o=[]},"2d3a":function(t,e,n){"use strict";n.r(e);var a=n("4143"),r=n("fa9d");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("8455");var i,s=n("f0c5"),c=Object(s["a"])(r["default"],a["b"],a["c"],!1,null,"37bed7d6",null,!1,a["a"],i);e["default"]=c.exports},"32f9":function(t,e,n){var a=n("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/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.address--title[data-v-4dac0691]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:%?500?%}.address--title__grey[data-v-4dac0691]{color:#999}.address--icon[data-v-4dac0691]{width:%?28?%;height:%?34?%;margin-right:%?30?%}.address--label[data-v-4dac0691]{margin-top:%?26?%}.address--label uni-text[data-v-4dac0691]{color:#999;margin-right:%?40?%}[data-v-4dac0691] .u-cell__body__content{padding:%?10?% 0}[data-v-4dac0691] .u-cell__title{font-weight:700;line-height:%?36?%}[data-v-4dac0691] .address--label{font-weight:400}',""]),t.exports=e},"336e":function(t,e,n){"use strict";n.r(e);var a=n("297e"),r=n("5bed");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var i,s=n("f0c5"),c=Object(s["a"])(r["default"],a["b"],a["c"],!1,null,"6c6d794e",null,!1,a["a"],i);e["default"]=c.exports},"3b18":function(t,e,n){"use strict";n.r(e);var a=n("fc25"),r=n("a186");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("6ceb");var i,s=n("f0c5"),c=Object(s["a"])(r["default"],a["b"],a["c"],!1,null,"32339c85",null,!1,a["a"],i);e["default"]=c.exports},"3d82":function(t,e,n){"use strict";n.r(e);var a=n("49c3"),r=n("aea5");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("f566");var i,s=n("f0c5"),c=Object(s["a"])(r["default"],a["b"],a["c"],!1,null,"43145cee",null,!1,a["a"],i);e["default"]=c.exports},4136:function(t,e,n){"use strict";var a=n("4ea4");n("ac1f"),n("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var r=a(n("1da1")),o=a(n("1687")),i=n("c0d4"),s={components:{UiRadioPicker:o.default},props:{show:{type:Boolean,default:!1},order:{type:Object,default:function(){return{}}}},data:function(){return{options:[{label:"微信支付",value:"wxpay"},{label:"支付宝支付",value:"alipay"}]}},methods:{confirm:function(t){var e=this;return(0,r.default)(regeneratorRuntime.mark((function t(){var n,a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.order.orderId,t.next=3,(0,i.ApiPostWxPay)({orderId:n,payTypeEnum:"WXPAY"});case 3:a=t.sent,r=a.error,a.result,r?e.$Router.replace("/payFail?ordId=".concat(n)):e.$Router.replace("/paySuccess?ordId=".concat(n));case 7:case"end":return t.stop()}}),t)})))()},close:function(){this.$emit("update:show",!1)}}};e.default=s},4143:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("UiWhiteBox",{staticClass:"cell-box"},[n("v-uni-view",{staticClass:"cell"},[n("v-uni-text",{staticClass:"cell--title"},[t._v("订单编号:")]),n("v-uni-view",{staticClass:"cell--value"},[n("v-uni-text",{staticClass:"cell--orderNo"},[t._v(t._s(t.orderInfo.orderNo))]),n("UiCopy",{attrs:{value:t.orderInfo.orderNo}})],1)],1),n("v-uni-view",{staticClass:"cell"},[n("v-uni-text",{staticClass:"cell--title"},[t._v("订单时间:")]),n("v-uni-text",{staticClass:"cell--value"},[t._v(t._s(t.orderInfo.submitTime))])],1),n("v-uni-view",{staticClass:"cell"},[n("v-uni-text",{staticClass:"cell--title"},[t._v("支付方式:")]),n("v-uni-text",{staticClass:"cell--value"},[t._v(t._s(t.orderInfo.payTypeDesc))])],1),t.orderInfo.logistics.companyName?n("v-uni-view",{staticClass:"cell"},[n("v-uni-text",{staticClass:"cell--title"},[t._v("配送方式:")]),n("v-uni-text",{staticClass:"cell--value"},[t._v(t._s(t.orderInfo.logistics.companyName))])],1):t._e(),n("v-uni-view",{staticClass:"cell"},[n("v-uni-text",{staticClass:"cell--title"},[t._v("买家留言:")]),n("v-uni-text",{staticClass:"cell--value"},[t._v(t._s(t.orderInfo.userMessage))])],1)],1),n("UiWhiteBox",{staticClass:"cell-box"},[n("v-uni-view",{staticClass:"cell"},[n("v-uni-text",{staticClass:"cell--title"},[t._v("商品总额:")]),n("v-uni-text",{staticClass:"cell--value"},[t._v("¥"+t._s(t.orderInfo.totalAmount))])],1),n("v-uni-view",{staticClass:"cell"},[n("v-uni-text",{staticClass:"cell--title"},[t._v("运费:")]),n("v-uni-text",{staticClass:"cell--value"},[t._v("¥"+t._s(t.orderInfo.shippingAmount))])],1),n("v-uni-view",{staticClass:"amount-box"},[1==t.orderInfo.orderStatus?n("v-uni-text",{staticClass:"amount-label"},[t._v("应付款:")]):n("v-uni-text",{staticClass:"amount-label"},[t._v("实付款:")]),n("UiMoney",{attrs:{money:t.orderInfo.payAmount,float:!0,prefix:!0,suffix:!0}})],1)],1)],1)},o=[]},"41ba":function(t,e,n){"use strict";n("ac1f"),n("466d"),Object.defineProperty(e,"__esModule",{value:!0}),e.IsDouble=e.IsInteger=e.IsNumber=e.IsPhone=e.Debounce=e.ToAsyncAwait=void 0;var a=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e?t.then((function(t){return{error:null,result:t}})).catch((function(t){return{error:t,result:null}})):t};e.ToAsyncAwait=a;var r=function(t,e){var n;return function(){var a=this,r=arguments;n&&clearTimeout(n),n=setTimeout((function(){t.apply(a,r)}),e)}};e.Debounce=r;var o=function(t){return/^(1[3-9]\d{9})$/.test(t)};e.IsPhone=o;var i=function(t){return!(!isDouble(t)&&!isInteger(t))};e.IsNumber=i;var s=function(t){if(null==t||""==t)return!1;var e=t.match(/^[-\+]?\d+$/);return null!=e};e.IsInteger=s;var c=function(t){if(null==t||""==t)return!1;var e=t.match(/^[-\+]?\d+(\.\d+)?$/);return null!=e};e.IsDouble=c},"49c3":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={uPopup:n("c98f").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"footer"},[t.orderInfo.orderStatus>=4?n("UiButton",{staticClass:"footer--btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push("/logisitcsInfo?orderId="+t.orderInfo.orderId)}}},[t._v("查看物流")]):t._e(),2===t.orderInfo.orderStatus?n("UiButton",{staticClass:"footer--btn"},[t._v("联系客服")]):t._e(),4===t.orderInfo.orderStatus?n("UiButton",{staticClass:"footer--btn",attrs:{type:"gradual"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.receive.apply(void 0,arguments)}}},[t._v("确认收货")]):t._e(),1===t.orderInfo.orderStatus?[n("UiButton",{staticClass:"footer--btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelShow=!0}}},[t._v("取消订单")]),n("UiButton",{staticClass:"footer--btn",attrs:{type:"gradual"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.payShow=!0}}},[t._v("去支付")])]:t._e(),n("u-popup",{staticClass:"cancel",attrs:{show:t.cancelShow,round:"16rpx",closeable:!0},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.closeCancel.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"cancel--title"},[t._v("取消订单原因")]),n("v-uni-radio-group",{staticClass:"cancel--cell"},[n("UiCell",{attrs:{title:"我不想买了"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelChange(1)}}},[n("v-uni-radio",{staticClass:"cancel--radio",attrs:{slot:"right-icon",checked:1==t.cancelValue,color:"#FF875B"},slot:"right-icon"})],1),n("UiCell",{attrs:{title:"地址信息填写错误"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelChange(2)}}},[n("v-uni-radio",{staticClass:"cancel--radio",attrs:{slot:"right-icon",checked:2==t.cancelValue,color:"#FF875B"},slot:"right-icon"})],1),n("UiCell",{attrs:{title:"商品降价"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelChange(3)}}},[n("v-uni-radio",{staticClass:"cancel--radio",attrs:{slot:"right-icon",checked:3==t.cancelValue,color:"#FF875B"},slot:"right-icon"})],1),n("UiCell",{attrs:{title:"商品无货"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelChange(4)}}},[n("v-uni-radio",{staticClass:"cancel--radio",attrs:{slot:"right-icon",checked:4==t.cancelValue,color:"#FF875B"},slot:"right-icon"})],1),n("UiCell",{attrs:{title:"其他"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelChange(5)}}},[n("v-uni-radio",{staticClass:"cancel--radio",attrs:{slot:"right-icon",checked:5==t.cancelValue,color:"#FF875B"},slot:"right-icon"})],1)],1),n("v-uni-view",{staticClass:"cancel--footer"},[n("UiButton",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeCancel.apply(void 0,arguments)}}},[t._v("暂不取消")]),n("UiButton",{attrs:{type:"gradual",disabed:0==t.cancelValue}},[t._v("确认取消")])],1)],1),n("BsPay",{staticClass:"modal",attrs:{show:t.payShow,order:t.orderInfo},on:{"update:show":function(e){arguments[0]=e=t.$handleEvent(e),t.payShow=e}}})],2)},o=[]},5767:function(t,e,n){"use strict";var a=n("dbce"),r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0});var o={};e.default=void 0;var i=r(n("5530")),s=a(n("41ba"));Object.keys(s).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))}));var c=a(n("d071"));Object.keys(c).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}}))}));var u=(0,i.default)((0,i.default)({},s),{},{requset:c});e.default=u},"5bed":function(t,e,n){"use strict";n.r(e);var a=n("4136"),r=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},"606d":function(t,e,n){var a=n("b1c3");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=n("4f06").default;r("6cd5fb64",a,!0,{sourceMap:!1,shadowMode:!1})},"66a0":function(t,e,n){var a=n("b0d0");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=n("4f06").default;r("2a43ec2a",a,!0,{sourceMap:!1,shadowMode:!1})},6827:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IAr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return o})),n.d(e,"a",(function(){return a}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"status"},[n("v-uni-image",{staticClass:"status--icon",attrs:{src:t.ctxCon.icon}}),n("v-uni-view",{staticClass:"status--name"},[t._v(t._s(t.ctxCon.name))]),n("v-uni-view",{staticClass:"status--desc"},[t._v(t._s(t.ctxCon.tips))])],1)},o=[]},"6ceb":function(t,e,n){"use strict";var a=n("0123"),r=n.n(a);r.a},"6d15":function(t,e,n){"use strict";n("99af"),n("e25e"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{orderInfo:{type:Object,default:{}}},data:function(){return{ctxData:{1:{name:"待付款",tips:"",icon:n("6827")},2:{name:"交易关闭",tips:"关闭原因",icon:n("8cd3")},3:{name:"等待发货",tips:"您的包裹整装待发",icon:n("18fc")},4:{name:"已发货",tips:"您的包裹正向您飞来",icon:n("18fc")},5:{name:"已收货",icon:n("18fc")},6:{name:"交易成功",icon:n("5b74")}},ctxCon:{},startSecondNum:0,timerStop:null}},watch:{orderInfo:function(t){var e=this.orderInfo.orderStatus;this.ctxCon=this.ctxData[e],1===e?(this.timerStop&&clearTimeout(this.timerStop),this.calcTimerStartSecondNum(),this.timer()):"2"===e&&(this.ctxCon.tips=this.orderInfo.closeReason)}},methods:{calcTimerStartSecondNum:function(){var t=new Date(this.orderInfo.expireTime).getTime(),e=new Date(this.orderInfo.serverTime).getTime(),n=Math.floor((t-e)/1e3);this.startSecondNum=n>0?n:0},timer:function(){var t=this;if(0!=this.startSecondNum){this.startSecondNum--;var e=parseInt(this.startSecondNum/60),n=parseInt(this.startSecondNum%60);this.ctxCon.tips="剩余".concat(e>0?"".concat(e,"分"):""," ").concat(n,"秒"),this.timerStop=setTimeout((function(){return t.timer()}),1e3)}else this.$emit("close")}}};e.default=a},"748a":function(t,e,n){"use strict";n.r(e);var a=n("6d15"),r=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},"7cda":function(t,e,n){"use strict";n.r(e);var a=n("1880"),r=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},8455:function(t,e,n){"use strict";var a=n("66a0"),r=n.n(a);r.a},9294:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAiCAMAAAB7o0l7AAAAAXNSR0IArs4c6QAAAM9QTFRFAAAAgICAgICAlZWVmZmZlZWVl5eXkpKSnJycmZmZlZWVlpaWmZmZl5eXmJiYmpqam5ubmJiYlpaWmZmZmpqal5eXmJiYmpqamJiYmZmZl5eXmJiYmpqamJiYmJiYmZmZl5eXmJiYmZmZmpqamJiYmZmZmZmZmJiYmZmZmZmZmpqamJiYmpqamZmZmZmZmJiYmZmZmJiYmZmZmJiYmZmZmJiYmJiYmZmZmZmZmJiYmZmZmZmZmZmZmJiYmZmZmZmZmJiYmZmZmZmZmJiYmZmZcJyr2AAAAER0Uk5TAAQIDBQYGxwfIyQnKCwvMDM0ODw/QENESEtMT1NUV19gY2dvd3uHj4+Tl5+fo6err7O7v8PHy8vP09fb3+fr7/Pz9/sXJ7mNAAABiElEQVQYGXXBDVvSUACG4XeMSRLTAgTSEHM0RxYVH0KsA1t7/v9v6pzBxTXI7ltH3XhhwCzirs54o5SjdOSp4nLFidWljnoZYJJBXaoPEgNkPR30CsjHNR3UxjkUPZWaGWxCVYQbyJqyvBWkgU4EG1jKGkEe6kyYw0hSCmPtvbu/u9DeGFKpA6Ym50OK9eONnJqBjmJI5Dyyt30rJ4FYcxjICgsw334W8MuTNYC5DNRlPcPCl8Id3MmqgxEgJ4WWrM8wkQMIkAPIGcKzHEBbCGSl8F5WDBNZAWy1ghtZX+DlQupm0Jc1gJUmEMtq5pDNXoCVnBgS9cF4soYFpd8NWTUDfXkpfJLTXgB/vtblPEIqKYJdQ6XgpuOr1NhBJMlbw9LXCX8Ja0/WdQFzTxXeDIprlR6A76qYAg86iIAnHT0BkY4SINJBBCSqmAL3Kn0EpqryZlD0ZHULmHk64a8hu5KuMlj7OhOkYJpNA2mgf7QMbDZgWnpFO8fK23rVbQHFrf5juN0OVfEX4UJZ/x9eIvcAAAAASUVORK5CYII="},9631:function(t,e,n){var a=n("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/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.ui-copy[data-v-56048d8a]{color:#ff512b;font-size:%?24?%}',""]),t.exports=e},9995:function(t,e,n){"use strict";var a=n("ba62"),r=n.n(a);r.a},"9e99":function(t,e,n){var a=n("32f9");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=n("4f06").default;r("37f803ee",a,!0,{sourceMap:!1,shadowMode:!1})},a186:function(t,e,n){"use strict";n.r(e);var a=n("09e6"),r=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},a1ad:function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("5a25")),o=a(n("d463")),i=a(n("dd25")),s={components:{UiWhiteBox:r.default,UiCopy:o.default,UiMoney:i.default},props:{orderInfo:{type:Object,default:function(){return{}}}}};e.default=s},a478:function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var r=a(n("1da1")),o=a(n("359f")),i=a(n("f196")),s=n("c0d4"),c=a(n("336e")),u={components:{UiButton:o.default,UiCell:i.default,BsPay:c.default},props:{orderInfo:{type:Object,default:function(){return{}}}},data:function(){return{cancelShow:!1,cancelValue:0,payShow:!1}},methods:{closeCancel:function(){this.cancelShow=!1,this.cancelValue=0},cancelChange:function(t){this.cancelValue=t},cancelOrder:function(){var t=this;return(0,r.default)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,s.ApiPutCancelOrder)({cancelReasonType:t.cancelValue,orderId:t.$Route.query.id});case 2:if(n=e.sent,a=n.error,n.result,!a){e.next=8;break}return uni.$u.toast(a.message),e.abrupt("return",!1);case 8:case"end":return e.stop()}}),e)})))()},receive:function(){var t=this;return(0,r.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$msb.confirm({content:"确认已经收到货了吗?",confirm:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,s.ApiPutOrderReceive)({orderId:t.$Route.query.id});case 2:if(n=e.sent,a=n.error,!a){e.next=7;break}return uni.$toast(a.message),e.abrupt("return",!1);case 7:t.$Router.push("/orderSuccess");case 8:case"end":return e.stop()}}),e)})));function n(){return e.apply(this,arguments)}return n}()});case 1:case"end":return e.stop()}}),e)})))()}}};e.default=u},aea5:function(t,e,n){"use strict";n.r(e);var a=n("a478"),r=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},b081:function(t,e,n){var a=n("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/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-page-body[data-v-32339c85]{background:#f8f8f8;padding-bottom:%?138?%}.goods-info-operation[data-v-32339c85]{padding-top:%?30?%;text-align:right}.goods-info__last[data-v-32339c85]{border:0}body.?%PAGE?%[data-v-32339c85]{background:#f8f8f8}',""]),t.exports=e},b0d0:function(t,e,n){var a=n("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/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.cell-box[data-v-37bed7d6]{padding:%?30?%}.cell[data-v-37bed7d6]{height:%?56?%;line-height:%?56?%;display:flex;justify-content:space-between}.cell--value[data-v-37bed7d6]{font-size:%?24?%}.cell--orderNo[data-v-37bed7d6]{margin-right:%?20?%;font-size:%?24?%}.cell--title[data-v-37bed7d6]{color:#999;font-size:%?24?%}.amount-box[data-v-37bed7d6]{text-align:right;margin-top:%?30?%;display:flex;align-items:center;justify-content:flex-end}.amount-label[data-v-37bed7d6]{font-size:%?24?%}.amount[data-v-37bed7d6]{color:#ff512b;font-size:%?32?%}[data-v-37bed7d6] .ui-money--price{font-size:%?36?%;color:#ff512b}[data-v-37bed7d6] .ui-money--prefix{font-size:%?24?%;color:#ff512b}[data-v-37bed7d6] .ui-money--suffix{font-size:%?28?%;color:#ff512b}',""]),t.exports=e},b1c3:function(t,e,n){var a=n("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/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.footer[data-v-43145cee]{height:%?138?%;padding:0 %?30?%;background:#fff;position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:flex-end;align-items:center}.footer--btn[data-v-43145cee]{display:inline-block;margin:0 0 0 %?30?%}.cancel[data-v-43145cee]{flex:0}.cancel--title[data-v-43145cee]{text-align:center;font-size:%?34?%;margin:%?40?% 0 %?30?%}.cancel--cell[data-v-43145cee]{padding:0 %?40?%}.cancel--footer[data-v-43145cee]{padding:%?68?% %?40?%;display:flex;justify-content:space-between}.cancel--radio[data-v-43145cee]{-webkit-transform:scale(60%);transform:scale(60%)}.modal[data-v-43145cee]{flex:0}',""]),t.exports=e},b774:function(t,e,n){"use strict";n.r(e);var a=n("27d0"),r=n("d5d0");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("0afb");var i,s=n("f0c5"),c=Object(s["a"])(r["default"],a["b"],a["c"],!1,null,"4dac0691",null,!1,a["a"],i);e["default"]=c.exports},ba62:function(t,e,n){var a=n("9631");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=n("4f06").default;r("0369750b",a,!0,{sourceMap:!1,shadowMode:!1})},c2fd:function(t,e,n){var a=n("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/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.status[data-v-49a02679]{padding:%?40?% %?60?% 0;margin-bottom:%?48?%;min-height:%?130?%;position:relative}.status--icon[data-v-49a02679]{width:%?100?%;height:%?100?%;position:absolute;right:%?60?%;top:%?40?%}.status--name[data-v-49a02679]{font-size:%?36?%;line-height:%?36?%;margin:%?8?% 0 %?20?%;font-weight:700}.status--desc[data-v-49a02679]{font-size:%?28?%;line-height:%?28?%;color:#999;margin-bottom:%?48?%}',""]),t.exports=e},d071:function(t,e,n){"use strict";var a=n("4ea4");n("4de4"),n("caad"),n("d3b7"),n("ac1f"),n("2532"),n("38cf"),n("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.MsbRequestTk=e.MsbRequest=void 0;var r=a(n("5530")),o=a(n("fda4")),i=a(n("4308")),s="test",c={test:"https://k8s-horse-gateway.mashibing.cn",release:"",prod:""},u=function(t,e){if(v(e),200===t.statusCode){var n=t.data;return"SUCCESS"===n.code?n.data:"TOKEN_EXPIRE"===n.code?(uni.navigateTo({url:"/login"}),n):Promise.reject(n)}return t},l=function(t,e){return v(e),{message:t.errMsg,code:t.statusCode}},d=[],f=function(t){var e={url:t.url,method:t.method,data:t.data};return d.includes(JSON.stringify(e))?Promise.reject({message:"请勿频繁操作"}):(d.push(JSON.stringify(e)),!1)},v=function(t){d=d.filter((function(e){return e!==JSON.stringify({url:t.url,method:t.method,data:t.data})}))},p=new o.default;e.MsbRequest=p,p.baseUrl=c[s],p.use("request",(function(t){if(t.header.repeat){var e=f(t);if(e)return e}return t})),p.use("success",u),p.use("error",l);var h=new o.default;e.MsbRequestTk=h,h.baseUrl=c[s],h.use("request",(function(t){var e=i.default.state.token;if(e){if(t.header=(0,r.default)((0,r.default)({},t.header),{},{Authorization:e}),t.header.repeat){var n=f(t);if(n)return n}return t}var a=getCurrentPages(),o=a[a.length-1];return o.$Router.replace("/login"),Promise.reject({message:"要先登录才能操作哦~"})})),h.use("success",u),h.use("error",l)},d463:function(t,e,n){"use strict";n.r(e);var a=n("ec63"),r=n("7cda");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("9995");var i,s=n("f0c5"),c=Object(s["a"])(r["default"],a["b"],a["c"],!1,null,"56048d8a",null,!1,a["a"],i);e["default"]=c.exports},d5d0:function(t,e,n){"use strict";n.r(e);var a=n("e4af"),r=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},df96:function(t,e,n){"use strict";var a=n("26dd"),r=n.n(a);r.a},e4af:function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("5a25")),o={components:{UiWhiteBox:r.default},props:{logisitcsInfo:{type:Object,defalut:function(){return{}}}},computed:{lastLogisitcs:function(){var t=this.logisitcsInfo&&this.logisitcsInfo.logisticsDataList;return t&&t.length>0?t[0]:null}}};e.default=o},ec63:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-text",{staticClass:"ui-copy",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.copy.apply(void 0,arguments)}}},[t._v("复制")])},o=[]},f566:function(t,e,n){"use strict";var a=n("606d"),r=n.n(a);r.a},fa07:function(t,e,n){"use strict";n.r(e);var a=n("6bb3"),r=n("748a");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("df96");var i,s=n("f0c5"),c=Object(s["a"])(r["default"],a["b"],a["c"],!1,null,"49a02679",null,!1,a["a"],i);e["default"]=c.exports},fa9d:function(t,e,n){"use strict";n.r(e);var a=n("a1ad"),r=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},fc25:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("StatusTips",{attrs:{orderInfo:t.orderInfo},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.timerCloseOrder.apply(void 0,arguments)}}}),n("UiWhiteBox",t._l(t.orderInfo.products,(function(e,a){return n("UiGoodsInfo",{key:a,class:a===t.orderInfo.products.length-1&&"goods-info__last",attrs:{data:e}},[n("template",{slot:"operation"},[e.afterSaleApplyFlag||[2,3,4].includes(e.detailStatus)?n("v-uni-view",{staticClass:"goods-info-operation"},[e.afterSaleApplyFlag?n("UiButton",{attrs:{size:"min",type:"primaryLine"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.$Router.push("/saleAfterSelect?id="+e.orderProductId)}}},[t._v("申请售后")]):[n("UiButton",{attrs:{size:"min",type:"line"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.$Router.push("/saleAfterDetail?orderProductId="+e.orderProductId)}}},[t._v(t._s(2===e.detailStatus?"退款中":3===e.detailStatus?"已退款":"退款关闭"))])]],2):t._e()],1)],2)})),1),n("LogisitcsInfo",{attrs:{logisitcsInfo:t.orderInfo.logistics}}),n("OrderInfo",{attrs:{orderInfo:t.orderInfo}}),3!==t.orderInfo.orderStatus?n("Operation",{attrs:{orderInfo:t.orderInfo}}):t._e()],1)},o=[]},fda4:function(t,e,n){"use strict";var a=n("4ea4");n("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("5530")),o=a(n("d4ec")),i=a(n("bee2")),s=function(){function t(e){(0,o.default)(this,t),this.baseUrl="",this.header={repeat:!0},this.hook={request:null,success:null,error:null}}return(0,i.default)(t,[{key:"method",value:function(t){var e=this;if(t.header=(0,r.default)((0,r.default)({},this.header),t.header),t.url=this.baseUrl+t.url,this.hook.request&&(t=this.hook.request(t)),!t)throw new Error("没有请求配置或是request拦截未做return");return t.constructor===Promise?t:new Promise((function(n,a){uni.request((0,r.default)((0,r.default)({},t),{},{success:function(r){var o=r||r[1];if(o.statusCode>=200&&o.statusCode<400){if(e.hook.success){var i=e.hook.success(o,t);i&&i.constructor===Promise?i.then((function(t){n(t)}),(function(t){a(t)})):n(i)}else n(o);return!1}a(e.hook.error?e.hook.error(o,t):o)},fail:function(n){a(e.hook.error?e.hook.error(n,t):n)}}))}))}},{key:"use",value:function(t,e){this.hook[t]=e}},{key:"get",value:function(t,e,n){return this.method({method:"GET",url:t,data:e,header:n})}},{key:"post",value:function(t,e,n){return this.method({method:"POST",url:t,data:e,header:n})}},{key:"put",value:function(t,e,n){return this.method({method:"PUT",url:t,data:e,header:n})}},{key:"delete",value:function(t,e,n){return this.method({method:"DELETE",url:t,data:e,header:n})}}]),t}(),c=s;e.default=c}}]);