<template>
    <el-form ref="form" :model="form" label-width="80px">
        <el-form-item label="活动主题">
            <el-input v-model="form.title"></el-input>
        </el-form-item>

        <el-form-item label="活动时间">
            <el-col :span="11">
                <el-date-picker format="yyyy-MM-dd" value-format="yyyy-MM-dd" type="date" placeholder="选择日期" v-model="form.launchTime" style="width: 100%;"></el-date-picker>
            </el-col>
            <el-col class="line" :span="2">至</el-col>
            <el-col :span="11">
                <el-date-picker format="yyyy-MM-dd" value-format="yyyy-MM-dd"  placeholder="选择时间" v-model="form.deadline" style="width: 100%;"></el-date-picker>
            </el-col>
        </el-form-item>

        <el-form-item label="活动详情">
            <el-input type="textarea" v-model="form.content"></el-input>
        </el-form-item>
    </el-form>
</template>

<script>
    export default {
        name: "activityForm",
        data(){
            return {
                form:{
                    id:"",
                    title:"",launchTime:'',deadline:"",content:'',

                }
            }
        }
    }
</script>

<style scoped>

</style>
