text: webpackJsonp([42],{"0Udk":function(s,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{list:[],page:1,mask:!1,num:"",password:"",touch_index:null,touch_index1:null,paypassword:"",pass_boon:!1,mask_jack:{},status:null}},components:{},filters:{numFilter:function(s){return s?parseFloat(s).toFixed(2):"--"}},methods:{jiequs:function(s,t){var n=s+t;if(String(n).indexOf(".")>-1){var e=Number(n);return e=(e=Math.floor(1e3*e)/1e3).toFixed(4)}return n},back:function(){this.$router.go(-1)},getlist:function(){var s=this;s.$post("/apiv1/index/getBonusList",{page:s.page}).then(function(t){1==t.code&&(console.log(t),t.msg.length?s.list=s.list.concat(t.msg):(0==t.msg.length&&s.$msg("没有数据"),s.page>1&&s.$msg("暂无更多数据")))})},add:function(){this.mask=!0},closewin:function(){this.mask=!1},closepass:function(){this.pass_boon=!this.pass_boon},zhuanru:function(){this.mask=!this.mask,this.pass_boon=!this.pass_boon},sendpass:function(){this.pass_boon=!this.pass_boon;var s=this;""==s.num?s.$msg("请输入交易数量"):""==s.password?s.$msg("请输入交易密码"):s.$post("/apiv1/index/addmoney",{type:1,money:s.num,paypassword:s.password}).then(function(t){s.$msg(t.msg),1==t.code&&(console.log(t),s.mask=!1,s.list=[],s.page=1,s.getlist())})},vuetouch:function(s,t){this.page++,this.getlist()}},created:function(){this.getlist()},destroyed:function(){}}},E3G2:function(s,t){},iR8b:function(s,t,n){"use strict";var e={render:function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("div",{directives:[{name:"swipeup",rawName:"v-swipeup",value:{fn:s.vuetouch,name:"上滑"},expression:"{fn:vuetouch,name:'上滑'}"}],staticClass:"content"},[e("div",{staticClass:"head"},[e("img",{staticClass:"back",attrs:{src:n("Or+/"),alt:""},on:{click:s.back}}),s._v("\n    挖矿收益\n    "),e("img",{staticClass:"add",attrs:{src:n("ZS4B"),alt:""},on:{click:s.add}})]),s._v(" "),e("div",{staticClass:"main"},[s._l(s.list,function(t){return e("div",{staticClass:"list"},[e("div",{staticClass:"list1"},[e("div",[e("p",[s._v("来源")]),s._v(" "),e("p",[s._v(s._s(t.content))])]),s._v(" "),e("div",[e("p",[s._v("收益金额")]),s._v(" "),e("p",[s._v(s._s(s._f("numFilter")(t.money)))])]),s._v(" "),e("div",[e("p",[s._v("变动后")]),s._v(" "),e("p",{staticStyle:{color:"#46ffde"}},[s._v(s._s(s.jiequs(1*t.before,1*t.money)))])])]),s._v(" "),e("div",{staticClass:"list2"},[s._v("计算日期："+s._s(s.$times(t.create_time)))])])}),s._v(" "),s.mask?e("div",{staticClass:"mask",on:{touchmove:function(s){s.preventDefault()},click:s.closewin}}):s._e(),s._v(" "),s.mask?e("div",{staticClass:"win"},[e("div",{staticClass:"win_box"},[e("p",[s._v("转出数量")]),s._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:s.num,expression:"num"}],attrs:{type:"text"},domProps:{value:s.num},on:{input:function(t){t.target.composing||(s.num=t.target.value)}}})]),s._v(" "),e("div",{staticClass:"win_box"},[e("p",[s._v("交易密码")]),s._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:s.password,expression:"password"}],attrs:{type:"password"},domProps:{value:s.password},on:{input:function(t){t.target.composing||(s.password=t.target.value)}}})]),s._v(" "),e("div",{staticClass:"win_send",on:{click:s.zhuanru}},[s._v("确认转入OPF余额")])]):s._e(),s._v(" "),s.pass_boon?e("div",{staticClass:"mask"}):s._e(),s._v(" "),s.pass_boon?e("div",{staticClass:"pass_win"},[e("div",{staticClass:"btns"},[e("p",{on:{click:s.closepass}},[s._v("取消")]),s._v(" "),e("p",{on:{click:s.sendpass}},[s._v("确定")])])]):s._e()],2)])},staticRenderFns:[]};t.a=e},oxkM:function(s,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=n("0Udk"),a=n.n(e);for(var i in e)"default"!==i&&function(s){n.d(t,s,function(){return e[s]})}(i);var o=n("iR8b");var c=function(s){n("E3G2")},u=n("C7Lr")(a.a,o.a,!1,c,"data-v-4796dc35",null);t.default=u.exports}});
  //# sourceMappingURL=42.fc16b22cfe29f0e34a9e.js.map