四好公路
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.
 
 
 
 

29 lines
641 B

import React, { Component } from 'react';
import { View,Image } from '@tarojs/components';
import './noData.scss';
import img from '../../static/img/no-data.png';
class NoData extends Component {
constructor(props) {
super(props);
this.state = {
};
}
externalClasses= ['out-class']
render() {
const {top} = this.props;
return (
<View className='out-class' style={`margin-top: ${top}`}>
<View className='no-data-box'>
<Image className='img' src={img}></Image>
<View className='text'>暂无数据</View>
</View>
</View>
);
}
}
export default NoData;