diff --git a/api/api.js b/api/api.js index 274f807..7093644 100644 --- a/api/api.js +++ b/api/api.js @@ -334,6 +334,26 @@ const config = { method: 'GET', showLoading: true, }, + + + + // 2025-2-18 + + // 申遗新闻-获取新闻分类列表 + queryNewsTypeList: { + url: '/info/queryNewsTypeList', + method: 'GET', + }, + // 申遗新闻-根据分类获取新闻列表 + queryNewsByType: { + url: '/info/queryNewsByType', + method: 'GET', + }, + // 根据id获取新闻详情 + queryNewsById: { + url: '/info/queryNewsById', + method: 'GET', + }, } diff --git a/components/list/newsItem.vue b/components/list/newsItem.vue new file mode 100644 index 0000000..92e2484 --- /dev/null +++ b/components/list/newsItem.vue @@ -0,0 +1,138 @@ + + + + + \ No newline at end of file diff --git a/components/list/videoList - 副本.vue b/components/list/scenicSpot.vue similarity index 71% rename from components/list/videoList - 副本.vue rename to components/list/scenicSpot.vue index 8b083e1..1d0166a 100644 --- a/components/list/videoList - 副本.vue +++ b/components/list/scenicSpot.vue @@ -4,27 +4,27 @@ :style="{height: height}" @scrolltolower="loadMoreData"> - - + - - - - - - {{ item.travelVideo.videoTitle }} + {{ item.spotName }} - @@ -33,7 +33,7 @@ + + diff --git a/pages_order/service/newsList.vue b/pages_order/service/newsList.vue new file mode 100644 index 0000000..f70d3e8 --- /dev/null +++ b/pages_order/service/newsList.vue @@ -0,0 +1,202 @@ + + + + + \ No newline at end of file