diff --git a/components/empty/empty.js b/components/empty/empty.js new file mode 100644 index 0000000..f05c7eb --- /dev/null +++ b/components/empty/empty.js @@ -0,0 +1,23 @@ +// components/empty/empty.js +Component({ + /** + * 组件的属性列表 + */ + properties: { + show:Boolean, + }, + + /** + * 组件的初始数据 + */ + data: { + show:true, + }, + + /** + * 组件的方法列表 + */ + methods: { + + } +}) diff --git a/components/empty/empty.json b/components/empty/empty.json new file mode 100644 index 0000000..011372e --- /dev/null +++ b/components/empty/empty.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/components/empty/empty.wxml b/components/empty/empty.wxml new file mode 100644 index 0000000..fb98ecf --- /dev/null +++ b/components/empty/empty.wxml @@ -0,0 +1,4 @@ + + + 暂无内容 + \ No newline at end of file diff --git a/components/empty/empty.wxss b/components/empty/empty.wxss new file mode 100644 index 0000000..c946c07 --- /dev/null +++ b/components/empty/empty.wxss @@ -0,0 +1 @@ +/* components/empty/empty.wxss */ \ No newline at end of file