Commit f5e7318f by 赵雅纹

推广

parent 09d7838a
...@@ -117,6 +117,10 @@ wxService.page({ ...@@ -117,6 +117,10 @@ wxService.page({
//生成卡片 //生成卡片
onTapPoster() { onTapPoster() {
console.log('----------',this.data.proData) console.log('----------',this.data.proData)
this.data.proData.forEach((item)=>{
item.url = item.productImgUrl
item.title = item.productName
})
if (!this.data.proData){ if (!this.data.proData){
wx.showToast({ wx.showToast({
title: '请先选择商品', title: '请先选择商品',
...@@ -130,6 +134,7 @@ wxService.page({ ...@@ -130,6 +134,7 @@ wxService.page({
title: this.data.proData[0].productName, title: this.data.proData[0].productName,
type: 3// 1:门店,2:员工(暂时不做),3:会员,4:第三方外部渠道,5:智能营销 type: 3// 1:门店,2:员工(暂时不做),3:会员,4:第三方外部渠道,5:智能营销
} }
console.log('4444',tentacleInfo.content)
this.data.currentShareContent = this.data.proData[0]; this.data.currentShareContent = this.data.proData[0];
......
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