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
c21dc383
Commit
c21dc383
authored
Apr 24, 2019
by
穆启卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
布局调整
parent
9771de2d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
40 deletions
+37
-40
page_bg.png
src/images/HaveJoinedGame/page_bg.png
+0
-0
que1.png
src/images/HaveJoinedGame/que1.png
+0
-0
HaveJoinedGame.vue
src/views/HaveJoinedGame.vue
+37
-40
No files found.
src/images/HaveJoinedGame/page_bg.png
0 → 100644
View file @
c21dc383
37.5 KB
src/images/HaveJoinedGame/que1.png
0 → 100644
View file @
c21dc383
381 Bytes
src/views/HaveJoinedGame.vue
View file @
c21dc383
<
template
>
<
template
>
<div
class=
"have-joined-game-page"
>
<div
class=
"have-joined-game-page"
>
<Title
class=
"page-title"
@
goback=
"goback"
show_back=
"true"
v-if=
"currentPage()==='HaveJoinedGame'"
></Title>
<Title
class=
"page-title"
@
goback=
"goback"
show_back=
"true"
v-if=
"currentPage()==='HaveJoinedGame'"
></Title>
<div
class=
"game-rule-container"
@
click=
"goOtherPage('Rule')"
>
<img
src=
"../images/ChallengeDetail/ic_que.png"
>
活动规则
</div>
<!-- 右上角复活卡 -->
<!-- 右上角复活卡 -->
<Reborn
class=
"reborn-container"
></Reborn>
<Reborn
class=
"reborn-container"
></Reborn>
<div
class=
"game-bonus-container"
>
<div
class=
"game-bonus-container"
>
...
@@ -67,6 +63,10 @@
...
@@ -67,6 +63,10 @@
<div
class=
"func-btn green-btn"
@
click=
"inviteFriend"
v-if=
"record_list.length&&record_list[0].status === 0"
>
邀请好友来参赛
</div>
<div
class=
"func-btn green-btn"
@
click=
"inviteFriend"
v-if=
"record_list.length&&record_list[0].status === 0"
>
邀请好友来参赛
</div>
<div
class=
"func-btn"
@
click=
"changeXcxPopup()"
v-else
>
提交今日步数
</div>
<div
class=
"func-btn"
@
click=
"changeXcxPopup()"
v-else
>
提交今日步数
</div>
<div
class=
"next-func-btn"
:style=
"next_period?'background: #5f95e7;':''"
v-if=
"next_signup"
@
click=
"joinNextGame()"
>
{{next_period?`已报名${String(next_period).slice(4,8)}期`:'报名下一期'}}
</div>
<div
class=
"next-func-btn"
:style=
"next_period?'background: #5f95e7;':''"
v-if=
"next_signup"
@
click=
"joinNextGame()"
>
{{next_period?`已报名${String(next_period).slice(4,8)}期`:'报名下一期'}}
</div>
<div
class=
"game-rule-container"
@
click=
"goOtherPage('Rule')"
>
<img
src=
"../images/HaveJoinedGame/que1.png"
>
<div>
活动规则
</div>
</div>
<!-- 报名成功弹框 -->
<!-- 报名成功弹框 -->
<div
class=
"game-status-popup"
v-if=
"userHavePaidGame"
>
<div
class=
"game-status-popup"
v-if=
"userHavePaidGame"
>
<div
class=
"game-status-container"
>
<div
class=
"game-status-container"
>
...
@@ -168,7 +168,7 @@ export default {
...
@@ -168,7 +168,7 @@ export default {
showSwiper
:
false
,
showSwiper
:
false
,
bet_bonus
:
"0.00"
,
bet_bonus
:
"0.00"
,
next_signup
:
false
,
next_signup
:
false
,
next_period
:
''
,
next_period
:
""
,
period_end
:
""
,
period_end
:
""
,
period_start
:
""
,
period_start
:
""
,
total_signup
:
0
,
total_signup
:
0
,
...
@@ -407,25 +407,11 @@ export default {
...
@@ -407,25 +407,11 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.swiper-container
{
/*margin-left: 0 !important;*/
}
.swiper-slide
{
width
:
5.1rem
;
height
:
2.68rem
;
}
.swiper-slide
img
{
width
:
5.1rem
;
height
:
2.68rem
;
}
.have-joined-game-page
{
.have-joined-game-page
{
width
:
100%
;
width
:
100%
;
min-height
:
100vh
;
min-height
:
100vh
;
background-color
:
rgb
(
70
,
88
,
149
);
background-color
:
rgb
(
70
,
88
,
149
);
background-image
:
url(../images/
SignUp/sy_beijin
g.png)
;
background-image
:
url(../images/
HaveJoinedGame/page_b
g.png)
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-size
:
100%
;
background-size
:
100%
;
background-position
:
center
top
;
background-position
:
center
top
;
...
@@ -442,26 +428,11 @@ export default {
...
@@ -442,26 +428,11 @@ export default {
top
:
0
;
top
:
0
;
z-index
:
2
;
z-index
:
2
;
}
}
.game-rule-container
{
display
:
flex
;
align-items
:
center
;
position
:
fixed
;
top
:
0.34rem
;
right
:
0.22rem
;
font-size
:
0.26rem
;
line-height
:
1
;
color
:
#465895
;
z-index
:
3
;
img
{
width
:
0.3rem
;
height
:
0.3rem
;
margin-right
:
0.1rem
;
}
}
.reborn-container
{
.reborn-container
{
position
:
absolute
;
position
:
absolute
;
top
:
1rem
;
top
:
0.42rem
;
right
:
.28rem
;
right
:
0.3rem
;
z-index
:
3
;
}
}
.game-bonus-container
{
.game-bonus-container
{
width
:
6.4rem
;
width
:
6.4rem
;
...
@@ -469,7 +440,7 @@ export default {
...
@@ -469,7 +440,7 @@ export default {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
background
:
url("../images/SignUp/shadow-bg.png")
no-repeat
center
center
;
background
:
url("../images/SignUp/shadow-bg.png")
no-repeat
center
center
;
background-size
:
contain
;
background-size
:
contain
;
margin-top
:
2.38
rem
;
margin-top
:
1.76
rem
;
.bonus-title
{
.bonus-title
{
font-size
:
0.3rem
;
font-size
:
0.3rem
;
line-height
:
1
;
line-height
:
1
;
...
@@ -542,10 +513,21 @@ export default {
...
@@ -542,10 +513,21 @@ export default {
overflow-x
:
scroll
;
overflow-x
:
scroll
;
white-space
:
nowrap
;
white-space
:
nowrap
;
-webkit-overflow-scrolling
:
touch
;
-webkit-overflow-scrolling
:
touch
;
&::-webkit-scrollbar
{
&::-webkit-scrollbar
{
display
:
none
;
display
:
none
;
}
}
.swiper-slide
{
width
:
5.1rem
;
height
:
2.68rem
;
img
{
width
:
5.1rem
;
height
:
2.68rem
;
}
}
.game-scroll-item
{
.game-scroll-item
{
width
:
5.1rem
;
width
:
5.1rem
;
height
:
2.68rem
;
height
:
2.68rem
;
...
@@ -667,7 +649,7 @@ export default {
...
@@ -667,7 +649,7 @@ export default {
color
:
#fff
;
color
:
#fff
;
font-weight
:
bold
;
font-weight
:
bold
;
text-align
:
center
;
text-align
:
center
;
margin-top
:
1.2
rem
;
margin-top
:
0.5
rem
;
}
}
.green-btn
{
.green-btn
{
background
:
#1fdbb1
;
background
:
#1fdbb1
;
...
@@ -684,6 +666,21 @@ export default {
...
@@ -684,6 +666,21 @@ export default {
text-align
:
center
;
text-align
:
center
;
margin-top
:
0.3rem
;
margin-top
:
0.3rem
;
}
}
.game-rule-container
{
display
:
flex
;
align-items
:
center
;
font-size
:
0.26rem
;
line-height
:
1
;
color
:
#91A2DE
;
margin-top
:
0.6rem
;
img
{
width
:
0.3rem
;
height
:
0.3rem
;
margin-right
:
0.1rem
;
}
}
}
}
.game-status-popup
{
.game-status-popup
{
...
...
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