今天刚解锁的,scss循环用法: 使用:<div class="margin-left-10">123</div> 直接赋值给class就可以了。margin-left-10:就代表:margin-left:10px;