From 3b0ef59ca7b91ef3439d6367e9f284535a7242b1 Mon Sep 17 00:00:00 2001 From: liuyiwuqing <1520431201@qq.com> Date: Fri, 31 May 2024 18:47:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8F=8B=E9=93=BE=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/v2/all.api.js | 6 + pages.json | 7 + pagesA/friend-links/friend-links.vue | 8 +- pagesA/submit-link/submit-link.vue | 252 +++++++++++++++++++++++++++ 4 files changed, 272 insertions(+), 1 deletion(-) create mode 100644 pagesA/submit-link/submit-link.vue diff --git a/api/v2/all.api.js b/api/v2/all.api.js index 9106582..026c4a3 100644 --- a/api/v2/all.api.js +++ b/api/v2/all.api.js @@ -170,4 +170,10 @@ export default { } }) }, + /** + * 提交友情链接 + */ + submitLink(form) { + return HttpHandler.Post(`/linksSubmit/links`, form, null) + } } diff --git a/pages.json b/pages.json index e6e5736..b9be93a 100644 --- a/pages.json +++ b/pages.json @@ -295,6 +295,13 @@ "navigationBarTitleText": "广告页面", "enablePullDownRefresh": false } + }, + { + "path": "submit-link/submit-link", + "style": { + "navigationBarTitleText": "友链提交", + "enablePullDownRefresh": false + } } ] }, diff --git a/pagesA/friend-links/friend-links.vue b/pagesA/friend-links/friend-links.vue index 55766cd..4a85f17 100644 --- a/pagesA/friend-links/friend-links.vue +++ b/pagesA/friend-links/friend-links.vue @@ -120,6 +120,7 @@ + @@ -326,7 +327,12 @@ }); } }); - } + }, + toSubmitLinkPage() { + this.$Router.push({ + path: '/pagesA/submit-link/submit-link' + }); + } } }; diff --git a/pagesA/submit-link/submit-link.vue b/pagesA/submit-link/submit-link.vue new file mode 100644 index 0000000..e15c3ab --- /dev/null +++ b/pagesA/submit-link/submit-link.vue @@ -0,0 +1,252 @@ + + + + + \ No newline at end of file -- Gitee