pages-logistics-info-logistics-info.0e4c1d00.js 15 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-logistics-info-logistics-info"],{1605:function(t,e,i){var o=i("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-57f2608e]{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-57f2608e]{margin-top:%?10?%}.app-item uni-input[data-v-57f2608e], .app-item uni-picker[data-v-57f2608e], .app-item uni-textarea[data-v-57f2608e]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-57f2608e]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-57f2608e]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-57f2608e]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-57f2608e]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-57f2608e]{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-57f2608e]{color:#fff;background:#f76454}.small-btn[data-v-57f2608e]{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-57f2608e]{color:#999;border-color:#999}.login-btn[data-v-57f2608e]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-57f2608e]{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-57f2608e]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-57f2608e]{margin-right:%?20?%}.border-right[data-v-57f2608e]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-57f2608e]{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-57f2608e]{margin-right:%?6?%}.position-center[data-v-57f2608e]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-57f2608e]{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-57f2608e]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-57f2608e]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-57f2608e]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-57f2608e]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-57f2608e]{color:#f76454}.swiper-nav[data-v-57f2608e]{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-57f2608e]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-57f2608e]{color:#f76454}.swiper-nav .moveBar[data-v-57f2608e]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-57f2608e]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-57f2608e]{flex:1;width:100%}.swiper-area uni-swiper[data-v-57f2608e]{width:100%;height:100%}.article-header[data-v-57f2608e]{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-57f2608e]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-57f2608e]{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-57f2608e]{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-57f2608e]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-57f2608e]{color:#f76454}.article-footer[data-v-57f2608e]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-57f2608e]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-57f2608e]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-57f2608e]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-57f2608e]{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/* 文章场景相关 */.logistics_info[data-v-57f2608e]{min-height:100%;background:#f2f2f2}.logistics_info .send_all[data-v-57f2608e]{height:%?72?%;line-height:%?72?%;width:100%;padding:0 %?31?%;box-sizing:border-box;color:#fff;font-size:%?28?%;background-color:#f76353}.logistics_info .logistics_info[data-v-57f2608e]{width:100%;background:#fff;margin-bottom:%?20?%}.logistics_info .logistics_info .top[data-v-57f2608e]{width:100%;border-bottom:%?1?% solid #f2f2f2}.logistics_info .logistics_info .top .status[data-v-57f2608e]{display:flex;align-items:center}.logistics_info .logistics_info .top .status .state[data-v-57f2608e]{display:inline-block;height:%?12?%;width:%?12?%;border-radius:50%}.logistics_info .logistics_info .top .status .state0[data-v-57f2608e]{background-color:#f76454}.logistics_info .logistics_info .top .status .state1[data-v-57f2608e]{background-color:#999}.logistics_info .logistics_info .top .status .state2[data-v-57f2608e]{background-color:red}.logistics_info .logistics_info .top .status .color0[data-v-57f2608e]{color:#333}.logistics_info .logistics_info .top .status .color1[data-v-57f2608e]{color:#999}.logistics_info .logistics_info .top .status .color2[data-v-57f2608e]{color:red}.logistics_info .logistics_info .top > uni-view[data-v-57f2608e]{margin:0 %?30?%;height:%?72?%;display:flex;justify-content:space-between;align-items:center}.logistics_info .logistics_info .center[data-v-57f2608e]{height:%?160?%;font-size:%?36?%;font-weight:700;color:#181818;display:flex;justify-content:space-between;align-items:center;padding:0 %?30?%}.logistics_info .logistics_info .center .logistics_name[data-v-57f2608e]{font-size:%?32?%;width:30%}.logistics_info .logistics_info .center .info[data-v-57f2608e]{display:flex;justify-content:space-between;align-items:center;width:70%}.logistics_info .logistics_info .center .info uni-view[data-v-57f2608e]{text-align:center}.logistics_info .logistics_info .center .info .small[data-v-57f2608e]{font-size:%?28?%;font-weight:noraml;margin-top:%?12?%}.logistics_info .logistics_info .center .info .flow[data-v-57f2608e]{display:flex;flex-direction:column;align-items:center;position:relative}.logistics_info .logistics_info .center .info .flow uni-view[data-v-57f2608e]{height:%?48?%;width:%?128?%;display:flex;align-items:center;justify-content:center;font-size:%?24?%;color:#fff;background-color:#f76454;border-radius:%?24?%;font-weight:400}.logistics_info .logistics_info .center .info .flow .query[data-v-57f2608e]{position:absolute;top:%?-45?%;left:%?15?%}.logistics_info .logistics_info .center .info .flow uni-image[data-v-57f2608e]{margin-top:%?12?%;height:%?12?%;width:%?160?%}.logistics_info .logistics_info .bottom[data-v-57f2608e]{border-top:%?1?% solid #f2f2f2}.logistics_info .logistics_info .bottom .commodity[data-v-57f2608e]{padding:%?20?% %?30?%;display:flex;font-size:%?28?%}.logistics_info .logistics_info .bottom .commodity .detail[data-v-57f2608e]{color:#333;width:%?150?%;flex-shrink:0}',""]),t.exports=e},"3f0d":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"logistics_info"},[1===t.status?o("v-uni-view",{staticClass:"send_all"},[t._v("您的快递包裹已全部发货完毕,请注意查收!")]):t._e(),o("v-uni-view",t._l(t.logisticsList,(function(e){return o("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.logisticsList.length>0,expression:"logisticsList.length > 0"}],key:e.id,staticClass:"logistics_info",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.logisticsDetail(e)}}},[o("v-uni-view",{staticClass:"top"},[o("v-uni-view",[o("v-uni-view",{staticStyle:{color:"#333333"}},[t._v("物流单号:"+t._s(e.express_number))]),o("v-uni-view",{staticClass:"status"},[o("v-uni-text",{staticClass:"state",class:[0==e.status?"state0":1==e.status?"state1":"state2"]}),o("v-uni-text",{class:[0==e.status?"color0":1==e.status?"color1":"color2"],staticStyle:{"margin-left":"10rpx"}},[t._v(t._s(0==e.status?"运输中":1==e.status?"已签收":"物流异常"))])],1)],1)],1),o("v-uni-view",{staticClass:"center"},[o("v-uni-view",{staticClass:"logistics_name"},[t._v(t._s(e.express_com))]),o("v-uni-view",{staticClass:"info"},[o("v-uni-view",[o("v-uni-view",[t._v("郑州市")]),o("v-uni-view",{staticClass:"small"},[t._v("管城区")])],1),o("v-uni-view",{staticClass:"flow"},[o("v-uni-view",{staticClass:"query"},[t._v("查询物流")]),o("v-uni-image",{attrs:{src:i("bbe6"),mode:""}})],1),o("v-uni-view",[o("v-uni-view",[t._v(t._s(e.city))]),o("v-uni-view",{staticClass:"small"},[t._v(t._s(e.area))])],1)],1)],1),o("v-uni-view",{staticClass:"bottom"},[o("v-uni-view",{staticClass:"commodity"},[o("v-uni-view",{staticClass:"detail"},[t._v("商品详情:")]),o("v-uni-view",{staticStyle:{color:"#999999",display:"flex","flex-wrap":"wrap"}},[t._v(t._s(e.note))])],1)],1)],1)})),1)],1)},n=[]},7222:function(t,e,i){var o=i("1605");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("4f06").default;n("1c778723",o,!0,{sourceMap:!1,shadowMode:!1})},"7c74":function(t,e,i){"use strict";i("7a82");var o=i("4ea4").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=o(i("ef1d"));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)}},"8bcf":function(t,e,i){"use strict";i.r(e);var o=i("3f0d"),n=i("e8da");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("c17b");var r=i("f0c5"),s=Object(r["a"])(n["default"],o["b"],o["c"],!1,null,"57f2608e",null,!1,o["a"],void 0);e["default"]=s.exports},bbe6:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAAMCAYAAADlEba4AAAA9klEQVRYhe3XsS4EQRgH8J8lEd0pbbFvoJDt6N15B1QKvc4zeAnuIdCqJa68UyhFr5CIHMVsoZC72bMh4fslk5lsZr9s8c/sN0t1XQshwyVOcddl0aLLYuFP28EtzlF1VTQCGHJNpbwcYowz9L5bNAIYcr1+Wq/hBA/NvLpo0QhgyPXyxbN16SS8x74F8hQBDF2oMJR6xN02L0YAQ67njD1buMZVs54rAhhyTVvs7Uun4dCcG3OBPTziPUaMGWNTO4XUF07MuDEvl2V5g42WxUPItYJtHOMNo2ZG/ILDz+lJJ+EYB5rsFTjC0+99V/hnKlxIPeLgA023qIBdrtZEAAAAAElFTkSuQmCC"},c17b:function(t,e,i){"use strict";var o=i("7222"),n=i.n(o);n.a},d854:function(t,e,i){"use strict";(function(t){i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var o=i("7c74"),n={data:function(){return{logisticsList:[],id:"",status:0}},onLoad:function(e){t.log(e,"options"),e.order_no&&this.getLogistics(e.order_no),e.status&&(this.status=Number(e.status))},methods:{getLogistics:function(e){var i=this;uni.showLoading({title:"加载中"}),(0,o._API_GetLogistics)({order_num:e}).then((function(e){if(uni.hideLoading(),200===e.code){if(!(e.data.length>0))return uni.showModal({content:e.data.message||"物流信息不存在",showCancel:!1,success:function(){uni.navigateBack()}}),!1;i.logisticsList=e.data,t.log(e.data,"物流信息")}})).catch((function(){uni.showModal({content:"服务器发生错误",showCancel:!1})}))},logisticsDetail:function(e){t.log(e.express_number),uni.navigateTo({url:"../logistics-details/logistics-details?id="+e.id+"&express_com="+e.express_com+"&express_number="+e.express_number})}}};e.default=n}).call(this,i("5a52")["default"])},e8da:function(t,e,i){"use strict";i.r(e);var o=i("d854"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a}}]);