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
6cb75b98
Commit
6cb75b98
authored
Oct 17, 2020
by
zhangjinzhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码暂存
parent
6ef90dfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
pageshou_ye.js
taobao_mini/client/pages/pageshou_ye/pageshou_ye.js
+8
-6
No files found.
taobao_mini/client/pages/pageshou_ye/pageshou_ye.js
View file @
6cb75b98
...
@@ -88,7 +88,7 @@ Page({
...
@@ -88,7 +88,7 @@ Page({
prizeimg
:
""
,
prizeimg
:
""
,
prizename
:
""
,
prizename
:
""
,
prizetype
:
""
,
prizetype
:
""
,
prizeid
:
""
,
prizeid
:
""
,
prizebtntype
:
1
,
prizebtntype
:
1
,
attionfrom
:
""
,
//啥功能gift--人气抽奖,prize--中奖弹窗
attionfrom
:
""
,
//啥功能gift--人气抽奖,prize--中奖弹窗
//info弹窗
//info弹窗
...
@@ -187,7 +187,7 @@ Page({
...
@@ -187,7 +187,7 @@ Page({
if
(
dianame
==
"zhuli"
)
{
if
(
dianame
==
"zhuli"
)
{
this
.
openSp
();
this
.
openSp
();
}
else
if
(
dianame
==
"xinshou"
)
{
}
else
if
(
dianame
==
"xinshou"
)
{
this
.
openGift
();
this
.
openGift
();
}
else
if
(
dianame
==
"jinxi"
)
{
}
else
if
(
dianame
==
"jinxi"
)
{
this
.
openInfo
();
this
.
openInfo
();
...
@@ -207,14 +207,16 @@ Page({
...
@@ -207,14 +207,16 @@ Page({
checkOpenAttion
()
{
checkOpenAttion
()
{
let
needattion
=
this
.
data
.
needattion
;
let
needattion
=
this
.
data
.
needattion
;
let
dialogsData
=
this
.
data
.
dialogsData
;
let
dialogsData
=
this
.
data
.
dialogsData
;
if
(
dialogsData
.
length
>
0
&&
needattion
)
{
if
(
dialogsData
.
length
>
0
&&
needattion
)
{
this
.
setData
({
this
.
setData
({
needattion
:
false
needattion
:
false
});
});
this
.
openDialogSx
();
this
.
openDialogSx
();
}
else
{
}
else
{
setTimeout
(()
=>
{
this
.
changeBtnReady
(
true
);
},
200
);
}
}
},
},
...
@@ -1165,7 +1167,7 @@ Page({
...
@@ -1165,7 +1167,7 @@ Page({
},
1000
);
},
1000
);
return
;
return
;
}
}
let
docardata
=
await
API
.
doCardDraw
().
catch
(
res
=>
{
let
docardata
=
await
API
.
doCardDraw
().
catch
(
res
=>
{
commonToast
(
res
&&
res
.
message
);
commonToast
(
res
&&
res
.
message
);
})
||
{};
})
||
{};
...
@@ -1210,7 +1212,7 @@ Page({
...
@@ -1210,7 +1212,7 @@ Page({
// }, 1000);
// }, 1000);
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
changeBtnReady
(
true
);
this
.
changeBtnReady
(
true
);
},
1000
);
},
1000
);
},
},
/**
/**
...
...
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