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.
 
 
 
 

20 lines
621 B

<template>
<view class="nodata">
<image class="nodata-img" :src="pic"/>
<view class="nodata-text">{{text}}</view>
</view>
</template>
<script>
var app = getApp();
export default {
props: {
pic:{default: app.globalData.event_url +'/static/img/static/img/empty.png'},
text:{default:'没有相关信息'}
}
}
</script>
<style>
.nodata {width: 100%; text-align: center; padding-top:100rpx;padding-bottom:100rpx}
.nodata-img{ width: 300rpx; height: 300rpx; display: inline-block; }
.nodata-text{ display: block; text-align: center; color: #999999; font-size:28rpx; width: 100%; margin-top: 30rpx; }
</style>