Commit b796e92a by 张立顺

Merge branch 'develop' of 192.168.3.233:saas_plus/business-assistant into develop

2 parents afe3a368 37c839b8
......@@ -98,16 +98,18 @@ Page({
apiData,
// isShare
});
let apiDataJson = JSON.stringify(apiData)
let item = apiData[actNum]?.productList[activeNavIdx];
this.shareQuery = `sceneCode=${apiData[actNum].sceneCode}&productCode=${item?.productCode}&productName=${item?.productName}&category=${item?.category}&actNum=${actNum}&activeNavIdx=${activeNavIdx}&apiData=${apiData}`;
this.shareQuery = `sceneCode=${apiData[actNum].sceneCode}&productCode=${item?.productCode}&productDesc=${item?.productName}&category=${item?.category}&actNum=${actNum}&activeNavIdx=${activeNavIdx}&apiData=${apiDataJson}`;
this.shareTrackData = {
sceneCode: apiData[actNum]?.sceneCode,
productCode: item?.productCode,
productName: item?.productName,
category: item?.category,
actNum,
activeNavIdx,
apiData,
productDesc:item?.productName
// actNum,
// activeNavIdx,
// apiData,
};
},
// 分享按钮
......@@ -274,14 +276,15 @@ Page({
// 发请求
let senceItem = senceData[actNum];
let item = senceData[actNum]?.productList[activeNavIdx];
this.shareQuery = `sceneCode=${senceItem?.sceneCode}&productCode=${item?.productCode}&productName=${item?.productName}&category=${item?.category}&actNum=${actNum}&activeNavIdx=${activeNavIdx}`;
this.shareQuery = `sceneCode=${senceItem?.sceneCode}&productCode=${item?.productCode}&productDesc=${item?.productName}&category=${item?.category}&actNum=${actNum}&activeNavIdx=${activeNavIdx}`;
this.shareTrackData = {
sceneCode: senceItem?.sceneCode,
productCode: item?.productCode,
productName: item?.productName,
category: item?.category,
actNum,
activeNavIdx,
productDesc:item?.productName,
// actNum,
// activeNavIdx,
};
},
......
......@@ -210,12 +210,13 @@ Page({
console.log('e: ', e);
let {num,scenestatus} = e.currentTarget.dataset;
// console.log('actNum: ', actNum);
if(scenestatus == 1){
this.setData({
actNum:num,
// if(scenestatus == 1){
// }
this.setData({
actNum:num,
});
}
});
},
// 头部看线索,产品切换
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!