diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 98e6f71..3c35823 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -1,13 +1,13 @@ @@ -69,4 +69,21 @@ getBreadcrumb() .mobile .app-breadcrumb.el-breadcrumb { display: none; } + +.breadcrumb-move, /* 对移动中的元素应用的过渡 */ +.breadcrumb-enter-active, +.breadcrumb-leave-active { + transition: all 0.5s ease; +} +.breadcrumb-enter-from, +.breadcrumb-leave-to { + opacity: 0; + transform: translateX(30px); +} + +/* 确保将离开的元素从布局流中删除 + 以便能够正确地计算移动的动画。 */ +.breadcrumb-leave-active { + position: absolute; +} diff --git a/src/components/Zr/Git/index.vue b/src/components/Zr/Git/index.vue index de93bec..10a5215 100644 --- a/src/components/Zr/Git/index.vue +++ b/src/components/Zr/Git/index.vue @@ -6,15 +6,15 @@ \ No newline at end of file + goto + } + } +} + diff --git a/src/layout/index.vue b/src/layout/index.vue index 3ea0a25..c2fe690 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -20,11 +20,11 @@ - - - - - + + + + + diff --git a/src/router/index.js b/src/router/index.js index 637c28e..b199940 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -104,23 +104,23 @@ export const constantRoutes = [ meta: { title: '通知中心', icon: 'Bell' } } ] - }, - // 不用可删掉 - { - path: '', - component: Layout, - hidden: false, - meta: { title: '组件示例', icon: 'icon', noCache: 'fasle' }, - children: [ - { - path: 'icon', - component: () => import('@/views/components/icons/index'), - //component: () => import('@/views/business/GenDemo'), - name: 'icon', - meta: { title: '图标icon', icon: 'icon1', noCache: 'fasle', titleKey: 'menu.icon' } - } - ] } + // 不用可删掉 + // { + // path: '', + // component: Layout, + // hidden: false, + // meta: { title: '组件示例', icon: 'icon', noCache: 'fasle' }, + // children: [ + // { + // path: 'icon', + // component: () => import('@/views/components/icons/index'), + // //component: () => import('@/views/business/GenDemo'), + // name: 'icon', + // meta: { title: '图标icon', icon: 'icon1', noCache: 'fasle', titleKey: 'menu.icon' } + // } + // ] + // } ] const router = createRouter({ diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 2fe33a7..13494a6 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -81,7 +81,7 @@ - + @@ -112,7 +112,7 @@ - + diff --git a/src/views/system/rolefields/index.vue b/src/views/system/rolefields/index.vue new file mode 100644 index 0000000..f86d977 --- /dev/null +++ b/src/views/system/rolefields/index.vue @@ -0,0 +1,31 @@ + + + + + diff --git a/src/views/system/roleusers/index.vue b/src/views/system/roleusers/index.vue index dbac283..f927bc0 100644 --- a/src/views/system/roleusers/index.vue +++ b/src/views/system/roleusers/index.vue @@ -1,127 +1,133 @@