birdpaper-icon
Version:
基于 Remix icon 生成的 Vue3 图标组件库
2 lines (1 loc) • 2.08 kB
JavaScript
import{defineComponent as a}from"vue";import{computed as i}from"vue";import{createElementVNode as c,normalizeClass as p,normalizeStyle as f,openBlock as d,createElementBlock as u}from"vue";var k=["fill"],y=function(t,e){return d(),u("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",class:p(t.cls),style:f(t.innerStyle),fill:t.fill,onClick:e[0]||(e[0]=(...o)=>t.onClick&&t.onClick(...o))},[...e[1]||(e[1]=[c("path",{d:"M4.278 8.592c2.773-2.77 6.004-4.033 7.219-2.816.537.537.588 1.464.244 2.572-.178.557.524.25.524.25 2.241-.938 4.197-.994 4.91.027.38.542.343 1.306-.008 2.19-.163.407.048.47.36.563 1.262.392 2.668 1.336 2.668 3.004 0 2.763-3.98 6.239-9.964 6.239-4.565 0-9.23-2.213-9.23-5.852 0-1.902 1.204-4.102 3.277-6.177Zm12.133 5.742c-.237-2.391-3.382-4.039-7.023-3.677-3.64.359-6.403 2.59-6.167 4.98.237 2.394 3.382 4.039 7.023 3.68 3.641-.362 6.401-2.592 6.167-4.983Zm-10.249.104c.754-1.528 2.712-2.39 4.446-1.94 1.792.463 2.707 2.154 1.976 3.799-.744 1.683-2.883 2.58-4.695 1.994-1.752-.566-2.493-2.295-1.727-3.853Zm2.715.578c-.563-.237-1.291.008-1.64.553-.354.547-.189 1.201.371 1.456.568.257 1.325.013 1.676-.55.346-.568.163-1.217-.408-1.459Zm1.387-.578c-.216-.084-.486.018-.613.232-.123.214-.054.458.163.547.219.092.501-.012.628-.231.123-.22.044-.466-.178-.548Zm5.694-11.514A5.831 5.831 0 0 1 21.5 4.72a5.836 5.836 0 0 1 1.22 5.704.838.838 0 0 1-1.06.54.844.844 0 0 1-.542-1.062 4.142 4.142 0 0 0-4.808-5.327.845.845 0 0 1-.353-1.65Zm.626 2.926a2.836 2.836 0 0 1 3.29 3.648.725.725 0 1 1-1.378-.45 1.38 1.38 0 0 0-.287-1.357 1.395 1.395 0 0 0-1.322-.426.723.723 0 1 1-.303-1.415Z"},null,-1)])],14,k)},Z=a({name:"IconWeiboFill",render:y,props:{size:{type:String,default:"18px"},fill:{type:String,default:"#595959"},spin:{type:Boolean,default:!1},rotate:{type:Number}},emits:["click"],setup(l,{emit:t}){let e=l,o=t,n="bp-icon",r=i(()=>[n,`${n}-icon-weibo-fill`,{[`${n}-spin`]:e.spin}]),m=i(()=>({width:e.size,height:e.size,transform:e.rotate?`rotate(${e.rotate}deg)`:void 0}));return{cls:r,innerStyle:m,onClick:s=>o("click",s)}}});export{Z as default};