mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-15 13:22:51 +00:00
2 lines
2.9 KiB
JavaScript
2 lines
2.9 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-64574983"],{"1fe7":function(t,s,e){},de90:function(t,s,e){"use strict";var a=e("1fe7"),i=e.n(a);i.a},e483:function(t,s,e){"use strict";e.r(s);var a=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"logistics"},[t._l(t.cartInfo,function(s){return a("div",{key:s.id,staticClass:"header acea-row row-between row-top"},[a("div",{staticClass:"pictrue"},[a("img",{attrs:{src:s.productInfo.image}})]),a("div",{staticClass:"text acea-row row-between"},[a("div",{staticClass:"name line2"},[t._v("\n "+t._s(s.productInfo.store_name)+"\n ")]),a("div",{staticClass:"money"},[a("div",[t._v("¥"+t._s(s.truePrice))]),a("div",[t._v("x"+t._s(s.cart_num))])])])])}),a("div",{staticClass:"logisticsCon"},[a("div",{staticClass:"company acea-row row-between-wrapper"},[a("div",{staticClass:"picTxt acea-row row-between-wrapper"},[a("div",{staticClass:"iconfont icon-wuliu"}),a("div",{staticClass:"text"},[a("div",[a("span",{staticClass:"name line1"},[t._v("物流公司:")]),t._v("\n "+t._s(t.orderInfo.delivery_name)+"\n ")]),a("div",{staticClass:"express line1"},[a("span",{staticClass:"name"},[t._v("快递单号:")]),t._v(" "+t._s(t.orderInfo.delivery_id)+"\n ")])])]),a("div",{staticClass:"copy acea-row row-center-wrapper copy-data",attrs:{"data-clipboard-text":t.orderInfo.delivery_id}},[t._v("\n 复制单号\n ")])]),t._l(t.expressList,function(s,e){return a("div",{key:e,staticClass:"item"},[a("div",{staticClass:"circular",class:0===e?"on":""}),a("div",{staticClass:"text"},[a("div",{class:0===e?"font-color-red":""},[t._v("\n "+t._s(s.status)+"\n ")]),a("div",{staticClass:"data"},[t._v(t._s(s.time))])])])})],2),t.loaded&&!t.expressList.length?a("div",{staticClass:"no-express"},[a("img",{attrs:{src:e("eb49")}})]):t._e(),a("Recommend")],2)},i=[],n=(e("7f7f"),e("f410")),r=e("b311"),o=e.n(r),c=e("f8b7"),d="Logistics",l={name:d,components:{Recommend:n["a"]},data:function(){return{id:this.$route.params.id,cartInfo:[],orderInfo:{},expressList:[],loaded:!1}},watch:{$route:function(t){t.name===d&&this.$route.params.id!==this.id&&(this.id=this.$route.params.id,this.getExpress())}},mounted:function(){this.getExpress()},methods:{getExpress:function(){var t=this;if(!this.id)return this.$dialog.error("订单不存在");this.loaded=!1,Object(c["d"])(this.id).then(function(s){var e=s.data.express.result||{};t.cartInfo=s.data.order.cartInfo,t.orderInfo=s.data.order,t.expressList=e.list||[],t.loaded=!0,t.$nextTick(function(){var t=this,s=document.getElementsByClassName("copy-data"),e=new o.a(s);e.on("success",function(){t.$dialog.success("复制成功")})})}).catch(function(s){t.$dialog.error(s.msg||"加载失败")})}}},u=l,p=(e("de90"),e("2877")),v=Object(p["a"])(u,a,i,!1,null,"41f1c6d0",null);s["default"]=v.exports},eb49:function(t,s,e){t.exports=e.p+"h5/img/noExpress.375a0428.png"}}]);
|
|
//# sourceMappingURL=chunk-64574983.e7907373.js.map
|