<template>
  <div class="box">
    <div class="content">
      <p>题目题目</p>
      <!-- <input type="text" placeholder="请输入答案" /> -->
      <el-input
        type="textarea"
        placeholder="请输入答案"
        style="width: 600px; margin: 20px 0"
      ></el-input>

      <div class="btn">
        <p @click="save">保存</p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "WenhuaWebuiQuestDesc",

  data() {
    return {};
  },

  mounted() {},

  methods: {
    save() {
      this.$message({
        message: "提交成功！",
        type: "success",
      });

      setTimeout(() => {
        this.$router.push('/zhishi')
      }, 1000)
    },
  },
};
</script>

<style scoped lang="less">
.box::v-deep {
  height: 100%;
  //   background-color: #ccc;
  padding: 50px 60px 30px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;

  .content {
    width: 1000px;
    // height: 300px;
    background-color: #ffffff;
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;

    .btn {
      display: flex;
      flex-direction: column;
      // background-color: rgba(242, 242, 242, 1);
      justify-content: center;
      align-items: center;

      p {
        width: 150px;
        height: 35px;
        font-size: 14px;
        text-align: center;
        line-height: 35px;
        background-color: rgba(22, 155, 213, 1);
        color: #ffffff;
        border-radius: 5px;
        //   padding: 20px;
      }
    }

    input {
      width: 500px;
      height: 100px;
      margin: 20px 0 20px;
      padding-left: 15px;
      padding-top: 10px;
      box-sizing: border-box;
      border-radius: 5px;
      border: 1px solid #ffffff !important;
    }
  }
}
</style>