mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 13:28:38 +08:00
更换域名
This commit is contained in:
@@ -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,
|
||||
@@ -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,
|
||||
@@ -67,28 +67,28 @@ 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>
|
||||
@@ -96,11 +96,11 @@ onUnmounted(() => {
|
||||
<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>
|
||||
|
||||
+1
-1
@@ -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',
|
||||
}),
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
+1
-1
@@ -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',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -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')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
@@ -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" />
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
])
|
||||
|
||||
|
||||
+17
-17
@@ -32,12 +32,12 @@ 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',
|
||||
],
|
||||
})
|
||||
|
||||
@@ -45,12 +45,12 @@ 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',
|
||||
],
|
||||
})
|
||||
|
||||
@@ -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>
|
||||
@@ -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
|
||||
@@ -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>
|
||||
@@ -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
|
||||
@@ -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>
|
||||
|
||||
+2
-2
@@ -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
|
||||
*/
|
||||
`),
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user