1- @mixin(函数)2- 定义一个带默认参数的@mixin函数 1- @mixin(函数)@mixin wh { width:100px; height: 100px;}.one{ @include wh;} 2- 定义一个带默认参数的@mixin函数/* 宏函数 */@mixin wh($w:100px,$h:100px){ width:$w; height: $h;}.one{ @include wh;}.two{ @include wh(200px,300px);}