gpt4 book ai didi

javascript - 字体图标 fa fa-eye fa-lg 未在页面上反射(reflect)或显示

转载 作者:太空宇宙 更新时间:2023-11-04 07:45:36 25 4
gpt4 key购买 nike

<ul class="dropdown-menu pull-right">
<li style="display : {!IF(editShow == true, '', 'none')};">
<a class="remove-table-row" href="javascript:void(0)" ng-click="removeLeadTime(leadTime.Id)">
<i class="fa fa-eye fa-lg" aria-hidden="true"></i> View Delta
</a>
</li>
<li style="display : {!IF(editShow == true, '', 'none')};">
<a class="remove-table-row" href="javascript:void(0)" ng-click="removeLeadTime(leadTime.Id)">
<i class="fa fa-trash-o fa-lg" aria-hidden="true"></i> View Full Comparison
</a>
</li>
</ul>

最佳答案

您需要导入font-awesome css 库才能使它们正常工作

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<ul class="dropdown-menu pull-right">
<li style="display : {!IF(editShow == true, '', 'none')};">
<a class="remove-table-row" href="javascript:void(0)" ng-click="removeLeadTime(leadTime.Id)">
<i class="fa fa-eye fa-lg" aria-hidden="true"></i> View Delta
</a>
</li>
<li style="display : {!IF(editShow == true, '', 'none')};">
<a class="remove-table-row" href="javascript:void(0)" ng-click="removeLeadTime(leadTime.Id)">
<i class="fa fa-trash-o fa-lg" aria-hidden="true"></i> View Full Comparison
</a>
</li>
</ul>

关于javascript - 字体图标 fa fa-eye fa-lg 未在页面上反射(reflect)或显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48163601/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com