<template>
    <div class="form">
        <div class="header">
            <p style="text-align: left;margin-top: 10px;margin-left: 20px;">新建/更新提醒消息通知</p><span><i
                    class="el-icon-close"></i></span>
        </div>
        <el-form :model="form" label-position="left" label-width="80px">
            <el-form-item style="width: 350px;" :model="form.channelconfig" label="通道配置：">
                <el-checkbox label="短信" v-model="checked"></el-checkbox>
                <el-checkbox label="邮件"></el-checkbox>
                <el-checkbox label="钉钉"></el-checkbox>
                <el-checkbox label="站内通知"></el-checkbox>
            </el-form-item>
            <el-form-item style="width: 350px;" :model="form.personconfig" label="人员配置：">
                <div style="display: flex; margin-right:30px;">
                    <el-checkbox label="指定用户：" v-model="checked2"></el-checkbox><span>
                        <el-select style="width: 80px;">
                            <el-option label="张三"></el-option>
                        </el-select>
                    </span>
                </div>
                <el-checkbox label="操作账户"></el-checkbox>
                <el-checkbox label="管理员"></el-checkbox>
            </el-form-item>
            <el-form-item style="width: 350px;" :model="form.title" label="标题：">
                <el-input  v-model="title" placeholder=""></el-input>
            </el-form-item>
            <el-form-item style="width: 500px;" :model="form.content" label="内容：">
                <el-input v-model="content" placeholder="请输入内容"></el-input>
            </el-form-item>
            <el-form-item style="width: 350px;" :model="form.template" label="模板：">
                    <el-select style="width: 600px;">
                        <el-option label="模板一"></el-option>
                    </el-select>
            </el-form-item>
            <el-form-item>
                <div style="background-color: darkgray; height: 100px;width: 400px; margin-top: -10px;"></div>
            </el-form-item>
        </el-form>
        <el-button>下一个</el-button>
        <el-button>移除</el-button>
        <el-button>确认</el-button>
    </div>
</template>

<script>
export default {
    data() {
        return {
            checked: true,
            checked2:true,
            title:'',
            content:'',
            form: {

            },
        }
    }

}
</script>
<style lang="less" scoped>
.form {
    position: absolute;
    left: 500px;
    width: 586px;
    top: 200px;
    height: 700px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.15);
}

.el-form {
    margin: 40px 0 0 0;

    .el-form-item {
        padding-top: 20px;
        margin-inline: 20px;
        margin-bottom: 0;
    }

    /deep/.el-form-item__label {
        padding: 0;
    }

    /deep/.el-form-item__content {
        display: flex;
    }
}

.header {
    position: absolute;
    top: 0;
    width: 586px;
    height: 40px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.15);

    .el-icon-close {
        position: absolute;
        top: 10px;
        right: 10px;
    }
}


.el-button {
    width: 80px;
    height: 30px;
    text-align: center;
    margin: 20px;
    padding: 5px;
}
</style>