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 2fb0cbbe
authored
Jul 11, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ui
1 parent
f39c5a77
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
57 additions
and
56 deletions
src/assets/css/index.scss
src/views/home/pages/viewEntireLifecycleOfCar.vue
src/views/operational/OperationalLeft.vue
src/views/operational/OperationalRight.vue
src/views/operational/components/Analyse.vue
src/views/operational/components/Business.vue
src/views/operational/components/Category.vue
src/views/operational/components/Overview.vue
src/views/operational/components/UserTab.vue
src/views/operational/components/ViewChart.vue
src/assets/css/index.scss
View file @
2fb0cbb
@import
'./normalize.scss'
;
@import
"./normalize.scss"
;
@font-face
{
@font-face
{
font-family
:
'PingFangSC-Regular'
;
font-family
:
"PingFangSC-Regular"
;
src
:
url(
'../font/PingFang-Regular.ttf'
)
;
src
:
url(
"../font/PingFang-Regular.ttf"
)
;
}
}
html
,
html
,
body
.app
{
body
.app
{
color
:
#333333
;
color
:
#333333
;
font-family
:
'PingFangSC-Regular'
,
Arial
,
Helvetica
,
'STHeiti STXihei'
,
'Microsoft YaHei'
,
Tohoma
,
sans-serif
;
font-family
:
"PingFangSC-Regular"
,
Arial
,
Helvetica
,
"STHeiti STXihei"
,
"Microsoft YaHei"
,
Tohoma
,
sans-serif
;
background-color
:
#fff
;
background-color
:
#fff
;
-webkit-overflow-scrolling
:
touch
;
-webkit-overflow-scrolling
:
touch
;
height
:
100%
;
height
:
100%
;
...
@@ -101,7 +101,7 @@ img {
...
@@ -101,7 +101,7 @@ img {
}
}
.icon-title
{
.icon-title
{
display
:
inline-block
;
display
:
inline-block
;
width
:
0
.94vw
;
width
:
0
.94vw
;
height
:
0
.93vh
;
height
:
0
.93vh
;
background
:
url(../images/operation//icon-title.png)
no-repeat
;
background
:
url(../images/operation//icon-title.png)
no-repeat
;
background-size
:
100%
;
background-size
:
100%
;
...
@@ -131,8 +131,8 @@ img {
...
@@ -131,8 +131,8 @@ img {
height
:
8
.54vh
;
height
:
8
.54vh
;
margin
:
8px
6px
8px
8px
;
margin
:
8px
6px
8px
8px
;
}
}
.user-container
{
.user-container
{
height
:
6
.1vh
;
height
:
6
.1vh
;
margin
:
5px
6px
5px
6px
;
margin
:
5px
6px
5px
6px
;
}
}
.empty
{
.empty
{
...
@@ -149,14 +149,14 @@ img {
...
@@ -149,14 +149,14 @@ img {
}
}
.text-linear
{
.text-linear
{
display
:
inline-block
;
display
:
inline-block
;
color
:
#5894
FF
;
color
:
#5894
ff
;
background-image
:
-webkit-linear-gradient
(
left
,
#24D8FF
,
#7787FF
);
background-image
:
-webkit-linear-gradient
(
left
,
#24d8ff
,
#7787ff
);
-webkit-background-clip
:text
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:transparent
;
-webkit-text-fill-color
:
transparent
;
}
}
.user-box
{
.user-box
{
height
:
9
.
6
3vh
;
height
:
9
.
2
3vh
;
width
:
13
.26vw
;
width
:
13
.26vw
;
background
:
#071735
;
background
:
#071735
;
}
}
.patch-title
{
.patch-title
{
...
@@ -168,18 +168,18 @@ img {
...
@@ -168,18 +168,18 @@ img {
font-size
:
14px
;
font-size
:
14px
;
z-index
:
1
;
z-index
:
1
;
&
:
:
before
{
&
:
:
before
{
content
:
''
;
content
:
""
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
width
:
7
.5vw
;
width
:
7
.5vw
;
height
:
2
.22vh
;
height
:
2
.22vh
;
background-image
:
linear-gradient
(
269deg
,
#5663ff
00
10%
,
#6578ff
d4
49%
,
#079
FF
1
100%
);
background-image
:
linear-gradient
(
269deg
,
#5663ff
00
10%
,
#6578ff
d4
49%
,
#079
ff
1
100%
);
z-index
:
-1
;
z-index
:
-1
;
}
}
}
}
.linear-gradient-text
{
.linear-gradient-text
{
color
:
#5894
FF
;
color
:
#5894
ff
;
background-image
:
-webkit-linear-gradient
(
left
,
#0185
F9
,
#53FAFF
);
background-image
:
-webkit-linear-gradient
(
left
,
#0185
f9
,
#53faff
);
-webkit-background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
-webkit-text-fill-color
:
transparent
;
}
\ No newline at end of file
\ No newline at end of file
}
src/views/home/pages/viewEntireLifecycleOfCar.vue
View file @
2fb0cbb
...
@@ -350,7 +350,7 @@ export default {
...
@@ -350,7 +350,7 @@ export default {
.footer
{
.footer
{
position
:
relative
;
position
:
relative
;
width
:
1280px
;
width
:
1280px
;
height
:
7
23
px
;
height
:
7
05
px
;
.swiper
{
.swiper
{
li
{
li
{
display
:
flex
;
display
:
flex
;
...
...
src/views/operational/OperationalLeft.vue
View file @
2fb0cbb
...
@@ -67,19 +67,19 @@ export default {
...
@@ -67,19 +67,19 @@ export default {
overflow
:
hidden
;
overflow
:
hidden
;
.top
{
.top
{
height
:
5
2.4vh
;
height
:
5
44px
;
width
:
100%
;
width
:
100%
;
//
padding
:
0
16px
;
//
padding
:
0
16px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
background
:
url(../../assets/images/operation/bg-1.png)
no-repeat
;
background
:
url(../../assets/images/operation/bg-1.png)
no-repeat
;
background-size
:
100%
5
2.4vh
;
background-size
:
100%
5
44px
;
}
}
.bottom
{
.bottom
{
height
:
3
4.15vh
;
height
:
3
38px
;
margin-top
:
1.95vh
;
margin-top
:
20px
;
box-sizing
:
content-box
;
box-sizing
:
content-box
;
background
:
url(../../assets/images/operation/bg-3.png)
no-repeat
;
background
:
url(../../assets/images/operation/bg-3.png)
no-repeat
;
background-size
:
100%
34.15vh
;
background-size
:
100%
100%
;
}
}
}
}
</
style
>
</
style
>
src/views/operational/OperationalRight.vue
View file @
2fb0cbb
...
@@ -16,12 +16,12 @@
...
@@ -16,12 +16,12 @@
<box-title
title=
"私域用户池总览"
:textAlign=
"'center'"
></box-title>
<box-title
title=
"私域用户池总览"
:textAlign=
"'center'"
></box-title>
<div
class=
"bottom-content"
>
<div
class=
"bottom-content"
>
<UserTab></UserTab>
<UserTab></UserTab>
<view-chart></view-chart>
<view-chart></view-chart>
<view-line-group>
<view-line-group>
<div
slot=
"1"
><Analyse
:height=
"defaultHeight"
></Analyse></div>
<div
slot=
"1"
><Analyse
:height=
"defaultHeight"
></Analyse></div>
<div
slot=
"2"
><Brand
:height=
"defaultHeight"
:brandList=
"brandList"
></Brand></div>
<div
slot=
"2"
><Brand
:height=
"defaultHeight"
:brandList=
"brandList"
></Brand></div>
<div
slot=
"3"
><Area
:height=
"defaultHeight"
:areaList=
"areaList"
></Area></div>
<div
slot=
"3"
><Area
:height=
"defaultHeight"
:areaList=
"areaList"
></Area></div>
</view-line-group>
</view-line-group>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -87,14 +87,14 @@ export default {
...
@@ -87,14 +87,14 @@ export default {
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
.top
{
.top
{
height
:
3
4.15vh
;
height
:
3
38px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
background
:
url(../../assets/images/operation/bg-2.png)
no-repeat
;
background
:
url(../../assets/images/operation/bg-2.png)
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
.bottom
{
.bottom
{
height
:
5
3.66vh
;
height
:
5
44px
;
margin-top
:
0.95vh
;
margin-top
:
20px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
background
:
url(../../assets/images/operation/bg-4.png)
no-repeat
;
background
:
url(../../assets/images/operation/bg-4.png)
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
...
...
src/views/operational/components/Analyse.vue
View file @
2fb0cbb
...
@@ -68,12 +68,13 @@ export default {
...
@@ -68,12 +68,13 @@ export default {
}
}
.icon
{
.icon
{
display
:
inline-block
;
display
:
inline-block
;
width
:
0.94vw
;
width
:
0.94vw
;
height
:
0.93vh
;
height
:
0.93vh
;
transform
:
rotate
(
90deg
);
transform
:
rotate
(
90deg
);
background
:
url(../../../assets/images/operation//icon-title.png)
no-repeat
;
background
:
url(../../../assets/images/operation//icon-title.png)
no-repeat
;
background-size
:
100%
;
background-size
:
100%
;
margin-top
:
7px
;
margin-top
:
7px
;
margin-left
:
14px
;
}
}
.title
{
.title
{
display
:
block
;
display
:
block
;
...
@@ -83,14 +84,14 @@ export default {
...
@@ -83,14 +84,14 @@ export default {
//
margin
:
4px
4px
;
//
margin
:
4px
4px
;
//
height
:
10.98vh
;
//
height
:
10.98vh
;
font-size
:
10px
;
font-size
:
10px
;
margin-left
:
5
px
;
margin-left
:
20
px
;
//
transform
:
rotate
(
90deg
);
//
transform
:
rotate
(
90deg
);
}
}
.go
{
.go
{
width
:
0.65vw
;
width
:
0.65vw
;
height
:
0.65vw
;
height
:
0.65vw
;
margin
:
3px
5
px
;
margin
:
3px
17
px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
}
}
</
style
>
</
style
>
src/views/operational/components/Business.vue
View file @
2fb0cbb
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
<div
class=
"business-wrap flex"
>
<div
class=
"business-wrap flex"
>
<div
class=
"business-data"
>
<div
class=
"business-data"
>
<!--
<business-view
:businessNum=
"businessNum"
></business-view>
-->
<!--
<business-view
:businessNum=
"businessNum"
></business-view>
-->
<StatisticsBox
class=
"business-box"
:list=
"list.slice(0,2)"
></StatisticsBox>
<StatisticsBox
class=
"business-box"
:list=
"list.slice(0,
2)"
></StatisticsBox>
<StatisticsBox
class=
"business-box second-box"
:list=
"list.slice(2,4)"
></StatisticsBox>
<StatisticsBox
class=
"business-box second-box"
:list=
"list.slice(2,
4)"
></StatisticsBox>
</div>
</div>
<div
class=
"business-category"
>
<div
class=
"business-category"
>
<Category
:categoryData=
"categoryData"
></Category>
<Category
:categoryData=
"categoryData"
></Category>
...
@@ -48,7 +48,7 @@ export default {
...
@@ -48,7 +48,7 @@ export default {
{
{
name
:
'2.3新车延保'
,
name
:
'2.3新车延保'
,
value
:
4441921
value
:
4441921
}
,
}
],
],
list
:
[
list
:
[
{
{
...
@@ -116,7 +116,7 @@ export default {
...
@@ -116,7 +116,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.business-wrap
{
.business-wrap
{
height
:
1
4
.15vh
;
height
:
1
3
.15vh
;
margin
:
1.98vh
0.83vw
0.98vh
;
margin
:
1.98vh
0.83vw
0.98vh
;
//
margin-bottom
:
0.98vh
;
//
margin-bottom
:
0.98vh
;
//
margin-top
:
0.98vh
;
//
margin-top
:
0.98vh
;
...
@@ -126,9 +126,9 @@ export default {
...
@@ -126,9 +126,9 @@ export default {
//
margin-top
:
0.98vh
;
//
margin-top
:
0.98vh
;
width
:
38.06vw
;
width
:
38.06vw
;
height
:
100%
;
height
:
100%
;
/deep/{
/deep/
{
.business-box.statistics
{
.business-box.statistics
{
height
:
6.
8
3vh
;
height
:
6.
3
3vh
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.statistics-item
{
.statistics-item
{
margin-right
:
0.28vw
;
margin-right
:
0.28vw
;
...
...
src/views/operational/components/Category.vue
View file @
2fb0cbb
...
@@ -46,7 +46,7 @@ export default {
...
@@ -46,7 +46,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.category-box
{
.category-box
{
overflow
:
hidden
;
overflow
:
hidden
;
height
:
13.
9
vh
;
height
:
13.
2
vh
;
background-color
:
rgba
(
11
,
44
,
142
,
0.28
);
background-color
:
rgba
(
11
,
44
,
142
,
0.28
);
.title-icon
{
.title-icon
{
font-weight
:
500
;
font-weight
:
500
;
...
@@ -58,7 +58,7 @@ export default {
...
@@ -58,7 +58,7 @@ export default {
//
}
//
}
}
}
.category-container
{
.category-container
{
height
:
1
1.3
4vh
;
height
:
1
0.5
4vh
;
//
margin
:
1.59vh
1.67vw
1.46vh
1.11vw
;
//
margin
:
1.59vh
1.67vw
1.46vh
1.11vw
;
.category-legend
{
.category-legend
{
width
:
4.2vw
;
width
:
4.2vw
;
...
...
src/views/operational/components/Overview.vue
View file @
2fb0cbb
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
},
},
methods
:
{
methods
:
{
toFixNum
(
val
)
{
toFixNum
(
val
)
{
if
(
!
val
)
{
if
(
!
val
)
{
return
'0.0%'
return
'0.0%'
}
}
return
(
val
*
100
).
toFixed
(
1
)
+
'%'
return
(
val
*
100
).
toFixed
(
1
)
+
'%'
...
@@ -155,8 +155,8 @@ export default {
...
@@ -155,8 +155,8 @@ export default {
height
:
29.27vh
;
height
:
29.27vh
;
}
}
.headline
{
.headline
{
height
:
5.
6
1vh
;
height
:
5.
0
1vh
;
background
:
#092
A
46
;
background
:
#092
a
46
;
font-weight
:
600
;
font-weight
:
600
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#e8e8e8
;
color
:
#e8e8e8
;
...
@@ -204,7 +204,7 @@ export default {
...
@@ -204,7 +204,7 @@ export default {
width
:
4.29vw
;
width
:
4.29vw
;
}
}
.pd26
{
.pd26
{
height
:
9.
5
1vh
;
height
:
9.
0
1vh
;
padding
:
3.17vh
0
;
padding
:
3.17vh
0
;
}
}
}
}
...
@@ -221,9 +221,9 @@ export default {
...
@@ -221,9 +221,9 @@ export default {
font-weight
:
400
;
font-weight
:
400
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#fff
;
color
:
#fff
;
border-bottom
:
1px
solid
#0
E
2949
;
border-bottom
:
1px
solid
#0
e
2949
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
height
:
3.1
7vh
;
height
:
2.9
7vh
;
.clew-num
{
.clew-num
{
font-weight
:
700
;
font-weight
:
700
;
font-size
:
12px
;
font-size
:
12px
;
...
...
src/views/operational/components/UserTab.vue
View file @
2fb0cbb
...
@@ -126,7 +126,7 @@ export default {
...
@@ -126,7 +126,7 @@ export default {
const
selectIndex
=
TEXT_VIEW
.
findIndex
(
item
=>
item
.
name
===
name
)
const
selectIndex
=
TEXT_VIEW
.
findIndex
(
item
=>
item
.
name
===
name
)
if
(
selectIndex
>
2
)
return
if
(
selectIndex
>
2
)
return
this
.
selectIndex
=
selectIndex
this
.
selectIndex
=
selectIndex
const
params
=
{
req
:
{
queryItem
}}
const
params
=
{
req
:
{
queryItem
}
}
this
.
api
.
operational
.
getTrend
(
params
).
then
(
res
=>
{
this
.
api
.
operational
.
getTrend
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
'0'
)
{
if
(
res
.
code
===
'0'
)
{
const
dataList
=
res
.
data
.
dataList
const
dataList
=
res
.
data
.
dataList
...
@@ -165,7 +165,7 @@ export default {
...
@@ -165,7 +165,7 @@ export default {
.statistics
{
.statistics
{
display
:
flex
;
display
:
flex
;
color
:
#fff
;
color
:
#fff
;
height
:
9.
5
1vh
;
height
:
9.
0
1vh
;
&-item
{
&-item
{
padding
:
0.49vh
0.53vw
;
padding
:
0.49vh
0.53vw
;
margin-right
:
0.56vw
;
margin-right
:
0.56vw
;
...
@@ -193,7 +193,7 @@ export default {
...
@@ -193,7 +193,7 @@ export default {
font-weight
:
500
;
font-weight
:
500
;
font-size
:
12px
;
font-size
:
12px
;
margin-bottom
:
0.4vh
;
margin-bottom
:
0.4vh
;
height
:
2.2
2vh
;
height
:
1.8
2vh
;
}
}
&
-unit
{
&
-unit
{
padding-right
:
0.56vw
;
padding-right
:
0.56vw
;
...
@@ -204,7 +204,7 @@ export default {
...
@@ -204,7 +204,7 @@ export default {
color
:
#25d6ff
;
color
:
#25d6ff
;
font-weight
:
600
;
font-weight
:
600
;
font-size
:
14px
;
font-size
:
14px
;
height
:
3.1
1vh
;
height
:
2.8
1vh
;
&-number
{
&-number
{
padding-right
:
0.56vw
;
padding-right
:
0.56vw
;
font-size
:
24px
;
font-size
:
24px
;
...
...
src/views/operational/components/ViewChart.vue
View file @
2fb0cbb
...
@@ -56,7 +56,7 @@ export default {
...
@@ -56,7 +56,7 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.view-chart
{
.view-chart
{
height
:
1
9.39
vh
;
height
:
1
8.5
vh
;
margin
:
0.98vh
0
;
margin
:
0.98vh
0
;
.line-chart
{
.line-chart
{
width
:
25.14vw
;
width
:
25.14vw
;
...
...
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