From a6b5211e178eb77543a7573f02b707e411690b1a Mon Sep 17 00:00:00 2001 From: zx <604444282@qq.com> Date: Wed, 22 Jun 2022 18:03:40 +0800 Subject: [PATCH] zx --- src/router/index.js | 9 ++ src/views/StarwayInfo/_actDetail/index.vue | 155 +++++++++++++++++++++ src/views/StarwayInfo/index.vue | 5 +- 3 files changed, 168 insertions(+), 1 deletion(-) create mode 100644 src/views/StarwayInfo/_actDetail/index.vue diff --git a/src/router/index.js b/src/router/index.js index fd694aa..450a51d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -90,6 +90,15 @@ const routes = [ }, hidden: true }, + { + path: '/actDetail', + name: "ActDetail", + component: () => import("@/views/StarwayInfo/_actDetail/index.vue"), + meta: { + title: '动态详情', + }, + hidden: true + }, { path: '/matManage', name: "MatManage", diff --git a/src/views/StarwayInfo/_actDetail/index.vue b/src/views/StarwayInfo/_actDetail/index.vue new file mode 100644 index 0000000..c858b33 --- /dev/null +++ b/src/views/StarwayInfo/_actDetail/index.vue @@ -0,0 +1,155 @@ + + + + + \ No newline at end of file diff --git a/src/views/StarwayInfo/index.vue b/src/views/StarwayInfo/index.vue index f0bb9f2..b845414 100644 --- a/src/views/StarwayInfo/index.vue +++ b/src/views/StarwayInfo/index.vue @@ -29,7 +29,7 @@ @@ -102,6 +102,9 @@ export default defineComponent({ goEdit(value) { this.$router.push({ name: "ActRelease",params:{id:value}}) }, + goDetail(value) { + this.$router.push({ name: "ActDetail",params:{id:value}}) + }, //删除 singleDel(id) { this.$alert(