index.vue 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <template>
  2. <div id="index">
  3. <el-row :gutter="20" type="flex" align="middle" justify="start" style="background:#fff;height: 3rem; padding: 0.3rem 1rem;">
  4. <el-col :span="17">{{ user.xm }}</el-col>
  5. <el-col :span="2">
  6. <!-- <span class="el-icon-edit-outline icons"></span> -->
  7. </el-col>
  8. </el-row>
  9. <el-row style="color:#909399;font-size:13px;background:#ccc;padding:0.3rem 0rem;">&nbsp;&nbsp;&nbsp;求职招聘</el-row>
  10. <nut-cell title="简历管理" :showIcon="true" @click.native="$router.push({ path: '/resume/mainExp' })" v-if="user.schid"> </nut-cell>
  11. <nut-cell title="投递管理" :showIcon="true" @click.native="$router.push({ path: '/delivery/index' })" v-if="user.schid"> </nut-cell>
  12. <nut-cell title="入场券管理" :showIcon="true" @click.native="$router.push({ path: '/delivery/ticket' })"> </nut-cell>
  13. <el-row style="color:#909399;font-size:13px;background:#ccc;padding:0.3rem 0rem">&nbsp;&nbsp;&nbsp;其他</el-row>
  14. <nut-cell title="消息设置" :showIcon="true" @click.native="$router.push({ path: '/setting' })"> </nut-cell>
  15. <!-- <nut-cell title="我要反馈" :showIcon="true"> </nut-cell> -->
  16. <!-- <el-row style="text-align:center;padding:1rem 0rem"> <el-button style="width:90%;" type="danger" round>取消学号认证</el-button></el-row> -->
  17. <el-row class="btn__row" v-if="user.schid">
  18. <el-col :span="23">
  19. <el-button type="danger">取消学号认证</el-button>
  20. </el-col>
  21. </el-row>
  22. <el-row class="btn__row">
  23. <el-col :span="23">
  24. <el-button type="info" @click="back">返回首页</el-button>
  25. </el-col>
  26. </el-row>
  27. </div>
  28. </template>
  29. <script>
  30. import { mapActions, mapState } from 'vuex';
  31. export default {
  32. name: 'index',
  33. props: {},
  34. components: {},
  35. data: () => ({
  36. img: require('@/assets/logo.png'),
  37. }),
  38. created() {},
  39. computed: {
  40. ...mapState({
  41. user: state => state.user.user,
  42. }),
  43. },
  44. methods: {
  45. back() {
  46. window.location.href = 'index.html';
  47. },
  48. },
  49. };
  50. </script>
  51. <style lang="less" scoped>
  52. .el-row {
  53. margin-bottom: 0px;
  54. &:last-child {
  55. margin-bottom: 0;
  56. }
  57. }
  58. .el-col {
  59. border-radius: 4px;
  60. }
  61. .bg-purple-dark {
  62. background: #fcfcfd;
  63. }
  64. .bg-purple {
  65. background: white;
  66. }
  67. .bg-purple-light {
  68. background: #e5e9f2;
  69. }
  70. .row-bg {
  71. padding: 10px 0;
  72. background-color: #f9fafc;
  73. }
  74. .btn__row {
  75. .el-col {
  76. margin-top: 1rem;
  77. }
  78. .el-button {
  79. width: 100%;
  80. border-radius: 30px;
  81. }
  82. }
  83. </style>