chore: fui-preview 引入阿里巴巴图标
This commit is contained in:
Binary file not shown.
BIN
components/firstui/fui-icon/iconfont-ttf/iconfont.ttf
Normal file
BIN
components/firstui/fui-icon/iconfont-ttf/iconfont.ttf
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
@font-face {
|
||||
font-family: "iconfont"; /* Project id */
|
||||
src: url('./iconfont-ttf/icon-weixiu.ttf') format('truetype');
|
||||
src: url('./iconfont-ttf/iconfont.ttf') format('truetype');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
@ -15,3 +15,15 @@
|
||||
content: "\e640";
|
||||
}
|
||||
|
||||
.icon-gongdan:before {
|
||||
content: "\e64d";
|
||||
}
|
||||
|
||||
.icon-comment:before {
|
||||
content: "\e643";
|
||||
}
|
||||
|
||||
.icon-visible:before {
|
||||
content: "\e644";
|
||||
}
|
||||
|
||||
|
@ -339,7 +339,7 @@ export default {
|
||||
:hover-class="highlight ? 'fui-preview_hover' : ''" :hover-stay-time="150" @tap="handleClick(idx)"
|
||||
>
|
||||
|
||||
<fui-icon v-if="btn[icon] && !btn[customPrefix]" :name="btn[icon]" style="margin-right: 16rpx;" :color="btn[color] || fuiColor.primary" :size="iconSize" ></fui-icon>
|
||||
<fui-icon v-if="btn[icon] && !btn[customPrefix]" :name="btn[icon]" style="margin-right: 16rpx;" :color="btn[color] || fuiColor.primary" :size="btn[iconBtnSize] || iconSize" ></fui-icon>
|
||||
<fui-icon v-if="btn[icon] && btn[customPrefix]" :name="btn[icon]" style="margin-right: 16rpx;" :color="btn[color] || fuiColor.primary" :size="btn[iconBtnSize] || iconSize" custom-prefix="iconfont"></fui-icon>
|
||||
<text
|
||||
:style="{ fontSize: `${btnSize}rpx`, color: btn[color] || '#465CFF' }"
|
||||
|
Reference in New Issue
Block a user