/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow
*/
import React, { Component } from "react";
import {
Platform,
StyleSheet,
Text,
View,
Image,
TouchableOpacity,
ImageBackground,
Button,
StatusBar,
DeviceEventEmitter
} from "react-native";
import AndroidUtil from "../../util/AndroidUtil";
import BasePage from "../BasePage";
import CourseTitle from "./CourseTitle";
import Header from "./Header";
type Props = {};
export default class PersonalInfo extends BasePage {
render() {
return (
this.goBack()}
lefttype={2}
righttype={2}
textcolor={"white"}
backPress={() => alert("点击左侧")}
rightPress={() => alert("点击分享")}
/>
{this.userInfo123()}
{this.userInfo456()}
退出登录
);
}
userInfo123() {
return (
头像
昵称
生日
);
}
userInfo456() {
return (
所在地区
我的学习
我的年级
);
}
}
const styles = StyleSheet.create({
item: {
flex: 1,
width: "100%",
flexDirection: "row",
backgroundColor: "white"
},
item_text: {
flex: 10,
textAlignVertical: "center",
color: "black",
fontSize: 20
}
});