getters.js 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. const getters = {
  2. token: state => state.app.token,
  3. stocksColor: state => state.app.stocksColor,
  4. headHeight: state => state.app.headHeight,
  5. statusBarHeight: state => state.app.statusBarHeight,
  6. navBarHeight: state => state.app.navBarHeight,
  7. windowInfo: state => state.app.windowInfo,
  8. PageContentHeight: state => state.app.PageContentHeight,
  9. maxPageHeight: state => state.app.maxPageHeight,
  10. tabBarHeight: state => state.app.tabBarHeight,
  11. // 资产
  12. contractAccount: state => state.possession.contractAccount,
  13. bibiAccount: state => state.possession.bibiAccount,
  14. legalAccount: state => state.possession.legalAccount,
  15. GiftMoneyAccount: state => state.possession.GiftMoneyAccount,
  16. // websocket
  17. bids: state => state.websocket.bids,
  18. asks: state => state.websocket.asks,
  19. daymarket: state => state.websocket.daymarket,
  20. usdtList: state => state.websocket.usdtList,
  21. optional: state => state.websocket.optional,
  22. marketAll: state => state.websocket.marketAll,
  23. contract_optional: state => state.websocket.contract_optional,
  24. contract_marketAll: state => state.websocket.contract_marketAll,
  25. currencyVal: state => state.websocket.currencyVal,
  26. }
  27. export default getters