晓晓晓晓丶vv пре 4 година
родитељ
комит
cfeada0842
3 измењених фајлова са 60 додато и 25 уклоњено
  1. 54 25
      src/router/async.ts
  2. 3 0
      src/views/put/landing/add.vue
  3. 3 0
      src/views/put/landing/index.vue

+ 54 - 25
src/router/async.ts

@@ -5,45 +5,65 @@ export const AccountManager: RouteConfig = {
   path: "/account",
   icon: "ProjectOutlined",
   meta: {
-    title: "公众号管理",
+    title: "公众号管理"
   },
-  component: () => import("@/views/account/account.vue"),
+  component: () => import("@/views/account/account.vue")
 };
 
 const PutBook: RouteConfig = {
   name: "PutBook",
   path: "book",
   meta: {
-    title: "投放书籍",
+    title: "投放书籍"
   },
-  component: () => import("@/views/put/put-book.vue"),
+  component: () => import("@/views/put/put-book.vue")
 };
 
 const PutAdAccount: RouteConfig = {
   name: "PutAdAccount",
   path: "ad-account",
   meta: {
-    title: "广告账号",
+    title: "广告账号"
   },
-  component: () => import("@/views/put/put-ad-account.vue"),
+  component: () => import("@/views/put/put-ad-account.vue")
 };
 
 const PutData: RouteConfig = {
   name: "PutData",
   path: "data",
   meta: {
-    title: "投放数据",
+    title: "投放数据"
   },
-  component: () => import("@/views/put/put-data.vue"),
+  component: () => import("@/views/put/put-data.vue")
+};
+
+const LandingPage: RouteConfig = {
+  name: "LandingPage",
+  path: "landing",
+  meta: {
+    title: "落地页管理"
+  },
+  component: () => import("@/views/put/landing/index.vue")
+};
+
+const LandingAddPage: RouteConfig = {
+  name: "LandingAddPage",
+  path: "/put/landing/add",
+  meta: {
+    title: "落地页添加",
+    activeMenu: "/put/landing"
+  },
+  hidden: true,
+  component: () => import("@/views/put/landing/add.vue")
 };
 
 const PutLog: RouteConfig = {
   name: "PutLog",
   path: "log",
   meta: {
-    title: "操作日志",
+    title: "操作日志"
   },
-  component: () => import("@/views/put/put-log.vue"),
+  component: () => import("@/views/put/put-log.vue")
 };
 
 const PutDataMore: RouteConfig = {
@@ -51,10 +71,10 @@ const PutDataMore: RouteConfig = {
   path: "datamore",
   meta: {
     title: "更多投放数据",
-    activeMenu: "/put/data",
+    activeMenu: "/put/data"
   },
   hidden: true,
-  component: () => import("@/views/put/put-data-more.vue"),
+  component: () => import("@/views/put/put-data-more.vue")
 };
 
 const PutAdGroup: RouteConfig = {
@@ -62,9 +82,9 @@ const PutAdGroup: RouteConfig = {
   path: "/put/datas/group",
   meta: {
     title: "广告组数据",
-    activeMenu: "/put/datas",
+    activeMenu: "/put/datas"
   },
-  component: () => import("@/views/put/ad-group.vue"),
+  component: () => import("@/views/put/ad-group.vue")
 };
 
 export const Operation: RouteConfig = {
@@ -80,9 +100,9 @@ const PutAdAcountL: RouteConfig = {
   path: "/put/datas/count",
   meta: {
     title: "广告账号数据",
-    activeMenu: "/put/datas",
+    activeMenu: "/put/datas"
   },
-  component: () => import("@/views/put/ad-countdata.vue"),
+  component: () => import("@/views/put/ad-countdata.vue")
 };
 
 const PutAdPlan: RouteConfig = {
@@ -90,9 +110,9 @@ const PutAdPlan: RouteConfig = {
   path: "/put/datas/ad-plan",
   meta: {
     title: "广告计划数据",
-    activeMenu: "/put/datas",
+    activeMenu: "/put/datas"
   },
-  component: () => import("@/views/put/put-ad-plan.vue"),
+  component: () => import("@/views/put/put-ad-plan.vue")
 };
 
 export const PutDataTab: RouteConfig = {
@@ -100,10 +120,10 @@ export const PutDataTab: RouteConfig = {
   path: "/put/datas",
   meta: {
     title: "广告数据",
-    noMenu: true,
+    noMenu: true
   },
   children: [PutAdAcountL, PutAdGroup, PutAdPlan],
-  component: () => import("@/views/put/ad_datas.vue"),
+  component: () => import("@/views/put/ad_datas.vue")
 };
 
 export const PutManager: RouteConfig = {
@@ -111,10 +131,19 @@ export const PutManager: RouteConfig = {
   path: "/put",
   icon: "DesktopOutlined",
   meta: {
-    title: "投放管理",
+    title: "投放管理"
   },
-  children: [PutBook, PutAdAccount, PutDataTab, PutData, PutDataMore,Operation],
-  component: () => import("@/views/put/index.vue"),
+  children: [
+    PutBook,
+    PutAdAccount,
+    PutDataTab,
+    PutData,
+    PutDataMore,
+    Operation,
+    LandingPage,
+    LandingAddPage
+  ],
+  component: () => import("@/views/put/index.vue")
 };
 
 export const Financial: RouteConfig = {
@@ -122,9 +151,9 @@ export const Financial: RouteConfig = {
   path: "/financial",
   icon: "PayCircleOutlined",
   meta: {
-    title: "财务管理",
+    title: "财务管理"
   },
-  component: () => import("@/views/financial/index.vue"),
+  component: () => import("@/views/financial/index.vue")
 };
 
 const asyncRoutes: RouteConfig[] = [AccountManager, PutManager, Financial];

+ 3 - 0
src/views/put/landing/add.vue

@@ -0,0 +1,3 @@
+<template>
+  <div>落地页添加</div>
+</template>

+ 3 - 0
src/views/put/landing/index.vue

@@ -0,0 +1,3 @@
+<template>
+  <div>落地页列表</div>
+</template>