layui/example/dist/assets/icon.ebaec3da.js

62 lines
50 KiB
JavaScript
Raw Normal View History

import{r as l,o as u,h as p,e as a,d as o,f as i,g as c,j as y}from"./vendor.e7911ee1.js";const m={class:"markdown-body"},r=i("pre",null,[i("code",{"v-pre":""},[i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("template")]),i("span",{class:"token punctuation"},">")]),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("lay-icon")]),c(),i("span",{class:"token attr-name"},"type"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("layui-icon-face-smile"),i("span",{class:"token punctuation"},'"')]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("lay-icon")]),i("span",{class:"token punctuation"},">")]),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("template")]),i("span",{class:"token punctuation"},">")]),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("script")]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token script"},[i("span",{class:"token language-javascript"},[c(`
`),i("span",{class:"token keyword"},"import"),c(),i("span",{class:"token punctuation"},"{"),c(" ref "),i("span",{class:"token punctuation"},"}"),c(),i("span",{class:"token keyword"},"from"),c(),i("span",{class:"token string"},"'vue'"),c(`
`),i("span",{class:"token keyword"},"export"),c(),i("span",{class:"token keyword"},"default"),c(),i("span",{class:"token punctuation"},"{"),c(`
`),i("span",{class:"token function"},"setup"),i("span",{class:"token punctuation"},"("),i("span",{class:"token punctuation"},")"),c(),i("span",{class:"token punctuation"},"{"),c(`
`),i("span",{class:"token keyword"},"return"),c(),i("span",{class:"token punctuation"},"{"),c(`
`),i("span",{class:"token punctuation"},"}"),c(`
`),i("span",{class:"token punctuation"},"}"),c(`
`),i("span",{class:"token punctuation"},"}"),c(`
`)])]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("script")]),i("span",{class:"token punctuation"},">")]),c(`
`)])],-1),k=i("pre",null,[i("code",{"v-pre":""},[i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("template")]),i("span",{class:"token punctuation"},">")]),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("lay-icon")]),c(),i("span",{class:"token attr-name"},"type"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("layui-icon-face-smile"),i("span",{class:"token punctuation"},'"')]),c(),i("span",{class:"token attr-name"},"color"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("red"),i("span",{class:"token punctuation"},'"')]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("lay-icon")]),i("span",{class:"token punctuation"},">")]),c(),i("span",{class:"token entity named-entity",title:"\xA0"},"&nbsp;"),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("lay-icon")]),c(),i("span",{class:"token attr-name"},"type"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("layui-icon-face-smile"),i("span",{class:"token punctuation"},'"')]),c(),i("span",{class:"token attr-name"},"color"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("orange"),i("span",{class:"token punctuation"},'"')]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("lay-icon")]),i("span",{class:"token punctuation"},">")]),c(),i("span",{class:"token entity named-entity",title:"\xA0"},"&nbsp;"),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("lay-icon")]),c(),i("span",{class:"token attr-name"},"type"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("layui-icon-face-smile"),i("span",{class:"token punctuation"},'"')]),c(),i("span",{class:"token attr-name"},"color"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("green"),i("span",{class:"token punctuation"},'"')]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("lay-icon")]),i("span",{class:"token punctuation"},">")]),c(),i("span",{class:"token entity named-entity",title:"\xA0"},"&nbsp;"),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("lay-icon")]),c(),i("span",{class:"token attr-name"},"type"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("layui-icon-face-smile"),i("span",{class:"token punctuation"},'"')]),c(),i("span",{class:"token attr-name"},"color"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("cyan"),i("span",{class:"token punctuation"},'"')]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("lay-icon")]),i("span",{class:"token punctuation"},">")]),c(),i("span",{class:"token entity named-entity",title:"\xA0"},"&nbsp;"),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("lay-icon")]),c(),i("span",{class:"token attr-name"},"type"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("layui-icon-face-smile"),i("span",{class:"token punctuation"},'"')]),c(),i("span",{class:"token attr-name"},"color"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("blue"),i("span",{class:"token punctuation"},'"')]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("lay-icon")]),i("span",{class:"token punctuation"},">")]),c(),i("span",{class:"token entity named-entity",title:"\xA0"},"&nbsp;"),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("lay-icon")]),c(),i("span",{class:"token attr-name"},"type"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("layui-icon-face-smile"),i("span",{class:"token punctuation"},'"')]),c(),i("span",{class:"token attr-name"},"color"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("black"),i("span",{class:"token punctuation"},'"')]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("lay-icon")]),i("span",{class:"token punctuation"},">")]),c(),i("span",{class:"token entity named-entity",title:"\xA0"},"&nbsp;"),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("template")]),i("span",{class:"token punctuation"},">")]),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("script")]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token script"},[i("span",{class:"token language-javascript"},[c(`
`),i("span",{class:"token keyword"},"import"),c(),i("span",{class:"token punctuation"},"{"),c(" ref "),i("span",{class:"token punctuation"},"}"),c(),i("span",{class:"token keyword"},"from"),c(),i("span",{class:"token string"},"'vue'"),c(`
`),i("span",{class:"token keyword"},"export"),c(),i("span",{class:"token keyword"},"default"),c(),i("span",{class:"token punctuation"},"{"),c(`
`),i("span",{class:"token function"},"setup"),i("span",{class:"token punctuation"},"("),i("span",{class:"token punctuation"},")"),c(),i("span",{class:"token punctuation"},"{"),c(`
`),i("span",{class:"token keyword"},"return"),c(),i("span",{class:"token punctuation"},"{"),c(`
`),i("span",{class:"token punctuation"},"}"),c(`
`),i("span",{class:"token punctuation"},"}"),c(`
`),i("span",{class:"token punctuation"},"}"),c(`
`)])]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("script")]),i("span",{class:"token punctuation"},">")]),c(`
`)])],-1),f=c(" \xA0 "),x=c(" \xA0 "),g=c(" \xA0 "),h=c(" \xA0 "),_=c(" \xA0 "),b=c(" \xA0 "),w=i("pre",null,[i("code",{"v-pre":""},[i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("template")]),i("span",{class:"token punctuation"},">")]),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("lay-icon")]),c(),i("span",{class:"token attr-name"},"type"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("layui-icon-star"),i("span",{class:"token punctuation"},'"')]),c(),i("span",{class:"token attr-name"},"size"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("26px"),i("span",{class:"token punctuation"},'"')]),c(),i("span",{class:"token attr-name"},"color"),i("span",{class:"token attr-value"},[i("span",{class:"token punctuation attr-equals"},"="),i("span",{class:"token punctuation"},'"'),c("red"),i("span",{class:"token punctuation"},'"')]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("lay-icon")]),i("span",{class:"token punctuation"},">")]),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("template")]),i("span",{class:"token punctuation"},">")]),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("script")]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token script"},[i("span",{class:"token language-javascript"},[c(`
`),i("span",{class:"token keyword"},"import"),c(),i("span",{class:"token punctuation"},"{"),c(" ref "),i("span",{class:"token punctuation"},"}"),c(),i("span",{class:"token keyword"},"from"),c(),i("span",{class:"token string"},"'vue'"),c(`
`),i("span",{class:"token keyword"},"export"),c(),i("span",{class:"token keyword"},"default"),c(),i("span",{class:"token punctuation"},"{"),c(`
`),i("span",{class:"token function"},"setup"),i("span",{class:"token punctuation"},"("),i("span",{class:"token punctuation"},")"),c(),i("span",{class:"token punctuation"},"{"),c(`
`),i("span",{class:"token keyword"},"return"),c(),i("span",{class:"token punctuation"},"{"),c(`
`),i("span",{class:"token punctuation"},"}"),c(`
`),i("span",{class:"token punctuation"},"}"),c(`
`),i("span",{class:"token punctuation"},"}"),c(`
`)])]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("script")]),i("span",{class:"token punctuation"},">")]),c(`
`)])],-1),q=i("br",null,null,-1),I=i("p",{style:{"margin-left":"24px","margin-bottom":"20px"}},"\u5728 0.2.4 \u7248\u672C\u540E, \u56FE\u6807\u652F\u6301\u7EC4\u4EF6\u5316\u7684\u8C03\u7528\u65B9\u5F0F, \u9996\u5148\u4F60\u9700\u8981\u5B89\u88C5 `@layui/icons-vue` \u4F9D\u8D56\u3002",-1),j=i("div",{class:"language-"},[i("pre",null,[i("code",{"v-pre":""},`npm install @layui/icons-vue
`)])],-1),z=i("p",{style:{"margin-left":"24px","margin-bottom":"20px"}},"\u63A5\u4E0B\u6765, \u4F60\u53EF\u4EE5\u50CF\u4E4B\u524D\u4F7F\u7528\u7EC4\u4EF6\u4E00\u6837\u53BB\u521B\u5EFA\u56FE\u6807\u3002",-1),A=i("div",{class:"language-vue"},[i("pre",null,[i("code",{"v-pre":""},[i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("template")]),i("span",{class:"token punctuation"},">")]),c(`
`),i("span",{class:"token comment"},"<!-- \u7EC4\u4EF6\u56FE\u6807 -->"),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("AlignCenterIcon")]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("AlignCenterIcon")]),i("span",{class:"token punctuation"},">")]),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("DiamondIcon")]),i("span",{class:"token punctuation"},">")]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("DiamondIcon")]),i("span",{class:"token punctuation"},">")]),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("template")]),i("span",{class:"token punctuation"},">")]),c(`
`),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"<"),c("script")]),c(),i("span",{class:"token attr-name"},"setup"),i("span",{class:"token punctuation"},">")]),i("span",{class:"token script"},[i("span",{class:"token language-javascript"},[c(`
`),i("span",{class:"token keyword"},"import"),c(),i("span",{class:"token punctuation"},"{"),c(" AlignCenterIcon"),i("span",{class:"token punctuation"},","),c(" DiamondIcon "),i("span",{class:"token punctuation"},"}"),c(),i("span",{class:"token keyword"},"from"),c(),i("span",{class:"token string"},"'@layui/icons-vue'"),i("span",{class:"token punctuation"},";"),c(`
`)])]),i("span",{class:"token tag"},[i("span",{class:"token tag"},[i("span",{class:"token punctuation"},"</"),c("script")]),i("span",{class:"token punctuation"},">")]),c(`
`)])])],-1),C=y('<ul class="site-doc-icon"><li><i class="layui-icon layui-icon-heart-fill"></i><div class="doc-icon-name">\u5B9E\u5FC3</div><div class="doc-icon-code">&amp;#xe68f;</div><div class="doc-icon-fontclass">layui-icon-heart-fill</div></li><li><i class="layui-icon layui-icon-heart"></i><div class="doc-icon-name">\u7A7A\u5FC3</div><div class="doc-icon-code">&amp;#xe68c;</div><div class="doc-icon-fontclass">layui-icon-heart</div></li><li><i class="layui-icon layui-icon-light"></i><div class="doc-icon-name">\u4EAE\u5EA6/\u6674</div><div class="doc-icon-code">&amp;#xe748;</div><div class="doc-icon-fontclass">layui-icon-light</div></li><li><i class="layui-icon layui-icon-time"></i><div class="doc-icon-name">\u65F6\u95F4/\u5386\u53F2</div><div class="doc-icon-code">&amp;#xe68d;</div><div class="doc-icon-fontclass">layui-icon-time</div></li><li><i class="layui-icon layui-icon-bluetooth"></i><div class="doc-icon-name">\u84DD\u7259</div><div class="doc-icon-code">&amp;#xe689;</div><div class="doc-icon-fontclass">layui-icon-bluetooth</div></li><li><i class="layui-icon layui-icon-at"></i><div class="doc-icon-name">@\u827E\u7279</div><div class="doc-icon-code">&amp;#xe687;</div><div class="doc-icon-fontclass">layui-icon-at</div></li><li><i class="layui-icon layui-icon-mute"></i><div class="doc-icon-name">\u9759\u97F3</div><div class="doc-icon-code">&amp;#xe685;</div><div class="doc-icon-fontclass">layui-icon-mute</div></li><li><i class="layui-icon layui-icon-mike"></i><div class="doc-icon-name">\u5F55\u97F3/\u9EA6\u514B\u98CE</div><div class="doc-icon-code">&amp;#xe6dc;</div><div class="doc-icon-fontclass">layui-icon-mike</div></li><li><i class="layui-icon layui-icon-key"></i><div class="doc-icon-name">\u5BC6\u94A5/\u94A5\u5319</div><div class="doc-icon-code">&amp;#xe683;</div><div class="doc-icon-fontclass">layui-icon-key</div></li><li><i class="layui-icon layui-icon-gift"></i><div class="doc-icon-name">\u793C\u7269/\u6D3B\u52A8</div><div class="doc-icon-code">&amp;#xe627;</div><div class="doc-icon-fontclass">layui-icon-gift</div></li><li><i class="layui-icon layui-icon-email"></i><div class="doc-icon-name">\u90AE\u7BB1</div><div class="doc-icon-code">&amp;#xe618;</div><div class="doc-icon-fontclass">layui-icon-email</div></li><li><i class="layui-icon layui-icon-rss"></i><div class="doc-icon-name">RSS</div><div class="doc-icon-code">&amp;#xe808;</div><div class="doc-icon-fontclass">layui-icon-rss</div></li><li><i class="layui-icon layui-icon-wifi"></i><div class="doc-icon-name">WiFi</div><div class="doc-icon-code">&amp;#xe7e0;</div><div class="doc-icon-fontclass">layui-icon-wifi</div></li><li><i class="layui-icon layui-icon-logout"></i><div class="doc-icon-name">\u9000\u51FA/\u6CE8\u9500</div><div class="doc-icon-code">&amp;#xe682;</div><div class="doc-icon-fontclass">layui-icon-logout</div></li><li><i class="layui-icon layui-icon-android"></i><div class="doc-icon-name">Android \u5B89\u5353</div><div class="doc-icon-code">&amp;#xe684;</div><div class="doc-icon-fontclass">layui-icon-android</div></li><li><i class="layui-icon layui-icon-ios"></i><div class="doc-icon-name">Apple IOS \u82F9\u679C</div><div class="doc-icon-code">&amp;#xe680;</div><div class="doc-icon-fontclass">layui-icon-ios</div></li><li><i class="layui-icon layui-icon-windows"></i><div class="doc-icon-name">Windows</div><div class="doc-icon-code">&amp;#xe67f;</div><div class="doc-icon-fontclass">layui-icon-windows</div></li><li><i class="layui-icon layui-icon-transfer"></i><div class="doc-icon-name">\u7A7F\u68AD\u6846</div><div class="doc-icon-code">&amp;#xe691;</div><div class="doc-icon-fontclass">layui-icon-transfer</div></li><li><i class="layui-icon layui-icon-service"></i><div class="doc-icon-name">\u5BA2\u670D</div><div class="doc-icon-code">&amp;#xe626;</div><div class="doc-icon-fontclass">layui-icon-service</div></li><li><i class="layui-icon layui-icon-subtraction"></i><div class="doc-icon-name">\u51CF</div><div class="doc-icon-code">&amp;#xe67e;</div><div class="doc-icon-fontclass">layui-icon-subtraction</div></li><li><i class="layui-icon layui-icon