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
14 KiB
1 lines
14 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-fenxiao-fans"],{"1b1b":function(t,e,a){"use strict";a("7a82");var r=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("14d9");var i=r(a("2909")),s=a("2c89"),n={data:function(){return{info:{today_fans_num:0,total_fans_num:0},page:1,limit:10,tableData:[],total:0}},methods:{getInfo:function(){var t=this;(0,s.getUserFansStatistic)().then((function(e){t.info=Object.assign({},t.info,e.data)}))},getList:function(t){var e=this,a={page:this.page,limit:this.limit};(0,s.getUserFansList)(a).then((function(a){var r;t?(r=e.tableData).push.apply(r,(0,i.default)(a.data.data)):(e.tableData=a.data.data,e.total=a.data.total)}))}},onReachBottom:function(){this.tableData.length<this.total&&(this.page++,this.getList("over"))},mounted:function(){this.getInfo(),this.getList()}};e.default=n},"1de5":function(t,e,a){"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,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,r.default)(t)||(0,i.default)(t)||(0,s.default)(t)||(0,n.default)()};var r=o(a("6005")),i=o(a("db90")),s=o(a("06c5")),n=o(a("3427"));function o(t){return t&&t.__esModule?t:{default:t}}},"2b15":function(t,e,a){var r=a("7223");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=a("4f06").default;i("1803db67",r,!0,{sourceMap:!1,shadowMode:!1})},"2c89":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.userRegister=e.updateUserInfo=e.smsSend=e.smsCheck=e.privacyPolicy=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.addAddr=void 0;var r=uni.$u.http;e.smsSend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.post("/api/sms/send",t,e)};e.smsCheck=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.post("/api/sms/check",t,e)};e.userRegister=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.post("/api/user/register",t,e)};e.loginApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.post("/api/user/login",t,e)};e.privacyPolicy=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.post("/addons/shopro/data.richtext/index",t,e)};e.forgetPsw=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.post("/api/order/goodsDetail",t,e)};e.getBuyerOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return r.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 r.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 r.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 r.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 r.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 r.get("/api/order/orderPay",{params:t},e)}},"326b":function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-view",{staticClass:"page"},[r("v-uni-view",{staticClass:"totalContent"},[r("v-uni-view",{staticClass:"totalitem"},[r("v-uni-view",{staticClass:"price"},[r("v-uni-text",[t._v("¥")]),r("v-uni-text",{staticClass:"num"},[t._v(t._s(t.info.today_fans_num))])],1),r("v-uni-view",{staticClass:"descText"},[t._v("今日邀请")])],1),r("v-uni-view",{staticClass:"totalitem",staticStyle:{"border-left":"1px solid #fff"}},[r("v-uni-view",{staticClass:"price"},[r("v-uni-text",{staticClass:"num"},[t._v(t._s(t.info.total_fans_num))])],1),r("v-uni-view",{staticClass:"descText"},[t._v("历史邀请")])],1)],1),r("v-uni-view",{staticClass:"yongjinTitle"},[t._v("分享有礼("+t._s(t.tableData.length)+")")]),r("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,a){return r("v-uni-view",{key:a,staticClass:"list"},[r("v-uni-image",{staticClass:"avatarPic",attrs:{src:t.baseUrl+e.avatar,mode:""}}),r("v-uni-view",{staticClass:"outer"},[r("v-uni-view",{staticClass:"title-date"},[r("v-uni-view",{staticClass:"title"},[r("v-uni-text",[t._v(t._s(e.nickname))])],1),r("v-uni-view",{staticClass:"date"},[r("v-uni-text",[t._v(t._s(e.jointime))])],1)],1)],1),r("v-uni-view",{staticClass:"integral"},[r("v-uni-text",{staticStyle:{color:"#22AA44"}},[t._v("+"+t._s(e.total_commission_amount))])],1)],1)})),1),r("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:0==t.tableData.length,expression:"tableData.length==0"}],staticClass:"empty"},[r("v-uni-image",{attrs:{src:a("ebf1"),mode:"widthFix"}}),r("v-uni-view",{staticClass:"emptyText"},[t._v("暂无数据")])],1)],1)},i=[]},3427:function(t,e,a){"use strict";a("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.")},a("d9e2"),a("d401")},6005:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,r.default)(t)};var r=function(t){return t&&t.__esModule?t:{default:t}}(a("6b75"))},"61d0":function(t,e,a){t.exports=a.p+"static/img/total-bg.23ea3a39.png"},"67ed":function(t,e,a){"use strict";var r=a("2b15"),i=a.n(r);i.a},7223:function(t,e,a){var r=a("24fb"),i=a("1de5"),s=a("61d0");e=r(!1);var n=i(s);e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 主要颜色 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.totalContent[data-v-8e10904a]{height:%?160?%;background:url('+n+");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-8e10904a]{flex:1;text-align:center;display:flex;flex-direction:column;justify-content:center}.totalContent .totalitem .price[data-v-8e10904a]{display:flex;align-items:center;justify-content:center}.totalContent .totalitem .price uni-text[data-v-8e10904a]{font-size:%?30?%;color:#fff}.totalContent .totalitem .price .num[data-v-8e10904a]{font-size:%?48?%}.totalContent .totalitem .descText[data-v-8e10904a]{text-align:center;font-size:%?28?%;color:#fff}.yongjinTitle[data-v-8e10904a]{border:3px solid #236030;margin:%?24?%;border-radius:%?10?%;padding:%?10?%;text-align:center;color:#236030;font-weight:700;font-size:%?30?%}.record-list[data-v-8e10904a]{background-color:#fff;padding:0 %?24?%;margin:0 %?24?%;border-radius:%?10?%}.record-list .list[data-v-8e10904a]{display:flex;align-items:center;justify-content:space-between;border-bottom:%?2?% solid #f6f6f6}.record-list .list .avatarPic[data-v-8e10904a]{width:%?100?%;height:%?100?%;border-radius:50%}.record-list .list .outer[data-v-8e10904a]{flex:1;margin-left:%?20?%;padding:%?20?% 0}.record-list .list .title-date[data-v-8e10904a]{height:100%}.record-list .list .title-date .title[data-v-8e10904a]{display:flex;align-items:center;justify-content:space-between;width:100%;height:%?50?%}.record-list .list .title-date .title uni-text[data-v-8e10904a]{font-size:%?28?%;font-weight:700;color:#236030}.record-list .list .title-date .date[data-v-8e10904a]{display:flex;align-items:center;width:100%;height:%?60?%}.record-list .list .title-date .date uni-text[data-v-8e10904a]{font-size:%?24?%;color:#959595}.record-list .list .integral[data-v-8e10904a]{display:flex;align-items:center;height:100%}.record-list .list .integral uni-text[data-v-8e10904a]{font-size:%?36?%;font-weight:700;color:#236030}.empty[data-v-8e10904a]{text-align:center}.empty uni-image[data-v-8e10904a]{width:50%;height:auto}.empty .emptyText[data-v-8e10904a]{text-align:center;margin-top:%?20?%;color:#aaa}",""]),t.exports=e},"8e88":function(t,e,a){"use strict";a.r(e);var r=a("326b"),i=a("c0be");for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);a("67ed");var n=a("f0c5"),o=Object(n["a"])(i["default"],r["b"],r["c"],!1,null,"8e10904a",null,!1,r["a"],void 0);e["default"]=o.exports},c0be:function(t,e,a){"use strict";a.r(e);var r=a("1b1b"),i=a.n(r);for(var s in r)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return r[t]}))}(s);e["default"]=i.a},ebf1:function(t,e,a){t.exports=a.p+"static/img/mescroll-empty.c69e38ef.png"}}]); |