0
我想在玉环中使用环。我已经在下面的代码中指出了问题的出现位置。 问题是我想让班级名称为“thumb-unit-1”,“thumb-unit-2”等等。 但编译后,我将类名称命名为“thumb-unit - #{i + 1}”。 我正在使用崇高文本3.而对于编译器,我正在使用prepros。玉环中的错误
-var work = ["Typo International Design Talks", "city-in website concept", "crispy icons", "flat mobile ui/ux concept", "fresh it up", "timeline page", "weather dashboard", "stripes & co"]
-for (var i=0; i<8; i++){
a(href="",class="thumb-unit-#{i+1}") //problem here
div(class="thumb-overlay")
strong #{work[i]}
-}