import React from 'react'
class IconHtml extends React.Component {
constructor(props) {
super(props);
}
componentDidMount(): void {
}
goDetail(href) {
if (this.props.env == 'isMp') {
this.props.goMpPath(href);
}else{
window.location.href = href;
}
}
render() {
let item = this.props.data;
let CLASS = this.props.classBefore;
return (
{
item.active == true ?
{
item.activeType == 1 ?
:
item.activeType == 2 ?
: ""
}
:
{
item.type == 1 ?
:
item.type == 2 ?
: ""
}
}
);
}
}
export default IconHtml;