vscode中安装扩展程序CSS Tree (默认scss) 使用:选择需要html代码 --> ctrl+shift+P -> 选择Generate CSS tree
-> 自动生成类名 更改默认:设置 ->扩展 -> Generate CSS tree 直接修改