EmailDetail.js 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. import * as WebBrowser from "expo-web-browser";
  2. import * as React from "react";
  3. import {
  4. StyleSheet,
  5. } from "react-native";
  6. import { useModel } from "flooks";
  7. import {
  8. Layout,
  9. Text,
  10. useTheme,
  11. } from "@ui-kitten/components";
  12. import { useFocusEffect } from "@react-navigation/native";
  13. import NavHeaderBar from "../../components/NavHeaderBar";
  14. const styles = StyleSheet.create({
  15. top: {
  16. flexDirection: "row",
  17. alignItems: "center",
  18. paddingVertical: 10,
  19. marginBottom: 10,
  20. justifyContent: "space-between",
  21. },
  22. list: {
  23. flex: 1,
  24. backgroundColor: "#fff",
  25. paddingHorizontal: 15,
  26. // paddingTop: 20,
  27. marginTop: 20,
  28. },
  29. separatorStyle: {
  30. marginHorizontal: 13,
  31. },
  32. main: {
  33. marginTop: 10,
  34. paddingHorizontal: 15,
  35. paddingVertical: 10,
  36. },
  37. content: {
  38. color: "#787878",
  39. paddingVertical: 10,
  40. borderTopWidth: 1,
  41. borderColor: "#E5E5E5",
  42. },
  43. text: {
  44. color: "#787878",
  45. marginTop: 5,
  46. },
  47. wait: {
  48. textAlign: "center",
  49. paddingVertical: 20,
  50. },
  51. });
  52. export default function EmailDetailScreen() {
  53. const theme = useTheme();
  54. const { changeBackground } = useModel("barModel");
  55. const { RCSJTH } = useModel("wordsModel");
  56. // const { getMyList } = useModel("emailModel");
  57. useFocusEffect(
  58. React.useCallback(() => {
  59. changeBackground(theme["color-primary-500"]);
  60. }, [])
  61. );
  62. return (
  63. <>
  64. <NavHeaderBar title={RCSJTH} />
  65. <Layout style={styles.main}>
  66. <Layout style={styles.top}>
  67. <Text category="c1">订单提示</Text>
  68. <Text category="c1">12月26日</Text>
  69. </Layout>
  70. {/* 普通内容 */}
  71. <Text category="c1" style={styles.content}>
  72. 您的订单已经被取消收款方老司机的发链接SDK溜老司机的上路考订水房间了圣诞节弗兰克斯家电快溜缝胶看楼上的甲方看了圣诞节放凌空加施蒂利克福建省浪蝶狂蜂监考老师的加菲看楼上的积分了开机啥的敖德萨所多
  73. </Text>
  74. {/* 提现到账 */}
  75. <Layout>
  76. <Text category="h4">
  77. 153.98
  78. <Text category="c1">元</Text>
  79. </Text>
  80. <Text category="c1" style={styles.text}>
  81. 提现到:
  82. <Text category="c1">中国大众银行(4756)</Text>
  83. </Text>
  84. <Text category="c1" style={styles.text}>
  85. 到账时间:
  86. <Text category="c1">2020-12-31 10:48</Text>
  87. </Text>
  88. </Layout>
  89. {/* 审核提交 */}
  90. <Text category="c1" style={styles.wait}>
  91. 您所提交的商品正在审核中,请您耐心等待...
  92. </Text>
  93. </Layout>
  94. </>
  95. );
  96. }