(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-goods_logistics-index"],{"494c":function(t,i,e){"use strict";e.d(i,"b",(function(){return o})),e.d(i,"c",(function(){return s})),e.d(i,"a",(function(){}));var o=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{style:t.viewColor},[e("v-uni-view",{staticClass:"logistics pad20"},[t.product.cart_info?e("v-uni-view",{staticClass:"header acea-row row-between row-top bg-f mt20 boder-24"},[e("v-uni-view",{staticClass:"pictrue"},[e("v-uni-image",{attrs:{src:t.product.cart_info.product.image}})],1),e("v-uni-view",{staticClass:"text acea-row row-between"},[e("v-uni-view",[e("v-uni-view",{staticClass:"name line2",class:20==t.orderInfo.activity_type?"integral-name":""},[t._v(t._s(t.product.cart_info.product.store_name))]),e("v-uni-view",{staticClass:"sku"},[t._v(t._s(t.product.cart_info.productAttr.sku))])],1),e("v-uni-view",{staticClass:"text-right"},[e("v-uni-view",{staticClass:"money regular"},[20==t.orderInfo.activity_type?e("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):e("v-uni-view",[t._v("¥"+t._s(t.product.product_price))]),e("v-uni-view",[t._v("x"+t._s(t.product.product_num))])],1)],1)],1)],1):t._e(),e("v-uni-view",{staticClass:"logisticsCon mt20 bg-f boder-24"},[e("v-uni-view",{staticClass:"company acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"iconfont icon-ic_receiving1"}),e("v-uni-view",{staticClass:"text"},[e("v-uni-view",[e("v-uni-text",{staticClass:"name line1"},[t._v("物流公司:")]),t._v(t._s(t.orderInfo.delivery_name?t.orderInfo.delivery_name:""))],1),e("v-uni-view",{staticClass:"express line1"},[e("v-uni-text",{staticClass:"name"},[t._v("快递单号:")]),t._v(t._s(t.orderInfo.delivery_id?t.orderInfo.delivery_id:""))],1)],1)],1),e("v-uni-view",{staticClass:"copy copy-data acea-row row-center row-middle",attrs:{"data-clipboard-text":t.orderInfo.delivery_id}},[t._v("复制单号")])],1),t._l(t.expressList,(function(i,o){return t.expressList.length>0?e("v-uni-view",{key:o,staticClass:"item"},[e("v-uni-view",{staticClass:"circular",class:0===o?"on":""}),e("v-uni-view",{staticClass:"text",class:0===o?"on-font on":""},[e("v-uni-view",[t._v(t._s(i.status))]),e("v-uni-view",{staticClass:"data",class:0===o?"on-font on":""},[t._v(t._s(i.time))])],1)],1):t._e()}))],2),1==t.recommend_switch?e("recommend",{attrs:{hostProduct:t.hostProduct,isLogin:t.isLogin}}):t._e()],1)],1)},s=[]},"4f88":function(t,i,e){"use strict";var o=e("d804"),s=e.n(o);s.a},"89b8":function(t,i,e){"use strict";e.r(i);var o=e("b815"),s=e.n(o);for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(c);i["default"]=s.a},b815:function(t,i,e){"use strict";e("6a54");var o=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("c223");var s=e("5676"),c=e("7e00"),n=o(e("5f97")),r=e("8f59"),a=e("96e0"),d=e("e44d"),l=o(e("d3e2")),u={components:{recommend:l.default},data:function(){return{orderId:"",refundId:"",merId:"",product:{},orderInfo:{},expressList:[],hostProduct:[],scroll:!1,page:1,limit:10}},computed:(0,a.configMap)({recommend_switch:0},(0,r.mapGetters)(["isLogin","viewColor"])),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():(0,d.toLogin)()},onReady:function(){this.$nextTick((function(){var t=this,i=new n.default(".copy-data");i.on("success",(function(){t.$util.Tips({title:"复制成功"})}))}))},methods:{copyOrderId:function(){uni.setClipboardData({data:this.orderInfo.delivery_id})},getExpress:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),t.orderId?(0,s.express)(t.orderId).then((function(i){uni.hideLoading();var e=i.data.express||{};t.$set(t,"product",i.data.order.orderProduct[0]||{}),t.$set(t,"orderInfo",i.data.order),t.$set(t,"expressList",e||[]),t.get_host_product()})).catch((function(i){return uni.hideLoading(),t.$util.Tips({title:i})})):(0,s.refundOrderExpress)(t.merId,t.refundId).then((function(i){uni.hideLoading();var e=i.data.express||{};t.$set(t,"product",i.data.refund.refundProduct[0].product||{}),t.$set(t,"orderInfo",i.data.refund),t.$set(t,"expressList",e||[]),t.get_host_product()})).catch((function(i){return uni.hideLoading(),t.$util.Tips({title:i})}))},get_host_product:function(){var t=this;t.scroll||(t.scroll=!0,(0,c.getProductHot)(t.page,t.limit).then((function(i){t.page++,t.scroll=i.data.list.length