2024-08-12 07:55:15 +00:00
|
|
|
<template>
|
|
|
|
<v-container class="content-container mx-auto">
|
|
|
|
<v-img v-if="urlOfBanner" :src="urlOfBanner" :aspect-ratio="16 / 5" class="rounded-md mb-3" cover />
|
|
|
|
|
|
|
|
<div class="mx-[2.5ch]">
|
|
|
|
<div class="my-5 flex flex-row gap-4">
|
|
|
|
<v-avatar :image="urlOfAvatar" />
|
|
|
|
<div class="flex flex-col">
|
2024-08-13 08:23:33 +00:00
|
|
|
<span>{{ auth.userinfo?.nick }} <span class="text-xs">@{{ auth.userinfo?.name }}</span></span>
|
|
|
|
<span class="text-sm">{{ auth.userinfo?.description }}</span>
|
2024-08-12 07:55:15 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-5">
|
|
|
|
<div class="mx-[2.5ch]">
|
2024-08-13 09:54:13 +00:00
|
|
|
<h2 class="text-xl">{{ t("personalize") }}</h2>
|
|
|
|
<span class="text-sm">{{ t("personalizeCaption") }}</span>
|
2024-08-12 07:55:15 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<v-alert
|
|
|
|
class="mt-3"
|
|
|
|
type="info"
|
|
|
|
variant="tonal"
|
|
|
|
density="comfortable"
|
2024-08-13 09:54:13 +00:00
|
|
|
:text="t('transferredToSolianHint')"
|
2024-08-12 07:55:15 +00:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-5">
|
|
|
|
<div class="mx-[2.5ch]">
|
2024-08-13 09:54:13 +00:00
|
|
|
<h2 class="text-xl">{{ t("security") }}</h2>
|
|
|
|
<span class="text-sm">{{ t("securityCaption") }}</span>
|
2024-08-12 07:55:15 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<account-auth-ticket-table class="mt-3" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-5 mx-[2.5ch]">
|
2024-08-13 09:43:44 +00:00
|
|
|
<copyright service="passport" no-centered />
|
2024-08-12 07:55:15 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</v-container>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
2024-08-12 15:51:42 +00:00
|
|
|
definePageMeta({
|
|
|
|
middleware: ["auth"],
|
|
|
|
})
|
|
|
|
|
2024-08-13 09:54:13 +00:00
|
|
|
const { t } = useI18n()
|
2024-08-12 07:55:15 +00:00
|
|
|
const config = useRuntimeConfig()
|
|
|
|
|
|
|
|
const auth = useUserinfo()
|
|
|
|
|
2024-08-13 08:23:33 +00:00
|
|
|
const urlOfAvatar = computed(() => auth.userinfo?.avatar ? `${config.public.solarNetworkApi}/cgi/files/attachments/${auth.userinfo.avatar}` : void 0)
|
|
|
|
const urlOfBanner = computed(() => auth.userinfo?.banner ? `${config.public.solarNetworkApi}/cgi/files/attachments/${auth.userinfo.banner}` : void 0)
|
2024-08-12 07:55:15 +00:00
|
|
|
</script>
|