diff --git a/src/layout/components/TopNotice/index.vue b/src/layout/components/TopNotice/index.vue index 41dfada4..bc363576 100644 --- a/src/layout/components/TopNotice/index.vue +++ b/src/layout/components/TopNotice/index.vue @@ -12,6 +12,9 @@ +
+ +
@@ -72,6 +75,8 @@ export default { }, mounted() { this.initXDNoticSdk(); + window.addEventListener("click", this.musicAutoPlay); + // this.notice(); // const wsuri = this.url; @@ -100,6 +105,15 @@ export default { // }; }, methods: { + musicAutoPlay() { + this.isPlay = true; + }, + latestSecurityIncidents() { + //同时 触发提示音 + if (this.isPlay){ + document.getElementById('audioMusic').play(); + } + }, initXDNoticSdk(){ this.xdNoticSdk = this.$xdNoticeSdk; const userId=this.$store.getters.userId; diff --git a/src/views/emis/emisSettleBill/ChargeBillMoneyList.vue b/src/views/emis/emisSettleBill/ChargeBillMoneyList.vue index 93dac64c..6085c664 100644 --- a/src/views/emis/emisSettleBill/ChargeBillMoneyList.vue +++ b/src/views/emis/emisSettleBill/ChargeBillMoneyList.vue @@ -7,7 +7,7 @@ - + @@ -19,14 +19,14 @@