Browse Source

开发共享中的路由与框架

lkk 11 months ago
parent
commit
253bec9888

+ 28 - 0
src/router/index.js

@@ -101,6 +101,34 @@ export const constantRoutes = [{
             import('@/views/farmlandProtection/index.vue'),
         hidden: true
     },
+    //共享资源
+    {
+        path: '/shareResources',
+        component: () =>
+            import('@/views/shareResources/index.vue'),
+        hidden: true
+    },
+    //共享位置
+    {
+        path: '/sharedLocation',
+        component: () =>
+            import('@/views/sharedLocation/index.vue'),
+        hidden: true
+    },
+    //我的申请
+    {
+        path: '/myApplication',
+        component: () =>
+            import('@/views/myApplication/index.vue'),
+        hidden: true
+    },
+    //我的审核
+    {
+        path: '/myReview',
+        component: () =>
+            import('@/views/myReview/index.vue'),
+        hidden: true
+    },
 
 
     ]

+ 17 - 0
src/views/myApplication/index.vue

@@ -0,0 +1,17 @@
+<template>
+  <div>
+    我是我的申请
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {};
+  },
+};
+</script>
+
+<style lang="less" scoped>
+
+</style>

+ 17 - 0
src/views/myReview/index.vue

@@ -0,0 +1,17 @@
+<template>
+  <div>
+    我是我的审核
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {};
+  },
+};
+</script>
+
+<style lang="less" scoped>
+
+</style>

+ 17 - 0
src/views/shareResources/index.vue

@@ -0,0 +1,17 @@
+<template>
+  <div>
+    我是资源共享
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {};
+  },
+};
+</script>
+
+<style lang="less" scoped>
+
+</style>

+ 17 - 0
src/views/sharedLocation/index.vue

@@ -0,0 +1,17 @@
+<template>
+  <div>
+    我是共享位置
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {};
+  },
+};
+</script>
+
+<style lang="less" scoped>
+
+</style>