<template>
	<view class='con_nothing'>
	    <image mode='widthFix' class='image' src='/static/img/con_nothing.png'></image>
	    <text>{{textStr?textStr:"抱歉！暂无相关商品"}}</text>
	</view>
</template>

<script>
	export default {
		props:{
			textStr: String
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.con_nothing{
    padding: 80rpx 30rpx;
    overflow: hidden;
    text-align: center;
}
.con_nothing .image{
    width: 200rpx;
    height: 200rpx;
    display: block;
    margin: 0 auto 20rpx;
}
.con_nothing text{
    font-size: 32rpx;
    color: #aaa;
    line-height: 1.5;
    padding: 20rpx 0;
    width: 100%;
    overflow: hidden;
}
</style>
