Commit 86284f24 by doszhang

dos

parent 56a99133
...@@ -84,6 +84,7 @@ ...@@ -84,6 +84,7 @@
</head> </head>
<body> <body>
<audio src="__CDN__/media/bg.mp3" preload="auto" loop="loop" id="music" style="display:none"></audio>
<div class="wrap"> <div class="wrap">
<div class="wrap-inner"> <div class="wrap-inner">
{:if $projectId && strpos( $smarty.server.HTTP_HOST , 'dev.izhida.cn') !== false} {:if $projectId && strpos( $smarty.server.HTTP_HOST , 'dev.izhida.cn') !== false}
...@@ -124,6 +125,7 @@ ...@@ -124,6 +125,7 @@
{:block name='js'}{:/block} {:block name='js'}{:/block}
<script> <script>
$('#music')[0].play();
window.wx && wx.ready(function () { window.wx && wx.ready(function () {
wx.onMenuShareAppMessage(wxFriendData); wx.onMenuShareAppMessage(wxFriendData);
wx.onMenuShareTimeline(wxTimelineData); wx.onMenuShareTimeline(wxTimelineData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment