import{_ as u}from"./index.c8cfbd6c.js";import{e as n,o as c,g as m,F as t,G as e,H as h,D as s,l as d,X as v}from"./@vue.e84e1286.js";import{p as i}from"./preview.2bfe2f00.js";import"./vue-router.54876e93.js";import"./bus.f1893518.js";import"./mitt.550594b0.js";/* empty css */const b={},g=s("\u8BC4\u8BBA"),x=s("\u56DE\u590D"),$=s("\u8BC4\u8BBA"),w=s("\u56DE\u590D"),y=s(" \u8BC4\u8BBA "),N=s(" \u56DE\u590D ");function z(r,l){const _=n("m-button"),o=n("m-badge"),a=n("m-dropdown-item"),p=n("m-dropdown-menu"),f=n("m-dropdown");return c(),m(h,null,[t(o,{value:12,class:"item"},{default:e(()=>[t(_,{size:"small"},{default:e(()=>[g]),_:1})]),_:1}),t(o,{value:5,class:"item"},{default:e(()=>[t(_,{size:"small"},{default:e(()=>[x]),_:1})]),_:1}),t(o,{value:12,class:"item",type:"primary"},{default:e(()=>[t(_,{size:"small"},{default:e(()=>[$]),_:1})]),_:1}),t(o,{value:12,class:"item",type:"warning"},{default:e(()=>[t(_,{size:"small"},{default:e(()=>[w]),_:1})]),_:1}),t(f,{trigger:"click",title:"\u70B9\u6211\u67E5\u770B"},{dropdown:e(()=>[t(p,null,{default:e(()=>[t(a,{class:"clearfix"},{default:e(()=>[y,t(o,{value:12})]),_:1}),t(a,{class:"clearfix"},{default:e(()=>[N,t(o,{value:5})]),_:1})]),_:1})]),_:1})],64)}var k=u(b,[["render",z]]);const B={},V=s("\u8BC4\u8BBA"),S=s("\u56DE\u590D"),C=s(" \u8BC4\u8BBA "),F=s(" \u56DE\u590D ");function A(r,l){const _=n("m-button"),o=n("m-badge"),a=n("m-dropdown-item"),p=n("m-dropdown-menu"),f=n("m-dropdown");return c(),m(h,null,[t(o,{value:200,max:99,class:"item"},{default:e(()=>[t(_,{size:"small"},{default:e(()=>[V]),_:1})]),_:1}),t(o,{value:200,max:10,class:"item",type:"primary"},{default:e(()=>[t(_,{size:"small"},{default:e(()=>[S]),_:1})]),_:1}),t(f,{trigger:"click",title:"\u70B9\u6211\u67E5\u770B"},{dropdown:e(()=>[t(p,null,{default:e(()=>[t(a,{class:"clearfix"},{default:e(()=>[C,t(o,{value:200,max:99})]),_:1}),t(a,{class:"clearfix"},{default:e(()=>[F,t(o,{value:200,max:10})]),_:1})]),_:1})]),_:1})],64)}var D=u(B,[["render",A]]);const E={},G=s("\u8BC4\u8BBA"),H=s("\u56DE\u590D");function T(r,l){const _=n("m-button"),o=n("m-badge");return c(),m(h,null,[t(o,{value:"new",class:"item"},{default:e(()=>[t(_,{size:"small"},{default:e(()=>[G]),_:1})]),_:1}),t(o,{value:"hot",class:"item"},{default:e(()=>[t(_,{size:"small"},{default:e(()=>[H]),_:1})]),_:1})],64)}var X=u(E,[["render",T]]);const j={},q=s("\u6570\u636E\u67E5\u8BE2"),I=s("\u56DE\u590D");function J(r,l){const _=n("m-badge"),o=n("m-button");return c(),m(h,null,[t(_,{"is-dot":"",class:"item"},{default:e(()=>[q]),_:1}),t(_,{"is-dot":"",class:"item"},{default:e(()=>[t(o,{size:"small",type:"primary"},{default:e(()=>[I]),_:1})]),_:1})],64)}var K=u(j,[["render",J]]);const L={class:"markdown-body"},M=d("h1",null,"Badge \u5FBD\u7AE0",-1),O=d("h4",null,"\u6309\u94AE\u548C\u56FE\u6807\u4E0A\u7684\u6570\u5B57\u6216\u72B6\u6001\u6807\u8BB0\u3002",-1),P=d("br",null,null,-1),Q=d("h2",null,"\u57FA\u7840\u7528\u6CD5",-1),R=d("h4",null,"\u53EF\u4EE5\u7528\u6765\u5C55\u793A\u65B0\u6D88\u606F\u7684\u6570\u91CF\u3002\u901A\u8FC7\u8BBE\u7F6E value \u6765\u8C03\u6574\u6807\u8BB0\u6240\u5C55\u793A\u7684\u5185\u5BB9\uFF0C\u652F\u6301 Number \u6216\u8005 String \u4F5C\u4E3A\u53C2\u6570",-1),U={class:"source"},W=d("h2",null,"\u6700\u5927\u503C",-1),Y=d("h4",null,"\u53EF\u81EA\u5B9A\u4E49\u6700\u5927\u503C\u3002\u7531max\u5C5E\u6027\u5B9A\u4E49\uFF0C\u5B83\u63A5\u53D7\u4E00\u4E2ANumber\uFF0C \u8981\u6CE8\u610F\u7684\u662F\uFF0C\u8BE5\u503C\u5F53\u4E14\u4EC5\u5F53\u5728 value \u7684\u503C\u4E5F\u662F Number \u65F6\u751F\u6548\u3002",-1),Z={class:"source"},tt=d("h2",null,"\u81EA\u5B9A\u4E49\u5185\u5BB9",-1),et=d("h4",null,"\u53EF\u4EE5\u663E\u793A\u6570\u5B57\u4EE5\u5916\u7684\u6587\u672C\u5185\u5BB9\u3002\u5B9A\u4E49value\u4E3AString\u7C7B\u578B\u662F\u65F6\u53EF\u4EE5\u7528\u4E8E\u663E\u793A\u81EA\u5B9A\u4E49\u6587\u672C\u3002",-1),ot={class:"source"},dt=d("h2",null,"\u5C0F\u7EA2\u70B9",-1),_t=d("h4",null,"\u901A\u8FC7\u4E00\u4E2A\u5C0F\u7EA2\u70B9\u6807\u8BB0\u6765\u544A\u77E5\u7528\u6237\u6709\u65B0\u5185\u5BB9\u3002\u9664\u4E86\u6570\u5B57\u5916\uFF0C\u8BBE\u7F6Eis-dot\u5C5E\u6027 \uFF0C\u5B83\u63A5\u53D7\u4E00\u4E2ABoolean \u7C7B\u578B\u4F5C\u4E3A\u53C2\u6570\u3002",-1),nt={class:"source"},st=v("

Attributes

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u53EF\u9009\u503C\u9ED8\u8BA4\u503C
value\u663E\u793A\u503Cstring, number\u2014\u2014
max\u6700\u5927\u503C\uFF0C\u8D85\u8FC7\u6700\u5927\u503C\u4F1A\u663E\u793A \u2018{max}+\u2019\uFF0C\u8981\u6C42 value \u662F Number \u7C7B\u578Bnumber\u2014\u2014
is-dot\u5C0F\u5706\u70B9boolean\u2014false
hidden\u9690\u85CF badgeboolean\u2014false
type\u7C7B\u578Bstringprimary / success / warning / danger / info\u2014

",4),ht={__name:"doc",setup(r,{expose:l}){return l({frontmatter:{}}),(o,a)=>(c(),m("div",L,[M,O,P,Q,R,d("div",U,[t(k)]),t(i,{compName:"badge",demoName:"demo1"}),W,Y,d("div",Z,[t(D)]),t(i,{compName:"badge",demoName:"demo2"}),tt,et,d("div",ot,[t(X)]),t(i,{compName:"badge",demoName:"demo3"}),dt,_t,d("div",nt,[t(K)]),t(i,{compName:"badge",demoName:"demo4"}),st]))}};export{ht as default};