farris-vue/packages/ui-vue/docs/.vitepress/dist/assets/components_avatar_index.md....

14 lines
4.1 KiB
JavaScript

import{V as s,_ as f,c as g,a as k,w as _,b as t,d as e,e as C,r as h,o as v}from"./app.c5d2b0ef.js";const x={name:"component-doc",components:{"render-demo-0":function(){const{resolveComponent:o,createVNode:u,openBlock:c,createElementBlock:l}=s;function r(m,d){const a=o("f-avatar");return c(),l("div",null,[u(a)])}const{defineComponent:p}=s,{ref:n}=s;return{render:r,...p({setup(m,{expose:d}){d();const a={ref:n};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}})}}()}},V=JSON.parse('{"title":"Avatar \u5934\u50CF","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u57FA\u672C\u7528\u6CD5","slug":"\u57FA\u672C\u7528\u6CD5"},{"level":2,"title":"\u5C5E\u6027","slug":"\u5C5E\u6027"},{"level":2,"title":"\u63D2\u69FD","slug":"\u63D2\u69FD"}],"relativePath":"components/avatar/index.md"}'),E=t("h1",{id:"avatar-\u5934\u50CF",tabindex:"-1"},[e("Avatar \u5934\u50CF "),t("a",{class:"header-anchor",href:"#avatar-\u5934\u50CF","aria-hidden":"true"},"#")],-1),D=t("p",null,"Avatar \u7EC4\u4EF6\u7528\u6765\u5C55\u793A\u4EBA\u5458\u5934\u50CF\u3002",-1),F=t("h2",{id:"\u57FA\u672C\u7528\u6CD5",tabindex:"-1"},[e("\u57FA\u672C\u7528\u6CD5 "),t("a",{class:"header-anchor",href:"#\u57FA\u672C\u7528\u6CD5","aria-hidden":"true"},"#")],-1),B=t("div",{class:"language-vue"},[t("pre",null,[t("code",null,[t("span",{class:"token tag"},[t("span",{class:"token tag"},[t("span",{class:"token punctuation"},"<"),e("script")]),e(),t("span",{class:"token attr-name"},"setup"),e(),t("span",{class:"token attr-name"},"lang"),t("span",{class:"token attr-value"},[t("span",{class:"token punctuation attr-equals"},"="),t("span",{class:"token punctuation"},'"'),e("ts"),t("span",{class:"token punctuation"},'"')]),t("span",{class:"token punctuation"},">")]),t("span",{class:"token script"},[t("span",{class:"token language-javascript"},[e(`
`),t("span",{class:"token keyword"},"import"),e(),t("span",{class:"token punctuation"},"{"),e(" ref "),t("span",{class:"token punctuation"},"}"),e(),t("span",{class:"token keyword"},"from"),e(),t("span",{class:"token string"},"'vue'"),t("span",{class:"token punctuation"},";"),e(`
`)])]),t("span",{class:"token tag"},[t("span",{class:"token tag"},[t("span",{class:"token punctuation"},"</"),e("script")]),t("span",{class:"token punctuation"},">")]),e(`
`),t("span",{class:"token tag"},[t("span",{class:"token tag"},[t("span",{class:"token punctuation"},"<"),e("template")]),t("span",{class:"token punctuation"},">")]),e(`
`),t("span",{class:"token tag"},[t("span",{class:"token tag"},[t("span",{class:"token punctuation"},"<"),e("f-avatar")]),t("span",{class:"token punctuation"},">")]),t("span",{class:"token tag"},[t("span",{class:"token tag"},[t("span",{class:"token punctuation"},"</"),e("f-avatar")]),t("span",{class:"token punctuation"},">")]),e(`
`),t("span",{class:"token tag"},[t("span",{class:"token tag"},[t("span",{class:"token punctuation"},"</"),e("template")]),t("span",{class:"token punctuation"},">")]),e(`
`)])])],-1),b=C('<h2 id="\u5C5E\u6027" tabindex="-1">\u5C5E\u6027 <a class="header-anchor" href="#\u5C5E\u6027" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">\u5C5E\u6027\u540D</th><th style="text-align:left;">\u7C7B\u578B</th><th style="text-align:left;">\u9ED8\u8BA4\u503C</th><th style="text-align:left;">\u8BF4\u660E</th></tr></thead><tbody><tr><td style="text-align:left;">id</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">\u7EC4\u4EF6\u6807\u8BC6</td></tr></tbody></table><h2 id="\u63D2\u69FD" tabindex="-1">\u63D2\u69FD <a class="header-anchor" href="#\u63D2\u69FD" aria-hidden="true">#</a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>\u6682\u65E0\u5185\u5BB9</p></div>',4);function y(o,u,c,l,r,p){const n=h("render-demo-0"),i=h("demo");return v(),g("div",null,[E,D,F,k(i,{sourceCode:`<script setup lang="ts">
import { ref } from 'vue';
<\/script>
<template>
<f-avatar></f-avatar>
</template>
`},{highlight:_(()=>[B]),default:_(()=>[k(n)]),_:1}),b])}const N=f(x,[["render",y]]);export{V as __pageData,N as default};