Commit f8eb298b by doszhang

dos

parent 1f3d3de9
...@@ -83,7 +83,9 @@ ...@@ -83,7 +83,9 @@
<link rel="stylesheet" type="text/css" href="__CDN__/css/index.css?version=1.0.0" media="all" /> <link rel="stylesheet" type="text/css" href="__CDN__/css/index.css?version=1.0.0" media="all" />
</head> </head>
<body> <body>
<audio src="__CDN__/media/1.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}
...@@ -125,6 +127,7 @@ ...@@ -125,6 +127,7 @@
{:block name='js'}{:/block} {:block name='js'}{:/block}
<script> <script>
window.wx && wx.ready(function () { window.wx && wx.ready(function () {
$('#music')[0].play();
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