<template>
  <div class="tabs-body">
		<div style="margin:50px;" v-if="false">
      <el-form :model="ruleForm2" status-icon :rules="rules2" ref="ruleForm2"  class="demo-ruleForm">
        <el-form-item prop="pass">
          <el-input type="password" placeholder="登录名" v-model="ruleForm2.pass" auto-complete="off"></el-input>
        </el-form-item>
        <el-form-item  prop="checkPass">
          <el-input type="password" placeholder="密码" v-model="ruleForm2.checkPass" auto-complete="off"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" @click="submitForm('ruleForm2')">登录</el-button>
        </el-form-item>
      </el-form>  
    </div>
    <baozheng v-if="false"/>   
    <chenzheng v-if="true"/>
  </div>  
</template>

<script>
import baozheng from './baozheng'
import chenzheng from './chenzheng'
export default{
    data(){
      return {
        activeName:'second',
        ruleForm2:{}
      }    
    },
    components: {
        baozheng,
        chenzheng,
    },
    methods: {
      handleClick(){
        console.log(43434)
      }
    }
}
</script>

<style lang="stylus" scoped>
.tabs-body
  height:700px;
  width:100%;
  .tool-body
    width:100%;
    height:729px;
    overflow-y: auto;
</style>