refactor: 主要功能实现
目前的工作已经实现的功能: - 基本 FastAPI 路由; - 基本 AI 聊天和创作功能; - 用户信息管理、权限验证、JWT 令牌签发和验证、端点保护; - HTML 验证码邮件发送和验证码验证。
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<script setup lang="ts">
|
||||
import {useNowUser} from "@/stores/now-user.js";
|
||||
import {computed} from "vue";
|
||||
import {useHead} from "@unhead/vue";
|
||||
|
||||
useHead({
|
||||
title: "总览"
|
||||
})
|
||||
|
||||
const NOWUSER = useNowUser()
|
||||
|
||||
const backgroundUrl = computed(() => `url("${NOWUSER.background_url}")`)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="overview"></div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
div.overview {
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
border-radius: 6px;
|
||||
background-color: #ddfbff;
|
||||
background-image: v-bind(backgroundUrl);
|
||||
background-size: cover;
|
||||
background-position: top;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user