Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
walk_daka_h5
Overview
Overview
Details
Activity
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
穆启卓
walk_daka_h5
Commits
4bd65c7a
You need to sign in or sign up before continuing.
Commit
4bd65c7a
authored
Apr 04, 2019
by
Caiyijun
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'remotes/origin/mutou' into dev_yijun
parents
d9e98fb9
5a6c565e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
MainPage.vue
src/views/MainPage.vue
+11
-1
No files found.
src/views/MainPage.vue
View file @
4bd65c7a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<div
:class=
"['text', currentPage()==='SignUp'?'active':'']"
>
健步挑战赛
</div>
<div
:class=
"['text', currentPage()==='SignUp'?'active':'']"
>
健步挑战赛
</div>
</div>
</div>
<div
class=
"bottom-tab"
@
click=
"selectTab('nowGame')"
>
<div
class=
"bottom-tab"
@
click=
"selectTab('nowGame')"
>
<div
:class=
"['text', (currentPage()==='MainPagePartakeChallenge'||currentPage()==='MainPageHaveJoinedGame')?'active':'']"
>
当前比赛
</div>
<div
:class=
"['text', (currentPage()==='MainPagePartakeChallenge'||currentPage()==='MainPageHaveJoinedGame')?'active':'']"
>
{{
index1Name
}}
</div>
</div>
</div>
<div
class=
"bottom-tab"
@
click=
"selectTab('UserCenter')"
>
<div
class=
"bottom-tab"
@
click=
"selectTab('UserCenter')"
>
<div
:class=
"['text', currentPage()==='UserCenter'?'active':'']"
>
我的
</div>
<div
:class=
"['text', currentPage()==='UserCenter'?'active':'']"
>
我的
</div>
...
@@ -40,6 +40,16 @@
...
@@ -40,6 +40,16 @@
return
this
.
$router
.
history
.
current
.
name
;
return
this
.
$router
.
history
.
current
.
name
;
}
}
},
},
computed
:
{
index1Name
()
{
const
userHaveJoinGame
=
sessionStorage
.
getItem
(
'userHaveJoinGame'
);
if
(
userHaveJoinGame
===
'true'
)
{
return
'我的比赛'
;
}
else
{
return
'当前比赛'
;
}
}
}
}
}
</
script
>
</
script
>
...
...
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