Skip to content

Commit

Permalink
更换域名
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray committed Aug 19, 2024
1 parent 20daca1 commit fa71829
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 42 deletions.
22 changes: 11 additions & 11 deletions src/layouts/components/BuyIt/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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.github.io/buy.html" target="_blank">查看详情</a></p>
// <p style="text-align: right;"><a href="https://fantastic-admin.hurui.me/buy.html" target="_blank">查看详情</a></p>
// `,
// position: 'bottom-right',
// duration: 0,
Expand All @@ -39,7 +39,7 @@ onMounted(() => {
// title: '「 免费领取 Vue2 版本专业版 」',
// dangerouslyUseHTMLString: true,
// message: `
// <p style="text-align: right;"><a href="https://fantastic-admin.github.io/get-vue2-pro.html" target="_blank">查看详情</a></p>
// <p style="text-align: right;"><a href="https://fantastic-admin.hurui.me/get-vue2-pro.html" target="_blank">查看详情</a></p>
// `,
// position: 'bottom-right',
// duration: 0,
Expand Down Expand Up @@ -67,40 +67,40 @@ onUnmounted(() => {
</p>
</div>
<div class="mt-4 flex flex-wrap justify-center gap-4">
<HButton @click="open('https://fantastic-admin.github.io/antd-example/')">
<HButton @click="open('https://fantastic-admin.hurui.me/antd-example/')">
访问 Ant Design Vue 演示站
</HButton>
<HButton @click="open('https://fantastic-admin.github.io/arco-example/')">
<HButton @click="open('https://fantastic-admin.hurui.me/arco-example/')">
访问 Arco Design Vue 演示站
</HButton>
<HButton @click="open('https://fantastic-admin.github.io/naive-example/')">
<HButton @click="open('https://fantastic-admin.hurui.me/naive-example/')">
访问 Naive UI 演示站
</HButton>
<HButton @click="open('https://fantastic-admin.github.io/tdesign-example/')">
<HButton @click="open('https://fantastic-admin.hurui.me/tdesign-example/')">
访问 TDesign 演示站
</HButton>
<HButton @click="open('https://fantastic-admin.github.io/vexip-example/')">
<HButton @click="open('https://fantastic-admin.hurui.me/vexip-example/')">
访问 Vexip UI 演示站
</HButton>
<HButton @click="open('https://fantastic-admin.github.io/idux-example/')">
<HButton @click="open('https://fantastic-admin.hurui.me/idux-example/')">
访问 iDux 演示站
</HButton>
</div>
</HDialog>
</div>
<div class="item" @click="open(`https://fantastic-admin.github.io/buy.html`)">
<div class="item" @click="open(`https://fantastic-admin.hurui.me/buy.html`)">
<SvgIcon name="i-ri:money-cny-box-line" />
<span class="title">购买<br>专业版</span>
</div>
<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.github.io`)">
<div class="item" @click="open(`https://fantastic-admin.hurui.me`)">
<SvgIcon name="i-ri:book-read-line" />
<span class="title">开发<br>文档</span>
</div>
<div class="item" @click="open(`https://fantastic-admin.github.io/support.html`)">
<div class="item" @click="open(`https://fantastic-admin.hurui.me/support.html`)">
<SvgIcon name="i-ri:message-2-line" />
<span class="title">技术<br>支持</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/mock/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default defineFakeRoute([
data: Mock.mock({
account: body.account,
token: `${body.account}_@string`,
avatar: 'https://fantastic-admin.github.io/logo.png',
avatar: 'https://fantastic-admin.hurui.me/logo.png',
}),
}
},
Expand Down
4 changes: 2 additions & 2 deletions src/router/modules/ecology.example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const routes: RouteRecordRaw[] = [
name: 'officialOneStepAdmin',
meta: {
title: 'One-step-admin 干啥都快人一步的中后台框架',
icon: 'https://one-step-admin.github.io/logo.png',
link: 'https://one-step-admin.github.io',
icon: 'https://one-step-admin.hurui.me/logo.png',
link: 'https://one-step-admin.hurui.me',
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const globalSettings: Settings.all = {
enable: true,
dates: '2020-present',
company: 'Fantastic-admin',
website: 'https://fantastic-admin.github.io',
website: 'https://fantastic-admin.hurui.me',
},
}

Expand Down
4 changes: 2 additions & 2 deletions src/utils/system.copyright.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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://fantastic-admin.github.io')
console.info('%c由%cFantastic-admin%c驱动', copyright_sub_style, copyright_main_style, copyright_sub_style, '\nhttps://fantastic-admin.hurui.me')
}
else {
console.info('%cPowered by%cFantastic-admin', copyright_sub_style, copyright_main_style, '\nhttps://fantastic-admin.github.io')
console.info('%cPowered by%cFantastic-admin', copyright_sub_style, copyright_main_style, '\nhttps://fantastic-admin.hurui.me')
}
}

Expand Down
10 changes: 5 additions & 5 deletions src/views/component_extend_example/image.preview.demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ const tableData = [
date: '2016-05-03',
name: 'Tom',
address: 'No. 189, Grove St, Los Angeles',
src: 'https://fantastic-admin.github.io/logo.png',
src: 'https://fantastic-admin.hurui.me/logo.png',
},
{
date: '2016-05-02',
name: 'Tom',
address: 'No. 189, Grove St, Los Angeles',
src: 'https://fantastic-admin.github.io/logo.png',
src: 'https://fantastic-admin.hurui.me/logo.png',
},
{
date: '2016-05-04',
name: 'Tom',
address: 'No. 189, Grove St, Los Angeles',
src: 'https://fantastic-admin.github.io/logo.png',
src: 'https://fantastic-admin.hurui.me/logo.png',
},
{
date: '2016-05-01',
name: 'Tom',
address: 'No. 189, Grove St, Los Angeles',
src: 'https://fantastic-admin.github.io/logo.png',
src: 'https://fantastic-admin.hurui.me/logo.png',
},
]
</script>
Expand All @@ -36,7 +36,7 @@ const tableData = [
<div>
<PageHeader title="图片预览" content="ImagePreview" />
<PageMain>
<ImagePreview src="https://fantastic-admin.github.io/logo.png" :width="200" />
<ImagePreview src="https://fantastic-admin.hurui.me/logo.png" :width="200" />
</PageMain>
<PageMain title="图片加载失败时">
<ImagePreview src="http://www.baidu.com" width="100px" height="100px" />
Expand Down
2 changes: 1 addition & 1 deletion src/views/component_extend_example/upload.demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const images = ref([
const files = ref([
{
name: 'Fantastic-admin.png',
url: 'https://fantastic-admin.github.io/logo.png',
url: 'https://fantastic-admin.hurui.me/logo.png',
},
])
Expand Down
34 changes: 17 additions & 17 deletions src/views/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,25 @@ const fantasticAdminInfo = ref({
imageVisible: false,
index: 0,
data: [
'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',
'https://fantastic-admin.hurui.me/preview1.png',
'https://fantastic-admin.hurui.me/preview2.png',
'https://fantastic-admin.hurui.me/preview3.png',
'https://fantastic-admin.hurui.me/preview4.png',
'https://fantastic-admin.hurui.me/preview5.png',
'https://fantastic-admin.hurui.me/preview6.png',
],
})
const oneStepAdminInfo = ref({
imageVisible: false,
index: 0,
data: [
'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',
'https://one-step-admin.hurui.me/preview1.png',
'https://one-step-admin.hurui.me/preview2.png',
'https://one-step-admin.hurui.me/preview3.png',
'https://one-step-admin.hurui.me/preview4.png',
'https://one-step-admin.hurui.me/preview5.png',
'https://one-step-admin.hurui.me/preview6.png',
],
})
Expand Down Expand Up @@ -84,7 +84,7 @@ function open(url: string) {
</div>
</div>
</template>
<HButton outline @click="open('https://fantastic-admin.github.io')">
<HButton outline @click="open('https://fantastic-admin.hurui.me')">
<SvgIcon name="i-ri:file-text-line" />
开发文档
</HButton>
Expand Down Expand Up @@ -130,7 +130,7 @@ function open(url: string) {
<PageMain class="ecology">
<template #title>
<div class="title-info">
<img src="https://fantastic-admin.github.io/logo.png">
<img src="https://fantastic-admin.hurui.me/logo.png">
<div>
<h1 class="c-[#e60000]">
Fantastic-admin
Expand All @@ -139,7 +139,7 @@ function open(url: string) {
</div>
</div>
<div class="ml-auto">
<HButton @click="open('https://fantastic-admin.github.io')">
<HButton @click="open('https://fantastic-admin.hurui.me')">
访问官网
</HButton>
</div>
Expand All @@ -154,7 +154,7 @@ function open(url: string) {
<PageMain class="ecology">
<template #title>
<div class="title-info">
<img src="https://one-step-admin.github.io/logo.png">
<img src="https://one-step-admin.hurui.me/logo.png">
<div>
<h1 class="c-[#67c23a]">
One-step-admin
Expand All @@ -163,7 +163,7 @@ function open(url: string) {
</div>
</div>
<div class="ml-auto">
<HButton @click="open('https://one-step-admin.github.io')">
<HButton @click="open('https://one-step-admin.hurui.me')">
访问官网
</HButton>
</div>
Expand Down
4 changes: 2 additions & 2 deletions vite/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default function createVitePlugins(viteEnv, isBuild = false) {
/**
* 由 Fantastic-admin 提供技术支持
* Powered by Fantastic-admin
* https://fantastic-admin.github.io
* https://fantastic-admin.hurui.me
*/
`),

Expand Down Expand Up @@ -188,7 +188,7 @@ export default function createVitePlugins(viteEnv, isBuild = false) {
// eslint-disable-next-line no-console
console.log(
boxen(
`${bold(green(`由 ${bgGreen('Fantastic-admin')} 驱动`))}\n\n${underline('https://fantastic-admin.github.io')}\n\n当前使用:${cyan('基础版')}`,
`${bold(green(`由 ${bgGreen('Fantastic-admin')} 驱动`))}\n\n${underline('https://fantastic-admin.hurui.me')}\n\n当前使用:${cyan('基础版')}`,
{
padding: 1,
margin: 1,
Expand Down

0 comments on commit fa71829

Please sign in to comment.