Commit cb77d77b authored by 李维's avatar 李维

dev commit

parent f54bcee1
...@@ -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, ()=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment