refactoring admin console #12

This commit is contained in:
2026-01-25 10:45:01 +02:00
parent 80afb5c460
commit bf13c37301
10 changed files with 408 additions and 408 deletions
+29
View File
@@ -0,0 +1,29 @@
<template>
<v-container>
<v-row>
<v-col v-for="(v, i) in items" :key="i" cols="12" xs="6" sm="4" md="3" xl="2" class="position-relative">
<router-link :to="`/admin/preview/${v.id}`">
<v-img :src="`/asset/thumb/${v.thumb}.webp`"></v-img>
</router-link>
<div class="d-flex">
<span class="flex-grow-1">{{ v.name }}</span>
</div>
</v-col>
</v-row>
</v-container>
</template>
<script>
export default {
data(){
return {
items: []
}
},
async created(){
this.items = (await this.$api.game.search()).data.data
},
}
</script>