<a class="text-v-center pb-2" href="/user">
	<el-avatar :src="userInfo.headimg" :size="60"></el-avatar>
</a>
<div class="text-white text-center text-truncate py-2">{{userInfo.nickname}}</div>
<div class="text-secondary text-center">积分：<span class="text-primary pb-2">{{userInfo.score}}</span></div>
<div class="text-center pb-2">
	<el-link href="/user/score?active=score_task" type="info" :underline="false">做任务赚积分</el-link>
</div>
<div>
	<el-button type="info" disabled size="small" class="d-block w-100" v-if="userInfo.sign_in_status">已签到</el-button>
	<el-button type="primary" size="small" class="d-block w-100" v-else @click="signInToday">未签到</el-button>
</div>
<el-menu
  default-active="[left]-{:request()->action()}"
  class="border-0 company-el-menu"
  background-color="transparent"
  text-color="#c6c7c9"
  :unique-opened="true">
  <el-submenu index="module/user/company_left_home">
    <template slot="title">
      <i class="el-icon-office-building"></i>
      <span>企业中心</span>
    </template>
    <el-menu-item-group>
		{include file="module/user/company_left_home"/}
    </el-menu-item-group>
  </el-submenu>
  <el-submenu index="module/user/company_left_jobs">
    <template slot="title">
      <i class="el-icon-suitcase"></i>
      <span>职位管理</span>
    </template>
    <el-menu-item-group>
		{include file="module/user/company_left_jobs"/}
    </el-menu-item-group>
  </el-submenu>
  <el-submenu index="module/user/company_left_resume">
    <template slot="title">
      <i class="el-icon-document"></i>
      <span>简历管理</span>
    </template>
    <el-menu-item-group>
		{include file="module/user/company_left_resume"/}
    </el-menu-item-group>
  </el-submenu>
  <el-submenu index="module/user/company_left_vip">
    <template slot="title">
      <i class="el-icon-eleme"></i>
      <span>会员服务</span>
    </template>
    <el-menu-item-group>
		{include file="module/user/company_left_vip"/}
    </el-menu-item-group>
  </el-submenu>
  <el-submenu index="module/user/company_left_job_fair">
    <template slot="title">
      <i class="el-icon-user"></i>
      <span>招聘会</span>
    </template>
    <el-menu-item-group>
		{include file="module/user/company_left_job_fair"/}
    </el-menu-item-group>
  </el-submenu>
  <el-submenu index="module/user/company_left_account">
    <template slot="title">
      <i class="el-icon-setting"></i>
      <span>账号管理</span>
    </template>
    <el-menu-item-group>
		{include file="module/user/company_left_account"/}
    </el-menu-item-group>
  </el-submenu>
</el-menu>
<div class="py-3">
	<div class="py-3 flex small">
		<div class="flex-1 text-truncate text-white opacity-75">我的服务</div>
		<div class="text-primary">{{userInfo.company_vip.title}}</div>
	</div>
	<div class="text-white opacity-75 small text-center">VIP享受更多招聘特权</div>
	<div class="pt-4" v-if="userInfo.company_vip_level>0">
		<a href="/user/vip/server" class="el-button d-block w-100 el-button--primary el-button--small">
			<span class="text-white">续费VIP会员</span>
		</a>
	</div>
	<div class="pt-4" v-else>
		<a href="/user/vip/server" class="el-button d-block w-100 el-button--primary el-button--small">
			<span class="text-white">开通VIP会员</span>
		</a>
	</div>
</div>