Browse Source

移动端背景音乐和导览音乐冲突

shaogen1995 3 years ago
parent
commit
3732d195d7
2 changed files with 5 additions and 2 deletions
  1. 2 2
      webM/public/static/js/manage.js
  2. 3 0
      webM/src/views/gui/menu.vue

+ 2 - 2
webM/public/static/js/manage.js

@@ -1129,10 +1129,10 @@ Manage.prototype.loadAudio = function() { //相关:g_tourAudio \  g_playAudio
         callback:(state)=>{//play或pause时随之触发的函数(即使还没开始播放)
             if(state){
                 $("#volume a img").attr("src", "./images/Volume btn_off.png")
-                $("#volume").attr("title", "关闭声音");
+                // $("#volume").attr("title", "关闭声音");
             }else{
                 $("#volume a img").attr("src", "./images/Volume btn_on.png")
-                $("#volume").attr("title", "打开声音");
+                // $("#volume").attr("title", "打开声音");
             }
         }
     })  

+ 3 - 0
webM/src/views/gui/menu.vue

@@ -368,6 +368,9 @@ export default {
 </script>
 
 <style lang="less" scoped>
+#closeMusic{
+  display: none;
+}
 #hotList {
   display: none !important;
 }