From 5ce37eab8bd3181959863cf744a525a4a8cca0cd Mon Sep 17 00:00:00 2001 From: liruiqiang <3151805288@qq.com> Date: Tue, 21 Oct 2025 16:32:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=90=BD=E5=9C=B0=E9=A1=B5=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/member.js | 9 + src/main.js | 5 +- src/router/index.js | 2 +- src/views/admin/landingDetail.vue | 338 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 352 insertions(+), 2 deletions(-) create mode 100644 src/views/admin/landingDetail.vue diff --git a/src/api/member.js b/src/api/member.js index f4ed254..03103a7 100644 --- a/src/api/member.js +++ b/src/api/member.js @@ -21,4 +21,13 @@ export function getLandingDetailApi(data) { method: "post", data: data, }); +} + +// 导出落地页活动列表 +export function exportLandingDetailApi(data) { + return request({ + url: `${API_BASE_URL}/admin/exportLandingDetail`, + method: "post", + data: data, + }); } \ No newline at end of file diff --git a/src/main.js b/src/main.js index f13a601..70d979e 100644 --- a/src/main.js +++ b/src/main.js @@ -3,10 +3,13 @@ import App from './App.vue' import router from './router' import ElementPlus from 'element-plus' import 'element-plus/dist/index.css' +import zhCn from 'element-plus/es/locale/lang/zh-cn' const app = createApp(App) app.use(router) -app.use(ElementPlus) +app.use(ElementPlus, { + locale: zhCn +}) app.mount('#app') diff --git a/src/router/index.js b/src/router/index.js index f9c2ffe..56c1536 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -18,7 +18,7 @@ const router = createRouter({ }, // 落地页活动详情 { - path: '/admin/landingDetail', + path: '/admin/landingDetail/:id', name: 'landingDetail', component: () => import('../views/admin/landingDetail.vue'), meta: { diff --git a/src/views/admin/landingDetail.vue b/src/views/admin/landingDetail.vue new file mode 100644 index 0000000..01bf438 --- /dev/null +++ b/src/views/admin/landingDetail.vue @@ -0,0 +1,338 @@ + + + + + \ No newline at end of file