作者 朱振飞

修改

... ... @@ -121,6 +121,6 @@ App({
},
globalData: {
userInfo: null,
baseUrl: 'https://txgyy.jjjtech.cn',
baseUrl: 'https://txgyy.jjjtech.cn/',
}
})
\ No newline at end of file
... ...
... ... @@ -19,8 +19,8 @@ Page({
wx.setNavigationBarTitle({
title: options.name,
})
wxParse.wxParse('contentHtml', 'html', options.content, this, 5);
let content = wx.getStorageSync('tempArticle')
wxParse.wxParse('contentHtml', 'html', content, this, 5);
},
/**
... ...
... ... @@ -121,9 +121,11 @@ Page({
bannerDetail(e) {
let url = e.currentTarget.dataset.src
console.log(url)
wx.setStorageSync('tempArticle', e.currentTarget.dataset.content)
wx.navigateTo({
//url: '/' + url + '?id=' + e.currentTarget.dataset.id,
url: '/pages/attract/dangjianbannerdetail/dangjianbannerdetail?name=' + e.currentTarget.dataset.title + '&content=' + e.currentTarget.dataset.content
url: '/pages/attract/dangjianbannerdetail/dangjianbannerdetail?name=' + e.currentTarget.dataset.title
// + '&content=' + JSON.stringify(e.currentTarget.dataset.content)
})
},
/**
... ...