server/aspnetapp/wwwroot/lib/swiper/less/mixins.less

(完整代码) 859B

@plugin './plugin.js';
.navigation-color-loop(@ruleset) when (length( @colors ) >= 1) {
  @length: length( @colors ) ;
  .looper( 1 ) ;
  .looper( @index ) when ( @index <= @length ) and (length(extract( @colors, @index )) = 2) {
    @navPair: extract( @colors, @index );
    @navColorName: extract( @navPair, 1 ) ;
    @navColorValue: extract( @navPair, 2 ) ;
    @ruleset();
    .looper( @index + 1 ) ;
  }
}

.pagination-color-loop(@ruleset) when (length( @colors ) >= 1) {
  @length: length( @colors ) ;
  .looper( 1 ) ;
  .looper( @index ) when ( @index <= @length ) and (length(extract( @colors, @index )) = 2) {
    @paginationPair: extract( @colors, @index );
    @paginationColorName: extract( @paginationPair, 1 ) ;
    @paginationColorValue: extract( @paginationPair, 2 ) ;
    @ruleset();
    .looper( @index + 1 ) ;
  }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。