index.vue 499 B

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <view >
  3. 222
  4. <Tabbar></Tabbar>
  5. </view>
  6. </template>
  7. <script>
  8. import Tabbar from "../../components/tabbar.vue"
  9. export default {
  10. components:{
  11. Tabbar
  12. },
  13. data() {
  14. return {
  15. defaultTheme:[],
  16. infoHeight:0
  17. };
  18. },
  19. onLoad() {
  20. // uni.hideTabBar()
  21. },
  22. created() {
  23. this.defaultTheme = [this.$tm.vx.state().tmVuetify.color||'primary']
  24. this.infoHeight = uni.getSystemInfoSync().windowHeight
  25. },
  26. methods: {
  27. },
  28. }
  29. </script>
  30. <style lang="scss">
  31. </style>