(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/me/pagesOne/order/order"],{"3ac1":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var o={vTabs:function(){return n.e("components/v-tabs/v-tabs").then(n.bind(null,"a639"))},orderGoods:function(){return n.e("components/orderGoods/orderGoods").then(n.bind(null,"8928"))}},r=function(){var t=this.$createElement,e=(this._self._c,Number(this.tabIndex));this.$mp.data=Object.assign({},{$root:{m0:e}})},a=[]},"42ac":function(t,e,n){},6016:function(t,e,n){"use strict";(function(t){var e=n("4ea4");n("0178");e(n("66fd"));var o=e(n("a7ab"));wx.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("543d")["createPage"])},"6fe4":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=getApp().globalData,o={data:function(){return{tabIndex:0,tabBars:[{name:"全部",text:"暂无订单"},{name:"待付款",text:"暂无待付款订单"},{name:"待配送",text:"暂无待配送订单"},{name:"配送中",text:"暂无配送中订单"},{name:"已完成",text:"暂无已完成订单"}],goods:[],tabIndexArr:[0,1,2,3,4],scrollHeight:0,orderId:"",onOrder:{}}},onShow:function(){this.getmyPush(this.tabIndex)},onLoad:function(t){this.tabIndex=Number(t.value)||"",this.getmyPush(t.value),this.getScrollHeight()},methods:{getmyPush:function(t){var e=this;this.$tools.axiosFromToken("POST","order/my_order",{status:t,token:n.token},"加载中").then((function(t){e.goods=t.data||[]}))},getOrder:function(){this.getmyPush(this.tabIndex)},commitGoods:function(){var t=this;this.$tools.axiosFromToken("POST","order/signOrder",{order_id:this.orderId},"加载中").then((function(e){t.getOrder(),t.$tools.showtt(e.msg)}))},getScrollHeight:function(){var e=t.getSystemInfoSync().windowHeight;this.scrollHeight=e,console.log(e)},toggleTab:function(t){console.log(t,"点击切换"),this.tabIndex=Number(t)},tabChange:function(t){var e=Number(t.detail.current);this.tabIndex=e,this.getmyPush(e)}}};e.default=o}).call(this,n("543d")["default"])},"9c49":function(t,e,n){"use strict";n.r(e);var o=n("6fe4"),r=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=r.a},a7ab:function(t,e,n){"use strict";n.r(e);var o=n("3ac1"),r=n("9c49");for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("e9be");var i=n("f0c5"),s=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=s.exports},e9be:function(t,e,n){"use strict";var o=n("42ac"),r=n.n(o);r.a}},[["6016","common/runtime","common/vendor"]]]);