Update dom.md Project: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/commit/672ef3b0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/672ef3b0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/672ef3b0
Branch: refs/heads/master Commit: 672ef3b068c3f7b169a87161c5c9001782049db7 Parents: 2d58009 Author: wqyfavor <[email protected]> Authored: Mon Jul 2 19:20:51 2018 +0800 Committer: GitHub <[email protected]> Committed: Mon Jul 2 19:20:51 2018 +0800 ---------------------------------------------------------------------- source/cn/references/modules/dom.md | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/672ef3b0/source/cn/references/modules/dom.md ---------------------------------------------------------------------- diff --git a/source/cn/references/modules/dom.md b/source/cn/references/modules/dom.md index 977d7cb..bb910a5 100644 --- a/source/cn/references/modules/dom.md +++ b/source/cn/references/modules/dom.md @@ -76,6 +76,12 @@ domModule.addRule('fontFace', { }) ``` +**注æäºé¡¹** + +`addRule` æ¹æ³éç `fontFamily` å¯ä»¥éæåãè¿ä¸ªåå䏿¯åä½çæ£çååãåä½çæ£çååï¼font-familyï¼ï¼ä¹å°±æ¯æ³¨åå°ç³»ç»ä¸çå忝ä¿åå¨åä½äºè¿å¶æä»¶ä¸çãä½ éè¦ç¡®ä¿ä½ 使ç¨çåä½ççæ£ååï¼font-familyï¼è¶³å¤ç¹æ®ï¼å¦åå¨åç³»ç»æ³¨åæ¶å¯è½åçå²çªï¼å¯¼è´æ³¨å失败ï¼ä½ çå符被æ¾ç¤ºä¸ºâ?âã + +å¦æä½ ä½¿ç¨ http://www.iconfont.cn/ æ¥æå»ºä½ ç iconfontãç¡®ä¿å¨é¡¹ç®è®¾ç½®ä¸ï¼è®¾ç½®ä¸ä¸ªç¹æ®ç font-family ååãé»è®¤æ¯ âiconfontâï¼ä½æå¤§å¯è½åçå²çªã + #### ç¤ºä¾ [add rule fontface](http://dotwe.org/vue/95b2c6716f37066d5f44c5c75c979394)
