src/assets/styles/sidebar.scss | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/layout/components/Sidebar/SidebarItem.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/business/productOrder/components/add.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/assets/styles/sidebar.scss
@@ -109,11 +109,11 @@ .hideSidebar { .sidebar-container { width: 54px !important; width: 70px !important; } .main-container { margin-left: 54px; margin-left: 70px; } .submenu-title-noDropdown { @@ -124,7 +124,9 @@ padding: 0 !important; .svg-icon { margin-left: 20px; width: 1.5em; height: 1.5em; margin-left: 25px; } } } @@ -136,7 +138,9 @@ padding: 0 !important; .svg-icon { margin-left: 20px; width: 1.5em; height: 1.5em; margin-left: 25px; } } @@ -145,12 +149,16 @@ .el-menu--collapse { .el-submenu { &>.el-submenu__title { height: auto; /* 根据内容自动调整高度 */ flex-direction: column; /* 改变布局方向为垂直 */ align-items: center; /* 居中对齐 */ margin-bottom: 10px; &>span { height: 0; width: 0; overflow: hidden; visibility: hidden; display: inline-block; display: block !important; visibility: visible !important; white-space: normal; /* 允许换行 */ text-align: center; /* 文本居中对齐 */ line-height: normal; } } } src/layout/components/Sidebar/SidebarItem.vue
@@ -97,3 +97,8 @@ } } </script> <style scoped> ::v-deep .el-submenu__title i { color: #ffffff !important; } </style> src/views/business/productOrder/components/add.vue
@@ -1130,7 +1130,9 @@ sampleList.forEach(a => { if (a.insProduct.length > 0) { a.insProduct.forEach(c => { delete c.id if (this.tabIndex != 4) { delete c.id } }) } if (a.endModels) { @@ -1168,7 +1170,9 @@ sampleList.forEach(a => { if (a.insProduct.length > 0) { a.insProduct.forEach(c => { delete c.id if (this.tabIndex != 4) { delete c.id } }) } if (a.endModels) { @@ -1657,7 +1661,6 @@ }, tableRowClassName({row, rowIndex}) { if (row.state == 1) { console.log('row.state---', row.state) return 'warning-row'; } else { return '';