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
aca56c00
Commit
aca56c00
authored
Jun 17, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/athena
parents
cca73a5a
19b2a2b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
newHead.vue
src/components/global/newHead.vue
+3
-3
index.vue
src/views/index.vue
+5
-2
No files found.
src/components/global/newHead.vue
View file @
aca56c00
...
@@ -260,17 +260,17 @@
...
@@ -260,17 +260,17 @@
</div>
</div>
</li> -->
</li> -->
<!-- 积分商城 -->
<!-- 积分商城 -->
<li
:class=
"{_active: navActive === 8}"
>
<
!-- <
li :class="{_active: navActive === 8}">
<div @click="handleSelect('/IntegralMall', 8), navActive = 8">
<div @click="handleSelect('/IntegralMall', 8), navActive = 8">
<span>积分商城</span>
<span>积分商城</span>
<span class="__splice">|</span>
<span class="__splice">|</span>
</div>
</div>
</li>
</li>
-->
<!-- 活动中心 -->
<!-- 活动中心 -->
<!-- <li :class="{_active: navActive === 9}" style="width: auto;">
<!-- <li :class="{_active: navActive === 9}" style="width: auto;">
<div @click="handleSelect('/IceCreamTask', 9), navActive = 9">
<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 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="">
<
li
src="../../assets/img/task/nav_text.png" alt="">
</div>
</div>
</li> -->
</li> -->
</ul>
</ul>
...
...
src/views/index.vue
View file @
aca56c00
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<newHead/>
<newHead/>
<div
:style=
'
{"min-height":minHeight+"px"}'>
<div
:style=
'
{"min-height":minHeight+"px"}'>
<transition
name=
"slide"
>
<transition
name=
"slide"
>
<router-view
:changeCity=
'changeCity'
></router-view>
<router-view
:changeCity=
'changeCity'
></router-view>
</transition>
</transition>
</div>
</div>
<foot
/>
<foot
/>
...
@@ -43,6 +43,9 @@ export default {
...
@@ -43,6 +43,9 @@ export default {
},
},
},
},
mounted
()
{
mounted
()
{
if
(
this
.
$route
.
name
===
'index'
)
{
this
.
$router
.
push
({
path
:
'Home'
})
}
//this.loadSize()
//this.loadSize()
//this.goUrl('2-1')
//this.goUrl('2-1')
this
.
minHeight
=
document
.
documentElement
.
clientHeight
-
171
this
.
minHeight
=
document
.
documentElement
.
clientHeight
-
171
...
@@ -69,7 +72,7 @@ export default {
...
@@ -69,7 +72,7 @@ export default {
console
.
log
(
index
)
console
.
log
(
index
)
let
path
=
''
let
path
=
''
if
(
index
==
'2-1'
){
if
(
index
==
'2-1'
){
path
=
'/
heel
'
path
=
'/
Home
'
}
}
if
(
index
==
'3'
){
if
(
index
==
'3'
){
path
=
'/TicketHome'
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