mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-03-25 23:03:12 +00:00
1 line
17 KiB
JavaScript
1 line
17 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-admin-logistics-index"],{"3cc5":function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.collectAdd=function(t,e){return o.default.post("collect/add",{id:t,product:void 0===e?"product":e})},e.collectAll=function(t,e){return o.default.post("collect/all",{id:t,category:void 0===e?"product":e})},e.collectDel=function(t,e){return o.default.post("collect/del",{id:t,category:void 0===e?"product":e})},e.create=function(t){return o.default.post("agent/apply/".concat(t.id),t)},e.deleteVisitList=function(t){return o.default.delete("user/visit",t)},e.getAgentAgreement=function(t){return o.default.get("agent/get_agent_agreement",{},{noAuth:!0})},e.getAttr=function(t,e){return o.default.get("v2/get_attr/"+t+"/"+e)},e.getCategoryList=function(){return o.default.get("category",{},{noAuth:!0})},e.getCodeApi=function(){return o.default.get("verify_code",{},{noAuth:!0})},e.getCollectUserList=function(t){return o.default.get("collect/user",t)},e.getGroomList=function(t,e){return o.default.get("groom/list/"+t,e,{noAuth:!0})},e.getHistoryData=function(){return o.default.get("agent/apply/info",{},{noAuth:!0})},e.getHomeProducts=function(t){return o.default.get("home/products",t,{noAuth:!0})},e.getPresellProductDetail=function(t){return o.default.get("advance/detail/"+t)},e.getProductCode=function(t){return o.default.get("product/code/"+t,{},{noAuth:!0})},e.getProductDetail=function(t){return o.default.get("product/detail/"+t,{},{noAuth:!0})},e.getProductHot=function(t,e){return o.default.get("product/hot",{page:void 0===t?1:t,limit:void 0===e?4:e},{noAuth:!0})},e.getProductslist=function(t){return o.default.get("products",t,{noAuth:!0})},e.getReplyConfig=function(t){return o.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return o.default.get("reply/list/"+t,e,{noAuth:!0})},e.getSearchKeyword=function(){return o.default.get("search/keyword",{},{noAuth:!0})},e.getVisitList=function(t){return o.default.get("user/visit_list",t)},e.postCartAdd=function(t){return o.default.post("cart/add",t)},e.postCartNum=function(t){return o.default.post("v2/set_cart_num",t)},e.realPrice=function(t,e){return o.default.get("product/real_price/".concat(t,"/").concat(e),{},{noAuth:!0})},e.registerVerify=function(t){return o.default.post("register/verify",t,{noAuth:!0})},e.spreadCreateApi=function(t,e){return o.default.post("user/spread/apply/".concat(t),e)},e.storeDiscountsList=function(t){return o.default.get("store_discounts/list/"+t,{},{noAuth:!0})},e.storeListApi=function(t){return o.default.get("store_list",t)},e.userSpreadInfo=function(){return o.default.get("user/spread/apply/info")},n("c223");var o=r(n("511c"))},"3f32":function(t,e,n){"use strict";n.r(e);var r=n("ba73"),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a},"431c":function(t,e,n){var r=n("b19c");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("967d").default;o("56984268",r,!0,{sourceMap:!1,shadowMode:!1})},5495:function(t,e,n){"use strict";n.r(e);var r=n("8856"),o=n("3f32");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("5abc");var u=n("828b"),a=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,"1be899ec",null,!1,r["a"],void 0);e["default"]=a.exports},"5abc":function(t,e,n){"use strict";var r=n("d208"),o=n.n(r);o.a},"6c2e":function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.adminExpress=function(t,e){return i.default.get("admin/order/express/"+t+"".concat(e?"/refund":""))},e.aliPay=function(t,e){return i.default.get("ali_pay",{key:t,quitUrl:e},{noAuth:!0})},e.cancelRefundOrder=function(t){return i.default.post("order/refund/cancel/"+t)},e.cartDel=function(t){"object"===(0,o.default)(t)&&(t=t.join(","));return i.default.post("cart/del",{ids:t})},e.changeCartNum=function(t,e){return i.default.post("cart/num",{id:t,number:e})},e.checkShipping=function(t,e){return i.default.post("order/check_shipping",{cartId:t,new:e})},e.express=function(t,e){return i.default.get("order/express/"+t+"".concat(e?"/refund":""))},e.getCartCounts=function(t){return i.default.get("cart/count",{numType:void 0===t?0:t})},e.getCartList=function(t){return i.default.get("cart/list",t)},e.getCashierOrder=function(t,e){return i.default.get("order/cashier/".concat(t,"/").concat(e))},e.getCouponsOrderPrice=function(t,e){return i.default.get("coupons/order/"+t,e)},e.getGiftOrderDetail=function(t){return i.default.get("order/gift_detail/"+t)},e.getInvoiceLink=function(t){return i.default.get("v2/order/down_invoice/".concat(t))},e.getNewOrderList=function(t){return i.default.get("order/refund/list",t)},e.getOrderDetail=function(t,e){return i.default.get("order/detail/"+t+"".concat(e?"/".concat(e):""))},e.getOrderList=function(t){return i.default.get("order/list",t)},e.getRefundOrderDetail=function(t,e){return i.default.get("order/refund_detail/"+t+"".concat(e?"/".concat(e):""))},e.getResetCart=function(t){return i.default.post("v2/reset_cart",t)},e.offlineCheckPrice=function(t){return i.default.post("order/offline/check/price",t)},e.offlineCreate=function(t){return i.default.post("order/offline/create",t)},e.ordeRefundReason=function(){return i.default.get("order/refund/reason")},e.orderAgain=function(t){return i.default.post("order/again",{uni:t})},e.orderCancel=function(t){return i.default.post("order/cancel",{id:t})},e.orderComment=function(t){return i.default.post("order/comment",t)},e.orderConfirm=function(t){return i.default.post("order/confirm",t)},e.orderCoupon=function(t){return i.default.post("v2/order/product_coupon/"+t)},e.orderCreate=function(t,e){return i.default.post("order/create/"+t,e)},e.orderData=function(){return i.default.get("order/data")},e.orderDel=function(t){return i.default.post("order/del",{uni:t})},e.orderInvoiceDetail=function(t){return i.default.get("v2/order/invoice_detail/".concat(t))},e.orderInvoiceList=function(t){return i.default.get("v2/order/invoice_list",t)},e.orderOfflinePayType=function(){return i.default.get("order/offline/pay/type")},e.orderPay=function(t){return i.default.post("order/pay",t)},e.orderProduct=function(t){return i.default.post("order/product",{unique:t})},e.orderReceiveGift=function(t,e){return i.default.post("order/receive_gift/"+t,e)},e.orderRefundVerify=function(t){return i.default.post("order/refund/verify",t)},e.orderTake=function(t){return i.default.post("order/take",{uni:t})},e.postOrderComputed=function(t,e){return i.default.post("order/computed/"+t,e)},e.postRefundGoods=function(t){return i.default.post("order/refund/cart_info",t)},e.refundExpress=function(t){return i.default.post("order/refund/express",t)},e.refundGoodsList=function(t){return i.default.get("order/refund/cart_info/".concat(t))},e.refundOrderDel=function(t){return i.default.get("order/refund/del/"+t,{})},e.refundOrderDetail=function(t){return i.default.get("order/refund/detail/"+t)},e.returnGoodsSubmit=function(t,e){return i.default.post("order/refund/apply/".concat(t),e)},e.vcartList=function(){return i.default.get("v2/cart_list")},n("c223");var o=r(n("fcf3")),i=r(n("511c"))},"7dc1":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(){}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"w-full header_bg",style:{height:2*(174+t.sysHeight)+"rpx"}},[n("v-uni-view",{staticClass:"w-full abs-lb white_jianbian"})],1),n("v-uni-view",{staticClass:"relative px-20 z-20 express_box"},[n("v-uni-view",{staticClass:"h-66 rd-t-24rpx light px-24 flex-between-center fs-20"},[n("v-uni-text",[t._v(t._s(t.orderInfo.delivery_name)+" "+t._s(t.orderInfo.delivery_id))]),n("v-uni-text",{staticClass:"inline-block copy_btn fs-22 text--w111-333",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.copyOrderId.apply(void 0,arguments)}}},[t._v("复制单号")])],1),n("v-uni-view",{staticClass:"rd-b-24rpx bg--w111-fff flex-between-center"},[n("v-uni-view",{staticClass:"w-316 h-142 flex-col flex-center"},[n("v-uni-text",{staticClass:"fs-32 fw-500 lh-44rpx"},[t._v(t._s(t.orderInfo.user_name))]),n("v-uni-text",{staticClass:"fs-22 text--w111-999 lh-30rpx mt-8"},[t._v(t._s(t.orderInfo.user_phone))])],1),n("v-uni-view",{staticClass:"flex-1 h-142 flex-center fs-28 fw-500 lh-40rpx relative city-box"},[n("v-uni-text",[t._v(t._s(t.orderInfo.send_city))]),n("v-uni-text",{staticClass:"iconfont icon-a-jiantou11 mx-32"}),n("v-uni-text",[t._v(t._s(t.orderInfo.user_city))])],1)],1)],1),n("v-uni-view",{staticClass:"px-20 mt-20 relative"},[n("v-uni-view",{staticClass:"bg--w111-fff rd-16rpx pt-32 pr-24 pl-24 pb-32"},[n("v-uni-view",{staticClass:"flex-between-center"},[n("v-uni-view",{staticClass:"fs-32 fw-500 text--w111-333"},[n("v-uni-text",[t._v("物流详情")])],1)],1),t.expressList.length?n("v-uni-view",{staticClass:"logisticsCon mt-50 relative"},[t._l(t.logisticList,(function(e,r){return n("v-uni-view",{key:r,staticClass:"item"},[n("v-uni-view",{staticClass:"circular",class:0===r?"on text-center":""},[0==r?n("v-uni-text",{staticClass:"iconfont icon-ic_complete text--w111-fff fs-24"}):t._e()],1),n("v-uni-view",{staticClass:"text",class:0===r?"on-font on":""},[n("v-uni-view",[t._v(t._s(e.status))]),n("v-uni-view",{staticClass:"data",class:0===r?"on-font on":""},[t._v(t._s(e.time))])],1)],1)})),n("v-uni-view",{staticClass:"more-text fs-24",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.checkShowMore.apply(void 0,arguments)}}},[n("v-uni-text",[t._v(t._s(t.showMore?"收起":"查看更多物流信息"))]),n("v-uni-text",{staticClass:"iconfont fs-24 pl-8",class:t.showMore?"icon-ic_uparrow":"icon-ic_downarrow"})],1)],2):n("emptyPage",{attrs:{title:"暂无物流信息",src:"/statics/images/noExpress.gif"}})],1),n("v-uni-view",{staticClass:"safe-area-inset-bottom"})],1)],1)},o=[]},8856: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(){}));var r=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:this.imgHost+"/statics/images/empty-box.png"}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title||this.$t("暂无记录")))])],1)},o=[]},"97b3":function(t,e,n){var r=n("c86c");e=r(!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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* 商家管理 */.empty-box[data-v-1be899ec]{display:flex;flex-direction:column;justify-content:center;align-items:center;padding-top:%?200?%}.empty-box uni-image[data-v-1be899ec]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-1be899ec]{font-size:%?26?%;color:#999}',""]),t.exports=e},b19c:function(t,e,n){var r=n("c86c");e=r(!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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* 商家管理 */.safe-area-inset-bottom[data-v-560f0508]{height:0;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom)}.header_bg[data-v-560f0508]{position:absolute;top:0;left:0;width:100%;height:%?369?%;background:linear-gradient(270deg,#01abf8,#2a7efb)}.white_jianbian[data-v-560f0508]{height:%?180?%;background:linear-gradient(0deg,#f5f5f5,hsla(0,0%,96.1%,0))}.light[data-v-560f0508]{background:hsla(0,0%,100%,.9)}.express_box[data-v-560f0508]{padding-top:%?30?%}.copy_btn[data-v-560f0508]{width:%?112?%;height:%?34?%;background:#f5f5f5;border-radius:%?20?%;text-align:center;line-height:%?34?%}.city-box[data-v-560f0508]:before{content:"";width:1px;height:%?64?%;background-color:#eee;position:absolute;top:%?40?%;left:0}.more-text[data-v-560f0508]{position:absolute;left:%?40?%;bottom:%?-12?%}.more-text[data-v-560f0508]:before{content:"";width:%?14?%;height:%?14?%;border-radius:50%;background-color:#ddd;position:absolute;left:%?-26?%;top:%?8?%}.logisticsCon .item[data-v-560f0508]{padding:0 %?20?%;position:relative}.logisticsCon .item .circular[data-v-560f0508]{width:%?14?%;height:%?14?%;border-radius:50%;position:absolute;left:%?14?%;background-color:#ddd}.logisticsCon .item .circular.on[data-v-560f0508]{width:%?40?%;height:%?40?%;background-color:#2a7efb;left:0}.logisticsCon .item .text.on-font[data-v-560f0508]{color:#2a7efb}.logisticsCon .item .text .data.on-font[data-v-560f0508]{color:#2a7efb}.logisticsCon .item .text[data-v-560f0508]{font-size:%?26?%;color:#666;width:%?615?%;border-left:%?1?% solid #e6e6e6;padding:0 0 %?40?% %?38?%}.logisticsCon .item .text .data[data-v-560f0508]{font-size:%?24?%;color:#999;margin-top:%?10?%}.logisticsCon .item .text .data .time[data-v-560f0508]{margin-left:%?15?%}.z-99[data-v-560f0508]{z-index:99}.product ~ .product[data-v-560f0508]{margin-top:%?20?%}',""]),t.exports=e},ba73:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("a5c67"),o={props:{title:{type:String,default:""}},data:function(){return{imgHost:r.HTTP_REQUEST_URL}}};e.default=o},d208:function(t,e,n){var r=n("97b3");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("967d").default;o("53002f66",r,!0,{sourceMap:!1,shadowMode:!1})},ea43:function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("f7a5");var o=r(n("9b1b")),i=n("6c2e"),u=n("3cc5"),a=n("088a"),s=n("8f59"),c=n("a5c67"),d=r(n("5495")),f=uni.getWindowInfo().statusBarHeight,l={components:{emptyPage:d.default},data:function(){return{sysHeight:f,imgHost:c.HTTP_REQUEST_URL,orderId:"",type:"",product:[],orderInfo:{},expressList:[],hostProduct:[],isShowAuth:!1,pageScrollStatus:!1,showMore:!0}},computed:(0,o.default)((0,o.default)({},(0,s.mapGetters)(["isLogin"])),{},{logisticList:function(){return this.showMore?this.expressList:this.expressList.slice(0,1)}}),watch:{isLogin:{handler:function(t,e){t&&(this.getExpress(),this.get_host_product())},deep:!0}},onLoad:function(t){if(!t.orderId)return this.$util.Tips({title:"缺少订单号"});"undefined"==typeof t.type?this.type="":this.type=t.type,this.orderId=t.orderId,this.isLogin&&(this.getExpress(),this.get_host_product())},onPageScroll:function(t){t.scrollTop>100?this.pageScrollStatus=!0:t.scrollTop<100&&(this.pageScrollStatus=!1),uni.$emit("scroll")},onShow:function(){uni.removeStorageSync("form_type_cart"),this.isLogin||(0,a.toLogin)()},methods:{authColse:function(t){this.isShowAuth=t},onLoadFun:function(){this.getExpress(),this.get_host_product(),this.isShowAuth=!1},copyOrderId:function(){uni.setClipboardData({data:this.orderInfo.delivery_id})},getExpress:function(){var t=this,e=this;(0,i.express)(e.orderId,this.type).then((function(t){e.$set(e,"product",t.data.order.cartInfo||[]),e.$set(e,"orderInfo",t.data.order),e.$set(e,"expressList",t.data.express.result.list||[])})).catch((function(e){t.$util.Tips({title:e})}))},get_host_product:function(){var t=this;(0,u.getProductHot)().then((function(e){t.$set(t,"hostProduct",e.data)}))},checkShowMore:function(){this.showMore=!this.showMore},goPage:function(t,e){1==t?uni.navigateTo({url:e}):2==t?uni.switchTab({url:e}):3==t&&uni.navigateBack()}}};e.default=l},f2a0:function(t,e,n){"use strict";var r=n("431c"),o=n.n(r);o.a},fa5d:function(t,e,n){"use strict";n.r(e);var r=n("7dc1"),o=n("fe50");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("f2a0");var u=n("828b"),a=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,"560f0508",null,!1,r["a"],void 0);e["default"]=a.exports},fe50:function(t,e,n){"use strict";n.r(e);var r=n("ea43"),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a}}]); |