diff --git a/pages.json b/pages.json index a848ec0287461043e7bf9b30eaf9b1a5068d8e4d..af875e51ae7191635f92e8a99954f136a72d1312 100644 --- a/pages.json +++ b/pages.json @@ -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": "详情示例" } diff --git a/pages/component/list/detail/detail.uvue b/pages/component/list-news/detail/detail.uvue similarity index 100% rename from pages/component/list/detail/detail.uvue rename to pages/component/list-news/detail/detail.uvue diff --git a/pages/component/list/list.uvue b/pages/component/list-news/list.uvue similarity index 93% rename from pages/component/list/list.uvue rename to pages/component/list-news/list.uvue index 0eefec0178c11177f5d26e6f1b55ee21e42c64bf..cf5bb305ac73ad5b5b1178c98c174d49738f54cf 100644 --- a/pages/component/list/list.uvue +++ b/pages/component/list-news/list.uvue @@ -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[] { diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue index 5ba6339c1949d458467b78a7d47932f73e408f55..a805cb5311ee5a540f8f7519bd26806a76b31230 100644 --- a/pages/tabBar/component.uvue +++ b/pages/tabBar/component.uvue @@ -107,7 +107,7 @@ export default { */ { name: 'list(新闻)', - url: '/pages/component/list/list', + url: '/pages/component/list-news/list', }, { name: 'list',