关闭音频开关提示
This commit is contained in:
parent
ebeb3c5314
commit
188daa961d
|
|
@ -491,10 +491,10 @@ export default {
|
||||||
this.audioContext.onPlay(() => {
|
this.audioContext.onPlay(() => {
|
||||||
console.log("音频开始播放");
|
console.log("音频开始播放");
|
||||||
this.isAudioPlaying = true;
|
this.isAudioPlaying = true;
|
||||||
uni.showToast({
|
// uni.showToast({
|
||||||
title: "音频已开启",
|
// title: "音频已开启",
|
||||||
icon: "none",
|
// icon: "none",
|
||||||
});
|
// });
|
||||||
});
|
});
|
||||||
|
|
||||||
this.audioContext.onError((err) => {
|
this.audioContext.onError((err) => {
|
||||||
|
|
@ -533,10 +533,10 @@ export default {
|
||||||
this.audioContext = null;
|
this.audioContext = null;
|
||||||
}
|
}
|
||||||
this.isAudioPlaying = false;
|
this.isAudioPlaying = false;
|
||||||
uni.showToast({
|
// uni.showToast({
|
||||||
title: "音频已关闭",
|
// title: "音频已关闭",
|
||||||
icon: "none",
|
// icon: "none",
|
||||||
});
|
// });
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
@ -619,7 +619,7 @@ page {
|
||||||
.list-scroll {
|
.list-scroll {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
|
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user