���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
pages
/
Viewing: units.vue
<script setup lang="ts"> const { t } = useI18n() definePageMeta({ middleware: ['auth'], title: 'Unit Selection' }) useHead ({ title: t('Unit Selection' ) }) const localePath = useLocalePath() const config = useRuntimeConfig(); const { category } = useRoute().query const { data, pending, error, refresh } = await useAPI( '/analyze/units', { query: { category: category } , transform: (mountains:any) => { return JSON.parse(mountains).data; }, immediate: true, server: true }) </script> <template> <section class=" px-2 mt-1 mb-10"> <span v-if="pending"><Snipper /></span> <span v-else-if="error">Error: {{ error }}</span> <div class=" flex flex-wrap justify-start item-center" v-else > <ULink :to="localePath('/unit/'+unit.id)" class=" w-4/12 mb-4 sm:w-3/12" v-for="unit in data.units"> <div class="h-28 mb-3" v-if="unit.image_3_d" > <img :src="config.public.FILE_URL+unit.image_3_d.address" class="w-28 mx-auto" :alt="t('Unit Selection' )" > </div> <div> <span :dir="$i18n.locale == 'en' ? 'ltr' : 'rtl'" class=" block w-28 mx-auto text-xs break-words line-clamp-2 " v-text="$i18n.locale == 'en' ? unit.title_en : unit.title"> </span> </div> </ULink> </div> </section> </template>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa