Commit 3b35e93e by luyt

feat:场景调整

1 parent 6edc52b1
...@@ -129,7 +129,7 @@ var senceData = [ ...@@ -129,7 +129,7 @@ var senceData = [
msg: "1.2次新车膨胀金活动", msg: "1.2次新车膨胀金活动",
"sceneCode":"SC003", "sceneCode":"SC003",
tabname:'膨胀金活动', tabname:'膨胀金活动',
banner:`${IMG_URL}index/banner/banner2.png`, banner:`${IMG_URL}index/banner/banner3.png`,
scrollText:'膨胀金活动详情', scrollText:'膨胀金活动详情',
sceneImgs:[ sceneImgs:[
`${IMG_URL}index/scene/scene20.png`, `${IMG_URL}index/scene/scene20.png`,
...@@ -184,7 +184,7 @@ var senceData = [ ...@@ -184,7 +184,7 @@ var senceData = [
msg: "1.3售后直播众筹活动", msg: "1.3售后直播众筹活动",
"sceneCode":"SC004", "sceneCode":"SC004",
tabname:'众筹活动', tabname:'众筹活动',
banner:`${IMG_URL}index/banner/banner3.png`, banner:`${IMG_URL}index/banner/banner2.png`,
scrollText:'众筹活动详情', scrollText:'众筹活动详情',
sceneImgs:[ sceneImgs:[
`${IMG_URL}index/scene/scene30.png`, `${IMG_URL}index/scene/scene30.png`,
......
...@@ -61,12 +61,12 @@ Page({ ...@@ -61,12 +61,12 @@ Page({
let senceItem = senceData[actNum] let senceItem = senceData[actNum]
let item = senceData[actNum]?.productList[activeNavIdx] let item = senceData[actNum]?.productList[activeNavIdx]
console.log('title',item.productName) console.log('title',item.productName)
setTimeout(() => { // setTimeout(() => {
// wx.setNavigationBarTitle({ // // wx.setNavigationBarTitle({
// title: item.productName, // // title: item.productName,
// }); // // });
utils.setNavigationBarTitle(item.productName) // utils.setNavigationBarTitle(item.productName)
},100) // },100)
this.shareQuery = `sceneCode=${senceItem?.sceneCode}&productCode=${item?.productCode}&isShare=${true}&productDesc=${item?.productName}&category=${item?.category}&actNum=${actNum}&activeNavIdx=${activeNavIdx}&phone=${phone}` this.shareQuery = `sceneCode=${senceItem?.sceneCode}&productCode=${item?.productCode}&isShare=${true}&productDesc=${item?.productName}&category=${item?.category}&actNum=${actNum}&activeNavIdx=${activeNavIdx}&phone=${phone}`
this.shareTrackData = { this.shareTrackData = {
...@@ -102,12 +102,12 @@ Page({ ...@@ -102,12 +102,12 @@ Page({
//分享数据 //分享数据
let item = senceData[actNum]?.productList[activeNavIdx] let item = senceData[actNum]?.productList[activeNavIdx]
console.log('title2',item.productName) console.log('title2',item.productName)
setTimeout(() => { // setTimeout(() => {
// wx.setNavigationBarTitle({ // // wx.setNavigationBarTitle({
// title: item.productName, // // title: item.productName,
// }); // // });
utils.setNavigationBarTitle(item.productName) // utils.setNavigationBarTitle(item.productName)
},100) // },100)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!