feat: 添加自定义iconfont

This commit is contained in:
2025-06-04 17:45:32 +08:00
parent 82c55fece3
commit a12107da40
21 changed files with 3463 additions and 52 deletions
+35
View File
@@ -0,0 +1,35 @@
Component({
options: {
//@ts-ignore
styleIsolation: 'apply-shared',
},
properties: {
// icon name
name: {
type: String,
value: '',
optionalTypes: [String],
},
// icon color
color: {
type: String,
value: '',
optionalTypes: [String],
},
// icon size
size: {
type: String,
value: '',
optionalTypes: [String],
},
// icon classPrefix
classPrefix: {
type: String,
value: 'icon',
optionalTypes: [String],
},
},
externalClasses: ['ext-class'],
data: {},
methods: {},
});