提交项目
This commit is contained in:
14
static/iconfont/iconfont-weapp/icon/icon.js
Normal file
14
static/iconfont/iconfont-weapp/icon/icon.js
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
Component({
|
||||
externalClasses: ['custom-class'],
|
||||
properties: {
|
||||
icon: {
|
||||
type: String,
|
||||
value: '',
|
||||
},
|
||||
size: {
|
||||
type: Number,
|
||||
value: 32,
|
||||
},
|
||||
},
|
||||
})
|
4
static/iconfont/iconfont-weapp/icon/icon.json
Normal file
4
static/iconfont/iconfont-weapp/icon/icon.json
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
{
|
||||
"component": true
|
||||
}
|
2
static/iconfont/iconfont-weapp/icon/icon.wxml
Normal file
2
static/iconfont/iconfont-weapp/icon/icon.wxml
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
<cover-view class="t-icon t-icon-{{icon}}" style="width: {{ size }}rpx;height:width: {{ size }}rpx;"></cover-view>
|
107
static/iconfont/iconfont-weapp/icon/icon.wxss
Normal file
107
static/iconfont/iconfont-weapp/icon/icon.wxss
Normal file
File diff suppressed because one or more lines are too long
107
static/iconfont/iconfont-weapp/iconfont-weapp-icon.css
Normal file
107
static/iconfont/iconfont-weapp/iconfont-weapp-icon.css
Normal file
File diff suppressed because one or more lines are too long
107
static/iconfont/iconfont-weapp/iconfont-weapp-icon.wxss
Normal file
107
static/iconfont/iconfont-weapp/iconfont-weapp-icon.wxss
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user