<template>
  <div class="calendarMainBox">
    <editBtn :id="id" :sort="sort" :type="6"/>
    <div class="calendarTitle">
      <span>三农调查</span>
    </div>
    <div class="calendarBg">
      <span>问卷调查</span>
    </div>
    <div class="calendarItem">
      <div class="calendarProblemItemTitle">问卷调查内容问卷调查内容问卷调查内容问卷调查..</div>
      <el-input type="textarea" v-model="usertext" placeholder="请输入内容" rows="4"></el-input>
      <el-button type="primary" class="calendarBtn" size="small">提交</el-button>
    </div>
  </div>
</template>

<script>
import editBtn from '../../../public/editBtn.vue'
export default {
  components: { 
    editBtn
  },
  props: {
    id:{
      type:Number,
      default:0
    },
    sort:{
      type:Number,
      default:0
    }
  },
  data() {
    return {
      usertext:"",
    };
  },
  methods: {
    
  },
  mounted() {
    
  },
};
</script>

<style scoped lang="less">
  .calendarMainBox {
    overflow: hidden;
    position: relative;
    .calendarTitle {
      height: 40px;
      line-height: 40px;
      text-align: center;
      span {
        padding-left: 20px;
        padding-right: 20px;
        border-left: 5px solid #E8EDF6;
        border-right: 5px solid #E8EDF6;
      }
    }
    .calendarBg {
      width: 100%;
      height: 110px;
      background: url('../../../../../assets/template/component/calendar.png') no-repeat center center;
      background-size: 100% 100%;
      box-sizing: border-box;
      padding-top: 35px;
      padding-left: 36px;
      span {
        font-size: 32px;
        color: #fff;
        font-weight: bold;
      }
    }
    .calendarItem {
      font-size: 18px;
      background: #EAF3FF;
      padding:20px;
      position: relative;
      .calendarProblemItemTitle {
        margin-bottom: 20px;
        height: 48px;
      }
      .calendarBtn {
        position: absolute;
        bottom: 30px;
        right: 30px;
      }
    }
  }
</style>
