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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
337 additions
and
340 deletions
+337
-340
HaveJoinedGame.vue
src/views/HaveJoinedGame.vue
+325
-331
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
>
<
template
>
<div
class=
"have-joined-game-page-scroll"
>
<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')"
>
<div
class=
"game-rule-container"
@
click=
"goOtherPage('Rule')"
>
<img
src=
"../images/ChallengeDetail/ic_que.png"
>
<img
src=
"../images/ChallengeDetail/ic_que.png"
>
活动规则
活动规则
</div>
</div>
<div
class=
"game-bonus-container"
>
<div
class=
"game-bonus-container"
>
<div
class=
"bonus-title"
>
本期累计奖励金(元)
</div>
<div
class=
"bonus-title"
>
本期累计奖励金(元)
</div>
<div
class=
"bonus-amount"
>
{{
bet_bonus
|
moneyFormatter
}}
</div>
<div
class=
"bonus-amount"
>
{{
bet_bonus
|
moneyFormatter
}}
</div>
</div>
</div>
<div
class=
"game-title"
>
{{
target_steps
}}
步
{{
record_list
.
length
}}
日耐力赛
</div>
<div
class=
"game-title"
>
{{
target_steps
}}
步
{{
record_list
.
length
}}
日耐力赛
</div>
<div
class=
"game-time"
>
开赛时间:
{{
period_start
}}
—
{{
period_end
}}
</div>
<div
class=
"game-time"
>
开赛时间:
{{
period_start
}}
—
{{
period_end
}}
</div>
<div
class=
"target-people-container"
>
<div
class=
"target-people-container"
>
<img
class=
"target-img"
src=
"../images/HaveJoinedGame/ic_shoes.png"
>
<img
class=
"target-img"
src=
"../images/HaveJoinedGame/ic_shoes.png"
>
<div
class=
"target-people-text"
>
每日
{{
target_steps
}}
步达标
</div>
<div
class=
"target-people-text"
>
每日
{{
target_steps
}}
步达标
</div>
<img
class=
"people-img"
src=
"../images/HaveJoinedGame/ic_people.png"
>
<img
class=
"people-img"
src=
"../images/HaveJoinedGame/ic_people.png"
>
<div
class=
"target-people-text"
>
已有
{{
total_signup
}}
人参赛
</div>
<div
class=
"target-people-text"
>
已有
{{
total_signup
}}
人参赛
</div>
</div>
</div>
<div
class=
"hr"
></div>
<div
class=
"hr"
></div>
<swiper
:options=
"swiperOption"
ref=
"mySwiper"
class=
"game-scroll-container"
v-show=
"showSwiper"
>
<swiper
:options=
"swiperOption"
ref=
"mySwiper"
class=
"game-scroll-container"
v-show=
"showSwiper"
>
<swiper-slide
v-for=
"(item,index) in record_list"
:key=
"index"
>
<swiper-slide
v-for=
"(item,index) in record_list"
:key=
"index"
>
<div
class=
"game-scroll-item"
>
<div
class=
"game-scroll-item"
>
<div
class=
"item-title-status"
>
<div
class=
"item-title-status"
>
<div
class=
"item-title"
>
第
{{
item
.
days
}}
天
</div>
<div
class=
"item-title"
>
第
{{
item
.
days
}}
天
</div>
<div
:class=
"item.status===0?'item-status0':item.status===1?'item-status1':item.status===2?'item-status2':'item-status2'"
>
{{
item
.
status
===
0
?
'未开始'
:
item
.
status
===
1
?
'比赛中'
:
item
.
status
===
2
?
'已结束'
:
'已淘汰'
}}
</div>
<div
:class=
"item.status===0?'item-status0':item.status===1?'item-status1':item.status===2?'item-status2':'item-status2'"
>
{{
item
.
status
===
0
?
'未开始'
:
item
.
status
===
1
?
'比赛中'
:
item
.
status
===
2
?
'已结束'
:
'已淘汰'
}}
</div>
</div>
</div>
<div
class=
"item-income"
v-if=
"(item.status == 1 || item.status == 2) && item.money"
>
<div
class=
"item-income"
v-if=
"(item.status == 1 || item.status == 2) && item.money"
>
<div
class=
"item-amount"
>
{{
item
.
money
|
moneyFormatter
}}
</div>
<div
class=
"item-amount"
>
{{
item
.
money
|
moneyFormatter
}}
</div>
<div
class=
"item-text"
>
(元) 收益
</div>
<div
class=
"item-text"
>
(元) 收益
</div>
</div>
<div
class=
"item-income"
v-else-if=
"(item.status == 1 || item.status == 2) && item.yj_money"
>
<div
class=
"item-amount"
>
{{
item
.
yj_money
|
moneyFormatter
}}
</div>
<div
class=
"item-text"
>
(元) 预计收益
</div>
</div>
<div
class=
"item-income"
v-else
style=
"visibility: hidden;"
>
<div
class=
"item-amount"
>
0.00
</div>
<div
class=
"item-text"
>
(元)
</div>
</div>
<div
class=
"item-progress-num"
>
<div
class=
"item-num"
v-if=
"item.status===0"
>
还有
{{
item
.
format_tsp
||
'0秒'
}}
开始
</div>
<template
v-else
>
<div
class=
"item-progress"
:style=
"'width: '+item.rate/100*2.46+'rem;'"
v-if=
"index ==0 || (index > 0 && record_list[index-1].status != 3)"
></div>
<div
class=
"item-num"
>
<!-- 已淘汰 1-->
<!-- 0: 未开始 1:比赛中 2:已结束 3:已淘汰-->
<span
v-if=
"item.is_complete == 2"
>
未达标(
{{
item
.
step_num
}}
步)
</span>
<span
v-else-if=
"item.status == 3 && item.is_complete != 2"
>
已失去比赛资格
</span>
<span
v-else-if=
"item.is_complete == 1 && item.status == 2"
>
已达标(
{{
item
.
step_num
}}
步)
</span>
<span
v-else-if=
"item.status == 1 && item.is_complete == 1"
>
今天达标了
</span>
<!-- 今天进行中-->
<span
v-else-if=
"item.is_complete == 0 && item.status == 1"
>
(
{{
item
.
step_num
}}
/
{{
target_steps
}}
步)
</span>
</div>
</
template
>
</div>
</div>
</div>
</swiper-slide>
<div
class=
"item-income"
v-else-if=
"(item.status == 1 || item.status == 2) && item.yj_money"
>
<div
class=
"swiper-pagination"
slot=
"pagination"
style=
"opacity: 0"
></div>
<div
class=
"item-amount"
>
{{
item
.
yj_money
|
moneyFormatter
}}
</div>
</swiper>
<div
class=
"item-text"
>
(元) 预计收益
</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=
"goOtherPage('GoXCX')"
v-else
>
提交今日步数
</div>
<div
class=
"next-func-btn"
v-if=
"next_signup"
@
click=
"joinNextGame()"
>
报名下一期
</div>
<!-- 报名成功弹框 -->
<div
class=
"game-status-popup"
v-if=
"userHavePaidGame"
>
<div
class=
"game-status-container"
>
<img
class=
"status-icon"
src=
"../images/HaveJoinedGame/pop_bmcg_title.png"
>
<img
class=
"join-success-banner"
src=
"../images/HaveJoinedGame/pop_bmcg_img.png"
>
<div
class=
"popup-text1"
>
<span>
每日24点前
</span>
打开「步步运动赚」小程序,手动提交今日步数,否则可能导致无法分钱哦!
</div>
</div>
<div
class=
"popup-text2"
>
注:微信暂不支持小程序实时更新步数
</div>
<div
class=
"item-income"
v-else
style=
"visibility: hidden;"
>
<div
class=
"popup-btn1 green-btn"
@
click=
"inviteFriend"
>
邀请好友来参赛
</div>
<div
class=
"item-amount"
>
0.00
</div>
<img
class=
"close-btn"
src=
"../images/common/pop_ic_close.png"
@
click=
"closePayPopup()"
>
<div
class=
"item-text"
>
(元)
</div>
</div>
<div
class=
"item-progress-num"
>
<div
class=
"item-num"
v-if=
"item.status===0"
>
还有
{{
item
.
format_tsp
||
'0秒'
}}
开始
</div>
<template
v-else
>
<div
class=
"item-progress"
:style=
"'width: '+item.rate/100*2.46+'rem;'"
v-if=
"index ==0 || (index > 0 && record_list[index-1].status != 3)"
></div>
<div
class=
"item-num"
>
<!-- 已淘汰 1-->
<!-- 0: 未开始 1:比赛中 2:已结束 3:已淘汰-->
<span
v-if=
"item.is_complete == 2"
>
未达标(
{{
item
.
step_num
}}
步)
</span>
<span
v-else-if=
"item.status == 3 && item.is_complete != 2"
>
已失去比赛资格
</span>
<span
v-else-if=
"item.is_complete == 1 && item.status == 2"
>
已达标(
{{
item
.
step_num
}}
步)
</span>
<span
v-else-if=
"item.status == 1 && item.is_complete == 1"
>
今天达标了
</span>
<!-- 今天进行中-->
<span
v-else-if=
"item.is_complete == 0 && item.status == 1"
>
(
{{
item
.
step_num
}}
/
{{
target_steps
}}
步)
</span>
</div>
</
template
>
</div>
</div>
</swiper-slide>
<div
class=
"swiper-pagination"
slot=
"pagination"
style=
"opacity: 0"
></div>
</swiper>
<div
class=
"func-btn green-btn"
@
click=
"inviteFriend"
v-if=
"record_list.length&&record_list[0].status === 0"
>
邀请好友来参赛
</div>
<div
class=
"func-btn"
@
click=
"goOtherPage('GoXCX')"
v-else
>
提交今日步数
</div>
<div
class=
"next-func-btn"
v-if=
"next_signup"
@
click=
"joinNextGame()"
>
报名下一期
</div>
<!-- 报名成功弹框 -->
<div
class=
"game-status-popup"
v-if=
"userHavePaidGame"
>
<div
class=
"game-status-container"
>
<img
class=
"status-icon"
src=
"../images/HaveJoinedGame/pop_bmcg_title.png"
>
<img
class=
"join-success-banner"
src=
"../images/HaveJoinedGame/pop_bmcg_img.png"
>
<div
class=
"popup-text1"
>
<span>
每日24点前
</span>
打开「步步运动赚」小程序,手动提交今日步数,否则可能导致无法分钱哦!
</div>
</div>
<div
class=
"popup-text2"
>
注:微信暂不支持小程序实时更新步数
</div>
<div
class=
"popup-btn1 green-btn"
@
click=
"inviteFriend"
>
邀请好友来参赛
</div>
<img
class=
"close-btn"
src=
"../images/common/pop_ic_close.png"
@
click=
"closePayPopup()"
>
</div>
</div>
<!-- 恭喜达标弹框 -->
</div>
<div
class=
"game-status-popup"
v-if=
"popupData.window && popupData.daka_done"
>
<!-- 恭喜达标弹框 -->
<div
class=
"game-status-container"
>
<div
class=
"game-status-popup"
v-if=
"popupData.window && popupData.daka_done"
>
<img
class=
"status-icon"
src=
"../images/HaveJoinedGame/pop_gxdb_title.png"
>
<div
class=
"game-status-container"
>
<div
class=
"status-date"
>
第{{popupData.days}}日达标
</div>
<img
class=
"status-icon"
src=
"../images/HaveJoinedGame/pop_gxdb_title.png"
>
<div
class=
"status-money"
>
<div
class=
"status-date"
>
第{{popupData.days}}日达标
</div>
<div
class=
"popup-text3"
>
{{popupData.days===popupData.all_days?'总奖励金':'返还契约金'}}
</div>
<div
class=
"status-money"
>
<div
class=
"popup-text4"
>
<div
class=
"popup-text3"
>
{{popupData.days===popupData.all_days?'总奖励金':'返还契约金'}}
</div>
{{popupData.yj_money|moneyFormatter}}
<div
class=
"popup-text4"
>
<span>
元
</span>
{{popupData.yj_money|moneyFormatter}}
</div>
<span>
元
</span>
<div
class=
"popup-text5"
>
第{{String(popupData.week).substring(4,8)}}期{{popupData.target_steps}}步{{popupData.all_days}}日耐力赛
</div>
</div>
</div>
<div
class=
"popup-text6"
>
{{popupData.target_steps}}步达标,今天走了{{popupData.step_num}}步
</div>
<div
class=
"popup-text5"
>
第{{String(popupData.week).substring(4,8)}}期{{popupData.target_steps}}步{{popupData.all_days}}日耐力赛
</div>
<div
class=
"popup-text7"
>
{{popupData.days===popupData.all_days?'奖励金':'契约金'}}将于12点后返还至钱包中
</div>
<div
class=
"popup-btn1 green-btn"
@
click=
"inviteFriend"
>
邀请好友来参赛
</div>
<img
class=
"close-btn"
src=
"../images/common/pop_ic_close.png"
@
click=
"closePopup()"
>
</div>
</div>
<div
class=
"popup-text6"
>
{{popupData.target_steps}}步达标,今天走了{{popupData.step_num}}步
</div>
<div
class=
"popup-text7"
>
{{popupData.days===popupData.all_days?'奖励金':'契约金'}}将于12点后返还至钱包中
</div>
<div
class=
"popup-btn1 green-btn"
@
click=
"inviteFriend"
>
邀请好友来参赛
</div>
<img
class=
"close-btn"
src=
"../images/common/pop_ic_close.png"
@
click=
"closePopup()"
>
</div>
</div>
<!-- 你已被淘汰弹框 -->
</div>
<div
class=
"game-status-popup"
v-else-if=
"popupData.window && !popupData.daka_done"
>
<!-- 你已被淘汰弹框 -->
<div
class=
"game-status-container"
>
<div
class=
"game-status-popup"
v-else-if=
"popupData.window && !popupData.daka_done"
>
<img
class=
"status-icon"
src=
"../images/HaveJoinedGame/pop_out_title.png"
>
<div
class=
"game-status-container"
>
<div
class=
"status-date"
>
第{{popupData.days}}日未达标
</div>
<img
class=
"status-icon"
src=
"../images/HaveJoinedGame/pop_out_title.png"
>
<div
class=
"status-money"
>
<div
class=
"status-date"
>
第{{popupData.days}}日未达标
</div>
<div
class=
"popup-text3"
>
扣除契约金
</div>
<div
class=
"status-money"
>
<div
class=
"popup-text4"
>
<div
class=
"popup-text3"
>
扣除契约金
</div>
{{popupData.yj_money|moneyFormatter}}
<div
class=
"popup-text4"
>
<span>
元
</span>
{{popupData.yj_money|moneyFormatter}}
</div>
<span>
元
</span>
<div
class=
"popup-text5"
>
第{{String(popupData.week).substring(4,8)}}期{{popupData.target_steps}}步{{popupData.all_days}}日耐力赛
</div>
</div>
</div>
<div
class=
"popup-text6"
>
{{popupData.target_steps}}步达标,今天走了{{popupData.step_num}}步
</div>
<div
class=
"popup-text5"
>
第{{String(popupData.week).substring(4,8)}}期{{popupData.target_steps}}步{{popupData.all_days}}日耐力赛
</div>
<div
class=
"popup-text7"
>
已达标{{popupData.days}}天,契约金已返还至你的钱包
</div>
<div
class=
"popup-btn1 yellow-btn"
@
click=
"joinNextGame()"
>
报名下一期
</div>
<img
class=
"close-btn"
src=
"../images/common/pop_ic_close.png"
@
click=
"closePopup()"
>
</div>
</div>
<div
class=
"popup-text6"
>
{{popupData.target_steps}}步达标,今天走了{{popupData.step_num}}步
</div>
<div
class=
"popup-text7"
>
已达标{{popupData.days}}天,契约金已返还至你的钱包
</div>
<div
class=
"popup-btn1 yellow-btn"
@
click=
"joinNextGame()"
>
报名下一期
</div>
<img
class=
"close-btn"
src=
"../images/common/pop_ic_close.png"
@
click=
"closePopup()"
>
</div>
</div>
<ShareModal
v-on:close=
"closeShareModal"
v-if=
"showShareModal"
></ShareModal>
</div>
</div>
<ShareModal
v-on:close=
"closeShareModal"
v-if=
"showShareModal"
></ShareModal>
</div>
</div>
</template>
</template>
...
@@ -185,12 +183,12 @@ export default {
...
@@ -185,12 +183,12 @@ export default {
}
}
}
}
},
},
updated
()
{
//
updated() {
// 显示页面最底部
//
// 显示页面最底部
this
.
$nextTick
(
function
(){
//
this.$nextTick(function(){
document
.
getElementsByClassName
(
'have-joined-game-page-scroll'
)[
0
].
scrollTop
=
document
.
body
.
scrollHeight
;
//
document.getElementsByClassName('have-joined-game-page-scroll')[0].scrollTop = document.body.scrollHeight;
})
//
})
},
//
},
computed
:
{
computed
:
{
swiper
()
{
swiper
()
{
return
this
.
$refs
.
mySwiper
.
swiper
;
return
this
.
$refs
.
mySwiper
.
swiper
;
...
@@ -244,9 +242,9 @@ export default {
...
@@ -244,9 +242,9 @@ export default {
this
.
record_list
=
pageData
.
record_list
;
this
.
record_list
=
pageData
.
record_list
;
this
.
current_day
=
pageData
.
current_day
-
1
;
this
.
current_day
=
pageData
.
current_day
-
1
;
this
.
showSwiper
=
true
;
this
.
showSwiper
=
true
;
setTimeout
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
swiper
.
slideTo
(
this
.
current_day
,
1200
,
false
);
this
.
swiper
.
slideTo
(
this
.
current_day
,
1200
,
false
);
}
,
800
);
});
}
}
});
});
},
},
...
@@ -387,267 +385,263 @@ export default {
...
@@ -387,267 +385,263 @@ export default {
height
:
2.68rem
;
height
:
2.68rem
;
}
}
.have-joined-game-page-scroll
{
.have-joined-game-page
{
height
:
100vh
;
width
:
100%
;
overflow-y
:
scroll
;
min-height
:
100vh
;
.have-joined-game-page
{
background-color
:
rgb
(
70
,
88
,
149
);
background-image
:
url(../images/SignUp/sy_beijing.png)
;
background-repeat
:
no-repeat
;
background-size
:
100%
;
background-position
:
center
top
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
position
:
relative
;
padding-bottom
:
1.3rem
;
box-sizing
:
border-box
;
.page-title
{
width
:
100%
;
width
:
100%
;
min-height
:
100vh
;
position
:
fixed
;
background-color
:
rgb
(
70
,
88
,
149
)
;
left
:
0
;
background-image
:
url(../images/SignUp/sy_beijing.png)
;
top
:
0
;
background-repeat
:
no-repeat
;
z-index
:
2
;
background-size
:
100%
;
}
background-position
:
center
top
;
.game-rule-container
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
position
:
relative
;
position
:
fixed
;
padding-bottom
:
.3rem
;
top
:
0.34rem
;
box-sizing
:
border-box
;
right
:
0.22rem
;
.page-title
{
font-size
:
0.26rem
;
width
:
100%
;
line-height
:
1
;
position
:
fixed
;
color
:
#465895
;
left
:
0
;
z-index
:
3
;
top
:
0
;
img
{
z-index
:
2
;
width
:
0.3rem
;
height
:
0.3rem
;
margin-right
:
0.1rem
;
}
}
.game-rule-container
{
}
display
:
flex
;
.game-bonus-container
{
align-items
:
center
;
width
:
6.4rem
;
position
:
fixed
;
padding
:
0.3rem
0
;
top
:
0.34rem
;
box-sizing
:
border-box
;
right
:
0.22rem
;
background
:
url("../images/SignUp/shadow-bg.png")
no-repeat
center
center
;
font-size
:
0.26rem
;
background-size
:
contain
;
margin-top
:
2.38rem
;
.bonus-title
{
font-size
:
0.3rem
;
line-height
:
1
;
line-height
:
1
;
color
:
#465895
;
color
:
#fff
;
z-index
:
3
;
text-align
:
center
;
img
{
width
:
0.3rem
;
height
:
0.3rem
;
margin-right
:
0.1rem
;
}
}
}
.game-bonus-container
{
.bonus-amount
{
width
:
6.4rem
;
font-size
:
0.64rem
;
padding
:
0.3rem
0
;
line-height
:
0.8
;
box-sizing
:
border-box
;
color
:
#ffe253
;
background
:
url("../images/SignUp/shadow-bg.png")
no-repeat
center
center
;
text-align
:
center
;
background-size
:
contain
;
margin-top
:
0.26rem
;
margin-top
:
2.38rem
;
.bonus-title
{
font-size
:
0.3rem
;
line-height
:
1
;
color
:
#fff
;
text-align
:
center
;
}
.bonus-amount
{
font-size
:
0.64rem
;
line-height
:
0.8
;
color
:
#ffe253
;
text-align
:
center
;
margin-top
:
0.26rem
;
}
}
}
}
.game-title
{
.game-title
{
font-size
:
0.36rem
;
font-size
:
0.36rem
;
line-height
:
1
;
line-height
:
1
;
color
:
#fff
;
color
:
#fff
;
font-weight
:
bold
;
font-weight
:
bold
;
margin-top
:
0.4rem
;
margin-top
:
0.4rem
;
}
}
.game-time
{
.game-time
{
font-size
:
0.24rem
;
font-size
:
0.24rem
;
line-height
:
1
;
line-height
:
1
;
color
:
#d6dfff
;
color
:
#d6dfff
;
padding
:
0.12rem
0.38rem
;
padding
:
0.12rem
0.38rem
;
border-radius
:
0.48rem
;
border-radius
:
0.48rem
;
background
:
#556cb6
;
background
:
#556cb6
;
margin-top
:
0.14rem
;
margin-top
:
0.14rem
;
}
}
.target-people-container
{
.target-people-container
{
display
:
flex
;
display
:
flex
;
margin-top
:
0.34rem
;
margin-top
:
0.34rem
;
.target-img
{
.target-img
{
width
:
0.3rem
;
width
:
0.3rem
;
height
:
0.26rem
;
height
:
0.26rem
;
}
}
.people-img
{
.people-img
{
width
:
0.28rem
;
width
:
0.28rem
;
height
:
0.24rem
;
height
:
0.24rem
;
margin-left
:
0.5rem
;
margin-left
:
0.5rem
;
}
}
.target-people-text
{
.target-people-text
{
font-size
:
0.26rem
;
font-size
:
0.26rem
;
line-height
:
1
;
line-height
:
1
;
color
:
#fff
;
color
:
#fff
;
margin-left
:
0.08rem
;
margin-left
:
0.08rem
;
}
}
}
}
.hr
{
width
:
3rem
;
height
:
0.01rem
;
background
:
#6f82c3
;
margin-top
:
0.5rem
;
}
.hr
{
.game-scroll-container
{
width
:
3rem
;
width
:
100%
;
height
:
0.01rem
;
height
:
2.68rem
;
background
:
#6f82c3
;
margin-top
:
0.4rem
;
margin-top
:
0.5rem
;
padding
:
0
0.3rem
;
box-sizing
:
border-box
;
overflow-x
:
scroll
;
white-space
:
nowrap
;
-webkit-overflow-scrolling
:
touch
;
&::-webkit-scrollbar
{
display
:
none
;
}
}
.game-scroll-
container
{
.game-scroll-
item
{
width
:
100%
;
width
:
5.1rem
;
height
:
2.68rem
;
height
:
2.68rem
;
margin-top
:
0.4rem
;
background-image
:
url(../images/HaveJoinedGame/img_card.png)
;
padding
:
0
0.3rem
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
padding-top
:
0.24rem
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow-x
:
scroll
;
margin-left
:
0.2rem
;
white-space
:
nowrap
;
display
:
inline-block
;
-webkit-overflow-scrolling
:
touch
;
vertical-align
:
top
;
&::-webkit-scrollbar
{
display
:
none
;
&:first-child
{
margin-left
:
0
;
}
}
.game-scroll-item
{
.item-title-status
{
width
:
5.1rem
;
width
:
100%
;
height
:
2.68rem
;
padding
:
0
0.24rem
0
0.3rem
;
background-image
:
url(../images/HaveJoinedGame/img_card.png)
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
padding-top
:
0.24rem
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin-left
:
0.2rem
;
display
:
flex
;
display
:
inline-block
;
align-items
:
center
;
vertical-align
:
top
;
justify-content
:
space-between
;
&:first-child
{
.item-title
{
margin-left
:
0
;
font-size
:
0.3rem
;
line-height
:
1
;
color
:
#fff
;
}
}
.item-title-status
{
.item-status0
{
width
:
100%
;
padding
:
0
0.16rem
;
padding
:
0
0.24rem
0
0.3rem
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
display
:
flex
;
background
:
rgba
(
255
,
255
,
255
,
0.4
);
align-items
:
center
;
font-size
:
0.26rem
;
justify-content
:
space-between
;
line-height
:
0.42rem
;
color
:
#fff
;
.item-title
{
}
font-size
:
0.3rem
;
line-height
:
1
;
color
:
#fff
;
}
.item-status0
{
padding
:
0
0.16rem
;
box-sizing
:
border-box
;
background
:
rgba
(
255
,
255
,
255
,
0.4
);
font-size
:
0.26rem
;
line-height
:
0.42rem
;
color
:
#fff
;
}
.item-status1
{
padding
:
0
0.16rem
;
box-sizing
:
border-box
;
background
:
#fcf776
;
font-size
:
0.26rem
;
line-height
:
0.42rem
;
color
:
#703e0b
;
}
.item-status2
{
.item-status1
{
padding
:
0
0.16rem
;
padding
:
0
0.16rem
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
background
:
#a5a5a5
;
background
:
#fcf776
;
font-size
:
0.26rem
;
font-size
:
0.26rem
;
line-height
:
0.42rem
;
line-height
:
0.42rem
;
color
:
#fff
;
color
:
#703e0b
;
}
}
}
.item-income
{
.item-status2
{
width
:
100%
;
padding
:
0
0.16rem
;
padding-left
:
0.3rem
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin-top
:
0.4rem
;
background
:
#a5a5a5
;
display
:
flex
;
font-size
:
0.26rem
;
align-items
:
flex-end
;
line-height
:
0.42rem
;
color
:
#fff
;
.item-amount
{
}
font-size
:
0.48rem
;
}
line-height
:
0.8
;
color
:
#fcf776
;
}
.item-text
{
.item-income
{
font-size
:
0.26rem
;
width
:
100%
;
line-height
:
1
;
padding-left
:
0.3rem
;
color
:
#dbf3ff
;
box-sizing
:
border-box
;
margin-left
:
0.1rem
;
margin-top
:
0.4rem
;
}
display
:
flex
;
align-items
:
flex-end
;
.item-amount
{
font-size
:
0.48rem
;
line-height
:
0.8
;
color
:
#fcf776
;
}
}
.item-progress-num
{
.item-text
{
width
:
100%
;
font-size
:
0.26rem
;
padding
:
0
0.3rem
;
line-height
:
1
;
box-sizing
:
border-box
;
color
:
#dbf3ff
;
margin-top
:
0.58rem
;
margin-left
:
0.1rem
;
display
:
flex
;
}
align-items
:
center
;
}
justify-content
:
space-between
;
.item-progress
{
.item-progress-num
{
width
:
100%
;
padding
:
0
0.3rem
;
box-sizing
:
border-box
;
margin-top
:
0.58rem
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
.item-progress
{
height
:
0.06rem
;
background
:
#fff
;
position
:
relative
;
&:after
{
content
:
""
;
width
:
2.46rem
;
height
:
0.06rem
;
height
:
0.06rem
;
background
:
#fff
;
background
:
rgba
(
255
,
255
,
255
,
0.5
);
position
:
relative
;
position
:
absolute
;
&:after
{
content
:
""
;
width
:
2.46rem
;
height
:
0.06rem
;
background
:
rgba
(
255
,
255
,
255
,
0.5
);
position
:
absolute
;
}
}
}
}
.item-num
{
.item-num
{
font-size
:
0.26rem
;
font-size
:
0.26rem
;
line-height
:
1
;
line-height
:
1
;
color
:
#fff
;
color
:
#fff
;
}
}
}
}
}
}
}
}
.func-btn
{
.func-btn
{
width
:
5.6rem
;
width
:
5.6rem
;
border-radius
:
0.92rem
;
border-radius
:
0.92rem
;
background
:
#fabd21
;
background
:
#fabd21
;
font-size
:
0.4rem
;
font-size
:
0.4rem
;
line-height
:
0.92rem
;
line-height
:
0.92rem
;
color
:
#fff
;
color
:
#fff
;
font-weight
:
bold
;
font-weight
:
bold
;
text-align
:
center
;
text-align
:
center
;
margin-top
:
1.2rem
;
margin-top
:
1.2rem
;
}
}
.green-btn
{
.green-btn
{
background
:
#1fdbb1
;
background
:
#1fdbb1
;
}
}
.next-func-btn
{
.next-func-btn
{
width
:
5.6rem
;
width
:
5.6rem
;
border-radius
:
0.92rem
;
border-radius
:
0.92rem
;
background
:
#0ebfdf
;
background
:
#0ebfdf
;
font-size
:
0.4rem
;
font-size
:
0.4rem
;
line-height
:
0.92rem
;
line-height
:
0.92rem
;
color
:
#fff
;
color
:
#fff
;
font-weight
:
bold
;
font-weight
:
bold
;
text-align
:
center
;
text-align
:
center
;
margin-top
:
0.3rem
;
margin-top
:
0.3rem
;
}
}
}
}
}
...
...
src/views/PartakeChallenge.vue
View file @
3a186f1f
...
@@ -79,10 +79,10 @@
...
@@ -79,10 +79,10 @@
<!-- 没有关注公众号弹窗 -->
<!-- 没有关注公众号弹窗 -->
<div
class=
"game-auth-popup"
v-if=
"needFollow"
>
<div
class=
"game-auth-popup"
v-if=
"needFollow"
>
<div
class=
"game-auth-container"
>
<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()"
>
<img
class=
"close-btn"
src=
"../images/common/pop_ic_close.png"
@
click=
"closePopup()"
>
</div>
</div>
</div>
</div>
<img
:src=
"followInfo.img_url"
alt=
""
style=
"display: none"
>
</div>
</div>
</
template
>
</
template
>
...
@@ -495,16 +495,17 @@ export default {
...
@@ -495,16 +495,17 @@ export default {
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
.game-auth-container
{
.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
;
border-radius
:
0.08rem
;
padding-bottom
:
0.4rem
;
padding-bottom
:
0.4rem
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
position
:
relative
;
position
:
relative
;
.bg-img
{
width
:
6.4rem
;
height
:
7.08rem
;
display
:
block
;
}
.close-btn
{
.close-btn
{
width
:
0.58rem
;
width
:
0.58rem
;
height
:
0.58rem
;
height
:
0.58rem
;
...
...
src/views/SignUp.vue
View file @
3a186f1f
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
<!-- 没有关注公众号弹窗 -->
<!-- 没有关注公众号弹窗 -->
<div
class=
"game-auth-popup"
v-if=
"needFollow"
>
<div
class=
"game-auth-popup"
v-if=
"needFollow"
>
<div
class=
"game-auth-container"
>
<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()"
>
<img
class=
"close-btn"
src=
"../images/common/pop_ic_close.png"
@
click=
"closePopup()"
>
</div>
</div>
</div>
</div>
...
@@ -439,16 +440,17 @@ export default {
...
@@ -439,16 +440,17 @@ export default {
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
.game-auth-container
{
.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
;
border-radius
:
0.08rem
;
padding-bottom
:
0.4rem
;
padding-bottom
:
0.4rem
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
position
:
relative
;
position
:
relative
;
.bg-img
{
width
:
6.4rem
;
height
:
7.08rem
;
display
:
block
;
}
.close-btn
{
.close-btn
{
width
:
0.58rem
;
width
:
0.58rem
;
height
:
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