Info.js 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import React, { Component } from "react"
  2. import { StyleSheet, Text, View } from "react-native"
  3. import { unitWidth, unitHeight } from "../../utils/AdapterUtil";
  4. import AntDesign from "react-native-vector-icons/AntDesign"
  5. export default class Info extends Component {
  6. render() {
  7. // let { text } = this.props
  8. return (
  9. <View style={styles.infoArea}>
  10. <View style={styles.infoTitle}>
  11. <AntDesign
  12. name={"exclamationcircleo"}
  13. size={15}
  14. style={{ color: "#FA788A" }}
  15. />
  16. <Text style={{ color: "#333333", fontSize: unitWidth * 28, marginLeft: unitWidth * 12 }}>证明材料拍摄技巧</Text>
  17. </View>
  18. <View style={styles.infoList}>
  19. <Text style={{ color: "#666666", fontSize: unitWidth * 28, marginBottom: unitWidth * 10 }}>1、请保证拍摄图片清晰可辨。</Text>
  20. <Text style={{ color: "#666666", fontSize: unitWidth * 28, marginBottom: unitWidth * 10 }}>2、证书内页的印章完整清晰,请勿遮挡。</Text>
  21. </View>
  22. </View>
  23. )
  24. }
  25. }
  26. const styles = StyleSheet.create({
  27. infoArea: {
  28. width: "100%",
  29. marginTop:unitHeight * 40
  30. },
  31. infoTitle: {
  32. flexDirection: "row",
  33. paddingLeft: unitWidth * 24,
  34. alignItems: "center"
  35. },
  36. infoList: {
  37. marginTop: unitHeight * 10,
  38. marginLeft: unitWidth * 64
  39. }
  40. })