Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_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
new_taobao
Commits
4152d1a4
Commit
4152d1a4
authored
Oct 09, 2020
by
AU-Pro-mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b96c3ab4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
homePage.js
taobao_mini/client/pages/homePage/homePage.js
+13
-3
output.js
taobao_mini/client/pages/pagecanvas/output.js
+1
-1
No files found.
taobao_mini/client/pages/homePage/homePage.js
View file @
4152d1a4
...
...
@@ -368,7 +368,8 @@ Page({
},
btnImg
:
'//yun.duiba.com.cn/spark/assets/我也要赢大奖.a22bebbd5be4a6e557ee4ef611216ba73b729d10.png'
})
}
else
{
if
(
!
data
.
isVip
||
data
.
url
)
{
// old code: if (!data.isVip || data.url) {
if
(
code
==
'811001'
&&
data
.
url
)
{
app
.
vipUrl
=
data
.
url
this
.
showCommonMoadalT1
({
title
:
'温馨提示'
,
...
...
@@ -380,6 +381,15 @@ Page({
navigateToOutside
(
data
.
url
)
},
btnImg
:
'//yun.duiba.com.cn/spark/assets/一秒成为会员.10be8a8ede8f6c62eadb005744dc54ae182911d9.png'
})
}
else
if
(
code
==
'810001'
)
{
this
.
showCommonMoadalT1
({
title
:
'很遗憾'
,
content
:
'新会员才能助力哦~'
,
confirmCallback
:
()
=>
{
this
.
closeCommonModalT1
()
},
btnImg
:
'//yun.duiba.com.cn/spark/assets/我也要赢大奖.a22bebbd5be4a6e557ee4ef611216ba73b729d10.png'
})
}
else
{
commonToast
(
message
);
}
...
...
@@ -388,7 +398,7 @@ Page({
.
catch
(
err
=>
{
console
.
log
(
`%c助力失败!!!\n`
+
'-----yd.doHelp
\
n'
,
ConsoleStyle
,
err
)
// commonToast(err.data.url)
if
(
err
.
data
&&
err
.
data
.
url
)
{
if
(
err
.
data
&&
err
.
code
===
'811001'
&&
err
.
data
.
url
)
{
app
.
vipUrl
=
err
.
data
.
url
this
.
showCommonMoadalT1
({
title
:
'温馨提示'
,
...
...
@@ -401,7 +411,7 @@ Page({
},
btnImg
:
'//yun.duiba.com.cn/spark/assets/一秒成为会员.10be8a8ede8f6c62eadb005744dc54ae182911d9.png'
})
}
else
if
(
err
.
code
===
'
testtesttest
'
)
{
}
else
if
(
err
.
code
===
'
810001
'
)
{
this
.
showCommonMoadalT1
({
title
:
'很遗憾'
,
content
:
'新会员才能助力哦~'
,
...
...
taobao_mini/client/pages/pagecanvas/output.js
View file @
4152d1a4
...
...
@@ -5231,7 +5231,7 @@ var SuccessNoAwardPanel = (function (_super) {
closeBtn
.
y
=
-
20
;
this
.
addChild
(
closeBtn
);
closeBtn
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
back
,
this
);
var
text
=
Tools_1
.
Tools
.
getText
(
this
.
data
&&
this
.
data
.
type
==
6
?
"抽奖次数+
1"
:
"奖品与你擦肩而过,
\n
再接再励哦~"
,
30
,
"#fff"
,
FYGE
.
TEXT_ALIGN
.
CENTER
);
var
text
=
Tools_1
.
Tools
.
getText
(
this
.
data
&&
this
.
data
.
type
==
6
?
"抽奖次数+
"
+
this
.
data
.
num
:
"奖品与你擦肩而过,
\n
再接再励哦~"
,
30
,
"#fff"
,
FYGE
.
TEXT_ALIGN
.
CENTER
);
text
.
x
=
bg
.
width
-
text
.
textWidth
>>
1
;
text
.
y
=
bg
.
height
-
text
.
textHeight
>>
1
;
this
.
addChild
(
text
);
...
...
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