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 7adde82e
authored
Jan 26, 2024
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
3f514a39
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
178 additions
and
22 deletions
src/components/BoxTitle.vue
src/router/routes.js
src/views/home/pages/ViewLifeSceneData.vue
src/views/lifeSceneDataPage/LifeSceneCenter.vue
src/views/lifeSceneDataPage/LifeSceneLeft.vue
src/views/lifeSceneDataPage/LifeSceneRight.vue
src/components/BoxTitle.vue
View file @
7adde82
...
@@ -6,9 +6,7 @@
...
@@ -6,9 +6,7 @@
* @LastEditTime: 2023-07-07 18:01:41
* @LastEditTime: 2023-07-07 18:01:41
-->
-->
<
template
>
<
template
>
<div
class=
"main-box"
>
<div
class=
"text-box"
:style=
"
{'font-size': fontSize + 'px'}">
{{
title
}}
</div>
<div
class=
"trapezoid"
>
<div
class=
"text-box"
>
{{
title
}}
</div></div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -19,6 +17,10 @@ export default {
...
@@ -19,6 +17,10 @@ export default {
title
:
{
title
:
{
type
:
String
,
type
:
String
,
default
:
'标题'
default
:
'标题'
},
fontSize
:
{
type
:
Number
,
default
:
24
}
}
},
},
...
@@ -33,24 +35,12 @@ export default {
...
@@ -33,24 +35,12 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.main-box
{
.text-box
{
position
:
relative
;
font-family
:
SourceHanSansCN-Bold
;
background-image
:
url('../assets/images/title-bg.png')
;
font-weight
:
700
;
background-repeat
:
no-repeat
;
letter-spacing
:
0
;
background-size
:
9.04vw
3.33vh
;
text-align
:
center
;
border-image
:
linear-gradient
(
90deg
,
#074989
,
#30dcff
,
#074989
)
1
;
background-image
:
linear-gradient
(
180deg
,
#001948
0%
,
#00223c
99%
);
}
}
.trapezoid
{
height
:
3.33vh
;
.text-box
{
//
width
:
126px
;
height
:
3.33vh
;
font-family
:
PingFangSC-Medium
;
font-weight
:
500
;
font-size
:
14px
;
color
:
#FFFFFF
;
line-height
:
3.33vh
;
margin-left
:
1.67vw
;
}
}
</
style
>
</
style
>
src/router/routes.js
View file @
7adde82
...
@@ -28,6 +28,13 @@ const pages = [
...
@@ -28,6 +28,13 @@ const pages = [
isTab
:
true
,
isTab
:
true
,
backgroundColor
:
'#F7F7F7'
backgroundColor
:
'#F7F7F7'
}
}
},
{
name
:
'lifeSceneDataPage'
,
meta
:
{
isTab
:
true
,
backgroundColor
:
'#F7F7F7'
}
}
}
]
]
const
keepAlives
=
[]
const
keepAlives
=
[]
...
...
src/views/home/pages/ViewLifeSceneData.vue
0 → 100644
View file @
7adde82
<!--
* @Description: 汽车全生命周期场景图数据页
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditTime: 2023-08-22 17:31:50
-->
<
template
>
<div
class=
"view-content"
>
<div
class=
"content"
>
<LifeSceneLeft></LifeSceneLeft>
<LifeSceneCenter></LifeSceneCenter>
<LifeSceneRight></LifeSceneRight>
</div>
</div>
</
template
>
<
script
>
import
LifeSceneLeft
from
"../../lifeSceneDataPage/LifeSceneLeft.vue"
import
LifeSceneCenter
from
"../../lifeSceneDataPage/LifeSceneCenter.vue"
import
LifeSceneRight
from
"../../lifeSceneDataPage/LifeSceneRight.vue"
export
default
{
name
:
'ViewLifeSceneData'
,
components
:
{
LifeSceneLeft
,
LifeSceneCenter
,
LifeSceneRight
},
data
()
{
return
{
}
},
created
()
{
},
mounted
()
{
},
methods
:
{
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.view-content
{
width
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
position
:
relative
;
padding
:
1.78vh
24px
;
gap
:
0
16px
;
}
.content
{
display
:
flex
;
justify-content
:
space-between
;
//
padding
:
1.78vh
0
0
;
//
margin-top
:
1.78vh
;
}
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/lifeSceneDataPage/LifeSceneCenter.vue
0 → 100644
View file @
7adde82
<
template
>
<div
class=
"center"
>
<div
class=
"center-top"
>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'LifeSceneCenter'
,
components
:
{
},
data
()
{
return
{}
},
mounted
()
{},
methods
:
{}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.center
{
width
:
47.78vw
;
&-top
{
display
:
flex
;
justify-content
:
space-between
;
margin-bottom
:
1.78vh
;
}
}
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/lifeSceneDataPage/LifeSceneLeft.vue
0 → 100644
View file @
7adde82
<
template
>
<div
class=
"left"
>
<div
class=
"left-top"
>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'LifeSceneLeft'
,
components
:
{
},
data
()
{
return
{}
},
mounted
()
{},
methods
:
{}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.left
{
width
:
47.78vw
;
&-top
{
display
:
flex
;
justify-content
:
space-between
;
margin-bottom
:
1.78vh
;
}
}
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/lifeSceneDataPage/LifeSceneRight.vue
0 → 100644
View file @
7adde82
<
template
>
<div
class=
"right"
>
<div
class=
"right-top"
>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'LifeSceneRight'
,
components
:
{
},
data
()
{
return
{}
},
mounted
()
{},
methods
:
{}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.right
{
width
:
47.78vw
;
&-top
{
display
:
flex
;
justify-content
:
space-between
;
margin-bottom
:
1.78vh
;
}
}
</
style
>
\ No newline at end of file
\ No newline at end of file
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