Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hello_taobao
Project
Project
Details
Activity
Releases
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
wildfirecode13
hello_taobao
Commits
86fed16f
Commit
86fed16f
authored
Sep 11, 2020
by
汪欢
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab2.dui88.com/wanghongyuan/hello_taobao
parents
7f695184
1e07b1a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
pagejie_shu_ye.js
dist/pages/pagejie_shu_ye/pagejie_shu_ye.js
+2
-2
pageshou_ye.js
dist/pages/pageshou_ye/pageshou_ye.js
+1
-1
No files found.
dist/pages/pagejie_shu_ye/pagejie_shu_ye.js
View file @
86fed16f
...
...
@@ -25,8 +25,8 @@ Page({
onLoad
(
props
)
{
// console.log('fuck', JSON.parse(props.data));
const
datstr
=
decodeURIComponent
(
props
.
data
);
const
{
prize
,
openPrizeStatus
,
isShowPrize
}
=
JSON
.
parse
(
datstr
)
;
const
dat
=
JSON
.
parse
(
datstr
);
const
{
prize
,
openPrizeStatus
,
isShowPrize
}
=
dat
;
// isShowPrize只展示一次
if
(
isShowPrize
)
{
// 有奖品
...
...
dist/pages/pageshou_ye/pageshou_ye.js
View file @
86fed16f
...
...
@@ -101,7 +101,7 @@ Page({
// vipInfo..data.isVip = true;
if
(
isEnd
(
endTime
)
&&
(
openPrizeStatus
==
OPEN_PRIZE_STATUS
.
SUCCESS
||
openPrizeStatus
==
OPEN_PRIZE_STATUS
.
NOT_OPEN
))
{
//活动结束,开奖成功or不开奖
let
datstr
=
JSON
.
stringify
({
prize
:
prize
,
openPrizeStatus
:
prize
,
isShowPrize
:
p
rize
});
let
datstr
=
JSON
.
stringify
({
prize
:
prize
,
openPrizeStatus
:
prize
,
isShowPrize
:
isShowP
rize
});
datstr
=
encodeURIComponent
(
datstr
);
my
.
redirectTo
({
url
:
'/pages/pagejie_shu_ye/pagejie_shu_ye?data='
+
datstr
});
}
else
{
...
...
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