CooperationScreen.jsx 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. import * as WebBrowser from 'expo-web-browser';
  2. import * as React from 'react';
  3. import { Div, Button, Image, Text, Avatar } from 'react-native-magnus';
  4. import { ScrollView } from 'react-native-gesture-handler';
  5. import { List } from 'react-native-paper';
  6. import Header from '../../components/Header';
  7. export default function CooperationScreen({ navigation }) {
  8. return (
  9. <>
  10. <Header title="合作申请" />
  11. <ScrollView>
  12. <Div bg="white" mb={5}>
  13. <List.Item
  14. title="商家入驻"
  15. description={() => {
  16. return (
  17. <Div mt={10}>
  18. <Text fontSize="xs" color="gray300" textAlign="left">
  19. 美食、甜品饮料、水果、按摩商家已入驻
  20. </Text>
  21. <Text fontSize="xs" color="gray300" textAlign="left">
  22. 商家入驻合作请联系13455324344(联系方式)
  23. </Text>
  24. </Div>
  25. );
  26. }}
  27. left={() => (
  28. <Image
  29. w={19}
  30. h={17}
  31. alignSelf="center"
  32. mx={10}
  33. source={require('../../assets/images/cooperation3.png')}
  34. />
  35. )}
  36. right={(props) => <List.Icon {...props} icon="chevron-right" />}
  37. onPress={() => navigation.navigate('Apply', { type: '商家' })}
  38. />
  39. </Div>
  40. <Div bg="white" mb={5}>
  41. <List.Item
  42. title="骑手招募"
  43. description={() => {
  44. return (
  45. <Div mt={10}>
  46. <Text fontSize="xs" color="gray300" textAlign="left">
  47. 多劳多得、上不封顶、时间自由
  48. </Text>
  49. <Text fontSize="xs" color="gray300" textAlign="left">
  50. 骑手招募合作请联系13455324344(联系方式)
  51. </Text>
  52. </Div>
  53. );
  54. }}
  55. left={() => (
  56. <Image
  57. w={19}
  58. h={17}
  59. alignSelf="center"
  60. mx={10}
  61. source={require('../../assets/images/cooperation2.png')}
  62. />
  63. )}
  64. right={(props) => <List.Icon {...props} icon="chevron-right" />}
  65. onPress={() => navigation.navigate('Apply', { type: '骑手' })}
  66. />
  67. </Div>
  68. <Div bg="white" mb={5}>
  69. <List.Item
  70. title="商务合作"
  71. description={() => {
  72. return (
  73. <Div mt={10}>
  74. <Text fontSize="xs" color="gray300" textAlign="left">
  75. 骑手招募合作请联系13455324344(联系方式)
  76. </Text>
  77. </Div>
  78. );
  79. }}
  80. left={() => (
  81. <Image
  82. w={19}
  83. h={17}
  84. alignSelf="center"
  85. mx={10}
  86. source={require('../../assets/images/cooperation1.png')}
  87. />
  88. )}
  89. right={(props) => <List.Icon {...props} icon="chevron-right" />}
  90. onPress={() => navigation.navigate('Apply', { type: '商务' })}
  91. />
  92. </Div>
  93. </ScrollView>
  94. </>
  95. );
  96. }