webpackJsonp([24],{"8AR7":function(t,s){},Xy7D:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var n=i("TWFi"),a=i("lGGP"),e={components:{AoNav:n.a},data:function(){return{list:[],page:1}},mounted:function(){var t=this,s={page:this.page,currency:"ETC"};Object(a.q)(s).then(function(s){t.list=t.list.concat(s)})},methods:{calcel:function(t){var s=this;Object(a.d)({id:this.list[t].deal_id}).then(function(){s.list.splice(t,1)})},position:function(t){var s=this,i=this.list[t],n=i.currency,e=i.multiple,c=i.type,l=i.deal_id;Object(a.e)({currency:n,multiple:e,type:c,deal_id:l}).then(function(i){s.list.splice(t,1)})},pagechange:function(t){this.page=t}}},c={render:function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"levertransactions"},[i("ao-nav",{attrs:{"ao-style":{background:"#1b2945"}}}),t._v(" "),i("div",{staticClass:"box"},[i("div",{staticClass:"table"},[t._m(0),t._v(" "),t._l(t.list,function(s,n){return i("div",{key:n,staticClass:"tr"},[i("td",{staticClass:"td"},[t._v(t._s(s.open_time))]),t._v(" "),i("td",{staticClass:"td"},[t._v(t._s(s.price))]),t._v(" "),i("td",{staticClass:"td"},[t._v(t._s(s.margin))]),t._v(" "),i("td",{staticClass:"td td-2"},[i("span",{staticClass:"btn",on:{click:function(s){return t.calcel(n)}}},[t._v("撤单")]),t._v(" "),i("span",{staticClass:"btn",on:{click:function(s){return t.position(n)}}},[t._v("平仓")])])])})],2)])],1)},staticRenderFns:[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"th"},[s("td",{staticClass:"td"},[this._v("时间")]),this._v(" "),s("td",{staticClass:"td"},[this._v("单价")]),this._v(" "),s("td",{staticClass:"td"},[this._v("数量")]),this._v(" "),s("td",{staticClass:"td"},[this._v("操作")])])}]};var l=i("C7Lr")(e,c,!1,function(t){i("8AR7")},null,null);s.default=l.exports}});
//# sourceMappingURL=24.0c2ad8f3176871ecd6c0.js.map