sund 3 mesi fa
parent
commit
8a67e9f360

+ 0 - 32
src/menu/modules/actionItems.ts

@@ -1,32 +0,0 @@
-const home: Menu.MenuOptions = {
-  component: '/actionItems',
-  name: 'actionItems',
-  path: '/action-items',
-  meta: {
-    icon: '',
-    isAffix: true,
-    isFull: false,
-    isHide: false,
-    isKeepAlive: true,
-    isLink: '',
-    title: 'Action Items',
-    index: 0
-  },
-  children: [
-    {
-      component: '/actionItems/index',
-      name: 'actionItemsIndex',
-      path: '/action-items/index',
-      meta: {
-        icon: '',
-        isAffix: false,
-        isFull: false,
-        isHide: false,
-        isKeepAlive: true,
-        isLink: '',
-        title: 'Action Items'
-      }
-    }
-  ]
-};
-export default home;

+ 14 - 0
src/menu/modules/home.ts

@@ -26,6 +26,20 @@ const home: Menu.MenuOptions = {
         isLink: '',
         title: 'AA'
       }
+    },
+    {
+      component: '/actionItems/index',
+      name: 'actionItemsIndex',
+      path: '/action-items/index',
+      meta: {
+        icon: '',
+        isAffix: false,
+        isFull: false,
+        isHide: false,
+        isKeepAlive: true,
+        isLink: '',
+        title: 'Action Items'
+      }
     }
   ]
 };

+ 28 - 0
src/pages/actionItems/index.vue

@@ -0,0 +1,28 @@
+<template>
+  <StPage>
+    <div class="home card">
+      <img class="home-bg" src="@/assets/images/welcome.png" alt="welcome" />
+    </div>
+  </StPage>
+</template>
+
+<route lang="yaml">
+meta:
+  title: action items
+  isAffix: true
+</route>
+
+<style lang="scss" scoped>
+.home {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  width: 100%;
+  height: 100%;
+  .home-bg {
+    width: 70%;
+    max-width: 1200px;
+    margin-bottom: 20px;
+  }
+}
+</style>

+ 1 - 1
src/pages/home/aa.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="h-1000px">
     <!-- 布局 -->
-    <div>首页aa</div>
+    <div>首页aauu</div>
   </div>
 </template>
 

+ 0 - 25
src/types/components.d.ts

@@ -7,32 +7,7 @@ export {}
 
 declare module 'vue' {
   export interface GlobalComponents {
-    AppContainer: typeof import('./../components/AppDesign/AppContainer/index.vue')['default']
-    AppDesignContainer: typeof import('./../components/AppDesign/AppDesignContainer/index.vue')['default']
-    AppScrollContainer: typeof import('./../components/AppDesign/AppScrollContainer/index.vue')['default']
-    ConfigItem: typeof import('./../components/AppDesign/components/ConfigItem/index.vue')['default']
-    ConfigPayment: typeof import('./../components/AppDesign/BizComponents/Payment/ConfigPayment.vue')['default']
-    ConfigPersonalSetting: typeof import('./../components/AppDesign/BizComponents/PersonalSetting/ConfigPersonalSetting.vue')['default']
-    Controller: typeof import('./../components/AppDesign/BizComponents/PersonalCenter/Controller.vue')['default']
-    CustomerLink: typeof import('./../components/LinkChoseDialog/CustomerLink.vue')['default']
-    LinkChoseDialog: typeof import('./../components/LinkChoseDialog/index.vue')['default']
-    MallLink: typeof import('./../components/LinkChoseDialog/mall-link.vue')['default']
-    Render: typeof import('./../components/AppDesign/BizComponents/PersonalCenter/Render.vue')['default']
-    RenderPayment: typeof import('./../components/AppDesign/BizComponents/Payment/RenderPayment.vue')['default']
-    RenderPersonalSetting: typeof import('./../components/AppDesign/BizComponents/PersonalSetting/RenderPersonalSetting.vue')['default']
     RouterLink: typeof import('vue-router')['RouterLink']
     RouterView: typeof import('vue-router')['RouterView']
-    StDialog: typeof import('./../components/StDialog/index.vue')['default']
-    StPage: typeof import('./../components/StPage/index.vue')['default']
-    StTable: typeof import('./../components/StTable/index.vue')['default']
-    StTableColumn: typeof import('./../components/StTable/st-table-column.vue')['default']
-    StTips: typeof import('./../components/StTips/index.vue')['default']
-    StUpload: typeof import('./../components/StUpload/index.vue')['default']
-    SwitchDark: typeof import('./../components/SwitchDark/index.vue')['default']
-    VanButton: typeof import('vant/es')['Button']
-    VanCell: typeof import('vant/es')['Cell']
-    VanCellGroup: typeof import('vant/es')['CellGroup']
-    VanIcon: typeof import('vant/es')['Icon']
-    VanNavBar: typeof import('vant/es')['NavBar']
   }
 }