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 8eaf8fdf
authored
Jan 26, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.0' of
http://192.168.3.233:8090/h5/glsk-data-view-scene
into v1.0.0
2 parents
91abda97
d8d9c30c
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
39 additions
and
27 deletions
src/assets/images/car/road.png
src/components/Introduce.vue
src/views/energyCar/Architecture.vue
src/views/energyCar/Model.vue
src/views/energyCar/data.js
src/views/home/index.vue
src/views/lifeSceneDataPage/components/StatisticBox.vue
src/assets/images/car/road.png
View file @
8eaf8fd
185 KB
|
W:
|
H:
206 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/Introduce.vue
View file @
8eaf8fd
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-26 20:
23:37
* @LastEditTime: 2024-01-26 20:
59:19
-->
-->
<
template
>
<
template
>
<div
class=
"introduce-container"
>
<div
class=
"introduce-container"
>
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<img
src=
"@/assets/images/viewEntireLifecycleOfCar/line.png"
/>
<img
src=
"@/assets/images/viewEntireLifecycleOfCar/line.png"
/>
</div>
</div>
<div
class=
"qualifications-list"
>
<div
class=
"qualifications-list"
>
<div
class=
"qualifications-item"
v-for=
"(item, index) in Introduce.qualificationsList"
:key=
"index"
>
<div
class=
"qualifications-item"
v-for=
"(item, index) in Introduce.qualificationsList"
:key=
"
'qu' +
index"
>
<div
class=
"qualifications-title"
>
{{
item
.
title
}}
</div>
<div
class=
"qualifications-title"
>
{{
item
.
title
}}
</div>
<div
class=
"qualifications-num linear-gradient-text"
>
<div
class=
"qualifications-num linear-gradient-text"
>
{{
item
.
num
}}
{{
item
.
num
}}
...
@@ -32,9 +32,9 @@
...
@@ -32,9 +32,9 @@
</div>
</div>
</div>
</div>
<el-carousel
class=
"swiper-box"
:autoplay=
"false"
>
<el-carousel
class=
"swiper-box"
:autoplay=
"false"
>
<el-carousel-item
v-for=
"(item, index) in Introduce.booksList"
:key=
"index"
>
<el-carousel-item
v-for=
"(item, index) in Introduce.booksList"
:key=
"
'sw' +
index"
>
<div
class=
"swiper-body"
>
<div
class=
"swiper-body"
>
<div
class=
"books-item"
v-for=
"(i, idx) in 6"
:key=
"
inde
x"
>
<div
class=
"books-item"
v-for=
"(i, idx) in 6"
:key=
"
'book' + id
x"
>
<img
:src=
"require(`@/assets/images/viewEntireLifecycleOfCar/b$
{index + 1}_${idx + 1}.png`)" />
<img
:src=
"require(`@/assets/images/viewEntireLifecycleOfCar/b$
{index + 1}_${idx + 1}.png`)" />
</div>
</div>
</div>
</div>
...
...
src/views/energyCar/Architecture.vue
View file @
8eaf8fd
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<div
class=
"architecture-container"
>
<div
class=
"architecture-container"
>
<div
class=
"architecture-title"
>
{{
mainTitle
}}
</div>
<div
class=
"architecture-title"
>
{{
mainTitle
}}
</div>
<div
class=
"architecture-main"
>
<div
class=
"architecture-main"
>
<div
class=
"architecture-item"
v-for=
"(main, index) in mainList"
:key=
"index"
>
<div
class=
"architecture-item"
v-for=
"(main, index) in mainList"
:key=
"
'm' +
index"
>
<div
<div
class=
"architecture-type"
class=
"architecture-type"
:style=
"
{ backgroundImage: 'url(' + require(`@/assets/images/car/row_${main.row}.png`) + ')', height: toTransform(main.height), lineHeight: toTransform(main.height) }"
:style=
"
{ backgroundImage: 'url(' + require(`@/assets/images/car/row_${main.row}.png`) + ')', height: toTransform(main.height), lineHeight: toTransform(main.height) }"
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<div
class=
"architecture-desc"
>
<div
class=
"architecture-desc"
>
<div
class=
"architecture-desc-border"
>
<div
class=
"architecture-desc-border"
>
<template
v-if=
"main.classification"
>
<template
v-if=
"main.classification"
>
<div
class=
"architecture-classification"
v-for=
"(item, idx) in main.classification"
:key=
"idx"
>
<div
class=
"architecture-classification"
v-for=
"(item, idx) in main.classification"
:key=
"
'c' +
idx"
>
{{
item
}}
{{
item
}}
</div>
</div>
</
template
>
</
template
>
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<div
class=
"architecture-subTitle"
>
{{ subTitle }}
</div>
<div
class=
"architecture-subTitle"
>
{{ subTitle }}
</div>
<div
class=
"architecture-line"
></div>
<div
class=
"architecture-line"
></div>
<div
class=
"architecture-main"
>
<div
class=
"architecture-main"
>
<div
class=
"architecture-item"
v-for=
"(main, index) in subList"
:key=
"index"
>
<div
class=
"architecture-item"
v-for=
"(main, index) in subList"
:key=
"
'ar' +
index"
>
<div
<div
class=
"architecture-type"
class=
"architecture-type"
:style=
"{ backgroundImage: 'url(' + require(`@/assets/images/car/row_${main.row}.png`) + ')', height: toTransform(main.height), lineHeight: toTransform(main.height) }"
:style=
"{ backgroundImage: 'url(' + require(`@/assets/images/car/row_${main.row}.png`) + ')', height: toTransform(main.height), lineHeight: toTransform(main.height) }"
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
</div>
</div>
<div
class=
"architecture-desc"
>
<div
class=
"architecture-desc"
>
<div
class=
"architecture-desc-border gap-6"
>
<div
class=
"architecture-desc-border gap-6"
>
<div
class=
"architecture-sub"
v-for=
"(item, idx) in main.desc"
:key=
"idx"
:style=
"{ width: item.width + 'px' }"
>
<div
class=
"architecture-sub"
v-for=
"(item, idx) in main.desc"
:key=
"
'sub' +
idx"
:style=
"{ width: item.width + 'px' }"
>
{{ item.label }}
{{ item.label }}
</div>
</div>
</div>
</div>
...
...
src/views/energyCar/Model.vue
View file @
8eaf8fd
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-26
16:20:5
6
* @LastEditTime: 2024-01-26
20:58:3
6
-->
-->
<
template
>
<
template
>
<div
class=
"model-box"
>
<div
class=
"model-box"
>
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div
<div
class=
"model-item"
class=
"model-item"
v-for=
"(item, index) in modelList"
v-for=
"(item, index) in modelList"
:key=
"index"
:key=
"
'model'+
index"
:class=
"
{ p16: index
< 5
?
true
:
false
}"
:class=
"
{ p16: index
< 5
?
true
:
false
}"
:style=
"
{
:style=
"
{
backgroundImage: 'url(' + require(`@/assets/images/car/car_${item.order}.png`) + ')',
backgroundImage: 'url(' + require(`@/assets/images/car/car_${item.order}.png`) + ')',
...
...
src/views/energyCar/data.js
View file @
8eaf8fd
...
@@ -85,16 +85,16 @@ export const modelList = [
...
@@ -85,16 +85,16 @@ export const modelList = [
width
:
286.8
,
width
:
286.8
,
filter
:
true
,
filter
:
true
,
right
:
232
,
right
:
232
,
top
:
13
,
top
:
0
,
height
:
100.22
,
height
:
100.22
,
content
:
'区域油耗分析、健康度分析、元器件质量分析、电池寿命分析'
content
:
'区域油耗分析、健康度分析、元器件质量分析、电池寿命分析'
},
},
{
{
order
:
'2'
,
order
:
'2'
,
title
:
'2. 车辆运输'
,
title
:
'2. 车辆运输'
,
right
:
6
3
7
,
right
:
6
1
7
,
filter
:
true
,
filter
:
true
,
top
:
38
,
top
:
10
,
width
:
149.95
,
width
:
149.95
,
height
:
92.97
,
height
:
92.97
,
content
:
'电子围栏、在途运输监督'
content
:
'电子围栏、在途运输监督'
...
@@ -105,15 +105,15 @@ export const modelList = [
...
@@ -105,15 +105,15 @@ export const modelList = [
width
:
228.78
,
width
:
228.78
,
filter
:
true
,
filter
:
true
,
height
:
100.05
,
height
:
100.05
,
top
:
1
57
,
top
:
1
40
,
right
:
6
02
,
right
:
6
10
,
content
:
'用户爱好分析、用户活动区域、老客户试乘试驾推荐'
content
:
'用户爱好分析、用户活动区域、老客户试乘试驾推荐'
},
},
{
{
order
:
'4'
,
order
:
'4'
,
title
:
'4. 车辆交付-权益、轻改、保险'
,
title
:
'4. 车辆交付-权益、轻改、保险'
,
width
:
317.93
,
width
:
317.93
,
top
:
1
44
,
top
:
1
20
,
right
:
123
,
right
:
123
,
height
:
101.16
,
height
:
101.16
,
content
:
'新车交付过程中的权益、轻改、电池延保等增值衍生业务的用户精准营销'
content
:
'新车交付过程中的权益、轻改、电池延保等增值衍生业务的用户精准营销'
...
@@ -122,8 +122,8 @@ export const modelList = [
...
@@ -122,8 +122,8 @@ export const modelList = [
order
:
'5.1'
,
order
:
'5.1'
,
title
:
'5.1 车辆使用-车主服务'
,
title
:
'5.1 车辆使用-车主服务'
,
width
:
239.07
,
width
:
239.07
,
top
:
2
7
3
,
top
:
2
5
3
,
right
:
3
7
0
,
right
:
3
6
0
,
height
:
114.27
,
height
:
114.27
,
content
:
'油耗优化建议,驾驶行为优化建议,续航里程预测,车辆自检与风险预测'
content
:
'油耗优化建议,驾驶行为优化建议,续航里程预测,车辆自检与风险预测'
},
},
...
@@ -131,8 +131,8 @@ export const modelList = [
...
@@ -131,8 +131,8 @@ export const modelList = [
order
:
'5.2'
,
order
:
'5.2'
,
width
:
244.53
,
width
:
244.53
,
height
:
112.3
,
height
:
112.3
,
right
:
-
2
0
,
right
:
-
2
6
,
top
:
3
2
4
,
top
:
3
0
4
,
title
:
'5.2 车辆使用-主机厂分析'
,
title
:
'5.2 车辆使用-主机厂分析'
,
content
:
'T-BOX版本统计。单车工况分析、车辆载重分析、车辆用途分析、故障分析、电池寿命预测'
content
:
'T-BOX版本统计。单车工况分析、车辆载重分析、车辆用途分析、故障分析、电池寿命预测'
},
},
...
@@ -141,7 +141,7 @@ export const modelList = [
...
@@ -141,7 +141,7 @@ export const modelList = [
title
:
'5.3 车辆使用-续保'
,
title
:
'5.3 车辆使用-续保'
,
width
:
194.79
,
width
:
194.79
,
height
:
91.38
,
height
:
91.38
,
top
:
4
2
5
,
top
:
4
0
5
,
right
:
323
,
right
:
323
,
content
:
'新型UBI产品、驾驶行为分析、电池延保等'
content
:
'新型UBI产品、驾驶行为分析、电池延保等'
},
},
...
@@ -149,7 +149,7 @@ export const modelList = [
...
@@ -149,7 +149,7 @@ export const modelList = [
order
:
'5.4'
,
order
:
'5.4'
,
title
:
'5.4 车辆使用-售后服务'
,
title
:
'5.4 车辆使用-售后服务'
,
width
:
252.62
,
width
:
252.62
,
top
:
5
60
,
top
:
5
32
,
height
:
115.72
,
height
:
115.72
,
right
:
63
,
right
:
63
,
content
:
'维修保障提醒、维修方案管理、在线排故、智能推荐、故障处理推送、救援保障'
content
:
'维修保障提醒、维修方案管理、在线排故、智能推荐、故障处理推送、救援保障'
...
@@ -159,7 +159,7 @@ export const modelList = [
...
@@ -159,7 +159,7 @@ export const modelList = [
title
:
'5.5 车辆使用-商用车管理'
,
title
:
'5.5 车辆使用-商用车管理'
,
width
:
266.76
,
width
:
266.76
,
filter
:
true
,
filter
:
true
,
top
:
60
6
,
top
:
58
6
,
right
:
513
,
right
:
513
,
height
:
123.61
,
height
:
123.61
,
content
:
'商用车油耗分析、商用车月收入评估、运行轨迹回放、运输路线优化、商用车综合评分'
content
:
'商用车油耗分析、商用车月收入评估、运行轨迹回放、运输路线优化、商用车综合评分'
...
...
src/views/home/index.vue
View file @
8eaf8fd
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* @Description:
* @Description:
* @Author: huyue
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @Date: 2023-07-04 13:55:35
* @LastEditors:
huyue
* @LastEditors:
yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-26
11:42:10
* @LastEditTime: 2024-01-26
20:36:32
-->
-->
<
template
>
<
template
>
<div
class=
"page_layout"
>
<div
class=
"page_layout"
>
...
@@ -131,8 +131,14 @@ html {
...
@@ -131,8 +131,14 @@ html {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.page_layout
{
.page_layout
{
display
:
flex
;
display
:
flex
;
position
:
absolute
;
width
:
100vw
;
left
:
0px
;
top
:
0px
;
height
:
100vh
;
height
:
100vh
;
overflow
:
hidden
;
flex-direction
:
column
;
flex-direction
:
column
;
background
:
url(../../assets/images/bg.png)
100%
100%
;
.head
{
.head
{
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
...
@@ -143,4 +149,3 @@ html {
...
@@ -143,4 +149,3 @@ html {
}
}
}
}
</
style
>
</
style
>
src/views/lifeSceneDataPage/components/StatisticBox.vue
View file @
8eaf8fd
...
@@ -3,7 +3,10 @@
...
@@ -3,7 +3,10 @@
<div
class=
"statistics-item"
v-for=
"(item, index) in list"
:key=
"index"
:style=
"
{ width: 100 / list.length + '%' }">
<div
class=
"statistics-item"
v-for=
"(item, index) in list"
:key=
"index"
:style=
"
{ width: 100 / list.length + '%' }">
<div
class=
"statistics-top"
>
<div
class=
"statistics-top"
>
<div
class=
"statistics-name"
>
{{
item
.
name
}}
</div>
<div
class=
"statistics-name"
>
{{
item
.
name
}}
</div>
<div
class=
"statistics-text"
>
{{
numAddSymbol
(
item
.
value
)
}}{{
item
.
unit
}}
</div>
<div
class=
"statistics-text"
>
{{
numAddSymbol
(
item
.
value
)
}}
<span
class=
"statistics-unit"
>
{{
item
.
unit
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -58,6 +61,10 @@ export default {
...
@@ -58,6 +61,10 @@ export default {
-webkit-background-clip
:
text
;
/* Safari/Chrome支持该属性 */
-webkit-background-clip
:
text
;
/* Safari/Chrome支持该属性 */
color
:
transparent
;
/* 将文本颜色设置为透明 */
color
:
transparent
;
/* 将文本颜色设置为透明 */
margin-top
:
1.1vh
;
margin-top
:
1.1vh
;
.statistics-unit
{
font-size
:
12px
;
margin-left
:
0.52vw
;
}
}
}
}
}
</
style
>
</
style
>
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