|
@@ -53,11 +53,15 @@ Page({
|
|
|
if (this.innerAudioContext) {
|
|
|
this.innerAudioContext.stop();
|
|
|
}
|
|
|
+ let videoCtx = wx.createVideoContext('worksVideo',this);
|
|
|
+ videoCtx.stop();
|
|
|
},
|
|
|
onUnload: function () {
|
|
|
if (this.innerAudioContext) {
|
|
|
this.innerAudioContext.stop();
|
|
|
}
|
|
|
+ let videoCtx = wx.createVideoContext('worksVideo',this);
|
|
|
+ videoCtx.stop();
|
|
|
},
|
|
|
getWorks: function (uid, id) {
|
|
|
httpRequestApi.getWorksDetail(uid, id).success((res) => {
|
|
@@ -141,7 +145,7 @@ Page({
|
|
|
iconImg: this.data.iconImg,
|
|
|
title: this.data.title,
|
|
|
path: `pages/social/works/works`,
|
|
|
- scene: `this.data.id`
|
|
|
+ scene: this.data.id
|
|
|
// tip: this.data.tip,
|
|
|
}
|
|
|
this.shareDialog.share(data);
|