feat: change font url
parent
7bd121e84e
commit
a01c8d3870
|
@ -15,7 +15,7 @@ Page({
|
||||||
const self = this
|
const self = this
|
||||||
wx.loadFontFace({
|
wx.loadFontFace({
|
||||||
family: this.data.fontFamily,
|
family: this.data.fontFamily,
|
||||||
source: 'url("https://sungd.github.io/Pacifico.ttf")',
|
source: 'url("https://www-cdn.finclip.com/fonts/Pacifico.ttf")',
|
||||||
success(res) {
|
success(res) {
|
||||||
console.log(res.status)
|
console.log(res.status)
|
||||||
self.setData({loaded: true})
|
self.setData({loaded: true})
|
||||||
|
|
Loading…
Reference in New Issue