Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
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
王剑峰
babycare_xiaoxiao
Commits
7eecdbc4
Commit
7eecdbc4
authored
Feb 20, 2021
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
m
parent
2ec2967e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
6 deletions
+26
-6
workspace.xml
.idea/workspace.xml
+10
-3
output.js
output.js
+12
-1
output.js.map
output.js.map
+1
-1
LotteryPanel.ts
src/panels/LotteryPanel.ts
+2
-0
MapUI.ts
src/scene/map/MapUI.ts
+1
-1
No files found.
.idea/workspace.xml
View file @
7eecdbc4
...
@@ -3,10 +3,10 @@
...
@@ -3,10 +3,10 @@
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"0d3cb18d-e144-41a0-bc8b-4877c2e1fef1"
name=
"默认的"
comment=
""
>
<list
default=
"true"
id=
"0d3cb18d-e144-41a0-bc8b-4877c2e1fef1"
name=
"默认的"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/mock/miniTb/feile.drawTopLevelPrize.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/mock/miniTb/feile.drawTopLevelPrize.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/output.js"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/output.js"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/output.js"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/output.js"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/output.js.map"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/output.js.map"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/output.js.map"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/output.js.map"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/panels/LotteryPanel.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/panels/LotteryPanel.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/panels/LotteryPanel.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/panels/LotteryPanel.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/map/MapUI.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/MapUI.ts"
afterDir=
"false"
/>
</list>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
<workItem
from=
"1612577003915"
duration=
"21094000"
/>
<workItem
from=
"1612577003915"
duration=
"21094000"
/>
<workItem
from=
"1612662929222"
duration=
"40609000"
/>
<workItem
from=
"1612662929222"
duration=
"40609000"
/>
<workItem
from=
"1613698993022"
duration=
"22309000"
/>
<workItem
from=
"1613698993022"
duration=
"22309000"
/>
<workItem
from=
"1613785579125"
duration=
"1
1959
000"
/>
<workItem
from=
"1613785579125"
duration=
"1
2271
000"
/>
</task>
</task>
<task
id=
"LOCAL-00001"
summary=
"斐乐消消乐"
>
<task
id=
"LOCAL-00001"
summary=
"斐乐消消乐"
>
<created>
1612581213298
</created>
<created>
1612581213298
</created>
...
@@ -359,7 +359,14 @@
...
@@ -359,7 +359,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1613793806573
</updated>
<updated>
1613793806573
</updated>
</task>
</task>
<option
name=
"localTasksCounter"
value=
"33"
/>
<task
id=
"LOCAL-00033"
summary=
"m"
>
<created>
1613810042956
</created>
<option
name=
"number"
value=
"00033"
/>
<option
name=
"presentableId"
value=
"LOCAL-00033"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1613810042956
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"34"
/>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
output.js
View file @
7eecdbc4
...
@@ -11327,6 +11327,13 @@ var LotteryPanel = (function (_super) {
...
@@ -11327,6 +11327,13 @@ var LotteryPanel = (function (_super) {
return e.type != 5;
return e.type != 5;
});
});
p = [91, 731];
p = [91, 731];
list.push({
activityId: "602f33eb086e65bb22759048",
image: "https://yun.duiba.com.cn/aurora/assets/20a5c02da9d2eb507af7f5dda581083798e8aa84.png",
name: "谢谢参与",
type: 5,
_id: "thanks",
});
this.lotScroll = this.addChild(new LotteryScroll(list));
this.lotScroll = this.addChild(new LotteryScroll(list));
this.lotScroll.position.set(p[0], p[1]);
this.lotScroll.position.set(p[0], p[1]);
console.log(this.lotScroll.position);
console.log(this.lotScroll.position);
...
@@ -11344,8 +11351,12 @@ var LotteryPanel = (function (_super) {
...
@@ -11344,8 +11351,12 @@ var LotteryPanel = (function (_super) {
if (!res.success)
if (!res.success)
return;
return;
var id;
var id;
if (res.data && res.data.prizeId)
if (res.data && res.data.type == 5) {
id = 'thanks';
}
else if (res.data && res.data.prizeId) {
id = res.data.prizeId;
id = res.data.prizeId;
}
_this.enableMouseEvt(false);
_this.enableMouseEvt(false);
console.log(id);
console.log(id);
_this.prizeData = res.data;
_this.prizeData = res.data;
output.js.map
View file @
7eecdbc4
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/panels/LotteryPanel.ts
View file @
7eecdbc4
...
@@ -4,6 +4,7 @@ import { sendTbNet, TbNetName } from "../TaoBaoNet";
...
@@ -4,6 +4,7 @@ import { sendTbNet, TbNetName } from "../TaoBaoNet";
import
{
GTool
}
from
"../../module/tools/GTool"
;
import
{
GTool
}
from
"../../module/tools/GTool"
;
// import { MapScene } from "./map/MapScene";
// import { MapScene } from "./map/MapScene";
import
{
Panel
}
from
"../../module/views/Panel"
;
import
{
Panel
}
from
"../../module/views/Panel"
;
import
{
Tools
}
from
"../Tools"
;
/**
/**
* 摇奖机弹框
* 摇奖机弹框
...
@@ -129,6 +130,7 @@ export class LotteryPanel extends Panel {
...
@@ -129,6 +130,7 @@ export class LotteryPanel extends Panel {
hideWaiting
();
hideWaiting
();
//如果是失败
//如果是失败
if
(
!
res
.
success
)
return
;
if
(
!
res
.
success
)
return
;
Tools
.
gameData
.
isDrawTopLevelPrize
=
true
;
let
id
;
//待考虑,谢谢参与要进哪?是否进列表,下面id不存在时当作无奖励,(如果谢谢参与不进列表)
let
id
;
//待考虑,谢谢参与要进哪?是否进列表,下面id不存在时当作无奖励,(如果谢谢参与不进列表)
if
(
res
.
data
&&
res
.
data
.
type
==
5
)
{
if
(
res
.
data
&&
res
.
data
.
type
==
5
)
{
id
=
'thanks'
;
id
=
'thanks'
;
...
...
src/scene/map/MapUI.ts
View file @
7eecdbc4
...
@@ -61,7 +61,7 @@ export default class MapUI extends Container {
...
@@ -61,7 +61,7 @@ export default class MapUI extends Container {
break
;
break
;
case
this
.
clearanceBtn
:
case
this
.
clearanceBtn
:
showPanel
(
LotteryPanel
,
{
callFun
:
()
=>
0
})
showPanel
(
LotteryPanel
,
{
callFun
:
()
=>
this
.
updateUI
()
})
break
;
break
;
}
}
}
}
...
...
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