(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-fenxiao-fansOrder"],{"05e0":function(t,e,s){"use strict";s("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.userRegister=e.updateUserInfo=e.smsSend=e.smsCheck=e.privacyPolicy=e.payUpGoods=e.orderPay=e.orderDetail=e.logout=e.loginApi=e.getgoodsDetail=e.getWarehouseList=e.getUserProfitStatistic=e.getUserProfitList=e.getUserInfo=e.getUserFansStatistic=e.getUserFansOrderStatistic=e.getUserFansOrderList=e.getUserFansList=e.getUserCommissionStatistic=e.getUserCommissionList=e.getUserCommissionApi=e.getSellerOrderList=e.getGoodsList=e.getBuyerOrderList=e.getArea=e.getAddrList=e.getAddrDesc=e.forgetPsw=e.editAddr=e.deleteAddr=e.createOrder=e.couponList=e.changePassword=e.cancelOrder=e.bindInvitor=e.addAddr=void 0;var i=uni.$u.http;e.smsSend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.post("/api/sms/send",t,e)};e.smsCheck=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.post("/api/sms/check",t,e)};e.userRegister=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.post("/api/user/register",t,e)};e.loginApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.post("/api/user/login",t,e)};e.privacyPolicy=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.post("/addons/shopro/data.richtext/index",t,e)};e.forgetPsw=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.post("/api/user/resetpwd",t,e)};e.getUserInfo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserinfo",t,e)};e.getAddrList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.address/index",t,e)};e.getArea=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/data.area/index",t,e)};e.addAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.address/add",t,e)};e.editAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.address/edit",t,e)};e.deleteAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.address/delete",t,e)};e.getAddrDesc=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.address/detail",t,e)};e.changePassword=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.user/changePassword",t,e)};e.logout=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/logout",t,e)};e.updateUserInfo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/updateUserInfo",t,e)};e.couponList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.coupon/index",t,e)};e.getUserCommissionStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserCommissionStatistic",t,e)};e.getUserCommissionApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserCommission",t,e)};e.getUserCommissionList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserCommissionList",t,e)};e.getUserFansStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserFansStatistic",t,e)};e.getUserFansList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserFansList",t,e)};e.getUserFansOrderStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserFansOrderStatistic",t,e)};e.getUserFansOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserFansOrderList",t,e)};e.getUserProfitStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserProfitStatistic",t,e)};e.getUserProfitList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserProfitList",t,e)};e.getWarehouseList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/order/getWarehouseList",t,e)};e.getGoodsList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/order/getGoodsList",t,e)};e.getgoodsDetail=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.get("/api/order/goodsDetail",{params:t},e)};e.getBuyerOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.get("/api/order/getBuyerOrderList",{params:t},e)};e.getSellerOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.get("/api/order/getSellerOrderList",{params:t},e)};e.createOrder=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/order/createOrder",t,e)};e.cancelOrder=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/order/cancelOrder",t,e)};e.orderDetail=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.get("/api/order/orderDetail",{params:t},e)};e.orderPay=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/order/orderPay",t,e)};e.bindInvitor=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/bindInvitor",t,e)};e.payUpGoods=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/order/payUpGoods",t,e)}},"0d24":function(t,e,s){"use strict";s.r(e);var i=s("60e5"),o=s.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){s.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"1ce9":function(t,e,s){"use strict";s.d(e,"b",(function(){return i})),s.d(e,"c",(function(){return o})),s.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page"},[i("v-uni-view",{staticClass:"totalContent"},[i("v-uni-view",{staticClass:"totalitem"},[i("v-uni-view",{staticClass:"price"},[i("v-uni-text",[t._v("¥")]),i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.info.total_fans_order_amount))])],1),i("v-uni-view",{staticClass:"descText"},[t._v("订单总金额")])],1),i("v-uni-view",{staticClass:"totalitem",staticStyle:{"border-left":"1px solid #fff"}},[i("v-uni-view",{staticClass:"price"},[i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.info.today_fans_order_num))])],1),i("v-uni-view",{staticClass:"descText"},[t._v("订单数")])],1)],1),i("v-uni-view",{staticClass:"order-list"},t._l(t.tableData,(function(e,s){return i("v-uni-view",{key:s,staticClass:"list"},[i("v-uni-view",{staticClass:"title-status"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",[t._v("订单号:"+t._s(e.order_sn))])],1),i("v-uni-view",{staticClass:"status"},[i("v-uni-text",[t._v(t._s(0==e.status?"付款确认":1==e.status?"收款确认":3==e.status?"投诉":""))])],1)],1),i("v-uni-view",{staticClass:"goods-list"},[i("v-uni-view",{staticClass:"goods"},[i("v-uni-view",{staticClass:"thumb"},[i("v-uni-image",{attrs:{src:e.order_goods[0]?e.order_goods[0].goods_image:"",mode:""}})],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"goods-name"},[i("v-uni-text",{staticClass:"two-omit"},[t._v(t._s(e.order_goods[0]?e.order_goods[0].goods_name:""))])],1),i("v-uni-view",{staticClass:"priceBox"},[i("v-uni-view",{staticClass:"goods-price"},[i("v-uni-text",{staticClass:"min"},[t._v("¥"+t._s(e.order_goods[0]?e.order_goods[0].goods_price:""))])],1),i("v-uni-view",{staticClass:"yongjin"},[t._v("佣金:¥"+t._s(e.commission_amount))])],1)],1)],1)],1),i("v-uni-view",{staticClass:"status-btn"},[i("v-uni-view",{staticClass:"btn"},[i("v-uni-text",[t._v("归属人:"+t._s(e.seller.nickname))])],1),i("v-uni-view",{staticClass:"btn"},[i("v-uni-text",[t._v("购买人:"+t._s(e.seller.nickname))])],1)],1)],1)})),1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:0==t.tableData.length,expression:"tableData.length==0"}],staticClass:"empty"},[i("v-uni-image",{attrs:{src:s("7132"),mode:"widthFix"}}),i("v-uni-view",{staticClass:"emptyText"},[t._v("暂无数据")])],1)],1)},o=[]},"1de5":function(t,e,s){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},2909:function(t,e,s){"use strict";s("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t)||(0,o.default)(t)||(0,a.default)(t)||(0,r.default)()};var i=n(s("6005")),o=n(s("db90")),a=n(s("06c5")),r=n(s("3427"));function n(t){return t&&t.__esModule?t:{default:t}}},3427:function(t,e,s){"use strict";s("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},s("d9e2"),s("d401")},6005:function(t,e,s){"use strict";s("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,i.default)(t)};var i=function(t){return t&&t.__esModule?t:{default:t}}(s("6b75"))},"60e5":function(t,e,s){"use strict";s("7a82");var i=s("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,s("14d9");var o=i(s("2909")),a=s("05e0"),r={data:function(){return{info:{today_fans_order_num:0,total_fans_order_amount:0},page:1,limit:10,tableData:[],total:0}},methods:{getInfo:function(){var t=this;(0,a.getUserFansOrderStatistic)().then((function(e){t.info=Object.assign({},t.info,e.data)}))},getList:function(t){var e=this,s={page:this.page,limit:this.limit};(0,a.getUserFansOrderList)(s).then((function(s){var i;t?(i=e.tableData).push.apply(i,(0,o.default)(s.data.data)):(e.tableData=s.data.data,e.total=s.data.total)}))}},onReachBottom:function(){this.tableData.length