import{b as d,r as c,o as q,h as w,e as a,d as s,f as n,z as i,L as f,g as t}from"./vendor.e7911ee1.js";const V={class:"markdown-body"},C=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-tooltip")]),t(),n("span",{class:"token attr-name"},"content"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t("tooltip"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("style")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token style"},[n("span",{class:"token language-css"},` `)]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `)])],-1),D=t("tooltip"),A=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("div")]),t(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),t(" 100px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"max-width"),n("span",{class:"token punctuation"},":"),t("400px"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("div")]),t(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),t(" center"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-tooltip")]),t(),n("span",{class:"token attr-name"},"content"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t("\u4E0A\u8FB9"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("div")]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-tooltip")]),t(),n("span",{class:"token attr-name"},"content"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"position"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("left"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),t(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"float"),n("span",{class:"token punctuation"},":"),t("left"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),t("\u5DE6\u8FB9"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-tooltip")]),t(),n("span",{class:"token attr-name"},"content"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"position"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("right"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),t(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"float"),n("span",{class:"token punctuation"},":"),t("right"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),t("\u53F3\u8FB9"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("div")]),t(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"clear"),n("span",{class:"token punctuation"},":"),t(" both"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("div")]),t(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),t(" center"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-tooltip")]),t(),n("span",{class:"token attr-name"},"content"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"position"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("bottom"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t("\u4E0B\u8FB9"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("style")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token style"},[n("span",{class:"token language-css"},` `)]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `)])],-1),M={style:{padding:"100px","max-width":"400px"}},j={style:{"text-align":"center"}},B=t("\u4E0A\u8FB9"),N=t("\u5DE6\u8FB9"),I=t("\u53F3\u8FB9"),U=n("div",{style:{clear:"both"}},null,-1),z={style:{"text-align":"center"}},E=t("\u4E0B\u8FB9"),H=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-tooltip")]),t(),n("span",{class:"token attr-name"},"content"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u4E0D\u660E\u767D\u662F\u662F\u975E\u975E\uFF0C\u53EA\u77E5\u6211\u4E0D\u4F1A\u4E0D\u5728\u3002"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},":is-dark"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("false"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),t(),n("span",{class:"token punctuation"},">")]),t("tooltip"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},` `)]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `)])],-1),L=t("tooltip"),R=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-tooltip")]),t(),n("span",{class:"token attr-name"},":content"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("content"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},":is-dark"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("isDark"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},":disabled"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("!disabled"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t("tooltip"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-switch")]),t(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("disabled"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"active-text"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u542F\u7528tooltip"),n("span",{class:"token punctuation"},'"')]),t(" "),n("span",{class:"token attr-name"},"inactive-text"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u7981\u7528tooltip"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"margin-left"),n("span",{class:"token punctuation"},":"),t(" 5px"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-switch")]),t(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("isDark"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"active-text"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u6DF1\u8272"),n("span",{class:"token punctuation"},'"')]),t(" "),n("span",{class:"token attr-name"},"inactive-text"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u6D45\u8272"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"margin-left"),n("span",{class:"token punctuation"},":"),t(" 5px"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(` `),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),n("span",{class:"token punctuation"},";"),t(` `),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(` `),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(` `),n("span",{class:"token keyword"},"const"),t(" contentArr "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token punctuation"},"["),t(` `),n("span",{class:"token string"},'"\u4E0D\u660E\u767D\u662F\u662F\u975E\u975E\uFF0C\u53EA\u77E5\u6211\u4E0D\u4F1A\u4E0D\u5728\u3002"'),n("span",{class:"token punctuation"},","),t(` `),n("span",{class:"token string"},'"\u5343\u5C71\u4E07\u6C34\uFF0C\u53BB\u7A0B\u662F\u4F60\uFF0C\u5F52\u7A0B\u4E5F\u662F\u4F60\u3002"'),n("span",{class:"token punctuation"},","),t(` `),n("span",{class:"token string"},'"\u4E00\u7EA6\u65E2\u5B9A\uFF0C\u4E07\u5C71\u65E0\u963B\u3002"'),n("span",{class:"token punctuation"},","),t(` `),n("span",{class:"token string"},'"\u65F6\u5149\u90FD\u6DE1\u4E86\uFF0C\u6211\u8FD8\u4F34\u7740\u4F60\u3002"'),n("span",{class:"token punctuation"},","),t(` `),n("span",{class:"token string"},'"\u53EA\u95EE\u6DF1\u60C5\uFF0C\u4E0D\u95EE\u897F\u4E1C\u3002"'),n("span",{class:"token punctuation"},","),t(` `),n("span",{class:"token string"},'"\u611F\u8C22\u66FE\u7ECF\u5728\u6211\u8EAB\u8FB9\u7684\uFF0C\u4E00\u76F4\u5728\u6211\u8EAB\u8FB9\u3002"'),n("span",{class:"token punctuation"},","),t(` `),n("span",{class:"token string"},'"\u7ECF\u5E74\u518D\u76F8\u9022\uFF0C\u9B42\u68A6\u4E0E\u5B50\u540C\u3002"'),t(` `),n("span",{class:"token punctuation"},"]"),n("span",{class:"token punctuation"},";"),t(` `),n("span",{class:"token keyword"},"const"),t(),n("span",{class:"token function-variable function"},"rendonCotent"),t(),n("span",{class:"token operator"},"="),t(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},"{"),t(` `),n("span",{class:"token keyword"},"return"),t(" contentArr"),n("span",{class:"token punctuation"},"["),t("Math"),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"floor"),n("span",{class:"token punctuation"},"("),t("Math"),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"random"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token operator"},"*"),t(" contentArr"),n("span",{class:"token punctuation"},"."),t("length"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},"]"),n("span",{class:"token punctuation"},";"),t(` `),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},";"),t(` `),n("span",{class:"token keyword"},"const"),t(" content "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token function"},"rendonCotent"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},")"),t(` `),n("span",{class:"token keyword"},"const"),t(" isDark "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"false"),n("span",{class:"token punctuation"},")"),t(` `),n("span",{class:"token keyword"},"const"),t(" disabled "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),t(` `),n("span",{class:"token function"},"setInterval"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),n("span",{class:"token operator"},"=>"),t(" content"),n("span",{class:"token punctuation"},"."),t("value "),n("span",{class:"token operator"},"="),t(" "),n("span",{class:"token function"},"rendonCotent"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},","),t(),n("span",{class:"token number"},"1000"),n("span",{class:"token punctuation"},")"),t(` `),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(` content`),n("span",{class:"token punctuation"},","),t(` isDark`),n("span",{class:"token punctuation"},","),t(` disabled `),n("span",{class:"token punctuation"},"}"),t(` `),n("span",{class:"token punctuation"},"}"),t(` `),n("span",{class:"token punctuation"},"}"),t(` `)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("style")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token style"},[n("span",{class:"token language-css"},` `)]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),t(` `)])],-1),T=t("tooltip"),F=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"content"),n("td",null,"\u663E\u793A\u5185\u5BB9"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"position"),n("td",null,"\u663E\u793A\u4F4D\u7F6E"),n("td",null,[n("code",null,"top"),t("(\u9ED8\u8BA4\u503C)\u3001"),n("code",null,"bottom"),t("\u3001"),n("code",null,"left"),t("\u3001"),n("code",null,"right")])]),n("tr",null,[n("td",null,"isDark"),n("td",null,"\u662F\u5426\u4E3A\u9ED1\u8272\u4E3B\u9898"),n("td",null,[n("code",null,"true"),t("(\u9ED8\u8BA4\u503C)\u3001"),n("code",null,"false"),t("(\u6D45\u8272)")])]),n("tr",null,[n("td",null,"disabled"),n("td",null,"\u662F\u5426\u7981\u7528"),n("td",null,[n("code",null,"false"),t("(\u9ED8\u8BA4\u503C)\u3001"),n("code",null,"true"),t("(\u7981\u7528)")])]),n("tr",null,[n("td",null,"visible"),n("td",null,"\u63A7\u5236\u662F\u5426\u663E\u793A"),n("td",null,[n("code",null,"true"),t("(\u9ED8\u8BA4\u503C)\u3001"),n("code",null,"false")])]),n("tr",null,[n("td",null,"isCanHide"),n("td",null,[t("\u63A7\u5236\u662F\u5426\u53EF\u4EE5\u9690\u85CF,\u53EF\u53C2\u8003"),n("code",null,"lay-slider"),t("\u7EC4\u4EF6")]),n("td",null,[n("code",null,"true"),t("(\u9ED8\u8BA4\u503C)\u3001"),n("code",null,"false")])])])],-1),P={setup(G,{expose:b}){b({frontmatter:{}});let y=["\u4E0D\u660E\u767D\u662F\u662F\u975E\u975E\uFF0C\u53EA\u77E5\u6211\u4E0D\u4F1A\u4E0D\u5728\u3002","\u5343\u5C71\u4E07\u6C34\uFF0C\u53BB\u7A0B\u662F\u4F60\uFF0C\u5F52\u7A0B\u4E5F\u662F\u4F60\u3002","\u4E00\u7EA6\u65E2\u5B9A\uFF0C\u4E07\u5C71\u65E0\u963B\u3002","\u65F6\u5149\u90FD\u6DE1\u4E86\uFF0C\u6211\u8FD8\u4F34\u7740\u4F60\u3002","\u53EA\u95EE\u6DF1\u60C5\uFF0C\u4E0D\u95EE\u897F\u4E1C\u3002","\u611F\u8C22\u66FE\u7ECF\u5728\u6211\u8EAB\u8FB9\u7684\uFF0C\u4E00\u76F4\u5728\u6211\u8EAB\u8FB9\u3002","\u7ECF\u5E74\u518D\u76F8\u9022\uFF0C\u9B42\u68A6\u4E0E\u5B50\u540C\u3002"],m=function(){return y[Math.floor(Math.random()*y.length)]},_=d(m()),l=d(!1),p=d(!0);return setInterval(()=>_.value=m(),1e3),(K,r)=>{const u=c("lay-field"),o=c("lay-button"),e=c("lay-tooltip"),g=c("lay-code"),v=c("lay-switch"),h=c("lay-table-box"),x=c("lay-comment");return q(),w("div",V,[a(u,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(g,null,{code:s(()=>[C]),default:s(()=>[a(e,{content:"\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A"},{default:s(()=>[a(o,null,{default:s(()=>[D]),_:1})]),_:1})]),_:1}),a(u,{title:"\u663E\u793A\u4F4D\u7F6E",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(g,null,{code:s(()=>[A]),default:s(()=>[n("div",M,[n("div",j,[a(e,{content:"\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A"},{default:s(()=>[a(o,null,{default:s(()=>[B]),_:1})]),_:1})]),n("div",null,[a(e,{content:"\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A",position:"left"},{default:s(()=>[a(o,{style:{float:"left"}},{default:s(()=>[N]),_:1})]),_:1}),a(e,{content:"\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A",position:"right"},{default:s(()=>[a(o,{style:{float:"right"}},{default:s(()=>[I]),_:1})]),_:1}),U]),n("div",z,[a(e,{content:"\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A\u5047\u88C5\u8FD9\u91CC\u6709\u6587\u5B57\u63D0\u793A",position:"bottom"},{default:s(()=>[a(o,null,{default:s(()=>[E]),_:1})]),_:1})])])]),_:1}),a(u,{title:"\u6D45\u8272\u4E3B\u9898",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(g,null,{code:s(()=>[H]),default:s(()=>[a(e,{content:"\u4E0D\u660E\u767D\u662F\u662F\u975E\u975E\uFF0C\u53EA\u77E5\u6211\u4E0D\u4F1A\u4E0D\u5728\u3002","is-dark":!1},{default:s(()=>[a(o,null,{default:s(()=>[L]),_:1})]),_:1})]),_:1}),a(u,{title:"\u662F\u5426\u7981\u7528/\u52A8\u6001\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(g,null,{code:s(()=>[R]),default:s(()=>[a(e,{content:i(_),"is-dark":i(l),disabled:!i(p)},{default:s(()=>[a(o,null,{default:s(()=>[T]),_:1})]),_:1},8,["content","is-dark","disabled"]),a(v,{modelValue:i(p),"onUpdate:modelValue":r[0]||(r[0]=k=>f(p)?p.value=k:p=k),"active-text":"\u542F\u7528tooltip","inactive-text":"\u7981\u7528tooltip",style:{"margin-left":"5px"}},null,8,["modelValue"]),a(v,{modelValue:i(l),"onUpdate:modelValue":r[1]||(r[1]=k=>f(l)?l.value=k:l=k),"active-text":"\u6DF1\u8272","inactive-text":"\u6D45\u8272",style:{"margin-left":"5px"}},null,8,["modelValue"])]),_:1}),a(u,{title:"tooltip\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(h,null,{default:s(()=>[F]),_:1}),a(x)])}}};export{P as default};