将url中的链接补全即可,即添加
https
- 修改前
@font-face {
font-family: "iconfont"; /* Project id 4217157 */
src: url('//at.alicdn.com/t/c/font_4217157_w3400h0o9ck.woff2?t=1693296294697') format('woff2'),
url('//at.alicdn.com/t/c/font_4217157_w3400h0o9ck.woff?t=1693296294697') format('woff'),
url('//at.alicdn.com/t/c/font_4217157_w3400h0o9ck.ttf?t=1693296294697') format('truetype');
}
- 修改后
@font-face {
font-family: "iconfont"; /* Project id 4217157 */
src: url('https://at.alicdn.com/t/c/font_4217157_w3400h0o9ck.woff2?t=1693296294697') format('woff2'),
url('https://at.alicdn.com/t/c/font_4217157_w3400h0o9ck.woff?t=1693296294697') format('woff'),
url('https://at.alicdn.com/t/c/font_4217157_w3400h0o9ck.ttf?t=1693296294697') format('truetype');
}