提交 e9e193a7 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

fix: 修改list新闻的文件名

上级 55d552d9
......@@ -625,7 +625,7 @@
}
},
{
"path": "pages/component/list/list",
"path": "pages/component/list-news/list",
"style": {
"navigationBarTitleText": "列表到详情示例"
}
......@@ -637,7 +637,7 @@
}
},
{
"path": "pages/component/list/detail/detail",
"path": "pages/component/list-news/detail/detail",
"style": {
"navigationBarTitleText": "详情示例"
}
......
......@@ -122,7 +122,7 @@
const cover = detail.cover;
const title = detail.title;
uni.navigateTo({
url: '/pages/component/list/detail/detail?post_id=' + post_id + "&cover=" + cover + "&title=" + title
url: '/pages/component/list-news/detail/detail?post_id=' + post_id + "&cover=" + cover + "&title=" + title
});
},
bannerClick(e:Banner){
......@@ -131,7 +131,7 @@
const cover = detail.cover;
const title = detail.title;
uni.navigateTo({
url: '/pages/component/list/detail/detail?post_id=' + post_id + "&cover=" + cover + "&title=" + title
url: '/pages/component/list-news/detail/detail?post_id=' + post_id + "&cover=" + cover + "&title=" + title
});
},
setTime(items: UTSJSONObject[]): Item[] {
......
......@@ -107,7 +107,7 @@ export default {
*/
{
name: 'list(新闻)',
url: '/pages/component/list/list',
url: '/pages/component/list-news/list',
},
{
name: 'list',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册