1.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <template>
  2. <div class="calendarMainBox">
  3. <div class="calendarTitle">
  4. <span>三农调查</span>
  5. </div>
  6. <div class="calendarBg">
  7. <span>问卷调查</span>
  8. </div>
  9. <div class="calendarItem">
  10. <div class="calendarProblemItemTitle">问卷调查内容问卷调查内容问卷调查内容问卷调查..</div>
  11. <el-input type="textarea" v-model="usertext" placeholder="请输入内容" rows="4"></el-input>
  12. <el-button type="primary" class="calendarBtn" size="small">提交</el-button>
  13. </div>
  14. </div>
  15. </template>
  16. <script>
  17. export default {
  18. props: {
  19. },
  20. data() {
  21. return {
  22. usertext:"",
  23. };
  24. },
  25. methods: {
  26. },
  27. mounted() {
  28. },
  29. };
  30. </script>
  31. <style scoped lang="less">
  32. .calendarMainBox {
  33. overflow: hidden;
  34. position: relative;
  35. .calendarTitle {
  36. height: 40px;
  37. line-height: 40px;
  38. text-align: center;
  39. span {
  40. padding-left: 20px;
  41. padding-right: 20px;
  42. border-left: 5px solid #E8EDF6;
  43. border-right: 5px solid #E8EDF6;
  44. }
  45. }
  46. .calendarBg {
  47. width: 100%;
  48. height: 110px;
  49. //background: url('../../../../assets/template/component/calendar.png') no-repeat center center;
  50. background-size: 100% 100%;
  51. box-sizing: border-box;
  52. padding-top: 35px;
  53. padding-left: 36px;
  54. span {
  55. font-size: 32px;
  56. color: #fff;
  57. font-weight: bold;
  58. }
  59. }
  60. .calendarItem {
  61. font-size: 18px;
  62. background: #EAF3FF;
  63. padding:20px;
  64. position: relative;
  65. .calendarProblemItemTitle {
  66. margin-bottom: 20px;
  67. height: 48px;
  68. }
  69. .calendarBtn {
  70. position: absolute;
  71. bottom: 30px;
  72. right: 30px;
  73. }
  74. }
  75. }
  76. </style>