|
|
@@ -1,6 +1,6 @@
|
|
|
<config>
|
|
|
{
|
|
|
-'navigationBarTitleText': '活动详情',
|
|
|
+'navigationBarTitleText': '',
|
|
|
}
|
|
|
</config>
|
|
|
<template>
|
|
|
@@ -26,6 +26,10 @@ export default {
|
|
|
this.$http.get(`https://www.jetour.com.cn/cmsapi/business/Article/get/${this.$mp.query.id}`).then(res => {
|
|
|
this.content = res.data.articleContent.replace(/<img /g, '<img class="rich-text-img"');
|
|
|
this.info = res.data;
|
|
|
+
|
|
|
+ wx.setNavigationBarTitle({
|
|
|
+ title: res.data.articleType == '1' ? '新闻详情' : '活动详情'
|
|
|
+ });
|
|
|
});
|
|
|
}
|
|
|
};
|