home.vue 514 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <view>
  3. <!-- 公共组件-每个页面必须引入 -->
  4. <public-module></public-module>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. data() {
  10. return {
  11. };
  12. },
  13. onLoad(e) {
  14. },
  15. onShow() {
  16. },
  17. //方法
  18. methods: {
  19. onPageJump(url) {
  20. uni.navigateTo({
  21. url: url
  22. });
  23. }
  24. },
  25. //页面下来刷新
  26. onPullDownRefresh() {},
  27. //页面上拉触底
  28. onReachBottom() {},
  29. //用户点击分享
  30. onShareAppMessage(e) {
  31. return this.wxShare();
  32. }
  33. };
  34. </script>
  35. <style scoped>
  36. </style>