فهرست منبع

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

shaogen1995 3 سال پیش
والد
کامیت
3732d195d7
2فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  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时随之触发的函数(即使还没开始播放)
         callback:(state)=>{//play或pause时随之触发的函数(即使还没开始播放)
             if(state){
             if(state){
                 $("#volume a img").attr("src", "./images/Volume btn_off.png")
                 $("#volume a img").attr("src", "./images/Volume btn_off.png")
-                $("#volume").attr("title", "关闭声音");
+                // $("#volume").attr("title", "关闭声音");
             }else{
             }else{
                 $("#volume a img").attr("src", "./images/Volume btn_on.png")
                 $("#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>
 </script>
 
 
 <style lang="less" scoped>
 <style lang="less" scoped>
+#closeMusic{
+  display: none;
+}
 #hotList {
 #hotList {
   display: none !important;
   display: none !important;
 }
 }