张延森 3 vuotta sitten
vanhempi
commit
30254274d7
3 muutettua tiedostoa jossa 16 lisäystä ja 3 poistoa
  1. 2
    0
      public/index.html
  2. 10
    0
      public/vconsole.min.js
  3. 4
    3
      src/components/BgMusic.vue

+ 2
- 0
public/index.html Näytä tiedosto

6
   <meta name="viewport" content="width=device-width,initial-scale=1.0">
6
   <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
   <title>干洗护理 诠释新生</title>
7
   <title>干洗护理 诠释新生</title>
8
   <script src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
8
   <script src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
9
+  <!-- <script src="./vconsole.min.js"></script>
10
+  <script>const vConsole = new VConsole();</script> -->
9
   <style>
11
   <style>
10
     .page-loading-wrapper {
12
     .page-loading-wrapper {
11
       position: absolute;
13
       position: absolute;

+ 10
- 0
public/vconsole.min.js
File diff suppressed because it is too large
Näytä tiedosto


+ 4
- 3
src/components/BgMusic.vue Näytä tiedosto

28
     handleIOSAudio() {
28
     handleIOSAudio() {
29
       const isiOS = !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)
29
       const isiOS = !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)
30
       if (isiOS) {
30
       if (isiOS) {
31
-        document.addEventListener('WeixinJSBridgeReady', () => {
32
-          this.$refs.audioRef.load()
33
-        }, false)
31
+        // document.addEventListener('WeixinJSBridgeReady', () => {
32
+        //   this.$refs.audioRef.load()
33
+        // }, false)
34
+        this.show = true
34
       }
35
       }
35
     },
36
     },
36
     handleClick() {
37
     handleClick() {