Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
YM5-20
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
YM5-20
Commits
cb77d77b
Commit
cb77d77b
authored
Apr 19, 2021
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev commit
parent
f54bcee1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
play.component.ts
src/app/play/play.component.ts
+6
-8
No files found.
src/app/play/play.component.ts
View file @
cb77d77b
...
@@ -558,7 +558,6 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -558,7 +558,6 @@ export class PlayComponent implements OnInit, OnDestroy {
bgCard
.
selected
=
false
;
bgCard
.
selected
=
false
;
this
.
subscribeMapDownEvent
(
radioButtonRight_out
.
id
,
()
=>
{
this
.
subscribeMapDownEvent
(
radioButtonRight_out
.
id
,
()
=>
{
console
.
log
(
"
Right Click
"
)
if
(
!
bgCard
.
selected
)
{
if
(
!
bgCard
.
selected
)
{
bgCard
.
switchSelect
(
"
right
"
)
bgCard
.
switchSelect
(
"
right
"
)
if
(
dataItem
.
rightSide
==
"
right
"
)
{
if
(
dataItem
.
rightSide
==
"
right
"
)
{
...
@@ -569,9 +568,9 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -569,9 +568,9 @@ export class PlayComponent implements OnInit, OnDestroy {
lettersSpecRight
.
forEach
(
le
=>
{
lettersSpecRight
.
forEach
(
le
=>
{
le
.
fontColor
=
"
#c8161e
"
le
.
fontColor
=
"
#c8161e
"
})
})
lettersRight
.
forEach
(
le
=>
{
//
lettersRight.forEach(le=>{
le
.
fontSize
=
48
//
le.fontSize = 48
})
//
})
bgCard
.
selected
=
true
;
bgCard
.
selected
=
true
;
}
else
{
}
else
{
this
.
g_cartoon
.
playAudio
(
"
sm-wrong
"
,
false
,
()
=>
{
this
.
g_cartoon
.
playAudio
(
"
sm-wrong
"
,
false
,
()
=>
{
...
@@ -584,7 +583,6 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -584,7 +583,6 @@ export class PlayComponent implements OnInit, OnDestroy {
})
})
this
.
subscribeMapDownEvent
(
radioButtonLeft_out
.
id
,
()
=>
{
this
.
subscribeMapDownEvent
(
radioButtonLeft_out
.
id
,
()
=>
{
console
.
log
(
"
Left Click
"
)
if
(
!
bgCard
.
selected
)
{
if
(
!
bgCard
.
selected
)
{
bgCard
.
switchSelect
(
"
left
"
)
bgCard
.
switchSelect
(
"
left
"
)
if
(
dataItem
.
rightSide
==
"
left
"
)
{
if
(
dataItem
.
rightSide
==
"
left
"
)
{
...
@@ -595,9 +593,9 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -595,9 +593,9 @@ export class PlayComponent implements OnInit, OnDestroy {
lettersSpecLeft
.
forEach
(
le
=>
{
lettersSpecLeft
.
forEach
(
le
=>
{
le
.
fontColor
=
"
#c8161e
"
le
.
fontColor
=
"
#c8161e
"
})
})
lettersLeft
.
forEach
(
le
=>
{
//
lettersLeft.forEach(le=>{
le
.
fontSize
=
48
//
le.fontSize = 48
})
//
})
bgCard
.
selected
=
true
;
bgCard
.
selected
=
true
;
}
else
{
}
else
{
this
.
g_cartoon
.
playAudio
(
"
sm-wrong
"
,
false
,
()
=>
{
this
.
g_cartoon
.
playAudio
(
"
sm-wrong
"
,
false
,
()
=>
{
...
...
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