无法识别的输入为

时间:2016-01-11 15:34:58

标签: css indexing less

@grayBorderColor: lightgrey;
@blueBorderColor: lightskyblue;

.eaSqm-filters-header {
    margin: 6px;
    height: 20px;
    &-title {
        display: none;
    }
    &-config {
        float: bottom;
        &-expandable-exitFullIcon {
            display: none;
        }
    }
    &-panel {
        &-downArrowIcon {
            height: 32px;
            width: 32px;
            display: none;
        }
        &-upArrowIcon {
            height: 32px;
            width: 32px;
        }
    }
}

.eaSqm-filters-Location {
    margin: 6px;
    height: 400px;
    display: inline-block;
}

.eaSqm-filters-Customer {
    margin: 6px;
    height: 400px;
    display: none;
}

.eaSqm-filters-Component {
    margin: 6px;
    height: 400px;
    display: none;
}

当我尝试运行文件时,它说上面的文件在1,56处存在无法识别的错误,并且不确定它是什么类型的错误。我已经纠正了缺失的大括号,并试图修复内部颜色,但我仍然一直收到错误,我无法弄清楚错误的原因。

1 个答案:

答案 0 :(得分:0)

你在结构}的末尾错过了大括号,这意味着你没有关闭.eaSqm-filters-header

<强>解决方案

@grayBorderColor:lightgrey;
@blueBorderColor: lightskyblue;

.eaSqm-filters-header {
    margin: 6px;
    &-title {
      display: none;
    }

    &-config {
      float: bottom;
      &-expandable-exitFullIcon {
        display: none;
    }
} /* Added missing curly brace */

希望这有帮助!