u-table.vue 811 B

12345678910111213141516171819202122232425262728293031
  1. <template>
  2. <view class="u-table">
  3. </view>
  4. </template>
  5. <script>
  6. import props from './props.js';
  7. import mpMixin from '../../libs/mixin/mpMixin.js';
  8. import mixin from '../../libs/mixin/mixin.js';
  9. /**
  10. * Table 表格
  11. * @description 表格组件一般用于展示大量结构化数据的场景 本组件标签类似HTML的table表格,由table、tr、th、td四个组件组成
  12. * @tutorial https://ijry.github.io/uview-plus/components/table.html
  13. * @example <u-table><u-tr><u-th>学校</u-th </u-tr> <u-tr><u-td>浙江大学</u-td> </u-tr> <u-tr><u-td>清华大学</u-td> </u-tr></u-table>
  14. */
  15. export default {
  16. name: 'u-table',
  17. mixins: [mpMixin, mixin, props],
  18. data() {
  19. return {
  20. }
  21. }
  22. }
  23. </script>
  24. <style lang="scss" scoped>
  25. @import "../../libs/css/components.scss";
  26. </style>