<template>
    <div>
        <form-cell :item="item"></form-cell>
        <form-cell :item="item" custom :title="item.title2" :placeholder="item.placeholder2"></form-cell>
        <div class="cell" v-if="item.date && item.date.time">
            <div class="label">
                <span class="title">{{ item.date.title }}</span>
            </div>
            <div class="form">
                <el-input :placeholder="'按' + item.date.unit" readonly></el-input>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    components: {
        FormCell: () => import('./FormCell')
    },
    props: {
        item: { type: Object, default: () => ({}) }
    }
}
</script>

<style lang="less" scoped>
</style>
