import * as React from "react"; import Util from "../../../util/utils"; import CouponWrapper from '../commen/wrapper' import CouponItem from '../commen/item' import CouponFun from "../commen/util"; import CouponCon from "../commen/couponCon"; /* * 左右锯齿状优惠券 */ class CouponTwo extends React.Component { constructor(props) { super(props); this.state = { list: [] } } componentDidMount(): void { } render(): React.ReactElement | string | number | {} | React.ReactNodeArray | React.ReactPortal | boolean | null | undefined { let list = this.props.list; if (list && list.length > 0) { let len = list.length; return (
{ list.map((item, index) => ( )) }
); } else { return null; } } } export default CouponTwo;