Commit 5a35aeee by 李伟康

修改banner

1 parent 128e6c21
import { preReleaseAppId } from '~/config'
const target = ['ip', 'dev', 'uat', 'prod', 'preRelease']
let index = 1
let index = 2
/**
*
......
// packageIndex/pages/bannerJumpPage/bannerJumpPage.js
// packageIndex/pages/bannerJumpPage/bannerJumpPagoptions.js
Page({
/**
......@@ -13,22 +13,20 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
onRoute(e) {
let { titleList } = this.data
if (e && e.title) {
let {
titleList
} = this.data
if (options && options.title) {
wx.setNavigationBarTitle({
title: e.title
title: options.title
})
} else {
wx.setNavigationBarTitle({
title: titleList[e.bannerType - 1]
title: titleList[options.bannerType - 1]
})
}
this.setData({
infoData: e || {}
infoData: options || {}
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!