diff --git a/pages/ancient/ancientTourById.vue b/pages/ancient/ancientTourById.vue index ea70627..f8f33e8 100644 --- a/pages/ancient/ancientTourById.vue +++ b/pages/ancient/ancientTourById.vue @@ -49,13 +49,11 @@ > {{ item.title }} + {{ item.subtitle }} + - {{ item.subtitle }} - {{ formatTime(item.createTime) }} - - ID: {{ item.id }} @@ -101,10 +99,10 @@ export default { // 添加基本样式 content = `
${content}
`; @@ -222,225 +220,193 @@ export default { console.log("封面图片加载失败"); // 可以设置默认图片或隐藏图片容器 }, - - // 测试方法(开发时使用) - testWithId(id) { - this.tourId = id; - this.fetchTourDetail(); - this.fetchRelevantArticles(); - }, }, };