Merge branch 'dev-yxl' of gitee.com:zongzhige/shopxo-uniapp into dev

master
gongfuxiang 2026-01-08 10:48:09 +08:00
commit 87e5e46777
2 changed files with 16 additions and 0 deletions

View File

@ -154,6 +154,10 @@
// 访
// , ,
auto_play_success(e) {
uni.showToast({
title: this.muted ? '静音播放成功' : '非静音播放成功',
icon: 'none'
});
//
if (e) {
this.$emit('mutedAutoPlaySuccess', this.muted);
@ -170,6 +174,10 @@
//
if (!e) {
console.log(this.muted);
uni.showToast({
title: this.muted ? '静音播放失败' : '非静音播放失败',
icon: 'none'
});
//
if (this.muted) {
this.$emit('mutedAutoPlayError');

View File

@ -65,11 +65,19 @@
},
methods: {
muted_auto_play_success(is_muted) {
uni.showToast({
title: this.is_muted ? '静音播放成功' : '222225',
icon: 'none'
});
if (is_muted) {
this.is_muted_auto_play_success = true;
}
},
muted_auto_play_error() {
uni.showToast({
title: '显示图标提示',
icon: 'none'
});
this.is_muted_auto_play_error = true;
},
//