home.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template>
  2. <view class="container">
  3. <button type="primary" @click="go">校友组织</button>
  4. <button type="primary" @click="go2">返校申请</button>
  5. <button type="primary" @click="go3">活动</button>
  6. <button type="primary" @click="go4">母校代言</button>
  7. <button type="primary" @click="go5">校友相册</button>
  8. <button type="primary" @click="go6">新闻聚焦</button>
  9. <button type="primary" @click="go7">校友通讯录</button>
  10. <button type="primary" @click="go8">审批管理</button>
  11. </view>
  12. </template>
  13. <script setup>
  14. const go = () => {
  15. uni.navigateTo({
  16. url: '/pages/organization/organization'
  17. })
  18. }
  19. const go2 = () => {
  20. uni.navigateTo({
  21. url: '/pages/back_school/back_school'
  22. })
  23. }
  24. const go3 = () => {
  25. uni.navigateTo({
  26. url: '/pages/activity/activity'
  27. })
  28. }
  29. const go4 = () => {
  30. uni.navigateTo({
  31. url: '/pages/school_represent/school_represent'
  32. })
  33. }
  34. const go5 = () => {
  35. uni.navigateTo({
  36. url: '/pages/school_photo/school_photo'
  37. })
  38. }
  39. const go6 = () => {
  40. uni.navigateTo({
  41. url: '/pages/news/news'
  42. })
  43. }
  44. const go7 = () => {
  45. uni.navigateTo({
  46. url: '/pages/address_book/address_book'
  47. })
  48. }
  49. const go8 = () => {
  50. uni.navigateTo({
  51. url: '/pages/check/check'
  52. })
  53. }
  54. const go9 = () => {
  55. uni.navigateTo({
  56. url: '/pages/404/404'
  57. })
  58. }
  59. </script>
  60. <style lang="scss" scoped>
  61. .container {
  62. padding: 20rpx;
  63. button {
  64. margin-bottom: 20rpx;
  65. }
  66. }
  67. </style>