tab-page.vue 557 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <!-- components/tab-page/tab-page.wxml -->
  3. <view class="page-content">
  4. <slot></slot>
  5. </view>
  6. </template>
  7. <script>
  8. // components/tab-page/tab-page.js
  9. export default {
  10. unicomGroup: ['tabs'],
  11. data() {
  12. return {};
  13. },
  14. /**
  15. * 组件的属性列表
  16. */
  17. props: {},
  18. relations: {
  19. '../tabs/tabs': {
  20. type: 'parent'
  21. }
  22. },
  23. /**
  24. * 组件的方法列表
  25. */
  26. methods: {},
  27. created: function () {}
  28. };
  29. </script>
  30. <style>
  31. @import './tab-page.css';
  32. </style>