"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _classnames = _interopRequireDefault(require("classnames"));
require("../index.less");
var _dswsj = _interopRequireDefault(require("../../../imgs/dswsj.png"));
var _mys = _interopRequireDefault(require("../../../imgs/mys.png"));
var _zsp = _interopRequireDefault(require("../../../imgs/zsp.png"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var Other = function Other(props) {
  var detail = props.detail;
  var otherList = [{
    key: 'dswsj',
    name: '第三卫生间',
    img: _dswsj["default"],
    value: 'hasThird'
  }, {
    key: 'mys',
    name: /*#__PURE__*/_react["default"].createElement("span", null, "\u6BCD\u2003\u5A74\u2003\u5BA4"),
    img: _mys["default"],
    value: 'hasNursery'
  }, {
    key: 'zsp',
    name: /*#__PURE__*/_react["default"].createElement("span", null, "\u6307\u2003\u793A\u2003\u724C"),
    img: _zsp["default"],
    value: 'hasSign'
  }];
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "otherContent"
  }, otherList.map(function (item) {
    return /*#__PURE__*/_react["default"].createElement("span", {
      key: item.key,
      className: "otherItem"
    }, /*#__PURE__*/_react["default"].createElement("img", {
      src: item.img,
      alt: item.key
    }), "\u2003", item.name, "\u2003", /*#__PURE__*/_react["default"].createElement("span", {
      className: (0, _classnames["default"])('exist', {
        'existN': !detail[item.value]
      })
    }, detail[item.value] ? '有' : '无'));
  }));
};
var _default = exports["default"] = Other;
//# sourceMappingURL=Other.js.map
