<template>
  <div>
    <el-button size="mini" @click="editBtn">编 辑</el-button>
    <el-drawer
      title="我是标题"
      :visible.sync="drawer"
      :with-header="false"
      direction="rtl"
      size="30%"
      append-to-body
      @close="closeDrawer">
      <div>
    <!-- <p class="normal-title normal-panel" style="line-height:32px;padding-left:16px;border-bottom:1px solid #eeeeee">新建合同</p> -->
      <div class="fixed__btn__panel">
        <el-button size="small" class="normal-btn-width">取 消</el-button>
        <el-button size="small" type="primary" class="normal-btn-width">确 定</el-button>
      </div>
    </div>
    </el-drawer>
  </div>
</template>

<script>
import {mapGetters} from 'vuex'

export default {
  props:['data'],
  data () {
    return {
      drawer:false
    }
  },
  methods:{
    closeDrawer () {
    },
    editBtn () {
      this.drawer = true
    },
  },
  created() {
  },
  mounted () {
  }
}

</script>
<style scoped>
/deep/.el-drawer {
  background: #F1F2F3 !important;
}
</style>