Commit cee553b3 authored by 李帅's avatar 李帅

+1

parent 739d6661
/* /*
* @Author: ls * @Author: ls
* @Date: 2022-05-15 18:22:18 * @Date: 2022-05-15 18:22:18
* @LastEditTime: 2022-06-13 13:02:23 * @LastEditTime: 2022-06-13 20:02:45
* @LastEditors: ls * @LastEditors: ls
* @Description: * @Description:
* @FilePath: \ls_gramophone\assets\ls_gramophone\scene\ls_gramophone.ts * @FilePath: \ls_gramophone\assets\ls_gramophone\scene\ls_gramophone.ts
...@@ -207,7 +207,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -207,7 +207,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let cd = 10; let cd = 10;
if (this._curIndex !== -1) { if (this._curIndex !== -1) {
cd = this.data.sentences[this._curIndex].countdown; cd = this.data.sentences[this._curIndex].duration;
} }
this.unschedule(this.onCountdown); this.unschedule(this.onCountdown);
this._countdown = cd + 1; this._countdown = cd + 1;
......
/* /*
* @Author: ls * @Author: ls
* @Date: 2022-05-15 18:22:18 * @Date: 2022-05-15 18:22:18
* @LastEditTime: 2022-06-13 10:24:39 * @LastEditTime: 2022-06-13 20:02:30
* @LastEditors: ls * @LastEditors: ls
* @Description: * @Description:
* @FilePath: \ls_gramophone\assets\ls_gramophone\script\defaultData.ts * @FilePath: \ls_gramophone\assets\ls_gramophone\script\defaultData.ts
...@@ -15,27 +15,27 @@ export const defaultData = { ...@@ -15,27 +15,27 @@ export const defaultData = {
pageAudio: 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3', // 整体音频 pageAudio: 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3', // 整体音频
sentences: [ sentences: [
{ {
countdown: 7, duration: 7,
text: 'Good morning', text: 'Good morning',
audio: 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3', audio: 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3',
}, },
{ {
countdown: 8, duration: 8,
text: 'what can i do for you', text: 'what can i do for you',
audio: 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3', audio: 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3',
}, },
{ {
countdown: 9, duration: 9,
text: 'Hello, how are you', text: 'Hello, how are you',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3', audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
}, },
{ {
countdown: 10, duration: 10,
text: 'Hello, how old are you you', text: 'Hello, how old are you you',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3', audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
}, },
{ {
countdown: 11, duration: 11,
text: 'Hello, how dare you, Hello, how dare you how dare you how dare you how dare you h', text: 'Hello, how dare you, Hello, how dare you how dare you how dare you how dare you h',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3', audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
}, },
......
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