From 5b119040f9906550f7e84d5da5d9c458ac52fd13 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 6 May 2019 11:36:41 +0800 Subject: [PATCH 1/4] =?UTF-8?q?BI-44549=20feat:=20=E5=AD=97=E4=BD=93?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E6=B7=BB=E5=8A=A0=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 11 +++++++++++ dist/2.0/fineui.css | 2 +- dist/bundle.css | 2 +- dist/fineui.css | 2 +- dist/resource.css | 2 +- public/css/font.css | 2 +- src/css/resource/font.css | 2 +- src/less/image.less | 28 ++++++++++++++++++++++++++++ src/less/resource/font.less | 15 ++------------- ui/css/font.css | 2 +- 10 files changed, 48 insertions(+), 20 deletions(-) diff --git a/changelog.md b/changelog.md index 3caf08032d..8b0520fe9c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,15 @@ # 更新日志 +2.0(2019-05) +- 增加less函数: 字体资源添加函数addFontRe和字体激活函数activeFont + +> @fontList: "dec", "report"; +> .addFontRes("dec"); +> .addFontRes("report"); +> .activeFont(@fontList); + +以上即可使用自定义的dec,report字体和fineui的资源字体 + + 2.0(2019-04) - 新增`bi.multi_tree_list_combo`控件, 此下拉树勾选节点时不会影响父子节点的勾选状态 - 新增`bi.multi_tree_insert_combo`控件, 此下拉树可以插入不存在的新值 diff --git a/dist/2.0/fineui.css b/dist/2.0/fineui.css index a79c4483e5..b4cb0cbe7b 100644 --- a/dist/2.0/fineui.css +++ b/dist/2.0/fineui.css @@ -4901,7 +4901,7 @@ textarea::-webkit-scrollbar-thumb:hover { _background: none; } @font-face { - font-family: 'bi'; + font-family: "bi"; src: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.eot'); src: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ diff --git a/dist/bundle.css b/dist/bundle.css index a79c4483e5..b4cb0cbe7b 100644 --- a/dist/bundle.css +++ b/dist/bundle.css @@ -4901,7 +4901,7 @@ textarea::-webkit-scrollbar-thumb:hover { _background: none; } @font-face { - font-family: 'bi'; + font-family: "bi"; src: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.eot'); src: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ diff --git a/dist/fineui.css b/dist/fineui.css index b69607745d..799b619b5e 100644 --- a/dist/fineui.css +++ b/dist/fineui.css @@ -4901,7 +4901,7 @@ textarea::-webkit-scrollbar-thumb:hover { _background: none; } @font-face { - font-family: 'bi'; + font-family: "bi"; src: url('resources?path=/com/fr/web/ui/font/iconfont.eot'); src: url('resources?path=/com/fr/web/ui/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('resources?path=/com/fr/web/ui/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('resources?path=/com/fr/web/ui/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('resources?path=/com/fr/web/ui/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ diff --git a/dist/resource.css b/dist/resource.css index fe83a374a1..ec77632e23 100644 --- a/dist/resource.css +++ b/dist/resource.css @@ -414,7 +414,7 @@ textarea::-webkit-scrollbar-thumb:hover { _background: none; } @font-face { - font-family: 'bi'; + font-family: "bi"; src: url('font/iconfont.eot'); src: url('font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('font/iconfont.woff') format('woff'), /* chrome、firefox */ url('font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ diff --git a/public/css/font.css b/public/css/font.css index 0d45e92fbd..9abc38fe28 100644 --- a/public/css/font.css +++ b/public/css/font.css @@ -1,5 +1,5 @@ @font-face { - font-family: 'bi'; + font-family: "bi"; src: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.eot'); src: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ diff --git a/src/css/resource/font.css b/src/css/resource/font.css index e9827a2c30..16ce6fef86 100644 --- a/src/css/resource/font.css +++ b/src/css/resource/font.css @@ -1,5 +1,5 @@ @font-face { - font-family: 'bi'; + font-family: "bi"; src: url('font/iconfont.eot'); src: url('font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('font/iconfont.woff') format('woff'), /* chrome、firefox */ url('font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ diff --git a/src/less/image.less b/src/less/image.less index df60b8aa00..e7acfa2574 100644 --- a/src/less/image.less +++ b/src/less/image.less @@ -332,6 +332,34 @@ } } +// 添加字体资源 +.addFontRes(@name, @fontUrl) { + @font-face { + font-family: "@{name}"; + src: url('@{fontUrl}iconfont.eot'); + src: url('@{fontUrl}iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('@{fontUrl}iconfont.woff') format('woff'), /* chrome、firefox */ url('@{fontUrl}iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('@{fontUrl}iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ + } +} + +// 激活字体 +.activateFont(@fonts) { + @baseProperty: { + font-style: normal; + -webkit-font-smoothing: antialiased; + -webkit-text-stroke-width: 0.2px; + -moz-osx-font-smoothing: grayscale; + }; + + .b-font when not ((length(@fonts) = 1) and (extract(@fonts, 1) = "bi")) { + font-family: @fonts, "bi"; + @baseProperty(); + } + .b-font when ((length(@fonts) = 1) and (extract(@fonts, 1) = "bi")) { + font-family: @fonts; + @baseProperty(); + } +} + // 默认font .font(@class,@content, @color: @color-bi-font-native) { @fc: "\@{content}"; diff --git a/src/less/resource/font.less b/src/less/resource/font.less index b789868b03..8e9a04961f 100644 --- a/src/less/resource/font.less +++ b/src/less/resource/font.less @@ -2,19 +2,8 @@ @import "../lib/colors"; @import "../image"; -@font-face { - font-family: 'bi'; - src: url('@{fontUrl}iconfont.eot'); - src: url('@{fontUrl}iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('@{fontUrl}iconfont.woff') format('woff'), /* chrome、firefox */ url('@{fontUrl}iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('@{fontUrl}iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ -} - -.b-font { - font-family: "bi"; - font-style: normal; - -webkit-font-smoothing: antialiased; - -webkit-text-stroke-width: 0.2px; - -moz-osx-font-smoothing: grayscale; -} +.addFontRes("bi", @fontUrl); +.activateFont("bi"); .font(close-font, @font-cross); .font-hover(close-h-font, @font-cross); diff --git a/ui/css/font.css b/ui/css/font.css index 977a99dc1c..fb49d206c1 100644 --- a/ui/css/font.css +++ b/ui/css/font.css @@ -1,5 +1,5 @@ @font-face { - font-family: 'bi'; + font-family: "bi"; src: url('resources?path=/com/fr/web/ui/font/iconfont.eot'); src: url('resources?path=/com/fr/web/ui/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('resources?path=/com/fr/web/ui/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('resources?path=/com/fr/web/ui/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('resources?path=/com/fr/web/ui/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ From aaed35484c7d6c182e5f64c8e5cd56c99fa99e1e Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 6 May 2019 13:49:33 +0800 Subject: [PATCH 2/4] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/2.0/fineui.css | 4 ++-- dist/bundle.css | 4 ++-- dist/fineui.css | 4 ++-- dist/resource.css | 4 ++-- public/css/font.css | 4 ++-- src/css/resource/font.css | 4 ++-- src/less/image.less | 6 +----- src/less/resource/font.less | 4 ++-- src/less/var.less | 2 ++ ui/css/font.css | 4 ++-- 10 files changed, 19 insertions(+), 21 deletions(-) diff --git a/dist/2.0/fineui.css b/dist/2.0/fineui.css index b4cb0cbe7b..a29f9f3b85 100644 --- a/dist/2.0/fineui.css +++ b/dist/2.0/fineui.css @@ -4901,13 +4901,13 @@ textarea::-webkit-scrollbar-thumb:hover { _background: none; } @font-face { - font-family: "bi"; + font-family: "fineui"; src: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.eot'); src: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { - font-family: "bi"; + font-family: 'fineui'; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; diff --git a/dist/bundle.css b/dist/bundle.css index b4cb0cbe7b..a29f9f3b85 100644 --- a/dist/bundle.css +++ b/dist/bundle.css @@ -4901,13 +4901,13 @@ textarea::-webkit-scrollbar-thumb:hover { _background: none; } @font-face { - font-family: "bi"; + font-family: "fineui"; src: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.eot'); src: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { - font-family: "bi"; + font-family: 'fineui'; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; diff --git a/dist/fineui.css b/dist/fineui.css index 799b619b5e..ee428831f3 100644 --- a/dist/fineui.css +++ b/dist/fineui.css @@ -4901,13 +4901,13 @@ textarea::-webkit-scrollbar-thumb:hover { _background: none; } @font-face { - font-family: "bi"; + font-family: "fineui"; src: url('resources?path=/com/fr/web/ui/font/iconfont.eot'); src: url('resources?path=/com/fr/web/ui/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('resources?path=/com/fr/web/ui/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('resources?path=/com/fr/web/ui/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('resources?path=/com/fr/web/ui/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { - font-family: "bi"; + font-family: 'fineui'; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; diff --git a/dist/resource.css b/dist/resource.css index ec77632e23..d5e843a5d0 100644 --- a/dist/resource.css +++ b/dist/resource.css @@ -414,13 +414,13 @@ textarea::-webkit-scrollbar-thumb:hover { _background: none; } @font-face { - font-family: "bi"; + font-family: "fineui"; src: url('font/iconfont.eot'); src: url('font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('font/iconfont.woff') format('woff'), /* chrome、firefox */ url('font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { - font-family: "bi"; + font-family: 'fineui'; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; diff --git a/public/css/font.css b/public/css/font.css index 9abc38fe28..3c6218046b 100644 --- a/public/css/font.css +++ b/public/css/font.css @@ -1,11 +1,11 @@ @font-face { - font-family: "bi"; + font-family: "fineui"; src: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.eot'); src: url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('http://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { - font-family: "bi"; + font-family: 'fineui'; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; diff --git a/src/css/resource/font.css b/src/css/resource/font.css index 16ce6fef86..59f66a14df 100644 --- a/src/css/resource/font.css +++ b/src/css/resource/font.css @@ -1,11 +1,11 @@ @font-face { - font-family: "bi"; + font-family: "fineui"; src: url('font/iconfont.eot'); src: url('font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('font/iconfont.woff') format('woff'), /* chrome、firefox */ url('font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { - font-family: "bi"; + font-family: 'fineui'; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; diff --git a/src/less/image.less b/src/less/image.less index e7acfa2574..ff1228cd25 100644 --- a/src/less/image.less +++ b/src/less/image.less @@ -350,11 +350,7 @@ -moz-osx-font-smoothing: grayscale; }; - .b-font when not ((length(@fonts) = 1) and (extract(@fonts, 1) = "bi")) { - font-family: @fonts, "bi"; - @baseProperty(); - } - .b-font when ((length(@fonts) = 1) and (extract(@fonts, 1) = "bi")) { + .b-font { font-family: @fonts; @baseProperty(); } diff --git a/src/less/resource/font.less b/src/less/resource/font.less index 8e9a04961f..daae9cc6fd 100644 --- a/src/less/resource/font.less +++ b/src/less/resource/font.less @@ -2,8 +2,8 @@ @import "../lib/colors"; @import "../image"; -.addFontRes("bi", @fontUrl); -.activateFont("bi"); +.addFontRes(@fontName, @fontUrl); +.activateFont(@fontName); .font(close-font, @font-cross); .font-hover(close-h-font, @font-cross); diff --git a/src/less/var.less b/src/less/var.less index bb3fbbbb7c..0f1e41c7ba 100644 --- a/src/less/var.less +++ b/src/less/var.less @@ -2,6 +2,8 @@ @imageUrl: 'images/1x/'; //图片的基本地址 @image2xUrl: 'images/2x/'; //2x图片的基本地址 +@fontName: 'fineui'; + @zIndex-layer: 100000; @zIndex-popover: 1000000; @zIndex-popup: 10000000; diff --git a/ui/css/font.css b/ui/css/font.css index fb49d206c1..d27f87ace7 100644 --- a/ui/css/font.css +++ b/ui/css/font.css @@ -1,11 +1,11 @@ @font-face { - font-family: "bi"; + font-family: "fineui"; src: url('resources?path=/com/fr/web/ui/font/iconfont.eot'); src: url('resources?path=/com/fr/web/ui/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('resources?path=/com/fr/web/ui/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('resources?path=/com/fr/web/ui/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('resources?path=/com/fr/web/ui/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { - font-family: "bi"; + font-family: 'fineui'; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; From 2173f205ba7914f87cdafa43f7f2c5fbc04f166f Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 6 May 2019 13:51:06 +0800 Subject: [PATCH 3/4] doc: log --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 8b0520fe9c..1ff3ce5322 100644 --- a/changelog.md +++ b/changelog.md @@ -5,7 +5,7 @@ > @fontList: "dec", "report"; > .addFontRes("dec"); > .addFontRes("report"); -> .activeFont(@fontList); +> .activateFont(@fontList); 以上即可使用自定义的dec,report字体和fineui的资源字体 From 7047583979940fd74bc3f2667cb8e7bb31786889 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 6 May 2019 14:55:34 +0800 Subject: [PATCH 4/4] =?UTF-8?q?fix:=20=E6=8C=89=E7=85=A7comment=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/less/image.less | 14 ++++++++++---- src/less/resource/font.less | 4 ++-- src/less/var.less | 2 -- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/less/image.less b/src/less/image.less index ff1228cd25..fdc867d87f 100644 --- a/src/less/image.less +++ b/src/less/image.less @@ -332,8 +332,9 @@ } } +@defaultFontName: 'fineui'; // 添加字体资源 -.addFontRes(@name, @fontUrl) { +.addFontRes(@name: @defaultFontName, @fontUrl: @fontUrl) { @font-face { font-family: "@{name}"; src: url('@{fontUrl}iconfont.eot'); @@ -342,7 +343,7 @@ } // 激活字体 -.activateFont(@fonts) { +.activateFont(@fonts: false) { @baseProperty: { font-style: normal; -webkit-font-smoothing: antialiased; @@ -350,8 +351,13 @@ -moz-osx-font-smoothing: grayscale; }; - .b-font { - font-family: @fonts; + .b-font when (@fonts = false){ + font-family: @defaultFontName; + @baseProperty(); + } + + .b-font when not (@fonts = false){ + font-family: @fonts, @defaultFontName; @baseProperty(); } } diff --git a/src/less/resource/font.less b/src/less/resource/font.less index daae9cc6fd..fa4f58c3b4 100644 --- a/src/less/resource/font.less +++ b/src/less/resource/font.less @@ -2,8 +2,8 @@ @import "../lib/colors"; @import "../image"; -.addFontRes(@fontName, @fontUrl); -.activateFont(@fontName); +.addFontRes(); +.activateFont(); .font(close-font, @font-cross); .font-hover(close-h-font, @font-cross); diff --git a/src/less/var.less b/src/less/var.less index 0f1e41c7ba..bb3fbbbb7c 100644 --- a/src/less/var.less +++ b/src/less/var.less @@ -2,8 +2,6 @@ @imageUrl: 'images/1x/'; //图片的基本地址 @image2xUrl: 'images/2x/'; //2x图片的基本地址 -@fontName: 'fineui'; - @zIndex-layer: 100000; @zIndex-popover: 1000000; @zIndex-popup: 10000000;