text: webpackJsonp([51],{i0CO:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={data:function(){return{age:"0"}},methods:{getData:function(){var t=this;this.$jsonp("http://localhost:8089/JSPYUFA/hello",{name:"zhangsan",type:6}).then(function(e){t.age=e.id}).catch(function(t){console.log(t)})}}},v={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"button"}},[r("h2",[t._v("Button 按钮")]),t._v(" "),r("h5",[t._v("常用的操作按钮")]),t._v(" "),r("br"),t._v(" "),r("br"),t._v(" "),r("br"),t._v(" "),r("h2",[t._v("基础用法")]),t._v(" "),r("h5",[t._v("基础的按钮用法")]),t._v(" "),r("div",[r("el-badge",{attrs:{value:t.age}},[r("el-button",{on:{click:t.getData}},[t._v("默认按钮")])],1),t._v(" "),r("el-button",{attrs:{type:"primary"}},[t._v("主要按钮")]),t._v(" "),r("el-button",{attrs:{type:"success"}},[t._v("成功按钮")]),t._v(" "),r("el-button",{attrs:{type:"info",disabled:""}},[t._v("信息按钮")]),t._v(" "),r("el-button",{attrs:{type:"warning"}},[t._v("警告按钮")]),t._v(" "),r("el-button",{attrs:{type:"danger"}},[t._v("危险按钮")])],1),t._v(" "),r("br"),t._v(" "),r("div",[r("el-button",{attrs:{plain:""}},[t._v("朴素按钮")]),t._v(" "),r("el-button",{attrs:{type:"primary",plain:""}},[t._v("主要按钮")]),t._v(" "),r("el-button",{attrs:{type:"success",plain:""}},[t._v("成功按钮")]),t._v(" "),r("el-button",{attrs:{type:"info",plain:"",disabled:""}},[t._v("信息按钮")]),t._v(" "),r("el-button",{attrs:{type:"warning",plain:""}},[t._v("警告按钮")]),t._v(" "),r("el-button",{attrs:{type:"danger",plain:""}},[t._v("危险按钮")])],1),t._v(" "),r("br"),t._v(" "),r("div",[r("el-button",{attrs:{round:""}},[t._v("朴素按钮")]),t._v(" "),r("el-button",{attrs:{type:"primary",round:""}},[t._v("主要按钮")]),t._v(" "),r("el-button",{attrs:{type:"success",round:""}},[t._v("成功按钮")]),t._v(" "),r("el-button",{attrs:{type:"info",round:"",disabled:""}},[t._v("信息按钮")]),t._v(" "),r("el-button",{attrs:{type:"warning",round:""}},[t._v("警告按钮")]),t._v(" "),r("el-button",{attrs:{type:"danger",round:""}},[t._v("危险按钮")])],1),t._v(" "),r("br"),t._v(" "),r("br"),t._v(" "),r("br"),t._v(" "),r("h2",[t._v("文字按钮")]),t._v(" "),r("div",[r("el-button",{attrs:{type:"text"}},[t._v("文字按钮")]),t._v(" "),r("el-button",{attrs:{type:"text",disabled:""}},[t._v("文字按钮")])],1),t._v(" "),r("br"),t._v(" "),r("br"),t._v(" "),r("br"),t._v(" "),r("h2",[t._v("图标按钮")]),t._v(" "),r("div",[r("el-button",{attrs:{type:"primary",icon:"el-icon-edit"}}),t._v(" "),r("el-button",{attrs:{type:"primary",icon:"el-icon-share",disabled:""}}),t._v(" "),r("el-button",{attrs:{type:"primary",icon:"el-icon-delete"}}),t._v(" "),r("el-button",{attrs:{type:"primary",icon:"el-icon-search"}},[t._v("搜索")]),t._v(" "),r("el-button",{attrs:{type:"primary"}},[t._v("上传"),r("i",{staticClass:"el-icon-upload el-icon-right"})])],1),t._v(" "),r("br"),t._v(" "),r("br"),t._v(" "),r("br"),t._v(" "),r("h2",[t._v("按钮组")]),t._v(" "),r("div",[r("el-button-group",[r("el-button",{attrs:{type:"success",icon:"el-icon-arrow-left"}},[t._v("上一页")]),t._v(" "),r("el-button",{attrs:{type:"success"}},[t._v("下一页"),r("i",{staticClass:"el-icon-arrow-right el-icon-right"})])],1),t._v(" "),r("el-button-group",[r("el-button",{attrs:{type:"primary",icon:"el-icon-edit"}}),t._v(" "),r("el-button",{attrs:{type:"primary",icon:"el-icon-share"}}),t._v(" "),r("el-button",{attrs:{type:"primary",icon:"el-icon-delete"}}),t._v(" "),r("el-button",{attrs:{type:"primary",icon:"el-icon-search"}},[t._v("搜索")]),t._v(" "),r("el-button",{attrs:{type:"primary"}},[t._v("上传"),r("i",{staticClass:"el-icon-upload el-icon-right"})])],1)],1),t._v(" "),r("br"),t._v(" "),r("br"),t._v(" "),r("br"),t._v(" "),r("h2",[t._v("加载中")]),t._v(" "),r("div",[r("el-button-group",[r("el-button",{attrs:{type:"success",loading:!0}},[t._v("加载中")])],1)],1),t._v(" "),r("br"),t._v(" "),r("br"),t._v(" "),r("br"),t._v(" "),r("h2",[t._v("不同尺寸按钮")]),t._v(" "),r("div",[r("el-button",{attrs:{type:"success"}},[t._v("默认按钮")]),t._v(" "),r("el-button",{attrs:{type:"success",size:"medium"}},[t._v("中等按钮")]),t._v(" "),r("el-button",{attrs:{type:"success",size:"small"}},[t._v("小型按钮")]),t._v(" "),r("el-button",{attrs:{type:"success",size:"mini"}},[t._v("超小按钮")])],1)])},staticRenderFns:[]},a=r("/Xao")(n,v,!1,null,null,null);e.default=a.exports}});