You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
852 B
49 lines
852 B
10 months ago
|
<template>
|
||
|
<!-- components/nodata/nodata.wxml -->
|
||
|
<view class="box" v-if="isShow" :style="'margin-top:' + (top ? '400rpx' : '')">
|
||
|
<text class="text">暂无数据~</text>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
'use strict';
|
||
|
export default {
|
||
|
data() {
|
||
|
return {};
|
||
|
},
|
||
|
props: {
|
||
|
isShow: {
|
||
|
type: Boolean
|
||
|
},
|
||
|
top: {
|
||
|
type: Boolean,
|
||
|
default: false
|
||
|
}
|
||
|
},
|
||
|
methods: {},
|
||
|
created: function () {}
|
||
|
};
|
||
|
</script>
|
||
|
<style>
|
||
|
/* components/nodata/nodata.wxss */
|
||
|
.box {
|
||
|
width: 100%;
|
||
|
height: auto;
|
||
|
box-sizing: border-box;
|
||
|
text-align: center;
|
||
|
margin-top: 100rpx;
|
||
|
}
|
||
|
.image {
|
||
|
width: 450rpx;
|
||
|
height: 240rpx;
|
||
|
}
|
||
|
.text {
|
||
|
width: 100%;
|
||
|
height: auto;
|
||
|
font-size: 28rpx;
|
||
|
color: #bcbcbc;
|
||
|
display: block;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
</style>
|