"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = JBXX;
var _react = _interopRequireDefault(require("react"));
var _antd = require("antd");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
function JBXX(_ref) {
  var baseInfo = _ref.baseInfo,
    qrCode = _ref.qrCode;
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
    className: "jzlj-card-title"
  }, /*#__PURE__*/_react["default"].createElement("span", {
    className: "jzlj-card-title-text"
  }, "\u57FA\u672C\u4FE1\u606F")), /*#__PURE__*/_react["default"].createElement("div", {
    className: "jzlj-card-content",
    style: {
      lineHeight: '28px'
    }
  }, baseInfo.map(function (item) {
    var _a;
    return /*#__PURE__*/_react["default"].createElement("div", {
      key: item.key
    }, /*#__PURE__*/_react["default"].createElement("span", {
      className: "label"
    }, item.label, "\uFF1A"), /*#__PURE__*/_react["default"].createElement("span", {
      className: "value"
    }, (_a = item.value) !== null && _a !== void 0 ? _a : '--'));
  }), qrCode && (/*#__PURE__*/_react["default"].createElement("div", {
    className: "qrCode"
  }, /*#__PURE__*/_react["default"].createElement(_antd.Image, {
    src: qrCode,
    style: {
      width: '111px',
      height: '111px'
    },
    alt: "qrCode"
  })))));
}
//# sourceMappingURL=JBXX.js.map
