mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-05 21:47:55 +08:00
修改网址
This commit is contained in:
parent
9f38ff6e20
commit
b228a9540a
4
.github/workflows/deploy-example-site.yml
vendored
4
.github/workflows/deploy-example-site.yml
vendored
@ -54,7 +54,7 @@ jobs:
|
||||
SSH_DEPLOY_KEY: ${{ secrets.PUSH_TO_ANOTHER_REPO_SSH_DEPLOY_KEY }}
|
||||
with:
|
||||
source-directory: 'dist-example'
|
||||
destination-github-username: 'hooray'
|
||||
destination-repository-name: 'fantastic-admin-example'
|
||||
destination-github-username: 'fantastic-admin'
|
||||
destination-repository-name: 'basic-example'
|
||||
user-email: 304327508@qq.com
|
||||
target-branch: master
|
||||
|
6
public/.github/workflows/deploy.yml
vendored
6
public/.github/workflows/deploy.yml
vendored
@ -34,9 +34,9 @@ jobs:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
||||
with:
|
||||
# 注意替换为你的 GitHub 源仓库地址
|
||||
source-repo: git@github.com:hooray/fantastic-admin-example.git
|
||||
source-repo: git@github.com:fantastic-admin/basic-example.git
|
||||
# 注意替换为你的 Gitee 目标仓库地址
|
||||
destination-repo: git@gitee.com:hooray/fantastic-admin-example.git
|
||||
destination-repo: git@gitee.com:fantastic-admin/basic-example.git
|
||||
|
||||
- name: Build Gitee Pages
|
||||
uses: yanglbme/gitee-pages-action@main
|
||||
@ -46,6 +46,6 @@ jobs:
|
||||
# 注意在 Settings->Secrets 配置 GITEE_PASSWORD
|
||||
gitee-password: ${{ secrets.GITEE_PASSWORD }}
|
||||
# 注意替换为你的 Gitee 仓库,仓库名严格区分大小写,请准确填写,否则会出错
|
||||
gitee-repo: hooray/fantastic-admin-example
|
||||
gitee-repo: fantastic-admin/basic-example
|
||||
# 要部署的分支,默认是 master,若是其他分支,则需要指定(指定的分支必须存在)
|
||||
branch: master
|
||||
|
@ -17,7 +17,7 @@ onMounted(() => {
|
||||
dangerouslyUseHTMLString: true,
|
||||
message: `
|
||||
<p>当前访问的是<b>基础版</b> (Vue3)</p>
|
||||
<p>你可以点<a href="https://hooray.gitee.io/fantastic-admin-pro-example/" target="_blank"><b>这里</b></a>访问专业版 (Vue3)</p>
|
||||
<p>你可以点<a href="https://fantastic-admin.gitee.io/pro-example/" target="_blank"><b>这里</b></a>访问专业版 (Vue3)</p>
|
||||
`,
|
||||
position: 'bottom-right',
|
||||
duration: 5000,
|
||||
@ -29,7 +29,7 @@ onMounted(() => {
|
||||
title: '「 专业版限时优惠 」',
|
||||
dangerouslyUseHTMLString: true,
|
||||
message: `
|
||||
<p>原价 1099.00 元,现价 <b style="font-size: 18px; color: #ff4400;">899.00</b> 元,更有超值优惠合集,立减 <b style="color: #ff4400;">799.00</b> 元,点击<a href="https://hooray.gitee.io/fantastic-admin/buy.html" target="_blank">查看详情</a>!</p>
|
||||
<p>原价 1099.00 元,现价 <b style="font-size: 18px; color: #ff4400;">899.00</b> 元,更有超值优惠合集,立减 <b style="color: #ff4400;">799.00</b> 元,点击<a href="https://fantastic-admin.gitee.io/buy.html" target="_blank">查看详情</a>!</p>
|
||||
`,
|
||||
position: 'bottom-right',
|
||||
duration: 0,
|
||||
@ -44,25 +44,25 @@ function open(url: string) {
|
||||
|
||||
<template>
|
||||
<div class="buy-it" :class="{ actived: isActived }">
|
||||
<div class="item" @click="open(`https://hooray.gitee.io/fantastic-admin/buy.html`)">
|
||||
<div class="item" @click="open(`https://fantastic-admin.gitee.io/buy.html`)">
|
||||
<el-icon>
|
||||
<svg-icon name="fixed-right-buy" />
|
||||
</el-icon>
|
||||
<span class="title">购买<br>专业版</span>
|
||||
</div>
|
||||
<div class="item" @click="open('https://gitee.com/hooray/fantastic-admin/')">
|
||||
<div class="item" @click="open('https://gitee.com/fantastic-admin/basic')">
|
||||
<el-icon>
|
||||
<svg-icon name="fixed-right-code" />
|
||||
</el-icon>
|
||||
<span class="title">下载<br>基础版</span>
|
||||
</div>
|
||||
<div class="item" @click="open(`https://hooray.gitee.io/fantastic-admin/`)">
|
||||
<div class="item" @click="open(`https://fantastic-admin.gitee.io`)">
|
||||
<el-icon>
|
||||
<svg-icon name="fixed-right-doc" />
|
||||
</el-icon>
|
||||
<span class="title">开发<br>文档</span>
|
||||
</div>
|
||||
<div class="item" @click="open(`https://hooray.gitee.io/fantastic-admin/support.html`)">
|
||||
<div class="item" @click="open(`https://fantastic-admin.gitee.io/support.html`)">
|
||||
<el-icon>
|
||||
<svg-icon name="fixed-right-chat" />
|
||||
</el-icon>
|
||||
|
@ -37,7 +37,7 @@ function userCommand(command: 'home' | 'setting' | 'hotkeys' | 'logout') {
|
||||
}
|
||||
}
|
||||
function pro() {
|
||||
window.open('https://hooray.gitee.io/fantastic-admin-pro-example/', '_blank')
|
||||
window.open('https://fantastic-admin.gitee.io/pro-example/', '_blank')
|
||||
}
|
||||
</script>
|
||||
|
||||
|
@ -28,7 +28,7 @@ const routes: RouteRecordRaw[] = [
|
||||
name: 'officialOneStepAdmin',
|
||||
meta: {
|
||||
title: 'One-step-admin 干啥都快人一步的中后台框架',
|
||||
link: 'https://hooray.gitee.io/one-step-admin/',
|
||||
link: 'https://one-step-admin.gitee.io',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@ -20,7 +20,7 @@ const routes: RouteRecordRaw = {
|
||||
name: 'externalLinkGitee',
|
||||
meta: {
|
||||
title: 'Gitee 仓库',
|
||||
link: 'https://gitee.com/hooray/fantastic-admin',
|
||||
link: 'https://gitee.com/fantastic-admin/basic',
|
||||
},
|
||||
},
|
||||
{
|
||||
@ -29,7 +29,7 @@ const routes: RouteRecordRaw = {
|
||||
name: 'externalLinkGithub',
|
||||
meta: {
|
||||
title: 'Github 仓库',
|
||||
link: 'https://github.com/hooray/fantastic-admin',
|
||||
link: 'https://github.com/fantastic-admin/basic',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@ -23,9 +23,9 @@ const globalSettings: Settings.all = {
|
||||
},
|
||||
copyright: {
|
||||
enable: true,
|
||||
dates: '2020-2023',
|
||||
dates: '2020-present',
|
||||
company: 'Fantastic-admin',
|
||||
website: 'https://hooray.gitee.io/fantastic-admin/',
|
||||
website: 'https://fantastic-admin.gitee.io',
|
||||
beian: '',
|
||||
},
|
||||
}
|
||||
|
@ -5,10 +5,10 @@ if (import.meta.env.PROD) {
|
||||
const copyright_main_style = `${copyright_common_style} background: #e24329;`
|
||||
const copyright_sub_style = `${copyright_common_style} background: #707070;`
|
||||
if ((navigator.language).toLowerCase() === 'zh-cn') {
|
||||
console.info('%c由%cFantastic-admin%c驱动', copyright_sub_style, copyright_main_style, copyright_sub_style, '\nhttps://gitee.com/hooray/fantastic-admin')
|
||||
console.info('%c由%cFantastic-admin%c驱动', copyright_sub_style, copyright_main_style, copyright_sub_style, '\nhttps://gitee.com/fantastic-admin/basic')
|
||||
}
|
||||
else {
|
||||
console.info('%cPowered by%cFantastic-admin', copyright_sub_style, copyright_main_style, '\nhttps://github.com/hooray/fantastic-admin')
|
||||
console.info('%cPowered by%cFantastic-admin', copyright_sub_style, copyright_main_style, '\nhttps://github.com/fantastic-admin/basic')
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -9,25 +9,25 @@ const tableData = [
|
||||
date: '2016-05-03',
|
||||
name: 'Tom',
|
||||
address: 'No. 189, Grove St, Los Angeles',
|
||||
src: 'https://hooray.gitee.io/fantastic-admin/logo.png',
|
||||
src: 'https://fantastic-admin.gitee.io/logo.png',
|
||||
},
|
||||
{
|
||||
date: '2016-05-02',
|
||||
name: 'Tom',
|
||||
address: 'No. 189, Grove St, Los Angeles',
|
||||
src: 'https://hooray.gitee.io/fantastic-admin/logo.png',
|
||||
src: 'https://fantastic-admin.gitee.io/logo.png',
|
||||
},
|
||||
{
|
||||
date: '2016-05-04',
|
||||
name: 'Tom',
|
||||
address: 'No. 189, Grove St, Los Angeles',
|
||||
src: 'https://hooray.gitee.io/fantastic-admin/logo.png',
|
||||
src: 'https://fantastic-admin.gitee.io/logo.png',
|
||||
},
|
||||
{
|
||||
date: '2016-05-01',
|
||||
name: 'Tom',
|
||||
address: 'No. 189, Grove St, Los Angeles',
|
||||
src: 'https://hooray.gitee.io/fantastic-admin/logo.png',
|
||||
src: 'https://fantastic-admin.gitee.io/logo.png',
|
||||
},
|
||||
]
|
||||
</script>
|
||||
@ -36,7 +36,7 @@ const tableData = [
|
||||
<div>
|
||||
<page-header title="图片预览" content="ImagePreview" />
|
||||
<page-main>
|
||||
<image-preview src="https://hooray.gitee.io/fantastic-admin/logo.png" :width="200" />
|
||||
<image-preview src="https://fantastic-admin.gitee.io/logo.png" :width="200" />
|
||||
</page-main>
|
||||
<page-main title="图片加载失败时">
|
||||
<image-preview src="http://www.baidu.com" width="100px" height="100px" />
|
||||
|
@ -26,12 +26,12 @@ const fantasticAdminInfo = ref({
|
||||
imageVisible: false,
|
||||
index: 0,
|
||||
data: [
|
||||
'https://hooray.gitee.io/fantastic-admin/preview1.png',
|
||||
'https://hooray.gitee.io/fantastic-admin/preview2.png',
|
||||
'https://hooray.gitee.io/fantastic-admin/preview3.png',
|
||||
'https://hooray.gitee.io/fantastic-admin/preview4.png',
|
||||
'https://hooray.gitee.io/fantastic-admin/preview5.png',
|
||||
'https://hooray.gitee.io/fantastic-admin/preview6.png',
|
||||
'https://fantastic-admin.gitee.io/preview1.png',
|
||||
'https://fantastic-admin.gitee.io/preview2.png',
|
||||
'https://fantastic-admin.gitee.io/preview3.png',
|
||||
'https://fantastic-admin.gitee.io/preview4.png',
|
||||
'https://fantastic-admin.gitee.io/preview5.png',
|
||||
'https://fantastic-admin.gitee.io/preview6.png',
|
||||
],
|
||||
})
|
||||
|
||||
@ -39,12 +39,12 @@ const oneStepAdminInfo = ref({
|
||||
imageVisible: false,
|
||||
index: 0,
|
||||
data: [
|
||||
'https://hooray.gitee.io/one-step-admin/preview1.png',
|
||||
'https://hooray.gitee.io/one-step-admin/preview2.png',
|
||||
'https://hooray.gitee.io/one-step-admin/preview3.png',
|
||||
'https://hooray.gitee.io/one-step-admin/preview4.png',
|
||||
'https://hooray.gitee.io/one-step-admin/preview5.png',
|
||||
'https://hooray.gitee.io/one-step-admin/preview6.png',
|
||||
'https://one-step-admin.gitee.io/preview1.png',
|
||||
'https://one-step-admin.gitee.io/preview2.png',
|
||||
'https://one-step-admin.gitee.io/preview3.png',
|
||||
'https://one-step-admin.gitee.io/preview4.png',
|
||||
'https://one-step-admin.gitee.io/preview5.png',
|
||||
'https://one-step-admin.gitee.io/preview6.png',
|
||||
],
|
||||
})
|
||||
</script>
|
||||
@ -61,7 +61,7 @@ const oneStepAdminInfo = ref({
|
||||
</div>
|
||||
</template>
|
||||
<el-button-group>
|
||||
<el-button type="success" size="large" plain @click="open('https://hooray.gitee.io/fantastic-admin/')">
|
||||
<el-button type="success" size="large" plain @click="open('https://fantastic-admin.gitee.io')">
|
||||
开发文档
|
||||
</el-button>
|
||||
<el-dropdown>
|
||||
@ -73,10 +73,10 @@ const oneStepAdminInfo = ref({
|
||||
</el-button>
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu>
|
||||
<el-dropdown-item @click="open('https://gitee.com/hooray/fantastic-admin')">
|
||||
<el-dropdown-item @click="open('https://gitee.com/fantastic-admin/basic')">
|
||||
Gitee
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item @click="open('https://github.com/hooray/fantastic-admin')">
|
||||
<el-dropdown-item @click="open('https://github.com/fantastic-admin/basic')">
|
||||
Github
|
||||
</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
@ -117,17 +117,17 @@ const oneStepAdminInfo = ref({
|
||||
<page-main class="ecology fa">
|
||||
<template #title>
|
||||
<div class="title-info">
|
||||
<img src="https://hooray.gitee.io/fantastic-admin/logo.png">
|
||||
<img src="https://fantastic-admin.gitee.io/logo.png">
|
||||
<div>
|
||||
<h1>Fantastic-admin</h1>
|
||||
<h2>一款开箱即用的 Vue 中后台管理系统框架</h2>
|
||||
</div>
|
||||
</div>
|
||||
<el-dropdown split-button type="primary" @click="open('https://hooray.gitee.io/fantastic-admin/')">
|
||||
<el-dropdown split-button type="primary" @click="open('https://fantastic-admin.gitee.io')">
|
||||
访问官网
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu>
|
||||
<el-dropdown-item @click="open('https://hooray.github.io/fantastic-admin/')">
|
||||
<el-dropdown-item @click="open('https://fantastic-admin.github.io')">
|
||||
备用地址
|
||||
</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
@ -146,17 +146,17 @@ const oneStepAdminInfo = ref({
|
||||
<page-main class="ecology osa">
|
||||
<template #title>
|
||||
<div class="title-info">
|
||||
<img src="https://hooray.gitee.io/one-step-admin/logo.png">
|
||||
<img src="https://one-step-admin.gitee.io/logo.png">
|
||||
<div>
|
||||
<h1>One-step-admin</h1>
|
||||
<h2>一款干啥都快人一步的 Vue 中后台系统框架</h2>
|
||||
</div>
|
||||
</div>
|
||||
<el-dropdown split-button type="primary" @click="open('https://hooray.gitee.io/one-step-admin/')">
|
||||
<el-dropdown split-button type="primary" @click="open('https://one-step-admin.gitee.io')">
|
||||
访问官网
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu>
|
||||
<el-dropdown-item @click="open('https://hooray.github.io/one-step-admin/')">
|
||||
<el-dropdown-item @click="open('https://one-step-admin.github.io')">
|
||||
备用地址
|
||||
</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
|
@ -5,8 +5,8 @@ export default function createBanner() {
|
||||
/**
|
||||
* 由 Fantastic-admin 提供技术支持
|
||||
* Powered by Fantastic-admin
|
||||
* Gitee https://gitee.com/hooray/fantastic-admin
|
||||
* Github https://github.com/hooray/fantastic-admin
|
||||
* Gitee https://fantastic-admin.gitee.io
|
||||
* Github https://fantastic-admin.github.io
|
||||
*/
|
||||
`)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user