var tmpl=`
<el-row style="margin-bottom:5px;">
  <div v-if="title!=null" style="border-bottom:1px solid #ddd;">
      <el-button type="text"  style="color:#aaa;border-radius:0px;border:none" icon="el-icon-info" @click="onclick">{{title}}</el-button>
      <slot name="desc"></slot>
  </div>
  <div style="margin-top:30px">
  <template v-if="isShow">
   <slot></slot>
  </template>
  <div>
</el-row>
`
module.exports=
`{
   template:'${tmpl}',
   props:['title','isShow'],
   data:function(){
     return {
        isShow:this.isShow,
     };
   },
   methods:{
     onclick(){
       this.isShow=!this.isShow;
     }
   },
   vname:"gsb-collapse"
}`
