/*
 * @Author: Gui
 * @Date: 2023-10-10 11:13:51
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-10-13 14:50:11
 * @Description: tel files
 * @filePath:
 */
export const MerchantInfo = props => (
  <div>
    {props.MerchantCode && props.MerchantCode !== "无" && (
      <el-tag
        size={props.size}
        effect="Light"
        type="success"
      >{`${props.MerchantCode}`}</el-tag>
    )}
    {props.MerchantName && props.MerchantName !== "无" && (
      <el-text size={props.size} class="mr-1">
        <el-icon class="el-input__icon">
          <Avatar />
        </el-icon>
        {props.MerchantName}
      </el-text>
    )}
    {props.Mobile && props.Mobile !== "无" && (
      <el-text size={props.size}>
        <el-icon class="el-input__icon">
          <Iphone />
        </el-icon>
        {props.Mobile}
      </el-text>
    )}
    {!(props.MerchantName && props.MerchantName !== "无") &&
      !(props.MerchantCode && props.MerchantCode !== "无") &&
      "暂无信息"}
  </div>
);
