From 6afa9cd1f870f6760bbf444a59e927ec0de39feb Mon Sep 17 00:00:00 2001 From: songyumeng Date: Fri, 1 Nov 2024 14:13:24 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90update=E3=80=91=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/iconfont/iconfont.html | 29 ++++++++++++++++-- demo/iconfont/iconfont.js | 2 +- .../_assets/iconfont/icon-sm-components.css | 4 +++ .../_assets/iconfont/icon-sm-components.ttf | Bin 15672 -> 15792 bytes .../_assets/iconfont/icon-sm-components.woff | Bin 9244 -> 9324 bytes .../_assets/iconfont/icon-sm-components.woff2 | Bin 7604 -> 7788 bytes src/mapboxgl/query/Query.vue | 2 +- 7 files changed, 32 insertions(+), 5 deletions(-) diff --git a/demo/iconfont/iconfont.html b/demo/iconfont/iconfont.html index 8f511af5..4c54eb8d 100644 --- a/demo/iconfont/iconfont.html +++ b/demo/iconfont/iconfont.html @@ -54,6 +54,12 @@

    +
  • + +
    complete
    +
    
    +
  • +
  • 图层样式01
    @@ -432,9 +438,9 @@

    第一步:拷贝项目下面生成的 @font-face@font-face { font-family: 'sm-components-icon-'; - src: url('iconfont.woff2?t=1728443762490') format('woff2'), - url('iconfont.woff?t=1728443762490') format('woff'), - url('iconfont.ttf?t=1728443762490') format('truetype'); + src: url('iconfont.woff2?t=1730441116037') format('woff2'), + url('iconfont.woff?t=1730441116037') format('woff'), + url('iconfont.ttf?t=1730441116037') format('truetype'); }

    第二步:定义使用 iconfont 的样式

    @@ -460,6 +466,15 @@

    第三步:挑选相应图标并获取字体编码,应用于页面
      +
    • + +
      + complete +
      +
      .sm-components-icon-complete +
      +
    • +
    • @@ -1027,6 +1042,14 @@

      第二步:挑选相应图标并获取类名,应用于页面:
        +
      • + +
        complete
        +
        #sm-components-icon-complete
        +
      • +
      • +