<div style="position:fixed;left:0px;top:0px;height:100%;width:100%">
    <template v-if="showMain">
        <el-tabs type="border-card" stretch="true" tab-position="bottom" style="position:absolute;bottom:0px;right:0px;width:100%;margin:auto;text-align=center;">
          <el-tab-pane label="我要" style="height:100%;">
            <div style="text-align:center;">
              <el-button type="primary" @click="toTmSearch">查询商标</el-button>
            </div>
            <div style="text-align:center;">
              <el-button type="primary" @click="function(){showMain=false;}">发布需求</el-button>
            </div>
          </el-tab-pane>
          <el-tab-pane label="我的" style="height:100%;">
            <el-row>
               <el-col :span="24" style="margin-top:20%">
                    <el-button type="primary" @click="toMyTmList">商标档案</el-button>
               </el-col>
               <el-col :span="24" style="margin-top:30%">
                 <el-button type="primary" @click="toMyOrderList">订单列表</el-button>
               </el-col>
               <el-col :span="24" style="margin-bottom:35%;margin-top:30%">
                     <el-button type="primary" @click="toMyChanceList">需求列表</el-button>
               </el-col>
            </el-row>
          </el-tab-pane>
        </el-tabs>
      </template>
      <div v-else>
        <h3 style="float:left" slot="header">发布需求</h3>
        <div style="float:right" slot="header"><el-button @click="function(){showMain=true;}">返回</el-button></div>
        <div slot="header" style="clear:both"></div>
        <el-card>
                <span @click="publishChance(\'tmReg\')"><b>我要注册商标</b></span>
        </el-card>
        <br/>
        <el-card>
                <span><b>我要股权转让</b></span>
        </el-card>
      </div>
</div>
