<template>
  <div>
    <div class="back-home">
      <el-button size="small" @click="$router.push({ path: '/' })">返回首页</el-button>
    </div>
    <el-menu text-color="#000000" :router="true">
      <el-menu-item index="1" :route="{ path: '/my/home' }">
        <i class="el-icon-document"></i>
        <span slot="title">我的账号</span>
      </el-menu-item>
      <el-menu-item index="2" :route="{ path: '/my/apps' }">
        <i class="el-icon-goods"></i>
        <span slot="title">我的应用</span>
      </el-menu-item>
      <el-menu-item index="3" :route="{ path: '/my/ownapps' }">
        <i class="el-icon-sold-out"></i>
        <span slot="title">已购买应用</span>
      </el-menu-item>
      <el-menu-item index="4" :route="{ path: '/app/submit' }">
        <i class="el-icon-upload"></i>
        <span slot="title">提交应用</span>
      </el-menu-item>
    </el-menu>
  </div>
</template>

<style scoped>
.back-home {
  padding: 15px 20px;
}
.back-home .el-button {
  width: 120px;
  background: #0462EF;
  color: #FFFFFF;
  font-size: 16px;
}
</style>

