blog-web/js/vab-iconfont.8d22132c.js
2024-05-09 14:47:05 +08:00

1 line
1.3 KiB
JavaScript

"use strict";(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[6211],{5690:function(e,n,s){s.r(n),s.d(n,{default:function(){return d}});var t=s(641),c=s(2644);const l={class:"icon-box"};function o(e,n,s,o,a,u){const i=(0,t.g2)("el-alert"),r=(0,t.g2)("el-icon"),d=(0,t.g2)("el-col"),f=(0,t.g2)("el-row"),p=(0,t.g2)("el-main");return(0,t.uX)(),(0,t.Wv)(p,null,{default:(0,t.k6)((()=>[(0,t.bF)(i,{title:"扩展了Element Plus图标库,可以在@/assets/icons中新增自己的SVG图标组件,记得在@/assets/icons/index.js中引入. 建议前往阿里iconfont复制SVG代码 https://www.iconfont.cn/collections/detail?spm=a313x.7781069.0.da5a778a4&cid=25353",type:"success",style:{"margin-bottom":"20px"}}),(0,t.bF)(f,{gutter:0,class:"box"},{default:(0,t.k6)((()=>[((0,t.uX)(!0),(0,t.CE)(t.FK,null,(0,t.pI)(a.icons,((e,n)=>((0,t.uX)(),(0,t.Wv)(d,{span:4,key:n},{default:(0,t.k6)((()=>[(0,t.Lk)("div",l,[(0,t.bF)(r,null,{default:(0,t.k6)((()=>[((0,t.uX)(),(0,t.Wv)((0,t.$y)(e)))])),_:2},1024),(0,t.Lk)("p",null,(0,c.v_)(e),1)])])),_:2},1024)))),128))])),_:1})])),_:1})}s(8743);var a=s(8194),u={data(){return{icons:[]}},mounted(){for(let e in a)this.icons.push("sc-icon"+e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase())))}},i=s(6262);const r=(0,i.A)(u,[["render",o],["__scopeId","data-v-d147796a"]]);var d=r}}]);