diff --git a/pages/appliccation/list.vue b/pages/appliccation/list.vue
index 8c3b35f..45c1925 100644
--- a/pages/appliccation/list.vue
+++ b/pages/appliccation/list.vue
@@ -1,19 +1,78 @@
-
-
+
+
+
+
+
+
+ {{listItem.title}}
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/pages/appliccation/marketing.vue b/pages/appliccation/marketing.vue
index 8c3b35f..e5720ff 100644
--- a/pages/appliccation/marketing.vue
+++ b/pages/appliccation/marketing.vue
@@ -1,19 +1,78 @@
-
-
+
+
+
+
+
+
+ {{listItem.title}}
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/store/menus.js b/store/menus.js
index 38e9c12..c1f4c1e 100644
--- a/store/menus.js
+++ b/store/menus.js
@@ -43,7 +43,8 @@ export const useMenusStore = defineStore('menus', {
return {
originMenus: [],
menuList: [],
- allPages: allPages
+ allPages: allPages,//小程序全部页面
+ adminPages:[]//后台返回的全部页面
};
},
actions: {
@@ -51,6 +52,7 @@ export const useMenusStore = defineStore('menus', {
const data = await menusApi.getMenus()
this.originMenus = data;
const arr = flattenNestedChildren(data).filter(v => v.miniPath)
+ this.adminPages=arr;
this.menuList = this.allPages.filter(v => {
const findItem = arr.find(item => item.miniPath == v.pageId || item.miniPath
.replace(/^\/+|\/+$/g, '') == v.allPath)