Browse Source

添加空内容组件

master
lqq 6 years ago
parent
commit
70cd5e57f3
  1. 23
      components/empty/index.js
  2. 4
      components/empty/index.json
  3. 4
      components/empty/index.wxml
  4. 1
      components/empty/index.wxss

23
components/empty/index.js

@ -0,0 +1,23 @@
// components/empty/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

4
components/empty/index.json

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

4
components/empty/index.wxml

@ -0,0 +1,4 @@
<!--components/empty/index.wxml-->
<view class="empty">
</view>

1
components/empty/index.wxss

@ -0,0 +1 @@
/* components/empty/index.wxss */
Loading…
Cancel
Save