上传文件至 'components/empty'
This commit is contained in:
parent
10634bcf45
commit
9196d32ba1
|
@ -0,0 +1,23 @@
|
|||
// components/empty/empty.js
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
show:Boolean,
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
show:true,
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
|
||||
}
|
||||
})
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
<view class="e-empty" wx:if="{{show}}">
|
||||
<image src="../../image/empty.png" />
|
||||
<text class="p">暂无内容</text>
|
||||
</view>
|
|
@ -0,0 +1 @@
|
|||
/* components/empty/empty.wxss */
|
Loading…
Reference in New Issue