修改扫码后分享参数错误bug
This commit is contained in:
parent
d898941c09
commit
8e590b707b
@ -573,17 +573,25 @@ Page({
|
||||
return title
|
||||
},
|
||||
|
||||
getPath() {
|
||||
let ids = []
|
||||
const list = this.data.list || []
|
||||
list.forEach(element => ids.push(element.id))
|
||||
return `/pages/projectComparison/projectComparison?ids=${ids}`
|
||||
},
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: this.getShareTitle(),
|
||||
path: this.getPath(),
|
||||
}
|
||||
},
|
||||
onShareTimeline() {
|
||||
return {
|
||||
title: this.getShareTitle(),
|
||||
path: this.getPath(),
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -936,11 +936,13 @@ Page({
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: `【${ this.data.info.schoolalias || this.data.info.schoolname || '' }】 - ${this.data.info.name_zh}`,
|
||||
path: `/pages/projectDetails/projectDetails?uniqid=${this.data.info.uniqid}`,
|
||||
}
|
||||
},
|
||||
onShareTimeline() {
|
||||
return {
|
||||
title: `【${ this.data.info.schoolalias || this.data.info.schoolname || '' }】 - ${this.data.info.name_zh}`,
|
||||
path: `/pages/projectDetails/projectDetails?uniqid=${this.data.info.uniqid}`,
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -1480,6 +1480,7 @@ navigator {
|
||||
line-height: 51rpx;
|
||||
padding: 22.5rpx 0;
|
||||
word-break: break-word;
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
.index {
|
||||
|
@ -1197,6 +1197,7 @@ navigator {
|
||||
line-height: 51rpx;
|
||||
padding: 22.5rpx 0;
|
||||
word-break: break-word;
|
||||
white-space: pre-line;
|
||||
}
|
||||
.details-box .issue-bj .issue .index {
|
||||
width: 54rpx;
|
||||
|
@ -676,11 +676,13 @@ Page({
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: "【寄托港校项目库】- " + this.data.info.name,
|
||||
path: `/pages/projectSchoolHomepage/projectSchoolHomepage?id=${ this.data.info.id }`
|
||||
}
|
||||
},
|
||||
onShareTimeline() {
|
||||
return {
|
||||
title: "【寄托港校项目库】- " + this.data.info.name,
|
||||
path: `/pages/projectSchoolHomepage/projectSchoolHomepage?id=${ this.data.info.id }`
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user