media: 🎁 新增备案信息

This commit is contained in:
bunny 2024-10-29 12:57:41 +08:00
parent 21d7744826
commit e863367a78
5 changed files with 89 additions and 80 deletions

View File

@ -23,12 +23,12 @@ VITE_BASE_API_RETRY=5
VITE_BASE_API_RETRY_DELAY=3000 VITE_BASE_API_RETRY_DELAY=3000
# 是否在打包时使用cdn替换本地库 替换 true 不替换 false # 是否在打包时使用cdn替换本地库 替换 true 不替换 false
VITE_CDN=true VITE_CDN=false
# 是否启用gzip压缩或brotli压缩分两种情况删除原始文件和不删除原始文件 # 是否启用gzip压缩或brotli压缩分两种情况删除原始文件和不删除原始文件
# 压缩时不删除原始文件的配置gzip、brotli、both同时开启 gzip 与 brotli 压缩、none不开启压缩默认 # 压缩时不删除原始文件的配置gzip、brotli、both同时开启 gzip 与 brotli 压缩、none不开启压缩默认
# 压缩时删除原始文件的配置gzip-clear、brotli-clear、both-clear同时开启 gzip 与 brotli 压缩、none不开启压缩默认 # 压缩时删除原始文件的配置gzip-clear、brotli-clear、both-clear同时开启 gzip 与 brotli 压缩、none不开启压缩默认
VITE_COMPRESSION="none" VITE_COMPRESSION="gzip"
# 开发环境读取配置文件路径 # 开发环境读取配置文件路径
VITE_PUBLIC_PATH=/ VITE_PUBLIC_PATH=/

View File

@ -1,15 +1,12 @@
<!DOCTYPE html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
<meta name="renderer" content="webkit" /> <meta content="webkit" name="renderer" />
<meta <meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport" />
name="viewport" <title>bunny-admin</title>
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" <link href="/favicon.ico" rel="icon" />
/>
<title>pure-admin-thin</title>
<link rel="icon" href="/favicon.ico" />
<script> <script>
window.process = {}; window.process = {};
</script> </script>
@ -56,7 +53,7 @@
.loader::after { .loader::after {
position: absolute; position: absolute;
top: 0; top: 0;
content: ""; content: '';
} }
.loader::before { .loader::before {
@ -82,6 +79,6 @@
</style> </style>
<div class="loader"></div> <div class="loader"></div>
</div> </div>
<script type="module" src="/src/main.ts"></script> <script src="/src/main.ts" type="module"></script>
</body> </body>
</html> </html>

View File

@ -9,6 +9,7 @@ const Copyright = getConfig('Copyright');
<footer class="layout-footer text-[rgba(0,0,0,0.6)] dark:text-[rgba(220,220,242,0.8)]"> <footer class="layout-footer text-[rgba(0,0,0,0.6)] dark:text-[rgba(220,220,242,0.8)]">
{{ Copyright }} {{ Copyright }}
<a class="hover:text-primary" href="https://github.com/pure-admin" target="_blank"> &nbsp;{{ TITLE }} </a> <a class="hover:text-primary" href="https://github.com/pure-admin" target="_blank"> &nbsp;{{ TITLE }} </a>
<a href="https://beian.miit.gov.cn/" target="_blank">&nbsp;&nbsp;苏ICP备2023044078号-1</a>
</footer> </footer>
</template> </template>

View File

@ -77,6 +77,10 @@ onMounted(() => {
</div> </div>
</div> </div>
</div> </div>
<footer>
<a href="https://beian.miit.gov.cn/" target="_blank">&nbsp;&nbsp;苏ICP备2023044078号-1</a>
</footer>
</template> </template>
<style scoped> <style scoped>
@ -84,6 +88,13 @@ onMounted(() => {
</style> </style>
<style lang="scss" scoped> <style lang="scss" scoped>
footer {
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
}
:deep(.el-input-group__append, .el-input-group__prepend) { :deep(.el-input-group__append, .el-input-group__prepend) {
padding: 0; padding: 0;
} }

View File

@ -209,7 +209,7 @@ export const onChangeMenuRank = async (row: any) => {
*/ */
export const assignRolesToRouter = (row: any) => { export const assignRolesToRouter = (row: any) => {
addDialog({ addDialog({
title: `${row.name} 分配角色`, title: `${$t(row.name)} 分配角色`,
width: '45%', width: '45%',
draggable: true, draggable: true,
closeOnClickModal: false, closeOnClickModal: false,