Add index page (#84)

Co-authored-by: AceDataCloud <office@acedata.cloud>
Co-authored-by: Germey <germey@acedata.cloud>
This commit is contained in:
authored and GitHub committed 2024-07-16 21:38:18 +08:00
1 parent dc8957a638
commit b4c99eed58
14 files changed
+989 -19

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

+1
View File
@@ -26,6 +26,7 @@ html.dark,
#app {
width: 100%;
height: 100%;
overflow: auto;
.el-main {
padding: 0 !important;
+22 -13
View File
@@ -1,17 +1,13 @@
<template>
<el-container id="footer" class="footer pt-7">
<el-container id="footer" class="footer">
<el-row class="w-full">
<el-col class="container" :span="18" :offset="3">
<el-row>
<el-col :span="12" :offset="6" class="p-t text-center">
<el-col :span="24" class="text-center">
<p>
<span
><a href="https://acedata.cloud">{{ $t('common.entity.website') }}</a> © {{ new Date().getFullYear() }}
{{ $t('common.entity.copyright') }}
</span>
<span class="ml-2">
<a href="https://beian.miit.gov.cn/">京ICP备18021371号-2 </a>
</span>
<a href="https://platform.acedata.cloud">{{ $t('common.entity.website') }}</a> ©
{{ new Date().getFullYear() }}
{{ $t('common.entity.copyright') }}
</p>
</el-col>
</el-row>
@@ -39,11 +35,24 @@ export default defineComponent({
});
</script>
<style lang="scss">
$height: 80px;
<style lang="scss" scoped>
.container {
margin: auto;
max-width: 1200px;
padding: 30px 0 20px 0;
}
.footer {
height: $height;
background: radial-gradient(circle at 0 2%, #111827, #1a125d 99%);
background-color: var(--el-color-primary);
color: white;
padding: 0;
.title {
font-size: 1.2rem;
font-weight: 400;
}
a {
text-decoration: none;
color: white;
}
}
</style>
-1
View File
@@ -62,7 +62,6 @@ export default defineComponent({
<style lang="scss">
.switch {
margin-top: 2px;
--n-rail-color-active: var(--el-color-primary) !important;
--n-loading-color: var(--el-color-primary) !important;
border-radius: 10px !important;
+67
View File
@@ -0,0 +1,67 @@
<template>
<dark-switch class="switch" dark-background="#333" light-background="#fff" />
</template>
<script lang="ts">
import { getDomain } from '@/utils';
import { getCookie, setCookie } from 'typescript-cookie';
import { defineComponent } from 'vue';
import { Switch as DarkSwitch, toggleDark, isDark } from 'vue-dark-switch';
export default defineComponent({
components: {
DarkSwitch
},
emits: ['update:dark'],
computed: {
dark() {
return getCookie('THEME') === 'dark';
},
switchValue() {
return isDark.value;
}
},
watch: {
switchValue(val) {
console.log('switchValue', val);
this.setCookie(val);
},
dark(val) {
document.documentElement.classList.toggle('dark', val);
this.setCookie(this.dark);
}
},
mounted() {
console.log('dark selector mounted');
if (this.dark) {
toggleDark(true);
document.documentElement.classList.add('dark');
} else {
toggleDark(false);
document.documentElement.classList.remove('dark');
}
},
methods: {
setCookie(isDark: boolean) {
setCookie('THEME', isDark ? 'dark' : 'light', {
path: '/',
domain: getDomain()
});
}
}
});
</script>
<style lang="scss">
.switch {
--n-rail-color-active: var(--el-color-primary) !important;
--n-loading-color: var(--el-color-primary) !important;
border-radius: 10px !important;
border: 1px solid var(--el-border-color);
overflow: hidden;
.n-switch__button {
border-radius: 50% !important;
box-shadow: none !important;
}
}
</style>
+193
View File
@@ -0,0 +1,193 @@
<template>
<el-row class="header">
<el-col :md="4" :xs="24">
<logo @click="onHome" />
</el-col>
<el-col :md="16" :xs="13">
<el-menu :default-active="active" class="el-menu-demo" mode="horizontal" :ellipsis="false" @select="onSelect">
<el-menu-item v-if="site?.features?.chat?.enabled" v-t="'index.title.chat'" index="/chat"></el-menu-item>
<el-menu-item
v-if="site?.features?.midjourney?.enabled"
v-t="'index.title.midjourney'"
index="/midjourney"
></el-menu-item>
<el-menu-item v-if="site?.features?.qrart?.enabled" v-t="'index.title.qrart'" index="/qrart"></el-menu-item>
</el-menu>
</el-col>
<el-col :md="4" :xs="11">
<div v-if="!authenticated" class="mt-4 pr-10">
<el-button type="primary" class="float-right" size="small" round @click="onLogin">{{
$t('common.button.login')
}}</el-button>
<dark-selector class="float-right mr-4" />
</div>
<div v-else class="float-right">
<dark-selector />
<div class="console" @click="onConsole">
{{ $t('common.button.console') }}
</div>
<el-dropdown trigger="click">
<img :src="user?.avatar || defaultAvatar" class="avatar" />
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item @click="onProfile">{{ $t('common.button.profile') }}</el-dropdown-item>
<el-dropdown-item @click="onLogout">{{ $t('common.button.logout') }}</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown>
</div>
</el-col>
</el-row>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import defaultAvatar from '@/assets/images/avatar.png';
import { getBaseUrlAuth } from '@/utils';
import { ROUTE_AUTH_LOGIN, ROUTE_CONSOLE_ROOT, ROUTE_INDEX } from '@/router';
import { ElCol, ElRow, ElDropdown, ElMenu, ElMenuItem, ElDropdownItem, ElButton } from 'element-plus';
import DarkSelector from './DarkSelector2.vue';
import Logo from './Logo.vue';
export default defineComponent({
name: 'TopHeader',
components: {
ElCol,
Logo,
ElRow,
DarkSelector,
ElDropdown,
ElMenu,
ElMenuItem,
ElDropdownItem,
ElButton
},
data() {
return {
defaultAvatar
};
},
computed: {
site() {
return this.$store.state.site;
},
dark() {
return this.$store.getters.dark;
},
active() {
return this.$route.matched[0].path;
},
user() {
return this.$store.getters.user;
},
authenticated() {
return this.$store.getters.authenticated;
}
},
methods: {
onSelect(val: string) {
this.$router.push(val);
},
onHome() {
this.$router.push({
name: ROUTE_INDEX
});
},
onLogin() {
this.$router.push({
name: ROUTE_AUTH_LOGIN
});
},
onProfile() {
const baseUrlAuth = getBaseUrlAuth();
window.open(`${baseUrlAuth}/user/profile`, '_blank');
},
onVerify() {
const baseUrlAuth = getBaseUrlAuth();
window.open(`${baseUrlAuth}/user/verify`, '_blank');
},
onConsole() {
this.$router.push({
name: ROUTE_CONSOLE_ROOT
});
},
async onLogout() {
await this.$store.dispatch('resetToken');
await this.$store.dispatch('resetUser');
const url = window.location.href;
const baseUrlAuth = getBaseUrlAuth();
const redirectUrl = `${baseUrlAuth}/auth/logout?redirect=${url}`;
window.location.href = redirectUrl;
}
}
});
</script>
<style lang="scss">
$height: 60px;
.header {
z-index: 999;
width: 100%;
background: var(--el-bg-color);
.logo {
height: 40px;
width: 120px;
cursor: pointer;
margin-top: 8px;
margin-right: 20px;
float: right;
}
.el-menu {
--el-menu-hover-bg-color: var(--el-bg-color);
--el-menu-active-color: var(--el-color-primary);
background: none;
border: none;
height: $height;
.el-menu-item {
height: $height;
color: inherit !important;
&.is-active {
color: inherit !important;
border-bottom: 2px solid var(--el-color-primary);
}
&:hover {
border-bottom: 2px solid var(--el-color-primary);
}
}
}
.avatar {
height: 40px;
border-radius: 50%;
cursor: pointer;
margin-top: 10px;
margin-right: 20px;
margin-left: 10px;
}
.console {
color: inherit !important;
height: 60px;
line-height: 60px;
margin: 0 10px;
font-size: 14px;
display: inline-block;
cursor: pointer;
}
.locale {
cursor: pointer;
display: inline-block;
}
}
@media only screen and (max-width: 768px) {
.header {
.logo {
margin-left: auto;
margin-right: auto;
float: initial;
display: block;
}
}
}
</style>
+1
View File
@@ -67,6 +67,7 @@ export const getLocale = (lang?: string): string => {
export const loadLocaleMessages = async (i18n: I18n, locale: string) => {
const names = [
'index',
'api',
'application',
'qrart',
+56
View File
@@ -354,5 +354,61 @@
"title.allCredentials": {
"message": "凭证",
"description": "显示所有凭证的页面标题,这些凭证用于访问API"
},
"about.title1": {
"message": "联系我们",
"description": "显示联系信息的部分的标题"
},
"about.title2": {
"message": "资源",
"description": "显示链接的部分的标题"
},
"about.title3": {
"message": "链接",
"description": "显示支持信息的部分的标题"
},
"about.address": {
"message": "美国 德拉华州 密德尔敦 N Broad St, 201号办公室",
"description": "公司的地址"
},
"about.email": {
"message": "office@acedata.cloud",
"description": "公司的电子邮件"
},
"about.link1": {
"message": "服务",
"description": "服务页面的链接"
},
"about.link2": {
"message": "文档",
"description": "文档页面的链接"
},
"about.link3": {
"message": "控制台",
"description": "控制台页面的链接"
},
"about.link4": {
"message": "个人资料",
"description": "个人资料页面的链接"
},
"about.link5": {
"message": "中心",
"description": "中心页面的链接"
},
"about.link6": {
"message": "推荐收益",
"description": "推荐收益页面的链接"
},
"about.link7": {
"message": "支持",
"description": "支持页面的链接"
},
"about.link8": {
"message": "服务条款",
"description": "服务条款页面的链接"
},
"about.link9": {
"message": "隐私政策",
"description": "隐私政策页面的链接"
}
}
+94
View File
@@ -0,0 +1,94 @@
{
"title.chat": {
"message": "AI 问答",
"description": "AI 问答章节标题"
},
"title.midjourney": {
"message": "AI 绘画",
"description": "AI绘画章节标题"
},
"title.qrart": {
"message": "AI 艺术二维码",
"description": "AI 艺术二维码章节标题"
},
"title.suno": {
"message": "AI 音乐",
"description": "AI 音乐章节标题"
},
"title.comments": {
"message": "客户评价",
"description": "客户评价章节标题"
},
"title.introduction": {
"message": "我们的服务",
"description": "站点简介"
},
"subtitle.banner": {
"message": "AI 赋能,全面提升你的生产力。",
"description": "站点副标题"
},
"subtitle.chat": {
"message": "支持多种问答模型,具备联网功能,能够识别图片、文件和视频等多种内容。",
"description": "AI 问答章节标题"
},
"subtitle.midjourney": {
"message": "对接最新的 Midjourney 模型,一键生成各种风格的图片和连续微调。",
"description": "AI绘画章节标题"
},
"subtitle.qrart": {
"message": "支持多种艺术二维码风格,允许上传已有二维码,轻松将其艺术化,打造独特的视觉效果。",
"description": "AI 艺术二维码章节标题"
},
"subtitle.suno": {
"message": "支持多种音乐风格,轻松生成你想要的音乐,并支持灵活的长度扩展选项。",
"description": "AI 音乐章节标题"
},
"subtitle.comments": {
"message": "我们很高兴能够帮助这些客户,他们对我们的服务给予了很高的评价。",
"description": "客户评价章节标题"
},
"subtitle.introduction": {
"message": "我们提供一站式的 AI 服务,包括问答、绘画、二维码、音乐等多种功能,满足你的多样化需求。",
"description": "站点简介"
},
"button.try": {
"message": "免费开始",
"description": "文字里面的内容"
},
"customers.name1": {
"message": "Frank",
"description": "客户的姓名"
},
"customers.job1": {
"message": "软件工程师",
"description": "客户的职位"
},
"customers.comment1": {
"message": "这种集成式的服务简直太方便了,我可以在一个平台使用多种 AI 各种工具,非常棒!",
"description": "客户的评论"
},
"customers.name2": {
"message": "Jacob",
"description": "客户的姓名"
},
"customers.job2": {
"message": "产品经理",
"description": "客户的职位"
},
"customers.comment2": {
"message": "平台非常好用,服务质量非常好,同时极大解放了我的生产力。",
"description": "客户的评论"
},
"customers.name3": {
"message": "Larry",
"description": "客户的姓名"
},
"customers.job3": {
"message": "设计师",
"description": "客户的职位"
},
"customers.comment3": {
"message": "AI 平台太多了,但这个真的易于使用,价格合理,希望它能变得更好!",
"description": "客户的评论"
}
}
+46
View File
@@ -0,0 +1,46 @@
<template>
<el-container class="wrapper">
<el-header class="header">
<top-header />
</el-header>
<el-main class="main"> <router-view /> </el-main>
<el-footer class="footer">
<bottom-footer />
</el-footer>
</el-container>
</template>
<script lang="ts">
import TopHeader from '@/components/common/TopHeader.vue';
import BottomFooter from '@/components/common/BottomFooter.vue';
import { ElContainer, ElMain, ElFooter, ElHeader } from 'element-plus';
import { defineComponent } from 'vue';
export default defineComponent({
name: 'LayoutIndex',
components: {
TopHeader,
BottomFooter,
ElContainer,
ElMain,
ElFooter,
ElHeader
}
});
</script>
<style lang="scss" scoped>
.wrapper {
min-height: 100vh;
}
.header {
padding: 0;
height: initial;
}
.footer {
padding: 0;
height: initial;
}
</style>
+493
View File
@@ -0,0 +1,493 @@
<template>
<div class="wrapper">
<div id="banner">
<div class="container">
<el-row>
<el-col :md="12" :xs="24" class="left">
<div class="info">
<h1 class="title">
{{ site?.title }}
</h1>
<h3 class="subtitle">
{{ $t('index.subtitle.banner') }}
</h3>
<div class="operations">
<el-button
type="primary"
round
class="btn-apply"
@click="
$router.push({
path: '/chat'
})
"
>
{{ $t('common.button.startForFree') }}
</el-button>
</div>
</div>
</el-col>
<el-col :md="12" :xs="24" class="right">
<el-image src="https://cdn.acedata.cloud/illustration1.png" class="brand" />
</el-col>
</el-row>
</div>
</div>
<div id="introduction">
<div class="container">
<el-row class="mb-6">
<el-col :span="24">
<h2 class="title">
{{ $t('index.title.introduction') }}
</h2>
<h5 class="subtitle">
{{ $t('index.subtitle.introduction') }}
</h5>
</el-col>
</el-row>
<el-row :gutter="15">
<el-col
v-for="(capability, capabilityIndex) in capabilities"
:key="capabilityIndex"
:md="24 / capabilities.length"
:xs="24"
class="mb-4"
>
<el-card class="info text-center" shadow="hover">
<div class="icon-wrapper">
<font-awesome-icon :icon="capability.icon" class="icon" />
</div>
<h2 class="title">{{ capability.title }}</h2>
<p class="subtitle">{{ capability.subtitle }}</p>
</el-card>
</el-col>
</el-row>
</div>
</div>
<div id="chat" class="block">
<div class="container">
<el-row>
<el-col :md="16" :xs="24" class="preview">
<img src="https://cdn.acedata.cloud/axynds.png" class="image desktop" />
<img src="https://cdn.acedata.cloud/vds4i3.png" class="image mobile" />
</el-col>
<el-col :md="8" :xs="24" class="info">
<h2 class="title">{{ $t('index.title.chat') }}</h2>
<p class="subtitle">{{ $t('index.subtitle.chat') }}</p>
<el-button
type="primary"
round
class="btn-try"
@click="
$router.push({
path: '/chat'
})
"
>
{{ $t('index.button.try') }}
</el-button>
</el-col>
</el-row>
</div>
</div>
<div id="midjourney" class="block">
<div class="container">
<el-row>
<el-col :md="8" :xs="24" class="info">
<h2 class="title">{{ $t('index.title.midjourney') }}</h2>
<p class="subtitle">{{ $t('index.subtitle.midjourney') }}</p>
<el-button
type="primary"
round
class="btn-try"
@click="
$router.push({
path: '/midjourney'
})
"
>
{{ $t('index.button.try') }}
</el-button>
</el-col>
<el-col :md="16" :xs="24" class="preview">
<img src="https://cdn.acedata.cloud/uk86mz.png" class="image desktop" />
<img src="https://cdn.acedata.cloud/rvelwm.png" class="image mobile" />
</el-col>
</el-row>
</div>
</div>
<div
id="qrart"
class="block"
@click="
$router.push({
path: '/qrart'
})
"
>
<div class="container">
<el-row>
<el-col :md="16" :xs="24" class="preview">
<img src="https://cdn.acedata.cloud/gyogar.png" class="image desktop" />
<img src="https://cdn.acedata.cloud/5kunm0.png" class="image mobile" />
</el-col>
<el-col :md="8" :xs="24" class="info">
<h2 class="title">{{ $t('index.title.qrart') }}</h2>
<p class="subtitle">{{ $t('index.subtitle.qrart') }}</p>
<el-button type="primary" round class="btn-try">
{{ $t('index.button.try') }}
</el-button>
</el-col>
</el-row>
</div>
</div>
<div
v-if="false"
id="suno"
class="block"
@click="
$router.push({
path: '/suno'
})
"
>
<div class="container">
<el-row>
<el-col :md="8" :xs="24" class="info">
<h2 class="title">{{ $t('index.title.suno') }}</h2>
<p class="subtitle">{{ $t('index.subtitle.suno') }}</p>
<el-button type="primary" round class="btn-try">
{{ $t('index.button.try') }}
</el-button>
</el-col>
<el-col :md="16" :xs="24" class="preview">
<img class="image desktop" />
<img class="image mobile" />
</el-col>
</el-row>
</div>
</div>
<div id="comments">
<div class="container">
<el-row class="mb-6">
<el-col :span="24">
<h2 class="title">
{{ $t('index.title.comments') }}
</h2>
<h5 class="subtitle">
{{ $t('index.subtitle.comments') }}
</h5>
</el-col>
</el-row>
<el-row :gutter="20" class="main">
<el-col v-for="(comment, commentIndex) in comments" :key="commentIndex" :md="8" :xs="24">
<el-card shadow="hover" class="service" :body-style="{ padding: 0 }">
<p class="content">
{{ comment.content }}
</p>
<div class="info">
<div class="left">
<el-image class="avatar" :src="comment.avatar" />
</div>
<div class="right">
<div class="name">{{ comment.name }}</div>
<div class="job">
{{ comment.job }}
</div>
</div>
</div>
</el-card>
</el-col>
</el-row>
</div>
</div>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { ElButton, ElImage, ElRow, ElCol, ElCard } from 'element-plus';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
interface IData {
comments: any[];
}
export default defineComponent({
name: 'Index',
components: {
ElButton,
ElRow,
ElCol,
ElCard,
ElImage,
FontAwesomeIcon
},
data(): IData {
return {
comments: [
{
avatar: 'https://cdn.acedata.cloud/avatar1.png',
name: this.$t('index.customers.name1'),
job: this.$t('index.customers.job1'),
content: this.$t('index.customers.comment1')
},
{
avatar: 'https://cdn.acedata.cloud/avatar2.png',
name: this.$t('index.customers.name2'),
job: this.$t('index.customers.job2'),
content: this.$t('index.customers.comment2')
},
{
avatar: 'https://cdn.acedata.cloud/avatar3.png',
name: this.$t('index.customers.name3'),
job: this.$t('index.customers.job3'),
content: this.$t('index.customers.comment3')
}
]
};
},
computed: {
site() {
return this.$store.state.site;
},
capabilities() {
return [
...(this.site?.features?.chat?.enabled
? [
{
title: this.$t('index.title.chat'),
subtitle: this.$t('index.subtitle.chat'),
icon: 'fa-regular fa-comment'
}
]
: []),
...(this.site?.features?.midjourney?.enabled
? [
{
title: this.$t('index.title.midjourney'),
subtitle: this.$t('index.subtitle.midjourney'),
icon: 'fa-solid fa-palette'
}
]
: []),
...(this.site?.features?.qrart?.enabled
? [
{
title: this.$t('index.title.qrart'),
subtitle: this.$t('index.subtitle.qrart'),
icon: 'fa-solid fa-qrcode'
}
]
: [])
];
}
},
mounted() {},
methods: {}
});
</script>
<style lang="scss" scoped>
.wrapper {
width: 100%;
background-color: var(--el-bg-color);
.title {
font-size: 40px;
text-align: center;
font-weight: bold;
color: var(--el-text-color-primary);
}
.subtitle {
font-size: 20px;
line-height: 40px;
text-align: center;
color: var(--el-text-color-secondary);
}
}
.container {
margin: auto;
max-width: 1200px;
}
.block {
padding: 150px 0;
.preview {
position: relative;
.image {
border-radius: 10px;
padding: 5px;
background-color: white;
box-shadow: var(--el-box-shadow-light);
&.desktop {
max-width: 100%;
max-height: 100%;
}
&.mobile {
width: 30%;
position: absolute;
right: -5%;
top: 10%;
}
}
}
.info {
padding: 20px 60px;
text-align: center;
.title {
font-size: 40px;
color: var(--el-text-color-primary);
}
.subtitle {
font-size: 24px;
color: var(--el-text-color-secondary);
}
.btn-try {
padding: 25px 62px;
font-size: 20px;
line-height: 20px;
font-weight: 700;
border-radius: 50px;
}
}
}
#banner {
padding: 100px 0;
.left {
.info {
@media (max-width: 767px) {
padding: 0 50px 0 50px;
}
h1.title {
font-size: 60px;
font-weight: bold;
margin-bottom: 50px;
text-align: left;
-webkit-text-fill-color: transparent;
background-clip: text;
background-image: linear-gradient(90deg, #277186, #7752ff 40%, #5f98fa 60%, #44beff);
}
h3.subtitle {
font-size: 30px;
line-height: 40px;
margin-bottom: 70px;
text-align: left;
color: var(--el-text-color-primary);
}
.operations {
.btn-apply {
padding: 25px 62px;
font-size: 20px;
line-height: 20px;
font-weight: 700;
border-radius: 50px;
}
}
}
}
.right {
@media (max-width: 767px) {
padding: 50px 20px 0 20px;
}
.brand {
max-width: 100%;
height: auto;
}
}
}
#introduction {
padding: 100px 0;
@media (max-width: 767px) {
padding: 100px 20px;
}
.info {
.title {
font-size: 20px;
}
.subtitle {
font-size: 16px;
line-height: 30px;
color: var(--el-text-color-secondary);
}
.icon-wrapper {
background: var(--el-bg-color-page);
width: 50px;
height: 50px;
border-radius: 10px;
padding: 10px;
text-align: center;
line-height: 40px;
margin: 10px auto 20px auto;
.icon {
font-size: 25px;
color: var(--el-color-primary);
}
}
}
}
#introduction,
#midjourney,
#suno {
background: linear-gradient(90deg, #ebe7ff, #f2faff 53%, #e0f5fe);
}
.dark {
#introduction,
#midjourney,
#suno {
background-image: linear-gradient(270deg, #277186 0%, #330867 100%);
}
}
#comments {
padding: 100px 0;
background: var(--el-bg-color-page);
.main {
@media (max-width: 767px) {
padding: 0 50px 0 50px;
}
}
.el-card {
padding: 50px 40px;
@media (max-width: 767px) {
margin-bottom: 15px;
}
.content {
font-size: 16px;
line-height: 28px;
color: var(--el-text-color-secondary);
margin-bottom: 20px;
}
.info {
overflow: hidden;
.left,
.right {
float: left;
}
.avatar {
width: 60px;
height: 60px;
border-radius: 50%;
margin-right: 15px;
display: block;
}
.name {
font-size: 18px;
font-weight: bold;
margin-bottom: 5px;
color: var(--el-text-color-regular);
}
.job {
font-size: 16px;
color: var(--el-text-color-secondary);
}
}
}
}
</style>
+8 -4
View File
@@ -16,10 +16,14 @@ import { getCookie } from 'typescript-cookie';
const routes = [
{
path: '/',
name: ROUTE_INDEX,
redirect: {
name: ROUTE_CHAT_CONVERSATION_NEW
}
component: () => import('@/layouts/Index.vue'),
children: [
{
path: '',
name: ROUTE_INDEX,
component: () => import('@/pages/index/Index.vue')
}
]
},
console,
chatdoc,