Commit cee553b3 authored by 李帅's avatar 李帅

+1

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