diff --git a/src/pages/data/list/index.vue b/src/pages/data/list/index.vue index c066f79..d0e6b69 100644 --- a/src/pages/data/list/index.vue +++ b/src/pages/data/list/index.vue @@ -8,7 +8,7 @@ - {{ subItem.categoryName }} + {{ subItem.categoryName }} @@ -82,7 +82,7 @@ @@ -341,6 +341,7 @@ export default { }, // 分类展开及点击回调 selectType(index, indexPath) { + console.log(index, indexPath) let introduce = '' let dataSource = '' this.keyword = '' @@ -528,7 +529,7 @@ export default { /deep/.left{ margin-right: 20px; .menu{ - width: 200px; + width: 240px; overflow: hidden; &>.el-menu-item,.el-submenu__title{ span{ @@ -554,9 +555,14 @@ export default { } } } - .el-menu-item.is-active{ - color: #fff; - background-color: #0070FF; + .el-menu-item{ + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + .is-active{ + color: #fff; + background-color: #0070FF; + } } .level-6 { padding-right: 0; diff --git a/src/pages/stat/list/index.vue b/src/pages/stat/list/index.vue index 518e0ef..50c8b62 100644 --- a/src/pages/stat/list/index.vue +++ b/src/pages/stat/list/index.vue @@ -373,7 +373,7 @@ export default { .left{ margin-right: 20px; .products{ - width: 170px; + width: 200px; padding: 12px 6px; text-align: center; border-radius: 8px; @@ -429,7 +429,7 @@ export default { } } .right{ - max-width: calc(100% - 220px); + max-width: calc(100% - 250px); } .page{ margin-bottom: 20px;