mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 13:48:38 +08:00
更换链接
This commit is contained in:
@@ -64,29 +64,29 @@ jobs:
|
||||
user_name: 'github-actions[bot]'
|
||||
user_email: 'github-actions[bot]@users.noreply.github.com'
|
||||
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
needs: deploy
|
||||
steps:
|
||||
- name: Sync to Gitee
|
||||
uses: wearerequired/git-mirror-action@master
|
||||
env:
|
||||
# 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY
|
||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
||||
with:
|
||||
# 注意替换为你的 GitHub 源仓库地址
|
||||
source-repo: git@github.com:fantastic-admin/basic-example.git
|
||||
# 注意替换为你的 Gitee 目标仓库地址
|
||||
destination-repo: git@gitee.com:fantastic-admin/basic-example.git
|
||||
# sync:
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: deploy
|
||||
# steps:
|
||||
# - name: Sync to Gitee
|
||||
# uses: wearerequired/git-mirror-action@master
|
||||
# env:
|
||||
# # 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY
|
||||
# SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
||||
# with:
|
||||
# # 注意替换为你的 GitHub 源仓库地址
|
||||
# source-repo: git@github.com:fantastic-admin/basic-example.git
|
||||
# # 注意替换为你的 Gitee 目标仓库地址
|
||||
# destination-repo: git@gitee.com:fantastic-admin/basic-example.git
|
||||
|
||||
- name: Build Gitee Pages
|
||||
uses: yanglbme/gitee-pages-action@main
|
||||
with:
|
||||
# 注意替换为你的 Gitee 用户名
|
||||
gitee-username: hooray
|
||||
# 注意在 Settings->Secrets 配置 GITEE_PASSWORD
|
||||
gitee-password: ${{ secrets.GITEE_PASSWORD }}
|
||||
# 注意替换为你的 Gitee 仓库,仓库名严格区分大小写,请准确填写,否则会出错
|
||||
gitee-repo: fantastic-admin/basic-example
|
||||
# 要部署的分支,默认是 master,若是其他分支,则需要指定(指定的分支必须存在)
|
||||
branch: main
|
||||
# - name: Build Gitee Pages
|
||||
# uses: yanglbme/gitee-pages-action@main
|
||||
# with:
|
||||
# # 注意替换为你的 Gitee 用户名
|
||||
# gitee-username: hooray
|
||||
# # 注意在 Settings->Secrets 配置 GITEE_PASSWORD
|
||||
# gitee-password: ${{ secrets.GITEE_PASSWORD }}
|
||||
# # 注意替换为你的 Gitee 仓库,仓库名严格区分大小写,请准确填写,否则会出错
|
||||
# gitee-repo: fantastic-admin/basic-example
|
||||
# # 要部署的分支,默认是 master,若是其他分支,则需要指定(指定的分支必须存在)
|
||||
# branch: main
|
||||
|
||||
@@ -28,7 +28,7 @@ onMounted(() => {
|
||||
// dangerouslyUseHTMLString: true,
|
||||
// message: `
|
||||
// <p>限时优惠活动将于 <b>2024/04/01</b> 到期,现在购买只需 <b style="font-size: 18px; color: #ff4400;">899.00</b> 元。</p>
|
||||
// <p style="text-align: right;"><a href="https://fantastic-admin.gitee.io/buy.html" target="_blank">查看详情</a></p>
|
||||
// <p style="text-align: right;"><a href="https://fantastic-admin.github.io/buy.html" target="_blank">查看详情</a></p>
|
||||
// `,
|
||||
// position: 'bottom-right',
|
||||
// duration: 0,
|
||||
@@ -39,7 +39,7 @@ onMounted(() => {
|
||||
// title: '「 免费领取 Vue2 版本专业版 」',
|
||||
// dangerouslyUseHTMLString: true,
|
||||
// message: `
|
||||
// <p style="text-align: right;"><a href="https://fantastic-admin.gitee.io/get-vue2-pro.html" target="_blank">查看详情</a></p>
|
||||
// <p style="text-align: right;"><a href="https://fantastic-admin.github.io/get-vue2-pro.html" target="_blank">查看详情</a></p>
|
||||
// `,
|
||||
// position: 'bottom-right',
|
||||
// duration: 0,
|
||||
@@ -88,19 +88,19 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</HDialog>
|
||||
</div>
|
||||
<div class="item" @click="open(`https://fantastic-admin.gitee.io/buy.html`)">
|
||||
<div class="item" @click="open(`https://fantastic-admin.github.io/buy.html`)">
|
||||
<SvgIcon name="i-ri:money-cny-box-line" />
|
||||
<span class="title">购买<br>专业版</span>
|
||||
</div>
|
||||
<div class="item" @click="open('https://gitee.com/fantastic-admin/basic')">
|
||||
<div class="item" @click="open('https://github.com/fantastic-admin/basic')">
|
||||
<SvgIcon name="i-ri:code-s-slash-line" />
|
||||
<span class="title">下载<br>基础版</span>
|
||||
</div>
|
||||
<div class="item" @click="open(`https://fantastic-admin.gitee.io`)">
|
||||
<div class="item" @click="open(`https://fantastic-admin.github.io`)">
|
||||
<SvgIcon name="i-ri:book-read-line" />
|
||||
<span class="title">开发<br>文档</span>
|
||||
</div>
|
||||
<div class="item" @click="open(`https://fantastic-admin.gitee.io/support.html`)">
|
||||
<div class="item" @click="open(`https://fantastic-admin.github.io/support.html`)">
|
||||
<SvgIcon name="i-ri:message-2-line" />
|
||||
<span class="title">技术<br>支持</span>
|
||||
</div>
|
||||
|
||||
@@ -21,7 +21,7 @@ const routes: RouteRecordRaw[] = [
|
||||
meta: {
|
||||
title: 'Fantastic-startkit 项目启动套件',
|
||||
icon: 'https://cn.vuejs.org/logo.svg',
|
||||
link: 'https://hooray.gitee.io/fantastic-startkit/',
|
||||
link: 'https://hooray.github.io/fantastic-startkit/',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -30,8 +30,8 @@ const routes: RouteRecordRaw[] = [
|
||||
name: 'officialOneStepAdmin',
|
||||
meta: {
|
||||
title: 'One-step-admin 干啥都快人一步的中后台框架',
|
||||
icon: 'https://one-step-admin.gitee.io/logo.png',
|
||||
link: 'https://one-step-admin.gitee.io',
|
||||
icon: 'https://one-step-admin.github.io/logo.png',
|
||||
link: 'https://one-step-admin.github.io',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ const globalSettings: Settings.all = {
|
||||
enable: true,
|
||||
dates: '2020-present',
|
||||
company: 'Fantastic-admin',
|
||||
website: 'https://fantastic-admin.gitee.io',
|
||||
website: 'https://fantastic-admin.github.io',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ 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://fantastic-admin.gitee.io')
|
||||
console.info('%c由%cFantastic-admin%c驱动', copyright_sub_style, copyright_main_style, copyright_sub_style, '\nhttps://fantastic-admin.github.io')
|
||||
}
|
||||
else {
|
||||
console.info('%cPowered by%cFantastic-admin', copyright_sub_style, copyright_main_style, '\nhttps://fantastic-admin.github.io')
|
||||
|
||||
@@ -9,25 +9,25 @@ const tableData = [
|
||||
date: '2016-05-03',
|
||||
name: 'Tom',
|
||||
address: 'No. 189, Grove St, Los Angeles',
|
||||
src: 'https://fantastic-admin.gitee.io/logo.png',
|
||||
src: 'https://fantastic-admin.github.io/logo.png',
|
||||
},
|
||||
{
|
||||
date: '2016-05-02',
|
||||
name: 'Tom',
|
||||
address: 'No. 189, Grove St, Los Angeles',
|
||||
src: 'https://fantastic-admin.gitee.io/logo.png',
|
||||
src: 'https://fantastic-admin.github.io/logo.png',
|
||||
},
|
||||
{
|
||||
date: '2016-05-04',
|
||||
name: 'Tom',
|
||||
address: 'No. 189, Grove St, Los Angeles',
|
||||
src: 'https://fantastic-admin.gitee.io/logo.png',
|
||||
src: 'https://fantastic-admin.github.io/logo.png',
|
||||
},
|
||||
{
|
||||
date: '2016-05-01',
|
||||
name: 'Tom',
|
||||
address: 'No. 189, Grove St, Los Angeles',
|
||||
src: 'https://fantastic-admin.gitee.io/logo.png',
|
||||
src: 'https://fantastic-admin.github.io/logo.png',
|
||||
},
|
||||
]
|
||||
</script>
|
||||
@@ -36,7 +36,7 @@ const tableData = [
|
||||
<div>
|
||||
<PageHeader title="图片预览" content="ImagePreview" />
|
||||
<PageMain>
|
||||
<ImagePreview src="https://fantastic-admin.gitee.io/logo.png" :width="200" />
|
||||
<ImagePreview src="https://fantastic-admin.github.io/logo.png" :width="200" />
|
||||
</PageMain>
|
||||
<PageMain title="图片加载失败时">
|
||||
<ImagePreview src="http://www.baidu.com" width="100px" height="100px" />
|
||||
|
||||
+18
-27
@@ -32,12 +32,12 @@ const fantasticAdminInfo = ref({
|
||||
imageVisible: false,
|
||||
index: 0,
|
||||
data: [
|
||||
'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',
|
||||
'https://fantastic-admin.github.io/preview1.png',
|
||||
'https://fantastic-admin.github.io/preview2.png',
|
||||
'https://fantastic-admin.github.io/preview3.png',
|
||||
'https://fantastic-admin.github.io/preview4.png',
|
||||
'https://fantastic-admin.github.io/preview5.png',
|
||||
'https://fantastic-admin.github.io/preview6.png',
|
||||
],
|
||||
})
|
||||
|
||||
@@ -45,12 +45,12 @@ const oneStepAdminInfo = ref({
|
||||
imageVisible: false,
|
||||
index: 0,
|
||||
data: [
|
||||
'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',
|
||||
'https://one-step-admin.github.io/preview1.png',
|
||||
'https://one-step-admin.github.io/preview2.png',
|
||||
'https://one-step-admin.github.io/preview3.png',
|
||||
'https://one-step-admin.github.io/preview4.png',
|
||||
'https://one-step-admin.github.io/preview5.png',
|
||||
'https://one-step-admin.github.io/preview6.png',
|
||||
],
|
||||
})
|
||||
|
||||
@@ -84,7 +84,7 @@ function open(url: string) {
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<HButton outline @click="open('https://fantastic-admin.gitee.io')">
|
||||
<HButton outline @click="open('https://fantastic-admin.github.io')">
|
||||
<SvgIcon name="i-ri:file-text-line" />
|
||||
开发文档
|
||||
</HButton>
|
||||
@@ -116,12 +116,9 @@ function open(url: string) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="ml-auto">
|
||||
<HButton @click="open('https://hooray.gitee.io/fantastic-startkit')">
|
||||
<HButton @click="open('https://hooray.github.io/fantastic-startkit')">
|
||||
访问官网
|
||||
</HButton>
|
||||
<HButton outline class="ml-2" @click="open('https://hooray.github.io/fantastic-startkit')">
|
||||
备用地址
|
||||
</HButton>
|
||||
</div>
|
||||
</template>
|
||||
<ul class="m-0 pr-8 text-size-sm leading-6">
|
||||
@@ -133,7 +130,7 @@ function open(url: string) {
|
||||
<PageMain class="ecology">
|
||||
<template #title>
|
||||
<div class="title-info">
|
||||
<img src="https://fantastic-admin.gitee.io/logo.png">
|
||||
<img src="https://fantastic-admin.github.io/logo.png">
|
||||
<div>
|
||||
<h1 class="c-[#e60000]">
|
||||
Fantastic-admin
|
||||
@@ -142,12 +139,9 @@ function open(url: string) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="ml-auto">
|
||||
<HButton @click="open('https://fantastic-admin.gitee.io')">
|
||||
<HButton @click="open('https://fantastic-admin.github.io')">
|
||||
访问官网
|
||||
</HButton>
|
||||
<HButton outline class="ml-2" @click="open('https://fantastic-admin.github.io')">
|
||||
备用地址
|
||||
</HButton>
|
||||
</div>
|
||||
</template>
|
||||
<ElCarousel trigger="click" indicator-position="none" :interval="5000" height="250px">
|
||||
@@ -160,7 +154,7 @@ function open(url: string) {
|
||||
<PageMain class="ecology">
|
||||
<template #title>
|
||||
<div class="title-info">
|
||||
<img src="https://one-step-admin.gitee.io/logo.png">
|
||||
<img src="https://one-step-admin.github.io/logo.png">
|
||||
<div>
|
||||
<h1 class="c-[#67c23a]">
|
||||
One-step-admin
|
||||
@@ -169,12 +163,9 @@ function open(url: string) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="ml-auto">
|
||||
<HButton @click="open('https://one-step-admin.gitee.io')">
|
||||
<HButton @click="open('https://one-step-admin.github.io')">
|
||||
访问官网
|
||||
</HButton>
|
||||
<HButton outline class="ml-2" @click="open('https://one-step-admin.github.io')">
|
||||
备用地址
|
||||
</HButton>
|
||||
</div>
|
||||
</template>
|
||||
<ElCarousel trigger="click" indicator-position="none" :interval="5000" height="250px">
|
||||
|
||||
@@ -11,7 +11,7 @@ export default function appInfo(): Plugin {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(
|
||||
boxen(
|
||||
`${bold(green(`由 ${bgGreen('Fantastic-admin')} 驱动`))}\n\n${underline('https://fantastic-admin.gitee.io')}\n\n当前使用:${cyan('基础版')}`,
|
||||
`${bold(green(`由 ${bgGreen('Fantastic-admin')} 驱动`))}\n\n${underline('https://fantastic-admin.github.io')}\n\n当前使用:${cyan('基础版')}`,
|
||||
{
|
||||
padding: 1,
|
||||
margin: 1,
|
||||
|
||||
@@ -5,8 +5,7 @@ export default function createBanner() {
|
||||
/**
|
||||
* 由 Fantastic-admin 提供技术支持
|
||||
* Powered by Fantastic-admin
|
||||
* Gitee https://fantastic-admin.gitee.io
|
||||
* Github https://fantastic-admin.github.io
|
||||
* https://fantastic-admin.github.io
|
||||
*/
|
||||
`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user