提交 769e8be3 编写于 作者: DCloud-yyl's avatar DCloud-yyl

资源链接native-res调整到qiniu-web-assets.dcloud.net.cn

上级 67134010
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
uni.loadFontFace({ uni.loadFontFace({
family: 'AlimamaDaoLiTiTTF', family: 'AlimamaDaoLiTiTTF',
source: source:
"url('https://native-res.dcloud.net.cn/uni-app-x/static/font/AlimamaDaoLiTi.ttf')", "url('https://qiniu-web-assets.dcloud.net.cn/uni-app-x/static/font/AlimamaDaoLiTi.ttf')",
success() { success() {
console.log('loadFontFace Remote AlimamaDaoLiTi.ttf success') console.log('loadFontFace Remote AlimamaDaoLiTi.ttf success')
}, },
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
@font-face { @font-face {
font-family: AlimamaDaoLiTiTTF; font-family: AlimamaDaoLiTiTTF;
src: url('https://native-res.dcloud.net.cn/uni-app-x/static/font/AlimamaDaoLiTi.ttf'); src: url('https://qiniu-web-assets.dcloud.net.cn/uni-app-x/static/font/AlimamaDaoLiTi.ttf');
} }
@font-face { @font-face {
...@@ -49,4 +49,4 @@ ...@@ -49,4 +49,4 @@
font-family: AlimamaDaoLiTiWOFF2; font-family: AlimamaDaoLiTiWOFF2;
src: url('/static/font/AlimamaDaoLiTi.woff2'); src: url('/static/font/AlimamaDaoLiTi.woff2');
} */ } */
</style> </style>
\ No newline at end of file
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
data() { data() {
return { return {
title: 'image-large', title: 'image-large',
src: 'https://native-res.dcloud.net.cn/uni-app-x/static/img/building.jpg', src: 'https://qiniu-web-assets.dcloud.net.cn/uni-app-x/static/img/building.jpg',
width: 0, width: 0,
height: 0, height: 0,
memory: 0 memory: 0
...@@ -38,4 +38,4 @@ ...@@ -38,4 +38,4 @@
.image { .image {
width: 100%; width: 100%;
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册