<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>
