Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-scene
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dcaf7369
authored
Jan 26, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
x修改生命周期样式
1 parent
4c7b4222
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
14 deletions
src/views/lifeSceneDataPage/components/AIMerchant.vue
src/views/lifeSceneDataPage/components/BarLineChart.vue
src/views/lifeSceneDataPage/components/BigModuleTrend.vue
src/views/lifeSceneDataPage/components/HotWords.vue
src/views/lifeSceneDataPage/components/NearThread.vue
src/views/lifeSceneDataPage/components/AIMerchant.vue
View file @
dcaf736
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"AI-box"
>
<div
class=
"AI-box"
>
<BoxTitle
:title=
"'AI对话调用次数及覆盖门店'"
:fontSize=
"18"
></BoxTitle>
<BoxTitle
:title=
"'AI对话调用次数及覆盖门店'"
:fontSize=
"18"
></BoxTitle>
<img
class=
"bottom-line"
src=
"@/assets/images/bottomLine.png"
alt=
""
/>
<img
class=
"bottom-line"
src=
"@/assets/images/bottomLine.png"
alt=
""
/>
<BarLineChart
ref=
"AITalkRef"
height=
"1
4.35
vh"
domId=
"AITalk"
:dataList
.
sync=
"AIBarLineData"
></BarLineChart>
<BarLineChart
ref=
"AITalkRef"
height=
"1
5.83
vh"
domId=
"AITalk"
:dataList
.
sync=
"AIBarLineData"
></BarLineChart>
</div>
</div>
</
template
>
</
template
>
...
@@ -19,7 +19,9 @@ export default {
...
@@ -19,7 +19,9 @@ export default {
}
}
},
},
mounted
()
{},
mounted
()
{
this
.
$refs
.
AITalkRef
.
drawBarLine
()
},
methods
:
{}
methods
:
{}
}
}
...
...
src/views/lifeSceneDataPage/components/BarLineChart.vue
View file @
dcaf736
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 202
3-08-23 16:22:16
* @LastEditTime: 202
4-01-26 21:35:57
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -37,7 +37,6 @@ export default {
...
@@ -37,7 +37,6 @@ export default {
}
}
}
}
},
},
data
()
{
data
()
{
return
{
return
{
barLineOptions
:
[],
barLineOptions
:
[],
...
@@ -53,10 +52,10 @@ export default {
...
@@ -53,10 +52,10 @@ export default {
this
.
barLineDom
=
document
.
getElementById
(
this
.
domId
)
this
.
barLineDom
=
document
.
getElementById
(
this
.
domId
)
this
[
this
.
domId
]
=
echarts
.
init
(
this
.
barLineDom
)
this
[
this
.
domId
]
=
echarts
.
init
(
this
.
barLineDom
)
this
.
chartBindEvent
()
this
.
chartBindEvent
()
setTimeout
(()
=>
{
//
setTimeout(()=>{
},
//
},
1000
)
//
1000)
},
},
methods
:
{
methods
:
{
drawBarLine
()
{
drawBarLine
()
{
...
...
src/views/lifeSceneDataPage/components/BigModuleTrend.vue
View file @
dcaf736
<
template
>
<
template
>
<div
class=
"big-module-box"
>
<div
class=
"big-module-box"
>
<BoxTitle
:title=
"'使用大模型创建活动的趋势'"
:fontSize=
"16"
></BoxTitle>
<BoxTitle
:title=
"'使用大模型创建活动的趋势'"
:fontSize=
"16"
></BoxTitle>
<BarChart
ref=
"bigModuleChartRef"
:height=
"'15.83vh'"
domId=
"bigModuleChart"
:dataList
.
sync=
"bigModuleChartDataList"
></BarChart>
<BarChart
class=
"bar-chart"
ref=
"bigModuleChartRef"
:height=
"'15.83vh'"
domId=
"bigModuleChart"
:dataList
.
sync=
"bigModuleChartDataList"
></BarChart>
</div>
</div>
</
template
>
</
template
>
...
@@ -17,7 +17,9 @@ export default {
...
@@ -17,7 +17,9 @@ export default {
}
}
},
},
mounted
()
{},
mounted
()
{
this
.
$refs
.
bigModuleChartRef
.
drawBar
()
},
methods
:
{}
methods
:
{}
}
}
...
@@ -32,4 +34,7 @@ export default {
...
@@ -32,4 +34,7 @@ export default {
background-size
:
100%
100%
;
background-size
:
100%
100%
;
padding
:
3.61vh
1.59vw
5.93vh
0.78vw
;
padding
:
3.61vh
1.59vw
5.93vh
0.78vw
;
}
}
.bar-chart
{
transform
:
translateY
(
30%
);
}
</
style
>
</
style
>
src/views/lifeSceneDataPage/components/HotWords.vue
View file @
dcaf736
...
@@ -3,11 +3,11 @@
...
@@ -3,11 +3,11 @@
* @Author: huyue
* @Author: huyue
* @Date: 2024-01-26 11:36:05
* @Date: 2024-01-26 11:36:05
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-01-26
11:37:3
4
* @LastEditTime: 2024-01-26
21:56:5
4
-->
-->
<
template
>
<
template
>
<div
class=
"hot-box"
>
<div
class=
"hot-box"
>
<BoxTitle
:title=
"'提问热词'"
:fontSize=
"16"
></BoxTitle>
<BoxTitle
class=
"hot-title"
:title=
"'提问热词'"
:fontSize=
"16"
></BoxTitle>
<div
class=
"tagcloud"
></div>
<div
class=
"tagcloud"
></div>
</div>
</div>
</
template
>
</
template
>
...
@@ -40,24 +40,46 @@ export default {
...
@@ -40,24 +40,46 @@ export default {
return
{}
return
{}
},
},
mounted
()
{
mounted
()
{
TagCloud
(
'.tagcloud'
,
texts
)
TagCloud
(
'.tagcloud'
,
texts
,
{
radius
:
100
})
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.hot-box
{
.hot-box
{
position
:
relative
;
width
:
10.31vw
;
width
:
10.31vw
;
height
:
23.8vh
;
height
:
23.8vh
;
background-image
:
url(../../../assets/images/hot
-words
-bg.png)
;
background-image
:
url(../../../assets/images/hot
word
-bg.png)
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
text-align
:
center
;
.hot-title
{
padding-bottom
:
4.19vh
;
}
&
::after
{
content
:
''
;
display
:
block
;
width
:
0.73vw
;
height
:
2.04vh
;
position
:
absolute
;
top
:
1vh
;
right
:
1vh
;
background-image
:
url(../../../assets/images/right-arrow.png)
;
background-size
:
0.73vw
2.04vh
;
}
}
}
.tagcloud
{
.tagcloud
{
width
:
7.85vw
!important
;
width
:
7.85vw
!important
;
height
:
7.85vw
!important
;
height
:
7.85vw
!important
;
background-image
:
url(../../../assets/images/hot-words-bg.png)
;
background-size
:
100%
100%
;
margin
:
0
auto
;
span
{
span
{
font-size
:
10px
;
color
:
#5894FF
;
color
:
#5894FF
;
background-image
:
-webkit-linear-gradient
(
left
,
#0185F9
,
#53FAFF
);
background-image
:
-webkit-linear-gradient
(
left
,
#0185F9
,
#53FAFF
);
-webkit-background-clip
:
text
;
-webkit-background-clip
:
text
;
...
...
src/views/lifeSceneDataPage/components/NearThread.vue
View file @
dcaf736
<!--
* @Description:
* @Author: huyue
* @Date: 2024-01-26 11:36:05
* @LastEditors: huyue
* @LastEditTime: 2024-01-26 21:47:43
-->
<
template
>
<
template
>
<div
class=
"near-thread-box"
>
<div
class=
"near-thread-box"
>
<BoxTitle
:title=
"'近12个月的线索推送情况'"
:fontSize=
"18"
></BoxTitle>
<BoxTitle
:title=
"'近12个月的线索推送情况'"
:fontSize=
"18"
></BoxTitle>
<img
class=
"bottom-line"
src=
"@/assets/images/bottomLine.png"
alt=
""
/>
<img
class=
"bottom-line"
src=
"@/assets/images/bottomLine.png"
alt=
""
/>
<BarChart
ref=
"nearThreadChartRef"
:height=
"'2
2.83
vh'"
domId=
"nearThreadChart"
:dataList
.
sync=
"nearThreadDataList"
></BarChart>
<BarChart
ref=
"nearThreadChartRef"
:height=
"'2
4.82
vh'"
domId=
"nearThreadChart"
:dataList
.
sync=
"nearThreadDataList"
></BarChart>
</div>
</div>
</
template
>
</
template
>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment