From 9196d32ba1db86bcef9a6006ac9bdf50fb21c851 Mon Sep 17 00:00:00 2001 From: a <455919189@qq.com> Date: Thu, 5 May 2022 17:00:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20'components/empty'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/empty/empty.js | 23 +++++++++++++++++++++++ components/empty/empty.json | 4 ++++ components/empty/empty.wxml | 4 ++++ components/empty/empty.wxss | 1 + 4 files changed, 32 insertions(+) create mode 100644 components/empty/empty.js create mode 100644 components/empty/empty.json create mode 100644 components/empty/empty.wxml create mode 100644 components/empty/empty.wxss 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