footprint.vue 676 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <template>
  2. <view>
  3. <view>
  4. <!-- 列表 -->
  5. <footprint-list></footprint-list>
  6. </view>
  7. </view>
  8. </template>
  9. <script>
  10. import {
  11. mapActions,
  12. mapGetters
  13. } from 'vuex'
  14. export default {
  15. data() {
  16. return {
  17. statusBarHeight: 0,
  18. };
  19. },
  20. created() {
  21. uni.getSystemInfo({
  22. success: (res) => {
  23. this.statusBarHeight = res.statusBarHeight;
  24. }
  25. });
  26. },
  27. onLoad() {
  28. },
  29. onShow() {
  30. this.getUser();
  31. },
  32. methods: {
  33. ...mapActions(['getUser']),
  34. },
  35. computed: {
  36. ...mapGetters(['appConfig']),
  37. }
  38. };
  39. </script>
  40. <style lang="scss">
  41. .header {
  42. padding: 30rpx;
  43. .cate-title {
  44. font-size: 32rpx;
  45. font-weight: 400;
  46. }
  47. }
  48. </style>