我正在尝试显示带有日历字形的日期时间选择器。这是 HTML:
<div class='input-group date' id='fuel-start-datetimepicker'>
<input type='text' class="form-control" id="fuel-start-input" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
在 iPad 上的 Safari 中查看此日历时,日历图标显示为表情符号猴子。我很困惑,因为我可以将图标更改为不同的字形(用星号试过)并且显示正常。这也适用于 iPad 本身:
<span class="glyphicon glyphicon-calendar"></span>
我不确定这与我所拥有的有何不同 - 这是相同的标记。很困惑。
有什么想法吗?
最佳答案
遇到了同样的问题。我下载了最新的 Bootstrap 版本并替换了“glyphicons-halflings-regular.*”文件。它解决了我的“猴子表情符号”问题。
关于css - ipad 上的 bootstrap glyphicons 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32633946/