You've already forked template-MP
Initial commit
This commit is contained in:
7
uview-plus/components/u-table/props.js
Normal file
7
uview-plus/components/u-table/props.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import { defineMixin } from '../../libs/vue'
|
||||
import defProps from '../../libs/config/props.js'
|
||||
export const props = defineMixin({
|
||||
props: {
|
||||
|
||||
}
|
||||
})
|
||||
31
uview-plus/components/u-table/u-table.vue
Normal file
31
uview-plus/components/u-table/u-table.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<view class="u-table">
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { props } from './props';
|
||||
import { mpMixin } from '../../libs/mixin/mpMixin';
|
||||
import { mixin } from '../../libs/mixin/mixin';
|
||||
/**
|
||||
* Table 表格
|
||||
* @description 表格组件一般用于展示大量结构化数据的场景 本组件标签类似HTML的table表格,由table、tr、th、td四个组件组成
|
||||
* @tutorial https://ijry.github.io/uview-plus/components/table.html
|
||||
* @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>
|
||||
*/
|
||||
export default {
|
||||
name: 'u-table',
|
||||
mixins: [mpMixin, mixin, props],
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "../../libs/css/components.scss";
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user