|
@@ -100,14 +100,14 @@ export default {
|
|
|
return {
|
|
return {
|
|
|
title: this.detaile.title,
|
|
title: this.detaile.title,
|
|
|
imageUrl: this.detaile.pic,
|
|
imageUrl: this.detaile.pic,
|
|
|
- path: '/topic/content/content?id=' + this.id +'&isShare=' + true+(this.userInfo.userType==1?('&shareId='+this.userInfo.id):'')
|
|
|
|
|
|
|
+ path: '/topic/content/content?id=' + this.id +'&isShare=' + true+(this.userInfo.userType==1?('&shareId='+this.userInfo.saleNo):'')
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
onShareTimeline() {
|
|
onShareTimeline() {
|
|
|
return {
|
|
return {
|
|
|
title: this.detaile.title,
|
|
title: this.detaile.title,
|
|
|
imageUrl: this.detaile.pic,
|
|
imageUrl: this.detaile.pic,
|
|
|
- path: '/topic/content/content?id=' + this.id +'&isShareTimeline=' + true+(this.userInfo.userType==1?('&userId='+this.userInfo.id):'')
|
|
|
|
|
|
|
+ path: '/topic/content/content?id=' + this.id +'&isShareTimeline=' + true+(this.userInfo.userType==1?('&userId='+this.userInfo.saleNo):'')
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -205,6 +205,9 @@ export default {
|
|
|
getContentList() {
|
|
getContentList() {
|
|
|
let form = this.form;
|
|
let form = this.form;
|
|
|
form.cid = this.detaile.cid;
|
|
form.cid = this.detaile.cid;
|
|
|
|
|
+ if(req.getStorage("shareId")){
|
|
|
|
|
+ form.shareSaleNo = req.getStorage("shareId")
|
|
|
|
|
+ }
|
|
|
req.getRequest('/api/content/list',form,res => {
|
|
req.getRequest('/api/content/list',form,res => {
|
|
|
this.contentList = res;
|
|
this.contentList = res;
|
|
|
for (var i = 0; i < this.contentList.length; i++) {
|
|
for (var i = 0; i < this.contentList.length; i++) {
|