(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-goods_logistics-index"],{"02f6":function(t,e,n){"use strict";n.r(e);var o=n("65ba"),i=n("1029");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("e49b");var a=n("f0c5"),s=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"2fda29d4",null,!1,o["a"],void 0);e["default"]=s.exports},"0f96":function(t,e,n){"use strict";n("7a82");var o=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n("5530")),r=o(n("a50e")),a=n("cd6d"),s=n("937f"),u=n("26cb"),d=o(n("823f")),c=n("3255"),l=(o(n("42cb")),n("ddb3")),f=getApp(),p={name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1,canGetPrivacySetting:!1}},computed:(0,i.default)((0,i.default)({},(0,u.mapGetters)(["isLogin","userInfo","viewColor"])),(0,c.configMap)(["routine_logo","first_avatar_switch","wechat_phone_switch"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{onclose:function(){this.canGetPrivacySetting=!1},onAgree:function(){var t=this;t.canUseGetUserProfile=!1,d.default.getUserProfile().then((function(e){var n=e.userInfo;n.code=t.code,n.spread=f.globalData.spid,n.spread_code=f.globalData.code,(0,a.commonAuth)({auth:{type:"routine",auth:n}}).then((function(e){if(200!=e.data.status)return uni.setStorageSync("auth_token",e.data.result.key),uni.navigateTo({url:"/pages/users/login/index"});var n=e.data.result.expires_time-r.default.time();t.$store.commit("UPDATE_USERINFO",e.data.result.user),t.$store.commit("LOGIN",{token:e.data.result.token,time:n}),t.$store.commit("SETUID",e.data.result.user.uid),r.default.set(s.EXPIRES_TIME,e.data.result.expires_time,n),r.default.set(s.USER_INFO,e.data.result.user,n),t.$emit("onLoadFun",e.data.result.user),e.data.result.user.isNew&&t.mp_is_new&&1==t.first_avatar_switch&&1==t.wechat_phone_switch&&(t.editModal=!0)})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.message,icon:"none",duration:2e3})}))})).catch((function(t){uni.hideLoading()}))},setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,l.toLogin)(!0)},getUserProfile:function(){var t=this;wx.getPrivacySetting?wx.getPrivacySetting({success:function(e){e.needAuthorization?(t.canGetPrivacySetting=!0,t.$nextTick((function(){t.$refs.privacyAgreement.showPoupon(e.privacyContractName)}))):t.onAgree()},fail:function(){},complete:function(){}}):this.onAgree()},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1),this.canGetPrivacySetting=!1}}};e.default=p},1029:function(t,e,n){"use strict";n.r(e);var o=n("0f96"),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=i.a},"19cb":function(t,e,n){var o=n("efbb");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=n("4f06").default;i("76f3ec92",o,!0,{sourceMap:!1,shadowMode:!1})},"1e86":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"logistics"},[t.product.cart_info?n("v-uni-view",{staticClass:"header acea-row row-between row-top"},[n("v-uni-view",{staticClass:"pictrue"},[n("v-uni-image",{attrs:{src:t.product.cart_info.product.image}})],1),n("v-uni-view",{staticClass:"text acea-row row-between"},[n("v-uni-view",[n("v-uni-view",{staticClass:"name line1"},[t._v(t._s(t.product.cart_info.product.store_name))]),n("v-uni-view",{staticClass:"sku"},[t._v(t._s(t.product.cart_info.productAttr.sku))]),n("v-uni-view",{staticClass:"money"},[20==t.orderInfo.activity_type?n("v-uni-view",[t._v(t._s(t.product.cart_info.productAttr.ot_price)+"个积分"),t.product.cart_info.productAttr.price>0?[t._v("+"+t._s(t.product.cart_info.productAttr.price)+"元")]:t._e()],2):n("v-uni-view",[t._v("¥"+t._s(t.product.product_price))])],1)],1),n("v-uni-view",[t._v("x"+t._s(t.product.product_num))])],1)],1):t._e(),n("v-uni-view",{staticClass:"logisticsCon"},[n("v-uni-view",{staticClass:"company acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"iconfont icon-wuliu"}),n("v-uni-view",{staticClass:"text"},[n("v-uni-view",[n("v-uni-text",{staticClass:"name line1"},[t._v("物流公司:")]),t._v(t._s(t.orderInfo.delivery_name?t.orderInfo.delivery_name:""))],1),n("v-uni-view",{staticClass:"express line1"},[n("v-uni-text",{staticClass:"name"},[t._v("快递单号:")]),t._v(t._s(t.orderInfo.delivery_id?t.orderInfo.delivery_id:""))],1)],1)],1),n("v-uni-view",{staticClass:"copy copy-data",attrs:{"data-clipboard-text":t.orderInfo.delivery_id}},[t._v("复制单号")])],1),t._l(t.expressList,(function(e,o){return t.expressList.length>0?n("v-uni-view",{key:o,staticClass:"item"},[n("v-uni-view",{staticClass:"circular",class:0===o?"on":""}),n("v-uni-view",{staticClass:"text",class:0===o?"on-font on":""},[n("v-uni-view",[t._v(t._s(e.status))]),n("v-uni-view",{staticClass:"data",class:0===o?"on-font on":""},[t._v(t._s(e.time))])],1)],1):t._e()}))],2),1==t.recommend_switch?n("recommend",{attrs:{hostProduct:t.hostProduct,isLogin:t.isLogin}}):t._e()],1),n("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}})],1)},i=[]},"59c6":function(t,e,n){"use strict";n("7a82");var o=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.applyInvoiceApi=function(t,e){return i.default.post("order/receipt/".concat(t),e)},e.cartDel=function(t){return i.default.post("user/cart/delete",t)},e.changeCartNum=function(t,e){return i.default.post("user/cart/change/"+t,e)},e.createOrder=function(t){return i.default.post("v2/order/create",t,{noAuth:!0})},e.develiveryDetail=function(t){return i.default.get("order/delivery/".concat(t))},e.express=function(t){return i.default.post("order/express/"+t)},e.expressList=function(){return i.default.get("common/express")},e.getCallBackUrlApi=function(t){return i.default.get("common/pay_key/"+t,{},{noAuth:!0})},e.getCartCounts=function(){return i.default.get("user/cart/count")},e.getCartList=function(){return i.default.get("user/cart/lst")},e.getCouponsOrderPrice=function(t,e){return i.default.get("coupons/order/"+t,e)},e.getOrderConfirm=function(t){return i.default.post("v2/order/check",t)},e.getOrderDetail=function(t){return i.default.get("order/detail/"+t)},e.getOrderList=function(t){return i.default.get("order/list",t)},e.getPayOrder=function(t){return i.default.get("order/status/"+t)},e.getReceiptOrder=function(t){return i.default.get("user/receipt/order/"+t)},e.groupOrderDetail=function(t){return i.default.get("order/group_order_detail/"+t)},e.groupOrderList=function(t){return i.default.get("order/group_order_list",t,{noAuth:!0})},e.integralOrderPay=function(t,e){return i.default.post("order/points/pay/"+t,e)},e.ordeRefundReason=function(){return i.default.get("order/refund/reason")},e.orderAgain=function(t){return i.default.post("user/cart/again",t)},e.orderComment=function(t,e){return i.default.post("reply/"+t,e)},e.orderConfirm=function(t){return i.default.post("order/check",t)},e.orderCreate=function(t){return i.default.post("order/create",t,{noAuth:!0})},e.orderData=function(){return i.default.get("order/number")},e.orderDel=function(t){return i.default.post("order/del/"+t)},e.orderPay=function(t,e){return i.default.post("order/pay/"+t,e)},e.orderProduct=function(t){return i.default.get("reply/product/"+t)},e.orderRefundVerify=function(t){return i.default.post("order/refund/verify",t)},e.orderTake=function(t){return i.default.post("order/take/"+t)},e.postOrderComputed=function(t,e){return i.default.post("/order/computed/"+t,e)},e.presellOrderPay=function(t,e){return i.default.post("presell/pay/"+t,e)},e.receiptOrder=function(t){return i.default.get("user/receipt/order",t)},e.refundApply=function(t,e){return i.default.post("refund/apply/"+t,e,{noAuth:!0})},e.refundBackGoods=function(t,e){return i.default.post("refund/back_goods/"+t,e,{noAuth:!0})},e.refundBatch=function(t){return i.default.get("refund/batch_product/"+t,{noAuth:!0})},e.refundCancelApi=function(t){return i.default.post("refund/cancel/".concat(t))},e.refundDel=function(t){return i.default.post("refund/del/"+t,{noAuth:!0})},e.refundDetail=function(t){return i.default.get("refund/detail/"+t,{noAuth:!0})},e.refundExpress=function(t){return i.default.get("refund/express/"+t,{noAuth:!0})},e.refundList=function(t){return i.default.get("refund/list",t,{noAuth:!0})},e.refundMessage=function(){return i.default.get("common/refund_message",{noAuth:!0})},e.refundOrderExpress=function(t,e){return i.default.get("server/".concat(t,"/refund/express/").concat(e))},e.refundProduct=function(t,e){return i.default.get("refund/product/"+t,e,{noAuth:!0})},e.unOrderCancel=function(t){return i.default.post("order/cancel/"+t)},e.verifyCode=function(t){return i.default.get("order/verify_code/"+t)},n("99af");var i=o(n("3314"))},6198:function(t,e,n){"use strict";n("7a82");var o=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("99af");var i=n("59c6"),r=n("736f"),a=o(n("43a2")),s=n("26cb"),u=n("3255"),d=o(n("1857")),c=o(n("02f6")),l={components:{recommend:d.default,authorize:c.default},data:function(){return{orderId:"",refundId:"",merId:"",product:{},orderInfo:{},expressList:[],hostProduct:[],scroll:!1,isAuto:!1,isShowAuth:!1,page:1,limit:10}},computed:(0,u.configMap)({recommend_switch:0},(0,s.mapGetters)(["isLogin"])),onLoad:function(t){if(!t.orderId&&!t.refundId)return this.$util.Tips({title:"缺少订单号"});this.orderId=t.orderId,this.refundId=t.refundId,this.merId=t.merId,this.isLogin?this.getExpress():(this.isAuto=!0,this.isShowAuth=!0)},onReady:function(){this.$nextTick((function(){var t=this,e=new a.default(".copy-data");e.on("success",(function(){t.$util.Tips({title:"复制成功"})}))}))},methods:{onLoadFun:function(){this.getExpress(),this.isShowAuth=!1},authColse:function(t){this.isShowAuth=t},copyOrderId:function(){uni.setClipboardData({data:this.orderInfo.delivery_id})},getExpress:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),t.orderId?(0,i.express)(t.orderId).then((function(e){uni.hideLoading();var n=e.data.express||{};t.$set(t,"product",e.data.order.orderProduct[0]||{}),t.$set(t,"orderInfo",e.data.order),t.$set(t,"expressList",n||[]),t.get_host_product()})):(0,i.refundOrderExpress)(t.merId,t.refundId).then((function(e){uni.hideLoading();var n=e.data.express||{};t.$set(t,"product",e.data.refund.refundProduct[0].product||{}),t.$set(t,"orderInfo",e.data.refund),t.$set(t,"expressList",n||[]),t.get_host_product()}))},get_host_product:function(){var t=this;t.scroll||(t.scroll=!0,(0,r.getProductHot)(t.page,t.limit).then((function(e){t.page++,t.scroll=e.data.list.length