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
84b03adb
Commit
84b03adb
authored
Apr 02, 2019
by
Caiyijun
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'remotes/origin/mutou' into dev_yijun
parents
4bb21c46
b4bdaf0c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
HelloWorld.vue
src/components/HelloWorld.vue
+1
-1
Author.vue
src/views/Author.vue
+2
-2
ChallengeDetail.vue
src/views/ChallengeDetail.vue
+1
-1
HaveJoinedGame.vue
src/views/HaveJoinedGame.vue
+1
-1
MainPage.vue
src/views/MainPage.vue
+1
-1
No files found.
src/components/HelloWorld.vue
View file @
84b03adb
...
...
@@ -58,7 +58,7 @@
wx
.
config
({
debug
:
false
,
// 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId
:
"wx
9af64967a0d40159
"
,
// 必填,公众号的唯一标识
appId
:
"wx
d1aab06cc88d0a5e
"
,
// 必填,公众号的唯一标识
timestamp
:
res
.
timestamp
,
// 必填,生成签名的时间戳
nonceStr
:
res
.
nonceStr
,
// 必填,生成签名的随机串
signature
:
res
.
signature
,
// 必填,签名
...
...
src/views/Author.vue
View file @
84b03adb
...
...
@@ -20,7 +20,7 @@
let
local_hash
=
location
.
hash
;
window
.
localStorage
.
setItem
(
"local_hash"
,
local_hash
);
let
redirect_uri
=
encodeURIComponent
(
`
${
location
.
origin
}${
location
.
pathname
}
`
);
location
.
replace
(
`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx
9af64967a0d40159
&redirect_uri=
${
redirect_uri
}
&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`
);
location
.
replace
(
`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx
d1aab06cc88d0a5e
&redirect_uri=
${
redirect_uri
}
&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`
);
}
else
{
console
.
log
(
"拿到code"
,
code
);
console
.
log
(
"请求登录"
);
...
...
@@ -54,7 +54,7 @@
// setTimeout(() => {
// // this.$router.go("/MyData");
location
.
replace
(
`https://miniapp-api.wxatech.com/app_pages/
read
_daka.html?#
${
last_url
}
`
`https://miniapp-api.wxatech.com/app_pages/
walk
_daka.html?#
${
last_url
}
`
);
// }, 60000);
}
...
...
src/views/ChallengeDetail.vue
View file @
84b03adb
...
...
@@ -35,7 +35,7 @@
</div>
</div>
</div>
<div
class=
"share-btn"
@
click=
"inviteFriend"
>
邀请好友来参赛
0
</div>
<div
class=
"share-btn"
@
click=
"inviteFriend"
>
邀请好友来参赛
</div>
<ShareModal
v-on:close=
"closeShareModal"
v-if=
"showShareModal"
...
...
src/views/HaveJoinedGame.vue
View file @
84b03adb
...
...
@@ -158,7 +158,7 @@ export default {
if
(
sessionStorage
.
getItem
(
"bushuType"
))
{
grade
=
sessionStorage
.
getItem
(
"bushuType"
);
}
daka_status_detail
(
this
.
$route
.
query
.
week
=
20190401
,
grade
).
then
(
res
=>
{
daka_status_detail
(
this
.
$route
.
query
.
week
,
grade
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
const
pageData
=
res
.
data
;
if
(
pageData
.
record_list
&&
pageData
.
record_list
.
length
)
{
...
...
src/views/MainPage.vue
View file @
84b03adb
...
...
@@ -3,7 +3,7 @@
<router-view/>
<div
class=
"bottom-bar"
>
<div
class=
"bottom-tab"
@
click=
"selectTab('SignUp')"
>
<div
:class=
"['text', currentPage()==='SignUp'?'active':'']"
>
7
天健步挑战赛
</div>
<div
:class=
"['text', currentPage()==='SignUp'?'active':'']"
>
3
天健步挑战赛
</div>
</div>
<div
class=
"bottom-tab"
@
click=
"selectTab('nowGame')"
>
<div
:class=
"['text', (currentPage()==='MainPagePartakeChallenge'||currentPage()==='MainPageHaveJoinedGame')?'active':'']"
>
当前比赛
</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