getters.js 1001 B

12345678910111213141516171819202122232425262728
  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. windowInfo: state => state.app.windowInfo,
  7. PageContentHeight: state => state.app.PageContentHeight,
  8. maxPageHeight: state => state.app.maxPageHeight,
  9. tabBarHeight: state => state.app.tabBarHeight,
  10. // 资产
  11. contractAccount: state => state.possession.contractAccount,
  12. bibiAccount: state => state.possession.bibiAccount,
  13. legalAccount: state => state.possession.legalAccount,
  14. GiftMoneyAccount: state => state.possession.GiftMoneyAccount,
  15. // websocket
  16. bids: state => state.websocket.bids,
  17. asks: state => state.websocket.asks,
  18. daymarket: state => state.websocket.daymarket,
  19. usdtList: state => state.websocket.usdtList,
  20. optional: state => state.websocket.optional,
  21. marketAll: state => state.websocket.marketAll,
  22. currencyVal: state => state.websocket.currencyVal,
  23. }
  24. export default getters