<!--
 * @Author: micky 1254597151@qq.com
 * @Date: 2023-08-14 15:56:31
 * @LastEditors: micky 1254597151@qq.com
 * @LastEditTime: 2023-10-11 15:36:55
 * @FilePath: \housekeeping-admin\src\views\decorate\component\widgets\customer-service\attr.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
    <div>
        <el-form label-width="150px">
            <el-form-item label="微信客服标题">
                <el-input class="w-[400px]" v-model="content.title" />
            </el-form-item>
            <el-form-item label="微信客服服务时间">
                <el-input class="w-[400px]" v-model="content.time" />
            </el-form-item>
            <el-form-item label="在线客服服务时间">
                <el-input class="w-[400px]" v-model="content.onlineTime" />
            </el-form-item>
            <el-form-item label="电话客服服务时间">
                <el-input class="w-[400px]" v-model="content.phoneTime" />
            </el-form-item>
            <el-form-item label="联系电话">
                <el-input class="w-[400px]" v-model="content.mobile" />
            </el-form-item>
            <el-form-item label="客服二维码">
                <div>
                    <material-picker :excludeDomain="true" v-model="content.qrcode" />
                    <div class="form-tips">建议图片尺寸：200*200像素；图片格式：jpg、png、jpeg</div>
                </div>
            </el-form-item>
        </el-form>
    </div>
</template>
<script lang="ts" setup>
import type { PropType } from 'vue'
import type options from './options'
type OptionsType = ReturnType<typeof options>
defineProps({
    content: {
        type: Object as PropType<OptionsType['content']>,
        default: () => ({})
    },
    styles: {
        type: Object as PropType<OptionsType['styles']>,
        default: () => ({})
    }
})
</script>

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