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
e6553646
Commit
e6553646
authored
Mar 29, 2019
by
穆启卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增微信小程序引导页
parent
4293f451
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
84 additions
and
2 deletions
+84
-2
bg_code.jpg
src/images/GoXCX/bg_code.jpg
+0
-0
router.js
src/router.js
+6
-0
GoXCX.vue
src/views/GoXCX.vue
+76
-0
HaveJoinedGame.vue
src/views/HaveJoinedGame.vue
+1
-1
SignUp.vue
src/views/SignUp.vue
+1
-1
No files found.
src/images/GoXCX/bg_code.jpg
0 → 100644
View file @
e6553646
26.4 KB
src/router.js
View file @
e6553646
...
...
@@ -19,6 +19,7 @@ import AmountDetail from './views/AmountDetail.vue'
import
PartakeChallenge
from
'./views/PartakeChallenge.vue'
import
ChallengeDetail
from
'./views/ChallengeDetail.vue'
import
HaveJoinedGame
from
'./views/HaveJoinedGame.vue'
import
GoXCX
from
'./views/GoXCX.vue'
Vue
.
use
(
Router
)
...
...
@@ -99,6 +100,11 @@ export default new Router({
component
:
HaveJoinedGame
},
{
path
:
'/GoXCX'
,
name
:
'GoXCX'
,
component
:
GoXCX
},
{
path
:
'/MainPage'
,
name
:
'MainPage'
,
component
:
MainPage
,
...
...
src/views/GoXCX.vue
0 → 100644
View file @
e6553646
<
template
>
<div
class=
"go-xcx-page"
>
<Title
@
goback=
"goback"
show_back=
"true"
arrowColor=
"black"
></Title>
<div
class=
"page-banner"
>
<img
class=
"bg"
src=
"../images/GoXCX/bg_code.jpg"
>
<img
class=
"qrcode"
:src=
"qrcode"
>
</div>
<div
class=
"tip-title"
>
如何完成打卡?
</div>
<div
class=
"tip-content"
>
1、识别上方二维码,打开「运动打卡」小程序
</div>
<div
class=
"tip-content"
>
2、在小程序中授权获取每日微信运动步数
</div>
<div
class=
"tip-content"
>
3、退出小程序中,返回打卡页面
</div>
<div
class=
"tip-content"
>
4、成功获取每日微信运动步数,打卡成功
</div>
</div>
</
template
>
<
script
>
import
Title
from
"@/components/Title.vue"
;
export
default
{
name
:
"GoXCX"
,
components
:
{
Title
,
},
data
()
{
return
{
qrcode
:
'1231231231231'
};
},
methods
:
{
goback
()
{
history
.
go
(
-
1
);
},
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.go-xcx-page
{
width
:
100%
;
min-height
:
100vh
;
background
:
#F2F2F2
;
.page-banner
{
width
:
100%
;
height
:
6.4rem
;
position
:
relative
;
.bg
{
width
:
100%
;
height
:
6.4rem
;
display
:
block
;
}
.qrcode
{
width
:
3.36rem
;
height
:
3.36rem
;
background
:
#fff
;
border-radius
:
50%
;
overflow
:
hidden
;
position
:
absolute
;
top
:
1.82rem
;
left
:
50%
;
transform
:
translateX
(
-50%
);
}
}
.tip-title
{
padding
:
0
.4rem
;
margin
:
.7rem
0
.32rem
;
font-size
:
.3rem
;
line-height
:
1
;
color
:
#333
;
}
.tip-content
{
padding
:
0
.4rem
;
font-size
:
.26rem
;
line-height
:
.44rem
;
color
:
#888
;
}
}
</
style
>
\ No newline at end of file
src/views/HaveJoinedGame.vue
View file @
e6553646
...
...
@@ -67,7 +67,7 @@
</div>
</div>
</div>
<div
class=
"func-btn"
>
提交今日步数
</div>
<div
class=
"func-btn"
@
click=
"goOtherPage('GoXCX')"
>
提交今日步数
</div>
</div>
</template>
...
...
src/views/SignUp.vue
View file @
e6553646
...
...
@@ -237,7 +237,7 @@
background-color
:
rgb
(
70
,
88
,
149
);
background-image
:
url(../images/SignUp/sy_beijing.png)
;
background-repeat
:
no-repeat
;
background-size
:
contain
;
background-size
:
100%
;
background-attachment
:
scroll
;
position
:
relative
;
display
:
flex
;
...
...
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