2 lines
1016 B
JavaScript
2 lines
1016 B
JavaScript
import{d as o,b as r,o as c,c as i,a as u,O as l}from"./@vue.18505fe0.js";import{d as _,r as t}from"./index.893d9365.js";const d=["xlink:href","fill"],p=o({__name:"index",props:{iconName:{type:String,required:!0},className:{type:String,default:""},color:{type:String,default:"#333"},white:{type:Boolean,default:!1}},setup(e){const n=e,a=r(()=>`#icon-${n.iconName}`),s=r(()=>n.className?`svg-icon ${n.className}`:"svg-icon");return(f,g)=>(c(),i("svg",{class:l(s.value),"aria-hidden":"true"},[u("use",{"xlink:href":a.value,fill:e.white?"#fff":e.color},null,8,d)],2))}});const b=_(p,[["__scopeId","data-v-9b161d0d"]]);function k(e){return t.get({url:"/workbench/get_basic",params:e})}function v(e){return t.get({url:"/workbench/get_trend",params:e})}function x(e){return t.get({url:"/workbench/get_product_ranking",params:e})}function w(e){return t.get({url:"/workbench/get_user_basic",params:e})}function N(e){return t.get({url:"/workbench/get_user_trend",params:e})}export{b as _,k as a,v as b,x as c,w as d,N as e};
|