<template>
  <div class="doc_manage_container">
    <div class="apass_breadcrumb">
      <el-breadcrumb separator="/">
        <el-breadcrumb-item to="/technical_support">
          技术支持
        </el-breadcrumb-item>
        <el-breadcrumb-item to="/technical_support/doc_manage">
          开发文档
        </el-breadcrumb-item>
        <el-breadcrumb-item>
          文档编辑
        </el-breadcrumb-item>
      </el-breadcrumb>
    </div>

    <div class="editpage">
      <wang-e v-model="editstr"></wang-e>
      <div class="apaas_button" style="overflow:hidden;padding-top:30px;border-top:1px solid #e3e5ef;box-sizing:border-box;">
        <el-button style="float:right;margin:0 30px;" type="primary" >保存</el-button>
        <el-button style="float:right" >取消</el-button>
      </div>
    </div>
  </div>
</template>

<script>
import wangE from '@/components/wangE'
export default {
  data() {
    return {
      editstr:'',
    };
  },
  components:{
    wangE
  },
  computed: {
    
  },
  created() {
    if (this.$route.params.id) {
      // 请求详情
    } else {
      // error
    }
  },
  methods: {},
};
</script>

<style scoped>
.doc_manage_container {
  height: 100%;
  padding: 0 20px 30px;
  box-sizing: border-box;
}
.main_container {
  height: calc(100% - 53px);
  background-color: #fff;
  border-radius: 10px;
}
.editpage{
  background-color: #fff;
  height: calc(100% - 45px);
  margin-bottom: 20px;
  box-shadow: 0px 3px 6px 0px 
		#f4f7fc;
	border-radius: 12px;
}
.editpage .wangeditor_class{
  height: calc(100% - 100px);
  padding: 0 20px;
  box-sizing: border-box;
}
</style>
