You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
3.8 KiB
1 lines
3.8 KiB
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/logistics/index"],{1216:function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return r})),o.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.expressList.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},r=[]},"3d37":function(t,e,o){"use strict";(function(t,e){var n=o("47a9");o("7561");n(o("3240"));var r=n(o("e508"));t.__webpack_require_UNI_MP_PLUGIN__=o,e(r.default)}).call(this,o("3223")["default"],o("df3c")["createPage"])},"6a6e":function(t,e,o){"use strict";o.r(e);var n=o("98df"),r=o.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(i);e["default"]=r.a},7674:function(t,e,o){"use strict";var n=o("a7ac"),r=o.n(n);r.a},"98df":function(t,e,o){"use strict";(function(t){var n=o("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(o("7ca3")),i=o("152a"),s=(n(o("6da5")),o("7ba4")),c=o("8f59"),a=o("bad7");function u(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function l(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?u(Object(o),!0).forEach((function(e){(0,r.default)(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var f=t.getSystemInfoSync().statusBarHeight,d={components:{NavBar:function(){o.e("components/NavBar").then(function(){return resolve(o("5962"))}.bind(null,o)).catch(o.oe)},emptyPage:function(){o.e("components/emptyPage").then(function(){return resolve(o("bc18"))}.bind(null,o)).catch(o.oe)}},data:function(){return{sysHeight:f,imgHost:a.HTTP_REQUEST_URL,orderId:"",type:"",product:[],orderInfo:{},expressList:[],isShowAuth:!1,pageScrollStatus:!1,showMore:!0,iconColor:"#FFFFFF",isScrolling:!1}},computed:l(l({},(0,c.mapGetters)(["isLogin"])),{},{logisticList:function(){return this.showMore?this.expressList:this.expressList.slice(0,1)}}),watch:{isLogin:{handler:function(t,e){},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()},onReady:function(){},onPageScroll:function(e){e.scrollTop>100?this.pageScrollStatus=!0:e.scrollTop<100&&(this.pageScrollStatus=!1),e.scrollTop>50?(this.isScrolling=!0,this.iconColor="#333333"):e.scrollTop<50&&(this.isScrolling=!1,this.iconColor="#FFFFFF"),t.$emit("scroll")},onShow:function(){t.removeStorageSync("form_type_cart"),this.isLogin||(0,s.toLogin)()},methods:{authColse:function(t){this.isShowAuth=t},onLoadFun:function(){this.getExpress(),this.isShowAuth=!1},copyOrderId:function(){t.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||[])})).catch((function(e){t.$util.Tips({title:e})}))},checkShowMore:function(){this.showMore=!this.showMore},goPage:function(e,o){1==e?t.navigateTo({url:o}):2==e?t.switchTab({url:o}):3==e&&t.navigateBack()}}};e.default=d}).call(this,o("df3c")["default"])},a7ac:function(t,e,o){},e508:function(t,e,o){"use strict";o.r(e);var n=o("1216"),r=o("6a6e");for(var i in r)["default"].indexOf(i)<0&&function(t){o.d(e,t,(function(){return r[t]}))}(i);o("7674");var s=o("828b"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"7a788a5d",null,!1,n["a"],void 0);e["default"]=c.exports}},[["3d37","common/runtime","common/vendor"]]]); |