index.vue 797 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <template>
  2. <view class="container">
  3. <JHeader title="小账本" width="50" height="50" style="padding: 24upx 0 0;"></JHeader>
  4. <view>小账本页</view>
  5. </view>
  6. </template>
  7. <script>
  8. import { getStatisticsAmountRelationshipApi, getStatisticsRecordRelationshipApi } from '../../../api/anotherTFInterface'
  9. export default {
  10. name: 'SmallLedger',
  11. components: {
  12. },
  13. onLoad() {
  14. uni.showLoading()
  15. getStatisticsAmountRelationshipApi()
  16. .then((res) => {
  17. uni.hideLoading()
  18. })
  19. .catch((e) => {
  20. uni.hideLoading()
  21. })
  22. getStatisticsRecordRelationshipApi()
  23. .then((res) => {
  24. uni.hideLoading()
  25. })
  26. .catch((e) => {
  27. uni.hideLoading()
  28. })
  29. },
  30. computed: {
  31. }
  32. }
  33. </script>
  34. <style lang="less" scoped>
  35. .container {
  36. min-height: 100vh;
  37. box-sizing: border-box;
  38. }
  39. </style>