国外MOSE官网
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.3 KiB

4 days ago
  1. <template>
  2. <view class="volunteer-day-container">
  3. <home-page-nav></home-page-nav>
  4. <!-- 顶部通知栏 -->
  5. <volunteer-header></volunteer-header>
  6. <!-- 志愿者排行榜 -->
  7. <volunteer-ranking></volunteer-ranking>
  8. <!-- 功能导航 -->
  9. <volunteer-features></volunteer-features>
  10. <!-- 推荐活动 -->
  11. <recommended-activities></recommended-activities>
  12. </view>
  13. </template>
  14. <script>
  15. import VolunteerHeader from '@/pages/components/index/VolunteerHeader.vue';
  16. import VolunteerRanking from '@/pages/components/index/VolunteerRanking.vue';
  17. import VolunteerFeatures from '@/pages/components/index/VolunteerFeatures.vue';
  18. import RecommendedActivities from '@/pages/components/index/RecommendedActivities.vue';
  19. import HomePageNav from '@/pages/components/HomePageNav.vue';
  20. export default {
  21. components: {
  22. VolunteerHeader,
  23. VolunteerRanking,
  24. VolunteerFeatures,
  25. RecommendedActivities,
  26. HomePageNav
  27. },
  28. data() {
  29. return {}
  30. },
  31. onLoad() {
  32. // 页面加载时获取数据
  33. this.getPageData();
  34. },
  35. methods: {
  36. getPageData() {
  37. // 获取页面数据
  38. // 这里可以添加API请求
  39. }
  40. }
  41. }
  42. </script>
  43. <style lang="scss" scoped>
  44. .volunteer-day-container {
  45. min-height: 100vh;
  46. background-color: #f5f5f5;
  47. padding-bottom: 30rpx;
  48. }
  49. </style>