You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
1.5 KiB

1 year ago
  1. var t=Object.defineProperty,a=Object.prototype.hasOwnProperty,e=Object.getOwnPropertySymbols,r=Object.prototype.propertyIsEnumerable,n=(a,e,r)=>e in a?t(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,s=(t,s)=>{for(var o in s||(s={}))a.call(s,o)&&n(t,o,s[o]);if(e)for(var o of e(s))r.call(s,o)&&n(t,o,s[o]);return t};import{_ as o}from"./returnBar.35b6215f.js";import{B as i,x as l,v as p,T as c,G as u,p as d,m as b,c as f,t as v,F as y,q as g,w as m,r as k,o as B}from"./vendor.269b2875.js";import"./pinlun@2x.628190cf.js";import"./paixu@2x.fd1743af.js";const j={components:{ReturnBar:o},setup(){const{proxy:t}=i(),a=l({topTitle:"排行榜",typeBar:1,rankinglist:[]});p((()=>{e()}));let e=()=>{const a=t;a.$http.get(t.$API.GETTOPBASE,{}).then((t=>{200==t.type?a.rankinglist=t.data:c(t.content)})).catch((t=>{}))};return s(s({},u(a)),{GetTopBase:e,toRankingDeatil:(a,e,r)=>{t.$router.push({path:"/rankingListDeatil",query:{id:a,title:e,cover:r}})}})}},T=m("data-v-5bfacaea");d("data-v-5bfacaea");const x={class:"box"},O={class:"status"},h={class:"rankinglist"};b();const P=T(((t,a,e,r,n,s)=>{const o=k("ReturnBar");return B(),f("div",x,[v("div",O,[v(o,{topTitle:t.topTitle,typeBar:t.typeBar},null,8,["topTitle","typeBar"])]),v("div",h,[(B(!0),f(y,null,g(t.rankinglist,((t,a)=>(B(),f("div",{class:"rankinglistitem",onClick:a=>r.toRankingDeatil(t.id,t.title,t.cover),key:a,style:{"background-image":"url("+t.cover+")"}},null,12,["onClick"])))),128))])])}));j.render=P,j.__scopeId="data-v-5bfacaea";export{j as default};