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
3a186f1f
Commit
3a186f1f
authored
Apr 09, 2019
by
穆启卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
往回改 和 bug
parent
9d623af2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
25 deletions
+22
-25
HaveJoinedGame.vue
src/views/HaveJoinedGame.vue
+10
-16
PartakeChallenge.vue
src/views/PartakeChallenge.vue
+6
-5
SignUp.vue
src/views/SignUp.vue
+6
-4
No files found.
src/views/HaveJoinedGame.vue
View file @
3a186f1f
<
template
>
<div
class=
"have-joined-game-page-scroll"
>
<div
class=
"have-joined-game-page"
>
<Title
class=
"page-title"
@
goback=
"goback"
show_back=
"true"
v-if=
"currentPage()==='HaveJoinedGame'"
></Title>
<div
class=
"game-rule-container"
@
click=
"goOtherPage('Rule')"
>
...
...
@@ -114,7 +113,6 @@
</div>
<ShareModal
v-on:close=
"closeShareModal"
v-if=
"showShareModal"
></ShareModal>
</div>
</div>
</template>
<
script
>
...
...
@@ -185,12 +183,12 @@ export default {
}
}
},
updated
()
{
// 显示页面最底部
this
.
$nextTick
(
function
(){
document
.
getElementsByClassName
(
'have-joined-game-page-scroll'
)[
0
].
scrollTop
=
document
.
body
.
scrollHeight
;
})
},
//
updated() {
//
// 显示页面最底部
//
this.$nextTick(function(){
//
document.getElementsByClassName('have-joined-game-page-scroll')[0].scrollTop = document.body.scrollHeight;
//
})
//
},
computed
:
{
swiper
()
{
return
this
.
$refs
.
mySwiper
.
swiper
;
...
...
@@ -244,9 +242,9 @@ export default {
this
.
record_list
=
pageData
.
record_list
;
this
.
current_day
=
pageData
.
current_day
-
1
;
this
.
showSwiper
=
true
;
setTimeout
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
swiper
.
slideTo
(
this
.
current_day
,
1200
,
false
);
}
,
800
);
});
}
});
},
...
...
@@ -387,10 +385,7 @@ export default {
height
:
2.68rem
;
}
.have-joined-game-page-scroll
{
height
:
100vh
;
overflow-y
:
scroll
;
.have-joined-game-page
{
.have-joined-game-page
{
width
:
100%
;
min-height
:
100vh
;
background-color
:
rgb
(
70
,
88
,
149
);
...
...
@@ -402,7 +397,7 @@ export default {
flex-direction
:
column
;
align-items
:
center
;
position
:
relative
;
padding-bottom
:
.3rem
;
padding-bottom
:
1
.3rem
;
box-sizing
:
border-box
;
.page-title
{
width
:
100%
;
...
...
@@ -648,7 +643,6 @@ export default {
text-align
:
center
;
margin-top
:
0.3rem
;
}
}
}
.game-status-popup
{
...
...
src/views/PartakeChallenge.vue
View file @
3a186f1f
...
...
@@ -79,10 +79,10 @@
<!-- 没有关注公众号弹窗 -->
<div
class=
"game-auth-popup"
v-if=
"needFollow"
>
<div
class=
"game-auth-container"
>
<img
class=
"bg-img"
src=
"../images/common/focus_gzh.png"
>
<img
class=
"close-btn"
src=
"../images/common/pop_ic_close.png"
@
click=
"closePopup()"
>
</div>
</div>
<img
:src=
"followInfo.img_url"
alt=
""
style=
"display: none"
>
</div>
</
template
>
...
...
@@ -495,16 +495,17 @@ export default {
align-items
:
center
;
justify-content
:
center
;
.game-auth-container
{
width
:
6.4rem
;
height
:
7.08rem
;
background
:
url(../images/common/focus_gzh.png)
no-repeat
center
center
;
background-size
:
cover
;
border-radius
:
0.08rem
;
padding-bottom
:
0.4rem
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
position
:
relative
;
.bg-img
{
width
:
6.4rem
;
height
:
7.08rem
;
display
:
block
;
}
.close-btn
{
width
:
0.58rem
;
height
:
0.58rem
;
...
...
src/views/SignUp.vue
View file @
3a186f1f
...
...
@@ -39,6 +39,7 @@
<!-- 没有关注公众号弹窗 -->
<div
class=
"game-auth-popup"
v-if=
"needFollow"
>
<div
class=
"game-auth-container"
>
<img
class=
"bg-img"
src=
"../images/common/focus_gzh.png"
>
<img
class=
"close-btn"
src=
"../images/common/pop_ic_close.png"
@
click=
"closePopup()"
>
</div>
</div>
...
...
@@ -439,16 +440,17 @@ export default {
align-items
:
center
;
justify-content
:
center
;
.game-auth-container
{
width
:
6.4rem
;
height
:
7.08rem
;
background
:
url(../images/common/focus_gzh.png)
no-repeat
center
center
;
background-size
:
cover
;
border-radius
:
0.08rem
;
padding-bottom
:
0.4rem
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
position
:
relative
;
.bg-img
{
width
:
6.4rem
;
height
:
7.08rem
;
display
:
block
;
}
.close-btn
{
width
:
0.58rem
;
height
:
0.58rem
;
...
...
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