Commit 73144fc2 by 陈玉桐

fix

parent 5b7a0b6c
......@@ -60,6 +60,7 @@ export default {
detailImgUrl: '',
qualifications: '',
musicUrl: '',
unenrollDesc: '',
isPlaying: true,
......@@ -98,6 +99,7 @@ export default {
this.detailImgUrl = response.data.detailImgUrl
this.qualifications = response.data.qualifications
this.musicUrl = response.data.musicUrl
this.unenrollDesc = response.data.unenrollDesc
var music = document.getElementById('music');
var state = 0;
......@@ -138,13 +140,6 @@ export default {
})
let me = this
wx.ready(function(){
this.isPlaying = true
document.querySelector('#music').play();
document.addEventListener("WeixinJSBridgeReady", function () {
document.querySelector('#music').play();
}, false);
// 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
wx.updateAppMessageShareData({
title: me.title, // 分享标题
......@@ -195,8 +190,8 @@ export default {
// this.tipDialogBtn='知道了'
// this.tipDialogShow = true
this.tipDialogText1=this.title+'进行中'
this.tipDialogText2='不允许报名'
this.tipDialogText1= this.unenrollDesc
// this.tipDialogText2='不允许报名'
this.tipDialogBtn='知道了'
this.tipDialogShow = true
}
......
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 to comment