chore: fui-preview 引入阿里巴巴图标
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
<!--本文件由FirstUI授权予新疆天衡创新研究院有限公司(手机号: 18 61 4 072 54 9,身份证尾号:5A07X5)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
|
||||
<template>
|
||||
<!-- #ifndef APP-NVUE -->
|
||||
<text :style="{ color:getColor, fontSize: getSize, fontWeight: fontWeight}" class="fui-icon"
|
||||
:class="[!getColor && !primary?'fui-icon__color':'',primary && (!color || color===true)?'fui-icon__active-color':'',disabled?'fui-icon__not-allowed':'',customPrefix,customPrefix?name:'']"
|
||||
<text :style="{ color:getColor, fontSize: getSize, fontWeight: fontWeight}"
|
||||
:class="[!getColor && !primary?'fui-icon__color':'',primary && (!color || color===true)?'fui-icon__active-color':'',disabled?'fui-icon__not-allowed':'',customPrefix?customPrefix:'fui-icon',customPrefix?name:'']"
|
||||
@click="handleClick">{{ icons[name] || '' }}</text>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP-NVUE -->
|
||||
@ -112,6 +112,7 @@
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
@import "./iconfont.css";
|
||||
/* #ifndef APP-NVUE */
|
||||
/* 头条小程序组件内不能引入字体,需要在父级页面引入字体文件*/
|
||||
@font-face {
|
||||
|
Reference in New Issue
Block a user