no message
This commit is contained in:
12
components/empty/index.js
Normal file
12
components/empty/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
var e = require("../../common/vendor.js"),
|
||||
n = {
|
||||
__name: "index",
|
||||
props: { info: { type: String, default: "" } },
|
||||
setup: function (n) {
|
||||
return function (t, r) {
|
||||
return { a: e.t(n.info) };
|
||||
};
|
||||
},
|
||||
},
|
||||
t = e._export_sfc(n, [["__scopeId", "data-v-574ebeda"]]);
|
||||
wx.createComponent(t);
|
||||
1
components/empty/index.json
Normal file
1
components/empty/index.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "component": true, "usingComponents": {} }
|
||||
4
components/empty/index.wxml
Normal file
4
components/empty/index.wxml
Normal file
@@ -0,0 +1,4 @@
|
||||
<view class="content data-v-574ebeda">
|
||||
<image class="data-v-574ebeda" src="/static/images/pic_empty.png"></image>
|
||||
<text class="data-v-574ebeda">{{a}}</text>
|
||||
</view>
|
||||
20
components/empty/index.wxss
Normal file
20
components/empty/index.wxss
Normal file
@@ -0,0 +1,20 @@
|
||||
.content.data-v-574ebeda {
|
||||
align-items: center;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
}
|
||||
.content image.data-v-574ebeda {
|
||||
height: 300rpx;
|
||||
margin-top: -150rpx;
|
||||
width: 300rpx;
|
||||
}
|
||||
.content text.data-v-574ebeda {
|
||||
color: #9a9a9a;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user