import { View,Text,Image } from "@tarojs/components";
import './list_footer.scss'

export default function ListFooter(props:{noMore?:boolean,loading?:boolean}){
    return <View className="list_footer">
        {/* {
            props.noMore&&<Text className="no_more g02">没有更多了</Text>
        } */}
        {
            props.loading && <Image src={require('@assets/_health/loading.png')} className="list_footer_loading"/>
        }
        {
            props.loading && <View>
                <Text className="h30">正在加载...</Text>
            </View>
        }
        {
            props.noMore&& <Image src={require('@assets/_health/no_more.png')} style={{width:68,height:4}}/>
        }
    </View>
}