pages-order-detail-order-detail.3d41c8e2.js 16 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-detail-order-detail"],{"0365":function(t,e,r){"use strict";r.r(e);var i=r("48df"),n=r.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){r.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"180a":function(t,e,r){"use strict";r.r(e);var i=r("4058"),n=r("0365");for(var o in n)["default"].indexOf(o)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(o);r("719c");var a=r("828b"),d=Object(a["a"])(n["default"],i["b"],i["c"],!1,null,"669938dc",null,!1,i["a"],void 0);e["default"]=d.exports},4058:function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return n})),r.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-view",{staticClass:"order-detail"},[r("custom-nav",{ref:"ltm",attrs:{noback:"noback",transparent:"transparent",title:" "}}),r("v-uni-view",{staticClass:"content"},[r("v-uni-view",{staticClass:"address"},[r("v-uni-view",{staticClass:"name-tel"},[r("v-uni-text",{staticClass:"name"},[t._v("收货人:"+t._s(t.address.con_name||""))]),r("v-uni-text",{staticClass:"tel"},[t._v(t._s(t.address.con_mobile))])],1),r("v-uni-view",{staticClass:"address-text"},[t._v(t._s(t._f("getAddressString")(t.address)))])],1),r("v-uni-view",{staticClass:"order"},[r("v-uni-view",{staticClass:"order-num"},[r("v-uni-text",[t._v("订单编号:"+t._s(t.order_num))]),r("v-uni-text",[t._v("订单状态:"+t._s(t._f("getOrderStatus")(t.order_status)))])],1),r("v-uni-view",{staticClass:"order-time"},[r("v-uni-text",[t._v("下单时间:"+t._s(t._f("formatTime")(t.order_time)))]),r("v-uni-view",{staticClass:"to-order-detail"})],1),t._l(t.list,(function(e,i){return r("v-uni-view",{key:i,staticClass:"goog-item"},[r("v-uni-view",{staticClass:"goodinfo"},[r("v-uni-image",{attrs:{src:e.img}}),r("v-uni-view",{staticClass:"info"},[r("v-uni-text",{staticClass:"name"},[t._v(t._s(e.name))]),r("v-uni-text",{staticClass:"price"},[t._v("进货价:¥"+t._s(e.price+""))]),r("v-uni-text",{staticClass:"storage"},[t._v("我的库存:"+t._s(e.storage))])],1)],1),t._l(e.typeList,(function(i,n){return r("v-uni-view",{key:n,staticClass:"type-item"},t._l(i.size,(function(n,o){return r("v-uni-view",{key:o,staticClass:"size-item"},[r("v-uni-view",{staticClass:"type-size-price"},[r("v-uni-text",[t._v("款式:"+t._s(i.name)),r("v-uni-text",{staticStyle:{"margin-left":"20px"}},[t._v("尺寸:"+t._s(n))])],1),r("v-uni-text",{staticClass:"basecolor"},[t._v("¥"+t._s(e.price*i.num[o]))])],1),r("v-uni-view",{staticClass:"num"},[t._v("×"+t._s(" "+i.num[o]))])],1)})),1)}))],2)}))],2),r("v-uni-view",{staticClass:"remark"},[t._v("备注:"+t._s(t.remark))]),r("v-uni-view",{staticClass:"totalPrice"},[r("v-uni-text",[t._v("总计金额")]),r("v-uni-text",{staticClass:"basecolor"},[t._v(t._s("¥ "+t.totalPrice))])],1)],1)],1)},n=[]},"48df":function(t,e,r){"use strict";(function(t){r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("473f"),r("bf0f");var i=r("bf10"),n={data:function(){return{title:"订单详情",list:[],remark:"",address:{},order_num:"",order_time:"",order_status:""}},computed:{totalPrice:function(){return this.list.reduce((function(t,e){return e.typeList.reduce((function(t,r){return r.num.reduce((function(t,r){return t+r*e.price}),t)}),t)}),0)}},onLoad:function(e){var r=this;e.forward&&(this.title="转单详情"),(0,i._API_OrderDetail)({order_num:e.order_num,type:e.forward?"turn":"normal"}).then((function(e){t.log(e.data),r.list=e.data.goodList,r.remark=e.data.remark,r.address=e.data.address,r.order_num=e.data.order_num,r.order_time=e.data.time,r.order_status=e.data.status}))}};e.default=n}).call(this,r("ba7c")["default"])},"719c":function(t,e,r){"use strict";var i=r("7ae3"),n=r.n(i);n.a},"7ae3":function(t,e,r){var i=r("f3e8");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=r("967d").default;n("25406f6c",i,!0,{sourceMap:!1,shadowMode:!1})},bf10:function(t,e,r){"use strict";r("6a54");var i=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getOrderList=e._API_mergeOrder=e._API_destory=e._API_PlaceOrder=e._API_OrderStorage=e._API_OrderReceiveGoods1=e._API_OrderReceiveGoods=e._API_OrderPay=e._API_OrderLog=e._API_OrderDetail1=e._API_OrderDetail=e._API_OrderDel=e._API_OrderCancel=e._API_GetallGift=e._API_GetOrderGift=e._API_GetOrderDetail=e._API_GetLogistics=e._API_GetExpressTrack=e.CheckGoodNum=void 0;var n=i(r("5c59"));e._API_OrderPay=function(t){return n.default.get("/pay_order",t)};e._API_OrderCancel=function(t){return n.default.get("/destory",t)};e._API_OrderLog=function(t){return n.default.get("/get_log",t)};e._API_GetOrderDetail=function(t){return n.default.get("/order/GetOrderDetail",t)};e.getOrderList=function(t,e){return n.default.get("/order_list?status=".concat(t),e)};e._API_PlaceOrder=function(t){return n.default.post("/submit_order",t)};e._API_OrderReceiveGoods=function(t){return n.default.get("/order/order_complete",t)};e._API_OrderReceiveGoods1=function(t){return n.default.get("/order/sure_order",t)};e._API_OrderDel=function(t){return n.default.get("/order/del",t)};e._API_OrderDetail=function(t){return n.default.get("/order/detail",t)};e._API_OrderDetail1=function(t){return n.default.get("/order_detail",t)};e._API_OrderStorage=function(t){return n.default.get("/order/my_storage",t)};e._API_GetallGift=function(){return n.default.get("/order/get_gift_info")};e._API_GetOrderGift=function(t){return n.default.get("/order/get_gift",t)};e._API_GetLogistics=function(t){return n.default.get("/order/get_order_expresses",t)};e._API_GetExpressTrack=function(t){return n.default.get("/order/get_express",t)};e._API_mergeOrder=function(t){return n.default.get("/order/search_order",t)};e._API_destory=function(t){return n.default.get("/order/destory",t)};e.CheckGoodNum=function(t){return n.default.post("/order/CheckGoodNum",t)}},f3e8:function(t,e,r){var i=r("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-669938dc]{margin-top:%?10?%}.app-item uni-input[data-v-669938dc], .app-item uni-picker[data-v-669938dc], .app-item uni-textarea[data-v-669938dc]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-669938dc]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-669938dc]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-669938dc]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-669938dc]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-669938dc]{color:#fff;background:#f76454}.small-btn[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-669938dc]{color:#999;border-color:#999}.login-btn[data-v-669938dc]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-669938dc]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-669938dc]{margin-right:%?20?%}.border-right[data-v-669938dc]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-669938dc]{margin-right:%?6?%}.position-center[data-v-669938dc]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-669938dc]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-669938dc]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-669938dc]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-669938dc]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-669938dc]{color:#f76454}.swiper-nav[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-669938dc]{color:#f76454}.swiper-nav .moveBar[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-669938dc]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-669938dc]{flex:1;width:100%}.swiper-area uni-swiper[data-v-669938dc]{width:100%;height:100%}.article-header[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-669938dc]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-669938dc]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-669938dc]{color:#f76454}.article-footer[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-669938dc]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-669938dc]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-669938dc]{color:#f76454}\n/*主题色及按钮渐变背景*/\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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.order-detail[data-v-669938dc]{height:100%;box-sizing:border-box;flex-direction:column;background:#f2f2f2}.order-detail .content[data-v-669938dc]{flex:1;height:100%;position:relative;box-sizing:border-box}.order-detail .content .address[data-v-669938dc]{font-size:%?26?%;background:#fff;padding:%?20?% %?30?%;margin-bottom:%?10?%;box-sizing:border-box}.order-detail .content .address .name-tel[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;margin-bottom:%?20?%;justify-content:space-between}.order-detail .content .address .name-tel .name[data-v-669938dc]{font-size:%?32?%}.order-detail .content .order[data-v-669938dc]{border-bottom:%?10?% solid #f2f2f2}.order-detail .content .order .order-num[data-v-669938dc], .order-detail .content .order .order-time[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?60?%;padding:0 %?30?%;font-size:%?26?%;margin-bottom:%?1?%;background:#fff;box-sizing:border-box;justify-content:space-between}.order-detail .content .order .order-num.order-time[data-v-669938dc], .order-detail .content .order .order-time.order-time[data-v-669938dc]{margin-bottom:%?10?%}.order-detail .content .order .order-num.order-time .to-order-detail[data-v-669938dc], .order-detail .content .order .order-time.order-time .to-order-detail[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row}.order-detail .content .order .goog-item .goodinfo[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?180?%;padding:0 %?30?%;margin-bottom:%?1?%;background:#fff;box-sizing:border-box;justify-content:space-between}.order-detail .content .order .goog-item .goodinfo uni-image[data-v-669938dc]{width:%?140?%;height:%?140?%}.order-detail .content .order .goog-item .goodinfo .info[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:column;flex:1;height:100%;margin:0 %?30?%;align-items:flex-start;justify-content:flex-start}.order-detail .content .order .goog-item .goodinfo .info .name[data-v-669938dc]{font-size:%?32?%;margin-top:%?20?%}.order-detail .content .order .goog-item .goodinfo .info .price[data-v-669938dc]{font-size:%?26?%;margin-top:%?10?%;color:#f76454}.order-detail .content .order .goog-item .goodinfo .info .storage[data-v-669938dc]{font-size:%?26?%;margin-top:%?10?%;color:#999}.order-detail .content .order .goog-item .size-item[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?100?%;font-size:%?32?%;padding:0 %?30?%;margin-bottom:%?1?%;background:#fff;box-sizing:border-box;justify-content:space-between}.order-detail .content .order .goog-item .size-item .type-size-price[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:column;flex:1;height:100%;font-size:%?26?%;align-items:flex-start}.order-detail .content .order .goog-item .size-item .type-size-price > uni-text[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;width:100%;justify-content:flex-start}.order-detail .content .remark[data-v-669938dc]{min-height:%?90?%;background:#fff;margin-bottom:%?10?%;padding:%?20?% %?30?%;border-bottom:%?10?% solid #f2f2f2}.order-detail .content .totalPrice[data-v-669938dc]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?91?%;padding:0 %?30?%;background:#fff;box-sizing:border-box;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.order-detail .content .totalPrice.other[data-v-669938dc]{color:#999}',""]),t.exports=e}}]);