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
16 KiB
1 lines
16 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-fenxiao-yongjin"],{"1de5":function(t,e,i){"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)}},2429:function(t,e,i){t.exports=i.p+"static/img/mescroll-empty.c69e38ef.png"},2909:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,a.default)(t)||(0,n.default)(t)||(0,r.default)(t)||(0,s.default)()};var a=o(i("6005")),n=o(i("db90")),r=o(i("06c5")),s=o(i("3427"));function o(t){return t&&t.__esModule?t:{default:t}}},"29e8":function(t,e,i){var a=i("6c27");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("361b5a1f",a,!0,{sourceMap:!1,shadowMode:!1})},"2c2e":function(t,e,i){"use strict";i.r(e);var a=i("5498"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},3427:function(t,e,i){"use strict";i("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.")},i("d9e2"),i("d401")},4838:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.withdraw=e.userRegister=e.updateUserInfo=e.submitPingzheng=e.smsSend=e.smsCheck=e.recharge=e.privacyPolicy=e.payUpGoods=e.orderPay=e.orderDetail=e.logout=e.loginApi=e.incomeDetail=e.getgoodsDetail=e.getWithdrawList=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.confirmSign=e.confirmPay=e.changePassword=e.cancelOrder=e.bindInvitor=e.addAddr=void 0;var a=uni.$u.http;e.smsSend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/sms/send",t,e)};e.smsCheck=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/sms/check",t,e)};e.userRegister=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/user/register",t,e)};e.loginApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/api/user/login",t,e)};e.privacyPolicy=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.post("/addons/shopro/data.richtext/index",t,e)};e.forgetPsw=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.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 a.post("/api/order/payUpGoods",t,e)};e.incomeDetail=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return a.get("/api/user/getUserIncomeAndExpandList",{params:t},e)};e.submitPingzheng=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return a.post("/api/user/submitPay",t,e)};e.confirmPay=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return a.post("/api/user/confirmPay",t,e)};e.confirmSign=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return a.post("/api/user/updateUserInfo",t,e)};e.recharge=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return a.post("/api/user/recharge",t,e)};e.withdraw=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return a.post("/api/user/withdraw",t,e)};e.getWithdrawList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return a.post("/api/user/withdrawList",t,e)}},5498:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("14d9");var n=a(i("2909")),r=i("4838"),s={data:function(){return{tabList:[{id:1,name:"已到账"},{id:0,name:"未到账"}],activeIndex:1,info:{distribute_order_num:0,total_commission_amount:0},page:1,limit:10,tableData:[],total:0}},methods:{getInfo:function(){var t=this;(0,r.getUserCommissionApi)({status:this.activeIndex}).then((function(e){t.info=Object.assign({},t.info,e.data)}))},getList:function(t){var e=this,i={page:this.page,limit:this.limit,status:this.activeIndex};(0,r.getUserCommissionList)(i).then((function(i){var a;t?(a=e.tableData).push.apply(a,(0,n.default)(i.data.data)):(e.tableData=i.data.data,e.total=i.data.total)}))},getItem:function(t){this.page=1,this.activeIndex=t.id,this.getInfo(),this.getList()}},onReachBottom:function(){this.tableData.length<this.total&&(this.page++,this.getList("over"))},mounted:function(){this.getInfo(),this.getList()}};e.default=s},"54f3":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"page"},[a("v-uni-view",{staticClass:"tabs"},t._l(t.tabList,(function(e){return a("v-uni-view",{key:e.id,class:t.activeIndex==e.id?"tabsItem active":"tabsItem",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getItem(e)}}},[t._v(t._s(e.name))])})),1),a("v-uni-view",{staticClass:"totalContent"},[a("v-uni-view",{staticClass:"totalitem"},[a("v-uni-view",{staticClass:"price"},[a("v-uni-text",[t._v("¥")]),a("v-uni-text",{staticClass:"num"},[t._v(t._s(t.info.total_commission_amount))])],1),a("v-uni-view",{staticClass:"descText"},[t._v("佣金总数")])],1),a("v-uni-view",{staticClass:"totalitem",staticStyle:{"border-left":"1px solid #fff"}},[a("v-uni-view",{staticClass:"price"},[a("v-uni-text",{staticClass:"num"},[t._v(t._s(t.info.distribute_order_num))])],1),a("v-uni-view",{staticClass:"descText"},[t._v("订单数")])],1)],1),a("v-uni-view",{staticClass:"yongjinTitle"},[t._v("佣金明细")]),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.tableData.length>0,expression:"tableData.length>0"}],staticClass:"record-list"},t._l(t.tableData,(function(e,i){return a("v-uni-view",{key:i,staticClass:"list"},[a("v-uni-image",{staticClass:"avatarPic",attrs:{src:t.baseUrl+e.avatar,mode:"aspectFill"}}),a("v-uni-view",{staticClass:"outer"},[a("v-uni-view",{staticClass:"title-date"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",[t._v(t._s(e.nickname))])],1),a("v-uni-view",{staticClass:"date"},[a("v-uni-text",[t._v(t._s(e.jointime))])],1)],1)],1),a("v-uni-view",{staticClass:"integral"},[a("v-uni-text",{staticStyle:{color:"#22AA44"}},[t._v(t._s(e.total_commission_amount))])],1)],1)})),1),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:0==t.tableData.length,expression:"tableData.length==0"}],staticClass:"empty"},[a("v-uni-image",{attrs:{src:i("2429"),mode:"widthFix"}}),a("v-uni-view",{staticClass:"emptyText"},[t._v("暂无数据")])],1)],1)},n=[]},6005:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,a.default)(t)};var a=function(t){return t&&t.__esModule?t:{default:t}}(i("6b75"))},"6c27":function(t,e,i){var a=i("24fb"),n=i("1de5"),r=i("77fc");e=a(!1);var s=n(r);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 主要颜色 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.tabs[data-v-7f7c96af]{height:%?80?%;background-color:#236030;padding:%?6?%;border-radius:5px;display:flex;margin:0 %?24?%}.tabs .tabsItem[data-v-7f7c96af]{flex:1;text-align:center;line-height:%?70?%;font-size:%?26?%;color:#fff}.tabs .active[data-v-7f7c96af]{background-color:#fff;font-size:%?30?%;font-weight:700;border-radius:5px;color:#236030}.totalContent[data-v-7f7c96af]{height:%?160?%;background:url('+s+");background-size:cover;background-repeat:no-repeat;border-radius:6px;overflow:hidden;position:relative;display:flex;padding:%?40?% 0;margin:%?20?% %?24?%}.totalContent .totalitem[data-v-7f7c96af]{flex:1;text-align:center;display:flex;flex-direction:column;justify-content:center}.totalContent .totalitem .price[data-v-7f7c96af]{display:flex;align-items:center;justify-content:center}.totalContent .totalitem .price uni-text[data-v-7f7c96af]{font-size:%?30?%;color:#fff}.totalContent .totalitem .price .num[data-v-7f7c96af]{font-size:%?48?%}.totalContent .totalitem .descText[data-v-7f7c96af]{text-align:center;font-size:%?28?%;color:#fff}.yongjinTitle[data-v-7f7c96af]{padding:13px 0 4px 0;font-size:%?30?%;color:#9f751f;margin:0 %?24?%}.record-list[data-v-7f7c96af]{background-color:#fff;padding:0 %?24?%;margin:0 %?24?%;border-radius:%?10?%}.record-list .list[data-v-7f7c96af]{display:flex;align-items:center;justify-content:space-between;border-bottom:%?2?% solid #f6f6f6}.record-list .list .avatarPic[data-v-7f7c96af]{width:%?100?%;height:%?100?%;border-radius:50%}.record-list .list .outer[data-v-7f7c96af]{flex:1;margin-left:%?20?%;padding:%?20?% 0}.record-list .list .title-date[data-v-7f7c96af]{height:100%}.record-list .list .title-date .title[data-v-7f7c96af]{display:flex;align-items:center;justify-content:space-between;width:100%;height:%?50?%}.record-list .list .title-date .title uni-text[data-v-7f7c96af]{font-size:%?28?%;font-weight:700;color:#236030}.record-list .list .title-date .date[data-v-7f7c96af]{display:flex;align-items:center;width:100%;height:%?60?%}.record-list .list .title-date .date uni-text[data-v-7f7c96af]{font-size:%?24?%;color:#959595}.record-list .list .integral[data-v-7f7c96af]{display:flex;align-items:center;height:100%}.record-list .list .integral uni-text[data-v-7f7c96af]{font-size:%?36?%;font-weight:700;color:#236030}.empty[data-v-7f7c96af]{text-align:center}.empty uni-image[data-v-7f7c96af]{width:50%;height:auto}.empty .emptyText[data-v-7f7c96af]{text-align:center;margin-top:%?20?%;color:#aaa}",""]),t.exports=e},"77fc":function(t,e,i){t.exports=i.p+"static/img/total-bg.23ea3a39.png"},8639:function(t,e,i){"use strict";var a=i("29e8"),n=i.n(a);n.a},cdef:function(t,e,i){"use strict";i.r(e);var a=i("54f3"),n=i("2c2e");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("8639");var s=i("f0c5"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"7f7c96af",null,!1,a["a"],void 0);e["default"]=o.exports}}]); |