import React, { Component } from 'react'; import './index.less'; import { Icon } from 'antd-mobile'; import Assets from '@src/components/Assets'; import { getMap, formatDate } from '@src/services/Tools'; import { CrowdList, ServiceParamMap } from '../../../Constant'; import Tag from '../Tag'; import Money from '../Money'; import Button from '../Button'; const CrowdMap = getMap(CrowdList, 'value', 'label'); const ServiceParamRelation = getMap(Object.keys(ServiceParamMap).map(key => { const list = (ServiceParamMap[key] || []).map((row, index) => { row.index = index; return row; }); return { map: getMap(list, 'value'), key }; }), 'key', 'map'); export class Block extends Component { render() { const { className = '', children, onClick } = this.props; return