| // components/table/table.js | ||
| Component({ | ||
| /** | ||
| * 组件的属性列表 | ||
| */ | ||
| properties: { | ||
| tabW: { | ||
| // 表格每一列的宽度 | ||
| type: Array, | ||
| value: [] | ||
| }, | ||
| tabHDate: { | ||
| // 标题内容 | ||
| type: Array, | ||
| value: [] | ||
| }, | ||
| rowData: { | ||
| type: Array, // 表格数据 | ||
| value: [] | ||
| }, | ||
| rowKey: { // row属性 | ||
| type: Array, | ||
| value: [] | ||
| } | ||
| }, | ||
| /** | ||
| * 组件的初始数据 | ||
| */ | ||
| data: { | ||
| }, | ||
| /** | ||
| * 组件的方法列表 | ||
| */ | ||
| methods: { | ||
| } | ||
| }) |
| { | ||
| "component": true, | ||
| "usingComponents": {} | ||
| } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
+11
| ## table组件库 | ||
| 安装: | ||
| 使用**npm i web_table** | ||
| - tabHDate标题内容 | ||
| - tabW 标题宽 | ||
| - rowKey 字段名 | ||
| - rowData 字段值 | ||
+5
-2
| { | ||
| "name": "web_table", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "", | ||
@@ -12,3 +12,6 @@ "miniprogram": "src", | ||
| "author": "", | ||
| "license": "ISC" | ||
| "license": "ISC", | ||
| "dependencies": { | ||
| "web_table": "^1.0.0" | ||
| } | ||
| } |
| { | ||
| "usingComponents": { | ||
| "table": "/components/table/table" | ||
| "table": "/miniprogram_npm/web_table/table" | ||
| } | ||
| } |
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
11142
26.9%25
25%304
14.72%1
-50%12
Infinity%1
Infinity%+ Added