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