webpackJsonp([58],{"7hHm":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var s=e("Au9i"),o=(e("vAZe"),e("6Xr8")),a={components:{},data:function(){return{bonus_sn:""}},created:function(){},methods:{goBack:function(){this.$router.go(-1)},clearBonusSn:function(){this.bonus_sn=""},saveBtn:function(){this.cashgiftAdd()},cashgiftAdd:function(){var t=this,n=this.bonus_sn;if(10!=n.length)return Object(s.Toast)("请输入10位的序列号"),!1;Object(o.a)(n).then(function(n){Object(s.Toast)("红包添加成功"),t.clearBonusSn(),t.$router.go(-1)},function(t){Object(s.Toast)(t.errorMsg)})}}},i={render:function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("div",{staticClass:"ui-popup-right"},[s("mt-header",{staticClass:"header",attrs:{title:"我的红包"}},[s("header-item",{attrs:{slot:"left",isBack:!0},on:{onclick:t.goBack},slot:"left"})],1),t._v(" "),s("div",[s("div",{staticClass:"updeta-user-name ui-common-update"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.bonus_sn,expression:"bonus_sn"}],attrs:{type:"text",placeholder:"请输入红包序列号"},domProps:{value:t.bonus_sn},on:{input:function(n){n.target.composing||(t.bonus_sn=n.target.value)}}}),t._v(" "),t.bonus_sn.length>0?s("img",{attrs:{src:e("y9By")},on:{click:function(n){t.clearBonusSn()}}}):t._e()]),t._v(" "),s("div",{staticClass:"ui-save-btn"},[s("span",{on:{click:function(n){t.saveBtn()}}},[t._v("添加红包")])])])],1)},staticRenderFns:[]};var c=e("VU/8")(a,i,!1,function(t){e("Baks")},"data-v-345bf4a8",null);n.default=c.exports},Baks:function(t,n){}});
//# sourceMappingURL=58.353b3edac3ec33d4f803.js.map