3***@qq.com
3***@qq.com
  • 发布:2020-06-16 23:25
  • 更新:2020-06-16 23:25
  • 阅读:786

安卓引入网络字体图标不显示

分类:uni-app

方式一

@import "https://at.alicdn.com/t/font_355818_4bpm4j65ifn.css";

方式二

@font-face {
font-family: 'iconfont'; / project id 355818 /
src: url('https://at.alicdn.com/t/font_355818_4bpm4j65ifn.eot');
src: url('https://at.alicdn.com/t/font_355818_4bpm4j65ifn.eot?#iefix') format('embedded-opentype'),
url('https://at.alicdn.com/t/font_355818_4bpm4j65ifn.woff2') format('woff2'),
url('https://at.alicdn.com/t/font_355818_4bpm4j65ifn.woff') format('woff'),
url('https://at.alicdn.com/t/font_355818_4bpm4j65ifn.ttf') format('truetype'),
url('https://at.alicdn.com/t/font_355818_4bpm4j65ifn.svg#iconfont') format('svg');
}

两个方式引入 H5 都能正常 显示。安卓不显示,改用base64能正常!如何使用远程引入方式?

2020-06-16 23:25 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复