import{d as r,a2 as l,a3 as n,a4 as a,a5 as t,F as i,ae as p,a6 as c,ac as u}from"./vue-vendor-CxLCUzY4.js";import{_ as d}from"./index-CYriLmQo.js";const f=r({name:"RankList",props:{title:{type:String,default:""},list:{type:Array,default:null},height:{type:Number,default:null}}}),h={class:"rank"},m={class:"title"};function _(e,y,g,k,$,v){return l(),n("div",h,[a("h4",m,t(e.title),1),a("ul",{class:"list",style:u({height:e.height?`${e.height}px`:"auto",overflow:"auto"})},[(l(!0),n(i,null,p(e.list,(o,s)=>(l(),n("li",{key:s},[a("span",{class:c(s<3?"active":null)},t(s+1),3),a("span",null,t(o.name),1),a("span",null,t(o.total),1)]))),128))],4)])}const R=d(f,[["render",_],["__scopeId","data-v-2f07abe7"]]);export{R};
