|
|
@@ -24,27 +24,35 @@ const AddressItem = ({ info, editEvent, isChoose, leftEvent }) => {
|
|
|
<Div row alignItems="center" py={15}>
|
|
|
<Button bg="white" onPress={leftEvent}>
|
|
|
{isChoose ? (
|
|
|
- <Icon name="check-circle" color="#FFC21C" size={16} />
|
|
|
+ <Icon name="checkcircle" color="#FFC21C" size={16} />
|
|
|
) : (
|
|
|
- <Icon name="circle-thin" color="#787878" size={16} />
|
|
|
+ <Div
|
|
|
+ w={16}
|
|
|
+ h={16}
|
|
|
+ rounded="circle"
|
|
|
+ borderWidth={1}
|
|
|
+ borderColor="#787878"
|
|
|
+ />
|
|
|
)}
|
|
|
</Button>
|
|
|
- <Div flex={1} mx={15}>
|
|
|
- <Text fontSize="sm" textAlign="left">
|
|
|
- {info.addressName}
|
|
|
- </Text>
|
|
|
- <Text fontSize="xs" textAlign="left">
|
|
|
- {info.addressInfo}
|
|
|
- </Text>
|
|
|
- <Div row>
|
|
|
- <Text fontSize="xs" color="gray300" textAlign="left">
|
|
|
- {info.name}
|
|
|
+ <Button block flex={1} mx={15} p={0} bg="hide" onPress={leftEvent}>
|
|
|
+ <Div flex={1}>
|
|
|
+ <Text fontSize="sm" textAlign="left">
|
|
|
+ {info.addressName}
|
|
|
</Text>
|
|
|
- <Text ml={15} fontSize="xs" color="gray300" textAlign="left">
|
|
|
- {info.phone}
|
|
|
+ <Text fontSize="xs" textAlign="left">
|
|
|
+ {info.addressInfo}
|
|
|
</Text>
|
|
|
+ <Div row>
|
|
|
+ <Text fontSize="xs" color="gray300" textAlign="left">
|
|
|
+ {info.name}
|
|
|
+ </Text>
|
|
|
+ <Text ml={15} fontSize="xs" color="gray300" textAlign="left">
|
|
|
+ {info.phone}
|
|
|
+ </Text>
|
|
|
+ </Div>
|
|
|
</Div>
|
|
|
- </Div>
|
|
|
+ </Button>
|
|
|
<Button onPress={editEvent} bg="white">
|
|
|
<Icon name="edit" color="#787878" size={20} />
|
|
|
</Button>
|