首先确认已安装sass依赖, yarn指令:yarn add sass-loader, style中写法如下: 注意calc(100% - 200px); 之间有两个空格的, 相关文章: 2021-07-29 2022-12-23 2022-12-23 2021-07-08 2021-07-16