Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobaominiDemo
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
taobaominiDemo
Commits
e88efe68
Commit
e88efe68
authored
Jul 01, 2020
by
lujinlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-a
parent
0f69cf32
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
14 deletions
+12
-14
app.js
client/app.js
+1
-1
output.js
client/pages/index/output.js
+11
-13
No files found.
client/app.js
View file @
e88efe68
...
@@ -15,7 +15,7 @@ App({
...
@@ -15,7 +15,7 @@ App({
console
.
info
(
'App onLaunch'
);
console
.
info
(
'App onLaunch'
);
const
{
activityId
}
=
options
.
query
||
{};
const
{
activityId
}
=
options
.
query
||
{};
console
.
log
(
activityId
)
console
.
log
(
activityId
)
this
.
activityId
=
activityId
||
'5efc
00f585a749991406f677
'
;
this
.
activityId
=
activityId
||
'5efc
14a98e6a08930b59105d
'
;
// this.activityId = activityId || '5ef880873075d9927e7f10b4';
// this.activityId = activityId || '5ef880873075d9927e7f10b4';
// this.activityId = activityId || '5ef1b4f72ad1116ce639e23e';
// this.activityId = activityId || '5ef1b4f72ad1116ce639e23e';
},
},
...
...
client/pages/index/output.js
View file @
e88efe68
...
@@ -4025,10 +4025,10 @@ exports.ResJson = {
...
@@ -4025,10 +4025,10 @@ exports.ResJson = {
"y"
:
312
,
"y"
:
312
,
"w"
:
35
,
"w"
:
35
,
"h"
:
35
,
"h"
:
35
,
"ox"
:
0
,
"ox"
:
9
,
"oy"
:
0
,
"oy"
:
8
,
"sw"
:
35
,
"sw"
:
53
,
"sh"
:
35
,
"sh"
:
51
,
"ro"
:
false
"ro"
:
false
},
},
"receivedBtn.png"
:
{
"receivedBtn.png"
:
{
...
@@ -4456,7 +4456,7 @@ exports.ResJson = {
...
@@ -4456,7 +4456,7 @@ exports.ResJson = {
}
}
}
}
],
],
"path"
:
"https://yun.duiba.com.cn/db_games/activity/kickball-feile/159360
1594
/resource/"
"path"
:
"https://yun.duiba.com.cn/db_games/activity/kickball-feile/159360
5327
/resource/"
};
};
...
@@ -10350,32 +10350,27 @@ var RulePanel = (function (_super) {
...
@@ -10350,32 +10350,27 @@ var RulePanel = (function (_super) {
var
text
=
Tools_1
.
Tool
.
getText
(
arr
,
24
,
'#091631'
,
FYGE
.
TEXT_ALIGN
.
LEFT
,
540
);
var
text
=
Tools_1
.
Tool
.
getText
(
arr
,
24
,
'#091631'
,
FYGE
.
TEXT_ALIGN
.
LEFT
,
540
);
text
.
lineType
=
FYGE
.
TEXT_lINETYPE
.
MULTI
;
text
.
lineType
=
FYGE
.
TEXT_lINETYPE
.
MULTI
;
text
.
y
=
0
;
text
.
y
=
0
;
var
scrollPage
=
new
FYGE
.
ScrollPage
(
540
,
28
0
,
text
.
textHeight
);
var
scrollPage
=
new
FYGE
.
ScrollPage
(
540
,
45
0
,
text
.
textHeight
);
scrollPage
.
x
=
50
;
scrollPage
.
x
=
50
;
scrollPage
.
y
=
20
0
;
scrollPage
.
y
=
15
0
;
scrollPage
.
children
[
1
].
addChild
(
text
);
scrollPage
.
children
[
1
].
addChild
(
text
);
ruleBg
.
addChild
(
scrollPage
);
ruleBg
.
addChild
(
scrollPage
);
this
.
addChild
(
ruleBg
);
this
.
addChild
(
ruleBg
);
this
.
closeBtn
=
new
FYGE
.
Button
(
RES_1
.
RES
.
getRes
(
"comCloseBtn.png"
));
this
.
closeBtn
=
new
FYGE
.
Button
(
RES_1
.
RES
.
getRes
(
"comCloseBtn.png"
));
this
.
closeBtn
.
position
.
set
(
625
,
360
);
this
.
closeBtn
.
position
.
set
(
625
,
360
);
this
.
addChild
(
this
.
closeBtn
);
this
.
addChild
(
this
.
closeBtn
);
this
.
knowBtn
=
new
FYGE
.
Button
(
RES_1
.
RES
.
getRes
(
"knowBtn.png"
));
this
.
knowBtn
.
position
.
set
((
ruleBg
.
width
-
this
.
knowBtn
.
width
)
/
2
,
500
);
ruleBg
.
addChild
(
this
.
knowBtn
);
};
};
RulePanel
.
prototype
.
start
=
function
(
data
)
{
RulePanel
.
prototype
.
start
=
function
(
data
)
{
_super
.
prototype
.
start
.
call
(
this
);
_super
.
prototype
.
start
.
call
(
this
);
};
};
RulePanel
.
prototype
.
initEvents
=
function
()
{
RulePanel
.
prototype
.
initEvents
=
function
()
{
this
.
closeBtn
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
onClick_closeBtn
,
this
);
this
.
closeBtn
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
onClick_closeBtn
,
this
);
this
.
knowBtn
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
onClick_closeBtn
,
this
);
};
};
RulePanel
.
prototype
.
onClick_closeBtn
=
function
()
{
RulePanel
.
prototype
.
onClick_closeBtn
=
function
()
{
this
.
hidePanel
();
this
.
hidePanel
();
};
};
RulePanel
.
prototype
.
removeEvents
=
function
()
{
RulePanel
.
prototype
.
removeEvents
=
function
()
{
this
.
closeBtn
.
removeEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
onClick_closeBtn
,
this
);
this
.
closeBtn
.
removeEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
onClick_closeBtn
,
this
);
this
.
knowBtn
.
removeEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
onClick_closeBtn
,
this
);
};
};
return
RulePanel
;
return
RulePanel
;
}(
Panel_1
.
Panel
));
}(
Panel_1
.
Panel
));
...
@@ -10630,6 +10625,8 @@ var AssistScene = (function (_super) {
...
@@ -10630,6 +10625,8 @@ var AssistScene = (function (_super) {
case
1
:
case
1
:
_a
.
sent
();
_a
.
sent
();
console
.
log
(
'跳转活动界面'
);
console
.
log
(
'跳转活动界面'
);
FYGE
.
Tween
.
removeTweens
(
goPlayBtn
);
FYGE
.
Tween
.
removeTweens
(
assistBtn
);
ctrls_1
.
changeScene
(
StartScene_1
.
StartScene
);
ctrls_1
.
changeScene
(
StartScene_1
.
StartScene
);
return
[
2
];
return
[
2
];
}
}
...
@@ -10637,6 +10634,7 @@ var AssistScene = (function (_super) {
...
@@ -10637,6 +10634,7 @@ var AssistScene = (function (_super) {
});
},
this
);
});
},
this
);
this
.
creatTween
(
goPlayBtn
);
this
.
creatTween
(
goPlayBtn
);
this
.
addChild
(
goPlayBtn
);
this
.
addChild
(
goPlayBtn
);
this
.
assistFailShow
();
};
};
AssistScene
.
prototype
.
creatTween
=
function
(
node
)
{
AssistScene
.
prototype
.
creatTween
=
function
(
node
)
{
FYGE
.
Tween
.
get
(
node
,
{
loop
:
true
})
FYGE
.
Tween
.
get
(
node
,
{
loop
:
true
})
...
@@ -10979,7 +10977,7 @@ var RecordScene = (function (_super) {
...
@@ -10979,7 +10977,7 @@ var RecordScene = (function (_super) {
this
.
addChild
(
timeText
);
this
.
addChild
(
timeText
);
backBtn
=
new
FYGE
.
Sprite
(
RES_1
.
RES
.
getRes
(
'prizePanelBack.png'
));
backBtn
=
new
FYGE
.
Sprite
(
RES_1
.
RES
.
getRes
(
'prizePanelBack.png'
));
backBtn
.
x
=
10
;
backBtn
.
x
=
10
;
backBtn
.
y
=
1
0
;
backBtn
.
y
=
3
0
;
this
.
addChild
(
backBtn
);
this
.
addChild
(
backBtn
);
backBtn
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
function
()
{
backBtn
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
function
()
{
ctrls_1
.
changeScene
(
StartScene_1
.
StartScene
);
ctrls_1
.
changeScene
(
StartScene_1
.
StartScene
);
...
...
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