diff --git a/iconfont.json b/iconfont.json new file mode 100644 index 0000000..82e3464 --- /dev/null +++ b/iconfont.json @@ -0,0 +1,10 @@ +{ + "symbol_url": "//at.alicdn.com/t/c/font_3786318_eat16pif2dp.js", + "save_dir": "./src/components/iconfont", + "use_typescript": false, + "platforms": "*", + "use_rpx": true, + "trim_icon_prefix": "icon", + "default_icon_size": 18, + "design_width": 750 +} diff --git a/package.json b/package.json index bccee4e..23c0e63 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ "prettier": "^2.8.0", "react-refresh": "0.14.0", "stylelint": "14.16.0", + "taro-iconfont-cli": "^3.3.0", "typescript": "^4.9.3", "webpack": "^5.75.0" } diff --git a/src/app.config.ts b/src/app.config.ts index 84d4610..5819b3c 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -1,4 +1,8 @@ +import { useGlobalIconFont } from './components/iconfont/helper' + export default { + // eslint-disable-next-line react-hooks/rules-of-hooks + usingComponents: Object.assign(useGlobalIconFont()), pages: [ 'pages/index/index', 'pages/user/index', diff --git a/src/components/iconfont/alipay/alipay.acss b/src/components/iconfont/alipay/alipay.acss new file mode 100644 index 0000000..9f68d1a --- /dev/null +++ b/src/components/iconfont/alipay/alipay.acss @@ -0,0 +1,3 @@ +.icon { + background-repeat: no-repeat; +} diff --git a/src/components/iconfont/alipay/alipay.axml b/src/components/iconfont/alipay/alipay.axml new file mode 100644 index 0000000..8cbdcf3 --- /dev/null +++ b/src/components/iconfont/alipay/alipay.axml @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/iconfont/alipay/alipay.js b/src/components/iconfont/alipay/alipay.js new file mode 100644 index 0000000..3d0adb0 --- /dev/null +++ b/src/components/iconfont/alipay/alipay.js @@ -0,0 +1,77 @@ +Component({ + props: { + // riqi | shuru | a-0tianzhangqi | huodaofukuan | huozhuziti | saomazhifu | xianxiahuikuan | yufukuan | xinzengshoucangjia | qingchusousuo | xuanzechenggong | gongnengtubiao-saomiao | bianjizidingyimadan | zidingyimadanyulan | yuanshimadanyulan | xiala | shangla | qingchuxinxi | sousuo | guanli | bianji | shoucangjia | shezhi | tishi | erweima | dianjishoucang | gouwuche | shoucangchenggong | fenxiangshangpin | kefu | xinzenganniu | jianshaoanniu | daifahuo2 | daishouhuo2 | tuikuan-shouhou | daipeibu2 | daifukuan2 + name: null, + // string | string[] + color: '', + size: 18, + }, + data: { + colors: '', + quot: '"', + svgSize: 18, + isStr: true, + }, + didMount() { + const size = this.props.size; + const color = this.props.color; + + this.setData({ + colors: this.fixColor(color), + isStr: typeof color === 'string', + }); + + if (size !== this.data.svgSize) { + this.setData({ + svgSize: size / 750 * my.getSystemInfoSync().windowWidth, + }); + } + }, + disUpdate(prevProps) { + const size = this.props.size; + const color = this.props.color; + + if (color !== prevProps.color) { + this.setData({ + colors: this.fixColor(color), + isStr: typeof color === 'string', + }); + } + + if (size !== prevProps.size) { + this.setData({ + svgSize: size / 750 * my.getSystemInfoSync().windowWidth, + }); + } + }, + methods: { + fixColor: function() { + var color = this.props.color; + var hex2rgb = this.hex2rgb; + + if (typeof color === 'string') { + return color.indexOf('#') === 0 ? hex2rgb(color) : color; + } + + return color.map(function (item) { + return item.indexOf('#') === 0 ? hex2rgb(item) : item; + }); + }, + hex2rgb: function(hex) { + var rgb = []; + + hex = hex.substr(1); + + if (hex.length === 3) { + hex = hex.replace(/(.)/g, '$1$1'); + } + + hex.replace(/../g, function(color) { + rgb.push(parseInt(color, 0x10)); + return color; + }); + + return 'rgb(' + rgb.join(',') + ')'; + } + } +}); diff --git a/src/components/iconfont/alipay/alipay.json b/src/components/iconfont/alipay/alipay.json new file mode 100644 index 0000000..467ce29 --- /dev/null +++ b/src/components/iconfont/alipay/alipay.json @@ -0,0 +1,3 @@ +{ + "component": true +} diff --git a/src/components/iconfont/h5/IconA0Tianzhangqi.js b/src/components/iconfont/h5/IconA0Tianzhangqi.js new file mode 100644 index 0000000..e8ed87b --- /dev/null +++ b/src/components/iconfont/h5/IconA0Tianzhangqi.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconA0Tianzhangqi = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconA0Tianzhangqi.defaultProps = { + size: 18, +}; + +export default IconA0Tianzhangqi; diff --git a/src/components/iconfont/h5/IconBianji.js b/src/components/iconfont/h5/IconBianji.js new file mode 100644 index 0000000..89f279b --- /dev/null +++ b/src/components/iconfont/h5/IconBianji.js @@ -0,0 +1,27 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconBianji = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconBianji.defaultProps = { + size: 18, +}; + +export default IconBianji; diff --git a/src/components/iconfont/h5/IconBianjizidingyimadan.js b/src/components/iconfont/h5/IconBianjizidingyimadan.js new file mode 100644 index 0000000..8466492 --- /dev/null +++ b/src/components/iconfont/h5/IconBianjizidingyimadan.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconBianjizidingyimadan = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconBianjizidingyimadan.defaultProps = { + size: 18, +}; + +export default IconBianjizidingyimadan; diff --git a/src/components/iconfont/h5/IconDaifahuo2.js b/src/components/iconfont/h5/IconDaifahuo2.js new file mode 100644 index 0000000..d2564c2 --- /dev/null +++ b/src/components/iconfont/h5/IconDaifahuo2.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconDaifahuo2 = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconDaifahuo2.defaultProps = { + size: 18, +}; + +export default IconDaifahuo2; diff --git a/src/components/iconfont/h5/IconDaifukuan2.js b/src/components/iconfont/h5/IconDaifukuan2.js new file mode 100644 index 0000000..f9ba186 --- /dev/null +++ b/src/components/iconfont/h5/IconDaifukuan2.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconDaifukuan2 = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconDaifukuan2.defaultProps = { + size: 18, +}; + +export default IconDaifukuan2; diff --git a/src/components/iconfont/h5/IconDaipeibu2.js b/src/components/iconfont/h5/IconDaipeibu2.js new file mode 100644 index 0000000..df39166 --- /dev/null +++ b/src/components/iconfont/h5/IconDaipeibu2.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconDaipeibu2 = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconDaipeibu2.defaultProps = { + size: 18, +}; + +export default IconDaipeibu2; diff --git a/src/components/iconfont/h5/IconDaishouhuo2.js b/src/components/iconfont/h5/IconDaishouhuo2.js new file mode 100644 index 0000000..1350886 --- /dev/null +++ b/src/components/iconfont/h5/IconDaishouhuo2.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconDaishouhuo2 = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconDaishouhuo2.defaultProps = { + size: 18, +}; + +export default IconDaishouhuo2; diff --git a/src/components/iconfont/h5/IconDianjishoucang.js b/src/components/iconfont/h5/IconDianjishoucang.js new file mode 100644 index 0000000..eef18dd --- /dev/null +++ b/src/components/iconfont/h5/IconDianjishoucang.js @@ -0,0 +1,38 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconDianjishoucang = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + + ); +}; + +IconDianjishoucang.defaultProps = { + size: 18, +}; + +export default IconDianjishoucang; diff --git a/src/components/iconfont/h5/IconErweima.js b/src/components/iconfont/h5/IconErweima.js new file mode 100644 index 0000000..071b3ff --- /dev/null +++ b/src/components/iconfont/h5/IconErweima.js @@ -0,0 +1,27 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconErweima = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconErweima.defaultProps = { + size: 18, +}; + +export default IconErweima; diff --git a/src/components/iconfont/h5/IconFenxiangshangpin.js b/src/components/iconfont/h5/IconFenxiangshangpin.js new file mode 100644 index 0000000..23dfd2c --- /dev/null +++ b/src/components/iconfont/h5/IconFenxiangshangpin.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconFenxiangshangpin = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconFenxiangshangpin.defaultProps = { + size: 18, +}; + +export default IconFenxiangshangpin; diff --git a/src/components/iconfont/h5/IconGongnengtubiaoSaomiao.js b/src/components/iconfont/h5/IconGongnengtubiaoSaomiao.js new file mode 100644 index 0000000..c1cba5e --- /dev/null +++ b/src/components/iconfont/h5/IconGongnengtubiaoSaomiao.js @@ -0,0 +1,27 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconGongnengtubiaoSaomiao = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconGongnengtubiaoSaomiao.defaultProps = { + size: 18, +}; + +export default IconGongnengtubiaoSaomiao; diff --git a/src/components/iconfont/h5/IconGouwuche.js b/src/components/iconfont/h5/IconGouwuche.js new file mode 100644 index 0000000..23d1c00 --- /dev/null +++ b/src/components/iconfont/h5/IconGouwuche.js @@ -0,0 +1,35 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconGouwuche = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + + ); +}; + +IconGouwuche.defaultProps = { + size: 18, +}; + +export default IconGouwuche; diff --git a/src/components/iconfont/h5/IconGuanli.js b/src/components/iconfont/h5/IconGuanli.js new file mode 100644 index 0000000..a82dd00 --- /dev/null +++ b/src/components/iconfont/h5/IconGuanli.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconGuanli = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconGuanli.defaultProps = { + size: 18, +}; + +export default IconGuanli; diff --git a/src/components/iconfont/h5/IconHuodaofukuan.js b/src/components/iconfont/h5/IconHuodaofukuan.js new file mode 100644 index 0000000..0254b64 --- /dev/null +++ b/src/components/iconfont/h5/IconHuodaofukuan.js @@ -0,0 +1,39 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconHuodaofukuan = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + + + ); +}; + +IconHuodaofukuan.defaultProps = { + size: 18, +}; + +export default IconHuodaofukuan; diff --git a/src/components/iconfont/h5/IconHuozhuziti.js b/src/components/iconfont/h5/IconHuozhuziti.js new file mode 100644 index 0000000..2c5f5d0 --- /dev/null +++ b/src/components/iconfont/h5/IconHuozhuziti.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconHuozhuziti = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconHuozhuziti.defaultProps = { + size: 18, +}; + +export default IconHuozhuziti; diff --git a/src/components/iconfont/h5/IconJianshaoanniu.js b/src/components/iconfont/h5/IconJianshaoanniu.js new file mode 100644 index 0000000..6e58f49 --- /dev/null +++ b/src/components/iconfont/h5/IconJianshaoanniu.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconJianshaoanniu = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconJianshaoanniu.defaultProps = { + size: 18, +}; + +export default IconJianshaoanniu; diff --git a/src/components/iconfont/h5/IconKefu.js b/src/components/iconfont/h5/IconKefu.js new file mode 100644 index 0000000..d41aa25 --- /dev/null +++ b/src/components/iconfont/h5/IconKefu.js @@ -0,0 +1,27 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconKefu = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconKefu.defaultProps = { + size: 18, +}; + +export default IconKefu; diff --git a/src/components/iconfont/h5/IconQingchusousuo.js b/src/components/iconfont/h5/IconQingchusousuo.js new file mode 100644 index 0000000..7d26da0 --- /dev/null +++ b/src/components/iconfont/h5/IconQingchusousuo.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconQingchusousuo = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconQingchusousuo.defaultProps = { + size: 18, +}; + +export default IconQingchusousuo; diff --git a/src/components/iconfont/h5/IconQingchuxinxi.js b/src/components/iconfont/h5/IconQingchuxinxi.js new file mode 100644 index 0000000..94a2e34 --- /dev/null +++ b/src/components/iconfont/h5/IconQingchuxinxi.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconQingchuxinxi = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconQingchuxinxi.defaultProps = { + size: 18, +}; + +export default IconQingchuxinxi; diff --git a/src/components/iconfont/h5/IconRiqi.js b/src/components/iconfont/h5/IconRiqi.js new file mode 100644 index 0000000..a64b856 --- /dev/null +++ b/src/components/iconfont/h5/IconRiqi.js @@ -0,0 +1,27 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconRiqi = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconRiqi.defaultProps = { + size: 18, +}; + +export default IconRiqi; diff --git a/src/components/iconfont/h5/IconSaomazhifu.js b/src/components/iconfont/h5/IconSaomazhifu.js new file mode 100644 index 0000000..1f6d5b9 --- /dev/null +++ b/src/components/iconfont/h5/IconSaomazhifu.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconSaomazhifu = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconSaomazhifu.defaultProps = { + size: 18, +}; + +export default IconSaomazhifu; diff --git a/src/components/iconfont/h5/IconShangla.js b/src/components/iconfont/h5/IconShangla.js new file mode 100644 index 0000000..b63dc8b --- /dev/null +++ b/src/components/iconfont/h5/IconShangla.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconShangla = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconShangla.defaultProps = { + size: 18, +}; + +export default IconShangla; diff --git a/src/components/iconfont/h5/IconShezhi.js b/src/components/iconfont/h5/IconShezhi.js new file mode 100644 index 0000000..dd0aae8 --- /dev/null +++ b/src/components/iconfont/h5/IconShezhi.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconShezhi = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconShezhi.defaultProps = { + size: 18, +}; + +export default IconShezhi; diff --git a/src/components/iconfont/h5/IconShoucangchenggong.js b/src/components/iconfont/h5/IconShoucangchenggong.js new file mode 100644 index 0000000..cf6ceaa --- /dev/null +++ b/src/components/iconfont/h5/IconShoucangchenggong.js @@ -0,0 +1,27 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconShoucangchenggong = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconShoucangchenggong.defaultProps = { + size: 18, +}; + +export default IconShoucangchenggong; diff --git a/src/components/iconfont/h5/IconShoucangjia.js b/src/components/iconfont/h5/IconShoucangjia.js new file mode 100644 index 0000000..47d23cd --- /dev/null +++ b/src/components/iconfont/h5/IconShoucangjia.js @@ -0,0 +1,43 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconShoucangjia = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + + + + ); +}; + +IconShoucangjia.defaultProps = { + size: 18, +}; + +export default IconShoucangjia; diff --git a/src/components/iconfont/h5/IconShuru.js b/src/components/iconfont/h5/IconShuru.js new file mode 100644 index 0000000..9d062f4 --- /dev/null +++ b/src/components/iconfont/h5/IconShuru.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconShuru = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconShuru.defaultProps = { + size: 18, +}; + +export default IconShuru; diff --git a/src/components/iconfont/h5/IconSousuo.js b/src/components/iconfont/h5/IconSousuo.js new file mode 100644 index 0000000..8dc0597 --- /dev/null +++ b/src/components/iconfont/h5/IconSousuo.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconSousuo = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconSousuo.defaultProps = { + size: 18, +}; + +export default IconSousuo; diff --git a/src/components/iconfont/h5/IconTishi.js b/src/components/iconfont/h5/IconTishi.js new file mode 100644 index 0000000..539248f --- /dev/null +++ b/src/components/iconfont/h5/IconTishi.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconTishi = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconTishi.defaultProps = { + size: 18, +}; + +export default IconTishi; diff --git a/src/components/iconfont/h5/IconTuikuanShouhou.js b/src/components/iconfont/h5/IconTuikuanShouhou.js new file mode 100644 index 0000000..da2c9a7 --- /dev/null +++ b/src/components/iconfont/h5/IconTuikuanShouhou.js @@ -0,0 +1,32 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconTuikuanShouhou = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconTuikuanShouhou.defaultProps = { + size: 18, +}; + +export default IconTuikuanShouhou; diff --git a/src/components/iconfont/h5/IconXiala.js b/src/components/iconfont/h5/IconXiala.js new file mode 100644 index 0000000..9e5d8bd --- /dev/null +++ b/src/components/iconfont/h5/IconXiala.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconXiala = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconXiala.defaultProps = { + size: 18, +}; + +export default IconXiala; diff --git a/src/components/iconfont/h5/IconXianxiahuikuan.js b/src/components/iconfont/h5/IconXianxiahuikuan.js new file mode 100644 index 0000000..0309c59 --- /dev/null +++ b/src/components/iconfont/h5/IconXianxiahuikuan.js @@ -0,0 +1,35 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconXianxiahuikuan = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + + ); +}; + +IconXianxiahuikuan.defaultProps = { + size: 18, +}; + +export default IconXianxiahuikuan; diff --git a/src/components/iconfont/h5/IconXinzenganniu.js b/src/components/iconfont/h5/IconXinzenganniu.js new file mode 100644 index 0000000..b67aa1b --- /dev/null +++ b/src/components/iconfont/h5/IconXinzenganniu.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconXinzenganniu = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconXinzenganniu.defaultProps = { + size: 18, +}; + +export default IconXinzenganniu; diff --git a/src/components/iconfont/h5/IconXinzengshoucangjia.js b/src/components/iconfont/h5/IconXinzengshoucangjia.js new file mode 100644 index 0000000..b938d70 --- /dev/null +++ b/src/components/iconfont/h5/IconXinzengshoucangjia.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconXinzengshoucangjia = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconXinzengshoucangjia.defaultProps = { + size: 18, +}; + +export default IconXinzengshoucangjia; diff --git a/src/components/iconfont/h5/IconXuanzechenggong.js b/src/components/iconfont/h5/IconXuanzechenggong.js new file mode 100644 index 0000000..adc0579 --- /dev/null +++ b/src/components/iconfont/h5/IconXuanzechenggong.js @@ -0,0 +1,27 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconXuanzechenggong = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + ); +}; + +IconXuanzechenggong.defaultProps = { + size: 18, +}; + +export default IconXuanzechenggong; diff --git a/src/components/iconfont/h5/IconYuanshimadanyulan.js b/src/components/iconfont/h5/IconYuanshimadanyulan.js new file mode 100644 index 0000000..008aff0 --- /dev/null +++ b/src/components/iconfont/h5/IconYuanshimadanyulan.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconYuanshimadanyulan = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconYuanshimadanyulan.defaultProps = { + size: 18, +}; + +export default IconYuanshimadanyulan; diff --git a/src/components/iconfont/h5/IconYufukuan.js b/src/components/iconfont/h5/IconYufukuan.js new file mode 100644 index 0000000..a6b645d --- /dev/null +++ b/src/components/iconfont/h5/IconYufukuan.js @@ -0,0 +1,36 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconYufukuan = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + + ); +}; + +IconYufukuan.defaultProps = { + size: 18, +}; + +export default IconYufukuan; diff --git a/src/components/iconfont/h5/IconZidingyimadanyulan.js b/src/components/iconfont/h5/IconZidingyimadanyulan.js new file mode 100644 index 0000000..a7a59d1 --- /dev/null +++ b/src/components/iconfont/h5/IconZidingyimadanyulan.js @@ -0,0 +1,31 @@ +/* eslint-disable */ + +import React from 'react'; +import { getIconColor } from './helper'; + +const DEFAULT_STYLE = { + display: 'block', +}; + +const IconZidingyimadanyulan = ({ size, color, style: _style, ...rest }) => { + const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE; + + return ( + + + + + ); +}; + +IconZidingyimadanyulan.defaultProps = { + size: 18, +}; + +export default IconZidingyimadanyulan; diff --git a/src/components/iconfont/h5/helper.js b/src/components/iconfont/h5/helper.js new file mode 100644 index 0000000..b566c4c --- /dev/null +++ b/src/components/iconfont/h5/helper.js @@ -0,0 +1,17 @@ +/* eslint-disable */ + +/** + * @param {string | string[] | undefined} color + * @param {number} index + * @param {string} defaultColor + * @return {string} + */ +export const getIconColor = (color, index, defaultColor) => { + return color + ? ( + typeof color === 'string' + ? color + : color[index] || defaultColor + ) + : defaultColor; +}; diff --git a/src/components/iconfont/h5/index.js b/src/components/iconfont/h5/index.js new file mode 100644 index 0000000..0bab1ab --- /dev/null +++ b/src/components/iconfont/h5/index.js @@ -0,0 +1,161 @@ +/* eslint-disable */ + +import React from 'react'; +import IconRiqi from './IconRiqi'; +import IconShuru from './IconShuru'; +import IconA0Tianzhangqi from './IconA0Tianzhangqi'; +import IconHuodaofukuan from './IconHuodaofukuan'; +import IconHuozhuziti from './IconHuozhuziti'; +import IconSaomazhifu from './IconSaomazhifu'; +import IconXianxiahuikuan from './IconXianxiahuikuan'; +import IconYufukuan from './IconYufukuan'; +import IconXinzengshoucangjia from './IconXinzengshoucangjia'; +import IconQingchusousuo from './IconQingchusousuo'; +import IconXuanzechenggong from './IconXuanzechenggong'; +import IconGongnengtubiaoSaomiao from './IconGongnengtubiaoSaomiao'; +import IconBianjizidingyimadan from './IconBianjizidingyimadan'; +import IconZidingyimadanyulan from './IconZidingyimadanyulan'; +import IconYuanshimadanyulan from './IconYuanshimadanyulan'; +import IconXiala from './IconXiala'; +import IconShangla from './IconShangla'; +import IconQingchuxinxi from './IconQingchuxinxi'; +import IconSousuo from './IconSousuo'; +import IconGuanli from './IconGuanli'; +import IconBianji from './IconBianji'; +import IconShoucangjia from './IconShoucangjia'; +import IconShezhi from './IconShezhi'; +import IconTishi from './IconTishi'; +import IconErweima from './IconErweima'; +import IconDianjishoucang from './IconDianjishoucang'; +import IconGouwuche from './IconGouwuche'; +import IconShoucangchenggong from './IconShoucangchenggong'; +import IconFenxiangshangpin from './IconFenxiangshangpin'; +import IconKefu from './IconKefu'; +import IconXinzenganniu from './IconXinzenganniu'; +import IconJianshaoanniu from './IconJianshaoanniu'; +import IconDaifahuo2 from './IconDaifahuo2'; +import IconDaishouhuo2 from './IconDaishouhuo2'; +import IconTuikuanShouhou from './IconTuikuanShouhou'; +import IconDaipeibu2 from './IconDaipeibu2'; +import IconDaifukuan2 from './IconDaifukuan2'; +export { default as IconRiqi } from './IconRiqi'; +export { default as IconShuru } from './IconShuru'; +export { default as IconA0Tianzhangqi } from './IconA0Tianzhangqi'; +export { default as IconHuodaofukuan } from './IconHuodaofukuan'; +export { default as IconHuozhuziti } from './IconHuozhuziti'; +export { default as IconSaomazhifu } from './IconSaomazhifu'; +export { default as IconXianxiahuikuan } from './IconXianxiahuikuan'; +export { default as IconYufukuan } from './IconYufukuan'; +export { default as IconXinzengshoucangjia } from './IconXinzengshoucangjia'; +export { default as IconQingchusousuo } from './IconQingchusousuo'; +export { default as IconXuanzechenggong } from './IconXuanzechenggong'; +export { default as IconGongnengtubiaoSaomiao } from './IconGongnengtubiaoSaomiao'; +export { default as IconBianjizidingyimadan } from './IconBianjizidingyimadan'; +export { default as IconZidingyimadanyulan } from './IconZidingyimadanyulan'; +export { default as IconYuanshimadanyulan } from './IconYuanshimadanyulan'; +export { default as IconXiala } from './IconXiala'; +export { default as IconShangla } from './IconShangla'; +export { default as IconQingchuxinxi } from './IconQingchuxinxi'; +export { default as IconSousuo } from './IconSousuo'; +export { default as IconGuanli } from './IconGuanli'; +export { default as IconBianji } from './IconBianji'; +export { default as IconShoucangjia } from './IconShoucangjia'; +export { default as IconShezhi } from './IconShezhi'; +export { default as IconTishi } from './IconTishi'; +export { default as IconErweima } from './IconErweima'; +export { default as IconDianjishoucang } from './IconDianjishoucang'; +export { default as IconGouwuche } from './IconGouwuche'; +export { default as IconShoucangchenggong } from './IconShoucangchenggong'; +export { default as IconFenxiangshangpin } from './IconFenxiangshangpin'; +export { default as IconKefu } from './IconKefu'; +export { default as IconXinzenganniu } from './IconXinzenganniu'; +export { default as IconJianshaoanniu } from './IconJianshaoanniu'; +export { default as IconDaifahuo2 } from './IconDaifahuo2'; +export { default as IconDaishouhuo2 } from './IconDaishouhuo2'; +export { default as IconTuikuanShouhou } from './IconTuikuanShouhou'; +export { default as IconDaipeibu2 } from './IconDaipeibu2'; +export { default as IconDaifukuan2 } from './IconDaifukuan2'; + +const IconFont = ({ name, ...rest }) => { + switch (name) { + case 'riqi': + return ; + case 'shuru': + return ; + case 'a-0tianzhangqi': + return ; + case 'huodaofukuan': + return ; + case 'huozhuziti': + return ; + case 'saomazhifu': + return ; + case 'xianxiahuikuan': + return ; + case 'yufukuan': + return ; + case 'xinzengshoucangjia': + return ; + case 'qingchusousuo': + return ; + case 'xuanzechenggong': + return ; + case 'gongnengtubiao-saomiao': + return ; + case 'bianjizidingyimadan': + return ; + case 'zidingyimadanyulan': + return ; + case 'yuanshimadanyulan': + return ; + case 'xiala': + return ; + case 'shangla': + return ; + case 'qingchuxinxi': + return ; + case 'sousuo': + return ; + case 'guanli': + return ; + case 'bianji': + return ; + case 'shoucangjia': + return ; + case 'shezhi': + return ; + case 'tishi': + return ; + case 'erweima': + return ; + case 'dianjishoucang': + return ; + case 'gouwuche': + return ; + case 'shoucangchenggong': + return ; + case 'fenxiangshangpin': + return ; + case 'kefu': + return ; + case 'xinzenganniu': + return ; + case 'jianshaoanniu': + return ; + case 'daifahuo2': + return ; + case 'daishouhuo2': + return ; + case 'tuikuan-shouhou': + return ; + case 'daipeibu2': + return ; + case 'daifukuan2': + return ; + + } + + return null; +}; + +export default IconFont; diff --git a/src/components/iconfont/helper.d.ts b/src/components/iconfont/helper.d.ts new file mode 100644 index 0000000..24a9a53 --- /dev/null +++ b/src/components/iconfont/helper.d.ts @@ -0,0 +1,2 @@ +/* eslint-disable */ +export declare var useGlobalIconFont: () => { iconfont: string }; diff --git a/src/components/iconfont/helper.js b/src/components/iconfont/helper.js new file mode 100644 index 0000000..2caa692 --- /dev/null +++ b/src/components/iconfont/helper.js @@ -0,0 +1,9 @@ +/* eslint-disable */ +const useGlobalIconFont = () => { + return { + iconfont: `components/iconfont/${process.env.TARO_ENV}/${process.env.TARO_ENV}`, + }; +}; + +// es modules is unavaiable. +module.exports.useGlobalIconFont = useGlobalIconFont; diff --git a/src/components/iconfont/index.alipay.js b/src/components/iconfont/index.alipay.js new file mode 100644 index 0000000..731305b --- /dev/null +++ b/src/components/iconfont/index.alipay.js @@ -0,0 +1,16 @@ +/* eslint-disable */ + +import React from 'react'; +import Taro from '@tarojs/taro'; + +const IconFont = (props) => { + const { name, size, color, style } = props; + + return ; +}; + +IconFont.defaultProps = { + size: 18, +}; + +export default IconFont; diff --git a/src/components/iconfont/index.d.ts b/src/components/iconfont/index.d.ts new file mode 100644 index 0000000..95c9f7f --- /dev/null +++ b/src/components/iconfont/index.d.ts @@ -0,0 +1,13 @@ +/* eslint-disable */ +import React, { FunctionComponent } from 'react'; + +interface Props { + name: 'riqi' | 'shuru' | 'a-0tianzhangqi' | 'huodaofukuan' | 'huozhuziti' | 'saomazhifu' | 'xianxiahuikuan' | 'yufukuan' | 'xinzengshoucangjia' | 'qingchusousuo' | 'xuanzechenggong' | 'gongnengtubiao-saomiao' | 'bianjizidingyimadan' | 'zidingyimadanyulan' | 'yuanshimadanyulan' | 'xiala' | 'shangla' | 'qingchuxinxi' | 'sousuo' | 'guanli' | 'bianji' | 'shoucangjia' | 'shezhi' | 'tishi' | 'erweima' | 'dianjishoucang' | 'gouwuche' | 'shoucangchenggong' | 'fenxiangshangpin' | 'kefu' | 'xinzenganniu' | 'jianshaoanniu' | 'daifahuo2' | 'daishouhuo2' | 'tuikuan-shouhou' | 'daipeibu2' | 'daifukuan2'; + size?: number; + color?: string | string[]; + style?: React.CSSProperties; +} + +declare const IconFont: FunctionComponent; + +export default IconFont; diff --git a/src/components/iconfont/index.h5.js b/src/components/iconfont/index.h5.js new file mode 100644 index 0000000..80b208b --- /dev/null +++ b/src/components/iconfont/index.h5.js @@ -0,0 +1,17 @@ +/* eslint-disable */ + +import React from 'react'; +import Taro from '@tarojs/taro'; +import Icon from './h5'; + +const IconFont = (props) => { + const { name, size, color, style } = props; + + return ; +}; + +IconFont.defaultProps = { + size: 18, +}; + +export default IconFont; diff --git a/src/components/iconfont/index.js b/src/components/iconfont/index.js new file mode 100644 index 0000000..9236f4b --- /dev/null +++ b/src/components/iconfont/index.js @@ -0,0 +1,7 @@ +/* eslint-disable */ + +const IconFont = () => { + return null; +}; + +export default IconFont; diff --git a/src/components/iconfont/index.qq.js b/src/components/iconfont/index.qq.js new file mode 100644 index 0000000..731305b --- /dev/null +++ b/src/components/iconfont/index.qq.js @@ -0,0 +1,16 @@ +/* eslint-disable */ + +import React from 'react'; +import Taro from '@tarojs/taro'; + +const IconFont = (props) => { + const { name, size, color, style } = props; + + return ; +}; + +IconFont.defaultProps = { + size: 18, +}; + +export default IconFont; diff --git a/src/components/iconfont/index.rn.js b/src/components/iconfont/index.rn.js new file mode 100644 index 0000000..5375b4a --- /dev/null +++ b/src/components/iconfont/index.rn.js @@ -0,0 +1,17 @@ +/* eslint-disable */ + +import React from 'react'; +import Taro from '@tarojs/taro'; +import Icon from './rn'; + +const IconFont = (props) => { + const { name, size, color, style } = props; + + return ; +}; + +IconFont.defaultProps = { + size: 18, +}; + +export default IconFont; diff --git a/src/components/iconfont/index.swan.js b/src/components/iconfont/index.swan.js new file mode 100644 index 0000000..731305b --- /dev/null +++ b/src/components/iconfont/index.swan.js @@ -0,0 +1,16 @@ +/* eslint-disable */ + +import React from 'react'; +import Taro from '@tarojs/taro'; + +const IconFont = (props) => { + const { name, size, color, style } = props; + + return ; +}; + +IconFont.defaultProps = { + size: 18, +}; + +export default IconFont; diff --git a/src/components/iconfont/index.tt.js b/src/components/iconfont/index.tt.js new file mode 100644 index 0000000..731305b --- /dev/null +++ b/src/components/iconfont/index.tt.js @@ -0,0 +1,16 @@ +/* eslint-disable */ + +import React from 'react'; +import Taro from '@tarojs/taro'; + +const IconFont = (props) => { + const { name, size, color, style } = props; + + return ; +}; + +IconFont.defaultProps = { + size: 18, +}; + +export default IconFont; diff --git a/src/components/iconfont/index.weapp.js b/src/components/iconfont/index.weapp.js new file mode 100644 index 0000000..731305b --- /dev/null +++ b/src/components/iconfont/index.weapp.js @@ -0,0 +1,16 @@ +/* eslint-disable */ + +import React from 'react'; +import Taro from '@tarojs/taro'; + +const IconFont = (props) => { + const { name, size, color, style } = props; + + return ; +}; + +IconFont.defaultProps = { + size: 18, +}; + +export default IconFont; diff --git a/src/components/iconfont/qq/qq.js b/src/components/iconfont/qq/qq.js new file mode 100644 index 0000000..ebc1fc9 --- /dev/null +++ b/src/components/iconfont/qq/qq.js @@ -0,0 +1,31 @@ +Component({ + properties: { + // riqi | shuru | a-0tianzhangqi | huodaofukuan | huozhuziti | saomazhifu | xianxiahuikuan | yufukuan | xinzengshoucangjia | qingchusousuo | xuanzechenggong | gongnengtubiao-saomiao | bianjizidingyimadan | zidingyimadanyulan | yuanshimadanyulan | xiala | shangla | qingchuxinxi | sousuo | guanli | bianji | shoucangjia | shezhi | tishi | erweima | dianjishoucang | gouwuche | shoucangchenggong | fenxiangshangpin | kefu | xinzenganniu | jianshaoanniu | daifahuo2 | daishouhuo2 | tuikuan-shouhou | daipeibu2 | daifukuan2 + name: { + type: String, + }, + // string | string[] + color: { + type: null, + observer: function(color) { + this.setData({ + isStr: typeof color === 'string', + }); + } + }, + size: { + type: Number, + value: 18, + observer: function(size) { + this.setData({ + svgSize: size / 750 * qq.getSystemInfoSync().windowWidth, + }); + }, + }, + }, + data: { + svgSize: 18 / 750 * qq.getSystemInfoSync().windowWidth, + quot: '"', + isStr: true, + }, +}); diff --git a/src/components/iconfont/qq/qq.json b/src/components/iconfont/qq/qq.json new file mode 100644 index 0000000..a89ef4d --- /dev/null +++ b/src/components/iconfont/qq/qq.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} diff --git a/src/components/iconfont/qq/qq.qml b/src/components/iconfont/qq/qq.qml new file mode 100644 index 0000000..e0cbf19 --- /dev/null +++ b/src/components/iconfont/qq/qq.qml @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/iconfont/qq/qq.qss b/src/components/iconfont/qq/qq.qss new file mode 100644 index 0000000..9f68d1a --- /dev/null +++ b/src/components/iconfont/qq/qq.qss @@ -0,0 +1,3 @@ +.icon { + background-repeat: no-repeat; +} diff --git a/src/components/iconfont/rn/IconA0Tianzhangqi.js b/src/components/iconfont/rn/IconA0Tianzhangqi.js new file mode 100644 index 0000000..cb92dad --- /dev/null +++ b/src/components/iconfont/rn/IconA0Tianzhangqi.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconA0Tianzhangqi = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconA0Tianzhangqi.defaultProps = { + size: 18, +}; + +IconA0Tianzhangqi = React.memo ? React.memo(IconA0Tianzhangqi) : IconA0Tianzhangqi; + +export default IconA0Tianzhangqi; diff --git a/src/components/iconfont/rn/IconBianji.js b/src/components/iconfont/rn/IconBianji.js new file mode 100644 index 0000000..15090c1 --- /dev/null +++ b/src/components/iconfont/rn/IconBianji.js @@ -0,0 +1,24 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconBianji = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconBianji.defaultProps = { + size: 18, +}; + +IconBianji = React.memo ? React.memo(IconBianji) : IconBianji; + +export default IconBianji; diff --git a/src/components/iconfont/rn/IconBianjizidingyimadan.js b/src/components/iconfont/rn/IconBianjizidingyimadan.js new file mode 100644 index 0000000..46da4b8 --- /dev/null +++ b/src/components/iconfont/rn/IconBianjizidingyimadan.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconBianjizidingyimadan = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconBianjizidingyimadan.defaultProps = { + size: 18, +}; + +IconBianjizidingyimadan = React.memo ? React.memo(IconBianjizidingyimadan) : IconBianjizidingyimadan; + +export default IconBianjizidingyimadan; diff --git a/src/components/iconfont/rn/IconDaifahuo2.js b/src/components/iconfont/rn/IconDaifahuo2.js new file mode 100644 index 0000000..a215615 --- /dev/null +++ b/src/components/iconfont/rn/IconDaifahuo2.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconDaifahuo2 = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconDaifahuo2.defaultProps = { + size: 18, +}; + +IconDaifahuo2 = React.memo ? React.memo(IconDaifahuo2) : IconDaifahuo2; + +export default IconDaifahuo2; diff --git a/src/components/iconfont/rn/IconDaifukuan2.js b/src/components/iconfont/rn/IconDaifukuan2.js new file mode 100644 index 0000000..b774be2 --- /dev/null +++ b/src/components/iconfont/rn/IconDaifukuan2.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconDaifukuan2 = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconDaifukuan2.defaultProps = { + size: 18, +}; + +IconDaifukuan2 = React.memo ? React.memo(IconDaifukuan2) : IconDaifukuan2; + +export default IconDaifukuan2; diff --git a/src/components/iconfont/rn/IconDaipeibu2.js b/src/components/iconfont/rn/IconDaipeibu2.js new file mode 100644 index 0000000..417756b --- /dev/null +++ b/src/components/iconfont/rn/IconDaipeibu2.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconDaipeibu2 = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconDaipeibu2.defaultProps = { + size: 18, +}; + +IconDaipeibu2 = React.memo ? React.memo(IconDaipeibu2) : IconDaipeibu2; + +export default IconDaipeibu2; diff --git a/src/components/iconfont/rn/IconDaishouhuo2.js b/src/components/iconfont/rn/IconDaishouhuo2.js new file mode 100644 index 0000000..0d27d63 --- /dev/null +++ b/src/components/iconfont/rn/IconDaishouhuo2.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconDaishouhuo2 = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconDaishouhuo2.defaultProps = { + size: 18, +}; + +IconDaishouhuo2 = React.memo ? React.memo(IconDaishouhuo2) : IconDaishouhuo2; + +export default IconDaishouhuo2; diff --git a/src/components/iconfont/rn/IconDianjishoucang.js b/src/components/iconfont/rn/IconDianjishoucang.js new file mode 100644 index 0000000..8b6bd5f --- /dev/null +++ b/src/components/iconfont/rn/IconDianjishoucang.js @@ -0,0 +1,35 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconDianjishoucang = ({ size, color, ...rest }) => { + return ( + + + + + + ); +}; + +IconDianjishoucang.defaultProps = { + size: 18, +}; + +IconDianjishoucang = React.memo ? React.memo(IconDianjishoucang) : IconDianjishoucang; + +export default IconDianjishoucang; diff --git a/src/components/iconfont/rn/IconErweima.js b/src/components/iconfont/rn/IconErweima.js new file mode 100644 index 0000000..6afacad --- /dev/null +++ b/src/components/iconfont/rn/IconErweima.js @@ -0,0 +1,24 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconErweima = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconErweima.defaultProps = { + size: 18, +}; + +IconErweima = React.memo ? React.memo(IconErweima) : IconErweima; + +export default IconErweima; diff --git a/src/components/iconfont/rn/IconFenxiangshangpin.js b/src/components/iconfont/rn/IconFenxiangshangpin.js new file mode 100644 index 0000000..deca92e --- /dev/null +++ b/src/components/iconfont/rn/IconFenxiangshangpin.js @@ -0,0 +1,25 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconFenxiangshangpin = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconFenxiangshangpin.defaultProps = { + size: 18, +}; + +IconFenxiangshangpin = React.memo ? React.memo(IconFenxiangshangpin) : IconFenxiangshangpin; + +export default IconFenxiangshangpin; diff --git a/src/components/iconfont/rn/IconGongnengtubiaoSaomiao.js b/src/components/iconfont/rn/IconGongnengtubiaoSaomiao.js new file mode 100644 index 0000000..1af35c5 --- /dev/null +++ b/src/components/iconfont/rn/IconGongnengtubiaoSaomiao.js @@ -0,0 +1,24 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconGongnengtubiaoSaomiao = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconGongnengtubiaoSaomiao.defaultProps = { + size: 18, +}; + +IconGongnengtubiaoSaomiao = React.memo ? React.memo(IconGongnengtubiaoSaomiao) : IconGongnengtubiaoSaomiao; + +export default IconGongnengtubiaoSaomiao; diff --git a/src/components/iconfont/rn/IconGouwuche.js b/src/components/iconfont/rn/IconGouwuche.js new file mode 100644 index 0000000..8d86366 --- /dev/null +++ b/src/components/iconfont/rn/IconGouwuche.js @@ -0,0 +1,32 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconGouwuche = ({ size, color, ...rest }) => { + return ( + + + + + + ); +}; + +IconGouwuche.defaultProps = { + size: 18, +}; + +IconGouwuche = React.memo ? React.memo(IconGouwuche) : IconGouwuche; + +export default IconGouwuche; diff --git a/src/components/iconfont/rn/IconGuanli.js b/src/components/iconfont/rn/IconGuanli.js new file mode 100644 index 0000000..1b00afc --- /dev/null +++ b/src/components/iconfont/rn/IconGuanli.js @@ -0,0 +1,25 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconGuanli = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconGuanli.defaultProps = { + size: 18, +}; + +IconGuanli = React.memo ? React.memo(IconGuanli) : IconGuanli; + +export default IconGuanli; diff --git a/src/components/iconfont/rn/IconHuodaofukuan.js b/src/components/iconfont/rn/IconHuodaofukuan.js new file mode 100644 index 0000000..adade31 --- /dev/null +++ b/src/components/iconfont/rn/IconHuodaofukuan.js @@ -0,0 +1,36 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconHuodaofukuan = ({ size, color, ...rest }) => { + return ( + + + + + + + ); +}; + +IconHuodaofukuan.defaultProps = { + size: 18, +}; + +IconHuodaofukuan = React.memo ? React.memo(IconHuodaofukuan) : IconHuodaofukuan; + +export default IconHuodaofukuan; diff --git a/src/components/iconfont/rn/IconHuozhuziti.js b/src/components/iconfont/rn/IconHuozhuziti.js new file mode 100644 index 0000000..238a5a1 --- /dev/null +++ b/src/components/iconfont/rn/IconHuozhuziti.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconHuozhuziti = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconHuozhuziti.defaultProps = { + size: 18, +}; + +IconHuozhuziti = React.memo ? React.memo(IconHuozhuziti) : IconHuozhuziti; + +export default IconHuozhuziti; diff --git a/src/components/iconfont/rn/IconJianshaoanniu.js b/src/components/iconfont/rn/IconJianshaoanniu.js new file mode 100644 index 0000000..ad32208 --- /dev/null +++ b/src/components/iconfont/rn/IconJianshaoanniu.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconJianshaoanniu = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconJianshaoanniu.defaultProps = { + size: 18, +}; + +IconJianshaoanniu = React.memo ? React.memo(IconJianshaoanniu) : IconJianshaoanniu; + +export default IconJianshaoanniu; diff --git a/src/components/iconfont/rn/IconKefu.js b/src/components/iconfont/rn/IconKefu.js new file mode 100644 index 0000000..4418458 --- /dev/null +++ b/src/components/iconfont/rn/IconKefu.js @@ -0,0 +1,24 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconKefu = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconKefu.defaultProps = { + size: 18, +}; + +IconKefu = React.memo ? React.memo(IconKefu) : IconKefu; + +export default IconKefu; diff --git a/src/components/iconfont/rn/IconQingchusousuo.js b/src/components/iconfont/rn/IconQingchusousuo.js new file mode 100644 index 0000000..b992d1b --- /dev/null +++ b/src/components/iconfont/rn/IconQingchusousuo.js @@ -0,0 +1,25 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconQingchusousuo = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconQingchusousuo.defaultProps = { + size: 18, +}; + +IconQingchusousuo = React.memo ? React.memo(IconQingchusousuo) : IconQingchusousuo; + +export default IconQingchusousuo; diff --git a/src/components/iconfont/rn/IconQingchuxinxi.js b/src/components/iconfont/rn/IconQingchuxinxi.js new file mode 100644 index 0000000..0604fa9 --- /dev/null +++ b/src/components/iconfont/rn/IconQingchuxinxi.js @@ -0,0 +1,25 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconQingchuxinxi = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconQingchuxinxi.defaultProps = { + size: 18, +}; + +IconQingchuxinxi = React.memo ? React.memo(IconQingchuxinxi) : IconQingchuxinxi; + +export default IconQingchuxinxi; diff --git a/src/components/iconfont/rn/IconRiqi.js b/src/components/iconfont/rn/IconRiqi.js new file mode 100644 index 0000000..d56a3d9 --- /dev/null +++ b/src/components/iconfont/rn/IconRiqi.js @@ -0,0 +1,24 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconRiqi = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconRiqi.defaultProps = { + size: 18, +}; + +IconRiqi = React.memo ? React.memo(IconRiqi) : IconRiqi; + +export default IconRiqi; diff --git a/src/components/iconfont/rn/IconSaomazhifu.js b/src/components/iconfont/rn/IconSaomazhifu.js new file mode 100644 index 0000000..5dead39 --- /dev/null +++ b/src/components/iconfont/rn/IconSaomazhifu.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconSaomazhifu = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconSaomazhifu.defaultProps = { + size: 18, +}; + +IconSaomazhifu = React.memo ? React.memo(IconSaomazhifu) : IconSaomazhifu; + +export default IconSaomazhifu; diff --git a/src/components/iconfont/rn/IconShangla.js b/src/components/iconfont/rn/IconShangla.js new file mode 100644 index 0000000..74f2945 --- /dev/null +++ b/src/components/iconfont/rn/IconShangla.js @@ -0,0 +1,25 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconShangla = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconShangla.defaultProps = { + size: 18, +}; + +IconShangla = React.memo ? React.memo(IconShangla) : IconShangla; + +export default IconShangla; diff --git a/src/components/iconfont/rn/IconShezhi.js b/src/components/iconfont/rn/IconShezhi.js new file mode 100644 index 0000000..103c4f1 --- /dev/null +++ b/src/components/iconfont/rn/IconShezhi.js @@ -0,0 +1,25 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconShezhi = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconShezhi.defaultProps = { + size: 18, +}; + +IconShezhi = React.memo ? React.memo(IconShezhi) : IconShezhi; + +export default IconShezhi; diff --git a/src/components/iconfont/rn/IconShoucangchenggong.js b/src/components/iconfont/rn/IconShoucangchenggong.js new file mode 100644 index 0000000..1e35e46 --- /dev/null +++ b/src/components/iconfont/rn/IconShoucangchenggong.js @@ -0,0 +1,24 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconShoucangchenggong = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconShoucangchenggong.defaultProps = { + size: 18, +}; + +IconShoucangchenggong = React.memo ? React.memo(IconShoucangchenggong) : IconShoucangchenggong; + +export default IconShoucangchenggong; diff --git a/src/components/iconfont/rn/IconShoucangjia.js b/src/components/iconfont/rn/IconShoucangjia.js new file mode 100644 index 0000000..814c3b6 --- /dev/null +++ b/src/components/iconfont/rn/IconShoucangjia.js @@ -0,0 +1,40 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconShoucangjia = ({ size, color, ...rest }) => { + return ( + + + + + + + + ); +}; + +IconShoucangjia.defaultProps = { + size: 18, +}; + +IconShoucangjia = React.memo ? React.memo(IconShoucangjia) : IconShoucangjia; + +export default IconShoucangjia; diff --git a/src/components/iconfont/rn/IconShuru.js b/src/components/iconfont/rn/IconShuru.js new file mode 100644 index 0000000..df57a4b --- /dev/null +++ b/src/components/iconfont/rn/IconShuru.js @@ -0,0 +1,25 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconShuru = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconShuru.defaultProps = { + size: 18, +}; + +IconShuru = React.memo ? React.memo(IconShuru) : IconShuru; + +export default IconShuru; diff --git a/src/components/iconfont/rn/IconSousuo.js b/src/components/iconfont/rn/IconSousuo.js new file mode 100644 index 0000000..c143819 --- /dev/null +++ b/src/components/iconfont/rn/IconSousuo.js @@ -0,0 +1,25 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconSousuo = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconSousuo.defaultProps = { + size: 18, +}; + +IconSousuo = React.memo ? React.memo(IconSousuo) : IconSousuo; + +export default IconSousuo; diff --git a/src/components/iconfont/rn/IconTishi.js b/src/components/iconfont/rn/IconTishi.js new file mode 100644 index 0000000..9920767 --- /dev/null +++ b/src/components/iconfont/rn/IconTishi.js @@ -0,0 +1,25 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconTishi = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconTishi.defaultProps = { + size: 18, +}; + +IconTishi = React.memo ? React.memo(IconTishi) : IconTishi; + +export default IconTishi; diff --git a/src/components/iconfont/rn/IconTuikuanShouhou.js b/src/components/iconfont/rn/IconTuikuanShouhou.js new file mode 100644 index 0000000..cd0b337 --- /dev/null +++ b/src/components/iconfont/rn/IconTuikuanShouhou.js @@ -0,0 +1,29 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconTuikuanShouhou = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconTuikuanShouhou.defaultProps = { + size: 18, +}; + +IconTuikuanShouhou = React.memo ? React.memo(IconTuikuanShouhou) : IconTuikuanShouhou; + +export default IconTuikuanShouhou; diff --git a/src/components/iconfont/rn/IconXiala.js b/src/components/iconfont/rn/IconXiala.js new file mode 100644 index 0000000..9917565 --- /dev/null +++ b/src/components/iconfont/rn/IconXiala.js @@ -0,0 +1,25 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconXiala = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconXiala.defaultProps = { + size: 18, +}; + +IconXiala = React.memo ? React.memo(IconXiala) : IconXiala; + +export default IconXiala; diff --git a/src/components/iconfont/rn/IconXianxiahuikuan.js b/src/components/iconfont/rn/IconXianxiahuikuan.js new file mode 100644 index 0000000..b7ddd4b --- /dev/null +++ b/src/components/iconfont/rn/IconXianxiahuikuan.js @@ -0,0 +1,32 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconXianxiahuikuan = ({ size, color, ...rest }) => { + return ( + + + + + + ); +}; + +IconXianxiahuikuan.defaultProps = { + size: 18, +}; + +IconXianxiahuikuan = React.memo ? React.memo(IconXianxiahuikuan) : IconXianxiahuikuan; + +export default IconXianxiahuikuan; diff --git a/src/components/iconfont/rn/IconXinzenganniu.js b/src/components/iconfont/rn/IconXinzenganniu.js new file mode 100644 index 0000000..1ca8aaf --- /dev/null +++ b/src/components/iconfont/rn/IconXinzenganniu.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconXinzenganniu = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconXinzenganniu.defaultProps = { + size: 18, +}; + +IconXinzenganniu = React.memo ? React.memo(IconXinzenganniu) : IconXinzenganniu; + +export default IconXinzenganniu; diff --git a/src/components/iconfont/rn/IconXinzengshoucangjia.js b/src/components/iconfont/rn/IconXinzengshoucangjia.js new file mode 100644 index 0000000..0761d9c --- /dev/null +++ b/src/components/iconfont/rn/IconXinzengshoucangjia.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconXinzengshoucangjia = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconXinzengshoucangjia.defaultProps = { + size: 18, +}; + +IconXinzengshoucangjia = React.memo ? React.memo(IconXinzengshoucangjia) : IconXinzengshoucangjia; + +export default IconXinzengshoucangjia; diff --git a/src/components/iconfont/rn/IconXuanzechenggong.js b/src/components/iconfont/rn/IconXuanzechenggong.js new file mode 100644 index 0000000..4a6d373 --- /dev/null +++ b/src/components/iconfont/rn/IconXuanzechenggong.js @@ -0,0 +1,24 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconXuanzechenggong = ({ size, color, ...rest }) => { + return ( + + + + ); +}; + +IconXuanzechenggong.defaultProps = { + size: 18, +}; + +IconXuanzechenggong = React.memo ? React.memo(IconXuanzechenggong) : IconXuanzechenggong; + +export default IconXuanzechenggong; diff --git a/src/components/iconfont/rn/IconYuanshimadanyulan.js b/src/components/iconfont/rn/IconYuanshimadanyulan.js new file mode 100644 index 0000000..56d007c --- /dev/null +++ b/src/components/iconfont/rn/IconYuanshimadanyulan.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconYuanshimadanyulan = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconYuanshimadanyulan.defaultProps = { + size: 18, +}; + +IconYuanshimadanyulan = React.memo ? React.memo(IconYuanshimadanyulan) : IconYuanshimadanyulan; + +export default IconYuanshimadanyulan; diff --git a/src/components/iconfont/rn/IconYufukuan.js b/src/components/iconfont/rn/IconYufukuan.js new file mode 100644 index 0000000..e3e03ca --- /dev/null +++ b/src/components/iconfont/rn/IconYufukuan.js @@ -0,0 +1,33 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconYufukuan = ({ size, color, ...rest }) => { + return ( + + + + + + ); +}; + +IconYufukuan.defaultProps = { + size: 18, +}; + +IconYufukuan = React.memo ? React.memo(IconYufukuan) : IconYufukuan; + +export default IconYufukuan; diff --git a/src/components/iconfont/rn/IconZidingyimadanyulan.js b/src/components/iconfont/rn/IconZidingyimadanyulan.js new file mode 100644 index 0000000..396900a --- /dev/null +++ b/src/components/iconfont/rn/IconZidingyimadanyulan.js @@ -0,0 +1,28 @@ +/* eslint-disable */ + +import React from 'react'; +import { Svg, Path } from 'react-native-svg'; +import { getIconColor } from './helper'; + +let IconZidingyimadanyulan = ({ size, color, ...rest }) => { + return ( + + + + + ); +}; + +IconZidingyimadanyulan.defaultProps = { + size: 18, +}; + +IconZidingyimadanyulan = React.memo ? React.memo(IconZidingyimadanyulan) : IconZidingyimadanyulan; + +export default IconZidingyimadanyulan; diff --git a/src/components/iconfont/rn/helper.js b/src/components/iconfont/rn/helper.js new file mode 100644 index 0000000..b566c4c --- /dev/null +++ b/src/components/iconfont/rn/helper.js @@ -0,0 +1,17 @@ +/* eslint-disable */ + +/** + * @param {string | string[] | undefined} color + * @param {number} index + * @param {string} defaultColor + * @return {string} + */ +export const getIconColor = (color, index, defaultColor) => { + return color + ? ( + typeof color === 'string' + ? color + : color[index] || defaultColor + ) + : defaultColor; +}; diff --git a/src/components/iconfont/rn/index.js b/src/components/iconfont/rn/index.js new file mode 100644 index 0000000..d06d167 --- /dev/null +++ b/src/components/iconfont/rn/index.js @@ -0,0 +1,163 @@ +/* eslint-disable */ + +import React from 'react'; + +import IconRiqi from './IconRiqi'; +import IconShuru from './IconShuru'; +import IconA0Tianzhangqi from './IconA0Tianzhangqi'; +import IconHuodaofukuan from './IconHuodaofukuan'; +import IconHuozhuziti from './IconHuozhuziti'; +import IconSaomazhifu from './IconSaomazhifu'; +import IconXianxiahuikuan from './IconXianxiahuikuan'; +import IconYufukuan from './IconYufukuan'; +import IconXinzengshoucangjia from './IconXinzengshoucangjia'; +import IconQingchusousuo from './IconQingchusousuo'; +import IconXuanzechenggong from './IconXuanzechenggong'; +import IconGongnengtubiaoSaomiao from './IconGongnengtubiaoSaomiao'; +import IconBianjizidingyimadan from './IconBianjizidingyimadan'; +import IconZidingyimadanyulan from './IconZidingyimadanyulan'; +import IconYuanshimadanyulan from './IconYuanshimadanyulan'; +import IconXiala from './IconXiala'; +import IconShangla from './IconShangla'; +import IconQingchuxinxi from './IconQingchuxinxi'; +import IconSousuo from './IconSousuo'; +import IconGuanli from './IconGuanli'; +import IconBianji from './IconBianji'; +import IconShoucangjia from './IconShoucangjia'; +import IconShezhi from './IconShezhi'; +import IconTishi from './IconTishi'; +import IconErweima from './IconErweima'; +import IconDianjishoucang from './IconDianjishoucang'; +import IconGouwuche from './IconGouwuche'; +import IconShoucangchenggong from './IconShoucangchenggong'; +import IconFenxiangshangpin from './IconFenxiangshangpin'; +import IconKefu from './IconKefu'; +import IconXinzenganniu from './IconXinzenganniu'; +import IconJianshaoanniu from './IconJianshaoanniu'; +import IconDaifahuo2 from './IconDaifahuo2'; +import IconDaishouhuo2 from './IconDaishouhuo2'; +import IconTuikuanShouhou from './IconTuikuanShouhou'; +import IconDaipeibu2 from './IconDaipeibu2'; +import IconDaifukuan2 from './IconDaifukuan2'; +export { default as IconRiqi } from './IconRiqi'; +export { default as IconShuru } from './IconShuru'; +export { default as IconA0Tianzhangqi } from './IconA0Tianzhangqi'; +export { default as IconHuodaofukuan } from './IconHuodaofukuan'; +export { default as IconHuozhuziti } from './IconHuozhuziti'; +export { default as IconSaomazhifu } from './IconSaomazhifu'; +export { default as IconXianxiahuikuan } from './IconXianxiahuikuan'; +export { default as IconYufukuan } from './IconYufukuan'; +export { default as IconXinzengshoucangjia } from './IconXinzengshoucangjia'; +export { default as IconQingchusousuo } from './IconQingchusousuo'; +export { default as IconXuanzechenggong } from './IconXuanzechenggong'; +export { default as IconGongnengtubiaoSaomiao } from './IconGongnengtubiaoSaomiao'; +export { default as IconBianjizidingyimadan } from './IconBianjizidingyimadan'; +export { default as IconZidingyimadanyulan } from './IconZidingyimadanyulan'; +export { default as IconYuanshimadanyulan } from './IconYuanshimadanyulan'; +export { default as IconXiala } from './IconXiala'; +export { default as IconShangla } from './IconShangla'; +export { default as IconQingchuxinxi } from './IconQingchuxinxi'; +export { default as IconSousuo } from './IconSousuo'; +export { default as IconGuanli } from './IconGuanli'; +export { default as IconBianji } from './IconBianji'; +export { default as IconShoucangjia } from './IconShoucangjia'; +export { default as IconShezhi } from './IconShezhi'; +export { default as IconTishi } from './IconTishi'; +export { default as IconErweima } from './IconErweima'; +export { default as IconDianjishoucang } from './IconDianjishoucang'; +export { default as IconGouwuche } from './IconGouwuche'; +export { default as IconShoucangchenggong } from './IconShoucangchenggong'; +export { default as IconFenxiangshangpin } from './IconFenxiangshangpin'; +export { default as IconKefu } from './IconKefu'; +export { default as IconXinzenganniu } from './IconXinzenganniu'; +export { default as IconJianshaoanniu } from './IconJianshaoanniu'; +export { default as IconDaifahuo2 } from './IconDaifahuo2'; +export { default as IconDaishouhuo2 } from './IconDaishouhuo2'; +export { default as IconTuikuanShouhou } from './IconTuikuanShouhou'; +export { default as IconDaipeibu2 } from './IconDaipeibu2'; +export { default as IconDaifukuan2 } from './IconDaifukuan2'; + +let IconFont = ({ name, ...rest }) => { + switch (name) { + case 'riqi': + return ; + case 'shuru': + return ; + case 'a-0tianzhangqi': + return ; + case 'huodaofukuan': + return ; + case 'huozhuziti': + return ; + case 'saomazhifu': + return ; + case 'xianxiahuikuan': + return ; + case 'yufukuan': + return ; + case 'xinzengshoucangjia': + return ; + case 'qingchusousuo': + return ; + case 'xuanzechenggong': + return ; + case 'gongnengtubiao-saomiao': + return ; + case 'bianjizidingyimadan': + return ; + case 'zidingyimadanyulan': + return ; + case 'yuanshimadanyulan': + return ; + case 'xiala': + return ; + case 'shangla': + return ; + case 'qingchuxinxi': + return ; + case 'sousuo': + return ; + case 'guanli': + return ; + case 'bianji': + return ; + case 'shoucangjia': + return ; + case 'shezhi': + return ; + case 'tishi': + return ; + case 'erweima': + return ; + case 'dianjishoucang': + return ; + case 'gouwuche': + return ; + case 'shoucangchenggong': + return ; + case 'fenxiangshangpin': + return ; + case 'kefu': + return ; + case 'xinzenganniu': + return ; + case 'jianshaoanniu': + return ; + case 'daifahuo2': + return ; + case 'daishouhuo2': + return ; + case 'tuikuan-shouhou': + return ; + case 'daipeibu2': + return ; + case 'daifukuan2': + return ; + } + + return null; +}; + +IconFont = React.memo ? React.memo(IconFont) : IconFont; + +export default IconFont; diff --git a/src/components/iconfont/swan/swan.css b/src/components/iconfont/swan/swan.css new file mode 100644 index 0000000..9f68d1a --- /dev/null +++ b/src/components/iconfont/swan/swan.css @@ -0,0 +1,3 @@ +.icon { + background-repeat: no-repeat; +} diff --git a/src/components/iconfont/swan/swan.js b/src/components/iconfont/swan/swan.js new file mode 100644 index 0000000..2f8833b --- /dev/null +++ b/src/components/iconfont/swan/swan.js @@ -0,0 +1,64 @@ +Component({ + properties: { + // riqi | shuru | a-0tianzhangqi | huodaofukuan | huozhuziti | saomazhifu | xianxiahuikuan | yufukuan | xinzengshoucangjia | qingchusousuo | xuanzechenggong | gongnengtubiao-saomiao | bianjizidingyimadan | zidingyimadanyulan | yuanshimadanyulan | xiala | shangla | qingchuxinxi | sousuo | guanli | bianji | shoucangjia | shezhi | tishi | erweima | dianjishoucang | gouwuche | shoucangchenggong | fenxiangshangpin | kefu | xinzenganniu | jianshaoanniu | daifahuo2 | daishouhuo2 | tuikuan-shouhou | daipeibu2 | daifukuan2 + name: { + type: String, + }, + // string | string[] + color: { + type: null, + value: '', + observer: function(color) { + this.setData({ + colors: this.fixColor(color), + isStr: typeof color === 'string', + }); + } + }, + size: { + type: Number, + value: 18, + observer: function(size) { + this.setData({ + svgSize: size / 750 * swan.getSystemInfoSync().windowWidth, + }); + }, + }, + }, + data: { + colors: '', + svgSize: 18 / 750 * swan.getSystemInfoSync().windowWidth, + quot: '"', + isStr: true, + }, + methods: { + fixColor: function() { + var color = this.data.color; + var hex2rgb = this.hex2rgb; + + if (typeof color === 'string') { + return color.indexOf('#') === 0 ? hex2rgb(color) : color; + } + + return color.map(function (item) { + return item.indexOf('#') === 0 ? hex2rgb(item) : item; + }); + }, + hex2rgb: function(hex) { + var rgb = []; + + hex = hex.substr(1); + + if (hex.length === 3) { + hex = hex.replace(/(.)/g, '$1$1'); + } + + hex.replace(/../g, function(color) { + rgb.push(parseInt(color, 0x10)); + return color; + }); + + return 'rgb(' + rgb.join(',') + ')'; + } + } +}); diff --git a/src/components/iconfont/swan/swan.json b/src/components/iconfont/swan/swan.json new file mode 100644 index 0000000..a89ef4d --- /dev/null +++ b/src/components/iconfont/swan/swan.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} diff --git a/src/components/iconfont/swan/swan.swan b/src/components/iconfont/swan/swan.swan new file mode 100644 index 0000000..7e27b16 --- /dev/null +++ b/src/components/iconfont/swan/swan.swan @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/iconfont/tt/tt.js b/src/components/iconfont/tt/tt.js new file mode 100644 index 0000000..045bc05 --- /dev/null +++ b/src/components/iconfont/tt/tt.js @@ -0,0 +1,64 @@ +Component({ + properties: { + // riqi | shuru | a-0tianzhangqi | huodaofukuan | huozhuziti | saomazhifu | xianxiahuikuan | yufukuan | xinzengshoucangjia | qingchusousuo | xuanzechenggong | gongnengtubiao-saomiao | bianjizidingyimadan | zidingyimadanyulan | yuanshimadanyulan | xiala | shangla | qingchuxinxi | sousuo | guanli | bianji | shoucangjia | shezhi | tishi | erweima | dianjishoucang | gouwuche | shoucangchenggong | fenxiangshangpin | kefu | xinzenganniu | jianshaoanniu | daifahuo2 | daishouhuo2 | tuikuan-shouhou | daipeibu2 | daifukuan2 + name: { + type: String, + }, + // string | string[] + color: { + type: null, + value: '', + observer: function(color) { + this.setData({ + colors: this.fixColor(), + isStr: typeof color === 'string', + }); + } + }, + size: { + type: Number, + value: 18, + observer: function(size) { + this.setData({ + svgSize: size / 750 * tt.getSystemInfoSync().windowWidth, + }); + }, + }, + }, + data: { + colors: '', + svgSize: 18 / 750 * tt.getSystemInfoSync().windowWidth, + quot: '"', + isStr: true, + }, + methods: { + fixColor: function() { + var color = this.data.color; + var hex2rgb = this.hex2rgb; + + if (typeof color === 'string') { + return color.indexOf('#') === 0 ? hex2rgb(color) : color; + } + + return color.map(function (item) { + return item.indexOf('#') === 0 ? hex2rgb(item) : item; + }); + }, + hex2rgb: function(hex) { + var rgb = []; + + hex = hex.substr(1); + + if (hex.length === 3) { + hex = hex.replace(/(.)/g, '$1$1'); + } + + hex.replace(/../g, function(color) { + rgb.push(parseInt(color, 0x10)); + return color; + }); + + return 'rgb(' + rgb.join(',') + ')'; + } + } +}); diff --git a/src/components/iconfont/tt/tt.json b/src/components/iconfont/tt/tt.json new file mode 100644 index 0000000..467ce29 --- /dev/null +++ b/src/components/iconfont/tt/tt.json @@ -0,0 +1,3 @@ +{ + "component": true +} diff --git a/src/components/iconfont/tt/tt.ttml b/src/components/iconfont/tt/tt.ttml new file mode 100644 index 0000000..ec8ba24 --- /dev/null +++ b/src/components/iconfont/tt/tt.ttml @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/iconfont/tt/tt.ttss b/src/components/iconfont/tt/tt.ttss new file mode 100644 index 0000000..9f68d1a --- /dev/null +++ b/src/components/iconfont/tt/tt.ttss @@ -0,0 +1,3 @@ +.icon { + background-repeat: no-repeat; +} diff --git a/src/components/iconfont/weapp/weapp.js b/src/components/iconfont/weapp/weapp.js new file mode 100644 index 0000000..4b0fbe4 --- /dev/null +++ b/src/components/iconfont/weapp/weapp.js @@ -0,0 +1,63 @@ +Component({ + properties: { + // riqi | shuru | a-0tianzhangqi | huodaofukuan | huozhuziti | saomazhifu | xianxiahuikuan | yufukuan | xinzengshoucangjia | qingchusousuo | xuanzechenggong | gongnengtubiao-saomiao | bianjizidingyimadan | zidingyimadanyulan | yuanshimadanyulan | xiala | shangla | qingchuxinxi | sousuo | guanli | bianji | shoucangjia | shezhi | tishi | erweima | dianjishoucang | gouwuche | shoucangchenggong | fenxiangshangpin | kefu | xinzenganniu | jianshaoanniu | daifahuo2 | daishouhuo2 | tuikuan-shouhou | daipeibu2 | daifukuan2 + name: { + type: String, + }, + // string | string[] + color: { + type: null, + observer: function(color) { + this.setData({ + colors: this.fixColor(), + isStr: typeof color === 'string', + }); + } + }, + size: { + type: Number, + value: 18, + observer: function(size) { + this.setData({ + svgSize: size / 750 * wx.getSystemInfoSync().windowWidth, + }); + }, + }, + }, + data: { + colors: '', + svgSize: 18 / 750 * wx.getSystemInfoSync().windowWidth, + quot: '"', + isStr: true, + }, + methods: { + fixColor: function() { + var color = this.data.color; + var hex2rgb = this.hex2rgb; + + if (typeof color === 'string') { + return color.indexOf('#') === 0 ? hex2rgb(color) : color; + } + + return color.map(function (item) { + return item.indexOf('#') === 0 ? hex2rgb(item) : item; + }); + }, + hex2rgb: function(hex) { + var rgb = []; + + hex = hex.substr(1); + + if (hex.length === 3) { + hex = hex.replace(/(.)/g, '$1$1'); + } + + hex.replace(/../g, function(color) { + rgb.push(parseInt(color, 0x10)); + return color; + }); + + return 'rgb(' + rgb.join(',') + ')'; + } + } +}); diff --git a/src/components/iconfont/weapp/weapp.json b/src/components/iconfont/weapp/weapp.json new file mode 100644 index 0000000..a89ef4d --- /dev/null +++ b/src/components/iconfont/weapp/weapp.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} diff --git a/src/components/iconfont/weapp/weapp.wxml b/src/components/iconfont/weapp/weapp.wxml new file mode 100644 index 0000000..e57bbc6 --- /dev/null +++ b/src/components/iconfont/weapp/weapp.wxml @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/iconfont/weapp/weapp.wxss b/src/components/iconfont/weapp/weapp.wxss new file mode 100644 index 0000000..9f68d1a --- /dev/null +++ b/src/components/iconfont/weapp/weapp.wxss @@ -0,0 +1,3 @@ +.icon { + background-repeat: no-repeat; +} diff --git a/yarn.lock b/yarn.lock index e7a1ab2..fc3cb7c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3522,6 +3522,13 @@ aws4@^1.8.0: resolved "https://registry.npmmirror.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== +axios@^0.19.0: + version "0.19.2" + resolved "https://registry.npmmirror.com/axios/-/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27" + integrity sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA== + dependencies: + follow-redirects "1.5.10" + babel-code-frame@6.26.0, babel-code-frame@^6.26.0: version "6.26.0" resolved "https://registry.npmmirror.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" @@ -5079,6 +5086,11 @@ colorette@^2.0.10: resolved "https://registry.npmmirror.com/colorette/-/colorette-2.0.19.tgz#cdf044f47ad41a0f4b56b3a0d5b4e6e1a2d5a798" integrity sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ== +colors@^1.3.3, colors@^1.4.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" + integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== + combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: version "1.0.8" resolved "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" @@ -5722,6 +5734,13 @@ debug@4, debug@4.3.4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, de dependencies: ms "2.1.2" +debug@=3.1.0, debug@~3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" + integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== + dependencies: + ms "2.0.0" + debug@^3.2.6, debug@^3.2.7: version "3.2.7" resolved "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" @@ -5729,13 +5748,6 @@ debug@^3.2.6, debug@^3.2.7: dependencies: ms "^2.1.1" -debug@~3.1.0: - version "3.1.0" - resolved "https://registry.npmmirror.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" - integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== - dependencies: - ms "2.0.0" - debuglog@^1.0.1: version "1.0.1" resolved "https://registry.npmmirror.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" @@ -7148,6 +7160,13 @@ flush-write-stream@^1.0.0: inherits "^2.0.3" readable-stream "^2.3.6" +follow-redirects@1.5.10: + version "1.5.10" + resolved "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.5.10.tgz#7b7a9f9aea2fdff36786a94ff643ed07f4ff5e2a" + integrity sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ== + dependencies: + debug "=3.1.0" + follow-redirects@^1.0.0: version "1.15.2" resolved "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" @@ -7925,6 +7944,16 @@ human-signals@^2.1.0: resolved "https://registry.npmmirror.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== +iconfont-parser@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/iconfont-parser/-/iconfont-parser-1.0.0.tgz#1fa61be02677005a9a014653ef2eeb7503c3538a" + integrity sha512-3RJceYHEjaqYyeDdfSAb1vP1x1Eb7ZtC9Xwetj+axm85sBlJU7HMvdNLVpwm/3g5eghYOdkQK+epUITZGAIqKQ== + dependencies: + axios "^0.19.0" + colors "^1.4.0" + tslib "^1.10.0" + xml2js "^0.4.22" + iconv-lite@0.4.24: version "0.4.24" resolved "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -9508,6 +9537,20 @@ mini-css-extract-plugin@2.4.6: dependencies: schema-utils "^4.0.0" +mini-program-iconfont-cli@0.6.1: + version "0.6.1" + resolved "https://registry.npmmirror.com/mini-program-iconfont-cli/-/mini-program-iconfont-cli-0.6.1.tgz#61d08cf05bf5a51c82a75c4afcf77224e20ed06c" + integrity sha512-69FsU+tSevwmHBiL55535Hfh1q0ciRpNyYtiTBZw2bvw9lvW3N/SCTg395P0rkisWMqf1Ki9VYIWeaONvNWy2Q== + dependencies: + axios "^0.19.0" + colors "^1.3.3" + fs-extra "^8.1.0" + glob "^7.1.4" + minimist "^1.2.5" + mkdirp "^0.5.1" + tslib "^1.10.0" + xml2js "^0.4.19" + minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" resolved "https://registry.npmmirror.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" @@ -11252,6 +11295,19 @@ react-dom@^18.2.0: loose-envify "^1.1.0" scheduler "^0.23.0" +react-iconfont-cli@2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/react-iconfont-cli/-/react-iconfont-cli-2.0.2.tgz#547d872e5d76796230877176e397bc6ed3337467" + integrity sha512-43NP+dsk08XwJf8oXfrDwHk1WeE76vy1Xzbd2zz7WjjxsdblF9h/oalFMPclZSibIirwsckz3L0IV+42Yu//iQ== + dependencies: + colors "^1.3.3" + glob "^7.1.4" + iconfont-parser "^1.0.0" + lodash "^4.17.15" + minimist "^1.2.5" + mkdirp "^0.5.1" + tslib "^1.10.0" + react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" resolved "https://registry.npmmirror.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" @@ -11262,6 +11318,19 @@ react-is@^18.0.0: resolved "https://registry.npmmirror.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== +react-native-iconfont-cli@2.2.4: + version "2.2.4" + resolved "https://registry.npmmirror.com/react-native-iconfont-cli/-/react-native-iconfont-cli-2.2.4.tgz#9bc3b18653105950646f8e5f5fcde9f8835d76f3" + integrity sha512-qTjfHG2f/sc3/YKWZJvIJk/SwiTu8C9/SvtoLxRX+GM/6pvOJq0ge6rcV3vTh4s3QJDuNDOD6+a4hGD6vv2vSg== + dependencies: + colors "^1.3.3" + glob "^7.1.4" + iconfont-parser "^1.0.0" + lodash "^4.17.15" + minimist "^1.2.5" + mkdirp "^0.5.1" + tslib "^1.10.0" + react-reconciler@0.27.0: version "0.27.0" resolved "https://registry.npmmirror.com/react-reconciler/-/react-reconciler-0.27.0.tgz#360124fdf2d76447c7491ee5f0e04503ed9acf5b" @@ -12830,6 +12899,21 @@ taro-css-to-react-native@3.5.8: css-mediaquery "^0.1.2" postcss-value-parser "^3.3.0" +taro-iconfont-cli@^3.3.0: + version "3.3.0" + resolved "https://registry.npmmirror.com/taro-iconfont-cli/-/taro-iconfont-cli-3.3.0.tgz#b4d3f83598099d84bdc61435cadf4a8a584a29d7" + integrity sha512-lkZE/zaL0J3a6ymlUp1sMBiM8krJkDh0ZsrzB5FM2IGdgQO1/4Vs7N2hzTEVZ7EZoV/6hBqL0YwzTXg4MpuJMg== + dependencies: + colors "^1.4.0" + fs-extra "^8.1.0" + iconfont-parser "^1.0.0" + mini-program-iconfont-cli "0.6.1" + minimist "^1.2.5" + mkdirp "^0.5.1" + react-iconfont-cli "2.0.2" + react-native-iconfont-cli "2.2.4" + tslib "^2.3.1" + tarojs@^2.1.1: version "2.1.1" resolved "https://registry.npmmirror.com/tarojs/-/tarojs-2.1.1.tgz#d56b50608b01de4efd6f245ecbf8cc3cd632173f" @@ -13079,7 +13163,7 @@ tslib@^1.10.0, tslib@^1.8.1: resolved "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.3, tslib@^2.3.0: +tslib@^2.0.3, tslib@^2.3.0, tslib@^2.3.1: version "2.4.1" resolved "https://registry.npmmirror.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e" integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== @@ -13930,7 +14014,7 @@ xml-parse-from-string@^1.0.0: resolved "https://registry.npmmirror.com/xml-parse-from-string/-/xml-parse-from-string-1.0.1.tgz#a9029e929d3dbcded169f3c6e28238d95a5d5a28" integrity sha512-ErcKwJTF54uRzzNMXq2X5sMIy88zJvfN2DmdoQvy7PAFJ+tPRU6ydWuOKNMyfmOjdyBQTFREi60s0Y0SyI0G0g== -xml2js@^0.4.19, xml2js@^0.4.5: +xml2js@^0.4.19, xml2js@^0.4.22, xml2js@^0.4.5: version "0.4.23" resolved "https://registry.npmmirror.com/xml2js/-/xml2js-0.4.23.tgz#a0c69516752421eb2ac758ee4d4ccf58843eac66" integrity sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==