1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5a4d9518"],{"5bab":function(t,i,e){"use strict";e("6635")},6635:function(t,i,e){var a=e("a441");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var s=e("499e").default;s("0778855a",a,!0,{sourceMap:!1,shadowMode:!1})},a441:function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,".headTop[data-v-d84394f8]{padding:2.66rem .75rem;background-color:#ff8924;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.headTop[data-v-d84394f8],.headTop .userBox[data-v-d84394f8]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.headTop .userBox[data-v-d84394f8]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin-left:.41rem}.headTop .userBox .name[data-v-d84394f8]{font-size:1rem;color:#fff;font-weight:700}.headTop .userBox .grade[data-v-d84394f8]{padding:.28rem .63rem;border-radius:.9rem;color:#ff8924;margin-top:.94rem;background-color:#fff}.headTop .himg[data-v-d84394f8]{width:3.44rem;height:3.44rem;border-radius:100%}.headTop .himg img[data-v-d84394f8]{width:100%;height:100%;border-radius:100%}.navList[data-v-d84394f8]{margin:1.9rem .75rem;border-radius:.31rem;background:#fff;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.navList .lis[data-v-d84394f8]{padding:.75rem 0;margin:0 .75rem;border-bottom:1px solid #f2f2f2}.navList .lis .rwo[data-v-d84394f8]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-bottom:.6rem}.navList .lis .rwo .sn[data-v-d84394f8]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:.81rem;font-weight:700;color:#333;text-align:left}.navList .lis .rwo .price[data-v-d84394f8]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;font-size:.81rem;color:#f15353}.navList .lis .rwo .member[data-v-d84394f8]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.navList .lis .rwo .member .mimg[data-v-d84394f8]{width:1.38rem;height:1.38rem;border-radius:50%}.navList .lis .rwo .member .mimg img[data-v-d84394f8]{width:100%;height:100%;border-radius:50%}.navList .lis .rwo .member .memberName[data-v-d84394f8]{font-size:.69rem;color:#999;margin-left:.25rem}.navList .lis .rwo .date[data-v-d84394f8],.navList .lis .rwo .orderPrice[data-v-d84394f8]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;font-size:.69rem;color:#999}.navList .lis .rwoB[data-v-d84394f8]{margin-bottom:0}.number_List[data-v-d84394f8]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin:-1.33rem .75rem;background:#fff;border-radius:.31rem}.number_List .lis[data-v-d84394f8]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;margin:1rem 0}.number_List .lis .top[data-v-d84394f8]{font-size:.88rem;color:#3b3b4a;margin-bottom:.75rem;font-weight:700}.number_List .lis .txt[data-v-d84394f8]{color:#aaaab3;font-size:.75rem}.number_List .lis_right[data-v-d84394f8]{border-right:1px solid #e7e7e7}.number_List .lis[data-v-d84394f8]:last-child{border-right:0}",""]),t.exports=i},ac0d:function(t,i,e){"use strict";e.d(i,"a",(function(){return n}));var a=document.documentElement,s=document.body,n={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var t=0;return a&&a.scrollTop?t=a.scrollTop:s&&(t=s.scrollTop),t},getClientHeight:function(){var t=0;return t=s.clientHeight&&a.clientHeight?Math.min(s.clientHeight,a.clientHeight):Math.max(s.clientHeight,a.clientHeight),t},getScrollHeight:function(){return Math.max(s.scrollHeight,a.scrollHeight)},handleScroll:function(){this.otherScroll();var t=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=t>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},af16f:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"speed_up_index"},[e("c-title",{attrs:{hide:!1,text:t.diy_name}}),e("div",{staticClass:"headTop"},[e("div",{staticClass:"himg"},[e("img",{attrs:{src:t.user.avatar,alt:""}})]),e("div",{staticClass:"userBox"},[e("div",{staticClass:"name"},[t._v(t._s(t.user.nickname))]),"reward_pool_dividend"==t.name&&t.user.level_name?e("div",{staticClass:"grade"},[t._v(t._s(t.user.level_name))]):t._e()])]),e("div",{staticClass:"number_List"},["quicken_income"==t.name?[e("div",{staticClass:"lis"},[e("div",{staticClass:"top"},[t._v("¥"+t._s(t.statistic.residue_totals))]),e("div",{staticClass:"txt"},[t._v("目前权益数量")])]),e("div",{staticClass:"lis"},[e("div",{staticClass:"top"},[t._v("¥"+t._s(t.statistic.grant_totals))]),e("div",{staticClass:"txt"},[t._v("已收益数量")])]),e("div",{staticClass:"lis"},[e("div",{staticClass:"top"},[t._v("¥"+t._s(t.statistic.equity_totals))]),e("div",{staticClass:"txt"},[t._v("总权益数量")])])]:[e("div",{staticClass:"lis"},[e("div",{staticClass:"top"},[t._v("¥"+t._s(t.statistic.total))]),e("div",{staticClass:"txt"},[t._v("累计奖励金额")])]),e("div",{staticClass:"lis"},[e("div",{staticClass:"top"},[t._v("¥"+t._s(t.statistic.current))]),e("div",{staticClass:"txt"},[t._v("目前权益数量")])])]],2),e("div",{staticClass:"navList"},[e("van-tabs",{attrs:{"title-active-color":"#F15353",color:"#F15353"},on:{change:t.onNavtab},model:{value:t.active,callback:function(i){t.active=i},expression:"active"}},["quicken_income"==t.name?[e("van-tab",{attrs:{title:"获得权益记录"}},t._l(t.listInfo,(function(i,a){return e("div",{key:a,staticClass:"lis"},[e("div",{staticClass:"rwo"},[e("div",{staticClass:"sn"},[t._v(t._s(i.order_sn))]),e("div",{staticClass:"price"},[t._v("¥"+t._s(i.equity_total))])]),e("div",{staticClass:"rwo rwoB"},[e("div",{staticClass:"orderPrice"},[t._v("订单金额:"+t._s(i.order_price))]),e("div",{staticClass:"date"},[t._v(t._s(i.created_at))])])])})),0),e("van-tab",{attrs:{title:"奖励记录"}},t._l(t.listInfo,(function(i,a){return e("div",{key:a,staticClass:"lis"},[e("div",{staticClass:"rwo"},[e("div",{staticClass:"sn"},[t._v(t._s(1==i.income_type?"加速收益":"固定收益"))]),e("div",{staticClass:"price"},[t._v("¥"+t._s(i.amount))])]),e("div",{staticClass:"rwo rwoB"},[i.income_member&&1==i.income_type?e("div",{staticClass:"member"},[e("div",{staticClass:"mimg"},[e("img",{attrs:{src:i.income_member.avatar,alt:""}})]),e("div",{staticClass:"memberName"},[t._v(t._s(i.income_member.username))])]):t._e(),0==i.income_type?e("div",{staticClass:"orderPrice"},[t._v(t._s(i.order_sn))]):t._e(),e("div",{staticClass:"date"},[t._v(t._s(i.created_at))])])])})),0)]:"reward_pool_dividend"==t.name?[e("van-tab",{attrs:{title:"奖励记录"}},t._l(t.listInfo,(function(i,a){return e("div",{key:a,staticClass:"lis"},[e("div",{staticClass:"rwo"},[e("div",{staticClass:"sn"},[t._v("奖励ID:"+t._s(i.id))]),e("div",{staticClass:"price"},[t._v("¥"+t._s(i.amount))])]),e("div",{staticClass:"rwo rwoB"},[e("div",{staticClass:"date"},[t._v(t._s(i.created_at))])])])})),0)]:t._e()],2)],1)],1)},s=[],n=(e("b0c0"),e("b64b"),e("99af"),e("ac0d")),o={mixins:[n["a"]],data:function(){return{active:0,name:"",user:[],statistic:[],listInfo:[],diy_name:"",page:1,total_page:0,isLoadMore:!0}},activated:function(){this.name=this.$route.name;var t,i,e,a,s=JSON.parse(localStorage.getItem("yz_basic_info")).plugin_setting;"quicken_income"==this.name?(this.diy_name=(null===s||void 0===s||null===(t=s.quicken_income)||void 0===t?void 0:t.diy_name)||"加速收益分红",this.fun.setWXTitle((null===s||void 0===s||null===(i=s.quicken_income)||void 0===i?void 0:i.diy_name)||"加速收益分红")):(this.diy_name=(null===s||void 0===s||null===(e=s.reward_pool_dividend)||void 0===e?void 0:e.diy_name)||"奖金池分红",this.fun.setWXTitle((null===s||void 0===s||null===(a=s.reward_pool_dividend)||void 0===a?void 0:a.diy_name)||"奖金池分红"));this.init(),this.getData(),this.getList()},methods:{init:function(){this.page=1,this.total_page=0,this.listInfo=[],this.isLoadMore=!0},onNavtab:function(){this.init(),this.getList()},getData:function(){var t=this,i="plugin.quicken-income.frontend.controllers.index.index";"reward_pool_dividend"==this.name&&(i="plugin.reward-pool-dividend.api.index.index"),$http.post(i,{},"加载中").then((function(i){if(1===i.result){var e=i.data,a=e.user,s=e.statistic;t.user=a,t.statistic=s}else t.$toast(i.msg)})).catch((function(t){}))},getList:function(){var t=this,i=["plugin.quicken-income.frontend.controllers.index.equity","plugin.quicken-income.frontend.controllers.index.equity-detail"];"reward_pool_dividend"==this.name&&(i=["plugin.reward-pool-dividend.api.index.reward-log"]),$http.post(i[this.active],{page:1},"加载中").then((function(i){if(1===i.result){var e="reward_pool_dividend"==t.name?i.data:i.data.list,a=e.data,s=e.last_page;t.isLoadMore=!0,t.listInfo=a,t.total_page=s,t.total_page||(t.total_page=0)}else t.$toast(i.msg)})).catch((function(t){}))},getMoreData:function(){var t=this,i=["plugin.quicken-income.frontend.controllers.index.equity","plugin.quicken-income.frontend.controllers.index.equity-detail"];if("reward_pool_dividend"==this.name&&(i=["plugin.reward-pool-dividend.api.index.reward-log"]),this.isLoadMore=!1,!(this.page>=this.total_page)){var e={};this.page=this.page+1,e.page=this.page,$http.get(i[this.active],e,"加载中").then((function(i){if(t.isLoadMore=!0,1===i.result){var e="reward_pool_dividend"==t.name?i.data:i.data.list,a=e.data;t.listInfo=t.listInfo.concat(a)}else t.page=t.page-1,t.isLoadMore=!1}))}}}},r=o,l=(e("5bab"),e("2877")),d=Object(l["a"])(r,a,s,!1,null,"d84394f8",null);i["default"]=d.exports}}]); |