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
1f8e51d8
Commit
1f8e51d8
authored
Apr 25, 2019
by
穆启卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
已报名XXX期和同页面跳转注释了 改成 邀请好友来比赛
邀请好友来比赛 改成 邀请好友一起比赛
parent
5dff25e9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
13 deletions
+15
-13
ChallengeDetail.vue
src/views/ChallengeDetail.vue
+1
-1
HaveJoinedGame.vue
src/views/HaveJoinedGame.vue
+13
-11
SignUp.vue
src/views/SignUp.vue
+1
-1
No files found.
src/views/ChallengeDetail.vue
View file @
1f8e51d8
...
...
@@ -35,7 +35,7 @@
</div>
</div>
</div>
<div
class=
"share-btn"
@
click=
"inviteFriend"
v-if=
"pageData.daka_signup"
>
邀请好友
来参
赛
</div>
<div
class=
"share-btn"
@
click=
"inviteFriend"
v-if=
"pageData.daka_signup"
>
邀请好友
一起比
赛
</div>
<div
class=
"share-btn"
style=
"background: #fabd21;"
@
click=
"goOtherPage('PartakeChallenge')"
v-else
>
立即报名
{{
pageData
.
newGameWeek
}}
期
</div>
<ShareModal
v-on:close=
"closeShareModal"
v-if=
"showShareModal"
></ShareModal>
</div>
...
...
src/views/HaveJoinedGame.vue
View file @
1f8e51d8
...
...
@@ -63,9 +63,10 @@
</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 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=
"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"
v-if=
"next_signup"
@
click=
"joinNextGame()"
>
{{next_period?'邀请好友一起比赛':'报名下一期'}}
</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>
...
...
@@ -79,7 +80,7 @@
<span>
每日24点前
</span>
打开「步步运动赚」小程序,手动提交今日步数,否则可能导致无法分钱哦!
</div>
<div
class=
"popup-text2"
>
注:微信暂不支持小程序实时更新步数
</div>
<div
class=
"popup-btn1 green-btn"
@
click=
"inviteFriend"
>
邀请好友
来参
赛
</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>
...
...
@@ -98,7 +99,7 @@
</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>
<div
class=
"popup-btn1 green-btn"
@
click=
"inviteFriend"
>
邀请好友
一起比
赛
</div>
<img
class=
"close-btn"
src=
"../images/common/pop_ic_close.png"
@
click=
"closePopup()"
>
</div>
</div>
...
...
@@ -227,13 +228,14 @@ export default {
},
joinNextGame
()
{
if
(
this
.
next_period
)
{
this
.
$router
.
push
({
name
:
"HaveJoinedGame"
,
query
:
{
week
:
this
.
next_period
}
});
this
.
reload
();
// this.$router.push({
// name: "HaveJoinedGame",
// query: {
// week: this.next_period
// }
// });
// this.reload();
this
.
inviteFriend
();
}
else
{
this
.
$router
.
push
({
name
:
"PartakeChallenge"
,
...
...
src/views/SignUp.vue
View file @
1f8e51d8
...
...
@@ -30,7 +30,7 @@
<!-- status 1 未开始 0 比赛中 2 已结束 3 已淘汰-->
<!-- already_join 0 未参赛 1 已参赛 -->
<div
class=
"card-btn"
v-if=
"item.status === 1 && item.already_join === 0"
>
参与挑战
</div>
<div
class=
"card-btn"
v-else-if=
"item.status === 1 && item.already_join === 1"
@
click
.
stop=
"inviteFriend"
>
邀请好友
来参
赛
</div>
<div
class=
"card-btn"
v-else-if=
"item.status === 1 && item.already_join === 1"
@
click
.
stop=
"inviteFriend"
>
邀请好友
一起比
赛
</div>
<div
class=
"statusnormal"
v-else
>
<div
v-if=
"item.status === 0 && item.already_join === 1"
>
立即打卡
</div>
<div
v-else-if=
"item.status === 3 && item.already_join === 1"
>
已淘汰
</div>
...
...
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