Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
Athena
Commits
0fa752d3
Commit
0fa752d3
authored
Jun 17, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改首页
parent
a133655b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
newHead.vue
src/components/global/newHead.vue
+2
-2
index.vue
src/views/index.vue
+5
-2
No files found.
src/components/global/newHead.vue
View file @
0fa752d3
...
...
@@ -267,12 +267,12 @@
</div>
</li>
<!-- 活动中心 -->
<
!-- <
li :class="{_active: navActive === 9}" style="width: auto;">
<li
:class=
"{_active: navActive === 9}"
style=
"width: auto;"
>
<div
@
click=
"handleSelect('/IceCreamTask', 9), navActive = 9"
>
<img
style=
"z-index: -1;position: absolute;top: -27px;"
src=
"../../assets/img/task/nav_bg.png"
alt=
""
>
<img
src=
"../../assets/img/task/nav_text.png"
alt=
""
>
</div>
</li>
-->
</li>
</ul>
</div>
</el-row>
...
...
src/views/index.vue
View file @
0fa752d3
...
...
@@ -8,7 +8,7 @@
<newHead/>
<div
:style=
'
{"min-height":minHeight+"px"}'>
<transition
name=
"slide"
>
<router-view
:changeCity=
'changeCity'
></router-view>
<router-view
:changeCity=
'changeCity'
></router-view>
</transition>
</div>
<foot
/>
...
...
@@ -43,6 +43,9 @@ export default {
},
},
mounted
()
{
if
(
this
.
$route
.
name
===
'index'
)
{
this
.
$router
.
push
({
path
:
'Home'
})
}
//this.loadSize()
//this.goUrl('2-1')
this
.
minHeight
=
document
.
documentElement
.
clientHeight
-
171
...
...
@@ -69,7 +72,7 @@ export default {
console
.
log
(
index
)
let
path
=
''
if
(
index
==
'2-1'
){
path
=
'/
heel
'
path
=
'/
Home
'
}
if
(
index
==
'3'
){
path
=
'/TicketHome'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment