diff --git a/pages.json b/pages.json index d47c236e396b7e82310f5488c0b904a62c614e82..1c62396c8ff95ec2c8d04caec50514d16769e514 100644 --- a/pages.json +++ b/pages.json @@ -1097,7 +1097,7 @@ } }, // #endif - // #ifdef WEB || MP || APP + // #ifdef WEB || MP || APP-ANDROID { "path": "pages/API/create-inner-audio-context/create-inner-audio-context", "group": "1,7,9", @@ -1106,7 +1106,7 @@ } }, // #endif - // #ifdef WEB || MP || APP + // #ifdef WEB || MP || APP-ANDROID { "path": "pages/API/create-inner-audio-context/inner-audio-format", "style": { @@ -1114,7 +1114,7 @@ } }, // #endif - // #ifdef WEB || MP || APP + // #ifdef WEB || MP || APP-ANDROID { "path": "pages/API/create-inner-audio-context/inner-audio-path", "style": { @@ -2935,4 +2935,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/pages/API/create-inner-audio-context/create-inner-audio-context.uvue b/pages/API/create-inner-audio-context/create-inner-audio-context.uvue index 568d05dd41244975c41d994f7e15cf6850f7befe..d1a67162c3c95c352948a2ef782977ef82775bca 100644 --- a/pages/API/create-inner-audio-context/create-inner-audio-context.uvue +++ b/pages/API/create-inner-audio-context/create-inner-audio-context.uvue @@ -130,7 +130,7 @@ this.onEnded() }, onUnload() { - if (this._audioContext != null && this.isPlaying) { + if (this._audioContext != null) { if (this.isPlaying) { this.stop(); } @@ -151,8 +151,9 @@ this._isChanging = true; }, onchange(e : UniSliderChangeEvent) { - console.log(e, 'e'); + let pos = e.detail.value; + console.log('pos', pos); this._audioContext!.seek(pos); this.onSeeking() this.onSeeked() @@ -164,7 +165,7 @@ this.onSeeked() this._isChanging = false; }, - startTimeInput(e : InputEvent) { + startTimeInput(e : UniInputEvent) { let startTimeValue = parseInt(e.detail.value) this._audioContext!.startTime = startTimeValue; this.onchangeValue(startTimeValue) diff --git a/pages/API/share-with-system/share-with-system.uvue b/pages/API/share-with-system/share-with-system.uvue index 87a9e2c9542a185808feea69ac66fac47a0880cd..22ab5d8331f2ba1ffb27e38180efc67f520f117a 100644 --- a/pages/API/share-with-system/share-with-system.uvue +++ b/pages/API/share-with-system/share-with-system.uvue @@ -1,6 +1,6 @@