import React, { Component } from "react" import { StyleSheet, Text, View, TextInput } from "react-native" import { unitWidth, unitHeight, getStatusBarHeight } from "../utils/AdapterUtil"; import MyButtom from '../component/MyButton' import NavigationUtil from "../navigator/NavigationUtil" export default class ForgetPassWord extends Component { state = { pageTitle: "忘记密码", btnText: "保存" }; toLogin=()=>{ NavigationUtil.resetToLoginPage(this.props) } render() { return ( {this.state.pageTitle} +86 验证码 获取验证码 输入新密码 ) } } const styles = StyleSheet.create({ container: { flex: 1, paddingTop: getStatusBarHeight() + unitHeight * 138, paddingLeft: unitWidth * 60, paddingRight: unitWidth * 60, }, loginTitle: { fontSize: unitWidth * 38, fontWeight: "bold", color: "rgba(250,120,138,1)", marginBottom: unitWidth * 70 }, inputArea: { width: unitWidth * 628, justifyContent: "space-between" }, inputPhone: { width: "100%", height: unitHeight * 98, borderRadius: unitWidth * 98, borderWidth: unitWidth * 1, borderColor: "#ccc", flexDirection: "row" }, inputNewPass: { width: "100%", height: unitHeight * 98, borderRadius: unitWidth * 98, borderWidth: unitWidth * 1, borderColor: "#ccc", flexDirection: "row", marginTop: unitHeight * 40, }, inputLeft: { marginTop: unitHeight * 9, width: unitWidth * 147, height: unitHeight * 80, borderRightWidth: unitWidth * 1, borderRightColor: "#ccc", justifyContent: "center", alignItems: "center" }, inputRight: { width: unitWidth * 480, height: "100%" }, TextInput: { width: "100%", height: "100%", paddingLeft: unitWidth * 26, fontSize: unitWidth * 28 }, TextInput2: { fontSize: unitWidth * 28 }, TextInputRightArea2: { flex: 3, height: "100%", paddingLeft: unitWidth * 26, fontSize: unitWidth * 28, justifyContent: "center" }, verifyCodeArea: { flex: 2, height: "100%", justifyContent: "center", alignItems: "center" }, verifyCode: { fontSize: unitWidth * 28, color: "#333333" }, inputPass: { width: "100%", marginTop: unitHeight * 40, height: unitHeight * 98, borderRadius: unitWidth * 98, borderWidth: unitWidth * 1, borderColor: "#ccc", flexDirection: "row" }, forgetPassArea: { flexDirection: "row", justifyContent: "space-between", width: "100%", fontSize: unitWidth * 28, color: "#333333", marginTop: unitHeight * 28 }, bottomBtn: { width: "100%", marginTop: unitHeight * 98, height: unitHeight * 84, justifyContent: 'center', alignItems: 'center' }, agree: { width: "100%", height: unitHeight * 26, flexDirection: "row", justifyContent: "center", alignItems: "center", marginTop: unitHeight * 30 } })