chore: fui-preview 引入阿里巴巴图标

This commit is contained in:
Hefeng
2023-10-26 10:25:20 +08:00
parent 2c92d98c0a
commit 112b831344
4 changed files with 21 additions and 3 deletions

View File

@ -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 {