import { View } from "@tarojs/components"; export default function DealerInfo(props: { module: any }) { const { module } = props; const { config } = module; return ( {config.showDealerName || config.showWatermelonGrade ? ( {config.showWatermelonGrade ? `${config.dealerName}-${config.watermelonGrade}` : config.dealerName} ) : ( )} {config.showDestination || config.showVehicleNumber ? ( {config.destination} {config.vehicleNumber} ) : ( )} ); }