From 074b35652de157b9385057928760716a48415c33 Mon Sep 17 00:00:00 2001 From: Hooray Hu <304327508@qq.com> Date: Tue, 7 May 2024 09:52:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-example-site.yml | 50 +++++++++---------- src/layouts/components/BuyIt/index.vue | 12 ++--- src/router/modules/ecology.example.ts | 6 +-- src/settings.ts | 2 +- src/utils/system.copyright.ts | 2 +- .../image.preview.demo.vue | 10 ++-- src/views/index.vue | 45 +++++++---------- vite/plugins/app-info.ts | 2 +- vite/plugins/banner.ts | 3 +- 9 files changed, 61 insertions(+), 71 deletions(-) diff --git a/.github/workflows/deploy-example-site.yml b/.github/workflows/deploy-example-site.yml index 2c3549b5..d5a86df5 100644 --- a/.github/workflows/deploy-example-site.yml +++ b/.github/workflows/deploy-example-site.yml @@ -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 diff --git a/src/layouts/components/BuyIt/index.vue b/src/layouts/components/BuyIt/index.vue index bb80e42e..de466633 100755 --- a/src/layouts/components/BuyIt/index.vue +++ b/src/layouts/components/BuyIt/index.vue @@ -28,7 +28,7 @@ onMounted(() => { // dangerouslyUseHTMLString: true, // message: ` //

限时优惠活动将于 2024/04/01 到期,现在购买只需 899.00 元。

-//

查看详情

+//

查看详情

// `, // position: 'bottom-right', // duration: 0, @@ -39,7 +39,7 @@ onMounted(() => { // title: '「 免费领取 Vue2 版本专业版 」', // dangerouslyUseHTMLString: true, // message: ` -//

查看详情

+//

查看详情

// `, // position: 'bottom-right', // duration: 0, @@ -88,19 +88,19 @@ onUnmounted(() => { -
+
购买
专业版
-
+
下载
基础版
-
+
开发
文档
-
+
技术
支持
diff --git a/src/router/modules/ecology.example.ts b/src/router/modules/ecology.example.ts index 600339e4..267d0a54 100755 --- a/src/router/modules/ecology.example.ts +++ b/src/router/modules/ecology.example.ts @@ -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', }, }, ], diff --git a/src/settings.ts b/src/settings.ts index 93798c70..e10d60a0 100755 --- a/src/settings.ts +++ b/src/settings.ts @@ -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', }, } diff --git a/src/utils/system.copyright.ts b/src/utils/system.copyright.ts index d71ff7dd..6ad9c5cf 100755 --- a/src/utils/system.copyright.ts +++ b/src/utils/system.copyright.ts @@ -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') diff --git a/src/views/component_extend_example/image.preview.demo.vue b/src/views/component_extend_example/image.preview.demo.vue index dbb83242..a380ab52 100755 --- a/src/views/component_extend_example/image.preview.demo.vue +++ b/src/views/component_extend_example/image.preview.demo.vue @@ -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', }, ] @@ -36,7 +36,7 @@ const tableData = [
- + diff --git a/src/views/index.vue b/src/views/index.vue index e8992c92..5df3fe6a 100755 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -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) {
- + 开发文档 @@ -116,12 +116,9 @@ function open(url: string) {
- + 访问官网 - - 备用地址 -