index.vue 981 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <div class="seek">
  3. <publish-apply></publish-apply>
  4. <apply-info></apply-info>
  5. <!--<apply-footer></apply-footer>-->
  6. <div class="footer"><img class="img" src="/images/applyPurchase/apply-footer.png"></div>
  7. </div>
  8. </template>
  9. <script>
  10. import { ApplyInfo, PublishApply, ApplyFooter } from '~components/applyPurchase'
  11. export default {
  12. layout: 'main',
  13. components: {
  14. ApplyInfo,
  15. PublishApply,
  16. ApplyFooter
  17. },
  18. fetch ({store}) {
  19. return Promise.all([
  20. store.dispatch('applyPurchase/loadPurchaseManList', {pageNumber: 1, pageSize: 10, enUU: store.state.option.user.data.enterprise ? store.state.option.user.data.enterprise.uu : null}),
  21. store.dispatch('applyPurchase/loadPurchaseApplyRank'),
  22. store.dispatch('applyPurchase/loadGoodPurchaseManList')
  23. ])
  24. }
  25. }
  26. </script>
  27. <style>
  28. .seek {
  29. position: relative;
  30. }
  31. .footer {
  32. text-align: center;
  33. background: #e0f2ff;
  34. }
  35. </style>