diff --git a/src/api/index.js b/src/api/index.js index be43a6b..2176924 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -120,4 +120,11 @@ export default { productDetailsEnable: `/iasf/productDetails/articleEnableOrDisable`, productDetailsTop: `/iasf/productDetails/courseProductTopOperation`, productDetailsCheck: `/iasf/productDetails/checkIfTheTitleIsRepeat`, + + navList: `/iasf/SysNavigationIconService/SysNavigationIcon/list`, + navDel: `/iasf/SysNavigationIconService/SysNavigationIcon/batchDeletion`, + navFind: `/iasf/SysNavigationIconService/SysNavigationIcon/findById`, + navSave: `/iasf/SysNavigationIconService/SysNavigationIcon/saveOrUpdate`, + navSort: `/iasf/SysNavigationIconService/SysNavigationIcon/updateSortOrder`, + navEnable: `/iasf/SysNavigationIconService/SysNavigationIcon/enableDisable`, } \ No newline at end of file diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 78942ec..2be04c1 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -44,7 +44,7 @@ export default { sites: [], crumbRefresh: true, inContent: false, // 是否显示站点切换 - sitePath: ['/page', '/column', '/article', '/seo', '/floatingFrame', '/footer', '/logo'] + sitePath: ['/page', '/column', '/article', '/seo', '/floatingFrame', '/footer', '/logo', '/nav'] }; }, components: { diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index d5fdcbc..9d35794 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -163,6 +163,10 @@ export default { { index: '/logo', title: '网站logo设置' + }, + { + index: '/nav', + title: '导航图标设置' } ] } diff --git a/src/pages/column/list/index.vue b/src/pages/column/list/index.vue index 8c42599..8190d27 100644 --- a/src/pages/column/list/index.vue +++ b/src/pages/column/list/index.vue @@ -448,10 +448,6 @@ export default { height: auto; border-bottom: 1px solid #ebedf0; } - - // .el-tree-node__expand-icon { - // display: none; - // } } .sort-line { diff --git a/src/pages/nav/index.vue b/src/pages/nav/index.vue new file mode 100644 index 0000000..1334c7d --- /dev/null +++ b/src/pages/nav/index.vue @@ -0,0 +1,412 @@ + + + + + \ No newline at end of file diff --git a/src/router/modules/nav.js b/src/router/modules/nav.js new file mode 100644 index 0000000..54d36ee --- /dev/null +++ b/src/router/modules/nav.js @@ -0,0 +1,16 @@ +import BasicLayout from '@/layouts/home' + +const meta = {} + +export default { + path: '/nav', + meta, + component: BasicLayout, + children: [ + { + path: `/nav`, + component: () => import('@/pages/nav'), + meta: { title: '导航图标设置' } + }, + ] +} diff --git a/src/setting.js b/src/setting.js index 18002e7..8cd23f3 100644 --- a/src/setting.js +++ b/src/setting.js @@ -5,7 +5,7 @@ const isDev = process.env.NODE_ENV === 'development' // 开发环境 let host = location.origin if (isDev) { host = 'https://huorantech.com' - // host = 'http://192.168.31.217:10000' + host = 'http://192.168.31.217:10000' } const Setting = {