index.vue 546 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <view class="content">
  3. 首页
  4. <view class="tabBarLineHeight"></view>
  5. <view class="tabBarView">
  6. <tab-bar :tabIndex="tabIndex"></tab-bar>
  7. </view>
  8. </view>
  9. </template>
  10. <script>
  11. import tabBar from "../../components/tabBar/tabBar";
  12. export default {
  13. components:{
  14. tabBar
  15. },
  16. data() {
  17. return {
  18. title: 'Hello',
  19. tabIndex:0
  20. }
  21. },
  22. onLoad() {
  23. uni.hideTabBar({
  24. animation:false
  25. })
  26. },
  27. methods: {
  28. }
  29. }
  30. </script>
  31. <style>
  32. @import '/common/css/common.css';
  33. @import './index.rpx.css';
  34. </style>