webpackJsonp([11],{248:function(t,e,i){i(346);var a=i(1)(i(347),i(348),null,null);t.exports=a.exports},346:function(t,e){},347:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"reward",data:function(){return{price:"",publishLoading:!1}},methods:{changePrice:function(){var t=this;if(!this.price)return this.$Message.warning("请输入正确的价格");this.publishLoading=!0,this.axios.post("/reward/price",{price:parseFloat(this.price)}).then(function(e){0==e.data.status&&(t.$Message.success("操作成功"),t.publishLoading=!1)})},init:function(){var t=this;this.axios.get("/reward/price",{}).then(function(e){0==e.data.status&&(t.price=e.data.data.price)})}},mounted:function(){this.init()}}},348:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Row",{staticClass:"margin-top-10"},[i("Col",[i("Card",[i("p",{attrs:{slot:"title"},slot:"title"},[t._v("打赏金额")]),t._v(" "),i("div",{staticClass:"edittable-table-height-con"},[i("Form",{attrs:{"label-width":80}},[i("FormItem",{attrs:{label:"金额"}},[i("Input",{attrs:{placeholder:"请输入打赏金额（元）"},model:{value:t.price,callback:function(e){t.price=e},expression:"price"}})],1)],1),t._v(" "),i("div",{staticClass:"submit"},[i("Button",{attrs:{loading:t.publishLoading,icon:"ios-checkmark",size:"large",type:"primary"},on:{click:t.changePrice}},[t._v("提交")])],1)],1)])],1)],1)],1)},staticRenderFns:[]}}});