小程序引用网络字体在安卓无效,以及nginx配置,报错inside named location, or inside “if“ statement, or inside “limit_except“
在微信小程序中引用网络字体有两种写法。在css文件中引用@font-face {font-family: ‘hanyichengxingjian’;src: url(‘https://xxx.com/xxx/xxx/hanyichengxingjian.ttf’);}使用 wx.loadFontFace 加载字体wx.loadFontFace({family: ‘hanyichengxingjian’,source: ‘url(“https://xxx.com/xxx/xxx/hanyic
原创
2022-05-07 10:33:35 ·
1759 阅读 ·
0 评论