Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-bi
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-bi
Commits
9ebbee8a
提交
9ebbee8a
authored
3月 21, 2025
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
05606e8e
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
33 行增加
和
59 行删除
+33
-59
banner_1.png
public/images/banner_1.png
+0
-0
banner_2.png
public/images/banner_2.png
+0
-0
App.scss
src/App.scss
+5
-7
main.tsx
src/main.tsx
+1
-0
styles.scss
src/modules/data/dashboard/styles.scss
+15
-34
Index.tsx
src/modules/data/dashboard/views/Index.tsx
+12
-18
没有找到文件。
public/images/banner_1.png
0 → 100644
浏览文件 @
9ebbee8a
387.9 KB
public/images/banner_2.png
0 → 100644
浏览文件 @
9ebbee8a
380.9 KB
src/App.scss
浏览文件 @
9ebbee8a
...
@@ -75,23 +75,21 @@ textarea {
...
@@ -75,23 +75,21 @@ textarea {
textarea
:focus
{
textarea
:focus
{
outline
:
0
;
outline
:
0
;
}
}
:root
{
--main-color
:
#ba143e
;
}
html
,
html
,
body
,
body
,
#root
{
#root
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
}
}
:root
{
--main-color
:
#ba143e
;
}
.app-card
{
.app-card
{
--ant-color-text-heading
:
var
(
--
main-color
);
--ant-color-text-heading
:
var
(
--
main-color
);
--ant-border-radius-lg
:
20px
;
--ant-border-radius-lg
:
20px
;
}
}
/* .app-card .ant-card-head {
padding: 0;
margin: 0 20px;
} */
.app-steps
{
.app-steps
{
.ant-steps-item-title
{
.ant-steps-item-title
{
...
...
src/main.tsx
浏览文件 @
9ebbee8a
...
@@ -19,6 +19,7 @@ const antdTheme = {
...
@@ -19,6 +19,7 @@ const antdTheme = {
hashed
:
false
,
hashed
:
false
,
token
:
{
token
:
{
colorPrimary
:
'#ba143e'
,
colorPrimary
:
'#ba143e'
,
borderRadiusLG
:
12
,
},
},
}
}
...
...
src/modules/data/dashboard/styles.scss
浏览文件 @
9ebbee8a
.banner
{
.dashboard
{
padding
:
30px
40px
50px
;
width
:
1240px
;
h2
{
margin
:
0
auto
;
font-size
:
20px
;
font-weight
:
700
;
line-height
:
28px
;
}
p
{
margin-top
:
20px
;
font-size
:
18px
;
line-height
:
25px
;
}
}
}
.carousel-banner
{
.carousel-banner
{
.slick-dots
{
margin-bottom
:
40px
;
li
{
.banner
{
button
{
display
:
flex
;
&
:
:
after
{
align-items
:
center
;
background-color
:
#bbb
!
important
;
justify-content
:
center
;
}
}
&
.slick-active
{
&
:
:
after
{
background
:
var
(
--
main-color
)
!
important
;
}
}
}
}
}
}
}
.card-item
{
.card-item
{
display
:
flex
;
&
__left
{
flex
:
1
;
h3
{
h3
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
font-size
:
20px
;
font-size
:
20px
;
.lucide
{
color
:
var
(
--
main-color
);
}
}
}
p
{
p
{
margin
:
10px
0
30px
;
font-size
:
16px
;
font-size
:
16px
;
margin-top
:
10px
;
}
}
&
__right
{
font-size
:
20px
;
color
:
var
(
--
main-color
);
}
}
}
}
src/modules/data/dashboard/views/Index.tsx
浏览文件 @
9ebbee8a
...
@@ -8,6 +8,7 @@ type CardItem = {
...
@@ -8,6 +8,7 @@ type CardItem = {
title
:
string
title
:
string
description
:
string
description
:
string
path
:
string
path
:
string
span
?:
number
}
}
export
default
function
DataDashboard
()
{
export
default
function
DataDashboard
()
{
...
@@ -37,18 +38,21 @@ export default function DataDashboard() {
...
@@ -37,18 +38,21 @@ export default function DataDashboard() {
path
:
'/data/process'
,
path
:
'/data/process'
,
},
},
{
{
span
:
8
,
icon
:
<
Cone
size=
{
40
}
/>,
icon
:
<
Cone
size=
{
40
}
/>,
title
:
'数据挖掘'
,
title
:
'数据挖掘'
,
description
:
'智能数据解析与知识图谱构建'
,
description
:
'智能数据解析与知识图谱构建'
,
path
:
'/data/digging'
,
path
:
'/data/digging'
,
},
},
{
{
span
:
8
,
icon
:
<
ChartArea
size=
{
40
}
/>,
icon
:
<
ChartArea
size=
{
40
}
/>,
title
:
'可视化组件'
,
title
:
'可视化组件'
,
description
:
'智能可视化组件'
,
description
:
'智能可视化组件'
,
path
:
'/data/chart'
,
path
:
'/data/chart'
,
},
},
{
{
span
:
8
,
icon
:
<
Wallpaper
size=
{
40
}
/>,
icon
:
<
Wallpaper
size=
{
40
}
/>,
title
:
'可视化大屏'
,
title
:
'可视化大屏'
,
description
:
'智能可视化大屏'
,
description
:
'智能可视化大屏'
,
...
@@ -60,41 +64,31 @@ export default function DataDashboard() {
...
@@ -60,41 +64,31 @@ export default function DataDashboard() {
return
(
return
(
<
Card
>
<
Card
>
<
div
className=
"card-item"
>
<
div
className=
"card-item"
>
<
div
className=
"card-item__left"
>
<
h3
>
<
h3
>
{
item
.
title
}
</
h3
>
{
item
.
title
}
{
item
.
icon
}
</
h3
>
<
p
>
{
item
.
description
}
</
p
>
<
p
>
{
item
.
description
}
</
p
>
<
br
/>
<
Link
to=
{
item
.
path
}
>
<
Link
to=
{
item
.
path
}
>
<
Button
shape=
"round"
>
点击进入
</
Button
>
<
Button
shape=
"round"
>
点击进入
</
Button
>
</
Link
>
</
Link
>
</
div
>
</
div
>
<
div
className=
"card-item__right"
>
{
item
.
icon
}
</
div
>
</
div
>
</
Card
>
</
Card
>
)
)
}
}
return
(
return
(
<
div
style=
{
{
margin
:
'0 80px'
}
}
>
<
div
className=
"dashboard"
>
<
Card
style=
{
{
marginBottom
:
40
}
}
>
<
Carousel
className=
"carousel-banner"
>
<
Carousel
className=
"carousel-banner"
>
<
div
className=
"banner"
>
<
div
className=
"banner"
>
<
h2
>
AI驱动的数据分析实验室
</
h2
>
<
img
src=
"/images/banner_1.png"
/>
<
p
>
以AI技术为核心驱动力,深度挖掘数据价值,为各领域提供精准、高效的数据分析解决方案,助力决策智能化与业务创新。
</
p
>
</
div
>
</
div
>
<
div
className=
"banner"
>
<
div
className=
"banner"
>
<
h2
>
AI驱动的数据分析实验室
</
h2
>
<
img
src=
"/images/banner_2.png"
/>
<
p
>
以AI技术为核心驱动力,深度挖掘数据价值,为各领域提供精准、高效的数据分析解决方案,助力决策智能化与业务创新。
</
p
>
</
div
>
</
div
>
</
Carousel
>
</
Carousel
>
</
Card
>
<
Row
gutter=
{
[
20
,
40
]
}
>
<
Row
gutter=
{
[
40
,
40
]
}
>
{
items
.
map
((
item
)
=>
(
{
items
.
map
((
item
)
=>
(
<
Col
span=
{
6
}
key=
{
item
.
path
}
>
<
Col
span=
{
item
.
span
||
6
}
key=
{
item
.
path
}
>
{
CardCardItem
(
item
)
}
{
CardCardItem
(
item
)
}
</
Col
>
</
Col
>
))
}
))
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论