<template>
    <!-- 图片单选 -->
    <div>
        <basic-edit hide-placeholder></basic-edit>
        <option-edit radio img hide-add describe link></option-edit>
        <type-edit
            title="图片排列方式"
            :list="typeList"
            v-model="formItem.option.type"
            v-if="formItem.option"
        ></type-edit>
        <verify-edit img></verify-edit>
    </div>
</template>

<script>
export default {
    name: 'FormRadioImg',
    components: {
        BasicEdit: () => import('@/common/formDesign/components/formEdit/components/BasicEdit'),
        OptionEdit: () => import('@/common/formDesign/components/formEdit/components/OptionEdit'),
        TypeEdit: () => import('@/common/formDesign/components/formEdit/components/TypeEdit'),
        VerifyEdit: () => import('@/common/formDesign/components/formEdit/components/VerifyEdit')
    },
    data () {
        return {
            formItem: this.$store.state.form.formItem,
            typeList: [
                { name: '横向', value: 'row' },
                { name: '纵向', value: 'column' }
            ]
        }
    }
}
</script>

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