feat: floor edit

This commit is contained in:
osiris
2024-05-13 16:47:24 +08:00
parent 9a55817794
commit a882cfeac9
2 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
# 变量必须以 VITE_ 为前缀才能暴露给外部读取
NODE_ENV = 'development'
# 网站名称
VITE_APP_TITLE = 'tools-web'
VITE_APP_TITLE = 'Tools-Web'
# 简短描述
VITE_APP_DESC = '一个轻量的工具集合'
VITE_APP_DESC = '一个轻量的工具集合'
# base api
VITE_APP_BASE_API = '/v1'
# 服务端地址: https://xxx.xxx.com; 使用mock时不需要填写
+3 -4
View File
@@ -1,12 +1,11 @@
<script setup lang="ts">
import { ref } from 'vue'
const beianNo = ref('粤ICP备19038804号-1')
const copyright = ref('ranblogs.com')
import { ref } from 'vue';
const appDesc = ref(import.meta.env.VITE_APP_DESC || '')
</script>
<template>
<div class="bg-white w-full rounded-2xl z-10 p-5 text-center">
Copyright © 2023 · {{ copyright }} &nbsp;&nbsp; <a href="https://xy.ranblogs.com/tools_web.html" target="_blank">隐私权政策</a> &nbsp;&nbsp; <a href="https://beian.miit.gov.cn/" target="_blank">{{ beianNo }}</a>
{{ appDesc }} © 2024 <a href="https://github.com/taoran1401/tools-web" target="_blank" class="text-blue-700">Tools-Web</a>
</div>
</template>