import SelectCity from '@/components/SelectButton/CitySelect'

export default () => [
  {
    name: 'code',
    label: '楼盘编号',
    placeholder: '请输入楼盘编号',
  },
  {
    name: 'cityId',
    label: '城市',
    placeholder: '请选择城市',
    render: () => <SelectCity style={{width: 160}} />
  },
  {
    name: 'name',
    label: '楼盘名称',
    placeholder: '请输入楼盘名称',
  },
  {
    name: 'buildingStatus',
    label: '楼盘状态',
    placeholder: '请选择楼盘状态',
    type: 'select',
    options: [
      {label: '已发布', value: 1},
      {label: '未发布', value: 2}
    ]
  },
  {
    name: 'marketStatus',
    label: '销售状态',
    placeholder: '请选择销售状态',
    type: 'select',
    options: [
      {label: '未开盘', value: '未开盘'},
      {label: '在售', value: '在售'},
      {label: '售罄', value: '售罄'},
      {label: '在租', value: '在租'},
    ]
  },
  {
    name: 'isMain',
    label: '首页推荐',
    placeholder: '请选择首页推荐',
    type: 'select',
    options: [
      {label: '推荐', value: 1},
      {label: '未推荐', value: 2},
    ]
  },
]