Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-lab
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-lab
Commits
e0cee58b
提交
e0cee58b
authored
10月 21, 2024
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
d4b3a41f
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
16 行增加
和
9 行删除
+16
-9
index.html
index.html
+1
-1
App.vue
src/App.vue
+1
-1
useAppConfig.ts
src/composables/useAppConfig.ts
+4
-4
Index.vue
src/modules/ai/views/Index.vue
+10
-3
没有找到文件。
index.html
浏览文件 @
e0cee58b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"UTF-8"
/>
<meta
charset=
"UTF-8"
/>
<!-- <link rel="icon" href="https://
zws-imgs-pub.ezijing.com/pc
/base/favicon.ico" /> -->
<!-- <link rel="icon" href="https://
webapp-pub.ezijing.com/website
/base/favicon.ico" /> -->
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<title></title>
<title></title>
<script
src=
"https://webapp-pub.ezijing.com/plugins/tinymce@6/tinymce.min.js"
></script>
<script
src=
"https://webapp-pub.ezijing.com/plugins/tinymce@6/tinymce.min.js"
></script>
...
...
src/App.vue
浏览文件 @
e0cee58b
...
@@ -10,7 +10,7 @@ useHead({
...
@@ -10,7 +10,7 @@ useHead({
{
{
rel
:
'icon'
,
rel
:
'icon'
,
key
:
'favicon'
,
key
:
'favicon'
,
href
:
appConfig
.
favicon
||
'https://
zws-imgs-pub.ezijing.com/pc
/base/favicon.ico'
href
:
appConfig
.
favicon
||
'https://
webapp-pub.ezijing.com/website
/base/favicon.ico'
}
}
]
]
})
})
...
...
src/composables/useAppConfig.ts
浏览文件 @
e0cee58b
...
@@ -2,13 +2,13 @@ const appConfigList = [
...
@@ -2,13 +2,13 @@ const appConfigList = [
{
{
system
:
'default'
,
system
:
'default'
,
title
:
'商业数据分析实验室'
,
title
:
'商业数据分析实验室'
,
logo
:
'https://
zws-imgs-pub.ezijing.com/pc/base/ezijing-
logo.svg'
,
logo
:
'https://
webapp-pub.ezijing.com/website/base/
logo.svg'
,
hosts
:
[
'saas-lab'
]
hosts
:
[
'saas-lab'
]
},
},
{
{
system
:
'x'
,
system
:
'x'
,
title
:
'1+X实训平台'
,
title
:
'1+X实训平台'
,
logo
:
'https://
zws-imgs-pub.ezijing.com/pc/base/ezijing-
logo.svg'
,
logo
:
'https://
webapp-pub.ezijing.com/website/base/
logo.svg'
,
hosts
:
[
'saas-x'
],
hosts
:
[
'saas-x'
],
studentMenus
:
[
studentMenus
:
[
{
name
:
'首页'
,
path
:
'/'
},
{
name
:
'首页'
,
path
:
'/'
},
...
@@ -40,7 +40,7 @@ const appConfigList = [
...
@@ -40,7 +40,7 @@ const appConfigList = [
{
{
system
:
'dml'
,
system
:
'dml'
,
title
:
'数智营销实践教学平台'
,
title
:
'数智营销实践教学平台'
,
logo
:
'https://
zws-imgs-pub.ezijing.com/pc/base/ezijing-
logo.svg'
,
logo
:
'https://
webapp-pub.ezijing.com/website/base/
logo.svg'
,
hosts
:
[
'saas-dml-web'
],
hosts
:
[
'saas-dml-web'
],
dmlURL
:
import
.
meta
.
env
.
VITE_DML_PRO_URL
dmlURL
:
import
.
meta
.
env
.
VITE_DML_PRO_URL
},
},
...
@@ -104,7 +104,7 @@ const appConfigList = [
...
@@ -104,7 +104,7 @@ const appConfigList = [
{
{
system
:
'default'
,
system
:
'default'
,
title
:
'商业数据分析与应用大赛'
,
title
:
'商业数据分析与应用大赛'
,
logo
:
'https://
zws-imgs-pub.ezijing.com/pc/base/ezijing-
logo.svg'
,
logo
:
'https://
webapp-pub.ezijing.com/website/base/
logo.svg'
,
// logo: 'https://webapp-pub.ezijing.com/website/base/images/logo_swsjfxs.png',
// logo: 'https://webapp-pub.ezijing.com/website/base/images/logo_swsjfxs.png',
// favicon: 'https://webapp-pub.ezijing.com/website/base/images/favicon_swsjfxs.png',
// favicon: 'https://webapp-pub.ezijing.com/website/base/images/favicon_swsjfxs.png',
hosts
:
[
'saas-lab-bda2'
],
hosts
:
[
'saas-lab-bda2'
],
...
...
src/modules/ai/views/Index.vue
浏览文件 @
e0cee58b
...
@@ -31,7 +31,7 @@ watch(messages.value, () => nextTick(() => scrollToBottom()))
...
@@ -31,7 +31,7 @@ watch(messages.value, () => nextTick(() => scrollToBottom()))
<header
class=
"ai-header"
>
<header
class=
"ai-header"
>
<div
class=
"ai-header-inner"
>
<div
class=
"ai-header-inner"
>
<div
class=
"ai-header-left"
>
<div
class=
"ai-header-left"
>
<img
src=
"https://
zws-imgs-pub.ezijing.com/pc/base/ezijing-
logo.svg"
width=
"174"
/>
<img
src=
"https://
webapp-pub.ezijing.com/website/base/
logo.svg"
width=
"174"
/>
<div
class=
"ai-header__title"
>
AI商业数据分析
</div>
<div
class=
"ai-header__title"
>
AI商业数据分析
</div>
</div>
</div>
<div
class=
"ai-header-right"
>
感知AI数据分析,让数据一触即知
</div>
<div
class=
"ai-header-right"
>
感知AI数据分析,让数据一触即知
</div>
...
@@ -42,9 +42,16 @@ watch(messages.value, () => nextTick(() => scrollToBottom()))
...
@@ -42,9 +42,16 @@ watch(messages.value, () => nextTick(() => scrollToBottom()))
<div
class=
"ai-message"
ref=
"chatRef"
>
<div
class=
"ai-message"
ref=
"chatRef"
>
<template
v-for=
"(item, index) in messages"
:key=
"index"
>
<template
v-for=
"(item, index) in messages"
:key=
"index"
>
<div
class=
"ai-message-item"
:class=
"item.role"
v-if=
"item.role !== 'system'"
>
<div
class=
"ai-message-item"
:class=
"item.role"
v-if=
"item.role !== 'system'"
>
<div
class=
"ai-message__avatar"
><img
:src=
"item.role === 'assistant' ? '/images/ai_avatar_bot.png' : '/images/ai_avatar_user.png'"
/></div>
<div
class=
"ai-message__avatar"
>
<img
:src=
"item.role === 'assistant' ? '/images/ai_avatar_bot.png' : '/images/ai_avatar_user.png'"
/>
</div>
<div
class=
"ai-message__content"
>
<div
class=
"ai-message__content"
>
<iframe
:srcdoc=
"item.content"
frameborder=
"0"
v-if=
"item.type === 'html'"
width=
"900"
height=
"500"
></iframe>
<iframe
:srcdoc=
"item.content"
frameborder=
"0"
v-if=
"item.type === 'html'"
width=
"900"
height=
"500"
></iframe>
<div
v-html=
"item.content"
v-else
></div>
<div
v-html=
"item.content"
v-else
></div>
</div>
</div>
</div>
</div>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论