From 74c5c2b7683a64316057e09e83ce91eaf0e4fc3d Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Tue, 20 Aug 2024 17:56:14 +0800 Subject: [PATCH] =?UTF-8?q?Feat(=E5=8D=83=E5=8E=BF=E5=90=8D=E5=93=81):?= =?UTF-8?q?=E5=8E=BF=E5=BA=97=E9=93=BA=E9=A6=96=E9=A1=B5=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/qianxian.js | 37 +- pages.json | 13 + pkg_product/views/famousList.vue | 22 +- pkg_product/views/famousQianxian.vue | 12 +- .../views/famousQianxianInvestment.vue | 113 +++++ pkg_product/views/famousQianxianShop.vue | 452 ++++++++++++++++-- pkg_product/views/famousQianxianTheme.vue | 181 +++++++ 7 files changed, 786 insertions(+), 44 deletions(-) create mode 100644 pkg_product/views/famousQianxianInvestment.vue create mode 100644 pkg_product/views/famousQianxianTheme.vue diff --git a/api/qianxian.js b/api/qianxian.js index 12076da..bb13f13 100644 --- a/api/qianxian.js +++ b/api/qianxian.js @@ -20,6 +20,21 @@ export function getCountyFamousCityShop(param) { return request.get('/countyFamous/shop', param, { login: true }) } +// 千县名品店铺点赞/取消赞 +export function postCountyFamousShopZan(data) { + return request.post('/countyFamous/shop/zan', data, { login: true }) +} + +// 千县名品资讯点赞/取消赞 +export function postCountyFamousNewsZan(data) { + return request.post('/countyFamous/news/zan', data, { login: true }) +} + +// 千县名品资讯被浏览 +export function postCountyFamousNewsView(data) { + return request.post('/countyFamous/news/view', data, { login: true }) +} + // 获取千县名品县城资讯数据 export function getCountyFamousCityNews(param) { return request.get('/countyFamous/news', param, { login: true }) @@ -30,7 +45,27 @@ export function getCountyFamousCityGuide(param) { return request.get('/countyFamous/guide', param, { login: true }) } -// 获取千县名品县城攻略数据 +// 获取千县名品县城攻略专题页 export function getCountyFamousCityGuideContent(param) { return request.get('/countyFamous/guide/content', param, { login: true }) } + +// 获取千县名品县城重点产业列表 +export function getCountyFamousIndustry(param) { + return request.get('/countyFamous/industry', param, { login: true }) +} + +// 获取千县名品县城产业项目列表 +export function getCountyFamousIndustryProject(param) { + return request.get('/countyFamous/industryProject', param, { login: true }) +} + +// 获取千县名品县城产业项目文件列表 +export function getCountyFamousIndustryProjectFile(param) { + return request.get('/countyFamous/industryProject/file', param, { login: true }) +} + +// 获取千县名品县城招商政策文件列表 +export function getCountyFamousInvestmentFile(param) { + return request.get('/countyFamous/investmentFile', param, { login: true }) +} diff --git a/pages.json b/pages.json index dd16445..6a8584a 100644 --- a/pages.json +++ b/pages.json @@ -590,6 +590,19 @@ "navigationStyle": "custom" } }, + { + "path": "views/famousQianxianTheme", + "style": { + "navigationBarTitleText": "千县名品", + "navigationStyle": "custom" + } + }, + { + "path": "views/famousQianxianInvestment", + "style": { + "navigationBarTitleText": "招商政策" + } + }, { "path": "views/famousStory", "style": { diff --git a/pkg_product/views/famousList.vue b/pkg_product/views/famousList.vue index 45fe45a..d871896 100644 --- a/pkg_product/views/famousList.vue +++ b/pkg_product/views/famousList.vue @@ -57,6 +57,10 @@ + @@ -148,6 +152,11 @@ + + + + + + + ·  {{ file.title }} + + + + + + + + + + + \ No newline at end of file diff --git a/pkg_product/views/famousQianxianShop.vue b/pkg_product/views/famousQianxianShop.vue index 3b645d6..8c42d7f 100644 --- a/pkg_product/views/famousQianxianShop.vue +++ b/pkg_product/views/famousQianxianShop.vue @@ -110,18 +110,18 @@ - + {{ inn.address }} - + 导航 - + 客服 @@ -131,14 +131,15 @@ - + {{ item.text }} - - + @@ -193,20 +194,20 @@ {{ item.zan }} @@ -228,6 +229,7 @@ 县城介绍 {{ toggleCountyIntroStatus ? '收起' : '展开' }} + - 产业 + + + + + + + + {{ tab.name }} + + + + + + 重点项目 + + + + + + ·  {{ file.title }} + + + + + + 暂无重点项目 + + + + + + + 产业项目 + + + + + + + 暂无产业项目 + + + + + + + + + + {{ tab.name }} + + + + + + + + ·  {{ file.title }} + + + + + + 暂无招商政策 + + + + + + 更多政策 + + + @@ -321,15 +450,18 @@ + + \ No newline at end of file