/**
* Created by Xinhe on 2018/2/11.
*/
<template>
  <div>
    <SwitchCard :showDetail.sync="showDetail">
      <div slot="title"><el-tag>title</el-tag></div>
      <div slot="detail">
        this is detail
      </div>
      <div>
        <el-button @click="showDetail = true">show detail</el-button>
      </div>
    </SwitchCard>
  </div>
</template>

<script>
  import components from '../../components/index'

  export default {
    components,
    data() {
      return {
        showDetail:false
      }
    },
    methods: {

    }
  }
</script>

<style>
</style>
