1 |
- import{_ as r}from"./index.c8cfbd6c.js";import{e as _,o as l,g as u,F as t,G as o,H as h,D as n,b as m,l as d,X as f}from"./@vue.e84e1286.js";import{p as a}from"./preview.2bfe2f00.js";import"./vue-router.54876e93.js";import"./bus.f1893518.js";import"./mitt.550594b0.js";/* empty css */const p={},y=n("\u9ED8\u8BA4\u6309\u94AE"),$=n("\u4E3B\u8981\u6309\u94AE"),b=n("\u6210\u529F\u6309\u94AE"),g=n("\u5371\u9669\u6309\u94AE"),I=n("\u4FE1\u606F\u6309\u94AE"),x=n("\u8B66\u544A\u6309\u94AE"),N=n("\u6587\u672C\u6309\u94AE"),v=n("\u9ED8\u8BA4\u6309\u94AE"),w=n("\u4E3B\u8981\u6309\u94AE"),z=n("\u6210\u529F\u6309\u94AE"),B=n("\u5371\u9669\u6309\u94AE"),k=n("\u4FE1\u606F\u6309\u94AE"),V=n("\u8B66\u544A\u6309\u94AE"),C=n("\u5220\u9664");function F(i,c){const e=_("m-button"),s=_("m-space");return l(),u(h,null,[t(s,null,{default:o(()=>[t(e,null,{default:o(()=>[y]),_:1}),t(e,{type:"primary"},{default:o(()=>[$]),_:1}),t(e,{type:"success"},{default:o(()=>[b]),_:1}),t(e,{type:"danger"},{default:o(()=>[g]),_:1}),t(e,{type:"info"},{default:o(()=>[I]),_:1}),t(e,{type:"warning"},{default:o(()=>[x]),_:1}),t(e,{type:"text"},{default:o(()=>[N]),_:1})]),_:1}),t(s,null,{default:o(()=>[t(e,{round:""},{default:o(()=>[v]),_:1}),t(e,{type:"primary",round:""},{default:o(()=>[w]),_:1}),t(e,{type:"success",round:""},{default:o(()=>[z]),_:1}),t(e,{type:"danger",round:""},{default:o(()=>[B]),_:1}),t(e,{type:"info",round:""},{default:o(()=>[k]),_:1}),t(e,{type:"warning",round:""},{default:o(()=>[V]),_:1})]),_:1}),t(s,null,{default:o(()=>[t(e,{leftIcon:"icon-home"}),t(e,{type:"primary",leftIcon:"icon-edit"}),t(e,{type:"success",leftIcon:"icon-smile"}),t(e,{type:"danger",leftIcon:"icon-add-circle",circle:""}),t(e,{type:"info",leftIcon:"icon-telephone",circle:""}),t(e,{type:"warning",leftIcon:"icon-image-text",circle:""}),t(e,{type:"text",leftIcon:"icon-ashbin"},{default:o(()=>[C]),_:1})]),_:1})],64)}var A=r(p,[["render",F]]);const D={},E=n("\u9ED8\u8BA4\u6309\u94AE"),G=n("\u4E3B\u8981\u6309\u94AE"),H=n("\u6210\u529F\u6309\u94AE"),S=n("\u5371\u9669\u6309\u94AE"),T=n("\u4FE1\u606F\u6309\u94AE"),X=n("\u8B66\u544A\u6309\u94AE"),j=n("\u6587\u672C\u6309\u94AE"),q=n("\u9ED8\u8BA4\u6309\u94AE"),J=n("\u4E3B\u8981\u6309\u94AE"),K=n("\u6210\u529F\u6309\u94AE"),L=n("\u5371\u9669\u6309\u94AE"),M=n("\u4FE1\u606F\u6309\u94AE"),O=n("\u8B66\u544A\u6309\u94AE");function P(i,c){const e=_("m-button"),s=_("m-space");return l(),u(h,null,[t(s,null,{default:o(()=>[t(e,{disabled:""},{default:o(()=>[E]),_:1}),t(e,{type:"primary",disabled:""},{default:o(()=>[G]),_:1}),t(e,{type:"success",disabled:""},{default:o(()=>[H]),_:1}),t(e,{type:"danger",disabled:""},{default:o(()=>[S]),_:1}),t(e,{type:"info",disabled:""},{default:o(()=>[T]),_:1}),t(e,{type:"warning",disabled:""},{default:o(()=>[X]),_:1}),t(e,{type:"text",disabled:""},{default:o(()=>[j]),_:1})]),_:1}),t(s,null,{default:o(()=>[t(e,{round:"",disabled:""},{default:o(()=>[q]),_:1}),t(e,{type:"primary",round:"",disabled:""},{default:o(()=>[J]),_:1}),t(e,{type:"success",round:"",disabled:""},{default:o(()=>[K]),_:1}),t(e,{type:"danger",round:"",disabled:""},{default:o(()=>[L]),_:1}),t(e,{type:"info",round:"",disabled:""},{default:o(()=>[M]),_:1}),t(e,{type:"warning",round:"",disabled:""},{default:o(()=>[O]),_:1})]),_:1})],64)}var Q=r(D,[["render",P]]);const R={},U=n("\u4E3B\u9875"),W=n("\u7F16\u8F91"),Y=n("\u4E0A\u4F20"),Z=n("\u5371\u9669"),tt=n("\u4FE1\u606F"),et=n("\u8B66\u544A"),ot=n("\u5220\u9664");function nt(i,c){const e=_("m-button"),s=_("m-space");return l(),u(h,null,[t(s,null,{default:o(()=>[t(e,{leftIcon:"icon-home"},{default:o(()=>[U]),_:1}),t(e,{type:"primary",leftIcon:"icon-edit"},{default:o(()=>[W]),_:1}),t(e,{type:"success",leftIcon:"icon-upload"},{default:o(()=>[Y]),_:1}),t(e,{type:"danger",rightIcon:"icon-add-circle"},{default:o(()=>[Z]),_:1}),t(e,{type:"info",rightIcon:"icon-telephone"},{default:o(()=>[tt]),_:1}),t(e,{type:"warning",rightIcon:"icon-image-text"},{default:o(()=>[et]),_:1}),t(e,{type:"text",leftIcon:"icon-ashbin"},{default:o(()=>[ot]),_:1})]),_:1}),t(s,null,{default:o(()=>[t(e,{leftIcon:"icon-home",circle:""}),t(e,{type:"primary",leftIcon:"icon-edit",circle:""}),t(e,{type:"success",leftIcon:"icon-smile",circle:""}),t(e,{type:"danger",leftIcon:"icon-add-circle",circle:""}),t(e,{type:"info",leftIcon:"icon-telephone",circle:""}),t(e,{type:"warning",leftIcon:"icon-image-text",circle:""})]),_:1})],64)}var dt=r(R,[["render",nt]]);const st={},_t=n("\u52A0\u8F7D\u4E2D");function ct(i,c){const e=_("m-button");return l(),m(e,{type:"primary",loading:""},{default:o(()=>[_t]),_:1})}var lt=r(st,[["render",ct]]);const it={},at=n("\u9ED8\u8BA4\u6309\u94AE"),rt=n("\u4E3B\u8981\u6309\u94AE"),ut=n("\u6210\u529F\u6309\u94AE"),ht=n("\u5371\u9669\u6309\u94AE"),mt=n("\u4FE1\u606F\u6309\u94AE"),ft=n("\u9ED8\u8BA4\u6309\u94AE"),pt=n("\u4E3B\u8981\u6309\u94AE"),yt=n("\u6210\u529F\u6309\u94AE"),$t=n("\u5371\u9669\u6309\u94AE"),bt=n("\u4FE1\u606F\u6309\u94AE");function gt(i,c){const e=_("m-button"),s=_("m-space");return l(),u(h,null,[t(s,null,{default:o(()=>[t(e,null,{default:o(()=>[at]),_:1}),t(e,{type:"primary"},{default:o(()=>[rt]),_:1}),t(e,{type:"success",size:"medium"},{default:o(()=>[ut]),_:1}),t(e,{type:"danger",size:"small"},{default:o(()=>[ht]),_:1}),t(e,{type:"info",size:"mini"},{default:o(()=>[mt]),_:1})]),_:1}),t(s,null,{default:o(()=>[t(e,{round:""},{default:o(()=>[ft]),_:1}),t(e,{type:"primary",round:""},{default:o(()=>[pt]),_:1}),t(e,{type:"success",size:"medium",round:""},{default:o(()=>[yt]),_:1}),t(e,{type:"danger",size:"small",round:""},{default:o(()=>[$t]),_:1}),t(e,{type:"info",size:"mini",round:""},{default:o(()=>[bt]),_:1})]),_:1})],64)}var It=r(it,[["render",gt]]);const xt={class:"markdown-body"},Nt=d("h1",null,"Button \u6309\u94AE",-1),vt=d("h4",null,"\u5E38\u7528 button \u6309\u94AE",-1),wt=d("br",null,null,-1),zt=d("h2",null,"\u57FA\u672C\u4F7F\u7528",-1),Bt=d("h4",null,"button \u6309\u94AE\u7684\u57FA\u672C\u4F7F\u7528",-1),kt=d("br",null,null,-1),Vt={class:"source"},Ct=d("h2",null,"\u7981\u7528\u72B6\u6001",-1),Ft=d("h4",null,[n("\u6309\u94AE\u4E0D\u53EF\u7528\u72B6\u6001\uFF0C\u901A\u8FC7 "),d("em",null,"disabled"),n(" \u5C5E\u6027\u8BBE\u7F6E\u5B9E\u73B0")],-1),At=d("br",null,null,-1),Dt={class:"source"},Et=d("h2",null,"\u5E26\u56FE\u6807",-1),Gt=d("h4",null,"\u5E26\u56FE\u6807\u7C7B\u578B\u7684\u6309\u94AE\uFF0C\u901A\u8FC7 leftIcon \u6216\u8005 rightIcon \u5C5E\u6027\u8BBE\u7F6E\u5B9E\u73B0\u5E76\u786E\u5B9A icon \u51FA\u73B0\u7684\u4F4D\u7F6E",-1),Ht=d("br",null,null,-1),St={class:"source"},Tt=d("h2",null,"\u52A0\u8F7D\u72B6\u6001",-1),Xt=d("h4",null,[n("\u6B63\u5728\u52A0\u8F7D\u4E2D\u7684\u72B6\u6001\u6309\u94AE\uFF0C\u901A\u8FC7 "),d("em",null,"loading"),n(" \u5C5E\u6027\u8BBE\u7F6E\u5B9E\u73B0")],-1),jt=d("br",null,null,-1),qt={class:"source"},Jt=d("h2",null,"\u4E0D\u540C\u5927\u5C0F",-1),Kt=d("h4",null,[n("\u4E0D\u540C\u5927\u5C0F\u7C7B\u578B\u7684\u6309\u94AE\uFF0C\u901A\u8FC7 "),d("em",null,"size"),n(" \u5C5E\u6027\u8BBE\u7F6E\u5B9E\u73B0")],-1),Lt=d("br",null,null,-1),Mt={class:"source"},Ot=f("<h2>Attributes</h2><table><thead><tr><th>\u53C2\u6570</th><th>\u8BF4\u660E</th><th>\u7C7B\u578B</th><th>\u53EF\u9009\u503C</th><th>\u9ED8\u8BA4\u503C</th></tr></thead><tbody><tr><td>type</td><td>\u7C7B\u578B</td><td>string</td><td>primary / success / warning / danger / info / text</td><td>\u2014</td></tr><tr><td>size</td><td>\u5C3A\u5BF8</td><td>string</td><td>medium / small / mini</td><td>\u2014</td></tr><tr><td>round</td><td>\u662F\u5426\u5706\u89D2\u6309\u94AE</td><td>boolean</td><td>\u2014</td><td>false</td></tr><tr><td>circle</td><td>\u662F\u5426\u5706\u5F62\u6309\u94AE</td><td>boolean</td><td>\u2014</td><td>false</td></tr><tr><td>loading</td><td>\u662F\u5426\u52A0\u8F7D\u4E2D\u72B6\u6001</td><td>boolean</td><td>\u2014</td><td>false</td></tr><tr><td>disabled</td><td>\u662F\u5426\u7981\u7528\u72B6\u6001</td><td>boolean</td><td>\u2014</td><td>false</td></tr><tr><td>leftIcon</td><td>\u56FE\u6807\u6309\u94AE\uFF0C\u5E76\u4E14icon\u5C55\u793A\u5728\u5DE6\u4FA7</td><td>string</td><td>\u53C2\u8003\u56FE\u6807\u5E93</td><td>\u2014</td></tr><tr><td>rightIcon</td><td>\u56FE\u6807\u6309\u94AE\uFF0C\u5E76\u4E14icon\u5C55\u793A\u5728\u53F3\u4FA7</td><td>string</td><td>\u53C2\u8003\u56FE\u6807\u5E93</td><td>\u2014</td></tr></tbody></table><br>",3),ee={__name:"doc",setup(i,{expose:c}){return c({frontmatter:{}}),(s,Pt)=>(l(),u("div",xt,[Nt,vt,wt,zt,Bt,kt,d("div",Vt,[t(A)]),t(a,{compName:"button",demoName:"demo1"}),Ct,Ft,At,d("div",Dt,[t(Q)]),t(a,{compName:"button",demoName:"demo2"}),Et,Gt,Ht,d("div",St,[t(dt)]),t(a,{compName:"button",demoName:"demo3"}),Tt,Xt,jt,d("div",qt,[t(lt)]),t(a,{compName:"button",demoName:"demo4"}),Jt,Kt,Lt,d("div",Mt,[t(It)]),t(a,{compName:"button",demoName:"demo5"}),Ot]))}};export{ee as default};
|