在开发者工具上写的字体在手机上没有显示同样字体


font-family:‘Courier New’, Courier, monospace;
1 回复
在移动端,如果没有特别设定字体,或者设定的字体在手机上不存在,将会使用手机设置的字体或系统默认字体,小程序也是一样。
如果需要设定特别字体, 需要加载字体文件
https://developers.weixin.qq.com/miniprogram/dev/api/wx.loadFontFace.html