2024-07-21 10:10:05 +02:00
|
|
|
<template>
|
|
|
|
<div class="flex h-full px-1 overflow-hidden">
|
|
|
|
<div class="w-10 h-10 flex items-center justify-center">
|
|
|
|
<span class="material-symbols text-2xl text-gray-200">category</span>
|
|
|
|
</div>
|
|
|
|
<div class="flex-grow px-2 tagSearchCardContent h-full">
|
|
|
|
<p class="truncate text-sm">{{ genre }}</p>
|
2024-07-21 18:07:54 +02:00
|
|
|
<p class="text-xs text-gray-400">{{ $getString('LabelXItems', [numItems]) }}</p>
|
2024-07-21 10:10:05 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
2024-07-21 18:07:54 +02:00
|
|
|
genre: String,
|
|
|
|
numItems: Number
|
2024-07-21 10:10:05 +02:00
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {}
|
|
|
|
},
|
|
|
|
computed: {},
|
|
|
|
methods: {},
|
|
|
|
mounted() {}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.tagSearchCardContent {
|
|
|
|
width: calc(100% - 40px);
|
2024-07-21 18:07:54 +02:00
|
|
|
height: 44px;
|
2024-07-21 10:10:05 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
</style>
|