diff --git a/sub-operation-service/src/apis/brand.js b/sub-operation-service/src/apis/brand.js index cab6c49..6d3b678 100644 --- a/sub-operation-service/src/apis/brand.js +++ b/sub-operation-service/src/apis/brand.js @@ -39,6 +39,12 @@ export function authList(params) { params, }); } +export function authDetail(id, params) { + return request(`brand/brandbase/detail/${id}`, { + method: 'GET', + params, + }); +} export function saveRecords(data) { return request('brand/applicationrecord/save', { diff --git a/sub-operation-service/src/assets/images/mockPic/nyzc0.png b/sub-operation-service/src/assets/images/mockPic/nyzc0.png new file mode 100644 index 0000000..0aa2b90 Binary files /dev/null and b/sub-operation-service/src/assets/images/mockPic/nyzc0.png differ diff --git a/sub-operation-service/src/assets/images/mockPic/nyzc1.png b/sub-operation-service/src/assets/images/mockPic/nyzc1.png new file mode 100644 index 0000000..e917905 Binary files /dev/null and b/sub-operation-service/src/assets/images/mockPic/nyzc1.png differ diff --git a/sub-operation-service/src/assets/images/mockPic/nyzc2.png b/sub-operation-service/src/assets/images/mockPic/nyzc2.png new file mode 100644 index 0000000..fae6152 Binary files /dev/null and b/sub-operation-service/src/assets/images/mockPic/nyzc2.png differ diff --git a/sub-operation-service/src/assets/images/mockPic/nyzc3.png b/sub-operation-service/src/assets/images/mockPic/nyzc3.png new file mode 100644 index 0000000..c44cc62 Binary files /dev/null and b/sub-operation-service/src/assets/images/mockPic/nyzc3.png differ diff --git a/sub-operation-service/src/layouts/component/Header/index.vue b/sub-operation-service/src/layouts/component/Header/index.vue index 140106f..88d66f2 100644 --- a/sub-operation-service/src/layouts/component/Header/index.vue +++ b/sub-operation-service/src/layouts/component/Header/index.vue @@ -15,12 +15,14 @@
- -
- 购物车 -
+
+
+
购物车
+
+
+ + 商家中心 - 商家中心 个人中心
@@ -336,4 +338,15 @@ const toCart = () => { .layout-header-bottom-right { margin-top: 0; } +.layout-header-top-right { + display: flex; + .item { + margin-left: 25px; + font-size: 12px; + text-align: center; + color: $color-000; + line-height: 36px; + cursor: pointer; + } +} diff --git a/sub-operation-service/src/router/index.js b/sub-operation-service/src/router/index.js index 5bdd41b..fee44c6 100644 --- a/sub-operation-service/src/router/index.js +++ b/sub-operation-service/src/router/index.js @@ -121,6 +121,55 @@ export const constantRoutes = [ }, ], }, + { + path: '/sub-operation-service/farmService', + component: Layout, + name: 'farmService', + redirect: '/sub-operation-service/farmService/consult/policy', + meta: { title: '农事服务' }, + children: [ + { + path: 'consult', + component: Views, + name: 'farmServiceMain', + meta: { title: '农事咨询' }, + children: [ + { + path: 'policy', + component: Views, + name: 'farmPolicys', + meta: { title: '农业政策' }, + children: [ + { + path: '', + component: () => import('@/views/farmingService/farmingConsult/index.vue'), + name: 'farmPolicy', + meta: { title: '农业政策', hideInBread: true }, + }, + { + path: 'detail', + component: () => import('@/views/farmingService/farmingConsult/index.vue'), + name: 'farmPolicyDetail', + meta: { title: '农业政策详情' }, + }, + ], + }, + { + path: 'technology', + component: () => import('@/views/farmingService/farmingConsult/farmingTec.vue'), + name: 'farmTechnology', + meta: { title: '农事技术' }, + }, + { + path: 'situation', + component: () => import('@/views/farmingService/farmingConsult/situation.vue'), + name: 'farmSituation', + meta: { title: '市场行情' }, + }, + ], + }, + ], + }, { path: '/sub-operation-service/dashboard', component: Layout, @@ -336,39 +385,44 @@ export const constantRoutes = [ meta: { title: '公共品牌' }, children: [ { - path: '', + path: 'apply', component: BrandLayout, + meta: { title: '使用申请' }, + name: 'brandList', redirect: '/sub-operation-service/brand/apply', children: [ { - path: 'apply', - name: 'brandApplyList', + path: '', component: () => import('@/views/brand/components/ApplyList.vue'), - meta: { title: '使用申请' }, + meta: { title: '使用申请', hideInBread: true }, + name: 'brandApplyList', }, { - path: 'brandApplyDetail', - name: 'brandApplyDetail', + path: 'detail', component: () => import('@/views/brand/components/ApplyDetail.vue'), - meta: { title: '产品申请' }, + meta: { title: '申请详情' }, + name: 'brandApplyDetail', }, + ], + }, + { + path: 'auth', + component: BrandLayout, + meta: { title: '授权管理' }, + name: 'authManage', + redirect: 'record', + children: [ { - path: 'auth/record', - name: 'brandAuth', + path: 'record', + name: 'authRecord', component: () => import('@/views/brand/components/Auth.vue'), meta: { title: '授权记录' }, }, { - path: 'auth/system', - name: 'brandSystem', + path: 'manage', + name: 'brandManage', component: () => import('@/views/brand/components/BrandSystem.vue'), - meta: { title: '品牌制度' }, - }, - { - path: 'monitor', - name: 'brandMonitor', - component: () => import('@/views/brand/components/Monitor.vue'), - meta: { title: '使用监管' }, + meta: { title: '品牌使用管理' }, }, ], }, diff --git a/sub-operation-service/src/views/brand/components/ApplyDetail.vue b/sub-operation-service/src/views/brand/components/ApplyDetail.vue index a1d8358..f72cb3b 100644 --- a/sub-operation-service/src/views/brand/components/ApplyDetail.vue +++ b/sub-operation-service/src/views/brand/components/ApplyDetail.vue @@ -1,18 +1,11 @@