From 99a63317f41a4c53a2c41f8ea0b58a144e5cc17a Mon Sep 17 00:00:00 2001
From: hooray <304327508@qq.com>
Date: Sun, 8 May 2022 09:16:27 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=9B=B8=E5=85=B3=E9=93=BE?=
=?UTF-8?q?=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
index.html | 6 +--
src/layout/components/BuyIt/index.vue | 12 ++---
src/layout/components/Tools/index.vue | 2 +-
src/router/modules/ecology.example.js | 4 +-
src/settings.js | 2 +-
.../image.preview.demo.vue | 17 +-----
src/views/index.vue | 53 +++++++++++--------
vite/plugins/banner.js | 6 ++-
vite/plugins/html.js | 7 ++-
9 files changed, 52 insertions(+), 57 deletions(-)
diff --git a/index.html b/index.html
index 127c4c43..52cedb9f 100644
--- a/index.html
+++ b/index.html
@@ -17,11 +17,7 @@
}]);
(function() {
var hm = document.createElement("script");
- if (location.origin.includes('gitee')) {
- hm.src = "https://hm.baidu.com/hm.js?ba0ee7b31f404b7dc10bfcd8bdc7183d";
- } else {
- hm.src = "https://hm.baidu.com/hm.js?d07a64f7a02cd5e9c01e1b36948ac4a5";
- }
+ hm.src = "https://hm.baidu.com/hm.js?c31a3e8267162de8420bc73e06d62463";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
diff --git a/src/layout/components/BuyIt/index.vue b/src/layout/components/BuyIt/index.vue
index 9ef75687..8deeb5dd 100644
--- a/src/layout/components/BuyIt/index.vue
+++ b/src/layout/components/BuyIt/index.vue
@@ -1,6 +1,4 @@
diff --git a/src/router/modules/ecology.example.js b/src/router/modules/ecology.example.js
index af2bf66f..68097de8 100644
--- a/src/router/modules/ecology.example.js
+++ b/src/router/modules/ecology.example.js
@@ -1,12 +1,12 @@
export default [
{
- path: 'https://hooray.github.io/fantastic-template/',
+ path: 'https://fantastic-template.netlify.app',
meta: {
title: 'Fantastic-template 项目模板'
}
},
{
- path: 'https://hooray.github.io/one-step-admin/',
+ path: 'https://one-step-admin.netlify.app',
meta: {
title: 'One-step-admin 干啥都快人一步的中后台框架'
}
diff --git a/src/settings.js b/src/settings.js
index ee88fd65..7bd6aa40 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -82,7 +82,7 @@ let globalSettings = {
// 版权信息配置,格式为:Copyright © [dates] , All Rights Reserved
dates: '2020-2022',
company: 'Fantastic-admin',
- website: 'https://hooray.github.io/fantastic-admin'
+ website: 'https://fantastic-admin.netlify.app'
}
}
diff --git a/src/views/component_extend_example/image.preview.demo.vue b/src/views/component_extend_example/image.preview.demo.vue
index 13fe6697..9ddfc5f6 100644
--- a/src/views/component_extend_example/image.preview.demo.vue
+++ b/src/views/component_extend_example/image.preview.demo.vue
@@ -6,27 +6,12 @@
}
-
-
-
+
diff --git a/src/views/index.vue b/src/views/index.vue
index d82cb859..518d204c 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -8,8 +8,6 @@
@@ -63,8 +61,21 @@ const oneStepAdminInfo = ref({
- 开发文档
- 代码仓库
+ 开发文档
+
+
+ 代码仓库
+
+
+
+
+
+
+ Gitee
+ Github
+
+
+
@@ -75,7 +86,7 @@ const oneStepAdminInfo = ref({
Fantastic-template
一款开箱即用的 Vue 项目模版
-
+
@@ -95,10 +106,10 @@ const oneStepAdminInfo = ref({
-
![]()
+
Fantastic-admin
一款开箱即用的 Vue 中后台管理系统框架
-
+
@@ -121,10 +132,10 @@ const oneStepAdminInfo = ref({
-
![]()
+
One-step-admin
一款干啥都快人一步的 Vue 中后台系统框架
-
+
diff --git a/vite/plugins/banner.js b/vite/plugins/banner.js
index da55583b..ca9a744e 100644
--- a/vite/plugins/banner.js
+++ b/vite/plugins/banner.js
@@ -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
*/
`)
}
diff --git a/vite/plugins/html.js b/vite/plugins/html.js
index b15bfd31..66bbeb6b 100644
--- a/vite/plugins/html.js
+++ b/vite/plugins/html.js
@@ -14,8 +14,11 @@ export default function createHtml(env, isBuild) {
appMode: VITE_APP_MODE,
copyrightScript: `
`
}