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 6b1f0224
authored
Jan 26, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改首页
1 parent
7d011225
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
24 deletions
src/components/Head.vue
src/views/home/index.vue
src/components/Head.vue
View file @
6b1f022
...
...
@@ -26,11 +26,9 @@
</div>
</div>
<!-- 欢迎词 end -->
<fixed-arrow
/>
</div>
</
template
>
<
script
>
import
FixedArrow
from
'@/components/Arrow.vue'
;
export
default
{
name
:
'TopHead'
,
props
:
{
...
...
@@ -39,9 +37,6 @@ export default {
default
:
'广联数科运营看板'
}
},
components
:{
FixedArrow
},
data
()
{
return
{
month
:
''
,
...
...
@@ -65,7 +60,7 @@ export default {
this
.
month
=
m
.
getMonth
()
+
1
this
.
day
=
m
.
getDate
()
this
.
week
=
weekList
[
m
.
getDay
()]
this
.
initTime
()
;
this
.
initTime
()
},
methods
:
{
// 定时获取时间
...
...
src/views/home/index.vue
View file @
6b1f022
...
...
@@ -6,31 +6,37 @@
* @LastEditTime: 2024-01-26 11:42:10
-->
<
template
>
<div
class=
"layout"
>
<view-container>
<template
#
title
>
<!--
<view-title>
</view-title>
-->
<Head></Head>
</
template
>
<
template
#
content
>
<!--
<view-content></view-content>
-->
<!--
<components
:is=
"tabName"
></components>
-->
<view-life-scene-data></view-life-scene-data>
</
template
>
</view-container>
<div
class=
"page_layout"
>
<!-- 顶部 开始 -->
<div
class=
"head"
>
<top-head
/>
</div>
<!-- 顶部 end -->
<!-- 内容区域 开始 -->
<div
class=
"content"
>
<view-life-scene-data></view-life-scene-data>
</div>
<!-- 内容区域 end -->
<!-- 左右箭头 开始 -->
<fixed-arrow
/>
<!-- 左右箭头 end -->
</div>
</
template
>
<
script
>
import
'./pages'
import
Head
from
'@/components/Head.vue'
import
Top
Head
from
'@/components/Head.vue'
import
ViewLifeSceneData
from
'./pages/ViewLifeSceneData.vue'
import
FixedArrow
from
'@/components/Arrow.vue'
export
default
{
name
:
''
,
components
:
{
Head
,
ViewLifeSceneData
TopHead
,
ViewLifeSceneData
,
FixedArrow
},
computed
:
{
tabName
()
{
...
...
@@ -82,6 +88,23 @@ export default {
}
}
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
<
style
lang=
"scss"
>
body
,
html
{
background
:
#061422
;
}
</
style
>
<
style
lang=
"scss"
scoped
>
.page_layout
{
display
:
flex
;
height
:
100vh
;
flex-direction
:
column
;
.head
{
flex-shrink
:
0
;
}
.content
{
flex
:
1
;
}
}
</
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