Compare commits

...

2 Commits

Author SHA1 Message Date
lx
e61189f4cc Merge branch 'dev' of http://47.109.205.240:3000/Web/daimp-front into dev 2025-04-22 14:02:39 +08:00
lx
c629f80d85 feat 2025-04-22 14:02:28 +08:00
3 changed files with 48 additions and 4 deletions

View File

@ -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',

View File

@ -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>

View File

@ -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>