(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{518:function(t,e,o){var content=o(585);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(6).default)("0d67a69f",content,!0,{sourceMap:!1})},584:function(t,e,o){"use strict";o(518)},585:function(t,e,o){(e=o(5)(!1)).push([t.i,'.robot-item[data-v-2746ddd6]{font-size:12px;color:#666}.robot-item .row[data-v-2746ddd6]{display:flex;justify-content:space-between;align-items:center}.robot-item .name[data-v-2746ddd6]{font-weight:500;font-size:14px}.total-card[data-v-2746ddd6]{display:flex;justify-content:space-between;align-items:center;background-color:#fff;margin-bottom:10px;padding:12px 5px}.total-item[data-v-2746ddd6]{position:relative;width:50%;margin:0 8px;flex:1;box-shadow:0 0 20px -8px rgba(0,0,0,.2);padding:15px;font-weight:500;color:#fff;border-radius:5px;overflow:hidden}.total-item[data-v-2746ddd6]:before{top:50%;left:60%;width:40vw;height:40vw}.total-item[data-v-2746ddd6]:after,.total-item[data-v-2746ddd6]:before{content:"";position:absolute;border-radius:50%;background-color:hsla(0,0%,100%,.2)}.total-item[data-v-2746ddd6]:after{bottom:50%;left:-30%;width:20vw;height:20vw}.total-item.s1[data-v-2746ddd6]{background:linear-gradient(45deg,#92d3d9,#51b9c3)}.total-item.s2[data-v-2746ddd6]{background:linear-gradient(45deg,#96c9fc,#57a5fb)}.total-item .label[data-v-2746ddd6]{position:relative}.total-item .value[data-v-2746ddd6]{position:relative;margin-top:5px;font-size:1.4em}.van-cell__right-icon[data-v-2746ddd6]{font-size:14px}.van-field[data-v-2746ddd6]{line-height:32px;padding:8px 15px}',""]),t.exports=e},685:function(t,e,o){"use strict";o.r(e);o(105),o(16);var r=o(8),n=o(38);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(object);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,o)}return e}function l(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var c={data:function(){return{loading:!1,finished:!1,refreshing:!1,orderList:[],offset:0,limit:20,today_revenue:0,total_revenue:0}},methods:l(l({},Object(n.b)({robotRevenue:"robot/robotRevenue"})),{},{loadList:function(){var t=this;if(this.refreshing&&(this.orderList=[],this.offset=0,this.finished=!1,this.loading))this.loading=!1;else{this.loading&&(this.refreshing=!1);var e={limit_begin:this.offset,limit_end:this.limit};this.robotRevenue(e).then((function(e){var data=e.data;t.total_revenue=data.total_revenue,t.today_revenue=data.today_revenue;var o=data.data;o.length<t.limit?t.finished=!0:t.offset+=t.limit,t.orderList=t.orderList.concat(o)})).finally((function(){t.loading=!1,t.refreshing=!1}))}},onLoad:function(){this.loadList()},onRefresh:function(){this.loadList()}})},f=(o(584),o(43)),component=Object(f.a)(c,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("van-nav-bar",{attrs:{fixed:"",placeholder:"","left-arrow":"",title:t.$t("bill")},on:{"click-left":function(e){return t.$router.back()}}}),t._v(" "),o("div",{staticClass:"total-card",attrs:{type:"flex",gutter:"20"}},[o("div",{staticClass:"total-item s1"},[o("div",{staticClass:"label"},[t._v("今日盈利(USDT)")]),t._v(" "),o("div",{staticClass:"value"},[t._v(t._s(Number(t.today_revenue).toFixed(6)))])]),t._v(" "),o("div",{staticClass:"total-item s2"},[o("div",{staticClass:"label"},[t._v("累计盈利(USDT)")]),t._v(" "),o("div",{staticClass:"value"},[t._v(t._s(Number(t.total_revenue).toFixed(6)))])])]),t._v(" "),o("van-pull-refresh",{on:{refresh:t.onRefresh},model:{value:t.refreshing,callback:function(e){t.refreshing=e},expression:"refreshing"}},[o("van-list",{attrs:{finished:t.finished,"finished-text":t.$t("finished_text")},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.orderList,(function(e){return o("van-cell",{key:e.id},[o("div",{staticClass:"robot-item"},[o("div",{staticClass:"row"},[o("div",{staticClass:"name"},[t._v(t._s(e.market))]),t._v(" "),o("div",[t._v(t._s(t.$t("收益"))+"："+t._s(t._f("numberFormat")(Number(e.revenue),8)))])]),t._v(" "),o("div",{staticClass:"row"},[o("div",[t._v(t._s(t.$t("平台"))+"："+t._s(e.platform))]),t._v(" "),o("div",{staticClass:"time"},[t._v(t._s(e.ctime))])])])])})),1),t._v(" "),0===t.orderList.length?o("van-empty",{attrs:{description:t.$t("empty.bill")}}):t._e()],1)],1)}),[],!1,null,"2746ddd6",null);e.default=component.exports}}]);