更新相关链接

This commit is contained in:
hooray
2022-05-08 09:15:53 +08:00
parent 05b9d00994
commit cefc6eaebc
4 changed files with 10 additions and 43 deletions
-38
View File
@@ -31,20 +31,11 @@ function userCommand(command) {
break
}
}
function pro() {
window.open(`https://hooray.${location.origin.includes('gitee') ? 'gitee' : 'github'}.io/fantastic-admin/vue3/pro`, 'top')
}
</script>
<template>
<div class="tools">
<div class="buttons">
<span v-if="settingsStore.mode == 'pc'" class="item item-pro" @click="pro">
<el-icon>
<svg-icon name="pro" />
</el-icon>
<span class="title">查看专业版</span>
</span>
<span v-if="settingsStore.topbar.enableNavSearch" class="item" @click="$eventBus.emit('global-search-toggle')">
<el-icon>
<svg-icon name="search" />
@@ -107,35 +98,6 @@ function pro() {
vertical-align: middle;
transition: all 0.3s;
}
.item-pro {
display: inline-block;
width: auto;
padding: 0 10px;
transform-origin: right center;
animation: pro-text 3s ease-out infinite;
@keyframes pro-text {
0%,
20% {
transform: scale(1);
}
50%,
70% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}
.title {
padding-left: 5px;
font-weight: bold;
font-size: 14px;
background-image: linear-gradient(to right, #ffa237, #fc455d);
/* stylelint-disable-next-line property-no-vendor-prefix */
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
}
}
:deep(.user-container) {
+1 -1
View File
@@ -82,7 +82,7 @@ let globalSettings = {
// 版权信息配置,格式为:Copyright © [dates] <company>, All Rights Reserved
dates: '2020-2022',
company: 'Fantastic-admin',
website: 'https://hooray.github.io/fantastic-admin'
website: 'https://fantastic-admin.netlify.app'
}
}
+4 -2
View File
@@ -4,9 +4,11 @@ export default function createBanner() {
return banner(`
/**
* 由 Fantastic-admin 提供技术支持
* https://hooray.gitee.io/fantastic-admin/
* Powered by Fantastic-admin
* https://hooray.github.io/fantastic-admin/
* https://fantastic-admin.netlify.app
* 代码仓库
* Gitee https://gitee.com/hooray/fantastic-admin
* Github https://github.com/hooray/fantastic-admin
*/
`)
}
+5 -2
View File
@@ -13,8 +13,11 @@ export default function createHtml(env, isBuild) {
debugTool: VITE_APP_DEBUG_TOOL,
copyrightScript: `
<script>
console.info('%c由%cFantastic-admin%c提供技术支持', '${copyright_sub_style}', '${copyright_main_style}', '${copyright_sub_style}', '\\nhttps://hooray.gitee.io/fantastic-admin/');
console.info('%cPowered by%cFantastic-admin', '${copyright_sub_style}', '${copyright_main_style}', '\\nhttps://hooray.github.io/fantastic-admin/');
if ((navigator.language || navigator.browserLanguage).toLowerCase() === 'zh-cn') {
console.info('%c由%cFantastic-admin%c提供技术支持', '${copyright_sub_style}', '${copyright_main_style}', '${copyright_sub_style}', '\\nhttps://gitee.com/hooray/fantastic-admin');
} else {
console.info('%cPowered by%cFantastic-admin', '${copyright_sub_style}', '${copyright_main_style}', '\\nhttps://github.com/hooray/fantastic-admin');
}
</script>
`
}