home.vue 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. <button type="primary" @click="go9">心链计划</button>
  12. </view>
  13. </template>
  14. <script setup>
  15. const go = () => {
  16. uni.navigateTo({
  17. url: '/pages/organization/organization'
  18. })
  19. }
  20. const go2 = () => {
  21. uni.navigateTo({
  22. url: '/pages/back_school/back_school'
  23. })
  24. }
  25. const go3 = () => {
  26. uni.navigateTo({
  27. url: '/pages/activity/activity'
  28. })
  29. }
  30. const go4 = () => {
  31. uni.navigateTo({
  32. url: '/pages/school_represent/school_represent'
  33. })
  34. }
  35. const go5 = () => {
  36. uni.navigateTo({
  37. url: '/pages/school_photo/school_photo'
  38. })
  39. }
  40. const go6 = () => {
  41. uni.navigateTo({
  42. url: '/pages/news/news'
  43. })
  44. }
  45. const go7 = () => {
  46. uni.navigateTo({
  47. url: '/pages/address_book/address_book'
  48. })
  49. }
  50. const go8 = () => {
  51. uni.navigateTo({
  52. url: '/pages/check/check'
  53. })
  54. }
  55. const go9 = () => {
  56. uni.navigateTo({
  57. url: '/pages/plan/plan'
  58. })
  59. }
  60. </script>
  61. <style lang="scss" scoped>
  62. .container {
  63. padding: 20rpx;
  64. button {
  65. margin-bottom: 20rpx;
  66. }
  67. }
  68. </style>