pages-order-expressInfo.2b76a462.js 11 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-expressInfo"],{2567:function(e,t,n){"use strict";var i=n("a2aa"),r=n.n(i);r.a},"29ae":function(e,t,n){"use strict";var i=n("4ea4");n("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("d42d")),o={name:"UniSteps",components:{uniIcons:r.default},props:{direction:{type:String,default:"row"},activeColor:{type:String,default:"#1aad19"},deactiveColor:{type:String,default:"#999999"},active:{type:Number,default:0},options:{type:Array,default:function(){return[]}}},data:function(){return{}}};t.default=o},"466e":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.container[data-v-cc724378]{padding:%?40?%}.container .express-box[data-v-cc724378]{border-radius:%?15?%}.container .express-box .top-text[data-v-cc724378]{width:100%;height:%?60?%;background:#fff;padding-left:%?20?%;font-size:%?28?%;border-radius:%?15?%;display:flex;align-items:center}.container .express-box .top-text .top-com[data-v-cc724378]{margin-right:%?10?%}.container .express-box .express-body[data-v-cc724378]{margin-top:%?20?%;background:#fff;border-radius:%?15?%;padding:%?20?% %?10?% %?20?% 0}',""]),e.exports=t},"4ba3":function(e,t,n){"use strict";n.r(t);var i=n("f9b8"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=r.a},"5b6f":function(e,t,n){"use strict";n.r(t);var i=n("29ae"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=r.a},6076:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={uniSteps:n("dd92").default},r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"container"},[n("v-uni-view",{staticClass:"express-box"},[n("v-uni-view",{staticClass:"top-text"},[n("v-uni-text",{staticClass:"top-com"},[e._v(e._s(e.expressList.com))]),n("v-uni-text",[e._v(e._s(e.expressList.nu))])],1),n("v-uni-view",{staticClass:"express-body"},[n("uni-steps",{attrs:{options:e.expressList.data,"active-color":"#007AFF",active:e.active,direction:"column"}})],1)],1)],1)},o=[]},"70ca":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.uni-steps[data-v-9c7d11fe]{display:flex;width:100%;flex-direction:column}.uni-steps__row[data-v-9c7d11fe]{display:flex;flex-direction:column}.uni-steps__column[data-v-9c7d11fe]{display:flex;flex-direction:row-reverse}.uni-steps__row-text-container[data-v-9c7d11fe]{display:flex;flex-direction:row}.uni-steps__column-text-container[data-v-9c7d11fe]{display:flex;flex-direction:column;flex:1}.uni-steps__row-text[data-v-9c7d11fe]{display:inline-flex;flex:1;flex-direction:column}.uni-steps__column-text[data-v-9c7d11fe]{padding:6px 0;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ebeef5;display:flex;flex-direction:column}.uni-steps__row-title[data-v-9c7d11fe]{font-size:%?28?%;line-height:16px;text-align:center}.uni-steps__column-title[data-v-9c7d11fe]{font-size:%?28?%;text-align:left;line-height:18px}.uni-steps__row-desc[data-v-9c7d11fe]{font-size:12px;line-height:14px;text-align:center}.uni-steps__column-desc[data-v-9c7d11fe]{font-size:%?24?%;text-align:left;line-height:18px}.uni-steps__row-container[data-v-9c7d11fe]{display:flex;flex-direction:row}.uni-steps__column-container[data-v-9c7d11fe]{display:inline-flex;width:30px;flex-direction:column}.uni-steps__row-line-item[data-v-9c7d11fe]{display:inline-flex;flex-direction:row;flex:1;height:14px;line-height:14px;align-items:center;justify-content:center}.uni-steps__column-line-item[data-v-9c7d11fe]{display:flex;flex-direction:column;flex:1;align-items:center;justify-content:center}.uni-steps__row-line[data-v-9c7d11fe]{flex:1;height:1px;background-color:#999}.uni-steps__column-line[data-v-9c7d11fe]{width:1px;background-color:#999}.uni-steps__row-line--after[data-v-9c7d11fe]{-webkit-transform:translateX(1px);transform:translateX(1px)}.uni-steps__column-line--after[data-v-9c7d11fe]{flex:1;-webkit-transform:translateY(1px);transform:translateY(1px)}.uni-steps__row-line--before[data-v-9c7d11fe]{-webkit-transform:translateX(-1px);transform:translateX(-1px)}.uni-steps__column-line--before[data-v-9c7d11fe]{height:6px;-webkit-transform:translateY(-1px);transform:translateY(-1px)}.uni-steps__row-circle[data-v-9c7d11fe]{width:5px;height:5px;border-radius:100px;background-color:#999;margin:0 3px}.uni-steps__column-circle[data-v-9c7d11fe]{width:5px;height:5px;border-radius:100px;background-color:#999;margin:4px 0 5px 0}.uni-steps__row-check[data-v-9c7d11fe]{margin:0 6px}.uni-steps__column-check[data-v-9c7d11fe]{height:14px;line-height:14px;margin:2px 0}',""]),e.exports=t},"7b86":function(e,t,n){"use strict";var i=n("aae8"),r=n.n(i);r.a},"8bbb":function(e,t,n){"use strict";n.r(t);var i=n("6076"),r=n("4ba3");for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("2567");var a,s=n("f0c5"),c=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"cc724378",null,!1,i["a"],a);t["default"]=c.exports},a2aa:function(e,t,n){var i=n("466e");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("4f06").default;r("130b64c6",i,!0,{sourceMap:!1,shadowMode:!1})},aae8:function(e,t,n){var i=n("70ca");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("4f06").default;r("d7a8a98e",i,!0,{sourceMap:!1,shadowMode:!1})},c2a3:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={uniIcons:n("d42d").default},r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"uni-steps"},[n("v-uni-view",{class:["column"===e.direction?"uni-steps__column":"uni-steps__row"]},[n("v-uni-view",{class:["column"===e.direction?"uni-steps__column-text-container":"uni-steps__row-text-container"]},e._l(e.options,(function(t,i){return n("v-uni-view",{key:i,class:["column"===e.direction?"uni-steps__column-text":"uni-steps__row-text"]},[n("v-uni-text",{class:["column"===e.direction?"uni-steps__column-title":"uni-steps__row-title"],style:{color:i<=e.active?e.activeColor:e.deactiveColor}},[e._v(e._s(t.status))]),n("v-uni-text",{class:["column"===e.direction?"uni-steps__column-desc":"uni-steps__row-desc"],style:{color:i<=e.active?e.activeColor:e.deactiveColor}},[e._v(e._s(t.context))]),n("v-uni-text",{class:["column"===e.direction?"uni-steps__column-desc":"uni-steps__row-desc"],style:{color:i<=e.active?e.activeColor:e.deactiveColor}},[e._v(e._s(t.time))])],1)})),1),n("v-uni-view",{class:["column"===e.direction?"uni-steps__column-container":"uni-steps__row-container"]},e._l(e.options,(function(t,i){return n("v-uni-view",{key:i,class:["column"===e.direction?"uni-steps__column-line-item":"uni-steps__row-line-item"]},[n("v-uni-view",{class:["column"===e.direction?"uni-steps__column-line":"uni-steps__row-line","column"===e.direction?"uni-steps__column-line--before":"uni-steps__row-line--before"],style:{backgroundColor:i<=e.active&&0!==i?e.activeColor:0===i?"transparent":e.deactiveColor}}),i===e.active?n("v-uni-view",{class:["column"===e.direction?"uni-steps__column-check":"uni-steps__row-check"]},[n("uni-icons",{attrs:{color:e.activeColor,type:"checkbox-filled",size:"14"}})],1):n("v-uni-view",{class:["column"===e.direction?"uni-steps__column-circle":"uni-steps__row-circle"],style:{backgroundColor:i<e.active?e.activeColor:e.deactiveColor}}),n("v-uni-view",{class:["column"===e.direction?"uni-steps__column-line":"uni-steps__row-line","column"===e.direction?"uni-steps__column-line--after":"uni-steps__row-line--after"],style:{backgroundColor:i<e.active&&i!==e.options.length-1?e.activeColor:i===e.options.length-1?"transparent":e.deactiveColor}})],1)})),1)],1)],1)},o=[]},d6f4:function(e,t,n){"use strict";var i=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.confirm=o,t.couponsOrder=a,t.getCouponsList=s,t.order_comment=c,t.product=u,t.express_query=d,t.upload=l,t.orderList=f,t.orderDetail=p,t.orderCancel=v,t.orderDel=_,t.refund=x,t.refundReason=m,t.orderTake=h,t.orderPay=b,t.createOrderkey=w,t.computedOrderkey=g;var r=i(n("c9b6"));function o(e){return(0,r.default)({url:"/api/order/confirm",method:"post",data:e})}function a(e,t,n){return(0,r.default)({url:"/api/coupons/order/"+t+"/"+n,method:"get",data:e})}function s(e,t){return(0,r.default)({url:"/api/coupons/user/"+t,method:"get",data:e})}function c(e){return(0,r.default)({url:"/api/order/comment",method:"post",data:e})}function u(e){return(0,r.default)({url:"/api/order/product",method:"post",data:e})}function d(e){return(0,r.default)({url:"/api/order/express_query",method:"get",data:e})}function l(e){return(0,r.upFilse)({url:"/api/upload/image",method:"post",data:e})}function f(e){return(0,r.default)({url:"/api/order/list",method:"get",data:e})}function p(e,t){return(0,r.default)({url:"/api/order/detail/"+t,method:"get",data:e})}function v(e){return(0,r.default)({url:"/api/order/cancel",method:"post",data:e})}function _(e){return(0,r.default)({url:"/api/order/del",method:"get",data:e})}function x(e){return(0,r.default)({url:"/api/order/refund/verify",method:"post",data:e})}function m(e){return(0,r.default)({url:"/api/order/refund/reason",method:"get",data:e})}function h(e){return(0,r.default)({url:"/api/order/take",method:"post",data:e})}function b(e){return(0,r.default)({url:"/api/order/pay",method:"post",data:e})}function w(e,t){return(0,r.default)({url:"/api/order/create/"+t,method:"post",data:e})}function g(e){return(0,r.default)({url:"/api/order/computed/"+e.orderkey,method:"post",data:e})}},dd92:function(e,t,n){"use strict";n.r(t);var i=n("c2a3"),r=n("5b6f");for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("7b86");var a,s=n("f0c5"),c=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"9c7d11fe",null,!1,i["a"],a);t["default"]=c.exports},f9b8:function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("d6f4"),o=i(n("dd92")),a={components:{uniSteps:o.default},data:function(){return{id:"",expressList:[],active:0}},onLoad:function(e){this.id=e.id},onShow:function(){this.loadData()},methods:{loadData:function(){var e=this;(0,r.express_query)({id:this.id}).then((function(t){var n=t.data;e.expressList=n,console.log(e.expressList)}))}}};t.default=a}}]);