var tmpl=`
<el-row style="margin-bottom:5px;">
  <div v-if="title" style="border-bottom:0px solid #ddd;">
      <el-button type="text"  style="color:#666;border-radius:0px;border:none" icon="el-icon-sort" @click="onclick">{{title}}</el-button>
      <slot name="desc"></slot>
  </div>
  <div style="margin-top:10px">
  <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"
}`
