1、ngStyle基本用法div [ngStyle]="{'background-color':'green'}">div>判断添加2、ngClass第一个参数为类名称,第二个参数为boolean值,如果为true就添加第一个参数的 ...
確定! 回上一頁