Compare commits
2 Commits
9eac2572b6
...
e61189f4cc
Author | SHA1 | Date | |
---|---|---|---|
e61189f4cc | |||
c629f80d85 |
@ -127,8 +127,24 @@ export const constantRoutes = [
|
||||
path: '/sub-operation-service/farmingService',
|
||||
name: 'farmingService',
|
||||
component: Layout,
|
||||
// component: () => import('@/views/farmingService/index.vue'),
|
||||
redirect: '/sub-operation-service/farmingServiceMain',
|
||||
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',
|
||||
|
@ -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>
|
||||
<section>农事服务</section>
|
||||
<section class="framing_service_content"><el-button type="primary">农事服务</el-button></section>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
/* --------------- data --------------- */
|
||||
@ -16,4 +16,13 @@ import { ref } from 'vue';
|
||||
// #endregion
|
||||
</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