dict.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // 菜单
  2. export const system = [
  3. { title: '首页', normal: '/image/tabs/home.png', active: '/image/tabs/home_1.png', route: 'pages/home/index', type: '0' },
  4. { title: '资讯', normal: '/image/tabs/news.png', active: '/image/tabs/news_1.png', route: 'pages/news/index', type: '0' },
  5. { title: '话题', normal: '/image/tabs/topic.png', active: '/image/tabs/topic_1.png', route: 'pages/topic/index', type: '0' },
  6. { title: '我的', normal: '/image/tabs/my.png', active: '/image/tabs/my_1.png', route: 'pages/my/index', type: '0' },
  7. ]
  8. // 比赛状态
  9. export const match_status = [
  10. { label: '', value: '全部' },
  11. { label: '0', value: '报名中' },
  12. { label: '1', value: '报名截止' },
  13. { label: '2', value: '报名结束' },
  14. { label: '3', value: '发布秩序册' },
  15. { label: '4', value: '比赛中' },
  16. { label: '5', value: '比赛结束' },
  17. ]
  18. // 赛事类别
  19. export const matchType = [
  20. { label: '团体赛', value: '团体赛' },
  21. { label: '单项赛', value: '单项赛' },
  22. ]
  23. // 我的页面,功能按钮
  24. // -1:管理员,0:普通用户,1:裁判用户
  25. export const myBtn = [
  26. { title: '我的赛事', route: 'usermymatch', type: '0' },
  27. { title: '我的报名', route: 'usermysign', type: '0' },
  28. { title: '组队信息', route: 'usermyteam', type: '0' },
  29. { title: '我的订单', route: 'usermyorder', type: '0' },
  30. { title: '用户管理', route: 'user', type: '-1' },
  31. { title: '赛事管理', route: 'match', type: '-1' },
  32. { title: '订单管理', route: 'order', type: '-1' },
  33. { title: '账号设置', route: 'setting', type: '-1|0' }
  34. ]
  35. export const gender = [
  36. { label: '男', value: '男' },
  37. { label: '女', value: '女' },
  38. { label: '未知', value: '未知' },
  39. ]
  40. export const match_project = [
  41. { label: '单打', value: '单打' },
  42. { label: '双打', value: '双打' },
  43. ]
  44. export const examine_status = [
  45. { label: '待审核', value: '0' },
  46. { label: '审核通过', value: '1' },
  47. { label: '审核拒绝', value: '-1' }
  48. ]