Commit 85fc32d4 authored by limingzhe's avatar limingzhe

fix: debug

parent 111d5863
...@@ -613,6 +613,8 @@ initMask() { ...@@ -613,6 +613,8 @@ initMask() {
checkStart(data) { checkStart(data) {
// return;
console.log(' in checkStart') console.log(' in checkStart')
if (data.debugBgImg && data.hzLoadEnd && this.video?.node?.isLoadEnd) { if (data.debugBgImg && data.hzLoadEnd && this.video?.node?.isLoadEnd) {
...@@ -765,6 +767,15 @@ initMask() { ...@@ -765,6 +767,15 @@ initMask() {
// this.readingItemArr = this.curQues.readingItemArr;
// this.readingItemArrIndex = 0;
// playAudio(this.readingTip2Clip, () => {
// this.showReadingItem();
// })
const nextBtn = cc.find('middleLayer/BtnRight'); const nextBtn = cc.find('middleLayer/BtnRight');
if (nextBtn) { if (nextBtn) {
...@@ -2115,8 +2126,9 @@ showStartLight() { ...@@ -2115,8 +2126,9 @@ showStartLight() {
// playAudioByUrl(this.curReadingAudioUrl, () => { // playAudioByUrl(this.curReadingAudioUrl, () => {
this.recordIconStart(); // this.recordIconStart();
this.startRecordToText();
// this.startRecordToText();
this.readingSoundBtnClick(); this.readingSoundBtnClick();
...@@ -2299,6 +2311,10 @@ showStartLight() { ...@@ -2299,6 +2311,10 @@ showStartLight() {
}, },
stopRecordToText() { stopRecordToText() {
if (!this.isRealtimeRecord) {
return;
}
console.log(' in stopRecordToText 1 ') console.log(' in stopRecordToText 1 ')
const stopRealtimeRecord = window?.courseware?.stopRealtimeRecord const stopRealtimeRecord = window?.courseware?.stopRealtimeRecord
if (stopRealtimeRecord) { if (stopRealtimeRecord) {
......
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