<!--
 * @Author: micky 1254597151@qq.com
 * @Date: 2023-09-10 16:22:06
 * @LastEditors: micky 1254597151@qq.com
 * @LastEditTime: 2023-09-22 14:56:06
 * @FilePath: \housekeeping-admin\src\views\decorate\component\widgets\category\content.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
    <div>
        <el-form label-width="110px">
            <el-form-item label="背景图片设置">
                <div class="flex-1">
                    <bgImage v-model="content.data" />
                </div>
            </el-form-item>
        </el-form>
    </div>
</template>
<script lang="ts" setup>
import type { PropType } from 'vue'
import type options from '../nav/options'
import bgImage from './bg-image.vue'

type OptionsType = ReturnType<typeof options>
const props = defineProps({
    content: {
        type: Object as PropType<OptionsType['content']>,
        default: () => ({})
    },
    styles: {
        type: Object as PropType<OptionsType['styles']>,
        default: () => ({})
    }
})
</script>

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