HIAWms/web/src/components/TdButton/TdButton.module.scss
对比新文件 @@ -0,0 +1,29 @@ .text { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100%; } .name { width: 100%; height: 100%; display: flex; justify-content: flex-start; align-items: center; } .hover { .iconBtn { display: none; } &:hover { .name { width: calc(100% - 80px); } .iconBtn { display: block; } } }