Commit d413a16b authored by wangxuelai's avatar wangxuelai

'点评优化'

parent 501e8aa9
......@@ -179,11 +179,14 @@ Page({
return;
};
if (this.data.mode == 1) { // 图片标记
const imgInfoList = JSON.stringify(this.data.imgInfoList);
wx.navigateTo({
url: `/business/pages/commenteditor/imagecomment?id=${this.data.id}&tid=${this.data.tid}&cid=${this.data.cid}&sid=${this.data.sid}&src=${encodeURIComponent(this.data.selectedObj.src)}`,
url: `/business/pages/commenteditor/taggedpicture?sid=${this.data.sid}&imgInfoList=${imgInfoList}`,
})
} else if (this.data.mode == 2) { // 互动点评
wx.navigateTo({
url: `/business/pages/commenteditor/imagecomment?id=${this.data.id}&tid=${this.data.tid}&cid=${this.data.cid}&sid=${this.data.sid}&src=${encodeURIComponent(this.data.selectedObj.src)}`,
})
}
}
})
\ No newline at end of file
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