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 9f16d688
authored
Jan 26, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改首页
1 parent
6b1f0224
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
15 deletions
src/assets/css/topHead.scss
src/components/Arrow.vue
src/views/energyCar/index.vue
src/views/home/index.vue
src/assets/css/topHead.scss
View file @
9f16d68
...
...
@@ -22,7 +22,7 @@
.title_box
{
box-sizing
:
border-box
;
padding-top
:
19px
;
padding-top
:
19px
;
text-align
:
center
;
.title
{
...
...
@@ -32,6 +32,8 @@
font-weight
:
700
;
font-size
:
44px
;
letter-spacing
:
5px
;
line-height
:
44px
;
// background: linear-gradient(left right, #00c8ff 0%, #0069f2 100%);
// background-clip: text;
// -webkit-background-clip: text;
...
...
src/components/Arrow.vue
View file @
9f16d68
...
...
@@ -37,17 +37,11 @@ export default {
// 左侧箭头点击事件
leftClickEvent
()
{
this
.
$emit
(
'prev'
)
if
(
this
.
prevUrl
)
{
this
.
$router
.
push
({
path
:
this
.
prevUrl
})
}
},
// 右侧箭头点击事件
rightClickEvent
()
{
this
.
$emit
(
'next'
)
if
(
this
.
nextUrl
)
{
this
.
$router
.
push
({
path
:
this
.
nextUrl
})
}
}
}
}
...
...
src/views/energyCar/index.vue
View file @
9f16d68
...
...
@@ -6,8 +6,8 @@
* @LastEditTime: 2024-01-26 16:22:53
-->
<
template
>
<div
class=
"
layout
"
>
<
Head
title=
"广联新能源车主行业大模型"
></Head
>
<div
class=
""
>
<
!--
<Head
title=
"广联新能源车主行业大模型"
></Head>
--
>
<Architecture></Architecture>
<Model></Model>
<FixedArrow></FixedArrow>
...
...
@@ -20,7 +20,7 @@ import Architecture from './Architecture'
import
Head
from
'@/components/Head'
import
FixedArrow
from
'@/components/Arrow.vue'
export
default
{
name
:
'
e
nergyCar'
,
name
:
'
E
nergyCar'
,
components
:
{
Model
,
Architecture
,
...
...
src/views/home/index.vue
View file @
9f16d68
...
...
@@ -9,19 +9,22 @@
<div
class=
"page_layout"
>
<!-- 顶部 开始 -->
<div
class=
"head"
>
<top-head
/>
<top-head
:title=
"titleList[current]"
/>
</div>
<!-- 顶部 end -->
<!-- 内容区域 开始 -->
<div
class=
"content"
>
<view-life-scene-data></view-life-scene-data>
<view-life-scene-data
v-show=
"current == 2"
/>
<energy-car
v-show=
"current == 1"
/>
<view-operational
v-show=
"current == 3"
/>
<view-entire-lifecycleOf-car
v-show=
"current == 0"
/>
</div>
<!-- 内容区域 end -->
<!-- 左右箭头 开始 -->
<fixed-arrow
/>
<fixed-arrow
@
prev=
"prevClick"
@
next=
"nextClick"
/>
<!-- 左右箭头 end -->
</div>
</
template
>
...
...
@@ -31,12 +34,17 @@ import './pages'
import
TopHead
from
'@/components/Head.vue'
import
ViewLifeSceneData
from
'./pages/ViewLifeSceneData.vue'
import
FixedArrow
from
'@/components/Arrow.vue'
import
ViewEntireLifecycleOfCar
from
'./pages/viewEntireLifecycleOfCar.vue'
//energyCar ViewEntireLifecycleOfCar
import
EnergyCar
from
'@/views/energyCar/index.vue'
export
default
{
name
:
''
,
components
:
{
TopHead
,
ViewLifeSceneData
,
FixedArrow
FixedArrow
,
ViewEntireLifecycleOfCar
,
EnergyCar
},
computed
:
{
tabName
()
{
...
...
@@ -73,7 +81,14 @@ export default {
},
data
()
{
return
{
activeName
:
''
activeName
:
''
,
current
:
0
,
titleList
:
{
0
:
'汽车全生命周期场景图'
,
1
:
'广联新能源车主行业大模型'
,
2
:
'汽车全生命周期场景图'
,
3
:
'广联数科运营看板'
}
}
},
created
()
{
...
...
@@ -85,6 +100,24 @@ export default {
// selectVal(val) {
// console.log(val)
// }
// 前一页
prevClick
()
{
let
index
=
this
.
current
if
(
index
==
0
)
{
return
false
}
this
.
current
=
index
-
1
},
// 下一页
nextClick
()
{
let
index
=
this
.
current
if
(
index
==
3
)
{
return
false
}
this
.
current
=
index
+
1
}
}
}
</
script
>
...
...
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