You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
import { Component , PropsWithChildren , useEffect , useState } from "react" ;
import Taro from "@tarojs/taro" ;
import { Block , View , Text , Image } from "@tarojs/components" ;
/** 自定义组件 **/
import Navbar from "../../components/navbar/navbar" ;
/** 自定义组件 **/
import "./errorpage.less" ;
export default class ErrorPage extends Component < any , any > {
constructor ( props ) {
super ( props ) ;
this . state = {
name : "错误页面" ,
} ;
}
async onLoad() { }
componentDidMount() { }
componentWillUnmount() { }
componentDidShow() { }
componentDidHide() { }
async initData() { }
render() {
return (
< Block >
< View >
< Navbar isBack = { true } title = "提示" > < / Navbar >
< View className = "error-tip" > 网 络 出 错 , 再 试 一 次 看 看 < / View >
< / View >
< / Block >
) ;
}
}