feat
This commit is contained in:
parent
54c95a835e
commit
c629f80d85
@ -127,8 +127,24 @@ export const constantRoutes = [
|
|||||||
path: '/sub-operation-service/farmingService',
|
path: '/sub-operation-service/farmingService',
|
||||||
name: 'farmingService',
|
name: 'farmingService',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
// component: () => import('@/views/farmingService/index.vue'),
|
redirect: '/sub-operation-service/farmingServiceMain',
|
||||||
meta: { title: '农事服务', headerActive: 'farmingService' },
|
meta: { title: '农事服务', headerActive: 'farmingService' },
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: '/sub-operation-service/farmingServiceMain',
|
||||||
|
component: () => import('@/views/farmingService/index.vue'),
|
||||||
|
name: 'farmingServiceMain',
|
||||||
|
meta: { title: '农资服务', headerActive: 'farmingService' },
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'farmingConsult',
|
||||||
|
component: () => import('@/views/farmingService/farmingConsult/index.vue'),
|
||||||
|
name: 'farmingConsult',
|
||||||
|
meta: { title: '农资服务', headerActive: 'farmingService' },
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/sub-operation-service/userCenter',
|
path: '/sub-operation-service/userCenter',
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
<template>
|
||||||
|
<section>framing consult</section>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
import { ref } from 'vue';
|
||||||
|
|
||||||
|
/* --------------- data --------------- */
|
||||||
|
// #region
|
||||||
|
|
||||||
|
// #endregion
|
||||||
|
|
||||||
|
/* --------------- methods --------------- */
|
||||||
|
// #region
|
||||||
|
|
||||||
|
// #endregion
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped></style>
|
@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<section>农事服务</section>
|
<section class="framing_service_content"><el-button type="primary">农事服务</el-button></section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script setup>
|
||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
|
|
||||||
/* --------------- data --------------- */
|
/* --------------- data --------------- */
|
||||||
@ -16,4 +16,13 @@ import { ref } from 'vue';
|
|||||||
// #endregion
|
// #endregion
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped></style>
|
<style lang="scss" scoped>
|
||||||
|
.framing_service_content {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0 32px;
|
||||||
|
margin: 0 auto;
|
||||||
|
border: 1px solid skyblue;
|
||||||
|
width: 1200px;
|
||||||
|
min-height: 600px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user