(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-OrderDetails-OrderDetails"],{"2fc5":function(t,e,i){var s=i("24fb");e=s(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 主要颜色 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.page[data-v-4a314318]{position:relative;min-height:calc(100vh - %?90?%);background-color:#f6f6f6}\r\n/* 订单状态 */.order-status[data-v-4a314318]{width:100%;background:linear-gradient(90deg,#236030,#236030)}.order-status .status[data-v-4a314318]{display:flex;align-items:center;justify-content:center;width:100%;height:%?100?%}.order-status .status uni-text[data-v-4a314318]{font-size:%?38?%;color:#fff}.order-status .status .iconfont[data-v-4a314318]{margin-right:%?20?%}.order-status .reason[data-v-4a314318]{display:flex;justify-content:center;width:100%;height:%?80?%}.order-status .reason uni-text[data-v-4a314318]{font-size:%?28?%;color:#f6f6f6}\r\n/* 订单商品 */.order-goods[data-v-4a314318]{width:100%;background-color:#fff;border-radius:%?20?%}.order-goods .goods-list[data-v-4a314318]{padding:0 4%}.order-goods .goods-list .list[data-v-4a314318]{display:flex;align-items:center;width:100%;min-height:%?200?%}.order-goods .goods-list .list .thumb[data-v-4a314318]{display:flex;width:30%;text-align:center}.order-goods .goods-list .list .thumb uni-image[data-v-4a314318]{width:%?160?%;height:%?160?%;border-radius:%?10?%}.order-goods .goods-list .list .item[data-v-4a314318]{width:70%;height:100%}.order-goods .goods-list .list .item .title[data-v-4a314318]{display:flex;align-items:center;width:100%;height:%?60?%}.order-goods .goods-list .list .item .title uni-text[data-v-4a314318]{font-size:%?26?%;color:#222}.order-goods .goods-list .list .item .num-size[data-v-4a314318]{display:flex;align-items:center;width:100%;height:%?60?%}.order-goods .goods-list .list .item .num-size uni-text[data-v-4a314318]{font-size:%?26?%;color:#959595;margin-right:%?20?%}.order-goods .goods-list .list .item .num-size uni-text[data-v-4a314318]:last-child{margin-right:0}.order-goods .goods-list .list .item .price[data-v-4a314318]{display:flex;align-items:center;width:100%;height:%?60?%}.order-goods .goods-list .list .item .price uni-text[data-v-4a314318]{font-size:%?28?%;font-weight:700;color:#222}.order-goods .goods-list .list .item .order-btn[data-v-4a314318]{display:flex;align-items:center;justify-content:flex-end;width:100%;height:%?100?%}.order-goods .goods-list .list .item .order-btn .btn[data-v-4a314318]{padding:%?10?% %?30?%;color:#555;font-size:%?26?%;border:%?2?% solid #eee;border-radius:%?100?%}.order-goods .goods-list .list .item .order-btn[data-v-4a314318]{display:flex;align-items:center;justify-content:flex-end;width:100%;height:%?100?%}.order-goods .goods-list .list .item .order-btn .btn[data-v-4a314318]{padding:%?10?% %?30?%;color:#555;font-size:%?26?%;border:%?2?% solid #eee;border-radius:%?100?%}.order-goods .contact[data-v-4a314318]{display:flex;align-items:center;justify-content:center;display:flex;align-items:center;width:100%;height:%?100?%;background-color:#fff;box-shadow:0 0 %?20?% #eee;border-radius:0 0 %?20?% %?20?%}.order-goods .contact uni-text[data-v-4a314318]{font-size:%?28?%;color:#555}.order-goods .contact .iconfont[data-v-4a314318]{font-size:%?34?%;margin-right:%?20?%}\r\n/* 订单信息 */.order-info[data-v-4a314318]{width:100%;background-color:#fff;border-radius:%?20?%;margin:%?20?% auto}.order-info .info-list[data-v-4a314318]{padding:0 4%}.order-info .info-list .list[data-v-4a314318]{display:flex;align-items:center;width:100%;height:%?100?%;border-bottom:%?2?% solid #f6f6f6}.order-info .info-list .list .title[data-v-4a314318]{font-size:%?26?%;color:#959595}.order-info .info-list .list .content[data-v-4a314318]{display:flex;align-items:center;margin-left:%?20?%}.order-info .info-list .list .content uni-text[data-v-4a314318]{font-size:%?26?%;font-weight:700;color:#222}.order-info .info-list .list .content .btn[data-v-4a314318]{padding:%?6?% %?20?%;background-color:#eee;color:#555;font-size:%?24?%;border-radius:%?50?%;margin-left:%?40?%}\r\n/* 订单明细 */.order-details[data-v-4a314318]{width:100%;background-color:#fff;border-radius:%?20?%;margin:%?20?% auto}.order-details .details-list[data-v-4a314318]{padding:0 4%}.order-details .details-list .list[data-v-4a314318]{display:flex;align-items:center;justify-content:space-between;width:100%;height:%?100?%;border-bottom:%?2?% solid #f6f6f6}.order-details .details-list .list .title[data-v-4a314318]{font-size:%?26?%;color:#959595}.order-details .details-list .list .price[data-v-4a314318]{font-size:%?26?%;font-weight:700}.order-details .details-list .action[data-v-4a314318]{display:flex;align-items:center;justify-content:flex-end}.order-details .details-list .action .price[data-v-4a314318]{font-size:%?32?%;font-weight:700;color:#236030}.btnContainer[data-v-4a314318]{position:absolute;bottom:%?20?%;width:100%;display:flex;right:%?24?%;text-align:right;justify-content:flex-end}.btnContainer .btnItem[data-v-4a314318]{color:#fff;font-size:%?26?%;background-color:#236030;padding:%?10?% %?20?%;border-radius:%?10?%}',""]),t.exports=e},"46f1":function(t,e,i){"use strict";i.r(e);var s=i("7b00"),r=i.n(s);for(var o in s)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(o);e["default"]=r.a},"5af7":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.userRegister=e.updateUserInfo=e.smsSend=e.smsCheck=e.privacyPolicy=e.payUpGoods=e.orderPay=e.orderDetail=e.logout=e.loginApi=e.getgoodsDetail=e.getWarehouseList=e.getUserProfitStatistic=e.getUserProfitList=e.getUserInfo=e.getUserFansStatistic=e.getUserFansOrderStatistic=e.getUserFansOrderList=e.getUserFansList=e.getUserCommissionStatistic=e.getUserCommissionList=e.getUserCommissionApi=e.getSellerOrderList=e.getGoodsList=e.getBuyerOrderList=e.getArea=e.getAddrList=e.getAddrDesc=e.forgetPsw=e.editAddr=e.deleteAddr=e.createOrder=e.couponList=e.changePassword=e.cancelOrder=e.bindInvitor=e.addAddr=void 0;var s=uni.$u.http;e.smsSend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.post("/api/sms/send",t,e)};e.smsCheck=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.post("/api/sms/check",t,e)};e.userRegister=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.post("/api/user/register",t,e)};e.loginApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.post("/api/user/login",t,e)};e.privacyPolicy=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.post("/addons/shopro/data.richtext/index",t,e)};e.forgetPsw=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.post("/api/user/resetpwd",t,e)};e.getUserInfo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/getUserinfo",t,e)};e.getAddrList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/addons/shopro/user.address/index",t,e)};e.getArea=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/addons/shopro/data.area/index",t,e)};e.addAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/addons/shopro/user.address/add",t,e)};e.editAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/addons/shopro/user.address/edit",t,e)};e.deleteAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/addons/shopro/user.address/delete",t,e)};e.getAddrDesc=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/addons/shopro/user.address/detail",t,e)};e.changePassword=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/addons/shopro/user.user/changePassword",t,e)};e.logout=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/logout",t,e)};e.updateUserInfo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/updateUserInfo",t,e)};e.couponList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/addons/shopro/user.coupon/index",t,e)};e.getUserCommissionStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/getUserCommissionStatistic",t,e)};e.getUserCommissionApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/getUserCommission",t,e)};e.getUserCommissionList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/getUserCommissionList",t,e)};e.getUserFansStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/getUserFansStatistic",t,e)};e.getUserFansList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/getUserFansList",t,e)};e.getUserFansOrderStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/getUserFansOrderStatistic",t,e)};e.getUserFansOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/getUserFansOrderList",t,e)};e.getUserProfitStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/getUserProfitStatistic",t,e)};e.getUserProfitList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/getUserProfitList",t,e)};e.getWarehouseList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/order/getWarehouseList",t,e)};e.getGoodsList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/order/getGoodsList",t,e)};e.getgoodsDetail=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.get("/api/order/goodsDetail",{params:t},e)};e.getBuyerOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.get("/api/order/getBuyerOrderList",{params:t},e)};e.getSellerOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.get("/api/order/getSellerOrderList",{params:t},e)};e.createOrder=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/order/createOrder",t,e)};e.cancelOrder=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/order/cancelOrder",t,e)};e.orderDetail=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.get("/api/order/orderDetail",{params:t},e)};e.orderPay=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/order/orderPay",t,e)};e.bindInvitor=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/user/bindInvitor",t,e)};e.payUpGoods=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return s.post("/api/order/payUpGoods",t,e)}},"7b00":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("e25e");var s=i("5af7"),r={data:function(){return{orderInfo:[],warehouse:[],orderDetails:{}}},methods:{gopay:function(){uni.navigateTo({url:"/pages/warehouse/pay?num="+this.orderDetails.order_amount+"&id="+this.orderDetails.id})},getOrderDetails:function(){var t=this;(0,s.orderDetail)({id:this.id,custom:{auth:!0}}).then((function(e){t.orderDetails=Object.assign({},t.orderDetails,e.data),t.orderInfo=e.data.order_goods,t.warehouse=e.data.warehouse}))},getTime:function(t){var e=t,i=new Date(1e3*parseInt(e)),s=i.getFullYear(),r=i.getMonth()+1<10?"0"+(i.getMonth()+1):i.getMonth()+1,o=i.getDate()<10?"0"+i.getDate():i.getDate(),a=i.getHours()<10?"0"+i.getHours():i.getHours(),n=i.getMinutes()<10?"0"+i.getMinutes():i.getMinutes(),d=i.getSeconds()<10?"0"+i.getSeconds():i.getSeconds(),u=s+"-"+r+"-"+o+" "+a+":"+n+":"+d;return u}},onLoad:function(t){this.id=t.id,this.getOrderDetails()}};e.default=r},a893:function(t,e,i){"use strict";i.r(e);var s=i("a973"),r=i("46f1");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);i("d019");var a=i("f0c5"),n=Object(a["a"])(r["default"],s["b"],s["c"],!1,null,"4a314318",null,!1,s["a"],void 0);e["default"]=n.exports},a973:function(t,e,i){"use strict";i.d(e,"b",(function(){return s})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page"},[i("v-uni-view",{staticClass:"order-status"},[i("v-uni-view",{staticClass:"status"},[i("v-uni-text",{staticClass:"iconfont icon-zhuyi"}),i("v-uni-text",[t._v(t._s(0==t.orderDetails.status?"待支付":1==t.orderDetails.status?"待确认":2==t.orderDetails.status?"待委托":3==t.orderDetails.status?"已投诉":4==t.orderDetails.status?"待发货":5==t.orderDetails.status?"待收货":-1==t.orderDetails.status?"已取消":""))])],1)],1),i("v-uni-view",{staticClass:"order-goods"},[i("v-uni-view",{staticClass:"goods-list"},t._l(t.orderInfo,(function(e,s){return i("v-uni-view",{key:s,staticClass:"list"},[i("v-uni-view",{staticClass:"thumb"},[i("v-uni-image",{attrs:{src:e.goods_image,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",{staticClass:"one-omit"},[t._v(t._s(e.goods_name))])],1),i("v-uni-view",{staticClass:"num-size"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1),i("v-uni-view",{staticClass:"price"},[i("v-uni-text",[t._v("¥"+t._s(e.goods_price))])],1)],1)],1)})),1)],1),i("v-uni-view",{staticClass:"order-info"},[i("v-uni-view",{staticClass:"info-list"},[i("v-uni-view",{staticClass:"list"},[i("v-uni-view",{staticClass:"title"},[t._v("订单编号:")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-text",[t._v(t._s(t.orderDetails.order_sn))])],1)],1),i("v-uni-view",{staticClass:"list"},[i("v-uni-view",{staticClass:"title"},[t._v("下单时间:")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-text",[t._v(t._s(t.getTime(t.orderDetails.createtime)))])],1)],1)],1)],1),i("v-uni-view",{staticClass:"order-details"},[i("v-uni-view",{staticClass:"details-list"},[i("v-uni-view",{staticClass:"list"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",[t._v("商品总额")])],1),i("v-uni-view",{staticClass:"price"},[i("v-uni-text",[t._v("¥"+t._s(t.orderDetails.order_amount))])],1)],1)],1)],1),i("v-uni-view",{staticClass:"btnContainer"},[i("v-uni-view",{staticClass:"btnItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.gopay.apply(void 0,arguments)}}},[t._v("去支付")])],1)],1)},r=[]},d019:function(t,e,i){"use strict";var s=i("f07c"),r=i.n(s);r.a},f07c:function(t,e,i){var s=i("2fc5");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var r=i("4f06").default;r("bb97dede",s,!0,{sourceMap:!1,shadowMode:!1})}}]);