1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-income-running-income-running"],{"0f9b":function(e,t,n){e.exports=n.p+"static/img/data-card.7e66a4f9.png"},"1e4f":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";.app-item[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-df5121be]{margin-top:%?10?%}.app-item uni-input[data-v-df5121be], .app-item uni-picker[data-v-df5121be], .app-item uni-textarea[data-v-df5121be]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-df5121be]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-df5121be]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-df5121be]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-df5121be]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-df5121be]{color:#fff;background:#f76454}.small-btn[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-df5121be]{color:#999;border-color:#999}.login-btn[data-v-df5121be]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-df5121be]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-df5121be]{margin-right:%?20?%}.border-right[data-v-df5121be]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-df5121be]{margin-right:%?6?%}.position-center[data-v-df5121be]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-df5121be]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-df5121be]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-df5121be]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-df5121be]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-df5121be]{color:#f76454}.swiper-nav[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-df5121be]{color:#f76454}.swiper-nav .moveBar[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-df5121be]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-df5121be]{flex:1;width:100%}.swiper-area uni-swiper[data-v-df5121be]{width:100%;height:100%}.article-header[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-df5121be]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-df5121be]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-df5121be]{color:#f76454}.article-footer[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-df5121be]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-df5121be]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-df5121be]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.income-running[data-v-df5121be]{height:100%;box-sizing:border-box;flex-direction:column;background:#f2f2f2}.income-running .content[data-v-df5121be]{flex:1;height:100%;position:relative;box-sizing:border-box}.income-running .content[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:column}.income-running .content .type[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?120?%;font-size:%?32?%;background:#fff;padding:%?20?% %?30?%;box-sizing:border-box}.income-running .content .type uni-text[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.income-running .content .title[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?60?%;font-size:%?32?%;padding:0 %?30?%;background:#fff;margin:%?10?% 0 %?1?%;box-sizing:border-box;justify-content:flex-start}.income-running .content .scroll[data-v-df5121be]{flex:1;width:100%;background:#fff}.income-running .content .scroll uni-scroll-view .item[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;background:#fff;padding:%?10?% %?30?%;box-sizing:border-box;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.income-running .content .scroll uni-scroll-view .item .left[data-v-df5121be]{display:flex;align-items:center;justify-content:center;flex-direction:column;flex:1;height:100%;align-items:flex-start}.income-running .content .scroll uni-scroll-view .item .left .name[data-v-df5121be]{font-size:%?26?%}.income-running .content .scroll uni-scroll-view .item .left .time[data-v-df5121be]{font-size:%?24?%;color:#999}.income-running .content .scroll uni-scroll-view .item .right[data-v-df5121be]{font-size:%?30?%;color:#f76454}',""]),e.exports=t},"3d92":function(e,t,n){var i=n("1e4f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("4f06").default;r("f0290c1a",i,!0,{sourceMap:!1,shadowMode:!1})},"404e":function(e,t,n){"use strict";var i=n("3d92"),r=n.n(i);r.a},6791:function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"income-running"},[i("custom-nav",{ref:"ltm",attrs:{noback:"noback",transparent:"transparent",title:" "}}),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"data-card"},[i("v-uni-image",{staticClass:"position-center",attrs:{src:n("0f9b")}}),i("v-uni-view",{staticClass:"data-card-text position-center"},[i("v-uni-text",{staticClass:"text"},[e._v("累计业绩(元)")]),i("v-uni-text",{staticClass:"num"},[e._v(e._s(e._f("numDot")(e.all_income))+"元")])],1)],1),i("v-uni-view",{staticClass:"title"},[e._v("收入明细")]),i("v-uni-view",{staticClass:"scroll"},[i("pulldown-refresher",{ref:"pulldownRefresher",on:{pulldownRefresh:function(t){arguments[0]=t=e.$handleEvent(t),e.pulldownrefresh.apply(void 0,arguments)}}},[i("v-uni-scroll-view",{style:{height:e.scrollViewHeight+"px"},attrs:{"scroll-y":!0},on:{scrolltolower:function(t){arguments[0]=t=e.$handleEvent(t),e.scrolltolower.apply(void 0,arguments)}}},[e._l(e.list,(function(t,n){return i("v-uni-view",{key:n,staticClass:"item"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-text",{staticClass:"name"},[e._v(e._s(e._f("getType")(t.type)))]),i("v-uni-text",{staticClass:"time"},[e._v(e._s(t.created_at))])],1),i("v-uni-view",{staticClass:"right"},[e._v("+"+e._s(e._f("numDot")(t.money)))])],1)})),e.list.length?i("custom-reach-bottom",{attrs:{nomore:0===e.page}}):i("swiper-status",{attrs:{page:e.page,unit:"流水"}})],2)],1)],1)],1)],1)},a=[]},"858f":function(e,t,n){"use strict";var i=n("4ea4");n("99af"),n("d3b7"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("2909")),a=n("a4b7"),o=i(n("a549")),d=i(n("fb09")),f=i(n("6bd6")),c={components:{swiperStatus:o.default,pulldownRefresher:d.default,customReachBottom:f.default},data:function(){return{title:"收入流水",all_income:0,list:[],page:1,scrollViewHeight:0,requesting:!1}},filters:{getType:function(e){switch(+e){case 0:return"下级代理下单收入";case 1:return"零售收入";case 2:return"邀请奖励收入";case 3:return"店铺奖励收入";case 4:return"业绩奖励收入"}}},mounted:function(){var e=this;this.request(),this.$offset(".scroll").then((function(t){e.scrollViewHeight=t.height}))},methods:{request:function(e){var t=this;return new Promise((function(n){t.page&&(!e&&uni.showLoading({mask:!0}),t.requesting=!0,(0,a._API_FortuneIncomeList)({page:t.page}).then((function(n){!e&&(t.list=[]),t.list=[].concat((0,r.default)(t.list),(0,r.default)(n.data.list)),t.all_income=n.data.all_money,n.data.list.length<+n.data.size?t.page=0:t.page++})).catch((function(){t.page=-1,t.list=[]})).finally((function(){n(),t.requesting=!1})))}))},pulldownrefresh:function(){var e=this;this.page=1,this.request().then((function(){e.$refs.pulldownRefresher.pullup()}))},scrolltolower:function(){!this.requesting&&this.request("loadmore")}}};t.default=c},a4b7:function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t._API_ActivityList=t._API_OrderRank=t._API_OrderSum=t._API_PurseRunning=t._API_FortuneReward=t._API_FortuneRecordRecord=t._API_FortuneRecordOrder=t._API_FortuneIncomeList=t._API_FortuneChart=void 0;var r=i(n("daa8")),a=function(e){return r.default.get("/app/chart?type=2",e)};t._API_FortuneChart=a;var o=function(e){return r.default.get("/income/income",e)};t._API_FortuneIncomeList=o;var d=function(e){return r.default.get("/inventory/record",e)};t._API_FortuneRecordOrder=d;var f=function(e){return r.default.get("/inventory/record_his",e)};t._API_FortuneRecordRecord=f;var c=function(e){return r.default.get("/income/detail",e)};t._API_FortuneReward=c;var s=function(e){return r.default.get("/user/user_pay_log",e)};t._API_PurseRunning=s;var l=function(e){return r.default.get("/order/order_data",e)};t._API_OrderSum=l;var u=function(e){return r.default.get("/order/order_rank",e)};t._API_OrderRank=u;var g=function(e){return r.default.get("/get_activity_list",e)};t._API_ActivityList=g},bb39:function(e,t,n){"use strict";n.r(t);var i=n("6791"),r=n("db78");for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);n("404e");var o,d=n("f0c5"),f=Object(d["a"])(r["default"],i["b"],i["c"],!1,null,"df5121be",null,!1,i["a"],o);t["default"]=f.exports},db78:function(e,t,n){"use strict";n.r(t);var i=n("858f"),r=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=r.a}}]);
|