(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["user/page/promoter_order"],{"0fdb":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("36af"),r=(n("6f08"),n("26cb")),a={components:{emptyPage:function(){n.e("components/emptyPage").then(function(){return resolve(n("0106"))}.bind(null,n)).catch(n.oe)}},data:function(){return{page:1,limit:8,status:!1,recordList:[],recordCount:0,userInfo:"",type:0,statuss:0}},computed:(0,r.mapGetters)(["isLogin"]),onLoad:function(t){console.log(t),this.type=t.type,1==this.type?this.statuss=0:this.statuss=1,this.getRecordOrderList()},methods:{goDetail:function(e){var n=e.order_detail;t.removeStorageSync("orderInfo");var o=[];e.order_info.forEach((function(t){o.push(t.cart_info)})),n.cartInfo=o,t.setStorageSync("orderInfo",n),t.navigateTo({url:"/pages/order/orderDetail?oid=1"})},spreadInfo:function(){var t=this;(0,o.spreadInfo)().then((function(e){t.userInfo=e.data}))},getRecordOrderList:function(){var t=this,e=t.page,n=t.limit,r=t.status,a=t.recordList,i=t.statuss;console.log(a,"22222");var s=[],c=[],u=0;1!=r&&(0,o.spreadOrder)({page:e,limit:n,status:i}).then((function(e){console.log(e,"ere");var o=e.data.list?e.data.list.length:0,r=(e.data.list,e.data.list);console.log(r);for(var i=0;i<r.length;i++)for(var d=0;d<e.data.list[i].child.length;d++)u++,c.push(e.data.list[i].child[d]);t.recordCount=u||0,s=a.concat(c),t.status=n>o,t.page+=1,t.$set(t,"recordList",s)}))}},onReachBottom:function(){this.getRecordOrderList()}};e.default=a}).call(this,n("543d")["default"])},2784:function(t,e,n){"use strict";var o=n("baea"),r=n.n(o);r.a},"77bf":function(t,e,n){"use strict";(function(t,e){var o=n("4ea4");n("12d5");o(n("66fd"));var r=o(n("fe70"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"8c36":function(t,e,n){"use strict";n.r(e);var o=n("0fdb"),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},af01:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=function(){var t=this.$createElement,e=(this._self._c,this.recordList.length),n=this.recordList.length;this.$mp.data=Object.assign({},{$root:{g0:e,g1:n}})},r=[]},baea:function(t,e,n){},fe70:function(t,e,n){"use strict";n.r(e);var o=n("af01"),r=n("8c36");for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("2784");var i=n("f0c5"),s=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"67b31f50",null,!1,o["a"],void 0);e["default"]=s.exports}},[["77bf","common/runtime","common/vendor"]]]);